@ckeditor/ckeditor5-comments 42.0.1-alpha.3 → 42.0.2-alpha.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/LICENSE.md +1 -1
- package/build/comments.js +1 -1
- package/dist/index-content.css +1 -0
- package/dist/index-editor.css +638 -533
- package/dist/index.js +9 -9
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +13 -3
- 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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- /package/dist/{types/annotations → annotations}/annotation.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/annotationcollection.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/annotations.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/annotationsuis.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/editorannotations.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/inlineannotations.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/narrowsidebar.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/sidebar.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/view/annotationcounterbuttonview.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/view/annotationview.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/view/sidebaritemview.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/view/sidebarview.d.ts +0 -0
- /package/dist/{types/annotations → annotations}/widesidebar.d.ts +0 -0
- /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
- /package/dist/{types/comments → comments}/addcommentthreadcommand.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsarchive.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsarchiveui.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsediting.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsrepository.d.ts +0 -0
- /package/dist/{types/comments → comments}/commentsui.d.ts +0 -0
- /package/dist/{types/comments → comments}/integrations/clipboard.d.ts +0 -0
- /package/dist/{types/comments → comments}/integrations/commentsrestrictededitingmode.d.ts +0 -0
- /package/dist/{types/comments → comments}/integrations/importword.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/commenteditor/commenteditor.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/commenteditor/commenteditorui.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/commenteditor/commenteditoruiview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/commentthreadcontroller.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/basecommentthreadview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/basecommentview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/collapsedcommentsview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentcontentview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentinputview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentsarchiveview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentslistview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentthreadheaderview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentthreadinputview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentthreadview.d.ts +0 -0
- /package/dist/{types/comments → comments}/ui/view/commentview.d.ts +0 -0
- /package/dist/{types/comments.d.ts → comments.d.ts} +0 -0
- /package/dist/{types/commentsonly.d.ts → commentsonly.d.ts} +0 -0
- /package/dist/{types/config.d.ts → config.d.ts} +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/utils → utils}/common-translations.d.ts +0 -0
- /package/dist/{types/utils → utils}/createmutationobserver.d.ts +0 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1c3b99=_0x3ba0;function _0x3ba0(_0x4d9e6f,_0x50d7e1){const _0x11ee05=_0x11ee();return _0x3ba0=function(_0x3ba088,_0x18f368){_0x3ba088=_0x3ba088-0x1ec;let _0x37cb78=_0x11ee05[_0x3ba088];return _0x37cb78;},_0x3ba0(_0x4d9e6f,_0x50d7e1);}(function(_0x3a20f1,_0x598eaf){const _0x3bb903=_0x3ba0,_0x46c2d=_0x3a20f1();while(!![]){try{const _0x21491d=-parseInt(_0x3bb903(0x211))/0x1+-parseInt(_0x3bb903(0x1f8))/0x2+-parseInt(_0x3bb903(0x21c))/0x3*(-parseInt(_0x3bb903(0x200))/0x4)+parseInt(_0x3bb903(0x209))/0x5+parseInt(_0x3bb903(0x20a))/0x6+-parseInt(_0x3bb903(0x238))/0x7*(-parseInt(_0x3bb903(0x1f7))/0x8)+-parseInt(_0x3bb903(0x216))/0x9;if(_0x21491d===_0x598eaf)break;else _0x46c2d['push'](_0x46c2d['shift']());}catch(_0x41dcaf){_0x46c2d['push'](_0x46c2d['shift']());}}}(_0x11ee,0x8070c));import{View as _0x4af9b0}from'ckeditor5/src/ui.js';import{diff as _0x2fddbe,Collection as _0x29b64d}from'ckeditor5/src/utils.js';import{getTranslation as _0x3bda71}from'../../../utils/common-translations.js';import _0x14d6cf from'./collapsedcommentsview.js';function _0x11ee(){const _0x1a813f=['change:isEditMode','_handleNewCommentModel','_rearrangeExpand','resolvedCommentView','locale','from','removeComment','_findOptimalIndex','8048936HHEuBM','230996tyXHqy','get','remove','isEditMode','render','weight','set','ck-thread__comments','24140UERdBU','formatDateTime','resolved','add','commentViews','resolveCommentThread','editorDestroyed','_handleRemoveCommentModel','viewUid','1784945MgeQQg','323634bqhqbW','insert','editorReady','_shouldCollapse','change:hasDirtyComment','expand','commentUpdated','369499GCsoAA','delegate','Marked\x20as\x20resolved','resolvedAt','updateComment','11149074gUvoZS','delete','collapse','hasDirtyComment','_handleInfoComment','stopListening','414lfAVtB','CommentView','_rearrangeCollapse','visibleViews','createCollection','some','length','maxThreadTotalWeight','destroy','refreshVisibleViews','isActive','change:isResolved','resolvedBy','equal','element','authoredAt','focus','maxCommentsWhenCollapsed','_model','count','_updateHasDirtyComment','comments','bind','change:isActive','_config','_calculatePosition','listenTo','maxCommentCharsWhenCollapsed','7CKQKuP','editorConfig','_collapsedCommentsView','setTemplate'];_0x11ee=function(){return _0x1a813f;};return _0x11ee();}export default class xt extends _0x4af9b0{constructor(_0x337f33,_0x41804a,_0x2e6faa){const _0x4336bb=_0x3ba0;super(_0x337f33),this[_0x4336bb(0x1fe)](_0x4336bb(0x219),!0x1),this[_0x4336bb(0x1fe)](_0x4336bb(0x222),_0x41804a[_0x4336bb(0x231)][_0x4336bb(0x222)]),this[_0x4336bb(0x1fe)](_0x4336bb(0x226),!0x1),this[_0x4336bb(0x22e)]=_0x41804a,this[_0x4336bb(0x234)]=_0x2e6faa,this[_0x4336bb(0x204)]=this[_0x4336bb(0x220)](),this[_0x4336bb(0x21f)]=this[_0x4336bb(0x220)](),this[_0x4336bb(0x1f2)]=null,this[_0x4336bb(0x1ed)]=new _0x14d6cf(_0x337f33),this[_0x4336bb(0x1ed)][_0x4336bb(0x232)](_0x4336bb(0x22f))['to'](this,_0x4336bb(0x222),_0x5ad1aa=>_0x5ad1aa-this[_0x4336bb(0x234)][_0x4336bb(0x22d)]);for(const _0x7850e of _0x41804a[_0x4336bb(0x231)])this[_0x4336bb(0x1f0)](_0x7850e);this[_0x4336bb(0x21a)](),this[_0x4336bb(0x236)](_0x41804a[_0x4336bb(0x231)],_0x4336bb(0x203),(_0x87a982,_0x283756)=>{const _0x3f07e8=_0x4336bb,_0x416cf5=this[_0x3f07e8(0x235)](_0x283756);this[_0x3f07e8(0x222)]++,this[_0x3f07e8(0x1f0)](_0x283756,_0x416cf5),this[_0x3f07e8(0x225)]();}),this[_0x4336bb(0x236)](_0x41804a[_0x4336bb(0x231)],_0x4336bb(0x1fa),(_0x22cc6e,_0x4cc7e6)=>{const _0x32e737=_0x4336bb;this[_0x32e737(0x222)]--,this[_0x32e737(0x207)](_0x4cc7e6),this[_0x32e737(0x225)]();}),this[_0x4336bb(0x236)](_0x41804a,_0x4336bb(0x210),()=>this[_0x4336bb(0x225)]()),this[_0x4336bb(0x236)](_0x41804a,_0x4336bb(0x227),()=>this[_0x4336bb(0x21a)]()),this['on'](_0x4336bb(0x233),()=>this[_0x4336bb(0x225)]()),this['on'](_0x4336bb(0x20e),()=>this[_0x4336bb(0x225)]()),this[_0x4336bb(0x1ee)]({'tag':'ul','attributes':{'class':[_0x4336bb(0x1ff)]},'children':this[_0x4336bb(0x21f)]});}get[_0x1c3b99(0x20d)](){const _0x527b0a=_0x1c3b99;return this[_0x527b0a(0x22e)][_0x527b0a(0x1fd)]>this[_0x527b0a(0x234)][_0x527b0a(0x223)]&&!this[_0x527b0a(0x226)]&&!this[_0x527b0a(0x219)];}[_0x1c3b99(0x1fc)](){const _0x33964a=_0x1c3b99;super[_0x33964a(0x1fc)](),this[_0x33964a(0x225)]();}[_0x1c3b99(0x22c)](){const _0x5de9ca=_0x1c3b99;this[_0x5de9ca(0x22a)][_0x5de9ca(0x22c)]();}[_0x1c3b99(0x224)](){const _0x3fcb44=_0x1c3b99;this[_0x3fcb44(0x1ed)][_0x3fcb44(0x224)]();for(const _0x5decd1 of this[_0x3fcb44(0x204)])_0x5decd1[_0x3fcb44(0x224)]();super[_0x3fcb44(0x224)]();}[_0x1c3b99(0x225)](){const _0x30dc0b=_0x1c3b99;this[_0x30dc0b(0x20d)]?this[_0x30dc0b(0x21e)]():this[_0x30dc0b(0x1f1)]();}[_0x1c3b99(0x1f0)](_0x2e2677,_0x25e70d){const _0x3edb0b=_0x1c3b99,_0x46f1cf=new this[(_0x3edb0b(0x234))][(_0x3edb0b(0x21d))](this[_0x3edb0b(0x1f3)],_0x2e2677,{'maxCommentCharsWhenCollapsed':this[_0x3edb0b(0x234)][_0x3edb0b(0x237)],'formatDateTime':this[_0x3edb0b(0x234)][_0x3edb0b(0x201)],'editorConfig':this[_0x3edb0b(0x234)][_0x3edb0b(0x1ec)]});_0x46f1cf[_0x3edb0b(0x208)]=_0x2e2677['id'],_0x46f1cf[_0x3edb0b(0x212)](_0x3edb0b(0x1f5))['to'](this),_0x46f1cf[_0x3edb0b(0x212)](_0x3edb0b(0x215))['to'](this),_0x46f1cf[_0x3edb0b(0x212)](_0x3edb0b(0x205))['to'](this),_0x46f1cf[_0x3edb0b(0x212)](_0x3edb0b(0x20c))['to'](this),_0x46f1cf[_0x3edb0b(0x212)](_0x3edb0b(0x206))['to'](this),this[_0x3edb0b(0x236)](_0x46f1cf,_0x3edb0b(0x1ef),()=>this[_0x3edb0b(0x230)]()),this[_0x3edb0b(0x204)][_0x3edb0b(0x203)](_0x46f1cf,_0x25e70d);}[_0x1c3b99(0x235)](_0x3b3457){const _0x16f1b5=_0x1c3b99,_0x2ff1a4=this[_0x16f1b5(0x22e)][_0x16f1b5(0x1f6)](_0x3b3457);return this[_0x16f1b5(0x1f2)]?this[_0x16f1b5(0x1f2)][_0x16f1b5(0x22b)]>_0x3b3457[_0x16f1b5(0x22b)]?_0x2ff1a4-0x1:_0x2ff1a4:_0x2ff1a4-0x1;}[_0x1c3b99(0x21a)](){const _0xcc4be0=_0x1c3b99;if(this[_0xcc4be0(0x22e)][_0xcc4be0(0x228)]&&this[_0xcc4be0(0x22e)][_0xcc4be0(0x214)]){const _0x5174ab={'id':_0xcc4be0(0x202),'author':this[_0xcc4be0(0x22e)][_0xcc4be0(0x228)],'authoredAt':this[_0xcc4be0(0x22e)][_0xcc4be0(0x214)],'content':_0x3bda71(this[_0xcc4be0(0x1f3)],_0xcc4be0(0x213)),'attributes':{}};this[_0xcc4be0(0x1f2)]=new this[(_0xcc4be0(0x234))][(_0xcc4be0(0x21d))](this[_0xcc4be0(0x1f3)],_0x5174ab,{'maxCommentCharsWhenCollapsed':this[_0xcc4be0(0x234)][_0xcc4be0(0x237)],'formatDateTime':this[_0xcc4be0(0x234)][_0xcc4be0(0x201)],'editorConfig':this[_0xcc4be0(0x234)][_0xcc4be0(0x1ec)],'isSystemComment':!0x0}),this[_0xcc4be0(0x204)][_0xcc4be0(0x203)](this[_0xcc4be0(0x1f2)],this[_0xcc4be0(0x22e)][_0xcc4be0(0x1f6)](_0x5174ab));}else this[_0xcc4be0(0x1f2)]&&(this[_0xcc4be0(0x204)][_0xcc4be0(0x1fa)](this[_0xcc4be0(0x1f2)]),this[_0xcc4be0(0x1f2)][_0xcc4be0(0x224)](),this[_0xcc4be0(0x1f2)]=null);this[_0xcc4be0(0x225)]();}[_0x1c3b99(0x207)](_0xb8d179){const _0x112288=_0x1c3b99,_0x4b3d65=this[_0x112288(0x204)][_0x112288(0x1fa)](_0xb8d179['id']);this[_0x112288(0x21b)](_0x4b3d65),_0x4b3d65[_0x112288(0x1fb)]&&this[_0x112288(0x230)](),_0x4b3d65[_0x112288(0x224)]();}[_0x1c3b99(0x230)](){const _0x28ab79=_0x1c3b99;this[_0x28ab79(0x219)]=Array[_0x28ab79(0x1f4)](this[_0x28ab79(0x204)])[_0x28ab79(0x221)](_0x268b43=>_0x268b43[_0x28ab79(0x1fb)]);}[_0x1c3b99(0x21e)](){const _0x99c39c=_0x1c3b99,_0x16dfe0=function(_0x17cc34){const _0x29b125=_0x3ba0,_0x35250a=new _0x29b64d();for(const _0x112158 of _0x17cc34)_0x35250a[_0x29b125(0x203)](_0x112158);return _0x35250a;}(this[_0x99c39c(0x204)]),_0x5e2428=this[_0x99c39c(0x1ed)][_0x99c39c(0x22f)];for(let _0x15eb46=0x1;_0x15eb46<=_0x5e2428;_0x15eb46++)_0x16dfe0[_0x99c39c(0x1fa)](0x1);for(const _0x5d5c21 of _0x16dfe0)_0x5d5c21[_0x99c39c(0x218)]();_0x5e2428>0x0&&_0x16dfe0[_0x99c39c(0x203)](this[_0x99c39c(0x1ed)],0x1),is(_0x2fddbe(Array[_0x99c39c(0x1f4)](this[_0x99c39c(0x21f)]),Array[_0x99c39c(0x1f4)](_0x16dfe0)),this[_0x99c39c(0x21f)],_0x16dfe0);}[_0x1c3b99(0x1f1)](){const _0xadf252=_0x1c3b99;is(_0x2fddbe(Array[_0xadf252(0x1f4)](this[_0xadf252(0x21f)]),Array[_0xadf252(0x1f4)](this[_0xadf252(0x204)])),this[_0xadf252(0x21f)],this[_0xadf252(0x204)]);for(const _0x312619 of this[_0xadf252(0x21f)])_0x312619[_0xadf252(0x20f)]();}}function is(_0x1f5f3f,_0x4892c7,_0xda31d2){const _0x4ced07=_0x1c3b99;let _0x5433f6=0x0;for(const _0x2fc705 of _0x1f5f3f)switch(_0x2fc705){case _0x4ced07(0x20b):_0x4892c7[_0x4ced07(0x203)](_0xda31d2[_0x4ced07(0x1f9)](_0x5433f6),_0x5433f6),_0x5433f6++;break;case _0x4ced07(0x217):_0x4892c7[_0x4ced07(0x1fa)](_0x5433f6);break;case _0x4ced07(0x229):_0x5433f6++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x50414d=_0x49b6;function _0x49b6(_0x2288b9,_0x4f79f5){const _0xf2d90=_0xf2d9();return _0x49b6=function(_0x49b6ca,_0x12d1d4){_0x49b6ca=_0x49b6ca-0xc0;let _0x5e630e=_0xf2d90[_0x49b6ca];return _0x5e630e;},_0x49b6(_0x2288b9,_0x4f79f5);}(function(_0x23e740,_0x35ff5c){const _0xcc5024=_0x49b6,_0x45c1ae=_0x23e740();while(!![]){try{const _0x8a7191=parseInt(_0xcc5024(0xd5))/0x1*(-parseInt(_0xcc5024(0xf0))/0x2)+parseInt(_0xcc5024(0xc1))/0x3+parseInt(_0xcc5024(0xed))/0x4*(-parseInt(_0xcc5024(0xea))/0x5)+parseInt(_0xcc5024(0xf7))/0x6+-parseInt(_0xcc5024(0xdc))/0x7*(parseInt(_0xcc5024(0xc3))/0x8)+-parseInt(_0xcc5024(0xe2))/0x9*(parseInt(_0xcc5024(0xd3))/0xa)+parseInt(_0xcc5024(0xcb))/0xb*(parseInt(_0xcc5024(0xdf))/0xc);if(_0x8a7191===_0x35ff5c)break;else _0x45c1ae['push'](_0x45c1ae['shift']());}catch(_0x333226){_0x45c1ae['push'](_0x45c1ae['shift']());}}}(_0xf2d9,0x86d41));import{View as _0x7f0228,ButtonView as _0x4056bb}from'ckeditor5/src/ui.js';import{getTranslation as _0x32e63b}from'../../../utils/common-translations.js';function _0xf2d9(){const _0xa75c78=['label','substring','classList','icon','8659230pwePXk','contextValue','33160VVYVbM','ck-context__value','querySelector','tooltip','bind','isVisible','isResolved','5620356FdLoGv','ck-thread__header','_trimContextValue','23045844DmGvBl','mouseenter','hasContext','9QaxtRw','offsetWidth','reopenCommentThread','overlay','isResolvable','setTemplate','scrollWidth','ck-context-wrapper','15LsFRjI','...','lastIndexOf','242632yNwEkc','span','Comment\x20was\x20made\x20on\x20an\x20element','38RNNGkh','ck-annotation__actions','element','execute','ck-context','fire','_attachContextActions','4357488dMsQTh','remove','locale','_createReopenButton','_model','reopenButtonView','.ck-context__value','.ck-context','length','isEnabled','1159101EbHlXh','render','8wVDjQk','add','div','Reopen','mouseleave','ck-context--quotes','value','context','11Jsfnmg','bindTemplate','listenTo','isReadOnly'];_0xf2d9=function(){return _0xa75c78;};return _0xf2d9();}import _0x1f7c0f from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0x7f0228{constructor(_0x4e7cb9,_0x2d15d9){const _0x268080=_0x49b6;super(_0x4e7cb9);const _0x288616=this[_0x268080(0xcc)];this[_0x268080(0xfb)]=_0x2d15d9,this[_0x268080(0xfc)]=this[_0x268080(0xfa)](),this[_0x268080(0xd9)](_0x268080(0xe1))['to'](this[_0x268080(0xfb)],_0x268080(0xca),_0x3708b5=>!!_0x3708b5),this[_0x268080(0xd9)](_0x268080(0xd4))['to'](this[_0x268080(0xfb)],_0x268080(0xca),_0x516f9a=>_0x516f9a&&_0x516f9a[_0x268080(0xc9)]?this[_0x268080(0xde)](_0x516f9a[_0x268080(0xc9)]):_0x32e63b(this[_0x268080(0xf9)],_0x268080(0xef))),this[_0x268080(0xe7)]({'tag':_0x268080(0xc5),'attributes':{'class':[_0x268080(0xdd)]},'children':[{'tag':_0x268080(0xc5),'attributes':{'class':[_0x268080(0xe9)]},'children':[{'tag':_0x268080(0xc5),'attributes':{'class':[_0x268080(0xf4),_0x288616['if'](_0x268080(0xe1),_0x268080(0xc8))]},'children':[{'tag':_0x268080(0xee),'attributes':{'class':[_0x268080(0xd6)]},'children':[{'text':_0x288616['to'](_0x268080(0xd4))}]}]}]},{'tag':_0x268080(0xc5),'attributes':{'class':[_0x268080(0xf1)]},'children':[this[_0x268080(0xfc)]]}]});}[_0x50414d(0xc2)](){const _0x10bc3f=_0x50414d;super[_0x10bc3f(0xc2)](),this[_0x10bc3f(0xf6)]();}[_0x50414d(0xfa)](){const _0x114513=_0x50414d,_0x352c2b=new _0x4056bb(this[_0x114513(0xf9)]);return _0x352c2b[_0x114513(0xcf)]=_0x32e63b(this[_0x114513(0xf9)],_0x114513(0xc6)),_0x352c2b[_0x114513(0xd8)]=_0x32e63b(this[_0x114513(0xf9)],_0x114513(0xc6)),_0x352c2b[_0x114513(0xd2)]=_0x1f7c0f,_0x352c2b[_0x114513(0xd9)](_0x114513(0xc0))['to'](this[_0x114513(0xfb)],_0x114513(0xce),_0x4529ab=>!_0x4529ab),_0x352c2b[_0x114513(0xd9)](_0x114513(0xda))['to'](this[_0x114513(0xfb)],_0x114513(0xe6),this[_0x114513(0xfb)],_0x114513(0xdb),(_0x2e8010,_0x306c6)=>_0x2e8010&&_0x306c6),_0x352c2b['on'](_0x114513(0xf3),()=>{const _0xe122d2=_0x114513;this[_0xe122d2(0xf5)](_0xe122d2(0xe4),this[_0xe122d2(0xfb)]['id']);}),_0x352c2b;}[_0x50414d(0xde)](_0x2da504){const _0x27abb4=_0x50414d;if(_0x2da504[_0x27abb4(0xff)]<0x96)return _0x2da504;const _0x58c57b=_0x2da504[_0x27abb4(0xec)]('\x20',0x93);return _0x2da504[_0x27abb4(0xd0)](0x0,_0x58c57b>-0x1?_0x58c57b:0x93)+_0x27abb4(0xeb);}[_0x50414d(0xf6)](){const _0x1e9f29=_0x50414d,_0x472bb6=this[_0x1e9f29(0xf2)][_0x1e9f29(0xd7)](_0x1e9f29(0xfe)),_0x408467=_0x472bb6[_0x1e9f29(0xd7)](_0x1e9f29(0xfd));this[_0x1e9f29(0xcd)](_0x472bb6,_0x1e9f29(0xe0),()=>{const _0x571b23=_0x1e9f29;_0x408467[_0x571b23(0xe3)]<_0x408467[_0x571b23(0xe8)]&&_0x472bb6[_0x571b23(0xd1)][_0x571b23(0xc4)](_0x571b23(0xe5));}),this[_0x1e9f29(0xcd)](_0x472bb6,_0x1e9f29(0xc7),()=>{const _0x298c7e=_0x1e9f29;_0x472bb6[_0x298c7e(0xd1)][_0x298c7e(0xf8)](_0x298c7e(0xe5));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2c4b(_0x35e3ee,_0x4d2054){var _0x25b5b5=_0x25b5();return _0x2c4b=function(_0x2c4bb2,_0x198b3a){_0x2c4bb2=_0x2c4bb2-0x1cd;var _0x183e70=_0x25b5b5[_0x2c4bb2];return _0x183e70;},_0x2c4b(_0x35e3ee,_0x4d2054);}var _0x305d8c=_0x2c4b;(function(_0x20bed4,_0x479f43){var _0x3a50b7=_0x2c4b,_0x1ebec5=_0x20bed4();while(!![]){try{var _0x3f8bb6=parseInt(_0x3a50b7(0x1d4))/0x1*(-parseInt(_0x3a50b7(0x1dd))/0x2)+parseInt(_0x3a50b7(0x1d5))/0x3+parseInt(_0x3a50b7(0x1db))/0x4*(-parseInt(_0x3a50b7(0x1e4))/0x5)+-parseInt(_0x3a50b7(0x1d6))/0x6+-parseInt(_0x3a50b7(0x1da))/0x7+parseInt(_0x3a50b7(0x1d7))/0x8+parseInt(_0x3a50b7(0x1d0))/0x9*(parseInt(_0x3a50b7(0x1cf))/0xa);if(_0x3f8bb6===_0x479f43)break;else _0x1ebec5['push'](_0x1ebec5['shift']());}catch(_0x5b2e5a){_0x1ebec5['push'](_0x1ebec5['shift']());}}}(_0x25b5,0x29c6e));import{View as _0x56e3b7}from'ckeditor5/src/ui.js';import _0x4bb092 from'./commentinputview.js';import{UserView as _0x276e18}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Tt extends _0x56e3b7{constructor(_0xf4646c,_0x4dd754,_0xdc0107){var _0x2fc528=_0x2c4b;super(_0xf4646c),this[_0x2fc528(0x1d9)]=new _0x4bb092(_0xf4646c,_0xdc0107),this[_0x2fc528(0x1d9)][_0x2fc528(0x1ec)](_0x2fc528(0x1ce))['to'](this[_0x2fc528(0x1d9)][_0x2fc528(0x1d8)],_0x2fc528(0x1eb),this[_0x2fc528(0x1d9)],_0x2fc528(0x1ed),(_0x4a84f0,_0x35f66c)=>_0x4a84f0||!!_0x35f66c),this[_0x2fc528(0x1e3)](_0x2fc528(0x1de),!0x1),this['on'](_0x2fc528(0x1d1),()=>{var _0x33f7be=_0x2fc528;this[_0x33f7be(0x1de)]&&!this[_0x33f7be(0x1d9)][_0x33f7be(0x1e6)]&&this[_0x33f7be(0x1d9)][_0x33f7be(0x1ef)]();}),this[_0x2fc528(0x1d9)][_0x2fc528(0x1e0)](_0x2fc528(0x1cd))['to'](this),this[_0x2fc528(0x1d9)][_0x2fc528(0x1e0)](_0x2fc528(0x1dc))['to'](this),this[_0x2fc528(0x1e5)]=new _0x276e18(_0xf4646c,_0x4dd754),this[_0x2fc528(0x1e5)][_0x2fc528(0x1d3)]({'attributes':{'class':_0x2fc528(0x1d2)}}),this[_0x2fc528(0x1d9)][_0x2fc528(0x1d3)]({'attributes':{'class':_0x2fc528(0x1e2)}}),this[_0x2fc528(0x1e1)]({'tag':_0x2fc528(0x1ea),'attributes':{'class':[_0x2fc528(0x1ee),this[_0x2fc528(0x1df)]['if'](_0x2fc528(0x1de),_0x2fc528(0x1e9))]},'children':[this[_0x2fc528(0x1e5)],this[_0x2fc528(0x1d9)]]});}[_0x305d8c(0x1e8)](){var _0x19b138=_0x305d8c;return this[_0x19b138(0x1d9)][_0x19b138(0x1e8)]()[_0x19b138(0x1e7)](()=>super[_0x19b138(0x1e8)]());}}function _0x25b5(){var _0x16e765=['extendTemplate','29UjqnUA','921966bdCuLT','1501704FEPktA','1786816rAUuzz','focusTracker','commentInputView','2064699MTGmOz','26608VbNqaT','editorDestroyed','8572pJQPeG','showInput','bindTemplate','delegate','setTemplate','ck-thread__input','set','175zRZBWS','userView','editor','then','destroy','ck-comment__input-container--active','div','isFocused','bind','value','ck-comment__input-container','createEditor','editorReady','showButtons','132390DEFMyB','369ZGOQkg','change:showInput','ck-thread__user'];_0x25b5=function(){return _0x16e765;};return _0x25b5();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x22abaf=_0x4d97;(function(_0x2a4eaf,_0x266060){const _0x242f73=_0x4d97,_0x3bf87f=_0x2a4eaf();while(!![]){try{const _0x4258b9=parseInt(_0x242f73(0x20e))/0x1*(-parseInt(_0x242f73(0x1fe))/0x2)+parseInt(_0x242f73(0x1f5))/0x3+-parseInt(_0x242f73(0x1e4))/0x4*(parseInt(_0x242f73(0x1f6))/0x5)+-parseInt(_0x242f73(0x218))/0x6+parseInt(_0x242f73(0x21c))/0x7+-parseInt(_0x242f73(0x1f9))/0x8+parseInt(_0x242f73(0x20c))/0x9*(parseInt(_0x242f73(0x211))/0xa);if(_0x4258b9===_0x266060)break;else _0x3bf87f['push'](_0x3bf87f['shift']());}catch(_0x7ca14c){_0x3bf87f['push'](_0x3bf87f['shift']());}}}(_0x806d,0xb0fc5));import{ConfirmMixin as _0x521ce2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x806d(){const _0x281c29=['length','isResolved','262200pPdXgv','removeCommentThread','bind','setTemplate','4571182eLzuov','addMany','_createResolveButton','isVisible','Resolve','isReadOnly','actionBar','.ck-thread__container','div','tooltip','containerElement','ck-thread--remove-confirmation','ck-comment--resolve','change:isActive','has','isUnlinked','change:isReadOnly','commentsListView','render','isEnabled','ck-thread','removeButton','isConfirm','querySelector','_boundFirstCommentView','resolveButton','createCollection','Write\x20a\x20comment...','2673124qJYVFs','_cancelAllConfirms','ck-thread--','Delete\x20comment\x20thread?','locale','resolveCommentThread','ck-thread__container','isActive','showConfirm','fire','commentThreadChildren','unbind','commentThreadInputView','getTemplate','stop','get','commentViews','1057200QInJlN','10vutTag','icon','remove','1503272trkoHg','extendTemplate','_model','label','isSystemComment','606FaZIZp','bindTemplate','high','archivedAt','execute','ck-thread--active','placeholder','set','_bindFirstCommentView','isResolvable','then','ck-thread--unlinked','change:archivedAt','check','2971755RrBqMN','add','1199WAcuuZ','actionIndicator','ck-reset_all-excluded','50QXqzYK','listenTo','cancelConfirm','commentThreadHeaderView','element'];_0x806d=function(){return _0x281c29;};return _0x806d();}import{ButtonView as _0x48d645}from'ckeditor5/src/ui.js';import{icons as _0x482f1e}from'ckeditor5/src/core.js';import _0x45ac9f from'./basecommentthreadview.js';import{getTranslation as _0x3ea093}from'../../../utils/common-translations.js';function _0x4d97(_0x36365e,_0x5562d0){const _0x806dbc=_0x806d();return _0x4d97=function(_0x4d972c,_0x3e878c){_0x4d972c=_0x4d972c-0x1d3;let _0xb9e61b=_0x806dbc[_0x4d972c];return _0xb9e61b;},_0x4d97(_0x36365e,_0x5562d0);}export default class yt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x521ce2(_0x45ac9f){constructor(_0x217b65,_0x112c43,_0xe1033e,_0x2445aa){const _0x39d907=_0x4d97;super(_0x217b65,_0x112c43,_0xe1033e,_0x2445aa),this[_0x39d907(0x1ee)]=this[_0x39d907(0x1e2)](),this[_0x39d907(0x1ee)][_0x39d907(0x21d)]([this[_0x39d907(0x1d9)],this[_0x39d907(0x1f0)]]),this[_0x39d907(0x1fb)][_0x39d907(0x201)]&&this[_0x39d907(0x1ee)][_0x39d907(0x20d)](this[_0x39d907(0x214)],0x0),this[_0x39d907(0x1fb)]['on'](_0x39d907(0x20a),(_0xe1d341,_0x1f8a65,_0x3fa2ce)=>{const _0x36990c=_0x39d907;_0x3fa2ce?this[_0x36990c(0x1ee)][_0x36990c(0x1d6)](this[_0x36990c(0x214)])||this[_0x36990c(0x1ee)][_0x36990c(0x20d)](this[_0x36990c(0x214)],0x0):this[_0x36990c(0x1ee)][_0x36990c(0x1f8)](this[_0x36990c(0x214)]);}),this[_0x39d907(0x205)](_0x39d907(0x20f),null),this[_0x39d907(0x226)]=null,this[_0x39d907(0x1e0)]=null,this[_0x39d907(0x1e8)]=_0x217b65,this[_0x39d907(0x1e1)]=this[_0x39d907(0x21e)](),this[_0x39d907(0x21b)](this[_0x39d907(0x1f1)]()),this['on'](_0x39d907(0x1d5),(_0x36891d,_0x3b4b98,_0x32c6fb)=>{const _0xcbead3=_0x39d907;_0x32c6fb||this[_0xcbead3(0x1e5)]();}),this[_0x39d907(0x212)](this[_0x39d907(0x1fb)],_0x39d907(0x1d8),(_0x5c5733,_0x49fcd8,_0x41a410)=>{const _0x2c4e71=_0x39d907;_0x41a410&&this[_0x2c4e71(0x1e5)]();}),this[_0x39d907(0x216)]>0x0&&this[_0x39d907(0x206)](),this[_0x39d907(0x212)](this[_0x39d907(0x1d9)][_0x39d907(0x1f4)],_0x39d907(0x20d),()=>{const _0x610d46=_0x39d907;this[_0x610d46(0x206)]();});}[_0x22abaf(0x1f1)](){const _0x3b1f18=_0x22abaf,_0xcdc5f9=this[_0x3b1f18(0x1ff)];return{'tag':_0x3b1f18(0x224),'attributes':{'class':[_0x3b1f18(0x1dc),_0x3b1f18(0x210),_0xcdc5f9['if'](_0x3b1f18(0x1eb),_0x3b1f18(0x203)),_0xcdc5f9['if'](_0x3b1f18(0x1d7),_0x3b1f18(0x209)),_0xcdc5f9['if'](_0x3b1f18(0x1de),_0x3b1f18(0x1d3)),_0xcdc5f9['to'](_0x3b1f18(0x20f),_0x4d91b2=>_0x4d91b2?_0x3b1f18(0x1e6)+_0x4d91b2:'')],'data-thread-id':this[_0x3b1f18(0x1fb)]['id'],'tabindex':-0x1},'children':[{'tag':_0x3b1f18(0x224),'attributes':{'class':_0x3b1f18(0x1ea)},'children':this[_0x3b1f18(0x1ee)]}]};}[_0x22abaf(0x1da)](){const _0x361677=_0x22abaf;super[_0x361677(0x1da)](),this[_0x361677(0x226)]=this[_0x361677(0x215)][_0x361677(0x1df)](_0x361677(0x223));}[_0x22abaf(0x1e5)](){const _0x5e92d7=_0x22abaf;this[_0x5e92d7(0x213)]();for(const _0x51be06 of this[_0x5e92d7(0x1d9)][_0x5e92d7(0x1f4)])_0x51be06[_0x5e92d7(0x213)]();}[_0x22abaf(0x206)](){const _0x194281=_0x22abaf,{locale:_0x2794d4}=this,_0x2d087f=this[_0x194281(0x1d9)][_0x194281(0x1f4)][_0x194281(0x1f3)](0x0);_0x2d087f===this[_0x194281(0x1e0)]||_0x2d087f[_0x194281(0x1fd)]||(this[_0x194281(0x1e0)]=_0x2d087f,this[_0x194281(0x1ef)](_0x194281(0x20f)),this[_0x194281(0x21a)](_0x194281(0x20f))['to'](_0x2d087f,_0x194281(0x20f),_0x4d2b03=>_0x194281(0x1f8)===_0x4d2b03?_0x194281(0x1f8):null),_0x2d087f[_0x194281(0x204)]=_0x3ea093(_0x2794d4,_0x194281(0x1e3)),_0x2d087f[_0x194281(0x1dd)]['on'](_0x194281(0x202),_0x4f9cbf=>{const _0xda643=_0x194281;_0x4f9cbf[_0xda643(0x1f2)](),this[_0xda643(0x1ec)](_0x3ea093(_0x2794d4,_0xda643(0x1e7)),this[_0xda643(0x226)])[_0xda643(0x208)](()=>{const _0x39d789=_0xda643;this[_0x39d789(0x1ed)](_0x39d789(0x219));});},{'priority':_0x194281(0x200)}),_0x2d087f[_0x194281(0x222)][_0x194281(0x20d)](this[_0x194281(0x1e1)],0x0));}[_0x22abaf(0x21e)](){const _0x4ade47=_0x22abaf,_0x53f437=new _0x48d645(this[_0x4ade47(0x1e8)]);return _0x53f437[_0x4ade47(0x1fc)]=_0x3ea093(this[_0x4ade47(0x1e8)],_0x4ade47(0x220)),_0x53f437[_0x4ade47(0x225)]=_0x3ea093(this[_0x4ade47(0x1e8)],_0x4ade47(0x220)),_0x53f437[_0x4ade47(0x1f7)]=_0x482f1e[_0x4ade47(0x20b)],_0x53f437[_0x4ade47(0x1fa)]({'attributes':{'class':_0x4ade47(0x1d4)}}),_0x53f437[_0x4ade47(0x21a)](_0x4ade47(0x1db))['to'](this[_0x4ade47(0x1fb)],_0x4ade47(0x221),_0x574325=>!_0x574325),_0x53f437[_0x4ade47(0x21a)](_0x4ade47(0x21f))['to'](this[_0x4ade47(0x1fb)],_0x4ade47(0x207),this[_0x4ade47(0x1fb)],_0x4ade47(0x217),(_0x3ff865,_0x21b6fe)=>_0x3ff865&&!_0x21b6fe),_0x53f437['on'](_0x4ade47(0x202),()=>{const _0x304fc6=_0x4ade47;this[_0x304fc6(0x1ed)](_0x304fc6(0x1e9),this[_0x304fc6(0x1fb)]['id']);}),_0x53f437;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1b37(){const _0x537888=['withText','110551FzhRQs','EXTERNAL_COMMENT','removeButton','creator','name','switchToEditMode','addMany','panelPosition','66zAmDDD','execute','ck-comment--edit','ck-comment__info-name','ck-annotation__actions','_createEditButton','getUserViewNotificationText','element','blur','isEditMode','time','ck-comment__actions','listenTo','68ssclAI','ck-comment--remove-confirmation','_config','ck-comment','resolvedAt','attributes','change:isEnabled','createCollection','ck-comment__main','ck-comment__info-time','cancelConfirm','ck-comment__wrapper','actionIndicator','573560muaKlU','EXTERNAL_AVATAR','1151487MUoDLV','ck-annotation__info','isConfirm','9xKBjIz','isExternal','Edit','push','author','isEditable','bindTemplate','dropdown','change:isRemovable','set','EXTERNAL_IMPORT_WORD_COMMENT','ck-comment__actions--hidden','removeComment','source','_attachActions','length','render','visibleView','div','Delete\x20comment?','25145nQSXFR','formatDateTime','Reply...','extendTemplate','span','importWord','isReadOnly','actionBar','ck-annotation__info-name','ck-annotation__actions--hidden','isSystemComment','ck-annotation__content-wrapper','label','bind','getExternalCommentNote','showConfirm','Show\x20more\x20items','items','threeVerticalDots','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','mouseleave','_createRemoveButton','remove','change:isVisible','children','edit','isRemovable','icon','ck-comment--remove','then','add','panelView','userView','745136KadwFe','ck-annotation__info-time','ck-annotation','isEnabled','23288485UIQwlU','20rtgHMd','_model','ck-comment__user','locale','focus','ck-comment__info','isVisible','getTemplate','_createDropdown','some','438934lAnkqu','ck-comment__external','authoredAt','_createCommentInputView','editButton','ck-annotation__main','ck-comment--info','mouseenter','Remove','fire','ck-comment--','@external','ck-annotation__user','pencil','placeholder','buttonView'];_0x1b37=function(){return _0x537888;};return _0x1b37();}function _0x4403(_0x57166d,_0x1bbc12){const _0x1b3766=_0x1b37();return _0x4403=function(_0x4403df,_0x2ee833){_0x4403df=_0x4403df-0x135;let _0x12f368=_0x1b3766[_0x4403df];return _0x12f368;},_0x4403(_0x57166d,_0x1bbc12);}const _0x5dd770=_0x4403;(function(_0xd0a77d,_0x58189b){const _0x25f45a=_0x4403,_0x252695=_0xd0a77d();while(!![]){try{const _0x1cdfda=-parseInt(_0x25f45a(0x18e))/0x1+-parseInt(_0x25f45a(0x15b))/0x2*(parseInt(_0x25f45a(0x193))/0x3)+-parseInt(_0x25f45a(0x181))/0x4*(-parseInt(_0x25f45a(0x1a7))/0x5)+-parseInt(_0x25f45a(0x174))/0x6*(parseInt(_0x25f45a(0x16c))/0x7)+parseInt(_0x25f45a(0x14c))/0x8+-parseInt(_0x25f45a(0x190))/0x9*(parseInt(_0x25f45a(0x151))/0xa)+parseInt(_0x25f45a(0x150))/0xb;if(_0x1cdfda===_0x58189b)break;else _0x252695['push'](_0x252695['shift']());}catch(_0x36671b){_0x252695['push'](_0x252695['shift']());}}}(_0x1b37,0x9ad58));import{ButtonView as _0x4439b4,createDropdown as _0x183fc8,ListView as _0x38727b,ListItemView as _0x5a20be}from'ckeditor5/src/ui.js';import{icons as _0x21f936}from'ckeditor5/src/core.js';import{UserView as _0x447fc6,ConfirmMixin as _0x2526c2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2b1314 from'./basecommentview.js';import _0x19e2df from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x3aaf05}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2526c2(_0x2b1314){constructor(_0x1dcc4c,_0x51102b,_0x476097){const _0xd4763f=_0x4403;super(_0x1dcc4c,_0x51102b,_0x476097),this[_0xd4763f(0x19c)](_0xd4763f(0x18d),null),this[_0xd4763f(0x19c)](_0xd4763f(0x169),_0x3aaf05(_0x1dcc4c,_0xd4763f(0x1a9))),this[_0xd4763f(0x137)](_0xd4763f(0x15d))['to'](_0x51102b),this[_0xd4763f(0x137)](_0xd4763f(0x185))['to'](_0x51102b),this[_0xd4763f(0x1ae)]=this[_0xd4763f(0x188)](),this[_0xd4763f(0x1b1)]||(this[_0xd4763f(0x15f)]=this[_0xd4763f(0x179)](),this[_0xd4763f(0x16e)]=this[_0xd4763f(0x140)](),this[_0xd4763f(0x13b)]=this[_0xd4763f(0x188)](),this[_0xd4763f(0x13b)][_0xd4763f(0x172)]([this[_0xd4763f(0x15f)],this[_0xd4763f(0x16e)]]),this[_0xd4763f(0x19a)]=this[_0xd4763f(0x159)](),this[_0xd4763f(0x1ae)][_0xd4763f(0x149)](this[_0xd4763f(0x19a)])),this[_0xd4763f(0x14b)]=new _0x447fc6(_0x1dcc4c,_0x51102b[_0xd4763f(0x197)],this[_0xd4763f(0x17a)]()),this[_0xd4763f(0x14b)][_0xd4763f(0x1aa)]({'attributes':{'class':[_0xd4763f(0x153),_0xd4763f(0x167)]}}),this[_0xd4763f(0x180)](_0x51102b,_0xd4763f(0x19b),()=>this[_0xd4763f(0x18b)]()),this[_0xd4763f(0x13d)](this[_0xd4763f(0x158)]());}[_0x5dd770(0x158)](){const _0x1f2ff7=_0x5dd770,_0x2d6a86=this[_0x1f2ff7(0x199)],_0x448f36=[{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x156),_0x1f2ff7(0x191)]},'children':[{'tag':_0x1f2ff7(0x1ab),'children':[{'text':this[_0x1f2ff7(0x14b)][_0x1f2ff7(0x170)]}],'attributes':{'class':[_0x1f2ff7(0x177),_0x1f2ff7(0x1af)]}},{'tag':_0x1f2ff7(0x17e),'attributes':{'datetime':_0x2d6a86['to'](_0x1f2ff7(0x15d)),'class':[_0x1f2ff7(0x18a),_0x1f2ff7(0x14d)]},'children':[{'text':_0x2d6a86['to'](_0x1f2ff7(0x15d),_0x2b1030=>this[_0x1f2ff7(0x183)][_0x1f2ff7(0x1a8)](_0x2b1030))}]}]},{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x17f),_0x1f2ff7(0x178),_0x2d6a86['if'](_0x1f2ff7(0x17d),_0x1f2ff7(0x19e)),_0x2d6a86['if'](_0x1f2ff7(0x17d),_0x1f2ff7(0x1b0))]},'children':this[_0x1f2ff7(0x1ae)]},{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x135)]},'children':this[_0x1f2ff7(0x1a4)]}];return this[_0x1f2ff7(0x152)][_0x1f2ff7(0x194)]&&_0x448f36[_0x1f2ff7(0x196)]({'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x15c)]},'children':[{'text':this[_0x1f2ff7(0x138)]()}]}),{'tag':'li','attributes':{'class':[_0x1f2ff7(0x18c),_0x2d6a86['if'](_0x1f2ff7(0x192),_0x1f2ff7(0x182))],'tabindex':-0x1},'children':[{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x184),_0x1f2ff7(0x14e),_0x2d6a86['if'](_0x1f2ff7(0x17d),_0x1f2ff7(0x176)),_0x2d6a86['if'](_0x1f2ff7(0x1b1),_0x1f2ff7(0x161)),_0x2d6a86['to'](_0x1f2ff7(0x18d),_0x1f2c0b=>_0x1f2c0b?_0x1f2ff7(0x165)+_0x1f2c0b:'')],'data-author-id':this[_0x1f2ff7(0x152)][_0x1f2ff7(0x197)]['id'],'data-comment-id':this[_0x1f2ff7(0x152)]['id']},'children':[this[_0x1f2ff7(0x14b)],{'tag':_0x1f2ff7(0x1a5),'attributes':{'class':[_0x1f2ff7(0x189),_0x1f2ff7(0x160)]},'children':_0x448f36}]}]};}[_0x5dd770(0x179)](){const _0x242e75=_0x5dd770,_0x26d06b=new _0x4439b4(this[_0x242e75(0x154)]);return _0x26d06b[_0x242e75(0x136)]=_0x3aaf05(this[_0x242e75(0x154)],_0x242e75(0x195)),_0x26d06b[_0x242e75(0x146)]=_0x21f936[_0x242e75(0x168)],_0x26d06b[_0x242e75(0x16b)]=!0x0,_0x26d06b[_0x242e75(0x1aa)]({'attributes':{'class':_0x242e75(0x176)}}),_0x26d06b[_0x242e75(0x137)](_0x242e75(0x14f))['to'](this[_0x242e75(0x152)],_0x242e75(0x1ad),_0x2d0cf2=>!_0x2d0cf2),_0x26d06b[_0x242e75(0x137)](_0x242e75(0x157))['to'](this[_0x242e75(0x152)],_0x242e75(0x198)),_0x26d06b['on'](_0x242e75(0x175),()=>this[_0x242e75(0x171)]()),_0x26d06b;}[_0x5dd770(0x140)](){const _0x167f12=_0x5dd770,_0x5d1667=new _0x4439b4(this[_0x167f12(0x154)]);return _0x5d1667[_0x167f12(0x136)]=_0x3aaf05(this[_0x167f12(0x154)],_0x167f12(0x163)),_0x5d1667[_0x167f12(0x146)]=_0x19e2df,_0x5d1667[_0x167f12(0x16b)]=!0x0,_0x5d1667[_0x167f12(0x1aa)]({'attributes':{'class':_0x167f12(0x147)}}),_0x5d1667[_0x167f12(0x137)](_0x167f12(0x14f))['to'](this[_0x167f12(0x152)],_0x167f12(0x1ad),_0x37908c=>!_0x37908c),_0x5d1667[_0x167f12(0x137)](_0x167f12(0x157))['to'](this[_0x167f12(0x152)],_0x167f12(0x145)),_0x5d1667['on'](_0x167f12(0x175),()=>{const _0x3f2749=_0x167f12;this[_0x3f2749(0x139)](_0x3aaf05(this[_0x3f2749(0x154)],_0x3f2749(0x1a6)),this[_0x3f2749(0x17b)])[_0x3f2749(0x148)](()=>{const _0x4dd6b2=_0x3f2749;this[_0x4dd6b2(0x164)](_0x4dd6b2(0x19f),this[_0x4dd6b2(0x152)]['id']);});}),_0x5d1667;}[_0x5dd770(0x159)](){const _0xe276b1=_0x5dd770,_0x1a826a=_0x183fc8(this[_0xe276b1(0x154)]),_0x30b439=_0x1a826a[_0xe276b1(0x14a)][_0xe276b1(0x143)],_0x1fa488=new _0x38727b(this[_0xe276b1(0x154)]),_0x34e06c=(_0x5a5370,_0x5e3f59=-0x1)=>{const _0x5336b7=_0xe276b1,_0xaf4828=new _0x5a20be(this[_0x5336b7(0x154)]);_0xaf4828[_0x5336b7(0x143)][_0x5336b7(0x149)](_0x5a5370);const _0x385124=_0x5e3f59>-0x1?_0x5e3f59:_0x1fa488[_0x5336b7(0x13b)][_0x5336b7(0x1a2)];_0x1fa488[_0x5336b7(0x13b)][_0x5336b7(0x149)](_0xaf4828,_0x385124),_0x1a826a[_0x5336b7(0x180)](_0x5a5370,_0x5336b7(0x187),()=>{const _0x4b455e=_0x5336b7;_0x1a826a[_0x4b455e(0x14f)]=[...this[_0x4b455e(0x13b)]][_0x4b455e(0x15a)](_0x1af724=>_0x1af724[_0x4b455e(0x14f)]);}),_0x1a826a[_0x5336b7(0x180)](_0x5a5370,_0x5336b7(0x142),()=>{const _0x5c07fb=_0x5336b7;_0x1a826a[_0x5c07fb(0x16a)][_0x5c07fb(0x157)]=[...this[_0x5c07fb(0x13b)]][_0x5c07fb(0x15a)](_0x1a8384=>_0x1a8384[_0x5c07fb(0x157)]);});};_0x1a826a[_0xe276b1(0x173)]='sw',_0x1a826a[_0xe276b1(0x16a)][_0xe276b1(0x19c)]({'label':_0x3aaf05(this[_0xe276b1(0x154)],_0xe276b1(0x13a)),'icon':_0x21f936[_0xe276b1(0x13c)]}),_0x1a826a[_0xe276b1(0x14f)]=[...this[_0xe276b1(0x13b)]][_0xe276b1(0x15a)](_0x10fd5d=>_0x10fd5d[_0xe276b1(0x14f)]),_0x1a826a[_0xe276b1(0x16a)][_0xe276b1(0x157)]=[...this[_0xe276b1(0x13b)]][_0xe276b1(0x15a)](_0x374927=>_0x374927[_0xe276b1(0x157)]);for(const _0x5ad97e of this[_0xe276b1(0x13b)])_0x34e06c(_0x5ad97e);return _0x30b439[_0xe276b1(0x149)](_0x1fa488),_0x1a826a[_0xe276b1(0x180)](this[_0xe276b1(0x13b)],_0xe276b1(0x149),(_0x1a0fa5,_0x382d53,_0x5a4c87)=>{_0x34e06c(_0x382d53,_0x5a4c87);}),_0x1a826a[_0xe276b1(0x180)](this[_0xe276b1(0x13b)],_0xe276b1(0x141),(_0x4e340b,_0x3740a6,_0x3d8d30)=>{const _0x512712=_0xe276b1;_0x1fa488[_0x512712(0x13b)][_0x512712(0x141)](_0x3d8d30);}),_0x1a826a;}[_0x5dd770(0x1a1)](_0x55b5ef,_0xd7a849){const _0x40a7d0=_0x5dd770,_0x55aab8=_0x55b5ef&&_0x55b5ef[_0x40a7d0(0x17b)];_0x55aab8&&(this[_0x40a7d0(0x180)](_0x55aab8,_0x40a7d0(0x162),()=>this[_0x40a7d0(0x18d)]=_0xd7a849),this[_0x40a7d0(0x180)](_0x55aab8,_0x40a7d0(0x155),()=>this[_0x40a7d0(0x18d)]=_0xd7a849),this[_0x40a7d0(0x180)](_0x55aab8,_0x40a7d0(0x13f),()=>this[_0x40a7d0(0x18d)]=null),this[_0x40a7d0(0x180)](_0x55aab8,_0x40a7d0(0x17c),()=>this[_0x40a7d0(0x18d)]=null));}[_0x5dd770(0x15e)](){const _0x190ab5=_0x5dd770,_0x21df2d=super[_0x190ab5(0x15e)]();return _0x21df2d[_0x190ab5(0x137)](_0x190ab5(0x169))['to'](this),_0x21df2d;}[_0x5dd770(0x138)](){const _0x420467=_0x5dd770;return _0x420467(0x1ac)===this[_0x420467(0x152)][_0x420467(0x186)][_0x420467(0x166)][_0x420467(0x1a0)]?_0x3aaf05(this[_0x420467(0x154)],_0x420467(0x19d)):_0x3aaf05(this[_0x420467(0x154)],_0x420467(0x16d));}[_0x5dd770(0x17a)](){const _0x7ff00a=_0x5dd770;return this[_0x7ff00a(0x152)][_0x7ff00a(0x194)]?_0x7ff00a(0x1ac)===this[_0x7ff00a(0x152)][_0x7ff00a(0x186)][_0x7ff00a(0x166)][_0x7ff00a(0x1a0)]?_0x3aaf05(this[_0x7ff00a(0x154)],_0x7ff00a(0x13e),this[_0x7ff00a(0x152)][_0x7ff00a(0x16f)][_0x7ff00a(0x170)]):_0x3aaf05(this[_0x7ff00a(0x154)],_0x7ff00a(0x18f),this[_0x7ff00a(0x152)][_0x7ff00a(0x16f)][_0x7ff00a(0x170)]):null;}[_0x5dd770(0x1a3)](){const _0x27ae19=_0x5dd770;super[_0x27ae19(0x1a3)](),this[_0x27ae19(0x1a1)](this[_0x27ae19(0x15f)],_0x27ae19(0x144)),this[_0x27ae19(0x1a1)](this[_0x27ae19(0x16e)],_0x27ae19(0x141));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x414c17=_0x186b;function _0x186b(_0x11f54d,_0x1c82c7){var _0x236055=_0x2360();return _0x186b=function(_0x186baf,_0x20ba10){_0x186baf=_0x186baf-0xb8;var _0x2b4fe0=_0x236055[_0x186baf];return _0x2b4fe0;},_0x186b(_0x11f54d,_0x1c82c7);}(function(_0x20e311,_0x1aacf0){var _0x1a7a72=_0x186b,_0x4486fa=_0x20e311();while(!![]){try{var _0x5bc5a2=parseInt(_0x1a7a72(0xc3))/0x1*(parseInt(_0x1a7a72(0xc1))/0x2)+parseInt(_0x1a7a72(0xc2))/0x3+parseInt(_0x1a7a72(0xbc))/0x4*(-parseInt(_0x1a7a72(0xb8))/0x5)+parseInt(_0x1a7a72(0xc0))/0x6+parseInt(_0x1a7a72(0xb9))/0x7*(parseInt(_0x1a7a72(0xc5))/0x8)+parseInt(_0x1a7a72(0xbd))/0x9*(-parseInt(_0x1a7a72(0xc4))/0xa)+-parseInt(_0x1a7a72(0xbe))/0xb;if(_0x5bc5a2===_0x1aacf0)break;else _0x4486fa['push'](_0x4486fa['shift']());}catch(_0x4ba9f0){_0x4486fa['push'](_0x4486fa['shift']());}}}(_0x2360,0x57e0b));import{Plugin as _0x1ef877}from'ckeditor5/src/core.js';import _0x49ae1a from'./comments/commentsrepository.js';import _0x2bde18 from'./comments/commentsediting.js';import _0x30275e from'./comments/commentsui.js';import _0x35d69f from'./commentsonly.js';function _0x2360(){var _0x2c23de=['pluginName','127672ZaJGVz','729JoNypn','6616874ronLCZ','requires','3812742ySFfBq','508364JwMdcz','1463805aakTFk','1BrMOKC','29180rOtHEE','19512HTxsIp','40UfbTyH','217KzPNeg','Comments'];_0x2360=function(){return _0x2c23de;};return _0x2360();}import _0x10dfee from'./annotations/widesidebar.js';import _0x4f0db6 from'./annotations/narrowsidebar.js';import _0x3eee51 from'./annotations/inlineannotations.js';import _0x3d9b41 from'./comments/commentsarchiveui.js';import _0x1816b9 from'./comments/commentsarchive.js';export default class f extends _0x1ef877{static get[_0x414c17(0xbf)](){return[_0x49ae1a,_0x2bde18,_0x30275e,_0x1816b9,_0x3d9b41,_0x35d69f,_0x10dfee,_0x4f0db6,_0x3eee51];}static get[_0x414c17(0xbb)](){var _0x1a867e=_0x414c17;return _0x1a867e(0xba);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45796=_0xb015;(function(_0x34a1b5,_0x94072c){const _0x1be923=_0xb015,_0x5c87c1=_0x34a1b5();while(!![]){try{const _0x57ac63=-parseInt(_0x1be923(0x1cc))/0x1+-parseInt(_0x1be923(0x1d0))/0x2*(-parseInt(_0x1be923(0x1dd))/0x3)+-parseInt(_0x1be923(0x1bb))/0x4+-parseInt(_0x1be923(0x1c8))/0x5+-parseInt(_0x1be923(0x1c9))/0x6*(-parseInt(_0x1be923(0x1db))/0x7)+parseInt(_0x1be923(0x1c6))/0x8+parseInt(_0x1be923(0x1cd))/0x9;if(_0x57ac63===_0x94072c)break;else _0x5c87c1['push'](_0x5c87c1['shift']());}catch(_0x5565a1){_0x5c87c1['push'](_0x5c87c1['shift']());}}}(_0x24ba,0xda9d9));function _0xb015(_0x1fa7ad,_0x311a61){const _0x24baf4=_0x24ba();return _0xb015=function(_0xb01545,_0x1a5654){_0xb01545=_0xb01545-0x1b7;let _0x19c9c6=_0x24baf4[_0xb01545];return _0x19c9c6;},_0xb015(_0x1fa7ad,_0x311a61);}function _0x24ba(){const _0x561018=['clipboardInput','stop','6721104JAysRO','highest','3387230jiemZO','6486LYjpyS','_enableCommentsOnlyMode','_disableCommentsOnlyMode','199860QRJeXC','6520572KfPGzs','CommentsOnly','plugins','113996IIEeIR','isEnabled','editor','afterInit','get','addCommentThread','commentsOnly','DragDrop','editing','requires','document','2961yuqsOZ','listenTo','30adwrrR','view','commands','commentsOnlyMode','clearForceDisabled','config','has','3276536idhfZd','change:isEnabled','set','forceDisabled','cut','affectsData','stopListening','pluginName','delete'];_0x24ba=function(){return _0x561018;};return _0x24ba();}import{Plugin as _0x13484d}from'ckeditor5/src/core.js';import _0x353f89 from'./comments/commentsediting.js';export default class e extends _0x13484d{static get[_0x45796(0x1c2)](){const _0x395285=_0x45796;return _0x395285(0x1ce);}static get[_0x45796(0x1d9)](){return[_0x353f89];}constructor(_0x20ac39){const _0x1021fd=_0x45796;super(_0x20ac39),this[_0x1021fd(0x1bd)](_0x1021fd(0x1d1),!0x1),this['on'](_0x1021fd(0x1bc),(_0x448e3d,_0x195f44,_0x17778d)=>{const _0x2d62bc=_0x1021fd;_0x17778d?this[_0x2d62bc(0x1ca)]():this[_0x2d62bc(0x1cb)]();});}[_0x45796(0x1d3)](){const _0x3f948f=_0x45796;!this[_0x3f948f(0x1d1)]&&this[_0x3f948f(0x1d2)][_0x3f948f(0x1b9)][_0x3f948f(0x1d4)](_0x3f948f(0x1d6))&&(this[_0x3f948f(0x1d1)]=!0x0);}[_0x45796(0x1ca)](){const _0x1f6592=_0x45796;for(const [_0x6b9457,_0x35dd70]of this[_0x1f6592(0x1d2)][_0x1f6592(0x1df)])_0x35dd70[_0x1f6592(0x1c0)]&&_0x1f6592(0x1d5)!==_0x6b9457&&_0x35dd70[_0x1f6592(0x1be)](_0x1f6592(0x1b7));this[_0x1f6592(0x1d2)][_0x1f6592(0x1cf)][_0x1f6592(0x1ba)](_0x1f6592(0x1d7))&&this[_0x1f6592(0x1d2)][_0x1f6592(0x1cf)][_0x1f6592(0x1d4)](_0x1f6592(0x1d7))[_0x1f6592(0x1be)](_0x1f6592(0x1b7));const _0x19b30e=this[_0x1f6592(0x1d2)][_0x1f6592(0x1d8)][_0x1f6592(0x1de)][_0x1f6592(0x1da)];this[_0x1f6592(0x1dc)](_0x19b30e,_0x1f6592(0x1bf),_0x501039=>_0x501039[_0x1f6592(0x1c5)](),{'priority':_0x1f6592(0x1c7)}),this[_0x1f6592(0x1dc)](_0x19b30e,_0x1f6592(0x1c4),_0x2cb692=>_0x2cb692[_0x1f6592(0x1c5)](),{'priority':_0x1f6592(0x1c7)}),this[_0x1f6592(0x1dc)](_0x19b30e,_0x1f6592(0x1c3),_0x449ebd=>_0x449ebd[_0x1f6592(0x1c5)](),{'priority':_0x1f6592(0x1c7)});}[_0x45796(0x1cb)](){const _0x52daa3=_0x45796;for(const [_0x48e704,_0x298eb6]of this[_0x52daa3(0x1d2)][_0x52daa3(0x1df)])_0x298eb6[_0x52daa3(0x1c0)]&&_0x52daa3(0x1d5)!==_0x48e704&&_0x298eb6[_0x52daa3(0x1b8)](_0x52daa3(0x1b7));this[_0x52daa3(0x1c1)](this[_0x52daa3(0x1d2)][_0x52daa3(0x1d8)][_0x52daa3(0x1de)][_0x52daa3(0x1da)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x19f32a,_0x4ea72c){var _0x337243=_0x259d,_0x3fb235=_0x19f32a();while(!![]){try{var _0x58a9d9=-parseInt(_0x337243(0x184))/0x1*(parseInt(_0x337243(0x185))/0x2)+parseInt(_0x337243(0x17d))/0x3*(parseInt(_0x337243(0x17f))/0x4)+parseInt(_0x337243(0x186))/0x5+-parseInt(_0x337243(0x180))/0x6*(-parseInt(_0x337243(0x181))/0x7)+parseInt(_0x337243(0x182))/0x8+-parseInt(_0x337243(0x183))/0x9*(parseInt(_0x337243(0x17e))/0xa)+-parseInt(_0x337243(0x17c))/0xb;if(_0x58a9d9===_0x4ea72c)break;else _0x3fb235['push'](_0x3fb235['shift']());}catch(_0x13a646){_0x3fb235['push'](_0x3fb235['shift']());}}}(_0x1ab4,0xd8a38));export{default as Comments}from'./comments.js';function _0x1ab4(){var _0x519fe7=['42iDPtjr','1587859QzBYPt','10066032RNIUwJ','737487oqmLZB','80714JiInEX','8DFqMLw','2105470yCazMK','24011163wLwKeI','303ItEoxl','130BhWmkh','47172DhYIEU'];_0x1ab4=function(){return _0x519fe7;};return _0x1ab4();}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 Annotations}from'./annotations/annotations.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';function _0x259d(_0x32c3e2,_0x15e5db){var _0x1ab4a8=_0x1ab4();return _0x259d=function(_0x259d89,_0x5660bc){_0x259d89=_0x259d89-0x17c;var _0x1914e0=_0x1ab4a8[_0x259d89];return _0x1914e0;},_0x259d(_0x32c3e2,_0x15e5db);}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';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x24b04a,_0x17060c,_0x1d1ff6){const t=_0x24b04a['t'];switch(_0x17060c){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'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1d1ff6);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'},_0x1d1ff6);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'},_0x1d1ff6);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'},_0x1d1ff6);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'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x40b4(_0x129c6a,_0x48734b){const _0x22b485=_0x22b4();return _0x40b4=function(_0x40b427,_0x422b86){_0x40b427=_0x40b427-0x81;let _0xf02b9a=_0x22b485[_0x40b427];return _0xf02b9a;},_0x40b4(_0x129c6a,_0x48734b);}function _0x22b4(){const _0x58c8e2=['class','disconnect','5598395YjgqBx','cancel','attributes','4aGhCxv','4668837aYMVic','type','observe','10635828QJogeD','3304uNgxVH','9329496UbwHqx','1405686oIiVsE','attributeName','childList','1791636xrtwHN','characterData','41157HVTRIH'];_0x22b4=function(){return _0x58c8e2;};return _0x22b4();}(function(_0x26f9b5,_0x10a47f){const _0x441a8d=_0x40b4,_0x3433a5=_0x26f9b5();while(!![]){try{const _0x3a69a6=parseInt(_0x441a8d(0x90))/0x1+parseInt(_0x441a8d(0x81))/0x2+-parseInt(_0x441a8d(0x8a))/0x3*(parseInt(_0x441a8d(0x89))/0x4)+-parseInt(_0x441a8d(0x86))/0x5+parseInt(_0x441a8d(0x8f))/0x6+parseInt(_0x441a8d(0x8d))/0x7+-parseInt(_0x441a8d(0x8e))/0x8*(parseInt(_0x441a8d(0x83))/0x9);if(_0x3a69a6===_0x10a47f)break;else _0x3433a5['push'](_0x3433a5['shift']());}catch(_0x50bcad){_0x3433a5['push'](_0x3433a5['shift']());}}}(_0x22b4,0xc60d1));import{throttle as _0x1e1e8a}from'lodash-es';export default function Dt(_0x1591a6){const _0x2bdf62=_0x1e1e8a(_0x1591a6,0x1e),_0x5214c4=new MutationObserver(_0x4f96d6=>{const _0x52d4bc=_0x40b4;for(const _0x437a01 of _0x4f96d6)(_0x52d4bc(0x88)==_0x437a01[_0x52d4bc(0x8b)]&&_0x52d4bc(0x84)==_0x437a01[_0x52d4bc(0x91)]||_0x52d4bc(0x92)==_0x437a01[_0x52d4bc(0x8b)]||_0x52d4bc(0x82)==_0x437a01[_0x52d4bc(0x8b)])&&_0x2bdf62();});return{'attach'(_0x42a072){const _0x989ae9=_0x40b4;_0x5214c4[_0x989ae9(0x8c)](_0x42a072,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1feb66=_0x40b4;_0x5214c4[_0x1feb66(0x85)](),_0x2bdf62[_0x1feb66(0x87)]();}};}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|