@ckeditor/ckeditor5-comments 44.2.0-alpha.16 → 44.2.0-alpha.3
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 +9 -9
- 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/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 +17 -17
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- 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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b5a24=_0x5e64;(function(_0x43ccc0,_0x44bd6b){const _0x1a84f1=_0x5e64,_0x46c19a=_0x43ccc0();while(!![]){try{const _0x79de28=-parseInt(_0x1a84f1(0xcc))/0x1+-parseInt(_0x1a84f1(0xe2))/0x2+parseInt(_0x1a84f1(0xae))/0x3*(-parseInt(_0x1a84f1(0xcf))/0x4)+parseInt(_0x1a84f1(0xa3))/0x5+-parseInt(_0x1a84f1(0xd3))/0x6+-parseInt(_0x1a84f1(0xf6))/0x7*(parseInt(_0x1a84f1(0xc0))/0x8)+-parseInt(_0x1a84f1(0xfa))/0x9*(-parseInt(_0x1a84f1(0xdd))/0xa);if(_0x79de28===_0x44bd6b)break;else _0x46c19a['push'](_0x46c19a['shift']());}catch(_0x45fe6c){_0x46c19a['push'](_0x46c19a['shift']());}}}(_0x25a6,0xd7f57));function _0x5e64(_0x492663,_0x9fd261){const _0x25a6c1=_0x25a6();return _0x5e64=function(_0x5e64a6,_0xd08aea){_0x5e64a6=_0x5e64a6-0xa1;let _0x1d0fc3=_0x25a6c1[_0x5e64a6];return _0x1d0fc3;},_0x5e64(_0x492663,_0x9fd261);}import{View as _0x6b0bbd,FocusCycler as _0x525fe2}from'ckeditor5/src/ui.js';import{diff as _0x18b1e3,Collection as _0x7d11f5,FocusTracker as _0x12b87d,KeystrokeHandler as _0x384863}from'ckeditor5/src/utils.js';import{getTranslation as _0x43e114}from'../../../utils/common-translations.js';import _0x50752e from'./collapsedcommentsview.js';export default class te extends _0x6b0bbd{constructor(_0x1ac830,_0x45dc81,_0x437197){const _0x2dc848=_0x5e64;super(_0x1ac830);const _0x4ea56e=this[_0x2dc848(0xe9)];this[_0x2dc848(0xd5)](_0x2dc848(0xa7),!0x1),this[_0x2dc848(0xd5)](_0x2dc848(0xfc),_0x45dc81[_0x2dc848(0xc4)][_0x2dc848(0xfc)]),this[_0x2dc848(0xd5)](_0x2dc848(0xf5),!0x1),this[_0x2dc848(0xf3)]=_0x45dc81,this[_0x2dc848(0xee)]=_0x437197,this[_0x2dc848(0xa9)]=this[_0x2dc848(0xc8)](),this[_0x2dc848(0xac)]=this[_0x2dc848(0xc8)](),this[_0x2dc848(0xdf)]=null,this[_0x2dc848(0xe1)]=new _0x12b87d(),this[_0x2dc848(0xaa)]=new _0x384863(),this[_0x2dc848(0xa6)]=new _0x525fe2({'focusables':this[_0x2dc848(0xa9)],'focusTracker':this[_0x2dc848(0xe1)],'keystrokeHandler':this[_0x2dc848(0xaa)],'keystrokeHandlerOptions':{'filter':_0x98cb47=>this[_0x2dc848(0xa9)][_0x2dc848(0xc6)](_0x3aa9a3=>_0x3aa9a3[_0x2dc848(0xfb)])[_0x2dc848(0xd2)](_0x98cb47[_0x2dc848(0xf0)])},'actions':{'focusPrevious':_0x2dc848(0xa5),'focusNext':_0x2dc848(0xba)}}),this[_0x2dc848(0xf7)]=new _0x50752e(_0x1ac830),this[_0x2dc848(0xf7)][_0x2dc848(0xe8)](_0x2dc848(0xb2))['to'](this,_0x2dc848(0xfc),_0x2763ae=>_0x2763ae-this[_0x2dc848(0xee)][_0x2dc848(0xb7)]);for(const _0x282c90 of _0x45dc81[_0x2dc848(0xc4)])this[_0x2dc848(0xdc)](_0x282c90);this[_0x2dc848(0xb8)](),this[_0x2dc848(0xb3)](_0x45dc81[_0x2dc848(0xc4)],_0x2dc848(0xf9),(_0xf19b50,_0x5200f1)=>{const _0x554d09=_0x2dc848,_0x2477c2=this[_0x554d09(0xbc)](_0x5200f1);this[_0x554d09(0xfc)]++,this[_0x554d09(0xdc)](_0x5200f1,_0x2477c2),this[_0x554d09(0xb6)]();}),this[_0x2dc848(0xb3)](_0x45dc81[_0x2dc848(0xc4)],_0x2dc848(0xaf),(_0x19ebaa,_0x105ce7)=>{const _0x1d8281=_0x2dc848;this[_0x1d8281(0xfc)]--,this[_0x1d8281(0xa8)](_0x105ce7),this[_0x1d8281(0xb6)]();}),this[_0x2dc848(0xb3)](_0x45dc81,_0x2dc848(0xce),()=>this[_0x2dc848(0xb6)]()),this[_0x2dc848(0xb3)](_0x45dc81,_0x2dc848(0xb1),()=>this[_0x2dc848(0xb8)]()),this['on'](_0x2dc848(0xe6),()=>this[_0x2dc848(0xb6)]()),this['on'](_0x2dc848(0xad),()=>this[_0x2dc848(0xb6)]()),this[_0x2dc848(0xeb)]({'tag':'ul','attributes':{'class':[_0x2dc848(0xc5),_0x4ea56e['if'](_0x2dc848(0xfc),_0x2dc848(0xd0),_0x55a388=>!_0x55a388)],'aria-label':_0x43e114(_0x1ac830,_0x2dc848(0xb5))},'children':this[_0x2dc848(0xac)]});}get[_0x1b5a24(0xbb)](){const _0x5c7a6c=_0x1b5a24;return this[_0x5c7a6c(0xf3)][_0x5c7a6c(0xa4)]>this[_0x5c7a6c(0xee)][_0x5c7a6c(0xcd)]&&!this[_0x5c7a6c(0xf5)]&&!this[_0x5c7a6c(0xa7)];}[_0x1b5a24(0xe0)](){const _0xd3f74f=_0x1b5a24;super[_0xd3f74f(0xe0)](),this[_0xd3f74f(0xb6)](),this[_0xd3f74f(0xb9)]();}[_0x1b5a24(0xff)](_0xddca3d){const _0xfe9504=_0x1b5a24;-0x1===_0xddca3d?this[_0xfe9504(0xa6)][_0xfe9504(0xb0)]():this[_0xfe9504(0xa6)][_0xfe9504(0xe7)]();}[_0x1b5a24(0xb4)](){const _0x4a88da=_0x1b5a24;this[_0x4a88da(0xf7)][_0x4a88da(0xb4)]();for(const _0x1cf654 of this[_0x4a88da(0xa9)])_0x1cf654[_0x4a88da(0xb4)]();super[_0x4a88da(0xb4)]();}[_0x1b5a24(0xb6)](){const _0x2d0e2a=_0x1b5a24;this[_0x2d0e2a(0xbb)]?this[_0x2d0e2a(0xc7)]():this[_0x2d0e2a(0xe3)]();}[_0x1b5a24(0xdc)](_0x5728cf,_0x306baf){const _0x3c28d2=_0x1b5a24,_0x5560e8=new this[(_0x3c28d2(0xee))][(_0x3c28d2(0xd4))](this[_0x3c28d2(0x101)],_0x5728cf,{'maxCommentCharsWhenCollapsed':this[_0x3c28d2(0xee)][_0x3c28d2(0xd1)],'formatDateTime':this[_0x3c28d2(0xee)][_0x3c28d2(0xbf)],'editorConfig':this[_0x3c28d2(0xee)][_0x3c28d2(0xec)]});_0x5560e8[_0x3c28d2(0xfe)]=_0x5728cf['id'],_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xf8))['to'](this),_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xf2))['to'](this),_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xa1))['to'](this),_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xbe))['to'](this),_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xab))['to'](this),this[_0x3c28d2(0xb3)](_0x5560e8,_0x3c28d2(0xf4),()=>this[_0x3c28d2(0xfd)]()),this[_0x3c28d2(0xa9)][_0x3c28d2(0xf9)](_0x5560e8,_0x306baf);}[_0x1b5a24(0xbc)](_0x4aeeb6){const _0x106f1e=_0x1b5a24,_0x3e0926=this[_0x106f1e(0xf3)][_0x106f1e(0xd6)](_0x4aeeb6);return this[_0x106f1e(0xdf)]?this[_0x106f1e(0xdf)][_0x106f1e(0xf1)]>_0x4aeeb6[_0x106f1e(0xf1)]?_0x3e0926-0x1:_0x3e0926:_0x3e0926-0x1;}[_0x1b5a24(0xb8)](){const _0x3827d9=_0x1b5a24;if(this[_0x3827d9(0xf3)][_0x3827d9(0xc9)]&&this[_0x3827d9(0xf3)][_0x3827d9(0xed)]){const _0x18dcd5={'id':_0x3827d9(0xc3),'author':this[_0x3827d9(0xf3)][_0x3827d9(0xc9)],'authoredAt':this[_0x3827d9(0xf3)][_0x3827d9(0xed)],'content':_0x43e114(this[_0x3827d9(0x101)],_0x3827d9(0xc1)),'attributes':{}};this[_0x3827d9(0xdf)]=new this[(_0x3827d9(0xee))][(_0x3827d9(0xd4))](this[_0x3827d9(0x101)],_0x18dcd5,{'maxCommentCharsWhenCollapsed':this[_0x3827d9(0xee)][_0x3827d9(0xd1)],'formatDateTime':this[_0x3827d9(0xee)][_0x3827d9(0xbf)],'editorConfig':this[_0x3827d9(0xee)][_0x3827d9(0xec)],'isSystemComment':!0x0}),this[_0x3827d9(0xa9)][_0x3827d9(0xf9)](this[_0x3827d9(0xdf)],this[_0x3827d9(0xf3)][_0x3827d9(0xd6)](_0x18dcd5));}else this[_0x3827d9(0xdf)]&&(this[_0x3827d9(0xa9)][_0x3827d9(0xaf)](this[_0x3827d9(0xdf)]),this[_0x3827d9(0xdf)][_0x3827d9(0xb4)](),this[_0x3827d9(0xdf)]=null);this[_0x3827d9(0xb6)]();}[_0x1b5a24(0xa8)](_0x40e8f1){const _0x3fc99c=_0x1b5a24,_0x27874e=this[_0x3fc99c(0xa9)][_0x3fc99c(0xaf)](_0x40e8f1['id']);this[_0x3fc99c(0xbd)](_0x27874e),_0x27874e[_0x3fc99c(0xe5)]&&this[_0x3fc99c(0xfd)](),_0x27874e[_0x3fc99c(0xb4)]();}[_0x1b5a24(0xfd)](){const _0x655e1b=_0x1b5a24;this[_0x655e1b(0xa7)]=Array[_0x655e1b(0xdb)](this[_0x655e1b(0xa9)])[_0x655e1b(0xef)](_0x2ce25f=>_0x2ce25f[_0x655e1b(0xe5)]);}[_0x1b5a24(0xc7)](){const _0x4e59d7=_0x1b5a24,_0x44cc45=function(_0x6d6fed){const _0x5219ae=_0x5e64,_0xe7948b=new _0x7d11f5();for(const _0x4974a9 of _0x6d6fed)_0xe7948b[_0x5219ae(0xf9)](_0x4974a9);return _0xe7948b;}(this[_0x4e59d7(0xa9)]),_0x1718dc=this[_0x4e59d7(0xf7)][_0x4e59d7(0xb2)];for(let _0x26b361=0x1;_0x26b361<=_0x1718dc;_0x26b361++)_0x44cc45[_0x4e59d7(0xaf)](0x1);for(const _0x10f34a of _0x44cc45)_0x10f34a[_0x4e59d7(0xde)]();_0x1718dc>0x0&&_0x44cc45[_0x4e59d7(0xf9)](this[_0x4e59d7(0xf7)],0x1),as(_0x18b1e3(Array[_0x4e59d7(0xdb)](this[_0x4e59d7(0xac)]),Array[_0x4e59d7(0xdb)](_0x44cc45)),this[_0x4e59d7(0xac)],_0x44cc45);}[_0x1b5a24(0xe3)](){const _0x14b6a5=_0x1b5a24;as(_0x18b1e3(Array[_0x14b6a5(0xdb)](this[_0x14b6a5(0xac)]),Array[_0x14b6a5(0xdb)](this[_0x14b6a5(0xa9)])),this[_0x14b6a5(0xac)],this[_0x14b6a5(0xa9)]);for(const _0x5148c8 of this[_0x14b6a5(0xac)])_0x5148c8[_0x14b6a5(0xda)]();}[_0x1b5a24(0xb9)](){const _0x57677f=_0x1b5a24;this[_0x57677f(0xa9)][_0x57677f(0xa2)](_0x34bcda=>{const _0x47b410=_0x57677f;this[_0x47b410(0xe1)][_0x47b410(0xf9)](_0x34bcda[_0x47b410(0xfb)]),this[_0x47b410(0xaa)][_0x47b410(0xb3)](_0x34bcda[_0x47b410(0xfb)]);}),this[_0x57677f(0xa9)]['on'](_0x57677f(0xc2),(_0xbc07fd,_0x4bb959)=>{const _0x451d3e=_0x57677f;for(const _0x387e7c of _0x4bb959[_0x451d3e(0xe4)])this[_0x451d3e(0xe1)][_0x451d3e(0xaf)](_0x387e7c[_0x451d3e(0xfb)]),this[_0x451d3e(0xaa)][_0x451d3e(0xbd)](_0x387e7c[_0x451d3e(0xfb)]);for(const _0x4ff8c2 of Array[_0x451d3e(0xdb)](_0x4bb959[_0x451d3e(0xea)])[_0x451d3e(0xca)]())this[_0x451d3e(0xe1)][_0x451d3e(0xf9)](_0x4ff8c2[_0x451d3e(0xfb)]),this[_0x451d3e(0xaa)][_0x451d3e(0xb3)](_0x4ff8c2[_0x451d3e(0xfb)]);});}}function _0x25a6(){const _0x584a12=['focusLast','change:isResolved','count','listenTo','destroy','Thread\x20comments','refreshVisibleViews','maxCommentsWhenCollapsed','_handleInfoComment','_setupKeyboardNavigation','arrowdown','_shouldCollapse','_calculatePosition','stopListening','editorReady','formatDateTime','56OfeqyE','Marked\x20as\x20resolved','change','resolved','comments','ck-thread__comments','map','_rearrangeCollapse','createCollection','resolvedBy','reverse','delegate','139773hmKTEp','maxThreadTotalWeight','commentUpdated','12zopEjQ','ck-hidden','maxCommentCharsWhenCollapsed','includes','10529736QeexgB','CommentView','set','_findOptimalIndex','equal','delete','get','expand','from','_handleNewCommentModel','2206350SOxeZe','collapse','resolvedCommentView','render','focusTracker','1838744XuwAZg','_rearrangeExpand','removed','isEditMode','change:isActive','focusFirst','bind','bindTemplate','added','setTemplate','editorConfig','resolvedAt','_config','some','target','authoredAt','updateComment','_model','change:isEditMode','isActive','561435bgeTfF','_collapsedCommentsView','removeComment','add','225wEXxYG','element','length','_updateHasDirtyComment','viewUid','focus','insert','locale','resolveCommentThread','forEach','1645865HUfkzd','weight','arrowup','focusCycler','hasDirtyComment','_handleRemoveCommentModel','commentViews','keystrokes','editorDestroyed','visibleViews','change:hasDirtyComment','1584945IGoSFt','remove'];_0x25a6=function(){return _0x584a12;};return _0x25a6();}function as(_0x2dac55,_0x4560ad,_0x186dde){const _0x440a4a=_0x1b5a24;let _0x58c20b=0x0;for(const _0x493ed7 of _0x2dac55)switch(_0x493ed7){case _0x440a4a(0x100):_0x4560ad[_0x440a4a(0xf9)](_0x186dde[_0x440a4a(0xd9)](_0x58c20b),_0x58c20b),_0x58c20b++;break;case _0x440a4a(0xd8):_0x4560ad[_0x440a4a(0xaf)](_0x58c20b);break;case _0x440a4a(0xd7):_0x58c20b++;}}
|
|
23
|
+
const _0x3a18dd=_0x29d9;function _0x31d8(){const _0x2b9428=['maxCommentsWhenCollapsed','delegate','listenTo','bindTemplate','_handleRemoveCommentModel','565IJWSSu','from','focusLast','updateComment','added','arrowup','_rearrangeExpand','961254GnLWZy','457767cHQpnb','maxThreadTotalWeight','356762bhsnTt','CommentView','change:isActive','removed','delete','formatDateTime','isEditMode','stopListening','_model','Marked\x20as\x20resolved','_setupKeyboardNavigation','commentUpdated','removeComment','change','insert','Thread\x20comments','resolvedAt','arrowdown','remove','reverse','change:hasDirtyComment','focusTracker','6392928dAWcUI','_collapsedCommentsView','expand','some','maxCommentCharsWhenCollapsed','8415882rfrUre','change:isEditMode','element','forEach','resolved','visibleViews','bind','keystrokes','weight','focusCycler','ck-hidden','resolveCommentThread','equal','resolvedBy','render','setTemplate','10XJOhOy','24zQBUzs','collapse','editorDestroyed','target','_findOptimalIndex','add','editorReady','_config','get','resolvedCommentView','editorConfig','_shouldCollapse','change:isResolved','focus','includes','comments','_calculatePosition','isActive','focusFirst','_handleInfoComment','_handleNewCommentModel','viewUid','set','locale','count','_rearrangeCollapse','authoredAt','ck-thread__comments','17308VRdPPm','hasDirtyComment','map','refreshVisibleViews','1167110HzEFDi','createCollection','_updateHasDirtyComment','length','destroy','commentViews'];_0x31d8=function(){return _0x2b9428;};return _0x31d8();}(function(_0x2ff287,_0x275323){const _0x51f37f=_0x29d9,_0x4efb4d=_0x2ff287();while(!![]){try{const _0x46c896=parseInt(_0x51f37f(0x12c))/0x1+parseInt(_0x51f37f(0x17a))/0x2+-parseInt(_0x51f37f(0x12b))/0x3+parseInt(_0x51f37f(0x176))/0x4*(-parseInt(_0x51f37f(0x124))/0x5)+parseInt(_0x51f37f(0x15a))/0x6*(parseInt(_0x51f37f(0x12e))/0x7)+-parseInt(_0x51f37f(0x144))/0x8+-parseInt(_0x51f37f(0x149))/0x9*(-parseInt(_0x51f37f(0x159))/0xa);if(_0x46c896===_0x275323)break;else _0x4efb4d['push'](_0x4efb4d['shift']());}catch(_0xe962fc){_0x4efb4d['push'](_0x4efb4d['shift']());}}}(_0x31d8,0x8b997));import{View as _0x46597b,FocusCycler as _0x5aeb47}from'ckeditor5/src/ui.js';function _0x29d9(_0x4846b3,_0x395558){const _0x31d8d0=_0x31d8();return _0x29d9=function(_0x29d98b,_0x1926d4){_0x29d98b=_0x29d98b-0x11a;let _0x4b2319=_0x31d8d0[_0x29d98b];return _0x4b2319;},_0x29d9(_0x4846b3,_0x395558);}import{diff as _0x332e68,Collection as _0x40cbe2,FocusTracker as _0xb7d361,KeystrokeHandler as _0x91357b}from'ckeditor5/src/utils.js';import{getTranslation as _0x25c861}from'../../../utils/common-translations.js';import _0x412c3d from'./collapsedcommentsview.js';export default class te extends _0x46597b{constructor(_0x5793cb,_0x10716a,_0x19f24c){const _0x221c24=_0x29d9;super(_0x5793cb);const _0x53dd06=this[_0x221c24(0x122)];this[_0x221c24(0x170)](_0x221c24(0x177),!0x1),this[_0x221c24(0x170)](_0x221c24(0x11c),_0x10716a[_0x221c24(0x169)][_0x221c24(0x11c)]),this[_0x221c24(0x170)](_0x221c24(0x16b),!0x1),this[_0x221c24(0x136)]=_0x10716a,this[_0x221c24(0x161)]=_0x19f24c,this[_0x221c24(0x11e)]=this[_0x221c24(0x11a)](),this[_0x221c24(0x14e)]=this[_0x221c24(0x11a)](),this[_0x221c24(0x163)]=null,this[_0x221c24(0x143)]=new _0xb7d361(),this[_0x221c24(0x150)]=new _0x91357b(),this[_0x221c24(0x152)]=new _0x5aeb47({'focusables':this[_0x221c24(0x11e)],'focusTracker':this[_0x221c24(0x143)],'keystrokeHandler':this[_0x221c24(0x150)],'keystrokeHandlerOptions':{'filter':_0x463e55=>this[_0x221c24(0x11e)][_0x221c24(0x178)](_0x365c5e=>_0x365c5e[_0x221c24(0x14b)])[_0x221c24(0x168)](_0x463e55[_0x221c24(0x15d)])},'actions':{'focusPrevious':_0x221c24(0x129),'focusNext':_0x221c24(0x13f)}}),this[_0x221c24(0x145)]=new _0x412c3d(_0x5793cb),this[_0x221c24(0x145)][_0x221c24(0x14f)](_0x221c24(0x172))['to'](this,_0x221c24(0x11c),_0x5a9bde=>_0x5a9bde-this[_0x221c24(0x161)][_0x221c24(0x11f)]);for(const _0x382f55 of _0x10716a[_0x221c24(0x169)])this[_0x221c24(0x16e)](_0x382f55);this[_0x221c24(0x16d)](),this[_0x221c24(0x121)](_0x10716a[_0x221c24(0x169)],_0x221c24(0x15f),(_0xa32df8,_0x3beeeb)=>{const _0x37f6dd=_0x221c24,_0x25bf8b=this[_0x37f6dd(0x16a)](_0x3beeeb);this[_0x37f6dd(0x11c)]++,this[_0x37f6dd(0x16e)](_0x3beeeb,_0x25bf8b),this[_0x37f6dd(0x179)]();}),this[_0x221c24(0x121)](_0x10716a[_0x221c24(0x169)],_0x221c24(0x140),(_0x268eeb,_0xfddd41)=>{const _0x133e86=_0x221c24;this[_0x133e86(0x11c)]--,this[_0x133e86(0x123)](_0xfddd41),this[_0x133e86(0x179)]();}),this[_0x221c24(0x121)](_0x10716a,_0x221c24(0x139),()=>this[_0x221c24(0x179)]()),this[_0x221c24(0x121)](_0x10716a,_0x221c24(0x166),()=>this[_0x221c24(0x16d)]()),this['on'](_0x221c24(0x130),()=>this[_0x221c24(0x179)]()),this['on'](_0x221c24(0x142),()=>this[_0x221c24(0x179)]()),this[_0x221c24(0x158)]({'tag':'ul','attributes':{'class':[_0x221c24(0x175),_0x53dd06['if'](_0x221c24(0x11c),_0x221c24(0x153),_0x408fa0=>!_0x408fa0)],'aria-label':_0x25c861(_0x5793cb,_0x221c24(0x13d))},'children':this[_0x221c24(0x14e)]});}get[_0x3a18dd(0x165)](){const _0xc0e9c2=_0x3a18dd;return this[_0xc0e9c2(0x136)][_0xc0e9c2(0x151)]>this[_0xc0e9c2(0x161)][_0xc0e9c2(0x12d)]&&!this[_0xc0e9c2(0x16b)]&&!this[_0xc0e9c2(0x177)];}[_0x3a18dd(0x157)](){const _0x981b04=_0x3a18dd;super[_0x981b04(0x157)](),this[_0x981b04(0x179)](),this[_0x981b04(0x138)]();}[_0x3a18dd(0x167)](_0x4ddad8){const _0xf517af=_0x3a18dd;-0x1===_0x4ddad8?this[_0xf517af(0x152)][_0xf517af(0x126)]():this[_0xf517af(0x152)][_0xf517af(0x16c)]();}[_0x3a18dd(0x11d)](){const _0x2b3df8=_0x3a18dd;this[_0x2b3df8(0x145)][_0x2b3df8(0x11d)]();for(const _0x384b3c of this[_0x2b3df8(0x11e)])_0x384b3c[_0x2b3df8(0x11d)]();super[_0x2b3df8(0x11d)]();}[_0x3a18dd(0x179)](){const _0x5e3713=_0x3a18dd;this[_0x5e3713(0x165)]?this[_0x5e3713(0x173)]():this[_0x5e3713(0x12a)]();}[_0x3a18dd(0x16e)](_0x3be1be,_0x3111ec){const _0x426963=_0x3a18dd,_0x2a92b2=new this[(_0x426963(0x161))][(_0x426963(0x12f))](this[_0x426963(0x171)],_0x3be1be,{'maxCommentCharsWhenCollapsed':this[_0x426963(0x161)][_0x426963(0x148)],'formatDateTime':this[_0x426963(0x161)][_0x426963(0x133)],'editorConfig':this[_0x426963(0x161)][_0x426963(0x164)]});_0x2a92b2[_0x426963(0x16f)]=_0x3be1be['id'],_0x2a92b2[_0x426963(0x120)](_0x426963(0x13a))['to'](this),_0x2a92b2[_0x426963(0x120)](_0x426963(0x127))['to'](this),_0x2a92b2[_0x426963(0x120)](_0x426963(0x154))['to'](this),_0x2a92b2[_0x426963(0x120)](_0x426963(0x160))['to'](this),_0x2a92b2[_0x426963(0x120)](_0x426963(0x15c))['to'](this),this[_0x426963(0x121)](_0x2a92b2,_0x426963(0x14a),()=>this[_0x426963(0x11b)]()),this[_0x426963(0x11e)][_0x426963(0x15f)](_0x2a92b2,_0x3111ec);}[_0x3a18dd(0x16a)](_0x1bc1e0){const _0x41a436=_0x3a18dd,_0x3b45f6=this[_0x41a436(0x136)][_0x41a436(0x15e)](_0x1bc1e0);return this[_0x41a436(0x163)]?this[_0x41a436(0x163)][_0x41a436(0x174)]>_0x1bc1e0[_0x41a436(0x174)]?_0x3b45f6-0x1:_0x3b45f6:_0x3b45f6-0x1;}[_0x3a18dd(0x16d)](){const _0x2ddab9=_0x3a18dd;if(this[_0x2ddab9(0x136)][_0x2ddab9(0x156)]&&this[_0x2ddab9(0x136)][_0x2ddab9(0x13e)]){const _0x81869b={'id':_0x2ddab9(0x14d),'author':this[_0x2ddab9(0x136)][_0x2ddab9(0x156)],'authoredAt':this[_0x2ddab9(0x136)][_0x2ddab9(0x13e)],'content':_0x25c861(this[_0x2ddab9(0x171)],_0x2ddab9(0x137)),'attributes':{}};this[_0x2ddab9(0x163)]=new this[(_0x2ddab9(0x161))][(_0x2ddab9(0x12f))](this[_0x2ddab9(0x171)],_0x81869b,{'maxCommentCharsWhenCollapsed':this[_0x2ddab9(0x161)][_0x2ddab9(0x148)],'formatDateTime':this[_0x2ddab9(0x161)][_0x2ddab9(0x133)],'editorConfig':this[_0x2ddab9(0x161)][_0x2ddab9(0x164)],'isSystemComment':!0x0}),this[_0x2ddab9(0x11e)][_0x2ddab9(0x15f)](this[_0x2ddab9(0x163)],this[_0x2ddab9(0x136)][_0x2ddab9(0x15e)](_0x81869b));}else this[_0x2ddab9(0x163)]&&(this[_0x2ddab9(0x11e)][_0x2ddab9(0x140)](this[_0x2ddab9(0x163)]),this[_0x2ddab9(0x163)][_0x2ddab9(0x11d)](),this[_0x2ddab9(0x163)]=null);this[_0x2ddab9(0x179)]();}[_0x3a18dd(0x123)](_0x3b2e84){const _0x291669=_0x3a18dd,_0x4e95ff=this[_0x291669(0x11e)][_0x291669(0x140)](_0x3b2e84['id']);this[_0x291669(0x135)](_0x4e95ff),_0x4e95ff[_0x291669(0x134)]&&this[_0x291669(0x11b)](),_0x4e95ff[_0x291669(0x11d)]();}[_0x3a18dd(0x11b)](){const _0x1202c9=_0x3a18dd;this[_0x1202c9(0x177)]=Array[_0x1202c9(0x125)](this[_0x1202c9(0x11e)])[_0x1202c9(0x147)](_0x2fd8af=>_0x2fd8af[_0x1202c9(0x134)]);}[_0x3a18dd(0x173)](){const _0x693991=_0x3a18dd,_0x1dc4fb=function(_0x5e3094){const _0x3ac02f=_0x29d9,_0x283277=new _0x40cbe2();for(const _0x916d4b of _0x5e3094)_0x283277[_0x3ac02f(0x15f)](_0x916d4b);return _0x283277;}(this[_0x693991(0x11e)]),_0x119984=this[_0x693991(0x145)][_0x693991(0x172)];for(let _0x15458c=0x1;_0x15458c<=_0x119984;_0x15458c++)_0x1dc4fb[_0x693991(0x140)](0x1);for(const _0x22c88d of _0x1dc4fb)_0x22c88d[_0x693991(0x15b)]();_0x119984>0x0&&_0x1dc4fb[_0x693991(0x15f)](this[_0x693991(0x145)],0x1),as(_0x332e68(Array[_0x693991(0x125)](this[_0x693991(0x14e)]),Array[_0x693991(0x125)](_0x1dc4fb)),this[_0x693991(0x14e)],_0x1dc4fb);}[_0x3a18dd(0x12a)](){const _0xcfb270=_0x3a18dd;as(_0x332e68(Array[_0xcfb270(0x125)](this[_0xcfb270(0x14e)]),Array[_0xcfb270(0x125)](this[_0xcfb270(0x11e)])),this[_0xcfb270(0x14e)],this[_0xcfb270(0x11e)]);for(const _0x5437a9 of this[_0xcfb270(0x14e)])_0x5437a9[_0xcfb270(0x146)]();}[_0x3a18dd(0x138)](){const _0x1c6830=_0x3a18dd;this[_0x1c6830(0x11e)][_0x1c6830(0x14c)](_0x2776f3=>{const _0xcb0a1c=_0x1c6830;this[_0xcb0a1c(0x143)][_0xcb0a1c(0x15f)](_0x2776f3[_0xcb0a1c(0x14b)]),this[_0xcb0a1c(0x150)][_0xcb0a1c(0x121)](_0x2776f3[_0xcb0a1c(0x14b)]);}),this[_0x1c6830(0x11e)]['on'](_0x1c6830(0x13b),(_0x5f58f0,_0x2ed32c)=>{const _0xb0877b=_0x1c6830;for(const _0x3ef61c of _0x2ed32c[_0xb0877b(0x131)])this[_0xb0877b(0x143)][_0xb0877b(0x140)](_0x3ef61c[_0xb0877b(0x14b)]),this[_0xb0877b(0x150)][_0xb0877b(0x135)](_0x3ef61c[_0xb0877b(0x14b)]);for(const _0x54f26b of Array[_0xb0877b(0x125)](_0x2ed32c[_0xb0877b(0x128)])[_0xb0877b(0x141)]())this[_0xb0877b(0x143)][_0xb0877b(0x15f)](_0x54f26b[_0xb0877b(0x14b)]),this[_0xb0877b(0x150)][_0xb0877b(0x121)](_0x54f26b[_0xb0877b(0x14b)]);});}}function as(_0x498f51,_0x27ce99,_0x225c94){const _0x364979=_0x3a18dd;let _0x18affc=0x0;for(const _0x3e2f57 of _0x498f51)switch(_0x3e2f57){case _0x364979(0x13c):_0x27ce99[_0x364979(0x15f)](_0x225c94[_0x364979(0x162)](_0x18affc),_0x18affc),_0x18affc++;break;case _0x364979(0x132):_0x27ce99[_0x364979(0x140)](_0x18affc);break;case _0x364979(0x155):_0x18affc++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2db1d6=_0x1797;(function(_0x4893d3,_0x5743c3){const _0x597b61=_0x1797,_0x2b5782=_0x4893d3();while(!![]){try{const _0x4daecb=-parseInt(_0x597b61(0x6f))/0x1*(-parseInt(_0x597b61(0x77))/0x2)+-parseInt(_0x597b61(0x79))/0x3*(-parseInt(_0x597b61(0x6c))/0x4)+parseInt(_0x597b61(0x7c))/0x5*(parseInt(_0x597b61(0x73))/0x6)+parseInt(_0x597b61(0x7a))/0x7+-parseInt(_0x597b61(0x74))/0x8+-parseInt(_0x597b61(0x6e))/0x9+-parseInt(_0x597b61(0x78))/0xa;if(_0x4daecb===_0x5743c3)break;else _0x2b5782['push'](_0x2b5782['shift']());}catch(_0x2fc06f){_0x2b5782['push'](_0x2b5782['shift']());}}}(_0x396f,0x9f9ff));import{View as _0x441e47}from'ckeditor5/src/ui.js';function _0x396f(){const _0xcfd0c2=['1889244toytta','THREAD_CONTEXT_LABEL','1835fTyxGk','bindTemplate','span','8OLCeUD','setTemplate','310041vqCiDe','1Hbygpm','focus','ck-context__value','contextValue','19854hREcNz','3949072oHwVfU','element','set','2008792yNRDlo','13235750CKTTwd','25185wwQgSj'];_0x396f=function(){return _0xcfd0c2;};return _0x396f();}function _0x1797(_0x1bbe83,_0xf76a4){const _0x396f43=_0x396f();return _0x1797=function(_0x179718,_0x378c06){_0x179718=_0x179718-0x6c;let _0x297c31=_0x396f43[_0x179718];return _0x297c31;},_0x1797(_0x1bbe83,_0xf76a4);}import{getTranslation as _0x4c067d}from'../../../utils/common-translations.js';export default class ls extends _0x441e47{constructor(_0x3576fb){const _0x2a7f6d=_0x1797;super(_0x3576fb);const _0x2dab69=this[_0x2a7f6d(0x7d)];this[_0x2a7f6d(0x76)](_0x2a7f6d(0x72),''),this[_0x2a7f6d(0x6d)]({'tag':_0x2a7f6d(0x7e),'attributes':{'class':['ck',_0x2a7f6d(0x71)],'aria-label':_0x2dab69['to'](_0x2a7f6d(0x72),_0x2c8da2=>_0x4c067d(_0x3576fb,_0x2a7f6d(0x7b),_0x2c8da2)),'tabindex':-0x1},'children':[{'text':_0x2dab69['to'](_0x2a7f6d(0x72))}]});}[_0x2db1d6(0x70)](){const _0x50ab3b=_0x2db1d6;this[_0x50ab3b(0x75)][_0x50ab3b(0x70)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d1a6b=_0x4862;(function(_0x1b96f6,_0x509d9c){const _0x54b870=_0x4862,_0x41239f=_0x1b96f6();while(!![]){try{const _0x396524=-parseInt(_0x54b870(0x14a))/0x1+-parseInt(_0x54b870(0x117))/0x2+parseInt(_0x54b870(0x11b))/0x3*(parseInt(_0x54b870(0x13b))/0x4)+-parseInt(_0x54b870(0x14c))/0x5*(-parseInt(_0x54b870(0x11a))/0x6)+parseInt(_0x54b870(0x14b))/0x7+parseInt(_0x54b870(0x122))/0x8*(-parseInt(_0x54b870(0x131))/0x9)+-parseInt(_0x54b870(0x150))/0xa*(-parseInt(_0x54b870(0x139))/0xb);if(_0x396524===_0x509d9c)break;else _0x41239f['push'](_0x41239f['shift']());}catch(_0x214d23){_0x41239f['push'](_0x41239f['shift']());}}}(_0x3ef4,0x94bdd));function _0x3ef4(){const _0x190dc5=['focusCycler','3124YUEgHo','value','_createContextView','ck-annotation__actions','reopenCommentThread','hasContext','_trimContextValue','tooltip','focusables','execute','isResolved','setTemplate','isResolvable','reopenButtonView','context','710678HWmFLu','1987398eujVsZ','5BaZGJZ','scrollWidth','querySelector','mouseenter','2105050PyFVho','Comment\x20was\x20made\x20on\x20an\x20element','contextValue','classList','focusFirst','isEnabled','div','fire','focusTracker','bindTemplate','_createReopenButton','.ck-context__value','element','render','...','overlay','1477872SlrbYP','_model','ck-context--quotes','2997534aZDYZo','3093jkpdSe','contextView','createCollection','add','label','isReadOnly','tab','40MNbGpC','locale','mouseleave','shift+tab','length','substring','focus','listenTo','_setupKeyboardNavigation','ck-context','Reopen','.ck-context','ck-thread__header','bind','lastIndexOf','2185011TWJoye','icon','ck-context-wrapper','isVisible','_attachContextActions','offsetWidth','keystrokes','remove','88WZJkdf'];_0x3ef4=function(){return _0x190dc5;};return _0x3ef4();}function _0x4862(_0x476ab6,_0x33a421){const _0x3ef498=_0x3ef4();return _0x4862=function(_0x48625f,_0x3bb491){_0x48625f=_0x48625f-0x116;let _0x6a1532=_0x3ef498[_0x48625f];return _0x6a1532;},_0x4862(_0x476ab6,_0x33a421);}import{View as _0x32c1f3,ButtonView as _0x176eee,FocusCycler as _0x562af9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4294b0,KeystrokeHandler as _0x238436}from'ckeditor5/src/utils.js';import{getTranslation as _0x1d1e82}from'../../../utils/common-translations.js';import _0x1cb8f9 from'../../../../theme/icons/undo.svg';import _0x21ff0f from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0x32c1f3{constructor(_0x3524f7,_0x34bae1){const _0x122e77=_0x4862;super(_0x3524f7);const _0x34d7b1=this[_0x122e77(0x159)];this[_0x122e77(0x118)]=_0x34bae1,this[_0x122e77(0x148)]=this[_0x122e77(0x15a)](),this[_0x122e77(0x11c)]=this[_0x122e77(0x13d)](),this[_0x122e77(0x143)]=this[_0x122e77(0x11d)]([this[_0x122e77(0x11c)],this[_0x122e77(0x148)]]),this[_0x122e77(0x158)]=new _0x4294b0(),this[_0x122e77(0x137)]=new _0x238436(),this[_0x122e77(0x13a)]=new _0x562af9({'focusables':this[_0x122e77(0x143)],'focusTracker':this[_0x122e77(0x158)],'keystrokeHandler':this[_0x122e77(0x137)],'actions':{'focusPrevious':_0x122e77(0x125),'focusNext':_0x122e77(0x121)}}),this[_0x122e77(0x12f)](_0x122e77(0x140))['to'](this[_0x122e77(0x118)],_0x122e77(0x149),_0x27d149=>!!_0x27d149),this[_0x122e77(0x12f)](_0x122e77(0x152))['to'](this[_0x122e77(0x118)],_0x122e77(0x149),_0x5c5b90=>_0x5c5b90&&_0x5c5b90[_0x122e77(0x13c)]?this[_0x122e77(0x141)](_0x5c5b90[_0x122e77(0x13c)]):_0x1d1e82(this[_0x122e77(0x123)],_0x122e77(0x151))),this[_0x122e77(0x146)]({'tag':_0x122e77(0x156),'attributes':{'class':[_0x122e77(0x12e)]},'children':[{'tag':_0x122e77(0x156),'attributes':{'class':[_0x122e77(0x133)]},'children':[{'tag':_0x122e77(0x156),'attributes':{'class':[_0x122e77(0x12b),_0x34d7b1['if'](_0x122e77(0x140),_0x122e77(0x119))]},'children':[this[_0x122e77(0x11c)]]}]},{'tag':_0x122e77(0x156),'attributes':{'class':[_0x122e77(0x13e)]},'children':[this[_0x122e77(0x148)]]}]});}[_0x2d1a6b(0x15d)](){const _0x2b7f3c=_0x2d1a6b;super[_0x2b7f3c(0x15d)](),this[_0x2b7f3c(0x135)](),this[_0x2b7f3c(0x12a)]();}[_0x2d1a6b(0x128)](){const _0x44f79c=_0x2d1a6b;this[_0x44f79c(0x13a)][_0x44f79c(0x154)]();}[_0x2d1a6b(0x15a)](){const _0x59e71b=_0x2d1a6b,_0x3efb68=new _0x176eee(this[_0x59e71b(0x123)]);return _0x3efb68[_0x59e71b(0x11f)]=_0x1d1e82(this[_0x59e71b(0x123)],_0x59e71b(0x12c)),_0x3efb68[_0x59e71b(0x142)]=_0x1d1e82(this[_0x59e71b(0x123)],_0x59e71b(0x12c)),_0x3efb68[_0x59e71b(0x132)]=_0x1cb8f9,_0x3efb68[_0x59e71b(0x12f)](_0x59e71b(0x155))['to'](this[_0x59e71b(0x118)],_0x59e71b(0x120),_0x2ebb09=>!_0x2ebb09),_0x3efb68[_0x59e71b(0x12f)](_0x59e71b(0x134))['to'](this[_0x59e71b(0x118)],_0x59e71b(0x147),this[_0x59e71b(0x118)],_0x59e71b(0x145),(_0x38f2c9,_0x14ce92)=>_0x38f2c9&&_0x14ce92),_0x3efb68['on'](_0x59e71b(0x144),()=>{const _0x4a663d=_0x59e71b;this[_0x4a663d(0x157)](_0x4a663d(0x13f),this[_0x4a663d(0x118)]['id']);}),_0x3efb68;}[_0x2d1a6b(0x141)](_0x3f6255){const _0x39d117=_0x2d1a6b;if(_0x3f6255[_0x39d117(0x126)]<0x96)return _0x3f6255;const _0x2d5513=_0x3f6255[_0x39d117(0x130)]('\x20',0x93);return _0x3f6255[_0x39d117(0x127)](0x0,_0x2d5513>-0x1?_0x2d5513:0x93)+_0x39d117(0x15e);}[_0x2d1a6b(0x135)](){const _0x5891e5=_0x2d1a6b,_0x1ddda2=this[_0x5891e5(0x15c)][_0x5891e5(0x14e)](_0x5891e5(0x12d)),_0x2ba183=_0x1ddda2[_0x5891e5(0x14e)](_0x5891e5(0x15b));this[_0x5891e5(0x129)](_0x1ddda2,_0x5891e5(0x14f),()=>{const _0x58704e=_0x5891e5;_0x2ba183[_0x58704e(0x136)]<_0x2ba183[_0x58704e(0x14d)]&&_0x1ddda2[_0x58704e(0x153)][_0x58704e(0x11e)](_0x58704e(0x116));}),this[_0x5891e5(0x129)](_0x1ddda2,_0x5891e5(0x124),()=>{const _0x228b37=_0x5891e5;_0x1ddda2[_0x228b37(0x153)][_0x228b37(0x138)](_0x228b37(0x116));});}[_0x2d1a6b(0x12a)](){const _0x11e956=_0x2d1a6b;this[_0x11e956(0x137)][_0x11e956(0x129)](this[_0x11e956(0x15c)]);for(const _0x227695 of this[_0x11e956(0x143)])this[_0x11e956(0x158)][_0x11e956(0x11e)](_0x227695[_0x11e956(0x15c)]),this[_0x11e956(0x137)][_0x11e956(0x129)](_0x227695[_0x11e956(0x15c)]);}[_0x2d1a6b(0x13d)](){const _0x231df7=_0x2d1a6b,_0x47e2ae=new _0x21ff0f(this[_0x231df7(0x123)]);return _0x47e2ae[_0x231df7(0x12f)](_0x231df7(0x152))['to'](this),_0x47e2ae;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f36df=_0x14bc;(function(_0x71f431,_0x490c9b){const _0x2f2003=_0x14bc,_0x2ec28e=_0x71f431();while(!![]){try{const _0x1827cb=parseInt(_0x2f2003(0xd3))/0x1*(-parseInt(_0x2f2003(0xd2))/0x2)+parseInt(_0x2f2003(0xe0))/0x3+parseInt(_0x2f2003(0xdd))/0x4*(-parseInt(_0x2f2003(0xf6))/0x5)+-parseInt(_0x2f2003(0xde))/0x6*(-parseInt(_0x2f2003(0xd1))/0x7)+parseInt(_0x2f2003(0xe6))/0x8+parseInt(_0x2f2003(0x100))/0x9+-parseInt(_0x2f2003(0xfb))/0xa;if(_0x1827cb===_0x490c9b)break;else _0x2ec28e['push'](_0x2ec28e['shift']());}catch(_0x5953e8){_0x2ec28e['push'](_0x2ec28e['shift']());}}}(_0x1ed6,0x430c4));import{View as _0x3b079d}from'ckeditor5/src/ui.js';function _0x1ed6(){const _0x1b93dc=['set','editing','focus','ck-thread__input','delegate','editorDestroyed','destroy','userView','663460pPSNnN','extendTemplate','mousedown','showButtons','focusCycler','281960eSnbva','commentInputView','view','ck-thread__user','bind','1950822zhDJyu','change:showInput','target','3749851RDjUyp','138RKliCn','7907mcirLB','ck-comment__input-container','render','filter','bindTemplate','isFocused','some','setTemplate','editor','createEditor','4NQTdqD','6KoxqUP','ck-comment__input-container--active','155295agmaKK','preventDefault','div','value','getDomRoot','editorReady','1415064nnFxAR','showInput','element','_focusOnNonInteractiveMouseDown','then','focusTracker','listenTo','contains'];_0x1ed6=function(){return _0x1b93dc;};return _0x1ed6();}function _0x14bc(_0x4966ef,_0x75d056){const _0x1ed6bb=_0x1ed6();return _0x14bc=function(_0x14bc34,_0x522ba6){_0x14bc34=_0x14bc34-0xd0;let _0x428687=_0x1ed6bb[_0x14bc34];return _0x428687;},_0x14bc(_0x4966ef,_0x75d056);}import _0x42913c from'./commentinputview.js';import{UserView as _0x14884d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x3b079d{constructor(_0x49c00d,_0x4860da,_0x49abd0){const _0x5cf96b=_0x14bc;super(_0x49c00d),this[_0x5cf96b(0xfc)]=new _0x42913c(_0x49c00d,_0x49abd0),this[_0x5cf96b(0xfa)]=this[_0x5cf96b(0xfc)][_0x5cf96b(0xfa)],this[_0x5cf96b(0xfc)][_0x5cf96b(0xff)](_0x5cf96b(0xf9))['to'](this[_0x5cf96b(0xfc)][_0x5cf96b(0xeb)],_0x5cf96b(0xd8),this[_0x5cf96b(0xfc)],_0x5cf96b(0xe3),(_0x422ab0,_0x42a560)=>_0x422ab0||!!_0x42a560),this[_0x5cf96b(0xee)](_0x5cf96b(0xe7),!0x1),this['on'](_0x5cf96b(0x101),()=>{const _0x259f57=_0x5cf96b;this[_0x259f57(0xe7)]&&!this[_0x259f57(0xfc)][_0x259f57(0xdb)]&&this[_0x259f57(0xfc)][_0x259f57(0xdc)]();}),this[_0x5cf96b(0xfc)][_0x5cf96b(0xf2)](_0x5cf96b(0xe5))['to'](this),this[_0x5cf96b(0xfc)][_0x5cf96b(0xf2)](_0x5cf96b(0xf3))['to'](this),this[_0x5cf96b(0xf5)]=new _0x14884d(_0x49c00d,_0x4860da),this[_0x5cf96b(0xf5)][_0x5cf96b(0xf7)]({'attributes':{'class':_0x5cf96b(0xfe),'aria-hidden':!0x0}}),this[_0x5cf96b(0xfc)][_0x5cf96b(0xf7)]({'attributes':{'class':_0x5cf96b(0xf1)}}),this[_0x5cf96b(0xda)]({'tag':_0x5cf96b(0xe2),'attributes':{'class':[_0x5cf96b(0xd4),this[_0x5cf96b(0xd7)]['if'](_0x5cf96b(0xe7),_0x5cf96b(0xdf))]},'children':[this[_0x5cf96b(0xf5)],this[_0x5cf96b(0xfc)]]});}[_0x5f36df(0xd5)](){const _0x16ffd4=_0x5f36df;super[_0x16ffd4(0xd5)](),this[_0x16ffd4(0xe9)]();}[_0x5f36df(0xf4)](){const _0xdfc1fc=_0x5f36df;return this[_0xdfc1fc(0xfc)][_0xdfc1fc(0xf4)]()[_0xdfc1fc(0xea)](()=>super[_0xdfc1fc(0xf4)]());}[_0x5f36df(0xf0)](_0x11d739){const _0x70d175=_0x5f36df;this[_0x70d175(0xfc)][_0x70d175(0xf0)](_0x11d739);}[_0x5f36df(0xe9)](){const _0x122784=_0x5f36df;this[_0x122784(0xec)](this[_0x122784(0xe8)],_0x122784(0xf8),(_0x3aa183,_0x44a7f6)=>{const _0x4ec57b=_0x122784,{submitButtonView:_0x99bed5,cancelButtonView:_0x41966e,editor:_0x1f023a}=this[_0x4ec57b(0xfc)];[_0x99bed5[_0x4ec57b(0xe8)],_0x41966e[_0x4ec57b(0xe8)],_0x1f023a?_0x1f023a[_0x4ec57b(0xef)][_0x4ec57b(0xfd)][_0x4ec57b(0xe4)]():null][_0x4ec57b(0xd6)](_0x30aaed=>_0x30aaed)[_0x4ec57b(0xd9)](_0x4a71c8=>_0x4a71c8[_0x4ec57b(0xed)](_0x44a7f6[_0x4ec57b(0xd0)]))||(this[_0x4ec57b(0xf0)](),_0x44a7f6[_0x4ec57b(0xe1)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0xf50c(_0x5a6ce4,_0x58a8bc){const _0x396f82=_0x396f();return _0xf50c=function(_0xf50cef,_0x16635d){_0xf50cef=_0xf50cef-0xdd;let _0x2fd20d=_0x396f82[_0xf50cef];return _0x2fd20d;},_0xf50c(_0x5a6ce4,_0x58a8bc);}const _0xd89400=_0xf50c;(function(_0x3eac32,_0x141d5c){const _0x2a3c89=_0xf50c,_0x9db5ef=_0x3eac32();while(!![]){try{const _0x3f3dd6=parseInt(_0x2a3c89(0x111))/0x1*(-parseInt(_0x2a3c89(0x101))/0x2)+parseInt(_0x2a3c89(0x127))/0x3*(parseInt(_0x2a3c89(0x10a))/0x4)+parseInt(_0x2a3c89(0xf9))/0x5*(parseInt(_0x2a3c89(0x12c))/0x6)+parseInt(_0x2a3c89(0xfc))/0x7*(-parseInt(_0x2a3c89(0xef))/0x8)+parseInt(_0x2a3c89(0xe1))/0x9+-parseInt(_0x2a3c89(0xe5))/0xa*(-parseInt(_0x2a3c89(0x105))/0xb)+-parseInt(_0x2a3c89(0xf4))/0xc;if(_0x3f3dd6===_0x141d5c)break;else _0x9db5ef['push'](_0x9db5ef['shift']());}catch(_0x171d93){_0x9db5ef['push'](_0x9db5ef['shift']());}}}(_0x396f,0xf1cea));import{ConfirmMixin as _0x5dc87f,LateFocusButtonView as _0x1d0b93}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x5ab661}from'ckeditor5/src/core.js';function _0x396f(){const _0x213be3=['isUnlinked','focusables','7544504yMZYNy','extendTemplate','archivedAt','focus','removeConfirm','12RHBQox','remove','ck-thread--remove-confirmation','high','_createResolveButton','_boundFirstCommentView','tooltip','19039mOMZgj','isReadOnly','change:isReadOnly','isResolvable','locale','has','Write\x20a\x20comment...','div','resolveButton','unbind','commentsListView','then','actionIndicator','stop','setTemplate','actionBar','isSystemComment','ck-thread','commentThreadChildren','set','ck-thread__container','createCollection','66879CnsWDe','length','removeCommentThread','_cancelAllConfirms','ck-thread--','10449108VaduvD','fire','containerElement','placeholder','_model','ck-rounded-corners','isConfirm','execute','listenTo','get','icon','ck-reset_all-excluded','element','getTemplate','change:archivedAt','commentThreadInputView','listitem','.ck-thread__container','13408614GBXomT','render','bind','Delete\x20comment\x20thread?','20GOlSUE','isResolved','add','_updateArchivedThreadHeader','isActive','_bindFirstCommentView','isEnabled','label','cancelConfirm','removeButton','5196584mntKHX','commentViews','ck-comment--resolve','querySelector','bindTemplate','35902536gLyWyF','resolveCommentThread','showConfirm','ck-thread--active','isVisible','5aKKinm','check','Resolve','7OrhmKs','ck-thread--unlinked','ariaDescriptionView','ariaLabel','change:isActive','4TQFrsZ','commentThreadHeaderView'];_0x396f=function(){return _0x213be3;};return _0x396f();}import _0x37e016 from'./basecommentthreadview.js';import{getTranslation as _0x599dc3}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5dc87f(_0x37e016){constructor(_0x5f3ad6,_0x55ed2c,_0x529e85,_0x397a8a){const _0x4d6265=_0xf50c;super(_0x5f3ad6,_0x55ed2c,_0x529e85,_0x397a8a),this[_0x4d6265(0x123)]=this[_0x4d6265(0x126)]([this[_0x4d6265(0x11b)],this[_0x4d6265(0xde)],this[_0x4d6265(0xfe)]]),this[_0x4d6265(0x124)](_0x4d6265(0x11d),null),this[_0x4d6265(0x12e)]=null,this[_0x4d6265(0x10f)]=null,this[_0x4d6265(0x115)]=_0x5f3ad6,this[_0x4d6265(0x119)]=this[_0x4d6265(0x10e)](),this[_0x4d6265(0x11f)](this[_0x4d6265(0x139)]()),this['on'](_0x4d6265(0x100),(_0x311e7b,_0x3bb7a2,_0x56e400)=>{const _0xbbd562=_0x4d6265;_0x56e400||this[_0xbbd562(0x12a)]();}),this[_0x4d6265(0x134)](this[_0x4d6265(0x130)],_0x4d6265(0x113),(_0x74f18b,_0x483064,_0x42f68a)=>{const _0x10f0ea=_0x4d6265;_0x42f68a&&this[_0x10f0ea(0x12a)]();}),this[_0x4d6265(0x128)]>0x0&&this[_0x4d6265(0xea)](),this[_0x4d6265(0x134)](this[_0x4d6265(0x11b)][_0x4d6265(0xf0)],_0x4d6265(0xe7),()=>{const _0x12211d=_0x4d6265;this[_0x12211d(0xea)]();});}[_0xd89400(0x139)](){const _0x13d0e0=_0xd89400,_0x2a2098=this[_0x13d0e0(0xf3)];return{'tag':_0x13d0e0(0x118),'attributes':{'class':['ck',_0x13d0e0(0x122),_0x13d0e0(0x137),_0x13d0e0(0x131),_0x2a2098['if'](_0x13d0e0(0xe9),_0x13d0e0(0xf7)),_0x2a2098['if'](_0x13d0e0(0x103),_0x13d0e0(0xfd)),_0x2a2098['if'](_0x13d0e0(0x132),_0x13d0e0(0x10c)),_0x2a2098['to'](_0x13d0e0(0x11d),_0x10f5f6=>_0x10f5f6?_0x13d0e0(0x12b)+_0x10f5f6:'')],'data-thread-id':this[_0x13d0e0(0x130)]['id'],'tabindex':0x0,'role':_0x13d0e0(0xdf),'aria-label':_0x2a2098['to'](_0x13d0e0(0xff)),'aria-describedby':this[_0x13d0e0(0xfe)]['id']},'children':[{'tag':_0x13d0e0(0x118),'attributes':{'class':_0x13d0e0(0x125)},'children':this[_0x13d0e0(0x123)]}]};}[_0xd89400(0xe2)](){const _0x567a0b=_0xd89400;super[_0x567a0b(0xe2)](),this[_0x567a0b(0x12e)]=this[_0x567a0b(0x138)][_0x567a0b(0xf2)](_0x567a0b(0xe0)),this[_0x567a0b(0x130)]['on'](_0x567a0b(0xdd),()=>{const _0x1774f0=_0x567a0b;this[_0x1774f0(0xe8)]();}),this[_0x567a0b(0xe8)]();}[_0xd89400(0x12a)](){const _0x4b9642=_0xd89400;this[_0x4b9642(0xed)]();for(const _0x30a079 of this[_0x4b9642(0x11b)][_0x4b9642(0xf0)])_0x30a079[_0x4b9642(0xed)]();}[_0xd89400(0xea)](){const _0x5b829d=_0xd89400,{locale:_0x5631ab}=this,_0x58ef06=this[_0x5b829d(0x11b)][_0x5b829d(0xf0)][_0x5b829d(0x135)](0x0);_0x58ef06===this[_0x5b829d(0x10f)]||_0x58ef06[_0x5b829d(0x121)]||(this[_0x5b829d(0x10f)]=_0x58ef06,this[_0x5b829d(0x11a)](_0x5b829d(0x11d)),this[_0x5b829d(0xe3)](_0x5b829d(0x11d))['to'](_0x58ef06,_0x5b829d(0x11d),_0x49f5e7=>_0x5b829d(0x10b)===_0x49f5e7?_0x5b829d(0x10b):null),_0x58ef06[_0x5b829d(0x12f)]=_0x599dc3(_0x5631ab,_0x5b829d(0x117)),_0x58ef06[_0x5b829d(0xee)]['on'](_0x5b829d(0x133),_0x2aec06=>{const _0x644a18=_0x5b829d;_0x2aec06[_0x644a18(0x11e)](),this[_0x644a18(0xf6)](_0x599dc3(_0x5631ab,_0x644a18(0xe4)),this[_0x644a18(0x12e)])[_0x644a18(0x11c)](()=>{const _0x597caf=_0x644a18;this[_0x597caf(0x12d)](_0x597caf(0x129));});},{'priority':_0x5b829d(0x10d)}),this['on'](_0x5b829d(0x109),()=>{const _0x3ef059=_0x5b829d;_0x58ef06[_0x3ef059(0x108)]();}),_0x58ef06[_0x5b829d(0x120)][_0x5b829d(0xe7)](this[_0x5b829d(0x119)],0x0),_0x58ef06[_0x5b829d(0x104)][_0x5b829d(0xe7)](this[_0x5b829d(0x119)],0x0));}[_0xd89400(0x10e)](){const _0x4668f3=_0xd89400,_0x234313=new _0x1d0b93(this[_0x4668f3(0x115)]);return _0x234313[_0x4668f3(0xec)]=_0x599dc3(this[_0x4668f3(0x115)],_0x4668f3(0xfb)),_0x234313[_0x4668f3(0x110)]=_0x599dc3(this[_0x4668f3(0x115)],_0x4668f3(0xfb)),_0x234313[_0x4668f3(0x136)]=_0x5ab661[_0x4668f3(0xfa)],_0x234313[_0x4668f3(0x106)]({'attributes':{'class':_0x4668f3(0xf1)}}),_0x234313[_0x4668f3(0xe3)](_0x4668f3(0xeb))['to'](this[_0x4668f3(0x130)],_0x4668f3(0x112),_0x4c9e0e=>!_0x4c9e0e),_0x234313[_0x4668f3(0xe3)](_0x4668f3(0xf8))['to'](this[_0x4668f3(0x130)],_0x4668f3(0x114),this[_0x4668f3(0x130)],_0x4668f3(0xe6),(_0x52b115,_0x25996e)=>_0x52b115&&!_0x25996e),_0x234313['on'](_0x4668f3(0x133),()=>{const _0x31265e=_0x4668f3;this[_0x31265e(0x12d)](_0x31265e(0xf5),this[_0x31265e(0x130)]['id']);}),_0x234313;}[_0xd89400(0xe8)](){const _0x142093=_0xd89400;this[_0x142093(0x130)][_0x142093(0x107)]?this[_0x142093(0x123)][_0x142093(0x116)](this[_0x142093(0x102)])||(this[_0x142093(0x123)][_0x142093(0xe7)](this[_0x142093(0x102)],0x0),this[_0x142093(0x104)][_0x142093(0xe7)](this[_0x142093(0x102)],0x0)):this[_0x142093(0x123)][_0x142093(0x116)](this[_0x142093(0x102)])&&(this[_0x142093(0x123)][_0x142093(0x10b)](this[_0x142093(0x102)]),this[_0x142093(0x104)][_0x142093(0x10b)](this[_0x142093(0x102)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1c6cb5=_0x4e40;(function(_0x35bcec,_0x2b5bf8){const _0x59d9c4=_0x4e40,_0x218e9f=_0x35bcec();while(!![]){try{const _0x4e230e=-parseInt(_0x59d9c4(0x1de))/0x1*(parseInt(_0x59d9c4(0x1cb))/0x2)+-parseInt(_0x59d9c4(0x206))/0x3*(-parseInt(_0x59d9c4(0x1e4))/0x4)+-parseInt(_0x59d9c4(0x1fb))/0x5+parseInt(_0x59d9c4(0x211))/0x6+parseInt(_0x59d9c4(0x1f9))/0x7+-parseInt(_0x59d9c4(0x1c6))/0x8*(-parseInt(_0x59d9c4(0x1f4))/0x9)+-parseInt(_0x59d9c4(0x1dc))/0xa;if(_0x4e230e===_0x2b5bf8)break;else _0x218e9f['push'](_0x218e9f['shift']());}catch(_0xb235c4){_0x218e9f['push'](_0x218e9f['shift']());}}}(_0x3c7f,0x2f464));import{ButtonView as _0x3607cb,createDropdown as _0x68dd38,ListView as _0x1a938b,ListItemView as _0x2c503e,focusChildOnDropdownOpen as _0x46a192}from'ckeditor5/src/ui.js';import{icons as _0x592cb2}from'ckeditor5/src/core.js';import{UserView as _0x21fd49,ConfirmMixin as _0x750ae0,LateFocusDropdownButtonView as _0x36f46c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x198006 from'./basecommentview.js';function _0x3c7f(){const _0x469277=['setTemplate','ck-comment__info-time','children','push','ck-comment--info','change:isRemovable','icon','isSystemComment','div','ck-annotation','Remove','ck-annotation__actions--hidden','some','locale','withText','dropdown','2945352KrwaFr','getExternalCommentNote','showConfirm','ariaLabel','placeholder','2MTdwpx','remove','panelPosition','extendTemplate','ck-annotation__user','ck-comment__user','userView','span','ck-annotation__main','bind','_createCommentInputView','set','ck-comment__info','label','editButton','getTemplate','group','5339120oRygJH','visibleView','1839lEbTeL','render','ck-comment--remove-confirmation','bindTemplate','Delete\x20comment?','ck-comment__actions','4azkZoj','ck-comment__external','from','mouseenter','removeButton','ck-hidden','_model','isEditable','toMany','ck-comment','actionIndicator','ck-annotation__info','isVisible','pencil','ck-comment__actions--hidden','author','9QCPCcy','authoredAt','Reply...','getUserViewNotificationText','createCollection','2163315lhMAlA','actionBar','594120TTOmmu','_config','panelView','length','ariaDescriptionView','focusables','_attachActions','_createDropdown','isConfirm','unbind','focus','119571uptbxX','removeComment','mouseleave','time','blur','then','addMany','ck-comment--edit','ck-annotation__info-name','isEditMode','ck-annotation__info-time','786840AvCxre','_createEditButton','isExternal','switchToEditMode','ck-comment--','find','threeVerticalDots','listitem','name','formatDateTime','execute','Edit','element','cancelConfirm','ck-comment__main','add','items','fire','isEnabled','resolvedAt','ck-comment__wrapper','listenTo','buttonView','edit','_createRemoveButton','ck-comment--remove','Show\x20more\x20items','isReadOnly','ck-comment__info-name','ck-annotation__actions','isRemovable','ck-annotation__content-wrapper'];_0x3c7f=function(){return _0x469277;};return _0x3c7f();}import _0x52569f from'../../../../theme/icons/remove-comment.svg';function _0x4e40(_0x3aeccd,_0x59575f){const _0x3c7f6e=_0x3c7f();return _0x4e40=function(_0x4e4023,_0x28f25c){_0x4e4023=_0x4e4023-0x1bb;let _0x349f1c=_0x3c7f6e[_0x4e4023];return _0x349f1c;},_0x4e40(_0x3aeccd,_0x59575f);}import{getTranslation as _0x2a0632}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x750ae0(_0x198006){constructor(_0x359c60,_0x53ca03,_0x96b7e4){const _0x26c175=_0x4e40;super(_0x359c60,_0x53ca03,_0x96b7e4),this[_0x26c175(0x1d6)](_0x26c175(0x1ee),null),this[_0x26c175(0x1d6)](_0x26c175(0x1ca),_0x2a0632(_0x359c60,_0x26c175(0x1f6))),this[_0x26c175(0x1d4)](_0x26c175(0x1f5))['to'](_0x53ca03),this[_0x26c175(0x1d4)](_0x26c175(0x224))['to'](_0x53ca03),this[_0x26c175(0x1fa)]=this[_0x26c175(0x1f8)](),this[_0x26c175(0x1bd)]||(this[_0x26c175(0x1d9)]=this[_0x26c175(0x212)](),this[_0x26c175(0x1e8)]=this[_0x26c175(0x229)](),this[_0x26c175(0x221)]=this[_0x26c175(0x1f8)](),this[_0x26c175(0x221)][_0x26c175(0x20c)]([this[_0x26c175(0x1d9)],this[_0x26c175(0x1e8)]]),this[_0x26c175(0x1c5)]=this[_0x26c175(0x202)](),this[_0x26c175(0x1fa)][_0x26c175(0x220)](this[_0x26c175(0x1c5)]),this[_0x26c175(0x200)][_0x26c175(0x220)](this[_0x26c175(0x1c5)])),this[_0x26c175(0x1d1)]=new _0x21fd49(_0x359c60,_0x53ca03[_0x26c175(0x1f3)],this[_0x26c175(0x1f7)]()),this[_0x26c175(0x1d1)][_0x26c175(0x1ce)]({'attributes':{'class':[_0x26c175(0x1d0),_0x26c175(0x1cf)],'aria-hidden':!0x0}}),this[_0x26c175(0x226)](_0x53ca03,_0x26c175(0x1bb),()=>this[_0x26c175(0x21e)]()),this[_0x26c175(0x231)](this[_0x26c175(0x1da)]());}[_0x1c6cb5(0x1da)](){const _0x130d48=_0x1c6cb5,_0x44fc17=this[_0x130d48(0x1e1)],_0x5e143d=[{'tag':_0x130d48(0x1be),'attributes':{'class':[_0x130d48(0x1d7),_0x130d48(0x1ef)]},'children':[{'tag':_0x130d48(0x1d2),'children':[{'text':this[_0x130d48(0x1d1)][_0x130d48(0x219)]}],'attributes':{'class':[_0x130d48(0x22d),_0x130d48(0x20e)],'data-cke-tooltip-text':this[_0x130d48(0x1d1)][_0x130d48(0x219)]}},{'tag':_0x130d48(0x209),'attributes':{'datetime':_0x44fc17['to'](_0x130d48(0x1f5)),'class':[_0x130d48(0x232),_0x130d48(0x210)]},'children':[{'text':_0x44fc17['to'](_0x130d48(0x1f5),_0x25b8da=>this[_0x130d48(0x1fc)][_0x130d48(0x21a)](_0x25b8da))}]}]},{'tag':_0x130d48(0x1be),'attributes':{'class':[_0x130d48(0x1e3),_0x130d48(0x22e),_0x44fc17['if'](_0x130d48(0x20f),_0x130d48(0x1f2)),_0x44fc17['if'](_0x130d48(0x20f),_0x130d48(0x1c1))]},'children':this[_0x130d48(0x1fa)]},{'tag':_0x130d48(0x1be),'attributes':{'class':[_0x130d48(0x230)]},'children':this[_0x130d48(0x1dd)]},this[_0x130d48(0x1ff)]];return this[_0x130d48(0x1ea)][_0x130d48(0x213)]&&_0x5e143d[_0x130d48(0x234)]({'tag':_0x130d48(0x1be),'attributes':{'class':[_0x130d48(0x1e5)]},'children':[{'text':this[_0x130d48(0x1c7)]()}]}),{'tag':'li','attributes':{'class':[_0x130d48(0x225),_0x44fc17['if'](_0x130d48(0x203),_0x130d48(0x1e0))],'tabindex':-0x1,'aria-label':_0x44fc17['to'](_0x130d48(0x1c9)),'aria-describedby':this[_0x130d48(0x1ff)]['id'],'role':_0x130d48(0x218)},'children':[{'tag':_0x130d48(0x1be),'attributes':{'class':[_0x130d48(0x1ed),_0x130d48(0x1bf),_0x44fc17['if'](_0x130d48(0x20f),_0x130d48(0x20d)),_0x44fc17['if'](_0x130d48(0x1bd),_0x130d48(0x235)),_0x44fc17['to'](_0x130d48(0x1ee),_0x2d3453=>_0x2d3453?_0x130d48(0x215)+_0x2d3453:'')],'data-author-id':this[_0x130d48(0x1ea)][_0x130d48(0x1f3)]['id'],'data-comment-id':this[_0x130d48(0x1ea)]['id'],'role':_0x130d48(0x1db)},'children':[this[_0x130d48(0x1d1)],{'tag':_0x130d48(0x1be),'attributes':{'class':[_0x130d48(0x21f),_0x130d48(0x1d3)]},'children':_0x5e143d}]}]};}[_0x1c6cb5(0x212)](){const _0x1eba58=_0x1c6cb5,_0x12fab1=new _0x3607cb(this[_0x1eba58(0x1c3)]);return _0x12fab1[_0x1eba58(0x1d8)]=_0x2a0632(this[_0x1eba58(0x1c3)],_0x1eba58(0x21c)),_0x12fab1[_0x1eba58(0x1bc)]=_0x592cb2[_0x1eba58(0x1f1)],_0x12fab1[_0x1eba58(0x1c4)]=!0x0,_0x12fab1[_0x1eba58(0x1ce)]({'attributes':{'class':_0x1eba58(0x20d)}}),_0x12fab1[_0x1eba58(0x1d4)](_0x1eba58(0x223))['to'](this[_0x1eba58(0x1ea)],_0x1eba58(0x22c),_0x167f72=>!_0x167f72),_0x12fab1[_0x1eba58(0x1d4)](_0x1eba58(0x1f0))['to'](this[_0x1eba58(0x1ea)],_0x1eba58(0x1eb)),_0x12fab1['on'](_0x1eba58(0x21b),()=>this[_0x1eba58(0x214)]()),_0x12fab1;}[_0x1c6cb5(0x229)](){const _0x49b01d=_0x1c6cb5,_0x296455=new _0x3607cb(this[_0x49b01d(0x1c3)]);return _0x296455[_0x49b01d(0x1d8)]=_0x2a0632(this[_0x49b01d(0x1c3)],_0x49b01d(0x1c0)),_0x296455[_0x49b01d(0x1bc)]=_0x52569f,_0x296455[_0x49b01d(0x1c4)]=!0x0,_0x296455[_0x49b01d(0x1ce)]({'attributes':{'class':_0x49b01d(0x22a)}}),_0x296455[_0x49b01d(0x1d4)](_0x49b01d(0x223))['to'](this[_0x49b01d(0x1ea)],_0x49b01d(0x22c),_0x4d47f2=>!_0x4d47f2),_0x296455[_0x49b01d(0x1d4)](_0x49b01d(0x1f0))['to'](this[_0x49b01d(0x1ea)],_0x49b01d(0x22f)),_0x296455['on'](_0x49b01d(0x21b),()=>{const _0x4c70f7=_0x49b01d;this[_0x4c70f7(0x1c8)](_0x2a0632(this[_0x4c70f7(0x1c3)],_0x4c70f7(0x1e2)),this[_0x4c70f7(0x21d)])[_0x4c70f7(0x20b)](()=>{const _0x19ea32=_0x4c70f7;this[_0x19ea32(0x222)](_0x19ea32(0x207),this[_0x19ea32(0x1ea)]['id']);});}),_0x296455;}[_0x1c6cb5(0x202)](){const _0x1272b3=_0x1c6cb5,_0x458736=_0x68dd38(this[_0x1272b3(0x1c3)],_0x36f46c),_0x2b247a=_0x458736[_0x1272b3(0x1fd)][_0x1272b3(0x233)],_0x35633e=new _0x1a938b(this[_0x1272b3(0x1c3)]),_0x2b2289=_0x458736[_0x1272b3(0x1e1)];_0x46a192(_0x458736,()=>this[_0x1272b3(0x221)][_0x1272b3(0x216)](_0x242809=>_0x242809[_0x1272b3(0x1f0)])),_0x458736[_0x1272b3(0x1ce)]({'attributes':{'class':[_0x2b2289['if'](_0x1272b3(0x1f0),_0x1272b3(0x1e9),_0x3be1e0=>!_0x3be1e0)]}});const _0x15f69f=(_0x5e602c,_0x544eca=-0x1)=>{const _0x36c19a=_0x1272b3,_0x5a7d5a=new _0x2c503e(this[_0x36c19a(0x1c3)]);_0x5a7d5a[_0x36c19a(0x233)][_0x36c19a(0x220)](_0x5e602c);const _0x12133f=_0x544eca>-0x1?_0x544eca:_0x35633e[_0x36c19a(0x221)][_0x36c19a(0x1fe)];_0x35633e[_0x36c19a(0x221)][_0x36c19a(0x220)](_0x5a7d5a,_0x12133f);const _0xcaf9e8=Array[_0x36c19a(0x1e6)](this[_0x36c19a(0x221)]);_0x458736[_0x36c19a(0x204)](_0x36c19a(0x223),_0x36c19a(0x1f0)),_0x458736[_0x36c19a(0x1d4)](_0x36c19a(0x223))[_0x36c19a(0x1ec)](_0xcaf9e8,_0x36c19a(0x223),(..._0x28e955)=>_0x28e955[_0x36c19a(0x1c2)](_0xc66ede=>_0xc66ede)),_0x458736[_0x36c19a(0x1d4)](_0x36c19a(0x1f0))[_0x36c19a(0x1ec)](_0xcaf9e8,_0x36c19a(0x1f0),(..._0x3e83b5)=>_0x3e83b5[_0x36c19a(0x1c2)](_0x1085f2=>_0x1085f2));};_0x458736[_0x1272b3(0x1cd)]='sw',_0x458736[_0x1272b3(0x227)][_0x1272b3(0x1d6)]({'label':_0x2a0632(this[_0x1272b3(0x1c3)],_0x1272b3(0x22b)),'icon':_0x592cb2[_0x1272b3(0x217)]});for(const _0x9189a7 of this[_0x1272b3(0x221)])_0x15f69f(_0x9189a7);return _0x2b247a[_0x1272b3(0x220)](_0x35633e),_0x458736[_0x1272b3(0x226)](this[_0x1272b3(0x221)],_0x1272b3(0x220),(_0x35feee,_0x2bcd1a,_0x29baf2)=>{_0x15f69f(_0x2bcd1a,_0x29baf2);}),_0x458736[_0x1272b3(0x226)](this[_0x1272b3(0x221)],_0x1272b3(0x1cc),(_0x5a4d20,_0x3764bb,_0x3af92a)=>{const _0xeda9a6=_0x1272b3;_0x35633e[_0xeda9a6(0x221)][_0xeda9a6(0x1cc)](_0x3af92a);}),_0x458736;}[_0x1c6cb5(0x201)](_0x66c6ba,_0x457d0d){const _0x1e24bc=_0x1c6cb5,_0xaa0faa=_0x66c6ba&&_0x66c6ba[_0x1e24bc(0x21d)];_0xaa0faa&&(this[_0x1e24bc(0x226)](_0xaa0faa,_0x1e24bc(0x1e7),()=>this[_0x1e24bc(0x1ee)]=_0x457d0d),this[_0x1e24bc(0x226)](_0xaa0faa,_0x1e24bc(0x205),()=>this[_0x1e24bc(0x1ee)]=_0x457d0d),this[_0x1e24bc(0x226)](_0xaa0faa,_0x1e24bc(0x208),()=>this[_0x1e24bc(0x1ee)]=null),this[_0x1e24bc(0x226)](_0xaa0faa,_0x1e24bc(0x20a),()=>this[_0x1e24bc(0x1ee)]=null));}[_0x1c6cb5(0x1d5)](){const _0x2d779c=_0x1c6cb5,_0x200f3f=super[_0x2d779c(0x1d5)]();return _0x200f3f[_0x2d779c(0x1d4)](_0x2d779c(0x1ca))['to'](this),_0x200f3f;}[_0x1c6cb5(0x1df)](){const _0x1bad8b=_0x1c6cb5;super[_0x1bad8b(0x1df)](),this[_0x1bad8b(0x201)](this[_0x1bad8b(0x1d9)],_0x1bad8b(0x228)),this[_0x1bad8b(0x201)](this[_0x1bad8b(0x1e8)],_0x1bad8b(0x1cc));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x568b3a=_0x494f;(function(_0x168703,_0x57c090){var _0x32fab8=_0x494f,_0xfc7155=_0x168703();while(!![]){try{var _0x441316=-parseInt(_0x32fab8(0x107))/0x1+-parseInt(_0x32fab8(0x10a))/0x2*(-parseInt(_0x32fab8(0x104))/0x3)+parseInt(_0x32fab8(0x102))/0x4+parseInt(_0x32fab8(0x10b))/0x5+parseInt(_0x32fab8(0x109))/0x6*(-parseInt(_0x32fab8(0x10f))/0x7)+-parseInt(_0x32fab8(0x10c))/0x8*(-parseInt(_0x32fab8(0x103))/0x9)+-parseInt(_0x32fab8(0x105))/0xa;if(_0x441316===_0x57c090)break;else _0xfc7155['push'](_0xfc7155['shift']());}catch(_0x45531e){_0xfc7155['push'](_0xfc7155['shift']());}}}(_0x1128,0xc919a));import{Plugin as _0x488369}from'ckeditor5/src/core.js';import _0x14e269 from'./comments/commentsrepository.js';import _0x222b44 from'./comments/commentsediting.js';import _0x19e4a7 from'./comments/commentsui.js';import _0x437b4f from'./commentsonly.js';import _0x4b1361 from'./annotations/widesidebar.js';function _0x1128(){var _0x2e47fc=['isPremiumPlugin','pluginName','77336KugouV','Comments','4467756ApWAAj','738gQBegB','3183261BiPqWx','22297600chxSxN','isOfficialPlugin','8406JjsLpJ','requires','624kifqau','2VYfwku','2682920ObSkvR','145976ceChbV'];_0x1128=function(){return _0x2e47fc;};return _0x1128();}import _0x1c1239 from'./annotations/narrowsidebar.js';import _0x3b69c0 from'./annotations/inlineannotations.js';function _0x494f(_0x6c3951,_0x34312b){var _0x1128ec=_0x1128();return _0x494f=function(_0x494f03,_0x36ce25){_0x494f03=_0x494f03-0x101;var _0x1a3032=_0x1128ec[_0x494f03];return _0x1a3032;},_0x494f(_0x6c3951,_0x34312b);}import _0x56f6da from'./comments/commentsarchiveui.js';import _0x2405ba from'./comments/commentsarchive.js';export default class p extends _0x488369{static get[_0x568b3a(0x108)](){return[_0x14e269,_0x222b44,_0x19e4a7,_0x2405ba,_0x56f6da,_0x437b4f,_0x4b1361,_0x1c1239,_0x3b69c0];}static get[_0x568b3a(0x10e)](){var _0x4b38d4=_0x568b3a;return _0x4b38d4(0x101);}static get[_0x568b3a(0x106)](){return!0x0;}static get[_0x568b3a(0x10d)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d622b=_0x1b14;(function(_0x215852,_0x42b3c7){const _0x28a54c=_0x1b14,_0x2a6eb2=_0x215852();while(!![]){try{const _0x3334e4=parseInt(_0x28a54c(0x102))/0x1+parseInt(_0x28a54c(0x124))/0x2*(-parseInt(_0x28a54c(0x122))/0x3)+parseInt(_0x28a54c(0x11c))/0x4+parseInt(_0x28a54c(0x11b))/0x5*(-parseInt(_0x28a54c(0x11f))/0x6)+-parseInt(_0x28a54c(0x12a))/0x7+-parseInt(_0x28a54c(0x119))/0x8+parseInt(_0x28a54c(0x12d))/0x9;if(_0x3334e4===_0x42b3c7)break;else _0x2a6eb2['push'](_0x2a6eb2['shift']());}catch(_0x4d7659){_0x2a6eb2['push'](_0x2a6eb2['shift']());}}}(_0x28c8,0xdd919));function _0x28c8(){const _0x633667=['stop','186TgVECU','affectsData','plugins','57UsNmte','isOfficialPlugin','129874sNvTih','forceDisabled','delete','commands','listenTo','set','6785072XxkqiR','requires','document','24711174qVKZxy','change:isEnabled','1118772nPLqhs','clearForceDisabled','clipboardInput','isPremiumPlugin','cut','has','commentsOnly','highest','isEnabled','config','editor','_disableCommentsOnlyMode','commentsOnlyMode','get','afterInit','view','editSource','addCommentThread','editing','stopListening','SourceEditing','DragDrop','CommentsOnly','1929800CaBljU','_enableCommentsOnlyMode','238375aRcODL','3861344QPytnF','pluginName'];_0x28c8=function(){return _0x633667;};return _0x28c8();}import{Plugin as _0xe24c6c}from'ckeditor5/src/core.js';function _0x1b14(_0x57e52d,_0x3422bb){const _0x28c808=_0x28c8();return _0x1b14=function(_0x1b14f6,_0x44bcdb){_0x1b14f6=_0x1b14f6-0x101;let _0x364831=_0x28c808[_0x1b14f6];return _0x364831;},_0x1b14(_0x57e52d,_0x3422bb);}import _0x11af4b from'./comments/commentsediting.js';export default class s extends _0xe24c6c{static get[_0x4d622b(0x11d)](){const _0x2e3e3c=_0x4d622b;return _0x2e3e3c(0x118);}static get[_0x4d622b(0x123)](){return!0x0;}static get[_0x4d622b(0x105)](){return!0x0;}static get[_0x4d622b(0x12b)](){return[_0x11af4b];}constructor(_0x652faa){const _0x4b6e2f=_0x4d622b;super(_0x652faa),this[_0x4b6e2f(0x129)](_0x4b6e2f(0x10a),!0x1),this['on'](_0x4b6e2f(0x101),(_0x129f6f,_0x5a4e47,_0x140ffa)=>{const _0x41d2fb=_0x4b6e2f;_0x140ffa?this[_0x41d2fb(0x11a)]():this[_0x41d2fb(0x10d)]();});}[_0x4d622b(0x110)](){const _0x2cb59d=_0x4d622b;!this[_0x2cb59d(0x10a)]&&this[_0x2cb59d(0x10c)][_0x2cb59d(0x10b)][_0x2cb59d(0x10f)](_0x2cb59d(0x108))&&(this[_0x2cb59d(0x10a)]=!0x0);}[_0x4d622b(0x11a)](){const _0x483d04=_0x4d622b;var _0x12552c;for(const [_0x2100eb,_0x4fdf81]of this[_0x483d04(0x10c)][_0x483d04(0x127)])_0x4fdf81[_0x483d04(0x120)]&&_0x483d04(0x113)!==_0x2100eb&&_0x4fdf81[_0x483d04(0x125)](_0x483d04(0x10e));(this[_0x483d04(0x10c)][_0x483d04(0x121)][_0x483d04(0x107)](_0x483d04(0x117))&&this[_0x483d04(0x10c)][_0x483d04(0x121)][_0x483d04(0x10f)](_0x483d04(0x117))[_0x483d04(0x125)](_0x483d04(0x10e)),this[_0x483d04(0x10c)][_0x483d04(0x121)][_0x483d04(0x107)](_0x483d04(0x116)))&&this[_0x483d04(0x10c)][_0x483d04(0x121)][_0x483d04(0x10f)](_0x483d04(0x116))[_0x483d04(0x125)](_0x483d04(0x10e));null===(_0x12552c=this[_0x483d04(0x10c)][_0x483d04(0x127)][_0x483d04(0x10f)](_0x483d04(0x112)))||void 0x0===_0x12552c||_0x12552c[_0x483d04(0x125)](_0x483d04(0x10e));const _0x133bd0=this[_0x483d04(0x10c)][_0x483d04(0x114)][_0x483d04(0x111)][_0x483d04(0x12c)];this[_0x483d04(0x128)](_0x133bd0,_0x483d04(0x106),_0x577c90=>_0x577c90[_0x483d04(0x11e)](),{'priority':_0x483d04(0x109)}),this[_0x483d04(0x128)](_0x133bd0,_0x483d04(0x104),_0x1ede5c=>_0x1ede5c[_0x483d04(0x11e)](),{'priority':_0x483d04(0x109)}),this[_0x483d04(0x128)](_0x133bd0,_0x483d04(0x126),_0xdb22aa=>_0xdb22aa[_0x483d04(0x11e)](),{'priority':_0x483d04(0x109)});}[_0x4d622b(0x10d)](){const _0x156443=_0x4d622b;var _0x9daaad;for(const [_0x14d808,_0x2c0b98]of this[_0x156443(0x10c)][_0x156443(0x127)])_0x2c0b98[_0x156443(0x120)]&&_0x156443(0x113)!==_0x14d808&&_0x2c0b98[_0x156443(0x103)](_0x156443(0x10e));this[_0x156443(0x10c)][_0x156443(0x121)][_0x156443(0x107)](_0x156443(0x116))&&this[_0x156443(0x10c)][_0x156443(0x121)][_0x156443(0x10f)](_0x156443(0x116))[_0x156443(0x103)](_0x156443(0x10e)),null===(_0x9daaad=this[_0x156443(0x10c)][_0x156443(0x127)][_0x156443(0x10f)](_0x156443(0x112)))||void 0x0===_0x9daaad||_0x9daaad[_0x156443(0x103)](_0x156443(0x10e)),this[_0x156443(0x115)](this[_0x156443(0x10c)][_0x156443(0x114)][_0x156443(0x111)][_0x156443(0x12c)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2c4044,_0xbf6e05){var _0x1826a8=_0x5069,_0x29b514=_0x2c4044();while(!![]){try{var _0x376718=-parseInt(_0x1826a8(0x1d6))/0x1*(parseInt(_0x1826a8(0x1ce))/0x2)+parseInt(_0x1826a8(0x1d4))/0x3*(parseInt(_0x1826a8(0x1cf))/0x4)+-parseInt(_0x1826a8(0x1d5))/0x5+-parseInt(_0x1826a8(0x1d1))/0x6*(parseInt(_0x1826a8(0x1d7))/0x7)+-parseInt(_0x1826a8(0x1d0))/0x8*(parseInt(_0x1826a8(0x1d2))/0x9)+-parseInt(_0x1826a8(0x1cd))/0xa*(parseInt(_0x1826a8(0x1d3))/0xb)+parseInt(_0x1826a8(0x1cc))/0xc;if(_0x376718===_0xbf6e05)break;else _0x29b514['push'](_0x29b514['shift']());}catch(_0x1e84d1){_0x29b514['push'](_0x29b514['shift']());}}}(_0x4d78,0x5b3de));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';function _0x5069(_0x260fe1,_0x51f547){var _0x4d7896=_0x4d78();return _0x5069=function(_0x506971,_0x3d1f42){_0x506971=_0x506971-0x1cc;var _0x1a96fd=_0x4d7896[_0x506971];return _0x1a96fd;},_0x5069(_0x260fe1,_0x51f547);}export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';function _0x4d78(){var _0x24c932=['22617KCIwpr','13574PIaOZM','3831suFRVL','1206075dzcmrY','8xSIvfI','2177QWfdSJ','22463088lIrCLy','5590RuicCH','33322LMhANh','1108liRqFH','1944vuJuRQ','3414ejKfyz'];_0x4d78=function(){return _0x24c932;};return _0x4d78();}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4bb03e,_0x53f513,_0x4e62a2){const t=_0x4bb03e['t'];switch(_0x53f513){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'},_0x4e62a2);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'},_0x4e62a2);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'},_0x4e62a2);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'},_0x4e62a2);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4e62a2);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'},_0x4e62a2);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'},_0x4e62a2);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'},_0x4e62a2);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(_0xf3ebb3,_0x77c26f){const _0x4fde60=_0x187e,_0x3e0a14=_0xf3ebb3();while(!![]){try{const _0x43c0cd=parseInt(_0x4fde60(0x141))/0x1*(-parseInt(_0x4fde60(0x142))/0x2)+parseInt(_0x4fde60(0x13c))/0x3*(-parseInt(_0x4fde60(0x138))/0x4)+-parseInt(_0x4fde60(0x13b))/0x5*(parseInt(_0x4fde60(0x13d))/0x6)+parseInt(_0x4fde60(0x130))/0x7+parseInt(_0x4fde60(0x143))/0x8*(parseInt(_0x4fde60(0x131))/0x9)+parseInt(_0x4fde60(0x136))/0xa+parseInt(_0x4fde60(0x139))/0xb;if(_0x43c0cd===_0x77c26f)break;else _0x3e0a14['push'](_0x3e0a14['shift']());}catch(_0x33a38e){_0x3e0a14['push'](_0x3e0a14['shift']());}}}(_0x12f8,0x2fe89));import{throttle as _0x1e751f}from'lodash-es';function _0x187e(_0x35ea55,_0x5a59c1){const _0x12f87f=_0x12f8();return _0x187e=function(_0x187ed6,_0x4fc19a){_0x187ed6=_0x187ed6-0x130;let _0x5ceb8f=_0x12f87f[_0x187ed6];return _0x5ceb8f;},_0x187e(_0x35ea55,_0x5a59c1);}function _0x12f8(){const _0x30092f=['3024208uFRmGH','class','245nFoSUb','15741nMxXZS','13146qQleAI','characterData','attributeName','observe','183219OrYDVZ','4IMlPrI','3136AydILN','1131641GIspjD','7632aGxNsp','type','attributes','disconnect','cancel','321980YyaFXw','childList','100VTmQCT'];_0x12f8=function(){return _0x30092f;};return _0x12f8();}export default function Lt(_0x3403ac){const _0x265e6e=_0x1e751f(_0x3403ac,0x1e),_0xf5b16c=new MutationObserver(_0x43bef9=>{const _0x4b2cef=_0x187e;for(const _0x37ef8a of _0x43bef9)(_0x4b2cef(0x133)==_0x37ef8a[_0x4b2cef(0x132)]&&_0x4b2cef(0x13a)==_0x37ef8a[_0x4b2cef(0x13f)]||_0x4b2cef(0x137)==_0x37ef8a[_0x4b2cef(0x132)]||_0x4b2cef(0x13e)==_0x37ef8a[_0x4b2cef(0x132)])&&_0x265e6e();});return{'attach'(_0x4bea4d){const _0x140096=_0x187e;_0xf5b16c[_0x140096(0x140)](_0x4bea4d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x28dd43=_0x187e;_0xf5b16c[_0x28dd43(0x134)](),_0x265e6e[_0x28dd43(0x135)]();}};}
|