@ckeditor/ckeditor5-comments 43.1.0-alpha.8 → 43.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3500(_0x259b01,_0x53a06a){const _0x4e450e=_0x4e45();return _0x3500=function(_0x350040,_0x4478ec){_0x350040=_0x350040-0xb1;let _0x31b9f9=_0x4e450e[_0x350040];return _0x31b9f9;},_0x3500(_0x259b01,_0x53a06a);}function _0x4e45(){const _0x283b83=['26478pyOQWl','render','ck-hidden','1120910Ncsbab','focusCycler','destroy','arrowup','2651429wYJPYX','63FvxPSp','length','ck-comments-archive__info','element','delegate','first','COMMENTS_ARCHIVE_LIST_LABEL','list','2138190YomCYX','19626708VtFDcW','focusFirst','arrowdown','set','auto','focusNext','_annotationViews','50WvaKFk','isActive','ck-comments-archive__content','div','change','focusTracker','focusPrevious','307134ryARoX','711UMdzLS','presentation','remove','listenTo','10KZbRmd','ck-comments-archive','bindTemplate','4ugLInA','focus','isEmpty','add','setTemplate','_setupKeyboardNavigation','1312Aboexg','EMPTY_COMMENTS_ARCHIVE'];_0x4e45=function(){return _0x283b83;};return _0x4e45();}const _0xcafffa=_0x3500;(function(_0x43ae16,_0x1fd5a9){const _0x1d9213=_0x3500,_0x383680=_0x43ae16();while(!![]){try{const _0x17f2e2=-parseInt(_0x1d9213(0xb5))/0x1*(-parseInt(_0x1d9213(0xdc))/0x2)+parseInt(_0x1d9213(0xd4))/0x3*(-parseInt(_0x1d9213(0xbc))/0x4)+parseInt(_0x1d9213(0xc7))/0x5+-parseInt(_0x1d9213(0xb4))/0x6*(parseInt(_0x1d9213(0xcc))/0x7)+-parseInt(_0x1d9213(0xc2))/0x8*(parseInt(_0x1d9213(0xc4))/0x9)+-parseInt(_0x1d9213(0xb9))/0xa*(-parseInt(_0x1d9213(0xcb))/0xb)+parseInt(_0x1d9213(0xd5))/0xc;if(_0x17f2e2===_0x1fd5a9)break;else _0x383680['push'](_0x383680['shift']());}catch(_0x5e06a2){_0x383680['push'](_0x383680['shift']());}}}(_0x4e45,0x70f2c));import{View as _0x2f13c0,FocusCycler as _0xa8b44e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x202fcc}from'ckeditor5/src/utils.js';import{getTranslation as _0x62cf33}from'../../../utils/common-translations.js';export default class tt extends _0x2f13c0{constructor(_0x36dfa9,_0x187ea3){const _0x39c9ad=_0x3500;super(_0x36dfa9),this[_0x39c9ad(0xd8)](_0x39c9ad(0xbe),!_0x187ea3[_0x39c9ad(0xcd)]),this[_0x39c9ad(0xb2)]=new _0x202fcc(),this[_0x39c9ad(0xdb)]=_0x187ea3,this[_0x39c9ad(0xdb)][_0x39c9ad(0xd0)](_0x39c9ad(0xca),_0x39c9ad(0xd7))['to'](this),this['on'](_0x39c9ad(0xca),()=>{const _0x5c15ce=_0x39c9ad;this[_0x5c15ce(0xc8)][_0x5c15ce(0xb3)]();}),this['on'](_0x39c9ad(0xd7),()=>{const _0x13a783=_0x39c9ad;this[_0x13a783(0xc8)][_0x13a783(0xda)]();}),this[_0x39c9ad(0xc8)]=new _0xa8b44e({'focusables':_0x187ea3,'focusTracker':this[_0x39c9ad(0xb2)]}),this[_0x39c9ad(0xb8)](_0x187ea3,_0x39c9ad(0xbf),()=>{const _0x35250a=_0x39c9ad;this[_0x35250a(0xbe)]=!0x1;}),this[_0x39c9ad(0xb8)](_0x187ea3,_0x39c9ad(0xb7),(_0x3b9c88,_0x1cda81)=>{const _0x196316=_0x39c9ad;_0x1cda81[_0x196316(0xdd)]&&this[_0x196316(0xbd)](),_0x187ea3[_0x196316(0xcd)]||(this[_0x196316(0xbe)]=!0x0);});const _0x2406bc=this[_0x39c9ad(0xbb)];this[_0x39c9ad(0xc0)]({'tag':_0x39c9ad(0xdf),'attributes':{'dir':_0x39c9ad(0xd9),'class':['ck',_0x39c9ad(0xba)],'tabindex':-0x1,'role':_0x39c9ad(0xd3),'aria-label':_0x62cf33(_0x36dfa9,_0x39c9ad(0xd2))},'children':[{'tag':_0x39c9ad(0xdf),'attributes':{'class':[_0x39c9ad(0xde)],'role':_0x39c9ad(0xb6)},'children':[{'tag':_0x39c9ad(0xdf),'attributes':{'role':_0x39c9ad(0xb6)},'children':_0x187ea3},{'tag':'p','attributes':{'class':[_0x39c9ad(0xce),_0x2406bc['if'](_0x39c9ad(0xbe),_0x39c9ad(0xc6),_0x1cbbcd=>!_0x1cbbcd)]},'children':[{'text':_0x62cf33(_0x36dfa9,_0x39c9ad(0xc3))}]}]}]});}[_0xcafffa(0xc5)](){const _0x38c54f=_0xcafffa;super[_0x38c54f(0xc5)](),this[_0x38c54f(0xc1)]();}[_0xcafffa(0xc9)](){const _0xd585ec=_0xcafffa;super[_0xd585ec(0xc9)](),this[_0xd585ec(0xb2)][_0xd585ec(0xc9)]();}[_0xcafffa(0xbd)](){const _0x5a4194=_0xcafffa;this[_0x5a4194(0xc8)][_0x5a4194(0xd1)]?this[_0x5a4194(0xc8)][_0x5a4194(0xd6)]():this[_0x5a4194(0xcf)][_0x5a4194(0xbd)]();}[_0xcafffa(0xc1)](){const _0x266909=_0xcafffa;for(const _0x414566 of this[_0x266909(0xdb)])this[_0x266909(0xb2)][_0x266909(0xbf)](_0x414566[_0x266909(0xcf)]);this[_0x266909(0xdb)]['on'](_0x266909(0xb1),(_0x34d8de,{added:_0x528921,removed:_0x5cffb1})=>{const _0x5ab711=_0x266909;for(const _0x4b5eff of _0x528921)this[_0x5ab711(0xb2)][_0x5ab711(0xbf)](_0x4b5eff[_0x5ab711(0xcf)]);for(const _0x2b4b89 of _0x5cffb1)this[_0x5ab711(0xb2)][_0x5ab711(0xb7)](_0x2b4b89[_0x5ab711(0xcf)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x563b60=_0x7dc3;(function(_0x2bba4d,_0x20b3a9){const _0x9eaba9=_0x7dc3,_0x509936=_0x2bba4d();while(!![]){try{const _0x44d7ad=-parseInt(_0x9eaba9(0x1bf))/0x1+parseInt(_0x9eaba9(0x196))/0x2+-parseInt(_0x9eaba9(0x1ec))/0x3+parseInt(_0x9eaba9(0x19b))/0x4*(-parseInt(_0x9eaba9(0x1f1))/0x5)+parseInt(_0x9eaba9(0x1dd))/0x6+-parseInt(_0x9eaba9(0x1c4))/0x7*(parseInt(_0x9eaba9(0x1d9))/0x8)+-parseInt(_0x9eaba9(0x1cf))/0x9*(-parseInt(_0x9eaba9(0x1cc))/0xa);if(_0x44d7ad===_0x20b3a9)break;else _0x509936['push'](_0x509936['shift']());}catch(_0x24586e){_0x509936['push'](_0x509936['shift']());}}}(_0x2ebf,0xe6f6d));import{View as _0x59b3b5,FocusCycler as _0x2c3f9a}from'ckeditor5/src/ui.js';function _0x2ebf(){const _0x55ee64=['focusLast','change:isEditMode','_handleRemoveCommentModel','comments','isActive','stopListening','maxCommentCharsWhenCollapsed','focusFirst','_rearrangeExpand','collapse','removed','isEditMode','_config','586242GVEPLd','Marked\x20as\x20resolved','resolvedBy','focusTracker','_collapsedCommentsView','12475upxtZp','setTemplate','_setupKeyboardNavigation','CommentView','arrowdown','bind','785526otnaTl','weight','commentViews','resolvedCommentView','updateComment','1584PaZuYi','ck-thread__comments','listenTo','change','bindTemplate','target','forEach','delegate','expand','focusCycler','editorReady','count','editorConfig','some','change:isResolved','visibleViews','render','change:hasDirtyComment','equal','_rearrangeCollapse','delete','change:isActive','element','resolved','_updateHasDirtyComment','viewUid','arrowup','includes','hasDirtyComment','focus','maxThreadTotalWeight','_handleInfoComment','resolveCommentThread','_calculatePosition','map','length','1021889ReCANW','keystrokes','_findOptimalIndex','createCollection','reverse','236369ajyfKu','maxCommentsWhenCollapsed','editorDestroyed','formatDateTime','commentUpdated','destroy','_shouldCollapse','resolvedAt','24952150zYbPLv','get','locale','9vBHpvw','from','_handleNewCommentModel','insert','removeComment','authoredAt','refreshVisibleViews','_model','add','ck-hidden','8PLyJll','remove','set','Thread\x20comments','1782846PtnWiD','added'];_0x2ebf=function(){return _0x55ee64;};return _0x2ebf();}function _0x7dc3(_0x23610b,_0x43f6e8){const _0x2ebfab=_0x2ebf();return _0x7dc3=function(_0x7dc323,_0x44a59a){_0x7dc323=_0x7dc323-0x196;let _0x1c7325=_0x2ebfab[_0x7dc323];return _0x1c7325;},_0x7dc3(_0x23610b,_0x43f6e8);}import{diff as _0x2ed1b5,Collection as _0x3ecc7e,FocusTracker as _0xb9337d,KeystrokeHandler as _0xbf1c0f}from'ckeditor5/src/utils.js';import{getTranslation as _0x3b7a0b}from'../../../utils/common-translations.js';import _0x463e0d from'./collapsedcommentsview.js';export default class xt extends _0x59b3b5{constructor(_0x2232b8,_0x1b2e94,_0x42905e){const _0x3068f1=_0x7dc3;super(_0x2232b8);const _0x3a57a7=this[_0x3068f1(0x19f)];this[_0x3068f1(0x1db)](_0x3068f1(0x1b7),!0x1),this[_0x3068f1(0x1db)](_0x3068f1(0x1be),_0x1b2e94[_0x3068f1(0x1e2)][_0x3068f1(0x1be)]),this[_0x3068f1(0x1db)](_0x3068f1(0x1e3),!0x1),this[_0x3068f1(0x1d6)]=_0x1b2e94,this[_0x3068f1(0x1eb)]=_0x42905e,this[_0x3068f1(0x198)]=this[_0x3068f1(0x1c2)](),this[_0x3068f1(0x1aa)]=this[_0x3068f1(0x1c2)](),this[_0x3068f1(0x199)]=null,this[_0x3068f1(0x1ef)]=new _0xb9337d(),this[_0x3068f1(0x1c0)]=new _0xbf1c0f(),this[_0x3068f1(0x1a4)]=new _0x2c3f9a({'focusables':this[_0x3068f1(0x198)],'focusTracker':this[_0x3068f1(0x1ef)],'keystrokeHandler':this[_0x3068f1(0x1c0)],'keystrokeHandlerOptions':{'filter':_0x4cd5d8=>this[_0x3068f1(0x198)][_0x3068f1(0x1bd)](_0x2d16aa=>_0x2d16aa[_0x3068f1(0x1b1)])[_0x3068f1(0x1b6)](_0x4cd5d8[_0x3068f1(0x1a0)])},'actions':{'focusPrevious':_0x3068f1(0x1b5),'focusNext':_0x3068f1(0x1f5)}}),this[_0x3068f1(0x1f0)]=new _0x463e0d(_0x2232b8),this[_0x3068f1(0x1f0)][_0x3068f1(0x1f6)](_0x3068f1(0x1a6))['to'](this,_0x3068f1(0x1be),_0x5a78cf=>_0x5a78cf-this[_0x3068f1(0x1eb)][_0x3068f1(0x1c5)]);for(const _0x2247de of _0x1b2e94[_0x3068f1(0x1e2)])this[_0x3068f1(0x1d1)](_0x2247de);this[_0x3068f1(0x1ba)](),this[_0x3068f1(0x19d)](_0x1b2e94[_0x3068f1(0x1e2)],_0x3068f1(0x1d7),(_0x5aed13,_0x39a126)=>{const _0x48f740=_0x3068f1,_0x1b655c=this[_0x48f740(0x1bc)](_0x39a126);this[_0x48f740(0x1be)]++,this[_0x48f740(0x1d1)](_0x39a126,_0x1b655c),this[_0x48f740(0x1d5)]();}),this[_0x3068f1(0x19d)](_0x1b2e94[_0x3068f1(0x1e2)],_0x3068f1(0x1da),(_0x1df633,_0x2c4d0d)=>{const _0x32c3b2=_0x3068f1;this[_0x32c3b2(0x1be)]--,this[_0x32c3b2(0x1e1)](_0x2c4d0d),this[_0x32c3b2(0x1d5)]();}),this[_0x3068f1(0x19d)](_0x1b2e94,_0x3068f1(0x1c8),()=>this[_0x3068f1(0x1d5)]()),this[_0x3068f1(0x19d)](_0x1b2e94,_0x3068f1(0x1a9),()=>this[_0x3068f1(0x1ba)]()),this['on'](_0x3068f1(0x1b0),()=>this[_0x3068f1(0x1d5)]()),this['on'](_0x3068f1(0x1ac),()=>this[_0x3068f1(0x1d5)]()),this[_0x3068f1(0x1f2)]({'tag':'ul','attributes':{'class':[_0x3068f1(0x19c),_0x3a57a7['if'](_0x3068f1(0x1be),_0x3068f1(0x1d8),_0x463a95=>!_0x463a95)],'aria-label':_0x3b7a0b(_0x2232b8,_0x3068f1(0x1dc))},'children':this[_0x3068f1(0x1aa)]});}get[_0x563b60(0x1ca)](){const _0x1fa58a=_0x563b60;return this[_0x1fa58a(0x1d6)][_0x1fa58a(0x197)]>this[_0x1fa58a(0x1eb)][_0x1fa58a(0x1b9)]&&!this[_0x1fa58a(0x1e3)]&&!this[_0x1fa58a(0x1b7)];}[_0x563b60(0x1ab)](){const _0xce57c6=_0x563b60;super[_0xce57c6(0x1ab)](),this[_0xce57c6(0x1d5)](),this[_0xce57c6(0x1f3)]();}[_0x563b60(0x1b8)](_0x53f7c1){const _0x39d392=_0x563b60;-0x1===_0x53f7c1?this[_0x39d392(0x1a4)][_0x39d392(0x1df)]():this[_0x39d392(0x1a4)][_0x39d392(0x1e6)]();}[_0x563b60(0x1c9)](){const _0x3a3a46=_0x563b60;this[_0x3a3a46(0x1f0)][_0x3a3a46(0x1c9)]();for(const _0x2135fd of this[_0x3a3a46(0x198)])_0x2135fd[_0x3a3a46(0x1c9)]();super[_0x3a3a46(0x1c9)]();}[_0x563b60(0x1d5)](){const _0x42012b=_0x563b60;this[_0x42012b(0x1ca)]?this[_0x42012b(0x1ae)]():this[_0x42012b(0x1e7)]();}[_0x563b60(0x1d1)](_0x7f8917,_0x1d5669){const _0x7a9ff4=_0x563b60,_0x22c719=new this[(_0x7a9ff4(0x1eb))][(_0x7a9ff4(0x1f4))](this[_0x7a9ff4(0x1ce)],_0x7f8917,{'maxCommentCharsWhenCollapsed':this[_0x7a9ff4(0x1eb)][_0x7a9ff4(0x1e5)],'formatDateTime':this[_0x7a9ff4(0x1eb)][_0x7a9ff4(0x1c7)],'editorConfig':this[_0x7a9ff4(0x1eb)][_0x7a9ff4(0x1a7)]});_0x22c719[_0x7a9ff4(0x1b4)]=_0x7f8917['id'],_0x22c719[_0x7a9ff4(0x1a2)](_0x7a9ff4(0x1d3))['to'](this),_0x22c719[_0x7a9ff4(0x1a2)](_0x7a9ff4(0x19a))['to'](this),_0x22c719[_0x7a9ff4(0x1a2)](_0x7a9ff4(0x1bb))['to'](this),_0x22c719[_0x7a9ff4(0x1a2)](_0x7a9ff4(0x1a5))['to'](this),_0x22c719[_0x7a9ff4(0x1a2)](_0x7a9ff4(0x1c6))['to'](this),this[_0x7a9ff4(0x19d)](_0x22c719,_0x7a9ff4(0x1e0),()=>this[_0x7a9ff4(0x1b3)]()),this[_0x7a9ff4(0x198)][_0x7a9ff4(0x1d7)](_0x22c719,_0x1d5669);}[_0x563b60(0x1bc)](_0x596064){const _0x57bf08=_0x563b60,_0x15a8f7=this[_0x57bf08(0x1d6)][_0x57bf08(0x1c1)](_0x596064);return this[_0x57bf08(0x199)]?this[_0x57bf08(0x199)][_0x57bf08(0x1d4)]>_0x596064[_0x57bf08(0x1d4)]?_0x15a8f7-0x1:_0x15a8f7:_0x15a8f7-0x1;}[_0x563b60(0x1ba)](){const _0x30c56f=_0x563b60;if(this[_0x30c56f(0x1d6)][_0x30c56f(0x1ee)]&&this[_0x30c56f(0x1d6)][_0x30c56f(0x1cb)]){const _0x50d334={'id':_0x30c56f(0x1b2),'author':this[_0x30c56f(0x1d6)][_0x30c56f(0x1ee)],'authoredAt':this[_0x30c56f(0x1d6)][_0x30c56f(0x1cb)],'content':_0x3b7a0b(this[_0x30c56f(0x1ce)],_0x30c56f(0x1ed)),'attributes':{}};this[_0x30c56f(0x199)]=new this[(_0x30c56f(0x1eb))][(_0x30c56f(0x1f4))](this[_0x30c56f(0x1ce)],_0x50d334,{'maxCommentCharsWhenCollapsed':this[_0x30c56f(0x1eb)][_0x30c56f(0x1e5)],'formatDateTime':this[_0x30c56f(0x1eb)][_0x30c56f(0x1c7)],'editorConfig':this[_0x30c56f(0x1eb)][_0x30c56f(0x1a7)],'isSystemComment':!0x0}),this[_0x30c56f(0x198)][_0x30c56f(0x1d7)](this[_0x30c56f(0x199)],this[_0x30c56f(0x1d6)][_0x30c56f(0x1c1)](_0x50d334));}else this[_0x30c56f(0x199)]&&(this[_0x30c56f(0x198)][_0x30c56f(0x1da)](this[_0x30c56f(0x199)]),this[_0x30c56f(0x199)][_0x30c56f(0x1c9)](),this[_0x30c56f(0x199)]=null);this[_0x30c56f(0x1d5)]();}[_0x563b60(0x1e1)](_0x1baf1f){const _0x453299=_0x563b60,_0x4a8096=this[_0x453299(0x198)][_0x453299(0x1da)](_0x1baf1f['id']);this[_0x453299(0x1e4)](_0x4a8096),_0x4a8096[_0x453299(0x1ea)]&&this[_0x453299(0x1b3)](),_0x4a8096[_0x453299(0x1c9)]();}[_0x563b60(0x1b3)](){const _0x59cefc=_0x563b60;this[_0x59cefc(0x1b7)]=Array[_0x59cefc(0x1d0)](this[_0x59cefc(0x198)])[_0x59cefc(0x1a8)](_0x2a4112=>_0x2a4112[_0x59cefc(0x1ea)]);}[_0x563b60(0x1ae)](){const _0xba7758=_0x563b60,_0x1430e9=function(_0x359b41){const _0x10b4f9=_0x7dc3,_0x4d4e5f=new _0x3ecc7e();for(const _0x2221b4 of _0x359b41)_0x4d4e5f[_0x10b4f9(0x1d7)](_0x2221b4);return _0x4d4e5f;}(this[_0xba7758(0x198)]),_0x3849af=this[_0xba7758(0x1f0)][_0xba7758(0x1a6)];for(let _0x591b6e=0x1;_0x591b6e<=_0x3849af;_0x591b6e++)_0x1430e9[_0xba7758(0x1da)](0x1);for(const _0x9b439d of _0x1430e9)_0x9b439d[_0xba7758(0x1e8)]();_0x3849af>0x0&&_0x1430e9[_0xba7758(0x1d7)](this[_0xba7758(0x1f0)],0x1),ms(_0x2ed1b5(Array[_0xba7758(0x1d0)](this[_0xba7758(0x1aa)]),Array[_0xba7758(0x1d0)](_0x1430e9)),this[_0xba7758(0x1aa)],_0x1430e9);}[_0x563b60(0x1e7)](){const _0x1f6c23=_0x563b60;ms(_0x2ed1b5(Array[_0x1f6c23(0x1d0)](this[_0x1f6c23(0x1aa)]),Array[_0x1f6c23(0x1d0)](this[_0x1f6c23(0x198)])),this[_0x1f6c23(0x1aa)],this[_0x1f6c23(0x198)]);for(const _0x118d89 of this[_0x1f6c23(0x1aa)])_0x118d89[_0x1f6c23(0x1a3)]();}[_0x563b60(0x1f3)](){const _0x210e43=_0x563b60;this[_0x210e43(0x198)][_0x210e43(0x1a1)](_0x5228ff=>{const _0x403526=_0x210e43;this[_0x403526(0x1ef)][_0x403526(0x1d7)](_0x5228ff[_0x403526(0x1b1)]),this[_0x403526(0x1c0)][_0x403526(0x19d)](_0x5228ff[_0x403526(0x1b1)]);}),this[_0x210e43(0x198)]['on'](_0x210e43(0x19e),(_0x36927c,_0x15b03c)=>{const _0x305ad6=_0x210e43;for(const _0x1cac77 of _0x15b03c[_0x305ad6(0x1e9)])this[_0x305ad6(0x1ef)][_0x305ad6(0x1da)](_0x1cac77[_0x305ad6(0x1b1)]),this[_0x305ad6(0x1c0)][_0x305ad6(0x1e4)](_0x1cac77[_0x305ad6(0x1b1)]);for(const _0x1c0389 of Array[_0x305ad6(0x1d0)](_0x15b03c[_0x305ad6(0x1de)])[_0x305ad6(0x1c3)]())this[_0x305ad6(0x1ef)][_0x305ad6(0x1d7)](_0x1c0389[_0x305ad6(0x1b1)]),this[_0x305ad6(0x1c0)][_0x305ad6(0x19d)](_0x1c0389[_0x305ad6(0x1b1)]);});}}function ms(_0x2c623c,_0x4af24d,_0x758fdd){const _0x588ec4=_0x563b60;let _0x11e587=0x0;for(const _0x1fd777 of _0x2c623c)switch(_0x1fd777){case _0x588ec4(0x1d2):_0x4af24d[_0x588ec4(0x1d7)](_0x758fdd[_0x588ec4(0x1cd)](_0x11e587),_0x11e587),_0x11e587++;break;case _0x588ec4(0x1af):_0x4af24d[_0x588ec4(0x1da)](_0x11e587);break;case _0x588ec4(0x1ad):_0x11e587++;}}
|
|
23
|
+
const _0x55988f=_0x132c;(function(_0x5b3152,_0x260d8e){const _0x3546b9=_0x132c,_0x4c8538=_0x5b3152();while(!![]){try{const _0x2c435e=-parseInt(_0x3546b9(0x1ad))/0x1*(-parseInt(_0x3546b9(0x162))/0x2)+-parseInt(_0x3546b9(0x171))/0x3+parseInt(_0x3546b9(0x163))/0x4+-parseInt(_0x3546b9(0x19b))/0x5+-parseInt(_0x3546b9(0x161))/0x6*(-parseInt(_0x3546b9(0x185))/0x7)+parseInt(_0x3546b9(0x194))/0x8+-parseInt(_0x3546b9(0x176))/0x9*(parseInt(_0x3546b9(0x151))/0xa);if(_0x2c435e===_0x260d8e)break;else _0x4c8538['push'](_0x4c8538['shift']());}catch(_0x29fa10){_0x4c8538['push'](_0x4c8538['shift']());}}}(_0x5ebd,0xbdacb));import{View as _0x2bdcae,FocusCycler as _0x3244e4}from'ckeditor5/src/ui.js';import{diff as _0x1c722a,Collection as _0x33ebda,FocusTracker as _0x495145,KeystrokeHandler as _0x27dd29}from'ckeditor5/src/utils.js';import{getTranslation as _0x40a85}from'../../../utils/common-translations.js';import _0x4e999c from'./collapsedcommentsview.js';export default class xt extends _0x2bdcae{constructor(_0x2d5ef8,_0x292887,_0x241d18){const _0x3749f4=_0x132c;super(_0x2d5ef8);const _0x42a4bd=this[_0x3749f4(0x165)];this[_0x3749f4(0x159)](_0x3749f4(0x18b),!0x1),this[_0x3749f4(0x159)](_0x3749f4(0x195),_0x292887[_0x3749f4(0x19f)][_0x3749f4(0x195)]),this[_0x3749f4(0x159)](_0x3749f4(0x1a8),!0x1),this[_0x3749f4(0x1a1)]=_0x292887,this[_0x3749f4(0x19a)]=_0x241d18,this[_0x3749f4(0x18c)]=this[_0x3749f4(0x186)](),this[_0x3749f4(0x183)]=this[_0x3749f4(0x186)](),this[_0x3749f4(0x197)]=null,this[_0x3749f4(0x175)]=new _0x495145(),this[_0x3749f4(0x172)]=new _0x27dd29(),this[_0x3749f4(0x16d)]=new _0x3244e4({'focusables':this[_0x3749f4(0x18c)],'focusTracker':this[_0x3749f4(0x175)],'keystrokeHandler':this[_0x3749f4(0x172)],'keystrokeHandlerOptions':{'filter':_0x3c839d=>this[_0x3749f4(0x18c)][_0x3749f4(0x167)](_0x20e9c6=>_0x20e9c6[_0x3749f4(0x198)])[_0x3749f4(0x19e)](_0x3c839d[_0x3749f4(0x189)])},'actions':{'focusPrevious':_0x3749f4(0x15f),'focusNext':_0x3749f4(0x170)}}),this[_0x3749f4(0x196)]=new _0x4e999c(_0x2d5ef8),this[_0x3749f4(0x196)][_0x3749f4(0x188)](_0x3749f4(0x191))['to'](this,_0x3749f4(0x195),_0x38dcd9=>_0x38dcd9-this[_0x3749f4(0x19a)][_0x3749f4(0x15c)]);for(const _0x1c20cc of _0x292887[_0x3749f4(0x19f)])this[_0x3749f4(0x1a9)](_0x1c20cc);this[_0x3749f4(0x18d)](),this[_0x3749f4(0x1a3)](_0x292887[_0x3749f4(0x19f)],_0x3749f4(0x15a),(_0x49f958,_0x11c7f9)=>{const _0xa8d390=_0x3749f4,_0x349729=this[_0xa8d390(0x19d)](_0x11c7f9);this[_0xa8d390(0x195)]++,this[_0xa8d390(0x1a9)](_0x11c7f9,_0x349729),this[_0xa8d390(0x156)]();}),this[_0x3749f4(0x1a3)](_0x292887[_0x3749f4(0x19f)],_0x3749f4(0x1ab),(_0x476450,_0xee6cc)=>{const _0x88eb7a=_0x3749f4;this[_0x88eb7a(0x195)]--,this[_0x88eb7a(0x166)](_0xee6cc),this[_0x88eb7a(0x156)]();}),this[_0x3749f4(0x1a3)](_0x292887,_0x3749f4(0x193),()=>this[_0x3749f4(0x156)]()),this[_0x3749f4(0x1a3)](_0x292887,_0x3749f4(0x16b),()=>this[_0x3749f4(0x18d)]()),this['on'](_0x3749f4(0x15b),()=>this[_0x3749f4(0x156)]()),this['on'](_0x3749f4(0x16c),()=>this[_0x3749f4(0x156)]()),this[_0x3749f4(0x1a2)]({'tag':'ul','attributes':{'class':[_0x3749f4(0x17a),_0x42a4bd['if'](_0x3749f4(0x195),_0x3749f4(0x17b),_0x58118f=>!_0x58118f)],'aria-label':_0x40a85(_0x2d5ef8,_0x3749f4(0x187))},'children':this[_0x3749f4(0x183)]});}get[_0x55988f(0x155)](){const _0x2e1aa9=_0x55988f;return this[_0x2e1aa9(0x1a1)][_0x2e1aa9(0x16e)]>this[_0x2e1aa9(0x19a)][_0x2e1aa9(0x173)]&&!this[_0x2e1aa9(0x1a8)]&&!this[_0x2e1aa9(0x18b)];}[_0x55988f(0x150)](){const _0x1f65f4=_0x55988f;super[_0x1f65f4(0x150)](),this[_0x1f65f4(0x156)](),this[_0x1f65f4(0x158)]();}[_0x55988f(0x17f)](_0x2ca3a6){const _0xd4b0f=_0x55988f;-0x1===_0x2ca3a6?this[_0xd4b0f(0x16d)][_0xd4b0f(0x1a6)]():this[_0xd4b0f(0x16d)][_0xd4b0f(0x16f)]();}[_0x55988f(0x1a4)](){const _0xb14733=_0x55988f;this[_0xb14733(0x196)][_0xb14733(0x1a4)]();for(const _0x8a8513 of this[_0xb14733(0x18c)])_0x8a8513[_0xb14733(0x1a4)]();super[_0xb14733(0x1a4)]();}[_0x55988f(0x156)](){const _0x4bd672=_0x55988f;this[_0x4bd672(0x155)]?this[_0x4bd672(0x180)]():this[_0x4bd672(0x18f)]();}[_0x55988f(0x1a9)](_0x5d39b1,_0x13f997){const _0x418c52=_0x55988f,_0x21b6e9=new this[(_0x418c52(0x19a))][(_0x418c52(0x17e))](this[_0x418c52(0x1b0)],_0x5d39b1,{'maxCommentCharsWhenCollapsed':this[_0x418c52(0x19a)][_0x418c52(0x179)],'formatDateTime':this[_0x418c52(0x19a)][_0x418c52(0x154)],'editorConfig':this[_0x418c52(0x19a)][_0x418c52(0x18e)]});_0x21b6e9[_0x418c52(0x192)]=_0x5d39b1['id'],_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x181))['to'](this),_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x17d))['to'](this),_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x199))['to'](this),_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x16a))['to'](this),_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x1a0))['to'](this),this[_0x418c52(0x1a3)](_0x21b6e9,_0x418c52(0x168),()=>this[_0x418c52(0x15d)]()),this[_0x418c52(0x18c)][_0x418c52(0x15a)](_0x21b6e9,_0x13f997);}[_0x55988f(0x19d)](_0x2fe9f2){const _0x3f5143=_0x55988f,_0x2ae475=this[_0x3f5143(0x1a1)][_0x3f5143(0x177)](_0x2fe9f2);return this[_0x3f5143(0x197)]?this[_0x3f5143(0x197)][_0x3f5143(0x1a7)]>_0x2fe9f2[_0x3f5143(0x1a7)]?_0x2ae475-0x1:_0x2ae475:_0x2ae475-0x1;}[_0x55988f(0x18d)](){const _0x98cbb2=_0x55988f;if(this[_0x98cbb2(0x1a1)][_0x98cbb2(0x152)]&&this[_0x98cbb2(0x1a1)][_0x98cbb2(0x1af)]){const _0x3e9a15={'id':_0x98cbb2(0x17c),'author':this[_0x98cbb2(0x1a1)][_0x98cbb2(0x152)],'authoredAt':this[_0x98cbb2(0x1a1)][_0x98cbb2(0x1af)],'content':_0x40a85(this[_0x98cbb2(0x1b0)],_0x98cbb2(0x184)),'attributes':{}};this[_0x98cbb2(0x197)]=new this[(_0x98cbb2(0x19a))][(_0x98cbb2(0x17e))](this[_0x98cbb2(0x1b0)],_0x3e9a15,{'maxCommentCharsWhenCollapsed':this[_0x98cbb2(0x19a)][_0x98cbb2(0x179)],'formatDateTime':this[_0x98cbb2(0x19a)][_0x98cbb2(0x154)],'editorConfig':this[_0x98cbb2(0x19a)][_0x98cbb2(0x18e)],'isSystemComment':!0x0}),this[_0x98cbb2(0x18c)][_0x98cbb2(0x15a)](this[_0x98cbb2(0x197)],this[_0x98cbb2(0x1a1)][_0x98cbb2(0x177)](_0x3e9a15));}else this[_0x98cbb2(0x197)]&&(this[_0x98cbb2(0x18c)][_0x98cbb2(0x1ab)](this[_0x98cbb2(0x197)]),this[_0x98cbb2(0x197)][_0x98cbb2(0x1a4)](),this[_0x98cbb2(0x197)]=null);this[_0x98cbb2(0x156)]();}[_0x55988f(0x166)](_0x5bc724){const _0x35ada4=_0x55988f,_0x3a86b4=this[_0x35ada4(0x18c)][_0x35ada4(0x1ab)](_0x5bc724['id']);this[_0x35ada4(0x182)](_0x3a86b4),_0x3a86b4[_0x35ada4(0x174)]&&this[_0x35ada4(0x15d)](),_0x3a86b4[_0x35ada4(0x1a4)]();}[_0x55988f(0x15d)](){const _0x1793b5=_0x55988f;this[_0x1793b5(0x18b)]=Array[_0x1793b5(0x190)](this[_0x1793b5(0x18c)])[_0x1793b5(0x160)](_0x141a0b=>_0x141a0b[_0x1793b5(0x174)]);}[_0x55988f(0x180)](){const _0x3535d3=_0x55988f,_0x22e72d=function(_0x274224){const _0x1a40bd=_0x132c,_0x4d34c0=new _0x33ebda();for(const _0x1f66d2 of _0x274224)_0x4d34c0[_0x1a40bd(0x15a)](_0x1f66d2);return _0x4d34c0;}(this[_0x3535d3(0x18c)]),_0x4870c0=this[_0x3535d3(0x196)][_0x3535d3(0x191)];for(let _0x3ba965=0x1;_0x3ba965<=_0x4870c0;_0x3ba965++)_0x22e72d[_0x3535d3(0x1ab)](0x1);for(const _0x12b27c of _0x22e72d)_0x12b27c[_0x3535d3(0x1a5)]();_0x4870c0>0x0&&_0x22e72d[_0x3535d3(0x15a)](this[_0x3535d3(0x196)],0x1),ms(_0x1c722a(Array[_0x3535d3(0x190)](this[_0x3535d3(0x183)]),Array[_0x3535d3(0x190)](_0x22e72d)),this[_0x3535d3(0x183)],_0x22e72d);}[_0x55988f(0x18f)](){const _0x511a88=_0x55988f;ms(_0x1c722a(Array[_0x511a88(0x190)](this[_0x511a88(0x183)]),Array[_0x511a88(0x190)](this[_0x511a88(0x18c)])),this[_0x511a88(0x183)],this[_0x511a88(0x18c)]);for(const _0x2b753a of this[_0x511a88(0x183)])_0x2b753a[_0x511a88(0x164)]();}[_0x55988f(0x158)](){const _0x4febf2=_0x55988f;this[_0x4febf2(0x18c)][_0x4febf2(0x1ae)](_0x30a1a7=>{const _0x3d475a=_0x4febf2;this[_0x3d475a(0x175)][_0x3d475a(0x15a)](_0x30a1a7[_0x3d475a(0x198)]),this[_0x3d475a(0x172)][_0x3d475a(0x1a3)](_0x30a1a7[_0x3d475a(0x198)]);}),this[_0x4febf2(0x18c)]['on'](_0x4febf2(0x19c),(_0x42c594,_0x2bf718)=>{const _0x102a80=_0x4febf2;for(const _0x342213 of _0x2bf718[_0x102a80(0x18a)])this[_0x102a80(0x175)][_0x102a80(0x1ab)](_0x342213[_0x102a80(0x198)]),this[_0x102a80(0x172)][_0x102a80(0x182)](_0x342213[_0x102a80(0x198)]);for(const _0x5d3bc9 of Array[_0x102a80(0x190)](_0x2bf718[_0x102a80(0x1aa)])[_0x102a80(0x1ac)]())this[_0x102a80(0x175)][_0x102a80(0x15a)](_0x5d3bc9[_0x102a80(0x198)]),this[_0x102a80(0x172)][_0x102a80(0x1a3)](_0x5d3bc9[_0x102a80(0x198)]);});}}function _0x132c(_0x15c975,_0x9adb8d){const _0x5ebdac=_0x5ebd();return _0x132c=function(_0x132c6a,_0x396dfc){_0x132c6a=_0x132c6a-0x150;let _0x230c12=_0x5ebdac[_0x132c6a];return _0x230c12;},_0x132c(_0x15c975,_0x9adb8d);}function _0x5ebd(){const _0x3afd0f=['target','removed','hasDirtyComment','commentViews','_handleInfoComment','editorConfig','_rearrangeExpand','from','count','viewUid','commentUpdated','10226648SbSGPw','length','_collapsedCommentsView','resolvedCommentView','element','resolveCommentThread','_config','5923595oraFen','change','_calculatePosition','includes','comments','editorDestroyed','_model','setTemplate','listenTo','destroy','collapse','focusLast','authoredAt','isActive','_handleNewCommentModel','added','remove','reverse','728671uBdJCI','forEach','resolvedAt','locale','render','30xGFQnL','resolvedBy','equal','formatDateTime','_shouldCollapse','refreshVisibleViews','get','_setupKeyboardNavigation','set','add','change:isActive','maxCommentsWhenCollapsed','_updateHasDirtyComment','delete','arrowup','some','576rPRgEn','2WwTwFh','4876856LWjPzx','expand','bindTemplate','_handleRemoveCommentModel','map','change:isEditMode','delegate','editorReady','change:isResolved','change:hasDirtyComment','focusCycler','weight','focusFirst','arrowdown','3350808tcujQG','keystrokes','maxThreadTotalWeight','isEditMode','focusTracker','977490fGDaNh','_findOptimalIndex','insert','maxCommentCharsWhenCollapsed','ck-thread__comments','ck-hidden','resolved','updateComment','CommentView','focus','_rearrangeCollapse','removeComment','stopListening','visibleViews','Marked\x20as\x20resolved','12992eYwNOM','createCollection','Thread\x20comments','bind'];_0x5ebd=function(){return _0x3afd0f;};return _0x5ebd();}function ms(_0x1ec48b,_0x5a9014,_0x8fe02c){const _0x3a6e3b=_0x55988f;let _0x34932c=0x0;for(const _0xff1aaa of _0x1ec48b)switch(_0xff1aaa){case _0x3a6e3b(0x178):_0x5a9014[_0x3a6e3b(0x15a)](_0x8fe02c[_0x3a6e3b(0x157)](_0x34932c),_0x34932c),_0x34932c++;break;case _0x3a6e3b(0x15e):_0x5a9014[_0x3a6e3b(0x1ab)](_0x34932c);break;case _0x3a6e3b(0x153):_0x34932c++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38570a=_0xca15;(function(_0x9f6efd,_0x391a3a){const _0x8d490f=_0xca15,_0x1259aa=_0x9f6efd();while(!![]){try{const _0x3b504b=-parseInt(_0x8d490f(0xad))/0x1*(parseInt(_0x8d490f(0xb0))/0x2)+-parseInt(_0x8d490f(0xa5))/0x3+-parseInt(_0x8d490f(0xa3))/0x4+-parseInt(_0x8d490f(0xb1))/0x5*(parseInt(_0x8d490f(0xaf))/0x6)+-parseInt(_0x8d490f(0x9e))/0x7*(parseInt(_0x8d490f(0x9f))/0x8)+-parseInt(_0x8d490f(0xa2))/0x9+parseInt(_0x8d490f(0xa0))/0xa*(parseInt(_0x8d490f(0xa6))/0xb);if(_0x3b504b===_0x391a3a)break;else _0x1259aa['push'](_0x1259aa['shift']());}catch(_0x4d5125){_0x1259aa['push'](_0x1259aa['shift']());}}}(_0x5e36,0x42033));import{View as _0x1bfb6a}from'ckeditor5/src/ui.js';function _0xca15(_0x5686f8,_0xbf84d){const _0x5e3632=_0x5e36();return _0xca15=function(_0xca1500,_0x5ee17c){_0xca1500=_0xca1500-0x9e;let _0x38517f=_0x5e3632[_0xca1500];return _0x38517f;},_0xca15(_0x5686f8,_0xbf84d);}import{getTranslation as _0x43d235}from'../../../utils/common-translations.js';function _0x5e36(){const _0x3e323f=['11100wBOCrP','setTemplate','4342266mCBdLh','1254344ANkjtS','THREAD_CONTEXT_LABEL','1108116JnwMvj','23155mPiSJj','bindTemplate','contextValue','element','span','ck-context__value','focus','6HgXCYM','set','1776JsknFT','168962MlSySW','1090sEBPCG','7CvqNmD','2634536zdMSXr'];_0x5e36=function(){return _0x3e323f;};return _0x5e36();}export default class ls extends _0x1bfb6a{constructor(_0x268d2f){const _0x420e67=_0xca15;super(_0x268d2f);const _0x39b09f=this[_0x420e67(0xa7)];this[_0x420e67(0xae)](_0x420e67(0xa8),''),this[_0x420e67(0xa1)]({'tag':_0x420e67(0xaa),'attributes':{'class':['ck',_0x420e67(0xab)],'aria-label':_0x39b09f['to'](_0x420e67(0xa8),_0x1e5ece=>_0x43d235(_0x268d2f,_0x420e67(0xa4),_0x1e5ece)),'tabindex':-0x1},'children':[{'text':_0x39b09f['to'](_0x420e67(0xa8))}]});}[_0x38570a(0xac)](){const _0x1ac2eb=_0x38570a;this[_0x1ac2eb(0xa9)][_0x1ac2eb(0xac)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4f15c9=_0x2424;(function(_0x2dbdef,_0x3ff360){const _0x18eb8f=_0x2424,_0x2dd3ba=_0x2dbdef();while(!![]){try{const _0xea0d17=parseInt(_0x18eb8f(0x20c))/0x1+-parseInt(_0x18eb8f(0x204))/0x2*(parseInt(_0x18eb8f(0x202))/0x3)+parseInt(_0x18eb8f(0x1c7))/0x4*(parseInt(_0x18eb8f(0x1f0))/0x5)+-parseInt(_0x18eb8f(0x208))/0x6+-parseInt(_0x18eb8f(0x1e9))/0x7+-parseInt(_0x18eb8f(0x1ec))/0x8*(parseInt(_0x18eb8f(0x1e2))/0x9)+parseInt(_0x18eb8f(0x1fd))/0xa;if(_0xea0d17===_0x3ff360)break;else _0x2dd3ba['push'](_0x2dd3ba['shift']());}catch(_0xd11a59){_0x2dd3ba['push'](_0x2dd3ba['shift']());}}}(_0x24a7,0x42d32));import{View as _0x8ac8f,ButtonView as _0x14b433,FocusCycler as _0x1e5c1e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x12d24f,KeystrokeHandler as _0x59c877}from'ckeditor5/src/utils.js';import{getTranslation as _0x373634}from'../../../utils/common-translations.js';function _0x2424(_0x12fe0e,_0x709bd3){const _0x24a784=_0x24a7();return _0x2424=function(_0x24246e,_0x52414e){_0x24246e=_0x24246e-0x1c5;let _0x23f8e7=_0x24a784[_0x24246e];return _0x23f8e7;},_0x2424(_0x12fe0e,_0x709bd3);}import _0x3c190b from'../../../../theme/icons/undo.svg';import _0x3b9d8c from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x24a7(){const _0x3613a4=['shift+tab','9780550alvnTH','createCollection','isResolvable','focusFirst','value','219129vcAUTU','icon','2XoqdTv','ck-annotation__actions','keystrokes','_trimContextValue','499494ZOKyQS','.ck-context__value','length','element','13943jCJIeF','_attachContextActions','lastIndexOf','127644pHMipO','isEnabled','remove','locale','fire','isVisible','context','mouseleave','querySelector','...','reopenButtonView','mouseenter','isResolved','div','Reopen','ck-thread__header','overlay','contextValue','substring','hasContext','bind','reopenCommentThread','isReadOnly','_createContextView','classList','focus','label','9PbsHxs','Comment\x20was\x20made\x20on\x20an\x20element','_setupKeyboardNavigation','bindTemplate','.ck-context','render','ck-context-wrapper','3535378RkDGHY','listenTo','focusCycler','3263672kHYJFz','tab','setTemplate','_model','55YVnptr','add','execute','tooltip','contextView','offsetWidth','ck-context--quotes','scrollWidth','_createReopenButton','ck-context','focusables','focusTracker'];_0x24a7=function(){return _0x3613a4;};return _0x24a7();}export default class ts extends _0x8ac8f{constructor(_0x27df5b,_0x4a9b6c){const _0x421e03=_0x2424;super(_0x27df5b);const _0x4f7ac8=this[_0x421e03(0x1e5)];this[_0x421e03(0x1ef)]=_0x4a9b6c,this[_0x421e03(0x1d1)]=this[_0x421e03(0x1f8)](),this[_0x421e03(0x1f4)]=this[_0x421e03(0x1de)](),this[_0x421e03(0x1fa)]=this[_0x421e03(0x1fe)]([this[_0x421e03(0x1f4)],this[_0x421e03(0x1d1)]]),this[_0x421e03(0x1fb)]=new _0x12d24f(),this[_0x421e03(0x206)]=new _0x59c877(),this[_0x421e03(0x1eb)]=new _0x1e5c1e({'focusables':this[_0x421e03(0x1fa)],'focusTracker':this[_0x421e03(0x1fb)],'keystrokeHandler':this[_0x421e03(0x206)],'actions':{'focusPrevious':_0x421e03(0x1fc),'focusNext':_0x421e03(0x1ed)}}),this[_0x421e03(0x1db)](_0x421e03(0x1da))['to'](this[_0x421e03(0x1ef)],_0x421e03(0x1cd),_0x37b7e1=>!!_0x37b7e1),this[_0x421e03(0x1db)](_0x421e03(0x1d8))['to'](this[_0x421e03(0x1ef)],_0x421e03(0x1cd),_0x2bf83b=>_0x2bf83b&&_0x2bf83b[_0x421e03(0x201)]?this[_0x421e03(0x207)](_0x2bf83b[_0x421e03(0x201)]):_0x373634(this[_0x421e03(0x1ca)],_0x421e03(0x1e3))),this[_0x421e03(0x1ee)]({'tag':_0x421e03(0x1d4),'attributes':{'class':[_0x421e03(0x1d6)]},'children':[{'tag':_0x421e03(0x1d4),'attributes':{'class':[_0x421e03(0x1e8)]},'children':[{'tag':_0x421e03(0x1d4),'attributes':{'class':[_0x421e03(0x1f9),_0x4f7ac8['if'](_0x421e03(0x1da),_0x421e03(0x1f6))]},'children':[this[_0x421e03(0x1f4)]]}]},{'tag':_0x421e03(0x1d4),'attributes':{'class':[_0x421e03(0x205)]},'children':[this[_0x421e03(0x1d1)]]}]});}[_0x4f15c9(0x1e7)](){const _0x19f803=_0x4f15c9;super[_0x19f803(0x1e7)](),this[_0x19f803(0x1c5)](),this[_0x19f803(0x1e4)]();}[_0x4f15c9(0x1e0)](){const _0x3329cc=_0x4f15c9;this[_0x3329cc(0x1eb)][_0x3329cc(0x200)]();}[_0x4f15c9(0x1f8)](){const _0x228f9b=_0x4f15c9,_0x13d266=new _0x14b433(this[_0x228f9b(0x1ca)]);return _0x13d266[_0x228f9b(0x1e1)]=_0x373634(this[_0x228f9b(0x1ca)],_0x228f9b(0x1d5)),_0x13d266[_0x228f9b(0x1f3)]=_0x373634(this[_0x228f9b(0x1ca)],_0x228f9b(0x1d5)),_0x13d266[_0x228f9b(0x203)]=_0x3c190b,_0x13d266[_0x228f9b(0x1db)](_0x228f9b(0x1c8))['to'](this[_0x228f9b(0x1ef)],_0x228f9b(0x1dd),_0x436dde=>!_0x436dde),_0x13d266[_0x228f9b(0x1db)](_0x228f9b(0x1cc))['to'](this[_0x228f9b(0x1ef)],_0x228f9b(0x1ff),this[_0x228f9b(0x1ef)],_0x228f9b(0x1d3),(_0x55cbad,_0x759db7)=>_0x55cbad&&_0x759db7),_0x13d266['on'](_0x228f9b(0x1f2),()=>{const _0x9b63ef=_0x228f9b;this[_0x9b63ef(0x1cb)](_0x9b63ef(0x1dc),this[_0x9b63ef(0x1ef)]['id']);}),_0x13d266;}[_0x4f15c9(0x207)](_0x17e71f){const _0x46c397=_0x4f15c9;if(_0x17e71f[_0x46c397(0x20a)]<0x96)return _0x17e71f;const _0xa6a319=_0x17e71f[_0x46c397(0x1c6)]('\x20',0x93);return _0x17e71f[_0x46c397(0x1d9)](0x0,_0xa6a319>-0x1?_0xa6a319:0x93)+_0x46c397(0x1d0);}[_0x4f15c9(0x1c5)](){const _0x347396=_0x4f15c9,_0x26417a=this[_0x347396(0x20b)][_0x347396(0x1cf)](_0x347396(0x1e6)),_0x173851=_0x26417a[_0x347396(0x1cf)](_0x347396(0x209));this[_0x347396(0x1ea)](_0x26417a,_0x347396(0x1d2),()=>{const _0x21f585=_0x347396;_0x173851[_0x21f585(0x1f5)]<_0x173851[_0x21f585(0x1f7)]&&_0x26417a[_0x21f585(0x1df)][_0x21f585(0x1f1)](_0x21f585(0x1d7));}),this[_0x347396(0x1ea)](_0x26417a,_0x347396(0x1ce),()=>{const _0x26b376=_0x347396;_0x26417a[_0x26b376(0x1df)][_0x26b376(0x1c9)](_0x26b376(0x1d7));});}[_0x4f15c9(0x1e4)](){const _0x4da6c5=_0x4f15c9;this[_0x4da6c5(0x206)][_0x4da6c5(0x1ea)](this[_0x4da6c5(0x20b)]);for(const _0x1f4035 of this[_0x4da6c5(0x1fa)])this[_0x4da6c5(0x1fb)][_0x4da6c5(0x1f1)](_0x1f4035[_0x4da6c5(0x20b)]),this[_0x4da6c5(0x206)][_0x4da6c5(0x1ea)](_0x1f4035[_0x4da6c5(0x20b)]);}[_0x4f15c9(0x1de)](){const _0x2beb21=_0x4f15c9,_0x862a1c=new _0x3b9d8c(this[_0x2beb21(0x1ca)]);return _0x862a1c[_0x2beb21(0x1db)](_0x2beb21(0x1d8))['to'](this),_0x862a1c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cd7d4=_0x1dc4;(function(_0x259818,_0x5e2dc3){const _0xda0b8e=_0x1dc4,_0x26757c=_0x259818();while(!![]){try{const _0x5d65b5=parseInt(_0xda0b8e(0x201))/0x1*(parseInt(_0xda0b8e(0x20b))/0x2)+parseInt(_0xda0b8e(0x1ff))/0x3+-parseInt(_0xda0b8e(0x200))/0x4+parseInt(_0xda0b8e(0x207))/0x5+parseInt(_0xda0b8e(0x1f6))/0x6*(parseInt(_0xda0b8e(0x218))/0x7)+-parseInt(_0xda0b8e(0x1f8))/0x8+parseInt(_0xda0b8e(0x212))/0x9*(-parseInt(_0xda0b8e(0x21e))/0xa);if(_0x5d65b5===_0x5e2dc3)break;else _0x26757c['push'](_0x26757c['shift']());}catch(_0x1c609b){_0x26757c['push'](_0x26757c['shift']());}}}(_0x2058,0x54165));import{View as _0x569938}from'ckeditor5/src/ui.js';function _0x2058(){const _0x3db420=['filter','ck-comment__input-container--active','change:showInput','_focusOnNonInteractiveMouseDown','value','7524045qiCpDO','render','bind','ck-comment__input-container','preventDefault','element','7yUIyHT','some','createEditor','ck-thread__input','setTemplate','contains','10vjPZPr','listenTo','bindTemplate','set','delegate','destroy','showButtons','getDomRoot','mousedown','editing','1455498mFbMNa','then','2363912wqGzJt','focusCycler','editorReady','focusTracker','view','focus','editorDestroyed','1783785BMVUbl','1207524HSNWcI','20725DGELGY','isFocused','ck-thread__user','userView','editor','div','1594340pClSuR','extendTemplate','target','showInput','60jLSANO','commentInputView'];_0x2058=function(){return _0x3db420;};return _0x2058();}import _0x4e3314 from'./commentinputview.js';function _0x1dc4(_0x386956,_0x38f6d7){const _0x205804=_0x2058();return _0x1dc4=function(_0x1dc4f2,_0x2d5259){_0x1dc4f2=_0x1dc4f2-0x1f1;let _0x4223ce=_0x205804[_0x1dc4f2];return _0x4223ce;},_0x1dc4(_0x386956,_0x38f6d7);}import{UserView as _0x546df2}from'ckeditor5-collaboration/src/collaboration-core.js';export default class kt extends _0x569938{constructor(_0x58048a,_0x5eaf0e,_0x690bed){const _0x372370=_0x1dc4;super(_0x58048a),this[_0x372370(0x20c)]=new _0x4e3314(_0x58048a,_0x690bed),this[_0x372370(0x1f9)]=this[_0x372370(0x20c)][_0x372370(0x1f9)],this[_0x372370(0x20c)][_0x372370(0x214)](_0x372370(0x1f2))['to'](this[_0x372370(0x20c)][_0x372370(0x1fb)],_0x372370(0x202),this[_0x372370(0x20c)],_0x372370(0x211),(_0x1a895f,_0xdba936)=>_0x1a895f||!!_0xdba936),this[_0x372370(0x221)](_0x372370(0x20a),!0x1),this['on'](_0x372370(0x20f),()=>{const _0x3ff744=_0x372370;this[_0x3ff744(0x20a)]&&!this[_0x3ff744(0x20c)][_0x3ff744(0x205)]&&this[_0x3ff744(0x20c)][_0x3ff744(0x21a)]();}),this[_0x372370(0x20c)][_0x372370(0x222)](_0x372370(0x1fa))['to'](this),this[_0x372370(0x20c)][_0x372370(0x222)](_0x372370(0x1fe))['to'](this),this[_0x372370(0x204)]=new _0x546df2(_0x58048a,_0x5eaf0e),this[_0x372370(0x204)][_0x372370(0x208)]({'attributes':{'class':_0x372370(0x203),'aria-hidden':!0x0}}),this[_0x372370(0x20c)][_0x372370(0x208)]({'attributes':{'class':_0x372370(0x21b)}}),this[_0x372370(0x21c)]({'tag':_0x372370(0x206),'attributes':{'class':[_0x372370(0x215),this[_0x372370(0x220)]['if'](_0x372370(0x20a),_0x372370(0x20e))]},'children':[this[_0x372370(0x204)],this[_0x372370(0x20c)]]});}[_0x2cd7d4(0x213)](){const _0x160c94=_0x2cd7d4;super[_0x160c94(0x213)](),this[_0x160c94(0x210)]();}[_0x2cd7d4(0x1f1)](){const _0x19e08f=_0x2cd7d4;return this[_0x19e08f(0x20c)][_0x19e08f(0x1f1)]()[_0x19e08f(0x1f7)](()=>super[_0x19e08f(0x1f1)]());}[_0x2cd7d4(0x1fd)](_0x5a0dec){const _0x3494c8=_0x2cd7d4;this[_0x3494c8(0x20c)][_0x3494c8(0x1fd)](_0x5a0dec);}[_0x2cd7d4(0x210)](){const _0x4d417c=_0x2cd7d4;this[_0x4d417c(0x21f)](this[_0x4d417c(0x217)],_0x4d417c(0x1f4),(_0x3013f4,_0x149c25)=>{const _0x33fca2=_0x4d417c,{submitButtonView:_0x212b03,cancelButtonView:_0x492879,editor:_0x504029}=this[_0x33fca2(0x20c)];[_0x212b03[_0x33fca2(0x217)],_0x492879[_0x33fca2(0x217)],_0x504029?_0x504029[_0x33fca2(0x1f5)][_0x33fca2(0x1fc)][_0x33fca2(0x1f3)]():null][_0x33fca2(0x20d)](_0x2e6263=>_0x2e6263)[_0x33fca2(0x219)](_0x4eeadd=>_0x4eeadd[_0x33fca2(0x21d)](_0x149c25[_0x33fca2(0x209)]))||(this[_0x33fca2(0x1fd)](),_0x149c25[_0x33fca2(0x216)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5ec649=_0x4f63;function _0x32d7(){const _0x49027f=['_cancelAllConfirms','.ck-thread__container','locale','_model','unbind','icon','removeCommentThread','5120490cJsdyD','fire','commentThreadHeaderView','change:archivedAt','ck-thread--','render','commentThreadInputView','listenTo','isResolved','actionBar','isActive','showConfirm','commentViews','ck-thread','_boundFirstCommentView','Delete\x20comment\x20thread?','ck-reset_all-excluded','ck-thread__container','isResolvable','removeButton','commentsListView','ck-comment--resolve','isEnabled','label','get','focus','add','removeConfirm','div','isConfirm','extendTemplate','_updateArchivedThreadHeader','bindTemplate','_createResolveButton','element','remove','focusables','ariaLabel','Write\x20a\x20comment...','ck-thread--remove-confirmation','403928rXcyjq','Resolve','querySelector','commentThreadChildren','length','check','set','then','change:isActive','has','change:isReadOnly','924KxjPbo','279221IMvEPW','isReadOnly','ck-rounded-corners','22866LhBtVk','createCollection','listitem','containerElement','356940enAYsF','ck-thread--unlinked','resolveButton','9EuCgPV','resolveCommentThread','high','2366416oJiZjm','execute','getTemplate','stop','_bindFirstCommentView','isSystemComment','placeholder','ariaDescriptionView','archivedAt','isUnlinked','bind','isVisible','ck-thread--active','3124ogMTSD','actionIndicator','tooltip','setTemplate','cancelConfirm','427lLqKAq'];_0x32d7=function(){return _0x49027f;};return _0x32d7();}(function(_0x5b2079,_0x479028){const _0x141ddc=_0x4f63,_0x28b89f=_0x5b2079();while(!![]){try{const _0x396bd7=parseInt(_0x141ddc(0x1b7))/0x1+parseInt(_0x141ddc(0x1ab))/0x2+-parseInt(_0x141ddc(0x1b6))/0x3*(parseInt(_0x141ddc(0x1d1))/0x4)+-parseInt(_0x141ddc(0x1be))/0x5+parseInt(_0x141ddc(0x1ba))/0x6*(-parseInt(_0x141ddc(0x1d6))/0x7)+parseInt(_0x141ddc(0x1c4))/0x8*(-parseInt(_0x141ddc(0x1c1))/0x9)+parseInt(_0x141ddc(0x1de))/0xa;if(_0x396bd7===_0x479028)break;else _0x28b89f['push'](_0x28b89f['shift']());}catch(_0x15100f){_0x28b89f['push'](_0x28b89f['shift']());}}}(_0x32d7,0x255c1));function _0x4f63(_0x340e0c,_0x577801){const _0x32d7c2=_0x32d7();return _0x4f63=function(_0x4f63b0,_0x32cd69){_0x4f63b0=_0x4f63b0-0x18a;let _0x363bd9=_0x32d7c2[_0x4f63b0];return _0x363bd9;},_0x4f63(_0x340e0c,_0x577801);}import{ConfirmMixin as _0x1c6a76,LateFocusButtonView as _0x3c427f}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x37c577}from'ckeditor5/src/core.js';import _0x1e2491 from'./basecommentthreadview.js';import{getTranslation as _0x3e392b}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1c6a76(_0x1e2491){constructor(_0x5c346a,_0x7ee46e,_0x51e8cd,_0x202282){const _0x1e64b1=_0x4f63;super(_0x5c346a,_0x7ee46e,_0x51e8cd,_0x202282),this[_0x1e64b1(0x1ae)]=this[_0x1e64b1(0x1bb)]([this[_0x1e64b1(0x197)],this[_0x1e64b1(0x1e4)],this[_0x1e64b1(0x1cb)]]),this[_0x1e64b1(0x1b1)](_0x1e64b1(0x1d2),null),this[_0x1e64b1(0x1bd)]=null,this[_0x1e64b1(0x191)]=null,this[_0x1e64b1(0x1d9)]=_0x5c346a,this[_0x1e64b1(0x1c0)]=this[_0x1e64b1(0x1a4)](),this[_0x1e64b1(0x1d4)](this[_0x1e64b1(0x1c6)]()),this['on'](_0x1e64b1(0x1b3),(_0x6f718f,_0x3a134e,_0x4f3ca8)=>{const _0x15506e=_0x1e64b1;_0x4f3ca8||this[_0x15506e(0x1d7)]();}),this[_0x1e64b1(0x18a)](this[_0x1e64b1(0x1da)],_0x1e64b1(0x1b5),(_0x381665,_0xdcbc13,_0x588269)=>{const _0x22fd09=_0x1e64b1;_0x588269&&this[_0x22fd09(0x1d7)]();}),this[_0x1e64b1(0x1af)]>0x0&&this[_0x1e64b1(0x1c8)](),this[_0x1e64b1(0x18a)](this[_0x1e64b1(0x197)][_0x1e64b1(0x18f)],_0x1e64b1(0x19d),()=>{const _0xf451cf=_0x1e64b1;this[_0xf451cf(0x1c8)]();});}[_0x5ec649(0x1c6)](){const _0x57b686=_0x5ec649,_0x5a3813=this[_0x57b686(0x1a3)];return{'tag':_0x57b686(0x19f),'attributes':{'class':['ck',_0x57b686(0x190),_0x57b686(0x193),_0x57b686(0x1b9),_0x5a3813['if'](_0x57b686(0x18d),_0x57b686(0x1d0)),_0x5a3813['if'](_0x57b686(0x1cd),_0x57b686(0x1bf)),_0x5a3813['if'](_0x57b686(0x1a0),_0x57b686(0x1aa)),_0x5a3813['to'](_0x57b686(0x1d2),_0x331f4e=>_0x331f4e?_0x57b686(0x1e2)+_0x331f4e:'')],'data-thread-id':this[_0x57b686(0x1da)]['id'],'tabindex':0x0,'role':_0x57b686(0x1bc),'aria-label':_0x5a3813['to'](_0x57b686(0x1a8)),'aria-describedby':this[_0x57b686(0x1cb)]['id']},'children':[{'tag':_0x57b686(0x19f),'attributes':{'class':_0x57b686(0x194)},'children':this[_0x57b686(0x1ae)]}]};}[_0x5ec649(0x1e3)](){const _0x2d63f2=_0x5ec649;super[_0x2d63f2(0x1e3)](),this[_0x2d63f2(0x1bd)]=this[_0x2d63f2(0x1a5)][_0x2d63f2(0x1ad)](_0x2d63f2(0x1d8)),this[_0x2d63f2(0x1da)]['on'](_0x2d63f2(0x1e1),()=>{const _0x36e859=_0x2d63f2;this[_0x36e859(0x1a2)]();}),this[_0x2d63f2(0x1a2)]();}[_0x5ec649(0x1d7)](){const _0x56a843=_0x5ec649;this[_0x56a843(0x1d5)]();for(const _0x4d12c5 of this[_0x56a843(0x197)][_0x56a843(0x18f)])_0x4d12c5[_0x56a843(0x1d5)]();}[_0x5ec649(0x1c8)](){const _0x533220=_0x5ec649,{locale:_0xfe183a}=this,_0x3415d0=this[_0x533220(0x197)][_0x533220(0x18f)][_0x533220(0x19b)](0x0);_0x3415d0===this[_0x533220(0x191)]||_0x3415d0[_0x533220(0x1c9)]||(this[_0x533220(0x191)]=_0x3415d0,this[_0x533220(0x1db)](_0x533220(0x1d2)),this[_0x533220(0x1ce)](_0x533220(0x1d2))['to'](_0x3415d0,_0x533220(0x1d2),_0x10ff35=>_0x533220(0x1a6)===_0x10ff35?_0x533220(0x1a6):null),_0x3415d0[_0x533220(0x1ca)]=_0x3e392b(_0xfe183a,_0x533220(0x1a9)),_0x3415d0[_0x533220(0x196)]['on'](_0x533220(0x1c5),_0x3ca80a=>{const _0x29223b=_0x533220;_0x3ca80a[_0x29223b(0x1c7)](),this[_0x29223b(0x18e)](_0x3e392b(_0xfe183a,_0x29223b(0x192)),this[_0x29223b(0x1bd)])[_0x29223b(0x1b2)](()=>{const _0x6732b6=_0x29223b;this[_0x6732b6(0x1df)](_0x6732b6(0x1dd));});},{'priority':_0x533220(0x1c3)}),this['on'](_0x533220(0x19e),()=>{const _0xb120e9=_0x533220;_0x3415d0[_0xb120e9(0x19c)]();}),_0x3415d0[_0x533220(0x18c)][_0x533220(0x19d)](this[_0x533220(0x1c0)],0x0),_0x3415d0[_0x533220(0x1a7)][_0x533220(0x19d)](this[_0x533220(0x1c0)],0x0));}[_0x5ec649(0x1a4)](){const _0x4d3632=_0x5ec649,_0x12b676=new _0x3c427f(this[_0x4d3632(0x1d9)]);return _0x12b676[_0x4d3632(0x19a)]=_0x3e392b(this[_0x4d3632(0x1d9)],_0x4d3632(0x1ac)),_0x12b676[_0x4d3632(0x1d3)]=_0x3e392b(this[_0x4d3632(0x1d9)],_0x4d3632(0x1ac)),_0x12b676[_0x4d3632(0x1dc)]=_0x37c577[_0x4d3632(0x1b0)],_0x12b676[_0x4d3632(0x1a1)]({'attributes':{'class':_0x4d3632(0x198)}}),_0x12b676[_0x4d3632(0x1ce)](_0x4d3632(0x199))['to'](this[_0x4d3632(0x1da)],_0x4d3632(0x1b8),_0xa26048=>!_0xa26048),_0x12b676[_0x4d3632(0x1ce)](_0x4d3632(0x1cf))['to'](this[_0x4d3632(0x1da)],_0x4d3632(0x195),this[_0x4d3632(0x1da)],_0x4d3632(0x18b),(_0x398171,_0x4836b5)=>_0x398171&&!_0x4836b5),_0x12b676['on'](_0x4d3632(0x1c5),()=>{const _0x552bea=_0x4d3632;this[_0x552bea(0x1df)](_0x552bea(0x1c2),this[_0x552bea(0x1da)]['id']);}),_0x12b676;}[_0x5ec649(0x1a2)](){const _0x4ce1ac=_0x5ec649;this[_0x4ce1ac(0x1da)][_0x4ce1ac(0x1cc)]?this[_0x4ce1ac(0x1ae)][_0x4ce1ac(0x1b4)](this[_0x4ce1ac(0x1e0)])||(this[_0x4ce1ac(0x1ae)][_0x4ce1ac(0x19d)](this[_0x4ce1ac(0x1e0)],0x0),this[_0x4ce1ac(0x1a7)][_0x4ce1ac(0x19d)](this[_0x4ce1ac(0x1e0)],0x0)):this[_0x4ce1ac(0x1ae)][_0x4ce1ac(0x1b4)](this[_0x4ce1ac(0x1e0)])&&(this[_0x4ce1ac(0x1ae)][_0x4ce1ac(0x1a6)](this[_0x4ce1ac(0x1e0)]),this[_0x4ce1ac(0x1a7)][_0x4ce1ac(0x1a6)](this[_0x4ce1ac(0x1e0)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x517363=_0x42a5;function _0x2783(){const _0x41ee8b=['then','ck-annotation__info-name','placeholder','listenTo','mouseenter','64442OgvGYM','fire','36WDdohZ','ck-annotation__info','label','_createDropdown','time','some','removeComment','authoredAt','ck-comment__info','mouseleave','isReadOnly','remove','listitem','formatDateTime','change:isRemovable','focus','Edit','execute','66UIexPR','ck-comment','ck-comment__info-time','pencil','showConfirm','createCollection','ck-annotation','Reply...','visibleView','icon','ck-comment--','isEditMode','ck-comment__info-name','length','actionIndicator','2885WCsxVh','ck-annotation__actions--hidden','ck-comment__user','_config','locale','add','extendTemplate','group','_createRemoveButton','getTemplate','ck-comment--remove-confirmation','870900avtODI','ck-comment--info','isEditable','withText','render','name','Remove','find','ck-annotation__content-wrapper','actionBar','ck-comment__actions','items','ck-comment--remove','userView','ck-hidden','ck-comment__external','4712xJNgtM','switchToEditMode','addMany','_model','ck-annotation__actions','_createEditButton','div','span','isExternal','bind','652JzNNaj','33vLmMjU','ck-annotation__info-time','dropdown','children','bindTemplate','ck-comment__main','Show\x20more\x20items','cancelConfirm','isEnabled','6242ThSBNL','removeButton','buttonView','blur','set','isRemovable','toMany','_createCommentInputView','ck-comment--edit','threeVerticalDots','focusables','panelPosition','resolvedAt','author','getUserViewNotificationText','from','2593536RpoMYX','push','edit','isSystemComment','Delete\x20comment?','panelView','getExternalCommentNote','isConfirm','ck-annotation__main','301112BtjSWu','isVisible','ck-comment__actions--hidden','setTemplate','element','ariaDescriptionView','editButton','ck-annotation__user','_attachActions','ck-comment__wrapper','ariaLabel','unbind'];_0x2783=function(){return _0x41ee8b;};return _0x2783();}(function(_0x3300b2,_0x32b8ce){const _0x21c9b0=_0x42a5,_0x2cb285=_0x3300b2();while(!![]){try{const _0x457675=-parseInt(_0x21c9b0(0x9b))/0x1+parseInt(_0x21c9b0(0xaf))/0x2*(-parseInt(_0x21c9b0(0xa6))/0x3)+parseInt(_0x21c9b0(0xa5))/0x4*(parseInt(_0x21c9b0(0xfc))/0x5)+parseInt(_0x21c9b0(0xed))/0x6*(-parseInt(_0x21c9b0(0xd9))/0x7)+parseInt(_0x21c9b0(0xc8))/0x8*(-parseInt(_0x21c9b0(0xdb))/0x9)+parseInt(_0x21c9b0(0x107))/0xa+parseInt(_0x21c9b0(0xbf))/0xb;if(_0x457675===_0x32b8ce)break;else _0x2cb285['push'](_0x2cb285['shift']());}catch(_0x19ccf2){_0x2cb285['push'](_0x2cb285['shift']());}}}(_0x2783,0x1ec64));import{ButtonView as _0x3cdee8,createDropdown as _0x5e537e,ListView as _0x41593b,ListItemView as _0x2481d6,focusChildOnDropdownOpen as _0x2ede43}from'ckeditor5/src/ui.js';function _0x42a5(_0x5d0ac6,_0x30ae2b){const _0x2783a4=_0x2783();return _0x42a5=function(_0x42a5e3,_0x556b20){_0x42a5e3=_0x42a5e3-0x8c;let _0x531c66=_0x2783a4[_0x42a5e3];return _0x531c66;},_0x42a5(_0x5d0ac6,_0x30ae2b);}import{icons as _0x24502a}from'ckeditor5/src/core.js';import{UserView as _0x1500c3,ConfirmMixin as _0x23ef5f,LateFocusDropdownButtonView as _0x339cfd}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x19a559 from'./basecommentview.js';import _0x3a63a7 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x31ed29}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x23ef5f(_0x19a559){constructor(_0x3c8c22,_0x2fefdf,_0x1ca7f6){const _0xea6f85=_0x42a5;super(_0x3c8c22,_0x2fefdf,_0x1ca7f6),this[_0xea6f85(0xb3)](_0xea6f85(0xfb),null),this[_0xea6f85(0xb3)](_0xea6f85(0xd6),_0x31ed29(_0x3c8c22,_0xea6f85(0xf4))),this[_0xea6f85(0xa4)](_0xea6f85(0xe2))['to'](_0x2fefdf),this[_0xea6f85(0xa4)](_0xea6f85(0xbb))['to'](_0x2fefdf),this[_0xea6f85(0x94)]=this[_0xea6f85(0xf2)](),this[_0xea6f85(0xc2)]||(this[_0xea6f85(0xce)]=this[_0xea6f85(0xa0)](),this[_0xea6f85(0xb0)]=this[_0xea6f85(0x104)](),this[_0xea6f85(0x96)]=this[_0xea6f85(0xf2)](),this[_0xea6f85(0x96)][_0xea6f85(0x9d)]([this[_0xea6f85(0xce)],this[_0xea6f85(0xb0)]]),this[_0xea6f85(0xa8)]=this[_0xea6f85(0xde)](),this[_0xea6f85(0x94)][_0xea6f85(0x101)](this[_0xea6f85(0xa8)]),this[_0xea6f85(0xb9)][_0xea6f85(0x101)](this[_0xea6f85(0xa8)])),this[_0xea6f85(0x98)]=new _0x1500c3(_0x3c8c22,_0x2fefdf[_0xea6f85(0xbc)],this[_0xea6f85(0xbd)]()),this[_0xea6f85(0x98)][_0xea6f85(0x102)]({'attributes':{'class':[_0xea6f85(0xfe),_0xea6f85(0xcf)],'aria-hidden':!0x0}}),this[_0xea6f85(0xd7)](_0x2fefdf,_0xea6f85(0xe9),()=>this[_0xea6f85(0xad)]()),this[_0xea6f85(0xcb)](this[_0xea6f85(0x105)]());}[_0x517363(0x105)](){const _0x3595ad=_0x517363,_0x41e312=this[_0x3595ad(0xaa)],_0x134f10=[{'tag':_0x3595ad(0xa1),'attributes':{'class':[_0x3595ad(0xe3),_0x3595ad(0xdc)]},'children':[{'tag':_0x3595ad(0xa2),'children':[{'text':this[_0x3595ad(0x98)][_0x3595ad(0x90)]}],'attributes':{'class':[_0x3595ad(0xf9),_0x3595ad(0xd5)]}},{'tag':_0x3595ad(0xdf),'attributes':{'datetime':_0x41e312['to'](_0x3595ad(0xe2)),'class':[_0x3595ad(0xef),_0x3595ad(0xa7)]},'children':[{'text':_0x41e312['to'](_0x3595ad(0xe2),_0x13e054=>this[_0x3595ad(0xff)][_0x3595ad(0xe8)](_0x13e054))}]}]},{'tag':_0x3595ad(0xa1),'attributes':{'class':[_0x3595ad(0x95),_0x3595ad(0x9f),_0x41e312['if'](_0x3595ad(0xf8),_0x3595ad(0xca)),_0x41e312['if'](_0x3595ad(0xf8),_0x3595ad(0xfd))]},'children':this[_0x3595ad(0x94)]},{'tag':_0x3595ad(0xa1),'attributes':{'class':[_0x3595ad(0x93)]},'children':this[_0x3595ad(0xf5)]},this[_0x3595ad(0xcd)]];return this[_0x3595ad(0x9e)][_0x3595ad(0xa3)]&&_0x134f10[_0x3595ad(0xc0)]({'tag':_0x3595ad(0xa1),'attributes':{'class':[_0x3595ad(0x9a)]},'children':[{'text':this[_0x3595ad(0xc5)]()}]}),{'tag':'li','attributes':{'class':[_0x3595ad(0xd1),_0x41e312['if'](_0x3595ad(0xc6),_0x3595ad(0x106))],'tabindex':-0x1,'aria-label':_0x41e312['to'](_0x3595ad(0xd2)),'aria-describedby':this[_0x3595ad(0xcd)]['id'],'role':_0x3595ad(0xe7)},'children':[{'tag':_0x3595ad(0xa1),'attributes':{'class':[_0x3595ad(0xee),_0x3595ad(0xf3),_0x41e312['if'](_0x3595ad(0xf8),_0x3595ad(0xb7)),_0x41e312['if'](_0x3595ad(0xc2),_0x3595ad(0x8c)),_0x41e312['to'](_0x3595ad(0xfb),_0x4a7e8f=>_0x4a7e8f?_0x3595ad(0xf7)+_0x4a7e8f:'')],'data-author-id':this[_0x3595ad(0x9e)][_0x3595ad(0xbc)]['id'],'data-comment-id':this[_0x3595ad(0x9e)]['id'],'role':_0x3595ad(0x103)},'children':[this[_0x3595ad(0x98)],{'tag':_0x3595ad(0xa1),'attributes':{'class':[_0x3595ad(0xab),_0x3595ad(0xc7)]},'children':_0x134f10}]}]};}[_0x517363(0xa0)](){const _0x2c955b=_0x517363,_0x13def4=new _0x3cdee8(this[_0x2c955b(0x100)]);return _0x13def4[_0x2c955b(0xdd)]=_0x31ed29(this[_0x2c955b(0x100)],_0x2c955b(0xeb)),_0x13def4[_0x2c955b(0xf6)]=_0x24502a[_0x2c955b(0xf0)],_0x13def4[_0x2c955b(0x8e)]=!0x0,_0x13def4[_0x2c955b(0x102)]({'attributes':{'class':_0x2c955b(0xb7)}}),_0x13def4[_0x2c955b(0xa4)](_0x2c955b(0xae))['to'](this[_0x2c955b(0x9e)],_0x2c955b(0xe5),_0x48bd5e=>!_0x48bd5e),_0x13def4[_0x2c955b(0xa4)](_0x2c955b(0xc9))['to'](this[_0x2c955b(0x9e)],_0x2c955b(0x8d)),_0x13def4['on'](_0x2c955b(0xec),()=>this[_0x2c955b(0x9c)]()),_0x13def4;}[_0x517363(0x104)](){const _0x4c6c92=_0x517363,_0x5482a0=new _0x3cdee8(this[_0x4c6c92(0x100)]);return _0x5482a0[_0x4c6c92(0xdd)]=_0x31ed29(this[_0x4c6c92(0x100)],_0x4c6c92(0x91)),_0x5482a0[_0x4c6c92(0xf6)]=_0x3a63a7,_0x5482a0[_0x4c6c92(0x8e)]=!0x0,_0x5482a0[_0x4c6c92(0x102)]({'attributes':{'class':_0x4c6c92(0x97)}}),_0x5482a0[_0x4c6c92(0xa4)](_0x4c6c92(0xae))['to'](this[_0x4c6c92(0x9e)],_0x4c6c92(0xe5),_0x41bbbf=>!_0x41bbbf),_0x5482a0[_0x4c6c92(0xa4)](_0x4c6c92(0xc9))['to'](this[_0x4c6c92(0x9e)],_0x4c6c92(0xb4)),_0x5482a0['on'](_0x4c6c92(0xec),()=>{const _0x1e5558=_0x4c6c92;this[_0x1e5558(0xf1)](_0x31ed29(this[_0x1e5558(0x100)],_0x1e5558(0xc3)),this[_0x1e5558(0xcc)])[_0x1e5558(0xd4)](()=>{const _0x47ca04=_0x1e5558;this[_0x47ca04(0xda)](_0x47ca04(0xe1),this[_0x47ca04(0x9e)]['id']);});}),_0x5482a0;}[_0x517363(0xde)](){const _0x298c35=_0x517363,_0xeb8eb8=_0x5e537e(this[_0x298c35(0x100)],_0x339cfd),_0x534f82=_0xeb8eb8[_0x298c35(0xc4)][_0x298c35(0xa9)],_0x1a4a96=new _0x41593b(this[_0x298c35(0x100)]),_0x275596=_0xeb8eb8[_0x298c35(0xaa)];_0x2ede43(_0xeb8eb8,()=>this[_0x298c35(0x96)][_0x298c35(0x92)](_0xc893a5=>_0xc893a5[_0x298c35(0xc9)])),_0xeb8eb8[_0x298c35(0x102)]({'attributes':{'class':[_0x275596['if'](_0x298c35(0xc9),_0x298c35(0x99),_0x3da711=>!_0x3da711)]}});const _0x206f4c=(_0x2d0ff0,_0x34b104=-0x1)=>{const _0x79dc9=_0x298c35,_0x25bd5b=new _0x2481d6(this[_0x79dc9(0x100)]);_0x25bd5b[_0x79dc9(0xa9)][_0x79dc9(0x101)](_0x2d0ff0);const _0x165d7a=_0x34b104>-0x1?_0x34b104:_0x1a4a96[_0x79dc9(0x96)][_0x79dc9(0xfa)];_0x1a4a96[_0x79dc9(0x96)][_0x79dc9(0x101)](_0x25bd5b,_0x165d7a);const _0x3071c2=Array[_0x79dc9(0xbe)](this[_0x79dc9(0x96)]);_0xeb8eb8[_0x79dc9(0xd3)](_0x79dc9(0xae),_0x79dc9(0xc9)),_0xeb8eb8[_0x79dc9(0xa4)](_0x79dc9(0xae))[_0x79dc9(0xb5)](_0x3071c2,_0x79dc9(0xae),(..._0x172d6c)=>_0x172d6c[_0x79dc9(0xe0)](_0x5c67a1=>_0x5c67a1)),_0xeb8eb8[_0x79dc9(0xa4)](_0x79dc9(0xc9))[_0x79dc9(0xb5)](_0x3071c2,_0x79dc9(0xc9),(..._0x364fdb)=>_0x364fdb[_0x79dc9(0xe0)](_0x15ac20=>_0x15ac20));};_0xeb8eb8[_0x298c35(0xba)]='sw',_0xeb8eb8[_0x298c35(0xb1)][_0x298c35(0xb3)]({'label':_0x31ed29(this[_0x298c35(0x100)],_0x298c35(0xac)),'icon':_0x24502a[_0x298c35(0xb8)]}),_0xeb8eb8[_0x298c35(0xae)]=[...this[_0x298c35(0x96)]][_0x298c35(0xe0)](_0x1550bb=>_0x1550bb[_0x298c35(0xae)]),_0xeb8eb8[_0x298c35(0xb1)][_0x298c35(0xc9)]=[...this[_0x298c35(0x96)]][_0x298c35(0xe0)](_0x364fd2=>_0x364fd2[_0x298c35(0xc9)]);for(const _0x2ad033 of this[_0x298c35(0x96)])_0x206f4c(_0x2ad033);return _0x534f82[_0x298c35(0x101)](_0x1a4a96),_0xeb8eb8[_0x298c35(0xd7)](this[_0x298c35(0x96)],_0x298c35(0x101),(_0x4bd9f2,_0x592e59,_0x179f80)=>{_0x206f4c(_0x592e59,_0x179f80);}),_0xeb8eb8[_0x298c35(0xd7)](this[_0x298c35(0x96)],_0x298c35(0xe6),(_0x2085cf,_0x502a64,_0x29e5e0)=>{const _0x89e674=_0x298c35;_0x1a4a96[_0x89e674(0x96)][_0x89e674(0xe6)](_0x29e5e0);}),_0xeb8eb8;}[_0x517363(0xd0)](_0x5a2336,_0x41053e){const _0x5951ad=_0x517363,_0x4eadd7=_0x5a2336&&_0x5a2336[_0x5951ad(0xcc)];_0x4eadd7&&(this[_0x5951ad(0xd7)](_0x4eadd7,_0x5951ad(0xd8),()=>this[_0x5951ad(0xfb)]=_0x41053e),this[_0x5951ad(0xd7)](_0x4eadd7,_0x5951ad(0xea),()=>this[_0x5951ad(0xfb)]=_0x41053e),this[_0x5951ad(0xd7)](_0x4eadd7,_0x5951ad(0xe4),()=>this[_0x5951ad(0xfb)]=null),this[_0x5951ad(0xd7)](_0x4eadd7,_0x5951ad(0xb2),()=>this[_0x5951ad(0xfb)]=null));}[_0x517363(0xb6)](){const _0x3d0882=_0x517363,_0x555273=super[_0x3d0882(0xb6)]();return _0x555273[_0x3d0882(0xa4)](_0x3d0882(0xd6))['to'](this),_0x555273;}[_0x517363(0x8f)](){const _0x2e8e4d=_0x517363;super[_0x2e8e4d(0x8f)](),this[_0x2e8e4d(0xd0)](this[_0x2e8e4d(0xce)],_0x2e8e4d(0xc1)),this[_0x2e8e4d(0xd0)](this[_0x2e8e4d(0xb0)],_0x2e8e4d(0xe6));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x58142c=_0x53ac;(function(_0x3148b9,_0x4de9fe){var _0x53b397=_0x53ac,_0x4d57f0=_0x3148b9();while(!![]){try{var _0x1124e3=-parseInt(_0x53b397(0x195))/0x1*(parseInt(_0x53b397(0x191))/0x2)+parseInt(_0x53b397(0x18e))/0x3+-parseInt(_0x53b397(0x197))/0x4+parseInt(_0x53b397(0x190))/0x5+-parseInt(_0x53b397(0x193))/0x6*(-parseInt(_0x53b397(0x192))/0x7)+parseInt(_0x53b397(0x18f))/0x8+parseInt(_0x53b397(0x18c))/0x9*(-parseInt(_0x53b397(0x18d))/0xa);if(_0x1124e3===_0x4de9fe)break;else _0x4d57f0['push'](_0x4d57f0['shift']());}catch(_0x1f0b8b){_0x4d57f0['push'](_0x4d57f0['shift']());}}}(_0x46a6,0xdb58f));import{Plugin as _0x1eb077}from'ckeditor5/src/core.js';function _0x53ac(_0xb56294,_0x30d8c9){var _0x46a6a2=_0x46a6();return _0x53ac=function(_0x53ac2b,_0x2e7449){_0x53ac2b=_0x53ac2b-0x18b;var _0xae024=_0x46a6a2[_0x53ac2b];return _0xae024;},_0x53ac(_0xb56294,_0x30d8c9);}import _0x2da2d4 from'./comments/commentsrepository.js';import _0x23b2d6 from'./comments/commentsediting.js';import _0x4aaee3 from'./comments/commentsui.js';import _0x405a15 from'./commentsonly.js';function _0x46a6(){var _0x28b6f1=['53307OwzPsP','1340knTQIq','68016RDZZCr','11121240tIFUXf','394035abrKXd','14MrTtkC','483672OvopGU','90hjnJos','pluginName','22642lFFJbk','requires','2709804LjpTFu','Comments'];_0x46a6=function(){return _0x28b6f1;};return _0x46a6();}import _0xbb27f0 from'./annotations/widesidebar.js';import _0xbc7b2a from'./annotations/narrowsidebar.js';import _0x4e75e3 from'./annotations/inlineannotations.js';import _0x158545 from'./comments/commentsarchiveui.js';import _0x3eafe5 from'./comments/commentsarchive.js';export default class f extends _0x1eb077{static get[_0x58142c(0x196)](){return[_0x2da2d4,_0x23b2d6,_0x4aaee3,_0x3eafe5,_0x158545,_0x405a15,_0xbb27f0,_0xbc7b2a,_0x4e75e3];}static get[_0x58142c(0x194)](){var _0x55d23e=_0x58142c;return _0x55d23e(0x18b);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x434937=_0x4ad0;(function(_0x4f00d0,_0x5cf910){const _0x509475=_0x4ad0,_0x8d5b0f=_0x4f00d0();while(!![]){try{const _0x18c7ce=parseInt(_0x509475(0x1ca))/0x1*(parseInt(_0x509475(0x1c7))/0x2)+parseInt(_0x509475(0x1a7))/0x3+-parseInt(_0x509475(0x1c0))/0x4+-parseInt(_0x509475(0x1bd))/0x5*(-parseInt(_0x509475(0x1b9))/0x6)+parseInt(_0x509475(0x1b5))/0x7*(-parseInt(_0x509475(0x1c9))/0x8)+-parseInt(_0x509475(0x1ab))/0x9*(-parseInt(_0x509475(0x1ad))/0xa)+-parseInt(_0x509475(0x1b2))/0xb;if(_0x18c7ce===_0x5cf910)break;else _0x8d5b0f['push'](_0x8d5b0f['shift']());}catch(_0x1777d9){_0x8d5b0f['push'](_0x8d5b0f['shift']());}}}(_0x12ed,0xf3fbd));import{Plugin as _0x3cf95f}from'ckeditor5/src/core.js';import _0x5eaa72 from'./comments/commentsediting.js';function _0x4ad0(_0x2b4236,_0x5d8cd1){const _0x12edc9=_0x12ed();return _0x4ad0=function(_0x4ad048,_0x44c68b){_0x4ad048=_0x4ad048-0x1a5;let _0x26e1d9=_0x12edc9[_0x4ad048];return _0x26e1d9;},_0x4ad0(_0x2b4236,_0x5d8cd1);}function _0x12ed(){const _0x2284ac=['get','27225sFCElj','plugins','370wPLPkx','stopListening','highest','clipboardInput','editor','9432456bNuqVI','requires','cut','6428324jLzWov','listenTo','commands','set','3682170afJVEQ','CommentsOnly','addCommentThread','config','15KoLCIc','afterInit','isEnabled','2800448HqtiOe','pluginName','DragDrop','delete','forceDisabled','document','commentsOnlyMode','2HnMzPi','change:isEnabled','8nDeiQx','617741QHOIhE','_disableCommentsOnlyMode','commentsOnly','has','clearForceDisabled','editing','affectsData','_enableCommentsOnlyMode','2713638ilzCCf','view','stop'];_0x12ed=function(){return _0x2284ac;};return _0x12ed();}export default class e extends _0x3cf95f{static get[_0x434937(0x1c1)](){const _0x422af6=_0x434937;return _0x422af6(0x1ba);}static get[_0x434937(0x1b3)](){return[_0x5eaa72];}constructor(_0x3604dd){const _0x4dfb0f=_0x434937;super(_0x3604dd),this[_0x4dfb0f(0x1b8)](_0x4dfb0f(0x1bf),!0x1),this['on'](_0x4dfb0f(0x1c8),(_0x5df293,_0x23c683,_0x3991f0)=>{const _0xd1de1a=_0x4dfb0f;_0x3991f0?this[_0xd1de1a(0x1a6)]():this[_0xd1de1a(0x1cb)]();});}[_0x434937(0x1be)](){const _0x51edb1=_0x434937;!this[_0x51edb1(0x1bf)]&&this[_0x51edb1(0x1b1)][_0x51edb1(0x1bc)][_0x51edb1(0x1aa)](_0x51edb1(0x1cc))&&(this[_0x51edb1(0x1bf)]=!0x0);}[_0x434937(0x1a6)](){const _0x5bd513=_0x434937;for(const [_0x4b3121,_0x3da74c]of this[_0x5bd513(0x1b1)][_0x5bd513(0x1b7)])_0x3da74c[_0x5bd513(0x1a5)]&&_0x5bd513(0x1bb)!==_0x4b3121&&_0x3da74c[_0x5bd513(0x1c4)](_0x5bd513(0x1c6));this[_0x5bd513(0x1b1)][_0x5bd513(0x1ac)][_0x5bd513(0x1cd)](_0x5bd513(0x1c2))&&this[_0x5bd513(0x1b1)][_0x5bd513(0x1ac)][_0x5bd513(0x1aa)](_0x5bd513(0x1c2))[_0x5bd513(0x1c4)](_0x5bd513(0x1c6));const _0x5c8d8f=this[_0x5bd513(0x1b1)][_0x5bd513(0x1cf)][_0x5bd513(0x1a8)][_0x5bd513(0x1c5)];this[_0x5bd513(0x1b6)](_0x5c8d8f,_0x5bd513(0x1b4),_0x174de3=>_0x174de3[_0x5bd513(0x1a9)](),{'priority':_0x5bd513(0x1af)}),this[_0x5bd513(0x1b6)](_0x5c8d8f,_0x5bd513(0x1b0),_0x4736c7=>_0x4736c7[_0x5bd513(0x1a9)](),{'priority':_0x5bd513(0x1af)}),this[_0x5bd513(0x1b6)](_0x5c8d8f,_0x5bd513(0x1c3),_0x33389b=>_0x33389b[_0x5bd513(0x1a9)](),{'priority':_0x5bd513(0x1af)});}[_0x434937(0x1cb)](){const _0x2c6411=_0x434937;for(const [_0x4aeaea,_0x38d6f3]of this[_0x2c6411(0x1b1)][_0x2c6411(0x1b7)])_0x38d6f3[_0x2c6411(0x1a5)]&&_0x2c6411(0x1bb)!==_0x4aeaea&&_0x38d6f3[_0x2c6411(0x1ce)](_0x2c6411(0x1c6));this[_0x2c6411(0x1ae)](this[_0x2c6411(0x1b1)][_0x2c6411(0x1cf)][_0x2c6411(0x1a8)][_0x2c6411(0x1c5)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x251cc6,_0x18545f){var _0x552a05=_0x4782,_0x55542f=_0x251cc6();while(!![]){try{var _0x2f6a9b=-parseInt(_0x552a05(0x196))/0x1*(parseInt(_0x552a05(0x192))/0x2)+-parseInt(_0x552a05(0x197))/0x3+-parseInt(_0x552a05(0x190))/0x4+parseInt(_0x552a05(0x199))/0x5+parseInt(_0x552a05(0x198))/0x6*(-parseInt(_0x552a05(0x195))/0x7)+-parseInt(_0x552a05(0x194))/0x8+parseInt(_0x552a05(0x193))/0x9*(parseInt(_0x552a05(0x191))/0xa);if(_0x2f6a9b===_0x18545f)break;else _0x55542f['push'](_0x55542f['shift']());}catch(_0x5e37ef){_0x55542f['push'](_0x55542f['shift']());}}}(_0x5611,0x5bcad));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';function _0x4782(_0x5441b6,_0x28db2b){var _0x5611f7=_0x5611();return _0x4782=function(_0x4782d3,_0x474796){_0x4782d3=_0x4782d3-0x190;var _0x371c56=_0x5611f7[_0x4782d3];return _0x371c56;},_0x4782(_0x5441b6,_0x28db2b);}export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';function _0x5611(){var _0x4a03a9=['7630371BKwlaL','6006776PCgSFb','35IxsbsQ','352479MBIoUW','2222346HgPpeG','868578CWNyfo','1750310nGrazi','1779820xrzlsG','40QOiMNA','4kqjOrr'];_0x5611=function(){return _0x4a03a9;};return _0x5611();}export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2ada62,_0x44fb55,_0x301755){const t=_0x2ada62['t'];switch(_0x44fb55){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'},_0x301755);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'},_0x301755);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'},_0x301755);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'},_0x301755);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x301755);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'},_0x301755);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'},_0x301755);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'},_0x301755);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(_0x52917a,_0xdab2f5){const _0x2474e1=_0x23a3,_0xc00ae4=_0x52917a();while(!![]){try{const _0x162012=parseInt(_0x2474e1(0x10b))/0x1+parseInt(_0x2474e1(0x10d))/0x2*(parseInt(_0x2474e1(0x10f))/0x3)+parseInt(_0x2474e1(0x109))/0x4*(-parseInt(_0x2474e1(0x101))/0x5)+parseInt(_0x2474e1(0x108))/0x6*(-parseInt(_0x2474e1(0x10a))/0x7)+parseInt(_0x2474e1(0x102))/0x8+parseInt(_0x2474e1(0x104))/0x9+parseInt(_0x2474e1(0xff))/0xa;if(_0x162012===_0xdab2f5)break;else _0xc00ae4['push'](_0xc00ae4['shift']());}catch(_0x2da275){_0xc00ae4['push'](_0xc00ae4['shift']());}}}(_0x3701,0x1eb1d));function _0x23a3(_0x33eb6b,_0x38c25b){const _0x3701dc=_0x3701();return _0x23a3=function(_0x23a3c6,_0x32a7bd){_0x23a3c6=_0x23a3c6-0xfe;let _0x19da73=_0x3701dc[_0x23a3c6];return _0x19da73;},_0x23a3(_0x33eb6b,_0x38c25b);}import{throttle as _0x1a6ff1}from'lodash-es';export default function Lt(_0x3113cc){const _0x398efd=_0x1a6ff1(_0x3113cc,0x1e),_0x4d7005=new MutationObserver(_0x50b6f8=>{const _0x13afcc=_0x23a3;for(const _0x35eb9e of _0x50b6f8)(_0x13afcc(0x106)==_0x35eb9e[_0x13afcc(0x110)]&&_0x13afcc(0x107)==_0x35eb9e[_0x13afcc(0x10e)]||_0x13afcc(0x103)==_0x35eb9e[_0x13afcc(0x110)]||_0x13afcc(0xfe)==_0x35eb9e[_0x13afcc(0x110)])&&_0x398efd();});return{'attach'(_0x263284){const _0x242366=_0x23a3;_0x4d7005[_0x242366(0x10c)](_0x263284,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x27bc52=_0x23a3;_0x4d7005[_0x27bc52(0x105)](),_0x398efd[_0x27bc52(0x100)]();}};}function _0x3701(){const _0x3950fa=['type','characterData','1006930iUvvmB','cancel','5coTclt','582688DzwznM','childList','297495bGSMnc','disconnect','attributes','class','12NZGgOT','529876pIlPLw','740705sozoZC','50320dfnFnk','observe','40vaCkPv','attributeName','31938IFNaGS'];_0x3701=function(){return _0x3950fa;};return _0x3701();}
|