@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.5 → 47.0.0-alpha.6
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
|
+
function _0x80c1(_0x3bfab8,_0x25e290){const _0x555e01=_0x555e();return _0x80c1=function(_0x80c132,_0x41d4bc){_0x80c132=_0x80c132-0x1da;let _0x1a2cab=_0x555e01[_0x80c132];return _0x1a2cab;},_0x80c1(_0x3bfab8,_0x25e290);}const _0x512e4a=_0x80c1;(function(_0xc01615,_0x48e441){const _0x3f9240=_0x80c1,_0x594416=_0xc01615();while(!![]){try{const _0x8f122e=-parseInt(_0x3f9240(0x1e8))/0x1*(parseInt(_0x3f9240(0x1fa))/0x2)+parseInt(_0x3f9240(0x1ed))/0x3+parseInt(_0x3f9240(0x1db))/0x4*(parseInt(_0x3f9240(0x1e1))/0x5)+parseInt(_0x3f9240(0x1ec))/0x6*(-parseInt(_0x3f9240(0x1e9))/0x7)+-parseInt(_0x3f9240(0x1eb))/0x8*(parseInt(_0x3f9240(0x1f2))/0x9)+-parseInt(_0x3f9240(0x1e4))/0xa+parseInt(_0x3f9240(0x1ef))/0xb;if(_0x8f122e===_0x48e441)break;else _0x594416['push'](_0x594416['shift']());}catch(_0x36a9ad){_0x594416['push'](_0x594416['shift']());}}}(_0x555e,0x94e7e));function _0x555e(){const _0x3162c4=['removeAttribute','Connected\x20users\x20list','setTemplate','fire','.ck-balloon-panel_with-arrow','998316IWGanZ','presencelist:hide','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','render','presencelist:show','5ORFwLT','isExpanded','.ck-presence-list__dropdown-list','8592890MrHCAq','hasPopup','aria-expanded','focus','1qCnZQG','36071AyXurp','listenTo','184kRCunB','246MsVtAH','661428BHxiUS','keystrokes','29852911mwRaVI','list','setAttribute','396945iGgaGS','set','contains','div','change:hasPopup','bindTemplate','items','createCollection','978122sCpgfR','querySelector','element','ck-presence-list__list'];_0x555e=function(){return _0x3162c4;};return _0x555e();}import{View as _0x38906c}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x849247}from'ckeditor5/src/utils.js';import{getTranslation as _0x173de5}from'../../common-translations.js';export class PresenceInlineListView extends _0x38906c{[_0x512e4a(0x1f8)];[_0x512e4a(0x1ee)];constructor(_0x2cb508){const _0x34220b=_0x512e4a;super(_0x2cb508);const _0x36e48b=this[_0x34220b(0x1f7)];this[_0x34220b(0x1f8)]=this[_0x34220b(0x1f9)](),this[_0x34220b(0x1ee)]=new _0x849247(),this[_0x34220b(0x1f3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x34220b(0x200)]({'tag':_0x34220b(0x1f5),'attributes':{'aria-haspopup':_0x36e48b['if'](_0x34220b(0x1e5)),'aria-expanded':_0x36e48b['to'](_0x34220b(0x1e2),_0x2ba7ad=>this[_0x34220b(0x1e5)]&&String(_0x2ba7ad)),'aria-label':_0x36e48b['to'](_0x34220b(0x1e5),_0x55acf1=>_0x173de5(_0x2cb508,_0x55acf1?_0x34220b(0x1dd):_0x34220b(0x1ff))),'role':_0x34220b(0x1f0),'tabindex':_0x36e48b['to'](_0x34220b(0x1e5),_0x2358bf=>!!_0x2358bf&&0x0),'class':['ck',_0x34220b(0x1fd)]},'children':this[_0x34220b(0x1f8)],'on':{'mouseenter':_0x36e48b['to'](()=>this[_0x34220b(0x201)](_0x34220b(0x1e0))),'mouseleave':_0x36e48b['to'](_0x4d4fad=>{const _0x278bf7=_0x34220b,_0x52ae5b=_0x4d4fad,_0x1142af=document[_0x278bf7(0x1fb)](_0x278bf7(0x1e3)),_0x120e01=document[_0x278bf7(0x1fb)](_0x278bf7(0x1da));_0x1142af?.[_0x278bf7(0x1f4)](_0x52ae5b[_0x278bf7(0x1de)])||_0x120e01?.[_0x278bf7(0x1f4)](_0x52ae5b[_0x278bf7(0x1de)])||this[_0x278bf7(0x201)](_0x278bf7(0x1dc));})}}),this['on'](_0x34220b(0x1f6),(_0x5ab9ec,_0x1265fe,_0x59758e)=>{const _0x595e1d=_0x34220b;this[_0x595e1d(0x1fc)]&&(_0x59758e?this[_0x595e1d(0x1fc)][_0x595e1d(0x1f1)](_0x595e1d(0x1e6),String(this[_0x595e1d(0x1e2)])):this[_0x595e1d(0x1fc)][_0x595e1d(0x1fe)](_0x595e1d(0x1e6)));});}[_0x512e4a(0x1e7)](){const _0x911b8b=_0x512e4a;this[_0x911b8b(0x1fc)][_0x911b8b(0x1e7)]();}[_0x512e4a(0x1df)](){const _0x361a44=_0x512e4a;super[_0x361a44(0x1df)](),this[_0x361a44(0x1ee)][_0x361a44(0x1ea)](this[_0x361a44(0x1fc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x420a17=_0x1aad;(function(_0xcde2bf,_0x38c813){const _0x2c80a0=_0x1aad,_0x4a6734=_0xcde2bf();while(!![]){try{const _0x543adf=parseInt(_0x2c80a0(0x1cb))/0x1+parseInt(_0x2c80a0(0x1e0))/0x2+parseInt(_0x2c80a0(0x1db))/0x3*(-parseInt(_0x2c80a0(0x1de))/0x4)+-parseInt(_0x2c80a0(0x1cd))/0x5+-parseInt(_0x2c80a0(0x1d2))/0x6+parseInt(_0x2c80a0(0x1d5))/0x7*(parseInt(_0x2c80a0(0x1d1))/0x8)+-parseInt(_0x2c80a0(0x1d4))/0x9;if(_0x543adf===_0x38c813)break;else _0x4a6734['push'](_0x4a6734['shift']());}catch(_0x10bab4){_0x4a6734['push'](_0x4a6734['shift']());}}}(_0x5e0a,0x91b48));function _0x5e0a(){const _0x27c72a=['bind','ck-presence-list--collapsed','ck-reset','counterView','39267QAFNnL','tooltipPosition','ck-rounded-corners','16RXpoxX','ck-presence-list','2035032gutpDa','locale','hasPopup','inlineListView','change','bindTemplate','set','488489fLMJmo','listenTo','2299050JdUGgo','setTemplate','first','items','9232616vFqTif','4517544TvEaXp','div','7183656haWzIM','7ZGIHDF','isCollapsed'];_0x5e0a=function(){return _0x27c72a;};return _0x5e0a();}import{View as _0x3537e3}from'ckeditor5/src/ui.js';function _0x1aad(_0xcbeb04,_0x10f5a8){const _0x5e0a31=_0x5e0a();return _0x1aad=function(_0x1aadf6,_0x577d28){_0x1aadf6=_0x1aadf6-0x1c5;let _0x456709=_0x5e0a31[_0x1aadf6];return _0x456709;},_0x1aad(_0xcbeb04,_0x10f5a8);}import{PresenceCounterView as _0x4bd653}from'./presencecounterview.js';import{PresenceInlineListView as _0x5133f6}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3537e3{[_0x420a17(0x1da)];[_0x420a17(0x1c7)];constructor(_0x427492,_0x780467=0x6){const _0x52d0f6=_0x420a17;super(_0x427492);const _0x4e810b=this[_0x52d0f6(0x1c9)];this[_0x52d0f6(0x1ca)](_0x52d0f6(0x1d6),!0x0),this[_0x52d0f6(0x1da)]=new _0x4bd653(this[_0x52d0f6(0x1c5)],_0x780467),this[_0x52d0f6(0x1c7)]=new _0x5133f6(_0x427492),this[_0x52d0f6(0x1c7)][_0x52d0f6(0x1d7)](_0x52d0f6(0x1c6))['to'](this,_0x52d0f6(0x1d6)),this[_0x52d0f6(0x1cc)](this[_0x52d0f6(0x1c7)][_0x52d0f6(0x1d0)],_0x52d0f6(0x1c8),()=>{const _0x2fe80b=_0x52d0f6;for(const _0x33a914 of this[_0x2fe80b(0x1c7)][_0x2fe80b(0x1d0)])_0x33a914[_0x2fe80b(0x1dc)]='s';this[_0x2fe80b(0x1c7)][_0x2fe80b(0x1d0)][_0x2fe80b(0x1cf)]&&(this[_0x2fe80b(0x1c7)][_0x2fe80b(0x1d0)][_0x2fe80b(0x1cf)][_0x2fe80b(0x1dc)]='se');}),this[_0x52d0f6(0x1ce)]({'tag':_0x52d0f6(0x1d3),'attributes':{'class':['ck',_0x52d0f6(0x1df),_0x52d0f6(0x1d9),_0x52d0f6(0x1dd),_0x4e810b['if'](_0x52d0f6(0x1d6),_0x52d0f6(0x1d8))]},'children':[this[_0x52d0f6(0x1c7)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1e5b(){var _0x136cc2=['isOfficialPlugin','2267262vJGxPQ','80898PYyKai','pluginName','5575269CnxQNo','3441XgafLo','PresenceList','1222140VQZPaS','774270svmeUI','35tbdqeE','isPremiumPlugin','24tJWDWB','106708UoDoqC','660FmWlRG','requires'];_0x1e5b=function(){return _0x136cc2;};return _0x1e5b();}var _0x4f4140=_0x37a7;(function(_0x2ef113,_0x3ec370){var _0xd49bdc=_0x37a7,_0x463fb6=_0x2ef113();while(!![]){try{var _0x38cc3b=parseInt(_0xd49bdc(0xce))/0x1+-parseInt(_0xd49bdc(0xd3))/0x2*(parseInt(_0xd49bdc(0xcb))/0x3)+-parseInt(_0xd49bdc(0xd2))/0x4+parseInt(_0xd49bdc(0xcf))/0x5*(-parseInt(_0xd49bdc(0xc8))/0x6)+parseInt(_0xd49bdc(0xca))/0x7+-parseInt(_0xd49bdc(0xd1))/0x8*(parseInt(_0xd49bdc(0xc7))/0x9)+parseInt(_0xd49bdc(0xcd))/0xa;if(_0x38cc3b===_0x3ec370)break;else _0x463fb6['push'](_0x463fb6['shift']());}catch(_0xdfd7c5){_0x463fb6['push'](_0x463fb6['shift']());}}}(_0x1e5b,0x6ad7d));function _0x37a7(_0x26cef3,_0x10d419){var _0x1e5be5=_0x1e5b();return _0x37a7=function(_0x37a7f4,_0x1cf488){_0x37a7f4=_0x37a7f4-0xc6;var _0x251a09=_0x1e5be5[_0x37a7f4];return _0x251a09;},_0x37a7(_0x26cef3,_0x10d419);}import{ContextPlugin as _0x2d4ed2}from'ckeditor5/src/core.js';import{Sessions as _0x1561c6}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5c1132}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2d4ed2{static get[_0x4f4140(0xd4)](){return[_0x1561c6,_0x5c1132];}static get[_0x4f4140(0xc9)](){var _0x4936b9=_0x4f4140;return _0x4936b9(0xcc);}static get[_0x4f4140(0xc6)](){return!0x0;}static get[_0x4f4140(0xd0)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x49756d)());[_0xc3cd37(0x22a)];static get[_0xc3cd37(0x22b)](){const _0x2eb1c8=_0xc3cd37;return[_0x241bb3,_0x2eb1c8(0x238),_0x45b3cc,_0x4bdffb];}static get[_0xc3cd37(0x23b)](){const _0x2fc798=_0xc3cd37;return _0x2fc798(0x23c);}static get[_0xc3cd37(0x1de)](){return!0x0;}static get[_0xc3cd37(0x231)](){return!0x0;}constructor(_0x516458){const _0x2ca619=_0xc3cd37;super(_0x516458),this[_0x2ca619(0x22a)]=new Map();}async[_0xc3cd37(0x1fe)](){const _0x4e111a=_0xc3cd37,_0xa7a797=this[_0x4e111a(0x21d)],_0x3eb0f7=_0xa7a797[_0x4e111a(0x210)][_0x4e111a(0x1d7)](_0x4e111a(0x238));if(_0xa7a797[_0x4e111a(0x210)][_0x4e111a(0x1d7)](_0x241bb3)[_0x4e111a(0x214)](this),_0x3eb0f7[_0x4e111a(0x1e3)]={'addCommentThread':async({channelId:_0x2a2669,threadId:_0x1c0cf8,comments:_0x31df8a,resolvedAt:_0x40901f,resolvedBy:_0x51dd62,context:_0x9658a8,attributes:_0x257e07})=>{const _0x3fe600=_0x4e111a,_0x5ec011=await this[_0x3fe600(0x1db)](_0x2a2669)[_0x3fe600(0x206)]({'commentThreadId':_0x1c0cf8,'comments':_0x31df8a[_0x3fe600(0x216)](_0x57acf8=>function(_0x2b09d9,_0x4ad556,_0x36d0fd){const _0x1d0d4f=_0x3fe600;return{'commentThreadId':_0x36d0fd,'commentId':_0x2b09d9[_0x1d0d4f(0x1ec)],'userId':_0x2b09d9[_0x1d0d4f(0x225)],'content':_0x2b09d9[_0x1d0d4f(0x22e)],'documentId':_0x4ad556,'createdAt':_0x2b09d9[_0x1d0d4f(0x1f2)],'attributes':_0x2b09d9[_0x1d0d4f(0x1f7)]||{}};}(_0x57acf8,_0x2a2669,_0x1c0cf8)),'resolvedAt':_0x40901f,'resolvedBy':_0x51dd62,'context':_0x9658a8,'attributes':_0x257e07})[_0x3fe600(0x239)](k);return{'threadId':_0x5ec011[_0x3fe600(0x215)],'comments':_0x5ec011[_0x3fe600(0x228)]};},'getCommentThread':async({channelId:_0x319bae,threadId:_0x4a376e})=>{const _0x278e81=_0x4e111a,_0x5ac0f2=await this[_0x278e81(0x1db)](_0x319bae)[_0x278e81(0x1e5)](_0x4a376e)[_0x278e81(0x239)](F)[_0x278e81(0x239)](k);return _0x5ac0f2?_0x5ac0f2[_0x278e81(0x1e8)]?null:(await this[_0x278e81(0x1dc)]([_0x5ac0f2]),{'threadId':_0x5ac0f2[_0x278e81(0x215)],'comments':_0x5ac0f2[_0x278e81(0x228)][_0x278e81(0x216)](S),'context':_0x5ac0f2[_0x278e81(0x21d)],'resolvedAt':_0x5ac0f2[_0x278e81(0x1ff)],'resolvedBy':_0x5ac0f2[_0x278e81(0x230)],'attributes':_0x5ac0f2[_0x278e81(0x1f7)]||{}}):null;},'updateCommentThread':async({channelId:_0x23f3f4,threadId:_0x4289ad,context:_0x47be45,unlinkedAt:_0x26fb32,attributes:_0x4f31cd})=>this[_0x4e111a(0x1db)](_0x23f3f4)[_0x4e111a(0x21c)]({'commentThreadId':_0x4289ad,'context':_0x47be45,'attributes':_0x4f31cd,'unlinkedAt':_0x26fb32})[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k),'resolveCommentThread':async({channelId:_0x187660,threadId:_0x22c682})=>{const _0x390ce9=_0x4e111a,_0x2609b0=await this[_0x390ce9(0x1db)](_0x187660)[_0x390ce9(0x21a)](_0x22c682)[_0x390ce9(0x239)](F)[_0x390ce9(0x239)](k);return{'threadId':_0x2609b0[_0x390ce9(0x215)],'resolvedAt':_0x2609b0[_0x390ce9(0x1ff)],'resolvedBy':_0x2609b0[_0x390ce9(0x230)]};},'reopenCommentThread':async({channelId:_0x548498,threadId:_0x5428d2})=>this[_0x4e111a(0x1db)](_0x548498)[_0x4e111a(0x211)](_0x5428d2)[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k),'removeCommentThread':({channelId:_0x45f17e,threadId:_0x3d3b9d})=>this[_0x4e111a(0x1db)](_0x45f17e)[_0x4e111a(0x208)](_0x3d3b9d)[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k),'addComment':({channelId:_0x5e3c7c,threadId:_0x28cf5e,commentId:_0x27ae67,content:_0x43aa1b,attributes:_0xce7c96})=>this[_0x4e111a(0x1db)](_0x5e3c7c)[_0x4e111a(0x23a)](_0x28cf5e,_0x27ae67,_0x43aa1b,_0xce7c96)[_0x4e111a(0x239)](k),'updateComment':({channelId:_0x169a04,threadId:_0xd927eb,commentId:_0x1f109b,content:_0x1d945b,attributes:_0x49af82})=>this[_0x4e111a(0x1db)](_0x169a04)[_0x4e111a(0x20f)](_0xd927eb,_0x1f109b,_0x1d945b,_0x49af82)[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k),'removeComment':({channelId:_0x3a2052,threadId:_0x11cf91,commentId:_0x3e101d})=>this[_0x4e111a(0x1db)](_0x3a2052)[_0x4e111a(0x1e9)](_0x11cf91,_0x3e101d)[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k)},_0xa7a797 instanceof _0x54a25f){const _0x4362e6=_0xa7a797[_0x4e111a(0x219)][_0x4e111a(0x1d7)](_0x4e111a(0x212)),_0x1234fb=_0xa7a797[_0x4e111a(0x210)][_0x4e111a(0x1d7)](_0x45b3cc);await this[_0x4e111a(0x233)](_0x4362e6);const _0x3cd839=await this[_0x4e111a(0x22a)][_0x4e111a(0x1d7)](_0x4362e6)[_0x4e111a(0x222)]();this[_0x4e111a(0x21e)](_0x1234fb,_0x4e111a(0x1e0)+_0x4362e6,(_0x2f5805,{session:_0x135295})=>{const _0x120b1b=_0x4e111a;_0x135295['id']===_0x1234fb[_0x120b1b(0x207)]&&(_0x2f5805[_0x120b1b(0x232)](),this[_0x120b1b(0x21d)][_0x120b1b(0x210)][_0x120b1b(0x1d7)](_0x120b1b(0x20b))[_0x120b1b(0x22f)](_0x135295[_0x120b1b(0x1ee)],_0x4362e6));}),_0x1234fb[_0x4e111a(0x1ed)](_0x4362e6,_0x3cd839);}}async[_0xc3cd37(0x233)](_0x43eb15){const _0x4bea30=_0xc3cd37;if(this[_0x4bea30(0x22a)][_0x4bea30(0x1f1)](_0x43eb15))throw new _0x4ab0b6(_0x4bea30(0x226),null,{'channelId':_0x43eb15});const _0x55a25a=this[_0x4bea30(0x21d)][_0x4bea30(0x210)][_0x4bea30(0x1d7)](_0x4bea30(0x238)),_0x4c8110=new CloudServicesCommentsAdapter[(_0x4bea30(0x1da))](_0x43eb15);this[_0x4bea30(0x22a)][_0x4bea30(0x1dd)](_0x43eb15,_0x4c8110),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x235),(_0x330b3e,_0x4da39b)=>{const _0x4c7fed=_0x4bea30,{commentThreadId:_0x1f4c25,documentId:_0x561267,context:_0xa16572,attributes:_0x29cf72,resolvedAt:_0x5ce21a,resolvedBy:_0x41eb75,comments:_0x59ee87}=_0x4da39b;_0x55a25a[_0x4c7fed(0x1e5)](_0x1f4c25)||_0x55a25a[_0x4c7fed(0x206)]({'threadId':_0x1f4c25,'channelId':_0x561267,'comments':_0x59ee87?_0x59ee87[_0x4c7fed(0x216)](S):[],'context':_0xa16572,'attributes':_0x29cf72,'resolvedAt':_0x5ce21a,'resolvedBy':_0x41eb75,'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x1f9),(_0x42f981,{commentThreadId:_0x47c7d0,documentId:_0x532b86,context:_0x3d435f,unlinkedAt:_0x18ec09,attributes:_0x4055bb})=>{const _0x5b1704=_0x4bea30;_0x55a25a[_0x5b1704(0x1e5)](_0x47c7d0)&&_0x55a25a[_0x5b1704(0x21c)]({'threadId':_0x47c7d0,'channelId':_0x532b86,'context':_0x3d435f,'unlinkedAt':_0x18ec09,'attributes':_0x4055bb,'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x218),(_0x394126,{commentThreadId:_0xf25422,resolvedBy:_0x44f04c,resolvedAt:_0x4bd2f7})=>{const _0xb58637=_0x4bea30,_0x40b8bc=_0x55a25a[_0xb58637(0x1e5)](_0xf25422);_0x40b8bc&&_0x40b8bc[_0xb58637(0x21b)]({'resolvedBy':_0x44f04c,'resolvedAt':_0x4bd2f7,'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x1ea),(_0x7bbd15,{commentThreadId:_0x55b044})=>{const _0x33c27c=_0x4bea30,_0x127013=_0x55a25a[_0x33c27c(0x1e5)](_0x55b044);_0x127013&&_0x127013[_0x33c27c(0x204)]({'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x1f3),(_0x30b2ed,{commentThreadId:_0x1eccd9})=>{const _0xc49370=_0x4bea30,_0x3cc4a4=_0x55a25a[_0xc49370(0x1e5)](_0x1eccd9);_0x3cc4a4&&_0x3cc4a4[_0xc49370(0x203)]({'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x213),(_0x5a0c70,_0x537c88)=>{const _0x3862a5=_0x4bea30,_0x2b405f=_0x537c88[_0x3862a5(0x215)],_0x16ef01=_0x55a25a[_0x3862a5(0x1e5)](_0x2b405f);_0x16ef01&&_0x16ef01[_0x3862a5(0x23a)]({...S(_0x537c88),'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x223),(_0x100bc8,{commentThreadId:_0x4043cd,commentId:_0x197283,content:_0x164a05,attributes:_0x1e9fc0})=>{const _0x5cfb4b=_0x4bea30,_0x382e5f=_0x55a25a[_0x5cfb4b(0x1e5)](_0x4043cd);if(_0x382e5f){const _0x23e2b1=_0x382e5f[_0x5cfb4b(0x227)](_0x197283);_0x23e2b1&&_0x23e2b1[_0x5cfb4b(0x22c)]({'content':_0x164a05,'attributes':_0x1e9fc0,'isFromAdapter':!0x0});}}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x1e4),(_0xb4367,{commentThreadId:_0x3b3e21,commentId:_0x300dca})=>{const _0x1814d6=_0x4bea30,_0x5cec1e=_0x55a25a[_0x1814d6(0x1e5)](_0x3b3e21);if(_0x5cec1e){const _0x4f29ac=_0x5cec1e[_0x1814d6(0x227)](_0x300dca);_0x4f29ac&&_0x4f29ac[_0x1814d6(0x203)]({'isFromAdapter':!0x0});}}),await this[_0x4bea30(0x229)](_0x43eb15);}[_0xc3cd37(0x224)](){const _0x4de183=_0xc3cd37;if(this[_0x4de183(0x21d)]instanceof _0x54a25f){const _0x4c1442=this[_0x4de183(0x21d)][_0x4de183(0x219)][_0x4de183(0x1d7)](_0x4de183(0x212));this[_0x4de183(0x22d)](_0x4c1442);}}[_0xc3cd37(0x22d)](_0x24fa1f){const _0x20947d=_0xc3cd37;if(!this[_0x20947d(0x22a)][_0x20947d(0x1f1)](_0x24fa1f))throw new _0x4ab0b6(_0x20947d(0x209),null,{'channelId':_0x24fa1f});this[_0x20947d(0x1db)](_0x24fa1f)[_0x20947d(0x1fd)](),this[_0x20947d(0x22a)][_0x20947d(0x236)](_0x24fa1f);}async[_0xc3cd37(0x1fa)](){const _0x465118=_0xc3cd37;for(const _0x4a2e43 of this[_0x465118(0x22a)][_0x465118(0x20a)]())await this[_0x465118(0x229)](_0x4a2e43);if(this[_0x465118(0x21d)]instanceof _0x54a25f){const _0x32861d=this[_0x465118(0x21d)][_0x465118(0x219)][_0x465118(0x1d7)](_0x465118(0x212)),_0x5f3e11=this[_0x465118(0x21d)][_0x465118(0x210)][_0x465118(0x1d7)](_0x45b3cc);_0x5f3e11[_0x465118(0x1e2)](_0x32861d);const _0x3b7ce7=await this[_0x465118(0x22a)][_0x465118(0x1d7)](_0x32861d)[_0x465118(0x222)]();_0x5f3e11[_0x465118(0x1ed)](_0x32861d,_0x3b7ce7);}}async[_0xc3cd37(0x229)](_0x47b780){const _0x281c1b=_0xc3cd37,{connection:_0x44852f}=this[_0x281c1b(0x21d)][_0x281c1b(0x210)][_0x281c1b(0x1d7)](_0x241bb3),_0x1ee9e2=this[_0x281c1b(0x21d)][_0x281c1b(0x210)][_0x281c1b(0x1d7)](_0x281c1b(0x238)),_0x52ea63=this[_0x281c1b(0x22a)][_0x281c1b(0x1d7)](_0x47b780),_0x2af88b=await _0x52ea63[_0x281c1b(0x1f4)](_0x44852f);await this[_0x281c1b(0x1dc)](_0x2af88b);const _0x2e2e8c=new Set(Array[_0x281c1b(0x202)](_0x1ee9e2[_0x281c1b(0x1e7)]({'channelId':_0x47b780}),_0x4b12b2=>_0x4b12b2['id']));for(const _0x411c48 of _0x2af88b)_0x411c48[_0x281c1b(0x1e8)]||_0x2e2e8c[_0x281c1b(0x236)](_0x411c48[_0x281c1b(0x215)]);for(const _0x22ce4f of _0x2e2e8c)_0x1ee9e2[_0x281c1b(0x1e5)](_0x22ce4f)[_0x281c1b(0x203)]({'isFromAdapter':!0x0});for(const _0x56c8e4 of _0x2af88b){let _0x24326e=_0x1ee9e2[_0x281c1b(0x1e5)](_0x56c8e4[_0x281c1b(0x215)]);const {commentThreadId:_0x48c3c4,context:_0x385873,attributes:_0x5f1785,resolvedBy:_0x5becf9,resolvedAt:_0x9569be,unlinkedAt:_0x1c3ce0,deletedAt:_0x55d40a}=_0x56c8e4;if(_0x55d40a)continue;_0x24326e||(_0x24326e=_0x1ee9e2[_0x281c1b(0x206)]({'channelId':_0x47b780,'threadId':_0x48c3c4,'context':_0x385873,'attributes':_0x5f1785||{},'resolvedBy':_0x5becf9,'resolvedAt':_0x9569be,'unlinkedAt':_0x1c3ce0,'isFromAdapter':!0x0}));const _0x38002f=new Set(Array[_0x281c1b(0x202)](_0x24326e[_0x281c1b(0x228)],_0x46dc2a=>_0x46dc2a['id']));for(const _0x434af8 of _0x56c8e4[_0x281c1b(0x228)])_0x38002f[_0x281c1b(0x236)](_0x434af8[_0x281c1b(0x1ec)]);for(const _0x1058c3 of _0x38002f)_0x24326e[_0x281c1b(0x227)](_0x1058c3)[_0x281c1b(0x203)]({'isFromAdapter':!0x0});for(const _0x5d9883 of _0x56c8e4[_0x281c1b(0x228)]){const _0x1d6fcf=_0x24326e[_0x281c1b(0x227)](_0x5d9883[_0x281c1b(0x1ec)]);_0x1d6fcf?_0x1d6fcf[_0x281c1b(0x22e)]!==_0x5d9883[_0x281c1b(0x22e)]&&_0x1d6fcf[_0x281c1b(0x22c)]({'content':_0x5d9883[_0x281c1b(0x22e)],'isFromAdapter':!0x0}):_0x24326e[_0x281c1b(0x23a)](Object[_0x281c1b(0x1d5)](S(_0x5d9883),{'isFromAdapter':!0x0}));}}}[_0xc3cd37(0x1db)](_0x197860){const _0x44e288=_0xc3cd37;if(!this[_0x44e288(0x22a)][_0x44e288(0x1f1)](_0x197860))throw new _0x4ab0b6(_0x44e288(0x221),null,{'channelId':_0x197860});return this[_0x44e288(0x22a)][_0x44e288(0x1d7)](_0x197860);}async[_0xc3cd37(0x1dc)](_0x3e8693){const _0x13dfcf=_0xc3cd37,_0x3be75d=this[_0x13dfcf(0x21d)][_0x13dfcf(0x210)][_0x13dfcf(0x1d7)](_0x4bdffb),{connection:_0x5eadf6}=this[_0x13dfcf(0x21d)][_0x13dfcf(0x210)][_0x13dfcf(0x1d7)](_0x241bb3),_0xa749ea=new Set();for(const {resolvedBy:_0x5e8c39,comments:_0x4ccf7a}of _0x3e8693){_0x5e8c39&&!_0x3be75d[_0x13dfcf(0x1df)](_0x5e8c39)&&_0xa749ea[_0x13dfcf(0x205)](_0x5e8c39);for(const {userId:_0x36268e}of _0x4ccf7a)_0x3be75d[_0x13dfcf(0x1df)](_0x36268e)||_0xa749ea[_0x13dfcf(0x205)](_0x36268e);}if(0x0===_0xa749ea[_0x13dfcf(0x1ef)])return;const _0x1163b0=await _0x37ec73[_0x13dfcf(0x1f6)](_0x5eadf6,Array[_0x13dfcf(0x202)](_0xa749ea));for(const _0x36cce7 of _0x1163b0)_0x3be75d[_0x13dfcf(0x1df)](_0x36cce7['id'])||_0x3be75d[_0x13dfcf(0x1fc)](_0x36cce7);}}function _0x180e(){const _0x1f0454=['24XGjzxI','cloudservicescommentsadapter-service-not-exist','getConnectedSessions','commentUpdated','destroy','authorId','cloudservicescommentsadapter-connect-already-connected','getComment','comments','_connectService','_services','requires','update','_terminateService','content','setPermissions','resolvedBy','isPremiumPlugin','off','_setUpService','userId','commentThreadAdded','delete','1081540HXsZxG','CommentsRepository','catch','addComment','pluginName','CloudServicesCommentsAdapter','assign','73oAHTDz','get','14088WCulZF','cloud-services-internal-error:\x20Request\x20timeout.','CommentsService','_getService','_fetchMissingUsersForThreads','set','isOfficialPlugin','getUser','sessionAdd:','startsWith','unregister','adapter','commentRemoved','getCommentThread','cloud-services-internal-error:\x20Not\x20connected.','getCommentThreads','deletedAt','removeComment','commentThreadReopened','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentId','register','permissions','size','code','has','createdAt','commentThreadRemoved','connect','12TOZyDc','getMany','attributes','message','commentThreadUpdated','reconnect','10JQYsBA','addUser','disconnect','init','resolvedAt','5519511DfMHei','13250736fxYkue','from','remove','reopen','add','addCommentThread','mySessionId','removeCommentThread','cloudservicescommentsadapter-disconnect-not-exist','keys','Permissions','404','3030335TtMHPb','2673986HjKBZH','updateComment','plugins','reopenCommentThread','collaboration.channelId','commentAdded','addToReconnectionStack','commentThreadId','map','20222liCCty','commentThreadResolved','config','resolveCommentThread','resolve','updateCommentThread','context','listenTo','339KRnsfv'];_0x180e=function(){return _0x1f0454;};return _0x180e();}async function F(_0x3048c0){const _0x283972=_0xc3cd37;if(_0x283972(0x20c)!==_0x3048c0[_0x283972(0x1f0)])throw _0x3048c0;}function k(_0x2559c6){const _0x3c5d9e=_0xc3cd37;if((_0x22ae81=_0x2559c6)[_0x3c5d9e(0x1f8)][_0x3c5d9e(0x1e1)](_0x3c5d9e(0x1eb))||_0x22ae81[_0x3c5d9e(0x1f8)][_0x3c5d9e(0x1e1)](_0x3c5d9e(0x1e6))||_0x22ae81[_0x3c5d9e(0x1f8)][_0x3c5d9e(0x1e1)](_0x3c5d9e(0x1d9)))return new Promise(()=>{});var _0x22ae81;throw _0x2559c6;}function S(_0x7d35d6){const _0x185aeb=_0xc3cd37;return{'threadId':_0x7d35d6[_0x185aeb(0x215)],'commentId':_0x7d35d6[_0x185aeb(0x1ec)],'content':_0x7d35d6[_0x185aeb(0x22e)],'createdAt':_0x7d35d6[_0x185aeb(0x1f2)],'authorId':_0x7d35d6[_0x185aeb(0x234)],'attributes':_0x7d35d6[_0x185aeb(0x1f7)]||{}};}
|
|
23
|
+
const _0x47f45f=_0x3c66;(function(_0x3949be,_0x4d7631){const _0x579512=_0x3c66,_0x4033d8=_0x3949be();while(!![]){try{const _0x537384=-parseInt(_0x579512(0x1e0))/0x1*(parseInt(_0x579512(0x223))/0x2)+-parseInt(_0x579512(0x204))/0x3*(-parseInt(_0x579512(0x224))/0x4)+-parseInt(_0x579512(0x220))/0x5+parseInt(_0x579512(0x214))/0x6*(parseInt(_0x579512(0x21d))/0x7)+-parseInt(_0x579512(0x1d1))/0x8*(parseInt(_0x579512(0x216))/0x9)+-parseInt(_0x579512(0x1e3))/0xa*(-parseInt(_0x579512(0x211))/0xb)+parseInt(_0x579512(0x1d2))/0xc;if(_0x537384===_0x4d7631)break;else _0x4033d8['push'](_0x4033d8['shift']());}catch(_0x1f3265){_0x4033d8['push'](_0x4033d8['shift']());}}}(_0x5c15,0x784b6));import{Context as _0x4d5ce1,ContextPlugin as _0x3b26b7}from'ckeditor5/src/core.js';import{CKEditorError as _0x12749a}from'ckeditor5/src/utils.js';import{Users as _0x57c0f6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2b44f7,User as _0x43a30d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x230724}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x47891c}from'../realtimecollaborativeediting/sessions.js';function _0x3c66(_0x11b837,_0x5770eb){const _0x5c1591=_0x5c15();return _0x3c66=function(_0x3c66f9,_0x41a807){_0x3c66f9=_0x3c66f9-0x1c7;let _0x2cc30c=_0x5c1591[_0x3c66f9];return _0x2cc30c;},_0x3c66(_0x11b837,_0x5770eb);}function _0x5c15(){const _0x53ce3a=['getUser','comments','cloudservicescommentsadapter-connect-already-connected','commentThreadRemoved','adapter','108912KZhBUP','reconnect','addCommentThread','removeCommentThread','resolvedBy','userId','listenTo','set','remove','_setUpService','getConnectedSessions','reopen','resolve','1166AeaBhG','_getService','setPermissions','1014zxyTol','content','1262934VDLAPT','commentRemoved','createdAt','getComment','cloud-services-internal-error:\x20Request\x20timeout.','connect','keys','40432YCNaeh','delete','_services','4843145SgsZNd','CommentsRepository','cloudservicescommentsadapter-disconnect-not-exist','2VRkfwL','92neSWdm','404','has','attributes','getCommentThread','disconnect','commentThreadId','removeComment','unregister','authorId','cloudservicescommentsadapter-service-not-exist','_terminateService','resolveCommentThread','cloud-services-internal-error:\x20Not\x20connected.','update','destroy','catch','Permissions','register','getCommentThreads','off','48LEbaNE','6916944JxMUAU','collaboration.channelId','from','reopenCommentThread','_fetchMissingUsersForThreads','addUser','commentId','context','resolvedAt','assign','commentUpdated','plugins','updateCommentThread','commentThreadUpdated','594203cTDhMZ','CommentsService','get','48110BQhXyN','size','CloudServicesCommentsAdapter','permissions','isPremiumPlugin','startsWith','isOfficialPlugin','_connectService','code','pluginName','commentThreadReopened','addComment','commentThreadAdded','config','add','sessionAdd:','deletedAt','commentThreadResolved','getMany','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','mySessionId','commentAdded','updateComment','requires','message','addToReconnectionStack','map','init'];_0x5c15=function(){return _0x53ce3a;};return _0x5c15();}export class CloudServicesCommentsAdapter extends _0x3b26b7{static [_0x47f45f(0x1e1)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2b44f7)());[_0x47f45f(0x21f)];static get[_0x47f45f(0x1fa)](){const _0x54ddd4=_0x47f45f;return[_0x230724,_0x54ddd4(0x221),_0x47891c,_0x57c0f6];}static get[_0x47f45f(0x1ec)](){const _0xa95d36=_0x47f45f;return _0xa95d36(0x1e5);}static get[_0x47f45f(0x1e9)](){return!0x0;}static get[_0x47f45f(0x1e7)](){return!0x0;}constructor(_0x294e78){const _0x415b53=_0x47f45f;super(_0x294e78),this[_0x415b53(0x21f)]=new Map();}async[_0x47f45f(0x1fe)](){const _0x5f0209=_0x47f45f,_0x4abee2=this[_0x5f0209(0x1d9)],_0x5da411=_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x5f0209(0x221));if(_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x230724)[_0x5f0209(0x1fc)](this),_0x5da411[_0x5f0209(0x203)]={'addCommentThread':async({channelId:_0xf0e680,threadId:_0x58c47a,comments:_0x47fed4,resolvedAt:_0x15e922,resolvedBy:_0x531858,context:_0x4b2597,attributes:_0x5d6107})=>{const _0x274f51=_0x5f0209,_0x13b3d5=await this[_0x274f51(0x212)](_0xf0e680)[_0x274f51(0x206)]({'commentThreadId':_0x58c47a,'comments':_0x47fed4[_0x274f51(0x1fd)](_0x1858f5=>function(_0x254ee1,_0x153ed7,_0x28b028){const _0x28f275=_0x274f51;return{'commentThreadId':_0x28b028,'commentId':_0x254ee1[_0x28f275(0x1d8)],'userId':_0x254ee1[_0x28f275(0x22d)],'content':_0x254ee1[_0x28f275(0x215)],'documentId':_0x153ed7,'createdAt':_0x254ee1[_0x28f275(0x218)],'attributes':_0x254ee1[_0x28f275(0x227)]||{}};}(_0x1858f5,_0xf0e680,_0x58c47a)),'resolvedAt':_0x15e922,'resolvedBy':_0x531858,'context':_0x4b2597,'attributes':_0x5d6107})[_0x274f51(0x1cc)](A);return{'threadId':_0x13b3d5[_0x274f51(0x22a)],'comments':_0x13b3d5[_0x274f51(0x200)]};},'getCommentThread':async({channelId:_0x5ffcaa,threadId:_0x19663d})=>{const _0x2fb543=_0x5f0209,_0x11902d=await this[_0x2fb543(0x212)](_0x5ffcaa)[_0x2fb543(0x228)](_0x19663d)[_0x2fb543(0x1cc)](f)[_0x2fb543(0x1cc)](A);return _0x11902d?_0x11902d[_0x2fb543(0x1f3)]?null:(await this[_0x2fb543(0x1d6)]([_0x11902d]),{'threadId':_0x11902d[_0x2fb543(0x22a)],'comments':_0x11902d[_0x2fb543(0x200)][_0x2fb543(0x1fd)](p),'context':_0x11902d[_0x2fb543(0x1d9)],'resolvedAt':_0x11902d[_0x2fb543(0x1da)],'resolvedBy':_0x11902d[_0x2fb543(0x208)],'attributes':_0x11902d[_0x2fb543(0x227)]||{}}):null;},'updateCommentThread':async({channelId:_0x10b016,threadId:_0x48804a,context:_0x4e1ac6,unlinkedAt:_0x21236a,attributes:_0x2365b7})=>this[_0x5f0209(0x212)](_0x10b016)[_0x5f0209(0x1de)]({'commentThreadId':_0x48804a,'context':_0x4e1ac6,'attributes':_0x2365b7,'unlinkedAt':_0x21236a})[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'resolveCommentThread':async({channelId:_0x132622,threadId:_0x447e53})=>{const _0x184f7b=_0x5f0209,_0x28aebe=await this[_0x184f7b(0x212)](_0x132622)[_0x184f7b(0x1c8)](_0x447e53)[_0x184f7b(0x1cc)](f)[_0x184f7b(0x1cc)](A);return{'threadId':_0x28aebe[_0x184f7b(0x22a)],'resolvedAt':_0x28aebe[_0x184f7b(0x1da)],'resolvedBy':_0x28aebe[_0x184f7b(0x208)]};},'reopenCommentThread':async({channelId:_0x31aac9,threadId:_0xe16ee})=>this[_0x5f0209(0x212)](_0x31aac9)[_0x5f0209(0x1d5)](_0xe16ee)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'removeCommentThread':({channelId:_0x28c9db,threadId:_0x5b0442})=>this[_0x5f0209(0x212)](_0x28c9db)[_0x5f0209(0x207)](_0x5b0442)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'addComment':({channelId:_0x48e9a8,threadId:_0xda5476,commentId:_0x5948c6,content:_0x1fcfcf,attributes:_0x427497})=>this[_0x5f0209(0x212)](_0x48e9a8)[_0x5f0209(0x1ee)](_0xda5476,_0x5948c6,_0x1fcfcf,_0x427497)[_0x5f0209(0x1cc)](A),'updateComment':({channelId:_0x3a68d1,threadId:_0xfa4c01,commentId:_0x250a62,content:_0x2e2013,attributes:_0x3e4886})=>this[_0x5f0209(0x212)](_0x3a68d1)[_0x5f0209(0x1f9)](_0xfa4c01,_0x250a62,_0x2e2013,_0x3e4886)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'removeComment':({channelId:_0x198374,threadId:_0x550ea5,commentId:_0x3ffddc})=>this[_0x5f0209(0x212)](_0x198374)[_0x5f0209(0x22b)](_0x550ea5,_0x3ffddc)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A)},_0x4abee2 instanceof _0x4d5ce1){const _0x2f3775=_0x4abee2[_0x5f0209(0x1f0)][_0x5f0209(0x1e2)](_0x5f0209(0x1d3)),_0x4723c1=_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x47891c);await this[_0x5f0209(0x20d)](_0x2f3775);const _0x44a1c5=await this[_0x5f0209(0x21f)][_0x5f0209(0x1e2)](_0x2f3775)[_0x5f0209(0x20e)]();this[_0x5f0209(0x20a)](_0x4723c1,_0x5f0209(0x1f2)+_0x2f3775,(_0x223df5,{session:_0x1a2ab8})=>{const _0x345ca4=_0x5f0209;_0x1a2ab8['id']===_0x4723c1[_0x345ca4(0x1f7)]&&(_0x223df5[_0x345ca4(0x1d0)](),this[_0x345ca4(0x1d9)][_0x345ca4(0x1dd)][_0x345ca4(0x1e2)](_0x345ca4(0x1cd))[_0x345ca4(0x213)](_0x1a2ab8[_0x345ca4(0x1e6)],_0x2f3775));}),_0x4723c1[_0x5f0209(0x1ce)](_0x2f3775,_0x44a1c5);}}async[_0x47f45f(0x20d)](_0x1bc96d){const _0x345184=_0x47f45f;if(this[_0x345184(0x21f)][_0x345184(0x226)](_0x1bc96d))throw new _0x12749a(_0x345184(0x201),null,{'channelId':_0x1bc96d});const _0x2cf0c0=this[_0x345184(0x1d9)][_0x345184(0x1dd)][_0x345184(0x1e2)](_0x345184(0x221)),_0x14dfe9=new CloudServicesCommentsAdapter[(_0x345184(0x1e1))](_0x1bc96d);this[_0x345184(0x21f)][_0x345184(0x20b)](_0x1bc96d,_0x14dfe9),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1ef),(_0x217cf2,_0x3c01df)=>{const _0x35e76a=_0x345184,{commentThreadId:_0x2b4774,documentId:_0x1648b4,context:_0x245a9d,attributes:_0x42465e,resolvedAt:_0x6db50c,resolvedBy:_0x2a71a0,comments:_0x46584b}=_0x3c01df;_0x2cf0c0[_0x35e76a(0x228)](_0x2b4774)||_0x2cf0c0[_0x35e76a(0x206)]({'threadId':_0x2b4774,'channelId':_0x1648b4,'comments':_0x46584b?_0x46584b[_0x35e76a(0x1fd)](p):[],'context':_0x245a9d,'attributes':_0x42465e,'resolvedAt':_0x6db50c,'resolvedBy':_0x2a71a0,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1df),(_0x52a43c,{commentThreadId:_0x497f38,documentId:_0x39a597,context:_0x3a540c,unlinkedAt:_0x4425d0,attributes:_0x4e62ea})=>{const _0x32c0f1=_0x345184;_0x2cf0c0[_0x32c0f1(0x228)](_0x497f38)&&_0x2cf0c0[_0x32c0f1(0x1de)]({'threadId':_0x497f38,'channelId':_0x39a597,'context':_0x3a540c,'unlinkedAt':_0x4425d0,'attributes':_0x4e62ea,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1f4),(_0x4bee36,{commentThreadId:_0x5724f4,resolvedBy:_0x2c16f5,resolvedAt:_0x128bbd})=>{const _0x8cf037=_0x345184,_0x1b0d43=_0x2cf0c0[_0x8cf037(0x228)](_0x5724f4);_0x1b0d43&&_0x1b0d43[_0x8cf037(0x210)]({'resolvedBy':_0x2c16f5,'resolvedAt':_0x128bbd,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1ed),(_0x100991,{commentThreadId:_0x2610a7})=>{const _0x630657=_0x345184,_0x1c3c66=_0x2cf0c0[_0x630657(0x228)](_0x2610a7);_0x1c3c66&&_0x1c3c66[_0x630657(0x20f)]({'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x202),(_0x57d1bc,{commentThreadId:_0xaf61a5})=>{const _0x5eb413=_0x345184,_0x2c007d=_0x2cf0c0[_0x5eb413(0x228)](_0xaf61a5);_0x2c007d&&_0x2c007d[_0x5eb413(0x20c)]({'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1f8),(_0x1f4c7d,_0x166613)=>{const _0x27468d=_0x345184,_0x1660fe=_0x166613[_0x27468d(0x22a)],_0x49080d=_0x2cf0c0[_0x27468d(0x228)](_0x1660fe);_0x49080d&&_0x49080d[_0x27468d(0x1ee)]({...p(_0x166613),'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1dc),(_0x2fcbb,{commentThreadId:_0x4eca6a,commentId:_0x441a84,content:_0x5c77dc,attributes:_0x3cf6c1})=>{const _0x2ebff8=_0x345184,_0x14c495=_0x2cf0c0[_0x2ebff8(0x228)](_0x4eca6a);if(_0x14c495){const _0x3f2c98=_0x14c495[_0x2ebff8(0x219)](_0x441a84);_0x3f2c98&&_0x3f2c98[_0x2ebff8(0x1ca)]({'content':_0x5c77dc,'attributes':_0x3cf6c1,'isFromAdapter':!0x0});}}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x217),(_0x242157,{commentThreadId:_0x108c98,commentId:_0x39fe51})=>{const _0x1b7689=_0x345184,_0x355c11=_0x2cf0c0[_0x1b7689(0x228)](_0x108c98);if(_0x355c11){const _0x312360=_0x355c11[_0x1b7689(0x219)](_0x39fe51);_0x312360&&_0x312360[_0x1b7689(0x20c)]({'isFromAdapter':!0x0});}}),await this[_0x345184(0x1ea)](_0x1bc96d);}[_0x47f45f(0x1cb)](){const _0x5a7646=_0x47f45f;if(this[_0x5a7646(0x1d9)]instanceof _0x4d5ce1){const _0x2a96ad=this[_0x5a7646(0x1d9)][_0x5a7646(0x1f0)][_0x5a7646(0x1e2)](_0x5a7646(0x1d3));this[_0x5a7646(0x1c7)](_0x2a96ad);}}[_0x47f45f(0x1c7)](_0x24aa79){const _0x43e53d=_0x47f45f;if(!this[_0x43e53d(0x21f)][_0x43e53d(0x226)](_0x24aa79))throw new _0x12749a(_0x43e53d(0x222),null,{'channelId':_0x24aa79});this[_0x43e53d(0x212)](_0x24aa79)[_0x43e53d(0x229)](),this[_0x43e53d(0x21f)][_0x43e53d(0x21e)](_0x24aa79);}async[_0x47f45f(0x205)](){const _0xb7016f=_0x47f45f;for(const _0x4ce3ae of this[_0xb7016f(0x21f)][_0xb7016f(0x21c)]())await this[_0xb7016f(0x1ea)](_0x4ce3ae);if(this[_0xb7016f(0x1d9)]instanceof _0x4d5ce1){const _0x2a0b7=this[_0xb7016f(0x1d9)][_0xb7016f(0x1f0)][_0xb7016f(0x1e2)](_0xb7016f(0x1d3)),_0x5022c6=this[_0xb7016f(0x1d9)][_0xb7016f(0x1dd)][_0xb7016f(0x1e2)](_0x47891c);_0x5022c6[_0xb7016f(0x22c)](_0x2a0b7);const _0x4ac60c=await this[_0xb7016f(0x21f)][_0xb7016f(0x1e2)](_0x2a0b7)[_0xb7016f(0x20e)]();_0x5022c6[_0xb7016f(0x1ce)](_0x2a0b7,_0x4ac60c);}}async[_0x47f45f(0x1ea)](_0x180b7b){const _0x137f7a=_0x47f45f,{connection:_0x1e53fd}=this[_0x137f7a(0x1d9)][_0x137f7a(0x1dd)][_0x137f7a(0x1e2)](_0x230724),_0x4e3311=this[_0x137f7a(0x1d9)][_0x137f7a(0x1dd)][_0x137f7a(0x1e2)](_0x137f7a(0x221)),_0x5abec0=this[_0x137f7a(0x21f)][_0x137f7a(0x1e2)](_0x180b7b),_0x1fe181=await _0x5abec0[_0x137f7a(0x21b)](_0x1e53fd);await this[_0x137f7a(0x1d6)](_0x1fe181);const _0x16eb51=new Set(Array[_0x137f7a(0x1d4)](_0x4e3311[_0x137f7a(0x1cf)]({'channelId':_0x180b7b}),_0x1bd71c=>_0x1bd71c['id']));for(const _0x22cb63 of _0x1fe181)_0x22cb63[_0x137f7a(0x1f3)]||_0x16eb51[_0x137f7a(0x21e)](_0x22cb63[_0x137f7a(0x22a)]);for(const _0x1113a8 of _0x16eb51)_0x4e3311[_0x137f7a(0x228)](_0x1113a8)[_0x137f7a(0x20c)]({'isFromAdapter':!0x0});for(const _0x155b28 of _0x1fe181){let _0x2e6278=_0x4e3311[_0x137f7a(0x228)](_0x155b28[_0x137f7a(0x22a)]);const {commentThreadId:_0x1059f5,context:_0x318f22,attributes:_0x305b3f,resolvedBy:_0x3169a3,resolvedAt:_0xe17783,unlinkedAt:_0x465c2f,deletedAt:_0x3c3ab4}=_0x155b28;if(_0x3c3ab4)continue;_0x2e6278||(_0x2e6278=_0x4e3311[_0x137f7a(0x206)]({'channelId':_0x180b7b,'threadId':_0x1059f5,'context':_0x318f22,'attributes':_0x305b3f||{},'resolvedBy':_0x3169a3,'resolvedAt':_0xe17783,'unlinkedAt':_0x465c2f,'isFromAdapter':!0x0}));const _0xea3eca=new Set(Array[_0x137f7a(0x1d4)](_0x2e6278[_0x137f7a(0x200)],_0x53a9a1=>_0x53a9a1['id']));for(const _0x2a94c6 of _0x155b28[_0x137f7a(0x200)])_0xea3eca[_0x137f7a(0x21e)](_0x2a94c6[_0x137f7a(0x1d8)]);for(const _0x49823a of _0xea3eca)_0x2e6278[_0x137f7a(0x219)](_0x49823a)[_0x137f7a(0x20c)]({'isFromAdapter':!0x0});for(const _0x533dbb of _0x155b28[_0x137f7a(0x200)]){const _0x3587b4=_0x2e6278[_0x137f7a(0x219)](_0x533dbb[_0x137f7a(0x1d8)]);_0x3587b4?_0x3587b4[_0x137f7a(0x215)]!==_0x533dbb[_0x137f7a(0x215)]&&_0x3587b4[_0x137f7a(0x1ca)]({'content':_0x533dbb[_0x137f7a(0x215)],'isFromAdapter':!0x0}):_0x2e6278[_0x137f7a(0x1ee)](Object[_0x137f7a(0x1db)](p(_0x533dbb),{'isFromAdapter':!0x0}));}}}[_0x47f45f(0x212)](_0x586f05){const _0x34bcfd=_0x47f45f;if(!this[_0x34bcfd(0x21f)][_0x34bcfd(0x226)](_0x586f05))throw new _0x12749a(_0x34bcfd(0x22e),null,{'channelId':_0x586f05});return this[_0x34bcfd(0x21f)][_0x34bcfd(0x1e2)](_0x586f05);}async[_0x47f45f(0x1d6)](_0x1b8e28){const _0x502093=_0x47f45f,_0x176286=this[_0x502093(0x1d9)][_0x502093(0x1dd)][_0x502093(0x1e2)](_0x57c0f6),{connection:_0xf2590d}=this[_0x502093(0x1d9)][_0x502093(0x1dd)][_0x502093(0x1e2)](_0x230724),_0x3d76b7=new Set();for(const {resolvedBy:_0x4849c7,comments:_0x2ce501}of _0x1b8e28){_0x4849c7&&!_0x176286[_0x502093(0x1ff)](_0x4849c7)&&_0x3d76b7[_0x502093(0x1f1)](_0x4849c7);for(const {userId:_0xbbb299}of _0x2ce501)_0x176286[_0x502093(0x1ff)](_0xbbb299)||_0x3d76b7[_0x502093(0x1f1)](_0xbbb299);}if(0x0===_0x3d76b7[_0x502093(0x1e4)])return;const _0x5f1845=await _0x43a30d[_0x502093(0x1f5)](_0xf2590d,Array[_0x502093(0x1d4)](_0x3d76b7));for(const _0x373177 of _0x5f1845)_0x176286[_0x502093(0x1ff)](_0x373177['id'])||_0x176286[_0x502093(0x1d7)](_0x373177);}}async function f(_0x205d50){const _0x21d53b=_0x47f45f;if(_0x21d53b(0x225)!==_0x205d50[_0x21d53b(0x1eb)])throw _0x205d50;}function A(_0x38f013){const _0x2e3387=_0x47f45f;if((_0x101e71=_0x38f013)[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x1f6))||_0x101e71[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x1c9))||_0x101e71[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x21a)))return new Promise(()=>{});var _0x101e71;throw _0x38f013;}function p(_0x26aac7){const _0x3e6470=_0x47f45f;return{'threadId':_0x26aac7[_0x3e6470(0x22a)],'commentId':_0x26aac7[_0x3e6470(0x1d8)],'content':_0x26aac7[_0x3e6470(0x215)],'createdAt':_0x26aac7[_0x3e6470(0x218)],'authorId':_0x26aac7[_0x3e6470(0x209)],'attributes':_0x26aac7[_0x3e6470(0x227)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d9faf=_0x2701;(function(_0x5f01a7,_0x4abf1c){const _0x1af46d=_0x2701,_0xeb80bf=_0x5f01a7();while(!![]){try{const _0xd82891=parseInt(_0x1af46d(0x139))/0x1*(parseInt(_0x1af46d(0x145))/0x2)+parseInt(_0x1af46d(0x153))/0x3*(-parseInt(_0x1af46d(0x14f))/0x4)+-parseInt(_0x1af46d(0x12f))/0x5+-parseInt(_0x1af46d(0x146))/0x6*(parseInt(_0x1af46d(0x14c))/0x7)+-parseInt(_0x1af46d(0x133))/0x8+-parseInt(_0x1af46d(0x136))/0x9*(-parseInt(_0x1af46d(0x14b))/0xa)+-parseInt(_0x1af46d(0x13f))/0xb*(-parseInt(_0x1af46d(0x14a))/0xc);if(_0xd82891===_0x4abf1c)break;else _0xeb80bf['push'](_0xeb80bf['shift']());}catch(_0x2b4eda){_0xeb80bf['push'](_0xeb80bf['shift']());}}}(_0x5ece,0xd59b9));import{Plugin as _0x2efcca}from'ckeditor5/src/core.js';function _0x2701(_0x45a953,_0x565f20){const _0x5ece1f=_0x5ece();return _0x2701=function(_0x270104,_0x27c74d){_0x270104=_0x270104-0x12f;let _0x5ea13c=_0x5ece1f[_0x270104];return _0x5ea13c;},_0x2701(_0x45a953,_0x565f20);}import{CloudServicesCommentsAdapter as _0x20f0da}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x2f9c5d}from'./realtimecollaborativeediting.js';function _0x5ece(){const _0x1e6d18=['CommentsRepository','isThreadsLoadingPaused','init','12061504Ckfpet','isOfficialPlugin','config','9qhXARO','pluginName','once','13021KvUSYZ','editor','destroy','_terminateService','requires','isPremiumPlugin','22dBKjdl','CommentsEditing','listenTo','switchReadOnly','_setUpService','data','178ovKbOx','12cCZYNA','ready','RealTimeCollaborativeComments','collaboration.channelId','11764092YXCWia','10686220OfidCK','453845mUrrlp','plugins','change:state','2021304HfMggu','connected','Comments','get','3FeBkLt','5852760GOATPR'];_0x5ece=function(){return _0x1e6d18;};return _0x5ece();}import{WebSocketGateway as _0x2f5e9d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x2efcca{static get[_0x5d9faf(0x13d)](){const _0x232319=_0x5d9faf;return[_0x232319(0x151),_0x20f0da,_0x2f9c5d,_0x2f5e9d];}static get[_0x5d9faf(0x137)](){const _0x38bba6=_0x5d9faf;return _0x38bba6(0x148);}static get[_0x5d9faf(0x134)](){return!0x0;}static get[_0x5d9faf(0x13e)](){return!0x0;}[_0x5d9faf(0x132)](){const _0x297352=_0x5d9faf,_0x2d0028=this[_0x297352(0x13a)][_0x297352(0x14d)][_0x297352(0x152)](_0x2f5e9d),_0x41753b=this[_0x297352(0x13a)][_0x297352(0x14d)][_0x297352(0x152)](_0x297352(0x140)),_0x59ed98=this[_0x297352(0x13a)][_0x297352(0x14d)][_0x297352(0x152)](_0x20f0da);return this[_0x297352(0x13a)][_0x297352(0x144)][_0x297352(0x138)](_0x297352(0x147),()=>{const _0xf3979=_0x297352;this[_0xf3979(0x141)](_0x2d0028,_0xf3979(0x14e),(_0x350abe,_0x287034,_0x137e7e)=>{const _0x1869d0=_0xf3979;_0x41753b[_0x1869d0(0x131)]=_0x1869d0(0x150)!==_0x137e7e;});}),this[_0x297352(0x141)](_0x2d0028,_0x297352(0x14e),(_0x4c3022,_0x4d84bd,_0x2614ae)=>{const _0x186faa=_0x297352;this[_0x186faa(0x13a)][_0x186faa(0x14d)][_0x186faa(0x152)](_0x186faa(0x130))[_0x186faa(0x142)](_0x186faa(0x150)!==_0x2614ae);}),_0x59ed98[_0x297352(0x143)](this[_0x297352(0x13a)][_0x297352(0x135)][_0x297352(0x152)](_0x297352(0x149)));}[_0x5d9faf(0x13b)](){const _0x1dc9b5=_0x5d9faf;this[_0x1dc9b5(0x13a)][_0x1dc9b5(0x14d)][_0x1dc9b5(0x152)](_0x20f0da)[_0x1dc9b5(0x13c)](this[_0x1dc9b5(0x13a)][_0x1dc9b5(0x135)][_0x1dc9b5(0x152)](_0x1dc9b5(0x149))),super[_0x1dc9b5(0x13b)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x8f9b5b)());[_0x58dff2(0x270)];[_0x58dff2(0x253)];[_0x58dff2(0x2b8)];[_0x58dff2(0x275)];[_0x58dff2(0x29c)];[_0x58dff2(0x280)];[_0x58dff2(0x2c9)];[_0x58dff2(0x2d3)];[_0x58dff2(0x24c)];[_0x58dff2(0x276)];[_0x58dff2(0x284)];[_0x58dff2(0x2c0)];[_0x58dff2(0x2a0)];[_0x58dff2(0x2af)];[_0x58dff2(0x24a)];[_0x58dff2(0x234)];[_0x58dff2(0x2cc)];[_0x58dff2(0x27b)];static get[_0x58dff2(0x258)](){return[_0x44585b,_0x44807a,_0x5958b7,_0x10b427,_0x694ec4,_0x3728da];}static get[_0x58dff2(0x1ed)](){const _0x14e302=_0x58dff2;return _0x14e302(0x20f);}static get[_0x58dff2(0x1eb)](){return!0x0;}static get[_0x58dff2(0x1e9)](){return!0x0;}get[_0x58dff2(0x296)](){const _0x4f6c99=_0x58dff2;return this[_0x4f6c99(0x1dc)]+this[_0x4f6c99(0x270)];}get[_0x58dff2(0x1dc)](){const _0x3f462a=_0x58dff2;return this[_0x3f462a(0x2b8)][_0x3f462a(0x200)]-this[_0x3f462a(0x270)];}get[_0x58dff2(0x22c)](){const _0x53ed69=_0x58dff2,_0x340bbc=this[_0x53ed69(0x2b8)][_0x53ed69(0x2bc)]();for(let _0x5e0ebd=_0x340bbc[_0x53ed69(0x23d)]-0x1;_0x5e0ebd>=0x0;_0x5e0ebd--){const _0x49cf0d=_0x340bbc[_0x5e0ebd];if(!this[_0x53ed69(0x2cc)][_0x53ed69(0x249)](_0x49cf0d))return _0x49cf0d[_0x53ed69(0x2a7)]+0x1-this[_0x53ed69(0x270)];}return 0x0;}constructor(_0x5da181){const _0x370c42=_0x58dff2;if(super(_0x5da181),this[_0x370c42(0x270)]=0x0,this[_0x370c42(0x253)]=null,this[_0x370c42(0x2b8)]=new _0x5a0430(),this[_0x370c42(0x1e1)][_0x370c42(0x22d)][_0x370c42(0x21a)](_0x370c42(0x233),{}),this[_0x370c42(0x275)]=this[_0x370c42(0x1e1)][_0x370c42(0x22d)][_0x370c42(0x24b)](_0x370c42(0x212)),!this[_0x370c42(0x275)])throw new _0x11fd2e(_0x370c42(0x246),this);const _0x2022d9=_0x5da181[_0x370c42(0x22d)][_0x370c42(0x24b)](_0x370c42(0x20a))||_0x336b80;this[_0x370c42(0x29c)]=new RealTimeCollaborationClient[(_0x370c42(0x285))](_0x2022d9,this[_0x370c42(0x275)]),this[_0x370c42(0x280)]=this[_0x370c42(0x1e1)][_0x370c42(0x2cf)][_0x370c42(0x1f3)],this[_0x370c42(0x2c9)]=new _0x4717b8(),this[_0x370c42(0x2d3)]=[],this[_0x370c42(0x24c)]=new WeakSet(),this[_0x370c42(0x276)]=new Set(),this[_0x370c42(0x2d4)](_0x370c42(0x23c),!0x1),this[_0x370c42(0x2d4)](_0x370c42(0x2c4),!0x1),this[_0x370c42(0x284)]=null,this[_0x370c42(0x2c0)]=!0x1,this[_0x370c42(0x2a0)]=null,this[_0x370c42(0x2af)]=0x12c,this[_0x370c42(0x24a)]=this[_0x370c42(0x2af)],this[_0x370c42(0x234)]=null,this[_0x370c42(0x2cc)]=new WeakSet(),this[_0x370c42(0x27b)]=new X(this[_0x370c42(0x2cc)]);}[_0x58dff2(0x2d0)](){const _0x2b2d8a=_0x58dff2,_0x4f44ed=this[_0x2b2d8a(0x1e1)],_0x56f821=_0x4f44ed[_0x2b2d8a(0x239)][_0x2b2d8a(0x24b)](_0x694ec4),_0x114ee7=_0x4f44ed[_0x2b2d8a(0x239)][_0x2b2d8a(0x24b)](_0x44585b);this[_0x2b2d8a(0x24e)](_0x56f821,_0x2b2d8a(0x268),(_0x31571d,_0x22e689)=>{const _0x20a12f=_0x2b2d8a,_0x1e9f23=_0x22e689[0x0];_0x1e9f23[_0x20a12f(0x230)]&&(_0x31571d[_0x20a12f(0x1de)]=_0x56f821[_0x20a12f(0x29b)](_0x1e9f23[_0x20a12f(0x230)]),_0x31571d[_0x20a12f(0x225)]()),null===_0x1e9f23[_0x20a12f(0x230)]&&(_0x31571d[_0x20a12f(0x1de)]=null,_0x31571d[_0x20a12f(0x225)]());},{'priority':_0x2b2d8a(0x215)}),this[_0x2b2d8a(0x24e)](_0x4f44ed[_0x2b2d8a(0x2cf)][_0x2b2d8a(0x1f3)][_0x2b2d8a(0x2b5)],_0x2b2d8a(0x26c),(_0x3f8d43,_0x331430)=>{const _0x38059d=_0x2b2d8a;_0x331430[_0x38059d(0x1d8)]&&this[_0x38059d(0x26f)]();}),this[_0x2b2d8a(0x24e)](_0x4f44ed[_0x2b2d8a(0x22e)][_0x2b2d8a(0x209)],_0x2b2d8a(0x28a),()=>{const _0x509312=_0x2b2d8a;this[_0x509312(0x26f)]();}),this[_0x2b2d8a(0x206)](),_0x4f44ed[_0x2b2d8a(0x2cf)]['on'](_0x2b2d8a(0x260),(_0x3bbd0d,_0xc84350)=>{const _0x388e30=_0x2b2d8a,_0x2584a2=_0xc84350[0x0];_0x2584a2[_0x388e30(0x2be)]&&(this[_0x388e30(0x2b0)](_0x2584a2),this[_0x388e30(0x264)]()&&this[_0x388e30(0x269)]());}),this[_0x2b2d8a(0x1f4)](),this[_0x2b2d8a(0x279)](_0x2b2d8a(0x2aa))['to'](_0x114ee7,_0x2b2d8a(0x1f7),this,_0x2b2d8a(0x2c4),(_0x19b1f5,_0xdfd852)=>_0x2b2d8a(0x238)===_0x19b1f5&&!_0xdfd852),this['on'](_0x2b2d8a(0x235),()=>{const _0x5b825a=_0x2b2d8a;this[_0x5b825a(0x2aa)]?_0x4f44ed[_0x5b825a(0x1e6)](_0x5b825a(0x1e8)):_0x4f44ed[_0x5b825a(0x203)](_0x5b825a(0x1e8));}),this[_0x2b2d8a(0x2aa)]?_0x4f44ed[_0x2b2d8a(0x1e6)](_0x2b2d8a(0x1e8)):_0x4f44ed[_0x2b2d8a(0x203)](_0x2b2d8a(0x1e8)),this[_0x2b2d8a(0x2d4)](_0x2b2d8a(0x1df),!0x1);}async[_0x58dff2(0x2b1)](){const _0x8aad8b=_0x58dff2,_0x10f5cb=this[_0x8aad8b(0x1e1)][_0x8aad8b(0x239)][_0x8aad8b(0x24b)](_0x44807a),_0x596f90=this[_0x8aad8b(0x1e1)][_0x8aad8b(0x239)][_0x8aad8b(0x24b)](_0x44585b);try{this[_0x8aad8b(0x23c)]=!0x0,_0x10f5cb[_0x8aad8b(0x1f5)](this[_0x8aad8b(0x275)]);const _0x5c8cc6=await this[_0x8aad8b(0x29c)][_0x8aad8b(0x2b1)](_0x596f90[_0x8aad8b(0x257)],this[_0x8aad8b(0x22c)]);await this[_0x8aad8b(0x201)](_0x5c8cc6)&&(this[_0x8aad8b(0x23c)]=!0x1,this[_0x8aad8b(0x26d)]());const _0x549bbc=await this[_0x8aad8b(0x29c)][_0x8aad8b(0x277)]();_0x10f5cb[_0x8aad8b(0x2d9)](this[_0x8aad8b(0x275)],_0x549bbc),this[_0x8aad8b(0x214)](),this[_0x8aad8b(0x1df)]=!0x0;}catch(_0x3be2de){if(function(_0x563391){const _0x5306ac=_0x8aad8b;return _0x5306ac(0x248)===_0x563391[_0x5306ac(0x219)];}(_0x3be2de)&&this[_0x8aad8b(0x253)])await this[_0x8aad8b(0x2da)]();else{if(function(_0x3c11e3){const _0x1747d9=_0x8aad8b;return _0x1747d9(0x2ab)===_0x3c11e3[_0x1747d9(0x219)];}(_0x3be2de)){const _0x23538c=_0x54aceb(this[_0x8aad8b(0x1e1)][_0x8aad8b(0x207)],_0x8aad8b(0x28b));this[_0x8aad8b(0x298)](_0x23538c);}else{if(!(_0x3be2de instanceof J))throw _0x3be2de;this[_0x8aad8b(0x298)]();}}}}[_0x58dff2(0x223)](){const _0x3398ca=_0x58dff2,_0x58744e=this[_0x3398ca(0x1e1)][_0x3398ca(0x239)][_0x3398ca(0x24b)](_0x44585b),_0xa63457=this[_0x3398ca(0x1e1)][_0x3398ca(0x239)][_0x3398ca(0x24b)](_0x44807a);this[_0x3398ca(0x1e1)][_0x3398ca(0x203)](_0x3398ca(0x1fc)),_0xa63457[_0x3398ca(0x288)][_0x3398ca(0x249)](this[_0x3398ca(0x275)])&&_0xa63457[_0x3398ca(0x1f5)](this[_0x3398ca(0x275)]),_0x58744e[_0x3398ca(0x25b)](this),this[_0x3398ca(0x2db)](),super[_0x3398ca(0x223)]();}async[_0x58dff2(0x201)](_0x589c66){const _0x53cd91=_0x58dff2;if(this[_0x53cd91(0x253)]!==_0x589c66[_0x53cd91(0x253)]&&this[_0x53cd91(0x234)]!==_0x589c66[_0x53cd91(0x2d5)])throw new J();return this[_0x53cd91(0x253)]=_0x589c66[_0x53cd91(0x253)],this[_0x53cd91(0x1ee)]([],{..._0x589c66,'wereChangesApplied':!0x1,'data':_0x589c66[_0x53cd91(0x267)]},_0x53cd91(0x2b1));}async[_0x58dff2(0x283)](_0x992dd0,_0x5aaa10=!0x1){const _0xa47bbe=_0x58dff2,{connection:_0x2e1bfd}=this[_0xa47bbe(0x1e1)][_0xa47bbe(0x239)][_0xa47bbe(0x24b)](_0x44585b);RealTimeCollaborationClient[_0xa47bbe(0x285)][_0xa47bbe(0x277)](_0x2e1bfd,this[_0xa47bbe(0x275)])[_0xa47bbe(0x1e0)](_0x479c38=>this[_0xa47bbe(0x1e3)](_0x479c38))[_0xa47bbe(0x23e)](_0xb84167=>{const _0x273553=_0xa47bbe;this[_0x273553(0x29e)](_0x273553(0x26b),_0xb84167);}),this[_0xa47bbe(0x24e)](this[_0xa47bbe(0x29c)],_0xa47bbe(0x242),this[_0xa47bbe(0x2d1)][_0xa47bbe(0x279)](this)),this[_0xa47bbe(0x24e)](this[_0xa47bbe(0x29c)],_0xa47bbe(0x21c),(_0x430049,_0x41ce6e)=>{const _0x385e45=_0xa47bbe;this[_0x385e45(0x29e)](_0x385e45(0x232),_0x41ce6e);}),this[_0xa47bbe(0x24e)](this[_0xa47bbe(0x29c)],_0xa47bbe(0x2c8),()=>{const _0x5b434e=_0xa47bbe;this[_0x5b434e(0x1df)]=!0x1;});const _0x1d3c93=this[_0xa47bbe(0x27b)][_0xa47bbe(0x2c2)](_0x992dd0);this[_0xa47bbe(0x23c)]=!0x0;const _0x4ae9b0=await this[_0xa47bbe(0x29c)][_0xa47bbe(0x2b4)](_0x2e1bfd,this[_0xa47bbe(0x1e7)](_0x992dd0),_0x1d3c93);if(this[_0xa47bbe(0x253)]=_0x4ae9b0[_0xa47bbe(0x253)],_0x5aaa10){if(!_0x4ae9b0[_0xa47bbe(0x290)])return void this[_0xa47bbe(0x298)]();this[_0xa47bbe(0x23c)]=!0x1,this[_0xa47bbe(0x26d)](),this[_0xa47bbe(0x2b8)][_0xa47bbe(0x2b3)](),this[_0xa47bbe(0x270)]=_0x4ae9b0[_0xa47bbe(0x28e)],this[_0xa47bbe(0x2b8)][_0xa47bbe(0x200)]=this[_0xa47bbe(0x270)],await this[_0xa47bbe(0x1ee)](_0x992dd0,_0x4ae9b0,_0xa47bbe(0x240));}else await this[_0xa47bbe(0x1e4)](_0x4ae9b0,_0x992dd0);this[_0xa47bbe(0x214)](),this[_0xa47bbe(0x1df)]=!0x0;}[_0x58dff2(0x214)](){const _0xf13acf=_0x58dff2,_0x32eba9=this[_0xf13acf(0x1e1)][_0xf13acf(0x239)][_0xf13acf(0x24b)](_0x44807a),_0x32f437=this[_0xf13acf(0x1e1)][_0xf13acf(0x239)][_0xf13acf(0x24b)](_0x5958b7),_0x449a9=_0x32eba9[_0xf13acf(0x288)][_0xf13acf(0x24b)](this[_0xf13acf(0x275)]);_0x449a9&&_0x449a9[_0xf13acf(0x23d)]>0x1?_0x32f437[_0xf13acf(0x2b2)]():this[_0xf13acf(0x24e)](_0x32eba9,_0xf13acf(0x231)+this[_0xf13acf(0x275)],()=>{const _0x5c87a8=_0xf13acf;0x2===_0x32eba9[_0x5c87a8(0x288)][_0x5c87a8(0x24b)](this[_0x5c87a8(0x275)])[_0x5c87a8(0x23d)]&&_0x32f437[_0x5c87a8(0x2b2)]();});}async[_0x58dff2(0x2d1)](_0x18f9f2,_0x567589,_0x5e7661,_0x5b0869){const _0x6c942b=_0x58dff2;if(!this[_0x6c942b(0x23c)]&&this[_0x6c942b(0x280)][_0x6c942b(0x200)]==_0x567589){const _0x32985f=this[_0x6c942b(0x25f)](_0x5e7661,_0x5b0869);await this[_0x6c942b(0x2bd)](_0x32985f),this[_0x6c942b(0x255)](_0x32985f,_0x567589,_0x5e7661[_0x6c942b(0x2d5)])||this[_0x6c942b(0x29e)](_0x6c942b(0x281));}}async[_0x58dff2(0x2da)](){const _0x28b089=_0x58dff2;this[_0x28b089(0x2db)]();const {locale:_0x2daa78}=this[_0x28b089(0x1e1)];let _0x357270;try{_0x357270=await this[_0x28b089(0x29c)][_0x28b089(0x289)]();}catch{const _0x2830e6=_0x54aceb(_0x2daa78,_0x28b089(0x1fa));return void this[_0x28b089(0x298)](_0x2830e6);}const _0x2dc3c4=_0x357270[_0x28b089(0x217)]||_0x357270[_0x28b089(0x2a3)];if(this[_0x28b089(0x234)]!==_0x2dc3c4[_0x28b089(0x2d5)]){const _0x2f5521=_0x54aceb(_0x2daa78,_0x28b089(0x26e));return void this[_0x28b089(0x298)](_0x2f5521);}await this[_0x28b089(0x283)](this[_0x28b089(0x1e1)][_0x28b089(0x2cf)][_0x28b089(0x1f3)][_0x28b089(0x237)][_0x28b089(0x2bc)](),!0x0);}[_0x58dff2(0x2db)](){const _0xb2e86e=_0x58dff2;this[_0xb2e86e(0x29c)][_0xb2e86e(0x2a4)](),this[_0xb2e86e(0x2d3)]=[],clearTimeout(this[_0xb2e86e(0x2a0)]),this[_0xb2e86e(0x2b9)](this[_0xb2e86e(0x29c)]);}[_0x58dff2(0x1e3)](_0x720d39){const _0x3a60da=_0x58dff2,_0xbc4399=this[_0x3a60da(0x1e1)][_0x3a60da(0x239)][_0x3a60da(0x24b)](_0x44807a);this[_0x3a60da(0x24e)](_0xbc4399,_0x3a60da(0x231)+this[_0x3a60da(0x275)],(_0x980682,{session:_0x3a0884})=>{const _0x138911=_0x3a60da;if(_0x3a0884['id']===_0xbc4399[_0x138911(0x218)]){_0x980682[_0x138911(0x256)]();const _0xa1226a=this[_0x138911(0x1e1)][_0x138911(0x239)][_0x138911(0x249)](_0x138911(0x205))&&this[_0x138911(0x1e1)][_0x138911(0x239)][_0x138911(0x24b)](_0x138911(0x205));let _0x37360e=_0x3a0884[_0x138911(0x29f)];_0xa1226a&&_0xa1226a[_0x138911(0x2c3)]&&(_0x37360e=_0x37360e[_0x138911(0x2cb)](_0x1aa418=>_0x138911(0x2c5)!==_0x1aa418)),this[_0x138911(0x1e1)][_0x138911(0x239)][_0x138911(0x24b)](_0x138911(0x236))[_0x138911(0x24d)](_0x37360e,this[_0x138911(0x275)]);}}),_0xbc4399[_0x3a60da(0x2d9)](this[_0x3a60da(0x275)],_0x720d39);}[_0x58dff2(0x206)](){const _0x4de044=_0x58dff2,_0x3dbe22=this[_0x4de044(0x1e1)][_0x4de044(0x267)][_0x4de044(0x2d4)];this[_0x4de044(0x1e1)][_0x4de044(0x267)][_0x4de044(0x2d4)]=(..._0x243d98)=>{const _0x4f3662=_0x4de044;if(!_0x243d98[_0x243d98[_0x4f3662(0x23d)]-0x1][_0x4f3662(0x272)])throw new _0x11fd2e(_0x4f3662(0x273),this);_0x3dbe22[_0x4f3662(0x1da)](this[_0x4f3662(0x1e1)][_0x4f3662(0x267)],_0x243d98);};}[_0x58dff2(0x1f4)](){const _0x343572=_0x58dff2;this[_0x343572(0x1e1)][_0x343572(0x267)]['on'](_0x343572(0x2d0),(_0x4db141,[_0x20b11d])=>{const _0x29457a=_0x343572;if(this[_0x29457a(0x280)][_0x29457a(0x200)])throw new _0x11fd2e(_0x29457a(0x227),this);_0x4db141[_0x29457a(0x225)](),this[_0x29457a(0x2c6)]();const _0x78358b=this[_0x29457a(0x1e1)][_0x29457a(0x22d)][_0x29457a(0x24b)](_0x29457a(0x23f)),_0x40f1e5=this[_0x29457a(0x2c1)](_0x20b11d,_0x78358b);0x0==_0x40f1e5[_0x29457a(0x23d)]&&_0x40f1e5[_0x29457a(0x1e2)](new _0x29f1dd(0x0)),_0x4db141[_0x29457a(0x1de)]=this[_0x29457a(0x283)](_0x40f1e5)[_0x29457a(0x1e0)](()=>{const _0x3a67a7=_0x29457a;this[_0x3a67a7(0x1e1)][_0x3a67a7(0x239)][_0x3a67a7(0x24b)](_0x44585b)[_0x3a67a7(0x25c)](this),this[_0x3a67a7(0x1e1)][_0x3a67a7(0x267)][_0x3a67a7(0x241)](_0x3a67a7(0x20d));})[_0x29457a(0x23e)](_0x29804c=>this[_0x29457a(0x29e)](_0x29457a(0x259),_0x29804c))[_0x29457a(0x250)](()=>this[_0x29457a(0x26d)]());},{'priority':_0x343572(0x215)}),this[_0x343572(0x1e1)]['on'](_0x343572(0x2ba),async(_0x30165a,[_0x555463,_0xa04758])=>{const _0x13f6f6=_0x343572;_0x30165a[_0x13f6f6(0x225)]();const _0x74b253=this[_0x13f6f6(0x1e1)][_0x13f6f6(0x2cf)][_0x13f6f6(0x1f3)][_0x13f6f6(0x1dd)](_0x555463);if(!this[_0x13f6f6(0x276)][_0x13f6f6(0x249)](_0x555463)){const _0x16d787=_0xa04758&&_0xa04758[_0x13f6f6(0x267)]?_0xa04758[_0x13f6f6(0x267)]:'',_0x268303=_0xa04758&&_0xa04758[_0x13f6f6(0x1fb)]?_0xa04758[_0x13f6f6(0x1fb)]:{};await this[_0x13f6f6(0x228)](_0x555463,_0x16d787,_0x268303);}this[_0x13f6f6(0x1e1)][_0x13f6f6(0x2cf)][_0x13f6f6(0x1fe)]({'isUndoable':!0x1},()=>{const _0x31805a=_0x13f6f6;_0x74b253[_0x31805a(0x2d8)]=!0x0,this[_0x31805a(0x1e1)][_0x31805a(0x2cf)][_0x31805a(0x1f3)][_0x31805a(0x2d6)][_0x31805a(0x274)](_0x74b253);});},{'priority':_0x343572(0x215)});}async[_0x58dff2(0x2bd)](_0x5c3923){const _0x441dc8=_0x58dff2,_0x2b0d47=this[_0x441dc8(0x1e1)][_0x441dc8(0x239)][_0x441dc8(0x24b)](_0x694ec4),{connection:_0x40a274}=this[_0x441dc8(0x1e1)][_0x441dc8(0x239)][_0x441dc8(0x24b)](_0x44585b),_0x4e3f00=new Set();for(const _0x8be121 of _0x5c3923){const _0x5820dc=_0x8be121[_0x441dc8(0x230)];_0x5820dc&&!_0x2b0d47[_0x441dc8(0x29b)](_0x5820dc)&&_0x4e3f00[_0x441dc8(0x22f)](_0x5820dc);}if(0x0===_0x4e3f00[_0x441dc8(0x263)])return;const _0x5fce3c=await _0x485e81[_0x441dc8(0x282)](_0x40a274,Array[_0x441dc8(0x226)](_0x4e3f00));for(const _0x30ff88 of _0x5fce3c)_0x2b0d47[_0x441dc8(0x29b)](_0x30ff88['id'])||_0x2b0d47[_0x441dc8(0x25d)](_0x30ff88);}[_0x58dff2(0x2c1)](_0x4c1e5f,_0x2c7879={}){const _0x4a272c=_0x58dff2,_0x34273a=this[_0x4a272c(0x1e1)][_0x4a272c(0x2cf)],_0x2e274=[];let _0x329df2=0x0;const _0x4f63d8=_0x4a272c(0x216)==typeof _0x4c1e5f?{'main':_0x4c1e5f}:_0x4c1e5f;for(const _0x30deb4 of Object[_0x4a272c(0x202)](_0x4f63d8)){if(!this[_0x4a272c(0x280)][_0x4a272c(0x211)][_0x4a272c(0x249)](_0x30deb4))throw new _0x11fd2e(_0x4a272c(0x2a8),this);const _0x5be140=this[_0x4a272c(0x1e1)][_0x4a272c(0x267)][_0x4a272c(0x1f8)](_0x4f63d8[_0x30deb4]),_0x3147b1=this[_0x4a272c(0x280)][_0x4a272c(0x1dd)](_0x30deb4),_0x1b1c96=new _0xc2366d(_0x34273a[_0x4a272c(0x243)](_0x3147b1,0x0),_0x5be140,_0x329df2++);_0x2e274[_0x4a272c(0x1e2)](_0x1b1c96);for(const [_0x237b6f,_0x398541]of _0x5be140[_0x4a272c(0x1f0)]){const _0x4f5e37=_0x34273a[_0x4a272c(0x252)](_0x34273a[_0x4a272c(0x2ce)](_0x3147b1,_0x398541[_0x4a272c(0x2bb)][_0x4a272c(0x261)][_0x4a272c(0x1f6)]()),_0x34273a[_0x4a272c(0x2ce)](_0x3147b1,_0x398541[_0x4a272c(0x287)][_0x4a272c(0x261)][_0x4a272c(0x1f6)]())),_0x3a5737=new _0x236d07(_0x237b6f,null,_0x4f5e37,_0x34273a[_0x4a272c(0x1f0)],!0x0,_0x329df2++);_0x2e274[_0x4a272c(0x1e2)](_0x3a5737);}}if(_0x2c7879)for(const [_0x11280f,_0x45a29a]of Object[_0x4a272c(0x2d7)](_0x2c7879)){const _0x3fa681=_0x34273a[_0x4a272c(0x1f3)][_0x4a272c(0x1dd)](_0x11280f);if(!_0x3fa681)throw new _0x11fd2e(_0x4a272c(0x291),null);for(const [_0x5a8d26,_0x130c14]of Object[_0x4a272c(0x2d7)](_0x45a29a))if(null!==_0x130c14){const _0x33b2ac=new _0x2de7fc(_0x3fa681,_0x5a8d26,null,_0x130c14,_0x329df2++);_0x2e274[_0x4a272c(0x1e2)](_0x33b2ac);}}return _0x2e274;}async[_0x58dff2(0x228)](_0x42f425,_0x24ee29,_0x527914){const _0x3a6a92=_0x58dff2;this[_0x3a6a92(0x2c1)]({[_0x42f425]:_0x24ee29},{[_0x42f425]:_0x527914})[_0x3a6a92(0x222)]((_0x2e11bd,_0x5a862b)=>{const _0x4649e3=_0x3a6a92;_0x2e11bd[_0x4649e3(0x2a7)]=this[_0x4649e3(0x280)][_0x4649e3(0x200)]+_0x5a862b,_0x2e11bd[_0x4649e3(0x23b)]=!0x0,this[_0x4649e3(0x2b0)](_0x2e11bd);}),this[_0x3a6a92(0x269)](),await this[_0x3a6a92(0x1ec)]();}async[_0x58dff2(0x1e4)](_0x30dffd,_0x5cfef1){const _0x1f34df=_0x58dff2;let _0x3c8820;this[_0x1f34df(0x270)]=_0x30dffd[_0x1f34df(0x28e)];const _0x54785d=_0x30dffd[_0x1f34df(0x290)]&&!_0x30dffd[_0x1f34df(0x254)],_0x289b64=_0x54785d?0x0:_0x30dffd[_0x1f34df(0x267)][_0x1f34df(0x2a7)];if(_0x5cfef1[_0x1f34df(0x222)](_0x29966a=>{const _0x526e7a=_0x1f34df;_0x29966a[_0x526e7a(0x23b)]=!0x0,_0x29966a[_0x526e7a(0x208)]=_0x30dffd[_0x526e7a(0x1fd)],_0x29966a[_0x526e7a(0x230)]=null;}),_0x54785d)_0x3c8820=_0x5cfef1,this[_0x1f34df(0x21b)](_0x3c8820,_0x54785d);else{if(_0x30dffd[_0x1f34df(0x254)]){const _0x2fbc99=this[_0x1f34df(0x2c1)](_0x30dffd[_0x1f34df(0x254)]);this[_0x1f34df(0x280)][_0x1f34df(0x237)][_0x1f34df(0x200)]=-_0x2fbc99[_0x1f34df(0x23d)],_0x2fbc99[_0x1f34df(0x222)](_0x3f38a8=>{const _0x574c24=_0x1f34df;_0x3f38a8[_0x574c24(0x2a7)]-=_0x2fbc99[_0x574c24(0x23d)],_0x3f38a8[_0x574c24(0x208)]=_0x30dffd[_0x574c24(0x1fd)],_0x3f38a8[_0x574c24(0x23b)]=!0x0,_0x3f38a8[_0x574c24(0x230)]=null;}),this[_0x1f34df(0x21b)](_0x2fbc99,!0x0),this[_0x1f34df(0x2b8)][_0x1f34df(0x200)]=-_0x2fbc99[_0x1f34df(0x23d)]+this[_0x1f34df(0x270)],this[_0x1f34df(0x2cd)](_0x2fbc99);}this[_0x1f34df(0x280)][_0x1f34df(0x237)][_0x1f34df(0x200)]=_0x289b64,_0x3c8820=this[_0x1f34df(0x25f)](_0x30dffd[_0x1f34df(0x267)],_0x30dffd[_0x1f34df(0x294)]),await this[_0x1f34df(0x2bd)](_0x3c8820),this[_0x1f34df(0x21b)](_0x3c8820,_0x54785d);}_0x30dffd[_0x1f34df(0x2d5)]&&(this[_0x1f34df(0x27b)][_0x1f34df(0x2dc)](_0x3c8820,_0x30dffd[_0x1f34df(0x2d5)]),this[_0x1f34df(0x234)]=_0x30dffd[_0x1f34df(0x2d5)]),this[_0x1f34df(0x2b8)][_0x1f34df(0x200)]=_0x289b64+this[_0x1f34df(0x270)],this[_0x1f34df(0x2cd)](_0x3c8820),_0x5cfef1[_0x1f34df(0x2cb)](_0x5658e2=>{const _0x344a46=_0x1f34df,_0xba5e40=this[_0x344a46(0x295)](_0x5658e2);return _0xba5e40&&!this[_0x344a46(0x276)][_0x344a46(0x249)](_0xba5e40);})[_0x1f34df(0x222)]((_0x227d07,_0x4c4d91)=>{const _0x28097c=_0x1f34df;_0x227d07[_0x28097c(0x2a7)]=this[_0x28097c(0x280)][_0x28097c(0x200)]+_0x4c4d91,this[_0x28097c(0x2b0)](_0x227d07);}),this[_0x1f34df(0x264)]()?(this[_0x1f34df(0x24a)]=0x0,this[_0x1f34df(0x269)](!0x0),await this[_0x1f34df(0x1ec)]()):(this[_0x1f34df(0x23c)]=!0x1,this[_0x1f34df(0x26d)]());}[_0x58dff2(0x29e)](_0x409bc5,_0x476403){const _0x360055=_0x58dff2,_0x4f04e3=_0x476403&&_0x476403[_0x360055(0x2a1)];if(_0x4f04e3&&_0x4f04e3[_0x360055(0x247)](_0x360055(0x1ff)))throw _0x476403;const _0x54a067=this[_0x360055(0x1e1)][_0x360055(0x239)][_0x360055(0x24b)](_0x44585b);throw this[_0x360055(0x23c)]=!0x0,_0x54a067[_0x360055(0x2a4)](),this[_0x360055(0x1e1)][_0x360055(0x203)](_0x360055(0x25e)),new _0x11fd2e(_0x409bc5,this[_0x360055(0x1e1)],_0x4f04e3?{'originalError':_0x4f04e3}:void 0x0);}[_0x58dff2(0x2b0)](_0x3a90e1){const _0xb63f50=_0x58dff2;this[_0xb63f50(0x24c)][_0xb63f50(0x249)](_0x3a90e1)||(this[_0xb63f50(0x24c)][_0xb63f50(0x22f)](_0x3a90e1),this[_0xb63f50(0x2d3)][_0xb63f50(0x1e2)](_0x3a90e1),this[_0xb63f50(0x284)]||_0xb63f50(0x244)==_0x3a90e1[_0xb63f50(0x2a9)]&&!_0x3a90e1[_0xb63f50(0x204)]||this[_0xb63f50(0x2c6)]());}[_0x58dff2(0x269)](_0x7ef0a=!0x1){const _0x2557c9=_0x58dff2;!_0x7ef0a&&this[_0x2557c9(0x23c)]||(this[_0x2557c9(0x23c)]=!0x0,clearTimeout(this[_0x2557c9(0x2a0)]),this[_0x2557c9(0x2a0)]=setTimeout(()=>{const _0x5c9881=_0x2557c9;this[_0x5c9881(0x1e5)]()[_0x5c9881(0x1e0)](_0x5adeca=>{const _0x1754e8=_0x5c9881;_0x5adeca&&(this[_0x1754e8(0x26d)](),this[_0x1754e8(0x23c)]=!0x1);})[_0x5c9881(0x23e)](_0x326e26=>{const _0x5a5fd9=_0x5c9881;this[_0x5a5fd9(0x26d)](),this[_0x5a5fd9(0x23c)]=!0x1,function(_0x2552f4){const _0x5c88c4=_0x5a5fd9;return _0x2552f4[_0x5c88c4(0x2a1)][_0x5c88c4(0x247)](_0x5c88c4(0x2b6))||_0x2552f4[_0x5c88c4(0x2a1)][_0x5c88c4(0x247)](_0x5c88c4(0x21f))||_0x2552f4[_0x5c88c4(0x2a1)][_0x5c88c4(0x247)](_0x5c88c4(0x28d));}(_0x326e26)||this[_0x5a5fd9(0x29e)](_0x326e26[_0x5a5fd9(0x2a1)],_0x326e26);});},this[_0x2557c9(0x24a)]));}[_0x58dff2(0x1ec)](){return new Promise(_0xdb4385=>{const _0x44e7ca=_0x3386;this['on'](_0x44e7ca(0x2a2),()=>{_0xdb4385();});});}async[_0x58dff2(0x1e5)](){const _0x23aaa2=_0x58dff2,_0x2a61b1=this[_0x23aaa2(0x1e1)][_0x23aaa2(0x239)][_0x23aaa2(0x24b)](_0x5958b7);if(this[_0x23aaa2(0x265)]()&&(_0x2a61b1[_0x23aaa2(0x2b2)](),this[_0x23aaa2(0x2c0)]=!0x1),!this[_0x23aaa2(0x264)]())return!0x0;const _0x58e922=[...this[_0x23aaa2(0x2d3)]];for(const _0x350b82 of _0x58e922)_0x350b82[_0x23aaa2(0x29a)]=this[_0x23aaa2(0x280)][_0x23aaa2(0x237)][_0x23aaa2(0x1db)](_0x350b82);const _0x143874=this[_0x23aaa2(0x27b)][_0x23aaa2(0x2c2)](_0x58e922),_0x13b32f=K++,_0x49ca89=this[_0x23aaa2(0x1e7)](_0x58e922),_0x2cd2ef=await this[_0x23aaa2(0x29c)][_0x23aaa2(0x23a)](_0x49ca89,_0x49ca89[_0x23aaa2(0x2a7)],_0x143874);try{return await this[_0x23aaa2(0x1ee)](_0x58e922,_0x2cd2ef,_0x13b32f);}catch(_0x31590f){return this[_0x23aaa2(0x29e)](_0x23aaa2(0x1ea),_0x31590f);}}async[_0x58dff2(0x1ee)](_0x230f4c,_0x54e098,_0x4ba687){const _0x501028=_0x58dff2;if(_0x501028(0x21c)in _0x54e098)throw _0x54e098[_0x501028(0x21c)];let _0x1738b7=!0x1;if(_0x54e098[_0x501028(0x290)]){_0x54e098[_0x501028(0x2d5)]&&(this[_0x501028(0x234)]=_0x54e098[_0x501028(0x2d5)]),this[_0x501028(0x2d3)]=this[_0x501028(0x2d3)][_0x501028(0x2cb)](_0x548d78=>!_0x230f4c[_0x501028(0x262)](_0x548d78));for(const _0x28fd1a of _0x230f4c)_0x28fd1a[_0x501028(0x208)]=_0x501028(0x27d)in _0x54e098&&_0x54e098[_0x501028(0x27d)]||void 0x0;Q(_0x230f4c,_0x54e098[_0x501028(0x200)]-_0x230f4c[_0x501028(0x23d)]),this[_0x501028(0x2cd)](_0x230f4c);const _0x36f8c6=_0x230f4c[_0x501028(0x2cb)](_0x252c07=>{const _0x5069cf=_0x501028;if(!_0x252c07[_0x5069cf(0x23b)])return!0x1;const _0x162e61=this[_0x5069cf(0x295)](_0x252c07);return _0x162e61&&!this[_0x5069cf(0x276)][_0x5069cf(0x249)](_0x162e61);});Q(_0x36f8c6,this[_0x501028(0x280)][_0x501028(0x200)]),this[_0x501028(0x21b)](_0x36f8c6),_0x1738b7=!0x0,this[_0x501028(0x24a)]=this[_0x501028(0x2af)];}else{const _0xb4f71f=this[_0x501028(0x25f)](_0x54e098[_0x501028(0x267)],_0x54e098[_0x501028(0x294)])[_0x501028(0x2cb)](_0x2eb149=>_0x2eb149[_0x501028(0x2a7)]>=this[_0x501028(0x1dc)]);_0xb4f71f[_0x501028(0x222)](_0x2e6fb2=>this[_0x501028(0x2bf)](_0x2e6fb2)),this[_0x501028(0x2d3)]=this[_0x501028(0x2d3)][_0x501028(0x2cb)](_0x588e68=>!_0x588e68[_0x501028(0x23b)]||!this[_0x501028(0x276)][_0x501028(0x249)](this[_0x501028(0x295)](_0x588e68))),this[_0x501028(0x2d3)][_0x501028(0x23d)]&&Q(this[_0x501028(0x2d3)],this[_0x501028(0x2d3)][0x0][_0x501028(0x2a7)]),await this[_0x501028(0x2bd)](_0xb4f71f),_0x1738b7=this[_0x501028(0x255)](_0xb4f71f,_0x54e098[_0x501028(0x200)],_0x54e098[_0x501028(0x2d5)]),this[_0x501028(0x24a)]=Math[_0x501028(0x2dd)](this[_0x501028(0x24a)]/0x2);}return _0x1738b7?!this[_0x501028(0x264)]()||(this[_0x501028(0x269)](!0x0),!0x1):this[_0x501028(0x29e)](_0x501028(0x297));}[_0x58dff2(0x255)](_0x5bfc5a,_0x17d8af,_0x461539){const _0x6694ba=_0x58dff2;try{const _0x594c86={'document':this[_0x6694ba(0x280)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5059b7,operationsB:_0x20386b,originalOperations:_0x2bc079}=_0x452290(_0x5bfc5a,this[_0x6694ba(0x2d3)],_0x594c86);Q(_0x5059b7,this[_0x6694ba(0x280)][_0x6694ba(0x200)]),Q(_0x20386b,_0x17d8af);for(const _0x209232 of _0x5059b7){const _0x468e18=_0x2bc079[_0x6694ba(0x24b)](_0x209232);_0x209232[_0x6694ba(0x230)]=_0x468e18?_0x468e18[_0x6694ba(0x230)]:null;}_0x461539&&(this[_0x6694ba(0x27b)][_0x6694ba(0x2dc)](_0x5bfc5a,_0x461539),this[_0x6694ba(0x234)]=_0x461539),this[_0x6694ba(0x2d3)]=[..._0x20386b],this[_0x6694ba(0x21b)](_0x5059b7),this[_0x6694ba(0x2cd)](_0x5bfc5a);}catch(_0x5bfa8f){return console[_0x6694ba(0x21c)](_0x5bfa8f),!0x1;}return!0x0;}[_0x58dff2(0x21b)](_0x519c05,_0x1b7997=!0x1){const _0x251eb4=_0x58dff2;this[_0x251eb4(0x1e1)][_0x251eb4(0x2cf)][_0x251eb4(0x1fe)]({'isUndoable':!0x1,'isLocal':!0x1},_0x402b47=>{const _0xe6617e=_0x251eb4;for(const _0x3ba867 of _0x519c05)this[_0xe6617e(0x24c)][_0xe6617e(0x22f)](_0x3ba867),this[_0xe6617e(0x2bf)](_0x3ba867),_0x402b47[_0xe6617e(0x266)][_0xe6617e(0x2b7)](_0x3ba867),this[_0xe6617e(0x1e1)][_0xe6617e(0x2cf)][_0xe6617e(0x260)](_0x3ba867);});}[_0x58dff2(0x2bf)](_0x2ada34){const _0x47a091=_0x58dff2,_0x5c6df3=this[_0x47a091(0x295)](_0x2ada34);_0x5c6df3&&this[_0x47a091(0x276)][_0x47a091(0x22f)](_0x5c6df3);}[_0x58dff2(0x295)](_0x5daa57){const _0x1a4f20=_0x58dff2;let _0x2d2eb9,_0x1b65a6;switch(_0x5daa57[_0x1a4f20(0x2a9)]){case _0x1a4f20(0x210):_0x2d2eb9=_0x5daa57[_0x1a4f20(0x224)][_0x1a4f20(0x1f1)];break;case _0x1a4f20(0x244):if(_0x1b65a6=_0x5daa57[_0x1a4f20(0x24f)],!_0x1b65a6)return null;_0x2d2eb9=_0x1b65a6[_0x1a4f20(0x1f1)];break;case _0x1a4f20(0x2d2):_0x2d2eb9=_0x5daa57[_0x1a4f20(0x1f1)];break;case _0x1a4f20(0x20b):_0x2d2eb9=_0x5daa57[_0x1a4f20(0x2a6)];break;case _0x1a4f20(0x20e):_0x2d2eb9=_0x5daa57[_0x1a4f20(0x245)][_0x1a4f20(0x1f1)];break;default:return null;}return _0x2d2eb9[_0x1a4f20(0x27a)];}[_0x58dff2(0x2cd)](_0x4661fc){const _0x1964d4=_0x58dff2;_0x4661fc[_0x1964d4(0x222)](_0xf9d481=>{const _0x5222f5=_0x1964d4,_0x5e1c3d=_0xf9d481[_0x5222f5(0x1d9)]();_0x5e1c3d[_0x5222f5(0x230)]=_0xf9d481[_0x5222f5(0x230)],_0x5e1c3d[_0x5222f5(0x23b)]=!!_0xf9d481[_0x5222f5(0x23b)],_0x5e1c3d[_0x5222f5(0x208)]=_0xf9d481[_0x5222f5(0x208)],_0x5e1c3d[_0x5222f5(0x2a7)]+=this[_0x5222f5(0x270)],_0xf9d481[_0x5222f5(0x213)]&&this[_0x5222f5(0x2cc)][_0x5222f5(0x22f)](_0x5e1c3d),this[_0x5222f5(0x2b8)][_0x5222f5(0x2b7)](_0x5e1c3d);});}[_0x58dff2(0x298)](_0x3f1942){const _0x2b5fee=_0x58dff2,_0x592706=this[_0x2b5fee(0x1e1)][_0x2b5fee(0x239)][_0x2b5fee(0x24b)](_0x2b5fee(0x1f9)),_0x3a7cbd=this[_0x2b5fee(0x1e1)][_0x2b5fee(0x207)];_0x3f1942||(_0x3f1942=_0x54aceb(_0x3a7cbd,_0x2b5fee(0x21e))),_0x592706[_0x2b5fee(0x27f)](_0x3f1942,{'title':_0x54aceb(_0x3a7cbd,_0x2b5fee(0x25a)),'namespace':_0x2b5fee(0x2a5)}),this[_0x2b5fee(0x2c4)]=!0x0,clearTimeout(this[_0x2b5fee(0x2a0)]),this[_0x2b5fee(0x2d3)]=[],this[_0x2b5fee(0x1e1)][_0x2b5fee(0x239)][_0x2b5fee(0x24b)](_0x44585b)[_0x2b5fee(0x2a4)]();}[_0x58dff2(0x2c6)](){const _0x4a3bd2=_0x58dff2;this[_0x4a3bd2(0x284)]||(this[_0x4a3bd2(0x284)]=this[_0x4a3bd2(0x1e1)][_0x4a3bd2(0x239)][_0x4a3bd2(0x24b)](_0x10b427)[_0x4a3bd2(0x22f)](_0x54aceb(this[_0x4a3bd2(0x1e1)][_0x4a3bd2(0x207)],_0x4a3bd2(0x2c7))));}[_0x58dff2(0x26d)](){const _0x53c44b=_0x58dff2;this[_0x53c44b(0x284)]&&(this[_0x53c44b(0x1e1)][_0x53c44b(0x239)][_0x53c44b(0x24b)](_0x10b427)[_0x53c44b(0x1ef)](this[_0x53c44b(0x284)]),this[_0x53c44b(0x284)]=null);}[_0x58dff2(0x1e7)](_0x35a06f){const _0x58759c=_0x58dff2,_0x24bcce=_0x35a06f[_0x58759c(0x299)](_0x47f548=>_0x47f548[_0x58759c(0x221)]());return this[_0x58759c(0x2c9)][_0x58759c(0x2ae)](_0x24bcce);}[_0x58dff2(0x25f)](_0x639c4e,_0x5b4bbd){const _0x360b86=_0x58dff2;return this[_0x360b86(0x2c9)][_0x360b86(0x220)](_0x639c4e)[_0x360b86(0x299)]((_0x4c9e29,_0xd95de6)=>{const _0x3c2b68=_0x360b86,_0x3ca4e0=_0x3c2b68(0x2d0)==_0x5b4bbd[_0xd95de6][_0x3c2b68(0x2a9)];if(_0x3c2b68(0x2ad)==_0x4c9e29[_0x3c2b68(0x28f)]){const _0x1f03d8=_0x4c9e29[_0x3c2b68(0x224)][_0x3c2b68(0x1f1)];!this[_0x3c2b68(0x280)][_0x3c2b68(0x1dd)](_0x1f03d8)&&(this[_0x3c2b68(0x280)][_0x3c2b68(0x28c)](_0x3c2b68(0x293),_0x1f03d8)[_0x3c2b68(0x26a)]=!0x1);}const _0x1cc143=_0x2d84da[_0x3c2b68(0x271)](_0x4c9e29,this[_0x3c2b68(0x280)]);return _0x1cc143[_0x3c2b68(0x29a)]=_0x4c9e29[_0x3c2b68(0x29a)],_0x1cc143[_0x3c2b68(0x23b)]=_0x3ca4e0,_0x1cc143[_0x3c2b68(0x230)]=_0x3ca4e0?null:_0x5b4bbd[_0xd95de6][_0x3c2b68(0x1f2)],_0x1cc143[_0x3c2b68(0x213)]=_0x3c2b68(0x29d)===_0x5b4bbd[_0xd95de6][_0x3c2b68(0x2a9)],_0x1cc143[_0x3c2b68(0x208)]=_0x5b4bbd[_0xd95de6][_0x3c2b68(0x208)],_0x1cc143;});}[_0x58dff2(0x26f)](){const _0x9b7399=_0x58dff2;this[_0x9b7399(0x2c0)]=!0x0,this[_0x9b7399(0x265)]()?this[_0x9b7399(0x269)]():this[_0x9b7399(0x2c0)]=!0x1;}[_0x58dff2(0x265)](){const _0xa7ae99=_0x58dff2,_0x5a6591=this[_0xa7ae99(0x1e1)][_0xa7ae99(0x239)][_0xa7ae99(0x24b)](_0x44807a)[_0xa7ae99(0x288)][_0xa7ae99(0x24b)](this[_0xa7ae99(0x275)]);return!this[_0xa7ae99(0x1e1)][_0xa7ae99(0x2ac)]&&!!_0x5a6591&&_0x5a6591[_0xa7ae99(0x23d)]>0x1&&this[_0xa7ae99(0x2c0)];}[_0x58dff2(0x264)](){const _0xfe188b=_0x58dff2;return this[_0xfe188b(0x2d3)][_0xfe188b(0x23d)]>0x0||this[_0xfe188b(0x265)]();}}function _0x4b0e(){const _0x255dc5=['215PrcWgp','lastOperationAcceptedAt','_ignoredOperations','showWarning','_document','realtimecollaborationclient-init-service-incorrect-server-operation','getMany','_connectService','_pendingAction','CollaborativeEditingService','_operationToId','end','channelSessions','getDocumentDetails','change:hasDomSelection','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createRoot','cloud-services-internal-error:\x20Request\x20timeout.','offset','__className','wereChangesApplied','multi-root-editor-root-attributes-no-root','6448267zVDakx','$root','metadata','_getAffectedRoot','cloudDocumentVersion','realtimecollaborationclient-handleserverresponse','_handleReconnectionError','map','wasUndone','getUser','_service','cs:removeUser','_crash','permissions','_sendBufferedOperationsDelayId','message','change:_isPendingUpdate','lastDocumentSession','disconnect','real-time-collaboration','affectedSelectable','baseVersion','realtimecollaborationclient-init-non-existent-root','type','_isEditingAllowed','409','isReadOnly','InsertOperation','compress','_baseBufferDelay','_saveOperationInBuffer','reconnect','createUserMarkerOperations','reset','connect','selection','cloud-services-internal-error:\x20Not\x20connected.','addOperation','serverHistory','stopListening','loadRoot','start','getOperations','_fetchMissingUsers','isDocumentOperation','_addKnownRoot','_hasSelectionChanged','_getOperationsFromInitData','getIdOfTheLastOperation','isEnabled','_hasSynchronizationProblem','document:write','_setPendingAction','PENDING_ACTION_SENDING_DATA','disconnected','_compressor','604296wSFtXL','filter','_disconnectionOperations','_updateServerHistory','createPositionFromPath','model','init','_handleReceivedOperations','addRootAttribute','_bufferedOperations','set','lastOperationId','differ','entries','_isLoaded','register','_connectAfterSessionHasBeenFlushed','_disconnectService','setIdForTheLastOperation','round','directChange','clone','apply','isUndoneOperation','_lastServerVersion','getRoot','return','_isConnected','then','editor','push','_initSessionsHandling','_handleInitialConnectionData','_sendBufferedOperations','disableReadOnlyMode','_compressOperations','rtc-offline','isPremiumPlugin','realtimecollaborationclient-sendbufferedoperations','isOfficialPlugin','_waitUntilSynced','pluginName','_handleServerResponse','remove','markers','root','userId','document','_setUpDataInit','unregister','slice','state','parse','Notification','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','attributes','rtc-destroyed','sessionCreatedAt','enqueueChange','realtimecollaborationclient','version','_handleReconnectionResponse','keys','enableReadOnlyMode','affectsData','CommentsOnly','_initThrowingOnDataSet','locale','createdAt','view','cloudServices.bundleVersion','addRoot','1329165Anmcvn','ready','move','RealTimeCollaborationClient','insert','roots','collaboration.channelId','_isDisconnection','_handleSendingSelectionMarkers','high','string','currentDocumentSession','mySessionId','code','define','_applyOperationsSet','error','110232RhEvDZ','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.','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','decompress','toJSON','forEach','destroy','position','stop','from','realtimecollaborationclient-init-document-already-initialized','_loadRoot','50RraWsb','801832HuNefc','528640PeQJyn','lastSyncVersion','config','editing','add','_authorId','sessionAdd:','realtimecollaborationclient-init-service-internal-error','collaboration','_lastSyncedOperationId','change:_isEditingAllowed','Permissions','history','connected','plugins','sendOperations','_isInit','_isPendingUpdate','length','catch','rootsAttributes','reconnection:\x20flushed\x20session','fire','operationsReceived','createPositionAt','marker','targetPosition','collaboration-missing-channelid','startsWith','404','has','_currentBufferDelay','get','_knownOperations','setPermissions','listenTo','newRange','finally','1179812yxyDmU','createRange','sessionId','initData','_handleExternalOperations','off','connection','requires','realtimecollaborationclient-init-connection-failed','Synchronization\x20issue','removeFromReconnectionStack','addToReconnectionStack','addUser','realtimecollaborationclient-error','_decompressOperations','applyOperation','path','includes','size','_shouldSendUpdate','_shouldSendSelectionUpdate','batch','data','getOperationAuthor','_sendBufferedOperationsDelayed','_isAttached','realtimecollaborationclient-init-session-connection-error','change:range','_clearPendingAction','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.','_refreshUserSelectionMarkers','_offset','fromJSON','suppressErrorInCollaboration','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_bufferRootLoad','_channelId','_knownRootNames','getConnectedSessions','2EDFsAA','bind','rootName','_operationIdentifier'];_0x4b0e=function(){return _0x255dc5;};return _0x4b0e();}class J extends Error{}function Q(_0xd65658,_0x5a9ab6){const _0x49e960=_0x58dff2;for(const _0x22a878 of _0xd65658)_0x22a878[_0x49e960(0x2a7)]=_0x5a9ab6++;}class X{[_0x58dff2(0x27e)];[_0x58dff2(0x286)];constructor(_0x26302a){const _0x211fb0=_0x58dff2;this[_0x211fb0(0x27e)]=_0x26302a,this[_0x211fb0(0x286)]=new WeakMap();}[_0x58dff2(0x2c2)](_0x333a1e){const _0x31b83d=_0x58dff2;let _0x1bbea0=_0x333a1e[_0x31b83d(0x23d)];for(;_0x1bbea0--;){const _0x2e1b72=_0x333a1e[_0x1bbea0];if(!this[_0x31b83d(0x27e)][_0x31b83d(0x249)](_0x2e1b72)){if(!this[_0x31b83d(0x286)][_0x31b83d(0x249)](_0x2e1b72)){const _0x40aad2=_0x57d00d()[_0x31b83d(0x1f6)](0x1,0x12);this[_0x31b83d(0x286)][_0x31b83d(0x2d4)](_0x2e1b72,_0x40aad2);}return this[_0x31b83d(0x286)][_0x31b83d(0x24b)](_0x2e1b72);}}}[_0x58dff2(0x2dc)](_0x42a265,_0x292466){const _0x4d172f=_0x58dff2;if(!_0x292466)return;let _0x29e466=_0x42a265[_0x4d172f(0x23d)];for(;_0x29e466--;){const _0xc42248=_0x42a265[_0x29e466];this[_0x4d172f(0x27e)][_0x4d172f(0x249)](_0xc42248)||this[_0x4d172f(0x286)][_0x4d172f(0x2d4)](_0xc42248,_0x292466);}}}
|
|
23
|
+
const _0x40afd6=_0x4099;(function(_0x1ff769,_0x3d956c){const _0x5c931d=_0x4099,_0x1895ec=_0x1ff769();while(!![]){try{const _0x42d383=parseInt(_0x5c931d(0xed))/0x1+parseInt(_0x5c931d(0xd5))/0x2*(parseInt(_0x5c931d(0xec))/0x3)+-parseInt(_0x5c931d(0xac))/0x4*(-parseInt(_0x5c931d(0x13f))/0x5)+parseInt(_0x5c931d(0x130))/0x6+parseInt(_0x5c931d(0x120))/0x7*(parseInt(_0x5c931d(0xcc))/0x8)+-parseInt(_0x5c931d(0x17f))/0x9*(-parseInt(_0x5c931d(0x19e))/0xa)+-parseInt(_0x5c931d(0x113))/0xb;if(_0x42d383===_0x3d956c)break;else _0x1895ec['push'](_0x1895ec['shift']());}catch(_0x374295){_0x1895ec['push'](_0x1895ec['shift']());}}}(_0x6826,0x471b7));import{Plugin as _0x342950,PendingActions as _0x3b1d7f}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ac2d8,version as _0x446c66,uid as _0x585e67}from'ckeditor5/src/utils.js';import{Notification as _0x576aa8}from'ckeditor5/src/ui.js';function _0x4099(_0x5b4381,_0x157e35){const _0x682670=_0x6826();return _0x4099=function(_0x409990,_0x480957){_0x409990=_0x409990-0x98;let _0xd7754=_0x682670[_0x409990];return _0xd7754;},_0x4099(_0x5b4381,_0x157e35);}import{transformOperationSets as _0x23d2f0,NoOperation as _0x166358,InsertOperation as _0x52dda0,MarkerOperation as _0x264540,RootAttributeOperation as _0x305f59,OperationFactory as _0x2f7a13,History as _0x3612cd}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x331a8f}from'./websocketgateway.js';import{Sessions as _0x4b8b4e}from'./sessions.js';import{UserMarkers as _0x3d17da}from'./usermarkers.js';import{getTranslation as _0x156544}from'../common-translations.js';import{Compressor as _0x17bad1}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5df85d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1fc2e0,CollaborativeEditingService as _0x62907b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x6826(){const _0xe55154=['rootsAttributes','3236934JZzdTg','wereChangesApplied','addToReconnectionStack','cloudServices.bundleVersion','root','register','listenTo','editing','PENDING_ACTION_SENDING_DATA','parse','_isEditingAllowed','_pendingAction','isReadOnly','change:_isPendingUpdate','Synchronization\x20issue','15OEMUcf','connected','keys','getOperationAuthor','suppressErrorInCollaboration','enableReadOnlyMode','editor','history','wasUndone','realtimecollaborationclient-init-service-internal-error','error','multi-root-editor-root-attributes-no-root','cs:removeUser','_getOperationsFromInitData','_initSessionsHandling','collaboration.channelId','permissions','setPermissions','attributes','lastSyncVersion','applyOperation','lastOperationId','requires','_compressor','_updateServerHistory','addRoot','currentDocumentSession','from','rootName','real-time-collaboration','change:_isEditingAllowed','realtimecollaborationclient-init-document-already-initialized','_loadRoot','_handleServerResponse','sessionCreatedAt','getOperations','isUndoneOperation','isEnabled','_isInit','disableReadOnlyMode','_handleInitialConnectionData','lastOperationAcceptedAt','off','version','toJSON','_decompressOperations','connection','set','sendOperations','includes','define','_compressOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','decompress','stopListening','_document','getRoot','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.','addOperation','_currentBufferDelay','_ignoredOperations','createUserMarkerOperations','_hasSelectionChanged','_handleExternalOperations','1855098IfiqXF','cloud-services-internal-error:\x20Not\x20connected.','has','change:hasDomSelection','cloud-services-internal-error:\x20Request\x20timeout.','addRootAttribute','_baseBufferDelay','_connectService','_disconnectionOperations','Permissions','destroy','unregister','init','_handleReceivedOperations','_shouldSendSelectionUpdate','_addKnownRoot','rtc-offline','_lastServerVersion','remove','createPositionAt','size','reconnection:\x20flushed\x20session','config','_offset','compress','_service','locale','404','startsWith','setIdForTheLastOperation','document','10OAYoPM','__className','apply','enqueueChange','operationsReceived','isDocumentOperation','_waitUntilSynced','reconnect','type','path','removeFromReconnectionStack','catch','createPositionFromPath','_handleSendingSelectionMarkers','showWarning','getMany','batch','serverHistory','createdAt','get','isPremiumPlugin','684928cicRHw','RealTimeCollaborationClient','getUser','getConnectedSessions','mySessionId','connect','message','_saveOperationInBuffer','filter','collaboration','roots','high','position','move','_sendBufferedOperationsDelayed','loadRoot','Notification','map','_isDisconnection','entries','round','affectedSelectable','_connectAfterSessionHasBeenFlushed','_setPendingAction','_crash','_channelId','return','model','InsertOperation','_operationToId','initData','finally','1693072OTHFQZ','marker','_refreshUserSelectionMarkers','change:range','realtimecollaborationclient-init-connection-failed','_sendBufferedOperations','markers','fromJSON','pluginName','179206RQrKZy','view','CollaborativeEditingService','newRange','_handleReconnectionError','_lastSyncedOperationId','_knownOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_knownRootNames','getDocumentDetails','slice','_authorId','start','_fetchMissingUsers','lastDocumentSession','_shouldSendUpdate','channelSessions','_clearPendingAction','selection','$root','stop','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.','baseVersion','18GUyPIt','496820skaZki','_isConnected','metadata','realtimecollaborationclient','userId','disconnect','code','_applyOperationsSet','_disconnectService','_bufferRootLoad','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getIdOfTheLastOperation','_isPendingUpdate','end','disconnected','_isLoaded','then','_isAttached','realtimecollaborationclient-error','ready','_sendBufferedOperationsDelayId','targetPosition','realtimecollaborationclient-sendbufferedoperations','differ','cloudDocumentVersion','realtimecollaborationclient-init-session-connection-error','insert','_hasSynchronizationProblem','realtimecollaborationclient-handleserverresponse','_handleReconnectionResponse','offset','409','string','rtc-destroyed','sessionAdd:','fire','forEach','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','24355364BWSAUv','length','addUser','data','plugins','bind','_operationIdentifier','createRoot','clone','add','sessionId','createRange','_getAffectedRoot','7cadNaS','affectsData','_bufferedOperations','directChange','_setUpDataInit','push','state','isOfficialPlugin','realtimecollaborationclient-init-non-existent-root','collaboration-missing-channelid','CommentsOnly','realtimecollaborationclient-init-service-incorrect-server-operation','document:write','_initThrowingOnDataSet','reset'];_0x6826=function(){return _0xe55154;};return _0x6826();}let z=0x1;export class RealTimeCollaborationClient extends _0x342950{static [_0x40afd6(0xd7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x62907b)());[_0x40afd6(0x196)];[_0x40afd6(0x11d)];[_0x40afd6(0xa8)];[_0x40afd6(0xc5)];[_0x40afd6(0x198)];[_0x40afd6(0x176)];[_0x40afd6(0x156)];[_0x40afd6(0x122)];[_0x40afd6(0xdb)];[_0x40afd6(0xdd)];[_0x40afd6(0x13b)];[_0x40afd6(0x17d)];[_0x40afd6(0x101)];[_0x40afd6(0x185)];[_0x40afd6(0x17a)];[_0x40afd6(0xda)];[_0x40afd6(0x187)];[_0x40afd6(0x119)];static get[_0x40afd6(0x155)](){return[_0x331a8f,_0x4b8b4e,_0x3d17da,_0x3b1d7f,_0x5df85d,_0x576aa8];}static get[_0x40afd6(0xd4)](){const _0x465108=_0x40afd6;return _0x465108(0xad);}static get[_0x40afd6(0x127)](){return!0x0;}static get[_0x40afd6(0xab)](){return!0x0;}get[_0x40afd6(0x105)](){const _0x1a0521=_0x40afd6;return this[_0x1a0521(0x190)]+this[_0x1a0521(0x196)];}get[_0x40afd6(0x190)](){const _0x191257=_0x40afd6;return this[_0x191257(0xa8)][_0x191257(0x16a)]-this[_0x191257(0x196)];}get[_0x40afd6(0x152)](){const _0x171514=_0x40afd6,_0x7a32b=this[_0x171514(0xa8)][_0x171514(0x162)]();for(let _0x8db8c4=_0x7a32b[_0x171514(0x114)]-0x1;_0x8db8c4>=0x0;_0x8db8c4--){const _0x1c112c=_0x7a32b[_0x8db8c4];if(!this[_0x171514(0x187)][_0x171514(0x181)](_0x1c112c))return _0x1c112c[_0x171514(0xeb)]+0x1-this[_0x171514(0x196)];}return 0x0;}constructor(_0x506f12){const _0x8c5d0f=_0x40afd6;if(super(_0x506f12),this[_0x8c5d0f(0x196)]=0x0,this[_0x8c5d0f(0x11d)]=null,this[_0x8c5d0f(0xa8)]=new _0x3612cd(),this[_0x8c5d0f(0x145)][_0x8c5d0f(0x195)][_0x8c5d0f(0x171)](_0x8c5d0f(0xb5),{}),this[_0x8c5d0f(0xc5)]=this[_0x8c5d0f(0x145)][_0x8c5d0f(0x195)][_0x8c5d0f(0xaa)](_0x8c5d0f(0x14e)),!this[_0x8c5d0f(0xc5)])throw new _0x1ac2d8(_0x8c5d0f(0x129),this);const _0x414bc6=_0x506f12[_0x8c5d0f(0x195)][_0x8c5d0f(0xaa)](_0x8c5d0f(0x133))||_0x446c66;this[_0x8c5d0f(0x198)]=new RealTimeCollaborationClient[(_0x8c5d0f(0xd7))](_0x414bc6,this[_0x8c5d0f(0xc5)]),this[_0x8c5d0f(0x176)]=this[_0x8c5d0f(0x145)][_0x8c5d0f(0xc7)][_0x8c5d0f(0x19d)],this[_0x8c5d0f(0x156)]=new _0x17bad1(),this[_0x8c5d0f(0x122)]=[],this[_0x8c5d0f(0xdb)]=new WeakSet(),this[_0x8c5d0f(0xdd)]=new Set(),this[_0x8c5d0f(0x16e)](_0x8c5d0f(0xf9),!0x1),this[_0x8c5d0f(0x16e)](_0x8c5d0f(0x108),!0x1),this[_0x8c5d0f(0x13b)]=null,this[_0x8c5d0f(0x17d)]=!0x1,this[_0x8c5d0f(0x101)]=null,this[_0x8c5d0f(0x185)]=0x12c,this[_0x8c5d0f(0x17a)]=this[_0x8c5d0f(0x185)],this[_0x8c5d0f(0xda)]=null,this[_0x8c5d0f(0x187)]=new WeakSet(),this[_0x8c5d0f(0x119)]=new W(this[_0x8c5d0f(0x187)]);}[_0x40afd6(0x18b)](){const _0x54e9e0=_0x40afd6,_0x12df2b=this[_0x54e9e0(0x145)],_0x592784=_0x12df2b[_0x54e9e0(0x117)][_0x54e9e0(0xaa)](_0x5df85d),_0x45d337=_0x12df2b[_0x54e9e0(0x117)][_0x54e9e0(0xaa)](_0x331a8f);this[_0x54e9e0(0x136)](_0x592784,_0x54e9e0(0x142),(_0x3937c7,_0x42af80)=>{const _0x363746=_0x54e9e0,_0x36b811=_0x42af80[0x0];_0x36b811[_0x363746(0xe0)]&&(_0x3937c7[_0x363746(0xc6)]=_0x592784[_0x363746(0xae)](_0x36b811[_0x363746(0xe0)]),_0x3937c7[_0x363746(0xe9)]()),null===_0x36b811[_0x363746(0xe0)]&&(_0x3937c7[_0x363746(0xc6)]=null,_0x3937c7[_0x363746(0xe9)]());},{'priority':_0x54e9e0(0xb7)}),this[_0x54e9e0(0x136)](_0x12df2b[_0x54e9e0(0xc7)][_0x54e9e0(0x19d)][_0x54e9e0(0xe7)],_0x54e9e0(0xcf),(_0x2a8229,_0x4ce42a)=>{const _0x447101=_0x54e9e0;_0x4ce42a[_0x447101(0x123)]&&this[_0x447101(0xce)]();}),this[_0x54e9e0(0x136)](_0x12df2b[_0x54e9e0(0x137)][_0x54e9e0(0xd6)],_0x54e9e0(0x182),()=>{const _0x35a47d=_0x54e9e0;this[_0x35a47d(0xce)]();}),this[_0x54e9e0(0x12d)](),_0x12df2b[_0x54e9e0(0xc7)]['on'](_0x54e9e0(0x153),(_0x30d3e1,_0x1d29c5)=>{const _0x55e968=_0x54e9e0,_0x3072c8=_0x1d29c5[0x0];_0x3072c8[_0x55e968(0x9c)]&&(this[_0x55e968(0xb3)](_0x3072c8),this[_0x55e968(0xe4)]()&&this[_0x55e968(0xba)]());}),this[_0x54e9e0(0x124)](),this[_0x54e9e0(0x118)](_0x54e9e0(0x13a))['to'](_0x45d337,_0x54e9e0(0x126),this,_0x54e9e0(0x108),(_0x40b96a,_0xea6edd)=>_0x54e9e0(0x140)===_0x40b96a&&!_0xea6edd),this['on'](_0x54e9e0(0x15d),()=>{const _0x5c0387=_0x54e9e0;this[_0x5c0387(0x13a)]?_0x12df2b[_0x5c0387(0x166)](_0x5c0387(0x18f)):_0x12df2b[_0x5c0387(0x144)](_0x5c0387(0x18f));}),this[_0x54e9e0(0x13a)]?_0x12df2b[_0x54e9e0(0x166)](_0x54e9e0(0x18f)):_0x12df2b[_0x54e9e0(0x144)](_0x54e9e0(0x18f)),this[_0x54e9e0(0x16e)](_0x54e9e0(0xee),!0x1);}async[_0x40afd6(0x9e)](){const _0x1d5af0=_0x40afd6,_0x34e3fb=this[_0x1d5af0(0x145)][_0x1d5af0(0x117)][_0x1d5af0(0xaa)](_0x4b8b4e),_0x227681=this[_0x1d5af0(0x145)][_0x1d5af0(0x117)][_0x1d5af0(0xaa)](_0x331a8f);try{this[_0x1d5af0(0xf9)]=!0x0,_0x34e3fb[_0x1d5af0(0x18a)](this[_0x1d5af0(0xc5)]);const _0x4a3e89=await this[_0x1d5af0(0x198)][_0x1d5af0(0x9e)](_0x227681[_0x1d5af0(0x16d)],this[_0x1d5af0(0x152)]);await this[_0x1d5af0(0x10a)](_0x4a3e89)&&(this[_0x1d5af0(0xf9)]=!0x1,this[_0x1d5af0(0xe6)]());const _0x25b9fe=await this[_0x1d5af0(0x198)][_0x1d5af0(0xaf)]();_0x34e3fb[_0x1d5af0(0x135)](this[_0x1d5af0(0xc5)],_0x25b9fe),this[_0x1d5af0(0xa4)](),this[_0x1d5af0(0xee)]=!0x0;}catch(_0x32de73){if(function(_0x241287){const _0x55c87e=_0x1d5af0;return _0x55c87e(0x19a)===_0x241287[_0x55c87e(0xf3)];}(_0x32de73)&&this[_0x1d5af0(0x11d)])await this[_0x1d5af0(0xc2)]();else{if(function(_0x36d3cd){const _0x175175=_0x1d5af0;return _0x175175(0x10c)===_0x36d3cd[_0x175175(0xf3)];}(_0x32de73)){const _0x5cb99a=_0x156544(this[_0x1d5af0(0x145)][_0x1d5af0(0x199)],_0x1d5af0(0x173));this[_0x1d5af0(0xd9)](_0x5cb99a);}else{if(!(_0x32de73 instanceof H))throw _0x32de73;this[_0x1d5af0(0xd9)]();}}}}[_0x40afd6(0x189)](){const _0x48b253=_0x40afd6,_0x49d15d=this[_0x48b253(0x145)][_0x48b253(0x117)][_0x48b253(0xaa)](_0x331a8f),_0x139529=this[_0x48b253(0x145)][_0x48b253(0x117)][_0x48b253(0xaa)](_0x4b8b4e);this[_0x48b253(0x145)][_0x48b253(0x144)](_0x48b253(0x10e)),_0x139529[_0x48b253(0xe5)][_0x48b253(0x181)](this[_0x48b253(0xc5)])&&_0x139529[_0x48b253(0x18a)](this[_0x48b253(0xc5)]),_0x49d15d[_0x48b253(0xa1)](this),this[_0x48b253(0xf5)](),super[_0x48b253(0x189)]();}async[_0x40afd6(0x10a)](_0x2a682f){const _0x3360f1=_0x40afd6;if(this[_0x3360f1(0x11d)]!==_0x2a682f[_0x3360f1(0x11d)]&&this[_0x3360f1(0xda)]!==_0x2a682f[_0x3360f1(0x154)])throw new H();return this[_0x3360f1(0x11d)]=_0x2a682f[_0x3360f1(0x11d)],this[_0x3360f1(0x160)]([],{..._0x2a682f,'wereChangesApplied':!0x1,'data':_0x2a682f[_0x3360f1(0x116)]},_0x3360f1(0x9e));}async[_0x40afd6(0x186)](_0x3fe28f,_0x5cc92a=!0x1){const _0x42f65f=_0x40afd6,{connection:_0x511a03}=this[_0x42f65f(0x145)][_0x42f65f(0x117)][_0x42f65f(0xaa)](_0x331a8f);RealTimeCollaborationClient[_0x42f65f(0xd7)][_0x42f65f(0xaf)](_0x511a03,this[_0x42f65f(0xc5)])[_0x42f65f(0xfd)](_0x5f1caf=>this[_0x42f65f(0x14d)](_0x5f1caf))[_0x42f65f(0xa2)](_0xc3e82e=>{const _0x3dbdd1=_0x42f65f;this[_0x3dbdd1(0xc4)](_0x3dbdd1(0x106),_0xc3e82e);}),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0x9b),this[_0x42f65f(0x18c)][_0x42f65f(0x118)](this)),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0x149),(_0x31365d,_0x3c3d66)=>{const _0x226c19=_0x42f65f;this[_0x226c19(0xc4)](_0x226c19(0x148),_0x3c3d66);}),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0xfb),()=>{const _0x26b11f=_0x42f65f;this[_0x26b11f(0xee)]=!0x1;});const _0x3ad57f=this[_0x42f65f(0x119)][_0x42f65f(0xf8)](_0x3fe28f);this[_0x42f65f(0xf9)]=!0x0;const _0x3fe6fe=await this[_0x42f65f(0x198)][_0x42f65f(0xb1)](_0x511a03,this[_0x42f65f(0x172)](_0x3fe28f),_0x3ad57f);if(this[_0x42f65f(0x11d)]=_0x3fe6fe[_0x42f65f(0x11d)],_0x5cc92a){if(!_0x3fe6fe[_0x42f65f(0x131)])return void this[_0x42f65f(0xd9)]();this[_0x42f65f(0xf9)]=!0x1,this[_0x42f65f(0xe6)](),this[_0x42f65f(0xa8)][_0x42f65f(0x12e)](),this[_0x42f65f(0x196)]=_0x3fe6fe[_0x42f65f(0x10b)],this[_0x42f65f(0xa8)][_0x42f65f(0x16a)]=this[_0x42f65f(0x196)],await this[_0x42f65f(0x160)](_0x3fe28f,_0x3fe6fe,_0x42f65f(0x194));}else await this[_0x42f65f(0x167)](_0x3fe6fe,_0x3fe28f);this[_0x42f65f(0xa4)](),this[_0x42f65f(0xee)]=!0x0;}[_0x40afd6(0xa4)](){const _0x26101e=_0x40afd6,_0x4def29=this[_0x26101e(0x145)][_0x26101e(0x117)][_0x26101e(0xaa)](_0x4b8b4e),_0x4b0fef=this[_0x26101e(0x145)][_0x26101e(0x117)][_0x26101e(0xaa)](_0x3d17da),_0x3fa576=_0x4def29[_0x26101e(0xe5)][_0x26101e(0xaa)](this[_0x26101e(0xc5)]);_0x3fa576&&_0x3fa576[_0x26101e(0x114)]>0x1?_0x4b0fef[_0x26101e(0x17c)]():this[_0x26101e(0x136)](_0x4def29,_0x26101e(0x10f)+this[_0x26101e(0xc5)],()=>{const _0x587376=_0x26101e;0x2===_0x4def29[_0x587376(0xe5)][_0x587376(0xaa)](this[_0x587376(0xc5)])[_0x587376(0x114)]&&_0x4b0fef[_0x587376(0x17c)]();});}async[_0x40afd6(0x18c)](_0x5978c0,_0x683ab2,_0x7958f4,_0x14783b){const _0x24bb46=_0x40afd6;if(!this[_0x24bb46(0xf9)]&&this[_0x24bb46(0x176)][_0x24bb46(0x16a)]==_0x683ab2){const _0x4648b8=this[_0x24bb46(0x16c)](_0x7958f4,_0x14783b);await this[_0x24bb46(0xe2)](_0x4648b8),this[_0x24bb46(0x17e)](_0x4648b8,_0x683ab2,_0x7958f4[_0x24bb46(0x154)])||this[_0x24bb46(0xc4)](_0x24bb46(0x12b));}}async[_0x40afd6(0xc2)](){const _0x24e2d4=_0x40afd6;this[_0x24e2d4(0xf5)]();const {locale:_0x3c7845}=this[_0x24e2d4(0x145)];let _0x151d78;try{_0x151d78=await this[_0x24e2d4(0x198)][_0x24e2d4(0xde)]();}catch{const _0x1cda60=_0x156544(_0x3c7845,_0x24e2d4(0xf7));return void this[_0x24e2d4(0xd9)](_0x1cda60);}const _0x2a1a2f=_0x151d78[_0x24e2d4(0x159)]||_0x151d78[_0x24e2d4(0xe3)];if(this[_0x24e2d4(0xda)]!==_0x2a1a2f[_0x24e2d4(0x154)]){const _0x1c1783=_0x156544(_0x3c7845,_0x24e2d4(0xea));return void this[_0x24e2d4(0xd9)](_0x1c1783);}await this[_0x24e2d4(0x186)](this[_0x24e2d4(0x145)][_0x24e2d4(0xc7)][_0x24e2d4(0x19d)][_0x24e2d4(0x146)][_0x24e2d4(0x162)](),!0x0);}[_0x40afd6(0xf5)](){const _0x30f98a=_0x40afd6;this[_0x30f98a(0x198)][_0x30f98a(0xf2)](),this[_0x30f98a(0x122)]=[],clearTimeout(this[_0x30f98a(0x101)]),this[_0x30f98a(0x175)](this[_0x30f98a(0x198)]);}[_0x40afd6(0x14d)](_0x36c6b1){const _0x1b3f71=_0x40afd6,_0x374cc6=this[_0x1b3f71(0x145)][_0x1b3f71(0x117)][_0x1b3f71(0xaa)](_0x4b8b4e);this[_0x1b3f71(0x136)](_0x374cc6,_0x1b3f71(0x10f)+this[_0x1b3f71(0xc5)],(_0x221941,{session:_0x5f0845})=>{const _0x25257c=_0x1b3f71;if(_0x5f0845['id']===_0x374cc6[_0x25257c(0xb0)]){_0x221941[_0x25257c(0x169)]();const _0x3fb71f=this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0x181)](_0x25257c(0x12a))&&this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0xaa)](_0x25257c(0x12a));let _0x1d1f78=_0x5f0845[_0x25257c(0x14f)];_0x3fb71f&&_0x3fb71f[_0x25257c(0x164)]&&(_0x1d1f78=_0x1d1f78[_0x25257c(0xb4)](_0x108801=>_0x25257c(0x12c)!==_0x108801)),this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0xaa)](_0x25257c(0x188))[_0x25257c(0x150)](_0x1d1f78,this[_0x25257c(0xc5)]);}}),_0x374cc6[_0x1b3f71(0x135)](this[_0x1b3f71(0xc5)],_0x36c6b1);}[_0x40afd6(0x12d)](){const _0x5175f6=_0x40afd6,_0x3dde6b=this[_0x5175f6(0x145)][_0x5175f6(0x116)][_0x5175f6(0x16e)];this[_0x5175f6(0x145)][_0x5175f6(0x116)][_0x5175f6(0x16e)]=(..._0x32e723)=>{const _0x36a8a0=_0x5175f6;if(!_0x32e723[_0x32e723[_0x36a8a0(0x114)]-0x1][_0x36a8a0(0x143)])throw new _0x1ac2d8(_0x36a8a0(0x112),this);_0x3dde6b[_0x36a8a0(0x99)](this[_0x36a8a0(0x145)][_0x36a8a0(0x116)],_0x32e723);};}[_0x40afd6(0x124)](){const _0x2db2c7=_0x40afd6;this[_0x2db2c7(0x145)][_0x2db2c7(0x116)]['on'](_0x2db2c7(0x18b),(_0x4b5ce0,[_0x423a7b])=>{const _0x2246fa=_0x2db2c7;if(this[_0x2246fa(0x176)][_0x2246fa(0x16a)])throw new _0x1ac2d8(_0x2246fa(0x15e),this);_0x4b5ce0[_0x2246fa(0xe9)](),this[_0x2246fa(0xc3)]();const _0x6d75bc=this[_0x2246fa(0x145)][_0x2246fa(0x195)][_0x2246fa(0xaa)](_0x2246fa(0x12f)),_0x2135d4=this[_0x2246fa(0x14c)](_0x423a7b,_0x6d75bc);0x0==_0x2135d4[_0x2246fa(0x114)]&&_0x2135d4[_0x2246fa(0x125)](new _0x166358(0x0)),_0x4b5ce0[_0x2246fa(0xc6)]=this[_0x2246fa(0x186)](_0x2135d4)[_0x2246fa(0xfd)](()=>{const _0x535665=_0x2246fa;this[_0x535665(0x145)][_0x535665(0x117)][_0x535665(0xaa)](_0x331a8f)[_0x535665(0x132)](this),this[_0x535665(0x145)][_0x535665(0x116)][_0x535665(0x110)](_0x535665(0x100));})[_0x2246fa(0xa2)](_0x4ce069=>this[_0x2246fa(0xc4)](_0x2246fa(0xd0),_0x4ce069))[_0x2246fa(0xcb)](()=>this[_0x2246fa(0xe6)]());},{'priority':_0x2db2c7(0xb7)}),this[_0x2db2c7(0x145)]['on'](_0x2db2c7(0xbb),async(_0x438802,[_0xed59a8,_0x158b00])=>{const _0x37fe9c=_0x2db2c7;_0x438802[_0x37fe9c(0xe9)]();const _0x250857=this[_0x37fe9c(0x145)][_0x37fe9c(0xc7)][_0x37fe9c(0x19d)][_0x37fe9c(0x177)](_0xed59a8);if(!this[_0x37fe9c(0xdd)][_0x37fe9c(0x181)](_0xed59a8)){const _0x5322f5=_0x158b00&&_0x158b00[_0x37fe9c(0x116)]?_0x158b00[_0x37fe9c(0x116)]:'',_0x3e07fd=_0x158b00&&_0x158b00[_0x37fe9c(0x151)]?_0x158b00[_0x37fe9c(0x151)]:{};await this[_0x37fe9c(0x15f)](_0xed59a8,_0x5322f5,_0x3e07fd);}this[_0x37fe9c(0x145)][_0x37fe9c(0xc7)][_0x37fe9c(0x9a)]({'isUndoable':!0x1},()=>{const _0x2dd1c2=_0x37fe9c;_0x250857[_0x2dd1c2(0xfc)]=!0x0,this[_0x2dd1c2(0x145)][_0x2dd1c2(0xc7)][_0x2dd1c2(0x19d)][_0x2dd1c2(0x104)][_0x2dd1c2(0xf6)](_0x250857);});},{'priority':_0x2db2c7(0xb7)});}async[_0x40afd6(0xe2)](_0x26c8bf){const _0x585cc7=_0x40afd6,_0x58670d=this[_0x585cc7(0x145)][_0x585cc7(0x117)][_0x585cc7(0xaa)](_0x5df85d),{connection:_0x57d4d0}=this[_0x585cc7(0x145)][_0x585cc7(0x117)][_0x585cc7(0xaa)](_0x331a8f),_0x1d7b33=new Set();for(const _0x5164e7 of _0x26c8bf){const _0x489b19=_0x5164e7[_0x585cc7(0xe0)];_0x489b19&&!_0x58670d[_0x585cc7(0xae)](_0x489b19)&&_0x1d7b33[_0x585cc7(0x11c)](_0x489b19);}if(0x0===_0x1d7b33[_0x585cc7(0x193)])return;const _0x12b055=await _0x1fc2e0[_0x585cc7(0xa6)](_0x57d4d0,Array[_0x585cc7(0x15a)](_0x1d7b33));for(const _0x3eb453 of _0x12b055)_0x58670d[_0x585cc7(0xae)](_0x3eb453['id'])||_0x58670d[_0x585cc7(0x115)](_0x3eb453);}[_0x40afd6(0x14c)](_0x3c6ccd,_0x538391={}){const _0x12bfeb=_0x40afd6,_0x296098=this[_0x12bfeb(0x145)][_0x12bfeb(0xc7)],_0x444240=[];let _0x26630f=0x0;const _0x72cda5=_0x12bfeb(0x10d)==typeof _0x3c6ccd?{'main':_0x3c6ccd}:_0x3c6ccd;for(const _0x34315a of Object[_0x12bfeb(0x141)](_0x72cda5)){if(!this[_0x12bfeb(0x176)][_0x12bfeb(0xb6)][_0x12bfeb(0x181)](_0x34315a))throw new _0x1ac2d8(_0x12bfeb(0x128),this);const _0x1c0c98=this[_0x12bfeb(0x145)][_0x12bfeb(0x116)][_0x12bfeb(0x139)](_0x72cda5[_0x34315a]),_0x271a52=this[_0x12bfeb(0x176)][_0x12bfeb(0x177)](_0x34315a),_0x4f852d=new _0x52dda0(_0x296098[_0x12bfeb(0x192)](_0x271a52,0x0),_0x1c0c98,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x4f852d);for(const [_0x4d4fc2,_0x202a91]of _0x1c0c98[_0x12bfeb(0xd2)]){const _0x35f6e0=_0x296098[_0x12bfeb(0x11e)](_0x296098[_0x12bfeb(0xa3)](_0x271a52,_0x202a91[_0x12bfeb(0xe1)][_0x12bfeb(0xa0)][_0x12bfeb(0xdf)]()),_0x296098[_0x12bfeb(0xa3)](_0x271a52,_0x202a91[_0x12bfeb(0xfa)][_0x12bfeb(0xa0)][_0x12bfeb(0xdf)]())),_0x469602=new _0x264540(_0x4d4fc2,null,_0x35f6e0,_0x296098[_0x12bfeb(0xd2)],!0x0,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x469602);}}if(_0x538391)for(const [_0x465528,_0x31eb4a]of Object[_0x12bfeb(0xbf)](_0x538391)){const _0x5a8ac7=_0x296098[_0x12bfeb(0x19d)][_0x12bfeb(0x177)](_0x465528);if(!_0x5a8ac7)throw new _0x1ac2d8(_0x12bfeb(0x14a),null);for(const [_0x349928,_0x40a0d1]of Object[_0x12bfeb(0xbf)](_0x31eb4a))if(null!==_0x40a0d1){const _0x2f16ac=new _0x305f59(_0x5a8ac7,_0x349928,null,_0x40a0d1,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x2f16ac);}}return _0x444240;}async[_0x40afd6(0x15f)](_0xf9fb1b,_0x225a8d,_0x229acd){const _0x257f5e=_0x40afd6;this[_0x257f5e(0x14c)]({[_0xf9fb1b]:_0x225a8d},{[_0xf9fb1b]:_0x229acd})[_0x257f5e(0x111)]((_0x183bd1,_0x41afb3)=>{const _0x12157f=_0x257f5e;_0x183bd1[_0x12157f(0xeb)]=this[_0x12157f(0x176)][_0x12157f(0x16a)]+_0x41afb3,_0x183bd1[_0x12157f(0x165)]=!0x0,this[_0x12157f(0xb3)](_0x183bd1);}),this[_0x257f5e(0xba)](),await this[_0x257f5e(0x9d)]();}async[_0x40afd6(0x167)](_0x4dc637,_0x27388c){const _0x373aac=_0x40afd6;let _0x4a60a3;this[_0x373aac(0x196)]=_0x4dc637[_0x373aac(0x10b)];const _0x4ac224=_0x4dc637[_0x373aac(0x131)]&&!_0x4dc637[_0x373aac(0xca)],_0x6a678e=_0x4ac224?0x0:_0x4dc637[_0x373aac(0x116)][_0x373aac(0xeb)];if(_0x27388c[_0x373aac(0x111)](_0x4346f6=>{const _0x3db44a=_0x373aac;_0x4346f6[_0x3db44a(0x165)]=!0x0,_0x4346f6[_0x3db44a(0xa9)]=_0x4dc637[_0x3db44a(0x161)],_0x4346f6[_0x3db44a(0xe0)]=null;}),_0x4ac224)_0x4a60a3=_0x27388c,this[_0x373aac(0xf4)](_0x4a60a3,_0x4ac224);else{if(_0x4dc637[_0x373aac(0xca)]){const _0x42653a=this[_0x373aac(0x14c)](_0x4dc637[_0x373aac(0xca)]);this[_0x373aac(0x176)][_0x373aac(0x146)][_0x373aac(0x16a)]=-_0x42653a[_0x373aac(0x114)],_0x42653a[_0x373aac(0x111)](_0x418a87=>{const _0x5029f6=_0x373aac;_0x418a87[_0x5029f6(0xeb)]-=_0x42653a[_0x5029f6(0x114)],_0x418a87[_0x5029f6(0xa9)]=_0x4dc637[_0x5029f6(0x161)],_0x418a87[_0x5029f6(0x165)]=!0x0,_0x418a87[_0x5029f6(0xe0)]=null;}),this[_0x373aac(0xf4)](_0x42653a,!0x0),this[_0x373aac(0xa8)][_0x373aac(0x16a)]=-_0x42653a[_0x373aac(0x114)]+this[_0x373aac(0x196)],this[_0x373aac(0x157)](_0x42653a);}this[_0x373aac(0x176)][_0x373aac(0x146)][_0x373aac(0x16a)]=_0x6a678e,_0x4a60a3=this[_0x373aac(0x16c)](_0x4dc637[_0x373aac(0x116)],_0x4dc637[_0x373aac(0xef)]),await this[_0x373aac(0xe2)](_0x4a60a3),this[_0x373aac(0xf4)](_0x4a60a3,_0x4ac224);}_0x4dc637[_0x373aac(0x154)]&&(this[_0x373aac(0x119)][_0x373aac(0x19c)](_0x4a60a3,_0x4dc637[_0x373aac(0x154)]),this[_0x373aac(0xda)]=_0x4dc637[_0x373aac(0x154)]),this[_0x373aac(0xa8)][_0x373aac(0x16a)]=_0x6a678e+this[_0x373aac(0x196)],this[_0x373aac(0x157)](_0x4a60a3),_0x27388c[_0x373aac(0xb4)](_0x5e9172=>{const _0x5ca24e=_0x373aac,_0x3e70e4=this[_0x5ca24e(0x11f)](_0x5e9172);return _0x3e70e4&&!this[_0x5ca24e(0xdd)][_0x5ca24e(0x181)](_0x3e70e4);})[_0x373aac(0x111)]((_0x59803b,_0x15d89e)=>{const _0x4e93b6=_0x373aac;_0x59803b[_0x4e93b6(0xeb)]=this[_0x4e93b6(0x176)][_0x4e93b6(0x16a)]+_0x15d89e,this[_0x4e93b6(0xb3)](_0x59803b);}),this[_0x373aac(0xe4)]()?(this[_0x373aac(0x17a)]=0x0,this[_0x373aac(0xba)](!0x0),await this[_0x373aac(0x9d)]()):(this[_0x373aac(0xf9)]=!0x1,this[_0x373aac(0xe6)]());}[_0x40afd6(0xc4)](_0x5cf666,_0x456560){const _0x4817e0=_0x40afd6,_0x9d2b76=_0x456560&&_0x456560[_0x4817e0(0xb2)];if(_0x9d2b76&&_0x9d2b76[_0x4817e0(0x19b)](_0x4817e0(0xf0)))throw _0x456560;const _0x3c1d35=this[_0x4817e0(0x145)][_0x4817e0(0x117)][_0x4817e0(0xaa)](_0x331a8f);throw this[_0x4817e0(0xf9)]=!0x0,_0x3c1d35[_0x4817e0(0xf2)](),this[_0x4817e0(0x145)][_0x4817e0(0x144)](_0x4817e0(0xff)),new _0x1ac2d8(_0x5cf666,this[_0x4817e0(0x145)],_0x9d2b76?{'originalError':_0x9d2b76}:void 0x0);}[_0x40afd6(0xb3)](_0x8df20d){const _0xf900ef=_0x40afd6;this[_0xf900ef(0xdb)][_0xf900ef(0x181)](_0x8df20d)||(this[_0xf900ef(0xdb)][_0xf900ef(0x11c)](_0x8df20d),this[_0xf900ef(0x122)][_0xf900ef(0x125)](_0x8df20d),this[_0xf900ef(0x13b)]||_0xf900ef(0xcd)==_0x8df20d[_0xf900ef(0x9f)]&&!_0x8df20d[_0xf900ef(0x121)]||this[_0xf900ef(0xc3)]());}[_0x40afd6(0xba)](_0x3506db=!0x1){const _0x295865=_0x40afd6;!_0x3506db&&this[_0x295865(0xf9)]||(this[_0x295865(0xf9)]=!0x0,clearTimeout(this[_0x295865(0x101)]),this[_0x295865(0x101)]=setTimeout(()=>{const _0x49ccb6=_0x295865;this[_0x49ccb6(0xd1)]()[_0x49ccb6(0xfd)](_0x5842bb=>{const _0x20ccbd=_0x49ccb6;_0x5842bb&&(this[_0x20ccbd(0xe6)](),this[_0x20ccbd(0xf9)]=!0x1);})[_0x49ccb6(0xa2)](_0x3f618e=>{const _0x437ab1=_0x49ccb6;this[_0x437ab1(0xe6)](),this[_0x437ab1(0xf9)]=!0x1,function(_0x412de2){const _0x5c0d69=_0x437ab1;return _0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0x180))||_0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0xdc))||_0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0x183));}(_0x3f618e)||this[_0x437ab1(0xc4)](_0x3f618e[_0x437ab1(0xb2)],_0x3f618e);});},this[_0x295865(0x17a)]));}[_0x40afd6(0x9d)](){return new Promise(_0x34f5df=>{const _0x512239=_0x4099;this['on'](_0x512239(0x13d),()=>{_0x34f5df();});});}async[_0x40afd6(0xd1)](){const _0xdadd73=_0x40afd6,_0x301a03=this[_0xdadd73(0x145)][_0xdadd73(0x117)][_0xdadd73(0xaa)](_0x3d17da);if(this[_0xdadd73(0x18d)]()&&(_0x301a03[_0xdadd73(0x17c)](),this[_0xdadd73(0x17d)]=!0x1),!this[_0xdadd73(0xe4)]())return!0x0;const _0x1618e7=[...this[_0xdadd73(0x122)]];for(const _0x1df65d of _0x1618e7)_0x1df65d[_0xdadd73(0x147)]=this[_0xdadd73(0x176)][_0xdadd73(0x146)][_0xdadd73(0x163)](_0x1df65d);const _0x53fa40=this[_0xdadd73(0x119)][_0xdadd73(0xf8)](_0x1618e7),_0x25a7cb=z++,_0x250c83=this[_0xdadd73(0x172)](_0x1618e7),_0x3c0764=await this[_0xdadd73(0x198)][_0xdadd73(0x16f)](_0x250c83,_0x250c83[_0xdadd73(0xeb)],_0x53fa40);try{return await this[_0xdadd73(0x160)](_0x1618e7,_0x3c0764,_0x25a7cb);}catch(_0x3ebd2b){return this[_0xdadd73(0xc4)](_0xdadd73(0x103),_0x3ebd2b);}}async[_0x40afd6(0x160)](_0x2da63d,_0x3b5a94,_0x2e1aaf){const _0x1890e3=_0x40afd6;if(_0x1890e3(0x149)in _0x3b5a94)throw _0x3b5a94[_0x1890e3(0x149)];let _0x1a46f2=!0x1;if(_0x3b5a94[_0x1890e3(0x131)]){_0x3b5a94[_0x1890e3(0x154)]&&(this[_0x1890e3(0xda)]=_0x3b5a94[_0x1890e3(0x154)]),this[_0x1890e3(0x122)]=this[_0x1890e3(0x122)][_0x1890e3(0xb4)](_0x5a2ee1=>!_0x2da63d[_0x1890e3(0x170)](_0x5a2ee1));for(const _0x13e441 of _0x2da63d)_0x13e441[_0x1890e3(0xa9)]=_0x1890e3(0x168)in _0x3b5a94&&_0x3b5a94[_0x1890e3(0x168)]||void 0x0;V(_0x2da63d,_0x3b5a94[_0x1890e3(0x16a)]-_0x2da63d[_0x1890e3(0x114)]),this[_0x1890e3(0x157)](_0x2da63d);const _0x51942e=_0x2da63d[_0x1890e3(0xb4)](_0x30d655=>{const _0x388420=_0x1890e3;if(!_0x30d655[_0x388420(0x165)])return!0x1;const _0x4c9de9=this[_0x388420(0x11f)](_0x30d655);return _0x4c9de9&&!this[_0x388420(0xdd)][_0x388420(0x181)](_0x4c9de9);});V(_0x51942e,this[_0x1890e3(0x176)][_0x1890e3(0x16a)]),this[_0x1890e3(0xf4)](_0x51942e),_0x1a46f2=!0x0,this[_0x1890e3(0x17a)]=this[_0x1890e3(0x185)];}else{const _0x57456f=this[_0x1890e3(0x16c)](_0x3b5a94[_0x1890e3(0x116)],_0x3b5a94[_0x1890e3(0xef)])[_0x1890e3(0xb4)](_0x3911fb=>_0x3911fb[_0x1890e3(0xeb)]>=this[_0x1890e3(0x190)]);_0x57456f[_0x1890e3(0x111)](_0x213dd0=>this[_0x1890e3(0x18e)](_0x213dd0)),this[_0x1890e3(0x122)]=this[_0x1890e3(0x122)][_0x1890e3(0xb4)](_0x4c2e87=>!_0x4c2e87[_0x1890e3(0x165)]||!this[_0x1890e3(0xdd)][_0x1890e3(0x181)](this[_0x1890e3(0x11f)](_0x4c2e87))),this[_0x1890e3(0x122)][_0x1890e3(0x114)]&&V(this[_0x1890e3(0x122)],this[_0x1890e3(0x122)][0x0][_0x1890e3(0xeb)]),await this[_0x1890e3(0xe2)](_0x57456f),_0x1a46f2=this[_0x1890e3(0x17e)](_0x57456f,_0x3b5a94[_0x1890e3(0x16a)],_0x3b5a94[_0x1890e3(0x154)]),this[_0x1890e3(0x17a)]=Math[_0x1890e3(0xc0)](this[_0x1890e3(0x17a)]/0x2);}return _0x1a46f2?!this[_0x1890e3(0xe4)]()||(this[_0x1890e3(0xba)](!0x0),!0x1):this[_0x1890e3(0xc4)](_0x1890e3(0x109));}[_0x40afd6(0x17e)](_0x15498e,_0xd24bc3,_0xf08633){const _0x3646e2=_0x40afd6;try{const _0x23f64c={'document':this[_0x3646e2(0x176)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x32f0ae,operationsB:_0x285377,originalOperations:_0x24fe18}=_0x23d2f0(_0x15498e,this[_0x3646e2(0x122)],_0x23f64c);V(_0x32f0ae,this[_0x3646e2(0x176)][_0x3646e2(0x16a)]),V(_0x285377,_0xd24bc3);for(const _0x6e8f06 of _0x32f0ae){const _0x2be6ee=_0x24fe18[_0x3646e2(0xaa)](_0x6e8f06);_0x6e8f06[_0x3646e2(0xe0)]=_0x2be6ee?_0x2be6ee[_0x3646e2(0xe0)]:null;}_0xf08633&&(this[_0x3646e2(0x119)][_0x3646e2(0x19c)](_0x15498e,_0xf08633),this[_0x3646e2(0xda)]=_0xf08633),this[_0x3646e2(0x122)]=[..._0x285377],this[_0x3646e2(0xf4)](_0x32f0ae),this[_0x3646e2(0x157)](_0x15498e);}catch(_0xa8dba0){return console[_0x3646e2(0x149)](_0xa8dba0),!0x1;}return!0x0;}[_0x40afd6(0xf4)](_0x30aee7,_0x58579f=!0x1){const _0x40f5f9=_0x40afd6;this[_0x40f5f9(0x145)][_0x40f5f9(0xc7)][_0x40f5f9(0x9a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5be50e=>{const _0x226f49=_0x40f5f9;for(const _0x340ca4 of _0x30aee7)this[_0x226f49(0xdb)][_0x226f49(0x11c)](_0x340ca4),this[_0x226f49(0x18e)](_0x340ca4),_0x5be50e[_0x226f49(0xa7)][_0x226f49(0x179)](_0x340ca4),this[_0x226f49(0x145)][_0x226f49(0xc7)][_0x226f49(0x153)](_0x340ca4);});}[_0x40afd6(0x18e)](_0x261417){const _0x1d02d3=_0x40afd6,_0x1cb6f5=this[_0x1d02d3(0x11f)](_0x261417);_0x1cb6f5&&this[_0x1d02d3(0xdd)][_0x1d02d3(0x11c)](_0x1cb6f5);}[_0x40afd6(0x11f)](_0x327c29){const _0x5da2f3=_0x40afd6;let _0x40a1a6,_0x49134a;switch(_0x327c29[_0x5da2f3(0x9f)]){case _0x5da2f3(0x107):_0x40a1a6=_0x327c29[_0x5da2f3(0xb8)][_0x5da2f3(0x134)];break;case _0x5da2f3(0xcd):if(_0x49134a=_0x327c29[_0x5da2f3(0xd8)],!_0x49134a)return null;_0x40a1a6=_0x49134a[_0x5da2f3(0x134)];break;case _0x5da2f3(0x184):_0x40a1a6=_0x327c29[_0x5da2f3(0x134)];break;case _0x5da2f3(0x158):_0x40a1a6=_0x327c29[_0x5da2f3(0xc1)];break;case _0x5da2f3(0xb9):_0x40a1a6=_0x327c29[_0x5da2f3(0x102)][_0x5da2f3(0x134)];break;default:return null;}return _0x40a1a6[_0x5da2f3(0x15b)];}[_0x40afd6(0x157)](_0x5b1289){const _0x1eeec6=_0x40afd6;_0x5b1289[_0x1eeec6(0x111)](_0x2aa7a1=>{const _0x56b8f=_0x1eeec6,_0xe91413=_0x2aa7a1[_0x56b8f(0x11b)]();_0xe91413[_0x56b8f(0xe0)]=_0x2aa7a1[_0x56b8f(0xe0)],_0xe91413[_0x56b8f(0x165)]=!!_0x2aa7a1[_0x56b8f(0x165)],_0xe91413[_0x56b8f(0xa9)]=_0x2aa7a1[_0x56b8f(0xa9)],_0xe91413[_0x56b8f(0xeb)]+=this[_0x56b8f(0x196)],_0x2aa7a1[_0x56b8f(0xbe)]&&this[_0x56b8f(0x187)][_0x56b8f(0x11c)](_0xe91413),this[_0x56b8f(0xa8)][_0x56b8f(0x179)](_0xe91413);});}[_0x40afd6(0xd9)](_0x28b28f){const _0x2a765a=_0x40afd6,_0x5ee174=this[_0x2a765a(0x145)][_0x2a765a(0x117)][_0x2a765a(0xaa)](_0x2a765a(0xbc)),_0x575b3a=this[_0x2a765a(0x145)][_0x2a765a(0x199)];_0x28b28f||(_0x28b28f=_0x156544(_0x575b3a,_0x2a765a(0x178))),_0x5ee174[_0x2a765a(0xa5)](_0x28b28f,{'title':_0x156544(_0x575b3a,_0x2a765a(0x13e)),'namespace':_0x2a765a(0x15c)}),this[_0x2a765a(0x108)]=!0x0,clearTimeout(this[_0x2a765a(0x101)]),this[_0x2a765a(0x122)]=[],this[_0x2a765a(0x145)][_0x2a765a(0x117)][_0x2a765a(0xaa)](_0x331a8f)[_0x2a765a(0xf2)]();}[_0x40afd6(0xc3)](){const _0x3abddd=_0x40afd6;this[_0x3abddd(0x13b)]||(this[_0x3abddd(0x13b)]=this[_0x3abddd(0x145)][_0x3abddd(0x117)][_0x3abddd(0xaa)](_0x3b1d7f)[_0x3abddd(0x11c)](_0x156544(this[_0x3abddd(0x145)][_0x3abddd(0x199)],_0x3abddd(0x138))));}[_0x40afd6(0xe6)](){const _0x3892c2=_0x40afd6;this[_0x3892c2(0x13b)]&&(this[_0x3892c2(0x145)][_0x3892c2(0x117)][_0x3892c2(0xaa)](_0x3b1d7f)[_0x3892c2(0x191)](this[_0x3892c2(0x13b)]),this[_0x3892c2(0x13b)]=null);}[_0x40afd6(0x172)](_0x1817a4){const _0x43479b=_0x40afd6,_0x17c343=_0x1817a4[_0x43479b(0xbd)](_0x2daefd=>_0x2daefd[_0x43479b(0x16b)]());return this[_0x43479b(0x156)][_0x43479b(0x197)](_0x17c343);}[_0x40afd6(0x16c)](_0x3caf8c,_0x49590c){const _0x520983=_0x40afd6;return this[_0x520983(0x156)][_0x520983(0x174)](_0x3caf8c)[_0x520983(0xbd)]((_0x114a0a,_0x4a2929)=>{const _0x403359=_0x520983,_0x7d84e9=_0x403359(0x18b)==_0x49590c[_0x4a2929][_0x403359(0x9f)];if(_0x403359(0xc8)==_0x114a0a[_0x403359(0x98)]){const _0x2ecdff=_0x114a0a[_0x403359(0xb8)][_0x403359(0x134)];!this[_0x403359(0x176)][_0x403359(0x177)](_0x2ecdff)&&(this[_0x403359(0x176)][_0x403359(0x11a)](_0x403359(0xe8),_0x2ecdff)[_0x403359(0xfe)]=!0x1);}const _0x3ebb43=_0x2f7a13[_0x403359(0xd3)](_0x114a0a,this[_0x403359(0x176)]);return _0x3ebb43[_0x403359(0x147)]=_0x114a0a[_0x403359(0x147)],_0x3ebb43[_0x403359(0x165)]=_0x7d84e9,_0x3ebb43[_0x403359(0xe0)]=_0x7d84e9?null:_0x49590c[_0x4a2929][_0x403359(0xf1)],_0x3ebb43[_0x403359(0xbe)]=_0x403359(0x14b)===_0x49590c[_0x4a2929][_0x403359(0x9f)],_0x3ebb43[_0x403359(0xa9)]=_0x49590c[_0x4a2929][_0x403359(0xa9)],_0x3ebb43;});}[_0x40afd6(0xce)](){const _0x37df39=_0x40afd6;this[_0x37df39(0x17d)]=!0x0,this[_0x37df39(0x18d)]()?this[_0x37df39(0xba)]():this[_0x37df39(0x17d)]=!0x1;}[_0x40afd6(0x18d)](){const _0x23d13d=_0x40afd6,_0x418c8e=this[_0x23d13d(0x145)][_0x23d13d(0x117)][_0x23d13d(0xaa)](_0x4b8b4e)[_0x23d13d(0xe5)][_0x23d13d(0xaa)](this[_0x23d13d(0xc5)]);return!this[_0x23d13d(0x145)][_0x23d13d(0x13c)]&&!!_0x418c8e&&_0x418c8e[_0x23d13d(0x114)]>0x1&&this[_0x23d13d(0x17d)];}[_0x40afd6(0xe4)](){const _0x1de02d=_0x40afd6;return this[_0x1de02d(0x122)][_0x1de02d(0x114)]>0x0||this[_0x1de02d(0x18d)]();}}class H extends Error{}function V(_0x5616c5,_0x5cbfcf){const _0x3b2bf8=_0x40afd6;for(const _0x4d56b6 of _0x5616c5)_0x4d56b6[_0x3b2bf8(0xeb)]=_0x5cbfcf++;}class W{[_0x40afd6(0x17b)];[_0x40afd6(0xc9)];constructor(_0x340f9e){const _0x2e3961=_0x40afd6;this[_0x2e3961(0x17b)]=_0x340f9e,this[_0x2e3961(0xc9)]=new WeakMap();}[_0x40afd6(0xf8)](_0x35a77a){const _0x56d3c2=_0x40afd6;let _0x54c93e=_0x35a77a[_0x56d3c2(0x114)];for(;_0x54c93e--;){const _0x8c9a7c=_0x35a77a[_0x54c93e];if(!this[_0x56d3c2(0x17b)][_0x56d3c2(0x181)](_0x8c9a7c)){if(!this[_0x56d3c2(0xc9)][_0x56d3c2(0x181)](_0x8c9a7c)){const _0x136f39=_0x585e67()[_0x56d3c2(0xdf)](0x1,0x12);this[_0x56d3c2(0xc9)][_0x56d3c2(0x16e)](_0x8c9a7c,_0x136f39);}return this[_0x56d3c2(0xc9)][_0x56d3c2(0xaa)](_0x8c9a7c);}}}[_0x40afd6(0x19c)](_0x4b77d7,_0x20e2ca){const _0x271304=_0x40afd6;if(!_0x20e2ca)return;let _0x29421e=_0x4b77d7[_0x271304(0x114)];for(;_0x29421e--;){const _0x4b8e6e=_0x4b77d7[_0x29421e];this[_0x271304(0x17b)][_0x271304(0x181)](_0x4b8e6e)||this[_0x271304(0xc9)][_0x271304(0x16e)](_0x4b8e6e,_0x20e2ca);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x45d10b=_0x8ea8;function _0x126f(){const _0x47455a=['9cOAJuN','set','4226133yDHxPc','context','channelConnectedUsers','forEach','sessions-unregister-not-exist','hiddenInPresenceList','defineMe','connection','_handleSessionAdd','allConnectedUsers','getUser','add','addUser','pluginName','user','_uniqueUsersCount','_users','getUserRole','9794624vFsGma','clear','5796824JIBmvn','orderNumber','_createUser','remove','2DEzfwk','178174cyaykH','channelSessions','mySessionId','13744870ejhRdl','delete','_handleSessionRemove','listenTo','isOfficialPlugin','90qZLdnu','change:state','_registeredSessions','get','state','has','sessions-register-already-registered','sessionAdd:','values','2178524FepKlN','getUserSessions','size','requires','init','sessionId','Sessions','fire','isMe','connected','assign','plugins','getUserBySessionId','unregister','stopListening','79965xHYHSO','register','isPremiumPlugin','role'];_0x126f=function(){return _0x47455a;};return _0x126f();}(function(_0x102ac6,_0x45e5e1){const _0x1ea58c=_0x8ea8,_0x460aa5=_0x102ac6();while(!![]){try{const _0x2a08dc=-parseInt(_0x1ea58c(0x115))/0x1*(parseInt(_0x1ea58c(0x116))/0x2)+-parseInt(_0x1ea58c(0x13c))/0x3+parseInt(_0x1ea58c(0x127))/0x4+-parseInt(_0x1ea58c(0x136))/0x5*(parseInt(_0x1ea58c(0x11e))/0x6)+parseInt(_0x1ea58c(0x10f))/0x7+-parseInt(_0x1ea58c(0x111))/0x8+-parseInt(_0x1ea58c(0x13a))/0x9*(-parseInt(_0x1ea58c(0x119))/0xa);if(_0x2a08dc===_0x45e5e1)break;else _0x460aa5['push'](_0x460aa5['shift']());}catch(_0x3d1f29){_0x460aa5['push'](_0x460aa5['shift']());}}}(_0x126f,0xbb3f7));import{ContextPlugin as _0x2299e6}from'ckeditor5/src/core.js';function _0x8ea8(_0x62d9a5,_0x6b5e1e){const _0x126f76=_0x126f();return _0x8ea8=function(_0x8ea87a,_0x2fd19a){_0x8ea87a=_0x8ea87a-0x100;let _0x3646a3=_0x126f76[_0x8ea87a];return _0x3646a3;},_0x8ea8(_0x62d9a5,_0x6b5e1e);}import{Collection as _0x18b244,CKEditorError as _0x12ff9c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5ec48a}from'./websocketgateway.js';import{Users as _0x31857b}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2299e6{[_0x45d10b(0x117)];[_0x45d10b(0x13e)];[_0x45d10b(0x106)];[_0x45d10b(0x120)];[_0x45d10b(0x10c)];[_0x45d10b(0x10d)];static get[_0x45d10b(0x10a)](){const _0x553f9f=_0x45d10b;return _0x553f9f(0x12d);}static get[_0x45d10b(0x11d)](){return!0x0;}static get[_0x45d10b(0x138)](){return!0x0;}static get[_0x45d10b(0x12a)](){return[_0x5ec48a,_0x31857b];}constructor(_0x5934ac){const _0x3ef63d=_0x45d10b;super(_0x5934ac),this[_0x3ef63d(0x117)]=new Map(),this[_0x3ef63d(0x13e)]=new Map(),this[_0x3ef63d(0x106)]=new _0x18b244(),this[_0x3ef63d(0x120)]=new Map(),this[_0x3ef63d(0x10c)]=0x0,this[_0x3ef63d(0x10d)]=this[_0x3ef63d(0x13d)][_0x3ef63d(0x132)][_0x3ef63d(0x121)](_0x31857b);}[_0x45d10b(0x12b)](){const _0x28c234=_0x45d10b,_0xfee83=this[_0x28c234(0x13d)][_0x28c234(0x132)][_0x28c234(0x121)](_0x5ec48a);this[_0x28c234(0x11c)](_0xfee83,_0x28c234(0x11f),(_0x2e00ab,_0x3e72cf,_0x469e8b)=>{const _0x29ea67=_0x28c234;if(_0x29ea67(0x130)!==_0x469e8b)this[_0x29ea67(0x117)][_0x29ea67(0x100)](_0x563eb0=>_0x563eb0[_0x29ea67(0x110)]()),this[_0x29ea67(0x13e)][_0x29ea67(0x100)](_0x119b4e=>_0x119b4e[_0x29ea67(0x110)]()),this[_0x29ea67(0x106)][_0x29ea67(0x110)]();else{for(const [_0x210100,_0x1d54ba]of this[_0x29ea67(0x120)])for(const _0x1db9c6 of _0x1d54ba)this[_0x29ea67(0x105)](_0x210100,_0x1db9c6);}}),this[_0x28c234(0x113)](_0xfee83[_0x28c234(0x104)]['me'],!0x0);}[_0x45d10b(0x137)](_0x1a76ee,_0x4c66a7){const _0x23dae2=_0x45d10b;if(this[_0x23dae2(0x120)][_0x23dae2(0x123)](_0x1a76ee))throw new _0x12ff9c(_0x23dae2(0x124),null,{'channelId':_0x1a76ee});this[_0x23dae2(0x120)][_0x23dae2(0x13b)](_0x1a76ee,_0x4c66a7),this[_0x23dae2(0x117)][_0x23dae2(0x13b)](_0x1a76ee,new _0x18b244()),this[_0x23dae2(0x13e)][_0x23dae2(0x13b)](_0x1a76ee,new _0x18b244()),this[_0x23dae2(0x11c)](_0x4c66a7,_0x23dae2(0x108),(_0x12cc78,_0x5d02ab)=>this[_0x23dae2(0x105)](_0x1a76ee,_0x5d02ab)),this[_0x23dae2(0x11c)](_0x4c66a7,_0x23dae2(0x114),(_0x25850a,_0x5e1823)=>this[_0x23dae2(0x11b)](_0x1a76ee,_0x5e1823));for(const _0x3f63ed of _0x4c66a7)this[_0x23dae2(0x105)](_0x1a76ee,_0x3f63ed);}[_0x45d10b(0x134)](_0x326f8b){const _0x236df2=_0x45d10b;if(!this[_0x236df2(0x120)][_0x236df2(0x123)](_0x326f8b))throw new _0x12ff9c(_0x236df2(0x101),null,{'channelId':_0x326f8b});const _0x2e4928=this[_0x236df2(0x120)][_0x236df2(0x121)](_0x326f8b);this[_0x236df2(0x135)](_0x2e4928);for(const _0x53930d of _0x2e4928)_0x236df2(0x130)===this[_0x236df2(0x13d)][_0x236df2(0x132)][_0x236df2(0x121)](_0x5ec48a)[_0x236df2(0x122)]&&this[_0x236df2(0x11b)](_0x326f8b,_0x53930d);this[_0x236df2(0x120)][_0x236df2(0x11a)](_0x326f8b),this[_0x236df2(0x117)][_0x236df2(0x11a)](_0x326f8b),this[_0x236df2(0x13e)][_0x236df2(0x11a)](_0x326f8b);}get[_0x45d10b(0x118)](){const _0xbad7aa=_0x45d10b;return this[_0xbad7aa(0x13d)][_0xbad7aa(0x132)][_0xbad7aa(0x121)](_0x5ec48a)[_0xbad7aa(0x104)][_0xbad7aa(0x12c)];}[_0x45d10b(0x133)](_0x5b56db){const _0x157e91=_0x45d10b;for(const _0x4fa0c7 of this[_0x157e91(0x117)][_0x157e91(0x126)]())for(const _0xa8d5e4 of _0x4fa0c7)if(_0xa8d5e4['id']===_0x5b56db)return _0xa8d5e4[_0x157e91(0x10b)];}[_0x45d10b(0x128)](_0x342e00,_0x446314){const _0x48c185=_0x45d10b,_0x36bf16=_0x446314?[this[_0x48c185(0x117)][_0x48c185(0x121)](_0x446314)]:this[_0x48c185(0x117)][_0x48c185(0x126)](),_0x10a84a=new Set();for(const _0x5a9014 of _0x36bf16)for(const _0x1c347b of _0x5a9014)_0x1c347b[_0x48c185(0x10b)]['id']===_0x342e00['id']&&_0x10a84a[_0x48c185(0x108)](_0x1c347b['id']);return _0x10a84a;}[_0x45d10b(0x10e)](_0x4596c0){const _0x121b82=_0x45d10b;for(const _0x3f9efe of this[_0x121b82(0x117)][_0x121b82(0x126)]())for(const _0x34d855 of _0x3f9efe)if(_0x34d855[_0x121b82(0x10b)]===_0x4596c0)return _0x34d855[_0x121b82(0x139)];}[_0x45d10b(0x105)](_0x3b8c72,_0xa945f7){const _0x1cd132=_0x45d10b;if(_0x1cd132(0x130)!==this[_0x1cd132(0x13d)][_0x1cd132(0x132)][_0x1cd132(0x121)](_0x5ec48a)[_0x1cd132(0x122)])return;const _0x237777=_0xa945f7[_0x1cd132(0x10b)],_0x1ef46f=this[_0x1cd132(0x10d)][_0x1cd132(0x107)](_0x237777['id'])||this[_0x1cd132(0x113)](_0x237777),_0x2cbc5b=Object[_0x1cd132(0x131)]({},_0xa945f7,{'user':_0x1ef46f});if(this[_0x1cd132(0x117)][_0x1cd132(0x121)](_0x3b8c72)[_0x1cd132(0x108)](_0x2cbc5b),!_0x237777[_0x1cd132(0x102)]){const _0x2e14ba=this[_0x1cd132(0x13e)][_0x1cd132(0x121)](_0x3b8c72);_0x2e14ba[_0x1cd132(0x123)](_0x1ef46f['id'])||_0x2e14ba[_0x1cd132(0x108)](_0x1ef46f),this[_0x1cd132(0x106)][_0x1cd132(0x123)](_0x1ef46f['id'])||_0x237777[_0x1cd132(0x102)]||this[_0x1cd132(0x106)][_0x1cd132(0x108)](_0x1ef46f,_0x1ef46f[_0x1cd132(0x12f)]?0x0:void 0x0);}this[_0x1cd132(0x12e)](_0x1cd132(0x125)+_0x3b8c72,{'channelId':_0x3b8c72,'session':_0x2cbc5b});}[_0x45d10b(0x11b)](_0x2c8046,_0x5ca116){const _0x107143=_0x45d10b;if(_0x107143(0x130)!==this[_0x107143(0x13d)][_0x107143(0x132)][_0x107143(0x121)](_0x5ec48a)[_0x107143(0x122)])return;const _0x402477=this[_0x107143(0x13e)][_0x107143(0x121)](_0x2c8046),_0x556c68=_0x5ca116[_0x107143(0x10b)];_0x556c68['id']&&(this[_0x107143(0x117)][_0x107143(0x121)](_0x2c8046)[_0x107143(0x114)](_0x5ca116['id']),_0x402477[_0x107143(0x123)](_0x556c68['id'])&&!this[_0x107143(0x128)](_0x556c68,_0x2c8046)[_0x107143(0x129)]&&_0x402477[_0x107143(0x114)](_0x556c68['id']),this[_0x107143(0x106)][_0x107143(0x121)](_0x556c68['id'])&&!this[_0x107143(0x128)](_0x556c68)[_0x107143(0x129)]&&this[_0x107143(0x106)][_0x107143(0x114)](_0x556c68['id']));}[_0x45d10b(0x113)](_0x35c92e,_0x1d2765){const _0x2a1d97=_0x45d10b,_0x47d53a=this[_0x2a1d97(0x10d)][_0x2a1d97(0x109)](_0x35c92e);return _0x1d2765&&this[_0x2a1d97(0x10d)][_0x2a1d97(0x103)](_0x35c92e['id']),_0x47d53a[_0x2a1d97(0x112)]=this[_0x2a1d97(0x10c)]++,_0x47d53a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x41287e=_0x3351;(function(_0x578f9c,_0x1610e8){const _0x2a1a75=_0x3351,_0x2778c6=_0x578f9c();while(!![]){try{const _0x57d84f=-parseInt(_0x2a1a75(0x239))/0x1+-parseInt(_0x2a1a75(0x1f4))/0x2*(parseInt(_0x2a1a75(0x23b))/0x3)+-parseInt(_0x2a1a75(0x201))/0x4+-parseInt(_0x2a1a75(0x245))/0x5*(-parseInt(_0x2a1a75(0x21d))/0x6)+-parseInt(_0x2a1a75(0x263))/0x7+-parseInt(_0x2a1a75(0x1f9))/0x8*(parseInt(_0x2a1a75(0x23c))/0x9)+-parseInt(_0x2a1a75(0x217))/0xa*(-parseInt(_0x2a1a75(0x252))/0xb);if(_0x57d84f===_0x1610e8)break;else _0x2778c6['push'](_0x2778c6['shift']());}catch(_0x4e6697){_0x2778c6['push'](_0x2778c6['shift']());}}}(_0xa1ff,0xac7ec));function _0xa1ff(){const _0x28bb07=['change:range','isObject','2VeEsUV','markerToHighlight','ck-user__marker\x20','getPositions','outerHTML','38152chsSUH','getMarkerClass','nodeAfter','data-session-id','_createdBatches','commands','requires','isDocumentOperation','512112DahcFz','getNearestSelectionRange','user:position','createUIElement','name','reconvertMarker','createRange','getCustomProperty','schema','updateMarker','isInline','tableCell','root','mySessionId','parent','checkChild','false','type','ck-user__marker-tooltip','remove','user:range','conversion','4570yBIKfY','getContainedElement','selection','listenTo','undo','view','18mNwkIX','getRange','createElement','detach','isLimit','color','markerNameToElements','userPositionMarker','_domEmitter','fromRange','plugins','innerHTML','getAttribute','contenteditable','mapper','markerName','update:user:range','document','spellcheck','isCollapsed','ck-user__selection','pluginName','hasContent','ck-user__marker_hovered','span','removeClass','enqueueChange','classList','708350KexqlH','markerRange','2290197KlAfWx','1665UJNGOc','toDomElement','hasDomSelection','Escape','change','setCustomProperty','getUserBySessionId','removeMarker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','1494335cpGBig','batch','toRange','addMarker','get','startsWith','marker','size','newRange','start','isOfficialPlugin','set','for','80905gfIxPp','highest','destroy','mouseleave','editor','render','$graveyard','clear','getStart','markerToElement','editing','getFirstRange','isSimilar','applyOperation','add','user:position:','mouseenter','7484778YWvTlS','editingDowncast','getSelectionClass','split','init','stopListening','markers','createUserMarkerOperations','has','delete','addEventListener','$text','user:range:','model','isPremiumPlugin','UserMarkers','element','user:','afterInit','end','oldRange','rootName','textContent','deletionPosition','setAttribute','orderNumber','keydown'];_0xa1ff=function(){return _0x28bb07;};return _0xa1ff();}import{Plugin as _0x35d327}from'ckeditor5/src/core.js';function _0x3351(_0x3db27b,_0x1f3ed8){const _0xa1ff7e=_0xa1ff();return _0x3351=function(_0x33515b,_0x1a21ef){_0x33515b=_0x33515b-0x1db;let _0x1c71d2=_0xa1ff7e[_0x33515b];return _0x1c71d2;},_0x3351(_0x3db27b,_0x1f3ed8);}import{global as _0x4dc17b,DomEmitterMixin as _0x120e1c}from'ckeditor5/src/utils.js';import{Sessions as _0x135bbf}from'./sessions.js';import{ModelLiveRange as _0x141b0e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x35d327{[_0x41287e(0x225)]=new(_0x120e1c())();static get[_0x41287e(0x1ff)](){return[_0x135bbf];}static get[_0x41287e(0x232)](){const _0x9e2f39=_0x41287e;return _0x9e2f39(0x1e6);}static get[_0x41287e(0x24f)](){return!0x0;}static get[_0x41287e(0x1e5)](){return!0x0;}[_0x41287e(0x1db)](){const _0x439269=_0x41287e,_0x2274f3=this[_0x439269(0x256)],_0x37ede8=_0x2274f3[_0x439269(0x227)][_0x439269(0x249)](_0x135bbf);_0x2274f3[_0x439269(0x216)][_0x439269(0x251)](_0x439269(0x264))[_0x439269(0x25b)]({'model':_0x439269(0x203),'view':(_0x2a8397,{writer:_0x3c3230})=>function(_0x1cb19e,_0x3d2086,_0x339249,_0x12b53d){const _0x5b3eb0=_0x439269,_0x19c50a=_0x1cb19e[_0x5b3eb0(0x22c)][_0x5b3eb0(0x266)](':')[0x2],_0x2e988c=_0x339249[_0x5b3eb0(0x242)](_0x19c50a);if(!_0x2e988c||_0x19c50a===_0x339249[_0x5b3eb0(0x20e)])return;if(!_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x209)][_0x5b3eb0(0x210)](_0x1cb19e[_0x5b3eb0(0x23a)][_0x5b3eb0(0x24e)],_0x5b3eb0(0x1e2)))return;const _0xc1401={'class':_0x5b3eb0(0x1f6)+_0x2e988c[_0x5b3eb0(0x222)][_0x5b3eb0(0x1fa)](),'data-name':_0x2e988c[_0x5b3eb0(0x205)],'data-session-id':_0x19c50a},_0x18cb8e=_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x1dd)][_0x5b3eb0(0x249)](_0x1cb19e[_0x5b3eb0(0x22c)]),_0x1d9699=_0x18cb8e[_0x5b3eb0(0x25a)](),_0x3ac2bb=_0x1d9699[_0x5b3eb0(0x1fb)],_0x693ae6=_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x209)];if(_0x3ac2bb&&_0x693ae6[_0x5b3eb0(0x1f3)](_0x3ac2bb)&&_0x693ae6[_0x5b3eb0(0x20b)](_0x3ac2bb)&&!_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x1dd)][_0x5b3eb0(0x249)](_0x5b3eb0(0x1e3)+_0x19c50a)[_0x5b3eb0(0x21e)]()[_0x5b3eb0(0x230)])return;const _0x182374=_0x1d9699[_0x5b3eb0(0x20f)];return _0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x209)][_0x5b3eb0(0x221)](_0x182374)&&!_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x233)](_0x182374)&&(_0xc1401[_0x5b3eb0(0x22a)]=!0x1),function(_0x4cb3f4,_0x13dfd9,_0x15702e){const _0x520ede=_0x5b3eb0,_0x15ad2b=_0x4cb3f4[_0x520ede(0x204)](_0x520ede(0x235),_0x13dfd9);return _0x4cb3f4[_0x520ede(0x241)](_0x520ede(0x224),!0x0,_0x15ad2b),_0x15ad2b[_0x520ede(0x257)]=function(_0x522f70){const _0x3c7694=_0x520ede,_0x11b93c=this[_0x3c7694(0x23d)](_0x522f70),_0x46e199=document[_0x3c7694(0x21f)](_0x3c7694(0x235));return _0x46e199[_0x3c7694(0x238)][_0x3c7694(0x260)](_0x3c7694(0x213)),_0x46e199[_0x3c7694(0x1ef)](_0x3c7694(0x22a),_0x3c7694(0x211)),_0x46e199[_0x3c7694(0x1ef)](_0x3c7694(0x22f),_0x3c7694(0x211)),_0x46e199[_0x3c7694(0x1ed)]=_0x15702e[_0x3c7694(0x205)],_0x11b93c[_0x3c7694(0x228)]=_0x3c7694(0x244)+_0x46e199[_0x3c7694(0x1f8)]+'',_0x11b93c[_0x3c7694(0x1e1)](_0x3c7694(0x262),()=>{const _0x24df2e=_0x3c7694;_0x11b93c[_0x24df2e(0x238)][_0x24df2e(0x260)](_0x24df2e(0x234));}),_0x11b93c[_0x3c7694(0x1e1)](_0x3c7694(0x255),()=>{const _0x352cf1=_0x3c7694;_0x11b93c[_0x352cf1(0x238)][_0x352cf1(0x214)](_0x352cf1(0x234));}),_0x11b93c;},_0x15ad2b[_0x520ede(0x25e)]=function(_0x5b0569){const _0x1aaa50=_0x520ede;return!(!this[_0x1aaa50(0x208)](_0x1aaa50(0x224))||!_0x5b0569[_0x1aaa50(0x208)](_0x1aaa50(0x224))||this[_0x1aaa50(0x229)](_0x1aaa50(0x1fc))!=_0x5b0569[_0x1aaa50(0x229)](_0x1aaa50(0x1fc)));},_0x15ad2b;}(_0x3d2086,_0xc1401,_0x2e988c);}(_0x2a8397,_0x3c3230,_0x37ede8,_0x2274f3)}),_0x2274f3[_0x439269(0x216)][_0x439269(0x251)](_0x439269(0x264))[_0x439269(0x1f5)]({'model':_0x439269(0x215),'view':_0x588ef1=>function(_0x1f9938,_0x429a64){const _0x2683d8=_0x439269,_0xd4dddd=_0x1f9938[_0x2683d8(0x22c)][_0x2683d8(0x266)](':')[0x2];if(_0xd4dddd===_0x429a64[_0x2683d8(0x20e)])return null;const _0x2afee6=_0x429a64[_0x2683d8(0x242)](_0xd4dddd);if(!_0x2afee6)return{'id':_0xd4dddd,'classes':[]};return{'id':_0xd4dddd,'classes':[_0x2683d8(0x231),_0x2afee6[_0x2683d8(0x222)][_0x2683d8(0x265)]()],'attributes':{'data-session-id':_0xd4dddd},'priority':0x7d0+_0x2afee6[_0x2683d8(0x1f0)]};}(_0x588ef1,_0x37ede8)}),function(_0x14d766){const _0x294789=_0x439269,_0xa954bd=_0x14d766[_0x294789(0x1e4)],_0x300ccb=new Map(),_0x14dd27=_0x14d766[_0x294789(0x227)][_0x294789(0x249)](_0x135bbf);_0xa954bd[_0x294789(0x1dd)]['on'](_0x294789(0x22d),(_0x52afd4,_0x5843de,_0x52ecf2,_0x197535)=>{const _0x2fa275=_0x294789;if(!_0x197535&&_0x300ccb[_0x2fa275(0x249)](_0x5843de[_0x2fa275(0x205)]))return _0x300ccb[_0x2fa275(0x249)](_0x5843de[_0x2fa275(0x205)])[_0x2fa275(0x220)](),void _0x300ccb[_0x2fa275(0x1e0)](_0x5843de[_0x2fa275(0x205)]);const _0x10e0dd=_0x5843de[_0x2fa275(0x205)][_0x2fa275(0x266)](':')[0x2];if(_0x10e0dd===_0x14dd27[_0x2fa275(0x20e)])return;const _0x4f44c1=_0x2fa275(0x261)+_0x10e0dd;_0xa954bd[_0x2fa275(0x1dd)][_0x2fa275(0x1df)](_0x4f44c1)&&_0x14d766[_0x2fa275(0x25c)][_0x2fa275(0x206)](_0x4f44c1),_0x5843de['on'](_0x2fa275(0x1f2),(_0x30ee39,_0x1cca55,_0x3dd552)=>{const _0x4bd617=_0x2fa275;if(_0x4bd617(0x258)!=_0x1cca55[_0x4bd617(0x20d)][_0x4bd617(0x1ec)]&&_0x4bd617(0x258)==_0x5843de[_0x4bd617(0x21e)]()[_0x4bd617(0x20d)][_0x4bd617(0x1ec)]&&!_0x300ccb[_0x4bd617(0x1df)](_0x5843de[_0x4bd617(0x205)])){const _0x3f4f33=_0xa954bd[_0x4bd617(0x209)][_0x4bd617(0x202)](_0x3dd552[_0x4bd617(0x1ee)]);if(_0x3f4f33){const _0x506049=_0x141b0e[_0x4bd617(0x226)](_0x3f4f33);_0x300ccb[_0x4bd617(0x250)](_0x5843de[_0x4bd617(0x205)],_0x506049),_0x506049['on'](_0x4bd617(0x1f2),(_0x1ba539,_0x1326a9,_0x5ab7da)=>{const _0x1b5c23=_0x4bd617;if(_0x1b5c23(0x258)==_0x506049[_0x1b5c23(0x20d)][_0x1b5c23(0x1ec)]){const _0x1ff00e=_0xa954bd[_0x1b5c23(0x209)][_0x1b5c23(0x202)](_0x5ab7da[_0x1b5c23(0x1ee)]);_0x1ff00e?(_0x506049[_0x1b5c23(0x24e)]=_0x1ff00e[_0x1b5c23(0x24e)],_0x506049[_0x1b5c23(0x1ea)]=_0x1ff00e[_0x1b5c23(0x1ea)]):(_0x300ccb[_0x1b5c23(0x1e0)](_0x5843de[_0x1b5c23(0x205)]),_0x506049[_0x1b5c23(0x220)]());}});}}});}),_0xa954bd[_0x294789(0x22e)]['on'](_0x294789(0x240),()=>{const _0x21d95a=_0x294789;_0x300ccb[_0x21d95a(0x24c)]>0x0&&_0xa954bd[_0x21d95a(0x237)]({'isUndoable':!0x1},_0x149150=>{const _0x3d2638=_0x21d95a;for(const [_0x3c6843,_0x433bae]of _0x300ccb)_0x3d2638(0x258)==_0xa954bd[_0x3d2638(0x1dd)][_0x3d2638(0x249)](_0x3c6843)[_0x3d2638(0x21e)]()[_0x3d2638(0x20d)][_0x3d2638(0x1ec)]&&(re(_0x3c6843[_0x3d2638(0x266)](':')[0x2],_0x433bae[_0x3d2638(0x247)](),_0xa954bd,_0x149150),_0x433bae[_0x3d2638(0x220)]());_0x300ccb[_0x3d2638(0x259)]();});});}(_0x2274f3),this[_0x439269(0x225)][_0x439269(0x21a)](_0x4dc17b[_0x439269(0x22e)],_0x439269(0x1f1),(_0x188ee3,{key:_0x16c8f1})=>{const _0x4c1ccc=_0x439269;_0x4c1ccc(0x23f)===_0x16c8f1&&function(_0x1a2eae){const _0x387de4=_0x4c1ccc;_0x1a2eae[_0x387de4(0x25c)][_0x387de4(0x21c)][_0x387de4(0x240)](_0x4eceea=>{const _0x178d9d=_0x387de4;for(const _0xaea8e4 of _0x1a2eae[_0x178d9d(0x1e4)][_0x178d9d(0x1dd)]){if(!_0xaea8e4[_0x178d9d(0x205)][_0x178d9d(0x24a)](_0x178d9d(0x203)))continue;const _0x45430b=_0x1a2eae[_0x178d9d(0x25c)][_0x178d9d(0x22b)][_0x178d9d(0x223)](_0xaea8e4[_0x178d9d(0x205)]);if(_0x45430b){for(const _0x3d7f67 of _0x45430b)_0x4eceea[_0x178d9d(0x236)](_0x178d9d(0x234),_0x3d7f67);}}});}(_0x2274f3);},{'useCapture':!0x0});}[_0x41287e(0x1e9)](){const _0x406fb5=_0x41287e,_0x21997d=this[_0x406fb5(0x256)],_0x43b55a=_0x21997d[_0x406fb5(0x1fe)][_0x406fb5(0x249)](_0x406fb5(0x21b));_0x43b55a&&_0x21997d[_0x406fb5(0x1e4)]['on'](_0x406fb5(0x25f),(_0x56cff1,_0x3182e0)=>{const _0x1f601e=_0x406fb5,_0x26bee2=_0x3182e0[0x0];if(!_0x26bee2[_0x1f601e(0x200)])return;if(_0x1f601e(0x24b)!=_0x26bee2[_0x1f601e(0x212)]||!_0x26bee2[_0x1f601e(0x205)][_0x1f601e(0x24a)](_0x1f601e(0x1e8)))return;const _0x5b9de1=_0x26bee2[_0x1f601e(0x246)];_0x43b55a[_0x1f601e(0x1fd)][_0x1f601e(0x1df)](_0x5b9de1)&&(_0x26bee2[_0x1f601e(0x24d)]=_0x26bee2[_0x1f601e(0x1eb)]?_0x21997d[_0x1f601e(0x1e4)][_0x1f601e(0x207)](_0x26bee2[_0x1f601e(0x1eb)][_0x1f601e(0x24e)],_0x26bee2[_0x1f601e(0x1eb)][_0x1f601e(0x1ea)]):null);},{'priority':_0x406fb5(0x253)});}[_0x41287e(0x254)](){const _0x888d76=_0x41287e;return this[_0x888d76(0x225)][_0x888d76(0x1dc)](),super[_0x888d76(0x254)]();}[_0x41287e(0x1de)](){const _0x48e0ee=_0x41287e,_0xba6641=this[_0x48e0ee(0x256)],_0x5cbc06=_0xba6641[_0x48e0ee(0x1e4)][_0x48e0ee(0x22e)],_0x8d621=_0xba6641[_0x48e0ee(0x227)][_0x48e0ee(0x249)](_0x135bbf);_0xba6641[_0x48e0ee(0x1e4)][_0x48e0ee(0x237)]({'isUndoable':!0x1},_0x5ee315=>{const _0xc8bdb2=_0x48e0ee,_0x475d42=_0xc8bdb2(0x1e3)+_0x8d621[_0xc8bdb2(0x20e)],_0x264882=_0xc8bdb2(0x261)+_0x8d621[_0xc8bdb2(0x20e)],_0x5f3491=_0xba6641[_0xc8bdb2(0x1e4)][_0xc8bdb2(0x1dd)][_0xc8bdb2(0x1df)](_0x475d42);_0xba6641[_0xc8bdb2(0x25c)][_0xc8bdb2(0x21c)][_0xc8bdb2(0x23e)]?re(_0x8d621[_0xc8bdb2(0x20e)],_0x5cbc06[_0xc8bdb2(0x219)][_0xc8bdb2(0x25d)](),_0xba6641[_0xc8bdb2(0x1e4)],_0x5ee315):_0x5f3491&&(_0x5ee315[_0xc8bdb2(0x243)](_0x475d42),_0x5ee315[_0xc8bdb2(0x243)](_0x264882));});}}function re(_0x1a0f3e,_0x3e9c94,_0x5595f1,_0x247e0f){const _0x413236=_0x41287e,_0x6d9d00=_0x413236(0x1e3)+_0x1a0f3e,_0x5dd103=_0x413236(0x261)+_0x1a0f3e,_0x316b58=_0x3e9c94[_0x413236(0x218)]();let _0x4dc781=_0x3e9c94[_0x413236(0x24e)];if(_0x316b58&&_0x316b58['is'](_0x413236(0x1e7),_0x413236(0x20c))){const _0x1f5bb5=function(_0x1d6747,_0x6a78b8){const _0x25ce25=_0x413236;for(const _0x2d20c2 of _0x1d6747[_0x25ce25(0x1f7)]())if(_0x6a78b8[_0x25ce25(0x209)][_0x25ce25(0x210)](_0x2d20c2,_0x25ce25(0x1e2)))return _0x2d20c2;}(_0x3e9c94,_0x5595f1);_0x1f5bb5&&(_0x4dc781=_0x1f5bb5,_0x3e9c94=_0x247e0f[_0x413236(0x207)](_0x4dc781));}const _0x4f25bb=_0x247e0f[_0x413236(0x207)](_0x4dc781);_0x5595f1[_0x413236(0x1dd)][_0x413236(0x1df)](_0x6d9d00)?(_0x247e0f[_0x413236(0x20a)](_0x6d9d00,{'range':_0x3e9c94}),_0x247e0f[_0x413236(0x20a)](_0x5dd103,{'range':_0x4f25bb})):(_0x247e0f[_0x413236(0x248)](_0x6d9d00,{'range':_0x3e9c94,'usingOperation':!0x0}),_0x247e0f[_0x413236(0x248)](_0x5dd103,{'range':_0x4f25bb,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x167006=_0x4836;function _0x7b09(){const _0x215f23=['_createdBatches','init','get','fromRange','has','editing','getFirstRange','element','$graveyard','document','render','rootName','createUIElement','ck-user__selection','createElement','setAttribute','applyOperation','removeClass','hasContent','6379992AiiXaC','enqueueChange','markerName','root','plugins','remove','toRange','getUserBySessionId','user:range:','add','orderNumber','getAttribute','markerNameToElements','type','reconvertMarker','nodeAfter','isOfficialPlugin','ck-user__marker-tooltip','conversion','delete','textContent','8myMvtr','afterInit','startsWith','spellcheck','toDomElement','getSelectionClass','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','editingDowncast','undo','listenTo','3870obEWYr','isObject','getNearestSelectionRange','contenteditable','highest','clear','marker','isCollapsed','isSimilar','stopListening','deletionPosition','mouseleave','for','pluginName','color','commands','ck-user__marker\x20','54AXMiRe','3956428QCaZfD','classList','selection','parent','checkChild','getMarkerClass','markers','removeMarker','19454830DNzRvQ','innerHTML','split','detach','user:range','Escape','getContainedElement','set','oldRange','mapper','mouseenter','isLimit','false','isPremiumPlugin','getStart','data-session-id','283652ekTXqj','createUserMarkerOperations','3564096ioRONc','addMarker','outerHTML','markerToHighlight','addEventListener','keydown','3LZmQHC','view','ck-user__marker_hovered','markerRange','UserMarkers','change:range','requires','update:user:range','updateMarker','tableCell','userPositionMarker','batch','markerToElement','name','setCustomProperty','editor','mySessionId','start','user:position:','createRange','schema','2987180xOPTaP','_domEmitter','user:position','user:','isInline','model','end','hasDomSelection','getRange','size','getPositions','span','$text','destroy','getCustomProperty','change','newRange','isDocumentOperation'];_0x7b09=function(){return _0x215f23;};return _0x7b09();}(function(_0xb07c7f,_0x30963b){const _0xc06605=_0x4836,_0x1b6326=_0xb07c7f();while(!![]){try{const _0x361a0a=parseInt(_0xc06605(0x19a))/0x1*(-parseInt(_0xc06605(0x189))/0x2)+parseInt(_0xc06605(0x1bb))/0x3*(-parseInt(_0xc06605(0x1b3))/0x4)+-parseInt(_0xc06605(0x145))/0x5+-parseInt(_0xc06605(0x1b5))/0x6+parseInt(_0xc06605(0x19b))/0x7*(parseInt(_0xc06605(0x17f))/0x8)+-parseInt(_0xc06605(0x16a))/0x9+parseInt(_0xc06605(0x1a3))/0xa;if(_0x361a0a===_0x30963b)break;else _0x1b6326['push'](_0x1b6326['shift']());}catch(_0x4f45b3){_0x1b6326['push'](_0x1b6326['shift']());}}}(_0x7b09,0x6a300));import{Plugin as _0x139bde}from'ckeditor5/src/core.js';function _0x4836(_0x39ae34,_0x1d0df6){const _0x7b09f6=_0x7b09();return _0x4836=function(_0x48365b,_0x259e46){_0x48365b=_0x48365b-0x133;let _0x194da4=_0x7b09f6[_0x48365b];return _0x194da4;},_0x4836(_0x39ae34,_0x1d0df6);}import{global as _0x21cef0,DomEmitterMixin as _0x10dd82}from'ckeditor5/src/utils.js';import{Sessions as _0x282d56}from'./sessions.js';import{ModelLiveRange as _0x18fe7e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x139bde{[_0x167006(0x146)]=new(_0x10dd82())();static get[_0x167006(0x136)](){return[_0x282d56];}static get[_0x167006(0x196)](){const _0x3e60f7=_0x167006;return _0x3e60f7(0x134);}static get[_0x167006(0x17a)](){return!0x0;}static get[_0x167006(0x1b0)](){return!0x0;}[_0x167006(0x158)](){const _0x293736=_0x167006,_0xe0e89e=this[_0x293736(0x13f)],_0xb6c644=_0xe0e89e[_0x293736(0x16e)][_0x293736(0x159)](_0x282d56);_0xe0e89e[_0x293736(0x17c)][_0x293736(0x195)](_0x293736(0x186))[_0x293736(0x13c)]({'model':_0x293736(0x147),'view':(_0x2d61ab,{writer:_0x337806})=>function(_0x3eae12,_0x3cdd98,_0x9c3a2d,_0x426174){const _0x39d9a3=_0x293736,_0x5d0bf2=_0x3eae12[_0x39d9a3(0x16c)][_0x39d9a3(0x1a5)](':')[0x2],_0x26539b=_0x9c3a2d[_0x39d9a3(0x171)](_0x5d0bf2);if(!_0x26539b||_0x5d0bf2===_0x9c3a2d[_0x39d9a3(0x140)])return;if(!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)][_0x39d9a3(0x19f)](_0x3eae12[_0x39d9a3(0x133)][_0x39d9a3(0x141)],_0x39d9a3(0x151)))return;const _0x1007c1={'class':_0x39d9a3(0x199)+_0x26539b[_0x39d9a3(0x197)][_0x39d9a3(0x1a0)](),'data-name':_0x26539b[_0x39d9a3(0x13d)],'data-session-id':_0x5d0bf2},_0x45af75=_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x1a1)][_0x39d9a3(0x159)](_0x3eae12[_0x39d9a3(0x16c)]),_0x546788=_0x45af75[_0x39d9a3(0x1b1)](),_0x1e4e15=_0x546788[_0x39d9a3(0x179)],_0x27dcf4=_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)];if(_0x1e4e15&&_0x27dcf4[_0x39d9a3(0x18a)](_0x1e4e15)&&_0x27dcf4[_0x39d9a3(0x149)](_0x1e4e15)&&!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x1a1)][_0x39d9a3(0x159)](_0x39d9a3(0x172)+_0x5d0bf2)[_0x39d9a3(0x14d)]()[_0x39d9a3(0x190)])return;const _0x5cdf05=_0x546788[_0x39d9a3(0x19e)];return _0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)][_0x39d9a3(0x1ae)](_0x5cdf05)&&!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x169)](_0x5cdf05)&&(_0x1007c1[_0x39d9a3(0x18c)]=!0x1),function(_0x109bec,_0x3fd478,_0x56c929){const _0x4ff3e6=_0x39d9a3,_0x39faf4=_0x109bec[_0x4ff3e6(0x163)](_0x4ff3e6(0x150),_0x3fd478);return _0x109bec[_0x4ff3e6(0x13e)](_0x4ff3e6(0x13a),!0x0,_0x39faf4),_0x39faf4[_0x4ff3e6(0x161)]=function(_0x5eafb0){const _0x40b0be=_0x4ff3e6,_0x24ea35=this[_0x40b0be(0x183)](_0x5eafb0),_0xfedb8a=document[_0x40b0be(0x165)](_0x40b0be(0x150));return _0xfedb8a[_0x40b0be(0x19c)][_0x40b0be(0x173)](_0x40b0be(0x17b)),_0xfedb8a[_0x40b0be(0x166)](_0x40b0be(0x18c),_0x40b0be(0x1af)),_0xfedb8a[_0x40b0be(0x166)](_0x40b0be(0x182),_0x40b0be(0x1af)),_0xfedb8a[_0x40b0be(0x17e)]=_0x56c929[_0x40b0be(0x13d)],_0x24ea35[_0x40b0be(0x1a4)]=_0x40b0be(0x185)+_0xfedb8a[_0x40b0be(0x1b7)]+'',_0x24ea35[_0x40b0be(0x1b9)](_0x40b0be(0x1ad),()=>{const _0xc00c33=_0x40b0be;_0x24ea35[_0xc00c33(0x19c)][_0xc00c33(0x173)](_0xc00c33(0x1bd));}),_0x24ea35[_0x40b0be(0x1b9)](_0x40b0be(0x194),()=>{const _0x2ee6f4=_0x40b0be;_0x24ea35[_0x2ee6f4(0x19c)][_0x2ee6f4(0x16f)](_0x2ee6f4(0x1bd));}),_0x24ea35;},_0x39faf4[_0x4ff3e6(0x191)]=function(_0x4d1c92){const _0x392373=_0x4ff3e6;return!(!this[_0x392373(0x153)](_0x392373(0x13a))||!_0x4d1c92[_0x392373(0x153)](_0x392373(0x13a))||this[_0x392373(0x175)](_0x392373(0x1b2))!=_0x4d1c92[_0x392373(0x175)](_0x392373(0x1b2)));},_0x39faf4;}(_0x3cdd98,_0x1007c1,_0x26539b);}(_0x2d61ab,_0x337806,_0xb6c644,_0xe0e89e)}),_0xe0e89e[_0x293736(0x17c)][_0x293736(0x195)](_0x293736(0x186))[_0x293736(0x1b8)]({'model':_0x293736(0x1a7),'view':_0x273106=>function(_0x4a9846,_0x4a6323){const _0x11f2a6=_0x293736,_0x385dcf=_0x4a9846[_0x11f2a6(0x16c)][_0x11f2a6(0x1a5)](':')[0x2];if(_0x385dcf===_0x4a6323[_0x11f2a6(0x140)])return null;const _0x232355=_0x4a6323[_0x11f2a6(0x171)](_0x385dcf);if(!_0x232355)return{'id':_0x385dcf,'classes':[]};return{'id':_0x385dcf,'classes':[_0x11f2a6(0x164),_0x232355[_0x11f2a6(0x197)][_0x11f2a6(0x184)]()],'attributes':{'data-session-id':_0x385dcf},'priority':0x7d0+_0x232355[_0x11f2a6(0x174)]};}(_0x273106,_0xb6c644)}),function(_0x5992ed){const _0x59882d=_0x293736,_0x317b18=_0x5992ed[_0x59882d(0x14a)],_0x279d7c=new Map(),_0x396b86=_0x5992ed[_0x59882d(0x16e)][_0x59882d(0x159)](_0x282d56);_0x317b18[_0x59882d(0x1a1)]['on'](_0x59882d(0x137),(_0x23e405,_0x56a64e,_0x3c0a6e,_0x4c64cf)=>{const _0x3bdd85=_0x59882d;if(!_0x4c64cf&&_0x279d7c[_0x3bdd85(0x159)](_0x56a64e[_0x3bdd85(0x13d)]))return _0x279d7c[_0x3bdd85(0x159)](_0x56a64e[_0x3bdd85(0x13d)])[_0x3bdd85(0x1a6)](),void _0x279d7c[_0x3bdd85(0x17d)](_0x56a64e[_0x3bdd85(0x13d)]);const _0x50b87b=_0x56a64e[_0x3bdd85(0x13d)][_0x3bdd85(0x1a5)](':')[0x2];if(_0x50b87b===_0x396b86[_0x3bdd85(0x140)])return;const _0x769c07=_0x3bdd85(0x142)+_0x50b87b;_0x317b18[_0x3bdd85(0x1a1)][_0x3bdd85(0x15b)](_0x769c07)&&_0x5992ed[_0x3bdd85(0x15c)][_0x3bdd85(0x178)](_0x769c07),_0x56a64e['on'](_0x3bdd85(0x135),(_0x3817c8,_0xcd4d74,_0xcad439)=>{const _0x4b6370=_0x3bdd85;if(_0x4b6370(0x15f)!=_0xcd4d74[_0x4b6370(0x16d)][_0x4b6370(0x162)]&&_0x4b6370(0x15f)==_0x56a64e[_0x4b6370(0x14d)]()[_0x4b6370(0x16d)][_0x4b6370(0x162)]&&!_0x279d7c[_0x4b6370(0x15b)](_0x56a64e[_0x4b6370(0x13d)])){const _0x31b169=_0x317b18[_0x4b6370(0x144)][_0x4b6370(0x18b)](_0xcad439[_0x4b6370(0x193)]);if(_0x31b169){const _0x9a528=_0x18fe7e[_0x4b6370(0x15a)](_0x31b169);_0x279d7c[_0x4b6370(0x1aa)](_0x56a64e[_0x4b6370(0x13d)],_0x9a528),_0x9a528['on'](_0x4b6370(0x135),(_0x38d5e9,_0xbde633,_0x17eb53)=>{const _0x511044=_0x4b6370;if(_0x511044(0x15f)==_0x9a528[_0x511044(0x16d)][_0x511044(0x162)]){const _0x1bb8bf=_0x317b18[_0x511044(0x144)][_0x511044(0x18b)](_0x17eb53[_0x511044(0x193)]);_0x1bb8bf?(_0x9a528[_0x511044(0x141)]=_0x1bb8bf[_0x511044(0x141)],_0x9a528[_0x511044(0x14b)]=_0x1bb8bf[_0x511044(0x14b)]):(_0x279d7c[_0x511044(0x17d)](_0x56a64e[_0x511044(0x13d)]),_0x9a528[_0x511044(0x1a6)]());}});}}});}),_0x317b18[_0x59882d(0x160)]['on'](_0x59882d(0x154),()=>{const _0x3c87a7=_0x59882d;_0x279d7c[_0x3c87a7(0x14e)]>0x0&&_0x317b18[_0x3c87a7(0x16b)]({'isUndoable':!0x1},_0x2a84c1=>{const _0x1d071d=_0x3c87a7;for(const [_0x5e0613,_0x26e500]of _0x279d7c)_0x1d071d(0x15f)==_0x317b18[_0x1d071d(0x1a1)][_0x1d071d(0x159)](_0x5e0613)[_0x1d071d(0x14d)]()[_0x1d071d(0x16d)][_0x1d071d(0x162)]&&(J(_0x5e0613[_0x1d071d(0x1a5)](':')[0x2],_0x26e500[_0x1d071d(0x170)](),_0x317b18,_0x2a84c1),_0x26e500[_0x1d071d(0x1a6)]());_0x279d7c[_0x1d071d(0x18e)]();});});}(_0xe0e89e),this[_0x293736(0x146)][_0x293736(0x188)](_0x21cef0[_0x293736(0x160)],_0x293736(0x1ba),(_0x2e2349,{key:_0x3b8062})=>{const _0x47ddb2=_0x293736;_0x47ddb2(0x1a8)===_0x3b8062&&function(_0x1ebf3b){const _0x58b424=_0x47ddb2;_0x1ebf3b[_0x58b424(0x15c)][_0x58b424(0x1bc)][_0x58b424(0x154)](_0x1f14db=>{const _0xd0d288=_0x58b424;for(const _0x134e3c of _0x1ebf3b[_0xd0d288(0x14a)][_0xd0d288(0x1a1)]){if(!_0x134e3c[_0xd0d288(0x13d)][_0xd0d288(0x181)](_0xd0d288(0x147)))continue;const _0x48e0d8=_0x1ebf3b[_0xd0d288(0x15c)][_0xd0d288(0x1ac)][_0xd0d288(0x176)](_0x134e3c[_0xd0d288(0x13d)]);if(_0x48e0d8){for(const _0x6c3a94 of _0x48e0d8)_0x1f14db[_0xd0d288(0x168)](_0xd0d288(0x1bd),_0x6c3a94);}}});}(_0xe0e89e);},{'useCapture':!0x0});}[_0x167006(0x180)](){const _0xf39126=_0x167006,_0x30cf25=this[_0xf39126(0x13f)],_0x2c05ea=_0x30cf25[_0xf39126(0x198)][_0xf39126(0x159)](_0xf39126(0x187));_0x2c05ea&&_0x30cf25[_0xf39126(0x14a)]['on'](_0xf39126(0x167),(_0xba6392,_0x41b382)=>{const _0x47e846=_0xf39126,_0x25fd88=_0x41b382[0x0];if(!_0x25fd88[_0x47e846(0x156)])return;if(_0x47e846(0x18f)!=_0x25fd88[_0x47e846(0x177)]||!_0x25fd88[_0x47e846(0x13d)][_0x47e846(0x181)](_0x47e846(0x148)))return;const _0x1aa98d=_0x25fd88[_0x47e846(0x13b)];_0x2c05ea[_0x47e846(0x157)][_0x47e846(0x15b)](_0x1aa98d)&&(_0x25fd88[_0x47e846(0x155)]=_0x25fd88[_0x47e846(0x1ab)]?_0x30cf25[_0x47e846(0x14a)][_0x47e846(0x143)](_0x25fd88[_0x47e846(0x1ab)][_0x47e846(0x141)],_0x25fd88[_0x47e846(0x1ab)][_0x47e846(0x14b)]):null);},{'priority':_0xf39126(0x18d)});}[_0x167006(0x152)](){const _0x46c0dc=_0x167006;return this[_0x46c0dc(0x146)][_0x46c0dc(0x192)](),super[_0x46c0dc(0x152)]();}[_0x167006(0x1b4)](){const _0x40b432=_0x167006,_0x1bae73=this[_0x40b432(0x13f)],_0x2e08dd=_0x1bae73[_0x40b432(0x14a)][_0x40b432(0x160)],_0x1f83fa=_0x1bae73[_0x40b432(0x16e)][_0x40b432(0x159)](_0x282d56);_0x1bae73[_0x40b432(0x14a)][_0x40b432(0x16b)]({'isUndoable':!0x1},_0x46b65c=>{const _0x38e69c=_0x40b432,_0x1df3b1=_0x38e69c(0x172)+_0x1f83fa[_0x38e69c(0x140)],_0x31a0d3=_0x38e69c(0x142)+_0x1f83fa[_0x38e69c(0x140)],_0x370396=_0x1bae73[_0x38e69c(0x14a)][_0x38e69c(0x1a1)][_0x38e69c(0x15b)](_0x1df3b1);_0x1bae73[_0x38e69c(0x15c)][_0x38e69c(0x1bc)][_0x38e69c(0x14c)]?J(_0x1f83fa[_0x38e69c(0x140)],_0x2e08dd[_0x38e69c(0x19d)][_0x38e69c(0x15d)](),_0x1bae73[_0x38e69c(0x14a)],_0x46b65c):_0x370396&&(_0x46b65c[_0x38e69c(0x1a2)](_0x1df3b1),_0x46b65c[_0x38e69c(0x1a2)](_0x31a0d3));});}}function J(_0x2ba78b,_0x51ea66,_0x4f1538,_0x469325){const _0x1926eb=_0x167006,_0x1792a1=_0x1926eb(0x172)+_0x2ba78b,_0x282e42=_0x1926eb(0x142)+_0x2ba78b,_0x47b73d=_0x51ea66[_0x1926eb(0x1a9)]();let _0x43c6a5=_0x51ea66[_0x1926eb(0x141)];if(_0x47b73d&&_0x47b73d['is'](_0x1926eb(0x15e),_0x1926eb(0x139))){const _0x3a7d31=function(_0x513725,_0x2bb1f0){const _0x1e81bf=_0x1926eb;for(const _0xd670b3 of _0x513725[_0x1e81bf(0x14f)]())if(_0x2bb1f0[_0x1e81bf(0x144)][_0x1e81bf(0x19f)](_0xd670b3,_0x1e81bf(0x151)))return _0xd670b3;}(_0x51ea66,_0x4f1538);_0x3a7d31&&(_0x43c6a5=_0x3a7d31,_0x51ea66=_0x469325[_0x1926eb(0x143)](_0x43c6a5));}const _0x2fb8b5=_0x469325[_0x1926eb(0x143)](_0x43c6a5);_0x4f1538[_0x1926eb(0x1a1)][_0x1926eb(0x15b)](_0x1792a1)?(_0x469325[_0x1926eb(0x138)](_0x1792a1,{'range':_0x51ea66}),_0x469325[_0x1926eb(0x138)](_0x282e42,{'range':_0x2fb8b5})):(_0x469325[_0x1926eb(0x1b6)](_0x1792a1,{'range':_0x51ea66,'usingOperation':!0x0}),_0x469325[_0x1926eb(0x1b6)](_0x282e42,{'range':_0x2fb8b5,'usingOperation':!0x0}));}
|