@ckeditor/ckeditor5-comments 47.4.0-alpha.4 → 47.4.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x597359=_0x2f31;(function(_0xe7a4d2,_0x481eee){const _0x365c7d=_0x2f31,_0xfb4ccb=_0xe7a4d2();while(!![]){try{const _0x419f79=-parseInt(_0x365c7d(0xb2))/0x1*(-parseInt(_0x365c7d(0x73))/0x2)+parseInt(_0x365c7d(0xb7))/0x3*(-parseInt(_0x365c7d(0x8b))/0x4)+parseInt(_0x365c7d(0x84))/0x5+-parseInt(_0x365c7d(0x96))/0x6*(-parseInt(_0x365c7d(0xc6))/0x7)+-parseInt(_0x365c7d(0xd1))/0x8*(-parseInt(_0x365c7d(0x90))/0x9)+-parseInt(_0x365c7d(0xd0))/0xa*(parseInt(_0x365c7d(0xa2))/0xb)+-parseInt(_0x365c7d(0xa8))/0xc;if(_0x419f79===_0x481eee)break;else _0xfb4ccb['push'](_0xfb4ccb['shift']());}catch(_0x14a865){_0xfb4ccb['push'](_0xfb4ccb['shift']());}}}(_0x128e,0xf4106));import{View as _0x290f9d,FocusCycler as _0x3c09e1}from'ckeditor5/src/ui.js';function _0x2f31(_0x1f68b3,_0x4c3bbf){const _0x128e7e=_0x128e();return _0x2f31=function(_0x2f31fb,_0x7d1e63){_0x2f31fb=_0x2f31fb-0x73;let _0x249509=_0x128e7e[_0x2f31fb];return _0x249509;},_0x2f31(_0x1f68b3,_0x4c3bbf);}import{diff as _0x5d0353,Collection as _0x30ea97,FocusTracker as _0x362a81,KeystrokeHandler as _0x38a66a}from'ckeditor5/src/utils.js';import{getTranslation as _0x5cb98b}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x491ab0}from'./collapsedcommentsview.js';export class CommentsListView extends _0x290f9d{[_0x597359(0x87)];[_0x597359(0x8e)];[_0x597359(0xbc)];[_0x597359(0xa5)];[_0x597359(0xbf)];[_0x597359(0x82)];[_0x597359(0xc4)];[_0x597359(0x81)];constructor(_0xa05bd0,_0x17ea92,_0x1a9ab8){const _0x377e27=_0x597359;super(_0xa05bd0);const _0x1dab0d=this[_0x377e27(0xb9)];this[_0x377e27(0xd2)](_0x377e27(0x93),!0x1),this[_0x377e27(0xd2)](_0x377e27(0xcf),_0x17ea92[_0x377e27(0xce)][_0x377e27(0xcf)]),this[_0x377e27(0xd2)](_0x377e27(0x7e),!0x1),this[_0x377e27(0x82)]=_0x17ea92,this[_0x377e27(0xc4)]=_0x1a9ab8,this[_0x377e27(0x87)]=this[_0x377e27(0xa9)](),this[_0x377e27(0x89)]=this[_0x377e27(0xa9)](),this[_0x377e27(0x8e)]=null,this[_0x377e27(0xbc)]=new _0x362a81(),this[_0x377e27(0xa5)]=new _0x38a66a(),this[_0x377e27(0xbf)]=new _0x3c09e1({'focusables':this[_0x377e27(0x87)],'focusTracker':this[_0x377e27(0xbc)],'keystrokeHandler':this[_0x377e27(0xa5)],'keystrokeHandlerOptions':{'filter':_0x1084f9=>this[_0x377e27(0x87)][_0x377e27(0x9b)](_0x1572c4=>_0x1572c4[_0x377e27(0x75)])[_0x377e27(0xcd)](_0x1084f9[_0x377e27(0xcb)])},'actions':{'focusPrevious':_0x377e27(0x97),'focusNext':_0x377e27(0xcc)}}),this[_0x377e27(0x81)]=new _0x491ab0(_0xa05bd0),this[_0x377e27(0x81)][_0x377e27(0xc3)](_0x377e27(0x94))['to'](this,_0x377e27(0xcf),_0x24052d=>_0x24052d-this[_0x377e27(0xc4)][_0x377e27(0x77)]);for(const _0x52a188 of _0x17ea92[_0x377e27(0xce)])this[_0x377e27(0xae)](_0x52a188);this[_0x377e27(0xc0)](),this[_0x377e27(0x95)](_0x17ea92[_0x377e27(0xce)],_0x377e27(0xc7),(_0x256dfd,_0x2cfcd7)=>{const _0x52bef2=_0x377e27,_0xb07ac2=this[_0x52bef2(0x7a)](_0x2cfcd7);this[_0x52bef2(0xcf)]++,this[_0x52bef2(0xae)](_0x2cfcd7,_0xb07ac2),this[_0x52bef2(0x91)]();}),this[_0x377e27(0x95)](_0x17ea92[_0x377e27(0xce)],_0x377e27(0x9e),(_0xeb5994,_0x355dec)=>{const _0x4db4a0=_0x377e27;this[_0x4db4a0(0xcf)]--,this[_0x4db4a0(0xba)](_0x355dec),this[_0x4db4a0(0x91)]();}),this[_0x377e27(0x95)](_0x17ea92,_0x377e27(0x80),()=>this[_0x377e27(0x91)]()),this[_0x377e27(0x95)](_0x17ea92,_0x377e27(0xab),()=>this[_0x377e27(0xc0)]()),this['on'](_0x377e27(0x9d),()=>this[_0x377e27(0x91)]()),this['on'](_0x377e27(0xc1),()=>this[_0x377e27(0x91)]()),this[_0x377e27(0xb6)]({'tag':'ul','attributes':{'class':[_0x377e27(0x9f),_0x1dab0d['if'](_0x377e27(0xcf),_0x377e27(0x76),_0x411b1c=>!_0x411b1c)],'aria-label':_0x5cb98b(_0xa05bd0,_0x377e27(0x86))},'children':this[_0x377e27(0x89)]});}get[_0x597359(0xca)](){const _0x523dc7=_0x597359;return this[_0x523dc7(0x82)][_0x523dc7(0xa4)]>this[_0x523dc7(0xc4)][_0x523dc7(0xd4)]&&!this[_0x523dc7(0x7e)]&&!this[_0x523dc7(0x93)];}[_0x597359(0xa1)](){const _0x2747e2=_0x597359;super[_0x2747e2(0xa1)](),this[_0x2747e2(0x91)](),this[_0x2747e2(0x98)]();}[_0x597359(0xac)](_0x344b54){const _0x14cb36=_0x597359;-0x1===_0x344b54?this[_0x14cb36(0xbf)][_0x14cb36(0xa0)]():this[_0x14cb36(0xbf)][_0x14cb36(0xc8)]();}[_0x597359(0xaf)](){const _0x5495fd=_0x597359;this[_0x5495fd(0x81)][_0x5495fd(0xaf)]();for(const _0x19b141 of this[_0x5495fd(0x87)])_0x19b141[_0x5495fd(0xaf)]();super[_0x5495fd(0xaf)]();}[_0x597359(0x91)](){const _0x152375=_0x597359;this[_0x152375(0xca)]?this[_0x152375(0xc9)]():this[_0x152375(0xb0)]();}[_0x597359(0xae)](_0x136427,_0x1f5c31){const _0x120b47=_0x597359,_0x3306d9=new this[(_0x120b47(0xc4))][(_0x120b47(0x78))](this[_0x120b47(0xad)],_0x136427,{'maxCommentCharsWhenCollapsed':this[_0x120b47(0xc4)][_0x120b47(0xb1)],'formatDateTime':this[_0x120b47(0xc4)][_0x120b47(0x79)],'editorConfig':this[_0x120b47(0xc4)][_0x120b47(0x9c)]});_0x3306d9[_0x120b47(0x92)]=_0x136427['id'],_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xbd))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0x7d))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xaa))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xc5))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0x8d))['to'](this),this[_0x120b47(0x95)](_0x3306d9,_0x120b47(0xb8),()=>this[_0x120b47(0xbe)]()),this[_0x120b47(0x87)][_0x120b47(0xc7)](_0x3306d9,_0x1f5c31);}[_0x597359(0x7a)](_0x1be63a){const _0x1bff7e=_0x597359,_0x55bc84=this[_0x1bff7e(0x82)][_0x1bff7e(0xb5)](_0x1be63a);return this[_0x1bff7e(0x8e)]?this[_0x1bff7e(0x8e)][_0x1bff7e(0x7f)]>_0x1be63a[_0x1bff7e(0x7f)]?_0x55bc84-0x1:_0x55bc84:_0x55bc84-0x1;}[_0x597359(0xc0)](){const _0x4e6b2c=_0x597359;if(this[_0x4e6b2c(0x82)][_0x4e6b2c(0x8f)]&&this[_0x4e6b2c(0x82)][_0x4e6b2c(0x99)]){const _0xc8a3ed={'id':_0x4e6b2c(0xbb),'author':this[_0x4e6b2c(0x82)][_0x4e6b2c(0x8f)],'authoredAt':this[_0x4e6b2c(0x82)][_0x4e6b2c(0x99)],'content':_0x5cb98b(this[_0x4e6b2c(0xad)],_0x4e6b2c(0xb4)),'attributes':{}};this[_0x4e6b2c(0x8e)]=new this[(_0x4e6b2c(0xc4))][(_0x4e6b2c(0x78))](this[_0x4e6b2c(0xad)],_0xc8a3ed,{'maxCommentCharsWhenCollapsed':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0xb1)],'formatDateTime':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0x79)],'editorConfig':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0x9c)],'isSystemComment':!0x0}),this[_0x4e6b2c(0x87)][_0x4e6b2c(0xc7)](this[_0x4e6b2c(0x8e)],this[_0x4e6b2c(0x82)][_0x4e6b2c(0xb5)](_0xc8a3ed));}else this[_0x4e6b2c(0x8e)]&&(this[_0x4e6b2c(0x87)][_0x4e6b2c(0x9e)](this[_0x4e6b2c(0x8e)]),this[_0x4e6b2c(0x8e)][_0x4e6b2c(0xaf)](),this[_0x4e6b2c(0x8e)]=null);this[_0x4e6b2c(0x91)]();}[_0x597359(0xba)](_0x3353cc){const _0x52cd77=_0x597359,_0x225416=this[_0x52cd77(0x87)][_0x52cd77(0x9e)](_0x3353cc['id']);this[_0x52cd77(0x83)](_0x225416),_0x225416[_0x52cd77(0x88)]&&this[_0x52cd77(0xbe)](),_0x225416[_0x52cd77(0xaf)]();}[_0x597359(0xbe)](){const _0x166120=_0x597359;this[_0x166120(0x93)]=Array[_0x166120(0xb3)](this[_0x166120(0x87)])[_0x166120(0x8a)](_0x2369d6=>_0x2369d6[_0x166120(0x88)]);}[_0x597359(0xc9)](){const _0x432e19=_0x597359,_0x10bef3=function(_0x3781fc){const _0x2583b5=_0x2f31,_0x24865c=new _0x30ea97();for(const _0x4ac890 of _0x3781fc)_0x24865c[_0x2583b5(0xc7)](_0x4ac890);return _0x24865c;}(this[_0x432e19(0x87)]),_0xb04677=this[_0x432e19(0x81)][_0x432e19(0x94)];for(let _0x597e1f=0x1;_0x597e1f<=_0xb04677;_0x597e1f++)_0x10bef3[_0x432e19(0x9e)](0x1);for(const _0x217403 of _0x10bef3)_0x217403[_0x432e19(0xd3)]();_0xb04677>0x0&&_0x10bef3[_0x432e19(0xc7)](this[_0x432e19(0x81)],0x1),ns(_0x5d0353(Array[_0x432e19(0xb3)](this[_0x432e19(0x89)]),Array[_0x432e19(0xb3)](_0x10bef3)),this[_0x432e19(0x89)],_0x10bef3);}[_0x597359(0xb0)](){const _0x11ae34=_0x597359;ns(_0x5d0353(Array[_0x11ae34(0xb3)](this[_0x11ae34(0x89)]),Array[_0x11ae34(0xb3)](this[_0x11ae34(0x87)])),this[_0x11ae34(0x89)],this[_0x11ae34(0x87)]);for(const _0x4cd00d of this[_0x11ae34(0x89)])_0x4cd00d[_0x11ae34(0xc2)]();}[_0x597359(0x98)](){const _0x1181c6=_0x597359;this[_0x1181c6(0x87)][_0x1181c6(0x7c)](_0x404928=>{const _0x52388b=_0x1181c6;this[_0x52388b(0xbc)][_0x52388b(0xc7)](_0x404928[_0x52388b(0x75)]),this[_0x52388b(0xa5)][_0x52388b(0x95)](_0x404928[_0x52388b(0x75)]);}),this[_0x1181c6(0x87)]['on'](_0x1181c6(0xd5),(_0x436ef6,_0x957a72)=>{const _0x21d1c0=_0x1181c6;for(const _0xadba3d of _0x957a72[_0x21d1c0(0x9a)])this[_0x21d1c0(0xbc)][_0x21d1c0(0x9e)](_0xadba3d[_0x21d1c0(0x75)]),this[_0x21d1c0(0xa5)][_0x21d1c0(0x83)](_0xadba3d[_0x21d1c0(0x75)]);for(const _0x29bc19 of Array[_0x21d1c0(0xb3)](_0x957a72[_0x21d1c0(0xa6)])[_0x21d1c0(0x85)]())this[_0x21d1c0(0xbc)][_0x21d1c0(0xc7)](_0x29bc19[_0x21d1c0(0x75)]),this[_0x21d1c0(0xa5)][_0x21d1c0(0x95)](_0x29bc19[_0x21d1c0(0x75)]);});}}function ns(_0xaa8909,_0x2be6ef,_0x520719){const _0x54ca9f=_0x597359;let _0x1be9b4=0x0;for(const _0x4f8c4b of _0xaa8909)switch(_0x4f8c4b){case _0x54ca9f(0xa7):_0x2be6ef[_0x54ca9f(0xc7)](_0x520719[_0x54ca9f(0x74)](_0x1be9b4),_0x1be9b4),_0x1be9b4++;break;case _0x54ca9f(0x7b):_0x2be6ef[_0x54ca9f(0x9e)](_0x1be9b4);break;case _0x54ca9f(0xa3):_0x1be9b4++;}}function _0x128e(){const _0x507fa2=['22FFrsvf','equal','weight','keystrokes','added','insert','9165528kCjJcq','createCollection','resolveCommentThread','change:isResolved','focus','locale','_handleNewCommentModel','destroy','_rearrangeExpand','maxCommentCharsWhenCollapsed','742048fmcxdv','from','Marked\x20as\x20resolved','_findOptimalIndex','setTemplate','393riWtuC','change:isEditMode','bindTemplate','_handleRemoveCommentModel','resolved','focusTracker','removeComment','_updateHasDirtyComment','focusCycler','_handleInfoComment','change:hasDirtyComment','expand','bind','_config','editorReady','7ayXMoJ','add','focusFirst','_rearrangeCollapse','_shouldCollapse','target','arrowdown','includes','comments','length','5648870VeJACT','48nnTOmO','set','collapse','maxThreadTotalWeight','change','4CNzhNg','get','element','ck-hidden','maxCommentsWhenCollapsed','CommentView','formatDateTime','_calculatePosition','delete','forEach','updateComment','isActive','authoredAt','commentUpdated','_collapsedCommentsView','_model','stopListening','7620310JSWtkz','reverse','Thread\x20comments','commentViews','isEditMode','visibleViews','some','18972LgZxRU','delegate','editorDestroyed','resolvedCommentView','resolvedBy','51201cYlQLa','refreshVisibleViews','viewUid','hasDirtyComment','count','listenTo','2833770AskrIM','arrowup','_setupKeyboardNavigation','resolvedAt','removed','map','editorConfig','change:isActive','remove','ck-thread__comments','focusLast','render'];_0x128e=function(){return _0x507fa2;};return _0x128e();}
|
|
23
|
+
const _0x97d840=_0x51ea;(function(_0x131108,_0x5efa84){const _0xa435c0=_0x51ea,_0x2c3207=_0x131108();while(!![]){try{const _0x53691c=parseInt(_0xa435c0(0x14f))/0x1*(-parseInt(_0xa435c0(0x177))/0x2)+-parseInt(_0xa435c0(0x17c))/0x3*(parseInt(_0xa435c0(0x1a0))/0x4)+-parseInt(_0xa435c0(0x19f))/0x5*(-parseInt(_0xa435c0(0x163))/0x6)+parseInt(_0xa435c0(0x19c))/0x7+-parseInt(_0xa435c0(0x1ac))/0x8+parseInt(_0xa435c0(0x152))/0x9+parseInt(_0xa435c0(0x192))/0xa;if(_0x53691c===_0x5efa84)break;else _0x2c3207['push'](_0x2c3207['shift']());}catch(_0x37f8e1){_0x2c3207['push'](_0x2c3207['shift']());}}}(_0x4ce2,0x3c6f0));function _0x4ce2(){const _0x138d7c=['_rearrangeExpand','resolvedBy','8938640VUKYtv','delegate','render','set','focus','added','arrowup','maxCommentCharsWhenCollapsed','insert','updateComment','1523585xbcTnU','focusCycler','formatDateTime','344680wzhroY','200XtpjCn','_handleNewCommentModel','removed','keystrokes','authoredAt','resolvedCommentView','resolvedAt','destroy','remove','from','CommentView','includes','3024832SNRqop','bindTemplate','hasDirtyComment','focusFirst','9qERQTJ','Marked\x20as\x20resolved','change:isActive','3158532CyNpjy','arrowdown','setTemplate','visibleViews','weight','isActive','_rearrangeCollapse','editorDestroyed','commentViews','_updateHasDirtyComment','target','_handleInfoComment','_model','_collapsedCommentsView','collapse','_config','ck-thread__comments','6ItofQr','change','_handleRemoveCommentModel','bind','listenTo','resolveCommentThread','_calculatePosition','isEditMode','editorReady','length','focusTracker','change:hasDirtyComment','some','ck-hidden','_shouldCollapse','equal','maxThreadTotalWeight','add','_findOptimalIndex','focusLast','97914lGSzuR','locale','resolved','forEach','change:isResolved','27909kVUQSZ','viewUid','Thread\x20comments','_setupKeyboardNavigation','editorConfig','comments','stopListening','reverse','removeComment','get','expand','map','element','delete','commentUpdated','maxCommentsWhenCollapsed','count','change:isEditMode','createCollection','refreshVisibleViews'];_0x4ce2=function(){return _0x138d7c;};return _0x4ce2();}import{View as _0x3f1838,FocusCycler as _0x4ada8c}from'ckeditor5/src/ui.js';function _0x51ea(_0x5de4e3,_0x3040ad){const _0x4ce2ce=_0x4ce2();return _0x51ea=function(_0x51eafe,_0x445e4c){_0x51eafe=_0x51eafe-0x14f;let _0x139dc9=_0x4ce2ce[_0x51eafe];return _0x139dc9;},_0x51ea(_0x5de4e3,_0x3040ad);}import{diff as _0x57123f,Collection as _0xa5ff06,FocusTracker as _0x29cc54,KeystrokeHandler as _0xc07026}from'ckeditor5/src/utils.js';import{getTranslation as _0x506e67}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x79c3a4}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3f1838{[_0x97d840(0x15a)];[_0x97d840(0x1a5)];[_0x97d840(0x16d)];[_0x97d840(0x1a3)];[_0x97d840(0x19d)];[_0x97d840(0x15e)];[_0x97d840(0x161)];[_0x97d840(0x15f)];constructor(_0x56eda4,_0x2b1a68,_0x557462){const _0x5b3c57=_0x97d840;super(_0x56eda4);const _0x53864f=this[_0x5b3c57(0x1ad)];this[_0x5b3c57(0x195)](_0x5b3c57(0x1ae),!0x1),this[_0x5b3c57(0x195)](_0x5b3c57(0x16c),_0x2b1a68[_0x5b3c57(0x181)][_0x5b3c57(0x16c)]),this[_0x5b3c57(0x195)](_0x5b3c57(0x157),!0x1),this[_0x5b3c57(0x15e)]=_0x2b1a68,this[_0x5b3c57(0x161)]=_0x557462,this[_0x5b3c57(0x15a)]=this[_0x5b3c57(0x18e)](),this[_0x5b3c57(0x155)]=this[_0x5b3c57(0x18e)](),this[_0x5b3c57(0x1a5)]=null,this[_0x5b3c57(0x16d)]=new _0x29cc54(),this[_0x5b3c57(0x1a3)]=new _0xc07026(),this[_0x5b3c57(0x19d)]=new _0x4ada8c({'focusables':this[_0x5b3c57(0x15a)],'focusTracker':this[_0x5b3c57(0x16d)],'keystrokeHandler':this[_0x5b3c57(0x1a3)],'keystrokeHandlerOptions':{'filter':_0x407b83=>this[_0x5b3c57(0x15a)][_0x5b3c57(0x187)](_0x1164ea=>_0x1164ea[_0x5b3c57(0x188)])[_0x5b3c57(0x1ab)](_0x407b83[_0x5b3c57(0x15c)])},'actions':{'focusPrevious':_0x5b3c57(0x198),'focusNext':_0x5b3c57(0x153)}}),this[_0x5b3c57(0x15f)]=new _0x79c3a4(_0x56eda4),this[_0x5b3c57(0x15f)][_0x5b3c57(0x166)](_0x5b3c57(0x18c))['to'](this,_0x5b3c57(0x16c),_0x440592=>_0x440592-this[_0x5b3c57(0x161)][_0x5b3c57(0x18b)]);for(const _0x56ffd5 of _0x2b1a68[_0x5b3c57(0x181)])this[_0x5b3c57(0x1a1)](_0x56ffd5);this[_0x5b3c57(0x15d)](),this[_0x5b3c57(0x167)](_0x2b1a68[_0x5b3c57(0x181)],_0x5b3c57(0x174),(_0x3c52ef,_0x4bb25d)=>{const _0x57f0b3=_0x5b3c57,_0x2bc98f=this[_0x57f0b3(0x169)](_0x4bb25d);this[_0x57f0b3(0x16c)]++,this[_0x57f0b3(0x1a1)](_0x4bb25d,_0x2bc98f),this[_0x57f0b3(0x18f)]();}),this[_0x5b3c57(0x167)](_0x2b1a68[_0x5b3c57(0x181)],_0x5b3c57(0x1a8),(_0x3c9f37,_0x541158)=>{const _0x4a5b41=_0x5b3c57;this[_0x4a5b41(0x16c)]--,this[_0x4a5b41(0x165)](_0x541158),this[_0x4a5b41(0x18f)]();}),this[_0x5b3c57(0x167)](_0x2b1a68,_0x5b3c57(0x18a),()=>this[_0x5b3c57(0x18f)]()),this[_0x5b3c57(0x167)](_0x2b1a68,_0x5b3c57(0x17b),()=>this[_0x5b3c57(0x15d)]()),this['on'](_0x5b3c57(0x151),()=>this[_0x5b3c57(0x18f)]()),this['on'](_0x5b3c57(0x16e),()=>this[_0x5b3c57(0x18f)]()),this[_0x5b3c57(0x154)]({'tag':'ul','attributes':{'class':[_0x5b3c57(0x162),_0x53864f['if'](_0x5b3c57(0x16c),_0x5b3c57(0x170),_0x395ed9=>!_0x395ed9)],'aria-label':_0x506e67(_0x56eda4,_0x5b3c57(0x17e))},'children':this[_0x5b3c57(0x155)]});}get[_0x97d840(0x171)](){const _0xb2e409=_0x97d840;return this[_0xb2e409(0x15e)][_0xb2e409(0x156)]>this[_0xb2e409(0x161)][_0xb2e409(0x173)]&&!this[_0xb2e409(0x157)]&&!this[_0xb2e409(0x1ae)];}[_0x97d840(0x194)](){const _0x5528d6=_0x97d840;super[_0x5528d6(0x194)](),this[_0x5528d6(0x18f)](),this[_0x5528d6(0x17f)]();}[_0x97d840(0x196)](_0xa265ae){const _0x32ac75=_0x97d840;-0x1===_0xa265ae?this[_0x32ac75(0x19d)][_0x32ac75(0x176)]():this[_0x32ac75(0x19d)][_0x32ac75(0x1af)]();}[_0x97d840(0x1a7)](){const _0x4047f4=_0x97d840;this[_0x4047f4(0x15f)][_0x4047f4(0x1a7)]();for(const _0x1c8c6c of this[_0x4047f4(0x15a)])_0x1c8c6c[_0x4047f4(0x1a7)]();super[_0x4047f4(0x1a7)]();}[_0x97d840(0x18f)](){const _0x3f8867=_0x97d840;this[_0x3f8867(0x171)]?this[_0x3f8867(0x158)]():this[_0x3f8867(0x190)]();}[_0x97d840(0x1a1)](_0x3227b1,_0xb7196f){const _0x226c04=_0x97d840,_0xdf6057=new this[(_0x226c04(0x161))][(_0x226c04(0x1aa))](this[_0x226c04(0x178)],_0x3227b1,{'maxCommentCharsWhenCollapsed':this[_0x226c04(0x161)][_0x226c04(0x199)],'formatDateTime':this[_0x226c04(0x161)][_0x226c04(0x19e)],'editorConfig':this[_0x226c04(0x161)][_0x226c04(0x180)]});_0xdf6057[_0x226c04(0x17d)]=_0x3227b1['id'],_0xdf6057[_0x226c04(0x193)](_0x226c04(0x184))['to'](this),_0xdf6057[_0x226c04(0x193)](_0x226c04(0x19b))['to'](this),_0xdf6057[_0x226c04(0x193)](_0x226c04(0x168))['to'](this),_0xdf6057[_0x226c04(0x193)](_0x226c04(0x16b))['to'](this),_0xdf6057[_0x226c04(0x193)](_0x226c04(0x159))['to'](this),this[_0x226c04(0x167)](_0xdf6057,_0x226c04(0x18d),()=>this[_0x226c04(0x15b)]()),this[_0x226c04(0x15a)][_0x226c04(0x174)](_0xdf6057,_0xb7196f);}[_0x97d840(0x169)](_0x2c2f8e){const _0x1048fc=_0x97d840,_0x48503a=this[_0x1048fc(0x15e)][_0x1048fc(0x175)](_0x2c2f8e);return this[_0x1048fc(0x1a5)]?this[_0x1048fc(0x1a5)][_0x1048fc(0x1a4)]>_0x2c2f8e[_0x1048fc(0x1a4)]?_0x48503a-0x1:_0x48503a:_0x48503a-0x1;}[_0x97d840(0x15d)](){const _0x2217fb=_0x97d840;if(this[_0x2217fb(0x15e)][_0x2217fb(0x191)]&&this[_0x2217fb(0x15e)][_0x2217fb(0x1a6)]){const _0x3152db={'id':_0x2217fb(0x179),'author':this[_0x2217fb(0x15e)][_0x2217fb(0x191)],'authoredAt':this[_0x2217fb(0x15e)][_0x2217fb(0x1a6)],'content':_0x506e67(this[_0x2217fb(0x178)],_0x2217fb(0x150)),'attributes':{}};this[_0x2217fb(0x1a5)]=new this[(_0x2217fb(0x161))][(_0x2217fb(0x1aa))](this[_0x2217fb(0x178)],_0x3152db,{'maxCommentCharsWhenCollapsed':this[_0x2217fb(0x161)][_0x2217fb(0x199)],'formatDateTime':this[_0x2217fb(0x161)][_0x2217fb(0x19e)],'editorConfig':this[_0x2217fb(0x161)][_0x2217fb(0x180)],'isSystemComment':!0x0}),this[_0x2217fb(0x15a)][_0x2217fb(0x174)](this[_0x2217fb(0x1a5)],this[_0x2217fb(0x15e)][_0x2217fb(0x175)](_0x3152db));}else this[_0x2217fb(0x1a5)]&&(this[_0x2217fb(0x15a)][_0x2217fb(0x1a8)](this[_0x2217fb(0x1a5)]),this[_0x2217fb(0x1a5)][_0x2217fb(0x1a7)](),this[_0x2217fb(0x1a5)]=null);this[_0x2217fb(0x18f)]();}[_0x97d840(0x165)](_0x5e2fd0){const _0x5b4703=_0x97d840,_0x1018cc=this[_0x5b4703(0x15a)][_0x5b4703(0x1a8)](_0x5e2fd0['id']);this[_0x5b4703(0x182)](_0x1018cc),_0x1018cc[_0x5b4703(0x16a)]&&this[_0x5b4703(0x15b)](),_0x1018cc[_0x5b4703(0x1a7)]();}[_0x97d840(0x15b)](){const _0x506392=_0x97d840;this[_0x506392(0x1ae)]=Array[_0x506392(0x1a9)](this[_0x506392(0x15a)])[_0x506392(0x16f)](_0x27c7d6=>_0x27c7d6[_0x506392(0x16a)]);}[_0x97d840(0x158)](){const _0x1ffd32=_0x97d840,_0x623b37=function(_0x2825bb){const _0x53334a=_0x51ea,_0x776ba4=new _0xa5ff06();for(const _0x56deac of _0x2825bb)_0x776ba4[_0x53334a(0x174)](_0x56deac);return _0x776ba4;}(this[_0x1ffd32(0x15a)]),_0x3f744f=this[_0x1ffd32(0x15f)][_0x1ffd32(0x18c)];for(let _0x15c692=0x1;_0x15c692<=_0x3f744f;_0x15c692++)_0x623b37[_0x1ffd32(0x1a8)](0x1);for(const _0x3ca402 of _0x623b37)_0x3ca402[_0x1ffd32(0x160)]();_0x3f744f>0x0&&_0x623b37[_0x1ffd32(0x174)](this[_0x1ffd32(0x15f)],0x1),ns(_0x57123f(Array[_0x1ffd32(0x1a9)](this[_0x1ffd32(0x155)]),Array[_0x1ffd32(0x1a9)](_0x623b37)),this[_0x1ffd32(0x155)],_0x623b37);}[_0x97d840(0x190)](){const _0x33f2e7=_0x97d840;ns(_0x57123f(Array[_0x33f2e7(0x1a9)](this[_0x33f2e7(0x155)]),Array[_0x33f2e7(0x1a9)](this[_0x33f2e7(0x15a)])),this[_0x33f2e7(0x155)],this[_0x33f2e7(0x15a)]);for(const _0x4fd0f1 of this[_0x33f2e7(0x155)])_0x4fd0f1[_0x33f2e7(0x186)]();}[_0x97d840(0x17f)](){const _0x39b3bf=_0x97d840;this[_0x39b3bf(0x15a)][_0x39b3bf(0x17a)](_0x1365c8=>{const _0xc3d0f1=_0x39b3bf;this[_0xc3d0f1(0x16d)][_0xc3d0f1(0x174)](_0x1365c8[_0xc3d0f1(0x188)]),this[_0xc3d0f1(0x1a3)][_0xc3d0f1(0x167)](_0x1365c8[_0xc3d0f1(0x188)]);}),this[_0x39b3bf(0x15a)]['on'](_0x39b3bf(0x164),(_0x5f1fad,_0x2ca751)=>{const _0x8e4487=_0x39b3bf;for(const _0x5578aa of _0x2ca751[_0x8e4487(0x1a2)])this[_0x8e4487(0x16d)][_0x8e4487(0x1a8)](_0x5578aa[_0x8e4487(0x188)]),this[_0x8e4487(0x1a3)][_0x8e4487(0x182)](_0x5578aa[_0x8e4487(0x188)]);for(const _0x4fcaf1 of Array[_0x8e4487(0x1a9)](_0x2ca751[_0x8e4487(0x197)])[_0x8e4487(0x183)]())this[_0x8e4487(0x16d)][_0x8e4487(0x174)](_0x4fcaf1[_0x8e4487(0x188)]),this[_0x8e4487(0x1a3)][_0x8e4487(0x167)](_0x4fcaf1[_0x8e4487(0x188)]);});}}function ns(_0x558f65,_0x118a1c,_0xef5585){const _0x468a47=_0x97d840;let _0x1c7753=0x0;for(const _0x49da66 of _0x558f65)switch(_0x49da66){case _0x468a47(0x19a):_0x118a1c[_0x468a47(0x174)](_0xef5585[_0x468a47(0x185)](_0x1c7753),_0x1c7753),_0x1c7753++;break;case _0x468a47(0x189):_0x118a1c[_0x468a47(0x1a8)](_0x1c7753);break;case _0x468a47(0x172):_0x1c7753++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2f3f06=_0x56e8;function _0x56e8(_0x347c45,_0x4ce0a7){const _0x28fcf8=_0x28fc();return _0x56e8=function(_0x56e80e,_0x4994d8){_0x56e80e=_0x56e80e-0xcf;let _0x3c67f6=_0x28fcf8[_0x56e80e];return _0x3c67f6;},_0x56e8(_0x347c45,_0x4ce0a7);}(function(_0x45b18c,_0x47173c){const _0x54e4c5=_0x56e8,_0xf4003f=_0x45b18c();while(!![]){try{const _0x1d84aa=-parseInt(_0x54e4c5(0xd6))/0x1*(-parseInt(_0x54e4c5(0xdc))/0x2)+parseInt(_0x54e4c5(0xd7))/0x3+-parseInt(_0x54e4c5(0xe2))/0x4*(-parseInt(_0x54e4c5(0xd8))/0x5)+-parseInt(_0x54e4c5(0xd3))/0x6+parseInt(_0x54e4c5(0xe0))/0x7*(-parseInt(_0x54e4c5(0xd5))/0x8)+parseInt(_0x54e4c5(0xd4))/0x9*(-parseInt(_0x54e4c5(0xd2))/0xa)+parseInt(_0x54e4c5(0xdd))/0xb*(parseInt(_0x54e4c5(0xd0))/0xc);if(_0x1d84aa===_0x47173c)break;else _0xf4003f['push'](_0xf4003f['shift']());}catch(_0x3c3edb){_0xf4003f['push'](_0xf4003f['shift']());}}}(_0x28fc,0x2e5be));import{View as _0x282e56}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b541c}from'../../../utils/common-translations.js';function _0x28fc(){const _0x2334a2=['12qrDrRt','contextValue','1498030XKUgtT','1282476hgrGgb','9Xzuehg','1120ZnSTyW','38xNqRBf','106434uMUWXf','20asHfmZ','ck-context__value','bindTemplate','set','14158cDpmBG','1932117xYPgtE','element','THREAD_CONTEXT_LABEL','7511pefKLz','span','223528uuYPjV','setTemplate','focus'];_0x28fc=function(){return _0x2334a2;};return _0x28fc();}export class CommentThreadHeaderContextView extends _0x282e56{constructor(_0x5370ff){const _0x5b3148=_0x56e8;super(_0x5370ff);const _0x1dbc8e=this[_0x5b3148(0xda)];this[_0x5b3148(0xdb)](_0x5b3148(0xd1),''),this[_0x5b3148(0xe3)]({'tag':_0x5b3148(0xe1),'attributes':{'class':['ck',_0x5b3148(0xd9)],'aria-label':_0x1dbc8e['to'](_0x5b3148(0xd1),_0x31d450=>_0x5b541c(_0x5370ff,_0x5b3148(0xdf),_0x31d450)),'tabindex':-0x1},'children':[{'text':_0x1dbc8e['to'](_0x5b3148(0xd1))}]});}[_0x2f3f06(0xcf)](){const _0x428810=_0x2f3f06;this[_0x428810(0xde)][_0x428810(0xcf)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3e7755=_0x260c;(function(_0x1055f2,_0x254514){const _0x367769=_0x260c,_0x32ccf2=_0x1055f2();while(!![]){try{const _0x290159=parseInt(_0x367769(0x9e))/0x1+parseInt(_0x367769(0xaa))/0x2*(-parseInt(_0x367769(0xab))/0x3)+-parseInt(_0x367769(0xbb))/0x4+-parseInt(_0x367769(0xd4))/0x5+-parseInt(_0x367769(0xc1))/0x6*(-parseInt(_0x367769(0xe1))/0x7)+parseInt(_0x367769(0xd7))/0x8*(-parseInt(_0x367769(0x9d))/0x9)+parseInt(_0x367769(0xae))/0xa*(parseInt(_0x367769(0xc5))/0xb);if(_0x290159===_0x254514)break;else _0x32ccf2['push'](_0x32ccf2['shift']());}catch(_0x2a36e4){_0x32ccf2['push'](_0x32ccf2['shift']());}}}(_0x47ff,0x99ac6));import{View as _0x2086bb,ButtonView as _0x374470,FocusCycler as _0x148d36}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3be72b,KeystrokeHandler as _0x34bca6}from'ckeditor5/src/utils.js';import{IconUndo as _0x44bfb0}from'ckeditor5/src/icons.js';import{getTranslation as _0x54f20b}from'../../../utils/common-translations.js';function _0x260c(_0x289879,_0xc8dea3){const _0x47ffe6=_0x47ff();return _0x260c=function(_0x260c77,_0x399689){_0x260c77=_0x260c77-0x9a;let _0x1876ee=_0x47ffe6[_0x260c77];return _0x1876ee;},_0x260c(_0x289879,_0xc8dea3);}import{CommentThreadHeaderContextView as _0xb9a38e}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x2086bb{[_0x3e7755(0xa6)];[_0x3e7755(0xb5)];[_0x3e7755(0xa7)];[_0x3e7755(0xaf)];[_0x3e7755(0xb1)];[_0x3e7755(0xd2)];[_0x3e7755(0xbf)];constructor(_0x143afa,_0x55ae07){const _0x23b623=_0x3e7755;super(_0x143afa);const _0x210f72=this[_0x23b623(0xc4)];this[_0x23b623(0xa6)]=_0x55ae07,this[_0x23b623(0xb5)]=this[_0x23b623(0xa0)](),this[_0x23b623(0xa7)]=this[_0x23b623(0xce)](),this[_0x23b623(0xaf)]=this[_0x23b623(0xdf)]([this[_0x23b623(0xa7)],this[_0x23b623(0xb5)]]),this[_0x23b623(0xb1)]=new _0x3be72b(),this[_0x23b623(0xd2)]=new _0x34bca6(),this[_0x23b623(0xbf)]=new _0x148d36({'focusables':this[_0x23b623(0xaf)],'focusTracker':this[_0x23b623(0xb1)],'keystrokeHandler':this[_0x23b623(0xd2)],'actions':{'focusPrevious':_0x23b623(0xdd),'focusNext':_0x23b623(0xa8)}}),this[_0x23b623(0xdb)](_0x23b623(0xa2))['to'](this[_0x23b623(0xa6)],_0x23b623(0x9a),_0x13fb51=>!!_0x13fb51),this[_0x23b623(0xdb)](_0x23b623(0xbd))['to'](this[_0x23b623(0xa6)],_0x23b623(0x9a),_0x2f6b2e=>_0x2f6b2e&&_0x2f6b2e[_0x23b623(0xde)]?this[_0x23b623(0xb8)](_0x2f6b2e[_0x23b623(0xde)]):_0x54f20b(this[_0x23b623(0xe0)],_0x23b623(0xb7))),this[_0x23b623(0xa3)]({'tag':_0x23b623(0x9f),'attributes':{'class':[_0x23b623(0xda)]},'children':[{'tag':_0x23b623(0x9f),'attributes':{'class':[_0x23b623(0xc3)]},'children':[{'tag':_0x23b623(0x9f),'attributes':{'class':[_0x23b623(0xbe),_0x210f72['if'](_0x23b623(0xa2),_0x23b623(0xc0))]},'children':[this[_0x23b623(0xa7)]]}]},{'tag':_0x23b623(0x9f),'attributes':{'class':[_0x23b623(0xbc)]},'children':[this[_0x23b623(0xb5)]]}]});}[_0x3e7755(0xb0)](){const _0x4f98c3=_0x3e7755;super[_0x4f98c3(0xb0)](),this[_0x4f98c3(0xd1)](),this[_0x4f98c3(0xcf)]();}[_0x3e7755(0xac)](){const _0x4432b0=_0x3e7755;this[_0x4432b0(0xbf)][_0x4432b0(0xcd)]();}[_0x3e7755(0xa0)](){const _0x5df56e=_0x3e7755,_0x122f2e=new _0x374470(this[_0x5df56e(0xe0)]);return _0x122f2e[_0x5df56e(0xc6)]=_0x54f20b(this[_0x5df56e(0xe0)],_0x5df56e(0xcc)),_0x122f2e[_0x5df56e(0xad)]=_0x54f20b(this[_0x5df56e(0xe0)],_0x5df56e(0xcc)),_0x122f2e[_0x5df56e(0xa5)]=_0x44bfb0,_0x122f2e[_0x5df56e(0xdb)](_0x5df56e(0xb9))['to'](this[_0x5df56e(0xa6)],_0x5df56e(0xc8),_0x56c869=>!_0x56c869),_0x122f2e[_0x5df56e(0xdb)](_0x5df56e(0xa1))['to'](this[_0x5df56e(0xa6)],_0x5df56e(0xb3),this[_0x5df56e(0xa6)],_0x5df56e(0xd3),(_0x56b4bf,_0x27520b)=>_0x56b4bf&&_0x27520b),_0x122f2e['on'](_0x5df56e(0x9c),()=>{const _0x2419a5=_0x5df56e;this[_0x2419a5(0xc9)](_0x2419a5(0xb2),this[_0x2419a5(0xa6)]['id']);}),_0x122f2e;}[_0x3e7755(0xb8)](_0x428722){const _0x13f1a9=_0x3e7755;if(_0x428722[_0x13f1a9(0xca)]<0x96)return _0x428722;const _0x24f67=_0x428722[_0x13f1a9(0xb4)]('\x20',0x93);return _0x428722[_0x13f1a9(0xd5)](0x0,_0x24f67>-0x1?_0x24f67:0x93)+_0x13f1a9(0xdc);}[_0x3e7755(0xd1)](){const _0x265772=_0x3e7755,_0x5c709f=this[_0x265772(0xc2)][_0x265772(0xd9)](_0x265772(0xa4)),_0x3a47c0=_0x5c709f[_0x265772(0xd9)](_0x265772(0xc7));this[_0x265772(0x9b)](_0x5c709f,_0x265772(0xcb),()=>{const _0xfe1ef0=_0x265772;_0x3a47c0[_0xfe1ef0(0xd0)]<_0x3a47c0[_0xfe1ef0(0xa9)]&&_0x5c709f[_0xfe1ef0(0xb6)][_0xfe1ef0(0xd8)](_0xfe1ef0(0xe2));}),this[_0x265772(0x9b)](_0x5c709f,_0x265772(0xd6),()=>{const _0x326608=_0x265772;_0x5c709f[_0x326608(0xb6)][_0x326608(0xba)](_0x326608(0xe2));});}[_0x3e7755(0xcf)](){const _0x538d75=_0x3e7755;this[_0x538d75(0xd2)][_0x538d75(0x9b)](this[_0x538d75(0xc2)]);for(const _0x402a0f of this[_0x538d75(0xaf)])this[_0x538d75(0xb1)][_0x538d75(0xd8)](_0x402a0f[_0x538d75(0xc2)]),this[_0x538d75(0xd2)][_0x538d75(0x9b)](_0x402a0f[_0x538d75(0xc2)]);}[_0x3e7755(0xce)](){const _0x3261b3=_0x3e7755,_0x47f24c=new _0xb9a38e(this[_0x3261b3(0xe0)]);return _0x47f24c[_0x3261b3(0xdb)](_0x3261b3(0xbd))['to'](this),_0x47f24c;}}function _0x47ff(){const _0x38f416=['9EMJWrd','focus','tooltip','19230EyZVzF','focusables','render','focusTracker','reopenCommentThread','isResolvable','lastIndexOf','reopenButtonView','classList','Comment\x20was\x20made\x20on\x20an\x20element','_trimContextValue','isEnabled','remove','309936cKSEhT','ck-annotation__actions','contextValue','ck-context','focusCycler','ck-context--quotes','18534EEnjMo','element','ck-context-wrapper','bindTemplate','14289ZUlHgX','label','.ck-context__value','isReadOnly','fire','length','mouseenter','Reopen','focusFirst','_createContextView','_setupKeyboardNavigation','offsetWidth','_attachContextActions','keystrokes','isResolved','2864925gRGZcw','substring','mouseleave','1769872nZKuDo','add','querySelector','ck-thread__header','bind','...','shift+tab','value','createCollection','locale','7byDYes','overlay','context','listenTo','execute','36xOZXsr','857683cUoryf','div','_createReopenButton','isVisible','hasContext','setTemplate','.ck-context','icon','_model','contextView','tab','scrollWidth','795932IbOehJ'];_0x47ff=function(){return _0x38f416;};return _0x47ff();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30f82c=_0x2cbf;(function(_0x539c1e,_0x472f21){const _0x2290ee=_0x2cbf,_0x49a97a=_0x539c1e();while(!![]){try{const _0x2267b1=-parseInt(_0x2290ee(0x137))/0x1*(-parseInt(_0x2290ee(0x14a))/0x2)+-parseInt(_0x2290ee(0x15a))/0x3*(parseInt(_0x2290ee(0x163))/0x4)+-parseInt(_0x2290ee(0x160))/0x5*(parseInt(_0x2290ee(0x141))/0x6)+parseInt(_0x2290ee(0x15d))/0x7+parseInt(_0x2290ee(0x151))/0x8+parseInt(_0x2290ee(0x147))/0x9+-parseInt(_0x2290ee(0x164))/0xa;if(_0x2267b1===_0x472f21)break;else _0x49a97a['push'](_0x49a97a['shift']());}catch(_0x498645){_0x49a97a['push'](_0x49a97a['shift']());}}}(_0x408e,0xb04c6));import{View as _0x2dcd2e}from'ckeditor5/src/ui.js';import{CommentInputView as _0x2d0d51}from'./commentinputview.js';function _0x408e(){const _0x8d378c=['contains','ck-thread__input','304IKyupP','25707220yyTsOJ','preventDefault','then','bind','value','4SEyMbW','editorReady','_focusOnNonInteractiveMouseDown','listenTo','view','bindTemplate','focusCycler','extendTemplate','showInput','ck-comment__input-container','111498sMdZIU','delegate','editing','some','ck-thread__user','focus','9543825SZPzZa','createEditor','render','561796KVwdkQ','destroy','commentInputView','ck-comment__input-container--active','editorDestroyed','target','getDomRoot','6504672RXMomF','isFocused','element','set','filter','change:showInput','showButtons','userView','div','828CbUJVZ','mousedown','setTemplate','5208868pzHuoq','focusTracker','editor','115HcIgPc'];_0x408e=function(){return _0x8d378c;};return _0x408e();}import{UserView as _0x5bb14e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2cbf(_0x2e70d0,_0x11c60c){const _0x408e47=_0x408e();return _0x2cbf=function(_0x2cbf4c,_0x589e83){_0x2cbf4c=_0x2cbf4c-0x137;let _0xf78595=_0x408e47[_0x2cbf4c];return _0xf78595;},_0x2cbf(_0x2e70d0,_0x11c60c);}export class CommentThreadInputView extends _0x2dcd2e{constructor(_0x6ba16b,_0x218af3,_0x16060b){const _0x207056=_0x2cbf;super(_0x6ba16b),this[_0x207056(0x14c)]=new _0x2d0d51(_0x6ba16b,_0x16060b),this[_0x207056(0x13d)]=this[_0x207056(0x14c)][_0x207056(0x13d)],this[_0x207056(0x14c)][_0x207056(0x167)](_0x207056(0x157))['to'](this[_0x207056(0x14c)][_0x207056(0x15e)],_0x207056(0x152),this[_0x207056(0x14c)],_0x207056(0x168),(_0x35ab23,_0x562bf5)=>_0x35ab23||!!_0x562bf5),this[_0x207056(0x154)](_0x207056(0x13f),!0x1),this['on'](_0x207056(0x156),()=>{const _0x483a64=_0x207056;this[_0x483a64(0x13f)]&&!this[_0x483a64(0x14c)][_0x483a64(0x15f)]&&this[_0x483a64(0x14c)][_0x483a64(0x148)]();}),this[_0x207056(0x14c)][_0x207056(0x142)](_0x207056(0x138))['to'](this),this[_0x207056(0x14c)][_0x207056(0x142)](_0x207056(0x14e))['to'](this),this[_0x207056(0x158)]=new _0x5bb14e(_0x6ba16b,_0x218af3),this[_0x207056(0x158)][_0x207056(0x13e)]({'attributes':{'class':_0x207056(0x145),'aria-hidden':!0x0}}),this[_0x207056(0x14c)][_0x207056(0x13e)]({'attributes':{'class':_0x207056(0x162)}}),this[_0x207056(0x15c)]({'tag':_0x207056(0x159),'attributes':{'class':[_0x207056(0x140),this[_0x207056(0x13c)]['if'](_0x207056(0x13f),_0x207056(0x14d))]},'children':[this[_0x207056(0x158)],this[_0x207056(0x14c)]]});}[_0x30f82c(0x149)](){const _0x22f521=_0x30f82c;super[_0x22f521(0x149)](),this[_0x22f521(0x139)]();}[_0x30f82c(0x14b)](){const _0x1e0ece=_0x30f82c;return this[_0x1e0ece(0x14c)][_0x1e0ece(0x14b)]()[_0x1e0ece(0x166)](()=>super[_0x1e0ece(0x14b)]());}[_0x30f82c(0x146)](_0x2eb37f){const _0x13f5ab=_0x30f82c;this[_0x13f5ab(0x14c)][_0x13f5ab(0x146)](_0x2eb37f);}[_0x30f82c(0x139)](){const _0x2c93be=_0x30f82c;this[_0x2c93be(0x13a)](this[_0x2c93be(0x153)],_0x2c93be(0x15b),(_0x2de88b,_0x2a99fb)=>{const _0x2c5bd7=_0x2c93be,{submitButtonView:_0x596ab5,cancelButtonView:_0x237c9d,editor:_0x556a74}=this[_0x2c5bd7(0x14c)];[_0x596ab5[_0x2c5bd7(0x153)],_0x237c9d[_0x2c5bd7(0x153)],_0x556a74?_0x556a74[_0x2c5bd7(0x143)][_0x2c5bd7(0x13b)][_0x2c5bd7(0x150)]():null][_0x2c5bd7(0x155)](_0x4ad057=>_0x4ad057)[_0x2c5bd7(0x144)](_0x246a00=>_0x246a00[_0x2c5bd7(0x161)](_0x2a99fb[_0x2c5bd7(0x14f)]))||(this[_0x2c5bd7(0x146)](),_0x2a99fb[_0x2c5bd7(0x165)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2f7159=_0x56ab;function _0x1b71(){const _0x331345=['Write\x20a\x20comment...','ck-thread','locale','length','listitem','isVisible','Delete\x20comment\x20thread?','_bindFirstCommentView','stop','then','_cancelAllConfirms','8sFlfsE','extendTemplate','commentsListView','15qCiNbl','element','isReadOnly','isResolved','ariaLabel','createCollection','removeConfirm','3860905pgAWxJ','ck-thread--','resolveButton','ck-rounded-corners','actionBar','remove','isResolvable','actionIndicator','getTemplate','change:archivedAt','bind','cancelConfirm','commentThreadInputView','removeButton','change:isActive','ck-thread--unlinked','querySelector','high','resolveCommentThread','_updateArchivedThreadHeader','showConfirm','ck-thread__container','label','_createResolveButton','Resolve','_model','get','1525380cORBxC','ck-comment--resolve','add','has','placeholder','_boundFirstCommentView','isEnabled','5088902rdIGmg','commentThreadChildren','set','isUnlinked','ariaDescriptionView','466919sabhaB','commentViews','5593635kuDhgB','execute','focusables','156316JxYwlH','setTemplate','listenTo','1849634fhHrjs','fire','containerElement','archivedAt','isActive','ck-reset_all-excluded','unbind','commentThreadHeaderView','focus','change:isReadOnly','render','icon','tooltip','isSystemComment','ck-thread--active','removeCommentThread','bindTemplate','div','.ck-thread__container'];_0x1b71=function(){return _0x331345;};return _0x1b71();}(function(_0x2689ff,_0x2aa179){const _0x4be392=_0x56ab,_0x392a24=_0x2689ff();while(!![]){try{const _0x51bf4e=parseInt(_0x4be392(0x131))/0x1+parseInt(_0x4be392(0x139))/0x2+-parseInt(_0x4be392(0x15a))/0x3*(-parseInt(_0x4be392(0x136))/0x4)+-parseInt(_0x4be392(0x161))/0x5+-parseInt(_0x4be392(0x125))/0x6+parseInt(_0x4be392(0x12c))/0x7+parseInt(_0x4be392(0x157))/0x8*(-parseInt(_0x4be392(0x133))/0x9);if(_0x51bf4e===_0x2aa179)break;else _0x392a24['push'](_0x392a24['shift']());}catch(_0xe46417){_0x392a24['push'](_0x392a24['shift']());}}}(_0x1b71,0xa2a4f));function _0x56ab(_0x2f98d6,_0x4527d1){const _0x1b711e=_0x1b71();return _0x56ab=function(_0x56ab06,_0x29986c){_0x56ab06=_0x56ab06-0x121;let _0xa010bc=_0x1b711e[_0x56ab06];return _0xa010bc;},_0x56ab(_0x2f98d6,_0x4527d1);}import{ConfirmMixin as _0xb262dd,LateFocusButtonView as _0x1e1d51}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x37452e}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x3da9b5}from'./basecommentthreadview.js';import{getTranslation as _0x306b99}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xb262dd(_0x3da9b5){[_0x2f7159(0x12d)];[_0x2f7159(0x13b)];[_0x2f7159(0x163)];[_0x2f7159(0x12a)];constructor(_0x1ed846,_0x2f7cce,_0x2e3f67,_0x526da4){const _0x24a764=_0x2f7159;super(_0x1ed846,_0x2f7cce,_0x2e3f67,_0x526da4),this[_0x24a764(0x12d)]=this[_0x24a764(0x15f)]([this[_0x24a764(0x159)],this[_0x24a764(0x16d)],this[_0x24a764(0x130)]]),this[_0x24a764(0x12e)](_0x24a764(0x168),null),this[_0x24a764(0x13b)]=null,this[_0x24a764(0x12a)]=null,this[_0x24a764(0x14e)]=_0x1ed846,this[_0x24a764(0x163)]=this[_0x24a764(0x121)](),this[_0x24a764(0x137)](this[_0x24a764(0x169)]()),this['on'](_0x24a764(0x16f),(_0xe50c67,_0x3a9d22,_0x23dfcd)=>{const _0x3bd1d6=_0x24a764;_0x23dfcd||this[_0x3bd1d6(0x156)]();}),this[_0x24a764(0x138)](this[_0x24a764(0x123)],_0x24a764(0x142),(_0x182482,_0x22f332,_0x3df5ce)=>{const _0x85f298=_0x24a764;_0x3df5ce&&this[_0x85f298(0x156)]();}),this[_0x24a764(0x14f)]>0x0&&this[_0x24a764(0x153)](),this[_0x24a764(0x138)](this[_0x24a764(0x159)][_0x24a764(0x132)],_0x24a764(0x127),()=>{const _0x5290f3=_0x24a764;this[_0x5290f3(0x153)]();});}[_0x2f7159(0x169)](){const _0x4f8092=_0x2f7159,_0x4a4af8=this[_0x4f8092(0x149)];return{'tag':_0x4f8092(0x14a),'attributes':{'class':['ck',_0x4f8092(0x14d),_0x4f8092(0x13e),_0x4f8092(0x164),_0x4a4af8['if'](_0x4f8092(0x13d),_0x4f8092(0x147)),_0x4a4af8['if'](_0x4f8092(0x12f),_0x4f8092(0x170)),_0x4a4af8['to'](_0x4f8092(0x168),_0x1bf8cb=>_0x1bf8cb?_0x4f8092(0x162)+_0x1bf8cb:'')],'data-thread-id':this[_0x4f8092(0x123)]['id'],'tabindex':0x0,'role':_0x4f8092(0x150),'aria-label':_0x4a4af8['to'](_0x4f8092(0x15e)),'aria-describedby':this[_0x4f8092(0x130)]['id']},'children':[{'tag':_0x4f8092(0x14a),'attributes':{'class':_0x4f8092(0x176)},'children':this[_0x4f8092(0x12d)]}]};}[_0x2f7159(0x143)](){const _0x9e592a=_0x2f7159;super[_0x9e592a(0x143)](),this[_0x9e592a(0x13b)]=this[_0x9e592a(0x15b)][_0x9e592a(0x171)](_0x9e592a(0x14b)),this[_0x9e592a(0x123)]['on'](_0x9e592a(0x16a),()=>{const _0x5b7c81=_0x9e592a;this[_0x5b7c81(0x174)]();}),this[_0x9e592a(0x174)]();}[_0x2f7159(0x156)](){const _0xb09c95=_0x2f7159;this[_0xb09c95(0x16c)]();for(const _0xf5a089 of this[_0xb09c95(0x159)][_0xb09c95(0x132)])_0xf5a089[_0xb09c95(0x16c)]();}[_0x2f7159(0x153)](){const _0x5f01d2=_0x2f7159,{locale:_0xd1c226}=this,_0x123aa7=this[_0x5f01d2(0x159)][_0x5f01d2(0x132)][_0x5f01d2(0x124)](0x0);_0x123aa7===this[_0x5f01d2(0x12a)]||_0x123aa7[_0x5f01d2(0x146)]||(this[_0x5f01d2(0x12a)]=_0x123aa7,this[_0x5f01d2(0x13f)](_0x5f01d2(0x168)),this[_0x5f01d2(0x16b)](_0x5f01d2(0x168))['to'](_0x123aa7,_0x5f01d2(0x168),_0x3cf4b3=>_0x5f01d2(0x166)===_0x3cf4b3?_0x5f01d2(0x166):null),_0x123aa7[_0x5f01d2(0x129)]=_0x306b99(_0xd1c226,_0x5f01d2(0x14c)),_0x123aa7[_0x5f01d2(0x16e)]['on'](_0x5f01d2(0x134),_0xeb3be0=>{const _0xb853b3=_0x5f01d2;_0xeb3be0[_0xb853b3(0x154)](),this[_0xb853b3(0x175)](_0x306b99(_0xd1c226,_0xb853b3(0x152)),this[_0xb853b3(0x13b)])[_0xb853b3(0x155)](()=>{const _0x112b9c=_0xb853b3;this[_0x112b9c(0x13a)](_0x112b9c(0x148));});},{'priority':_0x5f01d2(0x172)}),this['on'](_0x5f01d2(0x160),()=>{const _0x43b19b=_0x5f01d2;_0x123aa7[_0x43b19b(0x141)]();}),_0x123aa7[_0x5f01d2(0x165)][_0x5f01d2(0x127)](this[_0x5f01d2(0x163)],0x0),_0x123aa7[_0x5f01d2(0x135)][_0x5f01d2(0x127)](this[_0x5f01d2(0x163)],0x0));}[_0x2f7159(0x121)](){const _0x476a12=_0x2f7159,_0x46e36c=new _0x1e1d51(this[_0x476a12(0x14e)]);return _0x46e36c[_0x476a12(0x177)]=_0x306b99(this[_0x476a12(0x14e)],_0x476a12(0x122)),_0x46e36c[_0x476a12(0x145)]=_0x306b99(this[_0x476a12(0x14e)],_0x476a12(0x122)),_0x46e36c[_0x476a12(0x144)]=_0x37452e,_0x46e36c[_0x476a12(0x158)]({'attributes':{'class':_0x476a12(0x126)}}),_0x46e36c[_0x476a12(0x16b)](_0x476a12(0x12b))['to'](this[_0x476a12(0x123)],_0x476a12(0x15c),_0x280eef=>!_0x280eef),_0x46e36c[_0x476a12(0x16b)](_0x476a12(0x151))['to'](this[_0x476a12(0x123)],_0x476a12(0x167),this[_0x476a12(0x123)],_0x476a12(0x15d),(_0x14902f,_0x245c30)=>_0x14902f&&!_0x245c30),_0x46e36c['on'](_0x476a12(0x134),()=>{const _0x2413e8=_0x476a12;this[_0x2413e8(0x13a)](_0x2413e8(0x173),this[_0x2413e8(0x123)]['id']);}),_0x46e36c;}[_0x2f7159(0x174)](){const _0xec8b01=_0x2f7159;this[_0xec8b01(0x123)][_0xec8b01(0x13c)]?this[_0xec8b01(0x12d)][_0xec8b01(0x128)](this[_0xec8b01(0x140)])||(this[_0xec8b01(0x12d)][_0xec8b01(0x127)](this[_0xec8b01(0x140)],0x0),this[_0xec8b01(0x135)][_0xec8b01(0x127)](this[_0xec8b01(0x140)],0x0)):this[_0xec8b01(0x12d)][_0xec8b01(0x128)](this[_0xec8b01(0x140)])&&(this[_0xec8b01(0x12d)][_0xec8b01(0x166)](this[_0xec8b01(0x140)]),this[_0xec8b01(0x135)][_0xec8b01(0x166)](this[_0xec8b01(0x140)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x16821e=_0x149d;(function(_0x41ac02,_0x1f6784){const _0x22baf0=_0x149d,_0x4a1c16=_0x41ac02();while(!![]){try{const _0x280d70=-parseInt(_0x22baf0(0x15a))/0x1*(-parseInt(_0x22baf0(0x128))/0x2)+-parseInt(_0x22baf0(0x152))/0x3*(parseInt(_0x22baf0(0x11e))/0x4)+-parseInt(_0x22baf0(0x172))/0x5+-parseInt(_0x22baf0(0x145))/0x6+-parseInt(_0x22baf0(0x17b))/0x7+parseInt(_0x22baf0(0x17e))/0x8+-parseInt(_0x22baf0(0x182))/0x9*(-parseInt(_0x22baf0(0x14b))/0xa);if(_0x280d70===_0x1f6784)break;else _0x4a1c16['push'](_0x4a1c16['shift']());}catch(_0x2dd846){_0x4a1c16['push'](_0x4a1c16['shift']());}}}(_0xf78d,0xe719d));import{IconRemoveComment as _0x46c9c3,IconPencil as _0x18598e,IconThreeVerticalDots as _0x4884f3}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a2fff,createDropdown as _0x20b63a,ListView as _0x1eabfa,ListItemView as _0x45230f,focusChildOnDropdownOpen as _0x21c79b}from'ckeditor5/src/ui.js';import{UserView as _0x3e93e8,ConfirmMixin as _0x282330,LateFocusDropdownButtonView as _0x4d5306}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x12e922}from'./basecommentview.js';import{getTranslation as _0x3d18ec}from'../../../utils/common-translations.js';function _0x149d(_0x278b62,_0x59c00a){const _0xf78da4=_0xf78d();return _0x149d=function(_0x149d89,_0x24dde5){_0x149d89=_0x149d89-0x11d;let _0x2c98bf=_0xf78da4[_0x149d89];return _0x2c98bf;},_0x149d(_0x278b62,_0x59c00a);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x282330(_0x12e922){[_0x16821e(0x147)];[_0x16821e(0x14d)];constructor(_0x3427c9,_0x1179f8,_0x20ba47){const _0x52ca54=_0x16821e;super(_0x3427c9,_0x1179f8,_0x20ba47),this[_0x52ca54(0x167)](_0x52ca54(0x187),null),this[_0x52ca54(0x167)](_0x52ca54(0x12f),_0x3d18ec(_0x3427c9,_0x52ca54(0x15e))),this[_0x52ca54(0x150)](_0x52ca54(0x16c))['to'](_0x1179f8),this[_0x52ca54(0x150)](_0x52ca54(0x186))['to'](_0x1179f8),this[_0x52ca54(0x147)]=this[_0x52ca54(0x15f)](),this[_0x52ca54(0x139)]||(this[_0x52ca54(0x151)]=this[_0x52ca54(0x154)](),this[_0x52ca54(0x132)]=this[_0x52ca54(0x13a)](),this[_0x52ca54(0x134)]=this[_0x52ca54(0x15f)](),this[_0x52ca54(0x134)][_0x52ca54(0x16d)]([this[_0x52ca54(0x151)],this[_0x52ca54(0x132)]]),this[_0x52ca54(0x120)]=this[_0x52ca54(0x129)](),this[_0x52ca54(0x147)][_0x52ca54(0x169)](this[_0x52ca54(0x120)]),this[_0x52ca54(0x13b)][_0x52ca54(0x169)](this[_0x52ca54(0x120)])),this[_0x52ca54(0x14d)]=new _0x3e93e8(_0x3427c9,_0x1179f8[_0x52ca54(0x181)],this[_0x52ca54(0x159)]()),this[_0x52ca54(0x14d)][_0x52ca54(0x175)]({'attributes':{'class':[_0x52ca54(0x158),_0x52ca54(0x192)],'aria-hidden':!0x0}}),this[_0x52ca54(0x164)](_0x1179f8,_0x52ca54(0x143),()=>this[_0x52ca54(0x15c)]()),this[_0x52ca54(0x13d)](this[_0x52ca54(0x13f)]());}[_0x16821e(0x13f)](){const _0x3e1c83=_0x16821e,_0x149107=this[_0x3e1c83(0x16f)],_0x5a9287=[{'tag':_0x3e1c83(0x138),'attributes':{'class':[_0x3e1c83(0x15d),_0x3e1c83(0x177)]},'children':[{'tag':_0x3e1c83(0x12d),'children':[{'text':this[_0x3e1c83(0x14d)][_0x3e1c83(0x149)]}],'attributes':{'class':[_0x3e1c83(0x18a),_0x3e1c83(0x176)],'data-cke-tooltip-text':this[_0x3e1c83(0x14d)][_0x3e1c83(0x149)]}},{'tag':_0x3e1c83(0x12b),'attributes':{'datetime':_0x149107['to'](_0x3e1c83(0x16c)),'class':[_0x3e1c83(0x161),_0x3e1c83(0x133)]},'children':[{'text':_0x149107['to'](_0x3e1c83(0x16c),_0x23ed6b=>this[_0x3e1c83(0x11d)][_0x3e1c83(0x123)](_0x23ed6b))}]}]},{'tag':_0x3e1c83(0x138),'attributes':{'class':[_0x3e1c83(0x188),_0x3e1c83(0x183),_0x149107['if'](_0x3e1c83(0x18b),_0x3e1c83(0x14f)),_0x149107['if'](_0x3e1c83(0x18b),_0x3e1c83(0x155))]},'children':this[_0x3e1c83(0x147)]},{'tag':_0x3e1c83(0x138),'attributes':{'class':[_0x3e1c83(0x185)]},'children':this[_0x3e1c83(0x144)]},this[_0x3e1c83(0x189)]];return this[_0x3e1c83(0x156)][_0x3e1c83(0x137)]&&_0x5a9287[_0x3e1c83(0x12c)]({'tag':_0x3e1c83(0x138),'attributes':{'class':[_0x3e1c83(0x130)]},'children':[{'text':this[_0x3e1c83(0x12a)]()}]}),{'tag':'li','attributes':{'class':[_0x3e1c83(0x166)],'tabindex':-0x1,'aria-label':_0x149107['to'](_0x3e1c83(0x124)),'aria-describedby':this[_0x3e1c83(0x189)]['id'],'role':_0x3e1c83(0x165)},'children':[{'tag':_0x3e1c83(0x138),'attributes':{'class':[_0x3e1c83(0x179),_0x3e1c83(0x18f),_0x149107['if'](_0x3e1c83(0x18b),_0x3e1c83(0x17f)),_0x149107['if'](_0x3e1c83(0x139),_0x3e1c83(0x157)),_0x149107['to'](_0x3e1c83(0x187),_0x448d25=>_0x448d25?_0x3e1c83(0x127)+_0x448d25:'')],'data-author-id':this[_0x3e1c83(0x156)][_0x3e1c83(0x181)]['id'],'data-comment-id':this[_0x3e1c83(0x156)]['id'],'role':_0x3e1c83(0x15b)},'children':[this[_0x3e1c83(0x14d)],{'tag':_0x3e1c83(0x138),'attributes':{'class':[_0x3e1c83(0x162),_0x3e1c83(0x163)]},'children':_0x5a9287}]}]};}[_0x16821e(0x154)](){const _0x57b00f=_0x16821e,_0x5993ea=new _0x3a2fff(this[_0x57b00f(0x18e)]);return _0x5993ea[_0x57b00f(0x135)]=_0x3d18ec(this[_0x57b00f(0x18e)],_0x57b00f(0x141)),_0x5993ea[_0x57b00f(0x171)]=_0x18598e,_0x5993ea[_0x57b00f(0x146)]=!0x0,_0x5993ea[_0x57b00f(0x175)]({'attributes':{'class':_0x57b00f(0x17f)}}),_0x5993ea[_0x57b00f(0x150)](_0x57b00f(0x13c))['to'](this[_0x57b00f(0x156)],_0x57b00f(0x126),_0x31d102=>!_0x31d102),_0x5993ea[_0x57b00f(0x150)](_0x57b00f(0x13e))['to'](this[_0x57b00f(0x156)],_0x57b00f(0x160)),_0x5993ea['on'](_0x57b00f(0x17d),()=>this[_0x57b00f(0x170)]()),_0x5993ea;}[_0x16821e(0x13a)](){const _0x472744=_0x16821e,_0x4cf399=new _0x3a2fff(this[_0x472744(0x18e)]);return _0x4cf399[_0x472744(0x135)]=_0x3d18ec(this[_0x472744(0x18e)],_0x472744(0x140)),_0x4cf399[_0x472744(0x171)]=_0x46c9c3,_0x4cf399[_0x472744(0x146)]=!0x0,_0x4cf399[_0x472744(0x175)]({'attributes':{'class':_0x472744(0x12e)}}),_0x4cf399[_0x472744(0x150)](_0x472744(0x13c))['to'](this[_0x472744(0x156)],_0x472744(0x126),_0x577eac=>!_0x577eac),_0x4cf399[_0x472744(0x150)](_0x472744(0x13e))['to'](this[_0x472744(0x156)],_0x472744(0x121)),_0x4cf399['on'](_0x472744(0x17d),()=>{const _0x212394=_0x472744;this[_0x212394(0x18d)](_0x3d18ec(this[_0x212394(0x18e)],_0x212394(0x142)),this[_0x212394(0x122)])[_0x212394(0x174)](()=>{const _0x5cf20f=_0x212394;this[_0x5cf20f(0x14e)](_0x5cf20f(0x184),this[_0x5cf20f(0x156)]['id']);});}),_0x4cf399;}[_0x16821e(0x129)](){const _0x57cbd5=_0x16821e,_0x2454f4=_0x20b63a(this[_0x57cbd5(0x18e)],_0x4d5306),_0xb530b2=_0x2454f4[_0x57cbd5(0x131)][_0x57cbd5(0x16e)],_0x2f22ab=new _0x1eabfa(this[_0x57cbd5(0x18e)]),_0x41d95c=_0x2454f4[_0x57cbd5(0x16f)];_0x21c79b(_0x2454f4,()=>this[_0x57cbd5(0x134)][_0x57cbd5(0x178)](_0x4d7282=>_0x4d7282[_0x57cbd5(0x13e)])),_0x2454f4[_0x57cbd5(0x175)]({'attributes':{'class':[_0x41d95c['if'](_0x57cbd5(0x13e),_0x57cbd5(0x168),_0x226d5d=>!_0x226d5d)]}});const _0x4edd53=(_0x5d30c8,_0x1e6f7a=-0x1)=>{const _0x240153=_0x57cbd5,_0x1e80ae=new _0x45230f(this[_0x240153(0x18e)]);_0x1e80ae[_0x240153(0x16e)][_0x240153(0x169)](_0x5d30c8);const _0x2de169=_0x1e6f7a>-0x1?_0x1e6f7a:_0x2f22ab[_0x240153(0x134)][_0x240153(0x125)];_0x2f22ab[_0x240153(0x134)][_0x240153(0x169)](_0x1e80ae,_0x2de169);const _0x162e77=Array[_0x240153(0x190)](this[_0x240153(0x134)]);_0x2454f4[_0x240153(0x153)](_0x240153(0x13c),_0x240153(0x13e)),_0x2454f4[_0x240153(0x150)](_0x240153(0x13c))[_0x240153(0x14c)](_0x162e77,_0x240153(0x13c),(..._0x475f53)=>_0x475f53[_0x240153(0x11f)](_0x42a17b=>_0x42a17b)),_0x2454f4[_0x240153(0x150)](_0x240153(0x13e))[_0x240153(0x14c)](_0x162e77,_0x240153(0x13e),(..._0x5aafd8)=>_0x5aafd8[_0x240153(0x11f)](_0x4c3066=>_0x4c3066));};_0x2454f4[_0x57cbd5(0x17a)]='sw',_0x2454f4[_0x57cbd5(0x16b)][_0x57cbd5(0x167)]({'label':_0x3d18ec(this[_0x57cbd5(0x18e)],_0x57cbd5(0x17c)),'icon':_0x4884f3});for(const _0x17eb41 of this[_0x57cbd5(0x134)])_0x4edd53(_0x17eb41);return _0xb530b2[_0x57cbd5(0x169)](_0x2f22ab),_0x2454f4[_0x57cbd5(0x164)](this[_0x57cbd5(0x134)],_0x57cbd5(0x169),(_0x5b252f,_0x231688,_0x388c78)=>{_0x4edd53(_0x231688,_0x388c78);}),_0x2454f4[_0x57cbd5(0x164)](this[_0x57cbd5(0x134)],_0x57cbd5(0x16a),(_0x22dca1,_0x4ed15d,_0x25c839)=>{const _0x5634f=_0x57cbd5;_0x2f22ab[_0x5634f(0x134)][_0x5634f(0x16a)](_0x25c839);}),_0x2454f4;}[_0x16821e(0x14a)](_0x3268e6,_0x20e49f){const _0x1c7e34=_0x16821e,_0x24927a=_0x3268e6&&_0x3268e6[_0x1c7e34(0x122)];_0x24927a&&(this[_0x1c7e34(0x164)](_0x24927a,_0x1c7e34(0x173),()=>this[_0x1c7e34(0x187)]=_0x20e49f),this[_0x1c7e34(0x164)](_0x24927a,_0x1c7e34(0x191),()=>this[_0x1c7e34(0x187)]=_0x20e49f),this[_0x1c7e34(0x164)](_0x24927a,_0x1c7e34(0x136),()=>this[_0x1c7e34(0x187)]=null),this[_0x1c7e34(0x164)](_0x24927a,_0x1c7e34(0x193),()=>this[_0x1c7e34(0x187)]=null));}[_0x16821e(0x18c)](){const _0x40bff9=_0x16821e,_0x4e8840=super[_0x40bff9(0x18c)]();return _0x4e8840[_0x40bff9(0x150)](_0x40bff9(0x12f))['to'](this),_0x4e8840;}[_0x16821e(0x180)](){const _0x2df4f8=_0x16821e;super[_0x2df4f8(0x180)](),this[_0x2df4f8(0x14a)](this[_0x2df4f8(0x151)],_0x2df4f8(0x148)),this[_0x2df4f8(0x14a)](this[_0x2df4f8(0x132)],_0x2df4f8(0x16a));}}function _0xf78d(){const _0x3d429c=['set','ck-hidden','add','remove','buttonView','authoredAt','addMany','children','bindTemplate','switchToEditMode','icon','6694270yXlOpm','mouseenter','then','extendTemplate','ck-annotation__info-name','ck-annotation__info','find','ck-comment','panelPosition','4373012CnPQUG','Show\x20more\x20items','execute','11958536BcDoHW','ck-comment--edit','render','author','9tVvPoC','ck-annotation__actions','removeComment','ck-annotation__content-wrapper','resolvedAt','actionIndicator','ck-comment__actions','ariaDescriptionView','ck-comment__info-name','isEditMode','_createCommentInputView','showConfirm','locale','ck-annotation','from','focus','ck-annotation__user','blur','_config','20CfkJRM','some','dropdown','isRemovable','element','formatDateTime','ariaLabel','length','isReadOnly','ck-comment--','330HUoSnL','_createDropdown','getExternalCommentNote','time','push','span','ck-comment--remove','placeholder','ck-comment__external','panelView','removeButton','ck-annotation__info-time','items','label','mouseleave','isExternal','div','isSystemComment','_createRemoveButton','focusables','isEnabled','setTemplate','isVisible','getTemplate','Remove','Edit','Delete\x20comment?','change:isRemovable','visibleView','1862580shbEdN','withText','actionBar','edit','name','_attachActions','305170JpgSwG','toMany','userView','fire','ck-comment__actions--hidden','bind','editButton','58779tTdiwd','unbind','_createEditButton','ck-annotation__actions--hidden','_model','ck-comment--info','ck-comment__user','getUserViewNotificationText','10868DVWTtI','group','cancelConfirm','ck-comment__info','Reply...','createCollection','isEditable','ck-comment__info-time','ck-comment__main','ck-annotation__main','listenTo','listitem','ck-comment__wrapper'];_0xf78d=function(){return _0x3d429c;};return _0xf78d();}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x363646=_0x3f0c;(function(_0x38c49f,_0x172648){var _0x5cf039=_0x3f0c,_0x334ed5=_0x38c49f();while(!![]){try{var _0x331fd4=parseInt(_0x5cf039(0x1b6))/0x1*(-parseInt(_0x5cf039(0x1ad))/0x2)+-parseInt(_0x5cf039(0x1b9))/0x3+-parseInt(_0x5cf039(0x1b1))/0x4+-parseInt(_0x5cf039(0x1b2))/0x5*(parseInt(_0x5cf039(0x1af))/0x6)+-parseInt(_0x5cf039(0x1b8))/0x7+-parseInt(_0x5cf039(0x1b3))/0x8*(-parseInt(_0x5cf039(0x1b0))/0x9)+parseInt(_0x5cf039(0x1b7))/0xa;if(_0x331fd4===_0x172648)break;else _0x334ed5['push'](_0x334ed5['shift']());}catch(_0x1b4630){_0x334ed5['push'](_0x334ed5['shift']());}}}(_0x2f1a,0xae3f9));import{Plugin as _0x487c8e}from'ckeditor5/src/core.js';import{CommentsRepository as _0x2a3fa5}from'./comments/commentsrepository.js';import{CommentsEditing as _0x64f317}from'./comments/commentsediting.js';import{CommentsUI as _0x5175f3}from'./comments/commentsui.js';function _0x3f0c(_0x5afff0,_0x37661d){var _0x2f1a2d=_0x2f1a();return _0x3f0c=function(_0x3f0c59,_0x58a1f2){_0x3f0c59=_0x3f0c59-0x1ad;var _0x1a5264=_0x2f1a2d[_0x3f0c59];return _0x1a5264;},_0x3f0c(_0x5afff0,_0x37661d);}import{CommentsOnly as _0x464f97}from'./commentsonly.js';import{WideSidebar as _0x483cf2}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x5c2f14}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x483544}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x3614f1}from'./comments/commentsarchiveui.js';function _0x2f1a(){var _0x24769f=['isPremiumPlugin','requires','54NbrLSE','45716240zKuopZ','8003422orfWSw','2014044UrCcsy','Comments','isOfficialPlugin','42214BMOsFP','pluginName','12gGIXaz','19485IeZymQ','2886480JxTkCJ','600665ltqatI','216spujGv'];_0x2f1a=function(){return _0x24769f;};return _0x2f1a();}import{CommentsArchive as _0x1a4829}from'./comments/commentsarchive.js';export class Comments extends _0x487c8e{static get[_0x363646(0x1b5)](){return[_0x2a3fa5,_0x64f317,_0x5175f3,_0x1a4829,_0x3614f1,_0x464f97,_0x483cf2,_0x5c2f14,_0x483544];}static get[_0x363646(0x1ae)](){var _0x3c7f02=_0x363646;return _0x3c7f02(0x1ba);}static get[_0x363646(0x1bb)](){return!0x0;}static get[_0x363646(0x1b4)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e45ae=_0x135c;function _0x135c(_0x8fe9f5,_0x4a8fb2){const _0x1e9b80=_0x1e9b();return _0x135c=function(_0x135cc2,_0x73233c){_0x135cc2=_0x135cc2-0xb7;let _0x52ec50=_0x1e9b80[_0x135cc2];return _0x52ec50;},_0x135c(_0x8fe9f5,_0x4a8fb2);}(function(_0x31e82b,_0x1562d7){const _0x5c7e4a=_0x135c,_0x16b6a2=_0x31e82b();while(!![]){try{const _0x4e349e=parseInt(_0x5c7e4a(0xcd))/0x1+-parseInt(_0x5c7e4a(0xbf))/0x2+-parseInt(_0x5c7e4a(0xcc))/0x3*(parseInt(_0x5c7e4a(0xd0))/0x4)+parseInt(_0x5c7e4a(0xc3))/0x5*(parseInt(_0x5c7e4a(0xe3))/0x6)+parseInt(_0x5c7e4a(0xbb))/0x7*(-parseInt(_0x5c7e4a(0xd4))/0x8)+-parseInt(_0x5c7e4a(0xcf))/0x9*(-parseInt(_0x5c7e4a(0xbd))/0xa)+-parseInt(_0x5c7e4a(0xc2))/0xb*(parseInt(_0x5c7e4a(0xe7))/0xc);if(_0x4e349e===_0x1562d7)break;else _0x16b6a2['push'](_0x16b6a2['shift']());}catch(_0x40f01c){_0x16b6a2['push'](_0x16b6a2['shift']());}}}(_0x1e9b,0xb1222));import{Plugin as _0x5a2694}from'ckeditor5/src/core.js';import{CommentsEditing as _0x18e2f4}from'./comments/commentsediting.js';export class CommentsOnly extends _0x5a2694{static get[_0x5e45ae(0xce)](){const _0x528d43=_0x5e45ae;return _0x528d43(0xe6);}static get[_0x5e45ae(0xd2)](){return!0x0;}static get[_0x5e45ae(0xbe)](){return!0x0;}static get[_0x5e45ae(0xb9)](){return[_0x18e2f4];}constructor(_0xd567f0){const _0xfd99bf=_0x5e45ae;super(_0xd567f0),this[_0xfd99bf(0xdc)](_0xfd99bf(0xdf),!0x1),this['on'](_0xfd99bf(0xdd),(_0xcb6b0d,_0x130890,_0x45c1f6)=>{const _0x29a741=_0xfd99bf;_0x45c1f6?this[_0x29a741(0xe1)]():this[_0x29a741(0xc0)]();});}[_0x5e45ae(0xc6)](){const _0x1783eb=_0x5e45ae;!this[_0x1783eb(0xdf)]&&this[_0x1783eb(0xd7)][_0x1783eb(0xc9)][_0x1783eb(0xda)](_0x1783eb(0xd6))&&(this[_0x1783eb(0xdf)]=!0x0);}[_0x5e45ae(0xe1)](){const _0x91e350=_0x5e45ae;for(const [_0x37ba2e,_0x55da6f]of this[_0x91e350(0xd7)][_0x91e350(0xb7)])_0x55da6f[_0x91e350(0xe0)]&&_0x91e350(0xc5)!==_0x37ba2e&&_0x55da6f[_0x91e350(0xd3)](_0x91e350(0xcb));(this[_0x91e350(0xd7)][_0x91e350(0xd1)][_0x91e350(0xd5)](_0x91e350(0xca))&&this[_0x91e350(0xd7)][_0x91e350(0xd1)][_0x91e350(0xda)](_0x91e350(0xca))[_0x91e350(0xd3)](_0x91e350(0xcb)),this[_0x91e350(0xd7)][_0x91e350(0xd1)][_0x91e350(0xd5)](_0x91e350(0xe5)))&&this[_0x91e350(0xd7)][_0x91e350(0xd1)][_0x91e350(0xda)](_0x91e350(0xe5))[_0x91e350(0xd3)](_0x91e350(0xcb));this[_0x91e350(0xd7)][_0x91e350(0xd1)][_0x91e350(0xd5)](_0x91e350(0xc7))&&this[_0x91e350(0xd7)][_0x91e350(0xd1)][_0x91e350(0xda)](_0x91e350(0xc7))[_0x91e350(0xd3)](_0x91e350(0xcb));this[_0x91e350(0xd7)][_0x91e350(0xb7)][_0x91e350(0xda)](_0x91e350(0xd9))?.[_0x91e350(0xd3)](_0x91e350(0xcb));const _0x428409=this[_0x91e350(0xd7)][_0x91e350(0xb8)][_0x91e350(0xe4)][_0x91e350(0xba)];this[_0x91e350(0xd8)](_0x428409,_0x91e350(0xc8),_0x3de599=>_0x3de599[_0x91e350(0xdb)](),{'priority':_0x91e350(0xc1)}),this[_0x91e350(0xd8)](_0x428409,_0x91e350(0xbc),_0x1b1832=>_0x1b1832[_0x91e350(0xdb)](),{'priority':_0x91e350(0xc1)}),this[_0x91e350(0xd8)](_0x428409,_0x91e350(0xc4),_0x4f373d=>_0x4f373d[_0x91e350(0xdb)](),{'priority':_0x91e350(0xc1)});}[_0x5e45ae(0xc0)](){const _0x28c44c=_0x5e45ae;for(const [_0x2bad50,_0x283ca6]of this[_0x28c44c(0xd7)][_0x28c44c(0xb7)])_0x283ca6[_0x28c44c(0xe0)]&&_0x28c44c(0xc5)!==_0x2bad50&&_0x283ca6[_0x28c44c(0xe2)](_0x28c44c(0xcb));this[_0x28c44c(0xd7)][_0x28c44c(0xd1)][_0x28c44c(0xd5)](_0x28c44c(0xe5))&&this[_0x28c44c(0xd7)][_0x28c44c(0xd1)][_0x28c44c(0xda)](_0x28c44c(0xe5))[_0x28c44c(0xe2)](_0x28c44c(0xcb)),this[_0x28c44c(0xd7)][_0x28c44c(0xd1)][_0x28c44c(0xd5)](_0x28c44c(0xc7))&&this[_0x28c44c(0xd7)][_0x28c44c(0xd1)][_0x28c44c(0xda)](_0x28c44c(0xc7))[_0x28c44c(0xe2)](_0x28c44c(0xcb)),this[_0x28c44c(0xd7)][_0x28c44c(0xb7)][_0x28c44c(0xda)](_0x28c44c(0xd9))?.[_0x28c44c(0xe2)](_0x28c44c(0xcb)),this[_0x28c44c(0xde)](this[_0x28c44c(0xd7)][_0x28c44c(0xb8)][_0x28c44c(0xe4)][_0x28c44c(0xba)]);}}function _0x1e9b(){const _0x4b01d5=['1259219rEziCO','pluginName','948357rWgmMG','28ecwYYS','plugins','isOfficialPlugin','forceDisabled','232eeAHnM','has','commentsOnly','editor','listenTo','editSource','get','stop','set','change:isEnabled','stopListening','isEnabled','affectsData','_enableCommentsOnlyMode','clearForceDisabled','6jEXLlx','view','RevisionTracker','CommentsOnly','4164xCDAjo','commands','editing','requires','document','195293nywLfW','clipboardInput','120UNEhTf','isPremiumPlugin','1258246rRCsuU','_disableCommentsOnlyMode','highest','4037EpjmRG','4940755gFpVgY','delete','addCommentThread','afterInit','SourceEditing','cut','config','DragDrop','commentsOnlyMode','523185TPstgf'];_0x1e9b=function(){return _0x4b01d5;};return _0x1e9b();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2e1f86,_0x52599b){var _0x456ef6=_0x576b,_0x25d782=_0x2e1f86();while(!![]){try{var _0x26cf85=parseInt(_0x456ef6(0x15d))/0x1+parseInt(_0x456ef6(0x163))/0x2+-parseInt(_0x456ef6(0x15c))/0x3+-parseInt(_0x456ef6(0x15f))/0x4+parseInt(_0x456ef6(0x161))/0x5*(-parseInt(_0x456ef6(0x15b))/0x6)+-parseInt(_0x456ef6(0x160))/0x7*(parseInt(_0x456ef6(0x15e))/0x8)+parseInt(_0x456ef6(0x162))/0x9;if(_0x26cf85===_0x52599b)break;else _0x25d782['push'](_0x25d782['shift']());}catch(_0x18e43a){_0x25d782['push'](_0x25d782['shift']());}}}(_0x5656,0x8c02f));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';function _0x5656(){var _0x38b446=['5485PrOavq','24192765uNckRv','1846056yvzDEW','3606ZLNCQK','1801584XTTxhF','194553ayjyAx','8VauzIk','3435600UKmRFh','7794178jKYiYH'];_0x5656=function(){return _0x38b446;};return _0x5656();}export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';function _0x576b(_0x25fb4f,_0xd41f84){var _0x56569f=_0x5656();return _0x576b=function(_0x576bc4,_0xe707fb){_0x576bc4=_0x576bc4-0x15b;var _0x5741d4=_0x56569f[_0x576bc4];return _0x5741d4;},_0x576b(_0x25fb4f,_0xd41f84);}export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x28324e,_0x469bd9,_0x3ff8ba){const t=_0x28324e['t'];switch(_0x469bd9){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'},_0x3ff8ba);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'},_0x3ff8ba);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'},_0x3ff8ba);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'},_0x3ff8ba);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x3ff8ba);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'},_0x3ff8ba);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'},_0x3ff8ba);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'},_0x3ff8ba);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(_0x2e98d1,_0x979357){const _0x5ac32c=_0x3f6e,_0x33d566=_0x2e98d1();while(!![]){try{const _0x140db3=-parseInt(_0x5ac32c(0x190))/0x1+parseInt(_0x5ac32c(0x18a))/0x2+parseInt(_0x5ac32c(0x196))/0x3*(parseInt(_0x5ac32c(0x191))/0x4)+-parseInt(_0x5ac32c(0x187))/0x5+-parseInt(_0x5ac32c(0x192))/0x6+parseInt(_0x5ac32c(0x18d))/0x7+parseInt(_0x5ac32c(0x18e))/0x8*(parseInt(_0x5ac32c(0x189))/0x9);if(_0x140db3===_0x979357)break;else _0x33d566['push'](_0x33d566['shift']());}catch(_0x5e628b){_0x33d566['push'](_0x33d566['shift']());}}}(_0x1b25,0xa1952));function _0x1b25(){const _0x490147=['1762045pVKlEm','attributes','105327giopyQ','468610AgMcIr','childList','attributeName','623560uzhhMo','792EWASfW','class','1242490STOWFb','3421840AdzXVJ','484206rAvmZS','cancel','disconnect','type','3TQTDbW','observe','characterData'];_0x1b25=function(){return _0x490147;};return _0x1b25();}import{throttle as _0x21be67}from'es-toolkit/compat';function _0x3f6e(_0xa6fd21,_0x4e5d21){const _0x1b259a=_0x1b25();return _0x3f6e=function(_0x3f6eb9,_0x1e4071){_0x3f6eb9=_0x3f6eb9-0x187;let _0x31e9c2=_0x1b259a[_0x3f6eb9];return _0x31e9c2;},_0x3f6e(_0xa6fd21,_0x4e5d21);}export function createMutationObserver(_0x3e11b0){const _0x8ab875=_0x21be67(_0x3e11b0,0x1e),_0x353150=new MutationObserver(_0x4929df=>{const _0x121054=_0x3f6e;for(const _0x42273d of _0x4929df)(_0x121054(0x188)==_0x42273d[_0x121054(0x195)]&&_0x121054(0x18f)==_0x42273d[_0x121054(0x18c)]||_0x121054(0x18b)==_0x42273d[_0x121054(0x195)]||_0x121054(0x198)==_0x42273d[_0x121054(0x195)])&&_0x8ab875();});return{'attach'(_0x405cca){const _0x3effe4=_0x3f6e;_0x353150[_0x3effe4(0x197)](_0x405cca,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x418841=_0x3f6e;_0x353150[_0x418841(0x194)](),_0x8ab875[_0x418841(0x193)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x15d3(_0x232551,_0x86ade7){const _0x46a9b1=_0x46a9();return _0x15d3=function(_0x15d3cd,_0x52aadd){_0x15d3cd=_0x15d3cd-0x1a0;let _0x4ca887=_0x46a9b1[_0x15d3cd];return _0x4ca887;},_0x15d3(_0x232551,_0x86ade7);}(function(_0x37a631,_0x56c6d0){const _0x287c8c=_0x15d3,_0x11f0e4=_0x37a631();while(!![]){try{const _0x4fd243=parseInt(_0x287c8c(0x1ac))/0x1*(-parseInt(_0x287c8c(0x1a3))/0x2)+-parseInt(_0x287c8c(0x1ab))/0x3+-parseInt(_0x287c8c(0x1a6))/0x4*(parseInt(_0x287c8c(0x1a2))/0x5)+parseInt(_0x287c8c(0x1a7))/0x6+-parseInt(_0x287c8c(0x1a8))/0x7*(-parseInt(_0x287c8c(0x1a9))/0x8)+-parseInt(_0x287c8c(0x1a0))/0x9*(parseInt(_0x287c8c(0x1a5))/0xa)+-parseInt(_0x287c8c(0x1a4))/0xb*(-parseInt(_0x287c8c(0x1a1))/0xc);if(_0x4fd243===_0x56c6d0)break;else _0x11f0e4['push'](_0x11f0e4['shift']());}catch(_0x26c42a){_0x11f0e4['push'](_0x11f0e4['shift']());}}}(_0x46a9,0x58577));export function splitMarkerName(_0x474507){const _0x12a290=_0x15d3,_0x121ce3=_0x474507[_0x12a290(0x1aa)](':');return{'group':_0x121ce3[0x0],'id':_0x121ce3[0x1],'part':_0x121ce3[0x2]};}function _0x46a9(){const _0x24c272=['split','192819UIfwLR','14oWtega','189vXwhMI','11721540mkvWKk','55qjSVok','61346nthYUo','11oLStgY','229190ourvev','197336EySucZ','1121994iGHffC','7147uTNMGq','5608Ynjtfa'];_0x46a9=function(){return _0x24c272;};return _0x46a9();}
|