@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.10 → 44.0.0-alpha.12
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/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +9 -9
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x425253,_0x4b618c){const _0x4e705f=_0x4414,_0x1840d3=_0x425253();while(!![]){try{const _0xe767f=parseInt(_0x4e705f(0x6e))/0x1+-parseInt(_0x4e705f(0x7b))/0x2*(parseInt(_0x4e705f(0x6f))/0x3)+-parseInt(_0x4e705f(0x7f))/0x4*(-parseInt(_0x4e705f(0x72))/0x5)+parseInt(_0x4e705f(0x77))/0x6*(parseInt(_0x4e705f(0x75))/0x7)+parseInt(_0x4e705f(0x74))/0x8*(parseInt(_0x4e705f(0x7a))/0x9)+parseInt(_0x4e705f(0x79))/0xa+-parseInt(_0x4e705f(0x80))/0xb*(parseInt(_0x4e705f(0x73))/0xc);if(_0xe767f===_0x4b618c)break;else _0x1840d3['push'](_0x1840d3['shift']());}catch(_0x429f39){_0x1840d3['push'](_0x1840d3['shift']());}}}(_0x11ea,0x8ea92));import{View as _0x3b51c9}from'ckeditor5/src/ui.js';function _0x4414(_0x237968,_0xad692d){const _0x11ea5b=_0x11ea();return _0x4414=function(_0x44148c,_0x4330a8){_0x44148c=_0x44148c-0x6d;let _0x2b630f=_0x11ea5b[_0x44148c];return _0x2b630f;},_0x4414(_0x237968,_0xad692d);}function _0x11ea(){const _0x345f25=['usersCount','div','539785kuHndg','22296jUgxwj','isHidden','setTemplate','33505uJpIWk','12mLksow','8TPRjzW','329vCOSwk','CONNECTED_USERS','65754CQPFIM','set','11201290QBjbKG','8243757fORClW','224ijWEjG','ck-presence-list__counter','ck-presence-list__counter--hidden','bindTemplate','20yWTWOK','18785173DvdIvv'];_0x11ea=function(){return _0x345f25;};return _0x11ea();}import{getTranslation as _0x33a24}from'../../common-translations.js';export default class ts extends _0x3b51c9{constructor(_0x494c37){const _0x3d7a30=_0x4414;super(_0x494c37);const _0x6be5ea=this[_0x3d7a30(0x7e)];this[_0x3d7a30(0x78)](_0x3d7a30(0x81),0x0),this[_0x3d7a30(0x78)](_0x3d7a30(0x70),!0x0),this[_0x3d7a30(0x71)]({'tag':_0x3d7a30(0x6d),'attributes':{'class':['ck',_0x3d7a30(0x7c),_0x6be5ea['if'](_0x3d7a30(0x70),_0x3d7a30(0x7d))]},'children':[{'text':_0x6be5ea['to'](_0x3d7a30(0x81),_0x58bb47=>_0x33a24(_0x494c37,_0x3d7a30(0x76),_0x58bb47))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22fb20=_0x2be9;function _0x2be9(_0x2430ec,_0x4c59bf){const _0x30e9cb=_0x30e9();return _0x2be9=function(_0x2be91d,_0x51bc37){_0x2be91d=_0x2be91d-0x89;let _0x59ee62=_0x30e9cb[_0x2be91d];return _0x59ee62;},_0x2be9(_0x2430ec,_0x4c59bf);}(function(_0x3bce7c,_0x345127){const _0x11000e=_0x2be9,_0x45ca7d=_0x3bce7c();while(!![]){try{const _0x2e3bff=-parseInt(_0x11000e(0x9d))/0x1*(parseInt(_0x11000e(0xa3))/0x2)+parseInt(_0x11000e(0x8c))/0x3+parseInt(_0x11000e(0x9f))/0x4*(parseInt(_0x11000e(0x96))/0x5)+parseInt(_0x11000e(0x8a))/0x6*(parseInt(_0x11000e(0x9a))/0x7)+parseInt(_0x11000e(0x8b))/0x8*(parseInt(_0x11000e(0xa4))/0x9)+parseInt(_0x11000e(0x99))/0xa*(parseInt(_0x11000e(0x9c))/0xb)+parseInt(_0x11000e(0xa0))/0xc*(-parseInt(_0x11000e(0x91))/0xd);if(_0x2e3bff===_0x345127)break;else _0x45ca7d['push'](_0x45ca7d['shift']());}catch(_0x1e0f27){_0x45ca7d['push'](_0x45ca7d['shift']());}}}(_0x30e9,0x70571));import{ListItemView as _0x307551}from'ckeditor5/src/ui.js';function _0x30e9(){const _0x4e85c3=['userView','bindTemplate','fire','tag','2735085sVTcGD','ck-presence-list__dropdown-list-item','name','1096170aORiFA','7iwHuxN','span','11UBNhjd','119bXMDni','focus','4dSMTlT','6163860RzqIKD','execute','color','13358DmkdnK','456075SvtpPL','button','element','true','presentation','5304786UrQLlV','80xzXOQZ','704223UgZBIu','ck-user__full-name','setTemplate','ck-presence-list__marker','getBackgroundColorClass','26LnNuua'];_0x30e9=function(){return _0x4e85c3;};return _0x30e9();}import{UserView as _0x51efd3}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x307551{constructor(_0x4349ad,_0x4b6865,_0x169f5e){const _0x3db9fe=_0x2be9;super(_0x4349ad);const _0x3117fa=this[_0x3db9fe(0x93)];this[_0x3db9fe(0x92)]=new _0x51efd3(_0x4349ad,_0x4b6865);const _0x3f25f0={'tag':'li','attributes':{'class':['ck',_0x3db9fe(0x97)],'tabindex':-0x1,'role':_0x3db9fe(0x89),'aria-label':_0x4b6865[_0x3db9fe(0x98)]},'children':[this[_0x3db9fe(0x92)],{'tag':_0x3db9fe(0x9b),'attributes':{'class':['ck',_0x3db9fe(0x8d)]},'children':[{'text':_0x4b6865[_0x3db9fe(0x98)]}]},{'tag':_0x3db9fe(0x9b),'attributes':{'class':['ck',_0x3db9fe(0x8f),_0x4b6865[_0x3db9fe(0xa2)][_0x3db9fe(0x90)]()],'aria-hidden':_0x3db9fe(0xa7)}}]};_0x169f5e&&(_0x3f25f0[_0x3db9fe(0x95)]=_0x3db9fe(0xa5),_0x3f25f0['on']={'click':_0x3117fa['to'](()=>this[_0x3db9fe(0x94)](_0x3db9fe(0xa1)))}),this[_0x3db9fe(0x8e)](_0x3f25f0);}[_0x22fb20(0x9e)](){const _0x5d3116=_0x22fb20;this[_0x5d3116(0xa6)][_0x5d3116(0x9e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x10b95d=_0x3621;function _0x3621(_0x376172,_0x50cb6b){const _0x370fd0=_0x370f();return _0x3621=function(_0x3621ba,_0x40511e){_0x3621ba=_0x3621ba-0x13c;let _0x43b199=_0x370fd0[_0x3621ba];return _0x43b199;},_0x3621(_0x376172,_0x50cb6b);}function _0x370f(){const _0x13e083=['2228086yCMLGY','window','ck-reset','setTemplate','innerHeight','9370wnOfPy','255447XnXNzL','role','application','bindTemplate','4679960hDcXdr','92240bumvLm','24ezGDVt','change','ck-presence-list__dropdown-list-wrapper_scrollable','10xAypVX','ck-presence-list__dropdown-list-wrapper','Connected\x20users\x20list\x20dropdown\x20menu','ariaLabel','div','ariaLabelledBy','max','set','_isScrollable','scrollHeight','resize','3393fhzeJo','items','listenTo','512764cTFAlz','element','listWrapperView','render','clientHeight','840oWEnlK','ck-list','checkIfScrollable','ck-presence-list__dropdown-list'];_0x370f=function(){return _0x13e083;};return _0x370f();}(function(_0x213472,_0x21c40e){const _0x342968=_0x3621,_0x3cff9f=_0x213472();while(!![]){try{const _0x1c3054=parseInt(_0x342968(0x144))/0x1+parseInt(_0x342968(0x148))/0x2*(parseInt(_0x342968(0x13f))/0x3)+parseInt(_0x342968(0x156))/0x4+parseInt(_0x342968(0x13e))/0x5*(-parseInt(_0x342968(0x15b))/0x6)+parseInt(_0x342968(0x15f))/0x7+parseInt(_0x342968(0x145))/0x8*(parseInt(_0x342968(0x153))/0x9)+-parseInt(_0x342968(0x143))/0xa;if(_0x1c3054===_0x21c40e)break;else _0x3cff9f['push'](_0x3cff9f['shift']());}catch(_0x379d02){_0x3cff9f['push'](_0x3cff9f['shift']());}}}(_0x370f,0x396f1));import{ListView as _0x21c6dc,View as _0x33aad9}from'ckeditor5/src/ui.js';import{global as _0x3529f5}from'ckeditor5/src/utils.js';import{getTranslation as _0x1243af}from'../../common-translations.js';export default class j extends _0x33aad9{constructor(_0x4f56d2,_0x46bd53){const _0x576d9f=_0x3621;super(_0x4f56d2),this[_0x576d9f(0x158)]=new PresenceDropdownListWrapperView(_0x4f56d2,_0x46bd53),this[_0x576d9f(0x13c)]({'tag':_0x576d9f(0x14c),'attributes':{'tabindex':-0x1,'role':_0x576d9f(0x141),'class':['ck',_0x576d9f(0x15e)],'aria-label':_0x1243af(_0x4f56d2,_0x576d9f(0x14a))},'children':[this[_0x576d9f(0x158)]]});}}export class PresenceDropdownListWrapperView extends _0x21c6dc{constructor(_0x39db0d,_0x49a3bf){const _0xb7e2eb=_0x3621;super(_0x39db0d);const _0x17641a=this[_0xb7e2eb(0x142)];this[_0xb7e2eb(0x14f)](_0xb7e2eb(0x150),!0x1),this[_0xb7e2eb(0x13c)]({'tag':_0x49a3bf?_0xb7e2eb(0x14c):'ul','attributes':{'class':['ck',_0xb7e2eb(0x161),_0xb7e2eb(0x15c),_0xb7e2eb(0x149),_0x17641a['if'](_0xb7e2eb(0x150),_0xb7e2eb(0x147))],'role':_0x17641a['to'](_0xb7e2eb(0x140)),'aria-label':_0x17641a['to'](_0xb7e2eb(0x14b)),'aria-labelledby':_0x17641a['to'](_0xb7e2eb(0x14d))},'children':this[_0xb7e2eb(0x154)]}),this[_0xb7e2eb(0x155)](_0x3529f5[_0xb7e2eb(0x160)],_0xb7e2eb(0x152),()=>this[_0xb7e2eb(0x15d)]()),this[_0xb7e2eb(0x154)]['on'](_0xb7e2eb(0x146),()=>this[_0xb7e2eb(0x15d)]());}[_0x10b95d(0x159)](){const _0x33fa4a=_0x10b95d;super[_0x33fa4a(0x159)](),this[_0x33fa4a(0x15d)]();}[_0x10b95d(0x15d)](){const _0x2dc83d=_0x10b95d,_0x4f8cd9=this[_0x2dc83d(0x157)];_0x4f8cd9&&(this[_0x2dc83d(0x150)]=Math[_0x2dc83d(0x14e)](_0x4f8cd9[_0x2dc83d(0x151)],_0x4f8cd9[_0x2dc83d(0x15a)])>0.8*window[_0x2dc83d(0x13d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5d1eec,_0x12798d){const _0x3c5f6b=_0x4c75,_0x4e8c31=_0x5d1eec();while(!![]){try{const _0x19370a=parseInt(_0x3c5f6b(0xf0))/0x1*(-parseInt(_0x3c5f6b(0xdf))/0x2)+parseInt(_0x3c5f6b(0xe6))/0x3*(parseInt(_0x3c5f6b(0xd5))/0x4)+-parseInt(_0x3c5f6b(0xef))/0x5*(-parseInt(_0x3c5f6b(0xf1))/0x6)+parseInt(_0x3c5f6b(0xea))/0x7*(-parseInt(_0x3c5f6b(0xe8))/0x8)+-parseInt(_0x3c5f6b(0xdb))/0x9*(parseInt(_0x3c5f6b(0xe1))/0xa)+parseInt(_0x3c5f6b(0xed))/0xb*(-parseInt(_0x3c5f6b(0xe2))/0xc)+parseInt(_0x3c5f6b(0xf4))/0xd*(parseInt(_0x3c5f6b(0xd6))/0xe);if(_0x19370a===_0x12798d)break;else _0x4e8c31['push'](_0x4e8c31['shift']());}catch(_0x414920){_0x4e8c31['push'](_0x4e8c31['shift']());}}}(_0x4403,0x7a258));import{LabelView as _0x1da6aa,View as _0x195b51}from'ckeditor5/src/ui.js';import{UserView as _0x1b3e10}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x195b51{constructor(_0x59f23b,_0x5cc81f,_0x1dd72a){const _0x5ccc21=_0x4c75;super(_0x59f23b);const _0xc431a1=this[_0x5ccc21(0xf6)];this[_0x5ccc21(0xe5)](_0x5ccc21(0xd2),!0x1),this[_0x5ccc21(0xe5)](_0x5ccc21(0xd8),!0x0),this[_0x5ccc21(0xe5)](_0x5ccc21(0xd4),''),this[_0x5ccc21(0xe4)]=new _0x1b3e10(_0x59f23b,_0x5cc81f),this[_0x5ccc21(0xd7)]=new dt(_0x59f23b,_0x5cc81f);const _0x468fab=new _0x1da6aa(_0x59f23b);_0x468fab[_0x5ccc21(0xe7)][_0x5ccc21(0xee)]=_0x5ccc21(0xf3),_0x468fab[_0x5ccc21(0xe0)]=_0x5cc81f[_0x5ccc21(0xda)];const _0x19890c={'tag':_0x5ccc21(0xec),'attributes':{'class':['ck',_0x5ccc21(0xd3)],'role':_0x5ccc21(0xf2),'tabindex':_0xc431a1['to'](_0x5ccc21(0xd2),_0x458707=>!!_0x458707&&0x0),'aria-labelledby':_0x468fab['id'],'data-cke-tooltip-text':this[_0x5ccc21(0xe4)][_0x5ccc21(0xda)],'data-cke-tooltip-position':_0xc431a1['to'](_0x5ccc21(0xd4)),'data-cke-tooltip-disabled':_0xc431a1['to'](_0x5ccc21(0xd8),_0x371cf3=>!_0x371cf3),'data-cke-tooltip-class':_0x5ccc21(0xde)},'children':[this[_0x5ccc21(0xe4)],this[_0x5ccc21(0xd7)],_0x468fab]};_0x1dd72a&&(_0x19890c[_0x5ccc21(0xee)]=_0x5ccc21(0xd9),_0x19890c['on']={'click':_0xc431a1['to'](()=>this[_0x5ccc21(0xdd)](_0x5ccc21(0xf5)))}),this[_0x5ccc21(0xf7)](_0x19890c);}}function _0x4c75(_0xf1570b,_0x5cb5be){const _0x4403f2=_0x4403();return _0x4c75=function(_0x4c75a1,_0x1a9e77){_0x4c75a1=_0x4c75a1-0xd2;let _0x50fd93=_0x4403f2[_0x4c75a1];return _0x50fd93;},_0x4c75(_0xf1570b,_0x5cb5be);}class dt extends _0x195b51{constructor(_0x182973,_0x52169d){const _0x5c1ac9=_0x4c75;super(_0x182973),this[_0x5c1ac9(0xf7)]({'tag':_0x5c1ac9(0xf3),'attributes':{'class':['ck',_0x5c1ac9(0xe9),_0x52169d[_0x5c1ac9(0xeb)][_0x5c1ac9(0xdc)]()],'aria-hidden':_0x5c1ac9(0xe3)}});}}function _0x4403(){const _0x437108=['isFocusable','ck-presence-list__list-item','tooltipPosition','13276YTsBXx','22869224JLUtug','markerView','hasTooltip','button','name','2199411LGHfaM','getBackgroundColorClass','fire','ck-presence-list__list-item__tooltip','10158hDPkhx','text','10kKFuVK','12WtndGd','true','userView','set','267aaQDjY','template','4987064kwmVpq','ck-presence-list__marker','7eWAxrp','color','div','1073798FBSkdb','tag','3775EVvxJu','130ejqiWp','1566GiIvkl','listitem','span','13jCFYRd','execute','bindTemplate','setTemplate'];_0x4403=function(){return _0x437108;};return _0x4403();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b829d=_0x83fa;function _0x23ba(){const _0xccbe41=['576149QvSXAv','execute','ck-presence-list__list','list','change:hasPopup','element','hasPopup','2908Mtowuv','2705262isQszM','11365068DziIbg','13248QofZxN','focus','setTemplate','330RUZELh','fire','3939393iLLoYn','aria-expanded','removeAttribute','div','setAttribute','1028568UYXiEZ','88jDJsbH','items','isExpanded','listenTo','createCollection','bindTemplate','36380wxQySl','set','keystrokes','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','render'];_0x23ba=function(){return _0xccbe41;};return _0x23ba();}(function(_0x59d01e,_0x1a9962){const _0x3e0d9c=_0x83fa,_0x110d9e=_0x59d01e();while(!![]){try{const _0x13d7ec=parseInt(_0x3e0d9c(0x1bf))/0x1+-parseInt(_0x3e0d9c(0x1b3))/0x2+-parseInt(_0x3e0d9c(0x1ba))/0x3+-parseInt(_0x3e0d9c(0x1b2))/0x4*(-parseInt(_0x3e0d9c(0x1b8))/0x5)+-parseInt(_0x3e0d9c(0x1b4))/0x6+parseInt(_0x3e0d9c(0x1cc))/0x7*(-parseInt(_0x3e0d9c(0x1c0))/0x8)+parseInt(_0x3e0d9c(0x1b5))/0x9*(parseInt(_0x3e0d9c(0x1c6))/0xa);if(_0x13d7ec===_0x1a9962)break;else _0x110d9e['push'](_0x110d9e['shift']());}catch(_0x12b525){_0x110d9e['push'](_0x110d9e['shift']());}}}(_0x23ba,0xebee1));import{View as _0x3e78d2}from'ckeditor5/src/ui.js';function _0x83fa(_0xf7e22a,_0x4c9d4a){const _0x23baef=_0x23ba();return _0x83fa=function(_0x83fa56,_0x3d58ac){_0x83fa56=_0x83fa56-0x1b0;let _0x9d5037=_0x23baef[_0x83fa56];return _0x9d5037;},_0x83fa(_0xf7e22a,_0x4c9d4a);}import{KeystrokeHandler as _0x4bc819}from'ckeditor5/src/utils.js';import{getTranslation as _0x18f1e2}from'../../common-translations.js';export default class es extends _0x3e78d2{constructor(_0x2de6d6){const _0x591ace=_0x83fa;super(_0x2de6d6);const _0x248fc5=this[_0x591ace(0x1c5)];this[_0x591ace(0x1c1)]=this[_0x591ace(0x1c4)](),this[_0x591ace(0x1c8)]=new _0x4bc819(),this[_0x591ace(0x1c7)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x591ace(0x1b7)]({'tag':_0x591ace(0x1bd),'attributes':{'aria-haspopup':_0x248fc5['if'](_0x591ace(0x1b1)),'aria-expanded':_0x248fc5['to'](_0x591ace(0x1c2),_0x23e9b4=>this[_0x591ace(0x1b1)]&&String(_0x23e9b4)),'aria-label':_0x248fc5['to'](_0x591ace(0x1b1),_0x80fe71=>_0x18f1e2(_0x2de6d6,_0x80fe71?_0x591ace(0x1c9):_0x591ace(0x1ca))),'role':_0x591ace(0x1cf),'tabindex':_0x248fc5['to'](_0x591ace(0x1b1),_0x4a9934=>!!_0x4a9934&&0x0),'class':['ck',_0x591ace(0x1ce)]},'children':this[_0x591ace(0x1c1)],'on':{'click':_0x248fc5['to'](()=>this[_0x591ace(0x1b9)](_0x591ace(0x1cd)))}}),this['on'](_0x591ace(0x1d0),(_0x44a666,_0x47f387,_0x194cd9)=>{const _0x5c4175=_0x591ace;this[_0x5c4175(0x1b0)]&&(_0x194cd9?this[_0x5c4175(0x1b0)][_0x5c4175(0x1be)](_0x5c4175(0x1bb),String(this[_0x5c4175(0x1c2)])):this[_0x5c4175(0x1b0)][_0x5c4175(0x1bc)](_0x5c4175(0x1bb)));});}[_0x5b829d(0x1b6)](){const _0x70cb8e=_0x5b829d;this[_0x70cb8e(0x1b0)][_0x70cb8e(0x1b6)]();}[_0x5b829d(0x1cb)](){const _0x779fe5=_0x5b829d;super[_0x779fe5(0x1cb)](),this[_0x779fe5(0x1c8)][_0x779fe5(0x1c3)](this[_0x779fe5(0x1b0)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x46e3(){const _0x3173c2=['remove','register','code','18jSumMX','cloud-services-internal-error:\x20Request\x20timeout.','add','off','404','30cPtlNO','isOfficialPlugin','commentThreadAdded','reconnect','permissions','get','content','commentThreadResolved','_fetchMissingUsersForThreads','commentThreadRemoved','set','resolveCommentThread','update','CommentsService','comments','commentThreadReopened','resolve','commentId','_terminateService','connect','userId','setPermissions','config','cloudservicescommentsadapter-connect-already-connected','destroy','pluginName','CloudServicesCommentsAdapter','disconnect','startsWith','resolvedBy','commentThreadUpdated','723434MKkxaY','isPremiumPlugin','addComment','getConnectedSessions','_connectService','size','plugins','unregister','commentRemoved','attributes','has','getCommentThreads','removeComment','_services','updateCommentThread','getComment','getUser','76600uQZVJc','authorId','delete','adapter','_setUpService','listenTo','addCommentThread','context','cloudservicescommentsadapter-disconnect-not-exist','getMany','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','deletedAt','map','reopenCommentThread','commentAdded','reopen','1360896SyQIww','commentThreadId','addToReconnectionStack','commentUpdated','mySessionId','_getService','init','1935094xMhqgS','getCommentThread','requires','assign','cloudservicescommentsadapter-service-not-exist','removeCommentThread','496673vJAgRi','createdAt','addUser','sessionAdd:','catch','collaboration.channelId','message','cloud-services-internal-error:\x20Not\x20connected.','2887520DlXfbb','keys','updateComment','Permissions','resolvedAt','from','CommentsRepository','1115286IsmSpB'];_0x46e3=function(){return _0x3173c2;};return _0x46e3();}const _0x21ee67=_0x168e;function _0x168e(_0x2850fe,_0x3c6dd5){const _0x46e39d=_0x46e3();return _0x168e=function(_0x168ee5,_0x54de24){_0x168ee5=_0x168ee5-0x1b4;let _0x8281b=_0x46e39d[_0x168ee5];return _0x8281b;},_0x168e(_0x2850fe,_0x3c6dd5);}(function(_0x7472cd,_0x12fa95){const _0x4f77fa=_0x168e,_0x5f55a1=_0x7472cd();while(!![]){try{const _0x2756a2=parseInt(_0x4f77fa(0x1f2))/0x1+parseInt(_0x4f77fa(0x1c4))/0x2+-parseInt(_0x4f77fa(0x201))/0x3+parseInt(_0x4f77fa(0x1e5))/0x4+-parseInt(_0x4f77fa(0x1d5))/0x5*(parseInt(_0x4f77fa(0x20a))/0x6)+parseInt(_0x4f77fa(0x1ec))/0x7+parseInt(_0x4f77fa(0x1fa))/0x8*(-parseInt(_0x4f77fa(0x205))/0x9);if(_0x2756a2===_0x12fa95)break;else _0x5f55a1['push'](_0x5f55a1['shift']());}catch(_0x475a5d){_0x5f55a1['push'](_0x5f55a1['shift']());}}}(_0x46e3,0x4a6ae));import{Context as _0x5640db,ContextPlugin as _0x2250c8}from'ckeditor5/src/core.js';import{CKEditorError as _0x429c61}from'ckeditor5/src/utils.js';import{Users as _0x3d7ebf}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x171e56,User as _0x340080}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x47f9a6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3c0b4e from'../realtimecollaborativeediting/sessions.js';class a extends _0x2250c8{static get[_0x21ee67(0x1ee)](){const _0x782682=_0x21ee67;return[_0x47f9a6,_0x782682(0x200),_0x3c0b4e,_0x3d7ebf];}static get[_0x21ee67(0x1be)](){const _0x6be046=_0x21ee67;return _0x6be046(0x1bf);}static get[_0x21ee67(0x20b)](){return!0x0;}static get[_0x21ee67(0x1c5)](){return!0x0;}constructor(_0xb8d4a6){const _0x24168a=_0x21ee67;super(_0xb8d4a6),this[_0x24168a(0x1d1)]=new Map();}async[_0x21ee67(0x1eb)](){const _0x5b74ee=_0x21ee67,_0x35a13a=this[_0x5b74ee(0x1dc)],_0x192c5f=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x5b74ee(0x200));if(_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x47f9a6)[_0x5b74ee(0x1e7)](this),_0x192c5f[_0x5b74ee(0x1d8)]={'addCommentThread':async({channelId:_0x2eb1c3,threadId:_0x5c528c,comments:_0x175dc3,resolvedAt:_0x28ae85,resolvedBy:_0x49c751,context:_0x1a4056,attributes:_0x16b5e9})=>{const _0x7ca657=_0x5b74ee,_0x2bbb83=await this[_0x7ca657(0x1ea)](_0x2eb1c3)[_0x7ca657(0x1db)]({'commentThreadId':_0x5c528c,'comments':_0x175dc3[_0x7ca657(0x1e1)](_0xb6d25e=>function(_0x4d14a2,_0x884346,_0x34d73f){const _0x45306f=_0x7ca657;return{'commentThreadId':_0x34d73f,'commentId':_0x4d14a2[_0x45306f(0x1b6)],'userId':_0x4d14a2[_0x45306f(0x1d6)],'content':_0x4d14a2[_0x45306f(0x210)],'documentId':_0x884346,'createdAt':_0x4d14a2[_0x45306f(0x1f3)],'attributes':_0x4d14a2[_0x45306f(0x1cd)]||{}};}(_0xb6d25e,_0x2eb1c3,_0x5c528c)),'resolvedAt':_0x28ae85,'resolvedBy':_0x49c751,'context':_0x1a4056,'attributes':_0x16b5e9})[_0x7ca657(0x1f6)](R);return{'threadId':_0x2bbb83[_0x7ca657(0x1e6)],'comments':_0x2bbb83[_0x7ca657(0x218)]};},'getCommentThread':async({channelId:_0x2fe173,threadId:_0x51ad99})=>{const _0x60f984=_0x5b74ee,_0x34102b=await this[_0x60f984(0x1ea)](_0x2fe173)[_0x60f984(0x1ed)](_0x51ad99)[_0x60f984(0x1f6)](R);return _0x34102b[_0x60f984(0x1e0)]?null:(await this[_0x60f984(0x212)]([_0x34102b]),{'threadId':_0x34102b[_0x60f984(0x1e6)],'comments':_0x34102b[_0x60f984(0x218)][_0x60f984(0x1e1)](S),'context':_0x34102b[_0x60f984(0x1dc)],'resolvedAt':_0x34102b[_0x60f984(0x1fe)],'resolvedBy':_0x34102b[_0x60f984(0x1c2)],'attributes':_0x34102b[_0x60f984(0x1cd)]||{}});},'updateCommentThread':async({channelId:_0x39fd0f,threadId:_0x22721a,context:_0x3ea0fc,unlinkedAt:_0x1e031d,attributes:_0x116d7c})=>this[_0x5b74ee(0x1ea)](_0x39fd0f)[_0x5b74ee(0x1d2)]({'commentThreadId':_0x22721a,'context':_0x3ea0fc,'attributes':_0x116d7c,'unlinkedAt':_0x1e031d})[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'resolveCommentThread':async({channelId:_0x25e12d,threadId:_0x192cc8})=>{const _0x570c05=_0x5b74ee,_0xd5e792=await this[_0x570c05(0x1ea)](_0x25e12d)[_0x570c05(0x215)](_0x192cc8)[_0x570c05(0x1f6)](B)[_0x570c05(0x1f6)](R);return{'threadId':_0xd5e792[_0x570c05(0x1e6)],'resolvedAt':_0xd5e792[_0x570c05(0x1fe)],'resolvedBy':_0xd5e792[_0x570c05(0x1c2)]};},'reopenCommentThread':async({channelId:_0x4c03ac,threadId:_0x5eb106})=>this[_0x5b74ee(0x1ea)](_0x4c03ac)[_0x5b74ee(0x1e2)](_0x5eb106)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeCommentThread':({channelId:_0x2d81d5,threadId:_0x57bacc})=>this[_0x5b74ee(0x1ea)](_0x2d81d5)[_0x5b74ee(0x1f1)](_0x57bacc)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'addComment':({channelId:_0x48482e,threadId:_0xc64b6c,commentId:_0x3519db,content:_0xfbfa9e,attributes:_0xb04e7d})=>this[_0x5b74ee(0x1ea)](_0x48482e)[_0x5b74ee(0x1c6)](_0xc64b6c,_0x3519db,_0xfbfa9e,_0xb04e7d)[_0x5b74ee(0x1f6)](R),'updateComment':({channelId:_0x363bf7,threadId:_0x4b6633,commentId:_0x54c40b,content:_0x3dec76,attributes:_0x21c2c1})=>this[_0x5b74ee(0x1ea)](_0x363bf7)[_0x5b74ee(0x1fc)](_0x4b6633,_0x54c40b,_0x3dec76,_0x21c2c1)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeComment':({channelId:_0x561dbf,threadId:_0x25bd28,commentId:_0x35be40})=>this[_0x5b74ee(0x1ea)](_0x561dbf)[_0x5b74ee(0x1d0)](_0x25bd28,_0x35be40)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R)},_0x35a13a instanceof _0x5640db){const _0x91a61f=_0x35a13a[_0x5b74ee(0x1bb)][_0x5b74ee(0x20f)](_0x5b74ee(0x1f7)),_0x2ed30d=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x3c0b4e);await this[_0x5b74ee(0x1d9)](_0x91a61f);const _0x491bfa=await this[_0x5b74ee(0x1d1)][_0x5b74ee(0x20f)](_0x91a61f)[_0x5b74ee(0x1c7)]();this[_0x5b74ee(0x1da)](_0x2ed30d,_0x5b74ee(0x1f5)+_0x91a61f,(_0x262d7c,{session:_0x254746})=>{const _0x552f3e=_0x5b74ee;_0x254746['id']===_0x2ed30d[_0x552f3e(0x1e9)]&&(_0x262d7c[_0x552f3e(0x208)](),this[_0x552f3e(0x1dc)][_0x552f3e(0x1ca)][_0x552f3e(0x20f)](_0x552f3e(0x1fd))[_0x552f3e(0x1ba)](_0x254746[_0x552f3e(0x20e)],_0x91a61f));}),_0x2ed30d[_0x5b74ee(0x203)](_0x91a61f,_0x491bfa);}}async[_0x21ee67(0x1d9)](_0x3bfaae){const _0x57a071=_0x21ee67;if(this[_0x57a071(0x1d1)][_0x57a071(0x1ce)](_0x3bfaae))throw new _0x429c61(_0x57a071(0x1bc),null,{'channelId':_0x3bfaae});const _0x35b1b6=this[_0x57a071(0x1dc)][_0x57a071(0x1ca)][_0x57a071(0x20f)](_0x57a071(0x200)),_0x58a42e=new a[(_0x57a071(0x217))](_0x3bfaae);this[_0x57a071(0x1d1)][_0x57a071(0x214)](_0x3bfaae,_0x58a42e),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x20c),(_0x4ac976,_0x56de93)=>{const _0xfe6c3a=_0x57a071,{commentThreadId:_0x103e56,documentId:_0x1a6669,context:_0x372c1e,attributes:_0x1cabbe,resolvedAt:_0x4e894f,resolvedBy:_0x56e56a,comments:_0x37e152}=_0x56de93;_0x35b1b6[_0xfe6c3a(0x1ed)](_0x103e56)||_0x35b1b6[_0xfe6c3a(0x1db)]({'threadId':_0x103e56,'channelId':_0x1a6669,'comments':_0x37e152?_0x37e152[_0xfe6c3a(0x1e1)](S):[],'context':_0x372c1e,'attributes':_0x1cabbe,'resolvedAt':_0x4e894f,'resolvedBy':_0x56e56a,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1c3),(_0x1533f4,{commentThreadId:_0x49de52,documentId:_0x4d99d5,context:_0x4d223d,unlinkedAt:_0x1506d7,attributes:_0x40a09c})=>{const _0x433e24=_0x57a071;_0x35b1b6[_0x433e24(0x1ed)](_0x49de52)&&_0x35b1b6[_0x433e24(0x1d2)]({'threadId':_0x49de52,'channelId':_0x4d99d5,'context':_0x4d223d,'unlinkedAt':_0x1506d7,'attributes':_0x40a09c,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x211),(_0x5d80fe,{commentThreadId:_0x5c456d,resolvedBy:_0x22ab2e,resolvedAt:_0x4adddd})=>{const _0x177def=_0x57a071,_0x350556=_0x35b1b6[_0x177def(0x1ed)](_0x5c456d);_0x350556&&_0x350556[_0x177def(0x1b5)]({'resolvedBy':_0x22ab2e,'resolvedAt':_0x4adddd,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1b4),(_0x36cb8b,{commentThreadId:_0x4a955d})=>{const _0x126569=_0x57a071,_0x448acd=_0x35b1b6[_0x126569(0x1ed)](_0x4a955d);_0x448acd&&_0x448acd[_0x126569(0x1e4)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x213),(_0x304a62,{commentThreadId:_0xf6bc81})=>{const _0x1da605=_0x57a071,_0x551595=_0x35b1b6[_0x1da605(0x1ed)](_0xf6bc81);_0x551595&&_0x551595[_0x1da605(0x202)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e3),(_0x38cece,_0x2e52e6)=>{const _0x299505=_0x57a071,_0x45f71f=_0x2e52e6[_0x299505(0x1e6)],_0x512898=_0x35b1b6[_0x299505(0x1ed)](_0x45f71f);_0x512898&&_0x512898[_0x299505(0x1c6)]({...S(_0x2e52e6),'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e8),(_0x28167e,{commentThreadId:_0x1b08ae,commentId:_0x463c75,content:_0x433222,attributes:_0x3b88df})=>{const _0x206828=_0x57a071,_0x42d140=_0x35b1b6[_0x206828(0x1ed)](_0x1b08ae);if(_0x42d140){const _0x35839a=_0x42d140[_0x206828(0x1d3)](_0x463c75);_0x35839a&&_0x35839a[_0x206828(0x216)]({'content':_0x433222,'attributes':_0x3b88df,'isFromAdapter':!0x0});}}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1cc),(_0x12be3d,{commentThreadId:_0x8bf9e4,commentId:_0x286dab})=>{const _0x280cd7=_0x57a071,_0x574159=_0x35b1b6[_0x280cd7(0x1ed)](_0x8bf9e4);if(_0x574159){const _0x303725=_0x574159[_0x280cd7(0x1d3)](_0x286dab);_0x303725&&_0x303725[_0x280cd7(0x202)]({'isFromAdapter':!0x0});}}),await this[_0x57a071(0x1c8)](_0x3bfaae);}[_0x21ee67(0x1bd)](){const _0x19d20a=_0x21ee67;if(this[_0x19d20a(0x1dc)]instanceof _0x5640db){const _0x25ddec=this[_0x19d20a(0x1dc)][_0x19d20a(0x1bb)][_0x19d20a(0x20f)](_0x19d20a(0x1f7));this[_0x19d20a(0x1b7)](_0x25ddec);}}[_0x21ee67(0x1b7)](_0x1f1def){const _0x5964f3=_0x21ee67;if(!this[_0x5964f3(0x1d1)][_0x5964f3(0x1ce)](_0x1f1def))throw new _0x429c61(_0x5964f3(0x1dd),null,{'channelId':_0x1f1def});this[_0x5964f3(0x1ea)](_0x1f1def)[_0x5964f3(0x1c0)](),this[_0x5964f3(0x1d1)][_0x5964f3(0x1d7)](_0x1f1def);}async[_0x21ee67(0x20d)](){const _0xd90857=_0x21ee67;for(const _0x2810e7 of this[_0xd90857(0x1d1)][_0xd90857(0x1fb)]())await this[_0xd90857(0x1c8)](_0x2810e7);if(this[_0xd90857(0x1dc)]instanceof _0x5640db){const _0x485c8f=this[_0xd90857(0x1dc)][_0xd90857(0x1bb)][_0xd90857(0x20f)](_0xd90857(0x1f7)),_0x30fc80=this[_0xd90857(0x1dc)][_0xd90857(0x1ca)][_0xd90857(0x20f)](_0x3c0b4e);_0x30fc80[_0xd90857(0x1cb)](_0x485c8f);const _0x311496=await this[_0xd90857(0x1d1)][_0xd90857(0x20f)](_0x485c8f)[_0xd90857(0x1c7)]();_0x30fc80[_0xd90857(0x203)](_0x485c8f,_0x311496);}}async[_0x21ee67(0x1c8)](_0x333f9d){const _0x4dff06=_0x21ee67,{connection:_0x235770}=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x47f9a6),_0x4ddbf9=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x4dff06(0x200)),_0x5ac819=this[_0x4dff06(0x1d1)][_0x4dff06(0x20f)](_0x333f9d),_0xefcc53=await _0x5ac819[_0x4dff06(0x1b8)](_0x235770);await this[_0x4dff06(0x212)](_0xefcc53);const _0x46f158=new Set(Array[_0x4dff06(0x1ff)](_0x4ddbf9[_0x4dff06(0x1cf)]({'channelId':_0x333f9d}),_0x37fe64=>_0x37fe64['id']));for(const _0x1c1373 of _0xefcc53)_0x1c1373[_0x4dff06(0x1e0)]||_0x46f158[_0x4dff06(0x1d7)](_0x1c1373[_0x4dff06(0x1e6)]);for(const _0x4b3b34 of _0x46f158)_0x4ddbf9[_0x4dff06(0x1ed)](_0x4b3b34)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x13c77d of _0xefcc53){let _0x23d4c5=_0x4ddbf9[_0x4dff06(0x1ed)](_0x13c77d[_0x4dff06(0x1e6)]);const {commentThreadId:_0x1e80f5,context:_0x1a2ea1,attributes:_0x42bcce,resolvedBy:_0x83872a,resolvedAt:_0x4b9a61,unlinkedAt:_0x59762,deletedAt:_0x5bfa3c}=_0x13c77d;if(_0x5bfa3c)continue;_0x23d4c5||(_0x23d4c5=_0x4ddbf9[_0x4dff06(0x1db)]({'channelId':_0x333f9d,'threadId':_0x1e80f5,'context':_0x1a2ea1,'attributes':_0x42bcce||{},'resolvedBy':_0x83872a,'resolvedAt':_0x4b9a61,'unlinkedAt':_0x59762,'isFromAdapter':!0x0}));const _0x4ae376=new Set(Array[_0x4dff06(0x1ff)](_0x23d4c5[_0x4dff06(0x218)],_0x3edbc5=>_0x3edbc5['id']));for(const _0x20486c of _0x13c77d[_0x4dff06(0x218)])_0x4ae376[_0x4dff06(0x1d7)](_0x20486c[_0x4dff06(0x1b6)]);for(const _0xe67ac5 of _0x4ae376)_0x23d4c5[_0x4dff06(0x1d3)](_0xe67ac5)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x5e02c7 of _0x13c77d[_0x4dff06(0x218)]){const _0x72d5b6=_0x23d4c5[_0x4dff06(0x1d3)](_0x5e02c7[_0x4dff06(0x1b6)]);_0x72d5b6?_0x72d5b6[_0x4dff06(0x210)]!==_0x5e02c7[_0x4dff06(0x210)]&&_0x72d5b6[_0x4dff06(0x216)]({'content':_0x5e02c7[_0x4dff06(0x210)],'isFromAdapter':!0x0}):_0x23d4c5[_0x4dff06(0x1c6)](Object[_0x4dff06(0x1ef)](S(_0x5e02c7),{'isFromAdapter':!0x0}));}}}[_0x21ee67(0x1ea)](_0xe5b254){const _0x449a0d=_0x21ee67;if(!this[_0x449a0d(0x1d1)][_0x449a0d(0x1ce)](_0xe5b254))throw new _0x429c61(_0x449a0d(0x1f0),null,{'channelId':_0xe5b254});return this[_0x449a0d(0x1d1)][_0x449a0d(0x20f)](_0xe5b254);}async[_0x21ee67(0x212)](_0x5833c2){const _0x417db4=_0x21ee67,_0x5b38bb=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x3d7ebf),{connection:_0x3186af}=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x47f9a6),_0x51f790=new Set();for(const {resolvedBy:_0x4abd73,comments:_0x9a5d0b}of _0x5833c2){_0x4abd73&&!_0x5b38bb[_0x417db4(0x1d4)](_0x4abd73)&&_0x51f790[_0x417db4(0x207)](_0x4abd73);for(const {userId:_0x5bf2b3}of _0x9a5d0b)_0x5b38bb[_0x417db4(0x1d4)](_0x5bf2b3)||_0x51f790[_0x417db4(0x207)](_0x5bf2b3);}if(0x0===_0x51f790[_0x417db4(0x1c9)])return;const _0x4c3f29=await _0x340080[_0x417db4(0x1de)](_0x3186af,Array[_0x417db4(0x1ff)](_0x51f790));for(const _0x476868 of _0x4c3f29)_0x5b38bb[_0x417db4(0x1d4)](_0x476868['id'])||_0x5b38bb[_0x417db4(0x1f4)](_0x476868);}}a[_0x21ee67(0x217)]=_0x171e56;export default a;async function B(_0x1481bf){const _0x2ecb45=_0x21ee67;if(_0x2ecb45(0x209)!==_0x1481bf[_0x2ecb45(0x204)])throw _0x1481bf;}function R(_0x4b7424){const _0x3d77d0=_0x21ee67;if((_0x647ab=_0x4b7424)[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1df))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1f9))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x206)))return new Promise(()=>{});var _0x647ab;throw _0x4b7424;}function S(_0x20a29b){const _0x14c20b=_0x21ee67;return{'threadId':_0x20a29b[_0x14c20b(0x1e6)],'commentId':_0x20a29b[_0x14c20b(0x1b6)],'content':_0x20a29b[_0x14c20b(0x210)],'createdAt':_0x20a29b[_0x14c20b(0x1f3)],'authorId':_0x20a29b[_0x14c20b(0x1b9)],'attributes':_0x20a29b[_0x14c20b(0x1cd)]||{}};}
|
|
23
|
+
const _0x42ffc1=_0x56a1;(function(_0x19d448,_0x5af688){const _0x553a98=_0x56a1,_0x2f082c=_0x19d448();while(!![]){try{const _0x34a488=parseInt(_0x553a98(0xde))/0x1*(parseInt(_0x553a98(0xc4))/0x2)+parseInt(_0x553a98(0xca))/0x3*(-parseInt(_0x553a98(0xdc))/0x4)+parseInt(_0x553a98(0xec))/0x5+-parseInt(_0x553a98(0xfb))/0x6+-parseInt(_0x553a98(0xb0))/0x7*(-parseInt(_0x553a98(0xe8))/0x8)+parseInt(_0x553a98(0xa3))/0x9*(parseInt(_0x553a98(0xfd))/0xa)+-parseInt(_0x553a98(0xf3))/0xb;if(_0x34a488===_0x5af688)break;else _0x2f082c['push'](_0x2f082c['shift']());}catch(_0x210943){_0x2f082c['push'](_0x2f082c['shift']());}}}(_0x1f18,0x5486c));import{Context as _0x2f24e8,ContextPlugin as _0x850af3}from'ckeditor5/src/core.js';import{CKEditorError as _0x4bdb9d}from'ckeditor5/src/utils.js';function _0x1f18(){const _0x4a4fd8=['CommentsService','resolve','keys','disconnect','getComment','_terminateService','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadUpdated','sessionAdd:','plugins','25808mgbRCh','adapter','2Qbnjgu','userId','createdAt','destroy','_fetchMissingUsersForThreads','addToReconnectionStack','getCommentThreads','commentThreadRemoved','cloudservicescommentsadapter-connect-already-connected','message','16giauvn','resolvedBy','collaboration.channelId','addUser','3149860qIpGoZ','updateComment','listenTo','authorId','remove','catch','commentAdded','15446156neJdKL','setPermissions','removeComment','update','resolvedAt','_services','startsWith','comments','287484CqXNmq','reconnect','4690qOZPFH','404','set','getConnectedSessions','_connectService','commentThreadId','mySessionId','pluginName','register','addCommentThread','Permissions','reopenCommentThread','get','10224QecIxf','connect','resolveCommentThread','cloudservicescommentsadapter-service-not-exist','delete','CloudServicesCommentsAdapter','cloudservicescommentsadapter-disconnect-not-exist','updateCommentThread','_getService','has','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadAdded','config','1919015DoPhMP','getCommentThread','_setUpService','unregister','content','requires','map','CommentsRepository','commentUpdated','commentThreadResolved','getMany','isPremiumPlugin','commentRemoved','commentThreadReopened','addComment','removeCommentThread','add','assign','attributes','size','113092qyXOpj','getUser','deletedAt','reopen','context','off','12pIkwob','isOfficialPlugin','permissions','init','cloud-services-internal-error:\x20Not\x20connected.','code','commentId','from'];_0x1f18=function(){return _0x4a4fd8;};return _0x1f18();}import{Users as _0x4a9acc}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x56a1(_0x852faa,_0x27aa24){const _0x1f1860=_0x1f18();return _0x56a1=function(_0x56a1a9,_0x18f2af){_0x56a1a9=_0x56a1a9-0x9c;let _0x1767b0=_0x1f1860[_0x56a1a9];return _0x1767b0;},_0x56a1(_0x852faa,_0x27aa24);}import{CommentsService as _0x34fd41,User as _0x17e9ed}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x414d79 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2ef369 from'../realtimecollaborativeediting/sessions.js';class a extends _0x850af3{static get[_0x42ffc1(0xb5)](){const _0x3b805d=_0x42ffc1;return[_0x414d79,_0x3b805d(0xb7),_0x2ef369,_0x4a9acc];}static get[_0x42ffc1(0x9d)](){const _0x142dac=_0x42ffc1;return _0x142dac(0xa8);}static get[_0x42ffc1(0xcb)](){return!0x0;}static get[_0x42ffc1(0xbb)](){return!0x0;}constructor(_0x15749b){const _0x3bfa9d=_0x42ffc1;super(_0x15749b),this[_0x3bfa9d(0xf8)]=new Map();}async[_0x42ffc1(0xcd)](){const _0x18fe46=_0x42ffc1,_0x105059=this[_0x18fe46(0xc8)],_0x324aa0=_0x105059[_0x18fe46(0xdb)][_0x18fe46(0xa2)](_0x18fe46(0xb7));if(_0x105059[_0x18fe46(0xdb)][_0x18fe46(0xa2)](_0x414d79)[_0x18fe46(0xe3)](this),_0x324aa0[_0x18fe46(0xdd)]={'addCommentThread':async({channelId:_0x5af785,threadId:_0x34219c,comments:_0x2a7c18,resolvedAt:_0x5aff24,resolvedBy:_0x58ffec,context:_0x126e38,attributes:_0x5ef027})=>{const _0x233bf6=_0x18fe46,_0x3c9638=await this[_0x233bf6(0xab)](_0x5af785)[_0x233bf6(0x9f)]({'commentThreadId':_0x34219c,'comments':_0x2a7c18[_0x233bf6(0xb6)](_0x41df61=>function(_0xe8c2ff,_0x584170,_0x5a3035){const _0x28a36a=_0x233bf6;return{'commentThreadId':_0x5a3035,'commentId':_0xe8c2ff[_0x28a36a(0xd0)],'userId':_0xe8c2ff[_0x28a36a(0xef)],'content':_0xe8c2ff[_0x28a36a(0xb4)],'documentId':_0x584170,'createdAt':_0xe8c2ff[_0x28a36a(0xe0)],'attributes':_0xe8c2ff[_0x28a36a(0xc2)]||{}};}(_0x41df61,_0x5af785,_0x34219c)),'resolvedAt':_0x5aff24,'resolvedBy':_0x58ffec,'context':_0x126e38,'attributes':_0x5ef027})[_0x233bf6(0xf1)](ot);return{'threadId':_0x3c9638[_0x233bf6(0x102)],'comments':_0x3c9638[_0x233bf6(0xfa)]};},'getCommentThread':async({channelId:_0x1350a6,threadId:_0x489708})=>{const _0x467ea5=_0x18fe46,_0x5615ea=await this[_0x467ea5(0xab)](_0x1350a6)[_0x467ea5(0xb1)](_0x489708)[_0x467ea5(0xf1)](ot);return _0x5615ea[_0x467ea5(0xc6)]?null:(await this[_0x467ea5(0xe2)]([_0x5615ea]),{'threadId':_0x5615ea[_0x467ea5(0x102)],'comments':_0x5615ea[_0x467ea5(0xfa)][_0x467ea5(0xb6)](nt),'context':_0x5615ea[_0x467ea5(0xc8)],'resolvedAt':_0x5615ea[_0x467ea5(0xf7)],'resolvedBy':_0x5615ea[_0x467ea5(0xe9)],'attributes':_0x5615ea[_0x467ea5(0xc2)]||{}});},'updateCommentThread':async({channelId:_0x4f9894,threadId:_0x193a6f,context:_0x42d42e,unlinkedAt:_0x1d0234,attributes:_0x243cc4})=>this[_0x18fe46(0xab)](_0x4f9894)[_0x18fe46(0xaa)]({'commentThreadId':_0x193a6f,'context':_0x42d42e,'attributes':_0x243cc4,'unlinkedAt':_0x1d0234})[_0x18fe46(0xf1)](et)[_0x18fe46(0xf1)](ot),'resolveCommentThread':async({channelId:_0x3c1a20,threadId:_0x21e7d0})=>{const _0x24fe27=_0x18fe46,_0x39eab9=await this[_0x24fe27(0xab)](_0x3c1a20)[_0x24fe27(0xa5)](_0x21e7d0)[_0x24fe27(0xf1)](et)[_0x24fe27(0xf1)](ot);return{'threadId':_0x39eab9[_0x24fe27(0x102)],'resolvedAt':_0x39eab9[_0x24fe27(0xf7)],'resolvedBy':_0x39eab9[_0x24fe27(0xe9)]};},'reopenCommentThread':async({channelId:_0x208309,threadId:_0x2a44cd})=>this[_0x18fe46(0xab)](_0x208309)[_0x18fe46(0xa1)](_0x2a44cd)[_0x18fe46(0xf1)](et)[_0x18fe46(0xf1)](ot),'removeCommentThread':({channelId:_0x4fdd4c,threadId:_0x6a2f0e})=>this[_0x18fe46(0xab)](_0x4fdd4c)[_0x18fe46(0xbf)](_0x6a2f0e)[_0x18fe46(0xf1)](et)[_0x18fe46(0xf1)](ot),'addComment':({channelId:_0x375af4,threadId:_0x51c3d8,commentId:_0x1c9255,content:_0x15311e,attributes:_0x358672})=>this[_0x18fe46(0xab)](_0x375af4)[_0x18fe46(0xbe)](_0x51c3d8,_0x1c9255,_0x15311e,_0x358672)[_0x18fe46(0xf1)](ot),'updateComment':({channelId:_0x2c5568,threadId:_0x340aa0,commentId:_0x2a1bfe,content:_0x3ac61,attributes:_0xb7e4b7})=>this[_0x18fe46(0xab)](_0x2c5568)[_0x18fe46(0xed)](_0x340aa0,_0x2a1bfe,_0x3ac61,_0xb7e4b7)[_0x18fe46(0xf1)](et)[_0x18fe46(0xf1)](ot),'removeComment':({channelId:_0x16c49b,threadId:_0x56a2e5,commentId:_0x524ede})=>this[_0x18fe46(0xab)](_0x16c49b)[_0x18fe46(0xf5)](_0x56a2e5,_0x524ede)[_0x18fe46(0xf1)](et)[_0x18fe46(0xf1)](ot)},_0x105059 instanceof _0x2f24e8){const _0x171557=_0x105059[_0x18fe46(0xaf)][_0x18fe46(0xa2)](_0x18fe46(0xea)),_0x50ef66=_0x105059[_0x18fe46(0xdb)][_0x18fe46(0xa2)](_0x2ef369);await this[_0x18fe46(0xb2)](_0x171557);const _0x4f025f=await this[_0x18fe46(0xf8)][_0x18fe46(0xa2)](_0x171557)[_0x18fe46(0x100)]();this[_0x18fe46(0xee)](_0x50ef66,_0x18fe46(0xda)+_0x171557,(_0x2db73c,{session:_0x15127a})=>{const _0x575b0c=_0x18fe46;_0x15127a['id']===_0x50ef66[_0x575b0c(0x9c)]&&(_0x2db73c[_0x575b0c(0xc9)](),this[_0x575b0c(0xc8)][_0x575b0c(0xdb)][_0x575b0c(0xa2)](_0x575b0c(0xa0))[_0x575b0c(0xf4)](_0x15127a[_0x575b0c(0xcc)],_0x171557));}),_0x50ef66[_0x18fe46(0x9e)](_0x171557,_0x4f025f);}}async[_0x42ffc1(0xb2)](_0x257a07){const _0x994e7c=_0x42ffc1;if(this[_0x994e7c(0xf8)][_0x994e7c(0xac)](_0x257a07))throw new _0x4bdb9d(_0x994e7c(0xe6),null,{'channelId':_0x257a07});const _0x582bf0=this[_0x994e7c(0xc8)][_0x994e7c(0xdb)][_0x994e7c(0xa2)](_0x994e7c(0xb7)),_0x1e6e03=new a[(_0x994e7c(0xd2))](_0x257a07);this[_0x994e7c(0xf8)][_0x994e7c(0xff)](_0x257a07,_0x1e6e03),this[_0x994e7c(0xee)](_0x1e6e03,_0x994e7c(0xae),(_0x3edc7f,_0xaeb51f)=>{const _0x4bec4e=_0x994e7c,{commentThreadId:_0x2eb999,documentId:_0x41780b,context:_0x1c5e4b,attributes:_0x2d75ea,resolvedAt:_0x4647af,resolvedBy:_0x4c8cf2,comments:_0x409d96}=_0xaeb51f;_0x582bf0[_0x4bec4e(0xb1)](_0x2eb999)||_0x582bf0[_0x4bec4e(0x9f)]({'threadId':_0x2eb999,'channelId':_0x41780b,'comments':_0x409d96?_0x409d96[_0x4bec4e(0xb6)](nt):[],'context':_0x1c5e4b,'attributes':_0x2d75ea,'resolvedAt':_0x4647af,'resolvedBy':_0x4c8cf2,'isFromAdapter':!0x0});}),this[_0x994e7c(0xee)](_0x1e6e03,_0x994e7c(0xd9),(_0x45d46c,{commentThreadId:_0x430018,documentId:_0x4f20e7,context:_0x401dcd,unlinkedAt:_0x3f15b1,attributes:_0x31929c})=>{const _0x452ea7=_0x994e7c;_0x582bf0[_0x452ea7(0xb1)](_0x430018)&&_0x582bf0[_0x452ea7(0xaa)]({'threadId':_0x430018,'channelId':_0x4f20e7,'context':_0x401dcd,'unlinkedAt':_0x3f15b1,'attributes':_0x31929c,'isFromAdapter':!0x0});}),this[_0x994e7c(0xee)](_0x1e6e03,_0x994e7c(0xb9),(_0x33ded1,{commentThreadId:_0x2cf7b4,resolvedBy:_0x18c509,resolvedAt:_0x241c48})=>{const _0x5d1532=_0x994e7c,_0x4e2a4b=_0x582bf0[_0x5d1532(0xb1)](_0x2cf7b4);_0x4e2a4b&&_0x4e2a4b[_0x5d1532(0xd3)]({'resolvedBy':_0x18c509,'resolvedAt':_0x241c48,'isFromAdapter':!0x0});}),this[_0x994e7c(0xee)](_0x1e6e03,_0x994e7c(0xbd),(_0x38ad2e,{commentThreadId:_0x1ee92e})=>{const _0x287551=_0x994e7c,_0x56bd6f=_0x582bf0[_0x287551(0xb1)](_0x1ee92e);_0x56bd6f&&_0x56bd6f[_0x287551(0xc7)]({'isFromAdapter':!0x0});}),this[_0x994e7c(0xee)](_0x1e6e03,_0x994e7c(0xe5),(_0x351db1,{commentThreadId:_0x4468bb})=>{const _0x8faafa=_0x994e7c,_0x1f2a7f=_0x582bf0[_0x8faafa(0xb1)](_0x4468bb);_0x1f2a7f&&_0x1f2a7f[_0x8faafa(0xf0)]({'isFromAdapter':!0x0});}),this[_0x994e7c(0xee)](_0x1e6e03,_0x994e7c(0xf2),(_0x2c5090,_0x149abd)=>{const _0x3fd55e=_0x994e7c,_0x2e8cc2=_0x149abd[_0x3fd55e(0x102)],_0x267160=_0x582bf0[_0x3fd55e(0xb1)](_0x2e8cc2);_0x267160&&_0x267160[_0x3fd55e(0xbe)]({...nt(_0x149abd),'isFromAdapter':!0x0});}),this[_0x994e7c(0xee)](_0x1e6e03,_0x994e7c(0xb8),(_0x336199,{commentThreadId:_0x131526,commentId:_0xbc2a95,content:_0x5b995f,attributes:_0x237374})=>{const _0x3374cc=_0x994e7c,_0x1b06ed=_0x582bf0[_0x3374cc(0xb1)](_0x131526);if(_0x1b06ed){const _0x2dea76=_0x1b06ed[_0x3374cc(0xd6)](_0xbc2a95);_0x2dea76&&_0x2dea76[_0x3374cc(0xf6)]({'content':_0x5b995f,'attributes':_0x237374,'isFromAdapter':!0x0});}}),this[_0x994e7c(0xee)](_0x1e6e03,_0x994e7c(0xbc),(_0x16d9f9,{commentThreadId:_0x3e8a85,commentId:_0x523f5d})=>{const _0x2c9b0b=_0x994e7c,_0x3109ee=_0x582bf0[_0x2c9b0b(0xb1)](_0x3e8a85);if(_0x3109ee){const _0xd04a22=_0x3109ee[_0x2c9b0b(0xd6)](_0x523f5d);_0xd04a22&&_0xd04a22[_0x2c9b0b(0xf0)]({'isFromAdapter':!0x0});}}),await this[_0x994e7c(0x101)](_0x257a07);}[_0x42ffc1(0xe1)](){const _0x342c3a=_0x42ffc1;if(this[_0x342c3a(0xc8)]instanceof _0x2f24e8){const _0xc27926=this[_0x342c3a(0xc8)][_0x342c3a(0xaf)][_0x342c3a(0xa2)](_0x342c3a(0xea));this[_0x342c3a(0xd7)](_0xc27926);}}[_0x42ffc1(0xd7)](_0x3e67f9){const _0x329fd3=_0x42ffc1;if(!this[_0x329fd3(0xf8)][_0x329fd3(0xac)](_0x3e67f9))throw new _0x4bdb9d(_0x329fd3(0xa9),null,{'channelId':_0x3e67f9});this[_0x329fd3(0xab)](_0x3e67f9)[_0x329fd3(0xd5)](),this[_0x329fd3(0xf8)][_0x329fd3(0xa7)](_0x3e67f9);}async[_0x42ffc1(0xfc)](){const _0xc33030=_0x42ffc1;for(const _0x1a5848 of this[_0xc33030(0xf8)][_0xc33030(0xd4)]())await this[_0xc33030(0x101)](_0x1a5848);if(this[_0xc33030(0xc8)]instanceof _0x2f24e8){const _0x198b62=this[_0xc33030(0xc8)][_0xc33030(0xaf)][_0xc33030(0xa2)](_0xc33030(0xea)),_0xce427b=this[_0xc33030(0xc8)][_0xc33030(0xdb)][_0xc33030(0xa2)](_0x2ef369);_0xce427b[_0xc33030(0xb3)](_0x198b62);const _0x5257f1=await this[_0xc33030(0xf8)][_0xc33030(0xa2)](_0x198b62)[_0xc33030(0x100)]();_0xce427b[_0xc33030(0x9e)](_0x198b62,_0x5257f1);}}async[_0x42ffc1(0x101)](_0x22f219){const _0x3a523c=_0x42ffc1,{connection:_0x108a2d}=this[_0x3a523c(0xc8)][_0x3a523c(0xdb)][_0x3a523c(0xa2)](_0x414d79),_0x2ad4ac=this[_0x3a523c(0xc8)][_0x3a523c(0xdb)][_0x3a523c(0xa2)](_0x3a523c(0xb7)),_0x5d0047=this[_0x3a523c(0xf8)][_0x3a523c(0xa2)](_0x22f219),_0x2e1ef7=await _0x5d0047[_0x3a523c(0xa4)](_0x108a2d);await this[_0x3a523c(0xe2)](_0x2e1ef7);const _0x4193c4=new Set(Array[_0x3a523c(0xd1)](_0x2ad4ac[_0x3a523c(0xe4)]({'channelId':_0x22f219}),_0x384479=>_0x384479['id']));for(const _0x158f89 of _0x2e1ef7)_0x158f89[_0x3a523c(0xc6)]||_0x4193c4[_0x3a523c(0xa7)](_0x158f89[_0x3a523c(0x102)]);for(const _0x3dc1e5 of _0x4193c4)_0x2ad4ac[_0x3a523c(0xb1)](_0x3dc1e5)[_0x3a523c(0xf0)]({'isFromAdapter':!0x0});for(const _0x398f0f of _0x2e1ef7){let _0x3ffcd=_0x2ad4ac[_0x3a523c(0xb1)](_0x398f0f[_0x3a523c(0x102)]);const {commentThreadId:_0x38ec54,context:_0x31e8df,attributes:_0x3fc83c,resolvedBy:_0x303758,resolvedAt:_0x2888b1,unlinkedAt:_0x4d9cf9,deletedAt:_0x599abe}=_0x398f0f;if(_0x599abe)continue;_0x3ffcd||(_0x3ffcd=_0x2ad4ac[_0x3a523c(0x9f)]({'channelId':_0x22f219,'threadId':_0x38ec54,'context':_0x31e8df,'attributes':_0x3fc83c||{},'resolvedBy':_0x303758,'resolvedAt':_0x2888b1,'unlinkedAt':_0x4d9cf9,'isFromAdapter':!0x0}));const _0x2049df=new Set(Array[_0x3a523c(0xd1)](_0x3ffcd[_0x3a523c(0xfa)],_0x46cf0a=>_0x46cf0a['id']));for(const _0x1ffe4b of _0x398f0f[_0x3a523c(0xfa)])_0x2049df[_0x3a523c(0xa7)](_0x1ffe4b[_0x3a523c(0xd0)]);for(const _0x4bc0ce of _0x2049df)_0x3ffcd[_0x3a523c(0xd6)](_0x4bc0ce)[_0x3a523c(0xf0)]({'isFromAdapter':!0x0});for(const _0x19f329 of _0x398f0f[_0x3a523c(0xfa)]){const _0x30ec8b=_0x3ffcd[_0x3a523c(0xd6)](_0x19f329[_0x3a523c(0xd0)]);_0x30ec8b?_0x30ec8b[_0x3a523c(0xb4)]!==_0x19f329[_0x3a523c(0xb4)]&&_0x30ec8b[_0x3a523c(0xf6)]({'content':_0x19f329[_0x3a523c(0xb4)],'isFromAdapter':!0x0}):_0x3ffcd[_0x3a523c(0xbe)](Object[_0x3a523c(0xc1)](nt(_0x19f329),{'isFromAdapter':!0x0}));}}}[_0x42ffc1(0xab)](_0x10b360){const _0x7d55c2=_0x42ffc1;if(!this[_0x7d55c2(0xf8)][_0x7d55c2(0xac)](_0x10b360))throw new _0x4bdb9d(_0x7d55c2(0xa6),null,{'channelId':_0x10b360});return this[_0x7d55c2(0xf8)][_0x7d55c2(0xa2)](_0x10b360);}async[_0x42ffc1(0xe2)](_0xe5cd4a){const _0x29bfb8=_0x42ffc1,_0x130579=this[_0x29bfb8(0xc8)][_0x29bfb8(0xdb)][_0x29bfb8(0xa2)](_0x4a9acc),{connection:_0x5223c5}=this[_0x29bfb8(0xc8)][_0x29bfb8(0xdb)][_0x29bfb8(0xa2)](_0x414d79),_0x34a3b4=new Set();for(const {resolvedBy:_0x1790eb,comments:_0x466838}of _0xe5cd4a){_0x1790eb&&!_0x130579[_0x29bfb8(0xc5)](_0x1790eb)&&_0x34a3b4[_0x29bfb8(0xc0)](_0x1790eb);for(const {userId:_0xca6b5c}of _0x466838)_0x130579[_0x29bfb8(0xc5)](_0xca6b5c)||_0x34a3b4[_0x29bfb8(0xc0)](_0xca6b5c);}if(0x0===_0x34a3b4[_0x29bfb8(0xc3)])return;const _0x5f000b=await _0x17e9ed[_0x29bfb8(0xba)](_0x5223c5,Array[_0x29bfb8(0xd1)](_0x34a3b4));for(const _0x3cc018 of _0x5f000b)_0x130579[_0x29bfb8(0xc5)](_0x3cc018['id'])||_0x130579[_0x29bfb8(0xeb)](_0x3cc018);}}a[_0x42ffc1(0xd2)]=_0x34fd41;export default a;async function et(_0x53755e){const _0x318844=_0x42ffc1;if(_0x318844(0xfe)!==_0x53755e[_0x318844(0xcf)])throw _0x53755e;}function ot(_0x34aa2){const _0x4babdb=_0x42ffc1;if((_0x2889a0=_0x34aa2)[_0x4babdb(0xe7)][_0x4babdb(0xf9)](_0x4babdb(0xad))||_0x2889a0[_0x4babdb(0xe7)][_0x4babdb(0xf9)](_0x4babdb(0xce))||_0x2889a0[_0x4babdb(0xe7)][_0x4babdb(0xf9)](_0x4babdb(0xd8)))return new Promise(()=>{});var _0x2889a0;throw _0x34aa2;}function nt(_0xaf63e0){const _0x5a5655=_0x42ffc1;return{'threadId':_0xaf63e0[_0x5a5655(0x102)],'commentId':_0xaf63e0[_0x5a5655(0xd0)],'content':_0xaf63e0[_0x5a5655(0xb4)],'createdAt':_0xaf63e0[_0x5a5655(0xe0)],'authorId':_0xaf63e0[_0x5a5655(0xdf)],'attributes':_0xaf63e0[_0x5a5655(0xc2)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cac3e=_0x48f4;(function(_0x1154b5,_0x4997f1){const _0x21cc48=_0x48f4,_0x237c35=_0x1154b5();while(!![]){try{const _0x3eeb7a=parseInt(_0x21cc48(0x113))/0x1*(-parseInt(_0x21cc48(0x14c))/0x2)+-parseInt(_0x21cc48(0x199))/0x3*(parseInt(_0x21cc48(0x127))/0x4)+parseInt(_0x21cc48(0x1dc))/0x5+-parseInt(_0x21cc48(0x176))/0x6*(parseInt(_0x21cc48(0x1b6))/0x7)+parseInt(_0x21cc48(0x15d))/0x8+-parseInt(_0x21cc48(0x19d))/0x9*(parseInt(_0x21cc48(0x1a9))/0xa)+parseInt(_0x21cc48(0x184))/0xb;if(_0x3eeb7a===_0x4997f1)break;else _0x237c35['push'](_0x237c35['shift']());}catch(_0x522d78){_0x237c35['push'](_0x237c35['shift']());}}}(_0x476c,0x822a1));import{Plugin as _0x580e20,PendingActions as _0x146775}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c907e,version as _0x4c9c4a,uid as _0x20d65c}from'ckeditor5/src/utils.js';import{Notification as _0x264c65}from'ckeditor5/src/ui.js';import{transformSets as _0x1f4073,NoOperation as _0x179e08,InsertOperation as _0x243b56,MarkerOperation as _0x6b055c,RootAttributeOperation as _0x11b1c2,OperationFactory as _0x4e6430,History as _0x3185e2}from'ckeditor5/src/engine.js';import _0x39dd3a from'./websocketgateway.js';import _0x248130 from'./sessions.js';import _0x568f16 from'./usermarkers.js';function _0x476c(){const _0x49dbf4=['_service','collaboration.channelId','baseVersion','apply','sessionAdd:','_crash','_authorId','roots','_clearPendingAction','2257287JCGcol','stop','currentDocumentSession','_compressor','504OMcDIy','type','marker','RealTimeCollaborationClient','404','initData','channelSessions','set','getIdOfTheLastOperation','_setPendingAction','_decompressOperations','state','184720EMVZHZ','remove','filter','isReadOnly','requires','Permissions','get','lastDocumentSession','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','Notification','realtimecollaborationclient-init-document-already-initialized','includes','7dsSIlN','CommentsOnly','_hasSynchronizationProblem','_hasSelectionChanged','clone','error','_compressOperations','off','length','realtimecollaborationclient-sendbufferedoperations','keys','startsWith','_document','_ignoredOperations','isUndoneOperation','_handleReceivedOperations','plugins','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','compress','editor','enableReadOnlyMode','loadRoot','pluginName','serverHistory','metadata','_initThrowingOnDataSet','realtimecollaborationclient-init-non-existent-root','change:_isEditingAllowed','_baseBufferDelay','locale','_sendBufferedOperationsDelayId','PENDING_ACTION_SENDING_DATA','_addKnownRoot','sendOperations','affectsData','_knownOperations','_waitUntilSynced','_handleServerResponse','3566170ZxRNoY','listenTo','suppressErrorInCollaboration','change:range','_setUpDataInit','_handleReconnectionResponse','add','bind','_sendBufferedOperationsDelayed','isPremiumPlugin','has','addUser','getRoot','setIdForTheLastOperation','InsertOperation','rootsAttributes','_isLoaded','wereChangesApplied','realtimecollaborationclient-error','409','getDocumentDetails','toJSON','permissions','path','_bufferedOperations','_operationIdentifier','multi-root-editor-root-attributes-no-root','rtc-offline','_currentBufferDelay','differ','createRoot','_updateServerHistory','reconnect','_disconnectionOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','applyOperation','end','createRange','ready','_applyOperationsSet','mySessionId','_isEditingAllowed','__className','realtimecollaborationclient-initservice-incorrect-server-operation','userId','document','disableReadOnlyMode','real-time-collaboration','cs:removeUser','register','_knownRootNames','$root','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudServices.bundleVersion','addToReconnectionStack','createPositionAt','_pendingAction','getOperations','round','lastOperationAcceptedAt','77471ZXeeKD','getUser','stopListening','_handleInitialConnectionData','enqueueChange','from','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','disconnected','code','getOperationAuthor','forEach','_handleSendingSelectionMarkers','removeFromReconnectionStack','collaboration-missing-channelid','root','insert','size','isOfficialPlugin','string','4dzzasR','realtimecollaborationclient-init-connection-failed','history','collaboration','map','operationsReceived','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','position','connection','_shouldSendUpdate','push','_loadRoot','slice','_lastSyncedOperationId','connect','editing','addRootAttribute','_handleReconnectionError','_getAffectedRoot','version','rtc-destroyed','batch','isEnabled','decompress','addOperation','return','then','createPositionFromPath','catch','_connectService','realtimecollaborationclient-initservice-internal-error','_isDisconnection','unregister','fromJSON','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isPendingUpdate','26zqPIpn','_isConnected','wasUndone','_connectAfterSessionHasBeenFlushed','finally','lastSyncVersion','createdAt','selection','_refreshUserSelectionMarkers','sessionCreatedAt','markers','_disconnectService','high','getMany','_handleExternalOperations','Synchronization\x20issue','_lastServerVersion','3191560qtPjlb','_bufferRootLoad','directChange','_fetchMissingUsers','data','_offset','addRoot','_operationToId','fire','showWarning','move','view','document:write','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','init','config','_sendBufferedOperations','_isInit','offset','_isPendingUpdate','define','affectedSelectable','attributes','_initSessionsHandling','_channelId','3951282SDxyZk','start','destroy','_saveOperationInBuffer','setPermissions','newRange','isDocumentOperation','realtimecollaborationclient-init-session-connection-error','connected','entries','reset','parse','reconnection:\x20flushed\x20session','rootName','31608555PAMzky','message','_getOperationsFromInitData','sessionId','lastOperationId','change:hasDomSelection','model','_shouldSendSelectionUpdate','disconnect','getConnectedSessions','createUserMarkerOperations','_isAttached'];_0x476c=function(){return _0x49dbf4;};return _0x476c();}import{getTranslation as _0x165fb2}from'../common-translations.js';import{Compressor as _0x12e98a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x150a16}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x48f4(_0x3eb470,_0x123433){const _0x476cd5=_0x476c();return _0x48f4=function(_0x48f40c,_0x40e9b8){_0x48f40c=_0x48f40c-0x10f;let _0x56786a=_0x476cd5[_0x48f40c];return _0x56786a;},_0x48f4(_0x3eb470,_0x123433);}import{User as _0x57934e,CollaborativeEditingService as _0x40621e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x580e20{static get[_0x1cac3e(0x1ad)](){return[_0x39dd3a,_0x248130,_0x568f16,_0x146775,_0x150a16,_0x264c65];}static get[_0x1cac3e(0x1cc)](){const _0x16ca9c=_0x1cac3e;return _0x16ca9c(0x1a0);}static get[_0x1cac3e(0x125)](){return!0x0;}static get[_0x1cac3e(0x1e5)](){return!0x0;}get[_0x1cac3e(0x12d)](){const _0x328bc1=_0x1cac3e;return this[_0x328bc1(0x15c)]+this[_0x328bc1(0x162)];}get[_0x1cac3e(0x15c)](){const _0x19a7bc=_0x1cac3e;return this[_0x19a7bc(0x1cd)][_0x19a7bc(0x13b)]-this[_0x19a7bc(0x162)];}get[_0x1cac3e(0x151)](){const _0x191eb6=_0x1cac3e,_0x4cb551=this[_0x191eb6(0x1cd)][_0x191eb6(0x110)]();for(let _0x454e52=_0x4cb551[_0x191eb6(0x1be)]-0x1;_0x454e52>=0x0;_0x454e52--){const _0x50c151=_0x4cb551[_0x454e52];if(!this[_0x191eb6(0x1fd)][_0x191eb6(0x1e6)](_0x50c151))return _0x50c151[_0x191eb6(0x192)]+0x1-this[_0x191eb6(0x162)];}return 0x0;}constructor(_0x2cf844){const _0x2f77b8=_0x1cac3e;if(super(_0x2cf844),this[_0x2f77b8(0x162)]=0x0,this[_0x2f77b8(0x187)]=null,this[_0x2f77b8(0x1cd)]=new _0x3185e2(),this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x171)](_0x2f77b8(0x12a),{}),this[_0x2f77b8(0x175)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x191)),!this[_0x2f77b8(0x175)])throw new _0x5c907e(_0x2f77b8(0x121),this);const _0x10f450=_0x2cf844[_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x212))||_0x4c9c4a;this[_0x2f77b8(0x190)]=new l[(_0x2f77b8(0x1b2))](_0x10f450,this[_0x2f77b8(0x175)]),this[_0x2f77b8(0x1c2)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x18a)][_0x2f77b8(0x20a)],this[_0x2f77b8(0x19c)]=new _0x12e98a(),this[_0x2f77b8(0x1f4)]=[],this[_0x2f77b8(0x1d9)]=new WeakSet(),this[_0x2f77b8(0x20f)]=new Set(),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x170),!0x1),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x1b8),!0x1),this[_0x2f77b8(0x10f)]=null,this[_0x2f77b8(0x1b9)]=!0x1,this[_0x2f77b8(0x1d4)]=null,this[_0x2f77b8(0x1d2)]=0x12c,this[_0x2f77b8(0x1f8)]=this[_0x2f77b8(0x1d2)],this[_0x2f77b8(0x135)]=null,this[_0x2f77b8(0x1fd)]=new WeakSet(),this[_0x2f77b8(0x1f5)]=new X(this[_0x2f77b8(0x1fd)]);}[_0x1cac3e(0x16b)](){const _0x507459=_0x1cac3e,_0x245e8e=this[_0x507459(0x1c9)],_0xff18fe=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x150a16),_0x5eee2f=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x39dd3a);this[_0x507459(0x1dd)](_0xff18fe,_0x507459(0x11d),(_0x549e52,_0x42d7af)=>{const _0x5ad642=_0x507459,_0x5bead8=_0x42d7af[0x0];_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=_0xff18fe[_0x5ad642(0x114)](_0x5bead8[_0x5ad642(0x196)]),_0x549e52[_0x5ad642(0x19a)]()),null===_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=null,_0x549e52[_0x5ad642(0x19a)]());},{'priority':_0x507459(0x158)}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x18a)][_0x507459(0x20a)][_0x507459(0x153)],_0x507459(0x1df),(_0x839dce,_0x22d69a)=>{const _0x3a9556=_0x507459;_0x22d69a[_0x3a9556(0x15f)]&&this[_0x3a9556(0x154)]();}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x137)][_0x507459(0x168)],_0x507459(0x189),()=>{const _0x364d82=_0x507459;this[_0x364d82(0x154)]();}),this[_0x507459(0x1cf)](),_0x245e8e[_0x507459(0x18a)]['on'](_0x507459(0x200),(_0x54d278,_0x1a280c)=>{const _0x502a5e=_0x507459,_0x34668d=_0x1a280c[0x0];_0x34668d[_0x502a5e(0x17c)]&&(this[_0x502a5e(0x179)](_0x34668d),this[_0x502a5e(0x131)]()&&this[_0x502a5e(0x1e4)]());}),this[_0x507459(0x1e0)](),this[_0x507459(0x1e3)](_0x507459(0x206))['to'](_0x5eee2f,_0x507459(0x1a8),this,_0x507459(0x1b8),(_0x3bf650,_0x5af169)=>_0x507459(0x17e)===_0x3bf650&&!_0x5af169),this['on'](_0x507459(0x1d1),()=>{const _0x425702=_0x507459;this[_0x425702(0x206)]?_0x245e8e[_0x425702(0x20b)](_0x425702(0x1f7)):_0x245e8e[_0x425702(0x1ca)](_0x425702(0x1f7));}),this[_0x507459(0x206)]?_0x245e8e[_0x507459(0x20b)](_0x507459(0x1f7)):_0x245e8e[_0x507459(0x1ca)](_0x507459(0x1f7)),this[_0x507459(0x1a4)](_0x507459(0x14d),!0x1);}async[_0x1cac3e(0x1fc)](){const _0x193233=_0x1cac3e,_0x5bdfc7=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x248130),_0xa3003f=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x39dd3a);try{this[_0x193233(0x170)]=!0x0,_0x5bdfc7[_0x193233(0x148)](this[_0x193233(0x175)]);const _0x3e3f28=await this[_0x193233(0x190)][_0x193233(0x1fc)](_0xa3003f[_0x193233(0x130)],this[_0x193233(0x151)]);await this[_0x193233(0x1e1)](_0x3e3f28)&&(this[_0x193233(0x170)]=!0x1,this[_0x193233(0x198)]());const _0x833a58=await this[_0x193233(0x190)][_0x193233(0x18d)]();_0x5bdfc7[_0x193233(0x20e)](this[_0x193233(0x175)],_0x833a58),this[_0x193233(0x11f)](),this[_0x193233(0x14d)]=!0x0;}catch(_0x116609){if(function(_0x1ec099){const _0x4d07c3=_0x193233;return _0x4d07c3(0x1a1)===_0x1ec099[_0x4d07c3(0x11c)];}(_0x116609)&&this[_0x193233(0x187)])await this[_0x193233(0x14f)]();else{if(function(_0x2782b5){const _0x5e76e1=_0x193233;return _0x5e76e1(0x1ef)===_0x2782b5[_0x5e76e1(0x11c)];}(_0x116609)){const _0x4f3c64=_0x165fb2(this[_0x193233(0x1c9)][_0x193233(0x1d3)],_0x193233(0x14a));this[_0x193233(0x139)](_0x4f3c64);}else{if(!(_0x116609 instanceof J))throw _0x116609;this[_0x193233(0x139)]();}}}}[_0x1cac3e(0x178)](){const _0x40153e=_0x1cac3e,_0xbce6ad=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x39dd3a),_0x45a27c=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x248130);this[_0x40153e(0x1c9)][_0x40153e(0x1ca)](_0x40153e(0x13c)),_0x45a27c[_0x40153e(0x1a3)][_0x40153e(0x1e6)](this[_0x40153e(0x175)])&&_0x45a27c[_0x40153e(0x148)](this[_0x40153e(0x175)]),_0xbce6ad[_0x40153e(0x120)](this),this[_0x40153e(0x157)](),super[_0x40153e(0x178)]();}async[_0x1cac3e(0x1e1)](_0x574c0d){const _0x2e1832=_0x1cac3e;if(this[_0x2e1832(0x187)]!==_0x574c0d[_0x2e1832(0x187)]&&this[_0x2e1832(0x135)]!==_0x574c0d[_0x2e1832(0x188)])throw new J();return this[_0x2e1832(0x187)]=_0x574c0d[_0x2e1832(0x187)],this[_0x2e1832(0x1db)]([],{..._0x574c0d,'wereChangesApplied':!0x1,'data':_0x574c0d[_0x2e1832(0x161)]},_0x2e1832(0x1fc));}async[_0x1cac3e(0x145)](_0x284344,_0x55c379=!0x1){const _0x2c929d=_0x1cac3e,{connection:_0x18046d}=this[_0x2c929d(0x1c9)][_0x2c929d(0x1c6)][_0x2c929d(0x1af)](_0x39dd3a);l[_0x2c929d(0x1b2)][_0x2c929d(0x18d)](_0x18046d,this[_0x2c929d(0x175)])[_0x2c929d(0x142)](_0x444d6d=>this[_0x2c929d(0x174)](_0x444d6d))[_0x2c929d(0x144)](_0x5d2b30=>{const _0x3dbb55=_0x2c929d;this[_0x3dbb55(0x195)](_0x3dbb55(0x17d),_0x5d2b30);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x12c),this[_0x2c929d(0x1c5)][_0x2c929d(0x1e3)](this)),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x1bb),(_0x4521d7,_0x3dc9e2)=>{const _0x135e85=_0x2c929d;this[_0x135e85(0x195)](_0x135e85(0x146),_0x3dc9e2);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x11b),()=>{const _0x234f1f=_0x2c929d;this[_0x234f1f(0x14d)]=!0x1;});const _0x51d799=this[_0x2c929d(0x1f5)][_0x2c929d(0x1a5)](_0x284344);this[_0x2c929d(0x170)]=!0x0;const _0x5445f8=await this[_0x2c929d(0x190)][_0x2c929d(0x136)](_0x18046d,this[_0x2c929d(0x1bc)](_0x284344),_0x51d799);if(this[_0x2c929d(0x187)]=_0x5445f8[_0x2c929d(0x187)],_0x55c379){if(!_0x5445f8[_0x2c929d(0x1ed)])return void this[_0x2c929d(0x139)]();this[_0x2c929d(0x170)]=!0x1,this[_0x2c929d(0x198)](),this[_0x2c929d(0x1cd)][_0x2c929d(0x180)](),this[_0x2c929d(0x162)]=_0x5445f8[_0x2c929d(0x16f)],this[_0x2c929d(0x1cd)][_0x2c929d(0x13b)]=this[_0x2c929d(0x162)],await this[_0x2c929d(0x1db)](_0x284344,_0x5445f8,_0x2c929d(0x182));}else await this[_0x2c929d(0x116)](_0x5445f8,_0x284344);this[_0x2c929d(0x11f)](),this[_0x2c929d(0x14d)]=!0x0;}[_0x1cac3e(0x11f)](){const _0x4b3216=_0x1cac3e,_0x13bee2=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x248130),_0x2962e3=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x568f16),_0x592a1e=_0x13bee2[_0x4b3216(0x1a3)][_0x4b3216(0x1af)](this[_0x4b3216(0x175)]);_0x592a1e&&_0x592a1e[_0x4b3216(0x1be)]>0x1?_0x2962e3[_0x4b3216(0x18e)]():this[_0x4b3216(0x1dd)](_0x13bee2,_0x4b3216(0x194)+this[_0x4b3216(0x175)],()=>{const _0x39c5a1=_0x4b3216;0x2===_0x13bee2[_0x39c5a1(0x1a3)][_0x39c5a1(0x1af)](this[_0x39c5a1(0x175)])[_0x39c5a1(0x1be)]&&_0x2962e3[_0x39c5a1(0x18e)]();});}async[_0x1cac3e(0x1c5)](_0x308f6b,_0xf5f1a7,_0x4b2863,_0x4b6a7e){const _0x57c044=_0x1cac3e;if(!this[_0x57c044(0x170)]&&this[_0x57c044(0x1c2)][_0x57c044(0x13b)]==_0xf5f1a7){const _0x36a813=this[_0x57c044(0x1a7)](_0x4b2863,_0x4b6a7e);await this[_0x57c044(0x160)](_0x36a813),this[_0x57c044(0x15a)](_0x36a813,_0xf5f1a7,_0x4b2863[_0x57c044(0x188)])||this[_0x57c044(0x195)](_0x57c044(0x208));}}async[_0x1cac3e(0x14f)](){const _0x1d1ca7=_0x1cac3e;this[_0x1d1ca7(0x157)]();const {locale:_0x7eec1b}=this[_0x1d1ca7(0x1c9)];let _0x348c44;try{_0x348c44=await this[_0x1d1ca7(0x190)][_0x1d1ca7(0x1f0)]();}catch(_0x716ae0){const _0x1aae8b=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x1c7));return void this[_0x1d1ca7(0x139)](_0x1aae8b);}const _0x5ab889=_0x348c44[_0x1d1ca7(0x19b)]||_0x348c44[_0x1d1ca7(0x1b0)];if(this[_0x1d1ca7(0x135)]===_0x5ab889[_0x1d1ca7(0x188)])await this[_0x1d1ca7(0x145)](this[_0x1d1ca7(0x1c9)][_0x1d1ca7(0x18a)][_0x1d1ca7(0x20a)][_0x1d1ca7(0x129)][_0x1d1ca7(0x110)](),!0x0);else{const _0x1360b6=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x16a));this[_0x1d1ca7(0x139)](_0x1360b6);}}[_0x1cac3e(0x157)](){const _0x2f3a7d=_0x1cac3e;this[_0x2f3a7d(0x190)][_0x2f3a7d(0x18c)](),this[_0x2f3a7d(0x1f4)]=[],clearTimeout(this[_0x2f3a7d(0x1d4)]),this[_0x2f3a7d(0x115)](this[_0x2f3a7d(0x190)]);}[_0x1cac3e(0x174)](_0x34d8f0){const _0xd0e560=_0x1cac3e,_0x19c448=this[_0xd0e560(0x1c9)][_0xd0e560(0x1c6)][_0xd0e560(0x1af)](_0x248130);this[_0xd0e560(0x1dd)](_0x19c448,_0xd0e560(0x194)+this[_0xd0e560(0x175)],(_0x2aeaee,{session:_0x1d8696})=>{const _0x30bc2b=_0xd0e560;if(_0x1d8696['id']===_0x19c448[_0x30bc2b(0x205)]){_0x2aeaee[_0x30bc2b(0x1bd)]();const _0xd72510=this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1e6)](_0x30bc2b(0x1b7))&&this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1b7));let _0x368c7b=_0x1d8696[_0x30bc2b(0x1f2)];_0xd72510&&_0xd72510[_0x30bc2b(0x13e)]&&(_0x368c7b=_0x368c7b[_0x30bc2b(0x1ab)](_0x1a07a3=>_0x30bc2b(0x169)!==_0x1a07a3)),this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1ae))[_0x30bc2b(0x17a)](_0x368c7b,this[_0x30bc2b(0x175)]);}}),_0x19c448[_0xd0e560(0x20e)](this[_0xd0e560(0x175)],_0x34d8f0);}[_0x1cac3e(0x1cf)](){const _0x3dddde=_0x1cac3e,_0x39293a=this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)];this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)]=(..._0x402640)=>{const _0x5af054=_0x3dddde;if(!_0x402640[_0x402640[_0x5af054(0x1be)]-0x1][_0x5af054(0x1de)])throw new _0x5c907e(_0x5af054(0x1fe),this);_0x39293a[_0x5af054(0x193)](this[_0x5af054(0x1c9)][_0x5af054(0x161)],_0x402640);};}[_0x1cac3e(0x1e0)](){const _0x31318e=_0x1cac3e;this[_0x31318e(0x1c9)][_0x31318e(0x161)]['on'](_0x31318e(0x16b),(_0x21465d,[_0x7b5eb5])=>{const _0x420d0e=_0x31318e;if(this[_0x420d0e(0x1c2)][_0x420d0e(0x13b)])throw new _0x5c907e(_0x420d0e(0x1b4),this);_0x21465d[_0x420d0e(0x19a)](),this[_0x420d0e(0x1a6)]();const _0x5b7fc8=this[_0x420d0e(0x1c9)][_0x420d0e(0x16c)][_0x420d0e(0x1af)](_0x420d0e(0x1eb)),_0x474e90=this[_0x420d0e(0x186)](_0x7b5eb5,_0x5b7fc8);0x0==_0x474e90[_0x420d0e(0x1be)]&&_0x474e90[_0x420d0e(0x132)](new _0x179e08(0x0)),_0x21465d[_0x420d0e(0x141)]=this[_0x420d0e(0x145)](_0x474e90)[_0x420d0e(0x142)](()=>{const _0x547751=_0x420d0e;this[_0x547751(0x1c9)][_0x547751(0x1c6)][_0x547751(0x1af)](_0x39dd3a)[_0x547751(0x213)](this),this[_0x547751(0x1c9)][_0x547751(0x161)][_0x547751(0x165)](_0x547751(0x203));})[_0x420d0e(0x144)](_0x28dace=>this[_0x420d0e(0x195)](_0x420d0e(0x128),_0x28dace))[_0x420d0e(0x150)](()=>this[_0x420d0e(0x198)]());},{'priority':_0x31318e(0x158)}),this[_0x31318e(0x1c9)]['on'](_0x31318e(0x1cb),async(_0x3de4ea,[_0x3b2f0c,_0x112ed8])=>{const _0x45ebf5=_0x31318e;_0x3de4ea[_0x45ebf5(0x19a)]();const _0x4ebd6d=this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x20a)][_0x45ebf5(0x1e8)](_0x3b2f0c);if(!this[_0x45ebf5(0x20f)][_0x45ebf5(0x1e6)](_0x3b2f0c)){const _0x5a9473=_0x112ed8&&_0x112ed8[_0x45ebf5(0x161)]?_0x112ed8[_0x45ebf5(0x161)]:'',_0x55e1a0=_0x112ed8&&_0x112ed8[_0x45ebf5(0x173)]?_0x112ed8[_0x45ebf5(0x173)]:{};await this[_0x45ebf5(0x133)](_0x3b2f0c,_0x5a9473,_0x55e1a0);}this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x117)]({'isUndoable':!0x1},()=>{const _0x5d9c5a=_0x45ebf5;_0x4ebd6d[_0x5d9c5a(0x1ec)]=!0x0,this[_0x5d9c5a(0x1c9)][_0x5d9c5a(0x18a)][_0x5d9c5a(0x20a)][_0x5d9c5a(0x1f9)][_0x5d9c5a(0x15e)](_0x4ebd6d);});},{'priority':_0x31318e(0x158)});}async[_0x1cac3e(0x160)](_0x3c829d){const _0x54980a=_0x1cac3e,_0x111bdf=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x150a16),{connection:_0x334382}=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x39dd3a),_0x361a50=new Set();for(const _0x3892f2 of _0x3c829d){const _0x1bbd0f=_0x3892f2[_0x54980a(0x196)];_0x1bbd0f&&!_0x111bdf[_0x54980a(0x114)](_0x1bbd0f)&&_0x361a50[_0x54980a(0x1e2)](_0x1bbd0f);}if(0x0===_0x361a50[_0x54980a(0x124)])return;const _0x27414d=await _0x57934e[_0x54980a(0x159)](_0x334382,Array[_0x54980a(0x118)](_0x361a50));for(const _0x4d48a2 of _0x27414d)_0x111bdf[_0x54980a(0x114)](_0x4d48a2['id'])||_0x111bdf[_0x54980a(0x1e7)](_0x4d48a2);}[_0x1cac3e(0x186)](_0xd3b2fc,_0x58720e={}){const _0x510127=_0x1cac3e,_0x1df813=this[_0x510127(0x1c9)][_0x510127(0x18a)],_0x580e88=[];let _0x2b80dd=0x0;const _0x3383eb=_0x510127(0x126)==typeof _0xd3b2fc?{'main':_0xd3b2fc}:_0xd3b2fc;for(const _0x171b3a of Object[_0x510127(0x1c0)](_0x3383eb)){if(!this[_0x510127(0x1c2)][_0x510127(0x197)][_0x510127(0x1e6)](_0x171b3a))throw new _0x5c907e(_0x510127(0x1d0),this);const _0x2903a7=this[_0x510127(0x1c9)][_0x510127(0x161)][_0x510127(0x181)](_0x3383eb[_0x171b3a]),_0x3b744e=this[_0x510127(0x1c2)][_0x510127(0x1e8)](_0x171b3a),_0x503c8f=new _0x243b56(_0x1df813[_0x510127(0x214)](_0x3b744e,0x0),_0x2903a7,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x503c8f);for(const [_0x4f8a9a,_0x128312]of _0x2903a7[_0x510127(0x156)]){const _0x110113=_0x1df813[_0x510127(0x202)](_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x177)][_0x510127(0x1f3)][_0x510127(0x134)]()),_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x201)][_0x510127(0x1f3)][_0x510127(0x134)]())),_0x51fe41=new _0x6b055c(_0x4f8a9a,null,_0x110113,_0x1df813[_0x510127(0x156)],!0x0,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x51fe41);}}if(_0x58720e)for(const [_0x14cc0d,_0x412482]of Object[_0x510127(0x17f)](_0x58720e)){const _0x1add35=_0x1df813[_0x510127(0x20a)][_0x510127(0x1e8)](_0x14cc0d);if(!_0x1add35)throw new _0x5c907e(_0x510127(0x1f6),null);for(const [_0x42ba26,_0x3e7e0a]of Object[_0x510127(0x17f)](_0x412482))if(null!==_0x3e7e0a){const _0x521114=new _0x11b1c2(_0x1add35,_0x42ba26,null,_0x3e7e0a,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x521114);}}return _0x580e88;}async[_0x1cac3e(0x133)](_0x17327a,_0x5d00c3,_0x3a1721){const _0x28011a=_0x1cac3e;this[_0x28011a(0x186)]({[_0x17327a]:_0x5d00c3},{[_0x17327a]:_0x3a1721})[_0x28011a(0x11e)]((_0x2fdb3e,_0x19a106)=>{const _0x246758=_0x28011a;_0x2fdb3e[_0x246758(0x192)]=this[_0x246758(0x1c2)][_0x246758(0x13b)]+_0x19a106,_0x2fdb3e[_0x246758(0x16e)]=!0x0,this[_0x246758(0x179)](_0x2fdb3e);}),this[_0x28011a(0x1e4)](),await this[_0x28011a(0x1da)]();}async[_0x1cac3e(0x116)](_0x32d9d1,_0x1da7ad){const _0x37de0b=_0x1cac3e;let _0x183b4d;this[_0x37de0b(0x162)]=_0x32d9d1[_0x37de0b(0x16f)];const _0x3de5a3=_0x32d9d1[_0x37de0b(0x1ed)]&&!_0x32d9d1[_0x37de0b(0x1a2)],_0x2f6135=_0x3de5a3?0x0:_0x32d9d1[_0x37de0b(0x161)][_0x37de0b(0x192)];if(_0x1da7ad[_0x37de0b(0x11e)](_0xdda96f=>{const _0x532b84=_0x37de0b;_0xdda96f[_0x532b84(0x16e)]=!0x0,_0xdda96f[_0x532b84(0x152)]=_0x32d9d1[_0x532b84(0x155)],_0xdda96f[_0x532b84(0x196)]=null;}),_0x3de5a3)_0x183b4d=_0x1da7ad,this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);else{if(_0x32d9d1[_0x37de0b(0x1a2)]){const _0x4e5a9a=this[_0x37de0b(0x186)](_0x32d9d1[_0x37de0b(0x1a2)]);this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)],_0x4e5a9a[_0x37de0b(0x11e)](_0x3ee804=>{const _0x2b246f=_0x37de0b;_0x3ee804[_0x2b246f(0x192)]-=_0x4e5a9a[_0x2b246f(0x1be)],_0x3ee804[_0x2b246f(0x152)]=_0x32d9d1[_0x2b246f(0x155)],_0x3ee804[_0x2b246f(0x16e)]=!0x0,_0x3ee804[_0x2b246f(0x196)]=null;}),this[_0x37de0b(0x204)](_0x4e5a9a,!0x0),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)]+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x4e5a9a);}this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=_0x2f6135,_0x183b4d=this[_0x37de0b(0x1a7)](_0x32d9d1[_0x37de0b(0x161)],_0x32d9d1[_0x37de0b(0x1ce)]),await this[_0x37de0b(0x160)](_0x183b4d),this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);}_0x32d9d1[_0x37de0b(0x188)]&&(this[_0x37de0b(0x1f5)][_0x37de0b(0x1e9)](_0x183b4d,_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x135)]=_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=_0x2f6135+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x183b4d),_0x1da7ad[_0x37de0b(0x1ab)](_0x5c48c7=>{const _0x18c58c=_0x37de0b,_0x57b5c4=this[_0x18c58c(0x13a)](_0x5c48c7);return _0x57b5c4&&!this[_0x18c58c(0x20f)][_0x18c58c(0x1e6)](_0x57b5c4);})[_0x37de0b(0x11e)]((_0x36ef70,_0x96d789)=>{const _0x358116=_0x37de0b;_0x36ef70[_0x358116(0x192)]=this[_0x358116(0x1c2)][_0x358116(0x13b)]+_0x96d789,this[_0x358116(0x179)](_0x36ef70);}),this[_0x37de0b(0x131)]()?(this[_0x37de0b(0x1f8)]=0x0,this[_0x37de0b(0x1e4)](!0x0),await this[_0x37de0b(0x1da)]()):(this[_0x37de0b(0x170)]=!0x1,this[_0x37de0b(0x198)]());}[_0x1cac3e(0x195)](_0x367236,_0x54535e,_0x1beabf){const _0x454826=_0x1cac3e;throw this[_0x454826(0x170)]=!0x0,_0x54535e&&console[_0x454826(0x1bb)](_0x54535e),_0x1beabf&&this[_0x454826(0x1c9)][_0x454826(0x1ca)](_0x454826(0x1ee)),new _0x5c907e(_0x367236,this[_0x454826(0x1c9)]);}[_0x1cac3e(0x179)](_0x22d80b){const _0x5e230c=_0x1cac3e;this[_0x5e230c(0x1d9)][_0x5e230c(0x1e6)](_0x22d80b)||(this[_0x5e230c(0x1d9)][_0x5e230c(0x1e2)](_0x22d80b),this[_0x5e230c(0x1f4)][_0x5e230c(0x132)](_0x22d80b),this[_0x5e230c(0x10f)]||_0x5e230c(0x19f)==_0x22d80b[_0x5e230c(0x19e)]&&!_0x22d80b[_0x5e230c(0x1d8)]||this[_0x5e230c(0x1a6)]());}[_0x1cac3e(0x1e4)](_0x3e2c07=!0x1){const _0x4f9ce2=_0x1cac3e;!_0x3e2c07&&this[_0x4f9ce2(0x170)]||(this[_0x4f9ce2(0x170)]=!0x0,clearTimeout(this[_0x4f9ce2(0x1d4)]),this[_0x4f9ce2(0x1d4)]=setTimeout(()=>{const _0x519671=_0x4f9ce2;this[_0x519671(0x16d)]()[_0x519671(0x142)](_0xdab92=>{const _0x4dd95d=_0x519671;_0xdab92&&(this[_0x4dd95d(0x198)](),this[_0x4dd95d(0x170)]=!0x1);})[_0x519671(0x144)](_0x47b555=>{const _0x1a534e=_0x519671;this[_0x1a534e(0x198)](),this[_0x1a534e(0x170)]=!0x1,function(_0x142c75){const _0x51d217=_0x1a534e;return _0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x12e))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x119))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x11a));}(_0x47b555)||this[_0x1a534e(0x195)](_0x47b555[_0x1a534e(0x185)],_0x47b555,!0x0);});},this[_0x4f9ce2(0x1f8)]));}[_0x1cac3e(0x1da)](){return new Promise(_0x4c7450=>{const _0xad8123=_0x48f4;this['on'](_0xad8123(0x14b),()=>{_0x4c7450();});});}async[_0x1cac3e(0x16d)](){const _0x35c79e=_0x1cac3e,_0x4727a0=this[_0x35c79e(0x1c9)][_0x35c79e(0x1c6)][_0x35c79e(0x1af)](_0x568f16);if(this[_0x35c79e(0x18b)]()&&(_0x4727a0[_0x35c79e(0x18e)](),this[_0x35c79e(0x1b9)]=!0x1),!this[_0x35c79e(0x131)]())return!0x0;const _0x11ca7a=[...this[_0x35c79e(0x1f4)]];for(const _0x5702d0 of _0x11ca7a)_0x5702d0[_0x35c79e(0x14e)]=this[_0x35c79e(0x1c2)][_0x35c79e(0x129)][_0x35c79e(0x1c4)](_0x5702d0);const _0x10e617=this[_0x35c79e(0x1f5)][_0x35c79e(0x1a5)](_0x11ca7a),_0x317d02=K++,_0xb8f3d0=this[_0x35c79e(0x1bc)](_0x11ca7a),_0x25c699=await this[_0x35c79e(0x190)][_0x35c79e(0x1d7)](_0xb8f3d0,_0xb8f3d0[_0x35c79e(0x192)],_0x10e617);try{return await this[_0x35c79e(0x1db)](_0x11ca7a,_0x25c699,_0x317d02);}catch(_0x25a316){return this[_0x35c79e(0x195)](_0x35c79e(0x1bf),_0x25a316);}}async[_0x1cac3e(0x1db)](_0x2c59cc,_0x44ee04,_0x2e9db9){const _0xa5f5ed=_0x1cac3e;if(_0xa5f5ed(0x1bb)in _0x44ee04)throw _0x44ee04[_0xa5f5ed(0x1bb)];let _0x14b0e1=!0x1;if(_0x44ee04[_0xa5f5ed(0x1ed)]){_0x44ee04[_0xa5f5ed(0x188)]&&(this[_0xa5f5ed(0x135)]=_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x490414=>!_0x2c59cc[_0xa5f5ed(0x1b5)](_0x490414));for(const _0xb3eb9c of _0x2c59cc)_0xb3eb9c[_0xa5f5ed(0x152)]=_0xa5f5ed(0x112)in _0x44ee04&&_0x44ee04[_0xa5f5ed(0x112)]||void 0x0;Q(_0x2c59cc,_0x44ee04[_0xa5f5ed(0x13b)]-_0x2c59cc[_0xa5f5ed(0x1be)]),this[_0xa5f5ed(0x1fb)](_0x2c59cc);const _0xf9ac2d=_0x2c59cc[_0xa5f5ed(0x1ab)](_0x291a0=>{const _0x2487e3=_0xa5f5ed;if(!_0x291a0[_0x2487e3(0x16e)])return!0x1;const _0x3e40de=this[_0x2487e3(0x13a)](_0x291a0);return _0x3e40de&&!this[_0x2487e3(0x20f)][_0x2487e3(0x1e6)](_0x3e40de);});Q(_0xf9ac2d,this[_0xa5f5ed(0x1c2)][_0xa5f5ed(0x13b)]),this[_0xa5f5ed(0x204)](_0xf9ac2d),_0x14b0e1=!0x0,this[_0xa5f5ed(0x1f8)]=this[_0xa5f5ed(0x1d2)];}else{const _0x1c156b=this[_0xa5f5ed(0x1a7)](_0x44ee04[_0xa5f5ed(0x161)],_0x44ee04[_0xa5f5ed(0x1ce)])[_0xa5f5ed(0x1ab)](_0x4c1114=>_0x4c1114[_0xa5f5ed(0x192)]>=this[_0xa5f5ed(0x15c)]);_0x1c156b[_0xa5f5ed(0x11e)](_0x3315af=>this[_0xa5f5ed(0x1d6)](_0x3315af)),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x504367=>!_0x504367[_0xa5f5ed(0x16e)]||!this[_0xa5f5ed(0x20f)][_0xa5f5ed(0x1e6)](this[_0xa5f5ed(0x13a)](_0x504367))),this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1be)]&&Q(this[_0xa5f5ed(0x1f4)],this[_0xa5f5ed(0x1f4)][0x0][_0xa5f5ed(0x192)]),await this[_0xa5f5ed(0x160)](_0x1c156b),_0x14b0e1=this[_0xa5f5ed(0x15a)](_0x1c156b,_0x44ee04[_0xa5f5ed(0x13b)],_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f8)]=Math[_0xa5f5ed(0x111)](this[_0xa5f5ed(0x1f8)]/0x2);}return _0x14b0e1?!this[_0xa5f5ed(0x131)]()||(this[_0xa5f5ed(0x1e4)](!0x0),!0x1):this[_0xa5f5ed(0x195)](_0xa5f5ed(0x1b1));}[_0x1cac3e(0x15a)](_0x2d393f,_0x249fb8,_0x512048){const _0x1add71=_0x1cac3e;try{const _0x52ad58={'document':this[_0x1add71(0x1c2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44ee4a,operationsB:_0x39ee40,originalOperations:_0x49c6f0}=_0x1f4073(_0x2d393f,this[_0x1add71(0x1f4)],_0x52ad58);Q(_0x44ee4a,this[_0x1add71(0x1c2)][_0x1add71(0x13b)]),Q(_0x39ee40,_0x249fb8);for(const _0xab6f83 of _0x44ee4a){const _0x22ff4d=_0x49c6f0[_0x1add71(0x1af)](_0xab6f83);_0xab6f83[_0x1add71(0x196)]=_0x22ff4d?_0x22ff4d[_0x1add71(0x196)]:null;}_0x512048&&(this[_0x1add71(0x1f5)][_0x1add71(0x1e9)](_0x2d393f,_0x512048),this[_0x1add71(0x135)]=_0x512048),this[_0x1add71(0x1f4)]=[..._0x39ee40],this[_0x1add71(0x204)](_0x44ee4a),this[_0x1add71(0x1fb)](_0x2d393f);}catch(_0x1b5140){return console[_0x1add71(0x1bb)](_0x1b5140),!0x1;}return!0x0;}[_0x1cac3e(0x204)](_0x2be6cc,_0xf864f7=!0x1){const _0x1e7c68=_0x1cac3e;this[_0x1e7c68(0x1c9)][_0x1e7c68(0x18a)][_0x1e7c68(0x117)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1da494=>{const _0x2cde0d=_0x1e7c68;for(const _0xc68f26 of _0x2be6cc)this[_0x2cde0d(0x1d9)][_0x2cde0d(0x1e2)](_0xc68f26),this[_0x2cde0d(0x1d6)](_0xc68f26),_0x1da494[_0x2cde0d(0x13d)][_0x2cde0d(0x140)](_0xc68f26),this[_0x2cde0d(0x1c9)][_0x2cde0d(0x18a)][_0x2cde0d(0x200)](_0xc68f26);});}[_0x1cac3e(0x1d6)](_0x34316a){const _0x58f666=_0x1cac3e,_0x24581b=this[_0x58f666(0x13a)](_0x34316a);_0x24581b&&this[_0x58f666(0x20f)][_0x58f666(0x1e2)](_0x24581b);}[_0x1cac3e(0x13a)](_0x34940b){const _0x1d1066=_0x1cac3e;let _0x31d51c,_0x5bc1c0;switch(_0x34940b[_0x1d1066(0x19e)]){case _0x1d1066(0x123):_0x31d51c=_0x34940b[_0x1d1066(0x12f)][_0x1d1066(0x122)];break;case _0x1d1066(0x19f):if(_0x5bc1c0=_0x34940b[_0x1d1066(0x17b)],!_0x5bc1c0)return null;_0x31d51c=_0x5bc1c0[_0x1d1066(0x122)];break;case _0x1d1066(0x138):_0x31d51c=_0x34940b[_0x1d1066(0x122)];break;case _0x1d1066(0x163):_0x31d51c=_0x34940b[_0x1d1066(0x172)];break;case _0x1d1066(0x167):_0x31d51c=_0x34940b[_0x1d1066(0x1ff)][_0x1d1066(0x122)];break;default:return null;}return _0x31d51c[_0x1d1066(0x183)];}[_0x1cac3e(0x1fb)](_0x1f20df){const _0x40fc52=_0x1cac3e;_0x1f20df[_0x40fc52(0x11e)](_0x5ca0ab=>{const _0x434a41=_0x40fc52,_0x22fedd=_0x5ca0ab[_0x434a41(0x1ba)]();_0x22fedd[_0x434a41(0x196)]=_0x5ca0ab[_0x434a41(0x196)],_0x22fedd[_0x434a41(0x16e)]=!!_0x5ca0ab[_0x434a41(0x16e)],_0x22fedd[_0x434a41(0x152)]=_0x5ca0ab[_0x434a41(0x152)],_0x22fedd[_0x434a41(0x192)]+=this[_0x434a41(0x162)],_0x5ca0ab[_0x434a41(0x147)]&&this[_0x434a41(0x1fd)][_0x434a41(0x1e2)](_0x22fedd),this[_0x434a41(0x1cd)][_0x434a41(0x140)](_0x22fedd);});}[_0x1cac3e(0x139)](_0x36ef8e){const _0x2b90ae=_0x1cac3e,_0x1549f8=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x2b90ae(0x1b3)),_0x2445c6=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1d3)];_0x36ef8e||(_0x36ef8e=_0x165fb2(_0x2445c6,_0x2b90ae(0x211))),_0x1549f8[_0x2b90ae(0x166)](_0x36ef8e,{'title':_0x165fb2(_0x2445c6,_0x2b90ae(0x15b)),'namespace':_0x2b90ae(0x20c)}),this[_0x2b90ae(0x1b8)]=!0x0,clearTimeout(this[_0x2b90ae(0x1d4)]),this[_0x2b90ae(0x1f4)]=[],this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x39dd3a)[_0x2b90ae(0x178)]();}[_0x1cac3e(0x1a6)](){const _0x1f78f7=_0x1cac3e;this[_0x1f78f7(0x10f)]||(this[_0x1f78f7(0x10f)]=this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1c6)][_0x1f78f7(0x1af)](_0x146775)[_0x1f78f7(0x1e2)](_0x165fb2(this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1d3)],_0x1f78f7(0x1d5))));}[_0x1cac3e(0x198)](){const _0x43dcd4=_0x1cac3e;this[_0x43dcd4(0x10f)]&&(this[_0x43dcd4(0x1c9)][_0x43dcd4(0x1c6)][_0x43dcd4(0x1af)](_0x146775)[_0x43dcd4(0x1aa)](this[_0x43dcd4(0x10f)]),this[_0x43dcd4(0x10f)]=null);}[_0x1cac3e(0x1bc)](_0x3d8d56){const _0x39a0af=_0x1cac3e,_0x51d8ec=_0x3d8d56[_0x39a0af(0x12b)](_0x2d1ad6=>_0x2d1ad6[_0x39a0af(0x1f1)]());return this[_0x39a0af(0x19c)][_0x39a0af(0x1c8)](_0x51d8ec);}[_0x1cac3e(0x1a7)](_0x4d66f2,_0x36431d){const _0x4de4ea=_0x1cac3e;return this[_0x4de4ea(0x19c)][_0x4de4ea(0x13f)](_0x4d66f2)[_0x4de4ea(0x12b)]((_0x2f8ba2,_0x12cf01)=>{const _0x379dbd=_0x4de4ea,_0x271a16=_0x379dbd(0x16b)==_0x36431d[_0x12cf01][_0x379dbd(0x19e)];if(_0x379dbd(0x1ea)==_0x2f8ba2[_0x379dbd(0x207)]){const _0x396d45=_0x2f8ba2[_0x379dbd(0x12f)][_0x379dbd(0x122)];!this[_0x379dbd(0x1c2)][_0x379dbd(0x1e8)](_0x396d45)&&(this[_0x379dbd(0x1c2)][_0x379dbd(0x1fa)](_0x379dbd(0x210),_0x396d45)[_0x379dbd(0x18f)]=!0x1);}const _0x9a583b=_0x4e6430[_0x379dbd(0x149)](_0x2f8ba2,this[_0x379dbd(0x1c2)]);return _0x9a583b[_0x379dbd(0x14e)]=_0x2f8ba2[_0x379dbd(0x14e)],_0x9a583b[_0x379dbd(0x16e)]=_0x271a16,_0x9a583b[_0x379dbd(0x196)]=_0x271a16?null:_0x36431d[_0x12cf01][_0x379dbd(0x209)],_0x9a583b[_0x379dbd(0x147)]=_0x379dbd(0x20d)===_0x36431d[_0x12cf01][_0x379dbd(0x19e)],_0x9a583b[_0x379dbd(0x152)]=_0x36431d[_0x12cf01][_0x379dbd(0x152)],_0x9a583b;});}[_0x1cac3e(0x154)](){const _0x41d8d1=_0x1cac3e;this[_0x41d8d1(0x1b9)]=!0x0,this[_0x41d8d1(0x18b)]()?this[_0x41d8d1(0x1e4)]():this[_0x41d8d1(0x1b9)]=!0x1;}[_0x1cac3e(0x18b)](){const _0x5463a4=_0x1cac3e,_0x15d31b=this[_0x5463a4(0x1c9)][_0x5463a4(0x1c6)][_0x5463a4(0x1af)](_0x248130)[_0x5463a4(0x1a3)][_0x5463a4(0x1af)](this[_0x5463a4(0x175)]);return!this[_0x5463a4(0x1c9)][_0x5463a4(0x1ac)]&&!!_0x15d31b&&_0x15d31b[_0x5463a4(0x1be)]>0x1&&this[_0x5463a4(0x1b9)];}[_0x1cac3e(0x131)](){const _0x5bc51e=_0x1cac3e;return this[_0x5bc51e(0x1f4)][_0x5bc51e(0x1be)]>0x0||this[_0x5bc51e(0x18b)]();}}l[_0x1cac3e(0x1b2)]=_0x40621e;export default l;class J extends Error{}function Q(_0x5e57cf,_0x55acd5){const _0x118d06=_0x1cac3e;for(const _0x1f2f5f of _0x5e57cf)_0x1f2f5f[_0x118d06(0x192)]=_0x55acd5++;}class X{constructor(_0x537a82){const _0x79ffb4=_0x1cac3e;this[_0x79ffb4(0x1c3)]=_0x537a82,this[_0x79ffb4(0x164)]=new WeakMap();}[_0x1cac3e(0x1a5)](_0x2e17aa){const _0x416cde=_0x1cac3e;let _0x5741a5=_0x2e17aa[_0x416cde(0x1be)];for(;_0x5741a5--;){const _0x7410a8=_0x2e17aa[_0x5741a5];if(!this[_0x416cde(0x1c3)][_0x416cde(0x1e6)](_0x7410a8)){if(!this[_0x416cde(0x164)][_0x416cde(0x1e6)](_0x7410a8)){const _0x435dd5=_0x20d65c()[_0x416cde(0x134)](0x1,0x12);this[_0x416cde(0x164)][_0x416cde(0x1a4)](_0x7410a8,_0x435dd5);}return this[_0x416cde(0x164)][_0x416cde(0x1af)](_0x7410a8);}}}[_0x1cac3e(0x1e9)](_0x4e4359,_0x451e38){const _0x4b74d9=_0x1cac3e;if(!_0x451e38)return;let _0x1d9df7=_0x4e4359[_0x4b74d9(0x1be)];for(;_0x1d9df7--;){const _0x4dca34=_0x4e4359[_0x1d9df7];this[_0x4b74d9(0x1c3)][_0x4b74d9(0x1e6)](_0x4dca34)||this[_0x4b74d9(0x164)][_0x4b74d9(0x1a4)](_0x4dca34,_0x451e38);}}}
|
|
23
|
+
const _0x4bd200=_0x53a2;(function(_0x37f8ec,_0x15d657){const _0x37aa38=_0x53a2,_0x5241a7=_0x37f8ec();while(!![]){try{const _0x455d81=parseInt(_0x37aa38(0x26b))/0x1*(parseInt(_0x37aa38(0x24c))/0x2)+parseInt(_0x37aa38(0x219))/0x3+-parseInt(_0x37aa38(0x1db))/0x4+parseInt(_0x37aa38(0x258))/0x5*(-parseInt(_0x37aa38(0x238))/0x6)+-parseInt(_0x37aa38(0x1f2))/0x7+parseInt(_0x37aa38(0x259))/0x8+parseInt(_0x37aa38(0x1f4))/0x9;if(_0x455d81===_0x15d657)break;else _0x5241a7['push'](_0x5241a7['shift']());}catch(_0x24a731){_0x5241a7['push'](_0x5241a7['shift']());}}}(_0x3f14,0x3e0c7));import{Plugin as _0x1ee098,PendingActions as _0x364a56}from'ckeditor5/src/core.js';function _0x3f14(){const _0x10140e=['length','_service','entries','1877376WJABEh','rootsAttributes','metadata','_isLoaded','_initSessionsHandling','start','targetPosition','real-time-collaboration','offset','compress','404','_shouldSendSelectionUpdate','_channelId','rootName','getUser','realtimecollaborationclient-init-non-existent-root','position','sessionId','add','RealTimeCollaborationClient','_baseBufferDelay','bind','pluginName','3405780bhMYtk','_handleInitialConnectionData','8299476tEtvTl','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleReconnectionResponse','lastDocumentSession','realtimecollaborationclient-init-connection-failed','finally','_lastServerVersion','Synchronization\x20issue','cloud-services-internal-error:\x20Not\x20connected.','connection','_document','size','loadRoot','apply','message','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-error','CommentsOnly','isEnabled','reset','map','_crash','isReadOnly','enableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','_connectService','wasUndone','_shouldSendUpdate','getDocumentDetails','addToReconnectionStack','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleSendingSelectionMarkers','ready','affectsData','_operationToId','slice','_knownOperations','190047gYzpxx','return','_waitUntilSynced','fromJSON','_connectAfterSessionHasBeenFlushed','mySessionId','locale','_fetchMissingUsers','_isConnected','realtimecollaborationclient-sendbufferedoperations','_getAffectedRoot','markers','suppressErrorInCollaboration','change:hasDomSelection','collaboration-missing-channelid','_isDisconnection','initData','addOperation','sendOperations','keys','getOperations','applyOperation','clone','plugins','directChange','serverHistory','error','_compressOperations','move','_lastSyncedOperationId','createPositionAt','26952PffVOw','off','isDocumentOperation','_bufferedOperations','filter','createPositionFromPath','cloudServices.bundleVersion','from','_authorId','Notification','_ignoredOperations','connected','_clearPendingAction','_refreshUserSelectionMarkers','change:_isPendingUpdate','define','_decompressOperations','_currentBufferDelay','root','document:write','111422veLTYd','InsertOperation','push','removeFromReconnectionStack','_handleExternalOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','Permissions','_isInit','sessionCreatedAt','_hasSelectionChanged','getIdOfTheLastOperation','rtc-destroyed','305FoKsEu','3542584eKNgsy','config','model','_operationIdentifier','isUndoneOperation','channelSessions','document','collaboration','permissions','_handleReceivedOperations','createRange','_isAttached','disconnected','editor','_updateServerHistory','createdAt','isOfficialPlugin','sessionAdd:','1thQKCG','_compressor','then','listenTo','stopListening','path','setPermissions','_pendingAction','showWarning','baseVersion','getRoot','get','marker','change:range','_handleReconnectionError','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_applyOperationsSet','_disconnectService','high','data','_setPendingAction','_saveOperationInBuffer','realtimecollaborationclient-initservice-incorrect-server-operation','_sendBufferedOperationsDelayed','getMany','_knownRootNames','_addKnownRoot','end','multi-root-editor-root-attributes-no-root','enqueueChange','_isEditingAllowed','cs:removeUser','connect','set','wereChangesApplied','_hasSynchronizationProblem','PENDING_ACTION_SENDING_DATA','_disconnectionOperations','userId','_sendBufferedOperations','attributes','stop','realtimecollaborationclient-init-session-connection-error','includes','_setUpDataInit','history','version','$root','addRootAttribute','409','batch','_initThrowingOnDataSet','state','parse','setIdForTheLastOperation','_handleServerResponse','register','disableReadOnlyMode','disconnect','getOperationAuthor','CollaborativeEditingService','startsWith','operationsReceived','reconnection:\x20flushed\x20session','_sendBufferedOperationsDelayId','affectedSelectable','has','reconnect','_loadRoot','change:_isEditingAllowed','roots','requires','currentDocumentSession','forEach','editing','differ','insert','addUser','init','fire','toJSON','round','type','catch','_bufferRootLoad','selection','lastOperationAcceptedAt','rtc-offline','code','createUserMarkerOperations','_isPendingUpdate','view','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','decompress','cloudDocumentVersion','lastSyncVersion','isPremiumPlugin','newRange','createRoot','_offset','cloud-services-internal-error:\x20Request\x20timeout.','addRoot','destroy','unregister','getConnectedSessions','realtimecollaborationclient-initservice-internal-error','realtimecollaborationclient-handleserverresponse','remove','string','_getOperationsFromInitData','lastOperationId','collaboration.channelId','__className'];_0x3f14=function(){return _0x10140e;};return _0x3f14();}import{CKEditorError as _0x57f153,version as _0x2e9005,uid as _0x4e84f4}from'ckeditor5/src/utils.js';import{Notification as _0x170fde}from'ckeditor5/src/ui.js';import{transformSets as _0x2d68b7,NoOperation as _0x5ce7b1,InsertOperation as _0x571028,MarkerOperation as _0x2c39f8,RootAttributeOperation as _0x2781df,OperationFactory as _0x51fafc,History as _0x15e4e1}from'ckeditor5/src/engine.js';import _0x2c5c1b from'./websocketgateway.js';import _0x4b8e04 from'./sessions.js';import _0x12ab57 from'./usermarkers.js';import{getTranslation as _0x124ba1}from'../common-translations.js';import{Compressor as _0x12de64}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5940e8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x9c5806,CollaborativeEditingService as _0x2d2b6d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x53a2(_0x223341,_0xc3dc74){const _0x3f145b=_0x3f14();return _0x53a2=function(_0x53a244,_0x1cdc31){_0x53a244=_0x53a244-0x1d8;let _0x5e763f=_0x3f145b[_0x53a244];return _0x5e763f;},_0x53a2(_0x223341,_0xc3dc74);}let F=0x1;class l extends _0x1ee098{static get[_0x4bd200(0x2b2)](){return[_0x2c5c1b,_0x4b8e04,_0x12ab57,_0x364a56,_0x5940e8,_0x170fde];}static get[_0x4bd200(0x1f1)](){const _0x14066b=_0x4bd200;return _0x14066b(0x1ee);}static get[_0x4bd200(0x269)](){return!0x0;}static get[_0x4bd200(0x2cb)](){return!0x0;}get[_0x4bd200(0x2c9)](){const _0x258ee0=_0x4bd200;return this[_0x258ee0(0x1fa)]+this[_0x258ee0(0x2ce)];}get[_0x4bd200(0x1fa)](){const _0x10afbe=_0x4bd200;return this[_0x10afbe(0x232)][_0x10afbe(0x299)]-this[_0x10afbe(0x2ce)];}get[_0x4bd200(0x2ca)](){const _0x3b4f06=_0x4bd200,_0x75e54c=this[_0x3b4f06(0x232)][_0x3b4f06(0x22d)]();for(let _0xc9dac5=_0x75e54c[_0x3b4f06(0x1d8)]-0x1;_0xc9dac5>=0x0;_0xc9dac5--){const _0x28bb02=_0x75e54c[_0xc9dac5];if(!this[_0x3b4f06(0x290)][_0x3b4f06(0x2ad)](_0x28bb02))return _0x28bb02[_0x3b4f06(0x274)]+0x1-this[_0x3b4f06(0x2ce)];}return 0x0;}constructor(_0xdc3578){const _0x3accde=_0x4bd200;if(super(_0xdc3578),this[_0x3accde(0x2ce)]=0x0,this[_0x3accde(0x1ec)]=null,this[_0x3accde(0x232)]=new _0x15e4e1(),this[_0x3accde(0x266)][_0x3accde(0x25a)][_0x3accde(0x247)](_0x3accde(0x260),{}),this[_0x3accde(0x1e7)]=this[_0x3accde(0x266)][_0x3accde(0x25a)][_0x3accde(0x276)](_0x3accde(0x2da)),!this[_0x3accde(0x1e7)])throw new _0x57f153(_0x3accde(0x227),this);const _0x3946b4=_0xdc3578[_0x3accde(0x25a)][_0x3accde(0x276)](_0x3accde(0x23e))||_0x2e9005;this[_0x3accde(0x1d9)]=new l[(_0x3accde(0x2a7))](_0x3946b4,this[_0x3accde(0x1e7)]),this[_0x3accde(0x1fe)]=this[_0x3accde(0x266)][_0x3accde(0x25b)][_0x3accde(0x25f)],this[_0x3accde(0x26c)]=new _0x12de64(),this[_0x3accde(0x23b)]=[],this[_0x3accde(0x218)]=new WeakSet(),this[_0x3accde(0x284)]=new Set(),this[_0x3accde(0x28c)](_0x3accde(0x2c5),!0x1),this[_0x3accde(0x28c)](_0x3accde(0x28e),!0x1),this[_0x3accde(0x272)]=null,this[_0x3accde(0x255)]=!0x1,this[_0x3accde(0x2ab)]=null,this[_0x3accde(0x1ef)]=0x12c,this[_0x3accde(0x249)]=this[_0x3accde(0x1ef)],this[_0x3accde(0x236)]=null,this[_0x3accde(0x290)]=new WeakSet(),this[_0x3accde(0x25c)]=new G(this[_0x3accde(0x290)]);}[_0x4bd200(0x2b9)](){const _0x398a5b=_0x4bd200,_0x775532=this[_0x398a5b(0x266)],_0x49a903=_0x775532[_0x398a5b(0x230)][_0x398a5b(0x276)](_0x5940e8),_0x2ded5e=_0x775532[_0x398a5b(0x230)][_0x398a5b(0x276)](_0x2c5c1b);this[_0x398a5b(0x26e)](_0x49a903,_0x398a5b(0x2a6),(_0x3dece2,_0x2b1fd2)=>{const _0x4cea40=_0x398a5b,_0x302aa5=_0x2b1fd2[0x0];_0x302aa5[_0x4cea40(0x240)]&&(_0x3dece2[_0x4cea40(0x21a)]=_0x49a903[_0x4cea40(0x1e9)](_0x302aa5[_0x4cea40(0x240)]),_0x3dece2[_0x4cea40(0x294)]()),null===_0x302aa5[_0x4cea40(0x240)]&&(_0x3dece2[_0x4cea40(0x21a)]=null,_0x3dece2[_0x4cea40(0x294)]());},{'priority':_0x398a5b(0x27d)}),this[_0x398a5b(0x26e)](_0x775532[_0x398a5b(0x25b)][_0x398a5b(0x25f)][_0x398a5b(0x2c0)],_0x398a5b(0x278),(_0x469ce1,_0x5bcee5)=>{const _0x4a1d14=_0x398a5b;_0x5bcee5[_0x4a1d14(0x231)]&&this[_0x4a1d14(0x245)]();}),this[_0x398a5b(0x26e)](_0x775532[_0x398a5b(0x2b5)][_0x398a5b(0x2c6)],_0x398a5b(0x226),()=>{const _0x907aa=_0x398a5b;this[_0x907aa(0x245)]();}),this[_0x398a5b(0x29e)](),_0x775532[_0x398a5b(0x25b)]['on'](_0x398a5b(0x22e),(_0x251b9c,_0x33af39)=>{const _0x3a8133=_0x398a5b,_0x2c8f4a=_0x33af39[0x0];_0x2c8f4a[_0x3a8133(0x23a)]&&(this[_0x3a8133(0x280)](_0x2c8f4a),this[_0x3a8133(0x20f)]()&&this[_0x3a8133(0x282)]());}),this[_0x398a5b(0x297)](),this[_0x398a5b(0x1f0)](_0x398a5b(0x289))['to'](_0x2ded5e,_0x398a5b(0x29f),this,_0x398a5b(0x28e),(_0x467794,_0x566dc7)=>_0x398a5b(0x243)===_0x467794&&!_0x566dc7),this['on'](_0x398a5b(0x2b0),()=>{const _0x5e0ffe=_0x398a5b;this[_0x5e0ffe(0x289)]?_0x775532[_0x5e0ffe(0x2a4)](_0x5e0ffe(0x2c2)):_0x775532[_0x5e0ffe(0x20b)](_0x5e0ffe(0x2c2));}),this[_0x398a5b(0x289)]?_0x775532[_0x398a5b(0x2a4)](_0x398a5b(0x2c2)):_0x775532[_0x398a5b(0x20b)](_0x398a5b(0x2c2)),this[_0x398a5b(0x28c)](_0x398a5b(0x221),!0x1);}async[_0x4bd200(0x2ae)](){const _0x1fd44e=_0x4bd200,_0x2890af=this[_0x1fd44e(0x266)][_0x1fd44e(0x230)][_0x1fd44e(0x276)](_0x4b8e04),_0x43b8d0=this[_0x1fd44e(0x266)][_0x1fd44e(0x230)][_0x1fd44e(0x276)](_0x2c5c1b);try{this[_0x1fd44e(0x2c5)]=!0x0,_0x2890af[_0x1fd44e(0x2d2)](this[_0x1fd44e(0x1e7)]);const _0x25e96d=await this[_0x1fd44e(0x1d9)][_0x1fd44e(0x2ae)](_0x43b8d0[_0x1fd44e(0x1fd)],this[_0x1fd44e(0x2ca)]);await this[_0x1fd44e(0x1f6)](_0x25e96d)&&(this[_0x1fd44e(0x2c5)]=!0x1,this[_0x1fd44e(0x244)]());const _0x15241c=await this[_0x1fd44e(0x1d9)][_0x1fd44e(0x2d3)]();_0x2890af[_0x1fd44e(0x2a3)](this[_0x1fd44e(0x1e7)],_0x15241c),this[_0x1fd44e(0x213)](),this[_0x1fd44e(0x221)]=!0x0;}catch(_0x2ef5bc){if(function(_0x40c845){const _0xa13683=_0x1fd44e;return _0xa13683(0x1e5)===_0x40c845[_0xa13683(0x2c3)];}(_0x2ef5bc)&&this[_0x1fd44e(0x1ec)])await this[_0x1fd44e(0x21d)]();else{if(function(_0x149eaf){const _0x1d28e8=_0x1fd44e;return _0x1d28e8(0x29c)===_0x149eaf[_0x1d28e8(0x2c3)];}(_0x2ef5bc)){const _0x1ddf30=_0x124ba1(this[_0x1fd44e(0x266)][_0x1fd44e(0x21f)],_0x1fd44e(0x1f5));this[_0x1fd44e(0x279)](_0x1ddf30);}else{if(!(_0x2ef5bc instanceof H))throw _0x2ef5bc;this[_0x1fd44e(0x279)]();}}}}[_0x4bd200(0x2d1)](){const _0x1a616d=_0x4bd200,_0x294ca8=this[_0x1a616d(0x266)][_0x1a616d(0x230)][_0x1a616d(0x276)](_0x2c5c1b),_0x2665a1=this[_0x1a616d(0x266)][_0x1a616d(0x230)][_0x1a616d(0x276)](_0x4b8e04);this[_0x1a616d(0x266)][_0x1a616d(0x20b)](_0x1a616d(0x257)),_0x2665a1[_0x1a616d(0x25e)][_0x1a616d(0x2ad)](this[_0x1a616d(0x1e7)])&&_0x2665a1[_0x1a616d(0x2d2)](this[_0x1a616d(0x1e7)]),_0x294ca8[_0x1a616d(0x24f)](this),this[_0x1a616d(0x27c)](),super[_0x1a616d(0x2d1)]();}async[_0x4bd200(0x1f6)](_0x484225){const _0x5dc919=_0x4bd200;if(this[_0x5dc919(0x1ec)]!==_0x484225[_0x5dc919(0x1ec)]&&this[_0x5dc919(0x236)]!==_0x484225[_0x5dc919(0x2d9)])throw new H();return this[_0x5dc919(0x1ec)]=_0x484225[_0x5dc919(0x1ec)],this[_0x5dc919(0x2a2)]([],{..._0x484225,'wereChangesApplied':!0x1,'data':_0x484225[_0x5dc919(0x27e)]},_0x5dc919(0x2ae));}async[_0x4bd200(0x20d)](_0x4a6d12,_0x1fdbe5=!0x1){const _0x49e86e=_0x4bd200,{connection:_0x203267}=this[_0x49e86e(0x266)][_0x49e86e(0x230)][_0x49e86e(0x276)](_0x2c5c1b);l[_0x49e86e(0x2a7)][_0x49e86e(0x2d3)](_0x203267,this[_0x49e86e(0x1e7)])[_0x49e86e(0x26d)](_0x3492af=>this[_0x49e86e(0x1df)](_0x3492af))[_0x49e86e(0x2be)](_0x4eb87b=>{const _0x1d04b0=_0x49e86e;this[_0x1d04b0(0x209)](_0x1d04b0(0x295),_0x4eb87b);}),this[_0x49e86e(0x26e)](this[_0x49e86e(0x1d9)],_0x49e86e(0x2a9),this[_0x49e86e(0x262)][_0x49e86e(0x1f0)](this)),this[_0x49e86e(0x26e)](this[_0x49e86e(0x1d9)],_0x49e86e(0x233),(_0x5c1590,_0x36297a)=>{const _0x383ff3=_0x49e86e;this[_0x383ff3(0x209)](_0x383ff3(0x2d4),_0x36297a);}),this[_0x49e86e(0x26e)](this[_0x49e86e(0x1d9)],_0x49e86e(0x265),()=>{const _0x5a9b1d=_0x49e86e;this[_0x5a9b1d(0x221)]=!0x1;});const _0x4970fe=this[_0x49e86e(0x25c)][_0x49e86e(0x256)](_0x4a6d12);this[_0x49e86e(0x2c5)]=!0x0;const _0x20c5b5=await this[_0x49e86e(0x1d9)][_0x49e86e(0x28b)](_0x203267,this[_0x49e86e(0x234)](_0x4a6d12),_0x4970fe);if(this[_0x49e86e(0x1ec)]=_0x20c5b5[_0x49e86e(0x1ec)],_0x1fdbe5){if(!_0x20c5b5[_0x49e86e(0x28d)])return void this[_0x49e86e(0x279)]();this[_0x49e86e(0x2c5)]=!0x1,this[_0x49e86e(0x244)](),this[_0x49e86e(0x232)][_0x49e86e(0x207)](),this[_0x49e86e(0x2ce)]=_0x20c5b5[_0x49e86e(0x1e3)],this[_0x49e86e(0x232)][_0x49e86e(0x299)]=this[_0x49e86e(0x2ce)],await this[_0x49e86e(0x2a2)](_0x4a6d12,_0x20c5b5,_0x49e86e(0x2aa));}else await this[_0x49e86e(0x1f3)](_0x20c5b5,_0x4a6d12);this[_0x49e86e(0x213)](),this[_0x49e86e(0x221)]=!0x0;}[_0x4bd200(0x213)](){const _0x2a1ae4=_0x4bd200,_0xe00904=this[_0x2a1ae4(0x266)][_0x2a1ae4(0x230)][_0x2a1ae4(0x276)](_0x4b8e04),_0x328e31=this[_0x2a1ae4(0x266)][_0x2a1ae4(0x230)][_0x2a1ae4(0x276)](_0x12ab57),_0x28df38=_0xe00904[_0x2a1ae4(0x25e)][_0x2a1ae4(0x276)](this[_0x2a1ae4(0x1e7)]);_0x28df38&&_0x28df38[_0x2a1ae4(0x1d8)]>0x1?_0x328e31[_0x2a1ae4(0x2c4)]():this[_0x2a1ae4(0x26e)](_0xe00904,_0x2a1ae4(0x26a)+this[_0x2a1ae4(0x1e7)],()=>{const _0x3f9904=_0x2a1ae4;0x2===_0xe00904[_0x3f9904(0x25e)][_0x3f9904(0x276)](this[_0x3f9904(0x1e7)])[_0x3f9904(0x1d8)]&&_0x328e31[_0x3f9904(0x2c4)]();});}async[_0x4bd200(0x262)](_0x579fd1,_0x26cc86,_0x265a85,_0x28ca1d){const _0x398da8=_0x4bd200;if(!this[_0x398da8(0x2c5)]&&this[_0x398da8(0x1fe)][_0x398da8(0x299)]==_0x26cc86){const _0x38cf8b=this[_0x398da8(0x248)](_0x265a85,_0x28ca1d);await this[_0x398da8(0x220)](_0x38cf8b),this[_0x398da8(0x250)](_0x38cf8b,_0x26cc86,_0x265a85[_0x398da8(0x2d9)])||this[_0x398da8(0x209)](_0x398da8(0x281));}}async[_0x4bd200(0x21d)](){const _0x59ed9d=_0x4bd200;this[_0x59ed9d(0x27c)]();const {locale:_0x183344}=this[_0x59ed9d(0x266)];let _0x258d68;try{_0x258d68=await this[_0x59ed9d(0x1d9)][_0x59ed9d(0x210)]();}catch(_0x82109c){const _0x3aac6c=_0x124ba1(_0x183344,_0x59ed9d(0x2c7));return void this[_0x59ed9d(0x279)](_0x3aac6c);}const _0x151382=_0x258d68[_0x59ed9d(0x2b3)]||_0x258d68[_0x59ed9d(0x1f7)];if(this[_0x59ed9d(0x236)]===_0x151382[_0x59ed9d(0x2d9)])await this[_0x59ed9d(0x20d)](this[_0x59ed9d(0x266)][_0x59ed9d(0x25b)][_0x59ed9d(0x25f)][_0x59ed9d(0x298)][_0x59ed9d(0x22d)](),!0x0);else{const _0x4861c3=_0x124ba1(_0x183344,_0x59ed9d(0x203));this[_0x59ed9d(0x279)](_0x4861c3);}}[_0x4bd200(0x27c)](){const _0x7299a9=_0x4bd200;this[_0x7299a9(0x1d9)][_0x7299a9(0x2a5)](),this[_0x7299a9(0x23b)]=[],clearTimeout(this[_0x7299a9(0x2ab)]),this[_0x7299a9(0x26f)](this[_0x7299a9(0x1d9)]);}[_0x4bd200(0x1df)](_0x325b6f){const _0x567e8d=_0x4bd200,_0x19dc9a=this[_0x567e8d(0x266)][_0x567e8d(0x230)][_0x567e8d(0x276)](_0x4b8e04);this[_0x567e8d(0x26e)](_0x19dc9a,_0x567e8d(0x26a)+this[_0x567e8d(0x1e7)],(_0x582e3d,{session:_0x503ec8})=>{const _0xc20828=_0x567e8d;if(_0x503ec8['id']===_0x19dc9a[_0xc20828(0x21e)]){_0x582e3d[_0xc20828(0x239)]();const _0x56fb55=this[_0xc20828(0x266)][_0xc20828(0x230)][_0xc20828(0x2ad)](_0xc20828(0x205))&&this[_0xc20828(0x266)][_0xc20828(0x230)][_0xc20828(0x276)](_0xc20828(0x205));let _0xaf64a3=_0x503ec8[_0xc20828(0x261)];_0x56fb55&&_0x56fb55[_0xc20828(0x206)]&&(_0xaf64a3=_0xaf64a3[_0xc20828(0x23c)](_0x347ff6=>_0xc20828(0x24b)!==_0x347ff6)),this[_0xc20828(0x266)][_0xc20828(0x230)][_0xc20828(0x276)](_0xc20828(0x252))[_0xc20828(0x271)](_0xaf64a3,this[_0xc20828(0x1e7)]);}}),_0x19dc9a[_0x567e8d(0x2a3)](this[_0x567e8d(0x1e7)],_0x325b6f);}[_0x4bd200(0x29e)](){const _0x5cadb9=_0x4bd200,_0x67b59b=this[_0x5cadb9(0x266)][_0x5cadb9(0x27e)][_0x5cadb9(0x28c)];this[_0x5cadb9(0x266)][_0x5cadb9(0x27e)][_0x5cadb9(0x28c)]=(..._0x214da0)=>{const _0x48bf47=_0x5cadb9;if(!_0x214da0[_0x214da0[_0x48bf47(0x1d8)]-0x1][_0x48bf47(0x225)])throw new _0x57f153(_0x48bf47(0x251),this);_0x67b59b[_0x48bf47(0x201)](this[_0x48bf47(0x266)][_0x48bf47(0x27e)],_0x214da0);};}[_0x4bd200(0x297)](){const _0x22789e=_0x4bd200;this[_0x22789e(0x266)][_0x22789e(0x27e)]['on'](_0x22789e(0x2b9),(_0x37439c,[_0x19d882])=>{const _0x265996=_0x22789e;if(this[_0x265996(0x1fe)][_0x265996(0x299)])throw new _0x57f153(_0x265996(0x20c),this);_0x37439c[_0x265996(0x294)](),this[_0x265996(0x27f)]();const _0x4c4528=this[_0x265996(0x266)][_0x265996(0x25a)][_0x265996(0x276)](_0x265996(0x1dc)),_0x44a08c=this[_0x265996(0x2d8)](_0x19d882,_0x4c4528);0x0==_0x44a08c[_0x265996(0x1d8)]&&_0x44a08c[_0x265996(0x24e)](new _0x5ce7b1(0x0)),_0x37439c[_0x265996(0x21a)]=this[_0x265996(0x20d)](_0x44a08c)[_0x265996(0x26d)](()=>{const _0x3bda35=_0x265996;this[_0x3bda35(0x266)][_0x3bda35(0x230)][_0x3bda35(0x276)](_0x2c5c1b)[_0x3bda35(0x211)](this),this[_0x3bda35(0x266)][_0x3bda35(0x27e)][_0x3bda35(0x2ba)](_0x3bda35(0x214));})[_0x265996(0x2be)](_0x327e28=>this[_0x265996(0x209)](_0x265996(0x1f8),_0x327e28))[_0x265996(0x1f9)](()=>this[_0x265996(0x244)]());},{'priority':_0x22789e(0x27d)}),this[_0x22789e(0x266)]['on'](_0x22789e(0x200),async(_0xa80dac,[_0x254383,_0x2daaa6])=>{const _0x1dd190=_0x22789e;_0xa80dac[_0x1dd190(0x294)]();const _0x473262=this[_0x1dd190(0x266)][_0x1dd190(0x25b)][_0x1dd190(0x25f)][_0x1dd190(0x275)](_0x254383);if(!this[_0x1dd190(0x284)][_0x1dd190(0x2ad)](_0x254383)){const _0x32e503=_0x2daaa6&&_0x2daaa6[_0x1dd190(0x27e)]?_0x2daaa6[_0x1dd190(0x27e)]:'',_0x29b555=_0x2daaa6&&_0x2daaa6[_0x1dd190(0x293)]?_0x2daaa6[_0x1dd190(0x293)]:{};await this[_0x1dd190(0x2af)](_0x254383,_0x32e503,_0x29b555);}this[_0x1dd190(0x266)][_0x1dd190(0x25b)][_0x1dd190(0x288)]({'isUndoable':!0x1},()=>{const _0x5e4197=_0x1dd190;_0x473262[_0x5e4197(0x1de)]=!0x0,this[_0x5e4197(0x266)][_0x5e4197(0x25b)][_0x5e4197(0x25f)][_0x5e4197(0x2b6)][_0x5e4197(0x2bf)](_0x473262);});},{'priority':_0x22789e(0x27d)});}async[_0x4bd200(0x220)](_0xb54cce){const _0x4ab1fd=_0x4bd200,_0x1ad253=this[_0x4ab1fd(0x266)][_0x4ab1fd(0x230)][_0x4ab1fd(0x276)](_0x5940e8),{connection:_0x4e781b}=this[_0x4ab1fd(0x266)][_0x4ab1fd(0x230)][_0x4ab1fd(0x276)](_0x2c5c1b),_0x3d83a4=new Set();for(const _0x4a50cd of _0xb54cce){const _0x57624f=_0x4a50cd[_0x4ab1fd(0x240)];_0x57624f&&!_0x1ad253[_0x4ab1fd(0x1e9)](_0x57624f)&&_0x3d83a4[_0x4ab1fd(0x1ed)](_0x57624f);}if(0x0===_0x3d83a4[_0x4ab1fd(0x1ff)])return;const _0x5950b3=await _0x9c5806[_0x4ab1fd(0x283)](_0x4e781b,Array[_0x4ab1fd(0x23f)](_0x3d83a4));for(const _0x477dbd of _0x5950b3)_0x1ad253[_0x4ab1fd(0x1e9)](_0x477dbd['id'])||_0x1ad253[_0x4ab1fd(0x2b8)](_0x477dbd);}[_0x4bd200(0x2d8)](_0x24c3af,_0x47a4e5={}){const _0x4964c8=_0x4bd200,_0x244d0c=this[_0x4964c8(0x266)][_0x4964c8(0x25b)],_0x414118=[];let _0x6e03df=0x0;const _0x248d78=_0x4964c8(0x2d7)==typeof _0x24c3af?{'main':_0x24c3af}:_0x24c3af;for(const _0x2ba752 of Object[_0x4964c8(0x22c)](_0x248d78)){if(!this[_0x4964c8(0x1fe)][_0x4964c8(0x2b1)][_0x4964c8(0x2ad)](_0x2ba752))throw new _0x57f153(_0x4964c8(0x1ea),this);const _0x138e56=this[_0x4964c8(0x266)][_0x4964c8(0x27e)][_0x4964c8(0x2a0)](_0x248d78[_0x2ba752]),_0x42f6c6=this[_0x4964c8(0x1fe)][_0x4964c8(0x275)](_0x2ba752),_0x43d220=new _0x571028(_0x244d0c[_0x4964c8(0x237)](_0x42f6c6,0x0),_0x138e56,_0x6e03df++);_0x414118[_0x4964c8(0x24e)](_0x43d220);for(const [_0x1e81e5,_0x3a477e]of _0x138e56[_0x4964c8(0x224)]){const _0x1f9f4c=_0x244d0c[_0x4964c8(0x263)](_0x244d0c[_0x4964c8(0x23d)](_0x42f6c6,_0x3a477e[_0x4964c8(0x1e0)][_0x4964c8(0x270)][_0x4964c8(0x217)]()),_0x244d0c[_0x4964c8(0x23d)](_0x42f6c6,_0x3a477e[_0x4964c8(0x286)][_0x4964c8(0x270)][_0x4964c8(0x217)]())),_0x375136=new _0x2c39f8(_0x1e81e5,null,_0x1f9f4c,_0x244d0c[_0x4964c8(0x224)],!0x0,_0x6e03df++);_0x414118[_0x4964c8(0x24e)](_0x375136);}}if(_0x47a4e5)for(const [_0x3f2e15,_0x8e1337]of Object[_0x4964c8(0x1da)](_0x47a4e5)){const _0x422313=_0x244d0c[_0x4964c8(0x25f)][_0x4964c8(0x275)](_0x3f2e15);if(!_0x422313)throw new _0x57f153(_0x4964c8(0x287),null);for(const [_0x5e83da,_0xce5d0]of Object[_0x4964c8(0x1da)](_0x8e1337))if(null!==_0xce5d0){const _0x41e139=new _0x2781df(_0x422313,_0x5e83da,null,_0xce5d0,_0x6e03df++);_0x414118[_0x4964c8(0x24e)](_0x41e139);}}return _0x414118;}async[_0x4bd200(0x2af)](_0x589586,_0x42ce14,_0x38bbf9){const _0x683370=_0x4bd200;this[_0x683370(0x2d8)]({[_0x589586]:_0x42ce14},{[_0x589586]:_0x38bbf9})[_0x683370(0x2b4)]((_0x6f69d8,_0x5bd6e2)=>{const _0x463eb1=_0x683370;_0x6f69d8[_0x463eb1(0x274)]=this[_0x463eb1(0x1fe)][_0x463eb1(0x299)]+_0x5bd6e2,_0x6f69d8[_0x463eb1(0x253)]=!0x0,this[_0x463eb1(0x280)](_0x6f69d8);}),this[_0x683370(0x282)](),await this[_0x683370(0x21b)]();}async[_0x4bd200(0x1f3)](_0x9e24f3,_0x2286f2){const _0x4a7a47=_0x4bd200;let _0x3d5094;this[_0x4a7a47(0x2ce)]=_0x9e24f3[_0x4a7a47(0x1e3)];const _0x1cf02d=_0x9e24f3[_0x4a7a47(0x28d)]&&!_0x9e24f3[_0x4a7a47(0x229)],_0x5d609d=_0x1cf02d?0x0:_0x9e24f3[_0x4a7a47(0x27e)][_0x4a7a47(0x274)];if(_0x2286f2[_0x4a7a47(0x2b4)](_0x54ead8=>{const _0x53cd86=_0x4a7a47;_0x54ead8[_0x53cd86(0x253)]=!0x0,_0x54ead8[_0x53cd86(0x268)]=_0x9e24f3[_0x53cd86(0x254)],_0x54ead8[_0x53cd86(0x240)]=null;}),_0x1cf02d)_0x3d5094=_0x2286f2,this[_0x4a7a47(0x27b)](_0x3d5094,_0x1cf02d);else{if(_0x9e24f3[_0x4a7a47(0x229)]){const _0x5d7b03=this[_0x4a7a47(0x2d8)](_0x9e24f3[_0x4a7a47(0x229)]);this[_0x4a7a47(0x1fe)][_0x4a7a47(0x298)][_0x4a7a47(0x299)]=-_0x5d7b03[_0x4a7a47(0x1d8)],_0x5d7b03[_0x4a7a47(0x2b4)](_0x1cce81=>{const _0x116499=_0x4a7a47;_0x1cce81[_0x116499(0x274)]-=_0x5d7b03[_0x116499(0x1d8)],_0x1cce81[_0x116499(0x268)]=_0x9e24f3[_0x116499(0x254)],_0x1cce81[_0x116499(0x253)]=!0x0,_0x1cce81[_0x116499(0x240)]=null;}),this[_0x4a7a47(0x27b)](_0x5d7b03,!0x0),this[_0x4a7a47(0x232)][_0x4a7a47(0x299)]=-_0x5d7b03[_0x4a7a47(0x1d8)]+this[_0x4a7a47(0x2ce)],this[_0x4a7a47(0x267)](_0x5d7b03);}this[_0x4a7a47(0x1fe)][_0x4a7a47(0x298)][_0x4a7a47(0x299)]=_0x5d609d,_0x3d5094=this[_0x4a7a47(0x248)](_0x9e24f3[_0x4a7a47(0x27e)],_0x9e24f3[_0x4a7a47(0x1dd)]),await this[_0x4a7a47(0x220)](_0x3d5094),this[_0x4a7a47(0x27b)](_0x3d5094,_0x1cf02d);}_0x9e24f3[_0x4a7a47(0x2d9)]&&(this[_0x4a7a47(0x25c)][_0x4a7a47(0x2a1)](_0x3d5094,_0x9e24f3[_0x4a7a47(0x2d9)]),this[_0x4a7a47(0x236)]=_0x9e24f3[_0x4a7a47(0x2d9)]),this[_0x4a7a47(0x232)][_0x4a7a47(0x299)]=_0x5d609d+this[_0x4a7a47(0x2ce)],this[_0x4a7a47(0x267)](_0x3d5094),_0x2286f2[_0x4a7a47(0x23c)](_0x14d12c=>{const _0x3b17b6=_0x4a7a47,_0x1a4994=this[_0x3b17b6(0x223)](_0x14d12c);return _0x1a4994&&!this[_0x3b17b6(0x284)][_0x3b17b6(0x2ad)](_0x1a4994);})[_0x4a7a47(0x2b4)]((_0x323824,_0xa66571)=>{const _0x1684bd=_0x4a7a47;_0x323824[_0x1684bd(0x274)]=this[_0x1684bd(0x1fe)][_0x1684bd(0x299)]+_0xa66571,this[_0x1684bd(0x280)](_0x323824);}),this[_0x4a7a47(0x20f)]()?(this[_0x4a7a47(0x249)]=0x0,this[_0x4a7a47(0x282)](!0x0),await this[_0x4a7a47(0x21b)]()):(this[_0x4a7a47(0x2c5)]=!0x1,this[_0x4a7a47(0x244)]());}[_0x4bd200(0x209)](_0x426c92,_0x3143e3,_0x169aeb){const _0x3cb0d9=_0x4bd200;throw this[_0x3cb0d9(0x2c5)]=!0x0,_0x3143e3&&console[_0x3cb0d9(0x233)](_0x3143e3),_0x169aeb&&this[_0x3cb0d9(0x266)][_0x3cb0d9(0x20b)](_0x3cb0d9(0x204)),new _0x57f153(_0x426c92,this[_0x3cb0d9(0x266)]);}[_0x4bd200(0x280)](_0x293e31){const _0x5d91bd=_0x4bd200;this[_0x5d91bd(0x218)][_0x5d91bd(0x2ad)](_0x293e31)||(this[_0x5d91bd(0x218)][_0x5d91bd(0x1ed)](_0x293e31),this[_0x5d91bd(0x23b)][_0x5d91bd(0x24e)](_0x293e31),this[_0x5d91bd(0x272)]||_0x5d91bd(0x277)==_0x293e31[_0x5d91bd(0x2bd)]&&!_0x293e31[_0x5d91bd(0x215)]||this[_0x5d91bd(0x27f)]());}[_0x4bd200(0x282)](_0x59c923=!0x1){const _0x17585e=_0x4bd200;!_0x59c923&&this[_0x17585e(0x2c5)]||(this[_0x17585e(0x2c5)]=!0x0,clearTimeout(this[_0x17585e(0x2ab)]),this[_0x17585e(0x2ab)]=setTimeout(()=>{const _0x12be30=_0x17585e;this[_0x12be30(0x292)]()[_0x12be30(0x26d)](_0x1cfec4=>{const _0x48ecbb=_0x12be30;_0x1cfec4&&(this[_0x48ecbb(0x244)](),this[_0x48ecbb(0x2c5)]=!0x1);})[_0x12be30(0x2be)](_0x26123d=>{const _0x3d3c2d=_0x12be30;this[_0x3d3c2d(0x244)](),this[_0x3d3c2d(0x2c5)]=!0x1,function(_0xda0784){const _0x359c56=_0x3d3c2d;return _0xda0784[_0x359c56(0x202)][_0x359c56(0x2a8)](_0x359c56(0x1fc))||_0xda0784[_0x359c56(0x202)][_0x359c56(0x2a8)](_0x359c56(0x27a))||_0xda0784[_0x359c56(0x202)][_0x359c56(0x2a8)](_0x359c56(0x2cf));}(_0x26123d)||this[_0x3d3c2d(0x209)](_0x26123d[_0x3d3c2d(0x202)],_0x26123d,!0x0);});},this[_0x17585e(0x249)]));}[_0x4bd200(0x21b)](){return new Promise(_0x467346=>{const _0x57dd5d=_0x53a2;this['on'](_0x57dd5d(0x246),()=>{_0x467346();});});}async[_0x4bd200(0x292)](){const _0x4189c5=_0x4bd200,_0x2aa5e9=this[_0x4189c5(0x266)][_0x4189c5(0x230)][_0x4189c5(0x276)](_0x12ab57);if(this[_0x4189c5(0x1e6)]()&&(_0x2aa5e9[_0x4189c5(0x2c4)](),this[_0x4189c5(0x255)]=!0x1),!this[_0x4189c5(0x20f)]())return!0x0;const _0x79c958=[...this[_0x4189c5(0x23b)]];for(const _0x322114 of _0x79c958)_0x322114[_0x4189c5(0x20e)]=this[_0x4189c5(0x1fe)][_0x4189c5(0x298)][_0x4189c5(0x25d)](_0x322114);const _0x390e79=this[_0x4189c5(0x25c)][_0x4189c5(0x256)](_0x79c958),_0x17e5b8=F++,_0x430415=this[_0x4189c5(0x234)](_0x79c958),_0x5c38e8=await this[_0x4189c5(0x1d9)][_0x4189c5(0x22b)](_0x430415,_0x430415[_0x4189c5(0x274)],_0x390e79);try{return await this[_0x4189c5(0x2a2)](_0x79c958,_0x5c38e8,_0x17e5b8);}catch(_0x5bf0a9){return this[_0x4189c5(0x209)](_0x4189c5(0x222),_0x5bf0a9);}}async[_0x4bd200(0x2a2)](_0x52d3f3,_0x2b0546,_0x129952){const _0x5a42f8=_0x4bd200;if(_0x5a42f8(0x233)in _0x2b0546)throw _0x2b0546[_0x5a42f8(0x233)];let _0x4e5674=!0x1;if(_0x2b0546[_0x5a42f8(0x28d)]){_0x2b0546[_0x5a42f8(0x2d9)]&&(this[_0x5a42f8(0x236)]=_0x2b0546[_0x5a42f8(0x2d9)]),this[_0x5a42f8(0x23b)]=this[_0x5a42f8(0x23b)][_0x5a42f8(0x23c)](_0x5d3a96=>!_0x52d3f3[_0x5a42f8(0x296)](_0x5d3a96));for(const _0x3934f9 of _0x52d3f3)_0x3934f9[_0x5a42f8(0x268)]=_0x5a42f8(0x2c1)in _0x2b0546&&_0x2b0546[_0x5a42f8(0x2c1)]||void 0x0;q(_0x52d3f3,_0x2b0546[_0x5a42f8(0x299)]-_0x52d3f3[_0x5a42f8(0x1d8)]),this[_0x5a42f8(0x267)](_0x52d3f3);const _0x2a2c34=_0x52d3f3[_0x5a42f8(0x23c)](_0x3d468b=>{const _0x2e4a16=_0x5a42f8;if(!_0x3d468b[_0x2e4a16(0x253)])return!0x1;const _0x245d02=this[_0x2e4a16(0x223)](_0x3d468b);return _0x245d02&&!this[_0x2e4a16(0x284)][_0x2e4a16(0x2ad)](_0x245d02);});q(_0x2a2c34,this[_0x5a42f8(0x1fe)][_0x5a42f8(0x299)]),this[_0x5a42f8(0x27b)](_0x2a2c34),_0x4e5674=!0x0,this[_0x5a42f8(0x249)]=this[_0x5a42f8(0x1ef)];}else{const _0x2f26ff=this[_0x5a42f8(0x248)](_0x2b0546[_0x5a42f8(0x27e)],_0x2b0546[_0x5a42f8(0x1dd)])[_0x5a42f8(0x23c)](_0x469426=>_0x469426[_0x5a42f8(0x274)]>=this[_0x5a42f8(0x1fa)]);_0x2f26ff[_0x5a42f8(0x2b4)](_0x28c4a6=>this[_0x5a42f8(0x285)](_0x28c4a6)),this[_0x5a42f8(0x23b)]=this[_0x5a42f8(0x23b)][_0x5a42f8(0x23c)](_0x4d80d6=>!_0x4d80d6[_0x5a42f8(0x253)]||!this[_0x5a42f8(0x284)][_0x5a42f8(0x2ad)](this[_0x5a42f8(0x223)](_0x4d80d6))),this[_0x5a42f8(0x23b)][_0x5a42f8(0x1d8)]&&q(this[_0x5a42f8(0x23b)],this[_0x5a42f8(0x23b)][0x0][_0x5a42f8(0x274)]),await this[_0x5a42f8(0x220)](_0x2f26ff),_0x4e5674=this[_0x5a42f8(0x250)](_0x2f26ff,_0x2b0546[_0x5a42f8(0x299)],_0x2b0546[_0x5a42f8(0x2d9)]),this[_0x5a42f8(0x249)]=Math[_0x5a42f8(0x2bc)](this[_0x5a42f8(0x249)]/0x2);}return _0x4e5674?!this[_0x5a42f8(0x20f)]()||(this[_0x5a42f8(0x282)](!0x0),!0x1):this[_0x5a42f8(0x209)](_0x5a42f8(0x2d5));}[_0x4bd200(0x250)](_0x11b363,_0x450a55,_0x27e089){const _0x537e48=_0x4bd200;try{const _0x31dd7e={'document':this[_0x537e48(0x1fe)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x37174f,operationsB:_0x266f81,originalOperations:_0x13cc4f}=_0x2d68b7(_0x11b363,this[_0x537e48(0x23b)],_0x31dd7e);q(_0x37174f,this[_0x537e48(0x1fe)][_0x537e48(0x299)]),q(_0x266f81,_0x450a55);for(const _0x8517b3 of _0x37174f){const _0x1f7dea=_0x13cc4f[_0x537e48(0x276)](_0x8517b3);_0x8517b3[_0x537e48(0x240)]=_0x1f7dea?_0x1f7dea[_0x537e48(0x240)]:null;}_0x27e089&&(this[_0x537e48(0x25c)][_0x537e48(0x2a1)](_0x11b363,_0x27e089),this[_0x537e48(0x236)]=_0x27e089),this[_0x537e48(0x23b)]=[..._0x266f81],this[_0x537e48(0x27b)](_0x37174f),this[_0x537e48(0x267)](_0x11b363);}catch(_0x7c205d){return console[_0x537e48(0x233)](_0x7c205d),!0x1;}return!0x0;}[_0x4bd200(0x27b)](_0x48cb39,_0x11fe35=!0x1){const _0x3dbb0d=_0x4bd200;this[_0x3dbb0d(0x266)][_0x3dbb0d(0x25b)][_0x3dbb0d(0x288)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5be328=>{const _0x37ce5f=_0x3dbb0d;for(const _0x109a93 of _0x48cb39)this[_0x37ce5f(0x218)][_0x37ce5f(0x1ed)](_0x109a93),this[_0x37ce5f(0x285)](_0x109a93),_0x5be328[_0x37ce5f(0x29d)][_0x37ce5f(0x22a)](_0x109a93),this[_0x37ce5f(0x266)][_0x37ce5f(0x25b)][_0x37ce5f(0x22e)](_0x109a93);});}[_0x4bd200(0x285)](_0x493194){const _0x4e0fe9=_0x4bd200,_0xb90802=this[_0x4e0fe9(0x223)](_0x493194);_0xb90802&&this[_0x4e0fe9(0x284)][_0x4e0fe9(0x1ed)](_0xb90802);}[_0x4bd200(0x223)](_0x387a4a){const _0xc9af14=_0x4bd200;let _0x2732e2,_0x39303e;switch(_0x387a4a[_0xc9af14(0x2bd)]){case _0xc9af14(0x2b7):_0x2732e2=_0x387a4a[_0xc9af14(0x1eb)][_0xc9af14(0x24a)];break;case _0xc9af14(0x277):if(_0x39303e=_0x387a4a[_0xc9af14(0x2cc)],!_0x39303e)return null;_0x2732e2=_0x39303e[_0xc9af14(0x24a)];break;case _0xc9af14(0x29b):_0x2732e2=_0x387a4a[_0xc9af14(0x24a)];break;case _0xc9af14(0x2d0):_0x2732e2=_0x387a4a[_0xc9af14(0x2ac)];break;case _0xc9af14(0x235):_0x2732e2=_0x387a4a[_0xc9af14(0x1e1)][_0xc9af14(0x24a)];break;default:return null;}return _0x2732e2[_0xc9af14(0x1e8)];}[_0x4bd200(0x267)](_0x512fa7){const _0x41ac7b=_0x4bd200;_0x512fa7[_0x41ac7b(0x2b4)](_0x56ca2f=>{const _0x44e58d=_0x41ac7b,_0x235f36=_0x56ca2f[_0x44e58d(0x22f)]();_0x235f36[_0x44e58d(0x240)]=_0x56ca2f[_0x44e58d(0x240)],_0x235f36[_0x44e58d(0x253)]=!!_0x56ca2f[_0x44e58d(0x253)],_0x235f36[_0x44e58d(0x268)]=_0x56ca2f[_0x44e58d(0x268)],_0x235f36[_0x44e58d(0x274)]+=this[_0x44e58d(0x2ce)],_0x56ca2f[_0x44e58d(0x228)]&&this[_0x44e58d(0x290)][_0x44e58d(0x1ed)](_0x235f36),this[_0x44e58d(0x232)][_0x44e58d(0x22a)](_0x235f36);});}[_0x4bd200(0x279)](_0x382fc1){const _0x497941=_0x4bd200,_0x2291b5=this[_0x497941(0x266)][_0x497941(0x230)][_0x497941(0x276)](_0x497941(0x241)),_0x294e74=this[_0x497941(0x266)][_0x497941(0x21f)];_0x382fc1||(_0x382fc1=_0x124ba1(_0x294e74,_0x497941(0x212))),_0x2291b5[_0x497941(0x273)](_0x382fc1,{'title':_0x124ba1(_0x294e74,_0x497941(0x1fb)),'namespace':_0x497941(0x1e2)}),this[_0x497941(0x28e)]=!0x0,clearTimeout(this[_0x497941(0x2ab)]),this[_0x497941(0x23b)]=[],this[_0x497941(0x266)][_0x497941(0x230)][_0x497941(0x276)](_0x2c5c1b)[_0x497941(0x2d1)]();}[_0x4bd200(0x27f)](){const _0x2382a7=_0x4bd200;this[_0x2382a7(0x272)]||(this[_0x2382a7(0x272)]=this[_0x2382a7(0x266)][_0x2382a7(0x230)][_0x2382a7(0x276)](_0x364a56)[_0x2382a7(0x1ed)](_0x124ba1(this[_0x2382a7(0x266)][_0x2382a7(0x21f)],_0x2382a7(0x28f))));}[_0x4bd200(0x244)](){const _0x185c3a=_0x4bd200;this[_0x185c3a(0x272)]&&(this[_0x185c3a(0x266)][_0x185c3a(0x230)][_0x185c3a(0x276)](_0x364a56)[_0x185c3a(0x2d6)](this[_0x185c3a(0x272)]),this[_0x185c3a(0x272)]=null);}[_0x4bd200(0x234)](_0x49a83d){const _0x4cfe95=_0x4bd200,_0x30206f=_0x49a83d[_0x4cfe95(0x208)](_0x535198=>_0x535198[_0x4cfe95(0x2bb)]());return this[_0x4cfe95(0x26c)][_0x4cfe95(0x1e4)](_0x30206f);}[_0x4bd200(0x248)](_0x16687f,_0x58092f){const _0x541562=_0x4bd200;return this[_0x541562(0x26c)][_0x541562(0x2c8)](_0x16687f)[_0x541562(0x208)]((_0x539665,_0x3fc1cd)=>{const _0x1b3c29=_0x541562,_0x405de0=_0x1b3c29(0x2b9)==_0x58092f[_0x3fc1cd][_0x1b3c29(0x2bd)];if(_0x1b3c29(0x24d)==_0x539665[_0x1b3c29(0x2db)]){const _0x8d0c80=_0x539665[_0x1b3c29(0x1eb)][_0x1b3c29(0x24a)];!this[_0x1b3c29(0x1fe)][_0x1b3c29(0x275)](_0x8d0c80)&&(this[_0x1b3c29(0x1fe)][_0x1b3c29(0x2cd)](_0x1b3c29(0x29a),_0x8d0c80)[_0x1b3c29(0x264)]=!0x1);}const _0x7821b2=_0x51fafc[_0x1b3c29(0x21c)](_0x539665,this[_0x1b3c29(0x1fe)]);return _0x7821b2[_0x1b3c29(0x20e)]=_0x539665[_0x1b3c29(0x20e)],_0x7821b2[_0x1b3c29(0x253)]=_0x405de0,_0x7821b2[_0x1b3c29(0x240)]=_0x405de0?null:_0x58092f[_0x3fc1cd][_0x1b3c29(0x291)],_0x7821b2[_0x1b3c29(0x228)]=_0x1b3c29(0x28a)===_0x58092f[_0x3fc1cd][_0x1b3c29(0x2bd)],_0x7821b2[_0x1b3c29(0x268)]=_0x58092f[_0x3fc1cd][_0x1b3c29(0x268)],_0x7821b2;});}[_0x4bd200(0x245)](){const _0x261a8e=_0x4bd200;this[_0x261a8e(0x255)]=!0x0,this[_0x261a8e(0x1e6)]()?this[_0x261a8e(0x282)]():this[_0x261a8e(0x255)]=!0x1;}[_0x4bd200(0x1e6)](){const _0x304760=_0x4bd200,_0x4125f2=this[_0x304760(0x266)][_0x304760(0x230)][_0x304760(0x276)](_0x4b8e04)[_0x304760(0x25e)][_0x304760(0x276)](this[_0x304760(0x1e7)]);return!this[_0x304760(0x266)][_0x304760(0x20a)]&&!!_0x4125f2&&_0x4125f2[_0x304760(0x1d8)]>0x1&&this[_0x304760(0x255)];}[_0x4bd200(0x20f)](){const _0x5e1b09=_0x4bd200;return this[_0x5e1b09(0x23b)][_0x5e1b09(0x1d8)]>0x0||this[_0x5e1b09(0x1e6)]();}}l[_0x4bd200(0x2a7)]=_0x2d2b6d;export default l;class H extends Error{}function q(_0x1d84f1,_0xd15dfa){const _0xdc3ffe=_0x4bd200;for(const _0x54a804 of _0x1d84f1)_0x54a804[_0xdc3ffe(0x274)]=_0xd15dfa++;}class G{constructor(_0x5be262){const _0x393159=_0x4bd200;this[_0x393159(0x242)]=_0x5be262,this[_0x393159(0x216)]=new WeakMap();}[_0x4bd200(0x256)](_0x221730){const _0xd6c419=_0x4bd200;let _0x1d7fc1=_0x221730[_0xd6c419(0x1d8)];for(;_0x1d7fc1--;){const _0x74f1d6=_0x221730[_0x1d7fc1];if(!this[_0xd6c419(0x242)][_0xd6c419(0x2ad)](_0x74f1d6)){if(!this[_0xd6c419(0x216)][_0xd6c419(0x2ad)](_0x74f1d6)){const _0x4429dd=_0x4e84f4()[_0xd6c419(0x217)](0x1,0x12);this[_0xd6c419(0x216)][_0xd6c419(0x28c)](_0x74f1d6,_0x4429dd);}return this[_0xd6c419(0x216)][_0xd6c419(0x276)](_0x74f1d6);}}}[_0x4bd200(0x2a1)](_0x21cbc3,_0x2caa46){const _0x4418a4=_0x4bd200;if(!_0x2caa46)return;let _0x2c8ac3=_0x21cbc3[_0x4418a4(0x1d8)];for(;_0x2c8ac3--;){const _0x4f5d0f=_0x21cbc3[_0x2c8ac3];this[_0x4418a4(0x242)][_0x4418a4(0x2ad)](_0x4f5d0f)||this[_0x4418a4(0x216)][_0x4418a4(0x28c)](_0x4f5d0f,_0x2caa46);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x13a0(_0x2c40d3,_0x4b1f67){const _0x3f1a7d=_0x3f1a();return _0x13a0=function(_0x13a0a0,_0x1b8ea0){_0x13a0a0=_0x13a0a0-0x18e;let _0x57f196=_0x3f1a7d[_0x13a0a0];return _0x57f196;},_0x13a0(_0x2c40d3,_0x4b1f67);}const _0xbddccb=_0x13a0;(function(_0x28f5d3,_0x303406){const _0x1fefb5=_0x13a0,_0x26eb20=_0x28f5d3();while(!![]){try{const _0x468bce=parseInt(_0x1fefb5(0x1aa))/0x1*(parseInt(_0x1fefb5(0x1bb))/0x2)+-parseInt(_0x1fefb5(0x1a9))/0x3+-parseInt(_0x1fefb5(0x1c3))/0x4*(parseInt(_0x1fefb5(0x1ae))/0x5)+parseInt(_0x1fefb5(0x1a4))/0x6*(-parseInt(_0x1fefb5(0x19b))/0x7)+parseInt(_0x1fefb5(0x1ac))/0x8*(-parseInt(_0x1fefb5(0x19a))/0x9)+parseInt(_0x1fefb5(0x198))/0xa*(parseInt(_0x1fefb5(0x1bf))/0xb)+parseInt(_0x1fefb5(0x19c))/0xc;if(_0x468bce===_0x303406)break;else _0x26eb20['push'](_0x26eb20['shift']());}catch(_0x54b6b1){_0x26eb20['push'](_0x26eb20['shift']());}}}(_0x3f1a,0x3758b));import{ContextPlugin as _0x1f6ce5}from'ckeditor5/src/core.js';function _0x3f1a(){const _0x38486b=['178387ytOYip','register','mySessionId','isMe','4uOcULg','listenTo','change:state','allConnectedUsers','_users','values','getUserBySessionId','_createUser','_uniqueUsersCount','channelSessions','channelConnectedUsers','clear','isOfficialPlugin','role','sessionAdd:','addUser','user','connected','isPremiumPlugin','forEach','defineMe','120yJXNtx','sessionId','162bVuKgN','42saHaBs','9702888MXQPXs','getUser','init','getUserRole','getUserSessions','_handleSessionRemove','_registeredSessions','assign','445254euVoka','unregister','delete','has','orderNumber','643233yvasJR','1CQvNGm','sessions-register-already-registered','22856dQCFHB','size','958645GcZvWw','connection','fire','state','stopListening','set','requires','pluginName','add','context','remove','plugins','_handleSessionAdd','252682tyZvQn','Sessions','get','sessions-unregister-not-exist'];_0x3f1a=function(){return _0x38486b;};return _0x3f1a();}import{Collection as _0x1495cf,CKEditorError as _0x4f5fea}from'ckeditor5/src/utils.js';import _0x2f6538 from'./websocketgateway.js';import{Users as _0x467e74}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1f6ce5{static get[_0xbddccb(0x1b5)](){const _0x378f6b=_0xbddccb;return _0x378f6b(0x1bc);}static get[_0xbddccb(0x18f)](){return!0x0;}static get[_0xbddccb(0x195)](){return!0x0;}static get[_0xbddccb(0x1b4)](){return[_0x2f6538,_0x467e74];}constructor(_0xaa20de){const _0x3ba6d7=_0xbddccb;super(_0xaa20de),this[_0x3ba6d7(0x1cc)]=new Map(),this[_0x3ba6d7(0x1cd)]=new Map(),this[_0x3ba6d7(0x1c6)]=new _0x1495cf(),this[_0x3ba6d7(0x1a2)]=new Map(),this[_0x3ba6d7(0x1cb)]=0x0,this[_0x3ba6d7(0x1c7)]=this[_0x3ba6d7(0x1b7)][_0x3ba6d7(0x1b9)][_0x3ba6d7(0x1bd)](_0x467e74);}[_0xbddccb(0x19e)](){const _0x2974c1=_0xbddccb,_0x207f55=this[_0x2974c1(0x1b7)][_0x2974c1(0x1b9)][_0x2974c1(0x1bd)](_0x2f6538);this[_0x2974c1(0x1c4)](_0x207f55,_0x2974c1(0x1c5),(_0x81ebbd,_0x44af9c,_0x4fac49)=>{const _0x4efa09=_0x2974c1;if(_0x4efa09(0x194)!==_0x4fac49)this[_0x4efa09(0x1cc)][_0x4efa09(0x196)](_0x381078=>_0x381078[_0x4efa09(0x18e)]()),this[_0x4efa09(0x1cd)][_0x4efa09(0x196)](_0x30377d=>_0x30377d[_0x4efa09(0x18e)]()),this[_0x4efa09(0x1c6)][_0x4efa09(0x18e)]();else{for(const [_0x12ee91,_0x1b8c92]of this[_0x4efa09(0x1a2)])for(const _0x31682b of _0x1b8c92)this[_0x4efa09(0x1ba)](_0x12ee91,_0x31682b);}}),this[_0x2974c1(0x1ca)](_0x207f55[_0x2974c1(0x1af)]['me'],!0x0);}[_0xbddccb(0x1c0)](_0x47542c,_0x211c76){const _0xe4bce5=_0xbddccb;if(this[_0xe4bce5(0x1a2)][_0xe4bce5(0x1a7)](_0x47542c))throw new _0x4f5fea(_0xe4bce5(0x1ab),null,{'channelId':_0x47542c});this[_0xe4bce5(0x1a2)][_0xe4bce5(0x1b3)](_0x47542c,_0x211c76),this[_0xe4bce5(0x1cc)][_0xe4bce5(0x1b3)](_0x47542c,new _0x1495cf()),this[_0xe4bce5(0x1cd)][_0xe4bce5(0x1b3)](_0x47542c,new _0x1495cf()),this[_0xe4bce5(0x1c4)](_0x211c76,_0xe4bce5(0x1b6),(_0x4cab04,_0x430706)=>this[_0xe4bce5(0x1ba)](_0x47542c,_0x430706)),this[_0xe4bce5(0x1c4)](_0x211c76,_0xe4bce5(0x1b8),(_0x353da7,_0x27f303)=>this[_0xe4bce5(0x1a1)](_0x47542c,_0x27f303));for(const _0x57c464 of _0x211c76)this[_0xe4bce5(0x1ba)](_0x47542c,_0x57c464);}[_0xbddccb(0x1a5)](_0x59ff2c){const _0x1f90a1=_0xbddccb;if(!this[_0x1f90a1(0x1a2)][_0x1f90a1(0x1a7)](_0x59ff2c))throw new _0x4f5fea(_0x1f90a1(0x1be),null,{'channelId':_0x59ff2c});const _0x6eaeb7=this[_0x1f90a1(0x1a2)][_0x1f90a1(0x1bd)](_0x59ff2c);this[_0x1f90a1(0x1b2)](_0x6eaeb7);for(const _0x3f65e1 of _0x6eaeb7)_0x1f90a1(0x194)===this[_0x1f90a1(0x1b7)][_0x1f90a1(0x1b9)][_0x1f90a1(0x1bd)](_0x2f6538)[_0x1f90a1(0x1b1)]&&this[_0x1f90a1(0x1a1)](_0x59ff2c,_0x3f65e1);this[_0x1f90a1(0x1a2)][_0x1f90a1(0x1a6)](_0x59ff2c),this[_0x1f90a1(0x1cc)][_0x1f90a1(0x1a6)](_0x59ff2c),this[_0x1f90a1(0x1cd)][_0x1f90a1(0x1a6)](_0x59ff2c);}get[_0xbddccb(0x1c1)](){const _0x4965a0=_0xbddccb;return this[_0x4965a0(0x1b7)][_0x4965a0(0x1b9)][_0x4965a0(0x1bd)](_0x2f6538)[_0x4965a0(0x1af)][_0x4965a0(0x199)];}[_0xbddccb(0x1c9)](_0x126e9b){const _0x31dd36=_0xbddccb;for(const _0x3fee63 of this[_0x31dd36(0x1cc)][_0x31dd36(0x1c8)]())for(const _0xab619d of _0x3fee63)if(_0xab619d['id']===_0x126e9b)return _0xab619d[_0x31dd36(0x193)];}[_0xbddccb(0x1a0)](_0x4a046e,_0x1c6f9a){const _0x251886=_0xbddccb,_0x1102ea=_0x1c6f9a?[this[_0x251886(0x1cc)][_0x251886(0x1bd)](_0x1c6f9a)]:this[_0x251886(0x1cc)][_0x251886(0x1c8)](),_0x538629=new Set();for(const _0x448314 of _0x1102ea)for(const _0x31a0e7 of _0x448314)_0x31a0e7[_0x251886(0x193)]['id']===_0x4a046e['id']&&_0x538629[_0x251886(0x1b6)](_0x31a0e7['id']);return _0x538629;}[_0xbddccb(0x19f)](_0x28beac){const _0x597cf2=_0xbddccb;for(const _0x1c4f2f of this[_0x597cf2(0x1cc)][_0x597cf2(0x1c8)]())for(const _0x505b22 of _0x1c4f2f)if(_0x505b22[_0x597cf2(0x193)]===_0x28beac)return _0x505b22[_0x597cf2(0x190)];}[_0xbddccb(0x1ba)](_0x2ea876,_0x1c1b3a){const _0x2d6758=_0xbddccb;if(_0x2d6758(0x194)!==this[_0x2d6758(0x1b7)][_0x2d6758(0x1b9)][_0x2d6758(0x1bd)](_0x2f6538)[_0x2d6758(0x1b1)])return;const _0x3af41d=_0x1c1b3a[_0x2d6758(0x193)],_0x2ef623=this[_0x2d6758(0x1c7)][_0x2d6758(0x19d)](_0x3af41d['id'])||this[_0x2d6758(0x1ca)](_0x3af41d),_0x2e19b6=Object[_0x2d6758(0x1a3)]({},_0x1c1b3a,{'user':_0x2ef623});this[_0x2d6758(0x1cc)][_0x2d6758(0x1bd)](_0x2ea876)[_0x2d6758(0x1b6)](_0x2e19b6);const _0x24399f=this[_0x2d6758(0x1cd)][_0x2d6758(0x1bd)](_0x2ea876);_0x24399f[_0x2d6758(0x1a7)](_0x2ef623['id'])||_0x24399f[_0x2d6758(0x1b6)](_0x2ef623),this[_0x2d6758(0x1c6)][_0x2d6758(0x1a7)](_0x2ef623['id'])||this[_0x2d6758(0x1c6)][_0x2d6758(0x1b6)](_0x2ef623,_0x2ef623[_0x2d6758(0x1c2)]?0x0:void 0x0),this[_0x2d6758(0x1b0)](_0x2d6758(0x191)+_0x2ea876,{'channelId':_0x2ea876,'session':_0x2e19b6});}[_0xbddccb(0x1a1)](_0x423d09,_0x388a91){const _0x3ef201=_0xbddccb;if(_0x3ef201(0x194)!==this[_0x3ef201(0x1b7)][_0x3ef201(0x1b9)][_0x3ef201(0x1bd)](_0x2f6538)[_0x3ef201(0x1b1)])return;const _0x2cdc0c=this[_0x3ef201(0x1cd)][_0x3ef201(0x1bd)](_0x423d09),_0x458b7c=_0x388a91[_0x3ef201(0x193)];_0x458b7c['id']&&(this[_0x3ef201(0x1cc)][_0x3ef201(0x1bd)](_0x423d09)[_0x3ef201(0x1b8)](_0x388a91['id']),_0x2cdc0c[_0x3ef201(0x1a7)](_0x458b7c['id'])&&!this[_0x3ef201(0x1a0)](_0x458b7c,_0x423d09)[_0x3ef201(0x1ad)]&&_0x2cdc0c[_0x3ef201(0x1b8)](_0x458b7c['id']),this[_0x3ef201(0x1c6)][_0x3ef201(0x1bd)](_0x458b7c['id'])&&!this[_0x3ef201(0x1a0)](_0x458b7c)[_0x3ef201(0x1ad)]&&this[_0x3ef201(0x1c6)][_0x3ef201(0x1b8)](_0x458b7c['id']));}[_0xbddccb(0x1ca)](_0x317592,_0x25c028){const _0x3de2e7=_0xbddccb,_0x2deb12=this[_0x3de2e7(0x1c7)][_0x3de2e7(0x192)](_0x317592);return _0x25c028&&this[_0x3de2e7(0x1c7)][_0x3de2e7(0x197)](_0x317592['id']),_0x2deb12[_0x3de2e7(0x1a8)]=this[_0x3de2e7(0x1cb)]++,_0x2deb12;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4110ab=_0x2ac2;(function(_0x5c2631,_0x410a1d){const _0x3a9085=_0x2ac2,_0x520606=_0x5c2631();while(!![]){try{const _0x5da350=parseInt(_0x3a9085(0xd4))/0x1+parseInt(_0x3a9085(0x9e))/0x2+-parseInt(_0x3a9085(0xad))/0x3*(-parseInt(_0x3a9085(0x99))/0x4)+-parseInt(_0x3a9085(0xe8))/0x5+parseInt(_0x3a9085(0x8c))/0x6+-parseInt(_0x3a9085(0xdb))/0x7*(-parseInt(_0x3a9085(0xda))/0x8)+-parseInt(_0x3a9085(0xcd))/0x9;if(_0x5da350===_0x410a1d)break;else _0x520606['push'](_0x520606['shift']());}catch(_0x36933d){_0x520606['push'](_0x520606['shift']());}}}(_0x317c,0x24cdb));function _0x317c(){const _0x2cfa64=['init','UserMarkers','split','add','orderNumber','1581204gegrEW','_createdBatches','isObject','createUserMarkerOperations','_domEmitter','isPremiumPlugin','enqueueChange','mouseenter','userPositionMarker','user:','contenteditable','Escape','hasContent','3760dpWEOE','getCustomProperty','root','toDomElement','innerHTML','346550EWAchA','$text','getMarkerClass','listenTo','model','set','markerToElement','hasDomSelection','fromRange','change','markerToHighlight','mySessionId','removeMarker','stopListening','setCustomProperty','606iFIvRI','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','clear','addEventListener','getRange','get','getPositions','getStart','undo','document','mouseleave','nodeAfter','isLimit','detach','requires','editor','editingDowncast','size','user:range:','oldRange','batch','end','type','checkChild','render','element','applyOperation','getFirstRange','data-session-id','color','conversion','getUserBySessionId','7029081UtzEpd','user:position','classList','ck-user__marker\x20','isInline','isSimilar','startsWith','11940tYRffq','getNearestSelectionRange','start','user:range','highest','markers','13480yAGTqF','1239ZgFVvQ','has','keydown','change:range','markerNameToElements','getAttribute','ck-user__marker_hovered','getContainedElement','isCollapsed','removeClass','user:position:','remove','markerRange','25590ADCEci','commands','schema','isOfficialPlugin','selection','span','afterInit','update:user:range','ck-user__selection','view','createRange','rootName','destroy','markerName','delete','parent','$graveyard','name','plugins','</span>','createUIElement','toRange','newRange','deletionPosition','reconvertMarker','addMarker','getSelectionClass','tableCell','pluginName','editing','updateMarker','mapper','marker','for'];_0x317c=function(){return _0x2cfa64;};return _0x317c();}function _0x2ac2(_0xc560a1,_0x53177a){const _0x317cf6=_0x317c();return _0x2ac2=function(_0x2ac2d5,_0x5431cd){_0x2ac2d5=_0x2ac2d5-0x81;let _0x98a61=_0x317cf6[_0x2ac2d5];return _0x98a61;},_0x2ac2(_0xc560a1,_0x53177a);}import{Plugin as _0x3a490e}from'ckeditor5/src/core.js';import{global as _0x27f0f4,DomEmitterMixin as _0x5956ad}from'ckeditor5/src/utils.js';import _0x53f082 from'./sessions.js';import{LiveRange as _0x47546c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x3a490e{constructor(){const _0x3244d7=_0x2ac2;super(...arguments),this[_0x3244d7(0x90)]=new(_0x5956ad())();}static get[_0x4110ab(0xbb)](){return[_0x53f082];}static get[_0x4110ab(0x81)](){const _0x5ee0a0=_0x4110ab;return _0x5ee0a0(0x88);}static get[_0x4110ab(0xeb)](){return!0x0;}static get[_0x4110ab(0x91)](){return!0x0;}[_0x4110ab(0x87)](){const _0xe8e63=_0x4110ab,_0x399cdf=this[_0xe8e63(0xbc)],_0x978348=_0x399cdf[_0xe8e63(0xfa)][_0xe8e63(0xb2)](_0x53f082);_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa4)]({'model':_0xe8e63(0xce),'view':(_0x74db1b,{writer:_0x46c089})=>function(_0x50ca1a,_0x12e25b,_0x5738f6,_0x530069){const _0x1cf19d=_0xe8e63,_0xb0cbbe=_0x50ca1a[_0x1cf19d(0xf5)][_0x1cf19d(0x89)](':')[0x2],_0x1141cb=_0x5738f6[_0x1cf19d(0xcc)](_0xb0cbbe);if(!_0x1141cb||_0xb0cbbe===_0x5738f6[_0x1cf19d(0xa9)])return;if(!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xc4)](_0x50ca1a[_0x1cf19d(0xe7)][_0x1cf19d(0xd6)],_0x1cf19d(0x9f)))return;const _0x4f9fc8={'class':_0x1cf19d(0xd0)+_0x1141cb[_0x1cf19d(0xca)][_0x1cf19d(0xa0)](),'data-name':_0x1141cb[_0x1cf19d(0xf9)],'data-session-id':_0xb0cbbe},_0x473f26=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x50ca1a[_0x1cf19d(0xf5)]),_0x4d3c36=_0x473f26[_0x1cf19d(0xb4)](),_0x5619ab=_0x4d3c36[_0x1cf19d(0xb8)],_0x291e3c=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)];if(_0x5619ab&&_0x291e3c[_0x1cf19d(0x8e)](_0x5619ab)&&_0x291e3c[_0x1cf19d(0xd1)](_0x5619ab)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x1cf19d(0xbf)+_0xb0cbbe)[_0x1cf19d(0xb1)]()[_0x1cf19d(0xe3)])return;const _0x3b3464=_0x4d3c36[_0x1cf19d(0xf7)];return _0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xb9)](_0x3b3464)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0x98)](_0x3b3464)&&(_0x4f9fc8[_0x1cf19d(0x96)]=!0x1),function(_0x3003be,_0x3e244b,_0x2e2aa5){const _0x116be0=_0x1cf19d,_0x5881dd=_0x3003be[_0x116be0(0xfc)](_0x116be0(0xed),_0x3e244b);return _0x3003be[_0x116be0(0xac)](_0x116be0(0x94),!0x0,_0x5881dd),_0x5881dd[_0x116be0(0xc5)]=function(_0x301c8b){const _0x6aba03=_0x116be0,_0x2ef0be=this[_0x6aba03(0x9c)](_0x301c8b);return _0x2ef0be[_0x6aba03(0x9d)]=_0x6aba03(0xae)+_0x2e2aa5[_0x6aba03(0xf9)]+_0x6aba03(0xfb),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0x93),()=>{const _0x32ec9b=_0x6aba03;_0x2ef0be[_0x32ec9b(0xcf)][_0x32ec9b(0x8a)](_0x32ec9b(0xe1));}),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0xb7),()=>{const _0x3cee07=_0x6aba03;_0x2ef0be[_0x3cee07(0xcf)][_0x3cee07(0xe6)](_0x3cee07(0xe1));}),_0x2ef0be;},_0x5881dd[_0x116be0(0xd2)]=function(_0x1eef04){const _0x3e718c=_0x116be0;return!(!this[_0x3e718c(0x9a)](_0x3e718c(0x94))||!_0x1eef04[_0x3e718c(0x9a)](_0x3e718c(0x94))||this[_0x3e718c(0xe0)](_0x3e718c(0xc9))!=_0x1eef04[_0x3e718c(0xe0)](_0x3e718c(0xc9)));},_0x5881dd;}(_0x12e25b,_0x4f9fc8,_0x1141cb);}(_0x74db1b,_0x46c089,_0x978348,_0x399cdf)}),_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa8)]({'model':_0xe8e63(0xd7),'view':_0x9fe5b=>function(_0x4750ee,_0x65cba2){const _0x3212e0=_0xe8e63,_0x4a27b5=_0x4750ee[_0x3212e0(0xf5)][_0x3212e0(0x89)](':')[0x2];if(_0x4a27b5===_0x65cba2[_0x3212e0(0xa9)])return null;const _0x58a238=_0x65cba2[_0x3212e0(0xcc)](_0x4a27b5);if(!_0x58a238)return{'id':_0x4a27b5,'classes':[]};return{'id':_0x4a27b5,'classes':[_0x3212e0(0xf0),_0x58a238[_0x3212e0(0xca)][_0x3212e0(0x102)]()],'attributes':{'data-session-id':_0x4a27b5},'priority':0x7d0+_0x58a238[_0x3212e0(0x8b)]};}(_0x9fe5b,_0x978348)}),function(_0x3addf0){const _0x21d6f1=_0xe8e63,_0x48551c=_0x3addf0[_0x21d6f1(0xa2)],_0x475e3f=new Map(),_0x55f40c=_0x3addf0[_0x21d6f1(0xfa)][_0x21d6f1(0xb2)](_0x53f082);_0x48551c[_0x21d6f1(0xd9)]['on'](_0x21d6f1(0xef),(_0x53183a,_0x3099cd,_0x2e875d,_0x424756)=>{const _0x49d693=_0x21d6f1;if(!_0x424756&&_0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)]))return _0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)])[_0x49d693(0xba)](),void _0x475e3f[_0x49d693(0xf6)](_0x3099cd[_0x49d693(0xf9)]);const _0x1fc9a9=_0x3099cd[_0x49d693(0xf9)][_0x49d693(0x89)](':')[0x2];if(_0x1fc9a9===_0x55f40c[_0x49d693(0xa9)])return;const _0x5d6306=_0x49d693(0xe5)+_0x1fc9a9;_0x48551c[_0x49d693(0xd9)][_0x49d693(0xdc)](_0x5d6306)&&_0x3addf0[_0x49d693(0x82)][_0x49d693(0x100)](_0x5d6306),_0x3099cd['on'](_0x49d693(0xde),(_0x43aa6,_0x4071d5,_0x53573e)=>{const _0x18679e=_0x49d693;if(_0x18679e(0xf8)!=_0x4071d5[_0x18679e(0x9b)][_0x18679e(0xf3)]&&_0x18679e(0xf8)==_0x3099cd[_0x18679e(0xb1)]()[_0x18679e(0x9b)][_0x18679e(0xf3)]&&!_0x475e3f[_0x18679e(0xdc)](_0x3099cd[_0x18679e(0xf9)])){const _0x2e980e=_0x48551c[_0x18679e(0xea)][_0x18679e(0xd5)](_0x53573e[_0x18679e(0xff)]);if(_0x2e980e){const _0x10cfe0=_0x47546c[_0x18679e(0xa6)](_0x2e980e);_0x475e3f[_0x18679e(0xa3)](_0x3099cd[_0x18679e(0xf9)],_0x10cfe0),_0x10cfe0['on'](_0x18679e(0xde),(_0x19d7bb,_0x533d67,_0x9bca4b)=>{const _0x4182c8=_0x18679e;if(_0x4182c8(0xf8)==_0x10cfe0[_0x4182c8(0x9b)][_0x4182c8(0xf3)]){const _0x4a881f=_0x48551c[_0x4182c8(0xea)][_0x4182c8(0xd5)](_0x9bca4b[_0x4182c8(0xff)]);_0x4a881f?(_0x10cfe0[_0x4182c8(0xd6)]=_0x4a881f[_0x4182c8(0xd6)],_0x10cfe0[_0x4182c8(0xc2)]=_0x4a881f[_0x4182c8(0xc2)]):(_0x475e3f[_0x4182c8(0xf6)](_0x3099cd[_0x4182c8(0xf9)]),_0x10cfe0[_0x4182c8(0xba)]());}});}}});}),_0x48551c[_0x21d6f1(0xb6)]['on'](_0x21d6f1(0xa7),()=>{const _0x108408=_0x21d6f1;_0x475e3f[_0x108408(0xbe)]>0x0&&_0x48551c[_0x108408(0x92)]({'isUndoable':!0x1},_0x2367ae=>{const _0x80fa73=_0x108408;for(const [_0x44d100,_0xe89be9]of _0x475e3f)_0x80fa73(0xf8)==_0x48551c[_0x80fa73(0xd9)][_0x80fa73(0xb2)](_0x44d100)[_0x80fa73(0xb1)]()[_0x80fa73(0x9b)][_0x80fa73(0xf3)]&&(re(_0x44d100[_0x80fa73(0x89)](':')[0x2],_0xe89be9[_0x80fa73(0xfd)](),_0x48551c,_0x2367ae),_0xe89be9[_0x80fa73(0xba)]());_0x475e3f[_0x80fa73(0xaf)]();});});}(_0x399cdf),this[_0xe8e63(0x90)][_0xe8e63(0xa1)](_0x27f0f4[_0xe8e63(0xb6)],_0xe8e63(0xdd),(_0x3c9d3d,{key:_0x10a077})=>{const _0x8e9e1=_0xe8e63;_0x8e9e1(0x97)===_0x10a077&&function(_0x4028c8){const _0x48bbf4=_0x8e9e1;_0x4028c8[_0x48bbf4(0x82)][_0x48bbf4(0xf1)][_0x48bbf4(0xa7)](_0x354342=>{const _0x4f3ff7=_0x48bbf4;for(const _0x569a8b of _0x4028c8[_0x4f3ff7(0xa2)][_0x4f3ff7(0xd9)]){if(!_0x569a8b[_0x4f3ff7(0xf9)][_0x4f3ff7(0xd3)](_0x4f3ff7(0xce)))continue;const _0x330765=_0x4028c8[_0x4f3ff7(0x82)][_0x4f3ff7(0x84)][_0x4f3ff7(0xdf)](_0x569a8b[_0x4f3ff7(0xf9)]);if(_0x330765){for(const _0x58eb43 of _0x330765)_0x354342[_0x4f3ff7(0xe4)](_0x4f3ff7(0xe1),_0x58eb43);}}});}(_0x399cdf);},{'useCapture':!0x0});}[_0x4110ab(0xee)](){const _0x3957ff=_0x4110ab,_0x38f08a=this[_0x3957ff(0xbc)],_0x462ea5=_0x38f08a[_0x3957ff(0xe9)][_0x3957ff(0xb2)](_0x3957ff(0xb5));_0x462ea5&&_0x38f08a[_0x3957ff(0xa2)]['on'](_0x3957ff(0xc7),(_0x2b8dbf,_0x2c5c0c)=>{const _0x2307ae=_0x3957ff,_0x3ce9f8=_0x2c5c0c[0x0];if(_0x2307ae(0x85)!=_0x3ce9f8[_0x2307ae(0xc3)]||!_0x3ce9f8[_0x2307ae(0xf9)][_0x2307ae(0xd3)](_0x2307ae(0x95)))return;const _0x20b263=_0x3ce9f8[_0x2307ae(0xc1)];_0x462ea5[_0x2307ae(0x8d)][_0x2307ae(0xdc)](_0x20b263)&&(_0x3ce9f8[_0x2307ae(0xfe)]=_0x3ce9f8[_0x2307ae(0xc0)]?_0x38f08a[_0x2307ae(0xa2)][_0x2307ae(0xf2)](_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xd6)],_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xc2)]):null);},{'priority':_0x3957ff(0xd8)});}[_0x4110ab(0xf4)](){const _0x34a186=_0x4110ab;return this[_0x34a186(0x90)][_0x34a186(0xab)](),super[_0x34a186(0xf4)]();}[_0x4110ab(0x8f)](){const _0x3805a0=_0x4110ab,_0x426419=this[_0x3805a0(0xbc)],_0x48b75d=_0x426419[_0x3805a0(0xa2)][_0x3805a0(0xb6)],_0x7f5c91=_0x426419[_0x3805a0(0xfa)][_0x3805a0(0xb2)](_0x53f082);_0x426419[_0x3805a0(0xa2)][_0x3805a0(0x92)]({'isUndoable':!0x1},_0x53efd1=>{const _0x355c5d=_0x3805a0,_0x56f09d=_0x355c5d(0xbf)+_0x7f5c91[_0x355c5d(0xa9)],_0xc29f48=_0x355c5d(0xe5)+_0x7f5c91[_0x355c5d(0xa9)],_0x5adbd6=_0x426419[_0x355c5d(0xa2)][_0x355c5d(0xd9)][_0x355c5d(0xdc)](_0x56f09d);_0x426419[_0x355c5d(0x82)][_0x355c5d(0xf1)][_0x355c5d(0xa5)]?re(_0x7f5c91[_0x355c5d(0xa9)],_0x48b75d[_0x355c5d(0xec)][_0x355c5d(0xc8)](),_0x426419[_0x355c5d(0xa2)],_0x53efd1):_0x5adbd6&&(_0x53efd1[_0x355c5d(0xaa)](_0x56f09d),_0x53efd1[_0x355c5d(0xaa)](_0xc29f48));});}}function re(_0xb1e54a,_0xb4efe9,_0xd7ec68,_0x4c4de8){const _0x524824=_0x4110ab,_0x43c171=_0x524824(0xbf)+_0xb1e54a,_0x443312=_0x524824(0xe5)+_0xb1e54a,_0x49dcc1=_0xb4efe9[_0x524824(0xe2)]();let _0x26c2db=_0xb4efe9[_0x524824(0xd6)];_0x49dcc1&&_0x49dcc1['is'](_0x524824(0xc6),_0x524824(0x103))&&(_0x26c2db=function(_0x1f36f1,_0x54d5b8){const _0x5d4a34=_0x524824;for(const _0xd41a03 of _0x1f36f1[_0x5d4a34(0xb3)]())if(_0x54d5b8[_0x5d4a34(0xea)][_0x5d4a34(0xc4)](_0xd41a03,_0x5d4a34(0x9f)))return _0xd41a03;}(_0xb4efe9,_0xd7ec68),_0xb4efe9=_0x4c4de8[_0x524824(0xf2)](_0x26c2db));const _0x224f31=_0x4c4de8[_0x524824(0xf2)](_0x26c2db);_0xd7ec68[_0x524824(0xd9)][_0x524824(0xdc)](_0x43c171)?(_0x4c4de8[_0x524824(0x83)](_0x43c171,{'range':_0xb4efe9}),_0x4c4de8[_0x524824(0x83)](_0x443312,{'range':_0x224f31})):(_0x4c4de8[_0x524824(0x101)](_0x43c171,{'range':_0xb4efe9,'usingOperation':!0x0}),_0x4c4de8[_0x524824(0x101)](_0x443312,{'range':_0x224f31,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x505d84=_0x4374;function _0x4374(_0x597d5a,_0x501f8c){const _0x125038=_0x1250();return _0x4374=function(_0x4374dd,_0x525c1a){_0x4374dd=_0x4374dd-0x15a;let _0x53d9ef=_0x125038[_0x4374dd];return _0x53d9ef;},_0x4374(_0x597d5a,_0x501f8c);}(function(_0x3e1103,_0x1f0234){const _0x30eb41=_0x4374,_0xb5c22b=_0x3e1103();while(!![]){try{const _0x55d03e=-parseInt(_0x30eb41(0x1c0))/0x1*(-parseInt(_0x30eb41(0x162))/0x2)+parseInt(_0x30eb41(0x179))/0x3*(-parseInt(_0x30eb41(0x1bc))/0x4)+parseInt(_0x30eb41(0x164))/0x5+-parseInt(_0x30eb41(0x16d))/0x6+parseInt(_0x30eb41(0x1dd))/0x7*(parseInt(_0x30eb41(0x171))/0x8)+parseInt(_0x30eb41(0x1ba))/0x9*(-parseInt(_0x30eb41(0x176))/0xa)+-parseInt(_0x30eb41(0x185))/0xb*(-parseInt(_0x30eb41(0x1de))/0xc);if(_0x55d03e===_0x1f0234)break;else _0xb5c22b['push'](_0xb5c22b['shift']());}catch(_0x17189c){_0xb5c22b['push'](_0xb5c22b['shift']());}}}(_0x1250,0x273ec));import{Plugin as _0x4ea99e}from'ckeditor5/src/core.js';import{global as _0x463581,DomEmitterMixin as _0x548ae0}from'ckeditor5/src/utils.js';import _0x13498e from'./sessions.js';import{LiveRange as _0x129cac}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class E extends _0x4ea99e{constructor(){const _0x4c58c7=_0x4374;super(...arguments),this[_0x4c58c7(0x18e)]=new(_0x548ae0())();}static get[_0x505d84(0x1b8)](){return[_0x13498e];}static get[_0x505d84(0x19b)](){const _0x24a425=_0x505d84;return _0x24a425(0x15f);}static get[_0x505d84(0x1b9)](){return!0x0;}static get[_0x505d84(0x194)](){return!0x0;}[_0x505d84(0x172)](){const _0x25a5a3=_0x505d84,_0x4d9a91=this[_0x25a5a3(0x17c)],_0x414861=_0x4d9a91[_0x25a5a3(0x1ad)][_0x25a5a3(0x19d)](_0x13498e);_0x4d9a91[_0x25a5a3(0x17a)][_0x25a5a3(0x1b5)](_0x25a5a3(0x1a2))[_0x25a5a3(0x1a1)]({'model':_0x25a5a3(0x1bd),'view':(_0x1de05e,{writer:_0x55a9f2})=>function(_0x5df707,_0x4606c9,_0x51f82e,_0x59bc8d){const _0x26ae0c=_0x25a5a3,_0x2bc973=_0x5df707[_0x26ae0c(0x193)][_0x26ae0c(0x1ac)](':')[0x2],_0x125000=_0x51f82e[_0x26ae0c(0x1d2)](_0x2bc973);if(!_0x125000||_0x2bc973===_0x51f82e[_0x26ae0c(0x1a0)])return;if(!_0x59bc8d[_0x26ae0c(0x1df)][_0x26ae0c(0x1ae)][_0x26ae0c(0x16c)](_0x5df707[_0x26ae0c(0x15a)][_0x26ae0c(0x1dc)],_0x26ae0c(0x1d8)))return;const _0xd832eb={'class':_0x26ae0c(0x1b4)+_0x125000[_0x26ae0c(0x180)][_0x26ae0c(0x199)](),'data-name':_0x125000[_0x26ae0c(0x1d1)],'data-session-id':_0x2bc973},_0x74eb83=_0x59bc8d[_0x26ae0c(0x1df)][_0x26ae0c(0x17e)][_0x26ae0c(0x19d)](_0x5df707[_0x26ae0c(0x193)]),_0x5607a4=_0x74eb83[_0x26ae0c(0x1ce)](),_0x2446d3=_0x5607a4[_0x26ae0c(0x1d6)],_0x11327b=_0x59bc8d[_0x26ae0c(0x1df)][_0x26ae0c(0x1ae)];if(_0x2446d3&&_0x11327b[_0x26ae0c(0x1ca)](_0x2446d3)&&_0x11327b[_0x26ae0c(0x1d0)](_0x2446d3)&&!_0x59bc8d[_0x26ae0c(0x1df)][_0x26ae0c(0x17e)][_0x26ae0c(0x19d)](_0x26ae0c(0x168)+_0x2bc973)[_0x26ae0c(0x1c5)]()[_0x26ae0c(0x1d5)])return;const _0xf57276=_0x5607a4[_0x26ae0c(0x197)];return _0x59bc8d[_0x26ae0c(0x1df)][_0x26ae0c(0x1ae)][_0x26ae0c(0x18c)](_0xf57276)&&!_0x59bc8d[_0x26ae0c(0x1df)][_0x26ae0c(0x17b)](_0xf57276)&&(_0xd832eb[_0x26ae0c(0x183)]=!0x1),function(_0x359435,_0x422800,_0x2e6c1b){const _0x10b3b1=_0x26ae0c,_0x28fd91=_0x359435[_0x10b3b1(0x1c3)](_0x10b3b1(0x1be),_0x422800);return _0x359435[_0x10b3b1(0x1c4)](_0x10b3b1(0x175),!0x0,_0x28fd91),_0x28fd91[_0x10b3b1(0x188)]=function(_0x5ac48c){const _0x365ca8=_0x10b3b1,_0x11862a=this[_0x365ca8(0x160)](_0x5ac48c);return _0x11862a[_0x365ca8(0x1db)]=_0x365ca8(0x18a)+_0x2e6c1b[_0x365ca8(0x1d1)]+_0x365ca8(0x16b),_0x11862a[_0x365ca8(0x186)](_0x365ca8(0x195),()=>{const _0x4704df=_0x365ca8;_0x11862a[_0x4704df(0x18b)][_0x4704df(0x16e)](_0x4704df(0x15b));}),_0x11862a[_0x365ca8(0x186)](_0x365ca8(0x174),()=>{const _0x55b5ee=_0x365ca8;_0x11862a[_0x55b5ee(0x18b)][_0x55b5ee(0x1bf)](_0x55b5ee(0x15b));}),_0x11862a;},_0x28fd91[_0x10b3b1(0x1cb)]=function(_0x54907c){const _0x257521=_0x10b3b1;return!(!this[_0x257521(0x166)](_0x257521(0x175))||!_0x54907c[_0x257521(0x166)](_0x257521(0x175))||this[_0x257521(0x18d)](_0x257521(0x19a))!=_0x54907c[_0x257521(0x18d)](_0x257521(0x19a)));},_0x28fd91;}(_0x4606c9,_0xd832eb,_0x125000);}(_0x1de05e,_0x55a9f2,_0x414861,_0x4d9a91)}),_0x4d9a91[_0x25a5a3(0x17a)][_0x25a5a3(0x1b5)](_0x25a5a3(0x1a2))[_0x25a5a3(0x177)]({'model':_0x25a5a3(0x1cd),'view':_0x3769d2=>function(_0x32310d,_0x3894c4){const _0x39eb00=_0x25a5a3,_0x2d2e4c=_0x32310d[_0x39eb00(0x193)][_0x39eb00(0x1ac)](':')[0x2];if(_0x2d2e4c===_0x3894c4[_0x39eb00(0x1a0)])return null;const _0x452023=_0x3894c4[_0x39eb00(0x1d2)](_0x2d2e4c);if(!_0x452023)return{'id':_0x2d2e4c,'classes':[]};return{'id':_0x2d2e4c,'classes':[_0x39eb00(0x1c7),_0x452023[_0x39eb00(0x180)][_0x39eb00(0x1c9)]()],'attributes':{'data-session-id':_0x2d2e4c},'priority':0x7d0+_0x452023[_0x39eb00(0x192)]};}(_0x3769d2,_0x414861)}),function(_0x5a647){const _0x3f19a6=_0x25a5a3,_0x3a3ec7=_0x5a647[_0x3f19a6(0x1df)],_0x228be6=new Map(),_0x5e417a=_0x5a647[_0x3f19a6(0x1ad)][_0x3f19a6(0x19d)](_0x13498e);_0x3a3ec7[_0x3f19a6(0x17e)]['on'](_0x3f19a6(0x1a7),(_0x51bdb7,_0x3737b2,_0x642f87,_0x2b9c83)=>{const _0x2fad73=_0x3f19a6;if(!_0x2b9c83&&_0x228be6[_0x2fad73(0x19d)](_0x3737b2[_0x2fad73(0x1d1)]))return _0x228be6[_0x2fad73(0x19d)](_0x3737b2[_0x2fad73(0x1d1)])[_0x2fad73(0x1a9)](),void _0x228be6[_0x2fad73(0x161)](_0x3737b2[_0x2fad73(0x1d1)]);const _0x5623a2=_0x3737b2[_0x2fad73(0x1d1)][_0x2fad73(0x1ac)](':')[0x2];if(_0x5623a2===_0x5e417a[_0x2fad73(0x1a0)])return;const _0x465a93=_0x2fad73(0x1da)+_0x5623a2;_0x3a3ec7[_0x2fad73(0x17e)][_0x2fad73(0x1d3)](_0x465a93)&&_0x5a647[_0x2fad73(0x1af)][_0x2fad73(0x1c8)](_0x465a93),_0x3737b2['on'](_0x2fad73(0x189),(_0x223115,_0x46ec31,_0x38ce94)=>{const _0x1393ed=_0x2fad73;if(_0x1393ed(0x178)!=_0x46ec31[_0x1393ed(0x1b0)][_0x1393ed(0x18f)]&&_0x1393ed(0x178)==_0x3737b2[_0x1393ed(0x1c5)]()[_0x1393ed(0x1b0)][_0x1393ed(0x18f)]&&!_0x228be6[_0x1393ed(0x1d3)](_0x3737b2[_0x1393ed(0x1d1)])){const _0x214f2a=_0x3a3ec7[_0x1393ed(0x1ae)][_0x1393ed(0x196)](_0x38ce94[_0x1393ed(0x173)]);if(_0x214f2a){const _0x4b37ae=_0x129cac[_0x1393ed(0x15d)](_0x214f2a);_0x228be6[_0x1393ed(0x16f)](_0x3737b2[_0x1393ed(0x1d1)],_0x4b37ae),_0x4b37ae['on'](_0x1393ed(0x189),(_0x3e4dda,_0x5ead94,_0x2c537a)=>{const _0x433a10=_0x1393ed;if(_0x433a10(0x178)==_0x4b37ae[_0x433a10(0x1b0)][_0x433a10(0x18f)]){const _0x20316b=_0x3a3ec7[_0x433a10(0x1ae)][_0x433a10(0x196)](_0x2c537a[_0x433a10(0x173)]);_0x20316b?(_0x4b37ae[_0x433a10(0x1dc)]=_0x20316b[_0x433a10(0x1dc)],_0x4b37ae[_0x433a10(0x1a5)]=_0x20316b[_0x433a10(0x1a5)]):(_0x228be6[_0x433a10(0x161)](_0x3737b2[_0x433a10(0x1d1)]),_0x4b37ae[_0x433a10(0x1a9)]());}});}}});}),_0x3a3ec7[_0x3f19a6(0x1d4)]['on'](_0x3f19a6(0x191),()=>{const _0xb4f2c3=_0x3f19a6;_0x228be6[_0xb4f2c3(0x16a)]>0x0&&_0x3a3ec7[_0xb4f2c3(0x1d9)]({'isUndoable':!0x1},_0x238b91=>{const _0x14efa6=_0xb4f2c3;for(const [_0x459be4,_0x4a3465]of _0x228be6)_0x14efa6(0x178)==_0x3a3ec7[_0x14efa6(0x17e)][_0x14efa6(0x19d)](_0x459be4)[_0x14efa6(0x1c5)]()[_0x14efa6(0x1b0)][_0x14efa6(0x18f)]&&(Q(_0x459be4[_0x14efa6(0x1ac)](':')[0x2],_0x4a3465[_0x14efa6(0x170)](),_0x3a3ec7,_0x238b91),_0x4a3465[_0x14efa6(0x1a9)]());_0x228be6[_0x14efa6(0x19c)]();});});}(_0x4d9a91),this[_0x25a5a3(0x18e)][_0x25a5a3(0x1c2)](_0x463581[_0x25a5a3(0x1d4)],_0x25a5a3(0x1b1),(_0x1039ca,{key:_0x10118c})=>{const _0x1982c5=_0x25a5a3;_0x1982c5(0x19f)===_0x10118c&&function(_0x2ef480){const _0x1d6b72=_0x1982c5;_0x2ef480[_0x1d6b72(0x1af)][_0x1d6b72(0x1bb)][_0x1d6b72(0x191)](_0xe28327=>{const _0x465fbf=_0x1d6b72;for(const _0x35684a of _0x2ef480[_0x465fbf(0x1df)][_0x465fbf(0x17e)]){if(!_0x35684a[_0x465fbf(0x1d1)][_0x465fbf(0x1a3)](_0x465fbf(0x1bd)))continue;const _0x4c65f7=_0x2ef480[_0x465fbf(0x1af)][_0x465fbf(0x1a6)][_0x465fbf(0x182)](_0x35684a[_0x465fbf(0x1d1)]);if(_0x4c65f7){for(const _0x4ff8a0 of _0x4c65f7)_0xe28327[_0x465fbf(0x15e)](_0x465fbf(0x15b),_0x4ff8a0);}}});}(_0x4d9a91);},{'useCapture':!0x0});}[_0x505d84(0x190)](){const _0x24a70a=_0x505d84,_0x1ad08e=this[_0x24a70a(0x17c)],_0xf2cbe4=_0x1ad08e[_0x24a70a(0x1c6)][_0x24a70a(0x19d)](_0x24a70a(0x163));_0xf2cbe4&&_0x1ad08e[_0x24a70a(0x1df)]['on'](_0x24a70a(0x165),(_0x4be68f,_0xb86182)=>{const _0x4f9fb6=_0x24a70a,_0x387bb2=_0xb86182[0x0];if(_0x4f9fb6(0x1b6)!=_0x387bb2[_0x4f9fb6(0x17f)]||!_0x387bb2[_0x4f9fb6(0x1d1)][_0x4f9fb6(0x1a3)](_0x4f9fb6(0x1a8)))return;const _0x44f8e2=_0x387bb2[_0x4f9fb6(0x1aa)];_0xf2cbe4[_0x4f9fb6(0x1c1)][_0x4f9fb6(0x1d3)](_0x44f8e2)&&(_0x387bb2[_0x4f9fb6(0x198)]=_0x387bb2[_0x4f9fb6(0x1d7)]?_0x1ad08e[_0x4f9fb6(0x1df)][_0x4f9fb6(0x19e)](_0x387bb2[_0x4f9fb6(0x1d7)][_0x4f9fb6(0x1dc)],_0x387bb2[_0x4f9fb6(0x1d7)][_0x4f9fb6(0x1a5)]):null);},{'priority':_0x24a70a(0x1b7)});}[_0x505d84(0x1a4)](){const _0x70cdaf=_0x505d84;return this[_0x70cdaf(0x18e)][_0x70cdaf(0x167)](),super[_0x70cdaf(0x1a4)]();}[_0x505d84(0x187)](){const _0x554b84=_0x505d84,_0x2f3fb5=this[_0x554b84(0x17c)],_0x2a6c80=_0x2f3fb5[_0x554b84(0x1df)][_0x554b84(0x1d4)],_0x3d92d2=_0x2f3fb5[_0x554b84(0x1ad)][_0x554b84(0x19d)](_0x13498e);_0x2f3fb5[_0x554b84(0x1df)][_0x554b84(0x1d9)]({'isUndoable':!0x1},_0x2947e0=>{const _0x48f887=_0x554b84,_0x5413e9=_0x48f887(0x168)+_0x3d92d2[_0x48f887(0x1a0)],_0x410544=_0x48f887(0x1da)+_0x3d92d2[_0x48f887(0x1a0)],_0x2d653c=_0x2f3fb5[_0x48f887(0x1df)][_0x48f887(0x17e)][_0x48f887(0x1d3)](_0x5413e9);_0x2f3fb5[_0x48f887(0x1af)][_0x48f887(0x1bb)][_0x48f887(0x17d)]?Q(_0x3d92d2[_0x48f887(0x1a0)],_0x2a6c80[_0x48f887(0x1b3)][_0x48f887(0x169)](),_0x2f3fb5[_0x48f887(0x1df)],_0x2947e0):_0x2d653c&&(_0x2947e0[_0x48f887(0x1cf)](_0x5413e9),_0x2947e0[_0x48f887(0x1cf)](_0x410544));});}}function _0x1250(){const _0x18c97c=['addEventListener','createUserMarkerOperations','render','change:range','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','classList','isLimit','getAttribute','_domEmitter','rootName','afterInit','change','orderNumber','markerName','isPremiumPlugin','mouseenter','getNearestSelectionRange','parent','newRange','getMarkerClass','data-session-id','pluginName','clear','get','createRange','Escape','mySessionId','markerToElement','editingDowncast','startsWith','destroy','end','mapper','update:user:range','user:','detach','batch','element','split','plugins','schema','editing','root','keydown','tableCell','selection','ck-user__marker\x20','for','marker','highest','requires','isOfficialPlugin','45vnbIkV','view','19472wGrWtm','user:position','span','remove','3vBsMLz','_createdBatches','listenTo','createUIElement','setCustomProperty','getRange','commands','ck-user__selection','reconvertMarker','getSelectionClass','isObject','isSimilar','getPositions','user:range','getStart','removeMarker','isInline','name','getUserBySessionId','has','document','isCollapsed','nodeAfter','oldRange','$text','enqueueChange','user:position:','innerHTML','start','546xymXPJ','24MxIwNr','model','markerRange','ck-user__marker_hovered','getContainedElement','fromRange','removeClass','UserMarkers','toDomElement','delete','84988ZbTjUm','undo','355650BCZfEN','applyOperation','getCustomProperty','stopListening','user:range:','getFirstRange','size','</span>','checkChild','1285116XuUIJK','add','set','toRange','12360IWsMMU','init','deletionPosition','mouseleave','userPositionMarker','453300vARAUs','markerToHighlight','$graveyard','15bYmZSU','conversion','hasContent','editor','hasDomSelection','markers','type','color','updateMarker','markerNameToElements','contenteditable','addMarker','1687411jKQlmg'];_0x1250=function(){return _0x18c97c;};return _0x1250();}function Q(_0x51e2c1,_0x2dc53a,_0x269cb1,_0x36ab3f){const _0x7563d8=_0x505d84,_0xa44322=_0x7563d8(0x168)+_0x51e2c1,_0x2c6d5a=_0x7563d8(0x1da)+_0x51e2c1,_0x1e188b=_0x2dc53a[_0x7563d8(0x15c)]();let _0x48153c=_0x2dc53a[_0x7563d8(0x1dc)];_0x1e188b&&_0x1e188b['is'](_0x7563d8(0x1ab),_0x7563d8(0x1b2))&&(_0x48153c=function(_0x890a5a,_0x42fcc1){const _0x2ec475=_0x7563d8;for(const _0x29df0e of _0x890a5a[_0x2ec475(0x1cc)]())if(_0x42fcc1[_0x2ec475(0x1ae)][_0x2ec475(0x16c)](_0x29df0e,_0x2ec475(0x1d8)))return _0x29df0e;}(_0x2dc53a,_0x269cb1),_0x2dc53a=_0x36ab3f[_0x7563d8(0x19e)](_0x48153c));const _0x5a9514=_0x36ab3f[_0x7563d8(0x19e)](_0x48153c);_0x269cb1[_0x7563d8(0x17e)][_0x7563d8(0x1d3)](_0xa44322)?(_0x36ab3f[_0x7563d8(0x181)](_0xa44322,{'range':_0x2dc53a}),_0x36ab3f[_0x7563d8(0x181)](_0x2c6d5a,{'range':_0x5a9514})):(_0x36ab3f[_0x7563d8(0x184)](_0xa44322,{'range':_0x2dc53a,'usingOperation':!0x0}),_0x36ab3f[_0x7563d8(0x184)](_0x2c6d5a,{'range':_0x5a9514,'usingOperation':!0x0}));}
|