@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.0 → 47.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x323d2b=_0x5f5a;function _0x5f5a(_0x5a17ce,_0x5f4fef){const _0x31faec=_0x31fa();return _0x5f5a=function(_0x5f5af5,_0x13745e){_0x5f5af5=_0x5f5af5-0x8a;let _0x19a97e=_0x31faec[_0x5f5af5];return _0x19a97e;},_0x5f5a(_0x5a17ce,_0x5f4fef);}(function(_0x584d80,_0x11fa72){const _0x388f6c=_0x5f5a,_0x46ac92=_0x584d80();while(!![]){try{const _0x1a35ce=parseInt(_0x388f6c(0xac))/0x1*(parseInt(_0x388f6c(0xa3))/0x2)+parseInt(_0x388f6c(0xaf))/0x3*(-parseInt(_0x388f6c(0x9d))/0x4)+parseInt(_0x388f6c(0x8c))/0x5+-parseInt(_0x388f6c(0xa5))/0x6*(-parseInt(_0x388f6c(0x99))/0x7)+-parseInt(_0x388f6c(0x93))/0x8*(parseInt(_0x388f6c(0xb2))/0x9)+parseInt(_0x388f6c(0xa0))/0xa*(parseInt(_0x388f6c(0x96))/0xb)+-parseInt(_0x388f6c(0xa2))/0xc;if(_0x1a35ce===_0x11fa72)break;else _0x46ac92['push'](_0x46ac92['shift']());}catch(_0x49aa60){_0x46ac92['push'](_0x46ac92['shift']());}}}(_0x31fa,0xd0a5b));import{View as _0x1d9c44}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4605eb}from'ckeditor5/src/utils.js';import{getTranslation as _0x3e06ba}from'../../common-translations.js';function _0x31fa(){const _0x358012=['1063396cxgikY','contains','.ck-presence-list__dropdown-list','1670KwRDPJ','hasPopup','8549424ZduzMg','2GKfhAZ','presencelist:hide','4992vbdbsJ','div','items','querySelector','Connected\x20users\x20list','change:hasPopup','isExpanded','374398HlYnHA','fire','set','15epIMep','createCollection','element','353034bPWAKy','removeAttribute','listenTo','6562530DzQJLq','list','ck-presence-list__list','setAttribute','aria-expanded','presencelist:show','render','288IoZJQF','.ck-balloon-panel_with-arrow','keystrokes','80828CmlKjB','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','11732qztcOJ','setTemplate','focus','relatedTarget'];_0x31fa=function(){return _0x358012;};return _0x31fa();}export class PresenceInlineListView extends _0x1d9c44{[_0x323d2b(0xa7)];[_0x323d2b(0x95)];constructor(_0x2c4301){const _0x18bba6=_0x323d2b;super(_0x2c4301);const _0x2c251a=this[_0x18bba6(0x98)];this[_0x18bba6(0xa7)]=this[_0x18bba6(0xb0)](),this[_0x18bba6(0x95)]=new _0x4605eb(),this[_0x18bba6(0xae)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x18bba6(0x9a)]({'tag':_0x18bba6(0xa6),'attributes':{'aria-haspopup':_0x2c251a['if'](_0x18bba6(0xa1)),'aria-expanded':_0x2c251a['to'](_0x18bba6(0xab),_0x511b9f=>this[_0x18bba6(0xa1)]&&String(_0x511b9f)),'aria-label':_0x2c251a['to'](_0x18bba6(0xa1),_0x392609=>_0x3e06ba(_0x2c4301,_0x392609?_0x18bba6(0x97):_0x18bba6(0xa9))),'role':_0x18bba6(0x8d),'tabindex':_0x2c251a['to'](_0x18bba6(0xa1),_0x3c3ec0=>!!_0x3c3ec0&&0x0),'class':['ck',_0x18bba6(0x8e)]},'children':this[_0x18bba6(0xa7)],'on':{'mouseenter':_0x2c251a['to'](()=>this[_0x18bba6(0xad)](_0x18bba6(0x91))),'mouseleave':_0x2c251a['to'](_0x308577=>{const _0x3a9a93=_0x18bba6,_0x204874=_0x308577,_0x2d1fa7=document[_0x3a9a93(0xa8)](_0x3a9a93(0x9f)),_0x306399=document[_0x3a9a93(0xa8)](_0x3a9a93(0x94));_0x2d1fa7?.[_0x3a9a93(0x9e)](_0x204874[_0x3a9a93(0x9c)])||_0x306399?.[_0x3a9a93(0x9e)](_0x204874[_0x3a9a93(0x9c)])||this[_0x3a9a93(0xad)](_0x3a9a93(0xa4));})}}),this['on'](_0x18bba6(0xaa),(_0x917514,_0x5badec,_0x3d5a99)=>{const _0x1c0502=_0x18bba6;this[_0x1c0502(0xb1)]&&(_0x3d5a99?this[_0x1c0502(0xb1)][_0x1c0502(0x8f)](_0x1c0502(0x90),String(this[_0x1c0502(0xab)])):this[_0x1c0502(0xb1)][_0x1c0502(0x8a)](_0x1c0502(0x90)));});}[_0x323d2b(0x9b)](){const _0x21f7e3=_0x323d2b;this[_0x21f7e3(0xb1)][_0x21f7e3(0x9b)]();}[_0x323d2b(0x92)](){const _0x12de8e=_0x323d2b;super[_0x12de8e(0x92)](),this[_0x12de8e(0x95)][_0x12de8e(0x8b)](this[_0x12de8e(0xb1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1996a8=_0x3e61;(function(_0x584d77,_0x4bb8b4){const _0x3780ff=_0x3e61,_0x260e1c=_0x584d77();while(!![]){try{const _0x4f7f72=-parseInt(_0x3780ff(0x148))/0x1+parseInt(_0x3780ff(0x14a))/0x2*(parseInt(_0x3780ff(0x14f))/0x3)+parseInt(_0x3780ff(0x149))/0x4+parseInt(_0x3780ff(0x14e))/0x5*(-parseInt(_0x3780ff(0x13b))/0x6)+parseInt(_0x3780ff(0x154))/0x7+-parseInt(_0x3780ff(0x13c))/0x8+parseInt(_0x3780ff(0x153))/0x9;if(_0x4f7f72===_0x4bb8b4)break;else _0x260e1c['push'](_0x260e1c['shift']());}catch(_0x43c821){_0x260e1c['push'](_0x260e1c['shift']());}}}(_0x4417,0xd5fb3));function _0x3e61(_0x182424,_0x58212c){const _0x4417c0=_0x4417();return _0x3e61=function(_0x3e6182,_0x589a11){_0x3e6182=_0x3e6182-0x13a;let _0x5e53f9=_0x4417c0[_0x3e6182];return _0x5e53f9;},_0x3e61(_0x182424,_0x58212c);}import{View as _0x1cec5a}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x43a14e}from'./presencecounterview.js';function _0x4417(){const _0x444b00=['ck-rounded-corners','first','div','3540LfKssX','16707lxocPe','set','setTemplate','counterView','10209861LdZaBB','10048451TJDmCM','listenTo','items','14286iLMRzt','7108352FucyEN','tooltipPosition','isCollapsed','bind','change','ck-presence-list--collapsed','ck-presence-list','locale','bindTemplate','inlineListView','ck-reset','hasPopup','516830IxWQfu','2071060LaVIqP','316yuOnDS'];_0x4417=function(){return _0x444b00;};return _0x4417();}import{PresenceInlineListView as _0x410909}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x1cec5a{[_0x1996a8(0x152)];[_0x1996a8(0x145)];constructor(_0x45a4cc,_0x3671b6=0x6){const _0x4b2b11=_0x1996a8;super(_0x45a4cc);const _0x552b57=this[_0x4b2b11(0x144)];this[_0x4b2b11(0x150)](_0x4b2b11(0x13e),!0x0),this[_0x4b2b11(0x152)]=new _0x43a14e(this[_0x4b2b11(0x143)],_0x3671b6),this[_0x4b2b11(0x145)]=new _0x410909(_0x45a4cc),this[_0x4b2b11(0x145)][_0x4b2b11(0x13f)](_0x4b2b11(0x147))['to'](this,_0x4b2b11(0x13e)),this[_0x4b2b11(0x155)](this[_0x4b2b11(0x145)][_0x4b2b11(0x13a)],_0x4b2b11(0x140),()=>{const _0x4620c3=_0x4b2b11;for(const _0x310a2b of this[_0x4620c3(0x145)][_0x4620c3(0x13a)])_0x310a2b[_0x4620c3(0x13d)]='s';this[_0x4620c3(0x145)][_0x4620c3(0x13a)][_0x4620c3(0x14c)]&&(this[_0x4620c3(0x145)][_0x4620c3(0x13a)][_0x4620c3(0x14c)][_0x4620c3(0x13d)]='se');}),this[_0x4b2b11(0x151)]({'tag':_0x4b2b11(0x14d),'attributes':{'class':['ck',_0x4b2b11(0x142),_0x4b2b11(0x146),_0x4b2b11(0x14b),_0x552b57['if'](_0x4b2b11(0x13e),_0x4b2b11(0x141))]},'children':[this[_0x4b2b11(0x145)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1981(){var _0xb34d0d=['5807691wKwhpG','1539764dQjqSP','440240fUibSv','1643170XGYdiI','isPremiumPlugin','isOfficialPlugin','PresenceList','2042884qrBEnV','210992NddxMD','pluginName','7ZbZDEi','3wGDUFJ','5610678TuMyFb','requires'];_0x1981=function(){return _0xb34d0d;};return _0x1981();}var _0x22861c=_0x5c20;(function(_0x286e3d,_0x1b84f8){var _0x32524b=_0x5c20,_0x3dc768=_0x286e3d();while(!![]){try{var _0x2e8e64=parseInt(_0x32524b(0x183))/0x1+-parseInt(_0x32524b(0x18a))/0x2+parseInt(_0x32524b(0x186))/0x3*(parseInt(_0x32524b(0x182))/0x4)+parseInt(_0x32524b(0x18c))/0x5+-parseInt(_0x32524b(0x187))/0x6*(-parseInt(_0x32524b(0x185))/0x7)+-parseInt(_0x32524b(0x18b))/0x8+-parseInt(_0x32524b(0x189))/0x9;if(_0x2e8e64===_0x1b84f8)break;else _0x3dc768['push'](_0x3dc768['shift']());}catch(_0x2bb80c){_0x3dc768['push'](_0x3dc768['shift']());}}}(_0x1981,0x7dcb1));function _0x5c20(_0x2c38bb,_0x1dbb4a){var _0x198156=_0x1981();return _0x5c20=function(_0x5c20ac,_0x3826f8){_0x5c20ac=_0x5c20ac-0x180;var _0x1d508f=_0x198156[_0x5c20ac];return _0x1d508f;},_0x5c20(_0x2c38bb,_0x1dbb4a);}import{ContextPlugin as _0x5f0ff3}from'ckeditor5/src/core.js';import{Sessions as _0x49cafc}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x829e79}from'./presencelist/presencelistui.js';export class PresenceList extends _0x5f0ff3{static get[_0x22861c(0x188)](){return[_0x49cafc,_0x829e79];}static get[_0x22861c(0x184)](){var _0x4d7d23=_0x22861c;return _0x4d7d23(0x181);}static get[_0x22861c(0x180)](){return!0x0;}static get[_0x22861c(0x18d)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x545b82)());[_0x3682e9(0xf9)];static get[_0x3682e9(0xf7)](){const _0x2b1da1=_0x3682e9;return[_0x3d1e8a,_0x2b1da1(0xa2),_0x2cfbca,_0x1b2000];}static get[_0x3682e9(0xa5)](){const _0x55579c=_0x3682e9;return _0x55579c(0xd8);}static get[_0x3682e9(0xb6)](){return!0x0;}static get[_0x3682e9(0xde)](){return!0x0;}constructor(_0x1dd31b){const _0x5c9820=_0x3682e9;super(_0x1dd31b),this[_0x5c9820(0xf9)]=new Map();}async[_0x3682e9(0xe6)](){const _0x517e45=_0x3682e9,_0x539373=this[_0x517e45(0xd4)],_0xbb8a02=_0x539373[_0x517e45(0xf6)][_0x517e45(0xc9)](_0x517e45(0xa2));if(_0x539373[_0x517e45(0xf6)][_0x517e45(0xc9)](_0x3d1e8a)[_0x517e45(0xf4)](this),_0xbb8a02[_0x517e45(0xa4)]={'addCommentThread':async({channelId:_0xb75ac7,threadId:_0x4d241a,comments:_0xc5d379,resolvedAt:_0x77529f,resolvedBy:_0x159ce5,context:_0x383639,attributes:_0x440d41})=>{const _0x499166=_0x517e45,_0x3d20d5=await this[_0x499166(0xb0)](_0xb75ac7)[_0x499166(0x9d)]({'commentThreadId':_0x4d241a,'comments':_0xc5d379[_0x499166(0xf2)](_0x11bd18=>function(_0x409e8e,_0x2618ef,_0x53cadc){const _0x265612=_0x499166;return{'commentThreadId':_0x53cadc,'commentId':_0x409e8e[_0x265612(0xa7)],'userId':_0x409e8e[_0x265612(0xa8)],'content':_0x409e8e[_0x265612(0xb9)],'documentId':_0x2618ef,'createdAt':_0x409e8e[_0x265612(0xd6)],'attributes':_0x409e8e[_0x265612(0xbe)]||{}};}(_0x11bd18,_0xb75ac7,_0x4d241a)),'resolvedAt':_0x77529f,'resolvedBy':_0x159ce5,'context':_0x383639,'attributes':_0x440d41})[_0x499166(0xcd)](k);return{'threadId':_0x3d20d5[_0x499166(0xd0)],'comments':_0x3d20d5[_0x499166(0xbb)]};},'getCommentThread':async({channelId:_0x431b11,threadId:_0x1e300a})=>{const _0x1ce607=_0x517e45,_0x41528e=await this[_0x1ce607(0xb0)](_0x431b11)[_0x1ce607(0xf8)](_0x1e300a)[_0x1ce607(0xcd)](F)[_0x1ce607(0xcd)](k);return _0x41528e?_0x41528e[_0x1ce607(0xbc)]?null:(await this[_0x1ce607(0xad)]([_0x41528e]),{'threadId':_0x41528e[_0x1ce607(0xd0)],'comments':_0x41528e[_0x1ce607(0xbb)][_0x1ce607(0xf2)](S),'context':_0x41528e[_0x1ce607(0xd4)],'resolvedAt':_0x41528e[_0x1ce607(0x98)],'resolvedBy':_0x41528e[_0x1ce607(0xa1)],'attributes':_0x41528e[_0x1ce607(0xbe)]||{}}):null;},'updateCommentThread':async({channelId:_0x594c6b,threadId:_0x53c831,context:_0x128bd6,unlinkedAt:_0x25f046,attributes:_0x526229})=>this[_0x517e45(0xb0)](_0x594c6b)[_0x517e45(0xc4)]({'commentThreadId':_0x53c831,'context':_0x128bd6,'attributes':_0x526229,'unlinkedAt':_0x25f046})[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k),'resolveCommentThread':async({channelId:_0x69e098,threadId:_0x2070b0})=>{const _0x434f82=_0x517e45,_0x122882=await this[_0x434f82(0xb0)](_0x69e098)[_0x434f82(0x99)](_0x2070b0)[_0x434f82(0xcd)](F)[_0x434f82(0xcd)](k);return{'threadId':_0x122882[_0x434f82(0xd0)],'resolvedAt':_0x122882[_0x434f82(0x98)],'resolvedBy':_0x122882[_0x434f82(0xa1)]};},'reopenCommentThread':async({channelId:_0x3a32dd,threadId:_0x2fc5e0})=>this[_0x517e45(0xb0)](_0x3a32dd)[_0x517e45(0xed)](_0x2fc5e0)[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k),'removeCommentThread':({channelId:_0x5941ab,threadId:_0x54b4bf})=>this[_0x517e45(0xb0)](_0x5941ab)[_0x517e45(0xbd)](_0x54b4bf)[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k),'addComment':({channelId:_0x1ebc9b,threadId:_0x350078,commentId:_0x342865,content:_0x2067c7,attributes:_0x1a8ceb})=>this[_0x517e45(0xb0)](_0x1ebc9b)[_0x517e45(0xce)](_0x350078,_0x342865,_0x2067c7,_0x1a8ceb)[_0x517e45(0xcd)](k),'updateComment':({channelId:_0x1beeba,threadId:_0x4a0fea,commentId:_0x31c1ea,content:_0x3894c5,attributes:_0x39adbc})=>this[_0x517e45(0xb0)](_0x1beeba)[_0x517e45(0xd7)](_0x4a0fea,_0x31c1ea,_0x3894c5,_0x39adbc)[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k),'removeComment':({channelId:_0x488057,threadId:_0x11efb0,commentId:_0x35b925})=>this[_0x517e45(0xb0)](_0x488057)[_0x517e45(0xe7)](_0x11efb0,_0x35b925)[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k)},_0x539373 instanceof _0x532037){const _0x644a3d=_0x539373[_0x517e45(0xa3)][_0x517e45(0xc9)](_0x517e45(0xe8)),_0x4ec40a=_0x539373[_0x517e45(0xf6)][_0x517e45(0xc9)](_0x2cfbca);await this[_0x517e45(0xba)](_0x644a3d);const _0x5e8f35=await this[_0x517e45(0xf9)][_0x517e45(0xc9)](_0x644a3d)[_0x517e45(0xcf)]();this[_0x517e45(0x9e)](_0x4ec40a,_0x517e45(0xa0)+_0x644a3d,(_0x211264,{session:_0x8ab89e})=>{const _0x31b6cd=_0x517e45;_0x8ab89e['id']===_0x4ec40a[_0x31b6cd(0xb7)]&&(_0x211264[_0x31b6cd(0xc7)](),this[_0x31b6cd(0xd4)][_0x31b6cd(0xf6)][_0x31b6cd(0xc9)](_0x31b6cd(0xea))[_0x31b6cd(0x96)](_0x8ab89e[_0x31b6cd(0xd2)],_0x644a3d));}),_0x4ec40a[_0x517e45(0x9f)](_0x644a3d,_0x5e8f35);}}async[_0x3682e9(0xba)](_0x3442aa){const _0x8b5c67=_0x3682e9;if(this[_0x8b5c67(0xf9)][_0x8b5c67(0xb3)](_0x3442aa))throw new _0xaf916e(_0x8b5c67(0xb4),null,{'channelId':_0x3442aa});const _0x11ebbc=this[_0x8b5c67(0xd4)][_0x8b5c67(0xf6)][_0x8b5c67(0xc9)](_0x8b5c67(0xa2)),_0x30c17f=new CloudServicesCommentsAdapter[(_0x8b5c67(0xc2))](_0x3442aa);this[_0x8b5c67(0xf9)][_0x8b5c67(0x9b)](_0x3442aa,_0x30c17f),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0x9c),(_0x1e8999,_0x1e2de0)=>{const _0x1cac9d=_0x8b5c67,{commentThreadId:_0xdf99a,documentId:_0x127db7,context:_0xeeb907,attributes:_0x5a3524,resolvedAt:_0x2eb139,resolvedBy:_0xec0cc6,comments:_0x144bfc}=_0x1e2de0;_0x11ebbc[_0x1cac9d(0xf8)](_0xdf99a)||_0x11ebbc[_0x1cac9d(0x9d)]({'threadId':_0xdf99a,'channelId':_0x127db7,'comments':_0x144bfc?_0x144bfc[_0x1cac9d(0xf2)](S):[],'context':_0xeeb907,'attributes':_0x5a3524,'resolvedAt':_0x2eb139,'resolvedBy':_0xec0cc6,'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xfc),(_0x31d46c,{commentThreadId:_0xd63ce7,documentId:_0x21746a,context:_0x1845d7,unlinkedAt:_0x5b4173,attributes:_0x12096b})=>{const _0x3461d8=_0x8b5c67;_0x11ebbc[_0x3461d8(0xf8)](_0xd63ce7)&&_0x11ebbc[_0x3461d8(0xc4)]({'threadId':_0xd63ce7,'channelId':_0x21746a,'context':_0x1845d7,'unlinkedAt':_0x5b4173,'attributes':_0x12096b,'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xf3),(_0x30a196,{commentThreadId:_0x22e1db,resolvedBy:_0x41234c,resolvedAt:_0x69a64})=>{const _0x50bcf4=_0x8b5c67,_0x4d3ef3=_0x11ebbc[_0x50bcf4(0xf8)](_0x22e1db);_0x4d3ef3&&_0x4d3ef3[_0x50bcf4(0xec)]({'resolvedBy':_0x41234c,'resolvedAt':_0x69a64,'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xca),(_0x22a40a,{commentThreadId:_0x3fb3cb})=>{const _0x15c896=_0x8b5c67,_0x87ac33=_0x11ebbc[_0x15c896(0xf8)](_0x3fb3cb);_0x87ac33&&_0x87ac33[_0x15c896(0xa6)]({'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xf0),(_0x4a927a,{commentThreadId:_0xfdc930})=>{const _0x163a29=_0x8b5c67,_0x766781=_0x11ebbc[_0x163a29(0xf8)](_0xfdc930);_0x766781&&_0x766781[_0x163a29(0xee)]({'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xfb),(_0x2520b5,_0x2ba876)=>{const _0x2c5190=_0x8b5c67,_0x251968=_0x2ba876[_0x2c5190(0xd0)],_0x3dca07=_0x11ebbc[_0x2c5190(0xf8)](_0x251968);_0x3dca07&&_0x3dca07[_0x2c5190(0xce)]({...S(_0x2ba876),'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xaf),(_0x21a74d,{commentThreadId:_0x62b181,commentId:_0x10d99c,content:_0x1a6fb3,attributes:_0x311447})=>{const _0x452f56=_0x8b5c67,_0x3d8113=_0x11ebbc[_0x452f56(0xf8)](_0x62b181);if(_0x3d8113){const _0x4bd60a=_0x3d8113[_0x452f56(0xe3)](_0x10d99c);_0x4bd60a&&_0x4bd60a[_0x452f56(0xfa)]({'content':_0x1a6fb3,'attributes':_0x311447,'isFromAdapter':!0x0});}}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xc5),(_0x13a099,{commentThreadId:_0x914be2,commentId:_0x44f6b9})=>{const _0x5dc31d=_0x8b5c67,_0x409418=_0x11ebbc[_0x5dc31d(0xf8)](_0x914be2);if(_0x409418){const _0xcce6f7=_0x409418[_0x5dc31d(0xe3)](_0x44f6b9);_0xcce6f7&&_0xcce6f7[_0x5dc31d(0xee)]({'isFromAdapter':!0x0});}}),await this[_0x8b5c67(0xef)](_0x3442aa);}[_0x3682e9(0xeb)](){const _0xefe7ce=_0x3682e9;if(this[_0xefe7ce(0xd4)]instanceof _0x532037){const _0x1e6697=this[_0xefe7ce(0xd4)][_0xefe7ce(0xa3)][_0xefe7ce(0xc9)](_0xefe7ce(0xe8));this[_0xefe7ce(0xf5)](_0x1e6697);}}[_0x3682e9(0xf5)](_0x42a11b){const _0x372c45=_0x3682e9;if(!this[_0x372c45(0xf9)][_0x372c45(0xb3)](_0x42a11b))throw new _0xaf916e(_0x372c45(0xdb),null,{'channelId':_0x42a11b});this[_0x372c45(0xb0)](_0x42a11b)[_0x372c45(0xb2)](),this[_0x372c45(0xf9)][_0x372c45(0xb1)](_0x42a11b);}async[_0x3682e9(0xac)](){const _0x1dd670=_0x3682e9;for(const _0x1923f5 of this[_0x1dd670(0xf9)][_0x1dd670(0xcb)]())await this[_0x1dd670(0xef)](_0x1923f5);if(this[_0x1dd670(0xd4)]instanceof _0x532037){const _0x11515e=this[_0x1dd670(0xd4)][_0x1dd670(0xa3)][_0x1dd670(0xc9)](_0x1dd670(0xe8)),_0x289fe0=this[_0x1dd670(0xd4)][_0x1dd670(0xf6)][_0x1dd670(0xc9)](_0x2cfbca);_0x289fe0[_0x1dd670(0xe4)](_0x11515e);const _0x5b8ffd=await this[_0x1dd670(0xf9)][_0x1dd670(0xc9)](_0x11515e)[_0x1dd670(0xcf)]();_0x289fe0[_0x1dd670(0x9f)](_0x11515e,_0x5b8ffd);}}async[_0x3682e9(0xef)](_0x596d22){const _0x22ad27=_0x3682e9,{connection:_0x4e6d9f}=this[_0x22ad27(0xd4)][_0x22ad27(0xf6)][_0x22ad27(0xc9)](_0x3d1e8a),_0x40d990=this[_0x22ad27(0xd4)][_0x22ad27(0xf6)][_0x22ad27(0xc9)](_0x22ad27(0xa2)),_0x1c9465=this[_0x22ad27(0xf9)][_0x22ad27(0xc9)](_0x596d22),_0x2f9b29=await _0x1c9465[_0x22ad27(0xa9)](_0x4e6d9f);await this[_0x22ad27(0xad)](_0x2f9b29);const _0x232a97=new Set(Array[_0x22ad27(0xb5)](_0x40d990[_0x22ad27(0x9a)]({'channelId':_0x596d22}),_0x15f8da=>_0x15f8da['id']));for(const _0xe763b2 of _0x2f9b29)_0xe763b2[_0x22ad27(0xbc)]||_0x232a97[_0x22ad27(0xb1)](_0xe763b2[_0x22ad27(0xd0)]);for(const _0x52cdcc of _0x232a97)_0x40d990[_0x22ad27(0xf8)](_0x52cdcc)[_0x22ad27(0xee)]({'isFromAdapter':!0x0});for(const _0xd451c6 of _0x2f9b29){let _0x50c48d=_0x40d990[_0x22ad27(0xf8)](_0xd451c6[_0x22ad27(0xd0)]);const {commentThreadId:_0x2af3e3,context:_0x41987e,attributes:_0x21f26d,resolvedBy:_0x10ce5f,resolvedAt:_0x16c788,unlinkedAt:_0x105fb2,deletedAt:_0xd590fa}=_0xd451c6;if(_0xd590fa)continue;_0x50c48d||(_0x50c48d=_0x40d990[_0x22ad27(0x9d)]({'channelId':_0x596d22,'threadId':_0x2af3e3,'context':_0x41987e,'attributes':_0x21f26d||{},'resolvedBy':_0x10ce5f,'resolvedAt':_0x16c788,'unlinkedAt':_0x105fb2,'isFromAdapter':!0x0}));const _0x396a2a=new Set(Array[_0x22ad27(0xb5)](_0x50c48d[_0x22ad27(0xbb)],_0x7a333e=>_0x7a333e['id']));for(const _0xb4b633 of _0xd451c6[_0x22ad27(0xbb)])_0x396a2a[_0x22ad27(0xb1)](_0xb4b633[_0x22ad27(0xa7)]);for(const _0x29e5f6 of _0x396a2a)_0x50c48d[_0x22ad27(0xe3)](_0x29e5f6)[_0x22ad27(0xee)]({'isFromAdapter':!0x0});for(const _0xa86727 of _0xd451c6[_0x22ad27(0xbb)]){const _0x1c6ff7=_0x50c48d[_0x22ad27(0xe3)](_0xa86727[_0x22ad27(0xa7)]);_0x1c6ff7?_0x1c6ff7[_0x22ad27(0xb9)]!==_0xa86727[_0x22ad27(0xb9)]&&_0x1c6ff7[_0x22ad27(0xfa)]({'content':_0xa86727[_0x22ad27(0xb9)],'isFromAdapter':!0x0}):_0x50c48d[_0x22ad27(0xce)](Object[_0x22ad27(0xe1)](S(_0xa86727),{'isFromAdapter':!0x0}));}}}[_0x3682e9(0xb0)](_0xe842f2){const _0x277934=_0x3682e9;if(!this[_0x277934(0xf9)][_0x277934(0xb3)](_0xe842f2))throw new _0xaf916e(_0x277934(0xab),null,{'channelId':_0xe842f2});return this[_0x277934(0xf9)][_0x277934(0xc9)](_0xe842f2);}async[_0x3682e9(0xad)](_0x5b8c4a){const _0x412d33=_0x3682e9,_0x55519d=this[_0x412d33(0xd4)][_0x412d33(0xf6)][_0x412d33(0xc9)](_0x1b2000),{connection:_0x866980}=this[_0x412d33(0xd4)][_0x412d33(0xf6)][_0x412d33(0xc9)](_0x3d1e8a),_0x54430f=new Set();for(const {resolvedBy:_0x5b9be7,comments:_0xbc3c86}of _0x5b8c4a){_0x5b9be7&&!_0x55519d[_0x412d33(0xe9)](_0x5b9be7)&&_0x54430f[_0x412d33(0x97)](_0x5b9be7);for(const {userId:_0x4a07da}of _0xbc3c86)_0x55519d[_0x412d33(0xe9)](_0x4a07da)||_0x54430f[_0x412d33(0x97)](_0x4a07da);}if(0x0===_0x54430f[_0x412d33(0xc8)])return;const _0x167d5a=await _0x1772ce[_0x412d33(0xd5)](_0x866980,Array[_0x412d33(0xb5)](_0x54430f));for(const _0x5a59fe of _0x167d5a)_0x55519d[_0x412d33(0xe9)](_0x5a59fe['id'])||_0x55519d[_0x412d33(0xc6)](_0x5a59fe);}}function _0x1243(){const _0x427417=['28035XoeHVT','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','message','isPremiumPlugin','code','startsWith','assign','1290GJMAou','getComment','unregister','404','init','removeComment','collaboration.channelId','getUser','Permissions','destroy','resolve','reopenCommentThread','remove','_connectService','commentThreadRemoved','8YMVtop','map','commentThreadResolved','addToReconnectionStack','_terminateService','plugins','requires','getCommentThread','_services','update','commentAdded','commentThreadUpdated','49RjHZoE','setPermissions','add','resolvedAt','resolveCommentThread','getCommentThreads','set','commentThreadAdded','addCommentThread','listenTo','register','sessionAdd:','resolvedBy','CommentsRepository','config','adapter','pluginName','reopen','commentId','authorId','connect','3PQLrhc','cloudservicescommentsadapter-service-not-exist','reconnect','_fetchMissingUsersForThreads','700599zvtBqM','commentUpdated','_getService','delete','disconnect','has','cloudservicescommentsadapter-connect-already-connected','from','isOfficialPlugin','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','content','_setUpService','comments','deletedAt','removeCommentThread','attributes','cloud-services-internal-error:\x20Not\x20connected.','956028lIIvlP','592645izHRmZ','CommentsService','11MAZcCl','updateCommentThread','commentRemoved','addUser','off','size','get','commentThreadReopened','keys','151552VhQipx','catch','addComment','getConnectedSessions','commentThreadId','179418FhReHu','permissions','userId','context','getMany','createdAt','updateComment','CloudServicesCommentsAdapter','804184tIkVVB'];_0x1243=function(){return _0x427417;};return _0x1243();}function _0x4338(_0x2cca5d,_0x3f72e7){const _0x1243fb=_0x1243();return _0x4338=function(_0x43380a,_0x35b37b){_0x43380a=_0x43380a-0x95;let _0x167c9a=_0x1243fb[_0x43380a];return _0x167c9a;},_0x4338(_0x2cca5d,_0x3f72e7);}async function F(_0x2a648f){const _0x172db9=_0x3682e9;if(_0x172db9(0xe5)!==_0x2a648f[_0x172db9(0xdf)])throw _0x2a648f;}function k(_0x3cdee8){const _0x2cd2f7=_0x3682e9;if((_0x241f0d=_0x3cdee8)[_0x2cd2f7(0xdd)][_0x2cd2f7(0xe0)](_0x2cd2f7(0xb8))||_0x241f0d[_0x2cd2f7(0xdd)][_0x2cd2f7(0xe0)](_0x2cd2f7(0xbf))||_0x241f0d[_0x2cd2f7(0xdd)][_0x2cd2f7(0xe0)](_0x2cd2f7(0xdc)))return new Promise(()=>{});var _0x241f0d;throw _0x3cdee8;}function S(_0x19ec28){const _0x545955=_0x3682e9;return{'threadId':_0x19ec28[_0x545955(0xd0)],'commentId':_0x19ec28[_0x545955(0xa7)],'content':_0x19ec28[_0x545955(0xb9)],'createdAt':_0x19ec28[_0x545955(0xd6)],'authorId':_0x19ec28[_0x545955(0xd3)],'attributes':_0x19ec28[_0x545955(0xbe)]||{}};}
|
|
23
|
+
const _0xf9d0e5=_0x5afd;(function(_0x46dee5,_0x5cafa9){const _0x374dc9=_0x5afd,_0x41224f=_0x46dee5();while(!![]){try{const _0x3adaf9=-parseInt(_0x374dc9(0x164))/0x1+parseInt(_0x374dc9(0x181))/0x2*(parseInt(_0x374dc9(0x168))/0x3)+parseInt(_0x374dc9(0x189))/0x4*(-parseInt(_0x374dc9(0x1a0))/0x5)+-parseInt(_0x374dc9(0x16c))/0x6*(parseInt(_0x374dc9(0x160))/0x7)+parseInt(_0x374dc9(0x19b))/0x8+parseInt(_0x374dc9(0x165))/0x9+parseInt(_0x374dc9(0x1b0))/0xa*(-parseInt(_0x374dc9(0x17e))/0xb);if(_0x3adaf9===_0x5cafa9)break;else _0x41224f['push'](_0x41224f['shift']());}catch(_0x71e72c){_0x41224f['push'](_0x41224f['shift']());}}}(_0x4fec,0x56ed9));import{Context as _0x56a5f6,ContextPlugin as _0x36689d}from'ckeditor5/src/core.js';function _0x5afd(_0x181db8,_0x3121de){const _0x4fec77=_0x4fec();return _0x5afd=function(_0x5afd0d,_0x37d828){_0x5afd0d=_0x5afd0d-0x15e;let _0x139162=_0x4fec77[_0x5afd0d];return _0x139162;},_0x5afd(_0x181db8,_0x3121de);}import{CKEditorError as _0x3dc946}from'ckeditor5/src/utils.js';import{Users as _0x570067}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1e6b7c,User as _0x1d157e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4fec(){const _0x3835cc=['resolve','setPermissions','2420PHkCTr','catch','createdAt','2jDcXjJ','getComment','content','register','permissions','addUser','cloudservicescommentsadapter-service-not-exist','add','4omxvyC','resolvedAt','404','updateCommentThread','get','getConnectedSessions','cloudservicescommentsadapter-connect-already-connected','message','authorId','CommentsService','addToReconnectionStack','delete','off','_connectService','getCommentThread','getMany','from','resolveCommentThread','5295280iXfivW','_setUpService','removeComment','update','reconnect','1788035OKwSVX','commentRemoved','addComment','startsWith','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','commentThreadUpdated','mySessionId','userId','attributes','has','reopen','destroy','_getService','isPremiumPlugin','connect','34070JtmuwO','requires','map','config','commentThreadAdded','collaboration.channelId','assign','sessionAdd:','code','CommentsRepository','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','removeCommentThread','addCommentThread','adapter','plugins','commentThreadResolved','context','commentThreadId','getCommentThreads','commentUpdated','remove','reopenCommentThread','cloudservicescommentsadapter-disconnect-not-exist','372687aEpWnq','listenTo','getUser','updateComment','251288UZPSWW','4914927bPTyCk','commentThreadReopened','disconnect','1998606dqelRS','resolvedBy','size','Permissions','18BDwDst','cloud-services-internal-error:\x20Not\x20connected.','comments','commentId','_services','CloudServicesCommentsAdapter','commentAdded','isOfficialPlugin','deletedAt','set','init','keys','commentThreadRemoved','_fetchMissingUsersForThreads','_terminateService','unregister'];_0x4fec=function(){return _0x3835cc;};return _0x4fec();}import{WebSocketGateway as _0x1b0dd8}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2af42e}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x36689d{static [_0xf9d0e5(0x192)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1e6b7c)());[_0xf9d0e5(0x170)];static get[_0xf9d0e5(0x1b1)](){const _0x4bb2f2=_0xf9d0e5;return[_0x1b0dd8,_0x4bb2f2(0x1b9),_0x2af42e,_0x570067];}static get[_0xf9d0e5(0x1a5)](){const _0x23a684=_0xf9d0e5;return _0x23a684(0x171);}static get[_0xf9d0e5(0x173)](){return!0x0;}static get[_0xf9d0e5(0x1ae)](){return!0x0;}constructor(_0x4ff9c5){const _0x423636=_0xf9d0e5;super(_0x4ff9c5),this[_0x423636(0x170)]=new Map();}async[_0xf9d0e5(0x176)](){const _0x2b23ac=_0xf9d0e5,_0x1deeec=this[_0x2b23ac(0x1c0)],_0x5d27a8=_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x2b23ac(0x1b9));if(_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x1b0dd8)[_0x2b23ac(0x193)](this),_0x5d27a8[_0x2b23ac(0x1bd)]={'addCommentThread':async({channelId:_0x46e4c3,threadId:_0x36c082,comments:_0x28cf95,resolvedAt:_0x841fbe,resolvedBy:_0x38019d,context:_0x57333c,attributes:_0x39aee1})=>{const _0x3c8869=_0x2b23ac,_0x4e2436=await this[_0x3c8869(0x1ad)](_0x46e4c3)[_0x3c8869(0x1bc)]({'commentThreadId':_0x36c082,'comments':_0x28cf95[_0x3c8869(0x1b2)](_0x4e27aa=>function(_0x1a06ff,_0x22b4b2,_0x223d0c){const _0x2055dd=_0x3c8869;return{'commentThreadId':_0x223d0c,'commentId':_0x1a06ff[_0x2055dd(0x16f)],'userId':_0x1a06ff[_0x2055dd(0x191)],'content':_0x1a06ff[_0x2055dd(0x183)],'documentId':_0x22b4b2,'createdAt':_0x1a06ff[_0x2055dd(0x180)],'attributes':_0x1a06ff[_0x2055dd(0x1a9)]||{}};}(_0x4e27aa,_0x46e4c3,_0x36c082)),'resolvedAt':_0x841fbe,'resolvedBy':_0x38019d,'context':_0x57333c,'attributes':_0x39aee1})[_0x3c8869(0x17f)](A);return{'threadId':_0x4e2436[_0x3c8869(0x1c1)],'comments':_0x4e2436[_0x3c8869(0x16e)]};},'getCommentThread':async({channelId:_0x345679,threadId:_0x587ea3})=>{const _0x2e1f48=_0x2b23ac,_0x8a0a4b=await this[_0x2e1f48(0x1ad)](_0x345679)[_0x2e1f48(0x197)](_0x587ea3)[_0x2e1f48(0x17f)](f)[_0x2e1f48(0x17f)](A);return _0x8a0a4b?_0x8a0a4b[_0x2e1f48(0x174)]?null:(await this[_0x2e1f48(0x179)]([_0x8a0a4b]),{'threadId':_0x8a0a4b[_0x2e1f48(0x1c1)],'comments':_0x8a0a4b[_0x2e1f48(0x16e)][_0x2e1f48(0x1b2)](p),'context':_0x8a0a4b[_0x2e1f48(0x1c0)],'resolvedAt':_0x8a0a4b[_0x2e1f48(0x18a)],'resolvedBy':_0x8a0a4b[_0x2e1f48(0x169)],'attributes':_0x8a0a4b[_0x2e1f48(0x1a9)]||{}}):null;},'updateCommentThread':async({channelId:_0x52d376,threadId:_0x36a882,context:_0x15e1a7,unlinkedAt:_0x577f47,attributes:_0x41b933})=>this[_0x2b23ac(0x1ad)](_0x52d376)[_0x2b23ac(0x18c)]({'commentThreadId':_0x36a882,'context':_0x15e1a7,'attributes':_0x41b933,'unlinkedAt':_0x577f47})[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'resolveCommentThread':async({channelId:_0x26c409,threadId:_0x7f7e1a})=>{const _0x24599f=_0x2b23ac,_0x8cfac4=await this[_0x24599f(0x1ad)](_0x26c409)[_0x24599f(0x19a)](_0x7f7e1a)[_0x24599f(0x17f)](f)[_0x24599f(0x17f)](A);return{'threadId':_0x8cfac4[_0x24599f(0x1c1)],'resolvedAt':_0x8cfac4[_0x24599f(0x18a)],'resolvedBy':_0x8cfac4[_0x24599f(0x169)]};},'reopenCommentThread':async({channelId:_0x3c56a2,threadId:_0x427ebc})=>this[_0x2b23ac(0x1ad)](_0x3c56a2)[_0x2b23ac(0x15e)](_0x427ebc)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'removeCommentThread':({channelId:_0x2f6289,threadId:_0x1d285f})=>this[_0x2b23ac(0x1ad)](_0x2f6289)[_0x2b23ac(0x1bb)](_0x1d285f)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'addComment':({channelId:_0x4bd6d1,threadId:_0xa46c70,commentId:_0x2f97b4,content:_0x446db2,attributes:_0x1d2a24})=>this[_0x2b23ac(0x1ad)](_0x4bd6d1)[_0x2b23ac(0x1a2)](_0xa46c70,_0x2f97b4,_0x446db2,_0x1d2a24)[_0x2b23ac(0x17f)](A),'updateComment':({channelId:_0x538877,threadId:_0xbac6b8,commentId:_0x32c9b5,content:_0x31ff70,attributes:_0x432757})=>this[_0x2b23ac(0x1ad)](_0x538877)[_0x2b23ac(0x163)](_0xbac6b8,_0x32c9b5,_0x31ff70,_0x432757)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'removeComment':({channelId:_0x5d309a,threadId:_0x260668,commentId:_0x42a6be})=>this[_0x2b23ac(0x1ad)](_0x5d309a)[_0x2b23ac(0x19d)](_0x260668,_0x42a6be)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A)},_0x1deeec instanceof _0x56a5f6){const _0x50aede=_0x1deeec[_0x2b23ac(0x1b3)][_0x2b23ac(0x18d)](_0x2b23ac(0x1b5)),_0x5c465a=_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x2af42e);await this[_0x2b23ac(0x19c)](_0x50aede);const _0x4723df=await this[_0x2b23ac(0x170)][_0x2b23ac(0x18d)](_0x50aede)[_0x2b23ac(0x18e)]();this[_0x2b23ac(0x161)](_0x5c465a,_0x2b23ac(0x1b7)+_0x50aede,(_0x150418,{session:_0x5919f4})=>{const _0x3780af=_0x2b23ac;_0x5919f4['id']===_0x5c465a[_0x3780af(0x1a7)]&&(_0x150418[_0x3780af(0x195)](),this[_0x3780af(0x1c0)][_0x3780af(0x1be)][_0x3780af(0x18d)](_0x3780af(0x16b))[_0x3780af(0x17d)](_0x5919f4[_0x3780af(0x185)],_0x50aede));}),_0x5c465a[_0x2b23ac(0x184)](_0x50aede,_0x4723df);}}async[_0xf9d0e5(0x19c)](_0x3eb877){const _0xdb8a27=_0xf9d0e5;if(this[_0xdb8a27(0x170)][_0xdb8a27(0x1aa)](_0x3eb877))throw new _0x3dc946(_0xdb8a27(0x18f),null,{'channelId':_0x3eb877});const _0x464428=this[_0xdb8a27(0x1c0)][_0xdb8a27(0x1be)][_0xdb8a27(0x18d)](_0xdb8a27(0x1b9)),_0x5e9d9c=new CloudServicesCommentsAdapter[(_0xdb8a27(0x192))](_0x3eb877);this[_0xdb8a27(0x170)][_0xdb8a27(0x175)](_0x3eb877,_0x5e9d9c),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1b4),(_0x34dd82,_0x251550)=>{const _0x3f8be9=_0xdb8a27,{commentThreadId:_0x3d47ca,documentId:_0x376813,context:_0x33bddb,attributes:_0x5865cd,resolvedAt:_0x3ff5d1,resolvedBy:_0x2103e9,comments:_0x1f25ae}=_0x251550;_0x464428[_0x3f8be9(0x197)](_0x3d47ca)||_0x464428[_0x3f8be9(0x1bc)]({'threadId':_0x3d47ca,'channelId':_0x376813,'comments':_0x1f25ae?_0x1f25ae[_0x3f8be9(0x1b2)](p):[],'context':_0x33bddb,'attributes':_0x5865cd,'resolvedAt':_0x3ff5d1,'resolvedBy':_0x2103e9,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1a6),(_0x4e757b,{commentThreadId:_0x106064,documentId:_0x1a9c09,context:_0x34503d,unlinkedAt:_0x528f13,attributes:_0x39beac})=>{const _0x17e1b3=_0xdb8a27;_0x464428[_0x17e1b3(0x197)](_0x106064)&&_0x464428[_0x17e1b3(0x18c)]({'threadId':_0x106064,'channelId':_0x1a9c09,'context':_0x34503d,'unlinkedAt':_0x528f13,'attributes':_0x39beac,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1bf),(_0x3cc5de,{commentThreadId:_0x561072,resolvedBy:_0x1f064a,resolvedAt:_0x2190aa})=>{const _0x5996c4=_0xdb8a27,_0x3958e6=_0x464428[_0x5996c4(0x197)](_0x561072);_0x3958e6&&_0x3958e6[_0x5996c4(0x17c)]({'resolvedBy':_0x1f064a,'resolvedAt':_0x2190aa,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x166),(_0x20733d,{commentThreadId:_0x4801f8})=>{const _0x26429e=_0xdb8a27,_0x37264a=_0x464428[_0x26429e(0x197)](_0x4801f8);_0x37264a&&_0x37264a[_0x26429e(0x1ab)]({'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x178),(_0x387dca,{commentThreadId:_0x1f92e4})=>{const _0x50d4c4=_0xdb8a27,_0xb30ef0=_0x464428[_0x50d4c4(0x197)](_0x1f92e4);_0xb30ef0&&_0xb30ef0[_0x50d4c4(0x1c4)]({'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x172),(_0x11144d,_0xc73182)=>{const _0x5649eb=_0xdb8a27,_0x157f67=_0xc73182[_0x5649eb(0x1c1)],_0x3668e6=_0x464428[_0x5649eb(0x197)](_0x157f67);_0x3668e6&&_0x3668e6[_0x5649eb(0x1a2)]({...p(_0xc73182),'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1c3),(_0x46d25c,{commentThreadId:_0x30c5d4,commentId:_0x39c5da,content:_0x1c12ab,attributes:_0x3ec447})=>{const _0x11861a=_0xdb8a27,_0x8cbcd2=_0x464428[_0x11861a(0x197)](_0x30c5d4);if(_0x8cbcd2){const _0x28e2b5=_0x8cbcd2[_0x11861a(0x182)](_0x39c5da);_0x28e2b5&&_0x28e2b5[_0x11861a(0x19e)]({'content':_0x1c12ab,'attributes':_0x3ec447,'isFromAdapter':!0x0});}}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1a1),(_0x293fe5,{commentThreadId:_0x34f28f,commentId:_0x4f2175})=>{const _0x2299c5=_0xdb8a27,_0x8128c=_0x464428[_0x2299c5(0x197)](_0x34f28f);if(_0x8128c){const _0x34c967=_0x8128c[_0x2299c5(0x182)](_0x4f2175);_0x34c967&&_0x34c967[_0x2299c5(0x1c4)]({'isFromAdapter':!0x0});}}),await this[_0xdb8a27(0x196)](_0x3eb877);}[_0xf9d0e5(0x1ac)](){const _0x206696=_0xf9d0e5;if(this[_0x206696(0x1c0)]instanceof _0x56a5f6){const _0x45fbb8=this[_0x206696(0x1c0)][_0x206696(0x1b3)][_0x206696(0x18d)](_0x206696(0x1b5));this[_0x206696(0x17a)](_0x45fbb8);}}[_0xf9d0e5(0x17a)](_0x403e63){const _0x201c60=_0xf9d0e5;if(!this[_0x201c60(0x170)][_0x201c60(0x1aa)](_0x403e63))throw new _0x3dc946(_0x201c60(0x15f),null,{'channelId':_0x403e63});this[_0x201c60(0x1ad)](_0x403e63)[_0x201c60(0x167)](),this[_0x201c60(0x170)][_0x201c60(0x194)](_0x403e63);}async[_0xf9d0e5(0x19f)](){const _0x5a77c5=_0xf9d0e5;for(const _0x49e4b9 of this[_0x5a77c5(0x170)][_0x5a77c5(0x177)]())await this[_0x5a77c5(0x196)](_0x49e4b9);if(this[_0x5a77c5(0x1c0)]instanceof _0x56a5f6){const _0x1b718=this[_0x5a77c5(0x1c0)][_0x5a77c5(0x1b3)][_0x5a77c5(0x18d)](_0x5a77c5(0x1b5)),_0x2a1848=this[_0x5a77c5(0x1c0)][_0x5a77c5(0x1be)][_0x5a77c5(0x18d)](_0x2af42e);_0x2a1848[_0x5a77c5(0x17b)](_0x1b718);const _0x872f5d=await this[_0x5a77c5(0x170)][_0x5a77c5(0x18d)](_0x1b718)[_0x5a77c5(0x18e)]();_0x2a1848[_0x5a77c5(0x184)](_0x1b718,_0x872f5d);}}async[_0xf9d0e5(0x196)](_0x20d98a){const _0x21bdee=_0xf9d0e5,{connection:_0x23b7ac}=this[_0x21bdee(0x1c0)][_0x21bdee(0x1be)][_0x21bdee(0x18d)](_0x1b0dd8),_0x1f2ab=this[_0x21bdee(0x1c0)][_0x21bdee(0x1be)][_0x21bdee(0x18d)](_0x21bdee(0x1b9)),_0x5b1127=this[_0x21bdee(0x170)][_0x21bdee(0x18d)](_0x20d98a),_0x3bfdde=await _0x5b1127[_0x21bdee(0x1af)](_0x23b7ac);await this[_0x21bdee(0x179)](_0x3bfdde);const _0x528219=new Set(Array[_0x21bdee(0x199)](_0x1f2ab[_0x21bdee(0x1c2)]({'channelId':_0x20d98a}),_0x412e18=>_0x412e18['id']));for(const _0x28d4b5 of _0x3bfdde)_0x28d4b5[_0x21bdee(0x174)]||_0x528219[_0x21bdee(0x194)](_0x28d4b5[_0x21bdee(0x1c1)]);for(const _0x2bca08 of _0x528219)_0x1f2ab[_0x21bdee(0x197)](_0x2bca08)[_0x21bdee(0x1c4)]({'isFromAdapter':!0x0});for(const _0x2f06d7 of _0x3bfdde){let _0x38c515=_0x1f2ab[_0x21bdee(0x197)](_0x2f06d7[_0x21bdee(0x1c1)]);const {commentThreadId:_0x10e589,context:_0x417c2f,attributes:_0x1c2d4b,resolvedBy:_0x1fc1cd,resolvedAt:_0xc25efb,unlinkedAt:_0x6d8bec,deletedAt:_0x2e0d14}=_0x2f06d7;if(_0x2e0d14)continue;_0x38c515||(_0x38c515=_0x1f2ab[_0x21bdee(0x1bc)]({'channelId':_0x20d98a,'threadId':_0x10e589,'context':_0x417c2f,'attributes':_0x1c2d4b||{},'resolvedBy':_0x1fc1cd,'resolvedAt':_0xc25efb,'unlinkedAt':_0x6d8bec,'isFromAdapter':!0x0}));const _0x2f86bf=new Set(Array[_0x21bdee(0x199)](_0x38c515[_0x21bdee(0x16e)],_0x2dbfad=>_0x2dbfad['id']));for(const _0x6c392c of _0x2f06d7[_0x21bdee(0x16e)])_0x2f86bf[_0x21bdee(0x194)](_0x6c392c[_0x21bdee(0x16f)]);for(const _0x380451 of _0x2f86bf)_0x38c515[_0x21bdee(0x182)](_0x380451)[_0x21bdee(0x1c4)]({'isFromAdapter':!0x0});for(const _0x34b6fa of _0x2f06d7[_0x21bdee(0x16e)]){const _0x2fffc7=_0x38c515[_0x21bdee(0x182)](_0x34b6fa[_0x21bdee(0x16f)]);_0x2fffc7?_0x2fffc7[_0x21bdee(0x183)]!==_0x34b6fa[_0x21bdee(0x183)]&&_0x2fffc7[_0x21bdee(0x19e)]({'content':_0x34b6fa[_0x21bdee(0x183)],'isFromAdapter':!0x0}):_0x38c515[_0x21bdee(0x1a2)](Object[_0x21bdee(0x1b6)](p(_0x34b6fa),{'isFromAdapter':!0x0}));}}}[_0xf9d0e5(0x1ad)](_0x21418b){const _0x540c82=_0xf9d0e5;if(!this[_0x540c82(0x170)][_0x540c82(0x1aa)](_0x21418b))throw new _0x3dc946(_0x540c82(0x187),null,{'channelId':_0x21418b});return this[_0x540c82(0x170)][_0x540c82(0x18d)](_0x21418b);}async[_0xf9d0e5(0x179)](_0x2b631f){const _0x4e5f31=_0xf9d0e5,_0x347e82=this[_0x4e5f31(0x1c0)][_0x4e5f31(0x1be)][_0x4e5f31(0x18d)](_0x570067),{connection:_0xdfddce}=this[_0x4e5f31(0x1c0)][_0x4e5f31(0x1be)][_0x4e5f31(0x18d)](_0x1b0dd8),_0x52cf3e=new Set();for(const {resolvedBy:_0x2462d2,comments:_0x7f1fac}of _0x2b631f){_0x2462d2&&!_0x347e82[_0x4e5f31(0x162)](_0x2462d2)&&_0x52cf3e[_0x4e5f31(0x188)](_0x2462d2);for(const {userId:_0x3dd16d}of _0x7f1fac)_0x347e82[_0x4e5f31(0x162)](_0x3dd16d)||_0x52cf3e[_0x4e5f31(0x188)](_0x3dd16d);}if(0x0===_0x52cf3e[_0x4e5f31(0x16a)])return;const _0x57b1c9=await _0x1d157e[_0x4e5f31(0x198)](_0xdfddce,Array[_0x4e5f31(0x199)](_0x52cf3e));for(const _0x4530cb of _0x57b1c9)_0x347e82[_0x4e5f31(0x162)](_0x4530cb['id'])||_0x347e82[_0x4e5f31(0x186)](_0x4530cb);}}async function f(_0x26671e){const _0x24c3e9=_0xf9d0e5;if(_0x24c3e9(0x18b)!==_0x26671e[_0x24c3e9(0x1b8)])throw _0x26671e;}function A(_0x4484ce){const _0x3a6afd=_0xf9d0e5;if((_0x434932=_0x4484ce)[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x1ba))||_0x434932[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x16d))||_0x434932[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x1a4)))return new Promise(()=>{});var _0x434932;throw _0x4484ce;}function p(_0x44fd66){const _0x1d46fd=_0xf9d0e5;return{'threadId':_0x44fd66[_0x1d46fd(0x1c1)],'commentId':_0x44fd66[_0x1d46fd(0x16f)],'content':_0x44fd66[_0x1d46fd(0x183)],'createdAt':_0x44fd66[_0x1d46fd(0x180)],'authorId':_0x44fd66[_0x1d46fd(0x1a8)],'attributes':_0x44fd66[_0x1d46fd(0x1a9)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10af93=_0x3583;(function(_0x299223,_0xbef86b){const _0x326ed3=_0x3583,_0x2b48b4=_0x299223();while(!![]){try{const _0x2c42bb=-parseInt(_0x326ed3(0x202))/0x1+parseInt(_0x326ed3(0x1f6))/0x2+parseInt(_0x326ed3(0x206))/0x3*(-parseInt(_0x326ed3(0x1f9))/0x4)+-parseInt(_0x326ed3(0x1f7))/0x5+parseInt(_0x326ed3(0x20d))/0x6+-parseInt(_0x326ed3(0x20b))/0x7+parseInt(_0x326ed3(0x208))/0x8;if(_0x2c42bb===_0xbef86b)break;else _0x2b48b4['push'](_0x2b48b4['shift']());}catch(_0x452276){_0x2b48b4['push'](_0x2b48b4['shift']());}}}(_0x2ff0,0xc7efd));import{Plugin as _0x14cb0d}from'ckeditor5/src/core.js';function _0x3583(_0x1081c2,_0x1b6b2e){const _0x2ff057=_0x2ff0();return _0x3583=function(_0x3583f1,_0x1c224d){_0x3583f1=_0x3583f1-0x1f2;let _0x494cf1=_0x2ff057[_0x3583f1];return _0x494cf1;},_0x3583(_0x1081c2,_0x1b6b2e);}function _0x2ff0(){const _0x2c52f9=['requires','once','init','CommentsRepository','get','_setUpService','1279354gDnZKy','1615345LbBJis','listenTo','4wUpuhy','CommentsEditing','pluginName','isPremiumPlugin','Comments','connected','change:state','destroy','data','1362036JPBoqb','isThreadsLoadingPaused','isOfficialPlugin','config','3245412pZArrD','switchReadOnly','22177072aTTKlb','RealTimeCollaborativeComments','_terminateService','8620290SYMPHC','editor','8433054ylCFxK','ready','collaboration.channelId','plugins'];_0x2ff0=function(){return _0x2c52f9;};return _0x2ff0();}import{CloudServicesCommentsAdapter as _0x3b4e7e}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x42fa28}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4e213f}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x14cb0d{static get[_0x10af93(0x211)](){const _0x24aa4a=_0x10af93;return[_0x24aa4a(0x1fd),_0x3b4e7e,_0x42fa28,_0x4e213f];}static get[_0x10af93(0x1fb)](){const _0x23f508=_0x10af93;return _0x23f508(0x209);}static get[_0x10af93(0x204)](){return!0x0;}static get[_0x10af93(0x1fc)](){return!0x0;}[_0x10af93(0x1f2)](){const _0x5275e7=_0x10af93,_0x496d3f=this[_0x5275e7(0x20c)][_0x5275e7(0x210)][_0x5275e7(0x1f4)](_0x4e213f),_0x282bc5=this[_0x5275e7(0x20c)][_0x5275e7(0x210)][_0x5275e7(0x1f4)](_0x5275e7(0x1fa)),_0x21e644=this[_0x5275e7(0x20c)][_0x5275e7(0x210)][_0x5275e7(0x1f4)](_0x3b4e7e);return this[_0x5275e7(0x20c)][_0x5275e7(0x201)][_0x5275e7(0x212)](_0x5275e7(0x20e),()=>{const _0x3d9b5e=_0x5275e7;this[_0x3d9b5e(0x1f8)](_0x496d3f,_0x3d9b5e(0x1ff),(_0x59fe8c,_0x27a442,_0x5d7b17)=>{const _0x3deb43=_0x3d9b5e;_0x282bc5[_0x3deb43(0x203)]=_0x3deb43(0x1fe)!==_0x5d7b17;});}),this[_0x5275e7(0x1f8)](_0x496d3f,_0x5275e7(0x1ff),(_0x6ecfed,_0x1ca8c8,_0x56dd8c)=>{const _0xb2c220=_0x5275e7;this[_0xb2c220(0x20c)][_0xb2c220(0x210)][_0xb2c220(0x1f4)](_0xb2c220(0x1f3))[_0xb2c220(0x207)](_0xb2c220(0x1fe)!==_0x56dd8c);}),_0x21e644[_0x5275e7(0x1f5)](this[_0x5275e7(0x20c)][_0x5275e7(0x205)][_0x5275e7(0x1f4)](_0x5275e7(0x20f)));}[_0x10af93(0x200)](){const _0x3a4032=_0x10af93;this[_0x3a4032(0x20c)][_0x3a4032(0x210)][_0x3a4032(0x1f4)](_0x3b4e7e)[_0x3a4032(0x20a)](this[_0x3a4032(0x20c)][_0x3a4032(0x205)][_0x3a4032(0x1f4)](_0x3a4032(0x20f))),super[_0x3a4032(0x200)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x3d2ac9)());[_0x4b0fcc(0x25e)];[_0x4b0fcc(0x1aa)];[_0x4b0fcc(0x20a)];[_0x4b0fcc(0x1a3)];[_0x4b0fcc(0x24d)];[_0x4b0fcc(0x1bc)];[_0x4b0fcc(0x265)];[_0x4b0fcc(0x219)];[_0x4b0fcc(0x1f1)];[_0x4b0fcc(0x1e5)];[_0x4b0fcc(0x26a)];[_0x4b0fcc(0x269)];[_0x4b0fcc(0x231)];[_0x4b0fcc(0x296)];[_0x4b0fcc(0x25b)];[_0x4b0fcc(0x247)];[_0x4b0fcc(0x1be)];[_0x4b0fcc(0x25c)];static get[_0x4b0fcc(0x1e9)](){return[_0x340236,_0x3aebd6,_0x325712,_0x2e2f84,_0x8a5bc8,_0x46e125];}static get[_0x4b0fcc(0x19b)](){const _0x3d97ec=_0x4b0fcc;return _0x3d97ec(0x1f8);}static get[_0x4b0fcc(0x1d7)](){return!0x0;}static get[_0x4b0fcc(0x1b7)](){return!0x0;}get[_0x4b0fcc(0x1a6)](){const _0x47ff11=_0x4b0fcc;return this[_0x47ff11(0x1fd)]+this[_0x47ff11(0x25e)];}get[_0x4b0fcc(0x1fd)](){const _0x34f986=_0x4b0fcc;return this[_0x34f986(0x20a)][_0x34f986(0x280)]-this[_0x34f986(0x25e)];}get[_0x4b0fcc(0x241)](){const _0x107886=_0x4b0fcc,_0x188fe0=this[_0x107886(0x20a)][_0x107886(0x274)]();for(let _0x3914a8=_0x188fe0[_0x107886(0x227)]-0x1;_0x3914a8>=0x0;_0x3914a8--){const _0x3f5d23=_0x188fe0[_0x3914a8];if(!this[_0x107886(0x1be)][_0x107886(0x21a)](_0x3f5d23))return _0x3f5d23[_0x107886(0x281)]+0x1-this[_0x107886(0x25e)];}return 0x0;}constructor(_0x49e2aa){const _0x4a8380=_0x4b0fcc;if(super(_0x49e2aa),this[_0x4a8380(0x25e)]=0x0,this[_0x4a8380(0x1aa)]=null,this[_0x4a8380(0x20a)]=new _0x2fb591(),this[_0x4a8380(0x1c6)][_0x4a8380(0x1fc)][_0x4a8380(0x245)](_0x4a8380(0x23d),{}),this[_0x4a8380(0x1a3)]=this[_0x4a8380(0x1c6)][_0x4a8380(0x1fc)][_0x4a8380(0x1df)](_0x4a8380(0x285)),!this[_0x4a8380(0x1a3)])throw new _0x4d2f3d(_0x4a8380(0x28d),this);const _0x1a23aa=_0x49e2aa[_0x4a8380(0x1fc)][_0x4a8380(0x1df)](_0x4a8380(0x277))||_0x12755d;this[_0x4a8380(0x24d)]=new RealTimeCollaborationClient[(_0x4a8380(0x1e2))](_0x1a23aa,this[_0x4a8380(0x1a3)]),this[_0x4a8380(0x1bc)]=this[_0x4a8380(0x1c6)][_0x4a8380(0x263)][_0x4a8380(0x23a)],this[_0x4a8380(0x265)]=new _0x5ab17a(),this[_0x4a8380(0x219)]=[],this[_0x4a8380(0x1f1)]=new WeakSet(),this[_0x4a8380(0x1e5)]=new Set(),this[_0x4a8380(0x266)](_0x4a8380(0x1b6),!0x1),this[_0x4a8380(0x266)](_0x4a8380(0x261),!0x1),this[_0x4a8380(0x26a)]=null,this[_0x4a8380(0x269)]=!0x1,this[_0x4a8380(0x231)]=null,this[_0x4a8380(0x296)]=0x12c,this[_0x4a8380(0x25b)]=this[_0x4a8380(0x296)],this[_0x4a8380(0x247)]=null,this[_0x4a8380(0x1be)]=new WeakSet(),this[_0x4a8380(0x25c)]=new Z(this[_0x4a8380(0x1be)]);}[_0x4b0fcc(0x284)](){const _0x2849d1=_0x4b0fcc,_0x496da0=this[_0x2849d1(0x1c6)],_0x8e1bc=_0x496da0[_0x2849d1(0x22d)][_0x2849d1(0x1df)](_0x8a5bc8),_0x5acb63=_0x496da0[_0x2849d1(0x22d)][_0x2849d1(0x1df)](_0x340236);this[_0x2849d1(0x21f)](_0x8e1bc,_0x2849d1(0x1b1),(_0x53f615,_0x256ae1)=>{const _0x109928=_0x2849d1,_0x5b5437=_0x256ae1[0x0];_0x5b5437[_0x109928(0x202)]&&(_0x53f615[_0x109928(0x222)]=_0x8e1bc[_0x109928(0x1b3)](_0x5b5437[_0x109928(0x202)]),_0x53f615[_0x109928(0x1ee)]()),null===_0x5b5437[_0x109928(0x202)]&&(_0x53f615[_0x109928(0x222)]=null,_0x53f615[_0x109928(0x1ee)]());},{'priority':_0x2849d1(0x22b)}),this[_0x2849d1(0x21f)](_0x496da0[_0x2849d1(0x263)][_0x2849d1(0x23a)][_0x2849d1(0x221)],_0x2849d1(0x239),(_0x36c16b,_0x5bfe0e)=>{const _0x1c7224=_0x2849d1;_0x5bfe0e[_0x1c7224(0x26b)]&&this[_0x1c7224(0x26e)]();}),this[_0x2849d1(0x21f)](_0x496da0[_0x2849d1(0x272)][_0x2849d1(0x237)],_0x2849d1(0x1a5),()=>{const _0x4c8372=_0x2849d1;this[_0x4c8372(0x26e)]();}),this[_0x2849d1(0x18e)](),_0x496da0[_0x2849d1(0x263)]['on'](_0x2849d1(0x249),(_0x57edd2,_0x268058)=>{const _0x310294=_0x2849d1,_0xb06f46=_0x268058[0x0];_0xb06f46[_0x310294(0x194)]&&(this[_0x310294(0x208)](_0xb06f46),this[_0x310294(0x1da)]()&&this[_0x310294(0x1f2)]());}),this[_0x2849d1(0x26f)](),this[_0x2849d1(0x1bf)](_0x2849d1(0x282))['to'](_0x5acb63,_0x2849d1(0x1d2),this,_0x2849d1(0x261),(_0x328612,_0x4f4eed)=>_0x2849d1(0x271)===_0x328612&&!_0x4f4eed),this['on'](_0x2849d1(0x1fb),()=>{const _0xbb9152=_0x2849d1;this[_0xbb9152(0x282)]?_0x496da0[_0xbb9152(0x286)](_0xbb9152(0x293)):_0x496da0[_0xbb9152(0x1c5)](_0xbb9152(0x293));}),this[_0x2849d1(0x282)]?_0x496da0[_0x2849d1(0x286)](_0x2849d1(0x293)):_0x496da0[_0x2849d1(0x1c5)](_0x2849d1(0x293)),this[_0x2849d1(0x266)](_0x2849d1(0x206),!0x1);}async[_0x4b0fcc(0x1c7)](){const _0x40db29=_0x4b0fcc,_0x2002ba=this[_0x40db29(0x1c6)][_0x40db29(0x22d)][_0x40db29(0x1df)](_0x3aebd6),_0x10c234=this[_0x40db29(0x1c6)][_0x40db29(0x22d)][_0x40db29(0x1df)](_0x340236);try{this[_0x40db29(0x1b6)]=!0x0,_0x2002ba[_0x40db29(0x1ce)](this[_0x40db29(0x1a3)]);const _0x365ae4=await this[_0x40db29(0x24d)][_0x40db29(0x1c7)](_0x10c234[_0x40db29(0x230)],this[_0x40db29(0x241)]);await this[_0x40db29(0x22e)](_0x365ae4)&&(this[_0x40db29(0x1b6)]=!0x1,this[_0x40db29(0x212)]());const _0x424180=await this[_0x40db29(0x24d)][_0x40db29(0x1cb)]();_0x2002ba[_0x40db29(0x1cd)](this[_0x40db29(0x1a3)],_0x424180),this[_0x40db29(0x275)](),this[_0x40db29(0x206)]=!0x0;}catch(_0x40ddd1){if(function(_0x3f8cfc){const _0x1952ec=_0x40db29;return _0x1952ec(0x22c)===_0x3f8cfc[_0x1952ec(0x1d9)];}(_0x40ddd1)&&this[_0x40db29(0x1aa)])await this[_0x40db29(0x1f7)]();else{if(function(_0x17500b){const _0x3578c9=_0x40db29;return _0x3578c9(0x224)===_0x17500b[_0x3578c9(0x1d9)];}(_0x40ddd1)){const _0x1a59a5=_0x806e7d(this[_0x40db29(0x1c6)][_0x40db29(0x260)],_0x40db29(0x1e1));this[_0x40db29(0x1f9)](_0x1a59a5);}else{if(!(_0x40ddd1 instanceof X))throw _0x40ddd1;this[_0x40db29(0x1f9)]();}}}}[_0x4b0fcc(0x204)](){const _0x105635=_0x4b0fcc,_0x3736e7=this[_0x105635(0x1c6)][_0x105635(0x22d)][_0x105635(0x1df)](_0x340236),_0x59eea0=this[_0x105635(0x1c6)][_0x105635(0x22d)][_0x105635(0x1df)](_0x3aebd6);this[_0x105635(0x1c6)][_0x105635(0x1c5)](_0x105635(0x283)),_0x59eea0[_0x105635(0x278)][_0x105635(0x21a)](this[_0x105635(0x1a3)])&&_0x59eea0[_0x105635(0x1ce)](this[_0x105635(0x1a3)]),_0x3736e7[_0x105635(0x20f)](this),this[_0x105635(0x1eb)](),super[_0x105635(0x204)]();}async[_0x4b0fcc(0x22e)](_0x2ea5de){const _0x1db173=_0x4b0fcc;if(this[_0x1db173(0x1aa)]!==_0x2ea5de[_0x1db173(0x1aa)]&&this[_0x1db173(0x247)]!==_0x2ea5de[_0x1db173(0x258)])throw new X();return this[_0x1db173(0x1aa)]=_0x2ea5de[_0x1db173(0x1aa)],this[_0x1db173(0x1d4)]([],{..._0x2ea5de,'wereChangesApplied':!0x1,'data':_0x2ea5de[_0x1db173(0x251)]},_0x1db173(0x1c7));}async[_0x4b0fcc(0x24f)](_0x33fdc3,_0x6d0915=!0x1){const _0x2011c9=_0x4b0fcc,{connection:_0x196e94}=this[_0x2011c9(0x1c6)][_0x2011c9(0x22d)][_0x2011c9(0x1df)](_0x340236);RealTimeCollaborationClient[_0x2011c9(0x1e2)][_0x2011c9(0x1cb)](_0x196e94,this[_0x2011c9(0x1a3)])[_0x2011c9(0x192)](_0x17b074=>this[_0x2011c9(0x26c)](_0x17b074))[_0x2011c9(0x28b)](_0x2202b2=>{const _0x42132b=_0x2011c9;this[_0x42132b(0x292)](_0x42132b(0x1a9),_0x2202b2);}),this[_0x2011c9(0x21f)](this[_0x2011c9(0x24d)],_0x2011c9(0x19f),this[_0x2011c9(0x290)][_0x2011c9(0x1bf)](this)),this[_0x2011c9(0x21f)](this[_0x2011c9(0x24d)],_0x2011c9(0x216),(_0x4e8f1b,_0xa1600e)=>{const _0x388209=_0x2011c9;this[_0x388209(0x292)](_0x388209(0x220),_0xa1600e);}),this[_0x2011c9(0x21f)](this[_0x2011c9(0x24d)],_0x2011c9(0x27e),()=>{const _0x129f1d=_0x2011c9;this[_0x129f1d(0x206)]=!0x1;});const _0x5f5940=this[_0x2011c9(0x25c)][_0x2011c9(0x28f)](_0x33fdc3);this[_0x2011c9(0x1b6)]=!0x0;const _0x16c1cb=await this[_0x2011c9(0x24d)][_0x2011c9(0x23f)](_0x196e94,this[_0x2011c9(0x268)](_0x33fdc3),_0x5f5940);if(this[_0x2011c9(0x1aa)]=_0x16c1cb[_0x2011c9(0x1aa)],_0x6d0915){if(!_0x16c1cb[_0x2011c9(0x1e8)])return void this[_0x2011c9(0x1f9)]();this[_0x2011c9(0x1b6)]=!0x1,this[_0x2011c9(0x212)](),this[_0x2011c9(0x20a)][_0x2011c9(0x22f)](),this[_0x2011c9(0x25e)]=_0x16c1cb[_0x2011c9(0x23b)],this[_0x2011c9(0x20a)][_0x2011c9(0x280)]=this[_0x2011c9(0x25e)],await this[_0x2011c9(0x1d4)](_0x33fdc3,_0x16c1cb,_0x2011c9(0x225));}else await this[_0x2011c9(0x23e)](_0x16c1cb,_0x33fdc3);this[_0x2011c9(0x275)](),this[_0x2011c9(0x206)]=!0x0;}[_0x4b0fcc(0x275)](){const _0x25ac68=_0x4b0fcc,_0x5432be=this[_0x25ac68(0x1c6)][_0x25ac68(0x22d)][_0x25ac68(0x1df)](_0x3aebd6),_0x7ad2e4=this[_0x25ac68(0x1c6)][_0x25ac68(0x22d)][_0x25ac68(0x1df)](_0x325712),_0x54087f=_0x5432be[_0x25ac68(0x278)][_0x25ac68(0x1df)](this[_0x25ac68(0x1a3)]);_0x54087f&&_0x54087f[_0x25ac68(0x227)]>0x1?_0x7ad2e4[_0x25ac68(0x232)]():this[_0x25ac68(0x21f)](_0x5432be,_0x25ac68(0x1db)+this[_0x25ac68(0x1a3)],()=>{const _0x98114e=_0x25ac68;0x2===_0x5432be[_0x98114e(0x278)][_0x98114e(0x1df)](this[_0x98114e(0x1a3)])[_0x98114e(0x227)]&&_0x7ad2e4[_0x98114e(0x232)]();});}async[_0x4b0fcc(0x290)](_0x4ac3fc,_0x3a3c16,_0x2b5017,_0x459180){const _0x8221d=_0x4b0fcc;if(!this[_0x8221d(0x1b6)]&&this[_0x8221d(0x1bc)][_0x8221d(0x280)]==_0x3a3c16){const _0x7900cc=this[_0x8221d(0x229)](_0x2b5017,_0x459180);await this[_0x8221d(0x223)](_0x7900cc),this[_0x8221d(0x235)](_0x7900cc,_0x3a3c16,_0x2b5017[_0x8221d(0x258)])||this[_0x8221d(0x292)](_0x8221d(0x1b4));}}async[_0x4b0fcc(0x1f7)](){const _0x15896d=_0x4b0fcc;this[_0x15896d(0x1eb)]();const {locale:_0x3b4cfb}=this[_0x15896d(0x1c6)];let _0x1c44d1;try{_0x1c44d1=await this[_0x15896d(0x24d)][_0x15896d(0x1ad)]();}catch{const _0x2d53b8=_0x806e7d(_0x3b4cfb,_0x15896d(0x295));return void this[_0x15896d(0x1f9)](_0x2d53b8);}const _0x5aa7f0=_0x1c44d1[_0x15896d(0x244)]||_0x1c44d1[_0x15896d(0x19a)];if(this[_0x15896d(0x247)]!==_0x5aa7f0[_0x15896d(0x258)]){const _0x468732=_0x806e7d(_0x3b4cfb,_0x15896d(0x1bd));return void this[_0x15896d(0x1f9)](_0x468732);}await this[_0x15896d(0x24f)](this[_0x15896d(0x1c6)][_0x15896d(0x263)][_0x15896d(0x23a)][_0x15896d(0x20d)][_0x15896d(0x274)](),!0x0);}[_0x4b0fcc(0x1eb)](){const _0x7f0677=_0x4b0fcc;this[_0x7f0677(0x24d)][_0x7f0677(0x1b2)](),this[_0x7f0677(0x219)]=[],clearTimeout(this[_0x7f0677(0x231)]),this[_0x7f0677(0x270)](this[_0x7f0677(0x24d)]);}[_0x4b0fcc(0x26c)](_0x4370e3){const _0x52c38f=_0x4b0fcc,_0x40260b=this[_0x52c38f(0x1c6)][_0x52c38f(0x22d)][_0x52c38f(0x1df)](_0x3aebd6);this[_0x52c38f(0x21f)](_0x40260b,_0x52c38f(0x1db)+this[_0x52c38f(0x1a3)],(_0x521fc4,{session:_0x30e490})=>{const _0x447ac5=_0x52c38f;if(_0x30e490['id']===_0x40260b[_0x447ac5(0x262)]){_0x521fc4[_0x447ac5(0x1bb)]();const _0x509908=this[_0x447ac5(0x1c6)][_0x447ac5(0x22d)][_0x447ac5(0x21a)](_0x447ac5(0x1ba))&&this[_0x447ac5(0x1c6)][_0x447ac5(0x22d)][_0x447ac5(0x1df)](_0x447ac5(0x1ba));let _0x5d7e30=_0x30e490[_0x447ac5(0x210)];_0x509908&&_0x509908[_0x447ac5(0x1e4)]&&(_0x5d7e30=_0x5d7e30[_0x447ac5(0x234)](_0x502a17=>_0x447ac5(0x267)!==_0x502a17)),this[_0x447ac5(0x1c6)][_0x447ac5(0x22d)][_0x447ac5(0x1df)](_0x447ac5(0x1fe))[_0x447ac5(0x242)](_0x5d7e30,this[_0x447ac5(0x1a3)]);}}),_0x40260b[_0x52c38f(0x1cd)](this[_0x52c38f(0x1a3)],_0x4370e3);}[_0x4b0fcc(0x18e)](){const _0x4da63b=_0x4b0fcc,_0x5b71e0=this[_0x4da63b(0x1c6)][_0x4da63b(0x251)][_0x4da63b(0x266)];this[_0x4da63b(0x1c6)][_0x4da63b(0x251)][_0x4da63b(0x266)]=(..._0x256ad5)=>{const _0x8b3df9=_0x4da63b;if(!_0x256ad5[_0x256ad5[_0x8b3df9(0x227)]-0x1][_0x8b3df9(0x24c)])throw new _0x4d2f3d(_0x8b3df9(0x1dd),this);_0x5b71e0[_0x8b3df9(0x264)](this[_0x8b3df9(0x1c6)][_0x8b3df9(0x251)],_0x256ad5);};}[_0x4b0fcc(0x26f)](){const _0x5eca8e=_0x4b0fcc;this[_0x5eca8e(0x1c6)][_0x5eca8e(0x251)]['on'](_0x5eca8e(0x284),(_0x57b6d6,[_0x1c6b5d])=>{const _0x317128=_0x5eca8e;if(this[_0x317128(0x1bc)][_0x317128(0x280)])throw new _0x4d2f3d(_0x317128(0x197),this);_0x57b6d6[_0x317128(0x1ee)](),this[_0x317128(0x18f)]();const _0x30ddba=this[_0x317128(0x1c6)][_0x317128(0x1fc)][_0x317128(0x1df)](_0x317128(0x294)),_0x122cfc=this[_0x317128(0x1ed)](_0x1c6b5d,_0x30ddba);0x0==_0x122cfc[_0x317128(0x227)]&&_0x122cfc[_0x317128(0x27a)](new _0x28c3c8(0x0)),_0x57b6d6[_0x317128(0x222)]=this[_0x317128(0x24f)](_0x122cfc)[_0x317128(0x192)](()=>{const _0x99c46b=_0x317128;this[_0x99c46b(0x1c6)][_0x99c46b(0x22d)][_0x99c46b(0x1df)](_0x340236)[_0x99c46b(0x211)](this),this[_0x99c46b(0x1c6)][_0x99c46b(0x251)][_0x99c46b(0x289)](_0x99c46b(0x1f6));})[_0x317128(0x28b)](_0x4a857f=>this[_0x317128(0x292)](_0x317128(0x273),_0x4a857f))[_0x317128(0x1ef)](()=>this[_0x317128(0x212)]());},{'priority':_0x5eca8e(0x22b)}),this[_0x5eca8e(0x1c6)]['on'](_0x5eca8e(0x1a0),async(_0xd447da,[_0x35284d,_0x28d5c8])=>{const _0x4ec057=_0x5eca8e;_0xd447da[_0x4ec057(0x1ee)]();const _0x592576=this[_0x4ec057(0x1c6)][_0x4ec057(0x263)][_0x4ec057(0x23a)][_0x4ec057(0x24a)](_0x35284d);if(!this[_0x4ec057(0x1e5)][_0x4ec057(0x21a)](_0x35284d)){const _0x169ae0=_0x28d5c8&&_0x28d5c8[_0x4ec057(0x251)]?_0x28d5c8[_0x4ec057(0x251)]:'',_0x4139a5=_0x28d5c8&&_0x28d5c8[_0x4ec057(0x238)]?_0x28d5c8[_0x4ec057(0x238)]:{};await this[_0x4ec057(0x1de)](_0x35284d,_0x169ae0,_0x4139a5);}this[_0x4ec057(0x1c6)][_0x4ec057(0x263)][_0x4ec057(0x217)]({'isUndoable':!0x1},()=>{const _0x286dd0=_0x4ec057;_0x592576[_0x286dd0(0x209)]=!0x0,this[_0x286dd0(0x1c6)][_0x286dd0(0x263)][_0x286dd0(0x23a)][_0x286dd0(0x1b8)][_0x286dd0(0x236)](_0x592576);});},{'priority':_0x5eca8e(0x22b)});}async[_0x4b0fcc(0x223)](_0x402230){const _0x296329=_0x4b0fcc,_0x370998=this[_0x296329(0x1c6)][_0x296329(0x22d)][_0x296329(0x1df)](_0x8a5bc8),{connection:_0x585eaa}=this[_0x296329(0x1c6)][_0x296329(0x22d)][_0x296329(0x1df)](_0x340236),_0x101577=new Set();for(const _0x583856 of _0x402230){const _0xb21e1=_0x583856[_0x296329(0x202)];_0xb21e1&&!_0x370998[_0x296329(0x1b3)](_0xb21e1)&&_0x101577[_0x296329(0x193)](_0xb21e1);}if(0x0===_0x101577[_0x296329(0x1ae)])return;const _0x2d22fa=await _0x29a552[_0x296329(0x218)](_0x585eaa,Array[_0x296329(0x1d6)](_0x101577));for(const _0x1fa692 of _0x2d22fa)_0x370998[_0x296329(0x1b3)](_0x1fa692['id'])||_0x370998[_0x296329(0x226)](_0x1fa692);}[_0x4b0fcc(0x1ed)](_0x2dec25,_0x1dabd6={}){const _0x4f6a00=_0x4b0fcc,_0x724086=this[_0x4f6a00(0x1c6)][_0x4f6a00(0x263)],_0x353a76=[];let _0x4e9793=0x0;const _0x13372f=_0x4f6a00(0x1dc)==typeof _0x2dec25?{'main':_0x2dec25}:_0x2dec25;for(const _0x1a1251 of Object[_0x4f6a00(0x1a2)](_0x13372f)){if(!this[_0x4f6a00(0x1bc)][_0x4f6a00(0x1a8)][_0x4f6a00(0x21a)](_0x1a1251))throw new _0x4d2f3d(_0x4f6a00(0x257),this);const _0x403ca8=this[_0x4f6a00(0x1c6)][_0x4f6a00(0x251)][_0x4f6a00(0x1c8)](_0x13372f[_0x1a1251]),_0x3db5bd=this[_0x4f6a00(0x1bc)][_0x4f6a00(0x24a)](_0x1a1251),_0x4d25ba=new _0x5e24d7(_0x724086[_0x4f6a00(0x20c)](_0x3db5bd,0x0),_0x403ca8,_0x4e9793++);_0x353a76[_0x4f6a00(0x27a)](_0x4d25ba);for(const [_0x47ea64,_0x3fc065]of _0x403ca8[_0x4f6a00(0x190)]){const _0x26d8c5=_0x724086[_0x4f6a00(0x1e6)](_0x724086[_0x4f6a00(0x254)](_0x3db5bd,_0x3fc065[_0x4f6a00(0x27d)][_0x4f6a00(0x246)][_0x4f6a00(0x21b)]()),_0x724086[_0x4f6a00(0x254)](_0x3db5bd,_0x3fc065[_0x4f6a00(0x21c)][_0x4f6a00(0x246)][_0x4f6a00(0x21b)]())),_0x1a4762=new _0x1412d5(_0x47ea64,null,_0x26d8c5,_0x724086[_0x4f6a00(0x190)],!0x0,_0x4e9793++);_0x353a76[_0x4f6a00(0x27a)](_0x1a4762);}}if(_0x1dabd6)for(const [_0x2dab0a,_0x338b0c]of Object[_0x4f6a00(0x1f0)](_0x1dabd6)){const _0x9e974d=_0x724086[_0x4f6a00(0x23a)][_0x4f6a00(0x24a)](_0x2dab0a);if(!_0x9e974d)throw new _0x4d2f3d(_0x4f6a00(0x19e),null);for(const [_0x55c1a1,_0x21135c]of Object[_0x4f6a00(0x1f0)](_0x338b0c))if(null!==_0x21135c){const _0x7048d3=new _0x2753a8(_0x9e974d,_0x55c1a1,null,_0x21135c,_0x4e9793++);_0x353a76[_0x4f6a00(0x27a)](_0x7048d3);}}return _0x353a76;}async[_0x4b0fcc(0x1de)](_0x10e7df,_0x5caf11,_0x25209f){const _0x82c3a9=_0x4b0fcc;this[_0x82c3a9(0x1ed)]({[_0x10e7df]:_0x5caf11},{[_0x10e7df]:_0x25209f})[_0x82c3a9(0x276)]((_0xc30915,_0x2ae7e8)=>{const _0x47e408=_0x82c3a9;_0xc30915[_0x47e408(0x281)]=this[_0x47e408(0x1bc)][_0x47e408(0x280)]+_0x2ae7e8,_0xc30915[_0x47e408(0x259)]=!0x0,this[_0x47e408(0x208)](_0xc30915);}),this[_0x82c3a9(0x1f2)](),await this[_0x82c3a9(0x24b)]();}async[_0x4b0fcc(0x23e)](_0x33df2f,_0x10971f){const _0x4aa215=_0x4b0fcc;let _0x52fcf2;this[_0x4aa215(0x25e)]=_0x33df2f[_0x4aa215(0x23b)];const _0x5ac39b=_0x33df2f[_0x4aa215(0x1e8)]&&!_0x33df2f[_0x4aa215(0x207)],_0x3f2f38=_0x5ac39b?0x0:_0x33df2f[_0x4aa215(0x251)][_0x4aa215(0x281)];if(_0x10971f[_0x4aa215(0x276)](_0x349293=>{const _0x4e1f78=_0x4aa215;_0x349293[_0x4e1f78(0x259)]=!0x0,_0x349293[_0x4e1f78(0x1d3)]=_0x33df2f[_0x4e1f78(0x19c)],_0x349293[_0x4e1f78(0x202)]=null;}),_0x5ac39b)_0x52fcf2=_0x10971f,this[_0x4aa215(0x201)](_0x52fcf2,_0x5ac39b);else{if(_0x33df2f[_0x4aa215(0x207)]){const _0x3352df=this[_0x4aa215(0x1ed)](_0x33df2f[_0x4aa215(0x207)]);this[_0x4aa215(0x1bc)][_0x4aa215(0x20d)][_0x4aa215(0x280)]=-_0x3352df[_0x4aa215(0x227)],_0x3352df[_0x4aa215(0x276)](_0x5557ae=>{const _0x2dff23=_0x4aa215;_0x5557ae[_0x2dff23(0x281)]-=_0x3352df[_0x2dff23(0x227)],_0x5557ae[_0x2dff23(0x1d3)]=_0x33df2f[_0x2dff23(0x19c)],_0x5557ae[_0x2dff23(0x259)]=!0x0,_0x5557ae[_0x2dff23(0x202)]=null;}),this[_0x4aa215(0x201)](_0x3352df,!0x0),this[_0x4aa215(0x20a)][_0x4aa215(0x280)]=-_0x3352df[_0x4aa215(0x227)]+this[_0x4aa215(0x25e)],this[_0x4aa215(0x288)](_0x3352df);}this[_0x4aa215(0x1bc)][_0x4aa215(0x20d)][_0x4aa215(0x280)]=_0x3f2f38,_0x52fcf2=this[_0x4aa215(0x229)](_0x33df2f[_0x4aa215(0x251)],_0x33df2f[_0x4aa215(0x1ec)]),await this[_0x4aa215(0x223)](_0x52fcf2),this[_0x4aa215(0x201)](_0x52fcf2,_0x5ac39b);}_0x33df2f[_0x4aa215(0x258)]&&(this[_0x4aa215(0x25c)][_0x4aa215(0x28c)](_0x52fcf2,_0x33df2f[_0x4aa215(0x258)]),this[_0x4aa215(0x247)]=_0x33df2f[_0x4aa215(0x258)]),this[_0x4aa215(0x20a)][_0x4aa215(0x280)]=_0x3f2f38+this[_0x4aa215(0x25e)],this[_0x4aa215(0x288)](_0x52fcf2),_0x10971f[_0x4aa215(0x234)](_0x3099ea=>{const _0x541b3f=_0x4aa215,_0x2100d1=this[_0x541b3f(0x27f)](_0x3099ea);return _0x2100d1&&!this[_0x541b3f(0x1e5)][_0x541b3f(0x21a)](_0x2100d1);})[_0x4aa215(0x276)]((_0x542144,_0x440488)=>{const _0x339ffb=_0x4aa215;_0x542144[_0x339ffb(0x281)]=this[_0x339ffb(0x1bc)][_0x339ffb(0x280)]+_0x440488,this[_0x339ffb(0x208)](_0x542144);}),this[_0x4aa215(0x1da)]()?(this[_0x4aa215(0x25b)]=0x0,this[_0x4aa215(0x1f2)](!0x0),await this[_0x4aa215(0x24b)]()):(this[_0x4aa215(0x1b6)]=!0x1,this[_0x4aa215(0x212)]());}[_0x4b0fcc(0x292)](_0x3a99ed,_0x48b6d4){const _0x1ab09e=_0x4b0fcc,_0x4e213e=_0x48b6d4&&_0x48b6d4[_0x1ab09e(0x1c3)];if(_0x4e213e&&_0x4e213e[_0x1ab09e(0x1c0)](_0x1ab09e(0x213)))throw _0x48b6d4;const _0x5422c4=this[_0x1ab09e(0x1c6)][_0x1ab09e(0x22d)][_0x1ab09e(0x1df)](_0x340236);throw this[_0x1ab09e(0x1b6)]=!0x0,_0x5422c4[_0x1ab09e(0x1b2)](),this[_0x1ab09e(0x1c6)][_0x1ab09e(0x1c5)](_0x1ab09e(0x1ac)),new _0x4d2f3d(_0x3a99ed,this[_0x1ab09e(0x1c6)],_0x4e213e?{'originalError':_0x4e213e}:void 0x0);}[_0x4b0fcc(0x208)](_0x46e9f0){const _0x1145dc=_0x4b0fcc;this[_0x1145dc(0x1f1)][_0x1145dc(0x21a)](_0x46e9f0)||(this[_0x1145dc(0x1f1)][_0x1145dc(0x193)](_0x46e9f0),this[_0x1145dc(0x219)][_0x1145dc(0x27a)](_0x46e9f0),this[_0x1145dc(0x26a)]||_0x1145dc(0x256)==_0x46e9f0[_0x1145dc(0x195)]&&!_0x46e9f0[_0x1145dc(0x1ff)]||this[_0x1145dc(0x18f)]());}[_0x4b0fcc(0x1f2)](_0x1ce745=!0x1){const _0x2a07c1=_0x4b0fcc;!_0x1ce745&&this[_0x2a07c1(0x1b6)]||(this[_0x2a07c1(0x1b6)]=!0x0,clearTimeout(this[_0x2a07c1(0x231)]),this[_0x2a07c1(0x231)]=setTimeout(()=>{const _0x485172=_0x2a07c1;this[_0x485172(0x228)]()[_0x485172(0x192)](_0x459458=>{const _0x3a78de=_0x485172;_0x459458&&(this[_0x3a78de(0x212)](),this[_0x3a78de(0x1b6)]=!0x1);})[_0x485172(0x28b)](_0x5329ed=>{const _0x42928e=_0x485172;this[_0x42928e(0x212)](),this[_0x42928e(0x1b6)]=!0x1,function(_0x448715){const _0x2e330c=_0x42928e;return _0x448715[_0x2e330c(0x1c3)][_0x2e330c(0x1c0)](_0x2e330c(0x291))||_0x448715[_0x2e330c(0x1c3)][_0x2e330c(0x1c0)](_0x2e330c(0x1c9))||_0x448715[_0x2e330c(0x1c3)][_0x2e330c(0x1c0)](_0x2e330c(0x1f5));}(_0x5329ed)||this[_0x42928e(0x292)](_0x5329ed[_0x42928e(0x1c3)],_0x5329ed);});},this[_0x2a07c1(0x25b)]));}[_0x4b0fcc(0x24b)](){return new Promise(_0x1bf79c=>{const _0x43d72c=_0x4c83;this['on'](_0x43d72c(0x287),()=>{_0x1bf79c();});});}async[_0x4b0fcc(0x228)](){const _0x2e0500=_0x4b0fcc,_0x58bfab=this[_0x2e0500(0x1c6)][_0x2e0500(0x22d)][_0x2e0500(0x1df)](_0x325712);if(this[_0x2e0500(0x25a)]()&&(_0x58bfab[_0x2e0500(0x232)](),this[_0x2e0500(0x269)]=!0x1),!this[_0x2e0500(0x1da)]())return!0x0;const _0x398515=[...this[_0x2e0500(0x219)]];for(const _0xd0923c of _0x398515)_0xd0923c[_0x2e0500(0x20e)]=this[_0x2e0500(0x1bc)][_0x2e0500(0x20d)][_0x2e0500(0x215)](_0xd0923c);const _0x35c4f9=this[_0x2e0500(0x25c)][_0x2e0500(0x28f)](_0x398515),_0x2bc78f=Q++,_0x5365ff=this[_0x2e0500(0x268)](_0x398515),_0x23f32e=await this[_0x2e0500(0x24d)][_0x2e0500(0x1c2)](_0x5365ff,_0x5365ff[_0x2e0500(0x281)],_0x35c4f9);try{return await this[_0x2e0500(0x1d4)](_0x398515,_0x23f32e,_0x2bc78f);}catch(_0x488ac3){return this[_0x2e0500(0x292)](_0x2e0500(0x240),_0x488ac3);}}async[_0x4b0fcc(0x1d4)](_0x1868e4,_0x307954,_0x105cbb){const _0x589ef8=_0x4b0fcc;if(_0x589ef8(0x216)in _0x307954)throw _0x307954[_0x589ef8(0x216)];let _0x12cade=!0x1;if(_0x307954[_0x589ef8(0x1e8)]){_0x307954[_0x589ef8(0x258)]&&(this[_0x589ef8(0x247)]=_0x307954[_0x589ef8(0x258)]),this[_0x589ef8(0x219)]=this[_0x589ef8(0x219)][_0x589ef8(0x234)](_0x57fdc7=>!_0x1868e4[_0x589ef8(0x198)](_0x57fdc7));for(const _0x2dfc49 of _0x1868e4)_0x2dfc49[_0x589ef8(0x1d3)]=_0x589ef8(0x1a4)in _0x307954&&_0x307954[_0x589ef8(0x1a4)]||void 0x0;Y(_0x1868e4,_0x307954[_0x589ef8(0x280)]-_0x1868e4[_0x589ef8(0x227)]),this[_0x589ef8(0x288)](_0x1868e4);const _0x394f35=_0x1868e4[_0x589ef8(0x234)](_0xf4dd34=>{const _0x165d13=_0x589ef8;if(!_0xf4dd34[_0x165d13(0x259)])return!0x1;const _0x3d86f8=this[_0x165d13(0x27f)](_0xf4dd34);return _0x3d86f8&&!this[_0x165d13(0x1e5)][_0x165d13(0x21a)](_0x3d86f8);});Y(_0x394f35,this[_0x589ef8(0x1bc)][_0x589ef8(0x280)]),this[_0x589ef8(0x201)](_0x394f35),_0x12cade=!0x0,this[_0x589ef8(0x25b)]=this[_0x589ef8(0x296)];}else{const _0xb1f727=this[_0x589ef8(0x229)](_0x307954[_0x589ef8(0x251)],_0x307954[_0x589ef8(0x1ec)])[_0x589ef8(0x234)](_0xc03f2e=>_0xc03f2e[_0x589ef8(0x281)]>=this[_0x589ef8(0x1fd)]);_0xb1f727[_0x589ef8(0x276)](_0x16b753=>this[_0x589ef8(0x255)](_0x16b753)),this[_0x589ef8(0x219)]=this[_0x589ef8(0x219)][_0x589ef8(0x234)](_0x116105=>!_0x116105[_0x589ef8(0x259)]||!this[_0x589ef8(0x1e5)][_0x589ef8(0x21a)](this[_0x589ef8(0x27f)](_0x116105))),this[_0x589ef8(0x219)][_0x589ef8(0x227)]&&Y(this[_0x589ef8(0x219)],this[_0x589ef8(0x219)][0x0][_0x589ef8(0x281)]),await this[_0x589ef8(0x223)](_0xb1f727),_0x12cade=this[_0x589ef8(0x235)](_0xb1f727,_0x307954[_0x589ef8(0x280)],_0x307954[_0x589ef8(0x258)]),this[_0x589ef8(0x25b)]=Math[_0x589ef8(0x22a)](this[_0x589ef8(0x25b)]/0x2);}return _0x12cade?!this[_0x589ef8(0x1da)]()||(this[_0x589ef8(0x1f2)](!0x0),!0x1):this[_0x589ef8(0x292)](_0x589ef8(0x1cf));}[_0x4b0fcc(0x235)](_0x13a8b3,_0x3f092c,_0x5c5039){const _0x4e6e36=_0x4b0fcc;try{const _0x1fc64f={'document':this[_0x4e6e36(0x1bc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x53c4d7,operationsB:_0x1fc58c,originalOperations:_0x191965}=_0x4d569e(_0x13a8b3,this[_0x4e6e36(0x219)],_0x1fc64f);Y(_0x53c4d7,this[_0x4e6e36(0x1bc)][_0x4e6e36(0x280)]),Y(_0x1fc58c,_0x3f092c);for(const _0x58edd4 of _0x53c4d7){const _0x20e3bc=_0x191965[_0x4e6e36(0x1df)](_0x58edd4);_0x58edd4[_0x4e6e36(0x202)]=_0x20e3bc?_0x20e3bc[_0x4e6e36(0x202)]:null;}_0x5c5039&&(this[_0x4e6e36(0x25c)][_0x4e6e36(0x28c)](_0x13a8b3,_0x5c5039),this[_0x4e6e36(0x247)]=_0x5c5039),this[_0x4e6e36(0x219)]=[..._0x1fc58c],this[_0x4e6e36(0x201)](_0x53c4d7),this[_0x4e6e36(0x288)](_0x13a8b3);}catch(_0x2e3d70){return console[_0x4e6e36(0x216)](_0x2e3d70),!0x1;}return!0x0;}[_0x4b0fcc(0x201)](_0x54a653,_0xa64d73=!0x1){const _0x34e626=_0x4b0fcc;this[_0x34e626(0x1c6)][_0x34e626(0x263)][_0x34e626(0x217)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3ff30c=>{const _0x39912c=_0x34e626;for(const _0x47412b of _0x54a653)this[_0x39912c(0x1f1)][_0x39912c(0x193)](_0x47412b),this[_0x39912c(0x255)](_0x47412b),_0x3ff30c[_0x39912c(0x1f4)][_0x39912c(0x1fa)](_0x47412b),this[_0x39912c(0x1c6)][_0x39912c(0x263)][_0x39912c(0x249)](_0x47412b);});}[_0x4b0fcc(0x255)](_0xe07bb2){const _0xe3fbac=_0x4b0fcc,_0x54838e=this[_0xe3fbac(0x27f)](_0xe07bb2);_0x54838e&&this[_0xe3fbac(0x1e5)][_0xe3fbac(0x193)](_0x54838e);}[_0x4b0fcc(0x27f)](_0x480ef9){const _0x1d7c49=_0x4b0fcc;let _0xa98ae3,_0x49effb;switch(_0x480ef9[_0x1d7c49(0x195)]){case _0x1d7c49(0x24e):_0xa98ae3=_0x480ef9[_0x1d7c49(0x1c1)][_0x1d7c49(0x21e)];break;case _0x1d7c49(0x256):if(_0x49effb=_0x480ef9[_0x1d7c49(0x1af)],!_0x49effb)return null;_0xa98ae3=_0x49effb[_0x1d7c49(0x21e)];break;case _0x1d7c49(0x1a1):_0xa98ae3=_0x480ef9[_0x1d7c49(0x21e)];break;case _0x1d7c49(0x1d8):_0xa98ae3=_0x480ef9[_0x1d7c49(0x252)];break;case _0x1d7c49(0x233):_0xa98ae3=_0x480ef9[_0x1d7c49(0x23c)][_0x1d7c49(0x21e)];break;default:return null;}return _0xa98ae3[_0x1d7c49(0x28e)];}[_0x4b0fcc(0x288)](_0x4ffa15){const _0x443b88=_0x4b0fcc;_0x4ffa15[_0x443b88(0x276)](_0x2d67fa=>{const _0x3669ae=_0x443b88,_0x3cf98e=_0x2d67fa[_0x3669ae(0x1ca)]();_0x3cf98e[_0x3669ae(0x202)]=_0x2d67fa[_0x3669ae(0x202)],_0x3cf98e[_0x3669ae(0x259)]=!!_0x2d67fa[_0x3669ae(0x259)],_0x3cf98e[_0x3669ae(0x1d3)]=_0x2d67fa[_0x3669ae(0x1d3)],_0x3cf98e[_0x3669ae(0x281)]+=this[_0x3669ae(0x25e)],_0x2d67fa[_0x3669ae(0x27b)]&&this[_0x3669ae(0x1be)][_0x3669ae(0x193)](_0x3cf98e),this[_0x3669ae(0x20a)][_0x3669ae(0x1fa)](_0x3cf98e);});}[_0x4b0fcc(0x1f9)](_0xff216b){const _0x28e019=_0x4b0fcc,_0x5cb09e=this[_0x28e019(0x1c6)][_0x28e019(0x22d)][_0x28e019(0x1df)](_0x28e019(0x25d)),_0x415b93=this[_0x28e019(0x1c6)][_0x28e019(0x260)];_0xff216b||(_0xff216b=_0x806e7d(_0x415b93,_0x28e019(0x25f))),_0x5cb09e[_0x28e019(0x196)](_0xff216b,{'title':_0x806e7d(_0x415b93,_0x28e019(0x200)),'namespace':_0x28e019(0x243)}),this[_0x28e019(0x261)]=!0x0,clearTimeout(this[_0x28e019(0x231)]),this[_0x28e019(0x219)]=[],this[_0x28e019(0x1c6)][_0x28e019(0x22d)][_0x28e019(0x1df)](_0x340236)[_0x28e019(0x1b2)]();}[_0x4b0fcc(0x18f)](){const _0x4e62db=_0x4b0fcc;this[_0x4e62db(0x26a)]||(this[_0x4e62db(0x26a)]=this[_0x4e62db(0x1c6)][_0x4e62db(0x22d)][_0x4e62db(0x1df)](_0x2e2f84)[_0x4e62db(0x193)](_0x806e7d(this[_0x4e62db(0x1c6)][_0x4e62db(0x260)],_0x4e62db(0x28a))));}[_0x4b0fcc(0x212)](){const _0x5553c7=_0x4b0fcc;this[_0x5553c7(0x26a)]&&(this[_0x5553c7(0x1c6)][_0x5553c7(0x22d)][_0x5553c7(0x1df)](_0x2e2f84)[_0x5553c7(0x19d)](this[_0x5553c7(0x26a)]),this[_0x5553c7(0x26a)]=null);}[_0x4b0fcc(0x268)](_0x367d8f){const _0x3f9e59=_0x4b0fcc,_0x4a0228=_0x367d8f[_0x3f9e59(0x1b9)](_0x26d0db=>_0x26d0db[_0x3f9e59(0x248)]());return this[_0x3f9e59(0x265)][_0x3f9e59(0x214)](_0x4a0228);}[_0x4b0fcc(0x229)](_0x5b7406,_0x228701){const _0x4dfc1c=_0x4b0fcc;return this[_0x4dfc1c(0x265)][_0x4dfc1c(0x253)](_0x5b7406)[_0x4dfc1c(0x1b9)]((_0x39a3e8,_0x30398a)=>{const _0x56e5d5=_0x4dfc1c,_0x52b8cb=_0x56e5d5(0x284)==_0x228701[_0x30398a][_0x56e5d5(0x195)];if(_0x56e5d5(0x199)==_0x39a3e8[_0x56e5d5(0x1d0)]){const _0x10502d=_0x39a3e8[_0x56e5d5(0x1c1)][_0x56e5d5(0x21e)];!this[_0x56e5d5(0x1bc)][_0x56e5d5(0x24a)](_0x10502d)&&(this[_0x56e5d5(0x1bc)][_0x56e5d5(0x205)](_0x56e5d5(0x203),_0x10502d)[_0x56e5d5(0x1a7)]=!0x1);}const _0x56dd55=_0x325a32[_0x56e5d5(0x21d)](_0x39a3e8,this[_0x56e5d5(0x1bc)]);return _0x56dd55[_0x56e5d5(0x20e)]=_0x39a3e8[_0x56e5d5(0x20e)],_0x56dd55[_0x56e5d5(0x259)]=_0x52b8cb,_0x56dd55[_0x56e5d5(0x202)]=_0x52b8cb?null:_0x228701[_0x30398a][_0x56e5d5(0x1d1)],_0x56dd55[_0x56e5d5(0x27b)]=_0x56e5d5(0x1b0)===_0x228701[_0x30398a][_0x56e5d5(0x195)],_0x56dd55[_0x56e5d5(0x1d3)]=_0x228701[_0x30398a][_0x56e5d5(0x1d3)],_0x56dd55;});}[_0x4b0fcc(0x26e)](){const _0x23b343=_0x4b0fcc;this[_0x23b343(0x269)]=!0x0,this[_0x23b343(0x25a)]()?this[_0x23b343(0x1f2)]():this[_0x23b343(0x269)]=!0x1;}[_0x4b0fcc(0x25a)](){const _0x5ad4a1=_0x4b0fcc,_0x48cbe0=this[_0x5ad4a1(0x1c6)][_0x5ad4a1(0x22d)][_0x5ad4a1(0x1df)](_0x3aebd6)[_0x5ad4a1(0x278)][_0x5ad4a1(0x1df)](this[_0x5ad4a1(0x1a3)]);return!this[_0x5ad4a1(0x1c6)][_0x5ad4a1(0x279)]&&!!_0x48cbe0&&_0x48cbe0[_0x5ad4a1(0x227)]>0x1&&this[_0x5ad4a1(0x269)];}[_0x4b0fcc(0x1da)](){const _0x4d6b62=_0x4b0fcc;return this[_0x4d6b62(0x219)][_0x4d6b62(0x227)]>0x0||this[_0x4d6b62(0x25a)]();}}class X extends Error{}function Y(_0x3ade88,_0x4e3081){const _0x37fa58=_0x4b0fcc;for(const _0x2aab32 of _0x3ade88)_0x2aab32[_0x37fa58(0x281)]=_0x4e3081++;}class Z{[_0x4b0fcc(0x1f3)];[_0x4b0fcc(0x1b5)];constructor(_0x57c792){const _0x22837c=_0x4b0fcc;this[_0x22837c(0x1f3)]=_0x57c792,this[_0x22837c(0x1b5)]=new WeakMap();}[_0x4b0fcc(0x28f)](_0x2d5ef2){const _0x597d55=_0x4b0fcc;let _0x3eba35=_0x2d5ef2[_0x597d55(0x227)];for(;_0x3eba35--;){const _0x54b611=_0x2d5ef2[_0x3eba35];if(!this[_0x597d55(0x1f3)][_0x597d55(0x21a)](_0x54b611)){if(!this[_0x597d55(0x1b5)][_0x597d55(0x21a)](_0x54b611)){const _0x5afe94=_0x1a4f9a()[_0x597d55(0x21b)](0x1,0x12);this[_0x597d55(0x1b5)][_0x597d55(0x266)](_0x54b611,_0x5afe94);}return this[_0x597d55(0x1b5)][_0x597d55(0x1df)](_0x54b611);}}}[_0x4b0fcc(0x28c)](_0x73fe26,_0x59c60c){const _0x3638f0=_0x4b0fcc;if(!_0x59c60c)return;let _0x20a9f6=_0x73fe26[_0x3638f0(0x227)];for(;_0x20a9f6--;){const _0x510f98=_0x73fe26[_0x20a9f6];this[_0x3638f0(0x1f3)][_0x3638f0(0x21a)](_0x510f98)||this[_0x3638f0(0x1b5)][_0x3638f0(0x266)](_0x510f98,_0x59c60c);}}}
|
|
23
|
+
const _0x2205df=_0x279a;(function(_0x2058c3,_0x636717){const _0x2dfe45=_0x279a,_0x12cd98=_0x2058c3();while(!![]){try{const _0x2f0ad1=-parseInt(_0x2dfe45(0x1f3))/0x1+-parseInt(_0x2dfe45(0x188))/0x2*(parseInt(_0x2dfe45(0x1b5))/0x3)+parseInt(_0x2dfe45(0x1d4))/0x4*(parseInt(_0x2dfe45(0x126))/0x5)+-parseInt(_0x2dfe45(0x127))/0x6*(parseInt(_0x2dfe45(0x12c))/0x7)+parseInt(_0x2dfe45(0x174))/0x8+-parseInt(_0x2dfe45(0x1a3))/0x9+parseInt(_0x2dfe45(0x179))/0xa;if(_0x2f0ad1===_0x636717)break;else _0x12cd98['push'](_0x12cd98['shift']());}catch(_0x5bd957){_0x12cd98['push'](_0x12cd98['shift']());}}}(_0x4880,0x27613));function _0x4880(){const _0x2bca41=['_sendBufferedOperations','init','RealTimeCollaborationClient','getMany','_disconnectService','offset','serverHistory','metadata','return','realtimecollaborationclient-init-session-connection-error','addUser','enqueueChange','affectedSelectable','sendOperations','$root','finally','_isLoaded','message','wasUndone','43241xgEdhQ','push','_decompressOperations','_offset','_lastSyncedOperationId','cloud-services-internal-error:\x20Request\x20timeout.','sessionAdd:','start','decompress','_isEditingAllowed','disconnect','_isDisconnection','_compressOperations','forEach','_operationIdentifier','lastOperationAcceptedAt','slice','_setUpDataInit','addToReconnectionStack','set','change:_isPendingUpdate','404','state','_isConnected','_shouldSendUpdate','currentDocumentSession','_clearPendingAction','_isPendingUpdate','position','stopListening','connected','collaboration','disableReadOnlyMode','destroy','end','rootsAttributes','createUserMarkerOperations','_handleExternalOperations','_connectService','_service','size','data','_initSessionsHandling','_compressor','fire','isReadOnly','enableReadOnlyMode','cs:removeUser','_baseBufferDelay','isPremiumPlugin','sessionCreatedAt','apply','_initThrowingOnDataSet','_getOperationsFromInitData','_setPendingAction','roots','compress','5GDjEEY','332124hmPxbb','collaboration-missing-channelid','_saveOperationInBuffer','remove','_shouldSendSelectionUpdate','14iKbebv','round','_handleReceivedOperations','error','createPositionAt','ready','_knownOperations','reconnection:\x20flushed\x20session','add','CommentsOnly','keys','pluginName','removeFromReconnectionStack','version','document:write','suppressErrorInCollaboration','_bufferRootLoad','connect','wereChangesApplied','map','fromJSON','type','isDocumentOperation','__className','_operationToId','high','catch','mySessionId','locale','selection','includes','_sendBufferedOperationsDelayed','_handleSendingSelectionMarkers','root','differ','setPermissions','string','then','document','permissions','filter','isEnabled','lastDocumentSession','_loadRoot','_refreshUserSelectionMarkers','getOperationAuthor','_updateServerHistory','operationsReceived','define','_ignoredOperations','_sendBufferedOperationsDelayId','loadRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editor','realtimecollaborationclient','Permissions','createRange','collaboration.channelId','rtc-offline','realtimecollaborationclient-init-connection-failed','createPositionFromPath','register','path','reset','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionId','_waitUntilSynced','lastOperationId','applyOperation','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.','history','_fetchMissingUsers','496912IlpJPX','rtc-destroyed','reconnect','409','_disconnectionOperations','944500TmMdIE','directChange','_handleServerResponse','getRoot','CollaborativeEditingService','realtimecollaborationclient-init-non-existent-root','isOfficialPlugin','config','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_applyOperationsSet','newRange','_crash','getDocumentDetails','baseVersion','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.','236mijXhk','editing','realtimecollaborationclient-init-service-incorrect-server-operation','batch','_knownRootNames','_addKnownRoot','clone','isUndoneOperation','_handleInitialConnectionData','has','move','initData','_handleReconnectionResponse','change:_isEditingAllowed','markers','createdAt','plugins','_document','setIdForTheLastOperation','_currentBufferDelay','code','realtimecollaborationclient-init-service-internal-error','_authorId','get','_bufferedOperations','toJSON','getUser','883611NgagYP','channelSessions','Synchronization\x20issue','stop','_isInit','off','_isAttached','targetPosition','_pendingAction','getOperations','realtimecollaborationclient-sendbufferedoperations','real-time-collaboration','startsWith','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','lastSyncVersion','listenTo','change:range','view','1434JyGjBx','_handleReconnectionError','userId','cloudServices.bundleVersion','addRoot','multi-root-editor-root-attributes-no-root','attributes','unregister','realtimecollaborationclient-error','Notification','_connectAfterSessionHasBeenFlushed','addRootAttribute','createRoot','addOperation','bind','change:hasDomSelection','realtimecollaborationclient-handleserverresponse','length','_hasSynchronizationProblem','_channelId','requires','parse','cloudDocumentVersion','PENDING_ACTION_SENDING_DATA','InsertOperation','showWarning','getIdOfTheLastOperation','affectsData','insert','_getAffectedRoot','rootName','1253068MUFyBW','entries','from','_hasSelectionChanged','connection','getConnectedSessions','model','cloud-services-internal-error:\x20Not\x20connected.','_lastServerVersion','disconnected','realtimecollaborationclient-init-document-already-initialized','marker'];_0x4880=function(){return _0x2bca41;};return _0x4880();}import{Plugin as _0x3bb94e,PendingActions as _0x568e23}from'ckeditor5/src/core.js';import{CKEditorError as _0x12c2b1,version as _0x5de4f2,uid as _0x2be118}from'ckeditor5/src/utils.js';import{Notification as _0x2c7217}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x331568,NoOperation as _0x1e6e91,InsertOperation as _0x37b57c,MarkerOperation as _0x5d23ba,RootAttributeOperation as _0x4090e4,OperationFactory as _0x19008c,History as _0x1247ca}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1d0dff}from'./websocketgateway.js';import{Sessions as _0x5b10ab}from'./sessions.js';import{UserMarkers as _0x1aa8c2}from'./usermarkers.js';import{getTranslation as _0x50e247}from'../common-translations.js';import{Compressor as _0x5d6c47}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x57254b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x142f1b,CollaborativeEditingService as _0x20f240}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x3bb94e{static [_0x2205df(0x17d)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x20f240)());[_0x2205df(0x1f6)];[_0x2205df(0x16d)];[_0x2205df(0x1e6)];[_0x2205df(0x1c8)];[_0x2205df(0x21a)];[_0x2205df(0x199)];[_0x2205df(0x118)];[_0x2205df(0x1a0)];[_0x2205df(0x132)];[_0x2205df(0x18c)];[_0x2205df(0x1ab)];[_0x2205df(0x1d7)];[_0x2205df(0x15e)];[_0x2205df(0x11d)];[_0x2205df(0x19b)];[_0x2205df(0x1f7)];[_0x2205df(0x178)];[_0x2205df(0x201)];static get[_0x2205df(0x1c9)](){return[_0x1d0dff,_0x5b10ab,_0x1aa8c2,_0x568e23,_0x57254b,_0x2c7217];}static get[_0x2205df(0x137)](){const _0x4429cb=_0x2205df;return _0x4429cb(0x1e2);}static get[_0x2205df(0x17f)](){return!0x0;}static get[_0x2205df(0x11e)](){return!0x0;}get[_0x2205df(0x1cb)](){const _0x889ea5=_0x2205df;return this[_0x889ea5(0x1dc)]+this[_0x889ea5(0x1f6)];}get[_0x2205df(0x1dc)](){const _0x2440a5=_0x2205df;return this[_0x2440a5(0x1e6)][_0x2440a5(0x139)]-this[_0x2440a5(0x1f6)];}get[_0x2205df(0x1b1)](){const _0x1433b1=_0x2205df,_0x22b5db=this[_0x1433b1(0x1e6)][_0x1433b1(0x1ac)]();for(let _0x531e8b=_0x22b5db[_0x1433b1(0x1c6)]-0x1;_0x531e8b>=0x0;_0x531e8b--){const _0x50e11f=_0x22b5db[_0x531e8b];if(!this[_0x1433b1(0x178)][_0x1433b1(0x191)](_0x50e11f))return _0x50e11f[_0x1433b1(0x186)]+0x1-this[_0x1433b1(0x1f6)];}return 0x0;}constructor(_0x26e948){const _0x6cd7a2=_0x2205df;if(super(_0x26e948),this[_0x6cd7a2(0x1f6)]=0x0,this[_0x6cd7a2(0x16d)]=null,this[_0x6cd7a2(0x1e6)]=new _0x1247ca(),this[_0x6cd7a2(0x161)][_0x6cd7a2(0x180)][_0x6cd7a2(0x15c)](_0x6cd7a2(0x212),{}),this[_0x6cd7a2(0x1c8)]=this[_0x6cd7a2(0x161)][_0x6cd7a2(0x180)][_0x6cd7a2(0x19f)](_0x6cd7a2(0x165)),!this[_0x6cd7a2(0x1c8)])throw new _0x12c2b1(_0x6cd7a2(0x128),this);const _0x3a7d88=_0x26e948[_0x6cd7a2(0x180)][_0x6cd7a2(0x19f)](_0x6cd7a2(0x1b8))||_0x5de4f2;this[_0x6cd7a2(0x21a)]=new RealTimeCollaborationClient[(_0x6cd7a2(0x17d))](_0x3a7d88,this[_0x6cd7a2(0x1c8)]),this[_0x6cd7a2(0x199)]=this[_0x6cd7a2(0x161)][_0x6cd7a2(0x1da)][_0x6cd7a2(0x152)],this[_0x6cd7a2(0x118)]=new _0x5d6c47(),this[_0x6cd7a2(0x1a0)]=[],this[_0x6cd7a2(0x132)]=new WeakSet(),this[_0x6cd7a2(0x18c)]=new Set(),this[_0x6cd7a2(0x206)](_0x6cd7a2(0x20e),!0x1),this[_0x6cd7a2(0x206)](_0x6cd7a2(0x1c7),!0x1),this[_0x6cd7a2(0x1ab)]=null,this[_0x6cd7a2(0x1d7)]=!0x1,this[_0x6cd7a2(0x15e)]=null,this[_0x6cd7a2(0x11d)]=0x12c,this[_0x6cd7a2(0x19b)]=this[_0x6cd7a2(0x11d)],this[_0x6cd7a2(0x1f7)]=null,this[_0x6cd7a2(0x178)]=new WeakSet(),this[_0x6cd7a2(0x201)]=new J(this[_0x6cd7a2(0x178)]);}[_0x2205df(0x1e1)](){const _0x4c3518=_0x2205df,_0x2aefba=this[_0x4c3518(0x161)],_0x261a72=_0x2aefba[_0x4c3518(0x198)][_0x4c3518(0x19f)](_0x57254b),_0x5de352=_0x2aefba[_0x4c3518(0x198)][_0x4c3518(0x19f)](_0x1d0dff);this[_0x4c3518(0x1b2)](_0x261a72,_0x4c3518(0x159),(_0x51db17,_0x23ff91)=>{const _0x473dde=_0x4c3518,_0x16b31d=_0x23ff91[0x0];_0x16b31d[_0x473dde(0x19e)]&&(_0x51db17[_0x473dde(0x1e8)]=_0x261a72[_0x473dde(0x1a2)](_0x16b31d[_0x473dde(0x19e)]),_0x51db17[_0x473dde(0x1a6)]()),null===_0x16b31d[_0x473dde(0x19e)]&&(_0x51db17[_0x473dde(0x1e8)]=null,_0x51db17[_0x473dde(0x1a6)]());},{'priority':_0x4c3518(0x145)}),this[_0x4c3518(0x1b2)](_0x2aefba[_0x4c3518(0x1da)][_0x4c3518(0x152)][_0x4c3518(0x149)],_0x4c3518(0x1b3),(_0x5baea3,_0x3f2030)=>{const _0x271fcf=_0x4c3518;_0x3f2030[_0x271fcf(0x17a)]&&this[_0x271fcf(0x158)]();}),this[_0x4c3518(0x1b2)](_0x2aefba[_0x4c3518(0x189)][_0x4c3518(0x1b4)],_0x4c3518(0x1c4),()=>{const _0x10652a=_0x4c3518;this[_0x10652a(0x158)]();}),this[_0x4c3518(0x121)](),_0x2aefba[_0x4c3518(0x1da)]['on'](_0x4c3518(0x170),(_0x5240e5,_0x3d3937)=>{const _0x3eb677=_0x4c3518,_0x13d359=_0x3d3937[0x0];_0x13d359[_0x3eb677(0x142)]&&(this[_0x3eb677(0x129)](_0x13d359),this[_0x3eb677(0x20b)]()&&this[_0x3eb677(0x14b)]());}),this[_0x4c3518(0x204)](),this[_0x4c3518(0x1c3)](_0x4c3518(0x1fc))['to'](_0x5de352,_0x4c3518(0x209),this,_0x4c3518(0x1c7),(_0x26544a,_0x4bbd3b)=>_0x4c3518(0x211)===_0x26544a&&!_0x4bbd3b),this['on'](_0x4c3518(0x195),()=>{const _0x46b475=_0x4c3518;this[_0x46b475(0x1fc)]?_0x2aefba[_0x46b475(0x213)](_0x46b475(0x166)):_0x2aefba[_0x46b475(0x11b)](_0x46b475(0x166));}),this[_0x4c3518(0x1fc)]?_0x2aefba[_0x4c3518(0x213)](_0x4c3518(0x166)):_0x2aefba[_0x4c3518(0x11b)](_0x4c3518(0x166)),this[_0x4c3518(0x206)](_0x4c3518(0x20a),!0x1);}async[_0x2205df(0x176)](){const _0x402917=_0x2205df,_0x46b8c6=this[_0x402917(0x161)][_0x402917(0x198)][_0x402917(0x19f)](_0x5b10ab),_0x2c7a37=this[_0x402917(0x161)][_0x402917(0x198)][_0x402917(0x19f)](_0x1d0dff);try{this[_0x402917(0x20e)]=!0x0,_0x46b8c6[_0x402917(0x1bc)](this[_0x402917(0x1c8)]);const _0xac524f=await this[_0x402917(0x21a)][_0x402917(0x176)](_0x2c7a37[_0x402917(0x1d8)],this[_0x402917(0x1b1)]);await this[_0x402917(0x194)](_0xac524f)&&(this[_0x402917(0x20e)]=!0x1,this[_0x402917(0x20d)]());const _0x4ea148=await this[_0x402917(0x21a)][_0x402917(0x1d9)]();_0x46b8c6[_0x402917(0x169)](this[_0x402917(0x1c8)],_0x4ea148),this[_0x402917(0x14c)](),this[_0x402917(0x20a)]=!0x0;}catch(_0x6075f3){if(function(_0x433f9f){const _0x4c27b8=_0x402917;return _0x4c27b8(0x208)===_0x433f9f[_0x4c27b8(0x19c)];}(_0x6075f3)&&this[_0x402917(0x16d)])await this[_0x402917(0x1bf)]();else{if(function(_0x2cd05a){const _0x1b5916=_0x402917;return _0x1b5916(0x177)===_0x2cd05a[_0x1b5916(0x19c)];}(_0x6075f3)){const _0x35bd1e=_0x50e247(this[_0x402917(0x161)][_0x402917(0x148)],_0x402917(0x181));this[_0x402917(0x1b6)](_0x35bd1e);}else{if(!(_0x6075f3 instanceof $))throw _0x6075f3;this[_0x402917(0x1b6)]();}}}}[_0x2205df(0x214)](){const _0x2783cf=_0x2205df,_0x3a3af1=this[_0x2783cf(0x161)][_0x2783cf(0x198)][_0x2783cf(0x19f)](_0x1d0dff),_0x486365=this[_0x2783cf(0x161)][_0x2783cf(0x198)][_0x2783cf(0x19f)](_0x5b10ab);this[_0x2783cf(0x161)][_0x2783cf(0x11b)](_0x2783cf(0x175)),_0x486365[_0x2783cf(0x1a4)][_0x2783cf(0x191)](this[_0x2783cf(0x1c8)])&&_0x486365[_0x2783cf(0x1bc)](this[_0x2783cf(0x1c8)]),_0x3a3af1[_0x2783cf(0x138)](this),this[_0x2783cf(0x1e4)](),super[_0x2783cf(0x214)]();}async[_0x2205df(0x194)](_0x1ef72f){const _0x4948e5=_0x2205df;if(this[_0x4948e5(0x16d)]!==_0x1ef72f[_0x4948e5(0x16d)]&&this[_0x4948e5(0x1f7)]!==_0x1ef72f[_0x4948e5(0x16f)])throw new $();return this[_0x4948e5(0x16d)]=_0x1ef72f[_0x4948e5(0x16d)],this[_0x4948e5(0x17b)]([],{..._0x1ef72f,'wereChangesApplied':!0x1,'data':_0x1ef72f[_0x4948e5(0x116)]},_0x4948e5(0x176));}async[_0x2205df(0x219)](_0x4dec85,_0xfff4a9=!0x1){const _0x51243c=_0x2205df,{connection:_0x129f6d}=this[_0x51243c(0x161)][_0x51243c(0x198)][_0x51243c(0x19f)](_0x1d0dff);RealTimeCollaborationClient[_0x51243c(0x17d)][_0x51243c(0x1d9)](_0x129f6d,this[_0x51243c(0x1c8)])[_0x51243c(0x151)](_0x5543fe=>this[_0x51243c(0x117)](_0x5543fe))[_0x51243c(0x146)](_0x47352b=>{const _0x30b4d3=_0x51243c;this[_0x30b4d3(0x184)](_0x30b4d3(0x1e9),_0x47352b);}),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x15b),this[_0x51243c(0x12e)][_0x51243c(0x1c3)](this)),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x12f),(_0x313b7f,_0x29dab5)=>{const _0x5a23b1=_0x51243c;this[_0x5a23b1(0x184)](_0x5a23b1(0x19d),_0x29dab5);}),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x1dd),()=>{const _0x310822=_0x51243c;this[_0x310822(0x20a)]=!0x1;});const _0x591ff0=this[_0x51243c(0x201)][_0x51243c(0x1cf)](_0x4dec85);this[_0x51243c(0x20e)]=!0x0;const _0x57036d=await this[_0x51243c(0x21a)][_0x51243c(0x13d)](_0x129f6d,this[_0x51243c(0x1ff)](_0x4dec85),_0x591ff0);if(this[_0x51243c(0x16d)]=_0x57036d[_0x51243c(0x16d)],_0xfff4a9){if(!_0x57036d[_0x51243c(0x13e)])return void this[_0x51243c(0x1b6)]();this[_0x51243c(0x20e)]=!0x1,this[_0x51243c(0x20d)](),this[_0x51243c(0x1e6)][_0x51243c(0x16b)](),this[_0x51243c(0x1f6)]=_0x57036d[_0x51243c(0x1e5)],this[_0x51243c(0x1e6)][_0x51243c(0x139)]=this[_0x51243c(0x1f6)],await this[_0x51243c(0x17b)](_0x4dec85,_0x57036d,_0x51243c(0x133));}else await this[_0x51243c(0x190)](_0x57036d,_0x4dec85);this[_0x51243c(0x14c)](),this[_0x51243c(0x20a)]=!0x0;}[_0x2205df(0x14c)](){const _0x663ec5=_0x2205df,_0x4ff5c7=this[_0x663ec5(0x161)][_0x663ec5(0x198)][_0x663ec5(0x19f)](_0x5b10ab),_0x4d3bbb=this[_0x663ec5(0x161)][_0x663ec5(0x198)][_0x663ec5(0x19f)](_0x1aa8c2),_0x23fa9b=_0x4ff5c7[_0x663ec5(0x1a4)][_0x663ec5(0x19f)](this[_0x663ec5(0x1c8)]);_0x23fa9b&&_0x23fa9b[_0x663ec5(0x1c6)]>0x1?_0x4d3bbb[_0x663ec5(0x217)]():this[_0x663ec5(0x1b2)](_0x4ff5c7,_0x663ec5(0x1f9)+this[_0x663ec5(0x1c8)],()=>{const _0x252b75=_0x663ec5;0x2===_0x4ff5c7[_0x252b75(0x1a4)][_0x252b75(0x19f)](this[_0x252b75(0x1c8)])[_0x252b75(0x1c6)]&&_0x4d3bbb[_0x252b75(0x217)]();});}async[_0x2205df(0x12e)](_0xb4f7c7,_0x6a8db4,_0x515a58,_0x1db6b3){const _0x5160be=_0x2205df;if(!this[_0x5160be(0x20e)]&&this[_0x5160be(0x199)][_0x5160be(0x139)]==_0x6a8db4){const _0x118d1a=this[_0x5160be(0x1f5)](_0x515a58,_0x1db6b3);await this[_0x5160be(0x173)](_0x118d1a),this[_0x5160be(0x218)](_0x118d1a,_0x6a8db4,_0x515a58[_0x5160be(0x16f)])||this[_0x5160be(0x184)](_0x5160be(0x18a));}}async[_0x2205df(0x1bf)](){const _0x3338c1=_0x2205df;this[_0x3338c1(0x1e4)]();const {locale:_0x522fe6}=this[_0x3338c1(0x161)];let _0x147abd;try{_0x147abd=await this[_0x3338c1(0x21a)][_0x3338c1(0x185)]();}catch{const _0x289c09=_0x50e247(_0x522fe6,_0x3338c1(0x160));return void this[_0x3338c1(0x1b6)](_0x289c09);}const _0x474a23=_0x147abd[_0x3338c1(0x20c)]||_0x147abd[_0x3338c1(0x156)];if(this[_0x3338c1(0x1f7)]!==_0x474a23[_0x3338c1(0x16f)]){const _0x525776=_0x50e247(_0x522fe6,_0x3338c1(0x187));return void this[_0x3338c1(0x1b6)](_0x525776);}await this[_0x3338c1(0x219)](this[_0x3338c1(0x161)][_0x3338c1(0x1da)][_0x3338c1(0x152)][_0x3338c1(0x172)][_0x3338c1(0x1ac)](),!0x0);}[_0x2205df(0x1e4)](){const _0x247a23=_0x2205df;this[_0x247a23(0x21a)][_0x247a23(0x1fd)](),this[_0x247a23(0x1a0)]=[],clearTimeout(this[_0x247a23(0x15e)]),this[_0x247a23(0x210)](this[_0x247a23(0x21a)]);}[_0x2205df(0x117)](_0x345564){const _0x255d33=_0x2205df,_0x261aa9=this[_0x255d33(0x161)][_0x255d33(0x198)][_0x255d33(0x19f)](_0x5b10ab);this[_0x255d33(0x1b2)](_0x261aa9,_0x255d33(0x1f9)+this[_0x255d33(0x1c8)],(_0x16d343,{session:_0xf37ca2})=>{const _0x707c64=_0x255d33;if(_0xf37ca2['id']===_0x261aa9[_0x707c64(0x147)]){_0x16d343[_0x707c64(0x1a8)]();const _0x2fa692=this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x191)](_0x707c64(0x135))&&this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x19f)](_0x707c64(0x135));let _0x14d330=_0xf37ca2[_0x707c64(0x153)];_0x2fa692&&_0x2fa692[_0x707c64(0x155)]&&(_0x14d330=_0x14d330[_0x707c64(0x154)](_0x35e916=>_0x707c64(0x13a)!==_0x35e916)),this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x19f)](_0x707c64(0x163))[_0x707c64(0x14f)](_0x14d330,this[_0x707c64(0x1c8)]);}}),_0x261aa9[_0x255d33(0x169)](this[_0x255d33(0x1c8)],_0x345564);}[_0x2205df(0x121)](){const _0x4a6d09=_0x2205df,_0x3f0bc9=this[_0x4a6d09(0x161)][_0x4a6d09(0x116)][_0x4a6d09(0x206)];this[_0x4a6d09(0x161)][_0x4a6d09(0x116)][_0x4a6d09(0x206)]=(..._0x15082a)=>{const _0x58ac12=_0x4a6d09;if(!_0x15082a[_0x15082a[_0x58ac12(0x1c6)]-0x1][_0x58ac12(0x13b)])throw new _0x12c2b1(_0x58ac12(0x1b0),this);_0x3f0bc9[_0x58ac12(0x120)](this[_0x58ac12(0x161)][_0x58ac12(0x116)],_0x15082a);};}[_0x2205df(0x204)](){const _0x57154d=_0x2205df;this[_0x57154d(0x161)][_0x57154d(0x116)]['on'](_0x57154d(0x1e1),(_0x36b24c,[_0x136ed2])=>{const _0x426f35=_0x57154d;if(this[_0x426f35(0x199)][_0x426f35(0x139)])throw new _0x12c2b1(_0x426f35(0x1de),this);_0x36b24c[_0x426f35(0x1a6)](),this[_0x426f35(0x123)]();const _0x345586=this[_0x426f35(0x161)][_0x426f35(0x180)][_0x426f35(0x19f)](_0x426f35(0x216)),_0x57c610=this[_0x426f35(0x122)](_0x136ed2,_0x345586);0x0==_0x57c610[_0x426f35(0x1c6)]&&_0x57c610[_0x426f35(0x1f4)](new _0x1e6e91(0x0)),_0x36b24c[_0x426f35(0x1e8)]=this[_0x426f35(0x219)](_0x57c610)[_0x426f35(0x151)](()=>{const _0xc706ba=_0x426f35;this[_0xc706ba(0x161)][_0xc706ba(0x198)][_0xc706ba(0x19f)](_0x1d0dff)[_0xc706ba(0x205)](this),this[_0xc706ba(0x161)][_0xc706ba(0x116)][_0xc706ba(0x119)](_0xc706ba(0x131));})[_0x426f35(0x146)](_0x3e103f=>this[_0x426f35(0x184)](_0x426f35(0x167),_0x3e103f))[_0x426f35(0x1ef)](()=>this[_0x426f35(0x20d)]());},{'priority':_0x57154d(0x145)}),this[_0x57154d(0x161)]['on'](_0x57154d(0x15f),async(_0x82a451,[_0x530c5f,_0x25196f])=>{const _0x35c6d6=_0x57154d;_0x82a451[_0x35c6d6(0x1a6)]();const _0x5a61a2=this[_0x35c6d6(0x161)][_0x35c6d6(0x1da)][_0x35c6d6(0x152)][_0x35c6d6(0x17c)](_0x530c5f);if(!this[_0x35c6d6(0x18c)][_0x35c6d6(0x191)](_0x530c5f)){const _0x41ff48=_0x25196f&&_0x25196f[_0x35c6d6(0x116)]?_0x25196f[_0x35c6d6(0x116)]:'',_0x14e796=_0x25196f&&_0x25196f[_0x35c6d6(0x1bb)]?_0x25196f[_0x35c6d6(0x1bb)]:{};await this[_0x35c6d6(0x157)](_0x530c5f,_0x41ff48,_0x14e796);}this[_0x35c6d6(0x161)][_0x35c6d6(0x1da)][_0x35c6d6(0x1eb)]({'isUndoable':!0x1},()=>{const _0x5a60b0=_0x35c6d6;_0x5a61a2[_0x5a60b0(0x1f0)]=!0x0,this[_0x5a60b0(0x161)][_0x5a60b0(0x1da)][_0x5a60b0(0x152)][_0x5a60b0(0x14e)][_0x5a60b0(0x13c)](_0x5a61a2);});},{'priority':_0x57154d(0x145)});}async[_0x2205df(0x173)](_0x15ff6b){const _0x12eb12=_0x2205df,_0x331008=this[_0x12eb12(0x161)][_0x12eb12(0x198)][_0x12eb12(0x19f)](_0x57254b),{connection:_0x253a99}=this[_0x12eb12(0x161)][_0x12eb12(0x198)][_0x12eb12(0x19f)](_0x1d0dff),_0xdc40d0=new Set();for(const _0x20fd21 of _0x15ff6b){const _0x43b48e=_0x20fd21[_0x12eb12(0x19e)];_0x43b48e&&!_0x331008[_0x12eb12(0x1a2)](_0x43b48e)&&_0xdc40d0[_0x12eb12(0x134)](_0x43b48e);}if(0x0===_0xdc40d0[_0x12eb12(0x21b)])return;const _0x17bbd1=await _0x142f1b[_0x12eb12(0x1e3)](_0x253a99,Array[_0x12eb12(0x1d6)](_0xdc40d0));for(const _0x46e413 of _0x17bbd1)_0x331008[_0x12eb12(0x1a2)](_0x46e413['id'])||_0x331008[_0x12eb12(0x1ea)](_0x46e413);}[_0x2205df(0x122)](_0x4828f3,_0x199fcc={}){const _0xd7fc05=_0x2205df,_0x160196=this[_0xd7fc05(0x161)][_0xd7fc05(0x1da)],_0x130e75=[];let _0x38f715=0x0;const _0xc7769d=_0xd7fc05(0x150)==typeof _0x4828f3?{'main':_0x4828f3}:_0x4828f3;for(const _0x1fbc9d of Object[_0xd7fc05(0x136)](_0xc7769d)){if(!this[_0xd7fc05(0x199)][_0xd7fc05(0x124)][_0xd7fc05(0x191)](_0x1fbc9d))throw new _0x12c2b1(_0xd7fc05(0x17e),this);const _0x4fe695=this[_0xd7fc05(0x161)][_0xd7fc05(0x116)][_0xd7fc05(0x1ca)](_0xc7769d[_0x1fbc9d]),_0x4142f1=this[_0xd7fc05(0x199)][_0xd7fc05(0x17c)](_0x1fbc9d),_0x5c7aaf=new _0x37b57c(_0x160196[_0xd7fc05(0x130)](_0x4142f1,0x0),_0x4fe695,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x5c7aaf);for(const [_0x4eb7bb,_0x210637]of _0x4fe695[_0xd7fc05(0x196)]){const _0x2626f3=_0x160196[_0xd7fc05(0x164)](_0x160196[_0xd7fc05(0x168)](_0x4142f1,_0x210637[_0xd7fc05(0x1fa)][_0xd7fc05(0x16a)][_0xd7fc05(0x203)]()),_0x160196[_0xd7fc05(0x168)](_0x4142f1,_0x210637[_0xd7fc05(0x215)][_0xd7fc05(0x16a)][_0xd7fc05(0x203)]())),_0x4d4711=new _0x5d23ba(_0x4eb7bb,null,_0x2626f3,_0x160196[_0xd7fc05(0x196)],!0x0,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x4d4711);}}if(_0x199fcc)for(const [_0x1d17b8,_0x258e2b]of Object[_0xd7fc05(0x1d5)](_0x199fcc)){const _0x3686d3=_0x160196[_0xd7fc05(0x152)][_0xd7fc05(0x17c)](_0x1d17b8);if(!_0x3686d3)throw new _0x12c2b1(_0xd7fc05(0x1ba),null);for(const [_0x19e6ca,_0x9256d5]of Object[_0xd7fc05(0x1d5)](_0x258e2b))if(null!==_0x9256d5){const _0x2aa6af=new _0x4090e4(_0x3686d3,_0x19e6ca,null,_0x9256d5,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x2aa6af);}}return _0x130e75;}async[_0x2205df(0x157)](_0x45ad26,_0x59a99,_0x595f65){const _0x4fc3c7=_0x2205df;this[_0x4fc3c7(0x122)]({[_0x45ad26]:_0x59a99},{[_0x45ad26]:_0x595f65})[_0x4fc3c7(0x200)]((_0x1239bd,_0x2c2390)=>{const _0x3c818d=_0x4fc3c7;_0x1239bd[_0x3c818d(0x186)]=this[_0x3c818d(0x199)][_0x3c818d(0x139)]+_0x2c2390,_0x1239bd[_0x3c818d(0x1a7)]=!0x0,this[_0x3c818d(0x129)](_0x1239bd);}),this[_0x4fc3c7(0x14b)](),await this[_0x4fc3c7(0x16e)]();}async[_0x2205df(0x190)](_0x3e7f4e,_0x539f64){const _0x3963f3=_0x2205df;let _0x483abb;this[_0x3963f3(0x1f6)]=_0x3e7f4e[_0x3963f3(0x1e5)];const _0x45b7d0=_0x3e7f4e[_0x3963f3(0x13e)]&&!_0x3e7f4e[_0x3963f3(0x193)],_0x55cbdb=_0x45b7d0?0x0:_0x3e7f4e[_0x3963f3(0x116)][_0x3963f3(0x186)];if(_0x539f64[_0x3963f3(0x200)](_0x13f4c8=>{const _0x15486b=_0x3963f3;_0x13f4c8[_0x15486b(0x1a7)]=!0x0,_0x13f4c8[_0x15486b(0x197)]=_0x3e7f4e[_0x15486b(0x11f)],_0x13f4c8[_0x15486b(0x19e)]=null;}),_0x45b7d0)_0x483abb=_0x539f64,this[_0x3963f3(0x182)](_0x483abb,_0x45b7d0);else{if(_0x3e7f4e[_0x3963f3(0x193)]){const _0x5ef406=this[_0x3963f3(0x122)](_0x3e7f4e[_0x3963f3(0x193)]);this[_0x3963f3(0x199)][_0x3963f3(0x172)][_0x3963f3(0x139)]=-_0x5ef406[_0x3963f3(0x1c6)],_0x5ef406[_0x3963f3(0x200)](_0x4f6847=>{const _0x50b021=_0x3963f3;_0x4f6847[_0x50b021(0x186)]-=_0x5ef406[_0x50b021(0x1c6)],_0x4f6847[_0x50b021(0x197)]=_0x3e7f4e[_0x50b021(0x11f)],_0x4f6847[_0x50b021(0x1a7)]=!0x0,_0x4f6847[_0x50b021(0x19e)]=null;}),this[_0x3963f3(0x182)](_0x5ef406,!0x0),this[_0x3963f3(0x1e6)][_0x3963f3(0x139)]=-_0x5ef406[_0x3963f3(0x1c6)]+this[_0x3963f3(0x1f6)],this[_0x3963f3(0x15a)](_0x5ef406);}this[_0x3963f3(0x199)][_0x3963f3(0x172)][_0x3963f3(0x139)]=_0x55cbdb,_0x483abb=this[_0x3963f3(0x1f5)](_0x3e7f4e[_0x3963f3(0x116)],_0x3e7f4e[_0x3963f3(0x1e7)]),await this[_0x3963f3(0x173)](_0x483abb),this[_0x3963f3(0x182)](_0x483abb,_0x45b7d0);}_0x3e7f4e[_0x3963f3(0x16f)]&&(this[_0x3963f3(0x201)][_0x3963f3(0x19a)](_0x483abb,_0x3e7f4e[_0x3963f3(0x16f)]),this[_0x3963f3(0x1f7)]=_0x3e7f4e[_0x3963f3(0x16f)]),this[_0x3963f3(0x1e6)][_0x3963f3(0x139)]=_0x55cbdb+this[_0x3963f3(0x1f6)],this[_0x3963f3(0x15a)](_0x483abb),_0x539f64[_0x3963f3(0x154)](_0x525fe2=>{const _0x26d9d3=_0x3963f3,_0x3411bf=this[_0x26d9d3(0x1d2)](_0x525fe2);return _0x3411bf&&!this[_0x26d9d3(0x18c)][_0x26d9d3(0x191)](_0x3411bf);})[_0x3963f3(0x200)]((_0x36eb3a,_0x3d2baa)=>{const _0x547c7d=_0x3963f3;_0x36eb3a[_0x547c7d(0x186)]=this[_0x547c7d(0x199)][_0x547c7d(0x139)]+_0x3d2baa,this[_0x547c7d(0x129)](_0x36eb3a);}),this[_0x3963f3(0x20b)]()?(this[_0x3963f3(0x19b)]=0x0,this[_0x3963f3(0x14b)](!0x0),await this[_0x3963f3(0x16e)]()):(this[_0x3963f3(0x20e)]=!0x1,this[_0x3963f3(0x20d)]());}[_0x2205df(0x184)](_0x136679,_0x488e40){const _0x2859ed=_0x2205df,_0x26c241=_0x488e40&&_0x488e40[_0x2859ed(0x1f1)];if(_0x26c241&&_0x26c241[_0x2859ed(0x1af)](_0x2859ed(0x162)))throw _0x488e40;const _0x30bf7e=this[_0x2859ed(0x161)][_0x2859ed(0x198)][_0x2859ed(0x19f)](_0x1d0dff);throw this[_0x2859ed(0x20e)]=!0x0,_0x30bf7e[_0x2859ed(0x1fd)](),this[_0x2859ed(0x161)][_0x2859ed(0x11b)](_0x2859ed(0x1bd)),new _0x12c2b1(_0x136679,this[_0x2859ed(0x161)],_0x26c241?{'originalError':_0x26c241}:void 0x0);}[_0x2205df(0x129)](_0x5845be){const _0xb1ab07=_0x2205df;this[_0xb1ab07(0x132)][_0xb1ab07(0x191)](_0x5845be)||(this[_0xb1ab07(0x132)][_0xb1ab07(0x134)](_0x5845be),this[_0xb1ab07(0x1a0)][_0xb1ab07(0x1f4)](_0x5845be),this[_0xb1ab07(0x1ab)]||_0xb1ab07(0x1df)==_0x5845be[_0xb1ab07(0x141)]&&!_0x5845be[_0xb1ab07(0x1d0)]||this[_0xb1ab07(0x123)]());}[_0x2205df(0x14b)](_0x3415b2=!0x1){const _0x259efc=_0x2205df;!_0x3415b2&&this[_0x259efc(0x20e)]||(this[_0x259efc(0x20e)]=!0x0,clearTimeout(this[_0x259efc(0x15e)]),this[_0x259efc(0x15e)]=setTimeout(()=>{const _0x4f81d3=_0x259efc;this[_0x4f81d3(0x1e0)]()[_0x4f81d3(0x151)](_0x3cd92a=>{const _0x47b752=_0x4f81d3;_0x3cd92a&&(this[_0x47b752(0x20d)](),this[_0x47b752(0x20e)]=!0x1);})[_0x4f81d3(0x146)](_0x10883a=>{const _0x56962b=_0x4f81d3;this[_0x56962b(0x20d)](),this[_0x56962b(0x20e)]=!0x1,function(_0x1a36c9){const _0x186cea=_0x56962b;return _0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x1db))||_0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x16c))||_0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x1f8));}(_0x10883a)||this[_0x56962b(0x184)](_0x10883a[_0x56962b(0x1f1)],_0x10883a);});},this[_0x259efc(0x19b)]));}[_0x2205df(0x16e)](){return new Promise(_0x1a197d=>{const _0x1205f3=_0x279a;this['on'](_0x1205f3(0x207),()=>{_0x1a197d();});});}async[_0x2205df(0x1e0)](){const _0x1bd39d=_0x2205df,_0x4cb7b6=this[_0x1bd39d(0x161)][_0x1bd39d(0x198)][_0x1bd39d(0x19f)](_0x1aa8c2);if(this[_0x1bd39d(0x12b)]()&&(_0x4cb7b6[_0x1bd39d(0x217)](),this[_0x1bd39d(0x1d7)]=!0x1),!this[_0x1bd39d(0x20b)]())return!0x0;const _0x3424e4=[...this[_0x1bd39d(0x1a0)]];for(const _0x2587f3 of _0x3424e4)_0x2587f3[_0x1bd39d(0x1f2)]=this[_0x1bd39d(0x199)][_0x1bd39d(0x172)][_0x1bd39d(0x18f)](_0x2587f3);const _0x459749=this[_0x1bd39d(0x201)][_0x1bd39d(0x1cf)](_0x3424e4),_0x5ea383=G++,_0x3c66dd=this[_0x1bd39d(0x1ff)](_0x3424e4),_0x1534db=await this[_0x1bd39d(0x21a)][_0x1bd39d(0x1ed)](_0x3c66dd,_0x3c66dd[_0x1bd39d(0x186)],_0x459749);try{return await this[_0x1bd39d(0x17b)](_0x3424e4,_0x1534db,_0x5ea383);}catch(_0x87fc6c){return this[_0x1bd39d(0x184)](_0x1bd39d(0x1ad),_0x87fc6c);}}async[_0x2205df(0x17b)](_0x554e75,_0x3dcea0,_0x44ae50){const _0x73fe97=_0x2205df;if(_0x73fe97(0x12f)in _0x3dcea0)throw _0x3dcea0[_0x73fe97(0x12f)];let _0x49eabf=!0x1;if(_0x3dcea0[_0x73fe97(0x13e)]){_0x3dcea0[_0x73fe97(0x16f)]&&(this[_0x73fe97(0x1f7)]=_0x3dcea0[_0x73fe97(0x16f)]),this[_0x73fe97(0x1a0)]=this[_0x73fe97(0x1a0)][_0x73fe97(0x154)](_0x484b78=>!_0x554e75[_0x73fe97(0x14a)](_0x484b78));for(const _0x52f6ed of _0x554e75)_0x52f6ed[_0x73fe97(0x197)]=_0x73fe97(0x202)in _0x3dcea0&&_0x3dcea0[_0x73fe97(0x202)]||void 0x0;K(_0x554e75,_0x3dcea0[_0x73fe97(0x139)]-_0x554e75[_0x73fe97(0x1c6)]),this[_0x73fe97(0x15a)](_0x554e75);const _0x19da4c=_0x554e75[_0x73fe97(0x154)](_0x2ae814=>{const _0x1a5e76=_0x73fe97;if(!_0x2ae814[_0x1a5e76(0x1a7)])return!0x1;const _0x100051=this[_0x1a5e76(0x1d2)](_0x2ae814);return _0x100051&&!this[_0x1a5e76(0x18c)][_0x1a5e76(0x191)](_0x100051);});K(_0x19da4c,this[_0x73fe97(0x199)][_0x73fe97(0x139)]),this[_0x73fe97(0x182)](_0x19da4c),_0x49eabf=!0x0,this[_0x73fe97(0x19b)]=this[_0x73fe97(0x11d)];}else{const _0x4714af=this[_0x73fe97(0x1f5)](_0x3dcea0[_0x73fe97(0x116)],_0x3dcea0[_0x73fe97(0x1e7)])[_0x73fe97(0x154)](_0x279e7a=>_0x279e7a[_0x73fe97(0x186)]>=this[_0x73fe97(0x1dc)]);_0x4714af[_0x73fe97(0x200)](_0xce67e3=>this[_0x73fe97(0x18d)](_0xce67e3)),this[_0x73fe97(0x1a0)]=this[_0x73fe97(0x1a0)][_0x73fe97(0x154)](_0x52770d=>!_0x52770d[_0x73fe97(0x1a7)]||!this[_0x73fe97(0x18c)][_0x73fe97(0x191)](this[_0x73fe97(0x1d2)](_0x52770d))),this[_0x73fe97(0x1a0)][_0x73fe97(0x1c6)]&&K(this[_0x73fe97(0x1a0)],this[_0x73fe97(0x1a0)][0x0][_0x73fe97(0x186)]),await this[_0x73fe97(0x173)](_0x4714af),_0x49eabf=this[_0x73fe97(0x218)](_0x4714af,_0x3dcea0[_0x73fe97(0x139)],_0x3dcea0[_0x73fe97(0x16f)]),this[_0x73fe97(0x19b)]=Math[_0x73fe97(0x12d)](this[_0x73fe97(0x19b)]/0x2);}return _0x49eabf?!this[_0x73fe97(0x20b)]()||(this[_0x73fe97(0x14b)](!0x0),!0x1):this[_0x73fe97(0x184)](_0x73fe97(0x1c5));}[_0x2205df(0x218)](_0x19c1eb,_0x3f5d88,_0x3872c4){const _0x1369c7=_0x2205df;try{const _0x1d0dbc={'document':this[_0x1369c7(0x199)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3b0023,operationsB:_0x358ed6,originalOperations:_0x3bb626}=_0x331568(_0x19c1eb,this[_0x1369c7(0x1a0)],_0x1d0dbc);K(_0x3b0023,this[_0x1369c7(0x199)][_0x1369c7(0x139)]),K(_0x358ed6,_0x3f5d88);for(const _0x10aac1 of _0x3b0023){const _0x108dd2=_0x3bb626[_0x1369c7(0x19f)](_0x10aac1);_0x10aac1[_0x1369c7(0x19e)]=_0x108dd2?_0x108dd2[_0x1369c7(0x19e)]:null;}_0x3872c4&&(this[_0x1369c7(0x201)][_0x1369c7(0x19a)](_0x19c1eb,_0x3872c4),this[_0x1369c7(0x1f7)]=_0x3872c4),this[_0x1369c7(0x1a0)]=[..._0x358ed6],this[_0x1369c7(0x182)](_0x3b0023),this[_0x1369c7(0x15a)](_0x19c1eb);}catch(_0xaf7f07){return console[_0x1369c7(0x12f)](_0xaf7f07),!0x1;}return!0x0;}[_0x2205df(0x182)](_0x2b39fd,_0x5ad4ac=!0x1){const _0x4a8cac=_0x2205df;this[_0x4a8cac(0x161)][_0x4a8cac(0x1da)][_0x4a8cac(0x1eb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3dfc86=>{const _0x5d8b7c=_0x4a8cac;for(const _0x2af59b of _0x2b39fd)this[_0x5d8b7c(0x132)][_0x5d8b7c(0x134)](_0x2af59b),this[_0x5d8b7c(0x18d)](_0x2af59b),_0x3dfc86[_0x5d8b7c(0x18b)][_0x5d8b7c(0x1c2)](_0x2af59b),this[_0x5d8b7c(0x161)][_0x5d8b7c(0x1da)][_0x5d8b7c(0x170)](_0x2af59b);});}[_0x2205df(0x18d)](_0x2ab42e){const _0x1fc804=_0x2205df,_0x418871=this[_0x1fc804(0x1d2)](_0x2ab42e);_0x418871&&this[_0x1fc804(0x18c)][_0x1fc804(0x134)](_0x418871);}[_0x2205df(0x1d2)](_0x1a4913){const _0x49016c=_0x2205df;let _0x502adf,_0x2605c0;switch(_0x1a4913[_0x49016c(0x141)]){case _0x49016c(0x1d1):_0x502adf=_0x1a4913[_0x49016c(0x20f)][_0x49016c(0x14d)];break;case _0x49016c(0x1df):if(_0x2605c0=_0x1a4913[_0x49016c(0x183)],!_0x2605c0)return null;_0x502adf=_0x2605c0[_0x49016c(0x14d)];break;case _0x49016c(0x1c0):_0x502adf=_0x1a4913[_0x49016c(0x14d)];break;case _0x49016c(0x1b9):_0x502adf=_0x1a4913[_0x49016c(0x1ec)];break;case _0x49016c(0x192):_0x502adf=_0x1a4913[_0x49016c(0x1aa)][_0x49016c(0x14d)];break;default:return null;}return _0x502adf[_0x49016c(0x1d3)];}[_0x2205df(0x15a)](_0x501496){const _0x5ed382=_0x2205df;_0x501496[_0x5ed382(0x200)](_0x39cd1d=>{const _0x43429b=_0x5ed382,_0x22ebc9=_0x39cd1d[_0x43429b(0x18e)]();_0x22ebc9[_0x43429b(0x19e)]=_0x39cd1d[_0x43429b(0x19e)],_0x22ebc9[_0x43429b(0x1a7)]=!!_0x39cd1d[_0x43429b(0x1a7)],_0x22ebc9[_0x43429b(0x197)]=_0x39cd1d[_0x43429b(0x197)],_0x22ebc9[_0x43429b(0x186)]+=this[_0x43429b(0x1f6)],_0x39cd1d[_0x43429b(0x1fe)]&&this[_0x43429b(0x178)][_0x43429b(0x134)](_0x22ebc9),this[_0x43429b(0x1e6)][_0x43429b(0x1c2)](_0x22ebc9);});}[_0x2205df(0x1b6)](_0x3e9a80){const _0x541512=_0x2205df,_0x14878d=this[_0x541512(0x161)][_0x541512(0x198)][_0x541512(0x19f)](_0x541512(0x1be)),_0x3a2e22=this[_0x541512(0x161)][_0x541512(0x148)];_0x3e9a80||(_0x3e9a80=_0x50e247(_0x3a2e22,_0x541512(0x171))),_0x14878d[_0x541512(0x1ce)](_0x3e9a80,{'title':_0x50e247(_0x3a2e22,_0x541512(0x1a5)),'namespace':_0x541512(0x1ae)}),this[_0x541512(0x1c7)]=!0x0,clearTimeout(this[_0x541512(0x15e)]),this[_0x541512(0x1a0)]=[],this[_0x541512(0x161)][_0x541512(0x198)][_0x541512(0x19f)](_0x1d0dff)[_0x541512(0x1fd)]();}[_0x2205df(0x123)](){const _0x43b299=_0x2205df;this[_0x43b299(0x1ab)]||(this[_0x43b299(0x1ab)]=this[_0x43b299(0x161)][_0x43b299(0x198)][_0x43b299(0x19f)](_0x568e23)[_0x43b299(0x134)](_0x50e247(this[_0x43b299(0x161)][_0x43b299(0x148)],_0x43b299(0x1cc))));}[_0x2205df(0x20d)](){const _0x1d3ba2=_0x2205df;this[_0x1d3ba2(0x1ab)]&&(this[_0x1d3ba2(0x161)][_0x1d3ba2(0x198)][_0x1d3ba2(0x19f)](_0x568e23)[_0x1d3ba2(0x12a)](this[_0x1d3ba2(0x1ab)]),this[_0x1d3ba2(0x1ab)]=null);}[_0x2205df(0x1ff)](_0x2549e7){const _0x444e5b=_0x2205df,_0x7e0c71=_0x2549e7[_0x444e5b(0x13f)](_0xe978b5=>_0xe978b5[_0x444e5b(0x1a1)]());return this[_0x444e5b(0x118)][_0x444e5b(0x125)](_0x7e0c71);}[_0x2205df(0x1f5)](_0x31a392,_0x5b1f91){const _0x51f8a5=_0x2205df;return this[_0x51f8a5(0x118)][_0x51f8a5(0x1fb)](_0x31a392)[_0x51f8a5(0x13f)]((_0x4c087e,_0x688200)=>{const _0x5ae260=_0x51f8a5,_0x349709=_0x5ae260(0x1e1)==_0x5b1f91[_0x688200][_0x5ae260(0x141)];if(_0x5ae260(0x1cd)==_0x4c087e[_0x5ae260(0x143)]){const _0x43c7c6=_0x4c087e[_0x5ae260(0x20f)][_0x5ae260(0x14d)];!this[_0x5ae260(0x199)][_0x5ae260(0x17c)](_0x43c7c6)&&(this[_0x5ae260(0x199)][_0x5ae260(0x1c1)](_0x5ae260(0x1ee),_0x43c7c6)[_0x5ae260(0x1a9)]=!0x1);}const _0x1ac055=_0x19008c[_0x5ae260(0x140)](_0x4c087e,this[_0x5ae260(0x199)]);return _0x1ac055[_0x5ae260(0x1f2)]=_0x4c087e[_0x5ae260(0x1f2)],_0x1ac055[_0x5ae260(0x1a7)]=_0x349709,_0x1ac055[_0x5ae260(0x19e)]=_0x349709?null:_0x5b1f91[_0x688200][_0x5ae260(0x1b7)],_0x1ac055[_0x5ae260(0x1fe)]=_0x5ae260(0x11c)===_0x5b1f91[_0x688200][_0x5ae260(0x141)],_0x1ac055[_0x5ae260(0x197)]=_0x5b1f91[_0x688200][_0x5ae260(0x197)],_0x1ac055;});}[_0x2205df(0x158)](){const _0x3ecaee=_0x2205df;this[_0x3ecaee(0x1d7)]=!0x0,this[_0x3ecaee(0x12b)]()?this[_0x3ecaee(0x14b)]():this[_0x3ecaee(0x1d7)]=!0x1;}[_0x2205df(0x12b)](){const _0x2d463a=_0x2205df,_0x11c72a=this[_0x2d463a(0x161)][_0x2d463a(0x198)][_0x2d463a(0x19f)](_0x5b10ab)[_0x2d463a(0x1a4)][_0x2d463a(0x19f)](this[_0x2d463a(0x1c8)]);return!this[_0x2d463a(0x161)][_0x2d463a(0x11a)]&&!!_0x11c72a&&_0x11c72a[_0x2d463a(0x1c6)]>0x1&&this[_0x2d463a(0x1d7)];}[_0x2205df(0x20b)](){const _0x599581=_0x2205df;return this[_0x599581(0x1a0)][_0x599581(0x1c6)]>0x0||this[_0x599581(0x12b)]();}}function _0x279a(_0x872800,_0x15578c){const _0x4880e4=_0x4880();return _0x279a=function(_0x279a0e,_0x5c08f2){_0x279a0e=_0x279a0e-0x116;let _0x3fd60e=_0x4880e4[_0x279a0e];return _0x3fd60e;},_0x279a(_0x872800,_0x15578c);}class $ extends Error{}function K(_0x309908,_0x5be625){const _0x2d50d5=_0x2205df;for(const _0x409bb6 of _0x309908)_0x409bb6[_0x2d50d5(0x186)]=_0x5be625++;}class J{[_0x2205df(0x15d)];[_0x2205df(0x144)];constructor(_0x11e5fa){const _0x203441=_0x2205df;this[_0x203441(0x15d)]=_0x11e5fa,this[_0x203441(0x144)]=new WeakMap();}[_0x2205df(0x1cf)](_0x145000){const _0x7bfa35=_0x2205df;let _0x3dbd2b=_0x145000[_0x7bfa35(0x1c6)];for(;_0x3dbd2b--;){const _0x43d4b8=_0x145000[_0x3dbd2b];if(!this[_0x7bfa35(0x15d)][_0x7bfa35(0x191)](_0x43d4b8)){if(!this[_0x7bfa35(0x144)][_0x7bfa35(0x191)](_0x43d4b8)){const _0xcdd059=_0x2be118()[_0x7bfa35(0x203)](0x1,0x12);this[_0x7bfa35(0x144)][_0x7bfa35(0x206)](_0x43d4b8,_0xcdd059);}return this[_0x7bfa35(0x144)][_0x7bfa35(0x19f)](_0x43d4b8);}}}[_0x2205df(0x19a)](_0x3c3388,_0xb29a35){const _0x18a4c9=_0x2205df;if(!_0xb29a35)return;let _0x3272e3=_0x3c3388[_0x18a4c9(0x1c6)];for(;_0x3272e3--;){const _0x2b6d98=_0x3c3388[_0x3272e3];this[_0x18a4c9(0x15d)][_0x18a4c9(0x191)](_0x2b6d98)||this[_0x18a4c9(0x144)][_0x18a4c9(0x206)](_0x2b6d98,_0xb29a35);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19aef5=_0x5f45;function _0x3809(){const _0x56024f=['181354SJsDCv','set','init','_uniqueUsersCount','_users','sessions-register-already-registered','addUser','values','sessionAdd:','getUser','defineMe','sessions-unregister-not-exist','clear','connected','_registeredSessions','3885992yYrMhv','get','state','pluginName','channelConnectedUsers','1431325WzHYVo','listenTo','_createUser','role','545HPSTIs','_handleSessionRemove','register','9066IxFlKm','hiddenInPresenceList','1266794JjpHPG','connection','2233737uTocMe','change:state','forEach','assign','delete','stopListening','Sessions','remove','24zhYrJd','_handleSessionAdd','add','plugins','requires','isOfficialPlugin','isPremiumPlugin','fire','isMe','orderNumber','mySessionId','sessionId','getUserSessions','unregister','has','size','1462830UMWLrc','context','getUserBySessionId','12TjwTzN','allConnectedUsers','getUserRole','channelSessions','user'];_0x3809=function(){return _0x56024f;};return _0x3809();}(function(_0x459bad,_0x5b282a){const _0x42fcaa=_0x5f45,_0x4fc1e1=_0x459bad();while(!![]){try{const _0x26aa20=parseInt(_0x42fcaa(0x14b))/0x1+parseInt(_0x42fcaa(0x16d))/0x2*(-parseInt(_0x42fcaa(0x168))/0x3)+parseInt(_0x42fcaa(0x13d))/0x4+-parseInt(_0x42fcaa(0x146))/0x5*(parseInt(_0x42fcaa(0x149))/0x6)+-parseInt(_0x42fcaa(0x142))/0x7+parseInt(_0x42fcaa(0x155))/0x8*(-parseInt(_0x42fcaa(0x14d))/0x9)+parseInt(_0x42fcaa(0x165))/0xa;if(_0x26aa20===_0x5b282a)break;else _0x4fc1e1['push'](_0x4fc1e1['shift']());}catch(_0x33bdd8){_0x4fc1e1['push'](_0x4fc1e1['shift']());}}}(_0x3809,0xddb52));import{ContextPlugin as _0x1f374b}from'ckeditor5/src/core.js';import{Collection as _0x57f8da,CKEditorError as _0x4ab5d5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xcff289}from'./websocketgateway.js';import{Users as _0x6ef11d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5f45(_0x2c49b9,_0x190d28){const _0x3809d5=_0x3809();return _0x5f45=function(_0x5f45c7,_0x48672a){_0x5f45c7=_0x5f45c7-0x133;let _0x1c0920=_0x3809d5[_0x5f45c7];return _0x1c0920;},_0x5f45(_0x2c49b9,_0x190d28);}export class Sessions extends _0x1f374b{[_0x19aef5(0x16b)];[_0x19aef5(0x141)];[_0x19aef5(0x169)];[_0x19aef5(0x13c)];[_0x19aef5(0x170)];[_0x19aef5(0x171)];static get[_0x19aef5(0x140)](){const _0x540bf6=_0x19aef5;return _0x540bf6(0x153);}static get[_0x19aef5(0x15a)](){return!0x0;}static get[_0x19aef5(0x15b)](){return!0x0;}static get[_0x19aef5(0x159)](){return[_0xcff289,_0x6ef11d];}constructor(_0xe7fc3e){const _0x1c07fb=_0x19aef5;super(_0xe7fc3e),this[_0x1c07fb(0x16b)]=new Map(),this[_0x1c07fb(0x141)]=new Map(),this[_0x1c07fb(0x169)]=new _0x57f8da(),this[_0x1c07fb(0x13c)]=new Map(),this[_0x1c07fb(0x170)]=0x0,this[_0x1c07fb(0x171)]=this[_0x1c07fb(0x166)][_0x1c07fb(0x158)][_0x1c07fb(0x13e)](_0x6ef11d);}[_0x19aef5(0x16f)](){const _0x4cb004=_0x19aef5,_0x157c28=this[_0x4cb004(0x166)][_0x4cb004(0x158)][_0x4cb004(0x13e)](_0xcff289);this[_0x4cb004(0x143)](_0x157c28,_0x4cb004(0x14e),(_0x1d3c75,_0x25e972,_0x4af14f)=>{const _0x49571d=_0x4cb004;if(_0x49571d(0x13b)!==_0x4af14f)this[_0x49571d(0x16b)][_0x49571d(0x14f)](_0x1ce67b=>_0x1ce67b[_0x49571d(0x13a)]()),this[_0x49571d(0x141)][_0x49571d(0x14f)](_0x5459bf=>_0x5459bf[_0x49571d(0x13a)]()),this[_0x49571d(0x169)][_0x49571d(0x13a)]();else{for(const [_0x2a8b6a,_0x43cc41]of this[_0x49571d(0x13c)])for(const _0x430167 of _0x43cc41)this[_0x49571d(0x156)](_0x2a8b6a,_0x430167);}}),this[_0x4cb004(0x144)](_0x157c28[_0x4cb004(0x14c)]['me'],!0x0);}[_0x19aef5(0x148)](_0x3fd8c1,_0x152eb4){const _0x16f952=_0x19aef5;if(this[_0x16f952(0x13c)][_0x16f952(0x163)](_0x3fd8c1))throw new _0x4ab5d5(_0x16f952(0x133),null,{'channelId':_0x3fd8c1});this[_0x16f952(0x13c)][_0x16f952(0x16e)](_0x3fd8c1,_0x152eb4),this[_0x16f952(0x16b)][_0x16f952(0x16e)](_0x3fd8c1,new _0x57f8da()),this[_0x16f952(0x141)][_0x16f952(0x16e)](_0x3fd8c1,new _0x57f8da()),this[_0x16f952(0x143)](_0x152eb4,_0x16f952(0x157),(_0x834a4b,_0x536920)=>this[_0x16f952(0x156)](_0x3fd8c1,_0x536920)),this[_0x16f952(0x143)](_0x152eb4,_0x16f952(0x154),(_0x28457c,_0x46af70)=>this[_0x16f952(0x147)](_0x3fd8c1,_0x46af70));for(const _0x2b49b6 of _0x152eb4)this[_0x16f952(0x156)](_0x3fd8c1,_0x2b49b6);}[_0x19aef5(0x162)](_0x4965de){const _0x206faa=_0x19aef5;if(!this[_0x206faa(0x13c)][_0x206faa(0x163)](_0x4965de))throw new _0x4ab5d5(_0x206faa(0x139),null,{'channelId':_0x4965de});const _0x4dc0fc=this[_0x206faa(0x13c)][_0x206faa(0x13e)](_0x4965de);this[_0x206faa(0x152)](_0x4dc0fc);for(const _0x59eaef of _0x4dc0fc)_0x206faa(0x13b)===this[_0x206faa(0x166)][_0x206faa(0x158)][_0x206faa(0x13e)](_0xcff289)[_0x206faa(0x13f)]&&this[_0x206faa(0x147)](_0x4965de,_0x59eaef);this[_0x206faa(0x13c)][_0x206faa(0x151)](_0x4965de),this[_0x206faa(0x16b)][_0x206faa(0x151)](_0x4965de),this[_0x206faa(0x141)][_0x206faa(0x151)](_0x4965de);}get[_0x19aef5(0x15f)](){const _0xb9a22f=_0x19aef5;return this[_0xb9a22f(0x166)][_0xb9a22f(0x158)][_0xb9a22f(0x13e)](_0xcff289)[_0xb9a22f(0x14c)][_0xb9a22f(0x160)];}[_0x19aef5(0x167)](_0x4b18bf){const _0x36fec8=_0x19aef5;for(const _0x42b5b5 of this[_0x36fec8(0x16b)][_0x36fec8(0x135)]())for(const _0x3c3258 of _0x42b5b5)if(_0x3c3258['id']===_0x4b18bf)return _0x3c3258[_0x36fec8(0x16c)];}[_0x19aef5(0x161)](_0x478c7a,_0x2141c5){const _0x54401f=_0x19aef5,_0x5a1297=_0x2141c5?[this[_0x54401f(0x16b)][_0x54401f(0x13e)](_0x2141c5)]:this[_0x54401f(0x16b)][_0x54401f(0x135)](),_0x45b77a=new Set();for(const _0x326bbd of _0x5a1297)for(const _0x29618b of _0x326bbd)_0x29618b[_0x54401f(0x16c)]['id']===_0x478c7a['id']&&_0x45b77a[_0x54401f(0x157)](_0x29618b['id']);return _0x45b77a;}[_0x19aef5(0x16a)](_0x41ec2e){const _0x272762=_0x19aef5;for(const _0x2478a1 of this[_0x272762(0x16b)][_0x272762(0x135)]())for(const _0x407870 of _0x2478a1)if(_0x407870[_0x272762(0x16c)]===_0x41ec2e)return _0x407870[_0x272762(0x145)];}[_0x19aef5(0x156)](_0x5d439c,_0x40f0b8){const _0x3e518b=_0x19aef5;if(_0x3e518b(0x13b)!==this[_0x3e518b(0x166)][_0x3e518b(0x158)][_0x3e518b(0x13e)](_0xcff289)[_0x3e518b(0x13f)])return;const _0x54bdd5=_0x40f0b8[_0x3e518b(0x16c)],_0x26675c=this[_0x3e518b(0x171)][_0x3e518b(0x137)](_0x54bdd5['id'])||this[_0x3e518b(0x144)](_0x54bdd5),_0xc535e4=Object[_0x3e518b(0x150)]({},_0x40f0b8,{'user':_0x26675c});if(this[_0x3e518b(0x16b)][_0x3e518b(0x13e)](_0x5d439c)[_0x3e518b(0x157)](_0xc535e4),!_0x54bdd5[_0x3e518b(0x14a)]){const _0x46f6ec=this[_0x3e518b(0x141)][_0x3e518b(0x13e)](_0x5d439c);_0x46f6ec[_0x3e518b(0x163)](_0x26675c['id'])||_0x46f6ec[_0x3e518b(0x157)](_0x26675c),this[_0x3e518b(0x169)][_0x3e518b(0x163)](_0x26675c['id'])||_0x54bdd5[_0x3e518b(0x14a)]||this[_0x3e518b(0x169)][_0x3e518b(0x157)](_0x26675c,_0x26675c[_0x3e518b(0x15d)]?0x0:void 0x0);}this[_0x3e518b(0x15c)](_0x3e518b(0x136)+_0x5d439c,{'channelId':_0x5d439c,'session':_0xc535e4});}[_0x19aef5(0x147)](_0x4e8d2d,_0x42d5e1){const _0x12d616=_0x19aef5;if(_0x12d616(0x13b)!==this[_0x12d616(0x166)][_0x12d616(0x158)][_0x12d616(0x13e)](_0xcff289)[_0x12d616(0x13f)])return;const _0x439e38=this[_0x12d616(0x141)][_0x12d616(0x13e)](_0x4e8d2d),_0x188a90=_0x42d5e1[_0x12d616(0x16c)];_0x188a90['id']&&(this[_0x12d616(0x16b)][_0x12d616(0x13e)](_0x4e8d2d)[_0x12d616(0x154)](_0x42d5e1['id']),_0x439e38[_0x12d616(0x163)](_0x188a90['id'])&&!this[_0x12d616(0x161)](_0x188a90,_0x4e8d2d)[_0x12d616(0x164)]&&_0x439e38[_0x12d616(0x154)](_0x188a90['id']),this[_0x12d616(0x169)][_0x12d616(0x13e)](_0x188a90['id'])&&!this[_0x12d616(0x161)](_0x188a90)[_0x12d616(0x164)]&&this[_0x12d616(0x169)][_0x12d616(0x154)](_0x188a90['id']));}[_0x19aef5(0x144)](_0x1f5188,_0x2bef98){const _0xa4fbb1=_0x19aef5,_0x5d6bf9=this[_0xa4fbb1(0x171)][_0xa4fbb1(0x134)](_0x1f5188);return _0x2bef98&&this[_0xa4fbb1(0x171)][_0xa4fbb1(0x138)](_0x1f5188['id']),_0x5d6bf9[_0xa4fbb1(0x15e)]=this[_0xa4fbb1(0x170)]++,_0x5d6bf9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14f023=_0x2012;(function(_0x33cc6d,_0x189f58){const _0xce6add=_0x2012,_0x5d21c2=_0x33cc6d();while(!![]){try{const _0x43e5d8=-parseInt(_0xce6add(0xb0))/0x1+-parseInt(_0xce6add(0x9b))/0x2+-parseInt(_0xce6add(0xa2))/0x3*(parseInt(_0xce6add(0xc9))/0x4)+parseInt(_0xce6add(0xf9))/0x5+-parseInt(_0xce6add(0xca))/0x6*(parseInt(_0xce6add(0xa8))/0x7)+-parseInt(_0xce6add(0xd2))/0x8+parseInt(_0xce6add(0xa5))/0x9*(parseInt(_0xce6add(0xdd))/0xa);if(_0x43e5d8===_0x189f58)break;else _0x5d21c2['push'](_0x5d21c2['shift']());}catch(_0x1a8aff){_0x5d21c2['push'](_0x5d21c2['shift']());}}}(_0x43eb,0x77b4c));import{Plugin as _0x56f08b}from'ckeditor5/src/core.js';import{global as _0x45f07a,DomEmitterMixin as _0x273ace}from'ckeditor5/src/utils.js';function _0x2012(_0x460414,_0x16d947){const _0x43ebc4=_0x43eb();return _0x2012=function(_0x2012cd,_0x4a4971){_0x2012cd=_0x2012cd-0x9a;let _0x3c2781=_0x43ebc4[_0x2012cd];return _0x3c2781;},_0x2012(_0x460414,_0x16d947);}import{Sessions as _0x4e7c50}from'./sessions.js';import{ModelLiveRange as _0x46eb3b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x56f08b{[_0x14f023(0x11e)]=new(_0x273ace())();static get[_0x14f023(0xb5)](){return[_0x4e7c50];}static get[_0x14f023(0xbc)](){const _0x3de826=_0x14f023;return _0x3de826(0x9c);}static get[_0x14f023(0x108)](){return!0x0;}static get[_0x14f023(0xff)](){return!0x0;}[_0x14f023(0xa1)](){const _0x2e6587=_0x14f023,_0x1c147c=this[_0x2e6587(0xa9)],_0x52d014=_0x1c147c[_0x2e6587(0x121)][_0x2e6587(0xe4)](_0x4e7c50);_0x1c147c[_0x2e6587(0x10a)][_0x2e6587(0x10f)](_0x2e6587(0x101))[_0x2e6587(0xd4)]({'model':_0x2e6587(0x11a),'view':(_0x284573,{writer:_0x4c59ad})=>function(_0x3b663f,_0x124b97,_0x251b64,_0x3145c7){const _0x5e75ce=_0x2e6587,_0x485b80=_0x3b663f[_0x5e75ce(0xaf)][_0x5e75ce(0xc3)](':')[0x2],_0xc8451d=_0x251b64[_0x5e75ce(0xea)](_0x485b80);if(!_0xc8451d||_0x485b80===_0x251b64[_0x5e75ce(0xdc)])return;if(!_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x100)][_0x5e75ce(0xc6)](_0x3b663f[_0x5e75ce(0xda)][_0x5e75ce(0xfc)],_0x5e75ce(0x11d)))return;const _0x530c8f={'class':_0x5e75ce(0xbd)+_0xc8451d[_0x5e75ce(0x11b)][_0x5e75ce(0xed)](),'data-name':_0xc8451d[_0x5e75ce(0x9d)],'data-session-id':_0x485b80},_0x135d19=_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x11c)][_0x5e75ce(0xe4)](_0x3b663f[_0x5e75ce(0xaf)]),_0x1363b7=_0x135d19[_0x5e75ce(0xb6)](),_0x25ee74=_0x1363b7[_0x5e75ce(0xd1)],_0x176d9e=_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x100)];if(_0x25ee74&&_0x176d9e[_0x5e75ce(0x9e)](_0x25ee74)&&_0x176d9e[_0x5e75ce(0xd9)](_0x25ee74)&&!_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x11c)][_0x5e75ce(0xe4)](_0x5e75ce(0x9f)+_0x485b80)[_0x5e75ce(0x115)]()[_0x5e75ce(0xa6)])return;const _0x3e5f70=_0x1363b7[_0x5e75ce(0xa4)];return _0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x100)][_0x5e75ce(0xef)](_0x3e5f70)&&!_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0xcd)](_0x3e5f70)&&(_0x530c8f[_0x5e75ce(0xcc)]=!0x1),function(_0x3f9a72,_0x10d97d,_0x19e98e){const _0x4a9b39=_0x5e75ce,_0x12f674=_0x3f9a72[_0x4a9b39(0xe6)](_0x4a9b39(0xc1),_0x10d97d);return _0x3f9a72[_0x4a9b39(0xf7)](_0x4a9b39(0xb2),!0x0,_0x12f674),_0x12f674[_0x4a9b39(0xde)]=function(_0xfa3505){const _0x426ae1=_0x4a9b39,_0x135d37=this[_0x426ae1(0xc8)](_0xfa3505),_0x9d6240=document[_0x426ae1(0xd0)](_0x426ae1(0xc1));return _0x9d6240[_0x426ae1(0xac)][_0x426ae1(0x103)](_0x426ae1(0x9a)),_0x9d6240[_0x426ae1(0xb8)](_0x426ae1(0xcc),_0x426ae1(0x112)),_0x9d6240[_0x426ae1(0xb8)](_0x426ae1(0xf3),_0x426ae1(0x112)),_0x9d6240[_0x426ae1(0xd7)]=_0x19e98e[_0x426ae1(0x9d)],_0x135d37[_0x426ae1(0xad)]=_0x426ae1(0xbb)+_0x9d6240[_0x426ae1(0xb9)]+'',_0x135d37[_0x426ae1(0xbe)](_0x426ae1(0x11f),()=>{const _0x513240=_0x426ae1;_0x135d37[_0x513240(0xac)][_0x513240(0x103)](_0x513240(0xdf));}),_0x135d37[_0x426ae1(0xbe)](_0x426ae1(0x10c),()=>{const _0x1988fc=_0x426ae1;_0x135d37[_0x1988fc(0xac)][_0x1988fc(0xfb)](_0x1988fc(0xdf));}),_0x135d37;},_0x12f674[_0x4a9b39(0x111)]=function(_0x18f475){const _0x394004=_0x4a9b39;return!(!this[_0x394004(0xbf)](_0x394004(0xb2))||!_0x18f475[_0x394004(0xbf)](_0x394004(0xb2))||this[_0x394004(0xba)](_0x394004(0x124))!=_0x18f475[_0x394004(0xba)](_0x394004(0x124)));},_0x12f674;}(_0x124b97,_0x530c8f,_0xc8451d);}(_0x284573,_0x4c59ad,_0x52d014,_0x1c147c)}),_0x1c147c[_0x2e6587(0x10a)][_0x2e6587(0x10f)](_0x2e6587(0x101))[_0x2e6587(0xb7)]({'model':_0x2e6587(0x10e),'view':_0x3d0d03=>function(_0x12aa41,_0x417920){const _0x4979f5=_0x2e6587,_0x247883=_0x12aa41[_0x4979f5(0xaf)][_0x4979f5(0xc3)](':')[0x2];if(_0x247883===_0x417920[_0x4979f5(0xdc)])return null;const _0x514194=_0x417920[_0x4979f5(0xea)](_0x247883);if(!_0x514194)return{'id':_0x247883,'classes':[]};return{'id':_0x247883,'classes':[_0x4979f5(0x118),_0x514194[_0x4979f5(0x11b)][_0x4979f5(0xd5)]()],'attributes':{'data-session-id':_0x247883},'priority':0x7d0+_0x514194[_0x4979f5(0xf5)]};}(_0x3d0d03,_0x52d014)}),function(_0x1fc11){const _0x48feb2=_0x2e6587,_0x15f0f5=_0x1fc11[_0x48feb2(0xfe)],_0x22f63c=new Map(),_0x185618=_0x1fc11[_0x48feb2(0x121)][_0x48feb2(0xe4)](_0x4e7c50);_0x15f0f5[_0x48feb2(0x11c)]['on'](_0x48feb2(0xe2),(_0x3c9fe8,_0x254900,_0x6ea861,_0x32f037)=>{const _0x300611=_0x48feb2;if(!_0x32f037&&_0x22f63c[_0x300611(0xe4)](_0x254900[_0x300611(0x9d)]))return _0x22f63c[_0x300611(0xe4)](_0x254900[_0x300611(0x9d)])[_0x300611(0xe0)](),void _0x22f63c[_0x300611(0xa7)](_0x254900[_0x300611(0x9d)]);const _0x24b2bd=_0x254900[_0x300611(0x9d)][_0x300611(0xc3)](':')[0x2];if(_0x24b2bd===_0x185618[_0x300611(0xdc)])return;const _0x596ae3=_0x300611(0x117)+_0x24b2bd;_0x15f0f5[_0x300611(0x11c)][_0x300611(0xd6)](_0x596ae3)&&_0x1fc11[_0x300611(0x123)][_0x300611(0xec)](_0x596ae3),_0x254900['on'](_0x300611(0xee),(_0x466343,_0x59ae27,_0x506517)=>{const _0x3ee0ca=_0x300611;if(_0x3ee0ca(0xd8)!=_0x59ae27[_0x3ee0ca(0xe5)][_0x3ee0ca(0x105)]&&_0x3ee0ca(0xd8)==_0x254900[_0x3ee0ca(0x115)]()[_0x3ee0ca(0xe5)][_0x3ee0ca(0x105)]&&!_0x22f63c[_0x3ee0ca(0xd6)](_0x254900[_0x3ee0ca(0x9d)])){const _0x233d4c=_0x15f0f5[_0x3ee0ca(0x100)][_0x3ee0ca(0xaa)](_0x506517[_0x3ee0ca(0xeb)]);if(_0x233d4c){const _0x1dbd6a=_0x46eb3b[_0x3ee0ca(0x116)](_0x233d4c);_0x22f63c[_0x3ee0ca(0xc4)](_0x254900[_0x3ee0ca(0x9d)],_0x1dbd6a),_0x1dbd6a['on'](_0x3ee0ca(0xee),(_0x22f2c7,_0x733c49,_0x1358bc)=>{const _0x357786=_0x3ee0ca;if(_0x357786(0xd8)==_0x1dbd6a[_0x357786(0xe5)][_0x357786(0x105)]){const _0x118e88=_0x15f0f5[_0x357786(0x100)][_0x357786(0xaa)](_0x1358bc[_0x357786(0xeb)]);_0x118e88?(_0x1dbd6a[_0x357786(0xfc)]=_0x118e88[_0x357786(0xfc)],_0x1dbd6a[_0x357786(0xcf)]=_0x118e88[_0x357786(0xcf)]):(_0x22f63c[_0x357786(0xa7)](_0x254900[_0x357786(0x9d)]),_0x1dbd6a[_0x357786(0xe0)]());}});}}});}),_0x15f0f5[_0x48feb2(0x107)]['on'](_0x48feb2(0x114),()=>{const _0x5d56d6=_0x48feb2;_0x22f63c[_0x5d56d6(0xa0)]>0x0&&_0x15f0f5[_0x5d56d6(0xce)]({'isUndoable':!0x1},_0x2fe8bb=>{const _0x364e07=_0x5d56d6;for(const [_0x4c3158,_0x1ce8f7]of _0x22f63c)_0x364e07(0xd8)==_0x15f0f5[_0x364e07(0x11c)][_0x364e07(0xe4)](_0x4c3158)[_0x364e07(0x115)]()[_0x364e07(0xe5)][_0x364e07(0x105)]&&(te(_0x4c3158[_0x364e07(0xc3)](':')[0x2],_0x1ce8f7[_0x364e07(0xb3)](),_0x15f0f5,_0x2fe8bb),_0x1ce8f7[_0x364e07(0xe0)]());_0x22f63c[_0x364e07(0xae)]();});});}(_0x1c147c),this[_0x2e6587(0x11e)][_0x2e6587(0x106)](_0x45f07a[_0x2e6587(0x107)],_0x2e6587(0x10d),(_0x5388c4,{key:_0x1cc465})=>{const _0x4bebcc=_0x2e6587;_0x4bebcc(0xf1)===_0x1cc465&&function(_0x5aaa41){const _0x4d8aa0=_0x4bebcc;_0x5aaa41[_0x4d8aa0(0x123)][_0x4d8aa0(0xcb)][_0x4d8aa0(0x114)](_0x3fd5a6=>{const _0x2d1d2b=_0x4d8aa0;for(const _0x1db2b7 of _0x5aaa41[_0x2d1d2b(0xfe)][_0x2d1d2b(0x11c)]){if(!_0x1db2b7[_0x2d1d2b(0x9d)][_0x2d1d2b(0x102)](_0x2d1d2b(0x11a)))continue;const _0x4ef918=_0x5aaa41[_0x2d1d2b(0x123)][_0x2d1d2b(0xe9)][_0x2d1d2b(0xe7)](_0x1db2b7[_0x2d1d2b(0x9d)]);if(_0x4ef918){for(const _0x232fdc of _0x4ef918)_0x3fd5a6[_0x2d1d2b(0xc2)](_0x2d1d2b(0xdf),_0x232fdc);}}});}(_0x1c147c);},{'useCapture':!0x0});}[_0x14f023(0xf2)](){const _0x56a445=_0x14f023,_0x4a158c=this[_0x56a445(0xa9)],_0x1a6e26=_0x4a158c[_0x56a445(0xc5)][_0x56a445(0xe4)](_0x56a445(0xe8));_0x1a6e26&&_0x4a158c[_0x56a445(0xfe)]['on'](_0x56a445(0xdb),(_0x3e7f0b,_0x4162d7)=>{const _0x58bca8=_0x56a445,_0x5cf411=_0x4162d7[0x0];if(!_0x5cf411[_0x58bca8(0xfa)])return;if(_0x58bca8(0x10b)!=_0x5cf411[_0x58bca8(0xf4)]||!_0x5cf411[_0x58bca8(0x9d)][_0x58bca8(0x102)](_0x58bca8(0xc7)))return;const _0x56da97=_0x5cf411[_0x58bca8(0xa3)];_0x1a6e26[_0x58bca8(0x120)][_0x58bca8(0xd6)](_0x56da97)&&(_0x5cf411[_0x58bca8(0x119)]=_0x5cf411[_0x58bca8(0xf8)]?_0x4a158c[_0x58bca8(0xfe)][_0x58bca8(0xd3)](_0x5cf411[_0x58bca8(0xf8)][_0x58bca8(0xfc)],_0x5cf411[_0x58bca8(0xf8)][_0x58bca8(0xcf)]):null);},{'priority':_0x56a445(0x122)});}[_0x14f023(0x110)](){const _0x6019ab=_0x14f023;return this[_0x6019ab(0x11e)][_0x6019ab(0xab)](),super[_0x6019ab(0x110)]();}[_0x14f023(0x113)](){const _0x54055e=_0x14f023,_0x501790=this[_0x54055e(0xa9)],_0x49abe2=_0x501790[_0x54055e(0xfe)][_0x54055e(0x107)],_0x53e0ad=_0x501790[_0x54055e(0x121)][_0x54055e(0xe4)](_0x4e7c50);_0x501790[_0x54055e(0xfe)][_0x54055e(0xce)]({'isUndoable':!0x1},_0x32a46b=>{const _0x346efa=_0x54055e,_0x1ef14a=_0x346efa(0x9f)+_0x53e0ad[_0x346efa(0xdc)],_0x5c9197=_0x346efa(0x117)+_0x53e0ad[_0x346efa(0xdc)],_0xbedc5a=_0x501790[_0x346efa(0xfe)][_0x346efa(0x11c)][_0x346efa(0xd6)](_0x1ef14a);_0x501790[_0x346efa(0x123)][_0x346efa(0xcb)][_0x346efa(0xe1)]?te(_0x53e0ad[_0x346efa(0xdc)],_0x49abe2[_0x346efa(0xe3)][_0x346efa(0xb1)](),_0x501790[_0x346efa(0xfe)],_0x32a46b):_0xbedc5a&&(_0x32a46b[_0x346efa(0xfd)](_0x1ef14a),_0x32a46b[_0x346efa(0xfd)](_0x5c9197));});}}function te(_0x18dea8,_0x426c84,_0x4b180e,_0x8ebfbc){const _0x1f5e05=_0x14f023,_0x47e53c=_0x1f5e05(0x9f)+_0x18dea8,_0x1b1976=_0x1f5e05(0x117)+_0x18dea8,_0x4b8557=_0x426c84[_0x1f5e05(0x104)]();let _0x85109c=_0x426c84[_0x1f5e05(0xfc)];if(_0x4b8557&&_0x4b8557['is'](_0x1f5e05(0xf6),_0x1f5e05(0x109))){const _0x5b23bd=function(_0x597630,_0x48b213){const _0x561718=_0x1f5e05;for(const _0x44741e of _0x597630[_0x561718(0xc0)]())if(_0x48b213[_0x561718(0x100)][_0x561718(0xc6)](_0x44741e,_0x561718(0x11d)))return _0x44741e;}(_0x426c84,_0x4b180e);_0x5b23bd&&(_0x85109c=_0x5b23bd,_0x426c84=_0x8ebfbc[_0x1f5e05(0xd3)](_0x85109c));}const _0x11388f=_0x8ebfbc[_0x1f5e05(0xd3)](_0x85109c);_0x4b180e[_0x1f5e05(0x11c)][_0x1f5e05(0xd6)](_0x47e53c)?(_0x8ebfbc[_0x1f5e05(0xf0)](_0x47e53c,{'range':_0x426c84}),_0x8ebfbc[_0x1f5e05(0xf0)](_0x1b1976,{'range':_0x11388f})):(_0x8ebfbc[_0x1f5e05(0xb4)](_0x47e53c,{'range':_0x426c84,'usingOperation':!0x0}),_0x8ebfbc[_0x1f5e05(0xb4)](_0x1b1976,{'range':_0x11388f,'usingOperation':!0x0}));}function _0x43eb(){const _0x433c84=['isSimilar','false','createUserMarkerOperations','change','getRange','fromRange','user:position:','ck-user__selection','newRange','user:position','color','markers','$text','_domEmitter','mouseenter','_createdBatches','plugins','highest','editing','data-session-id','ck-user__marker-tooltip','1203920TPVaYx','UserMarkers','name','isObject','user:range:','size','init','12xqNdrU','batch','parent','3787227qGgOJD','isCollapsed','delete','217RIIIzv','editor','getNearestSelectionRange','stopListening','classList','innerHTML','clear','markerName','957697JWaspM','getFirstRange','userPositionMarker','toRange','addMarker','requires','getStart','markerToHighlight','setAttribute','outerHTML','getAttribute','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','pluginName','ck-user__marker\x20','addEventListener','getCustomProperty','getPositions','span','removeClass','split','set','commands','checkChild','user:','toDomElement','80956bQsmgX','29802IIJNmT','view','contenteditable','hasContent','enqueueChange','end','createElement','nodeAfter','5536912CJlCYt','createRange','markerToElement','getSelectionClass','has','textContent','$graveyard','isInline','markerRange','applyOperation','mySessionId','60dSIrII','render','ck-user__marker_hovered','detach','hasDomSelection','update:user:range','selection','get','root','createUIElement','markerNameToElements','undo','mapper','getUserBySessionId','deletionPosition','reconvertMarker','getMarkerClass','change:range','isLimit','updateMarker','Escape','afterInit','spellcheck','type','orderNumber','element','setCustomProperty','oldRange','2261010eqTJmB','isDocumentOperation','remove','start','removeMarker','model','isPremiumPlugin','schema','editingDowncast','startsWith','add','getContainedElement','rootName','listenTo','document','isOfficialPlugin','tableCell','conversion','marker','mouseleave','keydown','user:range','for','destroy'];_0x43eb=function(){return _0x433c84;};return _0x43eb();}
|
|
23
|
+
const _0x23fd81=_0x4ef7;function _0x4ef7(_0x39bdfe,_0x472518){const _0xd112d4=_0xd112();return _0x4ef7=function(_0x4ef7c0,_0x495228){_0x4ef7c0=_0x4ef7c0-0x108;let _0x4abbc4=_0xd112d4[_0x4ef7c0];return _0x4abbc4;},_0x4ef7(_0x39bdfe,_0x472518);}(function(_0x434872,_0x565f67){const _0x201bbd=_0x4ef7,_0x4e28ce=_0x434872();while(!![]){try{const _0x1a628a=-parseInt(_0x201bbd(0x178))/0x1+-parseInt(_0x201bbd(0x16a))/0x2+-parseInt(_0x201bbd(0x16c))/0x3*(parseInt(_0x201bbd(0x18a))/0x4)+parseInt(_0x201bbd(0x127))/0x5*(parseInt(_0x201bbd(0x10f))/0x6)+-parseInt(_0x201bbd(0x130))/0x7*(-parseInt(_0x201bbd(0x15e))/0x8)+-parseInt(_0x201bbd(0x187))/0x9*(-parseInt(_0x201bbd(0x116))/0xa)+parseInt(_0x201bbd(0x143))/0xb;if(_0x1a628a===_0x565f67)break;else _0x4e28ce['push'](_0x4e28ce['shift']());}catch(_0xe4bca0){_0x4e28ce['push'](_0x4e28ce['shift']());}}}(_0xd112,0x5aa2b));function _0xd112(){const _0xfbbf19=['set','_domEmitter','ck-user__marker-tooltip','4254849BGIXVq','mapper','mouseleave','4SZkVRC','toDomElement','clear','afterInit','oldRange','rootName','textContent','addEventListener','document','getStart','render','getSelectionClass','change','isCollapsed','init','addMarker','ck-user__marker_hovered','2670AoNPZQ','setCustomProperty','batch','getFirstRange','checkChild','_createdBatches','hasDomSelection','10ygPlCL','createElement','nodeAfter','plugins','commands','setAttribute','user:position','startsWith','isDocumentOperation','parent','ck-user__marker\x20','spellcheck','updateMarker','isObject','markerToElement','undo','size','3340NZlpCA','newRange','pluginName','markerNameToElements','deletionPosition','selection','reconvertMarker','removeMarker','model','234283pOLAvV','add','schema','split','end','markers','getContainedElement','editor','classList','getMarkerClass','span','ck-user__selection','user:range','isPremiumPlugin','isOfficialPlugin','getNearestSelectionRange','isInline','for','removeClass','1430682ZwfrvB','listenTo','change:range','detach','keydown','$text','getPositions','orderNumber','getAttribute','type','markerRange','hasContent','tableCell','mySessionId','user:range:','highest','name','false','delete','marker','createUIElement','user:position:','user:','markerToHighlight','applyOperation','userPositionMarker','UserMarkers','152rvWFhh','requires','createRange','fromRange','data-session-id','stopListening','getCustomProperty','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','enqueueChange','getRange','contenteditable','view','1422988qzbaXp','root','922359jdOyZJ','conversion','getUserBySessionId','editingDowncast','$graveyard','has','createUserMarkerOperations','color','Escape','outerHTML','markerName','element','145804ksRzwL','editing','toRange','get','isLimit','innerHTML','start','destroy','mouseenter','isSimilar','remove','update:user:range'];_0xd112=function(){return _0xfbbf19;};return _0xd112();}import{Plugin as _0x87c7d5}from'ckeditor5/src/core.js';import{global as _0x427e66,DomEmitterMixin as _0x337d05}from'ckeditor5/src/utils.js';import{Sessions as _0x714acd}from'./sessions.js';import{ModelLiveRange as _0x2413e0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x87c7d5{[_0x23fd81(0x185)]=new(_0x337d05())();static get[_0x23fd81(0x15f)](){return[_0x714acd];}static get[_0x23fd81(0x129)](){const _0x427b62=_0x23fd81;return _0x427b62(0x15d);}static get[_0x23fd81(0x13e)](){return!0x0;}static get[_0x23fd81(0x13d)](){return!0x0;}[_0x23fd81(0x10c)](){const _0x5785eb=_0x23fd81,_0x46659d=this[_0x5785eb(0x137)],_0x2f928a=_0x46659d[_0x5785eb(0x119)][_0x5785eb(0x17b)](_0x714acd);_0x46659d[_0x5785eb(0x16d)][_0x5785eb(0x141)](_0x5785eb(0x16f))[_0x5785eb(0x124)]({'model':_0x5785eb(0x11c),'view':(_0x44680b,{writer:_0x38b4ce})=>function(_0x375064,_0xf3886f,_0x1dfc8f,_0x1f5f05){const _0x10b3f1=_0x5785eb,_0x24b2b4=_0x375064[_0x10b3f1(0x176)][_0x10b3f1(0x133)](':')[0x2],_0x2da5c2=_0x1dfc8f[_0x10b3f1(0x16e)](_0x24b2b4);if(!_0x2da5c2||_0x24b2b4===_0x1dfc8f[_0x10b3f1(0x150)])return;if(!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)][_0x10b3f1(0x113)](_0x375064[_0x10b3f1(0x14d)][_0x10b3f1(0x17e)],_0x10b3f1(0x148)))return;const _0x3877ef={'class':_0x10b3f1(0x120)+_0x2da5c2[_0x10b3f1(0x173)][_0x10b3f1(0x139)](),'data-name':_0x2da5c2[_0x10b3f1(0x153)],'data-session-id':_0x24b2b4},_0x3745e3=_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x135)][_0x10b3f1(0x17b)](_0x375064[_0x10b3f1(0x176)]),_0x421074=_0x3745e3[_0x10b3f1(0x193)](),_0x1bb16d=_0x421074[_0x10b3f1(0x118)],_0x3a7d8a=_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)];if(_0x1bb16d&&_0x3a7d8a[_0x10b3f1(0x123)](_0x1bb16d)&&_0x3a7d8a[_0x10b3f1(0x140)](_0x1bb16d)&&!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x135)][_0x10b3f1(0x17b)](_0x10b3f1(0x151)+_0x24b2b4)[_0x10b3f1(0x167)]()[_0x10b3f1(0x10b)])return;const _0x3234e3=_0x421074[_0x10b3f1(0x11f)];return _0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)][_0x10b3f1(0x17c)](_0x3234e3)&&!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x14e)](_0x3234e3)&&(_0x3877ef[_0x10b3f1(0x168)]=!0x1),function(_0x241749,_0x34a235,_0x520573){const _0x4b0ad0=_0x10b3f1,_0x1ba268=_0x241749[_0x4b0ad0(0x157)](_0x4b0ad0(0x13a),_0x34a235);return _0x241749[_0x4b0ad0(0x110)](_0x4b0ad0(0x15c),!0x0,_0x1ba268),_0x1ba268[_0x4b0ad0(0x108)]=function(_0x1955f2){const _0x324c81=_0x4b0ad0,_0xa96c76=this[_0x324c81(0x18b)](_0x1955f2),_0x2faddd=document[_0x324c81(0x117)](_0x324c81(0x13a));return _0x2faddd[_0x324c81(0x138)][_0x324c81(0x131)](_0x324c81(0x186)),_0x2faddd[_0x324c81(0x11b)](_0x324c81(0x168),_0x324c81(0x154)),_0x2faddd[_0x324c81(0x11b)](_0x324c81(0x121),_0x324c81(0x154)),_0x2faddd[_0x324c81(0x190)]=_0x520573[_0x324c81(0x153)],_0xa96c76[_0x324c81(0x17d)]=_0x324c81(0x165)+_0x2faddd[_0x324c81(0x175)]+'',_0xa96c76[_0x324c81(0x191)](_0x324c81(0x180),()=>{const _0x3339b8=_0x324c81;_0xa96c76[_0x3339b8(0x138)][_0x3339b8(0x131)](_0x3339b8(0x10e));}),_0xa96c76[_0x324c81(0x191)](_0x324c81(0x189),()=>{const _0x4dce21=_0x324c81;_0xa96c76[_0x4dce21(0x138)][_0x4dce21(0x182)](_0x4dce21(0x10e));}),_0xa96c76;},_0x1ba268[_0x4b0ad0(0x181)]=function(_0x58a34a){const _0x17d5ac=_0x4b0ad0;return!(!this[_0x17d5ac(0x164)](_0x17d5ac(0x15c))||!_0x58a34a[_0x17d5ac(0x164)](_0x17d5ac(0x15c))||this[_0x17d5ac(0x14b)](_0x17d5ac(0x162))!=_0x58a34a[_0x17d5ac(0x14b)](_0x17d5ac(0x162)));},_0x1ba268;}(_0xf3886f,_0x3877ef,_0x2da5c2);}(_0x44680b,_0x38b4ce,_0x2f928a,_0x46659d)}),_0x46659d[_0x5785eb(0x16d)][_0x5785eb(0x141)](_0x5785eb(0x16f))[_0x5785eb(0x15a)]({'model':_0x5785eb(0x13c),'view':_0x1d4c7f=>function(_0x17daf6,_0x2bbe86){const _0xc019be=_0x5785eb,_0x3c74e6=_0x17daf6[_0xc019be(0x176)][_0xc019be(0x133)](':')[0x2];if(_0x3c74e6===_0x2bbe86[_0xc019be(0x150)])return null;const _0x3225cf=_0x2bbe86[_0xc019be(0x16e)](_0x3c74e6);if(!_0x3225cf)return{'id':_0x3c74e6,'classes':[]};return{'id':_0x3c74e6,'classes':[_0xc019be(0x13b),_0x3225cf[_0xc019be(0x173)][_0xc019be(0x109)]()],'attributes':{'data-session-id':_0x3c74e6},'priority':0x7d0+_0x3225cf[_0xc019be(0x14a)]};}(_0x1d4c7f,_0x2f928a)}),function(_0x5cf37b){const _0x524139=_0x5785eb,_0x4b2253=_0x5cf37b[_0x524139(0x12f)],_0x48f7e0=new Map(),_0x329e91=_0x5cf37b[_0x524139(0x119)][_0x524139(0x17b)](_0x714acd);_0x4b2253[_0x524139(0x135)]['on'](_0x524139(0x183),(_0x40238a,_0x5bb019,_0x48ca1e,_0x39e8c2)=>{const _0x4f7932=_0x524139;if(!_0x39e8c2&&_0x48f7e0[_0x4f7932(0x17b)](_0x5bb019[_0x4f7932(0x153)]))return _0x48f7e0[_0x4f7932(0x17b)](_0x5bb019[_0x4f7932(0x153)])[_0x4f7932(0x146)](),void _0x48f7e0[_0x4f7932(0x155)](_0x5bb019[_0x4f7932(0x153)]);const _0x4efb33=_0x5bb019[_0x4f7932(0x153)][_0x4f7932(0x133)](':')[0x2];if(_0x4efb33===_0x329e91[_0x4f7932(0x150)])return;const _0x4f0f2=_0x4f7932(0x158)+_0x4efb33;_0x4b2253[_0x4f7932(0x135)][_0x4f7932(0x171)](_0x4f0f2)&&_0x5cf37b[_0x4f7932(0x179)][_0x4f7932(0x12d)](_0x4f0f2),_0x5bb019['on'](_0x4f7932(0x145),(_0x26acb8,_0x4bc81e,_0x135c00)=>{const _0x2aca28=_0x4f7932;if(_0x2aca28(0x170)!=_0x4bc81e[_0x2aca28(0x16b)][_0x2aca28(0x18f)]&&_0x2aca28(0x170)==_0x5bb019[_0x2aca28(0x167)]()[_0x2aca28(0x16b)][_0x2aca28(0x18f)]&&!_0x48f7e0[_0x2aca28(0x171)](_0x5bb019[_0x2aca28(0x153)])){const _0x99ff41=_0x4b2253[_0x2aca28(0x132)][_0x2aca28(0x13f)](_0x135c00[_0x2aca28(0x12b)]);if(_0x99ff41){const _0x19ab0a=_0x2413e0[_0x2aca28(0x161)](_0x99ff41);_0x48f7e0[_0x2aca28(0x184)](_0x5bb019[_0x2aca28(0x153)],_0x19ab0a),_0x19ab0a['on'](_0x2aca28(0x145),(_0x474acb,_0x8de8a,_0x1a029d)=>{const _0x3edbfb=_0x2aca28;if(_0x3edbfb(0x170)==_0x19ab0a[_0x3edbfb(0x16b)][_0x3edbfb(0x18f)]){const _0x5602eb=_0x4b2253[_0x3edbfb(0x132)][_0x3edbfb(0x13f)](_0x1a029d[_0x3edbfb(0x12b)]);_0x5602eb?(_0x19ab0a[_0x3edbfb(0x17e)]=_0x5602eb[_0x3edbfb(0x17e)],_0x19ab0a[_0x3edbfb(0x134)]=_0x5602eb[_0x3edbfb(0x134)]):(_0x48f7e0[_0x3edbfb(0x155)](_0x5bb019[_0x3edbfb(0x153)]),_0x19ab0a[_0x3edbfb(0x146)]());}});}}});}),_0x4b2253[_0x524139(0x192)]['on'](_0x524139(0x10a),()=>{const _0x5ed5ec=_0x524139;_0x48f7e0[_0x5ed5ec(0x126)]>0x0&&_0x4b2253[_0x5ed5ec(0x166)]({'isUndoable':!0x1},_0x3e6a64=>{const _0x345f0=_0x5ed5ec;for(const [_0x31eb9e,_0x787d72]of _0x48f7e0)_0x345f0(0x170)==_0x4b2253[_0x345f0(0x135)][_0x345f0(0x17b)](_0x31eb9e)[_0x345f0(0x167)]()[_0x345f0(0x16b)][_0x345f0(0x18f)]&&(Z(_0x31eb9e[_0x345f0(0x133)](':')[0x2],_0x787d72[_0x345f0(0x17a)](),_0x4b2253,_0x3e6a64),_0x787d72[_0x345f0(0x146)]());_0x48f7e0[_0x345f0(0x18c)]();});});}(_0x46659d),this[_0x5785eb(0x185)][_0x5785eb(0x144)](_0x427e66[_0x5785eb(0x192)],_0x5785eb(0x147),(_0x598cb3,{key:_0x2b9a14})=>{const _0x391730=_0x5785eb;_0x391730(0x174)===_0x2b9a14&&function(_0x492107){const _0x319dc1=_0x391730;_0x492107[_0x319dc1(0x179)][_0x319dc1(0x169)][_0x319dc1(0x10a)](_0xcc6f99=>{const _0x5da696=_0x319dc1;for(const _0x4476bf of _0x492107[_0x5da696(0x12f)][_0x5da696(0x135)]){if(!_0x4476bf[_0x5da696(0x153)][_0x5da696(0x11d)](_0x5da696(0x11c)))continue;const _0x4d311d=_0x492107[_0x5da696(0x179)][_0x5da696(0x188)][_0x5da696(0x12a)](_0x4476bf[_0x5da696(0x153)]);if(_0x4d311d){for(const _0x5176a1 of _0x4d311d)_0xcc6f99[_0x5da696(0x142)](_0x5da696(0x10e),_0x5176a1);}}});}(_0x46659d);},{'useCapture':!0x0});}[_0x23fd81(0x18d)](){const _0x12b8b6=_0x23fd81,_0x1d1280=this[_0x12b8b6(0x137)],_0x575c1c=_0x1d1280[_0x12b8b6(0x11a)][_0x12b8b6(0x17b)](_0x12b8b6(0x125));_0x575c1c&&_0x1d1280[_0x12b8b6(0x12f)]['on'](_0x12b8b6(0x15b),(_0x47467d,_0x15bfbd)=>{const _0x24ac0f=_0x12b8b6,_0x365a82=_0x15bfbd[0x0];if(!_0x365a82[_0x24ac0f(0x11e)])return;if(_0x24ac0f(0x156)!=_0x365a82[_0x24ac0f(0x14c)]||!_0x365a82[_0x24ac0f(0x153)][_0x24ac0f(0x11d)](_0x24ac0f(0x159)))return;const _0x215b14=_0x365a82[_0x24ac0f(0x111)];_0x575c1c[_0x24ac0f(0x114)][_0x24ac0f(0x171)](_0x215b14)&&(_0x365a82[_0x24ac0f(0x128)]=_0x365a82[_0x24ac0f(0x18e)]?_0x1d1280[_0x24ac0f(0x12f)][_0x24ac0f(0x160)](_0x365a82[_0x24ac0f(0x18e)][_0x24ac0f(0x17e)],_0x365a82[_0x24ac0f(0x18e)][_0x24ac0f(0x134)]):null);},{'priority':_0x12b8b6(0x152)});}[_0x23fd81(0x17f)](){const _0x4ad7ce=_0x23fd81;return this[_0x4ad7ce(0x185)][_0x4ad7ce(0x163)](),super[_0x4ad7ce(0x17f)]();}[_0x23fd81(0x172)](){const _0x35e486=_0x23fd81,_0x5e7b38=this[_0x35e486(0x137)],_0x4af1e5=_0x5e7b38[_0x35e486(0x12f)][_0x35e486(0x192)],_0x56b6a3=_0x5e7b38[_0x35e486(0x119)][_0x35e486(0x17b)](_0x714acd);_0x5e7b38[_0x35e486(0x12f)][_0x35e486(0x166)]({'isUndoable':!0x1},_0x37dd7c=>{const _0x275107=_0x35e486,_0x2fc941=_0x275107(0x151)+_0x56b6a3[_0x275107(0x150)],_0x5e9f71=_0x275107(0x158)+_0x56b6a3[_0x275107(0x150)],_0x298bc7=_0x5e7b38[_0x275107(0x12f)][_0x275107(0x135)][_0x275107(0x171)](_0x2fc941);_0x5e7b38[_0x275107(0x179)][_0x275107(0x169)][_0x275107(0x115)]?Z(_0x56b6a3[_0x275107(0x150)],_0x4af1e5[_0x275107(0x12c)][_0x275107(0x112)](),_0x5e7b38[_0x275107(0x12f)],_0x37dd7c):_0x298bc7&&(_0x37dd7c[_0x275107(0x12e)](_0x2fc941),_0x37dd7c[_0x275107(0x12e)](_0x5e9f71));});}}function Z(_0x2d711f,_0x4209e8,_0x232004,_0x521bcd){const _0x441f96=_0x23fd81,_0x105d79=_0x441f96(0x151)+_0x2d711f,_0x2e39e1=_0x441f96(0x158)+_0x2d711f,_0x51f194=_0x4209e8[_0x441f96(0x136)]();let _0x48cf15=_0x4209e8[_0x441f96(0x17e)];if(_0x51f194&&_0x51f194['is'](_0x441f96(0x177),_0x441f96(0x14f))){const _0x1c8b6b=function(_0x17fd46,_0x292ecc){const _0x13fa55=_0x441f96;for(const _0x3b1950 of _0x17fd46[_0x13fa55(0x149)]())if(_0x292ecc[_0x13fa55(0x132)][_0x13fa55(0x113)](_0x3b1950,_0x13fa55(0x148)))return _0x3b1950;}(_0x4209e8,_0x232004);_0x1c8b6b&&(_0x48cf15=_0x1c8b6b,_0x4209e8=_0x521bcd[_0x441f96(0x160)](_0x48cf15));}const _0x5ebb67=_0x521bcd[_0x441f96(0x160)](_0x48cf15);_0x232004[_0x441f96(0x135)][_0x441f96(0x171)](_0x105d79)?(_0x521bcd[_0x441f96(0x122)](_0x105d79,{'range':_0x4209e8}),_0x521bcd[_0x441f96(0x122)](_0x2e39e1,{'range':_0x5ebb67})):(_0x521bcd[_0x441f96(0x10d)](_0x105d79,{'range':_0x4209e8,'usingOperation':!0x0}),_0x521bcd[_0x441f96(0x10d)](_0x2e39e1,{'range':_0x5ebb67,'usingOperation':!0x0}));}
|