@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231222.0 → 0.0.0-nightly-20231223.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "0.0.0-nightly-20231222.0",
3
+ "version": "0.0.0-nightly-20231223.0",
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/)",
@@ -32,7 +32,7 @@
32
32
  "type": "module",
33
33
  "main": "src/index.js",
34
34
  "dependencies": {
35
- "ckeditor5": "0.0.0-nightly-20231222.0",
35
+ "ckeditor5": "0.0.0-nightly-20231223.0",
36
36
  "date-fns": "2.30.0"
37
37
  },
38
38
  "files": [
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bac=['noPermissions','Permissions','CommentsRepository','clearForceDisabled','disableReadOnlyMode','enableReadOnlyMode','has','plugins','get','forceDisabled','no-permissions','permissions-set-permissions-invalid-channel-id','comment:write','includes','editors','context','collaboration.channelId','isEnabled','setPermissions','document:write','addCommentThread','pluginName','CommentsOnly','config'];(function(_0x51f5b7,_0x4bacc2){const _0x160a86=function(_0x34433d){while(--_0x34433d){_0x51f5b7['push'](_0x51f5b7['shift']());}};_0x160a86(++_0x4bacc2);}(_0x4bac,0x1bc));const _0x160a=function(_0x51f5b7,_0x4bacc2){_0x51f5b7=_0x51f5b7-0x0;let _0x160a86=_0x4bac[_0x51f5b7];return _0x160a86;};import{ContextPlugin as _0x23930f,Editor as _0x6d7e8d}from'ckeditor5/src/core.js';import{CKEditorError as _0x40614a}from'ckeditor5/src/utils.js';export default class n extends _0x23930f{static get[_0x160a('0x9')](){return _0x160a('0xd');}[_0x160a('0x6')](_0x24cb46,_0x4663d6){let _0x41c55c;if(_0x4663d6||(_0x4663d6=this['context']['config']['get'](_0x160a('0x4'))),this[_0x160a('0x3')][_0x160a('0xb')][_0x160a('0x14')]('collaboration.channelId')==_0x4663d6?_0x41c55c=this[_0x160a('0x3')]:_0x160a('0x2')in this[_0x160a('0x3')]&&this[_0x160a('0x3')][_0x160a('0x2')]&&(_0x41c55c=this[_0x160a('0x3')][_0x160a('0x2')]['find'](_0x3726b3=>_0x3726b3['config'][_0x160a('0x14')](_0x160a('0x4'))==_0x4663d6)),!_0x41c55c)throw new _0x40614a(_0x160a('0x17'),null);const _0x3b53d6=_0x41c55c[_0x160a('0x13')],_0x1fb672=_0x3b53d6['has'](_0x160a('0xe'))?_0x3b53d6[_0x160a('0x14')]('CommentsRepository'):void 0x0,_0x34c492=_0x3b53d6[_0x160a('0x12')](_0x160a('0xa'))&&_0x3b53d6[_0x160a('0x14')]('CommentsOnly'),_0x4c2b9c=_0x24cb46[_0x160a('0x1')](_0x160a('0x7')),_0x272fcb=_0x24cb46[_0x160a('0x1')]('comment:modify_all'),_0x250e09=_0x24cb46[_0x160a('0x1')]('comment:admin'),_0x423f56=_0x24cb46[_0x160a('0x1')](_0x160a('0x0')),_0x4de2c=_0x423f56||_0x250e09,_0x44b38d=_0x4de2c||_0x272fcb,_0xcf13bd=_0x4c2b9c||_0x4de2c;(_0x34c492&&(_0x34c492[_0x160a('0x5')]=!_0x4c2b9c&&_0x44b38d),_0x41c55c instanceof _0x6d7e8d)&&(!(_0x4c2b9c||_0x44b38d&&_0x1fb672)?_0x41c55c[_0x160a('0x11')](_0x160a('0x16')):_0x41c55c[_0x160a('0x10')]('no-permissions'));if(_0x1fb672){_0x1fb672[_0x160a('0x6')]({'admin':_0x250e09,'modifyAll':_0x272fcb,'write':_0x423f56,'resolve':_0xcf13bd},_0x4663d6);const _0x32f9e6=_0x41c55c instanceof _0x6d7e8d&&_0x41c55c['commands']['get'](_0x160a('0x8'));_0x32f9e6&&(_0x4de2c?_0x32f9e6[_0x160a('0xf')](_0x160a('0xc')):_0x32f9e6[_0x160a('0x15')]('noPermissions'));}}}
23
+ const _0x1073=['document:write','noPermissions','addCommentThread','comment:admin','find','commands','Permissions','editors','forceDisabled','plugins','pluginName','comment:modify_all','CommentsOnly','has','collaboration.channelId','CommentsRepository','includes','disableReadOnlyMode','isEnabled','setPermissions','get','config','permissions-set-permissions-invalid-channel-id','context','no-permissions'];(function(_0x5d9be6,_0x10739a){const _0x341f34=function(_0x222a3b){while(--_0x222a3b){_0x5d9be6['push'](_0x5d9be6['shift']());}};_0x341f34(++_0x10739a);}(_0x1073,0x1ed));const _0x341f=function(_0x5d9be6,_0x10739a){_0x5d9be6=_0x5d9be6-0x0;let _0x341f34=_0x1073[_0x5d9be6];return _0x341f34;};import{ContextPlugin as _0x3da994,Editor as _0x5dd88e}from'ckeditor5/src/core.js';import{CKEditorError as _0x4c3b2f}from'ckeditor5/src/utils.js';export default class n extends _0x3da994{static get[_0x341f('0x11')](){return _0x341f('0xd');}[_0x341f('0x1')](_0x2ef274,_0x2e2760){let _0x3d3a26;if(_0x2e2760||(_0x2e2760=this[_0x341f('0x5')][_0x341f('0x3')][_0x341f('0x2')]('collaboration.channelId')),this[_0x341f('0x5')][_0x341f('0x3')]['get'](_0x341f('0x15'))==_0x2e2760?_0x3d3a26=this['context']:_0x341f('0xe')in this[_0x341f('0x5')]&&this['context'][_0x341f('0xe')]&&(_0x3d3a26=this[_0x341f('0x5')][_0x341f('0xe')][_0x341f('0xb')](_0x3a7863=>_0x3a7863['config'][_0x341f('0x2')](_0x341f('0x15'))==_0x2e2760)),!_0x3d3a26)throw new _0x4c3b2f(_0x341f('0x4'),null);const _0x19dac1=_0x3d3a26[_0x341f('0x10')],_0x48544d=_0x19dac1[_0x341f('0x14')](_0x341f('0x16'))?_0x19dac1[_0x341f('0x2')](_0x341f('0x16')):void 0x0,_0x2f57f8=_0x19dac1[_0x341f('0x14')](_0x341f('0x13'))&&_0x19dac1[_0x341f('0x2')](_0x341f('0x13')),_0x5b22b1=_0x2ef274[_0x341f('0x17')](_0x341f('0x7')),_0x216bec=_0x2ef274[_0x341f('0x17')](_0x341f('0x12')),_0x525ac8=_0x2ef274[_0x341f('0x17')](_0x341f('0xa')),_0x360947=_0x2ef274[_0x341f('0x17')]('comment:write'),_0x34c27e=_0x360947||_0x525ac8,_0x1b2a0c=_0x34c27e||_0x216bec,_0x1661ef=_0x5b22b1||_0x34c27e;(_0x2f57f8&&(_0x2f57f8[_0x341f('0x0')]=!_0x5b22b1&&_0x1b2a0c),_0x3d3a26 instanceof _0x5dd88e)&&(!(_0x5b22b1||_0x1b2a0c&&_0x48544d)?_0x3d3a26['enableReadOnlyMode'](_0x341f('0x6')):_0x3d3a26[_0x341f('0x18')](_0x341f('0x6')));if(_0x48544d){_0x48544d[_0x341f('0x1')]({'admin':_0x525ac8,'modifyAll':_0x216bec,'write':_0x360947,'resolve':_0x1661ef},_0x2e2760);const _0x3c95d1=_0x3d3a26 instanceof _0x5dd88e&&_0x3d3a26[_0x341f('0xc')]['get'](_0x341f('0x9'));_0x3c95d1&&(_0x34c27e?_0x3c95d1['clearForceDisabled'](_0x341f('0x8')):_0x3c95d1[_0x341f('0xf')](_0x341f('0x8')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c02=['ck\x20ck-user__name\x20ck-user__name--hidden','ck\x20ck-user__name','div','avatar','ck-user__anonymous','setTemplate','isAnonymous','ck-user__img','initials','ck-user__notification','ck-user__icon','url(\x27','push','name','notificationView','extendTemplate','ck-user'];(function(_0x18e379,_0x4c0222){const _0x49533d=function(_0x5c340d){while(--_0x5c340d){_0x18e379['push'](_0x18e379['shift']());}};_0x49533d(++_0x4c0222);}(_0x4c02,0xcc));const _0x4953=function(_0x18e379,_0x4c0222){_0x18e379=_0x18e379-0x0;let _0x49533d=_0x4c02[_0x18e379];return _0x49533d;};import{View as _0x5e7194,IconView as _0x1dc954}from'ckeditor5/src/ui.js';import _0x23120c from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x5e7194{constructor(_0x40efc4,_0x32fd8f,_0x442ecd){super(_0x40efc4),this['name']=_0x32fd8f[_0x4953('0xd')],this[_0x4953('0xe')]=null;const _0x4b3651=['ck',_0x4953('0x7')];if(_0x32fd8f[_0x4953('0x6')]&&_0x4b3651[_0x4953('0xc')](_0x4953('0x4')),_0x32fd8f[_0x4953('0x3')]&&_0x4b3651['push']('ck-user__avatar'),_0x442ecd){const _0x3d7f31=new _0x1dc954();_0x3d7f31[_0x4953('0xf')]({'attributes':{'class':[_0x4953('0xa')]}}),_0x3d7f31['content']=_0x23120c,this[_0x4953('0xe')]={'tag':_0x4953('0x2'),'attributes':{'class':['ck',_0x4953('0x9')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x442ecd},'children':[_0x3d7f31]};}const _0x2104db=[{'tag':'div','attributes':{'class':_0x4b3651,'style':{'background-image':_0x32fd8f['avatar']?_0x4953('0xb')+_0x32fd8f[_0x4953('0x3')]+'\x27)':''}}},{'tag':_0x4953('0x2'),'attributes':{'class':_0x32fd8f[_0x4953('0x3')]?_0x4953('0x0'):_0x4953('0x1')},'children':[{'text':_0x32fd8f[_0x4953('0x8')]}]}];this['notificationView']&&_0x2104db[_0x4953('0xc')](this[_0x4953('0xe')]),this[_0x4953('0x5')]({'tag':_0x4953('0x2'),'attributes':{'class':['ck',_0x4953('0x10')],'data-user-id':_0x32fd8f['id']},'children':_0x2104db});}}
23
+ const _0x42d3=['ck-user__notification','ck-user__anonymous','div','ck-user__avatar','extendTemplate','push','initials','content','ck\x20ck-user__name','name','setTemplate','avatar','ck-user__img','notificationView'];(function(_0x38d43d,_0x42d3c6){const _0x4db49c=function(_0xfa5552){while(--_0xfa5552){_0x38d43d['push'](_0x38d43d['shift']());}};_0x4db49c(++_0x42d3c6);}(_0x42d3,0x152));const _0x4db4=function(_0x38d43d,_0x42d3c6){_0x38d43d=_0x38d43d-0x0;let _0x4db49c=_0x42d3[_0x38d43d];return _0x4db49c;};import{View as _0x553b33,IconView as _0x3dc7ad}from'ckeditor5/src/ui.js';import _0xde01c5 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x553b33{constructor(_0x63d644,_0x5ccba0,_0x54a48c){super(_0x63d644),this[_0x4db4('0x7')]=_0x5ccba0['name'],this[_0x4db4('0xb')]=null;const _0xa11838=['ck',_0x4db4('0xa')];if(_0x5ccba0['isAnonymous']&&_0xa11838[_0x4db4('0x3')](_0x4db4('0xd')),_0x5ccba0[_0x4db4('0x9')]&&_0xa11838[_0x4db4('0x3')](_0x4db4('0x1')),_0x54a48c){const _0x35810d=new _0x3dc7ad();_0x35810d[_0x4db4('0x2')]({'attributes':{'class':['ck-user__icon']}}),_0x35810d[_0x4db4('0x5')]=_0xde01c5,this[_0x4db4('0xb')]={'tag':_0x4db4('0x0'),'attributes':{'class':['ck',_0x4db4('0xc')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x54a48c},'children':[_0x35810d]};}const _0x5220c7=[{'tag':_0x4db4('0x0'),'attributes':{'class':_0xa11838,'style':{'background-image':_0x5ccba0['avatar']?'url(\x27'+_0x5ccba0['avatar']+'\x27)':''}}},{'tag':_0x4db4('0x0'),'attributes':{'class':_0x5ccba0['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x4db4('0x6')},'children':[{'text':_0x5ccba0[_0x4db4('0x4')]}]}];this['notificationView']&&_0x5220c7['push'](this[_0x4db4('0xb')]),this[_0x4db4('0x8')]({'tag':_0x4db4('0x0'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x5ccba0['id']},'children':_0x5220c7});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a49=['users-me-missing-user','get','destroy','getUser','_locale','isAnonymous','charAt','string','licenseKeyTrialLimit:operations','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.','ck-user__selection--','_lastColor','requires','pluginName','ck-user__marker--','licenseKey','has','licenseKeyTrial','_isAnonymous','length','users.anonymousUserId','avatar','locale','_id','licenseKeyTrialLimit:time','invalid-license-key','Anonymous','_myId','trial-license-key-reached-limit-time','licenseKeyInvalid','users.colorsCount','getOperationAuthor','color','init','users-add-duplicated-id','includes','context','licenseKeyTrialLimit:revisions','trim','define','useAnonymousUser','_getNextColor','getSelectionClass','ck-user__bg-color--','licenseKeyValid','anonymous-user','users','initials','_licenseKeyCheckInterval','name','_getInitial','defineMe','config','split','getMarkerClass','getBackgroundColorClass','trial-license-key-reached-limit-revisions','Users','info','addUser','toUpperCase','_addAnonymousUser'];(function(_0x507547,_0x5a499b){const _0x960836=function(_0x14129a){while(--_0x14129a){_0x507547['push'](_0x507547['shift']());}};_0x960836(++_0x5a499b);}(_0x5a49,0x1b6));const _0x9608=function(_0x507547,_0x5a499b){_0x507547=_0x507547-0x0;let _0x960836=_0x5a49[_0x507547];return _0x960836;};import{ContextPlugin as _0x3e0401}from'ckeditor5/src/core.js';import{Collection as _0x1d7cdf,CKEditorError as _0x19f1ed}from'ckeditor5/src/utils.js';import _0xecfe27 from'./permissions.js';import{getTranslation as _0x20c9ba}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x3e0401{static get[_0x9608('0x9')](){return _0x9608('0x35');}static get[_0x9608('0x8')](){return[_0xecfe27];}constructor(_0x4ef5d1){super(_0x4ef5d1),this[_0x9608('0x20')][_0x9608('0x30')]['define'](_0x9608('0x10'),_0x9608('0x29')),this[_0x9608('0x20')][_0x9608('0x30')][_0x9608('0x23')]('users.colorsCount',0x8),this[_0x9608('0x2a')]=new _0x1d7cdf(),this[_0x9608('0x0')]=_0x4ef5d1[_0x9608('0x12')],this['_licenseKeyCheckInterval']=null,this[_0x9608('0x7')]=0x0,this['_myId']=null,this['decorate'](_0x9608('0x1b'));}[_0x9608('0x1d')](){const _0xa65d10=this['context'];this[_0x9608('0xb')]=_0xa65d10[_0x9608('0x30')][_0x9608('0x3b')](_0x9608('0xb'));const _0x3a3683=[_0x9608('0xd'),_0x9608('0x19'),_0x9608('0x28'),_0x9608('0x4'),_0x9608('0x14'),_0x9608('0x21')];this[_0x9608('0x2c')]=setInterval(()=>{let _0x35e5f4;for(const _0x530c3a in _0xa65d10){const _0x5ef35a=_0xa65d10[_0x530c3a];if(_0x3a3683[_0x9608('0x1f')](_0x5ef35a)){delete _0xa65d10[_0x530c3a],_0x35e5f4=_0x5ef35a;break;}}if(_0x9608('0x19')===_0x35e5f4)throw clearInterval(this[_0x9608('0x2c')]),new _0x19f1ed(_0x9608('0x15'),null);if('licenseKeyTrial'===_0x35e5f4&&console[_0x9608('0x36')](_0x9608('0x5')),_0x9608('0x4')===_0x35e5f4)throw clearInterval(this[_0x9608('0x2c')]),new _0x19f1ed('trial-license-key-reached-limit-changes',null);if(_0x9608('0x14')===_0x35e5f4)throw clearInterval(this[_0x9608('0x2c')]),new _0x19f1ed(_0x9608('0x18'),null);if('licenseKeyTrialLimit:revisions'===_0x35e5f4)throw clearInterval(this[_0x9608('0x2c')]),new _0x19f1ed(_0x9608('0x34'),null);_0x9608('0x28')===_0x35e5f4&&clearInterval(this[_0x9608('0x2c')]);},0x3e8),this[_0x9608('0x39')]();}get['me'](){return null==this[_0x9608('0x17')]?null:this[_0x9608('0x3d')](this['_myId']);}[_0x9608('0x37')]({id:_0x1fa316,name:_0x1c86a5,..._0x46fa67}){if(!_0x1fa316||_0x9608('0x3')!=typeof _0x1fa316)throw new _0x19f1ed('users-add-invalid-id');if(this[_0x9608('0x2a')][_0x9608('0xc')](_0x1fa316))throw new _0x19f1ed(_0x9608('0x1e'),null,{'id':_0x1fa316});const _0x2862ec={..._0x46fa67,'id':_0x1fa316,'name':a(this[_0x9608('0x0')],_0x1c86a5),'color':this[_0x9608('0x25')]()};_0x2862ec[_0x9608('0x2d')]=a(this[_0x9608('0x0')],_0x2862ec['name']);const _0x4e99e7=new User(_0x2862ec);return this[_0x9608('0x2a')]['add'](_0x4e99e7),_0x4e99e7;}[_0x9608('0x3d')](_0x133a5f){return this['users'][_0x9608('0x3b')](_0x133a5f);}[_0x9608('0x24')](){const _0xe8dbad=this['context'][_0x9608('0x30')][_0x9608('0x3b')]('users.anonymousUserId');this['_myId']||this[_0x9608('0x2f')](_0xe8dbad);}[_0x9608('0x2f')](_0x43493e){if(this[_0x9608('0x17')])throw new _0x19f1ed('users-me-already-defined',null);if(!this['getUser'](_0x43493e))throw new _0x19f1ed(_0x9608('0x3a'),null);this[_0x9608('0x17')]=_0x43493e;}[_0x9608('0x1b')](){return this['me'];}[_0x9608('0x3c')](){super['destroy'](),clearInterval(this[_0x9608('0x2c')]);}[_0x9608('0x25')](){const _0x37d868=this['context'][_0x9608('0x30')]['get'](_0x9608('0x1a'));return this['_lastColor']>=_0x37d868&&(this[_0x9608('0x7')]=0x0),new u(this[_0x9608('0x7')]++);}[_0x9608('0x39')](){const _0x1f1afc=this['context'][_0x9608('0x30')]['get'](_0x9608('0x10'));this['addUser']({'id':_0x1f1afc,'name':_0x20c9ba(this[_0x9608('0x0')],'Anonymous')})[_0x9608('0xe')]=!0x0;}}export class User{constructor(_0x6aa374){this['id']=_0x6aa374['id'],this[_0x9608('0x1c')]=_0x6aa374['color'],this[_0x9608('0x2d')]=_0x6aa374[_0x9608('0x2d')],this[_0x9608('0x11')]=_0x6aa374[_0x9608('0x11')],this[_0x9608('0xe')]=!0x1;}get[_0x9608('0x1')](){return this['_isAnonymous'];}get[_0x9608('0x2b')](){const _0x403f6c=this[_0x9608('0x2d')][_0x9608('0x31')]('\x20');return 0x1===_0x403f6c['length']?this[_0x9608('0x2e')](_0x403f6c[0x0]):this[_0x9608('0x2e')](_0x403f6c[0x0])+this[_0x9608('0x2e')](_0x403f6c[_0x403f6c[_0x9608('0xf')]-0x1]);}[_0x9608('0x2e')](_0x116772){return _0x116772[_0x9608('0x2')](0x0)[_0x9608('0x38')]();}}function a(_0x2cf6d6,_0x9ef23e=''){return''==(_0x9ef23e=_0x9ef23e[_0x9608('0x22')]())?_0x20c9ba(_0x2cf6d6,_0x9608('0x16')):_0x9ef23e;}class u{constructor(_0x115f46){this[_0x9608('0x13')]=_0x115f46;}[_0x9608('0x33')](){return _0x9608('0x27')+this[_0x9608('0x13')];}[_0x9608('0x26')](){return _0x9608('0x6')+this[_0x9608('0x13')];}[_0x9608('0x32')](){return _0x9608('0xa')+this[_0x9608('0x13')];}}
23
+ const _0x4c9d=['info','users-add-duplicated-id','users','config','licenseKey','licenseKeyTrialLimit:revisions','getSelectionClass','toUpperCase','initials','addUser','_myId','useAnonymousUser','define','getUser','split','getMarkerClass','length','Users','users.colorsCount','defineMe','_addAnonymousUser','trial-license-key-reached-limit-revisions','get','licenseKeyTrialLimit:time','Anonymous','users.anonymousUserId','_licenseKeyCheckInterval','_lastColor','licenseKeyInvalid','init','color','_isAnonymous','_id','add','isAnonymous','licenseKeyValid','requires','decorate','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.','anonymous-user','string','getOperationAuthor','name','context','licenseKeyTrial','locale','users-add-invalid-id','trial-license-key-reached-limit-changes','getBackgroundColorClass','invalid-license-key','destroy','avatar','_locale','pluginName','_getInitial','has'];(function(_0x541717,_0x4c9da7){const _0xb12d75=function(_0x100bd7){while(--_0x100bd7){_0x541717['push'](_0x541717['shift']());}};_0xb12d75(++_0x4c9da7);}(_0x4c9d,0x1c5));const _0xb12d=function(_0x541717,_0x4c9da7){_0x541717=_0x541717-0x0;let _0xb12d75=_0x4c9d[_0x541717];return _0xb12d75;};import{ContextPlugin as _0x3bf417}from'ckeditor5/src/core.js';import{Collection as _0x5ba93a,CKEditorError as _0x1ae25b}from'ckeditor5/src/utils.js';import _0x2dd7ed from'./permissions.js';import{getTranslation as _0x33d5c3}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x3bf417{static get[_0xb12d('0x30')](){return _0xb12d('0xc');}static get[_0xb12d('0x1f')](){return[_0x2dd7ed];}constructor(_0x2d87e7){super(_0x2d87e7),this[_0xb12d('0x26')]['config'][_0xb12d('0x7')](_0xb12d('0x14'),_0xb12d('0x22')),this[_0xb12d('0x26')][_0xb12d('0x36')][_0xb12d('0x7')](_0xb12d('0xd'),0x8),this[_0xb12d('0x35')]=new _0x5ba93a(),this[_0xb12d('0x2f')]=_0x2d87e7[_0xb12d('0x28')],this[_0xb12d('0x15')]=null,this[_0xb12d('0x16')]=0x0,this[_0xb12d('0x5')]=null,this[_0xb12d('0x20')](_0xb12d('0x24'));}[_0xb12d('0x18')](){const _0x4f131e=this[_0xb12d('0x26')];this[_0xb12d('0x37')]=_0x4f131e[_0xb12d('0x36')][_0xb12d('0x11')](_0xb12d('0x37'));const _0x24b2bc=[_0xb12d('0x27'),_0xb12d('0x17'),_0xb12d('0x1e'),'licenseKeyTrialLimit:operations',_0xb12d('0x12'),_0xb12d('0x0')];this[_0xb12d('0x15')]=setInterval(()=>{let _0xbed0e8;for(const _0x131737 in _0x4f131e){const _0x2d0ea0=_0x4f131e[_0x131737];if(_0x24b2bc['includes'](_0x2d0ea0)){delete _0x4f131e[_0x131737],_0xbed0e8=_0x2d0ea0;break;}}if('licenseKeyInvalid'===_0xbed0e8)throw clearInterval(this[_0xb12d('0x15')]),new _0x1ae25b(_0xb12d('0x2c'),null);if(_0xb12d('0x27')===_0xbed0e8&&console[_0xb12d('0x33')](_0xb12d('0x21')),'licenseKeyTrialLimit:operations'===_0xbed0e8)throw clearInterval(this[_0xb12d('0x15')]),new _0x1ae25b(_0xb12d('0x2a'),null);if(_0xb12d('0x12')===_0xbed0e8)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1ae25b('trial-license-key-reached-limit-time',null);if(_0xb12d('0x0')===_0xbed0e8)throw clearInterval(this[_0xb12d('0x15')]),new _0x1ae25b(_0xb12d('0x10'),null);'licenseKeyValid'===_0xbed0e8&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0xb12d('0xf')]();}get['me'](){return null==this[_0xb12d('0x5')]?null:this[_0xb12d('0x8')](this[_0xb12d('0x5')]);}[_0xb12d('0x4')]({id:_0x5cd426,name:_0x41743d,..._0x3aab30}){if(!_0x5cd426||_0xb12d('0x23')!=typeof _0x5cd426)throw new _0x1ae25b(_0xb12d('0x29'));if(this['users'][_0xb12d('0x32')](_0x5cd426))throw new _0x1ae25b(_0xb12d('0x34'),null,{'id':_0x5cd426});const _0x4a2770={..._0x3aab30,'id':_0x5cd426,'name':a(this[_0xb12d('0x2f')],_0x41743d),'color':this['_getNextColor']()};_0x4a2770['name']=a(this['_locale'],_0x4a2770[_0xb12d('0x25')]);const _0x2f7c0d=new User(_0x4a2770);return this['users'][_0xb12d('0x1c')](_0x2f7c0d),_0x2f7c0d;}[_0xb12d('0x8')](_0xb5bf4b){return this[_0xb12d('0x35')][_0xb12d('0x11')](_0xb5bf4b);}[_0xb12d('0x6')](){const _0x487ab5=this['context'][_0xb12d('0x36')]['get'](_0xb12d('0x14'));this[_0xb12d('0x5')]||this[_0xb12d('0xe')](_0x487ab5);}[_0xb12d('0xe')](_0x59dd91){if(this['_myId'])throw new _0x1ae25b('users-me-already-defined',null);if(!this[_0xb12d('0x8')](_0x59dd91))throw new _0x1ae25b('users-me-missing-user',null);this[_0xb12d('0x5')]=_0x59dd91;}['getOperationAuthor'](){return this['me'];}[_0xb12d('0x2d')](){super[_0xb12d('0x2d')](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x5db6a2=this[_0xb12d('0x26')][_0xb12d('0x36')][_0xb12d('0x11')](_0xb12d('0xd'));return this[_0xb12d('0x16')]>=_0x5db6a2&&(this[_0xb12d('0x16')]=0x0),new u(this[_0xb12d('0x16')]++);}[_0xb12d('0xf')](){const _0x5b6e69=this[_0xb12d('0x26')]['config'][_0xb12d('0x11')]('users.anonymousUserId');this['addUser']({'id':_0x5b6e69,'name':_0x33d5c3(this['_locale'],_0xb12d('0x13'))})[_0xb12d('0x1a')]=!0x0;}}export class User{constructor(_0x1dd650){this['id']=_0x1dd650['id'],this[_0xb12d('0x19')]=_0x1dd650[_0xb12d('0x19')],this[_0xb12d('0x25')]=_0x1dd650['name'],this[_0xb12d('0x2e')]=_0x1dd650[_0xb12d('0x2e')],this[_0xb12d('0x1a')]=!0x1;}get[_0xb12d('0x1d')](){return this['_isAnonymous'];}get[_0xb12d('0x3')](){const _0x2233cc=this['name'][_0xb12d('0x9')]('\x20');return 0x1===_0x2233cc[_0xb12d('0xb')]?this[_0xb12d('0x31')](_0x2233cc[0x0]):this[_0xb12d('0x31')](_0x2233cc[0x0])+this[_0xb12d('0x31')](_0x2233cc[_0x2233cc['length']-0x1]);}['_getInitial'](_0x10551e){return _0x10551e['charAt'](0x0)[_0xb12d('0x2')]();}}function a(_0x9a5840,_0x1f320c=''){return''==(_0x1f320c=_0x1f320c['trim']())?_0x33d5c3(_0x9a5840,_0xb12d('0x13')):_0x1f320c;}class u{constructor(_0x5b90a5){this[_0xb12d('0x1b')]=_0x5b90a5;}[_0xb12d('0x2b')](){return'ck-user__bg-color--'+this['_id'];}[_0xb12d('0x1')](){return'ck-user__selection--'+this[_0xb12d('0x1b')];}[_0xb12d('0xa')](){return'ck-user__marker--'+this[_0xb12d('0x1b')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4a335f,_0x3cb6c9){const t=_0x4a335f['t'];switch(_0x3cb6c9){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
23
+ export function getTranslation(_0xf15985,_0x1bda21){const t=_0xf15985['t'];switch(_0x1bda21){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x106d=['remove','showConfirm','focus','appendChild','deregisterChild','render','message','registerChild','set','fire','element','cancelConfirm','locale','isConfirm','_removeConfirm','once','submit','confirmView','destroy'];(function(_0x2fe560,_0x106d5d){var _0x406d88=function(_0x23fd6d){while(--_0x23fd6d){_0x2fe560['push'](_0x2fe560['shift']());}};_0x406d88(++_0x106d5d);}(_0x106d,0x12d));var _0x406d=function(_0x2fe560,_0x106d5d){_0x2fe560=_0x2fe560-0x0;var _0x406d88=_0x106d[_0x2fe560];return _0x406d88;};import _0x254767 from'./confirmview.js';export default function m(_0x3d38c0){return class extends _0x3d38c0{[_0x406d('0x4')](_0x5c467f,_0x43f918){return this[_0x406d('0x1')]=new _0x254767(this[_0x406d('0xf')]),this[_0x406d('0x1')][_0x406d('0x8')](),this[_0x406d('0x1')][_0x406d('0x9')]=_0x5c467f,this[_0x406d('0x1')][_0x406d('0x12')]('cancel',()=>{this[_0x406d('0x11')]();}),this[_0x406d('0x1')]['once'](_0x406d('0x0'),()=>{this['_removeConfirm']();}),_0x43f918[_0x406d('0x6')](this[_0x406d('0x1')][_0x406d('0xd')]),this[_0x406d('0xa')](this[_0x406d('0x1')]),this[_0x406d('0xd')]['focus'](),this[_0x406d('0xb')](_0x406d('0x10'),!0x0),new Promise(_0x3ca58a=>this['confirmView']['on'](_0x406d('0x0'),_0x3ca58a));}[_0x406d('0xe')](){this[_0x406d('0x10')]&&this['confirmView'][_0x406d('0xc')]('cancel');}['_removeConfirm'](){this[_0x406d('0xd')]&&this['confirmView']&&this[_0x406d('0x1')][_0x406d('0xd')]&&(this[_0x406d('0xd')][_0x406d('0x5')](),this[_0x406d('0x1')]['element'][_0x406d('0x3')](),this[_0x406d('0x7')](this[_0x406d('0x1')]),this[_0x406d('0x10')]=!0x1,this[_0x406d('0x1')][_0x406d('0x2')](),this['confirmView']=void 0x0);}};}
23
+ var _0x3a60=['cancelConfirm','focus','once','locale','fire','submit','deregisterChild','confirmView','destroy','isConfirm','message','appendChild','element','showConfirm','cancel','_removeConfirm','remove'];(function(_0x40235d,_0x3a60ef){var _0x353a87=function(_0xaf6215){while(--_0xaf6215){_0x40235d['push'](_0x40235d['shift']());}};_0x353a87(++_0x3a60ef);}(_0x3a60,0x171));var _0x353a=function(_0x40235d,_0x3a60ef){_0x40235d=_0x40235d-0x0;var _0x353a87=_0x3a60[_0x40235d];return _0x353a87;};import _0x46413b from'./confirmview.js';export default function m(_0x4f1d29){return class extends _0x4f1d29{[_0x353a('0x1')](_0x4e5fc1,_0xd1de1a){return this[_0x353a('0xc')]=new _0x46413b(this[_0x353a('0x8')]),this['confirmView']['render'](),this[_0x353a('0xc')][_0x353a('0xf')]=_0x4e5fc1,this[_0x353a('0xc')]['once'](_0x353a('0x2'),()=>{this[_0x353a('0x3')]();}),this[_0x353a('0xc')][_0x353a('0x7')]('submit',()=>{this[_0x353a('0x3')]();}),_0xd1de1a[_0x353a('0x10')](this['confirmView']['element']),this['registerChild'](this[_0x353a('0xc')]),this[_0x353a('0x0')][_0x353a('0x6')](),this['set'](_0x353a('0xe'),!0x0),new Promise(_0x5560d5=>this[_0x353a('0xc')]['on'](_0x353a('0xa'),_0x5560d5));}[_0x353a('0x5')](){this[_0x353a('0xe')]&&this[_0x353a('0xc')][_0x353a('0x9')](_0x353a('0x2'));}['_removeConfirm'](){this['element']&&this['confirmView']&&this[_0x353a('0xc')]['element']&&(this[_0x353a('0x0')][_0x353a('0x6')](),this['confirmView'][_0x353a('0x0')][_0x353a('0x4')](),this[_0x353a('0xb')](this[_0x353a('0xc')]),this[_0x353a('0xe')]=!0x1,this[_0x353a('0xc')][_0x353a('0xd')](),this[_0x353a('0xc')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5001=['ck-thread__remove-confirm-inner','extendTemplate','set','div','icon','fire','Yes','setTemplate','execute','submitView','Are\x20you\x20sure?','ck-thread__remove-confirm','message','label','check','submit','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','cancel','cancelView','_createButtonView'];(function(_0x2d436d,_0x500178){const _0xa29674=function(_0x4f9b09){while(--_0x4f9b09){_0x2d436d['push'](_0x2d436d['shift']());}};_0xa29674(++_0x500178);}(_0x5001,0x122));const _0xa296=function(_0x2d436d,_0x500178){_0x2d436d=_0x2d436d-0x0;let _0xa29674=_0x5001[_0x2d436d];return _0xa29674;};import{View as _0x12c936,ButtonView as _0x3fe166}from'ckeditor5/src/ui.js';import{icons as _0x3631ca}from'ckeditor5/src/core.js';import{getTranslation as _0x464204}from'./common-translations.js';export default class h extends _0x12c936{constructor(_0x1c34d9){super(_0x1c34d9);const _0x50f3be=this['bindTemplate'];this[_0xa296('0xd')]=this[_0xa296('0x3')](_0x1c34d9,_0x464204(_0x1c34d9,_0xa296('0xa')),_0x3631ca[_0xa296('0x12')],_0xa296('0x13')),this[_0xa296('0x2')]=this[_0xa296('0x3')](_0x1c34d9,_0x464204(_0x1c34d9,'No'),_0x3631ca[_0xa296('0x1')],_0xa296('0x1')),this[_0xa296('0x6')](_0xa296('0x10'),_0x464204(_0x1c34d9,_0xa296('0xe'))),this[_0xa296('0xb')]({'tag':_0xa296('0x7'),'attributes':{'class':[_0xa296('0xf')]},'children':[{'tag':'div','attributes':{'class':_0xa296('0x4')},'children':[{'tag':'p','children':[{'text':_0x50f3be['to'](_0xa296('0x10'))}]},{'tag':'div','attributes':{'class':_0xa296('0x0')},'children':[this[_0xa296('0xd')],this[_0xa296('0x2')]]}]}]});}[_0xa296('0x3')](_0x335321,_0x3c9396,_0x1b3524,_0x2911f3){const _0x484623=new _0x3fe166(_0x335321);return _0x484623[_0xa296('0x11')]=_0x3c9396,_0x484623[_0xa296('0x8')]=_0x1b3524,_0x484623[_0xa296('0x5')]({'attributes':{'class':_0xa296('0x14')+_0x2911f3}}),_0x484623['on'](_0xa296('0xc'),()=>this[_0xa296('0x9')](_0x2911f3)),_0x484623;}}
23
+ const _0x16fd=['ck-thread__remove-confirm','ck-thread__remove-confirm-inner','submitView','set','label','div','submit','extendTemplate','icon','execute','Are\x20you\x20sure?','cancel','fire','check','message','_createButtonView','setTemplate'];(function(_0x5383de,_0x16fdb2){const _0x2f69f4=function(_0xabdb81){while(--_0xabdb81){_0x5383de['push'](_0x5383de['shift']());}};_0x2f69f4(++_0x16fdb2);}(_0x16fd,0x1c3));const _0x2f69=function(_0x5383de,_0x16fdb2){_0x5383de=_0x5383de-0x0;let _0x2f69f4=_0x16fd[_0x5383de];return _0x2f69f4;};import{View as _0x5bdec7,ButtonView as _0x4607fd}from'ckeditor5/src/ui.js';import{icons as _0x198262}from'ckeditor5/src/core.js';import{getTranslation as _0x51ba98}from'./common-translations.js';export default class h extends _0x5bdec7{constructor(_0x22dc9f){super(_0x22dc9f);const _0x4fcdb1=this['bindTemplate'];this[_0x2f69('0xa')]=this['_createButtonView'](_0x22dc9f,_0x51ba98(_0x22dc9f,'Yes'),_0x198262[_0x2f69('0x4')],_0x2f69('0xe')),this['cancelView']=this[_0x2f69('0x6')](_0x22dc9f,_0x51ba98(_0x22dc9f,'No'),_0x198262[_0x2f69('0x2')],'cancel'),this[_0x2f69('0xb')](_0x2f69('0x5'),_0x51ba98(_0x22dc9f,_0x2f69('0x1'))),this[_0x2f69('0x7')]({'tag':_0x2f69('0xd'),'attributes':{'class':[_0x2f69('0x8')]},'children':[{'tag':'div','attributes':{'class':_0x2f69('0x9')},'children':[{'tag':'p','children':[{'text':_0x4fcdb1['to'](_0x2f69('0x5'))}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x2f69('0xa')],this['cancelView']]}]}]});}[_0x2f69('0x6')](_0x26f3e8,_0x441d21,_0x4dad21,_0xfd433){const _0x42b24d=new _0x4607fd(_0x26f3e8);return _0x42b24d[_0x2f69('0xc')]=_0x441d21,_0x42b24d[_0x2f69('0x10')]=_0x4dad21,_0x42b24d[_0x2f69('0xf')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0xfd433}}),_0x42b24d['on'](_0x2f69('0x0'),()=>this[_0x2f69('0x3')](_0xfd433)),_0x42b24d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x432d=['dateTimeFormat','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Yesterday\x27\x20hh:mma','invalid-date-time-format'];(function(_0xb3fffd,_0x432d6e){const _0x2bf413=function(_0x4660e0){while(--_0x4660e0){_0xb3fffd['push'](_0xb3fffd['shift']());}};_0x2bf413(++_0x432d6e);}(_0x432d,0x93));const _0x2bf4=function(_0xb3fffd,_0x432d6e){_0xb3fffd=_0xb3fffd-0x0;let _0x2bf413=_0x432d[_0xb3fffd];return _0x2bf413;};import _0xc13965 from'date-fns/format/index.js';import _0x1d46b3 from'date-fns/parseISO/index.js';import _0x4c3ce5 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x57b235}from'ckeditor5/src/utils.js';export default function j(_0x5b35f9={}){if(void 0x0!==_0x5b35f9['dateTimeFormat']&&'function'!=typeof _0x5b35f9[_0x2bf4('0x3')])throw new _0x57b235(_0x2bf4('0x2'));return _0x2f15da=>{const _0x17223e='string'==typeof _0x2f15da?_0x1d46b3(_0x2f15da):_0x2f15da,_0x1b18d3=new Date(),_0x227274=_0x4c3ce5(_0x1b18d3,_0x17223e);return _0x5b35f9[_0x2bf4('0x3')]?_0x5b35f9[_0x2bf4('0x3')](_0x17223e):_0xc13965(_0x17223e,0x0===_0x227274?_0x2bf4('0x4'):0x1===_0x227274?_0x2bf4('0x1'):_0x227274<0x7?_0x2bf4('0x5'):_0x2bf4('0x0'));};}
23
+ const _0x7a69=['function','dateTimeFormat','invalid-date-time-format','string','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma'];(function(_0x219f48,_0x7a6958){const _0x36ef39=function(_0x203d97){while(--_0x203d97){_0x219f48['push'](_0x219f48['shift']());}};_0x36ef39(++_0x7a6958);}(_0x7a69,0xf1));const _0x36ef=function(_0x219f48,_0x7a6958){_0x219f48=_0x219f48-0x0;let _0x36ef39=_0x7a69[_0x219f48];return _0x36ef39;};import _0x242114 from'date-fns/format/index.js';import _0x213289 from'date-fns/parseISO/index.js';import _0x448776 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x54680e}from'ckeditor5/src/utils.js';export default function j(_0xe0be4f={}){if(void 0x0!==_0xe0be4f[_0x36ef('0x5')]&&_0x36ef('0x4')!=typeof _0xe0be4f[_0x36ef('0x5')])throw new _0x54680e(_0x36ef('0x6'));return _0x596baf=>{const _0x595b49=_0x36ef('0x0')==typeof _0x596baf?_0x213289(_0x596baf):_0x596baf,_0x58727e=new Date(),_0x1593b9=_0x448776(_0x58727e,_0x595b49);return _0xe0be4f[_0x36ef('0x5')]?_0xe0be4f[_0x36ef('0x5')](_0x595b49):_0x242114(_0x595b49,0x0===_0x1593b9?'\x27Today\x27\x20hh:mma':0x1===_0x1593b9?_0x36ef('0x2'):_0x1593b9<0x7?_0x36ef('0x1'):_0x36ef('0x3'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5429=['filter','mapViewToDom','item','mapper','length','domConverter','name','markerNameToElements','from','values','sort','map','view','push'];(function(_0x4ba58f,_0x5429ba){const _0x488abd=function(_0x3dac1a){while(--_0x3dac1a){_0x4ba58f['push'](_0x4ba58f['shift']());}};_0x488abd(++_0x5429ba);}(_0x5429,0x1a2));const _0x488a=function(_0x4ba58f,_0x5429ba){_0x4ba58f=_0x4ba58f-0x0;let _0x488abd=_0x5429[_0x4ba58f];return _0x488abd;};import{first as _0xcc28b0}from'ckeditor5/src/utils.js';export default function k(_0x2ee05e,_0x5acd79){const _0x583548=_0x2ee05e[_0x488a('0x5')][_0x488a('0x9')](_0x5acd79[_0x488a('0x8')]);if(!_0x583548)return null;const _0x236445=_0xcc28b0(_0x583548[_0x488a('0xb')]());return _0x2ee05e[_0x488a('0x0')][_0x488a('0x7')][_0x488a('0x3')](_0x236445)||null;}export function getAllMarkersDomElementsSorted(_0x59beab,_0x5e6b78){if(0x0===_0x5e6b78[_0x488a('0x6')])return null;const _0x10b930=[],_0x3a9580=_0x59beab['view']['domConverter'];for(const _0x22665e of _0x5e6b78){const _0x4623da=_0x59beab[_0x488a('0x5')][_0x488a('0x9')](_0x22665e[_0x488a('0x8')]);if(!_0x4623da)continue;const _0x294de0=Array[_0x488a('0xa')](_0x4623da)[_0x488a('0xd')](_0x3d6fdc=>_0x3a9580[_0x488a('0x3')](_0x3d6fdc))[_0x488a('0x2')](_0x28f7c1=>!!_0x28f7c1);_0x10b930[_0x488a('0x1')](..._0x294de0);}if(0x0===_0x10b930[_0x488a('0x6')])return null;const _0xbf7a41=[];for(const _0x812667 of _0x10b930){const _0x17e492=_0x812667['getClientRects']()[_0x488a('0x4')](0x0);_0x17e492&&_0xbf7a41['push']({'x':_0x17e492['x'],'y':_0x17e492['y'],'domElement':_0x812667});}return 0x0===_0xbf7a41[_0x488a('0x6')]?null:(_0xbf7a41[_0x488a('0xc')]((_0xf9b57e,_0x409684)=>_0xf9b57e['y']-_0x409684['y']||_0xf9b57e['x']-_0x409684['x']),_0xbf7a41[_0x488a('0xd')](_0x512c7e=>_0x512c7e['domElement']));}
23
+ const _0xc573=['markerNameToElements','view','mapViewToDom','length','sort','filter','name','push','domConverter','mapper','map'];(function(_0x3f76b4,_0xc573a4){const _0x387770=function(_0x4ee443){while(--_0x4ee443){_0x3f76b4['push'](_0x3f76b4['shift']());}};_0x387770(++_0xc573a4);}(_0xc573,0x16e));const _0x3877=function(_0x3f76b4,_0xc573a4){_0x3f76b4=_0x3f76b4-0x0;let _0x387770=_0xc573[_0x3f76b4];return _0x387770;};import{first as _0x14faae}from'ckeditor5/src/utils.js';export default function k(_0xcd1ead,_0x32fc2a){const _0x526259=_0xcd1ead['mapper']['markerNameToElements'](_0x32fc2a[_0x3877('0x3')]);if(!_0x526259)return null;const _0x948a96=_0x14faae(_0x526259['values']());return _0xcd1ead['view'][_0x3877('0x5')][_0x3877('0xa')](_0x948a96)||null;}export function getAllMarkersDomElementsSorted(_0x2f4fbf,_0xc75977){if(0x0===_0xc75977['length'])return null;const _0x2c32ea=[],_0x3ac852=_0x2f4fbf[_0x3877('0x9')][_0x3877('0x5')];for(const _0x2370e2 of _0xc75977){const _0x2508de=_0x2f4fbf[_0x3877('0x6')][_0x3877('0x8')](_0x2370e2[_0x3877('0x3')]);if(!_0x2508de)continue;const _0x5864b7=Array['from'](_0x2508de)[_0x3877('0x7')](_0x217ccc=>_0x3ac852[_0x3877('0xa')](_0x217ccc))[_0x3877('0x2')](_0x4db84f=>!!_0x4db84f);_0x2c32ea['push'](..._0x5864b7);}if(0x0===_0x2c32ea[_0x3877('0x0')])return null;const _0x492dd=[];for(const _0x340bc3 of _0x2c32ea){const _0x127fbe=_0x340bc3['getClientRects']()['item'](0x0);_0x127fbe&&_0x492dd[_0x3877('0x4')]({'x':_0x127fbe['x'],'y':_0x127fbe['y'],'domElement':_0x340bc3});}return 0x0===_0x492dd[_0x3877('0x0')]?null:(_0x492dd[_0x3877('0x1')]((_0xe9a41f,_0x2d38d3)=>_0xe9a41f['y']-_0x2d38d3['y']||_0xe9a41f['x']-_0x2d38d3['x']),_0x492dd[_0x3877('0x7')](_0x5692bd=>_0x5692bd['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ad3=['object','boolean','sign','charCodeAt','sort','number'];(function(_0x172cf0,_0x1ad36a){const _0x30f8ac=function(_0x45cd6c){while(--_0x45cd6c){_0x172cf0['push'](_0x172cf0['shift']());}};_0x30f8ac(++_0x1ad36a);}(_0x1ad3,0xc5));const _0x30f8=function(_0x172cf0,_0x1ad36a){_0x172cf0=_0x172cf0-0x0;let _0x30f8ac=_0x1ad3[_0x172cf0];return _0x30f8ac;};export default function b(_0x2c934c){let _0x3cfaa6=0x0,_0x3a661c=0x0;for(const _0x1d8a78 of A(_0x2c934c))_0x3cfaa6=(_0x3cfaa6<<0x5)-_0x3cfaa6+_0x1d8a78,_0x3cfaa6&=_0x3cfaa6,[_0x3cfaa6,_0x3a661c]=[_0x3a661c,_0x3cfaa6];return q(_0x3cfaa6)+q(_0x3a661c);}function*g(_0x2e373e){_0x2e373e?_0x30f8('0x2')==typeof _0x2e373e?yield 0x1:Array['isArray'](_0x2e373e)?yield*function*(_0x1149f9){for(const _0x57871d of _0x1149f9)yield*g(_0x57871d);}(_0x2e373e):_0x30f8('0x1')==typeof _0x2e373e?yield*A(_0x2e373e):'string'==typeof _0x2e373e?yield*M(_0x2e373e):_0x30f8('0x0')==typeof _0x2e373e&&(yield _0x2e373e):yield 0x0;}function*A(_0x2b8426){if(yield O('{'),_0x2b8426){const _0x247aa3=Object['keys'](_0x2b8426)[_0x30f8('0x5')]();for(const _0x39f6e6 of _0x247aa3){yield*M(_0x39f6e6),yield O(':');const _0x5eaddb=_0x2b8426[_0x39f6e6];yield*g(_0x5eaddb);}}yield O('}');}function*M(_0x47362f){yield O('\x22');for(const _0x504880 of _0x47362f)yield O(_0x504880);yield O('\x22');}function O(_0x20c4af){return _0x20c4af[_0x30f8('0x4')](0x0);}function q(_0x2bce71){return(_0x2bce71*=Math[_0x30f8('0x3')](_0x2bce71))['toString'](0x24);}
23
+ const _0x2e53=['sign','charCodeAt','keys','string','number','object','boolean','isArray','toString'];(function(_0x469dec,_0x2e5328){const _0x3b6d02=function(_0xa5e3b9){while(--_0xa5e3b9){_0x469dec['push'](_0x469dec['shift']());}};_0x3b6d02(++_0x2e5328);}(_0x2e53,0x18c));const _0x3b6d=function(_0x469dec,_0x2e5328){_0x469dec=_0x469dec-0x0;let _0x3b6d02=_0x2e53[_0x469dec];return _0x3b6d02;};export default function b(_0x47deca){let _0x311fef=0x0,_0x17fad9=0x0;for(const _0xf6ff7f of A(_0x47deca))_0x311fef=(_0x311fef<<0x5)-_0x311fef+_0xf6ff7f,_0x311fef&=_0x311fef,[_0x311fef,_0x17fad9]=[_0x17fad9,_0x311fef];return q(_0x311fef)+q(_0x17fad9);}function*g(_0x78f9f6){_0x78f9f6?_0x3b6d('0x6')==typeof _0x78f9f6?yield 0x1:Array[_0x3b6d('0x7')](_0x78f9f6)?yield*function*(_0x32ee4a){for(const _0x159ff4 of _0x32ee4a)yield*g(_0x159ff4);}(_0x78f9f6):_0x3b6d('0x5')==typeof _0x78f9f6?yield*A(_0x78f9f6):_0x3b6d('0x3')==typeof _0x78f9f6?yield*M(_0x78f9f6):_0x3b6d('0x4')==typeof _0x78f9f6&&(yield _0x78f9f6):yield 0x0;}function*A(_0x1ba057){if(yield O('{'),_0x1ba057){const _0x22f063=Object[_0x3b6d('0x2')](_0x1ba057)['sort']();for(const _0x534746 of _0x22f063){yield*M(_0x534746),yield O(':');const _0x3aa726=_0x1ba057[_0x534746];yield*g(_0x3aa726);}}yield O('}');}function*M(_0x38544b){yield O('\x22');for(const _0x1c822e of _0x38544b)yield O(_0x1c822e);yield O('\x22');}function O(_0x179da5){return _0x179da5[_0x3b6d('0x1')](0x0);}function q(_0xd956d3){return(_0xd956d3*=Math[_0x3b6d('0x0')](_0xd956d3))[_0x3b6d('0x8')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf8a3=['toolbar','requires','names','get','WProofreader','_context','RevisionTracker','pluginName','find','initialData','plugins','DocumentOutline','includes','string','extraPlugins','constructor','builtinPlugins','context','removePlugins','from','Autosave','concat','length','has','rootsAttributes','set','name','config'];(function(_0x1185f2,_0xf8a362){const _0x57f3a6=function(_0x5f529d){while(--_0x5f529d){_0x1185f2['push'](_0x1185f2['shift']());}};_0x57f3a6(++_0xf8a362);}(_0xf8a3,0xad));const _0x57f3=function(_0x1185f2,_0xf8a362){_0x1185f2=_0x1185f2-0x0;let _0x57f3a6=_0xf8a3[_0x1185f2];return _0x57f3a6;};const w=[_0x57f3('0x4'),_0x57f3('0xc'),_0x57f3('0x17'),_0x57f3('0x13')],W=['WebSocketGateway',_0x57f3('0x1'),_0x57f3('0xf'),'WordCount',_0x57f3('0x6'),_0x57f3('0x1b')];function v(_0x468b98,_0x1e767f,_0x39ddeb,_0x4587e4=[]){const _0x344008=_0x57f3('0x8')==typeof _0x468b98?_0x39ddeb[_0x57f3('0x1a')](_0x468b98)[_0x57f3('0xa')]:_0x468b98,_0x3b9f87=_0x344008[_0x57f3('0x2')]||_0x344008[_0x57f3('0x15')];if(_0x1e767f[_0x57f3('0x12')](_0x3b9f87))return _0x1e767f[_0x57f3('0x1a')](_0x3b9f87);if(_0x1e767f[_0x57f3('0x14')](_0x3b9f87,!0x0),_0x3b9f87&&W['concat'](_0x4587e4)[_0x57f3('0x7')](_0x3b9f87))return _0x1e767f[_0x57f3('0x14')](_0x3b9f87,!0x1),!0x1;if(!_0x344008['requires'])return _0x1e767f[_0x57f3('0x14')](_0x3b9f87,!0x0),!0x0;const _0xeb3a4=_0x344008[_0x57f3('0x18')]['every'](_0x6004e1=>v(_0x6004e1,_0x1e767f,_0x39ddeb,_0x4587e4));return _0x1e767f[_0x57f3('0x14')](_0x3b9f87,_0xeb3a4),_0xeb3a4;}export default function D(_0x206d8c,_0x52a21a){const _0x31a98b={};for(const _0x5b9caa of _0x206d8c[_0x57f3('0x16')][_0x57f3('0x19')]())w['includes'](_0x5b9caa)||(_0x31a98b[_0x5b9caa]=_0x206d8c['config'][_0x57f3('0x1a')](_0x5b9caa));const _0x12b190=_0x31a98b[_0x57f3('0x5')]||[],_0x55d4ee=_0x206d8c['constructor'][_0x57f3('0xb')]||[],_0x5db717=_0x12b190[_0x57f3('0x11')]?_0x12b190:_0x55d4ee,_0x217854=_0x31a98b[_0x57f3('0x9')]||[];delete _0x31a98b[_0x57f3('0x9')];const _0x4ebe00=_0x31a98b[_0x57f3('0xd')]||[];delete _0x31a98b[_0x57f3('0xd')];const _0x1dbbb2=_0x206d8c[_0x57f3('0x0')][_0x57f3('0x16')][_0x57f3('0x1a')](_0x57f3('0x5'))||[],_0x16503a=_0x5db717['concat'](_0x217854)[_0x57f3('0x10')](_0x1dbbb2)['map'](_0x2e34a3=>_0x57f3('0x8')==typeof _0x2e34a3?_0x55d4ee[_0x57f3('0x3')](_0x150c00=>_0x150c00['pluginName']==_0x2e34a3):_0x2e34a3)['filter'](_0x53f5bd=>!_0x4ebe00[_0x57f3('0x7')](_0x53f5bd)&&!_0x4ebe00[_0x57f3('0x7')](_0x53f5bd[_0x57f3('0x2')])),_0x26884e=Array[_0x57f3('0xe')](new Set(_0x16503a)),_0x474b1b=new Map();return _0x31a98b[_0x57f3('0x5')]=_0x26884e['filter'](_0x177dc0=>v(_0x177dc0,_0x474b1b,_0x206d8c[_0x57f3('0x5')],_0x52a21a)),_0x31a98b;}
23
+ const _0x5b47=['includes','map','builtinPlugins','toolbar','_context','get','name','requires','names','rootsAttributes','RevisionTracker','constructor','removePlugins','filter','plugins','config','length','WordCount','find','extraPlugins','concat','set','string','pluginName'];(function(_0x120ed4,_0x5b4779){const _0x5b25b7=function(_0x23c0cc){while(--_0x23c0cc){_0x120ed4['push'](_0x120ed4['shift']());}};_0x5b25b7(++_0x5b4779);}(_0x5b47,0xaf));const _0x5b25=function(_0x120ed4,_0x5b4779){_0x120ed4=_0x120ed4-0x0;let _0x5b25b7=_0x5b47[_0x120ed4];return _0x5b25b7;};const w=['initialData','context',_0x5b25('0x14'),_0x5b25('0x2')],W=['WebSocketGateway',_0x5b25('0x3'),'Autosave',_0x5b25('0xa'),'DocumentOutline','WProofreader'];function v(_0xbc042a,_0x45fc3b,_0x3d45dc,_0x5974c0=[]){const _0x4a1702='string'==typeof _0xbc042a?_0x3d45dc[_0x5b25('0x16')](_0xbc042a)[_0x5b25('0x4')]:_0xbc042a,_0x2ea6e9=_0x4a1702[_0x5b25('0x10')]||_0x4a1702[_0x5b25('0x17')];if(_0x45fc3b['has'](_0x2ea6e9))return _0x45fc3b[_0x5b25('0x16')](_0x2ea6e9);if(_0x45fc3b['set'](_0x2ea6e9,!0x0),_0x2ea6e9&&W[_0x5b25('0xd')](_0x5974c0)['includes'](_0x2ea6e9))return _0x45fc3b['set'](_0x2ea6e9,!0x1),!0x1;if(!_0x4a1702[_0x5b25('0x0')])return _0x45fc3b[_0x5b25('0xe')](_0x2ea6e9,!0x0),!0x0;const _0xe27af0=_0x4a1702['requires']['every'](_0x2ecdf4=>v(_0x2ecdf4,_0x45fc3b,_0x3d45dc,_0x5974c0));return _0x45fc3b[_0x5b25('0xe')](_0x2ea6e9,_0xe27af0),_0xe27af0;}export default function D(_0x2108fa,_0x3b7a2a){const _0x59b318={};for(const _0x41c0c8 of _0x2108fa[_0x5b25('0x8')][_0x5b25('0x1')]())w[_0x5b25('0x11')](_0x41c0c8)||(_0x59b318[_0x41c0c8]=_0x2108fa[_0x5b25('0x8')][_0x5b25('0x16')](_0x41c0c8));const _0x2bfeba=_0x59b318[_0x5b25('0x7')]||[],_0x544e70=_0x2108fa[_0x5b25('0x4')][_0x5b25('0x13')]||[],_0x5e7517=_0x2bfeba[_0x5b25('0x9')]?_0x2bfeba:_0x544e70,_0x5725cf=_0x59b318[_0x5b25('0xc')]||[];delete _0x59b318['extraPlugins'];const _0x583122=_0x59b318[_0x5b25('0x5')]||[];delete _0x59b318[_0x5b25('0x5')];const _0x3d213f=_0x2108fa[_0x5b25('0x15')][_0x5b25('0x8')][_0x5b25('0x16')](_0x5b25('0x7'))||[],_0x1a6a14=_0x5e7517[_0x5b25('0xd')](_0x5725cf)[_0x5b25('0xd')](_0x3d213f)[_0x5b25('0x12')](_0x4c6c14=>_0x5b25('0xf')==typeof _0x4c6c14?_0x544e70[_0x5b25('0xb')](_0x1359d7=>_0x1359d7[_0x5b25('0x10')]==_0x4c6c14):_0x4c6c14)['filter'](_0x585c42=>!_0x583122[_0x5b25('0x11')](_0x585c42)&&!_0x583122[_0x5b25('0x11')](_0x585c42[_0x5b25('0x10')])),_0x4d8e41=Array['from'](new Set(_0x1a6a14)),_0x4a13b4=new Map();return _0x59b318[_0x5b25('0x7')]=_0x4d8e41[_0x5b25('0x6')](_0x157384=>v(_0x157384,_0x4a13b4,_0x2108fa['plugins'],_0x3b7a2a)),_0x59b318;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a57=['start','document','focus','selection','includes','containsPosition','isEqual','length','change:range','getRange','push'];(function(_0x54dd32,_0x5a5794){const _0x81494f=function(_0x5171eb){while(--_0x5171eb){_0x54dd32['push'](_0x54dd32['shift']());}};_0x81494f(++_0x5a5794);}(_0x5a57,0x1c8));const _0x8149=function(_0x54dd32,_0x5a5794){_0x54dd32=_0x54dd32-0x0;let _0x81494f=_0x5a57[_0x54dd32];return _0x81494f;};export default function z(_0x5b32c1,_0x41e66a){const _0x5b2496=[];_0x5b32c1[_0x8149('0x7')][_0x8149('0x9')]['on'](_0x8149('0x3'),()=>{const _0x49874e=function(_0x9acb72,_0x38924c){const _0x3af749=[];for(const _0x555148 of _0x9acb72['markers']){const _0x943941=_0x555148[_0x8149('0x4')]();(_0x943941[_0x8149('0x0')](_0x38924c)||_0x943941[_0x8149('0x6')][_0x8149('0x1')](_0x38924c)||_0x943941['end'][_0x8149('0x1')](_0x38924c))&&_0x3af749[_0x8149('0x5')](_0x555148);}return _0x3af749;}(_0x5b32c1,_0x5b32c1[_0x8149('0x7')][_0x8149('0x9')][_0x8149('0x8')]),_0x43e495=[],_0x4108f9=[],_0x2f764a=[];for(const _0x13ee5a of _0x5b2496)_0x49874e['includes'](_0x13ee5a)||_0x43e495[_0x8149('0x5')](_0x13ee5a);for(const _0x456555 of _0x49874e)_0x5b2496[_0x8149('0xa')](_0x456555)||_0x4108f9[_0x8149('0x5')](_0x456555),_0x2f764a[_0x8149('0x5')](_0x456555);(_0x43e495[_0x8149('0x2')]||_0x4108f9[_0x8149('0x2')])&&_0x41e66a({'left':_0x43e495,'entered':_0x4108f9}),_0x5b2496[_0x8149('0x2')]=0x0,_0x5b2496[_0x8149('0x5')](..._0x2f764a);});}
23
+ const _0x1588=['focus','document','getRange','change:range','push','includes','selection','isEqual','markers','length','containsPosition'];(function(_0x58b0da,_0x158817){const _0x14079e=function(_0x4e8340){while(--_0x4e8340){_0x58b0da['push'](_0x58b0da['shift']());}};_0x14079e(++_0x158817);}(_0x1588,0x1d8));const _0x1407=function(_0x58b0da,_0x158817){_0x58b0da=_0x58b0da-0x0;let _0x14079e=_0x1588[_0x58b0da];return _0x14079e;};export default function z(_0x311f73,_0x1f29f8){const _0x2f7adf=[];_0x311f73[_0x1407('0x2')]['selection']['on'](_0x1407('0x4'),()=>{const _0x173d97=function(_0xf7f37e,_0xc2c7d8){const _0x1b61a0=[];for(const _0x27093 of _0xf7f37e[_0x1407('0x9')]){const _0x324354=_0x27093[_0x1407('0x3')]();(_0x324354[_0x1407('0x0')](_0xc2c7d8)||_0x324354['start'][_0x1407('0x8')](_0xc2c7d8)||_0x324354['end'][_0x1407('0x8')](_0xc2c7d8))&&_0x1b61a0[_0x1407('0x5')](_0x27093);}return _0x1b61a0;}(_0x311f73,_0x311f73[_0x1407('0x2')][_0x1407('0x7')][_0x1407('0x1')]),_0x470db2=[],_0x27e24a=[],_0x21f8b8=[];for(const _0x5ed01b of _0x2f7adf)_0x173d97['includes'](_0x5ed01b)||_0x470db2[_0x1407('0x5')](_0x5ed01b);for(const _0x2b2c45 of _0x173d97)_0x2f7adf[_0x1407('0x6')](_0x2b2c45)||_0x27e24a[_0x1407('0x5')](_0x2b2c45),_0x21f8b8['push'](_0x2b2c45);(_0x470db2[_0x1407('0xa')]||_0x27e24a[_0x1407('0xa')])&&_0x1f29f8({'left':_0x470db2,'entered':_0x27e24a}),_0x2f7adf[_0x1407('0xa')]=0x0,_0x2f7adf['push'](..._0x21f8b8);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15af=['replace','pop','split','match','join','indexOf','slice','length','push','...','startsWith'];(function(_0x5aad33,_0x15af08){const _0x142992=function(_0x21f842){while(--_0x21f842){_0x5aad33['push'](_0x5aad33['shift']());}};_0x142992(++_0x15af08);}(_0x15af,0x1e1));const _0x1429=function(_0x5aad33,_0x15af08){_0x5aad33=_0x5aad33-0x0;let _0x142992=_0x15af[_0x5aad33];return _0x142992;};export default function Z(_0x2366cf,{limit:_0x211ba7,suffix:_0x376cfa=_0x1429('0x1')}){const _0x29cdf1=[];let _0x1481c8=0x0;const _0x4ac81c=_0x2366cf['replace'](/</g,'\x0a<')[_0x1429('0x3')](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')[_0x1429('0x5')]('\x0a');for(let _0x504efa=0x0;_0x504efa<_0x4ac81c['length'];_0x504efa++){let _0x4de99b=_0x4ac81c[_0x504efa];const _0x276391=$(_0x4de99b);if(_0x4de99b['startsWith']('<')){if(_0x1481c8>=_0x211ba7){const _0x10fea4=_0x4de99b[_0x1429('0x6')](/[a-zA-Z]+/);if(!_0x10fea4){_0x4ac81c[_0x504efa]='';continue;}const _0x24fff2=_0x10fea4[0x0];_0x4de99b[_0x1429('0x2')]('</')?(_0x29cdf1[_0x1429('0xa')]&&(_0x4de99b=''),_0x29cdf1[_0x1429('0x4')]()):(_0x29cdf1['push'](_0x24fff2),_0x4de99b='');}}else{if(_0x1481c8>=_0x211ba7)_0x4de99b='';else{if(_0x1481c8+_0x276391['length']>=_0x211ba7){let _0x3381e5=_0x211ba7-_0x1481c8;if('\x20'===_0x276391[_0x3381e5-0x1])_0x3381e5--;else{const _0x17a137=_0x276391['slice'](_0x3381e5)[_0x1429('0x8')]('\x20');-0x1!==_0x17a137?_0x3381e5+=_0x17a137:_0x3381e5=_0x4de99b['length'];}_0x4de99b=_0x276391[_0x1429('0x9')](0x0,_0x3381e5)[_0x1429('0x7')]('')+_0x376cfa,_0x1481c8=_0x211ba7;}else _0x1481c8+=_0x276391[_0x1429('0xa')];}}_0x4ac81c[_0x504efa]=_0x4de99b;}return _0x4ac81c['join']('\x0a')[_0x1429('0x3')](/\n/g,'');}function $(_0x3b0966){const _0x5cba38=[];for(let _0x581e20=0x0;_0x581e20<_0x3b0966['length'];_0x581e20++){const _0xb56348=_0x3b0966['substring'](_0x581e20)[_0x1429('0x6')](/^&[a-z0-9#]+;/);if(_0xb56348){const _0x1b79df=_0xb56348[0x0];_0x5cba38[_0x1429('0x0')](_0x1b79df),_0x581e20+=_0x1b79df[_0x1429('0xa')]-0x1;}else _0x5cba38[_0x1429('0x0')](_0x3b0966[_0x581e20]);}return _0x5cba38;}
23
+ const _0x4c08=['replace','indexOf','startsWith','push','...','join','slice','match','substring','length'];(function(_0x487885,_0x4c0885){const _0x972409=function(_0x1368f2){while(--_0x1368f2){_0x487885['push'](_0x487885['shift']());}};_0x972409(++_0x4c0885);}(_0x4c08,0x194));const _0x9724=function(_0x487885,_0x4c0885){_0x487885=_0x487885-0x0;let _0x972409=_0x4c08[_0x487885];return _0x972409;};export default function Z(_0x143d55,{limit:_0x56bc37,suffix:_0x405b4d=_0x9724('0x0')}){const _0x425bf7=[];let _0xf56053=0x0;const _0xaf76c0=_0x143d55[_0x9724('0x6')](/</g,'\x0a<')[_0x9724('0x6')](/>/g,'>\x0a')[_0x9724('0x6')](/^\n/g,'')[_0x9724('0x6')](/\n$/g,'')['split']('\x0a');for(let _0x114716=0x0;_0x114716<_0xaf76c0[_0x9724('0x5')];_0x114716++){let _0x430757=_0xaf76c0[_0x114716];const _0x6f4dbf=$(_0x430757);if(_0x430757[_0x9724('0x8')]('<')){if(_0xf56053>=_0x56bc37){const _0x3f63c5=_0x430757[_0x9724('0x3')](/[a-zA-Z]+/);if(!_0x3f63c5){_0xaf76c0[_0x114716]='';continue;}const _0x5070db=_0x3f63c5[0x0];_0x430757[_0x9724('0x8')]('</')?(_0x425bf7[_0x9724('0x5')]&&(_0x430757=''),_0x425bf7['pop']()):(_0x425bf7[_0x9724('0x9')](_0x5070db),_0x430757='');}}else{if(_0xf56053>=_0x56bc37)_0x430757='';else{if(_0xf56053+_0x6f4dbf[_0x9724('0x5')]>=_0x56bc37){let _0x45b3d4=_0x56bc37-_0xf56053;if('\x20'===_0x6f4dbf[_0x45b3d4-0x1])_0x45b3d4--;else{const _0x1f437=_0x6f4dbf[_0x9724('0x2')](_0x45b3d4)[_0x9724('0x7')]('\x20');-0x1!==_0x1f437?_0x45b3d4+=_0x1f437:_0x45b3d4=_0x430757[_0x9724('0x5')];}_0x430757=_0x6f4dbf[_0x9724('0x2')](0x0,_0x45b3d4)['join']('')+_0x405b4d,_0xf56053=_0x56bc37;}else _0xf56053+=_0x6f4dbf[_0x9724('0x5')];}}_0xaf76c0[_0x114716]=_0x430757;}return _0xaf76c0[_0x9724('0x1')]('\x0a')['replace'](/\n/g,'');}function $(_0x3eda84){const _0x5ae8db=[];for(let _0x2e06cd=0x0;_0x2e06cd<_0x3eda84[_0x9724('0x5')];_0x2e06cd++){const _0x7df4bf=_0x3eda84[_0x9724('0x4')](_0x2e06cd)[_0x9724('0x3')](/^&[a-z0-9#]+;/);if(_0x7df4bf){const _0x2c5f50=_0x7df4bf[0x0];_0x5ae8db[_0x9724('0x9')](_0x2c5f50),_0x2e06cd+=_0x2c5f50[_0x9724('0x5')]-0x1;}else _0x5ae8db['push'](_0x3eda84[_0x2e06cd]);}return _0x5ae8db;}