@ckeditor/ckeditor5-comments 42.0.0-alpha.4 → 42.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47f5d0=_0xb3f7;(function(_0x59d5ba,_0xfd661d){const _0x275b35=_0xb3f7,_0x430c97=_0x59d5ba();while(!![]){try{const _0x9ad40b=parseInt(_0x275b35(0x20a))/0x1+parseInt(_0x275b35(0x1e8))/0x2*(-parseInt(_0x275b35(0x1fe))/0x3)+-parseInt(_0x275b35(0x1d7))/0x4+parseInt(_0x275b35(0x1eb))/0x5+parseInt(_0x275b35(0x20b))/0x6+-parseInt(_0x275b35(0x1ff))/0x7+-parseInt(_0x275b35(0x1dd))/0x8*(-parseInt(_0x275b35(0x1d5))/0x9);if(_0x9ad40b===_0xfd661d)break;else _0x430c97['push'](_0x430c97['shift']());}catch(_0x7e555f){_0x430c97['push'](_0x430c97['shift']());}}}(_0x402d,0xded51));import{View as _0x6e1e6d}from'ckeditor5/src/ui.js';function _0xb3f7(_0x1f3e9a,_0x183f5f){const _0x402d0a=_0x402d();return _0xb3f7=function(_0xb3f70e,_0x4cdfa5){_0xb3f70e=_0xb3f70e-0x1d5;let _0x2f7694=_0x402d0a[_0xb3f70e];return _0x2f7694;},_0xb3f7(_0x1f3e9a,_0x183f5f);}function _0x402d(){const _0x2df730=['change:isEditMode','element','_handleRemoveCommentModel','_handleInfoComment','insert','maxCommentsWhenCollapsed','_handleNewCommentModel','equal','44151WKZMOv','8565389ZyONLJ','createCollection','isActive','_rearrangeExpand','weight','setTemplate','delegate','hasDirtyComment','editorDestroyed','from','viewUid','883677YmWnMH','2710680lsDZsa','comments','add','_updateHasDirtyComment','updateComment','editorConfig','commentUpdated','CommentView','change:isActive','length','collapse','render','editorReady','_findOptimalIndex','_collapsedCommentsView','locale','change:hasDirtyComment','formatDateTime','visibleViews','authoredAt','_calculatePosition','stopListening','Marked\x20as\x20resolved','2898tnAJXm','_shouldCollapse','7188048VLlaER','maxCommentCharsWhenCollapsed','refreshVisibleViews','removeComment','change:isResolved','remove','43144XYHIKB','resolvedBy','set','ck-thread__comments','bind','resolvedAt','_config','commentViews','get','resolvedCommentView','listenTo','114nhCAvz','some','count','8501130AQAbTA','_model','delete','isEditMode','expand','maxThreadTotalWeight','focus','_rearrangeCollapse','resolveCommentThread','destroy','resolved'];_0x402d=function(){return _0x2df730;};return _0x402d();}import{diff as _0x1df5d7,Collection as _0x3f27e1}from'ckeditor5/src/utils.js';import{getTranslation as _0x2b8312}from'../../../utils/common-translations.js';import _0x4db074 from'./collapsedcommentsview.js';export default class xt extends _0x6e1e6d{constructor(_0xca02c5,_0x42f98f,_0x2d263b){const _0x4ebd93=_0xb3f7;super(_0xca02c5),this[_0x4ebd93(0x1df)](_0x4ebd93(0x206),!0x1),this[_0x4ebd93(0x1df)](_0x4ebd93(0x214),_0x42f98f[_0x4ebd93(0x20c)][_0x4ebd93(0x214)]),this[_0x4ebd93(0x1df)](_0x4ebd93(0x201),!0x1),this[_0x4ebd93(0x1ec)]=_0x42f98f,this[_0x4ebd93(0x1e3)]=_0x2d263b,this[_0x4ebd93(0x1e4)]=this[_0x4ebd93(0x200)](),this[_0x4ebd93(0x21d)]=this[_0x4ebd93(0x200)](),this[_0x4ebd93(0x1e6)]=null,this[_0x4ebd93(0x219)]=new _0x4db074(_0xca02c5),this[_0x4ebd93(0x219)][_0x4ebd93(0x1e1)](_0x4ebd93(0x1ea))['to'](this,_0x4ebd93(0x214),_0x3d0397=>_0x3d0397-this[_0x4ebd93(0x1e3)][_0x4ebd93(0x1fb)]);for(const _0x2d0700 of _0x42f98f[_0x4ebd93(0x20c)])this[_0x4ebd93(0x1fc)](_0x2d0700);this[_0x4ebd93(0x1f9)](),this[_0x4ebd93(0x1e7)](_0x42f98f[_0x4ebd93(0x20c)],_0x4ebd93(0x20d),(_0x19f9f1,_0x261ef6)=>{const _0xc36cbe=_0x4ebd93,_0x142392=this[_0xc36cbe(0x21f)](_0x261ef6);this[_0xc36cbe(0x214)]++,this[_0xc36cbe(0x1fc)](_0x261ef6,_0x142392),this[_0xc36cbe(0x1d9)]();}),this[_0x4ebd93(0x1e7)](_0x42f98f[_0x4ebd93(0x20c)],_0x4ebd93(0x1dc),(_0x1480cb,_0x48ecb7)=>{const _0x5cbe6c=_0x4ebd93;this[_0x5cbe6c(0x214)]--,this[_0x5cbe6c(0x1f8)](_0x48ecb7),this[_0x5cbe6c(0x1d9)]();}),this[_0x4ebd93(0x1e7)](_0x42f98f,_0x4ebd93(0x211),()=>this[_0x4ebd93(0x1d9)]()),this[_0x4ebd93(0x1e7)](_0x42f98f,_0x4ebd93(0x1db),()=>this[_0x4ebd93(0x1f9)]()),this['on'](_0x4ebd93(0x213),()=>this[_0x4ebd93(0x1d9)]()),this['on'](_0x4ebd93(0x21b),()=>this[_0x4ebd93(0x1d9)]()),this[_0x4ebd93(0x204)]({'tag':'ul','attributes':{'class':[_0x4ebd93(0x1e0)]},'children':this[_0x4ebd93(0x21d)]});}get[_0x47f5d0(0x1d6)](){const _0x430333=_0x47f5d0;return this[_0x430333(0x1ec)][_0x430333(0x203)]>this[_0x430333(0x1e3)][_0x430333(0x1f0)]&&!this[_0x430333(0x201)]&&!this[_0x430333(0x206)];}[_0x47f5d0(0x216)](){const _0x41ae22=_0x47f5d0;super[_0x41ae22(0x216)](),this[_0x41ae22(0x1d9)]();}[_0x47f5d0(0x1f1)](){const _0x202732=_0x47f5d0;this[_0x202732(0x1f7)][_0x202732(0x1f1)]();}[_0x47f5d0(0x1f4)](){const _0x35d011=_0x47f5d0;this[_0x35d011(0x219)][_0x35d011(0x1f4)]();for(const _0x11f090 of this[_0x35d011(0x1e4)])_0x11f090[_0x35d011(0x1f4)]();super[_0x35d011(0x1f4)]();}[_0x47f5d0(0x1d9)](){const _0x4e3b75=_0x47f5d0;this[_0x4e3b75(0x1d6)]?this[_0x4e3b75(0x1f2)]():this[_0x4e3b75(0x202)]();}[_0x47f5d0(0x1fc)](_0x365aec,_0x139417){const _0xd7ec11=_0x47f5d0,_0x1984ae=new this[(_0xd7ec11(0x1e3))][(_0xd7ec11(0x212))](this[_0xd7ec11(0x21a)],_0x365aec,{'maxCommentCharsWhenCollapsed':this[_0xd7ec11(0x1e3)][_0xd7ec11(0x1d8)],'formatDateTime':this[_0xd7ec11(0x1e3)][_0xd7ec11(0x21c)],'editorConfig':this[_0xd7ec11(0x1e3)][_0xd7ec11(0x210)]});_0x1984ae[_0xd7ec11(0x209)]=_0x365aec['id'],_0x1984ae[_0xd7ec11(0x205)](_0xd7ec11(0x1da))['to'](this),_0x1984ae[_0xd7ec11(0x205)](_0xd7ec11(0x20f))['to'](this),_0x1984ae[_0xd7ec11(0x205)](_0xd7ec11(0x1f3))['to'](this),_0x1984ae[_0xd7ec11(0x205)](_0xd7ec11(0x217))['to'](this),_0x1984ae[_0xd7ec11(0x205)](_0xd7ec11(0x207))['to'](this),this[_0xd7ec11(0x1e7)](_0x1984ae,_0xd7ec11(0x1f6),()=>this[_0xd7ec11(0x20e)]()),this[_0xd7ec11(0x1e4)][_0xd7ec11(0x20d)](_0x1984ae,_0x139417);}[_0x47f5d0(0x21f)](_0x442464){const _0x52de6e=_0x47f5d0,_0x1e3257=this[_0x52de6e(0x1ec)][_0x52de6e(0x218)](_0x442464);return this[_0x52de6e(0x1e6)]?this[_0x52de6e(0x1e6)][_0x52de6e(0x21e)]>_0x442464[_0x52de6e(0x21e)]?_0x1e3257-0x1:_0x1e3257:_0x1e3257-0x1;}[_0x47f5d0(0x1f9)](){const _0x4ed06a=_0x47f5d0;if(this[_0x4ed06a(0x1ec)][_0x4ed06a(0x1de)]&&this[_0x4ed06a(0x1ec)][_0x4ed06a(0x1e2)]){const _0x45753b={'id':_0x4ed06a(0x1f5),'author':this[_0x4ed06a(0x1ec)][_0x4ed06a(0x1de)],'authoredAt':this[_0x4ed06a(0x1ec)][_0x4ed06a(0x1e2)],'content':_0x2b8312(this[_0x4ed06a(0x21a)],_0x4ed06a(0x221)),'attributes':{}};this[_0x4ed06a(0x1e6)]=new this[(_0x4ed06a(0x1e3))][(_0x4ed06a(0x212))](this[_0x4ed06a(0x21a)],_0x45753b,{'maxCommentCharsWhenCollapsed':this[_0x4ed06a(0x1e3)][_0x4ed06a(0x1d8)],'formatDateTime':this[_0x4ed06a(0x1e3)][_0x4ed06a(0x21c)],'editorConfig':this[_0x4ed06a(0x1e3)][_0x4ed06a(0x210)],'isSystemComment':!0x0}),this[_0x4ed06a(0x1e4)][_0x4ed06a(0x20d)](this[_0x4ed06a(0x1e6)],this[_0x4ed06a(0x1ec)][_0x4ed06a(0x218)](_0x45753b));}else this[_0x4ed06a(0x1e6)]&&(this[_0x4ed06a(0x1e4)][_0x4ed06a(0x1dc)](this[_0x4ed06a(0x1e6)]),this[_0x4ed06a(0x1e6)][_0x4ed06a(0x1f4)](),this[_0x4ed06a(0x1e6)]=null);this[_0x4ed06a(0x1d9)]();}[_0x47f5d0(0x1f8)](_0x803166){const _0x431d78=_0x47f5d0,_0x3736a5=this[_0x431d78(0x1e4)][_0x431d78(0x1dc)](_0x803166['id']);this[_0x431d78(0x220)](_0x3736a5),_0x3736a5[_0x431d78(0x1ee)]&&this[_0x431d78(0x20e)](),_0x3736a5[_0x431d78(0x1f4)]();}[_0x47f5d0(0x20e)](){const _0x253110=_0x47f5d0;this[_0x253110(0x206)]=Array[_0x253110(0x208)](this[_0x253110(0x1e4)])[_0x253110(0x1e9)](_0x23eaa0=>_0x23eaa0[_0x253110(0x1ee)]);}[_0x47f5d0(0x1f2)](){const _0x3a31b0=_0x47f5d0,_0x3d833c=function(_0x41f937){const _0x113e1e=_0xb3f7,_0x16d247=new _0x3f27e1();for(const _0x47cf06 of _0x41f937)_0x16d247[_0x113e1e(0x20d)](_0x47cf06);return _0x16d247;}(this[_0x3a31b0(0x1e4)]),_0x136f80=this[_0x3a31b0(0x219)][_0x3a31b0(0x1ea)];for(let _0xf91bd3=0x1;_0xf91bd3<=_0x136f80;_0xf91bd3++)_0x3d833c[_0x3a31b0(0x1dc)](0x1);for(const _0x4e024e of _0x3d833c)_0x4e024e[_0x3a31b0(0x215)]();_0x136f80>0x0&&_0x3d833c[_0x3a31b0(0x20d)](this[_0x3a31b0(0x219)],0x1),is(_0x1df5d7(Array[_0x3a31b0(0x208)](this[_0x3a31b0(0x21d)]),Array[_0x3a31b0(0x208)](_0x3d833c)),this[_0x3a31b0(0x21d)],_0x3d833c);}[_0x47f5d0(0x202)](){const _0x120a30=_0x47f5d0;is(_0x1df5d7(Array[_0x120a30(0x208)](this[_0x120a30(0x21d)]),Array[_0x120a30(0x208)](this[_0x120a30(0x1e4)])),this[_0x120a30(0x21d)],this[_0x120a30(0x1e4)]);for(const _0xc60678 of this[_0x120a30(0x21d)])_0xc60678[_0x120a30(0x1ef)]();}}function is(_0x3ee928,_0x3f55e2,_0x2eede8){const _0x57e8d5=_0x47f5d0;let _0x54b16d=0x0;for(const _0xbafad0 of _0x3ee928)switch(_0xbafad0){case _0x57e8d5(0x1fa):_0x3f55e2[_0x57e8d5(0x20d)](_0x2eede8[_0x57e8d5(0x1e5)](_0x54b16d),_0x54b16d),_0x54b16d++;break;case _0x57e8d5(0x1ed):_0x3f55e2[_0x57e8d5(0x1dc)](_0x54b16d);break;case _0x57e8d5(0x1fd):_0x54b16d++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d870b=_0x2537;(function(_0x1566f9,_0x46e327){const _0x4595ce=_0x2537,_0xa38673=_0x1566f9();while(!![]){try{const _0x38f67e=-parseInt(_0x4595ce(0x91))/0x1+-parseInt(_0x4595ce(0x8d))/0x2+-parseInt(_0x4595ce(0x72))/0x3*(-parseInt(_0x4595ce(0x9b))/0x4)+parseInt(_0x4595ce(0xa2))/0x5+-parseInt(_0x4595ce(0x92))/0x6+parseInt(_0x4595ce(0x6a))/0x7*(parseInt(_0x4595ce(0x82))/0x8)+parseInt(_0x4595ce(0x85))/0x9;if(_0x38f67e===_0x46e327)break;else _0xa38673['push'](_0xa38673['shift']());}catch(_0x5b08e5){_0xa38673['push'](_0xa38673['shift']());}}}(_0x5372,0x94eca));import{View as _0xa0ebe9,ButtonView as _0x1a3fdb}from'ckeditor5/src/ui.js';function _0x2537(_0x4c756f,_0x2124ea){const _0x5372f8=_0x5372();return _0x2537=function(_0x2537c6,_0x35a380){_0x2537c6=_0x2537c6-0x67;let _0x10abcc=_0x5372f8[_0x2537c6];return _0x10abcc;},_0x2537(_0x4c756f,_0x2124ea);}function _0x5372(){const _0x468977=['_createReopenButton','add','locale','element','render','isVisible','ck-thread__header','value','_model','mouseleave','9584Tzrzcs','reopenCommentThread','lastIndexOf','22497732ixPtQS','execute','_trimContextValue','icon','label','...','Reopen','isEnabled','2032006aWPtbr','reopenButtonView','ck-context','isReadOnly','1085325YWERww','3763728pCNPxu','bind','fire','tooltip','length','ck-context--quotes','span','listenTo','_attachContextActions','240cvBSkW','contextValue','Comment\x20was\x20made\x20on\x20an\x20element','ck-context__value','context','isResolvable','remove','1675640WskYSR','div','querySelector','classList','overlay','1141SJSYYS','isResolved','.ck-context__value','hasContext','ck-annotation__actions','setTemplate','substring','scrollWidth','15423QAiBAp','offsetWidth','mouseenter','ck-context-wrapper','.ck-context','bindTemplate'];_0x5372=function(){return _0x468977;};return _0x5372();}import{getTranslation as _0x3b1f7f}from'../../../utils/common-translations.js';import _0x3e6d44 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0xa0ebe9{constructor(_0x34f399,_0x15b7db){const _0x1f4b36=_0x2537;super(_0x34f399);const _0x68267e=this[_0x1f4b36(0x77)];this[_0x1f4b36(0x80)]=_0x15b7db,this[_0x1f4b36(0x8e)]=this[_0x1f4b36(0x78)](),this[_0x1f4b36(0x93)](_0x1f4b36(0x6d))['to'](this[_0x1f4b36(0x80)],_0x1f4b36(0x9f),_0x1e600b=>!!_0x1e600b),this[_0x1f4b36(0x93)](_0x1f4b36(0x9c))['to'](this[_0x1f4b36(0x80)],_0x1f4b36(0x9f),_0x2256a7=>_0x2256a7&&_0x2256a7[_0x1f4b36(0x7f)]?this[_0x1f4b36(0x87)](_0x2256a7[_0x1f4b36(0x7f)]):_0x3b1f7f(this[_0x1f4b36(0x7a)],_0x1f4b36(0x9d))),this[_0x1f4b36(0x6f)]({'tag':_0x1f4b36(0xa3),'attributes':{'class':[_0x1f4b36(0x7e)]},'children':[{'tag':_0x1f4b36(0xa3),'attributes':{'class':[_0x1f4b36(0x75)]},'children':[{'tag':_0x1f4b36(0xa3),'attributes':{'class':[_0x1f4b36(0x8f),_0x68267e['if'](_0x1f4b36(0x6d),_0x1f4b36(0x97))]},'children':[{'tag':_0x1f4b36(0x98),'attributes':{'class':[_0x1f4b36(0x9e)]},'children':[{'text':_0x68267e['to'](_0x1f4b36(0x9c))}]}]}]},{'tag':_0x1f4b36(0xa3),'attributes':{'class':[_0x1f4b36(0x6e)]},'children':[this[_0x1f4b36(0x8e)]]}]});}[_0x3d870b(0x7c)](){const _0x3960f6=_0x3d870b;super[_0x3960f6(0x7c)](),this[_0x3960f6(0x9a)]();}[_0x3d870b(0x78)](){const _0x1a5962=_0x3d870b,_0xac5ad8=new _0x1a3fdb(this[_0x1a5962(0x7a)]);return _0xac5ad8[_0x1a5962(0x89)]=_0x3b1f7f(this[_0x1a5962(0x7a)],_0x1a5962(0x8b)),_0xac5ad8[_0x1a5962(0x95)]=_0x3b1f7f(this[_0x1a5962(0x7a)],_0x1a5962(0x8b)),_0xac5ad8[_0x1a5962(0x88)]=_0x3e6d44,_0xac5ad8[_0x1a5962(0x93)](_0x1a5962(0x8c))['to'](this[_0x1a5962(0x80)],_0x1a5962(0x90),_0x23cf9a=>!_0x23cf9a),_0xac5ad8[_0x1a5962(0x93)](_0x1a5962(0x7d))['to'](this[_0x1a5962(0x80)],_0x1a5962(0xa0),this[_0x1a5962(0x80)],_0x1a5962(0x6b),(_0x183887,_0x50e39e)=>_0x183887&&_0x50e39e),_0xac5ad8['on'](_0x1a5962(0x86),()=>{const _0x5e7d9a=_0x1a5962;this[_0x5e7d9a(0x94)](_0x5e7d9a(0x83),this[_0x5e7d9a(0x80)]['id']);}),_0xac5ad8;}[_0x3d870b(0x87)](_0x5c0892){const _0x85a28e=_0x3d870b;if(_0x5c0892[_0x85a28e(0x96)]<0x96)return _0x5c0892;const _0x34df9d=_0x5c0892[_0x85a28e(0x84)]('\x20',0x93);return _0x5c0892[_0x85a28e(0x70)](0x0,_0x34df9d>-0x1?_0x34df9d:0x93)+_0x85a28e(0x8a);}[_0x3d870b(0x9a)](){const _0x40a124=_0x3d870b,_0x3cea2c=this[_0x40a124(0x7b)][_0x40a124(0x67)](_0x40a124(0x76)),_0x2e3f32=_0x3cea2c[_0x40a124(0x67)](_0x40a124(0x6c));this[_0x40a124(0x99)](_0x3cea2c,_0x40a124(0x74),()=>{const _0x2a9547=_0x40a124;_0x2e3f32[_0x2a9547(0x73)]<_0x2e3f32[_0x2a9547(0x71)]&&_0x3cea2c[_0x2a9547(0x68)][_0x2a9547(0x79)](_0x2a9547(0x69));}),this[_0x40a124(0x99)](_0x3cea2c,_0x40a124(0x81),()=>{const _0x306562=_0x40a124;_0x3cea2c[_0x306562(0x68)][_0x306562(0xa1)](_0x306562(0x69));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x46cd(_0x24744f,_0x5591f0){var _0x1c74d4=_0x1c74();return _0x46cd=function(_0x46cd49,_0x22418c){_0x46cd49=_0x46cd49-0xd4;var _0x15ecff=_0x1c74d4[_0x46cd49];return _0x15ecff;},_0x46cd(_0x24744f,_0x5591f0);}var _0x5dc5bc=_0x46cd;(function(_0x569c64,_0xd858e8){var _0x1a8ab3=_0x46cd,_0x5a58d7=_0x569c64();while(!![]){try{var _0xf1cea8=-parseInt(_0x1a8ab3(0xe0))/0x1+-parseInt(_0x1a8ab3(0xf1))/0x2+-parseInt(_0x1a8ab3(0xe8))/0x3*(-parseInt(_0x1a8ab3(0xe7))/0x4)+-parseInt(_0x1a8ab3(0xda))/0x5*(-parseInt(_0x1a8ab3(0xe5))/0x6)+-parseInt(_0x1a8ab3(0xf5))/0x7+parseInt(_0x1a8ab3(0xd8))/0x8+-parseInt(_0x1a8ab3(0xe1))/0x9*(-parseInt(_0x1a8ab3(0xdc))/0xa);if(_0xf1cea8===_0xd858e8)break;else _0x5a58d7['push'](_0x5a58d7['shift']());}catch(_0x1a2cca){_0x5a58d7['push'](_0x5a58d7['shift']());}}}(_0x1c74,0x1d3e7));import{View as _0x3a02f1}from'ckeditor5/src/ui.js';import _0x35b20d from'./commentinputview.js';function _0x1c74(){var _0x55600c=['showInput','setTemplate','318XJGctV','editorReady','41336kiRPyn','6ApWhdT','commentInputView','value','ck-comment__input-container--active','showButtons','change:showInput','destroy','userView','then','69206horueE','ck-comment__input-container','ck-thread__input','ck-thread__user','758226GjdvGy','focusTracker','bind','editor','bindTemplate','div','586320BHMrWD','isFocused','11165BVuiHN','editorDestroyed','20tDHozN','set','delegate','extendTemplate','91975DtVvxE','640674VtvApP','createEditor'];_0x1c74=function(){return _0x55600c;};return _0x1c74();}import{UserView as _0xfe5759}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Tt extends _0x3a02f1{constructor(_0x32b334,_0x76cea6,_0x40b20c){var _0x22809f=_0x46cd;super(_0x32b334),this[_0x22809f(0xe9)]=new _0x35b20d(_0x32b334,_0x40b20c),this[_0x22809f(0xe9)][_0x22809f(0xd4)](_0x22809f(0xec))['to'](this[_0x22809f(0xe9)][_0x22809f(0xf6)],_0x22809f(0xd9),this[_0x22809f(0xe9)],_0x22809f(0xea),(_0x327405,_0x1af713)=>_0x327405||!!_0x1af713),this[_0x22809f(0xdd)](_0x22809f(0xe3),!0x1),this['on'](_0x22809f(0xed),()=>{var _0x3773dd=_0x22809f;this[_0x3773dd(0xe3)]&&!this[_0x3773dd(0xe9)][_0x3773dd(0xd5)]&&this[_0x3773dd(0xe9)][_0x3773dd(0xe2)]();}),this[_0x22809f(0xe9)][_0x22809f(0xde)](_0x22809f(0xe6))['to'](this),this[_0x22809f(0xe9)][_0x22809f(0xde)](_0x22809f(0xdb))['to'](this),this[_0x22809f(0xef)]=new _0xfe5759(_0x32b334,_0x76cea6),this[_0x22809f(0xef)][_0x22809f(0xdf)]({'attributes':{'class':_0x22809f(0xf4)}}),this[_0x22809f(0xe9)][_0x22809f(0xdf)]({'attributes':{'class':_0x22809f(0xf3)}}),this[_0x22809f(0xe4)]({'tag':_0x22809f(0xd7),'attributes':{'class':[_0x22809f(0xf2),this[_0x22809f(0xd6)]['if'](_0x22809f(0xe3),_0x22809f(0xeb))]},'children':[this[_0x22809f(0xef)],this[_0x22809f(0xe9)]]});}[_0x5dc5bc(0xee)](){var _0x22bb95=_0x5dc5bc;return this[_0x22bb95(0xe9)][_0x22bb95(0xee)]()[_0x22bb95(0xf0)](()=>super[_0x22bb95(0xee)]());}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x4ac72b=_0x3fb8;(function(_0x1dbaf3,_0x5a19b4){const _0x47e679=_0x3fb8,_0x69d806=_0x1dbaf3();while(!![]){try{const _0x58fc66=parseInt(_0x47e679(0xe9))/0x1+parseInt(_0x47e679(0xfd))/0x2+-parseInt(_0x47e679(0xe2))/0x3*(parseInt(_0x47e679(0xd3))/0x4)+parseInt(_0x47e679(0xf7))/0x5*(parseInt(_0x47e679(0xe4))/0x6)+-parseInt(_0x47e679(0xc6))/0x7*(parseInt(_0x47e679(0xbc))/0x8)+-parseInt(_0x47e679(0xcc))/0x9*(-parseInt(_0x47e679(0xea))/0xa)+-parseInt(_0x47e679(0xe6))/0xb;if(_0x58fc66===_0x5a19b4)break;else _0x69d806['push'](_0x69d806['shift']());}catch(_0x18ae5c){_0x69d806['push'](_0x69d806['shift']());}}}(_0x4cb3,0x8af21));function _0x3fb8(_0x4e71e9,_0x2a1068){const _0x4cb37a=_0x4cb3();return _0x3fb8=function(_0x3fb8a3,_0x3cb48b){_0x3fb8a3=_0x3fb8a3-0xb2;let _0x19fe5d=_0x4cb37a[_0x3fb8a3];return _0x19fe5d;},_0x3fb8(_0x4e71e9,_0x2a1068);}import{ConfirmMixin as _0x2dfe10}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x443471}from'ckeditor5/src/ui.js';import{icons as _0x535094}from'ckeditor5/src/core.js';import _0x17e5a4 from'./basecommentthreadview.js';import{getTranslation as _0x308908}from'../../../utils/common-translations.js';export default class yt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2dfe10(_0x17e5a4){constructor(_0x1b5dc1,_0x2bfdc4,_0x533ce4,_0x244d1e){const _0x526c64=_0x3fb8;super(_0x1b5dc1,_0x2bfdc4,_0x533ce4,_0x244d1e),this[_0x526c64(0xcb)]=this[_0x526c64(0xf8)](),this[_0x526c64(0xcb)][_0x526c64(0x105)]([this[_0x526c64(0xd8)],this[_0x526c64(0xf1)]]),this[_0x526c64(0xcd)][_0x526c64(0x104)]&&this[_0x526c64(0xcb)][_0x526c64(0xc5)](this[_0x526c64(0xb8)],0x0),this[_0x526c64(0xcd)]['on'](_0x526c64(0x103),(_0x3c7ac8,_0x2ea778,_0x1aa83b)=>{const _0x452139=_0x526c64;_0x1aa83b?this[_0x452139(0xcb)][_0x452139(0xe5)](this[_0x452139(0xb8)])||this[_0x452139(0xcb)][_0x452139(0xc5)](this[_0x452139(0xb8)],0x0):this[_0x452139(0xcb)][_0x452139(0xe8)](this[_0x452139(0xb8)]);}),this[_0x526c64(0xf4)](_0x526c64(0xe7),null),this[_0x526c64(0xec)]=null,this[_0x526c64(0xfe)]=null,this[_0x526c64(0xbb)]=_0x1b5dc1,this[_0x526c64(0xf5)]=this[_0x526c64(0xf2)](),this[_0x526c64(0xd2)](this[_0x526c64(0xb5)]()),this['on'](_0x526c64(0xc9),(_0x159125,_0x5df0a0,_0x11bdb3)=>{const _0x38c8c9=_0x526c64;_0x11bdb3||this[_0x38c8c9(0xb4)]();}),this[_0x526c64(0xdf)](this[_0x526c64(0xcd)],_0x526c64(0xe3),(_0x518ec1,_0x113cbe,_0xe569c)=>{const _0xcf40dc=_0x526c64;_0xe569c&&this[_0xcf40dc(0xb4)]();}),this[_0x526c64(0xc4)]>0x0&&this[_0x526c64(0xb7)](),this[_0x526c64(0xdf)](this[_0x526c64(0xd8)][_0x526c64(0xde)],_0x526c64(0xc5),()=>{const _0x179b03=_0x526c64;this[_0x179b03(0xb7)]();});}[_0x4ac72b(0xb5)](){const _0x37af28=_0x4ac72b,_0x3fd05a=this[_0x37af28(0xbd)];return{'tag':_0x37af28(0xb2),'attributes':{'class':[_0x37af28(0xda),_0x37af28(0xb3),_0x3fd05a['if'](_0x37af28(0x101),_0x37af28(0xed)),_0x3fd05a['if'](_0x37af28(0xfa),_0x37af28(0xd4)),_0x3fd05a['if'](_0x37af28(0xc8),_0x37af28(0xf0)),_0x3fd05a['to'](_0x37af28(0xe7),_0x4060b2=>_0x4060b2?_0x37af28(0xce)+_0x4060b2:'')],'data-thread-id':this[_0x37af28(0xcd)]['id'],'tabindex':-0x1},'children':[{'tag':_0x37af28(0xb2),'attributes':{'class':_0x37af28(0xca)},'children':this[_0x37af28(0xcb)]}]};}[_0x4ac72b(0x100)](){const _0x1e8c6f=_0x4ac72b;super[_0x1e8c6f(0x100)](),this[_0x1e8c6f(0xec)]=this[_0x1e8c6f(0xeb)][_0x1e8c6f(0xc0)](_0x1e8c6f(0xb6));}[_0x4ac72b(0xb4)](){const _0x1550ec=_0x4ac72b;this[_0x1550ec(0x102)]();for(const _0xb337f5 of this[_0x1550ec(0xd8)][_0x1550ec(0xde)])_0xb337f5[_0x1550ec(0x102)]();}[_0x4ac72b(0xb7)](){const _0x1c5e87=_0x4ac72b,{locale:_0x158cea}=this,_0x539706=this[_0x1c5e87(0xd8)][_0x1c5e87(0xde)][_0x1c5e87(0xcf)](0x0);_0x539706===this[_0x1c5e87(0xfe)]||_0x539706[_0x1c5e87(0xfb)]||(this[_0x1c5e87(0xfe)]=_0x539706,this[_0x1c5e87(0xfc)](_0x1c5e87(0xe7)),this[_0x1c5e87(0x106)](_0x1c5e87(0xe7))['to'](_0x539706,_0x1c5e87(0xe7),_0x26450d=>_0x1c5e87(0xe8)===_0x26450d?_0x1c5e87(0xe8):null),_0x539706[_0x1c5e87(0xd5)]=_0x308908(_0x158cea,_0x1c5e87(0xc3)),_0x539706[_0x1c5e87(0xd9)]['on'](_0x1c5e87(0xbe),_0x9cf2f=>{const _0x4b1998=_0x1c5e87;_0x9cf2f[_0x4b1998(0xe0)](),this[_0x4b1998(0xdb)](_0x308908(_0x158cea,_0x4b1998(0xb9)),this[_0x4b1998(0xec)])[_0x4b1998(0xf3)](()=>{const _0xaa5114=_0x4b1998;this[_0xaa5114(0xba)](_0xaa5114(0xef));});},{'priority':_0x1c5e87(0xc7)}),_0x539706[_0x1c5e87(0xee)][_0x1c5e87(0xc5)](this[_0x1c5e87(0xf5)],0x0));}[_0x4ac72b(0xf2)](){const _0x552df4=_0x4ac72b,_0x58f255=new _0x443471(this[_0x552df4(0xbb)]);return _0x58f255[_0x552df4(0xd6)]=_0x308908(this[_0x552df4(0xbb)],_0x552df4(0xc2)),_0x58f255[_0x552df4(0xe1)]=_0x308908(this[_0x552df4(0xbb)],_0x552df4(0xc2)),_0x58f255[_0x552df4(0xd1)]=_0x535094[_0x552df4(0xd7)],_0x58f255[_0x552df4(0xff)]({'attributes':{'class':_0x552df4(0xbf)}}),_0x58f255[_0x552df4(0x106)](_0x552df4(0xc1))['to'](this[_0x552df4(0xcd)],_0x552df4(0xdd),_0x2d0f75=>!_0x2d0f75),_0x58f255[_0x552df4(0x106)](_0x552df4(0xf9))['to'](this[_0x552df4(0xcd)],_0x552df4(0xd0),this[_0x552df4(0xcd)],_0x552df4(0xdc),(_0x5e2a0d,_0x2d1490)=>_0x5e2a0d&&!_0x2d1490),_0x58f255['on'](_0x552df4(0xbe),()=>{const _0x4b9fbe=_0x552df4;this[_0x4b9fbe(0xba)](_0x4b9fbe(0xf6),this[_0x4b9fbe(0xcd)]['id']);}),_0x58f255;}}function _0x4cb3(){const _0x503296=['ck-comment--resolve','querySelector','isEnabled','Resolve','Write\x20a\x20comment...','length','add','558936YBnHDZ','high','isConfirm','change:isActive','ck-thread__container','commentThreadChildren','120348Zzuvta','_model','ck-thread--','get','isResolvable','icon','setTemplate','176PbBFCL','ck-thread--unlinked','placeholder','label','check','commentsListView','removeButton','ck-thread','showConfirm','isResolved','isReadOnly','commentViews','listenTo','stop','tooltip','56310FNtOLg','change:isReadOnly','12Thwkac','has','18689319MZfPPY','actionIndicator','remove','1118123QLpEUf','790cBMSni','element','containerElement','ck-thread--active','actionBar','removeCommentThread','ck-thread--remove-confirmation','commentThreadInputView','_createResolveButton','then','set','resolveButton','resolveCommentThread','998965FxKalq','createCollection','isVisible','isUnlinked','isSystemComment','unbind','1359258tgapjU','_boundFirstCommentView','extendTemplate','render','isActive','cancelConfirm','change:archivedAt','archivedAt','addMany','bind','div','ck-reset_all-excluded','_cancelAllConfirms','getTemplate','.ck-thread__container','_bindFirstCommentView','commentThreadHeaderView','Delete\x20comment\x20thread?','fire','locale','16oimeWg','bindTemplate','execute'];_0x4cb3=function(){return _0x503296;};return _0x4cb3();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x21f6df=_0xd929;(function(_0x6c0a79,_0x47e01b){const _0x5e3eba=_0xd929,_0x53115d=_0x6c0a79();while(!![]){try{const _0x2ca9aa=-parseInt(_0x5e3eba(0x186))/0x1+-parseInt(_0x5e3eba(0x16a))/0x2+-parseInt(_0x5e3eba(0x138))/0x3*(-parseInt(_0x5e3eba(0x122))/0x4)+parseInt(_0x5e3eba(0x148))/0x5+parseInt(_0x5e3eba(0x183))/0x6+parseInt(_0x5e3eba(0x123))/0x7*(-parseInt(_0x5e3eba(0x177))/0x8)+-parseInt(_0x5e3eba(0x15a))/0x9;if(_0x2ca9aa===_0x47e01b)break;else _0x53115d['push'](_0x53115d['shift']());}catch(_0x4c9056){_0x53115d['push'](_0x53115d['shift']());}}}(_0x5244,0x64183));import{ButtonView as _0x165e54,createDropdown as _0x3eb2bc,ListView as _0x33371b,ListItemView as _0x4dfb29}from'ckeditor5/src/ui.js';function _0x5244(){const _0xe5c9d6=['render','@external','isEditable','change:isEnabled','userView','_attachActions','isReadOnly','length','items','ck-comment--remove','name','ck-comment--remove-confirmation','1539990vbgikK','isEnabled','div','ck-annotation__actions','bindTemplate','mouseleave','Delete\x20comment?','_createRemoveButton','withText','ck-annotation__content-wrapper','author','attributes','ck-comment__user','authoredAt','ck-annotation__info-name','importWord','83496gpPhOj','icon','blur','dropdown','EXTERNAL_COMMENT','formatDateTime','isSystemComment','setTemplate','cancelConfirm','panelView','pencil','ck-annotation','ck-comment--edit','1915728mecKlp','ck-comment__actions','isConfirm','ck-comment','visibleView','ck-comment__info-time','element','creator','extendTemplate','_createCommentInputView','switchToEditMode','time','3634362cEphHp','isVisible','locale','489057xYUFlW','set','span','removeButton','_createEditButton','_model','threeVerticalDots','EXTERNAL_AVATAR','resolvedAt','_createDropdown','ck-comment__wrapper','ck-comment--info','listenTo','ck-comment__actions--hidden','bind','change:isRemovable','isEditMode','panelPosition','getUserViewNotificationText','focus','getTemplate','buttonView','change:isVisible','2282548PVeESA','7kptBrw','mouseenter','remove','ck-annotation__actions--hidden','some','ck-comment__info-name','label','actionBar','ck-comment__external','ck-comment--','Edit','Remove','isRemovable','placeholder','createCollection','editButton','then','_config','add','children','Show\x20more\x20items','3KZVMBT','Reply...','ck-annotation__main','ck-annotation__info-time','EXTERNAL_IMPORT_WORD_COMMENT','ck-annotation__info','edit','source','ck-comment__info','showConfirm','ck-comment__main','EXTERNAL_IMPORT_WORD_AVATAR','getExternalCommentNote','push','ck-annotation__user','addMany','875020pzXifq','removeComment','execute','fire','actionIndicator','isExternal'];_0x5244=function(){return _0xe5c9d6;};return _0x5244();}import{icons as _0x28bfeb}from'ckeditor5/src/core.js';import{UserView as _0x20b82f,ConfirmMixin as _0xda5be6}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4f1ad5 from'./basecommentview.js';import _0x1507a2 from'../../../../theme/icons/remove-comment.svg';function _0xd929(_0x58eee5,_0x13716f){const _0x5244c1=_0x5244();return _0xd929=function(_0xd92967,_0x4683da){_0xd92967=_0xd92967-0x11f;let _0x2bd8=_0x5244c1[_0xd92967];return _0x2bd8;},_0xd929(_0x58eee5,_0x13716f);}import{getTranslation as _0x349f49}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xda5be6(_0x4f1ad5){constructor(_0x3e86bd,_0x4925fd,_0x5e1832){const _0x26d9aa=_0xd929;super(_0x3e86bd,_0x4925fd,_0x5e1832),this[_0x26d9aa(0x187)](_0x26d9aa(0x14c),null),this[_0x26d9aa(0x187)](_0x26d9aa(0x130),_0x349f49(_0x3e86bd,_0x26d9aa(0x139))),this[_0x26d9aa(0x194)](_0x26d9aa(0x167))['to'](_0x4925fd),this[_0x26d9aa(0x194)](_0x26d9aa(0x18e))['to'](_0x4925fd),this[_0x26d9aa(0x12a)]=this[_0x26d9aa(0x131)](),this[_0x26d9aa(0x170)]||(this[_0x26d9aa(0x132)]=this[_0x26d9aa(0x18a)](),this[_0x26d9aa(0x189)]=this[_0x26d9aa(0x161)](),this[_0x26d9aa(0x156)]=this[_0x26d9aa(0x131)](),this[_0x26d9aa(0x156)][_0x26d9aa(0x147)]([this[_0x26d9aa(0x132)],this[_0x26d9aa(0x189)]]),this[_0x26d9aa(0x16d)]=this[_0x26d9aa(0x18f)](),this[_0x26d9aa(0x12a)][_0x26d9aa(0x135)](this[_0x26d9aa(0x16d)])),this[_0x26d9aa(0x152)]=new _0x20b82f(_0x3e86bd,_0x4925fd[_0x26d9aa(0x164)],this[_0x26d9aa(0x198)]()),this[_0x26d9aa(0x152)][_0x26d9aa(0x17f)]({'attributes':{'class':[_0x26d9aa(0x166),_0x26d9aa(0x146)]}}),this[_0x26d9aa(0x192)](_0x4925fd,_0x26d9aa(0x195),()=>this[_0x26d9aa(0x172)]()),this[_0x26d9aa(0x171)](this[_0x26d9aa(0x11f)]());}[_0x21f6df(0x11f)](){const _0x31e6ae=_0x21f6df,_0x3bdc8f=this[_0x31e6ae(0x15e)],_0x3ef968=[{'tag':_0x31e6ae(0x15c),'attributes':{'class':[_0x31e6ae(0x140),_0x31e6ae(0x13d)]},'children':[{'tag':_0x31e6ae(0x188),'children':[{'text':this[_0x31e6ae(0x152)][_0x31e6ae(0x158)]}],'attributes':{'class':[_0x31e6ae(0x128),_0x31e6ae(0x168)]}},{'tag':_0x31e6ae(0x182),'attributes':{'datetime':_0x3bdc8f['to'](_0x31e6ae(0x167)),'class':[_0x31e6ae(0x17c),_0x31e6ae(0x13b)]},'children':[{'text':_0x3bdc8f['to'](_0x31e6ae(0x167),_0x36fd50=>this[_0x31e6ae(0x134)][_0x31e6ae(0x16f)](_0x36fd50))}]}]},{'tag':_0x31e6ae(0x15c),'attributes':{'class':[_0x31e6ae(0x178),_0x31e6ae(0x15d),_0x3bdc8f['if'](_0x31e6ae(0x196),_0x31e6ae(0x193)),_0x3bdc8f['if'](_0x31e6ae(0x196),_0x31e6ae(0x126))]},'children':this[_0x31e6ae(0x12a)]},{'tag':_0x31e6ae(0x15c),'attributes':{'class':[_0x31e6ae(0x163)]},'children':this[_0x31e6ae(0x17b)]}];return this[_0x31e6ae(0x18b)][_0x31e6ae(0x14d)]&&_0x3ef968[_0x31e6ae(0x145)]({'tag':_0x31e6ae(0x15c),'attributes':{'class':[_0x31e6ae(0x12b)]},'children':[{'text':this[_0x31e6ae(0x144)]()}]}),{'tag':'li','attributes':{'class':[_0x31e6ae(0x190),_0x3bdc8f['if'](_0x31e6ae(0x179),_0x31e6ae(0x159))],'tabindex':-0x1},'children':[{'tag':_0x31e6ae(0x15c),'attributes':{'class':[_0x31e6ae(0x17a),_0x31e6ae(0x175),_0x3bdc8f['if'](_0x31e6ae(0x196),_0x31e6ae(0x176)),_0x3bdc8f['if'](_0x31e6ae(0x170),_0x31e6ae(0x191)),_0x3bdc8f['to'](_0x31e6ae(0x14c),_0x2b6c74=>_0x2b6c74?_0x31e6ae(0x12c)+_0x2b6c74:'')],'data-author-id':this[_0x31e6ae(0x18b)][_0x31e6ae(0x164)]['id'],'data-comment-id':this[_0x31e6ae(0x18b)]['id']},'children':[this[_0x31e6ae(0x152)],{'tag':_0x31e6ae(0x15c),'attributes':{'class':[_0x31e6ae(0x142),_0x31e6ae(0x13a)]},'children':_0x3ef968}]}]};}[_0x21f6df(0x18a)](){const _0x24f03c=_0x21f6df,_0x22499d=new _0x165e54(this[_0x24f03c(0x185)]);return _0x22499d[_0x24f03c(0x129)]=_0x349f49(this[_0x24f03c(0x185)],_0x24f03c(0x12d)),_0x22499d[_0x24f03c(0x16b)]=_0x28bfeb[_0x24f03c(0x174)],_0x22499d[_0x24f03c(0x162)]=!0x0,_0x22499d[_0x24f03c(0x17f)]({'attributes':{'class':_0x24f03c(0x176)}}),_0x22499d[_0x24f03c(0x194)](_0x24f03c(0x15b))['to'](this[_0x24f03c(0x18b)],_0x24f03c(0x154),_0x286f50=>!_0x286f50),_0x22499d[_0x24f03c(0x194)](_0x24f03c(0x184))['to'](this[_0x24f03c(0x18b)],_0x24f03c(0x150)),_0x22499d['on'](_0x24f03c(0x14a),()=>this[_0x24f03c(0x181)]()),_0x22499d;}[_0x21f6df(0x161)](){const _0x173782=_0x21f6df,_0x3a49a5=new _0x165e54(this[_0x173782(0x185)]);return _0x3a49a5[_0x173782(0x129)]=_0x349f49(this[_0x173782(0x185)],_0x173782(0x12e)),_0x3a49a5[_0x173782(0x16b)]=_0x1507a2,_0x3a49a5[_0x173782(0x162)]=!0x0,_0x3a49a5[_0x173782(0x17f)]({'attributes':{'class':_0x173782(0x157)}}),_0x3a49a5[_0x173782(0x194)](_0x173782(0x15b))['to'](this[_0x173782(0x18b)],_0x173782(0x154),_0x1ca395=>!_0x1ca395),_0x3a49a5[_0x173782(0x194)](_0x173782(0x184))['to'](this[_0x173782(0x18b)],_0x173782(0x12f)),_0x3a49a5['on'](_0x173782(0x14a),()=>{const _0x3770d6=_0x173782;this[_0x3770d6(0x141)](_0x349f49(this[_0x3770d6(0x185)],_0x3770d6(0x160)),this[_0x3770d6(0x17d)])[_0x3770d6(0x133)](()=>{const _0x3325a5=_0x3770d6;this[_0x3325a5(0x14b)](_0x3325a5(0x149),this[_0x3325a5(0x18b)]['id']);});}),_0x3a49a5;}[_0x21f6df(0x18f)](){const _0x46fb2f=_0x21f6df,_0x4117c4=_0x3eb2bc(this[_0x46fb2f(0x185)]),_0x1ebb4b=_0x4117c4[_0x46fb2f(0x173)][_0x46fb2f(0x136)],_0x1dd312=new _0x33371b(this[_0x46fb2f(0x185)]),_0x534a1e=(_0x4217e5,_0x3bf3d4=-0x1)=>{const _0x4d789a=_0x46fb2f,_0x1bad8c=new _0x4dfb29(this[_0x4d789a(0x185)]);_0x1bad8c[_0x4d789a(0x136)][_0x4d789a(0x135)](_0x4217e5);const _0x519205=_0x3bf3d4>-0x1?_0x3bf3d4:_0x1dd312[_0x4d789a(0x156)][_0x4d789a(0x155)];_0x1dd312[_0x4d789a(0x156)][_0x4d789a(0x135)](_0x1bad8c,_0x519205),_0x4117c4[_0x4d789a(0x192)](_0x4217e5,_0x4d789a(0x151),()=>{const _0x40b621=_0x4d789a;_0x4117c4[_0x40b621(0x15b)]=[...this[_0x40b621(0x156)]][_0x40b621(0x127)](_0x363068=>_0x363068[_0x40b621(0x15b)]);}),_0x4117c4[_0x4d789a(0x192)](_0x4217e5,_0x4d789a(0x121),()=>{const _0x3f86cd=_0x4d789a;_0x4117c4[_0x3f86cd(0x120)][_0x3f86cd(0x184)]=[...this[_0x3f86cd(0x156)]][_0x3f86cd(0x127)](_0x13411b=>_0x13411b[_0x3f86cd(0x184)]);});};_0x4117c4[_0x46fb2f(0x197)]='sw',_0x4117c4[_0x46fb2f(0x120)][_0x46fb2f(0x187)]({'label':_0x349f49(this[_0x46fb2f(0x185)],_0x46fb2f(0x137)),'icon':_0x28bfeb[_0x46fb2f(0x18c)]}),_0x4117c4[_0x46fb2f(0x15b)]=[...this[_0x46fb2f(0x156)]][_0x46fb2f(0x127)](_0x5e4abd=>_0x5e4abd[_0x46fb2f(0x15b)]),_0x4117c4[_0x46fb2f(0x120)][_0x46fb2f(0x184)]=[...this[_0x46fb2f(0x156)]][_0x46fb2f(0x127)](_0x29912c=>_0x29912c[_0x46fb2f(0x184)]);for(const _0x404d51 of this[_0x46fb2f(0x156)])_0x534a1e(_0x404d51);return _0x1ebb4b[_0x46fb2f(0x135)](_0x1dd312),_0x4117c4[_0x46fb2f(0x192)](this[_0x46fb2f(0x156)],_0x46fb2f(0x135),(_0x38e76a,_0x210773,_0x377c5c)=>{_0x534a1e(_0x210773,_0x377c5c);}),_0x4117c4[_0x46fb2f(0x192)](this[_0x46fb2f(0x156)],_0x46fb2f(0x125),(_0x2ec25d,_0x1268e,_0x123ce1)=>{const _0x59c497=_0x46fb2f;_0x1dd312[_0x59c497(0x156)][_0x59c497(0x125)](_0x123ce1);}),_0x4117c4;}[_0x21f6df(0x153)](_0x43e46a,_0x45a095){const _0x1e68b7=_0x21f6df,_0x1b5e5d=_0x43e46a&&_0x43e46a[_0x1e68b7(0x17d)];_0x1b5e5d&&(this[_0x1e68b7(0x192)](_0x1b5e5d,_0x1e68b7(0x124),()=>this[_0x1e68b7(0x14c)]=_0x45a095),this[_0x1e68b7(0x192)](_0x1b5e5d,_0x1e68b7(0x199),()=>this[_0x1e68b7(0x14c)]=_0x45a095),this[_0x1e68b7(0x192)](_0x1b5e5d,_0x1e68b7(0x15f),()=>this[_0x1e68b7(0x14c)]=null),this[_0x1e68b7(0x192)](_0x1b5e5d,_0x1e68b7(0x16c),()=>this[_0x1e68b7(0x14c)]=null));}[_0x21f6df(0x180)](){const _0x3f617f=_0x21f6df,_0x2fbdbc=super[_0x3f617f(0x180)]();return _0x2fbdbc[_0x3f617f(0x194)](_0x3f617f(0x130))['to'](this),_0x2fbdbc;}[_0x21f6df(0x144)](){const _0x5b63eb=_0x21f6df;return _0x5b63eb(0x169)===this[_0x5b63eb(0x18b)][_0x5b63eb(0x165)][_0x5b63eb(0x14f)][_0x5b63eb(0x13f)]?_0x349f49(this[_0x5b63eb(0x185)],_0x5b63eb(0x13c)):_0x349f49(this[_0x5b63eb(0x185)],_0x5b63eb(0x16e));}[_0x21f6df(0x198)](){const _0x3479ec=_0x21f6df;return this[_0x3479ec(0x18b)][_0x3479ec(0x14d)]?_0x3479ec(0x169)===this[_0x3479ec(0x18b)][_0x3479ec(0x165)][_0x3479ec(0x14f)][_0x3479ec(0x13f)]?_0x349f49(this[_0x3479ec(0x185)],_0x3479ec(0x143),this[_0x3479ec(0x18b)][_0x3479ec(0x17e)][_0x3479ec(0x158)]):_0x349f49(this[_0x3479ec(0x185)],_0x3479ec(0x18d),this[_0x3479ec(0x18b)][_0x3479ec(0x17e)][_0x3479ec(0x158)]):null;}[_0x21f6df(0x14e)](){const _0x35df8b=_0x21f6df;super[_0x35df8b(0x14e)](),this[_0x35df8b(0x153)](this[_0x35df8b(0x132)],_0x35df8b(0x13e)),this[_0x35df8b(0x153)](this[_0x35df8b(0x189)],_0x35df8b(0x125));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2270(){var _0x45a0eb=['1KSYLng','3034986BlVEJK','Comments','1482230QjsEIL','4225650bpQDlC','7KKRXqz','33yZKPhI','4GjPbSu','requires','16008516XOXWBM','4234500YgymKY','5203690qEsBmU','99imhXaW','pluginName','10449416ZLhWkF'];_0x2270=function(){return _0x45a0eb;};return _0x2270();}var _0x2d85ae=_0x3dec;(function(_0x288221,_0x5ebc1c){var _0x185c87=_0x3dec,_0x4607ad=_0x288221();while(!![]){try{var _0x2a9440=parseInt(_0x185c87(0xa9))/0x1*(parseInt(_0x185c87(0xaa))/0x2)+parseInt(_0x185c87(0xa4))/0x3+-parseInt(_0x185c87(0xa1))/0x4*(-parseInt(_0x185c87(0xa5))/0x5)+parseInt(_0x185c87(0xad))/0x6+-parseInt(_0x185c87(0x9f))/0x7*(parseInt(_0x185c87(0xa8))/0x8)+-parseInt(_0x185c87(0xa6))/0x9*(-parseInt(_0x185c87(0xac))/0xa)+parseInt(_0x185c87(0xa0))/0xb*(-parseInt(_0x185c87(0xa3))/0xc);if(_0x2a9440===_0x5ebc1c)break;else _0x4607ad['push'](_0x4607ad['shift']());}catch(_0x307e5b){_0x4607ad['push'](_0x4607ad['shift']());}}}(_0x2270,0xf3339));import{Plugin as _0x1eae66}from'ckeditor5/src/core.js';import _0x43cf47 from'./comments/commentsrepository.js';import _0x87045c from'./comments/commentsediting.js';import _0x1303ad from'./comments/commentsui.js';import _0x44a0d4 from'./commentsonly.js';import _0x2e8086 from'./annotations/widesidebar.js';import _0x588dcd from'./annotations/narrowsidebar.js';import _0x130ef8 from'./annotations/inlineannotations.js';import _0x2947df from'./comments/commentsarchiveui.js';function _0x3dec(_0x5c4465,_0x278d6d){var _0x2270ef=_0x2270();return _0x3dec=function(_0x3deca3,_0xd25c7c){_0x3deca3=_0x3deca3-0x9f;var _0x305d6a=_0x2270ef[_0x3deca3];return _0x305d6a;},_0x3dec(_0x5c4465,_0x278d6d);}import _0x21bdb8 from'./comments/commentsarchive.js';export default class f extends _0x1eae66{static get[_0x2d85ae(0xa2)](){return[_0x43cf47,_0x87045c,_0x1303ad,_0x21bdb8,_0x2947df,_0x44a0d4,_0x2e8086,_0x588dcd,_0x130ef8];}static get[_0x2d85ae(0xa7)](){var _0x283739=_0x2d85ae;return _0x283739(0xab);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3e0a(_0x3b8271,_0x4213ae){const _0x18b5c8=_0x18b5();return _0x3e0a=function(_0x3e0ad7,_0x40614b){_0x3e0ad7=_0x3e0ad7-0x1ad;let _0x553492=_0x18b5c8[_0x3e0ad7];return _0x553492;},_0x3e0a(_0x3b8271,_0x4213ae);}const _0x4bd06d=_0x3e0a;(function(_0x1d7701,_0xa88a6b){const _0xb11f8a=_0x3e0a,_0x5db89f=_0x1d7701();while(!![]){try{const _0x1035f4=-parseInt(_0xb11f8a(0x1b0))/0x1+parseInt(_0xb11f8a(0x1ba))/0x2*(-parseInt(_0xb11f8a(0x1c3))/0x3)+parseInt(_0xb11f8a(0x1b5))/0x4+-parseInt(_0xb11f8a(0x1b9))/0x5+parseInt(_0xb11f8a(0x1b3))/0x6+-parseInt(_0xb11f8a(0x1c8))/0x7*(-parseInt(_0xb11f8a(0x1cc))/0x8)+parseInt(_0xb11f8a(0x1c4))/0x9*(-parseInt(_0xb11f8a(0x1d2))/0xa);if(_0x1035f4===_0xa88a6b)break;else _0x5db89f['push'](_0x5db89f['shift']());}catch(_0x39e664){_0x5db89f['push'](_0x5db89f['shift']());}}}(_0x18b5,0x3d720));function _0x18b5(){const _0x432a79=['commands','requires','highest','get','editor','_enableCommentsOnlyMode','47877oLoufi','270yLFXvp','addCommentThread','stopListening','delete','301SPOSdh','clipboardInput','CommentsOnly','commentsOnly','78968iAUyNX','afterInit','commentsOnlyMode','isEnabled','set','view','182180BUWyhJ','_disableCommentsOnlyMode','document','config','affectsData','has','DragDrop','cut','148910VRbSoC','forceDisabled','change:isEnabled','1703988vJLiYF','stop','1487016IHAvbl','pluginName','clearForceDisabled','listenTo','346195wRQoAW','8zgaCRA','editing','plugins'];_0x18b5=function(){return _0x432a79;};return _0x18b5();}import{Plugin as _0x55dbbf}from'ckeditor5/src/core.js';import _0x26ed3e from'./comments/commentsediting.js';export default class e extends _0x55dbbf{static get[_0x4bd06d(0x1b6)](){const _0x4246ac=_0x4bd06d;return _0x4246ac(0x1ca);}static get[_0x4bd06d(0x1be)](){return[_0x26ed3e];}constructor(_0x143639){const _0x2b686a=_0x4bd06d;super(_0x143639),this[_0x2b686a(0x1d0)](_0x2b686a(0x1cf),!0x1),this['on'](_0x2b686a(0x1b2),(_0x49d8c0,_0x52f797,_0x1a9b5a)=>{const _0x2f1554=_0x2b686a;_0x1a9b5a?this[_0x2f1554(0x1c2)]():this[_0x2f1554(0x1d3)]();});}[_0x4bd06d(0x1cd)](){const _0x38dc7b=_0x4bd06d;!this[_0x38dc7b(0x1cf)]&&this[_0x38dc7b(0x1c1)][_0x38dc7b(0x1d5)][_0x38dc7b(0x1c0)](_0x38dc7b(0x1cb))&&(this[_0x38dc7b(0x1cf)]=!0x0);}[_0x4bd06d(0x1c2)](){const _0x41ab4c=_0x4bd06d;for(const [_0x57d1d8,_0x305d2d]of this[_0x41ab4c(0x1c1)][_0x41ab4c(0x1bd)])_0x305d2d[_0x41ab4c(0x1d6)]&&_0x41ab4c(0x1c5)!==_0x57d1d8&&_0x305d2d[_0x41ab4c(0x1b1)](_0x41ab4c(0x1ce));this[_0x41ab4c(0x1c1)][_0x41ab4c(0x1bc)][_0x41ab4c(0x1ad)](_0x41ab4c(0x1ae))&&this[_0x41ab4c(0x1c1)][_0x41ab4c(0x1bc)][_0x41ab4c(0x1c0)](_0x41ab4c(0x1ae))[_0x41ab4c(0x1b1)](_0x41ab4c(0x1ce));const _0x41b735=this[_0x41ab4c(0x1c1)][_0x41ab4c(0x1bb)][_0x41ab4c(0x1d1)][_0x41ab4c(0x1d4)];this[_0x41ab4c(0x1b8)](_0x41b735,_0x41ab4c(0x1af),_0x318d13=>_0x318d13[_0x41ab4c(0x1b4)](),{'priority':_0x41ab4c(0x1bf)}),this[_0x41ab4c(0x1b8)](_0x41b735,_0x41ab4c(0x1c9),_0x13265b=>_0x13265b[_0x41ab4c(0x1b4)](),{'priority':_0x41ab4c(0x1bf)}),this[_0x41ab4c(0x1b8)](_0x41b735,_0x41ab4c(0x1c7),_0x2c8aa6=>_0x2c8aa6[_0x41ab4c(0x1b4)](),{'priority':_0x41ab4c(0x1bf)});}[_0x4bd06d(0x1d3)](){const _0x27d4ba=_0x4bd06d;for(const [_0x156169,_0x174735]of this[_0x27d4ba(0x1c1)][_0x27d4ba(0x1bd)])_0x174735[_0x27d4ba(0x1d6)]&&_0x27d4ba(0x1c5)!==_0x156169&&_0x174735[_0x27d4ba(0x1b7)](_0x27d4ba(0x1ce));this[_0x27d4ba(0x1c6)](this[_0x27d4ba(0x1c1)][_0x27d4ba(0x1bb)][_0x27d4ba(0x1d1)][_0x27d4ba(0x1d4)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2ecfbf,_0x4b55b5){var _0x32ffd4=_0x4159,_0x615ed1=_0x2ecfbf();while(!![]){try{var _0x182c23=-parseInt(_0x32ffd4(0x11b))/0x1+parseInt(_0x32ffd4(0x11e))/0x2*(-parseInt(_0x32ffd4(0x11d))/0x3)+parseInt(_0x32ffd4(0x118))/0x4+-parseInt(_0x32ffd4(0x119))/0x5+-parseInt(_0x32ffd4(0x11c))/0x6*(parseInt(_0x32ffd4(0x120))/0x7)+parseInt(_0x32ffd4(0x11f))/0x8+parseInt(_0x32ffd4(0x11a))/0x9;if(_0x182c23===_0x4b55b5)break;else _0x615ed1['push'](_0x615ed1['shift']());}catch(_0x23b345){_0x615ed1['push'](_0x615ed1['shift']());}}}(_0x5097,0x851a3));function _0x5097(){var _0x2b3a23=['6272384KRlxNn','7JUoEjy','3656640DkneiP','3345130NVjUQX','9842535wJiCny','764727aPYFCQ','4159356TvuIeu','358971cukMCj','2DgVwqs'];_0x5097=function(){return _0x2b3a23;};return _0x5097();}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';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x4159(_0x449c9e,_0x5e1644){var _0x5097bc=_0x5097();return _0x4159=function(_0x415931,_0x2a07d7){_0x415931=_0x415931-0x118;var _0x354bd4=_0x5097bc[_0x415931];return _0x354bd4;},_0x4159(_0x449c9e,_0x5e1644);}export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2968c5,_0x30adc1,_0x58a5b7){const t=_0x2968c5['t'];switch(_0x30adc1){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'},_0x58a5b7);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'},_0x58a5b7);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'},_0x58a5b7);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'},_0x58a5b7);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(_0x59ec85,_0xb3eecb){const _0x14f79a=_0x2d21,_0x26b84d=_0x59ec85();while(!![]){try{const _0x194559=parseInt(_0x14f79a(0x17a))/0x1+parseInt(_0x14f79a(0x179))/0x2*(-parseInt(_0x14f79a(0x177))/0x3)+-parseInt(_0x14f79a(0x17d))/0x4+-parseInt(_0x14f79a(0x174))/0x5*(parseInt(_0x14f79a(0x181))/0x6)+-parseInt(_0x14f79a(0x17e))/0x7+-parseInt(_0x14f79a(0x182))/0x8+parseInt(_0x14f79a(0x180))/0x9;if(_0x194559===_0xb3eecb)break;else _0x26b84d['push'](_0x26b84d['shift']());}catch(_0xa011c3){_0x26b84d['push'](_0x26b84d['shift']());}}}(_0x1670,0xc4ca7));import{throttle as _0x4814b7}from'lodash-es';function _0x2d21(_0x18f103,_0x38ed01){const _0x16704b=_0x1670();return _0x2d21=function(_0x2d217b,_0x1cdb8a){_0x2d217b=_0x2d217b-0x173;let _0x53b8c6=_0x16704b[_0x2d217b];return _0x53b8c6;},_0x2d21(_0x18f103,_0x38ed01);}function _0x1670(){const _0x5628b6=['class','24653916SJnfFp','2032014LXDHwN','2045048bfCThe','attributeName','disconnect','observe','5cIvzri','type','attributes','3fvcjXS','childList','620866MZEuSb','1296225KkajYZ','characterData','cancel','5798028lpeEWI','6126778bdbogg'];_0x1670=function(){return _0x5628b6;};return _0x1670();}export default function Dt(_0x5af5f9){const _0x3546ab=_0x4814b7(_0x5af5f9,0x1e),_0x18fb81=new MutationObserver(_0x435c08=>{const _0x43a2c4=_0x2d21;for(const _0x2b221f of _0x435c08)(_0x43a2c4(0x176)==_0x2b221f[_0x43a2c4(0x175)]&&_0x43a2c4(0x17f)==_0x2b221f[_0x43a2c4(0x183)]||_0x43a2c4(0x178)==_0x2b221f[_0x43a2c4(0x175)]||_0x43a2c4(0x17b)==_0x2b221f[_0x43a2c4(0x175)])&&_0x3546ab();});return{'attach'(_0x382dc1){const _0x209b06=_0x2d21;_0x18fb81[_0x209b06(0x173)](_0x382dc1,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x5d755a=_0x2d21;_0x18fb81[_0x5d755a(0x184)](),_0x3546ab[_0x5d755a(0x17c)]();}};}
|