@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231211.0 → 0.0.0-nightly-20231213.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-20231211.0",
3
+ "version": "0.0.0-nightly-20231213.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/)",
@@ -31,7 +31,7 @@
31
31
  ],
32
32
  "main": "src/index.js",
33
33
  "dependencies": {
34
- "ckeditor5": "0.0.0-nightly-20231211.0",
34
+ "ckeditor5": "0.0.0-nightly-20231213.0",
35
35
  "date-fns": "2.30.0"
36
36
  },
37
37
  "files": [
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ee0=['comment:admin','disableReadOnlyMode','plugins','comment:modify_all','CommentsOnly','isEnabled','collaboration.channelId','document:write','has','includes','Permissions','noPermissions','comment:write','forceDisabled','editors','context','permissions-set-permissions-invalid-channel-id','no-permissions','addCommentThread','find','clearForceDisabled','commands','pluginName','get','enableReadOnlyMode','config','CommentsRepository'];(function(_0x334187,_0x2ee0c8){const _0x543760=function(_0x3e5c5d){while(--_0x3e5c5d){_0x334187['push'](_0x334187['shift']());}};_0x543760(++_0x2ee0c8);}(_0x2ee0,0x13b));const _0x5437=function(_0x334187,_0x2ee0c8){_0x334187=_0x334187-0x0;let _0x543760=_0x2ee0[_0x334187];return _0x543760;};import{ContextPlugin as _0x327af9,Editor as _0x425a67}from'ckeditor5/src/core';import{CKEditorError as _0xa13f89}from'ckeditor5/src/utils';export default class n extends _0x327af9{static get[_0x5437('0x4')](){return _0x5437('0x13');}['setPermissions'](_0x2c84f8,_0x262138){let _0x241738;if(_0x262138||(_0x262138=this[_0x5437('0x18')]['config'][_0x5437('0x5')](_0x5437('0xf'))),this[_0x5437('0x18')][_0x5437('0x7')][_0x5437('0x5')](_0x5437('0xf'))==_0x262138?_0x241738=this[_0x5437('0x18')]:_0x5437('0x17')in this[_0x5437('0x18')]&&this['context'][_0x5437('0x17')]&&(_0x241738=this[_0x5437('0x18')][_0x5437('0x17')][_0x5437('0x1')](_0x32c388=>_0x32c388['config'][_0x5437('0x5')]('collaboration.channelId')==_0x262138)),!_0x241738)throw new _0xa13f89(_0x5437('0x19'),null);const _0x29dc16=_0x241738[_0x5437('0xb')],_0x26eba2=_0x29dc16['has'](_0x5437('0x8'))?_0x29dc16[_0x5437('0x5')](_0x5437('0x8')):void 0x0,_0x40c4bb=_0x29dc16[_0x5437('0x11')](_0x5437('0xd'))&&_0x29dc16[_0x5437('0x5')]('CommentsOnly'),_0x41418a=_0x2c84f8[_0x5437('0x12')](_0x5437('0x10')),_0x476147=_0x2c84f8[_0x5437('0x12')](_0x5437('0xc')),_0x307458=_0x2c84f8[_0x5437('0x12')](_0x5437('0x9')),_0x58caa1=_0x2c84f8[_0x5437('0x12')](_0x5437('0x15')),_0x593747=_0x58caa1||_0x307458,_0x2beb92=_0x593747||_0x476147,_0x5eaf0d=_0x41418a||_0x593747;(_0x40c4bb&&(_0x40c4bb[_0x5437('0xe')]=!_0x41418a&&_0x2beb92),_0x241738 instanceof _0x425a67)&&(!(_0x41418a||_0x2beb92&&_0x26eba2)?_0x241738[_0x5437('0x6')](_0x5437('0x1a')):_0x241738[_0x5437('0xa')](_0x5437('0x1a')));if(_0x26eba2){_0x26eba2['setPermissions']({'admin':_0x307458,'modifyAll':_0x476147,'write':_0x58caa1,'resolve':_0x5eaf0d},_0x262138);const _0x258f37=_0x241738 instanceof _0x425a67&&_0x241738[_0x5437('0x3')]['get'](_0x5437('0x0'));_0x258f37&&(_0x593747?_0x258f37[_0x5437('0x2')](_0x5437('0x14')):_0x258f37[_0x5437('0x16')](_0x5437('0x14')));}}}
23
+ const _0x2513=['Permissions','setPermissions','comment:modify_all','forceDisabled','noPermissions','addCommentThread','get','commands','collaboration.channelId','clearForceDisabled','isEnabled','context','CommentsRepository','has','find','no-permissions','includes','permissions-set-permissions-invalid-channel-id','comment:write','CommentsOnly','editors','enableReadOnlyMode','config'];(function(_0x154e5e,_0x2513a1){const _0x53f105=function(_0x4486d2){while(--_0x4486d2){_0x154e5e['push'](_0x154e5e['shift']());}};_0x53f105(++_0x2513a1);}(_0x2513,0xbd));const _0x53f1=function(_0x154e5e,_0x2513a1){_0x154e5e=_0x154e5e-0x0;let _0x53f105=_0x2513[_0x154e5e];return _0x53f105;};import{ContextPlugin as _0x51c2e7,Editor as _0x1d9dec}from'ckeditor5/src/core';import{CKEditorError as _0x20b442}from'ckeditor5/src/utils';export default class n extends _0x51c2e7{static get['pluginName'](){return _0x53f1('0x12');}[_0x53f1('0x13')](_0x3fd2e4,_0x3b8f43){let _0x205978;if(_0x3b8f43||(_0x3b8f43=this['context'][_0x53f1('0x11')][_0x53f1('0x1')]('collaboration.channelId')),this[_0x53f1('0x6')][_0x53f1('0x11')][_0x53f1('0x1')](_0x53f1('0x3'))==_0x3b8f43?_0x205978=this['context']:_0x53f1('0xf')in this[_0x53f1('0x6')]&&this[_0x53f1('0x6')][_0x53f1('0xf')]&&(_0x205978=this[_0x53f1('0x6')][_0x53f1('0xf')][_0x53f1('0x9')](_0x5bc97b=>_0x5bc97b['config'][_0x53f1('0x1')]('collaboration.channelId')==_0x3b8f43)),!_0x205978)throw new _0x20b442(_0x53f1('0xc'),null);const _0x470aef=_0x205978['plugins'],_0x4c78fc=_0x470aef[_0x53f1('0x8')](_0x53f1('0x7'))?_0x470aef[_0x53f1('0x1')](_0x53f1('0x7')):void 0x0,_0x47b776=_0x470aef[_0x53f1('0x8')](_0x53f1('0xe'))&&_0x470aef[_0x53f1('0x1')]('CommentsOnly'),_0x32c4d3=_0x3fd2e4[_0x53f1('0xb')]('document:write'),_0x16a882=_0x3fd2e4[_0x53f1('0xb')](_0x53f1('0x14')),_0x2d79c8=_0x3fd2e4[_0x53f1('0xb')]('comment:admin'),_0x44ee60=_0x3fd2e4[_0x53f1('0xb')](_0x53f1('0xd')),_0x484a36=_0x44ee60||_0x2d79c8,_0x3aadd4=_0x484a36||_0x16a882,_0x3dbc53=_0x32c4d3||_0x484a36;(_0x47b776&&(_0x47b776[_0x53f1('0x5')]=!_0x32c4d3&&_0x3aadd4),_0x205978 instanceof _0x1d9dec)&&(!(_0x32c4d3||_0x3aadd4&&_0x4c78fc)?_0x205978[_0x53f1('0x10')]('no-permissions'):_0x205978['disableReadOnlyMode'](_0x53f1('0xa')));if(_0x4c78fc){_0x4c78fc[_0x53f1('0x13')]({'admin':_0x2d79c8,'modifyAll':_0x16a882,'write':_0x44ee60,'resolve':_0x3dbc53},_0x3b8f43);const _0x5b5c71=_0x205978 instanceof _0x1d9dec&&_0x205978[_0x53f1('0x2')][_0x53f1('0x1')](_0x53f1('0x0'));_0x5b5c71&&(_0x484a36?_0x5b5c71[_0x53f1('0x4')](_0x53f1('0x16')):_0x5b5c71[_0x53f1('0x15')](_0x53f1('0x16')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x570d=['notificationView','ck-user__anonymous','avatar','div','isAnonymous','url(\x27','ck-user__img','ck\x20ck-user__name','ck\x20ck-user__name\x20ck-user__name--hidden','push','setTemplate','name','content','extendTemplate','initials','ck-user'];(function(_0x128a78,_0x570d11){const _0x1af642=function(_0x9b2a59){while(--_0x9b2a59){_0x128a78['push'](_0x128a78['shift']());}};_0x1af642(++_0x570d11);}(_0x570d,0xb1));const _0x1af6=function(_0x128a78,_0x570d11){_0x128a78=_0x128a78-0x0;let _0x1af642=_0x570d[_0x128a78];return _0x1af642;};import{View as _0x55b9c2,IconView as _0x327159}from'ckeditor5/src/ui';import _0x2807d6 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x55b9c2{constructor(_0x472c49,_0x1a9e05,_0x35c85b){super(_0x472c49),this[_0x1af6('0xa')]=_0x1a9e05[_0x1af6('0xa')],this[_0x1af6('0xf')]=null;const _0x1322e0=['ck',_0x1af6('0x5')];if(_0x1a9e05[_0x1af6('0x3')]&&_0x1322e0[_0x1af6('0x8')](_0x1af6('0x0')),_0x1a9e05[_0x1af6('0x1')]&&_0x1322e0['push']('ck-user__avatar'),_0x35c85b){const _0x44ff93=new _0x327159();_0x44ff93[_0x1af6('0xc')]({'attributes':{'class':['ck-user__icon']}}),_0x44ff93[_0x1af6('0xb')]=_0x2807d6,this[_0x1af6('0xf')]={'tag':_0x1af6('0x2'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x35c85b},'children':[_0x44ff93]};}const _0x3900f1=[{'tag':_0x1af6('0x2'),'attributes':{'class':_0x1322e0,'style':{'background-image':_0x1a9e05[_0x1af6('0x1')]?_0x1af6('0x4')+_0x1a9e05['avatar']+'\x27)':''}}},{'tag':_0x1af6('0x2'),'attributes':{'class':_0x1a9e05[_0x1af6('0x1')]?_0x1af6('0x7'):_0x1af6('0x6')},'children':[{'text':_0x1a9e05[_0x1af6('0xd')]}]}];this[_0x1af6('0xf')]&&_0x3900f1[_0x1af6('0x8')](this['notificationView']),this[_0x1af6('0x9')]({'tag':'div','attributes':{'class':['ck',_0x1af6('0xe')],'data-user-id':_0x1a9e05['id']},'children':_0x3900f1});}}
23
+ const _0x1939=['url(\x27','ck-user__icon','avatar','notificationView','setTemplate','content','extendTemplate','initials','ck-user__anonymous','ck-user__img','ck-user__notification','ck-user__avatar','div','push','ck\x20ck-user__name','name','ck\x20ck-user__name\x20ck-user__name--hidden'];(function(_0x546a34,_0x19393f){const _0x5b9126=function(_0x4ab8f7){while(--_0x4ab8f7){_0x546a34['push'](_0x546a34['shift']());}};_0x5b9126(++_0x19393f);}(_0x1939,0x1c6));const _0x5b91=function(_0x546a34,_0x19393f){_0x546a34=_0x546a34-0x0;let _0x5b9126=_0x1939[_0x546a34];return _0x5b9126;};import{View as _0x561c5d,IconView as _0x175f55}from'ckeditor5/src/ui';import _0x3082e1 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x561c5d{constructor(_0x232a50,_0x25fc5b,_0x2ceeeb){super(_0x232a50),this[_0x5b91('0x3')]=_0x25fc5b[_0x5b91('0x3')],this[_0x5b91('0x8')]=null;const _0x3a6dc3=['ck',_0x5b91('0xe')];if(_0x25fc5b['isAnonymous']&&_0x3a6dc3[_0x5b91('0x1')](_0x5b91('0xd')),_0x25fc5b['avatar']&&_0x3a6dc3[_0x5b91('0x1')](_0x5b91('0x10')),_0x2ceeeb){const _0x4a8273=new _0x175f55();_0x4a8273[_0x5b91('0xb')]({'attributes':{'class':[_0x5b91('0x6')]}}),_0x4a8273[_0x5b91('0xa')]=_0x3082e1,this[_0x5b91('0x8')]={'tag':'div','attributes':{'class':['ck',_0x5b91('0xf')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2ceeeb},'children':[_0x4a8273]};}const _0x120f44=[{'tag':'div','attributes':{'class':_0x3a6dc3,'style':{'background-image':_0x25fc5b[_0x5b91('0x7')]?_0x5b91('0x5')+_0x25fc5b[_0x5b91('0x7')]+'\x27)':''}}},{'tag':_0x5b91('0x0'),'attributes':{'class':_0x25fc5b['avatar']?_0x5b91('0x4'):_0x5b91('0x2')},'children':[{'text':_0x25fc5b[_0x5b91('0xc')]}]}];this[_0x5b91('0x8')]&&_0x120f44[_0x5b91('0x1')](this['notificationView']),this[_0x5b91('0x9')]({'tag':_0x5b91('0x0'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x25fc5b['id']},'children':_0x120f44});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f2e=['init','licenseKeyValid','_locale','users.colorsCount','_lastColor','invalid-license-key','charAt','trim','color','trial-license-key-reached-limit-time','licenseKeyInvalid','avatar','defineMe','length','info','_licenseKeyCheckInterval','locale','ck-user__marker--','Users','getUser','_myId','licenseKeyTrialLimit:time','users','Anonymous','users-add-invalid-id','pluginName','users.anonymousUserId','define','initials','trial-license-key-reached-limit-changes','config','_addAnonymousUser','_getInitial','name','includes','get','users-add-duplicated-id','licenseKey','licenseKeyTrial','context','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.','add','getSelectionClass','requires','getBackgroundColorClass','addUser','getOperationAuthor','_getNextColor','ck-user__bg-color--','isAnonymous','has','_isAnonymous','decorate','_id','string','destroy','licenseKeyTrialLimit:revisions','anonymous-user'];(function(_0x41dd5a,_0x4f2ecc){const _0x261cde=function(_0x5adf82){while(--_0x5adf82){_0x41dd5a['push'](_0x41dd5a['shift']());}};_0x261cde(++_0x4f2ecc);}(_0x4f2e,0x178));const _0x261c=function(_0x41dd5a,_0x4f2ecc){_0x41dd5a=_0x41dd5a-0x0;let _0x261cde=_0x4f2e[_0x41dd5a];return _0x261cde;};import{ContextPlugin as _0x26bed7}from'ckeditor5/src/core';import{Collection as _0x152248,CKEditorError as _0x588d42}from'ckeditor5/src/utils';import _0x31a78 from'./permissions';import{getTranslation as _0x476c97}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x26bed7{static get[_0x261c('0x37')](){return _0x261c('0x30');}static get[_0x261c('0xf')](){return[_0x31a78];}constructor(_0x275b76){super(_0x275b76),this['context'][_0x261c('0x2')][_0x261c('0x39')](_0x261c('0x38'),_0x261c('0x1d')),this[_0x261c('0xb')][_0x261c('0x2')][_0x261c('0x39')](_0x261c('0x21'),0x8),this[_0x261c('0x34')]=new _0x152248(),this[_0x261c('0x20')]=_0x275b76[_0x261c('0x2e')],this[_0x261c('0x2d')]=null,this['_lastColor']=0x0,this['_myId']=null,this[_0x261c('0x18')](_0x261c('0x12'));}[_0x261c('0x1e')](){const _0x97025c=this[_0x261c('0xb')];this[_0x261c('0x9')]=_0x97025c['config'][_0x261c('0x7')]('licenseKey');const _0x4ecec5=[_0x261c('0xa'),_0x261c('0x28'),_0x261c('0x1f'),'licenseKeyTrialLimit:operations',_0x261c('0x33'),_0x261c('0x1c')];this[_0x261c('0x2d')]=setInterval(()=>{let _0x617a61;for(const _0x112f7a in _0x97025c){const _0xccb6b1=_0x97025c[_0x112f7a];if(_0x4ecec5[_0x261c('0x6')](_0xccb6b1)){delete _0x97025c[_0x112f7a],_0x617a61=_0xccb6b1;break;}}if(_0x261c('0x28')===_0x617a61)throw clearInterval(this[_0x261c('0x2d')]),new _0x588d42(_0x261c('0x23'),null);if('licenseKeyTrial'===_0x617a61&&console[_0x261c('0x2c')](_0x261c('0xc')),'licenseKeyTrialLimit:operations'===_0x617a61)throw clearInterval(this[_0x261c('0x2d')]),new _0x588d42(_0x261c('0x1'),null);if(_0x261c('0x33')===_0x617a61)throw clearInterval(this[_0x261c('0x2d')]),new _0x588d42(_0x261c('0x27'),null);if(_0x261c('0x1c')===_0x617a61)throw clearInterval(this[_0x261c('0x2d')]),new _0x588d42('trial-license-key-reached-limit-revisions',null);_0x261c('0x1f')===_0x617a61&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x261c('0x32')]?null:this[_0x261c('0x31')](this['_myId']);}[_0x261c('0x11')]({id:_0x50ddfc,name:_0x5260df,..._0x43876f}){if(!_0x50ddfc||_0x261c('0x1a')!=typeof _0x50ddfc)throw new _0x588d42(_0x261c('0x36'));if(this[_0x261c('0x34')][_0x261c('0x16')](_0x50ddfc))throw new _0x588d42(_0x261c('0x8'),null,{'id':_0x50ddfc});const _0x2ed90d={..._0x43876f,'id':_0x50ddfc,'name':a(this[_0x261c('0x20')],_0x5260df),'color':this[_0x261c('0x13')]()};_0x2ed90d[_0x261c('0x5')]=a(this[_0x261c('0x20')],_0x2ed90d[_0x261c('0x5')]);const _0x3f51e2=new User(_0x2ed90d);return this[_0x261c('0x34')][_0x261c('0xd')](_0x3f51e2),_0x3f51e2;}[_0x261c('0x31')](_0x54a6e9){return this['users'][_0x261c('0x7')](_0x54a6e9);}['useAnonymousUser'](){const _0x57339a=this['context'][_0x261c('0x2')]['get']('users.anonymousUserId');this[_0x261c('0x32')]||this[_0x261c('0x2a')](_0x57339a);}['defineMe'](_0x5509ed){if(this['_myId'])throw new _0x588d42('users-me-already-defined',null);if(!this[_0x261c('0x31')](_0x5509ed))throw new _0x588d42('users-me-missing-user',null);this['_myId']=_0x5509ed;}['getOperationAuthor'](){return this['me'];}[_0x261c('0x1b')](){super[_0x261c('0x1b')](),clearInterval(this[_0x261c('0x2d')]);}[_0x261c('0x13')](){const _0x389e35=this[_0x261c('0xb')][_0x261c('0x2')][_0x261c('0x7')](_0x261c('0x21'));return this[_0x261c('0x22')]>=_0x389e35&&(this['_lastColor']=0x0),new u(this[_0x261c('0x22')]++);}[_0x261c('0x3')](){const _0x3916f7=this[_0x261c('0xb')][_0x261c('0x2')][_0x261c('0x7')](_0x261c('0x38'));this[_0x261c('0x11')]({'id':_0x3916f7,'name':_0x476c97(this[_0x261c('0x20')],_0x261c('0x35'))})[_0x261c('0x17')]=!0x0;}}export class User{constructor(_0x4762e8){this['id']=_0x4762e8['id'],this[_0x261c('0x26')]=_0x4762e8['color'],this[_0x261c('0x5')]=_0x4762e8[_0x261c('0x5')],this[_0x261c('0x29')]=_0x4762e8[_0x261c('0x29')],this['_isAnonymous']=!0x1;}get[_0x261c('0x15')](){return this[_0x261c('0x17')];}get[_0x261c('0x0')](){const _0x530ac9=this[_0x261c('0x5')]['split']('\x20');return 0x1===_0x530ac9[_0x261c('0x2b')]?this['_getInitial'](_0x530ac9[0x0]):this[_0x261c('0x4')](_0x530ac9[0x0])+this[_0x261c('0x4')](_0x530ac9[_0x530ac9[_0x261c('0x2b')]-0x1]);}[_0x261c('0x4')](_0x3bab78){return _0x3bab78[_0x261c('0x24')](0x0)['toUpperCase']();}}function a(_0x1bf651,_0x2e0905=''){return''==(_0x2e0905=_0x2e0905[_0x261c('0x25')]())?_0x476c97(_0x1bf651,'Anonymous'):_0x2e0905;}class u{constructor(_0xb9b084){this[_0x261c('0x19')]=_0xb9b084;}[_0x261c('0x10')](){return _0x261c('0x14')+this[_0x261c('0x19')];}[_0x261c('0xe')](){return'ck-user__selection--'+this[_0x261c('0x19')];}['getMarkerClass'](){return _0x261c('0x2f')+this[_0x261c('0x19')];}}
23
+ const _0x1312=['initials','trial-license-key-reached-limit-time','users-me-missing-user','Anonymous','toUpperCase','length','anonymous-user','licenseKeyTrial','_locale','_lastColor','users.colorsCount','get','licenseKeyInvalid','config','licenseKey','_id','destroy','add','licenseKeyValid','trim','users-add-duplicated-id','info','users-me-already-defined','context','addUser','_myId','invalid-license-key','_getNextColor','requires','_isAnonymous','_licenseKeyCheckInterval','_addAnonymousUser','getOperationAuthor','useAnonymousUser','_getInitial','charAt','avatar','decorate','string','ck-user__marker--','init','define','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.','getMarkerClass','has','color','name','ck-user__bg-color--','licenseKeyTrialLimit:revisions','isAnonymous','trial-license-key-reached-limit-revisions','users.anonymousUserId','users-add-invalid-id','trial-license-key-reached-limit-changes','defineMe','getUser','getSelectionClass'];(function(_0x2e1bee,_0x1312cb){const _0x33c8bc=function(_0x5ab6d3){while(--_0x5ab6d3){_0x2e1bee['push'](_0x2e1bee['shift']());}};_0x33c8bc(++_0x1312cb);}(_0x1312,0x125));const _0x33c8=function(_0x2e1bee,_0x1312cb){_0x2e1bee=_0x2e1bee-0x0;let _0x33c8bc=_0x1312[_0x2e1bee];return _0x33c8bc;};import{ContextPlugin as _0x24c2ab}from'ckeditor5/src/core';import{Collection as _0x108178,CKEditorError as _0x22641b}from'ckeditor5/src/utils';import _0xc48266 from'./permissions';import{getTranslation as _0x5ca5c8}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x24c2ab{static get['pluginName'](){return'Users';}static get[_0x33c8('0x19')](){return[_0xc48266];}constructor(_0x20eb00){super(_0x20eb00),this[_0x33c8('0x14')][_0x33c8('0xa')][_0x33c8('0x26')](_0x33c8('0x31'),_0x33c8('0x3')),this[_0x33c8('0x14')]['config'][_0x33c8('0x26')](_0x33c8('0x7'),0x8),this['users']=new _0x108178(),this[_0x33c8('0x5')]=_0x20eb00['locale'],this[_0x33c8('0x1b')]=null,this[_0x33c8('0x6')]=0x0,this[_0x33c8('0x16')]=null,this[_0x33c8('0x22')](_0x33c8('0x1d'));}[_0x33c8('0x25')](){const _0x1fee24=this['context'];this['licenseKey']=_0x1fee24[_0x33c8('0xa')][_0x33c8('0x8')](_0x33c8('0xb'));const _0x1f0f45=[_0x33c8('0x4'),_0x33c8('0x9'),_0x33c8('0xf'),_0x33c8('0x27'),'licenseKeyTrialLimit:time',_0x33c8('0x2e')];this[_0x33c8('0x1b')]=setInterval(()=>{let _0xb064d;for(const _0xa0639 in _0x1fee24){const _0x255e5f=_0x1fee24[_0xa0639];if(_0x1f0f45['includes'](_0x255e5f)){delete _0x1fee24[_0xa0639],_0xb064d=_0x255e5f;break;}}if(_0x33c8('0x9')===_0xb064d)throw clearInterval(this[_0x33c8('0x1b')]),new _0x22641b(_0x33c8('0x17'),null);if('licenseKeyTrial'===_0xb064d&&console[_0x33c8('0x12')](_0x33c8('0x28')),_0x33c8('0x27')===_0xb064d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x22641b(_0x33c8('0x33'),null);if('licenseKeyTrialLimit:time'===_0xb064d)throw clearInterval(this[_0x33c8('0x1b')]),new _0x22641b(_0x33c8('0x38'),null);if(_0x33c8('0x2e')===_0xb064d)throw clearInterval(this[_0x33c8('0x1b')]),new _0x22641b(_0x33c8('0x30'),null);_0x33c8('0xf')===_0xb064d&&clearInterval(this[_0x33c8('0x1b')]);},0x3e8),this[_0x33c8('0x1c')]();}get['me'](){return null==this[_0x33c8('0x16')]?null:this[_0x33c8('0x35')](this[_0x33c8('0x16')]);}[_0x33c8('0x15')]({id:_0x3b4804,name:_0x1133fc,..._0x123676}){if(!_0x3b4804||_0x33c8('0x23')!=typeof _0x3b4804)throw new _0x22641b(_0x33c8('0x32'));if(this['users'][_0x33c8('0x2a')](_0x3b4804))throw new _0x22641b(_0x33c8('0x11'),null,{'id':_0x3b4804});const _0x32f845={..._0x123676,'id':_0x3b4804,'name':a(this[_0x33c8('0x5')],_0x1133fc),'color':this[_0x33c8('0x18')]()};_0x32f845[_0x33c8('0x2c')]=a(this['_locale'],_0x32f845['name']);const _0x481f11=new User(_0x32f845);return this['users'][_0x33c8('0xe')](_0x481f11),_0x481f11;}['getUser'](_0x576810){return this['users'][_0x33c8('0x8')](_0x576810);}[_0x33c8('0x1e')](){const _0x3893d2=this[_0x33c8('0x14')][_0x33c8('0xa')][_0x33c8('0x8')](_0x33c8('0x31'));this[_0x33c8('0x16')]||this[_0x33c8('0x34')](_0x3893d2);}['defineMe'](_0x48dbd7){if(this[_0x33c8('0x16')])throw new _0x22641b(_0x33c8('0x13'),null);if(!this[_0x33c8('0x35')](_0x48dbd7))throw new _0x22641b(_0x33c8('0x39'),null);this[_0x33c8('0x16')]=_0x48dbd7;}[_0x33c8('0x1d')](){return this['me'];}[_0x33c8('0xd')](){super[_0x33c8('0xd')](),clearInterval(this[_0x33c8('0x1b')]);}[_0x33c8('0x18')](){const _0x3c1b4b=this[_0x33c8('0x14')][_0x33c8('0xa')][_0x33c8('0x8')]('users.colorsCount');return this[_0x33c8('0x6')]>=_0x3c1b4b&&(this[_0x33c8('0x6')]=0x0),new u(this[_0x33c8('0x6')]++);}[_0x33c8('0x1c')](){const _0x5ae80c=this[_0x33c8('0x14')]['config'][_0x33c8('0x8')](_0x33c8('0x31'));this[_0x33c8('0x15')]({'id':_0x5ae80c,'name':_0x5ca5c8(this[_0x33c8('0x5')],_0x33c8('0x0'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x5e7b6e){this['id']=_0x5e7b6e['id'],this[_0x33c8('0x2b')]=_0x5e7b6e['color'],this[_0x33c8('0x2c')]=_0x5e7b6e['name'],this['avatar']=_0x5e7b6e[_0x33c8('0x21')],this[_0x33c8('0x1a')]=!0x1;}get[_0x33c8('0x2f')](){return this[_0x33c8('0x1a')];}get[_0x33c8('0x37')](){const _0x572f9e=this[_0x33c8('0x2c')]['split']('\x20');return 0x1===_0x572f9e['length']?this[_0x33c8('0x1f')](_0x572f9e[0x0]):this[_0x33c8('0x1f')](_0x572f9e[0x0])+this[_0x33c8('0x1f')](_0x572f9e[_0x572f9e[_0x33c8('0x2')]-0x1]);}[_0x33c8('0x1f')](_0x44ea8a){return _0x44ea8a[_0x33c8('0x20')](0x0)[_0x33c8('0x1')]();}}function a(_0x1f08d7,_0x4886ac=''){return''==(_0x4886ac=_0x4886ac[_0x33c8('0x10')]())?_0x5ca5c8(_0x1f08d7,_0x33c8('0x0')):_0x4886ac;}class u{constructor(_0x422b02){this[_0x33c8('0xc')]=_0x422b02;}['getBackgroundColorClass'](){return _0x33c8('0x2d')+this[_0x33c8('0xc')];}[_0x33c8('0x36')](){return'ck-user__selection--'+this['_id'];}[_0x33c8('0x29')](){return _0x33c8('0x24')+this[_0x33c8('0xc')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x354098,_0x385590){const t=_0x354098['t'];switch(_0x385590){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(_0x1fc448,_0x359008){const t=_0x1fc448['t'];switch(_0x359008){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 _0x5550=['cancel','deregisterChild','submit','appendChild','remove','cancelConfirm','isConfirm','registerChild','render','message','confirmView','showConfirm','once','element','focus','set','_removeConfirm'];(function(_0x227948,_0x555071){var _0x240627=function(_0x31ed70){while(--_0x31ed70){_0x227948['push'](_0x227948['shift']());}};_0x240627(++_0x555071);}(_0x5550,0xf4));var _0x2406=function(_0x227948,_0x555071){_0x227948=_0x227948-0x0;var _0x240627=_0x5550[_0x227948];return _0x240627;};import _0x474192 from'./confirmview';export default function m(_0x590024){return class extends _0x590024{[_0x2406('0x5')](_0x4f886d,_0xa4b5da){return this[_0x2406('0x4')]=new _0x474192(this['locale']),this['confirmView'][_0x2406('0x2')](),this['confirmView'][_0x2406('0x3')]=_0x4f886d,this[_0x2406('0x4')][_0x2406('0x6')](_0x2406('0xb'),()=>{this[_0x2406('0xa')]();}),this[_0x2406('0x4')]['once'](_0x2406('0xd'),()=>{this[_0x2406('0xa')]();}),_0xa4b5da[_0x2406('0xe')](this[_0x2406('0x4')]['element']),this[_0x2406('0x1')](this[_0x2406('0x4')]),this[_0x2406('0x7')][_0x2406('0x8')](),this[_0x2406('0x9')](_0x2406('0x0'),!0x0),new Promise(_0x29cc76=>this[_0x2406('0x4')]['on'](_0x2406('0xd'),_0x29cc76));}[_0x2406('0x10')](){this[_0x2406('0x0')]&&this[_0x2406('0x4')]['fire'](_0x2406('0xb'));}['_removeConfirm'](){this[_0x2406('0x7')]&&this[_0x2406('0x4')]&&this[_0x2406('0x4')][_0x2406('0x7')]&&(this[_0x2406('0x7')][_0x2406('0x8')](),this[_0x2406('0x4')][_0x2406('0x7')][_0x2406('0xf')](),this[_0x2406('0xc')](this[_0x2406('0x4')]),this[_0x2406('0x0')]=!0x1,this['confirmView']['destroy'](),this[_0x2406('0x4')]=void 0x0);}};}
23
+ var _0x158b=['fire','element','cancel','_removeConfirm','submit','focus','registerChild','appendChild','locale','render','deregisterChild','confirmView','once','set','showConfirm','cancelConfirm','isConfirm'];(function(_0x40c391,_0x158bec){var _0xcca5ae=function(_0x2ab0ba){while(--_0x2ab0ba){_0x40c391['push'](_0x40c391['shift']());}};_0xcca5ae(++_0x158bec);}(_0x158b,0x174));var _0xcca5=function(_0x40c391,_0x158bec){_0x40c391=_0x40c391-0x0;var _0xcca5ae=_0x158b[_0x40c391];return _0xcca5ae;};import _0x290088 from'./confirmview';export default function m(_0x5845a1){return class extends _0x5845a1{[_0xcca5('0x10')](_0x5f3508,_0x370d1c){return this[_0xcca5('0xd')]=new _0x290088(this[_0xcca5('0xa')]),this[_0xcca5('0xd')][_0xcca5('0xb')](),this['confirmView']['message']=_0x5f3508,this[_0xcca5('0xd')]['once'](_0xcca5('0x4'),()=>{this[_0xcca5('0x5')]();}),this[_0xcca5('0xd')][_0xcca5('0xe')]('submit',()=>{this[_0xcca5('0x5')]();}),_0x370d1c[_0xcca5('0x9')](this[_0xcca5('0xd')]['element']),this[_0xcca5('0x8')](this[_0xcca5('0xd')]),this[_0xcca5('0x3')][_0xcca5('0x7')](),this[_0xcca5('0xf')]('isConfirm',!0x0),new Promise(_0x3df7d2=>this['confirmView']['on'](_0xcca5('0x6'),_0x3df7d2));}[_0xcca5('0x0')](){this[_0xcca5('0x1')]&&this[_0xcca5('0xd')][_0xcca5('0x2')](_0xcca5('0x4'));}['_removeConfirm'](){this[_0xcca5('0x3')]&&this[_0xcca5('0xd')]&&this[_0xcca5('0xd')]['element']&&(this[_0xcca5('0x3')]['focus'](),this[_0xcca5('0xd')]['element']['remove'](),this[_0xcca5('0xc')](this[_0xcca5('0xd')]),this['isConfirm']=!0x1,this[_0xcca5('0xd')]['destroy'](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cc0=['label','extendTemplate','div','submit','ck-thread__remove-confirm-inner','execute','icon','set','fire','ck-thread__remove-confirm','setTemplate','ck-thread__remove-confirm-','cancelView','ck-thread__remove-confirm-actions','cancel','_createButtonView','submitView','check','Are\x20you\x20sure?','bindTemplate'];(function(_0x56f161,_0x5cc086){const _0xbf8060=function(_0x150fa8){while(--_0x150fa8){_0x56f161['push'](_0x56f161['shift']());}};_0xbf8060(++_0x5cc086);}(_0x5cc0,0x1d1));const _0xbf80=function(_0x56f161,_0x5cc086){_0x56f161=_0x56f161-0x0;let _0xbf8060=_0x5cc0[_0x56f161];return _0xbf8060;};import{View as _0x197f1a,ButtonView as _0x3b0b52}from'ckeditor5/src/ui';import{icons as _0x4d42c7}from'ckeditor5/src/core';import{getTranslation as _0x325b30}from'./common-translations';export default class h extends _0x197f1a{constructor(_0x36183d){super(_0x36183d);const _0x53ed19=this[_0xbf80('0xe')];this[_0xbf80('0xb')]=this['_createButtonView'](_0x36183d,_0x325b30(_0x36183d,'Yes'),_0x4d42c7[_0xbf80('0xc')],_0xbf80('0x12')),this[_0xbf80('0x7')]=this[_0xbf80('0xa')](_0x36183d,_0x325b30(_0x36183d,'No'),_0x4d42c7['cancel'],_0xbf80('0x9')),this[_0xbf80('0x2')]('message',_0x325b30(_0x36183d,_0xbf80('0xd'))),this[_0xbf80('0x5')]({'tag':_0xbf80('0x11'),'attributes':{'class':[_0xbf80('0x4')]},'children':[{'tag':_0xbf80('0x11'),'attributes':{'class':_0xbf80('0x13')},'children':[{'tag':'p','children':[{'text':_0x53ed19['to']('message')}]},{'tag':_0xbf80('0x11'),'attributes':{'class':_0xbf80('0x8')},'children':[this[_0xbf80('0xb')],this[_0xbf80('0x7')]]}]}]});}[_0xbf80('0xa')](_0x2084b1,_0x50b80d,_0x13e298,_0x214d59){const _0xdf46d8=new _0x3b0b52(_0x2084b1);return _0xdf46d8[_0xbf80('0xf')]=_0x50b80d,_0xdf46d8[_0xbf80('0x1')]=_0x13e298,_0xdf46d8[_0xbf80('0x10')]({'attributes':{'class':_0xbf80('0x6')+_0x214d59}}),_0xdf46d8['on'](_0xbf80('0x0'),()=>this[_0xbf80('0x3')](_0x214d59)),_0xdf46d8;}}
23
+ const _0x372c=['cancelView','ck-thread__remove-confirm','icon','setTemplate','ck-thread__remove-confirm-actions','Yes','set','check','ck-thread__remove-confirm-inner','submit','extendTemplate','cancel','label','div','submitView','ck-thread__remove-confirm-','_createButtonView','message','Are\x20you\x20sure?'];(function(_0x4913d6,_0x372cde){const _0x3f1a08=function(_0x5a182){while(--_0x5a182){_0x4913d6['push'](_0x4913d6['shift']());}};_0x3f1a08(++_0x372cde);}(_0x372c,0x197));const _0x3f1a=function(_0x4913d6,_0x372cde){_0x4913d6=_0x4913d6-0x0;let _0x3f1a08=_0x372c[_0x4913d6];return _0x3f1a08;};import{View as _0x49b42e,ButtonView as _0x3efa6f}from'ckeditor5/src/ui';import{icons as _0x713717}from'ckeditor5/src/core';import{getTranslation as _0x3b263d}from'./common-translations';export default class h extends _0x49b42e{constructor(_0x3c405e){super(_0x3c405e);const _0x556a72=this['bindTemplate'];this[_0x3f1a('0x6')]=this['_createButtonView'](_0x3c405e,_0x3b263d(_0x3c405e,_0x3f1a('0x10')),_0x713717[_0x3f1a('0x12')],_0x3f1a('0x1')),this[_0x3f1a('0xb')]=this[_0x3f1a('0x8')](_0x3c405e,_0x3b263d(_0x3c405e,'No'),_0x713717[_0x3f1a('0x3')],'cancel'),this[_0x3f1a('0x11')](_0x3f1a('0x9'),_0x3b263d(_0x3c405e,_0x3f1a('0xa'))),this[_0x3f1a('0xe')]({'tag':_0x3f1a('0x5'),'attributes':{'class':[_0x3f1a('0xc')]},'children':[{'tag':_0x3f1a('0x5'),'attributes':{'class':_0x3f1a('0x0')},'children':[{'tag':'p','children':[{'text':_0x556a72['to'](_0x3f1a('0x9'))}]},{'tag':'div','attributes':{'class':_0x3f1a('0xf')},'children':[this[_0x3f1a('0x6')],this[_0x3f1a('0xb')]]}]}]});}[_0x3f1a('0x8')](_0x341826,_0x499151,_0x2a42c9,_0x3dcde9){const _0x5be649=new _0x3efa6f(_0x341826);return _0x5be649[_0x3f1a('0x4')]=_0x499151,_0x5be649[_0x3f1a('0xd')]=_0x2a42c9,_0x5be649[_0x3f1a('0x2')]({'attributes':{'class':_0x3f1a('0x7')+_0x3dcde9}}),_0x5be649['on']('execute',()=>this['fire'](_0x3dcde9)),_0x5be649;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd602=['MM-dd-yyyy\x20hh:mma','invalid-date-time-format','dateTimeFormat','function','string'];(function(_0x246217,_0xd602b9){const _0x4c1bc7=function(_0x3f5fe0){while(--_0x3f5fe0){_0x246217['push'](_0x246217['shift']());}};_0x4c1bc7(++_0xd602b9);}(_0xd602,0xfc));const _0x4c1b=function(_0x246217,_0xd602b9){_0x246217=_0x246217-0x0;let _0x4c1bc7=_0xd602[_0x246217];return _0x4c1bc7;};import _0x15fb9f from'date-fns/format';import _0x3f548f from'date-fns/parseISO';import _0xfc7b48 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x41b943}from'ckeditor5/src/utils';export default function E(_0x3db56b={}){if(void 0x0!==_0x3db56b['dateTimeFormat']&&_0x4c1b('0x1')!=typeof _0x3db56b[_0x4c1b('0x0')])throw new _0x41b943(_0x4c1b('0x4'));return _0x1e0d85=>{const _0x29c920=_0x4c1b('0x2')==typeof _0x1e0d85?_0x3f548f(_0x1e0d85):_0x1e0d85,_0x167e83=new Date(),_0x91a462=_0xfc7b48(_0x167e83,_0x29c920);return _0x3db56b[_0x4c1b('0x0')]?_0x3db56b[_0x4c1b('0x0')](_0x29c920):_0x15fb9f(_0x29c920,0x0===_0x91a462?'\x27Today\x27\x20hh:mma':0x1===_0x91a462?'\x27Yesterday\x27\x20hh:mma':_0x91a462<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x4c1b('0x3'));};}
23
+ const _0x2cc6=['string','function','\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','dateTimeFormat','invalid-date-time-format','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x246e7d,_0x2cc67d){const _0x41c6cd=function(_0x35e425){while(--_0x35e425){_0x246e7d['push'](_0x246e7d['shift']());}};_0x41c6cd(++_0x2cc67d);}(_0x2cc6,0xfd));const _0x41c6=function(_0x246e7d,_0x2cc67d){_0x246e7d=_0x246e7d-0x0;let _0x41c6cd=_0x2cc6[_0x246e7d];return _0x41c6cd;};import _0x574f63 from'date-fns/format';import _0x1e8322 from'date-fns/parseISO';import _0x51e4e9 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2a5dfe}from'ckeditor5/src/utils';export default function E(_0x16fa18={}){if(void 0x0!==_0x16fa18['dateTimeFormat']&&_0x41c6('0x0')!=typeof _0x16fa18[_0x41c6('0x3')])throw new _0x2a5dfe(_0x41c6('0x4'));return _0x21d871=>{const _0x29f136=_0x41c6('0x6')==typeof _0x21d871?_0x1e8322(_0x21d871):_0x21d871,_0x2338b8=new Date(),_0x577975=_0x51e4e9(_0x2338b8,_0x29f136);return _0x16fa18['dateTimeFormat']?_0x16fa18[_0x41c6('0x3')](_0x29f136):_0x574f63(_0x29f136,0x0===_0x577975?_0x41c6('0x2'):0x1===_0x577975?_0x41c6('0x1'):_0x577975<0x7?_0x41c6('0x5'):'MM-dd-yyyy\x20hh:mma');};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4698=['item','sort','mapper','name','domElement','getClientRects','markerNameToElements','map','view','length','values','domConverter','mapViewToDom','push'];(function(_0x1de358,_0x46985f){const _0x39f879=function(_0x3d1d35){while(--_0x3d1d35){_0x1de358['push'](_0x1de358['shift']());}};_0x39f879(++_0x46985f);}(_0x4698,0xe1));const _0x39f8=function(_0x1de358,_0x46985f){_0x1de358=_0x1de358-0x0;let _0x39f879=_0x4698[_0x1de358];return _0x39f879;};import{first as _0x4357be}from'ckeditor5/src/utils';export default function k(_0xdb5e01,_0x17bfd9){const _0x1a8880=_0xdb5e01[_0x39f8('0x1')][_0x39f8('0x5')](_0x17bfd9[_0x39f8('0x2')]);if(!_0x1a8880)return null;const _0x5cdc88=_0x4357be(_0x1a8880[_0x39f8('0x9')]());return _0xdb5e01['view'][_0x39f8('0xa')][_0x39f8('0xb')](_0x5cdc88)||null;}export function getAllMarkersDomElementsSorted(_0x3a52ec,_0x3212ed){if(0x0===_0x3212ed[_0x39f8('0x8')])return null;const _0x11f4b0=[],_0x4834ba=_0x3a52ec[_0x39f8('0x7')][_0x39f8('0xa')];for(const _0x17f3f5 of _0x3212ed){const _0x507db7=_0x3a52ec[_0x39f8('0x1')][_0x39f8('0x5')](_0x17f3f5[_0x39f8('0x2')]);if(!_0x507db7)continue;const _0x19ea45=Array['from'](_0x507db7)[_0x39f8('0x6')](_0x1e0d82=>_0x4834ba[_0x39f8('0xb')](_0x1e0d82))['filter'](_0x5b12d6=>!!_0x5b12d6);_0x11f4b0[_0x39f8('0xc')](..._0x19ea45);}if(0x0===_0x11f4b0['length'])return null;const _0x5a6cdc=[];for(const _0x1b2930 of _0x11f4b0){const _0x4abc08=_0x1b2930[_0x39f8('0x4')]()[_0x39f8('0xd')](0x0);_0x4abc08&&_0x5a6cdc[_0x39f8('0xc')]({'x':_0x4abc08['x'],'y':_0x4abc08['y'],'domElement':_0x1b2930});}return 0x0===_0x5a6cdc[_0x39f8('0x8')]?null:(_0x5a6cdc[_0x39f8('0x0')]((_0x443ce2,_0x109ed6)=>_0x443ce2['y']-_0x109ed6['y']||_0x443ce2['x']-_0x109ed6['x']),_0x5a6cdc['map'](_0x35a0ec=>_0x35a0ec[_0x39f8('0x3')]));}
23
+ const _0x50d8=['domElement','view','getClientRects','markerNameToElements','mapper','length','sort','domConverter','values','name','mapViewToDom'];(function(_0xe31a92,_0x50d810){const _0x4cac4b=function(_0x2b0165){while(--_0x2b0165){_0xe31a92['push'](_0xe31a92['shift']());}};_0x4cac4b(++_0x50d810);}(_0x50d8,0x9f));const _0x4cac=function(_0xe31a92,_0x50d810){_0xe31a92=_0xe31a92-0x0;let _0x4cac4b=_0x50d8[_0xe31a92];return _0x4cac4b;};import{first as _0x18ffd1}from'ckeditor5/src/utils';export default function k(_0x374fe1,_0x356750){const _0x5d28ac=_0x374fe1[_0x4cac('0xa')][_0x4cac('0x9')](_0x356750[_0x4cac('0x4')]);if(!_0x5d28ac)return null;const _0x305b91=_0x18ffd1(_0x5d28ac[_0x4cac('0x3')]());return _0x374fe1[_0x4cac('0x7')][_0x4cac('0x2')][_0x4cac('0x5')](_0x305b91)||null;}export function getAllMarkersDomElementsSorted(_0x349b99,_0xc54703){if(0x0===_0xc54703[_0x4cac('0x0')])return null;const _0x30be19=[],_0x1f5372=_0x349b99[_0x4cac('0x7')][_0x4cac('0x2')];for(const _0x4836c0 of _0xc54703){const _0x24ac28=_0x349b99[_0x4cac('0xa')]['markerNameToElements'](_0x4836c0[_0x4cac('0x4')]);if(!_0x24ac28)continue;const _0x29ac86=Array['from'](_0x24ac28)['map'](_0x4c01d3=>_0x1f5372[_0x4cac('0x5')](_0x4c01d3))['filter'](_0x504537=>!!_0x504537);_0x30be19['push'](..._0x29ac86);}if(0x0===_0x30be19['length'])return null;const _0x216e58=[];for(const _0x56a9f8 of _0x30be19){const _0xd8b3d4=_0x56a9f8[_0x4cac('0x8')]()['item'](0x0);_0xd8b3d4&&_0x216e58['push']({'x':_0xd8b3d4['x'],'y':_0xd8b3d4['y'],'domElement':_0x56a9f8});}return 0x0===_0x216e58[_0x4cac('0x0')]?null:(_0x216e58[_0x4cac('0x1')]((_0x348348,_0x1babd9)=>_0x348348['y']-_0x1babd9['y']||_0x348348['x']-_0x1babd9['x']),_0x216e58['map'](_0x4979ff=>_0x4979ff[_0x4cac('0x6')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2af5=['boolean','sort','sign','object','keys','isArray','charCodeAt'];(function(_0x262c1b,_0x2af5fa){const _0x1dacf7=function(_0x7a75d5){while(--_0x7a75d5){_0x262c1b['push'](_0x262c1b['shift']());}};_0x1dacf7(++_0x2af5fa);}(_0x2af5,0x104));const _0x1dac=function(_0x262c1b,_0x2af5fa){_0x262c1b=_0x262c1b-0x0;let _0x1dacf7=_0x2af5[_0x262c1b];return _0x1dacf7;};export default function b(_0x447486){let _0x1ab238=0x0,_0x55eec4=0x0;for(const _0x31da5f of g(_0x447486))_0x1ab238=(_0x1ab238<<0x5)-_0x1ab238+_0x31da5f,_0x1ab238&=_0x1ab238,[_0x1ab238,_0x55eec4]=[_0x55eec4,_0x1ab238];return O(_0x1ab238)+O(_0x55eec4);}function*j(_0x1687e0){_0x1687e0?_0x1dac('0x6')==typeof _0x1687e0?yield 0x1:Array[_0x1dac('0x4')](_0x1687e0)?yield*function*(_0xba32ac){for(const _0x4f7dc6 of _0xba32ac)yield*j(_0x4f7dc6);}(_0x1687e0):_0x1dac('0x2')==typeof _0x1687e0?yield*g(_0x1687e0):'string'==typeof _0x1687e0?yield*A(_0x1687e0):'number'==typeof _0x1687e0&&(yield _0x1687e0):yield 0x0;}function*g(_0x3b8b84){if(yield M('{'),_0x3b8b84){const _0x2878b4=Object[_0x1dac('0x3')](_0x3b8b84)[_0x1dac('0x0')]();for(const _0x4e7f53 of _0x2878b4){yield*A(_0x4e7f53),yield M(':');const _0x59b9f4=_0x3b8b84[_0x4e7f53];yield*j(_0x59b9f4);}}yield M('}');}function*A(_0x51cab0){yield M('\x22');for(const _0x54e46f of _0x51cab0)yield M(_0x54e46f);yield M('\x22');}function M(_0x1d380d){return _0x1d380d[_0x1dac('0x5')](0x0);}function O(_0x5a5235){return(_0x5a5235*=Math[_0x1dac('0x1')](_0x5a5235))['toString'](0x24);}
23
+ const _0x2824=['isArray','keys','string','sign','sort','number','toString'];(function(_0x49fae7,_0x282412){const _0x2178d1=function(_0x231e4a){while(--_0x231e4a){_0x49fae7['push'](_0x49fae7['shift']());}};_0x2178d1(++_0x282412);}(_0x2824,0x19b));const _0x2178=function(_0x49fae7,_0x282412){_0x49fae7=_0x49fae7-0x0;let _0x2178d1=_0x2824[_0x49fae7];return _0x2178d1;};export default function b(_0x594a9d){let _0x51f471=0x0,_0x4a8ee7=0x0;for(const _0x551dc1 of g(_0x594a9d))_0x51f471=(_0x51f471<<0x5)-_0x51f471+_0x551dc1,_0x51f471&=_0x51f471,[_0x51f471,_0x4a8ee7]=[_0x4a8ee7,_0x51f471];return O(_0x51f471)+O(_0x4a8ee7);}function*j(_0x57c7ed){_0x57c7ed?'boolean'==typeof _0x57c7ed?yield 0x1:Array[_0x2178('0x2')](_0x57c7ed)?yield*function*(_0x25e5f8){for(const _0x2b83dd of _0x25e5f8)yield*j(_0x2b83dd);}(_0x57c7ed):'object'==typeof _0x57c7ed?yield*g(_0x57c7ed):_0x2178('0x4')==typeof _0x57c7ed?yield*A(_0x57c7ed):_0x2178('0x0')==typeof _0x57c7ed&&(yield _0x57c7ed):yield 0x0;}function*g(_0x56a578){if(yield M('{'),_0x56a578){const _0x14f7a4=Object[_0x2178('0x3')](_0x56a578)[_0x2178('0x6')]();for(const _0xb6f198 of _0x14f7a4){yield*A(_0xb6f198),yield M(':');const _0x46c870=_0x56a578[_0xb6f198];yield*j(_0x46c870);}}yield M('}');}function*A(_0x401528){yield M('\x22');for(const _0x203e7a of _0x401528)yield M(_0x203e7a);yield M('\x22');}function M(_0x2f515d){return _0x2f515d['charCodeAt'](0x0);}function O(_0x5e32de){return(_0x5e32de*=Math[_0x2178('0x5')](_0x5e32de))[_0x2178('0x1')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xba2e=['pluginName','set','includes','WebSocketGateway','DocumentOutline','builtinPlugins','filter','requires','get','constructor','_context','removePlugins','names','WordCount','plugins','map','every','Autosave','WProofreader','name','config','find','string','has','RevisionTracker','extraPlugins','concat','toolbar','context','rootsAttributes'];(function(_0x4825f1,_0xba2e78){const _0x2c0259=function(_0x3be3c8){while(--_0x3be3c8){_0x4825f1['push'](_0x4825f1['shift']());}};_0x2c0259(++_0xba2e78);}(_0xba2e,0x193));const _0x2c02=function(_0x4825f1,_0xba2e78){_0x4825f1=_0x4825f1-0x0;let _0x2c0259=_0xba2e[_0x4825f1];return _0x2c0259;};const w=['initialData',_0x2c02('0xf'),_0x2c02('0xe'),_0x2c02('0x10')],W=[_0x2c02('0x14'),_0x2c02('0xb'),_0x2c02('0x4'),_0x2c02('0x0'),_0x2c02('0x15'),_0x2c02('0x5')];function v(_0x451fc1,_0x472c0a,_0x44b9de,_0x592ecb=[]){const _0x3d5cf9=_0x2c02('0x9')==typeof _0x451fc1?_0x44b9de[_0x2c02('0x19')](_0x451fc1)[_0x2c02('0x1a')]:_0x451fc1,_0x5c1572=_0x3d5cf9['pluginName']||_0x3d5cf9[_0x2c02('0x6')];if(_0x472c0a[_0x2c02('0xa')](_0x5c1572))return _0x472c0a['get'](_0x5c1572);if(_0x472c0a[_0x2c02('0x12')](_0x5c1572,!0x0),_0x5c1572&&W[_0x2c02('0xd')](_0x592ecb)[_0x2c02('0x13')](_0x5c1572))return _0x472c0a[_0x2c02('0x12')](_0x5c1572,!0x1),!0x1;if(!_0x3d5cf9[_0x2c02('0x18')])return _0x472c0a['set'](_0x5c1572,!0x0),!0x0;const _0x11af50=_0x3d5cf9[_0x2c02('0x18')][_0x2c02('0x3')](_0x9d626a=>v(_0x9d626a,_0x472c0a,_0x44b9de,_0x592ecb));return _0x472c0a[_0x2c02('0x12')](_0x5c1572,_0x11af50),_0x11af50;}export default function D(_0x1991be,_0x3cd71b){const _0x58a55c={};for(const _0x3106f6 of _0x1991be[_0x2c02('0x7')][_0x2c02('0x1d')]())w[_0x2c02('0x13')](_0x3106f6)||(_0x58a55c[_0x3106f6]=_0x1991be[_0x2c02('0x7')][_0x2c02('0x19')](_0x3106f6));const _0x571912=_0x58a55c[_0x2c02('0x1')]||[],_0x28b700=_0x1991be[_0x2c02('0x1a')][_0x2c02('0x16')]||[],_0x5b24f8=_0x571912['length']?_0x571912:_0x28b700,_0x40dca6=_0x58a55c['extraPlugins']||[];delete _0x58a55c[_0x2c02('0xc')];const _0x5276cc=_0x58a55c[_0x2c02('0x1c')]||[];delete _0x58a55c[_0x2c02('0x1c')];const _0x5ead2a=_0x1991be[_0x2c02('0x1b')][_0x2c02('0x7')][_0x2c02('0x19')](_0x2c02('0x1'))||[],_0x10de12=_0x5b24f8[_0x2c02('0xd')](_0x40dca6)[_0x2c02('0xd')](_0x5ead2a)[_0x2c02('0x2')](_0x2c8185=>_0x2c02('0x9')==typeof _0x2c8185?_0x28b700[_0x2c02('0x8')](_0x1a12cf=>_0x1a12cf[_0x2c02('0x11')]==_0x2c8185):_0x2c8185)[_0x2c02('0x17')](_0x1a9977=>!_0x5276cc[_0x2c02('0x13')](_0x1a9977)&&!_0x5276cc[_0x2c02('0x13')](_0x1a9977['pluginName'])),_0x3c47bb=Array['from'](new Set(_0x10de12)),_0x466dd9=new Map();return _0x58a55c[_0x2c02('0x1')]=_0x3c47bb[_0x2c02('0x17')](_0x23f15e=>v(_0x23f15e,_0x466dd9,_0x1991be[_0x2c02('0x1')],_0x3cd71b)),_0x58a55c;}
23
+ const _0x5436=['pluginName','requires','WebSocketGateway','set','find','constructor','includes','plugins','concat','filter','WordCount','length','string','name','every','initialData','removePlugins','get','config','rootsAttributes','map','from','context','_context','Autosave'];(function(_0x311fab,_0x543668){const _0xd22b44=function(_0x1e3707){while(--_0x1e3707){_0x311fab['push'](_0x311fab['shift']());}};_0xd22b44(++_0x543668);}(_0x5436,0x132));const _0xd22b=function(_0x311fab,_0x543668){_0x311fab=_0x311fab-0x0;let _0xd22b44=_0x5436[_0x311fab];return _0xd22b44;};const w=[_0xd22b('0x9'),_0xd22b('0x10'),'toolbar',_0xd22b('0xd')],W=[_0xd22b('0x15'),'RevisionTracker',_0xd22b('0x12'),_0xd22b('0x4'),'DocumentOutline','WProofreader'];function v(_0x1b1e57,_0x3a3e4b,_0x31945,_0x5a18e2=[]){const _0x5a3f88=_0xd22b('0x6')==typeof _0x1b1e57?_0x31945['get'](_0x1b1e57)[_0xd22b('0x18')]:_0x1b1e57,_0x2aed75=_0x5a3f88[_0xd22b('0x13')]||_0x5a3f88[_0xd22b('0x7')];if(_0x3a3e4b['has'](_0x2aed75))return _0x3a3e4b[_0xd22b('0xb')](_0x2aed75);if(_0x3a3e4b['set'](_0x2aed75,!0x0),_0x2aed75&&W[_0xd22b('0x2')](_0x5a18e2)[_0xd22b('0x0')](_0x2aed75))return _0x3a3e4b[_0xd22b('0x16')](_0x2aed75,!0x1),!0x1;if(!_0x5a3f88[_0xd22b('0x14')])return _0x3a3e4b[_0xd22b('0x16')](_0x2aed75,!0x0),!0x0;const _0x43f76e=_0x5a3f88[_0xd22b('0x14')][_0xd22b('0x8')](_0x193343=>v(_0x193343,_0x3a3e4b,_0x31945,_0x5a18e2));return _0x3a3e4b[_0xd22b('0x16')](_0x2aed75,_0x43f76e),_0x43f76e;}export default function D(_0x481678,_0x14687b){const _0x408512={};for(const _0x2d5fef of _0x481678['config']['names']())w['includes'](_0x2d5fef)||(_0x408512[_0x2d5fef]=_0x481678[_0xd22b('0xc')]['get'](_0x2d5fef));const _0x31edcd=_0x408512[_0xd22b('0x1')]||[],_0x20df10=_0x481678[_0xd22b('0x18')]['builtinPlugins']||[],_0x26569c=_0x31edcd[_0xd22b('0x5')]?_0x31edcd:_0x20df10,_0x51e82c=_0x408512['extraPlugins']||[];delete _0x408512['extraPlugins'];const _0x3b2fd7=_0x408512[_0xd22b('0xa')]||[];delete _0x408512['removePlugins'];const _0x266521=_0x481678[_0xd22b('0x11')]['config']['get']('plugins')||[],_0x185679=_0x26569c[_0xd22b('0x2')](_0x51e82c)['concat'](_0x266521)[_0xd22b('0xe')](_0x237b9e=>_0xd22b('0x6')==typeof _0x237b9e?_0x20df10[_0xd22b('0x17')](_0x2aae88=>_0x2aae88['pluginName']==_0x237b9e):_0x237b9e)['filter'](_0x32fd1e=>!_0x3b2fd7[_0xd22b('0x0')](_0x32fd1e)&&!_0x3b2fd7[_0xd22b('0x0')](_0x32fd1e['pluginName'])),_0x2cc8ab=Array[_0xd22b('0xf')](new Set(_0x185679)),_0xbb32bd=new Map();return _0x408512['plugins']=_0x2cc8ab[_0xd22b('0x3')](_0xeaa3dc=>v(_0xeaa3dc,_0xbb32bd,_0x481678[_0xd22b('0x1')],_0x14687b)),_0x408512;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5653=['selection','change:range','containsPosition','push','markers','getRange','isEqual','length','includes'];(function(_0x531bce,_0x5653a8){const _0x44aad3=function(_0x3c384e){while(--_0x3c384e){_0x531bce['push'](_0x531bce['shift']());}};_0x44aad3(++_0x5653a8);}(_0x5653,0x1c1));const _0x44aa=function(_0x531bce,_0x5653a8){_0x531bce=_0x531bce-0x0;let _0x44aad3=_0x5653[_0x531bce];return _0x44aad3;};export default function q(_0x19292a,_0x1144e){const _0x4e5bae=[];_0x19292a['document'][_0x44aa('0x1')]['on'](_0x44aa('0x2'),()=>{const _0x5783a2=function(_0x6cdf91,_0x43fd5e){const _0x2fe4d2=[];for(const _0x59bada of _0x6cdf91[_0x44aa('0x5')]){const _0x356ea4=_0x59bada[_0x44aa('0x6')]();(_0x356ea4[_0x44aa('0x3')](_0x43fd5e)||_0x356ea4['start']['isEqual'](_0x43fd5e)||_0x356ea4['end'][_0x44aa('0x7')](_0x43fd5e))&&_0x2fe4d2[_0x44aa('0x4')](_0x59bada);}return _0x2fe4d2;}(_0x19292a,_0x19292a['document'][_0x44aa('0x1')]['focus']),_0x1566d3=[],_0xad401a=[],_0x507963=[];for(const _0x104767 of _0x4e5bae)_0x5783a2[_0x44aa('0x0')](_0x104767)||_0x1566d3[_0x44aa('0x4')](_0x104767);for(const _0x5a70ef of _0x5783a2)_0x4e5bae['includes'](_0x5a70ef)||_0xad401a[_0x44aa('0x4')](_0x5a70ef),_0x507963[_0x44aa('0x4')](_0x5a70ef);(_0x1566d3[_0x44aa('0x8')]||_0xad401a[_0x44aa('0x8')])&&_0x1144e({'left':_0x1566d3,'entered':_0xad401a}),_0x4e5bae[_0x44aa('0x8')]=0x0,_0x4e5bae[_0x44aa('0x4')](..._0x507963);});}
23
+ const _0x56e2=['getRange','markers','push','length','includes','document','change:range','selection','start','end'];(function(_0x5a07a5,_0x56e296){const _0xc4dc8=function(_0x34090f){while(--_0x34090f){_0x5a07a5['push'](_0x5a07a5['shift']());}};_0xc4dc8(++_0x56e296);}(_0x56e2,0x1de));const _0xc4dc=function(_0x5a07a5,_0x56e296){_0x5a07a5=_0x5a07a5-0x0;let _0xc4dc8=_0x56e2[_0x5a07a5];return _0xc4dc8;};export default function q(_0x4b456e,_0x21e571){const _0x5389b2=[];_0x4b456e[_0xc4dc('0x7')]['selection']['on'](_0xc4dc('0x8'),()=>{const _0x1e0e76=function(_0x14b6a3,_0x58639d){const _0x70172a=[];for(const _0x3e78af of _0x14b6a3[_0xc4dc('0x3')]){const _0x36baa6=_0x3e78af[_0xc4dc('0x2')]();(_0x36baa6['containsPosition'](_0x58639d)||_0x36baa6[_0xc4dc('0x0')]['isEqual'](_0x58639d)||_0x36baa6[_0xc4dc('0x1')]['isEqual'](_0x58639d))&&_0x70172a['push'](_0x3e78af);}return _0x70172a;}(_0x4b456e,_0x4b456e[_0xc4dc('0x7')][_0xc4dc('0x9')]['focus']),_0x578232=[],_0x2f7939=[],_0x3d4ed6=[];for(const _0x339e07 of _0x5389b2)_0x1e0e76[_0xc4dc('0x6')](_0x339e07)||_0x578232[_0xc4dc('0x4')](_0x339e07);for(const _0x4966f3 of _0x1e0e76)_0x5389b2[_0xc4dc('0x6')](_0x4966f3)||_0x2f7939[_0xc4dc('0x4')](_0x4966f3),_0x3d4ed6[_0xc4dc('0x4')](_0x4966f3);(_0x578232['length']||_0x2f7939[_0xc4dc('0x5')])&&_0x21e571({'left':_0x578232,'entered':_0x2f7939}),_0x5389b2[_0xc4dc('0x5')]=0x0,_0x5389b2[_0xc4dc('0x4')](..._0x3d4ed6);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5af6=['match','indexOf','substring','replace','length','push','...','join','startsWith','pop','split','slice'];(function(_0x10fd27,_0x5af679){const _0x4edb0b=function(_0x1ef9b1){while(--_0x1ef9b1){_0x10fd27['push'](_0x10fd27['shift']());}};_0x4edb0b(++_0x5af679);}(_0x5af6,0xab));const _0x4edb=function(_0x10fd27,_0x5af679){_0x10fd27=_0x10fd27-0x0;let _0x4edb0b=_0x5af6[_0x10fd27];return _0x4edb0b;};export default function z(_0x3bdc8e,{limit:_0x41f3ad,suffix:_0xaf2a7=_0x4edb('0x3')}){const _0x5b8ab3=[];let _0x578e23=0x0;const _0x4a099b=_0x3bdc8e['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x4edb('0x0')](/^\n/g,'')['replace'](/\n$/g,'')[_0x4edb('0x7')]('\x0a');for(let _0xf57710=0x0;_0xf57710<_0x4a099b[_0x4edb('0x1')];_0xf57710++){let _0x2deb68=_0x4a099b[_0xf57710];const _0x39199c=Z(_0x2deb68);if(_0x2deb68[_0x4edb('0x5')]('<')){if(_0x578e23>=_0x41f3ad){const _0x18512a=_0x2deb68['match'](/[a-zA-Z]+/);if(!_0x18512a){_0x4a099b[_0xf57710]='';continue;}const _0xa0f335=_0x18512a[0x0];_0x2deb68[_0x4edb('0x5')]('</')?(_0x5b8ab3[_0x4edb('0x1')]&&(_0x2deb68=''),_0x5b8ab3[_0x4edb('0x6')]()):(_0x5b8ab3[_0x4edb('0x2')](_0xa0f335),_0x2deb68='');}}else{if(_0x578e23>=_0x41f3ad)_0x2deb68='';else{if(_0x578e23+_0x39199c[_0x4edb('0x1')]>=_0x41f3ad){let _0x59d77d=_0x41f3ad-_0x578e23;if('\x20'===_0x39199c[_0x59d77d-0x1])_0x59d77d--;else{const _0x1bd6d2=_0x39199c['slice'](_0x59d77d)[_0x4edb('0xa')]('\x20');-0x1!==_0x1bd6d2?_0x59d77d+=_0x1bd6d2:_0x59d77d=_0x2deb68[_0x4edb('0x1')];}_0x2deb68=_0x39199c[_0x4edb('0x8')](0x0,_0x59d77d)[_0x4edb('0x4')]('')+_0xaf2a7,_0x578e23=_0x41f3ad;}else _0x578e23+=_0x39199c['length'];}}_0x4a099b[_0xf57710]=_0x2deb68;}return _0x4a099b[_0x4edb('0x4')]('\x0a')[_0x4edb('0x0')](/\n/g,'');}function Z(_0x5710d5){const _0x19aeaf=[];for(let _0x26846e=0x0;_0x26846e<_0x5710d5['length'];_0x26846e++){const _0x1d1a41=_0x5710d5[_0x4edb('0xb')](_0x26846e)[_0x4edb('0x9')](/^&[a-z0-9#]+;/);if(_0x1d1a41){const _0x488cc6=_0x1d1a41[0x0];_0x19aeaf[_0x4edb('0x2')](_0x488cc6),_0x26846e+=_0x488cc6[_0x4edb('0x1')]-0x1;}else _0x19aeaf[_0x4edb('0x2')](_0x5710d5[_0x26846e]);}return _0x19aeaf;}
23
+ const _0x9339=['push','startsWith','replace','split','match','...','pop','length','slice'];(function(_0x1ca23b,_0x93392d){const _0x6648=function(_0x137e9d){while(--_0x137e9d){_0x1ca23b['push'](_0x1ca23b['shift']());}};_0x6648(++_0x93392d);}(_0x9339,0xdc));const _0x6648=function(_0x1ca23b,_0x93392d){_0x1ca23b=_0x1ca23b-0x0;let _0x137e9d=_0x9339[_0x1ca23b];return _0x137e9d;};export default function z(_0xb38ba6,{limit:_0x207dbd,suffix:_0x50560c=_0x6648('0x1')}){const _0x2b3803=[];let _0x3c058b=0x0;const _0x5ae7f8=_0xb38ba6[_0x6648('0x7')](/</g,'\x0a<')[_0x6648('0x7')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x6648('0x7')](/\n$/g,'')[_0x6648('0x8')]('\x0a');for(let _0x284d74=0x0;_0x284d74<_0x5ae7f8[_0x6648('0x3')];_0x284d74++){let _0x2ca637=_0x5ae7f8[_0x284d74];const _0x26e96c=Z(_0x2ca637);if(_0x2ca637[_0x6648('0x6')]('<')){if(_0x3c058b>=_0x207dbd){const _0x490676=_0x2ca637['match'](/[a-zA-Z]+/);if(!_0x490676){_0x5ae7f8[_0x284d74]='';continue;}const _0x3e5a27=_0x490676[0x0];_0x2ca637[_0x6648('0x6')]('</')?(_0x2b3803[_0x6648('0x3')]&&(_0x2ca637=''),_0x2b3803[_0x6648('0x2')]()):(_0x2b3803[_0x6648('0x5')](_0x3e5a27),_0x2ca637='');}}else{if(_0x3c058b>=_0x207dbd)_0x2ca637='';else{if(_0x3c058b+_0x26e96c[_0x6648('0x3')]>=_0x207dbd){let _0x10a8a3=_0x207dbd-_0x3c058b;if('\x20'===_0x26e96c[_0x10a8a3-0x1])_0x10a8a3--;else{const _0x4eee7b=_0x26e96c[_0x6648('0x4')](_0x10a8a3)['indexOf']('\x20');-0x1!==_0x4eee7b?_0x10a8a3+=_0x4eee7b:_0x10a8a3=_0x2ca637[_0x6648('0x3')];}_0x2ca637=_0x26e96c[_0x6648('0x4')](0x0,_0x10a8a3)['join']('')+_0x50560c,_0x3c058b=_0x207dbd;}else _0x3c058b+=_0x26e96c['length'];}}_0x5ae7f8[_0x284d74]=_0x2ca637;}return _0x5ae7f8['join']('\x0a')[_0x6648('0x7')](/\n/g,'');}function Z(_0x238f38){const _0x26de3c=[];for(let _0x283cd5=0x0;_0x283cd5<_0x238f38['length'];_0x283cd5++){const _0x8c0f1a=_0x238f38['substring'](_0x283cd5)[_0x6648('0x0')](/^&[a-z0-9#]+;/);if(_0x8c0f1a){const _0x43ff14=_0x8c0f1a[0x0];_0x26de3c[_0x6648('0x5')](_0x43ff14),_0x283cd5+=_0x43ff14[_0x6648('0x3')]-0x1;}else _0x26de3c[_0x6648('0x5')](_0x238f38[_0x283cd5]);}return _0x26de3c;}