@ckeditor/ckeditor5-comments 40.1.0 → 40.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/CHANGELOG.md +19 -19
- package/README.md +1 -1
- package/build/comments.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/ug.js +1 -1
- package/lang/translations/gl.po +2 -2
- package/lang/translations/sr-latn.po +3 -3
- package/lang/translations/ug.po +10 -10
- package/package.json +3 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1 -0
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/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 _0x48fe=['threeVerticalDots','withText','label','EXTERNAL_COMMENT','_model','getUserViewNotificationText','ck-annotation__content-wrapper','ck-comment--','items','ck-comment--remove-confirmation','authoredAt','buttonView','ck-annotation__info-name','render','placeholder','resolvedAt','ck-comment--remove','listenTo','ck-annotation__user','isEnabled','attributes','pencil','ck-comment__external','Reply...','edit','name','EXTERNAL_IMPORT_WORD_COMMENT','change:isVisible','author','removeButton','isSystemComment','element','div','set','then','actionIndicator','remove','ck-annotation__actions','_createRemoveButton','icon','some','isEditable','_createEditButton','add','visibleView','_createDropdown','_config','Edit','execute','_attachActions','bind','createCollection','ck-annotation__info-time','fire','mouseenter','change:isRemovable','actionBar','ck-comment__main','panelView','length','addMany','extendTemplate','ck-annotation__main','isVisible','switchToEditMode','Show\x20more\x20items','time','source','focus','EXTERNAL_IMPORT_WORD_AVATAR','isExternal','change:isEnabled','isEditMode','creator','ck-annotation__info','_createCommentInputView','push','mouseleave','ck-comment--info','getTemplate','setTemplate','ck-annotation__actions--hidden','dropdown','getExternalCommentNote','ck-comment__user','ck-comment__info-time','EXTERNAL_AVATAR','userView','editButton','cancelConfirm','locale','ck-comment--edit','isRemovable'];(function(_0x5855ca,_0x48feb5){const _0x1cbac6=function(_0x1f73ca){while(--_0x1f73ca){_0x5855ca['push'](_0x5855ca['shift']());}};_0x1cbac6(++_0x48feb5);}(_0x48fe,0x1d7));const _0x1cba=function(_0x5855ca,_0x48feb5){_0x5855ca=_0x5855ca-0x0;let _0x1cbac6=_0x48fe[_0x5855ca];return _0x1cbac6;};import{ButtonView as _0x3cfdd2,createDropdown as _0x2d9710,ListView as _0x589f3c,ListItemView as _0x5dced1}from'ckeditor5/src/ui';import{icons as _0xbdd823}from'ckeditor5/src/core';import{UserView as _0x3853fb,ConfirmMixin as _0x1ec7ca}from'ckeditor5-collaboration/src/collaboration-core';import _0x362b1e from'./basecommentview';import _0xeafeae from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x486c69}from'../../../utils/common-translations';export default class pt extends _0x1ec7ca(_0x362b1e){constructor(_0x2d7950,_0x94af1,_0x2b133d){super(_0x2d7950,_0x94af1,_0x2b133d),this[_0x1cba('0x1b')](_0x1cba('0x1d'),null),this[_0x1cba('0x1b')](_0x1cba('0x8'),_0x486c69(_0x2d7950,_0x1cba('0x11'))),this[_0x1cba('0x2c')](_0x1cba('0x4'))['to'](_0x94af1),this[_0x1cba('0x2c')](_0x1cba('0x9'))['to'](_0x94af1),this[_0x1cba('0x32')]=this[_0x1cba('0x2d')](),this[_0x1cba('0x18')]||(this[_0x1cba('0x52')]=this['_createEditButton'](),this[_0x1cba('0x17')]=this[_0x1cba('0x20')](),this[_0x1cba('0x2')]=this[_0x1cba('0x2d')](),this['items'][_0x1cba('0x36')]([this['editButton'],this[_0x1cba('0x17')]]),this[_0x1cba('0x4c')]=this[_0x1cba('0x27')](),this[_0x1cba('0x32')][_0x1cba('0x25')](this['dropdown'])),this['userView']=new _0x3853fb(_0x2d7950,_0x94af1[_0x1cba('0x16')],this[_0x1cba('0x5c')]()),this[_0x1cba('0x51')][_0x1cba('0x37')]({'attributes':{'class':[_0x1cba('0x4e'),_0x1cba('0xc')]}}),this[_0x1cba('0xb')](_0x94af1,_0x1cba('0x31'),()=>this[_0x1cba('0x53')]()),this[_0x1cba('0x4a')](this[_0x1cba('0x49')]());}[_0x1cba('0x49')](){const _0x172edb=this['bindTemplate'],_0x2b77f7=[{'tag':_0x1cba('0x1a'),'attributes':{'class':['ck-comment__info',_0x1cba('0x44')]},'children':[{'tag':'span','children':[{'text':this[_0x1cba('0x51')][_0x1cba('0x13')]}],'attributes':{'class':['ck-comment__info-name',_0x1cba('0x6')]}},{'tag':_0x1cba('0x3c'),'attributes':{'datetime':_0x172edb['to']('authoredAt'),'class':[_0x1cba('0x4f'),_0x1cba('0x2e')]},'children':[{'text':_0x172edb['to'](_0x1cba('0x4'),_0x499ae0=>this[_0x1cba('0x28')]['formatDateTime'](_0x499ae0))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions',_0x1cba('0x1f'),_0x172edb['if']('isEditMode','ck-comment__actions--hidden'),_0x172edb['if']('isEditMode',_0x1cba('0x4b'))]},'children':this[_0x1cba('0x32')]},{'tag':_0x1cba('0x1a'),'attributes':{'class':[_0x1cba('0x0')]},'children':this[_0x1cba('0x26')]}];return this[_0x1cba('0x5b')][_0x1cba('0x40')]&&_0x2b77f7[_0x1cba('0x46')]({'tag':_0x1cba('0x1a'),'attributes':{'class':[_0x1cba('0x10')]},'children':[{'text':this[_0x1cba('0x4d')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x172edb['if']('isConfirm',_0x1cba('0x3'))],'tabindex':-0x1},'children':[{'tag':_0x1cba('0x1a'),'attributes':{'class':['ck-comment','ck-annotation',_0x172edb['if'](_0x1cba('0x42'),'ck-comment--edit'),_0x172edb['if'](_0x1cba('0x18'),_0x1cba('0x48')),_0x172edb['to'](_0x1cba('0x1d'),_0x4fdc68=>_0x4fdc68?_0x1cba('0x1')+_0x4fdc68:'')],'data-author-id':this[_0x1cba('0x5b')]['author']['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x1cba('0x51')],{'tag':_0x1cba('0x1a'),'attributes':{'class':[_0x1cba('0x33'),_0x1cba('0x38')]},'children':_0x2b77f7}]}]};}[_0x1cba('0x24')](){const _0x310e85=new _0x3cfdd2(this[_0x1cba('0x54')]);return _0x310e85[_0x1cba('0x59')]=_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x29')),_0x310e85[_0x1cba('0x21')]=_0xbdd823[_0x1cba('0xf')],_0x310e85[_0x1cba('0x58')]=!0x0,_0x310e85[_0x1cba('0x37')]({'attributes':{'class':_0x1cba('0x55')}}),_0x310e85[_0x1cba('0x2c')](_0x1cba('0xd'))['to'](this['_model'],'isReadOnly',_0x1b9c3a=>!_0x1b9c3a),_0x310e85[_0x1cba('0x2c')](_0x1cba('0x39'))['to'](this[_0x1cba('0x5b')],_0x1cba('0x23')),_0x310e85['on']('execute',()=>this[_0x1cba('0x3a')]()),_0x310e85;}[_0x1cba('0x20')](){const _0x2d155a=new _0x3cfdd2(this[_0x1cba('0x54')]);return _0x2d155a[_0x1cba('0x59')]=_0x486c69(this[_0x1cba('0x54')],'Remove'),_0x2d155a['icon']=_0xeafeae,_0x2d155a[_0x1cba('0x58')]=!0x0,_0x2d155a[_0x1cba('0x37')]({'attributes':{'class':_0x1cba('0xa')}}),_0x2d155a[_0x1cba('0x2c')]('isEnabled')['to'](this[_0x1cba('0x5b')],'isReadOnly',_0x326304=>!_0x326304),_0x2d155a[_0x1cba('0x2c')](_0x1cba('0x39'))['to'](this[_0x1cba('0x5b')],_0x1cba('0x56')),_0x2d155a['on'](_0x1cba('0x2a'),()=>{this['showConfirm'](_0x486c69(this[_0x1cba('0x54')],'Delete\x20comment?'),this['element'])[_0x1cba('0x1c')](()=>{this[_0x1cba('0x2f')]('removeComment',this[_0x1cba('0x5b')]['id']);});}),_0x2d155a;}[_0x1cba('0x27')](){const _0x53cceb=_0x2d9710(this[_0x1cba('0x54')]),_0x54570c=_0x53cceb[_0x1cba('0x34')]['children'],_0x47059e=new _0x589f3c(this['locale']),_0x54683d=(_0x424d5e,_0x339095=-0x1)=>{const _0x30cc53=new _0x5dced1(this[_0x1cba('0x54')]);_0x30cc53['children']['add'](_0x424d5e);const _0x370f5d=_0x339095>-0x1?_0x339095:_0x47059e['items'][_0x1cba('0x35')];_0x47059e[_0x1cba('0x2')][_0x1cba('0x25')](_0x30cc53,_0x370f5d),_0x53cceb['listenTo'](_0x424d5e,_0x1cba('0x41'),()=>{_0x53cceb['isEnabled']=[...this[_0x1cba('0x2')]]['some'](_0x58b96f=>_0x58b96f[_0x1cba('0xd')]);}),_0x53cceb[_0x1cba('0xb')](_0x424d5e,_0x1cba('0x15'),()=>{_0x53cceb[_0x1cba('0x5')][_0x1cba('0x39')]=[...this[_0x1cba('0x2')]][_0x1cba('0x22')](_0x1ada26=>_0x1ada26[_0x1cba('0x39')]);});};_0x53cceb['panelPosition']='sw',_0x53cceb['buttonView'][_0x1cba('0x1b')]({'label':_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x3b')),'icon':_0xbdd823[_0x1cba('0x57')]}),_0x53cceb['isEnabled']=[...this[_0x1cba('0x2')]][_0x1cba('0x22')](_0x4f9274=>_0x4f9274[_0x1cba('0xd')]),_0x53cceb['buttonView'][_0x1cba('0x39')]=[...this[_0x1cba('0x2')]]['some'](_0x13f43a=>_0x13f43a[_0x1cba('0x39')]);for(const _0x342d22 of this[_0x1cba('0x2')])_0x54683d(_0x342d22);return _0x54570c['add'](_0x47059e),_0x53cceb[_0x1cba('0xb')](this['items'],_0x1cba('0x25'),(_0x52442f,_0xc0c66e,_0x5d0939)=>{_0x54683d(_0xc0c66e,_0x5d0939);}),_0x53cceb[_0x1cba('0xb')](this[_0x1cba('0x2')],_0x1cba('0x1e'),(_0x5e362f,_0x466ae6,_0x3f45e1)=>{_0x47059e['items']['remove'](_0x3f45e1);}),_0x53cceb;}[_0x1cba('0x2b')](_0x559145,_0x3a5d7a){const _0x5a2a40=_0x559145&&_0x559145[_0x1cba('0x19')];_0x5a2a40&&(this[_0x1cba('0xb')](_0x5a2a40,_0x1cba('0x30'),()=>this[_0x1cba('0x1d')]=_0x3a5d7a),this[_0x1cba('0xb')](_0x5a2a40,_0x1cba('0x3e'),()=>this[_0x1cba('0x1d')]=_0x3a5d7a),this[_0x1cba('0xb')](_0x5a2a40,_0x1cba('0x47'),()=>this['actionIndicator']=null),this[_0x1cba('0xb')](_0x5a2a40,'blur',()=>this[_0x1cba('0x1d')]=null));}[_0x1cba('0x45')](){const _0x23fc0a=super['_createCommentInputView']();return _0x23fc0a['bind'](_0x1cba('0x8'))['to'](this),_0x23fc0a;}['getExternalCommentNote'](){return'importWord'===this[_0x1cba('0x5b')][_0x1cba('0xe')]['@external'][_0x1cba('0x3d')]?_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x14')):_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x5a'));}[_0x1cba('0x5c')](){return this[_0x1cba('0x5b')][_0x1cba('0x40')]?'importWord'===this[_0x1cba('0x5b')]['attributes']['@external']['source']?_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x3f'),this['_model'][_0x1cba('0x43')]['name']):_0x486c69(this[_0x1cba('0x54')],_0x1cba('0x50'),this['_model'][_0x1cba('0x43')][_0x1cba('0x13')]):null;}[_0x1cba('0x7')](){super[_0x1cba('0x7')](),this['_attachActions'](this[_0x1cba('0x52')],_0x1cba('0x12')),this['_attachActions'](this[_0x1cba('0x17')],_0x1cba('0x1e'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x20b3=['pluginName','Comments'];(function(_0x5aa353,_0x20b3a7){var _0x49cacd=function(_0x15a2f7){while(--_0x15a2f7){_0x5aa353['push'](_0x5aa353['shift']());}};_0x49cacd(++_0x20b3a7);}(_0x20b3,0x1e1));var _0x49ca=function(_0x5aa353,_0x20b3a7){_0x5aa353=_0x5aa353-0x0;var _0x49cacd=_0x20b3[_0x5aa353];return _0x49cacd;};import{Plugin as _0x192fa8}from'ckeditor5/src/core';import _0x2e7169 from'./comments/commentsrepository';import _0x522d09 from'./comments/commentsediting';import _0x4f4e6b from'./comments/commentsui';import _0x3c0833 from'./commentsonly';import _0x303cb9 from'./annotations/widesidebar';import _0x503fb7 from'./annotations/narrowsidebar';import _0x436aa3 from'./annotations/inlineannotations';import _0x4d582c from'./comments/commentsarchiveui';import _0x252ba5 from'./comments/commentsarchive';export default class f extends _0x192fa8{static get['requires'](){return[_0x2e7169,_0x522d09,_0x4f4e6b,_0x252ba5,_0x4d582c,_0x3c0833,_0x303cb9,_0x503fb7,_0x436aa3];}static get[_0x49ca('0x1')](){return _0x49ca('0x0');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b09=['change:isEnabled','set','stopListening','_enableCommentsOnlyMode','stop','get','affectsData','cut','addCommentThread','editor','_disableCommentsOnlyMode','DragDrop','editing','highest','commands','listenTo','document','afterInit','delete','view','requires','clipboardInput','plugins','isEnabled','has','pluginName','CommentsOnly','commentsOnlyMode'];(function(_0x37d237,_0x1b0924){const _0x693e72=function(_0x7deaa8){while(--_0x7deaa8){_0x37d237['push'](_0x37d237['shift']());}};_0x693e72(++_0x1b0924);}(_0x1b09,0x14e));const _0x693e=function(_0x37d237,_0x1b0924){_0x37d237=_0x37d237-0x0;let _0x693e72=_0x1b09[_0x37d237];return _0x693e72;};import{Plugin as _0x4a7d83}from'ckeditor5/src/core';import _0x3cd906 from'./comments/commentsediting';export default class n extends _0x4a7d83{static get[_0x693e('0x1b')](){return _0x693e('0x0');}static get[_0x693e('0x16')](){return[_0x3cd906];}constructor(_0x1d24f2){super(_0x1d24f2),this[_0x693e('0x3')]('isEnabled',!0x1),this['on'](_0x693e('0x2'),(_0x3f3131,_0x2719d9,_0x140775)=>{_0x140775?this[_0x693e('0x5')]():this[_0x693e('0xc')]();});}[_0x693e('0x13')](){!this[_0x693e('0x19')]&&this[_0x693e('0xb')]['config'][_0x693e('0x7')]('commentsOnly')&&(this[_0x693e('0x19')]=!0x0);}[_0x693e('0x5')](){for(const [_0x3dee14,_0x4935aa]of this[_0x693e('0xb')][_0x693e('0x10')])_0x4935aa['affectsData']&&_0x693e('0xa')!==_0x3dee14&&_0x4935aa['forceDisabled'](_0x693e('0x1'));this[_0x693e('0xb')][_0x693e('0x18')][_0x693e('0x1a')](_0x693e('0xd'))&&this[_0x693e('0xb')]['plugins']['get'](_0x693e('0xd'))['forceDisabled'](_0x693e('0x1'));const _0x4dd045=this[_0x693e('0xb')]['editing']['view'][_0x693e('0x12')];this[_0x693e('0x11')](_0x4dd045,_0x693e('0x9'),_0x437953=>_0x437953[_0x693e('0x6')](),{'priority':_0x693e('0xf')}),this[_0x693e('0x11')](_0x4dd045,_0x693e('0x17'),_0x4026d7=>_0x4026d7['stop'](),{'priority':_0x693e('0xf')}),this[_0x693e('0x11')](_0x4dd045,_0x693e('0x14'),_0x4ab09a=>_0x4ab09a['stop'](),{'priority':_0x693e('0xf')});}[_0x693e('0xc')](){for(const [_0x258110,_0x45f9b2]of this[_0x693e('0xb')]['commands'])_0x45f9b2[_0x693e('0x8')]&&_0x693e('0xa')!==_0x258110&&_0x45f9b2['clearForceDisabled'](_0x693e('0x1'));this[_0x693e('0x4')](this['editor'][_0x693e('0xe')][_0x693e('0x15')][_0x693e('0x12')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2d7dad,_0x4fcbf7,_0x56e142){const t=_0x2d7dad['t'];switch(_0x4fcbf7){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'},_0x56e142);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'},_0x56e142);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'},_0x56e142);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'},_0x56e142);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
|
-
const
|
|
23
|
+
const _0x5adc=['class','attributes','observe','disconnect','type'];(function(_0x35d041,_0x5adc7b){const _0x14d3ad=function(_0xd86414){while(--_0xd86414){_0x35d041['push'](_0x35d041['shift']());}};_0x14d3ad(++_0x5adc7b);}(_0x5adc,0x146));const _0x14d3=function(_0x35d041,_0x5adc7b){_0x35d041=_0x35d041-0x0;let _0x14d3ad=_0x5adc[_0x35d041];return _0x14d3ad;};import{throttle as _0x3e8be4}from'lodash-es';export default function Dt(_0x57097){const _0x56af31=_0x3e8be4(_0x57097,0x1e),_0x47b1ab=new MutationObserver(_0x41b608=>{for(const _0x40eef9 of _0x41b608)(_0x14d3('0x0')==_0x40eef9[_0x14d3('0x3')]&&_0x14d3('0x4')==_0x40eef9['attributeName']||'childList'==_0x40eef9[_0x14d3('0x3')]||'characterData'==_0x40eef9[_0x14d3('0x3')])&&_0x56af31();});return{'attach'(_0x38c83b){_0x47b1ab[_0x14d3('0x1')](_0x38c83b,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x47b1ab[_0x14d3('0x2')](),_0x56af31['cancel']();}};}
|