@ckeditor/ckeditor5-comments 44.2.0-alpha.16 → 44.2.0-alpha.2
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 _0x28c389=_0x3ec9;(function(_0x1f0210,_0x53cc94){const _0x3bb699=_0x3ec9,_0x31eabf=_0x1f0210();while(!![]){try{const _0x311696=parseInt(_0x3bb699(0x1ee))/0x1+-parseInt(_0x3bb699(0x1f7))/0x2*(parseInt(_0x3bb699(0x1ec))/0x3)+-parseInt(_0x3bb699(0x1f0))/0x4+-parseInt(_0x3bb699(0x1e2))/0x5+-parseInt(_0x3bb699(0x22d))/0x6+parseInt(_0x3bb699(0x1ea))/0x7+-parseInt(_0x3bb699(0x1fa))/0x8*(-parseInt(_0x3bb699(0x1ef))/0x9);if(_0x311696===_0x53cc94)break;else _0x31eabf['push'](_0x31eabf['shift']());}catch(_0xf4586c){_0x31eabf['push'](_0x31eabf['shift']());}}}(_0x5cb1,0x63e92));import{View as _0x12486e,FocusCycler as _0x39419f}from'ckeditor5/src/ui.js';function _0x5cb1(){const _0x20bf72=['_handleRemoveCommentModel','resolvedBy','equal','stopListening','removed','resolveCommentThread','_updateHasDirtyComment','change:hasDirtyComment','updateComment','focusLast','202290DKaXlq','_calculatePosition','_collapsedCommentsView','destroy','target','change:isActive','from','editorDestroyed','1541876WxsNEt','resolved','82734ZlusRD','maxCommentCharsWhenCollapsed','232992VROnVr','2852784NvkEbV','942728uZVdrj','map','Marked\x20as\x20resolved','focusFirst','_handleNewCommentModel','keystrokes','createCollection','14ucQihF','editorConfig','get','16ztubLS','formatDateTime','_config','bind','count','viewUid','maxThreadTotalWeight','listenTo','setTemplate','_rearrangeCollapse','_shouldCollapse','removeComment','render','commentViews','set','delegate','locale','remove','_findOptimalIndex','includes','_rearrangeExpand','focus','some','ck-hidden','focusCycler','add','length','editorReady','comments','arrowdown','CommentView','forEach','ck-thread__comments','_setupKeyboardNavigation','focusTracker','weight','_handleInfoComment','authoredAt','expand','collapse','isActive','maxCommentsWhenCollapsed','element','hasDirtyComment','Thread\x20comments','isEditMode','added','visibleViews','change','change:isEditMode','resolvedAt','1252752bRSWgJ','commentUpdated','change:isResolved','reverse','insert','bindTemplate','_model','delete','arrowup','resolvedCommentView','refreshVisibleViews'];_0x5cb1=function(){return _0x20bf72;};return _0x5cb1();}import{diff as _0x41b61a,Collection as _0x4d21c3,FocusTracker as _0x16aa5e,KeystrokeHandler as _0xd52de0}from'ckeditor5/src/utils.js';import{getTranslation as _0x1e796d}from'../../../utils/common-translations.js';import _0x26af7d from'./collapsedcommentsview.js';export default class te extends _0x12486e{constructor(_0x1f9bda,_0x4c9782,_0x23fde0){const _0x5ca25=_0x3ec9;super(_0x1f9bda);const _0x8289e3=this[_0x5ca25(0x232)];this[_0x5ca25(0x208)](_0x5ca25(0x225),!0x1),this[_0x5ca25(0x208)](_0x5ca25(0x214),_0x4c9782[_0x5ca25(0x216)][_0x5ca25(0x214)]),this[_0x5ca25(0x208)](_0x5ca25(0x222),!0x1),this[_0x5ca25(0x233)]=_0x4c9782,this[_0x5ca25(0x1fc)]=_0x23fde0,this[_0x5ca25(0x207)]=this[_0x5ca25(0x1f6)](),this[_0x5ca25(0x229)]=this[_0x5ca25(0x1f6)](),this[_0x5ca25(0x236)]=null,this[_0x5ca25(0x21c)]=new _0x16aa5e(),this[_0x5ca25(0x1f5)]=new _0xd52de0(),this[_0x5ca25(0x212)]=new _0x39419f({'focusables':this[_0x5ca25(0x207)],'focusTracker':this[_0x5ca25(0x21c)],'keystrokeHandler':this[_0x5ca25(0x1f5)],'keystrokeHandlerOptions':{'filter':_0x3ff939=>this[_0x5ca25(0x207)][_0x5ca25(0x1f1)](_0x448f78=>_0x448f78[_0x5ca25(0x224)])[_0x5ca25(0x20d)](_0x3ff939[_0x5ca25(0x1e6)])},'actions':{'focusPrevious':_0x5ca25(0x235),'focusNext':_0x5ca25(0x217)}}),this[_0x5ca25(0x1e4)]=new _0x26af7d(_0x1f9bda),this[_0x5ca25(0x1e4)][_0x5ca25(0x1fd)](_0x5ca25(0x1fe))['to'](this,_0x5ca25(0x214),_0x5ed5e4=>_0x5ed5e4-this[_0x5ca25(0x1fc)][_0x5ca25(0x223)]);for(const _0x1059cd of _0x4c9782[_0x5ca25(0x216)])this[_0x5ca25(0x1f4)](_0x1059cd);this[_0x5ca25(0x21e)](),this[_0x5ca25(0x201)](_0x4c9782[_0x5ca25(0x216)],_0x5ca25(0x213),(_0x2abdb8,_0x34f9f9)=>{const _0x2fbc6b=_0x5ca25,_0x2ca45f=this[_0x2fbc6b(0x1e3)](_0x34f9f9);this[_0x2fbc6b(0x214)]++,this[_0x2fbc6b(0x1f4)](_0x34f9f9,_0x2ca45f),this[_0x2fbc6b(0x237)]();}),this[_0x5ca25(0x201)](_0x4c9782[_0x5ca25(0x216)],_0x5ca25(0x20b),(_0x57ef04,_0x24c3f1)=>{const _0x5d28a6=_0x5ca25;this[_0x5d28a6(0x214)]--,this[_0x5d28a6(0x238)](_0x24c3f1),this[_0x5d28a6(0x237)]();}),this[_0x5ca25(0x201)](_0x4c9782,_0x5ca25(0x22e),()=>this[_0x5ca25(0x237)]()),this[_0x5ca25(0x201)](_0x4c9782,_0x5ca25(0x22f),()=>this[_0x5ca25(0x21e)]()),this['on'](_0x5ca25(0x1e7),()=>this[_0x5ca25(0x237)]()),this['on'](_0x5ca25(0x1df),()=>this[_0x5ca25(0x237)]()),this[_0x5ca25(0x202)]({'tag':'ul','attributes':{'class':[_0x5ca25(0x21a),_0x8289e3['if'](_0x5ca25(0x214),_0x5ca25(0x211),_0x2025d0=>!_0x2025d0)],'aria-label':_0x1e796d(_0x1f9bda,_0x5ca25(0x226))},'children':this[_0x5ca25(0x229)]});}get[_0x28c389(0x204)](){const _0x343407=_0x28c389;return this[_0x343407(0x233)][_0x343407(0x21d)]>this[_0x343407(0x1fc)][_0x343407(0x200)]&&!this[_0x343407(0x222)]&&!this[_0x343407(0x225)];}[_0x28c389(0x206)](){const _0x2954d2=_0x28c389;super[_0x2954d2(0x206)](),this[_0x2954d2(0x237)](),this[_0x2954d2(0x21b)]();}[_0x28c389(0x20f)](_0x5e1830){const _0x1acd04=_0x28c389;-0x1===_0x5e1830?this[_0x1acd04(0x212)][_0x1acd04(0x1e1)]():this[_0x1acd04(0x212)][_0x1acd04(0x1f3)]();}[_0x28c389(0x1e5)](){const _0x34cc8a=_0x28c389;this[_0x34cc8a(0x1e4)][_0x34cc8a(0x1e5)]();for(const _0x1f4155 of this[_0x34cc8a(0x207)])_0x1f4155[_0x34cc8a(0x1e5)]();super[_0x34cc8a(0x1e5)]();}[_0x28c389(0x237)](){const _0x3a1a4c=_0x28c389;this[_0x3a1a4c(0x204)]?this[_0x3a1a4c(0x203)]():this[_0x3a1a4c(0x20e)]();}[_0x28c389(0x1f4)](_0x28061e,_0x4771d6){const _0x5024d5=_0x28c389,_0x352610=new this[(_0x5024d5(0x1fc))][(_0x5024d5(0x218))](this[_0x5024d5(0x20a)],_0x28061e,{'maxCommentCharsWhenCollapsed':this[_0x5024d5(0x1fc)][_0x5024d5(0x1ed)],'formatDateTime':this[_0x5024d5(0x1fc)][_0x5024d5(0x1fb)],'editorConfig':this[_0x5024d5(0x1fc)][_0x5024d5(0x1f8)]});_0x352610[_0x5024d5(0x1ff)]=_0x28061e['id'],_0x352610[_0x5024d5(0x209)](_0x5024d5(0x205))['to'](this),_0x352610[_0x5024d5(0x209)](_0x5024d5(0x1e0))['to'](this),_0x352610[_0x5024d5(0x209)](_0x5024d5(0x1dd))['to'](this),_0x352610[_0x5024d5(0x209)](_0x5024d5(0x215))['to'](this),_0x352610[_0x5024d5(0x209)](_0x5024d5(0x1e9))['to'](this),this[_0x5024d5(0x201)](_0x352610,_0x5024d5(0x22b),()=>this[_0x5024d5(0x1de)]()),this[_0x5024d5(0x207)][_0x5024d5(0x213)](_0x352610,_0x4771d6);}[_0x28c389(0x1e3)](_0x6e3c2a){const _0x270860=_0x28c389,_0x22b1a7=this[_0x270860(0x233)][_0x270860(0x20c)](_0x6e3c2a);return this[_0x270860(0x236)]?this[_0x270860(0x236)][_0x270860(0x21f)]>_0x6e3c2a[_0x270860(0x21f)]?_0x22b1a7-0x1:_0x22b1a7:_0x22b1a7-0x1;}[_0x28c389(0x21e)](){const _0x286010=_0x28c389;if(this[_0x286010(0x233)][_0x286010(0x239)]&&this[_0x286010(0x233)][_0x286010(0x22c)]){const _0x175dc9={'id':_0x286010(0x1eb),'author':this[_0x286010(0x233)][_0x286010(0x239)],'authoredAt':this[_0x286010(0x233)][_0x286010(0x22c)],'content':_0x1e796d(this[_0x286010(0x20a)],_0x286010(0x1f2)),'attributes':{}};this[_0x286010(0x236)]=new this[(_0x286010(0x1fc))][(_0x286010(0x218))](this[_0x286010(0x20a)],_0x175dc9,{'maxCommentCharsWhenCollapsed':this[_0x286010(0x1fc)][_0x286010(0x1ed)],'formatDateTime':this[_0x286010(0x1fc)][_0x286010(0x1fb)],'editorConfig':this[_0x286010(0x1fc)][_0x286010(0x1f8)],'isSystemComment':!0x0}),this[_0x286010(0x207)][_0x286010(0x213)](this[_0x286010(0x236)],this[_0x286010(0x233)][_0x286010(0x20c)](_0x175dc9));}else this[_0x286010(0x236)]&&(this[_0x286010(0x207)][_0x286010(0x20b)](this[_0x286010(0x236)]),this[_0x286010(0x236)][_0x286010(0x1e5)](),this[_0x286010(0x236)]=null);this[_0x286010(0x237)]();}[_0x28c389(0x238)](_0x1acae9){const _0xd6f098=_0x28c389,_0x30f064=this[_0xd6f098(0x207)][_0xd6f098(0x20b)](_0x1acae9['id']);this[_0xd6f098(0x23b)](_0x30f064),_0x30f064[_0xd6f098(0x227)]&&this[_0xd6f098(0x1de)](),_0x30f064[_0xd6f098(0x1e5)]();}[_0x28c389(0x1de)](){const _0x24cfbb=_0x28c389;this[_0x24cfbb(0x225)]=Array[_0x24cfbb(0x1e8)](this[_0x24cfbb(0x207)])[_0x24cfbb(0x210)](_0x2e2fcb=>_0x2e2fcb[_0x24cfbb(0x227)]);}[_0x28c389(0x203)](){const _0x196d09=_0x28c389,_0x51acd3=function(_0x40f866){const _0x51afbe=_0x3ec9,_0xca4529=new _0x4d21c3();for(const _0x399456 of _0x40f866)_0xca4529[_0x51afbe(0x213)](_0x399456);return _0xca4529;}(this[_0x196d09(0x207)]),_0x185112=this[_0x196d09(0x1e4)][_0x196d09(0x1fe)];for(let _0x349446=0x1;_0x349446<=_0x185112;_0x349446++)_0x51acd3[_0x196d09(0x20b)](0x1);for(const _0x28d74e of _0x51acd3)_0x28d74e[_0x196d09(0x221)]();_0x185112>0x0&&_0x51acd3[_0x196d09(0x213)](this[_0x196d09(0x1e4)],0x1),as(_0x41b61a(Array[_0x196d09(0x1e8)](this[_0x196d09(0x229)]),Array[_0x196d09(0x1e8)](_0x51acd3)),this[_0x196d09(0x229)],_0x51acd3);}[_0x28c389(0x20e)](){const _0x4c7c84=_0x28c389;as(_0x41b61a(Array[_0x4c7c84(0x1e8)](this[_0x4c7c84(0x229)]),Array[_0x4c7c84(0x1e8)](this[_0x4c7c84(0x207)])),this[_0x4c7c84(0x229)],this[_0x4c7c84(0x207)]);for(const _0x4a07e3 of this[_0x4c7c84(0x229)])_0x4a07e3[_0x4c7c84(0x220)]();}[_0x28c389(0x21b)](){const _0x49fbf5=_0x28c389;this[_0x49fbf5(0x207)][_0x49fbf5(0x219)](_0x1d5c8d=>{const _0x3bd792=_0x49fbf5;this[_0x3bd792(0x21c)][_0x3bd792(0x213)](_0x1d5c8d[_0x3bd792(0x224)]),this[_0x3bd792(0x1f5)][_0x3bd792(0x201)](_0x1d5c8d[_0x3bd792(0x224)]);}),this[_0x49fbf5(0x207)]['on'](_0x49fbf5(0x22a),(_0xee0cad,_0x1b3e92)=>{const _0x5d2005=_0x49fbf5;for(const _0x5a0d3c of _0x1b3e92[_0x5d2005(0x1dc)])this[_0x5d2005(0x21c)][_0x5d2005(0x20b)](_0x5a0d3c[_0x5d2005(0x224)]),this[_0x5d2005(0x1f5)][_0x5d2005(0x23b)](_0x5a0d3c[_0x5d2005(0x224)]);for(const _0x4af8f5 of Array[_0x5d2005(0x1e8)](_0x1b3e92[_0x5d2005(0x228)])[_0x5d2005(0x230)]())this[_0x5d2005(0x21c)][_0x5d2005(0x213)](_0x4af8f5[_0x5d2005(0x224)]),this[_0x5d2005(0x1f5)][_0x5d2005(0x201)](_0x4af8f5[_0x5d2005(0x224)]);});}}function _0x3ec9(_0x34b448,_0x2dbdaa){const _0x5cb156=_0x5cb1();return _0x3ec9=function(_0x3ec9d7,_0x4cecb0){_0x3ec9d7=_0x3ec9d7-0x1dc;let _0x1761c1=_0x5cb156[_0x3ec9d7];return _0x1761c1;},_0x3ec9(_0x34b448,_0x2dbdaa);}function as(_0x1c72eb,_0x15ce81,_0x25ede3){const _0x4580dd=_0x28c389;let _0x3ce73d=0x0;for(const _0x16cec7 of _0x1c72eb)switch(_0x16cec7){case _0x4580dd(0x231):_0x15ce81[_0x4580dd(0x213)](_0x25ede3[_0x4580dd(0x1f9)](_0x3ce73d),_0x3ce73d),_0x3ce73d++;break;case _0x4580dd(0x234):_0x15ce81[_0x4580dd(0x20b)](_0x3ce73d);break;case _0x4580dd(0x23a):_0x3ce73d++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x122f1e=_0x5841;(function(_0x3ee3f2,_0x385a22){const _0x318ba6=_0x5841,_0x5ca090=_0x3ee3f2();while(!![]){try{const _0x2798ae=-parseInt(_0x318ba6(0x11b))/0x1*(-parseInt(_0x318ba6(0x117))/0x2)+parseInt(_0x318ba6(0x116))/0x3*(-parseInt(_0x318ba6(0x127))/0x4)+-parseInt(_0x318ba6(0x11d))/0x5*(-parseInt(_0x318ba6(0x125))/0x6)+parseInt(_0x318ba6(0x121))/0x7+-parseInt(_0x318ba6(0x126))/0x8*(parseInt(_0x318ba6(0x120))/0x9)+-parseInt(_0x318ba6(0x115))/0xa*(parseInt(_0x318ba6(0x11e))/0xb)+parseInt(_0x318ba6(0x128))/0xc;if(_0x2798ae===_0x385a22)break;else _0x5ca090['push'](_0x5ca090['shift']());}catch(_0x552e36){_0x5ca090['push'](_0x5ca090['shift']());}}}(_0x4233,0x7f7d4));import{View as _0x314178}from'ckeditor5/src/ui.js';import{getTranslation as _0x5bb1f6}from'../../../utils/common-translations.js';function _0x5841(_0x1e9b0c,_0x2d63b7){const _0x423343=_0x4233();return _0x5841=function(_0x5841c6,_0xceb65f){_0x5841c6=_0x5841c6-0x115;let _0x2d1a37=_0x423343[_0x5841c6];return _0x2d1a37;},_0x5841(_0x1e9b0c,_0x2d63b7);}function _0x4233(){const _0x24d65d=['ck-context__value','43qobrdF','element','1249265TLBRYP','100507dtaXfQ','THREAD_CONTEXT_LABEL','5553jdgQQW','4123273fPwApc','bindTemplate','set','focus','18vrpYrC','9488SRBksr','4klNPjt','1514364Tefldd','span','540htMgsp','2046174HOKZvk','44866FgLtfO','contextValue','setTemplate'];_0x4233=function(){return _0x24d65d;};return _0x4233();}export default class ls extends _0x314178{constructor(_0x5c0d62){const _0x4b22e7=_0x5841;super(_0x5c0d62);const _0x47eaa9=this[_0x4b22e7(0x122)];this[_0x4b22e7(0x123)](_0x4b22e7(0x118),''),this[_0x4b22e7(0x119)]({'tag':_0x4b22e7(0x129),'attributes':{'class':['ck',_0x4b22e7(0x11a)],'aria-label':_0x47eaa9['to'](_0x4b22e7(0x118),_0x2e03db=>_0x5bb1f6(_0x5c0d62,_0x4b22e7(0x11f),_0x2e03db)),'tabindex':-0x1},'children':[{'text':_0x47eaa9['to'](_0x4b22e7(0x118))}]});}[_0x122f1e(0x124)](){const _0x333bb9=_0x122f1e;this[_0x333bb9(0x11c)][_0x333bb9(0x124)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x52a4(){const _0x29443f=['_attachContextActions','isResolvable','isResolved','element','icon','9498RSWIKi','shift+tab','value','label','ck-thread__header','querySelector','995TUXaMe','12211209cItvTb','Reopen','2110346weXYZI','locale','tab','_createContextView','classList','length','mouseleave','render','focusables','ck-annotation__actions','execute','isReadOnly','contextView','915556LtzGyL','contextValue','lastIndexOf','add','.ck-context','hasContext','...','_trimContextValue','createCollection','mouseenter','bind','ck-context--quotes','reopenButtonView','scrollWidth','listenTo','_createReopenButton','.ck-context__value','isVisible','div','isEnabled','setTemplate','keystrokes','1982808KPjtJz','focusTracker','671106BoalrQ','substring','remove','_setupKeyboardNavigation','overlay','4lEIhju','focusFirst','focus','bindTemplate','_model','focusCycler','context','ck-context-wrapper','fire','71235SEuuOD','tooltip','reopenCommentThread','Comment\x20was\x20made\x20on\x20an\x20element','ck-context','offsetWidth'];_0x52a4=function(){return _0x29443f;};return _0x52a4();}const _0x4bb266=_0x44ae;(function(_0x4b9b4d,_0x38d6c2){const _0x314614=_0x44ae,_0x40ab27=_0x4b9b4d();while(!![]){try{const _0x5338b1=parseInt(_0x314614(0x1f3))/0x1+parseInt(_0x314614(0x214))/0x2+parseInt(_0x314614(0x22c))/0x3*(parseInt(_0x314614(0x231))/0x4)+parseInt(_0x314614(0x204))/0x5*(parseInt(_0x314614(0x1fe))/0x6)+parseInt(_0x314614(0x207))/0x7+parseInt(_0x314614(0x22a))/0x8+-parseInt(_0x314614(0x205))/0x9;if(_0x5338b1===_0x38d6c2)break;else _0x40ab27['push'](_0x40ab27['shift']());}catch(_0x571a55){_0x40ab27['push'](_0x40ab27['shift']());}}}(_0x52a4,0x3f8a4));import{View as _0x24a394,ButtonView as _0x1c9f04,FocusCycler as _0x16f08c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x89e86b,KeystrokeHandler as _0x24cfaf}from'ckeditor5/src/utils.js';import{getTranslation as _0x2dddf3}from'../../../utils/common-translations.js';import _0x122e01 from'../../../../theme/icons/undo.svg';import _0x6ec66a from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x44ae(_0x1a0fbf,_0x2322d2){const _0x52a402=_0x52a4();return _0x44ae=function(_0x44ae27,_0x2da237){_0x44ae27=_0x44ae27-0x1f2;let _0x58336f=_0x52a402[_0x44ae27];return _0x58336f;},_0x44ae(_0x1a0fbf,_0x2322d2);}export default class Zt extends _0x24a394{constructor(_0x8e6b06,_0x5b4094){const _0x56851a=_0x44ae;super(_0x8e6b06);const _0x4c372c=this[_0x56851a(0x234)];this[_0x56851a(0x235)]=_0x5b4094,this[_0x56851a(0x220)]=this[_0x56851a(0x223)](),this[_0x56851a(0x213)]=this[_0x56851a(0x20a)](),this[_0x56851a(0x20f)]=this[_0x56851a(0x21c)]([this[_0x56851a(0x213)],this[_0x56851a(0x220)]]),this[_0x56851a(0x22b)]=new _0x89e86b(),this[_0x56851a(0x229)]=new _0x24cfaf(),this[_0x56851a(0x236)]=new _0x16f08c({'focusables':this[_0x56851a(0x20f)],'focusTracker':this[_0x56851a(0x22b)],'keystrokeHandler':this[_0x56851a(0x229)],'actions':{'focusPrevious':_0x56851a(0x1ff),'focusNext':_0x56851a(0x209)}}),this[_0x56851a(0x21e)](_0x56851a(0x219))['to'](this[_0x56851a(0x235)],_0x56851a(0x237),_0x404177=>!!_0x404177),this[_0x56851a(0x21e)](_0x56851a(0x215))['to'](this[_0x56851a(0x235)],_0x56851a(0x237),_0x444dd3=>_0x444dd3&&_0x444dd3[_0x56851a(0x200)]?this[_0x56851a(0x21b)](_0x444dd3[_0x56851a(0x200)]):_0x2dddf3(this[_0x56851a(0x208)],_0x56851a(0x1f6))),this[_0x56851a(0x228)]({'tag':_0x56851a(0x226),'attributes':{'class':[_0x56851a(0x202)]},'children':[{'tag':_0x56851a(0x226),'attributes':{'class':[_0x56851a(0x238)]},'children':[{'tag':_0x56851a(0x226),'attributes':{'class':[_0x56851a(0x1f7),_0x4c372c['if'](_0x56851a(0x219),_0x56851a(0x21f))]},'children':[this[_0x56851a(0x213)]]}]},{'tag':_0x56851a(0x226),'attributes':{'class':[_0x56851a(0x210)]},'children':[this[_0x56851a(0x220)]]}]});}[_0x4bb266(0x20e)](){const _0x45eff3=_0x4bb266;super[_0x45eff3(0x20e)](),this[_0x45eff3(0x1f9)](),this[_0x45eff3(0x22f)]();}[_0x4bb266(0x233)](){const _0x34f209=_0x4bb266;this[_0x34f209(0x236)][_0x34f209(0x232)]();}[_0x4bb266(0x223)](){const _0x538d3e=_0x4bb266,_0x175999=new _0x1c9f04(this[_0x538d3e(0x208)]);return _0x175999[_0x538d3e(0x201)]=_0x2dddf3(this[_0x538d3e(0x208)],_0x538d3e(0x206)),_0x175999[_0x538d3e(0x1f4)]=_0x2dddf3(this[_0x538d3e(0x208)],_0x538d3e(0x206)),_0x175999[_0x538d3e(0x1fd)]=_0x122e01,_0x175999[_0x538d3e(0x21e)](_0x538d3e(0x227))['to'](this[_0x538d3e(0x235)],_0x538d3e(0x212),_0x4bf597=>!_0x4bf597),_0x175999[_0x538d3e(0x21e)](_0x538d3e(0x225))['to'](this[_0x538d3e(0x235)],_0x538d3e(0x1fa),this[_0x538d3e(0x235)],_0x538d3e(0x1fb),(_0x469a9f,_0x3c8467)=>_0x469a9f&&_0x3c8467),_0x175999['on'](_0x538d3e(0x211),()=>{const _0x185995=_0x538d3e;this[_0x185995(0x1f2)](_0x185995(0x1f5),this[_0x185995(0x235)]['id']);}),_0x175999;}[_0x4bb266(0x21b)](_0x448f2e){const _0x3b50e2=_0x4bb266;if(_0x448f2e[_0x3b50e2(0x20c)]<0x96)return _0x448f2e;const _0x5d84c4=_0x448f2e[_0x3b50e2(0x216)]('\x20',0x93);return _0x448f2e[_0x3b50e2(0x22d)](0x0,_0x5d84c4>-0x1?_0x5d84c4:0x93)+_0x3b50e2(0x21a);}[_0x4bb266(0x1f9)](){const _0x388b16=_0x4bb266,_0xabaab4=this[_0x388b16(0x1fc)][_0x388b16(0x203)](_0x388b16(0x218)),_0x422742=_0xabaab4[_0x388b16(0x203)](_0x388b16(0x224));this[_0x388b16(0x222)](_0xabaab4,_0x388b16(0x21d),()=>{const _0x51eb88=_0x388b16;_0x422742[_0x51eb88(0x1f8)]<_0x422742[_0x51eb88(0x221)]&&_0xabaab4[_0x51eb88(0x20b)][_0x51eb88(0x217)](_0x51eb88(0x230));}),this[_0x388b16(0x222)](_0xabaab4,_0x388b16(0x20d),()=>{const _0x105352=_0x388b16;_0xabaab4[_0x105352(0x20b)][_0x105352(0x22e)](_0x105352(0x230));});}[_0x4bb266(0x22f)](){const _0x44c6bc=_0x4bb266;this[_0x44c6bc(0x229)][_0x44c6bc(0x222)](this[_0x44c6bc(0x1fc)]);for(const _0x2363e0 of this[_0x44c6bc(0x20f)])this[_0x44c6bc(0x22b)][_0x44c6bc(0x217)](_0x2363e0[_0x44c6bc(0x1fc)]),this[_0x44c6bc(0x229)][_0x44c6bc(0x222)](_0x2363e0[_0x44c6bc(0x1fc)]);}[_0x4bb266(0x20a)](){const _0x379d35=_0x4bb266,_0x3c9aa1=new _0x6ec66a(this[_0x379d35(0x208)]);return _0x3c9aa1[_0x379d35(0x21e)](_0x379d35(0x215))['to'](this),_0x3c9aa1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b996f=_0x253f;(function(_0x2525c5,_0x6daef6){const _0x1abb11=_0x253f,_0x5be8ab=_0x2525c5();while(!![]){try{const _0x1d09d1=-parseInt(_0x1abb11(0x1f4))/0x1*(-parseInt(_0x1abb11(0x1da))/0x2)+parseInt(_0x1abb11(0x1fa))/0x3*(parseInt(_0x1abb11(0x1e3))/0x4)+-parseInt(_0x1abb11(0x1fd))/0x5+parseInt(_0x1abb11(0x1e5))/0x6+parseInt(_0x1abb11(0x1f2))/0x7*(parseInt(_0x1abb11(0x1f0))/0x8)+parseInt(_0x1abb11(0x1ee))/0x9*(parseInt(_0x1abb11(0x206))/0xa)+parseInt(_0x1abb11(0x1f3))/0xb*(-parseInt(_0x1abb11(0x1ed))/0xc);if(_0x1d09d1===_0x6daef6)break;else _0x5be8ab['push'](_0x5be8ab['shift']());}catch(_0x227905){_0x5be8ab['push'](_0x5be8ab['shift']());}}}(_0x1a42,0x4c914));function _0x1a42(){const _0x23bb5e=['ck-thread__input','showButtons','set','destroy','2reyNcD','ck-comment__input-container--active','view','render','editing','value','editorDestroyed','filter','createEditor','4azFbXa','then','2445204qlFzpk','bindTemplate','mousedown','target','setTemplate','_focusOnNonInteractiveMouseDown','focus','userView','72CNXWKA','189MVLCHd','editorReady','23720HXvyPy','some','1267XqoOln','3070793uOFzEZ','609361KDigiT','editor','delegate','ck-thread__user','showInput','focusTracker','903876gBSnLa','element','isFocused','1022085ZXrdgD','bind','commentInputView','listenTo','div','extendTemplate','ck-comment__input-container','focusCycler','preventDefault','161030uEuEHH','contains','getDomRoot','change:showInput'];_0x1a42=function(){return _0x23bb5e;};return _0x1a42();}import{View as _0x5aa1b4}from'ckeditor5/src/ui.js';import _0x185af0 from'./commentinputview.js';function _0x253f(_0x2358df,_0x441a39){const _0x1a42e2=_0x1a42();return _0x253f=function(_0x253f1e,_0x36ebe9){_0x253f1e=_0x253f1e-0x1d3;let _0x26e016=_0x1a42e2[_0x253f1e];return _0x26e016;},_0x253f(_0x2358df,_0x441a39);}import{UserView as _0x11e34c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x5aa1b4{constructor(_0x16f5a1,_0x3c6a0e,_0x979045){const _0x760e6=_0x253f;super(_0x16f5a1),this[_0x760e6(0x1ff)]=new _0x185af0(_0x16f5a1,_0x979045),this[_0x760e6(0x204)]=this[_0x760e6(0x1ff)][_0x760e6(0x204)],this[_0x760e6(0x1ff)][_0x760e6(0x1fe)](_0x760e6(0x1d7))['to'](this[_0x760e6(0x1ff)][_0x760e6(0x1f9)],_0x760e6(0x1fc),this[_0x760e6(0x1ff)],_0x760e6(0x1df),(_0x4eeea7,_0x1a3165)=>_0x4eeea7||!!_0x1a3165),this[_0x760e6(0x1d8)](_0x760e6(0x1f8),!0x1),this['on'](_0x760e6(0x1d5),()=>{const _0x1018e0=_0x760e6;this[_0x1018e0(0x1f8)]&&!this[_0x1018e0(0x1ff)][_0x1018e0(0x1f5)]&&this[_0x1018e0(0x1ff)][_0x1018e0(0x1e2)]();}),this[_0x760e6(0x1ff)][_0x760e6(0x1f6)](_0x760e6(0x1ef))['to'](this),this[_0x760e6(0x1ff)][_0x760e6(0x1f6)](_0x760e6(0x1e0))['to'](this),this[_0x760e6(0x1ec)]=new _0x11e34c(_0x16f5a1,_0x3c6a0e),this[_0x760e6(0x1ec)][_0x760e6(0x202)]({'attributes':{'class':_0x760e6(0x1f7),'aria-hidden':!0x0}}),this[_0x760e6(0x1ff)][_0x760e6(0x202)]({'attributes':{'class':_0x760e6(0x1d6)}}),this[_0x760e6(0x1e9)]({'tag':_0x760e6(0x201),'attributes':{'class':[_0x760e6(0x203),this[_0x760e6(0x1e6)]['if'](_0x760e6(0x1f8),_0x760e6(0x1db))]},'children':[this[_0x760e6(0x1ec)],this[_0x760e6(0x1ff)]]});}[_0x5b996f(0x1dd)](){const _0x451c41=_0x5b996f;super[_0x451c41(0x1dd)](),this[_0x451c41(0x1ea)]();}[_0x5b996f(0x1d9)](){const _0x2e5b74=_0x5b996f;return this[_0x2e5b74(0x1ff)][_0x2e5b74(0x1d9)]()[_0x2e5b74(0x1e4)](()=>super[_0x2e5b74(0x1d9)]());}[_0x5b996f(0x1eb)](_0x21e307){const _0x54ca47=_0x5b996f;this[_0x54ca47(0x1ff)][_0x54ca47(0x1eb)](_0x21e307);}[_0x5b996f(0x1ea)](){const _0x144688=_0x5b996f;this[_0x144688(0x200)](this[_0x144688(0x1fb)],_0x144688(0x1e7),(_0x529e18,_0xb20ddd)=>{const _0x55c84d=_0x144688,{submitButtonView:_0x16d0fe,cancelButtonView:_0x125c50,editor:_0x2e0bd1}=this[_0x55c84d(0x1ff)];[_0x16d0fe[_0x55c84d(0x1fb)],_0x125c50[_0x55c84d(0x1fb)],_0x2e0bd1?_0x2e0bd1[_0x55c84d(0x1de)][_0x55c84d(0x1dc)][_0x55c84d(0x1d4)]():null][_0x55c84d(0x1e1)](_0x3943dc=>_0x3943dc)[_0x55c84d(0x1f1)](_0x3b31cd=>_0x3b31cd[_0x55c84d(0x1d3)](_0xb20ddd[_0x55c84d(0x1e8)]))||(this[_0x55c84d(0x1eb)](),_0xb20ddd[_0x55c84d(0x205)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x19f26c=_0x2b60;function _0x2b60(_0x173375,_0x227e23){const _0xa639e3=_0xa639();return _0x2b60=function(_0x2b602c,_0x39295a){_0x2b602c=_0x2b602c-0x1e8;let _0x116047=_0xa639e3[_0x2b602c];return _0x116047;},_0x2b60(_0x173375,_0x227e23);}(function(_0x22856b,_0x1a2075){const _0x18b85f=_0x2b60,_0x5d70c3=_0x22856b();while(!![]){try{const _0x275063=parseInt(_0x18b85f(0x20b))/0x1+parseInt(_0x18b85f(0x235))/0x2+parseInt(_0x18b85f(0x23f))/0x3*(parseInt(_0x18b85f(0x243))/0x4)+-parseInt(_0x18b85f(0x200))/0x5*(parseInt(_0x18b85f(0x20d))/0x6)+-parseInt(_0x18b85f(0x232))/0x7+-parseInt(_0x18b85f(0x241))/0x8*(-parseInt(_0x18b85f(0x212))/0x9)+parseInt(_0x18b85f(0x21c))/0xa*(-parseInt(_0x18b85f(0x207))/0xb);if(_0x275063===_0x1a2075)break;else _0x5d70c3['push'](_0x5d70c3['shift']());}catch(_0x21b73a){_0x5d70c3['push'](_0x5d70c3['shift']());}}}(_0xa639,0x64e7f));import{ConfirmMixin as _0x564545,LateFocusButtonView as _0x4a9ac0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xa639(){const _0xb6512=['remove','then','1570394erBmgX','stop','add','render','ck-thread__container','removeButton','element','createCollection','ck-thread--active','ck-thread','24iOrUda','isUnlinked','992832MPBrIY','ck-thread--unlinked','104296wXlKwY','resolveCommentThread','.ck-thread__container','_createResolveButton','ck-reset_all-excluded','locale','actionBar','get','focus','commentThreadInputView','high','ck-rounded-corners','showConfirm','tooltip','set','execute','isVisible','_model','ck-comment--resolve','removeCommentThread','getTemplate','setTemplate','placeholder','change:isReadOnly','isResolved','52480DExOzz','ck-thread--remove-confirmation','listitem','isReadOnly','Write\x20a\x20comment...','focusables','_cancelAllConfirms','2573901MeCqCp','Delete\x20comment\x20thread?','change:archivedAt','isActive','526112zfYmsD','_bindFirstCommentView','456YiDDfG','check','unbind','isConfirm','div','9hJGhnF','archivedAt','has','containerElement','commentsListView','change:isActive','ariaLabel','listenTo','Resolve','querySelector','10NFNyui','bindTemplate','cancelConfirm','commentViews','fire','commentThreadChildren','isSystemComment','label','isResolvable','bind','_boundFirstCommentView','removeConfirm','isEnabled','resolveButton','ariaDescriptionView','extendTemplate','icon','length','_updateArchivedThreadHeader','ck-thread--','commentThreadHeaderView','actionIndicator','1393049hdHOEH'];_0xa639=function(){return _0xb6512;};return _0xa639();}import{icons as _0x400500}from'ckeditor5/src/core.js';import _0x1b49e8 from'./basecommentthreadview.js';import{getTranslation as _0xa09703}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x564545(_0x1b49e8){constructor(_0x8f6156,_0x6d397e,_0xe1a6a6,_0x130fad){const _0x513f7c=_0x2b60;super(_0x8f6156,_0x6d397e,_0xe1a6a6,_0x130fad),this[_0x513f7c(0x221)]=this[_0x513f7c(0x23c)]([this[_0x513f7c(0x216)],this[_0x513f7c(0x1f0)],this[_0x513f7c(0x22a)]]),this[_0x513f7c(0x1f5)](_0x513f7c(0x231),null),this[_0x513f7c(0x215)]=null,this[_0x513f7c(0x226)]=null,this[_0x513f7c(0x1ec)]=_0x8f6156,this[_0x513f7c(0x229)]=this[_0x513f7c(0x1ea)](),this[_0x513f7c(0x1fc)](this[_0x513f7c(0x1fb)]()),this['on'](_0x513f7c(0x217),(_0xe07f7b,_0x222a5d,_0x2fe158)=>{const _0x1af004=_0x513f7c;_0x2fe158||this[_0x1af004(0x206)]();}),this[_0x513f7c(0x219)](this[_0x513f7c(0x1f8)],_0x513f7c(0x1fe),(_0x11a531,_0x31759b,_0xfab2be)=>{const _0x4d21e6=_0x513f7c;_0xfab2be&&this[_0x4d21e6(0x206)]();}),this[_0x513f7c(0x22d)]>0x0&&this[_0x513f7c(0x20c)](),this[_0x513f7c(0x219)](this[_0x513f7c(0x216)][_0x513f7c(0x21f)],_0x513f7c(0x237),()=>{const _0x5eb204=_0x513f7c;this[_0x5eb204(0x20c)]();});}[_0x19f26c(0x1fb)](){const _0xa99dde=_0x19f26c,_0x4e37b4=this[_0xa99dde(0x21d)];return{'tag':_0xa99dde(0x211),'attributes':{'class':['ck',_0xa99dde(0x23e),_0xa99dde(0x1eb),_0xa99dde(0x1f2),_0x4e37b4['if'](_0xa99dde(0x20a),_0xa99dde(0x23d)),_0x4e37b4['if'](_0xa99dde(0x240),_0xa99dde(0x242)),_0x4e37b4['if'](_0xa99dde(0x210),_0xa99dde(0x201)),_0x4e37b4['to'](_0xa99dde(0x231),_0x27821a=>_0x27821a?_0xa99dde(0x22f)+_0x27821a:'')],'data-thread-id':this[_0xa99dde(0x1f8)]['id'],'tabindex':0x0,'role':_0xa99dde(0x202),'aria-label':_0x4e37b4['to'](_0xa99dde(0x218)),'aria-describedby':this[_0xa99dde(0x22a)]['id']},'children':[{'tag':_0xa99dde(0x211),'attributes':{'class':_0xa99dde(0x239)},'children':this[_0xa99dde(0x221)]}]};}[_0x19f26c(0x238)](){const _0x2a2074=_0x19f26c;super[_0x2a2074(0x238)](),this[_0x2a2074(0x215)]=this[_0x2a2074(0x23b)][_0x2a2074(0x21b)](_0x2a2074(0x1e9)),this[_0x2a2074(0x1f8)]['on'](_0x2a2074(0x209),()=>{const _0xe63e4=_0x2a2074;this[_0xe63e4(0x22e)]();}),this[_0x2a2074(0x22e)]();}[_0x19f26c(0x206)](){const _0x52f7b3=_0x19f26c;this[_0x52f7b3(0x21e)]();for(const _0x3c7815 of this[_0x52f7b3(0x216)][_0x52f7b3(0x21f)])_0x3c7815[_0x52f7b3(0x21e)]();}[_0x19f26c(0x20c)](){const _0x84bd1e=_0x19f26c,{locale:_0x28d520}=this,_0x58db85=this[_0x84bd1e(0x216)][_0x84bd1e(0x21f)][_0x84bd1e(0x1ee)](0x0);_0x58db85===this[_0x84bd1e(0x226)]||_0x58db85[_0x84bd1e(0x222)]||(this[_0x84bd1e(0x226)]=_0x58db85,this[_0x84bd1e(0x20f)](_0x84bd1e(0x231)),this[_0x84bd1e(0x225)](_0x84bd1e(0x231))['to'](_0x58db85,_0x84bd1e(0x231),_0x1e825e=>_0x84bd1e(0x233)===_0x1e825e?_0x84bd1e(0x233):null),_0x58db85[_0x84bd1e(0x1fd)]=_0xa09703(_0x28d520,_0x84bd1e(0x204)),_0x58db85[_0x84bd1e(0x23a)]['on'](_0x84bd1e(0x1f6),_0x4f1728=>{const _0x1c4857=_0x84bd1e;_0x4f1728[_0x1c4857(0x236)](),this[_0x1c4857(0x1f3)](_0xa09703(_0x28d520,_0x1c4857(0x208)),this[_0x1c4857(0x215)])[_0x1c4857(0x234)](()=>{const _0x313a07=_0x1c4857;this[_0x313a07(0x220)](_0x313a07(0x1fa));});},{'priority':_0x84bd1e(0x1f1)}),this['on'](_0x84bd1e(0x227),()=>{const _0x3e23f3=_0x84bd1e;_0x58db85[_0x3e23f3(0x1ef)]();}),_0x58db85[_0x84bd1e(0x1ed)][_0x84bd1e(0x237)](this[_0x84bd1e(0x229)],0x0),_0x58db85[_0x84bd1e(0x205)][_0x84bd1e(0x237)](this[_0x84bd1e(0x229)],0x0));}[_0x19f26c(0x1ea)](){const _0x543fc9=_0x19f26c,_0x308f5c=new _0x4a9ac0(this[_0x543fc9(0x1ec)]);return _0x308f5c[_0x543fc9(0x223)]=_0xa09703(this[_0x543fc9(0x1ec)],_0x543fc9(0x21a)),_0x308f5c[_0x543fc9(0x1f4)]=_0xa09703(this[_0x543fc9(0x1ec)],_0x543fc9(0x21a)),_0x308f5c[_0x543fc9(0x22c)]=_0x400500[_0x543fc9(0x20e)],_0x308f5c[_0x543fc9(0x22b)]({'attributes':{'class':_0x543fc9(0x1f9)}}),_0x308f5c[_0x543fc9(0x225)](_0x543fc9(0x228))['to'](this[_0x543fc9(0x1f8)],_0x543fc9(0x203),_0x519560=>!_0x519560),_0x308f5c[_0x543fc9(0x225)](_0x543fc9(0x1f7))['to'](this[_0x543fc9(0x1f8)],_0x543fc9(0x224),this[_0x543fc9(0x1f8)],_0x543fc9(0x1ff),(_0x2e3dd1,_0x41c5b7)=>_0x2e3dd1&&!_0x41c5b7),_0x308f5c['on'](_0x543fc9(0x1f6),()=>{const _0x131317=_0x543fc9;this[_0x131317(0x220)](_0x131317(0x1e8),this[_0x131317(0x1f8)]['id']);}),_0x308f5c;}[_0x19f26c(0x22e)](){const _0x9bc5ec=_0x19f26c;this[_0x9bc5ec(0x1f8)][_0x9bc5ec(0x213)]?this[_0x9bc5ec(0x221)][_0x9bc5ec(0x214)](this[_0x9bc5ec(0x230)])||(this[_0x9bc5ec(0x221)][_0x9bc5ec(0x237)](this[_0x9bc5ec(0x230)],0x0),this[_0x9bc5ec(0x205)][_0x9bc5ec(0x237)](this[_0x9bc5ec(0x230)],0x0)):this[_0x9bc5ec(0x221)][_0x9bc5ec(0x214)](this[_0x9bc5ec(0x230)])&&(this[_0x9bc5ec(0x221)][_0x9bc5ec(0x233)](this[_0x9bc5ec(0x230)]),this[_0x9bc5ec(0x205)][_0x9bc5ec(0x233)](this[_0x9bc5ec(0x230)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3d4d83=_0x5aac;(function(_0xd3c932,_0x347700){const _0x3db295=_0x5aac,_0x174b8b=_0xd3c932();while(!![]){try{const _0x53e42e=parseInt(_0x3db295(0x1c1))/0x1+parseInt(_0x3db295(0x1f3))/0x2+parseInt(_0x3db295(0x1e1))/0x3*(-parseInt(_0x3db295(0x1cf))/0x4)+parseInt(_0x3db295(0x1d5))/0x5+parseInt(_0x3db295(0x1d6))/0x6+-parseInt(_0x3db295(0x20d))/0x7+parseInt(_0x3db295(0x1a2))/0x8*(-parseInt(_0x3db295(0x1ee))/0x9);if(_0x53e42e===_0x347700)break;else _0x174b8b['push'](_0x174b8b['shift']());}catch(_0xa85814){_0x174b8b['push'](_0x174b8b['shift']());}}}(_0xc7cc,0xbf161));import{ButtonView as _0x471454,createDropdown as _0xb352bb,ListView as _0x41c905,ListItemView as _0xf2e139,focusChildOnDropdownOpen as _0xde1845}from'ckeditor5/src/ui.js';import{icons as _0x35ca11}from'ckeditor5/src/core.js';import{UserView as _0x43da18,ConfirmMixin as _0x277262,LateFocusDropdownButtonView as _0x5cf239}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xc7cc(){const _0x394358=['21ptrCHU','then','unbind','element','panelView','toMany','bindTemplate','time','ck-comment__actions','dropdown','visibleView','placeholder','setTemplate','1233GYHhLU','ck-comment__wrapper','change:isRemovable','from','ariaLabel','2017674TGCeXS','addMany','edit','remove','ck-comment__info-time','set','ck-comment__main','getTemplate','ck-comment--info','threeVerticalDots','ck-annotation__info-time','ck-comment','isReadOnly','blur','isRemovable','bind','Remove','formatDateTime','ck-comment__actions--hidden','span','resolvedAt','_createDropdown','authoredAt','pencil','createCollection','icon','138229DRXATY','getExternalCommentNote','some','isConfirm','ck-comment--edit','group','_createEditButton','_createRemoveButton','Delete\x20comment?','isEditable','userView','actionBar','focusables','_attachActions','getUserViewNotificationText','1136GBdcZR','removeButton','ck-comment__info','author','listitem','ck-comment--remove-confirmation','add','isEditMode','focus','ariaDescriptionView','length','cancelConfirm','ck-annotation__actions','ck-comment__info-name','ck-comment--','locale','isVisible','editButton','isEnabled','listenTo','ck-annotation__content-wrapper','_createCommentInputView','push','ck-comment--remove','Edit','fire','ck-comment__external','name','ck-annotation','withText','mouseleave','523377OKsxcA','_model','actionIndicator','removeComment','render','items','Reply...','ck-annotation__user','switchToEditMode','ck-annotation__main','ck-comment__user','ck-annotation__actions--hidden','showConfirm','isExternal','824404UJqOBt','ck-annotation__info','extendTemplate','ck-annotation__info-name','panelPosition','execute','3457630JusefS','245142kmaqNl','buttonView','mouseenter','ck-hidden','children','label','div','_config','isSystemComment','find','Show\x20more\x20items'];_0xc7cc=function(){return _0x394358;};return _0xc7cc();}function _0x5aac(_0x2209f5,_0x549c8b){const _0xc7cc1c=_0xc7cc();return _0x5aac=function(_0x5aacd6,_0x3e6ed6){_0x5aacd6=_0x5aacd6-0x197;let _0x52e6ab=_0xc7cc1c[_0x5aacd6];return _0x52e6ab;},_0x5aac(_0x2209f5,_0x549c8b);}import _0x390f48 from'./basecommentview.js';import _0xf261c9 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4e07fb}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x277262(_0x390f48){constructor(_0x216d11,_0x899b1e,_0x4eb09f){const _0x1a2721=_0x5aac;super(_0x216d11,_0x899b1e,_0x4eb09f),this[_0x1a2721(0x1f8)](_0x1a2721(0x1c3),null),this[_0x1a2721(0x1f8)](_0x1a2721(0x1ec),_0x4e07fb(_0x216d11,_0x1a2721(0x1c7))),this[_0x1a2721(0x202)](_0x1a2721(0x209))['to'](_0x899b1e),this[_0x1a2721(0x202)](_0x1a2721(0x207))['to'](_0x899b1e),this[_0x1a2721(0x19e)]=this[_0x1a2721(0x20b)](),this[_0x1a2721(0x1de)]||(this[_0x1a2721(0x1b3)]=this[_0x1a2721(0x199)](),this[_0x1a2721(0x1a3)]=this[_0x1a2721(0x19a)](),this[_0x1a2721(0x1c6)]=this[_0x1a2721(0x20b)](),this[_0x1a2721(0x1c6)][_0x1a2721(0x1f4)]([this[_0x1a2721(0x1b3)],this[_0x1a2721(0x1a3)]]),this[_0x1a2721(0x1ea)]=this[_0x1a2721(0x208)](),this[_0x1a2721(0x19e)][_0x1a2721(0x1a8)](this[_0x1a2721(0x1ea)]),this[_0x1a2721(0x19f)][_0x1a2721(0x1a8)](this[_0x1a2721(0x1ea)])),this[_0x1a2721(0x19d)]=new _0x43da18(_0x216d11,_0x899b1e[_0x1a2721(0x1a5)],this[_0x1a2721(0x1a1)]()),this[_0x1a2721(0x19d)][_0x1a2721(0x1d1)]({'attributes':{'class':[_0x1a2721(0x1cb),_0x1a2721(0x1c8)],'aria-hidden':!0x0}}),this[_0x1a2721(0x1b5)](_0x899b1e,_0x1a2721(0x1f0),()=>this[_0x1a2721(0x1ad)]()),this[_0x1a2721(0x1ed)](this[_0x1a2721(0x1fa)]());}[_0x3d4d83(0x1fa)](){const _0x134d32=_0x3d4d83,_0x3c8de9=this[_0x134d32(0x1e7)],_0x3472ec=[{'tag':_0x134d32(0x1dc),'attributes':{'class':[_0x134d32(0x1a4),_0x134d32(0x1d0)]},'children':[{'tag':_0x134d32(0x206),'children':[{'text':this[_0x134d32(0x19d)][_0x134d32(0x1bd)]}],'attributes':{'class':[_0x134d32(0x1af),_0x134d32(0x1d2)],'data-cke-tooltip-text':this[_0x134d32(0x19d)][_0x134d32(0x1bd)]}},{'tag':_0x134d32(0x1e8),'attributes':{'datetime':_0x3c8de9['to'](_0x134d32(0x209)),'class':[_0x134d32(0x1f7),_0x134d32(0x1fd)]},'children':[{'text':_0x3c8de9['to'](_0x134d32(0x209),_0x23e531=>this[_0x134d32(0x1dd)][_0x134d32(0x204)](_0x23e531))}]}]},{'tag':_0x134d32(0x1dc),'attributes':{'class':[_0x134d32(0x1e9),_0x134d32(0x1ae),_0x3c8de9['if'](_0x134d32(0x1a9),_0x134d32(0x205)),_0x3c8de9['if'](_0x134d32(0x1a9),_0x134d32(0x1cc))]},'children':this[_0x134d32(0x19e)]},{'tag':_0x134d32(0x1dc),'attributes':{'class':[_0x134d32(0x1b6)]},'children':this[_0x134d32(0x1eb)]},this[_0x134d32(0x1ab)]];return this[_0x134d32(0x1c2)][_0x134d32(0x1ce)]&&_0x3472ec[_0x134d32(0x1b8)]({'tag':_0x134d32(0x1dc),'attributes':{'class':[_0x134d32(0x1bc)]},'children':[{'text':this[_0x134d32(0x20e)]()}]}),{'tag':'li','attributes':{'class':[_0x134d32(0x1ef),_0x3c8de9['if'](_0x134d32(0x210),_0x134d32(0x1a7))],'tabindex':-0x1,'aria-label':_0x3c8de9['to'](_0x134d32(0x1f2)),'aria-describedby':this[_0x134d32(0x1ab)]['id'],'role':_0x134d32(0x1a6)},'children':[{'tag':_0x134d32(0x1dc),'attributes':{'class':[_0x134d32(0x1fe),_0x134d32(0x1be),_0x3c8de9['if'](_0x134d32(0x1a9),_0x134d32(0x197)),_0x3c8de9['if'](_0x134d32(0x1de),_0x134d32(0x1fb)),_0x3c8de9['to'](_0x134d32(0x1c3),_0x398ebb=>_0x398ebb?_0x134d32(0x1b0)+_0x398ebb:'')],'data-author-id':this[_0x134d32(0x1c2)][_0x134d32(0x1a5)]['id'],'data-comment-id':this[_0x134d32(0x1c2)]['id'],'role':_0x134d32(0x198)},'children':[this[_0x134d32(0x19d)],{'tag':_0x134d32(0x1dc),'attributes':{'class':[_0x134d32(0x1f9),_0x134d32(0x1ca)]},'children':_0x3472ec}]}]};}[_0x3d4d83(0x199)](){const _0x5f513f=_0x3d4d83,_0x4ad0da=new _0x471454(this[_0x5f513f(0x1b1)]);return _0x4ad0da[_0x5f513f(0x1db)]=_0x4e07fb(this[_0x5f513f(0x1b1)],_0x5f513f(0x1ba)),_0x4ad0da[_0x5f513f(0x20c)]=_0x35ca11[_0x5f513f(0x20a)],_0x4ad0da[_0x5f513f(0x1bf)]=!0x0,_0x4ad0da[_0x5f513f(0x1d1)]({'attributes':{'class':_0x5f513f(0x197)}}),_0x4ad0da[_0x5f513f(0x202)](_0x5f513f(0x1b4))['to'](this[_0x5f513f(0x1c2)],_0x5f513f(0x1ff),_0x4d7794=>!_0x4d7794),_0x4ad0da[_0x5f513f(0x202)](_0x5f513f(0x1b2))['to'](this[_0x5f513f(0x1c2)],_0x5f513f(0x19c)),_0x4ad0da['on'](_0x5f513f(0x1d4),()=>this[_0x5f513f(0x1c9)]()),_0x4ad0da;}[_0x3d4d83(0x19a)](){const _0x143915=_0x3d4d83,_0x4872eb=new _0x471454(this[_0x143915(0x1b1)]);return _0x4872eb[_0x143915(0x1db)]=_0x4e07fb(this[_0x143915(0x1b1)],_0x143915(0x203)),_0x4872eb[_0x143915(0x20c)]=_0xf261c9,_0x4872eb[_0x143915(0x1bf)]=!0x0,_0x4872eb[_0x143915(0x1d1)]({'attributes':{'class':_0x143915(0x1b9)}}),_0x4872eb[_0x143915(0x202)](_0x143915(0x1b4))['to'](this[_0x143915(0x1c2)],_0x143915(0x1ff),_0x264db2=>!_0x264db2),_0x4872eb[_0x143915(0x202)](_0x143915(0x1b2))['to'](this[_0x143915(0x1c2)],_0x143915(0x201)),_0x4872eb['on'](_0x143915(0x1d4),()=>{const _0x53e68d=_0x143915;this[_0x53e68d(0x1cd)](_0x4e07fb(this[_0x53e68d(0x1b1)],_0x53e68d(0x19b)),this[_0x53e68d(0x1e4)])[_0x53e68d(0x1e2)](()=>{const _0xd696fc=_0x53e68d;this[_0xd696fc(0x1bb)](_0xd696fc(0x1c4),this[_0xd696fc(0x1c2)]['id']);});}),_0x4872eb;}[_0x3d4d83(0x208)](){const _0x47aa8c=_0x3d4d83,_0x1631e7=_0xb352bb(this[_0x47aa8c(0x1b1)],_0x5cf239),_0x456f8c=_0x1631e7[_0x47aa8c(0x1e5)][_0x47aa8c(0x1da)],_0x1b1271=new _0x41c905(this[_0x47aa8c(0x1b1)]),_0xe7935c=_0x1631e7[_0x47aa8c(0x1e7)];_0xde1845(_0x1631e7,()=>this[_0x47aa8c(0x1c6)][_0x47aa8c(0x1df)](_0x354668=>_0x354668[_0x47aa8c(0x1b2)])),_0x1631e7[_0x47aa8c(0x1d1)]({'attributes':{'class':[_0xe7935c['if'](_0x47aa8c(0x1b2),_0x47aa8c(0x1d9),_0x495151=>!_0x495151)]}});const _0x15ad3d=(_0x4e3135,_0x233d80=-0x1)=>{const _0x2ecc0a=_0x47aa8c,_0x437304=new _0xf2e139(this[_0x2ecc0a(0x1b1)]);_0x437304[_0x2ecc0a(0x1da)][_0x2ecc0a(0x1a8)](_0x4e3135);const _0x2cdd03=_0x233d80>-0x1?_0x233d80:_0x1b1271[_0x2ecc0a(0x1c6)][_0x2ecc0a(0x1ac)];_0x1b1271[_0x2ecc0a(0x1c6)][_0x2ecc0a(0x1a8)](_0x437304,_0x2cdd03);const _0x2bc79a=Array[_0x2ecc0a(0x1f1)](this[_0x2ecc0a(0x1c6)]);_0x1631e7[_0x2ecc0a(0x1e3)](_0x2ecc0a(0x1b4),_0x2ecc0a(0x1b2)),_0x1631e7[_0x2ecc0a(0x202)](_0x2ecc0a(0x1b4))[_0x2ecc0a(0x1e6)](_0x2bc79a,_0x2ecc0a(0x1b4),(..._0x50faf9)=>_0x50faf9[_0x2ecc0a(0x20f)](_0x10dd15=>_0x10dd15)),_0x1631e7[_0x2ecc0a(0x202)](_0x2ecc0a(0x1b2))[_0x2ecc0a(0x1e6)](_0x2bc79a,_0x2ecc0a(0x1b2),(..._0x191e2f)=>_0x191e2f[_0x2ecc0a(0x20f)](_0x4ffe84=>_0x4ffe84));};_0x1631e7[_0x47aa8c(0x1d3)]='sw',_0x1631e7[_0x47aa8c(0x1d7)][_0x47aa8c(0x1f8)]({'label':_0x4e07fb(this[_0x47aa8c(0x1b1)],_0x47aa8c(0x1e0)),'icon':_0x35ca11[_0x47aa8c(0x1fc)]});for(const _0x19182b of this[_0x47aa8c(0x1c6)])_0x15ad3d(_0x19182b);return _0x456f8c[_0x47aa8c(0x1a8)](_0x1b1271),_0x1631e7[_0x47aa8c(0x1b5)](this[_0x47aa8c(0x1c6)],_0x47aa8c(0x1a8),(_0xed1da5,_0x5e4ffa,_0x754457)=>{_0x15ad3d(_0x5e4ffa,_0x754457);}),_0x1631e7[_0x47aa8c(0x1b5)](this[_0x47aa8c(0x1c6)],_0x47aa8c(0x1f6),(_0xb8e28e,_0x248298,_0x1d0a84)=>{const _0x190895=_0x47aa8c;_0x1b1271[_0x190895(0x1c6)][_0x190895(0x1f6)](_0x1d0a84);}),_0x1631e7;}[_0x3d4d83(0x1a0)](_0x53996f,_0x52fe61){const _0xd9080d=_0x3d4d83,_0x2b5211=_0x53996f&&_0x53996f[_0xd9080d(0x1e4)];_0x2b5211&&(this[_0xd9080d(0x1b5)](_0x2b5211,_0xd9080d(0x1d8),()=>this[_0xd9080d(0x1c3)]=_0x52fe61),this[_0xd9080d(0x1b5)](_0x2b5211,_0xd9080d(0x1aa),()=>this[_0xd9080d(0x1c3)]=_0x52fe61),this[_0xd9080d(0x1b5)](_0x2b5211,_0xd9080d(0x1c0),()=>this[_0xd9080d(0x1c3)]=null),this[_0xd9080d(0x1b5)](_0x2b5211,_0xd9080d(0x200),()=>this[_0xd9080d(0x1c3)]=null));}[_0x3d4d83(0x1b7)](){const _0x3089f8=_0x3d4d83,_0x3553ff=super[_0x3089f8(0x1b7)]();return _0x3553ff[_0x3089f8(0x202)](_0x3089f8(0x1ec))['to'](this),_0x3553ff;}[_0x3d4d83(0x1c5)](){const _0x5b5121=_0x3d4d83;super[_0x5b5121(0x1c5)](),this[_0x5b5121(0x1a0)](this[_0x5b5121(0x1b3)],_0x5b5121(0x1f5)),this[_0x5b5121(0x1a0)](this[_0x5b5121(0x1a3)],_0x5b5121(0x1f6));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x2b7ed0=_0x4ac3;function _0x4ac3(_0x253532,_0xa33b7d){var _0x3812da=_0x3812();return _0x4ac3=function(_0x4ac3e6,_0x3653ab){_0x4ac3e6=_0x4ac3e6-0x85;var _0x21e702=_0x3812da[_0x4ac3e6];return _0x21e702;},_0x4ac3(_0x253532,_0xa33b7d);}(function(_0x267577,_0x2e2d54){var _0x26f8ba=_0x4ac3,_0x260d4a=_0x267577();while(!![]){try{var _0x1394cb=parseInt(_0x26f8ba(0x89))/0x1+parseInt(_0x26f8ba(0x8c))/0x2+-parseInt(_0x26f8ba(0x91))/0x3*(-parseInt(_0x26f8ba(0x88))/0x4)+parseInt(_0x26f8ba(0x8a))/0x5*(parseInt(_0x26f8ba(0x8b))/0x6)+-parseInt(_0x26f8ba(0x90))/0x7*(parseInt(_0x26f8ba(0x8d))/0x8)+parseInt(_0x26f8ba(0x93))/0x9*(-parseInt(_0x26f8ba(0x87))/0xa)+-parseInt(_0x26f8ba(0x94))/0xb*(parseInt(_0x26f8ba(0x86))/0xc);if(_0x1394cb===_0x2e2d54)break;else _0x260d4a['push'](_0x260d4a['shift']());}catch(_0x38004e){_0x260d4a['push'](_0x260d4a['shift']());}}}(_0x3812,0x6b7d8));import{Plugin as _0x4f17d7}from'ckeditor5/src/core.js';import _0x3f5f7d from'./comments/commentsrepository.js';import _0xdb73ac from'./comments/commentsediting.js';import _0x207cba from'./comments/commentsui.js';import _0x1d3f70 from'./commentsonly.js';import _0x19e90a from'./annotations/widesidebar.js';function _0x3812(){var _0x2550d2=['isOfficialPlugin','1776KlgwBC','20IJdEWt','155860wKQKKL','830825cElvjE','95gecngD','2406BDDLog','1406406icFbFC','24rnZkKX','Comments','isPremiumPlugin','985418IgedQY','51UIPmIQ','pluginName','28539khZCyn','99231sqmBsL','requires'];_0x3812=function(){return _0x2550d2;};return _0x3812();}import _0x3bb170 from'./annotations/narrowsidebar.js';import _0xbec66 from'./annotations/inlineannotations.js';import _0xd2db7e from'./comments/commentsarchiveui.js';import _0x3790c0 from'./comments/commentsarchive.js';export default class p extends _0x4f17d7{static get[_0x2b7ed0(0x95)](){return[_0x3f5f7d,_0xdb73ac,_0x207cba,_0x3790c0,_0xd2db7e,_0x1d3f70,_0x19e90a,_0x3bb170,_0xbec66];}static get[_0x2b7ed0(0x92)](){var _0x1715ae=_0x2b7ed0;return _0x1715ae(0x8e);}static get[_0x2b7ed0(0x85)](){return!0x0;}static get[_0x2b7ed0(0x8f)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb2faf8=_0x4272;(function(_0x24b82a,_0x4405b6){const _0x45ea43=_0x4272,_0x55116b=_0x24b82a();while(!![]){try{const _0x43f025=-parseInt(_0x45ea43(0x87))/0x1*(-parseInt(_0x45ea43(0x6b))/0x2)+parseInt(_0x45ea43(0x7c))/0x3*(parseInt(_0x45ea43(0x68))/0x4)+-parseInt(_0x45ea43(0x96))/0x5*(-parseInt(_0x45ea43(0x91))/0x6)+-parseInt(_0x45ea43(0x78))/0x7*(parseInt(_0x45ea43(0x69))/0x8)+parseInt(_0x45ea43(0x72))/0x9+-parseInt(_0x45ea43(0x84))/0xa*(parseInt(_0x45ea43(0x7b))/0xb)+-parseInt(_0x45ea43(0x83))/0xc;if(_0x43f025===_0x4405b6)break;else _0x55116b['push'](_0x55116b['shift']());}catch(_0x22fa47){_0x55116b['push'](_0x55116b['shift']());}}}(_0x34ed,0x87244));import{Plugin as _0x374df7}from'ckeditor5/src/core.js';function _0x34ed(){const _0x3cbcb4=['commentsOnly','9208341atacUg','isPremiumPlugin','highest','commentsOnlyMode','clipboardInput','affectsData','13153dSRYpI','isEnabled','_disableCommentsOnlyMode','1661McGDUE','6Stmkwk','document','CommentsOnly','forceDisabled','has','change:isEnabled','editSource','14040732HphVck','11230pBgJiK','clearForceDisabled','editor','716531TMibgR','stopListening','pluginName','requires','config','view','stop','delete','isOfficialPlugin','get','18684decAgT','listenTo','DragDrop','commands','SourceEditing','1135lnslFo','editing','328788wobFzK','3056eeKtUK','set','2spKtxU','_enableCommentsOnlyMode','cut','afterInit','addCommentThread','plugins'];_0x34ed=function(){return _0x3cbcb4;};return _0x34ed();}import _0xf5c329 from'./comments/commentsediting.js';function _0x4272(_0xe0cad6,_0x283d0b){const _0x34ed20=_0x34ed();return _0x4272=function(_0x4272d0,_0x2e4b68){_0x4272d0=_0x4272d0-0x67;let _0x3fde1a=_0x34ed20[_0x4272d0];return _0x3fde1a;},_0x4272(_0xe0cad6,_0x283d0b);}export default class s extends _0x374df7{static get[_0xb2faf8(0x89)](){const _0x57bb39=_0xb2faf8;return _0x57bb39(0x7e);}static get[_0xb2faf8(0x8f)](){return!0x0;}static get[_0xb2faf8(0x73)](){return!0x0;}static get[_0xb2faf8(0x8a)](){return[_0xf5c329];}constructor(_0x1ab897){const _0x44e870=_0xb2faf8;super(_0x1ab897),this[_0x44e870(0x6a)](_0x44e870(0x79),!0x1),this['on'](_0x44e870(0x81),(_0xa4908,_0x2d1dcd,_0x4e5e60)=>{const _0x4b9880=_0x44e870;_0x4e5e60?this[_0x4b9880(0x6c)]():this[_0x4b9880(0x7a)]();});}[_0xb2faf8(0x6e)](){const _0x17e8ee=_0xb2faf8;!this[_0x17e8ee(0x79)]&&this[_0x17e8ee(0x86)][_0x17e8ee(0x8b)][_0x17e8ee(0x90)](_0x17e8ee(0x71))&&(this[_0x17e8ee(0x79)]=!0x0);}[_0xb2faf8(0x6c)](){const _0x5039e0=_0xb2faf8;var _0x3fc03a;for(const [_0x24e09b,_0x531e23]of this[_0x5039e0(0x86)][_0x5039e0(0x94)])_0x531e23[_0x5039e0(0x77)]&&_0x5039e0(0x6f)!==_0x24e09b&&_0x531e23[_0x5039e0(0x7f)](_0x5039e0(0x75));(this[_0x5039e0(0x86)][_0x5039e0(0x70)][_0x5039e0(0x80)](_0x5039e0(0x93))&&this[_0x5039e0(0x86)][_0x5039e0(0x70)][_0x5039e0(0x90)](_0x5039e0(0x93))[_0x5039e0(0x7f)](_0x5039e0(0x75)),this[_0x5039e0(0x86)][_0x5039e0(0x70)][_0x5039e0(0x80)](_0x5039e0(0x95)))&&this[_0x5039e0(0x86)][_0x5039e0(0x70)][_0x5039e0(0x90)](_0x5039e0(0x95))[_0x5039e0(0x7f)](_0x5039e0(0x75));null===(_0x3fc03a=this[_0x5039e0(0x86)][_0x5039e0(0x94)][_0x5039e0(0x90)](_0x5039e0(0x82)))||void 0x0===_0x3fc03a||_0x3fc03a[_0x5039e0(0x7f)](_0x5039e0(0x75));const _0x5caa8c=this[_0x5039e0(0x86)][_0x5039e0(0x67)][_0x5039e0(0x8c)][_0x5039e0(0x7d)];this[_0x5039e0(0x92)](_0x5caa8c,_0x5039e0(0x6d),_0x483974=>_0x483974[_0x5039e0(0x8d)](),{'priority':_0x5039e0(0x74)}),this[_0x5039e0(0x92)](_0x5caa8c,_0x5039e0(0x76),_0x3cfbef=>_0x3cfbef[_0x5039e0(0x8d)](),{'priority':_0x5039e0(0x74)}),this[_0x5039e0(0x92)](_0x5caa8c,_0x5039e0(0x8e),_0x423518=>_0x423518[_0x5039e0(0x8d)](),{'priority':_0x5039e0(0x74)});}[_0xb2faf8(0x7a)](){const _0x3d2124=_0xb2faf8;var _0x24c8d9;for(const [_0x399f8e,_0x5925a3]of this[_0x3d2124(0x86)][_0x3d2124(0x94)])_0x5925a3[_0x3d2124(0x77)]&&_0x3d2124(0x6f)!==_0x399f8e&&_0x5925a3[_0x3d2124(0x85)](_0x3d2124(0x75));this[_0x3d2124(0x86)][_0x3d2124(0x70)][_0x3d2124(0x80)](_0x3d2124(0x95))&&this[_0x3d2124(0x86)][_0x3d2124(0x70)][_0x3d2124(0x90)](_0x3d2124(0x95))[_0x3d2124(0x85)](_0x3d2124(0x75)),null===(_0x24c8d9=this[_0x3d2124(0x86)][_0x3d2124(0x94)][_0x3d2124(0x90)](_0x3d2124(0x82)))||void 0x0===_0x24c8d9||_0x24c8d9[_0x3d2124(0x85)](_0x3d2124(0x75)),this[_0x3d2124(0x88)](this[_0x3d2124(0x86)][_0x3d2124(0x67)][_0x3d2124(0x8c)][_0x3d2124(0x7d)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xf85173,_0xcee97a){var _0x38e51f=_0x1c7b,_0x266fad=_0xf85173();while(!![]){try{var _0x6e2f9b=-parseInt(_0x38e51f(0x1b5))/0x1*(-parseInt(_0x38e51f(0x1ba))/0x2)+parseInt(_0x38e51f(0x1b9))/0x3*(-parseInt(_0x38e51f(0x1b7))/0x4)+parseInt(_0x38e51f(0x1b6))/0x5+-parseInt(_0x38e51f(0x1bd))/0x6*(-parseInt(_0x38e51f(0x1bc))/0x7)+parseInt(_0x38e51f(0x1b4))/0x8*(parseInt(_0x38e51f(0x1b3))/0x9)+parseInt(_0x38e51f(0x1b8))/0xa+-parseInt(_0x38e51f(0x1bb))/0xb;if(_0x6e2f9b===_0xcee97a)break;else _0x266fad['push'](_0x266fad['shift']());}catch(_0x14d189){_0x266fad['push'](_0x266fad['shift']());}}}(_0x2703,0xd1721));function _0x2703(){var _0x18ff74=['5154oPKmuO','45166781GwywKe','10873912XxpYwe','6CWpGqS','12019662QiyUfH','8jPxNii','219MVSzRN','7382425WkNppV','4HXpzFM','11038170TWdlSu','3208917iDYiDB'];_0x2703=function(){return _0x18ff74;};return _0x2703();}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';function _0x1c7b(_0x18de8c,_0x2daee1){var _0x2703ac=_0x2703();return _0x1c7b=function(_0x1c7be4,_0x2d2e16){_0x1c7be4=_0x1c7be4-0x1b3;var _0x3a9204=_0x2703ac[_0x1c7be4];return _0x3a9204;},_0x1c7b(_0x18de8c,_0x2daee1);}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';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';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5ae918,_0x5501ea,_0x2c0a1b){const t=_0x5ae918['t'];switch(_0x5501ea){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'},_0x2c0a1b);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'},_0x2c0a1b);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'},_0x2c0a1b);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'},_0x2c0a1b);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2c0a1b);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'},_0x2c0a1b);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'},_0x2c0a1b);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'},_0x2c0a1b);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 _0x403f(){const _0x59a5f2=['162EnuhBI','type','184408RNRJGr','3709626QEwgpR','37652fnWaMW','characterData','47064WEjujG','attributes','attributeName','14402952aNJpaG','723610cspPKB','cancel','422639pNWsHr','14RMOEsE','class','childList','disconnect','observe'];_0x403f=function(){return _0x59a5f2;};return _0x403f();}(function(_0x2a2d89,_0x5e1c77){const _0x224e8f=_0x1522,_0xe73ee0=_0x2a2d89();while(!![]){try{const _0x17edf5=-parseInt(_0x224e8f(0x1dd))/0x1*(parseInt(_0x224e8f(0x1e4))/0x2)+-parseInt(_0x224e8f(0x1e9))/0x3*(parseInt(_0x224e8f(0x1db))/0x4)+parseInt(_0x224e8f(0x1e1))/0x5+-parseInt(_0x224e8f(0x1ec))/0x6+parseInt(_0x224e8f(0x1e3))/0x7+parseInt(_0x224e8f(0x1eb))/0x8+parseInt(_0x224e8f(0x1e0))/0x9;if(_0x17edf5===_0x5e1c77)break;else _0xe73ee0['push'](_0xe73ee0['shift']());}catch(_0x5a6707){_0xe73ee0['push'](_0xe73ee0['shift']());}}}(_0x403f,0x5aee9));function _0x1522(_0x30bd1c,_0x5d3465){const _0x403fa6=_0x403f();return _0x1522=function(_0x152258,_0x21b4e8){_0x152258=_0x152258-0x1db;let _0x5a6fe9=_0x403fa6[_0x152258];return _0x5a6fe9;},_0x1522(_0x30bd1c,_0x5d3465);}import{throttle as _0x3d134c}from'lodash-es';export default function Lt(_0x258ceb){const _0x324f3a=_0x3d134c(_0x258ceb,0x1e),_0x44d3b6=new MutationObserver(_0x57c8c3=>{const _0x101aa1=_0x1522;for(const _0x17bd3f of _0x57c8c3)(_0x101aa1(0x1de)==_0x17bd3f[_0x101aa1(0x1ea)]&&_0x101aa1(0x1e5)==_0x17bd3f[_0x101aa1(0x1df)]||_0x101aa1(0x1e6)==_0x17bd3f[_0x101aa1(0x1ea)]||_0x101aa1(0x1dc)==_0x17bd3f[_0x101aa1(0x1ea)])&&_0x324f3a();});return{'attach'(_0x4ec902){const _0x372305=_0x1522;_0x44d3b6[_0x372305(0x1e8)](_0x4ec902,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x516af7=_0x1522;_0x44d3b6[_0x516af7(0x1e7)](),_0x324f3a[_0x516af7(0x1e2)]();}};}
|