@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.1 → 47.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e0270=_0x364e;(function(_0xec40ed,_0x17e1cb){const _0x35b344=_0x364e,_0x4b1200=_0xec40ed();while(!![]){try{const _0x578ff7=-parseInt(_0x35b344(0x1ba))/0x1+parseInt(_0x35b344(0x1b4))/0x2+-parseInt(_0x35b344(0x19d))/0x3*(parseInt(_0x35b344(0x1c1))/0x4)+-parseInt(_0x35b344(0x1a8))/0x5+-parseInt(_0x35b344(0x1be))/0x6*(-parseInt(_0x35b344(0x1bc))/0x7)+-parseInt(_0x35b344(0x1ae))/0x8+parseInt(_0x35b344(0x1b8))/0x9;if(_0x578ff7===_0x17e1cb)break;else _0x4b1200['push'](_0x4b1200['shift']());}catch(_0x2b505f){_0x4b1200['push'](_0x4b1200['shift']());}}}(_0x4f0f,0x57729));import{View as _0x34d796}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xc2b6b6}from'ckeditor5/src/utils.js';import{getTranslation as _0x175bbb}from'../../common-translations.js';function _0x364e(_0x2c1b54,_0x9c3fa9){const _0x4f0f4b=_0x4f0f();return _0x364e=function(_0x364ee3,_0x5e5c0b){_0x364ee3=_0x364ee3-0x19d;let _0x29c24c=_0x4f0f4b[_0x364ee3];return _0x29c24c;},_0x364e(_0x2c1b54,_0x9c3fa9);}export class PresenceInlineListView extends _0x34d796{[_0x4e0270(0x1b3)];[_0x4e0270(0x1c2)];constructor(_0x570e70){const _0x36d6f3=_0x4e0270;super(_0x570e70);const _0x1aa052=this[_0x36d6f3(0x1a6)];this[_0x36d6f3(0x1b3)]=this[_0x36d6f3(0x1a4)](),this[_0x36d6f3(0x1c2)]=new _0xc2b6b6(),this[_0x36d6f3(0x1ab)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x36d6f3(0x1b9)]({'tag':_0x36d6f3(0x1af),'attributes':{'aria-haspopup':_0x1aa052['if'](_0x36d6f3(0x19f)),'aria-expanded':_0x1aa052['to'](_0x36d6f3(0x19e),_0x1ea583=>this[_0x36d6f3(0x19f)]&&String(_0x1ea583)),'aria-label':_0x1aa052['to'](_0x36d6f3(0x19f),_0x1454af=>_0x175bbb(_0x570e70,_0x1454af?_0x36d6f3(0x1a3):_0x36d6f3(0x1a5))),'role':_0x36d6f3(0x1bd),'tabindex':_0x1aa052['to'](_0x36d6f3(0x19f),_0x4fcd35=>!!_0x4fcd35&&0x0),'class':['ck',_0x36d6f3(0x1b6)]},'children':this[_0x36d6f3(0x1b3)],'on':{'mouseenter':_0x1aa052['to'](()=>this[_0x36d6f3(0x1a1)](_0x36d6f3(0x1b2))),'mouseleave':_0x1aa052['to'](_0xc7c5c5=>{const _0x3c61be=_0x36d6f3,_0x19344a=_0xc7c5c5,_0x660f97=document[_0x3c61be(0x1b5)](_0x3c61be(0x1bb)),_0x46ef8e=document[_0x3c61be(0x1b5)](_0x3c61be(0x1b1));_0x660f97?.[_0x3c61be(0x1a7)](_0x19344a[_0x3c61be(0x1aa)])||_0x46ef8e?.[_0x3c61be(0x1a7)](_0x19344a[_0x3c61be(0x1aa)])||this[_0x3c61be(0x1a1)](_0x3c61be(0x1ac));})}}),this['on'](_0x36d6f3(0x1a0),(_0x399c8a,_0x44b506,_0x1cd12b)=>{const _0x4b4d29=_0x36d6f3;this[_0x4b4d29(0x1c0)]&&(_0x1cd12b?this[_0x4b4d29(0x1c0)][_0x4b4d29(0x1ad)](_0x4b4d29(0x1b0),String(this[_0x4b4d29(0x19e)])):this[_0x4b4d29(0x1c0)][_0x4b4d29(0x1a2)](_0x4b4d29(0x1b0)));});}[_0x4e0270(0x1a9)](){const _0x5882ac=_0x4e0270;this[_0x5882ac(0x1c0)][_0x5882ac(0x1a9)]();}[_0x4e0270(0x1bf)](){const _0x5a9d9f=_0x4e0270;super[_0x5a9d9f(0x1bf)](),this[_0x5a9d9f(0x1c2)][_0x5a9d9f(0x1b7)](this[_0x5a9d9f(0x1c0)]);}}function _0x4f0f(){const _0x53674c=['bindTemplate','contains','3269895TUblMJ','focus','relatedTarget','set','presencelist:hide','setAttribute','1685944KbdcaM','div','aria-expanded','.ck-balloon-panel_with-arrow','presencelist:show','items','826458wuGAIx','querySelector','ck-presence-list__list','listenTo','7498737gHiOtm','setTemplate','3350oTiqYo','.ck-presence-list__dropdown-list','35qjvwCc','list','398838umBpnx','render','element','120vmUdFn','keystrokes','35253mxteUn','isExpanded','hasPopup','change:hasPopup','fire','removeAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','Connected\x20users\x20list'];_0x4f0f=function(){return _0x53674c;};return _0x4f0f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x25b4(){const _0x2dbb89=['49KgSCFD','tooltipPosition','isCollapsed','bind','change','set','3107982qxLOxL','ck-presence-list','2674358ollcNn','5375ctrVqH','items','7364824UnagfI','counterView','ck-reset','1022994OMrUXC','div','46828370hExlAj','63034acZuDe','locale','ck-presence-list--collapsed','4764IJAYFY','listenTo','bindTemplate','setTemplate','ck-rounded-corners','inlineListView','hasPopup','first','9wJUCel'];_0x25b4=function(){return _0x2dbb89;};return _0x25b4();}const _0x39a456=_0x3a84;(function(_0x3218e0,_0x54c110){const _0x3c82ae=_0x3a84,_0x4227b7=_0x3218e0();while(!![]){try{const _0x108e45=-parseInt(_0x3c82ae(0x1ba))/0x1+-parseInt(_0x3c82ae(0x1ce))/0x2+parseInt(_0x3c82ae(0x1cc))/0x3+-parseInt(_0x3c82ae(0x1bd))/0x4*(parseInt(_0x3c82ae(0x1cf))/0x5)+parseInt(_0x3c82ae(0x1b7))/0x6*(-parseInt(_0x3c82ae(0x1c6))/0x7)+-parseInt(_0x3c82ae(0x1b4))/0x8+-parseInt(_0x3c82ae(0x1c5))/0x9*(-parseInt(_0x3c82ae(0x1b9))/0xa);if(_0x108e45===_0x54c110)break;else _0x4227b7['push'](_0x4227b7['shift']());}catch(_0x2662a5){_0x4227b7['push'](_0x4227b7['shift']());}}}(_0x25b4,0xe1a25));function _0x3a84(_0x28a158,_0xfe8876){const _0x25b42a=_0x25b4();return _0x3a84=function(_0x3a84ab,_0x5f4842){_0x3a84ab=_0x3a84ab-0x1b4;let _0xa464f5=_0x25b42a[_0x3a84ab];return _0xa464f5;},_0x3a84(_0x28a158,_0xfe8876);}import{View as _0x3e55f8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x13eb01}from'./presencecounterview.js';import{PresenceInlineListView as _0x3df165}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3e55f8{[_0x39a456(0x1b5)];[_0x39a456(0x1c2)];constructor(_0x4aed92,_0x2472f7=0x6){const _0xc9c518=_0x39a456;super(_0x4aed92);const _0x5063f2=this[_0xc9c518(0x1bf)];this[_0xc9c518(0x1cb)](_0xc9c518(0x1c8),!0x0),this[_0xc9c518(0x1b5)]=new _0x13eb01(this[_0xc9c518(0x1bb)],_0x2472f7),this[_0xc9c518(0x1c2)]=new _0x3df165(_0x4aed92),this[_0xc9c518(0x1c2)][_0xc9c518(0x1c9)](_0xc9c518(0x1c3))['to'](this,_0xc9c518(0x1c8)),this[_0xc9c518(0x1be)](this[_0xc9c518(0x1c2)][_0xc9c518(0x1d0)],_0xc9c518(0x1ca),()=>{const _0x1b49c5=_0xc9c518;for(const _0x6b55eb of this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)])_0x6b55eb[_0x1b49c5(0x1c7)]='s';this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)][_0x1b49c5(0x1c4)]&&(this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)][_0x1b49c5(0x1c4)][_0x1b49c5(0x1c7)]='se');}),this[_0xc9c518(0x1c0)]({'tag':_0xc9c518(0x1b8),'attributes':{'class':['ck',_0xc9c518(0x1cd),_0xc9c518(0x1b6),_0xc9c518(0x1c1),_0x5063f2['if'](_0xc9c518(0x1c8),_0xc9c518(0x1bc))]},'children':[this[_0xc9c518(0x1c2)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x422f92=_0x32ec;function _0x32ec(_0x1b6a09,_0x5dd8db){var _0x12106b=_0x1210();return _0x32ec=function(_0x32ec41,_0x5b1b6c){_0x32ec41=_0x32ec41-0xe3;var _0x2e91c3=_0x12106b[_0x32ec41];return _0x2e91c3;},_0x32ec(_0x1b6a09,_0x5dd8db);}(function(_0x2a8120,_0x12876d){var _0x24f4a8=_0x32ec,_0x14f1b4=_0x2a8120();while(!![]){try{var _0x4b5142=-parseInt(_0x24f4a8(0xee))/0x1+-parseInt(_0x24f4a8(0xec))/0x2+-parseInt(_0x24f4a8(0xe7))/0x3*(-parseInt(_0x24f4a8(0xed))/0x4)+parseInt(_0x24f4a8(0xf2))/0x5+parseInt(_0x24f4a8(0xe3))/0x6*(parseInt(_0x24f4a8(0xe5))/0x7)+parseInt(_0x24f4a8(0xf1))/0x8*(parseInt(_0x24f4a8(0xf0))/0x9)+-parseInt(_0x24f4a8(0xe4))/0xa*(parseInt(_0x24f4a8(0xe6))/0xb);if(_0x4b5142===_0x12876d)break;else _0x14f1b4['push'](_0x14f1b4['shift']());}catch(_0xf71150){_0x14f1b4['push'](_0x14f1b4['shift']());}}}(_0x1210,0x833f2));function _0x1210(){var _0x4697e5=['4900300RmECjQ','6VZgHkK','13364090ylzGhp','6499591oMIhjF','11FjWVaf','918462IMazmQ','PresenceList','pluginName','isOfficialPlugin','requires','1771836SBWCgI','8lhQIMI','783554dVBpGQ','isPremiumPlugin','35127QdNJHE','2096RQkvWN'];_0x1210=function(){return _0x4697e5;};return _0x1210();}import{ContextPlugin as _0x452439}from'ckeditor5/src/core.js';import{Sessions as _0x37af4d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1ddf68}from'./presencelist/presencelistui.js';export class PresenceList extends _0x452439{static get[_0x422f92(0xeb)](){return[_0x37af4d,_0x1ddf68];}static get[_0x422f92(0xe9)](){var _0x2492fd=_0x422f92;return _0x2492fd(0xe8);}static get[_0x422f92(0xea)](){return!0x0;}static get[_0x422f92(0xef)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x19198e)());[_0x49e552(0x21b)];static get[_0x49e552(0x1ec)](){const _0xa70653=_0x49e552;return[_0x572f74,_0xa70653(0x205),_0x57c304,_0xadbdb9];}static get[_0x49e552(0x238)](){const _0x194026=_0x49e552;return _0x194026(0x1f0);}static get[_0x49e552(0x20d)](){return!0x0;}static get[_0x49e552(0x221)](){return!0x0;}constructor(_0x1f5d9e){const _0x498866=_0x49e552;super(_0x1f5d9e),this[_0x498866(0x21b)]=new Map();}async[_0x49e552(0x1f4)](){const _0xd97204=_0x49e552,_0x2e3d9c=this[_0xd97204(0x219)],_0x478e6d=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0xd97204(0x205));if(_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x572f74)[_0xd97204(0x1ff)](this),_0x478e6d[_0xd97204(0x1f6)]={'addCommentThread':async({channelId:_0x3a6009,threadId:_0x4dce14,comments:_0x272ecb,resolvedAt:_0x3b7a40,resolvedBy:_0x444fe6,context:_0x338f58,attributes:_0x385fd9})=>{const _0x49f6b3=_0xd97204,_0x3d8ac6=await this[_0x49f6b3(0x1ed)](_0x3a6009)[_0x49f6b3(0x201)]({'commentThreadId':_0x4dce14,'comments':_0x272ecb[_0x49f6b3(0x220)](_0x4f1e19=>function(_0x384d89,_0xdf53,_0xeff619){const _0x30b2b4=_0x49f6b3;return{'commentThreadId':_0xeff619,'commentId':_0x384d89[_0x30b2b4(0x213)],'userId':_0x384d89[_0x30b2b4(0x21a)],'content':_0x384d89[_0x30b2b4(0x1e8)],'documentId':_0xdf53,'createdAt':_0x384d89[_0x30b2b4(0x208)],'attributes':_0x384d89[_0x30b2b4(0x24d)]||{}};}(_0x4f1e19,_0x3a6009,_0x4dce14)),'resolvedAt':_0x3b7a40,'resolvedBy':_0x444fe6,'context':_0x338f58,'attributes':_0x385fd9})[_0x49f6b3(0x1eb)](A);return{'threadId':_0x3d8ac6[_0x49f6b3(0x20e)],'comments':_0x3d8ac6[_0x49f6b3(0x22b)]};},'getCommentThread':async({channelId:_0x148c57,threadId:_0x3955d1})=>{const _0x51fddd=_0xd97204,_0x4840f6=await this[_0x51fddd(0x1ed)](_0x148c57)[_0x51fddd(0x20f)](_0x3955d1)[_0x51fddd(0x1eb)](f)[_0x51fddd(0x1eb)](A);return _0x4840f6?_0x4840f6[_0x51fddd(0x23a)]?null:(await this[_0x51fddd(0x24e)]([_0x4840f6]),{'threadId':_0x4840f6[_0x51fddd(0x20e)],'comments':_0x4840f6[_0x51fddd(0x22b)][_0x51fddd(0x220)](p),'context':_0x4840f6[_0x51fddd(0x219)],'resolvedAt':_0x4840f6[_0x51fddd(0x22c)],'resolvedBy':_0x4840f6[_0x51fddd(0x23d)],'attributes':_0x4840f6[_0x51fddd(0x24d)]||{}}):null;},'updateCommentThread':async({channelId:_0x1687df,threadId:_0x12fc3a,context:_0x505912,unlinkedAt:_0x4c5ef1,attributes:_0x4c7750})=>this[_0xd97204(0x1ed)](_0x1687df)[_0xd97204(0x23b)]({'commentThreadId':_0x12fc3a,'context':_0x505912,'attributes':_0x4c7750,'unlinkedAt':_0x4c5ef1})[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'resolveCommentThread':async({channelId:_0x26292d,threadId:_0x3a5e50})=>{const _0xa13ffd=_0xd97204,_0x46cb93=await this[_0xa13ffd(0x1ed)](_0x26292d)[_0xa13ffd(0x223)](_0x3a5e50)[_0xa13ffd(0x1eb)](f)[_0xa13ffd(0x1eb)](A);return{'threadId':_0x46cb93[_0xa13ffd(0x20e)],'resolvedAt':_0x46cb93[_0xa13ffd(0x22c)],'resolvedBy':_0x46cb93[_0xa13ffd(0x23d)]};},'reopenCommentThread':async({channelId:_0x54c2de,threadId:_0x12e720})=>this[_0xd97204(0x1ed)](_0x54c2de)[_0xd97204(0x21d)](_0x12e720)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeCommentThread':({channelId:_0x429055,threadId:_0xd86986})=>this[_0xd97204(0x1ed)](_0x429055)[_0xd97204(0x24a)](_0xd86986)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'addComment':({channelId:_0xf6e9a9,threadId:_0x3e7018,commentId:_0x86c435,content:_0xe26c59,attributes:_0x49750a})=>this[_0xd97204(0x1ed)](_0xf6e9a9)[_0xd97204(0x245)](_0x3e7018,_0x86c435,_0xe26c59,_0x49750a)[_0xd97204(0x1eb)](A),'updateComment':({channelId:_0x3e8bf1,threadId:_0x588a38,commentId:_0x4bcba2,content:_0x79bc0d,attributes:_0x130292})=>this[_0xd97204(0x1ed)](_0x3e8bf1)[_0xd97204(0x215)](_0x588a38,_0x4bcba2,_0x79bc0d,_0x130292)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeComment':({channelId:_0xc5322b,threadId:_0x221a2c,commentId:_0x49c904})=>this[_0xd97204(0x1ed)](_0xc5322b)[_0xd97204(0x1ea)](_0x221a2c,_0x49c904)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A)},_0x2e3d9c instanceof _0xb49a0){const _0x4cef3c=_0x2e3d9c[_0xd97204(0x23e)][_0xd97204(0x231)](_0xd97204(0x1fe)),_0x112297=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x57c304);await this[_0xd97204(0x200)](_0x4cef3c);const _0xc2b689=await this[_0xd97204(0x21b)][_0xd97204(0x231)](_0x4cef3c)[_0xd97204(0x209)]();this[_0xd97204(0x243)](_0x112297,_0xd97204(0x24b)+_0x4cef3c,(_0x4ff856,{session:_0x548775})=>{const _0x5e682c=_0xd97204;_0x548775['id']===_0x112297[_0x5e682c(0x1fa)]&&(_0x4ff856[_0x5e682c(0x212)](),this[_0x5e682c(0x219)][_0x5e682c(0x1f9)][_0x5e682c(0x231)](_0x5e682c(0x22d))[_0x5e682c(0x227)](_0x548775[_0x5e682c(0x204)],_0x4cef3c));}),_0x112297[_0xd97204(0x1fc)](_0x4cef3c,_0xc2b689);}}async[_0x49e552(0x200)](_0x31268e){const _0x4cf533=_0x49e552;if(this[_0x4cf533(0x21b)][_0x4cf533(0x240)](_0x31268e))throw new _0x2ccbc0(_0x4cf533(0x211),null,{'channelId':_0x31268e});const _0x2556d0=this[_0x4cf533(0x219)][_0x4cf533(0x1f9)][_0x4cf533(0x231)](_0x4cf533(0x205)),_0xa6f9a3=new CloudServicesCommentsAdapter[(_0x4cf533(0x224))](_0x31268e);this[_0x4cf533(0x21b)][_0x4cf533(0x248)](_0x31268e,_0xa6f9a3),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x218),(_0x4de71e,_0x303c84)=>{const _0x8ea278=_0x4cf533,{commentThreadId:_0x45ad53,documentId:_0x249fd3,context:_0x280b1d,attributes:_0x3cff19,resolvedAt:_0x33f32d,resolvedBy:_0x3e2382,comments:_0x60b2c3}=_0x303c84;_0x2556d0[_0x8ea278(0x20f)](_0x45ad53)||_0x2556d0[_0x8ea278(0x201)]({'threadId':_0x45ad53,'channelId':_0x249fd3,'comments':_0x60b2c3?_0x60b2c3[_0x8ea278(0x220)](p):[],'context':_0x280b1d,'attributes':_0x3cff19,'resolvedAt':_0x33f32d,'resolvedBy':_0x3e2382,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x23f),(_0xa35b2a,{commentThreadId:_0x1f6ad3,documentId:_0x3b1773,context:_0x1ba587,unlinkedAt:_0x16ffe5,attributes:_0x3fac58})=>{const _0x44fadd=_0x4cf533;_0x2556d0[_0x44fadd(0x20f)](_0x1f6ad3)&&_0x2556d0[_0x44fadd(0x23b)]({'threadId':_0x1f6ad3,'channelId':_0x3b1773,'context':_0x1ba587,'unlinkedAt':_0x16ffe5,'attributes':_0x3fac58,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1fd),(_0x16cccc,{commentThreadId:_0x43cc8c,resolvedBy:_0x2e4a1c,resolvedAt:_0x189fa4})=>{const _0x57cff6=_0x4cf533,_0x1b3207=_0x2556d0[_0x57cff6(0x20f)](_0x43cc8c);_0x1b3207&&_0x1b3207[_0x57cff6(0x203)]({'resolvedBy':_0x2e4a1c,'resolvedAt':_0x189fa4,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x239),(_0x584fa,{commentThreadId:_0x4faac5})=>{const _0x343c22=_0x4cf533,_0x127b2e=_0x2556d0[_0x343c22(0x20f)](_0x4faac5);_0x127b2e&&_0x127b2e[_0x343c22(0x229)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x247),(_0x30e99f,{commentThreadId:_0x56cdb9})=>{const _0x95ffc1=_0x4cf533,_0x4ccd29=_0x2556d0[_0x95ffc1(0x20f)](_0x56cdb9);_0x4ccd29&&_0x4ccd29[_0x95ffc1(0x206)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1f1),(_0x5c5443,_0x30e5bf)=>{const _0xc192f3=_0x4cf533,_0x500172=_0x30e5bf[_0xc192f3(0x20e)],_0x288c35=_0x2556d0[_0xc192f3(0x20f)](_0x500172);_0x288c35&&_0x288c35[_0xc192f3(0x245)]({...p(_0x30e5bf),'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x21f),(_0x542901,{commentThreadId:_0x100790,commentId:_0x5080b1,content:_0x5cd87b,attributes:_0x2a8df4})=>{const _0x42cc6b=_0x4cf533,_0x3e4fd3=_0x2556d0[_0x42cc6b(0x20f)](_0x100790);if(_0x3e4fd3){const _0x375de5=_0x3e4fd3[_0x42cc6b(0x21e)](_0x5080b1);_0x375de5&&_0x375de5[_0x42cc6b(0x20a)]({'content':_0x5cd87b,'attributes':_0x2a8df4,'isFromAdapter':!0x0});}}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x241),(_0x4ccec4,{commentThreadId:_0x447704,commentId:_0x1680e4})=>{const _0x460668=_0x4cf533,_0x5f09a6=_0x2556d0[_0x460668(0x20f)](_0x447704);if(_0x5f09a6){const _0x317020=_0x5f09a6[_0x460668(0x21e)](_0x1680e4);_0x317020&&_0x317020[_0x460668(0x206)]({'isFromAdapter':!0x0});}}),await this[_0x4cf533(0x222)](_0x31268e);}[_0x49e552(0x228)](){const _0x355884=_0x49e552;if(this[_0x355884(0x219)]instanceof _0xb49a0){const _0x69f837=this[_0x355884(0x219)][_0x355884(0x23e)][_0x355884(0x231)](_0x355884(0x1fe));this[_0x355884(0x1e9)](_0x69f837);}}[_0x49e552(0x1e9)](_0x56111d){const _0x1b6106=_0x49e552;if(!this[_0x1b6106(0x21b)][_0x1b6106(0x240)](_0x56111d))throw new _0x2ccbc0(_0x1b6106(0x214),null,{'channelId':_0x56111d});this[_0x1b6106(0x1ed)](_0x56111d)[_0x1b6106(0x22e)](),this[_0x1b6106(0x21b)][_0x1b6106(0x207)](_0x56111d);}async[_0x49e552(0x1f5)](){const _0x259911=_0x49e552;for(const _0x1b1eec of this[_0x259911(0x21b)][_0x259911(0x242)]())await this[_0x259911(0x222)](_0x1b1eec);if(this[_0x259911(0x219)]instanceof _0xb49a0){const _0x59d839=this[_0x259911(0x219)][_0x259911(0x23e)][_0x259911(0x231)](_0x259911(0x1fe)),_0x283ccc=this[_0x259911(0x219)][_0x259911(0x1f9)][_0x259911(0x231)](_0x57c304);_0x283ccc[_0x259911(0x1f8)](_0x59d839);const _0x50e3b3=await this[_0x259911(0x21b)][_0x259911(0x231)](_0x59d839)[_0x259911(0x209)]();_0x283ccc[_0x259911(0x1fc)](_0x59d839,_0x50e3b3);}}async[_0x49e552(0x222)](_0x2fbd0f){const _0x16fbc2=_0x49e552,{connection:_0x1a3355}=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x572f74),_0x3f101f=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x16fbc2(0x205)),_0x5319ce=this[_0x16fbc2(0x21b)][_0x16fbc2(0x231)](_0x2fbd0f),_0x48ec65=await _0x5319ce[_0x16fbc2(0x225)](_0x1a3355);await this[_0x16fbc2(0x24e)](_0x48ec65);const _0x3a2ffd=new Set(Array[_0x16fbc2(0x24c)](_0x3f101f[_0x16fbc2(0x244)]({'channelId':_0x2fbd0f}),_0x3526fe=>_0x3526fe['id']));for(const _0x349aa4 of _0x48ec65)_0x349aa4[_0x16fbc2(0x23a)]||_0x3a2ffd[_0x16fbc2(0x207)](_0x349aa4[_0x16fbc2(0x20e)]);for(const _0xd4992e of _0x3a2ffd)_0x3f101f[_0x16fbc2(0x20f)](_0xd4992e)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x3bfb55 of _0x48ec65){let _0xd452e2=_0x3f101f[_0x16fbc2(0x20f)](_0x3bfb55[_0x16fbc2(0x20e)]);const {commentThreadId:_0x3a6648,context:_0x1eaf6f,attributes:_0x490d45,resolvedBy:_0x151db3,resolvedAt:_0xcd3bb,unlinkedAt:_0x20ce6d,deletedAt:_0xbfa43f}=_0x3bfb55;if(_0xbfa43f)continue;_0xd452e2||(_0xd452e2=_0x3f101f[_0x16fbc2(0x201)]({'channelId':_0x2fbd0f,'threadId':_0x3a6648,'context':_0x1eaf6f,'attributes':_0x490d45||{},'resolvedBy':_0x151db3,'resolvedAt':_0xcd3bb,'unlinkedAt':_0x20ce6d,'isFromAdapter':!0x0}));const _0x59525a=new Set(Array[_0x16fbc2(0x24c)](_0xd452e2[_0x16fbc2(0x22b)],_0x156c59=>_0x156c59['id']));for(const _0x3aa74d of _0x3bfb55[_0x16fbc2(0x22b)])_0x59525a[_0x16fbc2(0x207)](_0x3aa74d[_0x16fbc2(0x213)]);for(const _0x313871 of _0x59525a)_0xd452e2[_0x16fbc2(0x21e)](_0x313871)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x235dab of _0x3bfb55[_0x16fbc2(0x22b)]){const _0xe9717f=_0xd452e2[_0x16fbc2(0x21e)](_0x235dab[_0x16fbc2(0x213)]);_0xe9717f?_0xe9717f[_0x16fbc2(0x1e8)]!==_0x235dab[_0x16fbc2(0x1e8)]&&_0xe9717f[_0x16fbc2(0x20a)]({'content':_0x235dab[_0x16fbc2(0x1e8)],'isFromAdapter':!0x0}):_0xd452e2[_0x16fbc2(0x245)](Object[_0x16fbc2(0x234)](p(_0x235dab),{'isFromAdapter':!0x0}));}}}[_0x49e552(0x1ed)](_0x14a6ac){const _0x3fb3e2=_0x49e552;if(!this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x240)](_0x14a6ac))throw new _0x2ccbc0(_0x3fb3e2(0x1ef),null,{'channelId':_0x14a6ac});return this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x231)](_0x14a6ac);}async[_0x49e552(0x24e)](_0xc8f59c){const _0x53ee03=_0x49e552,_0x2ca3c2=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0xadbdb9),{connection:_0x394e90}=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0x572f74),_0x4e985d=new Set();for(const {resolvedBy:_0x1fa00d,comments:_0x4e4279}of _0xc8f59c){_0x1fa00d&&!_0x2ca3c2[_0x53ee03(0x202)](_0x1fa00d)&&_0x4e985d[_0x53ee03(0x237)](_0x1fa00d);for(const {userId:_0x3d22a3}of _0x4e4279)_0x2ca3c2[_0x53ee03(0x202)](_0x3d22a3)||_0x4e985d[_0x53ee03(0x237)](_0x3d22a3);}if(0x0===_0x4e985d[_0x53ee03(0x1fb)])return;const _0x495e4a=await _0x13ab60[_0x53ee03(0x210)](_0x394e90,Array[_0x53ee03(0x24c)](_0x4e985d));for(const _0x597aaf of _0x495e4a)_0x2ca3c2[_0x53ee03(0x202)](_0x597aaf['id'])||_0x2ca3c2[_0x53ee03(0x22f)](_0x597aaf);}}async function f(_0x4f2c5e){const _0x1f6e34=_0x49e552;if(_0x1f6e34(0x226)!==_0x4f2c5e[_0x1f6e34(0x236)])throw _0x4f2c5e;}function A(_0x4d429a){const _0x13a639=_0x49e552;if((_0x10fbcc=_0x4d429a)[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x1f7))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x20c))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x217)))return new Promise(()=>{});var _0x10fbcc;throw _0x4d429a;}function p(_0xba8e4b){const _0x374959=_0x49e552;return{'threadId':_0xba8e4b[_0x374959(0x20e)],'commentId':_0xba8e4b[_0x374959(0x213)],'content':_0xba8e4b[_0x374959(0x1e8)],'createdAt':_0xba8e4b[_0x374959(0x208)],'authorId':_0xba8e4b[_0x374959(0x232)],'attributes':_0xba8e4b[_0x374959(0x24d)]||{}};}
|
|
23
|
+
const _0x25ac5b=_0x4531;(function(_0x2d927d,_0x4beacc){const _0x121ef3=_0x4531,_0x331d4d=_0x2d927d();while(!![]){try{const _0x292cfc=parseInt(_0x121ef3(0x1b6))/0x1+-parseInt(_0x121ef3(0x1c5))/0x2+parseInt(_0x121ef3(0x192))/0x3*(-parseInt(_0x121ef3(0x185))/0x4)+parseInt(_0x121ef3(0x1bb))/0x5+-parseInt(_0x121ef3(0x1bf))/0x6*(parseInt(_0x121ef3(0x163))/0x7)+parseInt(_0x121ef3(0x187))/0x8+parseInt(_0x121ef3(0x1c2))/0x9;if(_0x292cfc===_0x4beacc)break;else _0x331d4d['push'](_0x331d4d['shift']());}catch(_0x3d4195){_0x331d4d['push'](_0x331d4d['shift']());}}}(_0x1b42,0xa3512));import{Context as _0x38f19b,ContextPlugin as _0x1acff4}from'ckeditor5/src/core.js';import{CKEditorError as _0x4f8d4c}from'ckeditor5/src/utils.js';import{Users as _0x18a80f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x182f26,User as _0x1f60bb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1b42(){const _0xdfd2e3=['plugins','_connectService','removeCommentThread','596824XzzjPT','commentThreadUpdated','10495168iwAXUk','authorId','reconnect','userId','getCommentThreads','resolveCommentThread','removeComment','has','connect','updateComment','destroy','12LiyMJH','cloudservicescommentsadapter-disconnect-not-exist','message','content','permissions','context','startsWith','delete','reopen','cloud-services-internal-error:\x20Request\x20timeout.','commentId','CommentsRepository','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','setPermissions','CloudServicesCommentsAdapter','CommentsService','createdAt','commentAdded','remove','pluginName','resolvedBy','commentThreadRemoved','attributes','comments','config','addCommentThread','_setUpService','cloud-services-internal-error:\x20Not\x20connected.','requires','keys','from','_getService','register','add','getMany','collaboration.channelId','1062816zqLsDT','sessionAdd:','getComment','reopenCommentThread','map','3957140OiPioZ','update','addComment','commentThreadId','6LtAmDr','404','catch','974979kjmxCf','commentUpdated','commentThreadReopened','2521544YLJSPZ','getUser','assign','5235503xDgSQZ','size','resolve','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-connect-already-connected','getConnectedSessions','addUser','code','commentThreadAdded','commentRemoved','Permissions','isPremiumPlugin','updateCommentThread','deletedAt','getCommentThread','init','commentThreadResolved','adapter','mySessionId','isOfficialPlugin','_fetchMissingUsersForThreads','disconnect','listenTo','unregister','_services','addToReconnectionStack','_terminateService','resolvedAt','set','get','off'];_0x1b42=function(){return _0xdfd2e3;};return _0x1b42();}import{WebSocketGateway as _0x15bdca}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4e8f9d}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1acff4{static [_0x25ac5b(0x1a1)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x182f26)());[_0x25ac5b(0x17b)];static get[_0x25ac5b(0x1ae)](){const _0x5063f3=_0x25ac5b;return[_0x15bdca,_0x5063f3(0x19d),_0x4e8f9d,_0x18a80f];}static get[_0x25ac5b(0x1a5)](){const _0x481efe=_0x25ac5b;return _0x481efe(0x1a0);}static get[_0x25ac5b(0x176)](){return!0x0;}static get[_0x25ac5b(0x16e)](){return!0x0;}constructor(_0x5961bd){const _0x1afd92=_0x25ac5b;super(_0x5961bd),this[_0x1afd92(0x17b)]=new Map();}async[_0x25ac5b(0x172)](){const _0x4a3889=_0x25ac5b,_0x4427a8=this[_0x4a3889(0x197)],_0xc93246=_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x4a3889(0x19d));if(_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x15bdca)[_0x4a3889(0x17c)](this),_0xc93246[_0x4a3889(0x174)]={'addCommentThread':async({channelId:_0x125aa2,threadId:_0x536461,comments:_0x27f44f,resolvedAt:_0x27b193,resolvedBy:_0x4f184f,context:_0x36b6c9,attributes:_0xaed07c})=>{const _0x510ed0=_0x4a3889,_0x317062=await this[_0x510ed0(0x1b1)](_0x125aa2)[_0x510ed0(0x1ab)]({'commentThreadId':_0x536461,'comments':_0x27f44f[_0x510ed0(0x1ba)](_0x500259=>function(_0x38bf1d,_0x170d59,_0x96a07c){const _0x1d0a5f=_0x510ed0;return{'commentThreadId':_0x96a07c,'commentId':_0x38bf1d[_0x1d0a5f(0x19c)],'userId':_0x38bf1d[_0x1d0a5f(0x188)],'content':_0x38bf1d[_0x1d0a5f(0x195)],'documentId':_0x170d59,'createdAt':_0x38bf1d[_0x1d0a5f(0x1a2)],'attributes':_0x38bf1d[_0x1d0a5f(0x1a8)]||{}};}(_0x500259,_0x125aa2,_0x536461)),'resolvedAt':_0x27b193,'resolvedBy':_0x4f184f,'context':_0x36b6c9,'attributes':_0xaed07c})[_0x510ed0(0x1c1)](et);return{'threadId':_0x317062[_0x510ed0(0x1be)],'comments':_0x317062[_0x510ed0(0x1a9)]};},'getCommentThread':async({channelId:_0xccebe0,threadId:_0x3e8f8d})=>{const _0x1049b0=_0x4a3889,_0x27218b=await this[_0x1049b0(0x1b1)](_0xccebe0)[_0x1049b0(0x171)](_0x3e8f8d)[_0x1049b0(0x1c1)](st)[_0x1049b0(0x1c1)](et);return _0x27218b?_0x27218b[_0x1049b0(0x170)]?null:(await this[_0x1049b0(0x177)]([_0x27218b]),{'threadId':_0x27218b[_0x1049b0(0x1be)],'comments':_0x27218b[_0x1049b0(0x1a9)][_0x1049b0(0x1ba)](rt),'context':_0x27218b[_0x1049b0(0x197)],'resolvedAt':_0x27218b[_0x1049b0(0x17e)],'resolvedBy':_0x27218b[_0x1049b0(0x1a6)],'attributes':_0x27218b[_0x1049b0(0x1a8)]||{}}):null;},'updateCommentThread':async({channelId:_0x182c8d,threadId:_0x379bde,context:_0x165070,unlinkedAt:_0x4f0f5a,attributes:_0x455c8c})=>this[_0x4a3889(0x1b1)](_0x182c8d)[_0x4a3889(0x16f)]({'commentThreadId':_0x379bde,'context':_0x165070,'attributes':_0x455c8c,'unlinkedAt':_0x4f0f5a})[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'resolveCommentThread':async({channelId:_0x592d19,threadId:_0x669b2d})=>{const _0x107ca2=_0x4a3889,_0x94fa3f=await this[_0x107ca2(0x1b1)](_0x592d19)[_0x107ca2(0x18c)](_0x669b2d)[_0x107ca2(0x1c1)](st)[_0x107ca2(0x1c1)](et);return{'threadId':_0x94fa3f[_0x107ca2(0x1be)],'resolvedAt':_0x94fa3f[_0x107ca2(0x17e)],'resolvedBy':_0x94fa3f[_0x107ca2(0x1a6)]};},'reopenCommentThread':async({channelId:_0x162a06,threadId:_0x5659d1})=>this[_0x4a3889(0x1b1)](_0x162a06)[_0x4a3889(0x1b9)](_0x5659d1)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'removeCommentThread':({channelId:_0x177569,threadId:_0x34dff0})=>this[_0x4a3889(0x1b1)](_0x177569)[_0x4a3889(0x184)](_0x34dff0)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'addComment':({channelId:_0x61b757,threadId:_0x1c7a99,commentId:_0x2df9bf,content:_0x25d541,attributes:_0x2dd85a})=>this[_0x4a3889(0x1b1)](_0x61b757)[_0x4a3889(0x1bd)](_0x1c7a99,_0x2df9bf,_0x25d541,_0x2dd85a)[_0x4a3889(0x1c1)](et),'updateComment':({channelId:_0x1a9382,threadId:_0x18e111,commentId:_0x25d8ea,content:_0x7a44f7,attributes:_0x20ce34})=>this[_0x4a3889(0x1b1)](_0x1a9382)[_0x4a3889(0x190)](_0x18e111,_0x25d8ea,_0x7a44f7,_0x20ce34)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'removeComment':({channelId:_0x18294e,threadId:_0x39c3b1,commentId:_0x5e5cf1})=>this[_0x4a3889(0x1b1)](_0x18294e)[_0x4a3889(0x18d)](_0x39c3b1,_0x5e5cf1)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et)},_0x4427a8 instanceof _0x38f19b){const _0x4b1122=_0x4427a8[_0x4a3889(0x1aa)][_0x4a3889(0x180)](_0x4a3889(0x1b5)),_0x371550=_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x4e8f9d);await this[_0x4a3889(0x1ac)](_0x4b1122);const _0x230619=await this[_0x4a3889(0x17b)][_0x4a3889(0x180)](_0x4b1122)[_0x4a3889(0x168)]();this[_0x4a3889(0x179)](_0x371550,_0x4a3889(0x1b7)+_0x4b1122,(_0x3e0626,{session:_0x370329})=>{const _0x2c5a84=_0x4a3889;_0x370329['id']===_0x371550[_0x2c5a84(0x175)]&&(_0x3e0626[_0x2c5a84(0x181)](),this[_0x2c5a84(0x197)][_0x2c5a84(0x182)][_0x2c5a84(0x180)](_0x2c5a84(0x16d))[_0x2c5a84(0x19f)](_0x370329[_0x2c5a84(0x196)],_0x4b1122));}),_0x371550[_0x4a3889(0x1b2)](_0x4b1122,_0x230619);}}async[_0x25ac5b(0x1ac)](_0x24eabb){const _0x5a31e0=_0x25ac5b;if(this[_0x5a31e0(0x17b)][_0x5a31e0(0x18e)](_0x24eabb))throw new _0x4f8d4c(_0x5a31e0(0x167),null,{'channelId':_0x24eabb});const _0x34747a=this[_0x5a31e0(0x197)][_0x5a31e0(0x182)][_0x5a31e0(0x180)](_0x5a31e0(0x19d)),_0x5ccb96=new CloudServicesCommentsAdapter[(_0x5a31e0(0x1a1))](_0x24eabb);this[_0x5a31e0(0x17b)][_0x5a31e0(0x17f)](_0x24eabb,_0x5ccb96),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x16b),(_0x2295d7,_0x4d4971)=>{const _0x57314a=_0x5a31e0,{commentThreadId:_0x4abe39,documentId:_0x313f55,context:_0xf09f08,attributes:_0x432229,resolvedAt:_0x4d9d37,resolvedBy:_0x3d9ec7,comments:_0xef5af9}=_0x4d4971;_0x34747a[_0x57314a(0x171)](_0x4abe39)||_0x34747a[_0x57314a(0x1ab)]({'threadId':_0x4abe39,'channelId':_0x313f55,'comments':_0xef5af9?_0xef5af9[_0x57314a(0x1ba)](rt):[],'context':_0xf09f08,'attributes':_0x432229,'resolvedAt':_0x4d9d37,'resolvedBy':_0x3d9ec7,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x186),(_0x2d63c3,{commentThreadId:_0x2a39b7,documentId:_0x3e3e3a,context:_0x596c68,unlinkedAt:_0x3c1aea,attributes:_0x220d43})=>{const _0x25f83d=_0x5a31e0;_0x34747a[_0x25f83d(0x171)](_0x2a39b7)&&_0x34747a[_0x25f83d(0x16f)]({'threadId':_0x2a39b7,'channelId':_0x3e3e3a,'context':_0x596c68,'unlinkedAt':_0x3c1aea,'attributes':_0x220d43,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x173),(_0x3ccd86,{commentThreadId:_0x419b0a,resolvedBy:_0x4a6cc1,resolvedAt:_0x19bba5})=>{const _0x27db0c=_0x5a31e0,_0x40469d=_0x34747a[_0x27db0c(0x171)](_0x419b0a);_0x40469d&&_0x40469d[_0x27db0c(0x165)]({'resolvedBy':_0x4a6cc1,'resolvedAt':_0x19bba5,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1c4),(_0x15ebbd,{commentThreadId:_0x267d18})=>{const _0x37a424=_0x5a31e0,_0x6ac1fc=_0x34747a[_0x37a424(0x171)](_0x267d18);_0x6ac1fc&&_0x6ac1fc[_0x37a424(0x19a)]({'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1a7),(_0x421ad8,{commentThreadId:_0x3fe3b6})=>{const _0x14755b=_0x5a31e0,_0x391892=_0x34747a[_0x14755b(0x171)](_0x3fe3b6);_0x391892&&_0x391892[_0x14755b(0x1a4)]({'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1a3),(_0x564fa9,_0x8a2f11)=>{const _0xdd6361=_0x5a31e0,_0x472ffc=_0x8a2f11[_0xdd6361(0x1be)],_0x24e951=_0x34747a[_0xdd6361(0x171)](_0x472ffc);_0x24e951&&_0x24e951[_0xdd6361(0x1bd)]({...rt(_0x8a2f11),'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1c3),(_0xbb9d2d,{commentThreadId:_0x3dc0aa,commentId:_0x52d99a,content:_0x558ca9,attributes:_0x4d2de9})=>{const _0x3dd0d6=_0x5a31e0,_0x34a05b=_0x34747a[_0x3dd0d6(0x171)](_0x3dc0aa);if(_0x34a05b){const _0x17c556=_0x34a05b[_0x3dd0d6(0x1b8)](_0x52d99a);_0x17c556&&_0x17c556[_0x3dd0d6(0x1bc)]({'content':_0x558ca9,'attributes':_0x4d2de9,'isFromAdapter':!0x0});}}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x16c),(_0x52285c,{commentThreadId:_0x5043b9,commentId:_0x842b62})=>{const _0x34809a=_0x5a31e0,_0x2eaf09=_0x34747a[_0x34809a(0x171)](_0x5043b9);if(_0x2eaf09){const _0x11d0ec=_0x2eaf09[_0x34809a(0x1b8)](_0x842b62);_0x11d0ec&&_0x11d0ec[_0x34809a(0x1a4)]({'isFromAdapter':!0x0});}}),await this[_0x5a31e0(0x183)](_0x24eabb);}[_0x25ac5b(0x191)](){const _0x203d51=_0x25ac5b;if(this[_0x203d51(0x197)]instanceof _0x38f19b){const _0x44ca8c=this[_0x203d51(0x197)][_0x203d51(0x1aa)][_0x203d51(0x180)](_0x203d51(0x1b5));this[_0x203d51(0x17d)](_0x44ca8c);}}[_0x25ac5b(0x17d)](_0x4b95e5){const _0x4b5b47=_0x25ac5b;if(!this[_0x4b5b47(0x17b)][_0x4b5b47(0x18e)](_0x4b95e5))throw new _0x4f8d4c(_0x4b5b47(0x193),null,{'channelId':_0x4b95e5});this[_0x4b5b47(0x1b1)](_0x4b95e5)[_0x4b5b47(0x178)](),this[_0x4b5b47(0x17b)][_0x4b5b47(0x199)](_0x4b95e5);}async[_0x25ac5b(0x189)](){const _0x4266ef=_0x25ac5b;for(const _0x983e90 of this[_0x4266ef(0x17b)][_0x4266ef(0x1af)]())await this[_0x4266ef(0x183)](_0x983e90);if(this[_0x4266ef(0x197)]instanceof _0x38f19b){const _0x130a31=this[_0x4266ef(0x197)][_0x4266ef(0x1aa)][_0x4266ef(0x180)](_0x4266ef(0x1b5)),_0x32bedb=this[_0x4266ef(0x197)][_0x4266ef(0x182)][_0x4266ef(0x180)](_0x4e8f9d);_0x32bedb[_0x4266ef(0x17a)](_0x130a31);const _0x21ccf4=await this[_0x4266ef(0x17b)][_0x4266ef(0x180)](_0x130a31)[_0x4266ef(0x168)]();_0x32bedb[_0x4266ef(0x1b2)](_0x130a31,_0x21ccf4);}}async[_0x25ac5b(0x183)](_0xf02c39){const _0x5e9e4b=_0x25ac5b,{connection:_0x2a7d6d}=this[_0x5e9e4b(0x197)][_0x5e9e4b(0x182)][_0x5e9e4b(0x180)](_0x15bdca),_0x2bd914=this[_0x5e9e4b(0x197)][_0x5e9e4b(0x182)][_0x5e9e4b(0x180)](_0x5e9e4b(0x19d)),_0x2e3fac=this[_0x5e9e4b(0x17b)][_0x5e9e4b(0x180)](_0xf02c39),_0x3c5a6a=await _0x2e3fac[_0x5e9e4b(0x18f)](_0x2a7d6d);await this[_0x5e9e4b(0x177)](_0x3c5a6a);const _0x587396=new Set(Array[_0x5e9e4b(0x1b0)](_0x2bd914[_0x5e9e4b(0x18b)]({'channelId':_0xf02c39}),_0x3d633c=>_0x3d633c['id']));for(const _0x485095 of _0x3c5a6a)_0x485095[_0x5e9e4b(0x170)]||_0x587396[_0x5e9e4b(0x199)](_0x485095[_0x5e9e4b(0x1be)]);for(const _0x26db60 of _0x587396)_0x2bd914[_0x5e9e4b(0x171)](_0x26db60)[_0x5e9e4b(0x1a4)]({'isFromAdapter':!0x0});for(const _0xaa210a of _0x3c5a6a){let _0x50cc26=_0x2bd914[_0x5e9e4b(0x171)](_0xaa210a[_0x5e9e4b(0x1be)]);const {commentThreadId:_0x142784,context:_0x300a69,attributes:_0x29250f,resolvedBy:_0x14bbb6,resolvedAt:_0x506d60,unlinkedAt:_0x5339d3,deletedAt:_0xc14a28}=_0xaa210a;if(_0xc14a28)continue;_0x50cc26||(_0x50cc26=_0x2bd914[_0x5e9e4b(0x1ab)]({'channelId':_0xf02c39,'threadId':_0x142784,'context':_0x300a69,'attributes':_0x29250f||{},'resolvedBy':_0x14bbb6,'resolvedAt':_0x506d60,'unlinkedAt':_0x5339d3,'isFromAdapter':!0x0}));const _0x3d13db=new Set(Array[_0x5e9e4b(0x1b0)](_0x50cc26[_0x5e9e4b(0x1a9)],_0x4893e3=>_0x4893e3['id']));for(const _0x595782 of _0xaa210a[_0x5e9e4b(0x1a9)])_0x3d13db[_0x5e9e4b(0x199)](_0x595782[_0x5e9e4b(0x19c)]);for(const _0x1398ff of _0x3d13db)_0x50cc26[_0x5e9e4b(0x1b8)](_0x1398ff)[_0x5e9e4b(0x1a4)]({'isFromAdapter':!0x0});for(const _0x443d19 of _0xaa210a[_0x5e9e4b(0x1a9)]){const _0x196986=_0x50cc26[_0x5e9e4b(0x1b8)](_0x443d19[_0x5e9e4b(0x19c)]);_0x196986?_0x196986[_0x5e9e4b(0x195)]!==_0x443d19[_0x5e9e4b(0x195)]&&_0x196986[_0x5e9e4b(0x1bc)]({'content':_0x443d19[_0x5e9e4b(0x195)],'isFromAdapter':!0x0}):_0x50cc26[_0x5e9e4b(0x1bd)](Object[_0x5e9e4b(0x1c7)](rt(_0x443d19),{'isFromAdapter':!0x0}));}}}[_0x25ac5b(0x1b1)](_0x2e13bb){const _0x5bcc8f=_0x25ac5b;if(!this[_0x5bcc8f(0x17b)][_0x5bcc8f(0x18e)](_0x2e13bb))throw new _0x4f8d4c(_0x5bcc8f(0x166),null,{'channelId':_0x2e13bb});return this[_0x5bcc8f(0x17b)][_0x5bcc8f(0x180)](_0x2e13bb);}async[_0x25ac5b(0x177)](_0x22bc78){const _0x2c4193=_0x25ac5b,_0x29cda7=this[_0x2c4193(0x197)][_0x2c4193(0x182)][_0x2c4193(0x180)](_0x18a80f),{connection:_0x2c0d15}=this[_0x2c4193(0x197)][_0x2c4193(0x182)][_0x2c4193(0x180)](_0x15bdca),_0x5cc164=new Set();for(const {resolvedBy:_0x1a16e0,comments:_0x456cd6}of _0x22bc78){_0x1a16e0&&!_0x29cda7[_0x2c4193(0x1c6)](_0x1a16e0)&&_0x5cc164[_0x2c4193(0x1b3)](_0x1a16e0);for(const {userId:_0x414f45}of _0x456cd6)_0x29cda7[_0x2c4193(0x1c6)](_0x414f45)||_0x5cc164[_0x2c4193(0x1b3)](_0x414f45);}if(0x0===_0x5cc164[_0x2c4193(0x164)])return;const _0x7b6f7d=await _0x1f60bb[_0x2c4193(0x1b4)](_0x2c0d15,Array[_0x2c4193(0x1b0)](_0x5cc164));for(const _0x267095 of _0x7b6f7d)_0x29cda7[_0x2c4193(0x1c6)](_0x267095['id'])||_0x29cda7[_0x2c4193(0x169)](_0x267095);}}function _0x4531(_0xaf374a,_0x31ba3b){const _0x1b42f6=_0x1b42();return _0x4531=function(_0x45313c,_0x631023){_0x45313c=_0x45313c-0x163;let _0x43e88d=_0x1b42f6[_0x45313c];return _0x43e88d;},_0x4531(_0xaf374a,_0x31ba3b);}async function st(_0x1e2efd){const _0x2954a8=_0x25ac5b;if(_0x2954a8(0x1c0)!==_0x1e2efd[_0x2954a8(0x16a)])throw _0x1e2efd;}function et(_0x2ecc84){const _0x7cb8b6=_0x25ac5b;if((_0x5354fe=_0x2ecc84)[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x19e))||_0x5354fe[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x1ad))||_0x5354fe[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x19b)))return new Promise(()=>{});var _0x5354fe;throw _0x2ecc84;}function rt(_0x280b97){const _0x558e8c=_0x25ac5b;return{'threadId':_0x280b97[_0x558e8c(0x1be)],'commentId':_0x280b97[_0x558e8c(0x19c)],'content':_0x280b97[_0x558e8c(0x195)],'createdAt':_0x280b97[_0x558e8c(0x1a2)],'authorId':_0x280b97[_0x558e8c(0x18a)],'attributes':_0x280b97[_0x558e8c(0x1a8)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x573e11=_0x3c4a;(function(_0x277371,_0x5ec3e2){const _0x34d944=_0x3c4a,_0x2e504e=_0x277371();while(!![]){try{const _0x4363ce=parseInt(_0x34d944(0xa3))/0x1+-parseInt(_0x34d944(0xa8))/0x2*(parseInt(_0x34d944(0xb1))/0x3)+-parseInt(_0x34d944(0xaa))/0x4*(parseInt(_0x34d944(0xa1))/0x5)+parseInt(_0x34d944(0xaf))/0x6*(parseInt(_0x34d944(0xab))/0x7)+parseInt(_0x34d944(0xc1))/0x8+-parseInt(_0x34d944(0xc3))/0x9*(-parseInt(_0x34d944(0xa6))/0xa)+parseInt(_0x34d944(0xbb))/0xb*(-parseInt(_0x34d944(0xc4))/0xc);if(_0x4363ce===_0x5ec3e2)break;else _0x2e504e['push'](_0x2e504e['shift']());}catch(_0x45042c){_0x2e504e['push'](_0x2e504e['shift']());}}}(_0x3705,0x94efc));import{Plugin as _0x37aa95}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x25505e}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4e0015}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x547818}from'./realtimecollaborativeediting/websocketgateway.js';function _0x3c4a(_0xe63d39,_0x3b9851){const _0x37055e=_0x3705();return _0x3c4a=function(_0x3c4a29,_0x3db4aa){_0x3c4a29=_0x3c4a29-0xa1;let _0x57607f=_0x37055e[_0x3c4a29];return _0x57607f;},_0x3c4a(_0xe63d39,_0x3b9851);}export class RealTimeCollaborativeComments extends _0x37aa95{static get[_0x573e11(0xb7)](){const _0x58cb6e=_0x573e11;return[_0x58cb6e(0xbe),_0x25505e,_0x4e0015,_0x547818];}static get[_0x573e11(0xc0)](){const _0x3b2c21=_0x573e11;return _0x3b2c21(0xba);}static get[_0x573e11(0xbf)](){return!0x0;}static get[_0x573e11(0xac)](){return!0x0;}[_0x573e11(0xb6)](){const _0x5bbd0a=_0x573e11,_0x4c2680=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x547818),_0x3c64d5=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xae)),_0x5128f9=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x25505e);return this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xa7)][_0x5bbd0a(0xa9)](_0x5bbd0a(0xad),()=>{const _0x396fcd=_0x5bbd0a;this[_0x396fcd(0xbc)](_0x4c2680,_0x396fcd(0xb3),(_0xd8018e,_0x1729ea,_0x2238d7)=>{const _0x3ea2a2=_0x396fcd;_0x3c64d5[_0x3ea2a2(0xb2)]=_0x3ea2a2(0xa2)!==_0x2238d7;});}),this[_0x5bbd0a(0xbc)](_0x4c2680,_0x5bbd0a(0xb3),(_0xc51735,_0xaf13b9,_0x222871)=>{const _0x23db45=_0x5bbd0a;this[_0x23db45(0xa4)][_0x23db45(0xc2)][_0x23db45(0xc5)](_0x23db45(0xb4))[_0x23db45(0xa5)](_0x23db45(0xa2)!==_0x222871);}),_0x5128f9[_0x5bbd0a(0xbd)](this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xb9)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xb5)));}[_0x573e11(0xb0)](){const _0x3d588c=_0x573e11;this[_0x3d588c(0xa4)][_0x3d588c(0xc2)][_0x3d588c(0xc5)](_0x25505e)[_0x3d588c(0xb8)](this[_0x3d588c(0xa4)][_0x3d588c(0xb9)][_0x3d588c(0xc5)](_0x3d588c(0xb5))),super[_0x3d588c(0xb0)]();}}function _0x3705(){const _0x9046f2=['5ixZurG','connected','274943udpeGH','editor','switchReadOnly','1203810XvUoUm','data','21402AXzdnO','once','1060432ZNNvHH','245CLTbbu','isPremiumPlugin','ready','CommentsEditing','1962QtIVZp','destroy','6MuAIyL','isThreadsLoadingPaused','change:state','CommentsRepository','collaboration.channelId','init','requires','_terminateService','config','RealTimeCollaborativeComments','738111EiGnna','listenTo','_setUpService','Comments','isOfficialPlugin','pluginName','4139416spdwGw','plugins','27GHhIdt','48mUTnTl','get'];_0x3705=function(){return _0x9046f2;};return _0x3705();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x51ed10)());[_0x1ff9b6(0x147)];[_0x1ff9b6(0xce)];[_0x1ff9b6(0xfc)];[_0x1ff9b6(0xea)];[_0x1ff9b6(0x1af)];[_0x1ff9b6(0x141)];[_0x1ff9b6(0x15c)];[_0x1ff9b6(0x169)];[_0x1ff9b6(0x10d)];[_0x1ff9b6(0x10c)];[_0x1ff9b6(0x161)];[_0x1ff9b6(0xee)];[_0x1ff9b6(0x18f)];[_0x1ff9b6(0x133)];[_0x1ff9b6(0x137)];[_0x1ff9b6(0xe9)];[_0x1ff9b6(0x1b0)];[_0x1ff9b6(0xf1)];static get[_0x1ff9b6(0x104)](){return[_0x1a35a6,_0x24815b,_0x1fb8e1,_0x39ddd0,_0x109044,_0x2f9dee];}static get[_0x1ff9b6(0xd4)](){const _0x4ce597=_0x1ff9b6;return _0x4ce597(0x13e);}static get[_0x1ff9b6(0x10b)](){return!0x0;}static get[_0x1ff9b6(0x108)](){return!0x0;}get[_0x1ff9b6(0xd7)](){const _0x35126a=_0x1ff9b6;return this[_0x35126a(0x14f)]+this[_0x35126a(0x147)];}get[_0x1ff9b6(0x14f)](){const _0x5a1da5=_0x1ff9b6;return this[_0x5a1da5(0xfc)][_0x5a1da5(0x1b3)]-this[_0x5a1da5(0x147)];}get[_0x1ff9b6(0x17f)](){const _0x5289da=_0x1ff9b6,_0x45af12=this[_0x5289da(0xfc)][_0x5289da(0x182)]();for(let _0x390c4b=_0x45af12[_0x5289da(0xb3)]-0x1;_0x390c4b>=0x0;_0x390c4b--){const _0x59699a=_0x45af12[_0x390c4b];if(!this[_0x5289da(0x1b0)][_0x5289da(0xbe)](_0x59699a))return _0x59699a[_0x5289da(0x129)]+0x1-this[_0x5289da(0x147)];}return 0x0;}constructor(_0x23645a){const _0x48738a=_0x1ff9b6;if(super(_0x23645a),this[_0x48738a(0x147)]=0x0,this[_0x48738a(0xce)]=null,this[_0x48738a(0xfc)]=new _0x370750(),this[_0x48738a(0xe6)][_0x48738a(0x1ac)][_0x48738a(0xb4)](_0x48738a(0xc4),{}),this[_0x48738a(0xea)]=this[_0x48738a(0xe6)][_0x48738a(0x1ac)][_0x48738a(0xe2)](_0x48738a(0x17a)),!this[_0x48738a(0xea)])throw new _0x46347f(_0x48738a(0x134),this);const _0xb353a6=_0x23645a[_0x48738a(0x1ac)][_0x48738a(0xe2)](_0x48738a(0x19b))||_0x5a252d;this[_0x48738a(0x1af)]=new RealTimeCollaborationClient[(_0x48738a(0x188))](_0xb353a6,this[_0x48738a(0xea)]),this[_0x48738a(0x141)]=this[_0x48738a(0xe6)][_0x48738a(0x1a8)][_0x48738a(0x142)],this[_0x48738a(0x15c)]=new _0x7f617c(),this[_0x48738a(0x169)]=[],this[_0x48738a(0x10d)]=new WeakSet(),this[_0x48738a(0x10c)]=new Set(),this[_0x48738a(0x183)](_0x48738a(0x111),!0x1),this[_0x48738a(0x183)](_0x48738a(0x117),!0x1),this[_0x48738a(0x161)]=null,this[_0x48738a(0xee)]=!0x1,this[_0x48738a(0x18f)]=null,this[_0x48738a(0x133)]=0x12c,this[_0x48738a(0x137)]=this[_0x48738a(0x133)],this[_0x48738a(0xe9)]=null,this[_0x48738a(0x1b0)]=new WeakSet(),this[_0x48738a(0xf1)]=new M(this[_0x48738a(0x1b0)]);}[_0x1ff9b6(0x17c)](){const _0x180fdd=_0x1ff9b6,_0x10e4a5=this[_0x180fdd(0xe6)],_0x361a5a=_0x10e4a5[_0x180fdd(0x145)][_0x180fdd(0xe2)](_0x109044),_0x2e2b51=_0x10e4a5[_0x180fdd(0x145)][_0x180fdd(0xe2)](_0x1a35a6);this[_0x180fdd(0x15f)](_0x361a5a,_0x180fdd(0x185),(_0xa5722,_0x10aa97)=>{const _0x26799b=_0x180fdd,_0x4cf557=_0x10aa97[0x0];_0x4cf557[_0x26799b(0xec)]&&(_0xa5722[_0x26799b(0x10e)]=_0x361a5a[_0x26799b(0x164)](_0x4cf557[_0x26799b(0xec)]),_0xa5722[_0x26799b(0x180)]()),null===_0x4cf557[_0x26799b(0xec)]&&(_0xa5722[_0x26799b(0x10e)]=null,_0xa5722[_0x26799b(0x180)]());},{'priority':_0x180fdd(0x136)}),this[_0x180fdd(0x15f)](_0x10e4a5[_0x180fdd(0x1a8)][_0x180fdd(0x142)][_0x180fdd(0x105)],_0x180fdd(0xc3),(_0x513be5,_0x2dc553)=>{const _0x31f6c1=_0x180fdd;_0x2dc553[_0x31f6c1(0x17d)]&&this[_0x31f6c1(0xd3)]();}),this[_0x180fdd(0x15f)](_0x10e4a5[_0x180fdd(0x168)][_0x180fdd(0x152)],_0x180fdd(0xde),()=>{const _0x1989c0=_0x180fdd;this[_0x1989c0(0xd3)]();}),this[_0x180fdd(0x1a4)](),_0x10e4a5[_0x180fdd(0x1a8)]['on'](_0x180fdd(0x155),(_0x18baca,_0x4920fd)=>{const _0x17f3e3=_0x180fdd,_0x54492d=_0x4920fd[0x0];_0x54492d[_0x17f3e3(0x193)]&&(this[_0x17f3e3(0xfa)](_0x54492d),this[_0x17f3e3(0xd5)]()&&this[_0x17f3e3(0xef)]());}),this[_0x180fdd(0xed)](),this[_0x180fdd(0xe1)](_0x180fdd(0x118))['to'](_0x2e2b51,_0x180fdd(0x138),this,_0x180fdd(0x117),(_0x51c647,_0x4a8e0f)=>_0x180fdd(0x17b)===_0x51c647&&!_0x4a8e0f),this['on'](_0x180fdd(0x127),()=>{const _0x1f757e=_0x180fdd;this[_0x1f757e(0x118)]?_0x10e4a5[_0x1f757e(0xcc)](_0x1f757e(0x1a3)):_0x10e4a5[_0x1f757e(0x1a2)](_0x1f757e(0x1a3));}),this[_0x180fdd(0x118)]?_0x10e4a5[_0x180fdd(0xcc)](_0x180fdd(0x1a3)):_0x10e4a5[_0x180fdd(0x1a2)](_0x180fdd(0x1a3)),this[_0x180fdd(0x183)](_0x180fdd(0x10f),!0x1);}async[_0x1ff9b6(0xe3)](){const _0x13b462=_0x1ff9b6,_0x13c140=this[_0x13b462(0xe6)][_0x13b462(0x145)][_0x13b462(0xe2)](_0x24815b),_0x30b501=this[_0x13b462(0xe6)][_0x13b462(0x145)][_0x13b462(0xe2)](_0x1a35a6);try{this[_0x13b462(0x111)]=!0x0,_0x13c140[_0x13b462(0x1ab)](this[_0x13b462(0xea)]);const _0xdfede0=await this[_0x13b462(0x1af)][_0x13b462(0xe3)](_0x30b501[_0x13b462(0x199)],this[_0x13b462(0x17f)]);await this[_0x13b462(0x140)](_0xdfede0)&&(this[_0x13b462(0x111)]=!0x1,this[_0x13b462(0xc9)]());const _0x4b4c3c=await this[_0x13b462(0x1af)][_0x13b462(0xf4)]();_0x13c140[_0x13b462(0x196)](this[_0x13b462(0xea)],_0x4b4c3c),this[_0x13b462(0x110)](),this[_0x13b462(0x10f)]=!0x0;}catch(_0x100dd1){if(function(_0x350422){const _0x3ee85a=_0x13b462;return _0x3ee85a(0x115)===_0x350422[_0x3ee85a(0xb6)];}(_0x100dd1)&&this[_0x13b462(0xce)])await this[_0x13b462(0xe4)]();else{if(function(_0x413a16){const _0x3144c5=_0x13b462;return _0x3144c5(0x172)===_0x413a16[_0x3144c5(0xb6)];}(_0x100dd1)){const _0x5033b1=_0x7461af(this[_0x13b462(0xe6)][_0x13b462(0xb5)],_0x13b462(0x11f));this[_0x13b462(0x11a)](_0x5033b1);}else{if(!(_0x100dd1 instanceof B))throw _0x100dd1;this[_0x13b462(0x11a)]();}}}}[_0x1ff9b6(0x194)](){const _0x9cf39e=_0x1ff9b6,_0xca504b=this[_0x9cf39e(0xe6)][_0x9cf39e(0x145)][_0x9cf39e(0xe2)](_0x1a35a6),_0x42fa87=this[_0x9cf39e(0xe6)][_0x9cf39e(0x145)][_0x9cf39e(0xe2)](_0x24815b);this[_0x9cf39e(0xe6)][_0x9cf39e(0x1a2)](_0x9cf39e(0x106)),_0x42fa87[_0x9cf39e(0x13b)][_0x9cf39e(0xbe)](this[_0x9cf39e(0xea)])&&_0x42fa87[_0x9cf39e(0x1ab)](this[_0x9cf39e(0xea)]),_0xca504b[_0x9cf39e(0x1a1)](this),this[_0x9cf39e(0x12c)](),super[_0x9cf39e(0x194)]();}async[_0x1ff9b6(0x140)](_0xc0f478){const _0x3862c9=_0x1ff9b6;if(this[_0x3862c9(0xce)]!==_0xc0f478[_0x3862c9(0xce)]&&this[_0x3862c9(0xe9)]!==_0xc0f478[_0x3862c9(0x121)])throw new B();return this[_0x3862c9(0xce)]=_0xc0f478[_0x3862c9(0xce)],this[_0x3862c9(0x12a)]([],{..._0xc0f478,'wereChangesApplied':!0x1,'data':_0xc0f478[_0x3862c9(0x11e)]},_0x3862c9(0xe3));}async[_0x1ff9b6(0x107)](_0x61915b,_0x3ffdc9=!0x1){const _0x315fed=_0x1ff9b6,{connection:_0x1fd21b}=this[_0x315fed(0xe6)][_0x315fed(0x145)][_0x315fed(0xe2)](_0x1a35a6);RealTimeCollaborationClient[_0x315fed(0x188)][_0x315fed(0xf4)](_0x1fd21b,this[_0x315fed(0xea)])[_0x315fed(0x165)](_0x3390d4=>this[_0x315fed(0x19e)](_0x3390d4))[_0x315fed(0x1a9)](_0x4279d9=>{const _0x121596=_0x315fed;this[_0x121596(0x179)](_0x121596(0x130),_0x4279d9);}),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0xdc),this[_0x315fed(0x19a)][_0x315fed(0xe1)](this)),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0x14b),(_0x1a97e4,_0xbe33bc)=>{const _0x5061b9=_0x315fed;this[_0x5061b9(0x179)](_0x5061b9(0xf7),_0xbe33bc);}),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0x157),()=>{const _0x3e5101=_0x315fed;this[_0x3e5101(0x10f)]=!0x1;});const _0x1d15cc=this[_0x315fed(0xf1)][_0x315fed(0xc7)](_0x61915b);this[_0x315fed(0x111)]=!0x0;const _0x4a3187=await this[_0x315fed(0x1af)][_0x315fed(0x16d)](_0x1fd21b,this[_0x315fed(0xb2)](_0x61915b),_0x1d15cc);if(this[_0x315fed(0xce)]=_0x4a3187[_0x315fed(0xce)],_0x3ffdc9){if(!_0x4a3187[_0x315fed(0x11b)])return void this[_0x315fed(0x11a)]();this[_0x315fed(0x111)]=!0x1,this[_0x315fed(0xc9)](),this[_0x315fed(0xfc)][_0x315fed(0x192)](),this[_0x315fed(0x147)]=_0x4a3187[_0x315fed(0xd0)],this[_0x315fed(0xfc)][_0x315fed(0x1b3)]=this[_0x315fed(0x147)],await this[_0x315fed(0x12a)](_0x61915b,_0x4a3187,_0x315fed(0x1ad));}else await this[_0x315fed(0x122)](_0x4a3187,_0x61915b);this[_0x315fed(0x110)](),this[_0x315fed(0x10f)]=!0x0;}[_0x1ff9b6(0x110)](){const _0xcd04ce=_0x1ff9b6,_0x5e053c=this[_0xcd04ce(0xe6)][_0xcd04ce(0x145)][_0xcd04ce(0xe2)](_0x24815b),_0x1dea17=this[_0xcd04ce(0xe6)][_0xcd04ce(0x145)][_0xcd04ce(0xe2)](_0x1fb8e1),_0x4b58d0=_0x5e053c[_0xcd04ce(0x13b)][_0xcd04ce(0xe2)](this[_0xcd04ce(0xea)]);_0x4b58d0&&_0x4b58d0[_0xcd04ce(0xb3)]>0x1?_0x1dea17[_0xcd04ce(0x124)]():this[_0xcd04ce(0x15f)](_0x5e053c,_0xcd04ce(0x148)+this[_0xcd04ce(0xea)],()=>{const _0x38cfff=_0xcd04ce;0x2===_0x5e053c[_0x38cfff(0x13b)][_0x38cfff(0xe2)](this[_0x38cfff(0xea)])[_0x38cfff(0xb3)]&&_0x1dea17[_0x38cfff(0x124)]();});}async[_0x1ff9b6(0x19a)](_0x2a86ac,_0xd92ce2,_0x1af054,_0x54719a){const _0x1d2b3=_0x1ff9b6;if(!this[_0x1d2b3(0x111)]&&this[_0x1d2b3(0x141)][_0x1d2b3(0x1b3)]==_0xd92ce2){const _0x2171bd=this[_0x1d2b3(0x112)](_0x1af054,_0x54719a);await this[_0x1d2b3(0x12e)](_0x2171bd),this[_0x1d2b3(0x12d)](_0x2171bd,_0xd92ce2,_0x1af054[_0x1d2b3(0x121)])||this[_0x1d2b3(0x179)](_0x1d2b3(0x15d));}}async[_0x1ff9b6(0xe4)](){const _0x235c6d=_0x1ff9b6;this[_0x235c6d(0x12c)]();const {locale:_0xc786cd}=this[_0x235c6d(0xe6)];let _0x418eb8;try{_0x418eb8=await this[_0x235c6d(0x1af)][_0x235c6d(0x156)]();}catch{const _0xd5a18b=_0x7461af(_0xc786cd,_0x235c6d(0x135));return void this[_0x235c6d(0x11a)](_0xd5a18b);}const _0x2ad261=_0x418eb8[_0x235c6d(0xf9)]||_0x418eb8[_0x235c6d(0xba)];if(this[_0x235c6d(0xe9)]!==_0x2ad261[_0x235c6d(0x121)]){const _0xbda633=_0x7461af(_0xc786cd,_0x235c6d(0x14c));return void this[_0x235c6d(0x11a)](_0xbda633);}await this[_0x235c6d(0x107)](this[_0x235c6d(0xe6)][_0x235c6d(0x1a8)][_0x235c6d(0x142)][_0x235c6d(0xd6)][_0x235c6d(0x182)](),!0x0);}[_0x1ff9b6(0x12c)](){const _0x1eeda3=_0x1ff9b6;this[_0x1eeda3(0x1af)][_0x1eeda3(0x14d)](),this[_0x1eeda3(0x169)]=[],clearTimeout(this[_0x1eeda3(0x18f)]),this[_0x1eeda3(0x16e)](this[_0x1eeda3(0x1af)]);}[_0x1ff9b6(0x19e)](_0x5d002d){const _0x25cd52=_0x1ff9b6,_0x1f725a=this[_0x25cd52(0xe6)][_0x25cd52(0x145)][_0x25cd52(0xe2)](_0x24815b);this[_0x25cd52(0x15f)](_0x1f725a,_0x25cd52(0x148)+this[_0x25cd52(0xea)],(_0x1bee75,{session:_0x5db230})=>{const _0x1dbf4c=_0x25cd52;if(_0x5db230['id']===_0x1f725a[_0x1dbf4c(0x114)]){_0x1bee75[_0x1dbf4c(0x191)]();const _0x5aa889=this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xbe)](_0x1dbf4c(0x16b))&&this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xe2)](_0x1dbf4c(0x16b));let _0x5b09b4=_0x5db230[_0x1dbf4c(0xff)];_0x5aa889&&_0x5aa889[_0x1dbf4c(0x13d)]&&(_0x5b09b4=_0x5b09b4[_0x1dbf4c(0x15b)](_0xa8a167=>_0x1dbf4c(0x187)!==_0xa8a167)),this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xe2)](_0x1dbf4c(0x120))[_0x1dbf4c(0xdb)](_0x5b09b4,this[_0x1dbf4c(0xea)]);}}),_0x1f725a[_0x25cd52(0x196)](this[_0x25cd52(0xea)],_0x5d002d);}[_0x1ff9b6(0x1a4)](){const _0x4d70d6=_0x1ff9b6,_0x4ee567=this[_0x4d70d6(0xe6)][_0x4d70d6(0x11e)][_0x4d70d6(0x183)];this[_0x4d70d6(0xe6)][_0x4d70d6(0x11e)][_0x4d70d6(0x183)]=(..._0x1755dc)=>{const _0x525f2e=_0x4d70d6;if(!_0x1755dc[_0x1755dc[_0x525f2e(0xb3)]-0x1][_0x525f2e(0x181)])throw new _0x46347f(_0x525f2e(0xd2),this);_0x4ee567[_0x525f2e(0x11c)](this[_0x525f2e(0xe6)][_0x525f2e(0x11e)],_0x1755dc);};}[_0x1ff9b6(0xed)](){const _0x2b5fa5=_0x1ff9b6;this[_0x2b5fa5(0xe6)][_0x2b5fa5(0x11e)]['on'](_0x2b5fa5(0x17c),(_0x1ae975,[_0x25c499])=>{const _0x2dad5f=_0x2b5fa5;if(this[_0x2dad5f(0x141)][_0x2dad5f(0x1b3)])throw new _0x46347f(_0x2dad5f(0xe5),this);_0x1ae975[_0x2dad5f(0x180)](),this[_0x2dad5f(0xdf)]();const _0x159150=this[_0x2dad5f(0xe6)][_0x2dad5f(0x1ac)][_0x2dad5f(0xe2)](_0x2dad5f(0x174)),_0xe3f4da=this[_0x2dad5f(0x171)](_0x25c499,_0x159150);0x0==_0xe3f4da[_0x2dad5f(0xb3)]&&_0xe3f4da[_0x2dad5f(0x163)](new _0x353047(0x0)),_0x1ae975[_0x2dad5f(0x10e)]=this[_0x2dad5f(0x107)](_0xe3f4da)[_0x2dad5f(0x165)](()=>{const _0xf4ee5b=_0x2dad5f;this[_0xf4ee5b(0xe6)][_0xf4ee5b(0x145)][_0xf4ee5b(0xe2)](_0x1a35a6)[_0xf4ee5b(0x1a7)](this),this[_0xf4ee5b(0xe6)][_0xf4ee5b(0x11e)][_0xf4ee5b(0x167)](_0xf4ee5b(0xf5));})[_0x2dad5f(0x1a9)](_0x25ebaa=>this[_0x2dad5f(0x179)](_0x2dad5f(0x113),_0x25ebaa))[_0x2dad5f(0x159)](()=>this[_0x2dad5f(0xc9)]());},{'priority':_0x2b5fa5(0x136)}),this[_0x2b5fa5(0xe6)]['on'](_0x2b5fa5(0x154),async(_0x3d2e7e,[_0x5f0345,_0x451321])=>{const _0x2e1286=_0x2b5fa5;_0x3d2e7e[_0x2e1286(0x180)]();const _0x290ce0=this[_0x2e1286(0xe6)][_0x2e1286(0x1a8)][_0x2e1286(0x142)][_0x2e1286(0x195)](_0x5f0345);if(!this[_0x2e1286(0x10c)][_0x2e1286(0xbe)](_0x5f0345)){const _0x40be6a=_0x451321&&_0x451321[_0x2e1286(0x11e)]?_0x451321[_0x2e1286(0x11e)]:'',_0x2bf787=_0x451321&&_0x451321[_0x2e1286(0x1b2)]?_0x451321[_0x2e1286(0x1b2)]:{};await this[_0x2e1286(0xeb)](_0x5f0345,_0x40be6a,_0x2bf787);}this[_0x2e1286(0xe6)][_0x2e1286(0x1a8)][_0x2e1286(0xda)]({'isUndoable':!0x1},()=>{const _0x40f912=_0x2e1286;_0x290ce0[_0x40f912(0x16a)]=!0x0,this[_0x40f912(0xe6)][_0x40f912(0x1a8)][_0x40f912(0x142)][_0x40f912(0x10a)][_0x40f912(0x1a0)](_0x290ce0);});},{'priority':_0x2b5fa5(0x136)});}async[_0x1ff9b6(0x12e)](_0x4d27c3){const _0x201917=_0x1ff9b6,_0x22eb73=this[_0x201917(0xe6)][_0x201917(0x145)][_0x201917(0xe2)](_0x109044),{connection:_0x22d818}=this[_0x201917(0xe6)][_0x201917(0x145)][_0x201917(0xe2)](_0x1a35a6),_0x510064=new Set();for(const _0x3c8774 of _0x4d27c3){const _0x4465d0=_0x3c8774[_0x201917(0xec)];_0x4465d0&&!_0x22eb73[_0x201917(0x164)](_0x4465d0)&&_0x510064[_0x201917(0x162)](_0x4465d0);}if(0x0===_0x510064[_0x201917(0xe8)])return;const _0x6c711c=await _0x56a287[_0x201917(0x19d)](_0x22d818,Array[_0x201917(0x158)](_0x510064));for(const _0x3cc3f6 of _0x6c711c)_0x22eb73[_0x201917(0x164)](_0x3cc3f6['id'])||_0x22eb73[_0x201917(0x11d)](_0x3cc3f6);}[_0x1ff9b6(0x171)](_0x4b8207,_0x30cd61={}){const _0x3efc5f=_0x1ff9b6,_0x3e3a2a=this[_0x3efc5f(0xe6)][_0x3efc5f(0x1a8)],_0xad2745=[];let _0x1d3f69=0x0;const _0x28be1f=_0x3efc5f(0x198)==typeof _0x4b8207?{'main':_0x4b8207}:_0x4b8207;for(const _0x4adb42 of Object[_0x3efc5f(0x15a)](_0x28be1f)){if(!this[_0x3efc5f(0x141)][_0x3efc5f(0x177)][_0x3efc5f(0xbe)](_0x4adb42))throw new _0x46347f(_0x3efc5f(0xcb),this);const _0x245e1b=this[_0x3efc5f(0xe6)][_0x3efc5f(0x11e)][_0x3efc5f(0xc6)](_0x28be1f[_0x4adb42]),_0x185a48=this[_0x3efc5f(0x141)][_0x3efc5f(0x195)](_0x4adb42),_0x2a090d=new _0x320c58(_0x3e3a2a[_0x3efc5f(0x170)](_0x185a48,0x0),_0x245e1b,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x2a090d);for(const [_0x2ed280,_0xf41651]of _0x245e1b[_0x3efc5f(0x126)]){const _0x9fa1cc=_0x3e3a2a[_0x3efc5f(0x16c)](_0x3e3a2a[_0x3efc5f(0xcd)](_0x185a48,_0xf41651[_0x3efc5f(0xfb)][_0x3efc5f(0xbc)][_0x3efc5f(0x1b5)]()),_0x3e3a2a[_0x3efc5f(0xcd)](_0x185a48,_0xf41651[_0x3efc5f(0xb9)][_0x3efc5f(0xbc)][_0x3efc5f(0x1b5)]())),_0x14a5d4=new _0x147aaa(_0x2ed280,null,_0x9fa1cc,_0x3e3a2a[_0x3efc5f(0x126)],!0x0,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x14a5d4);}}if(_0x30cd61)for(const [_0xe6483b,_0x393a7d]of Object[_0x3efc5f(0x184)](_0x30cd61)){const _0x4a4ff7=_0x3e3a2a[_0x3efc5f(0x142)][_0x3efc5f(0x195)](_0xe6483b);if(!_0x4a4ff7)throw new _0x46347f(_0x3efc5f(0x14e),null);for(const [_0x4e5355,_0x1aec23]of Object[_0x3efc5f(0x184)](_0x393a7d))if(null!==_0x1aec23){const _0x470ba2=new _0x321385(_0x4a4ff7,_0x4e5355,null,_0x1aec23,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x470ba2);}}return _0xad2745;}async[_0x1ff9b6(0xeb)](_0xe557fe,_0x493b98,_0x3cc9b7){const _0x4d29bc=_0x1ff9b6;this[_0x4d29bc(0x171)]({[_0xe557fe]:_0x493b98},{[_0xe557fe]:_0x3cc9b7})[_0x4d29bc(0x123)]((_0x5048e4,_0x5f4b02)=>{const _0x39a65e=_0x4d29bc;_0x5048e4[_0x39a65e(0x129)]=this[_0x39a65e(0x141)][_0x39a65e(0x1b3)]+_0x5f4b02,_0x5048e4[_0x39a65e(0x15e)]=!0x0,this[_0x39a65e(0xfa)](_0x5048e4);}),this[_0x4d29bc(0xef)](),await this[_0x4d29bc(0x139)]();}async[_0x1ff9b6(0x122)](_0x4ce10a,_0x46030f){const _0x2a92ad=_0x1ff9b6;let _0x1d3b98;this[_0x2a92ad(0x147)]=_0x4ce10a[_0x2a92ad(0xd0)];const _0x4b0895=_0x4ce10a[_0x2a92ad(0x11b)]&&!_0x4ce10a[_0x2a92ad(0x128)],_0x4b1fc2=_0x4b0895?0x0:_0x4ce10a[_0x2a92ad(0x11e)][_0x2a92ad(0x129)];if(_0x46030f[_0x2a92ad(0x123)](_0x53a758=>{const _0x5ed53f=_0x2a92ad;_0x53a758[_0x5ed53f(0x15e)]=!0x0,_0x53a758[_0x5ed53f(0xb7)]=_0x4ce10a[_0x5ed53f(0x150)],_0x53a758[_0x5ed53f(0xec)]=null;}),_0x4b0895)_0x1d3b98=_0x46030f,this[_0x2a92ad(0x18a)](_0x1d3b98,_0x4b0895);else{if(_0x4ce10a[_0x2a92ad(0x128)]){const _0x5e09f5=this[_0x2a92ad(0x171)](_0x4ce10a[_0x2a92ad(0x128)]);this[_0x2a92ad(0x141)][_0x2a92ad(0xd6)][_0x2a92ad(0x1b3)]=-_0x5e09f5[_0x2a92ad(0xb3)],_0x5e09f5[_0x2a92ad(0x123)](_0x2d4394=>{const _0x143e3d=_0x2a92ad;_0x2d4394[_0x143e3d(0x129)]-=_0x5e09f5[_0x143e3d(0xb3)],_0x2d4394[_0x143e3d(0xb7)]=_0x4ce10a[_0x143e3d(0x150)],_0x2d4394[_0x143e3d(0x15e)]=!0x0,_0x2d4394[_0x143e3d(0xec)]=null;}),this[_0x2a92ad(0x18a)](_0x5e09f5,!0x0),this[_0x2a92ad(0xfc)][_0x2a92ad(0x1b3)]=-_0x5e09f5[_0x2a92ad(0xb3)]+this[_0x2a92ad(0x147)],this[_0x2a92ad(0x18e)](_0x5e09f5);}this[_0x2a92ad(0x141)][_0x2a92ad(0xd6)][_0x2a92ad(0x1b3)]=_0x4b1fc2,_0x1d3b98=this[_0x2a92ad(0x112)](_0x4ce10a[_0x2a92ad(0x11e)],_0x4ce10a[_0x2a92ad(0xb8)]),await this[_0x2a92ad(0x12e)](_0x1d3b98),this[_0x2a92ad(0x18a)](_0x1d3b98,_0x4b0895);}_0x4ce10a[_0x2a92ad(0x121)]&&(this[_0x2a92ad(0xf1)][_0x2a92ad(0xbf)](_0x1d3b98,_0x4ce10a[_0x2a92ad(0x121)]),this[_0x2a92ad(0xe9)]=_0x4ce10a[_0x2a92ad(0x121)]),this[_0x2a92ad(0xfc)][_0x2a92ad(0x1b3)]=_0x4b1fc2+this[_0x2a92ad(0x147)],this[_0x2a92ad(0x18e)](_0x1d3b98),_0x46030f[_0x2a92ad(0x15b)](_0x3fffcd=>{const _0x1b4f41=_0x2a92ad,_0xddb9a6=this[_0x1b4f41(0x1b1)](_0x3fffcd);return _0xddb9a6&&!this[_0x1b4f41(0x10c)][_0x1b4f41(0xbe)](_0xddb9a6);})[_0x2a92ad(0x123)]((_0x50085f,_0x415df3)=>{const _0x266793=_0x2a92ad;_0x50085f[_0x266793(0x129)]=this[_0x266793(0x141)][_0x266793(0x1b3)]+_0x415df3,this[_0x266793(0xfa)](_0x50085f);}),this[_0x2a92ad(0xd5)]()?(this[_0x2a92ad(0x137)]=0x0,this[_0x2a92ad(0xef)](!0x0),await this[_0x2a92ad(0x139)]()):(this[_0x2a92ad(0x111)]=!0x1,this[_0x2a92ad(0xc9)]());}[_0x1ff9b6(0x179)](_0x4b60ea,_0x2b9f20){const _0x257634=_0x1ff9b6,_0x180458=_0x2b9f20&&_0x2b9f20[_0x257634(0xf6)];if(_0x180458&&_0x180458[_0x257634(0x13c)](_0x257634(0x1ae)))throw _0x2b9f20;const _0x4d6bb0=this[_0x257634(0xe6)][_0x257634(0x145)][_0x257634(0xe2)](_0x1a35a6);throw this[_0x257634(0x111)]=!0x0,_0x4d6bb0[_0x257634(0x14d)](),this[_0x257634(0xe6)][_0x257634(0x1a2)](_0x257634(0x125)),new _0x46347f(_0x4b60ea,this[_0x257634(0xe6)],_0x180458?{'originalError':_0x180458}:void 0x0);}[_0x1ff9b6(0xfa)](_0x53ebfb){const _0x28bdb2=_0x1ff9b6;this[_0x28bdb2(0x10d)][_0x28bdb2(0xbe)](_0x53ebfb)||(this[_0x28bdb2(0x10d)][_0x28bdb2(0x162)](_0x53ebfb),this[_0x28bdb2(0x169)][_0x28bdb2(0x163)](_0x53ebfb),this[_0x28bdb2(0x161)]||_0x28bdb2(0x132)==_0x53ebfb[_0x28bdb2(0x166)]&&!_0x53ebfb[_0x28bdb2(0x1a5)]||this[_0x28bdb2(0xdf)]());}[_0x1ff9b6(0xef)](_0x4aa0f8=!0x1){const _0x38ad3b=_0x1ff9b6;!_0x4aa0f8&&this[_0x38ad3b(0x111)]||(this[_0x38ad3b(0x111)]=!0x0,clearTimeout(this[_0x38ad3b(0x18f)]),this[_0x38ad3b(0x18f)]=setTimeout(()=>{const _0x4bacfe=_0x38ad3b;this[_0x4bacfe(0xbb)]()[_0x4bacfe(0x165)](_0x278e0f=>{const _0x4bceff=_0x4bacfe;_0x278e0f&&(this[_0x4bceff(0xc9)](),this[_0x4bceff(0x111)]=!0x1);})[_0x4bacfe(0x1a9)](_0x474cb4=>{const _0xbb2533=_0x4bacfe;this[_0xbb2533(0xc9)](),this[_0xbb2533(0x111)]=!0x1,function(_0x2ce8be){const _0x2ecc1a=_0xbb2533;return _0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0xfe))||_0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0x1a6))||_0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0x100));}(_0x474cb4)||this[_0xbb2533(0x179)](_0x474cb4[_0xbb2533(0xf6)],_0x474cb4);});},this[_0x38ad3b(0x137)]));}[_0x1ff9b6(0x139)](){return new Promise(_0x5e36f5=>{const _0x39be15=_0x3aa7;this['on'](_0x39be15(0x12b),()=>{_0x5e36f5();});});}async[_0x1ff9b6(0xbb)](){const _0x1ca669=_0x1ff9b6,_0x2a430f=this[_0x1ca669(0xe6)][_0x1ca669(0x145)][_0x1ca669(0xe2)](_0x1fb8e1);if(this[_0x1ca669(0xc5)]()&&(_0x2a430f[_0x1ca669(0x124)](),this[_0x1ca669(0xee)]=!0x1),!this[_0x1ca669(0xd5)]())return!0x0;const _0x4b71f0=[...this[_0x1ca669(0x169)]];for(const _0x591810 of _0x4b71f0)_0x591810[_0x1ca669(0x1aa)]=this[_0x1ca669(0x141)][_0x1ca669(0xd6)][_0x1ca669(0x1b4)](_0x591810);const _0x1ba30c=this[_0x1ca669(0xf1)][_0x1ca669(0xc7)](_0x4b71f0),_0x123cbd=N++,_0x3f201e=this[_0x1ca669(0xb2)](_0x4b71f0),_0x309763=await this[_0x1ca669(0x1af)][_0x1ca669(0x19f)](_0x3f201e,_0x3f201e[_0x1ca669(0x129)],_0x1ba30c);try{return await this[_0x1ca669(0x12a)](_0x4b71f0,_0x309763,_0x123cbd);}catch(_0x18a130){return this[_0x1ca669(0x179)](_0x1ca669(0xbd),_0x18a130);}}async[_0x1ff9b6(0x12a)](_0x4396bd,_0x56a012,_0x266779){const _0x22410e=_0x1ff9b6;if(_0x22410e(0x14b)in _0x56a012)throw _0x56a012[_0x22410e(0x14b)];let _0x1a3bdd=!0x1;if(_0x56a012[_0x22410e(0x11b)]){_0x56a012[_0x22410e(0x121)]&&(this[_0x22410e(0xe9)]=_0x56a012[_0x22410e(0x121)]),this[_0x22410e(0x169)]=this[_0x22410e(0x169)][_0x22410e(0x15b)](_0x1ff281=>!_0x4396bd[_0x22410e(0x173)](_0x1ff281));for(const _0x1f159c of _0x4396bd)_0x1f159c[_0x22410e(0xb7)]=_0x22410e(0xd1)in _0x56a012&&_0x56a012[_0x22410e(0xd1)]||void 0x0;x(_0x4396bd,_0x56a012[_0x22410e(0x1b3)]-_0x4396bd[_0x22410e(0xb3)]),this[_0x22410e(0x18e)](_0x4396bd);const _0x31cc99=_0x4396bd[_0x22410e(0x15b)](_0x18f552=>{const _0x1048c9=_0x22410e;if(!_0x18f552[_0x1048c9(0x15e)])return!0x1;const _0x1d1643=this[_0x1048c9(0x1b1)](_0x18f552);return _0x1d1643&&!this[_0x1048c9(0x10c)][_0x1048c9(0xbe)](_0x1d1643);});x(_0x31cc99,this[_0x22410e(0x141)][_0x22410e(0x1b3)]),this[_0x22410e(0x18a)](_0x31cc99),_0x1a3bdd=!0x0,this[_0x22410e(0x137)]=this[_0x22410e(0x133)];}else{const _0x39963d=this[_0x22410e(0x112)](_0x56a012[_0x22410e(0x11e)],_0x56a012[_0x22410e(0xb8)])[_0x22410e(0x15b)](_0x32b169=>_0x32b169[_0x22410e(0x129)]>=this[_0x22410e(0x14f)]);_0x39963d[_0x22410e(0x123)](_0xc4afbb=>this[_0x22410e(0xca)](_0xc4afbb)),this[_0x22410e(0x169)]=this[_0x22410e(0x169)][_0x22410e(0x15b)](_0x2fbee8=>!_0x2fbee8[_0x22410e(0x15e)]||!this[_0x22410e(0x10c)][_0x22410e(0xbe)](this[_0x22410e(0x1b1)](_0x2fbee8))),this[_0x22410e(0x169)][_0x22410e(0xb3)]&&x(this[_0x22410e(0x169)],this[_0x22410e(0x169)][0x0][_0x22410e(0x129)]),await this[_0x22410e(0x12e)](_0x39963d),_0x1a3bdd=this[_0x22410e(0x12d)](_0x39963d,_0x56a012[_0x22410e(0x1b3)],_0x56a012[_0x22410e(0x121)]),this[_0x22410e(0x137)]=Math[_0x22410e(0x119)](this[_0x22410e(0x137)]/0x2);}return _0x1a3bdd?!this[_0x22410e(0xd5)]()||(this[_0x22410e(0xef)](!0x0),!0x1):this[_0x22410e(0x179)](_0x22410e(0x175));}[_0x1ff9b6(0x12d)](_0x2a7693,_0x562e57,_0x1af65d){const _0x564d1d=_0x1ff9b6;try{const _0x3a6666={'document':this[_0x564d1d(0x141)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x421cb8,operationsB:_0x100f97,originalOperations:_0x1b7a62}=_0x46a19b(_0x2a7693,this[_0x564d1d(0x169)],_0x3a6666);x(_0x421cb8,this[_0x564d1d(0x141)][_0x564d1d(0x1b3)]),x(_0x100f97,_0x562e57);for(const _0x4e3d13 of _0x421cb8){const _0x35d3e2=_0x1b7a62[_0x564d1d(0xe2)](_0x4e3d13);_0x4e3d13[_0x564d1d(0xec)]=_0x35d3e2?_0x35d3e2[_0x564d1d(0xec)]:null;}_0x1af65d&&(this[_0x564d1d(0xf1)][_0x564d1d(0xbf)](_0x2a7693,_0x1af65d),this[_0x564d1d(0xe9)]=_0x1af65d),this[_0x564d1d(0x169)]=[..._0x100f97],this[_0x564d1d(0x18a)](_0x421cb8),this[_0x564d1d(0x18e)](_0x2a7693);}catch(_0x5a6075){return console[_0x564d1d(0x14b)](_0x5a6075),!0x1;}return!0x0;}[_0x1ff9b6(0x18a)](_0xbf540d,_0x43ceef=!0x1){const _0x5f05bf=_0x1ff9b6;this[_0x5f05bf(0xe6)][_0x5f05bf(0x1a8)][_0x5f05bf(0xda)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d39fa=>{const _0x319bbf=_0x5f05bf;for(const _0x557ae9 of _0xbf540d)this[_0x319bbf(0x10d)][_0x319bbf(0x162)](_0x557ae9),this[_0x319bbf(0xca)](_0x557ae9),_0x1d39fa[_0x319bbf(0x190)][_0x319bbf(0x16f)](_0x557ae9),this[_0x319bbf(0xe6)][_0x319bbf(0x1a8)][_0x319bbf(0x155)](_0x557ae9);});}[_0x1ff9b6(0xca)](_0x25ce8d){const _0x3f8322=_0x1ff9b6,_0x8ebb6c=this[_0x3f8322(0x1b1)](_0x25ce8d);_0x8ebb6c&&this[_0x3f8322(0x10c)][_0x3f8322(0x162)](_0x8ebb6c);}[_0x1ff9b6(0x1b1)](_0x55b6c3){const _0xd4f26b=_0x1ff9b6;let _0x52dee7,_0x26255f;switch(_0x55b6c3[_0xd4f26b(0x166)]){case _0xd4f26b(0xfd):_0x52dee7=_0x55b6c3[_0xd4f26b(0xf2)][_0xd4f26b(0xb1)];break;case _0xd4f26b(0x132):if(_0x26255f=_0x55b6c3[_0xd4f26b(0x144)],!_0x26255f)return null;_0x52dee7=_0x26255f[_0xd4f26b(0xb1)];break;case _0xd4f26b(0xf8):_0x52dee7=_0x55b6c3[_0xd4f26b(0xb1)];break;case _0xd4f26b(0x131):_0x52dee7=_0x55b6c3[_0xd4f26b(0x18b)];break;case _0xd4f26b(0xcf):_0x52dee7=_0x55b6c3[_0xd4f26b(0x153)][_0xd4f26b(0xb1)];break;default:return null;}return _0x52dee7[_0xd4f26b(0x146)];}[_0x1ff9b6(0x18e)](_0x735ed0){const _0x7d7b99=_0x1ff9b6;_0x735ed0[_0x7d7b99(0x123)](_0x511fd9=>{const _0x35eb60=_0x7d7b99,_0x2aeb48=_0x511fd9[_0x35eb60(0x12f)]();_0x2aeb48[_0x35eb60(0xec)]=_0x511fd9[_0x35eb60(0xec)],_0x2aeb48[_0x35eb60(0x15e)]=!!_0x511fd9[_0x35eb60(0x15e)],_0x2aeb48[_0x35eb60(0xb7)]=_0x511fd9[_0x35eb60(0xb7)],_0x2aeb48[_0x35eb60(0x129)]+=this[_0x35eb60(0x147)],_0x511fd9[_0x35eb60(0x197)]&&this[_0x35eb60(0x1b0)][_0x35eb60(0x162)](_0x2aeb48),this[_0x35eb60(0xfc)][_0x35eb60(0x16f)](_0x2aeb48);});}[_0x1ff9b6(0x11a)](_0x39d331){const _0x289657=_0x1ff9b6,_0x9d8f3a=this[_0x289657(0xe6)][_0x289657(0x145)][_0x289657(0xe2)](_0x289657(0x143)),_0x1a0f3a=this[_0x289657(0xe6)][_0x289657(0xb5)];_0x39d331||(_0x39d331=_0x7461af(_0x1a0f3a,_0x289657(0xe7))),_0x9d8f3a[_0x289657(0xd9)](_0x39d331,{'title':_0x7461af(_0x1a0f3a,_0x289657(0x178)),'namespace':_0x289657(0xc2)}),this[_0x289657(0x117)]=!0x0,clearTimeout(this[_0x289657(0x18f)]),this[_0x289657(0x169)]=[],this[_0x289657(0xe6)][_0x289657(0x145)][_0x289657(0xe2)](_0x1a35a6)[_0x289657(0x14d)]();}[_0x1ff9b6(0xdf)](){const _0x30f0d9=_0x1ff9b6;this[_0x30f0d9(0x161)]||(this[_0x30f0d9(0x161)]=this[_0x30f0d9(0xe6)][_0x30f0d9(0x145)][_0x30f0d9(0xe2)](_0x39ddd0)[_0x30f0d9(0x162)](_0x7461af(this[_0x30f0d9(0xe6)][_0x30f0d9(0xb5)],_0x30f0d9(0x14a))));}[_0x1ff9b6(0xc9)](){const _0x3a899f=_0x1ff9b6;this[_0x3a899f(0x161)]&&(this[_0x3a899f(0xe6)][_0x3a899f(0x145)][_0x3a899f(0xe2)](_0x39ddd0)[_0x3a899f(0x176)](this[_0x3a899f(0x161)]),this[_0x3a899f(0x161)]=null);}[_0x1ff9b6(0xb2)](_0x18e08b){const _0x283c0d=_0x1ff9b6,_0x26c2fb=_0x18e08b[_0x283c0d(0xf3)](_0x4452a2=>_0x4452a2[_0x283c0d(0xd8)]());return this[_0x283c0d(0x15c)][_0x283c0d(0xc0)](_0x26c2fb);}[_0x1ff9b6(0x112)](_0x187d1c,_0x417b9e){const _0x553f9e=_0x1ff9b6;return this[_0x553f9e(0x15c)][_0x553f9e(0x17e)](_0x187d1c)[_0x553f9e(0xf3)]((_0x1df4aa,_0x17ac94)=>{const _0x818d7=_0x553f9e,_0x31dae2=_0x818d7(0x17c)==_0x417b9e[_0x17ac94][_0x818d7(0x166)];if(_0x818d7(0x151)==_0x1df4aa[_0x818d7(0xf0)]){const _0x2d3aa4=_0x1df4aa[_0x818d7(0xf2)][_0x818d7(0xb1)];!this[_0x818d7(0x141)][_0x818d7(0x195)](_0x2d3aa4)&&(this[_0x818d7(0x141)][_0x818d7(0xc8)](_0x818d7(0x116),_0x2d3aa4)[_0x818d7(0x19c)]=!0x1);}const _0xab7d75=_0x2a893d[_0x818d7(0x13f)](_0x1df4aa,this[_0x818d7(0x141)]);return _0xab7d75[_0x818d7(0x1aa)]=_0x1df4aa[_0x818d7(0x1aa)],_0xab7d75[_0x818d7(0x15e)]=_0x31dae2,_0xab7d75[_0x818d7(0xec)]=_0x31dae2?null:_0x417b9e[_0x17ac94][_0x818d7(0xe0)],_0xab7d75[_0x818d7(0x197)]=_0x818d7(0x101)===_0x417b9e[_0x17ac94][_0x818d7(0x166)],_0xab7d75[_0x818d7(0xb7)]=_0x417b9e[_0x17ac94][_0x818d7(0xb7)],_0xab7d75;});}[_0x1ff9b6(0xd3)](){const _0x179e10=_0x1ff9b6;this[_0x179e10(0xee)]=!0x0,this[_0x179e10(0xc5)]()?this[_0x179e10(0xef)]():this[_0x179e10(0xee)]=!0x1;}[_0x1ff9b6(0xc5)](){const _0x1da496=_0x1ff9b6,_0x3816d4=this[_0x1da496(0xe6)][_0x1da496(0x145)][_0x1da496(0xe2)](_0x24815b)[_0x1da496(0x13b)][_0x1da496(0xe2)](this[_0x1da496(0xea)]);return!this[_0x1da496(0xe6)][_0x1da496(0x149)]&&!!_0x3816d4&&_0x3816d4[_0x1da496(0xb3)]>0x1&&this[_0x1da496(0xee)];}[_0x1ff9b6(0xd5)](){const _0x3e513a=_0x1ff9b6;return this[_0x3e513a(0x169)][_0x3e513a(0xb3)]>0x0||this[_0x3e513a(0xc5)]();}}class B extends Error{}function _0x3aa7(_0x4326c8,_0x5996df){const _0x5491d4=_0x5491();return _0x3aa7=function(_0x3aa72e,_0x460c9b){_0x3aa72e=_0x3aa72e-0xb1;let _0x253611=_0x5491d4[_0x3aa72e];return _0x253611;},_0x3aa7(_0x4326c8,_0x5996df);}function x(_0x375137,_0x19fc25){const _0x51e8eb=_0x1ff9b6;for(const _0x5e5dd6 of _0x375137)_0x5e5dd6[_0x51e8eb(0x129)]=_0x19fc25++;}function _0x5491(){const _0x16264a=['_connectService','isPremiumPlugin','18DsSMrF','differ','isOfficialPlugin','_knownRootNames','_knownOperations','return','_isConnected','_handleSendingSelectionMarkers','_isPendingUpdate','_decompressOperations','realtimecollaborationclient-init-connection-failed','mySessionId','404','$root','_hasSynchronizationProblem','_isEditingAllowed','round','_handleReconnectionError','wereChangesApplied','apply','addUser','data','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Permissions','lastOperationId','_handleInitialConnectionData','forEach','createUserMarkerOperations','realtimecollaborationclient-error','markers','change:_isEditingAllowed','initData','baseVersion','_handleServerResponse','change:_isPendingUpdate','_disconnectService','_handleExternalOperations','_fetchMissingUsers','clone','realtimecollaborationclient-init-session-connection-error','addRoot','marker','_baseBufferDelay','collaboration-missing-channelid','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','high','_currentBufferDelay','state','_waitUntilSynced','220557MIFxbl','channelSessions','startsWith','isEnabled','RealTimeCollaborationClient','fromJSON','_handleReconnectionResponse','_document','document','Notification','newRange','plugins','rootName','_offset','sessionAdd:','isReadOnly','PENDING_ACTION_SENDING_DATA','error','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.','disconnect','multi-root-editor-root-attributes-no-root','_lastServerVersion','sessionCreatedAt','InsertOperation','view','targetPosition','loadRoot','applyOperation','getDocumentDetails','disconnected','from','finally','keys','filter','_compressor','realtimecollaborationclient-init-service-incorrect-server-operation','_isInit','listenTo','3473448gETpvC','_pendingAction','add','push','getUser','then','type','fire','editing','_bufferedOperations','_isLoaded','CommentsOnly','createRange','connect','stopListening','addOperation','createPositionAt','_getOperationsFromInitData','409','includes','rootsAttributes','realtimecollaborationclient-handleserverresponse','remove','roots','Synchronization\x20issue','_crash','collaboration.channelId','connected','init','directChange','decompress','lastSyncVersion','stop','suppressErrorInCollaboration','getOperations','set','entries','getOperationAuthor','_operationToId','document:write','CollaborativeEditingService','882736bbWurf','_applyOperationsSet','affectedSelectable','1505005rldmFR','178576NRcIZA','_updateServerHistory','_sendBufferedOperationsDelayId','batch','off','reset','isDocumentOperation','destroy','getRoot','register','_isDisconnection','string','connection','_handleReceivedOperations','cloudServices.bundleVersion','_isAttached','getMany','_initSessionsHandling','sendOperations','_bufferRootLoad','removeFromReconnectionStack','enableReadOnlyMode','rtc-offline','_initThrowingOnDataSet','affectsData','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','model','catch','wasUndone','unregister','config','reconnection:\x20flushed\x20session','realtimecollaborationclient','_service','_disconnectionOperations','_getAffectedRoot','attributes','version','isUndoneOperation','slice','root','_compressOperations','length','define','locale','code','createdAt','metadata','end','lastDocumentSession','_sendBufferedOperations','path','realtimecollaborationclient-sendbufferedoperations','has','setIdForTheLastOperation','compress','_ignoredOperations','real-time-collaboration','change:range','collaboration','_shouldSendSelectionUpdate','parse','getIdOfTheLastOperation','createRoot','_clearPendingAction','_addKnownRoot','realtimecollaborationclient-init-non-existent-root','disableReadOnlyMode','createPositionFromPath','sessionId','move','offset','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_refreshUserSelectionMarkers','pluginName','_shouldSendUpdate','history','cloudDocumentVersion','toJSON','showWarning','enqueueChange','setPermissions','operationsReceived','420wPczwy','change:hasDomSelection','_setPendingAction','userId','bind','get','reconnect','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-init-document-already-initialized','editor','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.','size','_lastSyncedOperationId','_channelId','_loadRoot','_authorId','_setUpDataInit','_hasSelectionChanged','_sendBufferedOperationsDelayed','__className','_operationIdentifier','position','map','getConnectedSessions','ready','message','realtimecollaborationclient-init-service-internal-error','addRootAttribute','currentDocumentSession','_saveOperationInBuffer','start','serverHistory','insert','cloud-services-internal-error:\x20Not\x20connected.','permissions','cloud-services-internal-error:\x20Request\x20timeout.','cs:removeUser','2759943CImTCi','11499300vypMcw','requires','selection','rtc-destroyed'];_0x5491=function(){return _0x16264a;};return _0x5491();}class M{[_0x1ff9b6(0xc1)];[_0x1ff9b6(0x186)];constructor(_0xf412ec){const _0x4778ad=_0x1ff9b6;this[_0x4778ad(0xc1)]=_0xf412ec,this[_0x4778ad(0x186)]=new WeakMap();}[_0x1ff9b6(0xc7)](_0x5efe17){const _0x3b4f72=_0x1ff9b6;let _0x1b0100=_0x5efe17[_0x3b4f72(0xb3)];for(;_0x1b0100--;){const _0x174951=_0x5efe17[_0x1b0100];if(!this[_0x3b4f72(0xc1)][_0x3b4f72(0xbe)](_0x174951)){if(!this[_0x3b4f72(0x186)][_0x3b4f72(0xbe)](_0x174951)){const _0x9e3318=_0x20d944()[_0x3b4f72(0x1b5)](0x1,0x12);this[_0x3b4f72(0x186)][_0x3b4f72(0x183)](_0x174951,_0x9e3318);}return this[_0x3b4f72(0x186)][_0x3b4f72(0xe2)](_0x174951);}}}[_0x1ff9b6(0xbf)](_0x8864c6,_0x1b5e8b){const _0x3825cf=_0x1ff9b6;if(!_0x1b5e8b)return;let _0x3281a3=_0x8864c6[_0x3825cf(0xb3)];for(;_0x3281a3--;){const _0x37ff4a=_0x8864c6[_0x3281a3];this[_0x3825cf(0xc1)][_0x3825cf(0xbe)](_0x37ff4a)||this[_0x3825cf(0x186)][_0x3825cf(0x183)](_0x37ff4a,_0x1b5e8b);}}}
|
|
23
|
+
const _0x297c45=_0x17a2;(function(_0x5d7c04,_0x1c5a14){const _0x520088=_0x17a2,_0x565c4b=_0x5d7c04();while(!![]){try{const _0x496d5c=-parseInt(_0x520088(0x1d1))/0x1+-parseInt(_0x520088(0x16c))/0x2*(parseInt(_0x520088(0x22c))/0x3)+-parseInt(_0x520088(0x20e))/0x4*(-parseInt(_0x520088(0x1ff))/0x5)+-parseInt(_0x520088(0x168))/0x6*(-parseInt(_0x520088(0x16d))/0x7)+parseInt(_0x520088(0x243))/0x8+-parseInt(_0x520088(0x19e))/0x9*(parseInt(_0x520088(0x1b6))/0xa)+parseInt(_0x520088(0x226))/0xb*(-parseInt(_0x520088(0x1a6))/0xc);if(_0x496d5c===_0x1c5a14)break;else _0x565c4b['push'](_0x565c4b['shift']());}catch(_0x535379){_0x565c4b['push'](_0x565c4b['shift']());}}}(_0x3106,0x54dce));import{Plugin as _0x4a49fb,PendingActions as _0x4bff20}from'ckeditor5/src/core.js';import{CKEditorError as _0xa2f92a,version as _0x468f59,uid as _0x474dfd}from'ckeditor5/src/utils.js';import{Notification as _0x5df9f9}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x518664,NoOperation as _0x1ac49a,InsertOperation as _0x551dc7,MarkerOperation as _0x59077a,RootAttributeOperation as _0x43056c,OperationFactory as _0x4d9438,History as _0x425ce8}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2d03da}from'./websocketgateway.js';import{Sessions as _0x21b1bc}from'./sessions.js';import{UserMarkers as _0x301068}from'./usermarkers.js';function _0x17a2(_0x33bdd5,_0x48ead9){const _0x31064d=_0x3106();return _0x17a2=function(_0x17a266,_0x3d5483){_0x17a266=_0x17a266-0x15c;let _0x491f3d=_0x31064d[_0x17a266];return _0x491f3d;},_0x17a2(_0x33bdd5,_0x48ead9);}import{getTranslation as _0x3b0bb0}from'../common-translations.js';import{Compressor as _0x522889}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5e8ae0}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xf4520f,CollaborativeEditingService as _0x52c267}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x4a49fb{static [_0x297c45(0x1dc)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x52c267)());[_0x297c45(0x21a)];[_0x297c45(0x1e7)];[_0x297c45(0x258)];[_0x297c45(0x217)];[_0x297c45(0x17d)];[_0x297c45(0x19c)];[_0x297c45(0x1f5)];[_0x297c45(0x1e1)];[_0x297c45(0x18c)];[_0x297c45(0x176)];[_0x297c45(0x24d)];[_0x297c45(0x25e)];[_0x297c45(0x1d2)];[_0x297c45(0x253)];[_0x297c45(0x1f0)];[_0x297c45(0x21c)];[_0x297c45(0x15e)];[_0x297c45(0x1d0)];static get[_0x297c45(0x17a)](){return[_0x2d03da,_0x21b1bc,_0x301068,_0x4bff20,_0x5e8ae0,_0x5df9f9];}static get[_0x297c45(0x1c4)](){const _0x29da5a=_0x297c45;return _0x29da5a(0x23c);}static get[_0x297c45(0x161)](){return!0x0;}static get[_0x297c45(0x239)](){return!0x0;}get[_0x297c45(0x182)](){const _0x36815d=_0x297c45;return this[_0x36815d(0x254)]+this[_0x36815d(0x21a)];}get[_0x297c45(0x254)](){const _0x4e9378=_0x297c45;return this[_0x4e9378(0x258)][_0x4e9378(0x248)]-this[_0x4e9378(0x21a)];}get[_0x297c45(0x15f)](){const _0x45ae06=_0x297c45,_0x2291e0=this[_0x45ae06(0x258)][_0x45ae06(0x18d)]();for(let _0x2ab589=_0x2291e0[_0x45ae06(0x15d)]-0x1;_0x2ab589>=0x0;_0x2ab589--){const _0x20e204=_0x2291e0[_0x2ab589];if(!this[_0x45ae06(0x15e)][_0x45ae06(0x1c6)](_0x20e204))return _0x20e204[_0x45ae06(0x1a2)]+0x1-this[_0x45ae06(0x21a)];}return 0x0;}constructor(_0x311a81){const _0x3656b1=_0x297c45;if(super(_0x311a81),this[_0x3656b1(0x21a)]=0x0,this[_0x3656b1(0x1e7)]=null,this[_0x3656b1(0x258)]=new _0x425ce8(),this[_0x3656b1(0x1b8)][_0x3656b1(0x1ad)][_0x3656b1(0x1f3)](_0x3656b1(0x1a4),{}),this[_0x3656b1(0x217)]=this[_0x3656b1(0x1b8)][_0x3656b1(0x1ad)][_0x3656b1(0x190)](_0x3656b1(0x1b5)),!this[_0x3656b1(0x217)])throw new _0xa2f92a(_0x3656b1(0x214),this);const _0x5655fd=_0x311a81[_0x3656b1(0x1ad)][_0x3656b1(0x190)](_0x3656b1(0x1a0))||_0x468f59;this[_0x3656b1(0x17d)]=new RealTimeCollaborationClient[(_0x3656b1(0x1dc))](_0x5655fd,this[_0x3656b1(0x217)]),this[_0x3656b1(0x19c)]=this[_0x3656b1(0x1b8)][_0x3656b1(0x171)][_0x3656b1(0x188)],this[_0x3656b1(0x1f5)]=new _0x522889(),this[_0x3656b1(0x1e1)]=[],this[_0x3656b1(0x18c)]=new WeakSet(),this[_0x3656b1(0x176)]=new Set(),this[_0x3656b1(0x185)](_0x3656b1(0x20b),!0x1),this[_0x3656b1(0x185)](_0x3656b1(0x1a1),!0x1),this[_0x3656b1(0x24d)]=null,this[_0x3656b1(0x25e)]=!0x1,this[_0x3656b1(0x1d2)]=null,this[_0x3656b1(0x253)]=0x12c,this[_0x3656b1(0x1f0)]=this[_0x3656b1(0x253)],this[_0x3656b1(0x21c)]=null,this[_0x3656b1(0x15e)]=new WeakSet(),this[_0x3656b1(0x1d0)]=new F(this[_0x3656b1(0x15e)]);}[_0x297c45(0x250)](){const _0x3ea759=_0x297c45,_0x37a7e1=this[_0x3ea759(0x1b8)],_0xd538a=_0x37a7e1[_0x3ea759(0x1cf)][_0x3ea759(0x190)](_0x5e8ae0),_0x5b46c6=_0x37a7e1[_0x3ea759(0x1cf)][_0x3ea759(0x190)](_0x2d03da);this[_0x3ea759(0x1e5)](_0xd538a,_0x3ea759(0x223),(_0x2caf7c,_0x1a395f)=>{const _0x5e45ae=_0x3ea759,_0xc1649=_0x1a395f[0x0];_0xc1649[_0x5e45ae(0x180)]&&(_0x2caf7c[_0x5e45ae(0x205)]=_0xd538a[_0x5e45ae(0x1b7)](_0xc1649[_0x5e45ae(0x180)]),_0x2caf7c[_0x5e45ae(0x1a7)]()),null===_0xc1649[_0x5e45ae(0x180)]&&(_0x2caf7c[_0x5e45ae(0x205)]=null,_0x2caf7c[_0x5e45ae(0x1a7)]());},{'priority':_0x3ea759(0x23a)}),this[_0x3ea759(0x1e5)](_0x37a7e1[_0x3ea759(0x171)][_0x3ea759(0x188)][_0x3ea759(0x257)],_0x3ea759(0x165),(_0x34a8e4,_0x53de41)=>{const _0x101c03=_0x3ea759;_0x53de41[_0x101c03(0x1f4)]&&this[_0x101c03(0x22e)]();}),this[_0x3ea759(0x1e5)](_0x37a7e1[_0x3ea759(0x1fc)][_0x3ea759(0x246)],_0x3ea759(0x179),()=>{const _0x31504a=_0x3ea759;this[_0x31504a(0x22e)]();}),this[_0x3ea759(0x255)](),_0x37a7e1[_0x3ea759(0x171)]['on'](_0x3ea759(0x219),(_0x27a978,_0x126db9)=>{const _0x3d9d10=_0x3ea759,_0x4c0244=_0x126db9[0x0];_0x4c0244[_0x3d9d10(0x1db)]&&(this[_0x3d9d10(0x1d5)](_0x4c0244),this[_0x3d9d10(0x1af)]()&&this[_0x3d9d10(0x16b)]());}),this[_0x3ea759(0x230)](),this[_0x3ea759(0x1de)](_0x3ea759(0x1ba))['to'](_0x5b46c6,_0x3ea759(0x222),this,_0x3ea759(0x1a1),(_0x2a272a,_0x433711)=>_0x3ea759(0x1aa)===_0x2a272a&&!_0x433711),this['on'](_0x3ea759(0x256),()=>{const _0x513863=_0x3ea759;this[_0x513863(0x1ba)]?_0x37a7e1[_0x513863(0x1b3)](_0x513863(0x196)):_0x37a7e1[_0x513863(0x162)](_0x513863(0x196));}),this[_0x3ea759(0x1ba)]?_0x37a7e1[_0x3ea759(0x1b3)](_0x3ea759(0x196)):_0x37a7e1[_0x3ea759(0x162)](_0x3ea759(0x196)),this[_0x3ea759(0x185)](_0x3ea759(0x20c),!0x1);}async[_0x297c45(0x1da)](){const _0x37fb35=_0x297c45,_0x150b05=this[_0x37fb35(0x1b8)][_0x37fb35(0x1cf)][_0x37fb35(0x190)](_0x21b1bc),_0x2156b3=this[_0x37fb35(0x1b8)][_0x37fb35(0x1cf)][_0x37fb35(0x190)](_0x2d03da);try{this[_0x37fb35(0x20b)]=!0x0,_0x150b05[_0x37fb35(0x1e3)](this[_0x37fb35(0x217)]);const _0x3a98be=await this[_0x37fb35(0x17d)][_0x37fb35(0x1da)](_0x2156b3[_0x37fb35(0x247)],this[_0x37fb35(0x15f)]);await this[_0x37fb35(0x252)](_0x3a98be)&&(this[_0x37fb35(0x20b)]=!0x1,this[_0x37fb35(0x170)]());const _0x12c3b4=await this[_0x37fb35(0x17d)][_0x37fb35(0x235)]();_0x150b05[_0x37fb35(0x183)](this[_0x37fb35(0x217)],_0x12c3b4),this[_0x37fb35(0x1bc)](),this[_0x37fb35(0x20c)]=!0x0;}catch(_0x2ea01b){if(function(_0x43b843){const _0x1b3a0a=_0x37fb35;return _0x1b3a0a(0x1c1)===_0x43b843[_0x1b3a0a(0x1d3)];}(_0x2ea01b)&&this[_0x37fb35(0x1e7)])await this[_0x37fb35(0x172)]();else{if(function(_0x337e25){const _0x64cd2c=_0x37fb35;return _0x64cd2c(0x23b)===_0x337e25[_0x64cd2c(0x1d3)];}(_0x2ea01b)){const _0xcd1f9f=_0x3b0bb0(this[_0x37fb35(0x1b8)][_0x37fb35(0x210)],_0x37fb35(0x1d6));this[_0x37fb35(0x1cc)](_0xcd1f9f);}else{if(!(_0x2ea01b instanceof V))throw _0x2ea01b;this[_0x37fb35(0x1cc)]();}}}}[_0x297c45(0x213)](){const _0x3b6e33=_0x297c45,_0x49aae5=this[_0x3b6e33(0x1b8)][_0x3b6e33(0x1cf)][_0x3b6e33(0x190)](_0x2d03da),_0x223580=this[_0x3b6e33(0x1b8)][_0x3b6e33(0x1cf)][_0x3b6e33(0x190)](_0x21b1bc);this[_0x3b6e33(0x1b8)][_0x3b6e33(0x162)](_0x3b6e33(0x260)),_0x223580[_0x3b6e33(0x1dd)][_0x3b6e33(0x1c6)](this[_0x3b6e33(0x217)])&&_0x223580[_0x3b6e33(0x1e3)](this[_0x3b6e33(0x217)]),_0x49aae5[_0x3b6e33(0x1b9)](this),this[_0x3b6e33(0x166)](),super[_0x3b6e33(0x213)]();}async[_0x297c45(0x252)](_0x2e750f){const _0x22eb8f=_0x297c45;if(this[_0x22eb8f(0x1e7)]!==_0x2e750f[_0x22eb8f(0x1e7)]&&this[_0x22eb8f(0x21c)]!==_0x2e750f[_0x22eb8f(0x23e)])throw new V();return this[_0x22eb8f(0x1e7)]=_0x2e750f[_0x22eb8f(0x1e7)],this[_0x22eb8f(0x18f)]([],{..._0x2e750f,'wereChangesApplied':!0x1,'data':_0x2e750f[_0x22eb8f(0x21b)]},_0x22eb8f(0x1da));}async[_0x297c45(0x1a5)](_0x5213f4,_0x2244ba=!0x1){const _0x37fbde=_0x297c45,{connection:_0x4c158a}=this[_0x37fbde(0x1b8)][_0x37fbde(0x1cf)][_0x37fbde(0x190)](_0x2d03da);RealTimeCollaborationClient[_0x37fbde(0x1dc)][_0x37fbde(0x235)](_0x4c158a,this[_0x37fbde(0x217)])[_0x37fbde(0x1b1)](_0x178f02=>this[_0x37fbde(0x1d8)](_0x178f02))[_0x37fbde(0x16e)](_0x2f99c1=>{const _0x48e6d1=_0x37fbde;this[_0x48e6d1(0x212)](_0x48e6d1(0x220),_0x2f99c1);}),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x17c),this[_0x37fbde(0x1bf)][_0x37fbde(0x1de)](this)),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x211),(_0x1b52ae,_0x17aa61)=>{const _0x46c090=_0x37fbde;this[_0x46c090(0x212)](_0x46c090(0x19b),_0x17aa61);}),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x202),()=>{const _0x57c1e7=_0x37fbde;this[_0x57c1e7(0x20c)]=!0x1;});const _0x40f354=this[_0x37fbde(0x1d0)][_0x37fbde(0x251)](_0x5213f4);this[_0x37fbde(0x20b)]=!0x0;const _0x250326=await this[_0x37fbde(0x17d)][_0x37fbde(0x1cd)](_0x4c158a,this[_0x37fbde(0x201)](_0x5213f4),_0x40f354);if(this[_0x37fbde(0x1e7)]=_0x250326[_0x37fbde(0x1e7)],_0x2244ba){if(!_0x250326[_0x37fbde(0x17e)])return void this[_0x37fbde(0x1cc)]();this[_0x37fbde(0x20b)]=!0x1,this[_0x37fbde(0x170)](),this[_0x37fbde(0x258)][_0x37fbde(0x244)](),this[_0x37fbde(0x21a)]=_0x250326[_0x37fbde(0x195)],this[_0x37fbde(0x258)][_0x37fbde(0x248)]=this[_0x37fbde(0x21a)],await this[_0x37fbde(0x18f)](_0x5213f4,_0x250326,_0x37fbde(0x1fa));}else await this[_0x37fbde(0x19a)](_0x250326,_0x5213f4);this[_0x37fbde(0x1bc)](),this[_0x37fbde(0x20c)]=!0x0;}[_0x297c45(0x1bc)](){const _0xedbecb=_0x297c45,_0x594753=this[_0xedbecb(0x1b8)][_0xedbecb(0x1cf)][_0xedbecb(0x190)](_0x21b1bc),_0x4aee25=this[_0xedbecb(0x1b8)][_0xedbecb(0x1cf)][_0xedbecb(0x190)](_0x301068),_0x56d4dc=_0x594753[_0xedbecb(0x1dd)][_0xedbecb(0x190)](this[_0xedbecb(0x217)]);_0x56d4dc&&_0x56d4dc[_0xedbecb(0x15d)]>0x1?_0x4aee25[_0xedbecb(0x1b4)]():this[_0xedbecb(0x1e5)](_0x594753,_0xedbecb(0x1ee)+this[_0xedbecb(0x217)],()=>{const _0x51d344=_0xedbecb;0x2===_0x594753[_0x51d344(0x1dd)][_0x51d344(0x190)](this[_0x51d344(0x217)])[_0x51d344(0x15d)]&&_0x4aee25[_0x51d344(0x1b4)]();});}async[_0x297c45(0x1bf)](_0x2209a,_0x51b47e,_0x462058,_0x463bd9){const _0x5adca1=_0x297c45;if(!this[_0x5adca1(0x20b)]&&this[_0x5adca1(0x19c)][_0x5adca1(0x248)]==_0x51b47e){const _0x49cc04=this[_0x5adca1(0x229)](_0x462058,_0x463bd9);await this[_0x5adca1(0x262)](_0x49cc04),this[_0x5adca1(0x24b)](_0x49cc04,_0x51b47e,_0x462058[_0x5adca1(0x23e)])||this[_0x5adca1(0x212)](_0x5adca1(0x198));}}async[_0x297c45(0x172)](){const _0x358340=_0x297c45;this[_0x358340(0x166)]();const {locale:_0xd42a20}=this[_0x358340(0x1b8)];let _0x548cc;try{_0x548cc=await this[_0x358340(0x17d)][_0x358340(0x1ae)]();}catch{const _0x20ca1d=_0x3b0bb0(_0xd42a20,_0x358340(0x1b0));return void this[_0x358340(0x1cc)](_0x20ca1d);}const _0x3a78ca=_0x548cc[_0x358340(0x224)]||_0x548cc[_0x358340(0x16f)];if(this[_0x358340(0x21c)]!==_0x3a78ca[_0x358340(0x23e)]){const _0x3b9255=_0x3b0bb0(_0xd42a20,_0x358340(0x1d7));return void this[_0x358340(0x1cc)](_0x3b9255);}await this[_0x358340(0x1a5)](this[_0x358340(0x1b8)][_0x358340(0x171)][_0x358340(0x188)][_0x358340(0x237)][_0x358340(0x18d)](),!0x0);}[_0x297c45(0x166)](){const _0x24d347=_0x297c45;this[_0x24d347(0x17d)][_0x24d347(0x221)](),this[_0x24d347(0x1e1)]=[],clearTimeout(this[_0x24d347(0x1d2)]),this[_0x24d347(0x1eb)](this[_0x24d347(0x17d)]);}[_0x297c45(0x1d8)](_0x475f13){const _0x54b735=_0x297c45,_0x18ae74=this[_0x54b735(0x1b8)][_0x54b735(0x1cf)][_0x54b735(0x190)](_0x21b1bc);this[_0x54b735(0x1e5)](_0x18ae74,_0x54b735(0x1ee)+this[_0x54b735(0x217)],(_0x286d79,{session:_0x18a3e8})=>{const _0x2d1e70=_0x54b735;if(_0x18a3e8['id']===_0x18ae74[_0x2d1e70(0x16a)]){_0x286d79[_0x2d1e70(0x1f8)]();const _0x14e6d3=this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x1c6)](_0x2d1e70(0x21e))&&this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x190)](_0x2d1e70(0x21e));let _0x38e556=_0x18a3e8[_0x2d1e70(0x1e6)];_0x14e6d3&&_0x14e6d3[_0x2d1e70(0x208)]&&(_0x38e556=_0x38e556[_0x2d1e70(0x1b2)](_0x112005=>_0x2d1e70(0x1e2)!==_0x112005)),this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x190)](_0x2d1e70(0x1ce))[_0x2d1e70(0x20f)](_0x38e556,this[_0x2d1e70(0x217)]);}}),_0x18ae74[_0x54b735(0x183)](this[_0x54b735(0x217)],_0x475f13);}[_0x297c45(0x255)](){const _0x3c8879=_0x297c45,_0x12721c=this[_0x3c8879(0x1b8)][_0x3c8879(0x21b)][_0x3c8879(0x185)];this[_0x3c8879(0x1b8)][_0x3c8879(0x21b)][_0x3c8879(0x185)]=(..._0x1109bc)=>{const _0x3dec9d=_0x3c8879;if(!_0x1109bc[_0x1109bc[_0x3dec9d(0x15d)]-0x1][_0x3dec9d(0x22f)])throw new _0xa2f92a(_0x3dec9d(0x1c0),this);_0x12721c[_0x3dec9d(0x236)](this[_0x3dec9d(0x1b8)][_0x3dec9d(0x21b)],_0x1109bc);};}[_0x297c45(0x230)](){const _0x2fe41c=_0x297c45;this[_0x2fe41c(0x1b8)][_0x2fe41c(0x21b)]['on'](_0x2fe41c(0x250),(_0x10a7a3,[_0x2a25d8])=>{const _0x50661f=_0x2fe41c;if(this[_0x50661f(0x19c)][_0x50661f(0x248)])throw new _0xa2f92a(_0x50661f(0x228),this);_0x10a7a3[_0x50661f(0x1a7)](),this[_0x50661f(0x1e8)]();const _0x32e9c5=this[_0x50661f(0x1b8)][_0x50661f(0x1ad)][_0x50661f(0x190)](_0x50661f(0x1c5)),_0x523c68=this[_0x50661f(0x175)](_0x2a25d8,_0x32e9c5);0x0==_0x523c68[_0x50661f(0x15d)]&&_0x523c68[_0x50661f(0x15c)](new _0x1ac49a(0x0)),_0x10a7a3[_0x50661f(0x205)]=this[_0x50661f(0x1a5)](_0x523c68)[_0x50661f(0x1b1)](()=>{const _0x10ac03=_0x50661f;this[_0x10ac03(0x1b8)][_0x10ac03(0x1cf)][_0x10ac03(0x190)](_0x2d03da)[_0x10ac03(0x25a)](this),this[_0x10ac03(0x1b8)][_0x10ac03(0x21b)][_0x10ac03(0x24a)](_0x10ac03(0x24c));})[_0x50661f(0x16e)](_0x123445=>this[_0x50661f(0x212)](_0x50661f(0x1be),_0x123445))[_0x50661f(0x1df)](()=>this[_0x50661f(0x170)]());},{'priority':_0x2fe41c(0x23a)}),this[_0x2fe41c(0x1b8)]['on'](_0x2fe41c(0x233),async(_0x4fd0d0,[_0x39caea,_0x393f9b])=>{const _0x1f5e4f=_0x2fe41c;_0x4fd0d0[_0x1f5e4f(0x1a7)]();const _0x1457af=this[_0x1f5e4f(0x1b8)][_0x1f5e4f(0x171)][_0x1f5e4f(0x188)][_0x1f5e4f(0x225)](_0x39caea);if(!this[_0x1f5e4f(0x176)][_0x1f5e4f(0x1c6)](_0x39caea)){const _0x363ef7=_0x393f9b&&_0x393f9b[_0x1f5e4f(0x21b)]?_0x393f9b[_0x1f5e4f(0x21b)]:'',_0x309adf=_0x393f9b&&_0x393f9b[_0x1f5e4f(0x191)]?_0x393f9b[_0x1f5e4f(0x191)]:{};await this[_0x1f5e4f(0x184)](_0x39caea,_0x363ef7,_0x309adf);}this[_0x1f5e4f(0x1b8)][_0x1f5e4f(0x171)][_0x1f5e4f(0x1ab)]({'isUndoable':!0x1},()=>{const _0x59b881=_0x1f5e4f;_0x1457af[_0x59b881(0x1ac)]=!0x0,this[_0x59b881(0x1b8)][_0x59b881(0x171)][_0x59b881(0x188)][_0x59b881(0x163)][_0x59b881(0x25c)](_0x1457af);});},{'priority':_0x2fe41c(0x23a)});}async[_0x297c45(0x262)](_0x4ec68d){const _0x2c11f6=_0x297c45,_0x4673f5=this[_0x2c11f6(0x1b8)][_0x2c11f6(0x1cf)][_0x2c11f6(0x190)](_0x5e8ae0),{connection:_0x2562db}=this[_0x2c11f6(0x1b8)][_0x2c11f6(0x1cf)][_0x2c11f6(0x190)](_0x2d03da),_0x3dc99b=new Set();for(const _0x39b2d9 of _0x4ec68d){const _0x5e1857=_0x39b2d9[_0x2c11f6(0x180)];_0x5e1857&&!_0x4673f5[_0x2c11f6(0x1b7)](_0x5e1857)&&_0x3dc99b[_0x2c11f6(0x25f)](_0x5e1857);}if(0x0===_0x3dc99b[_0x2c11f6(0x194)])return;const _0xe2718f=await _0xf4520f[_0x2c11f6(0x20d)](_0x2562db,Array[_0x2c11f6(0x189)](_0x3dc99b));for(const _0x4302a4 of _0xe2718f)_0x4673f5[_0x2c11f6(0x1b7)](_0x4302a4['id'])||_0x4673f5[_0x2c11f6(0x17b)](_0x4302a4);}[_0x297c45(0x175)](_0x343d44,_0x166a40={}){const _0x183716=_0x297c45,_0x4eca18=this[_0x183716(0x1b8)][_0x183716(0x171)],_0x48a0ec=[];let _0x2531e1=0x0;const _0x2d7ce7=_0x183716(0x23d)==typeof _0x343d44?{'main':_0x343d44}:_0x343d44;for(const _0x795dec of Object[_0x183716(0x1c7)](_0x2d7ce7)){if(!this[_0x183716(0x19c)][_0x183716(0x1fe)][_0x183716(0x1c6)](_0x795dec))throw new _0xa2f92a(_0x183716(0x18b),this);const _0x3e2a16=this[_0x183716(0x1b8)][_0x183716(0x21b)][_0x183716(0x209)](_0x2d7ce7[_0x795dec]),_0x4c7894=this[_0x183716(0x19c)][_0x183716(0x225)](_0x795dec),_0x51ac30=new _0x551dc7(_0x4eca18[_0x183716(0x19f)](_0x4c7894,0x0),_0x3e2a16,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x51ac30);for(const [_0x3afffa,_0x226317]of _0x3e2a16[_0x183716(0x169)]){const _0x420ca0=_0x4eca18[_0x183716(0x22b)](_0x4eca18[_0x183716(0x245)](_0x4c7894,_0x226317[_0x183716(0x1ed)][_0x183716(0x1e9)][_0x183716(0x160)]()),_0x4eca18[_0x183716(0x245)](_0x4c7894,_0x226317[_0x183716(0x241)][_0x183716(0x1e9)][_0x183716(0x160)]())),_0x19377b=new _0x59077a(_0x3afffa,null,_0x420ca0,_0x4eca18[_0x183716(0x169)],!0x0,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x19377b);}}if(_0x166a40)for(const [_0x4fd027,_0x3acd07]of Object[_0x183716(0x177)](_0x166a40)){const _0x576ea8=_0x4eca18[_0x183716(0x188)][_0x183716(0x225)](_0x4fd027);if(!_0x576ea8)throw new _0xa2f92a(_0x183716(0x1e0),null);for(const [_0x241aee,_0x4706ee]of Object[_0x183716(0x177)](_0x3acd07))if(null!==_0x4706ee){const _0x33655b=new _0x43056c(_0x576ea8,_0x241aee,null,_0x4706ee,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x33655b);}}return _0x48a0ec;}async[_0x297c45(0x184)](_0x530839,_0x3117d9,_0x2434dc){const _0x4e12c0=_0x297c45;this[_0x4e12c0(0x175)]({[_0x530839]:_0x3117d9},{[_0x530839]:_0x2434dc})[_0x4e12c0(0x200)]((_0x7eba5e,_0x1fe710)=>{const _0x37496b=_0x4e12c0;_0x7eba5e[_0x37496b(0x1a2)]=this[_0x37496b(0x19c)][_0x37496b(0x248)]+_0x1fe710,_0x7eba5e[_0x37496b(0x1d9)]=!0x0,this[_0x37496b(0x1d5)](_0x7eba5e);}),this[_0x4e12c0(0x16b)](),await this[_0x4e12c0(0x216)]();}async[_0x297c45(0x19a)](_0x541efe,_0x5aa4f2){const _0x3fd70a=_0x297c45;let _0x3c98b4;this[_0x3fd70a(0x21a)]=_0x541efe[_0x3fd70a(0x195)];const _0x321fb2=_0x541efe[_0x3fd70a(0x17e)]&&!_0x541efe[_0x3fd70a(0x1c2)],_0x4fea14=_0x321fb2?0x0:_0x541efe[_0x3fd70a(0x21b)][_0x3fd70a(0x1a2)];if(_0x5aa4f2[_0x3fd70a(0x200)](_0x3e6b91=>{const _0x10fa5f=_0x3fd70a;_0x3e6b91[_0x10fa5f(0x1d9)]=!0x0,_0x3e6b91[_0x10fa5f(0x25d)]=_0x541efe[_0x10fa5f(0x25b)],_0x3e6b91[_0x10fa5f(0x180)]=null;}),_0x321fb2)_0x3c98b4=_0x5aa4f2,this[_0x3fd70a(0x174)](_0x3c98b4,_0x321fb2);else{if(_0x541efe[_0x3fd70a(0x1c2)]){const _0x15d448=this[_0x3fd70a(0x175)](_0x541efe[_0x3fd70a(0x1c2)]);this[_0x3fd70a(0x19c)][_0x3fd70a(0x237)][_0x3fd70a(0x248)]=-_0x15d448[_0x3fd70a(0x15d)],_0x15d448[_0x3fd70a(0x200)](_0x35000=>{const _0x24b075=_0x3fd70a;_0x35000[_0x24b075(0x1a2)]-=_0x15d448[_0x24b075(0x15d)],_0x35000[_0x24b075(0x25d)]=_0x541efe[_0x24b075(0x25b)],_0x35000[_0x24b075(0x1d9)]=!0x0,_0x35000[_0x24b075(0x180)]=null;}),this[_0x3fd70a(0x174)](_0x15d448,!0x0),this[_0x3fd70a(0x258)][_0x3fd70a(0x248)]=-_0x15d448[_0x3fd70a(0x15d)]+this[_0x3fd70a(0x21a)],this[_0x3fd70a(0x1a9)](_0x15d448);}this[_0x3fd70a(0x19c)][_0x3fd70a(0x237)][_0x3fd70a(0x248)]=_0x4fea14,_0x3c98b4=this[_0x3fd70a(0x229)](_0x541efe[_0x3fd70a(0x21b)],_0x541efe[_0x3fd70a(0x1e4)]),await this[_0x3fd70a(0x262)](_0x3c98b4),this[_0x3fd70a(0x174)](_0x3c98b4,_0x321fb2);}_0x541efe[_0x3fd70a(0x23e)]&&(this[_0x3fd70a(0x1d0)][_0x3fd70a(0x187)](_0x3c98b4,_0x541efe[_0x3fd70a(0x23e)]),this[_0x3fd70a(0x21c)]=_0x541efe[_0x3fd70a(0x23e)]),this[_0x3fd70a(0x258)][_0x3fd70a(0x248)]=_0x4fea14+this[_0x3fd70a(0x21a)],this[_0x3fd70a(0x1a9)](_0x3c98b4),_0x5aa4f2[_0x3fd70a(0x1b2)](_0x53298a=>{const _0x2870bb=_0x3fd70a,_0x3c77d0=this[_0x2870bb(0x1bb)](_0x53298a);return _0x3c77d0&&!this[_0x2870bb(0x176)][_0x2870bb(0x1c6)](_0x3c77d0);})[_0x3fd70a(0x200)]((_0x1b7dc9,_0x52033b)=>{const _0x34796a=_0x3fd70a;_0x1b7dc9[_0x34796a(0x1a2)]=this[_0x34796a(0x19c)][_0x34796a(0x248)]+_0x52033b,this[_0x34796a(0x1d5)](_0x1b7dc9);}),this[_0x3fd70a(0x1af)]()?(this[_0x3fd70a(0x1f0)]=0x0,this[_0x3fd70a(0x16b)](!0x0),await this[_0x3fd70a(0x216)]()):(this[_0x3fd70a(0x20b)]=!0x1,this[_0x3fd70a(0x170)]());}[_0x297c45(0x212)](_0x4df83b,_0x6d31a2){const _0x86d9a4=_0x297c45,_0x2e6d23=_0x6d31a2&&_0x6d31a2[_0x86d9a4(0x22a)];if(_0x2e6d23&&_0x2e6d23[_0x86d9a4(0x215)](_0x86d9a4(0x227)))throw _0x6d31a2;const _0x1bf986=this[_0x86d9a4(0x1b8)][_0x86d9a4(0x1cf)][_0x86d9a4(0x190)](_0x2d03da);throw this[_0x86d9a4(0x20b)]=!0x0,_0x1bf986[_0x86d9a4(0x221)](),this[_0x86d9a4(0x1b8)][_0x86d9a4(0x162)](_0x86d9a4(0x21f)),new _0xa2f92a(_0x4df83b,this[_0x86d9a4(0x1b8)],_0x2e6d23?{'originalError':_0x2e6d23}:void 0x0);}[_0x297c45(0x1d5)](_0x35da32){const _0x3d22e5=_0x297c45;this[_0x3d22e5(0x18c)][_0x3d22e5(0x1c6)](_0x35da32)||(this[_0x3d22e5(0x18c)][_0x3d22e5(0x25f)](_0x35da32),this[_0x3d22e5(0x1e1)][_0x3d22e5(0x15c)](_0x35da32),this[_0x3d22e5(0x24d)]||_0x3d22e5(0x199)==_0x35da32[_0x3d22e5(0x164)]&&!_0x35da32[_0x3d22e5(0x17f)]||this[_0x3d22e5(0x1e8)]());}[_0x297c45(0x16b)](_0x24254d=!0x1){const _0x4c4eaa=_0x297c45;!_0x24254d&&this[_0x4c4eaa(0x20b)]||(this[_0x4c4eaa(0x20b)]=!0x0,clearTimeout(this[_0x4c4eaa(0x1d2)]),this[_0x4c4eaa(0x1d2)]=setTimeout(()=>{const _0x33f7a3=_0x4c4eaa;this[_0x33f7a3(0x192)]()[_0x33f7a3(0x1b1)](_0x31fe72=>{const _0x42d005=_0x33f7a3;_0x31fe72&&(this[_0x42d005(0x170)](),this[_0x42d005(0x20b)]=!0x1);})[_0x33f7a3(0x16e)](_0xa1f9f9=>{const _0xb3edba=_0x33f7a3;this[_0xb3edba(0x170)](),this[_0xb3edba(0x20b)]=!0x1,function(_0x4aab37){const _0x3c89bd=_0xb3edba;return _0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x1f1))||_0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x259))||_0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x1a3));}(_0xa1f9f9)||this[_0xb3edba(0x212)](_0xa1f9f9[_0xb3edba(0x22a)],_0xa1f9f9);});},this[_0x4c4eaa(0x1f0)]));}[_0x297c45(0x216)](){return new Promise(_0x203e3f=>{const _0x2e60f5=_0x17a2;this['on'](_0x2e60f5(0x178),()=>{_0x203e3f();});});}async[_0x297c45(0x192)](){const _0x33c5c5=_0x297c45,_0x59cae7=this[_0x33c5c5(0x1b8)][_0x33c5c5(0x1cf)][_0x33c5c5(0x190)](_0x301068);if(this[_0x33c5c5(0x240)]()&&(_0x59cae7[_0x33c5c5(0x1b4)](),this[_0x33c5c5(0x25e)]=!0x1),!this[_0x33c5c5(0x1af)]())return!0x0;const _0x1e9b52=[...this[_0x33c5c5(0x1e1)]];for(const _0x1bdf7b of _0x1e9b52)_0x1bdf7b[_0x33c5c5(0x218)]=this[_0x33c5c5(0x19c)][_0x33c5c5(0x237)][_0x33c5c5(0x19d)](_0x1bdf7b);const _0x305cf4=this[_0x33c5c5(0x1d0)][_0x33c5c5(0x251)](_0x1e9b52),_0x43727d=H++,_0x472bed=this[_0x33c5c5(0x201)](_0x1e9b52),_0x3694e2=await this[_0x33c5c5(0x17d)][_0x33c5c5(0x1f9)](_0x472bed,_0x472bed[_0x33c5c5(0x1a2)],_0x305cf4);try{return await this[_0x33c5c5(0x18f)](_0x1e9b52,_0x3694e2,_0x43727d);}catch(_0x59854a){return this[_0x33c5c5(0x212)](_0x33c5c5(0x186),_0x59854a);}}async[_0x297c45(0x18f)](_0x383949,_0x369c8b,_0x2ead26){const _0x1c3e49=_0x297c45;if(_0x1c3e49(0x211)in _0x369c8b)throw _0x369c8b[_0x1c3e49(0x211)];let _0x76f76f=!0x1;if(_0x369c8b[_0x1c3e49(0x17e)]){_0x369c8b[_0x1c3e49(0x23e)]&&(this[_0x1c3e49(0x21c)]=_0x369c8b[_0x1c3e49(0x23e)]),this[_0x1c3e49(0x1e1)]=this[_0x1c3e49(0x1e1)][_0x1c3e49(0x1b2)](_0x103702=>!_0x383949[_0x1c3e49(0x1fd)](_0x103702));for(const _0x512234 of _0x383949)_0x512234[_0x1c3e49(0x25d)]=_0x1c3e49(0x23f)in _0x369c8b&&_0x369c8b[_0x1c3e49(0x23f)]||void 0x0;W(_0x383949,_0x369c8b[_0x1c3e49(0x248)]-_0x383949[_0x1c3e49(0x15d)]),this[_0x1c3e49(0x1a9)](_0x383949);const _0xcb327f=_0x383949[_0x1c3e49(0x1b2)](_0x4e912c=>{const _0x12b70c=_0x1c3e49;if(!_0x4e912c[_0x12b70c(0x1d9)])return!0x1;const _0x15144b=this[_0x12b70c(0x1bb)](_0x4e912c);return _0x15144b&&!this[_0x12b70c(0x176)][_0x12b70c(0x1c6)](_0x15144b);});W(_0xcb327f,this[_0x1c3e49(0x19c)][_0x1c3e49(0x248)]),this[_0x1c3e49(0x174)](_0xcb327f),_0x76f76f=!0x0,this[_0x1c3e49(0x1f0)]=this[_0x1c3e49(0x253)];}else{const _0x3e34f4=this[_0x1c3e49(0x229)](_0x369c8b[_0x1c3e49(0x21b)],_0x369c8b[_0x1c3e49(0x1e4)])[_0x1c3e49(0x1b2)](_0x35acf5=>_0x35acf5[_0x1c3e49(0x1a2)]>=this[_0x1c3e49(0x254)]);_0x3e34f4[_0x1c3e49(0x200)](_0x58228b=>this[_0x1c3e49(0x20a)](_0x58228b)),this[_0x1c3e49(0x1e1)]=this[_0x1c3e49(0x1e1)][_0x1c3e49(0x1b2)](_0x4eddb5=>!_0x4eddb5[_0x1c3e49(0x1d9)]||!this[_0x1c3e49(0x176)][_0x1c3e49(0x1c6)](this[_0x1c3e49(0x1bb)](_0x4eddb5))),this[_0x1c3e49(0x1e1)][_0x1c3e49(0x15d)]&&W(this[_0x1c3e49(0x1e1)],this[_0x1c3e49(0x1e1)][0x0][_0x1c3e49(0x1a2)]),await this[_0x1c3e49(0x262)](_0x3e34f4),_0x76f76f=this[_0x1c3e49(0x24b)](_0x3e34f4,_0x369c8b[_0x1c3e49(0x248)],_0x369c8b[_0x1c3e49(0x23e)]),this[_0x1c3e49(0x1f0)]=Math[_0x1c3e49(0x181)](this[_0x1c3e49(0x1f0)]/0x2);}return _0x76f76f?!this[_0x1c3e49(0x1af)]()||(this[_0x1c3e49(0x16b)](!0x0),!0x1):this[_0x1c3e49(0x212)](_0x1c3e49(0x1ea));}[_0x297c45(0x24b)](_0x28d0bf,_0x5df468,_0x261331){const _0x1c8808=_0x297c45;try{const _0x4f573a={'document':this[_0x1c8808(0x19c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x125c44,operationsB:_0x45abc0,originalOperations:_0x286e66}=_0x518664(_0x28d0bf,this[_0x1c8808(0x1e1)],_0x4f573a);W(_0x125c44,this[_0x1c8808(0x19c)][_0x1c8808(0x248)]),W(_0x45abc0,_0x5df468);for(const _0x367a28 of _0x125c44){const _0x577c92=_0x286e66[_0x1c8808(0x190)](_0x367a28);_0x367a28[_0x1c8808(0x180)]=_0x577c92?_0x577c92[_0x1c8808(0x180)]:null;}_0x261331&&(this[_0x1c8808(0x1d0)][_0x1c8808(0x187)](_0x28d0bf,_0x261331),this[_0x1c8808(0x21c)]=_0x261331),this[_0x1c8808(0x1e1)]=[..._0x45abc0],this[_0x1c8808(0x174)](_0x125c44),this[_0x1c8808(0x1a9)](_0x28d0bf);}catch(_0x259f72){return console[_0x1c8808(0x211)](_0x259f72),!0x1;}return!0x0;}[_0x297c45(0x174)](_0x5e7afa,_0x5c1787=!0x1){const _0x5b9648=_0x297c45;this[_0x5b9648(0x1b8)][_0x5b9648(0x171)][_0x5b9648(0x1ab)]({'isUndoable':!0x1,'isLocal':!0x1},_0x351441=>{const _0x440064=_0x5b9648;for(const _0x338d8e of _0x5e7afa)this[_0x440064(0x18c)][_0x440064(0x25f)](_0x338d8e),this[_0x440064(0x20a)](_0x338d8e),_0x351441[_0x440064(0x1c3)][_0x440064(0x1f7)](_0x338d8e),this[_0x440064(0x1b8)][_0x440064(0x171)][_0x440064(0x219)](_0x338d8e);});}[_0x297c45(0x20a)](_0x54caa8){const _0x2574d3=_0x297c45,_0x1aa1cd=this[_0x2574d3(0x1bb)](_0x54caa8);_0x1aa1cd&&this[_0x2574d3(0x176)][_0x2574d3(0x25f)](_0x1aa1cd);}[_0x297c45(0x1bb)](_0x319656){const _0x47a91b=_0x297c45;let _0x47dcbf,_0x4c61ad;switch(_0x319656[_0x47a91b(0x164)]){case _0x47a91b(0x24f):_0x47dcbf=_0x319656[_0x47a91b(0x1f6)][_0x47a91b(0x1ca)];break;case _0x47a91b(0x199):if(_0x4c61ad=_0x319656[_0x47a91b(0x1d4)],!_0x4c61ad)return null;_0x47dcbf=_0x4c61ad[_0x47a91b(0x1ca)];break;case _0x47a91b(0x1cb):_0x47dcbf=_0x319656[_0x47a91b(0x1ca)];break;case _0x47a91b(0x231):_0x47dcbf=_0x319656[_0x47a91b(0x261)];break;case _0x47a91b(0x167):_0x47dcbf=_0x319656[_0x47a91b(0x18a)][_0x47a91b(0x1ca)];break;default:return null;}return _0x47dcbf[_0x47a91b(0x21d)];}[_0x297c45(0x1a9)](_0x5d7297){const _0x23368d=_0x297c45;_0x5d7297[_0x23368d(0x200)](_0x569558=>{const _0xb538ce=_0x23368d,_0x237c14=_0x569558[_0xb538ce(0x173)]();_0x237c14[_0xb538ce(0x180)]=_0x569558[_0xb538ce(0x180)],_0x237c14[_0xb538ce(0x1d9)]=!!_0x569558[_0xb538ce(0x1d9)],_0x237c14[_0xb538ce(0x25d)]=_0x569558[_0xb538ce(0x25d)],_0x237c14[_0xb538ce(0x1a2)]+=this[_0xb538ce(0x21a)],_0x569558[_0xb538ce(0x204)]&&this[_0xb538ce(0x15e)][_0xb538ce(0x25f)](_0x237c14),this[_0xb538ce(0x258)][_0xb538ce(0x1f7)](_0x237c14);});}[_0x297c45(0x1cc)](_0x560de5){const _0x57339b=_0x297c45,_0x41de0f=this[_0x57339b(0x1b8)][_0x57339b(0x1cf)][_0x57339b(0x190)](_0x57339b(0x22d)),_0x3f29c1=this[_0x57339b(0x1b8)][_0x57339b(0x210)];_0x560de5||(_0x560de5=_0x3b0bb0(_0x3f29c1,_0x57339b(0x1a8))),_0x41de0f[_0x57339b(0x206)](_0x560de5,{'title':_0x3b0bb0(_0x3f29c1,_0x57339b(0x242)),'namespace':_0x57339b(0x232)}),this[_0x57339b(0x1a1)]=!0x0,clearTimeout(this[_0x57339b(0x1d2)]),this[_0x57339b(0x1e1)]=[],this[_0x57339b(0x1b8)][_0x57339b(0x1cf)][_0x57339b(0x190)](_0x2d03da)[_0x57339b(0x221)]();}[_0x297c45(0x1e8)](){const _0x45291e=_0x297c45;this[_0x45291e(0x24d)]||(this[_0x45291e(0x24d)]=this[_0x45291e(0x1b8)][_0x45291e(0x1cf)][_0x45291e(0x190)](_0x4bff20)[_0x45291e(0x25f)](_0x3b0bb0(this[_0x45291e(0x1b8)][_0x45291e(0x210)],_0x45291e(0x24e))));}[_0x297c45(0x170)](){const _0xa3d8d8=_0x297c45;this[_0xa3d8d8(0x24d)]&&(this[_0xa3d8d8(0x1b8)][_0xa3d8d8(0x1cf)][_0xa3d8d8(0x190)](_0x4bff20)[_0xa3d8d8(0x207)](this[_0xa3d8d8(0x24d)]),this[_0xa3d8d8(0x24d)]=null);}[_0x297c45(0x201)](_0x2a586a){const _0x544e2e=_0x297c45,_0x3f05f1=_0x2a586a[_0x544e2e(0x1ec)](_0x8da4aa=>_0x8da4aa[_0x544e2e(0x1ef)]());return this[_0x544e2e(0x1f5)][_0x544e2e(0x1bd)](_0x3f05f1);}[_0x297c45(0x229)](_0x1c15a5,_0x5f3dd0){const _0x5a4374=_0x297c45;return this[_0x5a4374(0x1f5)][_0x5a4374(0x238)](_0x1c15a5)[_0x5a4374(0x1ec)]((_0x1a79db,_0x122f9f)=>{const _0x7390c4=_0x5a4374,_0x553b7a=_0x7390c4(0x250)==_0x5f3dd0[_0x122f9f][_0x7390c4(0x164)];if(_0x7390c4(0x193)==_0x1a79db[_0x7390c4(0x1c9)]){const _0x376e6b=_0x1a79db[_0x7390c4(0x1f6)][_0x7390c4(0x1ca)];!this[_0x7390c4(0x19c)][_0x7390c4(0x225)](_0x376e6b)&&(this[_0x7390c4(0x19c)][_0x7390c4(0x18e)](_0x7390c4(0x1fb),_0x376e6b)[_0x7390c4(0x197)]=!0x1);}const _0x3dcf6e=_0x4d9438[_0x7390c4(0x234)](_0x1a79db,this[_0x7390c4(0x19c)]);return _0x3dcf6e[_0x7390c4(0x218)]=_0x1a79db[_0x7390c4(0x218)],_0x3dcf6e[_0x7390c4(0x1d9)]=_0x553b7a,_0x3dcf6e[_0x7390c4(0x180)]=_0x553b7a?null:_0x5f3dd0[_0x122f9f][_0x7390c4(0x249)],_0x3dcf6e[_0x7390c4(0x204)]=_0x7390c4(0x1c8)===_0x5f3dd0[_0x122f9f][_0x7390c4(0x164)],_0x3dcf6e[_0x7390c4(0x25d)]=_0x5f3dd0[_0x122f9f][_0x7390c4(0x25d)],_0x3dcf6e;});}[_0x297c45(0x22e)](){const _0x54bc8d=_0x297c45;this[_0x54bc8d(0x25e)]=!0x0,this[_0x54bc8d(0x240)]()?this[_0x54bc8d(0x16b)]():this[_0x54bc8d(0x25e)]=!0x1;}[_0x297c45(0x240)](){const _0x28edb6=_0x297c45,_0x2be767=this[_0x28edb6(0x1b8)][_0x28edb6(0x1cf)][_0x28edb6(0x190)](_0x21b1bc)[_0x28edb6(0x1dd)][_0x28edb6(0x190)](this[_0x28edb6(0x217)]);return!this[_0x28edb6(0x1b8)][_0x28edb6(0x1f2)]&&!!_0x2be767&&_0x2be767[_0x28edb6(0x15d)]>0x1&&this[_0x28edb6(0x25e)];}[_0x297c45(0x1af)](){const _0x33ea3a=_0x297c45;return this[_0x33ea3a(0x1e1)][_0x33ea3a(0x15d)]>0x0||this[_0x33ea3a(0x240)]();}}class V extends Error{}function W(_0x3821ee,_0x20b778){const _0x32017a=_0x297c45;for(const _0x583343 of _0x3821ee)_0x583343[_0x32017a(0x1a2)]=_0x20b778++;}function _0x3106(){const _0x8bf268=['sendOperations','reconnection:\x20flushed\x20session','$root','editing','includes','roots','1403620qgMEHP','forEach','_compressOperations','disconnected','_ignoredOperations','_isDisconnection','return','showWarning','remove','isEnabled','parse','_addKnownRoot','_isPendingUpdate','_isConnected','getMany','8bDNWzd','setPermissions','locale','error','_crash','destroy','collaboration-missing-channelid','startsWith','_waitUntilSynced','_channelId','wasUndone','applyOperation','_offset','data','_lastSyncedOperationId','rootName','CommentsOnly','realtimecollaborationclient-error','realtimecollaborationclient-init-session-connection-error','disconnect','state','getOperationAuthor','currentDocumentSession','getRoot','11SwxoaU','realtimecollaborationclient','realtimecollaborationclient-init-document-already-initialized','_decompressOperations','message','createRange','3ytAOer','Notification','_refreshUserSelectionMarkers','suppressErrorInCollaboration','_setUpDataInit','addRoot','real-time-collaboration','loadRoot','fromJSON','getConnectedSessions','apply','history','decompress','isPremiumPlugin','high','409','RealTimeCollaborationClient','string','lastOperationId','lastOperationAcceptedAt','_shouldSendSelectionUpdate','end','Synchronization\x20issue','4772064twFLRD','reset','createPositionFromPath','view','connection','version','userId','fire','_handleExternalOperations','ready','_pendingAction','PENDING_ACTION_SENDING_DATA','insert','init','getIdOfTheLastOperation','_handleReconnectionResponse','_baseBufferDelay','_lastServerVersion','_initThrowingOnDataSet','change:_isEditingAllowed','selection','serverHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','sessionCreatedAt','_bufferRootLoad','createdAt','_hasSelectionChanged','add','rtc-destroyed','affectedSelectable','_fetchMissingUsers','_operationToId','push','length','_disconnectionOperations','lastSyncVersion','slice','isOfficialPlugin','enableReadOnlyMode','differ','type','change:range','_disconnectService','move','24HYTtPi','markers','mySessionId','_sendBufferedOperationsDelayed','389332SzmlQf','478401hElolq','catch','lastDocumentSession','_clearPendingAction','model','_connectAfterSessionHasBeenFlushed','clone','_applyOperationsSet','_getOperationsFromInitData','_knownRootNames','entries','change:_isPendingUpdate','change:hasDomSelection','requires','addUser','operationsReceived','_service','wereChangesApplied','affectsData','_authorId','round','cloudDocumentVersion','register','_loadRoot','set','realtimecollaborationclient-sendbufferedoperations','setIdForTheLastOperation','document','from','targetPosition','realtimecollaborationclient-init-non-existent-root','_knownOperations','getOperations','createRoot','_handleServerResponse','get','attributes','_sendBufferedOperations','InsertOperation','size','offset','rtc-offline','_isAttached','realtimecollaborationclient-init-service-incorrect-server-operation','marker','_handleInitialConnectionData','realtimecollaborationclient-init-service-internal-error','_document','isUndoneOperation','9RQbOSw','createPositionAt','cloudServices.bundleVersion','_hasSynchronizationProblem','baseVersion','cloud-services-internal-error:\x20Request\x20timeout.','collaboration','_connectService','6513204rALomo','stop','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.','_updateServerHistory','connected','enqueueChange','_isLoaded','config','getDocumentDetails','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','filter','disableReadOnlyMode','createUserMarkerOperations','collaboration.channelId','31210SyRhvL','getUser','editor','removeFromReconnectionStack','_isEditingAllowed','_getAffectedRoot','_handleSendingSelectionMarkers','compress','realtimecollaborationclient-init-connection-failed','_handleReceivedOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','404','initData','batch','pluginName','rootsAttributes','has','keys','cs:removeUser','__className','root','addRootAttribute','_handleReconnectionError','connect','Permissions','plugins','_operationIdentifier','343176UeJwed','_sendBufferedOperationsDelayId','code','newRange','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','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.','_initSessionsHandling','_isInit','reconnect','isDocumentOperation','CollaborativeEditingService','channelSessions','bind','finally','multi-root-editor-root-attributes-no-root','_bufferedOperations','document:write','unregister','metadata','listenTo','permissions','sessionId','_setPendingAction','path','realtimecollaborationclient-handleserverresponse','stopListening','map','start','sessionAdd:','toJSON','_currentBufferDelay','cloud-services-internal-error:\x20Not\x20connected.','isReadOnly','define','directChange','_compressor','position','addOperation','off'];_0x3106=function(){return _0x8bf268;};return _0x3106();}class F{[_0x297c45(0x203)];[_0x297c45(0x263)];constructor(_0x3eefa8){const _0x3235e9=_0x297c45;this[_0x3235e9(0x203)]=_0x3eefa8,this[_0x3235e9(0x263)]=new WeakMap();}[_0x297c45(0x251)](_0x438f80){const _0x206134=_0x297c45;let _0xec0853=_0x438f80[_0x206134(0x15d)];for(;_0xec0853--;){const _0x3ce445=_0x438f80[_0xec0853];if(!this[_0x206134(0x203)][_0x206134(0x1c6)](_0x3ce445)){if(!this[_0x206134(0x263)][_0x206134(0x1c6)](_0x3ce445)){const _0x470125=_0x474dfd()[_0x206134(0x160)](0x1,0x12);this[_0x206134(0x263)][_0x206134(0x185)](_0x3ce445,_0x470125);}return this[_0x206134(0x263)][_0x206134(0x190)](_0x3ce445);}}}[_0x297c45(0x187)](_0x16755e,_0x2a5e94){const _0x5cc4ce=_0x297c45;if(!_0x2a5e94)return;let _0x1568d2=_0x16755e[_0x5cc4ce(0x15d)];for(;_0x1568d2--;){const _0x379e37=_0x16755e[_0x1568d2];this[_0x5cc4ce(0x203)][_0x5cc4ce(0x1c6)](_0x379e37)||this[_0x5cc4ce(0x263)][_0x5cc4ce(0x185)](_0x379e37,_0x2a5e94);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53b630=_0x193a;function _0x193a(_0x435120,_0x589a43){const _0x3346b1=_0x3346();return _0x193a=function(_0x193a4b,_0x4d0234){_0x193a4b=_0x193a4b-0x1e0;let _0x1e30f8=_0x3346b1[_0x193a4b];return _0x1e30f8;},_0x193a(_0x435120,_0x589a43);}(function(_0x24afbe,_0x2d9a8f){const _0x2aa320=_0x193a,_0x59784d=_0x24afbe();while(!![]){try{const _0x52fc7b=parseInt(_0x2aa320(0x1f3))/0x1+-parseInt(_0x2aa320(0x215))/0x2+-parseInt(_0x2aa320(0x212))/0x3*(parseInt(_0x2aa320(0x1f4))/0x4)+-parseInt(_0x2aa320(0x1e5))/0x5+parseInt(_0x2aa320(0x21c))/0x6+-parseInt(_0x2aa320(0x1ed))/0x7+parseInt(_0x2aa320(0x21a))/0x8;if(_0x52fc7b===_0x2d9a8f)break;else _0x59784d['push'](_0x59784d['shift']());}catch(_0x282b1c){_0x59784d['push'](_0x59784d['shift']());}}}(_0x3346,0xa331b));import{ContextPlugin as _0x2cb0b0}from'ckeditor5/src/core.js';import{Collection as _0x24895b,CKEditorError as _0xf73d60}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5247ab}from'./websocketgateway.js';import{Users as _0x92e2e6}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2cb0b0{[_0x53b630(0x1f1)];[_0x53b630(0x217)];[_0x53b630(0x208)];[_0x53b630(0x1f2)];[_0x53b630(0x201)];[_0x53b630(0x203)];static get[_0x53b630(0x204)](){const _0x50ee18=_0x53b630;return _0x50ee18(0x1fe);}static get[_0x53b630(0x1ea)](){return!0x0;}static get[_0x53b630(0x213)](){return!0x0;}static get[_0x53b630(0x1f6)](){return[_0x5247ab,_0x92e2e6];}constructor(_0x409f06){const _0x26adec=_0x53b630;super(_0x409f06),this[_0x26adec(0x1f1)]=new Map(),this[_0x26adec(0x217)]=new Map(),this[_0x26adec(0x208)]=new _0x24895b(),this[_0x26adec(0x1f2)]=new Map(),this[_0x26adec(0x201)]=0x0,this[_0x26adec(0x203)]=this[_0x26adec(0x20d)][_0x26adec(0x21b)][_0x26adec(0x1fb)](_0x92e2e6);}[_0x53b630(0x1e6)](){const _0x21c2ca=_0x53b630,_0x991eb4=this[_0x21c2ca(0x20d)][_0x21c2ca(0x21b)][_0x21c2ca(0x1fb)](_0x5247ab);this[_0x21c2ca(0x1eb)](_0x991eb4,_0x21c2ca(0x1e3),(_0x1b1ef6,_0x2db2b8,_0x32b81e)=>{const _0x4180f0=_0x21c2ca;if(_0x4180f0(0x1f9)!==_0x32b81e)this[_0x4180f0(0x1f1)][_0x4180f0(0x1e9)](_0x3c4e42=>_0x3c4e42[_0x4180f0(0x1fd)]()),this[_0x4180f0(0x217)][_0x4180f0(0x1e9)](_0x43d297=>_0x43d297[_0x4180f0(0x1fd)]()),this[_0x4180f0(0x208)][_0x4180f0(0x1fd)]();else{for(const [_0x426199,_0x55a83e]of this[_0x4180f0(0x1f2)])for(const _0x290353 of _0x55a83e)this[_0x4180f0(0x206)](_0x426199,_0x290353);}}),this[_0x21c2ca(0x209)](_0x991eb4[_0x21c2ca(0x1ee)]['me'],!0x0);}[_0x53b630(0x20b)](_0x49af5f,_0x48e24c){const _0x5be668=_0x53b630;if(this[_0x5be668(0x1f2)][_0x5be668(0x1f0)](_0x49af5f))throw new _0xf73d60(_0x5be668(0x216),null,{'channelId':_0x49af5f});this[_0x5be668(0x1f2)][_0x5be668(0x1e4)](_0x49af5f,_0x48e24c),this[_0x5be668(0x1f1)][_0x5be668(0x1e4)](_0x49af5f,new _0x24895b()),this[_0x5be668(0x217)][_0x5be668(0x1e4)](_0x49af5f,new _0x24895b()),this[_0x5be668(0x1eb)](_0x48e24c,_0x5be668(0x1e7),(_0x218a62,_0x27d7a5)=>this[_0x5be668(0x206)](_0x49af5f,_0x27d7a5)),this[_0x5be668(0x1eb)](_0x48e24c,_0x5be668(0x1ff),(_0xc5a780,_0x37b0e8)=>this[_0x5be668(0x1e8)](_0x49af5f,_0x37b0e8));for(const _0x479ccc of _0x48e24c)this[_0x5be668(0x206)](_0x49af5f,_0x479ccc);}[_0x53b630(0x1ef)](_0x5e50f6){const _0xd575cc=_0x53b630;if(!this[_0xd575cc(0x1f2)][_0xd575cc(0x1f0)](_0x5e50f6))throw new _0xf73d60(_0xd575cc(0x1e2),null,{'channelId':_0x5e50f6});const _0xb234df=this[_0xd575cc(0x1f2)][_0xd575cc(0x1fb)](_0x5e50f6);this[_0xd575cc(0x20c)](_0xb234df);for(const _0x46d5ca of _0xb234df)_0xd575cc(0x1f9)===this[_0xd575cc(0x20d)][_0xd575cc(0x21b)][_0xd575cc(0x1fb)](_0x5247ab)[_0xd575cc(0x1fa)]&&this[_0xd575cc(0x1e8)](_0x5e50f6,_0x46d5ca);this[_0xd575cc(0x1f2)][_0xd575cc(0x1e0)](_0x5e50f6),this[_0xd575cc(0x1f1)][_0xd575cc(0x1e0)](_0x5e50f6),this[_0xd575cc(0x217)][_0xd575cc(0x1e0)](_0x5e50f6);}get[_0x53b630(0x219)](){const _0x10a4f4=_0x53b630;return this[_0x10a4f4(0x20d)][_0x10a4f4(0x21b)][_0x10a4f4(0x1fb)](_0x5247ab)[_0x10a4f4(0x1ee)][_0x10a4f4(0x211)];}[_0x53b630(0x207)](_0x150845){const _0x5d9084=_0x53b630;for(const _0x428628 of this[_0x5d9084(0x1f1)][_0x5d9084(0x202)]())for(const _0x28a9e0 of _0x428628)if(_0x28a9e0['id']===_0x150845)return _0x28a9e0[_0x5d9084(0x1f7)];}[_0x53b630(0x1fc)](_0x3866d2,_0x3bd583){const _0x4bb7e2=_0x53b630,_0x38ad4c=_0x3bd583?[this[_0x4bb7e2(0x1f1)][_0x4bb7e2(0x1fb)](_0x3bd583)]:this[_0x4bb7e2(0x1f1)][_0x4bb7e2(0x202)](),_0xa99209=new Set();for(const _0x4af436 of _0x38ad4c)for(const _0x54634c of _0x4af436)_0x54634c[_0x4bb7e2(0x1f7)]['id']===_0x3866d2['id']&&_0xa99209[_0x4bb7e2(0x1e7)](_0x54634c['id']);return _0xa99209;}[_0x53b630(0x20e)](_0x4e7599){const _0x2dec15=_0x53b630;for(const _0x465c61 of this[_0x2dec15(0x1f1)][_0x2dec15(0x202)]())for(const _0x590fa0 of _0x465c61)if(_0x590fa0[_0x2dec15(0x1f7)]===_0x4e7599)return _0x590fa0[_0x2dec15(0x1f5)];}[_0x53b630(0x206)](_0x114de9,_0x996110){const _0x42a075=_0x53b630;if(_0x42a075(0x1f9)!==this[_0x42a075(0x20d)][_0x42a075(0x21b)][_0x42a075(0x1fb)](_0x5247ab)[_0x42a075(0x1fa)])return;const _0x42fd91=_0x996110[_0x42a075(0x1f7)],_0x1fe59a=this[_0x42a075(0x203)][_0x42a075(0x1ec)](_0x42fd91['id'])||this[_0x42a075(0x209)](_0x42fd91),_0x8a09d6=Object[_0x42a075(0x20a)]({},_0x996110,{'user':_0x1fe59a});if(this[_0x42a075(0x1f1)][_0x42a075(0x1fb)](_0x114de9)[_0x42a075(0x1e7)](_0x8a09d6),!_0x42fd91[_0x42a075(0x205)]){const _0x3a0905=this[_0x42a075(0x217)][_0x42a075(0x1fb)](_0x114de9);_0x3a0905[_0x42a075(0x1f0)](_0x1fe59a['id'])||_0x3a0905[_0x42a075(0x1e7)](_0x1fe59a),this[_0x42a075(0x208)][_0x42a075(0x1f0)](_0x1fe59a['id'])||_0x42fd91[_0x42a075(0x205)]||this[_0x42a075(0x208)][_0x42a075(0x1e7)](_0x1fe59a,_0x1fe59a[_0x42a075(0x218)]?0x0:void 0x0);}this[_0x42a075(0x200)](_0x42a075(0x20f)+_0x114de9,{'channelId':_0x114de9,'session':_0x8a09d6});}[_0x53b630(0x1e8)](_0x5c02d1,_0x10f017){const _0x167bc2=_0x53b630;if(_0x167bc2(0x1f9)!==this[_0x167bc2(0x20d)][_0x167bc2(0x21b)][_0x167bc2(0x1fb)](_0x5247ab)[_0x167bc2(0x1fa)])return;const _0x313b08=this[_0x167bc2(0x217)][_0x167bc2(0x1fb)](_0x5c02d1),_0x126966=_0x10f017[_0x167bc2(0x1f7)];_0x126966['id']&&(this[_0x167bc2(0x1f1)][_0x167bc2(0x1fb)](_0x5c02d1)[_0x167bc2(0x1ff)](_0x10f017['id']),_0x313b08[_0x167bc2(0x1f0)](_0x126966['id'])&&!this[_0x167bc2(0x1fc)](_0x126966,_0x5c02d1)[_0x167bc2(0x214)]&&_0x313b08[_0x167bc2(0x1ff)](_0x126966['id']),this[_0x167bc2(0x208)][_0x167bc2(0x1fb)](_0x126966['id'])&&!this[_0x167bc2(0x1fc)](_0x126966)[_0x167bc2(0x214)]&&this[_0x167bc2(0x208)][_0x167bc2(0x1ff)](_0x126966['id']));}[_0x53b630(0x209)](_0x2a6240,_0x374213){const _0x37abe7=_0x53b630,_0x2b49b9=this[_0x37abe7(0x203)][_0x37abe7(0x1f8)](_0x2a6240);return _0x374213&&this[_0x37abe7(0x203)][_0x37abe7(0x210)](_0x2a6240['id']),_0x2b49b9[_0x37abe7(0x1e1)]=this[_0x37abe7(0x201)]++,_0x2b49b9;}}function _0x3346(){const _0x2adb6f=['connection','unregister','has','channelSessions','_registeredSessions','1004367IKeunb','48ETVdXl','role','requires','user','addUser','connected','state','get','getUserSessions','clear','Sessions','remove','fire','_uniqueUsersCount','values','_users','pluginName','hiddenInPresenceList','_handleSessionAdd','getUserBySessionId','allConnectedUsers','_createUser','assign','register','stopListening','context','getUserRole','sessionAdd:','defineMe','sessionId','125676YoVQil','isPremiumPlugin','size','1659204NPhvRm','sessions-register-already-registered','channelConnectedUsers','isMe','mySessionId','11274320MsJckC','plugins','121752hgPQfh','delete','orderNumber','sessions-unregister-not-exist','change:state','set','603150KdmWGi','init','add','_handleSessionRemove','forEach','isOfficialPlugin','listenTo','getUser','2187990qpKZIe'];_0x3346=function(){return _0x2adb6f;};return _0x3346();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x12fba5=_0x12bc;(function(_0x47e7d9,_0x31cdfc){const _0x5932eb=_0x12bc,_0x10e266=_0x47e7d9();while(!![]){try{const _0x5a1f7b=parseInt(_0x5932eb(0x202))/0x1+parseInt(_0x5932eb(0x1e2))/0x2*(parseInt(_0x5932eb(0x1ce))/0x3)+-parseInt(_0x5932eb(0x1f6))/0x4*(-parseInt(_0x5932eb(0x1d6))/0x5)+-parseInt(_0x5932eb(0x1e5))/0x6+parseInt(_0x5932eb(0x235))/0x7+parseInt(_0x5932eb(0x1de))/0x8+-parseInt(_0x5932eb(0x1d4))/0x9*(parseInt(_0x5932eb(0x1c6))/0xa);if(_0x5a1f7b===_0x31cdfc)break;else _0x10e266['push'](_0x10e266['shift']());}catch(_0x3519ca){_0x10e266['push'](_0x10e266['shift']());}}}(_0x1e4b,0x50248));import{Plugin as _0x5071db}from'ckeditor5/src/core.js';function _0x12bc(_0x1c195c,_0x10dd4d){const _0x1e4b48=_0x1e4b();return _0x12bc=function(_0x12bcf0,_0x3226e1){_0x12bcf0=_0x12bcf0-0x1ad;let _0x55aaf3=_0x1e4b48[_0x12bcf0];return _0x55aaf3;},_0x12bc(_0x1c195c,_0x10dd4d);}import{global as _0x337863,DomEmitterMixin as _0x3d92bc}from'ckeditor5/src/utils.js';import{Sessions as _0x5d21ec}from'./sessions.js';import{ModelLiveRange as _0x43d3c2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1e4b(){const _0x29438b=['batch','reconvertMarker','createUIElement','getUserBySessionId','markerRange','user:position','markerName','requires','removeMarker','addMarker','view','fromRange','tableCell','document','createRange','init','keydown','selection','isInline','setAttribute','end','outerHTML','update:user:range','getPositions','enqueueChange','isDocumentOperation','isCollapsed','Escape','classList','color','start','add','set','deletionPosition','listenTo','toDomElement','isLimit','getAttribute','markerNameToElements','markerToElement','markers','applyOperation','orderNumber','contenteditable','getContainedElement','2011842FOYwjF','root','updateMarker','type','textContent','innerHTML','user:range','get','mouseenter','undo','detach','model','parent','ck-user__marker_hovered','delete','UserMarkers','data-session-id','hasContent','mySessionId','removeClass','spellcheck','isPremiumPlugin','mouseleave','getFirstRange','user:range:','marker','oldRange','has','90dwxFtc','clear','checkChild','isSimilar','ck-user__marker\x20','userPositionMarker','remove','getNearestSelectionRange','6684xSqOVd','change','getCustomProperty','schema','size','stopListening','1461501BXYQGF','span','135YWULJH','false','getMarkerClass','isOfficialPlugin','_createdBatches','ck-user__marker-tooltip','pluginName','destroy','1919232DizMlZ','render','$graveyard','conversion','156BGDWxZ','afterInit','hasDomSelection','514260VppFuc','createElement','mapper','editingDowncast','getSelectionClass','user:','$text','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','highest','getStart','toRange','isObject','editing','_domEmitter','createUserMarkerOperations','addEventListener','getRange','83416JhthTX','setCustomProperty','commands','plugins','for','newRange','startsWith','editor','rootName','nodeAfter','ck-user__selection','markerToHighlight','611323zVMdYO','split','change:range','name','user:position:','element'];_0x1e4b=function(){return _0x29438b;};return _0x1e4b();}export class UserMarkers extends _0x5071db{[_0x12fba5(0x1f2)]=new(_0x3d92bc())();static get[_0x12fba5(0x20f)](){return[_0x5d21ec];}static get[_0x12fba5(0x1dc)](){const _0x1a61ac=_0x12fba5;return _0x1a61ac(0x1b9);}static get[_0x12fba5(0x1d9)](){return!0x0;}static get[_0x12fba5(0x1bf)](){return!0x0;}[_0x12fba5(0x217)](){const _0x1227ad=_0x12fba5,_0x4d42b0=this[_0x1227ad(0x1fd)],_0x19a118=_0x4d42b0[_0x1227ad(0x1f9)][_0x1227ad(0x1b1)](_0x5d21ec);_0x4d42b0[_0x1227ad(0x1e1)][_0x1227ad(0x1fa)](_0x1227ad(0x1e8))[_0x1227ad(0x22f)]({'model':_0x1227ad(0x20d),'view':(_0x50f405,{writer:_0x597631})=>function(_0x4e0e3d,_0x1d107a,_0x20f9ae,_0x274158){const _0x20bb62=_0x1227ad,_0x306cd9=_0x4e0e3d[_0x20bb62(0x20e)][_0x20bb62(0x203)](':')[0x2],_0x238e11=_0x20f9ae[_0x20bb62(0x20b)](_0x306cd9);if(!_0x238e11||_0x306cd9===_0x20f9ae[_0x20bb62(0x1bc)])return;if(!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)][_0x20bb62(0x1c8)](_0x4e0e3d[_0x20bb62(0x20c)][_0x20bb62(0x226)],_0x20bb62(0x1eb)))return;const _0x4e16b1={'class':_0x20bb62(0x1ca)+_0x238e11[_0x20bb62(0x225)][_0x20bb62(0x1d8)](),'data-name':_0x238e11[_0x20bb62(0x205)],'data-session-id':_0x306cd9},_0x540b7b=_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x230)][_0x20bb62(0x1b1)](_0x4e0e3d[_0x20bb62(0x20e)]),_0x99b498=_0x540b7b[_0x20bb62(0x1ee)](),_0x254c52=_0x99b498[_0x20bb62(0x1ff)],_0x36ee20=_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)];if(_0x254c52&&_0x36ee20[_0x20bb62(0x1f0)](_0x254c52)&&_0x36ee20[_0x20bb62(0x21a)](_0x254c52)&&!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x230)][_0x20bb62(0x1b1)](_0x20bb62(0x1c2)+_0x306cd9)[_0x20bb62(0x1f5)]()[_0x20bb62(0x222)])return;const _0x1474c1=_0x99b498[_0x20bb62(0x1b6)];return _0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)][_0x20bb62(0x22c)](_0x1474c1)&&!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1bb)](_0x1474c1)&&(_0x4e16b1[_0x20bb62(0x233)]=!0x1),function(_0x440d5e,_0x59beb1,_0x152439){const _0x5f06e8=_0x20bb62,_0x495f04=_0x440d5e[_0x5f06e8(0x20a)](_0x5f06e8(0x1d5),_0x59beb1);return _0x440d5e[_0x5f06e8(0x1f7)](_0x5f06e8(0x1cb),!0x0,_0x495f04),_0x495f04[_0x5f06e8(0x1df)]=function(_0x25ab18){const _0x331672=_0x5f06e8,_0x2ef61a=this[_0x331672(0x22b)](_0x25ab18),_0x237348=document[_0x331672(0x1e6)](_0x331672(0x1d5));return _0x237348[_0x331672(0x224)][_0x331672(0x227)](_0x331672(0x1db)),_0x237348[_0x331672(0x21b)](_0x331672(0x233),_0x331672(0x1d7)),_0x237348[_0x331672(0x21b)](_0x331672(0x1be),_0x331672(0x1d7)),_0x237348[_0x331672(0x1ae)]=_0x152439[_0x331672(0x205)],_0x2ef61a[_0x331672(0x1af)]=_0x331672(0x1ec)+_0x237348[_0x331672(0x21d)]+'',_0x2ef61a[_0x331672(0x1f4)](_0x331672(0x1b2),()=>{const _0x499f15=_0x331672;_0x2ef61a[_0x499f15(0x224)][_0x499f15(0x227)](_0x499f15(0x1b7));}),_0x2ef61a[_0x331672(0x1f4)](_0x331672(0x1c0),()=>{const _0x4bea14=_0x331672;_0x2ef61a[_0x4bea14(0x224)][_0x4bea14(0x1cc)](_0x4bea14(0x1b7));}),_0x2ef61a;},_0x495f04[_0x5f06e8(0x1c9)]=function(_0x40387c){const _0x26a9e2=_0x5f06e8;return!(!this[_0x26a9e2(0x1d0)](_0x26a9e2(0x1cb))||!_0x40387c[_0x26a9e2(0x1d0)](_0x26a9e2(0x1cb))||this[_0x26a9e2(0x22d)](_0x26a9e2(0x1ba))!=_0x40387c[_0x26a9e2(0x22d)](_0x26a9e2(0x1ba)));},_0x495f04;}(_0x1d107a,_0x4e16b1,_0x238e11);}(_0x50f405,_0x597631,_0x19a118,_0x4d42b0)}),_0x4d42b0[_0x1227ad(0x1e1)][_0x1227ad(0x1fa)](_0x1227ad(0x1e8))[_0x1227ad(0x201)]({'model':_0x1227ad(0x1b0),'view':_0x463e87=>function(_0xa6346d,_0x17724d){const _0x34fa08=_0x1227ad,_0x51fcc9=_0xa6346d[_0x34fa08(0x20e)][_0x34fa08(0x203)](':')[0x2];if(_0x51fcc9===_0x17724d[_0x34fa08(0x1bc)])return null;const _0xfff2e3=_0x17724d[_0x34fa08(0x20b)](_0x51fcc9);if(!_0xfff2e3)return{'id':_0x51fcc9,'classes':[]};return{'id':_0x51fcc9,'classes':[_0x34fa08(0x200),_0xfff2e3[_0x34fa08(0x225)][_0x34fa08(0x1e9)]()],'attributes':{'data-session-id':_0x51fcc9},'priority':0x7d0+_0xfff2e3[_0x34fa08(0x232)]};}(_0x463e87,_0x19a118)}),function(_0x28ef6b){const _0x493861=_0x1227ad,_0x570aa0=_0x28ef6b[_0x493861(0x1b5)],_0x38e1d4=new Map(),_0x51904d=_0x28ef6b[_0x493861(0x1f9)][_0x493861(0x1b1)](_0x5d21ec);_0x570aa0[_0x493861(0x230)]['on'](_0x493861(0x21e),(_0x12f364,_0xb97e5e,_0x34664a,_0x408ba8)=>{const _0x3e0255=_0x493861;if(!_0x408ba8&&_0x38e1d4[_0x3e0255(0x1b1)](_0xb97e5e[_0x3e0255(0x205)]))return _0x38e1d4[_0x3e0255(0x1b1)](_0xb97e5e[_0x3e0255(0x205)])[_0x3e0255(0x1b4)](),void _0x38e1d4[_0x3e0255(0x1b8)](_0xb97e5e[_0x3e0255(0x205)]);const _0x2e62cf=_0xb97e5e[_0x3e0255(0x205)][_0x3e0255(0x203)](':')[0x2];if(_0x2e62cf===_0x51904d[_0x3e0255(0x1bc)])return;const _0x409ce2=_0x3e0255(0x206)+_0x2e62cf;_0x570aa0[_0x3e0255(0x230)][_0x3e0255(0x1c5)](_0x409ce2)&&_0x28ef6b[_0x3e0255(0x1f1)][_0x3e0255(0x209)](_0x409ce2),_0xb97e5e['on'](_0x3e0255(0x204),(_0x3a2552,_0x4d6571,_0x38c5e9)=>{const _0x1cfaf8=_0x3e0255;if(_0x1cfaf8(0x1e0)!=_0x4d6571[_0x1cfaf8(0x236)][_0x1cfaf8(0x1fe)]&&_0x1cfaf8(0x1e0)==_0xb97e5e[_0x1cfaf8(0x1f5)]()[_0x1cfaf8(0x236)][_0x1cfaf8(0x1fe)]&&!_0x38e1d4[_0x1cfaf8(0x1c5)](_0xb97e5e[_0x1cfaf8(0x205)])){const _0x1ff9d1=_0x570aa0[_0x1cfaf8(0x1d1)][_0x1cfaf8(0x1cd)](_0x38c5e9[_0x1cfaf8(0x229)]);if(_0x1ff9d1){const _0x27de0e=_0x43d3c2[_0x1cfaf8(0x213)](_0x1ff9d1);_0x38e1d4[_0x1cfaf8(0x228)](_0xb97e5e[_0x1cfaf8(0x205)],_0x27de0e),_0x27de0e['on'](_0x1cfaf8(0x204),(_0x548d91,_0x2fc64c,_0xdadad8)=>{const _0x3f13d6=_0x1cfaf8;if(_0x3f13d6(0x1e0)==_0x27de0e[_0x3f13d6(0x236)][_0x3f13d6(0x1fe)]){const _0x28652f=_0x570aa0[_0x3f13d6(0x1d1)][_0x3f13d6(0x1cd)](_0xdadad8[_0x3f13d6(0x229)]);_0x28652f?(_0x27de0e[_0x3f13d6(0x226)]=_0x28652f[_0x3f13d6(0x226)],_0x27de0e[_0x3f13d6(0x21c)]=_0x28652f[_0x3f13d6(0x21c)]):(_0x38e1d4[_0x3f13d6(0x1b8)](_0xb97e5e[_0x3f13d6(0x205)]),_0x27de0e[_0x3f13d6(0x1b4)]());}});}}});}),_0x570aa0[_0x493861(0x215)]['on'](_0x493861(0x1cf),()=>{const _0x5ef83c=_0x493861;_0x38e1d4[_0x5ef83c(0x1d2)]>0x0&&_0x570aa0[_0x5ef83c(0x220)]({'isUndoable':!0x1},_0x2703ee=>{const _0x5ac35e=_0x5ef83c;for(const [_0x3f60e1,_0x4e1e87]of _0x38e1d4)_0x5ac35e(0x1e0)==_0x570aa0[_0x5ac35e(0x230)][_0x5ac35e(0x1b1)](_0x3f60e1)[_0x5ac35e(0x1f5)]()[_0x5ac35e(0x236)][_0x5ac35e(0x1fe)]&&(G(_0x3f60e1[_0x5ac35e(0x203)](':')[0x2],_0x4e1e87[_0x5ac35e(0x1ef)](),_0x570aa0,_0x2703ee),_0x4e1e87[_0x5ac35e(0x1b4)]());_0x38e1d4[_0x5ac35e(0x1c7)]();});});}(_0x4d42b0),this[_0x1227ad(0x1f2)][_0x1227ad(0x22a)](_0x337863[_0x1227ad(0x215)],_0x1227ad(0x218),(_0x2c2e66,{key:_0x127e55})=>{const _0xad3504=_0x1227ad;_0xad3504(0x223)===_0x127e55&&function(_0x3f1abc){const _0x4b31ca=_0xad3504;_0x3f1abc[_0x4b31ca(0x1f1)][_0x4b31ca(0x212)][_0x4b31ca(0x1cf)](_0x7d5c5=>{const _0x466abb=_0x4b31ca;for(const _0x421008 of _0x3f1abc[_0x466abb(0x1b5)][_0x466abb(0x230)]){if(!_0x421008[_0x466abb(0x205)][_0x466abb(0x1fc)](_0x466abb(0x20d)))continue;const _0x192c78=_0x3f1abc[_0x466abb(0x1f1)][_0x466abb(0x1e7)][_0x466abb(0x22e)](_0x421008[_0x466abb(0x205)]);if(_0x192c78){for(const _0x2bc986 of _0x192c78)_0x7d5c5[_0x466abb(0x1bd)](_0x466abb(0x1b7),_0x2bc986);}}});}(_0x4d42b0);},{'useCapture':!0x0});}[_0x12fba5(0x1e3)](){const _0x205173=_0x12fba5,_0x225158=this[_0x205173(0x1fd)],_0x3fb48b=_0x225158[_0x205173(0x1f8)][_0x205173(0x1b1)](_0x205173(0x1b3));_0x3fb48b&&_0x225158[_0x205173(0x1b5)]['on'](_0x205173(0x231),(_0x23382f,_0x149202)=>{const _0x40e6ff=_0x205173,_0x589d01=_0x149202[0x0];if(!_0x589d01[_0x40e6ff(0x221)])return;if(_0x40e6ff(0x1c3)!=_0x589d01[_0x40e6ff(0x1ad)]||!_0x589d01[_0x40e6ff(0x205)][_0x40e6ff(0x1fc)](_0x40e6ff(0x1ea)))return;const _0x45c8a8=_0x589d01[_0x40e6ff(0x208)];_0x3fb48b[_0x40e6ff(0x1da)][_0x40e6ff(0x1c5)](_0x45c8a8)&&(_0x589d01[_0x40e6ff(0x1fb)]=_0x589d01[_0x40e6ff(0x1c4)]?_0x225158[_0x40e6ff(0x1b5)][_0x40e6ff(0x216)](_0x589d01[_0x40e6ff(0x1c4)][_0x40e6ff(0x226)],_0x589d01[_0x40e6ff(0x1c4)][_0x40e6ff(0x21c)]):null);},{'priority':_0x205173(0x1ed)});}[_0x12fba5(0x1dd)](){const _0xf62c05=_0x12fba5;return this[_0xf62c05(0x1f2)][_0xf62c05(0x1d3)](),super[_0xf62c05(0x1dd)]();}[_0x12fba5(0x1f3)](){const _0x141a9c=_0x12fba5,_0x498dac=this[_0x141a9c(0x1fd)],_0xd1baff=_0x498dac[_0x141a9c(0x1b5)][_0x141a9c(0x215)],_0x559f82=_0x498dac[_0x141a9c(0x1f9)][_0x141a9c(0x1b1)](_0x5d21ec);_0x498dac[_0x141a9c(0x1b5)][_0x141a9c(0x220)]({'isUndoable':!0x1},_0x2d645c=>{const _0x4358bd=_0x141a9c,_0x28af5d=_0x4358bd(0x1c2)+_0x559f82[_0x4358bd(0x1bc)],_0x1998e0=_0x4358bd(0x206)+_0x559f82[_0x4358bd(0x1bc)],_0x34bde2=_0x498dac[_0x4358bd(0x1b5)][_0x4358bd(0x230)][_0x4358bd(0x1c5)](_0x28af5d);_0x498dac[_0x4358bd(0x1f1)][_0x4358bd(0x212)][_0x4358bd(0x1e4)]?G(_0x559f82[_0x4358bd(0x1bc)],_0xd1baff[_0x4358bd(0x219)][_0x4358bd(0x1c1)](),_0x498dac[_0x4358bd(0x1b5)],_0x2d645c):_0x34bde2&&(_0x2d645c[_0x4358bd(0x210)](_0x28af5d),_0x2d645c[_0x4358bd(0x210)](_0x1998e0));});}}function G(_0x240771,_0x22b6ab,_0x5cc73d,_0x1af846){const _0x2e021f=_0x12fba5,_0x36b506=_0x2e021f(0x1c2)+_0x240771,_0x4f7735=_0x2e021f(0x206)+_0x240771,_0x2fcb00=_0x22b6ab[_0x2e021f(0x234)]();let _0x530f90=_0x22b6ab[_0x2e021f(0x226)];if(_0x2fcb00&&_0x2fcb00['is'](_0x2e021f(0x207),_0x2e021f(0x214))){const _0x18aad3=function(_0x1119c5,_0x48eb94){const _0x48fe0c=_0x2e021f;for(const _0x49c797 of _0x1119c5[_0x48fe0c(0x21f)]())if(_0x48eb94[_0x48fe0c(0x1d1)][_0x48fe0c(0x1c8)](_0x49c797,_0x48fe0c(0x1eb)))return _0x49c797;}(_0x22b6ab,_0x5cc73d);_0x18aad3&&(_0x530f90=_0x18aad3,_0x22b6ab=_0x1af846[_0x2e021f(0x216)](_0x530f90));}const _0x4cd0f0=_0x1af846[_0x2e021f(0x216)](_0x530f90);_0x5cc73d[_0x2e021f(0x230)][_0x2e021f(0x1c5)](_0x36b506)?(_0x1af846[_0x2e021f(0x237)](_0x36b506,{'range':_0x22b6ab}),_0x1af846[_0x2e021f(0x237)](_0x4f7735,{'range':_0x4cd0f0})):(_0x1af846[_0x2e021f(0x211)](_0x36b506,{'range':_0x22b6ab,'usingOperation':!0x0}),_0x1af846[_0x2e021f(0x211)](_0x4f7735,{'range':_0x4cd0f0,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x2a2d(_0x19ff0f,_0x6f7973){const _0xbc7466=_0xbc74();return _0x2a2d=function(_0x2a2d2f,_0x578bd9){_0x2a2d2f=_0x2a2d2f-0x75;let _0x247c7c=_0xbc7466[_0x2a2d2f];return _0x247c7c;},_0x2a2d(_0x19ff0f,_0x6f7973);}const _0x1eae72=_0x2a2d;(function(_0x488d0f,_0x5f0579){const _0x5e2438=_0x2a2d,_0x57b3b6=_0x488d0f();while(!![]){try{const _0x26eaac=parseInt(_0x5e2438(0x97))/0x1+parseInt(_0x5e2438(0xf5))/0x2*(parseInt(_0x5e2438(0xcb))/0x3)+-parseInt(_0x5e2438(0xb0))/0x4+parseInt(_0x5e2438(0xfe))/0x5*(-parseInt(_0x5e2438(0x80))/0x6)+parseInt(_0x5e2438(0xc6))/0x7*(-parseInt(_0x5e2438(0xc1))/0x8)+-parseInt(_0x5e2438(0xd0))/0x9*(-parseInt(_0x5e2438(0x8b))/0xa)+-parseInt(_0x5e2438(0x100))/0xb*(-parseInt(_0x5e2438(0xd4))/0xc);if(_0x26eaac===_0x5f0579)break;else _0x57b3b6['push'](_0x57b3b6['shift']());}catch(_0x1bf675){_0x57b3b6['push'](_0x57b3b6['shift']());}}}(_0xbc74,0x67238));import{Plugin as _0x4f2c55}from'ckeditor5/src/core.js';function _0xbc74(){const _0xbff7cb=['enqueueChange','mapper','applyOperation','user:range:','user:position','get','requires','markerName','5gyNDxj','userPositionMarker','33fBDjXe','user:range','user:','for','toDomElement','addEventListener','isLimit','checkChild','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','split','listenTo','stopListening','newRange','3953238ptHbfm','classList','start','plugins','$graveyard','outerHTML','isDocumentOperation','UserMarkers','render','false','change:range','118420vqNDhf','createUIElement','setAttribute','mySessionId','deletionPosition','destroy','span','getUserBySessionId','init','model','hasContent','size','752332NwiXaQ','_domEmitter','view','clear','updateMarker','set','orderNumber','ck-user__selection','delete','spellcheck','Escape','markerToElement','conversion','isInline','getContainedElement','createElement','isObject','type','setCustomProperty','ck-user__marker\x20','document','isSimilar','parent','schema','change','2639740rSRfAk','markerRange','contenteditable','innerHTML','markers','update:user:range','pluginName','startsWith','nodeAfter','getCustomProperty','oldRange','getStart','ck-user__marker-tooltip','root','end','editor','editing','8WzNYup','getNearestSelectionRange','marker','$text','add','2656787lkktHG','getMarkerClass','selection','afterInit','removeClass','1332DsbCPy','createRange','toRange','getSelectionClass','editingDowncast','72SFoHYp','markerToHighlight','removeMarker','fromRange','3395316GIiOaD','user:position:','highest','getRange','textContent','mouseenter','remove','createUserMarkerOperations','mouseleave','detach','keydown','name','batch','data-session-id','commands','getPositions','isOfficialPlugin','_createdBatches','element','has','color','reconvertMarker','rootName','tableCell','ck-user__marker_hovered','addMarker','isPremiumPlugin','undo','markerNameToElements','getFirstRange','hasDomSelection','getAttribute','isCollapsed','1914sRaSpk'];_0xbc74=function(){return _0xbff7cb;};return _0xbc74();}import{global as _0x5bd093,DomEmitterMixin as _0x103280}from'ckeditor5/src/utils.js';import{Sessions as _0x210814}from'./sessions.js';import{ModelLiveRange as _0x2593a0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4f2c55{[_0x1eae72(0x98)]=new(_0x103280())();static get[_0x1eae72(0xfc)](){return[_0x210814];}static get[_0x1eae72(0xb6)](){const _0x29ead1=_0x1eae72;return _0x29ead1(0x87);}static get[_0x1eae72(0xe4)](){return!0x0;}static get[_0x1eae72(0xee)](){return!0x0;}[_0x1eae72(0x93)](){const _0x400323=_0x1eae72,_0x10265e=this[_0x400323(0xbf)],_0x2e45f3=_0x10265e[_0x400323(0x83)][_0x400323(0xfb)](_0x210814);_0x10265e[_0x400323(0xa3)][_0x400323(0x76)](_0x400323(0xcf))[_0x400323(0xa2)]({'model':_0x400323(0xfa),'view':(_0x1411df,{writer:_0x46272e})=>function(_0x516661,_0x1d8945,_0x3423ca,_0x54e46b){const _0xbeabc2=_0x400323,_0x48fe4e=_0x516661[_0xbeabc2(0xfd)][_0xbeabc2(0x7c)](':')[0x2],_0x4f7079=_0x3423ca[_0xbeabc2(0x92)](_0x48fe4e);if(!_0x4f7079||_0x48fe4e===_0x3423ca[_0xbeabc2(0x8e)])return;if(!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)][_0xbeabc2(0x7a)](_0x516661[_0xbeabc2(0xb1)][_0xbeabc2(0x82)],_0xbeabc2(0xc4)))return;const _0x31f2ea={'class':_0xbeabc2(0xaa)+_0x4f7079[_0xbeabc2(0xe8)][_0xbeabc2(0xc7)](),'data-name':_0x4f7079[_0xbeabc2(0xdf)],'data-session-id':_0x48fe4e},_0x108a00=_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xb4)][_0xbeabc2(0xfb)](_0x516661[_0xbeabc2(0xfd)]),_0x2f4f7d=_0x108a00[_0xbeabc2(0xbb)](),_0x2f8cff=_0x2f4f7d[_0xbeabc2(0xb8)],_0x1160b2=_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)];if(_0x2f8cff&&_0x1160b2[_0xbeabc2(0xa7)](_0x2f8cff)&&_0x1160b2[_0xbeabc2(0xa4)](_0x2f8cff)&&!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xb4)][_0xbeabc2(0xfb)](_0xbeabc2(0xf9)+_0x48fe4e)[_0xbeabc2(0xd7)]()[_0xbeabc2(0xf4)])return;const _0x151aa4=_0x2f4f7d[_0xbeabc2(0xad)];return _0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)][_0xbeabc2(0x79)](_0x151aa4)&&!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0x95)](_0x151aa4)&&(_0x31f2ea[_0xbeabc2(0xb2)]=!0x1),function(_0x50d35b,_0x37528f,_0x3cdb0e){const _0x1982b0=_0xbeabc2,_0x157c60=_0x50d35b[_0x1982b0(0x8c)](_0x1982b0(0x91),_0x37528f);return _0x50d35b[_0x1982b0(0xa9)](_0x1982b0(0xff),!0x0,_0x157c60),_0x157c60[_0x1982b0(0x88)]=function(_0x170e13){const _0x3f0662=_0x1982b0,_0x24c1b0=this[_0x3f0662(0x77)](_0x170e13),_0x347b10=document[_0x3f0662(0xa6)](_0x3f0662(0x91));return _0x347b10[_0x3f0662(0x81)][_0x3f0662(0xc5)](_0x3f0662(0xbc)),_0x347b10[_0x3f0662(0x8d)](_0x3f0662(0xb2),_0x3f0662(0x89)),_0x347b10[_0x3f0662(0x8d)](_0x3f0662(0xa0),_0x3f0662(0x89)),_0x347b10[_0x3f0662(0xd8)]=_0x3cdb0e[_0x3f0662(0xdf)],_0x24c1b0[_0x3f0662(0xb3)]=_0x3f0662(0x7b)+_0x347b10[_0x3f0662(0x85)]+'',_0x24c1b0[_0x3f0662(0x78)](_0x3f0662(0xd9),()=>{const _0x4b2b3a=_0x3f0662;_0x24c1b0[_0x4b2b3a(0x81)][_0x4b2b3a(0xc5)](_0x4b2b3a(0xec));}),_0x24c1b0[_0x3f0662(0x78)](_0x3f0662(0xdc),()=>{const _0x4ec338=_0x3f0662;_0x24c1b0[_0x4ec338(0x81)][_0x4ec338(0xda)](_0x4ec338(0xec));}),_0x24c1b0;},_0x157c60[_0x1982b0(0xac)]=function(_0x4f4211){const _0x48f85e=_0x1982b0;return!(!this[_0x48f85e(0xb9)](_0x48f85e(0xff))||!_0x4f4211[_0x48f85e(0xb9)](_0x48f85e(0xff))||this[_0x48f85e(0xf3)](_0x48f85e(0xe1))!=_0x4f4211[_0x48f85e(0xf3)](_0x48f85e(0xe1)));},_0x157c60;}(_0x1d8945,_0x31f2ea,_0x4f7079);}(_0x1411df,_0x46272e,_0x2e45f3,_0x10265e)}),_0x10265e[_0x400323(0xa3)][_0x400323(0x76)](_0x400323(0xcf))[_0x400323(0xd1)]({'model':_0x400323(0x101),'view':_0x5e1ddd=>function(_0x21c251,_0x4001e8){const _0x34036f=_0x400323,_0x290ac5=_0x21c251[_0x34036f(0xfd)][_0x34036f(0x7c)](':')[0x2];if(_0x290ac5===_0x4001e8[_0x34036f(0x8e)])return null;const _0x2f8d7c=_0x4001e8[_0x34036f(0x92)](_0x290ac5);if(!_0x2f8d7c)return{'id':_0x290ac5,'classes':[]};return{'id':_0x290ac5,'classes':[_0x34036f(0x9e),_0x2f8d7c[_0x34036f(0xe8)][_0x34036f(0xce)]()],'attributes':{'data-session-id':_0x290ac5},'priority':0x7d0+_0x2f8d7c[_0x34036f(0x9d)]};}(_0x5e1ddd,_0x2e45f3)}),function(_0x2039d1){const _0x4a2472=_0x400323,_0x3f09f9=_0x2039d1[_0x4a2472(0x94)],_0x377fe8=new Map(),_0x5df694=_0x2039d1[_0x4a2472(0x83)][_0x4a2472(0xfb)](_0x210814);_0x3f09f9[_0x4a2472(0xb4)]['on'](_0x4a2472(0xb5),(_0x3ec8df,_0x289774,_0x54999c,_0x45839a)=>{const _0x1a2f1f=_0x4a2472;if(!_0x45839a&&_0x377fe8[_0x1a2f1f(0xfb)](_0x289774[_0x1a2f1f(0xdf)]))return _0x377fe8[_0x1a2f1f(0xfb)](_0x289774[_0x1a2f1f(0xdf)])[_0x1a2f1f(0xdd)](),void _0x377fe8[_0x1a2f1f(0x9f)](_0x289774[_0x1a2f1f(0xdf)]);const _0x11e15a=_0x289774[_0x1a2f1f(0xdf)][_0x1a2f1f(0x7c)](':')[0x2];if(_0x11e15a===_0x5df694[_0x1a2f1f(0x8e)])return;const _0x41edf1=_0x1a2f1f(0xd5)+_0x11e15a;_0x3f09f9[_0x1a2f1f(0xb4)][_0x1a2f1f(0xe7)](_0x41edf1)&&_0x2039d1[_0x1a2f1f(0xc0)][_0x1a2f1f(0xe9)](_0x41edf1),_0x289774['on'](_0x1a2f1f(0x8a),(_0x201095,_0x5c1c23,_0x4bcb3d)=>{const _0x40735f=_0x1a2f1f;if(_0x40735f(0x84)!=_0x5c1c23[_0x40735f(0xbd)][_0x40735f(0xea)]&&_0x40735f(0x84)==_0x289774[_0x40735f(0xd7)]()[_0x40735f(0xbd)][_0x40735f(0xea)]&&!_0x377fe8[_0x40735f(0xe7)](_0x289774[_0x40735f(0xdf)])){const _0x3920de=_0x3f09f9[_0x40735f(0xae)][_0x40735f(0xc2)](_0x4bcb3d[_0x40735f(0x8f)]);if(_0x3920de){const _0x37dfea=_0x2593a0[_0x40735f(0xd3)](_0x3920de);_0x377fe8[_0x40735f(0x9c)](_0x289774[_0x40735f(0xdf)],_0x37dfea),_0x37dfea['on'](_0x40735f(0x8a),(_0x5e53fe,_0x231437,_0x343069)=>{const _0x38dfd8=_0x40735f;if(_0x38dfd8(0x84)==_0x37dfea[_0x38dfd8(0xbd)][_0x38dfd8(0xea)]){const _0x53a0af=_0x3f09f9[_0x38dfd8(0xae)][_0x38dfd8(0xc2)](_0x343069[_0x38dfd8(0x8f)]);_0x53a0af?(_0x37dfea[_0x38dfd8(0x82)]=_0x53a0af[_0x38dfd8(0x82)],_0x37dfea[_0x38dfd8(0xbe)]=_0x53a0af[_0x38dfd8(0xbe)]):(_0x377fe8[_0x38dfd8(0x9f)](_0x289774[_0x38dfd8(0xdf)]),_0x37dfea[_0x38dfd8(0xdd)]());}});}}});}),_0x3f09f9[_0x4a2472(0xab)]['on'](_0x4a2472(0xaf),()=>{const _0x33bd46=_0x4a2472;_0x377fe8[_0x33bd46(0x96)]>0x0&&_0x3f09f9[_0x33bd46(0xf6)]({'isUndoable':!0x1},_0x1e2c72=>{const _0x16632f=_0x33bd46;for(const [_0x50e439,_0x4aada1]of _0x377fe8)_0x16632f(0x84)==_0x3f09f9[_0x16632f(0xb4)][_0x16632f(0xfb)](_0x50e439)[_0x16632f(0xd7)]()[_0x16632f(0xbd)][_0x16632f(0xea)]&&(J(_0x50e439[_0x16632f(0x7c)](':')[0x2],_0x4aada1[_0x16632f(0xcd)](),_0x3f09f9,_0x1e2c72),_0x4aada1[_0x16632f(0xdd)]());_0x377fe8[_0x16632f(0x9a)]();});});}(_0x10265e),this[_0x400323(0x98)][_0x400323(0x7d)](_0x5bd093[_0x400323(0xab)],_0x400323(0xde),(_0x719812,{key:_0x318e73})=>{const _0x19cbd3=_0x400323;_0x19cbd3(0xa1)===_0x318e73&&function(_0x5957df){const _0x13b338=_0x19cbd3;_0x5957df[_0x13b338(0xc0)][_0x13b338(0x99)][_0x13b338(0xaf)](_0x25beae=>{const _0x4f5863=_0x13b338;for(const _0x129576 of _0x5957df[_0x4f5863(0x94)][_0x4f5863(0xb4)]){if(!_0x129576[_0x4f5863(0xdf)][_0x4f5863(0xb7)](_0x4f5863(0xfa)))continue;const _0x1fa5c7=_0x5957df[_0x4f5863(0xc0)][_0x4f5863(0xf7)][_0x4f5863(0xf0)](_0x129576[_0x4f5863(0xdf)]);if(_0x1fa5c7){for(const _0x140594 of _0x1fa5c7)_0x25beae[_0x4f5863(0xca)](_0x4f5863(0xec),_0x140594);}}});}(_0x10265e);},{'useCapture':!0x0});}[_0x1eae72(0xc9)](){const _0x3f83d5=_0x1eae72,_0xb5f127=this[_0x3f83d5(0xbf)],_0x36cea8=_0xb5f127[_0x3f83d5(0xe2)][_0x3f83d5(0xfb)](_0x3f83d5(0xef));_0x36cea8&&_0xb5f127[_0x3f83d5(0x94)]['on'](_0x3f83d5(0xf8),(_0x27f259,_0x368435)=>{const _0x1e2c78=_0x3f83d5,_0x16ca9b=_0x368435[0x0];if(!_0x16ca9b[_0x1e2c78(0x86)])return;if(_0x1e2c78(0xc3)!=_0x16ca9b[_0x1e2c78(0xa8)]||!_0x16ca9b[_0x1e2c78(0xdf)][_0x1e2c78(0xb7)](_0x1e2c78(0x75)))return;const _0x52627d=_0x16ca9b[_0x1e2c78(0xe0)];_0x36cea8[_0x1e2c78(0xe5)][_0x1e2c78(0xe7)](_0x52627d)&&(_0x16ca9b[_0x1e2c78(0x7f)]=_0x16ca9b[_0x1e2c78(0xba)]?_0xb5f127[_0x1e2c78(0x94)][_0x1e2c78(0xcc)](_0x16ca9b[_0x1e2c78(0xba)][_0x1e2c78(0x82)],_0x16ca9b[_0x1e2c78(0xba)][_0x1e2c78(0xbe)]):null);},{'priority':_0x3f83d5(0xd6)});}[_0x1eae72(0x90)](){const _0x118d2c=_0x1eae72;return this[_0x118d2c(0x98)][_0x118d2c(0x7e)](),super[_0x118d2c(0x90)]();}[_0x1eae72(0xdb)](){const _0x5bff5e=_0x1eae72,_0x3e0d9b=this[_0x5bff5e(0xbf)],_0x3ac2cc=_0x3e0d9b[_0x5bff5e(0x94)][_0x5bff5e(0xab)],_0x4b2b96=_0x3e0d9b[_0x5bff5e(0x83)][_0x5bff5e(0xfb)](_0x210814);_0x3e0d9b[_0x5bff5e(0x94)][_0x5bff5e(0xf6)]({'isUndoable':!0x1},_0x27444c=>{const _0x2ae132=_0x5bff5e,_0x518cc7=_0x2ae132(0xf9)+_0x4b2b96[_0x2ae132(0x8e)],_0x3454d4=_0x2ae132(0xd5)+_0x4b2b96[_0x2ae132(0x8e)],_0x67535c=_0x3e0d9b[_0x2ae132(0x94)][_0x2ae132(0xb4)][_0x2ae132(0xe7)](_0x518cc7);_0x3e0d9b[_0x2ae132(0xc0)][_0x2ae132(0x99)][_0x2ae132(0xf2)]?J(_0x4b2b96[_0x2ae132(0x8e)],_0x3ac2cc[_0x2ae132(0xc8)][_0x2ae132(0xf1)](),_0x3e0d9b[_0x2ae132(0x94)],_0x27444c):_0x67535c&&(_0x27444c[_0x2ae132(0xd2)](_0x518cc7),_0x27444c[_0x2ae132(0xd2)](_0x3454d4));});}}function J(_0x5ea688,_0x36cb79,_0x6e10cb,_0x4291b5){const _0x1a6ab3=_0x1eae72,_0x46fa6d=_0x1a6ab3(0xf9)+_0x5ea688,_0x29a679=_0x1a6ab3(0xd5)+_0x5ea688,_0x45dc5d=_0x36cb79[_0x1a6ab3(0xa5)]();let _0x277a19=_0x36cb79[_0x1a6ab3(0x82)];if(_0x45dc5d&&_0x45dc5d['is'](_0x1a6ab3(0xe6),_0x1a6ab3(0xeb))){const _0x34657d=function(_0x3775c3,_0x3c7f40){const _0x2be8fb=_0x1a6ab3;for(const _0x4704b5 of _0x3775c3[_0x2be8fb(0xe3)]())if(_0x3c7f40[_0x2be8fb(0xae)][_0x2be8fb(0x7a)](_0x4704b5,_0x2be8fb(0xc4)))return _0x4704b5;}(_0x36cb79,_0x6e10cb);_0x34657d&&(_0x277a19=_0x34657d,_0x36cb79=_0x4291b5[_0x1a6ab3(0xcc)](_0x277a19));}const _0x51932a=_0x4291b5[_0x1a6ab3(0xcc)](_0x277a19);_0x6e10cb[_0x1a6ab3(0xb4)][_0x1a6ab3(0xe7)](_0x46fa6d)?(_0x4291b5[_0x1a6ab3(0x9b)](_0x46fa6d,{'range':_0x36cb79}),_0x4291b5[_0x1a6ab3(0x9b)](_0x29a679,{'range':_0x51932a})):(_0x4291b5[_0x1a6ab3(0xed)](_0x46fa6d,{'range':_0x36cb79,'usingOperation':!0x0}),_0x4291b5[_0x1a6ab3(0xed)](_0x29a679,{'range':_0x51932a,'usingOperation':!0x0}));}
|