@ckeditor/ckeditor5-real-time-collaboration 46.0.2-alpha.0 → 46.0.2-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 +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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
|
-
function
|
|
23
|
+
function _0x3235(){const _0x570c93=['ck-presence-list__list','relatedTarget','.ck-presence-list__dropdown-list','presencelist:hide','104709AfswTt','9879732eOXgCw','change:hasPopup','list','presencelist:show','render','keystrokes','element','contains','items','hasPopup','querySelector','2250tMcdek','isExpanded','createCollection','1kIfCrE','setAttribute','5259192CVnXwH','57306yHYlMl','div','listenTo','130frEiAh','focus','removeAttribute','aria-expanded','fire','5kNOydh','35136YYpfRs','451824XLyjfo','set','1675202PJJqnR','.ck-balloon-panel_with-arrow','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setTemplate','742TIgChu','Connected\x20users\x20list','bindTemplate'];_0x3235=function(){return _0x570c93;};return _0x3235();}const _0x3d1491=_0x21ad;(function(_0x493ca0,_0x296191){const _0x8f1b2f=_0x21ad,_0x2e197b=_0x493ca0();while(!![]){try{const _0x4ca391=-parseInt(_0x8f1b2f(0x135))/0x1*(parseInt(_0x8f1b2f(0x11b))/0x2)+parseInt(_0x8f1b2f(0x142))/0x3+parseInt(_0x8f1b2f(0x137))/0x4*(-parseInt(_0x8f1b2f(0x140))/0x5)+parseInt(_0x8f1b2f(0x138))/0x6*(parseInt(_0x8f1b2f(0x11f))/0x7)+parseInt(_0x8f1b2f(0x141))/0x8*(parseInt(_0x8f1b2f(0x132))/0x9)+-parseInt(_0x8f1b2f(0x13b))/0xa*(parseInt(_0x8f1b2f(0x126))/0xb)+parseInt(_0x8f1b2f(0x127))/0xc;if(_0x4ca391===_0x296191)break;else _0x2e197b['push'](_0x2e197b['shift']());}catch(_0xdb196d){_0x2e197b['push'](_0x2e197b['shift']());}}}(_0x3235,0xc54f3));import{View as _0x46af3f}from'ckeditor5/src/ui.js';function _0x21ad(_0x440064,_0x3f9546){const _0x3235dd=_0x3235();return _0x21ad=function(_0x21adb5,_0x440fa5){_0x21adb5=_0x21adb5-0x11b;let _0x3aced7=_0x3235dd[_0x21adb5];return _0x3aced7;},_0x21ad(_0x440064,_0x3f9546);}import{KeystrokeHandler as _0x145fd0}from'ckeditor5/src/utils.js';import{getTranslation as _0x17cf23}from'../../common-translations.js';export class PresenceInlineListView extends _0x46af3f{[_0x3d1491(0x12f)];[_0x3d1491(0x12c)];constructor(_0x102779){const _0x3cdf0d=_0x3d1491;super(_0x102779);const _0x8c0cd2=this[_0x3cdf0d(0x121)];this[_0x3cdf0d(0x12f)]=this[_0x3cdf0d(0x134)](),this[_0x3cdf0d(0x12c)]=new _0x145fd0(),this[_0x3cdf0d(0x143)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3cdf0d(0x11e)]({'tag':_0x3cdf0d(0x139),'attributes':{'aria-haspopup':_0x8c0cd2['if'](_0x3cdf0d(0x130)),'aria-expanded':_0x8c0cd2['to'](_0x3cdf0d(0x133),_0x3962dd=>this[_0x3cdf0d(0x130)]&&String(_0x3962dd)),'aria-label':_0x8c0cd2['to'](_0x3cdf0d(0x130),_0x223001=>_0x17cf23(_0x102779,_0x223001?_0x3cdf0d(0x11d):_0x3cdf0d(0x120))),'role':_0x3cdf0d(0x129),'tabindex':_0x8c0cd2['to'](_0x3cdf0d(0x130),_0x29f059=>!!_0x29f059&&0x0),'class':['ck',_0x3cdf0d(0x122)]},'children':this[_0x3cdf0d(0x12f)],'on':{'mouseenter':_0x8c0cd2['to'](()=>this[_0x3cdf0d(0x13f)](_0x3cdf0d(0x12a))),'mouseleave':_0x8c0cd2['to'](_0x54b45a=>{const _0x469dbc=_0x3cdf0d,_0x11d884=_0x54b45a,_0x2fcdd8=document[_0x469dbc(0x131)](_0x469dbc(0x124)),_0xf2884a=document[_0x469dbc(0x131)](_0x469dbc(0x11c));_0x2fcdd8?.[_0x469dbc(0x12e)](_0x11d884[_0x469dbc(0x123)])||_0xf2884a?.[_0x469dbc(0x12e)](_0x11d884[_0x469dbc(0x123)])||this[_0x469dbc(0x13f)](_0x469dbc(0x125));})}}),this['on'](_0x3cdf0d(0x128),(_0x46509f,_0x65605d,_0xe811e7)=>{const _0x1a022b=_0x3cdf0d;this[_0x1a022b(0x12d)]&&(_0xe811e7?this[_0x1a022b(0x12d)][_0x1a022b(0x136)](_0x1a022b(0x13e),String(this[_0x1a022b(0x133)])):this[_0x1a022b(0x12d)][_0x1a022b(0x13d)](_0x1a022b(0x13e)));});}[_0x3d1491(0x13c)](){const _0x1a2345=_0x3d1491;this[_0x1a2345(0x12d)][_0x1a2345(0x13c)]();}[_0x3d1491(0x12b)](){const _0x32e1de=_0x3d1491;super[_0x32e1de(0x12b)](),this[_0x32e1de(0x12c)][_0x32e1de(0x13a)](this[_0x32e1de(0x12d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f9da9=_0x5832;(function(_0x341bcd,_0x52b423){const _0x8f243a=_0x5832,_0xcfdd02=_0x341bcd();while(!![]){try{const _0x323342=-parseInt(_0x8f243a(0x179))/0x1+-parseInt(_0x8f243a(0x16a))/0x2+parseInt(_0x8f243a(0x16e))/0x3+parseInt(_0x8f243a(0x16d))/0x4+-parseInt(_0x8f243a(0x17d))/0x5*(parseInt(_0x8f243a(0x164))/0x6)+-parseInt(_0x8f243a(0x16c))/0x7*(-parseInt(_0x8f243a(0x16b))/0x8)+-parseInt(_0x8f243a(0x168))/0x9;if(_0x323342===_0x52b423)break;else _0xcfdd02['push'](_0xcfdd02['shift']());}catch(_0x40cfc3){_0xcfdd02['push'](_0xcfdd02['shift']());}}}(_0x34c9,0x2cedf));import{View as _0x30ddc4}from'ckeditor5/src/ui.js';function _0x5832(_0x1a7d02,_0x4b918b){const _0x34c9ee=_0x34c9();return _0x5832=function(_0x58325a,_0x49a85e){_0x58325a=_0x58325a-0x163;let _0x26892c=_0x34c9ee[_0x58325a];return _0x26892c;},_0x5832(_0x1a7d02,_0x4b918b);}import{PresenceCounterView as _0x209209}from'./presencecounterview.js';import{PresenceInlineListView as _0x24c243}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x30ddc4{[_0x4f9da9(0x170)];[_0x4f9da9(0x165)];constructor(_0x5d6b18,_0x310e4d=0x6){const _0x303770=_0x4f9da9;super(_0x5d6b18);const _0x1773b1=this[_0x303770(0x17c)];this[_0x303770(0x169)](_0x303770(0x16f),!0x0),this[_0x303770(0x170)]=new _0x209209(this[_0x303770(0x167)],_0x310e4d),this[_0x303770(0x165)]=new _0x24c243(_0x5d6b18),this[_0x303770(0x165)][_0x303770(0x17b)](_0x303770(0x163))['to'](this,_0x303770(0x16f)),this[_0x303770(0x177)](this[_0x303770(0x165)][_0x303770(0x17a)],_0x303770(0x174),()=>{const _0x499914=_0x303770;for(const _0xd406dc of this[_0x499914(0x165)][_0x499914(0x17a)])_0xd406dc[_0x499914(0x173)]='s';this[_0x499914(0x165)][_0x499914(0x17a)][_0x499914(0x166)]&&(this[_0x499914(0x165)][_0x499914(0x17a)][_0x499914(0x166)][_0x499914(0x173)]='se');}),this[_0x303770(0x171)]({'tag':_0x303770(0x172),'attributes':{'class':['ck',_0x303770(0x178),_0x303770(0x175),_0x303770(0x17e),_0x1773b1['if'](_0x303770(0x16f),_0x303770(0x176))]},'children':[this[_0x303770(0x165)]]});}}function _0x34c9(){const _0x1fd395=['hasPopup','240102oYMPyO','inlineListView','first','locale','2265939glmJLu','set','304026cFFfuA','72776KeSxZV','63REtWzZ','1311072BddcUs','802446zpBNuu','isCollapsed','counterView','setTemplate','div','tooltipPosition','change','ck-reset','ck-presence-list--collapsed','listenTo','ck-presence-list','49291pCxYSx','items','bind','bindTemplate','5pdsefs','ck-rounded-corners'];_0x34c9=function(){return _0x1fd395;};return _0x34c9();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x240e(_0x39219e,_0x426d06){var _0x2a51dd=_0x2a51();return _0x240e=function(_0x240e47,_0x4a1750){_0x240e47=_0x240e47-0x1a3;var _0x2e3b8e=_0x2a51dd[_0x240e47];return _0x2e3b8e;},_0x240e(_0x39219e,_0x426d06);}var _0x1a07a9=_0x240e;(function(_0x1d3a1d,_0x16319b){var _0x176f11=_0x240e,_0x500ead=_0x1d3a1d();while(!![]){try{var _0x411448=-parseInt(_0x176f11(0x1b0))/0x1+-parseInt(_0x176f11(0x1a6))/0x2*(parseInt(_0x176f11(0x1af))/0x3)+-parseInt(_0x176f11(0x1a3))/0x4+-parseInt(_0x176f11(0x1b1))/0x5*(parseInt(_0x176f11(0x1aa))/0x6)+parseInt(_0x176f11(0x1ad))/0x7*(parseInt(_0x176f11(0x1ab))/0x8)+parseInt(_0x176f11(0x1a7))/0x9+parseInt(_0x176f11(0x1ac))/0xa;if(_0x411448===_0x16319b)break;else _0x500ead['push'](_0x500ead['shift']());}catch(_0x501b26){_0x500ead['push'](_0x500ead['shift']());}}}(_0x2a51,0xebacb));import{ContextPlugin as _0xde5a9c}from'ckeditor5/src/core.js';function _0x2a51(){var _0x287bb7=['7qbkSSh','requires','12ZAUWQE','593830MXzxsc','140pyrgjE','3966760oDbJgK','isPremiumPlugin','PresenceList','304162TpMALG','3615975CLDHrh','isOfficialPlugin','pluginName','173532phRDcq','696624BgeWft','34801300LmVIKb'];_0x2a51=function(){return _0x287bb7;};return _0x2a51();}import{Sessions as _0x44ac78}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4604a0}from'./presencelist/presencelistui.js';export class PresenceList extends _0xde5a9c{static get[_0x1a07a9(0x1ae)](){return[_0x44ac78,_0x4604a0];}static get[_0x1a07a9(0x1a9)](){var _0x53d359=_0x1a07a9;return _0x53d359(0x1a5);}static get[_0x1a07a9(0x1a8)](){return!0x0;}static get[_0x1a07a9(0x1a4)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x579045)());[_0x43b5f7(0x152)];static get[_0x43b5f7(0x179)](){const _0x1046d2=_0x43b5f7;return[_0x287211,_0x1046d2(0x13a),_0x1a994c,_0x433166];}static get[_0x43b5f7(0x178)](){const _0x20d68f=_0x43b5f7;return _0x20d68f(0x18e);}static get[_0x43b5f7(0x14e)](){return!0x0;}static get[_0x43b5f7(0x14f)](){return!0x0;}constructor(_0x838b29){const _0x146c7c=_0x43b5f7;super(_0x838b29),this[_0x146c7c(0x152)]=new Map();}async[_0x43b5f7(0x131)](){const _0x18b0aa=_0x43b5f7,_0xf05fdf=this[_0x18b0aa(0x13f)],_0x4f0691=_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x18b0aa(0x13a));if(_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x287211)[_0x18b0aa(0x140)](this),_0x4f0691[_0x18b0aa(0x145)]={'addCommentThread':async({channelId:_0x38430c,threadId:_0x405714,comments:_0x5ce76d,resolvedAt:_0x311167,resolvedBy:_0x299b57,context:_0x35f5c1,attributes:_0x39dc47})=>{const _0x445f83=_0x18b0aa,_0x51e55b=await this[_0x445f83(0x177)](_0x38430c)[_0x445f83(0x138)]({'commentThreadId':_0x405714,'comments':_0x5ce76d[_0x445f83(0x161)](_0x1bfa05=>function(_0x9be0d,_0x581a8a,_0x14041e){const _0x3d44b3=_0x445f83;return{'commentThreadId':_0x14041e,'commentId':_0x9be0d[_0x3d44b3(0x190)],'userId':_0x9be0d[_0x3d44b3(0x174)],'content':_0x9be0d[_0x3d44b3(0x132)],'documentId':_0x581a8a,'createdAt':_0x9be0d[_0x3d44b3(0x14c)],'attributes':_0x9be0d[_0x3d44b3(0x184)]||{}};}(_0x1bfa05,_0x38430c,_0x405714)),'resolvedAt':_0x311167,'resolvedBy':_0x299b57,'context':_0x35f5c1,'attributes':_0x39dc47})[_0x445f83(0x16e)](k);return{'threadId':_0x51e55b[_0x445f83(0x16c)],'comments':_0x51e55b[_0x445f83(0x15e)]};},'getCommentThread':async({channelId:_0x5d5c24,threadId:_0x5476e4})=>{const _0x124289=_0x18b0aa,_0x1236a2=await this[_0x124289(0x177)](_0x5d5c24)[_0x124289(0x18b)](_0x5476e4)[_0x124289(0x16e)](k);return _0x1236a2[_0x124289(0x15d)]?null:(await this[_0x124289(0x170)]([_0x1236a2]),{'threadId':_0x1236a2[_0x124289(0x16c)],'comments':_0x1236a2[_0x124289(0x15e)][_0x124289(0x161)](B),'context':_0x1236a2[_0x124289(0x13f)],'resolvedAt':_0x1236a2[_0x124289(0x137)],'resolvedBy':_0x1236a2[_0x124289(0x14d)],'attributes':_0x1236a2[_0x124289(0x184)]||{}});},'updateCommentThread':async({channelId:_0x5c9050,threadId:_0x4b7690,context:_0x36059f,unlinkedAt:_0xb6e70e,attributes:_0x576ec0})=>this[_0x18b0aa(0x177)](_0x5c9050)[_0x18b0aa(0x15f)]({'commentThreadId':_0x4b7690,'context':_0x36059f,'attributes':_0x576ec0,'unlinkedAt':_0xb6e70e})[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'resolveCommentThread':async({channelId:_0x30f7a0,threadId:_0x34dcc3})=>{const _0x3a2e48=_0x18b0aa,_0x233a10=await this[_0x3a2e48(0x177)](_0x30f7a0)[_0x3a2e48(0x165)](_0x34dcc3)[_0x3a2e48(0x16e)](F)[_0x3a2e48(0x16e)](k);return{'threadId':_0x233a10[_0x3a2e48(0x16c)],'resolvedAt':_0x233a10[_0x3a2e48(0x137)],'resolvedBy':_0x233a10[_0x3a2e48(0x14d)]};},'reopenCommentThread':async({channelId:_0x549725,threadId:_0x1c3fe8})=>this[_0x18b0aa(0x177)](_0x549725)[_0x18b0aa(0x139)](_0x1c3fe8)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'removeCommentThread':({channelId:_0x471655,threadId:_0x13c02b})=>this[_0x18b0aa(0x177)](_0x471655)[_0x18b0aa(0x146)](_0x13c02b)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'addComment':({channelId:_0x335306,threadId:_0x43590d,commentId:_0x1f352c,content:_0x182a42,attributes:_0x3948af})=>this[_0x18b0aa(0x177)](_0x335306)[_0x18b0aa(0x180)](_0x43590d,_0x1f352c,_0x182a42,_0x3948af)[_0x18b0aa(0x16e)](k),'updateComment':({channelId:_0x404ceb,threadId:_0x644669,commentId:_0x5917da,content:_0xe0391,attributes:_0x135af7})=>this[_0x18b0aa(0x177)](_0x404ceb)[_0x18b0aa(0x188)](_0x644669,_0x5917da,_0xe0391,_0x135af7)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'removeComment':({channelId:_0x2ebf99,threadId:_0x246c9b,commentId:_0x74f9d8})=>this[_0x18b0aa(0x177)](_0x2ebf99)[_0x18b0aa(0x134)](_0x246c9b,_0x74f9d8)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k)},_0xf05fdf instanceof _0x355a45){const _0x102179=_0xf05fdf[_0x18b0aa(0x173)][_0x18b0aa(0x172)](_0x18b0aa(0x17e)),_0x2c8125=_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x1a994c);await this[_0x18b0aa(0x17f)](_0x102179);const _0x5b162d=await this[_0x18b0aa(0x152)][_0x18b0aa(0x172)](_0x102179)[_0x18b0aa(0x168)]();this[_0x18b0aa(0x17c)](_0x2c8125,_0x18b0aa(0x15b)+_0x102179,(_0x3cb857,{session:_0x564ec5})=>{const _0x43bca0=_0x18b0aa;_0x564ec5['id']===_0x2c8125[_0x43bca0(0x18d)]&&(_0x3cb857[_0x43bca0(0x181)](),this[_0x43bca0(0x13f)][_0x43bca0(0x163)][_0x43bca0(0x172)](_0x43bca0(0x158))[_0x43bca0(0x185)](_0x564ec5[_0x43bca0(0x17a)],_0x102179));}),_0x2c8125[_0x18b0aa(0x13b)](_0x102179,_0x5b162d);}}async[_0x43b5f7(0x17f)](_0x3629b2){const _0x59a9a9=_0x43b5f7;if(this[_0x59a9a9(0x152)][_0x59a9a9(0x148)](_0x3629b2))throw new _0x33c369(_0x59a9a9(0x159),null,{'channelId':_0x3629b2});const _0xc24524=this[_0x59a9a9(0x13f)][_0x59a9a9(0x163)][_0x59a9a9(0x172)](_0x59a9a9(0x13a)),_0x483d19=new s[(_0x59a9a9(0x164))](_0x3629b2);this[_0x59a9a9(0x152)][_0x59a9a9(0x169)](_0x3629b2,_0x483d19),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x143),(_0x1097e2,_0x1357e8)=>{const _0x1fce69=_0x59a9a9,{commentThreadId:_0x365b07,documentId:_0x468f0c,context:_0x3a9a1b,attributes:_0x3dc3d1,resolvedAt:_0x582083,resolvedBy:_0x139742,comments:_0x5407b5}=_0x1357e8;_0xc24524[_0x1fce69(0x18b)](_0x365b07)||_0xc24524[_0x1fce69(0x138)]({'threadId':_0x365b07,'channelId':_0x468f0c,'comments':_0x5407b5?_0x5407b5[_0x1fce69(0x161)](B):[],'context':_0x3a9a1b,'attributes':_0x3dc3d1,'resolvedAt':_0x582083,'resolvedBy':_0x139742,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x189),(_0x513a09,{commentThreadId:_0x1652bf,documentId:_0x51887b,context:_0xf4fd33,unlinkedAt:_0x236035,attributes:_0x4b200b})=>{const _0x43e025=_0x59a9a9;_0xc24524[_0x43e025(0x18b)](_0x1652bf)&&_0xc24524[_0x43e025(0x15f)]({'threadId':_0x1652bf,'channelId':_0x51887b,'context':_0xf4fd33,'unlinkedAt':_0x236035,'attributes':_0x4b200b,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x13e),(_0x2f92a,{commentThreadId:_0x396b2d,resolvedBy:_0x3e8fec,resolvedAt:_0x218b03})=>{const _0x11820a=_0x59a9a9,_0x3055fd=_0xc24524[_0x11820a(0x18b)](_0x396b2d);_0x3055fd&&_0x3055fd[_0x11820a(0x162)]({'resolvedBy':_0x3e8fec,'resolvedAt':_0x218b03,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x14a),(_0x2b944a,{commentThreadId:_0x78d7eb})=>{const _0x1579a0=_0x59a9a9,_0x51fe65=_0xc24524[_0x1579a0(0x18b)](_0x78d7eb);_0x51fe65&&_0x51fe65[_0x1579a0(0x167)]({'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x18f),(_0x25b64b,{commentThreadId:_0x242df5})=>{const _0x479058=_0x59a9a9,_0x18fa6f=_0xc24524[_0x479058(0x18b)](_0x242df5);_0x18fa6f&&_0x18fa6f[_0x479058(0x17b)]({'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x149),(_0x2fee83,_0xdcacab)=>{const _0x51f568=_0x59a9a9,_0x388aa3=_0xdcacab[_0x51f568(0x16c)],_0x5804e5=_0xc24524[_0x51f568(0x18b)](_0x388aa3);_0x5804e5&&_0x5804e5[_0x51f568(0x180)]({...B(_0xdcacab),'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x133),(_0x394a52,{commentThreadId:_0xd93d24,commentId:_0x57960d,content:_0x199f01,attributes:_0x5b9bd8})=>{const _0x24b44c=_0x59a9a9,_0xef7f9c=_0xc24524[_0x24b44c(0x18b)](_0xd93d24);if(_0xef7f9c){const _0x8b2934=_0xef7f9c[_0x24b44c(0x16d)](_0x57960d);_0x8b2934&&_0x8b2934[_0x24b44c(0x16b)]({'content':_0x199f01,'attributes':_0x5b9bd8,'isFromAdapter':!0x0});}}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x12f),(_0x530b8d,{commentThreadId:_0x5ebc20,commentId:_0x444d97})=>{const _0xfc9af=_0x59a9a9,_0x413c09=_0xc24524[_0xfc9af(0x18b)](_0x5ebc20);if(_0x413c09){const _0x15398c=_0x413c09[_0xfc9af(0x16d)](_0x444d97);_0x15398c&&_0x15398c[_0xfc9af(0x17b)]({'isFromAdapter':!0x0});}}),await this[_0x59a9a9(0x12e)](_0x3629b2);}[_0x43b5f7(0x17d)](){const _0x488aa1=_0x43b5f7;if(this[_0x488aa1(0x13f)]instanceof _0x355a45){const _0x1eb737=this[_0x488aa1(0x13f)][_0x488aa1(0x173)][_0x488aa1(0x172)](_0x488aa1(0x17e));this[_0x488aa1(0x175)](_0x1eb737);}}[_0x43b5f7(0x175)](_0x2cafdb){const _0x1a8093=_0x43b5f7;if(!this[_0x1a8093(0x152)][_0x1a8093(0x148)](_0x2cafdb))throw new _0x33c369(_0x1a8093(0x147),null,{'channelId':_0x2cafdb});this[_0x1a8093(0x177)](_0x2cafdb)[_0x1a8093(0x12d)](),this[_0x1a8093(0x152)][_0x1a8093(0x12c)](_0x2cafdb);}async[_0x43b5f7(0x171)](){const _0x145e87=_0x43b5f7;for(const _0x192acc of this[_0x145e87(0x152)][_0x145e87(0x153)]())await this[_0x145e87(0x12e)](_0x192acc);if(this[_0x145e87(0x13f)]instanceof _0x355a45){const _0x425283=this[_0x145e87(0x13f)][_0x145e87(0x173)][_0x145e87(0x172)](_0x145e87(0x17e)),_0x3d68a5=this[_0x145e87(0x13f)][_0x145e87(0x163)][_0x145e87(0x172)](_0x1a994c);_0x3d68a5[_0x145e87(0x183)](_0x425283);const _0xacd6c=await this[_0x145e87(0x152)][_0x145e87(0x172)](_0x425283)[_0x145e87(0x168)]();_0x3d68a5[_0x145e87(0x13b)](_0x425283,_0xacd6c);}}async[_0x43b5f7(0x12e)](_0x3c1c17){const _0x1124df=_0x43b5f7,{connection:_0x3397fe}=this[_0x1124df(0x13f)][_0x1124df(0x163)][_0x1124df(0x172)](_0x287211),_0x420fb6=this[_0x1124df(0x13f)][_0x1124df(0x163)][_0x1124df(0x172)](_0x1124df(0x13a)),_0x58b69b=this[_0x1124df(0x152)][_0x1124df(0x172)](_0x3c1c17),_0x2e8db6=await _0x58b69b[_0x1124df(0x14b)](_0x3397fe);await this[_0x1124df(0x170)](_0x2e8db6);const _0xca330d=new Set(Array[_0x1124df(0x141)](_0x420fb6[_0x1124df(0x15c)]({'channelId':_0x3c1c17}),_0x5c962d=>_0x5c962d['id']));for(const _0x6a422f of _0x2e8db6)_0x6a422f[_0x1124df(0x15d)]||_0xca330d[_0x1124df(0x12c)](_0x6a422f[_0x1124df(0x16c)]);for(const _0x3d8e77 of _0xca330d)_0x420fb6[_0x1124df(0x18b)](_0x3d8e77)[_0x1124df(0x17b)]({'isFromAdapter':!0x0});for(const _0x2b4ce0 of _0x2e8db6){let _0x254c0f=_0x420fb6[_0x1124df(0x18b)](_0x2b4ce0[_0x1124df(0x16c)]);const {commentThreadId:_0x199c74,context:_0x3596f8,attributes:_0x10f2dc,resolvedBy:_0x50105b,resolvedAt:_0x32671a,unlinkedAt:_0x45d920,deletedAt:_0x228663}=_0x2b4ce0;if(_0x228663)continue;_0x254c0f||(_0x254c0f=_0x420fb6[_0x1124df(0x138)]({'channelId':_0x3c1c17,'threadId':_0x199c74,'context':_0x3596f8,'attributes':_0x10f2dc||{},'resolvedBy':_0x50105b,'resolvedAt':_0x32671a,'unlinkedAt':_0x45d920,'isFromAdapter':!0x0}));const _0x2a7022=new Set(Array[_0x1124df(0x141)](_0x254c0f[_0x1124df(0x15e)],_0x2fbae3=>_0x2fbae3['id']));for(const _0x4b3a27 of _0x2b4ce0[_0x1124df(0x15e)])_0x2a7022[_0x1124df(0x12c)](_0x4b3a27[_0x1124df(0x190)]);for(const _0x5e9276 of _0x2a7022)_0x254c0f[_0x1124df(0x16d)](_0x5e9276)[_0x1124df(0x17b)]({'isFromAdapter':!0x0});for(const _0x186f25 of _0x2b4ce0[_0x1124df(0x15e)]){const _0xcf7814=_0x254c0f[_0x1124df(0x16d)](_0x186f25[_0x1124df(0x190)]);_0xcf7814?_0xcf7814[_0x1124df(0x132)]!==_0x186f25[_0x1124df(0x132)]&&_0xcf7814[_0x1124df(0x16b)]({'content':_0x186f25[_0x1124df(0x132)],'isFromAdapter':!0x0}):_0x254c0f[_0x1124df(0x180)](Object[_0x1124df(0x156)](B(_0x186f25),{'isFromAdapter':!0x0}));}}}[_0x43b5f7(0x177)](_0x15baf3){const _0x2265a2=_0x43b5f7;if(!this[_0x2265a2(0x152)][_0x2265a2(0x148)](_0x15baf3))throw new _0x33c369(_0x2265a2(0x187),null,{'channelId':_0x15baf3});return this[_0x2265a2(0x152)][_0x2265a2(0x172)](_0x15baf3);}async[_0x43b5f7(0x170)](_0x301346){const _0x43c1ef=_0x43b5f7,_0x2edb31=this[_0x43c1ef(0x13f)][_0x43c1ef(0x163)][_0x43c1ef(0x172)](_0x433166),{connection:_0x528de0}=this[_0x43c1ef(0x13f)][_0x43c1ef(0x163)][_0x43c1ef(0x172)](_0x287211),_0x2c2b8e=new Set();for(const {resolvedBy:_0x7492ad,comments:_0x41ba0d}of _0x301346){_0x7492ad&&!_0x2edb31[_0x43c1ef(0x191)](_0x7492ad)&&_0x2c2b8e[_0x43c1ef(0x151)](_0x7492ad);for(const {userId:_0x1d79f7}of _0x41ba0d)_0x2edb31[_0x43c1ef(0x191)](_0x1d79f7)||_0x2c2b8e[_0x43c1ef(0x151)](_0x1d79f7);}if(0x0===_0x2c2b8e[_0x43c1ef(0x16f)])return;const _0x54dd5e=await _0x40487d[_0x43c1ef(0x142)](_0x528de0,Array[_0x43c1ef(0x141)](_0x2c2b8e));for(const _0x3193e8 of _0x54dd5e)_0x2edb31[_0x43c1ef(0x191)](_0x3193e8['id'])||_0x2edb31[_0x43c1ef(0x144)](_0x3193e8);}}export{s as CloudServicesCommentsAdapter};async function F(_0x3d6946){const _0x4134f8=_0x43b5f7;if(_0x4134f8(0x16a)!==_0x3d6946[_0x4134f8(0x157)])throw _0x3d6946;}function k(_0x176578){const _0x1d2989=_0x43b5f7;if((_0x56a484=_0x176578)[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x155))||_0x56a484[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x15a))||_0x56a484[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x150)))return new Promise(()=>{});var _0x56a484;throw _0x176578;}function B(_0x4d7566){const _0x3d8372=_0x43b5f7;return{'threadId':_0x4d7566[_0x3d8372(0x16c)],'commentId':_0x4d7566[_0x3d8372(0x190)],'content':_0x4d7566[_0x3d8372(0x132)],'createdAt':_0x4d7566[_0x3d8372(0x14c)],'authorId':_0x4d7566[_0x3d8372(0x176)],'attributes':_0x4d7566[_0x3d8372(0x184)]||{}};}
|
|
23
|
+
const _0x6cffd4=_0x186d;(function(_0x22423c,_0x324b7b){const _0x4c473a=_0x186d,_0x5dc012=_0x22423c();while(!![]){try{const _0x13971f=-parseInt(_0x4c473a(0x112))/0x1*(parseInt(_0x4c473a(0xcf))/0x2)+parseInt(_0x4c473a(0xe2))/0x3*(parseInt(_0x4c473a(0xbd))/0x4)+-parseInt(_0x4c473a(0x114))/0x5*(parseInt(_0x4c473a(0x124))/0x6)+-parseInt(_0x4c473a(0xe9))/0x7+parseInt(_0x4c473a(0xd0))/0x8*(-parseInt(_0x4c473a(0xc4))/0x9)+parseInt(_0x4c473a(0x106))/0xa*(-parseInt(_0x4c473a(0x122))/0xb)+parseInt(_0x4c473a(0x110))/0xc*(parseInt(_0x4c473a(0xf7))/0xd);if(_0x13971f===_0x324b7b)break;else _0x5dc012['push'](_0x5dc012['shift']());}catch(_0x24dbba){_0x5dc012['push'](_0x5dc012['shift']());}}}(_0x549b,0xbbe3c));import{Context as _0x35126c,ContextPlugin as _0x11a438}from'ckeditor5/src/core.js';import{CKEditorError as _0x182892}from'ckeditor5/src/utils.js';import{Users as _0x17181c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3979c1,User as _0x4123ac}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4902f3}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x243a75}from'../realtimecollaborativeediting/sessions.js';class s extends _0x11a438{static [_0x6cffd4(0x10d)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3979c1)());[_0x6cffd4(0xe6)];static get[_0x6cffd4(0xee)](){const _0x3c540f=_0x6cffd4;return[_0x4902f3,_0x3c540f(0xe1),_0x243a75,_0x17181c];}static get[_0x6cffd4(0xec)](){const _0x41486b=_0x6cffd4;return _0x41486b(0x11c);}static get[_0x6cffd4(0x10f)](){return!0x0;}static get[_0x6cffd4(0x118)](){return!0x0;}constructor(_0x22b6b8){const _0x38604e=_0x6cffd4;super(_0x22b6b8),this[_0x38604e(0xe6)]=new Map();}async[_0x6cffd4(0xf8)](){const _0x253c99=_0x6cffd4,_0x4dfca3=this[_0x253c99(0xd6)],_0x3a72d8=_0x4dfca3[_0x253c99(0xd8)][_0x253c99(0xea)](_0x253c99(0xe1));if(_0x4dfca3[_0x253c99(0xd8)][_0x253c99(0xea)](_0x4902f3)[_0x253c99(0xc9)](this),_0x3a72d8[_0x253c99(0xdd)]={'addCommentThread':async({channelId:_0x2f61c,threadId:_0x4cd919,comments:_0x4150df,resolvedAt:_0x54d1c4,resolvedBy:_0x1d136a,context:_0xa725e7,attributes:_0x1655b2})=>{const _0x3e0a66=_0x253c99,_0x33db4b=await this[_0x3e0a66(0xf1)](_0x2f61c)[_0x3e0a66(0xe7)]({'commentThreadId':_0x4cd919,'comments':_0x4150df[_0x3e0a66(0xf3)](_0xfec6f9=>function(_0xa07091,_0x2983d9,_0x46c604){const _0x2f1f51=_0x3e0a66;return{'commentThreadId':_0x46c604,'commentId':_0xa07091[_0x2f1f51(0x116)],'userId':_0xa07091[_0x2f1f51(0xde)],'content':_0xa07091[_0x2f1f51(0xcb)],'documentId':_0x2983d9,'createdAt':_0xa07091[_0x2f1f51(0xca)],'attributes':_0xa07091[_0x2f1f51(0xd1)]||{}};}(_0xfec6f9,_0x2f61c,_0x4cd919)),'resolvedAt':_0x54d1c4,'resolvedBy':_0x1d136a,'context':_0xa725e7,'attributes':_0x1655b2})[_0x3e0a66(0x105)](Y);return{'threadId':_0x33db4b[_0x3e0a66(0xc1)],'comments':_0x33db4b[_0x3e0a66(0x113)]};},'getCommentThread':async({channelId:_0x496b19,threadId:_0x651488})=>{const _0x156eb4=_0x253c99,_0x358353=await this[_0x156eb4(0xf1)](_0x496b19)[_0x156eb4(0xd7)](_0x651488)[_0x156eb4(0x105)](Y);return _0x358353[_0x156eb4(0xce)]?null:(await this[_0x156eb4(0xf9)]([_0x358353]),{'threadId':_0x358353[_0x156eb4(0xc1)],'comments':_0x358353[_0x156eb4(0x113)][_0x156eb4(0xf3)](st),'context':_0x358353[_0x156eb4(0xd6)],'resolvedAt':_0x358353[_0x156eb4(0xfa)],'resolvedBy':_0x358353[_0x156eb4(0x102)],'attributes':_0x358353[_0x156eb4(0xd1)]||{}});},'updateCommentThread':async({channelId:_0x41352b,threadId:_0xd7ddc3,context:_0x8ecbea,unlinkedAt:_0x16041f,attributes:_0x465365})=>this[_0x253c99(0xf1)](_0x41352b)[_0x253c99(0xbe)]({'commentThreadId':_0xd7ddc3,'context':_0x8ecbea,'attributes':_0x465365,'unlinkedAt':_0x16041f})[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y),'resolveCommentThread':async({channelId:_0x4e6857,threadId:_0x45c5dc})=>{const _0x3f5b8c=_0x253c99,_0x2e6d66=await this[_0x3f5b8c(0xf1)](_0x4e6857)[_0x3f5b8c(0x101)](_0x45c5dc)[_0x3f5b8c(0x105)](nt)[_0x3f5b8c(0x105)](Y);return{'threadId':_0x2e6d66[_0x3f5b8c(0xc1)],'resolvedAt':_0x2e6d66[_0x3f5b8c(0xfa)],'resolvedBy':_0x2e6d66[_0x3f5b8c(0x102)]};},'reopenCommentThread':async({channelId:_0x2b1cfe,threadId:_0x489044})=>this[_0x253c99(0xf1)](_0x2b1cfe)[_0x253c99(0x11b)](_0x489044)[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y),'removeCommentThread':({channelId:_0xfe5567,threadId:_0x186540})=>this[_0x253c99(0xf1)](_0xfe5567)[_0x253c99(0xbc)](_0x186540)[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y),'addComment':({channelId:_0x4a865b,threadId:_0x563a60,commentId:_0x3565e0,content:_0x522508,attributes:_0x2c7bf5})=>this[_0x253c99(0xf1)](_0x4a865b)[_0x253c99(0xc0)](_0x563a60,_0x3565e0,_0x522508,_0x2c7bf5)[_0x253c99(0x105)](Y),'updateComment':({channelId:_0x2dd198,threadId:_0x2950cd,commentId:_0x314163,content:_0x12f9fd,attributes:_0x401ecf})=>this[_0x253c99(0xf1)](_0x2dd198)[_0x253c99(0xc8)](_0x2950cd,_0x314163,_0x12f9fd,_0x401ecf)[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y),'removeComment':({channelId:_0x46071f,threadId:_0x3ee04d,commentId:_0x529832})=>this[_0x253c99(0xf1)](_0x46071f)[_0x253c99(0xeb)](_0x3ee04d,_0x529832)[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y)},_0x4dfca3 instanceof _0x35126c){const _0x15340e=_0x4dfca3[_0x253c99(0xc3)][_0x253c99(0xea)](_0x253c99(0xcc)),_0x171bd7=_0x4dfca3[_0x253c99(0xd8)][_0x253c99(0xea)](_0x243a75);await this[_0x253c99(0xff)](_0x15340e);const _0x107fa9=await this[_0x253c99(0xe6)][_0x253c99(0xea)](_0x15340e)[_0x253c99(0x10c)]();this[_0x253c99(0xc5)](_0x171bd7,_0x253c99(0x107)+_0x15340e,(_0x16d6fe,{session:_0x2ceb91})=>{const _0x1af6c7=_0x253c99;_0x2ceb91['id']===_0x171bd7[_0x1af6c7(0x11d)]&&(_0x16d6fe[_0x1af6c7(0xdb)](),this[_0x1af6c7(0xd6)][_0x1af6c7(0xd8)][_0x1af6c7(0xea)](_0x1af6c7(0x119))[_0x1af6c7(0x100)](_0x2ceb91[_0x1af6c7(0xc7)],_0x15340e));}),_0x171bd7[_0x253c99(0xf6)](_0x15340e,_0x107fa9);}}async[_0x6cffd4(0xff)](_0x172548){const _0x485f24=_0x6cffd4;if(this[_0x485f24(0xe6)][_0x485f24(0xf5)](_0x172548))throw new _0x182892(_0x485f24(0xdc),null,{'channelId':_0x172548});const _0x5079a4=this[_0x485f24(0xd6)][_0x485f24(0xd8)][_0x485f24(0xea)](_0x485f24(0xe1)),_0x194c80=new s[(_0x485f24(0x10d))](_0x172548);this[_0x485f24(0xe6)][_0x485f24(0xf4)](_0x172548,_0x194c80),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xe0),(_0x463746,_0x152757)=>{const _0x255e86=_0x485f24,{commentThreadId:_0x212324,documentId:_0x2b68da,context:_0x4aa561,attributes:_0x6c9ace,resolvedAt:_0xccdeaf,resolvedBy:_0x36c429,comments:_0x29815b}=_0x152757;_0x5079a4[_0x255e86(0xd7)](_0x212324)||_0x5079a4[_0x255e86(0xe7)]({'threadId':_0x212324,'channelId':_0x2b68da,'comments':_0x29815b?_0x29815b[_0x255e86(0xf3)](st):[],'context':_0x4aa561,'attributes':_0x6c9ace,'resolvedAt':_0xccdeaf,'resolvedBy':_0x36c429,'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xc2),(_0x5b05d5,{commentThreadId:_0x192f90,documentId:_0x36b208,context:_0x1cfcaa,unlinkedAt:_0x246133,attributes:_0x24c340})=>{const _0x45c215=_0x485f24;_0x5079a4[_0x45c215(0xd7)](_0x192f90)&&_0x5079a4[_0x45c215(0xbe)]({'threadId':_0x192f90,'channelId':_0x36b208,'context':_0x1cfcaa,'unlinkedAt':_0x246133,'attributes':_0x24c340,'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xc6),(_0x42c00d,{commentThreadId:_0x173dcb,resolvedBy:_0x14b161,resolvedAt:_0x48b797})=>{const _0x5bcc3d=_0x485f24,_0x51a354=_0x5079a4[_0x5bcc3d(0xd7)](_0x173dcb);_0x51a354&&_0x51a354[_0x5bcc3d(0xfb)]({'resolvedBy':_0x14b161,'resolvedAt':_0x48b797,'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xfe),(_0xf0c7c9,{commentThreadId:_0x2780ea})=>{const _0x23de1d=_0x485f24,_0x2cecc9=_0x5079a4[_0x23de1d(0xd7)](_0x2780ea);_0x2cecc9&&_0x2cecc9[_0x23de1d(0xbf)]({'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xed),(_0x508bc7,{commentThreadId:_0x3691b7})=>{const _0x47c06d=_0x485f24,_0x4d3610=_0x5079a4[_0x47c06d(0xd7)](_0x3691b7);_0x4d3610&&_0x4d3610[_0x47c06d(0x117)]({'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xfc),(_0x4fe096,_0x16baa4)=>{const _0xa9ead1=_0x485f24,_0x5e571c=_0x16baa4[_0xa9ead1(0xc1)],_0x5ac33b=_0x5079a4[_0xa9ead1(0xd7)](_0x5e571c);_0x5ac33b&&_0x5ac33b[_0xa9ead1(0xc0)]({...st(_0x16baa4),'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0x108),(_0x2cf765,{commentThreadId:_0x53d183,commentId:_0xa5bcac,content:_0x6095b4,attributes:_0x5c0517})=>{const _0x372ff7=_0x485f24,_0x4891dd=_0x5079a4[_0x372ff7(0xd7)](_0x53d183);if(_0x4891dd){const _0x436fcc=_0x4891dd[_0x372ff7(0x10a)](_0xa5bcac);_0x436fcc&&_0x436fcc[_0x372ff7(0xd5)]({'content':_0x6095b4,'attributes':_0x5c0517,'isFromAdapter':!0x0});}}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0x123),(_0x236f39,{commentThreadId:_0x91c4e6,commentId:_0x1b1738})=>{const _0x33c342=_0x485f24,_0xe12fcf=_0x5079a4[_0x33c342(0xd7)](_0x91c4e6);if(_0xe12fcf){const _0x3f7960=_0xe12fcf[_0x33c342(0x10a)](_0x1b1738);_0x3f7960&&_0x3f7960[_0x33c342(0x117)]({'isFromAdapter':!0x0});}}),await this[_0x485f24(0xef)](_0x172548);}[_0x6cffd4(0x115)](){const _0x41e251=_0x6cffd4;if(this[_0x41e251(0xd6)]instanceof _0x35126c){const _0x4d8e9f=this[_0x41e251(0xd6)][_0x41e251(0xc3)][_0x41e251(0xea)](_0x41e251(0xcc));this[_0x41e251(0x121)](_0x4d8e9f);}}[_0x6cffd4(0x121)](_0x2d82f0){const _0x2ba987=_0x6cffd4;if(!this[_0x2ba987(0xe6)][_0x2ba987(0xf5)](_0x2d82f0))throw new _0x182892(_0x2ba987(0xe5),null,{'channelId':_0x2d82f0});this[_0x2ba987(0xf1)](_0x2d82f0)[_0x2ba987(0x11f)](),this[_0x2ba987(0xe6)][_0x2ba987(0x120)](_0x2d82f0);}async[_0x6cffd4(0xe8)](){const _0x32fe2b=_0x6cffd4;for(const _0x199752 of this[_0x32fe2b(0xe6)][_0x32fe2b(0xf0)]())await this[_0x32fe2b(0xef)](_0x199752);if(this[_0x32fe2b(0xd6)]instanceof _0x35126c){const _0x368a50=this[_0x32fe2b(0xd6)][_0x32fe2b(0xc3)][_0x32fe2b(0xea)](_0x32fe2b(0xcc)),_0x58ce25=this[_0x32fe2b(0xd6)][_0x32fe2b(0xd8)][_0x32fe2b(0xea)](_0x243a75);_0x58ce25[_0x32fe2b(0x109)](_0x368a50);const _0x5b66bb=await this[_0x32fe2b(0xe6)][_0x32fe2b(0xea)](_0x368a50)[_0x32fe2b(0x10c)]();_0x58ce25[_0x32fe2b(0xf6)](_0x368a50,_0x5b66bb);}}async[_0x6cffd4(0xef)](_0x552eb5){const _0x2d7497=_0x6cffd4,{connection:_0x1ed295}=this[_0x2d7497(0xd6)][_0x2d7497(0xd8)][_0x2d7497(0xea)](_0x4902f3),_0x489c22=this[_0x2d7497(0xd6)][_0x2d7497(0xd8)][_0x2d7497(0xea)](_0x2d7497(0xe1)),_0x58d77d=this[_0x2d7497(0xe6)][_0x2d7497(0xea)](_0x552eb5),_0x3ae4c5=await _0x58d77d[_0x2d7497(0xcd)](_0x1ed295);await this[_0x2d7497(0xf9)](_0x3ae4c5);const _0x334113=new Set(Array[_0x2d7497(0x11e)](_0x489c22[_0x2d7497(0x111)]({'channelId':_0x552eb5}),_0x34ef24=>_0x34ef24['id']));for(const _0x147dd5 of _0x3ae4c5)_0x147dd5[_0x2d7497(0xce)]||_0x334113[_0x2d7497(0x120)](_0x147dd5[_0x2d7497(0xc1)]);for(const _0x28eb03 of _0x334113)_0x489c22[_0x2d7497(0xd7)](_0x28eb03)[_0x2d7497(0x117)]({'isFromAdapter':!0x0});for(const _0x499634 of _0x3ae4c5){let _0x26dc96=_0x489c22[_0x2d7497(0xd7)](_0x499634[_0x2d7497(0xc1)]);const {commentThreadId:_0x46b134,context:_0x56495a,attributes:_0x4d9d89,resolvedBy:_0x3ec4e2,resolvedAt:_0x449949,unlinkedAt:_0x5a8467,deletedAt:_0x7e7d71}=_0x499634;if(_0x7e7d71)continue;_0x26dc96||(_0x26dc96=_0x489c22[_0x2d7497(0xe7)]({'channelId':_0x552eb5,'threadId':_0x46b134,'context':_0x56495a,'attributes':_0x4d9d89||{},'resolvedBy':_0x3ec4e2,'resolvedAt':_0x449949,'unlinkedAt':_0x5a8467,'isFromAdapter':!0x0}));const _0x3684a1=new Set(Array[_0x2d7497(0x11e)](_0x26dc96[_0x2d7497(0x113)],_0x3b1ba2=>_0x3b1ba2['id']));for(const _0x42f49a of _0x499634[_0x2d7497(0x113)])_0x3684a1[_0x2d7497(0x120)](_0x42f49a[_0x2d7497(0x116)]);for(const _0x45cd5b of _0x3684a1)_0x26dc96[_0x2d7497(0x10a)](_0x45cd5b)[_0x2d7497(0x117)]({'isFromAdapter':!0x0});for(const _0x23696f of _0x499634[_0x2d7497(0x113)]){const _0x18a234=_0x26dc96[_0x2d7497(0x10a)](_0x23696f[_0x2d7497(0x116)]);_0x18a234?_0x18a234[_0x2d7497(0xcb)]!==_0x23696f[_0x2d7497(0xcb)]&&_0x18a234[_0x2d7497(0xd5)]({'content':_0x23696f[_0x2d7497(0xcb)],'isFromAdapter':!0x0}):_0x26dc96[_0x2d7497(0xc0)](Object[_0x2d7497(0xe4)](st(_0x23696f),{'isFromAdapter':!0x0}));}}}[_0x6cffd4(0xf1)](_0x5ed4e3){const _0x2e7d85=_0x6cffd4;if(!this[_0x2e7d85(0xe6)][_0x2e7d85(0xf5)](_0x5ed4e3))throw new _0x182892(_0x2e7d85(0xe3),null,{'channelId':_0x5ed4e3});return this[_0x2e7d85(0xe6)][_0x2e7d85(0xea)](_0x5ed4e3);}async[_0x6cffd4(0xf9)](_0x38ec3e){const _0x533176=_0x6cffd4,_0x63fb24=this[_0x533176(0xd6)][_0x533176(0xd8)][_0x533176(0xea)](_0x17181c),{connection:_0x3e420f}=this[_0x533176(0xd6)][_0x533176(0xd8)][_0x533176(0xea)](_0x4902f3),_0x505c59=new Set();for(const {resolvedBy:_0x26c4bb,comments:_0x109e8c}of _0x38ec3e){_0x26c4bb&&!_0x63fb24[_0x533176(0x104)](_0x26c4bb)&&_0x505c59[_0x533176(0x10b)](_0x26c4bb);for(const {userId:_0x2ae6d7}of _0x109e8c)_0x63fb24[_0x533176(0x104)](_0x2ae6d7)||_0x505c59[_0x533176(0x10b)](_0x2ae6d7);}if(0x0===_0x505c59[_0x533176(0x11a)])return;const _0x2ab49c=await _0x4123ac[_0x533176(0xf2)](_0x3e420f,Array[_0x533176(0x11e)](_0x505c59));for(const _0xd37322 of _0x2ab49c)_0x63fb24[_0x533176(0x104)](_0xd37322['id'])||_0x63fb24[_0x533176(0xd4)](_0xd37322);}}function _0x549b(){const _0x1de479=['unregister','getComment','add','getConnectedSessions','CommentsService','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','2664KEGXDP','getCommentThreads','61062lJVYpj','comments','369680YECzLX','destroy','commentId','remove','isPremiumPlugin','Permissions','size','reopenCommentThread','CloudServicesCommentsAdapter','mySessionId','from','disconnect','delete','_terminateService','11342122bplaCS','commentRemoved','66dskxWC','removeCommentThread','5473848CRmViE','updateCommentThread','reopen','addComment','commentThreadId','commentThreadUpdated','config','47844yFELWG','listenTo','commentThreadResolved','permissions','updateComment','addToReconnectionStack','createdAt','content','collaboration.channelId','connect','deletedAt','2LUoUwk','1504essVMh','attributes','userId','404','addUser','update','context','getCommentThread','plugins','message','startsWith','off','cloudservicescommentsadapter-connect-already-connected','adapter','authorId','cloud-services-internal-error:\x20Not\x20connected.','commentThreadAdded','CommentsRepository','3Wenbrc','cloudservicescommentsadapter-service-not-exist','assign','cloudservicescommentsadapter-disconnect-not-exist','_services','addCommentThread','reconnect','10667594vkijJT','get','removeComment','pluginName','commentThreadRemoved','requires','_connectService','keys','_getService','getMany','map','set','has','register','224276XoPUcK','init','_fetchMissingUsersForThreads','resolvedAt','resolve','commentAdded','code','commentThreadReopened','_setUpService','setPermissions','resolveCommentThread','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getUser','catch','10spCjSc','sessionAdd:','commentUpdated'];_0x549b=function(){return _0x1de479;};return _0x549b();}export{s as CloudServicesCommentsAdapter};function _0x186d(_0x43becf,_0x429efc){const _0x549b77=_0x549b();return _0x186d=function(_0x186d8e,_0x4d5626){_0x186d8e=_0x186d8e-0xbc;let _0x345ff0=_0x549b77[_0x186d8e];return _0x345ff0;},_0x186d(_0x43becf,_0x429efc);}async function nt(_0x2f0dde){const _0x520515=_0x6cffd4;if(_0x520515(0xd3)!==_0x2f0dde[_0x520515(0xfd)])throw _0x2f0dde;}function Y(_0x4486f8){const _0x23e8b1=_0x6cffd4;if((_0x18571d=_0x4486f8)[_0x23e8b1(0xd9)][_0x23e8b1(0xda)](_0x23e8b1(0x103))||_0x18571d[_0x23e8b1(0xd9)][_0x23e8b1(0xda)](_0x23e8b1(0xdf))||_0x18571d[_0x23e8b1(0xd9)][_0x23e8b1(0xda)](_0x23e8b1(0x10e)))return new Promise(()=>{});var _0x18571d;throw _0x4486f8;}function st(_0x5a2ae4){const _0x21ce80=_0x6cffd4;return{'threadId':_0x5a2ae4[_0x21ce80(0xc1)],'commentId':_0x5a2ae4[_0x21ce80(0x116)],'content':_0x5a2ae4[_0x21ce80(0xcb)],'createdAt':_0x5a2ae4[_0x21ce80(0xca)],'authorId':_0x5a2ae4[_0x21ce80(0xd2)],'attributes':_0x5a2ae4[_0x21ce80(0xd1)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x31b4(_0x3dc927,_0x3abcdf){const _0x249d0d=_0x249d();return _0x31b4=function(_0x31b4a5,_0x4792d9){_0x31b4a5=_0x31b4a5-0x1d6;let _0x43972c=_0x249d0d[_0x31b4a5];return _0x43972c;},_0x31b4(_0x3dc927,_0x3abcdf);}const _0x39b133=_0x31b4;(function(_0x325ce2,_0xecaca0){const _0x38079f=_0x31b4,_0x9670=_0x325ce2();while(!![]){try{const _0x252f29=-parseInt(_0x38079f(0x1de))/0x1*(-parseInt(_0x38079f(0x1ec))/0x2)+-parseInt(_0x38079f(0x1e4))/0x3*(parseInt(_0x38079f(0x1db))/0x4)+parseInt(_0x38079f(0x1e0))/0x5*(parseInt(_0x38079f(0x1ed))/0x6)+parseInt(_0x38079f(0x1f7))/0x7*(-parseInt(_0x38079f(0x1f9))/0x8)+-parseInt(_0x38079f(0x1df))/0x9*(parseInt(_0x38079f(0x1e3))/0xa)+parseInt(_0x38079f(0x1ef))/0xb+parseInt(_0x38079f(0x1f5))/0xc;if(_0x252f29===_0xecaca0)break;else _0x9670['push'](_0x9670['shift']());}catch(_0xeb9eaa){_0x9670['push'](_0x9670['shift']());}}}(_0x249d,0x7d29e));function _0x249d(){const _0x1a32e0=['listenTo','destroy','86mpGQMs','594SdiMDQ','Comments','5665572UjwrTb','once','CommentsRepository','CommentsEditing','isOfficialPlugin','ready','4367268cfvYRU','switchReadOnly','7WTgZoA','plugins','4536816esPfvx','connected','init','_setUpService','isPremiumPlugin','RealTimeCollaborativeComments','change:state','72652CTIrfB','config','collaboration.channelId','980OMksdj','9KYgeRG','41145qUcyOj','get','requires','6378670VewfWL','3WiLPif','data','_terminateService','pluginName','isThreadsLoadingPaused','editor'];_0x249d=function(){return _0x1a32e0;};return _0x249d();}import{Plugin as _0x92cf36}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4f6b79}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4227e7}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x56dd9d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x92cf36{static get[_0x39b133(0x1e2)](){const _0x2201fc=_0x39b133;return[_0x2201fc(0x1ee),_0x4f6b79,_0x4227e7,_0x56dd9d];}static get[_0x39b133(0x1e7)](){const _0xa3f9eb=_0x39b133;return _0xa3f9eb(0x1d9);}static get[_0x39b133(0x1f3)](){return!0x0;}static get[_0x39b133(0x1d8)](){return!0x0;}[_0x39b133(0x1d6)](){const _0x54c5a9=_0x39b133,_0x52b007=this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1f8)][_0x54c5a9(0x1e1)](_0x56dd9d),_0x3a2064=this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1f8)][_0x54c5a9(0x1e1)](_0x54c5a9(0x1f2)),_0x46eda6=this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1f8)][_0x54c5a9(0x1e1)](_0x4f6b79);return this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1e5)][_0x54c5a9(0x1f0)](_0x54c5a9(0x1f4),()=>{const _0x29f8d4=_0x54c5a9;this[_0x29f8d4(0x1ea)](_0x52b007,_0x29f8d4(0x1da),(_0x26dae7,_0x51b6c4,_0xe9829a)=>{const _0x580639=_0x29f8d4;_0x3a2064[_0x580639(0x1e8)]=_0x580639(0x1fa)!==_0xe9829a;});}),this[_0x54c5a9(0x1ea)](_0x52b007,_0x54c5a9(0x1da),(_0xde9d19,_0x736adf,_0x5cafee)=>{const _0xa7d482=_0x54c5a9;this[_0xa7d482(0x1e9)][_0xa7d482(0x1f8)][_0xa7d482(0x1e1)](_0xa7d482(0x1f1))[_0xa7d482(0x1f6)](_0xa7d482(0x1fa)!==_0x5cafee);}),_0x46eda6[_0x54c5a9(0x1d7)](this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1dc)][_0x54c5a9(0x1e1)](_0x54c5a9(0x1dd)));}[_0x39b133(0x1eb)](){const _0x4e33a7=_0x39b133;this[_0x4e33a7(0x1e9)][_0x4e33a7(0x1f8)][_0x4e33a7(0x1e1)](_0x4f6b79)[_0x4e33a7(0x1e6)](this[_0x4e33a7(0x1e9)][_0x4e33a7(0x1dc)][_0x4e33a7(0x1e1)](_0x4e33a7(0x1dd))),super[_0x4e33a7(0x1eb)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x53f479)());[_0x1aa1f8(0x2a5)];[_0x1aa1f8(0x25b)];[_0x1aa1f8(0x2d9)];[_0x1aa1f8(0x252)];[_0x1aa1f8(0x2ef)];[_0x1aa1f8(0x292)];[_0x1aa1f8(0x296)];[_0x1aa1f8(0x23a)];[_0x1aa1f8(0x24f)];[_0x1aa1f8(0x226)];[_0x1aa1f8(0x2c7)];[_0x1aa1f8(0x245)];[_0x1aa1f8(0x212)];[_0x1aa1f8(0x285)];[_0x1aa1f8(0x21e)];[_0x1aa1f8(0x281)];[_0x1aa1f8(0x2a1)];[_0x1aa1f8(0x203)];static get[_0x1aa1f8(0x29f)](){return[_0x29783d,_0x548109,_0x4d3afe,_0x4a8896,_0x19c178,_0x35948b];}static get[_0x1aa1f8(0x1f1)](){const _0x30b6d2=_0x1aa1f8;return _0x30b6d2(0x1ed);}static get[_0x1aa1f8(0x29e)](){return!0x0;}static get[_0x1aa1f8(0x2a4)](){return!0x0;}get[_0x1aa1f8(0x221)](){const _0x14fd34=_0x1aa1f8;return this[_0x14fd34(0x267)]+this[_0x14fd34(0x2a5)];}get[_0x1aa1f8(0x267)](){const _0x2f78f3=_0x1aa1f8;return this[_0x2f78f3(0x2d9)][_0x2f78f3(0x2c3)]-this[_0x2f78f3(0x2a5)];}get[_0x1aa1f8(0x2b2)](){const _0x2fd799=_0x1aa1f8,_0x3fedcb=this[_0x2fd799(0x2d9)][_0x2fd799(0x28e)]();for(let _0x4f7687=_0x3fedcb[_0x2fd799(0x244)]-0x1;_0x4f7687>=0x0;_0x4f7687--){const _0x3cb315=_0x3fedcb[_0x4f7687];if(!this[_0x2fd799(0x2a1)][_0x2fd799(0x223)](_0x3cb315))return _0x3cb315[_0x2fd799(0x2b6)]+0x1-this[_0x2fd799(0x2a5)];}return 0x0;}constructor(_0x217597){const _0x4ea08e=_0x1aa1f8;if(super(_0x217597),this[_0x4ea08e(0x2a5)]=0x0,this[_0x4ea08e(0x25b)]=null,this[_0x4ea08e(0x2d9)]=new _0x59e5f2(),this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2ee)][_0x4ea08e(0x216)](_0x4ea08e(0x228),{}),this[_0x4ea08e(0x252)]=this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2ee)][_0x4ea08e(0x259)](_0x4ea08e(0x225)),!this[_0x4ea08e(0x252)])throw new _0x18c0ef(_0x4ea08e(0x269),this);const _0x2bf711=_0x217597[_0x4ea08e(0x2ee)][_0x4ea08e(0x259)](_0x4ea08e(0x263))||_0x267d0c;this[_0x4ea08e(0x2ef)]=new l[(_0x4ea08e(0x2e9))](_0x2bf711,this[_0x4ea08e(0x252)]),this[_0x4ea08e(0x292)]=this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2cc)][_0x4ea08e(0x224)],this[_0x4ea08e(0x296)]=new _0x4f4208(),this[_0x4ea08e(0x23a)]=[],this[_0x4ea08e(0x24f)]=new WeakSet(),this[_0x4ea08e(0x226)]=new Set(),this[_0x4ea08e(0x214)](_0x4ea08e(0x299),!0x1),this[_0x4ea08e(0x214)](_0x4ea08e(0x284),!0x1),this[_0x4ea08e(0x2c7)]=null,this[_0x4ea08e(0x245)]=!0x1,this[_0x4ea08e(0x212)]=null,this[_0x4ea08e(0x285)]=0x12c,this[_0x4ea08e(0x21e)]=this[_0x4ea08e(0x285)],this[_0x4ea08e(0x281)]=null,this[_0x4ea08e(0x2a1)]=new WeakSet(),this[_0x4ea08e(0x203)]=new Z(this[_0x4ea08e(0x2a1)]);}[_0x1aa1f8(0x236)](){const _0x2486e5=_0x1aa1f8,_0x14a7e4=this[_0x2486e5(0x2d1)],_0x4eefe0=_0x14a7e4[_0x2486e5(0x1fe)][_0x2486e5(0x259)](_0x19c178),_0xc95342=_0x14a7e4[_0x2486e5(0x1fe)][_0x2486e5(0x259)](_0x29783d);this[_0x2486e5(0x1f2)](_0x4eefe0,_0x2486e5(0x1f4),(_0x370f0b,_0xa11323)=>{const _0x3a9014=_0x2486e5,_0x5e0bca=_0xa11323[0x0];_0x5e0bca[_0x3a9014(0x25a)]&&(_0x370f0b[_0x3a9014(0x2aa)]=_0x4eefe0[_0x3a9014(0x2eb)](_0x5e0bca[_0x3a9014(0x25a)]),_0x370f0b[_0x3a9014(0x21b)]()),null===_0x5e0bca[_0x3a9014(0x25a)]&&(_0x370f0b[_0x3a9014(0x2aa)]=null,_0x370f0b[_0x3a9014(0x21b)]());},{'priority':_0x2486e5(0x266)}),this[_0x2486e5(0x1f2)](_0x14a7e4[_0x2486e5(0x2cc)][_0x2486e5(0x224)][_0x2486e5(0x2b8)],_0x2486e5(0x253),(_0x301236,_0x2f9055)=>{const _0xd8c9c=_0x2486e5;_0x2f9055[_0xd8c9c(0x2e1)]&&this[_0xd8c9c(0x2d6)]();}),this[_0x2486e5(0x1f2)](_0x14a7e4[_0x2486e5(0x2b1)][_0x2486e5(0x1ff)],_0x2486e5(0x2f3),()=>{const _0x59e1d3=_0x2486e5;this[_0x59e1d3(0x2d6)]();}),this[_0x2486e5(0x2e7)](),_0x14a7e4[_0x2486e5(0x2cc)]['on'](_0x2486e5(0x288),(_0x676951,_0x44fe6a)=>{const _0x1dbd01=_0x2486e5,_0x2189ea=_0x44fe6a[0x0];_0x2189ea[_0x1dbd01(0x2c9)]&&(this[_0x1dbd01(0x2c4)](_0x2189ea),this[_0x1dbd01(0x22b)]()&&this[_0x1dbd01(0x235)]());}),this[_0x2486e5(0x26f)](),this[_0x2486e5(0x283)](_0x2486e5(0x23b))['to'](_0xc95342,_0x2486e5(0x279),this,_0x2486e5(0x284),(_0x1af430,_0x2b34ed)=>_0x2486e5(0x246)===_0x1af430&&!_0x2b34ed),this['on'](_0x2486e5(0x251),()=>{const _0x20903d=_0x2486e5;this[_0x20903d(0x23b)]?_0x14a7e4[_0x20903d(0x20d)](_0x20903d(0x270)):_0x14a7e4[_0x20903d(0x20a)](_0x20903d(0x270));}),this[_0x2486e5(0x23b)]?_0x14a7e4[_0x2486e5(0x20d)](_0x2486e5(0x270)):_0x14a7e4[_0x2486e5(0x20a)](_0x2486e5(0x270)),this[_0x2486e5(0x214)](_0x2486e5(0x258),!0x1);}async[_0x1aa1f8(0x2f1)](){const _0x11453f=_0x1aa1f8,_0x41b6e9=this[_0x11453f(0x2d1)][_0x11453f(0x1fe)][_0x11453f(0x259)](_0x548109),_0x355b2b=this[_0x11453f(0x2d1)][_0x11453f(0x1fe)][_0x11453f(0x259)](_0x29783d);try{this[_0x11453f(0x299)]=!0x0,_0x41b6e9[_0x11453f(0x1fb)](this[_0x11453f(0x252)]);const _0x15a3df=await this[_0x11453f(0x2ef)][_0x11453f(0x2f1)](_0x355b2b[_0x11453f(0x286)],this[_0x11453f(0x2b2)]);await this[_0x11453f(0x290)](_0x15a3df)&&(this[_0x11453f(0x299)]=!0x1,this[_0x11453f(0x2d0)]());const _0x4239b7=await this[_0x11453f(0x2ef)][_0x11453f(0x1fd)]();_0x41b6e9[_0x11453f(0x2cf)](this[_0x11453f(0x252)],_0x4239b7),this[_0x11453f(0x2dd)](),this[_0x11453f(0x258)]=!0x0;}catch(_0x43776f){if(function(_0x1af98c){const _0x3f5ad5=_0x11453f;return _0x3f5ad5(0x23d)===_0x1af98c[_0x3f5ad5(0x2ad)];}(_0x43776f)&&this[_0x11453f(0x25b)])await this[_0x11453f(0x287)]();else{if(function(_0x2a3755){const _0x84c23d=_0x11453f;return _0x84c23d(0x219)===_0x2a3755[_0x84c23d(0x2ad)];}(_0x43776f)){const _0x288f25=_0x5692b6(this[_0x11453f(0x2d1)][_0x11453f(0x28f)],_0x11453f(0x222));this[_0x11453f(0x2bb)](_0x288f25);}else{if(!(_0x43776f instanceof X))throw _0x43776f;this[_0x11453f(0x2bb)]();}}}}[_0x1aa1f8(0x22c)](){const _0x1acec0=_0x1aa1f8,_0x6435b3=this[_0x1acec0(0x2d1)][_0x1acec0(0x1fe)][_0x1acec0(0x259)](_0x29783d),_0x9e3565=this[_0x1acec0(0x2d1)][_0x1acec0(0x1fe)][_0x1acec0(0x259)](_0x548109);this[_0x1acec0(0x2d1)][_0x1acec0(0x20a)](_0x1acec0(0x26b)),_0x9e3565[_0x1acec0(0x2be)][_0x1acec0(0x223)](this[_0x1acec0(0x252)])&&_0x9e3565[_0x1acec0(0x1fb)](this[_0x1acec0(0x252)]),_0x6435b3[_0x1acec0(0x1fa)](this),this[_0x1acec0(0x2c6)](),super[_0x1acec0(0x22c)]();}async[_0x1aa1f8(0x290)](_0x16af13){const _0x4aa08f=_0x1aa1f8;if(this[_0x4aa08f(0x25b)]!==_0x16af13[_0x4aa08f(0x25b)]&&this[_0x4aa08f(0x281)]!==_0x16af13[_0x4aa08f(0x27e)])throw new X();return this[_0x4aa08f(0x25b)]=_0x16af13[_0x4aa08f(0x25b)],this[_0x4aa08f(0x218)]([],{..._0x16af13,'wereChangesApplied':!0x1,'data':_0x16af13[_0x4aa08f(0x23f)]},_0x4aa08f(0x2f1));}async[_0x1aa1f8(0x25c)](_0x194a72,_0x4ac8f1=!0x1){const _0x40a23e=_0x1aa1f8,{connection:_0x590b0b}=this[_0x40a23e(0x2d1)][_0x40a23e(0x1fe)][_0x40a23e(0x259)](_0x29783d);l[_0x40a23e(0x2e9)][_0x40a23e(0x1fd)](_0x590b0b,this[_0x40a23e(0x252)])[_0x40a23e(0x28d)](_0x481fcf=>this[_0x40a23e(0x264)](_0x481fcf))[_0x40a23e(0x1fc)](_0x489e3e=>{const _0x17b0ce=_0x40a23e;this[_0x17b0ce(0x29b)](_0x17b0ce(0x2e4),_0x489e3e);}),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x22d),this[_0x40a23e(0x1f8)][_0x40a23e(0x283)](this)),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x27d),(_0x14b6f9,_0xb65ead)=>{const _0xe2e385=_0x40a23e;this[_0xe2e385(0x29b)](_0xe2e385(0x27b),_0xb65ead);}),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x21c),()=>{const _0x5f075c=_0x40a23e;this[_0x5f075c(0x258)]=!0x1;});const _0x29f414=this[_0x40a23e(0x203)][_0x40a23e(0x21a)](_0x194a72);this[_0x40a23e(0x299)]=!0x0;const _0x5ec726=await this[_0x40a23e(0x2ef)][_0x40a23e(0x29d)](_0x590b0b,this[_0x40a23e(0x213)](_0x194a72),_0x29f414);if(this[_0x40a23e(0x25b)]=_0x5ec726[_0x40a23e(0x25b)],_0x4ac8f1){if(!_0x5ec726[_0x40a23e(0x1ec)])return void this[_0x40a23e(0x2bb)]();this[_0x40a23e(0x299)]=!0x1,this[_0x40a23e(0x2d0)](),this[_0x40a23e(0x2d9)][_0x40a23e(0x276)](),this[_0x40a23e(0x2a5)]=_0x5ec726[_0x40a23e(0x2e5)],this[_0x40a23e(0x2d9)][_0x40a23e(0x2c3)]=this[_0x40a23e(0x2a5)],await this[_0x40a23e(0x218)](_0x194a72,_0x5ec726,_0x40a23e(0x23c));}else await this[_0x40a23e(0x2bd)](_0x5ec726,_0x194a72);this[_0x40a23e(0x2dd)](),this[_0x40a23e(0x258)]=!0x0;}[_0x1aa1f8(0x2dd)](){const _0x31fbea=_0x1aa1f8,_0x11facd=this[_0x31fbea(0x2d1)][_0x31fbea(0x1fe)][_0x31fbea(0x259)](_0x548109),_0x216816=this[_0x31fbea(0x2d1)][_0x31fbea(0x1fe)][_0x31fbea(0x259)](_0x4d3afe),_0x187715=_0x11facd[_0x31fbea(0x2be)][_0x31fbea(0x259)](this[_0x31fbea(0x252)]);_0x187715&&_0x187715[_0x31fbea(0x244)]>0x1?_0x216816[_0x31fbea(0x2bc)]():this[_0x31fbea(0x1f2)](_0x11facd,_0x31fbea(0x211)+this[_0x31fbea(0x252)],()=>{const _0x20bb91=_0x31fbea;0x2===_0x11facd[_0x20bb91(0x2be)][_0x20bb91(0x259)](this[_0x20bb91(0x252)])[_0x20bb91(0x244)]&&_0x216816[_0x20bb91(0x2bc)]();});}async[_0x1aa1f8(0x1f8)](_0x9b1350,_0x5edb97,_0x19f0c7,_0x4dec90){const _0x1f6a9f=_0x1aa1f8;if(!this[_0x1f6a9f(0x299)]&&this[_0x1f6a9f(0x292)][_0x1f6a9f(0x2c3)]==_0x5edb97){const _0x4a9c4d=this[_0x1f6a9f(0x20b)](_0x19f0c7,_0x4dec90);await this[_0x1f6a9f(0x28c)](_0x4a9c4d),this[_0x1f6a9f(0x206)](_0x4a9c4d,_0x5edb97,_0x19f0c7[_0x1f6a9f(0x27e)])||this[_0x1f6a9f(0x29b)](_0x1f6a9f(0x2e8));}}async[_0x1aa1f8(0x287)](){const _0x2ff60f=_0x1aa1f8;this[_0x2ff60f(0x2c6)]();const {locale:_0x8d0e29}=this[_0x2ff60f(0x2d1)];let _0x438aa8;try{_0x438aa8=await this[_0x2ff60f(0x2ef)][_0x2ff60f(0x22a)]();}catch{const _0x195d65=_0x5692b6(_0x8d0e29,_0x2ff60f(0x24e));return void this[_0x2ff60f(0x2bb)](_0x195d65);}const _0x4917c9=_0x438aa8[_0x2ff60f(0x282)]||_0x438aa8[_0x2ff60f(0x1ef)];if(this[_0x2ff60f(0x281)]!==_0x4917c9[_0x2ff60f(0x27e)]){const _0x267d92=_0x5692b6(_0x8d0e29,_0x2ff60f(0x238));return void this[_0x2ff60f(0x2bb)](_0x267d92);}await this[_0x2ff60f(0x25c)](this[_0x2ff60f(0x2d1)][_0x2ff60f(0x2cc)][_0x2ff60f(0x224)][_0x2ff60f(0x260)][_0x2ff60f(0x28e)](),!0x0);}[_0x1aa1f8(0x2c6)](){const _0x577d71=_0x1aa1f8;this[_0x577d71(0x2ef)][_0x577d71(0x21d)](),this[_0x577d71(0x23a)]=[],clearTimeout(this[_0x577d71(0x212)]),this[_0x577d71(0x237)](this[_0x577d71(0x2ef)]);}[_0x1aa1f8(0x264)](_0x2d4e4d){const _0x3019a1=_0x1aa1f8,_0x11cae5=this[_0x3019a1(0x2d1)][_0x3019a1(0x1fe)][_0x3019a1(0x259)](_0x548109);this[_0x3019a1(0x1f2)](_0x11cae5,_0x3019a1(0x211)+this[_0x3019a1(0x252)],(_0x41024e,{session:_0x444523})=>{const _0x2106db=_0x3019a1;if(_0x444523['id']===_0x11cae5[_0x2106db(0x2af)]){_0x41024e[_0x2106db(0x215)]();const _0xe78839=this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x223)](_0x2106db(0x294))&&this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x259)](_0x2106db(0x294));let _0x44ad9f=_0x444523[_0x2106db(0x2db)];_0xe78839&&_0xe78839[_0x2106db(0x295)]&&(_0x44ad9f=_0x44ad9f[_0x2106db(0x2cd)](_0x34e032=>_0x2106db(0x239)!==_0x34e032)),this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x259)](_0x2106db(0x24d))[_0x2106db(0x2dc)](_0x44ad9f,this[_0x2106db(0x252)]);}}),_0x11cae5[_0x3019a1(0x2cf)](this[_0x3019a1(0x252)],_0x2d4e4d);}[_0x1aa1f8(0x2e7)](){const _0x4d952b=_0x1aa1f8,_0x15604b=this[_0x4d952b(0x2d1)][_0x4d952b(0x23f)][_0x4d952b(0x214)];this[_0x4d952b(0x2d1)][_0x4d952b(0x23f)][_0x4d952b(0x214)]=(..._0x20e8bb)=>{const _0x4b8fc8=_0x4d952b;if(!_0x20e8bb[_0x20e8bb[_0x4b8fc8(0x244)]-0x1][_0x4b8fc8(0x2ce)])throw new _0x18c0ef(_0x4b8fc8(0x209),this);_0x15604b[_0x4b8fc8(0x202)](this[_0x4b8fc8(0x2d1)][_0x4b8fc8(0x23f)],_0x20e8bb);};}[_0x1aa1f8(0x26f)](){const _0x44621b=_0x1aa1f8;this[_0x44621b(0x2d1)][_0x44621b(0x23f)]['on'](_0x44621b(0x236),(_0x5644c1,[_0x3236b2])=>{const _0xcebe89=_0x44621b;if(this[_0xcebe89(0x292)][_0xcebe89(0x2c3)])throw new _0x18c0ef(_0xcebe89(0x2d5),this);_0x5644c1[_0xcebe89(0x21b)](),this[_0xcebe89(0x25d)]();const _0x29b1f8=this[_0xcebe89(0x2d1)][_0xcebe89(0x2ee)][_0xcebe89(0x259)](_0xcebe89(0x274)),_0x491a4b=this[_0xcebe89(0x2ac)](_0x3236b2,_0x29b1f8);0x0==_0x491a4b[_0xcebe89(0x244)]&&_0x491a4b[_0xcebe89(0x208)](new _0x51bdfb(0x0)),_0x5644c1[_0xcebe89(0x2aa)]=this[_0xcebe89(0x25c)](_0x491a4b)[_0xcebe89(0x28d)](()=>{const _0x97495b=_0xcebe89;this[_0x97495b(0x2d1)][_0x97495b(0x1fe)][_0x97495b(0x259)](_0x29783d)[_0x97495b(0x255)](this),this[_0x97495b(0x2d1)][_0x97495b(0x23f)][_0x97495b(0x2ed)](_0x97495b(0x231));})[_0xcebe89(0x1fc)](_0x172dec=>this[_0xcebe89(0x29b)](_0xcebe89(0x26e),_0x172dec))[_0xcebe89(0x2da)](()=>this[_0xcebe89(0x2d0)]());},{'priority':_0x44621b(0x266)}),this[_0x44621b(0x2d1)]['on'](_0x44621b(0x2bf),async(_0x1049bd,[_0x37d783,_0x35a792])=>{const _0x48cc39=_0x44621b;_0x1049bd[_0x48cc39(0x21b)]();const _0x31c441=this[_0x48cc39(0x2d1)][_0x48cc39(0x2cc)][_0x48cc39(0x224)][_0x48cc39(0x277)](_0x37d783);if(!this[_0x48cc39(0x226)][_0x48cc39(0x223)](_0x37d783)){const _0x371cd9=_0x35a792&&_0x35a792[_0x48cc39(0x23f)]?_0x35a792[_0x48cc39(0x23f)]:'',_0x183432=_0x35a792&&_0x35a792[_0x48cc39(0x1f9)]?_0x35a792[_0x48cc39(0x1f9)]:{};await this[_0x48cc39(0x210)](_0x37d783,_0x371cd9,_0x183432);}this[_0x48cc39(0x2d1)][_0x48cc39(0x2cc)][_0x48cc39(0x2a8)]({'isUndoable':!0x1},()=>{const _0x2033f=_0x48cc39;_0x31c441[_0x2033f(0x2b7)]=!0x0,this[_0x2033f(0x2d1)][_0x2033f(0x2cc)][_0x2033f(0x224)][_0x2033f(0x1f6)][_0x2033f(0x2f2)](_0x31c441);});},{'priority':_0x44621b(0x266)});}async[_0x1aa1f8(0x28c)](_0x1786c6){const _0x3b2b48=_0x1aa1f8,_0x4b4189=this[_0x3b2b48(0x2d1)][_0x3b2b48(0x1fe)][_0x3b2b48(0x259)](_0x19c178),{connection:_0x229af6}=this[_0x3b2b48(0x2d1)][_0x3b2b48(0x1fe)][_0x3b2b48(0x259)](_0x29783d),_0x33690e=new Set();for(const _0x800fb8 of _0x1786c6){const _0x200ebe=_0x800fb8[_0x3b2b48(0x25a)];_0x200ebe&&!_0x4b4189[_0x3b2b48(0x2eb)](_0x200ebe)&&_0x33690e[_0x3b2b48(0x20f)](_0x200ebe);}if(0x0===_0x33690e[_0x3b2b48(0x254)])return;const _0x5a3deb=await _0x54fff0[_0x3b2b48(0x230)](_0x229af6,Array[_0x3b2b48(0x29a)](_0x33690e));for(const _0x4ffcfc of _0x5a3deb)_0x4b4189[_0x3b2b48(0x2eb)](_0x4ffcfc['id'])||_0x4b4189[_0x3b2b48(0x2e3)](_0x4ffcfc);}[_0x1aa1f8(0x2ac)](_0x5e5254,_0xfa2f87={}){const _0x1c9372=_0x1aa1f8,_0x50d45f=this[_0x1c9372(0x2d1)][_0x1c9372(0x2cc)],_0x16f5cb=[];let _0x37de59=0x0;const _0x19dd95=_0x1c9372(0x2c1)==typeof _0x5e5254?{'main':_0x5e5254}:_0x5e5254;for(const _0x1b7db2 of Object[_0x1c9372(0x220)](_0x19dd95)){if(!this[_0x1c9372(0x292)][_0x1c9372(0x242)][_0x1c9372(0x223)](_0x1b7db2))throw new _0x18c0ef(_0x1c9372(0x2b4),this);const _0x284429=this[_0x1c9372(0x2d1)][_0x1c9372(0x23f)][_0x1c9372(0x26c)](_0x19dd95[_0x1b7db2]),_0x1882b1=this[_0x1c9372(0x292)][_0x1c9372(0x277)](_0x1b7db2),_0x21d08a=new _0x4a60ae(_0x50d45f[_0x1c9372(0x247)](_0x1882b1,0x0),_0x284429,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x21d08a);for(const [_0x37dd66,_0x4a4156]of _0x284429[_0x1c9372(0x2ba)]){const _0x233ab4=_0x50d45f[_0x1c9372(0x2ca)](_0x50d45f[_0x1c9372(0x2d8)](_0x1882b1,_0x4a4156[_0x1c9372(0x272)][_0x1c9372(0x2b5)][_0x1c9372(0x2c5)]()),_0x50d45f[_0x1c9372(0x2d8)](_0x1882b1,_0x4a4156[_0x1c9372(0x2d3)][_0x1c9372(0x2b5)][_0x1c9372(0x2c5)]())),_0x121ec6=new _0x2c0a5d(_0x37dd66,null,_0x233ab4,_0x50d45f[_0x1c9372(0x2ba)],!0x0,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x121ec6);}}if(_0xfa2f87)for(const [_0x3df167,_0x62b3f]of Object[_0x1c9372(0x289)](_0xfa2f87)){const _0x31f0a1=_0x50d45f[_0x1c9372(0x224)][_0x1c9372(0x277)](_0x3df167);if(!_0x31f0a1)throw new _0x18c0ef(_0x1c9372(0x2a0),null);for(const [_0x353ffe,_0x44ad2f]of Object[_0x1c9372(0x289)](_0x62b3f))if(null!==_0x44ad2f){const _0x22d753=new _0x1ea5a0(_0x31f0a1,_0x353ffe,null,_0x44ad2f,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x22d753);}}return _0x16f5cb;}async[_0x1aa1f8(0x210)](_0x5355f7,_0x1277ec,_0xbe82e2){const _0x454b77=_0x1aa1f8;this[_0x454b77(0x2ac)]({[_0x5355f7]:_0x1277ec},{[_0x5355f7]:_0xbe82e2})[_0x454b77(0x201)]((_0x9d7ba8,_0x318b65)=>{const _0x17040d=_0x454b77;_0x9d7ba8[_0x17040d(0x2b6)]=this[_0x17040d(0x292)][_0x17040d(0x2c3)]+_0x318b65,_0x9d7ba8[_0x17040d(0x2b9)]=!0x0,this[_0x17040d(0x2c4)](_0x9d7ba8);}),this[_0x454b77(0x235)](),await this[_0x454b77(0x22f)]();}async[_0x1aa1f8(0x2bd)](_0x3bc4c0,_0x4876b1){const _0x7d3cdd=_0x1aa1f8;let _0x1e8cba;this[_0x7d3cdd(0x2a5)]=_0x3bc4c0[_0x7d3cdd(0x2e5)];const _0x482d0d=_0x3bc4c0[_0x7d3cdd(0x1ec)]&&!_0x3bc4c0[_0x7d3cdd(0x229)],_0x1f4d31=_0x482d0d?0x0:_0x3bc4c0[_0x7d3cdd(0x23f)][_0x7d3cdd(0x2b6)];if(_0x4876b1[_0x7d3cdd(0x201)](_0x3e57cc=>{const _0x3ed2a0=_0x7d3cdd;_0x3e57cc[_0x3ed2a0(0x2b9)]=!0x0,_0x3e57cc[_0x3ed2a0(0x2cb)]=_0x3bc4c0[_0x3ed2a0(0x256)],_0x3e57cc[_0x3ed2a0(0x25a)]=null;}),_0x482d0d)_0x1e8cba=_0x4876b1,this[_0x7d3cdd(0x2a2)](_0x1e8cba,_0x482d0d);else{if(_0x3bc4c0[_0x7d3cdd(0x229)]){const _0x23fd84=this[_0x7d3cdd(0x2ac)](_0x3bc4c0[_0x7d3cdd(0x229)]);this[_0x7d3cdd(0x292)][_0x7d3cdd(0x260)][_0x7d3cdd(0x2c3)]=-_0x23fd84[_0x7d3cdd(0x244)],_0x23fd84[_0x7d3cdd(0x201)](_0x1529f6=>{const _0x7db098=_0x7d3cdd;_0x1529f6[_0x7db098(0x2b6)]-=_0x23fd84[_0x7db098(0x244)],_0x1529f6[_0x7db098(0x2cb)]=_0x3bc4c0[_0x7db098(0x256)],_0x1529f6[_0x7db098(0x2b9)]=!0x0,_0x1529f6[_0x7db098(0x25a)]=null;}),this[_0x7d3cdd(0x2a2)](_0x23fd84,!0x0),this[_0x7d3cdd(0x2d9)][_0x7d3cdd(0x2c3)]=-_0x23fd84[_0x7d3cdd(0x244)]+this[_0x7d3cdd(0x2a5)],this[_0x7d3cdd(0x22e)](_0x23fd84);}this[_0x7d3cdd(0x292)][_0x7d3cdd(0x260)][_0x7d3cdd(0x2c3)]=_0x1f4d31,_0x1e8cba=this[_0x7d3cdd(0x20b)](_0x3bc4c0[_0x7d3cdd(0x23f)],_0x3bc4c0[_0x7d3cdd(0x232)]),await this[_0x7d3cdd(0x28c)](_0x1e8cba),this[_0x7d3cdd(0x2a2)](_0x1e8cba,_0x482d0d);}_0x3bc4c0[_0x7d3cdd(0x27e)]&&(this[_0x7d3cdd(0x203)][_0x7d3cdd(0x24c)](_0x1e8cba,_0x3bc4c0[_0x7d3cdd(0x27e)]),this[_0x7d3cdd(0x281)]=_0x3bc4c0[_0x7d3cdd(0x27e)]),this[_0x7d3cdd(0x2d9)][_0x7d3cdd(0x2c3)]=_0x1f4d31+this[_0x7d3cdd(0x2a5)],this[_0x7d3cdd(0x22e)](_0x1e8cba),_0x4876b1[_0x7d3cdd(0x2cd)](_0x658c9a=>{const _0x18528d=_0x7d3cdd,_0x4e009b=this[_0x18528d(0x2b0)](_0x658c9a);return _0x4e009b&&!this[_0x18528d(0x226)][_0x18528d(0x223)](_0x4e009b);})[_0x7d3cdd(0x201)]((_0x2ad339,_0x4c88af)=>{const _0x2e1a45=_0x7d3cdd;_0x2ad339[_0x2e1a45(0x2b6)]=this[_0x2e1a45(0x292)][_0x2e1a45(0x2c3)]+_0x4c88af,this[_0x2e1a45(0x2c4)](_0x2ad339);}),this[_0x7d3cdd(0x22b)]()?(this[_0x7d3cdd(0x21e)]=0x0,this[_0x7d3cdd(0x235)](!0x0),await this[_0x7d3cdd(0x22f)]()):(this[_0x7d3cdd(0x299)]=!0x1,this[_0x7d3cdd(0x2d0)]());}[_0x1aa1f8(0x29b)](_0x4b067b,_0x581970){const _0x51b184=_0x1aa1f8,_0x3a92f8=_0x581970&&_0x581970[_0x51b184(0x2a3)];if(_0x3a92f8&&_0x3a92f8[_0x51b184(0x293)](_0x51b184(0x243)))throw _0x581970;const _0x55bd6f=this[_0x51b184(0x2d1)][_0x51b184(0x1fe)][_0x51b184(0x259)](_0x29783d);throw this[_0x51b184(0x299)]=!0x0,_0x55bd6f[_0x51b184(0x21d)](),this[_0x51b184(0x2d1)][_0x51b184(0x20a)](_0x51b184(0x291)),new _0x18c0ef(_0x4b067b,this[_0x51b184(0x2d1)],_0x3a92f8?{'originalError':_0x3a92f8}:void 0x0);}[_0x1aa1f8(0x2c4)](_0x32ec17){const _0x585c8d=_0x1aa1f8;this[_0x585c8d(0x24f)][_0x585c8d(0x223)](_0x32ec17)||(this[_0x585c8d(0x24f)][_0x585c8d(0x20f)](_0x32ec17),this[_0x585c8d(0x23a)][_0x585c8d(0x208)](_0x32ec17),this[_0x585c8d(0x2c7)]||_0x585c8d(0x257)==_0x32ec17[_0x585c8d(0x23e)]&&!_0x32ec17[_0x585c8d(0x261)]||this[_0x585c8d(0x25d)]());}[_0x1aa1f8(0x235)](_0x19c5f1=!0x1){const _0x4a0b0e=_0x1aa1f8;!_0x19c5f1&&this[_0x4a0b0e(0x299)]||(this[_0x4a0b0e(0x299)]=!0x0,clearTimeout(this[_0x4a0b0e(0x212)]),this[_0x4a0b0e(0x212)]=setTimeout(()=>{const _0x59c961=_0x4a0b0e;this[_0x59c961(0x2df)]()[_0x59c961(0x28d)](_0x27d61d=>{const _0x3cc0cc=_0x59c961;_0x27d61d&&(this[_0x3cc0cc(0x2d0)](),this[_0x3cc0cc(0x299)]=!0x1);})[_0x59c961(0x1fc)](_0x13fa22=>{const _0x51fcba=_0x59c961;this[_0x51fcba(0x2d0)](),this[_0x51fcba(0x299)]=!0x1,function(_0x27fea9){const _0x3a5326=_0x51fcba;return _0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x24b))||_0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x233))||_0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x262));}(_0x13fa22)||this[_0x51fcba(0x29b)](_0x13fa22[_0x51fcba(0x2a3)],_0x13fa22);});},this[_0x4a0b0e(0x21e)]));}[_0x1aa1f8(0x22f)](){return new Promise(_0x34b527=>{const _0x1d1af5=_0x2b95;this['on'](_0x1d1af5(0x2a6),()=>{_0x34b527();});});}async[_0x1aa1f8(0x2df)](){const _0x5c4101=_0x1aa1f8,_0x496791=this[_0x5c4101(0x2d1)][_0x5c4101(0x1fe)][_0x5c4101(0x259)](_0x4d3afe);if(this[_0x5c4101(0x250)]()&&(_0x496791[_0x5c4101(0x2bc)](),this[_0x5c4101(0x245)]=!0x1),!this[_0x5c4101(0x22b)]())return!0x0;const _0x37bd6e=[...this[_0x5c4101(0x23a)]];for(const _0x3ea2e2 of _0x37bd6e)_0x3ea2e2[_0x5c4101(0x240)]=this[_0x5c4101(0x292)][_0x5c4101(0x260)][_0x5c4101(0x298)](_0x3ea2e2);const _0x40f60e=this[_0x5c4101(0x203)][_0x5c4101(0x21a)](_0x37bd6e),_0x52b989=Q++,_0x1ea5c5=this[_0x5c4101(0x213)](_0x37bd6e),_0x42ba38=await this[_0x5c4101(0x2ef)][_0x5c4101(0x28b)](_0x1ea5c5,_0x1ea5c5[_0x5c4101(0x2b6)],_0x40f60e);try{return await this[_0x5c4101(0x218)](_0x37bd6e,_0x42ba38,_0x52b989);}catch(_0x41d033){return this[_0x5c4101(0x29b)](_0x5c4101(0x297),_0x41d033);}}async[_0x1aa1f8(0x218)](_0x517eba,_0x51d23a,_0x3e9955){const _0x35a940=_0x1aa1f8;if(_0x35a940(0x27d)in _0x51d23a)throw _0x51d23a[_0x35a940(0x27d)];let _0x521978=!0x1;if(_0x51d23a[_0x35a940(0x1ec)]){_0x51d23a[_0x35a940(0x27e)]&&(this[_0x35a940(0x281)]=_0x51d23a[_0x35a940(0x27e)]),this[_0x35a940(0x23a)]=this[_0x35a940(0x23a)][_0x35a940(0x2cd)](_0x1b5240=>!_0x517eba[_0x35a940(0x20c)](_0x1b5240));for(const _0x3c5f25 of _0x517eba)_0x3c5f25[_0x35a940(0x2cb)]=_0x35a940(0x2d4)in _0x51d23a&&_0x51d23a[_0x35a940(0x2d4)]||void 0x0;Y(_0x517eba,_0x51d23a[_0x35a940(0x2c3)]-_0x517eba[_0x35a940(0x244)]),this[_0x35a940(0x22e)](_0x517eba);const _0x3875c1=_0x517eba[_0x35a940(0x2cd)](_0xa9e7fb=>{const _0x3779ed=_0x35a940;if(!_0xa9e7fb[_0x3779ed(0x2b9)])return!0x1;const _0x5b2f88=this[_0x3779ed(0x2b0)](_0xa9e7fb);return _0x5b2f88&&!this[_0x3779ed(0x226)][_0x3779ed(0x223)](_0x5b2f88);});Y(_0x3875c1,this[_0x35a940(0x292)][_0x35a940(0x2c3)]),this[_0x35a940(0x2a2)](_0x3875c1),_0x521978=!0x0,this[_0x35a940(0x21e)]=this[_0x35a940(0x285)];}else{const _0x307599=this[_0x35a940(0x20b)](_0x51d23a[_0x35a940(0x23f)],_0x51d23a[_0x35a940(0x232)])[_0x35a940(0x2cd)](_0x277573=>_0x277573[_0x35a940(0x2b6)]>=this[_0x35a940(0x267)]);_0x307599[_0x35a940(0x201)](_0x1b316e=>this[_0x35a940(0x26d)](_0x1b316e)),this[_0x35a940(0x23a)]=this[_0x35a940(0x23a)][_0x35a940(0x2cd)](_0x5e5613=>!_0x5e5613[_0x35a940(0x2b9)]||!this[_0x35a940(0x226)][_0x35a940(0x223)](this[_0x35a940(0x2b0)](_0x5e5613))),this[_0x35a940(0x23a)][_0x35a940(0x244)]&&Y(this[_0x35a940(0x23a)],this[_0x35a940(0x23a)][0x0][_0x35a940(0x2b6)]),await this[_0x35a940(0x28c)](_0x307599),_0x521978=this[_0x35a940(0x206)](_0x307599,_0x51d23a[_0x35a940(0x2c3)],_0x51d23a[_0x35a940(0x27e)]),this[_0x35a940(0x21e)]=Math[_0x35a940(0x21f)](this[_0x35a940(0x21e)]/0x2);}return _0x521978?!this[_0x35a940(0x22b)]()||(this[_0x35a940(0x235)](!0x0),!0x1):this[_0x35a940(0x29b)](_0x35a940(0x248));}[_0x1aa1f8(0x206)](_0x8b5f44,_0x3f6852,_0x57c83b){const _0x459bff=_0x1aa1f8;try{const _0x1cb217={'document':this[_0x459bff(0x292)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4772ac,operationsB:_0x873b9f,originalOperations:_0x429be4}=_0x3e8b39(_0x8b5f44,this[_0x459bff(0x23a)],_0x1cb217);Y(_0x4772ac,this[_0x459bff(0x292)][_0x459bff(0x2c3)]),Y(_0x873b9f,_0x3f6852);for(const _0x2c28f3 of _0x4772ac){const _0x597753=_0x429be4[_0x459bff(0x259)](_0x2c28f3);_0x2c28f3[_0x459bff(0x25a)]=_0x597753?_0x597753[_0x459bff(0x25a)]:null;}_0x57c83b&&(this[_0x459bff(0x203)][_0x459bff(0x24c)](_0x8b5f44,_0x57c83b),this[_0x459bff(0x281)]=_0x57c83b),this[_0x459bff(0x23a)]=[..._0x873b9f],this[_0x459bff(0x2a2)](_0x4772ac),this[_0x459bff(0x22e)](_0x8b5f44);}catch(_0xbd1cf8){return console[_0x459bff(0x27d)](_0xbd1cf8),!0x1;}return!0x0;}[_0x1aa1f8(0x2a2)](_0x5c604f,_0x511988=!0x1){const _0x28fac3=_0x1aa1f8;this[_0x28fac3(0x2d1)][_0x28fac3(0x2cc)][_0x28fac3(0x2a8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x35d6ba=>{const _0x460ed9=_0x28fac3;for(const _0x17d8c9 of _0x5c604f)this[_0x460ed9(0x24f)][_0x460ed9(0x20f)](_0x17d8c9),this[_0x460ed9(0x26d)](_0x17d8c9),_0x35d6ba[_0x460ed9(0x2d2)][_0x460ed9(0x1ee)](_0x17d8c9),this[_0x460ed9(0x2d1)][_0x460ed9(0x2cc)][_0x460ed9(0x288)](_0x17d8c9);});}[_0x1aa1f8(0x26d)](_0xdaeadc){const _0x8158b7=_0x1aa1f8,_0x5d3a35=this[_0x8158b7(0x2b0)](_0xdaeadc);_0x5d3a35&&this[_0x8158b7(0x226)][_0x8158b7(0x20f)](_0x5d3a35);}[_0x1aa1f8(0x2b0)](_0x4f88c6){const _0x215183=_0x1aa1f8;let _0x3e5a6d,_0x5860f8;switch(_0x4f88c6[_0x215183(0x23e)]){case _0x215183(0x278):_0x3e5a6d=_0x4f88c6[_0x215183(0x27c)][_0x215183(0x1f3)];break;case _0x215183(0x257):if(_0x5860f8=_0x4f88c6[_0x215183(0x200)],!_0x5860f8)return null;_0x3e5a6d=_0x5860f8[_0x215183(0x1f3)];break;case _0x215183(0x2b3):_0x3e5a6d=_0x4f88c6[_0x215183(0x1f3)];break;case _0x215183(0x205):_0x3e5a6d=_0x4f88c6[_0x215183(0x25e)];break;case _0x215183(0x273):_0x3e5a6d=_0x4f88c6[_0x215183(0x27a)][_0x215183(0x1f3)];break;default:return null;}return _0x3e5a6d[_0x215183(0x25f)];}[_0x1aa1f8(0x22e)](_0x1a9821){const _0x5f1860=_0x1aa1f8;_0x1a9821[_0x5f1860(0x201)](_0x51b8de=>{const _0x2ee632=_0x5f1860,_0x3cab63=_0x51b8de[_0x2ee632(0x280)]();_0x3cab63[_0x2ee632(0x25a)]=_0x51b8de[_0x2ee632(0x25a)],_0x3cab63[_0x2ee632(0x2b9)]=!!_0x51b8de[_0x2ee632(0x2b9)],_0x3cab63[_0x2ee632(0x2cb)]=_0x51b8de[_0x2ee632(0x2cb)],_0x3cab63[_0x2ee632(0x2b6)]+=this[_0x2ee632(0x2a5)],_0x51b8de[_0x2ee632(0x227)]&&this[_0x2ee632(0x2a1)][_0x2ee632(0x20f)](_0x3cab63),this[_0x2ee632(0x2d9)][_0x2ee632(0x1ee)](_0x3cab63);});}[_0x1aa1f8(0x2bb)](_0x39bb87){const _0xf6d785=_0x1aa1f8,_0x1ad31c=this[_0xf6d785(0x2d1)][_0xf6d785(0x1fe)][_0xf6d785(0x259)](_0xf6d785(0x26a)),_0x1f3cb8=this[_0xf6d785(0x2d1)][_0xf6d785(0x28f)];_0x39bb87||(_0x39bb87=_0x5692b6(_0x1f3cb8,_0xf6d785(0x249))),_0x1ad31c[_0xf6d785(0x2d7)](_0x39bb87,{'title':_0x5692b6(_0x1f3cb8,_0xf6d785(0x265)),'namespace':_0xf6d785(0x217)}),this[_0xf6d785(0x284)]=!0x0,clearTimeout(this[_0xf6d785(0x212)]),this[_0xf6d785(0x23a)]=[],this[_0xf6d785(0x2d1)][_0xf6d785(0x1fe)][_0xf6d785(0x259)](_0x29783d)[_0xf6d785(0x21d)]();}[_0x1aa1f8(0x25d)](){const _0x240500=_0x1aa1f8;this[_0x240500(0x2c7)]||(this[_0x240500(0x2c7)]=this[_0x240500(0x2d1)][_0x240500(0x1fe)][_0x240500(0x259)](_0x4a8896)[_0x240500(0x20f)](_0x5692b6(this[_0x240500(0x2d1)][_0x240500(0x28f)],_0x240500(0x2a7))));}[_0x1aa1f8(0x2d0)](){const _0x188010=_0x1aa1f8;this[_0x188010(0x2c7)]&&(this[_0x188010(0x2d1)][_0x188010(0x1fe)][_0x188010(0x259)](_0x4a8896)[_0x188010(0x24a)](this[_0x188010(0x2c7)]),this[_0x188010(0x2c7)]=null);}[_0x1aa1f8(0x213)](_0x3e3c54){const _0x312828=_0x1aa1f8,_0x150371=_0x3e3c54[_0x312828(0x1f0)](_0x471ffc=>_0x471ffc[_0x312828(0x2e6)]());return this[_0x312828(0x296)][_0x312828(0x20e)](_0x150371);}[_0x1aa1f8(0x20b)](_0x23a64c,_0x4c9d6d){const _0x329e3e=_0x1aa1f8;return this[_0x329e3e(0x296)][_0x329e3e(0x2ec)](_0x23a64c)[_0x329e3e(0x1f0)]((_0xefaaac,_0x1966b2)=>{const _0x4a0504=_0x329e3e,_0x5149ff=_0x4a0504(0x236)==_0x4c9d6d[_0x1966b2][_0x4a0504(0x23e)];if(_0x4a0504(0x2ae)==_0xefaaac[_0x4a0504(0x2c2)]){const _0x1fc561=_0xefaaac[_0x4a0504(0x27c)][_0x4a0504(0x1f3)];!this[_0x4a0504(0x292)][_0x4a0504(0x277)](_0x1fc561)&&(this[_0x4a0504(0x292)][_0x4a0504(0x27f)](_0x4a0504(0x29c),_0x1fc561)[_0x4a0504(0x271)]=!0x1);}const _0x866e6b=_0x30e033[_0x4a0504(0x2ea)](_0xefaaac,this[_0x4a0504(0x292)]);return _0x866e6b[_0x4a0504(0x240)]=_0xefaaac[_0x4a0504(0x240)],_0x866e6b[_0x4a0504(0x2b9)]=_0x5149ff,_0x866e6b[_0x4a0504(0x25a)]=_0x5149ff?null:_0x4c9d6d[_0x1966b2][_0x4a0504(0x2c0)],_0x866e6b[_0x4a0504(0x227)]=_0x4a0504(0x275)===_0x4c9d6d[_0x1966b2][_0x4a0504(0x23e)],_0x866e6b[_0x4a0504(0x2cb)]=_0x4c9d6d[_0x1966b2][_0x4a0504(0x2cb)],_0x866e6b;});}[_0x1aa1f8(0x2d6)](){const _0x2aa136=_0x1aa1f8;this[_0x2aa136(0x245)]=!0x0,this[_0x2aa136(0x250)]()?this[_0x2aa136(0x235)]():this[_0x2aa136(0x245)]=!0x1;}[_0x1aa1f8(0x250)](){const _0x4efb79=_0x1aa1f8,_0x2b8028=this[_0x4efb79(0x2d1)][_0x4efb79(0x1fe)][_0x4efb79(0x259)](_0x548109)[_0x4efb79(0x2be)][_0x4efb79(0x259)](this[_0x4efb79(0x252)]);return!this[_0x4efb79(0x2d1)][_0x4efb79(0x2a9)]&&!!_0x2b8028&&_0x2b8028[_0x4efb79(0x244)]>0x1&&this[_0x4efb79(0x245)];}[_0x1aa1f8(0x22b)](){const _0x16e0e9=_0x1aa1f8;return this[_0x16e0e9(0x23a)][_0x16e0e9(0x244)]>0x0||this[_0x16e0e9(0x250)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x43c201,_0xff0266){const _0x27ded2=_0x1aa1f8;for(const _0x33edd2 of _0x43c201)_0x33edd2[_0x27ded2(0x2b6)]=_0xff0266++;}class Z{[_0x1aa1f8(0x2c8)];[_0x1aa1f8(0x2de)];constructor(_0x3ffa3b){const _0x1974bd=_0x1aa1f8;this[_0x1974bd(0x2c8)]=_0x3ffa3b,this[_0x1974bd(0x2de)]=new WeakMap();}[_0x1aa1f8(0x21a)](_0x4ea956){const _0x140d76=_0x1aa1f8;let _0x3d427d=_0x4ea956[_0x140d76(0x244)];for(;_0x3d427d--;){const _0x54a19c=_0x4ea956[_0x3d427d];if(!this[_0x140d76(0x2c8)][_0x140d76(0x223)](_0x54a19c)){if(!this[_0x140d76(0x2de)][_0x140d76(0x223)](_0x54a19c)){const _0x578848=_0x5200cf()[_0x140d76(0x2c5)](0x1,0x12);this[_0x140d76(0x2de)][_0x140d76(0x214)](_0x54a19c,_0x578848);}return this[_0x140d76(0x2de)][_0x140d76(0x259)](_0x54a19c);}}}[_0x1aa1f8(0x24c)](_0x13b1da,_0x15ff96){const _0x20b674=_0x1aa1f8;if(!_0x15ff96)return;let _0x507f77=_0x13b1da[_0x20b674(0x244)];for(;_0x507f77--;){const _0x4a3a2b=_0x13b1da[_0x507f77];this[_0x20b674(0x2c8)][_0x20b674(0x223)](_0x4a3a2b)||this[_0x20b674(0x2de)][_0x20b674(0x214)](_0x4a3a2b,_0x15ff96);}}}
|
|
23
|
+
const _0x129844=_0xadc0;(function(_0x4216ff,_0x343618){const _0x2b3e99=_0xadc0,_0x22b643=_0x4216ff();while(!![]){try{const _0x1b3c19=parseInt(_0x2b3e99(0x1d6))/0x1+-parseInt(_0x2b3e99(0x1b9))/0x2*(parseInt(_0x2b3e99(0x19d))/0x3)+-parseInt(_0x2b3e99(0x15e))/0x4+parseInt(_0x2b3e99(0x165))/0x5+-parseInt(_0x2b3e99(0x1ae))/0x6*(parseInt(_0x2b3e99(0x1cb))/0x7)+parseInt(_0x2b3e99(0x117))/0x8*(-parseInt(_0x2b3e99(0x11a))/0x9)+parseInt(_0x2b3e99(0xff))/0xa;if(_0x1b3c19===_0x343618)break;else _0x22b643['push'](_0x22b643['shift']());}catch(_0x3a018d){_0x22b643['push'](_0x22b643['shift']());}}}(_0x4e17,0xb05f1));import{Plugin as _0x12b20c,PendingActions as _0x5337d1}from'ckeditor5/src/core.js';import{CKEditorError as _0x45f620,version as _0x345174,uid as _0x4cedf3}from'ckeditor5/src/utils.js';import{Notification as _0x53064e}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x1f6470,NoOperation as _0x256457,InsertOperation as _0x32274d,MarkerOperation as _0x11b8f1,RootAttributeOperation as _0x3a91bc,OperationFactory as _0x15d9e6,History as _0x5400d5}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x3d02a5}from'./websocketgateway.js';import{Sessions as _0x50fc72}from'./sessions.js';import{UserMarkers as _0x4078fb}from'./usermarkers.js';import{getTranslation as _0x2d3827}from'../common-translations.js';import{Compressor as _0x40c5fd}from'@ckeditor/ckeditor5-operations-compressor';function _0x4e17(){const _0x1c719d=['enqueueChange','_isDisconnection','_offset','isEnabled','register','differ','_setPendingAction','change:_isPendingUpdate','4447768oaSKhx','clone','change:range','getMany','_hasSelectionChanged','size','_compressor','6084280aToVKy','requires','_updateServerHistory','_crash','define','finally','realtimecollaborationclient-init-service-incorrect-server-operation','rtc-offline','suppressErrorInCollaboration','setPermissions','_handleReceivedOperations','_baseBufferDelay','_decompressOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-non-existent-root','start','rootName','baseVersion','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','multi-root-editor-root-attributes-no-root','view','_service','roots','newRange','createUserMarkerOperations','_knownRootNames','stop','directChange','__className','realtimecollaborationclient-init-service-internal-error','_isPendingUpdate','high','cloudDocumentVersion','bind','currentDocumentSession','loadRoot','Permissions','change:hasDomSelection','round','_handleReconnectionResponse','_isConnected','lastSyncVersion','realtimecollaborationclient','createPositionFromPath','config','catch','_isAttached','version','fromJSON','CommentsOnly','reconnection:\x20flushed\x20session','add','_shouldSendUpdate','isPremiumPlugin','lastOperationId','871266XecORe','_isInit','reconnect','_ignoredOperations','addOperation','wereChangesApplied','409','_authorId','_handleReconnectionError','addRoot','change:_isEditingAllowed','realtimecollaborationclient-init-connection-failed','_disconnectService','includes','getDocumentDetails','mySessionId','_connectAfterSessionHasBeenFlushed','6KrLEhn','$root','listenTo','_saveOperationInBuffer','getUser','then','path','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.','connection','_initSessionsHandling','affectsData','6kNfYUo','_loadRoot','cs:removeUser','realtimecollaborationclient-error','_connectService','set','_lastSyncedOperationId','locale','_isEditingAllowed','_handleExternalOperations','Synchronization\x20issue','get','attributes','_fetchMissingUsers','message','_compressOperations','disconnect','_operationToId','3017245rrWwUl','end','_applyOperationsSet','targetPosition','enableReadOnlyMode','applyOperation','initData','_bufferRootLoad','insert','getOperationAuthor','sendOperations','626794gszYPg','position','isDocumentOperation','removeFromReconnectionStack','_knownOperations','addToReconnectionStack','code','toJSON','_sendBufferedOperationsDelayed','collaboration.channelId','type','_shouldSendSelectionUpdate','disconnected','_addKnownRoot','entries','document','rtc-destroyed','_getAffectedRoot','InsertOperation','_bufferedOperations','markers','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.','metadata','isUndoneOperation','_lastServerVersion','sessionAdd:','remove','createRange','batch','RealTimeCollaborationClient','slice','model','off','unregister','_currentBufferDelay','_initThrowingOnDataSet','channelSessions','document:write','isReadOnly','Notification','forEach','selection','getConnectedSessions','_waitUntilSynced','offset','realtimecollaborationclient-sendbufferedoperations','lastOperationAcceptedAt','20808030buPJcg','sessionId','realtimecollaborationclient-init-session-connection-error','_handleInitialConnectionData','addUser','editing','real-time-collaboration','editor','wasUndone','reset','state','history','_sendBufferedOperations','pluginName','getIdOfTheLastOperation','ready','_clearPendingAction','startsWith','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-document-already-initialized','from','keys','_setUpDataInit','_handleServerResponse','8HvpwYo','affectedSelectable','isOfficialPlugin','7090137CRdJNT','length','collaboration','plugins','rootsAttributes','decompress','CollaborativeEditingService','_getOperationsFromInitData','getOperations','userId','parse','404','data','getRoot','PENDING_ACTION_SENDING_DATA','operationsReceived','_document','_hasSynchronizationProblem','map','filter','return','showWarning','cloud-services-internal-error:\x20Request\x20timeout.','cloudServices.bundleVersion','error','apply','_disconnectionOperations','disableReadOnlyMode','serverHistory','push','createRoot','_channelId','lastDocumentSession','has','stopListening','createdAt','destroy','_handleSendingSelectionMarkers','createPositionAt','connect','addRootAttribute','realtimecollaborationclient-handleserverresponse','string','collaboration-missing-channelid','_pendingAction','move','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','root','setIdForTheLastOperation','_isLoaded','permissions','_refreshUserSelectionMarkers','marker','_sendBufferedOperationsDelayId','init','compress','sessionCreatedAt','_operationIdentifier','connected','fire'];_0x4e17=function(){return _0x1c719d;};return _0x4e17();}import{Users as _0x4e66c4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x30fc99,CollaborativeEditingService as _0x553327}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x12b20c{static [_0x129844(0x120)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x553327)());[_0x129844(0x158)];[_0x129844(0x100)];[_0x129844(0x136)];[_0x129844(0x139)];[_0x129844(0x17b)];[_0x129844(0x12a)];[_0x129844(0x164)];[_0x129844(0x1e9)];[_0x129844(0x1da)];[_0x129844(0x17f)];[_0x129844(0x146)];[_0x129844(0x162)];[_0x129844(0x14f)];[_0x129844(0x170)];[_0x129844(0xf2)];[_0x129844(0x1bf)];[_0x129844(0x134)];[_0x129844(0x153)];static get[_0x129844(0x166)](){return[_0x3d02a5,_0x50fc72,_0x4078fb,_0x5337d1,_0x4e66c4,_0x53064e];}static get[_0x129844(0x10c)](){const _0x247a79=_0x129844;return _0x247a79(0xed);}static get[_0x129844(0x119)](){return!0x0;}static get[_0x129844(0x19b)](){return!0x0;}get[_0x129844(0x186)](){const _0x549aa1=_0x129844;return this[_0x549aa1(0xe8)]+this[_0x549aa1(0x158)];}get[_0x129844(0xe8)](){const _0x449d54=_0x129844;return this[_0x449d54(0x136)][_0x449d54(0x195)]-this[_0x449d54(0x158)];}get[_0x129844(0x18f)](){const _0x14050b=_0x129844,_0x312993=this[_0x14050b(0x136)][_0x14050b(0x122)]();for(let _0x51c304=_0x312993[_0x14050b(0x11b)]-0x1;_0x51c304>=0x0;_0x51c304--){const _0x2d485d=_0x312993[_0x51c304];if(!this[_0x14050b(0x134)][_0x14050b(0x13b)](_0x2d485d))return _0x2d485d[_0x14050b(0x177)]+0x1-this[_0x14050b(0x158)];}return 0x0;}constructor(_0x68deb1){const _0x31fcae=_0x129844;if(super(_0x68deb1),this[_0x31fcae(0x158)]=0x0,this[_0x31fcae(0x100)]=null,this[_0x31fcae(0x136)]=new _0x5400d5(),this[_0x31fcae(0x106)][_0x31fcae(0x192)][_0x31fcae(0x169)](_0x31fcae(0x11c),{}),this[_0x31fcae(0x139)]=this[_0x31fcae(0x106)][_0x31fcae(0x192)][_0x31fcae(0x1c4)](_0x31fcae(0x1df)),!this[_0x31fcae(0x139)])throw new _0x45f620(_0x31fcae(0x145),this);const _0x3e7143=_0x68deb1[_0x31fcae(0x192)][_0x31fcae(0x1c4)](_0x31fcae(0x131))||_0x345174;this[_0x31fcae(0x17b)]=new l[(_0x31fcae(0x120))](_0x3e7143,this[_0x31fcae(0x139)]),this[_0x31fcae(0x12a)]=this[_0x31fcae(0x106)][_0x31fcae(0xef)][_0x31fcae(0x1e5)],this[_0x31fcae(0x164)]=new _0x40c5fd(),this[_0x31fcae(0x1e9)]=[],this[_0x31fcae(0x1da)]=new WeakSet(),this[_0x31fcae(0x17f)]=new Set(),this[_0x31fcae(0x1be)](_0x31fcae(0x184),!0x1),this[_0x31fcae(0x1be)](_0x31fcae(0x12b),!0x1),this[_0x31fcae(0x146)]=null,this[_0x31fcae(0x162)]=!0x1,this[_0x31fcae(0x14f)]=null,this[_0x31fcae(0x170)]=0x12c,this[_0x31fcae(0xf2)]=this[_0x31fcae(0x170)],this[_0x31fcae(0x1bf)]=null,this[_0x31fcae(0x134)]=new WeakSet(),this[_0x31fcae(0x153)]=new F(this[_0x31fcae(0x134)]);}[_0x129844(0x150)](){const _0x5572fe=_0x129844,_0xf0abbe=this[_0x5572fe(0x106)],_0x347225=_0xf0abbe[_0x5572fe(0x11d)][_0x5572fe(0x1c4)](_0x4e66c4),_0x37f5af=_0xf0abbe[_0x5572fe(0x11d)][_0x5572fe(0x1c4)](_0x3d02a5);this[_0x5572fe(0x1b0)](_0x347225,_0x5572fe(0x1d4),(_0x49c96a,_0xbbd9c8)=>{const _0xb6f82e=_0x5572fe,_0x40478b=_0xbbd9c8[0x0];_0x40478b[_0xb6f82e(0x1a4)]&&(_0x49c96a[_0xb6f82e(0x12e)]=_0x347225[_0xb6f82e(0x1b2)](_0x40478b[_0xb6f82e(0x1a4)]),_0x49c96a[_0xb6f82e(0x180)]()),null===_0x40478b[_0xb6f82e(0x1a4)]&&(_0x49c96a[_0xb6f82e(0x12e)]=null,_0x49c96a[_0xb6f82e(0x180)]());},{'priority':_0x5572fe(0x185)}),this[_0x5572fe(0x1b0)](_0xf0abbe[_0x5572fe(0xef)][_0x5572fe(0x1e5)][_0x5572fe(0xf9)],_0x5572fe(0x160),(_0x34dd7b,_0x13e33c)=>{const _0xf9b5c8=_0x5572fe;_0x13e33c[_0xf9b5c8(0x181)]&&this[_0xf9b5c8(0x14d)]();}),this[_0x5572fe(0x1b0)](_0xf0abbe[_0x5572fe(0x104)][_0x5572fe(0x17a)],_0x5572fe(0x18b),()=>{const _0x2bd5b1=_0x5572fe;this[_0x2bd5b1(0x14d)]();}),this[_0x5572fe(0xf3)](),_0xf0abbe[_0x5572fe(0xef)]['on'](_0x5572fe(0x1d0),(_0x5f25de,_0x49b9b7)=>{const _0x48fb5a=_0x5572fe,_0x165354=_0x49b9b7[0x0];_0x165354[_0x48fb5a(0x1d8)]&&(this[_0x48fb5a(0x1b1)](_0x165354),this[_0x48fb5a(0x19a)]()&&this[_0x48fb5a(0x1de)]());}),this[_0x5572fe(0x115)](),this[_0x5572fe(0x187)](_0x5572fe(0x1c1))['to'](_0x37f5af,_0x5572fe(0x109),this,_0x5572fe(0x12b),(_0x556c55,_0x428656)=>_0x5572fe(0x154)===_0x556c55&&!_0x428656),this['on'](_0x5572fe(0x1a7),()=>{const _0x5bc368=_0x5572fe;this[_0x5bc368(0x1c1)]?_0xf0abbe[_0x5bc368(0x135)](_0x5bc368(0x16c)):_0xf0abbe[_0x5bc368(0x1cf)](_0x5bc368(0x16c));}),this[_0x5572fe(0x1c1)]?_0xf0abbe[_0x5572fe(0x135)](_0x5572fe(0x16c)):_0xf0abbe[_0x5572fe(0x1cf)](_0x5572fe(0x16c)),this[_0x5572fe(0x1be)](_0x5572fe(0x18e),!0x1);}async[_0x129844(0x19f)](){const _0x10cc4c=_0x129844,_0x577a58=this[_0x10cc4c(0x106)][_0x10cc4c(0x11d)][_0x10cc4c(0x1c4)](_0x50fc72),_0xa31146=this[_0x10cc4c(0x106)][_0x10cc4c(0x11d)][_0x10cc4c(0x1c4)](_0x3d02a5);try{this[_0x10cc4c(0x184)]=!0x0,_0x577a58[_0x10cc4c(0xf1)](this[_0x10cc4c(0x139)]);const _0x19b436=await this[_0x10cc4c(0x17b)][_0x10cc4c(0x19f)](_0xa31146[_0x10cc4c(0x1b6)],this[_0x10cc4c(0x18f)]);await this[_0x10cc4c(0x18d)](_0x19b436)&&(this[_0x10cc4c(0x184)]=!0x1,this[_0x10cc4c(0x10f)]());const _0x1aa07a=await this[_0x10cc4c(0x17b)][_0x10cc4c(0xfa)]();_0x577a58[_0x10cc4c(0x15a)](this[_0x10cc4c(0x139)],_0x1aa07a),this[_0x10cc4c(0x13f)](),this[_0x10cc4c(0x18e)]=!0x0;}catch(_0x81afad){if(function(_0x3b8514){const _0x3e8300=_0x10cc4c;return _0x3e8300(0x125)===_0x3b8514[_0x3e8300(0x1dc)];}(_0x81afad)&&this[_0x10cc4c(0x100)])await this[_0x10cc4c(0x1ad)]();else{if(function(_0x5e0fe5){const _0x4a31ca=_0x10cc4c;return _0x4a31ca(0x1a3)===_0x5e0fe5[_0x4a31ca(0x1dc)];}(_0x81afad)){const _0x39f7b6=_0x2d3827(this[_0x10cc4c(0x106)][_0x10cc4c(0x1c0)],_0x10cc4c(0x173));this[_0x10cc4c(0x1a5)](_0x39f7b6);}else{if(!(_0x81afad instanceof V))throw _0x81afad;this[_0x10cc4c(0x1a5)]();}}}}[_0x129844(0x13e)](){const _0x27ae7d=_0x129844,_0x8d7c6d=this[_0x27ae7d(0x106)][_0x27ae7d(0x11d)][_0x27ae7d(0x1c4)](_0x3d02a5),_0x1bd2e6=this[_0x27ae7d(0x106)][_0x27ae7d(0x11d)][_0x27ae7d(0x1c4)](_0x50fc72);this[_0x27ae7d(0x106)][_0x27ae7d(0x1cf)](_0x27ae7d(0x1e6)),_0x1bd2e6[_0x27ae7d(0xf4)][_0x27ae7d(0x13b)](this[_0x27ae7d(0x139)])&&_0x1bd2e6[_0x27ae7d(0xf1)](this[_0x27ae7d(0x139)]),_0x8d7c6d[_0x27ae7d(0x1d9)](this),this[_0x27ae7d(0x1a9)](),super[_0x27ae7d(0x13e)]();}async[_0x129844(0x18d)](_0x561635){const _0x184546=_0x129844;if(this[_0x184546(0x100)]!==_0x561635[_0x184546(0x100)]&&this[_0x184546(0x1bf)]!==_0x561635[_0x184546(0x19c)])throw new V();return this[_0x184546(0x100)]=_0x561635[_0x184546(0x100)],this[_0x184546(0x116)]([],{..._0x561635,'wereChangesApplied':!0x1,'data':_0x561635[_0x184546(0x126)]},_0x184546(0x19f));}async[_0x129844(0x1bd)](_0x45e09e,_0x87b575=!0x1){const _0x5e027d=_0x129844,{connection:_0xbd38c3}=this[_0x5e027d(0x106)][_0x5e027d(0x11d)][_0x5e027d(0x1c4)](_0x3d02a5);l[_0x5e027d(0x120)][_0x5e027d(0xfa)](_0xbd38c3,this[_0x5e027d(0x139)])[_0x5e027d(0x1b3)](_0x3c9540=>this[_0x5e027d(0x1b7)](_0x3c9540))[_0x5e027d(0x193)](_0x2af4ac=>{const _0x34f3ce=_0x5e027d;this[_0x34f3ce(0x168)](_0x34f3ce(0x101),_0x2af4ac);}),this[_0x5e027d(0x1b0)](this[_0x5e027d(0x17b)],_0x5e027d(0x129),this[_0x5e027d(0x16f)][_0x5e027d(0x187)](this)),this[_0x5e027d(0x1b0)](this[_0x5e027d(0x17b)],_0x5e027d(0x132),(_0x21afc5,_0x1ec02d)=>{const _0x4a8a0d=_0x5e027d;this[_0x4a8a0d(0x168)](_0x4a8a0d(0x183),_0x1ec02d);}),this[_0x5e027d(0x1b0)](this[_0x5e027d(0x17b)],_0x5e027d(0x1e2),()=>{const _0x11e32b=_0x5e027d;this[_0x11e32b(0x18e)]=!0x1;});const _0x519d8e=this[_0x5e027d(0x153)][_0x5e027d(0x10d)](_0x45e09e);this[_0x5e027d(0x184)]=!0x0;const _0x30d08f=await this[_0x5e027d(0x17b)][_0x5e027d(0x141)](_0xbd38c3,this[_0x5e027d(0x1c8)](_0x45e09e),_0x519d8e);if(this[_0x5e027d(0x100)]=_0x30d08f[_0x5e027d(0x100)],_0x87b575){if(!_0x30d08f[_0x5e027d(0x1a2)])return void this[_0x5e027d(0x1a5)]();this[_0x5e027d(0x184)]=!0x1,this[_0x5e027d(0x10f)](),this[_0x5e027d(0x136)][_0x5e027d(0x108)](),this[_0x5e027d(0x158)]=_0x30d08f[_0x5e027d(0xfc)],this[_0x5e027d(0x136)][_0x5e027d(0x195)]=this[_0x5e027d(0x158)],await this[_0x5e027d(0x116)](_0x45e09e,_0x30d08f,_0x5e027d(0x198));}else await this[_0x5e027d(0x102)](_0x30d08f,_0x45e09e);this[_0x5e027d(0x13f)](),this[_0x5e027d(0x18e)]=!0x0;}[_0x129844(0x13f)](){const _0x9c7dcf=_0x129844,_0x5e0571=this[_0x9c7dcf(0x106)][_0x9c7dcf(0x11d)][_0x9c7dcf(0x1c4)](_0x50fc72),_0x898abb=this[_0x9c7dcf(0x106)][_0x9c7dcf(0x11d)][_0x9c7dcf(0x1c4)](_0x4078fb),_0x52f369=_0x5e0571[_0x9c7dcf(0xf4)][_0x9c7dcf(0x1c4)](this[_0x9c7dcf(0x139)]);_0x52f369&&_0x52f369[_0x9c7dcf(0x11b)]>0x1?_0x898abb[_0x9c7dcf(0x17e)]():this[_0x9c7dcf(0x1b0)](_0x5e0571,_0x9c7dcf(0xe9)+this[_0x9c7dcf(0x139)],()=>{const _0x4258b0=_0x9c7dcf;0x2===_0x5e0571[_0x4258b0(0xf4)][_0x4258b0(0x1c4)](this[_0x4258b0(0x139)])[_0x4258b0(0x11b)]&&_0x898abb[_0x4258b0(0x17e)]();});}async[_0x129844(0x16f)](_0xe88bf3,_0x2e262d,_0x3c1978,_0x164cc4){const _0x1c5526=_0x129844;if(!this[_0x1c5526(0x184)]&&this[_0x1c5526(0x12a)][_0x1c5526(0x195)]==_0x2e262d){const _0x2acfa2=this[_0x1c5526(0x171)](_0x3c1978,_0x164cc4);await this[_0x1c5526(0x1c6)](_0x2acfa2),this[_0x1c5526(0x1c2)](_0x2acfa2,_0x2e262d,_0x3c1978[_0x1c5526(0x19c)])||this[_0x1c5526(0x168)](_0x1c5526(0x16b));}}async[_0x129844(0x1ad)](){const _0x3053d5=_0x129844;this[_0x3053d5(0x1a9)]();const {locale:_0x1bf9bb}=this[_0x3053d5(0x106)];let _0x234836;try{_0x234836=await this[_0x3053d5(0x17b)][_0x3053d5(0x1ab)]();}catch{const _0x2259ce=_0x2d3827(_0x1bf9bb,_0x3053d5(0x178));return void this[_0x3053d5(0x1a5)](_0x2259ce);}const _0x5d716c=_0x234836[_0x3053d5(0x188)]||_0x234836[_0x3053d5(0x13a)];if(this[_0x3053d5(0x1bf)]!==_0x5d716c[_0x3053d5(0x19c)]){const _0x5aca0a=_0x2d3827(_0x1bf9bb,_0x3053d5(0x1b5));return void this[_0x3053d5(0x1a5)](_0x5aca0a);}await this[_0x3053d5(0x1bd)](this[_0x3053d5(0x106)][_0x3053d5(0xef)][_0x3053d5(0x1e5)][_0x3053d5(0x10a)][_0x3053d5(0x122)](),!0x0);}[_0x129844(0x1a9)](){const _0x49d6d2=_0x129844;this[_0x49d6d2(0x17b)][_0x49d6d2(0x1c9)](),this[_0x49d6d2(0x1e9)]=[],clearTimeout(this[_0x49d6d2(0x14f)]),this[_0x49d6d2(0x13c)](this[_0x49d6d2(0x17b)]);}[_0x129844(0x1b7)](_0x311c34){const _0x3f8be7=_0x129844,_0x3b1daa=this[_0x3f8be7(0x106)][_0x3f8be7(0x11d)][_0x3f8be7(0x1c4)](_0x50fc72);this[_0x3f8be7(0x1b0)](_0x3b1daa,_0x3f8be7(0xe9)+this[_0x3f8be7(0x139)],(_0x38e048,{session:_0x10f4b8})=>{const _0x45ab0e=_0x3f8be7;if(_0x10f4b8['id']===_0x3b1daa[_0x45ab0e(0x1ac)]){_0x38e048[_0x45ab0e(0xf0)]();const _0x2c18eb=this[_0x45ab0e(0x106)][_0x45ab0e(0x11d)][_0x45ab0e(0x13b)](_0x45ab0e(0x197))&&this[_0x45ab0e(0x106)][_0x45ab0e(0x11d)][_0x45ab0e(0x1c4)](_0x45ab0e(0x197));let _0x4b7066=_0x10f4b8[_0x45ab0e(0x14c)];_0x2c18eb&&_0x2c18eb[_0x45ab0e(0x159)]&&(_0x4b7066=_0x4b7066[_0x45ab0e(0x12d)](_0x1bd045=>_0x45ab0e(0xf5)!==_0x1bd045)),this[_0x45ab0e(0x106)][_0x45ab0e(0x11d)][_0x45ab0e(0x1c4)](_0x45ab0e(0x18a))[_0x45ab0e(0x16e)](_0x4b7066,this[_0x45ab0e(0x139)]);}}),_0x3b1daa[_0x3f8be7(0x15a)](this[_0x3f8be7(0x139)],_0x311c34);}[_0x129844(0xf3)](){const _0x3a7360=_0x129844,_0x4ad332=this[_0x3a7360(0x106)][_0x3a7360(0x126)][_0x3a7360(0x1be)];this[_0x3a7360(0x106)][_0x3a7360(0x126)][_0x3a7360(0x1be)]=(..._0x1ef693)=>{const _0x130602=_0x3a7360;if(!_0x1ef693[_0x1ef693[_0x130602(0x11b)]-0x1][_0x130602(0x16d)])throw new _0x45f620(_0x130602(0x148),this);_0x4ad332[_0x130602(0x133)](this[_0x130602(0x106)][_0x130602(0x126)],_0x1ef693);};}[_0x129844(0x115)](){const _0x30b454=_0x129844;this[_0x30b454(0x106)][_0x30b454(0x126)]['on'](_0x30b454(0x150),(_0xa0294c,[_0x342cde])=>{const _0x322994=_0x30b454;if(this[_0x322994(0x12a)][_0x322994(0x195)])throw new _0x45f620(_0x322994(0x112),this);_0xa0294c[_0x322994(0x180)](),this[_0x322994(0x15c)]();const _0x554b2a=this[_0x322994(0x106)][_0x322994(0x192)][_0x322994(0x1c4)](_0x322994(0x11e)),_0x24509d=this[_0x322994(0x121)](_0x342cde,_0x554b2a);0x0==_0x24509d[_0x322994(0x11b)]&&_0x24509d[_0x322994(0x137)](new _0x256457(0x0)),_0xa0294c[_0x322994(0x12e)]=this[_0x322994(0x1bd)](_0x24509d)[_0x322994(0x1b3)](()=>{const _0x3664cc=_0x322994;this[_0x3664cc(0x106)][_0x3664cc(0x11d)][_0x3664cc(0x1c4)](_0x3d02a5)[_0x3664cc(0x1db)](this),this[_0x3664cc(0x106)][_0x3664cc(0x126)][_0x3664cc(0x155)](_0x3664cc(0x10e));})[_0x322994(0x193)](_0x32da46=>this[_0x322994(0x168)](_0x322994(0x1a8),_0x32da46))[_0x322994(0x16a)](()=>this[_0x322994(0x10f)]());},{'priority':_0x30b454(0x185)}),this[_0x30b454(0x106)]['on'](_0x30b454(0x189),async(_0x20c642,[_0x4e38f9,_0x4f7b1a])=>{const _0x1cd909=_0x30b454;_0x20c642[_0x1cd909(0x180)]();const _0x504be2=this[_0x1cd909(0x106)][_0x1cd909(0xef)][_0x1cd909(0x1e5)][_0x1cd909(0x127)](_0x4e38f9);if(!this[_0x1cd909(0x17f)][_0x1cd909(0x13b)](_0x4e38f9)){const _0x5f4bac=_0x4f7b1a&&_0x4f7b1a[_0x1cd909(0x126)]?_0x4f7b1a[_0x1cd909(0x126)]:'',_0x554cda=_0x4f7b1a&&_0x4f7b1a[_0x1cd909(0x1c5)]?_0x4f7b1a[_0x1cd909(0x1c5)]:{};await this[_0x1cd909(0x1ba)](_0x4e38f9,_0x5f4bac,_0x554cda);}this[_0x1cd909(0x106)][_0x1cd909(0xef)][_0x1cd909(0x156)]({'isUndoable':!0x1},()=>{const _0x1c6b82=_0x1cd909;_0x504be2[_0x1c6b82(0x14b)]=!0x0,this[_0x1c6b82(0x106)][_0x1c6b82(0xef)][_0x1c6b82(0x1e5)][_0x1c6b82(0x15b)][_0x1c6b82(0x1d2)](_0x504be2);});},{'priority':_0x30b454(0x185)});}async[_0x129844(0x1c6)](_0x3f51bc){const _0x33b298=_0x129844,_0x43f9aa=this[_0x33b298(0x106)][_0x33b298(0x11d)][_0x33b298(0x1c4)](_0x4e66c4),{connection:_0x383c24}=this[_0x33b298(0x106)][_0x33b298(0x11d)][_0x33b298(0x1c4)](_0x3d02a5),_0x3d8e71=new Set();for(const _0xffaa79 of _0x3f51bc){const _0x5bd959=_0xffaa79[_0x33b298(0x1a4)];_0x5bd959&&!_0x43f9aa[_0x33b298(0x1b2)](_0x5bd959)&&_0x3d8e71[_0x33b298(0x199)](_0x5bd959);}if(0x0===_0x3d8e71[_0x33b298(0x163)])return;const _0x123e4e=await _0x30fc99[_0x33b298(0x161)](_0x383c24,Array[_0x33b298(0x113)](_0x3d8e71));for(const _0x416420 of _0x123e4e)_0x43f9aa[_0x33b298(0x1b2)](_0x416420['id'])||_0x43f9aa[_0x33b298(0x103)](_0x416420);}[_0x129844(0x121)](_0x2b7f41,_0x77a825={}){const _0x477411=_0x129844,_0x31d1ce=this[_0x477411(0x106)][_0x477411(0xef)],_0x387fab=[];let _0x30c52e=0x0;const _0x9da648=_0x477411(0x144)==typeof _0x2b7f41?{'main':_0x2b7f41}:_0x2b7f41;for(const _0x28b5e7 of Object[_0x477411(0x114)](_0x9da648)){if(!this[_0x477411(0x12a)][_0x477411(0x17c)][_0x477411(0x13b)](_0x28b5e7))throw new _0x45f620(_0x477411(0x174),this);const _0x500082=this[_0x477411(0x106)][_0x477411(0x126)][_0x477411(0x124)](_0x9da648[_0x28b5e7]),_0x3fd051=this[_0x477411(0x12a)][_0x477411(0x127)](_0x28b5e7),_0x357e1a=new _0x32274d(_0x31d1ce[_0x477411(0x140)](_0x3fd051,0x0),_0x500082,_0x30c52e++);_0x387fab[_0x477411(0x137)](_0x357e1a);for(const [_0x4e9412,_0xc13e52]of _0x500082[_0x477411(0x1ea)]){const _0x2314f8=_0x31d1ce[_0x477411(0xeb)](_0x31d1ce[_0x477411(0x191)](_0x3fd051,_0xc13e52[_0x477411(0x175)][_0x477411(0x1b4)][_0x477411(0xee)]()),_0x31d1ce[_0x477411(0x191)](_0x3fd051,_0xc13e52[_0x477411(0x1cc)][_0x477411(0x1b4)][_0x477411(0xee)]())),_0x2d367=new _0x11b8f1(_0x4e9412,null,_0x2314f8,_0x31d1ce[_0x477411(0x1ea)],!0x0,_0x30c52e++);_0x387fab[_0x477411(0x137)](_0x2d367);}}if(_0x77a825)for(const [_0x485a3b,_0x44773e]of Object[_0x477411(0x1e4)](_0x77a825)){const _0x483978=_0x31d1ce[_0x477411(0x1e5)][_0x477411(0x127)](_0x485a3b);if(!_0x483978)throw new _0x45f620(_0x477411(0x179),null);for(const [_0x2b6acc,_0x3036e0]of Object[_0x477411(0x1e4)](_0x44773e))if(null!==_0x3036e0){const _0xee2857=new _0x3a91bc(_0x483978,_0x2b6acc,null,_0x3036e0,_0x30c52e++);_0x387fab[_0x477411(0x137)](_0xee2857);}}return _0x387fab;}async[_0x129844(0x1ba)](_0x63443b,_0x1a5923,_0x2835d9){const _0xe37124=_0x129844;this[_0xe37124(0x121)]({[_0x63443b]:_0x1a5923},{[_0x63443b]:_0x2835d9})[_0xe37124(0xf8)]((_0x16728f,_0x2ebc51)=>{const _0xb2af7e=_0xe37124;_0x16728f[_0xb2af7e(0x177)]=this[_0xb2af7e(0x12a)][_0xb2af7e(0x195)]+_0x2ebc51,_0x16728f[_0xb2af7e(0x19e)]=!0x0,this[_0xb2af7e(0x1b1)](_0x16728f);}),this[_0xe37124(0x1de)](),await this[_0xe37124(0xfb)]();}async[_0x129844(0x102)](_0x396405,_0x27620d){const _0x33950a=_0x129844;let _0xf48c7a;this[_0x33950a(0x158)]=_0x396405[_0x33950a(0xfc)];const _0x12a261=_0x396405[_0x33950a(0x1a2)]&&!_0x396405[_0x33950a(0x1d1)],_0x2bd631=_0x12a261?0x0:_0x396405[_0x33950a(0x126)][_0x33950a(0x177)];if(_0x27620d[_0x33950a(0xf8)](_0x35ee47=>{const _0x17b9ed=_0x33950a;_0x35ee47[_0x17b9ed(0x19e)]=!0x0,_0x35ee47[_0x17b9ed(0x13d)]=_0x396405[_0x17b9ed(0x152)],_0x35ee47[_0x17b9ed(0x1a4)]=null;}),_0x12a261)_0xf48c7a=_0x27620d,this[_0x33950a(0x1cd)](_0xf48c7a,_0x12a261);else{if(_0x396405[_0x33950a(0x1d1)]){const _0x3264df=this[_0x33950a(0x121)](_0x396405[_0x33950a(0x1d1)]);this[_0x33950a(0x12a)][_0x33950a(0x10a)][_0x33950a(0x195)]=-_0x3264df[_0x33950a(0x11b)],_0x3264df[_0x33950a(0xf8)](_0x4bb6a8=>{const _0xa07471=_0x33950a;_0x4bb6a8[_0xa07471(0x177)]-=_0x3264df[_0xa07471(0x11b)],_0x4bb6a8[_0xa07471(0x13d)]=_0x396405[_0xa07471(0x152)],_0x4bb6a8[_0xa07471(0x19e)]=!0x0,_0x4bb6a8[_0xa07471(0x1a4)]=null;}),this[_0x33950a(0x1cd)](_0x3264df,!0x0),this[_0x33950a(0x136)][_0x33950a(0x195)]=-_0x3264df[_0x33950a(0x11b)]+this[_0x33950a(0x158)],this[_0x33950a(0x167)](_0x3264df);}this[_0x33950a(0x12a)][_0x33950a(0x10a)][_0x33950a(0x195)]=_0x2bd631,_0xf48c7a=this[_0x33950a(0x171)](_0x396405[_0x33950a(0x126)],_0x396405[_0x33950a(0x1ec)]),await this[_0x33950a(0x1c6)](_0xf48c7a),this[_0x33950a(0x1cd)](_0xf48c7a,_0x12a261);}_0x396405[_0x33950a(0x19c)]&&(this[_0x33950a(0x153)][_0x33950a(0x14a)](_0xf48c7a,_0x396405[_0x33950a(0x19c)]),this[_0x33950a(0x1bf)]=_0x396405[_0x33950a(0x19c)]),this[_0x33950a(0x136)][_0x33950a(0x195)]=_0x2bd631+this[_0x33950a(0x158)],this[_0x33950a(0x167)](_0xf48c7a),_0x27620d[_0x33950a(0x12d)](_0x183e8f=>{const _0x47d06b=_0x33950a,_0x5af7a8=this[_0x47d06b(0x1e7)](_0x183e8f);return _0x5af7a8&&!this[_0x47d06b(0x17f)][_0x47d06b(0x13b)](_0x5af7a8);})[_0x33950a(0xf8)]((_0x2fe372,_0xc4a387)=>{const _0x1de4cd=_0x33950a;_0x2fe372[_0x1de4cd(0x177)]=this[_0x1de4cd(0x12a)][_0x1de4cd(0x195)]+_0xc4a387,this[_0x1de4cd(0x1b1)](_0x2fe372);}),this[_0x33950a(0x19a)]()?(this[_0x33950a(0xf2)]=0x0,this[_0x33950a(0x1de)](!0x0),await this[_0x33950a(0xfb)]()):(this[_0x33950a(0x184)]=!0x1,this[_0x33950a(0x10f)]());}[_0x129844(0x168)](_0x106b05,_0x4a13e0){const _0x6fe64a=_0x129844,_0x574c78=_0x4a13e0&&_0x4a13e0[_0x6fe64a(0x1c7)];if(_0x574c78&&_0x574c78[_0x6fe64a(0x110)](_0x6fe64a(0x190)))throw _0x4a13e0;const _0x4a6ecb=this[_0x6fe64a(0x106)][_0x6fe64a(0x11d)][_0x6fe64a(0x1c4)](_0x3d02a5);throw this[_0x6fe64a(0x184)]=!0x0,_0x4a6ecb[_0x6fe64a(0x1c9)](),this[_0x6fe64a(0x106)][_0x6fe64a(0x1cf)](_0x6fe64a(0x1bc)),new _0x45f620(_0x106b05,this[_0x6fe64a(0x106)],_0x574c78?{'originalError':_0x574c78}:void 0x0);}[_0x129844(0x1b1)](_0x5f021a){const _0x1797ed=_0x129844;this[_0x1797ed(0x1da)][_0x1797ed(0x13b)](_0x5f021a)||(this[_0x1797ed(0x1da)][_0x1797ed(0x199)](_0x5f021a),this[_0x1797ed(0x1e9)][_0x1797ed(0x137)](_0x5f021a),this[_0x1797ed(0x146)]||_0x1797ed(0x14e)==_0x5f021a[_0x1797ed(0x1e0)]&&!_0x5f021a[_0x1797ed(0x1b8)]||this[_0x1797ed(0x15c)]());}[_0x129844(0x1de)](_0x5487ce=!0x1){const _0x3aa5dd=_0x129844;!_0x5487ce&&this[_0x3aa5dd(0x184)]||(this[_0x3aa5dd(0x184)]=!0x0,clearTimeout(this[_0x3aa5dd(0x14f)]),this[_0x3aa5dd(0x14f)]=setTimeout(()=>{const _0x59e73d=_0x3aa5dd;this[_0x59e73d(0x10b)]()[_0x59e73d(0x1b3)](_0x299845=>{const _0x1b5b11=_0x59e73d;_0x299845&&(this[_0x1b5b11(0x10f)](),this[_0x1b5b11(0x184)]=!0x1);})[_0x59e73d(0x193)](_0x10843e=>{const _0x344a56=_0x59e73d;this[_0x344a56(0x10f)](),this[_0x344a56(0x184)]=!0x1,function(_0x35bd32){const _0x2f3741=_0x344a56;return _0x35bd32[_0x2f3741(0x1c7)][_0x2f3741(0x110)](_0x2f3741(0x111))||_0x35bd32[_0x2f3741(0x1c7)][_0x2f3741(0x110)](_0x2f3741(0x172))||_0x35bd32[_0x2f3741(0x1c7)][_0x2f3741(0x110)](_0x2f3741(0x130));}(_0x10843e)||this[_0x344a56(0x168)](_0x10843e[_0x344a56(0x1c7)],_0x10843e);});},this[_0x3aa5dd(0xf2)]));}[_0x129844(0xfb)](){return new Promise(_0x621f45=>{const _0x223832=_0xadc0;this['on'](_0x223832(0x15d),()=>{_0x621f45();});});}async[_0x129844(0x10b)](){const _0x2f03c2=_0x129844,_0x22a822=this[_0x2f03c2(0x106)][_0x2f03c2(0x11d)][_0x2f03c2(0x1c4)](_0x4078fb);if(this[_0x2f03c2(0x1e1)]()&&(_0x22a822[_0x2f03c2(0x17e)](),this[_0x2f03c2(0x162)]=!0x1),!this[_0x2f03c2(0x19a)]())return!0x0;const _0x106e61=[...this[_0x2f03c2(0x1e9)]];for(const _0xdf7596 of _0x106e61)_0xdf7596[_0x2f03c2(0x107)]=this[_0x2f03c2(0x12a)][_0x2f03c2(0x10a)][_0x2f03c2(0x1ed)](_0xdf7596);const _0x10ed21=this[_0x2f03c2(0x153)][_0x2f03c2(0x10d)](_0x106e61),_0xd9d89d=H++,_0x3c1cc4=this[_0x2f03c2(0x1c8)](_0x106e61),_0x31a759=await this[_0x2f03c2(0x17b)][_0x2f03c2(0x1d5)](_0x3c1cc4,_0x3c1cc4[_0x2f03c2(0x177)],_0x10ed21);try{return await this[_0x2f03c2(0x116)](_0x106e61,_0x31a759,_0xd9d89d);}catch(_0x1a2f28){return this[_0x2f03c2(0x168)](_0x2f03c2(0xfd),_0x1a2f28);}}async[_0x129844(0x116)](_0x3e4fda,_0x479913,_0x514381){const _0xfd08bf=_0x129844;if(_0xfd08bf(0x132)in _0x479913)throw _0x479913[_0xfd08bf(0x132)];let _0x4cb427=!0x1;if(_0x479913[_0xfd08bf(0x1a2)]){_0x479913[_0xfd08bf(0x19c)]&&(this[_0xfd08bf(0x1bf)]=_0x479913[_0xfd08bf(0x19c)]),this[_0xfd08bf(0x1e9)]=this[_0xfd08bf(0x1e9)][_0xfd08bf(0x12d)](_0x3f7a19=>!_0x3e4fda[_0xfd08bf(0x1aa)](_0x3f7a19));for(const _0x3977a0 of _0x3e4fda)_0x3977a0[_0xfd08bf(0x13d)]=_0xfd08bf(0xfe)in _0x479913&&_0x479913[_0xfd08bf(0xfe)]||void 0x0;W(_0x3e4fda,_0x479913[_0xfd08bf(0x195)]-_0x3e4fda[_0xfd08bf(0x11b)]),this[_0xfd08bf(0x167)](_0x3e4fda);const _0x5bffb4=_0x3e4fda[_0xfd08bf(0x12d)](_0x34546a=>{const _0x6c712e=_0xfd08bf;if(!_0x34546a[_0x6c712e(0x19e)])return!0x1;const _0x245e92=this[_0x6c712e(0x1e7)](_0x34546a);return _0x245e92&&!this[_0x6c712e(0x17f)][_0x6c712e(0x13b)](_0x245e92);});W(_0x5bffb4,this[_0xfd08bf(0x12a)][_0xfd08bf(0x195)]),this[_0xfd08bf(0x1cd)](_0x5bffb4),_0x4cb427=!0x0,this[_0xfd08bf(0xf2)]=this[_0xfd08bf(0x170)];}else{const _0x183495=this[_0xfd08bf(0x171)](_0x479913[_0xfd08bf(0x126)],_0x479913[_0xfd08bf(0x1ec)])[_0xfd08bf(0x12d)](_0x2746d8=>_0x2746d8[_0xfd08bf(0x177)]>=this[_0xfd08bf(0xe8)]);_0x183495[_0xfd08bf(0xf8)](_0x3d7563=>this[_0xfd08bf(0x1e3)](_0x3d7563)),this[_0xfd08bf(0x1e9)]=this[_0xfd08bf(0x1e9)][_0xfd08bf(0x12d)](_0x7c84d2=>!_0x7c84d2[_0xfd08bf(0x19e)]||!this[_0xfd08bf(0x17f)][_0xfd08bf(0x13b)](this[_0xfd08bf(0x1e7)](_0x7c84d2))),this[_0xfd08bf(0x1e9)][_0xfd08bf(0x11b)]&&W(this[_0xfd08bf(0x1e9)],this[_0xfd08bf(0x1e9)][0x0][_0xfd08bf(0x177)]),await this[_0xfd08bf(0x1c6)](_0x183495),_0x4cb427=this[_0xfd08bf(0x1c2)](_0x183495,_0x479913[_0xfd08bf(0x195)],_0x479913[_0xfd08bf(0x19c)]),this[_0xfd08bf(0xf2)]=Math[_0xfd08bf(0x18c)](this[_0xfd08bf(0xf2)]/0x2);}return _0x4cb427?!this[_0xfd08bf(0x19a)]()||(this[_0xfd08bf(0x1de)](!0x0),!0x1):this[_0xfd08bf(0x168)](_0xfd08bf(0x143));}[_0x129844(0x1c2)](_0x3cdfd5,_0x3a61ac,_0x11d093){const _0x5aa40c=_0x129844;try{const _0x56c179={'document':this[_0x5aa40c(0x12a)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xe1917e,operationsB:_0x24ca0d,originalOperations:_0x1fdfdc}=_0x1f6470(_0x3cdfd5,this[_0x5aa40c(0x1e9)],_0x56c179);W(_0xe1917e,this[_0x5aa40c(0x12a)][_0x5aa40c(0x195)]),W(_0x24ca0d,_0x3a61ac);for(const _0x45df9a of _0xe1917e){const _0x35fd37=_0x1fdfdc[_0x5aa40c(0x1c4)](_0x45df9a);_0x45df9a[_0x5aa40c(0x1a4)]=_0x35fd37?_0x35fd37[_0x5aa40c(0x1a4)]:null;}_0x11d093&&(this[_0x5aa40c(0x153)][_0x5aa40c(0x14a)](_0x3cdfd5,_0x11d093),this[_0x5aa40c(0x1bf)]=_0x11d093),this[_0x5aa40c(0x1e9)]=[..._0x24ca0d],this[_0x5aa40c(0x1cd)](_0xe1917e),this[_0x5aa40c(0x167)](_0x3cdfd5);}catch(_0x45d6c5){return console[_0x5aa40c(0x132)](_0x45d6c5),!0x1;}return!0x0;}[_0x129844(0x1cd)](_0x38142f,_0xab420c=!0x1){const _0x168a9c=_0x129844;this[_0x168a9c(0x106)][_0x168a9c(0xef)][_0x168a9c(0x156)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4c9972=>{const _0x178286=_0x168a9c;for(const _0x49d91e of _0x38142f)this[_0x178286(0x1da)][_0x178286(0x199)](_0x49d91e),this[_0x178286(0x1e3)](_0x49d91e),_0x4c9972[_0x178286(0xec)][_0x178286(0x1a1)](_0x49d91e),this[_0x178286(0x106)][_0x178286(0xef)][_0x178286(0x1d0)](_0x49d91e);});}[_0x129844(0x1e3)](_0xec5c62){const _0x51ee4b=_0x129844,_0x33b8b0=this[_0x51ee4b(0x1e7)](_0xec5c62);_0x33b8b0&&this[_0x51ee4b(0x17f)][_0x51ee4b(0x199)](_0x33b8b0);}[_0x129844(0x1e7)](_0xf2c2f2){const _0x287cd2=_0x129844;let _0x385869,_0x6e788d;switch(_0xf2c2f2[_0x287cd2(0x1e0)]){case _0x287cd2(0x1d3):_0x385869=_0xf2c2f2[_0x287cd2(0x1d7)][_0x287cd2(0x149)];break;case _0x287cd2(0x14e):if(_0x6e788d=_0xf2c2f2[_0x287cd2(0x17d)],!_0x6e788d)return null;_0x385869=_0x6e788d[_0x287cd2(0x149)];break;case _0x287cd2(0x142):_0x385869=_0xf2c2f2[_0x287cd2(0x149)];break;case _0x287cd2(0x1a6):_0x385869=_0xf2c2f2[_0x287cd2(0x118)];break;case _0x287cd2(0x147):_0x385869=_0xf2c2f2[_0x287cd2(0x1ce)][_0x287cd2(0x149)];break;default:return null;}return _0x385869[_0x287cd2(0x176)];}[_0x129844(0x167)](_0x4dad7f){const _0x3f34ae=_0x129844;_0x4dad7f[_0x3f34ae(0xf8)](_0x48fc89=>{const _0x30c503=_0x3f34ae,_0x28a968=_0x48fc89[_0x30c503(0x15f)]();_0x28a968[_0x30c503(0x1a4)]=_0x48fc89[_0x30c503(0x1a4)],_0x28a968[_0x30c503(0x19e)]=!!_0x48fc89[_0x30c503(0x19e)],_0x28a968[_0x30c503(0x13d)]=_0x48fc89[_0x30c503(0x13d)],_0x28a968[_0x30c503(0x177)]+=this[_0x30c503(0x158)],_0x48fc89[_0x30c503(0x157)]&&this[_0x30c503(0x134)][_0x30c503(0x199)](_0x28a968),this[_0x30c503(0x136)][_0x30c503(0x1a1)](_0x28a968);});}[_0x129844(0x1a5)](_0x452441){const _0x5433d1=_0x129844,_0x7ef484=this[_0x5433d1(0x106)][_0x5433d1(0x11d)][_0x5433d1(0x1c4)](_0x5433d1(0xf7)),_0x30607f=this[_0x5433d1(0x106)][_0x5433d1(0x1c0)];_0x452441||(_0x452441=_0x2d3827(_0x30607f,_0x5433d1(0x1eb))),_0x7ef484[_0x5433d1(0x12f)](_0x452441,{'title':_0x2d3827(_0x30607f,_0x5433d1(0x1c3)),'namespace':_0x5433d1(0x105)}),this[_0x5433d1(0x12b)]=!0x0,clearTimeout(this[_0x5433d1(0x14f)]),this[_0x5433d1(0x1e9)]=[],this[_0x5433d1(0x106)][_0x5433d1(0x11d)][_0x5433d1(0x1c4)](_0x3d02a5)[_0x5433d1(0x1c9)]();}[_0x129844(0x15c)](){const _0x5e6b30=_0x129844;this[_0x5e6b30(0x146)]||(this[_0x5e6b30(0x146)]=this[_0x5e6b30(0x106)][_0x5e6b30(0x11d)][_0x5e6b30(0x1c4)](_0x5337d1)[_0x5e6b30(0x199)](_0x2d3827(this[_0x5e6b30(0x106)][_0x5e6b30(0x1c0)],_0x5e6b30(0x128))));}[_0x129844(0x10f)](){const _0x3aac5f=_0x129844;this[_0x3aac5f(0x146)]&&(this[_0x3aac5f(0x106)][_0x3aac5f(0x11d)][_0x3aac5f(0x1c4)](_0x5337d1)[_0x3aac5f(0xea)](this[_0x3aac5f(0x146)]),this[_0x3aac5f(0x146)]=null);}[_0x129844(0x1c8)](_0x5878f6){const _0x2b52cb=_0x129844,_0x3be99f=_0x5878f6[_0x2b52cb(0x12c)](_0x1cb2e3=>_0x1cb2e3[_0x2b52cb(0x1dd)]());return this[_0x2b52cb(0x164)][_0x2b52cb(0x151)](_0x3be99f);}[_0x129844(0x171)](_0x390905,_0x13f7a6){const _0x2dbc92=_0x129844;return this[_0x2dbc92(0x164)][_0x2dbc92(0x11f)](_0x390905)[_0x2dbc92(0x12c)]((_0x5ec185,_0xbab32d)=>{const _0x154025=_0x2dbc92,_0x39810e=_0x154025(0x150)==_0x13f7a6[_0xbab32d][_0x154025(0x1e0)];if(_0x154025(0x1e8)==_0x5ec185[_0x154025(0x182)]){const _0x3766c1=_0x5ec185[_0x154025(0x1d7)][_0x154025(0x149)];!this[_0x154025(0x12a)][_0x154025(0x127)](_0x3766c1)&&(this[_0x154025(0x12a)][_0x154025(0x138)](_0x154025(0x1af),_0x3766c1)[_0x154025(0x194)]=!0x1);}const _0x591f59=_0x15d9e6[_0x154025(0x196)](_0x5ec185,this[_0x154025(0x12a)]);return _0x591f59[_0x154025(0x107)]=_0x5ec185[_0x154025(0x107)],_0x591f59[_0x154025(0x19e)]=_0x39810e,_0x591f59[_0x154025(0x1a4)]=_0x39810e?null:_0x13f7a6[_0xbab32d][_0x154025(0x123)],_0x591f59[_0x154025(0x157)]=_0x154025(0x1bb)===_0x13f7a6[_0xbab32d][_0x154025(0x1e0)],_0x591f59[_0x154025(0x13d)]=_0x13f7a6[_0xbab32d][_0x154025(0x13d)],_0x591f59;});}[_0x129844(0x14d)](){const _0x76b383=_0x129844;this[_0x76b383(0x162)]=!0x0,this[_0x76b383(0x1e1)]()?this[_0x76b383(0x1de)]():this[_0x76b383(0x162)]=!0x1;}[_0x129844(0x1e1)](){const _0x58a4a7=_0x129844,_0x53e0cb=this[_0x58a4a7(0x106)][_0x58a4a7(0x11d)][_0x58a4a7(0x1c4)](_0x50fc72)[_0x58a4a7(0xf4)][_0x58a4a7(0x1c4)](this[_0x58a4a7(0x139)]);return!this[_0x58a4a7(0x106)][_0x58a4a7(0xf6)]&&!!_0x53e0cb&&_0x53e0cb[_0x58a4a7(0x11b)]>0x1&&this[_0x58a4a7(0x162)];}[_0x129844(0x19a)](){const _0x3fce2b=_0x129844;return this[_0x3fce2b(0x1e9)][_0x3fce2b(0x11b)]>0x0||this[_0x3fce2b(0x1e1)]();}}export{l as RealTimeCollaborationClient};function _0xadc0(_0x3e24f3,_0x3e530f){const _0x4e1704=_0x4e17();return _0xadc0=function(_0xadc06b,_0x1d32ab){_0xadc06b=_0xadc06b-0xe8;let _0x537051=_0x4e1704[_0xadc06b];return _0x537051;},_0xadc0(_0x3e24f3,_0x3e530f);}class V extends Error{}function W(_0x4209dd,_0x251aeb){const _0x3837f8=_0x129844;for(const _0x50ef13 of _0x4209dd)_0x50ef13[_0x3837f8(0x177)]=_0x251aeb++;}class F{[_0x129844(0x1a0)];[_0x129844(0x1ca)];constructor(_0x1f3fc7){const _0x2d00f2=_0x129844;this[_0x2d00f2(0x1a0)]=_0x1f3fc7,this[_0x2d00f2(0x1ca)]=new WeakMap();}[_0x129844(0x10d)](_0x4ade58){const _0x2b52b8=_0x129844;let _0x51111c=_0x4ade58[_0x2b52b8(0x11b)];for(;_0x51111c--;){const _0x58c037=_0x4ade58[_0x51111c];if(!this[_0x2b52b8(0x1a0)][_0x2b52b8(0x13b)](_0x58c037)){if(!this[_0x2b52b8(0x1ca)][_0x2b52b8(0x13b)](_0x58c037)){const _0x10afb8=_0x4cedf3()[_0x2b52b8(0xee)](0x1,0x12);this[_0x2b52b8(0x1ca)][_0x2b52b8(0x1be)](_0x58c037,_0x10afb8);}return this[_0x2b52b8(0x1ca)][_0x2b52b8(0x1c4)](_0x58c037);}}}[_0x129844(0x14a)](_0xdd71f8,_0x437c67){const _0x203dc8=_0x129844;if(!_0x437c67)return;let _0x2e3750=_0xdd71f8[_0x203dc8(0x11b)];for(;_0x2e3750--;){const _0x5a2908=_0xdd71f8[_0x2e3750];this[_0x203dc8(0x1a0)][_0x203dc8(0x13b)](_0x5a2908)||this[_0x203dc8(0x1ca)][_0x203dc8(0x1be)](_0x5a2908,_0x437c67);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16e289=_0xfa12;function _0xfa12(_0x2209f5,_0x2e8d3b){const _0x3d984e=_0x3d98();return _0xfa12=function(_0xfa12d8,_0x57b319){_0xfa12d8=_0xfa12d8-0x196;let _0x338215=_0x3d984e[_0xfa12d8];return _0x338215;},_0xfa12(_0x2209f5,_0x2e8d3b);}(function(_0x410d12,_0x23764f){const _0x2b312f=_0xfa12,_0x4305d5=_0x410d12();while(!![]){try{const _0x3828b1=-parseInt(_0x2b312f(0x197))/0x1+-parseInt(_0x2b312f(0x1be))/0x2*(-parseInt(_0x2b312f(0x1a7))/0x3)+-parseInt(_0x2b312f(0x1a2))/0x4*(-parseInt(_0x2b312f(0x1c0))/0x5)+-parseInt(_0x2b312f(0x1cc))/0x6+-parseInt(_0x2b312f(0x1c3))/0x7*(parseInt(_0x2b312f(0x196))/0x8)+-parseInt(_0x2b312f(0x1c8))/0x9*(parseInt(_0x2b312f(0x1bd))/0xa)+parseInt(_0x2b312f(0x1b9))/0xb;if(_0x3828b1===_0x23764f)break;else _0x4305d5['push'](_0x4305d5['shift']());}catch(_0x28d192){_0x4305d5['push'](_0x4305d5['shift']());}}}(_0x3d98,0xe0c3a));import{ContextPlugin as _0x2ae60e}from'ckeditor5/src/core.js';function _0x3d98(){const _0x4d0440=['context','sessionId','getUserBySessionId','role','add','fire','getUserSessions','_handleSessionAdd','3744zXxQmL','allConnectedUsers','_uniqueUsersCount','set','register','49719dZylsf','sessionAdd:','sessions-register-already-registered','listenTo','channelSessions','size','isPremiumPlugin','pluginName','_handleSessionRemove','plugins','_createUser','Sessions','assign','has','init','_registeredSessions','get','_users','34017401fHiYEB','orderNumber','requires','sessions-unregister-not-exist','10oVxjOU','16qZkhaC','clear','4860SxorKb','user','addUser','6609981sOsQve','delete','getUser','isMe','remove','3051963hmPVgC','change:state','defineMe','stopListening','2888796dpsira','connection','channelConnectedUsers','isOfficialPlugin','connected','forEach','state','unregister','mySessionId','8LnsqDd','1449377YphruP','getUserRole','values'];_0x3d98=function(){return _0x4d0440;};return _0x3d98();}import{Collection as _0x5009d7,CKEditorError as _0xb6397c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x138a5c}from'./websocketgateway.js';import{Users as _0x5ebe88}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2ae60e{[_0x16e289(0x1ab)];[_0x16e289(0x1ce)];[_0x16e289(0x1a3)];[_0x16e289(0x1b6)];[_0x16e289(0x1a4)];[_0x16e289(0x1b8)];static get[_0x16e289(0x1ae)](){const _0x47bf11=_0x16e289;return _0x47bf11(0x1b2);}static get[_0x16e289(0x1cf)](){return!0x0;}static get[_0x16e289(0x1ad)](){return!0x0;}static get[_0x16e289(0x1bb)](){return[_0x138a5c,_0x5ebe88];}constructor(_0x936a5d){const _0x3ad5d1=_0x16e289;super(_0x936a5d),this[_0x3ad5d1(0x1ab)]=new Map(),this[_0x3ad5d1(0x1ce)]=new Map(),this[_0x3ad5d1(0x1a3)]=new _0x5009d7(),this[_0x3ad5d1(0x1b6)]=new Map(),this[_0x3ad5d1(0x1a4)]=0x0,this[_0x3ad5d1(0x1b8)]=this[_0x3ad5d1(0x19a)][_0x3ad5d1(0x1b0)][_0x3ad5d1(0x1b7)](_0x5ebe88);}[_0x16e289(0x1b5)](){const _0xdd2671=_0x16e289,_0x29c33c=this[_0xdd2671(0x19a)][_0xdd2671(0x1b0)][_0xdd2671(0x1b7)](_0x138a5c);this[_0xdd2671(0x1aa)](_0x29c33c,_0xdd2671(0x1c9),(_0x2697cb,_0x2fa3d4,_0x356c28)=>{const _0x1c7e14=_0xdd2671;if(_0x1c7e14(0x1d0)!==_0x356c28)this[_0x1c7e14(0x1ab)][_0x1c7e14(0x1d1)](_0x449af5=>_0x449af5[_0x1c7e14(0x1bf)]()),this[_0x1c7e14(0x1ce)][_0x1c7e14(0x1d1)](_0x59775f=>_0x59775f[_0x1c7e14(0x1bf)]()),this[_0x1c7e14(0x1a3)][_0x1c7e14(0x1bf)]();else{for(const [_0x4cf643,_0x59ec80]of this[_0x1c7e14(0x1b6)])for(const _0x18b7d0 of _0x59ec80)this[_0x1c7e14(0x1a1)](_0x4cf643,_0x18b7d0);}}),this[_0xdd2671(0x1b1)](_0x29c33c[_0xdd2671(0x1cd)]['me'],!0x0);}[_0x16e289(0x1a6)](_0x2daefc,_0x482b90){const _0x363e46=_0x16e289;if(this[_0x363e46(0x1b6)][_0x363e46(0x1b4)](_0x2daefc))throw new _0xb6397c(_0x363e46(0x1a9),null,{'channelId':_0x2daefc});this[_0x363e46(0x1b6)][_0x363e46(0x1a5)](_0x2daefc,_0x482b90),this[_0x363e46(0x1ab)][_0x363e46(0x1a5)](_0x2daefc,new _0x5009d7()),this[_0x363e46(0x1ce)][_0x363e46(0x1a5)](_0x2daefc,new _0x5009d7()),this[_0x363e46(0x1aa)](_0x482b90,_0x363e46(0x19e),(_0x4c5549,_0x5bb46e)=>this[_0x363e46(0x1a1)](_0x2daefc,_0x5bb46e)),this[_0x363e46(0x1aa)](_0x482b90,_0x363e46(0x1c7),(_0x37cabd,_0x5d1cae)=>this[_0x363e46(0x1af)](_0x2daefc,_0x5d1cae));for(const _0x27408d of _0x482b90)this[_0x363e46(0x1a1)](_0x2daefc,_0x27408d);}[_0x16e289(0x1d3)](_0x280726){const _0x16319c=_0x16e289;if(!this[_0x16319c(0x1b6)][_0x16319c(0x1b4)](_0x280726))throw new _0xb6397c(_0x16319c(0x1bc),null,{'channelId':_0x280726});const _0x1c760a=this[_0x16319c(0x1b6)][_0x16319c(0x1b7)](_0x280726);this[_0x16319c(0x1cb)](_0x1c760a);for(const _0x3e9814 of _0x1c760a)_0x16319c(0x1d0)===this[_0x16319c(0x19a)][_0x16319c(0x1b0)][_0x16319c(0x1b7)](_0x138a5c)[_0x16319c(0x1d2)]&&this[_0x16319c(0x1af)](_0x280726,_0x3e9814);this[_0x16319c(0x1b6)][_0x16319c(0x1c4)](_0x280726),this[_0x16319c(0x1ab)][_0x16319c(0x1c4)](_0x280726),this[_0x16319c(0x1ce)][_0x16319c(0x1c4)](_0x280726);}get[_0x16e289(0x1d4)](){const _0x25de34=_0x16e289;return this[_0x25de34(0x19a)][_0x25de34(0x1b0)][_0x25de34(0x1b7)](_0x138a5c)[_0x25de34(0x1cd)][_0x25de34(0x19b)];}[_0x16e289(0x19c)](_0x467135){const _0x106c36=_0x16e289;for(const _0x3bc775 of this[_0x106c36(0x1ab)][_0x106c36(0x199)]())for(const _0x2291c1 of _0x3bc775)if(_0x2291c1['id']===_0x467135)return _0x2291c1[_0x106c36(0x1c1)];}[_0x16e289(0x1a0)](_0x5db4bd,_0x5ad540){const _0x3a7727=_0x16e289,_0x8f9400=_0x5ad540?[this[_0x3a7727(0x1ab)][_0x3a7727(0x1b7)](_0x5ad540)]:this[_0x3a7727(0x1ab)][_0x3a7727(0x199)](),_0x1f1c8e=new Set();for(const _0x46ee5a of _0x8f9400)for(const _0x55e888 of _0x46ee5a)_0x55e888[_0x3a7727(0x1c1)]['id']===_0x5db4bd['id']&&_0x1f1c8e[_0x3a7727(0x19e)](_0x55e888['id']);return _0x1f1c8e;}[_0x16e289(0x198)](_0x371bd1){const _0xa5a103=_0x16e289;for(const _0x35bb9c of this[_0xa5a103(0x1ab)][_0xa5a103(0x199)]())for(const _0x368461 of _0x35bb9c)if(_0x368461[_0xa5a103(0x1c1)]===_0x371bd1)return _0x368461[_0xa5a103(0x19d)];}[_0x16e289(0x1a1)](_0x20de8c,_0x573dc7){const _0x5cdf33=_0x16e289;if(_0x5cdf33(0x1d0)!==this[_0x5cdf33(0x19a)][_0x5cdf33(0x1b0)][_0x5cdf33(0x1b7)](_0x138a5c)[_0x5cdf33(0x1d2)])return;const _0x40c672=_0x573dc7[_0x5cdf33(0x1c1)],_0x32a0fa=this[_0x5cdf33(0x1b8)][_0x5cdf33(0x1c5)](_0x40c672['id'])||this[_0x5cdf33(0x1b1)](_0x40c672),_0x19a6b1=Object[_0x5cdf33(0x1b3)]({},_0x573dc7,{'user':_0x32a0fa});this[_0x5cdf33(0x1ab)][_0x5cdf33(0x1b7)](_0x20de8c)[_0x5cdf33(0x19e)](_0x19a6b1);const _0x39d560=this[_0x5cdf33(0x1ce)][_0x5cdf33(0x1b7)](_0x20de8c);_0x39d560[_0x5cdf33(0x1b4)](_0x32a0fa['id'])||_0x39d560[_0x5cdf33(0x19e)](_0x32a0fa),this[_0x5cdf33(0x1a3)][_0x5cdf33(0x1b4)](_0x32a0fa['id'])||this[_0x5cdf33(0x1a3)][_0x5cdf33(0x19e)](_0x32a0fa,_0x32a0fa[_0x5cdf33(0x1c6)]?0x0:void 0x0),this[_0x5cdf33(0x19f)](_0x5cdf33(0x1a8)+_0x20de8c,{'channelId':_0x20de8c,'session':_0x19a6b1});}[_0x16e289(0x1af)](_0x45885d,_0xf51469){const _0x59856d=_0x16e289;if(_0x59856d(0x1d0)!==this[_0x59856d(0x19a)][_0x59856d(0x1b0)][_0x59856d(0x1b7)](_0x138a5c)[_0x59856d(0x1d2)])return;const _0x58f2ad=this[_0x59856d(0x1ce)][_0x59856d(0x1b7)](_0x45885d),_0x21de41=_0xf51469[_0x59856d(0x1c1)];_0x21de41['id']&&(this[_0x59856d(0x1ab)][_0x59856d(0x1b7)](_0x45885d)[_0x59856d(0x1c7)](_0xf51469['id']),_0x58f2ad[_0x59856d(0x1b4)](_0x21de41['id'])&&!this[_0x59856d(0x1a0)](_0x21de41,_0x45885d)[_0x59856d(0x1ac)]&&_0x58f2ad[_0x59856d(0x1c7)](_0x21de41['id']),this[_0x59856d(0x1a3)][_0x59856d(0x1b7)](_0x21de41['id'])&&!this[_0x59856d(0x1a0)](_0x21de41)[_0x59856d(0x1ac)]&&this[_0x59856d(0x1a3)][_0x59856d(0x1c7)](_0x21de41['id']));}[_0x16e289(0x1b1)](_0x107173,_0x290162){const _0x551989=_0x16e289,_0x3d2b90=this[_0x551989(0x1b8)][_0x551989(0x1c2)](_0x107173);return _0x290162&&this[_0x551989(0x1b8)][_0x551989(0x1ca)](_0x107173['id']),_0x3d2b90[_0x551989(0x1ba)]=this[_0x551989(0x1a4)]++,_0x3d2b90;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5c9657=_0x2a71;(function(_0x34b399,_0x9be9f3){const _0x8023d5=_0x2a71,_0x20f090=_0x34b399();while(!![]){try{const _0x4e0dc6=-parseInt(_0x8023d5(0x1c9))/0x1*(-parseInt(_0x8023d5(0x1c7))/0x2)+-parseInt(_0x8023d5(0x1b9))/0x3*(parseInt(_0x8023d5(0x1a8))/0x4)+-parseInt(_0x8023d5(0x178))/0x5+parseInt(_0x8023d5(0x1cf))/0x6*(parseInt(_0x8023d5(0x1b2))/0x7)+-parseInt(_0x8023d5(0x1cb))/0x8+parseInt(_0x8023d5(0x1cd))/0x9+parseInt(_0x8023d5(0x19d))/0xa;if(_0x4e0dc6===_0x9be9f3)break;else _0x20f090['push'](_0x20f090['shift']());}catch(_0x298161){_0x20f090['push'](_0x20f090['shift']());}}}(_0x284f,0xa76b1));function _0x2a71(_0xcb4a49,_0x44874c){const _0x284f1b=_0x284f();return _0x2a71=function(_0x2a71a6,_0x2de458){_0x2a71a6=_0x2a71a6-0x16b;let _0x2f72c8=_0x284f1b[_0x2a71a6];return _0x2f72c8;},_0x2a71(_0xcb4a49,_0x44874c);}import{Plugin as _0xb3aa74}from'ckeditor5/src/core.js';function _0x284f(){const _0x4740e2=['getNearestSelectionRange','checkChild','user:range','start','undo','textContent','span','mouseenter','mapper','size','destroy','setAttribute','render','detach','isLimit','spellcheck','nodeAfter','$text','document','createUserMarkerOperations','marker','markers','false','root','updateMarker','addMarker','pluginName','tableCell','user:position:','getAttribute','parent','toDomElement','isPremiumPlugin','getStart','removeMarker','update:user:range','for','conversion','contenteditable','userPositionMarker','4378385kCaukP','clear','outerHTML','classList','add','isOfficialPlugin','requires','oldRange','mouseleave','$graveyard','addEventListener','ck-user__marker-tooltip','newRange','setCustomProperty','keydown','getPositions','user:','isInline','data-session-id','createUIElement','markerToElement','highest','selection','startsWith','mySessionId','_createdBatches','Escape','stopListening','end','UserMarkers','listenTo','change','plugins','user:position','getUserBySessionId','commands','markerToHighlight','15263990kcuGkH','reconvertMarker','isCollapsed','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','element','set','enqueueChange','split','getCustomProperty','isObject','getRange','484JhpEwS','get','rootName','name','getContainedElement','batch','innerHTML','change:range','markerName','init','881559gVkbiJ','removeClass','markerRange','markerNameToElements','editing','user:range:','hasContent','2157ksfLwo','ck-user__marker_hovered','createElement','ck-user__marker\x20','applyOperation','delete','deletionPosition','editor','getSelectionClass','type','ck-user__selection','editingDowncast','isDocumentOperation','schema','986CFmFiO','model','31qttltH','createRange','10766920QnRiMG','color','9673137GXKeKd','getFirstRange','18hSgBSB','isSimilar','orderNumber','hasDomSelection','view','getMarkerClass','toRange','afterInit','_domEmitter','remove','fromRange','has'];_0x284f=function(){return _0x4740e2;};return _0x284f();}import{global as _0xa57654,DomEmitterMixin as _0x20a16c}from'ckeditor5/src/utils.js';import{Sessions as _0x1626f0}from'./sessions.js';import{ModelLiveRange as _0x365502}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0xb3aa74{[_0x5c9657(0x1d7)]=new(_0x20a16c())();static get[_0x5c9657(0x17e)](){return[_0x1626f0];}static get[_0x5c9657(0x1f5)](){const _0x1b6bd7=_0x5c9657;return _0x1b6bd7(0x195);}static get[_0x5c9657(0x17d)](){return!0x0;}static get[_0x5c9657(0x170)](){return!0x0;}[_0x5c9657(0x1b1)](){const _0x543cfd=_0x5c9657,_0x309f08=this[_0x543cfd(0x1c0)],_0x736aa4=_0x309f08[_0x543cfd(0x198)][_0x543cfd(0x1a9)](_0x1626f0);_0x309f08[_0x543cfd(0x175)][_0x543cfd(0x174)](_0x543cfd(0x1c4))[_0x543cfd(0x18c)]({'model':_0x543cfd(0x199),'view':(_0x11a972,{writer:_0x13ad50})=>function(_0x58fa08,_0x304850,_0x45f2fa,_0x5196f7){const _0xdbeba8=_0x543cfd,_0x4c8d63=_0x58fa08[_0xdbeba8(0x1b0)][_0xdbeba8(0x1a4)](':')[0x2],_0x42b6fd=_0x45f2fa[_0xdbeba8(0x19a)](_0x4c8d63);if(!_0x42b6fd||_0x4c8d63===_0x45f2fa[_0xdbeba8(0x190)])return;if(!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)][_0xdbeba8(0x1dc)](_0x58fa08[_0xdbeba8(0x1b4)][_0xdbeba8(0x1de)],_0xdbeba8(0x1ec)))return;const _0x343734={'class':_0xdbeba8(0x1bc)+_0x42b6fd[_0xdbeba8(0x1cc)][_0xdbeba8(0x1d4)](),'data-name':_0x42b6fd[_0xdbeba8(0x1ab)],'data-session-id':_0x4c8d63},_0x273a2b=_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1f0)][_0xdbeba8(0x1a9)](_0x58fa08[_0xdbeba8(0x1b0)]),_0x189c74=_0x273a2b[_0xdbeba8(0x171)](),_0x5def91=_0x189c74[_0xdbeba8(0x1eb)],_0x483816=_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)];if(_0x5def91&&_0x483816[_0xdbeba8(0x1a6)](_0x5def91)&&_0x483816[_0xdbeba8(0x189)](_0x5def91)&&!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1f0)][_0xdbeba8(0x1a9)](_0xdbeba8(0x1b7)+_0x4c8d63)[_0xdbeba8(0x1a7)]()[_0xdbeba8(0x19f)])return;const _0xcacd85=_0x189c74[_0xdbeba8(0x16e)];return _0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)][_0xdbeba8(0x1e9)](_0xcacd85)&&!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1b8)](_0xcacd85)&&(_0x343734[_0xdbeba8(0x176)]=!0x1),function(_0x230dab,_0x5d2189,_0x55b1a7){const _0x17f783=_0xdbeba8,_0x103ffb=_0x230dab[_0x17f783(0x18b)](_0x17f783(0x1e1),_0x5d2189);return _0x230dab[_0x17f783(0x185)](_0x17f783(0x177),!0x0,_0x103ffb),_0x103ffb[_0x17f783(0x1e7)]=function(_0x248b6c){const _0x1fee8a=_0x17f783,_0x12a753=this[_0x1fee8a(0x16f)](_0x248b6c),_0x3214ab=document[_0x1fee8a(0x1bb)](_0x1fee8a(0x1e1));return _0x3214ab[_0x1fee8a(0x17b)][_0x1fee8a(0x17c)](_0x1fee8a(0x183)),_0x3214ab[_0x1fee8a(0x1e6)](_0x1fee8a(0x176),_0x1fee8a(0x1f1)),_0x3214ab[_0x1fee8a(0x1e6)](_0x1fee8a(0x1ea),_0x1fee8a(0x1f1)),_0x3214ab[_0x1fee8a(0x1e0)]=_0x55b1a7[_0x1fee8a(0x1ab)],_0x12a753[_0x1fee8a(0x1ae)]=_0x1fee8a(0x1a0)+_0x3214ab[_0x1fee8a(0x17a)]+'',_0x12a753[_0x1fee8a(0x182)](_0x1fee8a(0x1e2),()=>{const _0x2eaa53=_0x1fee8a;_0x12a753[_0x2eaa53(0x17b)][_0x2eaa53(0x17c)](_0x2eaa53(0x1ba));}),_0x12a753[_0x1fee8a(0x182)](_0x1fee8a(0x180),()=>{const _0x4321b0=_0x1fee8a;_0x12a753[_0x4321b0(0x17b)][_0x4321b0(0x1d8)](_0x4321b0(0x1ba));}),_0x12a753;},_0x103ffb[_0x17f783(0x1d0)]=function(_0x526070){const _0x1439f=_0x17f783;return!(!this[_0x1439f(0x1a5)](_0x1439f(0x177))||!_0x526070[_0x1439f(0x1a5)](_0x1439f(0x177))||this[_0x1439f(0x16d)](_0x1439f(0x18a))!=_0x526070[_0x1439f(0x16d)](_0x1439f(0x18a)));},_0x103ffb;}(_0x304850,_0x343734,_0x42b6fd);}(_0x11a972,_0x13ad50,_0x736aa4,_0x309f08)}),_0x309f08[_0x543cfd(0x175)][_0x543cfd(0x174)](_0x543cfd(0x1c4))[_0x543cfd(0x19c)]({'model':_0x543cfd(0x1dd),'view':_0x11bf6c=>function(_0x231654,_0x50c941){const _0x28b9d7=_0x543cfd,_0x4c0a36=_0x231654[_0x28b9d7(0x1b0)][_0x28b9d7(0x1a4)](':')[0x2];if(_0x4c0a36===_0x50c941[_0x28b9d7(0x190)])return null;const _0x9887cb=_0x50c941[_0x28b9d7(0x19a)](_0x4c0a36);if(!_0x9887cb)return{'id':_0x4c0a36,'classes':[]};return{'id':_0x4c0a36,'classes':[_0x28b9d7(0x1c3),_0x9887cb[_0x28b9d7(0x1cc)][_0x28b9d7(0x1c1)]()],'attributes':{'data-session-id':_0x4c0a36},'priority':0x7d0+_0x9887cb[_0x28b9d7(0x1d1)]};}(_0x11bf6c,_0x736aa4)}),function(_0x4fc12e){const _0xb1cae0=_0x543cfd,_0xf0ce=_0x4fc12e[_0xb1cae0(0x1c8)],_0x44da75=new Map(),_0x5bb407=_0x4fc12e[_0xb1cae0(0x198)][_0xb1cae0(0x1a9)](_0x1626f0);_0xf0ce[_0xb1cae0(0x1f0)]['on'](_0xb1cae0(0x173),(_0x52ba8c,_0x55e81a,_0x2d11e1,_0x13ec51)=>{const _0x2892fe=_0xb1cae0;if(!_0x13ec51&&_0x44da75[_0x2892fe(0x1a9)](_0x55e81a[_0x2892fe(0x1ab)]))return _0x44da75[_0x2892fe(0x1a9)](_0x55e81a[_0x2892fe(0x1ab)])[_0x2892fe(0x1e8)](),void _0x44da75[_0x2892fe(0x1be)](_0x55e81a[_0x2892fe(0x1ab)]);const _0x3bb786=_0x55e81a[_0x2892fe(0x1ab)][_0x2892fe(0x1a4)](':')[0x2];if(_0x3bb786===_0x5bb407[_0x2892fe(0x190)])return;const _0x100b60=_0x2892fe(0x16c)+_0x3bb786;_0xf0ce[_0x2892fe(0x1f0)][_0x2892fe(0x1da)](_0x100b60)&&_0x4fc12e[_0x2892fe(0x1b6)][_0x2892fe(0x19e)](_0x100b60),_0x55e81a['on'](_0x2892fe(0x1af),(_0x332e45,_0x50f18a,_0x53a3dd)=>{const _0x1890d6=_0x2892fe;if(_0x1890d6(0x181)!=_0x50f18a[_0x1890d6(0x1f2)][_0x1890d6(0x1aa)]&&_0x1890d6(0x181)==_0x55e81a[_0x1890d6(0x1a7)]()[_0x1890d6(0x1f2)][_0x1890d6(0x1aa)]&&!_0x44da75[_0x1890d6(0x1da)](_0x55e81a[_0x1890d6(0x1ab)])){const _0x1bc99d=_0xf0ce[_0x1890d6(0x1c6)][_0x1890d6(0x1db)](_0x53a3dd[_0x1890d6(0x1bf)]);if(_0x1bc99d){const _0x40b8f4=_0x365502[_0x1890d6(0x1d9)](_0x1bc99d);_0x44da75[_0x1890d6(0x1a2)](_0x55e81a[_0x1890d6(0x1ab)],_0x40b8f4),_0x40b8f4['on'](_0x1890d6(0x1af),(_0x1e90e9,_0x201d70,_0x3a8dc5)=>{const _0x1efab3=_0x1890d6;if(_0x1efab3(0x181)==_0x40b8f4[_0x1efab3(0x1f2)][_0x1efab3(0x1aa)]){const _0x436645=_0xf0ce[_0x1efab3(0x1c6)][_0x1efab3(0x1db)](_0x3a8dc5[_0x1efab3(0x1bf)]);_0x436645?(_0x40b8f4[_0x1efab3(0x1de)]=_0x436645[_0x1efab3(0x1de)],_0x40b8f4[_0x1efab3(0x194)]=_0x436645[_0x1efab3(0x194)]):(_0x44da75[_0x1efab3(0x1be)](_0x55e81a[_0x1efab3(0x1ab)]),_0x40b8f4[_0x1efab3(0x1e8)]());}});}}});}),_0xf0ce[_0xb1cae0(0x1ed)]['on'](_0xb1cae0(0x197),()=>{const _0xc8c7af=_0xb1cae0;_0x44da75[_0xc8c7af(0x1e4)]>0x0&&_0xf0ce[_0xc8c7af(0x1a3)]({'isUndoable':!0x1},_0x291aca=>{const _0x399b98=_0xc8c7af;for(const [_0x3a9dc1,_0x43ae32]of _0x44da75)_0x399b98(0x181)==_0xf0ce[_0x399b98(0x1f0)][_0x399b98(0x1a9)](_0x3a9dc1)[_0x399b98(0x1a7)]()[_0x399b98(0x1f2)][_0x399b98(0x1aa)]&&(te(_0x3a9dc1[_0x399b98(0x1a4)](':')[0x2],_0x43ae32[_0x399b98(0x1d5)](),_0xf0ce,_0x291aca),_0x43ae32[_0x399b98(0x1e8)]());_0x44da75[_0x399b98(0x179)]();});});}(_0x309f08),this[_0x543cfd(0x1d7)][_0x543cfd(0x196)](_0xa57654[_0x543cfd(0x1ed)],_0x543cfd(0x186),(_0x5eeef6,{key:_0x37e8ca})=>{const _0x9bb6f2=_0x543cfd;_0x9bb6f2(0x192)===_0x37e8ca&&function(_0x1442bd){const _0x3e6fb3=_0x9bb6f2;_0x1442bd[_0x3e6fb3(0x1b6)][_0x3e6fb3(0x1d3)][_0x3e6fb3(0x197)](_0x118a99=>{const _0x85b8c=_0x3e6fb3;for(const _0x527749 of _0x1442bd[_0x85b8c(0x1c8)][_0x85b8c(0x1f0)]){if(!_0x527749[_0x85b8c(0x1ab)][_0x85b8c(0x18f)](_0x85b8c(0x199)))continue;const _0x237aec=_0x1442bd[_0x85b8c(0x1b6)][_0x85b8c(0x1e3)][_0x85b8c(0x1b5)](_0x527749[_0x85b8c(0x1ab)]);if(_0x237aec){for(const _0x464b43 of _0x237aec)_0x118a99[_0x85b8c(0x1b3)](_0x85b8c(0x1ba),_0x464b43);}}});}(_0x309f08);},{'useCapture':!0x0});}[_0x5c9657(0x1d6)](){const _0x3c537c=_0x5c9657,_0x18301f=this[_0x3c537c(0x1c0)],_0x26a225=_0x18301f[_0x3c537c(0x19b)][_0x3c537c(0x1a9)](_0x3c537c(0x1df));_0x26a225&&_0x18301f[_0x3c537c(0x1c8)]['on'](_0x3c537c(0x1bd),(_0x1865e3,_0x3230c0)=>{const _0x2f6f3c=_0x3c537c,_0x2d8eb0=_0x3230c0[0x0];if(!_0x2d8eb0[_0x2f6f3c(0x1c5)])return;if(_0x2f6f3c(0x1ef)!=_0x2d8eb0[_0x2f6f3c(0x1c2)]||!_0x2d8eb0[_0x2f6f3c(0x1ab)][_0x2f6f3c(0x18f)](_0x2f6f3c(0x188)))return;const _0x4f3adf=_0x2d8eb0[_0x2f6f3c(0x1ad)];_0x26a225[_0x2f6f3c(0x191)][_0x2f6f3c(0x1da)](_0x4f3adf)&&(_0x2d8eb0[_0x2f6f3c(0x184)]=_0x2d8eb0[_0x2f6f3c(0x17f)]?_0x18301f[_0x2f6f3c(0x1c8)][_0x2f6f3c(0x1ca)](_0x2d8eb0[_0x2f6f3c(0x17f)][_0x2f6f3c(0x1de)],_0x2d8eb0[_0x2f6f3c(0x17f)][_0x2f6f3c(0x194)]):null);},{'priority':_0x3c537c(0x18d)});}[_0x5c9657(0x1e5)](){const _0x2a56a1=_0x5c9657;return this[_0x2a56a1(0x1d7)][_0x2a56a1(0x193)](),super[_0x2a56a1(0x1e5)]();}[_0x5c9657(0x1ee)](){const _0x4afaf9=_0x5c9657,_0x7e8db1=this[_0x4afaf9(0x1c0)],_0x184dd8=_0x7e8db1[_0x4afaf9(0x1c8)][_0x4afaf9(0x1ed)],_0xff82cf=_0x7e8db1[_0x4afaf9(0x198)][_0x4afaf9(0x1a9)](_0x1626f0);_0x7e8db1[_0x4afaf9(0x1c8)][_0x4afaf9(0x1a3)]({'isUndoable':!0x1},_0x3d6cea=>{const _0x19eebd=_0x4afaf9,_0x5a87b6=_0x19eebd(0x1b7)+_0xff82cf[_0x19eebd(0x190)],_0x16e1a1=_0x19eebd(0x16c)+_0xff82cf[_0x19eebd(0x190)],_0x2c2fab=_0x7e8db1[_0x19eebd(0x1c8)][_0x19eebd(0x1f0)][_0x19eebd(0x1da)](_0x5a87b6);_0x7e8db1[_0x19eebd(0x1b6)][_0x19eebd(0x1d3)][_0x19eebd(0x1d2)]?te(_0xff82cf[_0x19eebd(0x190)],_0x184dd8[_0x19eebd(0x18e)][_0x19eebd(0x1ce)](),_0x7e8db1[_0x19eebd(0x1c8)],_0x3d6cea):_0x2c2fab&&(_0x3d6cea[_0x19eebd(0x172)](_0x5a87b6),_0x3d6cea[_0x19eebd(0x172)](_0x16e1a1));});}}function te(_0x3f828,_0xc15578,_0x1a9fcf,_0x110f9c){const _0xd0b27b=_0x5c9657,_0x3d483b=_0xd0b27b(0x1b7)+_0x3f828,_0x4f91d9=_0xd0b27b(0x16c)+_0x3f828,_0xff33c1=_0xc15578[_0xd0b27b(0x1ac)]();let _0x36fe64=_0xc15578[_0xd0b27b(0x1de)];if(_0xff33c1&&_0xff33c1['is'](_0xd0b27b(0x1a1),_0xd0b27b(0x16b))){const _0x626239=function(_0xd788aa,_0x4665fc){const _0x5c34a2=_0xd0b27b;for(const _0xe6eeb5 of _0xd788aa[_0x5c34a2(0x187)]())if(_0x4665fc[_0x5c34a2(0x1c6)][_0x5c34a2(0x1dc)](_0xe6eeb5,_0x5c34a2(0x1ec)))return _0xe6eeb5;}(_0xc15578,_0x1a9fcf);_0x626239&&(_0x36fe64=_0x626239,_0xc15578=_0x110f9c[_0xd0b27b(0x1ca)](_0x36fe64));}const _0x19ae18=_0x110f9c[_0xd0b27b(0x1ca)](_0x36fe64);_0x1a9fcf[_0xd0b27b(0x1f0)][_0xd0b27b(0x1da)](_0x3d483b)?(_0x110f9c[_0xd0b27b(0x1f3)](_0x3d483b,{'range':_0xc15578}),_0x110f9c[_0xd0b27b(0x1f3)](_0x4f91d9,{'range':_0x19ae18})):(_0x110f9c[_0xd0b27b(0x1f4)](_0x3d483b,{'range':_0xc15578,'usingOperation':!0x0}),_0x110f9c[_0xd0b27b(0x1f4)](_0x4f91d9,{'range':_0x19ae18,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x242a67=_0x1089;(function(_0x207625,_0x1f02dd){const _0x23fbe4=_0x1089,_0x416859=_0x207625();while(!![]){try{const _0x1a4db1=-parseInt(_0x23fbe4(0x257))/0x1+parseInt(_0x23fbe4(0x202))/0x2+-parseInt(_0x23fbe4(0x1fe))/0x3+-parseInt(_0x23fbe4(0x23e))/0x4*(parseInt(_0x23fbe4(0x25a))/0x5)+-parseInt(_0x23fbe4(0x261))/0x6*(-parseInt(_0x23fbe4(0x1ef))/0x7)+parseInt(_0x23fbe4(0x21b))/0x8+-parseInt(_0x23fbe4(0x26a))/0x9*(-parseInt(_0x23fbe4(0x222))/0xa);if(_0x1a4db1===_0x1f02dd)break;else _0x416859['push'](_0x416859['shift']());}catch(_0x27af35){_0x416859['push'](_0x416859['shift']());}}}(_0x35c0,0x83f34));import{Plugin as _0x3a8339}from'ckeditor5/src/core.js';import{global as _0x369dcf,DomEmitterMixin as _0x247b85}from'ckeditor5/src/utils.js';import{Sessions as _0x2861b0}from'./sessions.js';import{ModelLiveRange as _0x274a4c}from'ckeditor5/src/engine.js';function _0x1089(_0x2d2c3f,_0x2c073b){const _0x35c0bc=_0x35c0();return _0x1089=function(_0x1089b3,_0x517190){_0x1089b3=_0x1089b3-0x1ea;let _0x506d3f=_0x35c0bc[_0x1089b3];return _0x506d3f;},_0x1089(_0x2d2c3f,_0x2c073b);}import'../../theme/usermarkers.css';function _0x35c0(){const _0xf45db4=['user:position','commands','setAttribute','selection','toRange','spellcheck','editingDowncast','element','rootName','user:position:','createRange','isInline','289656yLIeOM','model','hasDomSelection','5xPwTki','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','remove','set','textContent','change','schema','106278chXaNQ','addMarker','view','afterInit','type','deletionPosition','UserMarkers','getPositions','mouseenter','9wFFHfo','false','isCollapsed','createUIElement','editor','ck-user__marker_hovered','newRange','removeMarker','$text','isDocumentOperation','setCustomProperty','getSelectionClass','isSimilar','_domEmitter','markerNameToElements','tableCell','91WQxCWu','isPremiumPlugin','outerHTML','detach','listenTo','ck-user__marker-tooltip','document','update:user:range','markers','orderNumber','conversion','classList','color','root','init','2641914tyilAj','getStart','destroy','ck-user__marker\x20','1993272DUGUMr','markerRange','user:','parent','Escape','hasContent','getCustomProperty','isLimit','mapper','isOfficialPlugin','add','keydown','createUserMarkerOperations','innerHTML','enqueueChange','contenteditable','checkChild','getMarkerClass','addEventListener','user:range','render','oldRange','pluginName','highest','isObject','1063232mNmAfG','has','for','change:range','split','undo','user:range:','5849720cTDhOR','fromRange','ck-user__selection','nodeAfter','markerName','marker','start','batch','mouseleave','requires','size','getRange','end','toDomElement','stopListening','reconvertMarker','getNearestSelectionRange','updateMarker','plugins','createElement','userPositionMarker','startsWith','name','markerToHighlight','$graveyard','removeClass','getAttribute','applyOperation','936076HMmTQc','mySessionId','data-session-id','_createdBatches','clear','getContainedElement','getFirstRange','delete','get','getUserBySessionId','markerToElement','editing','span'];_0x35c0=function(){return _0xf45db4;};return _0x35c0();}export class UserMarkers extends _0x3a8339{[_0x242a67(0x1ec)]=new(_0x247b85())();static get[_0x242a67(0x22b)](){return[_0x2861b0];}static get[_0x242a67(0x218)](){const _0x175bef=_0x242a67;return _0x175bef(0x267);}static get[_0x242a67(0x20b)](){return!0x0;}static get[_0x242a67(0x1f0)](){return!0x0;}[_0x242a67(0x1fd)](){const _0x140753=_0x242a67,_0x5dde66=this[_0x140753(0x26e)],_0x47ca96=_0x5dde66[_0x140753(0x234)][_0x140753(0x246)](_0x2861b0);_0x5dde66[_0x140753(0x1f9)][_0x140753(0x21d)](_0x140753(0x251))[_0x140753(0x248)]({'model':_0x140753(0x24b),'view':(_0x1b0f9f,{writer:_0x2be567})=>function(_0x889d08,_0xa942e5,_0x1847e1,_0x207b1a){const _0x4ad9bd=_0x140753,_0x39ed8a=_0x889d08[_0x4ad9bd(0x226)][_0x4ad9bd(0x21f)](':')[0x2],_0x1792fb=_0x1847e1[_0x4ad9bd(0x247)](_0x39ed8a);if(!_0x1792fb||_0x39ed8a===_0x1847e1[_0x4ad9bd(0x23f)])return;if(!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)][_0x4ad9bd(0x212)](_0x889d08[_0x4ad9bd(0x203)][_0x4ad9bd(0x228)],_0x4ad9bd(0x272)))return;const _0x5216fe={'class':_0x4ad9bd(0x201)+_0x1792fb[_0x4ad9bd(0x1fb)][_0x4ad9bd(0x213)](),'data-name':_0x1792fb[_0x4ad9bd(0x238)],'data-session-id':_0x39ed8a},_0x386cb8=_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x1f7)][_0x4ad9bd(0x246)](_0x889d08[_0x4ad9bd(0x226)]),_0x546ca1=_0x386cb8[_0x4ad9bd(0x1ff)](),_0x3d12b5=_0x546ca1[_0x4ad9bd(0x225)],_0x15f214=_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)];if(_0x3d12b5&&_0x15f214[_0x4ad9bd(0x21a)](_0x3d12b5)&&_0x15f214[_0x4ad9bd(0x256)](_0x3d12b5)&&!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x1f7)][_0x4ad9bd(0x246)](_0x4ad9bd(0x221)+_0x39ed8a)[_0x4ad9bd(0x22d)]()[_0x4ad9bd(0x26c)])return;const _0x258e1e=_0x546ca1[_0x4ad9bd(0x205)];return _0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)][_0x4ad9bd(0x209)](_0x258e1e)&&!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x207)](_0x258e1e)&&(_0x5216fe[_0x4ad9bd(0x211)]=!0x1),function(_0x161a92,_0x227646,_0x13c075){const _0x11dd1e=_0x4ad9bd,_0x5156d5=_0x161a92[_0x11dd1e(0x26d)](_0x11dd1e(0x24a),_0x227646);return _0x161a92[_0x11dd1e(0x274)](_0x11dd1e(0x236),!0x0,_0x5156d5),_0x5156d5[_0x11dd1e(0x216)]=function(_0x44efe1){const _0x3203d4=_0x11dd1e,_0x8812b6=this[_0x3203d4(0x22f)](_0x44efe1),_0x98e16a=document[_0x3203d4(0x235)](_0x3203d4(0x24a));return _0x98e16a[_0x3203d4(0x1fa)][_0x3203d4(0x20c)](_0x3203d4(0x1f4)),_0x98e16a[_0x3203d4(0x24d)](_0x3203d4(0x211),_0x3203d4(0x26b)),_0x98e16a[_0x3203d4(0x24d)](_0x3203d4(0x250),_0x3203d4(0x26b)),_0x98e16a[_0x3203d4(0x25e)]=_0x13c075[_0x3203d4(0x238)],_0x8812b6[_0x3203d4(0x20f)]=_0x3203d4(0x25b)+_0x98e16a[_0x3203d4(0x1f1)]+'',_0x8812b6[_0x3203d4(0x214)](_0x3203d4(0x269),()=>{const _0x2b88b7=_0x3203d4;_0x8812b6[_0x2b88b7(0x1fa)][_0x2b88b7(0x20c)](_0x2b88b7(0x26f));}),_0x8812b6[_0x3203d4(0x214)](_0x3203d4(0x22a),()=>{const _0x16570a=_0x3203d4;_0x8812b6[_0x16570a(0x1fa)][_0x16570a(0x25c)](_0x16570a(0x26f));}),_0x8812b6;},_0x5156d5[_0x11dd1e(0x1eb)]=function(_0x141623){const _0xa57932=_0x11dd1e;return!(!this[_0xa57932(0x208)](_0xa57932(0x236))||!_0x141623[_0xa57932(0x208)](_0xa57932(0x236))||this[_0xa57932(0x23c)](_0xa57932(0x240))!=_0x141623[_0xa57932(0x23c)](_0xa57932(0x240)));},_0x5156d5;}(_0xa942e5,_0x5216fe,_0x1792fb);}(_0x1b0f9f,_0x2be567,_0x47ca96,_0x5dde66)}),_0x5dde66[_0x140753(0x1f9)][_0x140753(0x21d)](_0x140753(0x251))[_0x140753(0x239)]({'model':_0x140753(0x215),'view':_0x114d9c=>function(_0x2e29a5,_0x57d0fd){const _0x102828=_0x140753,_0x43eb85=_0x2e29a5[_0x102828(0x226)][_0x102828(0x21f)](':')[0x2];if(_0x43eb85===_0x57d0fd[_0x102828(0x23f)])return null;const _0x14b5f=_0x57d0fd[_0x102828(0x247)](_0x43eb85);if(!_0x14b5f)return{'id':_0x43eb85,'classes':[]};return{'id':_0x43eb85,'classes':[_0x102828(0x224),_0x14b5f[_0x102828(0x1fb)][_0x102828(0x1ea)]()],'attributes':{'data-session-id':_0x43eb85},'priority':0x7d0+_0x14b5f[_0x102828(0x1f8)]};}(_0x114d9c,_0x47ca96)}),function(_0x82a571){const _0x189d65=_0x140753,_0x50cc03=_0x82a571[_0x189d65(0x258)],_0xbffce4=new Map(),_0x412541=_0x82a571[_0x189d65(0x234)][_0x189d65(0x246)](_0x2861b0);_0x50cc03[_0x189d65(0x1f7)]['on'](_0x189d65(0x1f6),(_0x35b5b5,_0x5a0a89,_0x491c7,_0x43d909)=>{const _0x4a3c5b=_0x189d65;if(!_0x43d909&&_0xbffce4[_0x4a3c5b(0x246)](_0x5a0a89[_0x4a3c5b(0x238)]))return _0xbffce4[_0x4a3c5b(0x246)](_0x5a0a89[_0x4a3c5b(0x238)])[_0x4a3c5b(0x1f2)](),void _0xbffce4[_0x4a3c5b(0x245)](_0x5a0a89[_0x4a3c5b(0x238)]);const _0x802a0f=_0x5a0a89[_0x4a3c5b(0x238)][_0x4a3c5b(0x21f)](':')[0x2];if(_0x802a0f===_0x412541[_0x4a3c5b(0x23f)])return;const _0x19c938=_0x4a3c5b(0x254)+_0x802a0f;_0x50cc03[_0x4a3c5b(0x1f7)][_0x4a3c5b(0x21c)](_0x19c938)&&_0x82a571[_0x4a3c5b(0x249)][_0x4a3c5b(0x231)](_0x19c938),_0x5a0a89['on'](_0x4a3c5b(0x21e),(_0x12e26b,_0x4d1293,_0x2454d4)=>{const _0x553d7c=_0x4a3c5b;if(_0x553d7c(0x23a)!=_0x4d1293[_0x553d7c(0x1fc)][_0x553d7c(0x253)]&&_0x553d7c(0x23a)==_0x5a0a89[_0x553d7c(0x22d)]()[_0x553d7c(0x1fc)][_0x553d7c(0x253)]&&!_0xbffce4[_0x553d7c(0x21c)](_0x5a0a89[_0x553d7c(0x238)])){const _0x767bda=_0x50cc03[_0x553d7c(0x260)][_0x553d7c(0x232)](_0x2454d4[_0x553d7c(0x266)]);if(_0x767bda){const _0x4d72ea=_0x274a4c[_0x553d7c(0x223)](_0x767bda);_0xbffce4[_0x553d7c(0x25d)](_0x5a0a89[_0x553d7c(0x238)],_0x4d72ea),_0x4d72ea['on'](_0x553d7c(0x21e),(_0x3d0c64,_0x5e4ae9,_0xa195b)=>{const _0x40f50=_0x553d7c;if(_0x40f50(0x23a)==_0x4d72ea[_0x40f50(0x1fc)][_0x40f50(0x253)]){const _0x3a480c=_0x50cc03[_0x40f50(0x260)][_0x40f50(0x232)](_0xa195b[_0x40f50(0x266)]);_0x3a480c?(_0x4d72ea[_0x40f50(0x228)]=_0x3a480c[_0x40f50(0x228)],_0x4d72ea[_0x40f50(0x22e)]=_0x3a480c[_0x40f50(0x22e)]):(_0xbffce4[_0x40f50(0x245)](_0x5a0a89[_0x40f50(0x238)]),_0x4d72ea[_0x40f50(0x1f2)]());}});}}});}),_0x50cc03[_0x189d65(0x1f5)]['on'](_0x189d65(0x25f),()=>{const _0xa2a4da=_0x189d65;_0xbffce4[_0xa2a4da(0x22c)]>0x0&&_0x50cc03[_0xa2a4da(0x210)]({'isUndoable':!0x1},_0x1fec45=>{const _0x1fb66d=_0xa2a4da;for(const [_0x15d68e,_0x51070e]of _0xbffce4)_0x1fb66d(0x23a)==_0x50cc03[_0x1fb66d(0x1f7)][_0x1fb66d(0x246)](_0x15d68e)[_0x1fb66d(0x22d)]()[_0x1fb66d(0x1fc)][_0x1fb66d(0x253)]&&(J(_0x15d68e[_0x1fb66d(0x21f)](':')[0x2],_0x51070e[_0x1fb66d(0x24f)](),_0x50cc03,_0x1fec45),_0x51070e[_0x1fb66d(0x1f2)]());_0xbffce4[_0x1fb66d(0x242)]();});});}(_0x5dde66),this[_0x140753(0x1ec)][_0x140753(0x1f3)](_0x369dcf[_0x140753(0x1f5)],_0x140753(0x20d),(_0x55073c,{key:_0x346e75})=>{const _0x1f34a9=_0x140753;_0x1f34a9(0x206)===_0x346e75&&function(_0x22d3fc){const _0x1030b8=_0x1f34a9;_0x22d3fc[_0x1030b8(0x249)][_0x1030b8(0x263)][_0x1030b8(0x25f)](_0x2041d8=>{const _0x367f45=_0x1030b8;for(const _0x2a32bc of _0x22d3fc[_0x367f45(0x258)][_0x367f45(0x1f7)]){if(!_0x2a32bc[_0x367f45(0x238)][_0x367f45(0x237)](_0x367f45(0x24b)))continue;const _0x49b8cc=_0x22d3fc[_0x367f45(0x249)][_0x367f45(0x20a)][_0x367f45(0x1ed)](_0x2a32bc[_0x367f45(0x238)]);if(_0x49b8cc){for(const _0x111626 of _0x49b8cc)_0x2041d8[_0x367f45(0x23b)](_0x367f45(0x26f),_0x111626);}}});}(_0x5dde66);},{'useCapture':!0x0});}[_0x242a67(0x264)](){const _0x546ef6=_0x242a67,_0x285191=this[_0x546ef6(0x26e)],_0x42b1f3=_0x285191[_0x546ef6(0x24c)][_0x546ef6(0x246)](_0x546ef6(0x220));_0x42b1f3&&_0x285191[_0x546ef6(0x258)]['on'](_0x546ef6(0x23d),(_0xfe5742,_0x2cb30a)=>{const _0x782aa7=_0x546ef6,_0x62e74b=_0x2cb30a[0x0];if(!_0x62e74b[_0x782aa7(0x273)])return;if(_0x782aa7(0x227)!=_0x62e74b[_0x782aa7(0x265)]||!_0x62e74b[_0x782aa7(0x238)][_0x782aa7(0x237)](_0x782aa7(0x204)))return;const _0x544331=_0x62e74b[_0x782aa7(0x229)];_0x42b1f3[_0x782aa7(0x241)][_0x782aa7(0x21c)](_0x544331)&&(_0x62e74b[_0x782aa7(0x270)]=_0x62e74b[_0x782aa7(0x217)]?_0x285191[_0x782aa7(0x258)][_0x782aa7(0x255)](_0x62e74b[_0x782aa7(0x217)][_0x782aa7(0x228)],_0x62e74b[_0x782aa7(0x217)][_0x782aa7(0x22e)]):null);},{'priority':_0x546ef6(0x219)});}[_0x242a67(0x200)](){const _0x3a672f=_0x242a67;return this[_0x3a672f(0x1ec)][_0x3a672f(0x230)](),super[_0x3a672f(0x200)]();}[_0x242a67(0x20e)](){const _0x1a71fb=_0x242a67,_0x2e00e1=this[_0x1a71fb(0x26e)],_0x2dfe0d=_0x2e00e1[_0x1a71fb(0x258)][_0x1a71fb(0x1f5)],_0x41b88c=_0x2e00e1[_0x1a71fb(0x234)][_0x1a71fb(0x246)](_0x2861b0);_0x2e00e1[_0x1a71fb(0x258)][_0x1a71fb(0x210)]({'isUndoable':!0x1},_0x4b63d6=>{const _0x205298=_0x1a71fb,_0x4450f7=_0x205298(0x221)+_0x41b88c[_0x205298(0x23f)],_0x12ccbb=_0x205298(0x254)+_0x41b88c[_0x205298(0x23f)],_0x3169fa=_0x2e00e1[_0x205298(0x258)][_0x205298(0x1f7)][_0x205298(0x21c)](_0x4450f7);_0x2e00e1[_0x205298(0x249)][_0x205298(0x263)][_0x205298(0x259)]?J(_0x41b88c[_0x205298(0x23f)],_0x2dfe0d[_0x205298(0x24e)][_0x205298(0x244)](),_0x2e00e1[_0x205298(0x258)],_0x4b63d6):_0x3169fa&&(_0x4b63d6[_0x205298(0x271)](_0x4450f7),_0x4b63d6[_0x205298(0x271)](_0x12ccbb));});}}function J(_0x11d20b,_0x17de76,_0x4293a1,_0x6136b){const _0x10c3c7=_0x242a67,_0x1c8635=_0x10c3c7(0x221)+_0x11d20b,_0x191115=_0x10c3c7(0x254)+_0x11d20b,_0xa901e8=_0x17de76[_0x10c3c7(0x243)]();let _0x4b22d5=_0x17de76[_0x10c3c7(0x228)];if(_0xa901e8&&_0xa901e8['is'](_0x10c3c7(0x252),_0x10c3c7(0x1ee))){const _0x4259ae=function(_0x180cab,_0x2bdb0a){const _0x59bfc6=_0x10c3c7;for(const _0x1c0fdc of _0x180cab[_0x59bfc6(0x268)]())if(_0x2bdb0a[_0x59bfc6(0x260)][_0x59bfc6(0x212)](_0x1c0fdc,_0x59bfc6(0x272)))return _0x1c0fdc;}(_0x17de76,_0x4293a1);_0x4259ae&&(_0x4b22d5=_0x4259ae,_0x17de76=_0x6136b[_0x10c3c7(0x255)](_0x4b22d5));}const _0x3fbcd4=_0x6136b[_0x10c3c7(0x255)](_0x4b22d5);_0x4293a1[_0x10c3c7(0x1f7)][_0x10c3c7(0x21c)](_0x1c8635)?(_0x6136b[_0x10c3c7(0x233)](_0x1c8635,{'range':_0x17de76}),_0x6136b[_0x10c3c7(0x233)](_0x191115,{'range':_0x3fbcd4})):(_0x6136b[_0x10c3c7(0x262)](_0x1c8635,{'range':_0x17de76,'usingOperation':!0x0}),_0x6136b[_0x10c3c7(0x262)](_0x191115,{'range':_0x3fbcd4,'usingOperation':!0x0}));}
|