@ckeditor/ckeditor5-comments 0.0.0-nightly-20230711.0 → 0.0.0-nightly-20230712.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/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.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 _0x179f=['bindTemplate','buttonView','ck-annotation__actions','isExternal','ck-comment__info-time','authoredAt','ck-comment--edit','attributes','div','setTemplate','isEditable','isSystemComment','extendTemplate','_config','time','author','ck-comment--remove-confirmation','change:isRemovable','ck-annotation__content-wrapper','Delete\x20comment?','isConfirm','_model','withText','panelPosition','name','listenTo','isEnabled','pencil','push','placeholder','mouseenter','blur','getUserViewNotificationText','mouseleave','isVisible','_createCommentInputView','add','change:isEnabled','ck-comment__actions','ck-comment__info-name','removeComment','ck-comment__actions--hidden','visibleView','removeButton','bind','userView','ck-annotation__actions--hidden','change:isVisible','edit','actionBar','getTemplate','@external','ck-comment','addMany','locale','panelView','isEditMode','ck-comment__external','ck-annotation__user','items','focus','icon','element','getExternalCommentNote','source','execute','createCollection','render','Reply...','EXTERNAL_COMMENT','ck-annotation__info-time','remove','editButton','threeVerticalDots','fire','_createDropdown','ck-annotation__info','Remove','label','some','ck-comment__main','_attachActions','_createEditButton','dropdown','EXTERNAL_IMPORT_WORD_COMMENT','_createRemoveButton','ck-comment__user','cancelConfirm','creator','actionIndicator','children','set','EXTERNAL_IMPORT_WORD_AVATAR','isReadOnly','ck-annotation__info-name'];(function(_0x5c9cc7,_0x179f26){const _0x26fddc=function(_0x491b43){while(--_0x491b43){_0x5c9cc7['push'](_0x5c9cc7['shift']());}};_0x26fddc(++_0x179f26);}(_0x179f,0x1e9));const _0x26fd=function(_0x5c9cc7,_0x179f26){_0x5c9cc7=_0x5c9cc7-0x0;let _0x26fddc=_0x179f[_0x5c9cc7];return _0x26fddc;};import{ButtonView as _0x4bde01,createDropdown as _0x258899,ListView as _0x2d4a84,ListItemView as _0x537f81}from'ckeditor5/src/ui';import{icons as _0x344bf0}from'ckeditor5/src/core';import{UserView as _0x352592,ConfirmMixin as _0x4234dc}from'ckeditor5-collaboration/src/collaboration-core';import _0x16bbe6 from'./basecommentview';import _0x41fcd3 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x247a49}from'../../../utils/common-translations';export default class ut extends _0x4234dc(_0x16bbe6){constructor(_0x123a61,_0x2fd3c8,_0x47baf5){super(_0x123a61,_0x2fd3c8,_0x47baf5),this[_0x26fd('0x4d')]('actionIndicator',null),this[_0x26fd('0x4d')](_0x26fd('0xf'),_0x247a49(_0x123a61,_0x26fd('0x36'))),this[_0x26fd('0x1e')](_0x26fd('0x56'))['to'](_0x2fd3c8),this[_0x26fd('0x1e')]('resolvedAt')['to'](_0x2fd3c8),this[_0x26fd('0x23')]=this[_0x26fd('0x34')](),this[_0x26fd('0x5c')]||(this['editButton']=this[_0x26fd('0x44')](),this[_0x26fd('0x1d')]=this[_0x26fd('0x47')](),this['items']=this['createCollection'](),this[_0x26fd('0x2d')][_0x26fd('0x27')]([this[_0x26fd('0x3a')],this[_0x26fd('0x1d')]]),this[_0x26fd('0x45')]=this['_createDropdown'](),this['actionBar']['add'](this['dropdown'])),this[_0x26fd('0x1f')]=new _0x352592(_0x123a61,_0x2fd3c8[_0x26fd('0x1')],this[_0x26fd('0x12')]()),this['userView'][_0x26fd('0x5d')]({'attributes':{'class':[_0x26fd('0x48'),_0x26fd('0x2c')]}}),this[_0x26fd('0xb')](_0x2fd3c8,_0x26fd('0x3'),()=>this[_0x26fd('0x49')]()),this[_0x26fd('0x5a')](this['getTemplate']());}[_0x26fd('0x24')](){const _0x19f0e7=this[_0x26fd('0x51')],_0x3f0faa=[{'tag':_0x26fd('0x59'),'attributes':{'class':['ck-comment__info',_0x26fd('0x3e')]},'children':[{'tag':'span','children':[{'text':this[_0x26fd('0x1f')][_0x26fd('0xa')]}],'attributes':{'class':[_0x26fd('0x19'),_0x26fd('0x50')]}},{'tag':_0x26fd('0x0'),'attributes':{'datetime':_0x19f0e7['to'](_0x26fd('0x56')),'class':[_0x26fd('0x55'),_0x26fd('0x38')]},'children':[{'text':_0x19f0e7['to']('authoredAt',_0x10b5bf=>this[_0x26fd('0x5e')]['formatDateTime'](_0x10b5bf))}]}]},{'tag':_0x26fd('0x59'),'attributes':{'class':[_0x26fd('0x18'),_0x26fd('0x53'),_0x19f0e7['if']('isEditMode',_0x26fd('0x1b')),_0x19f0e7['if'](_0x26fd('0x2a'),_0x26fd('0x20'))]},'children':this[_0x26fd('0x23')]},{'tag':_0x26fd('0x59'),'attributes':{'class':[_0x26fd('0x4')]},'children':this[_0x26fd('0x1c')]}];return this['_model'][_0x26fd('0x54')]&&_0x3f0faa[_0x26fd('0xe')]({'tag':_0x26fd('0x59'),'attributes':{'class':[_0x26fd('0x2b')]},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x19f0e7['if'](_0x26fd('0x6'),_0x26fd('0x2'))],'tabindex':-0x1},'children':[{'tag':_0x26fd('0x59'),'attributes':{'class':[_0x26fd('0x26'),'ck-annotation',_0x19f0e7['if'](_0x26fd('0x2a'),_0x26fd('0x57')),_0x19f0e7['if']('isSystemComment','ck-comment--info'),_0x19f0e7['to'](_0x26fd('0x4b'),_0x4b2742=>_0x4b2742?'ck-comment--'+_0x4b2742:'')],'data-author-id':this[_0x26fd('0x7')][_0x26fd('0x1')]['id'],'data-comment-id':this[_0x26fd('0x7')]['id']},'children':[this[_0x26fd('0x1f')],{'tag':_0x26fd('0x59'),'attributes':{'class':[_0x26fd('0x42'),'ck-annotation__main']},'children':_0x3f0faa}]}]};}[_0x26fd('0x44')](){const _0x427948=new _0x4bde01(this[_0x26fd('0x28')]);return _0x427948[_0x26fd('0x40')]=_0x247a49(this[_0x26fd('0x28')],'Edit'),_0x427948['icon']=_0x344bf0[_0x26fd('0xd')],_0x427948['withText']=!0x0,_0x427948['extendTemplate']({'attributes':{'class':_0x26fd('0x57')}}),_0x427948['bind'](_0x26fd('0xc'))['to'](this['_model'],_0x26fd('0x4f'),_0x160e29=>!_0x160e29),_0x427948[_0x26fd('0x1e')](_0x26fd('0x14'))['to'](this['_model'],_0x26fd('0x5b')),_0x427948['on'](_0x26fd('0x33'),()=>this['switchToEditMode']()),_0x427948;}[_0x26fd('0x47')](){const _0x405f8d=new _0x4bde01(this[_0x26fd('0x28')]);return _0x405f8d[_0x26fd('0x40')]=_0x247a49(this['locale'],_0x26fd('0x3f')),_0x405f8d[_0x26fd('0x2f')]=_0x41fcd3,_0x405f8d[_0x26fd('0x8')]=!0x0,_0x405f8d[_0x26fd('0x5d')]({'attributes':{'class':'ck-comment--remove'}}),_0x405f8d['bind']('isEnabled')['to'](this[_0x26fd('0x7')],'isReadOnly',_0x54b986=>!_0x54b986),_0x405f8d[_0x26fd('0x1e')](_0x26fd('0x14'))['to'](this[_0x26fd('0x7')],'isRemovable'),_0x405f8d['on']('execute',()=>{this['showConfirm'](_0x247a49(this[_0x26fd('0x28')],_0x26fd('0x5')),this[_0x26fd('0x30')])['then'](()=>{this[_0x26fd('0x3c')](_0x26fd('0x1a'),this[_0x26fd('0x7')]['id']);});}),_0x405f8d;}[_0x26fd('0x3d')](){const _0x3b5e04=_0x258899(this[_0x26fd('0x28')]),_0x5bde4a=_0x3b5e04[_0x26fd('0x29')][_0x26fd('0x4c')],_0xb8e62f=new _0x2d4a84(this['locale']),_0x575132=(_0x363cb7,_0x1d7cd2=-0x1)=>{const _0x2db2f0=new _0x537f81(this[_0x26fd('0x28')]);_0x2db2f0[_0x26fd('0x4c')]['add'](_0x363cb7);const _0x1ddf8b=_0x1d7cd2>-0x1?_0x1d7cd2:_0xb8e62f[_0x26fd('0x2d')]['length'];_0xb8e62f[_0x26fd('0x2d')][_0x26fd('0x16')](_0x2db2f0,_0x1ddf8b),_0x3b5e04['listenTo'](_0x363cb7,_0x26fd('0x17'),()=>{_0x3b5e04[_0x26fd('0xc')]=[...this[_0x26fd('0x2d')]][_0x26fd('0x41')](_0x383f76=>_0x383f76[_0x26fd('0xc')]);}),_0x3b5e04[_0x26fd('0xb')](_0x363cb7,_0x26fd('0x21'),()=>{_0x3b5e04[_0x26fd('0x52')][_0x26fd('0x14')]=[...this[_0x26fd('0x2d')]][_0x26fd('0x41')](_0x325120=>_0x325120[_0x26fd('0x14')]);});};_0x3b5e04[_0x26fd('0x9')]='sw',_0x3b5e04[_0x26fd('0x52')][_0x26fd('0x4d')]({'label':_0x247a49(this[_0x26fd('0x28')],'Show\x20more\x20items'),'icon':_0x344bf0[_0x26fd('0x3b')]}),_0x3b5e04[_0x26fd('0xc')]=[...this[_0x26fd('0x2d')]][_0x26fd('0x41')](_0x32181e=>_0x32181e[_0x26fd('0xc')]),_0x3b5e04[_0x26fd('0x52')][_0x26fd('0x14')]=[...this[_0x26fd('0x2d')]][_0x26fd('0x41')](_0x1d49b0=>_0x1d49b0[_0x26fd('0x14')]);for(const _0x361008 of this['items'])_0x575132(_0x361008);return _0x5bde4a[_0x26fd('0x16')](_0xb8e62f),_0x3b5e04[_0x26fd('0xb')](this[_0x26fd('0x2d')],_0x26fd('0x16'),(_0xb395b6,_0x529495,_0x15501b)=>{_0x575132(_0x529495,_0x15501b);}),_0x3b5e04[_0x26fd('0xb')](this['items'],_0x26fd('0x39'),(_0x4e44dc,_0x176849,_0x41dbc5)=>{_0xb8e62f[_0x26fd('0x2d')][_0x26fd('0x39')](_0x41dbc5);}),_0x3b5e04;}[_0x26fd('0x43')](_0x238f69,_0x55e2cd){const _0x44f880=_0x238f69&&_0x238f69['element'];_0x44f880&&(this[_0x26fd('0xb')](_0x44f880,_0x26fd('0x10'),()=>this[_0x26fd('0x4b')]=_0x55e2cd),this[_0x26fd('0xb')](_0x44f880,_0x26fd('0x2e'),()=>this[_0x26fd('0x4b')]=_0x55e2cd),this[_0x26fd('0xb')](_0x44f880,_0x26fd('0x13'),()=>this[_0x26fd('0x4b')]=null),this['listenTo'](_0x44f880,_0x26fd('0x11'),()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x27600d=super[_0x26fd('0x15')]();return _0x27600d[_0x26fd('0x1e')](_0x26fd('0xf'))['to'](this),_0x27600d;}[_0x26fd('0x31')](){return'importWord'===this[_0x26fd('0x7')][_0x26fd('0x58')][_0x26fd('0x25')][_0x26fd('0x32')]?_0x247a49(this[_0x26fd('0x28')],_0x26fd('0x46')):_0x247a49(this[_0x26fd('0x28')],_0x26fd('0x37'));}[_0x26fd('0x12')](){return this[_0x26fd('0x7')][_0x26fd('0x54')]?'importWord'===this[_0x26fd('0x7')][_0x26fd('0x58')][_0x26fd('0x25')][_0x26fd('0x32')]?_0x247a49(this[_0x26fd('0x28')],_0x26fd('0x4e'),this[_0x26fd('0x7')][_0x26fd('0x4a')][_0x26fd('0xa')]):_0x247a49(this[_0x26fd('0x28')],'EXTERNAL_AVATAR',this[_0x26fd('0x7')]['creator'][_0x26fd('0xa')]):null;}[_0x26fd('0x35')](){super[_0x26fd('0x35')](),this[_0x26fd('0x43')](this[_0x26fd('0x3a')],_0x26fd('0x22')),this[_0x26fd('0x43')](this['removeButton'],_0x26fd('0x39'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x158c=['Comments','pluginName','requires'];(function(_0x19223d,_0x158c81){var _0x2e544e=function(_0x30ba51){while(--_0x30ba51){_0x19223d['push'](_0x19223d['shift']());}};_0x2e544e(++_0x158c81);}(_0x158c,0xcd));var _0x2e54=function(_0x19223d,_0x158c81){_0x19223d=_0x19223d-0x0;var _0x2e544e=_0x158c[_0x19223d];return _0x2e544e;};import{Plugin as _0x5d99ee}from'ckeditor5/src/core';import _0x4ffbba from'./comments/commentsrepository';import _0x1e7f95 from'./comments/commentsediting';import _0x4bd454 from'./comments/commentsui';import _0x15ed82 from'./commentsonly';import _0x2773f9 from'./annotations/widesidebar';import _0x477a11 from'./annotations/narrowsidebar';import _0x5c8960 from'./annotations/inlineannotations';import _0x32d6e3 from'./comments/commentsarchiveui';import _0x1bd591 from'./comments/commentsarchive';export default class f extends _0x5d99ee{static get[_0x2e54('0x1')](){return[_0x4ffbba,_0x1e7f95,_0x4bd454,_0x1bd591,_0x32d6e3,_0x15ed82,_0x2773f9,_0x477a11,_0x5c8960];}static get[_0x2e54('0x0')](){return _0x2e54('0x2');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c2b=['_disableCommentsOnlyMode','highest','listenTo','_enableCommentsOnlyMode','view','commentsOnly','stop','editing','commentsOnlyMode','get','plugins','DragDrop','clipboardInput','delete','change:isEnabled','editor','config','commands','has','affectsData','requires','forceDisabled','isEnabled','document','addCommentThread','afterInit'];(function(_0x2fe8df,_0x2c2bc2){const _0x389d43=function(_0x176d75){while(--_0x176d75){_0x2fe8df['push'](_0x2fe8df['shift']());}};_0x389d43(++_0x2c2bc2);}(_0x2c2b,0x12d));const _0x389d=function(_0x2fe8df,_0x2c2bc2){_0x2fe8df=_0x2fe8df-0x0;let _0x389d43=_0x2c2b[_0x2fe8df];return _0x389d43;};import{Plugin as _0x3e6d70}from'ckeditor5/src/core';import _0xe42056 from'./comments/commentsediting';export default class n extends _0x3e6d70{static get['pluginName'](){return'CommentsOnly';}static get[_0x389d('0x5')](){return[_0xe42056];}constructor(_0x57aeac){super(_0x57aeac),this['set'](_0x389d('0x7'),!0x1),this['on'](_0x389d('0x19'),(_0x10e6bb,_0x6b19a9,_0x180231)=>{_0x180231?this[_0x389d('0xe')]():this[_0x389d('0xb')]();});}[_0x389d('0xa')](){!this[_0x389d('0x7')]&&this[_0x389d('0x0')][_0x389d('0x1')][_0x389d('0x14')](_0x389d('0x10'))&&(this[_0x389d('0x7')]=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x1b580a,_0x45eb9f]of this[_0x389d('0x0')][_0x389d('0x2')])_0x45eb9f[_0x389d('0x4')]&&'addCommentThread'!==_0x1b580a&&_0x45eb9f[_0x389d('0x6')](_0x389d('0x13'));this['editor']['plugins'][_0x389d('0x3')](_0x389d('0x16'))&&this[_0x389d('0x0')][_0x389d('0x15')][_0x389d('0x14')](_0x389d('0x16'))[_0x389d('0x6')]('commentsOnlyMode');const _0x233f88=this[_0x389d('0x0')][_0x389d('0x12')][_0x389d('0xf')]['document'];this[_0x389d('0xd')](_0x233f88,'cut',_0x21d4ba=>_0x21d4ba[_0x389d('0x11')](),{'priority':_0x389d('0xc')}),this[_0x389d('0xd')](_0x233f88,_0x389d('0x17'),_0x370db9=>_0x370db9[_0x389d('0x11')](),{'priority':_0x389d('0xc')}),this[_0x389d('0xd')](_0x233f88,_0x389d('0x18'),_0x1d26d6=>_0x1d26d6[_0x389d('0x11')](),{'priority':_0x389d('0xc')});}['_disableCommentsOnlyMode'](){for(const [_0xb7f0f9,_0x11fdbb]of this[_0x389d('0x0')][_0x389d('0x2')])_0x11fdbb[_0x389d('0x4')]&&_0x389d('0x9')!==_0xb7f0f9&&_0x11fdbb['clearForceDisabled'](_0x389d('0x13'));this['stopListening'](this[_0x389d('0x0')][_0x389d('0x12')][_0x389d('0xf')][_0x389d('0x8')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x417249,_0x50c7c4,_0xa6e14e){const t=_0x417249['t'];switch(_0x50c7c4){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'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xa6e14e);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'},_0xa6e14e);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'},_0xa6e14e);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'},_0xa6e14e);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 _0x8b56=['characterData','type','class','observe','disconnect'];(function(_0x357c24,_0x8b5689){const _0x54e3ef=function(_0x1e1320){while(--_0x1e1320){_0x357c24['push'](_0x357c24['shift']());}};_0x54e3ef(++_0x8b5689);}(_0x8b56,0x144));const _0x54e3=function(_0x357c24,_0x8b5689){_0x357c24=_0x357c24-0x0;let _0x54e3ef=_0x8b56[_0x357c24];return _0x54e3ef;};import{throttle as _0x288e4d}from'lodash-es';export default function Dt(_0x5ded07){const _0x17bd35=_0x288e4d(_0x5ded07,0x1e),_0xacb855=new MutationObserver(_0x3a0e6e=>{for(const _0x4ce8af of _0x3a0e6e)('attributes'==_0x4ce8af['type']&&_0x54e3('0x3')==_0x4ce8af['attributeName']||'childList'==_0x4ce8af[_0x54e3('0x2')]||_0x54e3('0x1')==_0x4ce8af[_0x54e3('0x2')])&&_0x17bd35();});return{'attach'(_0x2b802c){_0xacb855[_0x54e3('0x4')](_0x2b802c,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0xacb855[_0x54e3('0x0')](),_0x17bd35['cancel']();}};}
|