@ckeditor/ckeditor5-comments 47.4.0-alpha.0 → 47.4.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4b89(_0x5b5d08,_0x5c83c2){const _0x42506f=_0x4250();return _0x4b89=function(_0x4b89c7,_0x550660){_0x4b89c7=_0x4b89c7-0x1c4;let _0x5f509f=_0x42506f[_0x4b89c7];return _0x5f509f;},_0x4b89(_0x5b5d08,_0x5c83c2);}const _0x5ba1bc=_0x4b89;(function(_0x316ec0,_0x1d1a30){const _0x5aede9=_0x4b89,_0x4e7208=_0x316ec0();while(!![]){try{const _0x1aec24=-parseInt(_0x5aede9(0x1ca))/0x1+parseInt(_0x5aede9(0x212))/0x2+parseInt(_0x5aede9(0x1c9))/0x3+-parseInt(_0x5aede9(0x1ef))/0x4*(parseInt(_0x5aede9(0x1fb))/0x5)+-parseInt(_0x5aede9(0x1eb))/0x6+-parseInt(_0x5aede9(0x1d4))/0x7+-parseInt(_0x5aede9(0x1fe))/0x8*(-parseInt(_0x5aede9(0x202))/0x9);if(_0x1aec24===_0x1d1a30)break;else _0x4e7208['push'](_0x4e7208['shift']());}catch(_0x2611d0){_0x4e7208['push'](_0x4e7208['shift']());}}}(_0x4250,0x33725));import{View as _0x39f8d7,FocusCycler as _0x7acd24}from'ckeditor5/src/ui.js';import{diff as _0x1729a7,Collection as _0x18b307,FocusTracker as _0x596c86,KeystrokeHandler as _0x4cfe3d}from'ckeditor5/src/utils.js';function _0x4250(){const _0x49ea14=['_rearrangeExpand','forEach','added','get','866268ppFUij','resolvedBy','arrowdown','editorReady','4bAdyCX','change:isEditMode','delete','focus','destroy','focusFirst','delegate','editorConfig','includes','set','bindTemplate','listenTo','468115lRPZSD','authoredAt','map','8vNIwvE','focusLast','removeComment','_handleNewCommentModel','4360491aILUou','isEditMode','change:hasDirtyComment','_handleInfoComment','ck-thread__comments','isActive','CommentView','length','weight','remove','change:isActive','maxCommentCharsWhenCollapsed','bind','hasDirtyComment','arrowup','maxCommentsWhenCollapsed','87202oGxQHM','ck-hidden','_findOptimalIndex','stopListening','Thread\x20comments','target','_calculatePosition','Marked\x20as\x20resolved','add','collapse','_config','_handleRemoveCommentModel','_setupKeyboardNavigation','_model','locale','createCollection','change','keystrokes','reverse','_shouldCollapse','maxThreadTotalWeight','_rearrangeCollapse','resolved','963273YSkfVW','101491QytkAq','resolvedAt','_updateHasDirtyComment','commentUpdated','resolveCommentThread','resolvedCommentView','element','viewUid','count','editorDestroyed','2092818fTiVGj','focusCycler','some','render','expand','from','commentViews','refreshVisibleViews','setTemplate','change:isResolved','insert','updateComment','comments','removed','formatDateTime','equal','_collapsedCommentsView','focusTracker','visibleViews'];_0x4250=function(){return _0x49ea14;};return _0x4250();}import{getTranslation as _0x106803}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2cc6af}from'./collapsedcommentsview.js';export class CommentsListView extends _0x39f8d7{[_0x5ba1bc(0x1da)];[_0x5ba1bc(0x1cf)];[_0x5ba1bc(0x1e5)];[_0x5ba1bc(0x223)];[_0x5ba1bc(0x1d5)];[_0x5ba1bc(0x21f)];[_0x5ba1bc(0x21c)];[_0x5ba1bc(0x1e4)];constructor(_0x37514b,_0x183f92,_0x4aceb7){const _0xc35b49=_0x5ba1bc;super(_0x37514b);const _0x2fd225=this[_0xc35b49(0x1f9)];this[_0xc35b49(0x1f8)](_0xc35b49(0x20f),!0x1),this[_0xc35b49(0x1f8)](_0xc35b49(0x209),_0x183f92[_0xc35b49(0x1e0)][_0xc35b49(0x209)]),this[_0xc35b49(0x1f8)](_0xc35b49(0x207),!0x1),this[_0xc35b49(0x21f)]=_0x183f92,this[_0xc35b49(0x21c)]=_0x4aceb7,this[_0xc35b49(0x1da)]=this[_0xc35b49(0x221)](),this[_0xc35b49(0x1e6)]=this[_0xc35b49(0x221)](),this[_0xc35b49(0x1cf)]=null,this[_0xc35b49(0x1e5)]=new _0x596c86(),this[_0xc35b49(0x223)]=new _0x4cfe3d(),this[_0xc35b49(0x1d5)]=new _0x7acd24({'focusables':this[_0xc35b49(0x1da)],'focusTracker':this[_0xc35b49(0x1e5)],'keystrokeHandler':this[_0xc35b49(0x223)],'keystrokeHandlerOptions':{'filter':_0x296a22=>this[_0xc35b49(0x1da)][_0xc35b49(0x1fd)](_0x547944=>_0x547944[_0xc35b49(0x1d0)])[_0xc35b49(0x1f7)](_0x296a22[_0xc35b49(0x217)])},'actions':{'focusPrevious':_0xc35b49(0x210),'focusNext':_0xc35b49(0x1ed)}}),this[_0xc35b49(0x1e4)]=new _0x2cc6af(_0x37514b),this[_0xc35b49(0x1e4)][_0xc35b49(0x20e)](_0xc35b49(0x1d2))['to'](this,_0xc35b49(0x209),_0x48b25a=>_0x48b25a-this[_0xc35b49(0x21c)][_0xc35b49(0x211)]);for(const _0x3f4d7d of _0x183f92[_0xc35b49(0x1e0)])this[_0xc35b49(0x201)](_0x3f4d7d);this[_0xc35b49(0x205)](),this[_0xc35b49(0x1fa)](_0x183f92[_0xc35b49(0x1e0)],_0xc35b49(0x21a),(_0x15816c,_0x26d94e)=>{const _0x587d5e=_0xc35b49,_0x4e6c96=this[_0x587d5e(0x218)](_0x26d94e);this[_0x587d5e(0x209)]++,this[_0x587d5e(0x201)](_0x26d94e,_0x4e6c96),this[_0x587d5e(0x1db)]();}),this[_0xc35b49(0x1fa)](_0x183f92[_0xc35b49(0x1e0)],_0xc35b49(0x20b),(_0x30d457,_0x315a2e)=>{const _0x2dcc4d=_0xc35b49;this[_0x2dcc4d(0x209)]--,this[_0x2dcc4d(0x21d)](_0x315a2e),this[_0x2dcc4d(0x1db)]();}),this[_0xc35b49(0x1fa)](_0x183f92,_0xc35b49(0x1cd),()=>this[_0xc35b49(0x1db)]()),this[_0xc35b49(0x1fa)](_0x183f92,_0xc35b49(0x1dd),()=>this[_0xc35b49(0x205)]()),this['on'](_0xc35b49(0x20c),()=>this[_0xc35b49(0x1db)]()),this['on'](_0xc35b49(0x204),()=>this[_0xc35b49(0x1db)]()),this[_0xc35b49(0x1dc)]({'tag':'ul','attributes':{'class':[_0xc35b49(0x206),_0x2fd225['if'](_0xc35b49(0x209),_0xc35b49(0x213),_0x302da1=>!_0x302da1)],'aria-label':_0x106803(_0x37514b,_0xc35b49(0x216))},'children':this[_0xc35b49(0x1e6)]});}get[_0x5ba1bc(0x1c5)](){const _0x1e06b9=_0x5ba1bc;return this[_0x1e06b9(0x21f)][_0x1e06b9(0x20a)]>this[_0x1e06b9(0x21c)][_0x1e06b9(0x1c6)]&&!this[_0x1e06b9(0x207)]&&!this[_0x1e06b9(0x20f)];}[_0x5ba1bc(0x1d7)](){const _0x9adf48=_0x5ba1bc;super[_0x9adf48(0x1d7)](),this[_0x9adf48(0x1db)](),this[_0x9adf48(0x21e)]();}[_0x5ba1bc(0x1f2)](_0x39cdff){const _0x3e254c=_0x5ba1bc;-0x1===_0x39cdff?this[_0x3e254c(0x1d5)][_0x3e254c(0x1ff)]():this[_0x3e254c(0x1d5)][_0x3e254c(0x1f4)]();}[_0x5ba1bc(0x1f3)](){const _0x1d418c=_0x5ba1bc;this[_0x1d418c(0x1e4)][_0x1d418c(0x1f3)]();for(const _0x45d4fb of this[_0x1d418c(0x1da)])_0x45d4fb[_0x1d418c(0x1f3)]();super[_0x1d418c(0x1f3)]();}[_0x5ba1bc(0x1db)](){const _0x3f50da=_0x5ba1bc;this[_0x3f50da(0x1c5)]?this[_0x3f50da(0x1c7)]():this[_0x3f50da(0x1e7)]();}[_0x5ba1bc(0x201)](_0x3570bb,_0x5cf3dc){const _0x2f55f1=_0x5ba1bc,_0x1d9123=new this[(_0x2f55f1(0x21c))][(_0x2f55f1(0x208))](this[_0x2f55f1(0x220)],_0x3570bb,{'maxCommentCharsWhenCollapsed':this[_0x2f55f1(0x21c)][_0x2f55f1(0x20d)],'formatDateTime':this[_0x2f55f1(0x21c)][_0x2f55f1(0x1e2)],'editorConfig':this[_0x2f55f1(0x21c)][_0x2f55f1(0x1f6)]});_0x1d9123[_0x2f55f1(0x1d1)]=_0x3570bb['id'],_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x200))['to'](this),_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x1df))['to'](this),_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x1ce))['to'](this),_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x1ee))['to'](this),_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x1d3))['to'](this),this[_0x2f55f1(0x1fa)](_0x1d9123,_0x2f55f1(0x1f0),()=>this[_0x2f55f1(0x1cc)]()),this[_0x2f55f1(0x1da)][_0x2f55f1(0x21a)](_0x1d9123,_0x5cf3dc);}[_0x5ba1bc(0x218)](_0x1d41b5){const _0x307b43=_0x5ba1bc,_0x101f41=this[_0x307b43(0x21f)][_0x307b43(0x214)](_0x1d41b5);return this[_0x307b43(0x1cf)]?this[_0x307b43(0x1cf)][_0x307b43(0x1fc)]>_0x1d41b5[_0x307b43(0x1fc)]?_0x101f41-0x1:_0x101f41:_0x101f41-0x1;}[_0x5ba1bc(0x205)](){const _0x58c3f6=_0x5ba1bc;if(this[_0x58c3f6(0x21f)][_0x58c3f6(0x1ec)]&&this[_0x58c3f6(0x21f)][_0x58c3f6(0x1cb)]){const _0x18d2c4={'id':_0x58c3f6(0x1c8),'author':this[_0x58c3f6(0x21f)][_0x58c3f6(0x1ec)],'authoredAt':this[_0x58c3f6(0x21f)][_0x58c3f6(0x1cb)],'content':_0x106803(this[_0x58c3f6(0x220)],_0x58c3f6(0x219)),'attributes':{}};this[_0x58c3f6(0x1cf)]=new this[(_0x58c3f6(0x21c))][(_0x58c3f6(0x208))](this[_0x58c3f6(0x220)],_0x18d2c4,{'maxCommentCharsWhenCollapsed':this[_0x58c3f6(0x21c)][_0x58c3f6(0x20d)],'formatDateTime':this[_0x58c3f6(0x21c)][_0x58c3f6(0x1e2)],'editorConfig':this[_0x58c3f6(0x21c)][_0x58c3f6(0x1f6)],'isSystemComment':!0x0}),this[_0x58c3f6(0x1da)][_0x58c3f6(0x21a)](this[_0x58c3f6(0x1cf)],this[_0x58c3f6(0x21f)][_0x58c3f6(0x214)](_0x18d2c4));}else this[_0x58c3f6(0x1cf)]&&(this[_0x58c3f6(0x1da)][_0x58c3f6(0x20b)](this[_0x58c3f6(0x1cf)]),this[_0x58c3f6(0x1cf)][_0x58c3f6(0x1f3)](),this[_0x58c3f6(0x1cf)]=null);this[_0x58c3f6(0x1db)]();}[_0x5ba1bc(0x21d)](_0x4d67e6){const _0x143b25=_0x5ba1bc,_0x29c330=this[_0x143b25(0x1da)][_0x143b25(0x20b)](_0x4d67e6['id']);this[_0x143b25(0x215)](_0x29c330),_0x29c330[_0x143b25(0x203)]&&this[_0x143b25(0x1cc)](),_0x29c330[_0x143b25(0x1f3)]();}[_0x5ba1bc(0x1cc)](){const _0x518e21=_0x5ba1bc;this[_0x518e21(0x20f)]=Array[_0x518e21(0x1d9)](this[_0x518e21(0x1da)])[_0x518e21(0x1d6)](_0x159a0f=>_0x159a0f[_0x518e21(0x203)]);}[_0x5ba1bc(0x1c7)](){const _0x5cef00=_0x5ba1bc,_0x5aa1e1=function(_0x267543){const _0x5ae82f=_0x4b89,_0x379ef4=new _0x18b307();for(const _0x558c31 of _0x267543)_0x379ef4[_0x5ae82f(0x21a)](_0x558c31);return _0x379ef4;}(this[_0x5cef00(0x1da)]),_0x3ef8a0=this[_0x5cef00(0x1e4)][_0x5cef00(0x1d2)];for(let _0xff009c=0x1;_0xff009c<=_0x3ef8a0;_0xff009c++)_0x5aa1e1[_0x5cef00(0x20b)](0x1);for(const _0x2a920f of _0x5aa1e1)_0x2a920f[_0x5cef00(0x21b)]();_0x3ef8a0>0x0&&_0x5aa1e1[_0x5cef00(0x21a)](this[_0x5cef00(0x1e4)],0x1),ns(_0x1729a7(Array[_0x5cef00(0x1d9)](this[_0x5cef00(0x1e6)]),Array[_0x5cef00(0x1d9)](_0x5aa1e1)),this[_0x5cef00(0x1e6)],_0x5aa1e1);}[_0x5ba1bc(0x1e7)](){const _0x11cfcf=_0x5ba1bc;ns(_0x1729a7(Array[_0x11cfcf(0x1d9)](this[_0x11cfcf(0x1e6)]),Array[_0x11cfcf(0x1d9)](this[_0x11cfcf(0x1da)])),this[_0x11cfcf(0x1e6)],this[_0x11cfcf(0x1da)]);for(const _0x33d3dc of this[_0x11cfcf(0x1e6)])_0x33d3dc[_0x11cfcf(0x1d8)]();}[_0x5ba1bc(0x21e)](){const _0x789eee=_0x5ba1bc;this[_0x789eee(0x1da)][_0x789eee(0x1e8)](_0x348b5d=>{const _0x26cd64=_0x789eee;this[_0x26cd64(0x1e5)][_0x26cd64(0x21a)](_0x348b5d[_0x26cd64(0x1d0)]),this[_0x26cd64(0x223)][_0x26cd64(0x1fa)](_0x348b5d[_0x26cd64(0x1d0)]);}),this[_0x789eee(0x1da)]['on'](_0x789eee(0x222),(_0x5e4820,_0x526296)=>{const _0x347b79=_0x789eee;for(const _0x422ab4 of _0x526296[_0x347b79(0x1e1)])this[_0x347b79(0x1e5)][_0x347b79(0x20b)](_0x422ab4[_0x347b79(0x1d0)]),this[_0x347b79(0x223)][_0x347b79(0x215)](_0x422ab4[_0x347b79(0x1d0)]);for(const _0x23bbc1 of Array[_0x347b79(0x1d9)](_0x526296[_0x347b79(0x1e9)])[_0x347b79(0x1c4)]())this[_0x347b79(0x1e5)][_0x347b79(0x21a)](_0x23bbc1[_0x347b79(0x1d0)]),this[_0x347b79(0x223)][_0x347b79(0x1fa)](_0x23bbc1[_0x347b79(0x1d0)]);});}}function ns(_0x2f5deb,_0x36ff23,_0x153cbf){const _0x4aca8a=_0x5ba1bc;let _0x332d33=0x0;for(const _0x505478 of _0x2f5deb)switch(_0x505478){case _0x4aca8a(0x1de):_0x36ff23[_0x4aca8a(0x21a)](_0x153cbf[_0x4aca8a(0x1ea)](_0x332d33),_0x332d33),_0x332d33++;break;case _0x4aca8a(0x1f1):_0x36ff23[_0x4aca8a(0x20b)](_0x332d33);break;case _0x4aca8a(0x1e3):_0x332d33++;}}
|
|
23
|
+
const _0x597359=_0x2f31;(function(_0xe7a4d2,_0x481eee){const _0x365c7d=_0x2f31,_0xfb4ccb=_0xe7a4d2();while(!![]){try{const _0x419f79=-parseInt(_0x365c7d(0xb2))/0x1*(-parseInt(_0x365c7d(0x73))/0x2)+parseInt(_0x365c7d(0xb7))/0x3*(-parseInt(_0x365c7d(0x8b))/0x4)+parseInt(_0x365c7d(0x84))/0x5+-parseInt(_0x365c7d(0x96))/0x6*(-parseInt(_0x365c7d(0xc6))/0x7)+-parseInt(_0x365c7d(0xd1))/0x8*(-parseInt(_0x365c7d(0x90))/0x9)+-parseInt(_0x365c7d(0xd0))/0xa*(parseInt(_0x365c7d(0xa2))/0xb)+-parseInt(_0x365c7d(0xa8))/0xc;if(_0x419f79===_0x481eee)break;else _0xfb4ccb['push'](_0xfb4ccb['shift']());}catch(_0x14a865){_0xfb4ccb['push'](_0xfb4ccb['shift']());}}}(_0x128e,0xf4106));import{View as _0x290f9d,FocusCycler as _0x3c09e1}from'ckeditor5/src/ui.js';function _0x2f31(_0x1f68b3,_0x4c3bbf){const _0x128e7e=_0x128e();return _0x2f31=function(_0x2f31fb,_0x7d1e63){_0x2f31fb=_0x2f31fb-0x73;let _0x249509=_0x128e7e[_0x2f31fb];return _0x249509;},_0x2f31(_0x1f68b3,_0x4c3bbf);}import{diff as _0x5d0353,Collection as _0x30ea97,FocusTracker as _0x362a81,KeystrokeHandler as _0x38a66a}from'ckeditor5/src/utils.js';import{getTranslation as _0x5cb98b}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x491ab0}from'./collapsedcommentsview.js';export class CommentsListView extends _0x290f9d{[_0x597359(0x87)];[_0x597359(0x8e)];[_0x597359(0xbc)];[_0x597359(0xa5)];[_0x597359(0xbf)];[_0x597359(0x82)];[_0x597359(0xc4)];[_0x597359(0x81)];constructor(_0xa05bd0,_0x17ea92,_0x1a9ab8){const _0x377e27=_0x597359;super(_0xa05bd0);const _0x1dab0d=this[_0x377e27(0xb9)];this[_0x377e27(0xd2)](_0x377e27(0x93),!0x1),this[_0x377e27(0xd2)](_0x377e27(0xcf),_0x17ea92[_0x377e27(0xce)][_0x377e27(0xcf)]),this[_0x377e27(0xd2)](_0x377e27(0x7e),!0x1),this[_0x377e27(0x82)]=_0x17ea92,this[_0x377e27(0xc4)]=_0x1a9ab8,this[_0x377e27(0x87)]=this[_0x377e27(0xa9)](),this[_0x377e27(0x89)]=this[_0x377e27(0xa9)](),this[_0x377e27(0x8e)]=null,this[_0x377e27(0xbc)]=new _0x362a81(),this[_0x377e27(0xa5)]=new _0x38a66a(),this[_0x377e27(0xbf)]=new _0x3c09e1({'focusables':this[_0x377e27(0x87)],'focusTracker':this[_0x377e27(0xbc)],'keystrokeHandler':this[_0x377e27(0xa5)],'keystrokeHandlerOptions':{'filter':_0x1084f9=>this[_0x377e27(0x87)][_0x377e27(0x9b)](_0x1572c4=>_0x1572c4[_0x377e27(0x75)])[_0x377e27(0xcd)](_0x1084f9[_0x377e27(0xcb)])},'actions':{'focusPrevious':_0x377e27(0x97),'focusNext':_0x377e27(0xcc)}}),this[_0x377e27(0x81)]=new _0x491ab0(_0xa05bd0),this[_0x377e27(0x81)][_0x377e27(0xc3)](_0x377e27(0x94))['to'](this,_0x377e27(0xcf),_0x24052d=>_0x24052d-this[_0x377e27(0xc4)][_0x377e27(0x77)]);for(const _0x52a188 of _0x17ea92[_0x377e27(0xce)])this[_0x377e27(0xae)](_0x52a188);this[_0x377e27(0xc0)](),this[_0x377e27(0x95)](_0x17ea92[_0x377e27(0xce)],_0x377e27(0xc7),(_0x256dfd,_0x2cfcd7)=>{const _0x52bef2=_0x377e27,_0xb07ac2=this[_0x52bef2(0x7a)](_0x2cfcd7);this[_0x52bef2(0xcf)]++,this[_0x52bef2(0xae)](_0x2cfcd7,_0xb07ac2),this[_0x52bef2(0x91)]();}),this[_0x377e27(0x95)](_0x17ea92[_0x377e27(0xce)],_0x377e27(0x9e),(_0xeb5994,_0x355dec)=>{const _0x4db4a0=_0x377e27;this[_0x4db4a0(0xcf)]--,this[_0x4db4a0(0xba)](_0x355dec),this[_0x4db4a0(0x91)]();}),this[_0x377e27(0x95)](_0x17ea92,_0x377e27(0x80),()=>this[_0x377e27(0x91)]()),this[_0x377e27(0x95)](_0x17ea92,_0x377e27(0xab),()=>this[_0x377e27(0xc0)]()),this['on'](_0x377e27(0x9d),()=>this[_0x377e27(0x91)]()),this['on'](_0x377e27(0xc1),()=>this[_0x377e27(0x91)]()),this[_0x377e27(0xb6)]({'tag':'ul','attributes':{'class':[_0x377e27(0x9f),_0x1dab0d['if'](_0x377e27(0xcf),_0x377e27(0x76),_0x411b1c=>!_0x411b1c)],'aria-label':_0x5cb98b(_0xa05bd0,_0x377e27(0x86))},'children':this[_0x377e27(0x89)]});}get[_0x597359(0xca)](){const _0x523dc7=_0x597359;return this[_0x523dc7(0x82)][_0x523dc7(0xa4)]>this[_0x523dc7(0xc4)][_0x523dc7(0xd4)]&&!this[_0x523dc7(0x7e)]&&!this[_0x523dc7(0x93)];}[_0x597359(0xa1)](){const _0x2747e2=_0x597359;super[_0x2747e2(0xa1)](),this[_0x2747e2(0x91)](),this[_0x2747e2(0x98)]();}[_0x597359(0xac)](_0x344b54){const _0x14cb36=_0x597359;-0x1===_0x344b54?this[_0x14cb36(0xbf)][_0x14cb36(0xa0)]():this[_0x14cb36(0xbf)][_0x14cb36(0xc8)]();}[_0x597359(0xaf)](){const _0x5495fd=_0x597359;this[_0x5495fd(0x81)][_0x5495fd(0xaf)]();for(const _0x19b141 of this[_0x5495fd(0x87)])_0x19b141[_0x5495fd(0xaf)]();super[_0x5495fd(0xaf)]();}[_0x597359(0x91)](){const _0x152375=_0x597359;this[_0x152375(0xca)]?this[_0x152375(0xc9)]():this[_0x152375(0xb0)]();}[_0x597359(0xae)](_0x136427,_0x1f5c31){const _0x120b47=_0x597359,_0x3306d9=new this[(_0x120b47(0xc4))][(_0x120b47(0x78))](this[_0x120b47(0xad)],_0x136427,{'maxCommentCharsWhenCollapsed':this[_0x120b47(0xc4)][_0x120b47(0xb1)],'formatDateTime':this[_0x120b47(0xc4)][_0x120b47(0x79)],'editorConfig':this[_0x120b47(0xc4)][_0x120b47(0x9c)]});_0x3306d9[_0x120b47(0x92)]=_0x136427['id'],_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xbd))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0x7d))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xaa))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xc5))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0x8d))['to'](this),this[_0x120b47(0x95)](_0x3306d9,_0x120b47(0xb8),()=>this[_0x120b47(0xbe)]()),this[_0x120b47(0x87)][_0x120b47(0xc7)](_0x3306d9,_0x1f5c31);}[_0x597359(0x7a)](_0x1be63a){const _0x1bff7e=_0x597359,_0x55bc84=this[_0x1bff7e(0x82)][_0x1bff7e(0xb5)](_0x1be63a);return this[_0x1bff7e(0x8e)]?this[_0x1bff7e(0x8e)][_0x1bff7e(0x7f)]>_0x1be63a[_0x1bff7e(0x7f)]?_0x55bc84-0x1:_0x55bc84:_0x55bc84-0x1;}[_0x597359(0xc0)](){const _0x4e6b2c=_0x597359;if(this[_0x4e6b2c(0x82)][_0x4e6b2c(0x8f)]&&this[_0x4e6b2c(0x82)][_0x4e6b2c(0x99)]){const _0xc8a3ed={'id':_0x4e6b2c(0xbb),'author':this[_0x4e6b2c(0x82)][_0x4e6b2c(0x8f)],'authoredAt':this[_0x4e6b2c(0x82)][_0x4e6b2c(0x99)],'content':_0x5cb98b(this[_0x4e6b2c(0xad)],_0x4e6b2c(0xb4)),'attributes':{}};this[_0x4e6b2c(0x8e)]=new this[(_0x4e6b2c(0xc4))][(_0x4e6b2c(0x78))](this[_0x4e6b2c(0xad)],_0xc8a3ed,{'maxCommentCharsWhenCollapsed':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0xb1)],'formatDateTime':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0x79)],'editorConfig':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0x9c)],'isSystemComment':!0x0}),this[_0x4e6b2c(0x87)][_0x4e6b2c(0xc7)](this[_0x4e6b2c(0x8e)],this[_0x4e6b2c(0x82)][_0x4e6b2c(0xb5)](_0xc8a3ed));}else this[_0x4e6b2c(0x8e)]&&(this[_0x4e6b2c(0x87)][_0x4e6b2c(0x9e)](this[_0x4e6b2c(0x8e)]),this[_0x4e6b2c(0x8e)][_0x4e6b2c(0xaf)](),this[_0x4e6b2c(0x8e)]=null);this[_0x4e6b2c(0x91)]();}[_0x597359(0xba)](_0x3353cc){const _0x52cd77=_0x597359,_0x225416=this[_0x52cd77(0x87)][_0x52cd77(0x9e)](_0x3353cc['id']);this[_0x52cd77(0x83)](_0x225416),_0x225416[_0x52cd77(0x88)]&&this[_0x52cd77(0xbe)](),_0x225416[_0x52cd77(0xaf)]();}[_0x597359(0xbe)](){const _0x166120=_0x597359;this[_0x166120(0x93)]=Array[_0x166120(0xb3)](this[_0x166120(0x87)])[_0x166120(0x8a)](_0x2369d6=>_0x2369d6[_0x166120(0x88)]);}[_0x597359(0xc9)](){const _0x432e19=_0x597359,_0x10bef3=function(_0x3781fc){const _0x2583b5=_0x2f31,_0x24865c=new _0x30ea97();for(const _0x4ac890 of _0x3781fc)_0x24865c[_0x2583b5(0xc7)](_0x4ac890);return _0x24865c;}(this[_0x432e19(0x87)]),_0xb04677=this[_0x432e19(0x81)][_0x432e19(0x94)];for(let _0x597e1f=0x1;_0x597e1f<=_0xb04677;_0x597e1f++)_0x10bef3[_0x432e19(0x9e)](0x1);for(const _0x217403 of _0x10bef3)_0x217403[_0x432e19(0xd3)]();_0xb04677>0x0&&_0x10bef3[_0x432e19(0xc7)](this[_0x432e19(0x81)],0x1),ns(_0x5d0353(Array[_0x432e19(0xb3)](this[_0x432e19(0x89)]),Array[_0x432e19(0xb3)](_0x10bef3)),this[_0x432e19(0x89)],_0x10bef3);}[_0x597359(0xb0)](){const _0x11ae34=_0x597359;ns(_0x5d0353(Array[_0x11ae34(0xb3)](this[_0x11ae34(0x89)]),Array[_0x11ae34(0xb3)](this[_0x11ae34(0x87)])),this[_0x11ae34(0x89)],this[_0x11ae34(0x87)]);for(const _0x4cd00d of this[_0x11ae34(0x89)])_0x4cd00d[_0x11ae34(0xc2)]();}[_0x597359(0x98)](){const _0x1181c6=_0x597359;this[_0x1181c6(0x87)][_0x1181c6(0x7c)](_0x404928=>{const _0x52388b=_0x1181c6;this[_0x52388b(0xbc)][_0x52388b(0xc7)](_0x404928[_0x52388b(0x75)]),this[_0x52388b(0xa5)][_0x52388b(0x95)](_0x404928[_0x52388b(0x75)]);}),this[_0x1181c6(0x87)]['on'](_0x1181c6(0xd5),(_0x436ef6,_0x957a72)=>{const _0x21d1c0=_0x1181c6;for(const _0xadba3d of _0x957a72[_0x21d1c0(0x9a)])this[_0x21d1c0(0xbc)][_0x21d1c0(0x9e)](_0xadba3d[_0x21d1c0(0x75)]),this[_0x21d1c0(0xa5)][_0x21d1c0(0x83)](_0xadba3d[_0x21d1c0(0x75)]);for(const _0x29bc19 of Array[_0x21d1c0(0xb3)](_0x957a72[_0x21d1c0(0xa6)])[_0x21d1c0(0x85)]())this[_0x21d1c0(0xbc)][_0x21d1c0(0xc7)](_0x29bc19[_0x21d1c0(0x75)]),this[_0x21d1c0(0xa5)][_0x21d1c0(0x95)](_0x29bc19[_0x21d1c0(0x75)]);});}}function ns(_0xaa8909,_0x2be6ef,_0x520719){const _0x54ca9f=_0x597359;let _0x1be9b4=0x0;for(const _0x4f8c4b of _0xaa8909)switch(_0x4f8c4b){case _0x54ca9f(0xa7):_0x2be6ef[_0x54ca9f(0xc7)](_0x520719[_0x54ca9f(0x74)](_0x1be9b4),_0x1be9b4),_0x1be9b4++;break;case _0x54ca9f(0x7b):_0x2be6ef[_0x54ca9f(0x9e)](_0x1be9b4);break;case _0x54ca9f(0xa3):_0x1be9b4++;}}function _0x128e(){const _0x507fa2=['22FFrsvf','equal','weight','keystrokes','added','insert','9165528kCjJcq','createCollection','resolveCommentThread','change:isResolved','focus','locale','_handleNewCommentModel','destroy','_rearrangeExpand','maxCommentCharsWhenCollapsed','742048fmcxdv','from','Marked\x20as\x20resolved','_findOptimalIndex','setTemplate','393riWtuC','change:isEditMode','bindTemplate','_handleRemoveCommentModel','resolved','focusTracker','removeComment','_updateHasDirtyComment','focusCycler','_handleInfoComment','change:hasDirtyComment','expand','bind','_config','editorReady','7ayXMoJ','add','focusFirst','_rearrangeCollapse','_shouldCollapse','target','arrowdown','includes','comments','length','5648870VeJACT','48nnTOmO','set','collapse','maxThreadTotalWeight','change','4CNzhNg','get','element','ck-hidden','maxCommentsWhenCollapsed','CommentView','formatDateTime','_calculatePosition','delete','forEach','updateComment','isActive','authoredAt','commentUpdated','_collapsedCommentsView','_model','stopListening','7620310JSWtkz','reverse','Thread\x20comments','commentViews','isEditMode','visibleViews','some','18972LgZxRU','delegate','editorDestroyed','resolvedCommentView','resolvedBy','51201cYlQLa','refreshVisibleViews','viewUid','hasDirtyComment','count','listenTo','2833770AskrIM','arrowup','_setupKeyboardNavigation','resolvedAt','removed','map','editorConfig','change:isActive','remove','ck-thread__comments','focusLast','render'];_0x128e=function(){return _0x507fa2;};return _0x128e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1975(){const _0x108b70=['contextValue','focus','setTemplate','span','bindTemplate','21Frmten','THREAD_CONTEXT_LABEL','412065WcBrXc','2114691znqjEI','50966AreWMu','element','20odvgBR','128TymChk','4UivDCX','3120870fTSadf','ck-context__value','24969252fOWcLr','1868270pcDNpT','1459344Qxopti','set'];_0x1975=function(){return _0x108b70;};return _0x1975();}const _0x244e39=_0x161c;(function(_0x85bafe,_0x48c40d){const _0x5ae6a5=_0x161c,_0x8054d5=_0x85bafe();while(!![]){try{const _0x51069c=parseInt(_0x5ae6a5(0x173))/0x1*(-parseInt(_0x5ae6a5(0x175))/0x2)+parseInt(_0x5ae6a5(0x172))/0x3*(-parseInt(_0x5ae6a5(0x177))/0x4)+parseInt(_0x5ae6a5(0x178))/0x5+parseInt(_0x5ae6a5(0x17c))/0x6*(-parseInt(_0x5ae6a5(0x16f))/0x7)+parseInt(_0x5ae6a5(0x176))/0x8*(-parseInt(_0x5ae6a5(0x171))/0x9)+parseInt(_0x5ae6a5(0x17b))/0xa+parseInt(_0x5ae6a5(0x17a))/0xb;if(_0x51069c===_0x48c40d)break;else _0x8054d5['push'](_0x8054d5['shift']());}catch(_0x590696){_0x8054d5['push'](_0x8054d5['shift']());}}}(_0x1975,0x62ab0));import{View as _0x115272}from'ckeditor5/src/ui.js';function _0x161c(_0x4b20d7,_0x19a82d){const _0x1975e5=_0x1975();return _0x161c=function(_0x161c8e,_0x2fc867){_0x161c8e=_0x161c8e-0x16e;let _0x2335f3=_0x1975e5[_0x161c8e];return _0x2335f3;},_0x161c(_0x4b20d7,_0x19a82d);}import{getTranslation as _0x5685eb}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x115272{constructor(_0xf90333){const _0x6c34d0=_0x161c;super(_0xf90333);const _0x34b1e6=this[_0x6c34d0(0x16e)];this[_0x6c34d0(0x17d)](_0x6c34d0(0x17e),''),this[_0x6c34d0(0x180)]({'tag':_0x6c34d0(0x181),'attributes':{'class':['ck',_0x6c34d0(0x179)],'aria-label':_0x34b1e6['to'](_0x6c34d0(0x17e),_0x55763b=>_0x5685eb(_0xf90333,_0x6c34d0(0x170),_0x55763b)),'tabindex':-0x1},'children':[{'text':_0x34b1e6['to'](_0x6c34d0(0x17e))}]});}[_0x244e39(0x17f)](){const _0x480df4=_0x244e39;this[_0x480df4(0x174)][_0x480df4(0x17f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3cb8(){const _0x5d6d6b=['ck-thread__header','locale','18855ltCkdv','keystrokes','2905392oOpyVK','.ck-context','ck-context','ck-context--quotes','focusCycler','add','setTemplate','bind','.ck-context__value','focusFirst','focusTracker','shift+tab','render','querySelector','1775685miwUTs','11jdKnLk','classList','value','scrollWidth','length','listenTo','fire','overlay','131GVnFpX','Comment\x20was\x20made\x20on\x20an\x20element','_attachContextActions','_trimContextValue','lastIndexOf','div','isResolvable','execute','24733510lWIiAg','label','substring','contextView','context','mouseleave','ck-context-wrapper','offsetWidth','...','focus','ck-annotation__actions','20gsfiYk','reopenCommentThread','_createReopenButton','element','hasContext','_createContextView','3118DYIskz','bindTemplate','mouseenter','tab','tooltip','3818962gLquvJ','isEnabled','reopenButtonView','remove','_setupKeyboardNavigation','createCollection','2504YBXoWF','contextValue','icon','focusables','Reopen','isVisible','isReadOnly','401586EOddeh','isResolved','_model'];_0x3cb8=function(){return _0x5d6d6b;};return _0x3cb8();}function _0x35c7(_0x73236a,_0x333456){const _0x3cb852=_0x3cb8();return _0x35c7=function(_0x35c7a7,_0xda1050){_0x35c7a7=_0x35c7a7-0x19e;let _0x17dd0d=_0x3cb852[_0x35c7a7];return _0x17dd0d;},_0x35c7(_0x73236a,_0x333456);}const _0x142196=_0x35c7;(function(_0x3eab87,_0x41a0d8){const _0x3adabb=_0x35c7,_0x3c96c7=_0x3eab87();while(!![]){try{const _0x3ee9b2=-parseInt(_0x3adabb(0x1d8))/0x1*(-parseInt(_0x3adabb(0x1a8))/0x2)+-parseInt(_0x3adabb(0x1cf))/0x3+-parseInt(_0x3adabb(0x1c1))/0x4+parseInt(_0x3adabb(0x1a2))/0x5*(parseInt(_0x3adabb(0x1ba))/0x6)+-parseInt(_0x3adabb(0x1ad))/0x7+parseInt(_0x3adabb(0x1b3))/0x8*(-parseInt(_0x3adabb(0x1bf))/0x9)+-parseInt(_0x3adabb(0x1e0))/0xa*(-parseInt(_0x3adabb(0x1d0))/0xb);if(_0x3ee9b2===_0x41a0d8)break;else _0x3c96c7['push'](_0x3c96c7['shift']());}catch(_0x1dd927){_0x3c96c7['push'](_0x3c96c7['shift']());}}}(_0x3cb8,0x67f20));import{View as _0x3fc63e,ButtonView as _0x3fc71a,FocusCycler as _0x43b94c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x6ae02b,KeystrokeHandler as _0x2fcf52}from'ckeditor5/src/utils.js';import{IconUndo as _0x4162a0}from'ckeditor5/src/icons.js';import{getTranslation as _0x224a0d}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x45d28c}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x3fc63e{[_0x142196(0x1bc)];[_0x142196(0x1af)];[_0x142196(0x1e3)];[_0x142196(0x1b6)];[_0x142196(0x1cb)];[_0x142196(0x1c0)];[_0x142196(0x1c5)];constructor(_0x3f5186,_0x3d60b3){const _0x1eb241=_0x142196;super(_0x3f5186);const _0x582ef2=this[_0x1eb241(0x1a9)];this[_0x1eb241(0x1bc)]=_0x3d60b3,this[_0x1eb241(0x1af)]=this[_0x1eb241(0x1a4)](),this[_0x1eb241(0x1e3)]=this[_0x1eb241(0x1a7)](),this[_0x1eb241(0x1b6)]=this[_0x1eb241(0x1b2)]([this[_0x1eb241(0x1e3)],this[_0x1eb241(0x1af)]]),this[_0x1eb241(0x1cb)]=new _0x6ae02b(),this[_0x1eb241(0x1c0)]=new _0x2fcf52(),this[_0x1eb241(0x1c5)]=new _0x43b94c({'focusables':this[_0x1eb241(0x1b6)],'focusTracker':this[_0x1eb241(0x1cb)],'keystrokeHandler':this[_0x1eb241(0x1c0)],'actions':{'focusPrevious':_0x1eb241(0x1cc),'focusNext':_0x1eb241(0x1ab)}}),this[_0x1eb241(0x1c8)](_0x1eb241(0x1a6))['to'](this[_0x1eb241(0x1bc)],_0x1eb241(0x1e4),_0x5a2658=>!!_0x5a2658),this[_0x1eb241(0x1c8)](_0x1eb241(0x1b4))['to'](this[_0x1eb241(0x1bc)],_0x1eb241(0x1e4),_0x4f4512=>_0x4f4512&&_0x4f4512[_0x1eb241(0x1d2)]?this[_0x1eb241(0x1db)](_0x4f4512[_0x1eb241(0x1d2)]):_0x224a0d(this[_0x1eb241(0x1be)],_0x1eb241(0x1d9))),this[_0x1eb241(0x1c7)]({'tag':_0x1eb241(0x1dd),'attributes':{'class':[_0x1eb241(0x1bd)]},'children':[{'tag':_0x1eb241(0x1dd),'attributes':{'class':[_0x1eb241(0x1e6)]},'children':[{'tag':_0x1eb241(0x1dd),'attributes':{'class':[_0x1eb241(0x1c3),_0x582ef2['if'](_0x1eb241(0x1a6),_0x1eb241(0x1c4))]},'children':[this[_0x1eb241(0x1e3)]]}]},{'tag':_0x1eb241(0x1dd),'attributes':{'class':[_0x1eb241(0x1a1)]},'children':[this[_0x1eb241(0x1af)]]}]});}[_0x142196(0x1cd)](){const _0x3d8807=_0x142196;super[_0x3d8807(0x1cd)](),this[_0x3d8807(0x1da)](),this[_0x3d8807(0x1b1)]();}[_0x142196(0x1a0)](){const _0x1a6880=_0x142196;this[_0x1a6880(0x1c5)][_0x1a6880(0x1ca)]();}[_0x142196(0x1a4)](){const _0x20ed0c=_0x142196,_0x3c1a41=new _0x3fc71a(this[_0x20ed0c(0x1be)]);return _0x3c1a41[_0x20ed0c(0x1e1)]=_0x224a0d(this[_0x20ed0c(0x1be)],_0x20ed0c(0x1b7)),_0x3c1a41[_0x20ed0c(0x1ac)]=_0x224a0d(this[_0x20ed0c(0x1be)],_0x20ed0c(0x1b7)),_0x3c1a41[_0x20ed0c(0x1b5)]=_0x4162a0,_0x3c1a41[_0x20ed0c(0x1c8)](_0x20ed0c(0x1ae))['to'](this[_0x20ed0c(0x1bc)],_0x20ed0c(0x1b9),_0x943886=>!_0x943886),_0x3c1a41[_0x20ed0c(0x1c8)](_0x20ed0c(0x1b8))['to'](this[_0x20ed0c(0x1bc)],_0x20ed0c(0x1de),this[_0x20ed0c(0x1bc)],_0x20ed0c(0x1bb),(_0x219424,_0x4ddac9)=>_0x219424&&_0x4ddac9),_0x3c1a41['on'](_0x20ed0c(0x1df),()=>{const _0x1a3863=_0x20ed0c;this[_0x1a3863(0x1d6)](_0x1a3863(0x1a3),this[_0x1a3863(0x1bc)]['id']);}),_0x3c1a41;}[_0x142196(0x1db)](_0x51f8ad){const _0x2ac293=_0x142196;if(_0x51f8ad[_0x2ac293(0x1d4)]<0x96)return _0x51f8ad;const _0x23353c=_0x51f8ad[_0x2ac293(0x1dc)]('\x20',0x93);return _0x51f8ad[_0x2ac293(0x1e2)](0x0,_0x23353c>-0x1?_0x23353c:0x93)+_0x2ac293(0x19f);}[_0x142196(0x1da)](){const _0x2a6048=_0x142196,_0x24bf30=this[_0x2a6048(0x1a5)][_0x2a6048(0x1ce)](_0x2a6048(0x1c2)),_0x48ca60=_0x24bf30[_0x2a6048(0x1ce)](_0x2a6048(0x1c9));this[_0x2a6048(0x1d5)](_0x24bf30,_0x2a6048(0x1aa),()=>{const _0x4926b9=_0x2a6048;_0x48ca60[_0x4926b9(0x19e)]<_0x48ca60[_0x4926b9(0x1d3)]&&_0x24bf30[_0x4926b9(0x1d1)][_0x4926b9(0x1c6)](_0x4926b9(0x1d7));}),this[_0x2a6048(0x1d5)](_0x24bf30,_0x2a6048(0x1e5),()=>{const _0x496fe4=_0x2a6048;_0x24bf30[_0x496fe4(0x1d1)][_0x496fe4(0x1b0)](_0x496fe4(0x1d7));});}[_0x142196(0x1b1)](){const _0x27646b=_0x142196;this[_0x27646b(0x1c0)][_0x27646b(0x1d5)](this[_0x27646b(0x1a5)]);for(const _0x1f06f7 of this[_0x27646b(0x1b6)])this[_0x27646b(0x1cb)][_0x27646b(0x1c6)](_0x1f06f7[_0x27646b(0x1a5)]),this[_0x27646b(0x1c0)][_0x27646b(0x1d5)](_0x1f06f7[_0x27646b(0x1a5)]);}[_0x142196(0x1a7)](){const _0x1b69f5=_0x142196,_0x2011b2=new _0x45d28c(this[_0x1b69f5(0x1be)]);return _0x2011b2[_0x1b69f5(0x1c8)](_0x1b69f5(0x1b4))['to'](this),_0x2011b2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e214e=_0x1cc4;(function(_0x41bea7,_0xeb97fa){const _0x51e668=_0x1cc4,_0x3bce4d=_0x41bea7();while(!![]){try{const _0x1e38a5=-parseInt(_0x51e668(0xe0))/0x1*(-parseInt(_0x51e668(0xe4))/0x2)+parseInt(_0x51e668(0xdb))/0x3+parseInt(_0x51e668(0xc9))/0x4+-parseInt(_0x51e668(0xcc))/0x5+-parseInt(_0x51e668(0xee))/0x6*(-parseInt(_0x51e668(0xf6))/0x7)+-parseInt(_0x51e668(0xe5))/0x8+-parseInt(_0x51e668(0xf2))/0x9;if(_0x1e38a5===_0xeb97fa)break;else _0x3bce4d['push'](_0x3bce4d['shift']());}catch(_0x56c266){_0x3bce4d['push'](_0x3bce4d['shift']());}}}(_0x581b,0xd1449));import{View as _0x4a1cc4}from'ckeditor5/src/ui.js';function _0x581b(){const _0x38477b=['focusCycler','1996902dqvuXG','contains','extendTemplate','commentInputView','21kkqByD','isFocused','getDomRoot','bind','44440BeacuQ','delegate','listenTo','2235840TwqJxU','view','ck-thread__user','mousedown','element','filter','change:showInput','div','bindTemplate','value','setTemplate','ck-comment__input-container','showInput','ck-comment__input-container--active','destroy','473181tagSqI','set','ck-thread__input','preventDefault','editor','426776NjQnOy','editorDestroyed','editorReady','focus','4hnYSKM','6897208YEUwCp','focusTracker','then','createEditor','target','render','editing','_focusOnNonInteractiveMouseDown','showButtons','2731938ygAyak','userView','some'];_0x581b=function(){return _0x38477b;};return _0x581b();}function _0x1cc4(_0x2ad2d7,_0x4bdaf2){const _0x581be7=_0x581b();return _0x1cc4=function(_0x1cc432,_0x3594a1){_0x1cc432=_0x1cc432-0xc6;let _0x2ec8cf=_0x581be7[_0x1cc432];return _0x2ec8cf;},_0x1cc4(_0x2ad2d7,_0x4bdaf2);}import{CommentInputView as _0x57ed3a}from'./commentinputview.js';import{UserView as _0x549e8e}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x4a1cc4{constructor(_0x20a314,_0x1b160d,_0x48c8c8){const _0x491645=_0x1cc4;super(_0x20a314),this[_0x491645(0xf5)]=new _0x57ed3a(_0x20a314,_0x48c8c8),this[_0x491645(0xf1)]=this[_0x491645(0xf5)][_0x491645(0xf1)],this[_0x491645(0xf5)][_0x491645(0xc8)](_0x491645(0xed))['to'](this[_0x491645(0xf5)][_0x491645(0xe6)],_0x491645(0xc6),this[_0x491645(0xf5)],_0x491645(0xd5),(_0x1866bf,_0x515d93)=>_0x1866bf||!!_0x515d93),this[_0x491645(0xdc)](_0x491645(0xd8),!0x1),this['on'](_0x491645(0xd2),()=>{const _0x4ba778=_0x491645;this[_0x4ba778(0xd8)]&&!this[_0x4ba778(0xf5)][_0x4ba778(0xdf)]&&this[_0x4ba778(0xf5)][_0x4ba778(0xe8)]();}),this[_0x491645(0xf5)][_0x491645(0xca)](_0x491645(0xe2))['to'](this),this[_0x491645(0xf5)][_0x491645(0xca)](_0x491645(0xe1))['to'](this),this[_0x491645(0xef)]=new _0x549e8e(_0x20a314,_0x1b160d),this[_0x491645(0xef)][_0x491645(0xf4)]({'attributes':{'class':_0x491645(0xce),'aria-hidden':!0x0}}),this[_0x491645(0xf5)][_0x491645(0xf4)]({'attributes':{'class':_0x491645(0xdd)}}),this[_0x491645(0xd6)]({'tag':_0x491645(0xd3),'attributes':{'class':[_0x491645(0xd7),this[_0x491645(0xd4)]['if'](_0x491645(0xd8),_0x491645(0xd9))]},'children':[this[_0x491645(0xef)],this[_0x491645(0xf5)]]});}[_0x5e214e(0xea)](){const _0x3ba92e=_0x5e214e;super[_0x3ba92e(0xea)](),this[_0x3ba92e(0xec)]();}[_0x5e214e(0xda)](){const _0x113429=_0x5e214e;return this[_0x113429(0xf5)][_0x113429(0xda)]()[_0x113429(0xe7)](()=>super[_0x113429(0xda)]());}[_0x5e214e(0xe3)](_0x541c53){const _0x19fb80=_0x5e214e;this[_0x19fb80(0xf5)][_0x19fb80(0xe3)](_0x541c53);}[_0x5e214e(0xec)](){const _0x2f8a0e=_0x5e214e;this[_0x2f8a0e(0xcb)](this[_0x2f8a0e(0xd0)],_0x2f8a0e(0xcf),(_0x346eb4,_0x3886a9)=>{const _0xeef35f=_0x2f8a0e,{submitButtonView:_0x44e8f7,cancelButtonView:_0x5706e9,editor:_0x2297b4}=this[_0xeef35f(0xf5)];[_0x44e8f7[_0xeef35f(0xd0)],_0x5706e9[_0xeef35f(0xd0)],_0x2297b4?_0x2297b4[_0xeef35f(0xeb)][_0xeef35f(0xcd)][_0xeef35f(0xc7)]():null][_0xeef35f(0xd1)](_0x3055ca=>_0x3055ca)[_0xeef35f(0xf0)](_0x2aa9e0=>_0x2aa9e0[_0xeef35f(0xf3)](_0x3886a9[_0xeef35f(0xe9)]))||(this[_0xeef35f(0xe3)](),_0x3886a9[_0xeef35f(0xde)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x128e2b=_0x298c;function _0x3967(){const _0x149f9e=['resolveCommentThread','resolveButton','removeButton','listitem','isVisible','unbind','isUnlinked','commentViews','extendTemplate','Delete\x20comment\x20thread?','_boundFirstCommentView','listenTo','ck-thread--unlinked','set','setTemplate','isReadOnly','change:isReadOnly','render','ck-thread--','784sMDtHY','230064KzqPnB','4060080NRkBtU','high','querySelector','has','bindTemplate','actionIndicator','isSystemComment','focus','ck-thread--active','isResolved','_updateArchivedThreadHeader','placeholder','ck-thread','cancelConfirm','ariaDescriptionView','div','isActive','1099944FenSVX','198oGOKrR','_bindFirstCommentView','locale','commentThreadHeaderView','ck-reset_all-excluded','element','showConfirm','add','ck-comment--resolve','.ck-thread__container','fire','removeConfirm','isEnabled','getTemplate','tooltip','stop','icon','commentsListView','removeCommentThread','4859866ILXBAv','label','execute','archivedAt','get','ariaLabel','containerElement','1874OAKWMx','then','_createResolveButton','18rByCHa','createCollection','focusables','change:archivedAt','112eNdzKb','_cancelAllConfirms','commentThreadChildren','length','6246HCOPLb','isResolvable','ck-thread__container','Resolve','bind','ck-rounded-corners','commentThreadInputView','actionBar','change:isActive','_model','Write\x20a\x20comment...','remove','2448970iXZEwr'];_0x3967=function(){return _0x149f9e;};return _0x3967();}(function(_0x1ccc90,_0xe7ef03){const _0x38bbfc=_0x298c,_0xc6887e=_0x1ccc90();while(!![]){try{const _0x348eb4=parseInt(_0x38bbfc(0x1d9))/0x1*(parseInt(_0x38bbfc(0x1bf))/0x2)+parseInt(_0x38bbfc(0x1e4))/0x3*(parseInt(_0x38bbfc(0x1ab))/0x4)+-parseInt(_0x38bbfc(0x1ad))/0x5+-parseInt(_0x38bbfc(0x1ac))/0x6*(-parseInt(_0x38bbfc(0x1e0))/0x7)+parseInt(_0x38bbfc(0x1be))/0x8+-parseInt(_0x38bbfc(0x1dc))/0x9*(parseInt(_0x38bbfc(0x1f0))/0xa)+parseInt(_0x38bbfc(0x1d2))/0xb;if(_0x348eb4===_0xe7ef03)break;else _0xc6887e['push'](_0xc6887e['shift']());}catch(_0x1a82c8){_0xc6887e['push'](_0xc6887e['shift']());}}}(_0x3967,0x764ef));import{ConfirmMixin as _0x134d2d,LateFocusButtonView as _0x1807e9}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x5c0d6a}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x1910b2}from'./basecommentthreadview.js';import{getTranslation as _0x63ec82}from'../../../utils/common-translations.js';function _0x298c(_0xf45dd2,_0x4c3389){const _0x3967f0=_0x3967();return _0x298c=function(_0x298c70,_0x2750bc){_0x298c70=_0x298c70-0x1a4;let _0x5290cf=_0x3967f0[_0x298c70];return _0x5290cf;},_0x298c(_0xf45dd2,_0x4c3389);}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x134d2d(_0x1910b2){[_0x128e2b(0x1e2)];[_0x128e2b(0x1d8)];[_0x128e2b(0x1f2)];[_0x128e2b(0x1fb)];constructor(_0x417174,_0x50a0af,_0x3c31d4,_0x357ac0){const _0x30fba7=_0x128e2b;super(_0x417174,_0x50a0af,_0x3c31d4,_0x357ac0),this[_0x30fba7(0x1e2)]=this[_0x30fba7(0x1dd)]([this[_0x30fba7(0x1d0)],this[_0x30fba7(0x1ea)],this[_0x30fba7(0x1bb)]]),this[_0x30fba7(0x1a5)](_0x30fba7(0x1b2),null),this[_0x30fba7(0x1d8)]=null,this[_0x30fba7(0x1fb)]=null,this[_0x30fba7(0x1c1)]=_0x417174,this[_0x30fba7(0x1f2)]=this[_0x30fba7(0x1db)](),this[_0x30fba7(0x1a6)](this[_0x30fba7(0x1cc)]()),this['on'](_0x30fba7(0x1ec),(_0x264d22,_0x4e07f0,_0x2f064f)=>{const _0x31b298=_0x30fba7;_0x2f064f||this[_0x31b298(0x1e1)]();}),this[_0x30fba7(0x1fc)](this[_0x30fba7(0x1ed)],_0x30fba7(0x1a8),(_0x125579,_0x4238b5,_0x1a23c5)=>{const _0x1a9813=_0x30fba7;_0x1a23c5&&this[_0x1a9813(0x1e1)]();}),this[_0x30fba7(0x1e3)]>0x0&&this[_0x30fba7(0x1c0)](),this[_0x30fba7(0x1fc)](this[_0x30fba7(0x1d0)][_0x30fba7(0x1f8)],_0x30fba7(0x1c6),()=>{const _0x4b3635=_0x30fba7;this[_0x4b3635(0x1c0)]();});}[_0x128e2b(0x1cc)](){const _0x44895c=_0x128e2b,_0x3a9667=this[_0x44895c(0x1b1)];return{'tag':_0x44895c(0x1bc),'attributes':{'class':['ck',_0x44895c(0x1b9),_0x44895c(0x1c3),_0x44895c(0x1e9),_0x3a9667['if'](_0x44895c(0x1bd),_0x44895c(0x1b5)),_0x3a9667['if'](_0x44895c(0x1f7),_0x44895c(0x1a4)),_0x3a9667['to'](_0x44895c(0x1b2),_0x252907=>_0x252907?_0x44895c(0x1aa)+_0x252907:'')],'data-thread-id':this[_0x44895c(0x1ed)]['id'],'tabindex':0x0,'role':_0x44895c(0x1f4),'aria-label':_0x3a9667['to'](_0x44895c(0x1d7)),'aria-describedby':this[_0x44895c(0x1bb)]['id']},'children':[{'tag':_0x44895c(0x1bc),'attributes':{'class':_0x44895c(0x1e6)},'children':this[_0x44895c(0x1e2)]}]};}[_0x128e2b(0x1a9)](){const _0xee3e47=_0x128e2b;super[_0xee3e47(0x1a9)](),this[_0xee3e47(0x1d8)]=this[_0xee3e47(0x1c4)][_0xee3e47(0x1af)](_0xee3e47(0x1c8)),this[_0xee3e47(0x1ed)]['on'](_0xee3e47(0x1df),()=>{const _0x1edda2=_0xee3e47;this[_0x1edda2(0x1b7)]();}),this[_0xee3e47(0x1b7)]();}[_0x128e2b(0x1e1)](){const _0x2641c8=_0x128e2b;this[_0x2641c8(0x1ba)]();for(const _0x47f596 of this[_0x2641c8(0x1d0)][_0x2641c8(0x1f8)])_0x47f596[_0x2641c8(0x1ba)]();}[_0x128e2b(0x1c0)](){const _0xe66ae1=_0x128e2b,{locale:_0x2c2100}=this,_0x13eaa7=this[_0xe66ae1(0x1d0)][_0xe66ae1(0x1f8)][_0xe66ae1(0x1d6)](0x0);_0x13eaa7===this[_0xe66ae1(0x1fb)]||_0x13eaa7[_0xe66ae1(0x1b3)]||(this[_0xe66ae1(0x1fb)]=_0x13eaa7,this[_0xe66ae1(0x1f6)](_0xe66ae1(0x1b2)),this[_0xe66ae1(0x1e8)](_0xe66ae1(0x1b2))['to'](_0x13eaa7,_0xe66ae1(0x1b2),_0x5053bc=>_0xe66ae1(0x1ef)===_0x5053bc?_0xe66ae1(0x1ef):null),_0x13eaa7[_0xe66ae1(0x1b8)]=_0x63ec82(_0x2c2100,_0xe66ae1(0x1ee)),_0x13eaa7[_0xe66ae1(0x1f3)]['on'](_0xe66ae1(0x1d4),_0x4cb11d=>{const _0x3933ba=_0xe66ae1;_0x4cb11d[_0x3933ba(0x1ce)](),this[_0x3933ba(0x1c5)](_0x63ec82(_0x2c2100,_0x3933ba(0x1fa)),this[_0x3933ba(0x1d8)])[_0x3933ba(0x1da)](()=>{const _0x34e320=_0x3933ba;this[_0x34e320(0x1c9)](_0x34e320(0x1d1));});},{'priority':_0xe66ae1(0x1ae)}),this['on'](_0xe66ae1(0x1ca),()=>{const _0x1c4821=_0xe66ae1;_0x13eaa7[_0x1c4821(0x1b4)]();}),_0x13eaa7[_0xe66ae1(0x1eb)][_0xe66ae1(0x1c6)](this[_0xe66ae1(0x1f2)],0x0),_0x13eaa7[_0xe66ae1(0x1de)][_0xe66ae1(0x1c6)](this[_0xe66ae1(0x1f2)],0x0));}[_0x128e2b(0x1db)](){const _0x7c3d91=_0x128e2b,_0x573d49=new _0x1807e9(this[_0x7c3d91(0x1c1)]);return _0x573d49[_0x7c3d91(0x1d3)]=_0x63ec82(this[_0x7c3d91(0x1c1)],_0x7c3d91(0x1e7)),_0x573d49[_0x7c3d91(0x1cd)]=_0x63ec82(this[_0x7c3d91(0x1c1)],_0x7c3d91(0x1e7)),_0x573d49[_0x7c3d91(0x1cf)]=_0x5c0d6a,_0x573d49[_0x7c3d91(0x1f9)]({'attributes':{'class':_0x7c3d91(0x1c7)}}),_0x573d49[_0x7c3d91(0x1e8)](_0x7c3d91(0x1cb))['to'](this[_0x7c3d91(0x1ed)],_0x7c3d91(0x1a7),_0x5bad48=>!_0x5bad48),_0x573d49[_0x7c3d91(0x1e8)](_0x7c3d91(0x1f5))['to'](this[_0x7c3d91(0x1ed)],_0x7c3d91(0x1e5),this[_0x7c3d91(0x1ed)],_0x7c3d91(0x1b6),(_0x67b209,_0x37d190)=>_0x67b209&&!_0x37d190),_0x573d49['on'](_0x7c3d91(0x1d4),()=>{const _0x49823c=_0x7c3d91;this[_0x49823c(0x1c9)](_0x49823c(0x1f1),this[_0x49823c(0x1ed)]['id']);}),_0x573d49;}[_0x128e2b(0x1b7)](){const _0x9b5e4=_0x128e2b;this[_0x9b5e4(0x1ed)][_0x9b5e4(0x1d5)]?this[_0x9b5e4(0x1e2)][_0x9b5e4(0x1b0)](this[_0x9b5e4(0x1c2)])||(this[_0x9b5e4(0x1e2)][_0x9b5e4(0x1c6)](this[_0x9b5e4(0x1c2)],0x0),this[_0x9b5e4(0x1de)][_0x9b5e4(0x1c6)](this[_0x9b5e4(0x1c2)],0x0)):this[_0x9b5e4(0x1e2)][_0x9b5e4(0x1b0)](this[_0x9b5e4(0x1c2)])&&(this[_0x9b5e4(0x1e2)][_0x9b5e4(0x1ef)](this[_0x9b5e4(0x1c2)]),this[_0x9b5e4(0x1de)][_0x9b5e4(0x1ef)](this[_0x9b5e4(0x1c2)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x10254f=_0x2ab7;function _0x1fcf(){const _0x404dca=['panelPosition','ck-comment--','2745083ExLzhv','isSystemComment','5169lPfBHZ','ck-annotation__info-name','placeholder','actionBar','1TcZaPT','focusables','remove','add','1291974SOOBsj','isEditMode','actionIndicator','ck-annotation','7565733SGZoyL','addMany','buttonView','bind','some','locale','ariaLabel','div','formatDateTime','render','ck-annotation__content-wrapper','ck-comment__wrapper','find','removeComment','Edit','Show\x20more\x20items','isExternal','ck-comment__info-time','isEditable','_createCommentInputView','getUserViewNotificationText','ck-annotation__main','ck-comment__main','cancelConfirm','group','dropdown','children','author','push','25dAYzdu','ariaDescriptionView','ck-comment','length','_createDropdown','ck-comment__actions','label','switchToEditMode','_createEditButton','Delete\x20comment?','_attachActions','panelView','withText','resolvedAt','setTemplate','time','Reply...','mouseleave','set','execute','editButton','_config','ck-comment--edit','bindTemplate','2691126vtROsK','showConfirm','unbind','ck-annotation__actions--hidden','10499192YLoPaz','element','3072smJEPx','_createRemoveButton','ck-annotation__user','ck-annotation__actions','ck-comment__actions--hidden','userView','isVisible','extendTemplate','250vEfVIG','removeButton','items','isReadOnly','toMany','Remove','getExternalCommentNote','listitem','ck-comment--remove','ck-comment__external','name','visibleView','getTemplate','ck-annotation__info','fire','_model','7642854ZIqyFq','then','ck-annotation__info-time','mouseenter','ck-hidden','createCollection','ck-comment__info-name','ck-comment__user','ck-comment__info','span','icon','authoredAt','ck-comment--info','isRemovable','change:isRemovable','isEnabled','listenTo','from','focus','edit','blur'];_0x1fcf=function(){return _0x404dca;};return _0x1fcf();}(function(_0x11e035,_0x336cb6){const _0x3174bc=_0x2ab7,_0x2b7b64=_0x11e035();while(!![]){try{const _0x314798=-parseInt(_0x3174bc(0x159))/0x1*(parseInt(_0x3174bc(0x196))/0x2)+parseInt(_0x3174bc(0x155))/0x3*(-parseInt(_0x3174bc(0x19c))/0x4)+parseInt(_0x3174bc(0x17e))/0x5*(-parseInt(_0x3174bc(0x15d))/0x6)+-parseInt(_0x3174bc(0x161))/0x7+-parseInt(_0x3174bc(0x19a))/0x8+parseInt(_0x3174bc(0x13c))/0x9+parseInt(_0x3174bc(0x1a4))/0xa*(parseInt(_0x3174bc(0x153))/0xb);if(_0x314798===_0x336cb6)break;else _0x2b7b64['push'](_0x2b7b64['shift']());}catch(_0x5abe42){_0x2b7b64['push'](_0x2b7b64['shift']());}}}(_0x1fcf,0xe7c5d));import{IconRemoveComment as _0x4155c0,IconPencil as _0x42ee1b,IconThreeVerticalDots as _0x483f5a}from'ckeditor5/src/icons.js';import{ButtonView as _0xab1d29,createDropdown as _0x1aa975,ListView as _0x406c1c,ListItemView as _0x5af65c,focusChildOnDropdownOpen as _0xbc28c8}from'ckeditor5/src/ui.js';function _0x2ab7(_0x43f902,_0x5401fb){const _0x1fcf30=_0x1fcf();return _0x2ab7=function(_0x2ab727,_0x4c6cad){_0x2ab727=_0x2ab727-0x13b;let _0x3b6501=_0x1fcf30[_0x2ab727];return _0x3b6501;},_0x2ab7(_0x43f902,_0x5401fb);}import{UserView as _0x40ca2d,ConfirmMixin as _0x1875f9,LateFocusDropdownButtonView as _0x4e2e19}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x5066bd}from'./basecommentview.js';import{getTranslation as _0x455a8e}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1875f9(_0x5066bd){[_0x10254f(0x158)];[_0x10254f(0x1a1)];constructor(_0x273004,_0x51350f,_0x14a9e8){const _0x1b4fe2=_0x10254f;super(_0x273004,_0x51350f,_0x14a9e8),this[_0x1b4fe2(0x190)](_0x1b4fe2(0x15f),null),this[_0x1b4fe2(0x190)](_0x1b4fe2(0x157),_0x455a8e(_0x273004,_0x1b4fe2(0x18e))),this[_0x1b4fe2(0x164)](_0x1b4fe2(0x147))['to'](_0x51350f),this[_0x1b4fe2(0x164)](_0x1b4fe2(0x18b))['to'](_0x51350f),this[_0x1b4fe2(0x158)]=this[_0x1b4fe2(0x141)](),this[_0x1b4fe2(0x154)]||(this[_0x1b4fe2(0x192)]=this[_0x1b4fe2(0x186)](),this[_0x1b4fe2(0x1a5)]=this[_0x1b4fe2(0x19d)](),this[_0x1b4fe2(0x1a6)]=this[_0x1b4fe2(0x141)](),this[_0x1b4fe2(0x1a6)][_0x1b4fe2(0x162)]([this[_0x1b4fe2(0x192)],this[_0x1b4fe2(0x1a5)]]),this[_0x1b4fe2(0x17a)]=this[_0x1b4fe2(0x182)](),this[_0x1b4fe2(0x158)][_0x1b4fe2(0x15c)](this[_0x1b4fe2(0x17a)]),this[_0x1b4fe2(0x15a)][_0x1b4fe2(0x15c)](this[_0x1b4fe2(0x17a)])),this[_0x1b4fe2(0x1a1)]=new _0x40ca2d(_0x273004,_0x51350f[_0x1b4fe2(0x17c)],this[_0x1b4fe2(0x175)]()),this[_0x1b4fe2(0x1a1)][_0x1b4fe2(0x1a3)]({'attributes':{'class':[_0x1b4fe2(0x143),_0x1b4fe2(0x19e)],'aria-hidden':!0x0}}),this[_0x1b4fe2(0x14c)](_0x51350f,_0x1b4fe2(0x14a),()=>this[_0x1b4fe2(0x178)]()),this[_0x1b4fe2(0x18c)](this[_0x1b4fe2(0x1b0)]());}[_0x10254f(0x1b0)](){const _0xa6f368=_0x10254f,_0x42e542=this[_0xa6f368(0x195)],_0x4b1868=[{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x144),_0xa6f368(0x1b1)]},'children':[{'tag':_0xa6f368(0x145),'children':[{'text':this[_0xa6f368(0x1a1)][_0xa6f368(0x1ae)]}],'attributes':{'class':[_0xa6f368(0x142),_0xa6f368(0x156)],'data-cke-tooltip-text':this[_0xa6f368(0x1a1)][_0xa6f368(0x1ae)]}},{'tag':_0xa6f368(0x18d),'attributes':{'datetime':_0x42e542['to'](_0xa6f368(0x147)),'class':[_0xa6f368(0x172),_0xa6f368(0x13e)]},'children':[{'text':_0x42e542['to'](_0xa6f368(0x147),_0x2d1115=>this[_0xa6f368(0x193)][_0xa6f368(0x169)](_0x2d1115))}]}]},{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x183),_0xa6f368(0x19f),_0x42e542['if'](_0xa6f368(0x15e),_0xa6f368(0x1a0)),_0x42e542['if'](_0xa6f368(0x15e),_0xa6f368(0x199))]},'children':this[_0xa6f368(0x158)]},{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x16b)]},'children':this[_0xa6f368(0x1af)]},this[_0xa6f368(0x17f)]];return this[_0xa6f368(0x13b)][_0xa6f368(0x171)]&&_0x4b1868[_0xa6f368(0x17d)]({'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x1ad)]},'children':[{'text':this[_0xa6f368(0x1aa)]()}]}),{'tag':'li','attributes':{'class':[_0xa6f368(0x16c)],'tabindex':-0x1,'aria-label':_0x42e542['to'](_0xa6f368(0x167)),'aria-describedby':this[_0xa6f368(0x17f)]['id'],'role':_0xa6f368(0x1ab)},'children':[{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x180),_0xa6f368(0x160),_0x42e542['if'](_0xa6f368(0x15e),_0xa6f368(0x194)),_0x42e542['if'](_0xa6f368(0x154),_0xa6f368(0x148)),_0x42e542['to'](_0xa6f368(0x15f),_0x59f660=>_0x59f660?_0xa6f368(0x152)+_0x59f660:'')],'data-author-id':this[_0xa6f368(0x13b)][_0xa6f368(0x17c)]['id'],'data-comment-id':this[_0xa6f368(0x13b)]['id'],'role':_0xa6f368(0x179)},'children':[this[_0xa6f368(0x1a1)],{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x177),_0xa6f368(0x176)]},'children':_0x4b1868}]}]};}[_0x10254f(0x186)](){const _0xdd22cc=_0x10254f,_0x154547=new _0xab1d29(this[_0xdd22cc(0x166)]);return _0x154547[_0xdd22cc(0x184)]=_0x455a8e(this[_0xdd22cc(0x166)],_0xdd22cc(0x16f)),_0x154547[_0xdd22cc(0x146)]=_0x42ee1b,_0x154547[_0xdd22cc(0x18a)]=!0x0,_0x154547[_0xdd22cc(0x1a3)]({'attributes':{'class':_0xdd22cc(0x194)}}),_0x154547[_0xdd22cc(0x164)](_0xdd22cc(0x14b))['to'](this[_0xdd22cc(0x13b)],_0xdd22cc(0x1a7),_0x10c587=>!_0x10c587),_0x154547[_0xdd22cc(0x164)](_0xdd22cc(0x1a2))['to'](this[_0xdd22cc(0x13b)],_0xdd22cc(0x173)),_0x154547['on'](_0xdd22cc(0x191),()=>this[_0xdd22cc(0x185)]()),_0x154547;}[_0x10254f(0x19d)](){const _0x286214=_0x10254f,_0x4554a3=new _0xab1d29(this[_0x286214(0x166)]);return _0x4554a3[_0x286214(0x184)]=_0x455a8e(this[_0x286214(0x166)],_0x286214(0x1a9)),_0x4554a3[_0x286214(0x146)]=_0x4155c0,_0x4554a3[_0x286214(0x18a)]=!0x0,_0x4554a3[_0x286214(0x1a3)]({'attributes':{'class':_0x286214(0x1ac)}}),_0x4554a3[_0x286214(0x164)](_0x286214(0x14b))['to'](this[_0x286214(0x13b)],_0x286214(0x1a7),_0x25d92d=>!_0x25d92d),_0x4554a3[_0x286214(0x164)](_0x286214(0x1a2))['to'](this[_0x286214(0x13b)],_0x286214(0x149)),_0x4554a3['on'](_0x286214(0x191),()=>{const _0x23880e=_0x286214;this[_0x23880e(0x197)](_0x455a8e(this[_0x23880e(0x166)],_0x23880e(0x187)),this[_0x23880e(0x19b)])[_0x23880e(0x13d)](()=>{const _0x54c6bb=_0x23880e;this[_0x54c6bb(0x1b2)](_0x54c6bb(0x16e),this[_0x54c6bb(0x13b)]['id']);});}),_0x4554a3;}[_0x10254f(0x182)](){const _0x49e4db=_0x10254f,_0x56d1d8=_0x1aa975(this[_0x49e4db(0x166)],_0x4e2e19),_0x2aa54a=_0x56d1d8[_0x49e4db(0x189)][_0x49e4db(0x17b)],_0x26feab=new _0x406c1c(this[_0x49e4db(0x166)]),_0x21b09f=_0x56d1d8[_0x49e4db(0x195)];_0xbc28c8(_0x56d1d8,()=>this[_0x49e4db(0x1a6)][_0x49e4db(0x16d)](_0x4c9fe7=>_0x4c9fe7[_0x49e4db(0x1a2)])),_0x56d1d8[_0x49e4db(0x1a3)]({'attributes':{'class':[_0x21b09f['if'](_0x49e4db(0x1a2),_0x49e4db(0x140),_0xb61976=>!_0xb61976)]}});const _0x46ee18=(_0x31f881,_0x52fb25=-0x1)=>{const _0x4db6e3=_0x49e4db,_0x4a25fd=new _0x5af65c(this[_0x4db6e3(0x166)]);_0x4a25fd[_0x4db6e3(0x17b)][_0x4db6e3(0x15c)](_0x31f881);const _0x2be466=_0x52fb25>-0x1?_0x52fb25:_0x26feab[_0x4db6e3(0x1a6)][_0x4db6e3(0x181)];_0x26feab[_0x4db6e3(0x1a6)][_0x4db6e3(0x15c)](_0x4a25fd,_0x2be466);const _0xe11942=Array[_0x4db6e3(0x14d)](this[_0x4db6e3(0x1a6)]);_0x56d1d8[_0x4db6e3(0x198)](_0x4db6e3(0x14b),_0x4db6e3(0x1a2)),_0x56d1d8[_0x4db6e3(0x164)](_0x4db6e3(0x14b))[_0x4db6e3(0x1a8)](_0xe11942,_0x4db6e3(0x14b),(..._0xe12c37)=>_0xe12c37[_0x4db6e3(0x165)](_0x4edfd0=>_0x4edfd0)),_0x56d1d8[_0x4db6e3(0x164)](_0x4db6e3(0x1a2))[_0x4db6e3(0x1a8)](_0xe11942,_0x4db6e3(0x1a2),(..._0x2393cf)=>_0x2393cf[_0x4db6e3(0x165)](_0x3720ec=>_0x3720ec));};_0x56d1d8[_0x49e4db(0x151)]='sw',_0x56d1d8[_0x49e4db(0x163)][_0x49e4db(0x190)]({'label':_0x455a8e(this[_0x49e4db(0x166)],_0x49e4db(0x170)),'icon':_0x483f5a});for(const _0x6a0666 of this[_0x49e4db(0x1a6)])_0x46ee18(_0x6a0666);return _0x2aa54a[_0x49e4db(0x15c)](_0x26feab),_0x56d1d8[_0x49e4db(0x14c)](this[_0x49e4db(0x1a6)],_0x49e4db(0x15c),(_0xac56cb,_0x49e927,_0x422cac)=>{_0x46ee18(_0x49e927,_0x422cac);}),_0x56d1d8[_0x49e4db(0x14c)](this[_0x49e4db(0x1a6)],_0x49e4db(0x15b),(_0x4de923,_0x546f79,_0x3fbf18)=>{const _0x8d3877=_0x49e4db;_0x26feab[_0x8d3877(0x1a6)][_0x8d3877(0x15b)](_0x3fbf18);}),_0x56d1d8;}[_0x10254f(0x188)](_0x5876ae,_0x2d633b){const _0x298fd7=_0x10254f,_0x5e585c=_0x5876ae&&_0x5876ae[_0x298fd7(0x19b)];_0x5e585c&&(this[_0x298fd7(0x14c)](_0x5e585c,_0x298fd7(0x13f),()=>this[_0x298fd7(0x15f)]=_0x2d633b),this[_0x298fd7(0x14c)](_0x5e585c,_0x298fd7(0x14e),()=>this[_0x298fd7(0x15f)]=_0x2d633b),this[_0x298fd7(0x14c)](_0x5e585c,_0x298fd7(0x18f),()=>this[_0x298fd7(0x15f)]=null),this[_0x298fd7(0x14c)](_0x5e585c,_0x298fd7(0x150),()=>this[_0x298fd7(0x15f)]=null));}[_0x10254f(0x174)](){const _0x6ce155=_0x10254f,_0x3d968d=super[_0x6ce155(0x174)]();return _0x3d968d[_0x6ce155(0x164)](_0x6ce155(0x157))['to'](this),_0x3d968d;}[_0x10254f(0x16a)](){const _0xf6527b=_0x10254f;super[_0xf6527b(0x16a)](),this[_0xf6527b(0x188)](this[_0xf6527b(0x192)],_0xf6527b(0x14f)),this[_0xf6527b(0x188)](this[_0xf6527b(0x1a5)],_0xf6527b(0x15b));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x42bdd7=_0x2bad;(function(_0x22a9d5,_0x4b26aa){var _0x52ae16=_0x2bad,_0x1e606a=_0x22a9d5();while(!![]){try{var _0x3e5748=-parseInt(_0x52ae16(0x1aa))/0x1+-parseInt(_0x52ae16(0x19b))/0x2*(parseInt(_0x52ae16(0x1a5))/0x3)+-parseInt(_0x52ae16(0x1a8))/0x4*(parseInt(_0x52ae16(0x1a6))/0x5)+-parseInt(_0x52ae16(0x1a1))/0x6+parseInt(_0x52ae16(0x1a4))/0x7*(parseInt(_0x52ae16(0x19e))/0x8)+parseInt(_0x52ae16(0x19d))/0x9*(parseInt(_0x52ae16(0x19f))/0xa)+-parseInt(_0x52ae16(0x1a9))/0xb*(-parseInt(_0x52ae16(0x1a0))/0xc);if(_0x3e5748===_0x4b26aa)break;else _0x1e606a['push'](_0x1e606a['shift']());}catch(_0x51ff57){_0x1e606a['push'](_0x1e606a['shift']());}}}(_0x5ea1,0x972c1));import{Plugin as _0x2c7bba}from'ckeditor5/src/core.js';function _0x2bad(_0x40f7ff,_0x1f66b4){var _0x5ea1c2=_0x5ea1();return _0x2bad=function(_0x2bad47,_0x20c0b0){_0x2bad47=_0x2bad47-0x19a;var _0x116805=_0x5ea1c2[_0x2bad47];return _0x116805;},_0x2bad(_0x40f7ff,_0x1f66b4);}import{CommentsRepository as _0x21a554}from'./comments/commentsrepository.js';import{CommentsEditing as _0x178e8e}from'./comments/commentsediting.js';import{CommentsUI as _0xea604e}from'./comments/commentsui.js';import{CommentsOnly as _0x50a60c}from'./commentsonly.js';import{WideSidebar as _0x3f03b8}from'./annotations/widesidebar.js';function _0x5ea1(){var _0x3d7296=['Comments','76hOJMgg','isPremiumPlugin','10269PBUthq','5588088Rhoflx','1780SEDtTV','6084MYsWWF','742680itDmDN','requires','pluginName','7LkVsWO','621GdozgC','67595RaXlCm','isOfficialPlugin','152HUPAVs','15961qmmHEo','372697XVJGEg'];_0x5ea1=function(){return _0x3d7296;};return _0x5ea1();}import{NarrowSidebar as _0x4b7962}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x6f6c8f}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x3886e7}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x17624}from'./comments/commentsarchive.js';export class Comments extends _0x2c7bba{static get[_0x42bdd7(0x1a2)](){return[_0x21a554,_0x178e8e,_0xea604e,_0x17624,_0x3886e7,_0x50a60c,_0x3f03b8,_0x4b7962,_0x6f6c8f];}static get[_0x42bdd7(0x1a3)](){var _0x122667=_0x42bdd7;return _0x122667(0x19a);}static get[_0x42bdd7(0x1a7)](){return!0x0;}static get[_0x42bdd7(0x19c)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf2f5bf=_0x10cd;(function(_0x737d01,_0x4f48e2){const _0x27115c=_0x10cd,_0xcf8d52=_0x737d01();while(!![]){try{const _0x10cc40=-parseInt(_0x27115c(0x126))/0x1*(parseInt(_0x27115c(0x114))/0x2)+-parseInt(_0x27115c(0x127))/0x3+-parseInt(_0x27115c(0x136))/0x4+parseInt(_0x27115c(0x120))/0x5*(-parseInt(_0x27115c(0x12d))/0x6)+-parseInt(_0x27115c(0x12c))/0x7*(-parseInt(_0x27115c(0x13a))/0x8)+-parseInt(_0x27115c(0x11a))/0x9*(parseInt(_0x27115c(0x12f))/0xa)+parseInt(_0x27115c(0x128))/0xb*(parseInt(_0x27115c(0x137))/0xc);if(_0x10cc40===_0x4f48e2)break;else _0xcf8d52['push'](_0xcf8d52['shift']());}catch(_0x22d077){_0xcf8d52['push'](_0xcf8d52['shift']());}}}(_0x4535,0x485c4));function _0x4535(){const _0x264b3a=['get','SourceEditing','DragDrop','delete','RevisionTracker','forceDisabled','2103012AGKhjb','24260508qwJoEr','pluginName','requires','587744whldeu','addCommentThread','commands','afterInit','stopListening','cut','view','set','editing','editSource','config','4vjCHKl','plugins','clipboardInput','editor','document','_enableCommentsOnlyMode','1050867OetQjD','change:isEnabled','CommentsOnly','has','isOfficialPlugin','isEnabled','28225oHKDRo','commentsOnlyMode','isPremiumPlugin','highest','stop','affectsData','35196PEgbxV','1015980BNhegY','11qFHCBF','listenTo','_disableCommentsOnlyMode','commentsOnly','7aFkMxt','546sTXFVa','clearForceDisabled','30mgbnDz'];_0x4535=function(){return _0x264b3a;};return _0x4535();}import{Plugin as _0x233e09}from'ckeditor5/src/core.js';function _0x10cd(_0x3807db,_0x4588b3){const _0x4535c2=_0x4535();return _0x10cd=function(_0x10cdc9,_0x45122b){_0x10cdc9=_0x10cdc9-0x113;let _0x116251=_0x4535c2[_0x10cdc9];return _0x116251;},_0x10cd(_0x3807db,_0x4588b3);}import{CommentsEditing as _0x559bb4}from'./comments/commentsediting.js';export class CommentsOnly extends _0x233e09{static get[_0xf2f5bf(0x138)](){const _0x375acf=_0xf2f5bf;return _0x375acf(0x11c);}static get[_0xf2f5bf(0x11e)](){return!0x0;}static get[_0xf2f5bf(0x122)](){return!0x0;}static get[_0xf2f5bf(0x139)](){return[_0x559bb4];}constructor(_0x599f39){const _0x2840f6=_0xf2f5bf;super(_0x599f39),this[_0x2840f6(0x141)](_0x2840f6(0x11f),!0x1),this['on'](_0x2840f6(0x11b),(_0x18a5cc,_0x5ef70c,_0x23e481)=>{const _0x18efb6=_0x2840f6;_0x23e481?this[_0x18efb6(0x119)]():this[_0x18efb6(0x12a)]();});}[_0xf2f5bf(0x13d)](){const _0xe5aa8f=_0xf2f5bf;!this[_0xe5aa8f(0x11f)]&&this[_0xe5aa8f(0x117)][_0xe5aa8f(0x113)][_0xe5aa8f(0x130)](_0xe5aa8f(0x12b))&&(this[_0xe5aa8f(0x11f)]=!0x0);}[_0xf2f5bf(0x119)](){const _0x31443d=_0xf2f5bf;for(const [_0x55fa3f,_0x2a929b]of this[_0x31443d(0x117)][_0x31443d(0x13c)])_0x2a929b[_0x31443d(0x125)]&&_0x31443d(0x13b)!==_0x55fa3f&&_0x2a929b[_0x31443d(0x135)](_0x31443d(0x121));(this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x11d)](_0x31443d(0x132))&&this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x130)](_0x31443d(0x132))[_0x31443d(0x135)](_0x31443d(0x121)),this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x11d)](_0x31443d(0x134)))&&this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x130)](_0x31443d(0x134))[_0x31443d(0x135)](_0x31443d(0x121));this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x11d)](_0x31443d(0x131))&&this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x130)](_0x31443d(0x131))[_0x31443d(0x135)](_0x31443d(0x121));this[_0x31443d(0x117)][_0x31443d(0x13c)][_0x31443d(0x130)](_0x31443d(0x143))?.[_0x31443d(0x135)](_0x31443d(0x121));const _0x59aeba=this[_0x31443d(0x117)][_0x31443d(0x142)][_0x31443d(0x140)][_0x31443d(0x118)];this[_0x31443d(0x129)](_0x59aeba,_0x31443d(0x13f),_0x23efe0=>_0x23efe0[_0x31443d(0x124)](),{'priority':_0x31443d(0x123)}),this[_0x31443d(0x129)](_0x59aeba,_0x31443d(0x116),_0xdab114=>_0xdab114[_0x31443d(0x124)](),{'priority':_0x31443d(0x123)}),this[_0x31443d(0x129)](_0x59aeba,_0x31443d(0x133),_0x1ccc7b=>_0x1ccc7b[_0x31443d(0x124)](),{'priority':_0x31443d(0x123)});}[_0xf2f5bf(0x12a)](){const _0x1b6ddf=_0xf2f5bf;for(const [_0x3c1905,_0x758bdd]of this[_0x1b6ddf(0x117)][_0x1b6ddf(0x13c)])_0x758bdd[_0x1b6ddf(0x125)]&&_0x1b6ddf(0x13b)!==_0x3c1905&&_0x758bdd[_0x1b6ddf(0x12e)](_0x1b6ddf(0x121));this[_0x1b6ddf(0x117)][_0x1b6ddf(0x115)][_0x1b6ddf(0x11d)](_0x1b6ddf(0x134))&&this[_0x1b6ddf(0x117)][_0x1b6ddf(0x115)][_0x1b6ddf(0x130)](_0x1b6ddf(0x134))[_0x1b6ddf(0x12e)](_0x1b6ddf(0x121)),this[_0x1b6ddf(0x117)][_0x1b6ddf(0x115)][_0x1b6ddf(0x11d)](_0x1b6ddf(0x131))&&this[_0x1b6ddf(0x117)][_0x1b6ddf(0x115)][_0x1b6ddf(0x130)](_0x1b6ddf(0x131))[_0x1b6ddf(0x12e)](_0x1b6ddf(0x121)),this[_0x1b6ddf(0x117)][_0x1b6ddf(0x13c)][_0x1b6ddf(0x130)](_0x1b6ddf(0x143))?.[_0x1b6ddf(0x12e)](_0x1b6ddf(0x121)),this[_0x1b6ddf(0x13e)](this[_0x1b6ddf(0x117)][_0x1b6ddf(0x142)][_0x1b6ddf(0x140)][_0x1b6ddf(0x118)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x37246f,_0x2b8e0a){var _0x29b369=_0x1483,_0x572faa=_0x37246f();while(!![]){try{var _0x518fc2=-parseInt(_0x29b369(0xca))/0x1+parseInt(_0x29b369(0xd1))/0x2+parseInt(_0x29b369(0xd4))/0x3*(parseInt(_0x29b369(0xc9))/0x4)+parseInt(_0x29b369(0xcd))/0x5*(-parseInt(_0x29b369(0xcf))/0x6)+parseInt(_0x29b369(0xd3))/0x7*(parseInt(_0x29b369(0xd2))/0x8)+-parseInt(_0x29b369(0xcb))/0x9*(-parseInt(_0x29b369(0xce))/0xa)+-parseInt(_0x29b369(0xcc))/0xb*(parseInt(_0x29b369(0xd0))/0xc);if(_0x518fc2===_0x2b8e0a)break;else _0x572faa['push'](_0x572faa['shift']());}catch(_0x56be9e){_0x572faa['push'](_0x572faa['shift']());}}}(_0x3d89,0x714b9));export{Comments}from'./comments.js';function _0x3d89(){var _0xfb39ad=['64ZyJYJU','768362cKEsVt','1125srHiBU','6436YRWKus','702612ZEATWx','182079KFDjTV','77hmShZo','5DxSiLQ','310RDVBfs','2809356UGSZXZ','1345908ozXmBT','622688HuuzlT'];_0x3d89=function(){return _0xfb39ad;};return _0x3d89();}export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';function _0x1483(_0x4c2070,_0x42cf20){var _0x3d896b=_0x3d89();return _0x1483=function(_0x148353,_0x21924c){_0x148353=_0x148353-0xc9;var _0x4c5b09=_0x3d896b[_0x148353];return _0x4c5b09;},_0x1483(_0x4c2070,_0x42cf20);}export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x44aae5,_0x52a186,_0x2050a6){const t=_0x44aae5['t'];switch(_0x52a186){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'},_0x2050a6);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'},_0x2050a6);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'},_0x2050a6);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'},_0x2050a6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2050a6);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'},_0x2050a6);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'},_0x2050a6);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'},_0x2050a6);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(_0x42a1eb,_0x56c0b1){const _0x1bf388=_0x216b,_0x151b88=_0x42a1eb();while(!![]){try{const _0x214b46=-parseInt(_0x1bf388(0x1fd))/0x1+parseInt(_0x1bf388(0x1f2))/0x2*(parseInt(_0x1bf388(0x1f0))/0x3)+-parseInt(_0x1bf388(0x1fe))/0x4+parseInt(_0x1bf388(0x1f6))/0x5*(-parseInt(_0x1bf388(0x1f7))/0x6)+-parseInt(_0x1bf388(0x1fc))/0x7*(-parseInt(_0x1bf388(0x201))/0x8)+-parseInt(_0x1bf388(0x1f4))/0x9+-parseInt(_0x1bf388(0x200))/0xa*(-parseInt(_0x1bf388(0x1f5))/0xb);if(_0x214b46===_0x56c0b1)break;else _0x151b88['push'](_0x151b88['shift']());}catch(_0x1960b0){_0x151b88['push'](_0x151b88['shift']());}}}(_0x187c,0xc60ec));function _0x187c(){const _0x2b67b5=['229548vegzDJ','455935FJXSge','96YAYapN','observe','attributes','type','childList','19726ldARjW','510343vdmmno','4688784SAXLIq','characterData','2510gbjqXL','120DVJPbe','cancel','attributeName','69204MrFULt','disconnect','14eKgnqq','class','13399551UBkigS'];_0x187c=function(){return _0x2b67b5;};return _0x187c();}function _0x216b(_0x40e76f,_0x3b52d0){const _0x187ca5=_0x187c();return _0x216b=function(_0x216b64,_0x521218){_0x216b64=_0x216b64-0x1f0;let _0x49bd29=_0x187ca5[_0x216b64];return _0x49bd29;},_0x216b(_0x40e76f,_0x3b52d0);}import{throttle as _0x384ab4}from'es-toolkit/compat';export function createMutationObserver(_0x34c334){const _0x355fc3=_0x384ab4(_0x34c334,0x1e),_0x5db131=new MutationObserver(_0x375cd5=>{const _0x2afe6c=_0x216b;for(const _0x3af36f of _0x375cd5)(_0x2afe6c(0x1f9)==_0x3af36f[_0x2afe6c(0x1fa)]&&_0x2afe6c(0x1f3)==_0x3af36f[_0x2afe6c(0x203)]||_0x2afe6c(0x1fb)==_0x3af36f[_0x2afe6c(0x1fa)]||_0x2afe6c(0x1ff)==_0x3af36f[_0x2afe6c(0x1fa)])&&_0x355fc3();});return{'attach'(_0x1007c0){const _0x1ca363=_0x216b;_0x5db131[_0x1ca363(0x1f8)](_0x1007c0,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x441bec=_0x216b;_0x5db131[_0x441bec(0x1f1)](),_0x355fc3[_0x441bec(0x202)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x443df1,_0x31118e){const _0xe73079=_0x28e5,_0xe01b38=_0x443df1();while(!![]){try{const _0x5b29a1=parseInt(_0xe73079(0x138))/0x1+parseInt(_0xe73079(0x13f))/0x2+parseInt(_0xe73079(0x139))/0x3*(-parseInt(_0xe73079(0x13a))/0x4)+parseInt(_0xe73079(0x13e))/0x5+parseInt(_0xe73079(0x13c))/0x6+parseInt(_0xe73079(0x13b))/0x7*(parseInt(_0xe73079(0x13d))/0x8)+-parseInt(_0xe73079(0x141))/0x9;if(_0x5b29a1===_0x31118e)break;else _0xe01b38['push'](_0xe01b38['shift']());}catch(_0xe614b5){_0xe01b38['push'](_0xe01b38['shift']());}}}(_0x3b61,0xda1c9));export function splitMarkerName(_0x3e4487){const _0x1f47d0=_0x28e5,_0x27439f=_0x3e4487[_0x1f47d0(0x140)](':');return{'group':_0x27439f[0x0],'id':_0x27439f[0x1],'part':_0x27439f[0x2]};}function _0x28e5(_0x1ca1bb,_0x4155a6){const _0x3b6132=_0x3b61();return _0x28e5=function(_0x28e52a,_0x5e3b25){_0x28e52a=_0x28e52a-0x138;let _0x3cfe1b=_0x3b6132[_0x28e52a];return _0x3cfe1b;},_0x28e5(_0x1ca1bb,_0x4155a6);}function _0x3b61(){const _0x3df364=['1537594rmlwBg','498uESOeI','7244UpQKKV','2252999iGsQZH','4244724QSTuOF','8SXhzLh','754435ozUEAy','1678464uObgie','split','21267117xMcpKH'];_0x3b61=function(){return _0x3df364;};return _0x3b61();}
|