@ckeditor/ckeditor5-real-time-collaboration 42.0.0 → 42.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +4 -4
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- 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/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.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/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x106d8f=_0x488b;(function(_0x19fd93,_0x2b60e9){const _0x6c0685=_0x488b,_0xe3d751=_0x19fd93();while(!![]){try{const _0x5cc830=parseInt(_0x6c0685(0x112))/0x1+-parseInt(_0x6c0685(0x13a))/0x2*(parseInt(_0x6c0685(0x12b))/0x3)+-parseInt(_0x6c0685(0x135))/0x4+-parseInt(_0x6c0685(0x11d))/0x5+-parseInt(_0x6c0685(0x12e))/0x6+parseInt(_0x6c0685(0x140))/0x7*(-parseInt(_0x6c0685(0x14d))/0x8)+-parseInt(_0x6c0685(0x12d))/0x9*(-parseInt(_0x6c0685(0x110))/0xa);if(_0x5cc830===_0x2b60e9)break;else _0xe3d751['push'](_0xe3d751['shift']());}catch(_0x2f891f){_0xe3d751['push'](_0xe3d751['shift']());}}}(_0x4767,0x70c15));import{ContextPlugin as _0x2ca0f6}from'ckeditor5/src/core.js';function _0x488b(_0xe4049f,_0x131992){const _0x476709=_0x4767();return _0x488b=function(_0x488b95,_0x77ce88){_0x488b95=_0x488b95-0x10f;let _0xf107d0=_0x476709[_0x488b95];return _0xf107d0;},_0x488b(_0xe4049f,_0x131992);}import{CKEditorError as _0x11c6b3,Collection as _0x58d052}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x5eff6b,BodyCollection as _0x31f63a,BalloonPanelView as _0x41b8d5}from'ckeditor5/src/ui.js';import{isElement as _0x5d63b4}from'lodash-es';import _0x3ba9d9 from'../realtimecollaborativeediting/sessions.js';import _0x586e19 from'./view/presencelistview.js';import _0x2f0e5c from'./view/presencedropdownlistview.js';import _0x3f2a7 from'./view/presencedropdownlistitemview.js';function _0x4767(){const _0x591080=['_handleUserRemove','detachFromDom','displayMe','bind','define','remove','presenceList.container','isMe','number','hideDropdown','_createView','_allConnectedUsers','reverse','9UiCbtq','usersCount','2367YuyvNR','2218950efAfQe','using','config','isHidden','locale','_handleUserAdd','from','3066508foyrql','presenceList','_bodyCollection','bindTo','class','464918qYzhHN','appendChild','currentDisplayedUsers','hasTooltip','ck\x20ck-presence-list__balloon','isCollapsed','287oGDUam','counterView','view','allConnectedUsers','inlineListView','destroy','presenceDropdownView','presenceList.displayMe','balloonPanelView','isRendered','add','set','get','30616OnxZlE','length','content','presenceList.collapseAt','onClick','listenTo','attachToDom','_calculateNewUserPosition','showDropdown','presencelist-missing-container','pin','render','99350kqfFdU','execute','540549hGSIsE','items','element','unpin','last','init','context','isVisible','requires','presencelist-collapseat-invalid-format','plugins','3504365UoCECj'];_0x4767=function(){return _0x591080;};return _0x4767();}import _0x20eb33 from'./view/presenceinlinelistitemview.js';const _={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x2ca0f6{constructor(_0x1905ef){const _0x89d5ce=_0x488b;super(_0x1905ef),this[_0x89d5ce(0x118)][_0x89d5ce(0x130)][_0x89d5ce(0x122)](_0x89d5ce(0x136),_);const _0x1927ed=_0x1905ef[_0x89d5ce(0x130)][_0x89d5ce(0x14c)](_0x89d5ce(0x150));if(_0x89d5ce(0x126)!=typeof _0x1927ed)throw new _0x11c6b3(_0x89d5ce(0x11b),this);if(_0x1927ed<0x1)throw new _0x11c6b3(_0x89d5ce(0x11b),this);this[_0x89d5ce(0x129)]=this[_0x89d5ce(0x118)][_0x89d5ce(0x11c)][_0x89d5ce(0x14c)](_0x3ba9d9)[_0x89d5ce(0x143)],this[_0x89d5ce(0x14b)](_0x89d5ce(0x12c),0x0),this[_0x89d5ce(0x13c)]=new _0x58d052(),this[_0x89d5ce(0x148)]=new _0x41b8d5(),this[_0x89d5ce(0x148)][_0x89d5ce(0x139)]=_0x89d5ce(0x13e),this[_0x89d5ce(0x142)]=this[_0x89d5ce(0x128)](),this[_0x89d5ce(0x146)]=void 0x0;}static get[_0x106d8f(0x11a)](){return[_0x3ba9d9];}[_0x106d8f(0x117)](){const _0x4057d7=_0x106d8f;for(const _0x24c7f8 of this[_0x4057d7(0x129)])this[_0x4057d7(0x133)](_0x24c7f8);this[_0x4057d7(0x152)](this[_0x4057d7(0x129)],_0x4057d7(0x14a),(_0x52ad3e,_0x1322a0)=>{const _0x29d5ec=_0x4057d7;this[_0x29d5ec(0x133)](_0x1322a0);}),this[_0x4057d7(0x152)](this[_0x4057d7(0x129)],_0x4057d7(0x123),(_0x19d472,_0x2186f5)=>{const _0x5f39fe=_0x4057d7;this[_0x5f39fe(0x11e)](_0x2186f5);});}[_0x106d8f(0x128)](){const _0x341930=_0x106d8f,_0x3e203c=this[_0x341930(0x118)],_0x240e6d=new _0x586e19(this[_0x341930(0x118)][_0x341930(0x132)]),_0x4153c3=this[_0x341930(0x148)];if(!_0x5d63b4(_0x3e203c[_0x341930(0x130)][_0x341930(0x14c)](_0x341930(0x124))))throw new _0x11c6b3(_0x341930(0x156),this);return _0x240e6d[_0x341930(0x141)][_0x341930(0x121)](_0x341930(0x12c))['to'](this),_0x240e6d[_0x341930(0x121)](_0x341930(0x13f))['to'](this,_0x341930(0x12c),_0x4cc338=>{const _0x41d2b9=_0x341930,{collapseAt:_0x537e51,displayMe:_0x48fd30}=_0x3e203c[_0x41d2b9(0x130)][_0x41d2b9(0x14c)](_0x41d2b9(0x136)),_0x1f9f42=_0x4cc338>=_0x537e51;return _0x240e6d[_0x41d2b9(0x141)][_0x41d2b9(0x131)]=!(0x1==_0x4cc338&&_0x48fd30||_0x1f9f42),_0x1f9f42||this[_0x41d2b9(0x127)](),_0x1f9f42;}),_0x240e6d[_0x341930(0x144)][_0x341930(0x113)][_0x341930(0x138)](this[_0x341930(0x13c)])[_0x341930(0x12f)](_0x14289f=>{const _0xb22c16=_0x341930,_0x587c2e=_0x3e203c[_0xb22c16(0x130)][_0xb22c16(0x14c)](_0xb22c16(0x136)),_0x15d6da=new _0x20eb33(_0x3e203c[_0xb22c16(0x132)],_0x14289f,!!_0x587c2e[_0xb22c16(0x151)]);return _0x15d6da[_0xb22c16(0x121)](_0xb22c16(0x13d))['to'](_0x240e6d,_0xb22c16(0x13f),_0x4b6569=>!_0x4b6569),_0x587c2e[_0xb22c16(0x151)]&&this[_0xb22c16(0x152)](_0x15d6da,_0xb22c16(0x111),()=>{const _0x3fb3fe=_0xb22c16;this[_0x3fb3fe(0x142)][_0x3fb3fe(0x13f)]||_0x587c2e[_0x3fb3fe(0x151)](_0x14289f,_0x15d6da[_0x3fb3fe(0x114)]);}),_0x15d6da;}),this[_0x341930(0x152)](_0x240e6d[_0x341930(0x144)],_0x341930(0x111),()=>{const _0x3cfa52=_0x341930;this[_0x3cfa52(0x146)]?this[_0x3cfa52(0x127)]():this[_0x3cfa52(0x142)][_0x3cfa52(0x13f)]&&this[_0x3cfa52(0x155)]();}),_0x240e6d[_0x341930(0x10f)](),_0x4153c3[_0x341930(0x10f)](),_0x5eff6b({'emitter':_0x240e6d,'activator':()=>_0x4153c3[_0x341930(0x119)],'contextElements':[_0x4153c3[_0x341930(0x114)],_0x240e6d[_0x341930(0x144)][_0x341930(0x114)]],'callback':()=>this[_0x341930(0x127)]()}),_0x3e203c[_0x341930(0x130)][_0x341930(0x14c)](_0x341930(0x124))[_0x341930(0x13b)](_0x240e6d[_0x341930(0x114)]),this[_0x341930(0x137)]=new _0x31f63a(this[_0x341930(0x118)][_0x341930(0x132)]),this[_0x341930(0x137)][_0x341930(0x153)](),this[_0x341930(0x137)][_0x341930(0x14a)](_0x4153c3),_0x240e6d;}[_0x106d8f(0x133)](_0x2cd064){const _0x5df854=_0x106d8f;if(!this[_0x5df854(0x118)][_0x5df854(0x130)][_0x5df854(0x14c)](_0x5df854(0x147))&&_0x2cd064[_0x5df854(0x125)])return;const _0x5c72cf=this[_0x5df854(0x118)][_0x5df854(0x130)][_0x5df854(0x14c)](_0x5df854(0x150))-0x1;this[_0x5df854(0x12c)]++,this[_0x5df854(0x13c)][_0x5df854(0x14e)]==_0x5c72cf&&this[_0x5df854(0x13c)][_0x5df854(0x123)](0x0);const _0x4d6fb4=this[_0x5df854(0x154)](_0x2cd064);this[_0x5df854(0x13c)][_0x5df854(0x14a)](_0x2cd064,_0x4d6fb4);}[_0x106d8f(0x11e)](_0x36d8b4){const _0x1cf7a5=_0x106d8f;if(this[_0x1cf7a5(0x12c)]--,this[_0x1cf7a5(0x13c)][_0x1cf7a5(0x14c)](_0x36d8b4['id'])&&(this[_0x1cf7a5(0x13c)][_0x1cf7a5(0x123)](_0x36d8b4['id']),this[_0x1cf7a5(0x13c)][_0x1cf7a5(0x14e)]<this[_0x1cf7a5(0x12c)])){for(const _0x5c2a6d of Array[_0x1cf7a5(0x134)](this[_0x1cf7a5(0x129)])[_0x1cf7a5(0x12a)]())if(!this[_0x1cf7a5(0x13c)][_0x1cf7a5(0x14c)](_0x5c2a6d['id']))return void this[_0x1cf7a5(0x13c)][_0x1cf7a5(0x14a)](_0x5c2a6d,0x0);}}[_0x106d8f(0x154)](_0x4a5705){const _0x57a4e2=_0x106d8f;return Boolean(this[_0x57a4e2(0x13c)][_0x57a4e2(0x116)]&&this[_0x57a4e2(0x13c)][_0x57a4e2(0x116)][_0x57a4e2(0x125)])&&!_0x4a5705[_0x57a4e2(0x125)]?this[_0x57a4e2(0x13c)][_0x57a4e2(0x14e)]-0x1:this[_0x57a4e2(0x13c)][_0x57a4e2(0x14e)];}[_0x106d8f(0x155)](){const _0x449c26=_0x106d8f;if(this[_0x449c26(0x146)])return;this[_0x449c26(0x146)]=new _0x2f0e5c(this[_0x449c26(0x118)][_0x449c26(0x132)]);const _0x2bef8f=this[_0x449c26(0x118)][_0x449c26(0x130)][_0x449c26(0x14c)](_0x449c26(0x136));this[_0x449c26(0x146)][_0x449c26(0x113)][_0x449c26(0x138)](this[_0x449c26(0x129)])[_0x449c26(0x12f)](_0x4323f6=>{const _0x289b7b=_0x449c26;if(!_0x2bef8f[_0x289b7b(0x120)]&&_0x4323f6[_0x289b7b(0x125)])return null;const _0x4629d8=new _0x3f2a7(this[_0x289b7b(0x118)][_0x289b7b(0x132)],_0x4323f6,!!_0x2bef8f[_0x289b7b(0x151)]);return _0x2bef8f[_0x289b7b(0x151)]&&this[_0x289b7b(0x152)](_0x4629d8,_0x289b7b(0x111),()=>{const _0x5cef6b=_0x289b7b;_0x2bef8f[_0x5cef6b(0x151)](_0x4323f6,_0x4629d8[_0x5cef6b(0x114)]);}),_0x4629d8;}),this[_0x449c26(0x148)][_0x449c26(0x14f)][_0x449c26(0x14a)](this[_0x449c26(0x146)]),this[_0x449c26(0x148)][_0x449c26(0x157)]({'target':this[_0x449c26(0x142)][_0x449c26(0x144)][_0x449c26(0x114)]});}[_0x106d8f(0x127)](){const _0x526c3d=_0x106d8f;this[_0x526c3d(0x146)]&&(this[_0x526c3d(0x148)][_0x526c3d(0x115)](),this[_0x526c3d(0x148)][_0x526c3d(0x14f)][_0x526c3d(0x123)](this[_0x526c3d(0x146)]),this[_0x526c3d(0x146)][_0x526c3d(0x145)](),this[_0x526c3d(0x146)]=void 0x0);}[_0x106d8f(0x145)](){const _0x4d4256=_0x106d8f;super[_0x4d4256(0x145)](),this[_0x4d4256(0x142)]&&this[_0x4d4256(0x142)][_0x4d4256(0x149)]&&this[_0x4d4256(0x142)][_0x4d4256(0x145)](),this[_0x4d4256(0x137)]&&this[_0x4d4256(0x137)][_0x4d4256(0x11f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5e85(_0x4d7c0d,_0x943ab8){const _0x20e2c4=_0x20e2();return _0x5e85=function(_0x5e85f2,_0x48cb2c){_0x5e85f2=_0x5e85f2-0xa7;let _0x29d880=_0x20e2c4[_0x5e85f2];return _0x29d880;},_0x5e85(_0x4d7c0d,_0x943ab8);}(function(_0x473324,_0x3d3b31){const _0xccd391=_0x5e85,_0x28f06c=_0x473324();while(!![]){try{const _0x1dd174=parseInt(_0xccd391(0xb9))/0x1+parseInt(_0xccd391(0xb7))/0x2*(parseInt(_0xccd391(0xb1))/0x3)+-parseInt(_0xccd391(0xaa))/0x4*(parseInt(_0xccd391(0xb0))/0x5)+parseInt(_0xccd391(0xb2))/0x6+-parseInt(_0xccd391(0xab))/0x7+-parseInt(_0xccd391(0xb8))/0x8+-parseInt(_0xccd391(0xb3))/0x9*(-parseInt(_0xccd391(0xb5))/0xa);if(_0x1dd174===_0x3d3b31)break;else _0x28f06c['push'](_0x28f06c['shift']());}catch(_0x4d1fbe){_0x28f06c['push'](_0x28f06c['shift']());}}}(_0x20e2,0x8d49f));import{View as _0xcd1ac5}from'ckeditor5/src/ui.js';import{getTranslation as _0x6b5254}from'../../common-translations.js';function _0x20e2(){const _0x2d636d=['360UMpxpw','ck-presence-list__counter--hidden','353420yvGFMN','setTemplate','5626IpJewr','6090384OthGky','280942UgRfgm','bindTemplate','usersCount','ck-presence-list__counter','328sKufJG','7024297FGESOM','set','isHidden','div','CONNECTED_USERS','38765zsAHSG','279RvpCck','6138018POglgK'];_0x20e2=function(){return _0x2d636d;};return _0x20e2();}export default class ts extends _0xcd1ac5{constructor(_0x4425b4){const _0x380518=_0x5e85;super(_0x4425b4);const _0x26e4b9=this[_0x380518(0xa7)];this[_0x380518(0xac)](_0x380518(0xa8),0x0),this[_0x380518(0xac)](_0x380518(0xad),!0x0),this[_0x380518(0xb6)]({'tag':_0x380518(0xae),'attributes':{'class':['ck',_0x380518(0xa9),_0x26e4b9['if'](_0x380518(0xad),_0x380518(0xb4))]},'children':[{'text':_0x26e4b9['to'](_0x380518(0xa8),_0x5d7212=>_0x6b5254(_0x4425b4,_0x380518(0xaf),_0x5d7212))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xeb24c3,_0xbb8cba){const _0x629b97=_0xd16f,_0x5db06c=_0xeb24c3();while(!![]){try{const _0x2831ce=-parseInt(_0x629b97(0xbf))/0x1*(-parseInt(_0x629b97(0xb6))/0x2)+-parseInt(_0x629b97(0xc8))/0x3*(parseInt(_0x629b97(0xb1))/0x4)+parseInt(_0x629b97(0xc2))/0x5*(parseInt(_0x629b97(0xc6))/0x6)+parseInt(_0x629b97(0xbb))/0x7*(-parseInt(_0x629b97(0xb3))/0x8)+-parseInt(_0x629b97(0xc5))/0x9+parseInt(_0x629b97(0xba))/0xa*(parseInt(_0x629b97(0xbd))/0xb)+parseInt(_0x629b97(0xca))/0xc;if(_0x2831ce===_0xbb8cba)break;else _0x5db06c['push'](_0x5db06c['shift']());}catch(_0x2f95fc){_0x5db06c['push'](_0x5db06c['shift']());}}}(_0x2e04,0xc7c39));function _0xd16f(_0x2b24ad,_0x4ceb0f){const _0x2e045b=_0x2e04();return _0xd16f=function(_0xd16f90,_0xbe75e5){_0xd16f90=_0xd16f90-0xaf;let _0x4fb8d3=_0x2e045b[_0xd16f90];return _0x4fb8d3;},_0xd16f(_0x2b24ad,_0x4ceb0f);}import{View as _0xce2b75}from'ckeditor5/src/ui.js';import{UserView as _0x4e4caf}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0xce2b75{constructor(_0x199361,_0x509f62,_0x573b77){const _0x254c9f=_0xd16f;super(_0x199361);const _0x3c4161=this[_0x254c9f(0xb5)];this[_0x254c9f(0xb4)]=new _0x4e4caf(_0x199361,_0x509f62);const _0x4426fd={'tag':_0x254c9f(0xb8),'attributes':{'class':['ck',_0x254c9f(0xc3)]},'children':[this[_0x254c9f(0xb4)],{'tag':_0x254c9f(0xb9),'attributes':{'class':['ck',_0x254c9f(0xbc)]},'children':[{'text':_0x509f62[_0x254c9f(0xc9)]}]},{'tag':_0x254c9f(0xb9),'attributes':{'class':['ck',_0x254c9f(0xc1),_0x509f62[_0x254c9f(0xb7)][_0x254c9f(0xc0)]()],'aria-hidden':_0x254c9f(0xaf)}}]};_0x573b77&&(_0x4426fd[_0x254c9f(0xb0)]=_0x254c9f(0xc7),_0x4426fd['on']={'click':_0x3c4161['to'](()=>this[_0x254c9f(0xb2)](_0x254c9f(0xbe)))}),this[_0x254c9f(0xc4)](_0x4426fd);}}function _0x2e04(){const _0x2f3807=['setTemplate','12037581xqfuHK','12uIPlyW','button','3262947pxGRHY','name','15895848pnqfpl','true','tag','4xpgRiC','fire','8msfFpw','userView','bindTemplate','8070mtTkFJ','color','div','span','370NpOEyi','7037422aJeyoI','ck-user__full-name','373318WHfGgI','execute','121nuGPsO','getBackgroundColorClass','ck-presence-list__marker','2950355doFNMS','ck-presence-list__dropdown-list-item'];_0x2e04=function(){return _0x2f3807;};return _0x2e04();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3156(_0x382df3,_0x355669){var _0x68ca53=_0x68ca();return _0x3156=function(_0x315653,_0x5ea2b6){_0x315653=_0x315653-0x10a;var _0x2ef72e=_0x68ca53[_0x315653];return _0x2ef72e;},_0x3156(_0x382df3,_0x355669);}function _0x68ca(){var _0x49264f=['ck-presence-list__dropdown-list-wrapper','createCollection','items','1255761vBXcIf','270990zshUJG','10CqSKlm','3622617eMCGGz','8535174BRRrlx','5949936esfVHa','ck-presence-list__dropdown-list','7oxDSVo','160VTOifJ','div','1179184mxSpkC','3108344yhxNpZ','setTemplate'];_0x68ca=function(){return _0x49264f;};return _0x68ca();}(function(_0xa4f4bd,_0x3894fd){var _0x5a59b7=_0x3156,_0x43d866=_0xa4f4bd();while(!![]){try{var _0x28bbe9=parseInt(_0x5a59b7(0x117))/0x1+-parseInt(_0x5a59b7(0x110))/0x2+parseInt(_0x5a59b7(0x119))/0x3+-parseInt(_0x5a59b7(0x111))/0x4*(parseInt(_0x5a59b7(0x118))/0x5)+parseInt(_0x5a59b7(0x10a))/0x6*(-parseInt(_0x5a59b7(0x10d))/0x7)+parseInt(_0x5a59b7(0x10b))/0x8+-parseInt(_0x5a59b7(0x116))/0x9*(-parseInt(_0x5a59b7(0x10e))/0xa);if(_0x28bbe9===_0x3894fd)break;else _0x43d866['push'](_0x43d866['shift']());}catch(_0x526573){_0x43d866['push'](_0x43d866['shift']());}}}(_0x68ca,0xd8e7a));import{View as _0x43447e}from'ckeditor5/src/ui.js';export default class x extends _0x43447e{constructor(_0x81c69b){var _0xa4d41b=_0x3156;super(_0x81c69b),this[_0xa4d41b(0x115)]=this[_0xa4d41b(0x114)](),this[_0xa4d41b(0x112)]({'tag':_0xa4d41b(0x10f),'attributes':{'class':['ck',_0xa4d41b(0x10c)]},'children':[{'tag':_0xa4d41b(0x10f),'attributes':{'class':['ck',_0xa4d41b(0x113)]},'children':this[_0xa4d41b(0x115)]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3763(){const _0x1e4d8b=['5MAAtCi','ck-presence-list__list-item','1027701QAhaeB','6MvaGZy','203926aYUAkH','bindTemplate','13221180MkKuvb','63cJbpPb','tag','name','fire','ck-presence-list__marker','true','set','3595248qqaKct','button','userView','getBackgroundColorClass','setTemplate','1476010zwqVgQ','markerView','execute','hasTooltip','52232NmoHPb','tooltipPosition','198443IKJnvT','div','ck-presence-list__list-item__tooltip','color','span'];_0x3763=function(){return _0x1e4d8b;};return _0x3763();}(function(_0x31bd65,_0x129694){const _0x4597e7=_0x3b1a,_0x1358a9=_0x31bd65();while(!![]){try{const _0xf103f4=parseInt(_0x4597e7(0x177))/0x1*(-parseInt(_0x4597e7(0x17b))/0x2)+-parseInt(_0x4597e7(0x17e))/0x3*(-parseInt(_0x4597e7(0x18e))/0x4)+-parseInt(_0x4597e7(0x18a))/0x5+-parseInt(_0x4597e7(0x17a))/0x6*(-parseInt(_0x4597e7(0x190))/0x7)+-parseInt(_0x4597e7(0x185))/0x8+-parseInt(_0x4597e7(0x179))/0x9+parseInt(_0x4597e7(0x17d))/0xa;if(_0xf103f4===_0x129694)break;else _0x1358a9['push'](_0x1358a9['shift']());}catch(_0x4df9d5){_0x1358a9['push'](_0x1358a9['shift']());}}}(_0x3763,0x3e849));import{View as _0x2ebca9}from'ckeditor5/src/ui.js';import{UserView as _0xa4b490}from'ckeditor5-collaboration/src/collaboration-core.js';export default class A extends _0x2ebca9{constructor(_0x1a0afb,_0xa965c,_0x89a176){const _0xf8413f=_0x3b1a;super(_0x1a0afb);const _0x3fb11d=this[_0xf8413f(0x17c)];this[_0xf8413f(0x184)](_0xf8413f(0x18d),!0x0),this[_0xf8413f(0x184)](_0xf8413f(0x18f),''),this[_0xf8413f(0x187)]=new _0xa4b490(_0x1a0afb,_0xa965c),this[_0xf8413f(0x18b)]=new ot(_0x1a0afb,_0xa965c);const _0x5844b3={'tag':_0xf8413f(0x191),'attributes':{'class':['ck',_0xf8413f(0x178)],'data-cke-tooltip-text':this[_0xf8413f(0x187)][_0xf8413f(0x180)],'data-cke-tooltip-position':_0x3fb11d['to'](_0xf8413f(0x18f)),'data-cke-tooltip-disabled':_0x3fb11d['to'](_0xf8413f(0x18d),_0x4d22ce=>!_0x4d22ce),'data-cke-tooltip-class':_0xf8413f(0x192)},'children':[this[_0xf8413f(0x187)],this[_0xf8413f(0x18b)]]};_0x89a176&&(_0x5844b3[_0xf8413f(0x17f)]=_0xf8413f(0x186),_0x5844b3['on']={'click':_0x3fb11d['to'](()=>this[_0xf8413f(0x181)](_0xf8413f(0x18c)))}),this[_0xf8413f(0x189)](_0x5844b3);}}function _0x3b1a(_0x5cf1cf,_0x2cb39b){const _0x37633e=_0x3763();return _0x3b1a=function(_0x3b1ab4,_0x22876e){_0x3b1ab4=_0x3b1ab4-0x177;let _0x10ba53=_0x37633e[_0x3b1ab4];return _0x10ba53;},_0x3b1a(_0x5cf1cf,_0x2cb39b);}class ot extends _0x2ebca9{constructor(_0x522c90,_0x4923c3){const _0x22b2f3=_0x3b1a;super(_0x522c90),this[_0x22b2f3(0x189)]({'tag':_0x22b2f3(0x194),'attributes':{'class':['ck',_0x22b2f3(0x182),_0x4923c3[_0x22b2f3(0x193)][_0x22b2f3(0x188)]()],'aria-hidden':_0x22b2f3(0x183)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x444d(_0x571136,_0x3f8860){const _0x2f26b3=_0x2f26();return _0x444d=function(_0x444da7,_0x553743){_0x444da7=_0x444da7-0x84;let _0x35adf5=_0x2f26b3[_0x444da7];return _0x35adf5;},_0x444d(_0x571136,_0x3f8860);}(function(_0x1e3e00,_0x5142dc){const _0x1017a0=_0x444d,_0x33e10b=_0x1e3e00();while(!![]){try{const _0x3eb62f=parseInt(_0x1017a0(0x86))/0x1+parseInt(_0x1017a0(0x92))/0x2*(-parseInt(_0x1017a0(0x90))/0x3)+parseInt(_0x1017a0(0x8d))/0x4+-parseInt(_0x1017a0(0x91))/0x5+-parseInt(_0x1017a0(0x87))/0x6+-parseInt(_0x1017a0(0x8f))/0x7+parseInt(_0x1017a0(0x8a))/0x8;if(_0x3eb62f===_0x5142dc)break;else _0x33e10b['push'](_0x33e10b['shift']());}catch(_0x640e1b){_0x33e10b['push'](_0x33e10b['shift']());}}}(_0x2f26,0xa1eab));function _0x2f26(){const _0x48501b=['createCollection','bindTemplate','1033322EhBBXa','3050124uxsBHG','div','execute','20366216aiWixN','ck-presence-list__list','fire','2801488wiSegx','items','3917830avkfZB','3761223lSrJeL','6472375vYZSvI','2xtjjfc','setTemplate'];_0x2f26=function(){return _0x48501b;};return _0x2f26();}import{View as _0x1ab3a7}from'ckeditor5/src/ui.js';export default class rt extends _0x1ab3a7{constructor(_0x4f1a8c){const _0xf5f4ff=_0x444d;super(_0x4f1a8c),this[_0xf5f4ff(0x8e)]=this[_0xf5f4ff(0x84)]();const _0x91c724=this[_0xf5f4ff(0x85)];this[_0xf5f4ff(0x93)]({'tag':_0xf5f4ff(0x88),'attributes':{'class':['ck',_0xf5f4ff(0x8b)]},'children':this[_0xf5f4ff(0x8e)],'on':{'click':_0x91c724['to'](()=>this[_0xf5f4ff(0x8c)](_0xf5f4ff(0x89)))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3001b3,_0x21d8b0){const _0x4ff0e7=_0x16db,_0x153ebe=_0x3001b3();while(!![]){try{const _0x5217ec=-parseInt(_0x4ff0e7(0x1c4))/0x1*(-parseInt(_0x4ff0e7(0x1ca))/0x2)+-parseInt(_0x4ff0e7(0x1c3))/0x3+-parseInt(_0x4ff0e7(0x1bd))/0x4+parseInt(_0x4ff0e7(0x1b2))/0x5*(parseInt(_0x4ff0e7(0x1c7))/0x6)+-parseInt(_0x4ff0e7(0x1b6))/0x7+-parseInt(_0x4ff0e7(0x1b3))/0x8+parseInt(_0x4ff0e7(0x1cb))/0x9*(parseInt(_0x4ff0e7(0x1c5))/0xa);if(_0x5217ec===_0x21d8b0)break;else _0x153ebe['push'](_0x153ebe['shift']());}catch(_0x5acb3c){_0x153ebe['push'](_0x153ebe['shift']());}}}(_0x32b1,0x534a7));function _0x32b1(){const _0x5e3cb1=['change','ck-presence-list','ck-rounded-corners','tooltipPosition','div','639352sRMJtc','listenTo','bindTemplate','items','isCollapsed','counterView','1660497wmMJPC','153572ilIWTr','90LzbDnp','setTemplate','6orWYNf','ck-presence-list--collapsed','ck-reset','8yXxPZk','904347WqbdLI','inlineListView','1847660EGsqmR','1410560xCtbOP','set','first','4601457FymqTn','locale'];_0x32b1=function(){return _0x5e3cb1;};return _0x32b1();}import{View as _0x350ec8}from'ckeditor5/src/ui.js';import _0x509b9d from'./presencecounterview.js';import _0x4917b3 from'./presenceinlinelistview.js';function _0x16db(_0x18ca32,_0x2bf19a){const _0x32b113=_0x32b1();return _0x16db=function(_0x16dbed,_0x25c991){_0x16dbed=_0x16dbed-0x1b1;let _0x41b2a5=_0x32b113[_0x16dbed];return _0x41b2a5;},_0x16db(_0x18ca32,_0x2bf19a);}import'../../../theme/presencelist.css';export default class k extends _0x350ec8{constructor(_0x86fb1e){const _0x16d322=_0x16db;super(_0x86fb1e);const _0x558990=this[_0x16d322(0x1bf)];this[_0x16d322(0x1b4)](_0x16d322(0x1c1),!0x0),this[_0x16d322(0x1c2)]=new _0x509b9d(this[_0x16d322(0x1b7)]),this[_0x16d322(0x1b1)]=new _0x4917b3(_0x86fb1e),this[_0x16d322(0x1be)](this[_0x16d322(0x1b1)][_0x16d322(0x1c0)],_0x16d322(0x1b8),()=>{const _0x1411dd=_0x16d322;for(const _0x5973f1 of this[_0x1411dd(0x1b1)][_0x1411dd(0x1c0)])_0x5973f1[_0x1411dd(0x1bb)]='s';this[_0x1411dd(0x1b1)][_0x1411dd(0x1c0)][_0x1411dd(0x1b5)]&&(this[_0x1411dd(0x1b1)][_0x1411dd(0x1c0)][_0x1411dd(0x1b5)][_0x1411dd(0x1bb)]='se');}),this[_0x16d322(0x1c6)]({'tag':_0x16d322(0x1bc),'attributes':{'class':['ck',_0x16d322(0x1b9),_0x16d322(0x1c9),_0x16d322(0x1ba),_0x558990['if'](_0x16d322(0x1c1),_0x16d322(0x1c8))]},'children':[this[_0x16d322(0x1c2)],this[_0x16d322(0x1b1)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1ee2a2=_0x5ee6;function _0x3f03(){var _0x30686b=['122110Brysab','1138633HiNPYo','PresenceList','11KWbJHK','42918804DzySMs','4962712xKzlcA','requires','6XNfnKG','18384TkwVkV','801DVRUKY','415NwxelT','2625894cebmrI','pluginName','3532568xuVyJo','7NLPwYH'];_0x3f03=function(){return _0x30686b;};return _0x3f03();}(function(_0x156443,_0x3480d1){var _0x8b3285=_0x5ee6,_0x59034d=_0x156443();while(!![]){try{var _0x3e1db4=-parseInt(_0x8b3285(0xf2))/0x1+-parseInt(_0x8b3285(0xed))/0x2+parseInt(_0x8b3285(0xe9))/0x3*(parseInt(_0x8b3285(0xef))/0x4)+-parseInt(_0x8b3285(0xec))/0x5*(parseInt(_0x8b3285(0xea))/0x6)+-parseInt(_0x8b3285(0xf0))/0x7*(parseInt(_0x8b3285(0xf6))/0x8)+parseInt(_0x8b3285(0xeb))/0x9*(-parseInt(_0x8b3285(0xf1))/0xa)+parseInt(_0x8b3285(0xf4))/0xb*(parseInt(_0x8b3285(0xf5))/0xc);if(_0x3e1db4===_0x3480d1)break;else _0x59034d['push'](_0x59034d['shift']());}catch(_0x2c1962){_0x59034d['push'](_0x59034d['shift']());}}}(_0x3f03,0xe3031));function _0x5ee6(_0x13aa27,_0x3ccc08){var _0x3f0352=_0x3f03();return _0x5ee6=function(_0x5ee6b0,_0x14d36a){_0x5ee6b0=_0x5ee6b0-0xe8;var _0x4936b3=_0x3f0352[_0x5ee6b0];return _0x4936b3;},_0x5ee6(_0x13aa27,_0x3ccc08);}import{ContextPlugin as _0x2c061f}from'ckeditor5/src/core.js';import _0x58fa03 from'./realtimecollaborativeediting/sessions.js';import _0x2f60b8 from'./presencelist/presencelistui.js';export default class i extends _0x2c061f{static get[_0x1ee2a2(0xe8)](){return[_0x58fa03,_0x2f60b8];}static get[_0x1ee2a2(0xee)](){var _0x1f3128=_0x1ee2a2;return _0x1f3128(0xf3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ffdd0=_0x28fd;(function(_0x3b44a,_0x1411ef){const _0x3712e8=_0x28fd,_0x313f91=_0x3b44a();while(!![]){try{const _0x759bf8=parseInt(_0x3712e8(0x1c8))/0x1+parseInt(_0x3712e8(0x1df))/0x2*(parseInt(_0x3712e8(0x201))/0x3)+-parseInt(_0x3712e8(0x203))/0x4+-parseInt(_0x3712e8(0x1ad))/0x5+-parseInt(_0x3712e8(0x1bf))/0x6+parseInt(_0x3712e8(0x1cd))/0x7*(-parseInt(_0x3712e8(0x1c1))/0x8)+parseInt(_0x3712e8(0x1fb))/0x9;if(_0x759bf8===_0x1411ef)break;else _0x313f91['push'](_0x313f91['shift']());}catch(_0x591c48){_0x313f91['push'](_0x313f91['shift']());}}}(_0x17c6,0xa6449));import{Context as _0x364186,ContextPlugin as _0xe4aa69}from'ckeditor5/src/core.js';import{CKEditorError as _0x23ee64}from'ckeditor5/src/utils.js';import{Users as _0x1647a7}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x628ea5,User as _0x1d0606}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5d524d from'../realtimecollaborativeediting/websocketgateway.js';import _0x45ffa0 from'../realtimecollaborativeediting/sessions.js';class a extends _0xe4aa69{static get[_0x3ffdd0(0x1a8)](){const _0x14cf9c=_0x3ffdd0;return[_0x5d524d,_0x14cf9c(0x1ed),_0x45ffa0,_0x1647a7];}static get[_0x3ffdd0(0x1cb)](){const _0x5c5a2a=_0x3ffdd0;return _0x5c5a2a(0x1bd);}constructor(_0x1e0c28){const _0x4124f6=_0x3ffdd0;super(_0x1e0c28),this[_0x4124f6(0x1c2)]=new Map();}async[_0x3ffdd0(0x1e3)](){const _0x545696=_0x3ffdd0,_0x2af909=this[_0x545696(0x1c0)],_0x291e04=_0x2af909[_0x545696(0x200)][_0x545696(0x1ee)](_0x545696(0x1ed));if(_0x2af909[_0x545696(0x200)][_0x545696(0x1ee)](_0x5d524d)[_0x545696(0x1ca)](this),_0x291e04[_0x545696(0x1b4)]={'addCommentThread':async({channelId:_0x3836d0,threadId:_0x22e8a7,comments:_0x3b2561,resolvedAt:_0x44966a,resolvedBy:_0x6b6fce,context:_0x34ac93,attributes:_0x13be79})=>{const _0x292d55=_0x545696,_0x2dacb3=await this[_0x292d55(0x1b8)](_0x3836d0)[_0x292d55(0x1b0)]({'commentThreadId':_0x22e8a7,'comments':_0x3b2561[_0x292d55(0x1cc)](_0xdabeb9=>function(_0x35cc85,_0x3e4096,_0x397c9d){const _0x54657c=_0x292d55;return{'commentThreadId':_0x397c9d,'commentId':_0x35cc85[_0x54657c(0x1d6)],'userId':_0x35cc85[_0x54657c(0x1dc)],'content':_0x35cc85[_0x54657c(0x1f2)],'documentId':_0x3e4096,'createdAt':_0x35cc85[_0x54657c(0x1e1)],'attributes':_0x35cc85[_0x54657c(0x202)]||{}};}(_0xdabeb9,_0x3836d0,_0x22e8a7)),'resolvedAt':_0x44966a,'resolvedBy':_0x6b6fce,'context':_0x34ac93,'attributes':_0x13be79})[_0x292d55(0x1ec)](B);return{'threadId':_0x2dacb3[_0x292d55(0x1da)],'comments':_0x2dacb3[_0x292d55(0x1b3)]};},'getCommentThread':async({channelId:_0x53e45d,threadId:_0xfd71b})=>{const _0x4bde30=_0x545696,_0x3e2f32=await this[_0x4bde30(0x1b8)](_0x53e45d)[_0x4bde30(0x1b6)](_0xfd71b)[_0x4bde30(0x1ec)](B);return await this[_0x4bde30(0x1f3)]([_0x3e2f32]),{'threadId':_0x3e2f32[_0x4bde30(0x1da)],'comments':_0x3e2f32[_0x4bde30(0x1b3)][_0x4bde30(0x1cc)](R),'context':_0x3e2f32[_0x4bde30(0x1c0)],'resolvedAt':_0x3e2f32[_0x4bde30(0x1a7)],'resolvedBy':_0x3e2f32[_0x4bde30(0x204)],'attributes':_0x3e2f32[_0x4bde30(0x202)]||{}};},'updateCommentThread':async({channelId:_0x27bd11,threadId:_0x7ace03,context:_0x1123e2,unlinkedAt:_0x5cda51,attributes:_0x3cbf3d})=>this[_0x545696(0x1b8)](_0x27bd11)[_0x545696(0x1d9)]({'commentThreadId':_0x7ace03,'context':_0x1123e2,'attributes':_0x3cbf3d,'unlinkedAt':_0x5cda51})[_0x545696(0x1ec)](F)[_0x545696(0x1ec)](B),'resolveCommentThread':async({channelId:_0x12fd53,threadId:_0x3708ff})=>{const _0x34a1fc=_0x545696,_0x1ebfa1=await this[_0x34a1fc(0x1b8)](_0x12fd53)[_0x34a1fc(0x1e6)](_0x3708ff)[_0x34a1fc(0x1ec)](F)[_0x34a1fc(0x1ec)](B);return{'threadId':_0x1ebfa1[_0x34a1fc(0x1da)],'resolvedAt':_0x1ebfa1[_0x34a1fc(0x1a7)],'resolvedBy':_0x1ebfa1[_0x34a1fc(0x204)]};},'reopenCommentThread':async({channelId:_0x13ba07,threadId:_0x5eae8e})=>this[_0x545696(0x1b8)](_0x13ba07)[_0x545696(0x1d5)](_0x5eae8e)[_0x545696(0x1ec)](F)[_0x545696(0x1ec)](B),'removeCommentThread':({channelId:_0x41279b,threadId:_0x19ebd4})=>this[_0x545696(0x1b8)](_0x41279b)[_0x545696(0x1d4)](_0x19ebd4)[_0x545696(0x1ec)](F)[_0x545696(0x1ec)](B),'addComment':({channelId:_0x21d13d,threadId:_0x2c588a,commentId:_0x251509,content:_0x27beee,attributes:_0x32dc86})=>this[_0x545696(0x1b8)](_0x21d13d)[_0x545696(0x1be)](_0x2c588a,_0x251509,_0x27beee,_0x32dc86)[_0x545696(0x1ec)](B),'updateComment':({channelId:_0x4dfab0,threadId:_0x16af99,commentId:_0x5d8ba6,content:_0x1cb82c,attributes:_0x298e38})=>this[_0x545696(0x1b8)](_0x4dfab0)[_0x545696(0x1f5)](_0x16af99,_0x5d8ba6,_0x1cb82c,_0x298e38)[_0x545696(0x1ec)](F)[_0x545696(0x1ec)](B),'removeComment':({channelId:_0x3dd388,threadId:_0x290499,commentId:_0x491762})=>this[_0x545696(0x1b8)](_0x3dd388)[_0x545696(0x1b9)](_0x290499,_0x491762)[_0x545696(0x1ec)](F)[_0x545696(0x1ec)](B)},_0x2af909 instanceof _0x364186){const _0x2a2530=_0x2af909[_0x545696(0x1e7)][_0x545696(0x1ee)](_0x545696(0x1de)),_0x1c640d=_0x2af909[_0x545696(0x200)][_0x545696(0x1ee)](_0x45ffa0);await this[_0x545696(0x206)](_0x2a2530);const _0x4ba503=await this[_0x545696(0x1c2)][_0x545696(0x1ee)](_0x2a2530)[_0x545696(0x205)]();this[_0x545696(0x1c9)](_0x1c640d,_0x545696(0x1ba)+_0x2a2530,(_0x2db692,{session:_0x4c6fc5})=>{const _0x3f579f=_0x545696;_0x4c6fc5['id']===_0x1c640d[_0x3f579f(0x1c6)]&&(_0x2db692[_0x3f579f(0x1ae)](),this[_0x3f579f(0x1c0)][_0x3f579f(0x200)][_0x3f579f(0x1ee)](_0x3f579f(0x1f0))[_0x3f579f(0x1bc)](_0x4c6fc5[_0x3f579f(0x1af)],_0x2a2530));}),_0x1c640d[_0x545696(0x1f7)](_0x2a2530,_0x4ba503);}}async[_0x3ffdd0(0x206)](_0xece3ec){const _0xd1851b=_0x3ffdd0;if(this[_0xd1851b(0x1c2)][_0xd1851b(0x1f9)](_0xece3ec))throw new _0x23ee64(_0xd1851b(0x1b2),null,{'channelId':_0xece3ec});const _0x41e3ff=this[_0xd1851b(0x1c0)][_0xd1851b(0x200)][_0xd1851b(0x1ee)](_0xd1851b(0x1ed)),_0x5d9023=new a[(_0xd1851b(0x1f8))](_0xece3ec);this[_0xd1851b(0x1c2)][_0xd1851b(0x1d3)](_0xece3ec,_0x5d9023),this[_0xd1851b(0x1c9)](_0x5d9023,_0xd1851b(0x1f1),(_0x9a00ed,_0x59922b)=>{const _0x4cc4db=_0xd1851b,{commentThreadId:_0x103abc,documentId:_0x332870,context:_0x54d659,attributes:_0x1601e9,resolvedAt:_0x3273f0,resolvedBy:_0x50f830,comments:_0x15501d}=_0x59922b;_0x41e3ff[_0x4cc4db(0x1b6)](_0x103abc)||_0x41e3ff[_0x4cc4db(0x1b0)]({'threadId':_0x103abc,'channelId':_0x332870,'comments':_0x15501d?_0x15501d[_0x4cc4db(0x1cc)](R):[],'context':_0x54d659,'attributes':_0x1601e9,'resolvedAt':_0x3273f0,'resolvedBy':_0x50f830,'isFromAdapter':!0x0});}),this[_0xd1851b(0x1c9)](_0x5d9023,_0xd1851b(0x1aa),(_0x21740c,{commentThreadId:_0xbb086a,documentId:_0x464579,context:_0x48c5a5,unlinkedAt:_0x50aa90,attributes:_0x285985})=>{const _0x18006a=_0xd1851b;_0x41e3ff[_0x18006a(0x1b6)](_0xbb086a)&&_0x41e3ff[_0x18006a(0x1d9)]({'threadId':_0xbb086a,'channelId':_0x464579,'context':_0x48c5a5,'unlinkedAt':_0x50aa90,'attributes':_0x285985,'isFromAdapter':!0x0});}),this[_0xd1851b(0x1c9)](_0x5d9023,_0xd1851b(0x1b1),(_0x48acfc,{commentThreadId:_0x5e16c9,resolvedBy:_0x46bac7,resolvedAt:_0x41fdd0})=>{const _0x148ed9=_0xd1851b,_0x37556c=_0x41e3ff[_0x148ed9(0x1b6)](_0x5e16c9);_0x37556c&&_0x37556c[_0x148ed9(0x1d2)]({'resolvedBy':_0x46bac7,'resolvedAt':_0x41fdd0,'isFromAdapter':!0x0});}),this[_0xd1851b(0x1c9)](_0x5d9023,_0xd1851b(0x1e2),(_0x1e70a0,{commentThreadId:_0x2ef7df})=>{const _0x3d1890=_0xd1851b,_0x3749e3=_0x41e3ff[_0x3d1890(0x1b6)](_0x2ef7df);_0x3749e3&&_0x3749e3[_0x3d1890(0x1d1)]({'isFromAdapter':!0x0});}),this[_0xd1851b(0x1c9)](_0x5d9023,_0xd1851b(0x1e4),(_0x390bc7,{commentThreadId:_0x5a3aa7})=>{const _0x137219=_0xd1851b,_0x51b018=_0x41e3ff[_0x137219(0x1b6)](_0x5a3aa7);_0x51b018&&_0x51b018[_0x137219(0x1d0)]({'isFromAdapter':!0x0});}),this[_0xd1851b(0x1c9)](_0x5d9023,_0xd1851b(0x1e0),(_0x429d43,_0x47663a)=>{const _0x5d09d2=_0xd1851b,_0x631b69=_0x47663a[_0x5d09d2(0x1da)],_0x496031=_0x41e3ff[_0x5d09d2(0x1b6)](_0x631b69);_0x496031&&_0x496031[_0x5d09d2(0x1be)]({...R(_0x47663a),'isFromAdapter':!0x0});}),this[_0xd1851b(0x1c9)](_0x5d9023,_0xd1851b(0x1f6),(_0x4ef42f,{commentThreadId:_0x36f040,commentId:_0x31b761,content:_0x4761d5,attributes:_0x5cd54a})=>{const _0x490f3e=_0xd1851b,_0x43ab1e=_0x41e3ff[_0x490f3e(0x1b6)](_0x36f040);if(_0x43ab1e){const _0x5d3e34=_0x43ab1e[_0x490f3e(0x1fe)](_0x31b761);_0x5d3e34&&_0x5d3e34[_0x490f3e(0x207)]({'content':_0x4761d5,'attributes':_0x5cd54a,'isFromAdapter':!0x0});}}),this[_0xd1851b(0x1c9)](_0x5d9023,_0xd1851b(0x1f4),(_0xc07a4b,{commentThreadId:_0x28be08,commentId:_0x3f6b22})=>{const _0x4adeb9=_0xd1851b,_0x23a012=_0x41e3ff[_0x4adeb9(0x1b6)](_0x28be08);if(_0x23a012){const _0x23a929=_0x23a012[_0x4adeb9(0x1fe)](_0x3f6b22);_0x23a929&&_0x23a929[_0x4adeb9(0x1d0)]({'isFromAdapter':!0x0});}}),await this[_0xd1851b(0x208)](_0xece3ec);}[_0x3ffdd0(0x1a9)](){const _0x408895=_0x3ffdd0;if(this[_0x408895(0x1c0)]instanceof _0x364186){const _0x23cdf2=this[_0x408895(0x1c0)][_0x408895(0x1e7)][_0x408895(0x1ee)](_0x408895(0x1de));this[_0x408895(0x1bb)](_0x23cdf2);}}[_0x3ffdd0(0x1bb)](_0x5e176c){const _0x2e21fe=_0x3ffdd0;if(!this[_0x2e21fe(0x1c2)][_0x2e21fe(0x1f9)](_0x5e176c))throw new _0x23ee64(_0x2e21fe(0x1ef),null,{'channelId':_0x5e176c});this[_0x2e21fe(0x1b8)](_0x5e176c)[_0x2e21fe(0x1fc)](),this[_0x2e21fe(0x1c2)][_0x2e21fe(0x1c7)](_0x5e176c);}async[_0x3ffdd0(0x1eb)](){const _0x1af9f9=_0x3ffdd0;for(const _0x325097 of this[_0x1af9f9(0x1c2)][_0x1af9f9(0x1dd)]())await this[_0x1af9f9(0x208)](_0x325097);if(this[_0x1af9f9(0x1c0)]instanceof _0x364186){const _0x49c109=this[_0x1af9f9(0x1c0)][_0x1af9f9(0x1e7)][_0x1af9f9(0x1ee)](_0x1af9f9(0x1de)),_0x51616b=this[_0x1af9f9(0x1c0)][_0x1af9f9(0x200)][_0x1af9f9(0x1ee)](_0x45ffa0);_0x51616b[_0x1af9f9(0x1e9)](_0x49c109);const _0x52d385=await this[_0x1af9f9(0x1c2)][_0x1af9f9(0x1ee)](_0x49c109)[_0x1af9f9(0x205)]();_0x51616b[_0x1af9f9(0x1f7)](_0x49c109,_0x52d385);}}async[_0x3ffdd0(0x208)](_0x3607ad){const _0x1c6799=_0x3ffdd0,{connection:_0x5f28da}=this[_0x1c6799(0x1c0)][_0x1c6799(0x200)][_0x1c6799(0x1ee)](_0x5d524d),_0x14b44b=this[_0x1c6799(0x1c0)][_0x1c6799(0x200)][_0x1c6799(0x1ee)](_0x1c6799(0x1ed)),_0x2acb69=this[_0x1c6799(0x1c2)][_0x1c6799(0x1ee)](_0x3607ad),_0xeedfdd=await _0x2acb69[_0x1c6799(0x1c4)](_0x5f28da);await this[_0x1c6799(0x1f3)](_0xeedfdd);const _0x446f3c=new Set(Array[_0x1c6799(0x1ac)](_0x14b44b[_0x1c6799(0x1d7)]({'channelId':_0x3607ad}),_0x1f1e0a=>_0x1f1e0a['id']));for(const _0x23c5d1 of _0xeedfdd)_0x23c5d1[_0x1c6799(0x1fa)]||_0x446f3c[_0x1c6799(0x1c7)](_0x23c5d1[_0x1c6799(0x1da)]);for(const _0x4f3e83 of _0x446f3c)_0x14b44b[_0x1c6799(0x1b6)](_0x4f3e83)[_0x1c6799(0x1d0)]({'isFromAdapter':!0x0});for(const _0x974476 of _0xeedfdd){let _0x495808=_0x14b44b[_0x1c6799(0x1b6)](_0x974476[_0x1c6799(0x1da)]);const {commentThreadId:_0x4f5a48,context:_0x474bca,attributes:_0x3310fb,resolvedBy:_0x49b470,resolvedAt:_0x582086,unlinkedAt:_0x54d91f,deletedAt:_0x2cedb3}=_0x974476;if(_0x2cedb3)continue;_0x495808||(_0x495808=_0x14b44b[_0x1c6799(0x1b0)]({'channelId':_0x3607ad,'threadId':_0x4f5a48,'context':_0x474bca,'attributes':_0x3310fb||{},'resolvedBy':_0x49b470,'resolvedAt':_0x582086,'unlinkedAt':_0x54d91f,'isFromAdapter':!0x0}));const _0x5bd79d=new Set(Array[_0x1c6799(0x1ac)](_0x495808[_0x1c6799(0x1b3)],_0x529865=>_0x529865['id']));for(const _0x3f04af of _0x974476[_0x1c6799(0x1b3)])_0x5bd79d[_0x1c6799(0x1c7)](_0x3f04af[_0x1c6799(0x1d6)]);for(const _0x3f360e of _0x5bd79d)_0x495808[_0x1c6799(0x1fe)](_0x3f360e)[_0x1c6799(0x1d0)]({'isFromAdapter':!0x0});for(const _0x378657 of _0x974476[_0x1c6799(0x1b3)]){const _0x4a0d9a=_0x495808[_0x1c6799(0x1fe)](_0x378657[_0x1c6799(0x1d6)]);_0x4a0d9a?_0x4a0d9a[_0x1c6799(0x1f2)]!==_0x378657[_0x1c6799(0x1f2)]&&_0x4a0d9a[_0x1c6799(0x207)]({'content':_0x378657[_0x1c6799(0x1f2)],'isFromAdapter':!0x0}):_0x495808[_0x1c6799(0x1be)](Object[_0x1c6799(0x1fd)](R(_0x378657),{'isFromAdapter':!0x0}));}}}[_0x3ffdd0(0x1b8)](_0x5b76db){const _0x30e84f=_0x3ffdd0;if(!this[_0x30e84f(0x1c2)][_0x30e84f(0x1f9)](_0x5b76db))throw new _0x23ee64(_0x30e84f(0x1e5),null,{'channelId':_0x5b76db});return this[_0x30e84f(0x1c2)][_0x30e84f(0x1ee)](_0x5b76db);}async[_0x3ffdd0(0x1f3)](_0x34cd8e){const _0x2747d7=_0x3ffdd0,_0x1ed213=this[_0x2747d7(0x1c0)][_0x2747d7(0x200)][_0x2747d7(0x1ee)](_0x1647a7),{connection:_0x2fec83}=this[_0x2747d7(0x1c0)][_0x2747d7(0x200)][_0x2747d7(0x1ee)](_0x5d524d),_0xa2591d=new Set();for(const {resolvedBy:_0x3d6955,comments:_0x48b67b}of _0x34cd8e){_0x3d6955&&!_0x1ed213[_0x2747d7(0x1cf)](_0x3d6955)&&_0xa2591d[_0x2747d7(0x1c3)](_0x3d6955);for(const {userId:_0xb96119}of _0x48b67b)_0x1ed213[_0x2747d7(0x1cf)](_0xb96119)||_0xa2591d[_0x2747d7(0x1c3)](_0xb96119);}if(0x0===_0xa2591d[_0x2747d7(0x1ff)])return;const _0x30e299=await _0x1d0606[_0x2747d7(0x1c5)](_0x2fec83,Array[_0x2747d7(0x1ac)](_0xa2591d));for(const _0x4459d6 of _0x30e299)_0x1ed213[_0x2747d7(0x1cf)](_0x4459d6['id'])||_0x1ed213[_0x2747d7(0x1b5)](_0x4459d6);}}function _0x28fd(_0x5f531b,_0x2775ba){const _0x17c6b6=_0x17c6();return _0x28fd=function(_0x28fda2,_0x1e9975){_0x28fda2=_0x28fda2-0x1a7;let _0x4d95f4=_0x17c6b6[_0x28fda2];return _0x4d95f4;},_0x28fd(_0x5f531b,_0x2775ba);}a[_0x3ffdd0(0x1f8)]=_0x628ea5;export default a;async function F(_0x49a95d){const _0x680603=_0x3ffdd0;if(_0x680603(0x209)!==_0x49a95d[_0x680603(0x1db)])throw _0x49a95d;}function _0x17c6(){const _0x419585=['5414640CWMxZa','off','permissions','addCommentThread','commentThreadResolved','cloudservicescommentsadapter-connect-already-connected','comments','adapter','addUser','getCommentThread','userId','_getService','removeComment','sessionAdd:','_terminateService','setPermissions','CloudServicesCommentsAdapter','addComment','6718260Xaaedd','context','21944BKCMnt','_services','add','connect','getMany','mySessionId','delete','885944wPEVzB','listenTo','addToReconnectionStack','pluginName','map','231nohIRV','message','getUser','remove','reopen','resolve','set','removeCommentThread','reopenCommentThread','commentId','getCommentThreads','cloud-services-internal-error:\x20Request\x20timeout.','updateCommentThread','commentThreadId','code','authorId','keys','collaboration.channelId','2dyeSSs','commentAdded','createdAt','commentThreadReopened','init','commentThreadRemoved','cloudservicescommentsadapter-service-not-exist','resolveCommentThread','config','cloud-services-internal-error:\x20Not\x20connected.','unregister','startsWith','reconnect','catch','CommentsRepository','get','cloudservicescommentsadapter-disconnect-not-exist','Permissions','commentThreadAdded','content','_fetchMissingUsersForThreads','commentRemoved','updateComment','commentUpdated','register','CommentsService','has','deletedAt','12606570aXhixY','disconnect','assign','getComment','size','plugins','2775837JHAPLg','attributes','951052GRmBLL','resolvedBy','getConnectedSessions','_setUpService','update','_connectService','404','resolvedAt','requires','destroy','commentThreadUpdated','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','from'];_0x17c6=function(){return _0x419585;};return _0x17c6();}function B(_0x5432d4){const _0x3e7fd2=_0x3ffdd0;if((_0x38f877=_0x5432d4)[_0x3e7fd2(0x1ce)][_0x3e7fd2(0x1ea)](_0x3e7fd2(0x1ab))||_0x38f877[_0x3e7fd2(0x1ce)][_0x3e7fd2(0x1ea)](_0x3e7fd2(0x1e8))||_0x38f877[_0x3e7fd2(0x1ce)][_0x3e7fd2(0x1ea)](_0x3e7fd2(0x1d8)))return new Promise(()=>{});var _0x38f877;throw _0x5432d4;}function R(_0x3b56bd){const _0x292a93=_0x3ffdd0;return{'threadId':_0x3b56bd[_0x292a93(0x1da)],'commentId':_0x3b56bd[_0x292a93(0x1d6)],'content':_0x3b56bd[_0x292a93(0x1f2)],'createdAt':_0x3b56bd[_0x292a93(0x1e1)],'authorId':_0x3b56bd[_0x292a93(0x1b7)],'attributes':_0x3b56bd[_0x292a93(0x202)]||{}};}
|
|
23
|
+
function _0x437d(_0x39fc8a,_0x811a7f){const _0xe77de5=_0xe77d();return _0x437d=function(_0x437d82,_0x5c461c){_0x437d82=_0x437d82-0x168;let _0x2049be=_0xe77de5[_0x437d82];return _0x2049be;},_0x437d(_0x39fc8a,_0x811a7f);}const _0x2b8ad5=_0x437d;(function(_0x2cba55,_0x4ffd13){const _0x2f5691=_0x437d,_0x507aaa=_0x2cba55();while(!![]){try{const _0x4b280b=-parseInt(_0x2f5691(0x18c))/0x1+-parseInt(_0x2f5691(0x1b0))/0x2+parseInt(_0x2f5691(0x1c3))/0x3*(-parseInt(_0x2f5691(0x17d))/0x4)+-parseInt(_0x2f5691(0x197))/0x5*(-parseInt(_0x2f5691(0x179))/0x6)+parseInt(_0x2f5691(0x19a))/0x7+-parseInt(_0x2f5691(0x1b3))/0x8*(-parseInt(_0x2f5691(0x18a))/0x9)+parseInt(_0x2f5691(0x169))/0xa*(parseInt(_0x2f5691(0x1ca))/0xb);if(_0x4b280b===_0x4ffd13)break;else _0x507aaa['push'](_0x507aaa['shift']());}catch(_0x4fc455){_0x507aaa['push'](_0x507aaa['shift']());}}}(_0xe77d,0x77e26));import{Context as _0x4e634f,ContextPlugin as _0x3cae2d}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ae467}from'ckeditor5/src/utils.js';import{Users as _0x1382e4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xe77d(){const _0x5f021d=['has','connect','addToReconnectionStack','Permissions','commentThreadUpdated','getComment','pluginName','_setUpService','context','mySessionId','reconnect','config','updateCommentThread','size','CloudServicesCommentsAdapter','authorId','addCommentThread','1209404DHpgSc','_terminateService','commentId','16GXjbfn','commentUpdated','reopenCommentThread','keys','reopen','content','requires','cloudservicescommentsadapter-connect-already-connected','init','resolvedAt','update','disconnect','addUser','startsWith','getCommentThreads','plugins','221496rrHzNn','unregister','removeCommentThread','addComment','getConnectedSessions','CommentsRepository','code','1012vIMjyc','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','attributes','125350YOfazN','_fetchMissingUsersForThreads','assign','resolve','permissions','commentThreadId','deletedAt','removeComment','_getService','setPermissions','cloud-services-internal-error:\x20Not\x20connected.','getMany','comments','commentRemoved','commentThreadAdded','set','12LyNuin','register','cloudservicescommentsadapter-disconnect-not-exist','resolveCommentThread','48CKaDtW','commentThreadReopened','destroy','delete','get','listenTo','catch','CommentsService','commentAdded','cloudservicescommentsadapter-service-not-exist','getUser','updateComment','adapter','1510218tqmELQ','404','498182uzmkxA','_services','map','commentThreadResolved','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_connectService','add','remove','sessionAdd:','message','981460DUzokD','from','userId','4189542qBcidc','off','getCommentThread','commentThreadRemoved','createdAt'];_0xe77d=function(){return _0x5f021d;};return _0xe77d();}import{CommentsService as _0x49d7cc,User as _0x2f2d72}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5b47c4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x23f21b from'../realtimecollaborativeediting/sessions.js';class a extends _0x3cae2d{static get[_0x2b8ad5(0x1b9)](){const _0x82daf5=_0x2b8ad5;return[_0x5b47c4,_0x82daf5(0x1c8),_0x23f21b,_0x1382e4];}static get[_0x2b8ad5(0x1a5)](){const _0x3b9ba4=_0x2b8ad5;return _0x3b9ba4(0x1ad);}constructor(_0x30f808){const _0x491eb0=_0x2b8ad5;super(_0x30f808),this[_0x491eb0(0x18d)]=new Map();}async[_0x2b8ad5(0x1bb)](){const _0x1105de=_0x2b8ad5,_0x40e4dd=this[_0x1105de(0x1a7)],_0x4770e5=_0x40e4dd[_0x1105de(0x1c2)][_0x1105de(0x181)](_0x1105de(0x1c8));if(_0x40e4dd[_0x1105de(0x1c2)][_0x1105de(0x181)](_0x5b47c4)[_0x1105de(0x1a1)](this),_0x4770e5[_0x1105de(0x189)]={'addCommentThread':async({channelId:_0xf54ba8,threadId:_0xd153c5,comments:_0xa11265,resolvedAt:_0x3d22d0,resolvedBy:_0x4922af,context:_0x35f7fb,attributes:_0x242eeb})=>{const _0x4b9b1d=_0x1105de,_0x19ae90=await this[_0x4b9b1d(0x171)](_0xf54ba8)[_0x4b9b1d(0x1af)]({'commentThreadId':_0xd153c5,'comments':_0xa11265[_0x4b9b1d(0x18e)](_0x41f3ff=>function(_0x438c24,_0x919512,_0x2e7612){const _0x105d66=_0x4b9b1d;return{'commentThreadId':_0x2e7612,'commentId':_0x438c24[_0x105d66(0x1b2)],'userId':_0x438c24[_0x105d66(0x1ae)],'content':_0x438c24[_0x105d66(0x1b8)],'documentId':_0x919512,'createdAt':_0x438c24[_0x105d66(0x19e)],'attributes':_0x438c24[_0x105d66(0x168)]||{}};}(_0x41f3ff,_0xf54ba8,_0xd153c5)),'resolvedAt':_0x3d22d0,'resolvedBy':_0x4922af,'context':_0x35f7fb,'attributes':_0x242eeb})[_0x4b9b1d(0x183)](B);return{'threadId':_0x19ae90[_0x4b9b1d(0x16e)],'comments':_0x19ae90[_0x4b9b1d(0x175)]};},'getCommentThread':async({channelId:_0x1b61c9,threadId:_0x2001b8})=>{const _0x1689cb=_0x1105de,_0x498d8a=await this[_0x1689cb(0x171)](_0x1b61c9)[_0x1689cb(0x19c)](_0x2001b8)[_0x1689cb(0x183)](B);return await this[_0x1689cb(0x16a)]([_0x498d8a]),{'threadId':_0x498d8a[_0x1689cb(0x16e)],'comments':_0x498d8a[_0x1689cb(0x175)][_0x1689cb(0x18e)](R),'context':_0x498d8a[_0x1689cb(0x1a7)],'resolvedAt':_0x498d8a[_0x1689cb(0x1bc)],'resolvedBy':_0x498d8a[_0x1689cb(0x190)],'attributes':_0x498d8a[_0x1689cb(0x168)]||{}};},'updateCommentThread':async({channelId:_0x4cf4f2,threadId:_0x124fc1,context:_0xe9f514,unlinkedAt:_0x5038b7,attributes:_0x404998})=>this[_0x1105de(0x171)](_0x4cf4f2)[_0x1105de(0x1ab)]({'commentThreadId':_0x124fc1,'context':_0xe9f514,'attributes':_0x404998,'unlinkedAt':_0x5038b7})[_0x1105de(0x183)](F)[_0x1105de(0x183)](B),'resolveCommentThread':async({channelId:_0x478b39,threadId:_0x2e12a2})=>{const _0x39b9bf=_0x1105de,_0x3113dc=await this[_0x39b9bf(0x171)](_0x478b39)[_0x39b9bf(0x17c)](_0x2e12a2)[_0x39b9bf(0x183)](F)[_0x39b9bf(0x183)](B);return{'threadId':_0x3113dc[_0x39b9bf(0x16e)],'resolvedAt':_0x3113dc[_0x39b9bf(0x1bc)],'resolvedBy':_0x3113dc[_0x39b9bf(0x190)]};},'reopenCommentThread':async({channelId:_0x158ba8,threadId:_0x51c2ef})=>this[_0x1105de(0x171)](_0x158ba8)[_0x1105de(0x1b5)](_0x51c2ef)[_0x1105de(0x183)](F)[_0x1105de(0x183)](B),'removeCommentThread':({channelId:_0x3f7066,threadId:_0x5224fc})=>this[_0x1105de(0x171)](_0x3f7066)[_0x1105de(0x1c5)](_0x5224fc)[_0x1105de(0x183)](F)[_0x1105de(0x183)](B),'addComment':({channelId:_0x26a40d,threadId:_0x70cf48,commentId:_0x31f62c,content:_0x53b230,attributes:_0xe3bb66})=>this[_0x1105de(0x171)](_0x26a40d)[_0x1105de(0x1c6)](_0x70cf48,_0x31f62c,_0x53b230,_0xe3bb66)[_0x1105de(0x183)](B),'updateComment':({channelId:_0xcda33f,threadId:_0xe8eab0,commentId:_0x3d233d,content:_0x41156f,attributes:_0x36104e})=>this[_0x1105de(0x171)](_0xcda33f)[_0x1105de(0x188)](_0xe8eab0,_0x3d233d,_0x41156f,_0x36104e)[_0x1105de(0x183)](F)[_0x1105de(0x183)](B),'removeComment':({channelId:_0xaf1131,threadId:_0x5dc119,commentId:_0x2fd646})=>this[_0x1105de(0x171)](_0xaf1131)[_0x1105de(0x170)](_0x5dc119,_0x2fd646)[_0x1105de(0x183)](F)[_0x1105de(0x183)](B)},_0x40e4dd instanceof _0x4e634f){const _0xd4e238=_0x40e4dd[_0x1105de(0x1aa)][_0x1105de(0x181)](_0x1105de(0x1cb)),_0xf24aaf=_0x40e4dd[_0x1105de(0x1c2)][_0x1105de(0x181)](_0x23f21b);await this[_0x1105de(0x1a6)](_0xd4e238);const _0x2abe65=await this[_0x1105de(0x18d)][_0x1105de(0x181)](_0xd4e238)[_0x1105de(0x1c7)]();this[_0x1105de(0x182)](_0xf24aaf,_0x1105de(0x195)+_0xd4e238,(_0x37f2f0,{session:_0x452391})=>{const _0x381bb3=_0x1105de;_0x452391['id']===_0xf24aaf[_0x381bb3(0x1a8)]&&(_0x37f2f0[_0x381bb3(0x19b)](),this[_0x381bb3(0x1a7)][_0x381bb3(0x1c2)][_0x381bb3(0x181)](_0x381bb3(0x1a2))[_0x381bb3(0x172)](_0x452391[_0x381bb3(0x16d)],_0xd4e238));}),_0xf24aaf[_0x1105de(0x17a)](_0xd4e238,_0x2abe65);}}async[_0x2b8ad5(0x1a6)](_0x1cd72b){const _0x1b7633=_0x2b8ad5;if(this[_0x1b7633(0x18d)][_0x1b7633(0x19f)](_0x1cd72b))throw new _0x1ae467(_0x1b7633(0x1ba),null,{'channelId':_0x1cd72b});const _0x459541=this[_0x1b7633(0x1a7)][_0x1b7633(0x1c2)][_0x1b7633(0x181)](_0x1b7633(0x1c8)),_0x2ba49b=new a[(_0x1b7633(0x184))](_0x1cd72b);this[_0x1b7633(0x18d)][_0x1b7633(0x178)](_0x1cd72b,_0x2ba49b),this[_0x1b7633(0x182)](_0x2ba49b,_0x1b7633(0x177),(_0x12c101,_0x564a12)=>{const _0x1ea712=_0x1b7633,{commentThreadId:_0x450160,documentId:_0x217164,context:_0x415cf7,attributes:_0xc4535a,resolvedAt:_0x1083ed,resolvedBy:_0xa34e75,comments:_0x21270f}=_0x564a12;_0x459541[_0x1ea712(0x19c)](_0x450160)||_0x459541[_0x1ea712(0x1af)]({'threadId':_0x450160,'channelId':_0x217164,'comments':_0x21270f?_0x21270f[_0x1ea712(0x18e)](R):[],'context':_0x415cf7,'attributes':_0xc4535a,'resolvedAt':_0x1083ed,'resolvedBy':_0xa34e75,'isFromAdapter':!0x0});}),this[_0x1b7633(0x182)](_0x2ba49b,_0x1b7633(0x1a3),(_0x110032,{commentThreadId:_0x556269,documentId:_0x1ea67b,context:_0xc6827d,unlinkedAt:_0xb6d836,attributes:_0x92a6a7})=>{const _0x5c75d2=_0x1b7633;_0x459541[_0x5c75d2(0x19c)](_0x556269)&&_0x459541[_0x5c75d2(0x1ab)]({'threadId':_0x556269,'channelId':_0x1ea67b,'context':_0xc6827d,'unlinkedAt':_0xb6d836,'attributes':_0x92a6a7,'isFromAdapter':!0x0});}),this[_0x1b7633(0x182)](_0x2ba49b,_0x1b7633(0x18f),(_0x2307e4,{commentThreadId:_0xcdf328,resolvedBy:_0xfd8b07,resolvedAt:_0x2d00a6})=>{const _0x1dc456=_0x1b7633,_0x58a387=_0x459541[_0x1dc456(0x19c)](_0xcdf328);_0x58a387&&_0x58a387[_0x1dc456(0x16c)]({'resolvedBy':_0xfd8b07,'resolvedAt':_0x2d00a6,'isFromAdapter':!0x0});}),this[_0x1b7633(0x182)](_0x2ba49b,_0x1b7633(0x17e),(_0x19cc4c,{commentThreadId:_0x3b8abc})=>{const _0x75b3d=_0x1b7633,_0x16f022=_0x459541[_0x75b3d(0x19c)](_0x3b8abc);_0x16f022&&_0x16f022[_0x75b3d(0x1b7)]({'isFromAdapter':!0x0});}),this[_0x1b7633(0x182)](_0x2ba49b,_0x1b7633(0x19d),(_0x2ff528,{commentThreadId:_0x58435f})=>{const _0x22f1f4=_0x1b7633,_0x2503cd=_0x459541[_0x22f1f4(0x19c)](_0x58435f);_0x2503cd&&_0x2503cd[_0x22f1f4(0x194)]({'isFromAdapter':!0x0});}),this[_0x1b7633(0x182)](_0x2ba49b,_0x1b7633(0x185),(_0x4e4a33,_0x2df411)=>{const _0x42cfe2=_0x1b7633,_0x338195=_0x2df411[_0x42cfe2(0x16e)],_0x47605d=_0x459541[_0x42cfe2(0x19c)](_0x338195);_0x47605d&&_0x47605d[_0x42cfe2(0x1c6)]({...R(_0x2df411),'isFromAdapter':!0x0});}),this[_0x1b7633(0x182)](_0x2ba49b,_0x1b7633(0x1b4),(_0x2e2cca,{commentThreadId:_0x4a8b00,commentId:_0x2f9652,content:_0x98345a,attributes:_0x4cab84})=>{const _0x5b6f01=_0x1b7633,_0x50e245=_0x459541[_0x5b6f01(0x19c)](_0x4a8b00);if(_0x50e245){const _0xe43891=_0x50e245[_0x5b6f01(0x1a4)](_0x2f9652);_0xe43891&&_0xe43891[_0x5b6f01(0x1bd)]({'content':_0x98345a,'attributes':_0x4cab84,'isFromAdapter':!0x0});}}),this[_0x1b7633(0x182)](_0x2ba49b,_0x1b7633(0x176),(_0x3f18c3,{commentThreadId:_0x26b8cd,commentId:_0x2e8572})=>{const _0x323485=_0x1b7633,_0xac0126=_0x459541[_0x323485(0x19c)](_0x26b8cd);if(_0xac0126){const _0x3fd15a=_0xac0126[_0x323485(0x1a4)](_0x2e8572);_0x3fd15a&&_0x3fd15a[_0x323485(0x194)]({'isFromAdapter':!0x0});}}),await this[_0x1b7633(0x192)](_0x1cd72b);}[_0x2b8ad5(0x17f)](){const _0x2b3ac7=_0x2b8ad5;if(this[_0x2b3ac7(0x1a7)]instanceof _0x4e634f){const _0x1f71ce=this[_0x2b3ac7(0x1a7)][_0x2b3ac7(0x1aa)][_0x2b3ac7(0x181)](_0x2b3ac7(0x1cb));this[_0x2b3ac7(0x1b1)](_0x1f71ce);}}[_0x2b8ad5(0x1b1)](_0x3d0d9d){const _0x24a930=_0x2b8ad5;if(!this[_0x24a930(0x18d)][_0x24a930(0x19f)](_0x3d0d9d))throw new _0x1ae467(_0x24a930(0x17b),null,{'channelId':_0x3d0d9d});this[_0x24a930(0x171)](_0x3d0d9d)[_0x24a930(0x1be)](),this[_0x24a930(0x18d)][_0x24a930(0x180)](_0x3d0d9d);}async[_0x2b8ad5(0x1a9)](){const _0x2dbf7f=_0x2b8ad5;for(const _0xcac38c of this[_0x2dbf7f(0x18d)][_0x2dbf7f(0x1b6)]())await this[_0x2dbf7f(0x192)](_0xcac38c);if(this[_0x2dbf7f(0x1a7)]instanceof _0x4e634f){const _0x336292=this[_0x2dbf7f(0x1a7)][_0x2dbf7f(0x1aa)][_0x2dbf7f(0x181)](_0x2dbf7f(0x1cb)),_0x16b0f7=this[_0x2dbf7f(0x1a7)][_0x2dbf7f(0x1c2)][_0x2dbf7f(0x181)](_0x23f21b);_0x16b0f7[_0x2dbf7f(0x1c4)](_0x336292);const _0x22ffb6=await this[_0x2dbf7f(0x18d)][_0x2dbf7f(0x181)](_0x336292)[_0x2dbf7f(0x1c7)]();_0x16b0f7[_0x2dbf7f(0x17a)](_0x336292,_0x22ffb6);}}async[_0x2b8ad5(0x192)](_0xe4a240){const _0xca4f3c=_0x2b8ad5,{connection:_0x5d796a}=this[_0xca4f3c(0x1a7)][_0xca4f3c(0x1c2)][_0xca4f3c(0x181)](_0x5b47c4),_0x646be2=this[_0xca4f3c(0x1a7)][_0xca4f3c(0x1c2)][_0xca4f3c(0x181)](_0xca4f3c(0x1c8)),_0x38c980=this[_0xca4f3c(0x18d)][_0xca4f3c(0x181)](_0xe4a240),_0x2299a4=await _0x38c980[_0xca4f3c(0x1a0)](_0x5d796a);await this[_0xca4f3c(0x16a)](_0x2299a4);const _0x1316d9=new Set(Array[_0xca4f3c(0x198)](_0x646be2[_0xca4f3c(0x1c1)]({'channelId':_0xe4a240}),_0x3eae3a=>_0x3eae3a['id']));for(const _0x2da9ef of _0x2299a4)_0x2da9ef[_0xca4f3c(0x16f)]||_0x1316d9[_0xca4f3c(0x180)](_0x2da9ef[_0xca4f3c(0x16e)]);for(const _0x5a9c81 of _0x1316d9)_0x646be2[_0xca4f3c(0x19c)](_0x5a9c81)[_0xca4f3c(0x194)]({'isFromAdapter':!0x0});for(const _0xde4852 of _0x2299a4){let _0x5497d2=_0x646be2[_0xca4f3c(0x19c)](_0xde4852[_0xca4f3c(0x16e)]);const {commentThreadId:_0x540548,context:_0x324b4d,attributes:_0x5b5d61,resolvedBy:_0x38a282,resolvedAt:_0x371825,unlinkedAt:_0x2d581b,deletedAt:_0x32b2ab}=_0xde4852;if(_0x32b2ab)continue;_0x5497d2||(_0x5497d2=_0x646be2[_0xca4f3c(0x1af)]({'channelId':_0xe4a240,'threadId':_0x540548,'context':_0x324b4d,'attributes':_0x5b5d61||{},'resolvedBy':_0x38a282,'resolvedAt':_0x371825,'unlinkedAt':_0x2d581b,'isFromAdapter':!0x0}));const _0x33d015=new Set(Array[_0xca4f3c(0x198)](_0x5497d2[_0xca4f3c(0x175)],_0x3916b9=>_0x3916b9['id']));for(const _0x158953 of _0xde4852[_0xca4f3c(0x175)])_0x33d015[_0xca4f3c(0x180)](_0x158953[_0xca4f3c(0x1b2)]);for(const _0x3daa71 of _0x33d015)_0x5497d2[_0xca4f3c(0x1a4)](_0x3daa71)[_0xca4f3c(0x194)]({'isFromAdapter':!0x0});for(const _0x4faa7f of _0xde4852[_0xca4f3c(0x175)]){const _0x39ea3a=_0x5497d2[_0xca4f3c(0x1a4)](_0x4faa7f[_0xca4f3c(0x1b2)]);_0x39ea3a?_0x39ea3a[_0xca4f3c(0x1b8)]!==_0x4faa7f[_0xca4f3c(0x1b8)]&&_0x39ea3a[_0xca4f3c(0x1bd)]({'content':_0x4faa7f[_0xca4f3c(0x1b8)],'isFromAdapter':!0x0}):_0x5497d2[_0xca4f3c(0x1c6)](Object[_0xca4f3c(0x16b)](R(_0x4faa7f),{'isFromAdapter':!0x0}));}}}[_0x2b8ad5(0x171)](_0x49250a){const _0x307195=_0x2b8ad5;if(!this[_0x307195(0x18d)][_0x307195(0x19f)](_0x49250a))throw new _0x1ae467(_0x307195(0x186),null,{'channelId':_0x49250a});return this[_0x307195(0x18d)][_0x307195(0x181)](_0x49250a);}async[_0x2b8ad5(0x16a)](_0x11636d){const _0x418167=_0x2b8ad5,_0x43a004=this[_0x418167(0x1a7)][_0x418167(0x1c2)][_0x418167(0x181)](_0x1382e4),{connection:_0x52976a}=this[_0x418167(0x1a7)][_0x418167(0x1c2)][_0x418167(0x181)](_0x5b47c4),_0x4a1faf=new Set();for(const {resolvedBy:_0x5def08,comments:_0x4d07af}of _0x11636d){_0x5def08&&!_0x43a004[_0x418167(0x187)](_0x5def08)&&_0x4a1faf[_0x418167(0x193)](_0x5def08);for(const {userId:_0x558d32}of _0x4d07af)_0x43a004[_0x418167(0x187)](_0x558d32)||_0x4a1faf[_0x418167(0x193)](_0x558d32);}if(0x0===_0x4a1faf[_0x418167(0x1ac)])return;const _0x23c94f=await _0x2f2d72[_0x418167(0x174)](_0x52976a,Array[_0x418167(0x198)](_0x4a1faf));for(const _0x4e2c5d of _0x23c94f)_0x43a004[_0x418167(0x187)](_0x4e2c5d['id'])||_0x43a004[_0x418167(0x1bf)](_0x4e2c5d);}}a[_0x2b8ad5(0x184)]=_0x49d7cc;export default a;async function F(_0x1373a9){const _0x1822bd=_0x2b8ad5;if(_0x1822bd(0x18b)!==_0x1373a9[_0x1822bd(0x1c9)])throw _0x1373a9;}function B(_0x3100d0){const _0x25826b=_0x2b8ad5;if((_0x3656f4=_0x3100d0)[_0x25826b(0x196)][_0x25826b(0x1c0)](_0x25826b(0x191))||_0x3656f4[_0x25826b(0x196)][_0x25826b(0x1c0)](_0x25826b(0x173))||_0x3656f4[_0x25826b(0x196)][_0x25826b(0x1c0)](_0x25826b(0x1cc)))return new Promise(()=>{});var _0x3656f4;throw _0x3100d0;}function R(_0x2dc922){const _0x601fb2=_0x2b8ad5;return{'threadId':_0x2dc922[_0x601fb2(0x16e)],'commentId':_0x2dc922[_0x601fb2(0x1b2)],'content':_0x2dc922[_0x601fb2(0x1b8)],'createdAt':_0x2dc922[_0x601fb2(0x19e)],'authorId':_0x2dc922[_0x601fb2(0x199)],'attributes':_0x2dc922[_0x601fb2(0x168)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25c77f=_0x1b8b;function _0x1b8b(_0x2cb00c,_0x2007dd){const _0x2c7996=_0x2c79();return _0x1b8b=function(_0x1b8b0f,_0xeaa33e){_0x1b8b0f=_0x1b8b0f-0x12c;let _0x7ff81=_0x2c7996[_0x1b8b0f];return _0x7ff81;},_0x1b8b(_0x2cb00c,_0x2007dd);}(function(_0x200262,_0x50ffc1){const _0x2175de=_0x1b8b,_0x37e648=_0x200262();while(!![]){try{const _0xf7d2ef=parseInt(_0x2175de(0x149))/0x1*(-parseInt(_0x2175de(0x139))/0x2)+parseInt(_0x2175de(0x148))/0x3+-parseInt(_0x2175de(0x140))/0x4+-parseInt(_0x2175de(0x14a))/0x5+-parseInt(_0x2175de(0x147))/0x6+parseInt(_0x2175de(0x136))/0x7*(parseInt(_0x2175de(0x132))/0x8)+parseInt(_0x2175de(0x13f))/0x9;if(_0xf7d2ef===_0x50ffc1)break;else _0x37e648['push'](_0x37e648['shift']());}catch(_0x1b1637){_0x37e648['push'](_0x37e648['shift']());}}}(_0x2c79,0xd49d7));import{Plugin as _0x54a450}from'ckeditor5/src/core.js';function _0x2c79(){const _0x2c865a=['listenTo','RealTimeCollaborativeComments','collaboration.channelId','1431840mQfRjL','4350558RFSFzL','39869UFrgrl','2215800ejMnDW','isThreadsLoadingPaused','_terminateService','destroy','once','ready','pluginName','change:state','424720TKpgsc','editor','plugins','Comments','203EtUlMn','connected','config','74gWednX','requires','get','CommentsEditing','switchReadOnly','CommentsRepository','968481APyzTE','278324KERqJj','data','init','_setUpService'];_0x2c79=function(){return _0x2c865a;};return _0x2c79();}import _0x11fead from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x45a757 from'./realtimecollaborativeediting.js';import _0x509f7f from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x54a450{static get[_0x25c77f(0x13a)](){const _0x14aadf=_0x25c77f;return[_0x14aadf(0x135),_0x11fead,_0x45a757,_0x509f7f];}static get[_0x25c77f(0x130)](){const _0x50cdb9=_0x25c77f;return _0x50cdb9(0x145);}[_0x25c77f(0x142)](){const _0x199991=_0x25c77f,_0x5ba93b=this[_0x199991(0x133)][_0x199991(0x134)][_0x199991(0x13b)](_0x509f7f),_0x250fed=this[_0x199991(0x133)][_0x199991(0x134)][_0x199991(0x13b)](_0x199991(0x13c)),_0x3bf68d=this[_0x199991(0x133)][_0x199991(0x134)][_0x199991(0x13b)](_0x11fead);return this[_0x199991(0x133)][_0x199991(0x141)][_0x199991(0x12e)](_0x199991(0x12f),()=>{const _0x570568=_0x199991;this[_0x570568(0x144)](_0x5ba93b,_0x570568(0x131),(_0x5ecf39,_0x4d28e2,_0x564744)=>{const _0x46f0d9=_0x570568;_0x250fed[_0x46f0d9(0x14b)]=_0x46f0d9(0x137)!==_0x564744;});}),this[_0x199991(0x144)](_0x5ba93b,_0x199991(0x131),(_0x12dde2,_0x30c9a9,_0x23d9b5)=>{const _0x2d399e=_0x199991;this[_0x2d399e(0x133)][_0x2d399e(0x134)][_0x2d399e(0x13b)](_0x2d399e(0x13e))[_0x2d399e(0x13d)](_0x2d399e(0x137)!==_0x23d9b5);}),_0x3bf68d[_0x199991(0x143)](this[_0x199991(0x133)][_0x199991(0x138)][_0x199991(0x13b)](_0x199991(0x146)));}[_0x25c77f(0x12d)](){const _0xfa59e=_0x25c77f;this[_0xfa59e(0x133)][_0xfa59e(0x134)][_0xfa59e(0x13b)](_0x11fead)[_0xfa59e(0x12c)](this[_0xfa59e(0x133)][_0xfa59e(0x138)][_0xfa59e(0x13b)](_0xfa59e(0x146))),super[_0xfa59e(0x12d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b8114=_0x4fd9;(function(_0x18cd1b,_0x38df32){const _0x30060d=_0x4fd9,_0x470ffa=_0x18cd1b();while(!![]){try{const _0x191377=parseInt(_0x30060d(0x254))/0x1*(parseInt(_0x30060d(0x264))/0x2)+parseInt(_0x30060d(0x258))/0x3*(parseInt(_0x30060d(0x2a7))/0x4)+-parseInt(_0x30060d(0x2c5))/0x5*(-parseInt(_0x30060d(0x2a5))/0x6)+-parseInt(_0x30060d(0x22b))/0x7+parseInt(_0x30060d(0x231))/0x8*(parseInt(_0x30060d(0x2a8))/0x9)+parseInt(_0x30060d(0x26e))/0xa*(-parseInt(_0x30060d(0x2bd))/0xb)+parseInt(_0x30060d(0x23c))/0xc;if(_0x191377===_0x38df32)break;else _0x470ffa['push'](_0x470ffa['shift']());}catch(_0x15496f){_0x470ffa['push'](_0x470ffa['shift']());}}}(_0x262e,0x8b12e));function _0x4fd9(_0x36ad1,_0x2d1dcc){const _0x262ed6=_0x262e();return _0x4fd9=function(_0x4fd98f,_0x421e6a){_0x4fd98f=_0x4fd98f-0x1d0;let _0x5564a5=_0x262ed6[_0x4fd98f];return _0x5564a5;},_0x4fd9(_0x36ad1,_0x2d1dcc);}import{Plugin as _0x41e29a,PendingActions as _0x4dd177}from'ckeditor5/src/core.js';import{CKEditorError as _0x3af0f6,version as _0x3e8988,uid as _0x3ae416}from'ckeditor5/src/utils.js';import{Notification as _0x22375e}from'ckeditor5/src/ui.js';import{transformSets as _0xb5178b,NoOperation as _0x2aa21a,InsertOperation as _0x164d3c,MarkerOperation as _0x446e61,RootAttributeOperation as _0x36f1c8,OperationFactory as _0x41b6c6,History as _0x5f468a}from'ckeditor5/src/engine.js';import _0x24f0e0 from'./websocketgateway.js';import _0x2e9233 from'./sessions.js';import _0x14f60c from'./usermarkers.js';import{getTranslation as _0x595380}from'../common-translations.js';import{Compressor as _0x2c9059}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5c6ed5}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x546691,CollaborativeEditingService as _0x3b3498}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x41e29a{static get[_0x1b8114(0x2ba)](){return[_0x24f0e0,_0x2e9233,_0x14f60c,_0x4dd177,_0x5c6ed5,_0x22375e];}static get[_0x1b8114(0x2a9)](){const _0x3b301b=_0x1b8114;return _0x3b301b(0x2c9);}get[_0x1b8114(0x225)](){const _0x492db9=_0x1b8114;return this[_0x492db9(0x235)]+this[_0x492db9(0x20a)];}get[_0x1b8114(0x235)](){const _0xb2d74b=_0x1b8114;return this[_0xb2d74b(0x1fb)][_0xb2d74b(0x25c)]-this[_0xb2d74b(0x20a)];}get[_0x1b8114(0x272)](){const _0x374d0d=_0x1b8114,_0x1fb05f=this[_0x374d0d(0x1fb)][_0x374d0d(0x210)]();for(let _0x38e922=_0x1fb05f[_0x374d0d(0x283)]-0x1;_0x38e922>=0x0;_0x38e922--){const _0x361f75=_0x1fb05f[_0x38e922];if(!this[_0x374d0d(0x2c8)][_0x374d0d(0x1dc)](_0x361f75))return _0x361f75[_0x374d0d(0x298)]+0x1-this[_0x374d0d(0x20a)];}return 0x0;}constructor(_0x436535){const _0x1d13cd=_0x1b8114;if(super(_0x436535),this[_0x1d13cd(0x20a)]=0x0,this[_0x1d13cd(0x2cc)]=null,this[_0x1d13cd(0x1fb)]=new _0x5f468a(),this[_0x1d13cd(0x288)][_0x1d13cd(0x1f1)][_0x1d13cd(0x1e5)](_0x1d13cd(0x2c3),{}),this[_0x1d13cd(0x1d1)]=this[_0x1d13cd(0x288)][_0x1d13cd(0x1f1)][_0x1d13cd(0x2b7)](_0x1d13cd(0x216)),!this[_0x1d13cd(0x1d1)])throw new _0x3af0f6(_0x1d13cd(0x2c2),this);const _0x3dabe9=_0x436535[_0x1d13cd(0x1f1)][_0x1d13cd(0x2b7)](_0x1d13cd(0x214))||_0x3e8988;this[_0x1d13cd(0x275)]=new l[(_0x1d13cd(0x27f))](_0x3dabe9,this[_0x1d13cd(0x1d1)]),this[_0x1d13cd(0x219)]=this[_0x1d13cd(0x288)][_0x1d13cd(0x2c7)][_0x1d13cd(0x20e)],this[_0x1d13cd(0x273)]=new _0x2c9059(),this[_0x1d13cd(0x1f6)]=[],this[_0x1d13cd(0x282)]=new WeakSet(),this[_0x1d13cd(0x20c)]=new Set(),this[_0x1d13cd(0x1e2)](_0x1d13cd(0x2d0),!0x1),this[_0x1d13cd(0x1e2)](_0x1d13cd(0x2bf),!0x1),this[_0x1d13cd(0x2c6)]=null,this[_0x1d13cd(0x25b)]=!0x1,this[_0x1d13cd(0x233)]=null,this[_0x1d13cd(0x263)]=0x12c,this[_0x1d13cd(0x2ac)]=this[_0x1d13cd(0x263)],this[_0x1d13cd(0x248)]=null,this[_0x1d13cd(0x2c8)]=new WeakSet(),this[_0x1d13cd(0x21b)]=new X(this[_0x1d13cd(0x2c8)]);}[_0x1b8114(0x1e6)](){const _0x12c820=_0x1b8114,_0x3598c2=this[_0x12c820(0x288)],_0x331063=_0x3598c2[_0x12c820(0x22d)][_0x12c820(0x2b7)](_0x5c6ed5),_0x2eca85=_0x3598c2[_0x12c820(0x22d)][_0x12c820(0x2b7)](_0x24f0e0);this[_0x12c820(0x25f)](_0x331063,_0x12c820(0x221),(_0x47084a,_0x5e5f71)=>{const _0x369ff6=_0x12c820,_0x5a04d2=_0x5e5f71[0x0];_0x5a04d2[_0x369ff6(0x271)]&&(_0x47084a[_0x369ff6(0x1ef)]=_0x331063[_0x369ff6(0x27d)](_0x5a04d2[_0x369ff6(0x271)]),_0x47084a[_0x369ff6(0x277)]()),null===_0x5a04d2[_0x369ff6(0x271)]&&(_0x47084a[_0x369ff6(0x1ef)]=null,_0x47084a[_0x369ff6(0x277)]());},{'priority':_0x12c820(0x279)}),this[_0x12c820(0x25f)](_0x3598c2[_0x12c820(0x2c7)][_0x12c820(0x20e)][_0x12c820(0x2ab)],_0x12c820(0x1d4),(_0xbb3ee2,_0xfa9d79)=>{const _0x135d58=_0x12c820;_0xfa9d79[_0x135d58(0x278)]&&this[_0x135d58(0x245)]();}),this[_0x12c820(0x25f)](_0x3598c2[_0x12c820(0x22f)][_0x12c820(0x252)],_0x12c820(0x2b6),()=>{const _0x50ae83=_0x12c820;this[_0x50ae83(0x245)]();}),this[_0x12c820(0x25a)](),_0x3598c2[_0x12c820(0x2c7)]['on'](_0x12c820(0x23e),(_0x5d620e,_0x2e21e9)=>{const _0x27ec9d=_0x12c820,_0x17fd94=_0x2e21e9[0x0];_0x17fd94[_0x27ec9d(0x257)]&&(this[_0x27ec9d(0x239)](_0x17fd94),this[_0x27ec9d(0x23a)]()&&this[_0x27ec9d(0x2d1)]());}),this[_0x12c820(0x292)](),this[_0x12c820(0x269)](_0x12c820(0x1db))['to'](_0x2eca85,_0x12c820(0x1fa),this,_0x12c820(0x2bf),(_0x33170a,_0x3e4a8c)=>_0x12c820(0x28f)===_0x33170a&&!_0x3e4a8c),this['on'](_0x12c820(0x213),()=>{const _0x39fbec=_0x12c820;this[_0x39fbec(0x1db)]?_0x3598c2[_0x39fbec(0x1fc)](_0x39fbec(0x289)):_0x3598c2[_0x39fbec(0x21a)](_0x39fbec(0x289));}),this[_0x12c820(0x1db)]?_0x3598c2[_0x12c820(0x1fc)](_0x12c820(0x289)):_0x3598c2[_0x12c820(0x21a)](_0x12c820(0x289)),this[_0x12c820(0x1e2)](_0x12c820(0x253),!0x1);}async[_0x1b8114(0x2ae)](){const _0x56b6ed=_0x1b8114,_0x29354d=this[_0x56b6ed(0x288)][_0x56b6ed(0x22d)][_0x56b6ed(0x2b7)](_0x2e9233),_0x10bb93=this[_0x56b6ed(0x288)][_0x56b6ed(0x22d)][_0x56b6ed(0x2b7)](_0x24f0e0);try{this[_0x56b6ed(0x2d0)]=!0x0,_0x29354d[_0x56b6ed(0x202)](this[_0x56b6ed(0x1d1)]);const _0x31f779=await this[_0x56b6ed(0x275)][_0x56b6ed(0x2ae)](_0x10bb93[_0x56b6ed(0x29a)],this[_0x56b6ed(0x272)]);await this[_0x56b6ed(0x256)](_0x31f779)&&(this[_0x56b6ed(0x2d0)]=!0x1,this[_0x56b6ed(0x20f)]());const _0x42da4e=await this[_0x56b6ed(0x275)][_0x56b6ed(0x24f)]();_0x29354d[_0x56b6ed(0x1e1)](this[_0x56b6ed(0x1d1)],_0x42da4e),this[_0x56b6ed(0x2cf)](),this[_0x56b6ed(0x253)]=!0x0;}catch(_0x1b084a){if(function(_0x47df33){const _0x11f394=_0x56b6ed;return _0x11f394(0x25d)===_0x47df33[_0x11f394(0x1f9)];}(_0x1b084a)&&this[_0x56b6ed(0x2cc)])await this[_0x56b6ed(0x243)]();else{if(function(_0x10eb49){const _0x56b060=_0x56b6ed;return _0x56b060(0x26a)===_0x10eb49[_0x56b060(0x1f9)];}(_0x1b084a)){const _0x51a02d=_0x595380(this[_0x56b6ed(0x288)][_0x56b6ed(0x1f4)],_0x56b6ed(0x1ee));this[_0x56b6ed(0x2af)](_0x51a02d);}else{if(!(_0x1b084a instanceof J))throw _0x1b084a;this[_0x56b6ed(0x2af)]();}}}}[_0x1b8114(0x226)](){const _0x34ca71=_0x1b8114,_0x2f15b9=this[_0x34ca71(0x288)][_0x34ca71(0x22d)][_0x34ca71(0x2b7)](_0x24f0e0),_0x583d5a=this[_0x34ca71(0x288)][_0x34ca71(0x22d)][_0x34ca71(0x2b7)](_0x2e9233);this[_0x34ca71(0x288)][_0x34ca71(0x21a)](_0x34ca71(0x281)),_0x583d5a[_0x34ca71(0x23b)][_0x34ca71(0x1dc)](this[_0x34ca71(0x1d1)])&&_0x583d5a[_0x34ca71(0x202)](this[_0x34ca71(0x1d1)]),_0x2f15b9[_0x34ca71(0x299)](this),this[_0x34ca71(0x2a4)](),super[_0x34ca71(0x226)]();}async[_0x1b8114(0x256)](_0x37ab08){const _0x265f01=_0x1b8114;if(this[_0x265f01(0x2cc)]!==_0x37ab08[_0x265f01(0x2cc)]&&this[_0x265f01(0x248)]!==_0x37ab08[_0x265f01(0x250)])throw new J();return this[_0x265f01(0x2cc)]=_0x37ab08[_0x265f01(0x2cc)],this[_0x265f01(0x24e)]([],{..._0x37ab08,'wereChangesApplied':!0x1,'data':_0x37ab08[_0x265f01(0x1f2)]},_0x265f01(0x2ae));}async[_0x1b8114(0x28a)](_0x4ac629,_0x45e4b2=!0x1){const _0xca6a09=_0x1b8114,{connection:_0xdea5e6}=this[_0xca6a09(0x288)][_0xca6a09(0x22d)][_0xca6a09(0x2b7)](_0x24f0e0);l[_0xca6a09(0x27f)][_0xca6a09(0x24f)](_0xdea5e6,this[_0xca6a09(0x1d1)])[_0xca6a09(0x246)](_0x3b015e=>this[_0xca6a09(0x1e0)](_0x3b015e))[_0xca6a09(0x26f)](_0x4ddcca=>{const _0x5f2a98=_0xca6a09;this[_0x5f2a98(0x29e)](_0x5f2a98(0x234),_0x4ddcca);}),this[_0xca6a09(0x25f)](this[_0xca6a09(0x275)],_0xca6a09(0x1fe),this[_0xca6a09(0x240)][_0xca6a09(0x269)](this)),this[_0xca6a09(0x25f)](this[_0xca6a09(0x275)],_0xca6a09(0x223),(_0x1d1888,_0x4b2130)=>{const _0x47e9d5=_0xca6a09;this[_0x47e9d5(0x29e)](_0x47e9d5(0x228),_0x4b2130);}),this[_0xca6a09(0x25f)](this[_0xca6a09(0x275)],_0xca6a09(0x241),()=>{const _0x457686=_0xca6a09;this[_0x457686(0x253)]=!0x1;});const _0x3bdb78=this[_0xca6a09(0x21b)][_0xca6a09(0x222)](_0x4ac629);this[_0xca6a09(0x2d0)]=!0x0;const _0xfcfece=await this[_0xca6a09(0x275)][_0xca6a09(0x1ed)](_0xdea5e6,this[_0xca6a09(0x2ca)](_0x4ac629),_0x3bdb78);if(this[_0xca6a09(0x2cc)]=_0xfcfece[_0xca6a09(0x2cc)],_0x45e4b2){if(!_0xfcfece[_0xca6a09(0x276)])return void this[_0xca6a09(0x2af)]();this[_0xca6a09(0x2d0)]=!0x1,this[_0xca6a09(0x20f)](),this[_0xca6a09(0x1fb)][_0xca6a09(0x26d)](),this[_0xca6a09(0x20a)]=_0xfcfece[_0xca6a09(0x21d)],this[_0xca6a09(0x1fb)][_0xca6a09(0x25c)]=this[_0xca6a09(0x20a)],await this[_0xca6a09(0x24e)](_0x4ac629,_0xfcfece,_0xca6a09(0x206));}else await this[_0xca6a09(0x290)](_0xfcfece,_0x4ac629);this[_0xca6a09(0x2cf)](),this[_0xca6a09(0x253)]=!0x0;}[_0x1b8114(0x2cf)](){const _0x1a8957=_0x1b8114,_0x18dfc2=this[_0x1a8957(0x288)][_0x1a8957(0x22d)][_0x1a8957(0x2b7)](_0x2e9233),_0x3943ff=this[_0x1a8957(0x288)][_0x1a8957(0x22d)][_0x1a8957(0x2b7)](_0x14f60c),_0x2ce0ac=_0x18dfc2[_0x1a8957(0x23b)][_0x1a8957(0x2b7)](this[_0x1a8957(0x1d1)]);_0x2ce0ac&&_0x2ce0ac[_0x1a8957(0x283)]>0x1?_0x3943ff[_0x1a8957(0x22c)]():this[_0x1a8957(0x25f)](_0x18dfc2,_0x1a8957(0x1ec)+this[_0x1a8957(0x1d1)],()=>{const _0x395249=_0x1a8957;0x2===_0x18dfc2[_0x395249(0x23b)][_0x395249(0x2b7)](this[_0x395249(0x1d1)])[_0x395249(0x283)]&&_0x3943ff[_0x395249(0x22c)]();});}async[_0x1b8114(0x240)](_0x507b62,_0x2ff120,_0x2321e8,_0x5a11a5){const _0x57e551=_0x1b8114;if(!this[_0x57e551(0x2d0)]&&this[_0x57e551(0x219)][_0x57e551(0x25c)]==_0x2ff120){const _0x49bbc9=this[_0x57e551(0x2a6)](_0x2321e8,_0x5a11a5);await this[_0x57e551(0x2d3)](_0x49bbc9),this[_0x57e551(0x23f)](_0x49bbc9,_0x2ff120,_0x2321e8[_0x57e551(0x250)])||this[_0x57e551(0x29e)](_0x57e551(0x291));}}async[_0x1b8114(0x243)](){const _0x35ac4c=_0x1b8114;this[_0x35ac4c(0x2a4)]();const {locale:_0x2ee33b}=this[_0x35ac4c(0x288)];let _0x287e77;try{_0x287e77=await this[_0x35ac4c(0x275)][_0x35ac4c(0x280)]();}catch(_0x2e97ee){const _0x389fd7=_0x595380(_0x2ee33b,_0x35ac4c(0x1d5));return void this[_0x35ac4c(0x2af)](_0x389fd7);}const _0x1c0923=_0x287e77[_0x35ac4c(0x2b4)]||_0x287e77[_0x35ac4c(0x1e3)];if(this[_0x35ac4c(0x248)]===_0x1c0923[_0x35ac4c(0x250)])await this[_0x35ac4c(0x28a)](this[_0x35ac4c(0x288)][_0x35ac4c(0x2c7)][_0x35ac4c(0x20e)][_0x35ac4c(0x2a2)][_0x35ac4c(0x210)](),!0x0);else{const _0x203d5f=_0x595380(_0x2ee33b,_0x35ac4c(0x27a));this[_0x35ac4c(0x2af)](_0x203d5f);}}[_0x1b8114(0x2a4)](){const _0x418493=_0x1b8114;this[_0x418493(0x275)][_0x418493(0x287)](),this[_0x418493(0x1f6)]=[],clearTimeout(this[_0x418493(0x233)]),this[_0x418493(0x201)](this[_0x418493(0x275)]);}[_0x1b8114(0x1e0)](_0x2eecde){const _0x5197c2=_0x1b8114,_0x26c6bd=this[_0x5197c2(0x288)][_0x5197c2(0x22d)][_0x5197c2(0x2b7)](_0x2e9233);this[_0x5197c2(0x25f)](_0x26c6bd,_0x5197c2(0x1ec)+this[_0x5197c2(0x1d1)],(_0x146b66,{session:_0x2218c2})=>{const _0x5806fe=_0x5197c2;if(_0x2218c2['id']===_0x26c6bd[_0x5806fe(0x2a1)]){_0x146b66[_0x5806fe(0x2ce)]();const _0x281bbb=this[_0x5806fe(0x288)][_0x5806fe(0x22d)][_0x5806fe(0x1dc)](_0x5806fe(0x1d0))&&this[_0x5806fe(0x288)][_0x5806fe(0x22d)][_0x5806fe(0x2b7)](_0x5806fe(0x1d0));let _0x3b07f7=_0x2218c2[_0x5806fe(0x26b)];_0x281bbb&&_0x281bbb[_0x5806fe(0x28e)]&&(_0x3b07f7=_0x3b07f7[_0x5806fe(0x1d9)](_0x3ebbe1=>_0x5806fe(0x230)!==_0x3ebbe1)),this[_0x5806fe(0x288)][_0x5806fe(0x22d)][_0x5806fe(0x2b7)](_0x5806fe(0x284))[_0x5806fe(0x2bb)](_0x3b07f7,this[_0x5806fe(0x1d1)]);}}),_0x26c6bd[_0x5197c2(0x1e1)](this[_0x5197c2(0x1d1)],_0x2eecde);}[_0x1b8114(0x25a)](){const _0x5f26e9=_0x1b8114,_0x3dd5da=this[_0x5f26e9(0x288)][_0x5f26e9(0x1f2)][_0x5f26e9(0x1e2)];this[_0x5f26e9(0x288)][_0x5f26e9(0x1f2)][_0x5f26e9(0x1e2)]=(..._0x5809e2)=>{const _0x5f4d3b=_0x5f26e9;if(!_0x5809e2[_0x5809e2[_0x5f4d3b(0x283)]-0x1][_0x5f4d3b(0x2a3)])throw new _0x3af0f6(_0x5f4d3b(0x24a),this);_0x3dd5da[_0x5f4d3b(0x205)](this[_0x5f4d3b(0x288)][_0x5f4d3b(0x1f2)],_0x5809e2);};}[_0x1b8114(0x292)](){const _0x99e095=_0x1b8114;this[_0x99e095(0x288)][_0x99e095(0x1f2)]['on'](_0x99e095(0x1e6),(_0x3dacc7,[_0x50b5f2])=>{const _0x10e275=_0x99e095;if(this[_0x10e275(0x219)][_0x10e275(0x25c)])throw new _0x3af0f6(_0x10e275(0x1ff),this);_0x3dacc7[_0x10e275(0x277)](),this[_0x10e275(0x20b)]();const _0x41b70a=this[_0x10e275(0x288)][_0x10e275(0x1f1)][_0x10e275(0x2b7)](_0x10e275(0x261)),_0x121643=this[_0x10e275(0x2b9)](_0x50b5f2,_0x41b70a);0x0==_0x121643[_0x10e275(0x283)]&&_0x121643[_0x10e275(0x220)](new _0x2aa21a(0x0)),_0x3dacc7[_0x10e275(0x1ef)]=this[_0x10e275(0x28a)](_0x121643)[_0x10e275(0x246)](()=>{const _0x524a33=_0x10e275;this[_0x524a33(0x288)][_0x524a33(0x22d)][_0x524a33(0x2b7)](_0x24f0e0)[_0x524a33(0x215)](this),this[_0x524a33(0x288)][_0x524a33(0x1f2)][_0x524a33(0x266)](_0x524a33(0x247));})[_0x10e275(0x26f)](_0x52914c=>this[_0x10e275(0x29e)](_0x10e275(0x1d2),_0x52914c))[_0x10e275(0x236)](()=>this[_0x10e275(0x20f)]());},{'priority':_0x99e095(0x279)}),this[_0x99e095(0x288)]['on'](_0x99e095(0x232),async(_0x2efb26,[_0x50744b,_0x375df0])=>{const _0x34da9b=_0x99e095;_0x2efb26[_0x34da9b(0x277)]();const _0x26a6ed=this[_0x34da9b(0x288)][_0x34da9b(0x2c7)][_0x34da9b(0x20e)][_0x34da9b(0x26c)](_0x50744b);if(!this[_0x34da9b(0x20c)][_0x34da9b(0x1dc)](_0x50744b)){const _0x30ef9b=_0x375df0&&_0x375df0[_0x34da9b(0x1f2)]?_0x375df0[_0x34da9b(0x1f2)]:'',_0x2d8a56=_0x375df0&&_0x375df0[_0x34da9b(0x294)]?_0x375df0[_0x34da9b(0x294)]:{};await this[_0x34da9b(0x1e4)](_0x50744b,_0x30ef9b,_0x2d8a56);}this[_0x34da9b(0x288)][_0x34da9b(0x2c7)][_0x34da9b(0x2c4)]({'isUndoable':!0x1},()=>{const _0x3b6ac6=_0x34da9b;_0x26a6ed[_0x3b6ac6(0x2c1)]=!0x0,this[_0x3b6ac6(0x288)][_0x3b6ac6(0x2c7)][_0x3b6ac6(0x20e)][_0x3b6ac6(0x1df)][_0x3b6ac6(0x208)](_0x26a6ed);});},{'priority':_0x99e095(0x279)});}async[_0x1b8114(0x2d3)](_0x8d5e5d){const _0x5c3846=_0x1b8114,_0x4ef120=this[_0x5c3846(0x288)][_0x5c3846(0x22d)][_0x5c3846(0x2b7)](_0x5c6ed5),{connection:_0xf1a88c}=this[_0x5c3846(0x288)][_0x5c3846(0x22d)][_0x5c3846(0x2b7)](_0x24f0e0),_0x31ca84=new Set();for(const _0x5834c1 of _0x8d5e5d){const _0x3cd74d=_0x5834c1[_0x5c3846(0x271)];_0x3cd74d&&!_0x4ef120[_0x5c3846(0x27d)](_0x3cd74d)&&_0x31ca84[_0x5c3846(0x207)](_0x3cd74d);}if(0x0===_0x31ca84[_0x5c3846(0x1fd)])return;const _0x1ab4ab=await _0x546691[_0x5c3846(0x212)](_0xf1a88c,Array[_0x5c3846(0x20d)](_0x31ca84));for(const _0xfcedca of _0x1ab4ab)_0x4ef120[_0x5c3846(0x27d)](_0xfcedca['id'])||_0x4ef120[_0x5c3846(0x24d)](_0xfcedca);}[_0x1b8114(0x2b9)](_0x3130ed,_0x345fc6={}){const _0x594f95=_0x1b8114,_0x16c4cd=this[_0x594f95(0x288)][_0x594f95(0x2c7)],_0x240401=[];let _0x338930=0x0;const _0x3c654a=_0x594f95(0x2bc)==typeof _0x3130ed?{'main':_0x3130ed}:_0x3130ed;for(const _0x4b2d80 of Object[_0x594f95(0x2cd)](_0x3c654a)){if(!this[_0x594f95(0x219)][_0x594f95(0x1f0)][_0x594f95(0x1dc)](_0x4b2d80))throw new _0x3af0f6(_0x594f95(0x1f3),this);const _0x286ece=this[_0x594f95(0x288)][_0x594f95(0x1f2)][_0x594f95(0x2b2)](_0x3c654a[_0x4b2d80]),_0x34ce5b=this[_0x594f95(0x219)][_0x594f95(0x26c)](_0x4b2d80),_0x3c74dc=new _0x164d3c(_0x16c4cd[_0x594f95(0x1dd)](_0x34ce5b,0x0),_0x286ece,_0x338930++);_0x240401[_0x594f95(0x220)](_0x3c74dc);for(const [_0x10186b,_0x5e2fae]of _0x286ece[_0x594f95(0x200)]){const _0x18b61b=_0x16c4cd[_0x594f95(0x265)](_0x16c4cd[_0x594f95(0x267)](_0x34ce5b,_0x5e2fae[_0x594f95(0x209)][_0x594f95(0x251)][_0x594f95(0x217)]()),_0x16c4cd[_0x594f95(0x267)](_0x34ce5b,_0x5e2fae[_0x594f95(0x27b)][_0x594f95(0x251)][_0x594f95(0x217)]())),_0x3158f7=new _0x446e61(_0x10186b,null,_0x18b61b,_0x16c4cd[_0x594f95(0x200)],!0x0,_0x338930++);_0x240401[_0x594f95(0x220)](_0x3158f7);}}if(_0x345fc6)for(const [_0x3bbe3c,_0x3f3623]of Object[_0x594f95(0x255)](_0x345fc6)){const _0x3889ba=_0x16c4cd[_0x594f95(0x20e)][_0x594f95(0x26c)](_0x3bbe3c);if(!_0x3889ba)throw new _0x3af0f6(_0x594f95(0x2cb),null);for(const [_0x4c8f61,_0x59c412]of Object[_0x594f95(0x255)](_0x3f3623))if(null!==_0x59c412){const _0x2ddb64=new _0x36f1c8(_0x3889ba,_0x4c8f61,null,_0x59c412,_0x338930++);_0x240401[_0x594f95(0x220)](_0x2ddb64);}}return _0x240401;}async[_0x1b8114(0x1e4)](_0x474cb5,_0x4fce56,_0x4476fa){const _0x5e55d1=_0x1b8114;this[_0x5e55d1(0x2b9)]({[_0x474cb5]:_0x4fce56},{[_0x474cb5]:_0x4476fa})[_0x5e55d1(0x29c)]((_0x2ca28c,_0x21643e)=>{const _0x1f024d=_0x5e55d1;_0x2ca28c[_0x1f024d(0x298)]=this[_0x1f024d(0x219)][_0x1f024d(0x25c)]+_0x21643e,_0x2ca28c[_0x1f024d(0x295)]=!0x0,this[_0x1f024d(0x239)](_0x2ca28c);}),this[_0x5e55d1(0x2d1)](),await this[_0x5e55d1(0x23d)]();}async[_0x1b8114(0x290)](_0x3dc8bb,_0x1d892c){const _0x707ba=_0x1b8114;let _0xc363f9;this[_0x707ba(0x20a)]=_0x3dc8bb[_0x707ba(0x21d)];const _0x28bd3f=_0x3dc8bb[_0x707ba(0x276)]&&!_0x3dc8bb[_0x707ba(0x1d3)],_0x3d4bcb=_0x28bd3f?0x0:_0x3dc8bb[_0x707ba(0x1f2)][_0x707ba(0x298)];if(_0x1d892c[_0x707ba(0x29c)](_0x530780=>{const _0x18ff6e=_0x707ba;_0x530780[_0x18ff6e(0x295)]=!0x0,_0x530780[_0x18ff6e(0x1f5)]=_0x3dc8bb[_0x18ff6e(0x204)],_0x530780[_0x18ff6e(0x271)]=null;}),_0x28bd3f)_0xc363f9=_0x1d892c,this[_0x707ba(0x21c)](_0xc363f9,_0x28bd3f);else{if(_0x3dc8bb[_0x707ba(0x1d3)]){const _0x36ff5e=this[_0x707ba(0x2b9)](_0x3dc8bb[_0x707ba(0x1d3)]);this[_0x707ba(0x219)][_0x707ba(0x2a2)][_0x707ba(0x25c)]=-_0x36ff5e[_0x707ba(0x283)],_0x36ff5e[_0x707ba(0x29c)](_0x3207f9=>{const _0x754b45=_0x707ba;_0x3207f9[_0x754b45(0x298)]-=_0x36ff5e[_0x754b45(0x283)],_0x3207f9[_0x754b45(0x1f5)]=_0x3dc8bb[_0x754b45(0x204)],_0x3207f9[_0x754b45(0x295)]=!0x0,_0x3207f9[_0x754b45(0x271)]=null;}),this[_0x707ba(0x21c)](_0x36ff5e,!0x0),this[_0x707ba(0x1fb)][_0x707ba(0x25c)]=-_0x36ff5e[_0x707ba(0x283)]+this[_0x707ba(0x20a)],this[_0x707ba(0x2be)](_0x36ff5e);}this[_0x707ba(0x219)][_0x707ba(0x2a2)][_0x707ba(0x25c)]=_0x3d4bcb,_0xc363f9=this[_0x707ba(0x2a6)](_0x3dc8bb[_0x707ba(0x1f2)],_0x3dc8bb[_0x707ba(0x1ea)]),await this[_0x707ba(0x2d3)](_0xc363f9),this[_0x707ba(0x21c)](_0xc363f9,_0x28bd3f);}_0x3dc8bb[_0x707ba(0x250)]&&(this[_0x707ba(0x21b)][_0x707ba(0x21f)](_0xc363f9,_0x3dc8bb[_0x707ba(0x250)]),this[_0x707ba(0x248)]=_0x3dc8bb[_0x707ba(0x250)]),this[_0x707ba(0x1fb)][_0x707ba(0x25c)]=_0x3d4bcb+this[_0x707ba(0x20a)],this[_0x707ba(0x2be)](_0xc363f9),_0x1d892c[_0x707ba(0x1d9)](_0x55710a=>{const _0x43b801=_0x707ba,_0x490427=this[_0x43b801(0x244)](_0x55710a);return _0x490427&&!this[_0x43b801(0x20c)][_0x43b801(0x1dc)](_0x490427);})[_0x707ba(0x29c)]((_0xecbbfd,_0x4aa122)=>{const _0x3e4c29=_0x707ba;_0xecbbfd[_0x3e4c29(0x298)]=this[_0x3e4c29(0x219)][_0x3e4c29(0x25c)]+_0x4aa122,this[_0x3e4c29(0x239)](_0xecbbfd);}),this[_0x707ba(0x23a)]()?(this[_0x707ba(0x2ac)]=0x0,this[_0x707ba(0x2d1)](!0x0),await this[_0x707ba(0x23d)]()):(this[_0x707ba(0x2d0)]=!0x1,this[_0x707ba(0x20f)]());}[_0x1b8114(0x29e)](_0x3038bf,_0x152de7){const _0x53284d=_0x1b8114;throw this[_0x53284d(0x2d0)]=!0x0,_0x152de7&&console[_0x53284d(0x223)](_0x152de7),new _0x3af0f6(_0x3038bf,this[_0x53284d(0x288)]);}[_0x1b8114(0x239)](_0x21ffc9){const _0x4e393a=_0x1b8114;this[_0x4e393a(0x282)][_0x4e393a(0x1dc)](_0x21ffc9)||(this[_0x4e393a(0x282)][_0x4e393a(0x207)](_0x21ffc9),this[_0x4e393a(0x1f6)][_0x4e393a(0x220)](_0x21ffc9),this[_0x4e393a(0x2c6)]||_0x4e393a(0x270)==_0x21ffc9[_0x4e393a(0x274)]&&!_0x21ffc9[_0x4e393a(0x29d)]||this[_0x4e393a(0x20b)]());}[_0x1b8114(0x2d1)](_0x5c0086=!0x1){const _0x691082=_0x1b8114;!_0x5c0086&&this[_0x691082(0x2d0)]||(this[_0x691082(0x2d0)]=!0x0,clearTimeout(this[_0x691082(0x233)]),this[_0x691082(0x233)]=setTimeout(()=>{const _0x57d309=_0x691082;this[_0x57d309(0x229)]()[_0x57d309(0x246)](_0x420ccc=>{const _0x2c4db5=_0x57d309;_0x420ccc&&(this[_0x2c4db5(0x20f)](),this[_0x2c4db5(0x2d0)]=!0x1);})[_0x57d309(0x26f)](_0x325c00=>{const _0x2ba039=_0x57d309;if(this[_0x2ba039(0x20f)](),this[_0x2ba039(0x2d0)]=!0x1,!function(_0x15bd96){const _0x2c7bfa=_0x2ba039;return _0x15bd96[_0x2c7bfa(0x224)][_0x2c7bfa(0x27c)](_0x2c7bfa(0x2b5))||_0x15bd96[_0x2c7bfa(0x224)][_0x2c7bfa(0x27c)](_0x2c7bfa(0x2b1))||_0x15bd96[_0x2c7bfa(0x224)][_0x2c7bfa(0x27c)](_0x2c7bfa(0x2ad));}(_0x325c00))throw _0x325c00;});},this[_0x691082(0x2ac)]));}[_0x1b8114(0x23d)](){return new Promise(_0x7661fd=>{const _0x25f28c=_0x4fd9;this['on'](_0x25f28c(0x249),()=>{_0x7661fd();});});}async[_0x1b8114(0x229)](){const _0x58c094=_0x1b8114,_0x453af5=this[_0x58c094(0x288)][_0x58c094(0x22d)][_0x58c094(0x2b7)](_0x14f60c);if(this[_0x58c094(0x285)]()&&(_0x453af5[_0x58c094(0x22c)](),this[_0x58c094(0x25b)]=!0x1),!this[_0x58c094(0x23a)]())return!0x0;const _0x3da216=[...this[_0x58c094(0x1f6)]];for(const _0x43beb7 of _0x3da216)_0x43beb7[_0x58c094(0x242)]=this[_0x58c094(0x219)][_0x58c094(0x2a2)][_0x58c094(0x1e8)](_0x43beb7);const _0x539a85=this[_0x58c094(0x21b)][_0x58c094(0x222)](_0x3da216),_0x3a6bc3=K++,_0x324eb9=this[_0x58c094(0x2ca)](_0x3da216),_0x115853=await this[_0x58c094(0x275)][_0x58c094(0x259)](_0x324eb9,_0x324eb9[_0x58c094(0x298)],_0x539a85);try{return await this[_0x58c094(0x24e)](_0x3da216,_0x115853,_0x3a6bc3);}catch(_0x33e164){return this[_0x58c094(0x29e)](_0x58c094(0x218),_0x33e164);}}async[_0x1b8114(0x24e)](_0x4c8100,_0x2992e5,_0x147307){const _0x4a3cc8=_0x1b8114;if(_0x4a3cc8(0x223)in _0x2992e5)throw _0x2992e5[_0x4a3cc8(0x223)];let _0x499f1d=!0x1;if(_0x2992e5[_0x4a3cc8(0x276)]){_0x2992e5[_0x4a3cc8(0x250)]&&(this[_0x4a3cc8(0x248)]=_0x2992e5[_0x4a3cc8(0x250)]),this[_0x4a3cc8(0x1f6)]=this[_0x4a3cc8(0x1f6)][_0x4a3cc8(0x1d9)](_0x25e0bc=>!_0x4c8100[_0x4a3cc8(0x1e7)](_0x25e0bc));for(const _0xffc10b of _0x4c8100)_0xffc10b[_0x4a3cc8(0x1f5)]=_0x4a3cc8(0x227)in _0x2992e5&&_0x2992e5[_0x4a3cc8(0x227)]||void 0x0;Q(_0x4c8100,_0x2992e5[_0x4a3cc8(0x25c)]-_0x4c8100[_0x4a3cc8(0x283)]),this[_0x4a3cc8(0x2be)](_0x4c8100);const _0x5a5b89=_0x4c8100[_0x4a3cc8(0x1d9)](_0x42a98d=>{const _0x558a91=_0x4a3cc8;if(!_0x42a98d[_0x558a91(0x295)])return!0x1;const _0x44f9fe=this[_0x558a91(0x244)](_0x42a98d);return _0x44f9fe&&!this[_0x558a91(0x20c)][_0x558a91(0x1dc)](_0x44f9fe);});Q(_0x5a5b89,this[_0x4a3cc8(0x219)][_0x4a3cc8(0x25c)]),this[_0x4a3cc8(0x21c)](_0x5a5b89),_0x499f1d=!0x0,this[_0x4a3cc8(0x2ac)]=this[_0x4a3cc8(0x263)];}else{const _0xcb244c=this[_0x4a3cc8(0x2a6)](_0x2992e5[_0x4a3cc8(0x1f2)],_0x2992e5[_0x4a3cc8(0x1ea)])[_0x4a3cc8(0x1d9)](_0x4b4125=>_0x4b4125[_0x4a3cc8(0x298)]>=this[_0x4a3cc8(0x235)]);_0xcb244c[_0x4a3cc8(0x29c)](_0x1d3499=>this[_0x4a3cc8(0x1d6)](_0x1d3499)),this[_0x4a3cc8(0x1f6)]=this[_0x4a3cc8(0x1f6)][_0x4a3cc8(0x1d9)](_0x35087f=>!_0x35087f[_0x4a3cc8(0x295)]||!this[_0x4a3cc8(0x20c)][_0x4a3cc8(0x1dc)](this[_0x4a3cc8(0x244)](_0x35087f))),this[_0x4a3cc8(0x1f6)][_0x4a3cc8(0x283)]&&Q(this[_0x4a3cc8(0x1f6)],this[_0x4a3cc8(0x1f6)][0x0][_0x4a3cc8(0x298)]),await this[_0x4a3cc8(0x2d3)](_0xcb244c),_0x499f1d=this[_0x4a3cc8(0x23f)](_0xcb244c,_0x2992e5[_0x4a3cc8(0x25c)],_0x2992e5[_0x4a3cc8(0x250)]),this[_0x4a3cc8(0x2ac)]=Math[_0x4a3cc8(0x1da)](this[_0x4a3cc8(0x2ac)]/0x2);}return _0x499f1d?!this[_0x4a3cc8(0x23a)]()||(this[_0x4a3cc8(0x2d1)](!0x0),!0x1):this[_0x4a3cc8(0x29e)](_0x4a3cc8(0x2d2));}[_0x1b8114(0x23f)](_0x116b1c,_0x224c9f,_0x3b6e38){const _0x171f91=_0x1b8114;try{const _0x5cc89a={'document':this[_0x171f91(0x219)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x271cee,operationsB:_0x487a7e,originalOperations:_0x4f0823}=_0xb5178b(_0x116b1c,this[_0x171f91(0x1f6)],_0x5cc89a);Q(_0x271cee,this[_0x171f91(0x219)][_0x171f91(0x25c)]),Q(_0x487a7e,_0x224c9f);for(const _0x442da7 of _0x271cee){const _0x17ca8b=_0x4f0823[_0x171f91(0x2b7)](_0x442da7);_0x442da7[_0x171f91(0x271)]=_0x17ca8b?_0x17ca8b[_0x171f91(0x271)]:null;}_0x3b6e38&&(this[_0x171f91(0x21b)][_0x171f91(0x21f)](_0x116b1c,_0x3b6e38),this[_0x171f91(0x248)]=_0x3b6e38),this[_0x171f91(0x1f6)]=[..._0x487a7e],this[_0x171f91(0x21c)](_0x271cee),this[_0x171f91(0x2be)](_0x116b1c);}catch(_0x1c5d42){return console[_0x171f91(0x223)](_0x1c5d42),!0x1;}return!0x0;}[_0x1b8114(0x21c)](_0x1a18fe,_0x5cab02=!0x1){const _0x5a6c9c=_0x1b8114;this[_0x5a6c9c(0x288)][_0x5a6c9c(0x2c7)][_0x5a6c9c(0x2c4)]({'isUndoable':!0x1,'isLocal':!0x1},_0x23050e=>{const _0x2da100=_0x5a6c9c;for(const _0x4c399e of _0x1a18fe)this[_0x2da100(0x282)][_0x2da100(0x207)](_0x4c399e),this[_0x2da100(0x1d6)](_0x4c399e),_0x23050e[_0x2da100(0x22a)][_0x2da100(0x29f)](_0x4c399e),this[_0x2da100(0x288)][_0x2da100(0x2c7)][_0x2da100(0x23e)](_0x4c399e);});}[_0x1b8114(0x1d6)](_0xae591e){const _0x2273a8=_0x1b8114,_0x599f00=this[_0x2273a8(0x244)](_0xae591e);_0x599f00&&this[_0x2273a8(0x20c)][_0x2273a8(0x207)](_0x599f00);}[_0x1b8114(0x244)](_0x391fc6){const _0x1978f1=_0x1b8114;let _0xe3ee3e,_0x1096d2;switch(_0x391fc6[_0x1978f1(0x274)]){case _0x1978f1(0x2aa):_0xe3ee3e=_0x391fc6[_0x1978f1(0x238)][_0x1978f1(0x203)];break;case _0x1978f1(0x270):if(_0x1096d2=_0x391fc6[_0x1978f1(0x2a0)],!_0x1096d2)return null;_0xe3ee3e=_0x1096d2[_0x1978f1(0x203)];break;case _0x1978f1(0x296):_0xe3ee3e=_0x391fc6[_0x1978f1(0x203)];break;case _0x1978f1(0x1eb):_0xe3ee3e=_0x391fc6[_0x1978f1(0x1d8)];break;case _0x1978f1(0x268):_0xe3ee3e=_0x391fc6[_0x1978f1(0x24b)][_0x1978f1(0x203)];break;default:return null;}return _0xe3ee3e[_0x1978f1(0x2c0)];}[_0x1b8114(0x2be)](_0x1afd3b){const _0xb8c987=_0x1b8114;_0x1afd3b[_0xb8c987(0x29c)](_0x306411=>{const _0x14e671=_0xb8c987,_0x46f088=_0x306411[_0x14e671(0x25e)]();_0x46f088[_0x14e671(0x271)]=_0x306411[_0x14e671(0x271)],_0x46f088[_0x14e671(0x295)]=!!_0x306411[_0x14e671(0x295)],_0x46f088[_0x14e671(0x1f5)]=_0x306411[_0x14e671(0x1f5)],_0x46f088[_0x14e671(0x298)]+=this[_0x14e671(0x20a)],_0x306411[_0x14e671(0x28d)]&&this[_0x14e671(0x2c8)][_0x14e671(0x207)](_0x46f088),this[_0x14e671(0x1fb)][_0x14e671(0x29f)](_0x46f088);});}[_0x1b8114(0x2af)](_0x1624cf){const _0x24192a=_0x1b8114,_0x138229=this[_0x24192a(0x288)][_0x24192a(0x22d)][_0x24192a(0x2b7)](_0x24192a(0x262)),_0x573f6c=this[_0x24192a(0x288)][_0x24192a(0x1f4)];_0x1624cf||(_0x1624cf=_0x595380(_0x573f6c,_0x24192a(0x21e))),_0x138229[_0x24192a(0x293)](_0x1624cf,{'title':_0x595380(_0x573f6c,_0x24192a(0x28c)),'namespace':_0x24192a(0x260)}),this[_0x24192a(0x2bf)]=!0x0,clearTimeout(this[_0x24192a(0x233)]),this[_0x24192a(0x1f6)]=[],this[_0x24192a(0x288)][_0x24192a(0x22d)][_0x24192a(0x2b7)](_0x24f0e0)[_0x24192a(0x226)]();}[_0x1b8114(0x20b)](){const _0xf72f91=_0x1b8114;this[_0xf72f91(0x2c6)]||(this[_0xf72f91(0x2c6)]=this[_0xf72f91(0x288)][_0xf72f91(0x22d)][_0xf72f91(0x2b7)](_0x4dd177)[_0xf72f91(0x207)](_0x595380(this[_0xf72f91(0x288)][_0xf72f91(0x1f4)],_0xf72f91(0x297))));}[_0x1b8114(0x20f)](){const _0x42af7a=_0x1b8114;this[_0x42af7a(0x2c6)]&&(this[_0x42af7a(0x288)][_0x42af7a(0x22d)][_0x42af7a(0x2b7)](_0x4dd177)[_0x42af7a(0x2b3)](this[_0x42af7a(0x2c6)]),this[_0x42af7a(0x2c6)]=null);}[_0x1b8114(0x2ca)](_0x5c0f81){const _0x12296c=_0x1b8114,_0x3387de=_0x5c0f81[_0x12296c(0x2b0)](_0x2406f4=>_0x2406f4[_0x12296c(0x28b)]());return this[_0x12296c(0x273)][_0x12296c(0x27e)](_0x3387de);}[_0x1b8114(0x2a6)](_0x2212ee,_0x20b154){const _0x45eaa5=_0x1b8114;return this[_0x45eaa5(0x273)][_0x45eaa5(0x1f7)](_0x2212ee)[_0x45eaa5(0x2b0)]((_0x5402,_0x2b12e5)=>{const _0x478537=_0x45eaa5,_0x5335ff=_0x478537(0x1e6)==_0x20b154[_0x2b12e5][_0x478537(0x274)];if(_0x478537(0x211)==_0x5402[_0x478537(0x24c)]){const _0x2f45e3=_0x5402[_0x478537(0x238)][_0x478537(0x203)];!this[_0x478537(0x219)][_0x478537(0x26c)](_0x2f45e3)&&(this[_0x478537(0x219)][_0x478537(0x286)](_0x478537(0x237),_0x2f45e3)[_0x478537(0x22e)]=!0x1);}const _0x5c2ddb=_0x41b6c6[_0x478537(0x29b)](_0x5402,this[_0x478537(0x219)]);return _0x5c2ddb[_0x478537(0x242)]=_0x5402[_0x478537(0x242)],_0x5c2ddb[_0x478537(0x295)]=_0x5335ff,_0x5c2ddb[_0x478537(0x271)]=_0x5335ff?null:_0x20b154[_0x2b12e5][_0x478537(0x1d7)],_0x5c2ddb[_0x478537(0x28d)]=_0x478537(0x2b8)===_0x20b154[_0x2b12e5][_0x478537(0x274)],_0x5c2ddb[_0x478537(0x1f5)]=_0x20b154[_0x2b12e5][_0x478537(0x1f5)],_0x5c2ddb;});}[_0x1b8114(0x245)](){const _0x84b4ce=_0x1b8114;this[_0x84b4ce(0x25b)]=!0x0,this[_0x84b4ce(0x285)]()?this[_0x84b4ce(0x2d1)]():this[_0x84b4ce(0x25b)]=!0x1;}[_0x1b8114(0x285)](){const _0x1db918=_0x1b8114,_0x150608=this[_0x1db918(0x288)][_0x1db918(0x22d)][_0x1db918(0x2b7)](_0x2e9233)[_0x1db918(0x23b)][_0x1db918(0x2b7)](this[_0x1db918(0x1d1)]);return!this[_0x1db918(0x288)][_0x1db918(0x1e9)]&&!!_0x150608&&_0x150608[_0x1db918(0x283)]>0x1&&this[_0x1db918(0x25b)];}[_0x1b8114(0x23a)](){const _0x4e73c7=_0x1b8114;return this[_0x4e73c7(0x1f6)][_0x4e73c7(0x283)]>0x0||this[_0x4e73c7(0x285)]();}}function _0x262e(){const _0x3f4c84=['_updateServerHistory','_hasSynchronizationProblem','rootName','_isLoaded','collaboration-missing-channelid','collaboration','enqueueChange','3140GHzLOQ','_pendingAction','model','_disconnectionOperations','RealTimeCollaborationClient','_compressOperations','multi-root-editor-root-attributes-no-root','sessionId','keys','off','_handleSendingSelectionMarkers','_isPendingUpdate','_sendBufferedOperationsDelayed','realtimecollaborationclient-handleserverresponse','_fetchMissingUsers','CommentsOnly','_channelId','realtimecollaborationclient-init-connection-failed','initData','change:range','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_addKnownRoot','userId','affectedSelectable','filter','round','_isEditingAllowed','has','createPositionAt','_operationToId','differ','_initSessionsHandling','register','set','lastDocumentSession','_loadRoot','define','init','includes','isUndoneOperation','isReadOnly','metadata','addRoot','sessionAdd:','connect','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','return','roots','config','data','realtimecollaborationclient-init-non-existent-root','locale','createdAt','_bufferedOperations','decompress','_ignoredOperations','code','state','serverHistory','disableReadOnlyMode','size','operationsReceived','realtimecollaborationclient-init-document-already-initialized','markers','stopListening','unregister','root','sessionCreatedAt','apply','reconnection:\x20flushed\x20session','add','_bufferRootLoad','start','_offset','_setPendingAction','_knownRootNames','from','document','_clearPendingAction','getOperations','InsertOperation','getMany','change:_isEditingAllowed','cloudServices.bundleVersion','addToReconnectionStack','collaboration.channelId','slice','realtimecollaborationclient-sendbufferedoperations','_document','enableReadOnlyMode','_operationIdentifier','_applyOperationsSet','offset','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.','setIdForTheLastOperation','push','getOperationAuthor','getIdOfTheLastOperation','error','message','cloudDocumentVersion','destroy','lastOperationAcceptedAt','realtimecollaborationclient-initservice-internal-error','_sendBufferedOperations','batch','7152740qcEVbw','createUserMarkerOperations','plugins','_isAttached','editing','document:write','688PNoUod','loadRoot','_sendBufferedOperationsDelayId','realtimecollaborationclient-init-session-connection-error','_lastServerVersion','finally','$root','position','_saveOperationInBuffer','_shouldSendUpdate','channelSessions','19977168yxqMtg','_waitUntilSynced','applyOperation','_handleExternalOperations','_handleReceivedOperations','disconnected','wasUndone','_connectAfterSessionHasBeenFlushed','_getAffectedRoot','_refreshUserSelectionMarkers','then','ready','_lastSyncedOperationId','change:_isPendingUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','__className','addUser','_handleServerResponse','getConnectedSessions','lastOperationId','path','view','_isConnected','1001RakliF','entries','_handleReconnectionResponse','isDocumentOperation','87342ECwyxZ','sendOperations','_initThrowingOnDataSet','_hasSelectionChanged','version','404','clone','listenTo','real-time-collaboration','rootsAttributes','Notification','_baseBufferDelay','472ZkrtCT','createRange','fire','createPositionFromPath','move','bind','409','permissions','getRoot','reset','10pyTVSJ','catch','marker','_authorId','lastSyncVersion','_compressor','type','_service','wereChangesApplied','stop','directChange','high','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.','end','startsWith','getUser','compress','CollaborativeEditingService','getDocumentDetails','rtc-destroyed','_knownOperations','length','Permissions','_shouldSendSelectionUpdate','createRoot','disconnect','editor','rtc-offline','_connectService','toJSON','Synchronization\x20issue','_isDisconnection','isEnabled','connected','_handleInitialConnectionData','realtimecollaborationclient-initservice-incorrect-server-operation','_setUpDataInit','showWarning','attributes','_isInit','addRootAttribute','PENDING_ACTION_SENDING_DATA','baseVersion','removeFromReconnectionStack','connection','fromJSON','forEach','affectsData','_crash','addOperation','newRange','mySessionId','history','suppressErrorInCollaboration','_disconnectService','48ILvZkF','_decompressOperations','28KsJEDj','39573aqIxcA','pluginName','insert','selection','_currentBufferDelay','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','_handleReconnectionError','map','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','parse','remove','currentDocumentSession','cloud-services-internal-error:\x20Not\x20connected.','change:hasDomSelection','get','cs:removeUser','_getOperationsFromInitData','requires','setPermissions','string','9861478pGCcMw'];_0x262e=function(){return _0x3f4c84;};return _0x262e();}l[_0x1b8114(0x27f)]=_0x3b3498;export default l;class J extends Error{}function Q(_0x3bdb20,_0x3ab1d2){const _0x430773=_0x1b8114;for(const _0x306e03 of _0x3bdb20)_0x306e03[_0x430773(0x298)]=_0x3ab1d2++;}class X{constructor(_0x5e72ce){const _0x206fca=_0x1b8114;this[_0x206fca(0x1f8)]=_0x5e72ce,this[_0x206fca(0x1de)]=new WeakMap();}[_0x1b8114(0x222)](_0x5769cf){const _0x43108a=_0x1b8114;let _0x131a23=_0x5769cf[_0x43108a(0x283)];for(;_0x131a23--;){const _0x274f4b=_0x5769cf[_0x131a23];if(!this[_0x43108a(0x1f8)][_0x43108a(0x1dc)](_0x274f4b)){if(!this[_0x43108a(0x1de)][_0x43108a(0x1dc)](_0x274f4b)){const _0x4ac4ef=_0x3ae416()[_0x43108a(0x217)](0x1,0x12);this[_0x43108a(0x1de)][_0x43108a(0x1e2)](_0x274f4b,_0x4ac4ef);}return this[_0x43108a(0x1de)][_0x43108a(0x2b7)](_0x274f4b);}}}[_0x1b8114(0x21f)](_0x6566bc,_0x4c58dc){const _0x539f95=_0x1b8114;if(!_0x4c58dc)return;let _0x47df1f=_0x6566bc[_0x539f95(0x283)];for(;_0x47df1f--;){const _0x37abc4=_0x6566bc[_0x47df1f];this[_0x539f95(0x1f8)][_0x539f95(0x1dc)](_0x37abc4)||this[_0x539f95(0x1de)][_0x539f95(0x1e2)](_0x37abc4,_0x4c58dc);}}}
|
|
23
|
+
function _0x2752(){const _0x2a6840=['newRange','metadata','8950390pvLENf','3246796PyThjV','ready','realtimecollaborationclient-init-session-connection-error','change:_isPendingUpdate','_applyOperationsSet','toJSON','createRange','PENDING_ACTION_SENDING_DATA','_waitUntilSynced','permissions','createUserMarkerOperations','collaboration.channelId','_isAttached','cloudDocumentVersion','offset','directChange','_shouldSendSelectionUpdate','stop','type','get','return','connection','path','forEach','_disconnectService','lastSyncVersion','entries','sessionId','has','from','_handleReconnectionError','getRoot','_decompressOperations','filter','parse','then','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','rootsAttributes','getOperations','stopListening','addRoot','apply','disconnected','reconnect','marker','mySessionId','bind','affectedSelectable','_document','lastOperationId','Permissions','2752444PZPwAE','code','3476024JqyWxh','1394994VQaKQI','_setUpDataInit','loadRoot','cs:removeUser','_getAffectedRoot','string','off','_authorId','model','map','move','disconnect','Synchronization\x20issue','state','getDocumentDetails','root','currentDocumentSession','document:write','history','$root','_handleSendingSelectionMarkers','insert','start','_lastSyncedOperationId','_handleInitialConnectionData','_isPendingUpdate','change:hasDomSelection','CommentsOnly','change:_isEditingAllowed','slice','lastOperationAcceptedAt','high','cloud-services-internal-error:\x20Request\x20timeout.','Notification','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_compressor','realtimecollaborationclient-initservice-internal-error','_isLoaded','keys','config','register','_bufferedOperations','_hasSynchronizationProblem','locale','_setPendingAction','push','userId','_addKnownRoot','connect','finally','collaboration','collaboration-missing-channelid','getUser','InsertOperation','showWarning','_pendingAction','2365160RXPAwk','attributes','_operationIdentifier','enqueueChange','_offset','round','compress','getIdOfTheLastOperation','operationsReceived','_handleReconnectionResponse','startsWith','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','applyOperation','realtimecollaborationclient-handleserverresponse','_lastServerVersion','define','realtimecollaborationclient-init-non-existent-root','connected','rtc-offline','isEnabled','markers','lastDocumentSession','_bufferRootLoad','_handleReceivedOperations','_refreshUserSelectionMarkers','requires','_operationToId','enableReadOnlyMode','isUndoneOperation','plugins','_isDisconnection','clone','_ignoredOperations','affectsData','_isInit','createPositionAt','removeFromReconnectionStack','size','realtimecollaborationclient-initservice-incorrect-server-operation','1JDIqaQ','reconnection:\x20flushed\x20session','_currentBufferDelay','editing','isReadOnly','rtc-destroyed','add','_service','_updateServerHistory','addUser','multi-root-editor-root-attributes-no-root','sessionAdd:','_crash','_isConnected','_baseBufferDelay','batch','baseVersion','getMany','data','_disconnectionOperations','_handleExternalOperations','sessionCreatedAt','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.','404','createPositionFromPath','rootName','_shouldSendUpdate','initData','__className','fromJSON','addToReconnectionStack','cloud-services-internal-error:\x20Not\x20connected.','error','isDocumentOperation','_initThrowingOnDataSet','setIdForTheLastOperation','_knownRootNames','serverHistory','realtimecollaborationclient-init-document-already-initialized','suppressErrorInCollaboration','document','createdAt','RealTimeCollaborationClient','init','_sendBufferedOperationsDelayId','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.','listenTo','_connectAfterSessionHasBeenFlushed','addOperation','9kmHghc','getOperationAuthor','_getOperationsFromInitData','position','selection','_initSessionsHandling','change:range','channelSessions','_isEditingAllowed','set','message','15PwoEvJ','_loadRoot','unregister','createRoot','409','catch','wasUndone','_sendBufferedOperations','addRootAttribute','_sendBufferedOperationsDelayed','_clearPendingAction','_connectService','view','fire','_saveOperationInBuffer','realtimecollaborationclient-init-connection-failed','differ','roots','pluginName','remove','destroy','CollaborativeEditingService','_knownOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_channelId','3940833KIXSMC','editor','cloudServices.bundleVersion','decompress','_compressOperations','realtimecollaborationclient-sendbufferedoperations','wereChangesApplied','targetPosition','end','_fetchMissingUsers','getConnectedSessions','_hasSelectionChanged','sendOperations','disableReadOnlyMode','version','includes','real-time-collaboration','reset','setPermissions','length','_handleServerResponse'];_0x2752=function(){return _0x2a6840;};return _0x2752();}const _0x1b4849=_0xfa70;(function(_0x2cb1a3,_0x5021ce){const _0x198a0a=_0xfa70,_0x668657=_0x2cb1a3();while(!![]){try{const _0x3a99d3=-parseInt(_0x198a0a(0x28d))/0x1*(parseInt(_0x198a0a(0x22b))/0x2)+parseInt(_0x198a0a(0x1e0))/0x3+parseInt(_0x198a0a(0x266))/0x4+parseInt(_0x198a0a(0x2c9))/0x5*(-parseInt(_0x198a0a(0x22e))/0x6)+-parseInt(_0x198a0a(0x1f8))/0x7+parseInt(_0x198a0a(0x22d))/0x8+parseInt(_0x198a0a(0x2be))/0x9*(parseInt(_0x198a0a(0x1f7))/0xa);if(_0x3a99d3===_0x5021ce)break;else _0x668657['push'](_0x668657['shift']());}catch(_0x584388){_0x668657['push'](_0x668657['shift']());}}}(_0x2752,0xaa240));import{Plugin as _0x13fc07,PendingActions as _0x41bb73}from'ckeditor5/src/core.js';import{CKEditorError as _0x1fa477,version as _0x1f1d93,uid as _0x4626a7}from'ckeditor5/src/utils.js';import{Notification as _0x372a93}from'ckeditor5/src/ui.js';import{transformSets as _0x293263,NoOperation as _0x2b6a1e,InsertOperation as _0x2b3859,MarkerOperation as _0x36287c,RootAttributeOperation as _0x28ff70,OperationFactory as _0x446042,History as _0xe4d3fd}from'ckeditor5/src/engine.js';import _0x300bec from'./websocketgateway.js';import _0x4ab986 from'./sessions.js';import _0x1d75ea from'./usermarkers.js';import{getTranslation as _0x53da52}from'../common-translations.js';import{Compressor as _0x2cfe5c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x270bb4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2f907c,CollaborativeEditingService as _0x57a50a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x13fc07{static get[_0x1b4849(0x27f)](){return[_0x300bec,_0x4ab986,_0x1d75ea,_0x41bb73,_0x270bb4,_0x372a93];}static get[_0x1b4849(0x1d9)](){const _0x2f6825=_0x1b4849;return _0x2f6825(0x2b7);}get[_0x1b4849(0x205)](){const _0x2d4599=_0x1b4849;return this[_0x2d4599(0x274)]+this[_0x2d4599(0x26a)];}get[_0x1b4849(0x274)](){const _0xdf1dea=_0x1b4849;return this[_0xdf1dea(0x2b2)][_0xdf1dea(0x1ee)]-this[_0xdf1dea(0x26a)];}get[_0x1b4849(0x211)](){const _0x2684b5=_0x1b4849,_0x28be35=this[_0x2684b5(0x2b2)][_0x2684b5(0x21e)]();for(let _0x207db3=_0x28be35[_0x2684b5(0x1f3)]-0x1;_0x207db3>=0x0;_0x207db3--){const _0x5e99bf=_0x28be35[_0x207db3];if(!this[_0x2684b5(0x2a0)][_0x2684b5(0x214)](_0x5e99bf))return _0x5e99bf[_0x2684b5(0x29d)]+0x1-this[_0x2684b5(0x26a)];}return 0x0;}constructor(_0x206e25){const _0x1010ef=_0x1b4849;if(super(_0x206e25),this[_0x1010ef(0x26a)]=0x0,this[_0x1010ef(0x213)]=null,this[_0x1010ef(0x2b2)]=new _0xe4d3fd(),this[_0x1010ef(0x1e1)][_0x1010ef(0x255)][_0x1010ef(0x275)](_0x1010ef(0x260),{}),this[_0x1010ef(0x1df)]=this[_0x1010ef(0x1e1)][_0x1010ef(0x255)][_0x1010ef(0x20b)](_0x1010ef(0x203)),!this[_0x1010ef(0x1df)])throw new _0x1fa477(_0x1010ef(0x261),this);const _0x253de5=_0x206e25[_0x1010ef(0x255)][_0x1010ef(0x20b)](_0x1010ef(0x1e2))||_0x1f1d93;this[_0x1010ef(0x294)]=new l[(_0x1010ef(0x1dc))](_0x253de5,this[_0x1010ef(0x1df)]),this[_0x1010ef(0x228)]=this[_0x1010ef(0x1e1)][_0x1010ef(0x236)][_0x1010ef(0x2b5)],this[_0x1010ef(0x251)]=new _0x2cfe5c(),this[_0x1010ef(0x257)]=[],this[_0x1010ef(0x1dd)]=new WeakSet(),this[_0x1010ef(0x2b1)]=new Set(),this[_0x1010ef(0x2c7)](_0x1010ef(0x247),!0x1),this[_0x1010ef(0x2c7)](_0x1010ef(0x258),!0x1),this[_0x1010ef(0x265)]=null,this[_0x1010ef(0x1eb)]=!0x1,this[_0x1010ef(0x2b9)]=null,this[_0x1010ef(0x29b)]=0x12c,this[_0x1010ef(0x28f)]=this[_0x1010ef(0x29b)],this[_0x1010ef(0x245)]=null,this[_0x1010ef(0x2a0)]=new WeakSet(),this[_0x1010ef(0x268)]=new X(this[_0x1010ef(0x2a0)]);}[_0x1b4849(0x2b8)](){const _0x3f2b40=_0x1b4849,_0x319c1d=this[_0x3f2b40(0x1e1)],_0x406c73=_0x319c1d[_0x3f2b40(0x283)][_0x3f2b40(0x20b)](_0x270bb4),_0x8ec82e=_0x319c1d[_0x3f2b40(0x283)][_0x3f2b40(0x20b)](_0x300bec);this[_0x3f2b40(0x2bb)](_0x406c73,_0x3f2b40(0x2bf),(_0x593af7,_0x17ba13)=>{const _0x7e56e8=_0x3f2b40,_0x530de2=_0x17ba13[0x0];_0x530de2[_0x7e56e8(0x235)]&&(_0x593af7[_0x7e56e8(0x20c)]=_0x406c73[_0x7e56e8(0x262)](_0x530de2[_0x7e56e8(0x235)]),_0x593af7[_0x7e56e8(0x209)]()),null===_0x530de2[_0x7e56e8(0x235)]&&(_0x593af7[_0x7e56e8(0x20c)]=null,_0x593af7[_0x7e56e8(0x209)]());},{'priority':_0x3f2b40(0x24d)}),this[_0x3f2b40(0x2bb)](_0x319c1d[_0x3f2b40(0x236)][_0x3f2b40(0x2b5)][_0x3f2b40(0x2c2)],_0x3f2b40(0x2c4),(_0x479fb3,_0x5123b0)=>{const _0xa660e8=_0x3f2b40;_0x5123b0[_0xa660e8(0x207)]&&this[_0xa660e8(0x27e)]();}),this[_0x3f2b40(0x2bb)](_0x319c1d[_0x3f2b40(0x290)][_0x3f2b40(0x2d5)],_0x3f2b40(0x248),()=>{const _0x52d20f=_0x3f2b40;this[_0x52d20f(0x27e)]();}),this[_0x3f2b40(0x2af)](),_0x319c1d[_0x3f2b40(0x236)]['on'](_0x3f2b40(0x272),(_0x3b1781,_0x2bbe04)=>{const _0x2d5bc8=_0x3f2b40,_0x52b95a=_0x2bbe04[0x0];_0x52b95a[_0x2d5bc8(0x2ae)]&&(this[_0x2d5bc8(0x2d7)](_0x52b95a),this[_0x2d5bc8(0x2a7)]()&&this[_0x2d5bc8(0x2d2)]());}),this[_0x3f2b40(0x22f)](),this[_0x3f2b40(0x226)](_0x3f2b40(0x2c6))['to'](_0x8ec82e,_0x3f2b40(0x23b),this,_0x3f2b40(0x258),(_0x44b0e7,_0x23d97c)=>_0x3f2b40(0x277)===_0x44b0e7&&!_0x23d97c),this['on'](_0x3f2b40(0x24a),()=>{const _0xfb02a0=_0x3f2b40;this[_0xfb02a0(0x2c6)]?_0x319c1d[_0xfb02a0(0x1ed)](_0xfb02a0(0x278)):_0x319c1d[_0xfb02a0(0x281)](_0xfb02a0(0x278));}),this[_0x3f2b40(0x2c6)]?_0x319c1d[_0x3f2b40(0x1ed)](_0x3f2b40(0x278)):_0x319c1d[_0x3f2b40(0x281)](_0x3f2b40(0x278)),this[_0x3f2b40(0x2c7)](_0x3f2b40(0x29a),!0x1);}async[_0x1b4849(0x223)](){const _0x3d0acd=_0x1b4849,_0x7dd436=this[_0x3d0acd(0x1e1)][_0x3d0acd(0x283)][_0x3d0acd(0x20b)](_0x4ab986),_0x1c1282=this[_0x3d0acd(0x1e1)][_0x3d0acd(0x283)][_0x3d0acd(0x20b)](_0x300bec);try{this[_0x3d0acd(0x247)]=!0x0,_0x7dd436[_0x3d0acd(0x2cb)](this[_0x3d0acd(0x1df)]);const _0x1d5564=await this[_0x3d0acd(0x294)][_0x3d0acd(0x223)](_0x1c1282[_0x3d0acd(0x20d)],this[_0x3d0acd(0x211)]);await this[_0x3d0acd(0x26f)](_0x1d5564)&&(this[_0x3d0acd(0x247)]=!0x1,this[_0x3d0acd(0x2d3)]());const _0x1f6777=await this[_0x3d0acd(0x294)][_0x3d0acd(0x1ea)]();_0x7dd436[_0x3d0acd(0x256)](this[_0x3d0acd(0x1df)],_0x1f6777),this[_0x3d0acd(0x242)](),this[_0x3d0acd(0x29a)]=!0x0;}catch(_0x2c4172){if(function(_0x24bba2){const _0x8134e2=_0x3d0acd;return _0x8134e2(0x2a4)===_0x24bba2[_0x8134e2(0x22c)];}(_0x2c4172)&&this[_0x3d0acd(0x213)])await this[_0x3d0acd(0x2bc)]();else{if(function(_0x48ed56){const _0x56f80c=_0x3d0acd;return _0x56f80c(0x2cd)===_0x48ed56[_0x56f80c(0x22c)];}(_0x2c4172)){const _0x2e4797=_0x53da52(this[_0x3d0acd(0x1e1)][_0x3d0acd(0x259)],_0x3d0acd(0x1de));this[_0x3d0acd(0x216)](_0x2e4797);}else{if(!(_0x2c4172 instanceof J))throw _0x2c4172;this[_0x3d0acd(0x216)]();}}}}[_0x1b4849(0x1db)](){const _0x4bb8cd=_0x1b4849,_0x2e45d6=this[_0x4bb8cd(0x1e1)][_0x4bb8cd(0x283)][_0x4bb8cd(0x20b)](_0x300bec),_0x4fd301=this[_0x4bb8cd(0x1e1)][_0x4bb8cd(0x283)][_0x4bb8cd(0x20b)](_0x4ab986);this[_0x4bb8cd(0x1e1)][_0x4bb8cd(0x281)](_0x4bb8cd(0x292)),_0x4fd301[_0x4bb8cd(0x2c5)][_0x4bb8cd(0x214)](this[_0x4bb8cd(0x1df)])&&_0x4fd301[_0x4bb8cd(0x2cb)](this[_0x4bb8cd(0x1df)]),_0x2e45d6[_0x4bb8cd(0x28a)](this),this[_0x4bb8cd(0x210)](),super[_0x4bb8cd(0x1db)]();}async[_0x1b4849(0x26f)](_0x304ba8){const _0x5d5d10=_0x1b4849;if(this[_0x5d5d10(0x213)]!==_0x304ba8[_0x5d5d10(0x213)]&&this[_0x5d5d10(0x245)]!==_0x304ba8[_0x5d5d10(0x229)])throw new J();return this[_0x5d5d10(0x213)]=_0x304ba8[_0x5d5d10(0x213)],this[_0x5d5d10(0x1f4)]([],{..._0x304ba8,'wereChangesApplied':!0x1,'data':_0x304ba8[_0x5d5d10(0x29f)]},_0x5d5d10(0x223));}async[_0x1b4849(0x2d4)](_0x34ca04,_0xd036f4=!0x1){const _0x4b7d03=_0x1b4849,{connection:_0x249945}=this[_0x4b7d03(0x1e1)][_0x4b7d03(0x283)][_0x4b7d03(0x20b)](_0x300bec);l[_0x4b7d03(0x1dc)][_0x4b7d03(0x1ea)](_0x249945,this[_0x4b7d03(0x1df)])[_0x4b7d03(0x21b)](_0x3cded3=>this[_0x4b7d03(0x2c3)](_0x3cded3))[_0x4b7d03(0x2ce)](_0x2fb3a2=>{const _0xd9045d=_0x4b7d03;this[_0xd9045d(0x299)](_0xd9045d(0x1fa),_0x2fb3a2);}),this[_0x4b7d03(0x2bb)](this[_0x4b7d03(0x294)],_0x4b7d03(0x26e),this[_0x4b7d03(0x27d)][_0x4b7d03(0x226)](this)),this[_0x4b7d03(0x2bb)](this[_0x4b7d03(0x294)],_0x4b7d03(0x2ad),(_0x35f8d1,_0x1bc62e)=>{const _0x3008a3=_0x4b7d03;this[_0x3008a3(0x299)](_0x3008a3(0x252),_0x1bc62e);}),this[_0x4b7d03(0x2bb)](this[_0x4b7d03(0x294)],_0x4b7d03(0x222),()=>{const _0x1e1a31=_0x4b7d03;this[_0x1e1a31(0x29a)]=!0x1;});const _0xfbeff=this[_0x4b7d03(0x268)][_0x4b7d03(0x26d)](_0x34ca04);this[_0x4b7d03(0x247)]=!0x0;const _0x154235=await this[_0x4b7d03(0x294)][_0x4b7d03(0x25e)](_0x249945,this[_0x4b7d03(0x1e4)](_0x34ca04),_0xfbeff);if(this[_0x4b7d03(0x213)]=_0x154235[_0x4b7d03(0x213)],_0xd036f4){if(!_0x154235[_0x4b7d03(0x1e6)])return void this[_0x4b7d03(0x216)]();this[_0x4b7d03(0x247)]=!0x1,this[_0x4b7d03(0x2d3)](),this[_0x4b7d03(0x2b2)][_0x4b7d03(0x1f1)](),this[_0x4b7d03(0x26a)]=_0x154235[_0x4b7d03(0x206)],this[_0x4b7d03(0x2b2)][_0x4b7d03(0x1ee)]=this[_0x4b7d03(0x26a)],await this[_0x4b7d03(0x1f4)](_0x34ca04,_0x154235,_0x4b7d03(0x28e));}else await this[_0x4b7d03(0x246)](_0x154235,_0x34ca04);this[_0x4b7d03(0x242)](),this[_0x4b7d03(0x29a)]=!0x0;}[_0x1b4849(0x242)](){const _0x181471=_0x1b4849,_0x326ff3=this[_0x181471(0x1e1)][_0x181471(0x283)][_0x181471(0x20b)](_0x4ab986),_0x486043=this[_0x181471(0x1e1)][_0x181471(0x283)][_0x181471(0x20b)](_0x1d75ea),_0x374a1a=_0x326ff3[_0x181471(0x2c5)][_0x181471(0x20b)](this[_0x181471(0x1df)]);_0x374a1a&&_0x374a1a[_0x181471(0x1f3)]>0x1?_0x486043[_0x181471(0x202)]():this[_0x181471(0x2bb)](_0x326ff3,_0x181471(0x298)+this[_0x181471(0x1df)],()=>{const _0x2f952d=_0x181471;0x2===_0x326ff3[_0x2f952d(0x2c5)][_0x2f952d(0x20b)](this[_0x2f952d(0x1df)])[_0x2f952d(0x1f3)]&&_0x486043[_0x2f952d(0x202)]();});}async[_0x1b4849(0x27d)](_0x214a4e,_0x59f57f,_0x4a5e4c,_0x448a0d){const _0x23d4e3=_0x1b4849;if(!this[_0x23d4e3(0x247)]&&this[_0x23d4e3(0x228)][_0x23d4e3(0x1ee)]==_0x59f57f){const _0x208530=this[_0x23d4e3(0x218)](_0x4a5e4c,_0x448a0d);await this[_0x23d4e3(0x1e9)](_0x208530),this[_0x23d4e3(0x2a1)](_0x208530,_0x59f57f,_0x4a5e4c[_0x23d4e3(0x229)])||this[_0x23d4e3(0x299)](_0x23d4e3(0x28c));}}async[_0x1b4849(0x2bc)](){const _0x2da426=_0x1b4849;this[_0x2da426(0x210)]();const {locale:_0x101a67}=this[_0x2da426(0x1e1)];let _0x5544c5;try{_0x5544c5=await this[_0x2da426(0x294)][_0x2da426(0x23c)]();}catch(_0x3fcda4){const _0x43b39a=_0x53da52(_0x101a67,_0x2da426(0x271));return void this[_0x2da426(0x216)](_0x43b39a);}const _0x59569a=_0x5544c5[_0x2da426(0x23e)]||_0x5544c5[_0x2da426(0x27b)];if(this[_0x2da426(0x245)]===_0x59569a[_0x2da426(0x229)])await this[_0x2da426(0x2d4)](this[_0x2da426(0x1e1)][_0x2da426(0x236)][_0x2da426(0x2b5)][_0x2da426(0x240)][_0x2da426(0x21e)](),!0x0);else{const _0x425d0d=_0x53da52(_0x101a67,_0x2da426(0x2a3));this[_0x2da426(0x216)](_0x425d0d);}}[_0x1b4849(0x210)](){const _0x11292b=_0x1b4849;this[_0x11292b(0x294)][_0x11292b(0x239)](),this[_0x11292b(0x257)]=[],clearTimeout(this[_0x11292b(0x2b9)]),this[_0x11292b(0x21f)](this[_0x11292b(0x294)]);}[_0x1b4849(0x2c3)](_0x58f590){const _0x3c29d7=_0x1b4849,_0x5331e2=this[_0x3c29d7(0x1e1)][_0x3c29d7(0x283)][_0x3c29d7(0x20b)](_0x4ab986);this[_0x3c29d7(0x2bb)](_0x5331e2,_0x3c29d7(0x298)+this[_0x3c29d7(0x1df)],(_0x14e3d5,{session:_0x421ec9})=>{const _0x356845=_0x3c29d7;if(_0x421ec9['id']===_0x5331e2[_0x356845(0x225)]){_0x14e3d5[_0x356845(0x234)]();const _0x127417=this[_0x356845(0x1e1)][_0x356845(0x283)][_0x356845(0x214)](_0x356845(0x249))&&this[_0x356845(0x1e1)][_0x356845(0x283)][_0x356845(0x20b)](_0x356845(0x249));let _0x2c2866=_0x421ec9[_0x356845(0x201)];_0x127417&&_0x127417[_0x356845(0x279)]&&(_0x2c2866=_0x2c2866[_0x356845(0x219)](_0x3d0495=>_0x356845(0x23f)!==_0x3d0495)),this[_0x356845(0x1e1)][_0x356845(0x283)][_0x356845(0x20b)](_0x356845(0x22a))[_0x356845(0x1f2)](_0x2c2866,this[_0x356845(0x1df)]);}}),_0x5331e2[_0x3c29d7(0x256)](this[_0x3c29d7(0x1df)],_0x58f590);}[_0x1b4849(0x2af)](){const _0x17365c=_0x1b4849,_0x2fed2c=this[_0x17365c(0x1e1)][_0x17365c(0x29f)][_0x17365c(0x2c7)];this[_0x17365c(0x1e1)][_0x17365c(0x29f)][_0x17365c(0x2c7)]=(..._0x25502d)=>{const _0x335fbf=_0x17365c;if(!_0x25502d[_0x25502d[_0x335fbf(0x1f3)]-0x1][_0x335fbf(0x2b4)])throw new _0x1fa477(_0x335fbf(0x21c),this);_0x2fed2c[_0x335fbf(0x221)](this[_0x335fbf(0x1e1)][_0x335fbf(0x29f)],_0x25502d);};}[_0x1b4849(0x22f)](){const _0x3a346c=_0x1b4849;this[_0x3a346c(0x1e1)][_0x3a346c(0x29f)]['on'](_0x3a346c(0x2b8),(_0x28ead9,[_0x1383a3])=>{const _0x1792e8=_0x3a346c;if(this[_0x1792e8(0x228)][_0x1792e8(0x1ee)])throw new _0x1fa477(_0x1792e8(0x2b3),this);_0x28ead9[_0x1792e8(0x209)](),this[_0x1792e8(0x25a)]();const _0x1ad745=this[_0x1792e8(0x1e1)][_0x1792e8(0x255)][_0x1792e8(0x20b)](_0x1792e8(0x21d)),_0x5e8c1d=this[_0x1792e8(0x2c0)](_0x1383a3,_0x1ad745);0x0==_0x5e8c1d[_0x1792e8(0x1f3)]&&_0x5e8c1d[_0x1792e8(0x25b)](new _0x2b6a1e(0x0)),_0x28ead9[_0x1792e8(0x20c)]=this[_0x1792e8(0x2d4)](_0x5e8c1d)[_0x1792e8(0x21b)](()=>{const _0x516491=_0x1792e8;this[_0x516491(0x1e1)][_0x516491(0x283)][_0x516491(0x20b)](_0x300bec)[_0x516491(0x2ab)](this),this[_0x516491(0x1e1)][_0x516491(0x29f)][_0x516491(0x2d6)](_0x516491(0x1f9));})[_0x1792e8(0x2ce)](_0x40b732=>this[_0x1792e8(0x299)](_0x1792e8(0x2d8),_0x40b732))[_0x1792e8(0x25f)](()=>this[_0x1792e8(0x2d3)]());},{'priority':_0x3a346c(0x24d)}),this[_0x3a346c(0x1e1)]['on'](_0x3a346c(0x230),async(_0x26fa38,[_0x27e123,_0x415f7e])=>{const _0x16e019=_0x3a346c;_0x26fa38[_0x16e019(0x209)]();const _0x580944=this[_0x16e019(0x1e1)][_0x16e019(0x236)][_0x16e019(0x2b5)][_0x16e019(0x217)](_0x27e123);if(!this[_0x16e019(0x2b1)][_0x16e019(0x214)](_0x27e123)){const _0x453a05=_0x415f7e&&_0x415f7e[_0x16e019(0x29f)]?_0x415f7e[_0x16e019(0x29f)]:'',_0x5b0e06=_0x415f7e&&_0x415f7e[_0x16e019(0x267)]?_0x415f7e[_0x16e019(0x267)]:{};await this[_0x16e019(0x2ca)](_0x27e123,_0x453a05,_0x5b0e06);}this[_0x16e019(0x1e1)][_0x16e019(0x236)][_0x16e019(0x269)]({'isUndoable':!0x1},()=>{const _0x252a6e=_0x16e019;_0x580944[_0x252a6e(0x253)]=!0x0,this[_0x252a6e(0x1e1)][_0x252a6e(0x236)][_0x252a6e(0x2b5)][_0x252a6e(0x2d9)][_0x252a6e(0x27c)](_0x580944);});},{'priority':_0x3a346c(0x24d)});}async[_0x1b4849(0x1e9)](_0x8d0053){const _0x351743=_0x1b4849,_0x58aa3c=this[_0x351743(0x1e1)][_0x351743(0x283)][_0x351743(0x20b)](_0x270bb4),{connection:_0x1d227f}=this[_0x351743(0x1e1)][_0x351743(0x283)][_0x351743(0x20b)](_0x300bec),_0x5be5fa=new Set();for(const _0xa12c20 of _0x8d0053){const _0x4295a3=_0xa12c20[_0x351743(0x235)];_0x4295a3&&!_0x58aa3c[_0x351743(0x262)](_0x4295a3)&&_0x5be5fa[_0x351743(0x293)](_0x4295a3);}if(0x0===_0x5be5fa[_0x351743(0x28b)])return;const _0x57cef7=await _0x2f907c[_0x351743(0x29e)](_0x1d227f,Array[_0x351743(0x215)](_0x5be5fa));for(const _0xf5af42 of _0x57cef7)_0x58aa3c[_0x351743(0x262)](_0xf5af42['id'])||_0x58aa3c[_0x351743(0x296)](_0xf5af42);}[_0x1b4849(0x2c0)](_0xc29ec6,_0x41190b={}){const _0x452f0b=_0x1b4849,_0xf95f04=this[_0x452f0b(0x1e1)][_0x452f0b(0x236)],_0x5a2b1d=[];let _0x21a383=0x0;const _0x5aee27=_0x452f0b(0x233)==typeof _0xc29ec6?{'main':_0xc29ec6}:_0xc29ec6;for(const _0x15df97 of Object[_0x452f0b(0x254)](_0x5aee27)){if(!this[_0x452f0b(0x228)][_0x452f0b(0x1d8)][_0x452f0b(0x214)](_0x15df97))throw new _0x1fa477(_0x452f0b(0x276),this);const _0x4c834f=this[_0x452f0b(0x1e1)][_0x452f0b(0x29f)][_0x452f0b(0x21a)](_0x5aee27[_0x15df97]),_0x9d9cd=this[_0x452f0b(0x228)][_0x452f0b(0x217)](_0x15df97),_0x11ce63=new _0x2b3859(_0xf95f04[_0x452f0b(0x289)](_0x9d9cd,0x0),_0x4c834f,_0x21a383++);_0x5a2b1d[_0x452f0b(0x25b)](_0x11ce63);for(const [_0x6eac0e,_0x4c0ba7]of _0x4c834f[_0x452f0b(0x27a)]){const _0x18dd8c=_0xf95f04[_0x452f0b(0x1fe)](_0xf95f04[_0x452f0b(0x2a5)](_0x9d9cd,_0x4c0ba7[_0x452f0b(0x244)][_0x452f0b(0x20e)][_0x452f0b(0x24b)]()),_0xf95f04[_0x452f0b(0x2a5)](_0x9d9cd,_0x4c0ba7[_0x452f0b(0x1e8)][_0x452f0b(0x20e)][_0x452f0b(0x24b)]())),_0x270afb=new _0x36287c(_0x6eac0e,null,_0x18dd8c,_0xf95f04[_0x452f0b(0x27a)],!0x0,_0x21a383++);_0x5a2b1d[_0x452f0b(0x25b)](_0x270afb);}}if(_0x41190b)for(const [_0x251fcb,_0x7204ad]of Object[_0x452f0b(0x212)](_0x41190b)){const _0x4ce394=_0xf95f04[_0x452f0b(0x2b5)][_0x452f0b(0x217)](_0x251fcb);if(!_0x4ce394)throw new _0x1fa477(_0x452f0b(0x297),null);for(const [_0x17c52a,_0x5a2071]of Object[_0x452f0b(0x212)](_0x7204ad))if(null!==_0x5a2071){const _0x42333b=new _0x28ff70(_0x4ce394,_0x17c52a,null,_0x5a2071,_0x21a383++);_0x5a2b1d[_0x452f0b(0x25b)](_0x42333b);}}return _0x5a2b1d;}async[_0x1b4849(0x2ca)](_0x5dedab,_0x37431e,_0x474dfd){const _0x29e405=_0x1b4849;this[_0x29e405(0x2c0)]({[_0x5dedab]:_0x37431e},{[_0x5dedab]:_0x474dfd})[_0x29e405(0x20f)]((_0x63e5c4,_0x3c960d)=>{const _0x121df7=_0x29e405;_0x63e5c4[_0x121df7(0x29d)]=this[_0x121df7(0x228)][_0x121df7(0x1ee)]+_0x3c960d,_0x63e5c4[_0x121df7(0x288)]=!0x0,this[_0x121df7(0x2d7)](_0x63e5c4);}),this[_0x29e405(0x2d2)](),await this[_0x29e405(0x200)]();}async[_0x1b4849(0x246)](_0x11f921,_0x1a9664){const _0x40450d=_0x1b4849;let _0x4b092b;this[_0x40450d(0x26a)]=_0x11f921[_0x40450d(0x206)];const _0x37fe29=_0x11f921[_0x40450d(0x1e6)]&&!_0x11f921[_0x40450d(0x2a8)],_0x722a90=_0x37fe29?0x0:_0x11f921[_0x40450d(0x29f)][_0x40450d(0x29d)];if(_0x1a9664[_0x40450d(0x20f)](_0x43dd09=>{const _0x412dd8=_0x40450d;_0x43dd09[_0x412dd8(0x288)]=!0x0,_0x43dd09[_0x412dd8(0x2b6)]=_0x11f921[_0x412dd8(0x2a2)],_0x43dd09[_0x412dd8(0x235)]=null;}),_0x37fe29)_0x4b092b=_0x1a9664,this[_0x40450d(0x1fc)](_0x4b092b,_0x37fe29);else{if(_0x11f921[_0x40450d(0x2a8)]){const _0x2345bd=this[_0x40450d(0x2c0)](_0x11f921[_0x40450d(0x2a8)]);this[_0x40450d(0x228)][_0x40450d(0x240)][_0x40450d(0x1ee)]=-_0x2345bd[_0x40450d(0x1f3)],_0x2345bd[_0x40450d(0x20f)](_0x3ec27a=>{const _0x2f2d9a=_0x40450d;_0x3ec27a[_0x2f2d9a(0x29d)]-=_0x2345bd[_0x2f2d9a(0x1f3)],_0x3ec27a[_0x2f2d9a(0x2b6)]=_0x11f921[_0x2f2d9a(0x2a2)],_0x3ec27a[_0x2f2d9a(0x288)]=!0x0,_0x3ec27a[_0x2f2d9a(0x235)]=null;}),this[_0x40450d(0x1fc)](_0x2345bd,!0x0),this[_0x40450d(0x2b2)][_0x40450d(0x1ee)]=-_0x2345bd[_0x40450d(0x1f3)]+this[_0x40450d(0x26a)],this[_0x40450d(0x295)](_0x2345bd);}this[_0x40450d(0x228)][_0x40450d(0x240)][_0x40450d(0x1ee)]=_0x722a90,_0x4b092b=this[_0x40450d(0x218)](_0x11f921[_0x40450d(0x29f)],_0x11f921[_0x40450d(0x1f6)]),await this[_0x40450d(0x1e9)](_0x4b092b),this[_0x40450d(0x1fc)](_0x4b092b,_0x37fe29);}_0x11f921[_0x40450d(0x229)]&&(this[_0x40450d(0x268)][_0x40450d(0x2b0)](_0x4b092b,_0x11f921[_0x40450d(0x229)]),this[_0x40450d(0x245)]=_0x11f921[_0x40450d(0x229)]),this[_0x40450d(0x2b2)][_0x40450d(0x1ee)]=_0x722a90+this[_0x40450d(0x26a)],this[_0x40450d(0x295)](_0x4b092b),_0x1a9664[_0x40450d(0x219)](_0x331d1c=>{const _0x4ffc73=_0x40450d,_0x376e1a=this[_0x4ffc73(0x232)](_0x331d1c);return _0x376e1a&&!this[_0x4ffc73(0x2b1)][_0x4ffc73(0x214)](_0x376e1a);})[_0x40450d(0x20f)]((_0x384997,_0x112fe9)=>{const _0x1679ac=_0x40450d;_0x384997[_0x1679ac(0x29d)]=this[_0x1679ac(0x228)][_0x1679ac(0x1ee)]+_0x112fe9,this[_0x1679ac(0x2d7)](_0x384997);}),this[_0x40450d(0x2a7)]()?(this[_0x40450d(0x28f)]=0x0,this[_0x40450d(0x2d2)](!0x0),await this[_0x40450d(0x200)]()):(this[_0x40450d(0x247)]=!0x1,this[_0x40450d(0x2d3)]());}[_0x1b4849(0x299)](_0x197c1d,_0x1422b8){const _0x22c248=_0x1b4849;throw this[_0x22c248(0x247)]=!0x0,_0x1422b8&&console[_0x22c248(0x2ad)](_0x1422b8),new _0x1fa477(_0x197c1d,this[_0x22c248(0x1e1)]);}[_0x1b4849(0x2d7)](_0x213554){const _0x9daf5b=_0x1b4849;this[_0x9daf5b(0x1dd)][_0x9daf5b(0x214)](_0x213554)||(this[_0x9daf5b(0x1dd)][_0x9daf5b(0x293)](_0x213554),this[_0x9daf5b(0x257)][_0x9daf5b(0x25b)](_0x213554),this[_0x9daf5b(0x265)]||_0x9daf5b(0x224)==_0x213554[_0x9daf5b(0x20a)]&&!_0x213554[_0x9daf5b(0x287)]||this[_0x9daf5b(0x25a)]());}[_0x1b4849(0x2d2)](_0x564485=!0x1){const _0x22bc15=_0x1b4849;!_0x564485&&this[_0x22bc15(0x247)]||(this[_0x22bc15(0x247)]=!0x0,clearTimeout(this[_0x22bc15(0x2b9)]),this[_0x22bc15(0x2b9)]=setTimeout(()=>{const _0x3cc355=_0x22bc15;this[_0x3cc355(0x2d0)]()[_0x3cc355(0x21b)](_0x48570a=>{const _0x1e9e30=_0x3cc355;_0x48570a&&(this[_0x1e9e30(0x2d3)](),this[_0x1e9e30(0x247)]=!0x1);})[_0x3cc355(0x2ce)](_0x45d545=>{const _0x29b4a2=_0x3cc355;if(this[_0x29b4a2(0x2d3)](),this[_0x29b4a2(0x247)]=!0x1,!function(_0xa8bb73){const _0x163d92=_0x29b4a2;return _0xa8bb73[_0x163d92(0x2c8)][_0x163d92(0x270)](_0x163d92(0x2ac))||_0xa8bb73[_0x163d92(0x2c8)][_0x163d92(0x270)](_0x163d92(0x250))||_0xa8bb73[_0x163d92(0x2c8)][_0x163d92(0x270)](_0x163d92(0x24e));}(_0x45d545))throw _0x45d545;});},this[_0x22bc15(0x28f)]));}[_0x1b4849(0x200)](){return new Promise(_0x44e0e7=>{const _0x48461d=_0xfa70;this['on'](_0x48461d(0x1fb),()=>{_0x44e0e7();});});}async[_0x1b4849(0x2d0)](){const _0x4656d7=_0x1b4849,_0x24f938=this[_0x4656d7(0x1e1)][_0x4656d7(0x283)][_0x4656d7(0x20b)](_0x1d75ea);if(this[_0x4656d7(0x208)]()&&(_0x24f938[_0x4656d7(0x202)](),this[_0x4656d7(0x1eb)]=!0x1),!this[_0x4656d7(0x2a7)]())return!0x0;const _0x1fc008=[...this[_0x4656d7(0x257)]];for(const _0x840a2a of _0x1fc008)_0x840a2a[_0x4656d7(0x2cf)]=this[_0x4656d7(0x228)][_0x4656d7(0x240)][_0x4656d7(0x282)](_0x840a2a);const _0x7f4cec=this[_0x4656d7(0x268)][_0x4656d7(0x26d)](_0x1fc008),_0x540b57=K++,_0x46a06a=this[_0x4656d7(0x1e4)](_0x1fc008),_0x1d6dc2=await this[_0x4656d7(0x294)][_0x4656d7(0x1ec)](_0x46a06a,_0x46a06a[_0x4656d7(0x29d)],_0x7f4cec);try{return await this[_0x4656d7(0x1f4)](_0x1fc008,_0x1d6dc2,_0x540b57);}catch(_0x32b669){return this[_0x4656d7(0x299)](_0x4656d7(0x1e5),_0x32b669);}}async[_0x1b4849(0x1f4)](_0x42817d,_0x4e7288,_0x55c88b){const _0x1d9ba7=_0x1b4849;if(_0x1d9ba7(0x2ad)in _0x4e7288)throw _0x4e7288[_0x1d9ba7(0x2ad)];let _0x2a48ce=!0x1;if(_0x4e7288[_0x1d9ba7(0x1e6)]){_0x4e7288[_0x1d9ba7(0x229)]&&(this[_0x1d9ba7(0x245)]=_0x4e7288[_0x1d9ba7(0x229)]),this[_0x1d9ba7(0x257)]=this[_0x1d9ba7(0x257)][_0x1d9ba7(0x219)](_0x958842=>!_0x42817d[_0x1d9ba7(0x1ef)](_0x958842));for(const _0x28c4af of _0x42817d)_0x28c4af[_0x1d9ba7(0x2b6)]=_0x1d9ba7(0x24c)in _0x4e7288&&_0x4e7288[_0x1d9ba7(0x24c)]||void 0x0;Q(_0x42817d,_0x4e7288[_0x1d9ba7(0x1ee)]-_0x42817d[_0x1d9ba7(0x1f3)]),this[_0x1d9ba7(0x295)](_0x42817d);const _0x5c95b7=_0x42817d[_0x1d9ba7(0x219)](_0x1732eb=>{const _0x15b7ad=_0x1d9ba7;if(!_0x1732eb[_0x15b7ad(0x288)])return!0x1;const _0x10c9f7=this[_0x15b7ad(0x232)](_0x1732eb);return _0x10c9f7&&!this[_0x15b7ad(0x2b1)][_0x15b7ad(0x214)](_0x10c9f7);});Q(_0x5c95b7,this[_0x1d9ba7(0x228)][_0x1d9ba7(0x1ee)]),this[_0x1d9ba7(0x1fc)](_0x5c95b7),_0x2a48ce=!0x0,this[_0x1d9ba7(0x28f)]=this[_0x1d9ba7(0x29b)];}else{const _0x4807fb=this[_0x1d9ba7(0x218)](_0x4e7288[_0x1d9ba7(0x29f)],_0x4e7288[_0x1d9ba7(0x1f6)])[_0x1d9ba7(0x219)](_0x2b8c5f=>_0x2b8c5f[_0x1d9ba7(0x29d)]>=this[_0x1d9ba7(0x274)]);_0x4807fb[_0x1d9ba7(0x20f)](_0x152a5d=>this[_0x1d9ba7(0x25d)](_0x152a5d)),this[_0x1d9ba7(0x257)]=this[_0x1d9ba7(0x257)][_0x1d9ba7(0x219)](_0x3dfb91=>!_0x3dfb91[_0x1d9ba7(0x288)]||!this[_0x1d9ba7(0x2b1)][_0x1d9ba7(0x214)](this[_0x1d9ba7(0x232)](_0x3dfb91))),this[_0x1d9ba7(0x257)][_0x1d9ba7(0x1f3)]&&Q(this[_0x1d9ba7(0x257)],this[_0x1d9ba7(0x257)][0x0][_0x1d9ba7(0x29d)]),await this[_0x1d9ba7(0x1e9)](_0x4807fb),_0x2a48ce=this[_0x1d9ba7(0x2a1)](_0x4807fb,_0x4e7288[_0x1d9ba7(0x1ee)],_0x4e7288[_0x1d9ba7(0x229)]),this[_0x1d9ba7(0x28f)]=Math[_0x1d9ba7(0x26b)](this[_0x1d9ba7(0x28f)]/0x2);}return _0x2a48ce?!this[_0x1d9ba7(0x2a7)]()||(this[_0x1d9ba7(0x2d2)](!0x0),!0x1):this[_0x1d9ba7(0x299)](_0x1d9ba7(0x273));}[_0x1b4849(0x2a1)](_0x5061cd,_0x306cce,_0x5774b5){const _0x1a6192=_0x1b4849;try{const _0x584c28={'document':this[_0x1a6192(0x228)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x678bb7,operationsB:_0x15d528,originalOperations:_0xc4da0b}=_0x293263(_0x5061cd,this[_0x1a6192(0x257)],_0x584c28);Q(_0x678bb7,this[_0x1a6192(0x228)][_0x1a6192(0x1ee)]),Q(_0x15d528,_0x306cce);for(const _0x720252 of _0x678bb7){const _0x2cbb3f=_0xc4da0b[_0x1a6192(0x20b)](_0x720252);_0x720252[_0x1a6192(0x235)]=_0x2cbb3f?_0x2cbb3f[_0x1a6192(0x235)]:null;}_0x5774b5&&(this[_0x1a6192(0x268)][_0x1a6192(0x2b0)](_0x5061cd,_0x5774b5),this[_0x1a6192(0x245)]=_0x5774b5),this[_0x1a6192(0x257)]=[..._0x15d528],this[_0x1a6192(0x1fc)](_0x678bb7),this[_0x1a6192(0x295)](_0x5061cd);}catch(_0x38f7cb){return console[_0x1a6192(0x2ad)](_0x38f7cb),!0x1;}return!0x0;}[_0x1b4849(0x1fc)](_0x188dd7,_0x141ec9=!0x1){const _0x57af1c=_0x1b4849;this[_0x57af1c(0x1e1)][_0x57af1c(0x236)][_0x57af1c(0x269)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2bee09=>{const _0x4c25d4=_0x57af1c;for(const _0x2d3f1d of _0x188dd7)this[_0x4c25d4(0x1dd)][_0x4c25d4(0x293)](_0x2d3f1d),this[_0x4c25d4(0x25d)](_0x2d3f1d),_0x2bee09[_0x4c25d4(0x29c)][_0x4c25d4(0x2bd)](_0x2d3f1d),this[_0x4c25d4(0x1e1)][_0x4c25d4(0x236)][_0x4c25d4(0x272)](_0x2d3f1d);});}[_0x1b4849(0x25d)](_0x11527e){const _0x5c549b=_0x1b4849,_0x2ed4e4=this[_0x5c549b(0x232)](_0x11527e);_0x2ed4e4&&this[_0x5c549b(0x2b1)][_0x5c549b(0x293)](_0x2ed4e4);}[_0x1b4849(0x232)](_0x14de56){const _0x1a5b8a=_0x1b4849;let _0x5bcd44,_0x1688e2;switch(_0x14de56[_0x1a5b8a(0x20a)]){case _0x1a5b8a(0x243):_0x5bcd44=_0x14de56[_0x1a5b8a(0x2c1)][_0x1a5b8a(0x23d)];break;case _0x1a5b8a(0x224):if(_0x1688e2=_0x14de56[_0x1a5b8a(0x1f5)],!_0x1688e2)return null;_0x5bcd44=_0x1688e2[_0x1a5b8a(0x23d)];break;case _0x1a5b8a(0x2d1):_0x5bcd44=_0x14de56[_0x1a5b8a(0x23d)];break;case _0x1a5b8a(0x220):_0x5bcd44=_0x14de56[_0x1a5b8a(0x227)];break;case _0x1a5b8a(0x238):_0x5bcd44=_0x14de56[_0x1a5b8a(0x1e7)][_0x1a5b8a(0x23d)];break;default:return null;}return _0x5bcd44[_0x1a5b8a(0x2a6)];}[_0x1b4849(0x295)](_0x48807f){const _0x44e9ff=_0x1b4849;_0x48807f[_0x44e9ff(0x20f)](_0x2b7704=>{const _0x405103=_0x44e9ff,_0xcc4d00=_0x2b7704[_0x405103(0x285)]();_0xcc4d00[_0x405103(0x235)]=_0x2b7704[_0x405103(0x235)],_0xcc4d00[_0x405103(0x288)]=!!_0x2b7704[_0x405103(0x288)],_0xcc4d00[_0x405103(0x2b6)]=_0x2b7704[_0x405103(0x2b6)],_0xcc4d00[_0x405103(0x29d)]+=this[_0x405103(0x26a)],_0x2b7704[_0x405103(0x284)]&&this[_0x405103(0x2a0)][_0x405103(0x293)](_0xcc4d00),this[_0x405103(0x2b2)][_0x405103(0x2bd)](_0xcc4d00);});}[_0x1b4849(0x216)](_0x23dc01){const _0x4ee86c=_0x1b4849,_0x46a95d=this[_0x4ee86c(0x1e1)][_0x4ee86c(0x283)][_0x4ee86c(0x20b)](_0x4ee86c(0x24f)),_0x31130b=this[_0x4ee86c(0x1e1)][_0x4ee86c(0x259)];_0x23dc01||(_0x23dc01=_0x53da52(_0x31130b,_0x4ee86c(0x2ba))),_0x46a95d[_0x4ee86c(0x264)](_0x23dc01,{'title':_0x53da52(_0x31130b,_0x4ee86c(0x23a)),'namespace':_0x4ee86c(0x1f0)}),this[_0x4ee86c(0x258)]=!0x0,clearTimeout(this[_0x4ee86c(0x2b9)]),this[_0x4ee86c(0x257)]=[],this[_0x4ee86c(0x1e1)][_0x4ee86c(0x283)][_0x4ee86c(0x20b)](_0x300bec)[_0x4ee86c(0x1db)]();}[_0x1b4849(0x25a)](){const _0x2044ff=_0x1b4849;this[_0x2044ff(0x265)]||(this[_0x2044ff(0x265)]=this[_0x2044ff(0x1e1)][_0x2044ff(0x283)][_0x2044ff(0x20b)](_0x41bb73)[_0x2044ff(0x293)](_0x53da52(this[_0x2044ff(0x1e1)][_0x2044ff(0x259)],_0x2044ff(0x1ff))));}[_0x1b4849(0x2d3)](){const _0x1492c5=_0x1b4849;this[_0x1492c5(0x265)]&&(this[_0x1492c5(0x1e1)][_0x1492c5(0x283)][_0x1492c5(0x20b)](_0x41bb73)[_0x1492c5(0x1da)](this[_0x1492c5(0x265)]),this[_0x1492c5(0x265)]=null);}[_0x1b4849(0x1e4)](_0x5579de){const _0x2b584e=_0x1b4849,_0x18cc22=_0x5579de[_0x2b584e(0x237)](_0x2b9946=>_0x2b9946[_0x2b584e(0x1fd)]());return this[_0x2b584e(0x251)][_0x2b584e(0x26c)](_0x18cc22);}[_0x1b4849(0x218)](_0x1c4363,_0x458442){const _0x19dffb=_0x1b4849;return this[_0x19dffb(0x251)][_0x19dffb(0x1e3)](_0x1c4363)[_0x19dffb(0x237)]((_0x131892,_0x348b04)=>{const _0x448d25=_0x19dffb,_0x1d5a3a=_0x448d25(0x2b8)==_0x458442[_0x348b04][_0x448d25(0x20a)];if(_0x448d25(0x263)==_0x131892[_0x448d25(0x2a9)]){const _0x506b57=_0x131892[_0x448d25(0x2c1)][_0x448d25(0x23d)];!this[_0x448d25(0x228)][_0x448d25(0x217)](_0x506b57)&&(this[_0x448d25(0x228)][_0x448d25(0x2cc)](_0x448d25(0x241),_0x506b57)[_0x448d25(0x204)]=!0x1);}const _0x4d8f4e=_0x446042[_0x448d25(0x2aa)](_0x131892,this[_0x448d25(0x228)]);return _0x4d8f4e[_0x448d25(0x2cf)]=_0x131892[_0x448d25(0x2cf)],_0x4d8f4e[_0x448d25(0x288)]=_0x1d5a3a,_0x4d8f4e[_0x448d25(0x235)]=_0x1d5a3a?null:_0x458442[_0x348b04][_0x448d25(0x25c)],_0x4d8f4e[_0x448d25(0x284)]=_0x448d25(0x231)===_0x458442[_0x348b04][_0x448d25(0x20a)],_0x4d8f4e[_0x448d25(0x2b6)]=_0x458442[_0x348b04][_0x448d25(0x2b6)],_0x4d8f4e;});}[_0x1b4849(0x27e)](){const _0x136372=_0x1b4849;this[_0x136372(0x1eb)]=!0x0,this[_0x136372(0x208)]()?this[_0x136372(0x2d2)]():this[_0x136372(0x1eb)]=!0x1;}[_0x1b4849(0x208)](){const _0x559fbc=_0x1b4849,_0x29aa7e=this[_0x559fbc(0x1e1)][_0x559fbc(0x283)][_0x559fbc(0x20b)](_0x4ab986)[_0x559fbc(0x2c5)][_0x559fbc(0x20b)](this[_0x559fbc(0x1df)]);return!this[_0x559fbc(0x1e1)][_0x559fbc(0x291)]&&!!_0x29aa7e&&_0x29aa7e[_0x559fbc(0x1f3)]>0x1&&this[_0x559fbc(0x1eb)];}[_0x1b4849(0x2a7)](){const _0x3d7f76=_0x1b4849;return this[_0x3d7f76(0x257)][_0x3d7f76(0x1f3)]>0x0||this[_0x3d7f76(0x208)]();}}l[_0x1b4849(0x1dc)]=_0x57a50a;function _0xfa70(_0x1dfad8,_0xd9905d){const _0x2752a0=_0x2752();return _0xfa70=function(_0xfa7020,_0x49a36b){_0xfa7020=_0xfa7020-0x1d8;let _0x46f537=_0x2752a0[_0xfa7020];return _0x46f537;},_0xfa70(_0x1dfad8,_0xd9905d);}export default l;class J extends Error{}function Q(_0x2d4dde,_0x495391){const _0x4645b0=_0x1b4849;for(const _0x4fc519 of _0x2d4dde)_0x4fc519[_0x4645b0(0x29d)]=_0x495391++;}class X{constructor(_0x3f80af){const _0x26dfac=_0x1b4849;this[_0x26dfac(0x286)]=_0x3f80af,this[_0x26dfac(0x280)]=new WeakMap();}[_0x1b4849(0x26d)](_0xcc0d03){const _0x3054d6=_0x1b4849;let _0x5b7a99=_0xcc0d03[_0x3054d6(0x1f3)];for(;_0x5b7a99--;){const _0x3c984b=_0xcc0d03[_0x5b7a99];if(!this[_0x3054d6(0x286)][_0x3054d6(0x214)](_0x3c984b)){if(!this[_0x3054d6(0x280)][_0x3054d6(0x214)](_0x3c984b)){const _0x19a26b=_0x4626a7()[_0x3054d6(0x24b)](0x1,0x12);this[_0x3054d6(0x280)][_0x3054d6(0x2c7)](_0x3c984b,_0x19a26b);}return this[_0x3054d6(0x280)][_0x3054d6(0x20b)](_0x3c984b);}}}[_0x1b4849(0x2b0)](_0x28b48d,_0x5a2310){const _0x4748c8=_0x1b4849;if(!_0x5a2310)return;let _0x41f84e=_0x28b48d[_0x4748c8(0x1f3)];for(;_0x41f84e--;){const _0x562225=_0x28b48d[_0x41f84e];this[_0x4748c8(0x286)][_0x4748c8(0x214)](_0x562225)||this[_0x4748c8(0x280)][_0x4748c8(0x2c7)](_0x562225,_0x5a2310);}}}
|