@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231229.0 → 0.0.0-nightly-20231230.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-20231229.0",
3
+ "version": "0.0.0-nightly-20231230.0",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -32,7 +32,7 @@
32
32
  "type": "module",
33
33
  "main": "src/index.js",
34
34
  "dependencies": {
35
- "ckeditor5": "0.0.0-nightly-20231229.0",
35
+ "ckeditor5": "0.0.0-nightly-20231230.0",
36
36
  "date-fns": "2.30.0"
37
37
  },
38
38
  "files": [
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e4e=['commands','get','plugins','config','setPermissions','noPermissions','comment:write','comment:admin','CommentsRepository','permissions-set-permissions-invalid-channel-id','no-permissions','editors','collaboration.channelId','comment:modify_all','has','find','addCommentThread','enableReadOnlyMode','pluginName','isEnabled','context','Permissions','includes','CommentsOnly'];(function(_0x17df1e,_0x4e4e90){const _0x9c08ac=function(_0x5f0b11){while(--_0x5f0b11){_0x17df1e['push'](_0x17df1e['shift']());}};_0x9c08ac(++_0x4e4e90);}(_0x4e4e,0xc8));const _0x9c08=function(_0x17df1e,_0x4e4e90){_0x17df1e=_0x17df1e-0x0;let _0x9c08ac=_0x4e4e[_0x17df1e];return _0x9c08ac;};import{ContextPlugin as _0x2e1039,Editor as _0x5c66f4}from'ckeditor5/src/core.js';import{CKEditorError as _0x254867}from'ckeditor5/src/utils.js';export default class n extends _0x2e1039{static get[_0x9c08('0xa')](){return _0x9c08('0xd');}[_0x9c08('0x14')](_0x6a03b9,_0x24b73b){let _0x1a32d6;if(_0x24b73b||(_0x24b73b=this['context'][_0x9c08('0x13')][_0x9c08('0x11')](_0x9c08('0x4'))),this['context'][_0x9c08('0x13')]['get'](_0x9c08('0x4'))==_0x24b73b?_0x1a32d6=this[_0x9c08('0xc')]:_0x9c08('0x3')in this[_0x9c08('0xc')]&&this[_0x9c08('0xc')]['editors']&&(_0x1a32d6=this[_0x9c08('0xc')][_0x9c08('0x3')][_0x9c08('0x7')](_0x556ada=>_0x556ada[_0x9c08('0x13')][_0x9c08('0x11')]('collaboration.channelId')==_0x24b73b)),!_0x1a32d6)throw new _0x254867(_0x9c08('0x1'),null);const _0x8306f9=_0x1a32d6[_0x9c08('0x12')],_0x5b1d95=_0x8306f9[_0x9c08('0x6')](_0x9c08('0x0'))?_0x8306f9[_0x9c08('0x11')](_0x9c08('0x0')):void 0x0,_0x1b8b2e=_0x8306f9[_0x9c08('0x6')]('CommentsOnly')&&_0x8306f9[_0x9c08('0x11')](_0x9c08('0xf')),_0x5768c0=_0x6a03b9[_0x9c08('0xe')]('document:write'),_0x2440e9=_0x6a03b9[_0x9c08('0xe')](_0x9c08('0x5')),_0x306f2d=_0x6a03b9[_0x9c08('0xe')](_0x9c08('0x17')),_0x293ddd=_0x6a03b9[_0x9c08('0xe')](_0x9c08('0x16')),_0x324c10=_0x293ddd||_0x306f2d,_0x103f97=_0x324c10||_0x2440e9,_0x25019d=_0x5768c0||_0x324c10;(_0x1b8b2e&&(_0x1b8b2e[_0x9c08('0xb')]=!_0x5768c0&&_0x103f97),_0x1a32d6 instanceof _0x5c66f4)&&(!(_0x5768c0||_0x103f97&&_0x5b1d95)?_0x1a32d6[_0x9c08('0x9')](_0x9c08('0x2')):_0x1a32d6['disableReadOnlyMode']('no-permissions'));if(_0x5b1d95){_0x5b1d95[_0x9c08('0x14')]({'admin':_0x306f2d,'modifyAll':_0x2440e9,'write':_0x293ddd,'resolve':_0x25019d},_0x24b73b);const _0x2e3672=_0x1a32d6 instanceof _0x5c66f4&&_0x1a32d6[_0x9c08('0x10')][_0x9c08('0x11')](_0x9c08('0x8'));_0x2e3672&&(_0x324c10?_0x2e3672['clearForceDisabled']('noPermissions'):_0x2e3672['forceDisabled'](_0x9c08('0x15')));}}}
23
+ const _0x179f=['CommentsOnly','config','document:write','Permissions','has','get','plugins','commands','find','noPermissions','CommentsRepository','isEnabled','enableReadOnlyMode','context','disableReadOnlyMode','comment:admin','collaboration.channelId','pluginName','addCommentThread','clearForceDisabled','editors','no-permissions','permissions-set-permissions-invalid-channel-id','setPermissions','includes'];(function(_0x30c6a3,_0x179fa7){const _0x28abf2=function(_0x9323e5){while(--_0x9323e5){_0x30c6a3['push'](_0x30c6a3['shift']());}};_0x28abf2(++_0x179fa7);}(_0x179f,0x131));const _0x28ab=function(_0x30c6a3,_0x179fa7){_0x30c6a3=_0x30c6a3-0x0;let _0x28abf2=_0x179f[_0x30c6a3];return _0x28abf2;};import{ContextPlugin as _0x52fd65,Editor as _0x129410}from'ckeditor5/src/core.js';import{CKEditorError as _0x329087}from'ckeditor5/src/utils.js';export default class n extends _0x52fd65{static get[_0x28ab('0xc')](){return _0x28ab('0x17');}['setPermissions'](_0x1c08ea,_0x2ce453){let _0x16849a;if(_0x2ce453||(_0x2ce453=this[_0x28ab('0x8')][_0x28ab('0x15')][_0x28ab('0x0')]('collaboration.channelId')),this[_0x28ab('0x8')][_0x28ab('0x15')]['get'](_0x28ab('0xb'))==_0x2ce453?_0x16849a=this['context']:'editors'in this[_0x28ab('0x8')]&&this[_0x28ab('0x8')]['editors']&&(_0x16849a=this[_0x28ab('0x8')][_0x28ab('0xf')][_0x28ab('0x3')](_0x442fb4=>_0x442fb4[_0x28ab('0x15')][_0x28ab('0x0')]('collaboration.channelId')==_0x2ce453)),!_0x16849a)throw new _0x329087(_0x28ab('0x11'),null);const _0x319f9d=_0x16849a[_0x28ab('0x1')],_0x47609d=_0x319f9d[_0x28ab('0x18')](_0x28ab('0x5'))?_0x319f9d[_0x28ab('0x0')]('CommentsRepository'):void 0x0,_0x586555=_0x319f9d['has'](_0x28ab('0x14'))&&_0x319f9d[_0x28ab('0x0')](_0x28ab('0x14')),_0x4ca923=_0x1c08ea[_0x28ab('0x13')](_0x28ab('0x16')),_0x3f520a=_0x1c08ea[_0x28ab('0x13')]('comment:modify_all'),_0x5be24d=_0x1c08ea[_0x28ab('0x13')](_0x28ab('0xa')),_0x4e9368=_0x1c08ea[_0x28ab('0x13')]('comment:write'),_0x57f0d7=_0x4e9368||_0x5be24d,_0x5bf0b7=_0x57f0d7||_0x3f520a,_0x3d1339=_0x4ca923||_0x57f0d7;(_0x586555&&(_0x586555[_0x28ab('0x6')]=!_0x4ca923&&_0x5bf0b7),_0x16849a instanceof _0x129410)&&(!(_0x4ca923||_0x5bf0b7&&_0x47609d)?_0x16849a[_0x28ab('0x7')]('no-permissions'):_0x16849a[_0x28ab('0x9')](_0x28ab('0x10')));if(_0x47609d){_0x47609d[_0x28ab('0x12')]({'admin':_0x5be24d,'modifyAll':_0x3f520a,'write':_0x4e9368,'resolve':_0x3d1339},_0x2ce453);const _0x1bd868=_0x16849a instanceof _0x129410&&_0x16849a[_0x28ab('0x2')][_0x28ab('0x0')](_0x28ab('0xd'));_0x1bd868&&(_0x57f0d7?_0x1bd868[_0x28ab('0xe')]('noPermissions'):_0x1bd868['forceDisabled'](_0x28ab('0x4')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e2d=['initials','ck-user__icon','notificationView','name','setTemplate','ck-user__avatar','ck\x20ck-user__name','avatar','extendTemplate','ck-user__notification','ck-user__img','isAnonymous','ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','push','div','content'];(function(_0x1e3516,_0x1e2d62){const _0x90aaa9=function(_0x3deb20){while(--_0x3deb20){_0x1e3516['push'](_0x1e3516['shift']());}};_0x90aaa9(++_0x1e2d62);}(_0x1e2d,0xe2));const _0x90aa=function(_0x1e3516,_0x1e2d62){_0x1e3516=_0x1e3516-0x0;let _0x90aaa9=_0x1e2d[_0x1e3516];return _0x90aaa9;};import{View as _0x574b81,IconView as _0x301cbf}from'ckeditor5/src/ui.js';import _0x3f55d2 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x574b81{constructor(_0x94fa83,_0xed6f01,_0x4f5f64){super(_0x94fa83),this[_0x90aa('0xf')]=_0xed6f01[_0x90aa('0xf')],this['notificationView']=null;const _0x7395ba=['ck',_0x90aa('0x5')];if(_0xed6f01[_0x90aa('0x6')]&&_0x7395ba[_0x90aa('0x9')]('ck-user__anonymous'),_0xed6f01[_0x90aa('0x2')]&&_0x7395ba[_0x90aa('0x9')](_0x90aa('0x0')),_0x4f5f64){const _0x1af7e3=new _0x301cbf();_0x1af7e3[_0x90aa('0x3')]({'attributes':{'class':[_0x90aa('0xd')]}}),_0x1af7e3[_0x90aa('0xb')]=_0x3f55d2,this[_0x90aa('0xe')]={'tag':'div','attributes':{'class':['ck',_0x90aa('0x4')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4f5f64},'children':[_0x1af7e3]};}const _0x16f9eb=[{'tag':_0x90aa('0xa'),'attributes':{'class':_0x7395ba,'style':{'background-image':_0xed6f01[_0x90aa('0x2')]?'url(\x27'+_0xed6f01[_0x90aa('0x2')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0xed6f01['avatar']?_0x90aa('0x8'):_0x90aa('0x1')},'children':[{'text':_0xed6f01[_0x90aa('0xc')]}]}];this[_0x90aa('0xe')]&&_0x16f9eb[_0x90aa('0x9')](this[_0x90aa('0xe')]),this[_0x90aa('0x10')]({'tag':_0x90aa('0xa'),'attributes':{'class':['ck',_0x90aa('0x7')],'data-user-id':_0xed6f01['id']},'children':_0x16f9eb});}}
23
+ const _0x19e2=['isAnonymous','push','ck-user__avatar','ck-user__notification','extendTemplate','avatar','ck\x20ck-user__name','ck\x20ck-user__name\x20ck-user__name--hidden','name','notificationView','setTemplate','initials','ck-user','ck-user__img','ck-user__anonymous','content','div','url(\x27'];(function(_0x1090b5,_0x19e257){const _0x21c149=function(_0x545cf4){while(--_0x545cf4){_0x1090b5['push'](_0x1090b5['shift']());}};_0x21c149(++_0x19e257);}(_0x19e2,0xa9));const _0x21c1=function(_0x1090b5,_0x19e257){_0x1090b5=_0x1090b5-0x0;let _0x21c149=_0x19e2[_0x1090b5];return _0x21c149;};import{View as _0x53ce0c,IconView as _0x389a66}from'ckeditor5/src/ui.js';import _0x1562e1 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x53ce0c{constructor(_0x42ef5f,_0x2f96d8,_0x44645d){super(_0x42ef5f),this['name']=_0x2f96d8[_0x21c1('0x1')],this['notificationView']=null;const _0x48db75=['ck',_0x21c1('0x6')];if(_0x2f96d8[_0x21c1('0xb')]&&_0x48db75[_0x21c1('0xc')](_0x21c1('0x7')),_0x2f96d8[_0x21c1('0x10')]&&_0x48db75['push'](_0x21c1('0xd')),_0x44645d){const _0x23fdb0=new _0x389a66();_0x23fdb0[_0x21c1('0xf')]({'attributes':{'class':['ck-user__icon']}}),_0x23fdb0[_0x21c1('0x8')]=_0x1562e1,this['notificationView']={'tag':_0x21c1('0x9'),'attributes':{'class':['ck',_0x21c1('0xe')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x44645d},'children':[_0x23fdb0]};}const _0xc68bd6=[{'tag':_0x21c1('0x9'),'attributes':{'class':_0x48db75,'style':{'background-image':_0x2f96d8[_0x21c1('0x10')]?_0x21c1('0xa')+_0x2f96d8[_0x21c1('0x10')]+'\x27)':''}}},{'tag':_0x21c1('0x9'),'attributes':{'class':_0x2f96d8[_0x21c1('0x10')]?_0x21c1('0x0'):_0x21c1('0x11')},'children':[{'text':_0x2f96d8[_0x21c1('0x4')]}]}];this[_0x21c1('0x2')]&&_0xc68bd6[_0x21c1('0xc')](this['notificationView']),this[_0x21c1('0x3')]({'tag':_0x21c1('0x9'),'attributes':{'class':['ck',_0x21c1('0x5')],'data-user-id':_0x2f96d8['id']},'children':_0xc68bd6});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f3e=['Users','users-add-duplicated-id','licenseKeyTrialLimit:time','avatar','requires','charAt','length','trial-license-key-reached-limit-revisions','_lastColor','decorate','split','_getNextColor','users.colorsCount','anonymous-user','licenseKeyTrialLimit:operations','add','users.anonymousUserId','trial-license-key-reached-limit-changes','licenseKeyTrialLimit:revisions','Anonymous','name','pluginName','ck-user__marker--','_locale','trial-license-key-reached-limit-time','trim','licenseKeyTrial','ck-user__selection--','color','ck-user__bg-color--','getMarkerClass','defineMe','addUser','useAnonymousUser','get','_id','destroy','_addAnonymousUser','getUser','_getInitial','define','locale','users-add-invalid-id','licenseKeyValid','context','getBackgroundColorClass','initials','init','_myId','getOperationAuthor','users','licenseKey','_isAnonymous','users-me-already-defined','includes','config','_licenseKeyCheckInterval'];(function(_0x2405b9,_0x4f3e86){const _0x487dcc=function(_0x32bc5d){while(--_0x32bc5d){_0x2405b9['push'](_0x2405b9['shift']());}};_0x487dcc(++_0x4f3e86);}(_0x4f3e,0xfb));const _0x487d=function(_0x2405b9,_0x4f3e86){_0x2405b9=_0x2405b9-0x0;let _0x487dcc=_0x4f3e[_0x2405b9];return _0x487dcc;};import{ContextPlugin as _0xfda3ee}from'ckeditor5/src/core.js';import{Collection as _0x316d27,CKEditorError as _0x381d4d}from'ckeditor5/src/utils.js';import _0x3a0832 from'./permissions.js';import{getTranslation as _0x69caf7}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0xfda3ee{static get[_0x487d('0x37')](){return _0x487d('0x22');}static get[_0x487d('0x26')](){return[_0x3a0832];}constructor(_0x4811ec){super(_0x4811ec),this[_0x487d('0x15')][_0x487d('0x20')]['define'](_0x487d('0x32'),_0x487d('0x2f')),this['context'][_0x487d('0x20')][_0x487d('0x11')](_0x487d('0x2e'),0x8),this['users']=new _0x316d27(),this[_0x487d('0x0')]=_0x4811ec[_0x487d('0x12')],this[_0x487d('0x21')]=null,this[_0x487d('0x2a')]=0x0,this[_0x487d('0x19')]=null,this[_0x487d('0x2b')](_0x487d('0x1a'));}[_0x487d('0x18')](){const _0x18a79b=this[_0x487d('0x15')];this[_0x487d('0x1c')]=_0x18a79b['config'][_0x487d('0xb')](_0x487d('0x1c'));const _0x53c16a=[_0x487d('0x3'),'licenseKeyInvalid',_0x487d('0x14'),'licenseKeyTrialLimit:operations',_0x487d('0x24'),_0x487d('0x34')];this[_0x487d('0x21')]=setInterval(()=>{let _0x179023;for(const _0x3e4471 in _0x18a79b){const _0x56d9c4=_0x18a79b[_0x3e4471];if(_0x53c16a[_0x487d('0x1f')](_0x56d9c4)){delete _0x18a79b[_0x3e4471],_0x179023=_0x56d9c4;break;}}if('licenseKeyInvalid'===_0x179023)throw clearInterval(this[_0x487d('0x21')]),new _0x381d4d('invalid-license-key',null);if(_0x487d('0x3')===_0x179023&&console['info']('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.'),_0x487d('0x30')===_0x179023)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x381d4d(_0x487d('0x33'),null);if(_0x487d('0x24')===_0x179023)throw clearInterval(this[_0x487d('0x21')]),new _0x381d4d(_0x487d('0x1'),null);if('licenseKeyTrialLimit:revisions'===_0x179023)throw clearInterval(this[_0x487d('0x21')]),new _0x381d4d(_0x487d('0x29'),null);_0x487d('0x14')===_0x179023&&clearInterval(this[_0x487d('0x21')]);},0x3e8),this[_0x487d('0xe')]();}get['me'](){return null==this[_0x487d('0x19')]?null:this[_0x487d('0xf')](this[_0x487d('0x19')]);}['addUser']({id:_0x9091b3,name:_0x5da77f,..._0x166462}){if(!_0x9091b3||'string'!=typeof _0x9091b3)throw new _0x381d4d(_0x487d('0x13'));if(this[_0x487d('0x1b')]['has'](_0x9091b3))throw new _0x381d4d(_0x487d('0x23'),null,{'id':_0x9091b3});const _0x3cb047={..._0x166462,'id':_0x9091b3,'name':a(this[_0x487d('0x0')],_0x5da77f),'color':this[_0x487d('0x2d')]()};_0x3cb047['name']=a(this[_0x487d('0x0')],_0x3cb047[_0x487d('0x36')]);const _0x3cc11a=new User(_0x3cb047);return this[_0x487d('0x1b')][_0x487d('0x31')](_0x3cc11a),_0x3cc11a;}[_0x487d('0xf')](_0x3fecf9){return this[_0x487d('0x1b')][_0x487d('0xb')](_0x3fecf9);}[_0x487d('0xa')](){const _0x5cb16c=this[_0x487d('0x15')][_0x487d('0x20')]['get']('users.anonymousUserId');this['_myId']||this[_0x487d('0x8')](_0x5cb16c);}[_0x487d('0x8')](_0x18c733){if(this[_0x487d('0x19')])throw new _0x381d4d(_0x487d('0x1e'),null);if(!this[_0x487d('0xf')](_0x18c733))throw new _0x381d4d('users-me-missing-user',null);this[_0x487d('0x19')]=_0x18c733;}[_0x487d('0x1a')](){return this['me'];}['destroy'](){super[_0x487d('0xd')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x487d('0x2d')](){const _0x25b310=this[_0x487d('0x15')][_0x487d('0x20')][_0x487d('0xb')](_0x487d('0x2e'));return this['_lastColor']>=_0x25b310&&(this[_0x487d('0x2a')]=0x0),new u(this[_0x487d('0x2a')]++);}[_0x487d('0xe')](){const _0x44c5b1=this[_0x487d('0x15')][_0x487d('0x20')][_0x487d('0xb')](_0x487d('0x32'));this[_0x487d('0x9')]({'id':_0x44c5b1,'name':_0x69caf7(this[_0x487d('0x0')],_0x487d('0x35'))})[_0x487d('0x1d')]=!0x0;}}export class User{constructor(_0xe8cd27){this['id']=_0xe8cd27['id'],this[_0x487d('0x5')]=_0xe8cd27[_0x487d('0x5')],this[_0x487d('0x36')]=_0xe8cd27[_0x487d('0x36')],this['avatar']=_0xe8cd27[_0x487d('0x25')],this['_isAnonymous']=!0x1;}get['isAnonymous'](){return this[_0x487d('0x1d')];}get[_0x487d('0x17')](){const _0x1ee5f3=this[_0x487d('0x36')][_0x487d('0x2c')]('\x20');return 0x1===_0x1ee5f3[_0x487d('0x28')]?this[_0x487d('0x10')](_0x1ee5f3[0x0]):this[_0x487d('0x10')](_0x1ee5f3[0x0])+this['_getInitial'](_0x1ee5f3[_0x1ee5f3[_0x487d('0x28')]-0x1]);}['_getInitial'](_0x4645c2){return _0x4645c2[_0x487d('0x27')](0x0)['toUpperCase']();}}function a(_0x2a6904,_0x4867d4=''){return''==(_0x4867d4=_0x4867d4[_0x487d('0x2')]())?_0x69caf7(_0x2a6904,_0x487d('0x35')):_0x4867d4;}class u{constructor(_0x2b122f){this['_id']=_0x2b122f;}[_0x487d('0x16')](){return _0x487d('0x6')+this[_0x487d('0xc')];}['getSelectionClass'](){return _0x487d('0x4')+this[_0x487d('0xc')];}[_0x487d('0x7')](){return _0x487d('0x38')+this[_0x487d('0xc')];}}
23
+ const _0x54f0=['invalid-license-key','ck-user__selection--','has','licenseKeyTrialLimit:revisions','pluginName','_lastColor','_addAnonymousUser','length','initials','_id','users.colorsCount','trial-license-key-reached-limit-changes','_licenseKeyCheckInterval','licenseKeyTrialLimit:operations','destroy','getUser','getBackgroundColorClass','decorate','isAnonymous','defineMe','users-add-invalid-id','users-me-already-defined','_getNextColor','add','get','context','Users','anonymous-user','_locale','string','avatar','split','config','users.anonymousUserId','getSelectionClass','toUpperCase','licenseKeyTrialLimit:time','getOperationAuthor','_myId','name','addUser','define','licenseKeyTrial','color','users-me-missing-user','ck-user__marker--','_getInitial','users','licenseKey','trial-license-key-reached-limit-revisions','info','useAnonymousUser','Anonymous','licenseKeyInvalid','licenseKeyValid','_isAnonymous','getMarkerClass','charAt'];(function(_0x5b9b3f,_0x54f099){const _0xeb73b6=function(_0x1316e4){while(--_0x1316e4){_0x5b9b3f['push'](_0x5b9b3f['shift']());}};_0xeb73b6(++_0x54f099);}(_0x54f0,0x1e5));const _0xeb73=function(_0x5b9b3f,_0x54f099){_0x5b9b3f=_0x5b9b3f-0x0;let _0xeb73b6=_0x54f0[_0x5b9b3f];return _0xeb73b6;};import{ContextPlugin as _0x47f4f2}from'ckeditor5/src/core.js';import{Collection as _0x5b1906,CKEditorError as _0xa9276a}from'ckeditor5/src/utils.js';import _0x32eadd from'./permissions.js';import{getTranslation as _0x1e1477}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x47f4f2{static get[_0xeb73('0x29')](){return _0xeb73('0x5');}static get['requires'](){return[_0x32eadd];}constructor(_0x39fbd5){super(_0x39fbd5),this[_0xeb73('0x4')][_0xeb73('0xb')]['define']('users.anonymousUserId',_0xeb73('0x6')),this[_0xeb73('0x4')][_0xeb73('0xb')][_0xeb73('0x14')](_0xeb73('0x2f'),0x8),this[_0xeb73('0x1a')]=new _0x5b1906(),this[_0xeb73('0x7')]=_0x39fbd5['locale'],this[_0xeb73('0x31')]=null,this[_0xeb73('0x2a')]=0x0,this[_0xeb73('0x11')]=null,this[_0xeb73('0x36')](_0xeb73('0x10'));}['init'](){const _0x12ca10=this[_0xeb73('0x4')];this['licenseKey']=_0x12ca10[_0xeb73('0xb')][_0xeb73('0x3')](_0xeb73('0x1b'));const _0x3c32a7=[_0xeb73('0x15'),_0xeb73('0x20'),_0xeb73('0x21'),_0xeb73('0x32'),_0xeb73('0xf'),_0xeb73('0x28')];this[_0xeb73('0x31')]=setInterval(()=>{let _0x21a976;for(const _0x18ed61 in _0x12ca10){const _0x4d2482=_0x12ca10[_0x18ed61];if(_0x3c32a7['includes'](_0x4d2482)){delete _0x12ca10[_0x18ed61],_0x21a976=_0x4d2482;break;}}if(_0xeb73('0x20')===_0x21a976)throw clearInterval(this[_0xeb73('0x31')]),new _0xa9276a(_0xeb73('0x25'),null);if(_0xeb73('0x15')===_0x21a976&&console[_0xeb73('0x1d')]('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.'),_0xeb73('0x32')===_0x21a976)throw clearInterval(this[_0xeb73('0x31')]),new _0xa9276a(_0xeb73('0x30'),null);if('licenseKeyTrialLimit:time'===_0x21a976)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa9276a('trial-license-key-reached-limit-time',null);if(_0xeb73('0x28')===_0x21a976)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa9276a(_0xeb73('0x1c'),null);'licenseKeyValid'===_0x21a976&&clearInterval(this[_0xeb73('0x31')]);},0x3e8),this[_0xeb73('0x2b')]();}get['me'](){return null==this['_myId']?null:this[_0xeb73('0x34')](this[_0xeb73('0x11')]);}[_0xeb73('0x13')]({id:_0x23b083,name:_0x513da7,..._0x20e796}){if(!_0x23b083||_0xeb73('0x8')!=typeof _0x23b083)throw new _0xa9276a(_0xeb73('0x39'));if(this[_0xeb73('0x1a')][_0xeb73('0x27')](_0x23b083))throw new _0xa9276a('users-add-duplicated-id',null,{'id':_0x23b083});const _0x587949={..._0x20e796,'id':_0x23b083,'name':a(this[_0xeb73('0x7')],_0x513da7),'color':this[_0xeb73('0x1')]()};_0x587949[_0xeb73('0x12')]=a(this[_0xeb73('0x7')],_0x587949[_0xeb73('0x12')]);const _0x44f2e6=new User(_0x587949);return this[_0xeb73('0x1a')][_0xeb73('0x2')](_0x44f2e6),_0x44f2e6;}[_0xeb73('0x34')](_0x1a2093){return this['users']['get'](_0x1a2093);}[_0xeb73('0x1e')](){const _0x50ac7b=this[_0xeb73('0x4')]['config'][_0xeb73('0x3')](_0xeb73('0xc'));this[_0xeb73('0x11')]||this[_0xeb73('0x38')](_0x50ac7b);}['defineMe'](_0xe78fef){if(this[_0xeb73('0x11')])throw new _0xa9276a(_0xeb73('0x0'),null);if(!this['getUser'](_0xe78fef))throw new _0xa9276a(_0xeb73('0x17'),null);this[_0xeb73('0x11')]=_0xe78fef;}[_0xeb73('0x10')](){return this['me'];}[_0xeb73('0x33')](){super[_0xeb73('0x33')](),clearInterval(this[_0xeb73('0x31')]);}['_getNextColor'](){const _0x1372d9=this[_0xeb73('0x4')]['config'][_0xeb73('0x3')](_0xeb73('0x2f'));return this[_0xeb73('0x2a')]>=_0x1372d9&&(this[_0xeb73('0x2a')]=0x0),new u(this[_0xeb73('0x2a')]++);}['_addAnonymousUser'](){const _0xf494bb=this['context']['config'][_0xeb73('0x3')](_0xeb73('0xc'));this[_0xeb73('0x13')]({'id':_0xf494bb,'name':_0x1e1477(this[_0xeb73('0x7')],'Anonymous')})[_0xeb73('0x22')]=!0x0;}}export class User{constructor(_0x5197ff){this['id']=_0x5197ff['id'],this['color']=_0x5197ff[_0xeb73('0x16')],this['name']=_0x5197ff[_0xeb73('0x12')],this[_0xeb73('0x9')]=_0x5197ff[_0xeb73('0x9')],this[_0xeb73('0x22')]=!0x1;}get[_0xeb73('0x37')](){return this[_0xeb73('0x22')];}get[_0xeb73('0x2d')](){const _0x52decc=this[_0xeb73('0x12')][_0xeb73('0xa')]('\x20');return 0x1===_0x52decc[_0xeb73('0x2c')]?this[_0xeb73('0x19')](_0x52decc[0x0]):this[_0xeb73('0x19')](_0x52decc[0x0])+this[_0xeb73('0x19')](_0x52decc[_0x52decc[_0xeb73('0x2c')]-0x1]);}[_0xeb73('0x19')](_0x49ea23){return _0x49ea23[_0xeb73('0x24')](0x0)[_0xeb73('0xe')]();}}function a(_0x34f6eb,_0x198b4c=''){return''==(_0x198b4c=_0x198b4c['trim']())?_0x1e1477(_0x34f6eb,_0xeb73('0x1f')):_0x198b4c;}class u{constructor(_0x43d7a4){this[_0xeb73('0x2e')]=_0x43d7a4;}[_0xeb73('0x35')](){return'ck-user__bg-color--'+this[_0xeb73('0x2e')];}[_0xeb73('0xd')](){return _0xeb73('0x26')+this['_id'];}[_0xeb73('0x23')](){return _0xeb73('0x18')+this[_0xeb73('0x2e')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x128948,_0x12e19a){const t=_0x128948['t'];switch(_0x12e19a){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(_0x4150ab,_0x5041f6){const t=_0x4150ab['t'];switch(_0x5041f6){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 _0x1541=['cancel','isConfirm','registerChild','message','once','_removeConfirm','cancelConfirm','confirmView','showConfirm','locale','render','set','submit','remove','deregisterChild','element','focus'];(function(_0x185c64,_0x1541b7){var _0x537a62=function(_0x311e75){while(--_0x311e75){_0x185c64['push'](_0x185c64['shift']());}};_0x537a62(++_0x1541b7);}(_0x1541,0xca));var _0x537a=function(_0x185c64,_0x1541b7){_0x185c64=_0x185c64-0x0;var _0x537a62=_0x1541[_0x185c64];return _0x537a62;};import _0x428c9e from'./confirmview.js';export default function m(_0xff375d){return class extends _0xff375d{[_0x537a('0xa')](_0x62d6a9,_0xe1c1b4){return this['confirmView']=new _0x428c9e(this[_0x537a('0xb')]),this[_0x537a('0x9')][_0x537a('0xc')](),this[_0x537a('0x9')][_0x537a('0x5')]=_0x62d6a9,this[_0x537a('0x9')][_0x537a('0x6')](_0x537a('0x2'),()=>{this[_0x537a('0x7')]();}),this[_0x537a('0x9')][_0x537a('0x6')](_0x537a('0xe'),()=>{this[_0x537a('0x7')]();}),_0xe1c1b4['appendChild'](this[_0x537a('0x9')][_0x537a('0x0')]),this[_0x537a('0x4')](this[_0x537a('0x9')]),this['element'][_0x537a('0x1')](),this[_0x537a('0xd')](_0x537a('0x3'),!0x0),new Promise(_0xbf78ae=>this['confirmView']['on'](_0x537a('0xe'),_0xbf78ae));}[_0x537a('0x8')](){this[_0x537a('0x3')]&&this[_0x537a('0x9')]['fire'](_0x537a('0x2'));}[_0x537a('0x7')](){this['element']&&this[_0x537a('0x9')]&&this[_0x537a('0x9')]['element']&&(this[_0x537a('0x0')]['focus'](),this[_0x537a('0x9')][_0x537a('0x0')][_0x537a('0xf')](),this[_0x537a('0x10')](this[_0x537a('0x9')]),this[_0x537a('0x3')]=!0x1,this[_0x537a('0x9')]['destroy'](),this[_0x537a('0x9')]=void 0x0);}};}
23
+ var _0x3b01=['remove','fire','submit','appendChild','render','once','locale','confirmView','showConfirm','destroy','set','focus','_removeConfirm','isConfirm','message','cancelConfirm','cancel','deregisterChild','element'];(function(_0x5a9ac3,_0x3b01b2){var _0x4073f4=function(_0x51f720){while(--_0x51f720){_0x5a9ac3['push'](_0x5a9ac3['shift']());}};_0x4073f4(++_0x3b01b2);}(_0x3b01,0x1e0));var _0x4073=function(_0x5a9ac3,_0x3b01b2){_0x5a9ac3=_0x5a9ac3-0x0;var _0x4073f4=_0x3b01[_0x5a9ac3];return _0x4073f4;};import _0x22c6d0 from'./confirmview.js';export default function m(_0x27b6e5){return class extends _0x27b6e5{[_0x4073('0x3')](_0xb4e30a,_0x549401){return this[_0x4073('0x2')]=new _0x22c6d0(this[_0x4073('0x1')]),this[_0x4073('0x2')][_0x4073('0x12')](),this[_0x4073('0x2')][_0x4073('0x9')]=_0xb4e30a,this[_0x4073('0x2')][_0x4073('0x0')](_0x4073('0xb'),()=>{this[_0x4073('0x7')]();}),this['confirmView'][_0x4073('0x0')](_0x4073('0x10'),()=>{this[_0x4073('0x7')]();}),_0x549401[_0x4073('0x11')](this[_0x4073('0x2')][_0x4073('0xd')]),this['registerChild'](this[_0x4073('0x2')]),this['element'][_0x4073('0x6')](),this[_0x4073('0x5')](_0x4073('0x8'),!0x0),new Promise(_0x582ebf=>this[_0x4073('0x2')]['on'](_0x4073('0x10'),_0x582ebf));}[_0x4073('0xa')](){this[_0x4073('0x8')]&&this[_0x4073('0x2')][_0x4073('0xf')](_0x4073('0xb'));}[_0x4073('0x7')](){this[_0x4073('0xd')]&&this[_0x4073('0x2')]&&this[_0x4073('0x2')]['element']&&(this['element'][_0x4073('0x6')](),this['confirmView'][_0x4073('0xd')][_0x4073('0xe')](),this[_0x4073('0xc')](this[_0x4073('0x2')]),this[_0x4073('0x8')]=!0x1,this[_0x4073('0x2')][_0x4073('0x4')](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3125=['label','Yes','_createButtonView','setTemplate','bindTemplate','submit','execute','div','ck-thread__remove-confirm-actions','set','icon','cancel','submitView','cancelView','extendTemplate','ck-thread__remove-confirm-inner','ck-thread__remove-confirm-','fire','message'];(function(_0x32daca,_0x3125b0){const _0x41b276=function(_0x2db831){while(--_0x2db831){_0x32daca['push'](_0x32daca['shift']());}};_0x41b276(++_0x3125b0);}(_0x3125,0x139));const _0x41b2=function(_0x32daca,_0x3125b0){_0x32daca=_0x32daca-0x0;let _0x41b276=_0x3125[_0x32daca];return _0x41b276;};import{View as _0x14d99d,ButtonView as _0xa94c73}from'ckeditor5/src/ui.js';import{icons as _0x4c0b42}from'ckeditor5/src/core.js';import{getTranslation as _0x49af0b}from'./common-translations.js';export default class h extends _0x14d99d{constructor(_0x19f9d3){super(_0x19f9d3);const _0x6e2e5e=this[_0x41b2('0xe')];this[_0x41b2('0x3')]=this[_0x41b2('0xc')](_0x19f9d3,_0x49af0b(_0x19f9d3,_0x41b2('0xb')),_0x4c0b42['check'],_0x41b2('0xf')),this['cancelView']=this[_0x41b2('0xc')](_0x19f9d3,_0x49af0b(_0x19f9d3,'No'),_0x4c0b42[_0x41b2('0x2')],_0x41b2('0x2')),this[_0x41b2('0x0')]('message',_0x49af0b(_0x19f9d3,'Are\x20you\x20sure?')),this[_0x41b2('0xd')]({'tag':_0x41b2('0x11'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x41b2('0x11'),'attributes':{'class':_0x41b2('0x6')},'children':[{'tag':'p','children':[{'text':_0x6e2e5e['to'](_0x41b2('0x9'))}]},{'tag':_0x41b2('0x11'),'attributes':{'class':_0x41b2('0x12')},'children':[this['submitView'],this[_0x41b2('0x4')]]}]}]});}['_createButtonView'](_0x199bca,_0x5351d4,_0x1bc4ad,_0x314847){const _0x204ba0=new _0xa94c73(_0x199bca);return _0x204ba0[_0x41b2('0xa')]=_0x5351d4,_0x204ba0[_0x41b2('0x1')]=_0x1bc4ad,_0x204ba0[_0x41b2('0x5')]({'attributes':{'class':_0x41b2('0x7')+_0x314847}}),_0x204ba0['on'](_0x41b2('0x10'),()=>this[_0x41b2('0x8')](_0x314847)),_0x204ba0;}}
23
+ const _0x569a=['setTemplate','ck-thread__remove-confirm','submitView','fire','div','cancelView','ck-thread__remove-confirm-inner','icon','check','_createButtonView','set','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','cancel','message'];(function(_0x242612,_0x569ad7){const _0xc55b63=function(_0x3af29b){while(--_0x3af29b){_0x242612['push'](_0x242612['shift']());}};_0xc55b63(++_0x569ad7);}(_0x569a,0xfb));const _0xc55b=function(_0x242612,_0x569ad7){_0x242612=_0x242612-0x0;let _0xc55b63=_0x569a[_0x242612];return _0xc55b63;};import{View as _0x39293b,ButtonView as _0x168177}from'ckeditor5/src/ui.js';import{icons as _0x6dcef8}from'ckeditor5/src/core.js';import{getTranslation as _0x4c7bff}from'./common-translations.js';export default class h extends _0x39293b{constructor(_0x38ece2){super(_0x38ece2);const _0x5602d4=this['bindTemplate'];this[_0xc55b('0x6')]=this[_0xc55b('0xd')](_0x38ece2,_0x4c7bff(_0x38ece2,'Yes'),_0x6dcef8[_0xc55b('0xc')],'submit'),this['cancelView']=this[_0xc55b('0xd')](_0x38ece2,_0x4c7bff(_0x38ece2,'No'),_0x6dcef8['cancel'],_0xc55b('0x2')),this[_0xc55b('0xe')](_0xc55b('0x3'),_0x4c7bff(_0x38ece2,'Are\x20you\x20sure?')),this[_0xc55b('0x4')]({'tag':_0xc55b('0x8'),'attributes':{'class':[_0xc55b('0x5')]},'children':[{'tag':'div','attributes':{'class':_0xc55b('0xa')},'children':[{'tag':'p','children':[{'text':_0x5602d4['to'](_0xc55b('0x3'))}]},{'tag':'div','attributes':{'class':_0xc55b('0x1')},'children':[this[_0xc55b('0x6')],this[_0xc55b('0x9')]]}]}]});}[_0xc55b('0xd')](_0x5576f4,_0x56cea6,_0x2a83f1,_0x143d5f){const _0x8e237e=new _0x168177(_0x5576f4);return _0x8e237e['label']=_0x56cea6,_0x8e237e[_0xc55b('0xb')]=_0x2a83f1,_0x8e237e['extendTemplate']({'attributes':{'class':_0xc55b('0x0')+_0x143d5f}}),_0x8e237e['on']('execute',()=>this[_0xc55b('0x7')](_0x143d5f)),_0x8e237e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e8a=['function','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','dateTimeFormat','string','MM-dd-yyyy\x20hh:mma','invalid-date-time-format'];(function(_0xe9f066,_0x4e8a90){const _0x3f5f9e=function(_0x39275a){while(--_0x39275a){_0xe9f066['push'](_0xe9f066['shift']());}};_0x3f5f9e(++_0x4e8a90);}(_0x4e8a,0xa1));const _0x3f5f=function(_0xe9f066,_0x4e8a90){_0xe9f066=_0xe9f066-0x0;let _0x3f5f9e=_0x4e8a[_0xe9f066];return _0x3f5f9e;};import _0x2b807a from'date-fns/format/index.js';import _0x2cd9a8 from'date-fns/parseISO/index.js';import _0x2bb16e from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x135dcb}from'ckeditor5/src/utils.js';export default function j(_0x1403ef={}){if(void 0x0!==_0x1403ef[_0x3f5f('0x3')]&&_0x3f5f('0x0')!=typeof _0x1403ef[_0x3f5f('0x3')])throw new _0x135dcb(_0x3f5f('0x6'));return _0x2ed750=>{const _0xc1ddcc=_0x3f5f('0x4')==typeof _0x2ed750?_0x2cd9a8(_0x2ed750):_0x2ed750,_0x4e3650=new Date(),_0x50d5f8=_0x2bb16e(_0x4e3650,_0xc1ddcc);return _0x1403ef[_0x3f5f('0x3')]?_0x1403ef[_0x3f5f('0x3')](_0xc1ddcc):_0x2b807a(_0xc1ddcc,0x0===_0x50d5f8?_0x3f5f('0x2'):0x1===_0x50d5f8?'\x27Yesterday\x27\x20hh:mma':_0x50d5f8<0x7?_0x3f5f('0x1'):_0x3f5f('0x5'));};}
23
+ const _0x3b98=['\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','dateTimeFormat','MM-dd-yyyy\x20hh:mma','invalid-date-time-format'];(function(_0x1c93d1,_0x3b98b6){const _0xdcdc25=function(_0x33a896){while(--_0x33a896){_0x1c93d1['push'](_0x1c93d1['shift']());}};_0xdcdc25(++_0x3b98b6);}(_0x3b98,0xdc));const _0xdcdc=function(_0x1c93d1,_0x3b98b6){_0x1c93d1=_0x1c93d1-0x0;let _0xdcdc25=_0x3b98[_0x1c93d1];return _0xdcdc25;};import _0x44de9c from'date-fns/format/index.js';import _0x31c46a from'date-fns/parseISO/index.js';import _0x415fc5 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x33cb2c}from'ckeditor5/src/utils.js';export default function j(_0x4b6bb9={}){if(void 0x0!==_0x4b6bb9[_0xdcdc('0x2')]&&'function'!=typeof _0x4b6bb9[_0xdcdc('0x2')])throw new _0x33cb2c(_0xdcdc('0x4'));return _0x5856bf=>{const _0x2460f4='string'==typeof _0x5856bf?_0x31c46a(_0x5856bf):_0x5856bf,_0x14f3ca=new Date(),_0x1d5ad6=_0x415fc5(_0x14f3ca,_0x2460f4);return _0x4b6bb9['dateTimeFormat']?_0x4b6bb9['dateTimeFormat'](_0x2460f4):_0x44de9c(_0x2460f4,0x0===_0x1d5ad6?_0xdcdc('0x1'):0x1===_0x1d5ad6?'\x27Yesterday\x27\x20hh:mma':_0x1d5ad6<0x7?_0xdcdc('0x0'):_0xdcdc('0x3'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ba0=['view','map','markerNameToElements','length','values','push','getClientRects','domConverter','domElement','name','mapper','sort','mapViewToDom'];(function(_0x25dfd0,_0x1ba0ca){const _0x580081=function(_0x3e0127){while(--_0x3e0127){_0x25dfd0['push'](_0x25dfd0['shift']());}};_0x580081(++_0x1ba0ca);}(_0x1ba0,0x103));const _0x5800=function(_0x25dfd0,_0x1ba0ca){_0x25dfd0=_0x25dfd0-0x0;let _0x580081=_0x1ba0[_0x25dfd0];return _0x580081;};import{first as _0x2bae82}from'ckeditor5/src/utils.js';export default function k(_0x2b14f8,_0x1a704f){const _0x5e7bdb=_0x2b14f8[_0x5800('0xb')][_0x5800('0x3')](_0x1a704f['name']);if(!_0x5e7bdb)return null;const _0x2be229=_0x2bae82(_0x5e7bdb[_0x5800('0x5')]());return _0x2b14f8[_0x5800('0x1')]['domConverter']['mapViewToDom'](_0x2be229)||null;}export function getAllMarkersDomElementsSorted(_0x14faf3,_0x130d9c){if(0x0===_0x130d9c[_0x5800('0x4')])return null;const _0x1b7292=[],_0x3d0bbe=_0x14faf3[_0x5800('0x1')][_0x5800('0x8')];for(const _0x4026cf of _0x130d9c){const _0x11f7b3=_0x14faf3[_0x5800('0xb')][_0x5800('0x3')](_0x4026cf[_0x5800('0xa')]);if(!_0x11f7b3)continue;const _0x216bb4=Array['from'](_0x11f7b3)['map'](_0x310407=>_0x3d0bbe[_0x5800('0x0')](_0x310407))['filter'](_0x3da20d=>!!_0x3da20d);_0x1b7292[_0x5800('0x6')](..._0x216bb4);}if(0x0===_0x1b7292['length'])return null;const _0x14595e=[];for(const _0x246b29 of _0x1b7292){const _0x17ef85=_0x246b29[_0x5800('0x7')]()['item'](0x0);_0x17ef85&&_0x14595e['push']({'x':_0x17ef85['x'],'y':_0x17ef85['y'],'domElement':_0x246b29});}return 0x0===_0x14595e[_0x5800('0x4')]?null:(_0x14595e[_0x5800('0xc')]((_0x1a691d,_0x3898ae)=>_0x1a691d['y']-_0x3898ae['y']||_0x1a691d['x']-_0x3898ae['x']),_0x14595e[_0x5800('0x2')](_0x5f4a77=>_0x5f4a77[_0x5800('0x9')]));}
23
+ const _0x5d50=['item','domConverter','sort','push','length','mapper','filter','view','markerNameToElements','mapViewToDom','map','values','getClientRects'];(function(_0x4349cb,_0x5d5023){const _0x269c1d=function(_0x25371c){while(--_0x25371c){_0x4349cb['push'](_0x4349cb['shift']());}};_0x269c1d(++_0x5d5023);}(_0x5d50,0x17e));const _0x269c=function(_0x4349cb,_0x5d5023){_0x4349cb=_0x4349cb-0x0;let _0x269c1d=_0x5d50[_0x4349cb];return _0x269c1d;};import{first as _0x565d26}from'ckeditor5/src/utils.js';export default function k(_0x439643,_0x5c216a){const _0x3b9fd5=_0x439643[_0x269c('0x0')]['markerNameToElements'](_0x5c216a['name']);if(!_0x3b9fd5)return null;const _0x8d9748=_0x565d26(_0x3b9fd5[_0x269c('0x6')]());return _0x439643[_0x269c('0x2')][_0x269c('0x9')][_0x269c('0x4')](_0x8d9748)||null;}export function getAllMarkersDomElementsSorted(_0x54ee80,_0x37c77b){if(0x0===_0x37c77b[_0x269c('0xc')])return null;const _0x2a4667=[],_0x576b73=_0x54ee80[_0x269c('0x2')]['domConverter'];for(const _0x768495 of _0x37c77b){const _0x22f433=_0x54ee80[_0x269c('0x0')][_0x269c('0x3')](_0x768495['name']);if(!_0x22f433)continue;const _0x2a2006=Array['from'](_0x22f433)[_0x269c('0x5')](_0x54a1df=>_0x576b73['mapViewToDom'](_0x54a1df))[_0x269c('0x1')](_0x25a84a=>!!_0x25a84a);_0x2a4667[_0x269c('0xb')](..._0x2a2006);}if(0x0===_0x2a4667[_0x269c('0xc')])return null;const _0x24deb0=[];for(const _0x31bf19 of _0x2a4667){const _0x45f262=_0x31bf19[_0x269c('0x7')]()[_0x269c('0x8')](0x0);_0x45f262&&_0x24deb0[_0x269c('0xb')]({'x':_0x45f262['x'],'y':_0x45f262['y'],'domElement':_0x31bf19});}return 0x0===_0x24deb0[_0x269c('0xc')]?null:(_0x24deb0[_0x269c('0xa')]((_0x34c082,_0x437502)=>_0x34c082['y']-_0x437502['y']||_0x34c082['x']-_0x437502['x']),_0x24deb0['map'](_0x59fdd2=>_0x59fdd2['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1989=['sign','isArray','number','string','object','toString','sort','keys','boolean'];(function(_0x457e29,_0x1989f7){const _0x1d0d56=function(_0x58ae19){while(--_0x58ae19){_0x457e29['push'](_0x457e29['shift']());}};_0x1d0d56(++_0x1989f7);}(_0x1989,0x188));const _0x1d0d=function(_0x457e29,_0x1989f7){_0x457e29=_0x457e29-0x0;let _0x1d0d56=_0x1989[_0x457e29];return _0x1d0d56;};export default function b(_0x224281){let _0x92e17f=0x0,_0x287414=0x0;for(const _0x4e2c8f of A(_0x224281))_0x92e17f=(_0x92e17f<<0x5)-_0x92e17f+_0x4e2c8f,_0x92e17f&=_0x92e17f,[_0x92e17f,_0x287414]=[_0x287414,_0x92e17f];return q(_0x92e17f)+q(_0x287414);}function*g(_0x34b02e){_0x34b02e?_0x1d0d('0x3')==typeof _0x34b02e?yield 0x1:Array[_0x1d0d('0x5')](_0x34b02e)?yield*function*(_0x16b7b2){for(const _0x5cc0e5 of _0x16b7b2)yield*g(_0x5cc0e5);}(_0x34b02e):_0x1d0d('0x8')==typeof _0x34b02e?yield*A(_0x34b02e):_0x1d0d('0x7')==typeof _0x34b02e?yield*M(_0x34b02e):_0x1d0d('0x6')==typeof _0x34b02e&&(yield _0x34b02e):yield 0x0;}function*A(_0x2b18cb){if(yield O('{'),_0x2b18cb){const _0x3b2898=Object[_0x1d0d('0x2')](_0x2b18cb)[_0x1d0d('0x1')]();for(const _0x282ae3 of _0x3b2898){yield*M(_0x282ae3),yield O(':');const _0x1ff8aa=_0x2b18cb[_0x282ae3];yield*g(_0x1ff8aa);}}yield O('}');}function*M(_0x8f87fb){yield O('\x22');for(const _0x30f024 of _0x8f87fb)yield O(_0x30f024);yield O('\x22');}function O(_0x2b141a){return _0x2b141a['charCodeAt'](0x0);}function q(_0x51e47b){return(_0x51e47b*=Math[_0x1d0d('0x4')](_0x51e47b))[_0x1d0d('0x0')](0x24);}
23
+ const _0x2bc7=['string','sort','toString','keys','object','number','charCodeAt'];(function(_0x3887d4,_0x2bc745){const _0x58d217=function(_0x50f544){while(--_0x50f544){_0x3887d4['push'](_0x3887d4['shift']());}};_0x58d217(++_0x2bc745);}(_0x2bc7,0x151));const _0x58d2=function(_0x3887d4,_0x2bc745){_0x3887d4=_0x3887d4-0x0;let _0x58d217=_0x2bc7[_0x3887d4];return _0x58d217;};export default function b(_0x53a3ad){let _0x510d86=0x0,_0x54bfb3=0x0;for(const _0x339bc7 of A(_0x53a3ad))_0x510d86=(_0x510d86<<0x5)-_0x510d86+_0x339bc7,_0x510d86&=_0x510d86,[_0x510d86,_0x54bfb3]=[_0x54bfb3,_0x510d86];return q(_0x510d86)+q(_0x54bfb3);}function*g(_0x451e21){_0x451e21?'boolean'==typeof _0x451e21?yield 0x1:Array['isArray'](_0x451e21)?yield*function*(_0x5a3985){for(const _0x2aa71c of _0x5a3985)yield*g(_0x2aa71c);}(_0x451e21):_0x58d2('0x3')==typeof _0x451e21?yield*A(_0x451e21):_0x58d2('0x6')==typeof _0x451e21?yield*M(_0x451e21):_0x58d2('0x4')==typeof _0x451e21&&(yield _0x451e21):yield 0x0;}function*A(_0x5e167d){if(yield O('{'),_0x5e167d){const _0x4251bf=Object[_0x58d2('0x2')](_0x5e167d)[_0x58d2('0x0')]();for(const _0x59f059 of _0x4251bf){yield*M(_0x59f059),yield O(':');const _0x1c4ab6=_0x5e167d[_0x59f059];yield*g(_0x1c4ab6);}}yield O('}');}function*M(_0x173d16){yield O('\x22');for(const _0x4f7e05 of _0x173d16)yield O(_0x4f7e05);yield O('\x22');}function O(_0x429b37){return _0x429b37[_0x58d2('0x5')](0x0);}function q(_0x187fe8){return(_0x187fe8*=Math['sign'](_0x187fe8))[_0x58d2('0x1')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x342e=['concat','constructor','WProofreader','set','WebSocketGateway','extraPlugins','toolbar','length','has','DocumentOutline','filter','requires','rootsAttributes','_context','pluginName','config','removePlugins','context','from','plugins','RevisionTracker','names','includes','string','every','get','builtinPlugins'];(function(_0x1bfc5a,_0x342e3a){const _0x24aba2=function(_0x31257d){while(--_0x31257d){_0x1bfc5a['push'](_0x1bfc5a['shift']());}};_0x24aba2(++_0x342e3a);}(_0x342e,0xd9));const _0x24ab=function(_0x1bfc5a,_0x342e3a){_0x1bfc5a=_0x1bfc5a-0x0;let _0x24aba2=_0x342e[_0x1bfc5a];return _0x24aba2;};const w=['initialData',_0x24ab('0x10'),_0x24ab('0x5'),_0x24ab('0xb')],W=[_0x24ab('0x3'),_0x24ab('0x13'),'Autosave','WordCount',_0x24ab('0x8'),_0x24ab('0x1')];function v(_0x3749f6,_0x5b14b1,_0x5d39d7,_0x7f5536=[]){const _0x122929=_0x24ab('0x16')==typeof _0x3749f6?_0x5d39d7['get'](_0x3749f6)['constructor']:_0x3749f6,_0x2943cc=_0x122929[_0x24ab('0xd')]||_0x122929['name'];if(_0x5b14b1[_0x24ab('0x7')](_0x2943cc))return _0x5b14b1['get'](_0x2943cc);if(_0x5b14b1['set'](_0x2943cc,!0x0),_0x2943cc&&W[_0x24ab('0x1a')](_0x7f5536)[_0x24ab('0x15')](_0x2943cc))return _0x5b14b1['set'](_0x2943cc,!0x1),!0x1;if(!_0x122929[_0x24ab('0xa')])return _0x5b14b1['set'](_0x2943cc,!0x0),!0x0;const _0x1bff53=_0x122929[_0x24ab('0xa')][_0x24ab('0x17')](_0x1e9529=>v(_0x1e9529,_0x5b14b1,_0x5d39d7,_0x7f5536));return _0x5b14b1[_0x24ab('0x2')](_0x2943cc,_0x1bff53),_0x1bff53;}export default function D(_0x389395,_0x186fe3){const _0x48b367={};for(const _0x5553b7 of _0x389395['config'][_0x24ab('0x14')]())w[_0x24ab('0x15')](_0x5553b7)||(_0x48b367[_0x5553b7]=_0x389395[_0x24ab('0xe')][_0x24ab('0x18')](_0x5553b7));const _0x1c1e85=_0x48b367['plugins']||[],_0x2d5da1=_0x389395[_0x24ab('0x0')][_0x24ab('0x19')]||[],_0x44267a=_0x1c1e85[_0x24ab('0x6')]?_0x1c1e85:_0x2d5da1,_0x3c9321=_0x48b367[_0x24ab('0x4')]||[];delete _0x48b367[_0x24ab('0x4')];const _0x4f7d0f=_0x48b367[_0x24ab('0xf')]||[];delete _0x48b367[_0x24ab('0xf')];const _0x1daab5=_0x389395[_0x24ab('0xc')][_0x24ab('0xe')][_0x24ab('0x18')]('plugins')||[],_0x4120ba=_0x44267a[_0x24ab('0x1a')](_0x3c9321)['concat'](_0x1daab5)['map'](_0x1ac3b2=>_0x24ab('0x16')==typeof _0x1ac3b2?_0x2d5da1['find'](_0x566953=>_0x566953[_0x24ab('0xd')]==_0x1ac3b2):_0x1ac3b2)[_0x24ab('0x9')](_0x1378c3=>!_0x4f7d0f[_0x24ab('0x15')](_0x1378c3)&&!_0x4f7d0f[_0x24ab('0x15')](_0x1378c3[_0x24ab('0xd')])),_0x19957e=Array[_0x24ab('0x11')](new Set(_0x4120ba)),_0x47fce8=new Map();return _0x48b367[_0x24ab('0x12')]=_0x19957e[_0x24ab('0x9')](_0x3f5bdc=>v(_0x3f5bdc,_0x47fce8,_0x389395[_0x24ab('0x12')],_0x186fe3)),_0x48b367;}
23
+ const _0xf93d=['rootsAttributes','from','extraPlugins','names','config','map','RevisionTracker','concat','initialData','plugins','name','set','builtinPlugins','Autosave','_context','string','requires','context','pluginName','constructor','removePlugins','get'];(function(_0x1a5800,_0xf93dad){const _0xb137bd=function(_0x4c48f0){while(--_0x4c48f0){_0x1a5800['push'](_0x1a5800['shift']());}};_0xb137bd(++_0xf93dad);}(_0xf93d,0xd2));const _0xb137=function(_0x1a5800,_0xf93dad){_0x1a5800=_0x1a5800-0x0;let _0xb137bd=_0xf93d[_0x1a5800];return _0xb137bd;};const w=[_0xb137('0x12'),_0xb137('0x5'),'toolbar',_0xb137('0xa')],W=['WebSocketGateway',_0xb137('0x10'),_0xb137('0x1'),'WordCount','DocumentOutline','WProofreader'];function v(_0x13e1f2,_0xdf9286,_0x5e7c8f,_0x3249f4=[]){const _0x141d57=_0xb137('0x3')==typeof _0x13e1f2?_0x5e7c8f['get'](_0x13e1f2)[_0xb137('0x7')]:_0x13e1f2,_0x1182c0=_0x141d57[_0xb137('0x6')]||_0x141d57[_0xb137('0x14')];if(_0xdf9286['has'](_0x1182c0))return _0xdf9286[_0xb137('0x9')](_0x1182c0);if(_0xdf9286[_0xb137('0x15')](_0x1182c0,!0x0),_0x1182c0&&W['concat'](_0x3249f4)['includes'](_0x1182c0))return _0xdf9286[_0xb137('0x15')](_0x1182c0,!0x1),!0x1;if(!_0x141d57[_0xb137('0x4')])return _0xdf9286[_0xb137('0x15')](_0x1182c0,!0x0),!0x0;const _0x55b2f7=_0x141d57[_0xb137('0x4')]['every'](_0x182b0c=>v(_0x182b0c,_0xdf9286,_0x5e7c8f,_0x3249f4));return _0xdf9286[_0xb137('0x15')](_0x1182c0,_0x55b2f7),_0x55b2f7;}export default function D(_0x8e5ccd,_0x3088be){const _0x3fdf30={};for(const _0x125ab7 of _0x8e5ccd['config'][_0xb137('0xd')]())w['includes'](_0x125ab7)||(_0x3fdf30[_0x125ab7]=_0x8e5ccd[_0xb137('0xe')]['get'](_0x125ab7));const _0x3c3472=_0x3fdf30[_0xb137('0x13')]||[],_0x475b97=_0x8e5ccd[_0xb137('0x7')][_0xb137('0x0')]||[],_0x383756=_0x3c3472['length']?_0x3c3472:_0x475b97,_0x4fd668=_0x3fdf30[_0xb137('0xc')]||[];delete _0x3fdf30['extraPlugins'];const _0x5d375e=_0x3fdf30[_0xb137('0x8')]||[];delete _0x3fdf30[_0xb137('0x8')];const _0x4c2460=_0x8e5ccd[_0xb137('0x2')][_0xb137('0xe')][_0xb137('0x9')]('plugins')||[],_0x811b07=_0x383756[_0xb137('0x11')](_0x4fd668)[_0xb137('0x11')](_0x4c2460)[_0xb137('0xf')](_0x46e986=>'string'==typeof _0x46e986?_0x475b97['find'](_0x136a1f=>_0x136a1f[_0xb137('0x6')]==_0x46e986):_0x46e986)['filter'](_0xca82a0=>!_0x5d375e['includes'](_0xca82a0)&&!_0x5d375e['includes'](_0xca82a0['pluginName'])),_0x3d06bd=Array[_0xb137('0xb')](new Set(_0x811b07)),_0xd477d8=new Map();return _0x3fdf30[_0xb137('0x13')]=_0x3d06bd['filter'](_0x3be443=>v(_0x3be443,_0xd477d8,_0x8e5ccd[_0xb137('0x13')],_0x3088be)),_0x3fdf30;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e92=['focus','markers','document','includes','push','selection','length','end','start','isEqual'];(function(_0x3e78a2,_0x1e924a){const _0x3dff1a=function(_0x3dbdac){while(--_0x3dbdac){_0x3e78a2['push'](_0x3e78a2['shift']());}};_0x3dff1a(++_0x1e924a);}(_0x1e92,0x16a));const _0x3dff=function(_0x3e78a2,_0x1e924a){_0x3e78a2=_0x3e78a2-0x0;let _0x3dff1a=_0x1e92[_0x3e78a2];return _0x3dff1a;};export default function z(_0x29ff45,_0x170f8d){const _0x34d00b=[];_0x29ff45[_0x3dff('0x0')][_0x3dff('0x3')]['on']('change:range',()=>{const _0x292c0c=function(_0x2a1aa4,_0x40d475){const _0x3f870d=[];for(const _0x19227d of _0x2a1aa4[_0x3dff('0x9')]){const _0x1961ea=_0x19227d['getRange']();(_0x1961ea['containsPosition'](_0x40d475)||_0x1961ea[_0x3dff('0x6')]['isEqual'](_0x40d475)||_0x1961ea[_0x3dff('0x5')][_0x3dff('0x7')](_0x40d475))&&_0x3f870d['push'](_0x19227d);}return _0x3f870d;}(_0x29ff45,_0x29ff45[_0x3dff('0x0')][_0x3dff('0x3')][_0x3dff('0x8')]),_0xb85152=[],_0x140669=[],_0xfc8a84=[];for(const _0x54108a of _0x34d00b)_0x292c0c[_0x3dff('0x1')](_0x54108a)||_0xb85152['push'](_0x54108a);for(const _0x1b3a53 of _0x292c0c)_0x34d00b['includes'](_0x1b3a53)||_0x140669[_0x3dff('0x2')](_0x1b3a53),_0xfc8a84[_0x3dff('0x2')](_0x1b3a53);(_0xb85152[_0x3dff('0x4')]||_0x140669[_0x3dff('0x4')])&&_0x170f8d({'left':_0xb85152,'entered':_0x140669}),_0x34d00b[_0x3dff('0x4')]=0x0,_0x34d00b[_0x3dff('0x2')](..._0xfc8a84);});}
23
+ const _0x4279=['end','length','isEqual','containsPosition','selection','getRange','start','change:range','markers','includes','push'];(function(_0x46487b,_0x4279ff){const _0x3577ca=function(_0x44cef9){while(--_0x44cef9){_0x46487b['push'](_0x46487b['shift']());}};_0x3577ca(++_0x4279ff);}(_0x4279,0x18b));const _0x3577=function(_0x46487b,_0x4279ff){_0x46487b=_0x46487b-0x0;let _0x3577ca=_0x4279[_0x46487b];return _0x3577ca;};export default function z(_0x2bd9ab,_0x1a31b6){const _0x13a140=[];_0x2bd9ab['document'][_0x3577('0x5')]['on'](_0x3577('0x8'),()=>{const _0x41ee47=function(_0x3cf4e3,_0x5b9c90){const _0x5d915e=[];for(const _0x10d1ca of _0x3cf4e3[_0x3577('0x9')]){const _0x1a317d=_0x10d1ca[_0x3577('0x6')]();(_0x1a317d[_0x3577('0x4')](_0x5b9c90)||_0x1a317d[_0x3577('0x7')][_0x3577('0x3')](_0x5b9c90)||_0x1a317d[_0x3577('0x1')][_0x3577('0x3')](_0x5b9c90))&&_0x5d915e['push'](_0x10d1ca);}return _0x5d915e;}(_0x2bd9ab,_0x2bd9ab['document'][_0x3577('0x5')]['focus']),_0x3e92be=[],_0xc9f600=[],_0x5981e5=[];for(const _0x5d5560 of _0x13a140)_0x41ee47[_0x3577('0xa')](_0x5d5560)||_0x3e92be[_0x3577('0x0')](_0x5d5560);for(const _0x317a68 of _0x41ee47)_0x13a140['includes'](_0x317a68)||_0xc9f600[_0x3577('0x0')](_0x317a68),_0x5981e5['push'](_0x317a68);(_0x3e92be[_0x3577('0x2')]||_0xc9f600[_0x3577('0x2')])&&_0x1a31b6({'left':_0x3e92be,'entered':_0xc9f600}),_0x13a140[_0x3577('0x2')]=0x0,_0x13a140[_0x3577('0x0')](..._0x5981e5);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4442=['...','startsWith','match','length','split','replace','push','join','slice','indexOf','substring'];(function(_0x267cb8,_0x444238){const _0x262120=function(_0x5d1118){while(--_0x5d1118){_0x267cb8['push'](_0x267cb8['shift']());}};_0x262120(++_0x444238);}(_0x4442,0x105));const _0x2621=function(_0x267cb8,_0x444238){_0x267cb8=_0x267cb8-0x0;let _0x262120=_0x4442[_0x267cb8];return _0x262120;};export default function Z(_0x2bebfe,{limit:_0x1df436,suffix:_0x86f349=_0x2621('0x3')}){const _0x4e010d=[];let _0x8d9d=0x0;const _0x5b6103=_0x2bebfe[_0x2621('0x8')](/</g,'\x0a<')[_0x2621('0x8')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x2621('0x8')](/\n$/g,'')[_0x2621('0x7')]('\x0a');for(let _0x4b009e=0x0;_0x4b009e<_0x5b6103[_0x2621('0x6')];_0x4b009e++){let _0x498b91=_0x5b6103[_0x4b009e];const _0x367ec0=$(_0x498b91);if(_0x498b91[_0x2621('0x4')]('<')){if(_0x8d9d>=_0x1df436){const _0xd74454=_0x498b91[_0x2621('0x5')](/[a-zA-Z]+/);if(!_0xd74454){_0x5b6103[_0x4b009e]='';continue;}const _0x25532a=_0xd74454[0x0];_0x498b91[_0x2621('0x4')]('</')?(_0x4e010d[_0x2621('0x6')]&&(_0x498b91=''),_0x4e010d['pop']()):(_0x4e010d[_0x2621('0x9')](_0x25532a),_0x498b91='');}}else{if(_0x8d9d>=_0x1df436)_0x498b91='';else{if(_0x8d9d+_0x367ec0['length']>=_0x1df436){let _0x2b56d2=_0x1df436-_0x8d9d;if('\x20'===_0x367ec0[_0x2b56d2-0x1])_0x2b56d2--;else{const _0x5555b2=_0x367ec0[_0x2621('0x0')](_0x2b56d2)[_0x2621('0x1')]('\x20');-0x1!==_0x5555b2?_0x2b56d2+=_0x5555b2:_0x2b56d2=_0x498b91['length'];}_0x498b91=_0x367ec0['slice'](0x0,_0x2b56d2)[_0x2621('0xa')]('')+_0x86f349,_0x8d9d=_0x1df436;}else _0x8d9d+=_0x367ec0[_0x2621('0x6')];}}_0x5b6103[_0x4b009e]=_0x498b91;}return _0x5b6103[_0x2621('0xa')]('\x0a')[_0x2621('0x8')](/\n/g,'');}function $(_0x192970){const _0x2ecd07=[];for(let _0x494e70=0x0;_0x494e70<_0x192970[_0x2621('0x6')];_0x494e70++){const _0x1f3330=_0x192970[_0x2621('0x2')](_0x494e70)['match'](/^&[a-z0-9#]+;/);if(_0x1f3330){const _0x111e3f=_0x1f3330[0x0];_0x2ecd07[_0x2621('0x9')](_0x111e3f),_0x494e70+=_0x111e3f[_0x2621('0x6')]-0x1;}else _0x2ecd07[_0x2621('0x9')](_0x192970[_0x494e70]);}return _0x2ecd07;}
23
+ const _0x2215=['substring','length','slice','join','...','startsWith','replace','indexOf','match','split','push'];(function(_0x18985c,_0x22159e){const _0x255f8=function(_0x4462e9){while(--_0x4462e9){_0x18985c['push'](_0x18985c['shift']());}};_0x255f8(++_0x22159e);}(_0x2215,0xcb));const _0x255f=function(_0x18985c,_0x22159e){_0x18985c=_0x18985c-0x0;let _0x255f8=_0x2215[_0x18985c];return _0x255f8;};export default function Z(_0x4a1c13,{limit:_0x35c8ee,suffix:_0x58918f=_0x255f('0xa')}){const _0x2b1653=[];let _0x118c3e=0x0;const _0x5038ee=_0x4a1c13['replace'](/</g,'\x0a<')[_0x255f('0x1')](/>/g,'>\x0a')[_0x255f('0x1')](/^\n/g,'')[_0x255f('0x1')](/\n$/g,'')[_0x255f('0x4')]('\x0a');for(let _0x425f14=0x0;_0x425f14<_0x5038ee[_0x255f('0x7')];_0x425f14++){let _0x430239=_0x5038ee[_0x425f14];const _0x3b169a=$(_0x430239);if(_0x430239[_0x255f('0x0')]('<')){if(_0x118c3e>=_0x35c8ee){const _0x59791b=_0x430239[_0x255f('0x3')](/[a-zA-Z]+/);if(!_0x59791b){_0x5038ee[_0x425f14]='';continue;}const _0x1da686=_0x59791b[0x0];_0x430239[_0x255f('0x0')]('</')?(_0x2b1653['length']&&(_0x430239=''),_0x2b1653['pop']()):(_0x2b1653['push'](_0x1da686),_0x430239='');}}else{if(_0x118c3e>=_0x35c8ee)_0x430239='';else{if(_0x118c3e+_0x3b169a['length']>=_0x35c8ee){let _0x3a2516=_0x35c8ee-_0x118c3e;if('\x20'===_0x3b169a[_0x3a2516-0x1])_0x3a2516--;else{const _0x4157e2=_0x3b169a[_0x255f('0x8')](_0x3a2516)[_0x255f('0x2')]('\x20');-0x1!==_0x4157e2?_0x3a2516+=_0x4157e2:_0x3a2516=_0x430239[_0x255f('0x7')];}_0x430239=_0x3b169a[_0x255f('0x8')](0x0,_0x3a2516)[_0x255f('0x9')]('')+_0x58918f,_0x118c3e=_0x35c8ee;}else _0x118c3e+=_0x3b169a['length'];}}_0x5038ee[_0x425f14]=_0x430239;}return _0x5038ee['join']('\x0a')[_0x255f('0x1')](/\n/g,'');}function $(_0x505acb){const _0x186a3c=[];for(let _0xc4f900=0x0;_0xc4f900<_0x505acb[_0x255f('0x7')];_0xc4f900++){const _0x16dd38=_0x505acb[_0x255f('0x6')](_0xc4f900)[_0x255f('0x3')](/^&[a-z0-9#]+;/);if(_0x16dd38){const _0xebc87b=_0x16dd38[0x0];_0x186a3c['push'](_0xebc87b),_0xc4f900+=_0xebc87b[_0x255f('0x7')]-0x1;}else _0x186a3c[_0x255f('0x5')](_0x505acb[_0xc4f900]);}return _0x186a3c;}