@ckeditor/ckeditor5-real-time-collaboration 46.1.0-alpha.0 → 46.1.0-alpha.1
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 _0x21cdf9=_0x3b0e;(function(_0x2ac573,_0x4c2b4c){const _0x58d47a=_0x3b0e,_0x155171=_0x2ac573();while(!![]){try{const _0x267a67=parseInt(_0x58d47a(0xbf))/0x1+-parseInt(_0x58d47a(0xd9))/0x2+parseInt(_0x58d47a(0xdf))/0x3+parseInt(_0x58d47a(0xbc))/0x4*(-parseInt(_0x58d47a(0xce))/0x5)+-parseInt(_0x58d47a(0xc8))/0x6*(parseInt(_0x58d47a(0xbe))/0x7)+-parseInt(_0x58d47a(0xca))/0x8+parseInt(_0x58d47a(0xdb))/0x9;if(_0x267a67===_0x4c2b4c)break;else _0x155171['push'](_0x155171['shift']());}catch(_0x40da0b){_0x155171['push'](_0x155171['shift']());}}}(_0x209b,0x42a5c));import{View as _0x3c0f3e}from'ckeditor5/src/ui.js';function _0x209b(){const _0x45b986=['Connected\x20users\x20list','setAttribute','change:hasPopup','aria-expanded','items','createCollection','1037654ySCaUy','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','13377816SEaTOC','ck-presence-list__list','hasPopup','removeAttribute','986511WgZSPM','set','fire','4sjeUbA','contains','203biCPFe','92882poaDit','setTemplate','relatedTarget','render','presencelist:show','focus','listenTo','element','.ck-presence-list__dropdown-list','101328LwzhOu','.ck-balloon-panel_with-arrow','3978960rfFiFD','querySelector','keystrokes','isExpanded','646030jeEAwm','div','presencelist:hide','bindTemplate','list'];_0x209b=function(){return _0x45b986;};return _0x209b();}import{KeystrokeHandler as _0x4f820b}from'ckeditor5/src/utils.js';import{getTranslation as _0x43c6b9}from'../../common-translations.js';function _0x3b0e(_0x2d205e,_0x48125f){const _0x209b71=_0x209b();return _0x3b0e=function(_0x3b0e37,_0x1d3949){_0x3b0e37=_0x3b0e37-0xbc;let _0x1f6a44=_0x209b71[_0x3b0e37];return _0x1f6a44;},_0x3b0e(_0x2d205e,_0x48125f);}export class PresenceInlineListView extends _0x3c0f3e{[_0x21cdf9(0xd7)];[_0x21cdf9(0xcc)];constructor(_0x50c046){const _0x16f99c=_0x21cdf9;super(_0x50c046);const _0x86e410=this[_0x16f99c(0xd1)];this[_0x16f99c(0xd7)]=this[_0x16f99c(0xd8)](),this[_0x16f99c(0xcc)]=new _0x4f820b(),this[_0x16f99c(0xe0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x16f99c(0xc0)]({'tag':_0x16f99c(0xcf),'attributes':{'aria-haspopup':_0x86e410['if'](_0x16f99c(0xdd)),'aria-expanded':_0x86e410['to'](_0x16f99c(0xcd),_0x3efe27=>this[_0x16f99c(0xdd)]&&String(_0x3efe27)),'aria-label':_0x86e410['to'](_0x16f99c(0xdd),_0x3c03c7=>_0x43c6b9(_0x50c046,_0x3c03c7?_0x16f99c(0xda):_0x16f99c(0xd3))),'role':_0x16f99c(0xd2),'tabindex':_0x86e410['to'](_0x16f99c(0xdd),_0x3b30ad=>!!_0x3b30ad&&0x0),'class':['ck',_0x16f99c(0xdc)]},'children':this[_0x16f99c(0xd7)],'on':{'mouseenter':_0x86e410['to'](()=>this[_0x16f99c(0xe1)](_0x16f99c(0xc3))),'mouseleave':_0x86e410['to'](_0x2056f1=>{const _0x14010b=_0x16f99c,_0x1254ac=_0x2056f1,_0x2b8e45=document[_0x14010b(0xcb)](_0x14010b(0xc7)),_0x2f9f46=document[_0x14010b(0xcb)](_0x14010b(0xc9));_0x2b8e45?.[_0x14010b(0xbd)](_0x1254ac[_0x14010b(0xc1)])||_0x2f9f46?.[_0x14010b(0xbd)](_0x1254ac[_0x14010b(0xc1)])||this[_0x14010b(0xe1)](_0x14010b(0xd0));})}}),this['on'](_0x16f99c(0xd5),(_0x47a66c,_0x59f7fc,_0x4f3664)=>{const _0x2bfec1=_0x16f99c;this[_0x2bfec1(0xc6)]&&(_0x4f3664?this[_0x2bfec1(0xc6)][_0x2bfec1(0xd4)](_0x2bfec1(0xd6),String(this[_0x2bfec1(0xcd)])):this[_0x2bfec1(0xc6)][_0x2bfec1(0xde)](_0x2bfec1(0xd6)));});}[_0x21cdf9(0xc4)](){const _0x1b56e7=_0x21cdf9;this[_0x1b56e7(0xc6)][_0x1b56e7(0xc4)]();}[_0x21cdf9(0xc2)](){const _0x43a838=_0x21cdf9;super[_0x43a838(0xc2)](),this[_0x43a838(0xcc)][_0x43a838(0xc5)](this[_0x43a838(0xc6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2deccf=_0x14da;function _0x1703(){const _0x105dba=['27bpaIYA','32666010UIxfRw','counterView','bindTemplate','1110308yRYcvC','ck-presence-list','listenTo','203238yqZMVC','1289278MOLpim','2686824uVdkKg','isCollapsed','inlineListView','set','ck-rounded-corners','1aYYbMJ','25LCvChR','first','tooltipPosition','items','ck-reset','3754618hSsMsf','div','hasPopup','bind','locale','ck-presence-list--collapsed','change','1097760OLgjXa','setTemplate'];_0x1703=function(){return _0x105dba;};return _0x1703();}function _0x14da(_0x338a3d,_0x2e9853){const _0x1703d0=_0x1703();return _0x14da=function(_0x14da8c,_0x1056fa){_0x14da8c=_0x14da8c-0x9d;let _0xc0f205=_0x1703d0[_0x14da8c];return _0xc0f205;},_0x14da(_0x338a3d,_0x2e9853);}(function(_0x4b7e26,_0x50d671){const _0x2e7bda=_0x14da,_0x362b37=_0x4b7e26();while(!![]){try{const _0x9e9114=parseInt(_0x2e7bda(0xb4))/0x1*(-parseInt(_0x2e7bda(0xae))/0x2)+parseInt(_0x2e7bda(0xad))/0x3+-parseInt(_0x2e7bda(0xaa))/0x4*(parseInt(_0x2e7bda(0xb5))/0x5)+parseInt(_0x2e7bda(0xaf))/0x6+-parseInt(_0x2e7bda(0x9d))/0x7+parseInt(_0x2e7bda(0xa4))/0x8*(-parseInt(_0x2e7bda(0xa6))/0x9)+parseInt(_0x2e7bda(0xa7))/0xa;if(_0x9e9114===_0x50d671)break;else _0x362b37['push'](_0x362b37['shift']());}catch(_0x2afc93){_0x362b37['push'](_0x362b37['shift']());}}}(_0x1703,0xc3b39));import{View as _0x56a8cc}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x4601f7}from'./presencecounterview.js';import{PresenceInlineListView as _0x64aee4}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x56a8cc{[_0x2deccf(0xa8)];[_0x2deccf(0xb1)];constructor(_0x5d6fe3,_0x108e29=0x6){const _0x2e11eb=_0x2deccf;super(_0x5d6fe3);const _0x2dc675=this[_0x2e11eb(0xa9)];this[_0x2e11eb(0xb2)](_0x2e11eb(0xb0),!0x0),this[_0x2e11eb(0xa8)]=new _0x4601f7(this[_0x2e11eb(0xa1)],_0x108e29),this[_0x2e11eb(0xb1)]=new _0x64aee4(_0x5d6fe3),this[_0x2e11eb(0xb1)][_0x2e11eb(0xa0)](_0x2e11eb(0x9f))['to'](this,_0x2e11eb(0xb0)),this[_0x2e11eb(0xac)](this[_0x2e11eb(0xb1)][_0x2e11eb(0xb8)],_0x2e11eb(0xa3),()=>{const _0x43eca6=_0x2e11eb;for(const _0x5da002 of this[_0x43eca6(0xb1)][_0x43eca6(0xb8)])_0x5da002[_0x43eca6(0xb7)]='s';this[_0x43eca6(0xb1)][_0x43eca6(0xb8)][_0x43eca6(0xb6)]&&(this[_0x43eca6(0xb1)][_0x43eca6(0xb8)][_0x43eca6(0xb6)][_0x43eca6(0xb7)]='se');}),this[_0x2e11eb(0xa5)]({'tag':_0x2e11eb(0x9e),'attributes':{'class':['ck',_0x2e11eb(0xab),_0x2e11eb(0xb9),_0x2e11eb(0xb3),_0x2dc675['if'](_0x2e11eb(0xb0),_0x2e11eb(0xa2))]},'children':[this[_0x2e11eb(0xb1)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2d04b1=_0x2088;function _0x5743(){var _0x3a6b96=['3592824tklScA','isPremiumPlugin','pluginName','7305516yCIQVc','7482025RquwTM','728gFFimt','isOfficialPlugin','9MwqGjg','406647jSAigO','4QvVzZk','requires','16hmeYZQ','70LGaamk','PresenceList','2123737koynbv','7aeJpTZ','474360wPtjlZ','172510yJuXqt'];_0x5743=function(){return _0x3a6b96;};return _0x5743();}function _0x2088(_0x259dc0,_0x54b2f4){var _0x574335=_0x5743();return _0x2088=function(_0x2088b4,_0x2a3d71){_0x2088b4=_0x2088b4-0x181;var _0x1d9fb4=_0x574335[_0x2088b4];return _0x1d9fb4;},_0x2088(_0x259dc0,_0x54b2f4);}(function(_0x19f4f2,_0x41df0b){var _0x4b9844=_0x2088,_0x449a78=_0x19f4f2();while(!![]){try{var _0x3f5a78=-parseInt(_0x4b9844(0x18f))/0x1*(parseInt(_0x4b9844(0x187))/0x2)+parseInt(_0x4b9844(0x188))/0x3+-parseInt(_0x4b9844(0x191))/0x4*(parseInt(_0x4b9844(0x18c))/0x5)+parseInt(_0x4b9844(0x18b))/0x6*(parseInt(_0x4b9844(0x185))/0x7)+parseInt(_0x4b9844(0x181))/0x8*(-parseInt(_0x4b9844(0x190))/0x9)+parseInt(_0x4b9844(0x182))/0xa*(-parseInt(_0x4b9844(0x184))/0xb)+parseInt(_0x4b9844(0x186))/0xc*(parseInt(_0x4b9844(0x18d))/0xd);if(_0x3f5a78===_0x41df0b)break;else _0x449a78['push'](_0x449a78['shift']());}catch(_0xa155bd){_0x449a78['push'](_0x449a78['shift']());}}}(_0x5743,0xdf3a3));import{ContextPlugin as _0x4be4a7}from'ckeditor5/src/core.js';import{Sessions as _0xff90e1}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x263d70}from'./presencelist/presencelistui.js';export class PresenceList extends _0x4be4a7{static get[_0x2d04b1(0x192)](){return[_0xff90e1,_0x263d70];}static get[_0x2d04b1(0x18a)](){var _0x3cdcaf=_0x2d04b1;return _0x3cdcaf(0x183);}static get[_0x2d04b1(0x18e)](){return!0x0;}static get[_0x2d04b1(0x189)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x284328)());[_0x118b6a(0xde)];static get[_0x118b6a(0xba)](){const _0x484ea3=_0x118b6a;return[_0x39b1c2,_0x484ea3(0xc5),_0x5437b5,_0xb5f930];}static get[_0x118b6a(0xe6)](){const _0x2c99b3=_0x118b6a;return _0x2c99b3(0x9f);}static get[_0x118b6a(0x101)](){return!0x0;}static get[_0x118b6a(0xfe)](){return!0x0;}constructor(_0x369831){const _0x2737c6=_0x118b6a;super(_0x369831),this[_0x2737c6(0xde)]=new Map();}async[_0x118b6a(0xf7)](){const _0x21e164=_0x118b6a,_0x225423=this[_0x21e164(0xd6)],_0xceab5a=_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x21e164(0xc5));if(_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x39b1c2)[_0x21e164(0xe5)](this),_0xceab5a[_0x21e164(0xbc)]={'addCommentThread':async({channelId:_0x4ad3d0,threadId:_0x2ffefd,comments:_0x5ea513,resolvedAt:_0x167990,resolvedBy:_0x21c611,context:_0x189ecb,attributes:_0x149710})=>{const _0x4f29f9=_0x21e164,_0x3559c3=await this[_0x4f29f9(0xd0)](_0x4ad3d0)[_0x4f29f9(0xf5)]({'commentThreadId':_0x2ffefd,'comments':_0x5ea513[_0x4f29f9(0xdc)](_0x4861db=>function(_0x115350,_0x472a2a,_0x2b809e){const _0x2b483f=_0x4f29f9;return{'commentThreadId':_0x2b809e,'commentId':_0x115350[_0x2b483f(0xd1)],'userId':_0x115350[_0x2b483f(0xb2)],'content':_0x115350[_0x2b483f(0xcb)],'documentId':_0x472a2a,'createdAt':_0x115350[_0x2b483f(0xaf)],'attributes':_0x115350[_0x2b483f(0xdd)]||{}};}(_0x4861db,_0x4ad3d0,_0x2ffefd)),'resolvedAt':_0x167990,'resolvedBy':_0x21c611,'context':_0x189ecb,'attributes':_0x149710})[_0x4f29f9(0xd7)](nt);return{'threadId':_0x3559c3[_0x4f29f9(0xb8)],'comments':_0x3559c3[_0x4f29f9(0xbd)]};},'getCommentThread':async({channelId:_0x4e1b1f,threadId:_0xc05a7c})=>{const _0xbad852=_0x21e164,_0x59f3bf=await this[_0xbad852(0xd0)](_0x4e1b1f)[_0xbad852(0xc9)](_0xc05a7c)[_0xbad852(0xd7)](ot)[_0xbad852(0xd7)](nt);return _0x59f3bf?_0x59f3bf[_0xbad852(0xa8)]?null:(await this[_0xbad852(0x102)]([_0x59f3bf]),{'threadId':_0x59f3bf[_0xbad852(0xb8)],'comments':_0x59f3bf[_0xbad852(0xbd)][_0xbad852(0xdc)](st),'context':_0x59f3bf[_0xbad852(0xd6)],'resolvedAt':_0x59f3bf[_0xbad852(0x9d)],'resolvedBy':_0x59f3bf[_0xbad852(0xab)],'attributes':_0x59f3bf[_0xbad852(0xdd)]||{}}):null;},'updateCommentThread':async({channelId:_0x4fafd2,threadId:_0x39c8e5,context:_0x73bf1b,unlinkedAt:_0x419be8,attributes:_0x11e552})=>this[_0x21e164(0xd0)](_0x4fafd2)[_0x21e164(0xe7)]({'commentThreadId':_0x39c8e5,'context':_0x73bf1b,'attributes':_0x11e552,'unlinkedAt':_0x419be8})[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'resolveCommentThread':async({channelId:_0x33a518,threadId:_0x235c71})=>{const _0x303a0c=_0x21e164,_0x60fc8=await this[_0x303a0c(0xd0)](_0x33a518)[_0x303a0c(0xb5)](_0x235c71)[_0x303a0c(0xd7)](ot)[_0x303a0c(0xd7)](nt);return{'threadId':_0x60fc8[_0x303a0c(0xb8)],'resolvedAt':_0x60fc8[_0x303a0c(0x9d)],'resolvedBy':_0x60fc8[_0x303a0c(0xab)]};},'reopenCommentThread':async({channelId:_0x28dfdd,threadId:_0x5921ae})=>this[_0x21e164(0xd0)](_0x28dfdd)[_0x21e164(0xe9)](_0x5921ae)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'removeCommentThread':({channelId:_0x45e312,threadId:_0x10b821})=>this[_0x21e164(0xd0)](_0x45e312)[_0x21e164(0xb3)](_0x10b821)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'addComment':({channelId:_0x4c3f36,threadId:_0x297483,commentId:_0x4468da,content:_0x345819,attributes:_0x1d7f1d})=>this[_0x21e164(0xd0)](_0x4c3f36)[_0x21e164(0xbe)](_0x297483,_0x4468da,_0x345819,_0x1d7f1d)[_0x21e164(0xd7)](nt),'updateComment':({channelId:_0x4fc8fa,threadId:_0x6feb81,commentId:_0x3d74fc,content:_0x419cba,attributes:_0x177c62})=>this[_0x21e164(0xd0)](_0x4fc8fa)[_0x21e164(0xd9)](_0x6feb81,_0x3d74fc,_0x419cba,_0x177c62)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt),'removeComment':({channelId:_0x36b4ff,threadId:_0x6746a3,commentId:_0x360ffd})=>this[_0x21e164(0xd0)](_0x36b4ff)[_0x21e164(0xd3)](_0x6746a3,_0x360ffd)[_0x21e164(0xd7)](ot)[_0x21e164(0xd7)](nt)},_0x225423 instanceof _0x21aa86){const _0x257040=_0x225423[_0x21e164(0xa4)][_0x21e164(0xb4)](_0x21e164(0xd5)),_0xd0a996=_0x225423[_0x21e164(0xfa)][_0x21e164(0xb4)](_0x5437b5);await this[_0x21e164(0xb0)](_0x257040);const _0xdd761=await this[_0x21e164(0xde)][_0x21e164(0xb4)](_0x257040)[_0x21e164(0xad)]();this[_0x21e164(0xdb)](_0xd0a996,_0x21e164(0xf9)+_0x257040,(_0x350fae,{session:_0x511e90})=>{const _0x3db318=_0x21e164;_0x511e90['id']===_0xd0a996[_0x3db318(0xbf)]&&(_0x350fae[_0x3db318(0xe1)](),this[_0x3db318(0xd6)][_0x3db318(0xfa)][_0x3db318(0xb4)](_0x3db318(0xeb))[_0x3db318(0xa7)](_0x511e90[_0x3db318(0xa2)],_0x257040));}),_0xd0a996[_0x21e164(0xe0)](_0x257040,_0xdd761);}}async[_0x118b6a(0xb0)](_0xd0d310){const _0xd6dc54=_0x118b6a;if(this[_0xd6dc54(0xde)][_0xd6dc54(0xb6)](_0xd0d310))throw new _0x406063(_0xd6dc54(0xda),null,{'channelId':_0xd0d310});const _0xfaf1de=this[_0xd6dc54(0xd6)][_0xd6dc54(0xfa)][_0xd6dc54(0xb4)](_0xd6dc54(0xc5)),_0x4aa14c=new s[(_0xd6dc54(0xa0))](_0xd0d310);this[_0xd6dc54(0xde)][_0xd6dc54(0xa5)](_0xd0d310,_0x4aa14c),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xa9),(_0x3b9c34,_0xca5543)=>{const _0x1506df=_0xd6dc54,{commentThreadId:_0x103583,documentId:_0x4f375a,context:_0x1761fa,attributes:_0x1356ea,resolvedAt:_0xc18dd0,resolvedBy:_0x26ec11,comments:_0x12cd22}=_0xca5543;_0xfaf1de[_0x1506df(0xc9)](_0x103583)||_0xfaf1de[_0x1506df(0xf5)]({'threadId':_0x103583,'channelId':_0x4f375a,'comments':_0x12cd22?_0x12cd22[_0x1506df(0xdc)](st):[],'context':_0x1761fa,'attributes':_0x1356ea,'resolvedAt':_0xc18dd0,'resolvedBy':_0x26ec11,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xfd),(_0x13b4e7,{commentThreadId:_0x511ff0,documentId:_0x32359f,context:_0x3ce1d2,unlinkedAt:_0x371934,attributes:_0x3eb570})=>{const _0xa6b6d=_0xd6dc54;_0xfaf1de[_0xa6b6d(0xc9)](_0x511ff0)&&_0xfaf1de[_0xa6b6d(0xe7)]({'threadId':_0x511ff0,'channelId':_0x32359f,'context':_0x3ce1d2,'unlinkedAt':_0x371934,'attributes':_0x3eb570,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xe8),(_0xd4e66c,{commentThreadId:_0x19f56c,resolvedBy:_0x34cd29,resolvedAt:_0x53e85e})=>{const _0x5c58dd=_0xd6dc54,_0x2d2089=_0xfaf1de[_0x5c58dd(0xc9)](_0x19f56c);_0x2d2089&&_0x2d2089[_0x5c58dd(0xc8)]({'resolvedBy':_0x34cd29,'resolvedAt':_0x53e85e,'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xed),(_0x5ef86e,{commentThreadId:_0x5120cf})=>{const _0x19d67c=_0xd6dc54,_0x57b1ca=_0xfaf1de[_0x19d67c(0xc9)](_0x5120cf);_0x57b1ca&&_0x57b1ca[_0x19d67c(0xec)]({'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xac),(_0x2b1b6e,{commentThreadId:_0x5d11b6})=>{const _0x57292f=_0xd6dc54,_0x4029d7=_0xfaf1de[_0x57292f(0xc9)](_0x5d11b6);_0x4029d7&&_0x4029d7[_0x57292f(0xa1)]({'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xd8),(_0x94bf72,_0x525c24)=>{const _0xc5e185=_0xd6dc54,_0x3e7862=_0x525c24[_0xc5e185(0xb8)],_0x196810=_0xfaf1de[_0xc5e185(0xc9)](_0x3e7862);_0x196810&&_0x196810[_0xc5e185(0xbe)]({...st(_0x525c24),'isFromAdapter':!0x0});}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xce),(_0xe0600d,{commentThreadId:_0x474ff7,commentId:_0x746075,content:_0x484d4e,attributes:_0x591d9c})=>{const _0x320fee=_0xd6dc54,_0x5d48a6=_0xfaf1de[_0x320fee(0xc9)](_0x474ff7);if(_0x5d48a6){const _0x42dcbe=_0x5d48a6[_0x320fee(0xd2)](_0x746075);_0x42dcbe&&_0x42dcbe[_0x320fee(0xd4)]({'content':_0x484d4e,'attributes':_0x591d9c,'isFromAdapter':!0x0});}}),this[_0xd6dc54(0xdb)](_0x4aa14c,_0xd6dc54(0xff),(_0x57d01a,{commentThreadId:_0x58f93a,commentId:_0x5c7901})=>{const _0x2d2305=_0xd6dc54,_0x5e6e27=_0xfaf1de[_0x2d2305(0xc9)](_0x58f93a);if(_0x5e6e27){const _0x2fa2ad=_0x5e6e27[_0x2d2305(0xd2)](_0x5c7901);_0x2fa2ad&&_0x2fa2ad[_0x2d2305(0xa1)]({'isFromAdapter':!0x0});}}),await this[_0xd6dc54(0xfb)](_0xd0d310);}[_0x118b6a(0xb9)](){const _0x1f03ea=_0x118b6a;if(this[_0x1f03ea(0xd6)]instanceof _0x21aa86){const _0x9845bb=this[_0x1f03ea(0xd6)][_0x1f03ea(0xa4)][_0x1f03ea(0xb4)](_0x1f03ea(0xd5));this[_0x1f03ea(0xc1)](_0x9845bb);}}[_0x118b6a(0xc1)](_0x3edc3a){const _0x5cf930=_0x118b6a;if(!this[_0x5cf930(0xde)][_0x5cf930(0xb6)](_0x3edc3a))throw new _0x406063(_0x5cf930(0xe4),null,{'channelId':_0x3edc3a});this[_0x5cf930(0xd0)](_0x3edc3a)[_0x5cf930(0xc6)](),this[_0x5cf930(0xde)][_0x5cf930(0x9e)](_0x3edc3a);}async[_0x118b6a(0xef)](){const _0x487bde=_0x118b6a;for(const _0x489826 of this[_0x487bde(0xde)][_0x487bde(0xc4)]())await this[_0x487bde(0xfb)](_0x489826);if(this[_0x487bde(0xd6)]instanceof _0x21aa86){const _0x34b887=this[_0x487bde(0xd6)][_0x487bde(0xa4)][_0x487bde(0xb4)](_0x487bde(0xd5)),_0x140e9a=this[_0x487bde(0xd6)][_0x487bde(0xfa)][_0x487bde(0xb4)](_0x5437b5);_0x140e9a[_0x487bde(0xf2)](_0x34b887);const _0x13efc3=await this[_0x487bde(0xde)][_0x487bde(0xb4)](_0x34b887)[_0x487bde(0xad)]();_0x140e9a[_0x487bde(0xe0)](_0x34b887,_0x13efc3);}}async[_0x118b6a(0xfb)](_0x9b11a0){const _0x4ef017=_0x118b6a,{connection:_0x5bc3be}=this[_0x4ef017(0xd6)][_0x4ef017(0xfa)][_0x4ef017(0xb4)](_0x39b1c2),_0x4921f1=this[_0x4ef017(0xd6)][_0x4ef017(0xfa)][_0x4ef017(0xb4)](_0x4ef017(0xc5)),_0x27b1bf=this[_0x4ef017(0xde)][_0x4ef017(0xb4)](_0x9b11a0),_0x113ce6=await _0x27b1bf[_0x4ef017(0xfc)](_0x5bc3be);await this[_0x4ef017(0x102)](_0x113ce6);const _0x1c3d22=new Set(Array[_0x4ef017(0xdf)](_0x4921f1[_0x4ef017(0xb7)]({'channelId':_0x9b11a0}),_0x5ce72c=>_0x5ce72c['id']));for(const _0x3aa94f of _0x113ce6)_0x3aa94f[_0x4ef017(0xa8)]||_0x1c3d22[_0x4ef017(0x9e)](_0x3aa94f[_0x4ef017(0xb8)]);for(const _0xb234a4 of _0x1c3d22)_0x4921f1[_0x4ef017(0xc9)](_0xb234a4)[_0x4ef017(0xa1)]({'isFromAdapter':!0x0});for(const _0x446869 of _0x113ce6){let _0x2aa376=_0x4921f1[_0x4ef017(0xc9)](_0x446869[_0x4ef017(0xb8)]);const {commentThreadId:_0x34be59,context:_0x1ac732,attributes:_0x1d7535,resolvedBy:_0x523986,resolvedAt:_0x39cd41,unlinkedAt:_0x5bece5,deletedAt:_0x16e0c5}=_0x446869;if(_0x16e0c5)continue;_0x2aa376||(_0x2aa376=_0x4921f1[_0x4ef017(0xf5)]({'channelId':_0x9b11a0,'threadId':_0x34be59,'context':_0x1ac732,'attributes':_0x1d7535||{},'resolvedBy':_0x523986,'resolvedAt':_0x39cd41,'unlinkedAt':_0x5bece5,'isFromAdapter':!0x0}));const _0x5c1314=new Set(Array[_0x4ef017(0xdf)](_0x2aa376[_0x4ef017(0xbd)],_0x311c59=>_0x311c59['id']));for(const _0x1ec717 of _0x446869[_0x4ef017(0xbd)])_0x5c1314[_0x4ef017(0x9e)](_0x1ec717[_0x4ef017(0xd1)]);for(const _0x3e2cb1 of _0x5c1314)_0x2aa376[_0x4ef017(0xd2)](_0x3e2cb1)[_0x4ef017(0xa1)]({'isFromAdapter':!0x0});for(const _0x143a55 of _0x446869[_0x4ef017(0xbd)]){const _0x2334df=_0x2aa376[_0x4ef017(0xd2)](_0x143a55[_0x4ef017(0xd1)]);_0x2334df?_0x2334df[_0x4ef017(0xcb)]!==_0x143a55[_0x4ef017(0xcb)]&&_0x2334df[_0x4ef017(0xd4)]({'content':_0x143a55[_0x4ef017(0xcb)],'isFromAdapter':!0x0}):_0x2aa376[_0x4ef017(0xbe)](Object[_0x4ef017(0xee)](st(_0x143a55),{'isFromAdapter':!0x0}));}}}[_0x118b6a(0xd0)](_0x4e5b8e){const _0x5791cd=_0x118b6a;if(!this[_0x5791cd(0xde)][_0x5791cd(0xb6)](_0x4e5b8e))throw new _0x406063(_0x5791cd(0xae),null,{'channelId':_0x4e5b8e});return this[_0x5791cd(0xde)][_0x5791cd(0xb4)](_0x4e5b8e);}async[_0x118b6a(0x102)](_0xefd83a){const _0x9166f=_0x118b6a,_0x4c21c2=this[_0x9166f(0xd6)][_0x9166f(0xfa)][_0x9166f(0xb4)](_0xb5f930),{connection:_0x563682}=this[_0x9166f(0xd6)][_0x9166f(0xfa)][_0x9166f(0xb4)](_0x39b1c2),_0xd5341=new Set();for(const {resolvedBy:_0x2f5219,comments:_0x42b855}of _0xefd83a){_0x2f5219&&!_0x4c21c2[_0x9166f(0xaa)](_0x2f5219)&&_0xd5341[_0x9166f(0xa3)](_0x2f5219);for(const {userId:_0x4d696f}of _0x42b855)_0x4c21c2[_0x9166f(0xaa)](_0x4d696f)||_0xd5341[_0x9166f(0xa3)](_0x4d696f);}if(0x0===_0xd5341[_0x9166f(0x100)])return;const _0x50dad7=await _0x584258[_0x9166f(0xb1)](_0x563682,Array[_0x9166f(0xdf)](_0xd5341));for(const _0xf4a923 of _0x50dad7)_0x4c21c2[_0x9166f(0xaa)](_0xf4a923['id'])||_0x4c21c2[_0x9166f(0xc0)](_0xf4a923);}}function _0x5d2c(_0xa254ea,_0x290160){const _0x555617=_0x5556();return _0x5d2c=function(_0x5d2cb8,_0x40dd60){_0x5d2cb8=_0x5d2cb8-0x9d;let _0x19899b=_0x555617[_0x5d2cb8];return _0x19899b;},_0x5d2c(_0xa254ea,_0x290160);}export{s as CloudServicesCommentsAdapter};async function ot(_0x46615a){const _0x558890=_0x118b6a;if(_0x558890(0xf0)!==_0x46615a[_0x558890(0xc7)])throw _0x46615a;}function nt(_0x38ca0b){const _0x3a8efe=_0x118b6a;if((_0x66aa15=_0x38ca0b)[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xc3))||_0x66aa15[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xe3))||_0x66aa15[_0x3a8efe(0xcd)][_0x3a8efe(0xc2)](_0x3a8efe(0xe2)))return new Promise(()=>{});var _0x66aa15;throw _0x38ca0b;}function st(_0x2c64bf){const _0x898dbb=_0x118b6a;return{'threadId':_0x2c64bf[_0x898dbb(0xb8)],'commentId':_0x2c64bf[_0x898dbb(0xd1)],'content':_0x2c64bf[_0x898dbb(0xcb)],'createdAt':_0x2c64bf[_0x898dbb(0xaf)],'authorId':_0x2c64bf[_0x898dbb(0xa6)],'attributes':_0x2c64bf[_0x898dbb(0xdd)]||{}};}
|
|
23
|
+
function _0x5276(_0x3c5083,_0x1faf11){const _0x40a306=_0x40a3();return _0x5276=function(_0x527633,_0xca946c){_0x527633=_0x527633-0x106;let _0x1e3982=_0x40a306[_0x527633];return _0x1e3982;},_0x5276(_0x3c5083,_0x1faf11);}const _0x1e0912=_0x5276;(function(_0x296d63,_0x428466){const _0x31bed4=_0x5276,_0x141059=_0x296d63();while(!![]){try{const _0x3ce593=parseInt(_0x31bed4(0x14e))/0x1*(-parseInt(_0x31bed4(0x12c))/0x2)+-parseInt(_0x31bed4(0x150))/0x3+-parseInt(_0x31bed4(0x108))/0x4*(-parseInt(_0x31bed4(0x10e))/0x5)+parseInt(_0x31bed4(0x114))/0x6+parseInt(_0x31bed4(0x110))/0x7+parseInt(_0x31bed4(0x127))/0x8+-parseInt(_0x31bed4(0x13f))/0x9*(parseInt(_0x31bed4(0x12a))/0xa);if(_0x3ce593===_0x428466)break;else _0x141059['push'](_0x141059['shift']());}catch(_0x1ccee1){_0x141059['push'](_0x141059['shift']());}}}(_0x40a3,0x192c0));import{Context as _0x4b9e9,ContextPlugin as _0x183bea}from'ckeditor5/src/core.js';import{CKEditorError as _0x1bbc76}from'ckeditor5/src/utils.js';import{Users as _0x2eb7dd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x10a965,User as _0x224393}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x40a3(){const _0x24b641=['commentThreadRemoved','adapter','30KvdYyB','getComment','2GGLBpK','delete','commentUpdated','createdAt','off','getConnectedSessions','_services','_connectService','reopen','permissions','commentThreadUpdated','getUser','cloud-services-internal-error:\x20Not\x20connected.','commentAdded','register','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','init','addComment','attributes','314586MqWoXk','content','remove','commentThreadAdded','commentId','collaboration.channelId','add','getCommentThread','isOfficialPlugin','code','config','updateCommentThread','plugins','_terminateService','cloudservicescommentsadapter-service-not-exist','78583yThRXO','reopenCommentThread','300759sTeHwj','setPermissions','cloudservicescommentsadapter-disconnect-not-exist','resolveCommentThread','unregister','reconnect','startsWith','sessionAdd:','catch','commentThreadId','commentRemoved','pluginName','_setUpService','updateComment','message','connect','keys','removeComment','deletedAt','get','addToReconnectionStack','listenTo','resolve','assign','destroy','CommentsService','requires','update','userId','cloudservicescommentsadapter-connect-already-connected','310664MLdlSY','addCommentThread','_fetchMissingUsersForThreads','has','CommentsRepository','cloud-services-internal-error:\x20Request\x20timeout.','5zBZJQa','CloudServicesCommentsAdapter','631841gqYrbv','authorId','size','comments','499266yJQMQI','addUser','from','getMany','404','commentThreadReopened','resolvedBy','resolvedAt','Permissions','context','commentThreadResolved','isPremiumPlugin','map','set','_getService','removeCommentThread','disconnect','getCommentThreads','mySessionId','1085296JDVObU'];_0x40a3=function(){return _0x24b641;};return _0x40a3();}import{WebSocketGateway as _0x518ec5}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3fc0ec}from'../realtimecollaborativeediting/sessions.js';class s extends _0x183bea{static [_0x1e0912(0x169)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x10a965)());[_0x1e0912(0x132)];static get[_0x1e0912(0x16a)](){const _0xa75286=_0x1e0912;return[_0x518ec5,_0xa75286(0x10c),_0x3fc0ec,_0x2eb7dd];}static get[_0x1e0912(0x15b)](){const _0x89d248=_0x1e0912;return _0x89d248(0x10f);}static get[_0x1e0912(0x147)](){return!0x0;}static get[_0x1e0912(0x11f)](){return!0x0;}constructor(_0xd5d977){const _0x53111f=_0x1e0912;super(_0xd5d977),this[_0x53111f(0x132)]=new Map();}async[_0x1e0912(0x13c)](){const _0xf589a9=_0x1e0912,_0x4c060b=this[_0xf589a9(0x11d)],_0x4b6ada=_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0xf589a9(0x10c));if(_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0x518ec5)[_0xf589a9(0x164)](this),_0x4b6ada[_0xf589a9(0x129)]={'addCommentThread':async({channelId:_0x41e1e6,threadId:_0x16f2c6,comments:_0x1d4550,resolvedAt:_0x56db34,resolvedBy:_0x37e630,context:_0x232c4d,attributes:_0x3c46a2})=>{const _0x34ecef=_0xf589a9,_0x5f515f=await this[_0x34ecef(0x122)](_0x41e1e6)[_0x34ecef(0x109)]({'commentThreadId':_0x16f2c6,'comments':_0x1d4550[_0x34ecef(0x120)](_0x14a1c5=>function(_0x320257,_0x1a3889,_0x210b3e){const _0x4b45f1=_0x34ecef;return{'commentThreadId':_0x210b3e,'commentId':_0x320257[_0x4b45f1(0x143)],'userId':_0x320257[_0x4b45f1(0x111)],'content':_0x320257[_0x4b45f1(0x140)],'documentId':_0x1a3889,'createdAt':_0x320257[_0x4b45f1(0x12f)],'attributes':_0x320257[_0x4b45f1(0x13e)]||{}};}(_0x14a1c5,_0x41e1e6,_0x16f2c6)),'resolvedAt':_0x56db34,'resolvedBy':_0x37e630,'context':_0x232c4d,'attributes':_0x3c46a2})[_0x34ecef(0x158)](k);return{'threadId':_0x5f515f[_0x34ecef(0x159)],'comments':_0x5f515f[_0x34ecef(0x113)]};},'getCommentThread':async({channelId:_0x3b4ddc,threadId:_0x3a8441})=>{const _0x49cd10=_0xf589a9,_0x14e9ff=await this[_0x49cd10(0x122)](_0x3b4ddc)[_0x49cd10(0x146)](_0x3a8441)[_0x49cd10(0x158)](F)[_0x49cd10(0x158)](k);return _0x14e9ff?_0x14e9ff[_0x49cd10(0x162)]?null:(await this[_0x49cd10(0x10a)]([_0x14e9ff]),{'threadId':_0x14e9ff[_0x49cd10(0x159)],'comments':_0x14e9ff[_0x49cd10(0x113)][_0x49cd10(0x120)](B),'context':_0x14e9ff[_0x49cd10(0x11d)],'resolvedAt':_0x14e9ff[_0x49cd10(0x11b)],'resolvedBy':_0x14e9ff[_0x49cd10(0x11a)],'attributes':_0x14e9ff[_0x49cd10(0x13e)]||{}}):null;},'updateCommentThread':async({channelId:_0x5f2c94,threadId:_0x2b8b15,context:_0x4ca562,unlinkedAt:_0x4a9497,attributes:_0x4693d8})=>this[_0xf589a9(0x122)](_0x5f2c94)[_0xf589a9(0x14a)]({'commentThreadId':_0x2b8b15,'context':_0x4ca562,'attributes':_0x4693d8,'unlinkedAt':_0x4a9497})[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'resolveCommentThread':async({channelId:_0x3858db,threadId:_0x5a34a0})=>{const _0x2898d7=_0xf589a9,_0x44002d=await this[_0x2898d7(0x122)](_0x3858db)[_0x2898d7(0x153)](_0x5a34a0)[_0x2898d7(0x158)](F)[_0x2898d7(0x158)](k);return{'threadId':_0x44002d[_0x2898d7(0x159)],'resolvedAt':_0x44002d[_0x2898d7(0x11b)],'resolvedBy':_0x44002d[_0x2898d7(0x11a)]};},'reopenCommentThread':async({channelId:_0x415439,threadId:_0x43435b})=>this[_0xf589a9(0x122)](_0x415439)[_0xf589a9(0x14f)](_0x43435b)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'removeCommentThread':({channelId:_0x518425,threadId:_0xd9389e})=>this[_0xf589a9(0x122)](_0x518425)[_0xf589a9(0x123)](_0xd9389e)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'addComment':({channelId:_0x46d6f3,threadId:_0x44d4ac,commentId:_0x308152,content:_0x1b1d31,attributes:_0x32c634})=>this[_0xf589a9(0x122)](_0x46d6f3)[_0xf589a9(0x13d)](_0x44d4ac,_0x308152,_0x1b1d31,_0x32c634)[_0xf589a9(0x158)](k),'updateComment':({channelId:_0x4efbc8,threadId:_0x187fde,commentId:_0x355097,content:_0x4245a2,attributes:_0x50f428})=>this[_0xf589a9(0x122)](_0x4efbc8)[_0xf589a9(0x15d)](_0x187fde,_0x355097,_0x4245a2,_0x50f428)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'removeComment':({channelId:_0x2d0361,threadId:_0x11be0c,commentId:_0x43bb66})=>this[_0xf589a9(0x122)](_0x2d0361)[_0xf589a9(0x161)](_0x11be0c,_0x43bb66)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k)},_0x4c060b instanceof _0x4b9e9){const _0x18d3cd=_0x4c060b[_0xf589a9(0x149)][_0xf589a9(0x163)](_0xf589a9(0x144)),_0x228068=_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0x3fc0ec);await this[_0xf589a9(0x15c)](_0x18d3cd);const _0x22b62d=await this[_0xf589a9(0x132)][_0xf589a9(0x163)](_0x18d3cd)[_0xf589a9(0x131)]();this[_0xf589a9(0x165)](_0x228068,_0xf589a9(0x157)+_0x18d3cd,(_0x8cfd7a,{session:_0x673ad1})=>{const _0x3a1fab=_0xf589a9;_0x673ad1['id']===_0x228068[_0x3a1fab(0x126)]&&(_0x8cfd7a[_0x3a1fab(0x130)](),this[_0x3a1fab(0x11d)][_0x3a1fab(0x14b)][_0x3a1fab(0x163)](_0x3a1fab(0x11c))[_0x3a1fab(0x151)](_0x673ad1[_0x3a1fab(0x135)],_0x18d3cd));}),_0x228068[_0xf589a9(0x13a)](_0x18d3cd,_0x22b62d);}}async[_0x1e0912(0x15c)](_0x58b648){const _0x2c52dd=_0x1e0912;if(this[_0x2c52dd(0x132)][_0x2c52dd(0x10b)](_0x58b648))throw new _0x1bbc76(_0x2c52dd(0x107),null,{'channelId':_0x58b648});const _0x456849=this[_0x2c52dd(0x11d)][_0x2c52dd(0x14b)][_0x2c52dd(0x163)](_0x2c52dd(0x10c)),_0x2e9c1b=new s[(_0x2c52dd(0x169))](_0x58b648);this[_0x2c52dd(0x132)][_0x2c52dd(0x121)](_0x58b648,_0x2e9c1b),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x142),(_0x13899c,_0x226738)=>{const _0x442ac4=_0x2c52dd,{commentThreadId:_0x2d3dc3,documentId:_0x10fac8,context:_0x1ce843,attributes:_0x21076d,resolvedAt:_0x2159eb,resolvedBy:_0xb29625,comments:_0x2c63e9}=_0x226738;_0x456849[_0x442ac4(0x146)](_0x2d3dc3)||_0x456849[_0x442ac4(0x109)]({'threadId':_0x2d3dc3,'channelId':_0x10fac8,'comments':_0x2c63e9?_0x2c63e9[_0x442ac4(0x120)](B):[],'context':_0x1ce843,'attributes':_0x21076d,'resolvedAt':_0x2159eb,'resolvedBy':_0xb29625,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x136),(_0x3ead4a,{commentThreadId:_0x1d014a,documentId:_0x50d7f1,context:_0x5f5360,unlinkedAt:_0x45edbb,attributes:_0x367e35})=>{const _0x10de8a=_0x2c52dd;_0x456849[_0x10de8a(0x146)](_0x1d014a)&&_0x456849[_0x10de8a(0x14a)]({'threadId':_0x1d014a,'channelId':_0x50d7f1,'context':_0x5f5360,'unlinkedAt':_0x45edbb,'attributes':_0x367e35,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x11e),(_0x12e9f9,{commentThreadId:_0x3dcfcd,resolvedBy:_0x3df38d,resolvedAt:_0x43d002})=>{const _0x5bc27e=_0x2c52dd,_0x2a3c7b=_0x456849[_0x5bc27e(0x146)](_0x3dcfcd);_0x2a3c7b&&_0x2a3c7b[_0x5bc27e(0x166)]({'resolvedBy':_0x3df38d,'resolvedAt':_0x43d002,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x119),(_0x4458b9,{commentThreadId:_0x57ca91})=>{const _0x2a0898=_0x2c52dd,_0x505da0=_0x456849[_0x2a0898(0x146)](_0x57ca91);_0x505da0&&_0x505da0[_0x2a0898(0x134)]({'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x128),(_0x34e037,{commentThreadId:_0x2ebb35})=>{const _0x16adf0=_0x2c52dd,_0x50eecc=_0x456849[_0x16adf0(0x146)](_0x2ebb35);_0x50eecc&&_0x50eecc[_0x16adf0(0x141)]({'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x139),(_0x25fe1c,_0x39f36b)=>{const _0x233588=_0x2c52dd,_0x1be920=_0x39f36b[_0x233588(0x159)],_0x191347=_0x456849[_0x233588(0x146)](_0x1be920);_0x191347&&_0x191347[_0x233588(0x13d)]({...B(_0x39f36b),'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x12e),(_0x219336,{commentThreadId:_0x20cffa,commentId:_0x190e24,content:_0x2340a4,attributes:_0x53d754})=>{const _0x4df7c4=_0x2c52dd,_0x2fd03e=_0x456849[_0x4df7c4(0x146)](_0x20cffa);if(_0x2fd03e){const _0x9314a2=_0x2fd03e[_0x4df7c4(0x12b)](_0x190e24);_0x9314a2&&_0x9314a2[_0x4df7c4(0x16b)]({'content':_0x2340a4,'attributes':_0x53d754,'isFromAdapter':!0x0});}}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x15a),(_0x5c9f41,{commentThreadId:_0x15d733,commentId:_0x2e424b})=>{const _0x2b3d74=_0x2c52dd,_0x3de68b=_0x456849[_0x2b3d74(0x146)](_0x15d733);if(_0x3de68b){const _0x48543a=_0x3de68b[_0x2b3d74(0x12b)](_0x2e424b);_0x48543a&&_0x48543a[_0x2b3d74(0x141)]({'isFromAdapter':!0x0});}}),await this[_0x2c52dd(0x133)](_0x58b648);}[_0x1e0912(0x168)](){const _0x26de90=_0x1e0912;if(this[_0x26de90(0x11d)]instanceof _0x4b9e9){const _0x374ab0=this[_0x26de90(0x11d)][_0x26de90(0x149)][_0x26de90(0x163)](_0x26de90(0x144));this[_0x26de90(0x14c)](_0x374ab0);}}[_0x1e0912(0x14c)](_0x1ee743){const _0x1e758e=_0x1e0912;if(!this[_0x1e758e(0x132)][_0x1e758e(0x10b)](_0x1ee743))throw new _0x1bbc76(_0x1e758e(0x152),null,{'channelId':_0x1ee743});this[_0x1e758e(0x122)](_0x1ee743)[_0x1e758e(0x124)](),this[_0x1e758e(0x132)][_0x1e758e(0x12d)](_0x1ee743);}async[_0x1e0912(0x155)](){const _0x3f1213=_0x1e0912;for(const _0x5242a9 of this[_0x3f1213(0x132)][_0x3f1213(0x160)]())await this[_0x3f1213(0x133)](_0x5242a9);if(this[_0x3f1213(0x11d)]instanceof _0x4b9e9){const _0x46c3ba=this[_0x3f1213(0x11d)][_0x3f1213(0x149)][_0x3f1213(0x163)](_0x3f1213(0x144)),_0x24655b=this[_0x3f1213(0x11d)][_0x3f1213(0x14b)][_0x3f1213(0x163)](_0x3fc0ec);_0x24655b[_0x3f1213(0x154)](_0x46c3ba);const _0x401381=await this[_0x3f1213(0x132)][_0x3f1213(0x163)](_0x46c3ba)[_0x3f1213(0x131)]();_0x24655b[_0x3f1213(0x13a)](_0x46c3ba,_0x401381);}}async[_0x1e0912(0x133)](_0x4d9f31){const _0x5f2be4=_0x1e0912,{connection:_0x28082e}=this[_0x5f2be4(0x11d)][_0x5f2be4(0x14b)][_0x5f2be4(0x163)](_0x518ec5),_0x1c0f50=this[_0x5f2be4(0x11d)][_0x5f2be4(0x14b)][_0x5f2be4(0x163)](_0x5f2be4(0x10c)),_0x4d2600=this[_0x5f2be4(0x132)][_0x5f2be4(0x163)](_0x4d9f31),_0x16b608=await _0x4d2600[_0x5f2be4(0x15f)](_0x28082e);await this[_0x5f2be4(0x10a)](_0x16b608);const _0x585706=new Set(Array[_0x5f2be4(0x116)](_0x1c0f50[_0x5f2be4(0x125)]({'channelId':_0x4d9f31}),_0x57708f=>_0x57708f['id']));for(const _0x1f2e76 of _0x16b608)_0x1f2e76[_0x5f2be4(0x162)]||_0x585706[_0x5f2be4(0x12d)](_0x1f2e76[_0x5f2be4(0x159)]);for(const _0x5acf6b of _0x585706)_0x1c0f50[_0x5f2be4(0x146)](_0x5acf6b)[_0x5f2be4(0x141)]({'isFromAdapter':!0x0});for(const _0x5233c4 of _0x16b608){let _0x52c978=_0x1c0f50[_0x5f2be4(0x146)](_0x5233c4[_0x5f2be4(0x159)]);const {commentThreadId:_0x5ad864,context:_0x5176a8,attributes:_0x35d663,resolvedBy:_0x501016,resolvedAt:_0x5a94df,unlinkedAt:_0x275c09,deletedAt:_0x1ab6fc}=_0x5233c4;if(_0x1ab6fc)continue;_0x52c978||(_0x52c978=_0x1c0f50[_0x5f2be4(0x109)]({'channelId':_0x4d9f31,'threadId':_0x5ad864,'context':_0x5176a8,'attributes':_0x35d663||{},'resolvedBy':_0x501016,'resolvedAt':_0x5a94df,'unlinkedAt':_0x275c09,'isFromAdapter':!0x0}));const _0x37cb1c=new Set(Array[_0x5f2be4(0x116)](_0x52c978[_0x5f2be4(0x113)],_0x410ae0=>_0x410ae0['id']));for(const _0x2f1e63 of _0x5233c4[_0x5f2be4(0x113)])_0x37cb1c[_0x5f2be4(0x12d)](_0x2f1e63[_0x5f2be4(0x143)]);for(const _0x4d0574 of _0x37cb1c)_0x52c978[_0x5f2be4(0x12b)](_0x4d0574)[_0x5f2be4(0x141)]({'isFromAdapter':!0x0});for(const _0x1fb108 of _0x5233c4[_0x5f2be4(0x113)]){const _0x11372a=_0x52c978[_0x5f2be4(0x12b)](_0x1fb108[_0x5f2be4(0x143)]);_0x11372a?_0x11372a[_0x5f2be4(0x140)]!==_0x1fb108[_0x5f2be4(0x140)]&&_0x11372a[_0x5f2be4(0x16b)]({'content':_0x1fb108[_0x5f2be4(0x140)],'isFromAdapter':!0x0}):_0x52c978[_0x5f2be4(0x13d)](Object[_0x5f2be4(0x167)](B(_0x1fb108),{'isFromAdapter':!0x0}));}}}[_0x1e0912(0x122)](_0x54049e){const _0x1a1dd9=_0x1e0912;if(!this[_0x1a1dd9(0x132)][_0x1a1dd9(0x10b)](_0x54049e))throw new _0x1bbc76(_0x1a1dd9(0x14d),null,{'channelId':_0x54049e});return this[_0x1a1dd9(0x132)][_0x1a1dd9(0x163)](_0x54049e);}async[_0x1e0912(0x10a)](_0x17f02a){const _0x3c0f09=_0x1e0912,_0x1ca585=this[_0x3c0f09(0x11d)][_0x3c0f09(0x14b)][_0x3c0f09(0x163)](_0x2eb7dd),{connection:_0x17c712}=this[_0x3c0f09(0x11d)][_0x3c0f09(0x14b)][_0x3c0f09(0x163)](_0x518ec5),_0x2c77a7=new Set();for(const {resolvedBy:_0x2ffc43,comments:_0xb75b28}of _0x17f02a){_0x2ffc43&&!_0x1ca585[_0x3c0f09(0x137)](_0x2ffc43)&&_0x2c77a7[_0x3c0f09(0x145)](_0x2ffc43);for(const {userId:_0x25471b}of _0xb75b28)_0x1ca585[_0x3c0f09(0x137)](_0x25471b)||_0x2c77a7[_0x3c0f09(0x145)](_0x25471b);}if(0x0===_0x2c77a7[_0x3c0f09(0x112)])return;const _0x13928b=await _0x224393[_0x3c0f09(0x117)](_0x17c712,Array[_0x3c0f09(0x116)](_0x2c77a7));for(const _0x1f9e39 of _0x13928b)_0x1ca585[_0x3c0f09(0x137)](_0x1f9e39['id'])||_0x1ca585[_0x3c0f09(0x115)](_0x1f9e39);}}export{s as CloudServicesCommentsAdapter};async function F(_0x34fe5a){const _0x5f3b73=_0x1e0912;if(_0x5f3b73(0x118)!==_0x34fe5a[_0x5f3b73(0x148)])throw _0x34fe5a;}function k(_0x1b2354){const _0x3dfe1f=_0x1e0912;if((_0x3cffbe=_0x1b2354)[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x13b))||_0x3cffbe[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x138))||_0x3cffbe[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x10d)))return new Promise(()=>{});var _0x3cffbe;throw _0x1b2354;}function B(_0x273970){const _0x21dfcd=_0x1e0912;return{'threadId':_0x273970[_0x21dfcd(0x159)],'commentId':_0x273970[_0x21dfcd(0x143)],'content':_0x273970[_0x21dfcd(0x140)],'createdAt':_0x273970[_0x21dfcd(0x12f)],'authorId':_0x273970[_0x21dfcd(0x106)],'attributes':_0x273970[_0x21dfcd(0x13e)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x357f2c=_0x5288;(function(_0x3acf49,_0xe2d09d){const _0x6fdf0e=_0x5288,_0x38bd81=_0x3acf49();while(!![]){try{const _0x28f808=-parseInt(_0x6fdf0e(0x118))/0x1*(parseInt(_0x6fdf0e(0x111))/0x2)+-parseInt(_0x6fdf0e(0x10b))/0x3*(-parseInt(_0x6fdf0e(0x119))/0x4)+parseInt(_0x6fdf0e(0x108))/0x5+-parseInt(_0x6fdf0e(0xfa))/0x6+-parseInt(_0x6fdf0e(0x106))/0x7+-parseInt(_0x6fdf0e(0xff))/0x8+-parseInt(_0x6fdf0e(0x10d))/0x9*(-parseInt(_0x6fdf0e(0x115))/0xa);if(_0x28f808===_0xe2d09d)break;else _0x38bd81['push'](_0x38bd81['shift']());}catch(_0x5319e3){_0x38bd81['push'](_0x38bd81['shift']());}}}(_0x4a89,0x31b84));function _0x4a89(){const _0x403d75=['621621NzsBou','change:state','connected','CommentsRepository','372EUcGEn','switchReadOnly','destroy','pluginName','20lcDKkv','collaboration.channelId','Comments','643NCBimx','28060QnRFSd','listenTo','isOfficialPlugin','_setUpService','782352HBikjR','isPremiumPlugin','requires','isThreadsLoadingPaused','editor','321856xnQDjo','_terminateService','plugins','config','data','init','CommentsEditing','240450KCiPvX','ready','336980fPvdZd','once','get','138BuYuxC','RealTimeCollaborativeComments'];_0x4a89=function(){return _0x403d75;};return _0x4a89();}import{Plugin as _0x3f5400}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x278a4c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5288(_0xc5b698,_0x24deb1){const _0x4a8987=_0x4a89();return _0x5288=function(_0x528899,_0x39ebcd){_0x528899=_0x528899-0xf9;let _0x2b398b=_0x4a8987[_0x528899];return _0x2b398b;},_0x5288(_0xc5b698,_0x24deb1);}import{RealTimeCollaborativeEditing as _0x3192d3}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1a700b}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x3f5400{static get[_0x357f2c(0xfc)](){const _0x52fad5=_0x357f2c;return[_0x52fad5(0x117),_0x278a4c,_0x3192d3,_0x1a700b];}static get[_0x357f2c(0x114)](){const _0x4fb75c=_0x357f2c;return _0x4fb75c(0x10c);}static get[_0x357f2c(0x11b)](){return!0x0;}static get[_0x357f2c(0xfb)](){return!0x0;}[_0x357f2c(0x104)](){const _0x4021f1=_0x357f2c,_0xa6dfe6=this[_0x4021f1(0xfe)][_0x4021f1(0x101)][_0x4021f1(0x10a)](_0x1a700b),_0x59f3ff=this[_0x4021f1(0xfe)][_0x4021f1(0x101)][_0x4021f1(0x10a)](_0x4021f1(0x105)),_0x554292=this[_0x4021f1(0xfe)][_0x4021f1(0x101)][_0x4021f1(0x10a)](_0x278a4c);return this[_0x4021f1(0xfe)][_0x4021f1(0x103)][_0x4021f1(0x109)](_0x4021f1(0x107),()=>{const _0x537088=_0x4021f1;this[_0x537088(0x11a)](_0xa6dfe6,_0x537088(0x10e),(_0x3dba06,_0x969f80,_0x542189)=>{const _0x1492c3=_0x537088;_0x59f3ff[_0x1492c3(0xfd)]=_0x1492c3(0x10f)!==_0x542189;});}),this[_0x4021f1(0x11a)](_0xa6dfe6,_0x4021f1(0x10e),(_0x11ac8c,_0x30476f,_0x2af57d)=>{const _0x277ad4=_0x4021f1;this[_0x277ad4(0xfe)][_0x277ad4(0x101)][_0x277ad4(0x10a)](_0x277ad4(0x110))[_0x277ad4(0x112)](_0x277ad4(0x10f)!==_0x2af57d);}),_0x554292[_0x4021f1(0xf9)](this[_0x4021f1(0xfe)][_0x4021f1(0x102)][_0x4021f1(0x10a)](_0x4021f1(0x116)));}[_0x357f2c(0x113)](){const _0x6e69e=_0x357f2c;this[_0x6e69e(0xfe)][_0x6e69e(0x101)][_0x6e69e(0x10a)](_0x278a4c)[_0x6e69e(0x100)](this[_0x6e69e(0xfe)][_0x6e69e(0x102)][_0x6e69e(0x10a)](_0x6e69e(0x116))),super[_0x6e69e(0x113)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x223415)());[_0x47e6c8(0x219)];[_0x47e6c8(0x239)];[_0x47e6c8(0x1d6)];[_0x47e6c8(0x264)];[_0x47e6c8(0x231)];[_0x47e6c8(0x237)];[_0x47e6c8(0x1b1)];[_0x47e6c8(0x1a9)];[_0x47e6c8(0x1b4)];[_0x47e6c8(0x235)];[_0x47e6c8(0x1ad)];[_0x47e6c8(0x1dc)];[_0x47e6c8(0x29b)];[_0x47e6c8(0x1b6)];[_0x47e6c8(0x1ca)];[_0x47e6c8(0x287)];[_0x47e6c8(0x1f6)];[_0x47e6c8(0x233)];static get[_0x47e6c8(0x19e)](){return[_0x31a860,_0x422087,_0x122314,_0xc6be42,_0x47d84a,_0x45941e];}static get[_0x47e6c8(0x255)](){const _0xd8cb96=_0x47e6c8;return _0xd8cb96(0x216);}static get[_0x47e6c8(0x1c3)](){return!0x0;}static get[_0x47e6c8(0x25e)](){return!0x0;}get[_0x47e6c8(0x1d5)](){const _0x1a08bd=_0x47e6c8;return this[_0x1a08bd(0x28c)]+this[_0x1a08bd(0x219)];}get[_0x47e6c8(0x28c)](){const _0x33bf07=_0x47e6c8;return this[_0x33bf07(0x1d6)][_0x33bf07(0x1c0)]-this[_0x33bf07(0x219)];}get[_0x47e6c8(0x280)](){const _0x366d7e=_0x47e6c8,_0x5de93e=this[_0x366d7e(0x1d6)][_0x366d7e(0x29a)]();for(let _0x2e6e33=_0x5de93e[_0x366d7e(0x222)]-0x1;_0x2e6e33>=0x0;_0x2e6e33--){const _0x1a1a6c=_0x5de93e[_0x2e6e33];if(!this[_0x366d7e(0x1f6)][_0x366d7e(0x22b)](_0x1a1a6c))return _0x1a1a6c[_0x366d7e(0x1dd)]+0x1-this[_0x366d7e(0x219)];}return 0x0;}constructor(_0x2ea710){const _0x5f1919=_0x47e6c8;if(super(_0x2ea710),this[_0x5f1919(0x219)]=0x0,this[_0x5f1919(0x239)]=null,this[_0x5f1919(0x1d6)]=new _0x38f6b4(),this[_0x5f1919(0x21d)][_0x5f1919(0x27e)][_0x5f1919(0x279)](_0x5f1919(0x1e3),{}),this[_0x5f1919(0x264)]=this[_0x5f1919(0x21d)][_0x5f1919(0x27e)][_0x5f1919(0x234)](_0x5f1919(0x1f4)),!this[_0x5f1919(0x264)])throw new _0x550911(_0x5f1919(0x267),this);const _0x32cd62=_0x2ea710[_0x5f1919(0x27e)][_0x5f1919(0x234)](_0x5f1919(0x224))||_0x1de69a;this[_0x5f1919(0x231)]=new l[(_0x5f1919(0x1d4))](_0x32cd62,this[_0x5f1919(0x264)]),this[_0x5f1919(0x237)]=this[_0x5f1919(0x21d)][_0x5f1919(0x1f3)][_0x5f1919(0x293)],this[_0x5f1919(0x1b1)]=new _0x354a37(),this[_0x5f1919(0x1a9)]=[],this[_0x5f1919(0x1b4)]=new WeakSet(),this[_0x5f1919(0x235)]=new Set(),this[_0x5f1919(0x286)](_0x5f1919(0x1d9),!0x1),this[_0x5f1919(0x286)](_0x5f1919(0x238),!0x1),this[_0x5f1919(0x1ad)]=null,this[_0x5f1919(0x1dc)]=!0x1,this[_0x5f1919(0x29b)]=null,this[_0x5f1919(0x1b6)]=0x12c,this[_0x5f1919(0x1ca)]=this[_0x5f1919(0x1b6)],this[_0x5f1919(0x287)]=null,this[_0x5f1919(0x1f6)]=new WeakSet(),this[_0x5f1919(0x233)]=new K(this[_0x5f1919(0x1f6)]);}[_0x47e6c8(0x283)](){const _0x22bc88=_0x47e6c8,_0x231f35=this[_0x22bc88(0x21d)],_0x500b95=_0x231f35[_0x22bc88(0x1c5)][_0x22bc88(0x234)](_0x47d84a),_0x122e49=_0x231f35[_0x22bc88(0x1c5)][_0x22bc88(0x234)](_0x31a860);this[_0x22bc88(0x23c)](_0x500b95,_0x22bc88(0x1e6),(_0x30c5c9,_0x5f3fef)=>{const _0xf3a522=_0x22bc88,_0xeb1b2d=_0x5f3fef[0x0];_0xeb1b2d[_0xf3a522(0x1b0)]&&(_0x30c5c9[_0xf3a522(0x241)]=_0x500b95[_0xf3a522(0x26c)](_0xeb1b2d[_0xf3a522(0x1b0)]),_0x30c5c9[_0xf3a522(0x1f8)]()),null===_0xeb1b2d[_0xf3a522(0x1b0)]&&(_0x30c5c9[_0xf3a522(0x241)]=null,_0x30c5c9[_0xf3a522(0x1f8)]());},{'priority':_0x22bc88(0x297)}),this[_0x22bc88(0x23c)](_0x231f35[_0x22bc88(0x1f3)][_0x22bc88(0x293)][_0x22bc88(0x274)],_0x22bc88(0x1b9),(_0x356ea1,_0x2229bb)=>{const _0x37848b=_0x22bc88;_0x2229bb[_0x37848b(0x232)]&&this[_0x37848b(0x28a)]();}),this[_0x22bc88(0x23c)](_0x231f35[_0x22bc88(0x254)][_0x22bc88(0x26e)],_0x22bc88(0x220),()=>{const _0x16b32d=_0x22bc88;this[_0x16b32d(0x28a)]();}),this[_0x22bc88(0x259)](),_0x231f35[_0x22bc88(0x1f3)]['on'](_0x22bc88(0x294),(_0x424bb1,_0x3fa683)=>{const _0xfa65ac=_0x22bc88,_0x5238d1=_0x3fa683[0x0];_0x5238d1[_0xfa65ac(0x291)]&&(this[_0xfa65ac(0x214)](_0x5238d1),this[_0xfa65ac(0x223)]()&&this[_0xfa65ac(0x1ef)]());}),this[_0x22bc88(0x25a)](),this[_0x22bc88(0x1af)](_0x22bc88(0x20c))['to'](_0x122e49,_0x22bc88(0x212),this,_0x22bc88(0x238),(_0x3a158a,_0x368c99)=>_0x22bc88(0x26d)===_0x3a158a&&!_0x368c99),this['on'](_0x22bc88(0x263),()=>{const _0x2eb5e8=_0x22bc88;this[_0x2eb5e8(0x20c)]?_0x231f35[_0x2eb5e8(0x1d8)](_0x2eb5e8(0x27f)):_0x231f35[_0x2eb5e8(0x22e)](_0x2eb5e8(0x27f));}),this[_0x22bc88(0x20c)]?_0x231f35[_0x22bc88(0x1d8)](_0x22bc88(0x27f)):_0x231f35[_0x22bc88(0x22e)](_0x22bc88(0x27f)),this[_0x22bc88(0x286)](_0x22bc88(0x20a),!0x1);}async[_0x47e6c8(0x1fb)](){const _0x132c0a=_0x47e6c8,_0x14b73a=this[_0x132c0a(0x21d)][_0x132c0a(0x1c5)][_0x132c0a(0x234)](_0x422087),_0x1311cb=this[_0x132c0a(0x21d)][_0x132c0a(0x1c5)][_0x132c0a(0x234)](_0x31a860);try{this[_0x132c0a(0x1d9)]=!0x0,_0x14b73a[_0x132c0a(0x285)](this[_0x132c0a(0x264)]);const _0x189c2f=await this[_0x132c0a(0x231)][_0x132c0a(0x1fb)](_0x1311cb[_0x132c0a(0x227)],this[_0x132c0a(0x280)]);await this[_0x132c0a(0x1c1)](_0x189c2f)&&(this[_0x132c0a(0x1d9)]=!0x1,this[_0x132c0a(0x27d)]());const _0x1f40fb=await this[_0x132c0a(0x231)][_0x132c0a(0x1cd)]();_0x14b73a[_0x132c0a(0x1a3)](this[_0x132c0a(0x264)],_0x1f40fb),this[_0x132c0a(0x1fc)](),this[_0x132c0a(0x20a)]=!0x0;}catch(_0x42e1e9){if(function(_0x48a567){const _0x5c0308=_0x132c0a;return _0x5c0308(0x1b2)===_0x48a567[_0x5c0308(0x298)];}(_0x42e1e9)&&this[_0x132c0a(0x239)])await this[_0x132c0a(0x276)]();else{if(function(_0x590d35){const _0x90d9a0=_0x132c0a;return _0x90d9a0(0x1d7)===_0x590d35[_0x90d9a0(0x298)];}(_0x42e1e9)){const _0x2635e4=_0x249469(this[_0x132c0a(0x21d)][_0x132c0a(0x289)],_0x132c0a(0x1da));this[_0x132c0a(0x1ce)](_0x2635e4);}else{if(!(_0x42e1e9 instanceof G))throw _0x42e1e9;this[_0x132c0a(0x1ce)]();}}}}[_0x47e6c8(0x29d)](){const _0x2b5d53=_0x47e6c8,_0x51be8d=this[_0x2b5d53(0x21d)][_0x2b5d53(0x1c5)][_0x2b5d53(0x234)](_0x31a860),_0x1b1149=this[_0x2b5d53(0x21d)][_0x2b5d53(0x1c5)][_0x2b5d53(0x234)](_0x422087);this[_0x2b5d53(0x21d)][_0x2b5d53(0x22e)](_0x2b5d53(0x204)),_0x1b1149[_0x2b5d53(0x269)][_0x2b5d53(0x22b)](this[_0x2b5d53(0x264)])&&_0x1b1149[_0x2b5d53(0x285)](this[_0x2b5d53(0x264)]),_0x51be8d[_0x2b5d53(0x1c4)](this),this[_0x2b5d53(0x19c)](),super[_0x2b5d53(0x29d)]();}async[_0x47e6c8(0x1c1)](_0x12d640){const _0x12a87b=_0x47e6c8;if(this[_0x12a87b(0x239)]!==_0x12d640[_0x12a87b(0x239)]&&this[_0x12a87b(0x287)]!==_0x12d640[_0x12a87b(0x1e1)])throw new G();return this[_0x12a87b(0x239)]=_0x12d640[_0x12a87b(0x239)],this[_0x12a87b(0x1ea)]([],{..._0x12d640,'wereChangesApplied':!0x1,'data':_0x12d640[_0x12a87b(0x28d)]},_0x12a87b(0x1fb));}async[_0x47e6c8(0x210)](_0x4e9bcb,_0x7bfc47=!0x1){const _0x1ecc99=_0x47e6c8,{connection:_0x5af7aa}=this[_0x1ecc99(0x21d)][_0x1ecc99(0x1c5)][_0x1ecc99(0x234)](_0x31a860);l[_0x1ecc99(0x1d4)][_0x1ecc99(0x1cd)](_0x5af7aa,this[_0x1ecc99(0x264)])[_0x1ecc99(0x21f)](_0x6ca1ae=>this[_0x1ecc99(0x1ff)](_0x6ca1ae))[_0x1ecc99(0x26f)](_0x3ec605=>{const _0x4cc704=_0x1ecc99;this[_0x4cc704(0x25b)](_0x4cc704(0x24a),_0x3ec605);}),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x1d1),this[_0x1ecc99(0x28b)][_0x1ecc99(0x1af)](this)),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x1e5),(_0x110328,_0x4399c3)=>{const _0x3fe57b=_0x1ecc99;this[_0x3fe57b(0x25b)](_0x3fe57b(0x229),_0x4399c3);}),this[_0x1ecc99(0x23c)](this[_0x1ecc99(0x231)],_0x1ecc99(0x243),()=>{const _0x1b8d05=_0x1ecc99;this[_0x1b8d05(0x20a)]=!0x1;});const _0x46c652=this[_0x1ecc99(0x233)][_0x1ecc99(0x248)](_0x4e9bcb);this[_0x1ecc99(0x1d9)]=!0x0;const _0x360039=await this[_0x1ecc99(0x231)][_0x1ecc99(0x25f)](_0x5af7aa,this[_0x1ecc99(0x1c8)](_0x4e9bcb),_0x46c652);if(this[_0x1ecc99(0x239)]=_0x360039[_0x1ecc99(0x239)],_0x7bfc47){if(!_0x360039[_0x1ecc99(0x282)])return void this[_0x1ecc99(0x1ce)]();this[_0x1ecc99(0x1d9)]=!0x1,this[_0x1ecc99(0x27d)](),this[_0x1ecc99(0x1d6)][_0x1ecc99(0x273)](),this[_0x1ecc99(0x219)]=_0x360039[_0x1ecc99(0x27a)],this[_0x1ecc99(0x1d6)][_0x1ecc99(0x1c0)]=this[_0x1ecc99(0x219)],await this[_0x1ecc99(0x1ea)](_0x4e9bcb,_0x360039,_0x1ecc99(0x1a7));}else await this[_0x1ecc99(0x23a)](_0x360039,_0x4e9bcb);this[_0x1ecc99(0x1fc)](),this[_0x1ecc99(0x20a)]=!0x0;}[_0x47e6c8(0x1fc)](){const _0x2406a5=_0x47e6c8,_0x24d528=this[_0x2406a5(0x21d)][_0x2406a5(0x1c5)][_0x2406a5(0x234)](_0x422087),_0x36c8ed=this[_0x2406a5(0x21d)][_0x2406a5(0x1c5)][_0x2406a5(0x234)](_0x122314),_0x5c0526=_0x24d528[_0x2406a5(0x269)][_0x2406a5(0x234)](this[_0x2406a5(0x264)]);_0x5c0526&&_0x5c0526[_0x2406a5(0x222)]>0x1?_0x36c8ed[_0x2406a5(0x1c7)]():this[_0x2406a5(0x23c)](_0x24d528,_0x2406a5(0x261)+this[_0x2406a5(0x264)],()=>{const _0x4e7aa3=_0x2406a5;0x2===_0x24d528[_0x4e7aa3(0x269)][_0x4e7aa3(0x234)](this[_0x4e7aa3(0x264)])[_0x4e7aa3(0x222)]&&_0x36c8ed[_0x4e7aa3(0x1c7)]();});}async[_0x47e6c8(0x28b)](_0x460964,_0x2d2d7f,_0x2a7db7,_0x5874b4){const _0x5250a9=_0x47e6c8;if(!this[_0x5250a9(0x1d9)]&&this[_0x5250a9(0x237)][_0x5250a9(0x1c0)]==_0x2d2d7f){const _0x1ece73=this[_0x5250a9(0x262)](_0x2a7db7,_0x5874b4);await this[_0x5250a9(0x24c)](_0x1ece73),this[_0x5250a9(0x1ec)](_0x1ece73,_0x2d2d7f,_0x2a7db7[_0x5250a9(0x1e1)])||this[_0x5250a9(0x25b)](_0x5250a9(0x25c));}}async[_0x47e6c8(0x276)](){const _0x52fa01=_0x47e6c8;this[_0x52fa01(0x19c)]();const {locale:_0x56fa4b}=this[_0x52fa01(0x21d)];let _0x249a56;try{_0x249a56=await this[_0x52fa01(0x231)][_0x52fa01(0x1b8)]();}catch{const _0x285668=_0x249469(_0x56fa4b,_0x52fa01(0x242));return void this[_0x52fa01(0x1ce)](_0x285668);}const _0x51f39d=_0x249a56[_0x52fa01(0x1f7)]||_0x249a56[_0x52fa01(0x23f)];if(this[_0x52fa01(0x287)]!==_0x51f39d[_0x52fa01(0x1e1)]){const _0x207028=_0x249469(_0x56fa4b,_0x52fa01(0x23d));return void this[_0x52fa01(0x1ce)](_0x207028);}await this[_0x52fa01(0x210)](this[_0x52fa01(0x21d)][_0x52fa01(0x1f3)][_0x52fa01(0x293)][_0x52fa01(0x249)][_0x52fa01(0x29a)](),!0x0);}[_0x47e6c8(0x19c)](){const _0x5b27f0=_0x47e6c8;this[_0x5b27f0(0x231)][_0x5b27f0(0x1bd)](),this[_0x5b27f0(0x1a9)]=[],clearTimeout(this[_0x5b27f0(0x29b)]),this[_0x5b27f0(0x19b)](this[_0x5b27f0(0x231)]);}[_0x47e6c8(0x1ff)](_0x8fb870){const _0xb43ca4=_0x47e6c8,_0x46dff4=this[_0xb43ca4(0x21d)][_0xb43ca4(0x1c5)][_0xb43ca4(0x234)](_0x422087);this[_0xb43ca4(0x23c)](_0x46dff4,_0xb43ca4(0x261)+this[_0xb43ca4(0x264)],(_0x5b1428,{session:_0x2eedb4})=>{const _0x283336=_0xb43ca4;if(_0x2eedb4['id']===_0x46dff4[_0x283336(0x28e)]){_0x5b1428[_0x283336(0x1a8)]();const _0x220217=this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x22b)](_0x283336(0x250))&&this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x234)](_0x283336(0x250));let _0x3a0c7e=_0x2eedb4[_0x283336(0x20d)];_0x220217&&_0x220217[_0x283336(0x203)]&&(_0x3a0c7e=_0x3a0c7e[_0x283336(0x1cc)](_0x658f4d=>_0x283336(0x1e9)!==_0x658f4d)),this[_0x283336(0x21d)][_0x283336(0x1c5)][_0x283336(0x234)](_0x283336(0x1d0))[_0x283336(0x1e4)](_0x3a0c7e,this[_0x283336(0x264)]);}}),_0x46dff4[_0xb43ca4(0x1a3)](this[_0xb43ca4(0x264)],_0x8fb870);}[_0x47e6c8(0x259)](){const _0x4157e2=_0x47e6c8,_0x17f6ba=this[_0x4157e2(0x21d)][_0x4157e2(0x28d)][_0x4157e2(0x286)];this[_0x4157e2(0x21d)][_0x4157e2(0x28d)][_0x4157e2(0x286)]=(..._0x5cc7a9)=>{const _0x3a55d5=_0x4157e2;if(!_0x5cc7a9[_0x5cc7a9[_0x3a55d5(0x222)]-0x1][_0x3a55d5(0x25d)])throw new _0x550911(_0x3a55d5(0x1f0),this);_0x17f6ba[_0x3a55d5(0x1a4)](this[_0x3a55d5(0x21d)][_0x3a55d5(0x28d)],_0x5cc7a9);};}[_0x47e6c8(0x25a)](){const _0x113bf0=_0x47e6c8;this[_0x113bf0(0x21d)][_0x113bf0(0x28d)]['on'](_0x113bf0(0x283),(_0x368e88,[_0x329995])=>{const _0x16b4dc=_0x113bf0;if(this[_0x16b4dc(0x237)][_0x16b4dc(0x1c0)])throw new _0x550911(_0x16b4dc(0x1df),this);_0x368e88[_0x16b4dc(0x1f8)](),this[_0x16b4dc(0x200)]();const _0x31c292=this[_0x16b4dc(0x21d)][_0x16b4dc(0x27e)][_0x16b4dc(0x234)](_0x16b4dc(0x1d2)),_0x1f6225=this[_0x16b4dc(0x221)](_0x329995,_0x31c292);0x0==_0x1f6225[_0x16b4dc(0x222)]&&_0x1f6225[_0x16b4dc(0x240)](new _0x6e3d71(0x0)),_0x368e88[_0x16b4dc(0x241)]=this[_0x16b4dc(0x210)](_0x1f6225)[_0x16b4dc(0x21f)](()=>{const _0x21ae43=_0x16b4dc;this[_0x21ae43(0x21d)][_0x21ae43(0x1c5)][_0x21ae43(0x234)](_0x31a860)[_0x21ae43(0x27b)](this),this[_0x21ae43(0x21d)][_0x21ae43(0x28d)][_0x21ae43(0x1f2)](_0x21ae43(0x21c));})[_0x16b4dc(0x26f)](_0x32ff8a=>this[_0x16b4dc(0x25b)](_0x16b4dc(0x1e7),_0x32ff8a))[_0x16b4dc(0x21a)](()=>this[_0x16b4dc(0x27d)]());},{'priority':_0x113bf0(0x297)}),this[_0x113bf0(0x21d)]['on'](_0x113bf0(0x1c6),async(_0x16ae9c,[_0xae5a02,_0x226a45])=>{const _0x4b0e2a=_0x113bf0;_0x16ae9c[_0x4b0e2a(0x1f8)]();const _0x1106c1=this[_0x4b0e2a(0x21d)][_0x4b0e2a(0x1f3)][_0x4b0e2a(0x293)][_0x4b0e2a(0x28f)](_0xae5a02);if(!this[_0x4b0e2a(0x235)][_0x4b0e2a(0x22b)](_0xae5a02)){const _0x37e275=_0x226a45&&_0x226a45[_0x4b0e2a(0x28d)]?_0x226a45[_0x4b0e2a(0x28d)]:'',_0x41fe5c=_0x226a45&&_0x226a45[_0x4b0e2a(0x19a)]?_0x226a45[_0x4b0e2a(0x19a)]:{};await this[_0x4b0e2a(0x24b)](_0xae5a02,_0x37e275,_0x41fe5c);}this[_0x4b0e2a(0x21d)][_0x4b0e2a(0x1f3)][_0x4b0e2a(0x288)]({'isUndoable':!0x1},()=>{const _0x481129=_0x4b0e2a;_0x1106c1[_0x481129(0x290)]=!0x0,this[_0x481129(0x21d)][_0x481129(0x1f3)][_0x481129(0x293)][_0x481129(0x208)][_0x481129(0x20b)](_0x1106c1);});},{'priority':_0x113bf0(0x297)});}async[_0x47e6c8(0x24c)](_0x25bb63){const _0x17c06f=_0x47e6c8,_0x49341c=this[_0x17c06f(0x21d)][_0x17c06f(0x1c5)][_0x17c06f(0x234)](_0x47d84a),{connection:_0x38d8d7}=this[_0x17c06f(0x21d)][_0x17c06f(0x1c5)][_0x17c06f(0x234)](_0x31a860),_0xef347d=new Set();for(const _0x189968 of _0x25bb63){const _0x4d51bc=_0x189968[_0x17c06f(0x1b0)];_0x4d51bc&&!_0x49341c[_0x17c06f(0x26c)](_0x4d51bc)&&_0xef347d[_0x17c06f(0x1a0)](_0x4d51bc);}if(0x0===_0xef347d[_0x17c06f(0x236)])return;const _0x3f086b=await _0x493e9a[_0x17c06f(0x215)](_0x38d8d7,Array[_0x17c06f(0x213)](_0xef347d));for(const _0x58dad9 of _0x3f086b)_0x49341c[_0x17c06f(0x26c)](_0x58dad9['id'])||_0x49341c[_0x17c06f(0x24e)](_0x58dad9);}[_0x47e6c8(0x221)](_0x3ddfd0,_0x25516a={}){const _0x3de2a8=_0x47e6c8,_0x376a14=this[_0x3de2a8(0x21d)][_0x3de2a8(0x1f3)],_0x473fa1=[];let _0x3458de=0x0;const _0x4d1953=_0x3de2a8(0x24d)==typeof _0x3ddfd0?{'main':_0x3ddfd0}:_0x3ddfd0;for(const _0xd7de55 of Object[_0x3de2a8(0x253)](_0x4d1953)){if(!this[_0x3de2a8(0x237)][_0x3de2a8(0x246)][_0x3de2a8(0x22b)](_0xd7de55))throw new _0x550911(_0x3de2a8(0x295),this);const _0x2e04a3=this[_0x3de2a8(0x21d)][_0x3de2a8(0x28d)][_0x3de2a8(0x206)](_0x4d1953[_0xd7de55]),_0x36c8cd=this[_0x3de2a8(0x237)][_0x3de2a8(0x28f)](_0xd7de55),_0x9f42f6=new _0x1bd747(_0x376a14[_0x3de2a8(0x1db)](_0x36c8cd,0x0),_0x2e04a3,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x9f42f6);for(const [_0x5610ab,_0x3508ee]of _0x2e04a3[_0x3de2a8(0x1ee)]){const _0x502ba8=_0x376a14[_0x3de2a8(0x19d)](_0x376a14[_0x3de2a8(0x1e2)](_0x36c8cd,_0x3508ee[_0x3de2a8(0x1f1)][_0x3de2a8(0x202)][_0x3de2a8(0x23e)]()),_0x376a14[_0x3de2a8(0x1e2)](_0x36c8cd,_0x3508ee[_0x3de2a8(0x1fe)][_0x3de2a8(0x202)][_0x3de2a8(0x23e)]())),_0x4864c3=new _0x548d0d(_0x5610ab,null,_0x502ba8,_0x376a14[_0x3de2a8(0x1ee)],!0x0,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x4864c3);}}if(_0x25516a)for(const [_0x30cb5d,_0x457498]of Object[_0x3de2a8(0x1a2)](_0x25516a)){const _0x20420a=_0x376a14[_0x3de2a8(0x293)][_0x3de2a8(0x28f)](_0x30cb5d);if(!_0x20420a)throw new _0x550911(_0x3de2a8(0x1a6),null);for(const [_0x57bb5e,_0x1fce17]of Object[_0x3de2a8(0x1a2)](_0x457498))if(null!==_0x1fce17){const _0x3a9933=new _0x182252(_0x20420a,_0x57bb5e,null,_0x1fce17,_0x3458de++);_0x473fa1[_0x3de2a8(0x240)](_0x3a9933);}}return _0x473fa1;}async[_0x47e6c8(0x24b)](_0x4ef79a,_0x281ad7,_0x36403d){const _0x4d1c90=_0x47e6c8;this[_0x4d1c90(0x221)]({[_0x4ef79a]:_0x281ad7},{[_0x4ef79a]:_0x36403d})[_0x4d1c90(0x230)]((_0x555270,_0x14904b)=>{const _0x4e49e6=_0x4d1c90;_0x555270[_0x4e49e6(0x1dd)]=this[_0x4e49e6(0x237)][_0x4e49e6(0x1c0)]+_0x14904b,_0x555270[_0x4e49e6(0x26a)]=!0x0,this[_0x4e49e6(0x214)](_0x555270);}),this[_0x4d1c90(0x1ef)](),await this[_0x4d1c90(0x20e)]();}async[_0x47e6c8(0x23a)](_0x537f02,_0x55b51a){const _0x17a9fc=_0x47e6c8;let _0xde4b48;this[_0x17a9fc(0x219)]=_0x537f02[_0x17a9fc(0x27a)];const _0x80fe98=_0x537f02[_0x17a9fc(0x282)]&&!_0x537f02[_0x17a9fc(0x228)],_0x1da5de=_0x80fe98?0x0:_0x537f02[_0x17a9fc(0x28d)][_0x17a9fc(0x1dd)];if(_0x55b51a[_0x17a9fc(0x230)](_0x5f2e87=>{const _0x2759ac=_0x17a9fc;_0x5f2e87[_0x2759ac(0x26a)]=!0x0,_0x5f2e87[_0x2759ac(0x21e)]=_0x537f02[_0x2759ac(0x1ae)],_0x5f2e87[_0x2759ac(0x1b0)]=null;}),_0x80fe98)_0xde4b48=_0x55b51a,this[_0x17a9fc(0x1a5)](_0xde4b48,_0x80fe98);else{if(_0x537f02[_0x17a9fc(0x228)]){const _0x46c532=this[_0x17a9fc(0x221)](_0x537f02[_0x17a9fc(0x228)]);this[_0x17a9fc(0x237)][_0x17a9fc(0x249)][_0x17a9fc(0x1c0)]=-_0x46c532[_0x17a9fc(0x222)],_0x46c532[_0x17a9fc(0x230)](_0x259647=>{const _0xdfa1c9=_0x17a9fc;_0x259647[_0xdfa1c9(0x1dd)]-=_0x46c532[_0xdfa1c9(0x222)],_0x259647[_0xdfa1c9(0x21e)]=_0x537f02[_0xdfa1c9(0x1ae)],_0x259647[_0xdfa1c9(0x26a)]=!0x0,_0x259647[_0xdfa1c9(0x1b0)]=null;}),this[_0x17a9fc(0x1a5)](_0x46c532,!0x0),this[_0x17a9fc(0x1d6)][_0x17a9fc(0x1c0)]=-_0x46c532[_0x17a9fc(0x222)]+this[_0x17a9fc(0x219)],this[_0x17a9fc(0x23b)](_0x46c532);}this[_0x17a9fc(0x237)][_0x17a9fc(0x249)][_0x17a9fc(0x1c0)]=_0x1da5de,_0xde4b48=this[_0x17a9fc(0x262)](_0x537f02[_0x17a9fc(0x28d)],_0x537f02[_0x17a9fc(0x21b)]),await this[_0x17a9fc(0x24c)](_0xde4b48),this[_0x17a9fc(0x1a5)](_0xde4b48,_0x80fe98);}_0x537f02[_0x17a9fc(0x1e1)]&&(this[_0x17a9fc(0x233)][_0x17a9fc(0x1bb)](_0xde4b48,_0x537f02[_0x17a9fc(0x1e1)]),this[_0x17a9fc(0x287)]=_0x537f02[_0x17a9fc(0x1e1)]),this[_0x17a9fc(0x1d6)][_0x17a9fc(0x1c0)]=_0x1da5de+this[_0x17a9fc(0x219)],this[_0x17a9fc(0x23b)](_0xde4b48),_0x55b51a[_0x17a9fc(0x1cc)](_0x599f1f=>{const _0x3ef00d=_0x17a9fc,_0x3bb476=this[_0x3ef00d(0x1bc)](_0x599f1f);return _0x3bb476&&!this[_0x3ef00d(0x235)][_0x3ef00d(0x22b)](_0x3bb476);})[_0x17a9fc(0x230)]((_0x38a24a,_0x4b65b9)=>{const _0x55ba37=_0x17a9fc;_0x38a24a[_0x55ba37(0x1dd)]=this[_0x55ba37(0x237)][_0x55ba37(0x1c0)]+_0x4b65b9,this[_0x55ba37(0x214)](_0x38a24a);}),this[_0x17a9fc(0x223)]()?(this[_0x17a9fc(0x1ca)]=0x0,this[_0x17a9fc(0x1ef)](!0x0),await this[_0x17a9fc(0x20e)]()):(this[_0x17a9fc(0x1d9)]=!0x1,this[_0x17a9fc(0x27d)]());}[_0x47e6c8(0x25b)](_0x2e6f88,_0x34bdc0){const _0x47b67f=_0x47e6c8,_0x519629=_0x34bdc0&&_0x34bdc0[_0x47b67f(0x257)];if(_0x519629&&_0x519629[_0x47b67f(0x211)](_0x47b67f(0x226)))throw _0x34bdc0;const _0x8c9667=this[_0x47b67f(0x21d)][_0x47b67f(0x1c5)][_0x47b67f(0x234)](_0x31a860);throw this[_0x47b67f(0x1d9)]=!0x0,_0x8c9667[_0x47b67f(0x1bd)](),this[_0x47b67f(0x21d)][_0x47b67f(0x22e)](_0x47b67f(0x217)),new _0x550911(_0x2e6f88,this[_0x47b67f(0x21d)],_0x519629?{'originalError':_0x519629}:void 0x0);}[_0x47e6c8(0x214)](_0xc877d0){const _0x2ff349=_0x47e6c8;this[_0x2ff349(0x1b4)][_0x2ff349(0x22b)](_0xc877d0)||(this[_0x2ff349(0x1b4)][_0x2ff349(0x1a0)](_0xc877d0),this[_0x2ff349(0x1a9)][_0x2ff349(0x240)](_0xc877d0),this[_0x2ff349(0x1ad)]||_0x2ff349(0x201)==_0xc877d0[_0x2ff349(0x1fa)]&&!_0xc877d0[_0x2ff349(0x1cf)]||this[_0x2ff349(0x200)]());}[_0x47e6c8(0x1ef)](_0x19496c=!0x1){const _0x4fadda=_0x47e6c8;!_0x19496c&&this[_0x4fadda(0x1d9)]||(this[_0x4fadda(0x1d9)]=!0x0,clearTimeout(this[_0x4fadda(0x29b)]),this[_0x4fadda(0x29b)]=setTimeout(()=>{const _0x435563=_0x4fadda;this[_0x435563(0x244)]()[_0x435563(0x21f)](_0x4eb3a0=>{const _0x5136bf=_0x435563;_0x4eb3a0&&(this[_0x5136bf(0x27d)](),this[_0x5136bf(0x1d9)]=!0x1);})[_0x435563(0x26f)](_0x14d419=>{const _0x6f68b4=_0x435563;this[_0x6f68b4(0x27d)](),this[_0x6f68b4(0x1d9)]=!0x1,function(_0x5d05ef){const _0x408f41=_0x6f68b4;return _0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x299))||_0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x1f5))||_0x5d05ef[_0x408f41(0x257)][_0x408f41(0x211)](_0x408f41(0x1b5));}(_0x14d419)||this[_0x6f68b4(0x25b)](_0x14d419[_0x6f68b4(0x257)],_0x14d419);});},this[_0x4fadda(0x1ca)]));}[_0x47e6c8(0x20e)](){return new Promise(_0x2a2649=>{const _0x237739=_0x464f;this['on'](_0x237739(0x207),()=>{_0x2a2649();});});}async[_0x47e6c8(0x244)](){const _0x39bc6b=_0x47e6c8,_0x3502b3=this[_0x39bc6b(0x21d)][_0x39bc6b(0x1c5)][_0x39bc6b(0x234)](_0x122314);if(this[_0x39bc6b(0x251)]()&&(_0x3502b3[_0x39bc6b(0x1c7)](),this[_0x39bc6b(0x1dc)]=!0x1),!this[_0x39bc6b(0x223)]())return!0x0;const _0x40c2da=[...this[_0x39bc6b(0x1a9)]];for(const _0x23edc0 of _0x40c2da)_0x23edc0[_0x39bc6b(0x275)]=this[_0x39bc6b(0x237)][_0x39bc6b(0x249)][_0x39bc6b(0x1a1)](_0x23edc0);const _0x2d3b67=this[_0x39bc6b(0x233)][_0x39bc6b(0x248)](_0x40c2da),_0x33d4f2=q++,_0x3b7d1e=this[_0x39bc6b(0x1c8)](_0x40c2da),_0x531e23=await this[_0x39bc6b(0x231)][_0x39bc6b(0x270)](_0x3b7d1e,_0x3b7d1e[_0x39bc6b(0x1dd)],_0x2d3b67);try{return await this[_0x39bc6b(0x1ea)](_0x40c2da,_0x531e23,_0x33d4f2);}catch(_0x25814){return this[_0x39bc6b(0x25b)](_0x39bc6b(0x209),_0x25814);}}async[_0x47e6c8(0x1ea)](_0x249537,_0x3882a5,_0x333efb){const _0x24a8cc=_0x47e6c8;if(_0x24a8cc(0x1e5)in _0x3882a5)throw _0x3882a5[_0x24a8cc(0x1e5)];let _0x13fa77=!0x1;if(_0x3882a5[_0x24a8cc(0x282)]){_0x3882a5[_0x24a8cc(0x1e1)]&&(this[_0x24a8cc(0x287)]=_0x3882a5[_0x24a8cc(0x1e1)]),this[_0x24a8cc(0x1a9)]=this[_0x24a8cc(0x1a9)][_0x24a8cc(0x1cc)](_0x220044=>!_0x249537[_0x24a8cc(0x1d3)](_0x220044));for(const _0x43e3d2 of _0x249537)_0x43e3d2[_0x24a8cc(0x21e)]=_0x24a8cc(0x24f)in _0x3882a5&&_0x3882a5[_0x24a8cc(0x24f)]||void 0x0;$(_0x249537,_0x3882a5[_0x24a8cc(0x1c0)]-_0x249537[_0x24a8cc(0x222)]),this[_0x24a8cc(0x23b)](_0x249537);const _0xd9fac1=_0x249537[_0x24a8cc(0x1cc)](_0x1ca039=>{const _0x1be96e=_0x24a8cc;if(!_0x1ca039[_0x1be96e(0x26a)])return!0x1;const _0x10a4bd=this[_0x1be96e(0x1bc)](_0x1ca039);return _0x10a4bd&&!this[_0x1be96e(0x235)][_0x1be96e(0x22b)](_0x10a4bd);});$(_0xd9fac1,this[_0x24a8cc(0x237)][_0x24a8cc(0x1c0)]),this[_0x24a8cc(0x1a5)](_0xd9fac1),_0x13fa77=!0x0,this[_0x24a8cc(0x1ca)]=this[_0x24a8cc(0x1b6)];}else{const _0x535160=this[_0x24a8cc(0x262)](_0x3882a5[_0x24a8cc(0x28d)],_0x3882a5[_0x24a8cc(0x21b)])[_0x24a8cc(0x1cc)](_0x1f5118=>_0x1f5118[_0x24a8cc(0x1dd)]>=this[_0x24a8cc(0x28c)]);_0x535160[_0x24a8cc(0x230)](_0x143f1c=>this[_0x24a8cc(0x260)](_0x143f1c)),this[_0x24a8cc(0x1a9)]=this[_0x24a8cc(0x1a9)][_0x24a8cc(0x1cc)](_0x1a440f=>!_0x1a440f[_0x24a8cc(0x26a)]||!this[_0x24a8cc(0x235)][_0x24a8cc(0x22b)](this[_0x24a8cc(0x1bc)](_0x1a440f))),this[_0x24a8cc(0x1a9)][_0x24a8cc(0x222)]&&$(this[_0x24a8cc(0x1a9)],this[_0x24a8cc(0x1a9)][0x0][_0x24a8cc(0x1dd)]),await this[_0x24a8cc(0x24c)](_0x535160),_0x13fa77=this[_0x24a8cc(0x1ec)](_0x535160,_0x3882a5[_0x24a8cc(0x1c0)],_0x3882a5[_0x24a8cc(0x1e1)]),this[_0x24a8cc(0x1ca)]=Math[_0x24a8cc(0x225)](this[_0x24a8cc(0x1ca)]/0x2);}return _0x13fa77?!this[_0x24a8cc(0x223)]()||(this[_0x24a8cc(0x1ef)](!0x0),!0x1):this[_0x24a8cc(0x25b)](_0x24a8cc(0x247));}[_0x47e6c8(0x1ec)](_0x28785b,_0x404753,_0x56232b){const _0xb86f0d=_0x47e6c8;try{const _0x1dd5d9={'document':this[_0xb86f0d(0x237)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x31e187,operationsB:_0x2a4f0b,originalOperations:_0xc0ac9b}=_0x2ac34e(_0x28785b,this[_0xb86f0d(0x1a9)],_0x1dd5d9);$(_0x31e187,this[_0xb86f0d(0x237)][_0xb86f0d(0x1c0)]),$(_0x2a4f0b,_0x404753);for(const _0x4f98eb of _0x31e187){const _0x1cc9e5=_0xc0ac9b[_0xb86f0d(0x234)](_0x4f98eb);_0x4f98eb[_0xb86f0d(0x1b0)]=_0x1cc9e5?_0x1cc9e5[_0xb86f0d(0x1b0)]:null;}_0x56232b&&(this[_0xb86f0d(0x233)][_0xb86f0d(0x1bb)](_0x28785b,_0x56232b),this[_0xb86f0d(0x287)]=_0x56232b),this[_0xb86f0d(0x1a9)]=[..._0x2a4f0b],this[_0xb86f0d(0x1a5)](_0x31e187),this[_0xb86f0d(0x23b)](_0x28785b);}catch(_0x260dbc){return console[_0xb86f0d(0x1e5)](_0x260dbc),!0x1;}return!0x0;}[_0x47e6c8(0x1a5)](_0x1e05be,_0x370909=!0x1){const _0x574b1c=_0x47e6c8;this[_0x574b1c(0x21d)][_0x574b1c(0x1f3)][_0x574b1c(0x288)]({'isUndoable':!0x1,'isLocal':!0x1},_0x36e292=>{const _0x396129=_0x574b1c;for(const _0x344df6 of _0x1e05be)this[_0x396129(0x1b4)][_0x396129(0x1a0)](_0x344df6),this[_0x396129(0x260)](_0x344df6),_0x36e292[_0x396129(0x278)][_0x396129(0x22f)](_0x344df6),this[_0x396129(0x21d)][_0x396129(0x1f3)][_0x396129(0x294)](_0x344df6);});}[_0x47e6c8(0x260)](_0x5e01ca){const _0x1d4f03=_0x47e6c8,_0x3c6ecc=this[_0x1d4f03(0x1bc)](_0x5e01ca);_0x3c6ecc&&this[_0x1d4f03(0x235)][_0x1d4f03(0x1a0)](_0x3c6ecc);}[_0x47e6c8(0x1bc)](_0x33e576){const _0x9d6014=_0x47e6c8;let _0x51882a,_0x5ef26d;switch(_0x33e576[_0x9d6014(0x1fa)]){case _0x9d6014(0x1ac):_0x51882a=_0x33e576[_0x9d6014(0x277)][_0x9d6014(0x265)];break;case _0x9d6014(0x201):if(_0x5ef26d=_0x33e576[_0x9d6014(0x268)],!_0x5ef26d)return null;_0x51882a=_0x5ef26d[_0x9d6014(0x265)];break;case _0x9d6014(0x281):_0x51882a=_0x33e576[_0x9d6014(0x265)];break;case _0x9d6014(0x1c2):_0x51882a=_0x33e576[_0x9d6014(0x26b)];break;case _0x9d6014(0x1c9):_0x51882a=_0x33e576[_0x9d6014(0x29c)][_0x9d6014(0x265)];break;default:return null;}return _0x51882a[_0x9d6014(0x22a)];}[_0x47e6c8(0x23b)](_0x53025b){const _0x59106b=_0x47e6c8;_0x53025b[_0x59106b(0x230)](_0x3e1aa9=>{const _0x575af3=_0x59106b,_0xfe7d33=_0x3e1aa9[_0x575af3(0x1fd)]();_0xfe7d33[_0x575af3(0x1b0)]=_0x3e1aa9[_0x575af3(0x1b0)],_0xfe7d33[_0x575af3(0x26a)]=!!_0x3e1aa9[_0x575af3(0x26a)],_0xfe7d33[_0x575af3(0x21e)]=_0x3e1aa9[_0x575af3(0x21e)],_0xfe7d33[_0x575af3(0x1dd)]+=this[_0x575af3(0x219)],_0x3e1aa9[_0x575af3(0x1e0)]&&this[_0x575af3(0x1f6)][_0x575af3(0x1a0)](_0xfe7d33),this[_0x575af3(0x1d6)][_0x575af3(0x22f)](_0xfe7d33);});}[_0x47e6c8(0x1ce)](_0x5d2b5e){const _0x302830=_0x47e6c8,_0x627b8b=this[_0x302830(0x21d)][_0x302830(0x1c5)][_0x302830(0x234)](_0x302830(0x1be)),_0x418958=this[_0x302830(0x21d)][_0x302830(0x289)];_0x5d2b5e||(_0x5d2b5e=_0x249469(_0x418958,_0x302830(0x296))),_0x627b8b[_0x302830(0x1cb)](_0x5d2b5e,{'title':_0x249469(_0x418958,_0x302830(0x22c)),'namespace':_0x302830(0x284)}),this[_0x302830(0x238)]=!0x0,clearTimeout(this[_0x302830(0x29b)]),this[_0x302830(0x1a9)]=[],this[_0x302830(0x21d)][_0x302830(0x1c5)][_0x302830(0x234)](_0x31a860)[_0x302830(0x1bd)]();}[_0x47e6c8(0x200)](){const _0x96677c=_0x47e6c8;this[_0x96677c(0x1ad)]||(this[_0x96677c(0x1ad)]=this[_0x96677c(0x21d)][_0x96677c(0x1c5)][_0x96677c(0x234)](_0xc6be42)[_0x96677c(0x1a0)](_0x249469(this[_0x96677c(0x21d)][_0x96677c(0x289)],_0x96677c(0x256))));}[_0x47e6c8(0x27d)](){const _0x19f7dd=_0x47e6c8;this[_0x19f7dd(0x1ad)]&&(this[_0x19f7dd(0x21d)][_0x19f7dd(0x1c5)][_0x19f7dd(0x234)](_0xc6be42)[_0x19f7dd(0x266)](this[_0x19f7dd(0x1ad)]),this[_0x19f7dd(0x1ad)]=null);}[_0x47e6c8(0x1c8)](_0x3baece){const _0x4b3837=_0x47e6c8,_0x18bc83=_0x3baece[_0x4b3837(0x20f)](_0x5cad6e=>_0x5cad6e[_0x4b3837(0x1de)]());return this[_0x4b3837(0x1b1)][_0x4b3837(0x1e8)](_0x18bc83);}[_0x47e6c8(0x262)](_0x25ccfa,_0x332bc2){const _0x27560a=_0x47e6c8;return this[_0x27560a(0x1b1)][_0x27560a(0x1ba)](_0x25ccfa)[_0x27560a(0x20f)]((_0x40069f,_0x55c75f)=>{const _0x5bcb59=_0x27560a,_0x2a21a1=_0x5bcb59(0x283)==_0x332bc2[_0x55c75f][_0x5bcb59(0x1fa)];if(_0x5bcb59(0x22d)==_0x40069f[_0x5bcb59(0x1b3)]){const _0x187a13=_0x40069f[_0x5bcb59(0x277)][_0x5bcb59(0x265)];!this[_0x5bcb59(0x237)][_0x5bcb59(0x28f)](_0x187a13)&&(this[_0x5bcb59(0x237)][_0x5bcb59(0x27c)](_0x5bcb59(0x1ed),_0x187a13)[_0x5bcb59(0x1aa)]=!0x1);}const _0x32524c=_0x217876[_0x5bcb59(0x258)](_0x40069f,this[_0x5bcb59(0x237)]);return _0x32524c[_0x5bcb59(0x275)]=_0x40069f[_0x5bcb59(0x275)],_0x32524c[_0x5bcb59(0x26a)]=_0x2a21a1,_0x32524c[_0x5bcb59(0x1b0)]=_0x2a21a1?null:_0x332bc2[_0x55c75f][_0x5bcb59(0x1eb)],_0x32524c[_0x5bcb59(0x1e0)]=_0x5bcb59(0x272)===_0x332bc2[_0x55c75f][_0x5bcb59(0x1fa)],_0x32524c[_0x5bcb59(0x21e)]=_0x332bc2[_0x55c75f][_0x5bcb59(0x21e)],_0x32524c;});}[_0x47e6c8(0x28a)](){const _0x8100ce=_0x47e6c8;this[_0x8100ce(0x1dc)]=!0x0,this[_0x8100ce(0x251)]()?this[_0x8100ce(0x1ef)]():this[_0x8100ce(0x1dc)]=!0x1;}[_0x47e6c8(0x251)](){const _0x109763=_0x47e6c8,_0x3ca417=this[_0x109763(0x21d)][_0x109763(0x1c5)][_0x109763(0x234)](_0x422087)[_0x109763(0x269)][_0x109763(0x234)](this[_0x109763(0x264)]);return!this[_0x109763(0x21d)][_0x109763(0x1f9)]&&!!_0x3ca417&&_0x3ca417[_0x109763(0x222)]>0x1&&this[_0x109763(0x1dc)];}[_0x47e6c8(0x223)](){const _0x5520e7=_0x47e6c8;return this[_0x5520e7(0x1a9)][_0x5520e7(0x222)]>0x0||this[_0x5520e7(0x251)]();}}export{l as RealTimeCollaborationClient};class G extends Error{}function $(_0x583bbb,_0x2b79da){const _0x31858a=_0x47e6c8;for(const _0x3ecc7f of _0x583bbb)_0x3ecc7f[_0x31858a(0x1dd)]=_0x2b79da++;}class K{[_0x47e6c8(0x1ab)];[_0x47e6c8(0x1b7)];constructor(_0x37b2c2){const _0x57971a=_0x47e6c8;this[_0x57971a(0x1ab)]=_0x37b2c2,this[_0x57971a(0x1b7)]=new WeakMap();}[_0x47e6c8(0x248)](_0x45d73a){const _0x245b7f=_0x47e6c8;let _0x34ef53=_0x45d73a[_0x245b7f(0x222)];for(;_0x34ef53--;){const _0x507c0a=_0x45d73a[_0x34ef53];if(!this[_0x245b7f(0x1ab)][_0x245b7f(0x22b)](_0x507c0a)){if(!this[_0x245b7f(0x1b7)][_0x245b7f(0x22b)](_0x507c0a)){const _0x51863f=_0x28bb14()[_0x245b7f(0x23e)](0x1,0x12);this[_0x245b7f(0x1b7)][_0x245b7f(0x286)](_0x507c0a,_0x51863f);}return this[_0x245b7f(0x1b7)][_0x245b7f(0x234)](_0x507c0a);}}}[_0x47e6c8(0x1bb)](_0x264281,_0x54b19d){const _0x37a346=_0x47e6c8;if(!_0x54b19d)return;let _0xa3b24a=_0x264281[_0x37a346(0x222)];for(;_0xa3b24a--;){const _0x4d11c3=_0x264281[_0xa3b24a];this[_0x37a346(0x1ab)][_0x37a346(0x22b)](_0x4d11c3)||this[_0x37a346(0x1b7)][_0x37a346(0x286)](_0x4d11c3,_0x54b19d);}}}
|
|
23
|
+
const _0x5c7728=_0x5c29;(function(_0x1ee2d2,_0x408ff4){const _0x96dbe3=_0x5c29,_0x536db1=_0x1ee2d2();while(!![]){try{const _0x2911ae=parseInt(_0x96dbe3(0x1e9))/0x1+parseInt(_0x96dbe3(0x25e))/0x2*(-parseInt(_0x96dbe3(0x223))/0x3)+parseInt(_0x96dbe3(0x1a7))/0x4+-parseInt(_0x96dbe3(0x1dc))/0x5+-parseInt(_0x96dbe3(0x220))/0x6+-parseInt(_0x96dbe3(0x1c0))/0x7+parseInt(_0x96dbe3(0x219))/0x8*(parseInt(_0x96dbe3(0x22d))/0x9);if(_0x2911ae===_0x408ff4)break;else _0x536db1['push'](_0x536db1['shift']());}catch(_0x56a0ca){_0x536db1['push'](_0x536db1['shift']());}}}(_0x2de5,0x811c5));import{Plugin as _0xae86e5,PendingActions as _0x9d865f}from'ckeditor5/src/core.js';import{CKEditorError as _0x30765c,version as _0x376890,uid as _0x4bd1d9}from'ckeditor5/src/utils.js';import{Notification as _0x16c8e3}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4c0dd8,NoOperation as _0x8f63b,InsertOperation as _0x496b8d,MarkerOperation as _0x459bd0,RootAttributeOperation as _0x413ef6,OperationFactory as _0x508621,History as _0x5c290d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5074aa}from'./websocketgateway.js';function _0x5c29(_0x3cab76,_0x4389e0){const _0x2de59e=_0x2de5();return _0x5c29=function(_0x5c2947,_0x2506ae){_0x5c2947=_0x5c2947-0x18c;let _0x34a1ae=_0x2de59e[_0x5c2947];return _0x34a1ae;},_0x5c29(_0x3cab76,_0x4389e0);}import{Sessions as _0x1d9ade}from'./sessions.js';function _0x2de5(){const _0x3b3aa6=['createRoot','map','fromJSON','targetPosition','realtimecollaborationclient-init-non-existent-root','round','realtimecollaborationclient-init-connection-failed','_knownRootNames','editing','position','size','409','cloudServices.bundleVersion','_channelId','getIdOfTheLastOperation','differ','isUndoneOperation','_operationIdentifier','_isEditingAllowed','_initSessionsHandling','404','clone','start','move','showWarning','slice','parse','stopListening','_document','enqueueChange','623848hmqiro','_lastSyncedOperationId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','decompress','PENDING_ACTION_SENDING_DATA','setPermissions','cloudDocumentVersion','filter','editor','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.','loadRoot','set','_decompressOperations','addToReconnectionStack','__className','_getOperationsFromInitData','getOperationAuthor','rtc-destroyed','_isConnected','change:hasDomSelection','connect','listenTo','document:write','_initThrowingOnDataSet','_disconnectionOperations','view','_applyOperationsSet','wasUndone','entries','_connectService','_sendBufferedOperationsDelayId','apply','_disconnectService','reset','lastDocumentSession','_waitUntilSynced','currentDocumentSession','getUser','reconnection:\x20flushed\x20session','string','requires','directChange','removeFromReconnectionStack','rootName','change:range','_updateServerHistory','register','$root','cloud-services-internal-error:\x20Not\x20connected.','connected','path','realtimecollaborationclient-init-service-internal-error','Notification','get','type','_service','plugins','_offset','_handleReceivedOperations','message','_knownOperations','channelSessions','_bufferRootLoad','marker','createdAt','lastOperationId','collaboration.channelId','config','change:_isPendingUpdate','version','affectedSelectable','_getAffectedRoot','sessionAdd:','lastOperationAcceptedAt','history','_isInit','_bufferedOperations','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.','1215476DfgwzA','_compressOperations','_handleReconnectionResponse','model','_setPendingAction','_addKnownRoot','getMany','collaboration','finally','cs:removeUser','realtimecollaborationclient','disableReadOnlyMode','_isLoaded','offset','has','destroy','forEach','_operationToId','CommentsOnly','_handleReconnectionError','lastSyncVersion','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','selection','length','connection','6986854byTcZX','rootsAttributes','realtimecollaborationclient-init-session-connection-error','_sendBufferedOperations','define','Synchronization\x20issue','stop','_isPendingUpdate','getConnectedSessions','_pendingAction','getOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionCreatedAt','_isAttached','batch','collaboration-missing-channelid','getDocumentDetails','then','_crash','permissions','locale','init','ready','real-time-collaboration','metadata','markers','off','_refreshUserSelectionMarkers','4340675YsWWQl','_setUpDataInit','userId','reconnect','applyOperation','mySessionId','realtimecollaborationclient-init-service-incorrect-server-operation','_handleSendingSelectionMarkers','isEnabled','state','change:_isEditingAllowed','_isDisconnection','addUser','816643bGtFhO','sessionId','unregister','initData','createPositionFromPath','_sendBufferedOperationsDelayed','createUserMarkerOperations','isDocumentOperation','addOperation','_connectAfterSessionHasBeenFlushed','error','from','_hasSynchronizationProblem','isReadOnly','insert','addRoot','attributes','_lastServerVersion','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-document-already-initialized','push','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','_currentBufferDelay','isPremiumPlugin','_hasSelectionChanged','enableReadOnlyMode','createPositionAt','catch','Permissions','multi-root-editor-root-attributes-no-root','disconnect','fire','_handleServerResponse','end','baseVersion','realtimecollaborationclient-sendbufferedoperations','CollaborativeEditingService','_clearPendingAction','toJSON','_baseBufferDelay','sendOperations','_ignoredOperations','suppressErrorInCollaboration','_handleExternalOperations','wereChangesApplied','includes','InsertOperation','18835512BxdBjY','realtimecollaborationclient-error','_handleInitialConnectionData','startsWith','affectsData','data','_loadRoot','4607598hxHWFK','code','bind','3prswNq','keys','operationsReceived','remove','serverHistory','_saveOperationInBuffer','pluginName','RealTimeCollaborationClient','document','addRootAttribute','9rsorHr','return','createRange','setIdForTheLastOperation','add','roots','_compressor','_shouldSendUpdate','root','getRoot','rtc-offline','compress','high','_shouldSendSelectionUpdate','realtimecollaborationclient-handleserverresponse','_authorId','_fetchMissingUsers','disconnected','newRange'];_0x2de5=function(){return _0x3b3aa6;};return _0x2de5();}import{UserMarkers as _0x350120}from'./usermarkers.js';import{getTranslation as _0xb6e749}from'../common-translations.js';import{Compressor as _0x557956}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1f4150}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x533fad,CollaborativeEditingService as _0x162206}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0xae86e5{static [_0x5c7728(0x20e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x162206)());[_0x5c7728(0x192)];[_0x5c7728(0x1ea)];[_0x5c7728(0x227)];[_0x5c7728(0x24d)];[_0x5c7728(0x190)];[_0x5c7728(0x25c)];[_0x5c7728(0x233)];[_0x5c7728(0x1a5)];[_0x5c7728(0x195)];[_0x5c7728(0x247)];[_0x5c7728(0x1c9)];[_0x5c7728(0x202)];[_0x5c7728(0x27c)];[_0x5c7728(0x211)];[_0x5c7728(0x200)];[_0x5c7728(0x25f)];[_0x5c7728(0x276)];[_0x5c7728(0x251)];static get[_0x5c7728(0x286)](){return[_0x5074aa,_0x1d9ade,_0x350120,_0x9d865f,_0x1f4150,_0x16c8e3];}static get[_0x5c7728(0x229)](){const _0x199773=_0x5c7728;return _0x199773(0x22a);}static get[_0x5c7728(0x1ff)](){return!0x0;}static get[_0x5c7728(0x201)](){return!0x0;}get[_0x5c7728(0x264)](){const _0x1353f9=_0x5c7728;return this[_0x1353f9(0x1fa)]+this[_0x1353f9(0x192)];}get[_0x5c7728(0x1fa)](){const _0x3f5efe=_0x5c7728;return this[_0x3f5efe(0x227)][_0x3f5efe(0x19e)]-this[_0x3f5efe(0x192)];}get[_0x5c7728(0x1bb)](){const _0x30fb72=_0x5c7728,_0x18efaf=this[_0x30fb72(0x227)][_0x30fb72(0x1ca)]();for(let _0x1d52ba=_0x18efaf[_0x30fb72(0x1be)]-0x1;_0x1d52ba>=0x0;_0x1d52ba--){const _0x1a859d=_0x18efaf[_0x1d52ba];if(!this[_0x30fb72(0x276)][_0x30fb72(0x1b5)](_0x1a859d))return _0x1a859d[_0x30fb72(0x20c)]+0x1-this[_0x30fb72(0x192)];}return 0x0;}constructor(_0x3e961d){const _0x43c59c=_0x5c7728;if(super(_0x3e961d),this[_0x43c59c(0x192)]=0x0,this[_0x43c59c(0x1ea)]=null,this[_0x43c59c(0x227)]=new _0x5c290d(),this[_0x43c59c(0x266)][_0x43c59c(0x19c)][_0x43c59c(0x1c4)](_0x43c59c(0x1ae),{}),this[_0x43c59c(0x24d)]=this[_0x43c59c(0x266)][_0x43c59c(0x19c)][_0x43c59c(0x18e)](_0x43c59c(0x19b)),!this[_0x43c59c(0x24d)])throw new _0x30765c(_0x43c59c(0x1cf),this);const _0x27fd8b=_0x3e961d[_0x43c59c(0x19c)][_0x43c59c(0x18e)](_0x43c59c(0x24c))||_0x376890;this[_0x43c59c(0x190)]=new l[(_0x43c59c(0x20e))](_0x27fd8b,this[_0x43c59c(0x24d)]),this[_0x43c59c(0x25c)]=this[_0x43c59c(0x266)][_0x43c59c(0x1aa)][_0x43c59c(0x22b)],this[_0x43c59c(0x233)]=new _0x557956(),this[_0x43c59c(0x1a5)]=[],this[_0x43c59c(0x195)]=new WeakSet(),this[_0x43c59c(0x247)]=new Set(),this[_0x43c59c(0x269)](_0x43c59c(0x1c7),!0x1),this[_0x43c59c(0x269)](_0x43c59c(0x1f5),!0x1),this[_0x43c59c(0x1c9)]=null,this[_0x43c59c(0x202)]=!0x1,this[_0x43c59c(0x27c)]=null,this[_0x43c59c(0x211)]=0x12c,this[_0x43c59c(0x200)]=this[_0x43c59c(0x211)],this[_0x43c59c(0x25f)]=null,this[_0x43c59c(0x276)]=new WeakSet(),this[_0x43c59c(0x251)]=new J(this[_0x43c59c(0x276)]);}[_0x5c7728(0x1d5)](){const _0x41ab30=_0x5c7728,_0x5eabd0=this[_0x41ab30(0x266)],_0x509b85=_0x5eabd0[_0x41ab30(0x191)][_0x41ab30(0x18e)](_0x1f4150),_0xce3a6e=_0x5eabd0[_0x41ab30(0x191)][_0x41ab30(0x18e)](_0x5074aa);this[_0x41ab30(0x273)](_0x509b85,_0x41ab30(0x26e),(_0x3c83c1,_0x1c2644)=>{const _0x24a2ed=_0x41ab30,_0x3418d0=_0x1c2644[0x0];_0x3418d0[_0x24a2ed(0x23c)]&&(_0x3c83c1[_0x24a2ed(0x22e)]=_0x509b85[_0x24a2ed(0x283)](_0x3418d0[_0x24a2ed(0x23c)]),_0x3c83c1[_0x24a2ed(0x1c6)]()),null===_0x3418d0[_0x24a2ed(0x23c)]&&(_0x3c83c1[_0x24a2ed(0x22e)]=null,_0x3c83c1[_0x24a2ed(0x1c6)]());},{'priority':_0x41ab30(0x239)}),this[_0x41ab30(0x273)](_0x5eabd0[_0x41ab30(0x1aa)][_0x41ab30(0x22b)][_0x41ab30(0x1bd)],_0x41ab30(0x28a),(_0x51d5d2,_0x3998ce)=>{const _0x4aa36f=_0x41ab30;_0x3998ce[_0x4aa36f(0x287)]&&this[_0x4aa36f(0x1db)]();}),this[_0x41ab30(0x273)](_0x5eabd0[_0x41ab30(0x248)][_0x41ab30(0x277)],_0x41ab30(0x271),()=>{const _0x2af5f8=_0x41ab30;this[_0x2af5f8(0x1db)]();}),this[_0x41ab30(0x275)](),_0x5eabd0[_0x41ab30(0x1aa)]['on'](_0x41ab30(0x1e0),(_0x183433,_0x8be878)=>{const _0x429c87=_0x41ab30,_0x378c34=_0x8be878[0x0];_0x378c34[_0x429c87(0x1f0)]&&(this[_0x429c87(0x228)](_0x378c34),this[_0x429c87(0x234)]()&&this[_0x429c87(0x1ee)]());}),this[_0x41ab30(0x1dd)](),this[_0x41ab30(0x222)](_0x41ab30(0x252))['to'](_0xce3a6e,_0x41ab30(0x1e5),this,_0x41ab30(0x1f5),(_0xc46c74,_0x846f5b)=>_0x41ab30(0x28f)===_0xc46c74&&!_0x846f5b),this['on'](_0x41ab30(0x1e6),()=>{const _0x48c776=_0x41ab30;this[_0x48c776(0x252)]?_0x5eabd0[_0x48c776(0x1b2)](_0x48c776(0x237)):_0x5eabd0[_0x48c776(0x203)](_0x48c776(0x237));}),this[_0x41ab30(0x252)]?_0x5eabd0[_0x41ab30(0x1b2)](_0x41ab30(0x237)):_0x5eabd0[_0x41ab30(0x203)](_0x41ab30(0x237)),this[_0x41ab30(0x269)](_0x41ab30(0x270),!0x1);}async[_0x5c7728(0x1df)](){const _0x3d4ea4=_0x5c7728,_0x873834=this[_0x3d4ea4(0x266)][_0x3d4ea4(0x191)][_0x3d4ea4(0x18e)](_0x1d9ade),_0x26f20b=this[_0x3d4ea4(0x266)][_0x3d4ea4(0x191)][_0x3d4ea4(0x18e)](_0x5074aa);try{this[_0x3d4ea4(0x1c7)]=!0x0,_0x873834[_0x3d4ea4(0x1eb)](this[_0x3d4ea4(0x24d)]);const _0xa8612c=await this[_0x3d4ea4(0x190)][_0x3d4ea4(0x1df)](_0x26f20b[_0x3d4ea4(0x1bf)],this[_0x3d4ea4(0x1bb)]);await this[_0x3d4ea4(0x1a9)](_0xa8612c)&&(this[_0x3d4ea4(0x1c7)]=!0x1,this[_0x3d4ea4(0x20f)]());const _0x3434b4=await this[_0x3d4ea4(0x190)][_0x3d4ea4(0x1c8)]();_0x873834[_0x3d4ea4(0x28c)](this[_0x3d4ea4(0x24d)],_0x3434b4),this[_0x3d4ea4(0x1e3)](),this[_0x3d4ea4(0x270)]=!0x0;}catch(_0x16673b){if(function(_0x3900c9){const _0x2c6ee6=_0x3d4ea4;return _0x2c6ee6(0x254)===_0x3900c9[_0x2c6ee6(0x221)];}(_0x16673b)&&this[_0x3d4ea4(0x1ea)])await this[_0x3d4ea4(0x1f2)]();else{if(function(_0x20d2e9){const _0x3be8c8=_0x3d4ea4;return _0x3be8c8(0x24b)===_0x20d2e9[_0x3be8c8(0x221)];}(_0x16673b)){const _0x3736de=_0xb6e749(this[_0x3d4ea4(0x266)][_0x3d4ea4(0x1d4)],_0x3d4ea4(0x1bc));this[_0x3d4ea4(0x1ba)](_0x3736de);}else{if(!(_0x16673b instanceof $))throw _0x16673b;this[_0x3d4ea4(0x1ba)]();}}}}[_0x5c7728(0x1b6)](){const _0x279790=_0x5c7728,_0xdf6894=this[_0x279790(0x266)][_0x279790(0x191)][_0x279790(0x18e)](_0x5074aa),_0xe1e064=this[_0x279790(0x266)][_0x279790(0x191)][_0x279790(0x18e)](_0x1d9ade);this[_0x279790(0x266)][_0x279790(0x203)](_0x279790(0x26f)),_0xe1e064[_0x279790(0x196)][_0x279790(0x1b5)](this[_0x279790(0x24d)])&&_0xe1e064[_0x279790(0x1eb)](this[_0x279790(0x24d)]),_0xdf6894[_0x279790(0x288)](this),this[_0x279790(0x27e)](),super[_0x279790(0x1b6)]();}async[_0x5c7728(0x1a9)](_0x59820c){const _0x34f6b6=_0x5c7728;if(this[_0x34f6b6(0x1ea)]!==_0x59820c[_0x34f6b6(0x1ea)]&&this[_0x34f6b6(0x25f)]!==_0x59820c[_0x34f6b6(0x19a)])throw new $();return this[_0x34f6b6(0x1ea)]=_0x59820c[_0x34f6b6(0x1ea)],this[_0x34f6b6(0x20a)]([],{..._0x59820c,'wereChangesApplied':!0x1,'data':_0x59820c[_0x34f6b6(0x21e)]},_0x34f6b6(0x1df));}async[_0x5c7728(0x27b)](_0x113927,_0x716a00=!0x1){const _0x1afa7e=_0x5c7728,{connection:_0x432ef9}=this[_0x1afa7e(0x266)][_0x1afa7e(0x191)][_0x1afa7e(0x18e)](_0x5074aa);l[_0x1afa7e(0x20e)][_0x1afa7e(0x1c8)](_0x432ef9,this[_0x1afa7e(0x24d)])[_0x1afa7e(0x1d1)](_0x11ad41=>this[_0x1afa7e(0x253)](_0x11ad41))[_0x1afa7e(0x205)](_0x451860=>{const _0x79570=_0x1afa7e;this[_0x79570(0x1d2)](_0x79570(0x1c2),_0x451860);}),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x225),this[_0x1afa7e(0x193)][_0x1afa7e(0x222)](this)),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x1f3),(_0x484fd9,_0x37bf35)=>{const _0x368879=_0x1afa7e;this[_0x368879(0x1d2)](_0x368879(0x18c),_0x37bf35);}),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x23e),()=>{const _0x25160c=_0x1afa7e;this[_0x25160c(0x270)]=!0x1;});const _0x31da92=this[_0x1afa7e(0x251)][_0x1afa7e(0x24e)](_0x113927);this[_0x1afa7e(0x1c7)]=!0x0;const _0x591884=await this[_0x1afa7e(0x190)][_0x1afa7e(0x272)](_0x432ef9,this[_0x1afa7e(0x1a8)](_0x113927),_0x31da92);if(this[_0x1afa7e(0x1ea)]=_0x591884[_0x1afa7e(0x1ea)],_0x716a00){if(!_0x591884[_0x1afa7e(0x216)])return void this[_0x1afa7e(0x1ba)]();this[_0x1afa7e(0x1c7)]=!0x1,this[_0x1afa7e(0x20f)](),this[_0x1afa7e(0x227)][_0x1afa7e(0x27f)](),this[_0x1afa7e(0x192)]=_0x591884[_0x1afa7e(0x1b4)],this[_0x1afa7e(0x227)][_0x1afa7e(0x19e)]=this[_0x1afa7e(0x192)],await this[_0x1afa7e(0x20a)](_0x113927,_0x591884,_0x1afa7e(0x284));}else await this[_0x1afa7e(0x21b)](_0x591884,_0x113927);this[_0x1afa7e(0x1e3)](),this[_0x1afa7e(0x270)]=!0x0;}[_0x5c7728(0x1e3)](){const _0x5260bc=_0x5c7728,_0x4c0756=this[_0x5260bc(0x266)][_0x5260bc(0x191)][_0x5260bc(0x18e)](_0x1d9ade),_0x45526f=this[_0x5260bc(0x266)][_0x5260bc(0x191)][_0x5260bc(0x18e)](_0x350120),_0x47e49e=_0x4c0756[_0x5260bc(0x196)][_0x5260bc(0x18e)](this[_0x5260bc(0x24d)]);_0x47e49e&&_0x47e49e[_0x5260bc(0x1be)]>0x1?_0x45526f[_0x5260bc(0x1ef)]():this[_0x5260bc(0x273)](_0x4c0756,_0x5260bc(0x1a1)+this[_0x5260bc(0x24d)],()=>{const _0x1246d3=_0x5260bc;0x2===_0x4c0756[_0x1246d3(0x196)][_0x1246d3(0x18e)](this[_0x1246d3(0x24d)])[_0x1246d3(0x1be)]&&_0x45526f[_0x1246d3(0x1ef)]();});}async[_0x5c7728(0x193)](_0x3fd6eb,_0x3b7877,_0x3451ad,_0x39e8cb){const _0x3e79af=_0x5c7728;if(!this[_0x3e79af(0x1c7)]&&this[_0x3e79af(0x25c)][_0x3e79af(0x19e)]==_0x3b7877){const _0x40ba22=this[_0x3e79af(0x26a)](_0x3451ad,_0x39e8cb);await this[_0x3e79af(0x23d)](_0x40ba22),this[_0x3e79af(0x215)](_0x40ba22,_0x3b7877,_0x3451ad[_0x3e79af(0x19a)])||this[_0x3e79af(0x1d2)](_0x3e79af(0x1e2));}}async[_0x5c7728(0x1f2)](){const _0x1beb83=_0x5c7728;this[_0x1beb83(0x27e)]();const {locale:_0x5585c0}=this[_0x1beb83(0x266)];let _0x6f13a0;try{_0x6f13a0=await this[_0x1beb83(0x190)][_0x1beb83(0x1d0)]();}catch{const _0x323966=_0xb6e749(_0x5585c0,_0x1beb83(0x1fb));return void this[_0x1beb83(0x1ba)](_0x323966);}const _0x157937=_0x6f13a0[_0x1beb83(0x282)]||_0x6f13a0[_0x1beb83(0x280)];if(this[_0x1beb83(0x25f)]!==_0x157937[_0x1beb83(0x19a)]){const _0x124178=_0xb6e749(_0x5585c0,_0x1beb83(0x267));return void this[_0x1beb83(0x1ba)](_0x124178);}await this[_0x1beb83(0x27b)](this[_0x1beb83(0x266)][_0x1beb83(0x1aa)][_0x1beb83(0x22b)][_0x1beb83(0x1a3)][_0x1beb83(0x1ca)](),!0x0);}[_0x5c7728(0x27e)](){const _0x438f68=_0x5c7728;this[_0x438f68(0x190)][_0x438f68(0x208)](),this[_0x438f68(0x1a5)]=[],clearTimeout(this[_0x438f68(0x27c)]),this[_0x438f68(0x25b)](this[_0x438f68(0x190)]);}[_0x5c7728(0x253)](_0x559904){const _0x134733=_0x5c7728,_0x3ede5b=this[_0x134733(0x266)][_0x134733(0x191)][_0x134733(0x18e)](_0x1d9ade);this[_0x134733(0x273)](_0x3ede5b,_0x134733(0x1a1)+this[_0x134733(0x24d)],(_0x43bfb8,{session:_0x1b102c})=>{const _0x4ef79b=_0x134733;if(_0x1b102c['id']===_0x3ede5b[_0x4ef79b(0x1e1)]){_0x43bfb8[_0x4ef79b(0x1da)]();const _0x544e6d=this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x1b5)](_0x4ef79b(0x1b9))&&this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x18e)](_0x4ef79b(0x1b9));let _0x2d7f28=_0x1b102c[_0x4ef79b(0x1d3)];_0x544e6d&&_0x544e6d[_0x4ef79b(0x1e4)]&&(_0x2d7f28=_0x2d7f28[_0x4ef79b(0x265)](_0x9bce54=>_0x4ef79b(0x274)!==_0x9bce54)),this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x18e)](_0x4ef79b(0x206))[_0x4ef79b(0x263)](_0x2d7f28,this[_0x4ef79b(0x24d)]);}}),_0x3ede5b[_0x134733(0x28c)](this[_0x134733(0x24d)],_0x559904);}[_0x5c7728(0x275)](){const _0x231555=_0x5c7728,_0x2f0a95=this[_0x231555(0x266)][_0x231555(0x21e)][_0x231555(0x269)];this[_0x231555(0x266)][_0x231555(0x21e)][_0x231555(0x269)]=(..._0x3387bb)=>{const _0x5f1436=_0x231555;if(!_0x3387bb[_0x3387bb[_0x5f1436(0x1be)]-0x1][_0x5f1436(0x214)])throw new _0x30765c(_0x5f1436(0x260),this);_0x2f0a95[_0x5f1436(0x27d)](this[_0x5f1436(0x266)][_0x5f1436(0x21e)],_0x3387bb);};}[_0x5c7728(0x1dd)](){const _0x3dee8f=_0x5c7728;this[_0x3dee8f(0x266)][_0x3dee8f(0x21e)]['on'](_0x3dee8f(0x1d5),(_0x3e0363,[_0x3bd4dd])=>{const _0x566440=_0x3dee8f;if(this[_0x566440(0x25c)][_0x566440(0x19e)])throw new _0x30765c(_0x566440(0x1fc),this);_0x3e0363[_0x566440(0x1c6)](),this[_0x566440(0x1ab)]();const _0x1d38ff=this[_0x566440(0x266)][_0x566440(0x19c)][_0x566440(0x18e)](_0x566440(0x1c1)),_0x83ef=this[_0x566440(0x26d)](_0x3bd4dd,_0x1d38ff);0x0==_0x83ef[_0x566440(0x1be)]&&_0x83ef[_0x566440(0x1fd)](new _0x8f63b(0x0)),_0x3e0363[_0x566440(0x22e)]=this[_0x566440(0x27b)](_0x83ef)[_0x566440(0x1d1)](()=>{const _0x3ba40f=_0x566440;this[_0x3ba40f(0x266)][_0x3ba40f(0x191)][_0x3ba40f(0x18e)](_0x5074aa)[_0x3ba40f(0x26b)](this),this[_0x3ba40f(0x266)][_0x3ba40f(0x21e)][_0x3ba40f(0x209)](_0x3ba40f(0x1d6));})[_0x566440(0x205)](_0xa68ad9=>this[_0x566440(0x1d2)](_0x566440(0x246),_0xa68ad9))[_0x566440(0x1af)](()=>this[_0x566440(0x20f)]());},{'priority':_0x3dee8f(0x239)}),this[_0x3dee8f(0x266)]['on'](_0x3dee8f(0x268),async(_0x470613,[_0x40d3b3,_0x3c0835])=>{const _0x37f3d6=_0x3dee8f;_0x470613[_0x37f3d6(0x1c6)]();const _0x35b1cf=this[_0x37f3d6(0x266)][_0x37f3d6(0x1aa)][_0x37f3d6(0x22b)][_0x37f3d6(0x236)](_0x40d3b3);if(!this[_0x37f3d6(0x247)][_0x37f3d6(0x1b5)](_0x40d3b3)){const _0x2e67fb=_0x3c0835&&_0x3c0835[_0x37f3d6(0x21e)]?_0x3c0835[_0x37f3d6(0x21e)]:'',_0x1d1819=_0x3c0835&&_0x3c0835[_0x37f3d6(0x1f9)]?_0x3c0835[_0x37f3d6(0x1f9)]:{};await this[_0x37f3d6(0x21f)](_0x40d3b3,_0x2e67fb,_0x1d1819);}this[_0x37f3d6(0x266)][_0x37f3d6(0x1aa)][_0x37f3d6(0x25d)]({'isUndoable':!0x1},()=>{const _0x129c5e=_0x37f3d6;_0x35b1cf[_0x129c5e(0x1b3)]=!0x0,this[_0x129c5e(0x266)][_0x129c5e(0x1aa)][_0x129c5e(0x22b)][_0x129c5e(0x24f)][_0x129c5e(0x197)](_0x35b1cf);});},{'priority':_0x3dee8f(0x239)});}async[_0x5c7728(0x23d)](_0xf44829){const _0x249833=_0x5c7728,_0x42ed8b=this[_0x249833(0x266)][_0x249833(0x191)][_0x249833(0x18e)](_0x1f4150),{connection:_0x125219}=this[_0x249833(0x266)][_0x249833(0x191)][_0x249833(0x18e)](_0x5074aa),_0x24d530=new Set();for(const _0x415829 of _0xf44829){const _0x58b3db=_0x415829[_0x249833(0x23c)];_0x58b3db&&!_0x42ed8b[_0x249833(0x283)](_0x58b3db)&&_0x24d530[_0x249833(0x231)](_0x58b3db);}if(0x0===_0x24d530[_0x249833(0x24a)])return;const _0x249999=await _0x533fad[_0x249833(0x1ad)](_0x125219,Array[_0x249833(0x1f4)](_0x24d530));for(const _0x4c0e57 of _0x249999)_0x42ed8b[_0x249833(0x283)](_0x4c0e57['id'])||_0x42ed8b[_0x249833(0x1e8)](_0x4c0e57);}[_0x5c7728(0x26d)](_0x75e40c,_0x2b86f4={}){const _0x20b3a5=_0x5c7728,_0x48d7c2=this[_0x20b3a5(0x266)][_0x20b3a5(0x1aa)],_0x21a51f=[];let _0x1129cd=0x0;const _0x15d639=_0x20b3a5(0x285)==typeof _0x75e40c?{'main':_0x75e40c}:_0x75e40c;for(const _0x1cb287 of Object[_0x20b3a5(0x224)](_0x15d639)){if(!this[_0x20b3a5(0x25c)][_0x20b3a5(0x232)][_0x20b3a5(0x1b5)](_0x1cb287))throw new _0x30765c(_0x20b3a5(0x244),this);const _0x2524b1=this[_0x20b3a5(0x266)][_0x20b3a5(0x21e)][_0x20b3a5(0x25a)](_0x15d639[_0x1cb287]),_0x70b00b=this[_0x20b3a5(0x25c)][_0x20b3a5(0x236)](_0x1cb287),_0x4eec83=new _0x496b8d(_0x48d7c2[_0x20b3a5(0x204)](_0x70b00b,0x0),_0x2524b1,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x4eec83);for(const [_0x323b21,_0x57653e]of _0x2524b1[_0x20b3a5(0x1d9)]){const _0x328223=_0x48d7c2[_0x20b3a5(0x22f)](_0x48d7c2[_0x20b3a5(0x1ed)](_0x70b00b,_0x57653e[_0x20b3a5(0x256)][_0x20b3a5(0x290)][_0x20b3a5(0x259)]()),_0x48d7c2[_0x20b3a5(0x1ed)](_0x70b00b,_0x57653e[_0x20b3a5(0x20b)][_0x20b3a5(0x290)][_0x20b3a5(0x259)]())),_0x2e6d1c=new _0x459bd0(_0x323b21,null,_0x328223,_0x48d7c2[_0x20b3a5(0x1d9)],!0x0,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x2e6d1c);}}if(_0x2b86f4)for(const [_0x5d2757,_0x4bb5a4]of Object[_0x20b3a5(0x27a)](_0x2b86f4)){const _0x5dee2c=_0x48d7c2[_0x20b3a5(0x22b)][_0x20b3a5(0x236)](_0x5d2757);if(!_0x5dee2c)throw new _0x30765c(_0x20b3a5(0x207),null);for(const [_0xd1a8bc,_0x54374f]of Object[_0x20b3a5(0x27a)](_0x4bb5a4))if(null!==_0x54374f){const _0x47ebd9=new _0x413ef6(_0x5dee2c,_0xd1a8bc,null,_0x54374f,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x47ebd9);}}return _0x21a51f;}async[_0x5c7728(0x21f)](_0x4c457b,_0x3fd851,_0x3a2fb3){const _0x1b1b62=_0x5c7728;this[_0x1b1b62(0x26d)]({[_0x4c457b]:_0x3fd851},{[_0x4c457b]:_0x3a2fb3})[_0x1b1b62(0x1b7)]((_0x4bd355,_0x8ae27d)=>{const _0x34eb90=_0x1b1b62;_0x4bd355[_0x34eb90(0x20c)]=this[_0x34eb90(0x25c)][_0x34eb90(0x19e)]+_0x8ae27d,_0x4bd355[_0x34eb90(0x1a4)]=!0x0,this[_0x34eb90(0x228)](_0x4bd355);}),this[_0x1b1b62(0x1ee)](),await this[_0x1b1b62(0x281)]();}async[_0x5c7728(0x21b)](_0x2c22b0,_0x5aeeeb){const _0x2f3503=_0x5c7728;let _0x274b2f;this[_0x2f3503(0x192)]=_0x2c22b0[_0x2f3503(0x1b4)];const _0x16c968=_0x2c22b0[_0x2f3503(0x216)]&&!_0x2c22b0[_0x2f3503(0x1ec)],_0x2f15ba=_0x16c968?0x0:_0x2c22b0[_0x2f3503(0x21e)][_0x2f3503(0x20c)];if(_0x5aeeeb[_0x2f3503(0x1b7)](_0x3e7e87=>{const _0x356e2c=_0x2f3503;_0x3e7e87[_0x356e2c(0x1a4)]=!0x0,_0x3e7e87[_0x356e2c(0x199)]=_0x2c22b0[_0x356e2c(0x1cc)],_0x3e7e87[_0x356e2c(0x23c)]=null;}),_0x16c968)_0x274b2f=_0x5aeeeb,this[_0x2f3503(0x278)](_0x274b2f,_0x16c968);else{if(_0x2c22b0[_0x2f3503(0x1ec)]){const _0x4f3d69=this[_0x2f3503(0x26d)](_0x2c22b0[_0x2f3503(0x1ec)]);this[_0x2f3503(0x25c)][_0x2f3503(0x1a3)][_0x2f3503(0x19e)]=-_0x4f3d69[_0x2f3503(0x1be)],_0x4f3d69[_0x2f3503(0x1b7)](_0x3e7bad=>{const _0x2ce244=_0x2f3503;_0x3e7bad[_0x2ce244(0x20c)]-=_0x4f3d69[_0x2ce244(0x1be)],_0x3e7bad[_0x2ce244(0x199)]=_0x2c22b0[_0x2ce244(0x1cc)],_0x3e7bad[_0x2ce244(0x1a4)]=!0x0,_0x3e7bad[_0x2ce244(0x23c)]=null;}),this[_0x2f3503(0x278)](_0x4f3d69,!0x0),this[_0x2f3503(0x227)][_0x2f3503(0x19e)]=-_0x4f3d69[_0x2f3503(0x1be)]+this[_0x2f3503(0x192)],this[_0x2f3503(0x28b)](_0x4f3d69);}this[_0x2f3503(0x25c)][_0x2f3503(0x1a3)][_0x2f3503(0x19e)]=_0x2f15ba,_0x274b2f=this[_0x2f3503(0x26a)](_0x2c22b0[_0x2f3503(0x21e)],_0x2c22b0[_0x2f3503(0x1d8)]),await this[_0x2f3503(0x23d)](_0x274b2f),this[_0x2f3503(0x278)](_0x274b2f,_0x16c968);}_0x2c22b0[_0x2f3503(0x19a)]&&(this[_0x2f3503(0x251)][_0x2f3503(0x230)](_0x274b2f,_0x2c22b0[_0x2f3503(0x19a)]),this[_0x2f3503(0x25f)]=_0x2c22b0[_0x2f3503(0x19a)]),this[_0x2f3503(0x227)][_0x2f3503(0x19e)]=_0x2f15ba+this[_0x2f3503(0x192)],this[_0x2f3503(0x28b)](_0x274b2f),_0x5aeeeb[_0x2f3503(0x265)](_0x5d54bc=>{const _0x5c2b63=_0x2f3503,_0x1289e0=this[_0x5c2b63(0x1a0)](_0x5d54bc);return _0x1289e0&&!this[_0x5c2b63(0x247)][_0x5c2b63(0x1b5)](_0x1289e0);})[_0x2f3503(0x1b7)]((_0x5455ed,_0x497ef5)=>{const _0x278362=_0x2f3503;_0x5455ed[_0x278362(0x20c)]=this[_0x278362(0x25c)][_0x278362(0x19e)]+_0x497ef5,this[_0x278362(0x228)](_0x5455ed);}),this[_0x2f3503(0x234)]()?(this[_0x2f3503(0x200)]=0x0,this[_0x2f3503(0x1ee)](!0x0),await this[_0x2f3503(0x281)]()):(this[_0x2f3503(0x1c7)]=!0x1,this[_0x2f3503(0x20f)]());}[_0x5c7728(0x1d2)](_0x13b5ad,_0x27b4a1){const _0x2910f7=_0x5c7728,_0x37469e=_0x27b4a1&&_0x27b4a1[_0x2910f7(0x194)];if(_0x37469e&&_0x37469e[_0x2910f7(0x21c)](_0x2910f7(0x1b1)))throw _0x27b4a1;const _0x36b500=this[_0x2910f7(0x266)][_0x2910f7(0x191)][_0x2910f7(0x18e)](_0x5074aa);throw this[_0x2910f7(0x1c7)]=!0x0,_0x36b500[_0x2910f7(0x208)](),this[_0x2910f7(0x266)][_0x2910f7(0x203)](_0x2910f7(0x21a)),new _0x30765c(_0x13b5ad,this[_0x2910f7(0x266)],_0x37469e?{'originalError':_0x37469e}:void 0x0);}[_0x5c7728(0x228)](_0x1e350a){const _0x5d6030=_0x5c7728;this[_0x5d6030(0x195)][_0x5d6030(0x1b5)](_0x1e350a)||(this[_0x5d6030(0x195)][_0x5d6030(0x231)](_0x1e350a),this[_0x5d6030(0x1a5)][_0x5d6030(0x1fd)](_0x1e350a),this[_0x5d6030(0x1c9)]||_0x5d6030(0x198)==_0x1e350a[_0x5d6030(0x18f)]&&!_0x1e350a[_0x5d6030(0x21d)]||this[_0x5d6030(0x1ab)]());}[_0x5c7728(0x1ee)](_0x56d2fe=!0x1){const _0x3c82da=_0x5c7728;!_0x56d2fe&&this[_0x3c82da(0x1c7)]||(this[_0x3c82da(0x1c7)]=!0x0,clearTimeout(this[_0x3c82da(0x27c)]),this[_0x3c82da(0x27c)]=setTimeout(()=>{const _0x345f83=_0x3c82da;this[_0x345f83(0x1c3)]()[_0x345f83(0x1d1)](_0x1125b3=>{const _0x204aec=_0x345f83;_0x1125b3&&(this[_0x204aec(0x20f)](),this[_0x204aec(0x1c7)]=!0x1);})[_0x345f83(0x205)](_0x266012=>{const _0x13bdca=_0x345f83;this[_0x13bdca(0x20f)](),this[_0x13bdca(0x1c7)]=!0x1,function(_0x2210e5){const _0x37992a=_0x13bdca;return _0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x28e))||_0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x1cb))||_0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x1fe));}(_0x266012)||this[_0x13bdca(0x1d2)](_0x266012[_0x13bdca(0x194)],_0x266012);});},this[_0x3c82da(0x200)]));}[_0x5c7728(0x281)](){return new Promise(_0x47e668=>{const _0x5b34e0=_0x5c29;this['on'](_0x5b34e0(0x19d),()=>{_0x47e668();});});}async[_0x5c7728(0x1c3)](){const _0x43987a=_0x5c7728,_0x2c49fa=this[_0x43987a(0x266)][_0x43987a(0x191)][_0x43987a(0x18e)](_0x350120);if(this[_0x43987a(0x23a)]()&&(_0x2c49fa[_0x43987a(0x1ef)](),this[_0x43987a(0x202)]=!0x1),!this[_0x43987a(0x234)]())return!0x0;const _0x19effd=[...this[_0x43987a(0x1a5)]];for(const _0x21e6cf of _0x19effd)_0x21e6cf[_0x43987a(0x279)]=this[_0x43987a(0x25c)][_0x43987a(0x1a3)][_0x43987a(0x250)](_0x21e6cf);const _0x26921a=this[_0x43987a(0x251)][_0x43987a(0x24e)](_0x19effd),_0x32d6e0=G++,_0xba993=this[_0x43987a(0x1a8)](_0x19effd),_0xc2b1f5=await this[_0x43987a(0x190)][_0x43987a(0x212)](_0xba993,_0xba993[_0x43987a(0x20c)],_0x26921a);try{return await this[_0x43987a(0x20a)](_0x19effd,_0xc2b1f5,_0x32d6e0);}catch(_0x16a9ed){return this[_0x43987a(0x1d2)](_0x43987a(0x20d),_0x16a9ed);}}async[_0x5c7728(0x20a)](_0x5f5a30,_0x3771fa,_0x5dace7){const _0x2627eb=_0x5c7728;if(_0x2627eb(0x1f3)in _0x3771fa)throw _0x3771fa[_0x2627eb(0x1f3)];let _0x2a246d=!0x1;if(_0x3771fa[_0x2627eb(0x216)]){_0x3771fa[_0x2627eb(0x19a)]&&(this[_0x2627eb(0x25f)]=_0x3771fa[_0x2627eb(0x19a)]),this[_0x2627eb(0x1a5)]=this[_0x2627eb(0x1a5)][_0x2627eb(0x265)](_0x49edcb=>!_0x5f5a30[_0x2627eb(0x217)](_0x49edcb));for(const _0x2020d2 of _0x5f5a30)_0x2020d2[_0x2627eb(0x199)]=_0x2627eb(0x1a2)in _0x3771fa&&_0x3771fa[_0x2627eb(0x1a2)]||void 0x0;K(_0x5f5a30,_0x3771fa[_0x2627eb(0x19e)]-_0x5f5a30[_0x2627eb(0x1be)]),this[_0x2627eb(0x28b)](_0x5f5a30);const _0x241b4f=_0x5f5a30[_0x2627eb(0x265)](_0x27f48f=>{const _0x2c903a=_0x2627eb;if(!_0x27f48f[_0x2c903a(0x1a4)])return!0x1;const _0x2c7553=this[_0x2c903a(0x1a0)](_0x27f48f);return _0x2c7553&&!this[_0x2c903a(0x247)][_0x2c903a(0x1b5)](_0x2c7553);});K(_0x241b4f,this[_0x2627eb(0x25c)][_0x2627eb(0x19e)]),this[_0x2627eb(0x278)](_0x241b4f),_0x2a246d=!0x0,this[_0x2627eb(0x200)]=this[_0x2627eb(0x211)];}else{const _0x4994c1=this[_0x2627eb(0x26a)](_0x3771fa[_0x2627eb(0x21e)],_0x3771fa[_0x2627eb(0x1d8)])[_0x2627eb(0x265)](_0x34d0bb=>_0x34d0bb[_0x2627eb(0x20c)]>=this[_0x2627eb(0x1fa)]);_0x4994c1[_0x2627eb(0x1b7)](_0x5b365a=>this[_0x2627eb(0x1ac)](_0x5b365a)),this[_0x2627eb(0x1a5)]=this[_0x2627eb(0x1a5)][_0x2627eb(0x265)](_0x22245f=>!_0x22245f[_0x2627eb(0x1a4)]||!this[_0x2627eb(0x247)][_0x2627eb(0x1b5)](this[_0x2627eb(0x1a0)](_0x22245f))),this[_0x2627eb(0x1a5)][_0x2627eb(0x1be)]&&K(this[_0x2627eb(0x1a5)],this[_0x2627eb(0x1a5)][0x0][_0x2627eb(0x20c)]),await this[_0x2627eb(0x23d)](_0x4994c1),_0x2a246d=this[_0x2627eb(0x215)](_0x4994c1,_0x3771fa[_0x2627eb(0x19e)],_0x3771fa[_0x2627eb(0x19a)]),this[_0x2627eb(0x200)]=Math[_0x2627eb(0x245)](this[_0x2627eb(0x200)]/0x2);}return _0x2a246d?!this[_0x2627eb(0x234)]()||(this[_0x2627eb(0x1ee)](!0x0),!0x1):this[_0x2627eb(0x1d2)](_0x2627eb(0x23b));}[_0x5c7728(0x215)](_0x5c7e0a,_0x127473,_0x1eda32){const _0x54d8ee=_0x5c7728;try{const _0x1d5344={'document':this[_0x54d8ee(0x25c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x9ef4aa,operationsB:_0x44b967,originalOperations:_0x4e84ee}=_0x4c0dd8(_0x5c7e0a,this[_0x54d8ee(0x1a5)],_0x1d5344);K(_0x9ef4aa,this[_0x54d8ee(0x25c)][_0x54d8ee(0x19e)]),K(_0x44b967,_0x127473);for(const _0x4f6569 of _0x9ef4aa){const _0x515fa0=_0x4e84ee[_0x54d8ee(0x18e)](_0x4f6569);_0x4f6569[_0x54d8ee(0x23c)]=_0x515fa0?_0x515fa0[_0x54d8ee(0x23c)]:null;}_0x1eda32&&(this[_0x54d8ee(0x251)][_0x54d8ee(0x230)](_0x5c7e0a,_0x1eda32),this[_0x54d8ee(0x25f)]=_0x1eda32),this[_0x54d8ee(0x1a5)]=[..._0x44b967],this[_0x54d8ee(0x278)](_0x9ef4aa),this[_0x54d8ee(0x28b)](_0x5c7e0a);}catch(_0x57287d){return console[_0x54d8ee(0x1f3)](_0x57287d),!0x1;}return!0x0;}[_0x5c7728(0x278)](_0x5e6eb0,_0x4f1245=!0x1){const _0x29a116=_0x5c7728;this[_0x29a116(0x266)][_0x29a116(0x1aa)][_0x29a116(0x25d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x22efb5=>{const _0x9ca003=_0x29a116;for(const _0x355e47 of _0x5e6eb0)this[_0x9ca003(0x195)][_0x9ca003(0x231)](_0x355e47),this[_0x9ca003(0x1ac)](_0x355e47),_0x22efb5[_0x9ca003(0x1ce)][_0x9ca003(0x1f1)](_0x355e47),this[_0x9ca003(0x266)][_0x9ca003(0x1aa)][_0x9ca003(0x1e0)](_0x355e47);});}[_0x5c7728(0x1ac)](_0x292f54){const _0x2d132d=_0x5c7728,_0x20e7fb=this[_0x2d132d(0x1a0)](_0x292f54);_0x20e7fb&&this[_0x2d132d(0x247)][_0x2d132d(0x231)](_0x20e7fb);}[_0x5c7728(0x1a0)](_0xf7b818){const _0x177003=_0x5c7728;let _0x2ddcc9,_0x13c35a;switch(_0xf7b818[_0x177003(0x18f)]){case _0x177003(0x1f7):_0x2ddcc9=_0xf7b818[_0x177003(0x249)][_0x177003(0x235)];break;case _0x177003(0x198):if(_0x13c35a=_0xf7b818[_0x177003(0x23f)],!_0x13c35a)return null;_0x2ddcc9=_0x13c35a[_0x177003(0x235)];break;case _0x177003(0x22c):_0x2ddcc9=_0xf7b818[_0x177003(0x235)];break;case _0x177003(0x1f8):_0x2ddcc9=_0xf7b818[_0x177003(0x19f)];break;case _0x177003(0x257):_0x2ddcc9=_0xf7b818[_0x177003(0x243)][_0x177003(0x235)];break;default:return null;}return _0x2ddcc9[_0x177003(0x289)];}[_0x5c7728(0x28b)](_0x3a8f6f){const _0x4a339c=_0x5c7728;_0x3a8f6f[_0x4a339c(0x1b7)](_0x48c6e7=>{const _0x108ecb=_0x4a339c,_0x1a2125=_0x48c6e7[_0x108ecb(0x255)]();_0x1a2125[_0x108ecb(0x23c)]=_0x48c6e7[_0x108ecb(0x23c)],_0x1a2125[_0x108ecb(0x1a4)]=!!_0x48c6e7[_0x108ecb(0x1a4)],_0x1a2125[_0x108ecb(0x199)]=_0x48c6e7[_0x108ecb(0x199)],_0x1a2125[_0x108ecb(0x20c)]+=this[_0x108ecb(0x192)],_0x48c6e7[_0x108ecb(0x1e7)]&&this[_0x108ecb(0x276)][_0x108ecb(0x231)](_0x1a2125),this[_0x108ecb(0x227)][_0x108ecb(0x1f1)](_0x1a2125);});}[_0x5c7728(0x1ba)](_0x1e115d){const _0x4c6dbc=_0x5c7728,_0x2e7384=this[_0x4c6dbc(0x266)][_0x4c6dbc(0x191)][_0x4c6dbc(0x18e)](_0x4c6dbc(0x18d)),_0x39abbd=this[_0x4c6dbc(0x266)][_0x4c6dbc(0x1d4)];_0x1e115d||(_0x1e115d=_0xb6e749(_0x39abbd,_0x4c6dbc(0x1a6))),_0x2e7384[_0x4c6dbc(0x258)](_0x1e115d,{'title':_0xb6e749(_0x39abbd,_0x4c6dbc(0x1c5)),'namespace':_0x4c6dbc(0x1d7)}),this[_0x4c6dbc(0x1f5)]=!0x0,clearTimeout(this[_0x4c6dbc(0x27c)]),this[_0x4c6dbc(0x1a5)]=[],this[_0x4c6dbc(0x266)][_0x4c6dbc(0x191)][_0x4c6dbc(0x18e)](_0x5074aa)[_0x4c6dbc(0x208)]();}[_0x5c7728(0x1ab)](){const _0x53e201=_0x5c7728;this[_0x53e201(0x1c9)]||(this[_0x53e201(0x1c9)]=this[_0x53e201(0x266)][_0x53e201(0x191)][_0x53e201(0x18e)](_0x9d865f)[_0x53e201(0x231)](_0xb6e749(this[_0x53e201(0x266)][_0x53e201(0x1d4)],_0x53e201(0x262))));}[_0x5c7728(0x20f)](){const _0x1e72ca=_0x5c7728;this[_0x1e72ca(0x1c9)]&&(this[_0x1e72ca(0x266)][_0x1e72ca(0x191)][_0x1e72ca(0x18e)](_0x9d865f)[_0x1e72ca(0x226)](this[_0x1e72ca(0x1c9)]),this[_0x1e72ca(0x1c9)]=null);}[_0x5c7728(0x1a8)](_0x4f5af6){const _0x4f9ebb=_0x5c7728,_0x3de0fd=_0x4f5af6[_0x4f9ebb(0x241)](_0x373f4=>_0x373f4[_0x4f9ebb(0x210)]());return this[_0x4f9ebb(0x233)][_0x4f9ebb(0x238)](_0x3de0fd);}[_0x5c7728(0x26a)](_0x51f8d0,_0x1bfb3d){const _0xe0ebc3=_0x5c7728;return this[_0xe0ebc3(0x233)][_0xe0ebc3(0x261)](_0x51f8d0)[_0xe0ebc3(0x241)]((_0x409997,_0x5e655f)=>{const _0x3aba9f=_0xe0ebc3,_0x14364c=_0x3aba9f(0x1d5)==_0x1bfb3d[_0x5e655f][_0x3aba9f(0x18f)];if(_0x3aba9f(0x218)==_0x409997[_0x3aba9f(0x26c)]){const _0x5ef76e=_0x409997[_0x3aba9f(0x249)][_0x3aba9f(0x235)];!this[_0x3aba9f(0x25c)][_0x3aba9f(0x236)](_0x5ef76e)&&(this[_0x3aba9f(0x25c)][_0x3aba9f(0x240)](_0x3aba9f(0x28d),_0x5ef76e)[_0x3aba9f(0x1cd)]=!0x1);}const _0x394bfe=_0x508621[_0x3aba9f(0x242)](_0x409997,this[_0x3aba9f(0x25c)]);return _0x394bfe[_0x3aba9f(0x279)]=_0x409997[_0x3aba9f(0x279)],_0x394bfe[_0x3aba9f(0x1a4)]=_0x14364c,_0x394bfe[_0x3aba9f(0x23c)]=_0x14364c?null:_0x1bfb3d[_0x5e655f][_0x3aba9f(0x1de)],_0x394bfe[_0x3aba9f(0x1e7)]=_0x3aba9f(0x1b0)===_0x1bfb3d[_0x5e655f][_0x3aba9f(0x18f)],_0x394bfe[_0x3aba9f(0x199)]=_0x1bfb3d[_0x5e655f][_0x3aba9f(0x199)],_0x394bfe;});}[_0x5c7728(0x1db)](){const _0x142bcb=_0x5c7728;this[_0x142bcb(0x202)]=!0x0,this[_0x142bcb(0x23a)]()?this[_0x142bcb(0x1ee)]():this[_0x142bcb(0x202)]=!0x1;}[_0x5c7728(0x23a)](){const _0x56ac68=_0x5c7728,_0x58ca93=this[_0x56ac68(0x266)][_0x56ac68(0x191)][_0x56ac68(0x18e)](_0x1d9ade)[_0x56ac68(0x196)][_0x56ac68(0x18e)](this[_0x56ac68(0x24d)]);return!this[_0x56ac68(0x266)][_0x56ac68(0x1f6)]&&!!_0x58ca93&&_0x58ca93[_0x56ac68(0x1be)]>0x1&&this[_0x56ac68(0x202)];}[_0x5c7728(0x234)](){const _0x3e42ba=_0x5c7728;return this[_0x3e42ba(0x1a5)][_0x3e42ba(0x1be)]>0x0||this[_0x3e42ba(0x23a)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x21724c,_0x590865){const _0x138a14=_0x5c7728;for(const _0x2164a4 of _0x21724c)_0x2164a4[_0x138a14(0x20c)]=_0x590865++;}class J{[_0x5c7728(0x213)];[_0x5c7728(0x1b8)];constructor(_0x54ffd3){const _0x33b67a=_0x5c7728;this[_0x33b67a(0x213)]=_0x54ffd3,this[_0x33b67a(0x1b8)]=new WeakMap();}[_0x5c7728(0x24e)](_0x216f84){const _0x2e89f6=_0x5c7728;let _0x9f9abe=_0x216f84[_0x2e89f6(0x1be)];for(;_0x9f9abe--;){const _0x3fef99=_0x216f84[_0x9f9abe];if(!this[_0x2e89f6(0x213)][_0x2e89f6(0x1b5)](_0x3fef99)){if(!this[_0x2e89f6(0x1b8)][_0x2e89f6(0x1b5)](_0x3fef99)){const _0x19bde3=_0x4bd1d9()[_0x2e89f6(0x259)](0x1,0x12);this[_0x2e89f6(0x1b8)][_0x2e89f6(0x269)](_0x3fef99,_0x19bde3);}return this[_0x2e89f6(0x1b8)][_0x2e89f6(0x18e)](_0x3fef99);}}}[_0x5c7728(0x230)](_0x2ddb81,_0x1b92f0){const _0x162513=_0x5c7728;if(!_0x1b92f0)return;let _0x3bb73e=_0x2ddb81[_0x162513(0x1be)];for(;_0x3bb73e--;){const _0x459747=_0x2ddb81[_0x3bb73e];this[_0x162513(0x213)][_0x162513(0x1b5)](_0x459747)||this[_0x162513(0x1b8)][_0x162513(0x269)](_0x459747,_0x1b92f0);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x114295=_0x508c;(function(_0x4d8c12,_0x49497c){const _0x228bc7=_0x508c,_0x3fffb0=_0x4d8c12();while(!![]){try{const _0x1d62a1=parseInt(_0x228bc7(0x8e))/0x1+parseInt(_0x228bc7(0xc5))/0x2+-parseInt(_0x228bc7(0x90))/0x3*(-parseInt(_0x228bc7(0x9f))/0x4)+-parseInt(_0x228bc7(0xac))/0x5*(parseInt(_0x228bc7(0xc2))/0x6)+-parseInt(_0x228bc7(0xc0))/0x7+parseInt(_0x228bc7(0xb1))/0x8*(-parseInt(_0x228bc7(0xc1))/0x9)+parseInt(_0x228bc7(0xaf))/0xa*(parseInt(_0x228bc7(0xa8))/0xb);if(_0x1d62a1===_0x49497c)break;else _0x3fffb0['push'](_0x3fffb0['shift']());}catch(_0x140640){_0x3fffb0['push'](_0x3fffb0['shift']());}}}(_0x3d0a,0x73cfe));import{ContextPlugin as _0x352fbf}from'ckeditor5/src/core.js';import{Collection as _0x2e23dd,CKEditorError as _0x553b50}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x251269}from'./websocketgateway.js';import{Users as _0x200ec3}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x508c(_0x27f6c5,_0x566acf){const _0x3d0a48=_0x3d0a();return _0x508c=function(_0x508ca7,_0x26a64a){_0x508ca7=_0x508ca7-0x8d;let _0x5d726e=_0x3d0a48[_0x508ca7];return _0x5d726e;},_0x508c(_0x27f6c5,_0x566acf);}function _0x3d0a(){const _0x3f2d2e=['change:state','247614lhzNru','register','pluginName','isMe','context','channelConnectedUsers','requires','stopListening','_handleSessionRemove','forEach','assign','getUserBySessionId','channelSessions','has','mySessionId','8nVNKkc','hiddenInPresenceList','sessionId','sessions-unregister-not-exist','set','plugins','_createUser','orderNumber','isPremiumPlugin','497101wkYmDD','listenTo','values','sessionAdd:','990425oetwms','remove','unregister','290vMTqnc','defineMe','144LfIxQs','init','size','connected','role','_uniqueUsersCount','connection','isOfficialPlugin','Sessions','addUser','_registeredSessions','user','fire','allConnectedUsers','get','5596549AFHQaD','348291HNQSjw','6hRPzNC','_handleSessionAdd','clear','22864AoZIvl','getUserSessions','state','add','sessions-register-already-registered','_users','getUser','delete','getUserRole','681493HYUUVN'];_0x3d0a=function(){return _0x3f2d2e;};return _0x3d0a();}export class Sessions extends _0x352fbf{[_0x114295(0x9c)];[_0x114295(0x95)];[_0x114295(0xbe)];[_0x114295(0xbb)];[_0x114295(0xb6)];[_0x114295(0xca)];static get[_0x114295(0x92)](){const _0x149f23=_0x114295;return _0x149f23(0xb9);}static get[_0x114295(0xb8)](){return!0x0;}static get[_0x114295(0xa7)](){return!0x0;}static get[_0x114295(0x96)](){return[_0x251269,_0x200ec3];}constructor(_0x1f48a6){const _0x3c2444=_0x114295;super(_0x1f48a6),this[_0x3c2444(0x9c)]=new Map(),this[_0x3c2444(0x95)]=new Map(),this[_0x3c2444(0xbe)]=new _0x2e23dd(),this[_0x3c2444(0xbb)]=new Map(),this[_0x3c2444(0xb6)]=0x0,this[_0x3c2444(0xca)]=this[_0x3c2444(0x94)][_0x3c2444(0xa4)][_0x3c2444(0xbf)](_0x200ec3);}[_0x114295(0xb2)](){const _0x4c1651=_0x114295,_0x23c615=this[_0x4c1651(0x94)][_0x4c1651(0xa4)][_0x4c1651(0xbf)](_0x251269);this[_0x4c1651(0xa9)](_0x23c615,_0x4c1651(0x8f),(_0xfd664c,_0x48eb94,_0x4ae833)=>{const _0x53fb1d=_0x4c1651;if(_0x53fb1d(0xb4)!==_0x4ae833)this[_0x53fb1d(0x9c)][_0x53fb1d(0x99)](_0x292d31=>_0x292d31[_0x53fb1d(0xc4)]()),this[_0x53fb1d(0x95)][_0x53fb1d(0x99)](_0x34279f=>_0x34279f[_0x53fb1d(0xc4)]()),this[_0x53fb1d(0xbe)][_0x53fb1d(0xc4)]();else{for(const [_0x15076c,_0x51cc38]of this[_0x53fb1d(0xbb)])for(const _0x1c9535 of _0x51cc38)this[_0x53fb1d(0xc3)](_0x15076c,_0x1c9535);}}),this[_0x4c1651(0xa5)](_0x23c615[_0x4c1651(0xb7)]['me'],!0x0);}[_0x114295(0x91)](_0x1f99fc,_0x3a6e28){const _0x11ac91=_0x114295;if(this[_0x11ac91(0xbb)][_0x11ac91(0x9d)](_0x1f99fc))throw new _0x553b50(_0x11ac91(0xc9),null,{'channelId':_0x1f99fc});this[_0x11ac91(0xbb)][_0x11ac91(0xa3)](_0x1f99fc,_0x3a6e28),this[_0x11ac91(0x9c)][_0x11ac91(0xa3)](_0x1f99fc,new _0x2e23dd()),this[_0x11ac91(0x95)][_0x11ac91(0xa3)](_0x1f99fc,new _0x2e23dd()),this[_0x11ac91(0xa9)](_0x3a6e28,_0x11ac91(0xc8),(_0x26f60b,_0x42cf41)=>this[_0x11ac91(0xc3)](_0x1f99fc,_0x42cf41)),this[_0x11ac91(0xa9)](_0x3a6e28,_0x11ac91(0xad),(_0x1a1324,_0x1ab442)=>this[_0x11ac91(0x98)](_0x1f99fc,_0x1ab442));for(const _0x3b1e27 of _0x3a6e28)this[_0x11ac91(0xc3)](_0x1f99fc,_0x3b1e27);}[_0x114295(0xae)](_0x5ab0f3){const _0x4952d1=_0x114295;if(!this[_0x4952d1(0xbb)][_0x4952d1(0x9d)](_0x5ab0f3))throw new _0x553b50(_0x4952d1(0xa2),null,{'channelId':_0x5ab0f3});const _0x49c9ed=this[_0x4952d1(0xbb)][_0x4952d1(0xbf)](_0x5ab0f3);this[_0x4952d1(0x97)](_0x49c9ed);for(const _0xeb75ef of _0x49c9ed)_0x4952d1(0xb4)===this[_0x4952d1(0x94)][_0x4952d1(0xa4)][_0x4952d1(0xbf)](_0x251269)[_0x4952d1(0xc7)]&&this[_0x4952d1(0x98)](_0x5ab0f3,_0xeb75ef);this[_0x4952d1(0xbb)][_0x4952d1(0xcc)](_0x5ab0f3),this[_0x4952d1(0x9c)][_0x4952d1(0xcc)](_0x5ab0f3),this[_0x4952d1(0x95)][_0x4952d1(0xcc)](_0x5ab0f3);}get[_0x114295(0x9e)](){const _0x28146e=_0x114295;return this[_0x28146e(0x94)][_0x28146e(0xa4)][_0x28146e(0xbf)](_0x251269)[_0x28146e(0xb7)][_0x28146e(0xa1)];}[_0x114295(0x9b)](_0x2aac09){const _0x52c2d1=_0x114295;for(const _0x2d7c8a of this[_0x52c2d1(0x9c)][_0x52c2d1(0xaa)]())for(const _0x7b6c1f of _0x2d7c8a)if(_0x7b6c1f['id']===_0x2aac09)return _0x7b6c1f[_0x52c2d1(0xbc)];}[_0x114295(0xc6)](_0x53cb2c,_0x539d02){const _0x28ff55=_0x114295,_0x33ece0=_0x539d02?[this[_0x28ff55(0x9c)][_0x28ff55(0xbf)](_0x539d02)]:this[_0x28ff55(0x9c)][_0x28ff55(0xaa)](),_0x418517=new Set();for(const _0x21d3a8 of _0x33ece0)for(const _0x188d70 of _0x21d3a8)_0x188d70[_0x28ff55(0xbc)]['id']===_0x53cb2c['id']&&_0x418517[_0x28ff55(0xc8)](_0x188d70['id']);return _0x418517;}[_0x114295(0x8d)](_0x380728){const _0x5305a8=_0x114295;for(const _0x5ea9ca of this[_0x5305a8(0x9c)][_0x5305a8(0xaa)]())for(const _0x57ec9b of _0x5ea9ca)if(_0x57ec9b[_0x5305a8(0xbc)]===_0x380728)return _0x57ec9b[_0x5305a8(0xb5)];}[_0x114295(0xc3)](_0x5a4ae3,_0x2bf796){const _0x5902b3=_0x114295;if(_0x5902b3(0xb4)!==this[_0x5902b3(0x94)][_0x5902b3(0xa4)][_0x5902b3(0xbf)](_0x251269)[_0x5902b3(0xc7)])return;const _0x13b1dc=_0x2bf796[_0x5902b3(0xbc)],_0x229fa1=this[_0x5902b3(0xca)][_0x5902b3(0xcb)](_0x13b1dc['id'])||this[_0x5902b3(0xa5)](_0x13b1dc),_0x1c9a0c=Object[_0x5902b3(0x9a)]({},_0x2bf796,{'user':_0x229fa1});if(this[_0x5902b3(0x9c)][_0x5902b3(0xbf)](_0x5a4ae3)[_0x5902b3(0xc8)](_0x1c9a0c),!_0x13b1dc[_0x5902b3(0xa0)]){const _0x56bac1=this[_0x5902b3(0x95)][_0x5902b3(0xbf)](_0x5a4ae3);_0x56bac1[_0x5902b3(0x9d)](_0x229fa1['id'])||_0x56bac1[_0x5902b3(0xc8)](_0x229fa1),this[_0x5902b3(0xbe)][_0x5902b3(0x9d)](_0x229fa1['id'])||_0x13b1dc[_0x5902b3(0xa0)]||this[_0x5902b3(0xbe)][_0x5902b3(0xc8)](_0x229fa1,_0x229fa1[_0x5902b3(0x93)]?0x0:void 0x0);}this[_0x5902b3(0xbd)](_0x5902b3(0xab)+_0x5a4ae3,{'channelId':_0x5a4ae3,'session':_0x1c9a0c});}[_0x114295(0x98)](_0xb923a4,_0x43bbf5){const _0x1cbf64=_0x114295;if(_0x1cbf64(0xb4)!==this[_0x1cbf64(0x94)][_0x1cbf64(0xa4)][_0x1cbf64(0xbf)](_0x251269)[_0x1cbf64(0xc7)])return;const _0x251fb9=this[_0x1cbf64(0x95)][_0x1cbf64(0xbf)](_0xb923a4),_0x5e6ec7=_0x43bbf5[_0x1cbf64(0xbc)];_0x5e6ec7['id']&&(this[_0x1cbf64(0x9c)][_0x1cbf64(0xbf)](_0xb923a4)[_0x1cbf64(0xad)](_0x43bbf5['id']),_0x251fb9[_0x1cbf64(0x9d)](_0x5e6ec7['id'])&&!this[_0x1cbf64(0xc6)](_0x5e6ec7,_0xb923a4)[_0x1cbf64(0xb3)]&&_0x251fb9[_0x1cbf64(0xad)](_0x5e6ec7['id']),this[_0x1cbf64(0xbe)][_0x1cbf64(0xbf)](_0x5e6ec7['id'])&&!this[_0x1cbf64(0xc6)](_0x5e6ec7)[_0x1cbf64(0xb3)]&&this[_0x1cbf64(0xbe)][_0x1cbf64(0xad)](_0x5e6ec7['id']));}[_0x114295(0xa5)](_0x356365,_0x59ae0b){const _0x1be190=_0x114295,_0x123ef4=this[_0x1be190(0xca)][_0x1be190(0xba)](_0x356365);return _0x59ae0b&&this[_0x1be190(0xca)][_0x1be190(0xb0)](_0x356365['id']),_0x123ef4[_0x1be190(0xa6)]=this[_0x1be190(0xb6)]++,_0x123ef4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39e27a=_0x1b49;(function(_0xc939a8,_0x4fd4a9){const _0x28a1d4=_0x1b49,_0x10c60f=_0xc939a8();while(!![]){try{const _0x18cfb6=-parseInt(_0x28a1d4(0x1c4))/0x1*(parseInt(_0x28a1d4(0x1f9))/0x2)+parseInt(_0x28a1d4(0x1b6))/0x3*(-parseInt(_0x28a1d4(0x1f7))/0x4)+-parseInt(_0x28a1d4(0x19f))/0x5+-parseInt(_0x28a1d4(0x18d))/0x6+-parseInt(_0x28a1d4(0x1e2))/0x7*(parseInt(_0x28a1d4(0x182))/0x8)+-parseInt(_0x28a1d4(0x181))/0x9+parseInt(_0x28a1d4(0x1b9))/0xa*(parseInt(_0x28a1d4(0x1b3))/0xb);if(_0x18cfb6===_0x4fd4a9)break;else _0x10c60f['push'](_0x10c60f['shift']());}catch(_0xbcec9){_0x10c60f['push'](_0x10c60f['shift']());}}}(_0x10be,0x3e1ae));import{Plugin as _0x237aa2}from'ckeditor5/src/core.js';function _0x1b49(_0x5c5d1e,_0x3a3231){const _0x10be29=_0x10be();return _0x1b49=function(_0x1b4944,_0x5d1c78){_0x1b4944=_0x1b4944-0x177;let _0x1be2a4=_0x10be29[_0x1b4944];return _0x1be2a4;},_0x1b49(_0x5c5d1e,_0x3a3231);}import{global as _0x581d10,DomEmitterMixin as _0x5088f6}from'ckeditor5/src/utils.js';function _0x10be(){const _0x3a3b43=['editingDowncast','keydown','textContent','toRange','1965556BOlIPw','remove','1922ImMyqs','end','user:range','isOfficialPlugin','root','ck-user__marker_hovered','getCustomProperty','_domEmitter','afterInit','removeClass','classList','mouseleave','UserMarkers','highest','isLimit','mySessionId','addMarker','ck-user__marker\x20','editor','enqueueChange','1598175sCzbrc','16UmIhZm','isPremiumPlugin','view','render','set','$text','clear','markerRange','name','updateMarker','markerToHighlight','2967780waSNHg','toDomElement','outerHTML','removeMarker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','Escape','isInline','undo','_createdBatches','getFirstRange','getPositions','plugins','getStart','user:','has','listenTo','schema','document','1757630CgcRlQ','selection','setAttribute','getSelectionClass','isObject','requires','data-session-id','span','change','fromRange','getContainedElement','nodeAfter','hasDomSelection','createRange','isDocumentOperation','isSimilar','pluginName','ck-user__marker-tooltip','editing','startsWith','11qztKgQ','getUserBySessionId','add','3sxNVIg','parent','applyOperation','21396310IGtlgX','delete','stopListening','model','marker','addEventListener','getAttribute','orderNumber','update:user:range','reconvertMarker','commands','227VWdtvm','markers','innerHTML','userPositionMarker','contenteditable','mapper','user:position:','spellcheck','isCollapsed','user:position','getNearestSelectionRange','rootName','hasContent','detach','getRange','for','destroy','createUIElement','markerToElement','change:range','false','oldRange','checkChild','conversion','newRange','$graveyard','markerName','ck-user__selection','getMarkerClass','createUserMarkerOperations','531937GDqbvV','markerNameToElements','size','setCustomProperty','init','type','mouseenter','element','createElement','split','color','tableCell','deletionPosition','user:range:','start','batch','get'];_0x10be=function(){return _0x3a3b43;};return _0x10be();}import{Sessions as _0x219107}from'./sessions.js';import{ModelLiveRange as _0x57f76f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x237aa2{[_0x39e27a(0x200)]=new(_0x5088f6())();static get[_0x39e27a(0x1a4)](){return[_0x219107];}static get[_0x39e27a(0x1af)](){const _0x3e1bf5=_0x39e27a;return _0x3e1bf5(0x179);}static get[_0x39e27a(0x1fc)](){return!0x0;}static get[_0x39e27a(0x183)](){return!0x0;}[_0x39e27a(0x1e6)](){const _0x251ea1=_0x39e27a,_0x4a0555=this[_0x251ea1(0x17f)],_0x5a33b4=_0x4a0555[_0x251ea1(0x198)][_0x251ea1(0x1f2)](_0x219107);_0x4a0555[_0x251ea1(0x1db)][_0x251ea1(0x1d3)](_0x251ea1(0x1f3))[_0x251ea1(0x1d6)]({'model':_0x251ea1(0x1cd),'view':(_0x3cb3ca,{writer:_0x1e7bfb})=>function(_0x3721a3,_0x14e6b6,_0x561c8d,_0x494d70){const _0x74df6f=_0x251ea1,_0x2d22e7=_0x3721a3[_0x74df6f(0x1de)][_0x74df6f(0x1eb)](':')[0x2],_0x33e7f3=_0x561c8d[_0x74df6f(0x1b4)](_0x2d22e7);if(!_0x33e7f3||_0x2d22e7===_0x561c8d[_0x74df6f(0x17c)])return;if(!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)][_0x74df6f(0x1da)](_0x3721a3[_0x74df6f(0x189)][_0x74df6f(0x1f0)],_0x74df6f(0x187)))return;const _0xb9ea03={'class':_0x74df6f(0x17e)+_0x33e7f3[_0x74df6f(0x1ec)][_0x74df6f(0x1e0)](),'data-name':_0x33e7f3[_0x74df6f(0x18a)],'data-session-id':_0x2d22e7},_0x4096d1=_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1c5)][_0x74df6f(0x1f2)](_0x3721a3[_0x74df6f(0x1de)]),_0x345a3d=_0x4096d1[_0x74df6f(0x199)](),_0x1ce670=_0x345a3d[_0x74df6f(0x1aa)],_0x343fe9=_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)];if(_0x1ce670&&_0x343fe9[_0x74df6f(0x1a3)](_0x1ce670)&&_0x343fe9[_0x74df6f(0x193)](_0x1ce670)&&!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1c5)][_0x74df6f(0x1f2)](_0x74df6f(0x1ef)+_0x2d22e7)[_0x74df6f(0x1d2)]()[_0x74df6f(0x1cc)])return;const _0x43804b=_0x345a3d[_0x74df6f(0x1b7)];return _0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x19d)][_0x74df6f(0x17b)](_0x43804b)&&!_0x494d70[_0x74df6f(0x1bc)][_0x74df6f(0x1d0)](_0x43804b)&&(_0xb9ea03[_0x74df6f(0x1c8)]=!0x1),function(_0x9291ed,_0x20a5ba,_0x2f14fa){const _0x2403f8=_0x74df6f,_0x16a7e5=_0x9291ed[_0x2403f8(0x1d5)](_0x2403f8(0x1a6),_0x20a5ba);return _0x9291ed[_0x2403f8(0x1e5)](_0x2403f8(0x1c7),!0x0,_0x16a7e5),_0x16a7e5[_0x2403f8(0x185)]=function(_0x283693){const _0x4d7dd8=_0x2403f8,_0x3b7cfd=this[_0x4d7dd8(0x18e)](_0x283693),_0x2a742d=document[_0x4d7dd8(0x1ea)](_0x4d7dd8(0x1a6));return _0x2a742d[_0x4d7dd8(0x177)][_0x4d7dd8(0x1b5)](_0x4d7dd8(0x1b0)),_0x2a742d[_0x4d7dd8(0x1a1)](_0x4d7dd8(0x1c8),_0x4d7dd8(0x1d8)),_0x2a742d[_0x4d7dd8(0x1a1)](_0x4d7dd8(0x1cb),_0x4d7dd8(0x1d8)),_0x2a742d[_0x4d7dd8(0x1f5)]=_0x2f14fa[_0x4d7dd8(0x18a)],_0x3b7cfd[_0x4d7dd8(0x1c6)]=_0x4d7dd8(0x191)+_0x2a742d[_0x4d7dd8(0x18f)]+'',_0x3b7cfd[_0x4d7dd8(0x1be)](_0x4d7dd8(0x1e8),()=>{const _0x5135c9=_0x4d7dd8;_0x3b7cfd[_0x5135c9(0x177)][_0x5135c9(0x1b5)](_0x5135c9(0x1fe));}),_0x3b7cfd[_0x4d7dd8(0x1be)](_0x4d7dd8(0x178),()=>{const _0x11feb1=_0x4d7dd8;_0x3b7cfd[_0x11feb1(0x177)][_0x11feb1(0x1f8)](_0x11feb1(0x1fe));}),_0x3b7cfd;},_0x16a7e5[_0x2403f8(0x1ae)]=function(_0x165430){const _0x8dfa34=_0x2403f8;return!(!this[_0x8dfa34(0x1ff)](_0x8dfa34(0x1c7))||!_0x165430[_0x8dfa34(0x1ff)](_0x8dfa34(0x1c7))||this[_0x8dfa34(0x1bf)](_0x8dfa34(0x1a5))!=_0x165430[_0x8dfa34(0x1bf)](_0x8dfa34(0x1a5)));},_0x16a7e5;}(_0x14e6b6,_0xb9ea03,_0x33e7f3);}(_0x3cb3ca,_0x1e7bfb,_0x5a33b4,_0x4a0555)}),_0x4a0555[_0x251ea1(0x1db)][_0x251ea1(0x1d3)](_0x251ea1(0x1f3))[_0x251ea1(0x18c)]({'model':_0x251ea1(0x1fb),'view':_0x1ec90d=>function(_0x4f9d8f,_0x122d14){const _0x23db51=_0x251ea1,_0x433447=_0x4f9d8f[_0x23db51(0x1de)][_0x23db51(0x1eb)](':')[0x2];if(_0x433447===_0x122d14[_0x23db51(0x17c)])return null;const _0x224f0e=_0x122d14[_0x23db51(0x1b4)](_0x433447);if(!_0x224f0e)return{'id':_0x433447,'classes':[]};return{'id':_0x433447,'classes':[_0x23db51(0x1df),_0x224f0e[_0x23db51(0x1ec)][_0x23db51(0x1a2)]()],'attributes':{'data-session-id':_0x433447},'priority':0x7d0+_0x224f0e[_0x23db51(0x1c0)]};}(_0x1ec90d,_0x5a33b4)}),function(_0x53244e){const _0x540391=_0x251ea1,_0x66d931=_0x53244e[_0x540391(0x1bc)],_0x4da8b=new Map(),_0x55be61=_0x53244e[_0x540391(0x198)][_0x540391(0x1f2)](_0x219107);_0x66d931[_0x540391(0x1c5)]['on'](_0x540391(0x1c1),(_0x34b568,_0x370108,_0x11631b,_0x45e10f)=>{const _0x4752f0=_0x540391;if(!_0x45e10f&&_0x4da8b[_0x4752f0(0x1f2)](_0x370108[_0x4752f0(0x18a)]))return _0x4da8b[_0x4752f0(0x1f2)](_0x370108[_0x4752f0(0x18a)])[_0x4752f0(0x1d1)](),void _0x4da8b[_0x4752f0(0x1ba)](_0x370108[_0x4752f0(0x18a)]);const _0x2ac211=_0x370108[_0x4752f0(0x18a)][_0x4752f0(0x1eb)](':')[0x2];if(_0x2ac211===_0x55be61[_0x4752f0(0x17c)])return;const _0x1ca299=_0x4752f0(0x1ca)+_0x2ac211;_0x66d931[_0x4752f0(0x1c5)][_0x4752f0(0x19b)](_0x1ca299)&&_0x53244e[_0x4752f0(0x1b1)][_0x4752f0(0x1c2)](_0x1ca299),_0x370108['on'](_0x4752f0(0x1d7),(_0x173015,_0x4c673e,_0x3f6598)=>{const _0x3d6ee8=_0x4752f0;if(_0x3d6ee8(0x1dd)!=_0x4c673e[_0x3d6ee8(0x1fd)][_0x3d6ee8(0x1cf)]&&_0x3d6ee8(0x1dd)==_0x370108[_0x3d6ee8(0x1d2)]()[_0x3d6ee8(0x1fd)][_0x3d6ee8(0x1cf)]&&!_0x4da8b[_0x3d6ee8(0x19b)](_0x370108[_0x3d6ee8(0x18a)])){const _0x270f13=_0x66d931[_0x3d6ee8(0x19d)][_0x3d6ee8(0x1ce)](_0x3f6598[_0x3d6ee8(0x1ee)]);if(_0x270f13){const _0xcb7307=_0x57f76f[_0x3d6ee8(0x1a8)](_0x270f13);_0x4da8b[_0x3d6ee8(0x186)](_0x370108[_0x3d6ee8(0x18a)],_0xcb7307),_0xcb7307['on'](_0x3d6ee8(0x1d7),(_0x354c40,_0x53470d,_0x48d465)=>{const _0x25686c=_0x3d6ee8;if(_0x25686c(0x1dd)==_0xcb7307[_0x25686c(0x1fd)][_0x25686c(0x1cf)]){const _0x12ddf4=_0x66d931[_0x25686c(0x19d)][_0x25686c(0x1ce)](_0x48d465[_0x25686c(0x1ee)]);_0x12ddf4?(_0xcb7307[_0x25686c(0x1f0)]=_0x12ddf4[_0x25686c(0x1f0)],_0xcb7307[_0x25686c(0x1fa)]=_0x12ddf4[_0x25686c(0x1fa)]):(_0x4da8b[_0x25686c(0x1ba)](_0x370108[_0x25686c(0x18a)]),_0xcb7307[_0x25686c(0x1d1)]());}});}}});}),_0x66d931[_0x540391(0x19e)]['on'](_0x540391(0x1a7),()=>{const _0xce5d26=_0x540391;_0x4da8b[_0xce5d26(0x1e4)]>0x0&&_0x66d931[_0xce5d26(0x180)]({'isUndoable':!0x1},_0x269611=>{const _0x161a70=_0xce5d26;for(const [_0x23bf53,_0x28620f]of _0x4da8b)_0x161a70(0x1dd)==_0x66d931[_0x161a70(0x1c5)][_0x161a70(0x1f2)](_0x23bf53)[_0x161a70(0x1d2)]()[_0x161a70(0x1fd)][_0x161a70(0x1cf)]&&(Y(_0x23bf53[_0x161a70(0x1eb)](':')[0x2],_0x28620f[_0x161a70(0x1f6)](),_0x66d931,_0x269611),_0x28620f[_0x161a70(0x1d1)]());_0x4da8b[_0x161a70(0x188)]();});});}(_0x4a0555),this[_0x251ea1(0x200)][_0x251ea1(0x19c)](_0x581d10[_0x251ea1(0x19e)],_0x251ea1(0x1f4),(_0x1e803c,{key:_0x2e25df})=>{const _0x22492a=_0x251ea1;_0x22492a(0x192)===_0x2e25df&&function(_0x5d5db0){const _0x223cfd=_0x22492a;_0x5d5db0[_0x223cfd(0x1b1)][_0x223cfd(0x184)][_0x223cfd(0x1a7)](_0x9a4984=>{const _0x4aafcc=_0x223cfd;for(const _0x36c564 of _0x5d5db0[_0x4aafcc(0x1bc)][_0x4aafcc(0x1c5)]){if(!_0x36c564[_0x4aafcc(0x18a)][_0x4aafcc(0x1b2)](_0x4aafcc(0x1cd)))continue;const _0x4cd9e9=_0x5d5db0[_0x4aafcc(0x1b1)][_0x4aafcc(0x1c9)][_0x4aafcc(0x1e3)](_0x36c564[_0x4aafcc(0x18a)]);if(_0x4cd9e9){for(const _0x25beed of _0x4cd9e9)_0x9a4984[_0x4aafcc(0x202)](_0x4aafcc(0x1fe),_0x25beed);}}});}(_0x4a0555);},{'useCapture':!0x0});}[_0x39e27a(0x201)](){const _0x457c94=_0x39e27a,_0x135da4=this[_0x457c94(0x17f)],_0x14af3f=_0x135da4[_0x457c94(0x1c3)][_0x457c94(0x1f2)](_0x457c94(0x194));_0x14af3f&&_0x135da4[_0x457c94(0x1bc)]['on'](_0x457c94(0x1b8),(_0x31412f,_0x1c4563)=>{const _0x45b68d=_0x457c94,_0x19fc6a=_0x1c4563[0x0];if(!_0x19fc6a[_0x45b68d(0x1ad)])return;if(_0x45b68d(0x1bd)!=_0x19fc6a[_0x45b68d(0x1e7)]||!_0x19fc6a[_0x45b68d(0x18a)][_0x45b68d(0x1b2)](_0x45b68d(0x19a)))return;const _0x24ccc7=_0x19fc6a[_0x45b68d(0x1f1)];_0x14af3f[_0x45b68d(0x195)][_0x45b68d(0x19b)](_0x24ccc7)&&(_0x19fc6a[_0x45b68d(0x1dc)]=_0x19fc6a[_0x45b68d(0x1d9)]?_0x135da4[_0x45b68d(0x1bc)][_0x45b68d(0x1ac)](_0x19fc6a[_0x45b68d(0x1d9)][_0x45b68d(0x1f0)],_0x19fc6a[_0x45b68d(0x1d9)][_0x45b68d(0x1fa)]):null);},{'priority':_0x457c94(0x17a)});}[_0x39e27a(0x1d4)](){const _0x30ceb7=_0x39e27a;return this[_0x30ceb7(0x200)][_0x30ceb7(0x1bb)](),super[_0x30ceb7(0x1d4)]();}[_0x39e27a(0x1e1)](){const _0x3a2520=_0x39e27a,_0x18dc24=this[_0x3a2520(0x17f)],_0x20da25=_0x18dc24[_0x3a2520(0x1bc)][_0x3a2520(0x19e)],_0x3a7fc1=_0x18dc24[_0x3a2520(0x198)][_0x3a2520(0x1f2)](_0x219107);_0x18dc24[_0x3a2520(0x1bc)][_0x3a2520(0x180)]({'isUndoable':!0x1},_0x47991b=>{const _0x308fd1=_0x3a2520,_0x239cc1=_0x308fd1(0x1ef)+_0x3a7fc1[_0x308fd1(0x17c)],_0x1ec6a2=_0x308fd1(0x1ca)+_0x3a7fc1[_0x308fd1(0x17c)],_0x5dd779=_0x18dc24[_0x308fd1(0x1bc)][_0x308fd1(0x1c5)][_0x308fd1(0x19b)](_0x239cc1);_0x18dc24[_0x308fd1(0x1b1)][_0x308fd1(0x184)][_0x308fd1(0x1ab)]?Y(_0x3a7fc1[_0x308fd1(0x17c)],_0x20da25[_0x308fd1(0x1a0)][_0x308fd1(0x196)](),_0x18dc24[_0x308fd1(0x1bc)],_0x47991b):_0x5dd779&&(_0x47991b[_0x308fd1(0x190)](_0x239cc1),_0x47991b[_0x308fd1(0x190)](_0x1ec6a2));});}}function Y(_0x272bcc,_0x404439,_0x51f905,_0x5b1caa){const _0x3c5559=_0x39e27a,_0x3eb8c5=_0x3c5559(0x1ef)+_0x272bcc,_0x202571=_0x3c5559(0x1ca)+_0x272bcc,_0x2a9cc9=_0x404439[_0x3c5559(0x1a9)]();let _0x354f14=_0x404439[_0x3c5559(0x1f0)];if(_0x2a9cc9&&_0x2a9cc9['is'](_0x3c5559(0x1e9),_0x3c5559(0x1ed))){const _0x367620=function(_0x3e0e8e,_0x2332cc){const _0x180238=_0x3c5559;for(const _0x3bacbe of _0x3e0e8e[_0x180238(0x197)]())if(_0x2332cc[_0x180238(0x19d)][_0x180238(0x1da)](_0x3bacbe,_0x180238(0x187)))return _0x3bacbe;}(_0x404439,_0x51f905);_0x367620&&(_0x354f14=_0x367620,_0x404439=_0x5b1caa[_0x3c5559(0x1ac)](_0x354f14));}const _0x780ecf=_0x5b1caa[_0x3c5559(0x1ac)](_0x354f14);_0x51f905[_0x3c5559(0x1c5)][_0x3c5559(0x19b)](_0x3eb8c5)?(_0x5b1caa[_0x3c5559(0x18b)](_0x3eb8c5,{'range':_0x404439}),_0x5b1caa[_0x3c5559(0x18b)](_0x202571,{'range':_0x780ecf})):(_0x5b1caa[_0x3c5559(0x17d)](_0x3eb8c5,{'range':_0x404439,'usingOperation':!0x0}),_0x5b1caa[_0x3c5559(0x17d)](_0x202571,{'range':_0x780ecf,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x631e33=_0x4dd7;(function(_0x47d353,_0x30bf4d){const _0x518bab=_0x4dd7,_0x9b1078=_0x47d353();while(!![]){try{const _0x2deb5a=-parseInt(_0x518bab(0xd1))/0x1*(parseInt(_0x518bab(0xdb))/0x2)+parseInt(_0x518bab(0x120))/0x3+parseInt(_0x518bab(0x126))/0x4*(parseInt(_0x518bab(0xd4))/0x5)+-parseInt(_0x518bab(0xc9))/0x6+parseInt(_0x518bab(0xca))/0x7+parseInt(_0x518bab(0xf1))/0x8*(-parseInt(_0x518bab(0xe6))/0x9)+parseInt(_0x518bab(0xa7))/0xa*(parseInt(_0x518bab(0x10c))/0xb);if(_0x2deb5a===_0x30bf4d)break;else _0x9b1078['push'](_0x9b1078['shift']());}catch(_0x2c0c10){_0x9b1078['push'](_0x9b1078['shift']());}}}(_0x5115,0xacd95));function _0x5115(){const _0x5ac991=['createUIElement','delete','contenteditable','spellcheck','render','addMarker','user:range:','isOfficialPlugin','highest','deletionPosition','updateMarker','editor','getSelectionClass','change:range','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','33iOLlLk','createElement','_domEmitter','hasDomSelection','marker','update:user:range','editing','enqueueChange','nodeAfter','$text','selection','isDocumentOperation','getStart','innerHTML','isPremiumPlugin','false','root','markerToElement','start','mapper','3371706hzKVGx','isCollapsed','textContent','reconvertMarker','setAttribute','ck-user__marker\x20','48FpXSsY','newRange','change','span','mySessionId','commands','listenTo','getNearestSelectionRange','getUserBySessionId','startsWith','mouseleave','user:','undo','4445190FZBmom','has','oldRange','isObject','rootName','model','getPositions','$graveyard','markerRange','element','classList','applyOperation','schema','userPositionMarker','split','isLimit','get','isInline','data-session-id','destroy','ck-user__marker-tooltip','init','createUserMarkerOperations','batch','checkChild','outerHTML','user:position:','add','editingDowncast','end','toDomElement','_createdBatches','removeMarker','getFirstRange','2441340GqlRJI','3868627CejUzn','getContainedElement','markers','fromRange','clear','addEventListener','removeClass','212885pYKwaW','type','Escape','37575ChUSSp','plugins','mouseenter','remove','markerName','getMarkerClass','UserMarkers','10ZACluH','stopListening','conversion','user:range','set','requires','tableCell','view','ck-user__marker_hovered','createRange','for','4144482bNXnYe','afterInit','color','isSimilar','getAttribute','document','ck-user__selection','user:position','keydown','getRange','markerNameToElements','16bZEIMq','parent','size','detach','name','getCustomProperty','setCustomProperty','markerToHighlight','pluginName','hasContent','toRange','orderNumber'];_0x5115=function(){return _0x5ac991;};return _0x5115();}import{Plugin as _0x38813c}from'ckeditor5/src/core.js';import{global as _0x515e1f,DomEmitterMixin as _0x3fa892}from'ckeditor5/src/utils.js';import{Sessions as _0x2514ff}from'./sessions.js';import{ModelLiveRange as _0x43fb75}from'ckeditor5/src/engine.js';function _0x4dd7(_0x4efff7,_0x48f5e7){const _0x5115c8=_0x5115();return _0x4dd7=function(_0x4dd794,_0x3bc0f3){_0x4dd794=_0x4dd794-0xa6;let _0x2741f3=_0x5115c8[_0x4dd794];return _0x2741f3;},_0x4dd7(_0x4efff7,_0x48f5e7);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x38813c{[_0x631e33(0x10e)]=new(_0x3fa892())();static get[_0x631e33(0xe0)](){return[_0x2514ff];}static get[_0x631e33(0xf9)](){const _0x3d9b7a=_0x631e33;return _0x3d9b7a(0xda);}static get[_0x631e33(0x104)](){return!0x0;}static get[_0x631e33(0x11a)](){return!0x0;}[_0x631e33(0xbc)](){const _0x477aba=_0x631e33,_0x3abe68=this[_0x477aba(0x108)],_0x4c245b=_0x3abe68[_0x477aba(0xd5)][_0x477aba(0xb7)](_0x2514ff);_0x3abe68[_0x477aba(0xdd)][_0x477aba(0xe5)](_0x477aba(0xc3))[_0x477aba(0x11d)]({'model':_0x477aba(0xed),'view':(_0x26c627,{writer:_0x4af3b1})=>function(_0x6abc80,_0x48797d,_0x47e51f,_0x75a382){const _0x1302ff=_0x477aba,_0xe33be0=_0x6abc80[_0x1302ff(0xd8)][_0x1302ff(0xb5)](':')[0x2],_0x20e2b4=_0x47e51f[_0x1302ff(0x12e)](_0xe33be0);if(!_0x20e2b4||_0xe33be0===_0x47e51f[_0x1302ff(0x12a)])return;if(!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)][_0x1302ff(0xbf)](_0x6abc80[_0x1302ff(0xaf)][_0x1302ff(0x11e)],_0x1302ff(0x115)))return;const _0x34096b={'class':_0x1302ff(0x125)+_0x20e2b4[_0x1302ff(0xe8)][_0x1302ff(0xd9)](),'data-name':_0x20e2b4[_0x1302ff(0xf5)],'data-session-id':_0xe33be0},_0x2ca1ee=_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xcc)][_0x1302ff(0xb7)](_0x6abc80[_0x1302ff(0xd8)]),_0x48c56c=_0x2ca1ee[_0x1302ff(0x118)](),_0x5e8c6f=_0x48c56c[_0x1302ff(0x114)],_0x5db0c5=_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)];if(_0x5e8c6f&&_0x5db0c5[_0x1302ff(0xaa)](_0x5e8c6f)&&_0x5db0c5[_0x1302ff(0xb8)](_0x5e8c6f)&&!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xcc)][_0x1302ff(0xb7)](_0x1302ff(0x103)+_0xe33be0)[_0x1302ff(0xef)]()[_0x1302ff(0x121)])return;const _0x26930d=_0x48c56c[_0x1302ff(0xf2)];return _0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)][_0x1302ff(0xb6)](_0x26930d)&&!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xfa)](_0x26930d)&&(_0x34096b[_0x1302ff(0xff)]=!0x1),function(_0x5ba483,_0x5054db,_0xc2f479){const _0x48ea41=_0x1302ff,_0x2affa9=_0x5ba483[_0x48ea41(0xfd)](_0x48ea41(0x129),_0x5054db);return _0x5ba483[_0x48ea41(0xf7)](_0x48ea41(0xb4),!0x0,_0x2affa9),_0x2affa9[_0x48ea41(0x101)]=function(_0x2f2ab0){const _0x2ad4a3=_0x48ea41,_0x3239d2=this[_0x2ad4a3(0xc5)](_0x2f2ab0),_0x507b75=document[_0x2ad4a3(0x10d)](_0x2ad4a3(0x129));return _0x507b75[_0x2ad4a3(0xb1)][_0x2ad4a3(0xc2)](_0x2ad4a3(0xbb)),_0x507b75[_0x2ad4a3(0x124)](_0x2ad4a3(0xff),_0x2ad4a3(0x11b)),_0x507b75[_0x2ad4a3(0x124)](_0x2ad4a3(0x100),_0x2ad4a3(0x11b)),_0x507b75[_0x2ad4a3(0x122)]=_0xc2f479[_0x2ad4a3(0xf5)],_0x3239d2[_0x2ad4a3(0x119)]=_0x2ad4a3(0x10b)+_0x507b75[_0x2ad4a3(0xc0)]+'',_0x3239d2[_0x2ad4a3(0xcf)](_0x2ad4a3(0xd6),()=>{const _0x38ce7c=_0x2ad4a3;_0x3239d2[_0x38ce7c(0xb1)][_0x38ce7c(0xc2)](_0x38ce7c(0xe3));}),_0x3239d2[_0x2ad4a3(0xcf)](_0x2ad4a3(0x130),()=>{const _0xa2179f=_0x2ad4a3;_0x3239d2[_0xa2179f(0xb1)][_0xa2179f(0xd7)](_0xa2179f(0xe3));}),_0x3239d2;},_0x2affa9[_0x48ea41(0xe9)]=function(_0x146623){const _0x2a8063=_0x48ea41;return!(!this[_0x2a8063(0xf6)](_0x2a8063(0xb4))||!_0x146623[_0x2a8063(0xf6)](_0x2a8063(0xb4))||this[_0x2a8063(0xea)](_0x2a8063(0xb9))!=_0x146623[_0x2a8063(0xea)](_0x2a8063(0xb9)));},_0x2affa9;}(_0x48797d,_0x34096b,_0x20e2b4);}(_0x26c627,_0x4af3b1,_0x4c245b,_0x3abe68)}),_0x3abe68[_0x477aba(0xdd)][_0x477aba(0xe5)](_0x477aba(0xc3))[_0x477aba(0xf8)]({'model':_0x477aba(0xde),'view':_0x39f08e=>function(_0x2f40ee,_0x1b8771){const _0x1e81d9=_0x477aba,_0x3cce15=_0x2f40ee[_0x1e81d9(0xd8)][_0x1e81d9(0xb5)](':')[0x2];if(_0x3cce15===_0x1b8771[_0x1e81d9(0x12a)])return null;const _0xd8d496=_0x1b8771[_0x1e81d9(0x12e)](_0x3cce15);if(!_0xd8d496)return{'id':_0x3cce15,'classes':[]};return{'id':_0x3cce15,'classes':[_0x1e81d9(0xec),_0xd8d496[_0x1e81d9(0xe8)][_0x1e81d9(0x109)]()],'attributes':{'data-session-id':_0x3cce15},'priority':0x7d0+_0xd8d496[_0x1e81d9(0xfc)]};}(_0x39f08e,_0x4c245b)}),function(_0x3d698f){const _0x121e1c=_0x477aba,_0x2ffd32=_0x3d698f[_0x121e1c(0xac)],_0x27a457=new Map(),_0x25f721=_0x3d698f[_0x121e1c(0xd5)][_0x121e1c(0xb7)](_0x2514ff);_0x2ffd32[_0x121e1c(0xcc)]['on'](_0x121e1c(0x111),(_0x424c11,_0x4da1f5,_0x3e7f0e,_0x247b75)=>{const _0x3253fd=_0x121e1c;if(!_0x247b75&&_0x27a457[_0x3253fd(0xb7)](_0x4da1f5[_0x3253fd(0xf5)]))return _0x27a457[_0x3253fd(0xb7)](_0x4da1f5[_0x3253fd(0xf5)])[_0x3253fd(0xf4)](),void _0x27a457[_0x3253fd(0xfe)](_0x4da1f5[_0x3253fd(0xf5)]);const _0x3372a2=_0x4da1f5[_0x3253fd(0xf5)][_0x3253fd(0xb5)](':')[0x2];if(_0x3372a2===_0x25f721[_0x3253fd(0x12a)])return;const _0x597c2d=_0x3253fd(0xc1)+_0x3372a2;_0x2ffd32[_0x3253fd(0xcc)][_0x3253fd(0xa8)](_0x597c2d)&&_0x3d698f[_0x3253fd(0x112)][_0x3253fd(0x123)](_0x597c2d),_0x4da1f5['on'](_0x3253fd(0x10a),(_0x20a0e6,_0x5be11,_0x2c5ed6)=>{const _0x1058b3=_0x3253fd;if(_0x1058b3(0xae)!=_0x5be11[_0x1058b3(0x11c)][_0x1058b3(0xab)]&&_0x1058b3(0xae)==_0x4da1f5[_0x1058b3(0xef)]()[_0x1058b3(0x11c)][_0x1058b3(0xab)]&&!_0x27a457[_0x1058b3(0xa8)](_0x4da1f5[_0x1058b3(0xf5)])){const _0x3bf456=_0x2ffd32[_0x1058b3(0xb3)][_0x1058b3(0x12d)](_0x2c5ed6[_0x1058b3(0x106)]);if(_0x3bf456){const _0xa617d5=_0x43fb75[_0x1058b3(0xcd)](_0x3bf456);_0x27a457[_0x1058b3(0xdf)](_0x4da1f5[_0x1058b3(0xf5)],_0xa617d5),_0xa617d5['on'](_0x1058b3(0x10a),(_0x3232c5,_0x180b00,_0x322d2a)=>{const _0x5e3d8c=_0x1058b3;if(_0x5e3d8c(0xae)==_0xa617d5[_0x5e3d8c(0x11c)][_0x5e3d8c(0xab)]){const _0x10d0c0=_0x2ffd32[_0x5e3d8c(0xb3)][_0x5e3d8c(0x12d)](_0x322d2a[_0x5e3d8c(0x106)]);_0x10d0c0?(_0xa617d5[_0x5e3d8c(0x11e)]=_0x10d0c0[_0x5e3d8c(0x11e)],_0xa617d5[_0x5e3d8c(0xc4)]=_0x10d0c0[_0x5e3d8c(0xc4)]):(_0x27a457[_0x5e3d8c(0xfe)](_0x4da1f5[_0x5e3d8c(0xf5)]),_0xa617d5[_0x5e3d8c(0xf4)]());}});}}});}),_0x2ffd32[_0x121e1c(0xeb)]['on'](_0x121e1c(0x128),()=>{const _0x2ad4a2=_0x121e1c;_0x27a457[_0x2ad4a2(0xf3)]>0x0&&_0x2ffd32[_0x2ad4a2(0x113)]({'isUndoable':!0x1},_0x31e84c=>{const _0x2109d1=_0x2ad4a2;for(const [_0x2176b7,_0x1db880]of _0x27a457)_0x2109d1(0xae)==_0x2ffd32[_0x2109d1(0xcc)][_0x2109d1(0xb7)](_0x2176b7)[_0x2109d1(0xef)]()[_0x2109d1(0x11c)][_0x2109d1(0xab)]&&(Z(_0x2176b7[_0x2109d1(0xb5)](':')[0x2],_0x1db880[_0x2109d1(0xfb)](),_0x2ffd32,_0x31e84c),_0x1db880[_0x2109d1(0xf4)]());_0x27a457[_0x2109d1(0xce)]();});});}(_0x3abe68),this[_0x477aba(0x10e)][_0x477aba(0x12c)](_0x515e1f[_0x477aba(0xeb)],_0x477aba(0xee),(_0x2c509b,{key:_0x3696be})=>{const _0x39a352=_0x477aba;_0x39a352(0xd3)===_0x3696be&&function(_0x2a1530){const _0x26805b=_0x39a352;_0x2a1530[_0x26805b(0x112)][_0x26805b(0xe2)][_0x26805b(0x128)](_0x4be1d5=>{const _0x5d0592=_0x26805b;for(const _0x5e7d4d of _0x2a1530[_0x5d0592(0xac)][_0x5d0592(0xcc)]){if(!_0x5e7d4d[_0x5d0592(0xf5)][_0x5d0592(0x12f)](_0x5d0592(0xed)))continue;const _0x240ffa=_0x2a1530[_0x5d0592(0x112)][_0x5d0592(0x11f)][_0x5d0592(0xf0)](_0x5e7d4d[_0x5d0592(0xf5)]);if(_0x240ffa){for(const _0x46daa2 of _0x240ffa)_0x4be1d5[_0x5d0592(0xd0)](_0x5d0592(0xe3),_0x46daa2);}}});}(_0x3abe68);},{'useCapture':!0x0});}[_0x631e33(0xe7)](){const _0x342fe1=_0x631e33,_0x3c9b21=this[_0x342fe1(0x108)],_0x413dee=_0x3c9b21[_0x342fe1(0x12b)][_0x342fe1(0xb7)](_0x342fe1(0xa6));_0x413dee&&_0x3c9b21[_0x342fe1(0xac)]['on'](_0x342fe1(0xb2),(_0x1057e4,_0x5d3509)=>{const _0x41244a=_0x342fe1,_0x381ba2=_0x5d3509[0x0];if(!_0x381ba2[_0x41244a(0x117)])return;if(_0x41244a(0x110)!=_0x381ba2[_0x41244a(0xd2)]||!_0x381ba2[_0x41244a(0xf5)][_0x41244a(0x12f)](_0x41244a(0x131)))return;const _0x22d163=_0x381ba2[_0x41244a(0xbe)];_0x413dee[_0x41244a(0xc6)][_0x41244a(0xa8)](_0x22d163)&&(_0x381ba2[_0x41244a(0x127)]=_0x381ba2[_0x41244a(0xa9)]?_0x3c9b21[_0x41244a(0xac)][_0x41244a(0xe4)](_0x381ba2[_0x41244a(0xa9)][_0x41244a(0x11e)],_0x381ba2[_0x41244a(0xa9)][_0x41244a(0xc4)]):null);},{'priority':_0x342fe1(0x105)});}[_0x631e33(0xba)](){const _0x38c190=_0x631e33;return this[_0x38c190(0x10e)][_0x38c190(0xdc)](),super[_0x38c190(0xba)]();}[_0x631e33(0xbd)](){const _0x1adb3c=_0x631e33,_0x50a816=this[_0x1adb3c(0x108)],_0x5415a7=_0x50a816[_0x1adb3c(0xac)][_0x1adb3c(0xeb)],_0x3534fa=_0x50a816[_0x1adb3c(0xd5)][_0x1adb3c(0xb7)](_0x2514ff);_0x50a816[_0x1adb3c(0xac)][_0x1adb3c(0x113)]({'isUndoable':!0x1},_0x4e25dc=>{const _0x4a9980=_0x1adb3c,_0x352caa=_0x4a9980(0x103)+_0x3534fa[_0x4a9980(0x12a)],_0x4a1fbf=_0x4a9980(0xc1)+_0x3534fa[_0x4a9980(0x12a)],_0x6491b9=_0x50a816[_0x4a9980(0xac)][_0x4a9980(0xcc)][_0x4a9980(0xa8)](_0x352caa);_0x50a816[_0x4a9980(0x112)][_0x4a9980(0xe2)][_0x4a9980(0x10f)]?Z(_0x3534fa[_0x4a9980(0x12a)],_0x5415a7[_0x4a9980(0x116)][_0x4a9980(0xc8)](),_0x50a816[_0x4a9980(0xac)],_0x4e25dc):_0x6491b9&&(_0x4e25dc[_0x4a9980(0xc7)](_0x352caa),_0x4e25dc[_0x4a9980(0xc7)](_0x4a1fbf));});}}function Z(_0x33666b,_0x1062a8,_0x1b5e89,_0x51812e){const _0x54f10b=_0x631e33,_0x248012=_0x54f10b(0x103)+_0x33666b,_0x4f9b0b=_0x54f10b(0xc1)+_0x33666b,_0x4228d4=_0x1062a8[_0x54f10b(0xcb)]();let _0x4730c7=_0x1062a8[_0x54f10b(0x11e)];if(_0x4228d4&&_0x4228d4['is'](_0x54f10b(0xb0),_0x54f10b(0xe1))){const _0x5d4a06=function(_0x5d3420,_0x6e9e97){const _0x354e07=_0x54f10b;for(const _0x38ab1d of _0x5d3420[_0x354e07(0xad)]())if(_0x6e9e97[_0x354e07(0xb3)][_0x354e07(0xbf)](_0x38ab1d,_0x354e07(0x115)))return _0x38ab1d;}(_0x1062a8,_0x1b5e89);_0x5d4a06&&(_0x4730c7=_0x5d4a06,_0x1062a8=_0x51812e[_0x54f10b(0xe4)](_0x4730c7));}const _0x20061e=_0x51812e[_0x54f10b(0xe4)](_0x4730c7);_0x1b5e89[_0x54f10b(0xcc)][_0x54f10b(0xa8)](_0x248012)?(_0x51812e[_0x54f10b(0x107)](_0x248012,{'range':_0x1062a8}),_0x51812e[_0x54f10b(0x107)](_0x4f9b0b,{'range':_0x20061e})):(_0x51812e[_0x54f10b(0x102)](_0x248012,{'range':_0x1062a8,'usingOperation':!0x0}),_0x51812e[_0x54f10b(0x102)](_0x4f9b0b,{'range':_0x20061e,'usingOperation':!0x0}));}
|