@ckeditor/ckeditor5-comments 47.2.0-alpha.7 → 47.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/package.json +18 -18
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/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/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x599efe=_0x328c;(function(_0x376911,_0x1ce355){const _0x5659be=_0x328c,_0x4b4705=_0x376911();while(!![]){try{const _0xadc5d4=parseInt(_0x5659be(0x1ed))/0x1+parseInt(_0x5659be(0x1df))/0x2+-parseInt(_0x5659be(0x1f9))/0x3+-parseInt(_0x5659be(0x1d5))/0x4+parseInt(_0x5659be(0x1cb))/0x5+-parseInt(_0x5659be(0x1c8))/0x6*(-parseInt(_0x5659be(0x218))/0x7)+parseInt(_0x5659be(0x1d8))/0x8*(parseInt(_0x5659be(0x1f8))/0x9);if(_0xadc5d4===_0x1ce355)break;else _0x4b4705['push'](_0x4b4705['shift']());}catch(_0x651ea9){_0x4b4705['push'](_0x4b4705['shift']());}}}(_0x5a18,0xc0bd3));import{View as _0x5a2d5f,FocusCycler as _0x3daeeb,ButtonView as _0x422e9d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4a3bc5,KeystrokeHandler as _0x49df0c}from'ckeditor5/src/utils.js';import{CommentEditor as _0x563a22}from'../commenteditor/commenteditor.js';function _0x5a18(){const _0x45411b=['_editorCreationPromise','setData','document','focusLast','editorDestroyed','cancelButtonView','createEditor','bindTemplate','3882112WrvVlf','shift+tab','submit','190672lzbfzn','Ctrl+Enter','added','trim','Reply','insertBefore','stop','1801368cHkrhi','createCollection','element','focusFirst','destroy','ck-comment__input-actions--active','submitButtonView','Reply...','focus','submitLabel','change','listenTo','reverse','length','12771kepjDz','model','isEnabled','withText','execute','forEach','value','placeholder','set','_editorConfig','_createSubmitButton','99HhFDgw','3986745NHkydV','editorReady','ck-comment__input-actions--submit','cancel','firstChild','label','create','keystrokes','setTemplate','_setupKeyboardNavigation','bind','high','tab','ck-comment__input-actions','div','focusTracker','Esc','disabledSubmit','from','showButtons','Cancel','fire','then','ck-comment__input-wrapper','TOO_LONG_COMMENT_ALERT','editor','add','_isDestroyed','getData','focusCycler','_createCancelButton','29232HFNDmu','extendTemplate','focusables','render','654KisVut','ck-comment__input-actions--cancel','view','7290445zanvFU','initialData'];_0x5a18=function(){return _0x45411b;};return _0x5a18();}function _0x328c(_0x2dfa4a,_0x39d0df){const _0x5a180c=_0x5a18();return _0x328c=function(_0x328c76,_0x16adb5){_0x328c76=_0x328c76-0x1c6;let _0x26bfb9=_0x5a180c[_0x328c76];return _0x26bfb9;},_0x328c(_0x2dfa4a,_0x39d0df);}import{getTranslation as _0x1a86d0}from'../../../utils/common-translations.js';export class CommentInputView extends _0x5a2d5f{[_0x599efe(0x200)];[_0x599efe(0x208)];[_0x599efe(0x1c6)];[_0x599efe(0x216)];[_0x599efe(0x1e5)];[_0x599efe(0x1d2)];[_0x599efe(0x1f6)];constructor(_0x7c4336,_0x5e9379={}){const _0x32e412=_0x599efe;super(_0x7c4336),this[_0x32e412(0x212)]=null,this[_0x32e412(0x1f6)]=_0x5e9379,this[_0x32e412(0x1f5)](_0x32e412(0x1f3),_0x5e9379[_0x32e412(0x1cc)]||''),this[_0x32e412(0x1f5)](_0x32e412(0x20a),!0x1),this[_0x32e412(0x1f5)](_0x32e412(0x20c),!0x0),this[_0x32e412(0x1f5)](_0x32e412(0x1f4),_0x1a86d0(_0x7c4336,_0x32e412(0x1e6))),this[_0x32e412(0x1f5)](_0x32e412(0x1e8),_0x1a86d0(_0x7c4336,_0x32e412(0x1dc))),this[_0x32e412(0x1e5)]=this[_0x32e412(0x1f7)](),this[_0x32e412(0x1d2)]=this[_0x32e412(0x217)](),this[_0x32e412(0x1c6)]=this[_0x32e412(0x1e0)]([this[_0x32e412(0x1e5)],this[_0x32e412(0x1d2)]]),this[_0x32e412(0x200)]=new _0x49df0c(),this[_0x32e412(0x208)]=new _0x4a3bc5(),this[_0x32e412(0x216)]=new _0x3daeeb({'focusables':this[_0x32e412(0x1c6)],'focusTracker':this[_0x32e412(0x208)],'keystrokeHandler':this[_0x32e412(0x200)],'actions':{'focusPrevious':_0x32e412(0x1d6),'focusNext':_0x32e412(0x205)}}),this[_0x32e412(0x201)]({'tag':_0x32e412(0x207),'attributes':{'class':[_0x32e412(0x210)]},'children':[{'tag':_0x32e412(0x207),'attributes':{'class':[_0x32e412(0x206),this[_0x32e412(0x1d4)]['if'](_0x32e412(0x20c),_0x32e412(0x1e4))]},'children':[this[_0x32e412(0x1e5)],this[_0x32e412(0x1d2)]]}]}),this[_0x32e412(0x200)][_0x32e412(0x1f5)](_0x32e412(0x209),(_0x147ec8,_0x434cbd)=>{const _0x4304fe=_0x32e412;this[_0x4304fe(0x1d2)][_0x4304fe(0x20e)](_0x4304fe(0x1f1)),_0x434cbd();}),this[_0x32e412(0x200)][_0x32e412(0x1f5)](_0x32e412(0x1d9),(_0x4573c3,_0x9f5381)=>{const _0x3e2494=_0x32e412;this[_0x3e2494(0x1e5)][_0x3e2494(0x1ef)]&&(this[_0x3e2494(0x1e5)][_0x3e2494(0x20e)](_0x3e2494(0x1f1)),_0x9f5381());}),this['on'](_0x32e412(0x1d7),(_0x30439d,_0xdb59f9)=>{const _0x44043d=_0x32e412;_0xdb59f9[_0x44043d(0x1ec)]>0xfde8?(alert(_0x1a86d0(_0x7c4336,_0x44043d(0x211),[_0xdb59f9[_0x44043d(0x1ec)],0xfde8])),_0x30439d[_0x44043d(0x1de)]()):this[_0x44043d(0x212)][_0x44043d(0x1ce)]('');},{'priority':_0x32e412(0x204)});}[_0x599efe(0x1c7)](){const _0x112e6c=_0x599efe;super[_0x112e6c(0x1c7)](),this[_0x112e6c(0x202)]();}[_0x599efe(0x1d3)](){const _0x4716d5=_0x599efe;return this[_0x4716d5(0x212)]||(this[_0x4716d5(0x212)]=new _0x563a22(this[_0x4716d5(0x1f6)]),this[_0x4716d5(0x1cd)]=this[_0x4716d5(0x212)][_0x4716d5(0x1ff)]()[_0x4716d5(0x20f)](()=>{const _0x6a8537=_0x4716d5;if(this[_0x6a8537(0x214)])return;const _0xcc67f8=this[_0x6a8537(0x212)];this[_0x6a8537(0x1e1)][_0x6a8537(0x1dd)](_0xcc67f8['ui'][_0x6a8537(0x1e1)],this[_0x6a8537(0x1e1)][_0x6a8537(0x1fd)]),_0xcc67f8[_0x6a8537(0x1ee)][_0x6a8537(0x1cf)]['on'](_0x6a8537(0x1e9),()=>this[_0x6a8537(0x1f3)]=_0xcc67f8[_0x6a8537(0x215)]()),_0xcc67f8[_0x6a8537(0x203)](_0x6a8537(0x1f4))['to'](this),this[_0x6a8537(0x1c6)][_0x6a8537(0x213)](_0xcc67f8['ui'][_0x6a8537(0x1ca)],0x0),this[_0x6a8537(0x20e)](_0x6a8537(0x1fa),this[_0x6a8537(0x212)]);})),this[_0x4716d5(0x1cd)];}[_0x599efe(0x1e7)](_0x273cfb){const _0x2dfc7c=_0x599efe;-0x1===_0x273cfb?(this[_0x2dfc7c(0x216)][_0x2dfc7c(0x1e2)](),this[_0x2dfc7c(0x216)][_0x2dfc7c(0x1d0)]()):this[_0x2dfc7c(0x216)][_0x2dfc7c(0x1e2)]();}async[_0x599efe(0x1e3)](){const _0x4f224a=_0x599efe;this[_0x4f224a(0x214)]||(this[_0x4f224a(0x214)]=!0x0,this[_0x4f224a(0x212)]&&(await this[_0x4f224a(0x1cd)],await this[_0x4f224a(0x212)][_0x4f224a(0x1e3)](),this[_0x4f224a(0x20e)](_0x4f224a(0x1d1),this[_0x4f224a(0x212)])),await super[_0x4f224a(0x1e3)]());}[_0x599efe(0x1f7)](){const _0x152b20=_0x599efe,{locale:_0x5806e5}=this,_0x48c895=new _0x422e9d(_0x5806e5);return _0x48c895[_0x152b20(0x219)]({'attributes':{'class':[_0x152b20(0x1fb)]}}),_0x48c895[_0x152b20(0x1f0)]=!0x0,_0x48c895[_0x152b20(0x203)](_0x152b20(0x1fe))['to'](this,_0x152b20(0x1e8)),_0x48c895['on'](_0x152b20(0x1f1),()=>{const _0x47d57e=_0x152b20;this[_0x47d57e(0x20e)](_0x47d57e(0x1d7),this[_0x47d57e(0x1f3)]);}),_0x48c895[_0x152b20(0x203)](_0x152b20(0x1ef))['to'](this,_0x152b20(0x1f3),this,_0x152b20(0x20a),(_0x5e0751,_0x1bccd8)=>!_0x1bccd8&&!!_0x5e0751[_0x152b20(0x1db)]()),_0x48c895;}[_0x599efe(0x217)](){const _0x250648=_0x599efe,{locale:_0x3890c6}=this,_0x46e7f4=new _0x422e9d(_0x3890c6);return _0x46e7f4[_0x250648(0x219)]({'attributes':{'class':[_0x250648(0x1c9)]}}),_0x46e7f4[_0x250648(0x1fe)]=_0x1a86d0(_0x3890c6,_0x250648(0x20d)),_0x46e7f4[_0x250648(0x1f0)]=!0x0,_0x46e7f4['on'](_0x250648(0x1f1),()=>{const _0x50cddf=_0x250648;this[_0x50cddf(0x212)][_0x50cddf(0x1ce)](''),this[_0x50cddf(0x20e)](_0x50cddf(0x1fc));}),_0x46e7f4;}[_0x599efe(0x202)](){const _0x387b91=_0x599efe;this[_0x387b91(0x200)][_0x387b91(0x1ea)](this[_0x387b91(0x1e1)]),this[_0x387b91(0x1c6)][_0x387b91(0x1f2)](_0x371ff2=>{const _0x3d3d95=_0x387b91;this[_0x3d3d95(0x208)][_0x3d3d95(0x213)](_0x371ff2[_0x3d3d95(0x1e1)]);}),this[_0x387b91(0x1c6)]['on'](_0x387b91(0x1e9),(_0x60fae7,_0xa67284)=>{const _0x256e93=_0x387b91;for(const _0x169679 of Array[_0x256e93(0x20b)](_0xa67284[_0x256e93(0x1da)])[_0x256e93(0x1eb)]())this[_0x256e93(0x208)][_0x256e93(0x213)](_0x169679[_0x256e93(0x1e1)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9ad116=_0x55b0;(function(_0x125725,_0x814843){const _0x1aca96=_0x55b0,_0x55c2a4=_0x125725();while(!![]){try{const _0x538fc2=parseInt(_0x1aca96(0x191))/0x1+-parseInt(_0x1aca96(0x185))/0x2+-parseInt(_0x1aca96(0x19c))/0x3*(parseInt(_0x1aca96(0x176))/0x4)+-parseInt(_0x1aca96(0x16a))/0x5+parseInt(_0x1aca96(0x15e))/0x6*(parseInt(_0x1aca96(0x17f))/0x7)+parseInt(_0x1aca96(0x168))/0x8+-parseInt(_0x1aca96(0x164))/0x9*(-parseInt(_0x1aca96(0x169))/0xa);if(_0x538fc2===_0x814843)break;else _0x55c2a4['push'](_0x55c2a4['shift']());}catch(_0x256014){_0x55c2a4['push'](_0x55c2a4['shift']());}}}(_0x448b,0xd839c));import{View as _0x49a73c,ButtonView as _0x206bdf,FocusCycler as _0x1ec0d6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x265295,KeystrokeHandler as _0x475c11}from'ckeditor5/src/utils.js';function _0x55b0(_0x34a3de,_0x4c7e02){const _0x448be4=_0x448b();return _0x55b0=function(_0x55b0f8,_0xc0436b){_0x55b0f8=_0x55b0f8-0x15d;let _0x41ec22=_0x448be4[_0x55b0f8];return _0x41ec22;},_0x55b0(_0x34a3de,_0x4c7e02);}import{IconUndo as _0x406f5e}from'ckeditor5/src/icons.js';function _0x448b(){const _0x5b5a2c=['contextValue','length','bindTemplate','mouseleave','hasContext','594369YaYBjD','execute','label','isReadOnly','8872672oYLEQL','90NxGLZl','3688945HgQMFV','keystrokes','focus','.ck-context__value','element','scrollWidth','createCollection','isEnabled','bind','ck-annotation__actions','focusCycler','mouseenter','776RhwBlp','ck-thread__header','locale','classList','context','isResolved','ck-context-wrapper','_createContextView','offsetWidth','7MdDwPd','.ck-context','value','...','setTemplate','_model','2567858LlnfsS','shift+tab','ck-context--quotes','_attachContextActions','substring','querySelector','focusFirst','Reopen','_createReopenButton','div','overlay','reopenButtonView','1398648FXrrCB','contextView','tab','tooltip','fire','focusables','Comment\x20was\x20made\x20on\x20an\x20element','_setupKeyboardNavigation','isVisible','reopenCommentThread','isResolvable','26160lgtGuY','add','_trimContextValue','listenTo','remove','icon','lastIndexOf','focusTracker','render','ck-context','8981742yDRxXa'];_0x448b=function(){return _0x5b5a2c;};return _0x448b();}import{getTranslation as _0x3ba2e2}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x325101}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x49a73c{[_0x9ad116(0x184)];[_0x9ad116(0x190)];[_0x9ad116(0x192)];[_0x9ad116(0x196)];[_0x9ad116(0x1a3)];[_0x9ad116(0x16b)];[_0x9ad116(0x174)];constructor(_0x161167,_0xb98815){const _0x2481cf=_0x9ad116;super(_0x161167);const _0x11ed78=this[_0x2481cf(0x161)];this[_0x2481cf(0x184)]=_0xb98815,this[_0x2481cf(0x190)]=this[_0x2481cf(0x18d)](),this[_0x2481cf(0x192)]=this[_0x2481cf(0x17d)](),this[_0x2481cf(0x196)]=this[_0x2481cf(0x170)]([this[_0x2481cf(0x192)],this[_0x2481cf(0x190)]]),this[_0x2481cf(0x1a3)]=new _0x265295(),this[_0x2481cf(0x16b)]=new _0x475c11(),this[_0x2481cf(0x174)]=new _0x1ec0d6({'focusables':this[_0x2481cf(0x196)],'focusTracker':this[_0x2481cf(0x1a3)],'keystrokeHandler':this[_0x2481cf(0x16b)],'actions':{'focusPrevious':_0x2481cf(0x186),'focusNext':_0x2481cf(0x193)}}),this[_0x2481cf(0x172)](_0x2481cf(0x163))['to'](this[_0x2481cf(0x184)],_0x2481cf(0x17a),_0x35fb2b=>!!_0x35fb2b),this[_0x2481cf(0x172)](_0x2481cf(0x15f))['to'](this[_0x2481cf(0x184)],_0x2481cf(0x17a),_0x5b10d7=>_0x5b10d7&&_0x5b10d7[_0x2481cf(0x181)]?this[_0x2481cf(0x19e)](_0x5b10d7[_0x2481cf(0x181)]):_0x3ba2e2(this[_0x2481cf(0x178)],_0x2481cf(0x197))),this[_0x2481cf(0x183)]({'tag':_0x2481cf(0x18e),'attributes':{'class':[_0x2481cf(0x177)]},'children':[{'tag':_0x2481cf(0x18e),'attributes':{'class':[_0x2481cf(0x17c)]},'children':[{'tag':_0x2481cf(0x18e),'attributes':{'class':[_0x2481cf(0x15d),_0x11ed78['if'](_0x2481cf(0x163),_0x2481cf(0x187))]},'children':[this[_0x2481cf(0x192)]]}]},{'tag':_0x2481cf(0x18e),'attributes':{'class':[_0x2481cf(0x173)]},'children':[this[_0x2481cf(0x190)]]}]});}[_0x9ad116(0x1a4)](){const _0x2d6925=_0x9ad116;super[_0x2d6925(0x1a4)](),this[_0x2d6925(0x188)](),this[_0x2d6925(0x198)]();}[_0x9ad116(0x16c)](){const _0x3d5c34=_0x9ad116;this[_0x3d5c34(0x174)][_0x3d5c34(0x18b)]();}[_0x9ad116(0x18d)](){const _0x3b1c6c=_0x9ad116,_0x238130=new _0x206bdf(this[_0x3b1c6c(0x178)]);return _0x238130[_0x3b1c6c(0x166)]=_0x3ba2e2(this[_0x3b1c6c(0x178)],_0x3b1c6c(0x18c)),_0x238130[_0x3b1c6c(0x194)]=_0x3ba2e2(this[_0x3b1c6c(0x178)],_0x3b1c6c(0x18c)),_0x238130[_0x3b1c6c(0x1a1)]=_0x406f5e,_0x238130[_0x3b1c6c(0x172)](_0x3b1c6c(0x171))['to'](this[_0x3b1c6c(0x184)],_0x3b1c6c(0x167),_0x4def8e=>!_0x4def8e),_0x238130[_0x3b1c6c(0x172)](_0x3b1c6c(0x199))['to'](this[_0x3b1c6c(0x184)],_0x3b1c6c(0x19b),this[_0x3b1c6c(0x184)],_0x3b1c6c(0x17b),(_0x3780f9,_0x32f7bb)=>_0x3780f9&&_0x32f7bb),_0x238130['on'](_0x3b1c6c(0x165),()=>{const _0x4c724b=_0x3b1c6c;this[_0x4c724b(0x195)](_0x4c724b(0x19a),this[_0x4c724b(0x184)]['id']);}),_0x238130;}[_0x9ad116(0x19e)](_0x263aa2){const _0x1aa498=_0x9ad116;if(_0x263aa2[_0x1aa498(0x160)]<0x96)return _0x263aa2;const _0x54b39b=_0x263aa2[_0x1aa498(0x1a2)]('\x20',0x93);return _0x263aa2[_0x1aa498(0x189)](0x0,_0x54b39b>-0x1?_0x54b39b:0x93)+_0x1aa498(0x182);}[_0x9ad116(0x188)](){const _0x14e994=_0x9ad116,_0x5cf751=this[_0x14e994(0x16e)][_0x14e994(0x18a)](_0x14e994(0x180)),_0x4c3097=_0x5cf751[_0x14e994(0x18a)](_0x14e994(0x16d));this[_0x14e994(0x19f)](_0x5cf751,_0x14e994(0x175),()=>{const _0x13dd5b=_0x14e994;_0x4c3097[_0x13dd5b(0x17e)]<_0x4c3097[_0x13dd5b(0x16f)]&&_0x5cf751[_0x13dd5b(0x179)][_0x13dd5b(0x19d)](_0x13dd5b(0x18f));}),this[_0x14e994(0x19f)](_0x5cf751,_0x14e994(0x162),()=>{const _0x23ac96=_0x14e994;_0x5cf751[_0x23ac96(0x179)][_0x23ac96(0x1a0)](_0x23ac96(0x18f));});}[_0x9ad116(0x198)](){const _0x3440f0=_0x9ad116;this[_0x3440f0(0x16b)][_0x3440f0(0x19f)](this[_0x3440f0(0x16e)]);for(const _0x48817e of this[_0x3440f0(0x196)])this[_0x3440f0(0x1a3)][_0x3440f0(0x19d)](_0x48817e[_0x3440f0(0x16e)]),this[_0x3440f0(0x16b)][_0x3440f0(0x19f)](_0x48817e[_0x3440f0(0x16e)]);}[_0x9ad116(0x17d)](){const _0x45e6d0=_0x9ad116,_0x402f81=new _0x325101(this[_0x45e6d0(0x178)]);return _0x402f81[_0x45e6d0(0x172)](_0x45e6d0(0x15f))['to'](this),_0x402f81;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x1eb5(){const _0x266579=['isRemovable','_createEditButton','ck-comment--remove','8OxTemF','setTemplate','ck-comment--info','actionBar','bind','35996FOLztk','ck-annotation__info-name','_createCommentInputView','push','editButton','ck-annotation__user','ck-comment--','bindTemplate','remove','placeholder','isReadOnly','ck-annotation__info','ck-annotation__actions','formatDateTime','change:isRemovable','ck-comment__info','getTemplate','removeComment','visibleView','listenTo','ck-annotation__content-wrapper','createCollection','ck-comment','actionIndicator','toMany','buttonView','ck-annotation__actions--hidden','getExternalCommentNote','23224956rIkfOW','time','label','then','_createDropdown','withText','_model','some','group','render','ck-annotation','351472YdYtBr','cancelConfirm','span','ck-hidden','length','isSystemComment','extendTemplate','panelView','authoredAt','10IhDBzc','isEnabled','Reply...','name','388410kwpZAw','icon','_attachActions','ariaDescriptionView','getUserViewNotificationText','ck-comment__wrapper','set','71GmqCNL','dropdown','panelPosition','fire','execute','ck-comment__external','ck-comment--edit','find','3279666uSIssn','28uCvqwK','ck-comment__user','6678297AMovZR','Edit','showConfirm','isExternal','_createRemoveButton','from','isEditable','removeButton','ck-comment__info-time','mouseleave','locale','author','42FIRnMp','ck-comment__info-name','edit','focus','div','items','520865CSaJUS','ck-annotation__main','isVisible','_config','ck-comment__actions','resolvedAt','mouseenter','unbind','element','isEditMode','add','Delete\x20comment?','userView','children','blur','ck-comment__actions--hidden','addMany','switchToEditMode','listitem','ck-comment__main','focusables','Show\x20more\x20items','ariaLabel','Remove','ck-annotation__info-time'];_0x1eb5=function(){return _0x266579;};return _0x1eb5();}function _0x2d5e(_0x34e8e9,_0x5abb13){const _0x1eb5f2=_0x1eb5();return _0x2d5e=function(_0x2d5efb,_0x5370e3){_0x2d5efb=_0x2d5efb-0x8e;let _0x2c2ee5=_0x1eb5f2[_0x2d5efb];return _0x2c2ee5;},_0x2d5e(_0x34e8e9,_0x5abb13);}const _0x197b44=_0x2d5e;(function(_0x4b632d,_0x2f70fb){const _0xcc22ee=_0x2d5e,_0x3267ac=_0x4b632d();while(!![]){try{const _0x24ae41=parseInt(_0xcc22ee(0x100))/0x1*(-parseInt(_0xcc22ee(0xc5))/0x2)+-parseInt(_0xcc22ee(0x8f))/0x3+parseInt(_0xcc22ee(0x90))/0x4*(parseInt(_0xcc22ee(0xa4))/0x5)+parseInt(_0xcc22ee(0xf9))/0x6*(-parseInt(_0xcc22ee(0x9e))/0x7)+-parseInt(_0xcc22ee(0xc0))/0x8*(-parseInt(_0xcc22ee(0x92))/0x9)+-parseInt(_0xcc22ee(0xf5))/0xa*(-parseInt(_0xcc22ee(0xec))/0xb)+parseInt(_0xcc22ee(0xe1))/0xc;if(_0x24ae41===_0x2f70fb)break;else _0x3267ac['push'](_0x3267ac['shift']());}catch(_0x2e962c){_0x3267ac['push'](_0x3267ac['shift']());}}}(_0x1eb5,0xa5ccf));import{IconRemoveComment as _0x309474,IconPencil as _0x1d0694,IconThreeVerticalDots as _0x389bb6}from'ckeditor5/src/icons.js';import{ButtonView as _0x1d0938,createDropdown as _0xbe49df,ListView as _0x5c9def,ListItemView as _0x58b657,focusChildOnDropdownOpen as _0x1651e7}from'ckeditor5/src/ui.js';import{UserView as _0x19f2d8,ConfirmMixin as _0x8bea3c,LateFocusDropdownButtonView as _0x1aeb13}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x4a1f28}from'./basecommentview.js';import{getTranslation as _0x4e5f4e}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x8bea3c(_0x4a1f28){[_0x197b44(0xc3)];[_0x197b44(0xb0)];constructor(_0x42d782,_0x258cbf,_0x22f6de){const _0x483fff=_0x197b44;super(_0x42d782,_0x258cbf,_0x22f6de),this[_0x483fff(0xff)](_0x483fff(0xdc),null),this[_0x483fff(0xff)](_0x483fff(0xce),_0x4e5f4e(_0x42d782,_0x483fff(0xf7))),this[_0x483fff(0xc4)](_0x483fff(0xf4))['to'](_0x258cbf),this[_0x483fff(0xc4)](_0x483fff(0xa9))['to'](_0x258cbf),this[_0x483fff(0xc3)]=this[_0x483fff(0xda)](),this[_0x483fff(0xf1)]||(this[_0x483fff(0xc9)]=this[_0x483fff(0xbe)](),this[_0x483fff(0x99)]=this[_0x483fff(0x96)](),this[_0x483fff(0xa3)]=this[_0x483fff(0xda)](),this[_0x483fff(0xa3)][_0x483fff(0xb4)]([this[_0x483fff(0xc9)],this[_0x483fff(0x99)]]),this[_0x483fff(0x101)]=this[_0x483fff(0xe5)](),this[_0x483fff(0xc3)][_0x483fff(0xae)](this[_0x483fff(0x101)]),this[_0x483fff(0xb8)][_0x483fff(0xae)](this[_0x483fff(0x101)])),this[_0x483fff(0xb0)]=new _0x19f2d8(_0x42d782,_0x258cbf[_0x483fff(0x9d)],this[_0x483fff(0xfd)]()),this[_0x483fff(0xb0)][_0x483fff(0xf2)]({'attributes':{'class':[_0x483fff(0x91),_0x483fff(0xca)],'aria-hidden':!0x0}}),this[_0x483fff(0xd8)](_0x258cbf,_0x483fff(0xd3),()=>this[_0x483fff(0xed)]()),this[_0x483fff(0xc1)](this[_0x483fff(0xd5)]());}[_0x197b44(0xd5)](){const _0x51ef68=_0x197b44,_0x34cb4a=this[_0x51ef68(0xcc)],_0x247f1b=[{'tag':_0x51ef68(0xa2),'attributes':{'class':[_0x51ef68(0xd4),_0x51ef68(0xd0)]},'children':[{'tag':_0x51ef68(0xee),'children':[{'text':this[_0x51ef68(0xb0)][_0x51ef68(0xf8)]}],'attributes':{'class':[_0x51ef68(0x9f),_0x51ef68(0xc6)],'data-cke-tooltip-text':this[_0x51ef68(0xb0)][_0x51ef68(0xf8)]}},{'tag':_0x51ef68(0xe2),'attributes':{'datetime':_0x34cb4a['to'](_0x51ef68(0xf4)),'class':[_0x51ef68(0x9a),_0x51ef68(0xbc)]},'children':[{'text':_0x34cb4a['to'](_0x51ef68(0xf4),_0x38268b=>this[_0x51ef68(0xa7)][_0x51ef68(0xd2)](_0x38268b))}]}]},{'tag':_0x51ef68(0xa2),'attributes':{'class':[_0x51ef68(0xa8),_0x51ef68(0xd1),_0x34cb4a['if'](_0x51ef68(0xad),_0x51ef68(0xb3)),_0x34cb4a['if'](_0x51ef68(0xad),_0x51ef68(0xdf))]},'children':this[_0x51ef68(0xc3)]},{'tag':_0x51ef68(0xa2),'attributes':{'class':[_0x51ef68(0xd9)]},'children':this[_0x51ef68(0xd7)]},this[_0x51ef68(0xfc)]];return this[_0x51ef68(0xe7)][_0x51ef68(0x95)]&&_0x247f1b[_0x51ef68(0xc8)]({'tag':_0x51ef68(0xa2),'attributes':{'class':[_0x51ef68(0x105)]},'children':[{'text':this[_0x51ef68(0xe0)]()}]}),{'tag':'li','attributes':{'class':[_0x51ef68(0xfe)],'tabindex':-0x1,'aria-label':_0x34cb4a['to'](_0x51ef68(0xba)),'aria-describedby':this[_0x51ef68(0xfc)]['id'],'role':_0x51ef68(0xb6)},'children':[{'tag':_0x51ef68(0xa2),'attributes':{'class':[_0x51ef68(0xdb),_0x51ef68(0xeb),_0x34cb4a['if'](_0x51ef68(0xad),_0x51ef68(0x106)),_0x34cb4a['if'](_0x51ef68(0xf1),_0x51ef68(0xc2)),_0x34cb4a['to'](_0x51ef68(0xdc),_0x13269a=>_0x13269a?_0x51ef68(0xcb)+_0x13269a:'')],'data-author-id':this[_0x51ef68(0xe7)][_0x51ef68(0x9d)]['id'],'data-comment-id':this[_0x51ef68(0xe7)]['id'],'role':_0x51ef68(0xe9)},'children':[this[_0x51ef68(0xb0)],{'tag':_0x51ef68(0xa2),'attributes':{'class':[_0x51ef68(0xb7),_0x51ef68(0xa5)]},'children':_0x247f1b}]}]};}[_0x197b44(0xbe)](){const _0x24592d=_0x197b44,_0x1e283b=new _0x1d0938(this[_0x24592d(0x9c)]);return _0x1e283b[_0x24592d(0xe3)]=_0x4e5f4e(this[_0x24592d(0x9c)],_0x24592d(0x93)),_0x1e283b[_0x24592d(0xfa)]=_0x1d0694,_0x1e283b[_0x24592d(0xe6)]=!0x0,_0x1e283b[_0x24592d(0xf2)]({'attributes':{'class':_0x24592d(0x106)}}),_0x1e283b[_0x24592d(0xc4)](_0x24592d(0xf6))['to'](this[_0x24592d(0xe7)],_0x24592d(0xcf),_0x14a4da=>!_0x14a4da),_0x1e283b[_0x24592d(0xc4)](_0x24592d(0xa6))['to'](this[_0x24592d(0xe7)],_0x24592d(0x98)),_0x1e283b['on'](_0x24592d(0x104),()=>this[_0x24592d(0xb5)]()),_0x1e283b;}[_0x197b44(0x96)](){const _0x23f565=_0x197b44,_0x457127=new _0x1d0938(this[_0x23f565(0x9c)]);return _0x457127[_0x23f565(0xe3)]=_0x4e5f4e(this[_0x23f565(0x9c)],_0x23f565(0xbb)),_0x457127[_0x23f565(0xfa)]=_0x309474,_0x457127[_0x23f565(0xe6)]=!0x0,_0x457127[_0x23f565(0xf2)]({'attributes':{'class':_0x23f565(0xbf)}}),_0x457127[_0x23f565(0xc4)](_0x23f565(0xf6))['to'](this[_0x23f565(0xe7)],_0x23f565(0xcf),_0x44c156=>!_0x44c156),_0x457127[_0x23f565(0xc4)](_0x23f565(0xa6))['to'](this[_0x23f565(0xe7)],_0x23f565(0xbd)),_0x457127['on'](_0x23f565(0x104),()=>{const _0xe43838=_0x23f565;this[_0xe43838(0x94)](_0x4e5f4e(this[_0xe43838(0x9c)],_0xe43838(0xaf)),this[_0xe43838(0xac)])[_0xe43838(0xe4)](()=>{const _0x1b3c42=_0xe43838;this[_0x1b3c42(0x103)](_0x1b3c42(0xd6),this[_0x1b3c42(0xe7)]['id']);});}),_0x457127;}[_0x197b44(0xe5)](){const _0x3a3a37=_0x197b44,_0x2779bf=_0xbe49df(this[_0x3a3a37(0x9c)],_0x1aeb13),_0x205481=_0x2779bf[_0x3a3a37(0xf3)][_0x3a3a37(0xb1)],_0x5a1254=new _0x5c9def(this[_0x3a3a37(0x9c)]),_0x519da3=_0x2779bf[_0x3a3a37(0xcc)];_0x1651e7(_0x2779bf,()=>this[_0x3a3a37(0xa3)][_0x3a3a37(0x8e)](_0xd06ef6=>_0xd06ef6[_0x3a3a37(0xa6)])),_0x2779bf[_0x3a3a37(0xf2)]({'attributes':{'class':[_0x519da3['if'](_0x3a3a37(0xa6),_0x3a3a37(0xef),_0x3cb11a=>!_0x3cb11a)]}});const _0x2a7085=(_0x3604b1,_0x1a74de=-0x1)=>{const _0x3b1ae6=_0x3a3a37,_0x2bd86e=new _0x58b657(this[_0x3b1ae6(0x9c)]);_0x2bd86e[_0x3b1ae6(0xb1)][_0x3b1ae6(0xae)](_0x3604b1);const _0x201ab3=_0x1a74de>-0x1?_0x1a74de:_0x5a1254[_0x3b1ae6(0xa3)][_0x3b1ae6(0xf0)];_0x5a1254[_0x3b1ae6(0xa3)][_0x3b1ae6(0xae)](_0x2bd86e,_0x201ab3);const _0x4329dc=Array[_0x3b1ae6(0x97)](this[_0x3b1ae6(0xa3)]);_0x2779bf[_0x3b1ae6(0xab)](_0x3b1ae6(0xf6),_0x3b1ae6(0xa6)),_0x2779bf[_0x3b1ae6(0xc4)](_0x3b1ae6(0xf6))[_0x3b1ae6(0xdd)](_0x4329dc,_0x3b1ae6(0xf6),(..._0x2522b5)=>_0x2522b5[_0x3b1ae6(0xe8)](_0x4f1014=>_0x4f1014)),_0x2779bf[_0x3b1ae6(0xc4)](_0x3b1ae6(0xa6))[_0x3b1ae6(0xdd)](_0x4329dc,_0x3b1ae6(0xa6),(..._0x28192c)=>_0x28192c[_0x3b1ae6(0xe8)](_0x5c9a51=>_0x5c9a51));};_0x2779bf[_0x3a3a37(0x102)]='sw',_0x2779bf[_0x3a3a37(0xde)][_0x3a3a37(0xff)]({'label':_0x4e5f4e(this[_0x3a3a37(0x9c)],_0x3a3a37(0xb9)),'icon':_0x389bb6});for(const _0x16dacf of this[_0x3a3a37(0xa3)])_0x2a7085(_0x16dacf);return _0x205481[_0x3a3a37(0xae)](_0x5a1254),_0x2779bf[_0x3a3a37(0xd8)](this[_0x3a3a37(0xa3)],_0x3a3a37(0xae),(_0x432904,_0x4b72fe,_0x4467ee)=>{_0x2a7085(_0x4b72fe,_0x4467ee);}),_0x2779bf[_0x3a3a37(0xd8)](this[_0x3a3a37(0xa3)],_0x3a3a37(0xcd),(_0x35d3b6,_0x332a84,_0x75e087)=>{const _0x125ae4=_0x3a3a37;_0x5a1254[_0x125ae4(0xa3)][_0x125ae4(0xcd)](_0x75e087);}),_0x2779bf;}[_0x197b44(0xfb)](_0x42ee37,_0x50a765){const _0x51f2cd=_0x197b44,_0x5aa531=_0x42ee37&&_0x42ee37[_0x51f2cd(0xac)];_0x5aa531&&(this[_0x51f2cd(0xd8)](_0x5aa531,_0x51f2cd(0xaa),()=>this[_0x51f2cd(0xdc)]=_0x50a765),this[_0x51f2cd(0xd8)](_0x5aa531,_0x51f2cd(0xa1),()=>this[_0x51f2cd(0xdc)]=_0x50a765),this[_0x51f2cd(0xd8)](_0x5aa531,_0x51f2cd(0x9b),()=>this[_0x51f2cd(0xdc)]=null),this[_0x51f2cd(0xd8)](_0x5aa531,_0x51f2cd(0xb2),()=>this[_0x51f2cd(0xdc)]=null));}[_0x197b44(0xc7)](){const _0xdac0e0=_0x197b44,_0x457af2=super[_0xdac0e0(0xc7)]();return _0x457af2[_0xdac0e0(0xc4)](_0xdac0e0(0xce))['to'](this),_0x457af2;}[_0x197b44(0xea)](){const _0x3d50df=_0x197b44;super[_0x3d50df(0xea)](),this[_0x3d50df(0xfb)](this[_0x3d50df(0xc9)],_0x3d50df(0xa0)),this[_0x3d50df(0xfb)](this[_0x3d50df(0x99)],_0x3d50df(0xcd));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x542477,_0x35df4b){const _0x2a6686=_0x244e,_0x1d7980=_0x542477();while(!![]){try{const _0x22ab43=-parseInt(_0x2a6686(0x7b))/0x1+-parseInt(_0x2a6686(0x76))/0x2+-parseInt(_0x2a6686(0x7c))/0x3+-parseInt(_0x2a6686(0x7a))/0x4+parseInt(_0x2a6686(0x80))/0x5+-parseInt(_0x2a6686(0x79))/0x6+parseInt(_0x2a6686(0x7f))/0x7*(parseInt(_0x2a6686(0x7e))/0x8);if(_0x22ab43===_0x35df4b)break;else _0x1d7980['push'](_0x1d7980['shift']());}catch(_0x5dea40){_0x1d7980['push'](_0x1d7980['shift']());}}}(_0x1a9d,0x49270));import{throttle as _0x5bc2ca}from'es-toolkit/compat';function _0x244e(_0x414af7,_0x2ba668){const _0x1a9db5=_0x1a9d();return _0x244e=function(_0x244ebb,_0x499545){_0x244ebb=_0x244ebb-0x76;let _0x2f4ef4=_0x1a9db5[_0x244ebb];return _0x2f4ef4;},_0x244e(_0x414af7,_0x2ba668);}function _0x1a9d(){const _0x45b361=['8HPVgbP','8060717NmEcAQ','1474860fLsHRE','cancel','childList','observe','type','characterData','attributes','578076zGhaQq','disconnect','attributeName','1801074sgxLgh','1078800zuguKR','251424GpoHvz','109590RugJwn','class'];_0x1a9d=function(){return _0x45b361;};return _0x1a9d();}export function createMutationObserver(_0x16a97){const _0x320511=_0x5bc2ca(_0x16a97,0x1e),_0x38c937=new MutationObserver(_0x115a1b=>{const _0x4e6461=_0x244e;for(const _0x5bfa7c of _0x115a1b)(_0x4e6461(0x86)==_0x5bfa7c[_0x4e6461(0x84)]&&_0x4e6461(0x7d)==_0x5bfa7c[_0x4e6461(0x78)]||_0x4e6461(0x82)==_0x5bfa7c[_0x4e6461(0x84)]||_0x4e6461(0x85)==_0x5bfa7c[_0x4e6461(0x84)])&&_0x320511();});return{'attach'(_0x34d6ea){const _0x59e799=_0x244e;_0x38c937[_0x59e799(0x83)](_0x34d6ea,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x243f80=_0x244e;_0x38c937[_0x243f80(0x77)](),_0x320511[_0x243f80(0x81)]();}};}
|