@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231205.0 → 0.0.0-nightly-20231207.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-20231205.0",
3
+ "version": "0.0.0-nightly-20231207.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-20231205.0",
34
+ "ckeditor5": "0.0.0-nightly-20231207.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 _0x31eb=['enableReadOnlyMode','plugins','setPermissions','comment:write','disableReadOnlyMode','includes','pluginName','find','forceDisabled','addCommentThread','editors','config','has','no-permissions','isEnabled','CommentsRepository','context','collaboration.channelId','get','permissions-set-permissions-invalid-channel-id','noPermissions','Permissions','comment:admin','commands','document:write','CommentsOnly'];(function(_0x14bef4,_0x31ebbc){const _0x35ebf9=function(_0x4c50a2){while(--_0x4c50a2){_0x14bef4['push'](_0x14bef4['shift']());}};_0x35ebf9(++_0x31ebbc);}(_0x31eb,0xbb));const _0x35eb=function(_0x14bef4,_0x31ebbc){_0x14bef4=_0x14bef4-0x0;let _0x35ebf9=_0x31eb[_0x14bef4];return _0x35ebf9;};import{ContextPlugin as _0x5867fe,Editor as _0x1c83dd}from'ckeditor5/src/core';import{CKEditorError as _0x557ec8}from'ckeditor5/src/utils';export default class n extends _0x5867fe{static get[_0x35eb('0x1')](){return _0x35eb('0x10');}[_0x35eb('0x17')](_0x9e9f80,_0x45d312){let _0x13d552;if(_0x45d312||(_0x45d312=this[_0x35eb('0xb')][_0x35eb('0x6')][_0x35eb('0xd')](_0x35eb('0xc'))),this[_0x35eb('0xb')][_0x35eb('0x6')]['get'](_0x35eb('0xc'))==_0x45d312?_0x13d552=this[_0x35eb('0xb')]:_0x35eb('0x5')in this['context']&&this['context'][_0x35eb('0x5')]&&(_0x13d552=this[_0x35eb('0xb')][_0x35eb('0x5')][_0x35eb('0x2')](_0x385958=>_0x385958['config']['get'](_0x35eb('0xc'))==_0x45d312)),!_0x13d552)throw new _0x557ec8(_0x35eb('0xe'),null);const _0x2ef2a2=_0x13d552[_0x35eb('0x16')],_0x36566a=_0x2ef2a2[_0x35eb('0x7')](_0x35eb('0xa'))?_0x2ef2a2[_0x35eb('0xd')](_0x35eb('0xa')):void 0x0,_0x592cda=_0x2ef2a2[_0x35eb('0x7')](_0x35eb('0x14'))&&_0x2ef2a2[_0x35eb('0xd')](_0x35eb('0x14')),_0xff1151=_0x9e9f80[_0x35eb('0x0')](_0x35eb('0x13')),_0x2de3a4=_0x9e9f80[_0x35eb('0x0')]('comment:modify_all'),_0x4272d6=_0x9e9f80[_0x35eb('0x0')](_0x35eb('0x11')),_0x73e75a=_0x9e9f80['includes'](_0x35eb('0x18')),_0x987a7c=_0x73e75a||_0x4272d6,_0x222fd5=_0x987a7c||_0x2de3a4,_0x2e4666=_0xff1151||_0x987a7c;(_0x592cda&&(_0x592cda[_0x35eb('0x9')]=!_0xff1151&&_0x222fd5),_0x13d552 instanceof _0x1c83dd)&&(!(_0xff1151||_0x222fd5&&_0x36566a)?_0x13d552[_0x35eb('0x15')](_0x35eb('0x8')):_0x13d552[_0x35eb('0x19')](_0x35eb('0x8')));if(_0x36566a){_0x36566a[_0x35eb('0x17')]({'admin':_0x4272d6,'modifyAll':_0x2de3a4,'write':_0x73e75a,'resolve':_0x2e4666},_0x45d312);const _0x3dd7e5=_0x13d552 instanceof _0x1c83dd&&_0x13d552[_0x35eb('0x12')][_0x35eb('0xd')](_0x35eb('0x4'));_0x3dd7e5&&(_0x987a7c?_0x3dd7e5['clearForceDisabled'](_0x35eb('0xf')):_0x3dd7e5[_0x35eb('0x3')](_0x35eb('0xf')));}}}
23
+ const _0x4959=['config','enableReadOnlyMode','isEnabled','disableReadOnlyMode','context','addCommentThread','permissions-set-permissions-invalid-channel-id','noPermissions','get','editors','no-permissions','includes','pluginName','document:write','setPermissions','comment:write','comment:admin','collaboration.channelId','CommentsRepository','clearForceDisabled','find','Permissions','comment:modify_all','forceDisabled','CommentsOnly'];(function(_0x2894bf,_0x4959f6){const _0x4833a8=function(_0xd0b0c6){while(--_0xd0b0c6){_0x2894bf['push'](_0x2894bf['shift']());}};_0x4833a8(++_0x4959f6);}(_0x4959,0x10e));const _0x4833=function(_0x2894bf,_0x4959f6){_0x2894bf=_0x2894bf-0x0;let _0x4833a8=_0x4959[_0x2894bf];return _0x4833a8;};import{ContextPlugin as _0x7148e,Editor as _0x100c95}from'ckeditor5/src/core';import{CKEditorError as _0x1e3434}from'ckeditor5/src/utils';export default class n extends _0x7148e{static get[_0x4833('0x11')](){return _0x4833('0x1');}[_0x4833('0x13')](_0x2738b7,_0x31ec36){let _0x40f339;if(_0x31ec36||(_0x31ec36=this[_0x4833('0x9')][_0x4833('0x5')][_0x4833('0xd')](_0x4833('0x16'))),this[_0x4833('0x9')][_0x4833('0x5')]['get']('collaboration.channelId')==_0x31ec36?_0x40f339=this[_0x4833('0x9')]:'editors'in this[_0x4833('0x9')]&&this['context']['editors']&&(_0x40f339=this[_0x4833('0x9')][_0x4833('0xe')][_0x4833('0x0')](_0xe8fd4c=>_0xe8fd4c[_0x4833('0x5')][_0x4833('0xd')](_0x4833('0x16'))==_0x31ec36)),!_0x40f339)throw new _0x1e3434(_0x4833('0xb'),null);const _0x27472e=_0x40f339['plugins'],_0x553869=_0x27472e['has'](_0x4833('0x17'))?_0x27472e[_0x4833('0xd')](_0x4833('0x17')):void 0x0,_0x24b82f=_0x27472e['has']('CommentsOnly')&&_0x27472e[_0x4833('0xd')](_0x4833('0x4')),_0x27b6ed=_0x2738b7[_0x4833('0x10')](_0x4833('0x12')),_0x497179=_0x2738b7['includes'](_0x4833('0x2')),_0x442367=_0x2738b7['includes'](_0x4833('0x15')),_0x190d50=_0x2738b7[_0x4833('0x10')](_0x4833('0x14')),_0x23fa2f=_0x190d50||_0x442367,_0x4d7a98=_0x23fa2f||_0x497179,_0x522c89=_0x27b6ed||_0x23fa2f;(_0x24b82f&&(_0x24b82f[_0x4833('0x7')]=!_0x27b6ed&&_0x4d7a98),_0x40f339 instanceof _0x100c95)&&(!(_0x27b6ed||_0x4d7a98&&_0x553869)?_0x40f339[_0x4833('0x6')](_0x4833('0xf')):_0x40f339[_0x4833('0x8')](_0x4833('0xf')));if(_0x553869){_0x553869['setPermissions']({'admin':_0x442367,'modifyAll':_0x497179,'write':_0x190d50,'resolve':_0x522c89},_0x31ec36);const _0x17476a=_0x40f339 instanceof _0x100c95&&_0x40f339['commands'][_0x4833('0xd')](_0x4833('0xa'));_0x17476a&&(_0x23fa2f?_0x17476a[_0x4833('0x18')](_0x4833('0xc')):_0x17476a[_0x4833('0x3')](_0x4833('0xc')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d48=['ck-user__anonymous','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__img','notificationView','name','ck-user','initials','push','content','ck-user__icon','isAnonymous','div','ck-user__notification','url(\x27'];(function(_0x2657df,_0x4d4893){const _0x29dc83=function(_0x2cef6d){while(--_0x2cef6d){_0x2657df['push'](_0x2657df['shift']());}};_0x29dc83(++_0x4d4893);}(_0x4d48,0x105));const _0x29dc=function(_0x2657df,_0x4d4893){_0x2657df=_0x2657df-0x0;let _0x29dc83=_0x4d48[_0x2657df];return _0x29dc83;};import{View as _0x4a7d25,IconView as _0x306ebf}from'ckeditor5/src/ui';import _0x5d73ae from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x4a7d25{constructor(_0x149eb9,_0x423358,_0x290cff){super(_0x149eb9),this['name']=_0x423358[_0x29dc('0x9')],this[_0x29dc('0x8')]=null;const _0x57edde=['ck',_0x29dc('0x7')];if(_0x423358[_0x29dc('0x1')]&&_0x57edde['push'](_0x29dc('0x5')),_0x423358['avatar']&&_0x57edde[_0x29dc('0xc')]('ck-user__avatar'),_0x290cff){const _0xe10e06=new _0x306ebf();_0xe10e06['extendTemplate']({'attributes':{'class':[_0x29dc('0x0')]}}),_0xe10e06[_0x29dc('0xd')]=_0x5d73ae,this[_0x29dc('0x8')]={'tag':_0x29dc('0x2'),'attributes':{'class':['ck',_0x29dc('0x3')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x290cff},'children':[_0xe10e06]};}const _0x3438fd=[{'tag':_0x29dc('0x2'),'attributes':{'class':_0x57edde,'style':{'background-image':_0x423358['avatar']?_0x29dc('0x4')+_0x423358['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x423358['avatar']?_0x29dc('0x6'):'ck\x20ck-user__name'},'children':[{'text':_0x423358[_0x29dc('0xb')]}]}];this['notificationView']&&_0x3438fd[_0x29dc('0xc')](this[_0x29dc('0x8')]),this['setTemplate']({'tag':_0x29dc('0x2'),'attributes':{'class':['ck',_0x29dc('0xa')],'data-user-id':_0x423358['id']},'children':_0x3438fd});}}
23
+ const _0x279b=['setTemplate','url(\x27','ck-user__notification','ck-user__img','div','content','ck-user','name','notificationView','initials','avatar','ck-user__icon','ck-user__avatar','push','ck\x20ck-user__name','isAnonymous','ck-user__anonymous','ck\x20ck-user__name\x20ck-user__name--hidden','extendTemplate'];(function(_0x61af44,_0x279bbd){const _0xa37e95=function(_0x5d9d90){while(--_0x5d9d90){_0x61af44['push'](_0x61af44['shift']());}};_0xa37e95(++_0x279bbd);}(_0x279b,0x7d));const _0xa37e=function(_0x61af44,_0x279bbd){_0x61af44=_0x61af44-0x0;let _0xa37e95=_0x279b[_0x61af44];return _0xa37e95;};import{View as _0x4f8bad,IconView as _0x1fc1e2}from'ckeditor5/src/ui';import _0x44d745 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x4f8bad{constructor(_0x18a98f,_0x561840,_0x36eb38){super(_0x18a98f),this[_0xa37e('0xf')]=_0x561840[_0xa37e('0xf')],this[_0xa37e('0x10')]=null;const _0x2741ab=['ck',_0xa37e('0xb')];if(_0x561840[_0xa37e('0x4')]&&_0x2741ab[_0xa37e('0x2')](_0xa37e('0x5')),_0x561840[_0xa37e('0x12')]&&_0x2741ab[_0xa37e('0x2')](_0xa37e('0x1')),_0x36eb38){const _0x517e8e=new _0x1fc1e2();_0x517e8e[_0xa37e('0x7')]({'attributes':{'class':[_0xa37e('0x0')]}}),_0x517e8e[_0xa37e('0xd')]=_0x44d745,this[_0xa37e('0x10')]={'tag':_0xa37e('0xc'),'attributes':{'class':['ck',_0xa37e('0xa')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x36eb38},'children':[_0x517e8e]};}const _0x2e25a5=[{'tag':'div','attributes':{'class':_0x2741ab,'style':{'background-image':_0x561840[_0xa37e('0x12')]?_0xa37e('0x9')+_0x561840['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x561840[_0xa37e('0x12')]?_0xa37e('0x6'):_0xa37e('0x3')},'children':[{'text':_0x561840[_0xa37e('0x11')]}]}];this[_0xa37e('0x10')]&&_0x2e25a5['push'](this[_0xa37e('0x10')]),this[_0xa37e('0x8')]({'tag':_0xa37e('0xc'),'attributes':{'class':['ck',_0xa37e('0xe')],'data-user-id':_0x561840['id']},'children':_0x2e25a5});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x398b=['init','includes','licenseKeyTrialLimit:revisions','licenseKeyTrialLimit:time','get','_isAnonymous','Anonymous','defineMe','ck-user__marker--','toUpperCase','users','users-add-duplicated-id','has','color','_id','licenseKeyTrial','getBackgroundColorClass','licenseKey','getUser','destroy','licenseKeyValid','licenseKeyTrialLimit:operations','_getInitial','getOperationAuthor','_licenseKeyCheckInterval','_lastColor','info','_getNextColor','_myId','useAnonymousUser','anonymous-user','_addAnonymousUser','string','config','ck-user__bg-color--','users.anonymousUserId','length','invalid-license-key','_locale','users.colorsCount','licenseKeyInvalid','define','avatar','locale','Users','users-add-invalid-id','initials','name','getSelectionClass','context'];(function(_0x3f45d1,_0x398ba1){const _0x3b95ac=function(_0x211dc9){while(--_0x211dc9){_0x3f45d1['push'](_0x3f45d1['shift']());}};_0x3b95ac(++_0x398ba1);}(_0x398b,0x16e));const _0x3b95=function(_0x3f45d1,_0x398ba1){_0x3f45d1=_0x3f45d1-0x0;let _0x3b95ac=_0x398b[_0x3f45d1];return _0x3b95ac;};import{ContextPlugin as _0x3cc40c}from'ckeditor5/src/core';import{Collection as _0x4640f2,CKEditorError as _0x5e0dc4}from'ckeditor5/src/utils';import _0x3014f6 from'./permissions';import{getTranslation as _0x36777f}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x3cc40c{static get['pluginName'](){return _0x3b95('0x1c');}static get['requires'](){return[_0x3014f6];}constructor(_0x52c00a){super(_0x52c00a),this[_0x3b95('0x21')][_0x3b95('0x11')][_0x3b95('0x19')](_0x3b95('0x13'),_0x3b95('0xe')),this[_0x3b95('0x21')][_0x3b95('0x11')]['define'](_0x3b95('0x17'),0x8),this[_0x3b95('0x2c')]=new _0x4640f2(),this[_0x3b95('0x16')]=_0x52c00a[_0x3b95('0x1b')],this['_licenseKeyCheckInterval']=null,this[_0x3b95('0x9')]=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}[_0x3b95('0x22')](){const _0x36974d=this[_0x3b95('0x21')];this[_0x3b95('0x1')]=_0x36974d[_0x3b95('0x11')][_0x3b95('0x26')](_0x3b95('0x1'));const _0x41c8c6=[_0x3b95('0x31'),_0x3b95('0x18'),_0x3b95('0x4'),'licenseKeyTrialLimit:operations',_0x3b95('0x25'),'licenseKeyTrialLimit:revisions'];this[_0x3b95('0x8')]=setInterval(()=>{let _0xa80ec0;for(const _0x42a5b3 in _0x36974d){const _0x17f940=_0x36974d[_0x42a5b3];if(_0x41c8c6[_0x3b95('0x23')](_0x17f940)){delete _0x36974d[_0x42a5b3],_0xa80ec0=_0x17f940;break;}}if('licenseKeyInvalid'===_0xa80ec0)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5e0dc4(_0x3b95('0x15'),null);if('licenseKeyTrial'===_0xa80ec0&&console[_0x3b95('0xa')]('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.'),_0x3b95('0x5')===_0xa80ec0)throw clearInterval(this[_0x3b95('0x8')]),new _0x5e0dc4('trial-license-key-reached-limit-changes',null);if(_0x3b95('0x25')===_0xa80ec0)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5e0dc4('trial-license-key-reached-limit-time',null);if(_0x3b95('0x24')===_0xa80ec0)throw clearInterval(this[_0x3b95('0x8')]),new _0x5e0dc4('trial-license-key-reached-limit-revisions',null);_0x3b95('0x4')===_0xa80ec0&&clearInterval(this[_0x3b95('0x8')]);},0x3e8),this[_0x3b95('0xf')]();}get['me'](){return null==this['_myId']?null:this[_0x3b95('0x2')](this[_0x3b95('0xc')]);}['addUser']({id:_0x3f0e0c,name:_0xc54161,..._0x309332}){if(!_0x3f0e0c||_0x3b95('0x10')!=typeof _0x3f0e0c)throw new _0x5e0dc4(_0x3b95('0x1d'));if(this[_0x3b95('0x2c')][_0x3b95('0x2e')](_0x3f0e0c))throw new _0x5e0dc4(_0x3b95('0x2d'),null,{'id':_0x3f0e0c});const _0x5168f9={..._0x309332,'id':_0x3f0e0c,'name':a(this[_0x3b95('0x16')],_0xc54161),'color':this[_0x3b95('0xb')]()};_0x5168f9[_0x3b95('0x1f')]=a(this['_locale'],_0x5168f9[_0x3b95('0x1f')]);const _0x2c4a8b=new User(_0x5168f9);return this['users']['add'](_0x2c4a8b),_0x2c4a8b;}[_0x3b95('0x2')](_0x42f3ba){return this[_0x3b95('0x2c')][_0x3b95('0x26')](_0x42f3ba);}[_0x3b95('0xd')](){const _0x4d0c23=this[_0x3b95('0x21')][_0x3b95('0x11')][_0x3b95('0x26')]('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4d0c23);}[_0x3b95('0x29')](_0x3bd4b0){if(this['_myId'])throw new _0x5e0dc4('users-me-already-defined',null);if(!this[_0x3b95('0x2')](_0x3bd4b0))throw new _0x5e0dc4('users-me-missing-user',null);this[_0x3b95('0xc')]=_0x3bd4b0;}[_0x3b95('0x7')](){return this['me'];}['destroy'](){super[_0x3b95('0x3')](),clearInterval(this[_0x3b95('0x8')]);}[_0x3b95('0xb')](){const _0x347aa5=this[_0x3b95('0x21')]['config'][_0x3b95('0x26')](_0x3b95('0x17'));return this[_0x3b95('0x9')]>=_0x347aa5&&(this[_0x3b95('0x9')]=0x0),new u(this[_0x3b95('0x9')]++);}[_0x3b95('0xf')](){const _0x4c5f72=this[_0x3b95('0x21')][_0x3b95('0x11')][_0x3b95('0x26')](_0x3b95('0x13'));this['addUser']({'id':_0x4c5f72,'name':_0x36777f(this[_0x3b95('0x16')],_0x3b95('0x28'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x5f5457){this['id']=_0x5f5457['id'],this[_0x3b95('0x2f')]=_0x5f5457[_0x3b95('0x2f')],this['name']=_0x5f5457['name'],this[_0x3b95('0x1a')]=_0x5f5457[_0x3b95('0x1a')],this[_0x3b95('0x27')]=!0x1;}get['isAnonymous'](){return this[_0x3b95('0x27')];}get[_0x3b95('0x1e')](){const _0x3e5c56=this[_0x3b95('0x1f')]['split']('\x20');return 0x1===_0x3e5c56[_0x3b95('0x14')]?this[_0x3b95('0x6')](_0x3e5c56[0x0]):this[_0x3b95('0x6')](_0x3e5c56[0x0])+this[_0x3b95('0x6')](_0x3e5c56[_0x3e5c56[_0x3b95('0x14')]-0x1]);}[_0x3b95('0x6')](_0x5d5b5b){return _0x5d5b5b['charAt'](0x0)[_0x3b95('0x2b')]();}}function a(_0xc06f5f,_0x47ca0c=''){return''==(_0x47ca0c=_0x47ca0c['trim']())?_0x36777f(_0xc06f5f,'Anonymous'):_0x47ca0c;}class u{constructor(_0x33533a){this['_id']=_0x33533a;}[_0x3b95('0x0')](){return _0x3b95('0x12')+this[_0x3b95('0x30')];}[_0x3b95('0x20')](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return _0x3b95('0x2a')+this['_id'];}}
23
+ const _0x238a=['add','length','getBackgroundColorClass','licenseKeyInvalid','getUser','config','split','context','color','useAnonymousUser','users-add-invalid-id','_getInitial','_locale','getOperationAuthor','licenseKeyTrialLimit:time','defineMe','trial-license-key-reached-limit-time','users','initials','users.colorsCount','destroy','get','invalid-license-key','licenseKeyValid','users-me-already-defined','_id','ck-user__marker--','getMarkerClass','getSelectionClass','licenseKeyTrial','_lastColor','_myId','string','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:revisions','Users','ck-user__bg-color--','isAnonymous','charAt','init','locale','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.','includes','trim','name','_getNextColor','toUpperCase','users-me-missing-user','Anonymous','users.anonymousUserId','avatar','info','licenseKey','define','users-add-duplicated-id','decorate','_licenseKeyCheckInterval','_addAnonymousUser'];(function(_0x269427,_0x238a7f){const _0x5403ef=function(_0x15caf1){while(--_0x15caf1){_0x269427['push'](_0x269427['shift']());}};_0x5403ef(++_0x238a7f);}(_0x238a,0x106));const _0x5403=function(_0x269427,_0x238a7f){_0x269427=_0x269427-0x0;let _0x5403ef=_0x238a[_0x269427];return _0x5403ef;};import{ContextPlugin as _0x8daa94}from'ckeditor5/src/core';import{Collection as _0x50cc2e,CKEditorError as _0x50c5e6}from'ckeditor5/src/utils';import _0x5973f1 from'./permissions';import{getTranslation as _0x3d9fbc}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x8daa94{static get['pluginName'](){return _0x5403('0x5');}static get['requires'](){return[_0x5973f1];}constructor(_0x18ae8a){super(_0x18ae8a),this[_0x5403('0x23')][_0x5403('0x21')]['define'](_0x5403('0x13'),'anonymous-user'),this[_0x5403('0x23')]['config'][_0x5403('0x17')]('users.colorsCount',0x8),this[_0x5403('0x2d')]=new _0x50cc2e(),this[_0x5403('0x28')]=_0x18ae8a[_0x5403('0xa')],this[_0x5403('0x1a')]=null,this[_0x5403('0x0')]=0x0,this[_0x5403('0x1')]=null,this[_0x5403('0x19')](_0x5403('0x29'));}[_0x5403('0x9')](){const _0x534b6f=this[_0x5403('0x23')];this[_0x5403('0x16')]=_0x534b6f[_0x5403('0x21')][_0x5403('0x31')]('licenseKey');const _0xf8d4dc=[_0x5403('0x39'),_0x5403('0x1f'),_0x5403('0x33'),_0x5403('0x3'),'licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this[_0x5403('0x1a')]=setInterval(()=>{let _0x191f4c;for(const _0xab5670 in _0x534b6f){const _0x575892=_0x534b6f[_0xab5670];if(_0xf8d4dc[_0x5403('0xc')](_0x575892)){delete _0x534b6f[_0xab5670],_0x191f4c=_0x575892;break;}}if(_0x5403('0x1f')===_0x191f4c)throw clearInterval(this[_0x5403('0x1a')]),new _0x50c5e6(_0x5403('0x32'),null);if('licenseKeyTrial'===_0x191f4c&&console[_0x5403('0x15')](_0x5403('0xb')),_0x5403('0x3')===_0x191f4c)throw clearInterval(this[_0x5403('0x1a')]),new _0x50c5e6('trial-license-key-reached-limit-changes',null);if(_0x5403('0x2a')===_0x191f4c)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x50c5e6(_0x5403('0x2c'),null);if(_0x5403('0x4')===_0x191f4c)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x50c5e6('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x191f4c&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x5403('0x1b')]();}get['me'](){return null==this[_0x5403('0x1')]?null:this[_0x5403('0x20')](this[_0x5403('0x1')]);}['addUser']({id:_0x23197d,name:_0x12b04d,..._0x1a2777}){if(!_0x23197d||_0x5403('0x2')!=typeof _0x23197d)throw new _0x50c5e6(_0x5403('0x26'));if(this[_0x5403('0x2d')]['has'](_0x23197d))throw new _0x50c5e6(_0x5403('0x18'),null,{'id':_0x23197d});const _0x1d7107={..._0x1a2777,'id':_0x23197d,'name':a(this[_0x5403('0x28')],_0x12b04d),'color':this['_getNextColor']()};_0x1d7107[_0x5403('0xe')]=a(this['_locale'],_0x1d7107['name']);const _0xc5d7aa=new User(_0x1d7107);return this[_0x5403('0x2d')][_0x5403('0x1c')](_0xc5d7aa),_0xc5d7aa;}[_0x5403('0x20')](_0x7bde9f){return this[_0x5403('0x2d')][_0x5403('0x31')](_0x7bde9f);}[_0x5403('0x25')](){const _0x5c3ce8=this[_0x5403('0x23')][_0x5403('0x21')]['get']('users.anonymousUserId');this[_0x5403('0x1')]||this[_0x5403('0x2b')](_0x5c3ce8);}[_0x5403('0x2b')](_0x5649ce){if(this[_0x5403('0x1')])throw new _0x50c5e6(_0x5403('0x34'),null);if(!this[_0x5403('0x20')](_0x5649ce))throw new _0x50c5e6(_0x5403('0x11'),null);this[_0x5403('0x1')]=_0x5649ce;}[_0x5403('0x29')](){return this['me'];}[_0x5403('0x30')](){super['destroy'](),clearInterval(this[_0x5403('0x1a')]);}[_0x5403('0xf')](){const _0x50811b=this[_0x5403('0x23')][_0x5403('0x21')][_0x5403('0x31')](_0x5403('0x2f'));return this[_0x5403('0x0')]>=_0x50811b&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}[_0x5403('0x1b')](){const _0x5c913d=this['context']['config']['get'](_0x5403('0x13'));this['addUser']({'id':_0x5c913d,'name':_0x3d9fbc(this[_0x5403('0x28')],'Anonymous')})['_isAnonymous']=!0x0;}}export class User{constructor(_0x56d6c6){this['id']=_0x56d6c6['id'],this[_0x5403('0x24')]=_0x56d6c6[_0x5403('0x24')],this[_0x5403('0xe')]=_0x56d6c6['name'],this[_0x5403('0x14')]=_0x56d6c6[_0x5403('0x14')],this['_isAnonymous']=!0x1;}get[_0x5403('0x7')](){return this['_isAnonymous'];}get[_0x5403('0x2e')](){const _0x4c6d2b=this[_0x5403('0xe')][_0x5403('0x22')]('\x20');return 0x1===_0x4c6d2b[_0x5403('0x1d')]?this['_getInitial'](_0x4c6d2b[0x0]):this[_0x5403('0x27')](_0x4c6d2b[0x0])+this[_0x5403('0x27')](_0x4c6d2b[_0x4c6d2b['length']-0x1]);}['_getInitial'](_0xdde24f){return _0xdde24f[_0x5403('0x8')](0x0)[_0x5403('0x10')]();}}function a(_0x3a32ba,_0x1bde6c=''){return''==(_0x1bde6c=_0x1bde6c[_0x5403('0xd')]())?_0x3d9fbc(_0x3a32ba,_0x5403('0x12')):_0x1bde6c;}class u{constructor(_0x139641){this[_0x5403('0x35')]=_0x139641;}[_0x5403('0x1e')](){return _0x5403('0x6')+this[_0x5403('0x35')];}[_0x5403('0x38')](){return'ck-user__selection--'+this[_0x5403('0x35')];}[_0x5403('0x37')](){return _0x5403('0x36')+this[_0x5403('0x35')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2e1e11,_0xfabe4c){const t=_0x2e1e11['t'];switch(_0xfabe4c){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(_0x245425,_0x5c6f74){const t=_0x245425['t'];switch(_0x5c6f74){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 _0x2b5a=['once','fire','showConfirm','appendChild','set','element','destroy','remove','cancelConfirm','message','registerChild','confirmView','deregisterChild','focus','isConfirm','locale','_removeConfirm','render','cancel','submit'];(function(_0x889d69,_0x2b5a8f){var _0x2ff840=function(_0x9a40fb){while(--_0x9a40fb){_0x889d69['push'](_0x889d69['shift']());}};_0x2ff840(++_0x2b5a8f);}(_0x2b5a,0x87));var _0x2ff8=function(_0x889d69,_0x2b5a8f){_0x889d69=_0x889d69-0x0;var _0x2ff840=_0x2b5a[_0x889d69];return _0x2ff840;};import _0x5c0e17 from'./confirmview';export default function m(_0x2dc3d5){return class extends _0x2dc3d5{[_0x2ff8('0x7')](_0x5e1b4f,_0xa59390){return this['confirmView']=new _0x5c0e17(this[_0x2ff8('0x0')]),this[_0x2ff8('0x10')][_0x2ff8('0x2')](),this[_0x2ff8('0x10')][_0x2ff8('0xe')]=_0x5e1b4f,this['confirmView'][_0x2ff8('0x5')](_0x2ff8('0x3'),()=>{this[_0x2ff8('0x1')]();}),this['confirmView']['once'](_0x2ff8('0x4'),()=>{this[_0x2ff8('0x1')]();}),_0xa59390[_0x2ff8('0x8')](this[_0x2ff8('0x10')]['element']),this[_0x2ff8('0xf')](this[_0x2ff8('0x10')]),this[_0x2ff8('0xa')]['focus'](),this[_0x2ff8('0x9')](_0x2ff8('0x13'),!0x0),new Promise(_0x4f01ca=>this[_0x2ff8('0x10')]['on']('submit',_0x4f01ca));}[_0x2ff8('0xd')](){this[_0x2ff8('0x13')]&&this[_0x2ff8('0x10')][_0x2ff8('0x6')](_0x2ff8('0x3'));}['_removeConfirm'](){this[_0x2ff8('0xa')]&&this[_0x2ff8('0x10')]&&this['confirmView']['element']&&(this['element'][_0x2ff8('0x12')](),this[_0x2ff8('0x10')]['element'][_0x2ff8('0xc')](),this[_0x2ff8('0x11')](this['confirmView']),this['isConfirm']=!0x1,this[_0x2ff8('0x10')][_0x2ff8('0xb')](),this[_0x2ff8('0x10')]=void 0x0);}};}
23
+ var _0x56e2=['set','appendChild','destroy','fire','isConfirm','submit','focus','element','registerChild','render','locale','deregisterChild','cancel','cancelConfirm','confirmView','_removeConfirm','message'];(function(_0x186ed4,_0x56e29d){var _0x15fa86=function(_0xd73339){while(--_0xd73339){_0x186ed4['push'](_0x186ed4['shift']());}};_0x15fa86(++_0x56e29d);}(_0x56e2,0x6a));var _0x15fa=function(_0x186ed4,_0x56e29d){_0x186ed4=_0x186ed4-0x0;var _0x15fa86=_0x56e2[_0x186ed4];return _0x15fa86;};import _0x43faa4 from'./confirmview';export default function m(_0x9c021d){return class extends _0x9c021d{['showConfirm'](_0x414bc3,_0x15a36e){return this['confirmView']=new _0x43faa4(this[_0x15fa('0x6')]),this['confirmView'][_0x15fa('0x5')](),this[_0x15fa('0xa')][_0x15fa('0xc')]=_0x414bc3,this['confirmView']['once'](_0x15fa('0x8'),()=>{this['_removeConfirm']();}),this[_0x15fa('0xa')]['once'](_0x15fa('0x1'),()=>{this['_removeConfirm']();}),_0x15a36e[_0x15fa('0xe')](this[_0x15fa('0xa')]['element']),this[_0x15fa('0x4')](this['confirmView']),this[_0x15fa('0x3')]['focus'](),this[_0x15fa('0xd')](_0x15fa('0x0'),!0x0),new Promise(_0x5c3ed8=>this[_0x15fa('0xa')]['on'](_0x15fa('0x1'),_0x5c3ed8));}[_0x15fa('0x9')](){this[_0x15fa('0x0')]&&this[_0x15fa('0xa')][_0x15fa('0x10')]('cancel');}[_0x15fa('0xb')](){this[_0x15fa('0x3')]&&this[_0x15fa('0xa')]&&this['confirmView'][_0x15fa('0x3')]&&(this[_0x15fa('0x3')][_0x15fa('0x2')](),this[_0x15fa('0xa')][_0x15fa('0x3')]['remove'](),this[_0x15fa('0x7')](this['confirmView']),this[_0x15fa('0x0')]=!0x1,this[_0x15fa('0xa')][_0x15fa('0xf')](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x515e=['icon','extendTemplate','submitView','label','cancel','cancelView','check','ck-thread__remove-confirm-inner','fire','setTemplate','submit','execute','div','_createButtonView','ck-thread__remove-confirm-actions'];(function(_0x3329e1,_0x515ebc){const _0x2564e1=function(_0x59287d){while(--_0x59287d){_0x3329e1['push'](_0x3329e1['shift']());}};_0x2564e1(++_0x515ebc);}(_0x515e,0x13b));const _0x2564=function(_0x3329e1,_0x515ebc){_0x3329e1=_0x3329e1-0x0;let _0x2564e1=_0x515e[_0x3329e1];return _0x2564e1;};import{View as _0xc23fd4,ButtonView as _0x4b392f}from'ckeditor5/src/ui';import{icons as _0x4f5744}from'ckeditor5/src/core';import{getTranslation as _0x4810a0}from'./common-translations';export default class h extends _0xc23fd4{constructor(_0x3a5184){super(_0x3a5184);const _0x5f551d=this['bindTemplate'];this[_0x2564('0x2')]=this[_0x2564('0xd')](_0x3a5184,_0x4810a0(_0x3a5184,'Yes'),_0x4f5744[_0x2564('0x6')],_0x2564('0xa')),this['cancelView']=this['_createButtonView'](_0x3a5184,_0x4810a0(_0x3a5184,'No'),_0x4f5744['cancel'],_0x2564('0x4')),this['set']('message',_0x4810a0(_0x3a5184,'Are\x20you\x20sure?')),this[_0x2564('0x9')]({'tag':_0x2564('0xc'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x2564('0xc'),'attributes':{'class':_0x2564('0x7')},'children':[{'tag':'p','children':[{'text':_0x5f551d['to']('message')}]},{'tag':_0x2564('0xc'),'attributes':{'class':_0x2564('0xe')},'children':[this[_0x2564('0x2')],this[_0x2564('0x5')]]}]}]});}[_0x2564('0xd')](_0x36d6e7,_0x502387,_0x481b3f,_0x40bd96){const _0x290f60=new _0x4b392f(_0x36d6e7);return _0x290f60[_0x2564('0x3')]=_0x502387,_0x290f60[_0x2564('0x0')]=_0x481b3f,_0x290f60[_0x2564('0x1')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x40bd96}}),_0x290f60['on'](_0x2564('0xb'),()=>this[_0x2564('0x8')](_0x40bd96)),_0x290f60;}}
23
+ const _0x86b0=['submit','label','message','ck-thread__remove-confirm-actions','set','setTemplate','ck-thread__remove-confirm','cancelView','div','_createButtonView','extendTemplate','icon','fire','submitView','ck-thread__remove-confirm-inner','execute','cancel','bindTemplate'];(function(_0x2da4cc,_0x86b033){const _0x19abc0=function(_0x5d0473){while(--_0x5d0473){_0x2da4cc['push'](_0x2da4cc['shift']());}};_0x19abc0(++_0x86b033);}(_0x86b0,0x123));const _0x19ab=function(_0x2da4cc,_0x86b033){_0x2da4cc=_0x2da4cc-0x0;let _0x19abc0=_0x86b0[_0x2da4cc];return _0x19abc0;};import{View as _0x52a1d7,ButtonView as _0x1f0939}from'ckeditor5/src/ui';import{icons as _0x3554d1}from'ckeditor5/src/core';import{getTranslation as _0x28e566}from'./common-translations';export default class h extends _0x52a1d7{constructor(_0x3605a5){super(_0x3605a5);const _0x44a1d6=this[_0x19ab('0xe')];this[_0x19ab('0xa')]=this[_0x19ab('0x6')](_0x3605a5,_0x28e566(_0x3605a5,'Yes'),_0x3554d1['check'],_0x19ab('0xf')),this[_0x19ab('0x4')]=this[_0x19ab('0x6')](_0x3605a5,_0x28e566(_0x3605a5,'No'),_0x3554d1[_0x19ab('0xd')],_0x19ab('0xd')),this[_0x19ab('0x1')](_0x19ab('0x11'),_0x28e566(_0x3605a5,'Are\x20you\x20sure?')),this[_0x19ab('0x2')]({'tag':'div','attributes':{'class':[_0x19ab('0x3')]},'children':[{'tag':_0x19ab('0x5'),'attributes':{'class':_0x19ab('0xb')},'children':[{'tag':'p','children':[{'text':_0x44a1d6['to'](_0x19ab('0x11'))}]},{'tag':'div','attributes':{'class':_0x19ab('0x0')},'children':[this[_0x19ab('0xa')],this['cancelView']]}]}]});}[_0x19ab('0x6')](_0x2d65d0,_0x1c2a60,_0x9f48fa,_0x5e5626){const _0x227392=new _0x1f0939(_0x2d65d0);return _0x227392[_0x19ab('0x10')]=_0x1c2a60,_0x227392[_0x19ab('0x8')]=_0x9f48fa,_0x227392[_0x19ab('0x7')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x5e5626}}),_0x227392['on'](_0x19ab('0xc'),()=>this[_0x19ab('0x9')](_0x5e5626)),_0x227392;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28ba=['dateTimeFormat','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format','string'];(function(_0x26838f,_0x28baea){const _0x18fa2b=function(_0x2a8183){while(--_0x2a8183){_0x26838f['push'](_0x26838f['shift']());}};_0x18fa2b(++_0x28baea);}(_0x28ba,0x105));const _0x18fa=function(_0x26838f,_0x28baea){_0x26838f=_0x26838f-0x0;let _0x18fa2b=_0x28ba[_0x26838f];return _0x18fa2b;};import _0x2714b2 from'date-fns/format';import _0x1e4097 from'date-fns/parseISO';import _0x3fd314 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x1df1a7}from'ckeditor5/src/utils';export default function E(_0x170c79={}){if(void 0x0!==_0x170c79[_0x18fa('0x4')]&&'function'!=typeof _0x170c79[_0x18fa('0x4')])throw new _0x1df1a7(_0x18fa('0x2'));return _0x1e8ac2=>{const _0x336bab=_0x18fa('0x3')==typeof _0x1e8ac2?_0x1e4097(_0x1e8ac2):_0x1e8ac2,_0x3d8d01=new Date(),_0x367682=_0x3fd314(_0x3d8d01,_0x336bab);return _0x170c79[_0x18fa('0x4')]?_0x170c79[_0x18fa('0x4')](_0x336bab):_0x2714b2(_0x336bab,0x0===_0x367682?_0x18fa('0x0'):0x1===_0x367682?'\x27Yesterday\x27\x20hh:mma':_0x367682<0x7?_0x18fa('0x1'):'MM-dd-yyyy\x20hh:mma');};}
23
+ const _0x429b=['\x27Yesterday\x27\x20hh:mma','dateTimeFormat','MM-dd-yyyy\x20hh:mma','function','\x27Today\x27\x20hh:mma','string','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format'];(function(_0x1fbed0,_0x429b66){const _0x18e82d=function(_0x1ee725){while(--_0x1ee725){_0x1fbed0['push'](_0x1fbed0['shift']());}};_0x18e82d(++_0x429b66);}(_0x429b,0xe9));const _0x18e8=function(_0x1fbed0,_0x429b66){_0x1fbed0=_0x1fbed0-0x0;let _0x18e82d=_0x429b[_0x1fbed0];return _0x18e82d;};import _0x31be7d from'date-fns/format';import _0x42f1ae from'date-fns/parseISO';import _0x2ea90f from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x48dd96}from'ckeditor5/src/utils';export default function E(_0x2d96d0={}){if(void 0x0!==_0x2d96d0['dateTimeFormat']&&_0x18e8('0x2')!=typeof _0x2d96d0[_0x18e8('0x0')])throw new _0x48dd96(_0x18e8('0x6'));return _0x4bb153=>{const _0x38863e=_0x18e8('0x4')==typeof _0x4bb153?_0x42f1ae(_0x4bb153):_0x4bb153,_0x241e3b=new Date(),_0x225bb4=_0x2ea90f(_0x241e3b,_0x38863e);return _0x2d96d0['dateTimeFormat']?_0x2d96d0[_0x18e8('0x0')](_0x38863e):_0x31be7d(_0x38863e,0x0===_0x225bb4?_0x18e8('0x3'):0x1===_0x225bb4?_0x18e8('0x7'):_0x225bb4<0x7?_0x18e8('0x5'):_0x18e8('0x1'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f16=['values','mapViewToDom','markerNameToElements','domConverter','mapper','length','view','from','map','sort','getClientRects','push','domElement'];(function(_0x2eedfc,_0x5f16f9){const _0x2bd48c=function(_0xf6a478){while(--_0xf6a478){_0x2eedfc['push'](_0x2eedfc['shift']());}};_0x2bd48c(++_0x5f16f9);}(_0x5f16,0x129));const _0x2bd4=function(_0x2eedfc,_0x5f16f9){_0x2eedfc=_0x2eedfc-0x0;let _0x2bd48c=_0x5f16[_0x2eedfc];return _0x2bd48c;};import{first as _0x162e06}from'ckeditor5/src/utils';export default function k(_0x2fb260,_0x5b6145){const _0x109c1a=_0x2fb260[_0x2bd4('0x6')][_0x2bd4('0x4')](_0x5b6145['name']);if(!_0x109c1a)return null;const _0x305749=_0x162e06(_0x109c1a[_0x2bd4('0x2')]());return _0x2fb260[_0x2bd4('0x8')][_0x2bd4('0x5')][_0x2bd4('0x3')](_0x305749)||null;}export function getAllMarkersDomElementsSorted(_0x152e5f,_0x3deacc){if(0x0===_0x3deacc['length'])return null;const _0x4d317c=[],_0x245bfa=_0x152e5f['view'][_0x2bd4('0x5')];for(const _0x2cad7f of _0x3deacc){const _0x56d19b=_0x152e5f[_0x2bd4('0x6')][_0x2bd4('0x4')](_0x2cad7f['name']);if(!_0x56d19b)continue;const _0x435952=Array[_0x2bd4('0x9')](_0x56d19b)[_0x2bd4('0xa')](_0x29c895=>_0x245bfa[_0x2bd4('0x3')](_0x29c895))['filter'](_0x3af4fa=>!!_0x3af4fa);_0x4d317c[_0x2bd4('0x0')](..._0x435952);}if(0x0===_0x4d317c[_0x2bd4('0x7')])return null;const _0x14a524=[];for(const _0xa0c6a8 of _0x4d317c){const _0x2c98d8=_0xa0c6a8[_0x2bd4('0xc')]()['item'](0x0);_0x2c98d8&&_0x14a524[_0x2bd4('0x0')]({'x':_0x2c98d8['x'],'y':_0x2c98d8['y'],'domElement':_0xa0c6a8});}return 0x0===_0x14a524['length']?null:(_0x14a524[_0x2bd4('0xb')]((_0x38d32b,_0x49f144)=>_0x38d32b['y']-_0x49f144['y']||_0x38d32b['x']-_0x49f144['x']),_0x14a524[_0x2bd4('0xa')](_0x415327=>_0x415327[_0x2bd4('0x1')]));}
23
+ const _0x2bfd=['mapViewToDom','getClientRects','name','mapper','sort','domElement','filter','values','length','markerNameToElements','from','map','domConverter','view','push'];(function(_0x5ad134,_0x2bfd7c){const _0x4316e3=function(_0x166d8f){while(--_0x166d8f){_0x5ad134['push'](_0x5ad134['shift']());}};_0x4316e3(++_0x2bfd7c);}(_0x2bfd,0x1e1));const _0x4316=function(_0x5ad134,_0x2bfd7c){_0x5ad134=_0x5ad134-0x0;let _0x4316e3=_0x2bfd[_0x5ad134];return _0x4316e3;};import{first as _0x36dcb3}from'ckeditor5/src/utils';export default function k(_0x222f6e,_0x58bc62){const _0x2c5dee=_0x222f6e[_0x4316('0x2')]['markerNameToElements'](_0x58bc62['name']);if(!_0x2c5dee)return null;const _0x30ee3e=_0x36dcb3(_0x2c5dee[_0x4316('0x6')]());return _0x222f6e[_0x4316('0xc')][_0x4316('0xb')]['mapViewToDom'](_0x30ee3e)||null;}export function getAllMarkersDomElementsSorted(_0x2b4d4f,_0x36c62e){if(0x0===_0x36c62e['length'])return null;const _0x236231=[],_0x241a98=_0x2b4d4f[_0x4316('0xc')]['domConverter'];for(const _0x4ea552 of _0x36c62e){const _0xe84184=_0x2b4d4f[_0x4316('0x2')][_0x4316('0x8')](_0x4ea552[_0x4316('0x1')]);if(!_0xe84184)continue;const _0xfafd8f=Array[_0x4316('0x9')](_0xe84184)['map'](_0x23001a=>_0x241a98[_0x4316('0xe')](_0x23001a))[_0x4316('0x5')](_0x4a62b0=>!!_0x4a62b0);_0x236231[_0x4316('0xd')](..._0xfafd8f);}if(0x0===_0x236231[_0x4316('0x7')])return null;const _0x273ada=[];for(const _0x1528c7 of _0x236231){const _0xcab777=_0x1528c7[_0x4316('0x0')]()['item'](0x0);_0xcab777&&_0x273ada['push']({'x':_0xcab777['x'],'y':_0xcab777['y'],'domElement':_0x1528c7});}return 0x0===_0x273ada['length']?null:(_0x273ada[_0x4316('0x3')]((_0x49c641,_0x4233b6)=>_0x49c641['y']-_0x4233b6['y']||_0x49c641['x']-_0x4233b6['x']),_0x273ada[_0x4316('0xa')](_0x79a3b5=>_0x79a3b5[_0x4316('0x4')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1433=['number','sign','keys','isArray','object','charCodeAt','string','toString'];(function(_0x244ecb,_0x143340){const _0x366c6c=function(_0x40975d){while(--_0x40975d){_0x244ecb['push'](_0x244ecb['shift']());}};_0x366c6c(++_0x143340);}(_0x1433,0xfc));const _0x366c=function(_0x244ecb,_0x143340){_0x244ecb=_0x244ecb-0x0;let _0x366c6c=_0x1433[_0x244ecb];return _0x366c6c;};export default function b(_0x14c67a){let _0x2ec8cb=0x0,_0x56df33=0x0;for(const _0x18828a of g(_0x14c67a))_0x2ec8cb=(_0x2ec8cb<<0x5)-_0x2ec8cb+_0x18828a,_0x2ec8cb&=_0x2ec8cb,[_0x2ec8cb,_0x56df33]=[_0x56df33,_0x2ec8cb];return O(_0x2ec8cb)+O(_0x56df33);}function*j(_0x1f7341){_0x1f7341?'boolean'==typeof _0x1f7341?yield 0x1:Array[_0x366c('0x7')](_0x1f7341)?yield*function*(_0x4cfbb7){for(const _0x46835b of _0x4cfbb7)yield*j(_0x46835b);}(_0x1f7341):_0x366c('0x0')==typeof _0x1f7341?yield*g(_0x1f7341):_0x366c('0x2')==typeof _0x1f7341?yield*A(_0x1f7341):_0x366c('0x4')==typeof _0x1f7341&&(yield _0x1f7341):yield 0x0;}function*g(_0x36aa17){if(yield M('{'),_0x36aa17){const _0x504f28=Object[_0x366c('0x6')](_0x36aa17)['sort']();for(const _0x24c441 of _0x504f28){yield*A(_0x24c441),yield M(':');const _0x3fe283=_0x36aa17[_0x24c441];yield*j(_0x3fe283);}}yield M('}');}function*A(_0x4114d6){yield M('\x22');for(const _0x1bb95d of _0x4114d6)yield M(_0x1bb95d);yield M('\x22');}function M(_0x328a38){return _0x328a38[_0x366c('0x1')](0x0);}function O(_0x580f22){return(_0x580f22*=Math[_0x366c('0x5')](_0x580f22))[_0x366c('0x3')](0x24);}
23
+ const _0x231e=['string','charCodeAt','keys','isArray','boolean','sort'];(function(_0x22f421,_0x231e20){const _0x315fdb=function(_0x1de543){while(--_0x1de543){_0x22f421['push'](_0x22f421['shift']());}};_0x315fdb(++_0x231e20);}(_0x231e,0xf6));const _0x315f=function(_0x22f421,_0x231e20){_0x22f421=_0x22f421-0x0;let _0x315fdb=_0x231e[_0x22f421];return _0x315fdb;};export default function b(_0x3526af){let _0x3a9c1c=0x0,_0x1fe422=0x0;for(const _0x1d06a9 of g(_0x3526af))_0x3a9c1c=(_0x3a9c1c<<0x5)-_0x3a9c1c+_0x1d06a9,_0x3a9c1c&=_0x3a9c1c,[_0x3a9c1c,_0x1fe422]=[_0x1fe422,_0x3a9c1c];return O(_0x3a9c1c)+O(_0x1fe422);}function*j(_0x526f54){_0x526f54?_0x315f('0x4')==typeof _0x526f54?yield 0x1:Array[_0x315f('0x3')](_0x526f54)?yield*function*(_0x2ccd64){for(const _0x4ecca4 of _0x2ccd64)yield*j(_0x4ecca4);}(_0x526f54):'object'==typeof _0x526f54?yield*g(_0x526f54):_0x315f('0x0')==typeof _0x526f54?yield*A(_0x526f54):'number'==typeof _0x526f54&&(yield _0x526f54):yield 0x0;}function*g(_0x1f02a1){if(yield M('{'),_0x1f02a1){const _0x3d3eae=Object[_0x315f('0x2')](_0x1f02a1)[_0x315f('0x5')]();for(const _0x4a03a1 of _0x3d3eae){yield*A(_0x4a03a1),yield M(':');const _0x1d3245=_0x1f02a1[_0x4a03a1];yield*j(_0x1d3245);}}yield M('}');}function*A(_0x464a8a){yield M('\x22');for(const _0x2e4154 of _0x464a8a)yield M(_0x2e4154);yield M('\x22');}function M(_0x701cdc){return _0x701cdc[_0x315f('0x1')](0x0);}function O(_0x3bd99a){return(_0x3bd99a*=Math['sign'](_0x3bd99a))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bbe=['WProofreader','_context','context','rootsAttributes','WordCount','DocumentOutline','get','string','requires','length','concat','Autosave','extraPlugins','plugins','constructor','set','from','removePlugins','builtinPlugins','toolbar','pluginName','name','config','includes','every','has','filter','names','initialData'];(function(_0x5b62ec,_0x3bbedb){const _0x180ebc=function(_0x557e5c){while(--_0x557e5c){_0x5b62ec['push'](_0x5b62ec['shift']());}};_0x180ebc(++_0x3bbedb);}(_0x3bbe,0x1e4));const _0x180e=function(_0x5b62ec,_0x3bbedb){_0x5b62ec=_0x5b62ec-0x0;let _0x180ebc=_0x3bbe[_0x5b62ec];return _0x180ebc;};const w=[_0x180e('0x8'),_0x180e('0xb'),_0x180e('0x1c'),_0x180e('0xc')],W=['WebSocketGateway','RevisionTracker',_0x180e('0x14'),_0x180e('0xd'),_0x180e('0xe'),_0x180e('0x9')];function v(_0x2890c6,_0x44e54b,_0x1dc8df,_0x35d6bd=[]){const _0xdfd7bd=_0x180e('0x10')==typeof _0x2890c6?_0x1dc8df[_0x180e('0xf')](_0x2890c6)['constructor']:_0x2890c6,_0xc3a0f=_0xdfd7bd[_0x180e('0x0')]||_0xdfd7bd[_0x180e('0x1')];if(_0x44e54b[_0x180e('0x5')](_0xc3a0f))return _0x44e54b[_0x180e('0xf')](_0xc3a0f);if(_0x44e54b[_0x180e('0x18')](_0xc3a0f,!0x0),_0xc3a0f&&W['concat'](_0x35d6bd)[_0x180e('0x3')](_0xc3a0f))return _0x44e54b[_0x180e('0x18')](_0xc3a0f,!0x1),!0x1;if(!_0xdfd7bd['requires'])return _0x44e54b[_0x180e('0x18')](_0xc3a0f,!0x0),!0x0;const _0x5dcf77=_0xdfd7bd[_0x180e('0x11')][_0x180e('0x4')](_0xe7b267=>v(_0xe7b267,_0x44e54b,_0x1dc8df,_0x35d6bd));return _0x44e54b[_0x180e('0x18')](_0xc3a0f,_0x5dcf77),_0x5dcf77;}export default function D(_0x7b67e4,_0x220c28){const _0x5e34b0={};for(const _0x37bfdb of _0x7b67e4[_0x180e('0x2')][_0x180e('0x7')]())w[_0x180e('0x3')](_0x37bfdb)||(_0x5e34b0[_0x37bfdb]=_0x7b67e4['config'][_0x180e('0xf')](_0x37bfdb));const _0x39c20c=_0x5e34b0[_0x180e('0x16')]||[],_0x1b9e36=_0x7b67e4[_0x180e('0x17')][_0x180e('0x1b')]||[],_0x3db6da=_0x39c20c[_0x180e('0x12')]?_0x39c20c:_0x1b9e36,_0x5af9b5=_0x5e34b0['extraPlugins']||[];delete _0x5e34b0[_0x180e('0x15')];const _0x41ea7e=_0x5e34b0[_0x180e('0x1a')]||[];delete _0x5e34b0[_0x180e('0x1a')];const _0x3ef84a=_0x7b67e4[_0x180e('0xa')]['config'][_0x180e('0xf')](_0x180e('0x16'))||[],_0x42f94b=_0x3db6da[_0x180e('0x13')](_0x5af9b5)[_0x180e('0x13')](_0x3ef84a)['map'](_0x3dd9e9=>_0x180e('0x10')==typeof _0x3dd9e9?_0x1b9e36['find'](_0x4e7a45=>_0x4e7a45[_0x180e('0x0')]==_0x3dd9e9):_0x3dd9e9)[_0x180e('0x6')](_0x145da2=>!_0x41ea7e[_0x180e('0x3')](_0x145da2)&&!_0x41ea7e['includes'](_0x145da2[_0x180e('0x0')])),_0x302d34=Array[_0x180e('0x19')](new Set(_0x42f94b)),_0xf40f4b=new Map();return _0x5e34b0[_0x180e('0x16')]=_0x302d34['filter'](_0x320402=>v(_0x320402,_0xf40f4b,_0x7b67e4[_0x180e('0x16')],_0x220c28)),_0x5e34b0;}
23
+ const _0x4f87=['set','_context','extraPlugins','string','toolbar','from','includes','DocumentOutline','map','context','concat','initialData','constructor','filter','has','WProofreader','pluginName','RevisionTracker','plugins','length','config','WebSocketGateway','requires','removePlugins','get','every'];(function(_0x4c5ae6,_0x4f870f){const _0x5b1eec=function(_0x13b2c7){while(--_0x13b2c7){_0x4c5ae6['push'](_0x4c5ae6['shift']());}};_0x5b1eec(++_0x4f870f);}(_0x4f87,0x1a5));const _0x5b1e=function(_0x4c5ae6,_0x4f870f){_0x4c5ae6=_0x4c5ae6-0x0;let _0x5b1eec=_0x4f87[_0x4c5ae6];return _0x5b1eec;};const w=[_0x5b1e('0x6'),_0x5b1e('0x4'),_0x5b1e('0x19'),'rootsAttributes'],W=[_0x5b1e('0x10'),_0x5b1e('0xc'),'Autosave','WordCount',_0x5b1e('0x2'),_0x5b1e('0xa')];function v(_0x2e8ae2,_0x18b653,_0x4419c4,_0x558a71=[]){const _0x4078d5=_0x5b1e('0x18')==typeof _0x2e8ae2?_0x4419c4['get'](_0x2e8ae2)[_0x5b1e('0x7')]:_0x2e8ae2,_0x7634c=_0x4078d5['pluginName']||_0x4078d5['name'];if(_0x18b653[_0x5b1e('0x9')](_0x7634c))return _0x18b653[_0x5b1e('0x13')](_0x7634c);if(_0x18b653['set'](_0x7634c,!0x0),_0x7634c&&W[_0x5b1e('0x5')](_0x558a71)[_0x5b1e('0x1')](_0x7634c))return _0x18b653[_0x5b1e('0x15')](_0x7634c,!0x1),!0x1;if(!_0x4078d5[_0x5b1e('0x11')])return _0x18b653[_0x5b1e('0x15')](_0x7634c,!0x0),!0x0;const _0xcd464c=_0x4078d5[_0x5b1e('0x11')][_0x5b1e('0x14')](_0x2318f9=>v(_0x2318f9,_0x18b653,_0x4419c4,_0x558a71));return _0x18b653['set'](_0x7634c,_0xcd464c),_0xcd464c;}export default function D(_0x3b72b6,_0x596910){const _0x27dcc6={};for(const _0x2cd9c0 of _0x3b72b6['config']['names']())w[_0x5b1e('0x1')](_0x2cd9c0)||(_0x27dcc6[_0x2cd9c0]=_0x3b72b6[_0x5b1e('0xf')]['get'](_0x2cd9c0));const _0x31a942=_0x27dcc6[_0x5b1e('0xd')]||[],_0x4583b2=_0x3b72b6[_0x5b1e('0x7')]['builtinPlugins']||[],_0x39afbe=_0x31a942[_0x5b1e('0xe')]?_0x31a942:_0x4583b2,_0x2ad2a2=_0x27dcc6['extraPlugins']||[];delete _0x27dcc6[_0x5b1e('0x17')];const _0x24cb21=_0x27dcc6[_0x5b1e('0x12')]||[];delete _0x27dcc6[_0x5b1e('0x12')];const _0x31ece7=_0x3b72b6[_0x5b1e('0x16')]['config'][_0x5b1e('0x13')]('plugins')||[],_0x17e738=_0x39afbe[_0x5b1e('0x5')](_0x2ad2a2)[_0x5b1e('0x5')](_0x31ece7)[_0x5b1e('0x3')](_0x18e372=>'string'==typeof _0x18e372?_0x4583b2['find'](_0x5bb444=>_0x5bb444[_0x5b1e('0xb')]==_0x18e372):_0x18e372)['filter'](_0x4d729a=>!_0x24cb21[_0x5b1e('0x1')](_0x4d729a)&&!_0x24cb21[_0x5b1e('0x1')](_0x4d729a[_0x5b1e('0xb')])),_0x4c6d3a=Array[_0x5b1e('0x0')](new Set(_0x17e738)),_0x514726=new Map();return _0x27dcc6[_0x5b1e('0xd')]=_0x4c6d3a[_0x5b1e('0x8')](_0x2ee726=>v(_0x2ee726,_0x514726,_0x3b72b6[_0x5b1e('0xd')],_0x596910)),_0x27dcc6;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c03=['start','getRange','focus','selection','containsPosition','change:range','includes','document','isEqual','length','push','markers'];(function(_0x2ea1cc,_0x1c0313){const _0x16406c=function(_0x63cf5){while(--_0x63cf5){_0x2ea1cc['push'](_0x2ea1cc['shift']());}};_0x16406c(++_0x1c0313);}(_0x1c03,0x128));const _0x1640=function(_0x2ea1cc,_0x1c0313){_0x2ea1cc=_0x2ea1cc-0x0;let _0x16406c=_0x1c03[_0x2ea1cc];return _0x16406c;};export default function q(_0x443062,_0x686505){const _0x1f2336=[];_0x443062[_0x1640('0xb')][_0x1640('0x7')]['on'](_0x1640('0x9'),()=>{const _0x6d58e1=function(_0x35a922,_0x184f9a){const _0x1f2d1a=[];for(const _0x1accec of _0x35a922[_0x1640('0x3')]){const _0x584da3=_0x1accec[_0x1640('0x5')]();(_0x584da3[_0x1640('0x8')](_0x184f9a)||_0x584da3[_0x1640('0x4')][_0x1640('0x0')](_0x184f9a)||_0x584da3['end'][_0x1640('0x0')](_0x184f9a))&&_0x1f2d1a[_0x1640('0x2')](_0x1accec);}return _0x1f2d1a;}(_0x443062,_0x443062[_0x1640('0xb')][_0x1640('0x7')][_0x1640('0x6')]),_0x5b18a3=[],_0x2b0881=[],_0x4ca40e=[];for(const _0x10cdd of _0x1f2336)_0x6d58e1[_0x1640('0xa')](_0x10cdd)||_0x5b18a3[_0x1640('0x2')](_0x10cdd);for(const _0x106a97 of _0x6d58e1)_0x1f2336[_0x1640('0xa')](_0x106a97)||_0x2b0881[_0x1640('0x2')](_0x106a97),_0x4ca40e['push'](_0x106a97);(_0x5b18a3[_0x1640('0x1')]||_0x2b0881[_0x1640('0x1')])&&_0x686505({'left':_0x5b18a3,'entered':_0x2b0881}),_0x1f2336[_0x1640('0x1')]=0x0,_0x1f2336['push'](..._0x4ca40e);});}
23
+ const _0x2257=['end','containsPosition','selection','length','includes','getRange','start','push','document','focus','change:range','isEqual'];(function(_0x187bf3,_0x225775){const _0x737aff=function(_0x585a7f){while(--_0x585a7f){_0x187bf3['push'](_0x187bf3['shift']());}};_0x737aff(++_0x225775);}(_0x2257,0xca));const _0x737a=function(_0x187bf3,_0x225775){_0x187bf3=_0x187bf3-0x0;let _0x737aff=_0x2257[_0x187bf3];return _0x737aff;};export default function q(_0xdc754c,_0x2b37f5){const _0x5e29d1=[];_0xdc754c[_0x737a('0xa')][_0x737a('0x4')]['on'](_0x737a('0x0'),()=>{const _0x4091a8=function(_0x470e6e,_0x72792d){const _0x10f958=[];for(const _0xc8c782 of _0x470e6e['markers']){const _0x34ac1=_0xc8c782[_0x737a('0x7')]();(_0x34ac1[_0x737a('0x3')](_0x72792d)||_0x34ac1[_0x737a('0x8')][_0x737a('0x1')](_0x72792d)||_0x34ac1[_0x737a('0x2')]['isEqual'](_0x72792d))&&_0x10f958[_0x737a('0x9')](_0xc8c782);}return _0x10f958;}(_0xdc754c,_0xdc754c[_0x737a('0xa')]['selection'][_0x737a('0xb')]),_0x15ca29=[],_0x523d64=[],_0x8ad203=[];for(const _0x13f10c of _0x5e29d1)_0x4091a8[_0x737a('0x6')](_0x13f10c)||_0x15ca29[_0x737a('0x9')](_0x13f10c);for(const _0x373dcf of _0x4091a8)_0x5e29d1[_0x737a('0x6')](_0x373dcf)||_0x523d64[_0x737a('0x9')](_0x373dcf),_0x8ad203['push'](_0x373dcf);(_0x15ca29[_0x737a('0x5')]||_0x523d64['length'])&&_0x2b37f5({'left':_0x15ca29,'entered':_0x523d64}),_0x5e29d1[_0x737a('0x5')]=0x0,_0x5e29d1[_0x737a('0x9')](..._0x8ad203);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3239=['...','substring','join','pop','split','replace','startsWith','slice','push','length'];(function(_0x54ba5a,_0x3239cc){const _0x39dd32=function(_0x251761){while(--_0x251761){_0x54ba5a['push'](_0x54ba5a['shift']());}};_0x39dd32(++_0x3239cc);}(_0x3239,0x1c8));const _0x39dd=function(_0x54ba5a,_0x3239cc){_0x54ba5a=_0x54ba5a-0x0;let _0x39dd32=_0x3239[_0x54ba5a];return _0x39dd32;};export default function z(_0x19b590,{limit:_0x47c42a,suffix:_0x563082=_0x39dd('0x4')}){const _0x3fb29b=[];let _0x3c96ab=0x0;const _0x490980=_0x19b590['replace'](/</g,'\x0a<')[_0x39dd('0x9')](/>/g,'>\x0a')[_0x39dd('0x9')](/^\n/g,'')[_0x39dd('0x9')](/\n$/g,'')[_0x39dd('0x8')]('\x0a');for(let _0x260429=0x0;_0x260429<_0x490980['length'];_0x260429++){let _0x473c21=_0x490980[_0x260429];const _0x324947=Z(_0x473c21);if(_0x473c21[_0x39dd('0x0')]('<')){if(_0x3c96ab>=_0x47c42a){const _0x471207=_0x473c21['match'](/[a-zA-Z]+/);if(!_0x471207){_0x490980[_0x260429]='';continue;}const _0x579c59=_0x471207[0x0];_0x473c21[_0x39dd('0x0')]('</')?(_0x3fb29b[_0x39dd('0x3')]&&(_0x473c21=''),_0x3fb29b[_0x39dd('0x7')]()):(_0x3fb29b[_0x39dd('0x2')](_0x579c59),_0x473c21='');}}else{if(_0x3c96ab>=_0x47c42a)_0x473c21='';else{if(_0x3c96ab+_0x324947[_0x39dd('0x3')]>=_0x47c42a){let _0xad8c9f=_0x47c42a-_0x3c96ab;if('\x20'===_0x324947[_0xad8c9f-0x1])_0xad8c9f--;else{const _0x11b774=_0x324947[_0x39dd('0x1')](_0xad8c9f)['indexOf']('\x20');-0x1!==_0x11b774?_0xad8c9f+=_0x11b774:_0xad8c9f=_0x473c21[_0x39dd('0x3')];}_0x473c21=_0x324947[_0x39dd('0x1')](0x0,_0xad8c9f)['join']('')+_0x563082,_0x3c96ab=_0x47c42a;}else _0x3c96ab+=_0x324947[_0x39dd('0x3')];}}_0x490980[_0x260429]=_0x473c21;}return _0x490980[_0x39dd('0x6')]('\x0a')[_0x39dd('0x9')](/\n/g,'');}function Z(_0x49ca3d){const _0x380228=[];for(let _0xcda5a8=0x0;_0xcda5a8<_0x49ca3d[_0x39dd('0x3')];_0xcda5a8++){const _0x546a91=_0x49ca3d[_0x39dd('0x5')](_0xcda5a8)['match'](/^&[a-z0-9#]+;/);if(_0x546a91){const _0x1fdb83=_0x546a91[0x0];_0x380228[_0x39dd('0x2')](_0x1fdb83),_0xcda5a8+=_0x1fdb83[_0x39dd('0x3')]-0x1;}else _0x380228[_0x39dd('0x2')](_0x49ca3d[_0xcda5a8]);}return _0x380228;}
23
+ const _0x13ed=['...','indexOf','substring','startsWith','replace','length','pop','slice','match','push','join'];(function(_0x30cbc6,_0x13ed04){const _0x282cfe=function(_0x447607){while(--_0x447607){_0x30cbc6['push'](_0x30cbc6['shift']());}};_0x282cfe(++_0x13ed04);}(_0x13ed,0x131));const _0x282c=function(_0x30cbc6,_0x13ed04){_0x30cbc6=_0x30cbc6-0x0;let _0x282cfe=_0x13ed[_0x30cbc6];return _0x282cfe;};export default function z(_0x3768da,{limit:_0x2f339c,suffix:_0xa3c3ba=_0x282c('0x3')}){const _0x3cd231=[];let _0x51fa3f=0x0;const _0x3e47c5=_0x3768da[_0x282c('0x7')](/</g,'\x0a<')[_0x282c('0x7')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x282c('0x7')](/\n$/g,'')['split']('\x0a');for(let _0x1fb564=0x0;_0x1fb564<_0x3e47c5[_0x282c('0x8')];_0x1fb564++){let _0xf28264=_0x3e47c5[_0x1fb564];const _0x2ab4be=Z(_0xf28264);if(_0xf28264['startsWith']('<')){if(_0x51fa3f>=_0x2f339c){const _0x22f9af=_0xf28264[_0x282c('0x0')](/[a-zA-Z]+/);if(!_0x22f9af){_0x3e47c5[_0x1fb564]='';continue;}const _0x5929cf=_0x22f9af[0x0];_0xf28264[_0x282c('0x6')]('</')?(_0x3cd231[_0x282c('0x8')]&&(_0xf28264=''),_0x3cd231[_0x282c('0x9')]()):(_0x3cd231['push'](_0x5929cf),_0xf28264='');}}else{if(_0x51fa3f>=_0x2f339c)_0xf28264='';else{if(_0x51fa3f+_0x2ab4be[_0x282c('0x8')]>=_0x2f339c){let _0xc5c513=_0x2f339c-_0x51fa3f;if('\x20'===_0x2ab4be[_0xc5c513-0x1])_0xc5c513--;else{const _0x1fdec2=_0x2ab4be['slice'](_0xc5c513)[_0x282c('0x4')]('\x20');-0x1!==_0x1fdec2?_0xc5c513+=_0x1fdec2:_0xc5c513=_0xf28264[_0x282c('0x8')];}_0xf28264=_0x2ab4be[_0x282c('0xa')](0x0,_0xc5c513)[_0x282c('0x2')]('')+_0xa3c3ba,_0x51fa3f=_0x2f339c;}else _0x51fa3f+=_0x2ab4be[_0x282c('0x8')];}}_0x3e47c5[_0x1fb564]=_0xf28264;}return _0x3e47c5[_0x282c('0x2')]('\x0a')['replace'](/\n/g,'');}function Z(_0x47ea28){const _0x1b2751=[];for(let _0x2edf42=0x0;_0x2edf42<_0x47ea28['length'];_0x2edf42++){const _0xaafa58=_0x47ea28[_0x282c('0x5')](_0x2edf42)[_0x282c('0x0')](/^&[a-z0-9#]+;/);if(_0xaafa58){const _0x346a47=_0xaafa58[0x0];_0x1b2751[_0x282c('0x1')](_0x346a47),_0x2edf42+=_0x346a47[_0x282c('0x8')]-0x1;}else _0x1b2751['push'](_0x47ea28[_0x2edf42]);}return _0x1b2751;}