@ckeditor/ckeditor5-comments 0.0.0-nightly-20230820.0 → 0.0.0-nightly-20230821.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/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 _0x14e7=['ck-annotation__actions','removeButton','buttonView','children','ck-comment__info','getTemplate','ck-comment','ck-comment--remove','panelPosition','source','_createCommentInputView','isEditMode','ck-comment__main','isReadOnly','mouseenter','isRemovable','isEditable','listenTo','Remove','div','_createDropdown','ck-comment__actions--hidden','addMany','ck-comment--','switchToEditMode','ck-comment__info-name','EXTERNAL_IMPORT_WORD_AVATAR','push','Reply...','isExternal','pencil','edit','locale','ck-comment__wrapper','focus','name','userView','placeholder','ck-annotation__actions--hidden','items','element','label','ck-comment__external','ck-comment--edit','icon','extendTemplate','change:isVisible','ck-annotation','attributes','Delete\x20comment?','ck-comment--remove-confirmation','Show\x20more\x20items','formatDateTime','authoredAt','Edit','author','bindTemplate','_config','remove','getUserViewNotificationText','threeVerticalDots','change:isEnabled','importWord','EXTERNAL_IMPORT_WORD_COMMENT','some','actionIndicator','creator','ck-annotation__main','isSystemComment','bind','_createEditButton','ck-annotation__user','set','isEnabled','isVisible','then','_createRemoveButton','getExternalCommentNote','dropdown','_model','createCollection','execute','length','render','mouseleave','@external','actionBar','ck-comment--info','cancelConfirm','_attachActions','add','editButton'];(function(_0x45ecb0,_0x14e78a){const _0x48e8c6=function(_0x268ccb){while(--_0x268ccb){_0x45ecb0['push'](_0x45ecb0['shift']());}};_0x48e8c6(++_0x14e78a);}(_0x14e7,0x18a));const _0x48e8=function(_0x45ecb0,_0x14e78a){_0x45ecb0=_0x45ecb0-0x0;let _0x48e8c6=_0x14e7[_0x45ecb0];return _0x48e8c6;};import{ButtonView as _0x5d87e6,createDropdown as _0x1af4aa,ListView as _0x40b1f5,ListItemView as _0x24bc42}from'ckeditor5/src/ui';import{icons as _0x15ee2a}from'ckeditor5/src/core';import{UserView as _0xf98439,ConfirmMixin as _0x3cc7d9}from'ckeditor5-collaboration/src/collaboration-core';import _0x48baf4 from'./basecommentview';import _0x4e43cf from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x54cbbf}from'../../../utils/common-translations';export default class ut extends _0x3cc7d9(_0x48baf4){constructor(_0x5c0a20,_0x1fca6c,_0x4a9704){super(_0x5c0a20,_0x1fca6c,_0x4a9704),this['set'](_0x48e8('0x27'),null),this[_0x48e8('0x2e')](_0x48e8('0xb'),_0x54cbbf(_0x5c0a20,_0x48e8('0x2'))),this[_0x48e8('0x2b')](_0x48e8('0x1b'))['to'](_0x1fca6c),this[_0x48e8('0x2b')]('resolvedAt')['to'](_0x1fca6c),this[_0x48e8('0x3c')]=this['createCollection'](),this[_0x48e8('0x2a')]||(this['editButton']=this[_0x48e8('0x2c')](),this[_0x48e8('0x43')]=this['_createRemoveButton'](),this['items']=this[_0x48e8('0x36')](),this[_0x48e8('0xd')][_0x48e8('0x58')]([this['editButton'],this['removeButton']]),this['dropdown']=this[_0x48e8('0x56')](),this[_0x48e8('0x3c')][_0x48e8('0x40')](this[_0x48e8('0x34')])),this[_0x48e8('0xa')]=new _0xf98439(_0x5c0a20,_0x1fca6c[_0x48e8('0x1d')],this['getUserViewNotificationText']()),this[_0x48e8('0xa')]['extendTemplate']({'attributes':{'class':['ck-comment__user',_0x48e8('0x2d')]}}),this[_0x48e8('0x53')](_0x1fca6c,'change:isRemovable',()=>this[_0x48e8('0x3e')]()),this['setTemplate'](this[_0x48e8('0x47')]());}[_0x48e8('0x47')](){const _0x3392e5=this[_0x48e8('0x1e')],_0x39d384=[{'tag':_0x48e8('0x55'),'attributes':{'class':[_0x48e8('0x46'),'ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0x48e8('0xa')]['name']}],'attributes':{'class':[_0x48e8('0x5b'),'ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0x3392e5['to'](_0x48e8('0x1b')),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x3392e5['to'](_0x48e8('0x1b'),_0x15346d=>this[_0x48e8('0x1f')][_0x48e8('0x1a')](_0x15346d))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions',_0x48e8('0x42'),_0x3392e5['if'](_0x48e8('0x4d'),_0x48e8('0x57')),_0x3392e5['if'](_0x48e8('0x4d'),_0x48e8('0xc'))]},'children':this[_0x48e8('0x3c')]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']}];return this[_0x48e8('0x35')][_0x48e8('0x3')]&&_0x39d384[_0x48e8('0x1')]({'tag':'div','attributes':{'class':[_0x48e8('0x10')]},'children':[{'text':this[_0x48e8('0x33')]()}]}),{'tag':'li','attributes':{'class':[_0x48e8('0x7'),_0x3392e5['if']('isConfirm',_0x48e8('0x18'))],'tabindex':-0x1},'children':[{'tag':_0x48e8('0x55'),'attributes':{'class':[_0x48e8('0x48'),_0x48e8('0x15'),_0x3392e5['if'](_0x48e8('0x4d'),'ck-comment--edit'),_0x3392e5['if']('isSystemComment',_0x48e8('0x3d')),_0x3392e5['to'](_0x48e8('0x27'),_0x210326=>_0x210326?_0x48e8('0x59')+_0x210326:'')],'data-author-id':this[_0x48e8('0x35')]['author']['id'],'data-comment-id':this[_0x48e8('0x35')]['id']},'children':[this[_0x48e8('0xa')],{'tag':_0x48e8('0x55'),'attributes':{'class':[_0x48e8('0x4e'),_0x48e8('0x29')]},'children':_0x39d384}]}]};}[_0x48e8('0x2c')](){const _0xfc4683=new _0x5d87e6(this['locale']);return _0xfc4683[_0x48e8('0xf')]=_0x54cbbf(this[_0x48e8('0x6')],_0x48e8('0x1c')),_0xfc4683['icon']=_0x15ee2a[_0x48e8('0x4')],_0xfc4683['withText']=!0x0,_0xfc4683[_0x48e8('0x13')]({'attributes':{'class':_0x48e8('0x11')}}),_0xfc4683[_0x48e8('0x2b')]('isEnabled')['to'](this[_0x48e8('0x35')],_0x48e8('0x4f'),_0x1b546d=>!_0x1b546d),_0xfc4683[_0x48e8('0x2b')]('isVisible')['to'](this[_0x48e8('0x35')],_0x48e8('0x52')),_0xfc4683['on'](_0x48e8('0x37'),()=>this[_0x48e8('0x5a')]()),_0xfc4683;}[_0x48e8('0x32')](){const _0x4fddf8=new _0x5d87e6(this['locale']);return _0x4fddf8[_0x48e8('0xf')]=_0x54cbbf(this[_0x48e8('0x6')],_0x48e8('0x54')),_0x4fddf8[_0x48e8('0x12')]=_0x4e43cf,_0x4fddf8['withText']=!0x0,_0x4fddf8[_0x48e8('0x13')]({'attributes':{'class':_0x48e8('0x49')}}),_0x4fddf8[_0x48e8('0x2b')]('isEnabled')['to'](this[_0x48e8('0x35')],_0x48e8('0x4f'),_0x37a493=>!_0x37a493),_0x4fddf8[_0x48e8('0x2b')]('isVisible')['to'](this[_0x48e8('0x35')],_0x48e8('0x51')),_0x4fddf8['on'](_0x48e8('0x37'),()=>{this['showConfirm'](_0x54cbbf(this[_0x48e8('0x6')],_0x48e8('0x17')),this[_0x48e8('0xe')])[_0x48e8('0x31')](()=>{this['fire']('removeComment',this[_0x48e8('0x35')]['id']);});}),_0x4fddf8;}['_createDropdown'](){const _0x3f9323=_0x1af4aa(this['locale']),_0x1a1ac4=_0x3f9323['panelView']['children'],_0x2dfb3d=new _0x40b1f5(this['locale']),_0x19280e=(_0x4bc5b1,_0x3da0b9=-0x1)=>{const _0x373ba2=new _0x24bc42(this[_0x48e8('0x6')]);_0x373ba2[_0x48e8('0x45')]['add'](_0x4bc5b1);const _0x1caa1a=_0x3da0b9>-0x1?_0x3da0b9:_0x2dfb3d[_0x48e8('0xd')][_0x48e8('0x38')];_0x2dfb3d[_0x48e8('0xd')]['add'](_0x373ba2,_0x1caa1a),_0x3f9323[_0x48e8('0x53')](_0x4bc5b1,_0x48e8('0x23'),()=>{_0x3f9323['isEnabled']=[...this[_0x48e8('0xd')]]['some'](_0x3fb78a=>_0x3fb78a['isEnabled']);}),_0x3f9323[_0x48e8('0x53')](_0x4bc5b1,_0x48e8('0x14'),()=>{_0x3f9323[_0x48e8('0x44')][_0x48e8('0x30')]=[...this[_0x48e8('0xd')]][_0x48e8('0x26')](_0x48a42b=>_0x48a42b[_0x48e8('0x30')]);});};_0x3f9323[_0x48e8('0x4a')]='sw',_0x3f9323[_0x48e8('0x44')][_0x48e8('0x2e')]({'label':_0x54cbbf(this['locale'],_0x48e8('0x19')),'icon':_0x15ee2a[_0x48e8('0x22')]}),_0x3f9323[_0x48e8('0x2f')]=[...this[_0x48e8('0xd')]]['some'](_0x1f2614=>_0x1f2614['isEnabled']),_0x3f9323[_0x48e8('0x44')][_0x48e8('0x30')]=[...this[_0x48e8('0xd')]][_0x48e8('0x26')](_0x2676ac=>_0x2676ac[_0x48e8('0x30')]);for(const _0x223ab7 of this[_0x48e8('0xd')])_0x19280e(_0x223ab7);return _0x1a1ac4[_0x48e8('0x40')](_0x2dfb3d),_0x3f9323[_0x48e8('0x53')](this['items'],_0x48e8('0x40'),(_0x2c193a,_0x1dd9b4,_0x17c117)=>{_0x19280e(_0x1dd9b4,_0x17c117);}),_0x3f9323['listenTo'](this[_0x48e8('0xd')],_0x48e8('0x20'),(_0x57dd1,_0x5e6fcc,_0x564944)=>{_0x2dfb3d[_0x48e8('0xd')][_0x48e8('0x20')](_0x564944);}),_0x3f9323;}[_0x48e8('0x3f')](_0x3a4ed0,_0xa44cee){const _0x2e7d75=_0x3a4ed0&&_0x3a4ed0[_0x48e8('0xe')];_0x2e7d75&&(this[_0x48e8('0x53')](_0x2e7d75,_0x48e8('0x50'),()=>this[_0x48e8('0x27')]=_0xa44cee),this[_0x48e8('0x53')](_0x2e7d75,_0x48e8('0x8'),()=>this[_0x48e8('0x27')]=_0xa44cee),this[_0x48e8('0x53')](_0x2e7d75,_0x48e8('0x3a'),()=>this[_0x48e8('0x27')]=null),this[_0x48e8('0x53')](_0x2e7d75,'blur',()=>this[_0x48e8('0x27')]=null));}[_0x48e8('0x4c')](){const _0x2749ba=super[_0x48e8('0x4c')]();return _0x2749ba[_0x48e8('0x2b')](_0x48e8('0xb'))['to'](this),_0x2749ba;}['getExternalCommentNote'](){return _0x48e8('0x24')===this[_0x48e8('0x35')][_0x48e8('0x16')]['@external'][_0x48e8('0x4b')]?_0x54cbbf(this['locale'],_0x48e8('0x25')):_0x54cbbf(this['locale'],'EXTERNAL_COMMENT');}[_0x48e8('0x21')](){return this[_0x48e8('0x35')]['isExternal']?'importWord'===this[_0x48e8('0x35')][_0x48e8('0x16')][_0x48e8('0x3b')]['source']?_0x54cbbf(this[_0x48e8('0x6')],_0x48e8('0x0'),this[_0x48e8('0x35')][_0x48e8('0x28')][_0x48e8('0x9')]):_0x54cbbf(this['locale'],'EXTERNAL_AVATAR',this[_0x48e8('0x35')][_0x48e8('0x28')][_0x48e8('0x9')]):null;}[_0x48e8('0x39')](){super['render'](),this[_0x48e8('0x3f')](this[_0x48e8('0x41')],_0x48e8('0x5')),this[_0x48e8('0x3f')](this['removeButton'],_0x48e8('0x20'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3fe2=['Comments','requires'];(function(_0x2d1699,_0x3fe2b1){var _0x5e9840=function(_0xf43a3b){while(--_0xf43a3b){_0x2d1699['push'](_0x2d1699['shift']());}};_0x5e9840(++_0x3fe2b1);}(_0x3fe2,0x121));var _0x5e98=function(_0x2d1699,_0x3fe2b1){_0x2d1699=_0x2d1699-0x0;var _0x5e9840=_0x3fe2[_0x2d1699];return _0x5e9840;};import{Plugin as _0x1b7d99}from'ckeditor5/src/core';import _0x19a3dd from'./comments/commentsrepository';import _0x5366ab from'./comments/commentsediting';import _0x460c20 from'./comments/commentsui';import _0x53d160 from'./commentsonly';import _0x29abb6 from'./annotations/widesidebar';import _0x3c7760 from'./annotations/narrowsidebar';import _0x1f9ce from'./annotations/inlineannotations';import _0x4ed878 from'./comments/commentsarchiveui';import _0x55dabe from'./comments/commentsarchive';export default class f extends _0x1b7d99{static get[_0x5e98('0x0')](){return[_0x19a3dd,_0x5366ab,_0x460c20,_0x55dabe,_0x4ed878,_0x53d160,_0x29abb6,_0x3c7760,_0x1f9ce];}static get['pluginName'](){return _0x5e98('0x1');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa809=['config','addCommentThread','editing','delete','change:isEnabled','listenTo','stopListening','requires','CommentsOnly','forceDisabled','highest','editor','pluginName','commentsOnlyMode','commands','afterInit','cut','_disableCommentsOnlyMode','plugins','clearForceDisabled','set','DragDrop','_enableCommentsOnlyMode','clipboardInput','document','stop','affectsData','view','isEnabled'];(function(_0x292fe3,_0xa80979){const _0x422069=function(_0x11b478){while(--_0x11b478){_0x292fe3['push'](_0x292fe3['shift']());}};_0x422069(++_0xa80979);}(_0xa809,0x111));const _0x4220=function(_0x292fe3,_0xa80979){_0x292fe3=_0x292fe3-0x0;let _0x422069=_0xa809[_0x292fe3];return _0x422069;};import{Plugin as _0x4081e2}from'ckeditor5/src/core';import _0x5b26c1 from'./comments/commentsediting';export default class n extends _0x4081e2{static get[_0x4220('0x0')](){return _0x4220('0x19');}static get[_0x4220('0x18')](){return[_0x5b26c1];}constructor(_0x28efe2){super(_0x28efe2),this[_0x4220('0x8')](_0x4220('0x10'),!0x1),this['on'](_0x4220('0x15'),(_0x8f5493,_0x4c725e,_0x4d363d)=>{_0x4d363d?this[_0x4220('0xa')]():this[_0x4220('0x5')]();});}[_0x4220('0x3')](){!this[_0x4220('0x10')]&&this[_0x4220('0x1c')][_0x4220('0x11')]['get']('commentsOnly')&&(this[_0x4220('0x10')]=!0x0);}[_0x4220('0xa')](){for(const [_0x50d666,_0x85286d]of this[_0x4220('0x1c')][_0x4220('0x2')])_0x85286d[_0x4220('0xe')]&&_0x4220('0x12')!==_0x50d666&&_0x85286d[_0x4220('0x1a')](_0x4220('0x1'));this['editor'][_0x4220('0x6')]['has']('DragDrop')&&this['editor'][_0x4220('0x6')]['get'](_0x4220('0x9'))[_0x4220('0x1a')](_0x4220('0x1'));const _0x2977bb=this['editor'][_0x4220('0x13')][_0x4220('0xf')][_0x4220('0xc')];this[_0x4220('0x16')](_0x2977bb,_0x4220('0x4'),_0x4979b7=>_0x4979b7['stop'](),{'priority':_0x4220('0x1b')}),this[_0x4220('0x16')](_0x2977bb,_0x4220('0xb'),_0x5590fa=>_0x5590fa[_0x4220('0xd')](),{'priority':_0x4220('0x1b')}),this['listenTo'](_0x2977bb,_0x4220('0x14'),_0x2566bf=>_0x2566bf[_0x4220('0xd')](),{'priority':_0x4220('0x1b')});}['_disableCommentsOnlyMode'](){for(const [_0x20e2ad,_0x47a76d]of this[_0x4220('0x1c')]['commands'])_0x47a76d['affectsData']&&_0x4220('0x12')!==_0x20e2ad&&_0x47a76d[_0x4220('0x7')](_0x4220('0x1'));this[_0x4220('0x17')](this[_0x4220('0x1c')][_0x4220('0x13')][_0x4220('0xf')][_0x4220('0xc')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x362f0e,_0x15073c,_0x44a9f8){const t=_0x362f0e['t'];switch(_0x15073c){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'},_0x44a9f8);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'},_0x44a9f8);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'},_0x44a9f8);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'},_0x44a9f8);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 _0x18c3=['childList','disconnect','observe','type','class','characterData','attributes'];(function(_0x282dca,_0x18c3f3){const _0x397463=function(_0x2d49dc){while(--_0x2d49dc){_0x282dca['push'](_0x282dca['shift']());}};_0x397463(++_0x18c3f3);}(_0x18c3,0x10c));const _0x3974=function(_0x282dca,_0x18c3f3){_0x282dca=_0x282dca-0x0;let _0x397463=_0x18c3[_0x282dca];return _0x397463;};import{throttle as _0x262aa4}from'lodash-es';export default function Dt(_0x3f48b0){const _0x18ce01=_0x262aa4(_0x3f48b0,0x1e),_0x1a2d89=new MutationObserver(_0x3808e0=>{for(const _0x40f296 of _0x3808e0)(_0x3974('0x4')==_0x40f296[_0x3974('0x1')]&&_0x3974('0x2')==_0x40f296['attributeName']||_0x3974('0x5')==_0x40f296[_0x3974('0x1')]||_0x3974('0x3')==_0x40f296['type'])&&_0x18ce01();});return{'attach'(_0x372dd9){_0x1a2d89[_0x3974('0x0')](_0x372dd9,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x1a2d89[_0x3974('0x6')](),_0x18ce01['cancel']();}};}
|