@ckeditor/ckeditor5-comments 41.3.1 → 41.4.0-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/build/comments.js +1 -1
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +596 -0
- package/dist/index.css +926 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/annotations/annotation.d.ts +94 -0
- package/dist/types/annotations/annotationcollection.d.ts +102 -0
- package/dist/types/annotations/annotations.d.ts +158 -0
- package/dist/types/annotations/annotationsuis.d.ts +236 -0
- package/dist/types/annotations/editorannotations.d.ts +71 -0
- package/dist/types/annotations/inlineannotations.d.ts +94 -0
- package/dist/types/annotations/narrowsidebar.d.ts +89 -0
- package/dist/types/annotations/sidebar.d.ts +104 -0
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
- package/dist/types/annotations/view/annotationview.d.ts +94 -0
- package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
- package/dist/types/annotations/view/sidebarview.d.ts +36 -0
- package/dist/types/annotations/widesidebar.d.ts +81 -0
- package/dist/types/augmentation.d.ts +56 -0
- package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
- package/dist/types/comments/commentsarchive.d.ts +35 -0
- package/dist/types/comments/commentsarchiveui.d.ts +42 -0
- package/dist/types/comments/commentsediting.d.ts +84 -0
- package/dist/types/comments/commentsrepository.d.ts +1134 -0
- package/dist/types/comments/commentsui.d.ts +37 -0
- package/dist/types/comments/integrations/clipboard.d.ts +30 -0
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
- package/dist/types/comments/integrations/importword.d.ts +25 -0
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
- package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
- package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
- package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
- package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
- package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
- package/dist/types/comments/ui/view/commentview.d.ts +247 -0
- package/dist/types/comments.d.ts +39 -0
- package/dist/types/commentsonly.d.ts +37 -0
- package/dist/types/config.d.ts +202 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/createmutationobserver.d.ts +18 -0
- package/package.json +4 -3
- package/src/annotations/annotation.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- 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 +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2986e8=_0x4f18;(function(_0x2e348e,_0x4e5151){const _0x3602f0=_0x4f18,_0x5a9228=_0x2e348e();while(!![]){try{const _0x300aa2=-parseInt(_0x3602f0(0xc1))/0x1+parseInt(_0x3602f0(0xaf))/0x2*(parseInt(_0x3602f0(0xcf))/0x3)+-parseInt(_0x3602f0(0xb2))/0x4*(parseInt(_0x3602f0(0xad))/0x5)+-parseInt(_0x3602f0(0xa3))/0x6*(-parseInt(_0x3602f0(0xc6))/0x7)+-parseInt(_0x3602f0(0xba))/0x8*(-parseInt(_0x3602f0(0xce))/0x9)+parseInt(_0x3602f0(0xb1))/0xa+-parseInt(_0x3602f0(0xbf))/0xb;if(_0x300aa2===_0x4e5151)break;else _0x5a9228['push'](_0x5a9228['shift']());}catch(_0x2f6380){_0x5a9228['push'](_0x5a9228['shift']());}}}(_0x4913,0x93f49));import{View as _0x2b2f94,ButtonView as _0x1eab70}from'ckeditor5/src/ui.js';function _0x4913(){const _0x1a5c42=['bind','tooltip','fire','ck-thread__header','contextValue','isResolvable','label','65997BvUqlw','2469738ncLhpF','mouseleave','ck-context__value','...','reopenCommentThread','.ck-context__value','ck-context-wrapper','ck-context','hasContext','element','isResolved','context','remove','lastIndexOf','scrollWidth','querySelector','offsetWidth','overlay','icon','6AzlkES','listenTo','value','add','isVisible','_attachContextActions','length','reopenButtonView','span','mouseenter','2350FfeKgR','ck-annotation__actions','2vXcxtH','_model','576810uCWVZu','8844xeMYmu','div','render','.ck-context','Reopen','_trimContextValue','classList','setTemplate','184mIefSf','_createReopenButton','Comment\x20was\x20made\x20on\x20an\x20element','isReadOnly','locale','233948OkkitJ','isEnabled','355389UcIZQm','bindTemplate','ck-context--quotes','substring','execute','6805862jqWPkA'];_0x4913=function(){return _0x1a5c42;};return _0x4913();}import{getTranslation as _0x578df9}from'../../../utils/common-translations.js';function _0x4f18(_0x306626,_0x1a6bb1){const _0x4913fe=_0x4913();return _0x4f18=function(_0x4f18fa,_0x4c6e53){_0x4f18fa=_0x4f18fa-0x9c;let _0x58b121=_0x4913fe[_0x4f18fa];return _0x58b121;},_0x4f18(_0x306626,_0x1a6bb1);}import _0x5251c7 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class ti extends _0x2b2f94{constructor(_0x234003,_0x57f1c9){const _0x15c40e=_0x4f18;super(_0x234003);const _0x1d3d52=this[_0x15c40e(0xc2)];this[_0x15c40e(0xb0)]=_0x57f1c9,this[_0x15c40e(0xaa)]=this[_0x15c40e(0xbb)](),this[_0x15c40e(0xc7)](_0x15c40e(0xd7))['to'](this[_0x15c40e(0xb0)],_0x15c40e(0xda),_0x227845=>!!_0x227845),this[_0x15c40e(0xc7)](_0x15c40e(0xcb))['to'](this[_0x15c40e(0xb0)],_0x15c40e(0xda),_0x474d68=>_0x474d68&&_0x474d68[_0x15c40e(0xa5)]?this[_0x15c40e(0xb7)](_0x474d68[_0x15c40e(0xa5)]):_0x578df9(this[_0x15c40e(0xbe)],_0x15c40e(0xbc))),this[_0x15c40e(0xb9)]({'tag':_0x15c40e(0xb3),'attributes':{'class':[_0x15c40e(0xca)]},'children':[{'tag':_0x15c40e(0xb3),'attributes':{'class':[_0x15c40e(0xd5)]},'children':[{'tag':_0x15c40e(0xb3),'attributes':{'class':[_0x15c40e(0xd6),_0x1d3d52['if'](_0x15c40e(0xd7),_0x15c40e(0xc3))]},'children':[{'tag':_0x15c40e(0xab),'attributes':{'class':[_0x15c40e(0xd1)]},'children':[{'text':_0x1d3d52['to'](_0x15c40e(0xcb))}]}]}]},{'tag':_0x15c40e(0xb3),'attributes':{'class':[_0x15c40e(0xae)]},'children':[this[_0x15c40e(0xaa)]]}]});}[_0x2986e8(0xb4)](){const _0x1cdfe2=_0x2986e8;super[_0x1cdfe2(0xb4)](),this[_0x1cdfe2(0xa8)]();}[_0x2986e8(0xbb)](){const _0x156aa6=_0x2986e8,_0x22858a=new _0x1eab70(this[_0x156aa6(0xbe)]);return _0x22858a[_0x156aa6(0xcd)]=_0x578df9(this[_0x156aa6(0xbe)],_0x156aa6(0xb6)),_0x22858a[_0x156aa6(0xc8)]=_0x578df9(this[_0x156aa6(0xbe)],_0x156aa6(0xb6)),_0x22858a[_0x156aa6(0xa2)]=_0x5251c7,_0x22858a[_0x156aa6(0xc7)](_0x156aa6(0xc0))['to'](this[_0x156aa6(0xb0)],_0x156aa6(0xbd),_0x5b80c9=>!_0x5b80c9),_0x22858a[_0x156aa6(0xc7)](_0x156aa6(0xa7))['to'](this[_0x156aa6(0xb0)],_0x156aa6(0xcc),this[_0x156aa6(0xb0)],_0x156aa6(0xd9),(_0x3111ae,_0x1871c3)=>_0x3111ae&&_0x1871c3),_0x22858a['on'](_0x156aa6(0xc5),()=>{const _0x246234=_0x156aa6;this[_0x246234(0xc9)](_0x246234(0xd3),this[_0x246234(0xb0)]['id']);}),_0x22858a;}[_0x2986e8(0xb7)](_0x19b8ee){const _0x3031fe=_0x2986e8;if(_0x19b8ee[_0x3031fe(0xa9)]<0x96)return _0x19b8ee;const _0x5aeb0f=_0x19b8ee[_0x3031fe(0x9d)]('\x20',0x93);return _0x19b8ee[_0x3031fe(0xc4)](0x0,_0x5aeb0f>-0x1?_0x5aeb0f:0x93)+_0x3031fe(0xd2);}[_0x2986e8(0xa8)](){const _0x2b1d70=_0x2986e8,_0xb8b3ae=this[_0x2b1d70(0xd8)][_0x2b1d70(0x9f)](_0x2b1d70(0xb5)),_0x23ee84=_0xb8b3ae[_0x2b1d70(0x9f)](_0x2b1d70(0xd4));this[_0x2b1d70(0xa4)](_0xb8b3ae,_0x2b1d70(0xac),()=>{const _0xe58cba=_0x2b1d70;_0x23ee84[_0xe58cba(0xa0)]<_0x23ee84[_0xe58cba(0x9e)]&&_0xb8b3ae[_0xe58cba(0xb8)][_0xe58cba(0xa6)](_0xe58cba(0xa1));}),this[_0x2b1d70(0xa4)](_0xb8b3ae,_0x2b1d70(0xd0),()=>{const _0x50ee0d=_0x2b1d70;_0xb8b3ae[_0x50ee0d(0xb8)][_0x50ee0d(0x9c)](_0x50ee0d(0xa1));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2d7747=_0x4d6a;function _0xfec4(){var _0x48e72e=['div','showInput','destroy','set','delegate','editor','isFocused','editorReady','bindTemplate','2513316MxqPaL','1369857RJZzyC','createEditor','2015069rVljxO','1089693NwMudo','bind','ck-comment__input-container','56AApffw','editorDestroyed','extendTemplate','change:showInput','showButtons','211124Jfesiv','userView','commentInputView','ck-comment__input-container--active','setTemplate','value','785696XXVNWI','ck-thread__input','5xNslwt','ck-thread__user','444240qgDZSp','focusTracker','then'];_0xfec4=function(){return _0x48e72e;};return _0xfec4();}(function(_0x134a58,_0x2ca1ef){var _0x58e275=_0x4d6a,_0x5cabc6=_0x134a58();while(!![]){try{var _0x168dbc=parseInt(_0x58e275(0x1ae))/0x1+parseInt(_0x58e275(0x1b2))/0x2+parseInt(_0x58e275(0x1bf))/0x3+-parseInt(_0x58e275(0x1a8))/0x4*(parseInt(_0x58e275(0x1b0))/0x5)+-parseInt(_0x58e275(0x1be))/0x6+parseInt(_0x58e275(0x1c1))/0x7+-parseInt(_0x58e275(0x1c5))/0x8*(parseInt(_0x58e275(0x1c2))/0x9);if(_0x168dbc===_0x2ca1ef)break;else _0x5cabc6['push'](_0x5cabc6['shift']());}catch(_0x28b2f1){_0x5cabc6['push'](_0x5cabc6['shift']());}}}(_0xfec4,0x69bc8));import{View as _0x2fdfce}from'ckeditor5/src/ui.js';function _0x4d6a(_0x41f8a2,_0x492f91){var _0xfec4d8=_0xfec4();return _0x4d6a=function(_0x4d6a34,_0xdf2522){_0x4d6a34=_0x4d6a34-0x1a8;var _0x19671e=_0xfec4d8[_0x4d6a34];return _0x19671e;},_0x4d6a(_0x41f8a2,_0x492f91);}import _0x59f439 from'./commentinputview.js';import{UserView as _0x942abb}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Tt extends _0x2fdfce{constructor(_0x587e45,_0x1055a9,_0xe6a872){var _0x2eb71d=_0x4d6a;super(_0x587e45),this[_0x2eb71d(0x1aa)]=new _0x59f439(_0x587e45,_0xe6a872),this[_0x2eb71d(0x1aa)][_0x2eb71d(0x1c3)](_0x2eb71d(0x1c9))['to'](this[_0x2eb71d(0x1aa)][_0x2eb71d(0x1b3)],_0x2eb71d(0x1bb),this[_0x2eb71d(0x1aa)],_0x2eb71d(0x1ad),(_0x37803c,_0x483a18)=>_0x37803c||!!_0x483a18),this[_0x2eb71d(0x1b8)](_0x2eb71d(0x1b6),!0x1),this['on'](_0x2eb71d(0x1c8),()=>{var _0x73bc8d=_0x2eb71d;this[_0x73bc8d(0x1b6)]&&!this[_0x73bc8d(0x1aa)][_0x73bc8d(0x1ba)]&&this[_0x73bc8d(0x1aa)][_0x73bc8d(0x1c0)]();}),this[_0x2eb71d(0x1aa)][_0x2eb71d(0x1b9)](_0x2eb71d(0x1bc))['to'](this),this[_0x2eb71d(0x1aa)][_0x2eb71d(0x1b9)](_0x2eb71d(0x1c6))['to'](this),this[_0x2eb71d(0x1a9)]=new _0x942abb(_0x587e45,_0x1055a9),this[_0x2eb71d(0x1a9)][_0x2eb71d(0x1c7)]({'attributes':{'class':_0x2eb71d(0x1b1)}}),this[_0x2eb71d(0x1aa)][_0x2eb71d(0x1c7)]({'attributes':{'class':_0x2eb71d(0x1af)}}),this[_0x2eb71d(0x1ac)]({'tag':_0x2eb71d(0x1b5),'attributes':{'class':[_0x2eb71d(0x1c4),this[_0x2eb71d(0x1bd)]['if'](_0x2eb71d(0x1b6),_0x2eb71d(0x1ab))]},'children':[this[_0x2eb71d(0x1a9)],this[_0x2eb71d(0x1aa)]]});}[_0x2d7747(0x1b7)](){var _0x1d3672=_0x2d7747;return this[_0x1d3672(0x1aa)][_0x1d3672(0x1b7)]()[_0x1d3672(0x1b4)](()=>super[_0x1d3672(0x1b7)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3facc4=_0x4e22;function _0x25e1(){const _0x62d387=['ck-thread--remove-confirmation','isSystemComment','_cancelAllConfirms','ck-thread','186PlMBqU','commentThreadHeaderView','commentsListView','ck-reset_all-excluded','then','containerElement','commentThreadInputView','actionIndicator','extendTemplate','add','change:archivedAt','addMany','isActive','stop','3736OLFfLx','removeCommentThread','listenTo','isReadOnly','div','change:isReadOnly','commentViews','length','isVisible','_createResolveButton','placeholder','177405JdzsXg','cancelConfirm','_model','querySelector','icon','Resolve','archivedAt','_boundFirstCommentView','change:isActive','createCollection','2169096ehIfJH','unbind','8617DNvMdq','getTemplate','fire','.ck-thread__container','get','bindTemplate','label','setTemplate','locale','execute','remove','showConfirm','isResolvable','isEnabled','removeButton','element','7909029oKkYFe','ck-thread--unlinked','render','ck-thread--active','actionBar','commentThreadChildren','_bindFirstCommentView','isConfirm','bind','1334395UIjiLp','check','Write\x20a\x20comment...','has','resolveButton','tooltip','isResolved','ck-thread__container','set','ck-thread--','resolveCommentThread','3338886OYtzKC','high','isUnlinked','ck-comment--resolve','Delete\x20comment\x20thread?','545736EUlplQ'];_0x25e1=function(){return _0x62d387;};return _0x25e1();}function _0x4e22(_0x22cc09,_0x4e1560){const _0x25e1c4=_0x25e1();return _0x4e22=function(_0x4e229c,_0x483517){_0x4e229c=_0x4e229c-0x86;let _0x23f0bc=_0x25e1c4[_0x4e229c];return _0x23f0bc;},_0x4e22(_0x22cc09,_0x4e1560);}(function(_0x59b09b,_0x1be473){const _0x34dd8d=_0x4e22,_0x59812a=_0x59b09b();while(!![]){try{const _0x426d85=parseInt(_0x34dd8d(0x9a))/0x1+-parseInt(_0x34dd8d(0xd2))/0x2+parseInt(_0x34dd8d(0xa5))/0x3+parseInt(_0x34dd8d(0xaa))/0x4+parseInt(_0x34dd8d(0xc8))/0x5*(-parseInt(_0x34dd8d(0xaf))/0x6)+parseInt(_0x34dd8d(0xd4))/0x7*(-parseInt(_0x34dd8d(0xbd))/0x8)+parseInt(_0x34dd8d(0x91))/0x9;if(_0x426d85===_0x1be473)break;else _0x59812a['push'](_0x59812a['shift']());}catch(_0x4fae00){_0x59812a['push'](_0x59812a['shift']());}}}(_0x25e1,0xabb04));import{ConfirmMixin as _0xdabd0f}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x239247}from'ckeditor5/src/ui.js';import{icons as _0x4dd5e9}from'ckeditor5/src/core.js';import _0x42cc04 from'./basecommentthreadview.js';import{getTranslation as _0x20da4c}from'../../../utils/common-translations.js';export default class yt extends _0xdabd0f(_0x42cc04){constructor(_0x2d307d,_0x270f3b,_0x2cf56c,_0x25758e){const _0x14ac54=_0x4e22;super(_0x2d307d,_0x270f3b,_0x2cf56c,_0x25758e),this[_0x14ac54(0x96)]=this[_0x14ac54(0xd1)](),this[_0x14ac54(0x96)][_0x14ac54(0xba)]([this[_0x14ac54(0xb1)],this[_0x14ac54(0xb5)]]),this[_0x14ac54(0xca)][_0x14ac54(0xce)]&&this[_0x14ac54(0x96)][_0x14ac54(0xb8)](this[_0x14ac54(0xb0)],0x0),this[_0x14ac54(0xca)]['on'](_0x14ac54(0xb9),(_0x2a7f2b,_0x76beca,_0x4c96c9)=>{const _0x2f779b=_0x14ac54;_0x4c96c9?this[_0x2f779b(0x96)][_0x2f779b(0x9d)](this[_0x2f779b(0xb0)])||this[_0x2f779b(0x96)][_0x2f779b(0xb8)](this[_0x2f779b(0xb0)],0x0):this[_0x2f779b(0x96)][_0x2f779b(0x8b)](this[_0x2f779b(0xb0)]);}),this[_0x14ac54(0xa2)](_0x14ac54(0xb6),null),this[_0x14ac54(0xb4)]=null,this[_0x14ac54(0xcf)]=null,this[_0x14ac54(0x89)]=_0x2d307d,this[_0x14ac54(0x9e)]=this[_0x14ac54(0xc6)](),this[_0x14ac54(0x88)](this[_0x14ac54(0xd5)]()),this['on'](_0x14ac54(0xd0),(_0x591df2,_0x450bd0,_0x44f7e1)=>{const _0x3d86b6=_0x14ac54;_0x44f7e1||this[_0x3d86b6(0xad)]();}),this[_0x14ac54(0xbf)](this[_0x14ac54(0xca)],_0x14ac54(0xc2),(_0xe04859,_0xe16707,_0x4d66b8)=>{const _0x4489fe=_0x14ac54;_0x4d66b8&&this[_0x4489fe(0xad)]();}),this[_0x14ac54(0xc4)]>0x0&&this[_0x14ac54(0x97)](),this[_0x14ac54(0xbf)](this[_0x14ac54(0xb1)][_0x14ac54(0xc3)],_0x14ac54(0xb8),()=>{const _0x5d7522=_0x14ac54;this[_0x5d7522(0x97)]();});}[_0x3facc4(0xd5)](){const _0x3e7f7c=_0x3facc4,_0x59ccb5=this[_0x3e7f7c(0x86)];return{'tag':_0x3e7f7c(0xc1),'attributes':{'class':[_0x3e7f7c(0xae),_0x3e7f7c(0xb2),_0x59ccb5['if'](_0x3e7f7c(0xbb),_0x3e7f7c(0x94)),_0x59ccb5['if'](_0x3e7f7c(0xa7),_0x3e7f7c(0x92)),_0x59ccb5['if'](_0x3e7f7c(0x98),_0x3e7f7c(0xab)),_0x59ccb5['to'](_0x3e7f7c(0xb6),_0x22582b=>_0x22582b?_0x3e7f7c(0xa3)+_0x22582b:'')],'data-thread-id':this[_0x3e7f7c(0xca)]['id'],'tabindex':-0x1},'children':[{'tag':_0x3e7f7c(0xc1),'attributes':{'class':_0x3e7f7c(0xa1)},'children':this[_0x3e7f7c(0x96)]}]};}[_0x3facc4(0x93)](){const _0x174b6c=_0x3facc4;super[_0x174b6c(0x93)](),this[_0x174b6c(0xb4)]=this[_0x174b6c(0x90)][_0x174b6c(0xcb)](_0x174b6c(0xd7));}[_0x3facc4(0xad)](){const _0x4dae7f=_0x3facc4;this[_0x4dae7f(0xc9)]();for(const _0x1d601e of this[_0x4dae7f(0xb1)][_0x4dae7f(0xc3)])_0x1d601e[_0x4dae7f(0xc9)]();}[_0x3facc4(0x97)](){const _0x2c7791=_0x3facc4,{locale:_0x109221}=this,_0x56a929=this[_0x2c7791(0xb1)][_0x2c7791(0xc3)][_0x2c7791(0xd8)](0x0);_0x56a929===this[_0x2c7791(0xcf)]||_0x56a929[_0x2c7791(0xac)]||(this[_0x2c7791(0xcf)]=_0x56a929,this[_0x2c7791(0xd3)](_0x2c7791(0xb6)),this[_0x2c7791(0x99)](_0x2c7791(0xb6))['to'](_0x56a929,_0x2c7791(0xb6),_0xe20445=>_0x2c7791(0x8b)===_0xe20445?_0x2c7791(0x8b):null),_0x56a929[_0x2c7791(0xc7)]=_0x20da4c(_0x109221,_0x2c7791(0x9c)),_0x56a929[_0x2c7791(0x8f)]['on'](_0x2c7791(0x8a),_0x9c9417=>{const _0xb19183=_0x2c7791;_0x9c9417[_0xb19183(0xbc)](),this[_0xb19183(0x8c)](_0x20da4c(_0x109221,_0xb19183(0xa9)),this[_0xb19183(0xb4)])[_0xb19183(0xb3)](()=>{const _0x27d2c0=_0xb19183;this[_0x27d2c0(0xd6)](_0x27d2c0(0xbe));});},{'priority':_0x2c7791(0xa6)}),_0x56a929[_0x2c7791(0x95)][_0x2c7791(0xb8)](this[_0x2c7791(0x9e)],0x0));}[_0x3facc4(0xc6)](){const _0x3f7962=_0x3facc4,_0x138096=new _0x239247(this[_0x3f7962(0x89)]);return _0x138096[_0x3f7962(0x87)]=_0x20da4c(this[_0x3f7962(0x89)],_0x3f7962(0xcd)),_0x138096[_0x3f7962(0x9f)]=_0x20da4c(this[_0x3f7962(0x89)],_0x3f7962(0xcd)),_0x138096[_0x3f7962(0xcc)]=_0x4dd5e9[_0x3f7962(0x9b)],_0x138096[_0x3f7962(0xb7)]({'attributes':{'class':_0x3f7962(0xa8)}}),_0x138096[_0x3f7962(0x99)](_0x3f7962(0x8e))['to'](this[_0x3f7962(0xca)],_0x3f7962(0xc0),_0x135a49=>!_0x135a49),_0x138096[_0x3f7962(0x99)](_0x3f7962(0xc5))['to'](this[_0x3f7962(0xca)],_0x3f7962(0x8d),this[_0x3f7962(0xca)],_0x3f7962(0xa0),(_0x4709e0,_0x5887c6)=>_0x4709e0&&!_0x5887c6),_0x138096['on'](_0x3f7962(0x8a),()=>{const _0x419663=_0x3f7962;this[_0x419663(0xd6)](_0x419663(0xa4),this[_0x419663(0xca)]['id']);}),_0x138096;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3a4e78=_0xf0ff;(function(_0x45e9be,_0x2ba990){const _0x5cc36e=_0xf0ff,_0x30ee36=_0x45e9be();while(!![]){try{const _0x3a9afa=-parseInt(_0x5cc36e(0x1be))/0x1*(parseInt(_0x5cc36e(0x22f))/0x2)+parseInt(_0x5cc36e(0x220))/0x3+-parseInt(_0x5cc36e(0x1f9))/0x4+-parseInt(_0x5cc36e(0x20f))/0x5+-parseInt(_0x5cc36e(0x1cb))/0x6*(-parseInt(_0x5cc36e(0x222))/0x7)+parseInt(_0x5cc36e(0x1f0))/0x8+parseInt(_0x5cc36e(0x1e3))/0x9;if(_0x3a9afa===_0x2ba990)break;else _0x30ee36['push'](_0x30ee36['shift']());}catch(_0x311945){_0x30ee36['push'](_0x30ee36['shift']());}}}(_0x200b,0x9dcab));import{ButtonView as _0x878745,createDropdown as _0x14c441,ListView as _0x50a105,ListItemView as _0x43f2a2}from'ckeditor5/src/ui.js';import{icons as _0xb7e537}from'ckeditor5/src/core.js';import{UserView as _0x1527fc,ConfirmMixin as _0x180385}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xc8da27 from'./basecommentview.js';import _0x2949d6 from'../../../../theme/icons/remove-comment.svg';function _0xf0ff(_0x1c9ff1,_0x34638a){const _0x200bb3=_0x200b();return _0xf0ff=function(_0xf0ffa,_0x1c31a3){_0xf0ffa=_0xf0ffa-0x1bb;let _0x3e56d4=_0x200bb3[_0xf0ffa];return _0x3e56d4;},_0xf0ff(_0x1c9ff1,_0x34638a);}function _0x200b(){const _0x9bef71=['listenTo','render','importWord','Remove','locale','removeButton','4874836TUlDVE','change:isEnabled','setTemplate','then','panelPosition','Edit','pencil','edit','extendTemplate','editButton','mouseleave','showConfirm','span','element','author','authoredAt','EXTERNAL_IMPORT_WORD_AVATAR','isReadOnly','icon','getTemplate','resolvedAt','ck-annotation__info-name','5586700lZrWJk','ck-comment__main','ck-annotation__info','cancelConfirm','ck-comment--remove-confirmation','_model','switchToEditMode','ck-comment__actions--hidden','ck-comment--info','length','withText','isEnabled','visibleView','placeholder','add','userView','dropdown','2051793pauvso','attributes','21TlyFBZ','source','ck-comment__info-name','ck-comment__actions','isEditable','actionIndicator','isRemovable','mouseenter','items','fire','actionBar','panelView','_createEditButton','2afksnD','execute','change:isVisible','ck-comment--remove','addMany','focus','removeComment','change:isRemovable','@external','EXTERNAL_COMMENT','1184759Jyupdm','bindTemplate','blur','getUserViewNotificationText','ck-comment__wrapper','ck-annotation__main','ck-comment__external','Delete\x20comment?','ck-comment__info-time','ck-annotation__actions--hidden','label','ck-comment__info','children','789546PIfnZJ','EXTERNAL_AVATAR','bind','Show\x20more\x20items','set','push','ck-comment--edit','name','isEditMode','div','ck-comment--','_createCommentInputView','ck-annotation__content-wrapper','ck-annotation','creator','ck-comment__user','_config','ck-annotation__actions','threeVerticalDots','ck-annotation__info-time','isSystemComment','buttonView','EXTERNAL_IMPORT_WORD_COMMENT','_createDropdown','21344886igzDjs','Reply...','ck-annotation__user','_createRemoveButton','remove','getExternalCommentNote','isExternal','_attachActions','createCollection','time','ck-comment','some','formatDateTime','5734120SSjkzr','isConfirm','isVisible'];_0x200b=function(){return _0x9bef71;};return _0x200b();}import{getTranslation as _0x82f6de}from'../../../utils/common-translations.js';export default class At extends _0x180385(_0xc8da27){constructor(_0x366389,_0x166dd9,_0x5782ed){const _0x3a42ae=_0xf0ff;super(_0x366389,_0x166dd9,_0x5782ed),this[_0x3a42ae(0x1cf)](_0x3a42ae(0x227),null),this[_0x3a42ae(0x1cf)](_0x3a42ae(0x21c),_0x82f6de(_0x366389,_0x3a42ae(0x1e4))),this[_0x3a42ae(0x1cd)](_0x3a42ae(0x208))['to'](_0x166dd9),this[_0x3a42ae(0x1cd)](_0x3a42ae(0x20d))['to'](_0x166dd9),this[_0x3a42ae(0x22c)]=this[_0x3a42ae(0x1eb)](),this[_0x3a42ae(0x1df)]||(this[_0x3a42ae(0x202)]=this[_0x3a42ae(0x22e)](),this[_0x3a42ae(0x1f8)]=this[_0x3a42ae(0x1e6)](),this[_0x3a42ae(0x22a)]=this[_0x3a42ae(0x1eb)](),this[_0x3a42ae(0x22a)][_0x3a42ae(0x233)]([this[_0x3a42ae(0x202)],this[_0x3a42ae(0x1f8)]]),this[_0x3a42ae(0x21f)]=this[_0x3a42ae(0x1e2)](),this[_0x3a42ae(0x22c)][_0x3a42ae(0x21d)](this[_0x3a42ae(0x21f)])),this[_0x3a42ae(0x21e)]=new _0x1527fc(_0x366389,_0x166dd9[_0x3a42ae(0x207)],this[_0x3a42ae(0x1c1)]()),this[_0x3a42ae(0x21e)][_0x3a42ae(0x201)]({'attributes':{'class':[_0x3a42ae(0x1da),_0x3a42ae(0x1e5)]}}),this[_0x3a42ae(0x1f3)](_0x166dd9,_0x3a42ae(0x1bb),()=>this[_0x3a42ae(0x212)]()),this[_0x3a42ae(0x1fb)](this[_0x3a42ae(0x20c)]());}[_0x3a4e78(0x20c)](){const _0x2574c8=_0x3a4e78,_0x4788a9=this[_0x2574c8(0x1bf)],_0x58b583=[{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x1c9),_0x2574c8(0x211)]},'children':[{'tag':_0x2574c8(0x205),'children':[{'text':this[_0x2574c8(0x21e)][_0x2574c8(0x1d2)]}],'attributes':{'class':[_0x2574c8(0x224),_0x2574c8(0x20e)]}},{'tag':_0x2574c8(0x1ec),'attributes':{'datetime':_0x4788a9['to'](_0x2574c8(0x208)),'class':[_0x2574c8(0x1c6),_0x2574c8(0x1de)]},'children':[{'text':_0x4788a9['to'](_0x2574c8(0x208),_0x17009e=>this[_0x2574c8(0x1db)][_0x2574c8(0x1ef)](_0x17009e))}]}]},{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x225),_0x2574c8(0x1dc),_0x4788a9['if'](_0x2574c8(0x1d3),_0x2574c8(0x216)),_0x4788a9['if'](_0x2574c8(0x1d3),_0x2574c8(0x1c7))]},'children':this[_0x2574c8(0x22c)]},{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x1d7)]},'children':this[_0x2574c8(0x21b)]}];return this[_0x2574c8(0x214)][_0x2574c8(0x1e9)]&&_0x58b583[_0x2574c8(0x1d0)]({'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x1c4)]},'children':[{'text':this[_0x2574c8(0x1e8)]()}]}),{'tag':'li','attributes':{'class':[_0x2574c8(0x1c2),_0x4788a9['if'](_0x2574c8(0x1f1),_0x2574c8(0x213))],'tabindex':-0x1},'children':[{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x1ed),_0x2574c8(0x1d8),_0x4788a9['if'](_0x2574c8(0x1d3),_0x2574c8(0x1d1)),_0x4788a9['if'](_0x2574c8(0x1df),_0x2574c8(0x217)),_0x4788a9['to'](_0x2574c8(0x227),_0xf4ce0e=>_0xf4ce0e?_0x2574c8(0x1d5)+_0xf4ce0e:'')],'data-author-id':this[_0x2574c8(0x214)][_0x2574c8(0x207)]['id'],'data-comment-id':this[_0x2574c8(0x214)]['id']},'children':[this[_0x2574c8(0x21e)],{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x210),_0x2574c8(0x1c3)]},'children':_0x58b583}]}]};}[_0x3a4e78(0x22e)](){const _0x408a85=_0x3a4e78,_0x41d1be=new _0x878745(this[_0x408a85(0x1f7)]);return _0x41d1be[_0x408a85(0x1c8)]=_0x82f6de(this[_0x408a85(0x1f7)],_0x408a85(0x1fe)),_0x41d1be[_0x408a85(0x20b)]=_0xb7e537[_0x408a85(0x1ff)],_0x41d1be[_0x408a85(0x219)]=!0x0,_0x41d1be[_0x408a85(0x201)]({'attributes':{'class':_0x408a85(0x1d1)}}),_0x41d1be[_0x408a85(0x1cd)](_0x408a85(0x21a))['to'](this[_0x408a85(0x214)],_0x408a85(0x20a),_0x34eee9=>!_0x34eee9),_0x41d1be[_0x408a85(0x1cd)](_0x408a85(0x1f2))['to'](this[_0x408a85(0x214)],_0x408a85(0x226)),_0x41d1be['on'](_0x408a85(0x230),()=>this[_0x408a85(0x215)]()),_0x41d1be;}[_0x3a4e78(0x1e6)](){const _0x37454b=_0x3a4e78,_0x2e17f2=new _0x878745(this[_0x37454b(0x1f7)]);return _0x2e17f2[_0x37454b(0x1c8)]=_0x82f6de(this[_0x37454b(0x1f7)],_0x37454b(0x1f6)),_0x2e17f2[_0x37454b(0x20b)]=_0x2949d6,_0x2e17f2[_0x37454b(0x219)]=!0x0,_0x2e17f2[_0x37454b(0x201)]({'attributes':{'class':_0x37454b(0x232)}}),_0x2e17f2[_0x37454b(0x1cd)](_0x37454b(0x21a))['to'](this[_0x37454b(0x214)],_0x37454b(0x20a),_0x5cf9bc=>!_0x5cf9bc),_0x2e17f2[_0x37454b(0x1cd)](_0x37454b(0x1f2))['to'](this[_0x37454b(0x214)],_0x37454b(0x228)),_0x2e17f2['on'](_0x37454b(0x230),()=>{const _0x26a2ea=_0x37454b;this[_0x26a2ea(0x204)](_0x82f6de(this[_0x26a2ea(0x1f7)],_0x26a2ea(0x1c5)),this[_0x26a2ea(0x206)])[_0x26a2ea(0x1fc)](()=>{const _0x59e80e=_0x26a2ea;this[_0x59e80e(0x22b)](_0x59e80e(0x235),this[_0x59e80e(0x214)]['id']);});}),_0x2e17f2;}[_0x3a4e78(0x1e2)](){const _0x3632ad=_0x3a4e78,_0x2f52e4=_0x14c441(this[_0x3632ad(0x1f7)]),_0x3f7598=_0x2f52e4[_0x3632ad(0x22d)][_0x3632ad(0x1ca)],_0x280db3=new _0x50a105(this[_0x3632ad(0x1f7)]),_0x50dc59=(_0x271286,_0x2dd8ff=-0x1)=>{const _0x23f566=_0x3632ad,_0x238346=new _0x43f2a2(this[_0x23f566(0x1f7)]);_0x238346[_0x23f566(0x1ca)][_0x23f566(0x21d)](_0x271286);const _0x46eb67=_0x2dd8ff>-0x1?_0x2dd8ff:_0x280db3[_0x23f566(0x22a)][_0x23f566(0x218)];_0x280db3[_0x23f566(0x22a)][_0x23f566(0x21d)](_0x238346,_0x46eb67),_0x2f52e4[_0x23f566(0x1f3)](_0x271286,_0x23f566(0x1fa),()=>{const _0x36067b=_0x23f566;_0x2f52e4[_0x36067b(0x21a)]=[...this[_0x36067b(0x22a)]][_0x36067b(0x1ee)](_0x50b172=>_0x50b172[_0x36067b(0x21a)]);}),_0x2f52e4[_0x23f566(0x1f3)](_0x271286,_0x23f566(0x231),()=>{const _0x59af00=_0x23f566;_0x2f52e4[_0x59af00(0x1e0)][_0x59af00(0x1f2)]=[...this[_0x59af00(0x22a)]][_0x59af00(0x1ee)](_0x6a9c8c=>_0x6a9c8c[_0x59af00(0x1f2)]);});};_0x2f52e4[_0x3632ad(0x1fd)]='sw',_0x2f52e4[_0x3632ad(0x1e0)][_0x3632ad(0x1cf)]({'label':_0x82f6de(this[_0x3632ad(0x1f7)],_0x3632ad(0x1ce)),'icon':_0xb7e537[_0x3632ad(0x1dd)]}),_0x2f52e4[_0x3632ad(0x21a)]=[...this[_0x3632ad(0x22a)]][_0x3632ad(0x1ee)](_0x58c436=>_0x58c436[_0x3632ad(0x21a)]),_0x2f52e4[_0x3632ad(0x1e0)][_0x3632ad(0x1f2)]=[...this[_0x3632ad(0x22a)]][_0x3632ad(0x1ee)](_0xc0f50f=>_0xc0f50f[_0x3632ad(0x1f2)]);for(const _0x4365dc of this[_0x3632ad(0x22a)])_0x50dc59(_0x4365dc);return _0x3f7598[_0x3632ad(0x21d)](_0x280db3),_0x2f52e4[_0x3632ad(0x1f3)](this[_0x3632ad(0x22a)],_0x3632ad(0x21d),(_0x2f5735,_0x4660e8,_0x5754fc)=>{_0x50dc59(_0x4660e8,_0x5754fc);}),_0x2f52e4[_0x3632ad(0x1f3)](this[_0x3632ad(0x22a)],_0x3632ad(0x1e7),(_0x2ddf57,_0x88e180,_0x476b51)=>{const _0x1f014e=_0x3632ad;_0x280db3[_0x1f014e(0x22a)][_0x1f014e(0x1e7)](_0x476b51);}),_0x2f52e4;}[_0x3a4e78(0x1ea)](_0x1f3f93,_0x58df46){const _0x1d3f19=_0x3a4e78,_0x576ff7=_0x1f3f93&&_0x1f3f93[_0x1d3f19(0x206)];_0x576ff7&&(this[_0x1d3f19(0x1f3)](_0x576ff7,_0x1d3f19(0x229),()=>this[_0x1d3f19(0x227)]=_0x58df46),this[_0x1d3f19(0x1f3)](_0x576ff7,_0x1d3f19(0x234),()=>this[_0x1d3f19(0x227)]=_0x58df46),this[_0x1d3f19(0x1f3)](_0x576ff7,_0x1d3f19(0x203),()=>this[_0x1d3f19(0x227)]=null),this[_0x1d3f19(0x1f3)](_0x576ff7,_0x1d3f19(0x1c0),()=>this[_0x1d3f19(0x227)]=null));}[_0x3a4e78(0x1d6)](){const _0x5c5602=_0x3a4e78,_0x8556ce=super[_0x5c5602(0x1d6)]();return _0x8556ce[_0x5c5602(0x1cd)](_0x5c5602(0x21c))['to'](this),_0x8556ce;}[_0x3a4e78(0x1e8)](){const _0x54c4fa=_0x3a4e78;return _0x54c4fa(0x1f5)===this[_0x54c4fa(0x214)][_0x54c4fa(0x221)][_0x54c4fa(0x1bc)][_0x54c4fa(0x223)]?_0x82f6de(this[_0x54c4fa(0x1f7)],_0x54c4fa(0x1e1)):_0x82f6de(this[_0x54c4fa(0x1f7)],_0x54c4fa(0x1bd));}[_0x3a4e78(0x1c1)](){const _0x2e675e=_0x3a4e78;return this[_0x2e675e(0x214)][_0x2e675e(0x1e9)]?_0x2e675e(0x1f5)===this[_0x2e675e(0x214)][_0x2e675e(0x221)][_0x2e675e(0x1bc)][_0x2e675e(0x223)]?_0x82f6de(this[_0x2e675e(0x1f7)],_0x2e675e(0x209),this[_0x2e675e(0x214)][_0x2e675e(0x1d9)][_0x2e675e(0x1d2)]):_0x82f6de(this[_0x2e675e(0x1f7)],_0x2e675e(0x1cc),this[_0x2e675e(0x214)][_0x2e675e(0x1d9)][_0x2e675e(0x1d2)]):null;}[_0x3a4e78(0x1f4)](){const _0x1153f2=_0x3a4e78;super[_0x1153f2(0x1f4)](),this[_0x1153f2(0x1ea)](this[_0x1153f2(0x202)],_0x1153f2(0x200)),this[_0x1153f2(0x1ea)](this[_0x1153f2(0x1f8)],_0x1153f2(0x1e7));}}
|
|
23
|
+
const _0x5386ac=_0x2697;(function(_0x191a2c,_0x440df2){const _0x1d186c=_0x2697,_0x1276ca=_0x191a2c();while(!![]){try{const _0x1a2714=-parseInt(_0x1d186c(0x11f))/0x1+-parseInt(_0x1d186c(0x161))/0x2+parseInt(_0x1d186c(0x12a))/0x3+-parseInt(_0x1d186c(0x141))/0x4+parseInt(_0x1d186c(0x13e))/0x5*(-parseInt(_0x1d186c(0x105))/0x6)+-parseInt(_0x1d186c(0x136))/0x7+parseInt(_0x1d186c(0x144))/0x8*(parseInt(_0x1d186c(0x148))/0x9);if(_0x1a2714===_0x440df2)break;else _0x1276ca['push'](_0x1276ca['shift']());}catch(_0x151fd3){_0x1276ca['push'](_0x1276ca['shift']());}}}(_0x1188,0xd35e6));function _0x2697(_0xc750d,_0x497df6){const _0x11882a=_0x1188();return _0x2697=function(_0x26977a,_0xd64648){_0x26977a=_0x26977a-0xfd;let _0x150ae0=_0x11882a[_0x26977a];return _0x150ae0;},_0x2697(_0xc750d,_0x497df6);}import{ButtonView as _0x438963,createDropdown as _0x3c1067,ListView as _0x4f4569,ListItemView as _0x4f7538}from'ckeditor5/src/ui.js';import{icons as _0x42fc49}from'ckeditor5/src/core.js';import{UserView as _0x455020,ConfirmMixin as _0x5cd71c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1b8ebf from'./basecommentview.js';function _0x1188(){const _0x14d7c6=['ck-comment--','authoredAt','add','_createRemoveButton','ck-annotation__info-time','removeComment','_createCommentInputView','setTemplate','Show\x20more\x20items','focus','ck-comment__main','mouseleave','createCollection','cancelConfirm','getExternalCommentNote','EXTERNAL_COMMENT','getUserViewNotificationText','ck-comment__actions','name','withText','placeholder','resolvedAt','ck-comment__user','render','318vubkLz','icon','Delete\x20comment?','ck-annotation__actions','dropdown','ck-comment__info','change:isEnabled','length','then','listenTo','panelPosition','element','isReadOnly','remove','ck-annotation__actions--hidden','ck-comment__info-time','isEnabled','fire','ck-comment__actions--hidden','mouseenter','bind','isEditable','children','panelView','ck-comment--info','time','353647rrBnor','push','ck-comment__wrapper','set','bindTemplate','removeButton','span','ck-comment--remove-confirmation','ck-annotation__user','isConfirm','isRemovable','46212BcoxAV','locale','isExternal','actionBar','Remove','ck-annotation__main','Reply...','attributes','ck-annotation__info-name','isSystemComment','importWord','ck-comment--edit','3438330babmOt','some','EXTERNAL_AVATAR','label','formatDateTime','showConfirm','blur','ck-annotation__info','3985loZjor','author','extendTemplate','2423308flmAvz','_createDropdown','ck-comment__external','8tuZHce','ck-comment','execute','EXTERNAL_IMPORT_WORD_AVATAR','22044537hTdPHC','_config','visibleView','_createEditButton','userView','_attachActions','items','getTemplate','ck-annotation','edit','EXTERNAL_IMPORT_WORD_COMMENT','ck-comment__info-name','change:isVisible','div','ck-annotation__content-wrapper','@external','isVisible','change:isRemovable','switchToEditMode','source','threeVerticalDots','ck-comment--remove','addMany','editButton','creator','212252elxwMF','isEditMode','buttonView','Edit','pencil','actionIndicator','_model'];_0x1188=function(){return _0x14d7c6;};return _0x1188();}import _0x6ab568 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x456864}from'../../../utils/common-translations.js';export default class At extends _0x5cd71c(_0x1b8ebf){constructor(_0x4271bc,_0x29ecb5,_0x57c96c){const _0x34f939=_0x2697;super(_0x4271bc,_0x29ecb5,_0x57c96c),this[_0x34f939(0x122)](_0x34f939(0x166),null),this[_0x34f939(0x122)](_0x34f939(0x101),_0x456864(_0x4271bc,_0x34f939(0x130))),this[_0x34f939(0x119)](_0x34f939(0x169))['to'](_0x29ecb5),this[_0x34f939(0x119)](_0x34f939(0x102))['to'](_0x29ecb5),this[_0x34f939(0x12d)]=this[_0x34f939(0x174)](),this[_0x34f939(0x133)]||(this[_0x34f939(0x15f)]=this[_0x34f939(0x14b)](),this[_0x34f939(0x124)]=this[_0x34f939(0x16b)](),this[_0x34f939(0x14e)]=this[_0x34f939(0x174)](),this[_0x34f939(0x14e)][_0x34f939(0x15e)]([this[_0x34f939(0x15f)],this[_0x34f939(0x124)]]),this[_0x34f939(0x109)]=this[_0x34f939(0x142)](),this[_0x34f939(0x12d)][_0x34f939(0x16a)](this[_0x34f939(0x109)])),this[_0x34f939(0x14c)]=new _0x455020(_0x4271bc,_0x29ecb5[_0x34f939(0x13f)],this[_0x34f939(0xfd)]()),this[_0x34f939(0x14c)][_0x34f939(0x140)]({'attributes':{'class':[_0x34f939(0x103),_0x34f939(0x127)]}}),this[_0x34f939(0x10e)](_0x29ecb5,_0x34f939(0x159),()=>this[_0x34f939(0x175)]()),this[_0x34f939(0x16f)](this[_0x34f939(0x14f)]());}[_0x5386ac(0x14f)](){const _0x57ddaf=_0x5386ac,_0x27f63c=this[_0x57ddaf(0x123)],_0xf81e3a=[{'tag':_0x57ddaf(0x155),'attributes':{'class':[_0x57ddaf(0x10a),_0x57ddaf(0x13d)]},'children':[{'tag':_0x57ddaf(0x125),'children':[{'text':this[_0x57ddaf(0x14c)][_0x57ddaf(0xff)]}],'attributes':{'class':[_0x57ddaf(0x153),_0x57ddaf(0x132)]}},{'tag':_0x57ddaf(0x11e),'attributes':{'datetime':_0x27f63c['to'](_0x57ddaf(0x169)),'class':[_0x57ddaf(0x114),_0x57ddaf(0x16c)]},'children':[{'text':_0x27f63c['to'](_0x57ddaf(0x169),_0x39fdf2=>this[_0x57ddaf(0x149)][_0x57ddaf(0x13a)](_0x39fdf2))}]}]},{'tag':_0x57ddaf(0x155),'attributes':{'class':[_0x57ddaf(0xfe),_0x57ddaf(0x108),_0x27f63c['if'](_0x57ddaf(0x162),_0x57ddaf(0x117)),_0x27f63c['if'](_0x57ddaf(0x162),_0x57ddaf(0x113))]},'children':this[_0x57ddaf(0x12d)]},{'tag':_0x57ddaf(0x155),'attributes':{'class':[_0x57ddaf(0x156)]},'children':this[_0x57ddaf(0x14a)]}];return this[_0x57ddaf(0x167)][_0x57ddaf(0x12c)]&&_0xf81e3a[_0x57ddaf(0x120)]({'tag':_0x57ddaf(0x155),'attributes':{'class':[_0x57ddaf(0x143)]},'children':[{'text':this[_0x57ddaf(0x176)]()}]}),{'tag':'li','attributes':{'class':[_0x57ddaf(0x121),_0x27f63c['if'](_0x57ddaf(0x128),_0x57ddaf(0x126))],'tabindex':-0x1},'children':[{'tag':_0x57ddaf(0x155),'attributes':{'class':[_0x57ddaf(0x145),_0x57ddaf(0x150),_0x27f63c['if'](_0x57ddaf(0x162),_0x57ddaf(0x135)),_0x27f63c['if'](_0x57ddaf(0x133),_0x57ddaf(0x11d)),_0x27f63c['to'](_0x57ddaf(0x166),_0x2789a8=>_0x2789a8?_0x57ddaf(0x168)+_0x2789a8:'')],'data-author-id':this[_0x57ddaf(0x167)][_0x57ddaf(0x13f)]['id'],'data-comment-id':this[_0x57ddaf(0x167)]['id']},'children':[this[_0x57ddaf(0x14c)],{'tag':_0x57ddaf(0x155),'attributes':{'class':[_0x57ddaf(0x172),_0x57ddaf(0x12f)]},'children':_0xf81e3a}]}]};}[_0x5386ac(0x14b)](){const _0x6a7a5f=_0x5386ac,_0x3a5cdd=new _0x438963(this[_0x6a7a5f(0x12b)]);return _0x3a5cdd[_0x6a7a5f(0x139)]=_0x456864(this[_0x6a7a5f(0x12b)],_0x6a7a5f(0x164)),_0x3a5cdd[_0x6a7a5f(0x106)]=_0x42fc49[_0x6a7a5f(0x165)],_0x3a5cdd[_0x6a7a5f(0x100)]=!0x0,_0x3a5cdd[_0x6a7a5f(0x140)]({'attributes':{'class':_0x6a7a5f(0x135)}}),_0x3a5cdd[_0x6a7a5f(0x119)](_0x6a7a5f(0x115))['to'](this[_0x6a7a5f(0x167)],_0x6a7a5f(0x111),_0x40acde=>!_0x40acde),_0x3a5cdd[_0x6a7a5f(0x119)](_0x6a7a5f(0x158))['to'](this[_0x6a7a5f(0x167)],_0x6a7a5f(0x11a)),_0x3a5cdd['on'](_0x6a7a5f(0x146),()=>this[_0x6a7a5f(0x15a)]()),_0x3a5cdd;}[_0x5386ac(0x16b)](){const _0x149848=_0x5386ac,_0xfa83bf=new _0x438963(this[_0x149848(0x12b)]);return _0xfa83bf[_0x149848(0x139)]=_0x456864(this[_0x149848(0x12b)],_0x149848(0x12e)),_0xfa83bf[_0x149848(0x106)]=_0x6ab568,_0xfa83bf[_0x149848(0x100)]=!0x0,_0xfa83bf[_0x149848(0x140)]({'attributes':{'class':_0x149848(0x15d)}}),_0xfa83bf[_0x149848(0x119)](_0x149848(0x115))['to'](this[_0x149848(0x167)],_0x149848(0x111),_0x54586a=>!_0x54586a),_0xfa83bf[_0x149848(0x119)](_0x149848(0x158))['to'](this[_0x149848(0x167)],_0x149848(0x129)),_0xfa83bf['on'](_0x149848(0x146),()=>{const _0x2ed5c0=_0x149848;this[_0x2ed5c0(0x13b)](_0x456864(this[_0x2ed5c0(0x12b)],_0x2ed5c0(0x107)),this[_0x2ed5c0(0x110)])[_0x2ed5c0(0x10d)](()=>{const _0x4bfc53=_0x2ed5c0;this[_0x4bfc53(0x116)](_0x4bfc53(0x16d),this[_0x4bfc53(0x167)]['id']);});}),_0xfa83bf;}[_0x5386ac(0x142)](){const _0xb912c0=_0x5386ac,_0x121414=_0x3c1067(this[_0xb912c0(0x12b)]),_0x8acccb=_0x121414[_0xb912c0(0x11c)][_0xb912c0(0x11b)],_0x2d8a13=new _0x4f4569(this[_0xb912c0(0x12b)]),_0x4240c0=(_0x27c48e,_0x52ea6c=-0x1)=>{const _0xed8042=_0xb912c0,_0x449cf3=new _0x4f7538(this[_0xed8042(0x12b)]);_0x449cf3[_0xed8042(0x11b)][_0xed8042(0x16a)](_0x27c48e);const _0x15b506=_0x52ea6c>-0x1?_0x52ea6c:_0x2d8a13[_0xed8042(0x14e)][_0xed8042(0x10c)];_0x2d8a13[_0xed8042(0x14e)][_0xed8042(0x16a)](_0x449cf3,_0x15b506),_0x121414[_0xed8042(0x10e)](_0x27c48e,_0xed8042(0x10b),()=>{const _0x1ff096=_0xed8042;_0x121414[_0x1ff096(0x115)]=[...this[_0x1ff096(0x14e)]][_0x1ff096(0x137)](_0x2ea362=>_0x2ea362[_0x1ff096(0x115)]);}),_0x121414[_0xed8042(0x10e)](_0x27c48e,_0xed8042(0x154),()=>{const _0x3c0da7=_0xed8042;_0x121414[_0x3c0da7(0x163)][_0x3c0da7(0x158)]=[...this[_0x3c0da7(0x14e)]][_0x3c0da7(0x137)](_0x1a1710=>_0x1a1710[_0x3c0da7(0x158)]);});};_0x121414[_0xb912c0(0x10f)]='sw',_0x121414[_0xb912c0(0x163)][_0xb912c0(0x122)]({'label':_0x456864(this[_0xb912c0(0x12b)],_0xb912c0(0x170)),'icon':_0x42fc49[_0xb912c0(0x15c)]}),_0x121414[_0xb912c0(0x115)]=[...this[_0xb912c0(0x14e)]][_0xb912c0(0x137)](_0x13eb58=>_0x13eb58[_0xb912c0(0x115)]),_0x121414[_0xb912c0(0x163)][_0xb912c0(0x158)]=[...this[_0xb912c0(0x14e)]][_0xb912c0(0x137)](_0x3a4331=>_0x3a4331[_0xb912c0(0x158)]);for(const _0x5661a6 of this[_0xb912c0(0x14e)])_0x4240c0(_0x5661a6);return _0x8acccb[_0xb912c0(0x16a)](_0x2d8a13),_0x121414[_0xb912c0(0x10e)](this[_0xb912c0(0x14e)],_0xb912c0(0x16a),(_0x525cd0,_0xa6548d,_0x58419e)=>{_0x4240c0(_0xa6548d,_0x58419e);}),_0x121414[_0xb912c0(0x10e)](this[_0xb912c0(0x14e)],_0xb912c0(0x112),(_0x4e0856,_0x505a50,_0x379ca0)=>{const _0x382d49=_0xb912c0;_0x2d8a13[_0x382d49(0x14e)][_0x382d49(0x112)](_0x379ca0);}),_0x121414;}[_0x5386ac(0x14d)](_0x14df03,_0x1ef379){const _0x491595=_0x5386ac,_0x54937f=_0x14df03&&_0x14df03[_0x491595(0x110)];_0x54937f&&(this[_0x491595(0x10e)](_0x54937f,_0x491595(0x118),()=>this[_0x491595(0x166)]=_0x1ef379),this[_0x491595(0x10e)](_0x54937f,_0x491595(0x171),()=>this[_0x491595(0x166)]=_0x1ef379),this[_0x491595(0x10e)](_0x54937f,_0x491595(0x173),()=>this[_0x491595(0x166)]=null),this[_0x491595(0x10e)](_0x54937f,_0x491595(0x13c),()=>this[_0x491595(0x166)]=null));}[_0x5386ac(0x16e)](){const _0x3d1fbb=_0x5386ac,_0x79a577=super[_0x3d1fbb(0x16e)]();return _0x79a577[_0x3d1fbb(0x119)](_0x3d1fbb(0x101))['to'](this),_0x79a577;}[_0x5386ac(0x176)](){const _0x541cb2=_0x5386ac;return _0x541cb2(0x134)===this[_0x541cb2(0x167)][_0x541cb2(0x131)][_0x541cb2(0x157)][_0x541cb2(0x15b)]?_0x456864(this[_0x541cb2(0x12b)],_0x541cb2(0x152)):_0x456864(this[_0x541cb2(0x12b)],_0x541cb2(0x177));}[_0x5386ac(0xfd)](){const _0xa5fc25=_0x5386ac;return this[_0xa5fc25(0x167)][_0xa5fc25(0x12c)]?_0xa5fc25(0x134)===this[_0xa5fc25(0x167)][_0xa5fc25(0x131)][_0xa5fc25(0x157)][_0xa5fc25(0x15b)]?_0x456864(this[_0xa5fc25(0x12b)],_0xa5fc25(0x147),this[_0xa5fc25(0x167)][_0xa5fc25(0x160)][_0xa5fc25(0xff)]):_0x456864(this[_0xa5fc25(0x12b)],_0xa5fc25(0x138),this[_0xa5fc25(0x167)][_0xa5fc25(0x160)][_0xa5fc25(0xff)]):null;}[_0x5386ac(0x104)](){const _0x30a5c0=_0x5386ac;super[_0x30a5c0(0x104)](),this[_0x30a5c0(0x14d)](this[_0x30a5c0(0x15f)],_0x30a5c0(0x151)),this[_0x30a5c0(0x14d)](this[_0x30a5c0(0x124)],_0x30a5c0(0x112));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x93c7(){var _0x4274eb=['176vPcqEC','267021ZGeFsE','1826MVhuDt','453808FOAoLQ','1112772SAgHKV','32030WshqEJ','requires','2742CSuilB','854774sjtEgo','11858nggKLD','4052295OKzkRR','2hSoFdG','pluginName','Comments'];_0x93c7=function(){return _0x4274eb;};return _0x93c7();}var _0x106cd1=_0x53bd;(function(_0x1fc936,_0xeac342){var _0x43a7d8=_0x53bd,_0x559631=_0x1fc936();while(!![]){try{var _0x191051=parseInt(_0x43a7d8(0x139))/0x1+-parseInt(_0x43a7d8(0x13c))/0x2*(parseInt(_0x43a7d8(0x135))/0x3)+-parseInt(_0x43a7d8(0x134))/0x4+-parseInt(_0x43a7d8(0x13b))/0x5+-parseInt(_0x43a7d8(0x138))/0x6*(-parseInt(_0x43a7d8(0x13a))/0x7)+-parseInt(_0x43a7d8(0x131))/0x8*(-parseInt(_0x43a7d8(0x132))/0x9)+-parseInt(_0x43a7d8(0x136))/0xa*(parseInt(_0x43a7d8(0x133))/0xb);if(_0x191051===_0xeac342)break;else _0x559631['push'](_0x559631['shift']());}catch(_0x299468){_0x559631['push'](_0x559631['shift']());}}}(_0x93c7,0x6f1cd));import{Plugin as _0x5b444b}from'ckeditor5/src/core.js';import _0x24130d from'./comments/commentsrepository.js';function _0x53bd(_0x3ae22f,_0x74e03b){var _0x93c74d=_0x93c7();return _0x53bd=function(_0x53bd18,_0x5d6432){_0x53bd18=_0x53bd18-0x12f;var _0x2c0219=_0x93c74d[_0x53bd18];return _0x2c0219;},_0x53bd(_0x3ae22f,_0x74e03b);}import _0x3d0520 from'./comments/commentsediting.js';import _0x5e6afe from'./comments/commentsui.js';import _0x2c2f6f from'./commentsonly.js';import _0x3dd74e from'./annotations/widesidebar.js';import _0x59015a from'./annotations/narrowsidebar.js';import _0x568056 from'./annotations/inlineannotations.js';import _0x3f9fc7 from'./comments/commentsarchiveui.js';import _0x21aea5 from'./comments/commentsarchive.js';export default class f extends _0x5b444b{static get[_0x106cd1(0x137)](){return[_0x24130d,_0x3d0520,_0x5e6afe,_0x21aea5,_0x3f9fc7,_0x2c2f6f,_0x3dd74e,_0x59015a,_0x568056];}static get[_0x106cd1(0x12f)](){var _0x264e5c=_0x106cd1;return _0x264e5c(0x130);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x360865=_0x3efd;(function(_0x54f52f,_0x2431d2){const _0x2e8897=_0x3efd,_0x1df6bd=_0x54f52f();while(!![]){try{const _0x21bf04=-parseInt(_0x2e8897(0x153))/0x1*(-parseInt(_0x2e8897(0x160))/0x2)+-parseInt(_0x2e8897(0x155))/0x3+parseInt(_0x2e8897(0x143))/0x4+-parseInt(_0x2e8897(0x165))/0x5+-parseInt(_0x2e8897(0x14e))/0x6+parseInt(_0x2e8897(0x14d))/0x7+parseInt(_0x2e8897(0x15a))/0x8;if(_0x21bf04===_0x2431d2)break;else _0x1df6bd['push'](_0x1df6bd['shift']());}catch(_0x294461){_0x1df6bd['push'](_0x1df6bd['shift']());}}}(_0x383e,0x8ede8));import{Plugin as _0x1edead}from'ckeditor5/src/core.js';function _0x3efd(_0xc4bae0,_0x497650){const _0x383ed7=_0x383e();return _0x3efd=function(_0x3efdab,_0x1bb863){_0x3efdab=_0x3efdab-0x141;let _0x174576=_0x383ed7[_0x3efdab];return _0x174576;},_0x3efd(_0xc4bae0,_0x497650);}import _0x494a09 from'./comments/commentsediting.js';export default class e extends _0x1edead{static get[_0x360865(0x141)](){const _0x29d73e=_0x360865;return _0x29d73e(0x146);}static get[_0x360865(0x156)](){return[_0x494a09];}constructor(_0x511460){const _0x37ad8a=_0x360865;super(_0x511460),this[_0x37ad8a(0x163)](_0x37ad8a(0x167),!0x1),this['on'](_0x37ad8a(0x162),(_0xd70eec,_0x5252e8,_0x1c4bba)=>{const _0x52ea65=_0x37ad8a;_0x1c4bba?this[_0x52ea65(0x145)]():this[_0x52ea65(0x168)]();});}[_0x360865(0x15b)](){const _0x460e8a=_0x360865;!this[_0x460e8a(0x167)]&&this[_0x460e8a(0x15e)][_0x460e8a(0x166)][_0x460e8a(0x14a)](_0x460e8a(0x14c))&&(this[_0x460e8a(0x167)]=!0x0);}[_0x360865(0x145)](){const _0x47bd05=_0x360865;for(const [_0x3050ed,_0x3b3ad3]of this[_0x47bd05(0x15e)][_0x47bd05(0x150)])_0x3b3ad3[_0x47bd05(0x14b)]&&_0x47bd05(0x151)!==_0x3050ed&&_0x3b3ad3[_0x47bd05(0x159)](_0x47bd05(0x158));this[_0x47bd05(0x15e)][_0x47bd05(0x15d)][_0x47bd05(0x164)](_0x47bd05(0x15f))&&this[_0x47bd05(0x15e)][_0x47bd05(0x15d)][_0x47bd05(0x14a)](_0x47bd05(0x15f))[_0x47bd05(0x159)](_0x47bd05(0x158));const _0x48c7f6=this[_0x47bd05(0x15e)][_0x47bd05(0x147)][_0x47bd05(0x157)][_0x47bd05(0x161)];this[_0x47bd05(0x148)](_0x48c7f6,_0x47bd05(0x154),_0x46dbe4=>_0x46dbe4[_0x47bd05(0x142)](),{'priority':_0x47bd05(0x14f)}),this[_0x47bd05(0x148)](_0x48c7f6,_0x47bd05(0x15c),_0x3d6005=>_0x3d6005[_0x47bd05(0x142)](),{'priority':_0x47bd05(0x14f)}),this[_0x47bd05(0x148)](_0x48c7f6,_0x47bd05(0x144),_0x310b5a=>_0x310b5a[_0x47bd05(0x142)](),{'priority':_0x47bd05(0x14f)});}[_0x360865(0x168)](){const _0x2930b6=_0x360865;for(const [_0x2be252,_0x3b87ed]of this[_0x2930b6(0x15e)][_0x2930b6(0x150)])_0x3b87ed[_0x2930b6(0x14b)]&&_0x2930b6(0x151)!==_0x2be252&&_0x3b87ed[_0x2930b6(0x152)](_0x2930b6(0x158));this[_0x2930b6(0x149)](this[_0x2930b6(0x15e)][_0x2930b6(0x147)][_0x2930b6(0x157)][_0x2930b6(0x161)]);}}function _0x383e(){const _0x7b3afa=['1351890werYsP','config','isEnabled','_disableCommentsOnlyMode','pluginName','stop','2890240TKTsgx','delete','_enableCommentsOnlyMode','CommentsOnly','editing','listenTo','stopListening','get','affectsData','commentsOnly','4702474CoKNGk','5742306GAUCWU','highest','commands','addCommentThread','clearForceDisabled','2berlIl','cut','2469465PQaMJs','requires','view','commentsOnlyMode','forceDisabled','3692640jzSqsL','afterInit','clipboardInput','plugins','editor','DragDrop','779854ffNrfG','document','change:isEnabled','set','has'];_0x383e=function(){return _0x7b3afa;};return _0x383e();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5371de,_0x139b3b){var _0x31df77=_0x4259,_0x37fedd=_0x5371de();while(!![]){try{var _0x53ae68=-parseInt(_0x31df77(0x1ec))/0x1+-parseInt(_0x31df77(0x1eb))/0x2*(parseInt(_0x31df77(0x1ef))/0x3)+-parseInt(_0x31df77(0x1f0))/0x4*(-parseInt(_0x31df77(0x1e9))/0x5)+parseInt(_0x31df77(0x1ed))/0x6+parseInt(_0x31df77(0x1f1))/0x7+-parseInt(_0x31df77(0x1ee))/0x8+parseInt(_0x31df77(0x1ea))/0x9;if(_0x53ae68===_0x139b3b)break;else _0x37fedd['push'](_0x37fedd['shift']());}catch(_0x256c78){_0x37fedd['push'](_0x37fedd['shift']());}}}(_0x13f8,0x8392f));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';function _0x13f8(){var _0x5696bf=['1170806piaIBA','70knbfEB','9587988vuKGKn','63852OCdsDL','739308bWVwqf','1574400bNZjru','1290360kdDXRs','45TIDpsB','120980ZgVMUr'];_0x13f8=function(){return _0x5696bf;};return _0x13f8();}export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';function _0x4259(_0x417527,_0x20fa6e){var _0x13f8ed=_0x13f8();return _0x4259=function(_0x4259a2,_0x4ad0f5){_0x4259a2=_0x4259a2-0x1e9;var _0x49d862=_0x13f8ed[_0x4259a2];return _0x49d862;},_0x4259(_0x417527,_0x20fa6e);}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(_0x2836c4,_0x8e2450,_0x3fd500){const t=_0x2836c4['t'];switch(_0x8e2450){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'},_0x3fd500);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'},_0x3fd500);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'},_0x3fd500);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'},_0x3fd500);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
|
-
|
|
23
|
+
(function(_0x828cb2,_0x2d03e8){const _0x3fc427=_0x1dd3,_0x5b9160=_0x828cb2();while(!![]){try{const _0x3acb5d=-parseInt(_0x3fc427(0x1d1))/0x1+parseInt(_0x3fc427(0x1c6))/0x2+parseInt(_0x3fc427(0x1d0))/0x3+-parseInt(_0x3fc427(0x1ca))/0x4*(parseInt(_0x3fc427(0x1c2))/0x5)+parseInt(_0x3fc427(0x1c7))/0x6+-parseInt(_0x3fc427(0x1cd))/0x7+-parseInt(_0x3fc427(0x1c5))/0x8;if(_0x3acb5d===_0x2d03e8)break;else _0x5b9160['push'](_0x5b9160['shift']());}catch(_0x43fc21){_0x5b9160['push'](_0x5b9160['shift']());}}}(_0x137d,0xa0dfe));import{throttle as _0x142cae}from'lodash-es';function _0x1dd3(_0x80f6b9,_0x119d08){const _0x137d59=_0x137d();return _0x1dd3=function(_0x1dd31b,_0x46b14c){_0x1dd31b=_0x1dd31b-0x1c2;let _0xfee526=_0x137d59[_0x1dd31b];return _0xfee526;},_0x1dd3(_0x80f6b9,_0x119d08);}function _0x137d(){const _0x3e9c63=['class','observe','2213351Ubupqv','attributeName','disconnect','2294715hoVyFK','444231VkZDFV','attributes','10QwAyYF','childList','cancel','1421368omYnSc','2291152OLQMxf','4592316XPmMoW','type','characterData','2157660EszVYp'];_0x137d=function(){return _0x3e9c63;};return _0x137d();}export default function Dt(_0x5c8750){const _0x296575=_0x142cae(_0x5c8750,0x1e),_0x17e87a=new MutationObserver(_0x44aae0=>{const _0x27c904=_0x1dd3;for(const _0x3682ee of _0x44aae0)(_0x27c904(0x1d2)==_0x3682ee[_0x27c904(0x1c8)]&&_0x27c904(0x1cb)==_0x3682ee[_0x27c904(0x1ce)]||_0x27c904(0x1c3)==_0x3682ee[_0x27c904(0x1c8)]||_0x27c904(0x1c9)==_0x3682ee[_0x27c904(0x1c8)])&&_0x296575();});return{'attach'(_0x1a08d6){const _0x5d060a=_0x1dd3;_0x17e87a[_0x5d060a(0x1cc)](_0x1a08d6,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3e763e=_0x1dd3;_0x17e87a[_0x3e763e(0x1cf)](),_0x296575[_0x3e763e(0x1c4)]();}};}
|