@ckeditor/ckeditor5-comments 43.3.0-alpha.8 → 43.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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
|
-
function
|
|
23
|
+
const _0x1feed1=_0x4d4f;function _0x4085(){const _0x3bc195=['ck-comments-archive','focusCycler','arrowdown','isActive','_setupKeyboardNavigation','add','focusPrevious','EMPTY_COMMENTS_ARCHIVE','isEmpty','ck-comments-archive__info','_annotationViews','focusFirst','563184IyfYLW','COMMENTS_ARCHIVE_LIST_LABEL','list','focusTracker','1387925bnwjMa','render','bindTemplate','818172zzhhsJ','29089KESYaK','setTemplate','presentation','element','length','10rvfEhj','2pQGZCi','10060hjfNaa','16pXtNyn','delegate','318SpcuJT','set','remove','focus','focusNext','arrowup','change','destroy','first','ck-hidden','ck-comments-archive__content','295ltFqdA','2804484cLQcvY','listenTo','791GbcOJw','div','auto'];_0x4085=function(){return _0x3bc195;};return _0x4085();}(function(_0x3dc864,_0x2d6ba5){const _0x8f65af=_0x4d4f,_0x3a75bb=_0x3dc864();while(!![]){try{const _0x43d88e=-parseInt(_0x8f65af(0xc2))/0x1*(parseInt(_0x8f65af(0xc8))/0x2)+parseInt(_0x8f65af(0xba))/0x3+-parseInt(_0x8f65af(0xc9))/0x4*(-parseInt(_0x8f65af(0xd7))/0x5)+parseInt(_0x8f65af(0xcc))/0x6*(parseInt(_0x8f65af(0xda))/0x7)+parseInt(_0x8f65af(0xca))/0x8*(parseInt(_0x8f65af(0xc1))/0x9)+parseInt(_0x8f65af(0xc7))/0xa*(-parseInt(_0x8f65af(0xbe))/0xb)+-parseInt(_0x8f65af(0xd8))/0xc;if(_0x43d88e===_0x2d6ba5)break;else _0x3a75bb['push'](_0x3a75bb['shift']());}catch(_0x8e19db){_0x3a75bb['push'](_0x3a75bb['shift']());}}}(_0x4085,0x20f23));function _0x4d4f(_0x14dda9,_0x286625){const _0x408595=_0x4085();return _0x4d4f=function(_0x4d4f0e,_0x17db04){_0x4d4f0e=_0x4d4f0e-0xac;let _0x52613b=_0x408595[_0x4d4f0e];return _0x52613b;},_0x4d4f(_0x14dda9,_0x286625);}import{View as _0x5b018c,FocusCycler as _0x47c5fb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4ea23f}from'ckeditor5/src/utils.js';import{getTranslation as _0x56be0d}from'../../../utils/common-translations.js';export default class tt extends _0x5b018c{constructor(_0x24bfa9,_0x4d68db){const _0x1f60f2=_0x4d4f;super(_0x24bfa9),this[_0x1f60f2(0xcd)](_0x1f60f2(0xb6),!_0x4d68db[_0x1f60f2(0xc6)]),this[_0x1f60f2(0xbd)]=new _0x4ea23f(),this[_0x1f60f2(0xb8)]=_0x4d68db,this[_0x1f60f2(0xb8)][_0x1f60f2(0xcb)](_0x1f60f2(0xd1),_0x1f60f2(0xb0))['to'](this),this['on'](_0x1f60f2(0xd1),()=>{const _0x495e78=_0x1f60f2;this[_0x495e78(0xaf)][_0x495e78(0xb4)]();}),this['on'](_0x1f60f2(0xb0),()=>{const _0x2dd7c2=_0x1f60f2;this[_0x2dd7c2(0xaf)][_0x2dd7c2(0xd0)]();}),this[_0x1f60f2(0xaf)]=new _0x47c5fb({'focusables':_0x4d68db,'focusTracker':this[_0x1f60f2(0xbd)]}),this[_0x1f60f2(0xd9)](_0x4d68db,_0x1f60f2(0xb3),()=>{const _0x4b334c=_0x1f60f2;this[_0x4b334c(0xb6)]=!0x1;}),this[_0x1f60f2(0xd9)](_0x4d68db,_0x1f60f2(0xce),(_0x264fa6,_0x17898e)=>{const _0x4bab4c=_0x1f60f2;_0x17898e[_0x4bab4c(0xb1)]&&this[_0x4bab4c(0xcf)](),_0x4d68db[_0x4bab4c(0xc6)]||(this[_0x4bab4c(0xb6)]=!0x0);});const _0x22da85=this[_0x1f60f2(0xc0)];this[_0x1f60f2(0xc3)]({'tag':_0x1f60f2(0xac),'attributes':{'dir':_0x1f60f2(0xad),'class':['ck',_0x1f60f2(0xae)],'tabindex':-0x1,'role':_0x1f60f2(0xbc),'aria-label':_0x56be0d(_0x24bfa9,_0x1f60f2(0xbb))},'children':[{'tag':_0x1f60f2(0xac),'attributes':{'class':[_0x1f60f2(0xd6)],'role':_0x1f60f2(0xc4)},'children':[{'tag':_0x1f60f2(0xac),'attributes':{'role':_0x1f60f2(0xc4)},'children':_0x4d68db},{'tag':'p','attributes':{'class':[_0x1f60f2(0xb7),_0x22da85['if'](_0x1f60f2(0xb6),_0x1f60f2(0xd5),_0x57f7dc=>!_0x57f7dc)]},'children':[{'text':_0x56be0d(_0x24bfa9,_0x1f60f2(0xb5))}]}]}]});}[_0x1feed1(0xbf)](){const _0x5cd702=_0x1feed1;super[_0x5cd702(0xbf)](),this[_0x5cd702(0xb2)]();}[_0x1feed1(0xd3)](){const _0x386d36=_0x1feed1;super[_0x386d36(0xd3)](),this[_0x386d36(0xbd)][_0x386d36(0xd3)]();}[_0x1feed1(0xcf)](){const _0x1adfba=_0x1feed1;this[_0x1adfba(0xaf)][_0x1adfba(0xd4)]?this[_0x1adfba(0xaf)][_0x1adfba(0xb9)]():this[_0x1adfba(0xc5)][_0x1adfba(0xcf)]();}[_0x1feed1(0xb2)](){const _0x4699cc=_0x1feed1;for(const _0x3fdd19 of this[_0x4699cc(0xb8)])this[_0x4699cc(0xbd)][_0x4699cc(0xb3)](_0x3fdd19[_0x4699cc(0xc5)]);this[_0x4699cc(0xb8)]['on'](_0x4699cc(0xd2),(_0x28a791,{added:_0xe45c60,removed:_0x4278de})=>{const _0x2bab28=_0x4699cc;for(const _0x4d87d4 of _0xe45c60)this[_0x2bab28(0xbd)][_0x2bab28(0xb3)](_0x4d87d4[_0x2bab28(0xc5)]);for(const _0xbf3147 of _0x4278de)this[_0x2bab28(0xbd)][_0x2bab28(0xce)](_0xbf3147[_0x2bab28(0xc5)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2a01(){const _0x2e1d00=['resolved','commentViews','added','maxCommentCharsWhenCollapsed','_rearrangeCollapse','element','focusLast','isActive','render','16712tYknbJ','_updateHasDirtyComment','get','hasDirtyComment','_rearrangeExpand','refreshVisibleViews','change:isActive','5776119ItwQRJ','locale','_findOptimalIndex','add','3493EKuJQY','formatDateTime','maxCommentsWhenCollapsed','_calculatePosition','updateComment','removeComment','resolveCommentThread','from','some','54HTiUaI','resolvedAt','resolvedCommentView','editorDestroyed','bindTemplate','_handleInfoComment','focusCycler','target','focus','_config','_handleRemoveCommentModel','delete','_handleNewCommentModel','collapse','commentUpdated','isEditMode','insert','change:hasDirtyComment','count','stopListening','createCollection','keystrokes','focusTracker','_setupKeyboardNavigation','bind','ck-thread__comments','includes','destroy','map','listenTo','reverse','CommentView','focusFirst','maxThreadTotalWeight','viewUid','setTemplate','Thread\x20comments','12015GywtiA','_shouldCollapse','change:isResolved','_model','forEach','remove','change:isEditMode','31550730IAEVab','removed','_collapsedCommentsView','authoredAt','72630cOCeVU','change','1276WZIhEr','set','weight','length','Marked\x20as\x20resolved','comments','equal','779971URCaTS','expand','visibleViews','arrowdown','editorConfig','resolvedBy','editorReady','delegate','ck-hidden','1368222jlFElF','arrowup'];_0x2a01=function(){return _0x2e1d00;};return _0x2a01();}const _0x298f4a=_0x6582;(function(_0x4c33cc,_0x2a2ac0){const _0x9d9419=_0x6582,_0x3406e9=_0x4c33cc();while(!![]){try{const _0x1d5ae5=-parseInt(_0x9d9419(0x107))/0x1+-parseInt(_0x9d9419(0xaf))/0x2+parseInt(_0x9d9419(0xf3))/0x3*(-parseInt(_0x9d9419(0x100))/0x4)+-parseInt(_0x9d9419(0xfe))/0x5*(parseInt(_0x9d9419(0xce))/0x6)+-parseInt(_0x9d9419(0xc5))/0x7*(-parseInt(_0x9d9419(0xba))/0x8)+-parseInt(_0x9d9419(0xc1))/0x9+parseInt(_0x9d9419(0xfa))/0xa;if(_0x1d5ae5===_0x2a2ac0)break;else _0x3406e9['push'](_0x3406e9['shift']());}catch(_0x35f397){_0x3406e9['push'](_0x3406e9['shift']());}}}(_0x2a01,0xa6d12));import{View as _0x51256e,FocusCycler as _0x2bd553}from'ckeditor5/src/ui.js';import{diff as _0x204eb3,Collection as _0x4c3b6e,FocusTracker as _0x3aded5,KeystrokeHandler as _0x2b0df6}from'ckeditor5/src/utils.js';import{getTranslation as _0x1e267d}from'../../../utils/common-translations.js';import _0x38f110 from'./collapsedcommentsview.js';function _0x6582(_0xfa39c7,_0x197f7d){const _0x2a0166=_0x2a01();return _0x6582=function(_0x65826a,_0x4446bb){_0x65826a=_0x65826a-0xaa;let _0x1d18eb=_0x2a0166[_0x65826a];return _0x1d18eb;},_0x6582(_0xfa39c7,_0x197f7d);}export default class xt extends _0x51256e{constructor(_0x2ba512,_0x1f0b7a,_0x5bf2a7){const _0x22b226=_0x6582;super(_0x2ba512);const _0x3437f0=this[_0x22b226(0xd2)];this[_0x22b226(0x101)](_0x22b226(0xbd),!0x1),this[_0x22b226(0x101)](_0x22b226(0x103),_0x1f0b7a[_0x22b226(0x105)][_0x22b226(0x103)]),this[_0x22b226(0x101)](_0x22b226(0xb8),!0x1),this[_0x22b226(0xf6)]=_0x1f0b7a,this[_0x22b226(0xd7)]=_0x5bf2a7,this[_0x22b226(0xb2)]=this[_0x22b226(0xe2)](),this[_0x22b226(0x109)]=this[_0x22b226(0xe2)](),this[_0x22b226(0xd0)]=null,this[_0x22b226(0xe4)]=new _0x3aded5(),this[_0x22b226(0xe3)]=new _0x2b0df6(),this[_0x22b226(0xd4)]=new _0x2bd553({'focusables':this[_0x22b226(0xb2)],'focusTracker':this[_0x22b226(0xe4)],'keystrokeHandler':this[_0x22b226(0xe3)],'keystrokeHandlerOptions':{'filter':_0x400f77=>this[_0x22b226(0xb2)][_0x22b226(0xea)](_0x1aaedc=>_0x1aaedc[_0x22b226(0xb6)])[_0x22b226(0xe8)](_0x400f77[_0x22b226(0xd5)])},'actions':{'focusPrevious':_0x22b226(0xb0),'focusNext':_0x22b226(0x10a)}}),this[_0x22b226(0xfc)]=new _0x38f110(_0x2ba512),this[_0x22b226(0xfc)][_0x22b226(0xe6)](_0x22b226(0xe0))['to'](this,_0x22b226(0x103),_0x52270b=>_0x52270b-this[_0x22b226(0xd7)][_0x22b226(0xc7)]);for(const _0x56a9a5 of _0x1f0b7a[_0x22b226(0x105)])this[_0x22b226(0xda)](_0x56a9a5);this[_0x22b226(0xd3)](),this[_0x22b226(0xeb)](_0x1f0b7a[_0x22b226(0x105)],_0x22b226(0xc4),(_0x1e50a6,_0x46db37)=>{const _0x20b1b7=_0x22b226,_0x17eb37=this[_0x20b1b7(0xc8)](_0x46db37);this[_0x20b1b7(0x103)]++,this[_0x20b1b7(0xda)](_0x46db37,_0x17eb37),this[_0x20b1b7(0xbf)]();}),this[_0x22b226(0xeb)](_0x1f0b7a[_0x22b226(0x105)],_0x22b226(0xf8),(_0x3e208b,_0x11f2f2)=>{const _0x4853c7=_0x22b226;this[_0x4853c7(0x103)]--,this[_0x4853c7(0xd8)](_0x11f2f2),this[_0x4853c7(0xbf)]();}),this[_0x22b226(0xeb)](_0x1f0b7a,_0x22b226(0xdc),()=>this[_0x22b226(0xbf)]()),this[_0x22b226(0xeb)](_0x1f0b7a,_0x22b226(0xf5),()=>this[_0x22b226(0xd3)]()),this['on'](_0x22b226(0xc0),()=>this[_0x22b226(0xbf)]()),this['on'](_0x22b226(0xdf),()=>this[_0x22b226(0xbf)]()),this[_0x22b226(0xf1)]({'tag':'ul','attributes':{'class':[_0x22b226(0xe7),_0x3437f0['if'](_0x22b226(0x103),_0x22b226(0xae),_0x2d0998=>!_0x2d0998)],'aria-label':_0x1e267d(_0x2ba512,_0x22b226(0xf2))},'children':this[_0x22b226(0x109)]});}get[_0x298f4a(0xf4)](){const _0x578233=_0x298f4a;return this[_0x578233(0xf6)][_0x578233(0x102)]>this[_0x578233(0xd7)][_0x578233(0xef)]&&!this[_0x578233(0xb8)]&&!this[_0x578233(0xbd)];}[_0x298f4a(0xb9)](){const _0x1afb44=_0x298f4a;super[_0x1afb44(0xb9)](),this[_0x1afb44(0xbf)](),this[_0x1afb44(0xe5)]();}[_0x298f4a(0xd6)](_0x321f6d){const _0xc85f8a=_0x298f4a;-0x1===_0x321f6d?this[_0xc85f8a(0xd4)][_0xc85f8a(0xb7)]():this[_0xc85f8a(0xd4)][_0xc85f8a(0xee)]();}[_0x298f4a(0xe9)](){const _0x4eba23=_0x298f4a;this[_0x4eba23(0xfc)][_0x4eba23(0xe9)]();for(const _0xf60473 of this[_0x4eba23(0xb2)])_0xf60473[_0x4eba23(0xe9)]();super[_0x4eba23(0xe9)]();}[_0x298f4a(0xbf)](){const _0x3529d5=_0x298f4a;this[_0x3529d5(0xf4)]?this[_0x3529d5(0xb5)]():this[_0x3529d5(0xbe)]();}[_0x298f4a(0xda)](_0x27e5fb,_0x875d0a){const _0x23f427=_0x298f4a,_0xc72f94=new this[(_0x23f427(0xd7))][(_0x23f427(0xed))](this[_0x23f427(0xc2)],_0x27e5fb,{'maxCommentCharsWhenCollapsed':this[_0x23f427(0xd7)][_0x23f427(0xb4)],'formatDateTime':this[_0x23f427(0xd7)][_0x23f427(0xc6)],'editorConfig':this[_0x23f427(0xd7)][_0x23f427(0xaa)]});_0xc72f94[_0x23f427(0xf0)]=_0x27e5fb['id'],_0xc72f94[_0x23f427(0xad)](_0x23f427(0xca))['to'](this),_0xc72f94[_0x23f427(0xad)](_0x23f427(0xc9))['to'](this),_0xc72f94[_0x23f427(0xad)](_0x23f427(0xcb))['to'](this),_0xc72f94[_0x23f427(0xad)](_0x23f427(0xac))['to'](this),_0xc72f94[_0x23f427(0xad)](_0x23f427(0xd1))['to'](this),this[_0x23f427(0xeb)](_0xc72f94,_0x23f427(0xf9),()=>this[_0x23f427(0xbb)]()),this[_0x23f427(0xb2)][_0x23f427(0xc4)](_0xc72f94,_0x875d0a);}[_0x298f4a(0xc8)](_0x2bc13f){const _0x317d1a=_0x298f4a,_0x200765=this[_0x317d1a(0xf6)][_0x317d1a(0xc3)](_0x2bc13f);return this[_0x317d1a(0xd0)]?this[_0x317d1a(0xd0)][_0x317d1a(0xfd)]>_0x2bc13f[_0x317d1a(0xfd)]?_0x200765-0x1:_0x200765:_0x200765-0x1;}[_0x298f4a(0xd3)](){const _0x1fd4ca=_0x298f4a;if(this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xab)]&&this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xcf)]){const _0x1b49c1={'id':_0x1fd4ca(0xb1),'author':this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xab)],'authoredAt':this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xcf)],'content':_0x1e267d(this[_0x1fd4ca(0xc2)],_0x1fd4ca(0x104)),'attributes':{}};this[_0x1fd4ca(0xd0)]=new this[(_0x1fd4ca(0xd7))][(_0x1fd4ca(0xed))](this[_0x1fd4ca(0xc2)],_0x1b49c1,{'maxCommentCharsWhenCollapsed':this[_0x1fd4ca(0xd7)][_0x1fd4ca(0xb4)],'formatDateTime':this[_0x1fd4ca(0xd7)][_0x1fd4ca(0xc6)],'editorConfig':this[_0x1fd4ca(0xd7)][_0x1fd4ca(0xaa)],'isSystemComment':!0x0}),this[_0x1fd4ca(0xb2)][_0x1fd4ca(0xc4)](this[_0x1fd4ca(0xd0)],this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xc3)](_0x1b49c1));}else this[_0x1fd4ca(0xd0)]&&(this[_0x1fd4ca(0xb2)][_0x1fd4ca(0xf8)](this[_0x1fd4ca(0xd0)]),this[_0x1fd4ca(0xd0)][_0x1fd4ca(0xe9)](),this[_0x1fd4ca(0xd0)]=null);this[_0x1fd4ca(0xbf)]();}[_0x298f4a(0xd8)](_0x2b2f6e){const _0x13c59a=_0x298f4a,_0xd176fc=this[_0x13c59a(0xb2)][_0x13c59a(0xf8)](_0x2b2f6e['id']);this[_0x13c59a(0xe1)](_0xd176fc),_0xd176fc[_0x13c59a(0xdd)]&&this[_0x13c59a(0xbb)](),_0xd176fc[_0x13c59a(0xe9)]();}[_0x298f4a(0xbb)](){const _0x4c9df9=_0x298f4a;this[_0x4c9df9(0xbd)]=Array[_0x4c9df9(0xcc)](this[_0x4c9df9(0xb2)])[_0x4c9df9(0xcd)](_0x4fed28=>_0x4fed28[_0x4c9df9(0xdd)]);}[_0x298f4a(0xb5)](){const _0x29a02b=_0x298f4a,_0x29eee3=function(_0x61063c){const _0x114e93=_0x6582,_0x2ac420=new _0x4c3b6e();for(const _0x545151 of _0x61063c)_0x2ac420[_0x114e93(0xc4)](_0x545151);return _0x2ac420;}(this[_0x29a02b(0xb2)]),_0x1b0923=this[_0x29a02b(0xfc)][_0x29a02b(0xe0)];for(let _0x4fb141=0x1;_0x4fb141<=_0x1b0923;_0x4fb141++)_0x29eee3[_0x29a02b(0xf8)](0x1);for(const _0x52dd48 of _0x29eee3)_0x52dd48[_0x29a02b(0xdb)]();_0x1b0923>0x0&&_0x29eee3[_0x29a02b(0xc4)](this[_0x29a02b(0xfc)],0x1),ms(_0x204eb3(Array[_0x29a02b(0xcc)](this[_0x29a02b(0x109)]),Array[_0x29a02b(0xcc)](_0x29eee3)),this[_0x29a02b(0x109)],_0x29eee3);}[_0x298f4a(0xbe)](){const _0x1208c0=_0x298f4a;ms(_0x204eb3(Array[_0x1208c0(0xcc)](this[_0x1208c0(0x109)]),Array[_0x1208c0(0xcc)](this[_0x1208c0(0xb2)])),this[_0x1208c0(0x109)],this[_0x1208c0(0xb2)]);for(const _0x49968b of this[_0x1208c0(0x109)])_0x49968b[_0x1208c0(0x108)]();}[_0x298f4a(0xe5)](){const _0x26db69=_0x298f4a;this[_0x26db69(0xb2)][_0x26db69(0xf7)](_0x159662=>{const _0x4d1d10=_0x26db69;this[_0x4d1d10(0xe4)][_0x4d1d10(0xc4)](_0x159662[_0x4d1d10(0xb6)]),this[_0x4d1d10(0xe3)][_0x4d1d10(0xeb)](_0x159662[_0x4d1d10(0xb6)]);}),this[_0x26db69(0xb2)]['on'](_0x26db69(0xff),(_0x2ba31f,_0x4dfc4f)=>{const _0x51294d=_0x26db69;for(const _0x22e6ec of _0x4dfc4f[_0x51294d(0xfb)])this[_0x51294d(0xe4)][_0x51294d(0xf8)](_0x22e6ec[_0x51294d(0xb6)]),this[_0x51294d(0xe3)][_0x51294d(0xe1)](_0x22e6ec[_0x51294d(0xb6)]);for(const _0x3144fa of Array[_0x51294d(0xcc)](_0x4dfc4f[_0x51294d(0xb3)])[_0x51294d(0xec)]())this[_0x51294d(0xe4)][_0x51294d(0xc4)](_0x3144fa[_0x51294d(0xb6)]),this[_0x51294d(0xe3)][_0x51294d(0xeb)](_0x3144fa[_0x51294d(0xb6)]);});}}function ms(_0xcd5144,_0x28c8d1,_0x12c0de){const _0x5969a2=_0x298f4a;let _0x1c3d97=0x0;for(const _0x3b9e33 of _0xcd5144)switch(_0x3b9e33){case _0x5969a2(0xde):_0x28c8d1[_0x5969a2(0xc4)](_0x12c0de[_0x5969a2(0xbc)](_0x1c3d97),_0x1c3d97),_0x1c3d97++;break;case _0x5969a2(0xd9):_0x28c8d1[_0x5969a2(0xf8)](_0x1c3d97);break;case _0x5969a2(0x106):_0x1c3d97++;}}
|
|
23
|
+
const _0x498f1d=_0x33ed;function _0x5707(){const _0xe6cc50=['bind','commentUpdated','focusLast','bindTemplate','delegate','1245993wxdvSE','comments','431548rIzVns','weight','maxThreadTotalWeight','updateComment','formatDateTime','_rearrangeExpand','change:isResolved','viewUid','keystrokes','includes','resolveCommentThread','30VcDcvt','isEditMode','added','3lbhZRL','editorConfig','refreshVisibleViews','count','resolvedCommentView','180732EoFEGw','commentViews','116800FNQyDb','render','insert','_findOptimalIndex','from','change:isActive','removeComment','focus','_model','isActive','3942640WneXcW','focusCycler','resolved','map','stopListening','1237920BDKYhL','expand','set','authoredAt','listenTo','Thread\x20comments','collapse','length','resolvedAt','focusFirst','_collapsedCommentsView','reverse','element','_calculatePosition','change','234KpYMnU','some','remove','361028UsgyZm','target','setTemplate','CommentView','_shouldCollapse','ck-thread__comments','_config','_handleInfoComment','focusTracker','_handleRemoveCommentModel','_rearrangeCollapse','destroy','removed','_setupKeyboardNavigation','editorDestroyed','resolvedBy','maxCommentCharsWhenCollapsed','change:hasDirtyComment','delete','6ltnEEN','_handleNewCommentModel','hasDirtyComment','visibleViews','createCollection','66NzOtAD','get','arrowup','ck-hidden','change:isEditMode','forEach','_updateHasDirtyComment','maxCommentsWhenCollapsed','Marked\x20as\x20resolved','editorReady','equal','arrowdown','add','locale'];_0x5707=function(){return _0xe6cc50;};return _0x5707();}(function(_0xba19dd,_0x1b6ae9){const _0x5abe05=_0x33ed,_0x1d6978=_0xba19dd();while(!![]){try{const _0x44241e=parseInt(_0x5abe05(0x233))/0x1+parseInt(_0x5abe05(0x206))/0x2*(parseInt(_0x5abe05(0x241))/0x3)+-parseInt(_0x5abe05(0x1e3))/0x4*(parseInt(_0x5abe05(0x23e))/0x5)+parseInt(_0x5abe05(0x219))/0x6*(-parseInt(_0x5abe05(0x231))/0x7)+parseInt(_0x5abe05(0x1e5))/0x8*(parseInt(_0x5abe05(0x203))/0x9)+parseInt(_0x5abe05(0x1ef))/0xa+-parseInt(_0x5abe05(0x21e))/0xb*(parseInt(_0x5abe05(0x1f4))/0xc);if(_0x44241e===_0x1b6ae9)break;else _0x1d6978['push'](_0x1d6978['shift']());}catch(_0x456ad6){_0x1d6978['push'](_0x1d6978['shift']());}}}(_0x5707,0x4d9ad));import{View as _0x3022cb,FocusCycler as _0x14463f}from'ckeditor5/src/ui.js';import{diff as _0x3cd19e,Collection as _0x22ef34,FocusTracker as _0xdd49e8,KeystrokeHandler as _0x7940fa}from'ckeditor5/src/utils.js';import{getTranslation as _0x51fdda}from'../../../utils/common-translations.js';import _0x598ac2 from'./collapsedcommentsview.js';export default class xt extends _0x3022cb{constructor(_0x41921f,_0x5980de,_0x316783){const _0x34c9ec=_0x33ed;super(_0x41921f);const _0x3cc6bb=this[_0x34c9ec(0x22f)];this[_0x34c9ec(0x1f6)](_0x34c9ec(0x21b),!0x1),this[_0x34c9ec(0x1f6)](_0x34c9ec(0x1fb),_0x5980de[_0x34c9ec(0x232)][_0x34c9ec(0x1fb)]),this[_0x34c9ec(0x1f6)](_0x34c9ec(0x1ee),!0x1),this[_0x34c9ec(0x1ed)]=_0x5980de,this[_0x34c9ec(0x20c)]=_0x316783,this[_0x34c9ec(0x1e4)]=this[_0x34c9ec(0x21d)](),this[_0x34c9ec(0x21c)]=this[_0x34c9ec(0x21d)](),this[_0x34c9ec(0x1e2)]=null,this[_0x34c9ec(0x20e)]=new _0xdd49e8(),this[_0x34c9ec(0x23b)]=new _0x7940fa(),this[_0x34c9ec(0x1f0)]=new _0x14463f({'focusables':this[_0x34c9ec(0x1e4)],'focusTracker':this[_0x34c9ec(0x20e)],'keystrokeHandler':this[_0x34c9ec(0x23b)],'keystrokeHandlerOptions':{'filter':_0x2f0a4d=>this[_0x34c9ec(0x1e4)][_0x34c9ec(0x1f2)](_0x489a9d=>_0x489a9d[_0x34c9ec(0x200)])[_0x34c9ec(0x23c)](_0x2f0a4d[_0x34c9ec(0x207)])},'actions':{'focusPrevious':_0x34c9ec(0x220),'focusNext':_0x34c9ec(0x229)}}),this[_0x34c9ec(0x1fe)]=new _0x598ac2(_0x41921f),this[_0x34c9ec(0x1fe)][_0x34c9ec(0x22c)](_0x34c9ec(0x244))['to'](this,_0x34c9ec(0x1fb),_0x4e7880=>_0x4e7880-this[_0x34c9ec(0x20c)][_0x34c9ec(0x225)]);for(const _0x3a967c of _0x5980de[_0x34c9ec(0x232)])this[_0x34c9ec(0x21a)](_0x3a967c);this[_0x34c9ec(0x20d)](),this[_0x34c9ec(0x1f8)](_0x5980de[_0x34c9ec(0x232)],_0x34c9ec(0x22a),(_0xdd3510,_0x4c0327)=>{const _0x6bbaf7=_0x34c9ec,_0xa6746e=this[_0x6bbaf7(0x201)](_0x4c0327);this[_0x6bbaf7(0x1fb)]++,this[_0x6bbaf7(0x21a)](_0x4c0327,_0xa6746e),this[_0x6bbaf7(0x243)]();}),this[_0x34c9ec(0x1f8)](_0x5980de[_0x34c9ec(0x232)],_0x34c9ec(0x205),(_0x249751,_0x1eddda)=>{const _0x558e5e=_0x34c9ec;this[_0x558e5e(0x1fb)]--,this[_0x558e5e(0x20f)](_0x1eddda),this[_0x558e5e(0x243)]();}),this[_0x34c9ec(0x1f8)](_0x5980de,_0x34c9ec(0x22d),()=>this[_0x34c9ec(0x243)]()),this[_0x34c9ec(0x1f8)](_0x5980de,_0x34c9ec(0x239),()=>this[_0x34c9ec(0x20d)]()),this['on'](_0x34c9ec(0x1ea),()=>this[_0x34c9ec(0x243)]()),this['on'](_0x34c9ec(0x217),()=>this[_0x34c9ec(0x243)]()),this[_0x34c9ec(0x208)]({'tag':'ul','attributes':{'class':[_0x34c9ec(0x20b),_0x3cc6bb['if'](_0x34c9ec(0x1fb),_0x34c9ec(0x221),_0x4c7d45=>!_0x4c7d45)],'aria-label':_0x51fdda(_0x41921f,_0x34c9ec(0x1f9))},'children':this[_0x34c9ec(0x21c)]});}get[_0x498f1d(0x20a)](){const _0xb40cdc=_0x498f1d;return this[_0xb40cdc(0x1ed)][_0xb40cdc(0x234)]>this[_0xb40cdc(0x20c)][_0xb40cdc(0x235)]&&!this[_0xb40cdc(0x1ee)]&&!this[_0xb40cdc(0x21b)];}[_0x498f1d(0x1e6)](){const _0xb3e6d7=_0x498f1d;super[_0xb3e6d7(0x1e6)](),this[_0xb3e6d7(0x243)](),this[_0xb3e6d7(0x213)]();}[_0x498f1d(0x1ec)](_0x1586d0){const _0x267500=_0x498f1d;-0x1===_0x1586d0?this[_0x267500(0x1f0)][_0x267500(0x22e)]():this[_0x267500(0x1f0)][_0x267500(0x1fd)]();}[_0x498f1d(0x211)](){const _0x582536=_0x498f1d;this[_0x582536(0x1fe)][_0x582536(0x211)]();for(const _0xa8035e of this[_0x582536(0x1e4)])_0xa8035e[_0x582536(0x211)]();super[_0x582536(0x211)]();}[_0x498f1d(0x243)](){const _0x2653e6=_0x498f1d;this[_0x2653e6(0x20a)]?this[_0x2653e6(0x210)]():this[_0x2653e6(0x238)]();}[_0x498f1d(0x21a)](_0xc754ce,_0x226f36){const _0x1843de=_0x498f1d,_0x5f1c4a=new this[(_0x1843de(0x20c))][(_0x1843de(0x209))](this[_0x1843de(0x22b)],_0xc754ce,{'maxCommentCharsWhenCollapsed':this[_0x1843de(0x20c)][_0x1843de(0x216)],'formatDateTime':this[_0x1843de(0x20c)][_0x1843de(0x237)],'editorConfig':this[_0x1843de(0x20c)][_0x1843de(0x242)]});_0x5f1c4a[_0x1843de(0x23a)]=_0xc754ce['id'],_0x5f1c4a[_0x1843de(0x230)](_0x1843de(0x1eb))['to'](this),_0x5f1c4a[_0x1843de(0x230)](_0x1843de(0x236))['to'](this),_0x5f1c4a[_0x1843de(0x230)](_0x1843de(0x23d))['to'](this),_0x5f1c4a[_0x1843de(0x230)](_0x1843de(0x227))['to'](this),_0x5f1c4a[_0x1843de(0x230)](_0x1843de(0x214))['to'](this),this[_0x1843de(0x1f8)](_0x5f1c4a,_0x1843de(0x222),()=>this[_0x1843de(0x224)]()),this[_0x1843de(0x1e4)][_0x1843de(0x22a)](_0x5f1c4a,_0x226f36);}[_0x498f1d(0x201)](_0x2a4d0c){const _0x4c1107=_0x498f1d,_0x31d511=this[_0x4c1107(0x1ed)][_0x4c1107(0x1e8)](_0x2a4d0c);return this[_0x4c1107(0x1e2)]?this[_0x4c1107(0x1e2)][_0x4c1107(0x1f7)]>_0x2a4d0c[_0x4c1107(0x1f7)]?_0x31d511-0x1:_0x31d511:_0x31d511-0x1;}[_0x498f1d(0x20d)](){const _0xe6d506=_0x498f1d;if(this[_0xe6d506(0x1ed)][_0xe6d506(0x215)]&&this[_0xe6d506(0x1ed)][_0xe6d506(0x1fc)]){const _0x5e4e35={'id':_0xe6d506(0x1f1),'author':this[_0xe6d506(0x1ed)][_0xe6d506(0x215)],'authoredAt':this[_0xe6d506(0x1ed)][_0xe6d506(0x1fc)],'content':_0x51fdda(this[_0xe6d506(0x22b)],_0xe6d506(0x226)),'attributes':{}};this[_0xe6d506(0x1e2)]=new this[(_0xe6d506(0x20c))][(_0xe6d506(0x209))](this[_0xe6d506(0x22b)],_0x5e4e35,{'maxCommentCharsWhenCollapsed':this[_0xe6d506(0x20c)][_0xe6d506(0x216)],'formatDateTime':this[_0xe6d506(0x20c)][_0xe6d506(0x237)],'editorConfig':this[_0xe6d506(0x20c)][_0xe6d506(0x242)],'isSystemComment':!0x0}),this[_0xe6d506(0x1e4)][_0xe6d506(0x22a)](this[_0xe6d506(0x1e2)],this[_0xe6d506(0x1ed)][_0xe6d506(0x1e8)](_0x5e4e35));}else this[_0xe6d506(0x1e2)]&&(this[_0xe6d506(0x1e4)][_0xe6d506(0x205)](this[_0xe6d506(0x1e2)]),this[_0xe6d506(0x1e2)][_0xe6d506(0x211)](),this[_0xe6d506(0x1e2)]=null);this[_0xe6d506(0x243)]();}[_0x498f1d(0x20f)](_0x40a0c7){const _0x3ba843=_0x498f1d,_0x498418=this[_0x3ba843(0x1e4)][_0x3ba843(0x205)](_0x40a0c7['id']);this[_0x3ba843(0x1f3)](_0x498418),_0x498418[_0x3ba843(0x23f)]&&this[_0x3ba843(0x224)](),_0x498418[_0x3ba843(0x211)]();}[_0x498f1d(0x224)](){const _0xf532e6=_0x498f1d;this[_0xf532e6(0x21b)]=Array[_0xf532e6(0x1e9)](this[_0xf532e6(0x1e4)])[_0xf532e6(0x204)](_0x35ad32=>_0x35ad32[_0xf532e6(0x23f)]);}[_0x498f1d(0x210)](){const _0x4831cc=_0x498f1d,_0x246ce1=function(_0x56832f){const _0x837140=_0x33ed,_0x5bed2a=new _0x22ef34();for(const _0x10cdb6 of _0x56832f)_0x5bed2a[_0x837140(0x22a)](_0x10cdb6);return _0x5bed2a;}(this[_0x4831cc(0x1e4)]),_0x271f32=this[_0x4831cc(0x1fe)][_0x4831cc(0x244)];for(let _0x57d488=0x1;_0x57d488<=_0x271f32;_0x57d488++)_0x246ce1[_0x4831cc(0x205)](0x1);for(const _0x12eeec of _0x246ce1)_0x12eeec[_0x4831cc(0x1fa)]();_0x271f32>0x0&&_0x246ce1[_0x4831cc(0x22a)](this[_0x4831cc(0x1fe)],0x1),ms(_0x3cd19e(Array[_0x4831cc(0x1e9)](this[_0x4831cc(0x21c)]),Array[_0x4831cc(0x1e9)](_0x246ce1)),this[_0x4831cc(0x21c)],_0x246ce1);}[_0x498f1d(0x238)](){const _0x467c1b=_0x498f1d;ms(_0x3cd19e(Array[_0x467c1b(0x1e9)](this[_0x467c1b(0x21c)]),Array[_0x467c1b(0x1e9)](this[_0x467c1b(0x1e4)])),this[_0x467c1b(0x21c)],this[_0x467c1b(0x1e4)]);for(const _0x254f82 of this[_0x467c1b(0x21c)])_0x254f82[_0x467c1b(0x1f5)]();}[_0x498f1d(0x213)](){const _0x43b469=_0x498f1d;this[_0x43b469(0x1e4)][_0x43b469(0x223)](_0x2fb091=>{const _0x3723b8=_0x43b469;this[_0x3723b8(0x20e)][_0x3723b8(0x22a)](_0x2fb091[_0x3723b8(0x200)]),this[_0x3723b8(0x23b)][_0x3723b8(0x1f8)](_0x2fb091[_0x3723b8(0x200)]);}),this[_0x43b469(0x1e4)]['on'](_0x43b469(0x202),(_0x3d680f,_0x550386)=>{const _0x30730c=_0x43b469;for(const _0x23af84 of _0x550386[_0x30730c(0x212)])this[_0x30730c(0x20e)][_0x30730c(0x205)](_0x23af84[_0x30730c(0x200)]),this[_0x30730c(0x23b)][_0x30730c(0x1f3)](_0x23af84[_0x30730c(0x200)]);for(const _0x57c599 of Array[_0x30730c(0x1e9)](_0x550386[_0x30730c(0x240)])[_0x30730c(0x1ff)]())this[_0x30730c(0x20e)][_0x30730c(0x22a)](_0x57c599[_0x30730c(0x200)]),this[_0x30730c(0x23b)][_0x30730c(0x1f8)](_0x57c599[_0x30730c(0x200)]);});}}function _0x33ed(_0x50b92e,_0xd5665a){const _0x570797=_0x5707();return _0x33ed=function(_0x33ed1b,_0x628dfd){_0x33ed1b=_0x33ed1b-0x1e2;let _0x4e7db5=_0x570797[_0x33ed1b];return _0x4e7db5;},_0x33ed(_0x50b92e,_0xd5665a);}function ms(_0x113fc2,_0x48318e,_0x1dcde3){const _0x22a18d=_0x498f1d;let _0x586cbc=0x0;for(const _0x92275c of _0x113fc2)switch(_0x92275c){case _0x22a18d(0x1e7):_0x48318e[_0x22a18d(0x22a)](_0x1dcde3[_0x22a18d(0x21f)](_0x586cbc),_0x586cbc),_0x586cbc++;break;case _0x22a18d(0x218):_0x48318e[_0x22a18d(0x205)](_0x586cbc);break;case _0x22a18d(0x228):_0x586cbc++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x525b(){const _0x172dee=['span','665598ylrBaH','1613890zjGXnf','6oytQsD','502595hlUojH','element','bindTemplate','325704RfxSAG','66178eCGIdu','setTemplate','317979McNIRq','1254990VZJgSR','12EYjbPl','ck-context__value','THREAD_CONTEXT_LABEL','9FZkLOB','set','48yVsijd','focus','contextValue'];_0x525b=function(){return _0x172dee;};return _0x525b();}const _0x5f24b7=_0x46f2;(function(_0x107d31,_0x3d19b5){const _0x173e8e=_0x46f2,_0x248c68=_0x107d31();while(!![]){try{const _0x51fc71=-parseInt(_0x173e8e(0x15b))/0x1+parseInt(_0x173e8e(0x155))/0x2+-parseInt(_0x173e8e(0x15e))/0x3*(-parseInt(_0x173e8e(0x160))/0x4)+parseInt(_0x173e8e(0x158))/0x5*(parseInt(_0x173e8e(0x157))/0x6)+parseInt(_0x173e8e(0x15c))/0x7*(parseInt(_0x173e8e(0x151))/0x8)+parseInt(_0x173e8e(0x163))/0x9*(-parseInt(_0x173e8e(0x156))/0xa)+-parseInt(_0x173e8e(0x15f))/0xb;if(_0x51fc71===_0x3d19b5)break;else _0x248c68['push'](_0x248c68['shift']());}catch(_0x418356){_0x248c68['push'](_0x248c68['shift']());}}}(_0x525b,0x327f6));function _0x46f2(_0x3904d4,_0x58c202){const _0x525bbd=_0x525b();return _0x46f2=function(_0x46f26a,_0x3ee906){_0x46f26a=_0x46f26a-0x150;let _0x12b0ac=_0x525bbd[_0x46f26a];return _0x12b0ac;},_0x46f2(_0x3904d4,_0x58c202);}import{View as _0x5f53e9}from'ckeditor5/src/ui.js';import{getTranslation as _0xbaf74b}from'../../../utils/common-translations.js';export default class ls extends _0x5f53e9{constructor(_0x6a906b){const _0x6859c9=_0x46f2;super(_0x6a906b);const _0x44fda9=this[_0x6859c9(0x15a)];this[_0x6859c9(0x150)](_0x6859c9(0x153),''),this[_0x6859c9(0x15d)]({'tag':_0x6859c9(0x154),'attributes':{'class':['ck',_0x6859c9(0x161)],'aria-label':_0x44fda9['to'](_0x6859c9(0x153),_0x2f3922=>_0xbaf74b(_0x6a906b,_0x6859c9(0x162),_0x2f3922)),'tabindex':-0x1},'children':[{'text':_0x44fda9['to'](_0x6859c9(0x153))}]});}[_0x5f24b7(0x152)](){const _0x4f5e03=_0x5f24b7;this[_0x4f5e03(0x159)][_0x4f5e03(0x152)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f2956=_0x4723;(function(_0x54d5a1,_0x4f1b94){const _0x5723f1=_0x4723,_0x94b29e=_0x54d5a1();while(!![]){try{const _0x19e794=parseInt(_0x5723f1(0x1d4))/0x1*(-parseInt(_0x5723f1(0x19b))/0x2)+parseInt(_0x5723f1(0x1b1))/0x3*(-parseInt(_0x5723f1(0x192))/0x4)+-parseInt(_0x5723f1(0x197))/0x5*(-parseInt(_0x5723f1(0x1bc))/0x6)+parseInt(_0x5723f1(0x1c1))/0x7*(-parseInt(_0x5723f1(0x1b0))/0x8)+parseInt(_0x5723f1(0x198))/0x9*(-parseInt(_0x5723f1(0x1c9))/0xa)+parseInt(_0x5723f1(0x1a7))/0xb*(-parseInt(_0x5723f1(0x1a0))/0xc)+parseInt(_0x5723f1(0x1a8))/0xd*(parseInt(_0x5723f1(0x1c4))/0xe);if(_0x19e794===_0x4f1b94)break;else _0x94b29e['push'](_0x94b29e['shift']());}catch(_0x385159){_0x94b29e['push'](_0x94b29e['shift']());}}}(_0xf3d1,0x3d12e));function _0xf3d1(){const _0x3a26f1=['bind','Comment\x20was\x20made\x20on\x20an\x20element','tab','substring','reopenCommentThread','listenTo','2827698EXihdi','scrollWidth','icon','.ck-context','ck-thread__header','2302580KieXXy','bindTemplate','.ck-context__value','5082sqaLCW','reopenButtonView','isResolved','fire','div','1119830TAEOHc','element','...','render','_createReopenButton','isReadOnly','offsetWidth','setTemplate','focusFirst','context','_model','4306mVzifA','hasContext','classList','ck-annotation__actions','mouseenter','isEnabled','execute','lastIndexOf','_createContextView','overlay','384924YvSCSO','keystrokes','mouseleave','shift+tab','_setupKeyboardNavigation','5PCLnXA','9vcWrSI','remove','_attachContextActions','164fltIah','focusTracker','focusCycler','value','add','85404xCyVtS','isVisible','locale','querySelector','tooltip','Reopen','label','352lyvDFO','42458bmrnus','createCollection','isResolvable','length','_trimContextValue','focus','ck-context','focusables','8CNWYZJ','12nTpyJj','contextValue','contextView','ck-context--quotes','ck-context-wrapper'];_0xf3d1=function(){return _0x3a26f1;};return _0xf3d1();}import{View as _0xbdedce,ButtonView as _0x5eb3de,FocusCycler as _0x2744b9}from'ckeditor5/src/ui.js';function _0x4723(_0x28838a,_0x221320){const _0xf3d1aa=_0xf3d1();return _0x4723=function(_0x472381,_0x2cf1fc){_0x472381=_0x472381-0x18e;let _0x270454=_0xf3d1aa[_0x472381];return _0x270454;},_0x4723(_0x28838a,_0x221320);}import{FocusTracker as _0x3899ef,KeystrokeHandler as _0x30fc42}from'ckeditor5/src/utils.js';import{getTranslation as _0x41714c}from'../../../utils/common-translations.js';import _0x1b3735 from'../../../../theme/icons/undo.svg';import _0x5672d3 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0xbdedce{constructor(_0x758d16,_0x1c8c42){const _0x26d79e=_0x4723;super(_0x758d16);const _0x3d919e=this[_0x26d79e(0x1c2)];this[_0x26d79e(0x1d3)]=_0x1c8c42,this[_0x26d79e(0x1c5)]=this[_0x26d79e(0x1cd)](),this[_0x26d79e(0x1b3)]=this[_0x26d79e(0x190)](),this[_0x26d79e(0x1af)]=this[_0x26d79e(0x1a9)]([this[_0x26d79e(0x1b3)],this[_0x26d79e(0x1c5)]]),this[_0x26d79e(0x19c)]=new _0x3899ef(),this[_0x26d79e(0x193)]=new _0x30fc42(),this[_0x26d79e(0x19d)]=new _0x2744b9({'focusables':this[_0x26d79e(0x1af)],'focusTracker':this[_0x26d79e(0x19c)],'keystrokeHandler':this[_0x26d79e(0x193)],'actions':{'focusPrevious':_0x26d79e(0x195),'focusNext':_0x26d79e(0x1b8)}}),this[_0x26d79e(0x1b6)](_0x26d79e(0x1d5))['to'](this[_0x26d79e(0x1d3)],_0x26d79e(0x1d2),_0x512838=>!!_0x512838),this[_0x26d79e(0x1b6)](_0x26d79e(0x1b2))['to'](this[_0x26d79e(0x1d3)],_0x26d79e(0x1d2),_0x2e2259=>_0x2e2259&&_0x2e2259[_0x26d79e(0x19e)]?this[_0x26d79e(0x1ac)](_0x2e2259[_0x26d79e(0x19e)]):_0x41714c(this[_0x26d79e(0x1a2)],_0x26d79e(0x1b7))),this[_0x26d79e(0x1d0)]({'tag':_0x26d79e(0x1c8),'attributes':{'class':[_0x26d79e(0x1c0)]},'children':[{'tag':_0x26d79e(0x1c8),'attributes':{'class':[_0x26d79e(0x1b5)]},'children':[{'tag':_0x26d79e(0x1c8),'attributes':{'class':[_0x26d79e(0x1ae),_0x3d919e['if'](_0x26d79e(0x1d5),_0x26d79e(0x1b4))]},'children':[this[_0x26d79e(0x1b3)]]}]},{'tag':_0x26d79e(0x1c8),'attributes':{'class':[_0x26d79e(0x1d7)]},'children':[this[_0x26d79e(0x1c5)]]}]});}[_0x4f2956(0x1cc)](){const _0x23378d=_0x4f2956;super[_0x23378d(0x1cc)](),this[_0x23378d(0x19a)](),this[_0x23378d(0x196)]();}[_0x4f2956(0x1ad)](){const _0x499676=_0x4f2956;this[_0x499676(0x19d)][_0x499676(0x1d1)]();}[_0x4f2956(0x1cd)](){const _0x199ff1=_0x4f2956,_0x5ba5f5=new _0x5eb3de(this[_0x199ff1(0x1a2)]);return _0x5ba5f5[_0x199ff1(0x1a6)]=_0x41714c(this[_0x199ff1(0x1a2)],_0x199ff1(0x1a5)),_0x5ba5f5[_0x199ff1(0x1a4)]=_0x41714c(this[_0x199ff1(0x1a2)],_0x199ff1(0x1a5)),_0x5ba5f5[_0x199ff1(0x1be)]=_0x1b3735,_0x5ba5f5[_0x199ff1(0x1b6)](_0x199ff1(0x1d9))['to'](this[_0x199ff1(0x1d3)],_0x199ff1(0x1ce),_0x1bf331=>!_0x1bf331),_0x5ba5f5[_0x199ff1(0x1b6)](_0x199ff1(0x1a1))['to'](this[_0x199ff1(0x1d3)],_0x199ff1(0x1aa),this[_0x199ff1(0x1d3)],_0x199ff1(0x1c6),(_0x413a7a,_0x131aac)=>_0x413a7a&&_0x131aac),_0x5ba5f5['on'](_0x199ff1(0x18e),()=>{const _0x37ba2c=_0x199ff1;this[_0x37ba2c(0x1c7)](_0x37ba2c(0x1ba),this[_0x37ba2c(0x1d3)]['id']);}),_0x5ba5f5;}[_0x4f2956(0x1ac)](_0x5e174e){const _0x3cf4a9=_0x4f2956;if(_0x5e174e[_0x3cf4a9(0x1ab)]<0x96)return _0x5e174e;const _0x3d1c7c=_0x5e174e[_0x3cf4a9(0x18f)]('\x20',0x93);return _0x5e174e[_0x3cf4a9(0x1b9)](0x0,_0x3d1c7c>-0x1?_0x3d1c7c:0x93)+_0x3cf4a9(0x1cb);}[_0x4f2956(0x19a)](){const _0x15b464=_0x4f2956,_0x5e252a=this[_0x15b464(0x1ca)][_0x15b464(0x1a3)](_0x15b464(0x1bf)),_0x1a82d4=_0x5e252a[_0x15b464(0x1a3)](_0x15b464(0x1c3));this[_0x15b464(0x1bb)](_0x5e252a,_0x15b464(0x1d8),()=>{const _0xee5e53=_0x15b464;_0x1a82d4[_0xee5e53(0x1cf)]<_0x1a82d4[_0xee5e53(0x1bd)]&&_0x5e252a[_0xee5e53(0x1d6)][_0xee5e53(0x19f)](_0xee5e53(0x191));}),this[_0x15b464(0x1bb)](_0x5e252a,_0x15b464(0x194),()=>{const _0x5b3f5f=_0x15b464;_0x5e252a[_0x5b3f5f(0x1d6)][_0x5b3f5f(0x199)](_0x5b3f5f(0x191));});}[_0x4f2956(0x196)](){const _0x1beafe=_0x4f2956;this[_0x1beafe(0x193)][_0x1beafe(0x1bb)](this[_0x1beafe(0x1ca)]);for(const _0x407c89 of this[_0x1beafe(0x1af)])this[_0x1beafe(0x19c)][_0x1beafe(0x19f)](_0x407c89[_0x1beafe(0x1ca)]),this[_0x1beafe(0x193)][_0x1beafe(0x1bb)](_0x407c89[_0x1beafe(0x1ca)]);}[_0x4f2956(0x190)](){const _0x519392=_0x4f2956,_0x2b3f17=new _0x5672d3(this[_0x519392(0x1a2)]);return _0x2b3f17[_0x519392(0x1b6)](_0x519392(0x1b2))['to'](this),_0x2b3f17;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b97ae=_0x1326;function _0x1326(_0x168c10,_0x1bb6b9){const _0x535c93=_0x535c();return _0x1326=function(_0x13260e,_0x1ae767){_0x13260e=_0x13260e-0x189;let _0x3cbb31=_0x535c93[_0x13260e];return _0x3cbb31;},_0x1326(_0x168c10,_0x1bb6b9);}(function(_0x48991c,_0x154547){const _0x9f7978=_0x1326,_0x800408=_0x48991c();while(!![]){try{const _0x4023a6=parseInt(_0x9f7978(0x1a7))/0x1*(parseInt(_0x9f7978(0x19b))/0x2)+-parseInt(_0x9f7978(0x198))/0x3+-parseInt(_0x9f7978(0x18c))/0x4+-parseInt(_0x9f7978(0x1a9))/0x5+parseInt(_0x9f7978(0x1a8))/0x6+-parseInt(_0x9f7978(0x1b8))/0x7*(-parseInt(_0x9f7978(0x18a))/0x8)+-parseInt(_0x9f7978(0x1b5))/0x9*(-parseInt(_0x9f7978(0x1ab))/0xa);if(_0x4023a6===_0x154547)break;else _0x800408['push'](_0x800408['shift']());}catch(_0x6ffb3d){_0x800408['push'](_0x800408['shift']());}}}(_0x535c,0xc7a66));function _0x535c(){const _0x54ed73=['setTemplate','771oxDSWr','5445810qMphgP','5575845soLcMM','then','30XtyMPN','focus','some','editor','preventDefault','set','editorReady','value','editorDestroyed','change:showInput','4704741AWGGzm','view','listenTo','7EWQMBy','showInput','ck-comment__input-container--active','extendTemplate','8409256VrhRdH','contains','5910108kDezOc','ck-comment__input-container','commentInputView','delegate','element','editing','showButtons','mousedown','_focusOnNonInteractiveMouseDown','focusTracker','userView','render','4293396Lzgzlj','isFocused','focusCycler','3410VppuHT','ck-thread__input','ck-thread__user','bind','destroy','div','bindTemplate','getDomRoot','filter','createEditor','target'];_0x535c=function(){return _0x54ed73;};return _0x535c();}import{View as _0x971978}from'ckeditor5/src/ui.js';import _0x3a88ab from'./commentinputview.js';import{UserView as _0x2e54ef}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Pt extends _0x971978{constructor(_0x4f11e7,_0x1cdf1c,_0x309919){const _0x45bb69=_0x1326;super(_0x4f11e7),this[_0x45bb69(0x18e)]=new _0x3a88ab(_0x4f11e7,_0x309919),this[_0x45bb69(0x19a)]=this[_0x45bb69(0x18e)][_0x45bb69(0x19a)],this[_0x45bb69(0x18e)][_0x45bb69(0x19e)](_0x45bb69(0x192))['to'](this[_0x45bb69(0x18e)][_0x45bb69(0x195)],_0x45bb69(0x199),this[_0x45bb69(0x18e)],_0x45bb69(0x1b2),(_0x29e80e,_0x235edc)=>_0x29e80e||!!_0x235edc),this[_0x45bb69(0x1b0)](_0x45bb69(0x1b9),!0x1),this['on'](_0x45bb69(0x1b4),()=>{const _0x4deecd=_0x45bb69;this[_0x4deecd(0x1b9)]&&!this[_0x4deecd(0x18e)][_0x4deecd(0x1ae)]&&this[_0x4deecd(0x18e)][_0x4deecd(0x1a4)]();}),this[_0x45bb69(0x18e)][_0x45bb69(0x18f)](_0x45bb69(0x1b1))['to'](this),this[_0x45bb69(0x18e)][_0x45bb69(0x18f)](_0x45bb69(0x1b3))['to'](this),this[_0x45bb69(0x196)]=new _0x2e54ef(_0x4f11e7,_0x1cdf1c),this[_0x45bb69(0x196)][_0x45bb69(0x189)]({'attributes':{'class':_0x45bb69(0x19d),'aria-hidden':!0x0}}),this[_0x45bb69(0x18e)][_0x45bb69(0x189)]({'attributes':{'class':_0x45bb69(0x19c)}}),this[_0x45bb69(0x1a6)]({'tag':_0x45bb69(0x1a0),'attributes':{'class':[_0x45bb69(0x18d),this[_0x45bb69(0x1a1)]['if'](_0x45bb69(0x1b9),_0x45bb69(0x1ba))]},'children':[this[_0x45bb69(0x196)],this[_0x45bb69(0x18e)]]});}[_0x5b97ae(0x197)](){const _0xadc619=_0x5b97ae;super[_0xadc619(0x197)](),this[_0xadc619(0x194)]();}[_0x5b97ae(0x19f)](){const _0x169366=_0x5b97ae;return this[_0x169366(0x18e)][_0x169366(0x19f)]()[_0x169366(0x1aa)](()=>super[_0x169366(0x19f)]());}[_0x5b97ae(0x1ac)](_0x19b542){const _0x5c512b=_0x5b97ae;this[_0x5c512b(0x18e)][_0x5c512b(0x1ac)](_0x19b542);}[_0x5b97ae(0x194)](){const _0x43cd60=_0x5b97ae;this[_0x43cd60(0x1b7)](this[_0x43cd60(0x190)],_0x43cd60(0x193),(_0x159b82,_0x4161f2)=>{const _0x9ce0d9=_0x43cd60,{submitButtonView:_0x1b9e90,cancelButtonView:_0x33f872,editor:_0x5e34ff}=this[_0x9ce0d9(0x18e)];[_0x1b9e90[_0x9ce0d9(0x190)],_0x33f872[_0x9ce0d9(0x190)],_0x5e34ff?_0x5e34ff[_0x9ce0d9(0x191)][_0x9ce0d9(0x1b6)][_0x9ce0d9(0x1a2)]():null][_0x9ce0d9(0x1a3)](_0x435467=>_0x435467)[_0x9ce0d9(0x1ad)](_0xc0aa60=>_0xc0aa60[_0x9ce0d9(0x18b)](_0x4161f2[_0x9ce0d9(0x1a5)]))||(this[_0x9ce0d9(0x1ac)](),_0x4161f2[_0x9ce0d9(0x1af)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5b6b(_0x449857,_0x5ec674){const _0x5b1f3b=_0x5b1f();return _0x5b6b=function(_0x5b6bbc,_0x250f35){_0x5b6bbc=_0x5b6bbc-0x104;let _0x4cbe8d=_0x5b1f3b[_0x5b6bbc];return _0x4cbe8d;},_0x5b6b(_0x449857,_0x5ec674);}const _0x1be365=_0x5b6b;function _0x5b1f(){const _0x1c1468=['Write\x20a\x20comment...','getTemplate','105849GytxjH','Delete\x20comment\x20thread?','querySelector','icon','18sUldaT','render','_cancelAllConfirms','commentsListView','commentThreadInputView','listenTo','actionIndicator','isResolvable','673530YBngXC','ck-thread__container','focusables','_updateArchivedThreadHeader','resolveCommentThread','label','change:archivedAt','archivedAt','isEnabled','stop','then','10JTArGx','ck-thread--remove-confirmation','remove','ck-reset_all-excluded','removeCommentThread','createCollection','extendTemplate','fire','removeButton','add','commentThreadChildren','change:isReadOnly','resolveButton','containerElement','ariaDescriptionView','344FbGwpy','ck-thread--unlinked','check','commentThreadHeaderView','ariaLabel','locale','Resolve','element','bind','isConfirm','ck-thread--active','set','isReadOnly','_boundFirstCommentView','.ck-thread__container','isActive','div','1938124gZHVzI','execute','5AvxRbt','focus','ck-thread--','length','listitem','5052500TpgnFx','712495mOXxeQ','high','placeholder','3652198mKbEVU','isUnlinked','isVisible','67205ovcDGs','bindTemplate','unbind','setTemplate','showConfirm','ck-rounded-corners','actionBar','change:isActive','isSystemComment','isResolved','_createResolveButton','cancelConfirm','removeConfirm','ck-thread','ck-comment--resolve','has','commentViews','_bindFirstCommentView','get','_model','tooltip'];_0x5b1f=function(){return _0x1c1468;};return _0x5b1f();}(function(_0x8a22f9,_0x228f74){const _0x38f427=_0x5b6b,_0x47dff1=_0x8a22f9();while(!![]){try{const _0x3345fb=-parseInt(_0x38f427(0x144))/0x1*(parseInt(_0x38f427(0x116))/0x2)+parseInt(_0x38f427(0x10b))/0x3+parseInt(_0x38f427(0x136))/0x4*(parseInt(_0x38f427(0x138))/0x5)+-parseInt(_0x38f427(0x15f))/0x6*(-parseInt(_0x38f427(0x13e))/0x7)+-parseInt(_0x38f427(0x125))/0x8*(parseInt(_0x38f427(0x15b))/0x9)+parseInt(_0x38f427(0x13d))/0xa+-parseInt(_0x38f427(0x141))/0xb;if(_0x3345fb===_0x228f74)break;else _0x47dff1['push'](_0x47dff1['shift']());}catch(_0x58d112){_0x47dff1['push'](_0x47dff1['shift']());}}}(_0x5b1f,0x54718));import{ConfirmMixin as _0x270b5c,LateFocusButtonView as _0x3ecacd}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x51e396}from'ckeditor5/src/core.js';import _0x5dcc49 from'./basecommentthreadview.js';import{getTranslation as _0x2bc050}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x270b5c(_0x5dcc49){constructor(_0x5409fc,_0x3afecc,_0xd31ddb,_0x249b37){const _0x2425e8=_0x5b6b;super(_0x5409fc,_0x3afecc,_0xd31ddb,_0x249b37),this[_0x2425e8(0x120)]=this[_0x2425e8(0x11b)]([this[_0x2425e8(0x106)],this[_0x2425e8(0x107)],this[_0x2425e8(0x124)]]),this[_0x2425e8(0x130)](_0x2425e8(0x109),null),this[_0x2425e8(0x123)]=null,this[_0x2425e8(0x132)]=null,this[_0x2425e8(0x12a)]=_0x5409fc,this[_0x2425e8(0x122)]=this[_0x2425e8(0x14e)](),this[_0x2425e8(0x147)](this[_0x2425e8(0x15a)]()),this['on'](_0x2425e8(0x14b),(_0x467b31,_0x299cfa,_0xb9eca2)=>{const _0x24f293=_0x2425e8;_0xb9eca2||this[_0x24f293(0x105)]();}),this[_0x2425e8(0x108)](this[_0x2425e8(0x157)],_0x2425e8(0x121),(_0x32dcc7,_0x5b60c3,_0x40091e)=>{const _0x475b10=_0x2425e8;_0x40091e&&this[_0x475b10(0x105)]();}),this[_0x2425e8(0x13b)]>0x0&&this[_0x2425e8(0x155)](),this[_0x2425e8(0x108)](this[_0x2425e8(0x106)][_0x2425e8(0x154)],_0x2425e8(0x11f),()=>{const _0x3380aa=_0x2425e8;this[_0x3380aa(0x155)]();});}[_0x1be365(0x15a)](){const _0x5b82d8=_0x1be365,_0x4f9dc1=this[_0x5b82d8(0x145)];return{'tag':_0x5b82d8(0x135),'attributes':{'class':['ck',_0x5b82d8(0x151),_0x5b82d8(0x119),_0x5b82d8(0x149),_0x4f9dc1['if'](_0x5b82d8(0x134),_0x5b82d8(0x12f)),_0x4f9dc1['if'](_0x5b82d8(0x142),_0x5b82d8(0x126)),_0x4f9dc1['if'](_0x5b82d8(0x12e),_0x5b82d8(0x117)),_0x4f9dc1['to'](_0x5b82d8(0x109),_0x46b1dc=>_0x46b1dc?_0x5b82d8(0x13a)+_0x46b1dc:'')],'data-thread-id':this[_0x5b82d8(0x157)]['id'],'tabindex':0x0,'role':_0x5b82d8(0x13c),'aria-label':_0x4f9dc1['to'](_0x5b82d8(0x129)),'aria-describedby':this[_0x5b82d8(0x124)]['id']},'children':[{'tag':_0x5b82d8(0x135),'attributes':{'class':_0x5b82d8(0x10c)},'children':this[_0x5b82d8(0x120)]}]};}[_0x1be365(0x104)](){const _0x34a403=_0x1be365;super[_0x34a403(0x104)](),this[_0x34a403(0x123)]=this[_0x34a403(0x12c)][_0x34a403(0x15d)](_0x34a403(0x133)),this[_0x34a403(0x157)]['on'](_0x34a403(0x111),()=>{const _0x531520=_0x34a403;this[_0x531520(0x10e)]();}),this[_0x34a403(0x10e)]();}[_0x1be365(0x105)](){const _0x79087d=_0x1be365;this[_0x79087d(0x14f)]();for(const _0x54daf3 of this[_0x79087d(0x106)][_0x79087d(0x154)])_0x54daf3[_0x79087d(0x14f)]();}[_0x1be365(0x155)](){const _0x5c1c80=_0x1be365,{locale:_0x3e8cd0}=this,_0x5a22ad=this[_0x5c1c80(0x106)][_0x5c1c80(0x154)][_0x5c1c80(0x156)](0x0);_0x5a22ad===this[_0x5c1c80(0x132)]||_0x5a22ad[_0x5c1c80(0x14c)]||(this[_0x5c1c80(0x132)]=_0x5a22ad,this[_0x5c1c80(0x146)](_0x5c1c80(0x109)),this[_0x5c1c80(0x12d)](_0x5c1c80(0x109))['to'](_0x5a22ad,_0x5c1c80(0x109),_0x19c98a=>_0x5c1c80(0x118)===_0x19c98a?_0x5c1c80(0x118):null),_0x5a22ad[_0x5c1c80(0x140)]=_0x2bc050(_0x3e8cd0,_0x5c1c80(0x159)),_0x5a22ad[_0x5c1c80(0x11e)]['on'](_0x5c1c80(0x137),_0x439fd6=>{const _0x225eab=_0x5c1c80;_0x439fd6[_0x225eab(0x114)](),this[_0x225eab(0x148)](_0x2bc050(_0x3e8cd0,_0x225eab(0x15c)),this[_0x225eab(0x123)])[_0x225eab(0x115)](()=>{const _0x416a5f=_0x225eab;this[_0x416a5f(0x11d)](_0x416a5f(0x11a));});},{'priority':_0x5c1c80(0x13f)}),this['on'](_0x5c1c80(0x150),()=>{const _0x596e1b=_0x5c1c80;_0x5a22ad[_0x596e1b(0x139)]();}),_0x5a22ad[_0x5c1c80(0x14a)][_0x5c1c80(0x11f)](this[_0x5c1c80(0x122)],0x0),_0x5a22ad[_0x5c1c80(0x10d)][_0x5c1c80(0x11f)](this[_0x5c1c80(0x122)],0x0));}[_0x1be365(0x14e)](){const _0x39e8fd=_0x1be365,_0x486c02=new _0x3ecacd(this[_0x39e8fd(0x12a)]);return _0x486c02[_0x39e8fd(0x110)]=_0x2bc050(this[_0x39e8fd(0x12a)],_0x39e8fd(0x12b)),_0x486c02[_0x39e8fd(0x158)]=_0x2bc050(this[_0x39e8fd(0x12a)],_0x39e8fd(0x12b)),_0x486c02[_0x39e8fd(0x15e)]=_0x51e396[_0x39e8fd(0x127)],_0x486c02[_0x39e8fd(0x11c)]({'attributes':{'class':_0x39e8fd(0x152)}}),_0x486c02[_0x39e8fd(0x12d)](_0x39e8fd(0x113))['to'](this[_0x39e8fd(0x157)],_0x39e8fd(0x131),_0x29ad85=>!_0x29ad85),_0x486c02[_0x39e8fd(0x12d)](_0x39e8fd(0x143))['to'](this[_0x39e8fd(0x157)],_0x39e8fd(0x10a),this[_0x39e8fd(0x157)],_0x39e8fd(0x14d),(_0xab095a,_0x382e27)=>_0xab095a&&!_0x382e27),_0x486c02['on'](_0x39e8fd(0x137),()=>{const _0x3e8485=_0x39e8fd;this[_0x3e8485(0x11d)](_0x3e8485(0x10f),this[_0x3e8485(0x157)]['id']);}),_0x486c02;}[_0x1be365(0x10e)](){const _0x3cea5b=_0x1be365;this[_0x3cea5b(0x157)][_0x3cea5b(0x112)]?this[_0x3cea5b(0x120)][_0x3cea5b(0x153)](this[_0x3cea5b(0x128)])||(this[_0x3cea5b(0x120)][_0x3cea5b(0x11f)](this[_0x3cea5b(0x128)],0x0),this[_0x3cea5b(0x10d)][_0x3cea5b(0x11f)](this[_0x3cea5b(0x128)],0x0)):this[_0x3cea5b(0x120)][_0x3cea5b(0x153)](this[_0x3cea5b(0x128)])&&(this[_0x3cea5b(0x120)][_0x3cea5b(0x118)](this[_0x3cea5b(0x128)]),this[_0x3cea5b(0x10d)][_0x3cea5b(0x118)](this[_0x3cea5b(0x128)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5919(){const _0x26ff79=['author','isEditMode','length','buttonView','ck-annotation__actions','span','label','ck-comment--edit','477mvGIMD','userView','removeButton','ck-hidden','createCollection','getUserViewNotificationText','ck-annotation__main','ck-annotation__info-name','913782snAkTF','_model','ck-comment--info','fire','execute','actionBar','ck-comment__user','_createEditButton','isVisible','locale','ck-annotation__user','remove','editButton','_createRemoveButton','showConfirm','ck-comment','addMany','items','Delete\x20comment?','_attachActions','placeholder','mouseleave','formatDateTime','1747698NgCLuz','ck-comment__wrapper','then','unbind','isExternal','div','from','_config','panelView','some','ck-annotation__content-wrapper','add','removeComment','focus','extendTemplate','ck-annotation__info-time','listitem','Remove','170810CcGCUl','render','mouseenter','icon','cancelConfirm','_createCommentInputView','ck-comment__info','group','ck-comment--remove','switchToEditMode','1935609YAIPTD','ck-comment__actions','_createDropdown','bind','Edit','ck-comment--remove-confirmation','4CksYyn','blur','threeVerticalDots','ck-comment__info-name','pencil','Show\x20more\x20items','set','visibleView','ariaLabel','isSystemComment','Reply...','ck-comment__info-time','ck-comment__external','name','authoredAt','children','ck-annotation__info','ck-comment--','withText','resolvedAt','setTemplate','isRemovable','focusables','ck-annotation','panelPosition','isEnabled','dropdown','time','ck-comment__main','ck-comment__actions--hidden','getTemplate','14hedzUq','isConfirm','ck-annotation__actions--hidden','getExternalCommentNote','ariaDescriptionView','723100fXZFfT','toMany','2656480LGTirF','listenTo','268726EgalYJ','push','element','actionIndicator','find','isEditable','isReadOnly','change:isRemovable','bindTemplate','edit'];_0x5919=function(){return _0x26ff79;};return _0x5919();}const _0x14cf49=_0x5764;(function(_0x431682,_0x3a97c0){const _0x10c596=_0x5764,_0x512f37=_0x431682();while(!![]){try{const _0x17ec2e=parseInt(_0x10c596(0x13e))/0x1+-parseInt(_0x10c596(0x124))/0x2+parseInt(_0x10c596(0x171))/0x3*(-parseInt(_0x10c596(0x177))/0x4)+-parseInt(_0x10c596(0x120))/0x5+parseInt(_0x10c596(0x155))/0x6+parseInt(_0x10c596(0x11b))/0x7*(-parseInt(_0x10c596(0x122))/0x8)+-parseInt(_0x10c596(0x136))/0x9*(-parseInt(_0x10c596(0x167))/0xa);if(_0x17ec2e===_0x3a97c0)break;else _0x512f37['push'](_0x512f37['shift']());}catch(_0x1d0cb){_0x512f37['push'](_0x512f37['shift']());}}}(_0x5919,0x7f744));import{ButtonView as _0x8a62d6,createDropdown as _0x2cba3d,ListView as _0x11b667,ListItemView as _0x48907c,focusChildOnDropdownOpen as _0x5eca69}from'ckeditor5/src/ui.js';import{icons as _0x1ae21d}from'ckeditor5/src/core.js';import{UserView as _0xcc5e53,ConfirmMixin as _0x58c0e5,LateFocusDropdownButtonView as _0xa3221}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x267710 from'./basecommentview.js';function _0x5764(_0x33ed35,_0x225524){const _0x591994=_0x5919();return _0x5764=function(_0x57647b,_0x1375af){_0x57647b=_0x57647b-0x109;let _0x865a75=_0x591994[_0x57647b];return _0x865a75;},_0x5764(_0x33ed35,_0x225524);}import _0x35a93f from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4ecb2e}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58c0e5(_0x267710){constructor(_0x3e4887,_0x5933e5,_0x33e6b3){const _0x4c1ac4=_0x5764;super(_0x3e4887,_0x5933e5,_0x33e6b3),this[_0x4c1ac4(0x17d)](_0x4c1ac4(0x127),null),this[_0x4c1ac4(0x17d)](_0x4c1ac4(0x152),_0x4ecb2e(_0x3e4887,_0x4c1ac4(0x181))),this[_0x4c1ac4(0x174)](_0x4c1ac4(0x10a))['to'](_0x5933e5),this[_0x4c1ac4(0x174)](_0x4c1ac4(0x10f))['to'](_0x5933e5),this[_0x4c1ac4(0x143)]=this[_0x4c1ac4(0x13a)](),this[_0x4c1ac4(0x180)]||(this[_0x4c1ac4(0x14a)]=this[_0x4c1ac4(0x145)](),this[_0x4c1ac4(0x138)]=this[_0x4c1ac4(0x14b)](),this[_0x4c1ac4(0x14f)]=this[_0x4c1ac4(0x13a)](),this[_0x4c1ac4(0x14f)][_0x4c1ac4(0x14e)]([this[_0x4c1ac4(0x14a)],this[_0x4c1ac4(0x138)]]),this[_0x4c1ac4(0x116)]=this[_0x4c1ac4(0x173)](),this[_0x4c1ac4(0x143)][_0x4c1ac4(0x160)](this[_0x4c1ac4(0x116)]),this[_0x4c1ac4(0x112)][_0x4c1ac4(0x160)](this[_0x4c1ac4(0x116)])),this[_0x4c1ac4(0x137)]=new _0xcc5e53(_0x3e4887,_0x5933e5[_0x4c1ac4(0x12e)],this[_0x4c1ac4(0x13b)]()),this[_0x4c1ac4(0x137)][_0x4c1ac4(0x163)]({'attributes':{'class':[_0x4c1ac4(0x144),_0x4c1ac4(0x148)],'aria-hidden':!0x0}}),this[_0x4c1ac4(0x123)](_0x5933e5,_0x4c1ac4(0x12b),()=>this[_0x4c1ac4(0x16b)]()),this[_0x4c1ac4(0x110)](this[_0x4c1ac4(0x11a)]());}[_0x14cf49(0x11a)](){const _0x456f69=_0x14cf49,_0x20fa31=this[_0x456f69(0x12c)],_0x290c7a=[{'tag':_0x456f69(0x15a),'attributes':{'class':[_0x456f69(0x16d),_0x456f69(0x10c)]},'children':[{'tag':_0x456f69(0x133),'children':[{'text':this[_0x456f69(0x137)][_0x456f69(0x109)]}],'attributes':{'class':[_0x456f69(0x17a),_0x456f69(0x13d)]}},{'tag':_0x456f69(0x117),'attributes':{'datetime':_0x20fa31['to'](_0x456f69(0x10a)),'class':[_0x456f69(0x182),_0x456f69(0x164)]},'children':[{'text':_0x20fa31['to'](_0x456f69(0x10a),_0x2e74dc=>this[_0x456f69(0x15c)][_0x456f69(0x154)](_0x2e74dc))}]}]},{'tag':_0x456f69(0x15a),'attributes':{'class':[_0x456f69(0x172),_0x456f69(0x132),_0x20fa31['if'](_0x456f69(0x12f),_0x456f69(0x119)),_0x20fa31['if'](_0x456f69(0x12f),_0x456f69(0x11d))]},'children':this[_0x456f69(0x143)]},{'tag':_0x456f69(0x15a),'attributes':{'class':[_0x456f69(0x15f)]},'children':this[_0x456f69(0x17e)]},this[_0x456f69(0x11f)]];return this[_0x456f69(0x13f)][_0x456f69(0x159)]&&_0x290c7a[_0x456f69(0x125)]({'tag':_0x456f69(0x15a),'attributes':{'class':[_0x456f69(0x183)]},'children':[{'text':this[_0x456f69(0x11e)]()}]}),{'tag':'li','attributes':{'class':[_0x456f69(0x156),_0x20fa31['if'](_0x456f69(0x11c),_0x456f69(0x176))],'tabindex':-0x1,'aria-label':_0x20fa31['to'](_0x456f69(0x17f)),'aria-describedby':this[_0x456f69(0x11f)]['id'],'role':_0x456f69(0x165)},'children':[{'tag':_0x456f69(0x15a),'attributes':{'class':[_0x456f69(0x14d),_0x456f69(0x113),_0x20fa31['if'](_0x456f69(0x12f),_0x456f69(0x135)),_0x20fa31['if'](_0x456f69(0x180),_0x456f69(0x140)),_0x20fa31['to'](_0x456f69(0x127),_0x4bc43d=>_0x4bc43d?_0x456f69(0x10d)+_0x4bc43d:'')],'data-author-id':this[_0x456f69(0x13f)][_0x456f69(0x12e)]['id'],'data-comment-id':this[_0x456f69(0x13f)]['id'],'role':_0x456f69(0x16e)},'children':[this[_0x456f69(0x137)],{'tag':_0x456f69(0x15a),'attributes':{'class':[_0x456f69(0x118),_0x456f69(0x13c)]},'children':_0x290c7a}]}]};}[_0x14cf49(0x145)](){const _0x274dee=_0x14cf49,_0x14e822=new _0x8a62d6(this[_0x274dee(0x147)]);return _0x14e822[_0x274dee(0x134)]=_0x4ecb2e(this[_0x274dee(0x147)],_0x274dee(0x175)),_0x14e822[_0x274dee(0x16a)]=_0x1ae21d[_0x274dee(0x17b)],_0x14e822[_0x274dee(0x10e)]=!0x0,_0x14e822[_0x274dee(0x163)]({'attributes':{'class':_0x274dee(0x135)}}),_0x14e822[_0x274dee(0x174)](_0x274dee(0x115))['to'](this[_0x274dee(0x13f)],_0x274dee(0x12a),_0x24f85f=>!_0x24f85f),_0x14e822[_0x274dee(0x174)](_0x274dee(0x146))['to'](this[_0x274dee(0x13f)],_0x274dee(0x129)),_0x14e822['on'](_0x274dee(0x142),()=>this[_0x274dee(0x170)]()),_0x14e822;}[_0x14cf49(0x14b)](){const _0x5f4570=_0x14cf49,_0x6bb60c=new _0x8a62d6(this[_0x5f4570(0x147)]);return _0x6bb60c[_0x5f4570(0x134)]=_0x4ecb2e(this[_0x5f4570(0x147)],_0x5f4570(0x166)),_0x6bb60c[_0x5f4570(0x16a)]=_0x35a93f,_0x6bb60c[_0x5f4570(0x10e)]=!0x0,_0x6bb60c[_0x5f4570(0x163)]({'attributes':{'class':_0x5f4570(0x16f)}}),_0x6bb60c[_0x5f4570(0x174)](_0x5f4570(0x115))['to'](this[_0x5f4570(0x13f)],_0x5f4570(0x12a),_0x2e317d=>!_0x2e317d),_0x6bb60c[_0x5f4570(0x174)](_0x5f4570(0x146))['to'](this[_0x5f4570(0x13f)],_0x5f4570(0x111)),_0x6bb60c['on'](_0x5f4570(0x142),()=>{const _0x186cef=_0x5f4570;this[_0x186cef(0x14c)](_0x4ecb2e(this[_0x186cef(0x147)],_0x186cef(0x150)),this[_0x186cef(0x126)])[_0x186cef(0x157)](()=>{const _0x259a90=_0x186cef;this[_0x259a90(0x141)](_0x259a90(0x161),this[_0x259a90(0x13f)]['id']);});}),_0x6bb60c;}[_0x14cf49(0x173)](){const _0x58ddf9=_0x14cf49,_0x56fb50=_0x2cba3d(this[_0x58ddf9(0x147)],_0xa3221),_0x3bbb98=_0x56fb50[_0x58ddf9(0x15d)][_0x58ddf9(0x10b)],_0x1af897=new _0x11b667(this[_0x58ddf9(0x147)]),_0x55f1f4=_0x56fb50[_0x58ddf9(0x12c)];_0x5eca69(_0x56fb50,()=>this[_0x58ddf9(0x14f)][_0x58ddf9(0x128)](_0x174afd=>_0x174afd[_0x58ddf9(0x146)])),_0x56fb50[_0x58ddf9(0x163)]({'attributes':{'class':[_0x55f1f4['if'](_0x58ddf9(0x146),_0x58ddf9(0x139),_0x36deae=>!_0x36deae)]}});const _0x35ded4=(_0x488538,_0x3d18b3=-0x1)=>{const _0x5b496c=_0x58ddf9,_0x59d40b=new _0x48907c(this[_0x5b496c(0x147)]);_0x59d40b[_0x5b496c(0x10b)][_0x5b496c(0x160)](_0x488538);const _0x4cdaf4=_0x3d18b3>-0x1?_0x3d18b3:_0x1af897[_0x5b496c(0x14f)][_0x5b496c(0x130)];_0x1af897[_0x5b496c(0x14f)][_0x5b496c(0x160)](_0x59d40b,_0x4cdaf4);const _0x95b13f=Array[_0x5b496c(0x15b)](this[_0x5b496c(0x14f)]);_0x56fb50[_0x5b496c(0x158)](_0x5b496c(0x115),_0x5b496c(0x146)),_0x56fb50[_0x5b496c(0x174)](_0x5b496c(0x115))[_0x5b496c(0x121)](_0x95b13f,_0x5b496c(0x115),(..._0x447e99)=>_0x447e99[_0x5b496c(0x15e)](_0x4f5173=>_0x4f5173)),_0x56fb50[_0x5b496c(0x174)](_0x5b496c(0x146))[_0x5b496c(0x121)](_0x95b13f,_0x5b496c(0x146),(..._0x11f02c)=>_0x11f02c[_0x5b496c(0x15e)](_0x44089c=>_0x44089c));};_0x56fb50[_0x58ddf9(0x114)]='sw',_0x56fb50[_0x58ddf9(0x131)][_0x58ddf9(0x17d)]({'label':_0x4ecb2e(this[_0x58ddf9(0x147)],_0x58ddf9(0x17c)),'icon':_0x1ae21d[_0x58ddf9(0x179)]});for(const _0x559e39 of this[_0x58ddf9(0x14f)])_0x35ded4(_0x559e39);return _0x3bbb98[_0x58ddf9(0x160)](_0x1af897),_0x56fb50[_0x58ddf9(0x123)](this[_0x58ddf9(0x14f)],_0x58ddf9(0x160),(_0x255224,_0x1b9d05,_0x43698c)=>{_0x35ded4(_0x1b9d05,_0x43698c);}),_0x56fb50[_0x58ddf9(0x123)](this[_0x58ddf9(0x14f)],_0x58ddf9(0x149),(_0x3c2ffe,_0x331c97,_0x2f0166)=>{const _0x36c439=_0x58ddf9;_0x1af897[_0x36c439(0x14f)][_0x36c439(0x149)](_0x2f0166);}),_0x56fb50;}[_0x14cf49(0x151)](_0x8129fc,_0x74936c){const _0x431db9=_0x14cf49,_0x23c47b=_0x8129fc&&_0x8129fc[_0x431db9(0x126)];_0x23c47b&&(this[_0x431db9(0x123)](_0x23c47b,_0x431db9(0x169),()=>this[_0x431db9(0x127)]=_0x74936c),this[_0x431db9(0x123)](_0x23c47b,_0x431db9(0x162),()=>this[_0x431db9(0x127)]=_0x74936c),this[_0x431db9(0x123)](_0x23c47b,_0x431db9(0x153),()=>this[_0x431db9(0x127)]=null),this[_0x431db9(0x123)](_0x23c47b,_0x431db9(0x178),()=>this[_0x431db9(0x127)]=null));}[_0x14cf49(0x16c)](){const _0x3bba5e=_0x14cf49,_0x392f6f=super[_0x3bba5e(0x16c)]();return _0x392f6f[_0x3bba5e(0x174)](_0x3bba5e(0x152))['to'](this),_0x392f6f;}[_0x14cf49(0x168)](){const _0x5dd8fc=_0x14cf49;super[_0x5dd8fc(0x168)](),this[_0x5dd8fc(0x151)](this[_0x5dd8fc(0x14a)],_0x5dd8fc(0x12d)),this[_0x5dd8fc(0x151)](this[_0x5dd8fc(0x138)],_0x5dd8fc(0x149));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5327ce=_0x34fb;(function(_0x5782e6,_0x44985e){var _0x37d5d7=_0x34fb,_0x21fecc=_0x5782e6();while(!![]){try{var _0x190020=parseInt(_0x37d5d7(0xe0))/0x1*(-parseInt(_0x37d5d7(0xd9))/0x2)+parseInt(_0x37d5d7(0xe3))/0x3*(parseInt(_0x37d5d7(0xe5))/0x4)+parseInt(_0x37d5d7(0xe4))/0x5+-parseInt(_0x37d5d7(0xe7))/0x6*(-parseInt(_0x37d5d7(0xe1))/0x7)+parseInt(_0x37d5d7(0xde))/0x8+-parseInt(_0x37d5d7(0xdb))/0x9+-parseInt(_0x37d5d7(0xda))/0xa;if(_0x190020===_0x44985e)break;else _0x21fecc['push'](_0x21fecc['shift']());}catch(_0x3bfa50){_0x21fecc['push'](_0x21fecc['shift']());}}}(_0x7ab8,0x89e4c));import{Plugin as _0x1e34c5}from'ckeditor5/src/core.js';import _0x3e0742 from'./comments/commentsrepository.js';import _0x27a425 from'./comments/commentsediting.js';function _0x34fb(_0x2b0d88,_0x3fe8d0){var _0x7ab8f0=_0x7ab8();return _0x34fb=function(_0x34fb7a,_0x205fd3){_0x34fb7a=_0x34fb7a-0xd9;var _0x2c371b=_0x7ab8f0[_0x34fb7a];return _0x2c371b;},_0x34fb(_0x2b0d88,_0x3fe8d0);}import _0xe26cf0 from'./comments/commentsui.js';import _0x24b6f1 from'./commentsonly.js';import _0x5b2a03 from'./annotations/widesidebar.js';import _0x3273ec from'./annotations/narrowsidebar.js';import _0x27b934 from'./annotations/inlineannotations.js';import _0x37fb7c from'./comments/commentsarchiveui.js';import _0x2b52b6 from'./comments/commentsarchive.js';function _0x7ab8(){var _0x56ba74=['10677AqqSZB','5583380ZFmzTy','764QzTJkx','requires','6pJmeUl','16WmrTss','19820270jVQLOA','4001454NWwuVb','isPremiumPlugin','isOfficialPlugin','8729688oOjiTZ','pluginName','7619wVwTRG','1153187IWcvZa','Comments'];_0x7ab8=function(){return _0x56ba74;};return _0x7ab8();}export default class p extends _0x1e34c5{static get[_0x5327ce(0xe6)](){return[_0x3e0742,_0x27a425,_0xe26cf0,_0x2b52b6,_0x37fb7c,_0x24b6f1,_0x5b2a03,_0x3273ec,_0x27b934];}static get[_0x5327ce(0xdf)](){var _0x1808a4=_0x5327ce;return _0x1808a4(0xe2);}static get[_0x5327ce(0xdd)](){return!0x0;}static get[_0x5327ce(0xdc)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40f3cd=_0x5cb3;function _0x5cb3(_0x2eafb9,_0x122ba9){const _0x1e873e=_0x1e87();return _0x5cb3=function(_0x5cb39f,_0x18f2b8){_0x5cb39f=_0x5cb39f-0x181;let _0xfd2a9e=_0x1e873e[_0x5cb39f];return _0xfd2a9e;},_0x5cb3(_0x2eafb9,_0x122ba9);}function _0x1e87(){const _0x136e1a=['get','addCommentThread','commentsOnly','8wvOtJz','has','afterInit','CommentsOnly','affectsData','editing','stopListening','_enableCommentsOnlyMode','372421OOffku','DragDrop','446342pyafQB','forceDisabled','_disableCommentsOnlyMode','16744mVmuCQ','highest','173814iGIOjj','view','isEnabled','plugins','clearForceDisabled','isOfficialPlugin','commands','document','config','requires','commentsOnlyMode','12dgUEgu','clipboardInput','cut','delete','listenTo','241455BppSYb','253705KpWPpr','set','pluginName','editor','stop','5697540hpwejC','isPremiumPlugin','change:isEnabled'];_0x1e87=function(){return _0x136e1a;};return _0x1e87();}(function(_0x5cb2f4,_0x5dd07c){const _0x175397=_0x5cb3,_0x419543=_0x5cb2f4();while(!![]){try{const _0x53d598=-parseInt(_0x175397(0x182))/0x1+-parseInt(_0x175397(0x185))/0x2+-parseInt(_0x175397(0x197))/0x3+parseInt(_0x175397(0x192))/0x4*(parseInt(_0x175397(0x198))/0x5)+parseInt(_0x175397(0x187))/0x6+-parseInt(_0x175397(0x1ab))/0x7*(parseInt(_0x175397(0x1a3))/0x8)+parseInt(_0x175397(0x19d))/0x9;if(_0x53d598===_0x5dd07c)break;else _0x419543['push'](_0x419543['shift']());}catch(_0xda7ff2){_0x419543['push'](_0x419543['shift']());}}}(_0x1e87,0x3723a));import{Plugin as _0x2b2a43}from'ckeditor5/src/core.js';import _0x58d718 from'./comments/commentsediting.js';export default class s extends _0x2b2a43{static get[_0x40f3cd(0x19a)](){const _0x1947bc=_0x40f3cd;return _0x1947bc(0x1a6);}static get[_0x40f3cd(0x18c)](){return!0x0;}static get[_0x40f3cd(0x19e)](){return!0x0;}static get[_0x40f3cd(0x190)](){return[_0x58d718];}constructor(_0x13cd5b){const _0x2bc840=_0x40f3cd;super(_0x13cd5b),this[_0x2bc840(0x199)](_0x2bc840(0x189),!0x1),this['on'](_0x2bc840(0x19f),(_0x3be7fb,_0x29f245,_0x232142)=>{const _0x15bd2b=_0x2bc840;_0x232142?this[_0x15bd2b(0x1aa)]():this[_0x15bd2b(0x184)]();});}[_0x40f3cd(0x1a5)](){const _0x1cf1b2=_0x40f3cd;!this[_0x1cf1b2(0x189)]&&this[_0x1cf1b2(0x19b)][_0x1cf1b2(0x18f)][_0x1cf1b2(0x1a0)](_0x1cf1b2(0x1a2))&&(this[_0x1cf1b2(0x189)]=!0x0);}[_0x40f3cd(0x1aa)](){const _0x5de601=_0x40f3cd;for(const [_0x39cbe1,_0x162649]of this[_0x5de601(0x19b)][_0x5de601(0x18d)])_0x162649[_0x5de601(0x1a7)]&&_0x5de601(0x1a1)!==_0x39cbe1&&_0x162649[_0x5de601(0x183)](_0x5de601(0x191));this[_0x5de601(0x19b)][_0x5de601(0x18a)][_0x5de601(0x1a4)](_0x5de601(0x181))&&this[_0x5de601(0x19b)][_0x5de601(0x18a)][_0x5de601(0x1a0)](_0x5de601(0x181))[_0x5de601(0x183)](_0x5de601(0x191));const _0x398f56=this[_0x5de601(0x19b)][_0x5de601(0x1a8)][_0x5de601(0x188)][_0x5de601(0x18e)];this[_0x5de601(0x196)](_0x398f56,_0x5de601(0x194),_0x193e9d=>_0x193e9d[_0x5de601(0x19c)](),{'priority':_0x5de601(0x186)}),this[_0x5de601(0x196)](_0x398f56,_0x5de601(0x193),_0x5c8962=>_0x5c8962[_0x5de601(0x19c)](),{'priority':_0x5de601(0x186)}),this[_0x5de601(0x196)](_0x398f56,_0x5de601(0x195),_0x3d0d55=>_0x3d0d55[_0x5de601(0x19c)](),{'priority':_0x5de601(0x186)});}[_0x40f3cd(0x184)](){const _0x531891=_0x40f3cd;for(const [_0x2ff16a,_0x18dcf1]of this[_0x531891(0x19b)][_0x531891(0x18d)])_0x18dcf1[_0x531891(0x1a7)]&&_0x531891(0x1a1)!==_0x2ff16a&&_0x18dcf1[_0x531891(0x18b)](_0x531891(0x191));this[_0x531891(0x1a9)](this[_0x531891(0x19b)][_0x531891(0x1a8)][_0x531891(0x188)][_0x531891(0x18e)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xcbf4d3,_0x46dea9){var _0xd66e6=_0x2dd9,_0x335284=_0xcbf4d3();while(!![]){try{var _0x2ae627=parseInt(_0xd66e6(0x196))/0x1+parseInt(_0xd66e6(0x193))/0x2*(parseInt(_0xd66e6(0x198))/0x3)+parseInt(_0xd66e6(0x19c))/0x4+parseInt(_0xd66e6(0x19b))/0x5*(-parseInt(_0xd66e6(0x195))/0x6)+-parseInt(_0xd66e6(0x194))/0x7*(parseInt(_0xd66e6(0x197))/0x8)+parseInt(_0xd66e6(0x19a))/0x9+parseInt(_0xd66e6(0x199))/0xa;if(_0x2ae627===_0x46dea9)break;else _0x335284['push'](_0x335284['shift']());}catch(_0x4ba1ed){_0x335284['push'](_0x335284['shift']());}}}(_0xda5e,0xe5826));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';function _0xda5e(){var _0xd0e222=['24132qfnqff','609076ZObfgj','8MRpbcH','78ADAguh','1206650qbUXnZ','7873686ZiYYex','1910ZSjbNT','7039400JFZfZr','47074YHzidS','10499531pPZJfL'];_0xda5e=function(){return _0xd0e222;};return _0xda5e();}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';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';function _0x2dd9(_0x346514,_0x5a3b1b){var _0xda5e58=_0xda5e();return _0x2dd9=function(_0x2dd956,_0x881d8d){_0x2dd956=_0x2dd956-0x193;var _0x126ee0=_0xda5e58[_0x2dd956];return _0x126ee0;},_0x2dd9(_0x346514,_0x5a3b1b);}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(_0x2304a9,_0x1a9be5,_0x8065f5){const t=_0x2304a9['t'];switch(_0x1a9be5){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'},_0x8065f5);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'},_0x8065f5);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'},_0x8065f5);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'},_0x8065f5);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x8065f5);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'},_0x8065f5);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'},_0x8065f5);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'},_0x8065f5);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(_0x9c0947,_0x311184){const _0x5df86d=_0x39b9,_0x5c9286=_0x9c0947();while(!![]){try{const _0x58bae6=parseInt(_0x5df86d(0xca))/0x1*(parseInt(_0x5df86d(0xc8))/0x2)+-parseInt(_0x5df86d(0xc2))/0x3+parseInt(_0x5df86d(0xc7))/0x4*(-parseInt(_0x5df86d(0xc5))/0x5)+-parseInt(_0x5df86d(0xbf))/0x6+-parseInt(_0x5df86d(0xc6))/0x7*(-parseInt(_0x5df86d(0xb8))/0x8)+-parseInt(_0x5df86d(0xc9))/0x9*(parseInt(_0x5df86d(0xbb))/0xa)+-parseInt(_0x5df86d(0xcb))/0xb*(-parseInt(_0x5df86d(0xc0))/0xc);if(_0x58bae6===_0x311184)break;else _0x5c9286['push'](_0x5c9286['shift']());}catch(_0x2e9b92){_0x5c9286['push'](_0x5c9286['shift']());}}}(_0x2cc9,0x4ad60));import{throttle as _0x4ee741}from'lodash-es';function _0x39b9(_0x174f73,_0x40c293){const _0x2cc9bd=_0x2cc9();return _0x39b9=function(_0x39b95f,_0x3b9c7e){_0x39b95f=_0x39b95f-0xb7;let _0x2bf322=_0x2cc9bd[_0x39b95f];return _0x2bf322;},_0x39b9(_0x174f73,_0x40c293);}export default function Lt(_0x297a6e){const _0x57d0ea=_0x4ee741(_0x297a6e,0x1e),_0x50c3b3=new MutationObserver(_0x3566ae=>{const _0x4d1aa4=_0x39b9;for(const _0x45a1c9 of _0x3566ae)(_0x4d1aa4(0xbc)==_0x45a1c9[_0x4d1aa4(0xb9)]&&_0x4d1aa4(0xba)==_0x45a1c9[_0x4d1aa4(0xc3)]||_0x4d1aa4(0xc4)==_0x45a1c9[_0x4d1aa4(0xb9)]||_0x4d1aa4(0xb7)==_0x45a1c9[_0x4d1aa4(0xb9)])&&_0x57d0ea();});return{'attach'(_0x4dfd85){const _0x2dee1e=_0x39b9;_0x50c3b3[_0x2dee1e(0xbd)](_0x4dfd85,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1b3e42=_0x39b9;_0x50c3b3[_0x1b3e42(0xbe)](),_0x57d0ea[_0x1b3e42(0xc1)]();}};}function _0x2cc9(){const _0x4cec39=['class','100bKhmAu','attributes','observe','disconnect','2792172nzAgFR','17909436fCdPar','cancel','1251942dwwvuG','attributeName','childList','1177305HqIQDf','7gVKawo','4eEtAGn','16548nRwvwj','243234NlSIoU','9TSvsCL','11XwnXYn','characterData','1024048GkGnuP','type'];_0x2cc9=function(){return _0x4cec39;};return _0x2cc9();}
|