@ckeditor/ckeditor5-comments 47.4.0-alpha.0 → 47.4.0-alpha.1
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 +19 -19
- 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
|
-
|
|
23
|
+
function _0x3f62(_0x43fc6c,_0x5aa2d3){const _0x59ac14=_0x59ac();return _0x3f62=function(_0x3f6217,_0x40101a){_0x3f6217=_0x3f6217-0x1af;let _0x1fbf04=_0x59ac14[_0x3f6217];return _0x1fbf04;},_0x3f62(_0x43fc6c,_0x5aa2d3);}const _0x2e5e87=_0x3f62;function _0x59ac(){const _0x3347e3=['insertBefore','_createCancelButton','editorReady','getData','focusCycler','Esc','div','focusables','submitButtonView','trim','render','126515cjWrvs','submit','7431408wDATus','create','extendTemplate','disabledSubmit','reverse','TOO_LONG_COMMENT_ALERT','cancelButtonView','editor','added','10089583vsjfgU','ck-comment__input-actions--active','ck-comment__input-wrapper','ck-comment__input-actions--submit','high','listenTo','submitLabel','createCollection','value','add','focus','withText','forEach','shift+tab','Reply...','model','showButtons','ck-comment__input-actions--cancel','cancel','createEditor','focusLast','bindTemplate','96irmqPP','110865tTetDG','fire','_setupKeyboardNavigation','element','setTemplate','stop','ck-comment__input-actions','set','_editorCreationPromise','690199BANkUm','from','setData','document','29570427SaRpcL','then','20UGXwNp','Reply','length','label','firstChild','keystrokes','_createSubmitButton','bind','focusTracker','placeholder','destroy','view','editorDestroyed','_editorConfig','isEnabled','change','_isDestroyed','initialData','tab','Cancel','execute','focusFirst','741842wrJCKS','Ctrl+Enter'];_0x59ac=function(){return _0x3347e3;};return _0x59ac();}(function(_0x2fdc91,_0x5de8c7){const _0x2b6b24=_0x3f62,_0x20fea0=_0x2fdc91();while(!![]){try{const _0x5a1093=-parseInt(_0x2b6b24(0x1e1))/0x1+parseInt(_0x2b6b24(0x1fd))/0x2+parseInt(_0x2b6b24(0x1d8))/0x3*(-parseInt(_0x2b6b24(0x1e7))/0x4)+-parseInt(_0x2b6b24(0x1b6))/0x5*(-parseInt(_0x2b6b24(0x1d7))/0x6)+-parseInt(_0x2b6b24(0x1c1))/0x7+-parseInt(_0x2b6b24(0x1b8))/0x8+parseInt(_0x2b6b24(0x1e5))/0x9;if(_0x5a1093===_0x5de8c7)break;else _0x20fea0['push'](_0x20fea0['shift']());}catch(_0x447487){_0x20fea0['push'](_0x20fea0['shift']());}}}(_0x59ac,0xc73e7));import{View as _0x724a5d,FocusCycler as _0x444aef,ButtonView as _0x24e619}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1e6e0c,KeystrokeHandler as _0x4c9369}from'ckeditor5/src/utils.js';import{CommentEditor as _0x1d83a8}from'../commenteditor/commenteditor.js';import{getTranslation as _0x4ee8a1}from'../../../utils/common-translations.js';export class CommentInputView extends _0x724a5d{[_0x2e5e87(0x1ec)];[_0x2e5e87(0x1ef)];[_0x2e5e87(0x1b2)];[_0x2e5e87(0x1af)];[_0x2e5e87(0x1b3)];[_0x2e5e87(0x1be)];[_0x2e5e87(0x1f4)];constructor(_0xeebcef,_0x41f0b0={}){const _0x595e35=_0x2e5e87;super(_0xeebcef),this[_0x595e35(0x1bf)]=null,this[_0x595e35(0x1f4)]=_0x41f0b0,this[_0x595e35(0x1df)](_0x595e35(0x1c9),_0x41f0b0[_0x595e35(0x1f8)]||''),this[_0x595e35(0x1df)](_0x595e35(0x1bb),!0x1),this[_0x595e35(0x1df)](_0x595e35(0x1d1),!0x0),this[_0x595e35(0x1df)](_0x595e35(0x1f0),_0x4ee8a1(_0xeebcef,_0x595e35(0x1cf))),this[_0x595e35(0x1df)](_0x595e35(0x1c7),_0x4ee8a1(_0xeebcef,_0x595e35(0x1e8))),this[_0x595e35(0x1b3)]=this[_0x595e35(0x1ed)](),this[_0x595e35(0x1be)]=this[_0x595e35(0x200)](),this[_0x595e35(0x1b2)]=this[_0x595e35(0x1c8)]([this[_0x595e35(0x1b3)],this[_0x595e35(0x1be)]]),this[_0x595e35(0x1ec)]=new _0x4c9369(),this[_0x595e35(0x1ef)]=new _0x1e6e0c(),this[_0x595e35(0x1af)]=new _0x444aef({'focusables':this[_0x595e35(0x1b2)],'focusTracker':this[_0x595e35(0x1ef)],'keystrokeHandler':this[_0x595e35(0x1ec)],'actions':{'focusPrevious':_0x595e35(0x1ce),'focusNext':_0x595e35(0x1f9)}}),this[_0x595e35(0x1dc)]({'tag':_0x595e35(0x1b1),'attributes':{'class':[_0x595e35(0x1c3)]},'children':[{'tag':_0x595e35(0x1b1),'attributes':{'class':[_0x595e35(0x1de),this[_0x595e35(0x1d6)]['if'](_0x595e35(0x1d1),_0x595e35(0x1c2))]},'children':[this[_0x595e35(0x1b3)],this[_0x595e35(0x1be)]]}]}),this[_0x595e35(0x1ec)][_0x595e35(0x1df)](_0x595e35(0x1b0),(_0x192de4,_0xadf6a7)=>{const _0x57c21=_0x595e35;this[_0x57c21(0x1be)][_0x57c21(0x1d9)](_0x57c21(0x1fb)),_0xadf6a7();}),this[_0x595e35(0x1ec)][_0x595e35(0x1df)](_0x595e35(0x1fe),(_0x22ae82,_0x56da2f)=>{const _0x22c020=_0x595e35;this[_0x22c020(0x1b3)][_0x22c020(0x1f5)]&&(this[_0x22c020(0x1b3)][_0x22c020(0x1d9)](_0x22c020(0x1fb)),_0x56da2f());}),this['on'](_0x595e35(0x1b7),(_0x101ea1,_0x861ecf)=>{const _0x1e36c1=_0x595e35;_0x861ecf[_0x1e36c1(0x1e9)]>0xfde8?(alert(_0x4ee8a1(_0xeebcef,_0x1e36c1(0x1bd),[_0x861ecf[_0x1e36c1(0x1e9)],0xfde8])),_0x101ea1[_0x1e36c1(0x1dd)]()):this[_0x1e36c1(0x1bf)][_0x1e36c1(0x1e3)]('');},{'priority':_0x595e35(0x1c5)});}[_0x2e5e87(0x1b5)](){const _0x50c244=_0x2e5e87;super[_0x50c244(0x1b5)](),this[_0x50c244(0x1da)]();}[_0x2e5e87(0x1d4)](){const _0x8e1fac=_0x2e5e87;return this[_0x8e1fac(0x1bf)]||(this[_0x8e1fac(0x1bf)]=new _0x1d83a8(this[_0x8e1fac(0x1f4)]),this[_0x8e1fac(0x1e0)]=this[_0x8e1fac(0x1bf)][_0x8e1fac(0x1b9)]()[_0x8e1fac(0x1e6)](()=>{const _0x1dd4e6=_0x8e1fac;if(this[_0x1dd4e6(0x1f7)])return;const _0x59b824=this[_0x1dd4e6(0x1bf)];this[_0x1dd4e6(0x1db)][_0x1dd4e6(0x1ff)](_0x59b824['ui'][_0x1dd4e6(0x1db)],this[_0x1dd4e6(0x1db)][_0x1dd4e6(0x1eb)]),_0x59b824[_0x1dd4e6(0x1d0)][_0x1dd4e6(0x1e4)]['on'](_0x1dd4e6(0x1f6),()=>this[_0x1dd4e6(0x1c9)]=_0x59b824[_0x1dd4e6(0x202)]()),_0x59b824[_0x1dd4e6(0x1ee)](_0x1dd4e6(0x1f0))['to'](this),this[_0x1dd4e6(0x1b2)][_0x1dd4e6(0x1ca)](_0x59b824['ui'][_0x1dd4e6(0x1f2)],0x0),this[_0x1dd4e6(0x1d9)](_0x1dd4e6(0x201),this[_0x1dd4e6(0x1bf)]);})),this[_0x8e1fac(0x1e0)];}[_0x2e5e87(0x1cb)](_0x5a3731){const _0x48647c=_0x2e5e87;-0x1===_0x5a3731?(this[_0x48647c(0x1af)][_0x48647c(0x1fc)](),this[_0x48647c(0x1af)][_0x48647c(0x1d5)]()):this[_0x48647c(0x1af)][_0x48647c(0x1fc)]();}async[_0x2e5e87(0x1f1)](){const _0xcae529=_0x2e5e87;this[_0xcae529(0x1f7)]||(this[_0xcae529(0x1f7)]=!0x0,this[_0xcae529(0x1bf)]&&(await this[_0xcae529(0x1e0)],await this[_0xcae529(0x1bf)][_0xcae529(0x1f1)](),this[_0xcae529(0x1d9)](_0xcae529(0x1f3),this[_0xcae529(0x1bf)])),await super[_0xcae529(0x1f1)]());}[_0x2e5e87(0x1ed)](){const _0xacb310=_0x2e5e87,{locale:_0x12c8c7}=this,_0x54867a=new _0x24e619(_0x12c8c7);return _0x54867a[_0xacb310(0x1ba)]({'attributes':{'class':[_0xacb310(0x1c4)]}}),_0x54867a[_0xacb310(0x1cc)]=!0x0,_0x54867a[_0xacb310(0x1ee)](_0xacb310(0x1ea))['to'](this,_0xacb310(0x1c7)),_0x54867a['on'](_0xacb310(0x1fb),()=>{const _0x136fc1=_0xacb310;this[_0x136fc1(0x1d9)](_0x136fc1(0x1b7),this[_0x136fc1(0x1c9)]);}),_0x54867a[_0xacb310(0x1ee)](_0xacb310(0x1f5))['to'](this,_0xacb310(0x1c9),this,_0xacb310(0x1bb),(_0x143894,_0x18a150)=>!_0x18a150&&!!_0x143894[_0xacb310(0x1b4)]()),_0x54867a;}[_0x2e5e87(0x200)](){const _0x3540d5=_0x2e5e87,{locale:_0x107b22}=this,_0x34d14d=new _0x24e619(_0x107b22);return _0x34d14d[_0x3540d5(0x1ba)]({'attributes':{'class':[_0x3540d5(0x1d2)]}}),_0x34d14d[_0x3540d5(0x1ea)]=_0x4ee8a1(_0x107b22,_0x3540d5(0x1fa)),_0x34d14d[_0x3540d5(0x1cc)]=!0x0,_0x34d14d['on'](_0x3540d5(0x1fb),()=>{const _0x2d2f5f=_0x3540d5;this[_0x2d2f5f(0x1bf)][_0x2d2f5f(0x1e3)](''),this[_0x2d2f5f(0x1d9)](_0x2d2f5f(0x1d3));}),_0x34d14d;}[_0x2e5e87(0x1da)](){const _0x4640ad=_0x2e5e87;this[_0x4640ad(0x1ec)][_0x4640ad(0x1c6)](this[_0x4640ad(0x1db)]),this[_0x4640ad(0x1b2)][_0x4640ad(0x1cd)](_0x184465=>{const _0xb4dd75=_0x4640ad;this[_0xb4dd75(0x1ef)][_0xb4dd75(0x1ca)](_0x184465[_0xb4dd75(0x1db)]);}),this[_0x4640ad(0x1b2)]['on'](_0x4640ad(0x1f6),(_0x14fe21,_0x170316)=>{const _0xca52f2=_0x4640ad;for(const _0x5941e9 of Array[_0xca52f2(0x1e2)](_0x170316[_0xca52f2(0x1c0)])[_0xca52f2(0x1bc)]())this[_0xca52f2(0x1ef)][_0xca52f2(0x1ca)](_0x5941e9[_0xca52f2(0x1db)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bd6bb=_0x2e9a;(function(_0x4cee6f,_0x4dd9bd){const _0x34ff59=_0x2e9a,_0x1a0ac7=_0x4cee6f();while(!![]){try{const _0x3939b9=parseInt(_0x34ff59(0x83))/0x1+-parseInt(_0x34ff59(0x85))/0x2+parseInt(_0x34ff59(0x91))/0x3*(-parseInt(_0x34ff59(0xa8))/0x4)+parseInt(_0x34ff59(0xad))/0x5*(-parseInt(_0x34ff59(0xc0))/0x6)+parseInt(_0x34ff59(0xa0))/0x7*(parseInt(_0x34ff59(0xb6))/0x8)+parseInt(_0x34ff59(0x94))/0x9+parseInt(_0x34ff59(0x8e))/0xa*(parseInt(_0x34ff59(0xbe))/0xb);if(_0x3939b9===_0x4dd9bd)break;else _0x1a0ac7['push'](_0x1a0ac7['shift']());}catch(_0x1b2b21){_0x1a0ac7['push'](_0x1a0ac7['shift']());}}}(_0x4d19,0xac29f));import{View as _0x6bc0bf,ButtonView as _0x4f67c0,FocusCycler as _0x4f856a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x16e6ee,KeystrokeHandler as _0x20dcfc}from'ckeditor5/src/utils.js';import{IconUndo as _0x134d06}from'ckeditor5/src/icons.js';import{getTranslation as _0x12b877}from'../../../utils/common-translations.js';function _0x2e9a(_0x21a536,_0x1b7ebf){const _0x4d19d9=_0x4d19();return _0x2e9a=function(_0x2e9a65,_0x55a41d){_0x2e9a65=_0x2e9a65-0x80;let _0x4c06d8=_0x4d19d9[_0x2e9a65];return _0x4c06d8;},_0x2e9a(_0x21a536,_0x1b7ebf);}import{CommentThreadHeaderContextView as _0x1fe2a5}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x6bc0bf{[_0x5bd6bb(0x99)];[_0x5bd6bb(0xbc)];[_0x5bd6bb(0x88)];[_0x5bd6bb(0x8f)];[_0x5bd6bb(0xbf)];[_0x5bd6bb(0x9f)];[_0x5bd6bb(0x82)];constructor(_0x3f2763,_0x461f2e){const _0x19305b=_0x5bd6bb;super(_0x3f2763);const _0x4b2676=this[_0x19305b(0xbd)];this[_0x19305b(0x99)]=_0x461f2e,this[_0x19305b(0xbc)]=this[_0x19305b(0xb0)](),this[_0x19305b(0x88)]=this[_0x19305b(0x93)](),this[_0x19305b(0x8f)]=this[_0x19305b(0xb4)]([this[_0x19305b(0x88)],this[_0x19305b(0xbc)]]),this[_0x19305b(0xbf)]=new _0x16e6ee(),this[_0x19305b(0x9f)]=new _0x20dcfc(),this[_0x19305b(0x82)]=new _0x4f856a({'focusables':this[_0x19305b(0x8f)],'focusTracker':this[_0x19305b(0xbf)],'keystrokeHandler':this[_0x19305b(0x9f)],'actions':{'focusPrevious':_0x19305b(0xb2),'focusNext':_0x19305b(0x97)}}),this[_0x19305b(0xba)](_0x19305b(0xa4))['to'](this[_0x19305b(0x99)],_0x19305b(0xa5),_0x15f65c=>!!_0x15f65c),this[_0x19305b(0xba)](_0x19305b(0xaa))['to'](this[_0x19305b(0x99)],_0x19305b(0xa5),_0x306b13=>_0x306b13&&_0x306b13[_0x19305b(0xae)]?this[_0x19305b(0xa7)](_0x306b13[_0x19305b(0xae)]):_0x12b877(this[_0x19305b(0xa2)],_0x19305b(0x95))),this[_0x19305b(0x86)]({'tag':_0x19305b(0xaf),'attributes':{'class':[_0x19305b(0x8b)]},'children':[{'tag':_0x19305b(0xaf),'attributes':{'class':[_0x19305b(0xc6)]},'children':[{'tag':_0x19305b(0xaf),'attributes':{'class':[_0x19305b(0xb8),_0x4b2676['if'](_0x19305b(0xa4),_0x19305b(0x8d))]},'children':[this[_0x19305b(0x88)]]}]},{'tag':_0x19305b(0xaf),'attributes':{'class':[_0x19305b(0xc2)]},'children':[this[_0x19305b(0xbc)]]}]});}[_0x5bd6bb(0x96)](){const _0x2670d9=_0x5bd6bb;super[_0x2670d9(0x96)](),this[_0x2670d9(0x9c)](),this[_0x2670d9(0xa6)]();}[_0x5bd6bb(0xb1)](){const _0x33ba88=_0x5bd6bb;this[_0x33ba88(0x82)][_0x33ba88(0x9e)]();}[_0x5bd6bb(0xb0)](){const _0x1e2618=_0x5bd6bb,_0x406752=new _0x4f67c0(this[_0x1e2618(0xa2)]);return _0x406752[_0x1e2618(0x89)]=_0x12b877(this[_0x1e2618(0xa2)],_0x1e2618(0xa1)),_0x406752[_0x1e2618(0xb3)]=_0x12b877(this[_0x1e2618(0xa2)],_0x1e2618(0xa1)),_0x406752[_0x1e2618(0xb9)]=_0x134d06,_0x406752[_0x1e2618(0xba)](_0x1e2618(0x98))['to'](this[_0x1e2618(0x99)],_0x1e2618(0xa3),_0x2ec1de=>!_0x2ec1de),_0x406752[_0x1e2618(0xba)](_0x1e2618(0xc1))['to'](this[_0x1e2618(0x99)],_0x1e2618(0xb5),this[_0x1e2618(0x99)],_0x1e2618(0x87),(_0x1dbf72,_0x131358)=>_0x1dbf72&&_0x131358),_0x406752['on'](_0x1e2618(0xc8),()=>{const _0x24f531=_0x1e2618;this[_0x24f531(0xac)](_0x24f531(0xb7),this[_0x24f531(0x99)]['id']);}),_0x406752;}[_0x5bd6bb(0xa7)](_0x4bf34e){const _0x2c9bc2=_0x5bd6bb;if(_0x4bf34e[_0x2c9bc2(0x8c)]<0x96)return _0x4bf34e;const _0x528ddf=_0x4bf34e[_0x2c9bc2(0x9a)]('\x20',0x93);return _0x4bf34e[_0x2c9bc2(0xc3)](0x0,_0x528ddf>-0x1?_0x528ddf:0x93)+_0x2c9bc2(0xab);}[_0x5bd6bb(0x9c)](){const _0x540c37=_0x5bd6bb,_0x57c503=this[_0x540c37(0x8a)][_0x540c37(0x80)](_0x540c37(0xbb)),_0x9a9adb=_0x57c503[_0x540c37(0x80)](_0x540c37(0xc5));this[_0x540c37(0x92)](_0x57c503,_0x540c37(0xc7),()=>{const _0x52ba25=_0x540c37;_0x9a9adb[_0x52ba25(0xa9)]<_0x9a9adb[_0x52ba25(0x9d)]&&_0x57c503[_0x52ba25(0x81)][_0x52ba25(0x90)](_0x52ba25(0x9b));}),this[_0x540c37(0x92)](_0x57c503,_0x540c37(0x84),()=>{const _0x38dbd6=_0x540c37;_0x57c503[_0x38dbd6(0x81)][_0x38dbd6(0xc4)](_0x38dbd6(0x9b));});}[_0x5bd6bb(0xa6)](){const _0x5c2251=_0x5bd6bb;this[_0x5c2251(0x9f)][_0x5c2251(0x92)](this[_0x5c2251(0x8a)]);for(const _0xd631a0 of this[_0x5c2251(0x8f)])this[_0x5c2251(0xbf)][_0x5c2251(0x90)](_0xd631a0[_0x5c2251(0x8a)]),this[_0x5c2251(0x9f)][_0x5c2251(0x92)](_0xd631a0[_0x5c2251(0x8a)]);}[_0x5bd6bb(0x93)](){const _0x810274=_0x5bd6bb,_0x4f4a96=new _0x1fe2a5(this[_0x810274(0xa2)]);return _0x4f4a96[_0x810274(0xba)](_0x810274(0xaa))['to'](this),_0x4f4a96;}}function _0x4d19(){const _0x537bab=['bindTemplate','3454nDZhHF','focusTracker','2554512VISYiE','isVisible','ck-annotation__actions','substring','remove','.ck-context__value','ck-context-wrapper','mouseenter','execute','querySelector','classList','focusCycler','91214DXxTJF','mouseleave','1984478qKKxcX','setTemplate','isResolved','contextView','label','element','ck-thread__header','length','ck-context--quotes','34250hNEYgI','focusables','add','939SzKgYM','listenTo','_createContextView','9814176DsNjaI','Comment\x20was\x20made\x20on\x20an\x20element','render','tab','isEnabled','_model','lastIndexOf','overlay','_attachContextActions','scrollWidth','focusFirst','keystrokes','7uBSqZI','Reopen','locale','isReadOnly','hasContext','context','_setupKeyboardNavigation','_trimContextValue','17268bVITIw','offsetWidth','contextValue','...','fire','5ekTKaJ','value','div','_createReopenButton','focus','shift+tab','tooltip','createCollection','isResolvable','9738136TVSLin','reopenCommentThread','ck-context','icon','bind','.ck-context','reopenButtonView'];_0x4d19=function(){return _0x537bab;};return _0x4d19();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x36072a=_0x29fd;function _0x29fd(_0x3d5d0e,_0x3b8cf1){const _0x23c402=_0x23c4();return _0x29fd=function(_0x29fda3,_0xf688fa){_0x29fda3=_0x29fda3-0x7b;let _0x58f8c0=_0x23c402[_0x29fda3];return _0x58f8c0;},_0x29fd(_0x3d5d0e,_0x3b8cf1);}function _0x23c4(){const _0x432306=['Edit','locale','element','ck-annotation__main','showConfirm','ck-comment--remove','2432405GtmHLI','691432RFKnGm','Delete\x20comment?','push','getExternalCommentNote','ck-comment__actions--hidden','ck-comment__external','blur','placeholder','ck-comment__wrapper','ck-comment__info-time','bind','unbind','editButton','panelView','ck-hidden','ariaDescriptionView','790PdJstp','cancelConfirm','render','toMany','ck-annotation__info-name','time','_createRemoveButton','getUserViewNotificationText','770576WSBobi','ck-annotation__user','actionBar','resolvedAt','8wgOGTa','change:isRemovable','listenTo','withText','ck-annotation__info-time','ck-comment','mouseleave','ck-comment--info','icon','setTemplate','items','actionIndicator','from','focusables','_model','Reply...','ck-comment__actions','750846EoJjIN','set','ck-annotation','ariaLabel','isVisible','focus','visibleView','addMany','isReadOnly','ck-comment__user','isEditable','_createEditButton','12VohEuT','ck-annotation__actions','ck-annotation__actions--hidden','Show\x20more\x20items','label','ck-comment--','author','ck-comment__main','remove','getTemplate','add','authoredAt','ck-comment__info','buttonView','_createCommentInputView','edit','then','_createDropdown','isExternal','group','_attachActions','switchToEditMode','dropdown','ck-annotation__content-wrapper','isEditMode','panelPosition','extendTemplate','children','formatDateTime','isEnabled','bindTemplate','mouseenter','ck-comment--edit','name','createCollection','63468xRKurK','div','Remove','execute','removeButton','ck-comment__info-name','removeComment','fire','_config','some','find','ck-annotation__info','span','listitem','isSystemComment','isRemovable','425645ULOjms','length','1625736zmaALb','userView'];_0x23c4=function(){return _0x432306;};return _0x23c4();}(function(_0x170244,_0x2067c1){const _0x47a329=_0x29fd,_0x2249f3=_0x170244();while(!![]){try{const _0x3883ae=parseInt(_0x47a329(0xde))/0x1+parseInt(_0x47a329(0x8a))/0x2+-parseInt(_0x47a329(0x9f))/0x3*(-parseInt(_0x47a329(0x8e))/0x4)+-parseInt(_0x47a329(0xe8))/0x5+parseInt(_0x47a329(0xab))/0x6*(-parseInt(_0x47a329(0xe9))/0x7)+parseInt(_0x47a329(0xe0))/0x8+parseInt(_0x47a329(0xce))/0x9*(-parseInt(_0x47a329(0x82))/0xa);if(_0x3883ae===_0x2067c1)break;else _0x2249f3['push'](_0x2249f3['shift']());}catch(_0x466eaf){_0x2249f3['push'](_0x2249f3['shift']());}}}(_0x23c4,0x42ca5));import{IconRemoveComment as _0x40297e,IconPencil as _0x8dc8f9,IconThreeVerticalDots as _0x38a6a6}from'ckeditor5/src/icons.js';import{ButtonView as _0x57c3fd,createDropdown as _0x265d43,ListView as _0x2bba6a,ListItemView as _0x4e9484,focusChildOnDropdownOpen as _0x10d227}from'ckeditor5/src/ui.js';import{UserView as _0x3e3b43,ConfirmMixin as _0x5c170b,LateFocusDropdownButtonView as _0x5661c4}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x44796e}from'./basecommentview.js';import{getTranslation as _0x1031c3}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5c170b(_0x44796e){[_0x36072a(0x8c)];[_0x36072a(0xe1)];constructor(_0x5d4801,_0x4f8224,_0x1552c2){const _0x147a4e=_0x36072a;super(_0x5d4801,_0x4f8224,_0x1552c2),this[_0x147a4e(0xa0)](_0x147a4e(0x99),null),this[_0x147a4e(0xa0)](_0x147a4e(0xf0),_0x1031c3(_0x5d4801,_0x147a4e(0x9d))),this[_0x147a4e(0x7c)](_0x147a4e(0xb6))['to'](_0x4f8224),this[_0x147a4e(0x7c)](_0x147a4e(0x8d))['to'](_0x4f8224),this[_0x147a4e(0x8c)]=this[_0x147a4e(0xcd)](),this[_0x147a4e(0xdc)]||(this[_0x147a4e(0x7e)]=this[_0x147a4e(0xaa)](),this[_0x147a4e(0xd2)]=this[_0x147a4e(0x88)](),this[_0x147a4e(0x98)]=this[_0x147a4e(0xcd)](),this[_0x147a4e(0x98)][_0x147a4e(0xa6)]([this[_0x147a4e(0x7e)],this[_0x147a4e(0xd2)]]),this[_0x147a4e(0xc1)]=this[_0x147a4e(0xbc)](),this[_0x147a4e(0x8c)][_0x147a4e(0xb5)](this[_0x147a4e(0xc1)]),this[_0x147a4e(0x9b)][_0x147a4e(0xb5)](this[_0x147a4e(0xc1)])),this[_0x147a4e(0xe1)]=new _0x3e3b43(_0x5d4801,_0x4f8224[_0x147a4e(0xb1)],this[_0x147a4e(0x89)]()),this[_0x147a4e(0xe1)][_0x147a4e(0xc5)]({'attributes':{'class':[_0x147a4e(0xa8),_0x147a4e(0x8b)],'aria-hidden':!0x0}}),this[_0x147a4e(0x90)](_0x4f8224,_0x147a4e(0x8f),()=>this[_0x147a4e(0x83)]()),this[_0x147a4e(0x97)](this[_0x147a4e(0xb4)]());}[_0x36072a(0xb4)](){const _0x1d2649=_0x36072a,_0x419938=this[_0x1d2649(0xc9)],_0x2d77bb=[{'tag':_0x1d2649(0xcf),'attributes':{'class':[_0x1d2649(0xb7),_0x1d2649(0xd9)]},'children':[{'tag':_0x1d2649(0xda),'children':[{'text':this[_0x1d2649(0xe1)][_0x1d2649(0xcc)]}],'attributes':{'class':[_0x1d2649(0xd3),_0x1d2649(0x86)],'data-cke-tooltip-text':this[_0x1d2649(0xe1)][_0x1d2649(0xcc)]}},{'tag':_0x1d2649(0x87),'attributes':{'datetime':_0x419938['to'](_0x1d2649(0xb6)),'class':[_0x1d2649(0x7b),_0x1d2649(0x92)]},'children':[{'text':_0x419938['to'](_0x1d2649(0xb6),_0x15c3f0=>this[_0x1d2649(0xd6)][_0x1d2649(0xc7)](_0x15c3f0))}]}]},{'tag':_0x1d2649(0xcf),'attributes':{'class':[_0x1d2649(0x9e),_0x1d2649(0xac),_0x419938['if'](_0x1d2649(0xc3),_0x1d2649(0xed)),_0x419938['if'](_0x1d2649(0xc3),_0x1d2649(0xad))]},'children':this[_0x1d2649(0x8c)]},{'tag':_0x1d2649(0xcf),'attributes':{'class':[_0x1d2649(0xc2)]},'children':this[_0x1d2649(0xa5)]},this[_0x1d2649(0x81)]];return this[_0x1d2649(0x9c)][_0x1d2649(0xbd)]&&_0x2d77bb[_0x1d2649(0xeb)]({'tag':_0x1d2649(0xcf),'attributes':{'class':[_0x1d2649(0xee)]},'children':[{'text':this[_0x1d2649(0xec)]()}]}),{'tag':'li','attributes':{'class':[_0x1d2649(0xf1)],'tabindex':-0x1,'aria-label':_0x419938['to'](_0x1d2649(0xa2)),'aria-describedby':this[_0x1d2649(0x81)]['id'],'role':_0x1d2649(0xdb)},'children':[{'tag':_0x1d2649(0xcf),'attributes':{'class':[_0x1d2649(0x93),_0x1d2649(0xa1),_0x419938['if'](_0x1d2649(0xc3),_0x1d2649(0xcb)),_0x419938['if'](_0x1d2649(0xdc),_0x1d2649(0x95)),_0x419938['to'](_0x1d2649(0x99),_0x4d210a=>_0x4d210a?_0x1d2649(0xb0)+_0x4d210a:'')],'data-author-id':this[_0x1d2649(0x9c)][_0x1d2649(0xb1)]['id'],'data-comment-id':this[_0x1d2649(0x9c)]['id'],'role':_0x1d2649(0xbe)},'children':[this[_0x1d2649(0xe1)],{'tag':_0x1d2649(0xcf),'attributes':{'class':[_0x1d2649(0xb2),_0x1d2649(0xe5)]},'children':_0x2d77bb}]}]};}[_0x36072a(0xaa)](){const _0x399d11=_0x36072a,_0x22419d=new _0x57c3fd(this[_0x399d11(0xe3)]);return _0x22419d[_0x399d11(0xaf)]=_0x1031c3(this[_0x399d11(0xe3)],_0x399d11(0xe2)),_0x22419d[_0x399d11(0x96)]=_0x8dc8f9,_0x22419d[_0x399d11(0x91)]=!0x0,_0x22419d[_0x399d11(0xc5)]({'attributes':{'class':_0x399d11(0xcb)}}),_0x22419d[_0x399d11(0x7c)](_0x399d11(0xc8))['to'](this[_0x399d11(0x9c)],_0x399d11(0xa7),_0x39fd2c=>!_0x39fd2c),_0x22419d[_0x399d11(0x7c)](_0x399d11(0xa3))['to'](this[_0x399d11(0x9c)],_0x399d11(0xa9)),_0x22419d['on'](_0x399d11(0xd1),()=>this[_0x399d11(0xc0)]()),_0x22419d;}[_0x36072a(0x88)](){const _0x4cd2f1=_0x36072a,_0xe62700=new _0x57c3fd(this[_0x4cd2f1(0xe3)]);return _0xe62700[_0x4cd2f1(0xaf)]=_0x1031c3(this[_0x4cd2f1(0xe3)],_0x4cd2f1(0xd0)),_0xe62700[_0x4cd2f1(0x96)]=_0x40297e,_0xe62700[_0x4cd2f1(0x91)]=!0x0,_0xe62700[_0x4cd2f1(0xc5)]({'attributes':{'class':_0x4cd2f1(0xe7)}}),_0xe62700[_0x4cd2f1(0x7c)](_0x4cd2f1(0xc8))['to'](this[_0x4cd2f1(0x9c)],_0x4cd2f1(0xa7),_0x52ffee=>!_0x52ffee),_0xe62700[_0x4cd2f1(0x7c)](_0x4cd2f1(0xa3))['to'](this[_0x4cd2f1(0x9c)],_0x4cd2f1(0xdd)),_0xe62700['on'](_0x4cd2f1(0xd1),()=>{const _0x3f749f=_0x4cd2f1;this[_0x3f749f(0xe6)](_0x1031c3(this[_0x3f749f(0xe3)],_0x3f749f(0xea)),this[_0x3f749f(0xe4)])[_0x3f749f(0xbb)](()=>{const _0x3ba43d=_0x3f749f;this[_0x3ba43d(0xd5)](_0x3ba43d(0xd4),this[_0x3ba43d(0x9c)]['id']);});}),_0xe62700;}[_0x36072a(0xbc)](){const _0x4a02a1=_0x36072a,_0x1d5db9=_0x265d43(this[_0x4a02a1(0xe3)],_0x5661c4),_0x40e63c=_0x1d5db9[_0x4a02a1(0x7f)][_0x4a02a1(0xc6)],_0xe95b9c=new _0x2bba6a(this[_0x4a02a1(0xe3)]),_0x3f05df=_0x1d5db9[_0x4a02a1(0xc9)];_0x10d227(_0x1d5db9,()=>this[_0x4a02a1(0x98)][_0x4a02a1(0xd8)](_0x2d69ad=>_0x2d69ad[_0x4a02a1(0xa3)])),_0x1d5db9[_0x4a02a1(0xc5)]({'attributes':{'class':[_0x3f05df['if'](_0x4a02a1(0xa3),_0x4a02a1(0x80),_0x2280e3=>!_0x2280e3)]}});const _0x19a914=(_0x2412a7,_0x50d542=-0x1)=>{const _0x180332=_0x4a02a1,_0x27e32b=new _0x4e9484(this[_0x180332(0xe3)]);_0x27e32b[_0x180332(0xc6)][_0x180332(0xb5)](_0x2412a7);const _0x5f4969=_0x50d542>-0x1?_0x50d542:_0xe95b9c[_0x180332(0x98)][_0x180332(0xdf)];_0xe95b9c[_0x180332(0x98)][_0x180332(0xb5)](_0x27e32b,_0x5f4969);const _0x305df1=Array[_0x180332(0x9a)](this[_0x180332(0x98)]);_0x1d5db9[_0x180332(0x7d)](_0x180332(0xc8),_0x180332(0xa3)),_0x1d5db9[_0x180332(0x7c)](_0x180332(0xc8))[_0x180332(0x85)](_0x305df1,_0x180332(0xc8),(..._0x4301df)=>_0x4301df[_0x180332(0xd7)](_0x5a9c30=>_0x5a9c30)),_0x1d5db9[_0x180332(0x7c)](_0x180332(0xa3))[_0x180332(0x85)](_0x305df1,_0x180332(0xa3),(..._0x2ee6fe)=>_0x2ee6fe[_0x180332(0xd7)](_0x5b47a5=>_0x5b47a5));};_0x1d5db9[_0x4a02a1(0xc4)]='sw',_0x1d5db9[_0x4a02a1(0xb8)][_0x4a02a1(0xa0)]({'label':_0x1031c3(this[_0x4a02a1(0xe3)],_0x4a02a1(0xae)),'icon':_0x38a6a6});for(const _0x40ae28 of this[_0x4a02a1(0x98)])_0x19a914(_0x40ae28);return _0x40e63c[_0x4a02a1(0xb5)](_0xe95b9c),_0x1d5db9[_0x4a02a1(0x90)](this[_0x4a02a1(0x98)],_0x4a02a1(0xb5),(_0x2a78f3,_0x28d607,_0x30c3e0)=>{_0x19a914(_0x28d607,_0x30c3e0);}),_0x1d5db9[_0x4a02a1(0x90)](this[_0x4a02a1(0x98)],_0x4a02a1(0xb3),(_0x487b93,_0x41834e,_0xd757e1)=>{const _0x4779f2=_0x4a02a1;_0xe95b9c[_0x4779f2(0x98)][_0x4779f2(0xb3)](_0xd757e1);}),_0x1d5db9;}[_0x36072a(0xbf)](_0x20c522,_0x252d4d){const _0x7a290b=_0x36072a,_0x34e9a9=_0x20c522&&_0x20c522[_0x7a290b(0xe4)];_0x34e9a9&&(this[_0x7a290b(0x90)](_0x34e9a9,_0x7a290b(0xca),()=>this[_0x7a290b(0x99)]=_0x252d4d),this[_0x7a290b(0x90)](_0x34e9a9,_0x7a290b(0xa4),()=>this[_0x7a290b(0x99)]=_0x252d4d),this[_0x7a290b(0x90)](_0x34e9a9,_0x7a290b(0x94),()=>this[_0x7a290b(0x99)]=null),this[_0x7a290b(0x90)](_0x34e9a9,_0x7a290b(0xef),()=>this[_0x7a290b(0x99)]=null));}[_0x36072a(0xb9)](){const _0x4c5929=_0x36072a,_0x2c97c2=super[_0x4c5929(0xb9)]();return _0x2c97c2[_0x4c5929(0x7c)](_0x4c5929(0xf0))['to'](this),_0x2c97c2;}[_0x36072a(0x84)](){const _0x331464=_0x36072a;super[_0x331464(0x84)](),this[_0x331464(0xbf)](this[_0x331464(0x7e)],_0x331464(0xba)),this[_0x331464(0xbf)](this[_0x331464(0xd2)],_0x331464(0xb3));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2a36a0,_0x2b7cc6){const _0x58a7ae=_0x346e,_0x62ec08=_0x2a36a0();while(!![]){try{const _0x886a31=parseInt(_0x58a7ae(0x80))/0x1*(parseInt(_0x58a7ae(0x7d))/0x2)+-parseInt(_0x58a7ae(0x76))/0x3+-parseInt(_0x58a7ae(0x7c))/0x4+-parseInt(_0x58a7ae(0x81))/0x5*(-parseInt(_0x58a7ae(0x84))/0x6)+parseInt(_0x58a7ae(0x83))/0x7+-parseInt(_0x58a7ae(0x7e))/0x8+parseInt(_0x58a7ae(0x82))/0x9;if(_0x886a31===_0x2b7cc6)break;else _0x62ec08['push'](_0x62ec08['shift']());}catch(_0x5d72e9){_0x62ec08['push'](_0x62ec08['shift']());}}}(_0x3317,0xd2d12));import{throttle as _0x11d705}from'es-toolkit/compat';function _0x346e(_0xed3638,_0x5ad782){const _0x33170c=_0x3317();return _0x346e=function(_0x346e49,_0x40670e){_0x346e49=_0x346e49-0x75;let _0x7366db=_0x33170c[_0x346e49];return _0x7366db;},_0x346e(_0xed3638,_0x5ad782);}function _0x3317(){const _0x1fe55d=['cancel','132324PcMvRq','2MtCVyZ','10752272oXsOyi','childList','1331886UvRBsy','5BtjuwF','3756618ENtbgO','3731448DaZTed','6331872kIckSh','class','observe','attributes','3291129yxcpGt','attributeName','characterData','type','disconnect'];_0x3317=function(){return _0x1fe55d;};return _0x3317();}export function createMutationObserver(_0x33cd97){const _0x1dbc6b=_0x11d705(_0x33cd97,0x1e),_0x599fc8=new MutationObserver(_0x5131f4=>{const _0x267112=_0x346e;for(const _0x2c987a of _0x5131f4)(_0x267112(0x75)==_0x2c987a[_0x267112(0x79)]&&_0x267112(0x85)==_0x2c987a[_0x267112(0x77)]||_0x267112(0x7f)==_0x2c987a[_0x267112(0x79)]||_0x267112(0x78)==_0x2c987a[_0x267112(0x79)])&&_0x1dbc6b();});return{'attach'(_0x15aa3b){const _0x32294f=_0x346e;_0x599fc8[_0x32294f(0x86)](_0x15aa3b,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3a1a0e=_0x346e;_0x599fc8[_0x3a1a0e(0x7a)](),_0x1dbc6b[_0x3a1a0e(0x7b)]();}};}
|