@ckeditor/ckeditor5-comments 45.2.0-alpha.0 → 45.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +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 _0x550e4c=_0x1488;function _0x1488(_0x439108,_0x4bd0da){const _0x5f3eb4=_0x5f3e();return _0x1488=function(_0x1488fd,_0xbf89fb){_0x1488fd=_0x1488fd-0x86;let _0x569569=_0x5f3eb4[_0x1488fd];return _0x569569;},_0x1488(_0x439108,_0x4bd0da);}(function(_0x1600b5,_0xeb64cf){const _0x254925=_0x1488,_0x5722d9=_0x1600b5();while(!![]){try{const _0xd67e57=parseInt(_0x254925(0x8b))/0x1+parseInt(_0x254925(0xb4))/0x2*(-parseInt(_0x254925(0xd1))/0x3)+parseInt(_0x254925(0x94))/0x4+parseInt(_0x254925(0x98))/0x5+parseInt(_0x254925(0xb8))/0x6+parseInt(_0x254925(0xaf))/0x7+-parseInt(_0x254925(0x96))/0x8*(parseInt(_0x254925(0xe1))/0x9);if(_0xd67e57===_0xeb64cf)break;else _0x5722d9['push'](_0x5722d9['shift']());}catch(_0x543fbc){_0x5722d9['push'](_0x5722d9['shift']());}}}(_0x5f3e,0x54f7a));import{View as _0x42d001,FocusCycler as _0x139ab4}from'ckeditor5/src/ui.js';import{diff as _0x3c7fed,Collection as _0x2ed367,FocusTracker as _0x43efc4,KeystrokeHandler as _0x480885}from'ckeditor5/src/utils.js';import{getTranslation as _0x30d76e}from'../../../utils/common-translations.js';import _0xa06ecb from'./collapsedcommentsview.js';export default class te extends _0x42d001{[_0x550e4c(0xa2)];[_0x550e4c(0x99)];[_0x550e4c(0xc4)];[_0x550e4c(0xd6)];[_0x550e4c(0xca)];[_0x550e4c(0xcc)];[_0x550e4c(0x8e)];[_0x550e4c(0x87)];constructor(_0x30cdcf,_0xcc9d,_0x2861d9){const _0x51c7ac=_0x550e4c;super(_0x30cdcf);const _0x426528=this[_0x51c7ac(0xc7)];this[_0x51c7ac(0xa5)](_0x51c7ac(0xa1),!0x1),this[_0x51c7ac(0xa5)](_0x51c7ac(0xc3),_0xcc9d[_0x51c7ac(0x8d)][_0x51c7ac(0xc3)]),this[_0x51c7ac(0xa5)](_0x51c7ac(0xaa),!0x1),this[_0x51c7ac(0xcc)]=_0xcc9d,this[_0x51c7ac(0x8e)]=_0x2861d9,this[_0x51c7ac(0xa2)]=this[_0x51c7ac(0xe3)](),this[_0x51c7ac(0x90)]=this[_0x51c7ac(0xe3)](),this[_0x51c7ac(0x99)]=null,this[_0x51c7ac(0xc4)]=new _0x43efc4(),this[_0x51c7ac(0xd6)]=new _0x480885(),this[_0x51c7ac(0xca)]=new _0x139ab4({'focusables':this[_0x51c7ac(0xa2)],'focusTracker':this[_0x51c7ac(0xc4)],'keystrokeHandler':this[_0x51c7ac(0xd6)],'keystrokeHandlerOptions':{'filter':_0x42c1c0=>this[_0x51c7ac(0xa2)][_0x51c7ac(0xcb)](_0x127afd=>_0x127afd[_0x51c7ac(0xc1)])[_0x51c7ac(0xc9)](_0x42c1c0[_0x51c7ac(0xb6)])},'actions':{'focusPrevious':_0x51c7ac(0x92),'focusNext':_0x51c7ac(0xc5)}}),this[_0x51c7ac(0x87)]=new _0xa06ecb(_0x30cdcf),this[_0x51c7ac(0x87)][_0x51c7ac(0xa8)](_0x51c7ac(0x9d))['to'](this,_0x51c7ac(0xc3),_0x1cba31=>_0x1cba31-this[_0x51c7ac(0x8e)][_0x51c7ac(0x89)]);for(const _0x170f90 of _0xcc9d[_0x51c7ac(0x8d)])this[_0x51c7ac(0xd9)](_0x170f90);this[_0x51c7ac(0xb0)](),this[_0x51c7ac(0xa4)](_0xcc9d[_0x51c7ac(0x8d)],_0x51c7ac(0xa6),(_0xa6774e,_0x375053)=>{const _0x1cf1c9=_0x51c7ac,_0x27957e=this[_0x1cf1c9(0x91)](_0x375053);this[_0x1cf1c9(0xc3)]++,this[_0x1cf1c9(0xd9)](_0x375053,_0x27957e),this[_0x1cf1c9(0x88)]();}),this[_0x51c7ac(0xa4)](_0xcc9d[_0x51c7ac(0x8d)],_0x51c7ac(0x95),(_0x26e7ed,_0x161a61)=>{const _0x4d4d59=_0x51c7ac;this[_0x4d4d59(0xc3)]--,this[_0x4d4d59(0xd8)](_0x161a61),this[_0x4d4d59(0x88)]();}),this[_0x51c7ac(0xa4)](_0xcc9d,_0x51c7ac(0xb9),()=>this[_0x51c7ac(0x88)]()),this[_0x51c7ac(0xa4)](_0xcc9d,_0x51c7ac(0xdb),()=>this[_0x51c7ac(0xb0)]()),this['on'](_0x51c7ac(0xde),()=>this[_0x51c7ac(0x88)]()),this['on'](_0x51c7ac(0xce),()=>this[_0x51c7ac(0x88)]()),this[_0x51c7ac(0xe5)]({'tag':'ul','attributes':{'class':[_0x51c7ac(0xdd),_0x426528['if'](_0x51c7ac(0xc3),_0x51c7ac(0x97),_0xc82d3b=>!_0xc82d3b)],'aria-label':_0x30d76e(_0x30cdcf,_0x51c7ac(0xa0))},'children':this[_0x51c7ac(0x90)]});}get[_0x550e4c(0xcd)](){const _0x394f6a=_0x550e4c;return this[_0x394f6a(0xcc)][_0x394f6a(0xa3)]>this[_0x394f6a(0x8e)][_0x394f6a(0xad)]&&!this[_0x394f6a(0xaa)]&&!this[_0x394f6a(0xa1)];}[_0x550e4c(0xa9)](){const _0x55e477=_0x550e4c;super[_0x55e477(0xa9)](),this[_0x55e477(0x88)](),this[_0x55e477(0x8a)]();}[_0x550e4c(0xd0)](_0x386a2d){const _0x2be4be=_0x550e4c;-0x1===_0x386a2d?this[_0x2be4be(0xca)][_0x2be4be(0xda)]():this[_0x2be4be(0xca)][_0x2be4be(0xae)]();}[_0x550e4c(0xd7)](){const _0x372cf2=_0x550e4c;this[_0x372cf2(0x87)][_0x372cf2(0xd7)]();for(const _0x2f6419 of this[_0x372cf2(0xa2)])_0x2f6419[_0x372cf2(0xd7)]();super[_0x372cf2(0xd7)]();}[_0x550e4c(0x88)](){const _0x382dc7=_0x550e4c;this[_0x382dc7(0xcd)]?this[_0x382dc7(0xb3)]():this[_0x382dc7(0x9f)]();}[_0x550e4c(0xd9)](_0x2a0e4b,_0x18bd24){const _0x5df7ae=_0x550e4c,_0x3bcecf=new this[(_0x5df7ae(0x8e))][(_0x5df7ae(0x9b))](this[_0x5df7ae(0xcf)],_0x2a0e4b,{'maxCommentCharsWhenCollapsed':this[_0x5df7ae(0x8e)][_0x5df7ae(0x8c)],'formatDateTime':this[_0x5df7ae(0x8e)][_0x5df7ae(0x93)],'editorConfig':this[_0x5df7ae(0x8e)][_0x5df7ae(0xb7)]});_0x3bcecf[_0x5df7ae(0x86)]=_0x2a0e4b['id'],_0x3bcecf[_0x5df7ae(0xb1)](_0x5df7ae(0x8f))['to'](this),_0x3bcecf[_0x5df7ae(0xb1)](_0x5df7ae(0xb2))['to'](this),_0x3bcecf[_0x5df7ae(0xb1)](_0x5df7ae(0xbc))['to'](this),_0x3bcecf[_0x5df7ae(0xb1)](_0x5df7ae(0xbf))['to'](this),_0x3bcecf[_0x5df7ae(0xb1)](_0x5df7ae(0xdf))['to'](this),this[_0x5df7ae(0xa4)](_0x3bcecf,_0x5df7ae(0xc0),()=>this[_0x5df7ae(0xb5)]()),this[_0x5df7ae(0xa2)][_0x5df7ae(0xa6)](_0x3bcecf,_0x18bd24);}[_0x550e4c(0x91)](_0x169652){const _0x45d03d=_0x550e4c,_0x511db4=this[_0x45d03d(0xcc)][_0x45d03d(0xba)](_0x169652);return this[_0x45d03d(0x99)]?this[_0x45d03d(0x99)][_0x45d03d(0xac)]>_0x169652[_0x45d03d(0xac)]?_0x511db4-0x1:_0x511db4:_0x511db4-0x1;}[_0x550e4c(0xb0)](){const _0x1b2024=_0x550e4c;if(this[_0x1b2024(0xcc)][_0x1b2024(0xd3)]&&this[_0x1b2024(0xcc)][_0x1b2024(0xbd)]){const _0x47162e={'id':_0x1b2024(0xd4),'author':this[_0x1b2024(0xcc)][_0x1b2024(0xd3)],'authoredAt':this[_0x1b2024(0xcc)][_0x1b2024(0xbd)],'content':_0x30d76e(this[_0x1b2024(0xcf)],_0x1b2024(0xc8)),'attributes':{}};this[_0x1b2024(0x99)]=new this[(_0x1b2024(0x8e))][(_0x1b2024(0x9b))](this[_0x1b2024(0xcf)],_0x47162e,{'maxCommentCharsWhenCollapsed':this[_0x1b2024(0x8e)][_0x1b2024(0x8c)],'formatDateTime':this[_0x1b2024(0x8e)][_0x1b2024(0x93)],'editorConfig':this[_0x1b2024(0x8e)][_0x1b2024(0xb7)],'isSystemComment':!0x0}),this[_0x1b2024(0xa2)][_0x1b2024(0xa6)](this[_0x1b2024(0x99)],this[_0x1b2024(0xcc)][_0x1b2024(0xba)](_0x47162e));}else this[_0x1b2024(0x99)]&&(this[_0x1b2024(0xa2)][_0x1b2024(0x95)](this[_0x1b2024(0x99)]),this[_0x1b2024(0x99)][_0x1b2024(0xd7)](),this[_0x1b2024(0x99)]=null);this[_0x1b2024(0x88)]();}[_0x550e4c(0xd8)](_0x22fe50){const _0x5b6760=_0x550e4c,_0x3349bf=this[_0x5b6760(0xa2)][_0x5b6760(0x95)](_0x22fe50['id']);this[_0x5b6760(0xa7)](_0x3349bf),_0x3349bf[_0x5b6760(0xab)]&&this[_0x5b6760(0xb5)](),_0x3349bf[_0x5b6760(0xd7)]();}[_0x550e4c(0xb5)](){const _0x4a35e8=_0x550e4c;this[_0x4a35e8(0xa1)]=Array[_0x4a35e8(0xe4)](this[_0x4a35e8(0xa2)])[_0x4a35e8(0xe2)](_0x2d60c3=>_0x2d60c3[_0x4a35e8(0xab)]);}[_0x550e4c(0xb3)](){const _0x30e327=_0x550e4c,_0x3e354c=function(_0x3588ce){const _0x486f98=_0x1488,_0x7cd667=new _0x2ed367();for(const _0x30152f of _0x3588ce)_0x7cd667[_0x486f98(0xa6)](_0x30152f);return _0x7cd667;}(this[_0x30e327(0xa2)]),_0x185252=this[_0x30e327(0x87)][_0x30e327(0x9d)];for(let _0x47ca0a=0x1;_0x47ca0a<=_0x185252;_0x47ca0a++)_0x3e354c[_0x30e327(0x95)](0x1);for(const _0xff4bb3 of _0x3e354c)_0xff4bb3[_0x30e327(0x9a)]();_0x185252>0x0&&_0x3e354c[_0x30e327(0xa6)](this[_0x30e327(0x87)],0x1),ns(_0x3c7fed(Array[_0x30e327(0xe4)](this[_0x30e327(0x90)]),Array[_0x30e327(0xe4)](_0x3e354c)),this[_0x30e327(0x90)],_0x3e354c);}[_0x550e4c(0x9f)](){const _0x398c83=_0x550e4c;ns(_0x3c7fed(Array[_0x398c83(0xe4)](this[_0x398c83(0x90)]),Array[_0x398c83(0xe4)](this[_0x398c83(0xa2)])),this[_0x398c83(0x90)],this[_0x398c83(0xa2)]);for(const _0x118d85 of this[_0x398c83(0x90)])_0x118d85[_0x398c83(0xbe)]();}[_0x550e4c(0x8a)](){const _0x48660f=_0x550e4c;this[_0x48660f(0xa2)][_0x48660f(0x9e)](_0x537a61=>{const _0xb9f4ca=_0x48660f;this[_0xb9f4ca(0xc4)][_0xb9f4ca(0xa6)](_0x537a61[_0xb9f4ca(0xc1)]),this[_0xb9f4ca(0xd6)][_0xb9f4ca(0xa4)](_0x537a61[_0xb9f4ca(0xc1)]);}),this[_0x48660f(0xa2)]['on'](_0x48660f(0xe0),(_0x3ad5e5,_0x528262)=>{const _0x5696c3=_0x48660f;for(const _0x1a9280 of _0x528262[_0x5696c3(0xd5)])this[_0x5696c3(0xc4)][_0x5696c3(0x95)](_0x1a9280[_0x5696c3(0xc1)]),this[_0x5696c3(0xd6)][_0x5696c3(0xa7)](_0x1a9280[_0x5696c3(0xc1)]);for(const _0x302a0e of Array[_0x5696c3(0xe4)](_0x528262[_0x5696c3(0x9c)])[_0x5696c3(0xdc)]())this[_0x5696c3(0xc4)][_0x5696c3(0xa6)](_0x302a0e[_0x5696c3(0xc1)]),this[_0x5696c3(0xd6)][_0x5696c3(0xa4)](_0x302a0e[_0x5696c3(0xc1)]);});}}function ns(_0x516d5f,_0x136376,_0x3a9e57){const _0x230c30=_0x550e4c;let _0x56eaf1=0x0;for(const _0xff14b2 of _0x516d5f)switch(_0xff14b2){case _0x230c30(0xd2):_0x136376[_0x230c30(0xa6)](_0x3a9e57[_0x230c30(0xbb)](_0x56eaf1),_0x56eaf1),_0x56eaf1++;break;case _0x230c30(0xc6):_0x136376[_0x230c30(0x95)](_0x56eaf1);break;case _0x230c30(0xc2):_0x56eaf1++;}}function _0x5f3e(){const _0x309bee=['reverse','ck-thread__comments','change:isActive','editorDestroyed','change','9CONGFc','some','createCollection','from','setTemplate','viewUid','_collapsedCommentsView','refreshVisibleViews','maxCommentsWhenCollapsed','_setupKeyboardNavigation','91710YilBli','maxCommentCharsWhenCollapsed','comments','_config','removeComment','visibleViews','_calculatePosition','arrowup','formatDateTime','682104LqXISX','remove','1318072sYgMJO','ck-hidden','2867475tHwilN','resolvedCommentView','collapse','CommentView','added','count','forEach','_rearrangeExpand','Thread\x20comments','hasDirtyComment','commentViews','weight','listenTo','set','add','stopListening','bind','render','isActive','isEditMode','authoredAt','maxThreadTotalWeight','focusFirst','898359SZYnlm','_handleInfoComment','delegate','updateComment','_rearrangeCollapse','2CCgJQN','_updateHasDirtyComment','target','editorConfig','726762Fyvlfu','commentUpdated','_findOptimalIndex','get','resolveCommentThread','resolvedAt','expand','editorReady','change:isEditMode','element','equal','length','focusTracker','arrowdown','delete','bindTemplate','Marked\x20as\x20resolved','includes','focusCycler','map','_model','_shouldCollapse','change:hasDirtyComment','locale','focus','1717230vaZrrs','insert','resolvedBy','resolved','removed','keystrokes','destroy','_handleRemoveCommentModel','_handleNewCommentModel','focusLast','change:isResolved'];_0x5f3e=function(){return _0x309bee;};return _0x5f3e();}
|
|
23
|
+
const _0x6a722b=_0x57b6;(function(_0x1738be,_0x394fc4){const _0x506f25=_0x57b6,_0x325af4=_0x1738be();while(!![]){try{const _0x378575=-parseInt(_0x506f25(0x216))/0x1*(parseInt(_0x506f25(0x1fd))/0x2)+parseInt(_0x506f25(0x1ef))/0x3+-parseInt(_0x506f25(0x1e4))/0x4+parseInt(_0x506f25(0x1f5))/0x5+-parseInt(_0x506f25(0x1d3))/0x6+parseInt(_0x506f25(0x1d5))/0x7*(parseInt(_0x506f25(0x1e3))/0x8)+-parseInt(_0x506f25(0x203))/0x9*(-parseInt(_0x506f25(0x1e6))/0xa);if(_0x378575===_0x394fc4)break;else _0x325af4['push'](_0x325af4['shift']());}catch(_0x49e8f5){_0x325af4['push'](_0x325af4['shift']());}}}(_0x32b1,0x2b3d5));import{View as _0x301eb5,FocusCycler as _0x4654c9}from'ckeditor5/src/ui.js';import{diff as _0x50a7db,Collection as _0x5ea28a,FocusTracker as _0x26fb2b,KeystrokeHandler as _0x298611}from'ckeditor5/src/utils.js';function _0x32b1(){const _0x52f2cf=['445zRIHAb','change:isEditMode','maxThreadTotalWeight','change:isActive','focusFirst','createCollection','length','weight','_calculatePosition','resolvedAt','element','resolved','refreshVisibleViews','maxCommentsWhenCollapsed','_handleNewCommentModel','_updateHasDirtyComment','hasDirtyComment','reverse','comments','ck-hidden','set','commentUpdated','map','forEach','resolvedBy','change','equal','stopListening','removeComment','formatDateTime','1866798NNWvxm','_model','292397yiGeCQ','some','delete','bindTemplate','count','editorReady','render','focusLast','Thread\x20comments','arrowup','Marked\x20as\x20resolved','insert','commentViews','focusCycler','40WCPPnP','1147804DgsYcg','editorConfig','10iSKNgF','add','focus','editorDestroyed','visibleViews','bind','target','collapse','_rearrangeCollapse','124719hndDbM','expand','change:isResolved','from','isEditMode','_handleRemoveCommentModel','1008835zaFWbv','setTemplate','locale','_collapsedCommentsView','_config','added','_setupKeyboardNavigation','_rearrangeExpand','866tUcWxb','_handleInfoComment','_shouldCollapse','remove','updateComment','resolvedCommentView','4641147MEmzoO','authoredAt','_findOptimalIndex','delegate','destroy','change:hasDirtyComment','includes','resolveCommentThread','isActive','maxCommentCharsWhenCollapsed','listenTo','focusTracker','viewUid','removed','arrowdown','ck-thread__comments','CommentView','get','keystrokes'];_0x32b1=function(){return _0x52f2cf;};return _0x32b1();}import{getTranslation as _0x1d5223}from'../../../utils/common-translations.js';import _0x228e01 from'./collapsedcommentsview.js';function _0x57b6(_0x4024e1,_0x5ebfc6){const _0x32b143=_0x32b1();return _0x57b6=function(_0x57b63a,_0xdafd3c){_0x57b63a=_0x57b63a-0x1c2;let _0x2aeb1c=_0x32b143[_0x57b63a];return _0x2aeb1c;},_0x57b6(_0x4024e1,_0x5ebfc6);}export default class te extends _0x301eb5{[_0x6a722b(0x1e1)];[_0x6a722b(0x202)];[_0x6a722b(0x20e)];[_0x6a722b(0x215)];[_0x6a722b(0x1e2)];[_0x6a722b(0x1d4)];[_0x6a722b(0x1f9)];[_0x6a722b(0x1f8)];constructor(_0x1e60a0,_0x4e9151,_0x6242e8){const _0x3dca23=_0x6a722b;super(_0x1e60a0);const _0x119914=this[_0x3dca23(0x1d8)];this[_0x3dca23(0x1c9)](_0x3dca23(0x1c5),!0x1),this[_0x3dca23(0x1c9)](_0x3dca23(0x21c),_0x4e9151[_0x3dca23(0x1c7)][_0x3dca23(0x21c)]),this[_0x3dca23(0x1c9)](_0x3dca23(0x20b),!0x1),this[_0x3dca23(0x1d4)]=_0x4e9151,this[_0x3dca23(0x1f9)]=_0x6242e8,this[_0x3dca23(0x1e1)]=this[_0x3dca23(0x21b)](),this[_0x3dca23(0x1ea)]=this[_0x3dca23(0x21b)](),this[_0x3dca23(0x202)]=null,this[_0x3dca23(0x20e)]=new _0x26fb2b(),this[_0x3dca23(0x215)]=new _0x298611(),this[_0x3dca23(0x1e2)]=new _0x4654c9({'focusables':this[_0x3dca23(0x1e1)],'focusTracker':this[_0x3dca23(0x20e)],'keystrokeHandler':this[_0x3dca23(0x215)],'keystrokeHandlerOptions':{'filter':_0x1664bb=>this[_0x3dca23(0x1e1)][_0x3dca23(0x1cb)](_0x254765=>_0x254765[_0x3dca23(0x220)])[_0x3dca23(0x209)](_0x1664bb[_0x3dca23(0x1ec)])},'actions':{'focusPrevious':_0x3dca23(0x1de),'focusNext':_0x3dca23(0x211)}}),this[_0x3dca23(0x1f8)]=new _0x228e01(_0x1e60a0),this[_0x3dca23(0x1f8)][_0x3dca23(0x1eb)](_0x3dca23(0x1d9))['to'](this,_0x3dca23(0x21c),_0x43fd64=>_0x43fd64-this[_0x3dca23(0x1f9)][_0x3dca23(0x1c2)]);for(const _0x1d31ca of _0x4e9151[_0x3dca23(0x1c7)])this[_0x3dca23(0x1c3)](_0x1d31ca);this[_0x3dca23(0x1fe)](),this[_0x3dca23(0x20d)](_0x4e9151[_0x3dca23(0x1c7)],_0x3dca23(0x1e7),(_0x5040cc,_0x4b965c)=>{const _0xe1db2b=_0x3dca23,_0x5bcbfb=this[_0xe1db2b(0x21e)](_0x4b965c);this[_0xe1db2b(0x21c)]++,this[_0xe1db2b(0x1c3)](_0x4b965c,_0x5bcbfb),this[_0xe1db2b(0x222)]();}),this[_0x3dca23(0x20d)](_0x4e9151[_0x3dca23(0x1c7)],_0x3dca23(0x200),(_0x27ddcd,_0x2cdc08)=>{const _0x4f3223=_0x3dca23;this[_0x4f3223(0x21c)]--,this[_0x4f3223(0x1f4)](_0x2cdc08),this[_0x4f3223(0x222)]();}),this[_0x3dca23(0x20d)](_0x4e9151,_0x3dca23(0x1ca),()=>this[_0x3dca23(0x222)]()),this[_0x3dca23(0x20d)](_0x4e9151,_0x3dca23(0x1f1),()=>this[_0x3dca23(0x1fe)]()),this['on'](_0x3dca23(0x219),()=>this[_0x3dca23(0x222)]()),this['on'](_0x3dca23(0x208),()=>this[_0x3dca23(0x222)]()),this[_0x3dca23(0x1f6)]({'tag':'ul','attributes':{'class':[_0x3dca23(0x212),_0x119914['if'](_0x3dca23(0x21c),_0x3dca23(0x1c8),_0x1afd2a=>!_0x1afd2a)],'aria-label':_0x1d5223(_0x1e60a0,_0x3dca23(0x1dd))},'children':this[_0x3dca23(0x1ea)]});}get[_0x6a722b(0x1ff)](){const _0x3cff2c=_0x6a722b;return this[_0x3cff2c(0x1d4)][_0x3cff2c(0x21d)]>this[_0x3cff2c(0x1f9)][_0x3cff2c(0x218)]&&!this[_0x3cff2c(0x20b)]&&!this[_0x3cff2c(0x1c5)];}[_0x6a722b(0x1db)](){const _0xb012ca=_0x6a722b;super[_0xb012ca(0x1db)](),this[_0xb012ca(0x222)](),this[_0xb012ca(0x1fb)]();}[_0x6a722b(0x1e8)](_0x16b8af){const _0x1507c6=_0x6a722b;-0x1===_0x16b8af?this[_0x1507c6(0x1e2)][_0x1507c6(0x1dc)]():this[_0x1507c6(0x1e2)][_0x1507c6(0x21a)]();}[_0x6a722b(0x207)](){const _0x1324ee=_0x6a722b;this[_0x1324ee(0x1f8)][_0x1324ee(0x207)]();for(const _0x46b29c of this[_0x1324ee(0x1e1)])_0x46b29c[_0x1324ee(0x207)]();super[_0x1324ee(0x207)]();}[_0x6a722b(0x222)](){const _0x5908d7=_0x6a722b;this[_0x5908d7(0x1ff)]?this[_0x5908d7(0x1ee)]():this[_0x5908d7(0x1fc)]();}[_0x6a722b(0x1c3)](_0x533aa0,_0x596520){const _0x4fb381=_0x6a722b,_0x598aeb=new this[(_0x4fb381(0x1f9))][(_0x4fb381(0x213))](this[_0x4fb381(0x1f7)],_0x533aa0,{'maxCommentCharsWhenCollapsed':this[_0x4fb381(0x1f9)][_0x4fb381(0x20c)],'formatDateTime':this[_0x4fb381(0x1f9)][_0x4fb381(0x1d2)],'editorConfig':this[_0x4fb381(0x1f9)][_0x4fb381(0x1e5)]});_0x598aeb[_0x4fb381(0x20f)]=_0x533aa0['id'],_0x598aeb[_0x4fb381(0x206)](_0x4fb381(0x1d1))['to'](this),_0x598aeb[_0x4fb381(0x206)](_0x4fb381(0x201))['to'](this),_0x598aeb[_0x4fb381(0x206)](_0x4fb381(0x20a))['to'](this),_0x598aeb[_0x4fb381(0x206)](_0x4fb381(0x1da))['to'](this),_0x598aeb[_0x4fb381(0x206)](_0x4fb381(0x1e9))['to'](this),this[_0x4fb381(0x20d)](_0x598aeb,_0x4fb381(0x217),()=>this[_0x4fb381(0x1c4)]()),this[_0x4fb381(0x1e1)][_0x4fb381(0x1e7)](_0x598aeb,_0x596520);}[_0x6a722b(0x21e)](_0x506463){const _0x39c3db=_0x6a722b,_0x4beb42=this[_0x39c3db(0x1d4)][_0x39c3db(0x205)](_0x506463);return this[_0x39c3db(0x202)]?this[_0x39c3db(0x202)][_0x39c3db(0x204)]>_0x506463[_0x39c3db(0x204)]?_0x4beb42-0x1:_0x4beb42:_0x4beb42-0x1;}[_0x6a722b(0x1fe)](){const _0x47caa6=_0x6a722b;if(this[_0x47caa6(0x1d4)][_0x47caa6(0x1cd)]&&this[_0x47caa6(0x1d4)][_0x47caa6(0x21f)]){const _0x219509={'id':_0x47caa6(0x221),'author':this[_0x47caa6(0x1d4)][_0x47caa6(0x1cd)],'authoredAt':this[_0x47caa6(0x1d4)][_0x47caa6(0x21f)],'content':_0x1d5223(this[_0x47caa6(0x1f7)],_0x47caa6(0x1df)),'attributes':{}};this[_0x47caa6(0x202)]=new this[(_0x47caa6(0x1f9))][(_0x47caa6(0x213))](this[_0x47caa6(0x1f7)],_0x219509,{'maxCommentCharsWhenCollapsed':this[_0x47caa6(0x1f9)][_0x47caa6(0x20c)],'formatDateTime':this[_0x47caa6(0x1f9)][_0x47caa6(0x1d2)],'editorConfig':this[_0x47caa6(0x1f9)][_0x47caa6(0x1e5)],'isSystemComment':!0x0}),this[_0x47caa6(0x1e1)][_0x47caa6(0x1e7)](this[_0x47caa6(0x202)],this[_0x47caa6(0x1d4)][_0x47caa6(0x205)](_0x219509));}else this[_0x47caa6(0x202)]&&(this[_0x47caa6(0x1e1)][_0x47caa6(0x200)](this[_0x47caa6(0x202)]),this[_0x47caa6(0x202)][_0x47caa6(0x207)](),this[_0x47caa6(0x202)]=null);this[_0x47caa6(0x222)]();}[_0x6a722b(0x1f4)](_0x1bb6b3){const _0x2b9218=_0x6a722b,_0xe6b2b9=this[_0x2b9218(0x1e1)][_0x2b9218(0x200)](_0x1bb6b3['id']);this[_0x2b9218(0x1d0)](_0xe6b2b9),_0xe6b2b9[_0x2b9218(0x1f3)]&&this[_0x2b9218(0x1c4)](),_0xe6b2b9[_0x2b9218(0x207)]();}[_0x6a722b(0x1c4)](){const _0x401b5a=_0x6a722b;this[_0x401b5a(0x1c5)]=Array[_0x401b5a(0x1f2)](this[_0x401b5a(0x1e1)])[_0x401b5a(0x1d6)](_0x48ba1e=>_0x48ba1e[_0x401b5a(0x1f3)]);}[_0x6a722b(0x1ee)](){const _0x1bb3f7=_0x6a722b,_0x497a4b=function(_0x297606){const _0x411417=_0x57b6,_0x4fca96=new _0x5ea28a();for(const _0x46e378 of _0x297606)_0x4fca96[_0x411417(0x1e7)](_0x46e378);return _0x4fca96;}(this[_0x1bb3f7(0x1e1)]),_0x57edf7=this[_0x1bb3f7(0x1f8)][_0x1bb3f7(0x1d9)];for(let _0xdd4e3a=0x1;_0xdd4e3a<=_0x57edf7;_0xdd4e3a++)_0x497a4b[_0x1bb3f7(0x200)](0x1);for(const _0x144e79 of _0x497a4b)_0x144e79[_0x1bb3f7(0x1ed)]();_0x57edf7>0x0&&_0x497a4b[_0x1bb3f7(0x1e7)](this[_0x1bb3f7(0x1f8)],0x1),ns(_0x50a7db(Array[_0x1bb3f7(0x1f2)](this[_0x1bb3f7(0x1ea)]),Array[_0x1bb3f7(0x1f2)](_0x497a4b)),this[_0x1bb3f7(0x1ea)],_0x497a4b);}[_0x6a722b(0x1fc)](){const _0x407b9a=_0x6a722b;ns(_0x50a7db(Array[_0x407b9a(0x1f2)](this[_0x407b9a(0x1ea)]),Array[_0x407b9a(0x1f2)](this[_0x407b9a(0x1e1)])),this[_0x407b9a(0x1ea)],this[_0x407b9a(0x1e1)]);for(const _0x529f11 of this[_0x407b9a(0x1ea)])_0x529f11[_0x407b9a(0x1f0)]();}[_0x6a722b(0x1fb)](){const _0x522c7a=_0x6a722b;this[_0x522c7a(0x1e1)][_0x522c7a(0x1cc)](_0x2f6f4d=>{const _0x3ea766=_0x522c7a;this[_0x3ea766(0x20e)][_0x3ea766(0x1e7)](_0x2f6f4d[_0x3ea766(0x220)]),this[_0x3ea766(0x215)][_0x3ea766(0x20d)](_0x2f6f4d[_0x3ea766(0x220)]);}),this[_0x522c7a(0x1e1)]['on'](_0x522c7a(0x1ce),(_0x3e673f,_0x351d27)=>{const _0x42271b=_0x522c7a;for(const _0x2d18e4 of _0x351d27[_0x42271b(0x210)])this[_0x42271b(0x20e)][_0x42271b(0x200)](_0x2d18e4[_0x42271b(0x220)]),this[_0x42271b(0x215)][_0x42271b(0x1d0)](_0x2d18e4[_0x42271b(0x220)]);for(const _0x368ffc of Array[_0x42271b(0x1f2)](_0x351d27[_0x42271b(0x1fa)])[_0x42271b(0x1c6)]())this[_0x42271b(0x20e)][_0x42271b(0x1e7)](_0x368ffc[_0x42271b(0x220)]),this[_0x42271b(0x215)][_0x42271b(0x20d)](_0x368ffc[_0x42271b(0x220)]);});}}function ns(_0x40ed07,_0x30e836,_0x30c28b){const _0x24f8e4=_0x6a722b;let _0x55beb5=0x0;for(const _0x1b5694 of _0x40ed07)switch(_0x1b5694){case _0x24f8e4(0x1e0):_0x30e836[_0x24f8e4(0x1e7)](_0x30c28b[_0x24f8e4(0x214)](_0x55beb5),_0x55beb5),_0x55beb5++;break;case _0x24f8e4(0x1d7):_0x30e836[_0x24f8e4(0x200)](_0x55beb5);break;case _0x24f8e4(0x1cf):_0x55beb5++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5836f1=_0x530b;(function(_0x1d3d33,_0x32211d){const _0x29feb6=_0x530b,_0x43afe0=_0x1d3d33();while(!![]){try{const _0x28ccfa=-parseInt(_0x29feb6(0x102))/0x1+parseInt(_0x29feb6(0x100))/0x2+-parseInt(_0x29feb6(0xf9))/0x3+-parseInt(_0x29feb6(0x104))/0x4*(parseInt(_0x29feb6(0xfe))/0x5)+-parseInt(_0x29feb6(0xff))/0x6*(parseInt(_0x29feb6(0xf6))/0x7)+-parseInt(_0x29feb6(0x105))/0x8*(parseInt(_0x29feb6(0x103))/0x9)+-parseInt(_0x29feb6(0xf5))/0xa*(-parseInt(_0x29feb6(0x106))/0xb);if(_0x28ccfa===_0x32211d)break;else _0x43afe0['push'](_0x43afe0['shift']());}catch(_0x20e8c1){_0x43afe0['push'](_0x43afe0['shift']());}}}(_0x125d,0xe5c69));import{View as _0x360a2f}from'ckeditor5/src/ui.js';function _0x530b(_0x4cfaca,_0x10d15a){const _0x125da2=_0x125d();return _0x530b=function(_0x530b53,_0x561be0){_0x530b53=_0x530b53-0xf3;let _0x3a888b=_0x125da2[_0x530b53];return _0x3a888b;},_0x530b(_0x4cfaca,_0x10d15a);}import{getTranslation as _0x51842c}from'../../../utils/common-translations.js';export default class as extends _0x360a2f{constructor(_0x4dbf94){const _0x5cc111=_0x530b;super(_0x4dbf94);const _0x5e4872=this[_0x5cc111(0xf7)];this[_0x5cc111(0xfd)](_0x5cc111(0xfa),''),this[_0x5cc111(0xfc)]({'tag':_0x5cc111(0xfb),'attributes':{'class':['ck',_0x5cc111(0x101)],'aria-label':_0x5e4872['to'](_0x5cc111(0xfa),_0xff285=>_0x51842c(_0x4dbf94,_0x5cc111(0xf4),_0xff285)),'tabindex':-0x1},'children':[{'text':_0x5e4872['to'](_0x5cc111(0xfa))}]});}[_0x5836f1(0xf3)](){const _0x27ca36=_0x5836f1;this[_0x27ca36(0xf8)][_0x27ca36(0xf3)]();}}function _0x125d(){const _0x448831=['set','28585EmQRya','6rywUxr','1374700oYdQBF','ck-context__value','1566928ntSrBh','9EaeDmC','548yhPSXA','13985416clPThA','903815lnNGFw','focus','THREAD_CONTEXT_LABEL','760DtNlFc','1918630IiOIuO','bindTemplate','element','4854915DuDeCo','contextValue','span','setTemplate'];_0x125d=function(){return _0x448831;};return _0x125d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f0b85=_0x60a1;function _0x60a1(_0xd543fe,_0x3e4296){const _0x360b79=_0x360b();return _0x60a1=function(_0x60a174,_0x46581a){_0x60a174=_0x60a174-0xb7;let _0x577dd9=_0x360b79[_0x60a174];return _0x577dd9;},_0x60a1(_0xd543fe,_0x3e4296);}(function(_0x421708,_0x557cbd){const _0x5507ad=_0x60a1,_0x4dfa12=_0x421708();while(!![]){try{const _0x4c3b69=parseInt(_0x5507ad(0xf8))/0x1*(parseInt(_0x5507ad(0xc9))/0x2)+-parseInt(_0x5507ad(0xf1))/0x3+parseInt(_0x5507ad(0xe6))/0x4*(-parseInt(_0x5507ad(0xf7))/0x5)+parseInt(_0x5507ad(0xca))/0x6*(parseInt(_0x5507ad(0xef))/0x7)+parseInt(_0x5507ad(0xfd))/0x8+parseInt(_0x5507ad(0xb9))/0x9+-parseInt(_0x5507ad(0xea))/0xa;if(_0x4c3b69===_0x557cbd)break;else _0x4dfa12['push'](_0x4dfa12['shift']());}catch(_0x57e952){_0x4dfa12['push'](_0x4dfa12['shift']());}}}(_0x360b,0xb0de5));import{View as _0x1fe382,ButtonView as _0xadbf83,FocusCycler as _0x3ff4fd}from'ckeditor5/src/ui.js';import{FocusTracker as _0x31efb1,KeystrokeHandler as _0x15d16f}from'ckeditor5/src/utils.js';import{IconUndo as _0x46d9cd}from'ckeditor5/src/icons.js';import{getTranslation as _0x377b44}from'../../../utils/common-translations.js';import _0xbcbd9f from'./commentthreadheadercontextview.js';function _0x360b(){const _0x411354=['offsetWidth','icon','ck-context','1685396dRiquj','120690BCYLTF','_model','_createReopenButton','element','reopenCommentThread','bind','div','length','focusables','bindTemplate','.ck-context__value','ck-thread__header','add','ck-context--quotes','render','hasContext','context','listenTo','ck-annotation__actions','isResolvable','_trimContextValue','overlay','classList','_setupKeyboardNavigation','_attachContextActions','Comment\x20was\x20made\x20on\x20an\x20element','_createContextView','focus','404NxSIev','mouseleave','createCollection','contextValue','3764810PgAkgu','substring','remove','isReadOnly','setTemplate','294fJWcZi','ck-context-wrapper','2681367WBqoFW','.ck-context','label','tab','Reopen','contextView','61315EKajeD','1TGHXAd','focusCycler','...','shift+tab','focusFirst','2725128xPfvyz','keystrokes','locale','fire','10846053xeNiUY','querySelector','focusTracker','mouseenter','value','tooltip','execute','reopenButtonView','isResolved','isEnabled','scrollWidth','lastIndexOf','isVisible'];_0x360b=function(){return _0x411354;};return _0x360b();}export const MAX_CONTENT_LENGTH=0x96;export default class Xt extends _0x1fe382{[_0x1f0b85(0xcb)];[_0x1f0b85(0xc0)];[_0x1f0b85(0xf6)];[_0x1f0b85(0xd2)];[_0x1f0b85(0xbb)];[_0x1f0b85(0xfe)];[_0x1f0b85(0xf9)];constructor(_0x3b4635,_0x518884){const _0x345610=_0x1f0b85;super(_0x3b4635);const _0x48e845=this[_0x345610(0xd3)];this[_0x345610(0xcb)]=_0x518884,this[_0x345610(0xc0)]=this[_0x345610(0xcc)](),this[_0x345610(0xf6)]=this[_0x345610(0xe4)](),this[_0x345610(0xd2)]=this[_0x345610(0xe8)]([this[_0x345610(0xf6)],this[_0x345610(0xc0)]]),this[_0x345610(0xbb)]=new _0x31efb1(),this[_0x345610(0xfe)]=new _0x15d16f(),this[_0x345610(0xf9)]=new _0x3ff4fd({'focusables':this[_0x345610(0xd2)],'focusTracker':this[_0x345610(0xbb)],'keystrokeHandler':this[_0x345610(0xfe)],'actions':{'focusPrevious':_0x345610(0xfb),'focusNext':_0x345610(0xf4)}}),this[_0x345610(0xcf)](_0x345610(0xd9))['to'](this[_0x345610(0xcb)],_0x345610(0xda),_0x2ec976=>!!_0x2ec976),this[_0x345610(0xcf)](_0x345610(0xe9))['to'](this[_0x345610(0xcb)],_0x345610(0xda),_0x55baa5=>_0x55baa5&&_0x55baa5[_0x345610(0xbd)]?this[_0x345610(0xde)](_0x55baa5[_0x345610(0xbd)]):_0x377b44(this[_0x345610(0xb7)],_0x345610(0xe3))),this[_0x345610(0xee)]({'tag':_0x345610(0xd0),'attributes':{'class':[_0x345610(0xd5)]},'children':[{'tag':_0x345610(0xd0),'attributes':{'class':[_0x345610(0xf0)]},'children':[{'tag':_0x345610(0xd0),'attributes':{'class':[_0x345610(0xc8),_0x48e845['if'](_0x345610(0xd9),_0x345610(0xd7))]},'children':[this[_0x345610(0xf6)]]}]},{'tag':_0x345610(0xd0),'attributes':{'class':[_0x345610(0xdc)]},'children':[this[_0x345610(0xc0)]]}]});}[_0x1f0b85(0xd8)](){const _0x104448=_0x1f0b85;super[_0x104448(0xd8)](),this[_0x104448(0xe2)](),this[_0x104448(0xe1)]();}[_0x1f0b85(0xe5)](){const _0x1066d0=_0x1f0b85;this[_0x1066d0(0xf9)][_0x1066d0(0xfc)]();}[_0x1f0b85(0xcc)](){const _0x3b19e0=_0x1f0b85,_0x889c5d=new _0xadbf83(this[_0x3b19e0(0xb7)]);return _0x889c5d[_0x3b19e0(0xf3)]=_0x377b44(this[_0x3b19e0(0xb7)],_0x3b19e0(0xf5)),_0x889c5d[_0x3b19e0(0xbe)]=_0x377b44(this[_0x3b19e0(0xb7)],_0x3b19e0(0xf5)),_0x889c5d[_0x3b19e0(0xc7)]=_0x46d9cd,_0x889c5d[_0x3b19e0(0xcf)](_0x3b19e0(0xc2))['to'](this[_0x3b19e0(0xcb)],_0x3b19e0(0xed),_0x49f793=>!_0x49f793),_0x889c5d[_0x3b19e0(0xcf)](_0x3b19e0(0xc5))['to'](this[_0x3b19e0(0xcb)],_0x3b19e0(0xdd),this[_0x3b19e0(0xcb)],_0x3b19e0(0xc1),(_0x407c7a,_0x129aab)=>_0x407c7a&&_0x129aab),_0x889c5d['on'](_0x3b19e0(0xbf),()=>{const _0x46e216=_0x3b19e0;this[_0x46e216(0xb8)](_0x46e216(0xce),this[_0x46e216(0xcb)]['id']);}),_0x889c5d;}[_0x1f0b85(0xde)](_0x33f002){const _0x3d5d12=_0x1f0b85;if(_0x33f002[_0x3d5d12(0xd1)]<0x96)return _0x33f002;const _0xa78c5=_0x33f002[_0x3d5d12(0xc4)]('\x20',0x93);return _0x33f002[_0x3d5d12(0xeb)](0x0,_0xa78c5>-0x1?_0xa78c5:0x93)+_0x3d5d12(0xfa);}[_0x1f0b85(0xe2)](){const _0x209fbc=_0x1f0b85,_0x585762=this[_0x209fbc(0xcd)][_0x209fbc(0xba)](_0x209fbc(0xf2)),_0x260dde=_0x585762[_0x209fbc(0xba)](_0x209fbc(0xd4));this[_0x209fbc(0xdb)](_0x585762,_0x209fbc(0xbc),()=>{const _0x1c3744=_0x209fbc;_0x260dde[_0x1c3744(0xc6)]<_0x260dde[_0x1c3744(0xc3)]&&_0x585762[_0x1c3744(0xe0)][_0x1c3744(0xd6)](_0x1c3744(0xdf));}),this[_0x209fbc(0xdb)](_0x585762,_0x209fbc(0xe7),()=>{const _0x48a680=_0x209fbc;_0x585762[_0x48a680(0xe0)][_0x48a680(0xec)](_0x48a680(0xdf));});}[_0x1f0b85(0xe1)](){const _0xe1dc0f=_0x1f0b85;this[_0xe1dc0f(0xfe)][_0xe1dc0f(0xdb)](this[_0xe1dc0f(0xcd)]);for(const _0x183eeb of this[_0xe1dc0f(0xd2)])this[_0xe1dc0f(0xbb)][_0xe1dc0f(0xd6)](_0x183eeb[_0xe1dc0f(0xcd)]),this[_0xe1dc0f(0xfe)][_0xe1dc0f(0xdb)](_0x183eeb[_0xe1dc0f(0xcd)]);}[_0x1f0b85(0xe4)](){const _0x21a029=_0x1f0b85,_0x2757d1=new _0xbcbd9f(this[_0x21a029(0xb7)]);return _0x2757d1[_0x21a029(0xcf)](_0x21a029(0xe9))['to'](this),_0x2757d1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3593a3=_0x492a;(function(_0xd527,_0x14fe7d){const _0x436220=_0x492a,_0x3b994a=_0xd527();while(!![]){try{const _0x258b89=-parseInt(_0x436220(0x96))/0x1+-parseInt(_0x436220(0x75))/0x2+parseInt(_0x436220(0x79))/0x3*(-parseInt(_0x436220(0x8f))/0x4)+-parseInt(_0x436220(0x80))/0x5+parseInt(_0x436220(0x7d))/0x6*(parseInt(_0x436220(0x7f))/0x7)+parseInt(_0x436220(0x94))/0x8+parseInt(_0x436220(0x9b))/0x9;if(_0x258b89===_0x14fe7d)break;else _0x3b994a['push'](_0x3b994a['shift']());}catch(_0x310c06){_0x3b994a['push'](_0x3b994a['shift']());}}}(_0x4242,0xb9410));import{View as _0xa9c148}from'ckeditor5/src/ui.js';function _0x492a(_0x3c7ac3,_0x38d7e1){const _0x424263=_0x4242();return _0x492a=function(_0x492ada,_0x4f4fa9){_0x492ada=_0x492ada-0x72;let _0x13c6bd=_0x424263[_0x492ada];return _0x13c6bd;},_0x492a(_0x3c7ac3,_0x38d7e1);}import _0x5354e0 from'./commentinputview.js';function _0x4242(){const _0x354fc8=['focusTracker','4TxJzRd','userView','preventDefault','bind','showInput','7155432SMUyDO','view','964509Wgdkfd','render','bindTemplate','element','commentInputView','22216284vmBUwW','div','isFocused','filter','some','target','showButtons','ck-comment__input-container','editorReady','extendTemplate','editorDestroyed','2972814JvnKjt','contains','editing','getDomRoot','4017405fDExGX','set','ck-comment__input-container--active','change:showInput','2930862jmKban','setTemplate','21NMhuSM','1397425gVItHk','destroy','delegate','createEditor','mousedown','listenTo','ck-thread__input','then','focusCycler','_focusOnNonInteractiveMouseDown','value','ck-thread__user','focus','editor'];_0x4242=function(){return _0x354fc8;};return _0x4242();}import{UserView as _0x1b02ee}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0xa9c148{constructor(_0xc24542,_0x26032a,_0x28d62f){const _0x382286=_0x492a;super(_0xc24542),this[_0x382286(0x9a)]=new _0x5354e0(_0xc24542,_0x28d62f),this[_0x382286(0x88)]=this[_0x382286(0x9a)][_0x382286(0x88)],this[_0x382286(0x9a)][_0x382286(0x92)](_0x382286(0xa1))['to'](this[_0x382286(0x9a)][_0x382286(0x8e)],_0x382286(0x9d),this[_0x382286(0x9a)],_0x382286(0x8a),(_0x578b81,_0x51dd64)=>_0x578b81||!!_0x51dd64),this[_0x382286(0x7a)](_0x382286(0x93),!0x1),this['on'](_0x382286(0x7c),()=>{const _0x2a78fb=_0x382286;this[_0x2a78fb(0x93)]&&!this[_0x2a78fb(0x9a)][_0x2a78fb(0x8d)]&&this[_0x2a78fb(0x9a)][_0x2a78fb(0x83)]();}),this[_0x382286(0x9a)][_0x382286(0x82)](_0x382286(0x72))['to'](this),this[_0x382286(0x9a)][_0x382286(0x82)](_0x382286(0x74))['to'](this),this[_0x382286(0x90)]=new _0x1b02ee(_0xc24542,_0x26032a),this[_0x382286(0x90)][_0x382286(0x73)]({'attributes':{'class':_0x382286(0x8b),'aria-hidden':!0x0}}),this[_0x382286(0x9a)][_0x382286(0x73)]({'attributes':{'class':_0x382286(0x86)}}),this[_0x382286(0x7e)]({'tag':_0x382286(0x9c),'attributes':{'class':[_0x382286(0xa2),this[_0x382286(0x98)]['if'](_0x382286(0x93),_0x382286(0x7b))]},'children':[this[_0x382286(0x90)],this[_0x382286(0x9a)]]});}[_0x3593a3(0x97)](){const _0x29b37a=_0x3593a3;super[_0x29b37a(0x97)](),this[_0x29b37a(0x89)]();}[_0x3593a3(0x81)](){const _0x19a19b=_0x3593a3;return this[_0x19a19b(0x9a)][_0x19a19b(0x81)]()[_0x19a19b(0x87)](()=>super[_0x19a19b(0x81)]());}[_0x3593a3(0x8c)](_0x2fa884){const _0x3d1f5b=_0x3593a3;this[_0x3d1f5b(0x9a)][_0x3d1f5b(0x8c)](_0x2fa884);}[_0x3593a3(0x89)](){const _0x2294d4=_0x3593a3;this[_0x2294d4(0x85)](this[_0x2294d4(0x99)],_0x2294d4(0x84),(_0x22a3d3,_0x358ff)=>{const _0x2f6460=_0x2294d4,{submitButtonView:_0x5630af,cancelButtonView:_0x3cd462,editor:_0xd666a2}=this[_0x2f6460(0x9a)];[_0x5630af[_0x2f6460(0x99)],_0x3cd462[_0x2f6460(0x99)],_0xd666a2?_0xd666a2[_0x2f6460(0x77)][_0x2f6460(0x95)][_0x2f6460(0x78)]():null][_0x2f6460(0x9e)](_0x47783c=>_0x47783c)[_0x2f6460(0x9f)](_0x426ad3=>_0x426ad3[_0x2f6460(0x76)](_0x358ff[_0x2f6460(0xa0)]))||(this[_0x2f6460(0x8c)](),_0x358ff[_0x2f6460(0x91)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x25e863=_0x25f2;(function(_0x5c4f8a,_0x4c7162){const _0x44674b=_0x25f2,_0x23ac86=_0x5c4f8a();while(!![]){try{const _0x5f4cc0=-parseInt(_0x44674b(0xe5))/0x1*(-parseInt(_0x44674b(0x105))/0x2)+parseInt(_0x44674b(0xdd))/0x3+parseInt(_0x44674b(0x112))/0x4*(-parseInt(_0x44674b(0xeb))/0x5)+parseInt(_0x44674b(0xfd))/0x6+-parseInt(_0x44674b(0xca))/0x7*(parseInt(_0x44674b(0x116))/0x8)+-parseInt(_0x44674b(0xc3))/0x9*(-parseInt(_0x44674b(0x108))/0xa)+parseInt(_0x44674b(0xec))/0xb*(-parseInt(_0x44674b(0xc8))/0xc);if(_0x5f4cc0===_0x4c7162)break;else _0x23ac86['push'](_0x23ac86['shift']());}catch(_0x2dfe1a){_0x23ac86['push'](_0x23ac86['shift']());}}}(_0x4f98,0xa9be4));function _0x25f2(_0x324982,_0xaa4461){const _0x4f980c=_0x4f98();return _0x25f2=function(_0x25f28e,_0x1ae39c){_0x25f28e=_0x25f28e-0xbd;let _0x3f69b2=_0x4f980c[_0x25f28e];return _0x3f69b2;},_0x25f2(_0x324982,_0xaa4461);}import{ConfirmMixin as _0x5070ba,LateFocusButtonView as _0x42277b}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x1ae40c}from'ckeditor5/src/icons.js';import _0x14b2ae from'./basecommentthreadview.js';function _0x4f98(){const _0x38bbd3=['render','.ck-thread__container','locale','30Llplxi','214181dqcPOL','createCollection','_bindFirstCommentView','containerElement','execute','focus','bindTemplate','querySelector','resolveCommentThread','ck-thread--active','removeConfirm','setTemplate','remove','showConfirm','commentViews','ariaLabel','change:archivedAt','7239816IniFcU','archivedAt','get','isReadOnly','_updateArchivedThreadHeader','unbind','length','bind','134ClmBQb','_boundFirstCommentView','tooltip','6340qaTUkz','isEnabled','ck-reset_all-excluded','div','commentsListView','commentThreadInputView','icon','change:isReadOnly','listenTo','high','4416ENvThX','ck-thread--','placeholder','has','983168hMfxsa','listitem','isVisible','Write\x20a\x20comment...','element','ariaDescriptionView','ck-thread--remove-confirmation','stop','extendTemplate','19179SlbtlI','ck-rounded-corners','then','_cancelAllConfirms','Resolve','1716FyFJyf','actionIndicator','49tFAoJh','_createResolveButton','isResolved','change:isActive','actionBar','removeButton','getTemplate','commentThreadChildren','add','fire','ck-thread','resolveButton','isSystemComment','ck-thread--unlinked','cancelConfirm','focusables','removeCommentThread','commentThreadHeaderView','ck-thread__container','1597530UvjiQQ','isActive','isUnlinked','label','ck-comment--resolve','isConfirm','_model','Delete\x20comment\x20thread?','18751qSQQNJ','set','isResolvable'];_0x4f98=function(){return _0x38bbd3;};return _0x4f98();}import{getTranslation as _0x4c623d}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5070ba(_0x14b2ae){[_0x25e863(0xd1)];[_0x25e863(0xef)];[_0x25e863(0xd5)];[_0x25e863(0x106)];constructor(_0x150628,_0x5bb254,_0xdba5f,_0x59a876){const _0x4e2935=_0x25e863;super(_0x150628,_0x5bb254,_0xdba5f,_0x59a876),this[_0x4e2935(0xd1)]=this[_0x4e2935(0xed)]([this[_0x4e2935(0x10c)],this[_0x4e2935(0x10d)],this[_0x4e2935(0xbf)]]),this[_0x4e2935(0xe6)](_0x4e2935(0xc9),null),this[_0x4e2935(0xef)]=null,this[_0x4e2935(0x106)]=null,this[_0x4e2935(0xea)]=_0x150628,this[_0x4e2935(0xd5)]=this[_0x4e2935(0xcb)](),this[_0x4e2935(0xf7)](this[_0x4e2935(0xd0)]()),this['on'](_0x4e2935(0xcd),(_0x2a378d,_0x3098c6,_0x14a6e1)=>{const _0x17427f=_0x4e2935;_0x14a6e1||this[_0x17427f(0xc6)]();}),this[_0x4e2935(0x110)](this[_0x4e2935(0xe3)],_0x4e2935(0x10f),(_0x155431,_0x40464a,_0x2324a2)=>{const _0x2444b1=_0x4e2935;_0x2324a2&&this[_0x2444b1(0xc6)]();}),this[_0x4e2935(0x103)]>0x0&&this[_0x4e2935(0xee)](),this[_0x4e2935(0x110)](this[_0x4e2935(0x10c)][_0x4e2935(0xfa)],_0x4e2935(0xd2),()=>{const _0x5457f2=_0x4e2935;this[_0x5457f2(0xee)]();});}[_0x25e863(0xd0)](){const _0x3f784b=_0x25e863,_0x89fefc=this[_0x3f784b(0xf2)];return{'tag':_0x3f784b(0x10b),'attributes':{'class':['ck',_0x3f784b(0xd4),_0x3f784b(0x10a),_0x3f784b(0xc4),_0x89fefc['if'](_0x3f784b(0xde),_0x3f784b(0xf5)),_0x89fefc['if'](_0x3f784b(0xdf),_0x3f784b(0xd7)),_0x89fefc['if'](_0x3f784b(0xe2),_0x3f784b(0xc0)),_0x89fefc['to'](_0x3f784b(0xc9),_0x216532=>_0x216532?_0x3f784b(0x113)+_0x216532:'')],'data-thread-id':this[_0x3f784b(0xe3)]['id'],'tabindex':0x0,'role':_0x3f784b(0x117),'aria-label':_0x89fefc['to'](_0x3f784b(0xfb)),'aria-describedby':this[_0x3f784b(0xbf)]['id']},'children':[{'tag':_0x3f784b(0x10b),'attributes':{'class':_0x3f784b(0xdc)},'children':this[_0x3f784b(0xd1)]}]};}[_0x25e863(0xe8)](){const _0x9b8875=_0x25e863;super[_0x9b8875(0xe8)](),this[_0x9b8875(0xef)]=this[_0x9b8875(0xbe)][_0x9b8875(0xf3)](_0x9b8875(0xe9)),this[_0x9b8875(0xe3)]['on'](_0x9b8875(0xfc),()=>{const _0x43c1ef=_0x9b8875;this[_0x43c1ef(0x101)]();}),this[_0x9b8875(0x101)]();}[_0x25e863(0xc6)](){const _0x2cbd08=_0x25e863;this[_0x2cbd08(0xd8)]();for(const _0x1ebd11 of this[_0x2cbd08(0x10c)][_0x2cbd08(0xfa)])_0x1ebd11[_0x2cbd08(0xd8)]();}[_0x25e863(0xee)](){const _0x2d9ea7=_0x25e863,{locale:_0x18c998}=this,_0x16ec30=this[_0x2d9ea7(0x10c)][_0x2d9ea7(0xfa)][_0x2d9ea7(0xff)](0x0);_0x16ec30===this[_0x2d9ea7(0x106)]||_0x16ec30[_0x2d9ea7(0xd6)]||(this[_0x2d9ea7(0x106)]=_0x16ec30,this[_0x2d9ea7(0x102)](_0x2d9ea7(0xc9)),this[_0x2d9ea7(0x104)](_0x2d9ea7(0xc9))['to'](_0x16ec30,_0x2d9ea7(0xc9),_0x571e16=>_0x2d9ea7(0xf8)===_0x571e16?_0x2d9ea7(0xf8):null),_0x16ec30[_0x2d9ea7(0x114)]=_0x4c623d(_0x18c998,_0x2d9ea7(0xbd)),_0x16ec30[_0x2d9ea7(0xcf)]['on'](_0x2d9ea7(0xf0),_0x5f281b=>{const _0x36c2d8=_0x2d9ea7;_0x5f281b[_0x36c2d8(0xc1)](),this[_0x36c2d8(0xf9)](_0x4c623d(_0x18c998,_0x36c2d8(0xe4)),this[_0x36c2d8(0xef)])[_0x36c2d8(0xc5)](()=>{const _0x357bcb=_0x36c2d8;this[_0x357bcb(0xd3)](_0x357bcb(0xda));});},{'priority':_0x2d9ea7(0x111)}),this['on'](_0x2d9ea7(0xf6),()=>{const _0x363f18=_0x2d9ea7;_0x16ec30[_0x363f18(0xf1)]();}),_0x16ec30[_0x2d9ea7(0xce)][_0x2d9ea7(0xd2)](this[_0x2d9ea7(0xd5)],0x0),_0x16ec30[_0x2d9ea7(0xd9)][_0x2d9ea7(0xd2)](this[_0x2d9ea7(0xd5)],0x0));}[_0x25e863(0xcb)](){const _0x2f3d91=_0x25e863,_0x462795=new _0x42277b(this[_0x2f3d91(0xea)]);return _0x462795[_0x2f3d91(0xe0)]=_0x4c623d(this[_0x2f3d91(0xea)],_0x2f3d91(0xc7)),_0x462795[_0x2f3d91(0x107)]=_0x4c623d(this[_0x2f3d91(0xea)],_0x2f3d91(0xc7)),_0x462795[_0x2f3d91(0x10e)]=_0x1ae40c,_0x462795[_0x2f3d91(0xc2)]({'attributes':{'class':_0x2f3d91(0xe1)}}),_0x462795[_0x2f3d91(0x104)](_0x2f3d91(0x109))['to'](this[_0x2f3d91(0xe3)],_0x2f3d91(0x100),_0x2883c3=>!_0x2883c3),_0x462795[_0x2f3d91(0x104)](_0x2f3d91(0x118))['to'](this[_0x2f3d91(0xe3)],_0x2f3d91(0xe7),this[_0x2f3d91(0xe3)],_0x2f3d91(0xcc),(_0x6a954e,_0x4262c3)=>_0x6a954e&&!_0x4262c3),_0x462795['on'](_0x2f3d91(0xf0),()=>{const _0x8446e=_0x2f3d91;this[_0x8446e(0xd3)](_0x8446e(0xf4),this[_0x8446e(0xe3)]['id']);}),_0x462795;}[_0x25e863(0x101)](){const _0x1cb8dd=_0x25e863;this[_0x1cb8dd(0xe3)][_0x1cb8dd(0xfe)]?this[_0x1cb8dd(0xd1)][_0x1cb8dd(0x115)](this[_0x1cb8dd(0xdb)])||(this[_0x1cb8dd(0xd1)][_0x1cb8dd(0xd2)](this[_0x1cb8dd(0xdb)],0x0),this[_0x1cb8dd(0xd9)][_0x1cb8dd(0xd2)](this[_0x1cb8dd(0xdb)],0x0)):this[_0x1cb8dd(0xd1)][_0x1cb8dd(0x115)](this[_0x1cb8dd(0xdb)])&&(this[_0x1cb8dd(0xd1)][_0x1cb8dd(0xf8)](this[_0x1cb8dd(0xdb)]),this[_0x1cb8dd(0xd9)][_0x1cb8dd(0xf8)](this[_0x1cb8dd(0xdb)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x339ef1=_0x5e15;(function(_0x4e3adf,_0x2f1e9a){const _0xb80238=_0x5e15,_0x3eeccf=_0x4e3adf();while(!![]){try{const _0x1589d8=parseInt(_0xb80238(0x225))/0x1+parseInt(_0xb80238(0x213))/0x2+parseInt(_0xb80238(0x237))/0x3*(-parseInt(_0xb80238(0x21a))/0x4)+parseInt(_0xb80238(0x1eb))/0x5*(-parseInt(_0xb80238(0x22a))/0x6)+parseInt(_0xb80238(0x1ee))/0x7+-parseInt(_0xb80238(0x239))/0x8+parseInt(_0xb80238(0x1e4))/0x9;if(_0x1589d8===_0x2f1e9a)break;else _0x3eeccf['push'](_0x3eeccf['shift']());}catch(_0x34ac50){_0x3eeccf['push'](_0x3eeccf['shift']());}}}(_0x8d6a,0x58c41));import{IconRemoveComment as _0x6a0898,IconPencil as _0x3b02a9,IconThreeVerticalDots as _0x2a9832}from'ckeditor5/src/icons.js';import{ButtonView as _0x31b415,createDropdown as _0x3dac99,ListView as _0xbb7d03,ListItemView as _0x2b22bd,focusChildOnDropdownOpen as _0x5e68f8}from'ckeditor5/src/ui.js';import{UserView as _0x34be69,ConfirmMixin as _0x28cf74,LateFocusDropdownButtonView as _0x4629bc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xc40eb6 from'./basecommentview.js';function _0x5e15(_0x85f73a,_0x1d7af9){const _0x8d6a46=_0x8d6a();return _0x5e15=function(_0x5e15b7,_0x4684ee){_0x5e15b7=_0x5e15b7-0x1c3;let _0x4d1f19=_0x8d6a46[_0x5e15b7];return _0x4d1f19;},_0x5e15(_0x85f73a,_0x1d7af9);}function _0x8d6a(){const _0x1e41d8=['ck-hidden','children','_config','listitem','focusables','execute','657416eUBbuB','ck-annotation','ck-comment--info','mouseenter','formatDateTime','720894nkfOyc','_createDropdown','remove','ck-comment__wrapper','removeComment','span','ck-annotation__content-wrapper','ck-annotation__info-time','set','ck-comment__main','ck-comment--remove-confirmation','buttonView','actionBar','3hOzTSE','_model','5738960xpThAD','Remove','isEditable','isExternal','ariaLabel','locale','items','isConfirm','createCollection','placeholder','ck-annotation__main','ck-comment--remove','focus','isSystemComment','ck-comment__info','extendTemplate','render','editButton','_attachActions','actionIndicator','_createEditButton','push','isVisible','Delete\x20comment?','getTemplate','author','mouseleave','isReadOnly','ck-comment--edit','bindTemplate','removeButton','length','resolvedAt','label','ck-comment__info-name','9973674QFoohH','fire','Reply...','ck-comment--','ariaDescriptionView','ck-comment','time','20fwTWle','ck-annotation__user','ck-comment__external','2561489DtVxTw','_createCommentInputView','find','isEditMode','unbind','name','visibleView','getExternalCommentNote','dropdown','userView','isRemovable','element','_createRemoveButton','showConfirm','ck-annotation__actions--hidden','ck-comment__info-time','bind','Show\x20more\x20items','cancelConfirm','Edit','then','ck-comment__actions','setTemplate','ck-annotation__info-name','panelPosition','ck-comment__user','ck-annotation__info','addMany','panelView','div','icon','authoredAt','toMany','from','group','isEnabled','some','29700jQhdIF','getUserViewNotificationText','ck-comment__actions--hidden','ck-annotation__actions','add','change:isRemovable','switchToEditMode','2339312limzfL','listenTo','edit','blur','withText'];_0x8d6a=function(){return _0x1e41d8;};return _0x8d6a();}import{getTranslation as _0x2f1255}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x28cf74(_0xc40eb6){[_0x339ef1(0x236)];[_0x339ef1(0x1f7)];constructor(_0x410a30,_0x17aa4d,_0x5517a7){const _0x560151=_0x339ef1;super(_0x410a30,_0x17aa4d,_0x5517a7),this[_0x560151(0x232)](_0x560151(0x1d4),null),this[_0x560151(0x232)](_0x560151(0x1ca),_0x2f1255(_0x410a30,_0x560151(0x1e6))),this[_0x560151(0x1fe)](_0x560151(0x20d))['to'](_0x17aa4d),this[_0x560151(0x1fe)](_0x560151(0x1e1))['to'](_0x17aa4d),this[_0x560151(0x236)]=this[_0x560151(0x1c9)](),this[_0x560151(0x1ce)]||(this[_0x560151(0x1d2)]=this[_0x560151(0x1d5)](),this[_0x560151(0x1df)]=this[_0x560151(0x1fa)](),this[_0x560151(0x1c7)]=this[_0x560151(0x1c9)](),this[_0x560151(0x1c7)][_0x560151(0x209)]([this[_0x560151(0x1d2)],this[_0x560151(0x1df)]]),this[_0x560151(0x1f6)]=this[_0x560151(0x22b)](),this[_0x560151(0x236)][_0x560151(0x217)](this[_0x560151(0x1f6)]),this[_0x560151(0x223)][_0x560151(0x217)](this[_0x560151(0x1f6)])),this[_0x560151(0x1f7)]=new _0x34be69(_0x410a30,_0x17aa4d[_0x560151(0x1da)],this[_0x560151(0x214)]()),this[_0x560151(0x1f7)][_0x560151(0x1d0)]({'attributes':{'class':[_0x560151(0x207),_0x560151(0x1ec)],'aria-hidden':!0x0}}),this[_0x560151(0x21b)](_0x17aa4d,_0x560151(0x218),()=>this[_0x560151(0x200)]()),this[_0x560151(0x204)](this[_0x560151(0x1d9)]());}[_0x339ef1(0x1d9)](){const _0xc1feb0=_0x339ef1,_0xaae9c0=this[_0xc1feb0(0x1de)],_0x54c054=[{'tag':_0xc1feb0(0x20b),'attributes':{'class':[_0xc1feb0(0x1cf),_0xc1feb0(0x208)]},'children':[{'tag':_0xc1feb0(0x22f),'children':[{'text':this[_0xc1feb0(0x1f7)][_0xc1feb0(0x1f3)]}],'attributes':{'class':[_0xc1feb0(0x1e3),_0xc1feb0(0x205)],'data-cke-tooltip-text':this[_0xc1feb0(0x1f7)][_0xc1feb0(0x1f3)]}},{'tag':_0xc1feb0(0x1ea),'attributes':{'datetime':_0xaae9c0['to'](_0xc1feb0(0x20d)),'class':[_0xc1feb0(0x1fd),_0xc1feb0(0x231)]},'children':[{'text':_0xaae9c0['to'](_0xc1feb0(0x20d),_0x4e80f0=>this[_0xc1feb0(0x221)][_0xc1feb0(0x229)](_0x4e80f0))}]}]},{'tag':_0xc1feb0(0x20b),'attributes':{'class':[_0xc1feb0(0x203),_0xc1feb0(0x216),_0xaae9c0['if'](_0xc1feb0(0x1f1),_0xc1feb0(0x215)),_0xaae9c0['if'](_0xc1feb0(0x1f1),_0xc1feb0(0x1fc))]},'children':this[_0xc1feb0(0x236)]},{'tag':_0xc1feb0(0x20b),'attributes':{'class':[_0xc1feb0(0x230)]},'children':this[_0xc1feb0(0x1f4)]},this[_0xc1feb0(0x1e8)]];return this[_0xc1feb0(0x238)][_0xc1feb0(0x1c4)]&&_0x54c054[_0xc1feb0(0x1d6)]({'tag':_0xc1feb0(0x20b),'attributes':{'class':[_0xc1feb0(0x1ed)]},'children':[{'text':this[_0xc1feb0(0x1f5)]()}]}),{'tag':'li','attributes':{'class':[_0xc1feb0(0x22d),_0xaae9c0['if'](_0xc1feb0(0x1c8),_0xc1feb0(0x234))],'tabindex':-0x1,'aria-label':_0xaae9c0['to'](_0xc1feb0(0x1c5)),'aria-describedby':this[_0xc1feb0(0x1e8)]['id'],'role':_0xc1feb0(0x222)},'children':[{'tag':_0xc1feb0(0x20b),'attributes':{'class':[_0xc1feb0(0x1e9),_0xc1feb0(0x226),_0xaae9c0['if'](_0xc1feb0(0x1f1),_0xc1feb0(0x1dd)),_0xaae9c0['if'](_0xc1feb0(0x1ce),_0xc1feb0(0x227)),_0xaae9c0['to'](_0xc1feb0(0x1d4),_0x28c45e=>_0x28c45e?_0xc1feb0(0x1e7)+_0x28c45e:'')],'data-author-id':this[_0xc1feb0(0x238)][_0xc1feb0(0x1da)]['id'],'data-comment-id':this[_0xc1feb0(0x238)]['id'],'role':_0xc1feb0(0x210)},'children':[this[_0xc1feb0(0x1f7)],{'tag':_0xc1feb0(0x20b),'attributes':{'class':[_0xc1feb0(0x233),_0xc1feb0(0x1cb)]},'children':_0x54c054}]}]};}[_0x339ef1(0x1d5)](){const _0x1f95ca=_0x339ef1,_0x3f3f9d=new _0x31b415(this[_0x1f95ca(0x1c6)]);return _0x3f3f9d[_0x1f95ca(0x1e2)]=_0x2f1255(this[_0x1f95ca(0x1c6)],_0x1f95ca(0x201)),_0x3f3f9d[_0x1f95ca(0x20c)]=_0x3b02a9,_0x3f3f9d[_0x1f95ca(0x21e)]=!0x0,_0x3f3f9d[_0x1f95ca(0x1d0)]({'attributes':{'class':_0x1f95ca(0x1dd)}}),_0x3f3f9d[_0x1f95ca(0x1fe)](_0x1f95ca(0x211))['to'](this[_0x1f95ca(0x238)],_0x1f95ca(0x1dc),_0x4b9e93=>!_0x4b9e93),_0x3f3f9d[_0x1f95ca(0x1fe)](_0x1f95ca(0x1d7))['to'](this[_0x1f95ca(0x238)],_0x1f95ca(0x1c3)),_0x3f3f9d['on'](_0x1f95ca(0x224),()=>this[_0x1f95ca(0x219)]()),_0x3f3f9d;}[_0x339ef1(0x1fa)](){const _0x4228a9=_0x339ef1,_0x3d2568=new _0x31b415(this[_0x4228a9(0x1c6)]);return _0x3d2568[_0x4228a9(0x1e2)]=_0x2f1255(this[_0x4228a9(0x1c6)],_0x4228a9(0x23a)),_0x3d2568[_0x4228a9(0x20c)]=_0x6a0898,_0x3d2568[_0x4228a9(0x21e)]=!0x0,_0x3d2568[_0x4228a9(0x1d0)]({'attributes':{'class':_0x4228a9(0x1cc)}}),_0x3d2568[_0x4228a9(0x1fe)](_0x4228a9(0x211))['to'](this[_0x4228a9(0x238)],_0x4228a9(0x1dc),_0xc73265=>!_0xc73265),_0x3d2568[_0x4228a9(0x1fe)](_0x4228a9(0x1d7))['to'](this[_0x4228a9(0x238)],_0x4228a9(0x1f8)),_0x3d2568['on'](_0x4228a9(0x224),()=>{const _0x5ca864=_0x4228a9;this[_0x5ca864(0x1fb)](_0x2f1255(this[_0x5ca864(0x1c6)],_0x5ca864(0x1d8)),this[_0x5ca864(0x1f9)])[_0x5ca864(0x202)](()=>{const _0x4aec81=_0x5ca864;this[_0x4aec81(0x1e5)](_0x4aec81(0x22e),this[_0x4aec81(0x238)]['id']);});}),_0x3d2568;}[_0x339ef1(0x22b)](){const _0x3398ff=_0x339ef1,_0x31430c=_0x3dac99(this[_0x3398ff(0x1c6)],_0x4629bc),_0x408637=_0x31430c[_0x3398ff(0x20a)][_0x3398ff(0x220)],_0x9f45a2=new _0xbb7d03(this[_0x3398ff(0x1c6)]),_0x77485a=_0x31430c[_0x3398ff(0x1de)];_0x5e68f8(_0x31430c,()=>this[_0x3398ff(0x1c7)][_0x3398ff(0x1f0)](_0x26cf9e=>_0x26cf9e[_0x3398ff(0x1d7)])),_0x31430c[_0x3398ff(0x1d0)]({'attributes':{'class':[_0x77485a['if'](_0x3398ff(0x1d7),_0x3398ff(0x21f),_0x2369f9=>!_0x2369f9)]}});const _0x2d8cc1=(_0x251017,_0x18efca=-0x1)=>{const _0x1b70c0=_0x3398ff,_0x5af40e=new _0x2b22bd(this[_0x1b70c0(0x1c6)]);_0x5af40e[_0x1b70c0(0x220)][_0x1b70c0(0x217)](_0x251017);const _0x52773e=_0x18efca>-0x1?_0x18efca:_0x9f45a2[_0x1b70c0(0x1c7)][_0x1b70c0(0x1e0)];_0x9f45a2[_0x1b70c0(0x1c7)][_0x1b70c0(0x217)](_0x5af40e,_0x52773e);const _0x3a5cf5=Array[_0x1b70c0(0x20f)](this[_0x1b70c0(0x1c7)]);_0x31430c[_0x1b70c0(0x1f2)](_0x1b70c0(0x211),_0x1b70c0(0x1d7)),_0x31430c[_0x1b70c0(0x1fe)](_0x1b70c0(0x211))[_0x1b70c0(0x20e)](_0x3a5cf5,_0x1b70c0(0x211),(..._0x35b7a1)=>_0x35b7a1[_0x1b70c0(0x212)](_0x1f5388=>_0x1f5388)),_0x31430c[_0x1b70c0(0x1fe)](_0x1b70c0(0x1d7))[_0x1b70c0(0x20e)](_0x3a5cf5,_0x1b70c0(0x1d7),(..._0x4416f3)=>_0x4416f3[_0x1b70c0(0x212)](_0x214feb=>_0x214feb));};_0x31430c[_0x3398ff(0x206)]='sw',_0x31430c[_0x3398ff(0x235)][_0x3398ff(0x232)]({'label':_0x2f1255(this[_0x3398ff(0x1c6)],_0x3398ff(0x1ff)),'icon':_0x2a9832});for(const _0x34d3df of this[_0x3398ff(0x1c7)])_0x2d8cc1(_0x34d3df);return _0x408637[_0x3398ff(0x217)](_0x9f45a2),_0x31430c[_0x3398ff(0x21b)](this[_0x3398ff(0x1c7)],_0x3398ff(0x217),(_0xe00c7f,_0x4da3d4,_0x3d11a1)=>{_0x2d8cc1(_0x4da3d4,_0x3d11a1);}),_0x31430c[_0x3398ff(0x21b)](this[_0x3398ff(0x1c7)],_0x3398ff(0x22c),(_0x209e73,_0x3d9b05,_0x50d167)=>{const _0x20bb6a=_0x3398ff;_0x9f45a2[_0x20bb6a(0x1c7)][_0x20bb6a(0x22c)](_0x50d167);}),_0x31430c;}[_0x339ef1(0x1d3)](_0x4300c9,_0xe8d36){const _0x10d05f=_0x339ef1,_0x142436=_0x4300c9&&_0x4300c9[_0x10d05f(0x1f9)];_0x142436&&(this[_0x10d05f(0x21b)](_0x142436,_0x10d05f(0x228),()=>this[_0x10d05f(0x1d4)]=_0xe8d36),this[_0x10d05f(0x21b)](_0x142436,_0x10d05f(0x1cd),()=>this[_0x10d05f(0x1d4)]=_0xe8d36),this[_0x10d05f(0x21b)](_0x142436,_0x10d05f(0x1db),()=>this[_0x10d05f(0x1d4)]=null),this[_0x10d05f(0x21b)](_0x142436,_0x10d05f(0x21d),()=>this[_0x10d05f(0x1d4)]=null));}[_0x339ef1(0x1ef)](){const _0x567648=_0x339ef1,_0x555545=super[_0x567648(0x1ef)]();return _0x555545[_0x567648(0x1fe)](_0x567648(0x1ca))['to'](this),_0x555545;}[_0x339ef1(0x1d1)](){const _0x1919b9=_0x339ef1;super[_0x1919b9(0x1d1)](),this[_0x1919b9(0x1d3)](this[_0x1919b9(0x1d2)],_0x1919b9(0x21c)),this[_0x1919b9(0x1d3)](this[_0x1919b9(0x1df)],_0x1919b9(0x22c));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x15985e=_0x2bd7;(function(_0xde1359,_0x5a0aad){var _0xb94e8f=_0x2bd7,_0x32fd57=_0xde1359();while(!![]){try{var _0x5f4a3f=-parseInt(_0xb94e8f(0xf0))/0x1*(-parseInt(_0xb94e8f(0xf6))/0x2)+parseInt(_0xb94e8f(0xfa))/0x3+parseInt(_0xb94e8f(0xf2))/0x4+-parseInt(_0xb94e8f(0xfe))/0x5*(-parseInt(_0xb94e8f(0xfd))/0x6)+parseInt(_0xb94e8f(0xf1))/0x7*(parseInt(_0xb94e8f(0xfb))/0x8)+parseInt(_0xb94e8f(0xf4))/0x9*(parseInt(_0xb94e8f(0xf7))/0xa)+parseInt(_0xb94e8f(0xff))/0xb*(-parseInt(_0xb94e8f(0xfc))/0xc);if(_0x5f4a3f===_0x5a0aad)break;else _0x32fd57['push'](_0x32fd57['shift']());}catch(_0x19c719){_0x32fd57['push'](_0x32fd57['shift']());}}}(_0xc440,0x930e6));function _0xc440(){var _0x1a7dd6=['5ttQmlh','33amXqIy','isPremiumPlugin','228951HWBQbY','7osSHpp','399480StwTco','pluginName','414gTNomu','isOfficialPlugin','10WcJmbu','86910fDGubd','requires','Comments','1557741JqwaML','2632904eGcqau','7598352foFpPX','54954OWNhtK'];_0xc440=function(){return _0x1a7dd6;};return _0xc440();}import{Plugin as _0x3795bd}from'ckeditor5/src/core.js';import _0x140170 from'./comments/commentsrepository.js';import _0x3841c6 from'./comments/commentsediting.js';import _0x2d8ef7 from'./comments/commentsui.js';import _0x13d424 from'./commentsonly.js';import _0x2a5e14 from'./annotations/widesidebar.js';import _0x4fb8a5 from'./annotations/narrowsidebar.js';import _0x36493d from'./annotations/inlineannotations.js';import _0x26cf4f from'./comments/commentsarchiveui.js';import _0x16651d from'./comments/commentsarchive.js';function _0x2bd7(_0x51c83c,_0x26c276){var _0xc44000=_0xc440();return _0x2bd7=function(_0x2bd755,_0xb4358c){_0x2bd755=_0x2bd755-0xf0;var _0x59a371=_0xc44000[_0x2bd755];return _0x59a371;},_0x2bd7(_0x51c83c,_0x26c276);}export default class p extends _0x3795bd{static get[_0x15985e(0xf8)](){return[_0x140170,_0x3841c6,_0x2d8ef7,_0x16651d,_0x26cf4f,_0x13d424,_0x2a5e14,_0x4fb8a5,_0x36493d];}static get[_0x15985e(0xf3)](){var _0x268d56=_0x15985e;return _0x268d56(0xf9);}static get[_0x15985e(0xf5)](){return!0x0;}static get[_0x15985e(0x100)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c6a41=_0x1e99;function _0x45f8(){const _0x356fff=['isPremiumPlugin','has','editor','delete','commentsOnlyMode','editing','stop','SourceEditing','document','commentsOnly','config','_enableCommentsOnlyMode','27pVrkqg','DragDrop','commands','12ZbJQfv','_disableCommentsOnlyMode','3998630DKDVBE','pluginName','3069875rMaphM','5836VIbXNu','isEnabled','16mLFvJf','18902807ztVVOJ','requires','cut','2479197RnWACM','afterInit','highest','clearForceDisabled','editSource','addCommentThread','change:isEnabled','stopListening','clipboardInput','forceDisabled','listenTo','plugins','get','view','1569lErcrx','74560kMxOXT','isOfficialPlugin','3747204bODKQX','set','affectsData','CommentsOnly'];_0x45f8=function(){return _0x356fff;};return _0x45f8();}(function(_0x497b95,_0xb1df0d){const _0x58e5a0=_0x1e99,_0x35f710=_0x497b95();while(!![]){try{const _0x1e0ecd=-parseInt(_0x58e5a0(0x121))/0x1*(-parseInt(_0x58e5a0(0x10f))/0x2)+-parseInt(_0x58e5a0(0x10e))/0x3*(-parseInt(_0x58e5a0(0xfa))/0x4)+-parseInt(_0x58e5a0(0xf9))/0x5+-parseInt(_0x58e5a0(0x124))/0x6*(-parseInt(_0x58e5a0(0x100))/0x7)+parseInt(_0x58e5a0(0xfc))/0x8*(parseInt(_0x58e5a0(0x111))/0x9)+-parseInt(_0x58e5a0(0xf7))/0xa+-parseInt(_0x58e5a0(0xfd))/0xb;if(_0x1e0ecd===_0xb1df0d)break;else _0x35f710['push'](_0x35f710['shift']());}catch(_0x5b7dfe){_0x35f710['push'](_0x35f710['shift']());}}}(_0x45f8,0x8d35c));import{Plugin as _0x1e64f6}from'ckeditor5/src/core.js';function _0x1e99(_0x11004b,_0x2faa19){const _0x45f893=_0x45f8();return _0x1e99=function(_0x1e998a,_0x306c64){_0x1e998a=_0x1e998a-0xf7;let _0x20fd64=_0x45f893[_0x1e998a];return _0x20fd64;},_0x1e99(_0x11004b,_0x2faa19);}import _0x23d81b from'./comments/commentsediting.js';export default class s extends _0x1e64f6{static get[_0x3c6a41(0xf8)](){const _0xa77972=_0x3c6a41;return _0xa77972(0x114);}static get[_0x3c6a41(0x110)](){return!0x0;}static get[_0x3c6a41(0x115)](){return!0x0;}static get[_0x3c6a41(0xfe)](){return[_0x23d81b];}constructor(_0x4b24cb){const _0x54d39e=_0x3c6a41;super(_0x4b24cb),this[_0x54d39e(0x112)](_0x54d39e(0xfb),!0x1),this['on'](_0x54d39e(0x106),(_0x52295b,_0x37f9c8,_0x11cf10)=>{const _0x2fa32c=_0x54d39e;_0x11cf10?this[_0x2fa32c(0x120)]():this[_0x2fa32c(0x125)]();});}[_0x3c6a41(0x101)](){const _0x32c39c=_0x3c6a41;!this[_0x32c39c(0xfb)]&&this[_0x32c39c(0x117)][_0x32c39c(0x11f)][_0x32c39c(0x10c)](_0x32c39c(0x11e))&&(this[_0x32c39c(0xfb)]=!0x0);}[_0x3c6a41(0x120)](){const _0x19203d=_0x3c6a41;for(const [_0x440b47,_0x12eb2b]of this[_0x19203d(0x117)][_0x19203d(0x123)])_0x12eb2b[_0x19203d(0x113)]&&_0x19203d(0x105)!==_0x440b47&&_0x12eb2b[_0x19203d(0x109)](_0x19203d(0x119));(this[_0x19203d(0x117)][_0x19203d(0x10b)][_0x19203d(0x116)](_0x19203d(0x122))&&this[_0x19203d(0x117)][_0x19203d(0x10b)][_0x19203d(0x10c)](_0x19203d(0x122))[_0x19203d(0x109)](_0x19203d(0x119)),this[_0x19203d(0x117)][_0x19203d(0x10b)][_0x19203d(0x116)](_0x19203d(0x11c)))&&this[_0x19203d(0x117)][_0x19203d(0x10b)][_0x19203d(0x10c)](_0x19203d(0x11c))[_0x19203d(0x109)](_0x19203d(0x119));this[_0x19203d(0x117)][_0x19203d(0x123)][_0x19203d(0x10c)](_0x19203d(0x104))?.[_0x19203d(0x109)](_0x19203d(0x119));const _0x7b4503=this[_0x19203d(0x117)][_0x19203d(0x11a)][_0x19203d(0x10d)][_0x19203d(0x11d)];this[_0x19203d(0x10a)](_0x7b4503,_0x19203d(0xff),_0x150f0e=>_0x150f0e[_0x19203d(0x11b)](),{'priority':_0x19203d(0x102)}),this[_0x19203d(0x10a)](_0x7b4503,_0x19203d(0x108),_0x511669=>_0x511669[_0x19203d(0x11b)](),{'priority':_0x19203d(0x102)}),this[_0x19203d(0x10a)](_0x7b4503,_0x19203d(0x118),_0x36953a=>_0x36953a[_0x19203d(0x11b)](),{'priority':_0x19203d(0x102)});}[_0x3c6a41(0x125)](){const _0x50bb1a=_0x3c6a41;for(const [_0x188ee0,_0x5af109]of this[_0x50bb1a(0x117)][_0x50bb1a(0x123)])_0x5af109[_0x50bb1a(0x113)]&&_0x50bb1a(0x105)!==_0x188ee0&&_0x5af109[_0x50bb1a(0x103)](_0x50bb1a(0x119));this[_0x50bb1a(0x117)][_0x50bb1a(0x10b)][_0x50bb1a(0x116)](_0x50bb1a(0x11c))&&this[_0x50bb1a(0x117)][_0x50bb1a(0x10b)][_0x50bb1a(0x10c)](_0x50bb1a(0x11c))[_0x50bb1a(0x103)](_0x50bb1a(0x119)),this[_0x50bb1a(0x117)][_0x50bb1a(0x123)][_0x50bb1a(0x10c)](_0x50bb1a(0x104))?.[_0x50bb1a(0x103)](_0x50bb1a(0x119)),this[_0x50bb1a(0x107)](this[_0x50bb1a(0x117)][_0x50bb1a(0x11a)][_0x50bb1a(0x10d)][_0x50bb1a(0x11d)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4d6ec4,_0x4f9348){var _0x10846b=_0x2f2d,_0x59d691=_0x4d6ec4();while(!![]){try{var _0x153297=parseInt(_0x10846b(0x9f))/0x1+parseInt(_0x10846b(0x9c))/0x2*(parseInt(_0x10846b(0xa3))/0x3)+-parseInt(_0x10846b(0xa1))/0x4+parseInt(_0x10846b(0xa0))/0x5+-parseInt(_0x10846b(0xa4))/0x6*(-parseInt(_0x10846b(0x9d))/0x7)+parseInt(_0x10846b(0x9e))/0x8*(parseInt(_0x10846b(0xa2))/0x9)+-parseInt(_0x10846b(0x9b))/0xa;if(_0x153297===_0x4f9348)break;else _0x59d691['push'](_0x59d691['shift']());}catch(_0x4ae470){_0x59d691['push'](_0x59d691['shift']());}}}(_0x2865,0xe2181));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';function _0x2f2d(_0x463a2c,_0x21ca08){var _0x286585=_0x2865();return _0x2f2d=function(_0x2f2d4b,_0x420af8){_0x2f2d4b=_0x2f2d4b-0x9b;var _0x2b703a=_0x286585[_0x2f2d4b];return _0x2b703a;},_0x2f2d(_0x463a2c,_0x21ca08);}export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as Sidebar}from'./annotations/sidebar.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';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';function _0x2865(){var _0x1e47c6=['27162DNhDgi','39131520zKrwtd','2GdaDHQ','1351IeeYEF','11418616maTFrL','1609001ulmjwg','5187455yiovEP','813356uqBEOj','9CtrbUX','285126iWeEWo'];_0x2865=function(){return _0x1e47c6;};return _0x2865();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2dc1ec,_0x2741db,_0x52941f){const t=_0x2dc1ec['t'];switch(_0x2741db){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'},_0x52941f);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'},_0x52941f);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'},_0x52941f);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'},_0x52941f);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x52941f);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'},_0x52941f);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'},_0x52941f);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'},_0x52941f);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
|
-
|
|
23
|
+
(function(_0x1a8cc7,_0xb920e8){const _0x12ff50=_0x15e3,_0x3c53f6=_0x1a8cc7();while(!![]){try{const _0x3ef6e1=-parseInt(_0x12ff50(0x99))/0x1+-parseInt(_0x12ff50(0xa3))/0x2+parseInt(_0x12ff50(0x97))/0x3*(-parseInt(_0x12ff50(0x94))/0x4)+parseInt(_0x12ff50(0xa0))/0x5+parseInt(_0x12ff50(0x9c))/0x6+parseInt(_0x12ff50(0x95))/0x7*(parseInt(_0x12ff50(0x9b))/0x8)+parseInt(_0x12ff50(0x9f))/0x9;if(_0x3ef6e1===_0xb920e8)break;else _0x3c53f6['push'](_0x3c53f6['shift']());}catch(_0x200be8){_0x3c53f6['push'](_0x3c53f6['shift']());}}}(_0x3fe7,0xbe674));function _0x15e3(_0x32b788,_0x286a8b){const _0x3fe78e=_0x3fe7();return _0x15e3=function(_0x15e3f3,_0x2b11da){_0x15e3f3=_0x15e3f3-0x92;let _0x47114f=_0x3fe78e[_0x15e3f3];return _0x47114f;},_0x15e3(_0x32b788,_0x286a8b);}import{throttle as _0x5c8607}from'es-toolkit/compat';export default function Lt(_0x28af9f){const _0x98597f=_0x5c8607(_0x28af9f,0x1e),_0x2cff76=new MutationObserver(_0x245aa0=>{const _0x1a5280=_0x15e3;for(const _0x4775d6 of _0x245aa0)(_0x1a5280(0xa1)==_0x4775d6[_0x1a5280(0x92)]&&_0x1a5280(0x9e)==_0x4775d6[_0x1a5280(0x98)]||_0x1a5280(0x96)==_0x4775d6[_0x1a5280(0x92)]||_0x1a5280(0x9d)==_0x4775d6[_0x1a5280(0x92)])&&_0x98597f();});return{'attach'(_0x77d9f8){const _0xdfb967=_0x15e3;_0x2cff76[_0xdfb967(0xa2)](_0x77d9f8,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x232842=_0x15e3;_0x2cff76[_0x232842(0x93)](),_0x98597f[_0x232842(0x9a)]();}};}function _0x3fe7(){const _0x3529c7=['class','19959678VVYMiX','1663715xybkRV','attributes','observe','1531764XpyQTx','type','disconnect','252276bZfnUU','221060xrUdfT','childList','69xEcqBd','attributeName','937278TsRGvr','cancel','152qtfpkU','4698804LNmLZE','characterData'];_0x3fe7=function(){return _0x3529c7;};return _0x3fe7();}
|