@ckeditor/ckeditor5-comments 47.0.0-alpha.5 → 47.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e5911=_0x4af0;(function(_0x19d991,_0x2dd902){const _0x2d5377=_0x4af0,_0x4f4707=_0x19d991();while(!![]){try{const _0x331a1c=parseInt(_0x2d5377(0xf5))/0x1+parseInt(_0x2d5377(0x102))/0x2+parseInt(_0x2d5377(0x148))/0x3+-parseInt(_0x2d5377(0x149))/0x4+parseInt(_0x2d5377(0x13d))/0x5+parseInt(_0x2d5377(0x116))/0x6+-parseInt(_0x2d5377(0x14a))/0x7;if(_0x331a1c===_0x2dd902)break;else _0x4f4707['push'](_0x4f4707['shift']());}catch(_0x5f399c){_0x4f4707['push'](_0x4f4707['shift']());}}}(_0x4ac3,0x9e33b));function _0x4af0(_0x1a758d,_0x3bf38a){const _0x4ac3de=_0x4ac3();return _0x4af0=function(_0x4af048,_0x2e3cc7){_0x4af048=_0x4af048-0xee;let _0x399195=_0x4ac3de[_0x4af048];return _0x399195;},_0x4af0(_0x1a758d,_0x3bf38a);}import{View as _0x93c023,FocusCycler as _0x9c79f1}from'ckeditor5/src/ui.js';import{diff as _0x1ebf39,Collection as _0x3e5f1b,FocusTracker as _0x1d1474,KeystrokeHandler as _0x16d5e8}from'ckeditor5/src/utils.js';import{getTranslation as _0x428123}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x4ebfd9}from'./collapsedcommentsview.js';export class CommentsListView extends _0x93c023{[_0x5e5911(0xf3)];[_0x5e5911(0x11a)];[_0x5e5911(0xf6)];[_0x5e5911(0x133)];[_0x5e5911(0x10d)];[_0x5e5911(0x13b)];[_0x5e5911(0x10c)];[_0x5e5911(0x147)];constructor(_0x4e6fae,_0x213467,_0x116a76){const _0x47fd67=_0x5e5911;super(_0x4e6fae);const _0x205278=this[_0x47fd67(0x109)];this[_0x47fd67(0x135)](_0x47fd67(0xf9),!0x1),this[_0x47fd67(0x135)](_0x47fd67(0x12d),_0x213467[_0x47fd67(0x115)][_0x47fd67(0x12d)]),this[_0x47fd67(0x135)](_0x47fd67(0x118),!0x1),this[_0x47fd67(0x13b)]=_0x213467,this[_0x47fd67(0x10c)]=_0x116a76,this[_0x47fd67(0xf3)]=this[_0x47fd67(0x146)](),this[_0x47fd67(0xf0)]=this[_0x47fd67(0x146)](),this[_0x47fd67(0x11a)]=null,this[_0x47fd67(0xf6)]=new _0x1d1474(),this[_0x47fd67(0x133)]=new _0x16d5e8(),this[_0x47fd67(0x10d)]=new _0x9c79f1({'focusables':this[_0x47fd67(0xf3)],'focusTracker':this[_0x47fd67(0xf6)],'keystrokeHandler':this[_0x47fd67(0x133)],'keystrokeHandlerOptions':{'filter':_0x2afeb8=>this[_0x47fd67(0xf3)][_0x47fd67(0x11b)](_0x26b7f2=>_0x26b7f2[_0x47fd67(0xfd)])[_0x47fd67(0x100)](_0x2afeb8[_0x47fd67(0x140)])},'actions':{'focusPrevious':_0x47fd67(0x111),'focusNext':_0x47fd67(0x112)}}),this[_0x47fd67(0x147)]=new _0x4ebfd9(_0x4e6fae),this[_0x47fd67(0x147)][_0x47fd67(0xfc)](_0x47fd67(0x13c))['to'](this,_0x47fd67(0x12d),_0x3e2f0f=>_0x3e2f0f-this[_0x47fd67(0x10c)][_0x47fd67(0x12b)]);for(const _0x4aaa7b of _0x213467[_0x47fd67(0x115)])this[_0x47fd67(0x11e)](_0x4aaa7b);this[_0x47fd67(0x108)](),this[_0x47fd67(0x11c)](_0x213467[_0x47fd67(0x115)],_0x47fd67(0x105),(_0x595539,_0x1eb429)=>{const _0x19b2ad=_0x47fd67,_0x5de0a7=this[_0x19b2ad(0x141)](_0x1eb429);this[_0x19b2ad(0x12d)]++,this[_0x19b2ad(0x11e)](_0x1eb429,_0x5de0a7),this[_0x19b2ad(0x12f)]();}),this[_0x47fd67(0x11c)](_0x213467[_0x47fd67(0x115)],_0x47fd67(0x12a),(_0x1ff17c,_0x1fa47e)=>{const _0x4337ab=_0x47fd67;this[_0x4337ab(0x12d)]--,this[_0x4337ab(0x10a)](_0x1fa47e),this[_0x4337ab(0x12f)]();}),this[_0x47fd67(0x11c)](_0x213467,_0x47fd67(0x126),()=>this[_0x47fd67(0x12f)]()),this[_0x47fd67(0x11c)](_0x213467,_0x47fd67(0x11d),()=>this[_0x47fd67(0x108)]()),this['on'](_0x47fd67(0x120),()=>this[_0x47fd67(0x12f)]()),this['on'](_0x47fd67(0x106),()=>this[_0x47fd67(0x12f)]()),this[_0x47fd67(0x145)]({'tag':'ul','attributes':{'class':[_0x47fd67(0xf7),_0x205278['if'](_0x47fd67(0x12d),_0x47fd67(0xfe),_0x8e7d66=>!_0x8e7d66)],'aria-label':_0x428123(_0x4e6fae,_0x47fd67(0x10f))},'children':this[_0x47fd67(0xf0)]});}get[_0x5e5911(0x124)](){const _0x5ec9f2=_0x5e5911;return this[_0x5ec9f2(0x13b)][_0x5ec9f2(0x129)]>this[_0x5ec9f2(0x10c)][_0x5ec9f2(0x117)]&&!this[_0x5ec9f2(0x118)]&&!this[_0x5ec9f2(0xf9)];}[_0x5e5911(0x125)](){const _0x1340f5=_0x5e5911;super[_0x1340f5(0x125)](),this[_0x1340f5(0x12f)](),this[_0x1340f5(0xff)]();}[_0x5e5911(0x114)](_0x52c2b0){const _0x5b71bd=_0x5e5911;-0x1===_0x52c2b0?this[_0x5b71bd(0x10d)][_0x5b71bd(0x134)]():this[_0x5b71bd(0x10d)][_0x5b71bd(0x123)]();}[_0x5e5911(0x143)](){const _0x3584d3=_0x5e5911;this[_0x3584d3(0x147)][_0x3584d3(0x143)]();for(const _0x288562 of this[_0x3584d3(0xf3)])_0x288562[_0x3584d3(0x143)]();super[_0x3584d3(0x143)]();}[_0x5e5911(0x12f)](){const _0x3ee931=_0x5e5911;this[_0x3ee931(0x124)]?this[_0x3ee931(0x110)]():this[_0x3ee931(0xfa)]();}[_0x5e5911(0x11e)](_0x2a4ef0,_0x5d1920){const _0x545801=_0x5e5911,_0x575812=new this[(_0x545801(0x10c))][(_0x545801(0x127))](this[_0x545801(0x101)],_0x2a4ef0,{'maxCommentCharsWhenCollapsed':this[_0x545801(0x10c)][_0x545801(0x138)],'formatDateTime':this[_0x545801(0x10c)][_0x545801(0x131)],'editorConfig':this[_0x545801(0x10c)][_0x545801(0x121)]});_0x575812[_0x545801(0x10e)]=_0x2a4ef0['id'],_0x575812[_0x545801(0x132)](_0x545801(0x14b))['to'](this),_0x575812[_0x545801(0x132)](_0x545801(0x107))['to'](this),_0x575812[_0x545801(0x132)](_0x545801(0x136))['to'](this),_0x575812[_0x545801(0x132)](_0x545801(0x103))['to'](this),_0x575812[_0x545801(0x132)](_0x545801(0x139))['to'](this),this[_0x545801(0x11c)](_0x575812,_0x545801(0x11f),()=>this[_0x545801(0x130)]()),this[_0x545801(0xf3)][_0x545801(0x105)](_0x575812,_0x5d1920);}[_0x5e5911(0x141)](_0xc970c1){const _0xbb62cf=_0x5e5911,_0xd700e3=this[_0xbb62cf(0x13b)][_0xbb62cf(0x122)](_0xc970c1);return this[_0xbb62cf(0x11a)]?this[_0xbb62cf(0x11a)][_0xbb62cf(0xee)]>_0xc970c1[_0xbb62cf(0xee)]?_0xd700e3-0x1:_0xd700e3:_0xd700e3-0x1;}[_0x5e5911(0x108)](){const _0x3143e8=_0x5e5911;if(this[_0x3143e8(0x13b)][_0x3143e8(0xf2)]&&this[_0x3143e8(0x13b)][_0x3143e8(0x128)]){const _0xdf2222={'id':_0x3143e8(0x13f),'author':this[_0x3143e8(0x13b)][_0x3143e8(0xf2)],'authoredAt':this[_0x3143e8(0x13b)][_0x3143e8(0x128)],'content':_0x428123(this[_0x3143e8(0x101)],_0x3143e8(0xf4)),'attributes':{}};this[_0x3143e8(0x11a)]=new this[(_0x3143e8(0x10c))][(_0x3143e8(0x127))](this[_0x3143e8(0x101)],_0xdf2222,{'maxCommentCharsWhenCollapsed':this[_0x3143e8(0x10c)][_0x3143e8(0x138)],'formatDateTime':this[_0x3143e8(0x10c)][_0x3143e8(0x131)],'editorConfig':this[_0x3143e8(0x10c)][_0x3143e8(0x121)],'isSystemComment':!0x0}),this[_0x3143e8(0xf3)][_0x3143e8(0x105)](this[_0x3143e8(0x11a)],this[_0x3143e8(0x13b)][_0x3143e8(0x122)](_0xdf2222));}else this[_0x3143e8(0x11a)]&&(this[_0x3143e8(0xf3)][_0x3143e8(0x12a)](this[_0x3143e8(0x11a)]),this[_0x3143e8(0x11a)][_0x3143e8(0x143)](),this[_0x3143e8(0x11a)]=null);this[_0x3143e8(0x12f)]();}[_0x5e5911(0x10a)](_0x4838d7){const _0x44f392=_0x5e5911,_0x10ecc8=this[_0x44f392(0xf3)][_0x44f392(0x12a)](_0x4838d7['id']);this[_0x44f392(0x12e)](_0x10ecc8),_0x10ecc8[_0x44f392(0x119)]&&this[_0x44f392(0x130)](),_0x10ecc8[_0x44f392(0x143)]();}[_0x5e5911(0x130)](){const _0x38d865=_0x5e5911;this[_0x38d865(0xf9)]=Array[_0x38d865(0x142)](this[_0x38d865(0xf3)])[_0x38d865(0x137)](_0x439ecb=>_0x439ecb[_0x38d865(0x119)]);}[_0x5e5911(0x110)](){const _0x5d5322=_0x5e5911,_0x23fd61=function(_0x4509ea){const _0x275149=_0x4af0,_0x324c0a=new _0x3e5f1b();for(const _0x1b1cec of _0x4509ea)_0x324c0a[_0x275149(0x105)](_0x1b1cec);return _0x324c0a;}(this[_0x5d5322(0xf3)]),_0x31100a=this[_0x5d5322(0x147)][_0x5d5322(0x13c)];for(let _0x44b988=0x1;_0x44b988<=_0x31100a;_0x44b988++)_0x23fd61[_0x5d5322(0x12a)](0x1);for(const _0x3a2798 of _0x23fd61)_0x3a2798[_0x5d5322(0x13e)]();_0x31100a>0x0&&_0x23fd61[_0x5d5322(0x105)](this[_0x5d5322(0x147)],0x1),ns(_0x1ebf39(Array[_0x5d5322(0x142)](this[_0x5d5322(0xf0)]),Array[_0x5d5322(0x142)](_0x23fd61)),this[_0x5d5322(0xf0)],_0x23fd61);}[_0x5e5911(0xfa)](){const _0x385622=_0x5e5911;ns(_0x1ebf39(Array[_0x385622(0x142)](this[_0x385622(0xf0)]),Array[_0x385622(0x142)](this[_0x385622(0xf3)])),this[_0x385622(0xf0)],this[_0x385622(0xf3)]);for(const _0x97b4a0 of this[_0x385622(0xf0)])_0x97b4a0[_0x385622(0x13a)]();}[_0x5e5911(0xff)](){const _0x2707e9=_0x5e5911;this[_0x2707e9(0xf3)][_0x2707e9(0xf1)](_0x4b409c=>{const _0x44b6b1=_0x2707e9;this[_0x44b6b1(0xf6)][_0x44b6b1(0x105)](_0x4b409c[_0x44b6b1(0xfd)]),this[_0x44b6b1(0x133)][_0x44b6b1(0x11c)](_0x4b409c[_0x44b6b1(0xfd)]);}),this[_0x2707e9(0xf3)]['on'](_0x2707e9(0x10b),(_0x12cd2c,_0x1372ca)=>{const _0x5e5aa0=_0x2707e9;for(const _0x5e015e of _0x1372ca[_0x5e5aa0(0x144)])this[_0x5e5aa0(0xf6)][_0x5e5aa0(0x12a)](_0x5e015e[_0x5e5aa0(0xfd)]),this[_0x5e5aa0(0x133)][_0x5e5aa0(0x12e)](_0x5e015e[_0x5e5aa0(0xfd)]);for(const _0x241a3a of Array[_0x5e5aa0(0x142)](_0x1372ca[_0x5e5aa0(0xf8)])[_0x5e5aa0(0xef)]())this[_0x5e5aa0(0xf6)][_0x5e5aa0(0x105)](_0x241a3a[_0x5e5aa0(0xfd)]),this[_0x5e5aa0(0x133)][_0x5e5aa0(0x11c)](_0x241a3a[_0x5e5aa0(0xfd)]);});}}function ns(_0x284d44,_0x7eecaa,_0x440e0a){const _0x213629=_0x5e5911;let _0x8a901d=0x0;for(const _0x2d8017 of _0x284d44)switch(_0x2d8017){case _0x213629(0xfb):_0x7eecaa[_0x213629(0x105)](_0x440e0a[_0x213629(0x113)](_0x8a901d),_0x8a901d),_0x8a901d++;break;case _0x213629(0x12c):_0x7eecaa[_0x213629(0x12a)](_0x8a901d);break;case _0x213629(0x104):_0x8a901d++;}}function _0x4ac3(){const _0x166f68=['bind','element','ck-hidden','_setupKeyboardNavigation','includes','locale','235908EMSVSa','editorReady','equal','add','change:hasDirtyComment','updateComment','_handleInfoComment','bindTemplate','_handleRemoveCommentModel','change','_config','focusCycler','viewUid','Thread\x20comments','_rearrangeCollapse','arrowup','arrowdown','get','focus','comments','4285956iSWFVL','maxThreadTotalWeight','isActive','isEditMode','resolvedCommentView','map','listenTo','change:isResolved','_handleNewCommentModel','change:isEditMode','change:isActive','editorConfig','_findOptimalIndex','focusFirst','_shouldCollapse','render','commentUpdated','CommentView','resolvedAt','weight','remove','maxCommentsWhenCollapsed','delete','length','stopListening','refreshVisibleViews','_updateHasDirtyComment','formatDateTime','delegate','keystrokes','focusLast','set','resolveCommentThread','some','maxCommentCharsWhenCollapsed','editorDestroyed','expand','_model','count','1764795CoeNId','collapse','resolved','target','_calculatePosition','from','destroy','removed','setTemplate','createCollection','_collapsedCommentsView','1300533pdNCpT','486900zQPhwu','7136325hDjeEj','removeComment','authoredAt','reverse','visibleViews','forEach','resolvedBy','commentViews','Marked\x20as\x20resolved','170445hhbeCK','focusTracker','ck-thread__comments','added','hasDirtyComment','_rearrangeExpand','insert'];_0x4ac3=function(){return _0x166f68;};return _0x4ac3();}
|
|
23
|
+
function _0x3c64(_0x4a0883,_0x247493){const _0x1dbca0=_0x1dbc();return _0x3c64=function(_0x3c6470,_0x1c73c9){_0x3c6470=_0x3c6470-0x1e9;let _0x55939c=_0x1dbca0[_0x3c6470];return _0x55939c;},_0x3c64(_0x4a0883,_0x247493);}const _0x3956c7=_0x3c64;(function(_0x2324fd,_0x16c812){const _0xc78a39=_0x3c64,_0x5e7a1c=_0x2324fd();while(!![]){try{const _0x58de2a=parseInt(_0xc78a39(0x1f0))/0x1*(-parseInt(_0xc78a39(0x247))/0x2)+-parseInt(_0xc78a39(0x21e))/0x3+parseInt(_0xc78a39(0x226))/0x4+-parseInt(_0xc78a39(0x225))/0x5*(-parseInt(_0xc78a39(0x21d))/0x6)+parseInt(_0xc78a39(0x217))/0x7+parseInt(_0xc78a39(0x209))/0x8*(-parseInt(_0xc78a39(0x212))/0x9)+parseInt(_0xc78a39(0x239))/0xa*(parseInt(_0xc78a39(0x233))/0xb);if(_0x58de2a===_0x16c812)break;else _0x5e7a1c['push'](_0x5e7a1c['shift']());}catch(_0x323f5d){_0x5e7a1c['push'](_0x5e7a1c['shift']());}}}(_0x1dbc,0x71ae7));import{View as _0x55310a,FocusCycler as _0x4f5451}from'ckeditor5/src/ui.js';import{diff as _0x3e908d,Collection as _0x10b01,FocusTracker as _0x3dc63,KeystrokeHandler as _0x41f4f5}from'ckeditor5/src/utils.js';import{getTranslation as _0x532a0a}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2e615e}from'./collapsedcommentsview.js';export class CommentsListView extends _0x55310a{[_0x3956c7(0x21c)];[_0x3956c7(0x227)];[_0x3956c7(0x222)];[_0x3956c7(0x1e9)];[_0x3956c7(0x20a)];[_0x3956c7(0x21a)];[_0x3956c7(0x1f2)];[_0x3956c7(0x1f7)];constructor(_0x2dc62a,_0x202576,_0x433d5){const _0x6622c1=_0x3956c7;super(_0x2dc62a);const _0x34a89d=this[_0x6622c1(0x202)];this[_0x6622c1(0x1ea)](_0x6622c1(0x20c),!0x1),this[_0x6622c1(0x1ea)](_0x6622c1(0x246),_0x202576[_0x6622c1(0x243)][_0x6622c1(0x246)]),this[_0x6622c1(0x1ea)](_0x6622c1(0x1fb),!0x1),this[_0x6622c1(0x21a)]=_0x202576,this[_0x6622c1(0x1f2)]=_0x433d5,this[_0x6622c1(0x21c)]=this[_0x6622c1(0x220)](),this[_0x6622c1(0x1fd)]=this[_0x6622c1(0x220)](),this[_0x6622c1(0x227)]=null,this[_0x6622c1(0x222)]=new _0x3dc63(),this[_0x6622c1(0x1e9)]=new _0x41f4f5(),this[_0x6622c1(0x20a)]=new _0x4f5451({'focusables':this[_0x6622c1(0x21c)],'focusTracker':this[_0x6622c1(0x222)],'keystrokeHandler':this[_0x6622c1(0x1e9)],'keystrokeHandlerOptions':{'filter':_0x2ea261=>this[_0x6622c1(0x21c)][_0x6622c1(0x249)](_0x42dbdd=>_0x42dbdd[_0x6622c1(0x1f9)])[_0x6622c1(0x245)](_0x2ea261[_0x6622c1(0x23d)])},'actions':{'focusPrevious':_0x6622c1(0x21f),'focusNext':_0x6622c1(0x1ee)}}),this[_0x6622c1(0x1f7)]=new _0x2e615e(_0x2dc62a),this[_0x6622c1(0x1f7)][_0x6622c1(0x244)](_0x6622c1(0x22a))['to'](this,_0x6622c1(0x246),_0x25fa2a=>_0x25fa2a-this[_0x6622c1(0x1f2)][_0x6622c1(0x24a)]);for(const _0x3c6f72 of _0x202576[_0x6622c1(0x243)])this[_0x6622c1(0x20d)](_0x3c6f72);this[_0x6622c1(0x1eb)](),this[_0x6622c1(0x23a)](_0x202576[_0x6622c1(0x243)],_0x6622c1(0x1ef),(_0x3cd1ae,_0x12a76a)=>{const _0x47336f=_0x6622c1,_0x566079=this[_0x47336f(0x215)](_0x12a76a);this[_0x47336f(0x246)]++,this[_0x47336f(0x20d)](_0x12a76a,_0x566079),this[_0x47336f(0x210)]();}),this[_0x6622c1(0x23a)](_0x202576[_0x6622c1(0x243)],_0x6622c1(0x234),(_0xedf8da,_0x2928dd)=>{const _0x58252f=_0x6622c1;this[_0x58252f(0x246)]--,this[_0x58252f(0x23c)](_0x2928dd),this[_0x58252f(0x210)]();}),this[_0x6622c1(0x23a)](_0x202576,_0x6622c1(0x208),()=>this[_0x6622c1(0x210)]()),this[_0x6622c1(0x23a)](_0x202576,_0x6622c1(0x22e),()=>this[_0x6622c1(0x1eb)]()),this['on'](_0x6622c1(0x20b),()=>this[_0x6622c1(0x210)]()),this['on'](_0x6622c1(0x236),()=>this[_0x6622c1(0x210)]()),this[_0x6622c1(0x206)]({'tag':'ul','attributes':{'class':[_0x6622c1(0x232),_0x34a89d['if'](_0x6622c1(0x246),_0x6622c1(0x22c),_0x3d9dd4=>!_0x3d9dd4)],'aria-label':_0x532a0a(_0x2dc62a,_0x6622c1(0x214))},'children':this[_0x6622c1(0x1fd)]});}get[_0x3956c7(0x231)](){const _0x2a98e0=_0x3956c7;return this[_0x2a98e0(0x21a)][_0x2a98e0(0x235)]>this[_0x2a98e0(0x1f2)][_0x2a98e0(0x223)]&&!this[_0x2a98e0(0x1fb)]&&!this[_0x2a98e0(0x20c)];}[_0x3956c7(0x230)](){const _0x4cad64=_0x3956c7;super[_0x4cad64(0x230)](),this[_0x4cad64(0x210)](),this[_0x4cad64(0x23f)]();}[_0x3956c7(0x1ed)](_0x3c2e55){const _0x5be1b7=_0x3956c7;-0x1===_0x3c2e55?this[_0x5be1b7(0x20a)][_0x5be1b7(0x1fc)]():this[_0x5be1b7(0x20a)][_0x5be1b7(0x216)]();}[_0x3956c7(0x229)](){const _0xf3e107=_0x3956c7;this[_0xf3e107(0x1f7)][_0xf3e107(0x229)]();for(const _0x470b7a of this[_0xf3e107(0x21c)])_0x470b7a[_0xf3e107(0x229)]();super[_0xf3e107(0x229)]();}[_0x3956c7(0x210)](){const _0x21c1f1=_0x3956c7;this[_0x21c1f1(0x231)]?this[_0x21c1f1(0x219)]():this[_0x21c1f1(0x20f)]();}[_0x3956c7(0x20d)](_0x5a9cb2,_0x181658){const _0x1995e5=_0x3956c7,_0x5b407b=new this[(_0x1995e5(0x1f2))][(_0x1995e5(0x20e))](this[_0x1995e5(0x23b)],_0x5a9cb2,{'maxCommentCharsWhenCollapsed':this[_0x1995e5(0x1f2)][_0x1995e5(0x203)],'formatDateTime':this[_0x1995e5(0x1f2)][_0x1995e5(0x22d)],'editorConfig':this[_0x1995e5(0x1f2)][_0x1995e5(0x238)]});_0x5b407b[_0x1995e5(0x1f4)]=_0x5a9cb2['id'],_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x201))['to'](this),_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x213))['to'](this),_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x22f))['to'](this),_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x1fa))['to'](this),_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x1f3))['to'](this),this[_0x1995e5(0x23a)](_0x5b407b,_0x1995e5(0x1f1),()=>this[_0x1995e5(0x248)]()),this[_0x1995e5(0x21c)][_0x1995e5(0x1ef)](_0x5b407b,_0x181658);}[_0x3956c7(0x215)](_0x357151){const _0x4c022c=_0x3956c7,_0x362374=this[_0x4c022c(0x21a)][_0x4c022c(0x218)](_0x357151);return this[_0x4c022c(0x227)]?this[_0x4c022c(0x227)][_0x4c022c(0x205)]>_0x357151[_0x4c022c(0x205)]?_0x362374-0x1:_0x362374:_0x362374-0x1;}[_0x3956c7(0x1eb)](){const _0x1baf48=_0x3956c7;if(this[_0x1baf48(0x21a)][_0x1baf48(0x23e)]&&this[_0x1baf48(0x21a)][_0x1baf48(0x204)]){const _0x520f66={'id':_0x1baf48(0x1f6),'author':this[_0x1baf48(0x21a)][_0x1baf48(0x23e)],'authoredAt':this[_0x1baf48(0x21a)][_0x1baf48(0x204)],'content':_0x532a0a(this[_0x1baf48(0x23b)],_0x1baf48(0x1ff)),'attributes':{}};this[_0x1baf48(0x227)]=new this[(_0x1baf48(0x1f2))][(_0x1baf48(0x20e))](this[_0x1baf48(0x23b)],_0x520f66,{'maxCommentCharsWhenCollapsed':this[_0x1baf48(0x1f2)][_0x1baf48(0x203)],'formatDateTime':this[_0x1baf48(0x1f2)][_0x1baf48(0x22d)],'editorConfig':this[_0x1baf48(0x1f2)][_0x1baf48(0x238)],'isSystemComment':!0x0}),this[_0x1baf48(0x21c)][_0x1baf48(0x1ef)](this[_0x1baf48(0x227)],this[_0x1baf48(0x21a)][_0x1baf48(0x218)](_0x520f66));}else this[_0x1baf48(0x227)]&&(this[_0x1baf48(0x21c)][_0x1baf48(0x234)](this[_0x1baf48(0x227)]),this[_0x1baf48(0x227)][_0x1baf48(0x229)](),this[_0x1baf48(0x227)]=null);this[_0x1baf48(0x210)]();}[_0x3956c7(0x23c)](_0x541284){const _0x58f59e=_0x3956c7,_0x294203=this[_0x58f59e(0x21c)][_0x58f59e(0x234)](_0x541284['id']);this[_0x58f59e(0x200)](_0x294203),_0x294203[_0x58f59e(0x237)]&&this[_0x58f59e(0x248)](),_0x294203[_0x58f59e(0x229)]();}[_0x3956c7(0x248)](){const _0x2bad8b=_0x3956c7;this[_0x2bad8b(0x20c)]=Array[_0x2bad8b(0x1fe)](this[_0x2bad8b(0x21c)])[_0x2bad8b(0x224)](_0x245c53=>_0x245c53[_0x2bad8b(0x237)]);}[_0x3956c7(0x219)](){const _0x29e144=_0x3956c7,_0x486090=function(_0x2f3037){const _0x502ee4=_0x3c64,_0x2f555e=new _0x10b01();for(const _0x417a83 of _0x2f3037)_0x2f555e[_0x502ee4(0x1ef)](_0x417a83);return _0x2f555e;}(this[_0x29e144(0x21c)]),_0x4c3055=this[_0x29e144(0x1f7)][_0x29e144(0x22a)];for(let _0x20dbec=0x1;_0x20dbec<=_0x4c3055;_0x20dbec++)_0x486090[_0x29e144(0x234)](0x1);for(const _0x5c0979 of _0x486090)_0x5c0979[_0x29e144(0x211)]();_0x4c3055>0x0&&_0x486090[_0x29e144(0x1ef)](this[_0x29e144(0x1f7)],0x1),ns(_0x3e908d(Array[_0x29e144(0x1fe)](this[_0x29e144(0x1fd)]),Array[_0x29e144(0x1fe)](_0x486090)),this[_0x29e144(0x1fd)],_0x486090);}[_0x3956c7(0x20f)](){const _0x339abc=_0x3956c7;ns(_0x3e908d(Array[_0x339abc(0x1fe)](this[_0x339abc(0x1fd)]),Array[_0x339abc(0x1fe)](this[_0x339abc(0x21c)])),this[_0x339abc(0x1fd)],this[_0x339abc(0x21c)]);for(const _0x2a4153 of this[_0x339abc(0x1fd)])_0x2a4153[_0x339abc(0x242)]();}[_0x3956c7(0x23f)](){const _0x1fe293=_0x3956c7;this[_0x1fe293(0x21c)][_0x1fe293(0x221)](_0x391c30=>{const _0x5d5254=_0x1fe293;this[_0x5d5254(0x222)][_0x5d5254(0x1ef)](_0x391c30[_0x5d5254(0x1f9)]),this[_0x5d5254(0x1e9)][_0x5d5254(0x23a)](_0x391c30[_0x5d5254(0x1f9)]);}),this[_0x1fe293(0x21c)]['on'](_0x1fe293(0x207),(_0x289fcd,_0x205bfa)=>{const _0x3d602e=_0x1fe293;for(const _0x30b919 of _0x205bfa[_0x3d602e(0x240)])this[_0x3d602e(0x222)][_0x3d602e(0x234)](_0x30b919[_0x3d602e(0x1f9)]),this[_0x3d602e(0x1e9)][_0x3d602e(0x200)](_0x30b919[_0x3d602e(0x1f9)]);for(const _0xcc03e5 of Array[_0x3d602e(0x1fe)](_0x205bfa[_0x3d602e(0x1f5)])[_0x3d602e(0x1f8)]())this[_0x3d602e(0x222)][_0x3d602e(0x1ef)](_0xcc03e5[_0x3d602e(0x1f9)]),this[_0x3d602e(0x1e9)][_0x3d602e(0x23a)](_0xcc03e5[_0x3d602e(0x1f9)]);});}}function ns(_0x565a2b,_0x1694d2,_0x513667){const _0x3bd03d=_0x3956c7;let _0x2ef014=0x0;for(const _0x225e67 of _0x565a2b)switch(_0x225e67){case _0x3bd03d(0x241):_0x1694d2[_0x3bd03d(0x1ef)](_0x513667[_0x3bd03d(0x228)](_0x2ef014),_0x2ef014),_0x2ef014++;break;case _0x3bd03d(0x1ec):_0x1694d2[_0x3bd03d(0x234)](_0x2ef014);break;case _0x3bd03d(0x22b):_0x2ef014++;}}function _0x1dbc(){const _0x375470=['element','editorReady','isActive','focusLast','visibleViews','from','Marked\x20as\x20resolved','stopListening','removeComment','bindTemplate','maxCommentCharsWhenCollapsed','resolvedAt','authoredAt','setTemplate','change','commentUpdated','4540392ycnYVa','focusCycler','change:isActive','hasDirtyComment','_handleNewCommentModel','CommentView','_rearrangeExpand','refreshVisibleViews','collapse','9tuhePT','updateComment','Thread\x20comments','_calculatePosition','focusFirst','489517JYJzlE','_findOptimalIndex','_rearrangeCollapse','_model','delegate','commentViews','543138zBvnks','1938486tyCfKQ','arrowup','createCollection','forEach','focusTracker','maxThreadTotalWeight','some','50ZPpiQD','2005900saYapT','resolvedCommentView','get','destroy','count','equal','ck-hidden','formatDateTime','change:isResolved','resolveCommentThread','render','_shouldCollapse','ck-thread__comments','5631527IUOOlQ','remove','weight','change:hasDirtyComment','isEditMode','editorConfig','20bvFsoy','listenTo','locale','_handleRemoveCommentModel','target','resolvedBy','_setupKeyboardNavigation','removed','insert','expand','comments','bind','includes','length','50tylKRv','_updateHasDirtyComment','map','maxCommentsWhenCollapsed','keystrokes','set','_handleInfoComment','delete','focus','arrowdown','add','32848nngliB','change:isEditMode','_config','editorDestroyed','viewUid','added','resolved','_collapsedCommentsView','reverse'];_0x1dbc=function(){return _0x375470;};return _0x1dbc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e48d9=_0x1485;(function(_0x570971,_0x654fd9){const _0xea20c4=_0x1485,_0x3865b8=_0x570971();while(!![]){try{const _0x38946f=-parseInt(_0xea20c4(0x1d0))/0x1+parseInt(_0xea20c4(0x1d8))/0x2*(-parseInt(_0xea20c4(0x1db))/0x3)+parseInt(_0xea20c4(0x1d7))/0x4+parseInt(_0xea20c4(0x1d6))/0x5*(parseInt(_0xea20c4(0x1d9))/0x6)+-parseInt(_0xea20c4(0x1d1))/0x7+-parseInt(_0xea20c4(0x1dd))/0x8*(-parseInt(_0xea20c4(0x1df))/0x9)+-parseInt(_0xea20c4(0x1cf))/0xa;if(_0x38946f===_0x654fd9)break;else _0x3865b8['push'](_0x3865b8['shift']());}catch(_0x3d6440){_0x3865b8['push'](_0x3865b8['shift']());}}}(_0x15be,0xd8c86));function _0x15be(){const _0x498306=['setTemplate','7883335ukObuy','2045656lktAnt','64mXzefE','6xQriAH','THREAD_CONTEXT_LABEL','7302WVIqME','span','1768NdLTYP','element','26172vAECPz','focus','bindTemplate','7639570eHFBrN','162307dsFdLL','5870585dNuOof','contextValue','ck-context__value','set'];_0x15be=function(){return _0x498306;};return _0x15be();}import{View as _0x5978c8}from'ckeditor5/src/ui.js';function _0x1485(_0x3d1bb8,_0x4088d7){const _0x15be81=_0x15be();return _0x1485=function(_0x14858d,_0x23fac3){_0x14858d=_0x14858d-0x1cf;let _0x5a453b=_0x15be81[_0x14858d];return _0x5a453b;},_0x1485(_0x3d1bb8,_0x4088d7);}import{getTranslation as _0x35f0a7}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x5978c8{constructor(_0x5f2809){const _0x11eed7=_0x1485;super(_0x5f2809);const _0x132f81=this[_0x11eed7(0x1e1)];this[_0x11eed7(0x1d4)](_0x11eed7(0x1d2),''),this[_0x11eed7(0x1d5)]({'tag':_0x11eed7(0x1dc),'attributes':{'class':['ck',_0x11eed7(0x1d3)],'aria-label':_0x132f81['to'](_0x11eed7(0x1d2),_0x66f1f2=>_0x35f0a7(_0x5f2809,_0x11eed7(0x1da),_0x66f1f2)),'tabindex':-0x1},'children':[{'text':_0x132f81['to'](_0x11eed7(0x1d2))}]});}[_0x3e48d9(0x1e0)](){const _0x1d14af=_0x3e48d9;this[_0x1d14af(0x1de)][_0x1d14af(0x1e0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ba9c7=_0x8a62;(function(_0x4d316f,_0x3dcad5){const _0x44d155=_0x8a62,_0x2c39f5=_0x4d316f();while(!![]){try{const _0x4cc03c=-parseInt(_0x44d155(0x19b))/0x1+parseInt(_0x44d155(0x199))/0x2+parseInt(_0x44d155(0x1b8))/0x3+parseInt(_0x44d155(0x198))/0x4+parseInt(_0x44d155(0x191))/0x5+parseInt(_0x44d155(0x197))/0x6+-parseInt(_0x44d155(0x1ad))/0x7;if(_0x4cc03c===_0x3dcad5)break;else _0x2c39f5['push'](_0x2c39f5['shift']());}catch(_0x1fd08a){_0x2c39f5['push'](_0x2c39f5['shift']());}}}(_0x531d,0x77c36));function _0x531d(){const _0x488f98=['element','isResolved','label','add','context','Comment\x20was\x20made\x20on\x20an\x20element','_setupKeyboardNavigation','ck-context--quotes','render','289680hRoVrk','locale','_model','Reopen','reopenButtonView','substring','_trimContextValue','focusCycler','_attachContextActions','isReadOnly','focusables','...','mouseenter','focus','.ck-context__value','classList','_createReopenButton','reopenCommentThread','ck-context-wrapper','overlay','length','icon','isVisible','tooltip','remove','focusTracker','fire','_createContextView','ck-context','.ck-context','953355kqXSUZ','listenTo','setTemplate','isEnabled','keystrokes','bindTemplate','473766VJJUJl','2572624zbkBRP','1717252dCBbSf','contextView','723779FGMCcr','ck-thread__header','isResolvable','scrollWidth','contextValue','createCollection','execute','hasContext','shift+tab','offsetWidth','tab','mouseleave','focusFirst','div','value','ck-annotation__actions','lastIndexOf','querySelector','4575515niwTsc','bind'];_0x531d=function(){return _0x488f98;};return _0x531d();}import{View as _0x6abf5,ButtonView as _0x1de709,FocusCycler as _0x326341}from'ckeditor5/src/ui.js';import{FocusTracker as _0x51e078,KeystrokeHandler as _0x45a5bb}from'ckeditor5/src/utils.js';import{IconUndo as _0x45929f}from'ckeditor5/src/icons.js';function _0x8a62(_0x3a29c2,_0x1be1a5){const _0x531dd5=_0x531d();return _0x8a62=function(_0x8a62a5,_0x712fa1){_0x8a62a5=_0x8a62a5-0x180;let _0x1fc11f=_0x531dd5[_0x8a62a5];return _0x1fc11f;},_0x8a62(_0x3a29c2,_0x1be1a5);}import{getTranslation as _0x2bc9e1}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x2d9f4c}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x6abf5{[_0x1ba9c7(0x1ba)];[_0x1ba9c7(0x1bc)];[_0x1ba9c7(0x19a)];[_0x1ba9c7(0x1c2)];[_0x1ba9c7(0x18c)];[_0x1ba9c7(0x195)];[_0x1ba9c7(0x1bf)];constructor(_0x293dec,_0x46c16a){const _0x3f9e3b=_0x1ba9c7;super(_0x293dec);const _0x250011=this[_0x3f9e3b(0x196)];this[_0x3f9e3b(0x1ba)]=_0x46c16a,this[_0x3f9e3b(0x1bc)]=this[_0x3f9e3b(0x183)](),this[_0x3f9e3b(0x19a)]=this[_0x3f9e3b(0x18e)](),this[_0x3f9e3b(0x1c2)]=this[_0x3f9e3b(0x1a0)]([this[_0x3f9e3b(0x19a)],this[_0x3f9e3b(0x1bc)]]),this[_0x3f9e3b(0x18c)]=new _0x51e078(),this[_0x3f9e3b(0x195)]=new _0x45a5bb(),this[_0x3f9e3b(0x1bf)]=new _0x326341({'focusables':this[_0x3f9e3b(0x1c2)],'focusTracker':this[_0x3f9e3b(0x18c)],'keystrokeHandler':this[_0x3f9e3b(0x195)],'actions':{'focusPrevious':_0x3f9e3b(0x1a3),'focusNext':_0x3f9e3b(0x1a5)}}),this[_0x3f9e3b(0x1ae)](_0x3f9e3b(0x1a2))['to'](this[_0x3f9e3b(0x1ba)],_0x3f9e3b(0x1b3),_0x5c1a55=>!!_0x5c1a55),this[_0x3f9e3b(0x1ae)](_0x3f9e3b(0x19f))['to'](this[_0x3f9e3b(0x1ba)],_0x3f9e3b(0x1b3),_0xf57659=>_0xf57659&&_0xf57659[_0x3f9e3b(0x1a9)]?this[_0x3f9e3b(0x1be)](_0xf57659[_0x3f9e3b(0x1a9)]):_0x2bc9e1(this[_0x3f9e3b(0x1b9)],_0x3f9e3b(0x1b4))),this[_0x3f9e3b(0x193)]({'tag':_0x3f9e3b(0x1a8),'attributes':{'class':[_0x3f9e3b(0x19c)]},'children':[{'tag':_0x3f9e3b(0x1a8),'attributes':{'class':[_0x3f9e3b(0x185)]},'children':[{'tag':_0x3f9e3b(0x1a8),'attributes':{'class':[_0x3f9e3b(0x18f),_0x250011['if'](_0x3f9e3b(0x1a2),_0x3f9e3b(0x1b6))]},'children':[this[_0x3f9e3b(0x19a)]]}]},{'tag':_0x3f9e3b(0x1a8),'attributes':{'class':[_0x3f9e3b(0x1aa)]},'children':[this[_0x3f9e3b(0x1bc)]]}]});}[_0x1ba9c7(0x1b7)](){const _0x5a45e1=_0x1ba9c7;super[_0x5a45e1(0x1b7)](),this[_0x5a45e1(0x1c0)](),this[_0x5a45e1(0x1b5)]();}[_0x1ba9c7(0x180)](){const _0x366596=_0x1ba9c7;this[_0x366596(0x1bf)][_0x366596(0x1a7)]();}[_0x1ba9c7(0x183)](){const _0x30f5cb=_0x1ba9c7,_0x459bbb=new _0x1de709(this[_0x30f5cb(0x1b9)]);return _0x459bbb[_0x30f5cb(0x1b1)]=_0x2bc9e1(this[_0x30f5cb(0x1b9)],_0x30f5cb(0x1bb)),_0x459bbb[_0x30f5cb(0x18a)]=_0x2bc9e1(this[_0x30f5cb(0x1b9)],_0x30f5cb(0x1bb)),_0x459bbb[_0x30f5cb(0x188)]=_0x45929f,_0x459bbb[_0x30f5cb(0x1ae)](_0x30f5cb(0x194))['to'](this[_0x30f5cb(0x1ba)],_0x30f5cb(0x1c1),_0x2ae54e=>!_0x2ae54e),_0x459bbb[_0x30f5cb(0x1ae)](_0x30f5cb(0x189))['to'](this[_0x30f5cb(0x1ba)],_0x30f5cb(0x19d),this[_0x30f5cb(0x1ba)],_0x30f5cb(0x1b0),(_0x2cbcb5,_0x439334)=>_0x2cbcb5&&_0x439334),_0x459bbb['on'](_0x30f5cb(0x1a1),()=>{const _0x3a82fb=_0x30f5cb;this[_0x3a82fb(0x18d)](_0x3a82fb(0x184),this[_0x3a82fb(0x1ba)]['id']);}),_0x459bbb;}[_0x1ba9c7(0x1be)](_0x119e4){const _0x298f37=_0x1ba9c7;if(_0x119e4[_0x298f37(0x187)]<0x96)return _0x119e4;const _0x118f98=_0x119e4[_0x298f37(0x1ab)]('\x20',0x93);return _0x119e4[_0x298f37(0x1bd)](0x0,_0x118f98>-0x1?_0x118f98:0x93)+_0x298f37(0x1c3);}[_0x1ba9c7(0x1c0)](){const _0x1f4989=_0x1ba9c7,_0x331ea4=this[_0x1f4989(0x1af)][_0x1f4989(0x1ac)](_0x1f4989(0x190)),_0x2ff5d9=_0x331ea4[_0x1f4989(0x1ac)](_0x1f4989(0x181));this[_0x1f4989(0x192)](_0x331ea4,_0x1f4989(0x1c4),()=>{const _0xead1db=_0x1f4989;_0x2ff5d9[_0xead1db(0x1a4)]<_0x2ff5d9[_0xead1db(0x19e)]&&_0x331ea4[_0xead1db(0x182)][_0xead1db(0x1b2)](_0xead1db(0x186));}),this[_0x1f4989(0x192)](_0x331ea4,_0x1f4989(0x1a6),()=>{const _0x21d17d=_0x1f4989;_0x331ea4[_0x21d17d(0x182)][_0x21d17d(0x18b)](_0x21d17d(0x186));});}[_0x1ba9c7(0x1b5)](){const _0x17c99b=_0x1ba9c7;this[_0x17c99b(0x195)][_0x17c99b(0x192)](this[_0x17c99b(0x1af)]);for(const _0x587c76 of this[_0x17c99b(0x1c2)])this[_0x17c99b(0x18c)][_0x17c99b(0x1b2)](_0x587c76[_0x17c99b(0x1af)]),this[_0x17c99b(0x195)][_0x17c99b(0x192)](_0x587c76[_0x17c99b(0x1af)]);}[_0x1ba9c7(0x18e)](){const _0xc0c28a=_0x1ba9c7,_0x3a749d=new _0x2d9f4c(this[_0xc0c28a(0x1b9)]);return _0x3a749d[_0xc0c28a(0x1ae)](_0xc0c28a(0x19f))['to'](this),_0x3a749d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bf239=_0x1a9f;(function(_0x78f501,_0x4ab9c9){const _0x42d9d6=_0x1a9f,_0x78e444=_0x78f501();while(!![]){try{const _0x5eb080=parseInt(_0x42d9d6(0xc2))/0x1+parseInt(_0x42d9d6(0xa6))/0x2*(-parseInt(_0x42d9d6(0xc7))/0x3)+parseInt(_0x42d9d6(0x9f))/0x4*(-parseInt(_0x42d9d6(0x95))/0x5)+-parseInt(_0x42d9d6(0xbb))/0x6*(-parseInt(_0x42d9d6(0xc5))/0x7)+parseInt(_0x42d9d6(0x9c))/0x8+-parseInt(_0x42d9d6(0x99))/0x9+parseInt(_0x42d9d6(0x9e))/0xa*(parseInt(_0x42d9d6(0xb7))/0xb);if(_0x5eb080===_0x4ab9c9)break;else _0x78e444['push'](_0x78e444['shift']());}catch(_0x362bc9){_0x78e444['push'](_0x78e444['shift']());}}}(_0x5220,0x18a63));import{View as _0x2fb9d9}from'ckeditor5/src/ui.js';import{CommentInputView as _0x406430}from'./commentinputview.js';function _0x1a9f(_0x46264c,_0x13732b){const _0x522061=_0x5220();return _0x1a9f=function(_0x1a9f2b,_0x3854fd){_0x1a9f2b=_0x1a9f2b-0x95;let _0x3ba4f3=_0x522061[_0x1a9f2b];return _0x3ba4f3;},_0x1a9f(_0x46264c,_0x13732b);}import{UserView as _0x12d53c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5220(){const _0x33ce24=['2620raBeSH','_focusOnNonInteractiveMouseDown','isFocused','listenTo','162342mTtmJG','contains','ck-comment__input-container--active','1058280uMMJDX','target','10tqJzCm','1320yIbajl','ck-thread__user','editing','showInput','preventDefault','set','mousedown','84034OriNdC','focus','showButtons','userView','filter','focusTracker','ck-thread__input','value','div','createEditor','destroy','ck-comment__input-container','setTemplate','editorDestroyed','getDomRoot','bind','commentInputView','101893JoJVzw','view','element','extendTemplate','1944ustoKu','focusCycler','change:showInput','editorReady','render','editor','then','49830UbZQry','some','bindTemplate','3080goXoiw','delegate','3fiALiP'];_0x5220=function(){return _0x33ce24;};return _0x5220();}export class CommentThreadInputView extends _0x2fb9d9{constructor(_0x2c242c,_0x39dbe8,_0x46cbc4){const _0x6ea382=_0x1a9f;super(_0x2c242c),this[_0x6ea382(0xb6)]=new _0x406430(_0x2c242c,_0x46cbc4),this[_0x6ea382(0xbc)]=this[_0x6ea382(0xb6)][_0x6ea382(0xbc)],this[_0x6ea382(0xb6)][_0x6ea382(0xb5)](_0x6ea382(0xa8))['to'](this[_0x6ea382(0xb6)][_0x6ea382(0xab)],_0x6ea382(0x97),this[_0x6ea382(0xb6)],_0x6ea382(0xad),(_0x198d1a,_0xa1ee16)=>_0x198d1a||!!_0xa1ee16),this[_0x6ea382(0xa4)](_0x6ea382(0xa2),!0x1),this['on'](_0x6ea382(0xbd),()=>{const _0x180ad8=_0x6ea382;this[_0x180ad8(0xa2)]&&!this[_0x180ad8(0xb6)][_0x180ad8(0xc0)]&&this[_0x180ad8(0xb6)][_0x180ad8(0xaf)]();}),this[_0x6ea382(0xb6)][_0x6ea382(0xc6)](_0x6ea382(0xbe))['to'](this),this[_0x6ea382(0xb6)][_0x6ea382(0xc6)](_0x6ea382(0xb3))['to'](this),this[_0x6ea382(0xa9)]=new _0x12d53c(_0x2c242c,_0x39dbe8),this[_0x6ea382(0xa9)][_0x6ea382(0xba)]({'attributes':{'class':_0x6ea382(0xa0),'aria-hidden':!0x0}}),this[_0x6ea382(0xb6)][_0x6ea382(0xba)]({'attributes':{'class':_0x6ea382(0xac)}}),this[_0x6ea382(0xb2)]({'tag':_0x6ea382(0xae),'attributes':{'class':[_0x6ea382(0xb1),this[_0x6ea382(0xc4)]['if'](_0x6ea382(0xa2),_0x6ea382(0x9b))]},'children':[this[_0x6ea382(0xa9)],this[_0x6ea382(0xb6)]]});}[_0x2bf239(0xbf)](){const _0x32ab9f=_0x2bf239;super[_0x32ab9f(0xbf)](),this[_0x32ab9f(0x96)]();}[_0x2bf239(0xb0)](){const _0x1c7394=_0x2bf239;return this[_0x1c7394(0xb6)][_0x1c7394(0xb0)]()[_0x1c7394(0xc1)](()=>super[_0x1c7394(0xb0)]());}[_0x2bf239(0xa7)](_0x4ba062){const _0x58e9ad=_0x2bf239;this[_0x58e9ad(0xb6)][_0x58e9ad(0xa7)](_0x4ba062);}[_0x2bf239(0x96)](){const _0x5ea7d5=_0x2bf239;this[_0x5ea7d5(0x98)](this[_0x5ea7d5(0xb9)],_0x5ea7d5(0xa5),(_0x59191a,_0x4d53ef)=>{const _0x3abb46=_0x5ea7d5,{submitButtonView:_0x1aaaab,cancelButtonView:_0x459073,editor:_0x3646bb}=this[_0x3abb46(0xb6)];[_0x1aaaab[_0x3abb46(0xb9)],_0x459073[_0x3abb46(0xb9)],_0x3646bb?_0x3646bb[_0x3abb46(0xa1)][_0x3abb46(0xb8)][_0x3abb46(0xb4)]():null][_0x3abb46(0xaa)](_0x4640d0=>_0x4640d0)[_0x3abb46(0xc3)](_0xc83146=>_0xc83146[_0x3abb46(0x9a)](_0x4d53ef[_0x3abb46(0x9d)]))||(this[_0x3abb46(0xa7)](),_0x4d53ef[_0x3abb46(0xa3)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2fbf52=_0x3ddb;(function(_0x1ac2b2,_0x3c6bed){const _0x41a332=_0x3ddb,_0x45a072=_0x1ac2b2();while(!![]){try{const _0x55e28b=parseInt(_0x41a332(0x1ba))/0x1+parseInt(_0x41a332(0x175))/0x2*(parseInt(_0x41a332(0x1ab))/0x3)+-parseInt(_0x41a332(0x1b6))/0x4*(-parseInt(_0x41a332(0x19f))/0x5)+parseInt(_0x41a332(0x1b5))/0x6+-parseInt(_0x41a332(0x1c3))/0x7*(-parseInt(_0x41a332(0x196))/0x8)+-parseInt(_0x41a332(0x1c8))/0x9+-parseInt(_0x41a332(0x1ac))/0xa*(parseInt(_0x41a332(0x18f))/0xb);if(_0x55e28b===_0x3c6bed)break;else _0x45a072['push'](_0x45a072['shift']());}catch(_0x119b21){_0x45a072['push'](_0x45a072['shift']());}}}(_0x54c3,0x93a8f));import{ConfirmMixin as _0x44d6c6,LateFocusButtonView as _0x33d974}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x48ad55}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0xb5d6f9}from'./basecommentthreadview.js';function _0x3ddb(_0x54dcd4,_0x14afe9){const _0x54c3a0=_0x54c3();return _0x3ddb=function(_0x3ddb16,_0x305765){_0x3ddb16=_0x3ddb16-0x174;let _0x3d2c17=_0x54c3a0[_0x3ddb16];return _0x3d2c17;},_0x3ddb(_0x54dcd4,_0x14afe9);}function _0x54c3(){const _0x33d2bb=['createCollection','ck-thread--','136zhvMGW','isReadOnly','isEnabled','Delete\x20comment\x20thread?','label','removeConfirm','_boundFirstCommentView','_updateArchivedThreadHeader','.ck-thread__container','5uIgRRq','archivedAt','bind','ck-rounded-corners','ck-thread--unlinked','change:archivedAt','_bindFirstCommentView','_createResolveButton','isSystemComment','resolveCommentThread','showConfirm','ck-thread__container','291Accvci','1149670ErmPSC','focusables','placeholder','ariaLabel','resolveButton','listenTo','icon','change:isReadOnly','isUnlinked','3389874LhSUse','1545512WiYSKU','length','extendTemplate','isVisible','7721WmGcLC','_cancelAllConfirms','removeCommentThread','bindTemplate','ariaDescriptionView','tooltip','has','getTemplate','commentThreadHeaderView','130109crJbRN','actionIndicator','ck-thread--active','setTemplate','actionBar','7033311yBdRqc','div','commentThreadChildren','set','execute','Write\x20a\x20comment...','4664kUJwXU','containerElement','fire','commentViews','then','change:isActive','_model','render','isResolvable','querySelector','ck-reset_all-excluded','add','stop','listitem','commentThreadInputView','isActive','isResolved','Resolve','ck-comment--resolve','element','high','commentsListView','get','ck-thread','locale','focus','11KvYynj','cancelConfirm','remove','unbind','removeButton'];_0x54c3=function(){return _0x33d2bb;};return _0x54c3();}import{getTranslation as _0x57068e}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x44d6c6(_0xb5d6f9){[_0x2fbf52(0x1ca)];[_0x2fbf52(0x176)];[_0x2fbf52(0x1b0)];[_0x2fbf52(0x19c)];constructor(_0x586de9,_0x58316b,_0x301079,_0x2157a5){const _0x550302=_0x2fbf52;super(_0x586de9,_0x58316b,_0x301079,_0x2157a5),this[_0x550302(0x1ca)]=this[_0x550302(0x194)]([this[_0x550302(0x18a)],this[_0x550302(0x183)],this[_0x550302(0x1be)]]),this[_0x550302(0x1cb)](_0x550302(0x1c4),null),this[_0x550302(0x176)]=null,this[_0x550302(0x19c)]=null,this[_0x550302(0x18d)]=_0x586de9,this[_0x550302(0x1b0)]=this[_0x550302(0x1a6)](),this[_0x550302(0x1c6)](this[_0x550302(0x1c1)]()),this['on'](_0x550302(0x17a),(_0x577807,_0xc350af,_0x497c52)=>{const _0x57615c=_0x550302;_0x497c52||this[_0x57615c(0x1bb)]();}),this[_0x550302(0x1b1)](this[_0x550302(0x17b)],_0x550302(0x1b3),(_0x558c9f,_0x342798,_0x1dfe0a)=>{const _0x3dafde=_0x550302;_0x1dfe0a&&this[_0x3dafde(0x1bb)]();}),this[_0x550302(0x1b7)]>0x0&&this[_0x550302(0x1a5)](),this[_0x550302(0x1b1)](this[_0x550302(0x18a)][_0x550302(0x178)],_0x550302(0x180),()=>{const _0x4a93ef=_0x550302;this[_0x4a93ef(0x1a5)]();});}[_0x2fbf52(0x1c1)](){const _0x538ff2=_0x2fbf52,_0x3d8395=this[_0x538ff2(0x1bd)];return{'tag':_0x538ff2(0x1c9),'attributes':{'class':['ck',_0x538ff2(0x18c),_0x538ff2(0x17f),_0x538ff2(0x1a2),_0x3d8395['if'](_0x538ff2(0x184),_0x538ff2(0x1c5)),_0x3d8395['if'](_0x538ff2(0x1b4),_0x538ff2(0x1a3)),_0x3d8395['to'](_0x538ff2(0x1c4),_0x48a78d=>_0x48a78d?_0x538ff2(0x195)+_0x48a78d:'')],'data-thread-id':this[_0x538ff2(0x17b)]['id'],'tabindex':0x0,'role':_0x538ff2(0x182),'aria-label':_0x3d8395['to'](_0x538ff2(0x1af)),'aria-describedby':this[_0x538ff2(0x1be)]['id']},'children':[{'tag':_0x538ff2(0x1c9),'attributes':{'class':_0x538ff2(0x1aa)},'children':this[_0x538ff2(0x1ca)]}]};}[_0x2fbf52(0x17c)](){const _0x4ad55b=_0x2fbf52;super[_0x4ad55b(0x17c)](),this[_0x4ad55b(0x176)]=this[_0x4ad55b(0x188)][_0x4ad55b(0x17e)](_0x4ad55b(0x19e)),this[_0x4ad55b(0x17b)]['on'](_0x4ad55b(0x1a4),()=>{const _0x586958=_0x4ad55b;this[_0x586958(0x19d)]();}),this[_0x4ad55b(0x19d)]();}[_0x2fbf52(0x1bb)](){const _0x16e302=_0x2fbf52;this[_0x16e302(0x190)]();for(const _0x458431 of this[_0x16e302(0x18a)][_0x16e302(0x178)])_0x458431[_0x16e302(0x190)]();}[_0x2fbf52(0x1a5)](){const _0x464726=_0x2fbf52,{locale:_0x4c7110}=this,_0xb6290=this[_0x464726(0x18a)][_0x464726(0x178)][_0x464726(0x18b)](0x0);_0xb6290===this[_0x464726(0x19c)]||_0xb6290[_0x464726(0x1a7)]||(this[_0x464726(0x19c)]=_0xb6290,this[_0x464726(0x192)](_0x464726(0x1c4)),this[_0x464726(0x1a1)](_0x464726(0x1c4))['to'](_0xb6290,_0x464726(0x1c4),_0x413eab=>_0x464726(0x191)===_0x413eab?_0x464726(0x191):null),_0xb6290[_0x464726(0x1ae)]=_0x57068e(_0x4c7110,_0x464726(0x174)),_0xb6290[_0x464726(0x193)]['on'](_0x464726(0x1cc),_0x4b0b9b=>{const _0x52a2ee=_0x464726;_0x4b0b9b[_0x52a2ee(0x181)](),this[_0x52a2ee(0x1a9)](_0x57068e(_0x4c7110,_0x52a2ee(0x199)),this[_0x52a2ee(0x176)])[_0x52a2ee(0x179)](()=>{const _0x422e0c=_0x52a2ee;this[_0x422e0c(0x177)](_0x422e0c(0x1bc));});},{'priority':_0x464726(0x189)}),this['on'](_0x464726(0x19b),()=>{const _0x3d5e54=_0x464726;_0xb6290[_0x3d5e54(0x18e)]();}),_0xb6290[_0x464726(0x1c7)][_0x464726(0x180)](this[_0x464726(0x1b0)],0x0),_0xb6290[_0x464726(0x1ad)][_0x464726(0x180)](this[_0x464726(0x1b0)],0x0));}[_0x2fbf52(0x1a6)](){const _0x3d9c85=_0x2fbf52,_0x11836f=new _0x33d974(this[_0x3d9c85(0x18d)]);return _0x11836f[_0x3d9c85(0x19a)]=_0x57068e(this[_0x3d9c85(0x18d)],_0x3d9c85(0x186)),_0x11836f[_0x3d9c85(0x1bf)]=_0x57068e(this[_0x3d9c85(0x18d)],_0x3d9c85(0x186)),_0x11836f[_0x3d9c85(0x1b2)]=_0x48ad55,_0x11836f[_0x3d9c85(0x1b8)]({'attributes':{'class':_0x3d9c85(0x187)}}),_0x11836f[_0x3d9c85(0x1a1)](_0x3d9c85(0x198))['to'](this[_0x3d9c85(0x17b)],_0x3d9c85(0x197),_0x1c818b=>!_0x1c818b),_0x11836f[_0x3d9c85(0x1a1)](_0x3d9c85(0x1b9))['to'](this[_0x3d9c85(0x17b)],_0x3d9c85(0x17d),this[_0x3d9c85(0x17b)],_0x3d9c85(0x185),(_0x118373,_0x1560d9)=>_0x118373&&!_0x1560d9),_0x11836f['on'](_0x3d9c85(0x1cc),()=>{const _0x56b209=_0x3d9c85;this[_0x56b209(0x177)](_0x56b209(0x1a8),this[_0x56b209(0x17b)]['id']);}),_0x11836f;}[_0x2fbf52(0x19d)](){const _0x5e8d5c=_0x2fbf52;this[_0x5e8d5c(0x17b)][_0x5e8d5c(0x1a0)]?this[_0x5e8d5c(0x1ca)][_0x5e8d5c(0x1c0)](this[_0x5e8d5c(0x1c2)])||(this[_0x5e8d5c(0x1ca)][_0x5e8d5c(0x180)](this[_0x5e8d5c(0x1c2)],0x0),this[_0x5e8d5c(0x1ad)][_0x5e8d5c(0x180)](this[_0x5e8d5c(0x1c2)],0x0)):this[_0x5e8d5c(0x1ca)][_0x5e8d5c(0x1c0)](this[_0x5e8d5c(0x1c2)])&&(this[_0x5e8d5c(0x1ca)][_0x5e8d5c(0x191)](this[_0x5e8d5c(0x1c2)]),this[_0x5e8d5c(0x1ad)][_0x5e8d5c(0x191)](this[_0x5e8d5c(0x1c2)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1df7cc=_0x541b;(function(_0x2fbb2b,_0x4335d0){const _0x1b5667=_0x541b,_0x2484bf=_0x2fbb2b();while(!![]){try{const _0x420d07=parseInt(_0x1b5667(0x18c))/0x1*(parseInt(_0x1b5667(0x154))/0x2)+-parseInt(_0x1b5667(0x149))/0x3*(-parseInt(_0x1b5667(0x157))/0x4)+parseInt(_0x1b5667(0x146))/0x5+-parseInt(_0x1b5667(0x145))/0x6+parseInt(_0x1b5667(0x17a))/0x7+parseInt(_0x1b5667(0x152))/0x8+-parseInt(_0x1b5667(0x15f))/0x9;if(_0x420d07===_0x4335d0)break;else _0x2484bf['push'](_0x2484bf['shift']());}catch(_0xdcb7d3){_0x2484bf['push'](_0x2484bf['shift']());}}}(_0x15da,0xd14c8));function _0x541b(_0x801fea,_0x4a07a6){const _0x15daf3=_0x15da();return _0x541b=function(_0x541b01,_0x2cfe0a){_0x541b01=_0x541b01-0x142;let _0x30270a=_0x15daf3[_0x541b01];return _0x30270a;},_0x541b(_0x801fea,_0x4a07a6);}function _0x15da(){const _0x5506e=['cancelConfirm','isSystemComment','ck-comment__user','isExternal','bindTemplate','buttonView','add','ck-comment','edit','ck-comment__actions--hidden','author','isEditMode','extendTemplate','switchToEditMode','isVisible','locale','some','withText','ck-annotation__content-wrapper','dropdown','ck-comment__wrapper','ck-annotation__info-name','8635482pNPcVB','7586550VTiEkS','ck-comment--edit','find','21bkGShm','isReadOnly','ck-hidden','ck-comment--info','ck-comment__info-time','ck-annotation__user','push','unbind','authoredAt','8455416hpoboW','mouseleave','38oUCSuR','userView','bind','108148eegCAY','listenTo','visibleView','Show\x20more\x20items','ariaLabel','setTemplate','children','element','30912714dIYoWG','then','isEnabled','createCollection','ck-annotation__info-time','actionBar','from','ck-annotation','toMany','resolvedAt','group','name','getUserViewNotificationText','focusables','icon','set','length','Edit','ariaDescriptionView','_createCommentInputView','execute','_model','Reply...','formatDateTime','ck-comment__info-name','_createEditButton','placeholder','11364346WqHuqh','mouseenter','isRemovable','div','actionIndicator','ck-comment__info','label','span','ck-annotation__actions','ck-comment__external','render','editButton','removeComment','Delete\x20comment?','_config','time','focus','getTemplate','70753fWfmch','showConfirm','isEditable','ck-comment__main','items','_createRemoveButton','ck-annotation__info','blur','listitem','panelPosition','getExternalCommentNote','Remove','panelView','addMany','_createDropdown','ck-comment--','ck-annotation__actions--hidden','fire','removeButton','_attachActions','ck-comment--remove','ck-comment__actions','remove','ck-annotation__main','change:isRemovable'];_0x15da=function(){return _0x5506e;};return _0x15da();}import{IconRemoveComment as _0x5c7ca7,IconPencil as _0xa4268d,IconThreeVerticalDots as _0x3a80e9}from'ckeditor5/src/icons.js';import{ButtonView as _0x508854,createDropdown as _0x2db44e,ListView as _0x27d6d9,ListItemView as _0x419024,focusChildOnDropdownOpen as _0x189904}from'ckeditor5/src/ui.js';import{UserView as _0x5346a1,ConfirmMixin as _0x558bf7,LateFocusDropdownButtonView as _0x2c9d66}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x5da5fe}from'./basecommentview.js';import{getTranslation as _0x5ad1a0}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x558bf7(_0x5da5fe){[_0x1df7cc(0x164)];[_0x1df7cc(0x155)];constructor(_0x5a28ca,_0x39da2e,_0xf7ed40){const _0x53de18=_0x1df7cc;super(_0x5a28ca,_0x39da2e,_0xf7ed40),this[_0x53de18(0x16e)](_0x53de18(0x17e),null),this[_0x53de18(0x16e)](_0x53de18(0x179),_0x5ad1a0(_0x5a28ca,_0x53de18(0x175))),this[_0x53de18(0x156)](_0x53de18(0x151))['to'](_0x39da2e),this[_0x53de18(0x156)](_0x53de18(0x168))['to'](_0x39da2e),this[_0x53de18(0x164)]=this[_0x53de18(0x162)](),this[_0x53de18(0x1a6)]||(this[_0x53de18(0x185)]=this[_0x53de18(0x178)](),this[_0x53de18(0x19e)]=this[_0x53de18(0x191)](),this[_0x53de18(0x190)]=this[_0x53de18(0x162)](),this[_0x53de18(0x190)][_0x53de18(0x199)]([this[_0x53de18(0x185)],this[_0x53de18(0x19e)]]),this[_0x53de18(0x142)]=this[_0x53de18(0x19a)](),this[_0x53de18(0x164)][_0x53de18(0x1ab)](this[_0x53de18(0x142)]),this[_0x53de18(0x16c)][_0x53de18(0x1ab)](this[_0x53de18(0x142)])),this[_0x53de18(0x155)]=new _0x5346a1(_0x5a28ca,_0x39da2e[_0x53de18(0x1af)],this[_0x53de18(0x16b)]()),this[_0x53de18(0x155)][_0x53de18(0x1b1)]({'attributes':{'class':[_0x53de18(0x1a7),_0x53de18(0x14e)],'aria-hidden':!0x0}}),this[_0x53de18(0x158)](_0x39da2e,_0x53de18(0x1a4),()=>this[_0x53de18(0x1a5)]()),this[_0x53de18(0x15c)](this[_0x53de18(0x18b)]());}[_0x1df7cc(0x18b)](){const _0x4b3cbe=_0x1df7cc,_0x322349=this[_0x4b3cbe(0x1a9)],_0x12090e=[{'tag':_0x4b3cbe(0x17d),'attributes':{'class':[_0x4b3cbe(0x17f),_0x4b3cbe(0x192)]},'children':[{'tag':_0x4b3cbe(0x181),'children':[{'text':this[_0x4b3cbe(0x155)][_0x4b3cbe(0x16a)]}],'attributes':{'class':[_0x4b3cbe(0x177),_0x4b3cbe(0x144)],'data-cke-tooltip-text':this[_0x4b3cbe(0x155)][_0x4b3cbe(0x16a)]}},{'tag':_0x4b3cbe(0x189),'attributes':{'datetime':_0x322349['to'](_0x4b3cbe(0x151)),'class':[_0x4b3cbe(0x14d),_0x4b3cbe(0x163)]},'children':[{'text':_0x322349['to'](_0x4b3cbe(0x151),_0x3d0bc5=>this[_0x4b3cbe(0x188)][_0x4b3cbe(0x176)](_0x3d0bc5))}]}]},{'tag':_0x4b3cbe(0x17d),'attributes':{'class':[_0x4b3cbe(0x1a1),_0x4b3cbe(0x182),_0x322349['if'](_0x4b3cbe(0x1b0),_0x4b3cbe(0x1ae)),_0x322349['if'](_0x4b3cbe(0x1b0),_0x4b3cbe(0x19c))]},'children':this[_0x4b3cbe(0x164)]},{'tag':_0x4b3cbe(0x17d),'attributes':{'class':[_0x4b3cbe(0x1b7)]},'children':this[_0x4b3cbe(0x159)]},this[_0x4b3cbe(0x171)]];return this[_0x4b3cbe(0x174)][_0x4b3cbe(0x1a8)]&&_0x12090e[_0x4b3cbe(0x14f)]({'tag':_0x4b3cbe(0x17d),'attributes':{'class':[_0x4b3cbe(0x183)]},'children':[{'text':this[_0x4b3cbe(0x196)]()}]}),{'tag':'li','attributes':{'class':[_0x4b3cbe(0x143)],'tabindex':-0x1,'aria-label':_0x322349['to'](_0x4b3cbe(0x15b)),'aria-describedby':this[_0x4b3cbe(0x171)]['id'],'role':_0x4b3cbe(0x194)},'children':[{'tag':_0x4b3cbe(0x17d),'attributes':{'class':[_0x4b3cbe(0x1ac),_0x4b3cbe(0x166),_0x322349['if'](_0x4b3cbe(0x1b0),_0x4b3cbe(0x147)),_0x322349['if'](_0x4b3cbe(0x1a6),_0x4b3cbe(0x14c)),_0x322349['to'](_0x4b3cbe(0x17e),_0x207856=>_0x207856?_0x4b3cbe(0x19b)+_0x207856:'')],'data-author-id':this[_0x4b3cbe(0x174)][_0x4b3cbe(0x1af)]['id'],'data-comment-id':this[_0x4b3cbe(0x174)]['id'],'role':_0x4b3cbe(0x169)},'children':[this[_0x4b3cbe(0x155)],{'tag':_0x4b3cbe(0x17d),'attributes':{'class':[_0x4b3cbe(0x18f),_0x4b3cbe(0x1a3)]},'children':_0x12090e}]}]};}[_0x1df7cc(0x178)](){const _0x2c743f=_0x1df7cc,_0x17cb2a=new _0x508854(this[_0x2c743f(0x1b4)]);return _0x17cb2a[_0x2c743f(0x180)]=_0x5ad1a0(this[_0x2c743f(0x1b4)],_0x2c743f(0x170)),_0x17cb2a[_0x2c743f(0x16d)]=_0xa4268d,_0x17cb2a[_0x2c743f(0x1b6)]=!0x0,_0x17cb2a[_0x2c743f(0x1b1)]({'attributes':{'class':_0x2c743f(0x147)}}),_0x17cb2a[_0x2c743f(0x156)](_0x2c743f(0x161))['to'](this[_0x2c743f(0x174)],_0x2c743f(0x14a),_0x4a47dc=>!_0x4a47dc),_0x17cb2a[_0x2c743f(0x156)](_0x2c743f(0x1b3))['to'](this[_0x2c743f(0x174)],_0x2c743f(0x18e)),_0x17cb2a['on'](_0x2c743f(0x173),()=>this[_0x2c743f(0x1b2)]()),_0x17cb2a;}[_0x1df7cc(0x191)](){const _0x185162=_0x1df7cc,_0x2531db=new _0x508854(this[_0x185162(0x1b4)]);return _0x2531db[_0x185162(0x180)]=_0x5ad1a0(this[_0x185162(0x1b4)],_0x185162(0x197)),_0x2531db[_0x185162(0x16d)]=_0x5c7ca7,_0x2531db[_0x185162(0x1b6)]=!0x0,_0x2531db[_0x185162(0x1b1)]({'attributes':{'class':_0x185162(0x1a0)}}),_0x2531db[_0x185162(0x156)](_0x185162(0x161))['to'](this[_0x185162(0x174)],_0x185162(0x14a),_0x5c45e5=>!_0x5c45e5),_0x2531db[_0x185162(0x156)](_0x185162(0x1b3))['to'](this[_0x185162(0x174)],_0x185162(0x17c)),_0x2531db['on'](_0x185162(0x173),()=>{const _0x8660df=_0x185162;this[_0x8660df(0x18d)](_0x5ad1a0(this[_0x8660df(0x1b4)],_0x8660df(0x187)),this[_0x8660df(0x15e)])[_0x8660df(0x160)](()=>{const _0x307d37=_0x8660df;this[_0x307d37(0x19d)](_0x307d37(0x186),this[_0x307d37(0x174)]['id']);});}),_0x2531db;}[_0x1df7cc(0x19a)](){const _0x4443be=_0x1df7cc,_0x32426d=_0x2db44e(this[_0x4443be(0x1b4)],_0x2c9d66),_0x21aae0=_0x32426d[_0x4443be(0x198)][_0x4443be(0x15d)],_0x58a8a6=new _0x27d6d9(this[_0x4443be(0x1b4)]),_0x572f39=_0x32426d[_0x4443be(0x1a9)];_0x189904(_0x32426d,()=>this[_0x4443be(0x190)][_0x4443be(0x148)](_0x131268=>_0x131268[_0x4443be(0x1b3)])),_0x32426d[_0x4443be(0x1b1)]({'attributes':{'class':[_0x572f39['if'](_0x4443be(0x1b3),_0x4443be(0x14b),_0x110511=>!_0x110511)]}});const _0x1f4043=(_0x225776,_0x4ee067=-0x1)=>{const _0x35aa24=_0x4443be,_0x19c38e=new _0x419024(this[_0x35aa24(0x1b4)]);_0x19c38e[_0x35aa24(0x15d)][_0x35aa24(0x1ab)](_0x225776);const _0x24890a=_0x4ee067>-0x1?_0x4ee067:_0x58a8a6[_0x35aa24(0x190)][_0x35aa24(0x16f)];_0x58a8a6[_0x35aa24(0x190)][_0x35aa24(0x1ab)](_0x19c38e,_0x24890a);const _0x351609=Array[_0x35aa24(0x165)](this[_0x35aa24(0x190)]);_0x32426d[_0x35aa24(0x150)](_0x35aa24(0x161),_0x35aa24(0x1b3)),_0x32426d[_0x35aa24(0x156)](_0x35aa24(0x161))[_0x35aa24(0x167)](_0x351609,_0x35aa24(0x161),(..._0x210fe1)=>_0x210fe1[_0x35aa24(0x1b5)](_0xa9fc6d=>_0xa9fc6d)),_0x32426d[_0x35aa24(0x156)](_0x35aa24(0x1b3))[_0x35aa24(0x167)](_0x351609,_0x35aa24(0x1b3),(..._0x41316a)=>_0x41316a[_0x35aa24(0x1b5)](_0x4f38c2=>_0x4f38c2));};_0x32426d[_0x4443be(0x195)]='sw',_0x32426d[_0x4443be(0x1aa)][_0x4443be(0x16e)]({'label':_0x5ad1a0(this[_0x4443be(0x1b4)],_0x4443be(0x15a)),'icon':_0x3a80e9});for(const _0x35fef1 of this[_0x4443be(0x190)])_0x1f4043(_0x35fef1);return _0x21aae0[_0x4443be(0x1ab)](_0x58a8a6),_0x32426d[_0x4443be(0x158)](this[_0x4443be(0x190)],_0x4443be(0x1ab),(_0x4bcf74,_0x4f1eb1,_0x535fa4)=>{_0x1f4043(_0x4f1eb1,_0x535fa4);}),_0x32426d[_0x4443be(0x158)](this[_0x4443be(0x190)],_0x4443be(0x1a2),(_0x3cf8b7,_0x3e443c,_0x460109)=>{const _0x570f95=_0x4443be;_0x58a8a6[_0x570f95(0x190)][_0x570f95(0x1a2)](_0x460109);}),_0x32426d;}[_0x1df7cc(0x19f)](_0x4cacd2,_0x312426){const _0x117500=_0x1df7cc,_0xf1e532=_0x4cacd2&&_0x4cacd2[_0x117500(0x15e)];_0xf1e532&&(this[_0x117500(0x158)](_0xf1e532,_0x117500(0x17b),()=>this[_0x117500(0x17e)]=_0x312426),this[_0x117500(0x158)](_0xf1e532,_0x117500(0x18a),()=>this[_0x117500(0x17e)]=_0x312426),this[_0x117500(0x158)](_0xf1e532,_0x117500(0x153),()=>this[_0x117500(0x17e)]=null),this[_0x117500(0x158)](_0xf1e532,_0x117500(0x193),()=>this[_0x117500(0x17e)]=null));}[_0x1df7cc(0x172)](){const _0x1fda85=_0x1df7cc,_0x555457=super[_0x1fda85(0x172)]();return _0x555457[_0x1fda85(0x156)](_0x1fda85(0x179))['to'](this),_0x555457;}[_0x1df7cc(0x184)](){const _0x587fbc=_0x1df7cc;super[_0x587fbc(0x184)](),this[_0x587fbc(0x19f)](this[_0x587fbc(0x185)],_0x587fbc(0x1ad)),this[_0x587fbc(0x19f)](this[_0x587fbc(0x19e)],_0x587fbc(0x1a2));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x20ced1=_0x21bb;(function(_0x2c2694,_0x1feb9b){var _0x4eaf1c=_0x21bb,_0x1c2530=_0x2c2694();while(!![]){try{var _0x58998f=parseInt(_0x4eaf1c(0x14f))/0x1+parseInt(_0x4eaf1c(0x151))/0x2+parseInt(_0x4eaf1c(0x14b))/0x3*(-parseInt(_0x4eaf1c(0x14c))/0x4)+-parseInt(_0x4eaf1c(0x143))/0x5*(parseInt(_0x4eaf1c(0x14a))/0x6)+parseInt(_0x4eaf1c(0x144))/0x7*(-parseInt(_0x4eaf1c(0x14d))/0x8)+parseInt(_0x4eaf1c(0x146))/0x9+-parseInt(_0x4eaf1c(0x147))/0xa*(parseInt(_0x4eaf1c(0x148))/0xb);if(_0x58998f===_0x1feb9b)break;else _0x1c2530['push'](_0x1c2530['shift']());}catch(_0x2f6030){_0x1c2530['push'](_0x1c2530['shift']());}}}(_0x5a43,0xc4a4c));import{Plugin as _0x4ef32d}from'ckeditor5/src/core.js';import{CommentsRepository as _0x502b33}from'./comments/commentsrepository.js';import{CommentsEditing as _0x33f615}from'./comments/commentsediting.js';import{CommentsUI as _0x1a69d9}from'./comments/commentsui.js';import{CommentsOnly as _0x41ad66}from'./commentsonly.js';import{WideSidebar as _0x19f7e2}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x452276}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x51fc92}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0xcfe6be}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x4ad474}from'./comments/commentsarchive.js';function _0x21bb(_0x11b74c,_0x4aa596){var _0x5a4351=_0x5a43();return _0x21bb=function(_0x21bb33,_0x3c0c72){_0x21bb33=_0x21bb33-0x143;var _0x856c8a=_0x5a4351[_0x21bb33];return _0x856c8a;},_0x21bb(_0x11b74c,_0x4aa596);}function _0x5a43(){var _0xe745d7=['requires','408qszwiQ','12IKCLmF','1263876tjFHhV','32ISbNyN','pluginName','1114847WhLUFl','isOfficialPlugin','2898664BmAGLI','Comments','13380UtEcIQ','730030KjONdj','isPremiumPlugin','10582137yQjStd','892930SNCiOY','132nyhVBM'];_0x5a43=function(){return _0xe745d7;};return _0x5a43();}export class Comments extends _0x4ef32d{static get[_0x20ced1(0x149)](){return[_0x502b33,_0x33f615,_0x1a69d9,_0x4ad474,_0xcfe6be,_0x41ad66,_0x19f7e2,_0x452276,_0x51fc92];}static get[_0x20ced1(0x14e)](){var _0x513e69=_0x20ced1;return _0x513e69(0x152);}static get[_0x20ced1(0x150)](){return!0x0;}static get[_0x20ced1(0x145)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x496c5a=_0x1573;(function(_0x280e4a,_0x5d1b13){const _0x17dc09=_0x1573,_0x14d2b1=_0x280e4a();while(!![]){try{const _0x3dce3d=-parseInt(_0x17dc09(0x174))/0x1+-parseInt(_0x17dc09(0x16b))/0x2*(parseInt(_0x17dc09(0x15a))/0x3)+parseInt(_0x17dc09(0x161))/0x4+parseInt(_0x17dc09(0x17f))/0x5*(-parseInt(_0x17dc09(0x160))/0x6)+-parseInt(_0x17dc09(0x16c))/0x7*(parseInt(_0x17dc09(0x168))/0x8)+-parseInt(_0x17dc09(0x16e))/0x9+parseInt(_0x17dc09(0x170))/0xa;if(_0x3dce3d===_0x5d1b13)break;else _0x14d2b1['push'](_0x14d2b1['shift']());}catch(_0x262187){_0x14d2b1['push'](_0x14d2b1['shift']());}}}(_0x43fb,0x529ce));function _0x43fb(){const _0xf4386e=['change:isEnabled','afterInit','editing','editSource','config','cut','DragDrop','commands','_enableCommentsOnlyMode','80aDYCih','pluginName','affectsData','delete','clearForceDisabled','forceDisabled','_disableCommentsOnlyMode','addCommentThread','requires','113607QOBUXT','editor','highest','view','listenTo','plugins','226524TrYXqm','500444nAILIM','clipboardInput','SourceEditing','isOfficialPlugin','isPremiumPlugin','commentsOnly','has','1829136RPFUrZ','isEnabled','document','20MOsIji','7wHhDrE','CommentsOnly','839421FyEwrA','commentsOnlyMode','19808840LlQDXe','set','stop','get','462948zAecbY','stopListening'];_0x43fb=function(){return _0xf4386e;};return _0x43fb();}import{Plugin as _0xd7f18f}from'ckeditor5/src/core.js';import{CommentsEditing as _0x43075c}from'./comments/commentsediting.js';function _0x1573(_0x1460b2,_0x493ea2){const _0x43fbd6=_0x43fb();return _0x1573=function(_0x157380,_0x124d6c){_0x157380=_0x157380-0x156;let _0x4ab738=_0x43fbd6[_0x157380];return _0x4ab738;},_0x1573(_0x1460b2,_0x493ea2);}export class CommentsOnly extends _0xd7f18f{static get[_0x496c5a(0x180)](){const _0x2f82eb=_0x496c5a;return _0x2f82eb(0x16d);}static get[_0x496c5a(0x164)](){return!0x0;}static get[_0x496c5a(0x165)](){return!0x0;}static get[_0x496c5a(0x159)](){return[_0x43075c];}constructor(_0x485083){const _0x455d63=_0x496c5a;super(_0x485083),this[_0x455d63(0x171)](_0x455d63(0x169),!0x1),this['on'](_0x455d63(0x176),(_0x4da0bb,_0x20fe05,_0x7d4099)=>{const _0x47d4c2=_0x455d63;_0x7d4099?this[_0x47d4c2(0x17e)]():this[_0x47d4c2(0x157)]();});}[_0x496c5a(0x177)](){const _0x111b07=_0x496c5a;!this[_0x111b07(0x169)]&&this[_0x111b07(0x15b)][_0x111b07(0x17a)][_0x111b07(0x173)](_0x111b07(0x166))&&(this[_0x111b07(0x169)]=!0x0);}[_0x496c5a(0x17e)](){const _0x4f2ace=_0x496c5a;for(const [_0x1339c8,_0x553afe]of this[_0x4f2ace(0x15b)][_0x4f2ace(0x17d)])_0x553afe[_0x4f2ace(0x181)]&&_0x4f2ace(0x158)!==_0x1339c8&&_0x553afe[_0x4f2ace(0x156)](_0x4f2ace(0x16f));(this[_0x4f2ace(0x15b)][_0x4f2ace(0x15f)][_0x4f2ace(0x167)](_0x4f2ace(0x17c))&&this[_0x4f2ace(0x15b)][_0x4f2ace(0x15f)][_0x4f2ace(0x173)](_0x4f2ace(0x17c))[_0x4f2ace(0x156)](_0x4f2ace(0x16f)),this[_0x4f2ace(0x15b)][_0x4f2ace(0x15f)][_0x4f2ace(0x167)](_0x4f2ace(0x163)))&&this[_0x4f2ace(0x15b)][_0x4f2ace(0x15f)][_0x4f2ace(0x173)](_0x4f2ace(0x163))[_0x4f2ace(0x156)](_0x4f2ace(0x16f));this[_0x4f2ace(0x15b)][_0x4f2ace(0x17d)][_0x4f2ace(0x173)](_0x4f2ace(0x179))?.[_0x4f2ace(0x156)](_0x4f2ace(0x16f));const _0x17db42=this[_0x4f2ace(0x15b)][_0x4f2ace(0x178)][_0x4f2ace(0x15d)][_0x4f2ace(0x16a)];this[_0x4f2ace(0x15e)](_0x17db42,_0x4f2ace(0x17b),_0xb3896a=>_0xb3896a[_0x4f2ace(0x172)](),{'priority':_0x4f2ace(0x15c)}),this[_0x4f2ace(0x15e)](_0x17db42,_0x4f2ace(0x162),_0x5d4291=>_0x5d4291[_0x4f2ace(0x172)](),{'priority':_0x4f2ace(0x15c)}),this[_0x4f2ace(0x15e)](_0x17db42,_0x4f2ace(0x182),_0xeb15a8=>_0xeb15a8[_0x4f2ace(0x172)](),{'priority':_0x4f2ace(0x15c)});}[_0x496c5a(0x157)](){const _0x1aa789=_0x496c5a;for(const [_0x5f5b47,_0x3a60a3]of this[_0x1aa789(0x15b)][_0x1aa789(0x17d)])_0x3a60a3[_0x1aa789(0x181)]&&_0x1aa789(0x158)!==_0x5f5b47&&_0x3a60a3[_0x1aa789(0x183)](_0x1aa789(0x16f));this[_0x1aa789(0x15b)][_0x1aa789(0x15f)][_0x1aa789(0x167)](_0x1aa789(0x163))&&this[_0x1aa789(0x15b)][_0x1aa789(0x15f)][_0x1aa789(0x173)](_0x1aa789(0x163))[_0x1aa789(0x183)](_0x1aa789(0x16f)),this[_0x1aa789(0x15b)][_0x1aa789(0x17d)][_0x1aa789(0x173)](_0x1aa789(0x179))?.[_0x1aa789(0x183)](_0x1aa789(0x16f)),this[_0x1aa789(0x175)](this[_0x1aa789(0x15b)][_0x1aa789(0x178)][_0x1aa789(0x15d)][_0x1aa789(0x16a)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5f44(){var _0x2ecba3=['5925870QZjjtb','994684bXBDNl','35RNssEL','1708737svccsG','2444244hCzQBq','5aMWJOT','1083672fncxEH','1312008wlqahi','982000aJGNjH'];_0x5f44=function(){return _0x2ecba3;};return _0x5f44();}(function(_0x323e7c,_0x1db72d){var _0x3cec49=_0x220f,_0x3dd810=_0x323e7c();while(!![]){try{var _0x5b2251=-parseInt(_0x3cec49(0x18c))/0x1+parseInt(_0x3cec49(0x18f))/0x2+-parseInt(_0x3cec49(0x18e))/0x3+-parseInt(_0x3cec49(0x193))/0x4+parseInt(_0x3cec49(0x190))/0x5*(parseInt(_0x3cec49(0x192))/0x6)+parseInt(_0x3cec49(0x18d))/0x7*(parseInt(_0x3cec49(0x191))/0x8)+parseInt(_0x3cec49(0x18b))/0x9;if(_0x5b2251===_0x1db72d)break;else _0x3dd810['push'](_0x3dd810['shift']());}catch(_0x2c7607){_0x3dd810['push'](_0x3dd810['shift']());}}}(_0x5f44,0xec060));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';function _0x220f(_0x4b81dd,_0x47f636){var _0x5f44fa=_0x5f44();return _0x220f=function(_0x220f33,_0x2303d5){_0x220f33=_0x220f33-0x18b;var _0x560df=_0x5f44fa[_0x220f33];return _0x560df;},_0x220f(_0x4b81dd,_0x47f636);}export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';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(_0x5a51f6,_0x242c8d,_0x4c71c9){const t=_0x5a51f6['t'];switch(_0x242c8d){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'},_0x4c71c9);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'},_0x4c71c9);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'},_0x4c71c9);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'},_0x4c71c9);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4c71c9);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'},_0x4c71c9);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'},_0x4c71c9);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'},_0x4c71c9);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 _0x1936(_0x435983,_0x3ef54b){const _0x4f7748=_0x4f77();return _0x1936=function(_0x1936ee,_0xe379b4){_0x1936ee=_0x1936ee-0xc4;let _0x68b06e=_0x4f7748[_0x1936ee];return _0x68b06e;},_0x1936(_0x435983,_0x3ef54b);}(function(_0x4b9818,_0x5799e9){const _0x2443fd=_0x1936,_0x1e5635=_0x4b9818();while(!![]){try{const _0x17b557=-parseInt(_0x2443fd(0xd2))/0x1*(parseInt(_0x2443fd(0xc4))/0x2)+-parseInt(_0x2443fd(0xd4))/0x3+parseInt(_0x2443fd(0xd0))/0x4*(-parseInt(_0x2443fd(0xcc))/0x5)+-parseInt(_0x2443fd(0xd3))/0x6*(-parseInt(_0x2443fd(0xc5))/0x7)+parseInt(_0x2443fd(0xd8))/0x8*(-parseInt(_0x2443fd(0xd5))/0x9)+parseInt(_0x2443fd(0xd7))/0xa*(-parseInt(_0x2443fd(0xc6))/0xb)+-parseInt(_0x2443fd(0xc8))/0xc*(-parseInt(_0x2443fd(0xd1))/0xd);if(_0x17b557===_0x5799e9)break;else _0x1e5635['push'](_0x1e5635['shift']());}catch(_0x5aeb26){_0x1e5635['push'](_0x1e5635['shift']());}}}(_0x4f77,0x4637c));import{throttle as _0x4d9a0d}from'es-toolkit/compat';export function createMutationObserver(_0x2149a3){const _0x67b476=_0x4d9a0d(_0x2149a3,0x1e),_0x478c30=new MutationObserver(_0x286290=>{const _0x308b0d=_0x1936;for(const _0x422286 of _0x286290)(_0x308b0d(0xc9)==_0x422286[_0x308b0d(0xc7)]&&_0x308b0d(0xcb)==_0x422286[_0x308b0d(0xce)]||_0x308b0d(0xd6)==_0x422286[_0x308b0d(0xc7)]||_0x308b0d(0xcf)==_0x422286[_0x308b0d(0xc7)])&&_0x67b476();});return{'attach'(_0x539714){const _0x56a18f=_0x1936;_0x478c30[_0x56a18f(0xd9)](_0x539714,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x419523=_0x1936;_0x478c30[_0x419523(0xca)](),_0x67b476[_0x419523(0xcd)]();}};}function _0x4f77(){const _0x3c2b49=['6470dQjZqZ','11760ImWmvD','observe','26242wXaEXq','689969riUHoE','7513EtGivk','type','36QvSYSD','attributes','disconnect','class','912005xWZHec','cancel','attributeName','characterData','4UcmxRF','6586047mznGIq','38RZnjWU','24DEzOlK','739089xZCuBH','1575ytVssV','childList'];_0x4f77=function(){return _0x3c2b49;};return _0x4f77();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x477924,_0x5e4b50){const _0x231ea6=_0x2806,_0x7e5ff5=_0x477924();while(!![]){try{const _0x5132db=-parseInt(_0x231ea6(0xcc))/0x1+parseInt(_0x231ea6(0xc8))/0x2+-parseInt(_0x231ea6(0xcb))/0x3+-parseInt(_0x231ea6(0xcf))/0x4+parseInt(_0x231ea6(0xca))/0x5+parseInt(_0x231ea6(0xce))/0x6*(-parseInt(_0x231ea6(0xd0))/0x7)+parseInt(_0x231ea6(0xc9))/0x8;if(_0x5132db===_0x5e4b50)break;else _0x7e5ff5['push'](_0x7e5ff5['shift']());}catch(_0x10fbc9){_0x7e5ff5['push'](_0x7e5ff5['shift']());}}}(_0x76eb,0x1ff78));function _0x76eb(){const _0x580d0f=['6OhyFbX','594208AkZFgv','607978bNnFTT','120678rkUpaZ','3047496cQYbOP','417830XWWIxN','99750QcWoaw','125250zFSgSG','split'];_0x76eb=function(){return _0x580d0f;};return _0x76eb();}function _0x2806(_0x824956,_0x51d6ce){const _0x76ebf6=_0x76eb();return _0x2806=function(_0x280652,_0x2c5fae){_0x280652=_0x280652-0xc8;let _0x2f105e=_0x76ebf6[_0x280652];return _0x2f105e;},_0x2806(_0x824956,_0x51d6ce);}export function splitMarkerName(_0x2d2428){const _0x47a8a8=_0x2806,_0x360a8d=_0x2d2428[_0x47a8a8(0xcd)](':');return{'group':_0x360a8d[0x0],'id':_0x360a8d[0x1],'part':_0x360a8d[0x2]};}
|