@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231123.0 → 0.0.0-nightly-20231125.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-20231123.0",
3
+ "version": "0.0.0-nightly-20231125.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-20231123.0",
34
+ "ckeditor5": "0.0.0-nightly-20231125.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 _0x51e9=['get','document:write','pluginName','commands','CommentsRepository','forceDisabled','has','no-permissions','permissions-set-permissions-invalid-channel-id','comment:modify_all','addCommentThread','find','comment:admin','isEnabled','includes','config','CommentsOnly','collaboration.channelId','enableReadOnlyMode','noPermissions','context','comment:write','editors','disableReadOnlyMode','setPermissions'];(function(_0x2acc09,_0x51e977){const _0x7ba7a3=function(_0xaccdaf){while(--_0xaccdaf){_0x2acc09['push'](_0x2acc09['shift']());}};_0x7ba7a3(++_0x51e977);}(_0x51e9,0x117));const _0x7ba7=function(_0x2acc09,_0x51e977){_0x2acc09=_0x2acc09-0x0;let _0x7ba7a3=_0x51e9[_0x2acc09];return _0x7ba7a3;};import{ContextPlugin as _0xf7e3ff,Editor as _0x59c3c4}from'ckeditor5/src/core';import{CKEditorError as _0x484216}from'ckeditor5/src/utils';export default class n extends _0xf7e3ff{static get[_0x7ba7('0x17')](){return'Permissions';}[_0x7ba7('0x14')](_0x2b697b,_0x398524){let _0x49528d;if(_0x398524||(_0x398524=this[_0x7ba7('0x10')][_0x7ba7('0xb')][_0x7ba7('0x15')]('collaboration.channelId')),this[_0x7ba7('0x10')][_0x7ba7('0xb')][_0x7ba7('0x15')](_0x7ba7('0xd'))==_0x398524?_0x49528d=this['context']:_0x7ba7('0x12')in this['context']&&this[_0x7ba7('0x10')][_0x7ba7('0x12')]&&(_0x49528d=this[_0x7ba7('0x10')]['editors'][_0x7ba7('0x7')](_0x1aaf69=>_0x1aaf69[_0x7ba7('0xb')][_0x7ba7('0x15')](_0x7ba7('0xd'))==_0x398524)),!_0x49528d)throw new _0x484216(_0x7ba7('0x4'),null);const _0x5cbc33=_0x49528d['plugins'],_0x5752b3=_0x5cbc33[_0x7ba7('0x2')](_0x7ba7('0x0'))?_0x5cbc33[_0x7ba7('0x15')](_0x7ba7('0x0')):void 0x0,_0x4a06b9=_0x5cbc33[_0x7ba7('0x2')]('CommentsOnly')&&_0x5cbc33[_0x7ba7('0x15')](_0x7ba7('0xc')),_0x1f42ac=_0x2b697b[_0x7ba7('0xa')](_0x7ba7('0x16')),_0x2af2be=_0x2b697b[_0x7ba7('0xa')](_0x7ba7('0x5')),_0x4872ee=_0x2b697b[_0x7ba7('0xa')](_0x7ba7('0x8')),_0x1b27b5=_0x2b697b[_0x7ba7('0xa')](_0x7ba7('0x11')),_0x168eec=_0x1b27b5||_0x4872ee,_0x598ad5=_0x168eec||_0x2af2be,_0x9969f9=_0x1f42ac||_0x168eec;(_0x4a06b9&&(_0x4a06b9[_0x7ba7('0x9')]=!_0x1f42ac&&_0x598ad5),_0x49528d instanceof _0x59c3c4)&&(!(_0x1f42ac||_0x598ad5&&_0x5752b3)?_0x49528d[_0x7ba7('0xe')](_0x7ba7('0x3')):_0x49528d[_0x7ba7('0x13')](_0x7ba7('0x3')));if(_0x5752b3){_0x5752b3[_0x7ba7('0x14')]({'admin':_0x4872ee,'modifyAll':_0x2af2be,'write':_0x1b27b5,'resolve':_0x9969f9},_0x398524);const _0x539d98=_0x49528d instanceof _0x59c3c4&&_0x49528d[_0x7ba7('0x18')]['get'](_0x7ba7('0x6'));_0x539d98&&(_0x168eec?_0x539d98['clearForceDisabled'](_0x7ba7('0xf')):_0x539d98[_0x7ba7('0x1')](_0x7ba7('0xf')));}}}
23
+ const _0x169e=['permissions-set-permissions-invalid-channel-id','enableReadOnlyMode','comment:modify_all','context','get','comment:write','CommentsOnly','addCommentThread','editors','document:write','no-permissions','noPermissions','forceDisabled','find','comment:admin','collaboration.channelId','config','setPermissions','pluginName','has','Permissions','includes','disableReadOnlyMode','plugins'];(function(_0x48ae46,_0x169e43){const _0x5fdab=function(_0x549b84){while(--_0x549b84){_0x48ae46['push'](_0x48ae46['shift']());}};_0x5fdab(++_0x169e43);}(_0x169e,0x195));const _0x5fda=function(_0x48ae46,_0x169e43){_0x48ae46=_0x48ae46-0x0;let _0x5fdab=_0x169e[_0x48ae46];return _0x5fdab;};import{ContextPlugin as _0x588a7b,Editor as _0x1ff922}from'ckeditor5/src/core';import{CKEditorError as _0x3a7e2c}from'ckeditor5/src/utils';export default class n extends _0x588a7b{static get[_0x5fda('0x15')](){return _0x5fda('0x17');}[_0x5fda('0x14')](_0x75c45,_0x5c5ef9){let _0x464f66;if(_0x5c5ef9||(_0x5c5ef9=this[_0x5fda('0x6')][_0x5fda('0x13')]['get'](_0x5fda('0x12'))),this[_0x5fda('0x6')][_0x5fda('0x13')]['get']('collaboration.channelId')==_0x5c5ef9?_0x464f66=this[_0x5fda('0x6')]:'editors'in this[_0x5fda('0x6')]&&this[_0x5fda('0x6')]['editors']&&(_0x464f66=this['context'][_0x5fda('0xb')][_0x5fda('0x10')](_0x24c047=>_0x24c047[_0x5fda('0x13')][_0x5fda('0x7')](_0x5fda('0x12'))==_0x5c5ef9)),!_0x464f66)throw new _0x3a7e2c(_0x5fda('0x3'),null);const _0x29032f=_0x464f66[_0x5fda('0x2')],_0x311dff=_0x29032f['has']('CommentsRepository')?_0x29032f[_0x5fda('0x7')]('CommentsRepository'):void 0x0,_0x2c4f6a=_0x29032f[_0x5fda('0x16')](_0x5fda('0x9'))&&_0x29032f[_0x5fda('0x7')](_0x5fda('0x9')),_0x679ab8=_0x75c45['includes'](_0x5fda('0xc')),_0x2c81f3=_0x75c45[_0x5fda('0x0')](_0x5fda('0x5')),_0x315871=_0x75c45[_0x5fda('0x0')](_0x5fda('0x11')),_0x24abd5=_0x75c45[_0x5fda('0x0')](_0x5fda('0x8')),_0x4ac8db=_0x24abd5||_0x315871,_0x1fecb=_0x4ac8db||_0x2c81f3,_0x4df926=_0x679ab8||_0x4ac8db;(_0x2c4f6a&&(_0x2c4f6a['isEnabled']=!_0x679ab8&&_0x1fecb),_0x464f66 instanceof _0x1ff922)&&(!(_0x679ab8||_0x1fecb&&_0x311dff)?_0x464f66[_0x5fda('0x4')](_0x5fda('0xd')):_0x464f66[_0x5fda('0x1')](_0x5fda('0xd')));if(_0x311dff){_0x311dff[_0x5fda('0x14')]({'admin':_0x315871,'modifyAll':_0x2c81f3,'write':_0x24abd5,'resolve':_0x4df926},_0x5c5ef9);const _0xf1b942=_0x464f66 instanceof _0x1ff922&&_0x464f66['commands'][_0x5fda('0x7')](_0x5fda('0xa'));_0xf1b942&&(_0x4ac8db?_0xf1b942['clearForceDisabled'](_0x5fda('0xe')):_0xf1b942[_0x5fda('0xf')](_0x5fda('0xe')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38ee=['ck-user','name','extendTemplate','div','ck-user__icon','ck-user__img','ck-user__avatar','ck-user__notification','notificationView','isAnonymous','content','push','avatar','ck-user__anonymous','setTemplate','ck\x20ck-user__name\x20ck-user__name--hidden','ck\x20ck-user__name'];(function(_0x4f43ba,_0x38ee86){const _0x537f77=function(_0x2b8dd5){while(--_0x2b8dd5){_0x4f43ba['push'](_0x4f43ba['shift']());}};_0x537f77(++_0x38ee86);}(_0x38ee,0x1b1));const _0x537f=function(_0x4f43ba,_0x38ee86){_0x4f43ba=_0x4f43ba-0x0;let _0x537f77=_0x38ee[_0x4f43ba];return _0x537f77;};import{View as _0x4a810b,IconView as _0x1e2a82}from'ckeditor5/src/ui';import _0x850702 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x4a810b{constructor(_0x52e634,_0x20310a,_0x1e243b){super(_0x52e634),this[_0x537f('0xa')]=_0x20310a[_0x537f('0xa')],this[_0x537f('0x0')]=null;const _0x363ae1=['ck',_0x537f('0xe')];if(_0x20310a[_0x537f('0x1')]&&_0x363ae1[_0x537f('0x3')](_0x537f('0x5')),_0x20310a['avatar']&&_0x363ae1[_0x537f('0x3')](_0x537f('0xf')),_0x1e243b){const _0x37f1fa=new _0x1e2a82();_0x37f1fa[_0x537f('0xb')]({'attributes':{'class':[_0x537f('0xd')]}}),_0x37f1fa[_0x537f('0x2')]=_0x850702,this[_0x537f('0x0')]={'tag':_0x537f('0xc'),'attributes':{'class':['ck',_0x537f('0x10')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1e243b},'children':[_0x37f1fa]};}const _0x58671f=[{'tag':_0x537f('0xc'),'attributes':{'class':_0x363ae1,'style':{'background-image':_0x20310a[_0x537f('0x4')]?'url(\x27'+_0x20310a[_0x537f('0x4')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x20310a[_0x537f('0x4')]?_0x537f('0x7'):_0x537f('0x8')},'children':[{'text':_0x20310a['initials']}]}];this[_0x537f('0x0')]&&_0x58671f['push'](this[_0x537f('0x0')]),this[_0x537f('0x6')]({'tag':'div','attributes':{'class':['ck',_0x537f('0x9')],'data-user-id':_0x20310a['id']},'children':_0x58671f});}}
23
+ const _0x85cd=['ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','avatar','isAnonymous','initials','push','ck-user__notification','ck-user__icon','extendTemplate','notificationView','ck-user__img','div','setTemplate','content','name','ck-user__anonymous'];(function(_0x5b180c,_0x85cdef){const _0x59dc03=function(_0xbcd13b){while(--_0xbcd13b){_0x5b180c['push'](_0x5b180c['shift']());}};_0x59dc03(++_0x85cdef);}(_0x85cd,0x1e3));const _0x59dc=function(_0x5b180c,_0x85cdef){_0x5b180c=_0x5b180c-0x0;let _0x59dc03=_0x85cd[_0x5b180c];return _0x59dc03;};import{View as _0xe57160,IconView as _0x1d7b08}from'ckeditor5/src/ui';import _0x25d1dd from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0xe57160{constructor(_0x1e30f6,_0x121fdf,_0x324ab8){super(_0x1e30f6),this[_0x59dc('0xb')]=_0x121fdf['name'],this['notificationView']=null;const _0x18f776=['ck',_0x59dc('0x7')];if(_0x121fdf[_0x59dc('0x0')]&&_0x18f776['push'](_0x59dc('0xc')),_0x121fdf[_0x59dc('0xf')]&&_0x18f776[_0x59dc('0x2')]('ck-user__avatar'),_0x324ab8){const _0x580a00=new _0x1d7b08();_0x580a00[_0x59dc('0x5')]({'attributes':{'class':[_0x59dc('0x4')]}}),_0x580a00[_0x59dc('0xa')]=_0x25d1dd,this[_0x59dc('0x6')]={'tag':_0x59dc('0x8'),'attributes':{'class':['ck',_0x59dc('0x3')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x324ab8},'children':[_0x580a00]};}const _0x5c937f=[{'tag':_0x59dc('0x8'),'attributes':{'class':_0x18f776,'style':{'background-image':_0x121fdf[_0x59dc('0xf')]?'url(\x27'+_0x121fdf[_0x59dc('0xf')]+'\x27)':''}}},{'tag':_0x59dc('0x8'),'attributes':{'class':_0x121fdf['avatar']?_0x59dc('0xe'):'ck\x20ck-user__name'},'children':[{'text':_0x121fdf[_0x59dc('0x1')]}]}];this[_0x59dc('0x6')]&&_0x5c937f[_0x59dc('0x2')](this['notificationView']),this[_0x59dc('0x9')]({'tag':_0x59dc('0x8'),'attributes':{'class':['ck',_0x59dc('0xd')],'data-user-id':_0x121fdf['id']},'children':_0x5c937f});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5230=['users-add-invalid-id','context','getUser','_id','licenseKeyTrialLimit:revisions','_getInitial','ck-user__bg-color--','locale','getMarkerClass','addUser','toUpperCase','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.','licenseKeyTrial','trial-license-key-reached-limit-time','licenseKeyValid','getOperationAuthor','_locale','licenseKeyTrialLimit:time','color','string','_myId','getBackgroundColorClass','_getNextColor','name','users.colorsCount','_lastColor','destroy','getSelectionClass','config','decorate','_addAnonymousUser','_isAnonymous','avatar','_licenseKeyCheckInterval','users-add-duplicated-id','isAnonymous','initials','anonymous-user','define','licenseKeyTrialLimit:operations','pluginName','charAt','users-me-already-defined','Anonymous','get','users','users.anonymousUserId','add','split','invalid-license-key','defineMe','length','includes','licenseKey'];(function(_0x4c2e0f,_0x52302c){const _0xfa2371=function(_0x34386d){while(--_0x34386d){_0x4c2e0f['push'](_0x4c2e0f['shift']());}};_0xfa2371(++_0x52302c);}(_0x5230,0x1a4));const _0xfa23=function(_0x4c2e0f,_0x52302c){_0x4c2e0f=_0x4c2e0f-0x0;let _0xfa2371=_0x5230[_0x4c2e0f];return _0xfa2371;};import{ContextPlugin as _0x278a86}from'ckeditor5/src/core';import{Collection as _0x2c68c4,CKEditorError as _0x5af5ae}from'ckeditor5/src/utils';import _0x51e9e6 from'./permissions';import{getTranslation as _0xb319f}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x278a86{static get[_0xfa23('0x34')](){return'Users';}static get['requires'](){return[_0x51e9e6];}constructor(_0x21fb57){super(_0x21fb57),this[_0xfa23('0xd')][_0xfa23('0x28')][_0xfa23('0x32')]('users.anonymousUserId',_0xfa23('0x31')),this[_0xfa23('0xd')][_0xfa23('0x28')][_0xfa23('0x32')](_0xfa23('0x24'),0x8),this[_0xfa23('0x3')]=new _0x2c68c4(),this[_0xfa23('0x1c')]=_0x21fb57[_0xfa23('0x13')],this[_0xfa23('0x2d')]=null,this[_0xfa23('0x25')]=0x0,this[_0xfa23('0x20')]=null,this[_0xfa23('0x29')]('getOperationAuthor');}['init'](){const _0x2178c1=this[_0xfa23('0xd')];this['licenseKey']=_0x2178c1[_0xfa23('0x28')][_0xfa23('0x2')](_0xfa23('0xb'));const _0x208378=[_0xfa23('0x18'),'licenseKeyInvalid',_0xfa23('0x1a'),'licenseKeyTrialLimit:operations',_0xfa23('0x1d'),_0xfa23('0x10')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x296348;for(const _0x17e4fb in _0x2178c1){const _0x32a6f6=_0x2178c1[_0x17e4fb];if(_0x208378[_0xfa23('0xa')](_0x32a6f6)){delete _0x2178c1[_0x17e4fb],_0x296348=_0x32a6f6;break;}}if('licenseKeyInvalid'===_0x296348)throw clearInterval(this[_0xfa23('0x2d')]),new _0x5af5ae(_0xfa23('0x7'),null);if('licenseKeyTrial'===_0x296348&&console['info'](_0xfa23('0x17')),_0xfa23('0x33')===_0x296348)throw clearInterval(this[_0xfa23('0x2d')]),new _0x5af5ae('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x296348)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5af5ae(_0xfa23('0x19'),null);if(_0xfa23('0x10')===_0x296348)throw clearInterval(this[_0xfa23('0x2d')]),new _0x5af5ae('trial-license-key-reached-limit-revisions',null);_0xfa23('0x1a')===_0x296348&&clearInterval(this[_0xfa23('0x2d')]);},0x3e8),this[_0xfa23('0x2a')]();}get['me'](){return null==this[_0xfa23('0x20')]?null:this[_0xfa23('0xe')](this[_0xfa23('0x20')]);}[_0xfa23('0x15')]({id:_0x32e6e2,name:_0x30be9e,..._0x5991d9}){if(!_0x32e6e2||_0xfa23('0x1f')!=typeof _0x32e6e2)throw new _0x5af5ae(_0xfa23('0xc'));if(this[_0xfa23('0x3')]['has'](_0x32e6e2))throw new _0x5af5ae(_0xfa23('0x2e'),null,{'id':_0x32e6e2});const _0x4aab0f={..._0x5991d9,'id':_0x32e6e2,'name':a(this['_locale'],_0x30be9e),'color':this['_getNextColor']()};_0x4aab0f[_0xfa23('0x23')]=a(this[_0xfa23('0x1c')],_0x4aab0f['name']);const _0x2cd872=new User(_0x4aab0f);return this[_0xfa23('0x3')][_0xfa23('0x5')](_0x2cd872),_0x2cd872;}[_0xfa23('0xe')](_0x4609a0){return this[_0xfa23('0x3')][_0xfa23('0x2')](_0x4609a0);}['useAnonymousUser'](){const _0x538266=this['context']['config'][_0xfa23('0x2')]('users.anonymousUserId');this[_0xfa23('0x20')]||this['defineMe'](_0x538266);}[_0xfa23('0x8')](_0x4f89e7){if(this[_0xfa23('0x20')])throw new _0x5af5ae(_0xfa23('0x0'),null);if(!this['getUser'](_0x4f89e7))throw new _0x5af5ae('users-me-missing-user',null);this[_0xfa23('0x20')]=_0x4f89e7;}[_0xfa23('0x1b')](){return this['me'];}['destroy'](){super[_0xfa23('0x26')](),clearInterval(this[_0xfa23('0x2d')]);}[_0xfa23('0x22')](){const _0x37a990=this['context'][_0xfa23('0x28')][_0xfa23('0x2')]('users.colorsCount');return this[_0xfa23('0x25')]>=_0x37a990&&(this[_0xfa23('0x25')]=0x0),new u(this[_0xfa23('0x25')]++);}[_0xfa23('0x2a')](){const _0x4c3665=this[_0xfa23('0xd')]['config'][_0xfa23('0x2')](_0xfa23('0x4'));this['addUser']({'id':_0x4c3665,'name':_0xb319f(this['_locale'],_0xfa23('0x1'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x4de7ca){this['id']=_0x4de7ca['id'],this[_0xfa23('0x1e')]=_0x4de7ca[_0xfa23('0x1e')],this[_0xfa23('0x23')]=_0x4de7ca[_0xfa23('0x23')],this[_0xfa23('0x2c')]=_0x4de7ca[_0xfa23('0x2c')],this[_0xfa23('0x2b')]=!0x1;}get[_0xfa23('0x2f')](){return this['_isAnonymous'];}get[_0xfa23('0x30')](){const _0x33f89a=this['name'][_0xfa23('0x6')]('\x20');return 0x1===_0x33f89a['length']?this['_getInitial'](_0x33f89a[0x0]):this['_getInitial'](_0x33f89a[0x0])+this[_0xfa23('0x11')](_0x33f89a[_0x33f89a[_0xfa23('0x9')]-0x1]);}[_0xfa23('0x11')](_0x26dfff){return _0x26dfff[_0xfa23('0x35')](0x0)[_0xfa23('0x16')]();}}function a(_0xd494cb,_0x5f363d=''){return''==(_0x5f363d=_0x5f363d['trim']())?_0xb319f(_0xd494cb,_0xfa23('0x1')):_0x5f363d;}class u{constructor(_0x297de4){this[_0xfa23('0xf')]=_0x297de4;}[_0xfa23('0x21')](){return _0xfa23('0x12')+this[_0xfa23('0xf')];}[_0xfa23('0x27')](){return'ck-user__selection--'+this['_id'];}[_0xfa23('0x14')](){return'ck-user__marker--'+this[_0xfa23('0xf')];}}
23
+ const _0x3745=['licenseKeyValid','requires','getUser','string','avatar','users','config','toUpperCase','get','destroy','_getInitial','ck-user__marker--','length','getOperationAuthor','Anonymous','name','anonymous-user','licenseKeyTrialLimit:operations','users-add-invalid-id','ck-user__bg-color--','includes','getBackgroundColorClass','users-me-already-defined','_myId','has','trial-license-key-reached-limit-time','getSelectionClass','info','init','define','_id','_lastColor','_locale','pluginName','_licenseKeyCheckInterval','context','trial-license-key-reached-limit-revisions','decorate','licenseKeyTrialLimit:revisions','locale','charAt','addUser','ck-user__selection--','users.anonymousUserId','isAnonymous','_getNextColor','_isAnonymous','licenseKeyTrialLimit:time','_addAnonymousUser','getMarkerClass','trial-license-key-reached-limit-changes','licenseKeyTrial','users-me-missing-user','licenseKey','useAnonymousUser','color','Users','licenseKeyInvalid','invalid-license-key','add'];(function(_0x261009,_0x37450b){const _0x91d9d1=function(_0x55b6d4){while(--_0x55b6d4){_0x261009['push'](_0x261009['shift']());}};_0x91d9d1(++_0x37450b);}(_0x3745,0x104));const _0x91d9=function(_0x261009,_0x37450b){_0x261009=_0x261009-0x0;let _0x91d9d1=_0x3745[_0x261009];return _0x91d9d1;};import{ContextPlugin as _0x29897c}from'ckeditor5/src/core';import{Collection as _0x413b68,CKEditorError as _0x4cba14}from'ckeditor5/src/utils';import _0x309ddf from'./permissions';import{getTranslation as _0x36cac6}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x29897c{static get[_0x91d9('0xd')](){return _0x91d9('0x24');}static get[_0x91d9('0x29')](){return[_0x309ddf];}constructor(_0x297022){super(_0x297022),this[_0x91d9('0xf')][_0x91d9('0x2e')][_0x91d9('0x9')](_0x91d9('0x17'),_0x91d9('0x38')),this[_0x91d9('0xf')][_0x91d9('0x2e')][_0x91d9('0x9')]('users.colorsCount',0x8),this[_0x91d9('0x2d')]=new _0x413b68(),this[_0x91d9('0xc')]=_0x297022[_0x91d9('0x13')],this[_0x91d9('0xe')]=null,this[_0x91d9('0xb')]=0x0,this[_0x91d9('0x3')]=null,this[_0x91d9('0x11')](_0x91d9('0x35'));}[_0x91d9('0x8')](){const _0x3535c2=this[_0x91d9('0xf')];this[_0x91d9('0x21')]=_0x3535c2[_0x91d9('0x2e')]['get'](_0x91d9('0x21'));const _0x5955f7=[_0x91d9('0x1f'),_0x91d9('0x25'),_0x91d9('0x28'),_0x91d9('0x39'),_0x91d9('0x1b'),_0x91d9('0x12')];this[_0x91d9('0xe')]=setInterval(()=>{let _0x50d546;for(const _0x5dee0e in _0x3535c2){const _0x58f3b5=_0x3535c2[_0x5dee0e];if(_0x5955f7[_0x91d9('0x0')](_0x58f3b5)){delete _0x3535c2[_0x5dee0e],_0x50d546=_0x58f3b5;break;}}if('licenseKeyInvalid'===_0x50d546)throw clearInterval(this[_0x91d9('0xe')]),new _0x4cba14(_0x91d9('0x26'),null);if('licenseKeyTrial'===_0x50d546&&console[_0x91d9('0x7')]('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.'),_0x91d9('0x39')===_0x50d546)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4cba14(_0x91d9('0x1e'),null);if(_0x91d9('0x1b')===_0x50d546)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4cba14(_0x91d9('0x5'),null);if(_0x91d9('0x12')===_0x50d546)throw clearInterval(this[_0x91d9('0xe')]),new _0x4cba14(_0x91d9('0x10'),null);_0x91d9('0x28')===_0x50d546&&clearInterval(this[_0x91d9('0xe')]);},0x3e8),this[_0x91d9('0x1c')]();}get['me'](){return null==this[_0x91d9('0x3')]?null:this[_0x91d9('0x2a')](this[_0x91d9('0x3')]);}[_0x91d9('0x15')]({id:_0x47b262,name:_0x4e57b9,..._0x4b0462}){if(!_0x47b262||_0x91d9('0x2b')!=typeof _0x47b262)throw new _0x4cba14(_0x91d9('0x3a'));if(this[_0x91d9('0x2d')][_0x91d9('0x4')](_0x47b262))throw new _0x4cba14('users-add-duplicated-id',null,{'id':_0x47b262});const _0x2b9b11={..._0x4b0462,'id':_0x47b262,'name':a(this[_0x91d9('0xc')],_0x4e57b9),'color':this[_0x91d9('0x19')]()};_0x2b9b11[_0x91d9('0x37')]=a(this[_0x91d9('0xc')],_0x2b9b11[_0x91d9('0x37')]);const _0x4985e0=new User(_0x2b9b11);return this[_0x91d9('0x2d')][_0x91d9('0x27')](_0x4985e0),_0x4985e0;}['getUser'](_0x3e5c5e){return this['users'][_0x91d9('0x30')](_0x3e5c5e);}[_0x91d9('0x22')](){const _0x557dc2=this[_0x91d9('0xf')][_0x91d9('0x2e')][_0x91d9('0x30')](_0x91d9('0x17'));this[_0x91d9('0x3')]||this['defineMe'](_0x557dc2);}['defineMe'](_0x566c3a){if(this['_myId'])throw new _0x4cba14(_0x91d9('0x2'),null);if(!this[_0x91d9('0x2a')](_0x566c3a))throw new _0x4cba14(_0x91d9('0x20'),null);this[_0x91d9('0x3')]=_0x566c3a;}[_0x91d9('0x35')](){return this['me'];}['destroy'](){super[_0x91d9('0x31')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x91d9('0x19')](){const _0x480c56=this['context'][_0x91d9('0x2e')][_0x91d9('0x30')]('users.colorsCount');return this[_0x91d9('0xb')]>=_0x480c56&&(this[_0x91d9('0xb')]=0x0),new u(this[_0x91d9('0xb')]++);}[_0x91d9('0x1c')](){const _0x3c59fb=this[_0x91d9('0xf')][_0x91d9('0x2e')][_0x91d9('0x30')](_0x91d9('0x17'));this[_0x91d9('0x15')]({'id':_0x3c59fb,'name':_0x36cac6(this['_locale'],_0x91d9('0x36'))})[_0x91d9('0x1a')]=!0x0;}}export class User{constructor(_0x27c092){this['id']=_0x27c092['id'],this[_0x91d9('0x23')]=_0x27c092[_0x91d9('0x23')],this[_0x91d9('0x37')]=_0x27c092[_0x91d9('0x37')],this[_0x91d9('0x2c')]=_0x27c092[_0x91d9('0x2c')],this[_0x91d9('0x1a')]=!0x1;}get[_0x91d9('0x18')](){return this[_0x91d9('0x1a')];}get['initials'](){const _0x5bffe9=this[_0x91d9('0x37')]['split']('\x20');return 0x1===_0x5bffe9[_0x91d9('0x34')]?this[_0x91d9('0x32')](_0x5bffe9[0x0]):this[_0x91d9('0x32')](_0x5bffe9[0x0])+this[_0x91d9('0x32')](_0x5bffe9[_0x5bffe9[_0x91d9('0x34')]-0x1]);}['_getInitial'](_0x4abcde){return _0x4abcde[_0x91d9('0x14')](0x0)[_0x91d9('0x2f')]();}}function a(_0x225611,_0x20f72c=''){return''==(_0x20f72c=_0x20f72c['trim']())?_0x36cac6(_0x225611,_0x91d9('0x36')):_0x20f72c;}class u{constructor(_0x1bb217){this[_0x91d9('0xa')]=_0x1bb217;}[_0x91d9('0x1')](){return _0x91d9('0x3b')+this['_id'];}[_0x91d9('0x6')](){return _0x91d9('0x16')+this[_0x91d9('0xa')];}[_0x91d9('0x1d')](){return _0x91d9('0x33')+this[_0x91d9('0xa')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3f8657,_0x5dd690){const t=_0x3f8657['t'];switch(_0x5dd690){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(_0x1048ca,_0x130587){const t=_0x1048ca['t'];switch(_0x130587){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 _0x334d=['locale','render','once','fire','element','destroy','confirmView','submit','isConfirm','registerChild','set','focus','showConfirm','message','cancel','cancelConfirm','_removeConfirm','remove'];(function(_0x2c9848,_0x334d05){var _0x27f670=function(_0xe81fa6){while(--_0xe81fa6){_0x2c9848['push'](_0x2c9848['shift']());}};_0x27f670(++_0x334d05);}(_0x334d,0x11f));var _0x27f6=function(_0x2c9848,_0x334d05){_0x2c9848=_0x2c9848-0x0;var _0x27f670=_0x334d[_0x2c9848];return _0x27f670;};import _0x834d79 from'./confirmview';export default function m(_0x2b9005){return class extends _0x2b9005{[_0x27f6('0xd')](_0x3ed2bd,_0x3a2b8e){return this['confirmView']=new _0x834d79(this[_0x27f6('0x1')]),this[_0x27f6('0x7')][_0x27f6('0x2')](),this[_0x27f6('0x7')][_0x27f6('0xe')]=_0x3ed2bd,this[_0x27f6('0x7')][_0x27f6('0x3')](_0x27f6('0xf'),()=>{this[_0x27f6('0x11')]();}),this[_0x27f6('0x7')][_0x27f6('0x3')](_0x27f6('0x8'),()=>{this[_0x27f6('0x11')]();}),_0x3a2b8e['appendChild'](this[_0x27f6('0x7')][_0x27f6('0x5')]),this[_0x27f6('0xa')](this[_0x27f6('0x7')]),this[_0x27f6('0x5')][_0x27f6('0xc')](),this[_0x27f6('0xb')](_0x27f6('0x9'),!0x0),new Promise(_0x17dcf1=>this[_0x27f6('0x7')]['on'](_0x27f6('0x8'),_0x17dcf1));}[_0x27f6('0x10')](){this[_0x27f6('0x9')]&&this[_0x27f6('0x7')][_0x27f6('0x4')](_0x27f6('0xf'));}[_0x27f6('0x11')](){this[_0x27f6('0x5')]&&this['confirmView']&&this['confirmView'][_0x27f6('0x5')]&&(this[_0x27f6('0x5')]['focus'](),this[_0x27f6('0x7')][_0x27f6('0x5')][_0x27f6('0x0')](),this['deregisterChild'](this[_0x27f6('0x7')]),this[_0x27f6('0x9')]=!0x1,this[_0x27f6('0x7')][_0x27f6('0x6')](),this[_0x27f6('0x7')]=void 0x0);}};}
23
+ var _0x3b01=['message','registerChild','set','fire','showConfirm','remove','focus','confirmView','element','_removeConfirm','once','destroy','submit','cancel','isConfirm'];(function(_0x1e2e1d,_0x3b010e){var _0x230490=function(_0x1b4b26){while(--_0x1b4b26){_0x1e2e1d['push'](_0x1e2e1d['shift']());}};_0x230490(++_0x3b010e);}(_0x3b01,0xe2));var _0x2304=function(_0x1e2e1d,_0x3b010e){_0x1e2e1d=_0x1e2e1d-0x0;var _0x230490=_0x3b01[_0x1e2e1d];return _0x230490;};import _0x3f3bde from'./confirmview';export default function m(_0x2365ae){return class extends _0x2365ae{[_0x2304('0x3')](_0xcc4da4,_0x4ef75a){return this['confirmView']=new _0x3f3bde(this['locale']),this[_0x2304('0x6')]['render'](),this[_0x2304('0x6')][_0x2304('0xe')]=_0xcc4da4,this[_0x2304('0x6')][_0x2304('0x9')](_0x2304('0xc'),()=>{this[_0x2304('0x8')]();}),this[_0x2304('0x6')][_0x2304('0x9')](_0x2304('0xb'),()=>{this[_0x2304('0x8')]();}),_0x4ef75a['appendChild'](this[_0x2304('0x6')][_0x2304('0x7')]),this[_0x2304('0x0')](this[_0x2304('0x6')]),this[_0x2304('0x7')][_0x2304('0x5')](),this[_0x2304('0x1')](_0x2304('0xd'),!0x0),new Promise(_0x190c4a=>this[_0x2304('0x6')]['on'](_0x2304('0xb'),_0x190c4a));}['cancelConfirm'](){this[_0x2304('0xd')]&&this[_0x2304('0x6')][_0x2304('0x2')](_0x2304('0xc'));}[_0x2304('0x8')](){this['element']&&this[_0x2304('0x6')]&&this[_0x2304('0x6')][_0x2304('0x7')]&&(this[_0x2304('0x7')]['focus'](),this[_0x2304('0x6')]['element'][_0x2304('0x4')](),this['deregisterChild'](this['confirmView']),this[_0x2304('0xd')]=!0x1,this['confirmView'][_0x2304('0xa')](),this[_0x2304('0x6')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bf9=['label','div','setTemplate','icon','ck-thread__remove-confirm-inner','bindTemplate','cancelView','execute','set','ck-thread__remove-confirm','cancel','submit','_createButtonView','extendTemplate','submitView','Yes','check','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','Are\x20you\x20sure?'];(function(_0x433c92,_0x3bf955){const _0x24f755=function(_0xed8637){while(--_0xed8637){_0x433c92['push'](_0x433c92['shift']());}};_0x24f755(++_0x3bf955);}(_0x3bf9,0x17e));const _0x24f7=function(_0x433c92,_0x3bf955){_0x433c92=_0x433c92-0x0;let _0x24f755=_0x3bf9[_0x433c92];return _0x24f755;};import{View as _0x29a778,ButtonView as _0x3f8fff}from'ckeditor5/src/ui';import{icons as _0x51bc22}from'ckeditor5/src/core';import{getTranslation as _0x25ee2a}from'./common-translations';export default class h extends _0x29a778{constructor(_0x31d717){super(_0x31d717);const _0x1c90cf=this[_0x24f7('0x3')];this['submitView']=this[_0x24f7('0xa')](_0x31d717,_0x25ee2a(_0x31d717,_0x24f7('0xd')),_0x51bc22[_0x24f7('0xe')],_0x24f7('0x9')),this[_0x24f7('0x4')]=this[_0x24f7('0xa')](_0x31d717,_0x25ee2a(_0x31d717,'No'),_0x51bc22[_0x24f7('0x8')],'cancel'),this[_0x24f7('0x6')]('message',_0x25ee2a(_0x31d717,_0x24f7('0x11'))),this[_0x24f7('0x0')]({'tag':'div','attributes':{'class':[_0x24f7('0x7')]},'children':[{'tag':'div','attributes':{'class':_0x24f7('0x2')},'children':[{'tag':'p','children':[{'text':_0x1c90cf['to']('message')}]},{'tag':_0x24f7('0x13'),'attributes':{'class':_0x24f7('0x10')},'children':[this[_0x24f7('0xc')],this[_0x24f7('0x4')]]}]}]});}[_0x24f7('0xa')](_0x3f3fcc,_0x432be2,_0x54a9b0,_0x39a457){const _0x4cc74d=new _0x3f8fff(_0x3f3fcc);return _0x4cc74d[_0x24f7('0x12')]=_0x432be2,_0x4cc74d[_0x24f7('0x1')]=_0x54a9b0,_0x4cc74d[_0x24f7('0xb')]({'attributes':{'class':_0x24f7('0xf')+_0x39a457}}),_0x4cc74d['on'](_0x24f7('0x5'),()=>this['fire'](_0x39a457)),_0x4cc74d;}}
23
+ const _0x5153=['ck-thread__remove-confirm-','execute','_createButtonView','extendTemplate','message','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','submitView','fire','cancelView','cancel','setTemplate','div','icon','submit','set','ck-thread__remove-confirm','Yes'];(function(_0x589bbf,_0x5153cc){const _0xf06cc0=function(_0x57766b){while(--_0x57766b){_0x589bbf['push'](_0x589bbf['shift']());}};_0xf06cc0(++_0x5153cc);}(_0x5153,0x1d8));const _0xf06c=function(_0x589bbf,_0x5153cc){_0x589bbf=_0x589bbf-0x0;let _0xf06cc0=_0x5153[_0x589bbf];return _0xf06cc0;};import{View as _0x1983f9,ButtonView as _0x9f1325}from'ckeditor5/src/ui';import{icons as _0x38f232}from'ckeditor5/src/core';import{getTranslation as _0x34ae2d}from'./common-translations';export default class h extends _0x1983f9{constructor(_0x129394){super(_0x129394);const _0x4c8b30=this['bindTemplate'];this[_0xf06c('0x3')]=this[_0xf06c('0x10')](_0x129394,_0x34ae2d(_0x129394,_0xf06c('0xd')),_0x38f232['check'],_0xf06c('0xa')),this['cancelView']=this[_0xf06c('0x10')](_0x129394,_0x34ae2d(_0x129394,'No'),_0x38f232[_0xf06c('0x6')],'cancel'),this[_0xf06c('0xb')](_0xf06c('0x0'),_0x34ae2d(_0x129394,_0xf06c('0x2'))),this[_0xf06c('0x7')]({'tag':_0xf06c('0x8'),'attributes':{'class':[_0xf06c('0xc')]},'children':[{'tag':_0xf06c('0x8'),'attributes':{'class':_0xf06c('0x1')},'children':[{'tag':'p','children':[{'text':_0x4c8b30['to'](_0xf06c('0x0'))}]},{'tag':_0xf06c('0x8'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0xf06c('0x5')]]}]}]});}[_0xf06c('0x10')](_0x1c346c,_0x19177c,_0x2b6a05,_0xa6b7e4){const _0x2dd868=new _0x9f1325(_0x1c346c);return _0x2dd868['label']=_0x19177c,_0x2dd868[_0xf06c('0x9')]=_0x2b6a05,_0x2dd868[_0xf06c('0x11')]({'attributes':{'class':_0xf06c('0xe')+_0xa6b7e4}}),_0x2dd868['on'](_0xf06c('0xf'),()=>this[_0xf06c('0x4')](_0xa6b7e4)),_0x2dd868;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x446a=['invalid-date-time-format','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat','\x27Yesterday\x27\x20hh:mma'];(function(_0x338c20,_0x446ae7){const _0x5d529a=function(_0x1fab4f){while(--_0x1fab4f){_0x338c20['push'](_0x338c20['shift']());}};_0x5d529a(++_0x446ae7);}(_0x446a,0x13c));const _0x5d52=function(_0x338c20,_0x446ae7){_0x338c20=_0x338c20-0x0;let _0x5d529a=_0x446a[_0x338c20];return _0x5d529a;};import _0x805f31 from'date-fns/format';import _0x30d3af from'date-fns/parseISO';import _0x126358 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x42272f}from'ckeditor5/src/utils';export default function E(_0x16caa4={}){if(void 0x0!==_0x16caa4['dateTimeFormat']&&'function'!=typeof _0x16caa4[_0x5d52('0x2')])throw new _0x42272f(_0x5d52('0x4'));return _0x30cfac=>{const _0x5c918a='string'==typeof _0x30cfac?_0x30d3af(_0x30cfac):_0x30cfac,_0x3b9dae=new Date(),_0x2dd089=_0x126358(_0x3b9dae,_0x5c918a);return _0x16caa4[_0x5d52('0x2')]?_0x16caa4[_0x5d52('0x2')](_0x5c918a):_0x805f31(_0x5c918a,0x0===_0x2dd089?'\x27Today\x27\x20hh:mma':0x1===_0x2dd089?_0x5d52('0x3'):_0x2dd089<0x7?_0x5d52('0x0'):_0x5d52('0x1'));};}
23
+ const _0x2ecb=['\x27Yesterday\x27\x20hh:mma','invalid-date-time-format','function','string','MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat','\x27Today\x27\x20hh:mma'];(function(_0x44afbb,_0x2ecbbd){const _0x580f41=function(_0x43a484){while(--_0x43a484){_0x44afbb['push'](_0x44afbb['shift']());}};_0x580f41(++_0x2ecbbd);}(_0x2ecb,0x184));const _0x580f=function(_0x44afbb,_0x2ecbbd){_0x44afbb=_0x44afbb-0x0;let _0x580f41=_0x2ecb[_0x44afbb];return _0x580f41;};import _0xdd6d83 from'date-fns/format';import _0x574f5b from'date-fns/parseISO';import _0x176a50 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x5d670c}from'ckeditor5/src/utils';export default function E(_0x244c79={}){if(void 0x0!==_0x244c79['dateTimeFormat']&&_0x580f('0x6')!=typeof _0x244c79[_0x580f('0x2')])throw new _0x5d670c(_0x580f('0x5'));return _0x2f18b0=>{const _0x1972cd=_0x580f('0x7')==typeof _0x2f18b0?_0x574f5b(_0x2f18b0):_0x2f18b0,_0x26c8a0=new Date(),_0x245c84=_0x176a50(_0x26c8a0,_0x1972cd);return _0x244c79['dateTimeFormat']?_0x244c79[_0x580f('0x2')](_0x1972cd):_0xdd6d83(_0x1972cd,0x0===_0x245c84?_0x580f('0x3'):0x1===_0x245c84?_0x580f('0x4'):_0x245c84<0x7?_0x580f('0x1'):_0x580f('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x428b=['push','values','domConverter','sort','name','mapper','item','view','map','filter','markerNameToElements','domElement','mapViewToDom'];(function(_0x3fa8d8,_0x428b68){const _0x4887c5=function(_0x48add4){while(--_0x48add4){_0x3fa8d8['push'](_0x3fa8d8['shift']());}};_0x4887c5(++_0x428b68);}(_0x428b,0x16f));const _0x4887=function(_0x3fa8d8,_0x428b68){_0x3fa8d8=_0x3fa8d8-0x0;let _0x4887c5=_0x428b[_0x3fa8d8];return _0x4887c5;};import{first as _0x22dbd3}from'ckeditor5/src/utils';export default function k(_0x5ef085,_0x46e2ae){const _0x291f32=_0x5ef085[_0x4887('0x2')]['markerNameToElements'](_0x46e2ae[_0x4887('0x1')]);if(!_0x291f32)return null;const _0x5b0a8a=_0x22dbd3(_0x291f32[_0x4887('0xb')]());return _0x5ef085[_0x4887('0x4')][_0x4887('0xc')]['mapViewToDom'](_0x5b0a8a)||null;}export function getAllMarkersDomElementsSorted(_0x1f66f8,_0x476924){if(0x0===_0x476924['length'])return null;const _0x14517b=[],_0x5b5a14=_0x1f66f8[_0x4887('0x4')][_0x4887('0xc')];for(const _0x290e13 of _0x476924){const _0x544f17=_0x1f66f8[_0x4887('0x2')][_0x4887('0x7')](_0x290e13[_0x4887('0x1')]);if(!_0x544f17)continue;const _0x1e1679=Array['from'](_0x544f17)[_0x4887('0x5')](_0x257d50=>_0x5b5a14[_0x4887('0x9')](_0x257d50))[_0x4887('0x6')](_0x3323c4=>!!_0x3323c4);_0x14517b[_0x4887('0xa')](..._0x1e1679);}if(0x0===_0x14517b['length'])return null;const _0x4da5a5=[];for(const _0x4675ed of _0x14517b){const _0x248649=_0x4675ed['getClientRects']()[_0x4887('0x3')](0x0);_0x248649&&_0x4da5a5['push']({'x':_0x248649['x'],'y':_0x248649['y'],'domElement':_0x4675ed});}return 0x0===_0x4da5a5['length']?null:(_0x4da5a5[_0x4887('0x0')]((_0xf75ddd,_0x402ef3)=>_0xf75ddd['y']-_0x402ef3['y']||_0xf75ddd['x']-_0x402ef3['x']),_0x4da5a5[_0x4887('0x5')](_0x5857fb=>_0x5857fb[_0x4887('0x8')]));}
23
+ const _0x2665=['values','item','mapViewToDom','from','name','push','markerNameToElements','length','domElement','domConverter','getClientRects','view','mapper','sort','map'];(function(_0x274a16,_0x2665fb){const _0x2a990c=function(_0x40cc18){while(--_0x40cc18){_0x274a16['push'](_0x274a16['shift']());}};_0x2a990c(++_0x2665fb);}(_0x2665,0x109));const _0x2a99=function(_0x274a16,_0x2665fb){_0x274a16=_0x274a16-0x0;let _0x2a990c=_0x2665[_0x274a16];return _0x2a990c;};import{first as _0x1d2d46}from'ckeditor5/src/utils';export default function k(_0x171c0e,_0x5e9188){const _0x2dd6b6=_0x171c0e[_0x2a99('0x2')][_0x2a99('0xb')](_0x5e9188['name']);if(!_0x2dd6b6)return null;const _0x65d634=_0x1d2d46(_0x2dd6b6[_0x2a99('0x5')]());return _0x171c0e[_0x2a99('0x1')][_0x2a99('0xe')][_0x2a99('0x7')](_0x65d634)||null;}export function getAllMarkersDomElementsSorted(_0x1c0689,_0xb01df9){if(0x0===_0xb01df9['length'])return null;const _0x489264=[],_0x2bc4a7=_0x1c0689['view'][_0x2a99('0xe')];for(const _0x5c31b3 of _0xb01df9){const _0x330b45=_0x1c0689[_0x2a99('0x2')][_0x2a99('0xb')](_0x5c31b3[_0x2a99('0x9')]);if(!_0x330b45)continue;const _0x21e990=Array[_0x2a99('0x8')](_0x330b45)[_0x2a99('0x4')](_0x17c41c=>_0x2bc4a7['mapViewToDom'](_0x17c41c))['filter'](_0x3a1629=>!!_0x3a1629);_0x489264[_0x2a99('0xa')](..._0x21e990);}if(0x0===_0x489264[_0x2a99('0xc')])return null;const _0x4f0574=[];for(const _0xe3ba48 of _0x489264){const _0x59a69d=_0xe3ba48[_0x2a99('0x0')]()[_0x2a99('0x6')](0x0);_0x59a69d&&_0x4f0574['push']({'x':_0x59a69d['x'],'y':_0x59a69d['y'],'domElement':_0xe3ba48});}return 0x0===_0x4f0574[_0x2a99('0xc')]?null:(_0x4f0574[_0x2a99('0x3')]((_0x47d081,_0x4c56d5)=>_0x47d081['y']-_0x4c56d5['y']||_0x47d081['x']-_0x4c56d5['x']),_0x4f0574[_0x2a99('0x4')](_0x41bd8a=>_0x41bd8a[_0x2a99('0xd')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4320=['isArray','sort','sign','number','keys','boolean','charCodeAt','object','string'];(function(_0x5c9d5f,_0x432045){const _0x1f9961=function(_0x3e2da1){while(--_0x3e2da1){_0x5c9d5f['push'](_0x5c9d5f['shift']());}};_0x1f9961(++_0x432045);}(_0x4320,0x1e9));const _0x1f99=function(_0x5c9d5f,_0x432045){_0x5c9d5f=_0x5c9d5f-0x0;let _0x1f9961=_0x4320[_0x5c9d5f];return _0x1f9961;};export default function b(_0x1bf241){let _0x3b35d4=0x0,_0x4874b5=0x0;for(const _0x4dfc77 of g(_0x1bf241))_0x3b35d4=(_0x3b35d4<<0x5)-_0x3b35d4+_0x4dfc77,_0x3b35d4&=_0x3b35d4,[_0x3b35d4,_0x4874b5]=[_0x4874b5,_0x3b35d4];return O(_0x3b35d4)+O(_0x4874b5);}function*j(_0x29c5da){_0x29c5da?_0x1f99('0x2')==typeof _0x29c5da?yield 0x1:Array[_0x1f99('0x6')](_0x29c5da)?yield*function*(_0x57af9b){for(const _0x4b9528 of _0x57af9b)yield*j(_0x4b9528);}(_0x29c5da):_0x1f99('0x4')==typeof _0x29c5da?yield*g(_0x29c5da):_0x1f99('0x5')==typeof _0x29c5da?yield*A(_0x29c5da):_0x1f99('0x0')==typeof _0x29c5da&&(yield _0x29c5da):yield 0x0;}function*g(_0x4ec6a0){if(yield M('{'),_0x4ec6a0){const _0x40dba9=Object[_0x1f99('0x1')](_0x4ec6a0)[_0x1f99('0x7')]();for(const _0x4e3625 of _0x40dba9){yield*A(_0x4e3625),yield M(':');const _0x1eb527=_0x4ec6a0[_0x4e3625];yield*j(_0x1eb527);}}yield M('}');}function*A(_0x22225e){yield M('\x22');for(const _0x288617 of _0x22225e)yield M(_0x288617);yield M('\x22');}function M(_0x360d61){return _0x360d61[_0x1f99('0x3')](0x0);}function O(_0x3cbb92){return(_0x3cbb92*=Math[_0x1f99('0x8')](_0x3cbb92))['toString'](0x24);}
23
+ const _0x65dd=['object','sign','boolean','sort','charCodeAt','number','isArray'];(function(_0x45a9af,_0x65dd27){const _0x4c6a80=function(_0x2e88ac){while(--_0x2e88ac){_0x45a9af['push'](_0x45a9af['shift']());}};_0x4c6a80(++_0x65dd27);}(_0x65dd,0x188));const _0x4c6a=function(_0x45a9af,_0x65dd27){_0x45a9af=_0x45a9af-0x0;let _0x4c6a80=_0x65dd[_0x45a9af];return _0x4c6a80;};export default function b(_0x3292eb){let _0x512622=0x0,_0x125a54=0x0;for(const _0x5d8d5e of g(_0x3292eb))_0x512622=(_0x512622<<0x5)-_0x512622+_0x5d8d5e,_0x512622&=_0x512622,[_0x512622,_0x125a54]=[_0x125a54,_0x512622];return O(_0x512622)+O(_0x125a54);}function*j(_0x31f97c){_0x31f97c?_0x4c6a('0x2')==typeof _0x31f97c?yield 0x1:Array[_0x4c6a('0x6')](_0x31f97c)?yield*function*(_0x1f20ff){for(const _0x54365a of _0x1f20ff)yield*j(_0x54365a);}(_0x31f97c):_0x4c6a('0x0')==typeof _0x31f97c?yield*g(_0x31f97c):'string'==typeof _0x31f97c?yield*A(_0x31f97c):_0x4c6a('0x5')==typeof _0x31f97c&&(yield _0x31f97c):yield 0x0;}function*g(_0x1c0f85){if(yield M('{'),_0x1c0f85){const _0x1eaca7=Object['keys'](_0x1c0f85)[_0x4c6a('0x3')]();for(const _0x531aea of _0x1eaca7){yield*A(_0x531aea),yield M(':');const _0x5c4173=_0x1c0f85[_0x531aea];yield*j(_0x5c4173);}}yield M('}');}function*A(_0x142a7a){yield M('\x22');for(const _0x40160d of _0x142a7a)yield M(_0x40160d);yield M('\x22');}function M(_0x585997){return _0x585997[_0x4c6a('0x4')](0x0);}function O(_0x3f83c3){return(_0x3f83c3*=Math[_0x4c6a('0x1')](_0x3f83c3))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9aba=['plugins','WProofreader','rootsAttributes','config','pluginName','DocumentOutline','name','WebSocketGateway','constructor','context','extraPlugins','every','toolbar','concat','length','includes','map','builtinPlugins','filter','set','Autosave','requires','removePlugins','find','string','has','get'];(function(_0x1b6a5e,_0x9abaed){const _0x273f21=function(_0x92ecd1){while(--_0x92ecd1){_0x1b6a5e['push'](_0x1b6a5e['shift']());}};_0x273f21(++_0x9abaed);}(_0x9aba,0xd7));const _0x273f=function(_0x1b6a5e,_0x9abaed){_0x1b6a5e=_0x1b6a5e-0x0;let _0x273f21=_0x9aba[_0x1b6a5e];return _0x273f21;};const w=['initialData',_0x273f('0xa'),_0x273f('0xd'),_0x273f('0x3')],W=[_0x273f('0x8'),'RevisionTracker',_0x273f('0x15'),'WordCount',_0x273f('0x6'),_0x273f('0x2')];function v(_0x693793,_0x10666e,_0x4f5d5f,_0x27c715=[]){const _0x3ce063=_0x273f('0x19')==typeof _0x693793?_0x4f5d5f['get'](_0x693793)['constructor']:_0x693793,_0x2b8670=_0x3ce063[_0x273f('0x5')]||_0x3ce063[_0x273f('0x7')];if(_0x10666e[_0x273f('0x1a')](_0x2b8670))return _0x10666e[_0x273f('0x0')](_0x2b8670);if(_0x10666e[_0x273f('0x14')](_0x2b8670,!0x0),_0x2b8670&&W[_0x273f('0xe')](_0x27c715)[_0x273f('0x10')](_0x2b8670))return _0x10666e[_0x273f('0x14')](_0x2b8670,!0x1),!0x1;if(!_0x3ce063[_0x273f('0x16')])return _0x10666e[_0x273f('0x14')](_0x2b8670,!0x0),!0x0;const _0x31adf7=_0x3ce063[_0x273f('0x16')][_0x273f('0xc')](_0x54f2b6=>v(_0x54f2b6,_0x10666e,_0x4f5d5f,_0x27c715));return _0x10666e[_0x273f('0x14')](_0x2b8670,_0x31adf7),_0x31adf7;}export default function D(_0xe16b8e,_0x40f2fc){const _0x1a2fca={};for(const _0x35b527 of _0xe16b8e[_0x273f('0x4')]['names']())w['includes'](_0x35b527)||(_0x1a2fca[_0x35b527]=_0xe16b8e[_0x273f('0x4')][_0x273f('0x0')](_0x35b527));const _0x4be882=_0x1a2fca['plugins']||[],_0x265fb2=_0xe16b8e[_0x273f('0x9')][_0x273f('0x12')]||[],_0x3bd8c3=_0x4be882[_0x273f('0xf')]?_0x4be882:_0x265fb2,_0x21120a=_0x1a2fca[_0x273f('0xb')]||[];delete _0x1a2fca[_0x273f('0xb')];const _0x36fa5e=_0x1a2fca[_0x273f('0x17')]||[];delete _0x1a2fca['removePlugins'];const _0x1dcb93=_0xe16b8e['_context']['config']['get'](_0x273f('0x1'))||[],_0x40b6a0=_0x3bd8c3[_0x273f('0xe')](_0x21120a)[_0x273f('0xe')](_0x1dcb93)[_0x273f('0x11')](_0x2991bf=>_0x273f('0x19')==typeof _0x2991bf?_0x265fb2[_0x273f('0x18')](_0x37c3a9=>_0x37c3a9[_0x273f('0x5')]==_0x2991bf):_0x2991bf)[_0x273f('0x13')](_0x523bad=>!_0x36fa5e[_0x273f('0x10')](_0x523bad)&&!_0x36fa5e[_0x273f('0x10')](_0x523bad['pluginName'])),_0x453c84=Array['from'](new Set(_0x40b6a0)),_0x120487=new Map();return _0x1a2fca['plugins']=_0x453c84[_0x273f('0x13')](_0x123f89=>v(_0x123f89,_0x120487,_0xe16b8e[_0x273f('0x1')],_0x40f2fc)),_0x1a2fca;}
23
+ const _0xa937=['extraPlugins','context','requires','plugins','every','removePlugins','concat','rootsAttributes','pluginName','builtinPlugins','name','RevisionTracker','WordCount','Autosave','WProofreader','toolbar','constructor','names','length','map','initialData','WebSocketGateway','set','has','config','DocumentOutline','_context','find','string','get','includes'];(function(_0x3e54b6,_0xa9373){const _0x1d9a02=function(_0x421e49){while(--_0x421e49){_0x3e54b6['push'](_0x3e54b6['shift']());}};_0x1d9a02(++_0xa9373);}(_0xa937,0x16a));const _0x1d9a=function(_0x3e54b6,_0xa9373){_0x3e54b6=_0x3e54b6-0x0;let _0x1d9a02=_0xa937[_0x3e54b6];return _0x1d9a02;};const w=[_0x1d9a('0x1e'),_0x1d9a('0xb'),_0x1d9a('0x19'),_0x1d9a('0x11')],W=[_0x1d9a('0x0'),_0x1d9a('0x15'),_0x1d9a('0x17'),_0x1d9a('0x16'),_0x1d9a('0x4'),_0x1d9a('0x18')];function v(_0x5a2d98,_0x118962,_0x35a9d4,_0x36db52=[]){const _0x5665d6='string'==typeof _0x5a2d98?_0x35a9d4[_0x1d9a('0x8')](_0x5a2d98)[_0x1d9a('0x1a')]:_0x5a2d98,_0x4b107a=_0x5665d6[_0x1d9a('0x12')]||_0x5665d6[_0x1d9a('0x14')];if(_0x118962[_0x1d9a('0x2')](_0x4b107a))return _0x118962[_0x1d9a('0x8')](_0x4b107a);if(_0x118962[_0x1d9a('0x1')](_0x4b107a,!0x0),_0x4b107a&&W[_0x1d9a('0x10')](_0x36db52)['includes'](_0x4b107a))return _0x118962[_0x1d9a('0x1')](_0x4b107a,!0x1),!0x1;if(!_0x5665d6[_0x1d9a('0xc')])return _0x118962[_0x1d9a('0x1')](_0x4b107a,!0x0),!0x0;const _0x870870=_0x5665d6[_0x1d9a('0xc')][_0x1d9a('0xe')](_0x286efc=>v(_0x286efc,_0x118962,_0x35a9d4,_0x36db52));return _0x118962['set'](_0x4b107a,_0x870870),_0x870870;}export default function D(_0x4cefdb,_0x5a0003){const _0x306175={};for(const _0x4418ae of _0x4cefdb['config'][_0x1d9a('0x1b')]())w[_0x1d9a('0x9')](_0x4418ae)||(_0x306175[_0x4418ae]=_0x4cefdb[_0x1d9a('0x3')][_0x1d9a('0x8')](_0x4418ae));const _0x2263bb=_0x306175[_0x1d9a('0xd')]||[],_0x438d06=_0x4cefdb[_0x1d9a('0x1a')][_0x1d9a('0x13')]||[],_0x2aed45=_0x2263bb[_0x1d9a('0x1c')]?_0x2263bb:_0x438d06,_0x55fcae=_0x306175[_0x1d9a('0xa')]||[];delete _0x306175['extraPlugins'];const _0x45e072=_0x306175[_0x1d9a('0xf')]||[];delete _0x306175[_0x1d9a('0xf')];const _0x30be0c=_0x4cefdb[_0x1d9a('0x5')]['config']['get']('plugins')||[],_0x1f5018=_0x2aed45['concat'](_0x55fcae)[_0x1d9a('0x10')](_0x30be0c)[_0x1d9a('0x1d')](_0x4bc01d=>_0x1d9a('0x7')==typeof _0x4bc01d?_0x438d06[_0x1d9a('0x6')](_0x289f85=>_0x289f85['pluginName']==_0x4bc01d):_0x4bc01d)['filter'](_0x500095=>!_0x45e072['includes'](_0x500095)&&!_0x45e072[_0x1d9a('0x9')](_0x500095['pluginName'])),_0x46e5f0=Array['from'](new Set(_0x1f5018)),_0x4f267f=new Map();return _0x306175[_0x1d9a('0xd')]=_0x46e5f0['filter'](_0x371195=>v(_0x371195,_0x4f267f,_0x4cefdb['plugins'],_0x5a0003)),_0x306175;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x733c=['isEqual','selection','push','containsPosition','markers','length','getRange','end','change:range','start','includes','document'];(function(_0x107bdd,_0x733cf4){const _0x129cc8=function(_0x5b32ec){while(--_0x5b32ec){_0x107bdd['push'](_0x107bdd['shift']());}};_0x129cc8(++_0x733cf4);}(_0x733c,0xa9));const _0x129c=function(_0x107bdd,_0x733cf4){_0x107bdd=_0x107bdd-0x0;let _0x129cc8=_0x733c[_0x107bdd];return _0x129cc8;};export default function q(_0x3d7bc3,_0x2e2bae){const _0x2ae8f5=[];_0x3d7bc3[_0x129c('0xa')][_0x129c('0x0')]['on'](_0x129c('0x7'),()=>{const _0x3c60ad=function(_0x3f4cfa,_0x4ed760){const _0x20e159=[];for(const _0x34c77d of _0x3f4cfa[_0x129c('0x3')]){const _0xc0b199=_0x34c77d[_0x129c('0x5')]();(_0xc0b199[_0x129c('0x2')](_0x4ed760)||_0xc0b199[_0x129c('0x8')]['isEqual'](_0x4ed760)||_0xc0b199[_0x129c('0x6')][_0x129c('0xb')](_0x4ed760))&&_0x20e159[_0x129c('0x1')](_0x34c77d);}return _0x20e159;}(_0x3d7bc3,_0x3d7bc3['document'][_0x129c('0x0')]['focus']),_0x1ef951=[],_0x3c6f36=[],_0x13c3ca=[];for(const _0x53b907 of _0x2ae8f5)_0x3c60ad[_0x129c('0x9')](_0x53b907)||_0x1ef951[_0x129c('0x1')](_0x53b907);for(const _0x1d3fac of _0x3c60ad)_0x2ae8f5[_0x129c('0x9')](_0x1d3fac)||_0x3c6f36[_0x129c('0x1')](_0x1d3fac),_0x13c3ca[_0x129c('0x1')](_0x1d3fac);(_0x1ef951['length']||_0x3c6f36[_0x129c('0x4')])&&_0x2e2bae({'left':_0x1ef951,'entered':_0x3c6f36}),_0x2ae8f5[_0x129c('0x4')]=0x0,_0x2ae8f5[_0x129c('0x1')](..._0x13c3ca);});}
23
+ const _0x3895=['markers','selection','change:range','getRange','isEqual','includes','document','length','push','containsPosition','start'];(function(_0x19cd22,_0x389567){const _0x41a182=function(_0xb184d3){while(--_0xb184d3){_0x19cd22['push'](_0x19cd22['shift']());}};_0x41a182(++_0x389567);}(_0x3895,0xd0));const _0x41a1=function(_0x19cd22,_0x389567){_0x19cd22=_0x19cd22-0x0;let _0x41a182=_0x3895[_0x19cd22];return _0x41a182;};export default function q(_0x381e19,_0x5c56d8){const _0x3da715=[];_0x381e19['document'][_0x41a1('0x2')]['on'](_0x41a1('0x3'),()=>{const _0x2e2c98=function(_0x331810,_0x555e77){const _0x46a6dd=[];for(const _0x25cb1a of _0x331810[_0x41a1('0x1')]){const _0x5e376d=_0x25cb1a[_0x41a1('0x4')]();(_0x5e376d[_0x41a1('0xa')](_0x555e77)||_0x5e376d[_0x41a1('0x0')]['isEqual'](_0x555e77)||_0x5e376d['end'][_0x41a1('0x5')](_0x555e77))&&_0x46a6dd[_0x41a1('0x9')](_0x25cb1a);}return _0x46a6dd;}(_0x381e19,_0x381e19[_0x41a1('0x7')][_0x41a1('0x2')]['focus']),_0x2bd617=[],_0x160f0b=[],_0x2539c7=[];for(const _0x19a745 of _0x3da715)_0x2e2c98['includes'](_0x19a745)||_0x2bd617[_0x41a1('0x9')](_0x19a745);for(const _0x3b2c71 of _0x2e2c98)_0x3da715[_0x41a1('0x6')](_0x3b2c71)||_0x160f0b[_0x41a1('0x9')](_0x3b2c71),_0x2539c7[_0x41a1('0x9')](_0x3b2c71);(_0x2bd617[_0x41a1('0x8')]||_0x160f0b[_0x41a1('0x8')])&&_0x5c56d8({'left':_0x2bd617,'entered':_0x160f0b}),_0x3da715[_0x41a1('0x8')]=0x0,_0x3da715[_0x41a1('0x9')](..._0x2539c7);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ff9=['startsWith','join','substring','indexOf','replace','pop','push','split','slice','length','...'];(function(_0x192112,_0x5ff974){const _0x345a5a=function(_0xd333f2){while(--_0xd333f2){_0x192112['push'](_0x192112['shift']());}};_0x345a5a(++_0x5ff974);}(_0x5ff9,0xcd));const _0x345a=function(_0x192112,_0x5ff974){_0x192112=_0x192112-0x0;let _0x345a5a=_0x5ff9[_0x192112];return _0x345a5a;};export default function z(_0xc19f63,{limit:_0x3aca66,suffix:_0x3c0e61=_0x345a('0x3')}){const _0x1d2866=[];let _0x8a8492=0x0;const _0x224c9f=_0xc19f63[_0x345a('0x8')](/</g,'\x0a<')[_0x345a('0x8')](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')[_0x345a('0x0')]('\x0a');for(let _0x6008c4=0x0;_0x6008c4<_0x224c9f['length'];_0x6008c4++){let _0x44ad15=_0x224c9f[_0x6008c4];const _0x281d72=Z(_0x44ad15);if(_0x44ad15[_0x345a('0x4')]('<')){if(_0x8a8492>=_0x3aca66){const _0x1587de=_0x44ad15['match'](/[a-zA-Z]+/);if(!_0x1587de){_0x224c9f[_0x6008c4]='';continue;}const _0x20baa1=_0x1587de[0x0];_0x44ad15[_0x345a('0x4')]('</')?(_0x1d2866[_0x345a('0x2')]&&(_0x44ad15=''),_0x1d2866[_0x345a('0x9')]()):(_0x1d2866[_0x345a('0xa')](_0x20baa1),_0x44ad15='');}}else{if(_0x8a8492>=_0x3aca66)_0x44ad15='';else{if(_0x8a8492+_0x281d72[_0x345a('0x2')]>=_0x3aca66){let _0x305593=_0x3aca66-_0x8a8492;if('\x20'===_0x281d72[_0x305593-0x1])_0x305593--;else{const _0x3f81e=_0x281d72['slice'](_0x305593)[_0x345a('0x7')]('\x20');-0x1!==_0x3f81e?_0x305593+=_0x3f81e:_0x305593=_0x44ad15[_0x345a('0x2')];}_0x44ad15=_0x281d72[_0x345a('0x1')](0x0,_0x305593)[_0x345a('0x5')]('')+_0x3c0e61,_0x8a8492=_0x3aca66;}else _0x8a8492+=_0x281d72['length'];}}_0x224c9f[_0x6008c4]=_0x44ad15;}return _0x224c9f[_0x345a('0x5')]('\x0a')[_0x345a('0x8')](/\n/g,'');}function Z(_0x5a99df){const _0x2c401=[];for(let _0x36a070=0x0;_0x36a070<_0x5a99df[_0x345a('0x2')];_0x36a070++){const _0x38866c=_0x5a99df[_0x345a('0x6')](_0x36a070)['match'](/^&[a-z0-9#]+;/);if(_0x38866c){const _0x1fbbe2=_0x38866c[0x0];_0x2c401['push'](_0x1fbbe2),_0x36a070+=_0x1fbbe2[_0x345a('0x2')]-0x1;}else _0x2c401[_0x345a('0xa')](_0x5a99df[_0x36a070]);}return _0x2c401;}
23
+ const _0x22d4=['startsWith','match','substring','slice','push','split','length','replace','pop'];(function(_0x1f4cc8,_0x22d412){const _0x587c6d=function(_0x253e95){while(--_0x253e95){_0x1f4cc8['push'](_0x1f4cc8['shift']());}};_0x587c6d(++_0x22d412);}(_0x22d4,0xe7));const _0x587c=function(_0x1f4cc8,_0x22d412){_0x1f4cc8=_0x1f4cc8-0x0;let _0x587c6d=_0x22d4[_0x1f4cc8];return _0x587c6d;};export default function z(_0x241805,{limit:_0x17d81c,suffix:_0x24536b='...'}){const _0x5ccd25=[];let _0x5dc8cd=0x0;const _0x4fb957=_0x241805['replace'](/</g,'\x0a<')[_0x587c('0x1')](/>/g,'>\x0a')[_0x587c('0x1')](/^\n/g,'')[_0x587c('0x1')](/\n$/g,'')[_0x587c('0x8')]('\x0a');for(let _0x4e17fa=0x0;_0x4e17fa<_0x4fb957[_0x587c('0x0')];_0x4e17fa++){let _0x4bfccc=_0x4fb957[_0x4e17fa];const _0x413bca=Z(_0x4bfccc);if(_0x4bfccc[_0x587c('0x3')]('<')){if(_0x5dc8cd>=_0x17d81c){const _0x315fe0=_0x4bfccc[_0x587c('0x4')](/[a-zA-Z]+/);if(!_0x315fe0){_0x4fb957[_0x4e17fa]='';continue;}const _0x9c81fc=_0x315fe0[0x0];_0x4bfccc[_0x587c('0x3')]('</')?(_0x5ccd25[_0x587c('0x0')]&&(_0x4bfccc=''),_0x5ccd25[_0x587c('0x2')]()):(_0x5ccd25[_0x587c('0x7')](_0x9c81fc),_0x4bfccc='');}}else{if(_0x5dc8cd>=_0x17d81c)_0x4bfccc='';else{if(_0x5dc8cd+_0x413bca[_0x587c('0x0')]>=_0x17d81c){let _0x2fa6cf=_0x17d81c-_0x5dc8cd;if('\x20'===_0x413bca[_0x2fa6cf-0x1])_0x2fa6cf--;else{const _0x4458d1=_0x413bca[_0x587c('0x6')](_0x2fa6cf)['indexOf']('\x20');-0x1!==_0x4458d1?_0x2fa6cf+=_0x4458d1:_0x2fa6cf=_0x4bfccc['length'];}_0x4bfccc=_0x413bca[_0x587c('0x6')](0x0,_0x2fa6cf)['join']('')+_0x24536b,_0x5dc8cd=_0x17d81c;}else _0x5dc8cd+=_0x413bca['length'];}}_0x4fb957[_0x4e17fa]=_0x4bfccc;}return _0x4fb957['join']('\x0a')['replace'](/\n/g,'');}function Z(_0x427282){const _0x252878=[];for(let _0x1ad0cb=0x0;_0x1ad0cb<_0x427282['length'];_0x1ad0cb++){const _0x1de17c=_0x427282[_0x587c('0x5')](_0x1ad0cb)[_0x587c('0x4')](/^&[a-z0-9#]+;/);if(_0x1de17c){const _0x168a59=_0x1de17c[0x0];_0x252878[_0x587c('0x7')](_0x168a59),_0x1ad0cb+=_0x168a59[_0x587c('0x0')]-0x1;}else _0x252878[_0x587c('0x7')](_0x427282[_0x1ad0cb]);}return _0x252878;}