@ckeditor/ckeditor5-real-time-collaboration 47.7.2 → 47.7.3
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 +2 -2
- 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 +15 -15
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d55ce=_0x3532;(function(_0x18b90c,_0x30d318){const _0x304a50=_0x3532,_0x2c2ea8=_0x18b90c();while(!![]){try{const _0x5b5352=parseInt(_0x304a50(0xa5))/0x1*(parseInt(_0x304a50(0xa3))/0x2)+parseInt(_0x304a50(0xa8))/0x3*(-parseInt(_0x304a50(0x8f))/0x4)+parseInt(_0x304a50(0xa0))/0x5*(-parseInt(_0x304a50(0xad))/0x6)+-parseInt(_0x304a50(0x8b))/0x7*(-parseInt(_0x304a50(0xaf))/0x8)+-parseInt(_0x304a50(0xb3))/0x9*(-parseInt(_0x304a50(0x95))/0xa)+parseInt(_0x304a50(0xa1))/0xb*(parseInt(_0x304a50(0x8a))/0xc)+parseInt(_0x304a50(0x98))/0xd*(parseInt(_0x304a50(0xa2))/0xe);if(_0x5b5352===_0x30d318)break;else _0x2c2ea8['push'](_0x2c2ea8['shift']());}catch(_0x4e6f0a){_0x2c2ea8['push'](_0x2c2ea8['shift']());}}}(_0x56cf,0xc007f));import{View as _0x59c9c6}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4db5d0}from'ckeditor5/src/utils.js';import{getTranslation as _0x571bb2}from'../../common-translations.js';export class PresenceInlineListView extends _0x59c9c6{[_0x5d55ce(0x9d)];[_0x5d55ce(0xab)];constructor(_0x568003){const _0x4c9817=_0x5d55ce;super(_0x568003);const _0x5b7026=this[_0x4c9817(0x94)];this[_0x4c9817(0x9d)]=this[_0x4c9817(0x9a)](),this[_0x4c9817(0xab)]=new _0x4db5d0(),this[_0x4c9817(0x8e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4c9817(0xac)]({'tag':_0x4c9817(0x93),'attributes':{'aria-haspopup':_0x5b7026['if'](_0x4c9817(0x90)),'aria-expanded':_0x5b7026['to'](_0x4c9817(0xa7),_0x175115=>this[_0x4c9817(0x90)]&&String(_0x175115)),'aria-label':_0x5b7026['to'](_0x4c9817(0x90),_0x4c84a2=>_0x571bb2(_0x568003,_0x4c84a2?_0x4c9817(0x8c):_0x4c9817(0x9b))),'role':_0x4c9817(0xaa),'tabindex':_0x5b7026['to'](_0x4c9817(0x90),_0x220e6e=>!!_0x220e6e&&0x0),'class':['ck',_0x4c9817(0xa6)]},'children':this[_0x4c9817(0x9d)],'on':{'mouseenter':_0x5b7026['to'](()=>this[_0x4c9817(0xb2)](_0x4c9817(0x92))),'mouseleave':_0x5b7026['to'](_0x50a068=>{const _0x3e4740=_0x4c9817,_0x5dceb3=_0x50a068,_0x3e02b6=document[_0x3e4740(0x9e)](_0x3e4740(0xae)),_0x54a856=document[_0x3e4740(0x9e)](_0x3e4740(0xb0));_0x3e02b6?.[_0x3e4740(0x96)](_0x5dceb3[_0x3e4740(0x9c)])||_0x54a856?.[_0x3e4740(0x96)](_0x5dceb3[_0x3e4740(0x9c)])||this[_0x3e4740(0xb2)](_0x3e4740(0x91));})}}),this['on'](_0x4c9817(0x99),(_0x5a0d0e,_0x6f6907,_0x950204)=>{const _0x5c2584=_0x4c9817;this[_0x5c2584(0xb4)]&&(_0x950204?this[_0x5c2584(0xb4)][_0x5c2584(0x9f)](_0x5c2584(0xb1),String(this[_0x5c2584(0xa7)])):this[_0x5c2584(0xb4)][_0x5c2584(0xa4)](_0x5c2584(0xb1)));});}[_0x5d55ce(0x8d)](){const _0x4ffdec=_0x5d55ce;this[_0x4ffdec(0xb4)][_0x4ffdec(0x8d)]();}[_0x5d55ce(0x97)](){const _0x1bf49d=_0x5d55ce;super[_0x1bf49d(0x97)](),this[_0x1bf49d(0xab)][_0x1bf49d(0xa9)](this[_0x1bf49d(0xb4)]);}}function _0x3532(_0x38b2ed,_0x789119){const _0x56cf7e=_0x56cf();return _0x3532=function(_0x3532f1,_0xd2bcab){_0x3532f1=_0x3532f1-0x8a;let _0xbc5031=_0x56cf7e[_0x3532f1];return _0xbc5031;},_0x3532(_0x38b2ed,_0x789119);}function _0x56cf(){const _0x18a6b9=['presencelist:show','div','bindTemplate','22060hTeAxE','contains','render','143QBdUJK','change:hasPopup','createCollection','Connected\x20users\x20list','relatedTarget','items','querySelector','setAttribute','3514465UfdkNv','13983497ZZBkdo','8666JMiTMD','455494XxthOv','removeAttribute','2XxifTv','ck-presence-list__list','isExpanded','12zjzdWh','listenTo','list','keystrokes','setTemplate','12wAhoTY','.ck-presence-list__dropdown-list','8pxToMu','.ck-balloon-panel_with-arrow','aria-expanded','fire','603zRaJGa','element','12zTMUCG','7268891EXERTX','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','focus','set','727400eEDWPU','hasPopup','presencelist:hide'];_0x56cf=function(){return _0x18a6b9;};return _0x56cf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x452185=_0x604b;(function(_0x2d11da,_0x2e456e){const _0x36cee1=_0x604b,_0x50275e=_0x2d11da();while(!![]){try{const _0xdd5720=-parseInt(_0x36cee1(0xf2))/0x1+-parseInt(_0x36cee1(0xe8))/0x2+parseInt(_0x36cee1(0xeb))/0x3+parseInt(_0x36cee1(0xde))/0x4+parseInt(_0x36cee1(0xee))/0x5+-parseInt(_0x36cee1(0xda))/0x6*(parseInt(_0x36cee1(0xd9))/0x7)+-parseInt(_0x36cee1(0xef))/0x8*(-parseInt(_0x36cee1(0xe4))/0x9);if(_0xdd5720===_0x2e456e)break;else _0x50275e['push'](_0x50275e['shift']());}catch(_0x44535c){_0x50275e['push'](_0x50275e['shift']());}}}(_0x17d1,0xed72b));import{View as _0x4cf365}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x4bd61d}from'./presencecounterview.js';function _0x604b(_0x31f4ae,_0x404b44){const _0x17d10c=_0x17d1();return _0x604b=function(_0x604b4f,_0x14a17f){_0x604b4f=_0x604b4f-0xd8;let _0x36c7c4=_0x17d10c[_0x604b4f];return _0x36c7c4;},_0x604b(_0x31f4ae,_0x404b44);}function _0x17d1(){const _0x22ed9f=['ck-presence-list','157125kPTnMw','ck-reset','ck-rounded-corners','1037225ZcxIbV','54yoUrXM','counterView','inlineListView','tooltipPosition','66536mdNcQx','set','items','change','div','first','3438441SKtmwR','hasPopup','isCollapsed','bind','3743506titaAR','setTemplate','ck-presence-list--collapsed','1758480MBYBVL','listenTo','bindTemplate','5289515aPBCgw','56ToSLnK','locale'];_0x17d1=function(){return _0x22ed9f;};return _0x17d1();}import{PresenceInlineListView as _0x45464b}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4cf365{[_0x452185(0xdb)];[_0x452185(0xdc)];constructor(_0x429b9a,_0x519862=0x6){const _0x390c44=_0x452185;super(_0x429b9a);const _0x1e9464=this[_0x390c44(0xed)];this[_0x390c44(0xdf)](_0x390c44(0xe6),!0x0),this[_0x390c44(0xdb)]=new _0x4bd61d(this[_0x390c44(0xf0)],_0x519862),this[_0x390c44(0xdc)]=new _0x45464b(_0x429b9a),this[_0x390c44(0xdc)][_0x390c44(0xe7)](_0x390c44(0xe5))['to'](this,_0x390c44(0xe6)),this[_0x390c44(0xec)](this[_0x390c44(0xdc)][_0x390c44(0xe0)],_0x390c44(0xe1),()=>{const _0x2a9523=_0x390c44;for(const _0x53a8fe of this[_0x2a9523(0xdc)][_0x2a9523(0xe0)])_0x53a8fe[_0x2a9523(0xdd)]='s';this[_0x2a9523(0xdc)][_0x2a9523(0xe0)][_0x2a9523(0xe3)]&&(this[_0x2a9523(0xdc)][_0x2a9523(0xe0)][_0x2a9523(0xe3)][_0x2a9523(0xdd)]='se');}),this[_0x390c44(0xe9)]({'tag':_0x390c44(0xe2),'attributes':{'class':['ck',_0x390c44(0xf1),_0x390c44(0xf3),_0x390c44(0xd8),_0x1e9464['if'](_0x390c44(0xe6),_0x390c44(0xea))]},'children':[this[_0x390c44(0xdc)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x453233=_0x2eb3;function _0x2eb3(_0x27b7ac,_0x4156d4){var _0x3ebf8a=_0x3ebf();return _0x2eb3=function(_0x2eb30b,_0x23bb5c){_0x2eb30b=_0x2eb30b-0x85;var _0x457407=_0x3ebf8a[_0x2eb30b];return _0x457407;},_0x2eb3(_0x27b7ac,_0x4156d4);}function _0x3ebf(){var _0x1acebb=['95VJSdaz','41091809ZlRALr','1453500yWuPSK','requires','54360BAyuPD','39nLqTCu','21128BRLhIZ','1596PWzezU','PresenceList','isPremiumPlugin','2043dnUgBX','isOfficialPlugin','pluginName','47240rxYIFA','4582500lMOHGD','145918XrEcBC'];_0x3ebf=function(){return _0x1acebb;};return _0x3ebf();}(function(_0x43c784,_0x32ef8e){var _0x49597b=_0x2eb3,_0x4fb131=_0x43c784();while(!![]){try{var _0x4ab343=-parseInt(_0x49597b(0x90))/0x1+parseInt(_0x49597b(0x8d))/0x2*(-parseInt(_0x49597b(0x93))/0x3)+parseInt(_0x49597b(0x94))/0x4*(-parseInt(_0x49597b(0x8e))/0x5)+-parseInt(_0x49597b(0x8c))/0x6+-parseInt(_0x49597b(0x85))/0x7*(-parseInt(_0x49597b(0x92))/0x8)+-parseInt(_0x49597b(0x88))/0x9*(parseInt(_0x49597b(0x8b))/0xa)+parseInt(_0x49597b(0x8f))/0xb;if(_0x4ab343===_0x32ef8e)break;else _0x4fb131['push'](_0x4fb131['shift']());}catch(_0x304963){_0x4fb131['push'](_0x4fb131['shift']());}}}(_0x3ebf,0xe7118));import{ContextPlugin as _0x2339ee}from'ckeditor5/src/core.js';import{Sessions as _0x5204bf}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x26ac03}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2339ee{static get[_0x453233(0x91)](){return[_0x5204bf,_0x26ac03];}static get[_0x453233(0x8a)](){var _0x55e5e8=_0x453233;return _0x55e5e8(0x86);}static get[_0x453233(0x89)](){return!0x0;}static get[_0x453233(0x87)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x402294)());[_0x60cce1(0x174)];static get[_0x60cce1(0x17c)](){const _0x3f50ec=_0x60cce1;return[_0x1de7da,_0x3f50ec(0x1b9),_0x5c6de0,_0x27e68e];}static get[_0x60cce1(0x179)](){const _0x4bb577=_0x60cce1;return _0x4bb577(0x1b2);}static get[_0x60cce1(0x19a)](){return!0x0;}static get[_0x60cce1(0x1bd)](){return!0x0;}constructor(_0xb33644){const _0x311adb=_0x60cce1;super(_0xb33644),this[_0x311adb(0x174)]=new Map();}async[_0x60cce1(0x1b6)](){const _0x52fe8b=_0x60cce1,_0x537170=this[_0x52fe8b(0x18e)],_0x5a46c8=_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x52fe8b(0x1b9));if(_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x1de7da)[_0x52fe8b(0x1ab)](this),_0x5a46c8[_0x52fe8b(0x18b)]={'addCommentThread':async({channelId:_0x3b8d4d,threadId:_0x54721d,comments:_0x5c94b3,resolvedAt:_0x40c680,resolvedBy:_0x2ead37,context:_0x3b73a8,attributes:_0x2a425f})=>{const _0x5a7f5d=_0x52fe8b,_0x2d7073=await this[_0x5a7f5d(0x167)](_0x3b8d4d)[_0x5a7f5d(0x1bc)]({'commentThreadId':_0x54721d,'comments':_0x5c94b3[_0x5a7f5d(0x1a4)](_0x498fc9=>function(_0x4e0cf6,_0x1ae70f,_0x3a7d47){const _0x3cc19b=_0x5a7f5d;return{'commentThreadId':_0x3a7d47,'commentId':_0x4e0cf6[_0x3cc19b(0x15b)],'userId':_0x4e0cf6[_0x3cc19b(0x15f)],'content':_0x4e0cf6[_0x3cc19b(0x166)],'documentId':_0x1ae70f,'createdAt':_0x4e0cf6[_0x3cc19b(0x163)],'attributes':_0x4e0cf6[_0x3cc19b(0x1bf)]||{}};}(_0x498fc9,_0x3b8d4d,_0x54721d)),'resolvedAt':_0x40c680,'resolvedBy':_0x2ead37,'context':_0x3b73a8,'attributes':_0x2a425f})[_0x5a7f5d(0x183)](et);return{'threadId':_0x2d7073[_0x5a7f5d(0x1ad)],'comments':_0x2d7073[_0x5a7f5d(0x1bb)]};},'getCommentThread':async({channelId:_0x45a286,threadId:_0x59499b})=>{const _0x22038e=_0x52fe8b,_0x4ee532=await this[_0x22038e(0x167)](_0x45a286)[_0x22038e(0x197)](_0x59499b)[_0x22038e(0x183)](tt)[_0x22038e(0x183)](et);return _0x4ee532?_0x4ee532[_0x22038e(0x19b)]?null:(await this[_0x22038e(0x196)]([_0x4ee532]),{'threadId':_0x4ee532[_0x22038e(0x1ad)],'comments':_0x4ee532[_0x22038e(0x1bb)][_0x22038e(0x1a4)](ot),'context':_0x4ee532[_0x22038e(0x18e)],'resolvedAt':_0x4ee532[_0x22038e(0x1a8)],'resolvedBy':_0x4ee532[_0x22038e(0x191)],'attributes':_0x4ee532[_0x22038e(0x1bf)]||{}}):null;},'updateCommentThread':async({channelId:_0x3eb465,threadId:_0x2d616d,context:_0x59439e,unlinkedAt:_0x39ad1b,attributes:_0x4ac278})=>this[_0x52fe8b(0x167)](_0x3eb465)[_0x52fe8b(0x19f)]({'commentThreadId':_0x2d616d,'context':_0x59439e,'attributes':_0x4ac278,'unlinkedAt':_0x39ad1b})[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'resolveCommentThread':async({channelId:_0x4ff9af,threadId:_0x394f78})=>{const _0x534bfa=_0x52fe8b,_0x5b6362=await this[_0x534bfa(0x167)](_0x4ff9af)[_0x534bfa(0x17f)](_0x394f78)[_0x534bfa(0x183)](tt)[_0x534bfa(0x183)](et);return{'threadId':_0x5b6362[_0x534bfa(0x1ad)],'resolvedAt':_0x5b6362[_0x534bfa(0x1a8)],'resolvedBy':_0x5b6362[_0x534bfa(0x191)]};},'reopenCommentThread':async({channelId:_0x1b29c0,threadId:_0x51e11a})=>this[_0x52fe8b(0x167)](_0x1b29c0)[_0x52fe8b(0x18a)](_0x51e11a)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'removeCommentThread':({channelId:_0x2e6bc0,threadId:_0x132a60})=>this[_0x52fe8b(0x167)](_0x2e6bc0)[_0x52fe8b(0x164)](_0x132a60)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'addComment':({channelId:_0x52c440,threadId:_0x2672e1,commentId:_0x1be5e7,content:_0x53b712,attributes:_0x5a0a6c})=>this[_0x52fe8b(0x167)](_0x52c440)[_0x52fe8b(0x177)](_0x2672e1,_0x1be5e7,_0x53b712,_0x5a0a6c)[_0x52fe8b(0x183)](et),'updateComment':({channelId:_0x5602f3,threadId:_0x40e987,commentId:_0x2691fa,content:_0xfabfb5,attributes:_0x4bce0d})=>this[_0x52fe8b(0x167)](_0x5602f3)[_0x52fe8b(0x162)](_0x40e987,_0x2691fa,_0xfabfb5,_0x4bce0d)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'removeComment':({channelId:_0x436f34,threadId:_0x5e47cd,commentId:_0x5589be})=>this[_0x52fe8b(0x167)](_0x436f34)[_0x52fe8b(0x1aa)](_0x5e47cd,_0x5589be)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et)},_0x537170 instanceof _0xbc0092){const _0x4a80ee=_0x537170[_0x52fe8b(0x1a9)][_0x52fe8b(0x15d)](_0x52fe8b(0x1ae)),_0x51069f=_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x5c6de0);await this[_0x52fe8b(0x190)](_0x4a80ee);const _0x4bb70f=await this[_0x52fe8b(0x174)][_0x52fe8b(0x15d)](_0x4a80ee)[_0x52fe8b(0x15e)]();this[_0x52fe8b(0x1a1)](_0x51069f,_0x52fe8b(0x171)+_0x4a80ee,(_0x3d489a,{session:_0x67bb10})=>{const _0x27388f=_0x52fe8b;_0x67bb10['id']===_0x51069f[_0x27388f(0x178)]&&(_0x3d489a[_0x27388f(0x16f)](),this[_0x27388f(0x18e)][_0x27388f(0x188)][_0x27388f(0x15d)](_0x27388f(0x1a6))[_0x27388f(0x17d)](_0x67bb10[_0x27388f(0x181)],_0x4a80ee));}),_0x51069f[_0x52fe8b(0x192)](_0x4a80ee,_0x4bb70f);}}async[_0x60cce1(0x190)](_0x139015){const _0x45c0ec=_0x60cce1;if(this[_0x45c0ec(0x174)][_0x45c0ec(0x195)](_0x139015))throw new _0x5b9be7(_0x45c0ec(0x180),null,{'channelId':_0x139015});const _0x33c123=this[_0x45c0ec(0x18e)][_0x45c0ec(0x188)][_0x45c0ec(0x15d)](_0x45c0ec(0x1b9)),_0xd318f6=new CloudServicesCommentsAdapter[(_0x45c0ec(0x16c))](_0x139015);this[_0x45c0ec(0x174)][_0x45c0ec(0x160)](_0x139015,_0xd318f6),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x172),(_0x210e45,_0x425f50)=>{const _0x2223df=_0x45c0ec,{commentThreadId:_0x308196,documentId:_0x491ab5,context:_0x1b5815,attributes:_0xe2e589,resolvedAt:_0x19b6ee,resolvedBy:_0xe63f04,comments:_0x148b03}=_0x425f50;_0x33c123[_0x2223df(0x197)](_0x308196)||_0x33c123[_0x2223df(0x1bc)]({'threadId':_0x308196,'channelId':_0x491ab5,'comments':_0x148b03?_0x148b03[_0x2223df(0x1a4)](ot):[],'context':_0x1b5815,'attributes':_0xe2e589,'resolvedAt':_0x19b6ee,'resolvedBy':_0xe63f04,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x193),(_0x3a41e5,{commentThreadId:_0x39b9dc,documentId:_0xbc341b,context:_0x2b1eea,unlinkedAt:_0x2eda24,attributes:_0x335b56})=>{const _0x4d7ed8=_0x45c0ec;_0x33c123[_0x4d7ed8(0x197)](_0x39b9dc)&&_0x33c123[_0x4d7ed8(0x19f)]({'threadId':_0x39b9dc,'channelId':_0xbc341b,'context':_0x2b1eea,'unlinkedAt':_0x2eda24,'attributes':_0x335b56,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x199),(_0x362cc2,{commentThreadId:_0x235e12,resolvedBy:_0x494618,resolvedAt:_0x4567ee})=>{const _0x310b64=_0x45c0ec,_0x1d7ceb=_0x33c123[_0x310b64(0x197)](_0x235e12);_0x1d7ceb&&_0x1d7ceb[_0x310b64(0x169)]({'resolvedBy':_0x494618,'resolvedAt':_0x4567ee,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x170),(_0x4f9e69,{commentThreadId:_0x345f0b})=>{const _0x248e58=_0x45c0ec,_0x711194=_0x33c123[_0x248e58(0x197)](_0x345f0b);_0x711194&&_0x711194[_0x248e58(0x173)]({'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x16d),(_0x27ce76,{commentThreadId:_0x4a9c60})=>{const _0x1a95c8=_0x45c0ec,_0x13fac4=_0x33c123[_0x1a95c8(0x197)](_0x4a9c60);_0x13fac4&&_0x13fac4[_0x1a95c8(0x1b8)]({'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x1b0),(_0x13df0c,_0x355f33)=>{const _0x31399b=_0x45c0ec,_0xe5108a=_0x355f33[_0x31399b(0x1ad)],_0x9ab116=_0x33c123[_0x31399b(0x197)](_0xe5108a);_0x9ab116&&_0x9ab116[_0x31399b(0x177)]({...ot(_0x355f33),'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x185),(_0x6bc605,{commentThreadId:_0x1f544d,commentId:_0x595dda,content:_0x5f588f,attributes:_0x56a984})=>{const _0x5fc66a=_0x45c0ec,_0x368dd5=_0x33c123[_0x5fc66a(0x197)](_0x1f544d);if(_0x368dd5){const _0x18c717=_0x368dd5[_0x5fc66a(0x16b)](_0x595dda);_0x18c717&&_0x18c717[_0x5fc66a(0x1a5)]({'content':_0x5f588f,'attributes':_0x56a984,'isFromAdapter':!0x0});}}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x175),(_0x4f8dc0,{commentThreadId:_0x4588ae,commentId:_0x4bd26a})=>{const _0x13bf71=_0x45c0ec,_0x4a657d=_0x33c123[_0x13bf71(0x197)](_0x4588ae);if(_0x4a657d){const _0x3c97bb=_0x4a657d[_0x13bf71(0x16b)](_0x4bd26a);_0x3c97bb&&_0x3c97bb[_0x13bf71(0x1b8)]({'isFromAdapter':!0x0});}}),await this[_0x45c0ec(0x184)](_0x139015);}[_0x60cce1(0x1b4)](){const _0x136bd1=_0x60cce1;if(this[_0x136bd1(0x18e)]instanceof _0xbc0092){const _0x3fa9a9=this[_0x136bd1(0x18e)][_0x136bd1(0x1a9)][_0x136bd1(0x15d)](_0x136bd1(0x1ae));this[_0x136bd1(0x17b)](_0x3fa9a9);}}[_0x60cce1(0x17b)](_0x62065a){const _0x42b6c4=_0x60cce1;if(!this[_0x42b6c4(0x174)][_0x42b6c4(0x195)](_0x62065a))throw new _0x5b9be7(_0x42b6c4(0x1a3),null,{'channelId':_0x62065a});this[_0x42b6c4(0x167)](_0x62065a)[_0x42b6c4(0x176)](),this[_0x42b6c4(0x174)][_0x42b6c4(0x19d)](_0x62065a);}async[_0x60cce1(0x18f)](){const _0x485456=_0x60cce1;for(const _0x94af45 of this[_0x485456(0x174)][_0x485456(0x16a)]())await this[_0x485456(0x184)](_0x94af45);if(this[_0x485456(0x18e)]instanceof _0xbc0092){const _0x3e1258=this[_0x485456(0x18e)][_0x485456(0x1a9)][_0x485456(0x15d)](_0x485456(0x1ae)),_0xe9e43=this[_0x485456(0x18e)][_0x485456(0x188)][_0x485456(0x15d)](_0x5c6de0);_0xe9e43[_0x485456(0x16e)](_0x3e1258);const _0xd58772=await this[_0x485456(0x174)][_0x485456(0x15d)](_0x3e1258)[_0x485456(0x15e)]();_0xe9e43[_0x485456(0x192)](_0x3e1258,_0xd58772);}}async[_0x60cce1(0x184)](_0x335b35){const _0x504517=_0x60cce1,{connection:_0x137309}=this[_0x504517(0x18e)][_0x504517(0x188)][_0x504517(0x15d)](_0x1de7da),_0x283491=this[_0x504517(0x18e)][_0x504517(0x188)][_0x504517(0x15d)](_0x504517(0x1b9)),_0x3c0557=this[_0x504517(0x174)][_0x504517(0x15d)](_0x335b35),_0x30bfd1=await _0x3c0557[_0x504517(0x19c)](_0x137309);await this[_0x504517(0x196)](_0x30bfd1);const _0x5f256a=new Set(Array[_0x504517(0x187)](_0x283491[_0x504517(0x1be)]({'channelId':_0x335b35}),_0x54c1c2=>_0x54c1c2['id']));for(const _0x276b87 of _0x30bfd1)_0x276b87[_0x504517(0x19b)]||_0x5f256a[_0x504517(0x19d)](_0x276b87[_0x504517(0x1ad)]);for(const _0x2d0a67 of _0x5f256a)_0x283491[_0x504517(0x197)](_0x2d0a67)[_0x504517(0x1b8)]({'isFromAdapter':!0x0});for(const _0x14a6e1 of _0x30bfd1){let _0x42aa84=_0x283491[_0x504517(0x197)](_0x14a6e1[_0x504517(0x1ad)]);const {commentThreadId:_0x4adcc8,context:_0xf530b1,attributes:_0x1815f8,resolvedBy:_0xc3afbe,resolvedAt:_0x440931,unlinkedAt:_0x469579,deletedAt:_0xcf9038}=_0x14a6e1;if(_0xcf9038)continue;_0x42aa84||(_0x42aa84=_0x283491[_0x504517(0x1bc)]({'channelId':_0x335b35,'threadId':_0x4adcc8,'context':_0xf530b1,'attributes':_0x1815f8||{},'resolvedBy':_0xc3afbe,'resolvedAt':_0x440931,'unlinkedAt':_0x469579,'isFromAdapter':!0x0}));const _0x33f2c8=new Set(Array[_0x504517(0x187)](_0x42aa84[_0x504517(0x1bb)],_0x700294=>_0x700294['id']));for(const _0x30fce9 of _0x14a6e1[_0x504517(0x1bb)])_0x33f2c8[_0x504517(0x19d)](_0x30fce9[_0x504517(0x15b)]);for(const _0x208f8f of _0x33f2c8)_0x42aa84[_0x504517(0x16b)](_0x208f8f)[_0x504517(0x1b8)]({'isFromAdapter':!0x0});for(const _0x1843b5 of _0x14a6e1[_0x504517(0x1bb)]){const _0x3e8887=_0x42aa84[_0x504517(0x16b)](_0x1843b5[_0x504517(0x15b)]);_0x3e8887?_0x3e8887[_0x504517(0x166)]!==_0x1843b5[_0x504517(0x166)]&&_0x3e8887[_0x504517(0x1a5)]({'content':_0x1843b5[_0x504517(0x166)],'isFromAdapter':!0x0}):_0x42aa84[_0x504517(0x177)](Object[_0x504517(0x186)](ot(_0x1843b5),{'isFromAdapter':!0x0}));}}}[_0x60cce1(0x167)](_0x3dfa2b){const _0xfc42cd=_0x60cce1;if(!this[_0xfc42cd(0x174)][_0xfc42cd(0x195)](_0x3dfa2b))throw new _0x5b9be7(_0xfc42cd(0x165),null,{'channelId':_0x3dfa2b});return this[_0xfc42cd(0x174)][_0xfc42cd(0x15d)](_0x3dfa2b);}async[_0x60cce1(0x196)](_0x46ad63){const _0x910764=_0x60cce1,_0x525265=this[_0x910764(0x18e)][_0x910764(0x188)][_0x910764(0x15d)](_0x27e68e),{connection:_0x45b6a5}=this[_0x910764(0x18e)][_0x910764(0x188)][_0x910764(0x15d)](_0x1de7da),_0x5a7a9d=new Set();for(const {resolvedBy:_0x2cc6fa,comments:_0x530706}of _0x46ad63){_0x2cc6fa&&!_0x525265[_0x910764(0x1ac)](_0x2cc6fa)&&_0x5a7a9d[_0x910764(0x1b1)](_0x2cc6fa);for(const {userId:_0x33c0d2}of _0x530706)_0x525265[_0x910764(0x1ac)](_0x33c0d2)||_0x5a7a9d[_0x910764(0x1b1)](_0x33c0d2);}if(0x0===_0x5a7a9d[_0x910764(0x1af)])return;const _0x126982=await _0x1f4193[_0x910764(0x17a)](_0x45b6a5,Array[_0x910764(0x187)](_0x5a7a9d));for(const _0x33c83c of _0x126982)_0x525265[_0x910764(0x1ac)](_0x33c83c['id'])||_0x525265[_0x910764(0x1a0)](_0x33c83c);}}async function tt(_0x22eaa3){const _0x3a07d7=_0x60cce1;if(_0x3a07d7(0x1b5)!==_0x22eaa3[_0x3a07d7(0x1b3)])throw _0x22eaa3;}function _0x1283(){const _0x3921ec=['remove','CommentsRepository','cloud-services-internal-error:\x20Not\x20connected.','comments','addCommentThread','isPremiumPlugin','getCommentThreads','attributes','commentId','566204taQJyz','get','getConnectedSessions','authorId','set','1431624ldFlPd','updateComment','createdAt','removeCommentThread','cloudservicescommentsadapter-service-not-exist','content','_getService','18tLngwm','resolve','keys','getComment','CommentsService','commentThreadRemoved','unregister','off','commentThreadReopened','sessionAdd:','commentThreadAdded','reopen','_services','commentRemoved','disconnect','addComment','mySessionId','pluginName','getMany','_terminateService','requires','setPermissions','5kXWqWF','resolveCommentThread','cloudservicescommentsadapter-connect-already-connected','permissions','803800XLEGYL','catch','_connectService','commentUpdated','assign','from','plugins','startsWith','reopenCommentThread','adapter','1502358zNwtby','3310139IGoSCR','context','reconnect','_setUpService','resolvedBy','register','commentThreadUpdated','message','has','_fetchMissingUsersForThreads','getCommentThread','userId','commentThreadResolved','isOfficialPlugin','deletedAt','connect','delete','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','updateCommentThread','addUser','listenTo','220512AqUtsS','cloudservicescommentsadapter-disconnect-not-exist','map','update','Permissions','4181992qgBUpw','resolvedAt','config','removeComment','addToReconnectionStack','getUser','commentThreadId','collaboration.channelId','size','commentAdded','add','CloudServicesCommentsAdapter','code','destroy','404','init','cloud-services-internal-error:\x20Request\x20timeout.'];_0x1283=function(){return _0x3921ec;};return _0x1283();}function et(_0x15073a){const _0x10e482=_0x60cce1;if((_0x157a94=_0x15073a)[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x19e))||_0x157a94[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x1ba))||_0x157a94[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x1b7)))return new Promise(()=>{});var _0x157a94;throw _0x15073a;}function ot(_0x28d196){const _0x436efc=_0x60cce1;return{'threadId':_0x28d196[_0x436efc(0x1ad)],'commentId':_0x28d196[_0x436efc(0x15b)],'content':_0x28d196[_0x436efc(0x166)],'createdAt':_0x28d196[_0x436efc(0x163)],'authorId':_0x28d196[_0x436efc(0x198)],'attributes':_0x28d196[_0x436efc(0x1bf)]||{}};}
|
|
23
|
+
const _0x146b9a=_0x52e6;(function(_0x3aac50,_0x57c269){const _0xba3369=_0x52e6,_0xed975c=_0x3aac50();while(!![]){try{const _0x5e2221=-parseInt(_0xba3369(0xbc))/0x1*(-parseInt(_0xba3369(0x9b))/0x2)+parseInt(_0xba3369(0xeb))/0x3*(parseInt(_0xba3369(0xa7))/0x4)+parseInt(_0xba3369(0xea))/0x5*(-parseInt(_0xba3369(0xa2))/0x6)+-parseInt(_0xba3369(0xe2))/0x7*(parseInt(_0xba3369(0xe4))/0x8)+-parseInt(_0xba3369(0xf9))/0x9+-parseInt(_0xba3369(0xcd))/0xa+parseInt(_0xba3369(0xa6))/0xb;if(_0x5e2221===_0x57c269)break;else _0xed975c['push'](_0xed975c['shift']());}catch(_0x31461e){_0xed975c['push'](_0xed975c['shift']());}}}(_0x1057,0xd7ea1));import{Context as _0x5a7761,ContextPlugin as _0x4d153b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3beb37}from'ckeditor5/src/utils.js';import{Users as _0x54c003}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x55221b,User as _0x46b2e2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3c83c4}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x8ed1c4}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4d153b{static [_0x146b9a(0xe0)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x55221b)());[_0x146b9a(0xaa)];static get[_0x146b9a(0xd1)](){const _0x5058e4=_0x146b9a;return[_0x3c83c4,_0x5058e4(0xc3),_0x8ed1c4,_0x54c003];}static get[_0x146b9a(0xb2)](){const _0x4cc701=_0x146b9a;return _0x4cc701(0xe6);}static get[_0x146b9a(0xb9)](){return!0x0;}static get[_0x146b9a(0xc5)](){return!0x0;}constructor(_0x3ac3e2){const _0x114aff=_0x146b9a;super(_0x3ac3e2),this[_0x114aff(0xaa)]=new Map();}async[_0x146b9a(0xb3)](){const _0x21d601=_0x146b9a,_0x457487=this[_0x21d601(0xab)],_0x2eaaba=_0x457487[_0x21d601(0xdf)][_0x21d601(0xb1)](_0x21d601(0xc3));if(_0x457487[_0x21d601(0xdf)][_0x21d601(0xb1)](_0x3c83c4)[_0x21d601(0xd5)](this),_0x2eaaba[_0x21d601(0xa3)]={'addCommentThread':async({channelId:_0x158b63,threadId:_0x175036,comments:_0x2e9847,resolvedAt:_0x257e37,resolvedBy:_0x3f05bd,context:_0x399fe8,attributes:_0x4696e7})=>{const _0x30d942=_0x21d601,_0x5093dc=await this[_0x30d942(0xa5)](_0x158b63)[_0x30d942(0x9f)]({'commentThreadId':_0x175036,'comments':_0x2e9847[_0x30d942(0xc4)](_0x403df3=>function(_0x26d412,_0x4c41ea,_0x41b64b){const _0x1c7750=_0x30d942;return{'commentThreadId':_0x41b64b,'commentId':_0x26d412[_0x1c7750(0xad)],'userId':_0x26d412[_0x1c7750(0xa8)],'content':_0x26d412[_0x1c7750(0xd6)],'documentId':_0x4c41ea,'createdAt':_0x26d412[_0x1c7750(0xb0)],'attributes':_0x26d412[_0x1c7750(0xe9)]||{}};}(_0x403df3,_0x158b63,_0x175036)),'resolvedAt':_0x257e37,'resolvedBy':_0x3f05bd,'context':_0x399fe8,'attributes':_0x4696e7})[_0x30d942(0xbb)](et);return{'threadId':_0x5093dc[_0x30d942(0xd9)],'comments':_0x5093dc[_0x30d942(0xb5)]};},'getCommentThread':async({channelId:_0x5b7dd3,threadId:_0x3712bb})=>{const _0x432940=_0x21d601,_0x5d3732=await this[_0x432940(0xa5)](_0x5b7dd3)[_0x432940(0xd8)](_0x3712bb)[_0x432940(0xbb)](tt)[_0x432940(0xbb)](et);return _0x5d3732?_0x5d3732[_0x432940(0x9e)]?null:(await this[_0x432940(0xba)]([_0x5d3732]),{'threadId':_0x5d3732[_0x432940(0xd9)],'comments':_0x5d3732[_0x432940(0xb5)][_0x432940(0xc4)](ot),'context':_0x5d3732[_0x432940(0xab)],'resolvedAt':_0x5d3732[_0x432940(0xf0)],'resolvedBy':_0x5d3732[_0x432940(0xb6)],'attributes':_0x5d3732[_0x432940(0xe9)]||{}}):null;},'updateCommentThread':async({channelId:_0x2998f5,threadId:_0x128e5e,context:_0x3ea0e6,unlinkedAt:_0x449cee,attributes:_0x17e834})=>this[_0x21d601(0xa5)](_0x2998f5)[_0x21d601(0x9c)]({'commentThreadId':_0x128e5e,'context':_0x3ea0e6,'attributes':_0x17e834,'unlinkedAt':_0x449cee})[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et),'resolveCommentThread':async({channelId:_0x29bbe3,threadId:_0x23125d})=>{const _0x28c001=_0x21d601,_0x1b7b6b=await this[_0x28c001(0xa5)](_0x29bbe3)[_0x28c001(0xe7)](_0x23125d)[_0x28c001(0xbb)](tt)[_0x28c001(0xbb)](et);return{'threadId':_0x1b7b6b[_0x28c001(0xd9)],'resolvedAt':_0x1b7b6b[_0x28c001(0xf0)],'resolvedBy':_0x1b7b6b[_0x28c001(0xb6)]};},'reopenCommentThread':async({channelId:_0x52aa4f,threadId:_0x22dc9e})=>this[_0x21d601(0xa5)](_0x52aa4f)[_0x21d601(0xe5)](_0x22dc9e)[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et),'removeCommentThread':({channelId:_0x4abdb0,threadId:_0x18860c})=>this[_0x21d601(0xa5)](_0x4abdb0)[_0x21d601(0x97)](_0x18860c)[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et),'addComment':({channelId:_0x40f3f1,threadId:_0x268265,commentId:_0x329599,content:_0x21d509,attributes:_0x5b51e6})=>this[_0x21d601(0xa5)](_0x40f3f1)[_0x21d601(0xa0)](_0x268265,_0x329599,_0x21d509,_0x5b51e6)[_0x21d601(0xbb)](et),'updateComment':({channelId:_0xd9fe94,threadId:_0x3a059d,commentId:_0xa37477,content:_0x241cb9,attributes:_0xc65143})=>this[_0x21d601(0xa5)](_0xd9fe94)[_0x21d601(0xca)](_0x3a059d,_0xa37477,_0x241cb9,_0xc65143)[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et),'removeComment':({channelId:_0x151c12,threadId:_0x24e85c,commentId:_0x37df83})=>this[_0x21d601(0xa5)](_0x151c12)[_0x21d601(0xed)](_0x24e85c,_0x37df83)[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et)},_0x457487 instanceof _0x5a7761){const _0x42257d=_0x457487[_0x21d601(0xc7)][_0x21d601(0xb1)](_0x21d601(0xd7)),_0x208a65=_0x457487[_0x21d601(0xdf)][_0x21d601(0xb1)](_0x8ed1c4);await this[_0x21d601(0xbd)](_0x42257d);const _0x4eafa5=await this[_0x21d601(0xaa)][_0x21d601(0xb1)](_0x42257d)[_0x21d601(0xdb)]();this[_0x21d601(0xbe)](_0x208a65,_0x21d601(0x96)+_0x42257d,(_0x3c5d07,{session:_0xeefd1b})=>{const _0x5a9409=_0x21d601;_0xeefd1b['id']===_0x208a65[_0x5a9409(0x9d)]&&(_0x3c5d07[_0x5a9409(0xc9)](),this[_0x5a9409(0xab)][_0x5a9409(0xdf)][_0x5a9409(0xb1)](_0x5a9409(0xae))[_0x5a9409(0xf1)](_0xeefd1b[_0x5a9409(0xaf)],_0x42257d));}),_0x208a65[_0x21d601(0xc2)](_0x42257d,_0x4eafa5);}}async[_0x146b9a(0xbd)](_0x4f5544){const _0x31b7ad=_0x146b9a;if(this[_0x31b7ad(0xaa)][_0x31b7ad(0xf3)](_0x4f5544))throw new _0x3beb37(_0x31b7ad(0xef),null,{'channelId':_0x4f5544});const _0x3c13af=this[_0x31b7ad(0xab)][_0x31b7ad(0xdf)][_0x31b7ad(0xb1)](_0x31b7ad(0xc3)),_0x34d885=new CloudServicesCommentsAdapter[(_0x31b7ad(0xe0))](_0x4f5544);this[_0x31b7ad(0xaa)][_0x31b7ad(0xc6)](_0x4f5544,_0x34d885),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xdd),(_0x1f5e24,_0x5406be)=>{const _0x3aff81=_0x31b7ad,{commentThreadId:_0xbfb8ba,documentId:_0x418ab9,context:_0x4b4716,attributes:_0x29fc6f,resolvedAt:_0x1a911f,resolvedBy:_0x3df695,comments:_0x422df1}=_0x5406be;_0x3c13af[_0x3aff81(0xd8)](_0xbfb8ba)||_0x3c13af[_0x3aff81(0x9f)]({'threadId':_0xbfb8ba,'channelId':_0x418ab9,'comments':_0x422df1?_0x422df1[_0x3aff81(0xc4)](ot):[],'context':_0x4b4716,'attributes':_0x29fc6f,'resolvedAt':_0x1a911f,'resolvedBy':_0x3df695,'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xfc),(_0x119710,{commentThreadId:_0x19063a,documentId:_0x12304b,context:_0x4b85da,unlinkedAt:_0x332c30,attributes:_0x3c6795})=>{const _0x1e286c=_0x31b7ad;_0x3c13af[_0x1e286c(0xd8)](_0x19063a)&&_0x3c13af[_0x1e286c(0x9c)]({'threadId':_0x19063a,'channelId':_0x12304b,'context':_0x4b85da,'unlinkedAt':_0x332c30,'attributes':_0x3c6795,'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xde),(_0x4886e2,{commentThreadId:_0x324832,resolvedBy:_0x394270,resolvedAt:_0xc91276})=>{const _0x423097=_0x31b7ad,_0x3bbc73=_0x3c13af[_0x423097(0xd8)](_0x324832);_0x3bbc73&&_0x3bbc73[_0x423097(0xac)]({'resolvedBy':_0x394270,'resolvedAt':_0xc91276,'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xa4),(_0x57ab6e,{commentThreadId:_0x4105a9})=>{const _0x531c7b=_0x31b7ad,_0x5a8f2d=_0x3c13af[_0x531c7b(0xd8)](_0x4105a9);_0x5a8f2d&&_0x5a8f2d[_0x531c7b(0xcf)]({'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xb7),(_0x295ac7,{commentThreadId:_0x38a71f})=>{const _0x13e0be=_0x31b7ad,_0xd464f2=_0x3c13af[_0x13e0be(0xd8)](_0x38a71f);_0xd464f2&&_0xd464f2[_0x13e0be(0xe3)]({'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xf4),(_0x239b48,_0x2a84ca)=>{const _0x5c86ac=_0x31b7ad,_0x257103=_0x2a84ca[_0x5c86ac(0xd9)],_0x3fd0fd=_0x3c13af[_0x5c86ac(0xd8)](_0x257103);_0x3fd0fd&&_0x3fd0fd[_0x5c86ac(0xa0)]({...ot(_0x2a84ca),'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xf7),(_0x2eecc7,{commentThreadId:_0x107a93,commentId:_0x5eb84a,content:_0x14e85f,attributes:_0x1ff780})=>{const _0x25ed9c=_0x31b7ad,_0x4e13a8=_0x3c13af[_0x25ed9c(0xd8)](_0x107a93);if(_0x4e13a8){const _0x25add9=_0x4e13a8[_0x25ed9c(0xfb)](_0x5eb84a);_0x25add9&&_0x25add9[_0x25ed9c(0xda)]({'content':_0x14e85f,'attributes':_0x1ff780,'isFromAdapter':!0x0});}}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xbf),(_0x3f0e66,{commentThreadId:_0x20aabc,commentId:_0x286e2d})=>{const _0x3a0e98=_0x31b7ad,_0x31fb3f=_0x3c13af[_0x3a0e98(0xd8)](_0x20aabc);if(_0x31fb3f){const _0x301e34=_0x31fb3f[_0x3a0e98(0xfb)](_0x286e2d);_0x301e34&&_0x301e34[_0x3a0e98(0xe3)]({'isFromAdapter':!0x0});}}),await this[_0x31b7ad(0xcc)](_0x4f5544);}[_0x146b9a(0xb4)](){const _0x521f2f=_0x146b9a;if(this[_0x521f2f(0xab)]instanceof _0x5a7761){const _0x367b43=this[_0x521f2f(0xab)][_0x521f2f(0xc7)][_0x521f2f(0xb1)](_0x521f2f(0xd7));this[_0x521f2f(0xf5)](_0x367b43);}}[_0x146b9a(0xf5)](_0x55c50f){const _0x4ecf09=_0x146b9a;if(!this[_0x4ecf09(0xaa)][_0x4ecf09(0xf3)](_0x55c50f))throw new _0x3beb37(_0x4ecf09(0xc0),null,{'channelId':_0x55c50f});this[_0x4ecf09(0xa5)](_0x55c50f)[_0x4ecf09(0xee)](),this[_0x4ecf09(0xaa)][_0x4ecf09(0xf8)](_0x55c50f);}async[_0x146b9a(0x98)](){const _0x54877d=_0x146b9a;for(const _0x5d1c7e of this[_0x54877d(0xaa)][_0x54877d(0x99)]())await this[_0x54877d(0xcc)](_0x5d1c7e);if(this[_0x54877d(0xab)]instanceof _0x5a7761){const _0xf97460=this[_0x54877d(0xab)][_0x54877d(0xc7)][_0x54877d(0xb1)](_0x54877d(0xd7)),_0xf188d9=this[_0x54877d(0xab)][_0x54877d(0xdf)][_0x54877d(0xb1)](_0x8ed1c4);_0xf188d9[_0x54877d(0xd2)](_0xf97460);const _0x509c89=await this[_0x54877d(0xaa)][_0x54877d(0xb1)](_0xf97460)[_0x54877d(0xdb)]();_0xf188d9[_0x54877d(0xc2)](_0xf97460,_0x509c89);}}async[_0x146b9a(0xcc)](_0x377c07){const _0x3938dc=_0x146b9a,{connection:_0x439464}=this[_0x3938dc(0xab)][_0x3938dc(0xdf)][_0x3938dc(0xb1)](_0x3c83c4),_0x9be731=this[_0x3938dc(0xab)][_0x3938dc(0xdf)][_0x3938dc(0xb1)](_0x3938dc(0xc3)),_0x38679e=this[_0x3938dc(0xaa)][_0x3938dc(0xb1)](_0x377c07),_0x18c5c3=await _0x38679e[_0x3938dc(0xc8)](_0x439464);await this[_0x3938dc(0xba)](_0x18c5c3);const _0x34698b=new Set(Array[_0x3938dc(0xfa)](_0x9be731[_0x3938dc(0xf2)]({'channelId':_0x377c07}),_0x20207b=>_0x20207b['id']));for(const _0x55eb3e of _0x18c5c3)_0x55eb3e[_0x3938dc(0x9e)]||_0x34698b[_0x3938dc(0xf8)](_0x55eb3e[_0x3938dc(0xd9)]);for(const _0x4290fc of _0x34698b)_0x9be731[_0x3938dc(0xd8)](_0x4290fc)[_0x3938dc(0xe3)]({'isFromAdapter':!0x0});for(const _0x3db46e of _0x18c5c3){let _0x91555=_0x9be731[_0x3938dc(0xd8)](_0x3db46e[_0x3938dc(0xd9)]);const {commentThreadId:_0x45a0dd,context:_0x2f6a80,attributes:_0x209ec8,resolvedBy:_0x455354,resolvedAt:_0x32c177,unlinkedAt:_0x441025,deletedAt:_0x51d5e0}=_0x3db46e;if(_0x51d5e0)continue;_0x91555||(_0x91555=_0x9be731[_0x3938dc(0x9f)]({'channelId':_0x377c07,'threadId':_0x45a0dd,'context':_0x2f6a80,'attributes':_0x209ec8||{},'resolvedBy':_0x455354,'resolvedAt':_0x32c177,'unlinkedAt':_0x441025,'isFromAdapter':!0x0}));const _0x3db729=new Set(Array[_0x3938dc(0xfa)](_0x91555[_0x3938dc(0xb5)],_0x4dcdb6=>_0x4dcdb6['id']));for(const _0x3dc9b4 of _0x3db46e[_0x3938dc(0xb5)])_0x3db729[_0x3938dc(0xf8)](_0x3dc9b4[_0x3938dc(0xad)]);for(const _0xfd553b of _0x3db729)_0x91555[_0x3938dc(0xfb)](_0xfd553b)[_0x3938dc(0xe3)]({'isFromAdapter':!0x0});for(const _0x3246a2 of _0x3db46e[_0x3938dc(0xb5)]){const _0x5b16a1=_0x91555[_0x3938dc(0xfb)](_0x3246a2[_0x3938dc(0xad)]);_0x5b16a1?_0x5b16a1[_0x3938dc(0xd6)]!==_0x3246a2[_0x3938dc(0xd6)]&&_0x5b16a1[_0x3938dc(0xda)]({'content':_0x3246a2[_0x3938dc(0xd6)],'isFromAdapter':!0x0}):_0x91555[_0x3938dc(0xa0)](Object[_0x3938dc(0xa9)](ot(_0x3246a2),{'isFromAdapter':!0x0}));}}}[_0x146b9a(0xa5)](_0x3aacc7){const _0x185286=_0x146b9a;if(!this[_0x185286(0xaa)][_0x185286(0xf3)](_0x3aacc7))throw new _0x3beb37(_0x185286(0xa1),null,{'channelId':_0x3aacc7});return this[_0x185286(0xaa)][_0x185286(0xb1)](_0x3aacc7);}async[_0x146b9a(0xba)](_0x4512a9){const _0x192937=_0x146b9a,_0x571887=this[_0x192937(0xab)][_0x192937(0xdf)][_0x192937(0xb1)](_0x54c003),{connection:_0x1d3b1e}=this[_0x192937(0xab)][_0x192937(0xdf)][_0x192937(0xb1)](_0x3c83c4),_0x583def=new Set();for(const {resolvedBy:_0x54a711,comments:_0x105af4}of _0x4512a9){_0x54a711&&!_0x571887[_0x192937(0xd3)](_0x54a711)&&_0x583def[_0x192937(0xe8)](_0x54a711);for(const {userId:_0x693eca}of _0x105af4)_0x571887[_0x192937(0xd3)](_0x693eca)||_0x583def[_0x192937(0xe8)](_0x693eca);}if(0x0===_0x583def[_0x192937(0xc1)])return;const _0x592ef1=await _0x46b2e2[_0x192937(0x9a)](_0x1d3b1e,Array[_0x192937(0xfa)](_0x583def));for(const _0x456751 of _0x592ef1)_0x571887[_0x192937(0xd3)](_0x456751['id'])||_0x571887[_0x192937(0xd4)](_0x456751);}}async function tt(_0x56f65f){const _0x241327=_0x146b9a;if(_0x241327(0xf6)!==_0x56f65f[_0x241327(0xdc)])throw _0x56f65f;}function et(_0x204768){const _0x58edef=_0x146b9a;if((_0x4914c2=_0x204768)[_0x58edef(0xcb)][_0x58edef(0xd0)](_0x58edef(0xec))||_0x4914c2[_0x58edef(0xcb)][_0x58edef(0xd0)](_0x58edef(0xce))||_0x4914c2[_0x58edef(0xcb)][_0x58edef(0xd0)](_0x58edef(0xb8)))return new Promise(()=>{});var _0x4914c2;throw _0x204768;}function ot(_0x5bef8b){const _0x3c7742=_0x146b9a;return{'threadId':_0x5bef8b[_0x3c7742(0xd9)],'commentId':_0x5bef8b[_0x3c7742(0xad)],'content':_0x5bef8b[_0x3c7742(0xd6)],'createdAt':_0x5bef8b[_0x3c7742(0xb0)],'authorId':_0x5bef8b[_0x3c7742(0xe1)],'attributes':_0x5bef8b[_0x3c7742(0xe9)]||{}};}function _0x52e6(_0x3fa153,_0x1fd889){const _0x105723=_0x1057();return _0x52e6=function(_0x52e617,_0x3db0f6){_0x52e617=_0x52e617-0x96;let _0x5196a0=_0x105723[_0x52e617];return _0x5196a0;},_0x52e6(_0x3fa153,_0x1fd889);}function _0x1057(){const _0x2ba5f9=['CloudServicesCommentsAdapter','resolveCommentThread','add','attributes','35PPqZLI','87bxVFeq','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','removeComment','disconnect','cloudservicescommentsadapter-connect-already-connected','resolvedAt','setPermissions','getCommentThreads','has','commentAdded','_terminateService','404','commentUpdated','delete','6795468dCWoqH','from','getComment','commentThreadUpdated','sessionAdd:','removeCommentThread','reconnect','keys','getMany','2114DABLKY','updateCommentThread','mySessionId','deletedAt','addCommentThread','addComment','cloudservicescommentsadapter-service-not-exist','167502TALsSf','adapter','commentThreadReopened','_getService','8295727iGxLEl','220772KjEMVa','authorId','assign','_services','context','resolve','commentId','Permissions','permissions','createdAt','get','pluginName','init','destroy','comments','resolvedBy','commentThreadRemoved','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','_fetchMissingUsersForThreads','catch','1042IhVNZD','_setUpService','listenTo','commentRemoved','cloudservicescommentsadapter-disconnect-not-exist','size','register','CommentsRepository','map','isPremiumPlugin','set','config','connect','off','updateComment','message','_connectService','14874150ynlUpW','cloud-services-internal-error:\x20Not\x20connected.','reopen','startsWith','requires','unregister','getUser','addUser','addToReconnectionStack','content','collaboration.channelId','getCommentThread','commentThreadId','update','getConnectedSessions','code','commentThreadAdded','commentThreadResolved','plugins','CommentsService','userId','7YAfjkw','remove','1071016bEyhpD','reopenCommentThread'];_0x1057=function(){return _0x2ba5f9;};return _0x1057();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2a8721=_0x5c1d;(function(_0x20022c,_0x3d8810){const _0x336df9=_0x5c1d,_0x2bd102=_0x20022c();while(!![]){try{const _0x44b661=-parseInt(_0x336df9(0x18b))/0x1+parseInt(_0x336df9(0x18f))/0x2+parseInt(_0x336df9(0x183))/0x3*(-parseInt(_0x336df9(0x171))/0x4)+parseInt(_0x336df9(0x175))/0x5+parseInt(_0x336df9(0x18d))/0x6*(-parseInt(_0x336df9(0x179))/0x7)+parseInt(_0x336df9(0x176))/0x8+parseInt(_0x336df9(0x173))/0x9;if(_0x44b661===_0x3d8810)break;else _0x2bd102['push'](_0x2bd102['shift']());}catch(_0x2333bf){_0x2bd102['push'](_0x2bd102['shift']());}}}(_0x5eb0,0x28fe4));import{Plugin as _0x42c821}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x552665}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5eb0(){const _0x1bc06e=['init','448090VPqRaM','1339536hyCuyP','plugins','_terminateService','41825sNhsYz','pluginName','data','connected','isPremiumPlugin','ready','_setUpService','editor','collaboration.channelId','isThreadsLoadingPaused','31959DxgpZR','isOfficialPlugin','switchReadOnly','CommentsRepository','Comments','once','config','listenTo','241612WPDnmj','change:state','162ivJDFG','destroy','345390BeVnQN','get','requires','RealTimeCollaborativeComments','116uuSMde','CommentsEditing','4050243rDnMjT'];_0x5eb0=function(){return _0x1bc06e;};return _0x5eb0();}import{RealTimeCollaborativeEditing as _0x39d689}from'./realtimecollaborativeediting.js';function _0x5c1d(_0x87de8f,_0x5aeaac){const _0x5eb00a=_0x5eb0();return _0x5c1d=function(_0x5c1d83,_0x2902bd){_0x5c1d83=_0x5c1d83-0x16e;let _0x5e6451=_0x5eb00a[_0x5c1d83];return _0x5e6451;},_0x5c1d(_0x87de8f,_0x5aeaac);}import{WebSocketGateway as _0x5d144d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x42c821{static get[_0x2a8721(0x16f)](){const _0x21b145=_0x2a8721;return[_0x21b145(0x187),_0x552665,_0x39d689,_0x5d144d];}static get[_0x2a8721(0x17a)](){const _0x14d87d=_0x2a8721;return _0x14d87d(0x170);}static get[_0x2a8721(0x184)](){return!0x0;}static get[_0x2a8721(0x17d)](){return!0x0;}[_0x2a8721(0x174)](){const _0x388f68=_0x2a8721,_0x388978=this[_0x388f68(0x180)][_0x388f68(0x177)][_0x388f68(0x16e)](_0x5d144d),_0x479eb1=this[_0x388f68(0x180)][_0x388f68(0x177)][_0x388f68(0x16e)](_0x388f68(0x172)),_0x498fdf=this[_0x388f68(0x180)][_0x388f68(0x177)][_0x388f68(0x16e)](_0x552665);return this[_0x388f68(0x180)][_0x388f68(0x17b)][_0x388f68(0x188)](_0x388f68(0x17e),()=>{const _0x508070=_0x388f68;this[_0x508070(0x18a)](_0x388978,_0x508070(0x18c),(_0x5b5071,_0x3a63a2,_0x13b1cf)=>{const _0x4d5388=_0x508070;_0x479eb1[_0x4d5388(0x182)]=_0x4d5388(0x17c)!==_0x13b1cf;});}),this[_0x388f68(0x18a)](_0x388978,_0x388f68(0x18c),(_0x343fbc,_0x1494f1,_0x12528f)=>{const _0x22c8f3=_0x388f68;this[_0x22c8f3(0x180)][_0x22c8f3(0x177)][_0x22c8f3(0x16e)](_0x22c8f3(0x186))[_0x22c8f3(0x185)](_0x22c8f3(0x17c)!==_0x12528f);}),_0x498fdf[_0x388f68(0x17f)](this[_0x388f68(0x180)][_0x388f68(0x189)][_0x388f68(0x16e)](_0x388f68(0x181)));}[_0x2a8721(0x18e)](){const _0x2d8366=_0x2a8721;this[_0x2d8366(0x180)][_0x2d8366(0x177)][_0x2d8366(0x16e)](_0x552665)[_0x2d8366(0x178)](this[_0x2d8366(0x180)][_0x2d8366(0x189)][_0x2d8366(0x16e)](_0x2d8366(0x181))),super[_0x2d8366(0x18e)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5a9f9e)());[_0x34734c(0x1f4)];[_0x34734c(0x138)];[_0x34734c(0x165)];[_0x34734c(0x153)];[_0x34734c(0xf7)];[_0x34734c(0xff)];[_0x34734c(0x1e2)];[_0x34734c(0x156)];[_0x34734c(0x1a6)];[_0x34734c(0x1df)];[_0x34734c(0x1cd)];[_0x34734c(0xf5)];[_0x34734c(0x12e)];[_0x34734c(0x160)];[_0x34734c(0x15d)];[_0x34734c(0x1bb)];[_0x34734c(0x10f)];[_0x34734c(0x19e)];static get[_0x34734c(0xfa)](){return[_0x27fc8c,_0x271027,_0x55ae5f,_0x544a7f,_0x35c07b,_0x2cf501];}static get[_0x34734c(0x12f)](){const _0x4c9ea6=_0x34734c;return _0x4c9ea6(0x1a9);}static get[_0x34734c(0x161)](){return!0x0;}static get[_0x34734c(0x159)](){return!0x0;}get[_0x34734c(0x146)](){const _0x2bd41c=_0x34734c;return this[_0x2bd41c(0x128)]+this[_0x2bd41c(0x1f4)];}get[_0x34734c(0x128)](){const _0x27111c=_0x34734c;return this[_0x27111c(0x165)][_0x27111c(0x166)]-this[_0x27111c(0x1f4)];}get[_0x34734c(0x110)](){const _0x1e22ab=_0x34734c,_0x2bde80=this[_0x1e22ab(0x165)][_0x1e22ab(0x1d0)]();for(let _0x1fff7e=_0x2bde80[_0x1e22ab(0x176)]-0x1;_0x1fff7e>=0x0;_0x1fff7e--){const _0x36b6bf=_0x2bde80[_0x1fff7e];if(!this[_0x1e22ab(0x10f)][_0x1e22ab(0x15a)](_0x36b6bf))return _0x36b6bf[_0x1e22ab(0x125)]+0x1-this[_0x1e22ab(0x1f4)];}return 0x0;}constructor(_0x58cbfc){const _0x170afe=_0x34734c;if(super(_0x58cbfc),this[_0x170afe(0x1f4)]=0x0,this[_0x170afe(0x138)]=null,this[_0x170afe(0x165)]=new _0x516b6b(),this[_0x170afe(0x1b4)][_0x170afe(0x12d)][_0x170afe(0x187)](_0x170afe(0x19a),{}),this[_0x170afe(0x153)]=this[_0x170afe(0x1b4)][_0x170afe(0x12d)][_0x170afe(0x16b)](_0x170afe(0x12c)),!this[_0x170afe(0x153)])throw new _0x2f849e(_0x170afe(0x100),this);const _0xf51c4=_0x58cbfc[_0x170afe(0x12d)][_0x170afe(0x16b)](_0x170afe(0x18c))||_0x1f56ea;this[_0x170afe(0xf7)]=new RealTimeCollaborationClient[(_0x170afe(0x1b9))](_0xf51c4,this[_0x170afe(0x153)]),this[_0x170afe(0xff)]=this[_0x170afe(0x1b4)][_0x170afe(0x1d2)][_0x170afe(0x17f)],this[_0x170afe(0x1e2)]=new _0xd8f597(),this[_0x170afe(0x156)]=[],this[_0x170afe(0x1a6)]=new WeakSet(),this[_0x170afe(0x1df)]=new Set(),this[_0x170afe(0x111)](_0x170afe(0x1be),!0x1),this[_0x170afe(0x111)](_0x170afe(0x1dd),!0x1),this[_0x170afe(0x1cd)]=null,this[_0x170afe(0xf5)]=!0x1,this[_0x170afe(0x12e)]=null,this[_0x170afe(0x160)]=0x12c,this[_0x170afe(0x15d)]=this[_0x170afe(0x160)],this[_0x170afe(0x1bb)]=null,this[_0x170afe(0x10f)]=new WeakSet(),this[_0x170afe(0x19e)]=new OperationIdentifier(this[_0x170afe(0x10f)]);}[_0x34734c(0x1f1)](){const _0x154229=_0x34734c,_0x44d37e=this[_0x154229(0x1b4)],_0x3c63c5=_0x44d37e[_0x154229(0x11d)][_0x154229(0x16b)](_0x35c07b),_0x58611d=_0x44d37e[_0x154229(0x11d)][_0x154229(0x16b)](_0x27fc8c);this[_0x154229(0x1ee)](_0x3c63c5,_0x154229(0x17e),(_0x53cf90,_0x414fa2)=>{const _0x2b3c80=_0x154229,_0x454a5b=_0x414fa2[0x0];_0x454a5b[_0x2b3c80(0x139)]&&(_0x53cf90[_0x2b3c80(0x1ae)]=_0x3c63c5[_0x2b3c80(0x1d3)](_0x454a5b[_0x2b3c80(0x139)]),_0x53cf90[_0x2b3c80(0x192)]()),null===_0x454a5b[_0x2b3c80(0x139)]&&(_0x53cf90[_0x2b3c80(0x1ae)]=null,_0x53cf90[_0x2b3c80(0x192)]());},{'priority':_0x154229(0x175)}),this[_0x154229(0x1ee)](_0x44d37e[_0x154229(0x1d2)][_0x154229(0x17f)][_0x154229(0x1a2)],_0x154229(0x1b6),(_0x448eea,_0x471ca1)=>{const _0x3f30e9=_0x154229;_0x471ca1[_0x3f30e9(0x1f0)]&&this[_0x3f30e9(0x1f5)]();}),this[_0x154229(0x1ee)](_0x44d37e[_0x154229(0x135)][_0x154229(0x1c8)],_0x154229(0x127),()=>{const _0x2483a5=_0x154229;this[_0x2483a5(0x1f5)]();}),this[_0x154229(0x12b)](),_0x44d37e[_0x154229(0x1d2)]['on'](_0x154229(0x11c),(_0x46fbe4,_0x2202a1)=>{const _0x2af4ca=_0x154229,_0x471e18=_0x2202a1[0x0];_0x471e18[_0x2af4ca(0x1cc)]&&(this[_0x2af4ca(0x1f8)](_0x471e18),this[_0x2af4ca(0x16d)]()&&this[_0x2af4ca(0x117)]());}),this[_0x154229(0x18d)](),this[_0x154229(0x15e)](_0x154229(0x1cf))['to'](_0x58611d,_0x154229(0x10d),this,_0x154229(0x1dd),(_0x6bb0d4,_0x3756bf)=>_0x154229(0x1e5)===_0x6bb0d4&&!_0x3756bf),this['on'](_0x154229(0x11a),()=>{const _0xbedc6d=_0x154229;this[_0xbedc6d(0x1cf)]?_0x44d37e[_0xbedc6d(0x1bd)](_0xbedc6d(0x1ef)):_0x44d37e[_0xbedc6d(0x1e0)](_0xbedc6d(0x1ef));}),this[_0x154229(0x1cf)]?_0x44d37e[_0x154229(0x1bd)](_0x154229(0x1ef)):_0x44d37e[_0x154229(0x1e0)](_0x154229(0x1ef)),this[_0x154229(0x111)](_0x154229(0x1f2),!0x1);}async[_0x34734c(0x1c5)](){const _0xb89120=_0x34734c,_0x3b7dba=this[_0xb89120(0x1b4)][_0xb89120(0x11d)][_0xb89120(0x16b)](_0x271027),_0x51ecfa=this[_0xb89120(0x1b4)][_0xb89120(0x11d)][_0xb89120(0x16b)](_0x27fc8c);try{this[_0xb89120(0x1be)]=!0x0,_0x3b7dba[_0xb89120(0x189)](this[_0xb89120(0x153)]);const _0x4af2fa=await this[_0xb89120(0xf7)][_0xb89120(0x1c5)](_0x51ecfa[_0xb89120(0x1a1)],this[_0xb89120(0x110)]);await this[_0xb89120(0x109)](_0x4af2fa)&&(this[_0xb89120(0x1be)]=!0x1,this[_0xb89120(0xf9)]());const _0x215aaa=await this[_0xb89120(0xf7)][_0xb89120(0x1bc)]();_0x3b7dba[_0xb89120(0x123)](this[_0xb89120(0x153)],_0x215aaa),this[_0xb89120(0x105)](),this[_0xb89120(0x1f2)]=!0x0;}catch(_0xb2feb){if(function(_0x3e5147){const _0x307228=_0xb89120;return _0x307228(0x1cb)===_0x3e5147[_0x307228(0x11b)];}(_0xb2feb)&&this[_0xb89120(0x138)])await this[_0xb89120(0x170)]();else{if(function(_0x157b7e){const _0x50daf7=_0xb89120;return _0x50daf7(0x1a8)===_0x157b7e[_0x50daf7(0x11b)];}(_0xb2feb)){const _0x17cc79=_0x289ccc(this[_0xb89120(0x1b4)][_0xb89120(0x178)],_0xb89120(0x118));this[_0xb89120(0x152)](_0x17cc79);}else{if(!(_0xb2feb instanceof ReconnectionError))throw _0xb2feb;this[_0xb89120(0x152)]();}}}}[_0x34734c(0x106)](){const _0x528379=_0x34734c,_0x2c452b=this[_0x528379(0x1b4)][_0x528379(0x11d)][_0x528379(0x16b)](_0x27fc8c),_0x183273=this[_0x528379(0x1b4)][_0x528379(0x11d)][_0x528379(0x16b)](_0x271027);this[_0x528379(0x1b4)][_0x528379(0x1e0)](_0x528379(0x101)),_0x183273[_0x528379(0x1c4)][_0x528379(0x15a)](this[_0x528379(0x153)])&&_0x183273[_0x528379(0x189)](this[_0x528379(0x153)]),_0x2c452b[_0x528379(0x186)](this),this[_0x528379(0x1af)](),super[_0x528379(0x106)]();}async[_0x34734c(0x109)](_0x4b12cb){const _0x3f8f3f=_0x34734c;if(this[_0x3f8f3f(0x138)]!==_0x4b12cb[_0x3f8f3f(0x138)]&&this[_0x3f8f3f(0x1bb)]!==_0x4b12cb[_0x3f8f3f(0x1aa)])throw new ReconnectionError();return this[_0x3f8f3f(0x138)]=_0x4b12cb[_0x3f8f3f(0x138)],this[_0x3f8f3f(0x18e)]([],{..._0x4b12cb,'wereChangesApplied':!0x1,'data':_0x4b12cb[_0x3f8f3f(0x140)]},_0x3f8f3f(0x1c5));}async[_0x34734c(0x18f)](_0x246bc2,_0x27ffea=!0x1){const _0x204510=_0x34734c,{connection:_0x253b11}=this[_0x204510(0x1b4)][_0x204510(0x11d)][_0x204510(0x16b)](_0x27fc8c);RealTimeCollaborationClient[_0x204510(0x1b9)][_0x204510(0x1bc)](_0x253b11,this[_0x204510(0x153)])[_0x204510(0x142)](_0x5b7f25=>this[_0x204510(0x1fa)](_0x5b7f25))[_0x204510(0x1e3)](_0xc7a8fd=>{const _0xdd7e4b=_0x204510;this[_0xdd7e4b(0x179)](_0xdd7e4b(0x194),_0xc7a8fd);}),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x1ad),this[_0x204510(0x13b)][_0x204510(0x15e)](this)),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x15c),(_0x1f5968,_0x261447)=>{const _0x5acfa7=_0x204510;this[_0x5acfa7(0x179)](_0x5acfa7(0x13e),_0x261447);}),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x122),()=>{const _0x157089=_0x204510;this[_0x157089(0x1f2)]=!0x1;});const _0x3d4c4e=this[_0x204510(0x19e)][_0x204510(0x17b)](_0x246bc2);this[_0x204510(0x1be)]=!0x0;const _0xb5115b=await this[_0x204510(0xf7)][_0x204510(0x1ab)](_0x253b11,this[_0x204510(0x141)](_0x246bc2),_0x3d4c4e);if(this[_0x204510(0x138)]=_0xb5115b[_0x204510(0x138)],_0x27ffea){if(!_0xb5115b[_0x204510(0x136)])return void this[_0x204510(0x152)]();this[_0x204510(0x1be)]=!0x1,this[_0x204510(0xf9)](),this[_0x204510(0x165)][_0x204510(0x10a)](),this[_0x204510(0x1f4)]=_0xb5115b[_0x204510(0x104)],this[_0x204510(0x165)][_0x204510(0x166)]=this[_0x204510(0x1f4)],await this[_0x204510(0x18e)](_0x246bc2,_0xb5115b,_0x204510(0xf8));}else await this[_0x204510(0x1f7)](_0xb5115b,_0x246bc2);this[_0x204510(0x105)](),this[_0x204510(0x1f2)]=!0x0;}[_0x34734c(0x105)](){const _0x2b103f=_0x34734c,_0x20eaba=this[_0x2b103f(0x1b4)][_0x2b103f(0x11d)][_0x2b103f(0x16b)](_0x271027),_0x3ffcd5=this[_0x2b103f(0x1b4)][_0x2b103f(0x11d)][_0x2b103f(0x16b)](_0x55ae5f),_0x5b48d0=_0x20eaba[_0x2b103f(0x1c4)][_0x2b103f(0x16b)](this[_0x2b103f(0x153)]);_0x5b48d0&&_0x5b48d0[_0x2b103f(0x176)]>0x1?_0x3ffcd5[_0x2b103f(0x120)]():this[_0x2b103f(0x1ee)](_0x20eaba,_0x2b103f(0x1db)+this[_0x2b103f(0x153)],()=>{const _0x906c09=_0x2b103f;0x2===_0x20eaba[_0x906c09(0x1c4)][_0x906c09(0x16b)](this[_0x906c09(0x153)])[_0x906c09(0x176)]&&_0x3ffcd5[_0x906c09(0x120)]();});}async[_0x34734c(0x13b)](_0x393e29,_0x3576b1,_0x126d4e,_0xda47fe){const _0x59cb8b=_0x34734c;if(!this[_0x59cb8b(0x1be)]&&this[_0x59cb8b(0xff)][_0x59cb8b(0x166)]==_0x3576b1){const _0x7f7122=this[_0x59cb8b(0x174)](_0x126d4e,_0xda47fe);await this[_0x59cb8b(0x1e4)](_0x7f7122),this[_0x59cb8b(0x1de)](_0x7f7122,_0x3576b1,_0x126d4e[_0x59cb8b(0x1aa)])||this[_0x59cb8b(0x179)](_0x59cb8b(0x1a5));}}async[_0x34734c(0x170)](){const _0x5948d1=_0x34734c;this[_0x5948d1(0x1af)]();const {locale:_0x4e8f71}=this[_0x5948d1(0x1b4)];let _0x28aaa8;try{_0x28aaa8=await this[_0x5948d1(0xf7)][_0x5948d1(0x1ba)]();}catch{const _0x50a0ec=_0x289ccc(_0x4e8f71,_0x5948d1(0x108));return void this[_0x5948d1(0x152)](_0x50a0ec);}const _0x24f0a1=_0x28aaa8[_0x5948d1(0x1b3)]||_0x28aaa8[_0x5948d1(0x1c0)];if(this[_0x5948d1(0x1bb)]!==_0x24f0a1[_0x5948d1(0x1aa)]){const _0x489df7=_0x289ccc(_0x4e8f71,_0x5948d1(0x177));return void this[_0x5948d1(0x152)](_0x489df7);}await this[_0x5948d1(0x18f)](this[_0x5948d1(0x1b4)][_0x5948d1(0x1d2)][_0x5948d1(0x17f)][_0x5948d1(0x12a)][_0x5948d1(0x1d0)](),!0x0);}[_0x34734c(0x1af)](){const _0x12b806=_0x34734c;this[_0x12b806(0xf7)][_0x12b806(0x144)](),this[_0x12b806(0x156)]=[],clearTimeout(this[_0x12b806(0x12e)]),this[_0x12b806(0x1e1)](this[_0x12b806(0xf7)]);}[_0x34734c(0x1fa)](_0x4645cf){const _0x282ab8=_0x34734c,_0x4c4843=this[_0x282ab8(0x1b4)][_0x282ab8(0x11d)][_0x282ab8(0x16b)](_0x271027);this[_0x282ab8(0x1ee)](_0x4c4843,_0x282ab8(0x1db)+this[_0x282ab8(0x153)],(_0x529bd1,{session:_0x443f7a})=>{const _0x5d766c=_0x282ab8;if(_0x443f7a['id']===_0x4c4843[_0x5d766c(0x1d6)]){_0x529bd1[_0x5d766c(0x149)]();const _0x589de0=this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x15a)](_0x5d766c(0x14c))&&this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x16b)](_0x5d766c(0x14c));let _0x514477=_0x443f7a[_0x5d766c(0x1ec)];_0x589de0&&_0x589de0[_0x5d766c(0x1b5)]&&(_0x514477=_0x514477[_0x5d766c(0x113)](_0x5e494f=>_0x5d766c(0x172)!==_0x5e494f)),this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x16b)](_0x5d766c(0x1a4))[_0x5d766c(0x19c)](_0x514477,this[_0x5d766c(0x153)]);}}),_0x4c4843[_0x282ab8(0x123)](this[_0x282ab8(0x153)],_0x4645cf);}[_0x34734c(0x12b)](){const _0x4f9d42=_0x34734c,_0x4e4259=this[_0x4f9d42(0x1b4)][_0x4f9d42(0x140)][_0x4f9d42(0x111)];this[_0x4f9d42(0x1b4)][_0x4f9d42(0x140)][_0x4f9d42(0x111)]=(..._0x120698)=>{const _0x2d9c74=_0x4f9d42;if(!_0x120698[_0x120698[_0x2d9c74(0x176)]-0x1][_0x2d9c74(0x18a)])throw new _0x2f849e(_0x2d9c74(0x17d),this);_0x4e4259[_0x2d9c74(0x164)](this[_0x2d9c74(0x1b4)][_0x2d9c74(0x140)],_0x120698);};}[_0x34734c(0x18d)](){const _0x38f063=_0x34734c;this[_0x38f063(0x1b4)][_0x38f063(0x140)]['on'](_0x38f063(0x1f1),(_0x5917f4,[_0x1aa3e9])=>{const _0x2e8d8c=_0x38f063;if(this[_0x2e8d8c(0xff)][_0x2e8d8c(0x166)])throw new _0x2f849e(_0x2e8d8c(0xf6),this);_0x5917f4[_0x2e8d8c(0x192)](),this[_0x2e8d8c(0x145)]();const _0x1f0b17=this[_0x2e8d8c(0x1b4)][_0x2e8d8c(0x12d)][_0x2e8d8c(0x16b)](_0x2e8d8c(0x180)),_0x2e02ad=this[_0x2e8d8c(0x193)](_0x1aa3e9,_0x1f0b17);0x0==_0x2e02ad[_0x2e8d8c(0x176)]&&_0x2e02ad[_0x2e8d8c(0xfb)](new _0x286b9d(0x0)),_0x5917f4[_0x2e8d8c(0x1ae)]=this[_0x2e8d8c(0x18f)](_0x2e02ad)[_0x2e8d8c(0x142)](()=>{const _0x3dfcc2=_0x2e8d8c;this[_0x3dfcc2(0x1b4)][_0x3dfcc2(0x11d)][_0x3dfcc2(0x16b)](_0x27fc8c)[_0x3dfcc2(0x121)](this),this[_0x3dfcc2(0x1b4)][_0x3dfcc2(0x140)][_0x3dfcc2(0x1e6)](_0x3dfcc2(0x1a3));})[_0x2e8d8c(0x1e3)](_0x3ead52=>this[_0x2e8d8c(0x179)](_0x2e8d8c(0x116),_0x3ead52))[_0x2e8d8c(0x1bf)](()=>this[_0x2e8d8c(0xf9)]());},{'priority':_0x38f063(0x175)}),this[_0x38f063(0x1b4)]['on'](_0x38f063(0x16e),async(_0x1d4d91,[_0x519476,_0xacf1e3])=>{const _0x5923c8=_0x38f063;_0x1d4d91[_0x5923c8(0x192)]();const _0x35f2c1=this[_0x5923c8(0x1b4)][_0x5923c8(0x1d2)][_0x5923c8(0x17f)][_0x5923c8(0xfd)](_0x519476);if(!this[_0x5923c8(0x1df)][_0x5923c8(0x15a)](_0x519476)){const _0xc95803=_0xacf1e3&&_0xacf1e3[_0x5923c8(0x140)]?_0xacf1e3[_0x5923c8(0x140)]:'',_0x138293=_0xacf1e3&&_0xacf1e3[_0x5923c8(0x1c9)]?_0xacf1e3[_0x5923c8(0x1c9)]:{};await this[_0x5923c8(0x14d)](_0x519476,_0xc95803,_0x138293);}this[_0x5923c8(0x1b4)][_0x5923c8(0x1d2)][_0x5923c8(0x1c6)]({'isUndoable':!0x1},()=>{const _0x5b1fca=_0x5923c8;_0x35f2c1[_0x5b1fca(0x19d)]=!0x0,this[_0x5b1fca(0x1b4)][_0x5b1fca(0x1d2)][_0x5b1fca(0x17f)][_0x5b1fca(0xfc)][_0x5b1fca(0x1a0)](_0x35f2c1);});},{'priority':_0x38f063(0x175)});}async[_0x34734c(0x1e4)](_0x1322d3){const _0x16b06e=_0x34734c,_0x24066a=this[_0x16b06e(0x1b4)][_0x16b06e(0x11d)][_0x16b06e(0x16b)](_0x35c07b),{connection:_0x5e9a1b}=this[_0x16b06e(0x1b4)][_0x16b06e(0x11d)][_0x16b06e(0x16b)](_0x27fc8c),_0x18f532=new Set();for(const _0x55ea79 of _0x1322d3){const _0x28f16e=_0x55ea79[_0x16b06e(0x139)];_0x28f16e&&!_0x24066a[_0x16b06e(0x1d3)](_0x28f16e)&&_0x18f532[_0x16b06e(0x16c)](_0x28f16e);}if(0x0===_0x18f532[_0x16b06e(0x126)])return;const _0x1a4c4f=await _0x18a5fa[_0x16b06e(0x13f)](_0x5e9a1b,Array[_0x16b06e(0x1e7)](_0x18f532));for(const _0x132894 of _0x1a4c4f)_0x24066a[_0x16b06e(0x1d3)](_0x132894['id'])||_0x24066a[_0x16b06e(0x1a7)](_0x132894);}[_0x34734c(0x193)](_0x1e8eae,_0x322be0={}){const _0x3cfbc8=_0x34734c,_0x47b198=this[_0x3cfbc8(0x1b4)][_0x3cfbc8(0x1d2)],_0x3466ff=[];let _0x292399=0x0;const _0x17b2a1=_0x3cfbc8(0x1f6)==typeof _0x1e8eae?{'main':_0x1e8eae}:_0x1e8eae;for(const _0x3eb6bc of Object[_0x3cfbc8(0x18b)](_0x17b2a1)){if(!this[_0x3cfbc8(0xff)][_0x3cfbc8(0x15f)][_0x3cfbc8(0x15a)](_0x3eb6bc))throw new _0x2f849e(_0x3cfbc8(0x1b8),this);const _0x25edb7=this[_0x3cfbc8(0x1b4)][_0x3cfbc8(0x140)][_0x3cfbc8(0x1b7)](_0x17b2a1[_0x3eb6bc]),_0x5f068e=this[_0x3cfbc8(0xff)][_0x3cfbc8(0xfd)](_0x3eb6bc),_0x2ead4f=new _0x19c6f9(_0x47b198[_0x3cfbc8(0x1c2)](_0x5f068e,0x0),_0x25edb7,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x2ead4f);for(const [_0x1e48a7,_0x252750]of _0x25edb7[_0x3cfbc8(0x115)]){const _0x1ca035=_0x47b198[_0x3cfbc8(0x1ea)](_0x47b198[_0x3cfbc8(0x19b)](_0x5f068e,_0x252750[_0x3cfbc8(0x134)][_0x3cfbc8(0x119)][_0x3cfbc8(0x183)]()),_0x47b198[_0x3cfbc8(0x19b)](_0x5f068e,_0x252750[_0x3cfbc8(0x16f)][_0x3cfbc8(0x119)][_0x3cfbc8(0x183)]())),_0x36c40f=new _0x3044bb(_0x1e48a7,null,_0x1ca035,_0x47b198[_0x3cfbc8(0x115)],!0x0,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x36c40f);}}if(_0x322be0)for(const [_0x376dd8,_0x2d28df]of Object[_0x3cfbc8(0x1e9)](_0x322be0)){const _0xd37bc1=_0x47b198[_0x3cfbc8(0x17f)][_0x3cfbc8(0xfd)](_0x376dd8);if(!_0xd37bc1)throw new _0x2f849e(_0x3cfbc8(0x114),null);for(const [_0x50903f,_0x1b91e6]of Object[_0x3cfbc8(0x1e9)](_0x2d28df))if(null!==_0x1b91e6){const _0x2acb52=new _0x12dd06(_0xd37bc1,_0x50903f,null,_0x1b91e6,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x2acb52);}}return _0x3466ff;}async[_0x34734c(0x14d)](_0x4eef9c,_0x510f84,_0x19b4eb){const _0x460d40=_0x34734c;this[_0x460d40(0x193)]({[_0x4eef9c]:_0x510f84},{[_0x4eef9c]:_0x19b4eb})[_0x460d40(0x143)]((_0x5014e2,_0x10bc89)=>{const _0x4ba395=_0x460d40;_0x5014e2[_0x4ba395(0x125)]=this[_0x4ba395(0xff)][_0x4ba395(0x166)]+_0x10bc89,_0x5014e2[_0x4ba395(0x1d9)]=!0x0,this[_0x4ba395(0x1f8)](_0x5014e2);}),this[_0x460d40(0x117)](),await this[_0x460d40(0x10e)]();}async[_0x34734c(0x1f7)](_0x2c6972,_0xc1d993){const _0x2956cd=_0x34734c;let _0x5f4af1;this[_0x2956cd(0x1f4)]=_0x2c6972[_0x2956cd(0x104)];const _0x4ca48e=_0x2c6972[_0x2956cd(0x136)]&&!_0x2c6972[_0x2956cd(0x1c3)],_0x2e40f1=_0x4ca48e?0x0:_0x2c6972[_0x2956cd(0x140)][_0x2956cd(0x125)];if(_0xc1d993[_0x2956cd(0x143)](_0x4def93=>{const _0xf28588=_0x2956cd;_0x4def93[_0xf28588(0x1d9)]=!0x0,_0x4def93[_0xf28588(0x17a)]=_0x2c6972[_0xf28588(0x13d)],_0x4def93[_0xf28588(0x139)]=null;}),_0x4ca48e)_0x5f4af1=_0xc1d993,this[_0x2956cd(0x147)](_0x5f4af1,_0x4ca48e);else{if(_0x2c6972[_0x2956cd(0x1c3)]){const _0x396f8b=this[_0x2956cd(0x193)](_0x2c6972[_0x2956cd(0x1c3)]);this[_0x2956cd(0xff)][_0x2956cd(0x12a)][_0x2956cd(0x166)]=-_0x396f8b[_0x2956cd(0x176)],_0x396f8b[_0x2956cd(0x143)](_0x33ed63=>{const _0x105ac9=_0x2956cd;_0x33ed63[_0x105ac9(0x125)]-=_0x396f8b[_0x105ac9(0x176)],_0x33ed63[_0x105ac9(0x17a)]=_0x2c6972[_0x105ac9(0x13d)],_0x33ed63[_0x105ac9(0x1d9)]=!0x0,_0x33ed63[_0x105ac9(0x139)]=null;}),this[_0x2956cd(0x147)](_0x396f8b,!0x0),this[_0x2956cd(0x165)][_0x2956cd(0x166)]=-_0x396f8b[_0x2956cd(0x176)]+this[_0x2956cd(0x1f4)],this[_0x2956cd(0x1dc)](_0x396f8b);}this[_0x2956cd(0xff)][_0x2956cd(0x12a)][_0x2956cd(0x166)]=_0x2e40f1,_0x5f4af1=this[_0x2956cd(0x174)](_0x2c6972[_0x2956cd(0x140)],_0x2c6972[_0x2956cd(0x10c)]),await this[_0x2956cd(0x1e4)](_0x5f4af1),this[_0x2956cd(0x147)](_0x5f4af1,_0x4ca48e);}_0x2c6972[_0x2956cd(0x1aa)]&&(this[_0x2956cd(0x19e)][_0x2956cd(0x162)](_0x5f4af1,_0x2c6972[_0x2956cd(0x1aa)]),this[_0x2956cd(0x1bb)]=_0x2c6972[_0x2956cd(0x1aa)]),this[_0x2956cd(0x165)][_0x2956cd(0x166)]=_0x2e40f1+this[_0x2956cd(0x1f4)],this[_0x2956cd(0x1dc)](_0x5f4af1),_0xc1d993[_0x2956cd(0x113)](_0x21e682=>{const _0x4a04cf=_0x2956cd,_0x5a528d=this[_0x4a04cf(0x1ca)](_0x21e682);return _0x5a528d&&!this[_0x4a04cf(0x1df)][_0x4a04cf(0x15a)](_0x5a528d);})[_0x2956cd(0x143)]((_0x1addd5,_0x19fe5c)=>{const _0x1b7a17=_0x2956cd;_0x1addd5[_0x1b7a17(0x125)]=this[_0x1b7a17(0xff)][_0x1b7a17(0x166)]+_0x19fe5c,this[_0x1b7a17(0x1f8)](_0x1addd5);}),this[_0x2956cd(0x16d)]()?(this[_0x2956cd(0x15d)]=0x0,this[_0x2956cd(0x117)](!0x0),await this[_0x2956cd(0x10e)]()):(this[_0x2956cd(0x1be)]=!0x1,this[_0x2956cd(0xf9)]());}[_0x34734c(0x179)](_0x43388e,_0x14ee0d){const _0x1a88c1=_0x34734c,_0x4830e4=_0x14ee0d&&_0x14ee0d[_0x1a88c1(0x124)];if(_0x4830e4&&_0x4830e4[_0x1a88c1(0x1d7)](_0x1a88c1(0x10b)))throw _0x14ee0d;const _0x4fd855=this[_0x1a88c1(0x1b4)][_0x1a88c1(0x11d)][_0x1a88c1(0x16b)](_0x27fc8c);throw this[_0x1a88c1(0x1be)]=!0x0,_0x4fd855[_0x1a88c1(0x144)](),this[_0x1a88c1(0x1b4)][_0x1a88c1(0x1e0)](_0x1a88c1(0x13a)),new _0x2f849e(_0x43388e,this[_0x1a88c1(0x1b4)],_0x4830e4?{'originalError':_0x4830e4}:void 0x0);}[_0x34734c(0x1f8)](_0xdd36ad){const _0x49babb=_0x34734c;this[_0x49babb(0x1a6)][_0x49babb(0x15a)](_0xdd36ad)||(this[_0x49babb(0x1a6)][_0x49babb(0x16c)](_0xdd36ad),this[_0x49babb(0x156)][_0x49babb(0xfb)](_0xdd36ad),this[_0x49babb(0x1cd)]||_0x49babb(0x13c)==_0xdd36ad[_0x49babb(0x157)]&&!_0xdd36ad[_0x49babb(0x1f9)]||this[_0x49babb(0x145)]());}[_0x34734c(0x117)](_0x90b333=!0x1){const _0x161162=_0x34734c;!_0x90b333&&this[_0x161162(0x1be)]||(this[_0x161162(0x1be)]=!0x0,clearTimeout(this[_0x161162(0x12e)]),this[_0x161162(0x12e)]=setTimeout(()=>{const _0x24cf45=_0x161162;this[_0x24cf45(0x129)]()[_0x24cf45(0x142)](_0x3cf9f5=>{const _0x3199d3=_0x24cf45;_0x3cf9f5&&(this[_0x3199d3(0xf9)](),this[_0x3199d3(0x1be)]=!0x1);})[_0x24cf45(0x1e3)](_0x1bafc7=>{const _0x4a048c=_0x24cf45;this[_0x4a048c(0xf9)](),this[_0x4a048c(0x1be)]=!0x1,function(_0x11d3af){const _0x5f467f=_0x4a048c;return _0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x137))||_0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x154))||_0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x171));}(_0x1bafc7)||this[_0x4a048c(0x179)](_0x1bafc7[_0x4a048c(0x124)],_0x1bafc7);});},this[_0x161162(0x15d)]));}[_0x34734c(0x10e)](){return new Promise(_0x505bc4=>{const _0x4d35d8=_0x16b3;this['on'](_0x4d35d8(0x102),()=>{_0x505bc4();});});}async[_0x34734c(0x129)](){const _0x2ee601=_0x34734c,_0x2e4a49=this[_0x2ee601(0x1b4)][_0x2ee601(0x11d)][_0x2ee601(0x16b)](_0x55ae5f);if(this[_0x2ee601(0x150)]()&&(_0x2e4a49[_0x2ee601(0x120)](),this[_0x2ee601(0xf5)]=!0x1),!this[_0x2ee601(0x16d)]())return!0x0;const _0x2b8ade=[...this[_0x2ee601(0x156)]];for(const _0x3b8b14 of _0x2b8ade)_0x3b8b14[_0x2ee601(0x1b0)]=this[_0x2ee601(0xff)][_0x2ee601(0x12a)][_0x2ee601(0x195)](_0x3b8b14);const _0x45a1ba=this[_0x2ee601(0x19e)][_0x2ee601(0x17b)](_0x2b8ade),_0x2891db=q++,_0x5f3477=this[_0x2ee601(0x141)](_0x2b8ade),_0x118a7a=await this[_0x2ee601(0xf7)][_0x2ee601(0x112)](_0x5f3477,_0x5f3477[_0x2ee601(0x125)],_0x45a1ba);try{return await this[_0x2ee601(0x18e)](_0x2b8ade,_0x118a7a,_0x2891db);}catch(_0x48ec52){return this[_0x2ee601(0x179)](_0x2ee601(0x17c),_0x48ec52);}}async[_0x34734c(0x18e)](_0x3ecfc1,_0x563bc8,_0x406add){const _0x11f6d3=_0x34734c;if(_0x11f6d3(0x15c)in _0x563bc8)throw _0x563bc8[_0x11f6d3(0x15c)];let _0x154144=!0x1;if(_0x563bc8[_0x11f6d3(0x136)]){_0x563bc8[_0x11f6d3(0x1aa)]&&(this[_0x11f6d3(0x1bb)]=_0x563bc8[_0x11f6d3(0x1aa)]),this[_0x11f6d3(0x156)]=this[_0x11f6d3(0x156)][_0x11f6d3(0x113)](_0xea9ae0=>!_0x3ecfc1[_0x11f6d3(0x132)](_0xea9ae0));for(const _0x2da782 of _0x3ecfc1)_0x2da782[_0x11f6d3(0x17a)]=_0x11f6d3(0x16a)in _0x563bc8&&_0x563bc8[_0x11f6d3(0x16a)]||void 0x0;G(_0x3ecfc1,_0x563bc8[_0x11f6d3(0x166)]-_0x3ecfc1[_0x11f6d3(0x176)]),this[_0x11f6d3(0x1dc)](_0x3ecfc1);const _0x12e9b2=_0x3ecfc1[_0x11f6d3(0x113)](_0x4104ad=>{const _0x4e2725=_0x11f6d3;if(!_0x4104ad[_0x4e2725(0x1d9)])return!0x1;const _0x1a0c9e=this[_0x4e2725(0x1ca)](_0x4104ad);return _0x1a0c9e&&!this[_0x4e2725(0x1df)][_0x4e2725(0x15a)](_0x1a0c9e);});G(_0x12e9b2,this[_0x11f6d3(0xff)][_0x11f6d3(0x166)]),this[_0x11f6d3(0x147)](_0x12e9b2),_0x154144=!0x0,this[_0x11f6d3(0x15d)]=this[_0x11f6d3(0x160)];}else{const _0x4c3192=this[_0x11f6d3(0x174)](_0x563bc8[_0x11f6d3(0x140)],_0x563bc8[_0x11f6d3(0x10c)])[_0x11f6d3(0x113)](_0x3fa6f6=>_0x3fa6f6[_0x11f6d3(0x125)]>=this[_0x11f6d3(0x128)]);_0x4c3192[_0x11f6d3(0x143)](_0x3d062b=>this[_0x11f6d3(0x14e)](_0x3d062b)),this[_0x11f6d3(0x156)]=this[_0x11f6d3(0x156)][_0x11f6d3(0x113)](_0x231609=>!_0x231609[_0x11f6d3(0x1d9)]||!this[_0x11f6d3(0x1df)][_0x11f6d3(0x15a)](this[_0x11f6d3(0x1ca)](_0x231609))),this[_0x11f6d3(0x156)][_0x11f6d3(0x176)]&&G(this[_0x11f6d3(0x156)],this[_0x11f6d3(0x156)][0x0][_0x11f6d3(0x125)]),await this[_0x11f6d3(0x1e4)](_0x4c3192),_0x154144=this[_0x11f6d3(0x1de)](_0x4c3192,_0x563bc8[_0x11f6d3(0x166)],_0x563bc8[_0x11f6d3(0x1aa)]),this[_0x11f6d3(0x15d)]=Math[_0x11f6d3(0x190)](this[_0x11f6d3(0x15d)]/0x2);}return _0x154144?!this[_0x11f6d3(0x16d)]()||(this[_0x11f6d3(0x117)](!0x0),!0x1):this[_0x11f6d3(0x179)](_0x11f6d3(0x1c1));}[_0x34734c(0x1de)](_0x420948,_0x27f3e1,_0xf161a2){const _0x146486=_0x34734c;try{const _0x30cc88={'document':this[_0x146486(0xff)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4c7d7f,operationsB:_0x255203,originalOperations:_0x28c69f}=_0x38bb68(_0x420948,this[_0x146486(0x156)],_0x30cc88);G(_0x4c7d7f,this[_0x146486(0xff)][_0x146486(0x166)]),G(_0x255203,_0x27f3e1);for(const _0x45a0a1 of _0x4c7d7f){const _0x30054e=_0x28c69f[_0x146486(0x16b)](_0x45a0a1);_0x45a0a1[_0x146486(0x139)]=_0x30054e?_0x30054e[_0x146486(0x139)]:null;}_0xf161a2&&(this[_0x146486(0x19e)][_0x146486(0x162)](_0x420948,_0xf161a2),this[_0x146486(0x1bb)]=_0xf161a2),this[_0x146486(0x156)]=[..._0x255203],this[_0x146486(0x147)](_0x4c7d7f),this[_0x146486(0x1dc)](_0x420948);}catch(_0x2ef970){return console[_0x146486(0x15c)](_0x2ef970),!0x1;}return!0x0;}[_0x34734c(0x147)](_0x552f24,_0x4f29cc=!0x1){const _0x40861c=_0x34734c;this[_0x40861c(0x1b4)][_0x40861c(0x1d2)][_0x40861c(0x1c6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x13a900=>{const _0x4091b4=_0x40861c;for(const _0x217d95 of _0x552f24)this[_0x4091b4(0x1a6)][_0x4091b4(0x16c)](_0x217d95),this[_0x4091b4(0x14e)](_0x217d95),_0x13a900[_0x4091b4(0x1e8)][_0x4091b4(0x1d8)](_0x217d95),this[_0x4091b4(0x1b4)][_0x4091b4(0x1d2)][_0x4091b4(0x11c)](_0x217d95);});}[_0x34734c(0x14e)](_0x4771c7){const _0x76867=_0x34734c,_0x25b1d1=this[_0x76867(0x1ca)](_0x4771c7);_0x25b1d1&&this[_0x76867(0x1df)][_0x76867(0x16c)](_0x25b1d1);}[_0x34734c(0x1ca)](_0x5cc17f){const _0x1aea5c=_0x34734c;let _0x31ef48,_0x402941;switch(_0x5cc17f[_0x1aea5c(0x157)]){case _0x1aea5c(0xf4):_0x31ef48=_0x5cc17f[_0x1aea5c(0x163)][_0x1aea5c(0x168)];break;case _0x1aea5c(0x13c):if(_0x402941=_0x5cc17f[_0x1aea5c(0x196)],!_0x402941)return null;_0x31ef48=_0x402941[_0x1aea5c(0x168)];break;case _0x1aea5c(0x107):_0x31ef48=_0x5cc17f[_0x1aea5c(0x168)];break;case _0x1aea5c(0x11f):_0x31ef48=_0x5cc17f[_0x1aea5c(0x1d1)];break;case _0x1aea5c(0x1ce):_0x31ef48=_0x5cc17f[_0x1aea5c(0x133)][_0x1aea5c(0x168)];break;default:return null;}return _0x31ef48[_0x1aea5c(0x1ac)];}[_0x34734c(0x1dc)](_0x34d7af){const _0x408935=_0x34734c;_0x34d7af[_0x408935(0x143)](_0x42f919=>{const _0x47a20a=_0x408935,_0x590255=_0x42f919[_0x47a20a(0x14b)]();_0x590255[_0x47a20a(0x139)]=_0x42f919[_0x47a20a(0x139)],_0x590255[_0x47a20a(0x1d9)]=!!_0x42f919[_0x47a20a(0x1d9)],_0x590255[_0x47a20a(0x17a)]=_0x42f919[_0x47a20a(0x17a)],_0x590255[_0x47a20a(0x125)]+=this[_0x47a20a(0x1f4)],_0x42f919[_0x47a20a(0x199)]&&this[_0x47a20a(0x10f)][_0x47a20a(0x16c)](_0x590255),this[_0x47a20a(0x165)][_0x47a20a(0x1d8)](_0x590255);});}[_0x34734c(0x152)](_0x40c0ea){const _0x2828b6=_0x34734c,_0x4497e6=this[_0x2828b6(0x1b4)][_0x2828b6(0x11d)][_0x2828b6(0x16b)](_0x2828b6(0x188)),_0x3ff6b4=this[_0x2828b6(0x1b4)][_0x2828b6(0x178)];_0x40c0ea||(_0x40c0ea=_0x289ccc(_0x3ff6b4,_0x2828b6(0x14a))),_0x4497e6[_0x2828b6(0x1d4)](_0x40c0ea,{'title':_0x289ccc(_0x3ff6b4,_0x2828b6(0x1f3)),'namespace':_0x2828b6(0x158)}),this[_0x2828b6(0x1dd)]=!0x0,clearTimeout(this[_0x2828b6(0x12e)]),this[_0x2828b6(0x156)]=[],this[_0x2828b6(0x1b4)][_0x2828b6(0x11d)][_0x2828b6(0x16b)](_0x27fc8c)[_0x2828b6(0x144)]();}[_0x34734c(0x145)](){const _0x21a726=_0x34734c;this[_0x21a726(0x1cd)]||(this[_0x21a726(0x1cd)]=this[_0x21a726(0x1b4)][_0x21a726(0x11d)][_0x21a726(0x16b)](_0x544a7f)[_0x21a726(0x16c)](_0x289ccc(this[_0x21a726(0x1b4)][_0x21a726(0x178)],_0x21a726(0x185))));}[_0x34734c(0xf9)](){const _0x57352b=_0x34734c;this[_0x57352b(0x1cd)]&&(this[_0x57352b(0x1b4)][_0x57352b(0x11d)][_0x57352b(0x16b)](_0x544a7f)[_0x57352b(0x197)](this[_0x57352b(0x1cd)]),this[_0x57352b(0x1cd)]=null);}[_0x34734c(0x141)](_0x1ccbee){const _0x3e6a5b=_0x34734c,_0x4922de=_0x1ccbee[_0x3e6a5b(0x155)](_0x2cf3c8=>_0x2cf3c8[_0x3e6a5b(0x11e)]());return this[_0x3e6a5b(0x1e2)][_0x3e6a5b(0x130)](_0x4922de);}[_0x34734c(0x174)](_0x5d1935,_0x47a748){const _0x1874a7=_0x34734c;return this[_0x1874a7(0x1e2)][_0x1874a7(0x1da)](_0x5d1935)[_0x1874a7(0x155)]((_0x2fd3e1,_0x367b23)=>{const _0x12b113=_0x1874a7,_0x6769d0=_0x12b113(0x1f1)==_0x47a748[_0x367b23][_0x12b113(0x157)];if(_0x12b113(0xf3)==_0x2fd3e1[_0x12b113(0x1ed)]){const _0x2cdd67=_0x2fd3e1[_0x12b113(0x163)][_0x12b113(0x168)];!this[_0x12b113(0xff)][_0x12b113(0xfd)](_0x2cdd67)&&(this[_0x12b113(0xff)][_0x12b113(0x1d5)](_0x12b113(0x191),_0x2cdd67)[_0x12b113(0x15b)]=!0x1);}const _0xa82f0b=_0x11dfbb[_0x12b113(0x1b2)](_0x2fd3e1,this[_0x12b113(0xff)]);return _0xa82f0b[_0x12b113(0x1b0)]=_0x2fd3e1[_0x12b113(0x1b0)],_0xa82f0b[_0x12b113(0x1d9)]=_0x6769d0,_0xa82f0b[_0x12b113(0x139)]=_0x6769d0?null:_0x47a748[_0x367b23][_0x12b113(0x1c7)],_0xa82f0b[_0x12b113(0x199)]=_0x12b113(0x151)===_0x47a748[_0x367b23][_0x12b113(0x157)],_0xa82f0b[_0x12b113(0x17a)]=_0x47a748[_0x367b23][_0x12b113(0x17a)],_0xa82f0b;});}[_0x34734c(0x1f5)](){const _0x2a094e=_0x34734c;this[_0x2a094e(0xf5)]=!0x0,this[_0x2a094e(0x150)]()?this[_0x2a094e(0x117)]():this[_0x2a094e(0xf5)]=!0x1;}[_0x34734c(0x150)](){const _0x329f0b=_0x34734c,_0x3344d5=this[_0x329f0b(0x1b4)][_0x329f0b(0x11d)][_0x329f0b(0x16b)](_0x271027)[_0x329f0b(0x1c4)][_0x329f0b(0x16b)](this[_0x329f0b(0x153)]);return!this[_0x329f0b(0x1b4)][_0x329f0b(0xfe)]&&!!_0x3344d5&&_0x3344d5[_0x329f0b(0x176)]>0x1&&this[_0x329f0b(0xf5)];}[_0x34734c(0x16d)](){const _0x39eb2e=_0x34734c;return this[_0x39eb2e(0x156)][_0x39eb2e(0x176)]>0x0||this[_0x39eb2e(0x150)]();}}class ReconnectionError extends Error{}function G(_0x57cd4b,_0x22429c){const _0x4e4eb3=_0x34734c;for(const _0x26f5bd of _0x57cd4b)_0x26f5bd[_0x4e4eb3(0x125)]=_0x22429c++;}function _0x4b89(){const _0x3f1234=['removeFromReconnectionStack','define','Notification','unregister','suppressErrorInCollaboration','keys','cloudServices.bundleVersion','_setUpDataInit','_handleServerResponse','_connectService','round','$root','stop','_getOperationsFromInitData','realtimecollaborationclient-init-session-connection-error','isUndoneOperation','newRange','remove','164705gAUasH','_isDisconnection','collaboration','createPositionFromPath','setPermissions','_isLoaded','_operationIdentifier','10YkfCCC','_bufferRootLoad','connection','selection','ready','Permissions','realtimecollaborationclient-init-service-incorrect-server-operation','_knownOperations','addUser','409','RealTimeCollaborationClient','lastOperationId','connect','rootName','operationsReceived','return','_disconnectService','wasUndone','85782nrudCS','fromJSON','currentDocumentSession','editor','isEnabled','change:range','parse','realtimecollaborationclient-init-non-existent-root','CollaborativeEditingService','getDocumentDetails','_lastSyncedOperationId','getConnectedSessions','disableReadOnlyMode','_isPendingUpdate','finally','lastDocumentSession','realtimecollaborationclient-handleserverresponse','createPositionAt','initData','channelSessions','reconnect','enqueueChange','userId','view','attributes','_getAffectedRoot','404','isDocumentOperation','_pendingAction','move','_isEditingAllowed','getOperations','affectedSelectable','model','getUser','showWarning','createRoot','mySessionId','startsWith','addOperation','_isInit','decompress','sessionAdd:','_updateServerHistory','_hasSynchronizationProblem','_handleExternalOperations','_knownRootNames','enableReadOnlyMode','stopListening','_compressor','catch','_fetchMissingUsers','connected','fire','from','batch','entries','createRange','2663091VdADWi','permissions','__className','listenTo','rtc-offline','directChange','init','_isConnected','Synchronization\x20issue','_offset','_refreshUserSelectionMarkers','string','_handleInitialConnectionData','_saveOperationInBuffer','affectsData','_initSessionsHandling','InsertOperation','insert','_hasSelectionChanged','realtimecollaborationclient-init-document-already-initialized','_service','reconnection:\x20flushed\x20session','_clearPendingAction','requires','push','differ','getRoot','isReadOnly','_document','collaboration-missing-channelid','rtc-destroyed','change:_isPendingUpdate','4222229zdICpW','offset','_handleSendingSelectionMarkers','destroy','addRootAttribute','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleReconnectionResponse','reset','realtimecollaborationclient','metadata','state','_waitUntilSynced','_disconnectionOperations','lastSyncVersion','set','sendOperations','filter','multi-root-editor-root-attributes-no-root','markers','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','path','change:_isEditingAllowed','code','applyOperation','plugins','toJSON','addRoot','createUserMarkerOperations','addToReconnectionStack','disconnected','register','message','baseVersion','size','change:hasDomSelection','_lastServerVersion','_sendBufferedOperations','history','_initThrowingOnDataSet','collaboration.channelId','config','_sendBufferedOperationsDelayId','pluginName','compress','4WyDknQ','includes','targetPosition','start','editing','wereChangesApplied','cloud-services-internal-error:\x20Not\x20connected.','sessionId','_authorId','realtimecollaborationclient-error','_handleReceivedOperations','marker','sessionCreatedAt','realtimecollaborationclient-init-service-internal-error','getMany','data','_compressOperations','then','forEach','disconnect','_setPendingAction','cloudDocumentVersion','_applyOperationsSet','36knAksr','off','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.','clone','CommentsOnly','_loadRoot','_addKnownRoot','6yfcDEN','_shouldSendSelectionUpdate','cs:removeUser','_handleReconnectionError','_channelId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','map','_bufferedOperations','type','real-time-collaboration','isPremiumPlugin','has','_isAttached','error','_currentBufferDelay','bind','roots','_baseBufferDelay','isOfficialPlugin','setIdForTheLastOperation','position','apply','serverHistory','version','_ignoredOperations','root','_operationToId','lastOperationAcceptedAt','get','add','_shouldSendUpdate','loadRoot','end','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Request\x20timeout.','document:write','328173ClniMq','_decompressOperations','high','length','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.','locale','_crash','createdAt','getIdOfTheLastOperation','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getOperationAuthor','document','rootsAttributes','97664qThnma','2817672TVVecD','slice','7HGTthc','PENDING_ACTION_SENDING_DATA'];_0x4b89=function(){return _0x3f1234;};return _0x4b89();}class OperationIdentifier{[_0x34734c(0x167)];[_0x34734c(0x169)];constructor(_0x37476f){const _0x4a2612=_0x34734c;this[_0x4a2612(0x167)]=_0x37476f,this[_0x4a2612(0x169)]=new WeakMap();}[_0x34734c(0x17b)](_0x448505){const _0x1b16dc=_0x34734c;let _0x16cb64=_0x448505[_0x1b16dc(0x176)];for(;_0x16cb64--;){const _0x2498f1=_0x448505[_0x16cb64];if(!this[_0x1b16dc(0x167)][_0x1b16dc(0x15a)](_0x2498f1)){if(!this[_0x1b16dc(0x169)][_0x1b16dc(0x15a)](_0x2498f1)){const _0x39d229=_0x21adc6()[_0x1b16dc(0x183)](0x1,0x12);this[_0x1b16dc(0x169)][_0x1b16dc(0x111)](_0x2498f1,_0x39d229);}return this[_0x1b16dc(0x169)][_0x1b16dc(0x16b)](_0x2498f1);}}}[_0x34734c(0x162)](_0x4580b7,_0x938299){const _0x18cfa8=_0x34734c;if(!_0x938299)return;let _0x68ae20=_0x4580b7[_0x18cfa8(0x176)];for(;_0x68ae20--;){const _0x41a22d=_0x4580b7[_0x68ae20];this[_0x18cfa8(0x167)][_0x18cfa8(0x15a)](_0x41a22d)||this[_0x18cfa8(0x169)][_0x18cfa8(0x111)](_0x41a22d,_0x938299);}}}
|
|
23
|
+
const _0x25a446=_0x3ff8;(function(_0x2f8739,_0x124994){const _0x3e52c0=_0x3ff8,_0x10d0e1=_0x2f8739();while(!![]){try{const _0x425350=parseInt(_0x3e52c0(0x258))/0x1+-parseInt(_0x3e52c0(0x2ab))/0x2+-parseInt(_0x3e52c0(0x213))/0x3*(parseInt(_0x3e52c0(0x1ce))/0x4)+-parseInt(_0x3e52c0(0x282))/0x5*(parseInt(_0x3e52c0(0x1bd))/0x6)+-parseInt(_0x3e52c0(0x1e0))/0x7*(parseInt(_0x3e52c0(0x1ed))/0x8)+parseInt(_0x3e52c0(0x265))/0x9*(-parseInt(_0x3e52c0(0x27c))/0xa)+parseInt(_0x3e52c0(0x251))/0xb*(parseInt(_0x3e52c0(0x212))/0xc);if(_0x425350===_0x124994)break;else _0x10d0e1['push'](_0x10d0e1['shift']());}catch(_0x4d41b4){_0x10d0e1['push'](_0x10d0e1['shift']());}}}(_0x5ca6,0xe2aeb));import{Plugin as _0x432f4b,PendingActions as _0x2cf343}from'ckeditor5/src/core.js';import{CKEditorError as _0x724397,version as _0x961a72,uid as _0x1e5221}from'ckeditor5/src/utils.js';import{Notification as _0x4a0413}from'ckeditor5/src/ui.js';function _0x5ca6(){const _0x363435=['_waitUntilSynced','clone','_updateServerHistory','has','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-init-connection-failed','register','init','isDocumentOperation','off','realtimecollaborationclient-handleserverresponse','from','_isConnected','realtimecollaborationclient','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','startsWith','883410MuyQdX','_sendBufferedOperations','rtc-destroyed','sessionAdd:','realtimecollaborationclient-error','_handleSendingSelectionMarkers','2918380aabMmu','_compressOperations','add','_setPendingAction','createRange','sendOperations','view','change:_isEditingAllowed','ready','_initSessionsHandling','isUndoneOperation','showWarning','cloud-services-internal-error:\x20Not\x20connected.','setIdForTheLastOperation','affectedSelectable','string','code','_isPendingUpdate','differ','CollaborativeEditingService','realtimecollaborationclient-sendbufferedoperations','addRootAttribute','_isLoaded','message','_isInit','_fetchMissingUsers','locale','_initThrowingOnDataSet','addRoot','_hasSelectionChanged','collaboration','getConnectedSessions','listenTo','markers','high','stopListening','decompress','_baseBufferDelay','compress','data','_ignoredOperations','1790350rIoDGK','realtimecollaborationclient-init-document-already-initialized','createPositionAt','lastOperationAcceptedAt','loadRoot','addOperation','_shouldSendUpdate','state','_shouldSendSelectionUpdate','disconnect','_lastServerVersion','toJSON','isEnabled','getMany','addToReconnectionStack','getRoot','_getAffectedRoot','return','currentDocumentSession','rootsAttributes','remove','_authorId','connection','filter','_getOperationsFromInitData','document','6qAaqlP','forEach','real-time-collaboration','initData','bind','_clearPendingAction','_isEditingAllowed','_handleInitialConnectionData','_bufferRootLoad','wereChangesApplied','_addKnownRoot','_handleReceivedOperations','offset','position','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_handleReconnectionError','_handleExternalOperations','371836AivOIJ','map','Synchronization\x20issue','end','metadata','move','_disconnectService','_sendBufferedOperationsDelayId','stop','config','createRoot','getOperations','isReadOnly','attributes','operationsReceived','realtimecollaborationclient-init-service-internal-error','createUserMarkerOperations','get','21kUlaGT','model','getUser','disconnected','connect','round','setPermissions','cloudDocumentVersion','getOperationAuthor','set','enableReadOnlyMode','_applyOperationsSet','apply','236928GvGTLX','cs:removeUser','lastSyncVersion','_refreshUserSelectionMarkers','createPositionFromPath','_isDisconnection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_hasSynchronizationProblem','_service','_knownRootNames','unregister','slice','destroy','requires','409','isPremiumPlugin','error','wasUndone','getDocumentDetails','channelSessions','entries','isOfficialPlugin','_currentBufferDelay','history','_saveOperationInBuffer','sessionId','_crash','pluginName','targetPosition','then','rootName','Permissions','sessionCreatedAt','_operationIdentifier','_compressor','createdAt','plugins','34987968ZyLstP','15cuGuxq','change:range','length','realtimecollaborationclient-init-service-incorrect-server-operation','_document','serverHistory','_pendingAction','_connectAfterSessionHasBeenFlushed','size','multi-root-editor-root-attributes-no-root','reconnection:\x20flushed\x20session','getIdOfTheLastOperation','selection','reconnect','marker','addUser','removeFromReconnectionStack','_disconnectionOperations','_loadRoot','root','realtimecollaborationclient-init-session-connection-error','enqueueChange','userId','_knownOperations','change:hasDomSelection','affectsData','start','push','applyOperation','change:_isPendingUpdate','reset','collaboration-missing-channelid','_decompressOperations','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.','permissions','mySessionId','Notification','batch','_sendBufferedOperationsDelayed','version','$root','realtimecollaborationclient-init-non-existent-root','_operationToId','directChange','fire','document:write','finally','newRange','parse','rtc-offline','_isAttached','fromJSON','editing','catch','404','lastOperationId','_setUpDataInit','_bufferedOperations','editor','_channelId','CommentsOnly','define','11XFPOvV','disableReadOnlyMode','keys','collaboration.channelId','cloudServices.bundleVersion','insert','_handleReconnectionResponse','1282095RDCLmH','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','baseVersion','_offset','InsertOperation','RealTimeCollaborationClient','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.','__className','type','_handleServerResponse','_connectService','_lastSyncedOperationId','includes','126LOJlnQ','cloud-services-internal-error:\x20Request\x20timeout.','suppressErrorInCollaboration','roots','path','connected','lastDocumentSession'];_0x5ca6=function(){return _0x363435;};return _0x5ca6();}import{transformOperationSets as _0x1e6334,NoOperation as _0x38063a,InsertOperation as _0x29bec1,MarkerOperation as _0x1fdd36,RootAttributeOperation as _0x2ac109,OperationFactory as _0x53c560,History as _0x3f73ee}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2028a9}from'./websocketgateway.js';import{Sessions as _0x2d3865}from'./sessions.js';import{UserMarkers as _0x1050e8}from'./usermarkers.js';import{getTranslation as _0x1a0091}from'../common-translations.js';import{Compressor as _0x4274d1}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5d4f70}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5dd798,CollaborativeEditingService as _0x287268}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;function _0x3ff8(_0x43cc93,_0x180ab5){const _0x5ca6ac=_0x5ca6();return _0x3ff8=function(_0x3ff814,_0x50bba0){_0x3ff814=_0x3ff814-0x1b0;let _0x268a55=_0x5ca6ac[_0x3ff814];return _0x268a55;},_0x3ff8(_0x43cc93,_0x180ab5);}export class RealTimeCollaborationClient extends _0x432f4b{static [_0x25a446(0x295)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x287268)());[_0x25a446(0x25b)];[_0x25a446(0x206)];[_0x25a446(0x218)];[_0x25a446(0x24e)];[_0x25a446(0x1f5)];[_0x25a446(0x217)];[_0x25a446(0x20f)];[_0x25a446(0x24c)];[_0x25a446(0x22a)];[_0x25a446(0x1f6)];[_0x25a446(0x219)];[_0x25a446(0x29f)];[_0x25a446(0x1d5)];[_0x25a446(0x2a7)];[_0x25a446(0x203)];[_0x25a446(0x263)];[_0x25a446(0x224)];[_0x25a446(0x20e)];static get[_0x25a446(0x1fa)](){return[_0x2028a9,_0x2d3865,_0x1050e8,_0x2cf343,_0x5d4f70,_0x4a0413];}static get[_0x25a446(0x208)](){const _0x13ff3a=_0x25a446;return _0x13ff3a(0x25d);}static get[_0x25a446(0x202)](){return!0x0;}static get[_0x25a446(0x1fc)](){return!0x0;}get[_0x25a446(0x1e7)](){const _0x215a44=_0x25a446;return this[_0x215a44(0x2b5)]+this[_0x215a44(0x25b)];}get[_0x25a446(0x2b5)](){const _0x3667c9=_0x25a446;return this[_0x3667c9(0x218)][_0x3667c9(0x23a)]-this[_0x3667c9(0x25b)];}get[_0x25a446(0x1ef)](){const _0x52d660=_0x25a446,_0x439da3=this[_0x52d660(0x218)][_0x52d660(0x1d9)]();for(let _0x1d102e=_0x439da3[_0x52d660(0x215)]-0x1;_0x1d102e>=0x0;_0x1d102e--){const _0x59c9f4=_0x439da3[_0x1d102e];if(!this[_0x52d660(0x224)][_0x52d660(0x26f)](_0x59c9f4))return _0x59c9f4[_0x52d660(0x25a)]+0x1-this[_0x52d660(0x25b)];}return 0x0;}constructor(_0x3117ee){const _0x2762a0=_0x25a446;if(super(_0x3117ee),this[_0x2762a0(0x25b)]=0x0,this[_0x2762a0(0x206)]=null,this[_0x2762a0(0x218)]=new _0x3f73ee(),this[_0x2762a0(0x24d)][_0x2762a0(0x1d7)][_0x2762a0(0x250)](_0x2762a0(0x2a0),{}),this[_0x2762a0(0x24e)]=this[_0x2762a0(0x24d)][_0x2762a0(0x1d7)][_0x2762a0(0x1df)](_0x2762a0(0x254)),!this[_0x2762a0(0x24e)])throw new _0x724397(_0x2762a0(0x232),this);const _0x1bb5b4=_0x3117ee[_0x2762a0(0x1d7)][_0x2762a0(0x1df)](_0x2762a0(0x255))||_0x961a72;this[_0x2762a0(0x1f5)]=new RealTimeCollaborationClient[(_0x2762a0(0x295))](_0x1bb5b4,this[_0x2762a0(0x24e)]),this[_0x2762a0(0x217)]=this[_0x2762a0(0x24d)][_0x2762a0(0x1e1)][_0x2762a0(0x1bc)],this[_0x2762a0(0x20f)]=new _0x4274d1(),this[_0x2762a0(0x24c)]=[],this[_0x2762a0(0x22a)]=new WeakSet(),this[_0x2762a0(0x1f6)]=new Set(),this[_0x2762a0(0x1e9)](_0x2762a0(0x293),!0x1),this[_0x2762a0(0x1e9)](_0x2762a0(0x1f4),!0x1),this[_0x2762a0(0x219)]=null,this[_0x2762a0(0x29f)]=!0x1,this[_0x2762a0(0x1d5)]=null,this[_0x2762a0(0x2a7)]=0x12c,this[_0x2762a0(0x203)]=this[_0x2762a0(0x2a7)],this[_0x2762a0(0x263)]=null,this[_0x2762a0(0x224)]=new WeakSet(),this[_0x2762a0(0x20e)]=new OperationIdentifier(this[_0x2762a0(0x224)]);}[_0x25a446(0x273)](){const _0x4dd753=_0x25a446,_0x1b6860=this[_0x4dd753(0x24d)],_0x1c03e3=_0x1b6860[_0x4dd753(0x211)][_0x4dd753(0x1df)](_0x5d4f70),_0x391c3c=_0x1b6860[_0x4dd753(0x211)][_0x4dd753(0x1df)](_0x2028a9);this[_0x4dd753(0x2a2)](_0x1c03e3,_0x4dd753(0x1e8),(_0x28a2e5,_0x97ae8d)=>{const _0x2171d1=_0x4dd753,_0xd99a0d=_0x97ae8d[0x0];_0xd99a0d[_0x2171d1(0x1b8)]&&(_0x28a2e5[_0x2171d1(0x1b4)]=_0x1c03e3[_0x2171d1(0x1e2)](_0xd99a0d[_0x2171d1(0x1b8)]),_0x28a2e5[_0x2171d1(0x1d6)]()),null===_0xd99a0d[_0x2171d1(0x1b8)]&&(_0x28a2e5[_0x2171d1(0x1b4)]=null,_0x28a2e5[_0x2171d1(0x1d6)]());},{'priority':_0x4dd753(0x2a4)}),this[_0x4dd753(0x2a2)](_0x1b6860[_0x4dd753(0x1e1)][_0x4dd753(0x1bc)][_0x4dd753(0x21f)],_0x4dd753(0x214),(_0x25700f,_0x350909)=>{const _0x17fa5c=_0x4dd753;_0x350909[_0x17fa5c(0x23e)]&&this[_0x17fa5c(0x1f0)]();}),this[_0x4dd753(0x2a2)](_0x1b6860[_0x4dd753(0x247)][_0x4dd753(0x288)],_0x4dd753(0x22b),()=>{const _0x1c9fee=_0x4dd753;this[_0x1c9fee(0x1f0)]();}),this[_0x4dd753(0x29d)](),_0x1b6860[_0x4dd753(0x1e1)]['on'](_0x4dd753(0x22f),(_0x198cc3,_0x52dadc)=>{const _0x4a6a0b=_0x4dd753,_0x39ccb4=_0x52dadc[0x0];_0x39ccb4[_0x4a6a0b(0x274)]&&(this[_0x4a6a0b(0x205)](_0x39ccb4),this[_0x4a6a0b(0x2b1)]()&&this[_0x4a6a0b(0x239)]());}),this[_0x4dd753(0x24b)](),this[_0x4dd753(0x1c1)](_0x4dd753(0x1c3))['to'](_0x391c3c,_0x4dd753(0x2b2),this,_0x4dd753(0x1f4),(_0x1bc367,_0xfc79c6)=>_0x4dd753(0x26a)===_0x1bc367&&!_0xfc79c6),this['on'](_0x4dd753(0x289),()=>{const _0x32edcc=_0x4dd753;this[_0x32edcc(0x1c3)]?_0x1b6860[_0x32edcc(0x252)](_0x32edcc(0x244)):_0x1b6860[_0x32edcc(0x1ea)](_0x32edcc(0x244));}),this[_0x4dd753(0x1c3)]?_0x1b6860[_0x4dd753(0x252)](_0x4dd753(0x244)):_0x1b6860[_0x4dd753(0x1ea)](_0x4dd753(0x244)),this[_0x4dd753(0x1e9)](_0x4dd753(0x278),!0x1);}async[_0x25a446(0x220)](){const _0x2ca017=_0x25a446,_0x32601a=this[_0x2ca017(0x24d)][_0x2ca017(0x211)][_0x2ca017(0x1df)](_0x2d3865),_0x51d9c0=this[_0x2ca017(0x24d)][_0x2ca017(0x211)][_0x2ca017(0x1df)](_0x2028a9);try{this[_0x2ca017(0x293)]=!0x0,_0x32601a[_0x2ca017(0x1f7)](this[_0x2ca017(0x24e)]);const _0x57f8bd=await this[_0x2ca017(0x1f5)][_0x2ca017(0x220)](_0x51d9c0[_0x2ca017(0x1b9)],this[_0x2ca017(0x1ef)]);await this[_0x2ca017(0x257)](_0x57f8bd)&&(this[_0x2ca017(0x293)]=!0x1,this[_0x2ca017(0x1c2)]());const _0x1436f9=await this[_0x2ca017(0x1f5)][_0x2ca017(0x2a1)]();_0x32601a[_0x2ca017(0x272)](this[_0x2ca017(0x24e)],_0x1436f9),this[_0x2ca017(0x281)](),this[_0x2ca017(0x278)]=!0x0;}catch(_0x58bc24){if(function(_0x4b01ef){const _0x4b87a7=_0x2ca017;return _0x4b87a7(0x249)===_0x4b01ef[_0x4b87a7(0x292)];}(_0x58bc24)&&this[_0x2ca017(0x206)])await this[_0x2ca017(0x21a)]();else{if(function(_0x1311cb){const _0x5c2527=_0x2ca017;return _0x5c2527(0x1fb)===_0x1311cb[_0x5c2527(0x292)];}(_0x58bc24)){const _0x45b568=_0x1a0091(this[_0x2ca017(0x24d)][_0x2ca017(0x29c)],_0x2ca017(0x27a));this[_0x2ca017(0x1cc)](_0x45b568);}else{if(!(_0x58bc24 instanceof ReconnectionError))throw _0x58bc24;this[_0x2ca017(0x1cc)]();}}}}[_0x25a446(0x1f9)](){const _0x2aac4a=_0x25a446,_0x4d119e=this[_0x2aac4a(0x24d)][_0x2aac4a(0x211)][_0x2aac4a(0x1df)](_0x2028a9),_0x3fb3d1=this[_0x2aac4a(0x24d)][_0x2aac4a(0x211)][_0x2aac4a(0x1df)](_0x2d3865);this[_0x2aac4a(0x24d)][_0x2aac4a(0x1ea)](_0x2aac4a(0x27e)),_0x3fb3d1[_0x2aac4a(0x200)][_0x2aac4a(0x26f)](this[_0x2aac4a(0x24e)])&&_0x3fb3d1[_0x2aac4a(0x1f7)](this[_0x2aac4a(0x24e)]),_0x4d119e[_0x2aac4a(0x223)](this),this[_0x2aac4a(0x1d4)](),super[_0x2aac4a(0x1f9)]();}async[_0x25a446(0x257)](_0x46a75a){const _0x3bda6d=_0x25a446;if(this[_0x3bda6d(0x206)]!==_0x46a75a[_0x3bda6d(0x206)]&&this[_0x3bda6d(0x263)]!==_0x46a75a[_0x3bda6d(0x24a)])throw new ReconnectionError();return this[_0x3bda6d(0x206)]=_0x46a75a[_0x3bda6d(0x206)],this[_0x3bda6d(0x261)]([],{..._0x46a75a,'wereChangesApplied':!0x1,'data':_0x46a75a[_0x3bda6d(0x2a9)]},_0x3bda6d(0x220));}async[_0x25a446(0x262)](_0x39f96d,_0x5e194b=!0x1){const _0x3753d3=_0x25a446,{connection:_0x1e6416}=this[_0x3753d3(0x24d)][_0x3753d3(0x211)][_0x3753d3(0x1df)](_0x2028a9);RealTimeCollaborationClient[_0x3753d3(0x295)][_0x3753d3(0x2a1)](_0x1e6416,this[_0x3753d3(0x24e)])[_0x3753d3(0x20a)](_0x2e4683=>this[_0x3753d3(0x28b)](_0x2e4683))[_0x3753d3(0x248)](_0x4815a6=>{const _0x78e9b4=_0x3753d3;this[_0x78e9b4(0x207)](_0x78e9b4(0x227),_0x4815a6);}),this[_0x3753d3(0x2a2)](this[_0x3753d3(0x1f5)],_0x3753d3(0x1dc),this[_0x3753d3(0x1c8)][_0x3753d3(0x1c1)](this)),this[_0x3753d3(0x2a2)](this[_0x3753d3(0x1f5)],_0x3753d3(0x1fd),(_0x18ccc7,_0x4123b1)=>{const _0x151134=_0x3753d3;this[_0x151134(0x207)](_0x151134(0x1dd),_0x4123b1);}),this[_0x3753d3(0x2a2)](this[_0x3753d3(0x1f5)],_0x3753d3(0x1e3),()=>{const _0x30f7e4=_0x3753d3;this[_0x30f7e4(0x278)]=!0x1;});const _0x26bf95=this[_0x3753d3(0x20e)][_0x3753d3(0x21e)](_0x39f96d);this[_0x3753d3(0x293)]=!0x0;const _0x965e4c=await this[_0x3753d3(0x1f5)][_0x3753d3(0x1e4)](_0x1e6416,this[_0x3753d3(0x283)](_0x39f96d),_0x26bf95);if(this[_0x3753d3(0x206)]=_0x965e4c[_0x3753d3(0x206)],_0x5e194b){if(!_0x965e4c[_0x3753d3(0x1c6)])return void this[_0x3753d3(0x1cc)]();this[_0x3753d3(0x293)]=!0x1,this[_0x3753d3(0x1c2)](),this[_0x3753d3(0x218)][_0x3753d3(0x231)](),this[_0x3753d3(0x25b)]=_0x965e4c[_0x3753d3(0x1c9)],this[_0x3753d3(0x218)][_0x3753d3(0x23a)]=this[_0x3753d3(0x25b)],await this[_0x3753d3(0x261)](_0x39f96d,_0x965e4c,_0x3753d3(0x21d));}else await this[_0x3753d3(0x1c4)](_0x965e4c,_0x39f96d);this[_0x3753d3(0x281)](),this[_0x3753d3(0x278)]=!0x0;}[_0x25a446(0x281)](){const _0x4369d8=_0x25a446,_0x49d936=this[_0x4369d8(0x24d)][_0x4369d8(0x211)][_0x4369d8(0x1df)](_0x2d3865),_0x4cc711=this[_0x4369d8(0x24d)][_0x4369d8(0x211)][_0x4369d8(0x1df)](_0x1050e8),_0x501c65=_0x49d936[_0x4369d8(0x200)][_0x4369d8(0x1df)](this[_0x4369d8(0x24e)]);_0x501c65&&_0x501c65[_0x4369d8(0x215)]>0x1?_0x4cc711[_0x4369d8(0x1de)]():this[_0x4369d8(0x2a2)](_0x49d936,_0x4369d8(0x27f)+this[_0x4369d8(0x24e)],()=>{const _0x4e6b95=_0x4369d8;0x2===_0x49d936[_0x4e6b95(0x200)][_0x4e6b95(0x1df)](this[_0x4e6b95(0x24e)])[_0x4e6b95(0x215)]&&_0x4cc711[_0x4e6b95(0x1de)]();});}async[_0x25a446(0x1c8)](_0x47b814,_0xa5646,_0x4c2b35,_0x1c7592){const _0x66b534=_0x25a446;if(!this[_0x66b534(0x293)]&&this[_0x66b534(0x217)][_0x66b534(0x23a)]==_0xa5646){const _0x5f3929=this[_0x66b534(0x233)](_0x4c2b35,_0x1c7592);await this[_0x66b534(0x29b)](_0x5f3929),this[_0x66b534(0x1cd)](_0x5f3929,_0xa5646,_0x4c2b35[_0x66b534(0x24a)])||this[_0x66b534(0x207)](_0x66b534(0x216));}}async[_0x25a446(0x21a)](){const _0x23329c=_0x25a446;this[_0x23329c(0x1d4)]();const {locale:_0x1c06e6}=this[_0x23329c(0x24d)];let _0x2b0ee3;try{_0x2b0ee3=await this[_0x23329c(0x1f5)][_0x23329c(0x1ff)]();}catch{const _0x32b8b3=_0x1a0091(_0x1c06e6,_0x23329c(0x259));return void this[_0x23329c(0x1cc)](_0x32b8b3);}const _0x58bde4=_0x2b0ee3[_0x23329c(0x1b5)]||_0x2b0ee3[_0x23329c(0x26b)];if(this[_0x23329c(0x263)]!==_0x58bde4[_0x23329c(0x24a)]){const _0x22527b=_0x1a0091(_0x1c06e6,_0x23329c(0x234));return void this[_0x23329c(0x1cc)](_0x22527b);}await this[_0x23329c(0x262)](this[_0x23329c(0x24d)][_0x23329c(0x1e1)][_0x23329c(0x1bc)][_0x23329c(0x204)][_0x23329c(0x1d9)](),!0x0);}[_0x25a446(0x1d4)](){const _0x3863cb=_0x25a446;this[_0x3863cb(0x1f5)][_0x3863cb(0x2b4)](),this[_0x3863cb(0x24c)]=[],clearTimeout(this[_0x3863cb(0x1d5)]),this[_0x3863cb(0x2a5)](this[_0x3863cb(0x1f5)]);}[_0x25a446(0x28b)](_0x35886b){const _0x17aac5=_0x25a446,_0xe964a9=this[_0x17aac5(0x24d)][_0x17aac5(0x211)][_0x17aac5(0x1df)](_0x2d3865);this[_0x17aac5(0x2a2)](_0xe964a9,_0x17aac5(0x27f)+this[_0x17aac5(0x24e)],(_0x2dcca3,{session:_0x499f75})=>{const _0x5ebde0=_0x17aac5;if(_0x499f75['id']===_0xe964a9[_0x5ebde0(0x236)]){_0x2dcca3[_0x5ebde0(0x275)]();const _0x954de=this[_0x5ebde0(0x24d)][_0x5ebde0(0x211)][_0x5ebde0(0x26f)](_0x5ebde0(0x24f))&&this[_0x5ebde0(0x24d)][_0x5ebde0(0x211)][_0x5ebde0(0x1df)](_0x5ebde0(0x24f));let _0x3c0720=_0x499f75[_0x5ebde0(0x235)];_0x954de&&_0x954de[_0x5ebde0(0x2b7)]&&(_0x3c0720=_0x3c0720[_0x5ebde0(0x1ba)](_0x5d0b4b=>_0x5ebde0(0x240)!==_0x5d0b4b)),this[_0x5ebde0(0x24d)][_0x5ebde0(0x211)][_0x5ebde0(0x1df)](_0x5ebde0(0x20c))[_0x5ebde0(0x1e6)](_0x3c0720,this[_0x5ebde0(0x24e)]);}}),_0xe964a9[_0x17aac5(0x272)](this[_0x17aac5(0x24e)],_0x35886b);}[_0x25a446(0x29d)](){const _0x2159a7=_0x25a446,_0x54a591=this[_0x2159a7(0x24d)][_0x2159a7(0x2a9)][_0x2159a7(0x1e9)];this[_0x2159a7(0x24d)][_0x2159a7(0x2a9)][_0x2159a7(0x1e9)]=(..._0x8bf1f3)=>{const _0x38e44e=_0x2159a7;if(!_0x8bf1f3[_0x8bf1f3[_0x38e44e(0x215)]-0x1][_0x38e44e(0x267)])throw new _0x724397(_0x38e44e(0x1f3),this);_0x54a591[_0x38e44e(0x1ec)](this[_0x38e44e(0x24d)][_0x38e44e(0x2a9)],_0x8bf1f3);};}[_0x25a446(0x24b)](){const _0x60933a=_0x25a446;this[_0x60933a(0x24d)][_0x60933a(0x2a9)]['on'](_0x60933a(0x273),(_0x3f0b23,[_0x338736])=>{const _0x2df16a=_0x60933a;if(this[_0x2df16a(0x217)][_0x2df16a(0x23a)])throw new _0x724397(_0x2df16a(0x2ac),this);_0x3f0b23[_0x2df16a(0x1d6)](),this[_0x2df16a(0x285)]();const _0x591835=this[_0x2df16a(0x24d)][_0x2df16a(0x1d7)][_0x2df16a(0x1df)](_0x2df16a(0x1b6)),_0x3a2006=this[_0x2df16a(0x1bb)](_0x338736,_0x591835);0x0==_0x3a2006[_0x2df16a(0x215)]&&_0x3a2006[_0x2df16a(0x22e)](new _0x38063a(0x0)),_0x3f0b23[_0x2df16a(0x1b4)]=this[_0x2df16a(0x262)](_0x3a2006)[_0x2df16a(0x20a)](()=>{const _0x55f126=_0x2df16a;this[_0x55f126(0x24d)][_0x55f126(0x211)][_0x55f126(0x1df)](_0x2028a9)[_0x55f126(0x1b1)](this),this[_0x55f126(0x24d)][_0x55f126(0x2a9)][_0x55f126(0x23f)](_0x55f126(0x28a));})[_0x2df16a(0x248)](_0x4b1767=>this[_0x2df16a(0x207)](_0x2df16a(0x271),_0x4b1767))[_0x2df16a(0x241)](()=>this[_0x2df16a(0x1c2)]());},{'priority':_0x60933a(0x2a4)}),this[_0x60933a(0x24d)]['on'](_0x60933a(0x2af),async(_0xe7f12a,[_0x6e630b,_0x407bd8])=>{const _0x356be6=_0x60933a;_0xe7f12a[_0x356be6(0x1d6)]();const _0xba4335=this[_0x356be6(0x24d)][_0x356be6(0x1e1)][_0x356be6(0x1bc)][_0x356be6(0x1b2)](_0x6e630b);if(!this[_0x356be6(0x1f6)][_0x356be6(0x26f)](_0x6e630b)){const _0x7c00d4=_0x407bd8&&_0x407bd8[_0x356be6(0x2a9)]?_0x407bd8[_0x356be6(0x2a9)]:'',_0x22334c=_0x407bd8&&_0x407bd8[_0x356be6(0x1db)]?_0x407bd8[_0x356be6(0x1db)]:{};await this[_0x356be6(0x225)](_0x6e630b,_0x7c00d4,_0x22334c);}this[_0x356be6(0x24d)][_0x356be6(0x1e1)][_0x356be6(0x228)]({'isUndoable':!0x1},()=>{const _0x1f0b41=_0x356be6;_0xba4335[_0x1f0b41(0x298)]=!0x0,this[_0x1f0b41(0x24d)][_0x1f0b41(0x1e1)][_0x1f0b41(0x1bc)][_0x1f0b41(0x294)][_0x1f0b41(0x1c5)](_0xba4335);});},{'priority':_0x60933a(0x2a4)});}async[_0x25a446(0x29b)](_0x5eb0d8){const _0x4d0f92=_0x25a446,_0x1325f7=this[_0x4d0f92(0x24d)][_0x4d0f92(0x211)][_0x4d0f92(0x1df)](_0x5d4f70),{connection:_0x26901a}=this[_0x4d0f92(0x24d)][_0x4d0f92(0x211)][_0x4d0f92(0x1df)](_0x2028a9),_0x34a6c4=new Set();for(const _0x2b3760 of _0x5eb0d8){const _0x27f682=_0x2b3760[_0x4d0f92(0x1b8)];_0x27f682&&!_0x1325f7[_0x4d0f92(0x1e2)](_0x27f682)&&_0x34a6c4[_0x4d0f92(0x284)](_0x27f682);}if(0x0===_0x34a6c4[_0x4d0f92(0x21b)])return;const _0x5e3f34=await _0x5dd798[_0x4d0f92(0x1b0)](_0x26901a,Array[_0x4d0f92(0x277)](_0x34a6c4));for(const _0x24317b of _0x5e3f34)_0x1325f7[_0x4d0f92(0x1e2)](_0x24317b['id'])||_0x1325f7[_0x4d0f92(0x222)](_0x24317b);}[_0x25a446(0x1bb)](_0x2a0ad9,_0x48639d={}){const _0x385241=_0x25a446,_0x3dfa4e=this[_0x385241(0x24d)][_0x385241(0x1e1)],_0x24864f=[];let _0x54906a=0x0;const _0x189e9d=_0x385241(0x291)==typeof _0x2a0ad9?{'main':_0x2a0ad9}:_0x2a0ad9;for(const _0x41ee74 of Object[_0x385241(0x253)](_0x189e9d)){if(!this[_0x385241(0x217)][_0x385241(0x268)][_0x385241(0x26f)](_0x41ee74))throw new _0x724397(_0x385241(0x23c),this);const _0x29f92c=this[_0x385241(0x24d)][_0x385241(0x2a9)][_0x385241(0x243)](_0x189e9d[_0x41ee74]),_0x3d9811=this[_0x385241(0x217)][_0x385241(0x1b2)](_0x41ee74),_0x4f8e4c=new _0x29bec1(_0x3dfa4e[_0x385241(0x2ad)](_0x3d9811,0x0),_0x29f92c,_0x54906a++);_0x24864f[_0x385241(0x22e)](_0x4f8e4c);for(const [_0x3080a8,_0x4881e5]of _0x29f92c[_0x385241(0x2a3)]){const _0xd25227=_0x3dfa4e[_0x385241(0x286)](_0x3dfa4e[_0x385241(0x1f1)](_0x3d9811,_0x4881e5[_0x385241(0x22d)][_0x385241(0x269)][_0x385241(0x1f8)]()),_0x3dfa4e[_0x385241(0x1f1)](_0x3d9811,_0x4881e5[_0x385241(0x1d1)][_0x385241(0x269)][_0x385241(0x1f8)]())),_0x40ab56=new _0x1fdd36(_0x3080a8,null,_0xd25227,_0x3dfa4e[_0x385241(0x2a3)],!0x0,_0x54906a++);_0x24864f[_0x385241(0x22e)](_0x40ab56);}}if(_0x48639d)for(const [_0x57b2c4,_0xe99f2]of Object[_0x385241(0x201)](_0x48639d)){const _0x359466=_0x3dfa4e[_0x385241(0x1bc)][_0x385241(0x1b2)](_0x57b2c4);if(!_0x359466)throw new _0x724397(_0x385241(0x21c),null);for(const [_0x570938,_0x644d90]of Object[_0x385241(0x201)](_0xe99f2))if(null!==_0x644d90){const _0x4c7d53=new _0x2ac109(_0x359466,_0x570938,null,_0x644d90,_0x54906a++);_0x24864f[_0x385241(0x22e)](_0x4c7d53);}}return _0x24864f;}async[_0x25a446(0x225)](_0x41f0a9,_0x104657,_0x747616){const _0x26b342=_0x25a446;this[_0x26b342(0x1bb)]({[_0x41f0a9]:_0x104657},{[_0x41f0a9]:_0x747616})[_0x26b342(0x1be)]((_0x260f31,_0xdd2ad6)=>{const _0x4d6aca=_0x26b342;_0x260f31[_0x4d6aca(0x25a)]=this[_0x4d6aca(0x217)][_0x4d6aca(0x23a)]+_0xdd2ad6,_0x260f31[_0x4d6aca(0x29a)]=!0x0,this[_0x4d6aca(0x205)](_0x260f31);}),this[_0x26b342(0x239)](),await this[_0x26b342(0x26c)]();}async[_0x25a446(0x1c4)](_0x56abd6,_0x2cd5da){const _0x56c01b=_0x25a446;let _0x493777;this[_0x56c01b(0x25b)]=_0x56abd6[_0x56c01b(0x1c9)];const _0x27ac1c=_0x56abd6[_0x56c01b(0x1c6)]&&!_0x56abd6[_0x56c01b(0x1c0)],_0x58b550=_0x27ac1c?0x0:_0x56abd6[_0x56c01b(0x2a9)][_0x56c01b(0x25a)];if(_0x2cd5da[_0x56c01b(0x1be)](_0x6a596=>{const _0x373002=_0x56c01b;_0x6a596[_0x373002(0x29a)]=!0x0,_0x6a596[_0x373002(0x210)]=_0x56abd6[_0x373002(0x20d)],_0x6a596[_0x373002(0x1b8)]=null;}),_0x27ac1c)_0x493777=_0x2cd5da,this[_0x56c01b(0x1eb)](_0x493777,_0x27ac1c);else{if(_0x56abd6[_0x56c01b(0x1c0)]){const _0x20f308=this[_0x56c01b(0x1bb)](_0x56abd6[_0x56c01b(0x1c0)]);this[_0x56c01b(0x217)][_0x56c01b(0x204)][_0x56c01b(0x23a)]=-_0x20f308[_0x56c01b(0x215)],_0x20f308[_0x56c01b(0x1be)](_0x3d88b9=>{const _0x46f4f5=_0x56c01b;_0x3d88b9[_0x46f4f5(0x25a)]-=_0x20f308[_0x46f4f5(0x215)],_0x3d88b9[_0x46f4f5(0x210)]=_0x56abd6[_0x46f4f5(0x20d)],_0x3d88b9[_0x46f4f5(0x29a)]=!0x0,_0x3d88b9[_0x46f4f5(0x1b8)]=null;}),this[_0x56c01b(0x1eb)](_0x20f308,!0x0),this[_0x56c01b(0x218)][_0x56c01b(0x23a)]=-_0x20f308[_0x56c01b(0x215)]+this[_0x56c01b(0x25b)],this[_0x56c01b(0x26e)](_0x20f308);}this[_0x56c01b(0x217)][_0x56c01b(0x204)][_0x56c01b(0x23a)]=_0x58b550,_0x493777=this[_0x56c01b(0x233)](_0x56abd6[_0x56c01b(0x2a9)],_0x56abd6[_0x56c01b(0x1d2)]),await this[_0x56c01b(0x29b)](_0x493777),this[_0x56c01b(0x1eb)](_0x493777,_0x27ac1c);}_0x56abd6[_0x56c01b(0x24a)]&&(this[_0x56c01b(0x20e)][_0x56c01b(0x28f)](_0x493777,_0x56abd6[_0x56c01b(0x24a)]),this[_0x56c01b(0x263)]=_0x56abd6[_0x56c01b(0x24a)]),this[_0x56c01b(0x218)][_0x56c01b(0x23a)]=_0x58b550+this[_0x56c01b(0x25b)],this[_0x56c01b(0x26e)](_0x493777),_0x2cd5da[_0x56c01b(0x1ba)](_0x324d5b=>{const _0x513569=_0x56c01b,_0x385602=this[_0x513569(0x1b3)](_0x324d5b);return _0x385602&&!this[_0x513569(0x1f6)][_0x513569(0x26f)](_0x385602);})[_0x56c01b(0x1be)]((_0x583c20,_0x34cdf6)=>{const _0xe2c467=_0x56c01b;_0x583c20[_0xe2c467(0x25a)]=this[_0xe2c467(0x217)][_0xe2c467(0x23a)]+_0x34cdf6,this[_0xe2c467(0x205)](_0x583c20);}),this[_0x56c01b(0x2b1)]()?(this[_0x56c01b(0x203)]=0x0,this[_0x56c01b(0x239)](!0x0),await this[_0x56c01b(0x26c)]()):(this[_0x56c01b(0x293)]=!0x1,this[_0x56c01b(0x1c2)]());}[_0x25a446(0x207)](_0x5b6834,_0x494b94){const _0x499f05=_0x25a446,_0x36fa3e=_0x494b94&&_0x494b94[_0x499f05(0x299)];if(_0x36fa3e&&_0x36fa3e[_0x499f05(0x27b)](_0x499f05(0x279)))throw _0x494b94;const _0x54203d=this[_0x499f05(0x24d)][_0x499f05(0x211)][_0x499f05(0x1df)](_0x2028a9);throw this[_0x499f05(0x293)]=!0x0,_0x54203d[_0x499f05(0x2b4)](),this[_0x499f05(0x24d)][_0x499f05(0x1ea)](_0x499f05(0x280)),new _0x724397(_0x5b6834,this[_0x499f05(0x24d)],_0x36fa3e?{'originalError':_0x36fa3e}:void 0x0);}[_0x25a446(0x205)](_0x3a4fa6){const _0x2ec77e=_0x25a446;this[_0x2ec77e(0x22a)][_0x2ec77e(0x26f)](_0x3a4fa6)||(this[_0x2ec77e(0x22a)][_0x2ec77e(0x284)](_0x3a4fa6),this[_0x2ec77e(0x24c)][_0x2ec77e(0x22e)](_0x3a4fa6),this[_0x2ec77e(0x219)]||_0x2ec77e(0x221)==_0x3a4fa6[_0x2ec77e(0x260)]&&!_0x3a4fa6[_0x2ec77e(0x22c)]||this[_0x2ec77e(0x285)]());}[_0x25a446(0x239)](_0x3ebb54=!0x1){const _0x5be7f7=_0x25a446;!_0x3ebb54&&this[_0x5be7f7(0x293)]||(this[_0x5be7f7(0x293)]=!0x0,clearTimeout(this[_0x5be7f7(0x1d5)]),this[_0x5be7f7(0x1d5)]=setTimeout(()=>{const _0x2d722d=_0x5be7f7;this[_0x2d722d(0x27d)]()[_0x2d722d(0x20a)](_0x125c00=>{const _0x85370c=_0x2d722d;_0x125c00&&(this[_0x85370c(0x1c2)](),this[_0x85370c(0x293)]=!0x1);})[_0x2d722d(0x248)](_0x2f7d80=>{const _0x3f12b2=_0x2d722d;this[_0x3f12b2(0x1c2)](),this[_0x3f12b2(0x293)]=!0x1,function(_0x5c32a8){const _0x44a720=_0x3f12b2;return _0x5c32a8[_0x44a720(0x299)][_0x44a720(0x27b)](_0x44a720(0x28e))||_0x5c32a8[_0x44a720(0x299)][_0x44a720(0x27b)](_0x44a720(0x1cb))||_0x5c32a8[_0x44a720(0x299)][_0x44a720(0x27b)](_0x44a720(0x266));}(_0x2f7d80)||this[_0x3f12b2(0x207)](_0x2f7d80[_0x3f12b2(0x299)],_0x2f7d80);});},this[_0x5be7f7(0x203)]));}[_0x25a446(0x26c)](){return new Promise(_0x3a2515=>{const _0x5f5822=_0x3ff8;this['on'](_0x5f5822(0x230),()=>{_0x3a2515();});});}async[_0x25a446(0x27d)](){const _0x4c1d48=_0x25a446,_0xd5184e=this[_0x4c1d48(0x24d)][_0x4c1d48(0x211)][_0x4c1d48(0x1df)](_0x1050e8);if(this[_0x4c1d48(0x2b3)]()&&(_0xd5184e[_0x4c1d48(0x1de)](),this[_0x4c1d48(0x29f)]=!0x1),!this[_0x4c1d48(0x2b1)]())return!0x0;const _0x435d4e=[...this[_0x4c1d48(0x24c)]];for(const _0xed5e34 of _0x435d4e)_0xed5e34[_0x4c1d48(0x1fe)]=this[_0x4c1d48(0x217)][_0x4c1d48(0x204)][_0x4c1d48(0x28c)](_0xed5e34);const _0x488509=this[_0x4c1d48(0x20e)][_0x4c1d48(0x21e)](_0x435d4e),_0x30b8c7=j++,_0x251dbf=this[_0x4c1d48(0x283)](_0x435d4e),_0x1aad2a=await this[_0x4c1d48(0x1f5)][_0x4c1d48(0x287)](_0x251dbf,_0x251dbf[_0x4c1d48(0x25a)],_0x488509);try{return await this[_0x4c1d48(0x261)](_0x435d4e,_0x1aad2a,_0x30b8c7);}catch(_0x13a48b){return this[_0x4c1d48(0x207)](_0x4c1d48(0x296),_0x13a48b);}}async[_0x25a446(0x261)](_0x255c47,_0x3c87b0,_0x1a356f){const _0xabf2ca=_0x25a446;if(_0xabf2ca(0x1fd)in _0x3c87b0)throw _0x3c87b0[_0xabf2ca(0x1fd)];let _0x1352e2=!0x1;if(_0x3c87b0[_0xabf2ca(0x1c6)]){_0x3c87b0[_0xabf2ca(0x24a)]&&(this[_0xabf2ca(0x263)]=_0x3c87b0[_0xabf2ca(0x24a)]),this[_0xabf2ca(0x24c)]=this[_0xabf2ca(0x24c)][_0xabf2ca(0x1ba)](_0x171bbd=>!_0x255c47[_0xabf2ca(0x264)](_0x171bbd));for(const _0x3d6f58 of _0x255c47)_0x3d6f58[_0xabf2ca(0x210)]=_0xabf2ca(0x2ae)in _0x3c87b0&&_0x3c87b0[_0xabf2ca(0x2ae)]||void 0x0;D(_0x255c47,_0x3c87b0[_0xabf2ca(0x23a)]-_0x255c47[_0xabf2ca(0x215)]),this[_0xabf2ca(0x26e)](_0x255c47);const _0x2b09ea=_0x255c47[_0xabf2ca(0x1ba)](_0x17707e=>{const _0x59f7f5=_0xabf2ca;if(!_0x17707e[_0x59f7f5(0x29a)])return!0x1;const _0x1044fa=this[_0x59f7f5(0x1b3)](_0x17707e);return _0x1044fa&&!this[_0x59f7f5(0x1f6)][_0x59f7f5(0x26f)](_0x1044fa);});D(_0x2b09ea,this[_0xabf2ca(0x217)][_0xabf2ca(0x23a)]),this[_0xabf2ca(0x1eb)](_0x2b09ea),_0x1352e2=!0x0,this[_0xabf2ca(0x203)]=this[_0xabf2ca(0x2a7)];}else{const _0x410f39=this[_0xabf2ca(0x233)](_0x3c87b0[_0xabf2ca(0x2a9)],_0x3c87b0[_0xabf2ca(0x1d2)])[_0xabf2ca(0x1ba)](_0x5a7e0f=>_0x5a7e0f[_0xabf2ca(0x25a)]>=this[_0xabf2ca(0x2b5)]);_0x410f39[_0xabf2ca(0x1be)](_0x387f3f=>this[_0xabf2ca(0x1c7)](_0x387f3f)),this[_0xabf2ca(0x24c)]=this[_0xabf2ca(0x24c)][_0xabf2ca(0x1ba)](_0x1d2474=>!_0x1d2474[_0xabf2ca(0x29a)]||!this[_0xabf2ca(0x1f6)][_0xabf2ca(0x26f)](this[_0xabf2ca(0x1b3)](_0x1d2474))),this[_0xabf2ca(0x24c)][_0xabf2ca(0x215)]&&D(this[_0xabf2ca(0x24c)],this[_0xabf2ca(0x24c)][0x0][_0xabf2ca(0x25a)]),await this[_0xabf2ca(0x29b)](_0x410f39),_0x1352e2=this[_0xabf2ca(0x1cd)](_0x410f39,_0x3c87b0[_0xabf2ca(0x23a)],_0x3c87b0[_0xabf2ca(0x24a)]),this[_0xabf2ca(0x203)]=Math[_0xabf2ca(0x1e5)](this[_0xabf2ca(0x203)]/0x2);}return _0x1352e2?!this[_0xabf2ca(0x2b1)]()||(this[_0xabf2ca(0x239)](!0x0),!0x1):this[_0xabf2ca(0x207)](_0xabf2ca(0x276));}[_0x25a446(0x1cd)](_0x14c87f,_0x23427e,_0x3b5a5c){const _0x72b98b=_0x25a446;try{const _0x515aa1={'document':this[_0x72b98b(0x217)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x549a1a,operationsB:_0x4adcfe,originalOperations:_0x2e19c7}=_0x1e6334(_0x14c87f,this[_0x72b98b(0x24c)],_0x515aa1);D(_0x549a1a,this[_0x72b98b(0x217)][_0x72b98b(0x23a)]),D(_0x4adcfe,_0x23427e);for(const _0x23a7ea of _0x549a1a){const _0x2b19a7=_0x2e19c7[_0x72b98b(0x1df)](_0x23a7ea);_0x23a7ea[_0x72b98b(0x1b8)]=_0x2b19a7?_0x2b19a7[_0x72b98b(0x1b8)]:null;}_0x3b5a5c&&(this[_0x72b98b(0x20e)][_0x72b98b(0x28f)](_0x14c87f,_0x3b5a5c),this[_0x72b98b(0x263)]=_0x3b5a5c),this[_0x72b98b(0x24c)]=[..._0x4adcfe],this[_0x72b98b(0x1eb)](_0x549a1a),this[_0x72b98b(0x26e)](_0x14c87f);}catch(_0x11eb35){return console[_0x72b98b(0x1fd)](_0x11eb35),!0x1;}return!0x0;}[_0x25a446(0x1eb)](_0x1a13fd,_0x2697e4=!0x1){const _0x41591f=_0x25a446;this[_0x41591f(0x24d)][_0x41591f(0x1e1)][_0x41591f(0x228)]({'isUndoable':!0x1,'isLocal':!0x1},_0x323a27=>{const _0x534009=_0x41591f;for(const _0x502b62 of _0x1a13fd)this[_0x534009(0x22a)][_0x534009(0x284)](_0x502b62),this[_0x534009(0x1c7)](_0x502b62),_0x323a27[_0x534009(0x238)][_0x534009(0x2b0)](_0x502b62),this[_0x534009(0x24d)][_0x534009(0x1e1)][_0x534009(0x22f)](_0x502b62);});}[_0x25a446(0x1c7)](_0x25bab5){const _0x430ea3=_0x25a446,_0x52e7d5=this[_0x430ea3(0x1b3)](_0x25bab5);_0x52e7d5&&this[_0x430ea3(0x1f6)][_0x430ea3(0x284)](_0x52e7d5);}[_0x25a446(0x1b3)](_0x1254a4){const _0x291ec0=_0x25a446;let _0x4b6313,_0x4a55fc;switch(_0x1254a4[_0x291ec0(0x260)]){case _0x291ec0(0x256):_0x4b6313=_0x1254a4[_0x291ec0(0x1ca)][_0x291ec0(0x226)];break;case _0x291ec0(0x221):if(_0x4a55fc=_0x1254a4[_0x291ec0(0x242)],!_0x4a55fc)return null;_0x4b6313=_0x4a55fc[_0x291ec0(0x226)];break;case _0x291ec0(0x297):_0x4b6313=_0x1254a4[_0x291ec0(0x226)];break;case _0x291ec0(0x29e):_0x4b6313=_0x1254a4[_0x291ec0(0x290)];break;case _0x291ec0(0x1d3):_0x4b6313=_0x1254a4[_0x291ec0(0x209)][_0x291ec0(0x226)];break;default:return null;}return _0x4b6313[_0x291ec0(0x20b)];}[_0x25a446(0x26e)](_0xf5ffec){const _0x676f6e=_0x25a446;_0xf5ffec[_0x676f6e(0x1be)](_0x56b661=>{const _0x26f8de=_0x676f6e,_0x2e8397=_0x56b661[_0x26f8de(0x26d)]();_0x2e8397[_0x26f8de(0x1b8)]=_0x56b661[_0x26f8de(0x1b8)],_0x2e8397[_0x26f8de(0x29a)]=!!_0x56b661[_0x26f8de(0x29a)],_0x2e8397[_0x26f8de(0x210)]=_0x56b661[_0x26f8de(0x210)],_0x2e8397[_0x26f8de(0x25a)]+=this[_0x26f8de(0x25b)],_0x56b661[_0x26f8de(0x1f2)]&&this[_0x26f8de(0x224)][_0x26f8de(0x284)](_0x2e8397),this[_0x26f8de(0x218)][_0x26f8de(0x2b0)](_0x2e8397);});}[_0x25a446(0x1cc)](_0x58d07d){const _0x2f25cf=_0x25a446,_0x5de703=this[_0x2f25cf(0x24d)][_0x2f25cf(0x211)][_0x2f25cf(0x1df)](_0x2f25cf(0x237)),_0x35448a=this[_0x2f25cf(0x24d)][_0x2f25cf(0x29c)];_0x58d07d||(_0x58d07d=_0x1a0091(_0x35448a,_0x2f25cf(0x25e))),_0x5de703[_0x2f25cf(0x28d)](_0x58d07d,{'title':_0x1a0091(_0x35448a,_0x2f25cf(0x1d0)),'namespace':_0x2f25cf(0x1bf)}),this[_0x2f25cf(0x1f4)]=!0x0,clearTimeout(this[_0x2f25cf(0x1d5)]),this[_0x2f25cf(0x24c)]=[],this[_0x2f25cf(0x24d)][_0x2f25cf(0x211)][_0x2f25cf(0x1df)](_0x2028a9)[_0x2f25cf(0x2b4)]();}[_0x25a446(0x285)](){const _0x5d363c=_0x25a446;this[_0x5d363c(0x219)]||(this[_0x5d363c(0x219)]=this[_0x5d363c(0x24d)][_0x5d363c(0x211)][_0x5d363c(0x1df)](_0x2cf343)[_0x5d363c(0x284)](_0x1a0091(this[_0x5d363c(0x24d)][_0x5d363c(0x29c)],_0x5d363c(0x270))));}[_0x25a446(0x1c2)](){const _0xb9e0b=_0x25a446;this[_0xb9e0b(0x219)]&&(this[_0xb9e0b(0x24d)][_0xb9e0b(0x211)][_0xb9e0b(0x1df)](_0x2cf343)[_0xb9e0b(0x1b7)](this[_0xb9e0b(0x219)]),this[_0xb9e0b(0x219)]=null);}[_0x25a446(0x283)](_0x1fb9e5){const _0x3cc61b=_0x25a446,_0x28944f=_0x1fb9e5[_0x3cc61b(0x1cf)](_0x366034=>_0x366034[_0x3cc61b(0x2b6)]());return this[_0x3cc61b(0x20f)][_0x3cc61b(0x2a8)](_0x28944f);}[_0x25a446(0x233)](_0x144100,_0x4f501c){const _0x5c1576=_0x25a446;return this[_0x5c1576(0x20f)][_0x5c1576(0x2a6)](_0x144100)[_0x5c1576(0x1cf)]((_0x945200,_0x10d1e8)=>{const _0x10edda=_0x5c1576,_0x58e10a=_0x10edda(0x273)==_0x4f501c[_0x10d1e8][_0x10edda(0x260)];if(_0x10edda(0x25c)==_0x945200[_0x10edda(0x25f)]){const _0x35cf32=_0x945200[_0x10edda(0x1ca)][_0x10edda(0x226)];!this[_0x10edda(0x217)][_0x10edda(0x1b2)](_0x35cf32)&&(this[_0x10edda(0x217)][_0x10edda(0x1d8)](_0x10edda(0x23b),_0x35cf32)[_0x10edda(0x245)]=!0x1);}const _0x4b5e70=_0x53c560[_0x10edda(0x246)](_0x945200,this[_0x10edda(0x217)]);return _0x4b5e70[_0x10edda(0x1fe)]=_0x945200[_0x10edda(0x1fe)],_0x4b5e70[_0x10edda(0x29a)]=_0x58e10a,_0x4b5e70[_0x10edda(0x1b8)]=_0x58e10a?null:_0x4f501c[_0x10d1e8][_0x10edda(0x229)],_0x4b5e70[_0x10edda(0x1f2)]=_0x10edda(0x1ee)===_0x4f501c[_0x10d1e8][_0x10edda(0x260)],_0x4b5e70[_0x10edda(0x210)]=_0x4f501c[_0x10d1e8][_0x10edda(0x210)],_0x4b5e70;});}[_0x25a446(0x1f0)](){const _0x16e636=_0x25a446;this[_0x16e636(0x29f)]=!0x0,this[_0x16e636(0x2b3)]()?this[_0x16e636(0x239)]():this[_0x16e636(0x29f)]=!0x1;}[_0x25a446(0x2b3)](){const _0x3fb963=_0x25a446,_0x4a27e4=this[_0x3fb963(0x24d)][_0x3fb963(0x211)][_0x3fb963(0x1df)](_0x2d3865)[_0x3fb963(0x200)][_0x3fb963(0x1df)](this[_0x3fb963(0x24e)]);return!this[_0x3fb963(0x24d)][_0x3fb963(0x1da)]&&!!_0x4a27e4&&_0x4a27e4[_0x3fb963(0x215)]>0x1&&this[_0x3fb963(0x29f)];}[_0x25a446(0x2b1)](){const _0x56f40c=_0x25a446;return this[_0x56f40c(0x24c)][_0x56f40c(0x215)]>0x0||this[_0x56f40c(0x2b3)]();}}class ReconnectionError extends Error{}function D(_0x3db034,_0x5dd1a7){const _0xd450f1=_0x25a446;for(const _0x415af8 of _0x3db034)_0x415af8[_0xd450f1(0x25a)]=_0x5dd1a7++;}class OperationIdentifier{[_0x25a446(0x2aa)];[_0x25a446(0x23d)];constructor(_0x3e634d){const _0x35f334=_0x25a446;this[_0x35f334(0x2aa)]=_0x3e634d,this[_0x35f334(0x23d)]=new WeakMap();}[_0x25a446(0x21e)](_0x429686){const _0x18905c=_0x25a446;let _0xd908ea=_0x429686[_0x18905c(0x215)];for(;_0xd908ea--;){const _0xfee31a=_0x429686[_0xd908ea];if(!this[_0x18905c(0x2aa)][_0x18905c(0x26f)](_0xfee31a)){if(!this[_0x18905c(0x23d)][_0x18905c(0x26f)](_0xfee31a)){const _0x5585f3=_0x1e5221()[_0x18905c(0x1f8)](0x1,0x12);this[_0x18905c(0x23d)][_0x18905c(0x1e9)](_0xfee31a,_0x5585f3);}return this[_0x18905c(0x23d)][_0x18905c(0x1df)](_0xfee31a);}}}[_0x25a446(0x28f)](_0x551bee,_0x518f2d){const _0x5b6cc2=_0x25a446;if(!_0x518f2d)return;let _0x17475a=_0x551bee[_0x5b6cc2(0x215)];for(;_0x17475a--;){const _0x2b4aa6=_0x551bee[_0x17475a];this[_0x5b6cc2(0x2aa)][_0x5b6cc2(0x26f)](_0x2b4aa6)||this[_0x5b6cc2(0x23d)][_0x5b6cc2(0x1e9)](_0x2b4aa6,_0x518f2d);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x44c511=_0x3fad;(function(_0x4cd174,_0x2b8b99){const _0x17b954=_0x3fad,_0x491093=_0x4cd174();while(!![]){try{const _0xd8dac2=parseInt(_0x17b954(0x17d))/0x1+-parseInt(_0x17b954(0x192))/0x2+-parseInt(_0x17b954(0x180))/0x3*(-parseInt(_0x17b954(0x16e))/0x4)+parseInt(_0x17b954(0x19a))/0x5+parseInt(_0x17b954(0x171))/0x6*(parseInt(_0x17b954(0x198))/0x7)+-parseInt(_0x17b954(0x19b))/0x8*(-parseInt(_0x17b954(0x197))/0x9)+-parseInt(_0x17b954(0x174))/0xa;if(_0xd8dac2===_0x2b8b99)break;else _0x491093['push'](_0x491093['shift']());}catch(_0x16df96){_0x491093['push'](_0x491093['shift']());}}}(_0x493d,0xb4a8e));import{ContextPlugin as _0x66e65e}from'ckeditor5/src/core.js';function _0x3fad(_0x116fba,_0x216b6f){const _0x493d38=_0x493d();return _0x3fad=function(_0x3fad1a,_0x451e9c){_0x3fad1a=_0x3fad1a-0x169;let _0xb86a85=_0x493d38[_0x3fad1a];return _0xb86a85;},_0x3fad(_0x116fba,_0x216b6f);}import{Collection as _0xcec6c4,CKEditorError as _0x4b58d0}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x337023}from'./websocketgateway.js';import{Users as _0x2c2169}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x493d(){const _0xbf6d91=['166962nUcZIW','addUser','register','sessions-unregister-not-exist','delete','63yMCuXy','180453eEgwpu','clear','5469555CFNUaN','205672wbGrGL','_handleSessionAdd','set','forEach','connected','_handleSessionRemove','mySessionId','listenTo','state','remove','add','has','isPremiumPlugin','context','channelConnectedUsers','stopListening','channelSessions','isOfficialPlugin','4ieLGKX','_registeredSessions','allConnectedUsers','288xeteRj','connection','plugins','30755770yCrVPA','getUserBySessionId','isMe','change:state','unregister','user','Sessions','init','_users','1140971FjcGwx','pluginName','get','740409oEABcx','values','sessions-register-already-registered','defineMe','_createUser','size','getUserSessions','sessionId','assign','requires','getUser','_uniqueUsersCount','role','getUserRole','hiddenInPresenceList','sessionAdd:','fire','orderNumber'];_0x493d=function(){return _0xbf6d91;};return _0x493d();}export class Sessions extends _0x66e65e{[_0x44c511(0x16c)];[_0x44c511(0x16a)];[_0x44c511(0x170)];[_0x44c511(0x16f)];[_0x44c511(0x18b)];[_0x44c511(0x17c)];static get[_0x44c511(0x17e)](){const _0x33266b=_0x44c511;return _0x33266b(0x17a);}static get[_0x44c511(0x16d)](){return!0x0;}static get[_0x44c511(0x1a7)](){return!0x0;}static get[_0x44c511(0x189)](){return[_0x337023,_0x2c2169];}constructor(_0x103537){const _0x5212ff=_0x44c511;super(_0x103537),this[_0x5212ff(0x16c)]=new Map(),this[_0x5212ff(0x16a)]=new Map(),this[_0x5212ff(0x170)]=new _0xcec6c4(),this[_0x5212ff(0x16f)]=new Map(),this[_0x5212ff(0x18b)]=0x0,this[_0x5212ff(0x17c)]=this[_0x5212ff(0x169)][_0x5212ff(0x173)][_0x5212ff(0x17f)](_0x2c2169);}[_0x44c511(0x17b)](){const _0x3d6c38=_0x44c511,_0x2fad79=this[_0x3d6c38(0x169)][_0x3d6c38(0x173)][_0x3d6c38(0x17f)](_0x337023);this[_0x3d6c38(0x1a2)](_0x2fad79,_0x3d6c38(0x177),(_0x3bc6ae,_0x26e8e0,_0x2e3286)=>{const _0x921a55=_0x3d6c38;if(_0x921a55(0x19f)!==_0x2e3286)this[_0x921a55(0x16c)][_0x921a55(0x19e)](_0x461350=>_0x461350[_0x921a55(0x199)]()),this[_0x921a55(0x16a)][_0x921a55(0x19e)](_0x40c57a=>_0x40c57a[_0x921a55(0x199)]()),this[_0x921a55(0x170)][_0x921a55(0x199)]();else{for(const [_0x508cc8,_0x4c3931]of this[_0x921a55(0x16f)])for(const _0x4f2db3 of _0x4c3931)this[_0x921a55(0x19c)](_0x508cc8,_0x4f2db3);}}),this[_0x3d6c38(0x184)](_0x2fad79[_0x3d6c38(0x172)]['me'],!0x0);}[_0x44c511(0x194)](_0x3b9c62,_0x3a790a){const _0x2bb92b=_0x44c511;if(this[_0x2bb92b(0x16f)][_0x2bb92b(0x1a6)](_0x3b9c62))throw new _0x4b58d0(_0x2bb92b(0x182),null,{'channelId':_0x3b9c62});this[_0x2bb92b(0x16f)][_0x2bb92b(0x19d)](_0x3b9c62,_0x3a790a),this[_0x2bb92b(0x16c)][_0x2bb92b(0x19d)](_0x3b9c62,new _0xcec6c4()),this[_0x2bb92b(0x16a)][_0x2bb92b(0x19d)](_0x3b9c62,new _0xcec6c4()),this[_0x2bb92b(0x1a2)](_0x3a790a,_0x2bb92b(0x1a5),(_0x2e5202,_0x171d4d)=>this[_0x2bb92b(0x19c)](_0x3b9c62,_0x171d4d)),this[_0x2bb92b(0x1a2)](_0x3a790a,_0x2bb92b(0x1a4),(_0x188ed0,_0x3349a3)=>this[_0x2bb92b(0x1a0)](_0x3b9c62,_0x3349a3));for(const _0x32765b of _0x3a790a)this[_0x2bb92b(0x19c)](_0x3b9c62,_0x32765b);}[_0x44c511(0x178)](_0x1cb33e){const _0x2f359e=_0x44c511;if(!this[_0x2f359e(0x16f)][_0x2f359e(0x1a6)](_0x1cb33e))throw new _0x4b58d0(_0x2f359e(0x195),null,{'channelId':_0x1cb33e});const _0x57edc9=this[_0x2f359e(0x16f)][_0x2f359e(0x17f)](_0x1cb33e);this[_0x2f359e(0x16b)](_0x57edc9);for(const _0x2926ac of _0x57edc9)_0x2f359e(0x19f)===this[_0x2f359e(0x169)][_0x2f359e(0x173)][_0x2f359e(0x17f)](_0x337023)[_0x2f359e(0x1a3)]&&this[_0x2f359e(0x1a0)](_0x1cb33e,_0x2926ac);this[_0x2f359e(0x16f)][_0x2f359e(0x196)](_0x1cb33e),this[_0x2f359e(0x16c)][_0x2f359e(0x196)](_0x1cb33e),this[_0x2f359e(0x16a)][_0x2f359e(0x196)](_0x1cb33e);}get[_0x44c511(0x1a1)](){const _0x4fb86c=_0x44c511;return this[_0x4fb86c(0x169)][_0x4fb86c(0x173)][_0x4fb86c(0x17f)](_0x337023)[_0x4fb86c(0x172)][_0x4fb86c(0x187)];}[_0x44c511(0x175)](_0x100764){const _0x42b598=_0x44c511;for(const _0x1f54b6 of this[_0x42b598(0x16c)][_0x42b598(0x181)]())for(const _0x3ac117 of _0x1f54b6)if(_0x3ac117['id']===_0x100764)return _0x3ac117[_0x42b598(0x179)];}[_0x44c511(0x186)](_0x1ea9b3,_0x33da7c){const _0x486fb6=_0x44c511,_0x581f62=_0x33da7c?[this[_0x486fb6(0x16c)][_0x486fb6(0x17f)](_0x33da7c)]:this[_0x486fb6(0x16c)][_0x486fb6(0x181)](),_0x4eacd6=new Set();for(const _0x2ec1e9 of _0x581f62)for(const _0x4bcf9f of _0x2ec1e9)_0x4bcf9f[_0x486fb6(0x179)]['id']===_0x1ea9b3['id']&&_0x4eacd6[_0x486fb6(0x1a5)](_0x4bcf9f['id']);return _0x4eacd6;}[_0x44c511(0x18d)](_0x1f80d6){const _0x5066cd=_0x44c511;for(const _0x46ed06 of this[_0x5066cd(0x16c)][_0x5066cd(0x181)]())for(const _0x452b04 of _0x46ed06)if(_0x452b04[_0x5066cd(0x179)]===_0x1f80d6)return _0x452b04[_0x5066cd(0x18c)];}[_0x44c511(0x19c)](_0x138147,_0x1b5ee2){const _0x5b398a=_0x44c511;if(_0x5b398a(0x19f)!==this[_0x5b398a(0x169)][_0x5b398a(0x173)][_0x5b398a(0x17f)](_0x337023)[_0x5b398a(0x1a3)])return;const _0x20cbe7=_0x1b5ee2[_0x5b398a(0x179)],_0x15dcc7=this[_0x5b398a(0x17c)][_0x5b398a(0x18a)](_0x20cbe7['id'])||this[_0x5b398a(0x184)](_0x20cbe7),_0x496191=Object[_0x5b398a(0x188)]({},_0x1b5ee2,{'user':_0x15dcc7});if(this[_0x5b398a(0x16c)][_0x5b398a(0x17f)](_0x138147)[_0x5b398a(0x1a5)](_0x496191),!_0x20cbe7[_0x5b398a(0x18e)]){const _0x5d1565=this[_0x5b398a(0x16a)][_0x5b398a(0x17f)](_0x138147);_0x5d1565[_0x5b398a(0x1a6)](_0x15dcc7['id'])||_0x5d1565[_0x5b398a(0x1a5)](_0x15dcc7),this[_0x5b398a(0x170)][_0x5b398a(0x1a6)](_0x15dcc7['id'])||_0x20cbe7[_0x5b398a(0x18e)]||this[_0x5b398a(0x170)][_0x5b398a(0x1a5)](_0x15dcc7,_0x15dcc7[_0x5b398a(0x176)]?0x0:void 0x0);}this[_0x5b398a(0x190)](_0x5b398a(0x18f)+_0x138147,{'channelId':_0x138147,'session':_0x496191});}[_0x44c511(0x1a0)](_0x1bc53d,_0x2c004f){const _0xc656f4=_0x44c511;if(_0xc656f4(0x19f)!==this[_0xc656f4(0x169)][_0xc656f4(0x173)][_0xc656f4(0x17f)](_0x337023)[_0xc656f4(0x1a3)])return;const _0xeb65b1=this[_0xc656f4(0x16a)][_0xc656f4(0x17f)](_0x1bc53d),_0x5120c7=_0x2c004f[_0xc656f4(0x179)];_0x5120c7['id']&&(this[_0xc656f4(0x16c)][_0xc656f4(0x17f)](_0x1bc53d)[_0xc656f4(0x1a4)](_0x2c004f['id']),_0xeb65b1[_0xc656f4(0x1a6)](_0x5120c7['id'])&&!this[_0xc656f4(0x186)](_0x5120c7,_0x1bc53d)[_0xc656f4(0x185)]&&_0xeb65b1[_0xc656f4(0x1a4)](_0x5120c7['id']),this[_0xc656f4(0x170)][_0xc656f4(0x17f)](_0x5120c7['id'])&&!this[_0xc656f4(0x186)](_0x5120c7)[_0xc656f4(0x185)]&&this[_0xc656f4(0x170)][_0xc656f4(0x1a4)](_0x5120c7['id']));}[_0x44c511(0x184)](_0x4a82a8,_0xabc200){const _0x228c85=_0x44c511,_0x26c997=this[_0x228c85(0x17c)][_0x228c85(0x193)](_0x4a82a8);return _0xabc200&&this[_0x228c85(0x17c)][_0x228c85(0x183)](_0x4a82a8['id']),_0x26c997[_0x228c85(0x191)]=this[_0x228c85(0x18b)]++,_0x26c997;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5f103a=_0x3e7d;(function(_0x2026e0,_0x1c2dd1){const _0x599697=_0x3e7d,_0xeffbb3=_0x2026e0();while(!![]){try{const _0x25fc8f=parseInt(_0x599697(0x15d))/0x1+-parseInt(_0x599697(0x17c))/0x2+-parseInt(_0x599697(0x185))/0x3+-parseInt(_0x599697(0x149))/0x4*(parseInt(_0x599697(0x137))/0x5)+-parseInt(_0x599697(0x16b))/0x6*(parseInt(_0x599697(0x176))/0x7)+parseInt(_0x599697(0x15b))/0x8*(-parseInt(_0x599697(0x146))/0x9)+parseInt(_0x599697(0x102))/0xa;if(_0x25fc8f===_0x1c2dd1)break;else _0xeffbb3['push'](_0xeffbb3['shift']());}catch(_0x1f5482){_0xeffbb3['push'](_0xeffbb3['shift']());}}}(_0x5517,0x58555));import{Plugin as _0x34a0c7}from'ckeditor5/src/core.js';import{global as _0x4c44ee,DomEmitterMixin as _0x1cd568}from'ckeditor5/src/utils.js';import{Sessions as _0x52fe8f}from'./sessions.js';function _0x5517(){const _0x1e8547=['undo','for','editingDowncast','getUserBySessionId','addEventListener','render','user:range:','classList','applyOperation','ck-user__selection','has','parent','oldRange','setAttribute','plugins','nodeAfter','createElement','span','contenteditable','createRange','toDomElement','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getMarkerClass','1170095jkNNQS','UserMarkers','markerToElement','getAttribute','isCollapsed','init','createUIElement','getContainedElement','pluginName','schema','get','outerHTML','removeClass','ck-user__marker_hovered','rootName','9eiRFqk','ck-user__marker\x20','removeMarker','4PQNHPo','end','destroy','userPositionMarker','orderNumber','_createdBatches','editor','addMarker','getSelectionClass','name','mapper','marker','$graveyard','mySessionId','hasDomSelection','markerName','reconvertMarker','color','2894176DkjCGa','updateMarker','339713DqJYYo','tableCell','change','selection','remove','hasContent','setCustomProperty','stopListening','isOfficialPlugin','keydown','model','type','innerHTML','user:','864lCwwPd','afterInit','false','commands','listenTo','isDocumentOperation','detach','element','start','markers','mouseleave','4046PwbVdR','root','isObject','getNearestSelectionRange','createUserMarkerOperations','batch','1327396mMirXy','enqueueChange','editing','toRange','split','_domEmitter','$text','update:user:range','conversion','1747422bfRrdL','isPremiumPlugin','add','markerNameToElements','spellcheck','textContent','Escape','getCustomProperty','19472950UsJupr','getStart','getPositions','set','size','checkChild','delete','newRange','startsWith','change:range','isInline','mouseenter','highest','markerRange','fromRange','clear','markerToHighlight','requires','deletionPosition','user:position:','document','data-session-id','isLimit','user:position','getFirstRange','getRange','user:range','isSimilar','ck-user__marker-tooltip','view'];_0x5517=function(){return _0x1e8547;};return _0x5517();}function _0x3e7d(_0x55c3a9,_0x4329e6){const _0x551749=_0x5517();return _0x3e7d=function(_0x3e7d29,_0x22f4c6){_0x3e7d29=_0x3e7d29-0xfe;let _0x2aeb25=_0x551749[_0x3e7d29];return _0x2aeb25;},_0x3e7d(_0x55c3a9,_0x4329e6);}import{ModelLiveRange as _0x30da73}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x34a0c7{[_0x5f103a(0x181)]=new(_0x1cd568())();static get[_0x5f103a(0x113)](){return[_0x52fe8f];}static get[_0x5f103a(0x13f)](){const _0x4bca7c=_0x5f103a;return _0x4bca7c(0x138);}static get[_0x5f103a(0x165)](){return!0x0;}static get[_0x5f103a(0x186)](){return!0x0;}[_0x5f103a(0x13c)](){const _0x56b864=_0x5f103a,_0x3c7eaf=this[_0x56b864(0x14f)],_0x4229fa=_0x3c7eaf[_0x56b864(0x12e)][_0x56b864(0x141)](_0x52fe8f);_0x3c7eaf[_0x56b864(0x184)][_0x56b864(0x121)](_0x56b864(0x122))[_0x56b864(0x139)]({'model':_0x56b864(0x119),'view':(_0x4dddc0,{writer:_0x326bb8})=>function(_0x2ff7a8,_0x59c5e0,_0x5e7de2,_0x2e2727){const _0x47b28a=_0x56b864,_0x4096b3=_0x2ff7a8[_0x47b28a(0x158)][_0x47b28a(0x180)](':')[0x2],_0x154e4f=_0x5e7de2[_0x47b28a(0x123)](_0x4096b3);if(!_0x154e4f||_0x4096b3===_0x5e7de2[_0x47b28a(0x156)])return;if(!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)][_0x47b28a(0x107)](_0x2ff7a8[_0x47b28a(0x10f)][_0x47b28a(0x173)],_0x47b28a(0x182)))return;const _0x2fadf2={'class':_0x47b28a(0x147)+_0x154e4f[_0x47b28a(0x15a)][_0x47b28a(0x136)](),'data-name':_0x154e4f[_0x47b28a(0x152)],'data-session-id':_0x4096b3},_0x2cc57f=_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x174)][_0x47b28a(0x141)](_0x2ff7a8[_0x47b28a(0x158)]),_0x400060=_0x2cc57f[_0x47b28a(0x103)](),_0x3445e9=_0x400060[_0x47b28a(0x12f)],_0x3083ed=_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)];if(_0x3445e9&&_0x3083ed[_0x47b28a(0x178)](_0x3445e9)&&_0x3083ed[_0x47b28a(0x10c)](_0x3445e9)&&!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x174)][_0x47b28a(0x141)](_0x47b28a(0x126)+_0x4096b3)[_0x47b28a(0x11b)]()[_0x47b28a(0x13b)])return;const _0x4b3068=_0x400060[_0x47b28a(0x12b)];return _0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)][_0x47b28a(0x118)](_0x4b3068)&&!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x162)](_0x4b3068)&&(_0x2fadf2[_0x47b28a(0x132)]=!0x1),function(_0x1d18f7,_0x15b9c0,_0x5d6eab){const _0x4682e2=_0x47b28a,_0xeb1264=_0x1d18f7[_0x4682e2(0x13d)](_0x4682e2(0x131),_0x15b9c0);return _0x1d18f7[_0x4682e2(0x163)](_0x4682e2(0x14c),!0x0,_0xeb1264),_0xeb1264[_0x4682e2(0x125)]=function(_0x3d37db){const _0x4b8070=_0x4682e2,_0x3e7456=this[_0x4b8070(0x134)](_0x3d37db),_0x31f4b1=document[_0x4b8070(0x130)](_0x4b8070(0x131));return _0x31f4b1[_0x4b8070(0x127)][_0x4b8070(0x187)](_0x4b8070(0x11e)),_0x31f4b1[_0x4b8070(0x12d)](_0x4b8070(0x132),_0x4b8070(0x16d)),_0x31f4b1[_0x4b8070(0x12d)](_0x4b8070(0xfe),_0x4b8070(0x16d)),_0x31f4b1[_0x4b8070(0xff)]=_0x5d6eab[_0x4b8070(0x152)],_0x3e7456[_0x4b8070(0x169)]=_0x4b8070(0x135)+_0x31f4b1[_0x4b8070(0x142)]+'',_0x3e7456[_0x4b8070(0x124)](_0x4b8070(0x10d),()=>{const _0x5bdce0=_0x4b8070;_0x3e7456[_0x5bdce0(0x127)][_0x5bdce0(0x187)](_0x5bdce0(0x144));}),_0x3e7456[_0x4b8070(0x124)](_0x4b8070(0x175),()=>{const _0x18ccbb=_0x4b8070;_0x3e7456[_0x18ccbb(0x127)][_0x18ccbb(0x161)](_0x18ccbb(0x144));}),_0x3e7456;},_0xeb1264[_0x4682e2(0x11d)]=function(_0x473430){const _0x69c83=_0x4682e2;return!(!this[_0x69c83(0x101)](_0x69c83(0x14c))||!_0x473430[_0x69c83(0x101)](_0x69c83(0x14c))||this[_0x69c83(0x13a)](_0x69c83(0x117))!=_0x473430[_0x69c83(0x13a)](_0x69c83(0x117)));},_0xeb1264;}(_0x59c5e0,_0x2fadf2,_0x154e4f);}(_0x4dddc0,_0x326bb8,_0x4229fa,_0x3c7eaf)}),_0x3c7eaf[_0x56b864(0x184)][_0x56b864(0x121)](_0x56b864(0x122))[_0x56b864(0x112)]({'model':_0x56b864(0x11c),'view':_0x3f6a1d=>function(_0x55d5aa,_0x300a17){const _0x330975=_0x56b864,_0x42e0a6=_0x55d5aa[_0x330975(0x158)][_0x330975(0x180)](':')[0x2];if(_0x42e0a6===_0x300a17[_0x330975(0x156)])return null;const _0x553343=_0x300a17[_0x330975(0x123)](_0x42e0a6);if(!_0x553343)return{'id':_0x42e0a6,'classes':[]};return{'id':_0x42e0a6,'classes':[_0x330975(0x129),_0x553343[_0x330975(0x15a)][_0x330975(0x151)]()],'attributes':{'data-session-id':_0x42e0a6},'priority':0x7d0+_0x553343[_0x330975(0x14d)]};}(_0x3f6a1d,_0x4229fa)}),function(_0xbf6a7b){const _0xc3126d=_0x56b864,_0x2e0c7f=_0xbf6a7b[_0xc3126d(0x167)],_0x5dbd70=new Map(),_0x543540=_0xbf6a7b[_0xc3126d(0x12e)][_0xc3126d(0x141)](_0x52fe8f);_0x2e0c7f[_0xc3126d(0x174)]['on'](_0xc3126d(0x183),(_0x385163,_0x2b20a0,_0x37a28e,_0x56d6cb)=>{const _0x532174=_0xc3126d;if(!_0x56d6cb&&_0x5dbd70[_0x532174(0x141)](_0x2b20a0[_0x532174(0x152)]))return _0x5dbd70[_0x532174(0x141)](_0x2b20a0[_0x532174(0x152)])[_0x532174(0x171)](),void _0x5dbd70[_0x532174(0x108)](_0x2b20a0[_0x532174(0x152)]);const _0x470127=_0x2b20a0[_0x532174(0x152)][_0x532174(0x180)](':')[0x2];if(_0x470127===_0x543540[_0x532174(0x156)])return;const _0x3f32d9=_0x532174(0x115)+_0x470127;_0x2e0c7f[_0x532174(0x174)][_0x532174(0x12a)](_0x3f32d9)&&_0xbf6a7b[_0x532174(0x17e)][_0x532174(0x159)](_0x3f32d9),_0x2b20a0['on'](_0x532174(0x10b),(_0x1d015b,_0x94c526,_0x4fce16)=>{const _0x5789ba=_0x532174;if(_0x5789ba(0x155)!=_0x94c526[_0x5789ba(0x177)][_0x5789ba(0x145)]&&_0x5789ba(0x155)==_0x2b20a0[_0x5789ba(0x11b)]()[_0x5789ba(0x177)][_0x5789ba(0x145)]&&!_0x5dbd70[_0x5789ba(0x12a)](_0x2b20a0[_0x5789ba(0x152)])){const _0x503f36=_0x2e0c7f[_0x5789ba(0x140)][_0x5789ba(0x179)](_0x4fce16[_0x5789ba(0x114)]);if(_0x503f36){const _0x229794=_0x30da73[_0x5789ba(0x110)](_0x503f36);_0x5dbd70[_0x5789ba(0x105)](_0x2b20a0[_0x5789ba(0x152)],_0x229794),_0x229794['on'](_0x5789ba(0x10b),(_0x159e05,_0xd57dc9,_0x29d326)=>{const _0x55fd93=_0x5789ba;if(_0x55fd93(0x155)==_0x229794[_0x55fd93(0x177)][_0x55fd93(0x145)]){const _0x46dece=_0x2e0c7f[_0x55fd93(0x140)][_0x55fd93(0x179)](_0x29d326[_0x55fd93(0x114)]);_0x46dece?(_0x229794[_0x55fd93(0x173)]=_0x46dece[_0x55fd93(0x173)],_0x229794[_0x55fd93(0x14a)]=_0x46dece[_0x55fd93(0x14a)]):(_0x5dbd70[_0x55fd93(0x108)](_0x2b20a0[_0x55fd93(0x152)]),_0x229794[_0x55fd93(0x171)]());}});}}});}),_0x2e0c7f[_0xc3126d(0x116)]['on'](_0xc3126d(0x15f),()=>{const _0x296d6e=_0xc3126d;_0x5dbd70[_0x296d6e(0x106)]>0x0&&_0x2e0c7f[_0x296d6e(0x17d)]({'isUndoable':!0x1},_0xbf4a81=>{const _0x439660=_0x296d6e;for(const [_0x3e775b,_0x112b0a]of _0x5dbd70)_0x439660(0x155)==_0x2e0c7f[_0x439660(0x174)][_0x439660(0x141)](_0x3e775b)[_0x439660(0x11b)]()[_0x439660(0x177)][_0x439660(0x145)]&&(Q(_0x3e775b[_0x439660(0x180)](':')[0x2],_0x112b0a[_0x439660(0x17f)](),_0x2e0c7f,_0xbf4a81),_0x112b0a[_0x439660(0x171)]());_0x5dbd70[_0x439660(0x111)]();});});}(_0x3c7eaf),this[_0x56b864(0x181)][_0x56b864(0x16f)](_0x4c44ee[_0x56b864(0x116)],_0x56b864(0x166),(_0x67a256,{key:_0x3b4200})=>{const _0xc37bed=_0x56b864;_0xc37bed(0x100)===_0x3b4200&&function(_0x43329e){const _0x44f9eb=_0xc37bed;_0x43329e[_0x44f9eb(0x17e)][_0x44f9eb(0x11f)][_0x44f9eb(0x15f)](_0x173e69=>{const _0x1fb0e3=_0x44f9eb;for(const _0xdf44a9 of _0x43329e[_0x1fb0e3(0x167)][_0x1fb0e3(0x174)]){if(!_0xdf44a9[_0x1fb0e3(0x152)][_0x1fb0e3(0x10a)](_0x1fb0e3(0x119)))continue;const _0x36ebb2=_0x43329e[_0x1fb0e3(0x17e)][_0x1fb0e3(0x153)][_0x1fb0e3(0x188)](_0xdf44a9[_0x1fb0e3(0x152)]);if(_0x36ebb2){for(const _0x4b198a of _0x36ebb2)_0x173e69[_0x1fb0e3(0x143)](_0x1fb0e3(0x144),_0x4b198a);}}});}(_0x3c7eaf);},{'useCapture':!0x0});}[_0x5f103a(0x16c)](){const _0x5233f7=_0x5f103a,_0x4fb355=this[_0x5233f7(0x14f)],_0x1ab6f6=_0x4fb355[_0x5233f7(0x16e)][_0x5233f7(0x141)](_0x5233f7(0x120));_0x1ab6f6&&_0x4fb355[_0x5233f7(0x167)]['on'](_0x5233f7(0x128),(_0xdf9d3b,_0xcd5063)=>{const _0x1c1779=_0x5233f7,_0x1a26bb=_0xcd5063[0x0];if(!_0x1a26bb[_0x1c1779(0x170)])return;if(_0x1c1779(0x154)!=_0x1a26bb[_0x1c1779(0x168)]||!_0x1a26bb[_0x1c1779(0x152)][_0x1c1779(0x10a)](_0x1c1779(0x16a)))return;const _0x574c10=_0x1a26bb[_0x1c1779(0x17b)];_0x1ab6f6[_0x1c1779(0x14e)][_0x1c1779(0x12a)](_0x574c10)&&(_0x1a26bb[_0x1c1779(0x109)]=_0x1a26bb[_0x1c1779(0x12c)]?_0x4fb355[_0x1c1779(0x167)][_0x1c1779(0x133)](_0x1a26bb[_0x1c1779(0x12c)][_0x1c1779(0x173)],_0x1a26bb[_0x1c1779(0x12c)][_0x1c1779(0x14a)]):null);},{'priority':_0x5233f7(0x10e)});}[_0x5f103a(0x14b)](){const _0x39f53c=_0x5f103a;return this[_0x39f53c(0x181)][_0x39f53c(0x164)](),super[_0x39f53c(0x14b)]();}[_0x5f103a(0x17a)](){const _0x9a8806=_0x5f103a,_0xe21ea0=this[_0x9a8806(0x14f)],_0x4b8c02=_0xe21ea0[_0x9a8806(0x167)][_0x9a8806(0x116)],_0x24f190=_0xe21ea0[_0x9a8806(0x12e)][_0x9a8806(0x141)](_0x52fe8f);_0xe21ea0[_0x9a8806(0x167)][_0x9a8806(0x17d)]({'isUndoable':!0x1},_0x24334c=>{const _0x499512=_0x9a8806,_0x1b2f0b=_0x499512(0x126)+_0x24f190[_0x499512(0x156)],_0x24cdcf=_0x499512(0x115)+_0x24f190[_0x499512(0x156)],_0x48cea5=_0xe21ea0[_0x499512(0x167)][_0x499512(0x174)][_0x499512(0x12a)](_0x1b2f0b);_0xe21ea0[_0x499512(0x17e)][_0x499512(0x11f)][_0x499512(0x157)]?Q(_0x24f190[_0x499512(0x156)],_0x4b8c02[_0x499512(0x160)][_0x499512(0x11a)](),_0xe21ea0[_0x499512(0x167)],_0x24334c):_0x48cea5&&(_0x24334c[_0x499512(0x148)](_0x1b2f0b),_0x24334c[_0x499512(0x148)](_0x24cdcf));});}}function Q(_0x9d329a,_0x2934cd,_0x5e9028,_0x3ce668){const _0x173d6=_0x5f103a,_0x1e3688=_0x173d6(0x126)+_0x9d329a,_0x2d024d=_0x173d6(0x115)+_0x9d329a,_0x19466b=_0x2934cd[_0x173d6(0x13e)]();let _0x54cf70=_0x2934cd[_0x173d6(0x173)];if(_0x19466b&&_0x19466b['is'](_0x173d6(0x172),_0x173d6(0x15e))){const _0x4c2c95=function(_0x52dc2a,_0x302135){const _0x5cd787=_0x173d6;for(const _0x381911 of _0x52dc2a[_0x5cd787(0x104)]())if(_0x302135[_0x5cd787(0x140)][_0x5cd787(0x107)](_0x381911,_0x5cd787(0x182)))return _0x381911;}(_0x2934cd,_0x5e9028);_0x4c2c95&&(_0x54cf70=_0x4c2c95,_0x2934cd=_0x3ce668[_0x173d6(0x133)](_0x54cf70));}const _0xf5137d=_0x3ce668[_0x173d6(0x133)](_0x54cf70);_0x5e9028[_0x173d6(0x174)][_0x173d6(0x12a)](_0x1e3688)?(_0x3ce668[_0x173d6(0x15c)](_0x1e3688,{'range':_0x2934cd}),_0x3ce668[_0x173d6(0x15c)](_0x2d024d,{'range':_0xf5137d})):(_0x3ce668[_0x173d6(0x150)](_0x1e3688,{'range':_0x2934cd,'usingOperation':!0x0}),_0x3ce668[_0x173d6(0x150)](_0x2d024d,{'range':_0xf5137d,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x264f07=_0x5e40;(function(_0x35b80c,_0x53840b){const _0x2d87cc=_0x5e40,_0x38b171=_0x35b80c();while(!![]){try{const _0xf685c8=parseInt(_0x2d87cc(0x252))/0x1+parseInt(_0x2d87cc(0x26a))/0x2*(parseInt(_0x2d87cc(0x245))/0x3)+-parseInt(_0x2d87cc(0x25d))/0x4*(parseInt(_0x2d87cc(0x25e))/0x5)+parseInt(_0x2d87cc(0x253))/0x6*(parseInt(_0x2d87cc(0x1ef))/0x7)+-parseInt(_0x2d87cc(0x234))/0x8*(parseInt(_0x2d87cc(0x26c))/0x9)+parseInt(_0x2d87cc(0x248))/0xa*(parseInt(_0x2d87cc(0x257))/0xb)+parseInt(_0x2d87cc(0x206))/0xc;if(_0xf685c8===_0x53840b)break;else _0x38b171['push'](_0x38b171['shift']());}catch(_0x6b4494){_0x38b171['push'](_0x38b171['shift']());}}}(_0x1b9c,0x8b7a9));import{Plugin as _0x34e30a}from'ckeditor5/src/core.js';import{global as _0x5dd397,DomEmitterMixin as _0x432e6f}from'ckeditor5/src/utils.js';function _0x5e40(_0x1049db,_0x3ac40c){const _0x1b9cd6=_0x1b9c();return _0x5e40=function(_0x5e409f,_0x2a8887){_0x5e409f=_0x5e409f-0x1ea;let _0x15dc96=_0x1b9cd6[_0x5e409f];return _0x15dc96;},_0x5e40(_0x1049db,_0x3ac40c);}import{Sessions as _0x53ece5}from'./sessions.js';import{ModelLiveRange as _0x4e5664}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1b9c(){const _0x29f4b6=['orderNumber','element','isOfficialPlugin','getNearestSelectionRange','addEventListener','change','end','$text','39851qJsOOU','6792UpyDKM','spellcheck','removeMarker','outerHTML','7305595kdveFg','classList','Escape','innerHTML','hasDomSelection','type','1252RfZvIJ','15175lTWlie','tableCell','schema','addMarker','plugins','isCollapsed','render','getRange','rootName','newRange','model','markerName','38QbXilX','ck-user__marker\x20','2834163xtFpMi','highest','name','createElement','change:range','nodeAfter','has','isPremiumPlugin','delete','markerRange','set','removeClass','isLimit','markerNameToElements','marker','deletionPosition','4137nQFcVl','detach','view','isSimilar','destroy','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mySessionId','createRange','editor','getMarkerClass','setCustomProperty','getStart','checkChild','conversion','user:position:','data-session-id','get','false','getCustomProperty','pluginName','oldRange','document','afterInit','4136808yxWTTt','ck-user__marker-tooltip','size','batch','markerToHighlight','getFirstRange','editingDowncast','getUserBySessionId','markerToElement','user:range','selection','hasContent','markers','toRange','requires','getContainedElement','clear','getAttribute','listenTo','isDocumentOperation','user:position','isInline','_domEmitter','mouseleave','split','createUIElement','textContent','userPositionMarker','enqueueChange','updateMarker','toDomElement','UserMarkers','color','$graveyard','update:user:range','keydown','ck-user__marker_hovered','setAttribute','stopListening','parent','_createdBatches','reconvertMarker','getPositions','applyOperation','remove','mapper','24kgdXVj','getSelectionClass','start','user:range:','isObject','createUserMarkerOperations','contenteditable','editing','undo','startsWith','user:','mouseenter','add','for','span','commands','ck-user__selection','118143OjMndk','root','fromRange','10HAqKsU','init'];_0x1b9c=function(){return _0x29f4b6;};return _0x1b9c();}export class UserMarkers extends _0x34e30a{[_0x264f07(0x21c)]=new(_0x432e6f())();static get[_0x264f07(0x214)](){return[_0x53ece5];}static get[_0x264f07(0x202)](){const _0x663c6f=_0x264f07;return _0x663c6f(0x225);}static get[_0x264f07(0x24c)](){return!0x0;}static get[_0x264f07(0x273)](){return!0x0;}[_0x264f07(0x249)](){const _0x354d04=_0x264f07,_0x302ee7=this[_0x354d04(0x1f7)],_0x4911cc=_0x302ee7[_0x354d04(0x262)][_0x354d04(0x1ff)](_0x53ece5);_0x302ee7[_0x354d04(0x1fc)][_0x354d04(0x241)](_0x354d04(0x20c))[_0x354d04(0x20e)]({'model':_0x354d04(0x21a),'view':(_0x1cf312,{writer:_0x57a55f})=>function(_0x212964,_0x2acbc5,_0x554550,_0x32fa45){const _0x275713=_0x354d04,_0x5751d5=_0x212964[_0x275713(0x269)][_0x275713(0x21e)](':')[0x2],_0x54cbc5=_0x554550[_0x275713(0x20d)](_0x5751d5);if(!_0x54cbc5||_0x5751d5===_0x554550[_0x275713(0x1f5)])return;if(!_0x32fa45[_0x275713(0x268)][_0x275713(0x260)][_0x275713(0x1fb)](_0x212964[_0x275713(0x275)][_0x275713(0x236)],_0x275713(0x251)))return;const _0x32eca7={'class':_0x275713(0x26b)+_0x54cbc5[_0x275713(0x226)][_0x275713(0x1f8)](),'data-name':_0x54cbc5[_0x275713(0x26e)],'data-session-id':_0x5751d5},_0x1e938b=_0x32fa45[_0x275713(0x268)][_0x275713(0x212)][_0x275713(0x1ff)](_0x212964[_0x275713(0x269)]),_0x42a61d=_0x1e938b[_0x275713(0x1fa)](),_0x2b7a2d=_0x42a61d[_0x275713(0x271)],_0x12624b=_0x32fa45[_0x275713(0x268)][_0x275713(0x260)];if(_0x2b7a2d&&_0x12624b[_0x275713(0x238)](_0x2b7a2d)&&_0x12624b[_0x275713(0x21b)](_0x2b7a2d)&&!_0x32fa45[_0x275713(0x268)][_0x275713(0x212)][_0x275713(0x1ff)](_0x275713(0x237)+_0x5751d5)[_0x275713(0x265)]()[_0x275713(0x263)])return;const _0x25e828=_0x42a61d[_0x275713(0x22d)];return _0x32fa45[_0x275713(0x268)][_0x275713(0x260)][_0x275713(0x1eb)](_0x25e828)&&!_0x32fa45[_0x275713(0x268)][_0x275713(0x211)](_0x25e828)&&(_0x32eca7[_0x275713(0x23a)]=!0x1),function(_0x5e7f93,_0x187e59,_0x358389){const _0x13fc80=_0x275713,_0x318600=_0x5e7f93[_0x13fc80(0x21f)](_0x13fc80(0x242),_0x187e59);return _0x5e7f93[_0x13fc80(0x1f9)](_0x13fc80(0x221),!0x0,_0x318600),_0x318600[_0x13fc80(0x264)]=function(_0x6759da){const _0x481c8b=_0x13fc80,_0x1ac894=this[_0x481c8b(0x224)](_0x6759da),_0x341217=document[_0x481c8b(0x26f)](_0x481c8b(0x242));return _0x341217[_0x481c8b(0x258)][_0x481c8b(0x240)](_0x481c8b(0x207)),_0x341217[_0x481c8b(0x22b)](_0x481c8b(0x23a),_0x481c8b(0x200)),_0x341217[_0x481c8b(0x22b)](_0x481c8b(0x254),_0x481c8b(0x200)),_0x341217[_0x481c8b(0x220)]=_0x358389[_0x481c8b(0x26e)],_0x1ac894[_0x481c8b(0x25a)]=_0x481c8b(0x1f4)+_0x341217[_0x481c8b(0x256)]+'',_0x1ac894[_0x481c8b(0x24e)](_0x481c8b(0x23f),()=>{const _0x22829c=_0x481c8b;_0x1ac894[_0x22829c(0x258)][_0x22829c(0x240)](_0x22829c(0x22a));}),_0x1ac894[_0x481c8b(0x24e)](_0x481c8b(0x21d),()=>{const _0x516d6d=_0x481c8b;_0x1ac894[_0x516d6d(0x258)][_0x516d6d(0x232)](_0x516d6d(0x22a));}),_0x1ac894;},_0x318600[_0x13fc80(0x1f2)]=function(_0x427385){const _0x4c5773=_0x13fc80;return!(!this[_0x4c5773(0x201)](_0x4c5773(0x221))||!_0x427385[_0x4c5773(0x201)](_0x4c5773(0x221))||this[_0x4c5773(0x217)](_0x4c5773(0x1fe))!=_0x427385[_0x4c5773(0x217)](_0x4c5773(0x1fe)));},_0x318600;}(_0x2acbc5,_0x32eca7,_0x54cbc5);}(_0x1cf312,_0x57a55f,_0x4911cc,_0x302ee7)}),_0x302ee7[_0x354d04(0x1fc)][_0x354d04(0x241)](_0x354d04(0x20c))[_0x354d04(0x20a)]({'model':_0x354d04(0x20f),'view':_0xd3f736=>function(_0x41cdd8,_0x3f8c96){const _0xf485ad=_0x354d04,_0x285475=_0x41cdd8[_0xf485ad(0x269)][_0xf485ad(0x21e)](':')[0x2];if(_0x285475===_0x3f8c96[_0xf485ad(0x1f5)])return null;const _0x2d44f8=_0x3f8c96[_0xf485ad(0x20d)](_0x285475);if(!_0x2d44f8)return{'id':_0x285475,'classes':[]};return{'id':_0x285475,'classes':[_0xf485ad(0x244),_0x2d44f8[_0xf485ad(0x226)][_0xf485ad(0x235)]()],'attributes':{'data-session-id':_0x285475},'priority':0x7d0+_0x2d44f8[_0xf485ad(0x24a)]};}(_0xd3f736,_0x4911cc)}),function(_0x5744dd){const _0xb5cea4=_0x354d04,_0x5bc587=_0x5744dd[_0xb5cea4(0x268)],_0x55382f=new Map(),_0x8269a3=_0x5744dd[_0xb5cea4(0x262)][_0xb5cea4(0x1ff)](_0x53ece5);_0x5bc587[_0xb5cea4(0x212)]['on'](_0xb5cea4(0x228),(_0x2a3bb5,_0x1152db,_0x12ed21,_0x5da9b9)=>{const _0x7c0ba8=_0xb5cea4;if(!_0x5da9b9&&_0x55382f[_0x7c0ba8(0x1ff)](_0x1152db[_0x7c0ba8(0x26e)]))return _0x55382f[_0x7c0ba8(0x1ff)](_0x1152db[_0x7c0ba8(0x26e)])[_0x7c0ba8(0x1f0)](),void _0x55382f[_0x7c0ba8(0x274)](_0x1152db[_0x7c0ba8(0x26e)]);const _0x16b27b=_0x1152db[_0x7c0ba8(0x26e)][_0x7c0ba8(0x21e)](':')[0x2];if(_0x16b27b===_0x8269a3[_0x7c0ba8(0x1f5)])return;const _0x5a9975=_0x7c0ba8(0x1fd)+_0x16b27b;_0x5bc587[_0x7c0ba8(0x212)][_0x7c0ba8(0x272)](_0x5a9975)&&_0x5744dd[_0x7c0ba8(0x23b)][_0x7c0ba8(0x22f)](_0x5a9975),_0x1152db['on'](_0x7c0ba8(0x270),(_0x2afd18,_0x5e7eee,_0x57accc)=>{const _0x8713a0=_0x7c0ba8;if(_0x8713a0(0x227)!=_0x5e7eee[_0x8713a0(0x246)][_0x8713a0(0x266)]&&_0x8713a0(0x227)==_0x1152db[_0x8713a0(0x265)]()[_0x8713a0(0x246)][_0x8713a0(0x266)]&&!_0x55382f[_0x8713a0(0x272)](_0x1152db[_0x8713a0(0x26e)])){const _0x53c654=_0x5bc587[_0x8713a0(0x260)][_0x8713a0(0x24d)](_0x57accc[_0x8713a0(0x1ee)]);if(_0x53c654){const _0x3ffd03=_0x4e5664[_0x8713a0(0x247)](_0x53c654);_0x55382f[_0x8713a0(0x276)](_0x1152db[_0x8713a0(0x26e)],_0x3ffd03),_0x3ffd03['on'](_0x8713a0(0x270),(_0x595231,_0x48cbbc,_0x168f27)=>{const _0x1c5dcd=_0x8713a0;if(_0x1c5dcd(0x227)==_0x3ffd03[_0x1c5dcd(0x246)][_0x1c5dcd(0x266)]){const _0x5f11e6=_0x5bc587[_0x1c5dcd(0x260)][_0x1c5dcd(0x24d)](_0x168f27[_0x1c5dcd(0x1ee)]);_0x5f11e6?(_0x3ffd03[_0x1c5dcd(0x236)]=_0x5f11e6[_0x1c5dcd(0x236)],_0x3ffd03[_0x1c5dcd(0x250)]=_0x5f11e6[_0x1c5dcd(0x250)]):(_0x55382f[_0x1c5dcd(0x274)](_0x1152db[_0x1c5dcd(0x26e)]),_0x3ffd03[_0x1c5dcd(0x1f0)]());}});}}});}),_0x5bc587[_0xb5cea4(0x204)]['on'](_0xb5cea4(0x24f),()=>{const _0xe9b320=_0xb5cea4;_0x55382f[_0xe9b320(0x208)]>0x0&&_0x5bc587[_0xe9b320(0x222)]({'isUndoable':!0x1},_0x17127b=>{const _0x250f2b=_0xe9b320;for(const [_0x335a06,_0x475de7]of _0x55382f)_0x250f2b(0x227)==_0x5bc587[_0x250f2b(0x212)][_0x250f2b(0x1ff)](_0x335a06)[_0x250f2b(0x265)]()[_0x250f2b(0x246)][_0x250f2b(0x266)]&&(x(_0x335a06[_0x250f2b(0x21e)](':')[0x2],_0x475de7[_0x250f2b(0x213)](),_0x5bc587,_0x17127b),_0x475de7[_0x250f2b(0x1f0)]());_0x55382f[_0x250f2b(0x216)]();});});}(_0x302ee7),this[_0x354d04(0x21c)][_0x354d04(0x218)](_0x5dd397[_0x354d04(0x204)],_0x354d04(0x229),(_0x1f67f8,{key:_0x260c0a})=>{const _0x8d3cf9=_0x354d04;_0x8d3cf9(0x259)===_0x260c0a&&function(_0x5a6788){const _0x39e071=_0x8d3cf9;_0x5a6788[_0x39e071(0x23b)][_0x39e071(0x1f1)][_0x39e071(0x24f)](_0x3b6799=>{const _0x36006b=_0x39e071;for(const _0x2e16d6 of _0x5a6788[_0x36006b(0x268)][_0x36006b(0x212)]){if(!_0x2e16d6[_0x36006b(0x26e)][_0x36006b(0x23d)](_0x36006b(0x21a)))continue;const _0x5b076b=_0x5a6788[_0x36006b(0x23b)][_0x36006b(0x233)][_0x36006b(0x1ec)](_0x2e16d6[_0x36006b(0x26e)]);if(_0x5b076b){for(const _0x3a9a88 of _0x5b076b)_0x3b6799[_0x36006b(0x1ea)](_0x36006b(0x22a),_0x3a9a88);}}});}(_0x302ee7);},{'useCapture':!0x0});}[_0x264f07(0x205)](){const _0x32fc2a=_0x264f07,_0x2c2e9d=this[_0x32fc2a(0x1f7)],_0x1efce8=_0x2c2e9d[_0x32fc2a(0x243)][_0x32fc2a(0x1ff)](_0x32fc2a(0x23c));_0x1efce8&&_0x2c2e9d[_0x32fc2a(0x268)]['on'](_0x32fc2a(0x231),(_0x46894e,_0x1a6616)=>{const _0x59dc7a=_0x32fc2a,_0x1aa7c2=_0x1a6616[0x0];if(!_0x1aa7c2[_0x59dc7a(0x219)])return;if(_0x59dc7a(0x1ed)!=_0x1aa7c2[_0x59dc7a(0x25c)]||!_0x1aa7c2[_0x59dc7a(0x26e)][_0x59dc7a(0x23d)](_0x59dc7a(0x23e)))return;const _0x57347b=_0x1aa7c2[_0x59dc7a(0x209)];_0x1efce8[_0x59dc7a(0x22e)][_0x59dc7a(0x272)](_0x57347b)&&(_0x1aa7c2[_0x59dc7a(0x267)]=_0x1aa7c2[_0x59dc7a(0x203)]?_0x2c2e9d[_0x59dc7a(0x268)][_0x59dc7a(0x1f6)](_0x1aa7c2[_0x59dc7a(0x203)][_0x59dc7a(0x236)],_0x1aa7c2[_0x59dc7a(0x203)][_0x59dc7a(0x250)]):null);},{'priority':_0x32fc2a(0x26d)});}[_0x264f07(0x1f3)](){const _0x502222=_0x264f07;return this[_0x502222(0x21c)][_0x502222(0x22c)](),super[_0x502222(0x1f3)]();}[_0x264f07(0x239)](){const _0x297646=_0x264f07,_0x5440e2=this[_0x297646(0x1f7)],_0x1b8c50=_0x5440e2[_0x297646(0x268)][_0x297646(0x204)],_0x34aba8=_0x5440e2[_0x297646(0x262)][_0x297646(0x1ff)](_0x53ece5);_0x5440e2[_0x297646(0x268)][_0x297646(0x222)]({'isUndoable':!0x1},_0x2342a4=>{const _0x35f619=_0x297646,_0x16044c=_0x35f619(0x237)+_0x34aba8[_0x35f619(0x1f5)],_0x51c81e=_0x35f619(0x1fd)+_0x34aba8[_0x35f619(0x1f5)],_0x1aef30=_0x5440e2[_0x35f619(0x268)][_0x35f619(0x212)][_0x35f619(0x272)](_0x16044c);_0x5440e2[_0x35f619(0x23b)][_0x35f619(0x1f1)][_0x35f619(0x25b)]?x(_0x34aba8[_0x35f619(0x1f5)],_0x1b8c50[_0x35f619(0x210)][_0x35f619(0x20b)](),_0x5440e2[_0x35f619(0x268)],_0x2342a4):_0x1aef30&&(_0x2342a4[_0x35f619(0x255)](_0x16044c),_0x2342a4[_0x35f619(0x255)](_0x51c81e));});}}function x(_0x551387,_0x50ef70,_0x3de386,_0xb4a23d){const _0xc62a18=_0x264f07,_0x301eb9=_0xc62a18(0x237)+_0x551387,_0x55428a=_0xc62a18(0x1fd)+_0x551387,_0xad8fba=_0x50ef70[_0xc62a18(0x215)]();let _0x5c2d17=_0x50ef70[_0xc62a18(0x236)];if(_0xad8fba&&_0xad8fba['is'](_0xc62a18(0x24b),_0xc62a18(0x25f))){const _0x314a36=function(_0xe0eaf7,_0x4c49d3){const _0x1937e5=_0xc62a18;for(const _0x5b9af2 of _0xe0eaf7[_0x1937e5(0x230)]())if(_0x4c49d3[_0x1937e5(0x260)][_0x1937e5(0x1fb)](_0x5b9af2,_0x1937e5(0x251)))return _0x5b9af2;}(_0x50ef70,_0x3de386);_0x314a36&&(_0x5c2d17=_0x314a36,_0x50ef70=_0xb4a23d[_0xc62a18(0x1f6)](_0x5c2d17));}const _0x2a9c3c=_0xb4a23d[_0xc62a18(0x1f6)](_0x5c2d17);_0x3de386[_0xc62a18(0x212)][_0xc62a18(0x272)](_0x301eb9)?(_0xb4a23d[_0xc62a18(0x223)](_0x301eb9,{'range':_0x50ef70}),_0xb4a23d[_0xc62a18(0x223)](_0x55428a,{'range':_0x2a9c3c})):(_0xb4a23d[_0xc62a18(0x261)](_0x301eb9,{'range':_0x50ef70,'usingOperation':!0x0}),_0xb4a23d[_0xc62a18(0x261)](_0x55428a,{'range':_0x2a9c3c,'usingOperation':!0x0}));}
|