@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.6 → 47.2.0-alpha.7
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/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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/bs.js +1 -1
- package/dist/translations/bs.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/ti.js +1 -1
- package/dist/translations/ti.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/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.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 +14 -14
- 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 +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd59cf5=_0x5e9b;(function(_0x3ca565,_0x13d4f4){const _0x9156a=_0x5e9b,_0x51d890=_0x3ca565();while(!![]){try{const _0x3098f8=parseInt(_0x9156a(0xc3))/0x1+-parseInt(_0x9156a(0xb5))/0x2+-parseInt(_0x9156a(0xb4))/0x3+parseInt(_0x9156a(0xcf))/0x4*(parseInt(_0x9156a(0xba))/0x5)+parseInt(_0x9156a(0xb8))/0x6+-parseInt(_0x9156a(0xc8))/0x7+parseInt(_0x9156a(0xbe))/0x8;if(_0x3098f8===_0x13d4f4)break;else _0x51d890['push'](_0x51d890['shift']());}catch(_0x21cc36){_0x51d890['push'](_0x51d890['shift']());}}}(_0x11ed,0x7f526));import{View as _0x24db32}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1fadb4}from'ckeditor5/src/utils.js';import{getTranslation as _0x5db9ed}from'../../common-translations.js';function _0x5e9b(_0x1327a5,_0x331781){const _0x11ed90=_0x11ed();return _0x5e9b=function(_0x5e9b92,_0x1ff816){_0x5e9b92=_0x5e9b92-0xab;let _0x3da936=_0x11ed90[_0x5e9b92];return _0x3da936;},_0x5e9b(_0x1327a5,_0x331781);}export class PresenceInlineListView extends _0x24db32{[_0xd59cf5(0xb2)];[_0xd59cf5(0xb9)];constructor(_0x570f60){const _0x41d82e=_0xd59cf5;super(_0x570f60);const _0x118f6c=this[_0x41d82e(0xbb)];this[_0x41d82e(0xb2)]=this[_0x41d82e(0xbd)](),this[_0x41d82e(0xb9)]=new _0x1fadb4(),this[_0x41d82e(0xae)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x41d82e(0xad)]({'tag':_0x41d82e(0xb7),'attributes':{'aria-haspopup':_0x118f6c['if'](_0x41d82e(0xc0)),'aria-expanded':_0x118f6c['to'](_0x41d82e(0xb6),_0x33369f=>this[_0x41d82e(0xc0)]&&String(_0x33369f)),'aria-label':_0x118f6c['to'](_0x41d82e(0xc0),_0x541c1f=>_0x5db9ed(_0x570f60,_0x541c1f?_0x41d82e(0xc7):_0x41d82e(0xbc))),'role':_0x41d82e(0xca),'tabindex':_0x118f6c['to'](_0x41d82e(0xc0),_0x7eb2e4=>!!_0x7eb2e4&&0x0),'class':['ck',_0x41d82e(0xc9)]},'children':this[_0x41d82e(0xb2)],'on':{'mouseenter':_0x118f6c['to'](()=>this[_0x41d82e(0xbf)](_0x41d82e(0xac))),'mouseleave':_0x118f6c['to'](_0x2308df=>{const _0x3da74f=_0x41d82e,_0x2b7c7a=_0x2308df,_0x18987a=document[_0x3da74f(0xcb)](_0x3da74f(0xb3)),_0x14b455=document[_0x3da74f(0xcb)](_0x3da74f(0xcc));_0x18987a?.[_0x3da74f(0xc5)](_0x2b7c7a[_0x3da74f(0xc4)])||_0x14b455?.[_0x3da74f(0xc5)](_0x2b7c7a[_0x3da74f(0xc4)])||this[_0x3da74f(0xbf)](_0x3da74f(0xcd));})}}),this['on'](_0x41d82e(0xce),(_0x300612,_0x14868d,_0x2c49d5)=>{const _0x4ad19a=_0x41d82e;this[_0x4ad19a(0xab)]&&(_0x2c49d5?this[_0x4ad19a(0xab)][_0x4ad19a(0xc2)](_0x4ad19a(0xb1),String(this[_0x4ad19a(0xb6)])):this[_0x4ad19a(0xab)][_0x4ad19a(0xb0)](_0x4ad19a(0xb1)));});}[_0xd59cf5(0xc6)](){const _0x3e5513=_0xd59cf5;this[_0x3e5513(0xab)][_0x3e5513(0xc6)]();}[_0xd59cf5(0xaf)](){const _0x3198e7=_0xd59cf5;super[_0x3198e7(0xaf)](),this[_0x3198e7(0xb9)][_0x3198e7(0xc1)](this[_0x3198e7(0xab)]);}}function _0x11ed(){const _0x2aa012=['items','.ck-presence-list__dropdown-list','1655739zQLDRK','1631674yzrEpw','isExpanded','div','83676OUTseU','keystrokes','80yriwim','bindTemplate','Connected\x20users\x20list','createCollection','9425752kkjSXH','fire','hasPopup','listenTo','setAttribute','550638MTbqWk','relatedTarget','contains','focus','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','490721Eubume','ck-presence-list__list','list','querySelector','.ck-balloon-panel_with-arrow','presencelist:hide','change:hasPopup','54140mbJQAX','element','presencelist:show','setTemplate','set','render','removeAttribute','aria-expanded'];_0x11ed=function(){return _0x2aa012;};return _0x11ed();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x549933=_0xd707;(function(_0x1fd422,_0x507ad1){const _0x3f8b5e=_0xd707,_0x1a6cdf=_0x1fd422();while(!![]){try{const _0x96e1dc=parseInt(_0x3f8b5e(0x153))/0x1+parseInt(_0x3f8b5e(0x142))/0x2*(parseInt(_0x3f8b5e(0x156))/0x3)+-parseInt(_0x3f8b5e(0x152))/0x4+-parseInt(_0x3f8b5e(0x15d))/0x5*(-parseInt(_0x3f8b5e(0x14e))/0x6)+parseInt(_0x3f8b5e(0x148))/0x7+-parseInt(_0x3f8b5e(0x14f))/0x8+parseInt(_0x3f8b5e(0x15a))/0x9*(-parseInt(_0x3f8b5e(0x151))/0xa);if(_0x96e1dc===_0x507ad1)break;else _0x1a6cdf['push'](_0x1a6cdf['shift']());}catch(_0xdd6deb){_0x1a6cdf['push'](_0x1a6cdf['shift']());}}}(_0x2ae6,0xa604a));function _0x2ae6(){const _0x57e68b=['36wGVHhI','div','ck-presence-list','bindTemplate','tooltipPosition','bind','567322nQYiRT','ck-presence-list--collapsed','ck-rounded-corners','counterView','listenTo','change','24870cmbFdf','2558584VilaWJ','ck-reset','4681990ImiFvA','3487636fkmtRo','1239274NaoLBV','inlineListView','locale','177474voQbAd','setTemplate','first','items','27qvHSdZ','isCollapsed','hasPopup','1075QCoror','set'];_0x2ae6=function(){return _0x57e68b;};return _0x2ae6();}import{View as _0xf6548d}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x2c5a10}from'./presencecounterview.js';import{PresenceInlineListView as _0x1b1fdd}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0xd707(_0x243f9e,_0x47fe49){const _0x2ae66e=_0x2ae6();return _0xd707=function(_0xd707dd,_0x5e3cc9){_0xd707dd=_0xd707dd-0x142;let _0x165d63=_0x2ae66e[_0xd707dd];return _0x165d63;},_0xd707(_0x243f9e,_0x47fe49);}export class PresenceListView extends _0xf6548d{[_0x549933(0x14b)];[_0x549933(0x154)];constructor(_0x3c3484,_0x5d2c91=0x6){const _0x535bc7=_0x549933;super(_0x3c3484);const _0x18ae1c=this[_0x535bc7(0x145)];this[_0x535bc7(0x15e)](_0x535bc7(0x15b),!0x0),this[_0x535bc7(0x14b)]=new _0x2c5a10(this[_0x535bc7(0x155)],_0x5d2c91),this[_0x535bc7(0x154)]=new _0x1b1fdd(_0x3c3484),this[_0x535bc7(0x154)][_0x535bc7(0x147)](_0x535bc7(0x15c))['to'](this,_0x535bc7(0x15b)),this[_0x535bc7(0x14c)](this[_0x535bc7(0x154)][_0x535bc7(0x159)],_0x535bc7(0x14d),()=>{const _0x202588=_0x535bc7;for(const _0x3823ca of this[_0x202588(0x154)][_0x202588(0x159)])_0x3823ca[_0x202588(0x146)]='s';this[_0x202588(0x154)][_0x202588(0x159)][_0x202588(0x158)]&&(this[_0x202588(0x154)][_0x202588(0x159)][_0x202588(0x158)][_0x202588(0x146)]='se');}),this[_0x535bc7(0x157)]({'tag':_0x535bc7(0x143),'attributes':{'class':['ck',_0x535bc7(0x144),_0x535bc7(0x150),_0x535bc7(0x14a),_0x18ae1c['if'](_0x535bc7(0x15b),_0x535bc7(0x149))]},'children':[this[_0x535bc7(0x154)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x40192d=_0x24dd;function _0x50ca(){var _0x4980b6=['pluginName','318453fObguN','requires','1295OsIOms','2567870qhXEQs','PresenceList','2dTuWDe','isPremiumPlugin','10652koiTGr','isOfficialPlugin','615ukopVk','1392840LtdmHH','188972UVYFQB','1110753suXDSe','8472dSSvoJ','11XGHYDo'];_0x50ca=function(){return _0x4980b6;};return _0x50ca();}function _0x24dd(_0x20c9a7,_0x401c3b){var _0x50caad=_0x50ca();return _0x24dd=function(_0x24ddae,_0x3b8c56){_0x24ddae=_0x24ddae-0x13b;var _0x2e0d31=_0x50caad[_0x24ddae];return _0x2e0d31;},_0x24dd(_0x20c9a7,_0x401c3b);}(function(_0x170e53,_0x33211c){var _0x208a5f=_0x24dd,_0xc0228c=_0x170e53();while(!![]){try{var _0x3eeb49=-parseInt(_0x208a5f(0x13d))/0x1*(-parseInt(_0x208a5f(0x143))/0x2)+-parseInt(_0x208a5f(0x148))/0x3+-parseInt(_0x208a5f(0x13f))/0x4*(-parseInt(_0x208a5f(0x141))/0x5)+parseInt(_0x208a5f(0x145))/0x6*(-parseInt(_0x208a5f(0x14a))/0x7)+parseInt(_0x208a5f(0x142))/0x8+parseInt(_0x208a5f(0x144))/0x9+-parseInt(_0x208a5f(0x13b))/0xa*(parseInt(_0x208a5f(0x146))/0xb);if(_0x3eeb49===_0x33211c)break;else _0xc0228c['push'](_0xc0228c['shift']());}catch(_0xda309){_0xc0228c['push'](_0xc0228c['shift']());}}}(_0x50ca,0x2e5bd));import{ContextPlugin as _0x3a20c1}from'ckeditor5/src/core.js';import{Sessions as _0x4a2697}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x156f43}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3a20c1{static get[_0x40192d(0x149)](){return[_0x4a2697,_0x156f43];}static get[_0x40192d(0x147)](){var _0x5d9b63=_0x40192d;return _0x5d9b63(0x13c);}static get[_0x40192d(0x140)](){return!0x0;}static get[_0x40192d(0x13e)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5ef15d)());[_0x1bb9d2(0x13c)];static get[_0x1bb9d2(0xf8)](){const _0x3e0c5b=_0x1bb9d2;return[_0x11ca42,_0x3e0c5b(0x14b),_0x1b364c,_0x1793fe];}static get[_0x1bb9d2(0x104)](){const _0x2721fb=_0x1bb9d2;return _0x2721fb(0xf9);}static get[_0x1bb9d2(0xfb)](){return!0x0;}static get[_0x1bb9d2(0x111)](){return!0x0;}constructor(_0x5e5c9e){const _0x53fde0=_0x1bb9d2;super(_0x5e5c9e),this[_0x53fde0(0x13c)]=new Map();}async[_0x1bb9d2(0x14f)](){const _0x574e2f=_0x1bb9d2,_0x2b668b=this[_0x574e2f(0x14e)],_0x184c8b=_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x574e2f(0x14b));if(_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x11ca42)[_0x574e2f(0x10f)](this),_0x184c8b[_0x574e2f(0x129)]={'addCommentThread':async({channelId:_0x1e9289,threadId:_0x35f7a5,comments:_0x2879b8,resolvedAt:_0x59acd8,resolvedBy:_0x8cca6,context:_0x3428f2,attributes:_0x11864e})=>{const _0x4fc1a3=_0x574e2f,_0x3dcc45=await this[_0x4fc1a3(0x147)](_0x1e9289)[_0x4fc1a3(0x144)]({'commentThreadId':_0x35f7a5,'comments':_0x2879b8[_0x4fc1a3(0x10c)](_0x5d8aff=>function(_0xa881f0,_0x1c0f01,_0x3756ce){const _0x524e87=_0x4fc1a3;return{'commentThreadId':_0x3756ce,'commentId':_0xa881f0[_0x524e87(0x15c)],'userId':_0xa881f0[_0x524e87(0x11d)],'content':_0xa881f0[_0x524e87(0x100)],'documentId':_0x1c0f01,'createdAt':_0xa881f0[_0x524e87(0x13e)],'attributes':_0xa881f0[_0x524e87(0x13d)]||{}};}(_0x5d8aff,_0x1e9289,_0x35f7a5)),'resolvedAt':_0x59acd8,'resolvedBy':_0x8cca6,'context':_0x3428f2,'attributes':_0x11864e})[_0x4fc1a3(0x125)](k);return{'threadId':_0x3dcc45[_0x4fc1a3(0x143)],'comments':_0x3dcc45[_0x4fc1a3(0x122)]};},'getCommentThread':async({channelId:_0x37b4bb,threadId:_0x20fd61})=>{const _0x14be89=_0x574e2f,_0x3c2328=await this[_0x14be89(0x147)](_0x37b4bb)[_0x14be89(0x11a)](_0x20fd61)[_0x14be89(0x125)](F)[_0x14be89(0x125)](k);return _0x3c2328?_0x3c2328[_0x14be89(0x119)]?null:(await this[_0x14be89(0x154)]([_0x3c2328]),{'threadId':_0x3c2328[_0x14be89(0x143)],'comments':_0x3c2328[_0x14be89(0x122)][_0x14be89(0x10c)](S),'context':_0x3c2328[_0x14be89(0x14e)],'resolvedAt':_0x3c2328[_0x14be89(0x134)],'resolvedBy':_0x3c2328[_0x14be89(0x137)],'attributes':_0x3c2328[_0x14be89(0x13d)]||{}}):null;},'updateCommentThread':async({channelId:_0x12ec35,threadId:_0x40419b,context:_0x17f55e,unlinkedAt:_0x5ebb6a,attributes:_0x59be89})=>this[_0x574e2f(0x147)](_0x12ec35)[_0x574e2f(0x142)]({'commentThreadId':_0x40419b,'context':_0x17f55e,'attributes':_0x59be89,'unlinkedAt':_0x5ebb6a})[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'resolveCommentThread':async({channelId:_0x27eb30,threadId:_0x553346})=>{const _0x9adb42=_0x574e2f,_0x316ccf=await this[_0x9adb42(0x147)](_0x27eb30)[_0x9adb42(0x110)](_0x553346)[_0x9adb42(0x125)](F)[_0x9adb42(0x125)](k);return{'threadId':_0x316ccf[_0x9adb42(0x143)],'resolvedAt':_0x316ccf[_0x9adb42(0x134)],'resolvedBy':_0x316ccf[_0x9adb42(0x137)]};},'reopenCommentThread':async({channelId:_0x4002e1,threadId:_0x1189fb})=>this[_0x574e2f(0x147)](_0x4002e1)[_0x574e2f(0x10d)](_0x1189fb)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'removeCommentThread':({channelId:_0x676ddf,threadId:_0x76b762})=>this[_0x574e2f(0x147)](_0x676ddf)[_0x574e2f(0x12f)](_0x76b762)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'addComment':({channelId:_0x22283c,threadId:_0x591c49,commentId:_0x5dca8d,content:_0x3a1ab2,attributes:_0x207b76})=>this[_0x574e2f(0x147)](_0x22283c)[_0x574e2f(0x130)](_0x591c49,_0x5dca8d,_0x3a1ab2,_0x207b76)[_0x574e2f(0x125)](k),'updateComment':({channelId:_0x31330e,threadId:_0x309f75,commentId:_0x3cbf2d,content:_0x3f2005,attributes:_0x202d67})=>this[_0x574e2f(0x147)](_0x31330e)[_0x574e2f(0x107)](_0x309f75,_0x3cbf2d,_0x3f2005,_0x202d67)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'removeComment':({channelId:_0xfd93ea,threadId:_0x8d7a84,commentId:_0x4f540c})=>this[_0x574e2f(0x147)](_0xfd93ea)[_0x574e2f(0x120)](_0x8d7a84,_0x4f540c)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k)},_0x2b668b instanceof _0x426730){const _0x350c6b=_0x2b668b[_0x574e2f(0x126)][_0x574e2f(0x106)](_0x574e2f(0x150)),_0x16f261=_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x1b364c);await this[_0x574e2f(0x12c)](_0x350c6b);const _0x5daf90=await this[_0x574e2f(0x13c)][_0x574e2f(0x106)](_0x350c6b)[_0x574e2f(0x10e)]();this[_0x574e2f(0x123)](_0x16f261,_0x574e2f(0x103)+_0x350c6b,(_0x6c3fcb,{session:_0x55934c})=>{const _0xe48d4e=_0x574e2f;_0x55934c['id']===_0x16f261[_0xe48d4e(0x157)]&&(_0x6c3fcb[_0xe48d4e(0x117)](),this[_0xe48d4e(0x14e)][_0xe48d4e(0x13f)][_0xe48d4e(0x106)](_0xe48d4e(0x131))[_0xe48d4e(0xf7)](_0x55934c[_0xe48d4e(0x148)],_0x350c6b));}),_0x16f261[_0x574e2f(0x15d)](_0x350c6b,_0x5daf90);}}async[_0x1bb9d2(0x12c)](_0x176c42){const _0x592574=_0x1bb9d2;if(this[_0x592574(0x13c)][_0x592574(0x14c)](_0x176c42))throw new _0x18e3f6(_0x592574(0x101),null,{'channelId':_0x176c42});const _0x35dfcc=this[_0x592574(0x14e)][_0x592574(0x13f)][_0x592574(0x106)](_0x592574(0x14b)),_0x33c0e6=new CloudServicesCommentsAdapter[(_0x592574(0xfe))](_0x176c42);this[_0x592574(0x13c)][_0x592574(0x139)](_0x176c42,_0x33c0e6),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x145),(_0x4c699a,_0x1318ae)=>{const _0x115222=_0x592574,{commentThreadId:_0xf7af6a,documentId:_0x2c1bef,context:_0x3e8b49,attributes:_0x52a028,resolvedAt:_0x43c334,resolvedBy:_0x5ec8d7,comments:_0x43b66c}=_0x1318ae;_0x35dfcc[_0x115222(0x11a)](_0xf7af6a)||_0x35dfcc[_0x115222(0x144)]({'threadId':_0xf7af6a,'channelId':_0x2c1bef,'comments':_0x43b66c?_0x43b66c[_0x115222(0x10c)](S):[],'context':_0x3e8b49,'attributes':_0x52a028,'resolvedAt':_0x43c334,'resolvedBy':_0x5ec8d7,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x140),(_0x244c2e,{commentThreadId:_0x1e1c1f,documentId:_0xc45a5e,context:_0x40ed04,unlinkedAt:_0x5bcf1c,attributes:_0x43ad73})=>{const _0x5bbf4f=_0x592574;_0x35dfcc[_0x5bbf4f(0x11a)](_0x1e1c1f)&&_0x35dfcc[_0x5bbf4f(0x142)]({'threadId':_0x1e1c1f,'channelId':_0xc45a5e,'context':_0x40ed04,'unlinkedAt':_0x5bcf1c,'attributes':_0x43ad73,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x136),(_0x2953a0,{commentThreadId:_0x32dc8c,resolvedBy:_0x4dea44,resolvedAt:_0x3b2457})=>{const _0x5c9491=_0x592574,_0x333f28=_0x35dfcc[_0x5c9491(0x11a)](_0x32dc8c);_0x333f28&&_0x333f28[_0x5c9491(0x13a)]({'resolvedBy':_0x4dea44,'resolvedAt':_0x3b2457,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x146),(_0x177e30,{commentThreadId:_0x1a645b})=>{const _0x28fb93=_0x592574,_0x56b9d1=_0x35dfcc[_0x28fb93(0x11a)](_0x1a645b);_0x56b9d1&&_0x56b9d1[_0x28fb93(0x12d)]({'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x124),(_0x8494c4,{commentThreadId:_0x2fd7e9})=>{const _0x3016a4=_0x592574,_0x1e4cb8=_0x35dfcc[_0x3016a4(0x11a)](_0x2fd7e9);_0x1e4cb8&&_0x1e4cb8[_0x3016a4(0x15b)]({'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x115),(_0x46cade,_0x49e159)=>{const _0x5660ea=_0x592574,_0x3d29d8=_0x49e159[_0x5660ea(0x143)],_0x34b0a8=_0x35dfcc[_0x5660ea(0x11a)](_0x3d29d8);_0x34b0a8&&_0x34b0a8[_0x5660ea(0x130)]({...S(_0x49e159),'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x138),(_0x2bf487,{commentThreadId:_0x18f4a9,commentId:_0x3074df,content:_0x14a782,attributes:_0x3a2a81})=>{const _0x42e059=_0x592574,_0x313aab=_0x35dfcc[_0x42e059(0x11a)](_0x18f4a9);if(_0x313aab){const _0x5c0653=_0x313aab[_0x42e059(0x152)](_0x3074df);_0x5c0653&&_0x5c0653[_0x42e059(0x151)]({'content':_0x14a782,'attributes':_0x3a2a81,'isFromAdapter':!0x0});}}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x121),(_0x212be1,{commentThreadId:_0x1cd88b,commentId:_0xb885b2})=>{const _0x5bbf8d=_0x592574,_0x5d941d=_0x35dfcc[_0x5bbf8d(0x11a)](_0x1cd88b);if(_0x5d941d){const _0x5cd879=_0x5d941d[_0x5bbf8d(0x152)](_0xb885b2);_0x5cd879&&_0x5cd879[_0x5bbf8d(0x15b)]({'isFromAdapter':!0x0});}}),await this[_0x592574(0x11f)](_0x176c42);}[_0x1bb9d2(0x118)](){const _0x3b67d7=_0x1bb9d2;if(this[_0x3b67d7(0x14e)]instanceof _0x426730){const _0x1bfdb8=this[_0x3b67d7(0x14e)][_0x3b67d7(0x126)][_0x3b67d7(0x106)](_0x3b67d7(0x150));this[_0x3b67d7(0x13b)](_0x1bfdb8);}}[_0x1bb9d2(0x13b)](_0x254412){const _0x435692=_0x1bb9d2;if(!this[_0x435692(0x13c)][_0x435692(0x14c)](_0x254412))throw new _0x18e3f6(_0x435692(0x141),null,{'channelId':_0x254412});this[_0x435692(0x147)](_0x254412)[_0x435692(0xfa)](),this[_0x435692(0x13c)][_0x435692(0x159)](_0x254412);}async[_0x1bb9d2(0x116)](){const _0x119b4a=_0x1bb9d2;for(const _0x5cb9f6 of this[_0x119b4a(0x13c)][_0x119b4a(0x149)]())await this[_0x119b4a(0x11f)](_0x5cb9f6);if(this[_0x119b4a(0x14e)]instanceof _0x426730){const _0x4b2c40=this[_0x119b4a(0x14e)][_0x119b4a(0x126)][_0x119b4a(0x106)](_0x119b4a(0x150)),_0x3f60c7=this[_0x119b4a(0x14e)][_0x119b4a(0x13f)][_0x119b4a(0x106)](_0x1b364c);_0x3f60c7[_0x119b4a(0x133)](_0x4b2c40);const _0x1e110a=await this[_0x119b4a(0x13c)][_0x119b4a(0x106)](_0x4b2c40)[_0x119b4a(0x10e)]();_0x3f60c7[_0x119b4a(0x15d)](_0x4b2c40,_0x1e110a);}}async[_0x1bb9d2(0x11f)](_0x187891){const _0x2a7007=_0x1bb9d2,{connection:_0xd45f44}=this[_0x2a7007(0x14e)][_0x2a7007(0x13f)][_0x2a7007(0x106)](_0x11ca42),_0x49ac9b=this[_0x2a7007(0x14e)][_0x2a7007(0x13f)][_0x2a7007(0x106)](_0x2a7007(0x14b)),_0x25428b=this[_0x2a7007(0x13c)][_0x2a7007(0x106)](_0x187891),_0x411a9e=await _0x25428b[_0x2a7007(0x156)](_0xd45f44);await this[_0x2a7007(0x154)](_0x411a9e);const _0x5ab06b=new Set(Array[_0x2a7007(0xfc)](_0x49ac9b[_0x2a7007(0x155)]({'channelId':_0x187891}),_0x560089=>_0x560089['id']));for(const _0x5ae37e of _0x411a9e)_0x5ae37e[_0x2a7007(0x119)]||_0x5ab06b[_0x2a7007(0x159)](_0x5ae37e[_0x2a7007(0x143)]);for(const _0xabb0f4 of _0x5ab06b)_0x49ac9b[_0x2a7007(0x11a)](_0xabb0f4)[_0x2a7007(0x15b)]({'isFromAdapter':!0x0});for(const _0xd91cce of _0x411a9e){let _0x1a9e78=_0x49ac9b[_0x2a7007(0x11a)](_0xd91cce[_0x2a7007(0x143)]);const {commentThreadId:_0x213a68,context:_0x1f1023,attributes:_0x37970d,resolvedBy:_0xecc6b2,resolvedAt:_0x141447,unlinkedAt:_0xac1754,deletedAt:_0x35bb8c}=_0xd91cce;if(_0x35bb8c)continue;_0x1a9e78||(_0x1a9e78=_0x49ac9b[_0x2a7007(0x144)]({'channelId':_0x187891,'threadId':_0x213a68,'context':_0x1f1023,'attributes':_0x37970d||{},'resolvedBy':_0xecc6b2,'resolvedAt':_0x141447,'unlinkedAt':_0xac1754,'isFromAdapter':!0x0}));const _0x26009c=new Set(Array[_0x2a7007(0xfc)](_0x1a9e78[_0x2a7007(0x122)],_0xed6eaf=>_0xed6eaf['id']));for(const _0x1f4b58 of _0xd91cce[_0x2a7007(0x122)])_0x26009c[_0x2a7007(0x159)](_0x1f4b58[_0x2a7007(0x15c)]);for(const _0x54ade8 of _0x26009c)_0x1a9e78[_0x2a7007(0x152)](_0x54ade8)[_0x2a7007(0x15b)]({'isFromAdapter':!0x0});for(const _0x810363 of _0xd91cce[_0x2a7007(0x122)]){const _0x2643d7=_0x1a9e78[_0x2a7007(0x152)](_0x810363[_0x2a7007(0x15c)]);_0x2643d7?_0x2643d7[_0x2a7007(0x100)]!==_0x810363[_0x2a7007(0x100)]&&_0x2643d7[_0x2a7007(0x151)]({'content':_0x810363[_0x2a7007(0x100)],'isFromAdapter':!0x0}):_0x1a9e78[_0x2a7007(0x130)](Object[_0x2a7007(0x14d)](S(_0x810363),{'isFromAdapter':!0x0}));}}}[_0x1bb9d2(0x147)](_0x4e5d12){const _0x813802=_0x1bb9d2;if(!this[_0x813802(0x13c)][_0x813802(0x14c)](_0x4e5d12))throw new _0x18e3f6(_0x813802(0x112),null,{'channelId':_0x4e5d12});return this[_0x813802(0x13c)][_0x813802(0x106)](_0x4e5d12);}async[_0x1bb9d2(0x154)](_0x406eae){const _0x37dbe6=_0x1bb9d2,_0x232543=this[_0x37dbe6(0x14e)][_0x37dbe6(0x13f)][_0x37dbe6(0x106)](_0x1793fe),{connection:_0x5cd0ca}=this[_0x37dbe6(0x14e)][_0x37dbe6(0x13f)][_0x37dbe6(0x106)](_0x11ca42),_0x3c9f36=new Set();for(const {resolvedBy:_0x35c02c,comments:_0x5e0cc0}of _0x406eae){_0x35c02c&&!_0x232543[_0x37dbe6(0xfd)](_0x35c02c)&&_0x3c9f36[_0x37dbe6(0x135)](_0x35c02c);for(const {userId:_0x4196c4}of _0x5e0cc0)_0x232543[_0x37dbe6(0xfd)](_0x4196c4)||_0x3c9f36[_0x37dbe6(0x135)](_0x4196c4);}if(0x0===_0x3c9f36[_0x37dbe6(0x109)])return;const _0x3af742=await _0xd5242b[_0x37dbe6(0x128)](_0x5cd0ca,Array[_0x37dbe6(0xfc)](_0x3c9f36));for(const _0x2b9ac4 of _0x3af742)_0x232543[_0x37dbe6(0xfd)](_0x2b9ac4['id'])||_0x232543[_0x37dbe6(0x11b)](_0x2b9ac4);}}async function F(_0x2c9c15){const _0x1ce56d=_0x1bb9d2;if(_0x1ce56d(0x14a)!==_0x2c9c15[_0x1ce56d(0x153)])throw _0x2c9c15;}function k(_0x3a486d){const _0x5920ac=_0x1bb9d2;if((_0x418a81=_0x3a486d)[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x113))||_0x418a81[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x158))||_0x418a81[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x12a)))return new Promise(()=>{});var _0x418a81;throw _0x3a486d;}function _0xbe3f(_0x23f88c,_0x561421){const _0x5a8441=_0x5a84();return _0xbe3f=function(_0xbe3f09,_0x53c4f8){_0xbe3f09=_0xbe3f09-0xf7;let _0x230c87=_0x5a8441[_0xbe3f09];return _0x230c87;},_0xbe3f(_0x23f88c,_0x561421);}function S(_0x2aabc0){const _0x47b5fc=_0x1bb9d2;return{'threadId':_0x2aabc0[_0x47b5fc(0x143)],'commentId':_0x2aabc0[_0x47b5fc(0x15c)],'content':_0x2aabc0[_0x47b5fc(0x100)],'createdAt':_0x2aabc0[_0x47b5fc(0x13e)],'authorId':_0x2aabc0[_0x47b5fc(0x11c)],'attributes':_0x2aabc0[_0x47b5fc(0x13d)]||{}};}
|
|
23
|
+
const _0x148c5d=_0x39dc;(function(_0x2e4d6a,_0x4c16dc){const _0x1f2c64=_0x39dc,_0x76cd93=_0x2e4d6a();while(!![]){try{const _0x5ada5e=-parseInt(_0x1f2c64(0x152))/0x1*(parseInt(_0x1f2c64(0x145))/0x2)+parseInt(_0x1f2c64(0x163))/0x3+parseInt(_0x1f2c64(0x124))/0x4*(-parseInt(_0x1f2c64(0x154))/0x5)+parseInt(_0x1f2c64(0x112))/0x6+-parseInt(_0x1f2c64(0x11a))/0x7*(-parseInt(_0x1f2c64(0x10d))/0x8)+parseInt(_0x1f2c64(0x111))/0x9+parseInt(_0x1f2c64(0x144))/0xa;if(_0x5ada5e===_0x4c16dc)break;else _0x76cd93['push'](_0x76cd93['shift']());}catch(_0x357fb4){_0x76cd93['push'](_0x76cd93['shift']());}}}(_0x412f,0x83995));import{Context as _0x586157,ContextPlugin as _0x42eda8}from'ckeditor5/src/core.js';import{CKEditorError as _0x256971}from'ckeditor5/src/utils.js';import{Users as _0x5582b6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x451b9b,User as _0x338c8f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x47d15c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x46de8c}from'../realtimecollaborativeediting/sessions.js';function _0x412f(){const _0x3a77f5=['commentThreadRemoved','resolveCommentThread','update','unregister','14izSSwN','mySessionId','_terminateService','disconnect','size','pluginName','getMany','_connectService','_fetchMissingUsersForThreads','cloudservicescommentsadapter-disconnect-not-exist','96904VOPVWL','commentThreadResolved','commentThreadUpdated','addComment','remove','cloud-services-internal-error:\x20Request\x20timeout.','startsWith','message','add','map','commentId','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','delete','resolve','getComment','set','commentThreadAdded','commentThreadReopened','CommentsRepository','deletedAt','updateCommentThread','cloudservicescommentsadapter-connect-already-connected','attributes','404','getUser','isOfficialPlugin','reconnect','getCommentThread','init','updateComment','cloudservicescommentsadapter-service-not-exist','9311380DYZXlf','48kuXvUZ','CommentsService','sessionAdd:','reopen','setPermissions','destroy','get','assign','authorId','Permissions','_setUpService','comments','_services','23662neptrK','createdAt','205lGEaEg','adapter','catch','getCommentThreads','resolvedAt','has','connect','register','from','code','listenTo','keys','reopenCommentThread','commentRemoved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1572096pFrHuo','context','commentAdded','permissions','addToReconnectionStack','_getService','off','plugins','removeCommentThread','addUser','CloudServicesCommentsAdapter','content','commentThreadId','config','collaboration.channelId','removeComment','1692248PFCZZp','userId','resolvedBy','getConnectedSessions','1315440NuJQNW','454746qsTUmh','commentUpdated','requires','addCommentThread'];_0x412f=function(){return _0x3a77f5;};return _0x412f();}export class CloudServicesCommentsAdapter extends _0x42eda8{static [_0x148c5d(0x146)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x451b9b)());[_0x148c5d(0x151)];static get[_0x148c5d(0x114)](){const _0x32b641=_0x148c5d;return[_0x47d15c,_0x32b641(0x137),_0x46de8c,_0x5582b6];}static get[_0x148c5d(0x11f)](){const _0x48cbd6=_0x148c5d;return _0x48cbd6(0x16d);}static get[_0x148c5d(0x13e)](){return!0x0;}static get[_0x148c5d(0x12f)](){return!0x0;}constructor(_0x100d72){const _0x560761=_0x148c5d;super(_0x100d72),this[_0x560761(0x151)]=new Map();}async[_0x148c5d(0x141)](){const _0x82ac5f=_0x148c5d,_0x54c857=this[_0x82ac5f(0x164)],_0x3b1ac6=_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x82ac5f(0x137));if(_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x47d15c)[_0x82ac5f(0x167)](this),_0x3b1ac6[_0x82ac5f(0x155)]={'addCommentThread':async({channelId:_0x8263e3,threadId:_0x574314,comments:_0xd0b59c,resolvedAt:_0x2fc4d0,resolvedBy:_0x4330d8,context:_0x4de3fc,attributes:_0x51d860})=>{const _0x430e1a=_0x82ac5f,_0x539af5=await this[_0x430e1a(0x168)](_0x8263e3)[_0x430e1a(0x115)]({'commentThreadId':_0x574314,'comments':_0xd0b59c[_0x430e1a(0x12d)](_0x30f53d=>function(_0x1808a1,_0x1a9923,_0x2afcea){const _0x4ae5c1=_0x430e1a;return{'commentThreadId':_0x2afcea,'commentId':_0x1808a1[_0x4ae5c1(0x12e)],'userId':_0x1808a1[_0x4ae5c1(0x14d)],'content':_0x1808a1[_0x4ae5c1(0x16e)],'documentId':_0x1a9923,'createdAt':_0x1808a1[_0x4ae5c1(0x153)],'attributes':_0x1808a1[_0x4ae5c1(0x13b)]||{}};}(_0x30f53d,_0x8263e3,_0x574314)),'resolvedAt':_0x2fc4d0,'resolvedBy':_0x4330d8,'context':_0x4de3fc,'attributes':_0x51d860})[_0x430e1a(0x156)](nt);return{'threadId':_0x539af5[_0x430e1a(0x16f)],'comments':_0x539af5[_0x430e1a(0x150)]};},'getCommentThread':async({channelId:_0x57f2d6,threadId:_0xd4a39e})=>{const _0x575da4=_0x82ac5f,_0x4914ea=await this[_0x575da4(0x168)](_0x57f2d6)[_0x575da4(0x140)](_0xd4a39e)[_0x575da4(0x156)](ot)[_0x575da4(0x156)](nt);return _0x4914ea?_0x4914ea[_0x575da4(0x138)]?null:(await this[_0x575da4(0x122)]([_0x4914ea]),{'threadId':_0x4914ea[_0x575da4(0x16f)],'comments':_0x4914ea[_0x575da4(0x150)][_0x575da4(0x12d)](st),'context':_0x4914ea[_0x575da4(0x164)],'resolvedAt':_0x4914ea[_0x575da4(0x158)],'resolvedBy':_0x4914ea[_0x575da4(0x10f)],'attributes':_0x4914ea[_0x575da4(0x13b)]||{}}):null;},'updateCommentThread':async({channelId:_0x3a66b8,threadId:_0x2b2f14,context:_0xa2d439,unlinkedAt:_0x5be112,attributes:_0x291090})=>this[_0x82ac5f(0x168)](_0x3a66b8)[_0x82ac5f(0x139)]({'commentThreadId':_0x2b2f14,'context':_0xa2d439,'attributes':_0x291090,'unlinkedAt':_0x5be112})[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'resolveCommentThread':async({channelId:_0x48e067,threadId:_0x1a2fa6})=>{const _0x26bafb=_0x82ac5f,_0x193910=await this[_0x26bafb(0x168)](_0x48e067)[_0x26bafb(0x117)](_0x1a2fa6)[_0x26bafb(0x156)](ot)[_0x26bafb(0x156)](nt);return{'threadId':_0x193910[_0x26bafb(0x16f)],'resolvedAt':_0x193910[_0x26bafb(0x158)],'resolvedBy':_0x193910[_0x26bafb(0x10f)]};},'reopenCommentThread':async({channelId:_0x156acf,threadId:_0x47be64})=>this[_0x82ac5f(0x168)](_0x156acf)[_0x82ac5f(0x160)](_0x47be64)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'removeCommentThread':({channelId:_0x576617,threadId:_0x53aeab})=>this[_0x82ac5f(0x168)](_0x576617)[_0x82ac5f(0x16b)](_0x53aeab)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'addComment':({channelId:_0x1b090c,threadId:_0x3c8a56,commentId:_0x5c217c,content:_0x54d93c,attributes:_0x54841b})=>this[_0x82ac5f(0x168)](_0x1b090c)[_0x82ac5f(0x127)](_0x3c8a56,_0x5c217c,_0x54d93c,_0x54841b)[_0x82ac5f(0x156)](nt),'updateComment':({channelId:_0x29f481,threadId:_0x16be1c,commentId:_0x1d44e7,content:_0x4dbe88,attributes:_0x459e14})=>this[_0x82ac5f(0x168)](_0x29f481)[_0x82ac5f(0x142)](_0x16be1c,_0x1d44e7,_0x4dbe88,_0x459e14)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'removeComment':({channelId:_0x57f709,threadId:_0x55cf1d,commentId:_0x5be17d})=>this[_0x82ac5f(0x168)](_0x57f709)[_0x82ac5f(0x172)](_0x55cf1d,_0x5be17d)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt)},_0x54c857 instanceof _0x586157){const _0x33ec17=_0x54c857[_0x82ac5f(0x170)][_0x82ac5f(0x14b)](_0x82ac5f(0x171)),_0x2102c=_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x46de8c);await this[_0x82ac5f(0x14f)](_0x33ec17);const _0x27075b=await this[_0x82ac5f(0x151)][_0x82ac5f(0x14b)](_0x33ec17)[_0x82ac5f(0x110)]();this[_0x82ac5f(0x15e)](_0x2102c,_0x82ac5f(0x147)+_0x33ec17,(_0x2d069e,{session:_0x3c8b74})=>{const _0x29a351=_0x82ac5f;_0x3c8b74['id']===_0x2102c[_0x29a351(0x11b)]&&(_0x2d069e[_0x29a351(0x169)](),this[_0x29a351(0x164)][_0x29a351(0x16a)][_0x29a351(0x14b)](_0x29a351(0x14e))[_0x29a351(0x149)](_0x3c8b74[_0x29a351(0x166)],_0x33ec17));}),_0x2102c[_0x82ac5f(0x15b)](_0x33ec17,_0x27075b);}}async[_0x148c5d(0x14f)](_0x1b478b){const _0x67073c=_0x148c5d;if(this[_0x67073c(0x151)][_0x67073c(0x159)](_0x1b478b))throw new _0x256971(_0x67073c(0x13a),null,{'channelId':_0x1b478b});const _0x13dcc7=this[_0x67073c(0x164)][_0x67073c(0x16a)][_0x67073c(0x14b)](_0x67073c(0x137)),_0x4fef11=new CloudServicesCommentsAdapter[(_0x67073c(0x146))](_0x1b478b);this[_0x67073c(0x151)][_0x67073c(0x134)](_0x1b478b,_0x4fef11),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x135),(_0x1f21c1,_0xcb9d69)=>{const _0x42f509=_0x67073c,{commentThreadId:_0x515eac,documentId:_0x33cd17,context:_0x58e5c4,attributes:_0x55b0d0,resolvedAt:_0x2f9bd0,resolvedBy:_0x5b0e23,comments:_0x27add1}=_0xcb9d69;_0x13dcc7[_0x42f509(0x140)](_0x515eac)||_0x13dcc7[_0x42f509(0x115)]({'threadId':_0x515eac,'channelId':_0x33cd17,'comments':_0x27add1?_0x27add1[_0x42f509(0x12d)](st):[],'context':_0x58e5c4,'attributes':_0x55b0d0,'resolvedAt':_0x2f9bd0,'resolvedBy':_0x5b0e23,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x126),(_0x492861,{commentThreadId:_0x2fdeb8,documentId:_0x240d59,context:_0x3bdf87,unlinkedAt:_0x41b0b0,attributes:_0x12dd79})=>{const _0x4eeca9=_0x67073c;_0x13dcc7[_0x4eeca9(0x140)](_0x2fdeb8)&&_0x13dcc7[_0x4eeca9(0x139)]({'threadId':_0x2fdeb8,'channelId':_0x240d59,'context':_0x3bdf87,'unlinkedAt':_0x41b0b0,'attributes':_0x12dd79,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x125),(_0x25d273,{commentThreadId:_0x23716c,resolvedBy:_0x273954,resolvedAt:_0x205ed1})=>{const _0x17ff32=_0x67073c,_0x121915=_0x13dcc7[_0x17ff32(0x140)](_0x23716c);_0x121915&&_0x121915[_0x17ff32(0x132)]({'resolvedBy':_0x273954,'resolvedAt':_0x205ed1,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x136),(_0x488fbf,{commentThreadId:_0x36d2a3})=>{const _0x45db3f=_0x67073c,_0x5e8e95=_0x13dcc7[_0x45db3f(0x140)](_0x36d2a3);_0x5e8e95&&_0x5e8e95[_0x45db3f(0x148)]({'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x116),(_0x590ffe,{commentThreadId:_0x248276})=>{const _0x49b20f=_0x67073c,_0x45dbd5=_0x13dcc7[_0x49b20f(0x140)](_0x248276);_0x45dbd5&&_0x45dbd5[_0x49b20f(0x128)]({'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x165),(_0x2cb9d5,_0x214607)=>{const _0x5f52be=_0x67073c,_0x1560f3=_0x214607[_0x5f52be(0x16f)],_0x489e93=_0x13dcc7[_0x5f52be(0x140)](_0x1560f3);_0x489e93&&_0x489e93[_0x5f52be(0x127)]({...st(_0x214607),'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x113),(_0x420010,{commentThreadId:_0x5c241c,commentId:_0x54dbd9,content:_0x195c14,attributes:_0x1b5ef3})=>{const _0x1b7431=_0x67073c,_0x3df7a3=_0x13dcc7[_0x1b7431(0x140)](_0x5c241c);if(_0x3df7a3){const _0x510fe3=_0x3df7a3[_0x1b7431(0x133)](_0x54dbd9);_0x510fe3&&_0x510fe3[_0x1b7431(0x118)]({'content':_0x195c14,'attributes':_0x1b5ef3,'isFromAdapter':!0x0});}}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x161),(_0xf3c19f,{commentThreadId:_0x558bcd,commentId:_0x33ba6f})=>{const _0x25b962=_0x67073c,_0x13150a=_0x13dcc7[_0x25b962(0x140)](_0x558bcd);if(_0x13150a){const _0x3b5652=_0x13150a[_0x25b962(0x133)](_0x33ba6f);_0x3b5652&&_0x3b5652[_0x25b962(0x128)]({'isFromAdapter':!0x0});}}),await this[_0x67073c(0x121)](_0x1b478b);}[_0x148c5d(0x14a)](){const _0x2259c0=_0x148c5d;if(this[_0x2259c0(0x164)]instanceof _0x586157){const _0xbd07fd=this[_0x2259c0(0x164)][_0x2259c0(0x170)][_0x2259c0(0x14b)](_0x2259c0(0x171));this[_0x2259c0(0x11c)](_0xbd07fd);}}[_0x148c5d(0x11c)](_0x34f6c6){const _0x1ae28e=_0x148c5d;if(!this[_0x1ae28e(0x151)][_0x1ae28e(0x159)](_0x34f6c6))throw new _0x256971(_0x1ae28e(0x123),null,{'channelId':_0x34f6c6});this[_0x1ae28e(0x168)](_0x34f6c6)[_0x1ae28e(0x11d)](),this[_0x1ae28e(0x151)][_0x1ae28e(0x131)](_0x34f6c6);}async[_0x148c5d(0x13f)](){const _0x2be89a=_0x148c5d;for(const _0x4e860f of this[_0x2be89a(0x151)][_0x2be89a(0x15f)]())await this[_0x2be89a(0x121)](_0x4e860f);if(this[_0x2be89a(0x164)]instanceof _0x586157){const _0x297b83=this[_0x2be89a(0x164)][_0x2be89a(0x170)][_0x2be89a(0x14b)](_0x2be89a(0x171)),_0x781559=this[_0x2be89a(0x164)][_0x2be89a(0x16a)][_0x2be89a(0x14b)](_0x46de8c);_0x781559[_0x2be89a(0x119)](_0x297b83);const _0xc593fc=await this[_0x2be89a(0x151)][_0x2be89a(0x14b)](_0x297b83)[_0x2be89a(0x110)]();_0x781559[_0x2be89a(0x15b)](_0x297b83,_0xc593fc);}}async[_0x148c5d(0x121)](_0x44f2e1){const _0xf2a3e8=_0x148c5d,{connection:_0x430f6d}=this[_0xf2a3e8(0x164)][_0xf2a3e8(0x16a)][_0xf2a3e8(0x14b)](_0x47d15c),_0x42e5e5=this[_0xf2a3e8(0x164)][_0xf2a3e8(0x16a)][_0xf2a3e8(0x14b)](_0xf2a3e8(0x137)),_0x5f59bf=this[_0xf2a3e8(0x151)][_0xf2a3e8(0x14b)](_0x44f2e1),_0x27ce05=await _0x5f59bf[_0xf2a3e8(0x15a)](_0x430f6d);await this[_0xf2a3e8(0x122)](_0x27ce05);const _0x26e34c=new Set(Array[_0xf2a3e8(0x15c)](_0x42e5e5[_0xf2a3e8(0x157)]({'channelId':_0x44f2e1}),_0x161bf2=>_0x161bf2['id']));for(const _0x3152a9 of _0x27ce05)_0x3152a9[_0xf2a3e8(0x138)]||_0x26e34c[_0xf2a3e8(0x131)](_0x3152a9[_0xf2a3e8(0x16f)]);for(const _0x21f495 of _0x26e34c)_0x42e5e5[_0xf2a3e8(0x140)](_0x21f495)[_0xf2a3e8(0x128)]({'isFromAdapter':!0x0});for(const _0x105bdd of _0x27ce05){let _0x531573=_0x42e5e5[_0xf2a3e8(0x140)](_0x105bdd[_0xf2a3e8(0x16f)]);const {commentThreadId:_0x51cc76,context:_0x5d05bc,attributes:_0x43c486,resolvedBy:_0x20151c,resolvedAt:_0x5a758a,unlinkedAt:_0x1fb7ff,deletedAt:_0x8b1b9}=_0x105bdd;if(_0x8b1b9)continue;_0x531573||(_0x531573=_0x42e5e5[_0xf2a3e8(0x115)]({'channelId':_0x44f2e1,'threadId':_0x51cc76,'context':_0x5d05bc,'attributes':_0x43c486||{},'resolvedBy':_0x20151c,'resolvedAt':_0x5a758a,'unlinkedAt':_0x1fb7ff,'isFromAdapter':!0x0}));const _0x106420=new Set(Array[_0xf2a3e8(0x15c)](_0x531573[_0xf2a3e8(0x150)],_0x2640a4=>_0x2640a4['id']));for(const _0x4af37f of _0x105bdd[_0xf2a3e8(0x150)])_0x106420[_0xf2a3e8(0x131)](_0x4af37f[_0xf2a3e8(0x12e)]);for(const _0x51e189 of _0x106420)_0x531573[_0xf2a3e8(0x133)](_0x51e189)[_0xf2a3e8(0x128)]({'isFromAdapter':!0x0});for(const _0x1b8aae of _0x105bdd[_0xf2a3e8(0x150)]){const _0x24ebea=_0x531573[_0xf2a3e8(0x133)](_0x1b8aae[_0xf2a3e8(0x12e)]);_0x24ebea?_0x24ebea[_0xf2a3e8(0x16e)]!==_0x1b8aae[_0xf2a3e8(0x16e)]&&_0x24ebea[_0xf2a3e8(0x118)]({'content':_0x1b8aae[_0xf2a3e8(0x16e)],'isFromAdapter':!0x0}):_0x531573[_0xf2a3e8(0x127)](Object[_0xf2a3e8(0x14c)](st(_0x1b8aae),{'isFromAdapter':!0x0}));}}}[_0x148c5d(0x168)](_0x55a6aa){const _0x498b57=_0x148c5d;if(!this[_0x498b57(0x151)][_0x498b57(0x159)](_0x55a6aa))throw new _0x256971(_0x498b57(0x143),null,{'channelId':_0x55a6aa});return this[_0x498b57(0x151)][_0x498b57(0x14b)](_0x55a6aa);}async[_0x148c5d(0x122)](_0x3f05f6){const _0x376a92=_0x148c5d,_0x19134f=this[_0x376a92(0x164)][_0x376a92(0x16a)][_0x376a92(0x14b)](_0x5582b6),{connection:_0x5de252}=this[_0x376a92(0x164)][_0x376a92(0x16a)][_0x376a92(0x14b)](_0x47d15c),_0x55bd9e=new Set();for(const {resolvedBy:_0x13e9ab,comments:_0x27db20}of _0x3f05f6){_0x13e9ab&&!_0x19134f[_0x376a92(0x13d)](_0x13e9ab)&&_0x55bd9e[_0x376a92(0x12c)](_0x13e9ab);for(const {userId:_0x5e2070}of _0x27db20)_0x19134f[_0x376a92(0x13d)](_0x5e2070)||_0x55bd9e[_0x376a92(0x12c)](_0x5e2070);}if(0x0===_0x55bd9e[_0x376a92(0x11e)])return;const _0x1ac21e=await _0x338c8f[_0x376a92(0x120)](_0x5de252,Array[_0x376a92(0x15c)](_0x55bd9e));for(const _0x4af791 of _0x1ac21e)_0x19134f[_0x376a92(0x13d)](_0x4af791['id'])||_0x19134f[_0x376a92(0x16c)](_0x4af791);}}function _0x39dc(_0x10ba23,_0x8e71af){const _0x412f60=_0x412f();return _0x39dc=function(_0x39dccf,_0x5f0aa5){_0x39dccf=_0x39dccf-0x10d;let _0x23ac78=_0x412f60[_0x39dccf];return _0x23ac78;},_0x39dc(_0x10ba23,_0x8e71af);}async function ot(_0x2c7c4b){const _0x2fcb1c=_0x148c5d;if(_0x2fcb1c(0x13c)!==_0x2c7c4b[_0x2fcb1c(0x15d)])throw _0x2c7c4b;}function nt(_0x28c0a4){const _0x147ace=_0x148c5d;if((_0xb01fe3=_0x28c0a4)[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x162))||_0xb01fe3[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x130))||_0xb01fe3[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x129)))return new Promise(()=>{});var _0xb01fe3;throw _0x28c0a4;}function st(_0x4f3fd){const _0x23abc5=_0x148c5d;return{'threadId':_0x4f3fd[_0x23abc5(0x16f)],'commentId':_0x4f3fd[_0x23abc5(0x12e)],'content':_0x4f3fd[_0x23abc5(0x16e)],'createdAt':_0x4f3fd[_0x23abc5(0x153)],'authorId':_0x4f3fd[_0x23abc5(0x10e)],'attributes':_0x4f3fd[_0x23abc5(0x13b)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2eeb8f=_0x4d00;function _0x4d00(_0xfb61f8,_0x1cdb6a){const _0x186e28=_0x186e();return _0x4d00=function(_0x4d0014,_0x51f46e){_0x4d0014=_0x4d0014-0x1da;let _0x186346=_0x186e28[_0x4d0014];return _0x186346;},_0x4d00(_0xfb61f8,_0x1cdb6a);}(function(_0x167f3e,_0x3de924){const _0x3f4059=_0x4d00,_0x13b221=_0x167f3e();while(!![]){try{const _0x4c5881=parseInt(_0x3f4059(0x1e2))/0x1*(-parseInt(_0x3f4059(0x1fa))/0x2)+parseInt(_0x3f4059(0x1f3))/0x3+parseInt(_0x3f4059(0x1e7))/0x4+parseInt(_0x3f4059(0x1df))/0x5+-parseInt(_0x3f4059(0x1f5))/0x6+parseInt(_0x3f4059(0x1e0))/0x7*(-parseInt(_0x3f4059(0x1dd))/0x8)+-parseInt(_0x3f4059(0x1e3))/0x9*(-parseInt(_0x3f4059(0x1ea))/0xa);if(_0x4c5881===_0x3de924)break;else _0x13b221['push'](_0x13b221['shift']());}catch(_0x4538c3){_0x13b221['push'](_0x13b221['shift']());}}}(_0x186e,0x989f2));import{Plugin as _0x594e32}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x239481}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x186e(){const _0x1e4237=['7rzAGKK','once','109367ZaykDE','340749awdtpG','ready','data','isPremiumPlugin','3806360SZBSJK','CommentsEditing','change:state','100kjadao','Comments','collaboration.channelId','get','switchReadOnly','plugins','init','connected','CommentsRepository','1591815RXXdAs','destroy','6230754EYjhsI','config','RealTimeCollaborativeComments','listenTo','isOfficialPlugin','4BcOeQw','_terminateService','isThreadsLoadingPaused','editor','_setUpService','requires','4883384YJIzDn','pluginName','3159745DgwLOI'];_0x186e=function(){return _0x1e4237;};return _0x186e();}import{RealTimeCollaborativeEditing as _0x188f65}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x576657}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x594e32{static get[_0x2eeb8f(0x1dc)](){const _0x3984b4=_0x2eeb8f;return[_0x3984b4(0x1eb),_0x239481,_0x188f65,_0x576657];}static get[_0x2eeb8f(0x1de)](){const _0x2fca0c=_0x2eeb8f;return _0x2fca0c(0x1f7);}static get[_0x2eeb8f(0x1f9)](){return!0x0;}static get[_0x2eeb8f(0x1e6)](){return!0x0;}[_0x2eeb8f(0x1f0)](){const _0x52abda=_0x2eeb8f,_0x4bd4a2=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x576657),_0x2a92bb=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x52abda(0x1e8)),_0x24fc7d=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x239481);return this[_0x52abda(0x1da)][_0x52abda(0x1e5)][_0x52abda(0x1e1)](_0x52abda(0x1e4),()=>{const _0x548658=_0x52abda;this[_0x548658(0x1f8)](_0x4bd4a2,_0x548658(0x1e9),(_0x23f2fd,_0x33833a,_0x357a6f)=>{const _0x25104c=_0x548658;_0x2a92bb[_0x25104c(0x1fc)]=_0x25104c(0x1f1)!==_0x357a6f;});}),this[_0x52abda(0x1f8)](_0x4bd4a2,_0x52abda(0x1e9),(_0x19715d,_0x5e9f99,_0x322dec)=>{const _0x36a809=_0x52abda;this[_0x36a809(0x1da)][_0x36a809(0x1ef)][_0x36a809(0x1ed)](_0x36a809(0x1f2))[_0x36a809(0x1ee)](_0x36a809(0x1f1)!==_0x322dec);}),_0x24fc7d[_0x52abda(0x1db)](this[_0x52abda(0x1da)][_0x52abda(0x1f6)][_0x52abda(0x1ed)](_0x52abda(0x1ec)));}[_0x2eeb8f(0x1f4)](){const _0xab1f7b=_0x2eeb8f;this[_0xab1f7b(0x1da)][_0xab1f7b(0x1ef)][_0xab1f7b(0x1ed)](_0x239481)[_0xab1f7b(0x1fb)](this[_0xab1f7b(0x1da)][_0xab1f7b(0x1f6)][_0xab1f7b(0x1ed)](_0xab1f7b(0x1ec))),super[_0xab1f7b(0x1f4)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2644e9)());[_0x312940(0x1b6)];[_0x312940(0x26e)];[_0x312940(0x22a)];[_0x312940(0x28b)];[_0x312940(0x23e)];[_0x312940(0x1ed)];[_0x312940(0x1df)];[_0x312940(0x19e)];[_0x312940(0x214)];[_0x312940(0x265)];[_0x312940(0x1ff)];[_0x312940(0x19c)];[_0x312940(0x1a9)];[_0x312940(0x1e9)];[_0x312940(0x1d0)];[_0x312940(0x271)];[_0x312940(0x1f0)];[_0x312940(0x1ec)];static get[_0x312940(0x223)](){return[_0x51b8b6,_0x90fb9c,_0x7044a2,_0x3bf39e,_0x458783,_0x189942];}static get[_0x312940(0x275)](){const _0x28af4d=_0x312940;return _0x28af4d(0x263);}static get[_0x312940(0x208)](){return!0x0;}static get[_0x312940(0x1c9)](){return!0x0;}get[_0x312940(0x24d)](){const _0x45ff5a=_0x312940;return this[_0x45ff5a(0x294)]+this[_0x45ff5a(0x1b6)];}get[_0x312940(0x294)](){const _0x5735fb=_0x312940;return this[_0x5735fb(0x22a)][_0x5735fb(0x1e6)]-this[_0x5735fb(0x1b6)];}get[_0x312940(0x2a2)](){const _0x4156e9=_0x312940,_0xd29a54=this[_0x4156e9(0x22a)][_0x4156e9(0x29f)]();for(let _0x34627c=_0xd29a54[_0x4156e9(0x288)]-0x1;_0x34627c>=0x0;_0x34627c--){const _0x38fc98=_0xd29a54[_0x34627c];if(!this[_0x4156e9(0x1f0)][_0x4156e9(0x286)](_0x38fc98))return _0x38fc98[_0x4156e9(0x229)]+0x1-this[_0x4156e9(0x1b6)];}return 0x0;}constructor(_0x3f6ec4){const _0x3bb7c7=_0x312940;if(super(_0x3f6ec4),this[_0x3bb7c7(0x1b6)]=0x0,this[_0x3bb7c7(0x26e)]=null,this[_0x3bb7c7(0x22a)]=new _0x5f471f(),this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1a3)][_0x3bb7c7(0x1c1)](_0x3bb7c7(0x253),{}),this[_0x3bb7c7(0x28b)]=this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1a3)][_0x3bb7c7(0x29b)](_0x3bb7c7(0x298)),!this[_0x3bb7c7(0x28b)])throw new _0x5be647(_0x3bb7c7(0x20a),this);const _0x2618c3=_0x3f6ec4[_0x3bb7c7(0x1a3)][_0x3bb7c7(0x29b)](_0x3bb7c7(0x1f2))||_0x57d333;this[_0x3bb7c7(0x23e)]=new RealTimeCollaborationClient[(_0x3bb7c7(0x261))](_0x2618c3,this[_0x3bb7c7(0x28b)]),this[_0x3bb7c7(0x1ed)]=this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1c4)][_0x3bb7c7(0x276)],this[_0x3bb7c7(0x1df)]=new _0x2bbdf6(),this[_0x3bb7c7(0x19e)]=[],this[_0x3bb7c7(0x214)]=new WeakSet(),this[_0x3bb7c7(0x265)]=new Set(),this[_0x3bb7c7(0x27c)](_0x3bb7c7(0x26b),!0x1),this[_0x3bb7c7(0x27c)](_0x3bb7c7(0x228),!0x1),this[_0x3bb7c7(0x1ff)]=null,this[_0x3bb7c7(0x19c)]=!0x1,this[_0x3bb7c7(0x1a9)]=null,this[_0x3bb7c7(0x1e9)]=0x12c,this[_0x3bb7c7(0x1d0)]=this[_0x3bb7c7(0x1e9)],this[_0x3bb7c7(0x271)]=null,this[_0x3bb7c7(0x1f0)]=new WeakSet(),this[_0x3bb7c7(0x1ec)]=new Z(this[_0x3bb7c7(0x1f0)]);}[_0x312940(0x284)](){const _0x455470=_0x312940,_0x413860=this[_0x455470(0x216)],_0x4f41a5=_0x413860[_0x455470(0x2a4)][_0x455470(0x29b)](_0x458783),_0x1f79a5=_0x413860[_0x455470(0x2a4)][_0x455470(0x29b)](_0x51b8b6);this[_0x455470(0x1e8)](_0x4f41a5,_0x455470(0x1e4),(_0x20933e,_0x549649)=>{const _0x4383fc=_0x455470,_0x29de01=_0x549649[0x0];_0x29de01[_0x4383fc(0x220)]&&(_0x20933e[_0x4383fc(0x1e1)]=_0x4f41a5[_0x4383fc(0x295)](_0x29de01[_0x4383fc(0x220)]),_0x20933e[_0x4383fc(0x204)]()),null===_0x29de01[_0x4383fc(0x220)]&&(_0x20933e[_0x4383fc(0x1e1)]=null,_0x20933e[_0x4383fc(0x204)]());},{'priority':_0x455470(0x1d2)}),this[_0x455470(0x1e8)](_0x413860[_0x455470(0x1c4)][_0x455470(0x276)][_0x455470(0x287)],_0x455470(0x1eb),(_0x4598ae,_0x294f9a)=>{const _0x4e08cd=_0x455470;_0x294f9a[_0x4e08cd(0x1c6)]&&this[_0x4e08cd(0x212)]();}),this[_0x455470(0x1e8)](_0x413860[_0x455470(0x1d8)][_0x455470(0x1ab)],_0x455470(0x241),()=>{const _0x2d222f=_0x455470;this[_0x2d222f(0x212)]();}),this[_0x455470(0x1d5)](),_0x413860[_0x455470(0x1c4)]['on'](_0x455470(0x262),(_0x2291e3,_0x78e37c)=>{const _0x34a83b=_0x455470,_0x32e3cb=_0x78e37c[0x0];_0x32e3cb[_0x34a83b(0x234)]&&(this[_0x34a83b(0x290)](_0x32e3cb),this[_0x34a83b(0x247)]()&&this[_0x34a83b(0x28a)]());}),this[_0x455470(0x1dd)](),this[_0x455470(0x1da)](_0x455470(0x23f))['to'](_0x1f79a5,_0x455470(0x1c5),this,_0x455470(0x228),(_0x426c32,_0x53ae3b)=>_0x455470(0x251)===_0x426c32&&!_0x53ae3b),this['on'](_0x455470(0x28d),()=>{const _0x2ff8cb=_0x455470;this[_0x2ff8cb(0x23f)]?_0x413860[_0x2ff8cb(0x1c2)](_0x2ff8cb(0x1ad)):_0x413860[_0x2ff8cb(0x227)](_0x2ff8cb(0x1ad));}),this[_0x455470(0x23f)]?_0x413860[_0x455470(0x1c2)](_0x455470(0x1ad)):_0x413860[_0x455470(0x227)](_0x455470(0x1ad)),this[_0x455470(0x27c)](_0x455470(0x1e0),!0x1);}async[_0x312940(0x1f7)](){const _0x5e9592=_0x312940,_0x526ce9=this[_0x5e9592(0x216)][_0x5e9592(0x2a4)][_0x5e9592(0x29b)](_0x90fb9c),_0x34f325=this[_0x5e9592(0x216)][_0x5e9592(0x2a4)][_0x5e9592(0x29b)](_0x51b8b6);try{this[_0x5e9592(0x26b)]=!0x0,_0x526ce9[_0x5e9592(0x226)](this[_0x5e9592(0x28b)]);const _0x376e26=await this[_0x5e9592(0x23e)][_0x5e9592(0x1f7)](_0x34f325[_0x5e9592(0x2a0)],this[_0x5e9592(0x2a2)]);await this[_0x5e9592(0x285)](_0x376e26)&&(this[_0x5e9592(0x26b)]=!0x1,this[_0x5e9592(0x280)]());const _0x1564a2=await this[_0x5e9592(0x23e)][_0x5e9592(0x1b0)]();_0x526ce9[_0x5e9592(0x217)](this[_0x5e9592(0x28b)],_0x1564a2),this[_0x5e9592(0x21a)](),this[_0x5e9592(0x1e0)]=!0x0;}catch(_0x291062){if(function(_0xd25982){const _0x418330=_0x5e9592;return _0x418330(0x1a8)===_0xd25982[_0x418330(0x25b)];}(_0x291062)&&this[_0x5e9592(0x26e)])await this[_0x5e9592(0x1a0)]();else{if(function(_0x327453){const _0x3e1001=_0x5e9592;return _0x3e1001(0x250)===_0x327453[_0x3e1001(0x25b)];}(_0x291062)){const _0x2290b4=_0x4dec24(this[_0x5e9592(0x216)][_0x5e9592(0x207)],_0x5e9592(0x26f));this[_0x5e9592(0x279)](_0x2290b4);}else{if(!(_0x291062 instanceof X))throw _0x291062;this[_0x5e9592(0x279)]();}}}}[_0x312940(0x293)](){const _0xff835e=_0x312940,_0x517452=this[_0xff835e(0x216)][_0xff835e(0x2a4)][_0xff835e(0x29b)](_0x51b8b6),_0x325341=this[_0xff835e(0x216)][_0xff835e(0x2a4)][_0xff835e(0x29b)](_0x90fb9c);this[_0xff835e(0x216)][_0xff835e(0x227)](_0xff835e(0x1cb)),_0x325341[_0xff835e(0x268)][_0xff835e(0x286)](this[_0xff835e(0x28b)])&&_0x325341[_0xff835e(0x226)](this[_0xff835e(0x28b)]),_0x517452[_0xff835e(0x1de)](this),this[_0xff835e(0x245)](),super[_0xff835e(0x293)]();}async[_0x312940(0x285)](_0x10658d){const _0x261c2c=_0x312940;if(this[_0x261c2c(0x26e)]!==_0x10658d[_0x261c2c(0x26e)]&&this[_0x261c2c(0x271)]!==_0x10658d[_0x261c2c(0x1e2)])throw new X();return this[_0x261c2c(0x26e)]=_0x10658d[_0x261c2c(0x26e)],this[_0x261c2c(0x21e)]([],{..._0x10658d,'wereChangesApplied':!0x1,'data':_0x10658d[_0x261c2c(0x23d)]},_0x261c2c(0x1f7));}async[_0x312940(0x1b2)](_0x3998cd,_0x3e2d7b=!0x1){const _0x2650d0=_0x312940,{connection:_0x346931}=this[_0x2650d0(0x216)][_0x2650d0(0x2a4)][_0x2650d0(0x29b)](_0x51b8b6);RealTimeCollaborationClient[_0x2650d0(0x261)][_0x2650d0(0x1b0)](_0x346931,this[_0x2650d0(0x28b)])[_0x2650d0(0x20c)](_0x2b203f=>this[_0x2650d0(0x273)](_0x2b203f))[_0x2650d0(0x244)](_0x407ded=>{const _0x1523ed=_0x2650d0;this[_0x1523ed(0x257)](_0x1523ed(0x1ce),_0x407ded);}),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x19d),this[_0x2650d0(0x1c7)][_0x2650d0(0x1da)](this)),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x1bf),(_0x29a89e,_0x403bc3)=>{const _0xa1bcd5=_0x2650d0;this[_0xa1bcd5(0x257)](_0xa1bcd5(0x28c),_0x403bc3);}),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x1a2),()=>{const _0x3df8d1=_0x2650d0;this[_0x3df8d1(0x1e0)]=!0x1;});const _0x11a58e=this[_0x2650d0(0x1ec)][_0x2650d0(0x1dc)](_0x3998cd);this[_0x2650d0(0x26b)]=!0x0;const _0x3ecccf=await this[_0x2650d0(0x23e)][_0x2650d0(0x29d)](_0x346931,this[_0x2650d0(0x1d7)](_0x3998cd),_0x11a58e);if(this[_0x2650d0(0x26e)]=_0x3ecccf[_0x2650d0(0x26e)],_0x3e2d7b){if(!_0x3ecccf[_0x2650d0(0x267)])return void this[_0x2650d0(0x279)]();this[_0x2650d0(0x26b)]=!0x1,this[_0x2650d0(0x280)](),this[_0x2650d0(0x22a)][_0x2650d0(0x289)](),this[_0x2650d0(0x1b6)]=_0x3ecccf[_0x2650d0(0x243)],this[_0x2650d0(0x22a)][_0x2650d0(0x1e6)]=this[_0x2650d0(0x1b6)],await this[_0x2650d0(0x21e)](_0x3998cd,_0x3ecccf,_0x2650d0(0x259));}else await this[_0x2650d0(0x231)](_0x3ecccf,_0x3998cd);this[_0x2650d0(0x21a)](),this[_0x2650d0(0x1e0)]=!0x0;}[_0x312940(0x21a)](){const _0x1f7f19=_0x312940,_0x2fe881=this[_0x1f7f19(0x216)][_0x1f7f19(0x2a4)][_0x1f7f19(0x29b)](_0x90fb9c),_0x406565=this[_0x1f7f19(0x216)][_0x1f7f19(0x2a4)][_0x1f7f19(0x29b)](_0x7044a2),_0x5a39fb=_0x2fe881[_0x1f7f19(0x268)][_0x1f7f19(0x29b)](this[_0x1f7f19(0x28b)]);_0x5a39fb&&_0x5a39fb[_0x1f7f19(0x288)]>0x1?_0x406565[_0x1f7f19(0x25d)]():this[_0x1f7f19(0x1e8)](_0x2fe881,_0x1f7f19(0x29e)+this[_0x1f7f19(0x28b)],()=>{const _0x288ae5=_0x1f7f19;0x2===_0x2fe881[_0x288ae5(0x268)][_0x288ae5(0x29b)](this[_0x288ae5(0x28b)])[_0x288ae5(0x288)]&&_0x406565[_0x288ae5(0x25d)]();});}async[_0x312940(0x1c7)](_0x274c75,_0xc63b5b,_0x17c237,_0x313724){const _0x5f192c=_0x312940;if(!this[_0x5f192c(0x26b)]&&this[_0x5f192c(0x1ed)][_0x5f192c(0x1e6)]==_0xc63b5b){const _0x3e7d3c=this[_0x5f192c(0x209)](_0x17c237,_0x313724);await this[_0x5f192c(0x242)](_0x3e7d3c),this[_0x5f192c(0x20b)](_0x3e7d3c,_0xc63b5b,_0x17c237[_0x5f192c(0x1e2)])||this[_0x5f192c(0x257)](_0x5f192c(0x1f5));}}async[_0x312940(0x1a0)](){const _0x437f52=_0x312940;this[_0x437f52(0x245)]();const {locale:_0x181732}=this[_0x437f52(0x216)];let _0x8d3adc;try{_0x8d3adc=await this[_0x437f52(0x23e)][_0x437f52(0x26c)]();}catch{const _0x3925a3=_0x4dec24(_0x181732,_0x437f52(0x25a));return void this[_0x437f52(0x279)](_0x3925a3);}const _0x3feccb=_0x8d3adc[_0x437f52(0x1fd)]||_0x8d3adc[_0x437f52(0x1e7)];if(this[_0x437f52(0x271)]!==_0x3feccb[_0x437f52(0x1e2)]){const _0x2d4c0e=_0x4dec24(_0x181732,_0x437f52(0x1d9));return void this[_0x437f52(0x279)](_0x2d4c0e);}await this[_0x437f52(0x1b2)](this[_0x437f52(0x216)][_0x437f52(0x1c4)][_0x437f52(0x276)][_0x437f52(0x278)][_0x437f52(0x29f)](),!0x0);}[_0x312940(0x245)](){const _0x1829b1=_0x312940;this[_0x1829b1(0x23e)][_0x1829b1(0x1c3)](),this[_0x1829b1(0x19e)]=[],clearTimeout(this[_0x1829b1(0x1a9)]),this[_0x1829b1(0x270)](this[_0x1829b1(0x23e)]);}[_0x312940(0x273)](_0x10fe1c){const _0x1879a3=_0x312940,_0x49ca1c=this[_0x1879a3(0x216)][_0x1879a3(0x2a4)][_0x1879a3(0x29b)](_0x90fb9c);this[_0x1879a3(0x1e8)](_0x49ca1c,_0x1879a3(0x29e)+this[_0x1879a3(0x28b)],(_0x541648,{session:_0x140c12})=>{const _0x282527=_0x1879a3;if(_0x140c12['id']===_0x49ca1c[_0x282527(0x277)]){_0x541648[_0x282527(0x27d)]();const _0x2af9dd=this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x286)](_0x282527(0x1cf))&&this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x29b)](_0x282527(0x1cf));let _0x39a4f1=_0x140c12[_0x282527(0x2a1)];_0x2af9dd&&_0x2af9dd[_0x282527(0x215)]&&(_0x39a4f1=_0x39a4f1[_0x282527(0x258)](_0x2d98aa=>_0x282527(0x239)!==_0x2d98aa)),this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x29b)](_0x282527(0x1bb))[_0x282527(0x22f)](_0x39a4f1,this[_0x282527(0x28b)]);}}),_0x49ca1c[_0x1879a3(0x217)](this[_0x1879a3(0x28b)],_0x10fe1c);}[_0x312940(0x1d5)](){const _0x418735=_0x312940,_0x338a29=this[_0x418735(0x216)][_0x418735(0x23d)][_0x418735(0x27c)];this[_0x418735(0x216)][_0x418735(0x23d)][_0x418735(0x27c)]=(..._0x3fba0c)=>{const _0x315507=_0x418735;if(!_0x3fba0c[_0x3fba0c[_0x315507(0x288)]-0x1][_0x315507(0x1aa)])throw new _0x5be647(_0x315507(0x1c8),this);_0x338a29[_0x315507(0x221)](this[_0x315507(0x216)][_0x315507(0x23d)],_0x3fba0c);};}[_0x312940(0x1dd)](){const _0x2e2084=_0x312940;this[_0x2e2084(0x216)][_0x2e2084(0x23d)]['on'](_0x2e2084(0x284),(_0x492fe5,[_0x5ecbc5])=>{const _0x2382cb=_0x2e2084;if(this[_0x2382cb(0x1ed)][_0x2382cb(0x1e6)])throw new _0x5be647(_0x2382cb(0x256),this);_0x492fe5[_0x2382cb(0x204)](),this[_0x2382cb(0x1af)]();const _0x194f12=this[_0x2382cb(0x216)][_0x2382cb(0x1a3)][_0x2382cb(0x29b)](_0x2382cb(0x1f9)),_0x282cae=this[_0x2382cb(0x1ee)](_0x5ecbc5,_0x194f12);0x0==_0x282cae[_0x2382cb(0x288)]&&_0x282cae[_0x2382cb(0x246)](new _0x4b3968(0x0)),_0x492fe5[_0x2382cb(0x1e1)]=this[_0x2382cb(0x1b2)](_0x282cae)[_0x2382cb(0x20c)](()=>{const _0x3689e8=_0x2382cb;this[_0x3689e8(0x216)][_0x3689e8(0x2a4)][_0x3689e8(0x29b)](_0x51b8b6)[_0x3689e8(0x20d)](this),this[_0x3689e8(0x216)][_0x3689e8(0x23d)][_0x3689e8(0x26d)](_0x3689e8(0x1a1));})[_0x2382cb(0x244)](_0x27590c=>this[_0x2382cb(0x257)](_0x2382cb(0x230),_0x27590c))[_0x2382cb(0x26a)](()=>this[_0x2382cb(0x280)]());},{'priority':_0x2e2084(0x1d2)}),this[_0x2e2084(0x216)]['on'](_0x2e2084(0x1d3),async(_0x4a01a3,[_0x5ad812,_0x1fdfd8])=>{const _0x15ed7b=_0x2e2084;_0x4a01a3[_0x15ed7b(0x204)]();const _0x199c07=this[_0x15ed7b(0x216)][_0x15ed7b(0x1c4)][_0x15ed7b(0x276)][_0x15ed7b(0x29c)](_0x5ad812);if(!this[_0x15ed7b(0x265)][_0x15ed7b(0x286)](_0x5ad812)){const _0x25bb92=_0x1fdfd8&&_0x1fdfd8[_0x15ed7b(0x23d)]?_0x1fdfd8[_0x15ed7b(0x23d)]:'',_0x38881e=_0x1fdfd8&&_0x1fdfd8[_0x15ed7b(0x236)]?_0x1fdfd8[_0x15ed7b(0x236)]:{};await this[_0x15ed7b(0x282)](_0x5ad812,_0x25bb92,_0x38881e);}this[_0x15ed7b(0x216)][_0x15ed7b(0x1c4)][_0x15ed7b(0x27e)]({'isUndoable':!0x1},()=>{const _0x76f407=_0x15ed7b;_0x199c07[_0x76f407(0x28f)]=!0x0,this[_0x76f407(0x216)][_0x76f407(0x1c4)][_0x76f407(0x276)][_0x76f407(0x1a5)][_0x76f407(0x269)](_0x199c07);});},{'priority':_0x2e2084(0x1d2)});}async[_0x312940(0x242)](_0x507692){const _0x41a625=_0x312940,_0x4e58ee=this[_0x41a625(0x216)][_0x41a625(0x2a4)][_0x41a625(0x29b)](_0x458783),{connection:_0x48b8cf}=this[_0x41a625(0x216)][_0x41a625(0x2a4)][_0x41a625(0x29b)](_0x51b8b6),_0x2fb80c=new Set();for(const _0x138816 of _0x507692){const _0x4779cf=_0x138816[_0x41a625(0x220)];_0x4779cf&&!_0x4e58ee[_0x41a625(0x295)](_0x4779cf)&&_0x2fb80c[_0x41a625(0x225)](_0x4779cf);}if(0x0===_0x2fb80c[_0x41a625(0x20f)])return;const _0x204909=await _0x38ec5a[_0x41a625(0x1db)](_0x48b8cf,Array[_0x41a625(0x1f4)](_0x2fb80c));for(const _0xa45945 of _0x204909)_0x4e58ee[_0x41a625(0x295)](_0xa45945['id'])||_0x4e58ee[_0x41a625(0x23a)](_0xa45945);}[_0x312940(0x1ee)](_0x1be317,_0x324207={}){const _0x478be6=_0x312940,_0x2b7ef2=this[_0x478be6(0x216)][_0x478be6(0x1c4)],_0x26eec5=[];let _0x5cde17=0x0;const _0x49a3d7=_0x478be6(0x1ae)==typeof _0x1be317?{'main':_0x1be317}:_0x1be317;for(const _0x16c966 of Object[_0x478be6(0x1bc)](_0x49a3d7)){if(!this[_0x478be6(0x1ed)][_0x478be6(0x1f3)][_0x478be6(0x286)](_0x16c966))throw new _0x5be647(_0x478be6(0x1a6),this);const _0x21dcac=this[_0x478be6(0x216)][_0x478be6(0x23d)][_0x478be6(0x237)](_0x49a3d7[_0x16c966]),_0x3081ee=this[_0x478be6(0x1ed)][_0x478be6(0x29c)](_0x16c966),_0xcfe21=new _0x213b12(_0x2b7ef2[_0x478be6(0x206)](_0x3081ee,0x0),_0x21dcac,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0xcfe21);for(const [_0x41b0b4,_0xb4a879]of _0x21dcac[_0x478be6(0x22d)]){const _0x408dc7=_0x2b7ef2[_0x478be6(0x1ef)](_0x2b7ef2[_0x478be6(0x264)](_0x3081ee,_0xb4a879[_0x478be6(0x21d)][_0x478be6(0x1b1)][_0x478be6(0x1bd)]()),_0x2b7ef2[_0x478be6(0x264)](_0x3081ee,_0xb4a879[_0x478be6(0x27f)][_0x478be6(0x1b1)][_0x478be6(0x1bd)]())),_0x52cbbe=new _0x6d4df5(_0x41b0b4,null,_0x408dc7,_0x2b7ef2[_0x478be6(0x22d)],!0x0,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0x52cbbe);}}if(_0x324207)for(const [_0x5036b9,_0x3ef0c2]of Object[_0x478be6(0x19f)](_0x324207)){const _0x31b10f=_0x2b7ef2[_0x478be6(0x276)][_0x478be6(0x29c)](_0x5036b9);if(!_0x31b10f)throw new _0x5be647(_0x478be6(0x291),null);for(const [_0x1145e9,_0x5095fb]of Object[_0x478be6(0x19f)](_0x3ef0c2))if(null!==_0x5095fb){const _0x5724fc=new _0x23a348(_0x31b10f,_0x1145e9,null,_0x5095fb,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0x5724fc);}}return _0x26eec5;}async[_0x312940(0x282)](_0x15c3a2,_0x1bb7cb,_0x1e331b){const _0x2a55ef=_0x312940;this[_0x2a55ef(0x1ee)]({[_0x15c3a2]:_0x1bb7cb},{[_0x15c3a2]:_0x1e331b})[_0x2a55ef(0x1e3)]((_0x318d33,_0x27be67)=>{const _0x6dbb0c=_0x2a55ef;_0x318d33[_0x6dbb0c(0x229)]=this[_0x6dbb0c(0x1ed)][_0x6dbb0c(0x1e6)]+_0x27be67,_0x318d33[_0x6dbb0c(0x297)]=!0x0,this[_0x6dbb0c(0x290)](_0x318d33);}),this[_0x2a55ef(0x28a)](),await this[_0x2a55ef(0x1ca)]();}async[_0x312940(0x231)](_0x512868,_0x3ed044){const _0x2b665f=_0x312940;let _0x1902b6;this[_0x2b665f(0x1b6)]=_0x512868[_0x2b665f(0x243)];const _0x31cda3=_0x512868[_0x2b665f(0x267)]&&!_0x512868[_0x2b665f(0x281)],_0x358e58=_0x31cda3?0x0:_0x512868[_0x2b665f(0x23d)][_0x2b665f(0x229)];if(_0x3ed044[_0x2b665f(0x1e3)](_0x33c60d=>{const _0x16840a=_0x2b665f;_0x33c60d[_0x16840a(0x297)]=!0x0,_0x33c60d[_0x16840a(0x21c)]=_0x512868[_0x16840a(0x1c0)],_0x33c60d[_0x16840a(0x220)]=null;}),_0x31cda3)_0x1902b6=_0x3ed044,this[_0x2b665f(0x254)](_0x1902b6,_0x31cda3);else{if(_0x512868[_0x2b665f(0x281)]){const _0x7a5da7=this[_0x2b665f(0x1ee)](_0x512868[_0x2b665f(0x281)]);this[_0x2b665f(0x1ed)][_0x2b665f(0x278)][_0x2b665f(0x1e6)]=-_0x7a5da7[_0x2b665f(0x288)],_0x7a5da7[_0x2b665f(0x1e3)](_0x325f28=>{const _0x1b915f=_0x2b665f;_0x325f28[_0x1b915f(0x229)]-=_0x7a5da7[_0x1b915f(0x288)],_0x325f28[_0x1b915f(0x21c)]=_0x512868[_0x1b915f(0x1c0)],_0x325f28[_0x1b915f(0x297)]=!0x0,_0x325f28[_0x1b915f(0x220)]=null;}),this[_0x2b665f(0x254)](_0x7a5da7,!0x0),this[_0x2b665f(0x22a)][_0x2b665f(0x1e6)]=-_0x7a5da7[_0x2b665f(0x288)]+this[_0x2b665f(0x1b6)],this[_0x2b665f(0x1b5)](_0x7a5da7);}this[_0x2b665f(0x1ed)][_0x2b665f(0x278)][_0x2b665f(0x1e6)]=_0x358e58,_0x1902b6=this[_0x2b665f(0x209)](_0x512868[_0x2b665f(0x23d)],_0x512868[_0x2b665f(0x296)]),await this[_0x2b665f(0x242)](_0x1902b6),this[_0x2b665f(0x254)](_0x1902b6,_0x31cda3);}_0x512868[_0x2b665f(0x1e2)]&&(this[_0x2b665f(0x1ec)][_0x2b665f(0x224)](_0x1902b6,_0x512868[_0x2b665f(0x1e2)]),this[_0x2b665f(0x271)]=_0x512868[_0x2b665f(0x1e2)]),this[_0x2b665f(0x22a)][_0x2b665f(0x1e6)]=_0x358e58+this[_0x2b665f(0x1b6)],this[_0x2b665f(0x1b5)](_0x1902b6),_0x3ed044[_0x2b665f(0x258)](_0x5f54bf=>{const _0x13a8c1=_0x2b665f,_0x2cc2bc=this[_0x13a8c1(0x238)](_0x5f54bf);return _0x2cc2bc&&!this[_0x13a8c1(0x265)][_0x13a8c1(0x286)](_0x2cc2bc);})[_0x2b665f(0x1e3)]((_0x4550e3,_0x59a647)=>{const _0x5392a3=_0x2b665f;_0x4550e3[_0x5392a3(0x229)]=this[_0x5392a3(0x1ed)][_0x5392a3(0x1e6)]+_0x59a647,this[_0x5392a3(0x290)](_0x4550e3);}),this[_0x2b665f(0x247)]()?(this[_0x2b665f(0x1d0)]=0x0,this[_0x2b665f(0x28a)](!0x0),await this[_0x2b665f(0x1ca)]()):(this[_0x2b665f(0x26b)]=!0x1,this[_0x2b665f(0x280)]());}[_0x312940(0x257)](_0x28e37c,_0x320ee0){const _0x2ae849=_0x312940,_0x2cab45=_0x320ee0&&_0x320ee0[_0x2ae849(0x1cc)];if(_0x2cab45&&_0x2cab45[_0x2ae849(0x24c)](_0x2ae849(0x1a7)))throw _0x320ee0;const _0x1b82c2=this[_0x2ae849(0x216)][_0x2ae849(0x2a4)][_0x2ae849(0x29b)](_0x51b8b6);throw this[_0x2ae849(0x26b)]=!0x0,_0x1b82c2[_0x2ae849(0x1c3)](),this[_0x2ae849(0x216)][_0x2ae849(0x227)](_0x2ae849(0x1d1)),new _0x5be647(_0x28e37c,this[_0x2ae849(0x216)],_0x2cab45?{'originalError':_0x2cab45}:void 0x0);}[_0x312940(0x290)](_0x285a8f){const _0x12ed46=_0x312940;this[_0x12ed46(0x214)][_0x12ed46(0x286)](_0x285a8f)||(this[_0x12ed46(0x214)][_0x12ed46(0x225)](_0x285a8f),this[_0x12ed46(0x19e)][_0x12ed46(0x246)](_0x285a8f),this[_0x12ed46(0x1ff)]||_0x12ed46(0x1ba)==_0x285a8f[_0x12ed46(0x21f)]&&!_0x285a8f[_0x12ed46(0x25c)]||this[_0x12ed46(0x1af)]());}[_0x312940(0x28a)](_0x4dd579=!0x1){const _0x5bbb02=_0x312940;!_0x4dd579&&this[_0x5bbb02(0x26b)]||(this[_0x5bbb02(0x26b)]=!0x0,clearTimeout(this[_0x5bbb02(0x1a9)]),this[_0x5bbb02(0x1a9)]=setTimeout(()=>{const _0xe7119c=_0x5bbb02;this[_0xe7119c(0x201)]()[_0xe7119c(0x20c)](_0x5b37a8=>{const _0x51fb3b=_0xe7119c;_0x5b37a8&&(this[_0x51fb3b(0x280)](),this[_0x51fb3b(0x26b)]=!0x1);})[_0xe7119c(0x244)](_0x5ab708=>{const _0x44d255=_0xe7119c;this[_0x44d255(0x280)](),this[_0x44d255(0x26b)]=!0x1,function(_0x36b28b){const _0x21088a=_0x44d255;return _0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x1ac))||_0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x252))||_0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x21b));}(_0x5ab708)||this[_0x44d255(0x257)](_0x5ab708[_0x44d255(0x1cc)],_0x5ab708);});},this[_0x5bbb02(0x1d0)]));}[_0x312940(0x1ca)](){return new Promise(_0x38d8b5=>{const _0x32f1ca=_0x1580;this['on'](_0x32f1ca(0x235),()=>{_0x38d8b5();});});}async[_0x312940(0x201)](){const _0x33be53=_0x312940,_0x3940a5=this[_0x33be53(0x216)][_0x33be53(0x2a4)][_0x33be53(0x29b)](_0x7044a2);if(this[_0x33be53(0x1fe)]()&&(_0x3940a5[_0x33be53(0x25d)](),this[_0x33be53(0x19c)]=!0x1),!this[_0x33be53(0x247)]())return!0x0;const _0x6f7184=[...this[_0x33be53(0x19e)]];for(const _0x57418d of _0x6f7184)_0x57418d[_0x33be53(0x23c)]=this[_0x33be53(0x1ed)][_0x33be53(0x278)][_0x33be53(0x260)](_0x57418d);const _0x23c9c1=this[_0x33be53(0x1ec)][_0x33be53(0x1dc)](_0x6f7184),_0x4e03b0=Q++,_0x3748d1=this[_0x33be53(0x1d7)](_0x6f7184),_0x3df3d1=await this[_0x33be53(0x23e)][_0x33be53(0x272)](_0x3748d1,_0x3748d1[_0x33be53(0x229)],_0x23c9c1);try{return await this[_0x33be53(0x21e)](_0x6f7184,_0x3df3d1,_0x4e03b0);}catch(_0xb56805){return this[_0x33be53(0x257)](_0x33be53(0x1a4),_0xb56805);}}async[_0x312940(0x21e)](_0x1175d0,_0x10bd5b,_0x2e390c){const _0x10536a=_0x312940;if(_0x10536a(0x1bf)in _0x10bd5b)throw _0x10bd5b[_0x10536a(0x1bf)];let _0x27c62e=!0x1;if(_0x10bd5b[_0x10536a(0x267)]){_0x10bd5b[_0x10536a(0x1e2)]&&(this[_0x10536a(0x271)]=_0x10bd5b[_0x10536a(0x1e2)]),this[_0x10536a(0x19e)]=this[_0x10536a(0x19e)][_0x10536a(0x258)](_0x23cb0c=>!_0x1175d0[_0x10536a(0x24a)](_0x23cb0c));for(const _0xd936da of _0x1175d0)_0xd936da[_0x10536a(0x21c)]=_0x10536a(0x23b)in _0x10bd5b&&_0x10bd5b[_0x10536a(0x23b)]||void 0x0;Y(_0x1175d0,_0x10bd5b[_0x10536a(0x1e6)]-_0x1175d0[_0x10536a(0x288)]),this[_0x10536a(0x1b5)](_0x1175d0);const _0x5e2c6c=_0x1175d0[_0x10536a(0x258)](_0xb50334=>{const _0x2ae11b=_0x10536a;if(!_0xb50334[_0x2ae11b(0x297)])return!0x1;const _0x14dae3=this[_0x2ae11b(0x238)](_0xb50334);return _0x14dae3&&!this[_0x2ae11b(0x265)][_0x2ae11b(0x286)](_0x14dae3);});Y(_0x5e2c6c,this[_0x10536a(0x1ed)][_0x10536a(0x1e6)]),this[_0x10536a(0x254)](_0x5e2c6c),_0x27c62e=!0x0,this[_0x10536a(0x1d0)]=this[_0x10536a(0x1e9)];}else{const _0x107515=this[_0x10536a(0x209)](_0x10bd5b[_0x10536a(0x23d)],_0x10bd5b[_0x10536a(0x296)])[_0x10536a(0x258)](_0x328741=>_0x328741[_0x10536a(0x229)]>=this[_0x10536a(0x294)]);_0x107515[_0x10536a(0x1e3)](_0x229cd7=>this[_0x10536a(0x266)](_0x229cd7)),this[_0x10536a(0x19e)]=this[_0x10536a(0x19e)][_0x10536a(0x258)](_0x2f2cbe=>!_0x2f2cbe[_0x10536a(0x297)]||!this[_0x10536a(0x265)][_0x10536a(0x286)](this[_0x10536a(0x238)](_0x2f2cbe))),this[_0x10536a(0x19e)][_0x10536a(0x288)]&&Y(this[_0x10536a(0x19e)],this[_0x10536a(0x19e)][0x0][_0x10536a(0x229)]),await this[_0x10536a(0x242)](_0x107515),_0x27c62e=this[_0x10536a(0x20b)](_0x107515,_0x10bd5b[_0x10536a(0x1e6)],_0x10bd5b[_0x10536a(0x1e2)]),this[_0x10536a(0x1d0)]=Math[_0x10536a(0x24e)](this[_0x10536a(0x1d0)]/0x2);}return _0x27c62e?!this[_0x10536a(0x247)]()||(this[_0x10536a(0x28a)](!0x0),!0x1):this[_0x10536a(0x257)](_0x10536a(0x219));}[_0x312940(0x20b)](_0x449d6f,_0x477ff5,_0x5abe07){const _0x3601d3=_0x312940;try{const _0x320e37={'document':this[_0x3601d3(0x1ed)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x520665,operationsB:_0x15450e,originalOperations:_0x100d0e}=_0x5cdf17(_0x449d6f,this[_0x3601d3(0x19e)],_0x320e37);Y(_0x520665,this[_0x3601d3(0x1ed)][_0x3601d3(0x1e6)]),Y(_0x15450e,_0x477ff5);for(const _0x5036e2 of _0x520665){const _0x567634=_0x100d0e[_0x3601d3(0x29b)](_0x5036e2);_0x5036e2[_0x3601d3(0x220)]=_0x567634?_0x567634[_0x3601d3(0x220)]:null;}_0x5abe07&&(this[_0x3601d3(0x1ec)][_0x3601d3(0x224)](_0x449d6f,_0x5abe07),this[_0x3601d3(0x271)]=_0x5abe07),this[_0x3601d3(0x19e)]=[..._0x15450e],this[_0x3601d3(0x254)](_0x520665),this[_0x3601d3(0x1b5)](_0x449d6f);}catch(_0x1d227a){return console[_0x3601d3(0x1bf)](_0x1d227a),!0x1;}return!0x0;}[_0x312940(0x254)](_0x386e83,_0x57e42e=!0x1){const _0x56b1ce=_0x312940;this[_0x56b1ce(0x216)][_0x56b1ce(0x1c4)][_0x56b1ce(0x27e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5b7b84=>{const _0x1f864a=_0x56b1ce;for(const _0x29e695 of _0x386e83)this[_0x1f864a(0x214)][_0x1f864a(0x225)](_0x29e695),this[_0x1f864a(0x266)](_0x29e695),_0x5b7b84[_0x1f864a(0x25e)][_0x1f864a(0x29a)](_0x29e695),this[_0x1f864a(0x216)][_0x1f864a(0x1c4)][_0x1f864a(0x262)](_0x29e695);});}[_0x312940(0x266)](_0x236831){const _0x2c4b71=_0x312940,_0x434eb6=this[_0x2c4b71(0x238)](_0x236831);_0x434eb6&&this[_0x2c4b71(0x265)][_0x2c4b71(0x225)](_0x434eb6);}[_0x312940(0x238)](_0x140a9b){const _0x28ebdf=_0x312940;let _0x149c83,_0x2f0490;switch(_0x140a9b[_0x28ebdf(0x21f)]){case _0x28ebdf(0x24b):_0x149c83=_0x140a9b[_0x28ebdf(0x222)][_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x1ba):if(_0x2f0490=_0x140a9b[_0x28ebdf(0x20e)],!_0x2f0490)return null;_0x149c83=_0x2f0490[_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x248):_0x149c83=_0x140a9b[_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x1ea):_0x149c83=_0x140a9b[_0x28ebdf(0x24f)];break;case _0x28ebdf(0x1e5):_0x149c83=_0x140a9b[_0x28ebdf(0x1b4)][_0x28ebdf(0x1b8)];break;default:return null;}return _0x149c83[_0x28ebdf(0x1d4)];}[_0x312940(0x1b5)](_0xb8274e){const _0x549730=_0x312940;_0xb8274e[_0x549730(0x1e3)](_0x4415f9=>{const _0x169a5a=_0x549730,_0x3e3cde=_0x4415f9[_0x169a5a(0x22b)]();_0x3e3cde[_0x169a5a(0x220)]=_0x4415f9[_0x169a5a(0x220)],_0x3e3cde[_0x169a5a(0x297)]=!!_0x4415f9[_0x169a5a(0x297)],_0x3e3cde[_0x169a5a(0x21c)]=_0x4415f9[_0x169a5a(0x21c)],_0x3e3cde[_0x169a5a(0x229)]+=this[_0x169a5a(0x1b6)],_0x4415f9[_0x169a5a(0x22e)]&&this[_0x169a5a(0x1f0)][_0x169a5a(0x225)](_0x3e3cde),this[_0x169a5a(0x22a)][_0x169a5a(0x29a)](_0x3e3cde);});}[_0x312940(0x279)](_0x1ef3b5){const _0x3d64ed=_0x312940,_0x4c52b9=this[_0x3d64ed(0x216)][_0x3d64ed(0x2a4)][_0x3d64ed(0x29b)](_0x3d64ed(0x25f)),_0x4983fd=this[_0x3d64ed(0x216)][_0x3d64ed(0x207)];_0x1ef3b5||(_0x1ef3b5=_0x4dec24(_0x4983fd,_0x3d64ed(0x211))),_0x4c52b9[_0x3d64ed(0x249)](_0x1ef3b5,{'title':_0x4dec24(_0x4983fd,_0x3d64ed(0x299)),'namespace':_0x3d64ed(0x232)}),this[_0x3d64ed(0x228)]=!0x0,clearTimeout(this[_0x3d64ed(0x1a9)]),this[_0x3d64ed(0x19e)]=[],this[_0x3d64ed(0x216)][_0x3d64ed(0x2a4)][_0x3d64ed(0x29b)](_0x51b8b6)[_0x3d64ed(0x1c3)]();}[_0x312940(0x1af)](){const _0x2ab9ea=_0x312940;this[_0x2ab9ea(0x1ff)]||(this[_0x2ab9ea(0x1ff)]=this[_0x2ab9ea(0x216)][_0x2ab9ea(0x2a4)][_0x2ab9ea(0x29b)](_0x3bf39e)[_0x2ab9ea(0x225)](_0x4dec24(this[_0x2ab9ea(0x216)][_0x2ab9ea(0x207)],_0x2ab9ea(0x202))));}[_0x312940(0x280)](){const _0x4e08b5=_0x312940;this[_0x4e08b5(0x1ff)]&&(this[_0x4e08b5(0x216)][_0x4e08b5(0x2a4)][_0x4e08b5(0x29b)](_0x3bf39e)[_0x4e08b5(0x28e)](this[_0x4e08b5(0x1ff)]),this[_0x4e08b5(0x1ff)]=null);}[_0x312940(0x1d7)](_0x13270e){const _0xe812d9=_0x312940,_0x46b8b4=_0x13270e[_0xe812d9(0x1b7)](_0x368232=>_0x368232[_0xe812d9(0x1f8)]());return this[_0xe812d9(0x1df)][_0xe812d9(0x1b9)](_0x46b8b4);}[_0x312940(0x209)](_0x22afca,_0x5b356d){const _0x16f4e6=_0x312940;return this[_0x16f4e6(0x1df)][_0x16f4e6(0x213)](_0x22afca)[_0x16f4e6(0x1b7)]((_0x13e8a4,_0x322d37)=>{const _0x235e5b=_0x16f4e6,_0x3f5c8b=_0x235e5b(0x284)==_0x5b356d[_0x322d37][_0x235e5b(0x21f)];if(_0x235e5b(0x200)==_0x13e8a4[_0x235e5b(0x2a3)]){const _0x2411c4=_0x13e8a4[_0x235e5b(0x222)][_0x235e5b(0x1b8)];!this[_0x235e5b(0x1ed)][_0x235e5b(0x29c)](_0x2411c4)&&(this[_0x235e5b(0x1ed)][_0x235e5b(0x255)](_0x235e5b(0x274),_0x2411c4)[_0x235e5b(0x1fa)]=!0x1);}const _0x2026d0=_0x7d4ded[_0x235e5b(0x1f6)](_0x13e8a4,this[_0x235e5b(0x1ed)]);return _0x2026d0[_0x235e5b(0x23c)]=_0x13e8a4[_0x235e5b(0x23c)],_0x2026d0[_0x235e5b(0x297)]=_0x3f5c8b,_0x2026d0[_0x235e5b(0x220)]=_0x3f5c8b?null:_0x5b356d[_0x322d37][_0x235e5b(0x1d6)],_0x2026d0[_0x235e5b(0x22e)]=_0x235e5b(0x1b3)===_0x5b356d[_0x322d37][_0x235e5b(0x21f)],_0x2026d0[_0x235e5b(0x21c)]=_0x5b356d[_0x322d37][_0x235e5b(0x21c)],_0x2026d0;});}[_0x312940(0x212)](){const _0xa08d4d=_0x312940;this[_0xa08d4d(0x19c)]=!0x0,this[_0xa08d4d(0x1fe)]()?this[_0xa08d4d(0x28a)]():this[_0xa08d4d(0x19c)]=!0x1;}[_0x312940(0x1fe)](){const _0x393a1e=_0x312940,_0x37b739=this[_0x393a1e(0x216)][_0x393a1e(0x2a4)][_0x393a1e(0x29b)](_0x90fb9c)[_0x393a1e(0x268)][_0x393a1e(0x29b)](this[_0x393a1e(0x28b)]);return!this[_0x393a1e(0x216)][_0x393a1e(0x22c)]&&!!_0x37b739&&_0x37b739[_0x393a1e(0x288)]>0x1&&this[_0x393a1e(0x19c)];}[_0x312940(0x247)](){const _0x2f125d=_0x312940;return this[_0x2f125d(0x19e)][_0x2f125d(0x288)]>0x0||this[_0x2f125d(0x1fe)]();}}class X extends Error{}function Y(_0x1b75b0,_0x18b0ff){const _0x50d450=_0x312940;for(const _0x5a1e6e of _0x1b75b0)_0x5a1e6e[_0x50d450(0x229)]=_0x18b0ff++;}class Z{[_0x312940(0x27a)];[_0x312940(0x1fb)];constructor(_0x481484){const _0x2d54f8=_0x312940;this[_0x2d54f8(0x27a)]=_0x481484,this[_0x2d54f8(0x1fb)]=new WeakMap();}[_0x312940(0x1dc)](_0x378048){const _0x8953f=_0x312940;let _0x4e41fa=_0x378048[_0x8953f(0x288)];for(;_0x4e41fa--;){const _0xb1c204=_0x378048[_0x4e41fa];if(!this[_0x8953f(0x27a)][_0x8953f(0x286)](_0xb1c204)){if(!this[_0x8953f(0x1fb)][_0x8953f(0x286)](_0xb1c204)){const _0x4c2ab6=_0x4ea32b()[_0x8953f(0x1bd)](0x1,0x12);this[_0x8953f(0x1fb)][_0x8953f(0x27c)](_0xb1c204,_0x4c2ab6);}return this[_0x8953f(0x1fb)][_0x8953f(0x29b)](_0xb1c204);}}}[_0x312940(0x224)](_0x1ca915,_0x5076cd){const _0x33b0bd=_0x312940;if(!_0x5076cd)return;let _0x205220=_0x1ca915[_0x33b0bd(0x288)];for(;_0x205220--;){const _0x51b91f=_0x1ca915[_0x205220];this[_0x33b0bd(0x27a)][_0x33b0bd(0x286)](_0x51b91f)||this[_0x33b0bd(0x1fb)][_0x33b0bd(0x27c)](_0x51b91f,_0x5076cd);}}}
|
|
23
|
+
const _0x311249=_0x1fad;function _0x1fad(_0x375a09,_0x51c59d){const _0xeddd8f=_0xeddd();return _0x1fad=function(_0x1fadf4,_0x286e84){_0x1fadf4=_0x1fadf4-0x90;let _0x150982=_0xeddd8f[_0x1fadf4];return _0x150982;},_0x1fad(_0x375a09,_0x51c59d);}(function(_0x19cb1a,_0x11826d){const _0x3f567e=_0x1fad,_0x121cff=_0x19cb1a();while(!![]){try{const _0x3b4475=-parseInt(_0x3f567e(0x157))/0x1*(-parseInt(_0x3f567e(0x18d))/0x2)+parseInt(_0x3f567e(0xe2))/0x3+-parseInt(_0x3f567e(0xef))/0x4+-parseInt(_0x3f567e(0x145))/0x5*(parseInt(_0x3f567e(0xf3))/0x6)+parseInt(_0x3f567e(0x17c))/0x7+-parseInt(_0x3f567e(0x17e))/0x8+-parseInt(_0x3f567e(0xa0))/0x9*(-parseInt(_0x3f567e(0x14f))/0xa);if(_0x3b4475===_0x11826d)break;else _0x121cff['push'](_0x121cff['shift']());}catch(_0x534efb){_0x121cff['push'](_0x121cff['shift']());}}}(_0xeddd,0xeca19));import{Plugin as _0x27e9f5,PendingActions as _0x2c5b7c}from'ckeditor5/src/core.js';import{CKEditorError as _0x40c897,version as _0x203da6,uid as _0x3b35a5}from'ckeditor5/src/utils.js';import{Notification as _0x44c26d}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x58c5c9,NoOperation as _0x2057d4,InsertOperation as _0x183675,MarkerOperation as _0x99ed8f,RootAttributeOperation as _0x3e23b1,OperationFactory as _0x404ae6,History as _0x412bb2}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1a0ccc}from'./websocketgateway.js';import{Sessions as _0x51b161}from'./sessions.js';import{UserMarkers as _0x50f671}from'./usermarkers.js';function _0xeddd(){const _0x4a6073=['createRange','cs:removeUser','collaboration-missing-channelid','4563184IecGfV','from','reconnect','disconnected','132GaMtEV','startsWith','size','addUser','_knownRootNames','requires','change:hasDomSelection','_operationIdentifier','_compressor','catch','keys','enableReadOnlyMode','move','define','_isAttached','attributes','then','getIdOfTheLastOperation','markers','insert','real-time-collaboration','_handleSendingSelectionMarkers','rootName','lastOperationId','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','data','addOperation','error','filter','_sendBufferedOperationsDelayed','_handleInitialConnectionData','rtc-destroyed','stopListening','return','model','version','compress','isDocumentOperation','_initThrowingOnDataSet','__className','getRoot','fromJSON','newRange','getMany','_addKnownRoot','_hasSynchronizationProblem','connection','_initSessionsHandling','toJSON','rtc-offline','setIdForTheLastOperation','_getAffectedRoot','collaboration.channelId','differ','_connectService','createdAt','_offset','_handleReconnectionError','change:_isEditingAllowed','cloudDocumentVersion','$root','clone','channelSessions','lastOperationAcceptedAt','sendOperations','root','roots','baseVersion','document','reconnection:\x20flushed\x20session','serverHistory','view','_isConnected','enqueueChange','getConnectedSessions','_compressOperations','_channelId','change:_isPendingUpdate','_saveOperationInBuffer','length','has','297055hFAswr','_updateServerHistory','addRoot','realtimecollaborationclient-init-non-existent-root','round','PENDING_ACTION_SENDING_DATA','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editing','isUndoneOperation','config','10YeRNPf','_applyOperationsSet','type','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient-init-service-incorrect-server-operation','position','string','change:range','1cyjfiz','createRoot','decompress','listenTo','affectsData','_lastSyncedOperationId','affectedSelectable','finally','includes','_waitUntilSynced','userId','removeFromReconnectionStack','code','high','isReadOnly','forEach','end','_setPendingAction','history','_setUpDataInit','_decompressOperations','path','_isEditingAllowed','document:write','set','state','connect','reset','mySessionId','operationsReceived','off','offset','createPositionFromPath','message','_bufferedOperations','initData','batch','1755488zfKgwO','createPositionAt','6095408ssCxHg','getOperations','connected','isOfficialPlugin','apply','map','disableReadOnlyMode','collaboration','InsertOperation','rootsAttributes','entries','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_service','isPremiumPlugin','_handleServerResponse','1464382bwmRGq','marker','cloud-services-internal-error:\x20Request\x20timeout.','_handleReconnectionResponse','_loadRoot','multi-root-editor-root-attributes-no-root','plugins','_document','wasUndone','editor','_isPendingUpdate','_handleExternalOperations','applyOperation','register','_operationToId','realtimecollaborationclient','pluginName','_sendBufferedOperations','lastDocumentSession','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_baseBufferDelay','_isInit','permissions','get','getUser','24065397EJTRya','add','_knownOperations','bind','ready','_handleReceivedOperations','_isLoaded','_lastServerVersion','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-sendbufferedoperations','_fetchMissingUsers','remove','CollaborativeEditingService','push','Notification','_disconnectionOperations','start','Synchronization\x20issue','loadRoot','selection','addRootAttribute','404','_shouldSendUpdate','realtimecollaborationclient-handleserverresponse','disconnect','realtimecollaborationclient-init-connection-failed','lastSyncVersion','stop','realtimecollaborationclient-init-service-internal-error','getOperationAuthor','_disconnectService','suppressErrorInCollaboration','currentDocumentSession','destroy','_hasSelectionChanged','wereChangesApplied','cloudServices.bundleVersion','_sendBufferedOperationsDelayId','directChange','_connectAfterSessionHasBeenFlushed','sessionId','_authorId','sessionAdd:','realtimecollaborationclient-error','showWarning','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.','CommentsOnly','_pendingAction','409','_clearPendingAction','_ignoredOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_refreshUserSelectionMarkers','metadata','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.','isEnabled','targetPosition','unregister','parse','_getOperationsFromInitData','createUserMarkerOperations','getDocumentDetails','_crash','_isDisconnection','_shouldSendSelectionUpdate','slice','1566291MwABBF','locale','_bufferRootLoad','fire','init','sessionCreatedAt','setPermissions','Permissions','_currentBufferDelay','RealTimeCollaborationClient'];_0xeddd=function(){return _0x4a6073;};return _0xeddd();}import{getTranslation as _0x367e81}from'../common-translations.js';import{Compressor as _0x49fb01}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x22875c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x22719e,CollaborativeEditingService as _0x90ae82}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let q=0x1;export class RealTimeCollaborationClient extends _0x27e9f5{static [_0x311249(0xac)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x90ae82)());[_0x311249(0x12c)];[_0x311249(0xc8)];[_0x311249(0x13a)];[_0x311249(0x140)];[_0x311249(0x18a)];[_0x311249(0x194)];[_0x311249(0xfb)];[_0x311249(0x179)];[_0x311249(0xa2)];[_0x311249(0xf7)];[_0x311249(0xcf)];[_0x311249(0xc2)];[_0x311249(0xc5)];[_0x311249(0x9b)];[_0x311249(0xea)];[_0x311249(0x15c)];[_0x311249(0xaf)];[_0x311249(0xfa)];static get[_0x311249(0xf8)](){return[_0x1a0ccc,_0x51b161,_0x50f671,_0x2c5b7c,_0x22875c,_0x44c26d];}static get[_0x311249(0x97)](){const _0x54555f=_0x311249;return _0x54555f(0xeb);}static get[_0x311249(0x181)](){return!0x0;}static get[_0x311249(0x18b)](){return!0x0;}get[_0x311249(0x12f)](){const _0x37b070=_0x311249;return this[_0x37b070(0xa7)]+this[_0x37b070(0x12c)];}get[_0x311249(0xa7)](){const _0x44d196=_0x311249;return this[_0x44d196(0x13a)][_0x44d196(0x117)]-this[_0x44d196(0x12c)];}get[_0x311249(0xba)](){const _0x290b08=_0x311249,_0x24682f=this[_0x290b08(0x13a)][_0x290b08(0x17f)]();for(let _0x240069=_0x24682f[_0x290b08(0x143)]-0x1;_0x240069>=0x0;_0x240069--){const _0x437a53=_0x24682f[_0x240069];if(!this[_0x290b08(0xaf)][_0x290b08(0x144)](_0x437a53))return _0x437a53[_0x290b08(0x137)]+0x1-this[_0x290b08(0x12c)];}return 0x0;}constructor(_0x480c7f){const _0x56cb7c=_0x311249;if(super(_0x480c7f),this[_0x56cb7c(0x12c)]=0x0,this[_0x56cb7c(0xc8)]=null,this[_0x56cb7c(0x13a)]=new _0x412bb2(),this[_0x56cb7c(0x90)][_0x56cb7c(0x14e)][_0x56cb7c(0x100)](_0x56cb7c(0x185),{}),this[_0x56cb7c(0x140)]=this[_0x56cb7c(0x90)][_0x56cb7c(0x14e)][_0x56cb7c(0x9e)](_0x56cb7c(0x128)),!this[_0x56cb7c(0x140)])throw new _0x40c897(_0x56cb7c(0xee),this);const _0x241489=_0x480c7f[_0x56cb7c(0x14e)][_0x56cb7c(0x9e)](_0x56cb7c(0xc4))||_0x203da6;this[_0x56cb7c(0x18a)]=new RealTimeCollaborationClient[(_0x56cb7c(0xac))](_0x241489,this[_0x56cb7c(0x140)]),this[_0x56cb7c(0x194)]=this[_0x56cb7c(0x90)][_0x56cb7c(0x116)][_0x56cb7c(0x138)],this[_0x56cb7c(0xfb)]=new _0x49fb01(),this[_0x56cb7c(0x179)]=[],this[_0x56cb7c(0xa2)]=new WeakSet(),this[_0x56cb7c(0xf7)]=new Set(),this[_0x56cb7c(0x16f)](_0x56cb7c(0x91),!0x1),this[_0x56cb7c(0x16f)](_0x56cb7c(0x121),!0x1),this[_0x56cb7c(0xcf)]=null,this[_0x56cb7c(0xc2)]=!0x1,this[_0x56cb7c(0xc5)]=null,this[_0x56cb7c(0x9b)]=0x12c,this[_0x56cb7c(0xea)]=this[_0x56cb7c(0x9b)],this[_0x56cb7c(0x15c)]=null,this[_0x56cb7c(0xaf)]=new WeakSet(),this[_0x56cb7c(0xfa)]=new K(this[_0x56cb7c(0xaf)]);}[_0x311249(0xe6)](){const _0x4f953e=_0x311249,_0x5054be=this[_0x4f953e(0x90)],_0xf2592=_0x5054be[_0x4f953e(0x193)][_0x4f953e(0x9e)](_0x22875c),_0x275a44=_0x5054be[_0x4f953e(0x193)][_0x4f953e(0x9e)](_0x1a0ccc);this[_0x4f953e(0x15a)](_0xf2592,_0x4f953e(0xbd),(_0x1e86f1,_0x4d54bc)=>{const _0x2e8f28=_0x4f953e,_0x53fec3=_0x4d54bc[0x0];_0x53fec3[_0x2e8f28(0xc9)]&&(_0x1e86f1[_0x2e8f28(0x115)]=_0xf2592[_0x2e8f28(0x9f)](_0x53fec3[_0x2e8f28(0xc9)]),_0x1e86f1[_0x2e8f28(0xbb)]()),null===_0x53fec3[_0x2e8f28(0xc9)]&&(_0x1e86f1[_0x2e8f28(0x115)]=null,_0x1e86f1[_0x2e8f28(0xbb)]());},{'priority':_0x4f953e(0x164)}),this[_0x4f953e(0x15a)](_0x5054be[_0x4f953e(0x116)][_0x4f953e(0x138)][_0x4f953e(0xb3)],_0x4f953e(0x156),(_0x2eb4e4,_0x5d8a07)=>{const _0x1b27da=_0x4f953e;_0x5d8a07[_0x1b27da(0xc6)]&&this[_0x1b27da(0xd4)]();}),this[_0x4f953e(0x15a)](_0x5054be[_0x4f953e(0x14c)][_0x4f953e(0x13b)],_0x4f953e(0xf9),()=>{const _0x28b3e0=_0x4f953e;this[_0x28b3e0(0xd4)]();}),this[_0x4f953e(0x11a)](),_0x5054be[_0x4f953e(0x116)]['on'](_0x4f953e(0x93),(_0x1d8927,_0x51310e)=>{const _0x1bfb38=_0x4f953e,_0x41352a=_0x51310e[0x0];_0x41352a[_0x1bfb38(0x119)]&&(this[_0x1bfb38(0x142)](_0x41352a),this[_0x1bfb38(0xb6)]()&&this[_0x1bfb38(0x111)]());}),this[_0x4f953e(0x16a)](),this[_0x4f953e(0xa3)](_0x4f953e(0x16d))['to'](_0x275a44,_0x4f953e(0x170),this,_0x4f953e(0x121),(_0x42024a,_0x295cf9)=>_0x4f953e(0x180)===_0x42024a&&!_0x295cf9),this['on'](_0x4f953e(0x12e),()=>{const _0xbf5c9=_0x4f953e;this[_0xbf5c9(0x16d)]?_0x5054be[_0xbf5c9(0x184)](_0xbf5c9(0x125)):_0x5054be[_0xbf5c9(0xfe)](_0xbf5c9(0x125));}),this[_0x4f953e(0x16d)]?_0x5054be[_0x4f953e(0x184)](_0x4f953e(0x125)):_0x5054be[_0x4f953e(0xfe)](_0x4f953e(0x125)),this[_0x4f953e(0x16f)](_0x4f953e(0x13c),!0x1);}async[_0x311249(0xf1)](){const _0x4a1ae9=_0x311249,_0x5cdaff=this[_0x4a1ae9(0x90)][_0x4a1ae9(0x193)][_0x4a1ae9(0x9e)](_0x51b161),_0x285deb=this[_0x4a1ae9(0x90)][_0x4a1ae9(0x193)][_0x4a1ae9(0x9e)](_0x1a0ccc);try{this[_0x4a1ae9(0x91)]=!0x0,_0x5cdaff[_0x4a1ae9(0xd9)](this[_0x4a1ae9(0x140)]);const _0x2aa23a=await this[_0x4a1ae9(0x18a)][_0x4a1ae9(0xf1)](_0x285deb[_0x4a1ae9(0x122)],this[_0x4a1ae9(0xba)]);await this[_0x4a1ae9(0x190)](_0x2aa23a)&&(this[_0x4a1ae9(0x91)]=!0x1,this[_0x4a1ae9(0xd1)]());const _0x1f9df4=await this[_0x4a1ae9(0x18a)][_0x4a1ae9(0x13e)]();_0x5cdaff[_0x4a1ae9(0x94)](this[_0x4a1ae9(0x140)],_0x1f9df4),this[_0x4a1ae9(0x108)](),this[_0x4a1ae9(0x13c)]=!0x0;}catch(_0x235e3e){if(function(_0x40f2b4){const _0x34fbe0=_0x4a1ae9;return _0x34fbe0(0xb5)===_0x40f2b4[_0x34fbe0(0x163)];}(_0x235e3e)&&this[_0x4a1ae9(0xc8)])await this[_0x4a1ae9(0xc7)]();else{if(function(_0x5db7bd){const _0x5a1407=_0x4a1ae9;return _0x5a1407(0xd0)===_0x5db7bd[_0x5a1407(0x163)];}(_0x235e3e)){const _0x1d1cd4=_0x367e81(this[_0x4a1ae9(0x90)][_0x4a1ae9(0xe3)],_0x4a1ae9(0x14b));this[_0x4a1ae9(0x12d)](_0x1d1cd4);}else{if(!(_0x235e3e instanceof G))throw _0x235e3e;this[_0x4a1ae9(0x12d)]();}}}}[_0x311249(0xc1)](){const _0x1e4465=_0x311249,_0x27af6a=this[_0x1e4465(0x90)][_0x1e4465(0x193)][_0x1e4465(0x9e)](_0x1a0ccc),_0x385171=this[_0x1e4465(0x90)][_0x1e4465(0x193)][_0x1e4465(0x9e)](_0x51b161);this[_0x1e4465(0x90)][_0x1e4465(0xfe)](_0x1e4465(0x113)),_0x385171[_0x1e4465(0x132)][_0x1e4465(0x144)](this[_0x1e4465(0x140)])&&_0x385171[_0x1e4465(0xd9)](this[_0x1e4465(0x140)]),_0x27af6a[_0x1e4465(0x162)](this),this[_0x1e4465(0xbe)](),super[_0x1e4465(0xc1)]();}async[_0x311249(0x190)](_0xd96533){const _0x462fee=_0x311249;if(this[_0x462fee(0xc8)]!==_0xd96533[_0x462fee(0xc8)]&&this[_0x462fee(0x15c)]!==_0xd96533[_0x462fee(0x10a)])throw new G();return this[_0x462fee(0xc8)]=_0xd96533[_0x462fee(0xc8)],this[_0x462fee(0x18c)]([],{..._0xd96533,'wereChangesApplied':!0x1,'data':_0xd96533[_0x462fee(0x10d)]},_0x462fee(0xf1));}async[_0x311249(0x12a)](_0x41ef15,_0x3a1124=!0x1){const _0x5a6dd4=_0x311249,{connection:_0x5b891b}=this[_0x5a6dd4(0x90)][_0x5a6dd4(0x193)][_0x5a6dd4(0x9e)](_0x1a0ccc);RealTimeCollaborationClient[_0x5a6dd4(0xac)][_0x5a6dd4(0x13e)](_0x5b891b,this[_0x5a6dd4(0x140)])[_0x5a6dd4(0x103)](_0x55187b=>this[_0x5a6dd4(0x123)](_0x55187b))[_0x5a6dd4(0xfc)](_0x40be2f=>{const _0x250331=_0x5a6dd4;this[_0x250331(0xde)](_0x250331(0x152),_0x40be2f);}),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0x174),this[_0x5a6dd4(0xa5)][_0x5a6dd4(0xa3)](this)),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0x10f),(_0xc5461a,_0x4cb630)=>{const _0x1c3279=_0x5a6dd4;this[_0x1c3279(0xde)](_0x1c3279(0xbc),_0x4cb630);}),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0xf2),()=>{const _0x39ccb1=_0x5a6dd4;this[_0x39ccb1(0x13c)]=!0x1;});const _0x34a57c=this[_0x5a6dd4(0xfa)][_0x5a6dd4(0x104)](_0x41ef15);this[_0x5a6dd4(0x91)]=!0x0;const _0x47db6d=await this[_0x5a6dd4(0x18a)][_0x5a6dd4(0x171)](_0x5b891b,this[_0x5a6dd4(0x13f)](_0x41ef15),_0x34a57c);if(this[_0x5a6dd4(0xc8)]=_0x47db6d[_0x5a6dd4(0xc8)],_0x3a1124){if(!_0x47db6d[_0x5a6dd4(0xc3)])return void this[_0x5a6dd4(0x12d)]();this[_0x5a6dd4(0x91)]=!0x1,this[_0x5a6dd4(0xd1)](),this[_0x5a6dd4(0x13a)][_0x5a6dd4(0x172)](),this[_0x5a6dd4(0x12c)]=_0x47db6d[_0x5a6dd4(0x176)],this[_0x5a6dd4(0x13a)][_0x5a6dd4(0x117)]=this[_0x5a6dd4(0x12c)],await this[_0x5a6dd4(0x18c)](_0x41ef15,_0x47db6d,_0x5a6dd4(0x139));}else await this[_0x5a6dd4(0x112)](_0x47db6d,_0x41ef15);this[_0x5a6dd4(0x108)](),this[_0x5a6dd4(0x13c)]=!0x0;}[_0x311249(0x108)](){const _0x509a6e=_0x311249,_0xe3c925=this[_0x509a6e(0x90)][_0x509a6e(0x193)][_0x509a6e(0x9e)](_0x51b161),_0x18fca4=this[_0x509a6e(0x90)][_0x509a6e(0x193)][_0x509a6e(0x9e)](_0x50f671),_0x2d3c9e=_0xe3c925[_0x509a6e(0x132)][_0x509a6e(0x9e)](this[_0x509a6e(0x140)]);_0x2d3c9e&&_0x2d3c9e[_0x509a6e(0x143)]>0x1?_0x18fca4[_0x509a6e(0xdc)]():this[_0x509a6e(0x15a)](_0xe3c925,_0x509a6e(0xca)+this[_0x509a6e(0x140)],()=>{const _0x56e032=_0x509a6e;0x2===_0xe3c925[_0x56e032(0x132)][_0x56e032(0x9e)](this[_0x56e032(0x140)])[_0x56e032(0x143)]&&_0x18fca4[_0x56e032(0xdc)]();});}async[_0x311249(0xa5)](_0x2ac99c,_0x5a9734,_0x207153,_0x43b9ea){const _0x32de56=_0x311249;if(!this[_0x32de56(0x91)]&&this[_0x32de56(0x194)][_0x32de56(0x117)]==_0x5a9734){const _0x155919=this[_0x32de56(0x16b)](_0x207153,_0x43b9ea);await this[_0x32de56(0xaa)](_0x155919),this[_0x32de56(0x92)](_0x155919,_0x5a9734,_0x207153[_0x32de56(0x10a)])||this[_0x32de56(0xde)](_0x32de56(0x153));}}async[_0x311249(0xc7)](){const _0x35f820=_0x311249;this[_0x35f820(0xbe)]();const {locale:_0x16d588}=this[_0x35f820(0x90)];let _0x44ad7c;try{_0x44ad7c=await this[_0x35f820(0x18a)][_0x35f820(0xdd)]();}catch{const _0x483ec8=_0x367e81(_0x16d588,_0x35f820(0x189));return void this[_0x35f820(0x12d)](_0x483ec8);}const _0x318e68=_0x44ad7c[_0x35f820(0xc0)]||_0x44ad7c[_0x35f820(0x99)];if(this[_0x35f820(0x15c)]!==_0x318e68[_0x35f820(0x10a)]){const _0x250ccf=_0x367e81(_0x16d588,_0x35f820(0xcd));return void this[_0x35f820(0x12d)](_0x250ccf);}await this[_0x35f820(0x12a)](this[_0x35f820(0x90)][_0x35f820(0x116)][_0x35f820(0x138)][_0x35f820(0x169)][_0x35f820(0x17f)](),!0x0);}[_0x311249(0xbe)](){const _0x15f274=_0x311249;this[_0x15f274(0x18a)][_0x15f274(0xb8)](),this[_0x15f274(0x179)]=[],clearTimeout(this[_0x15f274(0xc5)]),this[_0x15f274(0x114)](this[_0x15f274(0x18a)]);}[_0x311249(0x123)](_0x301278){const _0x20a423=_0x311249,_0xa16174=this[_0x20a423(0x90)][_0x20a423(0x193)][_0x20a423(0x9e)](_0x51b161);this[_0x20a423(0x15a)](_0xa16174,_0x20a423(0xca)+this[_0x20a423(0x140)],(_0xe3351f,{session:_0x5011fa})=>{const _0x3995f4=_0x20a423;if(_0x5011fa['id']===_0xa16174[_0x3995f4(0x173)]){_0xe3351f[_0x3995f4(0x175)]();const _0x3be41d=this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x144)](_0x3995f4(0xce))&&this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x9e)](_0x3995f4(0xce));let _0x20797b=_0x5011fa[_0x3995f4(0x9d)];_0x3be41d&&_0x3be41d[_0x3995f4(0xd7)]&&(_0x20797b=_0x20797b[_0x3995f4(0x110)](_0x1608ac=>_0x3995f4(0x16e)!==_0x1608ac)),this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x9e)](_0x3995f4(0xe9))[_0x3995f4(0xe8)](_0x20797b,this[_0x3995f4(0x140)]);}}),_0xa16174[_0x20a423(0x94)](this[_0x20a423(0x140)],_0x301278);}[_0x311249(0x11a)](){const _0x437c4c=_0x311249,_0x4da5e4=this[_0x437c4c(0x90)][_0x437c4c(0x10d)][_0x437c4c(0x16f)];this[_0x437c4c(0x90)][_0x437c4c(0x10d)][_0x437c4c(0x16f)]=(..._0x5b70b9)=>{const _0x39ec23=_0x437c4c;if(!_0x5b70b9[_0x5b70b9[_0x39ec23(0x143)]-0x1][_0x39ec23(0xbf)])throw new _0x40c897(_0x39ec23(0x9a),this);_0x4da5e4[_0x39ec23(0x182)](this[_0x39ec23(0x90)][_0x39ec23(0x10d)],_0x5b70b9);};}[_0x311249(0x16a)](){const _0x2f6aba=_0x311249;this[_0x2f6aba(0x90)][_0x2f6aba(0x10d)]['on'](_0x2f6aba(0xe6),(_0x333ec3,[_0xc65d0a])=>{const _0x4f43de=_0x2f6aba;if(this[_0x4f43de(0x194)][_0x4f43de(0x117)])throw new _0x40c897(_0x4f43de(0xa8),this);_0x333ec3[_0x4f43de(0xbb)](),this[_0x4f43de(0x168)]();const _0x303a39=this[_0x4f43de(0x90)][_0x4f43de(0x14e)][_0x4f43de(0x9e)](_0x4f43de(0x187)),_0x51b59b=this[_0x4f43de(0xdb)](_0xc65d0a,_0x303a39);0x0==_0x51b59b[_0x4f43de(0x143)]&&_0x51b59b[_0x4f43de(0xad)](new _0x2057d4(0x0)),_0x333ec3[_0x4f43de(0x115)]=this[_0x4f43de(0x12a)](_0x51b59b)[_0x4f43de(0x103)](()=>{const _0x2d2194=_0x4f43de;this[_0x2d2194(0x90)][_0x2d2194(0x193)][_0x2d2194(0x9e)](_0x1a0ccc)[_0x2d2194(0x10c)](this),this[_0x2d2194(0x90)][_0x2d2194(0x10d)][_0x2d2194(0xe5)](_0x2d2194(0xa4));})[_0x4f43de(0xfc)](_0x24ba24=>this[_0x4f43de(0xde)](_0x4f43de(0xb9),_0x24ba24))[_0x4f43de(0x15e)](()=>this[_0x4f43de(0xd1)]());},{'priority':_0x2f6aba(0x164)}),this[_0x2f6aba(0x90)]['on'](_0x2f6aba(0xb2),async(_0x5e0978,[_0x1ce4d5,_0x39cacc])=>{const _0x444ad8=_0x2f6aba;_0x5e0978[_0x444ad8(0xbb)]();const _0x638654=this[_0x444ad8(0x90)][_0x444ad8(0x116)][_0x444ad8(0x138)][_0x444ad8(0x11c)](_0x1ce4d5);if(!this[_0x444ad8(0xf7)][_0x444ad8(0x144)](_0x1ce4d5)){const _0x39c3bf=_0x39cacc&&_0x39cacc[_0x444ad8(0x10d)]?_0x39cacc[_0x444ad8(0x10d)]:'',_0x326203=_0x39cacc&&_0x39cacc[_0x444ad8(0x102)]?_0x39cacc[_0x444ad8(0x102)]:{};await this[_0x444ad8(0x191)](_0x1ce4d5,_0x39c3bf,_0x326203);}this[_0x444ad8(0x90)][_0x444ad8(0x116)][_0x444ad8(0x13d)]({'isUndoable':!0x1},()=>{const _0x2473cc=_0x444ad8;_0x638654[_0x2473cc(0xa6)]=!0x0,this[_0x2473cc(0x90)][_0x2473cc(0x116)][_0x2473cc(0x138)][_0x2473cc(0x129)][_0x2473cc(0xe4)](_0x638654);});},{'priority':_0x2f6aba(0x164)});}async[_0x311249(0xaa)](_0x17c43b){const _0x2a9aeb=_0x311249,_0x422cb6=this[_0x2a9aeb(0x90)][_0x2a9aeb(0x193)][_0x2a9aeb(0x9e)](_0x22875c),{connection:_0x3811c5}=this[_0x2a9aeb(0x90)][_0x2a9aeb(0x193)][_0x2a9aeb(0x9e)](_0x1a0ccc),_0xe5ad55=new Set();for(const _0x31d0a6 of _0x17c43b){const _0xe31689=_0x31d0a6[_0x2a9aeb(0xc9)];_0xe31689&&!_0x422cb6[_0x2a9aeb(0x9f)](_0xe31689)&&_0xe5ad55[_0x2a9aeb(0xa1)](_0xe31689);}if(0x0===_0xe5ad55[_0x2a9aeb(0xf5)])return;const _0x1a18bd=await _0x22719e[_0x2a9aeb(0x11f)](_0x3811c5,Array[_0x2a9aeb(0xf0)](_0xe5ad55));for(const _0x19d513 of _0x1a18bd)_0x422cb6[_0x2a9aeb(0x9f)](_0x19d513['id'])||_0x422cb6[_0x2a9aeb(0xf6)](_0x19d513);}[_0x311249(0xdb)](_0x250d8a,_0xf8f522={}){const _0x54df52=_0x311249,_0xe0ee2b=this[_0x54df52(0x90)][_0x54df52(0x116)],_0x1fbca6=[];let _0x53d946=0x0;const _0x55e40d=_0x54df52(0x155)==typeof _0x250d8a?{'main':_0x250d8a}:_0x250d8a;for(const _0x5015db of Object[_0x54df52(0xfd)](_0x55e40d)){if(!this[_0x54df52(0x194)][_0x54df52(0x136)][_0x54df52(0x144)](_0x5015db))throw new _0x40c897(_0x54df52(0x148),this);const _0x5bf517=this[_0x54df52(0x90)][_0x54df52(0x10d)][_0x54df52(0xda)](_0x55e40d[_0x5015db]),_0x1a6d15=this[_0x54df52(0x194)][_0x54df52(0x11c)](_0x5015db),_0x5de782=new _0x183675(_0xe0ee2b[_0x54df52(0x17d)](_0x1a6d15,0x0),_0x5bf517,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x5de782);for(const [_0x9bfe3e,_0x3fc626]of _0x5bf517[_0x54df52(0x105)]){const _0x590383=_0xe0ee2b[_0x54df52(0xec)](_0xe0ee2b[_0x54df52(0x177)](_0x1a6d15,_0x3fc626[_0x54df52(0xb0)][_0x54df52(0x16c)][_0x54df52(0xe1)]()),_0xe0ee2b[_0x54df52(0x177)](_0x1a6d15,_0x3fc626[_0x54df52(0x167)][_0x54df52(0x16c)][_0x54df52(0xe1)]())),_0x34a7b6=new _0x99ed8f(_0x9bfe3e,null,_0x590383,_0xe0ee2b[_0x54df52(0x105)],!0x0,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x34a7b6);}}if(_0xf8f522)for(const [_0xc258ff,_0x28e646]of Object[_0x54df52(0x188)](_0xf8f522)){const _0x795b4d=_0xe0ee2b[_0x54df52(0x138)][_0x54df52(0x11c)](_0xc258ff);if(!_0x795b4d)throw new _0x40c897(_0x54df52(0x192),null);for(const [_0x37aabd,_0x5b1704]of Object[_0x54df52(0x188)](_0x28e646))if(null!==_0x5b1704){const _0x147bf0=new _0x3e23b1(_0x795b4d,_0x37aabd,null,_0x5b1704,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x147bf0);}}return _0x1fbca6;}async[_0x311249(0x191)](_0x5126d9,_0x557a3d,_0x402f94){const _0x462c23=_0x311249;this[_0x462c23(0xdb)]({[_0x5126d9]:_0x557a3d},{[_0x5126d9]:_0x402f94})[_0x462c23(0x166)]((_0x484719,_0x149403)=>{const _0x50f6bd=_0x462c23;_0x484719[_0x50f6bd(0x137)]=this[_0x50f6bd(0x194)][_0x50f6bd(0x117)]+_0x149403,_0x484719[_0x50f6bd(0x9c)]=!0x0,this[_0x50f6bd(0x142)](_0x484719);}),this[_0x462c23(0x111)](),await this[_0x462c23(0x160)]();}async[_0x311249(0x112)](_0x3d4a35,_0x381e68){const _0x14d99b=_0x311249;let _0x12ddc5;this[_0x14d99b(0x12c)]=_0x3d4a35[_0x14d99b(0x176)];const _0x107209=_0x3d4a35[_0x14d99b(0xc3)]&&!_0x3d4a35[_0x14d99b(0x17a)],_0x293fb2=_0x107209?0x0:_0x3d4a35[_0x14d99b(0x10d)][_0x14d99b(0x137)];if(_0x381e68[_0x14d99b(0x166)](_0x2d1aaa=>{const _0x4de3ac=_0x14d99b;_0x2d1aaa[_0x4de3ac(0x9c)]=!0x0,_0x2d1aaa[_0x4de3ac(0x12b)]=_0x3d4a35[_0x4de3ac(0xe7)],_0x2d1aaa[_0x4de3ac(0xc9)]=null;}),_0x107209)_0x12ddc5=_0x381e68,this[_0x14d99b(0x150)](_0x12ddc5,_0x107209);else{if(_0x3d4a35[_0x14d99b(0x17a)]){const _0xad9179=this[_0x14d99b(0xdb)](_0x3d4a35[_0x14d99b(0x17a)]);this[_0x14d99b(0x194)][_0x14d99b(0x169)][_0x14d99b(0x117)]=-_0xad9179[_0x14d99b(0x143)],_0xad9179[_0x14d99b(0x166)](_0x23e0fd=>{const _0x258f15=_0x14d99b;_0x23e0fd[_0x258f15(0x137)]-=_0xad9179[_0x258f15(0x143)],_0x23e0fd[_0x258f15(0x12b)]=_0x3d4a35[_0x258f15(0xe7)],_0x23e0fd[_0x258f15(0x9c)]=!0x0,_0x23e0fd[_0x258f15(0xc9)]=null;}),this[_0x14d99b(0x150)](_0xad9179,!0x0),this[_0x14d99b(0x13a)][_0x14d99b(0x117)]=-_0xad9179[_0x14d99b(0x143)]+this[_0x14d99b(0x12c)],this[_0x14d99b(0x146)](_0xad9179);}this[_0x14d99b(0x194)][_0x14d99b(0x169)][_0x14d99b(0x117)]=_0x293fb2,_0x12ddc5=this[_0x14d99b(0x16b)](_0x3d4a35[_0x14d99b(0x10d)],_0x3d4a35[_0x14d99b(0xd5)]),await this[_0x14d99b(0xaa)](_0x12ddc5),this[_0x14d99b(0x150)](_0x12ddc5,_0x107209);}_0x3d4a35[_0x14d99b(0x10a)]&&(this[_0x14d99b(0xfa)][_0x14d99b(0x126)](_0x12ddc5,_0x3d4a35[_0x14d99b(0x10a)]),this[_0x14d99b(0x15c)]=_0x3d4a35[_0x14d99b(0x10a)]),this[_0x14d99b(0x13a)][_0x14d99b(0x117)]=_0x293fb2+this[_0x14d99b(0x12c)],this[_0x14d99b(0x146)](_0x12ddc5),_0x381e68[_0x14d99b(0x110)](_0x392402=>{const _0x17c3fd=_0x14d99b,_0x3f643c=this[_0x17c3fd(0x127)](_0x392402);return _0x3f643c&&!this[_0x17c3fd(0xf7)][_0x17c3fd(0x144)](_0x3f643c);})[_0x14d99b(0x166)]((_0x8a780c,_0x103569)=>{const _0x4601cb=_0x14d99b;_0x8a780c[_0x4601cb(0x137)]=this[_0x4601cb(0x194)][_0x4601cb(0x117)]+_0x103569,this[_0x4601cb(0x142)](_0x8a780c);}),this[_0x14d99b(0xb6)]()?(this[_0x14d99b(0xea)]=0x0,this[_0x14d99b(0x111)](!0x0),await this[_0x14d99b(0x160)]()):(this[_0x14d99b(0x91)]=!0x1,this[_0x14d99b(0xd1)]());}[_0x311249(0xde)](_0x2c98dd,_0x167303){const _0x13e048=_0x311249,_0x59c6be=_0x167303&&_0x167303[_0x13e048(0x178)];if(_0x59c6be&&_0x59c6be[_0x13e048(0xf4)](_0x13e048(0x96)))throw _0x167303;const _0x498c55=this[_0x13e048(0x90)][_0x13e048(0x193)][_0x13e048(0x9e)](_0x1a0ccc);throw this[_0x13e048(0x91)]=!0x0,_0x498c55[_0x13e048(0xb8)](),this[_0x13e048(0x90)][_0x13e048(0xfe)](_0x13e048(0xcb)),new _0x40c897(_0x2c98dd,this[_0x13e048(0x90)],_0x59c6be?{'originalError':_0x59c6be}:void 0x0);}[_0x311249(0x142)](_0x54bf4f){const _0x4024a8=_0x311249;this[_0x4024a8(0xa2)][_0x4024a8(0x144)](_0x54bf4f)||(this[_0x4024a8(0xa2)][_0x4024a8(0xa1)](_0x54bf4f),this[_0x4024a8(0x179)][_0x4024a8(0xad)](_0x54bf4f),this[_0x4024a8(0xcf)]||_0x4024a8(0x18e)==_0x54bf4f[_0x4024a8(0x151)]&&!_0x54bf4f[_0x4024a8(0x15b)]||this[_0x4024a8(0x168)]());}[_0x311249(0x111)](_0x1febc8=!0x1){const _0xfe3bf5=_0x311249;!_0x1febc8&&this[_0xfe3bf5(0x91)]||(this[_0xfe3bf5(0x91)]=!0x0,clearTimeout(this[_0xfe3bf5(0xc5)]),this[_0xfe3bf5(0xc5)]=setTimeout(()=>{const _0x353d1e=_0xfe3bf5;this[_0x353d1e(0x98)]()[_0x353d1e(0x103)](_0x541a1a=>{const _0x885fe1=_0x353d1e;_0x541a1a&&(this[_0x885fe1(0xd1)](),this[_0x885fe1(0x91)]=!0x1);})[_0x353d1e(0xfc)](_0x2db93d=>{const _0x4264e2=_0x353d1e;this[_0x4264e2(0xd1)](),this[_0x4264e2(0x91)]=!0x1,function(_0x3e276b){const _0x30a0ec=_0x4264e2;return _0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0x10b))||_0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0xd3))||_0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0x18f));}(_0x2db93d)||this[_0x4264e2(0xde)](_0x2db93d[_0x4264e2(0x178)],_0x2db93d);});},this[_0xfe3bf5(0xea)]));}[_0x311249(0x160)](){return new Promise(_0x39940a=>{const _0x242463=_0x1fad;this['on'](_0x242463(0x141),()=>{_0x39940a();});});}async[_0x311249(0x98)](){const _0x4b3cf2=_0x311249,_0x3ccde9=this[_0x4b3cf2(0x90)][_0x4b3cf2(0x193)][_0x4b3cf2(0x9e)](_0x50f671);if(this[_0x4b3cf2(0xe0)]()&&(_0x3ccde9[_0x4b3cf2(0xdc)](),this[_0x4b3cf2(0xc2)]=!0x1),!this[_0x4b3cf2(0xb6)]())return!0x0;const _0x3e5d85=[...this[_0x4b3cf2(0x179)]];for(const _0x4a4523 of _0x3e5d85)_0x4a4523[_0x4b3cf2(0x195)]=this[_0x4b3cf2(0x194)][_0x4b3cf2(0x169)][_0x4b3cf2(0x14d)](_0x4a4523);const _0x2a619b=this[_0x4b3cf2(0xfa)][_0x4b3cf2(0x104)](_0x3e5d85),_0x3fa8ae=q++,_0x5b4c63=this[_0x4b3cf2(0x13f)](_0x3e5d85),_0x5e58cf=await this[_0x4b3cf2(0x18a)][_0x4b3cf2(0x134)](_0x5b4c63,_0x5b4c63[_0x4b3cf2(0x137)],_0x2a619b);try{return await this[_0x4b3cf2(0x18c)](_0x3e5d85,_0x5e58cf,_0x3fa8ae);}catch(_0x3fabb7){return this[_0x4b3cf2(0xde)](_0x4b3cf2(0xa9),_0x3fabb7);}}async[_0x311249(0x18c)](_0x43e9e4,_0x1d98e8,_0x1873d7){const _0x2a216c=_0x311249;if(_0x2a216c(0x10f)in _0x1d98e8)throw _0x1d98e8[_0x2a216c(0x10f)];let _0x29d7f4=!0x1;if(_0x1d98e8[_0x2a216c(0xc3)]){_0x1d98e8[_0x2a216c(0x10a)]&&(this[_0x2a216c(0x15c)]=_0x1d98e8[_0x2a216c(0x10a)]),this[_0x2a216c(0x179)]=this[_0x2a216c(0x179)][_0x2a216c(0x110)](_0x400578=>!_0x43e9e4[_0x2a216c(0x15f)](_0x400578));for(const _0x63e4ab of _0x43e9e4)_0x63e4ab[_0x2a216c(0x12b)]=_0x2a216c(0x133)in _0x1d98e8&&_0x1d98e8[_0x2a216c(0x133)]||void 0x0;$(_0x43e9e4,_0x1d98e8[_0x2a216c(0x117)]-_0x43e9e4[_0x2a216c(0x143)]),this[_0x2a216c(0x146)](_0x43e9e4);const _0x26e81d=_0x43e9e4[_0x2a216c(0x110)](_0x3993b3=>{const _0x1591dc=_0x2a216c;if(!_0x3993b3[_0x1591dc(0x9c)])return!0x1;const _0x529096=this[_0x1591dc(0x127)](_0x3993b3);return _0x529096&&!this[_0x1591dc(0xf7)][_0x1591dc(0x144)](_0x529096);});$(_0x26e81d,this[_0x2a216c(0x194)][_0x2a216c(0x117)]),this[_0x2a216c(0x150)](_0x26e81d),_0x29d7f4=!0x0,this[_0x2a216c(0xea)]=this[_0x2a216c(0x9b)];}else{const _0x122316=this[_0x2a216c(0x16b)](_0x1d98e8[_0x2a216c(0x10d)],_0x1d98e8[_0x2a216c(0xd5)])[_0x2a216c(0x110)](_0x1e86cb=>_0x1e86cb[_0x2a216c(0x137)]>=this[_0x2a216c(0xa7)]);_0x122316[_0x2a216c(0x166)](_0x316fed=>this[_0x2a216c(0x120)](_0x316fed)),this[_0x2a216c(0x179)]=this[_0x2a216c(0x179)][_0x2a216c(0x110)](_0x5b7652=>!_0x5b7652[_0x2a216c(0x9c)]||!this[_0x2a216c(0xf7)][_0x2a216c(0x144)](this[_0x2a216c(0x127)](_0x5b7652))),this[_0x2a216c(0x179)][_0x2a216c(0x143)]&&$(this[_0x2a216c(0x179)],this[_0x2a216c(0x179)][0x0][_0x2a216c(0x137)]),await this[_0x2a216c(0xaa)](_0x122316),_0x29d7f4=this[_0x2a216c(0x92)](_0x122316,_0x1d98e8[_0x2a216c(0x117)],_0x1d98e8[_0x2a216c(0x10a)]),this[_0x2a216c(0xea)]=Math[_0x2a216c(0x149)](this[_0x2a216c(0xea)]/0x2);}return _0x29d7f4?!this[_0x2a216c(0xb6)]()||(this[_0x2a216c(0x111)](!0x0),!0x1):this[_0x2a216c(0xde)](_0x2a216c(0xb7));}[_0x311249(0x92)](_0x1666e5,_0x17fda9,_0x366b34){const _0x3c7c34=_0x311249;try{const _0x2a834f={'document':this[_0x3c7c34(0x194)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x16edff,operationsB:_0x473d79,originalOperations:_0x2d0967}=_0x58c5c9(_0x1666e5,this[_0x3c7c34(0x179)],_0x2a834f);$(_0x16edff,this[_0x3c7c34(0x194)][_0x3c7c34(0x117)]),$(_0x473d79,_0x17fda9);for(const _0x4d861d of _0x16edff){const _0xd18bf9=_0x2d0967[_0x3c7c34(0x9e)](_0x4d861d);_0x4d861d[_0x3c7c34(0xc9)]=_0xd18bf9?_0xd18bf9[_0x3c7c34(0xc9)]:null;}_0x366b34&&(this[_0x3c7c34(0xfa)][_0x3c7c34(0x126)](_0x1666e5,_0x366b34),this[_0x3c7c34(0x15c)]=_0x366b34),this[_0x3c7c34(0x179)]=[..._0x473d79],this[_0x3c7c34(0x150)](_0x16edff),this[_0x3c7c34(0x146)](_0x1666e5);}catch(_0x2e04cf){return console[_0x3c7c34(0x10f)](_0x2e04cf),!0x1;}return!0x0;}[_0x311249(0x150)](_0x1213f7,_0x1e53e2=!0x1){const _0xe61c3=_0x311249;this[_0xe61c3(0x90)][_0xe61c3(0x116)][_0xe61c3(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x15a61a=>{const _0x4e5540=_0xe61c3;for(const _0x10033b of _0x1213f7)this[_0x4e5540(0xa2)][_0x4e5540(0xa1)](_0x10033b),this[_0x4e5540(0x120)](_0x10033b),_0x15a61a[_0x4e5540(0x17b)][_0x4e5540(0x10e)](_0x10033b),this[_0x4e5540(0x90)][_0x4e5540(0x116)][_0x4e5540(0x93)](_0x10033b);});}[_0x311249(0x120)](_0x189b43){const _0x1b9122=_0x311249,_0x412c2e=this[_0x1b9122(0x127)](_0x189b43);_0x412c2e&&this[_0x1b9122(0xf7)][_0x1b9122(0xa1)](_0x412c2e);}[_0x311249(0x127)](_0x381fe1){const _0x52f361=_0x311249;let _0x1097b8,_0x226dd1;switch(_0x381fe1[_0x52f361(0x151)]){case _0x52f361(0x106):_0x1097b8=_0x381fe1[_0x52f361(0x154)][_0x52f361(0x135)];break;case _0x52f361(0x18e):if(_0x226dd1=_0x381fe1[_0x52f361(0x11e)],!_0x226dd1)return null;_0x1097b8=_0x226dd1[_0x52f361(0x135)];break;case _0x52f361(0xb4):_0x1097b8=_0x381fe1[_0x52f361(0x135)];break;case _0x52f361(0x147):_0x1097b8=_0x381fe1[_0x52f361(0x15d)];break;case _0x52f361(0xff):_0x1097b8=_0x381fe1[_0x52f361(0xd8)][_0x52f361(0x135)];break;default:return null;}return _0x1097b8[_0x52f361(0x109)];}[_0x311249(0x146)](_0x511e17){const _0x296480=_0x311249;_0x511e17[_0x296480(0x166)](_0x459a25=>{const _0x254f45=_0x296480,_0x330c6c=_0x459a25[_0x254f45(0x131)]();_0x330c6c[_0x254f45(0xc9)]=_0x459a25[_0x254f45(0xc9)],_0x330c6c[_0x254f45(0x9c)]=!!_0x459a25[_0x254f45(0x9c)],_0x330c6c[_0x254f45(0x12b)]=_0x459a25[_0x254f45(0x12b)],_0x330c6c[_0x254f45(0x137)]+=this[_0x254f45(0x12c)],_0x459a25[_0x254f45(0xdf)]&&this[_0x254f45(0xaf)][_0x254f45(0xa1)](_0x330c6c),this[_0x254f45(0x13a)][_0x254f45(0x10e)](_0x330c6c);});}[_0x311249(0x12d)](_0x3359b2){const _0x427b68=_0x311249,_0xdcf7c4=this[_0x427b68(0x90)][_0x427b68(0x193)][_0x427b68(0x9e)](_0x427b68(0xae)),_0x2a65f2=this[_0x427b68(0x90)][_0x427b68(0xe3)];_0x3359b2||(_0x3359b2=_0x367e81(_0x2a65f2,_0x427b68(0xd6))),_0xdcf7c4[_0x427b68(0xcc)](_0x3359b2,{'title':_0x367e81(_0x2a65f2,_0x427b68(0xb1)),'namespace':_0x427b68(0x107)}),this[_0x427b68(0x121)]=!0x0,clearTimeout(this[_0x427b68(0xc5)]),this[_0x427b68(0x179)]=[],this[_0x427b68(0x90)][_0x427b68(0x193)][_0x427b68(0x9e)](_0x1a0ccc)[_0x427b68(0xb8)]();}[_0x311249(0x168)](){const _0x245bb9=_0x311249;this[_0x245bb9(0xcf)]||(this[_0x245bb9(0xcf)]=this[_0x245bb9(0x90)][_0x245bb9(0x193)][_0x245bb9(0x9e)](_0x2c5b7c)[_0x245bb9(0xa1)](_0x367e81(this[_0x245bb9(0x90)][_0x245bb9(0xe3)],_0x245bb9(0x14a))));}[_0x311249(0xd1)](){const _0x5c0341=_0x311249;this[_0x5c0341(0xcf)]&&(this[_0x5c0341(0x90)][_0x5c0341(0x193)][_0x5c0341(0x9e)](_0x2c5b7c)[_0x5c0341(0xab)](this[_0x5c0341(0xcf)]),this[_0x5c0341(0xcf)]=null);}[_0x311249(0x13f)](_0x268977){const _0x43f326=_0x311249,_0x1bbbcf=_0x268977[_0x43f326(0x183)](_0xbc9ac5=>_0xbc9ac5[_0x43f326(0x124)]());return this[_0x43f326(0xfb)][_0x43f326(0x118)](_0x1bbbcf);}[_0x311249(0x16b)](_0x10ee54,_0xdfe8e){const _0xbb6223=_0x311249;return this[_0xbb6223(0xfb)][_0xbb6223(0x159)](_0x10ee54)[_0xbb6223(0x183)]((_0x1badb4,_0x40a968)=>{const _0x4662aa=_0xbb6223,_0x2b3b2d=_0x4662aa(0xe6)==_0xdfe8e[_0x40a968][_0x4662aa(0x151)];if(_0x4662aa(0x186)==_0x1badb4[_0x4662aa(0x11b)]){const _0x23333d=_0x1badb4[_0x4662aa(0x154)][_0x4662aa(0x135)];!this[_0x4662aa(0x194)][_0x4662aa(0x11c)](_0x23333d)&&(this[_0x4662aa(0x194)][_0x4662aa(0x158)](_0x4662aa(0x130),_0x23333d)[_0x4662aa(0x101)]=!0x1);}const _0x2ddc38=_0x404ae6[_0x4662aa(0x11d)](_0x1badb4,this[_0x4662aa(0x194)]);return _0x2ddc38[_0x4662aa(0x195)]=_0x1badb4[_0x4662aa(0x195)],_0x2ddc38[_0x4662aa(0x9c)]=_0x2b3b2d,_0x2ddc38[_0x4662aa(0xc9)]=_0x2b3b2d?null:_0xdfe8e[_0x40a968][_0x4662aa(0x161)],_0x2ddc38[_0x4662aa(0xdf)]=_0x4662aa(0xed)===_0xdfe8e[_0x40a968][_0x4662aa(0x151)],_0x2ddc38[_0x4662aa(0x12b)]=_0xdfe8e[_0x40a968][_0x4662aa(0x12b)],_0x2ddc38;});}[_0x311249(0xd4)](){const _0x27cf1c=_0x311249;this[_0x27cf1c(0xc2)]=!0x0,this[_0x27cf1c(0xe0)]()?this[_0x27cf1c(0x111)]():this[_0x27cf1c(0xc2)]=!0x1;}[_0x311249(0xe0)](){const _0x3083b1=_0x311249,_0x11094a=this[_0x3083b1(0x90)][_0x3083b1(0x193)][_0x3083b1(0x9e)](_0x51b161)[_0x3083b1(0x132)][_0x3083b1(0x9e)](this[_0x3083b1(0x140)]);return!this[_0x3083b1(0x90)][_0x3083b1(0x165)]&&!!_0x11094a&&_0x11094a[_0x3083b1(0x143)]>0x1&&this[_0x3083b1(0xc2)];}[_0x311249(0xb6)](){const _0x5571cd=_0x311249;return this[_0x5571cd(0x179)][_0x5571cd(0x143)]>0x0||this[_0x5571cd(0xe0)]();}}class G extends Error{}function $(_0x2a6750,_0x310970){const _0x26901d=_0x311249;for(const _0x148649 of _0x2a6750)_0x148649[_0x26901d(0x137)]=_0x310970++;}class K{[_0x311249(0xd2)];[_0x311249(0x95)];constructor(_0x5281b7){const _0x1044eb=_0x311249;this[_0x1044eb(0xd2)]=_0x5281b7,this[_0x1044eb(0x95)]=new WeakMap();}[_0x311249(0x104)](_0x34cbc6){const _0x3f6d38=_0x311249;let _0x43156e=_0x34cbc6[_0x3f6d38(0x143)];for(;_0x43156e--;){const _0x5059a8=_0x34cbc6[_0x43156e];if(!this[_0x3f6d38(0xd2)][_0x3f6d38(0x144)](_0x5059a8)){if(!this[_0x3f6d38(0x95)][_0x3f6d38(0x144)](_0x5059a8)){const _0x27daf6=_0x3b35a5()[_0x3f6d38(0xe1)](0x1,0x12);this[_0x3f6d38(0x95)][_0x3f6d38(0x16f)](_0x5059a8,_0x27daf6);}return this[_0x3f6d38(0x95)][_0x3f6d38(0x9e)](_0x5059a8);}}}[_0x311249(0x126)](_0x56e76f,_0x226713){const _0x433e39=_0x311249;if(!_0x226713)return;let _0x1982c0=_0x56e76f[_0x433e39(0x143)];for(;_0x1982c0--;){const _0x4dc1a4=_0x56e76f[_0x1982c0];this[_0x433e39(0xd2)][_0x433e39(0x144)](_0x4dc1a4)||this[_0x433e39(0x95)][_0x433e39(0x16f)](_0x4dc1a4,_0x226713);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1b99(){const _0x8b058d=['set','clear','_createUser','3604181pWcIQw','delete','fire','change:state','26257272PDfGUK','size','remove','get','role','getUserSessions','5ozCudy','isOfficialPlugin','587256UVlqTz','24130WnaphM','unregister','channelSessions','_uniqueUsersCount','listenTo','4614212JbfFDN','4565VuUbFU','sessionId','sessionAdd:','register','forEach','defineMe','allConnectedUsers','add','plugins','_handleSessionRemove','sessions-register-already-registered','2985672SIhDBB','isPremiumPlugin','context','mySessionId','99VHKJBS','channelConnectedUsers','sessions-unregister-not-exist','Sessions','isMe','stopListening','2eovZeH','assign','user','getUser','state','_users','_registeredSessions','orderNumber','hiddenInPresenceList','6BQjqRr','559823oOusYt','connection','values','_handleSessionAdd','getUserBySessionId','connected','init','requires','pluginName','addUser','getUserRole','has'];_0x1b99=function(){return _0x8b058d;};return _0x1b99();}const _0x26da09=_0x51b9;(function(_0x33b522,_0x30060f){const _0x207704=_0x51b9,_0x515806=_0x33b522();while(!![]){try{const _0xb47f45=-parseInt(_0x207704(0x110))/0x1*(-parseInt(_0x207704(0x106))/0x2)+-parseInt(_0x207704(0xfc))/0x3+-parseInt(_0x207704(0xf0))/0x4*(-parseInt(_0x207704(0xe8))/0x5)+-parseInt(_0x207704(0x10f))/0x6*(parseInt(_0x207704(0x11f))/0x7)+parseInt(_0x207704(0xea))/0x8*(-parseInt(_0x207704(0x100))/0x9)+-parseInt(_0x207704(0xeb))/0xa*(parseInt(_0x207704(0xf1))/0xb)+parseInt(_0x207704(0x123))/0xc;if(_0xb47f45===_0x30060f)break;else _0x515806['push'](_0x515806['shift']());}catch(_0x4f0f53){_0x515806['push'](_0x515806['shift']());}}}(_0x1b99,0x8e367));import{ContextPlugin as _0x3a14cd}from'ckeditor5/src/core.js';import{Collection as _0x22dfab,CKEditorError as _0x27dd70}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x509af8}from'./websocketgateway.js';function _0x51b9(_0x435737,_0x29e88c){const _0x1b9973=_0x1b99();return _0x51b9=function(_0x51b927,_0x3602cc){_0x51b927=_0x51b927-0xe3;let _0x41b42a=_0x1b9973[_0x51b927];return _0x41b42a;},_0x51b9(_0x435737,_0x29e88c);}import{Users as _0x5286f8}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3a14cd{[_0x26da09(0xed)];[_0x26da09(0x101)];[_0x26da09(0xf7)];[_0x26da09(0x10c)];[_0x26da09(0xee)];[_0x26da09(0x10b)];static get[_0x26da09(0x118)](){const _0x48f656=_0x26da09;return _0x48f656(0x103);}static get[_0x26da09(0xe9)](){return!0x0;}static get[_0x26da09(0xfd)](){return!0x0;}static get[_0x26da09(0x117)](){return[_0x509af8,_0x5286f8];}constructor(_0x306991){const _0x11982e=_0x26da09;super(_0x306991),this[_0x11982e(0xed)]=new Map(),this[_0x11982e(0x101)]=new Map(),this[_0x11982e(0xf7)]=new _0x22dfab(),this[_0x11982e(0x10c)]=new Map(),this[_0x11982e(0xee)]=0x0,this[_0x11982e(0x10b)]=this[_0x11982e(0xfe)][_0x11982e(0xf9)][_0x11982e(0xe5)](_0x5286f8);}[_0x26da09(0x116)](){const _0x4b564b=_0x26da09,_0x15a5c1=this[_0x4b564b(0xfe)][_0x4b564b(0xf9)][_0x4b564b(0xe5)](_0x509af8);this[_0x4b564b(0xef)](_0x15a5c1,_0x4b564b(0x122),(_0x1ca085,_0x1ec1b7,_0x46a348)=>{const _0x4e0891=_0x4b564b;if(_0x4e0891(0x115)!==_0x46a348)this[_0x4e0891(0xed)][_0x4e0891(0xf5)](_0x42211e=>_0x42211e[_0x4e0891(0x11d)]()),this[_0x4e0891(0x101)][_0x4e0891(0xf5)](_0x353467=>_0x353467[_0x4e0891(0x11d)]()),this[_0x4e0891(0xf7)][_0x4e0891(0x11d)]();else{for(const [_0xc47439,_0x3925b4]of this[_0x4e0891(0x10c)])for(const _0x589d5b of _0x3925b4)this[_0x4e0891(0x113)](_0xc47439,_0x589d5b);}}),this[_0x4b564b(0x11e)](_0x15a5c1[_0x4b564b(0x111)]['me'],!0x0);}[_0x26da09(0xf4)](_0x4555ea,_0x405e0e){const _0x12acb9=_0x26da09;if(this[_0x12acb9(0x10c)][_0x12acb9(0x11b)](_0x4555ea))throw new _0x27dd70(_0x12acb9(0xfb),null,{'channelId':_0x4555ea});this[_0x12acb9(0x10c)][_0x12acb9(0x11c)](_0x4555ea,_0x405e0e),this[_0x12acb9(0xed)][_0x12acb9(0x11c)](_0x4555ea,new _0x22dfab()),this[_0x12acb9(0x101)][_0x12acb9(0x11c)](_0x4555ea,new _0x22dfab()),this[_0x12acb9(0xef)](_0x405e0e,_0x12acb9(0xf8),(_0x3d2d70,_0x1cd7cb)=>this[_0x12acb9(0x113)](_0x4555ea,_0x1cd7cb)),this[_0x12acb9(0xef)](_0x405e0e,_0x12acb9(0xe4),(_0x5a5ef2,_0x188f24)=>this[_0x12acb9(0xfa)](_0x4555ea,_0x188f24));for(const _0x226562 of _0x405e0e)this[_0x12acb9(0x113)](_0x4555ea,_0x226562);}[_0x26da09(0xec)](_0x2782f1){const _0x4bf5e1=_0x26da09;if(!this[_0x4bf5e1(0x10c)][_0x4bf5e1(0x11b)](_0x2782f1))throw new _0x27dd70(_0x4bf5e1(0x102),null,{'channelId':_0x2782f1});const _0x40a987=this[_0x4bf5e1(0x10c)][_0x4bf5e1(0xe5)](_0x2782f1);this[_0x4bf5e1(0x105)](_0x40a987);for(const _0x389507 of _0x40a987)_0x4bf5e1(0x115)===this[_0x4bf5e1(0xfe)][_0x4bf5e1(0xf9)][_0x4bf5e1(0xe5)](_0x509af8)[_0x4bf5e1(0x10a)]&&this[_0x4bf5e1(0xfa)](_0x2782f1,_0x389507);this[_0x4bf5e1(0x10c)][_0x4bf5e1(0x120)](_0x2782f1),this[_0x4bf5e1(0xed)][_0x4bf5e1(0x120)](_0x2782f1),this[_0x4bf5e1(0x101)][_0x4bf5e1(0x120)](_0x2782f1);}get[_0x26da09(0xff)](){const _0x336b7e=_0x26da09;return this[_0x336b7e(0xfe)][_0x336b7e(0xf9)][_0x336b7e(0xe5)](_0x509af8)[_0x336b7e(0x111)][_0x336b7e(0xf2)];}[_0x26da09(0x114)](_0x1367b4){const _0x173bc4=_0x26da09;for(const _0x380f57 of this[_0x173bc4(0xed)][_0x173bc4(0x112)]())for(const _0x24a9d7 of _0x380f57)if(_0x24a9d7['id']===_0x1367b4)return _0x24a9d7[_0x173bc4(0x108)];}[_0x26da09(0xe7)](_0xd0069a,_0x31db17){const _0xa7d069=_0x26da09,_0x2d033d=_0x31db17?[this[_0xa7d069(0xed)][_0xa7d069(0xe5)](_0x31db17)]:this[_0xa7d069(0xed)][_0xa7d069(0x112)](),_0x580935=new Set();for(const _0x3778dd of _0x2d033d)for(const _0xe41233 of _0x3778dd)_0xe41233[_0xa7d069(0x108)]['id']===_0xd0069a['id']&&_0x580935[_0xa7d069(0xf8)](_0xe41233['id']);return _0x580935;}[_0x26da09(0x11a)](_0x4465a5){const _0x1c70ba=_0x26da09;for(const _0x270ee2 of this[_0x1c70ba(0xed)][_0x1c70ba(0x112)]())for(const _0x221775 of _0x270ee2)if(_0x221775[_0x1c70ba(0x108)]===_0x4465a5)return _0x221775[_0x1c70ba(0xe6)];}[_0x26da09(0x113)](_0xe3e408,_0xd70dbf){const _0x31ef3e=_0x26da09;if(_0x31ef3e(0x115)!==this[_0x31ef3e(0xfe)][_0x31ef3e(0xf9)][_0x31ef3e(0xe5)](_0x509af8)[_0x31ef3e(0x10a)])return;const _0x3dac2f=_0xd70dbf[_0x31ef3e(0x108)],_0x510a8c=this[_0x31ef3e(0x10b)][_0x31ef3e(0x109)](_0x3dac2f['id'])||this[_0x31ef3e(0x11e)](_0x3dac2f),_0x10ef9b=Object[_0x31ef3e(0x107)]({},_0xd70dbf,{'user':_0x510a8c});if(this[_0x31ef3e(0xed)][_0x31ef3e(0xe5)](_0xe3e408)[_0x31ef3e(0xf8)](_0x10ef9b),!_0x3dac2f[_0x31ef3e(0x10e)]){const _0x47b90e=this[_0x31ef3e(0x101)][_0x31ef3e(0xe5)](_0xe3e408);_0x47b90e[_0x31ef3e(0x11b)](_0x510a8c['id'])||_0x47b90e[_0x31ef3e(0xf8)](_0x510a8c),this[_0x31ef3e(0xf7)][_0x31ef3e(0x11b)](_0x510a8c['id'])||_0x3dac2f[_0x31ef3e(0x10e)]||this[_0x31ef3e(0xf7)][_0x31ef3e(0xf8)](_0x510a8c,_0x510a8c[_0x31ef3e(0x104)]?0x0:void 0x0);}this[_0x31ef3e(0x121)](_0x31ef3e(0xf3)+_0xe3e408,{'channelId':_0xe3e408,'session':_0x10ef9b});}[_0x26da09(0xfa)](_0xc82027,_0x533340){const _0x437620=_0x26da09;if(_0x437620(0x115)!==this[_0x437620(0xfe)][_0x437620(0xf9)][_0x437620(0xe5)](_0x509af8)[_0x437620(0x10a)])return;const _0x2d95c0=this[_0x437620(0x101)][_0x437620(0xe5)](_0xc82027),_0x1f8d97=_0x533340[_0x437620(0x108)];_0x1f8d97['id']&&(this[_0x437620(0xed)][_0x437620(0xe5)](_0xc82027)[_0x437620(0xe4)](_0x533340['id']),_0x2d95c0[_0x437620(0x11b)](_0x1f8d97['id'])&&!this[_0x437620(0xe7)](_0x1f8d97,_0xc82027)[_0x437620(0xe3)]&&_0x2d95c0[_0x437620(0xe4)](_0x1f8d97['id']),this[_0x437620(0xf7)][_0x437620(0xe5)](_0x1f8d97['id'])&&!this[_0x437620(0xe7)](_0x1f8d97)[_0x437620(0xe3)]&&this[_0x437620(0xf7)][_0x437620(0xe4)](_0x1f8d97['id']));}[_0x26da09(0x11e)](_0x14965e,_0x22551e){const _0xc94394=_0x26da09,_0x371ca8=this[_0xc94394(0x10b)][_0xc94394(0x119)](_0x14965e);return _0x22551e&&this[_0xc94394(0x10b)][_0xc94394(0xf6)](_0x14965e['id']),_0x371ca8[_0xc94394(0x10d)]=this[_0xc94394(0xee)]++,_0x371ca8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39b659=_0x382a;function _0x382a(_0x49183f,_0x25c223){const _0x512e6e=_0x512e();return _0x382a=function(_0x382ae4,_0x35426d){_0x382ae4=_0x382ae4-0x1eb;let _0x13ccdf=_0x512e6e[_0x382ae4];return _0x13ccdf;},_0x382a(_0x49183f,_0x25c223);}function _0x512e(){const _0xc71306=['model','getContainedElement','markerRange','user:','getFirstRange','user:position:','parent','updateMarker','hasDomSelection','setCustomProperty','schema','removeClass','startsWith','update:user:range','createRange','highest','tableCell','ck-user__marker_hovered','addEventListener','newRange','color','ck-user__marker-tooltip','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','$graveyard','markers','enqueueChange','orderNumber','isCollapsed','checkChild','start','add','markerNameToElements','type','markerToElement','getNearestSelectionRange','528026bxZFuP','_createdBatches','false','editing','conversion','toRange','4412536ucFyOo','keydown','994645ONMmeA','rootName','createElement','getCustomProperty','for','root','document','getAttribute','markerToHighlight','data-session-id','mouseleave','user:position','commands','removeMarker','user:range:','getMarkerClass','outerHTML','getSelectionClass','setAttribute','selection','user:range','getUserBySessionId','clear','7230546AsvONn','marker','toDomElement','name','mySessionId','UserMarkers','element','Escape','92560qGeNUI','has','pluginName','editingDowncast','applyOperation','span','ck-user__selection','init','reconvertMarker','plugins','isLimit','listenTo','editor','_domEmitter','createUIElement','change','size','1wteAig','change:range','delete','detach','end','innerHTML','view','$text','userPositionMarker','split','markerName','requires','addMarker','render','26538tEnhma','set','stopListening','ck-user__marker\x20','destroy','isObject','mouseenter','createUserMarkerOperations','136053hCxMLY','getStart','remove','classList','mapper','batch','deletionPosition','nodeAfter','isDocumentOperation','154uYLCLc','isOfficialPlugin','textContent','isPremiumPlugin','isInline','hasContent','fromRange','get','spellcheck','undo','oldRange','getPositions','isSimilar','contenteditable','afterInit','getRange'];_0x512e=function(){return _0xc71306;};return _0x512e();}(function(_0x1af1a3,_0x428246){const _0xe5431e=_0x382a,_0x50bf63=_0x1af1a3();while(!![]){try{const _0x2b85d7=-parseInt(_0xe5431e(0x25c))/0x1*(parseInt(_0xe5431e(0x224))/0x2)+parseInt(_0xe5431e(0x272))/0x3+-parseInt(_0xe5431e(0x24b))/0x4+parseInt(_0xe5431e(0x22c))/0x5+-parseInt(_0xe5431e(0x26a))/0x6*(-parseInt(_0xe5431e(0x1f1))/0x7)+-parseInt(_0xe5431e(0x22a))/0x8+parseInt(_0xe5431e(0x243))/0x9;if(_0x2b85d7===_0x428246)break;else _0x50bf63['push'](_0x50bf63['shift']());}catch(_0x240b78){_0x50bf63['push'](_0x50bf63['shift']());}}}(_0x512e,0x4ac54));import{Plugin as _0x3b8fe8}from'ckeditor5/src/core.js';import{global as _0xad345e,DomEmitterMixin as _0x147d74}from'ckeditor5/src/utils.js';import{Sessions as _0x3c5e46}from'./sessions.js';import{ModelLiveRange as _0x3c250e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3b8fe8{[_0x39b659(0x258)]=new(_0x147d74())();static get[_0x39b659(0x267)](){return[_0x3c5e46];}static get[_0x39b659(0x24d)](){const _0x44f9f9=_0x39b659;return _0x44f9f9(0x248);}static get[_0x39b659(0x1f2)](){return!0x0;}static get[_0x39b659(0x1f4)](){return!0x0;}[_0x39b659(0x252)](){const _0x28664c=_0x39b659,_0x5de722=this[_0x28664c(0x257)],_0x469b90=_0x5de722[_0x28664c(0x254)][_0x28664c(0x1f8)](_0x3c5e46);_0x5de722[_0x28664c(0x228)][_0x28664c(0x230)](_0x28664c(0x24e))[_0x28664c(0x222)]({'model':_0x28664c(0x237),'view':(_0x3bfe9d,{writer:_0x5c35da})=>function(_0x31426e,_0x4dd286,_0x16b423,_0x37ac30){const _0x778ae2=_0x28664c,_0x31d9df=_0x31426e[_0x778ae2(0x266)][_0x778ae2(0x265)](':')[0x2],_0x35d025=_0x16b423[_0x778ae2(0x241)](_0x31d9df);if(!_0x35d025||_0x31d9df===_0x16b423[_0x778ae2(0x247)])return;if(!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)][_0x778ae2(0x21d)](_0x31426e[_0x778ae2(0x203)][_0x778ae2(0x21e)],_0x778ae2(0x263)))return;const _0x5ec0a1={'class':_0x778ae2(0x26d)+_0x35d025[_0x778ae2(0x215)][_0x778ae2(0x23b)](),'data-name':_0x35d025[_0x778ae2(0x246)],'data-session-id':_0x31d9df},_0x257356=_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x219)][_0x778ae2(0x1f8)](_0x31426e[_0x778ae2(0x266)]),_0x5566c0=_0x257356[_0x778ae2(0x273)](),_0x331061=_0x5566c0[_0x778ae2(0x1ef)],_0x155143=_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)];if(_0x331061&&_0x155143[_0x778ae2(0x26f)](_0x331061)&&_0x155143[_0x778ae2(0x1f5)](_0x331061)&&!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x219)][_0x778ae2(0x1f8)](_0x778ae2(0x23a)+_0x31d9df)[_0x778ae2(0x200)]()[_0x778ae2(0x21c)])return;const _0x56cc85=_0x5566c0[_0x778ae2(0x207)];return _0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)][_0x778ae2(0x255)](_0x56cc85)&&!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x1f6)](_0x56cc85)&&(_0x5ec0a1[_0x778ae2(0x1fe)]=!0x1),function(_0x156748,_0x200b49,_0xd09d33){const _0x39b6ad=_0x778ae2,_0x1a61b1=_0x156748[_0x39b6ad(0x259)](_0x39b6ad(0x250),_0x200b49);return _0x156748[_0x39b6ad(0x20a)](_0x39b6ad(0x264),!0x0,_0x1a61b1),_0x1a61b1[_0x39b6ad(0x269)]=function(_0x149d29){const _0x329484=_0x39b6ad,_0x1e665c=this[_0x329484(0x245)](_0x149d29),_0x48ddf9=document[_0x329484(0x22e)](_0x329484(0x250));return _0x48ddf9[_0x329484(0x1eb)][_0x329484(0x21f)](_0x329484(0x216)),_0x48ddf9[_0x329484(0x23e)](_0x329484(0x1fe),_0x329484(0x226)),_0x48ddf9[_0x329484(0x23e)](_0x329484(0x1f9),_0x329484(0x226)),_0x48ddf9[_0x329484(0x1f3)]=_0xd09d33[_0x329484(0x246)],_0x1e665c[_0x329484(0x261)]=_0x329484(0x217)+_0x48ddf9[_0x329484(0x23c)]+'',_0x1e665c[_0x329484(0x213)](_0x329484(0x270),()=>{const _0x2392e1=_0x329484;_0x1e665c[_0x2392e1(0x1eb)][_0x2392e1(0x21f)](_0x2392e1(0x212));}),_0x1e665c[_0x329484(0x213)](_0x329484(0x236),()=>{const _0x2de848=_0x329484;_0x1e665c[_0x2de848(0x1eb)][_0x2de848(0x274)](_0x2de848(0x212));}),_0x1e665c;},_0x1a61b1[_0x39b6ad(0x1fd)]=function(_0x419071){const _0x440fb5=_0x39b6ad;return!(!this[_0x440fb5(0x22f)](_0x440fb5(0x264))||!_0x419071[_0x440fb5(0x22f)](_0x440fb5(0x264))||this[_0x440fb5(0x233)](_0x440fb5(0x235))!=_0x419071[_0x440fb5(0x233)](_0x440fb5(0x235)));},_0x1a61b1;}(_0x4dd286,_0x5ec0a1,_0x35d025);}(_0x3bfe9d,_0x5c35da,_0x469b90,_0x5de722)}),_0x5de722[_0x28664c(0x228)][_0x28664c(0x230)](_0x28664c(0x24e))[_0x28664c(0x234)]({'model':_0x28664c(0x240),'view':_0x157639=>function(_0x1e6f43,_0x45e134){const _0x4902d8=_0x28664c,_0x2efc59=_0x1e6f43[_0x4902d8(0x266)][_0x4902d8(0x265)](':')[0x2];if(_0x2efc59===_0x45e134[_0x4902d8(0x247)])return null;const _0x2169dc=_0x45e134[_0x4902d8(0x241)](_0x2efc59);if(!_0x2169dc)return{'id':_0x2efc59,'classes':[]};return{'id':_0x2efc59,'classes':[_0x4902d8(0x251),_0x2169dc[_0x4902d8(0x215)][_0x4902d8(0x23d)]()],'attributes':{'data-session-id':_0x2efc59},'priority':0x7d0+_0x2169dc[_0x4902d8(0x21b)]};}(_0x157639,_0x469b90)}),function(_0x47a99b){const _0x56ab63=_0x28664c,_0x3c4e4a=_0x47a99b[_0x56ab63(0x201)],_0x585323=new Map(),_0x4a45cc=_0x47a99b[_0x56ab63(0x254)][_0x56ab63(0x1f8)](_0x3c5e46);_0x3c4e4a[_0x56ab63(0x219)]['on'](_0x56ab63(0x20e),(_0x3845a4,_0x50fa20,_0x17355a,_0x32e4de)=>{const _0x343ee6=_0x56ab63;if(!_0x32e4de&&_0x585323[_0x343ee6(0x1f8)](_0x50fa20[_0x343ee6(0x246)]))return _0x585323[_0x343ee6(0x1f8)](_0x50fa20[_0x343ee6(0x246)])[_0x343ee6(0x25f)](),void _0x585323[_0x343ee6(0x25e)](_0x50fa20[_0x343ee6(0x246)]);const _0x343b86=_0x50fa20[_0x343ee6(0x246)][_0x343ee6(0x265)](':')[0x2];if(_0x343b86===_0x4a45cc[_0x343ee6(0x247)])return;const _0x435417=_0x343ee6(0x206)+_0x343b86;_0x3c4e4a[_0x343ee6(0x219)][_0x343ee6(0x24c)](_0x435417)&&_0x47a99b[_0x343ee6(0x227)][_0x343ee6(0x253)](_0x435417),_0x50fa20['on'](_0x343ee6(0x25d),(_0x2bfe4d,_0x44e829,_0xd0f6a8)=>{const _0x589378=_0x343ee6;if(_0x589378(0x218)!=_0x44e829[_0x589378(0x231)][_0x589378(0x22d)]&&_0x589378(0x218)==_0x50fa20[_0x589378(0x200)]()[_0x589378(0x231)][_0x589378(0x22d)]&&!_0x585323[_0x589378(0x24c)](_0x50fa20[_0x589378(0x246)])){const _0x50ba0c=_0x3c4e4a[_0x589378(0x20b)][_0x589378(0x223)](_0xd0f6a8[_0x589378(0x1ee)]);if(_0x50ba0c){const _0x3ddb8c=_0x3c250e[_0x589378(0x1f7)](_0x50ba0c);_0x585323[_0x589378(0x26b)](_0x50fa20[_0x589378(0x246)],_0x3ddb8c),_0x3ddb8c['on'](_0x589378(0x25d),(_0x4533e0,_0x3edf76,_0x5d9e6c)=>{const _0xc4b304=_0x589378;if(_0xc4b304(0x218)==_0x3ddb8c[_0xc4b304(0x231)][_0xc4b304(0x22d)]){const _0x3f8745=_0x3c4e4a[_0xc4b304(0x20b)][_0xc4b304(0x223)](_0x5d9e6c[_0xc4b304(0x1ee)]);_0x3f8745?(_0x3ddb8c[_0xc4b304(0x21e)]=_0x3f8745[_0xc4b304(0x21e)],_0x3ddb8c[_0xc4b304(0x260)]=_0x3f8745[_0xc4b304(0x260)]):(_0x585323[_0xc4b304(0x25e)](_0x50fa20[_0xc4b304(0x246)]),_0x3ddb8c[_0xc4b304(0x25f)]());}});}}});}),_0x3c4e4a[_0x56ab63(0x232)]['on'](_0x56ab63(0x25a),()=>{const _0x3b874e=_0x56ab63;_0x585323[_0x3b874e(0x25b)]>0x0&&_0x3c4e4a[_0x3b874e(0x21a)]({'isUndoable':!0x1},_0x4f5e25=>{const _0x2c2b23=_0x3b874e;for(const [_0x5a4393,_0x5830c6]of _0x585323)_0x2c2b23(0x218)==_0x3c4e4a[_0x2c2b23(0x219)][_0x2c2b23(0x1f8)](_0x5a4393)[_0x2c2b23(0x200)]()[_0x2c2b23(0x231)][_0x2c2b23(0x22d)]&&(te(_0x5a4393[_0x2c2b23(0x265)](':')[0x2],_0x5830c6[_0x2c2b23(0x229)](),_0x3c4e4a,_0x4f5e25),_0x5830c6[_0x2c2b23(0x25f)]());_0x585323[_0x2c2b23(0x242)]();});});}(_0x5de722),this[_0x28664c(0x258)][_0x28664c(0x256)](_0xad345e[_0x28664c(0x232)],_0x28664c(0x22b),(_0x3f7fe6,{key:_0x468771})=>{const _0x32b7a0=_0x28664c;_0x32b7a0(0x24a)===_0x468771&&function(_0x586aed){const _0x398f28=_0x32b7a0;_0x586aed[_0x398f28(0x227)][_0x398f28(0x262)][_0x398f28(0x25a)](_0x479e02=>{const _0x29c811=_0x398f28;for(const _0x3906e of _0x586aed[_0x29c811(0x201)][_0x29c811(0x219)]){if(!_0x3906e[_0x29c811(0x246)][_0x29c811(0x20d)](_0x29c811(0x237)))continue;const _0x594f89=_0x586aed[_0x29c811(0x227)][_0x29c811(0x1ec)][_0x29c811(0x220)](_0x3906e[_0x29c811(0x246)]);if(_0x594f89){for(const _0x3e4ede of _0x594f89)_0x479e02[_0x29c811(0x20c)](_0x29c811(0x212),_0x3e4ede);}}});}(_0x5de722);},{'useCapture':!0x0});}[_0x39b659(0x1ff)](){const _0x122f10=_0x39b659,_0x496887=this[_0x122f10(0x257)],_0xddcc35=_0x496887[_0x122f10(0x238)][_0x122f10(0x1f8)](_0x122f10(0x1fa));_0xddcc35&&_0x496887[_0x122f10(0x201)]['on'](_0x122f10(0x24f),(_0x1105be,_0x450849)=>{const _0xf8fee4=_0x122f10,_0x123447=_0x450849[0x0];if(!_0x123447[_0xf8fee4(0x1f0)])return;if(_0xf8fee4(0x244)!=_0x123447[_0xf8fee4(0x221)]||!_0x123447[_0xf8fee4(0x246)][_0xf8fee4(0x20d)](_0xf8fee4(0x204)))return;const _0x5451e3=_0x123447[_0xf8fee4(0x1ed)];_0xddcc35[_0xf8fee4(0x225)][_0xf8fee4(0x24c)](_0x5451e3)&&(_0x123447[_0xf8fee4(0x214)]=_0x123447[_0xf8fee4(0x1fb)]?_0x496887[_0xf8fee4(0x201)][_0xf8fee4(0x20f)](_0x123447[_0xf8fee4(0x1fb)][_0xf8fee4(0x21e)],_0x123447[_0xf8fee4(0x1fb)][_0xf8fee4(0x260)]):null);},{'priority':_0x122f10(0x210)});}[_0x39b659(0x26e)](){const _0x302310=_0x39b659;return this[_0x302310(0x258)][_0x302310(0x26c)](),super[_0x302310(0x26e)]();}[_0x39b659(0x271)](){const _0x803900=_0x39b659,_0x5a9a83=this[_0x803900(0x257)],_0x46561a=_0x5a9a83[_0x803900(0x201)][_0x803900(0x232)],_0x3a6987=_0x5a9a83[_0x803900(0x254)][_0x803900(0x1f8)](_0x3c5e46);_0x5a9a83[_0x803900(0x201)][_0x803900(0x21a)]({'isUndoable':!0x1},_0x3e80d6=>{const _0x1be139=_0x803900,_0x42a608=_0x1be139(0x23a)+_0x3a6987[_0x1be139(0x247)],_0x25b0e9=_0x1be139(0x206)+_0x3a6987[_0x1be139(0x247)],_0x464116=_0x5a9a83[_0x1be139(0x201)][_0x1be139(0x219)][_0x1be139(0x24c)](_0x42a608);_0x5a9a83[_0x1be139(0x227)][_0x1be139(0x262)][_0x1be139(0x209)]?te(_0x3a6987[_0x1be139(0x247)],_0x46561a[_0x1be139(0x23f)][_0x1be139(0x205)](),_0x5a9a83[_0x1be139(0x201)],_0x3e80d6):_0x464116&&(_0x3e80d6[_0x1be139(0x239)](_0x42a608),_0x3e80d6[_0x1be139(0x239)](_0x25b0e9));});}}function te(_0x2f0ec7,_0x115898,_0x92f03e,_0x30aad0){const _0x46da71=_0x39b659,_0x54aa2a=_0x46da71(0x23a)+_0x2f0ec7,_0x50b7d2=_0x46da71(0x206)+_0x2f0ec7,_0x23dd05=_0x115898[_0x46da71(0x202)]();let _0x5a81c1=_0x115898[_0x46da71(0x21e)];if(_0x23dd05&&_0x23dd05['is'](_0x46da71(0x249),_0x46da71(0x211))){const _0x3825fa=function(_0x39d2b5,_0x2c50c2){const _0x5d140e=_0x46da71;for(const _0x874116 of _0x39d2b5[_0x5d140e(0x1fc)]())if(_0x2c50c2[_0x5d140e(0x20b)][_0x5d140e(0x21d)](_0x874116,_0x5d140e(0x263)))return _0x874116;}(_0x115898,_0x92f03e);_0x3825fa&&(_0x5a81c1=_0x3825fa,_0x115898=_0x30aad0[_0x46da71(0x20f)](_0x5a81c1));}const _0x2e0c0e=_0x30aad0[_0x46da71(0x20f)](_0x5a81c1);_0x92f03e[_0x46da71(0x219)][_0x46da71(0x24c)](_0x54aa2a)?(_0x30aad0[_0x46da71(0x208)](_0x54aa2a,{'range':_0x115898}),_0x30aad0[_0x46da71(0x208)](_0x50b7d2,{'range':_0x2e0c0e})):(_0x30aad0[_0x46da71(0x268)](_0x54aa2a,{'range':_0x115898,'usingOperation':!0x0}),_0x30aad0[_0x46da71(0x268)](_0x50b7d2,{'range':_0x2e0c0e,'usingOperation':!0x0}));}
|
|
23
|
+
const _0xf08980=_0x316a;(function(_0x378d8f,_0x5b3817){const _0x5aa98b=_0x316a,_0xc851a2=_0x378d8f();while(!![]){try{const _0x5c327a=parseInt(_0x5aa98b(0x1c9))/0x1*(-parseInt(_0x5aa98b(0x14d))/0x2)+-parseInt(_0x5aa98b(0x1a4))/0x3+-parseInt(_0x5aa98b(0x1ca))/0x4*(parseInt(_0x5aa98b(0x1be))/0x5)+parseInt(_0x5aa98b(0x1a7))/0x6+parseInt(_0x5aa98b(0x19c))/0x7+-parseInt(_0x5aa98b(0x18b))/0x8*(parseInt(_0x5aa98b(0x1a9))/0x9)+-parseInt(_0x5aa98b(0x1c1))/0xa*(-parseInt(_0x5aa98b(0x148))/0xb);if(_0x5c327a===_0x5b3817)break;else _0xc851a2['push'](_0xc851a2['shift']());}catch(_0x1ae2d2){_0xc851a2['push'](_0xc851a2['shift']());}}}(_0x5a73,0xbbf05));import{Plugin as _0x536468}from'ckeditor5/src/core.js';function _0x316a(_0x4627e5,_0x94b004){const _0x5a734a=_0x5a73();return _0x316a=function(_0x316a73,_0xcb0436){_0x316a73=_0x316a73-0x13f;let _0x2d25e8=_0x5a734a[_0x316a73];return _0x2d25e8;},_0x316a(_0x4627e5,_0x94b004);}import{global as _0x125ebb,DomEmitterMixin as _0x471d09}from'ckeditor5/src/utils.js';import{Sessions as _0x11e1da}from'./sessions.js';import{ModelLiveRange as _0x499002}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x536468{[_0xf08980(0x1bd)]=new(_0x471d09())();static get[_0xf08980(0x198)](){return[_0x11e1da];}static get[_0xf08980(0x141)](){const _0x3caf98=_0xf08980;return _0x3caf98(0x15d);}static get[_0xf08980(0x19e)](){return!0x0;}static get[_0xf08980(0x140)](){return!0x0;}[_0xf08980(0x178)](){const _0x206b79=_0xf08980,_0x5453d8=this[_0x206b79(0x144)],_0x106d4f=_0x5453d8[_0x206b79(0x159)][_0x206b79(0x142)](_0x11e1da);_0x5453d8[_0x206b79(0x161)][_0x206b79(0x162)](_0x206b79(0x1ab))[_0x206b79(0x14e)]({'model':_0x206b79(0x1b0),'view':(_0x358f26,{writer:_0x340035})=>function(_0x5c4e60,_0x2f64c4,_0x34c8c5,_0x33dde1){const _0x5d61ee=_0x206b79,_0x5a8cff=_0x5c4e60[_0x5d61ee(0x157)][_0x5d61ee(0x1b7)](':')[0x2],_0xd27234=_0x34c8c5[_0x5d61ee(0x14a)](_0x5a8cff);if(!_0xd27234||_0x5a8cff===_0x34c8c5[_0x5d61ee(0x169)])return;if(!_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x15b)][_0x5d61ee(0x192)](_0x5c4e60[_0x5d61ee(0x17b)][_0x5d61ee(0x1c7)],_0x5d61ee(0x163)))return;const _0x433f4e={'class':_0x5d61ee(0x1b2)+_0xd27234[_0x5d61ee(0x14b)][_0x5d61ee(0x19f)](),'data-name':_0xd27234[_0x5d61ee(0x182)],'data-session-id':_0x5a8cff},_0x55d051=_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x179)][_0x5d61ee(0x142)](_0x5c4e60[_0x5d61ee(0x157)]),_0x59cf9d=_0x55d051[_0x5d61ee(0x165)](),_0x29122b=_0x59cf9d[_0x5d61ee(0x173)],_0x3885d5=_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x15b)];if(_0x29122b&&_0x3885d5[_0x5d61ee(0x186)](_0x29122b)&&_0x3885d5[_0x5d61ee(0x16c)](_0x29122b)&&!_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x179)][_0x5d61ee(0x142)](_0x5d61ee(0x1a0)+_0x5a8cff)[_0x5d61ee(0x167)]()[_0x5d61ee(0x152)])return;const _0x36e0f3=_0x59cf9d[_0x5d61ee(0x1a6)];return _0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x15b)][_0x5d61ee(0x17c)](_0x36e0f3)&&!_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x183)](_0x36e0f3)&&(_0x433f4e[_0x5d61ee(0x1b4)]=!0x1),function(_0x13c0d9,_0x811e06,_0x15999b){const _0x3aea32=_0x5d61ee,_0x2f71e6=_0x13c0d9[_0x3aea32(0x193)](_0x3aea32(0x1a2),_0x811e06);return _0x13c0d9[_0x3aea32(0x1c4)](_0x3aea32(0x18a),!0x0,_0x2f71e6),_0x2f71e6[_0x3aea32(0x19b)]=function(_0xa70589){const _0x47806b=_0x3aea32,_0xe24baa=this[_0x47806b(0x1c5)](_0xa70589),_0x26176e=document[_0x47806b(0x150)](_0x47806b(0x1a2));return _0x26176e[_0x47806b(0x146)][_0x47806b(0x190)](_0x47806b(0x1b9)),_0x26176e[_0x47806b(0x194)](_0x47806b(0x1b4),_0x47806b(0x18c)),_0x26176e[_0x47806b(0x194)](_0x47806b(0x156),_0x47806b(0x18c)),_0x26176e[_0x47806b(0x13f)]=_0x15999b[_0x47806b(0x182)],_0xe24baa[_0x47806b(0x15f)]=_0x47806b(0x18d)+_0x26176e[_0x47806b(0x158)]+'',_0xe24baa[_0x47806b(0x16b)](_0x47806b(0x151),()=>{const _0x4bbabd=_0x47806b;_0xe24baa[_0x4bbabd(0x146)][_0x4bbabd(0x190)](_0x4bbabd(0x195));}),_0xe24baa[_0x47806b(0x16b)](_0x47806b(0x1aa),()=>{const _0x2a5cbe=_0x47806b;_0xe24baa[_0x2a5cbe(0x146)][_0x2a5cbe(0x16d)](_0x2a5cbe(0x195));}),_0xe24baa;},_0x2f71e6[_0x3aea32(0x184)]=function(_0x2ebd8e){const _0x346116=_0x3aea32;return!(!this[_0x346116(0x1c2)](_0x346116(0x18a))||!_0x2ebd8e[_0x346116(0x1c2)](_0x346116(0x18a))||this[_0x346116(0x166)](_0x346116(0x17f))!=_0x2ebd8e[_0x346116(0x166)](_0x346116(0x17f)));},_0x2f71e6;}(_0x2f64c4,_0x433f4e,_0xd27234);}(_0x358f26,_0x340035,_0x106d4f,_0x5453d8)}),_0x5453d8[_0x206b79(0x161)][_0x206b79(0x162)](_0x206b79(0x1ab))[_0x206b79(0x164)]({'model':_0x206b79(0x160),'view':_0x4eaf7b=>function(_0x5b9d9b,_0x45b791){const _0x170f6c=_0x206b79,_0x97392a=_0x5b9d9b[_0x170f6c(0x157)][_0x170f6c(0x1b7)](':')[0x2];if(_0x97392a===_0x45b791[_0x170f6c(0x169)])return null;const _0x4ff67d=_0x45b791[_0x170f6c(0x14a)](_0x97392a);if(!_0x4ff67d)return{'id':_0x97392a,'classes':[]};return{'id':_0x97392a,'classes':[_0x170f6c(0x143),_0x4ff67d[_0x170f6c(0x14b)][_0x170f6c(0x1a8)]()],'attributes':{'data-session-id':_0x97392a},'priority':0x7d0+_0x4ff67d[_0x170f6c(0x1c6)]};}(_0x4eaf7b,_0x106d4f)}),function(_0x5632d5){const _0x1ab89c=_0x206b79,_0x3a5c40=_0x5632d5[_0x1ab89c(0x16a)],_0xdff60d=new Map(),_0x295a17=_0x5632d5[_0x1ab89c(0x159)][_0x1ab89c(0x142)](_0x11e1da);_0x3a5c40[_0x1ab89c(0x179)]['on'](_0x1ab89c(0x168),(_0x5b120a,_0x212c6d,_0x3992fb,_0x4dcc84)=>{const _0x78b975=_0x1ab89c;if(!_0x4dcc84&&_0xdff60d[_0x78b975(0x142)](_0x212c6d[_0x78b975(0x182)]))return _0xdff60d[_0x78b975(0x142)](_0x212c6d[_0x78b975(0x182)])[_0x78b975(0x1bc)](),void _0xdff60d[_0x78b975(0x174)](_0x212c6d[_0x78b975(0x182)]);const _0x419785=_0x212c6d[_0x78b975(0x182)][_0x78b975(0x1b7)](':')[0x2];if(_0x419785===_0x295a17[_0x78b975(0x169)])return;const _0x3f0024=_0x78b975(0x1c3)+_0x419785;_0x3a5c40[_0x78b975(0x179)][_0x78b975(0x1b6)](_0x3f0024)&&_0x5632d5[_0x78b975(0x181)][_0x78b975(0x170)](_0x3f0024),_0x212c6d['on'](_0x78b975(0x15a),(_0x1399c1,_0x59a71b,_0x24b5ae)=>{const _0x4ae1ed=_0x78b975;if(_0x4ae1ed(0x16e)!=_0x59a71b[_0x4ae1ed(0x1ac)][_0x4ae1ed(0x147)]&&_0x4ae1ed(0x16e)==_0x212c6d[_0x4ae1ed(0x167)]()[_0x4ae1ed(0x1ac)][_0x4ae1ed(0x147)]&&!_0xdff60d[_0x4ae1ed(0x1b6)](_0x212c6d[_0x4ae1ed(0x182)])){const _0x42ab7e=_0x3a5c40[_0x4ae1ed(0x15b)][_0x4ae1ed(0x1c0)](_0x24b5ae[_0x4ae1ed(0x177)]);if(_0x42ab7e){const _0x5b7a0a=_0x499002[_0x4ae1ed(0x154)](_0x42ab7e);_0xdff60d[_0x4ae1ed(0x1ae)](_0x212c6d[_0x4ae1ed(0x182)],_0x5b7a0a),_0x5b7a0a['on'](_0x4ae1ed(0x15a),(_0x4e580c,_0x162e83,_0x1d45b8)=>{const _0x412945=_0x4ae1ed;if(_0x412945(0x16e)==_0x5b7a0a[_0x412945(0x1ac)][_0x412945(0x147)]){const _0x38b3f4=_0x3a5c40[_0x412945(0x15b)][_0x412945(0x1c0)](_0x1d45b8[_0x412945(0x177)]);_0x38b3f4?(_0x5b7a0a[_0x412945(0x1c7)]=_0x38b3f4[_0x412945(0x1c7)],_0x5b7a0a[_0x412945(0x1bf)]=_0x38b3f4[_0x412945(0x1bf)]):(_0xdff60d[_0x412945(0x174)](_0x212c6d[_0x412945(0x182)]),_0x5b7a0a[_0x412945(0x1bc)]());}});}}});}),_0x3a5c40[_0x1ab89c(0x17d)]['on'](_0x1ab89c(0x18f),()=>{const _0x56751c=_0x1ab89c;_0xdff60d[_0x56751c(0x155)]>0x0&&_0x3a5c40[_0x56751c(0x176)]({'isUndoable':!0x1},_0x566ece=>{const _0x451ac7=_0x56751c;for(const [_0x578f10,_0x2df32b]of _0xdff60d)_0x451ac7(0x16e)==_0x3a5c40[_0x451ac7(0x179)][_0x451ac7(0x142)](_0x578f10)[_0x451ac7(0x167)]()[_0x451ac7(0x1ac)][_0x451ac7(0x147)]&&(Y(_0x578f10[_0x451ac7(0x1b7)](':')[0x2],_0x2df32b[_0x451ac7(0x1bb)](),_0x3a5c40,_0x566ece),_0x2df32b[_0x451ac7(0x1bc)]());_0xdff60d[_0x451ac7(0x19d)]();});});}(_0x5453d8),this[_0x206b79(0x1bd)][_0x206b79(0x1a5)](_0x125ebb[_0x206b79(0x17d)],_0x206b79(0x180),(_0x3313c7,{key:_0x242a77})=>{const _0x287de4=_0x206b79;_0x287de4(0x14f)===_0x242a77&&function(_0x5cb084){const _0x260ead=_0x287de4;_0x5cb084[_0x260ead(0x181)][_0x260ead(0x1b5)][_0x260ead(0x18f)](_0x1af5b7=>{const _0x5b9c8e=_0x260ead;for(const _0xa21f88 of _0x5cb084[_0x5b9c8e(0x16a)][_0x5b9c8e(0x179)]){if(!_0xa21f88[_0x5b9c8e(0x182)][_0x5b9c8e(0x14c)](_0x5b9c8e(0x1b0)))continue;const _0x4a019e=_0x5cb084[_0x5b9c8e(0x181)][_0x5b9c8e(0x188)][_0x5b9c8e(0x1b3)](_0xa21f88[_0x5b9c8e(0x182)]);if(_0x4a019e){for(const _0x4127c9 of _0x4a019e)_0x1af5b7[_0x5b9c8e(0x145)](_0x5b9c8e(0x195),_0x4127c9);}}});}(_0x5453d8);},{'useCapture':!0x0});}[_0xf08980(0x187)](){const _0x49a2b8=_0xf08980,_0x20b5d9=this[_0x49a2b8(0x144)],_0x1ed924=_0x20b5d9[_0x49a2b8(0x172)][_0x49a2b8(0x142)](_0x49a2b8(0x185));_0x1ed924&&_0x20b5d9[_0x49a2b8(0x16a)]['on'](_0x49a2b8(0x171),(_0x3f2138,_0x347ab1)=>{const _0x26c1ae=_0x49a2b8,_0x4cf52d=_0x347ab1[0x0];if(!_0x4cf52d[_0x26c1ae(0x1ba)])return;if(_0x26c1ae(0x17e)!=_0x4cf52d[_0x26c1ae(0x17a)]||!_0x4cf52d[_0x26c1ae(0x182)][_0x26c1ae(0x14c)](_0x26c1ae(0x189)))return;const _0x16b6b4=_0x4cf52d[_0x26c1ae(0x199)];_0x1ed924[_0x26c1ae(0x16f)][_0x26c1ae(0x1b6)](_0x16b6b4)&&(_0x4cf52d[_0x26c1ae(0x1a1)]=_0x4cf52d[_0x26c1ae(0x175)]?_0x20b5d9[_0x26c1ae(0x16a)][_0x26c1ae(0x197)](_0x4cf52d[_0x26c1ae(0x175)][_0x26c1ae(0x1c7)],_0x4cf52d[_0x26c1ae(0x175)][_0x26c1ae(0x1bf)]):null);},{'priority':_0x49a2b8(0x153)});}[_0xf08980(0x1ad)](){const _0x5c0351=_0xf08980;return this[_0x5c0351(0x1bd)][_0x5c0351(0x149)](),super[_0x5c0351(0x1ad)]();}[_0xf08980(0x196)](){const _0xe293f3=_0xf08980,_0x131c39=this[_0xe293f3(0x144)],_0x24f51b=_0x131c39[_0xe293f3(0x16a)][_0xe293f3(0x17d)],_0x4e3ab0=_0x131c39[_0xe293f3(0x159)][_0xe293f3(0x142)](_0x11e1da);_0x131c39[_0xe293f3(0x16a)][_0xe293f3(0x176)]({'isUndoable':!0x1},_0x936d=>{const _0x278413=_0xe293f3,_0x1b9b20=_0x278413(0x1a0)+_0x4e3ab0[_0x278413(0x169)],_0x49333f=_0x278413(0x1c3)+_0x4e3ab0[_0x278413(0x169)],_0x2de39c=_0x131c39[_0x278413(0x16a)][_0x278413(0x179)][_0x278413(0x1b6)](_0x1b9b20);_0x131c39[_0x278413(0x181)][_0x278413(0x1b5)][_0x278413(0x18e)]?Y(_0x4e3ab0[_0x278413(0x169)],_0x24f51b[_0x278413(0x1c8)][_0x278413(0x1af)](),_0x131c39[_0x278413(0x16a)],_0x936d):_0x2de39c&&(_0x936d[_0x278413(0x15e)](_0x1b9b20),_0x936d[_0x278413(0x15e)](_0x49333f));});}}function Y(_0x100809,_0x2235f4,_0x2e70d7,_0x2782c4){const _0x5605bc=_0xf08980,_0x221f72=_0x5605bc(0x1a0)+_0x100809,_0x4deefd=_0x5605bc(0x1c3)+_0x100809,_0x52cedb=_0x2235f4[_0x5605bc(0x191)]();let _0x26c552=_0x2235f4[_0x5605bc(0x1c7)];if(_0x52cedb&&_0x52cedb['is'](_0x5605bc(0x1b8),_0x5605bc(0x1b1))){const _0x4a9f62=function(_0x5d0478,_0x563076){const _0x21659b=_0x5605bc;for(const _0xf0cc50 of _0x5d0478[_0x21659b(0x15c)]())if(_0x563076[_0x21659b(0x15b)][_0x21659b(0x192)](_0xf0cc50,_0x21659b(0x163)))return _0xf0cc50;}(_0x2235f4,_0x2e70d7);_0x4a9f62&&(_0x26c552=_0x4a9f62,_0x2235f4=_0x2782c4[_0x5605bc(0x197)](_0x26c552));}const _0x2a09c6=_0x2782c4[_0x5605bc(0x197)](_0x26c552);_0x2e70d7[_0x5605bc(0x179)][_0x5605bc(0x1b6)](_0x221f72)?(_0x2782c4[_0x5605bc(0x1a3)](_0x221f72,{'range':_0x2235f4}),_0x2782c4[_0x5605bc(0x1a3)](_0x4deefd,{'range':_0x2a09c6})):(_0x2782c4[_0x5605bc(0x19a)](_0x221f72,{'range':_0x2235f4,'usingOperation':!0x0}),_0x2782c4[_0x5605bc(0x19a)](_0x4deefd,{'range':_0x2a09c6,'usingOperation':!0x0}));}function _0x5a73(){const _0x5ebadc=['marker','data-session-id','keydown','editing','name','hasContent','isSimilar','undo','isObject','afterInit','mapper','user:','userPositionMarker','853016aSPqlO','false','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','hasDomSelection','change','add','getContainedElement','checkChild','createUIElement','setAttribute','ck-user__marker_hovered','createUserMarkerOperations','createRange','requires','batch','addMarker','render','7924777NnmYbq','clear','isOfficialPlugin','getMarkerClass','user:range:','newRange','span','updateMarker','1559886DnMqpF','listenTo','parent','2615112iHrzoo','getSelectionClass','27pnIlNc','mouseleave','editingDowncast','root','destroy','set','getFirstRange','user:position','tableCell','ck-user__marker\x20','markerNameToElements','contenteditable','view','has','split','element','ck-user__marker-tooltip','isDocumentOperation','toRange','detach','_domEmitter','253245ILueai','end','getNearestSelectionRange','33410EoYOCI','getCustomProperty','user:position:','setCustomProperty','toDomElement','orderNumber','start','selection','198668ZxroSf','40rHsiZb','textContent','isPremiumPlugin','pluginName','get','ck-user__selection','editor','removeClass','classList','rootName','3113LhTYKU','stopListening','getUserBySessionId','color','startsWith','4Xaqtor','markerToElement','Escape','createElement','mouseenter','isCollapsed','highest','fromRange','size','spellcheck','markerName','outerHTML','plugins','change:range','schema','getPositions','UserMarkers','removeMarker','innerHTML','user:range','conversion','for','$text','markerToHighlight','getStart','getAttribute','getRange','update:user:range','mySessionId','model','addEventListener','isInline','remove','$graveyard','_createdBatches','reconvertMarker','applyOperation','commands','nodeAfter','delete','oldRange','enqueueChange','deletionPosition','init','markers','type','markerRange','isLimit','document'];_0x5a73=function(){return _0x5ebadc;};return _0x5a73();}
|