@ckeditor/ckeditor5-collaboration-core 35.3.0 → 35.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "35.3.0",
3
+ "version": "35.3.2",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "main": "src/index.js",
30
30
  "dependencies": {
31
- "ckeditor5": "^35.3.0",
31
+ "ckeditor5": "^35.3.2",
32
32
  "date-fns": "^2.17.0"
33
33
  }
34
34
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2584=['includes','noPermissions','enableReadOnlyMode','has','context','plugins','config','no-permissions','CommentsOnly','setAdminPermissions','editors','find','commands','disableReadOnlyMode','clearForceDisabled','get','setPermissions','isEnabled','collaboration.channelId','comment:write','addCommentThread','document:write','Permissions','CommentsRepository'];(function(_0x18fc95,_0x2584c4){const _0x2415ad=function(_0x3c6927){while(--_0x3c6927){_0x18fc95['push'](_0x18fc95['shift']());}};_0x2415ad(++_0x2584c4);}(_0x2584,0xcd));const _0x2415=function(_0x18fc95,_0x2584c4){_0x18fc95=_0x18fc95-0x0;let _0x2415ad=_0x2584[_0x18fc95];return _0x2415ad;};import{ContextPlugin as _0x158da0,Editor as _0x42d238}from'ckeditor5/src/core';import{CKEditorError as _0x3963e0}from'ckeditor5/src/utils';export default class i extends _0x158da0{static get['pluginName'](){return _0x2415('0x9');}[_0x2415('0x3')](_0x17f4c3,_0x43d33d){let _0x5827f0;if(_0x43d33d||(_0x43d33d=this[_0x2415('0xf')][_0x2415('0x11')][_0x2415('0x2')]('collaboration.channelId')),this[_0x2415('0xf')][_0x2415('0x11')]['get'](_0x2415('0x5'))==_0x43d33d?_0x5827f0=this[_0x2415('0xf')]:this[_0x2415('0xf')][_0x2415('0x15')]&&(_0x5827f0=this['context'][_0x2415('0x15')][_0x2415('0x16')](_0x38b8a1=>_0x38b8a1[_0x2415('0x11')][_0x2415('0x2')](_0x2415('0x5'))==_0x43d33d)),!_0x5827f0)throw new _0x3963e0('permissions-set-permissions-invalid-channel-id',null);const _0x42bbd9=_0x5827f0[_0x2415('0x10')],_0x25bb08=_0x5827f0 instanceof _0x42d238,_0x56aa47=_0x42bbd9[_0x2415('0xe')](_0x2415('0xa'))&&_0x42bbd9[_0x2415('0x2')](_0x2415('0xa')),_0x517a49=_0x42bbd9[_0x2415('0xe')](_0x2415('0x13'))&&_0x42bbd9[_0x2415('0x2')]('CommentsOnly'),_0x49b455=_0x17f4c3[_0x2415('0xb')](_0x2415('0x8')),_0x2ce56e=_0x17f4c3['includes']('comment:admin'),_0x42a874=_0x17f4c3[_0x2415('0xb')](_0x2415('0x6'))||_0x2ce56e;(_0x517a49&&(_0x517a49[_0x2415('0x4')]=!_0x49b455&&_0x42a874),_0x25bb08)&&(!(_0x49b455||_0x42a874&&_0x56aa47)?_0x5827f0[_0x2415('0xd')](_0x2415('0x12')):_0x5827f0[_0x2415('0x0')](_0x2415('0x12')));if(_0x56aa47){_0x56aa47['switchReadOnly'](!_0x42a874,_0x43d33d),_0x56aa47[_0x2415('0x14')](_0x2ce56e,_0x43d33d);const _0x4bfae6=_0x25bb08&&_0x5827f0[_0x2415('0x17')]['get'](_0x2415('0x7'));_0x4bfae6&&(_0x42a874?_0x4bfae6[_0x2415('0x1')](_0x2415('0xc')):_0x4bfae6['forceDisabled']('noPermissions'));}}}
23
+ const _0x104d=['comment:admin','commands','CommentsOnly','disableReadOnlyMode','get','clearForceDisabled','plugins','switchReadOnly','Permissions','pluginName','find','permissions-set-permissions-invalid-channel-id','no-permissions','editors','collaboration.channelId','forceDisabled','has','CommentsRepository','enableReadOnlyMode','comment:write','setAdminPermissions','noPermissions','includes','isEnabled','config','context','addCommentThread'];(function(_0x5f2f68,_0x104daa){const _0x3063d5=function(_0x323a8d){while(--_0x323a8d){_0x5f2f68['push'](_0x5f2f68['shift']());}};_0x3063d5(++_0x104daa);}(_0x104d,0x1f4));const _0x3063=function(_0x5f2f68,_0x104daa){_0x5f2f68=_0x5f2f68-0x0;let _0x3063d5=_0x104d[_0x5f2f68];return _0x3063d5;};import{ContextPlugin as _0x91a79d,Editor as _0x3569fe}from'ckeditor5/src/core';import{CKEditorError as _0x417ebb}from'ckeditor5/src/utils';export default class i extends _0x91a79d{static get[_0x3063('0x16')](){return _0x3063('0x15');}['setPermissions'](_0x97c10b,_0x30ce0f){let _0x3f5705;if(_0x30ce0f||(_0x30ce0f=this[_0x3063('0xb')][_0x3063('0xa')][_0x3063('0x11')](_0x3063('0x0'))),this[_0x3063('0xb')][_0x3063('0xa')]['get'](_0x3063('0x0'))==_0x30ce0f?_0x3f5705=this[_0x3063('0xb')]:this[_0x3063('0xb')][_0x3063('0x1a')]&&(_0x3f5705=this[_0x3063('0xb')][_0x3063('0x1a')][_0x3063('0x17')](_0x5348b5=>_0x5348b5[_0x3063('0xa')][_0x3063('0x11')](_0x3063('0x0'))==_0x30ce0f)),!_0x3f5705)throw new _0x417ebb(_0x3063('0x18'),null);const _0x189a28=_0x3f5705[_0x3063('0x13')],_0x250a2b=_0x3f5705 instanceof _0x3569fe,_0xc9208c=_0x189a28[_0x3063('0x2')](_0x3063('0x3'))&&_0x189a28[_0x3063('0x11')](_0x3063('0x3')),_0x9a9403=_0x189a28[_0x3063('0x2')]('CommentsOnly')&&_0x189a28[_0x3063('0x11')](_0x3063('0xf')),_0x1577c3=_0x97c10b['includes']('document:write'),_0x61ac70=_0x97c10b[_0x3063('0x8')](_0x3063('0xd')),_0x584e61=_0x97c10b['includes'](_0x3063('0x5'))||_0x61ac70;(_0x9a9403&&(_0x9a9403[_0x3063('0x9')]=!_0x1577c3&&_0x584e61),_0x250a2b)&&(!(_0x1577c3||_0x584e61&&_0xc9208c)?_0x3f5705[_0x3063('0x4')](_0x3063('0x19')):_0x3f5705[_0x3063('0x10')](_0x3063('0x19')));if(_0xc9208c){_0xc9208c[_0x3063('0x14')](!_0x584e61,_0x30ce0f),_0xc9208c[_0x3063('0x6')](_0x61ac70,_0x30ce0f);const _0x847f3=_0x250a2b&&_0x3f5705[_0x3063('0xe')][_0x3063('0x11')](_0x3063('0xc'));_0x847f3&&(_0x584e61?_0x847f3[_0x3063('0x12')](_0x3063('0x7')):_0x847f3[_0x3063('0x1')]('noPermissions'));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x436e=['ck-user__icon','div','notificationView','ck-user__notification','initials','ck-user__avatar','ck-user','ck\x20ck-user__name','push','avatar','name','ck\x20ck-user__name\x20ck-user__name--hidden','setTemplate','ck-user__anonymous','ck-user__img','content','isAnonymous'];(function(_0xce8789,_0x436e26){const _0x1cc5db=function(_0x848734){while(--_0x848734){_0xce8789['push'](_0xce8789['shift']());}};_0x1cc5db(++_0x436e26);}(_0x436e,0x9a));const _0x1cc5=function(_0xce8789,_0x436e26){_0xce8789=_0xce8789-0x0;let _0x1cc5db=_0x436e[_0xce8789];return _0x1cc5db;};import{View as _0x19f798,IconView as _0x2a819f}from'ckeditor5/src/ui';import _0x171661 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class w extends _0x19f798{constructor(_0x446e12,_0x4d39f4,_0x5d6d37){super(_0x446e12),this[_0x1cc5('0x9')]=_0x4d39f4[_0x1cc5('0x9')],this[_0x1cc5('0x1')]=null;const _0x488671=['ck',_0x1cc5('0xd')];if(_0x4d39f4[_0x1cc5('0xf')]&&_0x488671[_0x1cc5('0x7')](_0x1cc5('0xc')),_0x4d39f4[_0x1cc5('0x8')]&&_0x488671[_0x1cc5('0x7')](_0x1cc5('0x4')),_0x5d6d37){const _0x157211=new _0x2a819f();_0x157211['extendTemplate']({'attributes':{'class':[_0x1cc5('0x10')]}}),_0x157211[_0x1cc5('0xe')]=_0x171661,this[_0x1cc5('0x1')]={'tag':_0x1cc5('0x0'),'attributes':{'class':['ck',_0x1cc5('0x2')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5d6d37},'children':[_0x157211]};}const _0x3eb71d=[{'tag':_0x1cc5('0x0'),'attributes':{'class':_0x488671,'style':{'background-image':_0x4d39f4[_0x1cc5('0x8')]?'url(\x27'+_0x4d39f4['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x4d39f4[_0x1cc5('0x8')]?_0x1cc5('0xa'):_0x1cc5('0x6')},'children':[{'text':_0x4d39f4[_0x1cc5('0x3')]}]}];this[_0x1cc5('0x1')]&&_0x3eb71d[_0x1cc5('0x7')](this[_0x1cc5('0x1')]),this[_0x1cc5('0xb')]({'tag':'div','attributes':{'class':['ck',_0x1cc5('0x5')],'data-user-id':_0x4d39f4['id']},'children':_0x3eb71d});}}
23
+ const _0x2551=['isAnonymous','ck-user__notification','notificationView','setTemplate','avatar','content','name','extendTemplate','push','url(\x27','div','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__anonymous','ck-user__icon','ck-user__avatar','ck-user'];(function(_0x1e72b7,_0x25513b){const _0x30285a=function(_0x22ef74){while(--_0x22ef74){_0x1e72b7['push'](_0x1e72b7['shift']());}};_0x30285a(++_0x25513b);}(_0x2551,0xe4));const _0x3028=function(_0x1e72b7,_0x25513b){_0x1e72b7=_0x1e72b7-0x0;let _0x30285a=_0x2551[_0x1e72b7];return _0x30285a;};import{View as _0x1d6b8b,IconView as _0x4f43d7}from'ckeditor5/src/ui';import _0x27de17 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class w extends _0x1d6b8b{constructor(_0x16721d,_0x35f341,_0x413b66){super(_0x16721d),this[_0x3028('0x2')]=_0x35f341[_0x3028('0x2')],this[_0x3028('0xe')]=null;const _0x322928=['ck','ck-user__img'];if(_0x35f341[_0x3028('0xc')]&&_0x322928['push'](_0x3028('0x8')),_0x35f341['avatar']&&_0x322928[_0x3028('0x4')](_0x3028('0xa')),_0x413b66){const _0x29f645=new _0x4f43d7();_0x29f645[_0x3028('0x3')]({'attributes':{'class':[_0x3028('0x9')]}}),_0x29f645[_0x3028('0x1')]=_0x27de17,this[_0x3028('0xe')]={'tag':_0x3028('0x6'),'attributes':{'class':['ck',_0x3028('0xd')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x413b66},'children':[_0x29f645]};}const _0x5563aa=[{'tag':_0x3028('0x6'),'attributes':{'class':_0x322928,'style':{'background-image':_0x35f341[_0x3028('0x0')]?_0x3028('0x5')+_0x35f341[_0x3028('0x0')]+'\x27)':''}}},{'tag':_0x3028('0x6'),'attributes':{'class':_0x35f341['avatar']?_0x3028('0x7'):'ck\x20ck-user__name'},'children':[{'text':_0x35f341['initials']}]}];this['notificationView']&&_0x5563aa[_0x3028('0x4')](this[_0x3028('0xe')]),this[_0x3028('0xf')]({'tag':_0x3028('0x6'),'attributes':{'class':['ck',_0x3028('0xb')],'data-user-id':_0x35f341['id']},'children':_0x5563aa});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbeb5=['licenseKeyTrialLimit:time','_getNextColor','ck-user__selection--','split','trial-license-key-reached-limit-changes','Anonymous','anonymous-user','info','ck-user__bg-color--','_getInitial','invalid-license-key','length','destroy','users-add-invalid-id','Users','getUser','users-me-already-defined','name','useAnonymousUser','users.colorsCount','_isAnonymous','licenseKeyValid','has','charAt','_locale','users-add-duplicated-id','_lastColor','licenseKeyTrialLimit:operations','_addAnonymousUser','getSelectionClass','addUser','users-me-missing-user','init','assign','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','trial-license-key-reached-limit-revisions','requires','string','trial-license-key-reached-limit-time','_myId','licenseKeyInvalid','define','_id','config','licenseKeyTrial','pluginName','defineMe','context','locale','licenseKeyTrialLimit:revisions','users','trim','_licenseKeyCheckInterval','licenseKey','get','color','getBackgroundColorClass','users.anonymousUserId','isAnonymous','avatar'];(function(_0x49c218,_0xbeb549){const _0x5db873=function(_0x3799e0){while(--_0x3799e0){_0x49c218['push'](_0x49c218['shift']());}};_0x5db873(++_0xbeb549);}(_0xbeb5,0x19a));const _0x5db8=function(_0x49c218,_0xbeb549){_0x49c218=_0x49c218-0x0;let _0x5db873=_0xbeb5[_0x49c218];return _0x5db873;};import{ContextPlugin as _0x5104ea}from'ckeditor5/src/core';import{Collection as _0x5ecafa,CKEditorError as _0x4035f6}from'ckeditor5/src/utils';import _0x4d4199 from'./permissions';import{getTranslation as _0x4e8bf5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5104ea{static get[_0x5db8('0x37')](){return _0x5db8('0x18');}static get[_0x5db8('0x2e')](){return[_0x4d4199];}constructor(_0x5803c8){super(_0x5803c8),_0x5803c8[_0x5db8('0x35')][_0x5db8('0x33')](_0x5db8('0x7'),_0x5db8('0x10')),_0x5803c8[_0x5db8('0x35')][_0x5db8('0x33')](_0x5db8('0x1d'),0x8),this[_0x5db8('0x0')]=new _0x5ecafa(),this[_0x5db8('0x22')]=_0x5803c8[_0x5db8('0x3a')],this[_0x5db8('0x2')]=null,this['_lastColor']=0x0,this[_0x5db8('0x31')]=null,this['decorate']('getOperationAuthor');}[_0x5db8('0x2a')](){const _0x8031a4=this['context'];this['licenseKey']=_0x8031a4[_0x5db8('0x35')][_0x5db8('0x4')](_0x5db8('0x3'));const _0x44e565=[_0x5db8('0x36'),_0x5db8('0x32'),_0x5db8('0x1f'),'licenseKeyTrialLimit:operations',_0x5db8('0xa'),_0x5db8('0x3b')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x48ecb4;for(const _0x4893a0 in _0x8031a4){const _0x56eedf=_0x8031a4[_0x4893a0];if(_0x44e565['includes'](_0x56eedf)){delete _0x8031a4[_0x4893a0],_0x48ecb4=_0x56eedf;break;}}if(_0x5db8('0x32')===_0x48ecb4)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4035f6(_0x5db8('0x14'),null);if('licenseKeyTrial'===_0x48ecb4&&console[_0x5db8('0x11')](_0x5db8('0x2c')),_0x5db8('0x25')===_0x48ecb4)throw clearInterval(this[_0x5db8('0x2')]),new _0x4035f6(_0x5db8('0xe'),null);if('licenseKeyTrialLimit:time'===_0x48ecb4)throw clearInterval(this[_0x5db8('0x2')]),new _0x4035f6(_0x5db8('0x30'),null);if(_0x5db8('0x3b')===_0x48ecb4)throw clearInterval(this[_0x5db8('0x2')]),new _0x4035f6(_0x5db8('0x2d'),null);_0x5db8('0x1f')===_0x48ecb4&&clearInterval(this[_0x5db8('0x2')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this[_0x5db8('0x31')]);}['addUser'](_0x1552a1){if(!(_0x1552a1=Object[_0x5db8('0x2b')]({},_0x1552a1,{'color':this[_0x5db8('0xb')]()}))['id']||_0x5db8('0x2f')!=typeof _0x1552a1['id'])throw new _0x4035f6(_0x5db8('0x17'));if(this[_0x5db8('0x0')][_0x5db8('0x20')](_0x1552a1['id']))throw new _0x4035f6(_0x5db8('0x23'),null,{'id':_0x1552a1['id']});_0x1552a1[_0x5db8('0x1b')]=function(_0x3e8c02,_0xbb7ff0=''){return''==(_0xbb7ff0=_0xbb7ff0[_0x5db8('0x1')]())?_0x4e8bf5(_0x3e8c02,'Anonymous'):_0xbb7ff0;}(this[_0x5db8('0x22')],_0x1552a1[_0x5db8('0x1b')]);const _0x5b0296=new u(_0x1552a1);return this[_0x5db8('0x0')]['add'](_0x5b0296),_0x5b0296;}[_0x5db8('0x19')](_0x277ab9){return this[_0x5db8('0x0')]['get'](_0x277ab9);}[_0x5db8('0x1c')](){const _0x5e343e=this[_0x5db8('0x39')][_0x5db8('0x35')][_0x5db8('0x4')](_0x5db8('0x7'));this[_0x5db8('0x31')]||this['defineMe'](_0x5e343e);}[_0x5db8('0x38')](_0x8c691c){if(this[_0x5db8('0x31')])throw new _0x4035f6(_0x5db8('0x1a'),null);if(!this[_0x5db8('0x19')](_0x8c691c))throw new _0x4035f6(_0x5db8('0x29'),null);this['_myId']=_0x8c691c;}['getOperationAuthor'](){return this['me'];}[_0x5db8('0x16')](){super[_0x5db8('0x16')](),clearInterval(this[_0x5db8('0x2')]);}[_0x5db8('0xb')](){const _0x40f13d=this['context'][_0x5db8('0x35')][_0x5db8('0x4')](_0x5db8('0x1d'));return this[_0x5db8('0x24')]>=_0x40f13d&&(this[_0x5db8('0x24')]=0x0),new a(this[_0x5db8('0x24')]++);}[_0x5db8('0x26')](){const _0x41faf6=this[_0x5db8('0x39')][_0x5db8('0x35')][_0x5db8('0x4')](_0x5db8('0x7'));this[_0x5db8('0x28')]({'id':_0x41faf6,'name':_0x4e8bf5(this[_0x5db8('0x22')],_0x5db8('0xf'))})[_0x5db8('0x1e')]=!0x0;}}class u{constructor(_0x1ec12c){this['id']=_0x1ec12c['id'],this[_0x5db8('0x5')]=_0x1ec12c[_0x5db8('0x5')],this[_0x5db8('0x1b')]=_0x1ec12c[_0x5db8('0x1b')],this[_0x5db8('0x9')]=_0x1ec12c[_0x5db8('0x9')],this['_isAnonymous']=!0x1;}get[_0x5db8('0x8')](){return this[_0x5db8('0x1e')];}get['initials'](){const _0x54b8be=this[_0x5db8('0x1b')][_0x5db8('0xd')]('\x20');return 0x1===_0x54b8be['length']?this[_0x5db8('0x13')](_0x54b8be[0x0]):this[_0x5db8('0x13')](_0x54b8be[0x0])+this[_0x5db8('0x13')](_0x54b8be[_0x54b8be[_0x5db8('0x15')]-0x1]);}[_0x5db8('0x13')](_0x4c9d4c){return _0x4c9d4c[_0x5db8('0x21')](0x0)['toUpperCase']();}}class a{constructor(_0x51ab23){this['_id']=_0x51ab23;}[_0x5db8('0x6')](){return _0x5db8('0x12')+this[_0x5db8('0x34')];}[_0x5db8('0x27')](){return _0x5db8('0xc')+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this[_0x5db8('0x34')];}}
23
+ const _0x5cd0=['licenseKeyValid','trim','users.colorsCount','color','name','Users','init','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','getOperationAuthor','getBackgroundColorClass','destroy','addUser','_licenseKeyCheckInterval','useAnonymousUser','has','licenseKey','_isAnonymous','_id','context','charAt','users-add-invalid-id','Anonymous','_addAnonymousUser','_getInitial','toUpperCase','initials','get','decorate','_myId','length','ck-user__marker--','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:revisions','pluginName','licenseKeyInvalid','trial-license-key-reached-limit-revisions','_locale','requires','licenseKeyTrial','string','getUser','invalid-license-key','defineMe','_lastColor','users.anonymousUserId','config','split','isAnonymous','includes','users'];(function(_0x49e0c9,_0x5cd041){const _0x2760a4=function(_0x5b6406){while(--_0x5b6406){_0x49e0c9['push'](_0x49e0c9['shift']());}};_0x2760a4(++_0x5cd041);}(_0x5cd0,0x19a));const _0x2760=function(_0x49e0c9,_0x5cd041){_0x49e0c9=_0x49e0c9-0x0;let _0x2760a4=_0x5cd0[_0x49e0c9];return _0x2760a4;};import{ContextPlugin as _0x3752f9}from'ckeditor5/src/core';import{Collection as _0x5a4b0d,CKEditorError as _0x22ea44}from'ckeditor5/src/utils';import _0x431119 from'./permissions';import{getTranslation as _0x1b13a5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x3752f9{static get[_0x2760('0x17')](){return _0x2760('0x2d');}static get[_0x2760('0x1b')](){return[_0x431119];}constructor(_0x3ac124){super(_0x3ac124),_0x3ac124[_0x2760('0x23')]['define'](_0x2760('0x22'),'anonymous-user'),_0x3ac124[_0x2760('0x23')]['define'](_0x2760('0x2a'),0x8),this[_0x2760('0x27')]=new _0x5a4b0d(),this[_0x2760('0x1a')]=_0x3ac124['locale'],this[_0x2760('0x2')]=null,this[_0x2760('0x21')]=0x0,this[_0x2760('0x12')]=null,this[_0x2760('0x11')](_0x2760('0x30'));}[_0x2760('0x2e')](){const _0x369183=this[_0x2760('0x8')];this[_0x2760('0x5')]=_0x369183[_0x2760('0x23')][_0x2760('0x10')](_0x2760('0x5'));const _0x22bb8c=[_0x2760('0x1c'),_0x2760('0x18'),_0x2760('0x28'),_0x2760('0x15'),'licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59ceae;for(const _0x5cc224 in _0x369183){const _0x3ffe03=_0x369183[_0x5cc224];if(_0x22bb8c[_0x2760('0x26')](_0x3ffe03)){delete _0x369183[_0x5cc224],_0x59ceae=_0x3ffe03;break;}}if(_0x2760('0x18')===_0x59ceae)throw clearInterval(this[_0x2760('0x2')]),new _0x22ea44(_0x2760('0x1f'),null);if('licenseKeyTrial'===_0x59ceae&&console['info'](_0x2760('0x2f')),_0x2760('0x15')===_0x59ceae)throw clearInterval(this[_0x2760('0x2')]),new _0x22ea44('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x59ceae)throw clearInterval(this[_0x2760('0x2')]),new _0x22ea44('trial-license-key-reached-limit-time',null);if(_0x2760('0x16')===_0x59ceae)throw clearInterval(this[_0x2760('0x2')]),new _0x22ea44(_0x2760('0x19'),null);_0x2760('0x28')===_0x59ceae&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x2760('0x12')]?null:this[_0x2760('0x1e')](this[_0x2760('0x12')]);}[_0x2760('0x1')](_0x2d8bcf){if(!(_0x2d8bcf=Object['assign']({},_0x2d8bcf,{'color':this['_getNextColor']()}))['id']||_0x2760('0x1d')!=typeof _0x2d8bcf['id'])throw new _0x22ea44(_0x2760('0xa'));if(this['users'][_0x2760('0x4')](_0x2d8bcf['id']))throw new _0x22ea44('users-add-duplicated-id',null,{'id':_0x2d8bcf['id']});_0x2d8bcf['name']=function(_0x5de859,_0x3c6467=''){return''==(_0x3c6467=_0x3c6467[_0x2760('0x29')]())?_0x1b13a5(_0x5de859,_0x2760('0xb')):_0x3c6467;}(this['_locale'],_0x2d8bcf[_0x2760('0x2c')]);const _0x4ec8c8=new u(_0x2d8bcf);return this['users']['add'](_0x4ec8c8),_0x4ec8c8;}['getUser'](_0xaf3cde){return this[_0x2760('0x27')][_0x2760('0x10')](_0xaf3cde);}[_0x2760('0x3')](){const _0x2dbeb2=this['context'][_0x2760('0x23')]['get'](_0x2760('0x22'));this['_myId']||this[_0x2760('0x20')](_0x2dbeb2);}[_0x2760('0x20')](_0x461a7c){if(this[_0x2760('0x12')])throw new _0x22ea44('users-me-already-defined',null);if(!this[_0x2760('0x1e')](_0x461a7c))throw new _0x22ea44('users-me-missing-user',null);this['_myId']=_0x461a7c;}[_0x2760('0x30')](){return this['me'];}[_0x2760('0x0')](){super[_0x2760('0x0')](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x2b50dc=this[_0x2760('0x8')][_0x2760('0x23')][_0x2760('0x10')](_0x2760('0x2a'));return this[_0x2760('0x21')]>=_0x2b50dc&&(this[_0x2760('0x21')]=0x0),new a(this[_0x2760('0x21')]++);}[_0x2760('0xc')](){const _0x18f33c=this[_0x2760('0x8')]['config'][_0x2760('0x10')]('users.anonymousUserId');this[_0x2760('0x1')]({'id':_0x18f33c,'name':_0x1b13a5(this[_0x2760('0x1a')],_0x2760('0xb'))})[_0x2760('0x6')]=!0x0;}}class u{constructor(_0x570cb5){this['id']=_0x570cb5['id'],this['color']=_0x570cb5[_0x2760('0x2b')],this[_0x2760('0x2c')]=_0x570cb5['name'],this['avatar']=_0x570cb5['avatar'],this[_0x2760('0x6')]=!0x1;}get[_0x2760('0x25')](){return this[_0x2760('0x6')];}get[_0x2760('0xf')](){const _0x2b31b9=this['name'][_0x2760('0x24')]('\x20');return 0x1===_0x2b31b9[_0x2760('0x13')]?this[_0x2760('0xd')](_0x2b31b9[0x0]):this[_0x2760('0xd')](_0x2b31b9[0x0])+this[_0x2760('0xd')](_0x2b31b9[_0x2b31b9[_0x2760('0x13')]-0x1]);}[_0x2760('0xd')](_0x451532){return _0x451532[_0x2760('0x9')](0x0)[_0x2760('0xe')]();}}class a{constructor(_0x3ad98c){this[_0x2760('0x7')]=_0x3ad98c;}[_0x2760('0x31')](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this[_0x2760('0x7')];}['getMarkerClass'](){return _0x2760('0x14')+this[_0x2760('0x7')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x579541,_0x1a93c2){const t=_0x579541['t'];switch(_0x1a93c2){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
23
+ export function getTranslation(_0x52ed70,_0x1fdae0){const t=_0x52ed70['t'];switch(_0x1fdae0){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x47aa=['appendChild','message','render','destroy','once','isConfirm','set','_removeConfirm','confirmView','element','cancel','locale','submit','remove'];(function(_0x4dcbcd,_0x47aa7a){var _0x1581ee=function(_0x1e6274){while(--_0x1e6274){_0x4dcbcd['push'](_0x4dcbcd['shift']());}};_0x1581ee(++_0x47aa7a);}(_0x47aa,0x1ab));var _0x1581=function(_0x4dcbcd,_0x47aa7a){_0x4dcbcd=_0x4dcbcd-0x0;var _0x1581ee=_0x47aa[_0x4dcbcd];return _0x1581ee;};import _0x2826ff from'./confirmview';export default{'showConfirm'(_0x377f0a,_0x527e4d){return this[_0x1581('0x1')]=new _0x2826ff(this[_0x1581('0x4')]),this[_0x1581('0x1')][_0x1581('0x9')](),this[_0x1581('0x1')][_0x1581('0x8')]=_0x377f0a,this[_0x1581('0x1')][_0x1581('0xb')](_0x1581('0x3'),()=>{this[_0x1581('0x0')]();}),this[_0x1581('0x1')][_0x1581('0xb')](_0x1581('0x5'),()=>{this[_0x1581('0x0')]();}),_0x527e4d[_0x1581('0x7')](this[_0x1581('0x1')]['element']),this['registerChild'](this[_0x1581('0x1')]),this[_0x1581('0xd')](_0x1581('0xc'),!0x0),new Promise(_0x1699ed=>this[_0x1581('0x1')]['on'](_0x1581('0x5'),_0x1699ed));},'cancelConfirm'(){this[_0x1581('0xc')]&&this[_0x1581('0x1')]['fire'](_0x1581('0x3'));},'_removeConfirm'(){this[_0x1581('0x1')][_0x1581('0x2')][_0x1581('0x6')](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this[_0x1581('0x1')][_0x1581('0xa')](),delete this[_0x1581('0x1')];}};
23
+ var _0x13a2=['once','render','message','cancel','confirmView','locale','element','_removeConfirm','fire','appendChild','set','registerChild','isConfirm','remove','submit','destroy'];(function(_0x3ef1a7,_0x13a2f3){var _0x3f137b=function(_0x4a1dae){while(--_0x4a1dae){_0x3ef1a7['push'](_0x3ef1a7['shift']());}};_0x3f137b(++_0x13a2f3);}(_0x13a2,0x74));var _0x3f13=function(_0x3ef1a7,_0x13a2f3){_0x3ef1a7=_0x3ef1a7-0x0;var _0x3f137b=_0x13a2[_0x3ef1a7];return _0x3f137b;};import _0x2d0319 from'./confirmview';export default{'showConfirm'(_0xf15ecd,_0x74b52f){return this['confirmView']=new _0x2d0319(this[_0x3f13('0x1')]),this[_0x3f13('0x0')][_0x3f13('0xd')](),this[_0x3f13('0x0')][_0x3f13('0xe')]=_0xf15ecd,this['confirmView'][_0x3f13('0xc')]('cancel',()=>{this[_0x3f13('0x3')]();}),this['confirmView'][_0x3f13('0xc')]('submit',()=>{this[_0x3f13('0x3')]();}),_0x74b52f[_0x3f13('0x5')](this[_0x3f13('0x0')][_0x3f13('0x2')]),this[_0x3f13('0x7')](this['confirmView']),this[_0x3f13('0x6')](_0x3f13('0x8'),!0x0),new Promise(_0x3d2c48=>this[_0x3f13('0x0')]['on'](_0x3f13('0xa'),_0x3d2c48));},'cancelConfirm'(){this[_0x3f13('0x8')]&&this[_0x3f13('0x0')][_0x3f13('0x4')](_0x3f13('0xf'));},'_removeConfirm'(){this[_0x3f13('0x0')][_0x3f13('0x2')][_0x3f13('0x9')](),this['deregisterChild'](this[_0x3f13('0x0')]),this[_0x3f13('0x8')]=!0x1,this[_0x3f13('0x0')][_0x3f13('0xb')](),delete this[_0x3f13('0x0')];}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c85=['execute','cancelView','icon','Yes','fire','submit','bindTemplate','ck-thread__remove-confirm-actions','Are\x20you\x20sure?','extendTemplate','div','ck-thread__remove-confirm-','ck-thread__remove-confirm','label','message','check','_createButtonView','submitView','set','ck-thread__remove-confirm-inner','cancel'];(function(_0x5850a8,_0x1c8591){const _0x330749=function(_0x34efdf){while(--_0x34efdf){_0x5850a8['push'](_0x5850a8['shift']());}};_0x330749(++_0x1c8591);}(_0x1c85,0x1d7));const _0x3307=function(_0x5850a8,_0x1c8591){_0x5850a8=_0x5850a8-0x0;let _0x330749=_0x1c85[_0x5850a8];return _0x330749;};import{View as _0x525a68,ButtonView as _0x20af12}from'ckeditor5/src/ui';import{icons as _0x37f330}from'ckeditor5/src/core';import{getTranslation as _0x3c1977}from'./common-translations';export default class h extends _0x525a68{constructor(_0x5e1184){super(_0x5e1184);const _0x459b3d=this[_0x3307('0x12')];this[_0x3307('0x8')]=this[_0x3307('0x7')](_0x5e1184,_0x3c1977(_0x5e1184,_0x3307('0xf')),_0x37f330[_0x3307('0x6')],_0x3307('0x11')),this[_0x3307('0xd')]=this[_0x3307('0x7')](_0x5e1184,_0x3c1977(_0x5e1184,'No'),_0x37f330[_0x3307('0xb')],_0x3307('0xb')),this[_0x3307('0x9')]('message',_0x3c1977(_0x5e1184,_0x3307('0x14'))),this['setTemplate']({'tag':_0x3307('0x1'),'attributes':{'class':[_0x3307('0x3')]},'children':[{'tag':_0x3307('0x1'),'attributes':{'class':_0x3307('0xa')},'children':[{'tag':'p','children':[{'text':_0x459b3d['to'](_0x3307('0x5'))}]},{'tag':_0x3307('0x1'),'attributes':{'class':_0x3307('0x13')},'children':[this[_0x3307('0x8')],this[_0x3307('0xd')]]}]}]});}['_createButtonView'](_0xf8aebe,_0x1791f9,_0x3e0126,_0x3662fa){const _0x1e83e0=new _0x20af12(_0xf8aebe);return _0x1e83e0[_0x3307('0x4')]=_0x1791f9,_0x1e83e0[_0x3307('0xe')]=_0x3e0126,_0x1e83e0[_0x3307('0x0')]({'attributes':{'class':_0x3307('0x2')+_0x3662fa}}),_0x1e83e0['on'](_0x3307('0xc'),()=>this[_0x3307('0x10')](_0x3662fa)),_0x1e83e0;}}
23
+ const _0x4a2c=['submitView','message','cancel','div','ck-thread__remove-confirm-','setTemplate','submit','check','execute','ck-thread__remove-confirm-inner','ck-thread__remove-confirm-actions','cancelView','bindTemplate','label','icon','fire','set','_createButtonView','Are\x20you\x20sure?'];(function(_0x37bad9,_0x4a2cd7){const _0x1b1139=function(_0x18fc8f){while(--_0x18fc8f){_0x37bad9['push'](_0x37bad9['shift']());}};_0x1b1139(++_0x4a2cd7);}(_0x4a2c,0x14e));const _0x1b11=function(_0x37bad9,_0x4a2cd7){_0x37bad9=_0x37bad9-0x0;let _0x1b1139=_0x4a2c[_0x37bad9];return _0x1b1139;};import{View as _0x412744,ButtonView as _0x5af5c7}from'ckeditor5/src/ui';import{icons as _0x4f8240}from'ckeditor5/src/core';import{getTranslation as _0x22bd70}from'./common-translations';export default class h extends _0x412744{constructor(_0x2b49a0){super(_0x2b49a0);const _0x26d81f=this[_0x1b11('0x1')];this[_0x1b11('0x8')]=this['_createButtonView'](_0x2b49a0,_0x22bd70(_0x2b49a0,'Yes'),_0x4f8240[_0x1b11('0xf')],_0x1b11('0xe')),this[_0x1b11('0x0')]=this[_0x1b11('0x6')](_0x2b49a0,_0x22bd70(_0x2b49a0,'No'),_0x4f8240['cancel'],_0x1b11('0xa')),this[_0x1b11('0x5')](_0x1b11('0x9'),_0x22bd70(_0x2b49a0,_0x1b11('0x7'))),this[_0x1b11('0xd')]({'tag':_0x1b11('0xb'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x1b11('0xb'),'attributes':{'class':_0x1b11('0x11')},'children':[{'tag':'p','children':[{'text':_0x26d81f['to'](_0x1b11('0x9'))}]},{'tag':_0x1b11('0xb'),'attributes':{'class':_0x1b11('0x12')},'children':[this[_0x1b11('0x8')],this[_0x1b11('0x0')]]}]}]});}[_0x1b11('0x6')](_0x2ca0e9,_0x42cf2f,_0x1443f1,_0x297dbf){const _0x4fa154=new _0x5af5c7(_0x2ca0e9);return _0x4fa154[_0x1b11('0x2')]=_0x42cf2f,_0x4fa154[_0x1b11('0x3')]=_0x1443f1,_0x4fa154['extendTemplate']({'attributes':{'class':_0x1b11('0xc')+_0x297dbf}}),_0x4fa154['on'](_0x1b11('0x10'),()=>this[_0x1b11('0x4')](_0x297dbf)),_0x4fa154;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54d4=['string','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma'];(function(_0x43f152,_0x54d4cc){const _0x418f19=function(_0x7323d9){while(--_0x7323d9){_0x43f152['push'](_0x43f152['shift']());}};_0x418f19(++_0x54d4cc);}(_0x54d4,0x75));const _0x418f=function(_0x43f152,_0x54d4cc){_0x43f152=_0x43f152-0x0;let _0x418f19=_0x54d4[_0x43f152];return _0x418f19;};import _0x47eda8 from'date-fns/format';import _0x4c3066 from'date-fns/parseISO';import _0x156acb from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x32deb3}from'ckeditor5/src/utils';export default function E(_0x575ed8={}){if(void 0x0!==_0x575ed8[_0x418f('0x4')]&&'function'!=typeof _0x575ed8['dateTimeFormat'])throw new _0x32deb3('invalid-date-time-format');return _0x48d635=>{const _0xad5d9=_0x418f('0x3')==typeof _0x48d635?_0x4c3066(_0x48d635):_0x48d635,_0x551948=new Date(),_0x4075d1=_0x156acb(_0x551948,_0xad5d9);return _0x575ed8['dateTimeFormat']?_0x575ed8['dateTimeFormat'](_0xad5d9):_0x47eda8(_0xad5d9,0x0===_0x4075d1?_0x418f('0x2'):0x1===_0x4075d1?_0x418f('0x0'):_0x4075d1<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x418f('0x1'));};}
23
+ const _0x343a=['\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat','invalid-date-time-format','function','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','string'];(function(_0x13a454,_0x343a79){const _0x27a573=function(_0x5ea0f3){while(--_0x5ea0f3){_0x13a454['push'](_0x13a454['shift']());}};_0x27a573(++_0x343a79);}(_0x343a,0xb6));const _0x27a5=function(_0x13a454,_0x343a79){_0x13a454=_0x13a454-0x0;let _0x27a573=_0x343a[_0x13a454];return _0x27a573;};import _0x541fe6 from'date-fns/format';import _0x3aaeb2 from'date-fns/parseISO';import _0x17a05f from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x6f1ff2}from'ckeditor5/src/utils';export default function E(_0x1c14f3={}){if(void 0x0!==_0x1c14f3[_0x27a5('0x4')]&&_0x27a5('0x6')!=typeof _0x1c14f3['dateTimeFormat'])throw new _0x6f1ff2(_0x27a5('0x5'));return _0x4d88ee=>{const _0x2a4577=_0x27a5('0x1')==typeof _0x4d88ee?_0x3aaeb2(_0x4d88ee):_0x4d88ee,_0x34c591=new Date(),_0x3e0bc7=_0x17a05f(_0x34c591,_0x2a4577);return _0x1c14f3[_0x27a5('0x4')]?_0x1c14f3[_0x27a5('0x4')](_0x2a4577):_0x541fe6(_0x2a4577,0x0===_0x3e0bc7?_0x27a5('0x0'):0x1===_0x3e0bc7?_0x27a5('0x2'):_0x3e0bc7<0x7?_0x27a5('0x7'):_0x27a5('0x3'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a40=['values','domConverter','markerNameToElements','view','name','mapper'];(function(_0x3ab975,_0x1a40e1){const _0x579207=function(_0x19b60c){while(--_0x19b60c){_0x3ab975['push'](_0x3ab975['shift']());}};_0x579207(++_0x1a40e1);}(_0x1a40,0x15a));const _0x5792=function(_0x3ab975,_0x1a40e1){_0x3ab975=_0x3ab975-0x0;let _0x579207=_0x1a40[_0x3ab975];return _0x579207;};import{first as _0x4a3800}from'ckeditor5/src/utils';export default function x(_0x200c8b,_0x4eb65f){const _0x2e5cf3=_0x200c8b[_0x5792('0x1')][_0x5792('0x4')](_0x4eb65f[_0x5792('0x0')]),_0x2dd1fb=_0x4a3800(_0x2e5cf3[_0x5792('0x2')]());return _0x200c8b[_0x5792('0x5')][_0x5792('0x3')]['mapViewToDom'](_0x2dd1fb);}
23
+ const _0x4185=['mapper','domConverter','name','markerNameToElements','mapViewToDom','values','view'];(function(_0x26763c,_0x418508){const _0x570ae9=function(_0x49b008){while(--_0x49b008){_0x26763c['push'](_0x26763c['shift']());}};_0x570ae9(++_0x418508);}(_0x4185,0x105));const _0x570a=function(_0x26763c,_0x418508){_0x26763c=_0x26763c-0x0;let _0x570ae9=_0x4185[_0x26763c];return _0x570ae9;};import{first as _0x19c3c3}from'ckeditor5/src/utils';export default function x(_0x3a5ae3,_0x431200){const _0x53dbcc=_0x3a5ae3[_0x570a('0x5')][_0x570a('0x1')](_0x431200[_0x570a('0x0')]),_0x44affd=_0x19c3c3(_0x53dbcc[_0x570a('0x3')]());return _0x3a5ae3[_0x570a('0x4')][_0x570a('0x6')][_0x570a('0x2')](_0x44affd);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4165=['toString','number','keys','sign','sort','boolean'];(function(_0x5f4807,_0x416536){const _0x17c4b9=function(_0xd81a6a){while(--_0xd81a6a){_0x5f4807['push'](_0x5f4807['shift']());}};_0x17c4b9(++_0x416536);}(_0x4165,0x1f4));const _0x17c4=function(_0x5f4807,_0x416536){_0x5f4807=_0x5f4807-0x0;let _0x17c4b9=_0x4165[_0x5f4807];return _0x17c4b9;};export default function b(_0x1aec4f){let _0x226f44=0x0,_0x3e14ed=0x0;for(const _0x487619 of g(_0x1aec4f))_0x226f44=(_0x226f44<<0x5)-_0x226f44+_0x487619,_0x226f44&=_0x226f44,[_0x226f44,_0x3e14ed]=[_0x3e14ed,_0x226f44];return O(_0x226f44)+O(_0x3e14ed);}function*j(_0x34a01e){_0x34a01e?_0x17c4('0x3')==typeof _0x34a01e?yield 0x1:Array['isArray'](_0x34a01e)?yield*function*(_0x5f2a46){for(const _0x1bcd6e of _0x5f2a46)yield*j(_0x1bcd6e);}(_0x34a01e):'object'==typeof _0x34a01e?yield*g(_0x34a01e):'string'==typeof _0x34a01e?yield*A(_0x34a01e):_0x17c4('0x5')==typeof _0x34a01e&&(yield _0x34a01e):yield 0x0;}function*g(_0x13bcb3){if(yield M('{'),_0x13bcb3){const _0x5698c0=Object[_0x17c4('0x0')](_0x13bcb3)[_0x17c4('0x2')]();for(const _0xe017e1 of _0x5698c0){yield*A(_0xe017e1),yield M(':');const _0x5af064=_0x13bcb3[_0xe017e1];yield*j(_0x5af064);}}yield M('}');}function*A(_0x49d2fc){yield M('\x22');for(const _0x25c2d6 of _0x49d2fc)yield M(_0x25c2d6);yield M('\x22');}function M(_0x146da6){return _0x146da6['charCodeAt'](0x0);}function O(_0x403884){return(_0x403884*=Math[_0x17c4('0x1')](_0x403884))[_0x17c4('0x4')](0x24);}
23
+ const _0x39cd=['keys','string','sign','toString','isArray','number','charCodeAt'];(function(_0x536694,_0x39cd17){const _0x52e8e6=function(_0x2687de){while(--_0x2687de){_0x536694['push'](_0x536694['shift']());}};_0x52e8e6(++_0x39cd17);}(_0x39cd,0x1c2));const _0x52e8=function(_0x536694,_0x39cd17){_0x536694=_0x536694-0x0;let _0x52e8e6=_0x39cd[_0x536694];return _0x52e8e6;};export default function b(_0x519efa){let _0x34b6c4=0x0,_0x5e521f=0x0;for(const _0x21ddca of g(_0x519efa))_0x34b6c4=(_0x34b6c4<<0x5)-_0x34b6c4+_0x21ddca,_0x34b6c4&=_0x34b6c4,[_0x34b6c4,_0x5e521f]=[_0x5e521f,_0x34b6c4];return O(_0x34b6c4)+O(_0x5e521f);}function*j(_0x39a6a0){_0x39a6a0?'boolean'==typeof _0x39a6a0?yield 0x1:Array[_0x52e8('0x2')](_0x39a6a0)?yield*function*(_0x3414f1){for(const _0x1d183b of _0x3414f1)yield*j(_0x1d183b);}(_0x39a6a0):'object'==typeof _0x39a6a0?yield*g(_0x39a6a0):_0x52e8('0x6')==typeof _0x39a6a0?yield*A(_0x39a6a0):_0x52e8('0x3')==typeof _0x39a6a0&&(yield _0x39a6a0):yield 0x0;}function*g(_0x3093d5){if(yield M('{'),_0x3093d5){const _0x5e8a4e=Object[_0x52e8('0x5')](_0x3093d5)['sort']();for(const _0x94dc9d of _0x5e8a4e){yield*A(_0x94dc9d),yield M(':');const _0x48477c=_0x3093d5[_0x94dc9d];yield*j(_0x48477c);}}yield M('}');}function*A(_0x14d512){yield M('\x22');for(const _0x5364cc of _0x14d512)yield M(_0x5364cc);yield M('\x22');}function M(_0x3d98a4){return _0x3d98a4[_0x52e8('0x4')](0x0);}function O(_0x1a3994){return(_0x1a3994*=Math[_0x52e8('0x0')](_0x1a3994))[_0x52e8('0x1')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25bb=['indexOf','push','join','replace','length','...','split','pop','slice','substring','startsWith'];(function(_0x472db1,_0x25bbd4){const _0x28fdc5=function(_0x1c8aaf){while(--_0x1c8aaf){_0x472db1['push'](_0x472db1['shift']());}};_0x28fdc5(++_0x25bbd4);}(_0x25bb,0x18f));const _0x28fd=function(_0x472db1,_0x25bbd4){_0x472db1=_0x472db1-0x0;let _0x28fdc5=_0x25bb[_0x472db1];return _0x28fdc5;};export default function z(_0x24038a,{limit:_0x58236e,suffix:_0x4bf071=_0x28fd('0x2')}){const _0x52dad9=[];let _0x29bab5=0x0;const _0x4936a2=_0x24038a[_0x28fd('0x0')](/</g,'\x0a<')[_0x28fd('0x0')](/>/g,'>\x0a')[_0x28fd('0x0')](/^\n/g,'')[_0x28fd('0x0')](/\n$/g,'')[_0x28fd('0x3')]('\x0a');for(let _0x5e00f8=0x0;_0x5e00f8<_0x4936a2['length'];_0x5e00f8++){let _0x4d43a3=_0x4936a2[_0x5e00f8];const _0x3b906e=Z(_0x4d43a3);if(_0x4d43a3[_0x28fd('0x7')]('<')){if(_0x29bab5>=_0x58236e){const _0x158853=_0x4d43a3['match'](/[a-zA-Z]+/)[0x0];_0x4d43a3[_0x28fd('0x7')]('</')?(_0x52dad9['length']&&(_0x4d43a3=''),_0x52dad9[_0x28fd('0x4')]()):(_0x52dad9['push'](_0x158853),_0x4d43a3='');}}else{if(_0x29bab5>=_0x58236e)_0x4d43a3='';else{if(_0x29bab5+_0x3b906e[_0x28fd('0x1')]>=_0x58236e){let _0x475345=_0x58236e-_0x29bab5;if('\x20'===_0x3b906e[_0x475345-0x1])_0x475345--;else{const _0x3bea2c=_0x3b906e[_0x28fd('0x5')](_0x475345)[_0x28fd('0x8')]('\x20');-0x1!==_0x3bea2c?_0x475345+=_0x3bea2c:_0x475345=_0x4d43a3[_0x28fd('0x1')];}_0x4d43a3=_0x3b906e[_0x28fd('0x5')](0x0,_0x475345)['join']('')+_0x4bf071,_0x29bab5=_0x58236e;}else _0x29bab5+=_0x3b906e[_0x28fd('0x1')];}}_0x4936a2[_0x5e00f8]=_0x4d43a3;}return _0x4936a2[_0x28fd('0xa')]('\x0a')[_0x28fd('0x0')](/\n/g,'');}function Z(_0x14789a){const _0x37d2fd=[];for(let _0x2990fb=0x0;_0x2990fb<_0x14789a[_0x28fd('0x1')];_0x2990fb++){const _0x5f29fa=_0x14789a[_0x28fd('0x6')](_0x2990fb)['match'](/^&[a-z0-9#]+;/);if(_0x5f29fa){const _0x12e798=_0x5f29fa[0x0];_0x37d2fd[_0x28fd('0x9')](_0x12e798),_0x2990fb+=_0x12e798[_0x28fd('0x1')]-0x1;}else _0x37d2fd['push'](_0x14789a[_0x2990fb]);}return _0x37d2fd;}
23
+ const _0x3bcc=['replace','split','push','indexOf','match','substring','length','...','pop','slice','join','startsWith'];(function(_0x1fe26e,_0x3bcc7d){const _0xb6c33d=function(_0x183d72){while(--_0x183d72){_0x1fe26e['push'](_0x1fe26e['shift']());}};_0xb6c33d(++_0x3bcc7d);}(_0x3bcc,0xea));const _0xb6c3=function(_0x1fe26e,_0x3bcc7d){_0x1fe26e=_0x1fe26e-0x0;let _0xb6c33d=_0x3bcc[_0x1fe26e];return _0xb6c33d;};export default function z(_0x5fb308,{limit:_0x51d4ac,suffix:_0x4319e4=_0xb6c3('0x1')}){const _0x2e25b6=[];let _0x4bb74d=0x0;const _0x33fbd2=_0x5fb308[_0xb6c3('0x6')](/</g,'\x0a<')[_0xb6c3('0x6')](/>/g,'>\x0a')[_0xb6c3('0x6')](/^\n/g,'')[_0xb6c3('0x6')](/\n$/g,'')[_0xb6c3('0x7')]('\x0a');for(let _0x4fc949=0x0;_0x4fc949<_0x33fbd2[_0xb6c3('0x0')];_0x4fc949++){let _0x975006=_0x33fbd2[_0x4fc949];const _0x28fdcd=Z(_0x975006);if(_0x975006['startsWith']('<')){if(_0x4bb74d>=_0x51d4ac){const _0x4a76b4=_0x975006[_0xb6c3('0xa')](/[a-zA-Z]+/)[0x0];_0x975006[_0xb6c3('0x5')]('</')?(_0x2e25b6[_0xb6c3('0x0')]&&(_0x975006=''),_0x2e25b6[_0xb6c3('0x2')]()):(_0x2e25b6['push'](_0x4a76b4),_0x975006='');}}else{if(_0x4bb74d>=_0x51d4ac)_0x975006='';else{if(_0x4bb74d+_0x28fdcd[_0xb6c3('0x0')]>=_0x51d4ac){let _0x3f5a77=_0x51d4ac-_0x4bb74d;if('\x20'===_0x28fdcd[_0x3f5a77-0x1])_0x3f5a77--;else{const _0x2fcce=_0x28fdcd[_0xb6c3('0x3')](_0x3f5a77)[_0xb6c3('0x9')]('\x20');-0x1!==_0x2fcce?_0x3f5a77+=_0x2fcce:_0x3f5a77=_0x975006['length'];}_0x975006=_0x28fdcd[_0xb6c3('0x3')](0x0,_0x3f5a77)[_0xb6c3('0x4')]('')+_0x4319e4,_0x4bb74d=_0x51d4ac;}else _0x4bb74d+=_0x28fdcd[_0xb6c3('0x0')];}}_0x33fbd2[_0x4fc949]=_0x975006;}return _0x33fbd2[_0xb6c3('0x4')]('\x0a')[_0xb6c3('0x6')](/\n/g,'');}function Z(_0x5606de){const _0x3e3079=[];for(let _0x58bf31=0x0;_0x58bf31<_0x5606de['length'];_0x58bf31++){const _0x116dda=_0x5606de[_0xb6c3('0xb')](_0x58bf31)[_0xb6c3('0xa')](/^&[a-z0-9#]+;/);if(_0x116dda){const _0x51568e=_0x116dda[0x0];_0x3e3079[_0xb6c3('0x8')](_0x51568e),_0x58bf31+=_0x51568e[_0xb6c3('0x0')]-0x1;}else _0x3e3079[_0xb6c3('0x8')](_0x5606de[_0x58bf31]);}return _0x3e3079;}