@ckeditor/ckeditor5-comments 43.1.0-alpha.6 → 43.1.0-alpha.8
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
|
+
const _0x5c6891=_0x4e3c;(function(_0x149eb8,_0xe0d257){const _0x378930=_0x4e3c,_0x2d207d=_0x149eb8();while(!![]){try{const _0x30ddbc=-parseInt(_0x378930(0x1fc))/0x1*(parseInt(_0x378930(0x20b))/0x2)+-parseInt(_0x378930(0x20a))/0x3+parseInt(_0x378930(0x20d))/0x4*(-parseInt(_0x378930(0x21e))/0x5)+-parseInt(_0x378930(0x20c))/0x6*(parseInt(_0x378930(0x1f9))/0x7)+parseInt(_0x378930(0x1f5))/0x8*(parseInt(_0x378930(0x20e))/0x9)+parseInt(_0x378930(0x211))/0xa*(-parseInt(_0x378930(0x221))/0xb)+parseInt(_0x378930(0x20f))/0xc;if(_0x30ddbc===_0xe0d257)break;else _0x2d207d['push'](_0x2d207d['shift']());}catch(_0x30a29e){_0x2d207d['push'](_0x2d207d['shift']());}}}(_0xca44,0x8012a));import{View as _0x3b2810,FocusCycler as _0x31b9f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x21ed02}from'ckeditor5/src/utils.js';import{getTranslation as _0x255038}from'../../../utils/common-translations.js';export default class tt extends _0x3b2810{constructor(_0x1adaca,_0x43a3ad){const _0x26f147=_0x4e3c;super(_0x1adaca),this[_0x26f147(0x200)](_0x26f147(0x21c),!_0x43a3ad[_0x26f147(0x219)]),this[_0x26f147(0x206)]=new _0x21ed02(),this[_0x26f147(0x212)]=_0x43a3ad,this[_0x26f147(0x212)][_0x26f147(0x1f6)](_0x26f147(0x222),_0x26f147(0x201))['to'](this),this['on'](_0x26f147(0x222),()=>{const _0x482136=_0x26f147;this[_0x482136(0x209)][_0x482136(0x202)]();}),this['on'](_0x26f147(0x201),()=>{const _0x1728f=_0x26f147;this[_0x1728f(0x209)][_0x1728f(0x216)]();}),this[_0x26f147(0x209)]=new _0x31b9f({'focusables':_0x43a3ad,'focusTracker':this[_0x26f147(0x206)]}),this[_0x26f147(0x217)](_0x43a3ad,_0x26f147(0x218),()=>{const _0x44aee0=_0x26f147;this[_0x44aee0(0x21c)]=!0x1;}),this[_0x26f147(0x217)](_0x43a3ad,_0x26f147(0x204),(_0x15ab6b,_0x3e5227)=>{const _0x5c8ba2=_0x26f147;_0x3e5227[_0x5c8ba2(0x1fd)]&&this[_0x5c8ba2(0x21a)](),_0x43a3ad[_0x5c8ba2(0x219)]||(this[_0x5c8ba2(0x21c)]=!0x0);});const _0x13bd6c=this[_0x26f147(0x1fb)];this[_0x26f147(0x205)]({'tag':_0x26f147(0x1f7),'attributes':{'dir':_0x26f147(0x215),'class':['ck',_0x26f147(0x210)],'tabindex':-0x1,'role':_0x26f147(0x208),'aria-label':_0x255038(_0x1adaca,_0x26f147(0x203))},'children':[{'tag':_0x26f147(0x1f7),'attributes':{'class':[_0x26f147(0x220)],'role':_0x26f147(0x1f8)},'children':[{'tag':_0x26f147(0x1f7),'attributes':{'role':_0x26f147(0x1f8)},'children':_0x43a3ad},{'tag':'p','attributes':{'class':[_0x26f147(0x207),_0x13bd6c['if'](_0x26f147(0x21c),_0x26f147(0x21d),_0x1b86ec=>!_0x1b86ec)]},'children':[{'text':_0x255038(_0x1adaca,_0x26f147(0x21f))}]}]}]});}[_0x5c6891(0x214)](){const _0x118477=_0x5c6891;super[_0x118477(0x214)](),this[_0x118477(0x1f4)]();}[_0x5c6891(0x1ff)](){const _0x479677=_0x5c6891;super[_0x479677(0x1ff)](),this[_0x479677(0x206)][_0x479677(0x1ff)]();}[_0x5c6891(0x21a)](){const _0x45bcb9=_0x5c6891;this[_0x45bcb9(0x209)][_0x45bcb9(0x1fa)]?this[_0x45bcb9(0x209)][_0x45bcb9(0x213)]():this[_0x45bcb9(0x1fe)][_0x45bcb9(0x21a)]();}[_0x5c6891(0x1f4)](){const _0x4c2d7b=_0x5c6891;for(const _0x3261ee of this[_0x4c2d7b(0x212)])this[_0x4c2d7b(0x206)][_0x4c2d7b(0x218)](_0x3261ee[_0x4c2d7b(0x1fe)]);this[_0x4c2d7b(0x212)]['on'](_0x4c2d7b(0x21b),(_0x8fced5,{added:_0x1d419d,removed:_0x3c1802})=>{const _0xb03518=_0x4c2d7b;for(const _0x4745ee of _0x1d419d)this[_0xb03518(0x206)][_0xb03518(0x218)](_0x4745ee[_0xb03518(0x1fe)]);for(const _0xae4e31 of _0x3c1802)this[_0xb03518(0x206)][_0xb03518(0x204)](_0xae4e31[_0xb03518(0x1fe)]);});}}function _0x4e3c(_0x4a3188,_0x2b2fc9){const _0xca44e7=_0xca44();return _0x4e3c=function(_0x4e3c71,_0x20d234){_0x4e3c71=_0x4e3c71-0x1f4;let _0x18139d=_0xca44e7[_0x4e3c71];return _0x18139d;},_0x4e3c(_0x4a3188,_0x2b2fc9);}function _0xca44(){const _0x752976=['presentation','553UaoRvS','first','bindTemplate','9DXzbTs','isActive','element','destroy','set','arrowdown','focusPrevious','COMMENTS_ARCHIVE_LIST_LABEL','remove','setTemplate','focusTracker','ck-comments-archive__info','list','focusCycler','2878092JJnbVk','197388ZxPUAC','62268TdYeoi','9708aZFLTE','351045OUEphC','40194180dNDgRK','ck-comments-archive','10qVSMoa','_annotationViews','focusFirst','render','auto','focusNext','listenTo','add','length','focus','change','isEmpty','ck-hidden','1165DHIyRo','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive__content','6238001lwmlNn','arrowup','_setupKeyboardNavigation','200pDanrP','delegate','div'];_0xca44=function(){return _0x752976;};return _0xca44();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4ca40d=_0x2b76;function _0x2b76(_0x156fc3,_0x1da730){const _0x1fc0ea=_0x1fc0();return _0x2b76=function(_0x2b7676,_0x3b197c){_0x2b7676=_0x2b7676-0x1a9;let _0x14f0f4=_0x1fc0ea[_0x2b7676];return _0x14f0f4;},_0x2b76(_0x156fc3,_0x1da730);}(function(_0xcb52a9,_0x14aaf7){const _0x5b9751=_0x2b76,_0x6331f0=_0xcb52a9();while(!![]){try{const _0x524f09=-parseInt(_0x5b9751(0x1ba))/0x1*(-parseInt(_0x5b9751(0x1ad))/0x2)+-parseInt(_0x5b9751(0x1c5))/0x3*(-parseInt(_0x5b9751(0x205))/0x4)+parseInt(_0x5b9751(0x1b1))/0x5*(-parseInt(_0x5b9751(0x1f3))/0x6)+parseInt(_0x5b9751(0x1e3))/0x7*(parseInt(_0x5b9751(0x1e7))/0x8)+parseInt(_0x5b9751(0x1bd))/0x9*(parseInt(_0x5b9751(0x202))/0xa)+parseInt(_0x5b9751(0x1c7))/0xb+-parseInt(_0x5b9751(0x1b8))/0xc;if(_0x524f09===_0x14aaf7)break;else _0x6331f0['push'](_0x6331f0['shift']());}catch(_0x285956){_0x6331f0['push'](_0x6331f0['shift']());}}}(_0x1fc0,0x6c946));import{View as _0x4f940b,FocusCycler as _0x3d8dc9}from'ckeditor5/src/ui.js';import{diff as _0x2ee848,Collection as _0x1ed092,FocusTracker as _0x58da57,KeystrokeHandler as _0x4e1503}from'ckeditor5/src/utils.js';import{getTranslation as _0x768988}from'../../../utils/common-translations.js';function _0x1fc0(){const _0x2d1c48=['updateComment','5940011YhTAHD','_rearrangeCollapse','arrowdown','authoredAt','8QqOVoZ','stopListening','includes','length','from','_findOptimalIndex','visibleViews','added','locale','focusLast','reverse','change:isActive','378RvZxdt','removed','arrowup','_handleNewCommentModel','focusCycler','ck-thread__comments','createCollection','isActive','setTemplate','element','collapse','maxCommentsWhenCollapsed','bind','weight','ck-hidden','10apJGfh','delegate','focusTracker','4VwIysl','some','editorConfig','_calculatePosition','resolveCommentThread','change:hasDirtyComment','editorDestroyed','CommentView','insert','resolvedAt','_collapsedCommentsView','110ebmQEy','refreshVisibleViews','expand','map','61075ZAJAtX','commentUpdated','get','add','maxThreadTotalWeight','Marked\x20as\x20resolved','isEditMode','14100936IrbEMj','Thread\x20comments','4702TUcykz','hasDirtyComment','removeComment','3444435iiThSp','commentViews','forEach','formatDateTime','remove','_rearrangeExpand','_handleInfoComment','resolvedBy','407331uxxRxz','maxCommentCharsWhenCollapsed','8400590MdIpoD','_config','change:isEditMode','_handleRemoveCommentModel','delete','focusFirst','resolvedCommentView','render','count','set','editorReady','viewUid','change','_updateHasDirtyComment','listenTo','destroy','comments','_model','equal','keystrokes','_setupKeyboardNavigation','change:isResolved','resolved','focus','_shouldCollapse','bindTemplate','target'];_0x1fc0=function(){return _0x2d1c48;};return _0x1fc0();}import _0x104095 from'./collapsedcommentsview.js';export default class xt extends _0x4f940b{constructor(_0x3a51c1,_0x5b1504,_0x4bd0ac){const _0xb9b856=_0x2b76;super(_0x3a51c1);const _0x5e2996=this[_0xb9b856(0x1e0)];this[_0xb9b856(0x1d0)](_0xb9b856(0x1bb),!0x1),this[_0xb9b856(0x1d0)](_0xb9b856(0x1ea),_0x5b1504[_0xb9b856(0x1d7)][_0xb9b856(0x1ea)]),this[_0xb9b856(0x1d0)](_0xb9b856(0x1fa),!0x1),this[_0xb9b856(0x1d8)]=_0x5b1504,this[_0xb9b856(0x1c8)]=_0x4bd0ac,this[_0xb9b856(0x1be)]=this[_0xb9b856(0x1f9)](),this[_0xb9b856(0x1ed)]=this[_0xb9b856(0x1f9)](),this[_0xb9b856(0x1cd)]=null,this[_0xb9b856(0x204)]=new _0x58da57(),this[_0xb9b856(0x1da)]=new _0x4e1503(),this[_0xb9b856(0x1f7)]=new _0x3d8dc9({'focusables':this[_0xb9b856(0x1be)],'focusTracker':this[_0xb9b856(0x204)],'keystrokeHandler':this[_0xb9b856(0x1da)],'keystrokeHandlerOptions':{'filter':_0x3ac616=>this[_0xb9b856(0x1be)][_0xb9b856(0x1b0)](_0x25797e=>_0x25797e[_0xb9b856(0x1fc)])[_0xb9b856(0x1e9)](_0x3ac616[_0xb9b856(0x1e1)])},'actions':{'focusPrevious':_0xb9b856(0x1f5),'focusNext':_0xb9b856(0x1e5)}}),this[_0xb9b856(0x1ac)]=new _0x104095(_0x3a51c1),this[_0xb9b856(0x1ac)][_0xb9b856(0x1ff)](_0xb9b856(0x1cf))['to'](this,_0xb9b856(0x1ea),_0x27d0ef=>_0x27d0ef-this[_0xb9b856(0x1c8)][_0xb9b856(0x1fe)]);for(const _0x494b12 of _0x5b1504[_0xb9b856(0x1d7)])this[_0xb9b856(0x1f6)](_0x494b12);this[_0xb9b856(0x1c3)](),this[_0xb9b856(0x1d5)](_0x5b1504[_0xb9b856(0x1d7)],_0xb9b856(0x1b4),(_0x681927,_0x4468f)=>{const _0xebaddc=_0xb9b856,_0x29935d=this[_0xebaddc(0x208)](_0x4468f);this[_0xebaddc(0x1ea)]++,this[_0xebaddc(0x1f6)](_0x4468f,_0x29935d),this[_0xebaddc(0x1ae)]();}),this[_0xb9b856(0x1d5)](_0x5b1504[_0xb9b856(0x1d7)],_0xb9b856(0x1c1),(_0x5277be,_0xcf15fe)=>{const _0x47b7d0=_0xb9b856;this[_0x47b7d0(0x1ea)]--,this[_0x47b7d0(0x1ca)](_0xcf15fe),this[_0x47b7d0(0x1ae)]();}),this[_0xb9b856(0x1d5)](_0x5b1504,_0xb9b856(0x1b2),()=>this[_0xb9b856(0x1ae)]()),this[_0xb9b856(0x1d5)](_0x5b1504,_0xb9b856(0x1dc),()=>this[_0xb9b856(0x1c3)]()),this['on'](_0xb9b856(0x1f2),()=>this[_0xb9b856(0x1ae)]()),this['on'](_0xb9b856(0x20a),()=>this[_0xb9b856(0x1ae)]()),this[_0xb9b856(0x1fb)]({'tag':'ul','attributes':{'class':[_0xb9b856(0x1f8),_0x5e2996['if'](_0xb9b856(0x1ea),_0xb9b856(0x201),_0x3600e4=>!_0x3600e4)],'aria-label':_0x768988(_0x3a51c1,_0xb9b856(0x1b9))},'children':this[_0xb9b856(0x1ed)]});}get[_0x4ca40d(0x1df)](){const _0x3b8281=_0x4ca40d;return this[_0x3b8281(0x1d8)][_0x3b8281(0x200)]>this[_0x3b8281(0x1c8)][_0x3b8281(0x1b5)]&&!this[_0x3b8281(0x1fa)]&&!this[_0x3b8281(0x1bb)];}[_0x4ca40d(0x1ce)](){const _0x509c1f=_0x4ca40d;super[_0x509c1f(0x1ce)](),this[_0x509c1f(0x1ae)](),this[_0x509c1f(0x1db)]();}[_0x4ca40d(0x1de)](_0x3b375d){const _0x1793db=_0x4ca40d;-0x1===_0x3b375d?this[_0x1793db(0x1f7)][_0x1793db(0x1f0)]():this[_0x1793db(0x1f7)][_0x1793db(0x1cc)]();}[_0x4ca40d(0x1d6)](){const _0x5845a1=_0x4ca40d;this[_0x5845a1(0x1ac)][_0x5845a1(0x1d6)]();for(const _0x3e0387 of this[_0x5845a1(0x1be)])_0x3e0387[_0x5845a1(0x1d6)]();super[_0x5845a1(0x1d6)]();}[_0x4ca40d(0x1ae)](){const _0x40543b=_0x4ca40d;this[_0x40543b(0x1df)]?this[_0x40543b(0x1e4)]():this[_0x40543b(0x1c2)]();}[_0x4ca40d(0x1f6)](_0x55a1bb,_0x2f14cf){const _0x4e7d37=_0x4ca40d,_0x3ccf7f=new this[(_0x4e7d37(0x1c8))][(_0x4e7d37(0x1a9))](this[_0x4e7d37(0x1ef)],_0x55a1bb,{'maxCommentCharsWhenCollapsed':this[_0x4e7d37(0x1c8)][_0x4e7d37(0x1c6)],'formatDateTime':this[_0x4e7d37(0x1c8)][_0x4e7d37(0x1c0)],'editorConfig':this[_0x4e7d37(0x1c8)][_0x4e7d37(0x207)]});_0x3ccf7f[_0x4e7d37(0x1d2)]=_0x55a1bb['id'],_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x1bc))['to'](this),_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x1e2))['to'](this),_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x209))['to'](this),_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x1d1))['to'](this),_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x20b))['to'](this),this[_0x4e7d37(0x1d5)](_0x3ccf7f,_0x4e7d37(0x1c9),()=>this[_0x4e7d37(0x1d4)]()),this[_0x4e7d37(0x1be)][_0x4e7d37(0x1b4)](_0x3ccf7f,_0x2f14cf);}[_0x4ca40d(0x208)](_0x4a5801){const _0x3b405f=_0x4ca40d,_0x503e03=this[_0x3b405f(0x1d8)][_0x3b405f(0x1ec)](_0x4a5801);return this[_0x3b405f(0x1cd)]?this[_0x3b405f(0x1cd)][_0x3b405f(0x1e6)]>_0x4a5801[_0x3b405f(0x1e6)]?_0x503e03-0x1:_0x503e03:_0x503e03-0x1;}[_0x4ca40d(0x1c3)](){const _0x33580f=_0x4ca40d;if(this[_0x33580f(0x1d8)][_0x33580f(0x1c4)]&&this[_0x33580f(0x1d8)][_0x33580f(0x1ab)]){const _0x329154={'id':_0x33580f(0x1dd),'author':this[_0x33580f(0x1d8)][_0x33580f(0x1c4)],'authoredAt':this[_0x33580f(0x1d8)][_0x33580f(0x1ab)],'content':_0x768988(this[_0x33580f(0x1ef)],_0x33580f(0x1b6)),'attributes':{}};this[_0x33580f(0x1cd)]=new this[(_0x33580f(0x1c8))][(_0x33580f(0x1a9))](this[_0x33580f(0x1ef)],_0x329154,{'maxCommentCharsWhenCollapsed':this[_0x33580f(0x1c8)][_0x33580f(0x1c6)],'formatDateTime':this[_0x33580f(0x1c8)][_0x33580f(0x1c0)],'editorConfig':this[_0x33580f(0x1c8)][_0x33580f(0x207)],'isSystemComment':!0x0}),this[_0x33580f(0x1be)][_0x33580f(0x1b4)](this[_0x33580f(0x1cd)],this[_0x33580f(0x1d8)][_0x33580f(0x1ec)](_0x329154));}else this[_0x33580f(0x1cd)]&&(this[_0x33580f(0x1be)][_0x33580f(0x1c1)](this[_0x33580f(0x1cd)]),this[_0x33580f(0x1cd)][_0x33580f(0x1d6)](),this[_0x33580f(0x1cd)]=null);this[_0x33580f(0x1ae)]();}[_0x4ca40d(0x1ca)](_0x562ec5){const _0x16f544=_0x4ca40d,_0x641a48=this[_0x16f544(0x1be)][_0x16f544(0x1c1)](_0x562ec5['id']);this[_0x16f544(0x1e8)](_0x641a48),_0x641a48[_0x16f544(0x1b7)]&&this[_0x16f544(0x1d4)](),_0x641a48[_0x16f544(0x1d6)]();}[_0x4ca40d(0x1d4)](){const _0x411d15=_0x4ca40d;this[_0x411d15(0x1bb)]=Array[_0x411d15(0x1eb)](this[_0x411d15(0x1be)])[_0x411d15(0x206)](_0xe7231a=>_0xe7231a[_0x411d15(0x1b7)]);}[_0x4ca40d(0x1e4)](){const _0x2b5a3a=_0x4ca40d,_0x32d169=function(_0x1997a0){const _0x173e3b=_0x2b76,_0x4a8a44=new _0x1ed092();for(const _0x884483 of _0x1997a0)_0x4a8a44[_0x173e3b(0x1b4)](_0x884483);return _0x4a8a44;}(this[_0x2b5a3a(0x1be)]),_0x53e5b5=this[_0x2b5a3a(0x1ac)][_0x2b5a3a(0x1cf)];for(let _0x41e9a3=0x1;_0x41e9a3<=_0x53e5b5;_0x41e9a3++)_0x32d169[_0x2b5a3a(0x1c1)](0x1);for(const _0x5b90f7 of _0x32d169)_0x5b90f7[_0x2b5a3a(0x1fd)]();_0x53e5b5>0x0&&_0x32d169[_0x2b5a3a(0x1b4)](this[_0x2b5a3a(0x1ac)],0x1),ms(_0x2ee848(Array[_0x2b5a3a(0x1eb)](this[_0x2b5a3a(0x1ed)]),Array[_0x2b5a3a(0x1eb)](_0x32d169)),this[_0x2b5a3a(0x1ed)],_0x32d169);}[_0x4ca40d(0x1c2)](){const _0x1a803a=_0x4ca40d;ms(_0x2ee848(Array[_0x1a803a(0x1eb)](this[_0x1a803a(0x1ed)]),Array[_0x1a803a(0x1eb)](this[_0x1a803a(0x1be)])),this[_0x1a803a(0x1ed)],this[_0x1a803a(0x1be)]);for(const _0x2d9ff2 of this[_0x1a803a(0x1ed)])_0x2d9ff2[_0x1a803a(0x1af)]();}[_0x4ca40d(0x1db)](){const _0x571656=_0x4ca40d;this[_0x571656(0x1be)][_0x571656(0x1bf)](_0x32d48a=>{const _0x53f1ca=_0x571656;this[_0x53f1ca(0x204)][_0x53f1ca(0x1b4)](_0x32d48a[_0x53f1ca(0x1fc)]),this[_0x53f1ca(0x1da)][_0x53f1ca(0x1d5)](_0x32d48a[_0x53f1ca(0x1fc)]);}),this[_0x571656(0x1be)]['on'](_0x571656(0x1d3),(_0x479113,_0x17d28f)=>{const _0x460bff=_0x571656;for(const _0x118960 of _0x17d28f[_0x460bff(0x1f4)])this[_0x460bff(0x204)][_0x460bff(0x1c1)](_0x118960[_0x460bff(0x1fc)]),this[_0x460bff(0x1da)][_0x460bff(0x1e8)](_0x118960[_0x460bff(0x1fc)]);for(const _0x628c8d of Array[_0x460bff(0x1eb)](_0x17d28f[_0x460bff(0x1ee)])[_0x460bff(0x1f1)]())this[_0x460bff(0x204)][_0x460bff(0x1b4)](_0x628c8d[_0x460bff(0x1fc)]),this[_0x460bff(0x1da)][_0x460bff(0x1d5)](_0x628c8d[_0x460bff(0x1fc)]);});}}function ms(_0x490c6b,_0x4091f7,_0x48cd60){const _0x1e1a81=_0x4ca40d;let _0x59333f=0x0;for(const _0xbcfce8 of _0x490c6b)switch(_0xbcfce8){case _0x1e1a81(0x1aa):_0x4091f7[_0x1e1a81(0x1b4)](_0x48cd60[_0x1e1a81(0x1b3)](_0x59333f),_0x59333f),_0x59333f++;break;case _0x1e1a81(0x1cb):_0x4091f7[_0x1e1a81(0x1c1)](_0x59333f);break;case _0x1e1a81(0x1d9):_0x59333f++;}}
|
|
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++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2dc184=_0x5efa;function _0x215e(){const _0x354007=['focus','1506qiDyJQ','ck-context__value','1703585WLLQze','bindTemplate','setTemplate','12959464LesmjN','452876pYGTMH','contextValue','3ZptXVc','45269kCMCyg','THREAD_CONTEXT_LABEL','1279611MfZuir','17220906jfpWuZ','element','set','span','2745564hirkZH'];_0x215e=function(){return _0x354007;};return _0x215e();}function _0x5efa(_0x13c7f3,_0x5e592c){const _0x215e21=_0x215e();return _0x5efa=function(_0x5efa70,_0x1e42fc){_0x5efa70=_0x5efa70-0x130;let _0x40958d=_0x215e21[_0x5efa70];return _0x40958d;},_0x5efa(_0x13c7f3,_0x5e592c);}(function(_0x2e576a,_0x3c3b28){const _0x4daaca=_0x5efa,_0x450c31=_0x2e576a();while(!![]){try{const _0x12768b=parseInt(_0x4daaca(0x140))/0x1+parseInt(_0x4daaca(0x133))/0x2+parseInt(_0x4daaca(0x13d))/0x3*(-parseInt(_0x4daaca(0x13b))/0x4)+parseInt(_0x4daaca(0x137))/0x5+parseInt(_0x4daaca(0x135))/0x6*(parseInt(_0x4daaca(0x13e))/0x7)+-parseInt(_0x4daaca(0x13a))/0x8+-parseInt(_0x4daaca(0x141))/0x9;if(_0x12768b===_0x3c3b28)break;else _0x450c31['push'](_0x450c31['shift']());}catch(_0x65500a){_0x450c31['push'](_0x450c31['shift']());}}}(_0x215e,0xecc0d));import{View as _0xf48dce}from'ckeditor5/src/ui.js';import{getTranslation as _0x399768}from'../../../utils/common-translations.js';export default class ls extends _0xf48dce{constructor(_0x56f23b){const _0x1abc77=_0x5efa;super(_0x56f23b);const _0x33cf73=this[_0x1abc77(0x138)];this[_0x1abc77(0x131)](_0x1abc77(0x13c),''),this[_0x1abc77(0x139)]({'tag':_0x1abc77(0x132),'attributes':{'class':['ck',_0x1abc77(0x136)],'aria-label':_0x33cf73['to'](_0x1abc77(0x13c),_0x508f34=>_0x399768(_0x56f23b,_0x1abc77(0x13f),_0x508f34)),'tabindex':-0x1},'children':[{'text':_0x33cf73['to'](_0x1abc77(0x13c))}]});}[_0x2dc184(0x134)](){const _0x4f8ad9=_0x2dc184;this[_0x4f8ad9(0x130)][_0x4f8ad9(0x134)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1c5a(_0x517bb1,_0x1aeae1){const _0x21af90=_0x21af();return _0x1c5a=function(_0x1c5a51,_0x11f7eb){_0x1c5a51=_0x1c5a51-0x13f;let _0x120f3d=_0x21af90[_0x1c5a51];return _0x120f3d;},_0x1c5a(_0x517bb1,_0x1aeae1);}const _0x9bd71a=_0x1c5a;(function(_0x4348de,_0x111eef){const _0x121f59=_0x1c5a,_0x2d7b13=_0x4348de();while(!![]){try{const _0x177e69=parseInt(_0x121f59(0x14d))/0x1*(-parseInt(_0x121f59(0x142))/0x2)+-parseInt(_0x121f59(0x140))/0x3*(parseInt(_0x121f59(0x169))/0x4)+parseInt(_0x121f59(0x164))/0x5*(-parseInt(_0x121f59(0x16b))/0x6)+-parseInt(_0x121f59(0x16e))/0x7+parseInt(_0x121f59(0x13f))/0x8+-parseInt(_0x121f59(0x156))/0x9+-parseInt(_0x121f59(0x14a))/0xa*(-parseInt(_0x121f59(0x163))/0xb);if(_0x177e69===_0x111eef)break;else _0x2d7b13['push'](_0x2d7b13['shift']());}catch(_0x456e23){_0x2d7b13['push'](_0x2d7b13['shift']());}}}(_0x21af,0x6db97));import{View as _0x402a63,ButtonView as _0x7d3a50,FocusCycler as _0x5ad926}from'ckeditor5/src/ui.js';import{FocusTracker as _0x37ac2c,KeystrokeHandler as _0x48b684}from'ckeditor5/src/utils.js';import{getTranslation as _0x4a057f}from'../../../utils/common-translations.js';import _0x1f1a74 from'../../../../theme/icons/undo.svg';function _0x21af(){const _0xf24dcf=['.ck-context__value','render','lastIndexOf','locale','707113FcvWBo','5CayCyw','length','reopenButtonView','mouseleave','value','1282340ZnnjRZ','tab','3778620bniHGf','remove','ck-context--quotes','2322012rZMBoE','_attachContextActions','isResolved','Reopen','context','element','focusCycler','isResolvable','fire','add','ck-thread__header','label','bind','classList','listenTo','bindTemplate','icon','keystrokes','...','setTemplate','ck-context-wrapper','shift+tab','contextView','ck-context','substring','focus','624512dhEWch','6TJdmuX','focusables','1862FaxbSb','div','createCollection','isVisible','Comment\x20was\x20made\x20on\x20an\x20element','_createContextView','_model','focusFirst','420oYobyA','offsetWidth','querySelector','554hZfsQh','contextValue','isReadOnly','_setupKeyboardNavigation','_trimContextValue','scrollWidth','focusTracker','tooltip','execute','1890801yWfvMr','ck-annotation__actions','reopenCommentThread','overlay','isEnabled','_createReopenButton','hasContext','mouseenter','.ck-context'];_0x21af=function(){return _0xf24dcf;};return _0x21af();}import _0x2004c5 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x402a63{constructor(_0x4053d1,_0x2dffff){const _0x5b664d=_0x1c5a;super(_0x4053d1);const _0xe96503=this[_0x5b664d(0x17d)];this[_0x5b664d(0x148)]=_0x2dffff,this[_0x5b664d(0x166)]=this[_0x5b664d(0x15b)](),this[_0x5b664d(0x184)]=this[_0x5b664d(0x147)](),this[_0x5b664d(0x141)]=this[_0x5b664d(0x144)]([this[_0x5b664d(0x184)],this[_0x5b664d(0x166)]]),this[_0x5b664d(0x153)]=new _0x37ac2c(),this[_0x5b664d(0x17f)]=new _0x48b684(),this[_0x5b664d(0x174)]=new _0x5ad926({'focusables':this[_0x5b664d(0x141)],'focusTracker':this[_0x5b664d(0x153)],'keystrokeHandler':this[_0x5b664d(0x17f)],'actions':{'focusPrevious':_0x5b664d(0x183),'focusNext':_0x5b664d(0x16a)}}),this[_0x5b664d(0x17a)](_0x5b664d(0x15c))['to'](this[_0x5b664d(0x148)],_0x5b664d(0x172),_0x3cb7a2=>!!_0x3cb7a2),this[_0x5b664d(0x17a)](_0x5b664d(0x14e))['to'](this[_0x5b664d(0x148)],_0x5b664d(0x172),_0x322316=>_0x322316&&_0x322316[_0x5b664d(0x168)]?this[_0x5b664d(0x151)](_0x322316[_0x5b664d(0x168)]):_0x4a057f(this[_0x5b664d(0x162)],_0x5b664d(0x146))),this[_0x5b664d(0x181)]({'tag':_0x5b664d(0x143),'attributes':{'class':[_0x5b664d(0x178)]},'children':[{'tag':_0x5b664d(0x143),'attributes':{'class':[_0x5b664d(0x182)]},'children':[{'tag':_0x5b664d(0x143),'attributes':{'class':[_0x5b664d(0x185),_0xe96503['if'](_0x5b664d(0x15c),_0x5b664d(0x16d))]},'children':[this[_0x5b664d(0x184)]]}]},{'tag':_0x5b664d(0x143),'attributes':{'class':[_0x5b664d(0x157)]},'children':[this[_0x5b664d(0x166)]]}]});}[_0x9bd71a(0x160)](){const _0xc0105c=_0x9bd71a;super[_0xc0105c(0x160)](),this[_0xc0105c(0x16f)](),this[_0xc0105c(0x150)]();}[_0x9bd71a(0x187)](){const _0x42b027=_0x9bd71a;this[_0x42b027(0x174)][_0x42b027(0x149)]();}[_0x9bd71a(0x15b)](){const _0x3b55c5=_0x9bd71a,_0xdf3abb=new _0x7d3a50(this[_0x3b55c5(0x162)]);return _0xdf3abb[_0x3b55c5(0x179)]=_0x4a057f(this[_0x3b55c5(0x162)],_0x3b55c5(0x171)),_0xdf3abb[_0x3b55c5(0x154)]=_0x4a057f(this[_0x3b55c5(0x162)],_0x3b55c5(0x171)),_0xdf3abb[_0x3b55c5(0x17e)]=_0x1f1a74,_0xdf3abb[_0x3b55c5(0x17a)](_0x3b55c5(0x15a))['to'](this[_0x3b55c5(0x148)],_0x3b55c5(0x14f),_0x25311e=>!_0x25311e),_0xdf3abb[_0x3b55c5(0x17a)](_0x3b55c5(0x145))['to'](this[_0x3b55c5(0x148)],_0x3b55c5(0x175),this[_0x3b55c5(0x148)],_0x3b55c5(0x170),(_0x17842b,_0x298435)=>_0x17842b&&_0x298435),_0xdf3abb['on'](_0x3b55c5(0x155),()=>{const _0x492d84=_0x3b55c5;this[_0x492d84(0x176)](_0x492d84(0x158),this[_0x492d84(0x148)]['id']);}),_0xdf3abb;}[_0x9bd71a(0x151)](_0x5645da){const _0x4d4101=_0x9bd71a;if(_0x5645da[_0x4d4101(0x165)]<0x96)return _0x5645da;const _0x439f2a=_0x5645da[_0x4d4101(0x161)]('\x20',0x93);return _0x5645da[_0x4d4101(0x186)](0x0,_0x439f2a>-0x1?_0x439f2a:0x93)+_0x4d4101(0x180);}[_0x9bd71a(0x16f)](){const _0x31c649=_0x9bd71a,_0x59f55f=this[_0x31c649(0x173)][_0x31c649(0x14c)](_0x31c649(0x15e)),_0x1f7609=_0x59f55f[_0x31c649(0x14c)](_0x31c649(0x15f));this[_0x31c649(0x17c)](_0x59f55f,_0x31c649(0x15d),()=>{const _0x3ca04b=_0x31c649;_0x1f7609[_0x3ca04b(0x14b)]<_0x1f7609[_0x3ca04b(0x152)]&&_0x59f55f[_0x3ca04b(0x17b)][_0x3ca04b(0x177)](_0x3ca04b(0x159));}),this[_0x31c649(0x17c)](_0x59f55f,_0x31c649(0x167),()=>{const _0x3db9fc=_0x31c649;_0x59f55f[_0x3db9fc(0x17b)][_0x3db9fc(0x16c)](_0x3db9fc(0x159));});}[_0x9bd71a(0x150)](){const _0x11b29c=_0x9bd71a;this[_0x11b29c(0x17f)][_0x11b29c(0x17c)](this[_0x11b29c(0x173)]);for(const _0x5229d0 of this[_0x11b29c(0x141)])this[_0x11b29c(0x153)][_0x11b29c(0x177)](_0x5229d0[_0x11b29c(0x173)]),this[_0x11b29c(0x17f)][_0x11b29c(0x17c)](_0x5229d0[_0x11b29c(0x173)]);}[_0x9bd71a(0x147)](){const _0xc69b38=_0x9bd71a,_0x3f5c8b=new _0x2004c5(this[_0xc69b38(0x162)]);return _0x3f5c8b[_0xc69b38(0x17a)](_0xc69b38(0x14e))['to'](this),_0x3f5c8b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36743d=_0x293a;(function(_0x491de7,_0xf355d7){const _0x44d416=_0x293a,_0x11530f=_0x491de7();while(!![]){try{const _0x12173c=-parseInt(_0x44d416(0x20d))/0x1*(-parseInt(_0x44d416(0x202))/0x2)+parseInt(_0x44d416(0x205))/0x3*(parseInt(_0x44d416(0x218))/0x4)+-parseInt(_0x44d416(0x21a))/0x5*(parseInt(_0x44d416(0x207))/0x6)+parseInt(_0x44d416(0x20a))/0x7+parseInt(_0x44d416(0x21d))/0x8+-parseInt(_0x44d416(0x210))/0x9*(-parseInt(_0x44d416(0x21b))/0xa)+-parseInt(_0x44d416(0x1ff))/0xb;if(_0x12173c===_0xf355d7)break;else _0x11530f['push'](_0x11530f['shift']());}catch(_0x1997c7){_0x11530f['push'](_0x11530f['shift']());}}}(_0xc51a,0xe9a32));import{View as _0x2de1c1}from'ckeditor5/src/ui.js';import _0x818b7d from'./commentinputview.js';function _0xc51a(){const _0x3ed47f=['preventDefault','element','745759SaDwnd','getDomRoot','showInput','3660561sZqtwa','value','div','focusCycler','commentInputView','listenTo','ck-comment__input-container--active','focusTracker','217180vfpWDW','then','20nnZBcR','10vaMxuE','ck-thread__input','736144WygGMK','mousedown','createEditor','editor','change:showInput','extendTemplate','render','editing','_focusOnNonInteractiveMouseDown','delegate','some','setTemplate','ck-comment__input-container','showButtons','target','ck-thread__user','destroy','editorDestroyed','isFocused','userView','filter','23315897ppgprw','bind','set','2fZsxWR','contains','view','12FPJSsd','bindTemplate','28818MiXKXC','editorReady','focus','11438917fNgqAa'];_0xc51a=function(){return _0x3ed47f;};return _0xc51a();}import{UserView as _0x169100}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x293a(_0x518b06,_0x1b1500){const _0xc51a17=_0xc51a();return _0x293a=function(_0x293a72,_0x2e0d0b){_0x293a72=_0x293a72-0x1eb;let _0x171f71=_0xc51a17[_0x293a72];return _0x171f71;},_0x293a(_0x518b06,_0x1b1500);}export default class kt extends _0x2de1c1{constructor(_0x25a92c,_0x38d69f,_0x569bb3){const _0x46f7f9=_0x293a;super(_0x25a92c),this[_0x46f7f9(0x214)]=new _0x818b7d(_0x25a92c,_0x569bb3),this[_0x46f7f9(0x213)]=this[_0x46f7f9(0x214)][_0x46f7f9(0x213)],this[_0x46f7f9(0x214)][_0x46f7f9(0x200)](_0x46f7f9(0x1f7))['to'](this[_0x46f7f9(0x214)][_0x46f7f9(0x217)],_0x46f7f9(0x1fc),this[_0x46f7f9(0x214)],_0x46f7f9(0x211),(_0x5cc529,_0x557dac)=>_0x5cc529||!!_0x557dac),this[_0x46f7f9(0x201)](_0x46f7f9(0x20f),!0x1),this['on'](_0x46f7f9(0x1ee),()=>{const _0x2a634a=_0x46f7f9;this[_0x2a634a(0x20f)]&&!this[_0x2a634a(0x214)][_0x2a634a(0x1ed)]&&this[_0x2a634a(0x214)][_0x2a634a(0x1ec)]();}),this[_0x46f7f9(0x214)][_0x46f7f9(0x1f3)](_0x46f7f9(0x208))['to'](this),this[_0x46f7f9(0x214)][_0x46f7f9(0x1f3)](_0x46f7f9(0x1fb))['to'](this),this[_0x46f7f9(0x1fd)]=new _0x169100(_0x25a92c,_0x38d69f),this[_0x46f7f9(0x1fd)][_0x46f7f9(0x1ef)]({'attributes':{'class':_0x46f7f9(0x1f9),'aria-hidden':!0x0}}),this[_0x46f7f9(0x214)][_0x46f7f9(0x1ef)]({'attributes':{'class':_0x46f7f9(0x21c)}}),this[_0x46f7f9(0x1f5)]({'tag':_0x46f7f9(0x212),'attributes':{'class':[_0x46f7f9(0x1f6),this[_0x46f7f9(0x206)]['if'](_0x46f7f9(0x20f),_0x46f7f9(0x216))]},'children':[this[_0x46f7f9(0x1fd)],this[_0x46f7f9(0x214)]]});}[_0x36743d(0x1f0)](){const _0x5141a7=_0x36743d;super[_0x5141a7(0x1f0)](),this[_0x5141a7(0x1f2)]();}[_0x36743d(0x1fa)](){const _0x282a25=_0x36743d;return this[_0x282a25(0x214)][_0x282a25(0x1fa)]()[_0x282a25(0x219)](()=>super[_0x282a25(0x1fa)]());}[_0x36743d(0x209)](_0x5c9c59){const _0x1bdf75=_0x36743d;this[_0x1bdf75(0x214)][_0x1bdf75(0x209)](_0x5c9c59);}[_0x36743d(0x1f2)](){const _0x11c41f=_0x36743d;this[_0x11c41f(0x215)](this[_0x11c41f(0x20c)],_0x11c41f(0x1eb),(_0x2d256c,_0x22c246)=>{const _0x1e9980=_0x11c41f,{submitButtonView:_0x49a915,cancelButtonView:_0x1cd524,editor:_0x38e1cb}=this[_0x1e9980(0x214)];[_0x49a915[_0x1e9980(0x20c)],_0x1cd524[_0x1e9980(0x20c)],_0x38e1cb?_0x38e1cb[_0x1e9980(0x1f1)][_0x1e9980(0x204)][_0x1e9980(0x20e)]():null][_0x1e9980(0x1fe)](_0x3a6abe=>_0x3a6abe)[_0x1e9980(0x1f4)](_0x5566c7=>_0x5566c7[_0x1e9980(0x203)](_0x22c246[_0x1e9980(0x1f8)]))||(this[_0x1e9980(0x209)](),_0x22c246[_0x1e9980(0x20b)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1a083a=_0x5d29;function _0x12e7(){const _0x14639b=['has','unbind','Resolve','isActive','commentThreadChildren','bind','actionIndicator','change:isActive','placeholder','ck-thread__container','ariaLabel','label','render','getTemplate','ariaDescriptionView','containerElement','2044OpXrDo','extendTemplate','removeButton','execute','remove','Write\x20a\x20comment...','Delete\x20comment\x20thread?','icon','4623775nxLFEn','querySelector','ck-thread--','isResolvable','1348fUuLIp','_updateArchivedThreadHeader','commentThreadHeaderView','_createResolveButton','ck-thread','isUnlinked','isReadOnly','tooltip','set','commentsListView','div','focus','element','ck-thread--remove-confirmation','isConfirm','ck-comment--resolve','69747sIhhgh','setTemplate','isResolved','removeCommentThread','actionBar','commentThreadInputView','_cancelAllConfirms','_bindFirstCommentView','.ck-thread__container','isVisible','ck-thread--active','showConfirm','change:archivedAt','stop','listenTo','ck-rounded-corners','resolveCommentThread','high','124772YaGmqY','length','resolveButton','_boundFirstCommentView','focusables','5941840tuFPtl','cancelConfirm','removeConfirm','add','change:isReadOnly','1490utDfVD','then','ck-reset_all-excluded','locale','isSystemComment','get','fire','12202398mNmhhe','ck-thread--unlinked','check','31932WvejNZ','isEnabled','_model','commentViews','listitem','bindTemplate','archivedAt','createCollection'];_0x12e7=function(){return _0x14639b;};return _0x12e7();}(function(_0x897556,_0x90a12a){const _0x957f7b=_0x5d29,_0x176ecd=_0x897556();while(!![]){try{const _0x4b4541=parseInt(_0x957f7b(0x140))/0x1*(-parseInt(_0x957f7b(0x16c))/0x2)+parseInt(_0x957f7b(0x150))/0x3+-parseInt(_0x957f7b(0x162))/0x4+parseInt(_0x957f7b(0x13c))/0x5+-parseInt(_0x957f7b(0x176))/0x6*(-parseInt(_0x957f7b(0x134))/0x7)+parseInt(_0x957f7b(0x167))/0x8+-parseInt(_0x957f7b(0x173))/0x9;if(_0x4b4541===_0x90a12a)break;else _0x176ecd['push'](_0x176ecd['shift']());}catch(_0x32251f){_0x176ecd['push'](_0x176ecd['shift']());}}}(_0x12e7,0xd05eb));import{ConfirmMixin as _0x3c826f,LateFocusButtonView as _0x6f64d5}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0xdd2b63}from'ckeditor5/src/core.js';import _0x1623d1 from'./basecommentthreadview.js';function _0x5d29(_0x2043d0,_0x4e150){const _0x12e750=_0x12e7();return _0x5d29=function(_0x5d2978,_0x1385aa){_0x5d2978=_0x5d2978-0x11d;let _0x3cb28c=_0x12e750[_0x5d2978];return _0x3cb28c;},_0x5d29(_0x2043d0,_0x4e150);}import{getTranslation as _0x4173ae}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3c826f(_0x1623d1){constructor(_0x570088,_0x1c5e6a,_0x3913cb,_0x4fb3f1){const _0x3cf352=_0x5d29;super(_0x570088,_0x1c5e6a,_0x3913cb,_0x4fb3f1),this[_0x3cf352(0x128)]=this[_0x3cf352(0x123)]([this[_0x3cf352(0x149)],this[_0x3cf352(0x155)],this[_0x3cf352(0x132)]]),this[_0x3cf352(0x148)](_0x3cf352(0x12a),null),this[_0x3cf352(0x133)]=null,this[_0x3cf352(0x165)]=null,this[_0x3cf352(0x16f)]=_0x570088,this[_0x3cf352(0x164)]=this[_0x3cf352(0x143)](),this[_0x3cf352(0x151)](this[_0x3cf352(0x131)]()),this['on'](_0x3cf352(0x12b),(_0x3425b2,_0x5def8c,_0x3038ad)=>{const _0x4d0a7c=_0x3cf352;_0x3038ad||this[_0x4d0a7c(0x156)]();}),this[_0x3cf352(0x15e)](this[_0x3cf352(0x11e)],_0x3cf352(0x16b),(_0x2c5533,_0x1000c2,_0x474059)=>{const _0x5438e6=_0x3cf352;_0x474059&&this[_0x5438e6(0x156)]();}),this[_0x3cf352(0x163)]>0x0&&this[_0x3cf352(0x157)](),this[_0x3cf352(0x15e)](this[_0x3cf352(0x149)][_0x3cf352(0x11f)],_0x3cf352(0x16a),()=>{const _0x63c7fa=_0x3cf352;this[_0x63c7fa(0x157)]();});}[_0x1a083a(0x131)](){const _0xa3dd61=_0x1a083a,_0x17dbf9=this[_0xa3dd61(0x121)];return{'tag':_0xa3dd61(0x14a),'attributes':{'class':['ck',_0xa3dd61(0x144),_0xa3dd61(0x16e),_0xa3dd61(0x15f),_0x17dbf9['if'](_0xa3dd61(0x127),_0xa3dd61(0x15a)),_0x17dbf9['if'](_0xa3dd61(0x145),_0xa3dd61(0x174)),_0x17dbf9['if'](_0xa3dd61(0x14e),_0xa3dd61(0x14d)),_0x17dbf9['to'](_0xa3dd61(0x12a),_0x27f91f=>_0x27f91f?_0xa3dd61(0x13e)+_0x27f91f:'')],'data-thread-id':this[_0xa3dd61(0x11e)]['id'],'tabindex':0x0,'role':_0xa3dd61(0x120),'aria-label':_0x17dbf9['to'](_0xa3dd61(0x12e)),'aria-describedby':this[_0xa3dd61(0x132)]['id']},'children':[{'tag':_0xa3dd61(0x14a),'attributes':{'class':_0xa3dd61(0x12d)},'children':this[_0xa3dd61(0x128)]}]};}[_0x1a083a(0x130)](){const _0x192e6c=_0x1a083a;super[_0x192e6c(0x130)](),this[_0x192e6c(0x133)]=this[_0x192e6c(0x14c)][_0x192e6c(0x13d)](_0x192e6c(0x158)),this[_0x192e6c(0x11e)]['on'](_0x192e6c(0x15c),()=>{const _0x24aa13=_0x192e6c;this[_0x24aa13(0x141)]();}),this[_0x192e6c(0x141)]();}[_0x1a083a(0x156)](){const _0xd5a2ae=_0x1a083a;this[_0xd5a2ae(0x168)]();for(const _0xc60bed of this[_0xd5a2ae(0x149)][_0xd5a2ae(0x11f)])_0xc60bed[_0xd5a2ae(0x168)]();}[_0x1a083a(0x157)](){const _0x2272b0=_0x1a083a,{locale:_0x58e342}=this,_0x2ff44c=this[_0x2272b0(0x149)][_0x2272b0(0x11f)][_0x2272b0(0x171)](0x0);_0x2ff44c===this[_0x2272b0(0x165)]||_0x2ff44c[_0x2272b0(0x170)]||(this[_0x2272b0(0x165)]=_0x2ff44c,this[_0x2272b0(0x125)](_0x2272b0(0x12a)),this[_0x2272b0(0x129)](_0x2272b0(0x12a))['to'](_0x2ff44c,_0x2272b0(0x12a),_0x2b36c3=>_0x2272b0(0x138)===_0x2b36c3?_0x2272b0(0x138):null),_0x2ff44c[_0x2272b0(0x12c)]=_0x4173ae(_0x58e342,_0x2272b0(0x139)),_0x2ff44c[_0x2272b0(0x136)]['on'](_0x2272b0(0x137),_0x5760ce=>{const _0x1bad6e=_0x2272b0;_0x5760ce[_0x1bad6e(0x15d)](),this[_0x1bad6e(0x15b)](_0x4173ae(_0x58e342,_0x1bad6e(0x13a)),this[_0x1bad6e(0x133)])[_0x1bad6e(0x16d)](()=>{const _0x4bf19d=_0x1bad6e;this[_0x4bf19d(0x172)](_0x4bf19d(0x153));});},{'priority':_0x2272b0(0x161)}),this['on'](_0x2272b0(0x169),()=>{const _0x63905e=_0x2272b0;_0x2ff44c[_0x63905e(0x14b)]();}),_0x2ff44c[_0x2272b0(0x154)][_0x2272b0(0x16a)](this[_0x2272b0(0x164)],0x0),_0x2ff44c[_0x2272b0(0x166)][_0x2272b0(0x16a)](this[_0x2272b0(0x164)],0x0));}[_0x1a083a(0x143)](){const _0x14e3f7=_0x1a083a,_0xb1650e=new _0x6f64d5(this[_0x14e3f7(0x16f)]);return _0xb1650e[_0x14e3f7(0x12f)]=_0x4173ae(this[_0x14e3f7(0x16f)],_0x14e3f7(0x126)),_0xb1650e[_0x14e3f7(0x147)]=_0x4173ae(this[_0x14e3f7(0x16f)],_0x14e3f7(0x126)),_0xb1650e[_0x14e3f7(0x13b)]=_0xdd2b63[_0x14e3f7(0x175)],_0xb1650e[_0x14e3f7(0x135)]({'attributes':{'class':_0x14e3f7(0x14f)}}),_0xb1650e[_0x14e3f7(0x129)](_0x14e3f7(0x11d))['to'](this[_0x14e3f7(0x11e)],_0x14e3f7(0x146),_0x51915a=>!_0x51915a),_0xb1650e[_0x14e3f7(0x129)](_0x14e3f7(0x159))['to'](this[_0x14e3f7(0x11e)],_0x14e3f7(0x13f),this[_0x14e3f7(0x11e)],_0x14e3f7(0x152),(_0x208e5,_0xf4292e)=>_0x208e5&&!_0xf4292e),_0xb1650e['on'](_0x14e3f7(0x137),()=>{const _0x1e8b45=_0x14e3f7;this[_0x1e8b45(0x172)](_0x1e8b45(0x160),this[_0x1e8b45(0x11e)]['id']);}),_0xb1650e;}[_0x1a083a(0x141)](){const _0x3a3e44=_0x1a083a;this[_0x3a3e44(0x11e)][_0x3a3e44(0x122)]?this[_0x3a3e44(0x128)][_0x3a3e44(0x124)](this[_0x3a3e44(0x142)])||(this[_0x3a3e44(0x128)][_0x3a3e44(0x16a)](this[_0x3a3e44(0x142)],0x0),this[_0x3a3e44(0x166)][_0x3a3e44(0x16a)](this[_0x3a3e44(0x142)],0x0)):this[_0x3a3e44(0x128)][_0x3a3e44(0x124)](this[_0x3a3e44(0x142)])&&(this[_0x3a3e44(0x128)][_0x3a3e44(0x138)](this[_0x3a3e44(0x142)]),this[_0x3a3e44(0x166)][_0x3a3e44(0x138)](this[_0x3a3e44(0x142)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x268d36=_0x49d1;(function(_0x116fce,_0x1f5ec8){const _0x3c9dd4=_0x49d1,_0x46b3dc=_0x116fce();while(!![]){try{const _0x3c0542=-parseInt(_0x3c9dd4(0x9c))/0x1*(parseInt(_0x3c9dd4(0xe0))/0x2)+parseInt(_0x3c9dd4(0xb8))/0x3+parseInt(_0x3c9dd4(0xd9))/0x4*(parseInt(_0x3c9dd4(0xc9))/0x5)+parseInt(_0x3c9dd4(0xd5))/0x6+parseInt(_0x3c9dd4(0xde))/0x7*(parseInt(_0x3c9dd4(0xe8))/0x8)+parseInt(_0x3c9dd4(0xdb))/0x9*(parseInt(_0x3c9dd4(0xce))/0xa)+-parseInt(_0x3c9dd4(0xf9))/0xb*(parseInt(_0x3c9dd4(0x86))/0xc);if(_0x3c0542===_0x1f5ec8)break;else _0x46b3dc['push'](_0x46b3dc['shift']());}catch(_0x4ad1a9){_0x46b3dc['push'](_0x46b3dc['shift']());}}}(_0x1c00,0x6ee83));import{ButtonView as _0x15b1af,createDropdown as _0x93d5f2,ListView as _0x249600,ListItemView as _0x529f49,focusChildOnDropdownOpen as _0x272ef9}from'ckeditor5/src/ui.js';function _0x1c00(){const _0x3c0092=['render','ck-annotation__actions--hidden','_createDropdown','mouseleave','time','push','resolvedAt','author','icon','getUserViewNotificationText','div','379473jMyOmx','unbind','ck-annotation__main','length','ck-hidden','then','change:isRemovable','some','Delete\x20comment?','ck-comment__info','Reply...','ck-comment__user','setTemplate','getTemplate','remove','buttonView','addMany','_createEditButton','ariaDescriptionView','group','isReadOnly','isConfirm','ck-comment--remove','ck-annotation__user','ck-annotation','edit','label','name','783408ffgiFN','ck-comment--','focusables','pencil','ck-comment--edit','cancelConfirm','ck-comment__wrapper','children','ariaLabel','extendTemplate','_model','_createRemoveButton','ck-comment__external','createCollection','ck-annotation__info','bind','find','465TCtiEO','Remove','formatDateTime','ck-comment__actions','items','470RzObnH','mouseenter','switchToEditMode','isEditable','ck-comment__info-time','toMany','focus','2203650uPesSi','span','visibleView','_config','6184Icdphu','panelView','37809LYnRlV','actionBar','fire','332262gUxCmk','listitem','2cGHIoa','ck-comment__main','_attachActions','isVisible','panelPosition','dropdown','removeComment','isExternal','8zbYAnf','execute','getExternalCommentNote','withText','ck-comment--remove-confirmation','editButton','add','listenTo','ck-annotation__content-wrapper','from','threeVerticalDots','ck-comment--info','set','ck-comment__actions--hidden','ck-annotation__actions','removeButton','Edit','66MLNvdV','locale','Show\x20more\x20items','blur','isSystemComment','isRemovable','ck-comment__info-name','ck-annotation__info-name','authoredAt','bindTemplate','366708CucDDM','ck-annotation__info-time','element','ck-comment','isEnabled','placeholder','actionIndicator','userView','isEditMode','showConfirm','_createCommentInputView'];_0x1c00=function(){return _0x3c0092;};return _0x1c00();}import{icons as _0x35e4cd}from'ckeditor5/src/core.js';function _0x49d1(_0x3c6ce5,_0x591ea0){const _0x1c0018=_0x1c00();return _0x49d1=function(_0x49d1be,_0x4a7584){_0x49d1be=_0x49d1be-0x84;let _0x49ce90=_0x1c0018[_0x49d1be];return _0x49ce90;},_0x49d1(_0x3c6ce5,_0x591ea0);}import{UserView as _0x957675,ConfirmMixin as _0x2c4658,LateFocusDropdownButtonView as _0x2f99cf}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2252c2 from'./basecommentview.js';import _0x18688f from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x6442c9}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2c4658(_0x2252c2){constructor(_0x250500,_0x43a189,_0x3043fe){const _0x2adf7b=_0x49d1;super(_0x250500,_0x43a189,_0x3043fe),this[_0x2adf7b(0xf4)](_0x2adf7b(0x8c),null),this[_0x2adf7b(0xf4)](_0x2adf7b(0x8b),_0x6442c9(_0x250500,_0x2adf7b(0xa6))),this[_0x2adf7b(0xc7)](_0x2adf7b(0x84))['to'](_0x43a189),this[_0x2adf7b(0xc7)](_0x2adf7b(0x97))['to'](_0x43a189),this[_0x2adf7b(0xdc)]=this[_0x2adf7b(0xc5)](),this[_0x2adf7b(0xfd)]||(this[_0x2adf7b(0xed)]=this[_0x2adf7b(0xad)](),this[_0x2adf7b(0xf7)]=this[_0x2adf7b(0xc3)](),this[_0x2adf7b(0xcd)]=this[_0x2adf7b(0xc5)](),this[_0x2adf7b(0xcd)][_0x2adf7b(0xac)]([this[_0x2adf7b(0xed)],this[_0x2adf7b(0xf7)]]),this[_0x2adf7b(0xe5)]=this[_0x2adf7b(0x93)](),this[_0x2adf7b(0xdc)][_0x2adf7b(0xee)](this[_0x2adf7b(0xe5)]),this[_0x2adf7b(0xba)][_0x2adf7b(0xee)](this[_0x2adf7b(0xe5)])),this[_0x2adf7b(0x8d)]=new _0x957675(_0x250500,_0x43a189[_0x2adf7b(0x98)],this[_0x2adf7b(0x9a)]()),this[_0x2adf7b(0x8d)][_0x2adf7b(0xc1)]({'attributes':{'class':[_0x2adf7b(0xa7),_0x2adf7b(0xb3)],'aria-hidden':!0x0}}),this[_0x2adf7b(0xef)](_0x43a189,_0x2adf7b(0xa2),()=>this[_0x2adf7b(0xbd)]()),this[_0x2adf7b(0xa8)](this[_0x2adf7b(0xa9)]());}[_0x268d36(0xa9)](){const _0x2fe0fb=_0x268d36,_0x46849d=this[_0x2fe0fb(0x85)],_0x6270a1=[{'tag':_0x2fe0fb(0x9b),'attributes':{'class':[_0x2fe0fb(0xa5),_0x2fe0fb(0xc6)]},'children':[{'tag':_0x2fe0fb(0xd6),'children':[{'text':this[_0x2fe0fb(0x8d)][_0x2fe0fb(0xb7)]}],'attributes':{'class':[_0x2fe0fb(0xff),_0x2fe0fb(0x100)]}},{'tag':_0x2fe0fb(0x95),'attributes':{'datetime':_0x46849d['to'](_0x2fe0fb(0x84)),'class':[_0x2fe0fb(0xd2),_0x2fe0fb(0x87)]},'children':[{'text':_0x46849d['to'](_0x2fe0fb(0x84),_0x44f48e=>this[_0x2fe0fb(0xd8)][_0x2fe0fb(0xcb)](_0x44f48e))}]}]},{'tag':_0x2fe0fb(0x9b),'attributes':{'class':[_0x2fe0fb(0xcc),_0x2fe0fb(0xf6),_0x46849d['if'](_0x2fe0fb(0x8e),_0x2fe0fb(0xf5)),_0x46849d['if'](_0x2fe0fb(0x8e),_0x2fe0fb(0x92))]},'children':this[_0x2fe0fb(0xdc)]},{'tag':_0x2fe0fb(0x9b),'attributes':{'class':[_0x2fe0fb(0xf0)]},'children':this[_0x2fe0fb(0xd7)]},this[_0x2fe0fb(0xae)]];return this[_0x2fe0fb(0xc2)][_0x2fe0fb(0xe7)]&&_0x6270a1[_0x2fe0fb(0x96)]({'tag':_0x2fe0fb(0x9b),'attributes':{'class':[_0x2fe0fb(0xc4)]},'children':[{'text':this[_0x2fe0fb(0xea)]()}]}),{'tag':'li','attributes':{'class':[_0x2fe0fb(0xbe),_0x46849d['if'](_0x2fe0fb(0xb1),_0x2fe0fb(0xec))],'tabindex':-0x1,'aria-label':_0x46849d['to'](_0x2fe0fb(0xc0)),'aria-describedby':this[_0x2fe0fb(0xae)]['id'],'role':_0x2fe0fb(0xdf)},'children':[{'tag':_0x2fe0fb(0x9b),'attributes':{'class':[_0x2fe0fb(0x89),_0x2fe0fb(0xb4),_0x46849d['if'](_0x2fe0fb(0x8e),_0x2fe0fb(0xbc)),_0x46849d['if'](_0x2fe0fb(0xfd),_0x2fe0fb(0xf3)),_0x46849d['to'](_0x2fe0fb(0x8c),_0x37fce6=>_0x37fce6?_0x2fe0fb(0xb9)+_0x37fce6:'')],'data-author-id':this[_0x2fe0fb(0xc2)][_0x2fe0fb(0x98)]['id'],'data-comment-id':this[_0x2fe0fb(0xc2)]['id'],'role':_0x2fe0fb(0xaf)},'children':[this[_0x2fe0fb(0x8d)],{'tag':_0x2fe0fb(0x9b),'attributes':{'class':[_0x2fe0fb(0xe1),_0x2fe0fb(0x9e)]},'children':_0x6270a1}]}]};}[_0x268d36(0xad)](){const _0x449b93=_0x268d36,_0x597c04=new _0x15b1af(this[_0x449b93(0xfa)]);return _0x597c04[_0x449b93(0xb6)]=_0x6442c9(this[_0x449b93(0xfa)],_0x449b93(0xf8)),_0x597c04[_0x449b93(0x99)]=_0x35e4cd[_0x449b93(0xbb)],_0x597c04[_0x449b93(0xeb)]=!0x0,_0x597c04[_0x449b93(0xc1)]({'attributes':{'class':_0x449b93(0xbc)}}),_0x597c04[_0x449b93(0xc7)](_0x449b93(0x8a))['to'](this[_0x449b93(0xc2)],_0x449b93(0xb0),_0x3482de=>!_0x3482de),_0x597c04[_0x449b93(0xc7)](_0x449b93(0xe3))['to'](this[_0x449b93(0xc2)],_0x449b93(0xd1)),_0x597c04['on'](_0x449b93(0xe9),()=>this[_0x449b93(0xd0)]()),_0x597c04;}[_0x268d36(0xc3)](){const _0x4e5999=_0x268d36,_0x446bc4=new _0x15b1af(this[_0x4e5999(0xfa)]);return _0x446bc4[_0x4e5999(0xb6)]=_0x6442c9(this[_0x4e5999(0xfa)],_0x4e5999(0xca)),_0x446bc4[_0x4e5999(0x99)]=_0x18688f,_0x446bc4[_0x4e5999(0xeb)]=!0x0,_0x446bc4[_0x4e5999(0xc1)]({'attributes':{'class':_0x4e5999(0xb2)}}),_0x446bc4[_0x4e5999(0xc7)](_0x4e5999(0x8a))['to'](this[_0x4e5999(0xc2)],_0x4e5999(0xb0),_0x1214f0=>!_0x1214f0),_0x446bc4[_0x4e5999(0xc7)](_0x4e5999(0xe3))['to'](this[_0x4e5999(0xc2)],_0x4e5999(0xfe)),_0x446bc4['on'](_0x4e5999(0xe9),()=>{const _0x340e40=_0x4e5999;this[_0x340e40(0x8f)](_0x6442c9(this[_0x340e40(0xfa)],_0x340e40(0xa4)),this[_0x340e40(0x88)])[_0x340e40(0xa1)](()=>{const _0x17d3c0=_0x340e40;this[_0x17d3c0(0xdd)](_0x17d3c0(0xe6),this[_0x17d3c0(0xc2)]['id']);});}),_0x446bc4;}[_0x268d36(0x93)](){const _0x36ccc7=_0x268d36,_0x539dd9=_0x93d5f2(this[_0x36ccc7(0xfa)],_0x2f99cf),_0x37c233=_0x539dd9[_0x36ccc7(0xda)][_0x36ccc7(0xbf)],_0x5c26c9=new _0x249600(this[_0x36ccc7(0xfa)]),_0x2bd89b=_0x539dd9[_0x36ccc7(0x85)];_0x272ef9(_0x539dd9,()=>this[_0x36ccc7(0xcd)][_0x36ccc7(0xc8)](_0x17f51d=>_0x17f51d[_0x36ccc7(0xe3)])),_0x539dd9[_0x36ccc7(0xc1)]({'attributes':{'class':[_0x2bd89b['if'](_0x36ccc7(0xe3),_0x36ccc7(0xa0),_0x2e553e=>!_0x2e553e)]}});const _0x208f21=(_0x57bc88,_0x1914f6=-0x1)=>{const _0x1586fa=_0x36ccc7,_0x284508=new _0x529f49(this[_0x1586fa(0xfa)]);_0x284508[_0x1586fa(0xbf)][_0x1586fa(0xee)](_0x57bc88);const _0x1b4653=_0x1914f6>-0x1?_0x1914f6:_0x5c26c9[_0x1586fa(0xcd)][_0x1586fa(0x9f)];_0x5c26c9[_0x1586fa(0xcd)][_0x1586fa(0xee)](_0x284508,_0x1b4653);const _0x412457=Array[_0x1586fa(0xf1)](this[_0x1586fa(0xcd)]);_0x539dd9[_0x1586fa(0x9d)](_0x1586fa(0x8a),_0x1586fa(0xe3)),_0x539dd9[_0x1586fa(0xc7)](_0x1586fa(0x8a))[_0x1586fa(0xd3)](_0x412457,_0x1586fa(0x8a),(..._0x2b63f1)=>_0x2b63f1[_0x1586fa(0xa3)](_0x11ed83=>_0x11ed83)),_0x539dd9[_0x1586fa(0xc7)](_0x1586fa(0xe3))[_0x1586fa(0xd3)](_0x412457,_0x1586fa(0xe3),(..._0x440e38)=>_0x440e38[_0x1586fa(0xa3)](_0x2c68d7=>_0x2c68d7));};_0x539dd9[_0x36ccc7(0xe4)]='sw',_0x539dd9[_0x36ccc7(0xab)][_0x36ccc7(0xf4)]({'label':_0x6442c9(this[_0x36ccc7(0xfa)],_0x36ccc7(0xfb)),'icon':_0x35e4cd[_0x36ccc7(0xf2)]}),_0x539dd9[_0x36ccc7(0x8a)]=[...this[_0x36ccc7(0xcd)]][_0x36ccc7(0xa3)](_0x2c613b=>_0x2c613b[_0x36ccc7(0x8a)]),_0x539dd9[_0x36ccc7(0xab)][_0x36ccc7(0xe3)]=[...this[_0x36ccc7(0xcd)]][_0x36ccc7(0xa3)](_0xd799ff=>_0xd799ff[_0x36ccc7(0xe3)]);for(const _0x5d4728 of this[_0x36ccc7(0xcd)])_0x208f21(_0x5d4728);return _0x37c233[_0x36ccc7(0xee)](_0x5c26c9),_0x539dd9[_0x36ccc7(0xef)](this[_0x36ccc7(0xcd)],_0x36ccc7(0xee),(_0x1b1304,_0xfb8cac,_0x38a0df)=>{_0x208f21(_0xfb8cac,_0x38a0df);}),_0x539dd9[_0x36ccc7(0xef)](this[_0x36ccc7(0xcd)],_0x36ccc7(0xaa),(_0x5b914d,_0x96b8a6,_0xaf196b)=>{const _0xa235a=_0x36ccc7;_0x5c26c9[_0xa235a(0xcd)][_0xa235a(0xaa)](_0xaf196b);}),_0x539dd9;}[_0x268d36(0xe2)](_0xfc97b3,_0x2c2db8){const _0x306f5c=_0x268d36,_0x4b6d24=_0xfc97b3&&_0xfc97b3[_0x306f5c(0x88)];_0x4b6d24&&(this[_0x306f5c(0xef)](_0x4b6d24,_0x306f5c(0xcf),()=>this[_0x306f5c(0x8c)]=_0x2c2db8),this[_0x306f5c(0xef)](_0x4b6d24,_0x306f5c(0xd4),()=>this[_0x306f5c(0x8c)]=_0x2c2db8),this[_0x306f5c(0xef)](_0x4b6d24,_0x306f5c(0x94),()=>this[_0x306f5c(0x8c)]=null),this[_0x306f5c(0xef)](_0x4b6d24,_0x306f5c(0xfc),()=>this[_0x306f5c(0x8c)]=null));}[_0x268d36(0x90)](){const _0x30aa88=_0x268d36,_0x29d522=super[_0x30aa88(0x90)]();return _0x29d522[_0x30aa88(0xc7)](_0x30aa88(0x8b))['to'](this),_0x29d522;}[_0x268d36(0x91)](){const _0x5d2795=_0x268d36;super[_0x5d2795(0x91)](),this[_0x5d2795(0xe2)](this[_0x5d2795(0xed)],_0x5d2795(0xb5)),this[_0x5d2795(0xe2)](this[_0x5d2795(0xf7)],_0x5d2795(0xaa));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2c7f6d=_0x2272;(function(_0x16bf64,_0x2ec2be){var _0x2d7ace=_0x2272,_0x3f042b=_0x16bf64();while(!![]){try{var _0x55becb=parseInt(_0x2d7ace(0x184))/0x1+-parseInt(_0x2d7ace(0x17d))/0x2+-parseInt(_0x2d7ace(0x17a))/0x3*(parseInt(_0x2d7ace(0x17e))/0x4)+parseInt(_0x2d7ace(0x17f))/0x5*(parseInt(_0x2d7ace(0x182))/0x6)+parseInt(_0x2d7ace(0x186))/0x7+-parseInt(_0x2d7ace(0x185))/0x8*(parseInt(_0x2d7ace(0x181))/0x9)+-parseInt(_0x2d7ace(0x180))/0xa;if(_0x55becb===_0x2ec2be)break;else _0x3f042b['push'](_0x3f042b['shift']());}catch(_0xac4797){_0x3f042b['push'](_0x3f042b['shift']());}}}(_0x4aa0,0xdca34));function _0x2272(_0x1e2a5d,_0x300eca){var _0x4aa0b2=_0x4aa0();return _0x2272=function(_0x227214,_0x40942c){_0x227214=_0x227214-0x17a;var _0x3f336e=_0x4aa0b2[_0x227214];return _0x3f336e;},_0x2272(_0x1e2a5d,_0x300eca);}import{Plugin as _0x2176f4}from'ckeditor5/src/core.js';import _0x5005f8 from'./comments/commentsrepository.js';import _0x8e3494 from'./comments/commentsediting.js';import _0x36b265 from'./comments/commentsui.js';import _0x302fd6 from'./commentsonly.js';import _0x42f880 from'./annotations/widesidebar.js';import _0x2d663d from'./annotations/narrowsidebar.js';import _0x529b66 from'./annotations/inlineannotations.js';import _0x4f6d52 from'./comments/commentsarchiveui.js';import _0x68d907 from'./comments/commentsarchive.js';function _0x4aa0(){var _0x556d4f=['6LVbjzD','Comments','1667910nvFXyf','280dIoLgP','12460847pTUhsc','93TjJyLo','pluginName','requires','2670868jXBBaq','111688xCCmeY','657535AJclSM','1266450TPIZFY','89523wktXGt'];_0x4aa0=function(){return _0x556d4f;};return _0x4aa0();}export default class f extends _0x2176f4{static get[_0x2c7f6d(0x17c)](){return[_0x5005f8,_0x8e3494,_0x36b265,_0x68d907,_0x4f6d52,_0x302fd6,_0x42f880,_0x2d663d,_0x529b66];}static get[_0x2c7f6d(0x17b)](){var _0x35d151=_0x2c7f6d;return _0x35d151(0x183);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x470501=_0x1736;(function(_0x1e3530,_0x333a38){const _0x1691e9=_0x1736,_0x4652b6=_0x1e3530();while(!![]){try{const _0xd4c032=-parseInt(_0x1691e9(0xc0))/0x1*(parseInt(_0x1691e9(0xcf))/0x2)+-parseInt(_0x1691e9(0xd9))/0x3+parseInt(_0x1691e9(0xb7))/0x4+-parseInt(_0x1691e9(0xc2))/0x5+-parseInt(_0x1691e9(0xb8))/0x6*(-parseInt(_0x1691e9(0xda))/0x7)+-parseInt(_0x1691e9(0xd0))/0x8*(parseInt(_0x1691e9(0xce))/0x9)+parseInt(_0x1691e9(0xdd))/0xa;if(_0xd4c032===_0x333a38)break;else _0x4652b6['push'](_0x4652b6['shift']());}catch(_0x1ad818){_0x4652b6['push'](_0x4652b6['shift']());}}}(_0x5d6f,0xd6cd5));function _0x5d6f(){const _0x5c6d33=['1154619LEZryc','2372734oUCHxt','104gJoCCH','set','has','plugins','_enableCommentsOnlyMode','CommentsOnly','editing','change:isEnabled','stopListening','3320178GRkHEv','4416433GBxatC','delete','affectsData','46110280DVhDBb','clearForceDisabled','afterInit','highest','5408004dMCHml','6nXMmhv','requires','_disableCommentsOnlyMode','isEnabled','commentsOnlyMode','stop','view','config','1dwGiCa','cut','8766215HClxVq','listenTo','get','commentsOnly','DragDrop','clipboardInput','forceDisabled','editor','commands','document','addCommentThread','pluginName'];_0x5d6f=function(){return _0x5c6d33;};return _0x5d6f();}function _0x1736(_0x549120,_0x576639){const _0x5d6f71=_0x5d6f();return _0x1736=function(_0x1736ec,_0x1142d3){_0x1736ec=_0x1736ec-0xb6;let _0x5ac970=_0x5d6f71[_0x1736ec];return _0x5ac970;},_0x1736(_0x549120,_0x576639);}import{Plugin as _0x4ff4a3}from'ckeditor5/src/core.js';import _0x40da21 from'./comments/commentsediting.js';export default class e extends _0x4ff4a3{static get[_0x470501(0xcd)](){const _0x3ceb6f=_0x470501;return _0x3ceb6f(0xd5);}static get[_0x470501(0xb9)](){return[_0x40da21];}constructor(_0x3d720b){const _0x230202=_0x470501;super(_0x3d720b),this[_0x230202(0xd1)](_0x230202(0xbb),!0x1),this['on'](_0x230202(0xd7),(_0xf4f641,_0x393d8f,_0xc38c46)=>{const _0xac9ad0=_0x230202;_0xc38c46?this[_0xac9ad0(0xd4)]():this[_0xac9ad0(0xba)]();});}[_0x470501(0xdf)](){const _0x4b975d=_0x470501;!this[_0x4b975d(0xbb)]&&this[_0x4b975d(0xc9)][_0x4b975d(0xbf)][_0x4b975d(0xc4)](_0x4b975d(0xc5))&&(this[_0x4b975d(0xbb)]=!0x0);}[_0x470501(0xd4)](){const _0x37dd2c=_0x470501;for(const [_0x4f50f7,_0x403ff4]of this[_0x37dd2c(0xc9)][_0x37dd2c(0xca)])_0x403ff4[_0x37dd2c(0xdc)]&&_0x37dd2c(0xcc)!==_0x4f50f7&&_0x403ff4[_0x37dd2c(0xc8)](_0x37dd2c(0xbc));this[_0x37dd2c(0xc9)][_0x37dd2c(0xd3)][_0x37dd2c(0xd2)](_0x37dd2c(0xc6))&&this[_0x37dd2c(0xc9)][_0x37dd2c(0xd3)][_0x37dd2c(0xc4)](_0x37dd2c(0xc6))[_0x37dd2c(0xc8)](_0x37dd2c(0xbc));const _0x12f0d7=this[_0x37dd2c(0xc9)][_0x37dd2c(0xd6)][_0x37dd2c(0xbe)][_0x37dd2c(0xcb)];this[_0x37dd2c(0xc3)](_0x12f0d7,_0x37dd2c(0xc1),_0x322e6e=>_0x322e6e[_0x37dd2c(0xbd)](),{'priority':_0x37dd2c(0xb6)}),this[_0x37dd2c(0xc3)](_0x12f0d7,_0x37dd2c(0xc7),_0x49cbcd=>_0x49cbcd[_0x37dd2c(0xbd)](),{'priority':_0x37dd2c(0xb6)}),this[_0x37dd2c(0xc3)](_0x12f0d7,_0x37dd2c(0xdb),_0xc78789=>_0xc78789[_0x37dd2c(0xbd)](),{'priority':_0x37dd2c(0xb6)});}[_0x470501(0xba)](){const _0x3531c8=_0x470501;for(const [_0xfffdb9,_0x10d93c]of this[_0x3531c8(0xc9)][_0x3531c8(0xca)])_0x10d93c[_0x3531c8(0xdc)]&&_0x3531c8(0xcc)!==_0xfffdb9&&_0x10d93c[_0x3531c8(0xde)](_0x3531c8(0xbc));this[_0x3531c8(0xd8)](this[_0x3531c8(0xc9)][_0x3531c8(0xd6)][_0x3531c8(0xbe)][_0x3531c8(0xcb)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x176541,_0x5d0c53){var _0x360756=_0xb19f,_0x3d8982=_0x176541();while(!![]){try{var _0x50aefe=-parseInt(_0x360756(0x113))/0x1+parseInt(_0x360756(0x10b))/0x2+parseInt(_0x360756(0x10d))/0x3*(parseInt(_0x360756(0x112))/0x4)+-parseInt(_0x360756(0x10c))/0x5+parseInt(_0x360756(0x10e))/0x6+-parseInt(_0x360756(0x110))/0x7*(parseInt(_0x360756(0x10a))/0x8)+parseInt(_0x360756(0x111))/0x9*(parseInt(_0x360756(0x10f))/0xa);if(_0x50aefe===_0x5d0c53)break;else _0x3d8982['push'](_0x3d8982['shift']());}catch(_0x1ff1ea){_0x3d8982['push'](_0x3d8982['shift']());}}}(_0x40b2,0xa6e6c));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';function _0xb19f(_0x54d94f,_0x91efb1){var _0x40b201=_0x40b2();return _0xb19f=function(_0xb19f9a,_0x5cf53f){_0xb19f9a=_0xb19f9a-0x10a;var _0x20e4ef=_0x40b201[_0xb19f9a];return _0x20e4ef;},_0xb19f(_0x54d94f,_0x91efb1);}export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x40b2(){var _0x4cc95f=['3247568wFaFmF','1839578meAkky','3803690zgctyp','266163pEUghQ','363126cITzad','4994780yOLeal','14sqpORp','9TnISxw','52APWYah','376903ooMoes'];_0x40b2=function(){return _0x4cc95f;};return _0x40b2();}export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x91666,_0x306375,_0x1d93d5){const t=_0x91666['t'];switch(_0x306375){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'},_0x1d93d5);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'},_0x1d93d5);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'},_0x1d93d5);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'},_0x1d93d5);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1d93d5);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'},_0x1d93d5);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'},_0x1d93d5);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'},_0x1d93d5);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4be8a9,_0x145c80){const _0x397d32=_0x46b0,_0x4db3ed=_0x4be8a9();while(!![]){try{const _0x27169f=-parseInt(_0x397d32(0xc6))/0x1*(parseInt(_0x397d32(0xbe))/0x2)+parseInt(_0x397d32(0xb9))/0x3*(parseInt(_0x397d32(0xc4))/0x4)+-parseInt(_0x397d32(0xb8))/0x5+-parseInt(_0x397d32(0xbd))/0x6*(-parseInt(_0x397d32(0xbf))/0x7)+-parseInt(_0x397d32(0xb7))/0x8*(parseInt(_0x397d32(0xc1))/0x9)+-parseInt(_0x397d32(0xca))/0xa+parseInt(_0x397d32(0xba))/0xb*(parseInt(_0x397d32(0xb6))/0xc);if(_0x27169f===_0x145c80)break;else _0x4db3ed['push'](_0x4db3ed['shift']());}catch(_0x540d09){_0x4db3ed['push'](_0x4db3ed['shift']());}}}(_0x5e2d,0x58ab2));function _0x5e2d(){const _0x50406e=['attributeName','childList','48yIxCAr','10uhnlOB','438942AOMNTq','cancel','68868AtKFNy','attributes','observe','92KcxvVh','disconnect','136932amwMDE','characterData','type','class','7163400OmcIKG','12bKeigc','16KyPxTr','2439820MWogRK','22557HzVlif','17521559ERzAUr'];_0x5e2d=function(){return _0x50406e;};return _0x5e2d();}function _0x46b0(_0x1e5307,_0x19ad33){const _0x5e2d27=_0x5e2d();return _0x46b0=function(_0x46b080,_0x40957c){_0x46b080=_0x46b080-0xb6;let _0x100262=_0x5e2d27[_0x46b080];return _0x100262;},_0x46b0(_0x1e5307,_0x19ad33);}import{throttle as _0x53ed73}from'lodash-es';export default function Lt(_0x2eabf9){const _0x6d5441=_0x53ed73(_0x2eabf9,0x1e),_0x1efcc9=new MutationObserver(_0x44de75=>{const _0x203253=_0x46b0;for(const _0x519878 of _0x44de75)(_0x203253(0xc2)==_0x519878[_0x203253(0xc8)]&&_0x203253(0xc9)==_0x519878[_0x203253(0xbb)]||_0x203253(0xbc)==_0x519878[_0x203253(0xc8)]||_0x203253(0xc7)==_0x519878[_0x203253(0xc8)])&&_0x6d5441();});return{'attach'(_0x40150a){const _0x253edc=_0x46b0;_0x1efcc9[_0x253edc(0xc3)](_0x40150a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1243f3=_0x46b0;_0x1efcc9[_0x1243f3(0xc5)](),_0x6d5441[_0x1243f3(0xc0)]();}};}
|