@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.4 → 47.2.0-alpha.6
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 _0x369065=_0x68a4;(function(_0x4a2ceb,_0xdceb09){const _0x338b2c=_0x68a4,_0x366e7d=_0x4a2ceb();while(!![]){try{const _0x3d8d78=parseInt(_0x338b2c(0xe7))/0x1+parseInt(_0x338b2c(0xf2))/0x2+parseInt(_0x338b2c(0xe5))/0x3+parseInt(_0x338b2c(0xfc))/0x4+-parseInt(_0x338b2c(0xde))/0x5+-parseInt(_0x338b2c(0xdf))/0x6+-parseInt(_0x338b2c(0xf1))/0x7;if(_0x3d8d78===_0xdceb09)break;else _0x366e7d['push'](_0x366e7d['shift']());}catch(_0x4c23a8){_0x366e7d['push'](_0x366e7d['shift']());}}}(_0x3226,0x3ba54));import{View as _0x52327e}from'ckeditor5/src/ui.js';function _0x3226(){const _0x26c419=['bindTemplate','set','.ck-balloon-panel_with-arrow','querySelector','relatedTarget','7082236HiBDxb','739638GhKvqW','setTemplate','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','.ck-presence-list__dropdown-list','isExpanded','Connected\x20users\x20list','items','change:hasPopup','ck-presence-list__list','1395400FfxAdB','fire','list','keystrokes','presencelist:hide','contains','664535IPleEH','536040SIuHfD','aria-expanded','listenTo','removeAttribute','hasPopup','focus','1046499sxQqxf','createCollection','410801DDZrMW','element','presencelist:show','render','div'];_0x3226=function(){return _0x26c419;};return _0x3226();}import{KeystrokeHandler as _0x183430}from'ckeditor5/src/utils.js';function _0x68a4(_0x20373c,_0x4557e9){const _0x3226b3=_0x3226();return _0x68a4=function(_0x68a450,_0x2ac23f){_0x68a450=_0x68a450-0xda;let _0x11ff49=_0x3226b3[_0x68a450];return _0x11ff49;},_0x68a4(_0x20373c,_0x4557e9);}import{getTranslation as _0x2c300d}from'../../common-translations.js';export class PresenceInlineListView extends _0x52327e{[_0x369065(0xf9)];[_0x369065(0xdb)];constructor(_0x5e6ceb){const _0x17aa91=_0x369065;super(_0x5e6ceb);const _0x1d016b=this[_0x17aa91(0xec)];this[_0x17aa91(0xf9)]=this[_0x17aa91(0xe6)](),this[_0x17aa91(0xdb)]=new _0x183430(),this[_0x17aa91(0xed)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x17aa91(0xf3)]({'tag':_0x17aa91(0xeb),'attributes':{'aria-haspopup':_0x1d016b['if'](_0x17aa91(0xe3)),'aria-expanded':_0x1d016b['to'](_0x17aa91(0xf7),_0x224f16=>this[_0x17aa91(0xe3)]&&String(_0x224f16)),'aria-label':_0x1d016b['to'](_0x17aa91(0xe3),_0x3c1349=>_0x2c300d(_0x5e6ceb,_0x3c1349?_0x17aa91(0xf5):_0x17aa91(0xf8))),'role':_0x17aa91(0xda),'tabindex':_0x1d016b['to'](_0x17aa91(0xe3),_0x32b446=>!!_0x32b446&&0x0),'class':['ck',_0x17aa91(0xfb)]},'children':this[_0x17aa91(0xf9)],'on':{'mouseenter':_0x1d016b['to'](()=>this[_0x17aa91(0xfd)](_0x17aa91(0xe9))),'mouseleave':_0x1d016b['to'](_0x2a8901=>{const _0x54c117=_0x17aa91,_0x3b5f01=_0x2a8901,_0xa802cf=document[_0x54c117(0xef)](_0x54c117(0xf6)),_0x556667=document[_0x54c117(0xef)](_0x54c117(0xee));_0xa802cf?.[_0x54c117(0xdd)](_0x3b5f01[_0x54c117(0xf0)])||_0x556667?.[_0x54c117(0xdd)](_0x3b5f01[_0x54c117(0xf0)])||this[_0x54c117(0xfd)](_0x54c117(0xdc));})}}),this['on'](_0x17aa91(0xfa),(_0x1dfff4,_0x1549ef,_0x2ba01b)=>{const _0x56fede=_0x17aa91;this[_0x56fede(0xe8)]&&(_0x2ba01b?this[_0x56fede(0xe8)][_0x56fede(0xf4)](_0x56fede(0xe0),String(this[_0x56fede(0xf7)])):this[_0x56fede(0xe8)][_0x56fede(0xe2)](_0x56fede(0xe0)));});}[_0x369065(0xe4)](){const _0x4086df=_0x369065;this[_0x4086df(0xe8)][_0x4086df(0xe4)]();}[_0x369065(0xea)](){const _0x4f5b3b=_0x369065;super[_0x4f5b3b(0xea)](),this[_0x4f5b3b(0xdb)][_0x4f5b3b(0xe1)](this[_0x4f5b3b(0xe8)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5841(){const _0xdd586d=['items','listenTo','locale','ck-reset','set','301JdQsJq','hasPopup','ck-presence-list','42QSEhcI','tooltipPosition','bind','bindTemplate','4095500dYNXsB','3815073AbrEnQ','ck-presence-list--collapsed','inlineListView','change','354hVqUDv','counterView','first','ck-rounded-corners','isCollapsed','13481544FSPnZl','8524MaOoJg','157218NMOase','29212YTqWAW','setTemplate','5952235NYcarK','div'];_0x5841=function(){return _0xdd586d;};return _0x5841();}const _0x23614e=_0x516d;(function(_0x321bc1,_0x33aa15){const _0x5a5a0a=_0x516d,_0x3c51f0=_0x321bc1();while(!![]){try{const _0x3b5e1d=-parseInt(_0x5a5a0a(0x8b))/0x1*(parseInt(_0x5a5a0a(0x7d))/0x2)+-parseInt(_0x5a5a0a(0x77))/0x3*(-parseInt(_0x5a5a0a(0x7f))/0x4)+-parseInt(_0x5a5a0a(0x81))/0x5+parseInt(_0x5a5a0a(0x7e))/0x6*(-parseInt(_0x5a5a0a(0x88))/0x7)+parseInt(_0x5a5a0a(0x7c))/0x8+parseInt(_0x5a5a0a(0x90))/0x9+parseInt(_0x5a5a0a(0x8f))/0xa;if(_0x3b5e1d===_0x33aa15)break;else _0x3c51f0['push'](_0x3c51f0['shift']());}catch(_0xad6b74){_0x3c51f0['push'](_0x3c51f0['shift']());}}}(_0x5841,0xd7df6));import{View as _0x3a5e49}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x289293}from'./presencecounterview.js';import{PresenceInlineListView as _0x3e138f}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x516d(_0x45a58f,_0x326cea){const _0x584185=_0x5841();return _0x516d=function(_0x516d76,_0x4bc2af){_0x516d76=_0x516d76-0x75;let _0x221a44=_0x584185[_0x516d76];return _0x221a44;},_0x516d(_0x45a58f,_0x326cea);}export class PresenceListView extends _0x3a5e49{[_0x23614e(0x78)];[_0x23614e(0x75)];constructor(_0x1fe547,_0x2443a3=0x6){const _0x3b551b=_0x23614e;super(_0x1fe547);const _0x542341=this[_0x3b551b(0x8e)];this[_0x3b551b(0x87)](_0x3b551b(0x7b),!0x0),this[_0x3b551b(0x78)]=new _0x289293(this[_0x3b551b(0x85)],_0x2443a3),this[_0x3b551b(0x75)]=new _0x3e138f(_0x1fe547),this[_0x3b551b(0x75)][_0x3b551b(0x8d)](_0x3b551b(0x89))['to'](this,_0x3b551b(0x7b)),this[_0x3b551b(0x84)](this[_0x3b551b(0x75)][_0x3b551b(0x83)],_0x3b551b(0x76),()=>{const _0xc83b9c=_0x3b551b;for(const _0x1fa123 of this[_0xc83b9c(0x75)][_0xc83b9c(0x83)])_0x1fa123[_0xc83b9c(0x8c)]='s';this[_0xc83b9c(0x75)][_0xc83b9c(0x83)][_0xc83b9c(0x79)]&&(this[_0xc83b9c(0x75)][_0xc83b9c(0x83)][_0xc83b9c(0x79)][_0xc83b9c(0x8c)]='se');}),this[_0x3b551b(0x80)]({'tag':_0x3b551b(0x82),'attributes':{'class':['ck',_0x3b551b(0x8a),_0x3b551b(0x86),_0x3b551b(0x7a),_0x542341['if'](_0x3b551b(0x7b),_0x3b551b(0x91))]},'children':[this[_0x3b551b(0x75)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x117e(){var _0x1454c4=['PresenceList','322579pheqol','3773682VYaWdL','2vzCaRw','115512sDVanG','1515438UcgBVy','196mhmuDH','isOfficialPlugin','pluginName','isPremiumPlugin','1961632jZjhic','2387856IuwhzX','requires','561285uUHBVr'];_0x117e=function(){return _0x1454c4;};return _0x117e();}var _0x3e3bbb=_0x1f98;(function(_0x5128f4,_0x37ed40){var _0x1ae670=_0x1f98,_0x1ae645=_0x5128f4();while(!![]){try{var _0x3a4603=parseInt(_0x1ae670(0x119))/0x1*(parseInt(_0x1ae670(0x11b))/0x2)+parseInt(_0x1ae670(0x11d))/0x3+-parseInt(_0x1ae670(0x122))/0x4+parseInt(_0x1ae670(0x117))/0x5+parseInt(_0x1ae670(0x11c))/0x6*(parseInt(_0x1ae670(0x11e))/0x7)+-parseInt(_0x1ae670(0x115))/0x8+-parseInt(_0x1ae670(0x11a))/0x9;if(_0x3a4603===_0x37ed40)break;else _0x1ae645['push'](_0x1ae645['shift']());}catch(_0x298dbf){_0x1ae645['push'](_0x1ae645['shift']());}}}(_0x117e,0x42202));function _0x1f98(_0x404b10,_0x1e254c){var _0x117e5d=_0x117e();return _0x1f98=function(_0x1f984a,_0x199a27){_0x1f984a=_0x1f984a-0x115;var _0x47016c=_0x117e5d[_0x1f984a];return _0x47016c;},_0x1f98(_0x404b10,_0x1e254c);}import{ContextPlugin as _0x50070a}from'ckeditor5/src/core.js';import{Sessions as _0x26577b}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x2ea4ef}from'./presencelist/presencelistui.js';export class PresenceList extends _0x50070a{static get[_0x3e3bbb(0x116)](){return[_0x26577b,_0x2ea4ef];}static get[_0x3e3bbb(0x120)](){var _0x11b49d=_0x3e3bbb;return _0x11b49d(0x118);}static get[_0x3e3bbb(0x11f)](){return!0x0;}static get[_0x3e3bbb(0x121)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x3b3db5)());[_0x49ccac(0x1f9)];static get[_0x49ccac(0x1d4)](){const _0x1e775c=_0x49ccac;return[_0x13a8eb,_0x1e775c(0x1ee),_0x423b45,_0x384de9];}static get[_0x49ccac(0x1cd)](){const _0x3a654f=_0x49ccac;return _0x3a654f(0x1ac);}static get[_0x49ccac(0x1de)](){return!0x0;}static get[_0x49ccac(0x1ea)](){return!0x0;}constructor(_0x3b473a){const _0x3df89b=_0x49ccac;super(_0x3b473a),this[_0x3df89b(0x1f9)]=new Map();}async[_0x49ccac(0x1d2)](){const _0x4846f2=_0x49ccac,_0x4ea9a9=this[_0x4846f2(0x1b5)],_0x5ade0e=_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x4846f2(0x1ee));if(_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x13a8eb)[_0x4846f2(0x1d1)](this),_0x5ade0e[_0x4846f2(0x1d5)]={'addCommentThread':async({channelId:_0x48c0a4,threadId:_0x15cfa9,comments:_0x9d8be2,resolvedAt:_0x2cd263,resolvedBy:_0x14f59a,context:_0x3e2fd9,attributes:_0x330155})=>{const _0x41707d=_0x4846f2,_0x5c805c=await this[_0x41707d(0x1e9)](_0x48c0a4)[_0x41707d(0x1ad)]({'commentThreadId':_0x15cfa9,'comments':_0x9d8be2[_0x41707d(0x1fa)](_0x4e89cd=>function(_0x1d9bda,_0x1cee98,_0x95d952){const _0x3d3d42=_0x41707d;return{'commentThreadId':_0x95d952,'commentId':_0x1d9bda[_0x3d3d42(0x1b4)],'userId':_0x1d9bda[_0x3d3d42(0x1a5)],'content':_0x1d9bda[_0x3d3d42(0x1e0)],'documentId':_0x1cee98,'createdAt':_0x1d9bda[_0x3d3d42(0x1bd)],'attributes':_0x1d9bda[_0x3d3d42(0x208)]||{}};}(_0x4e89cd,_0x48c0a4,_0x15cfa9)),'resolvedAt':_0x2cd263,'resolvedBy':_0x14f59a,'context':_0x3e2fd9,'attributes':_0x330155})[_0x41707d(0x1c7)](k);return{'threadId':_0x5c805c[_0x41707d(0x202)],'comments':_0x5c805c[_0x41707d(0x1af)]};},'getCommentThread':async({channelId:_0x41973f,threadId:_0x257c95})=>{const _0xefcabf=_0x4846f2,_0x3a2a68=await this[_0xefcabf(0x1e9)](_0x41973f)[_0xefcabf(0x1ff)](_0x257c95)[_0xefcabf(0x1c7)](F)[_0xefcabf(0x1c7)](k);return _0x3a2a68?_0x3a2a68[_0xefcabf(0x1b2)]?null:(await this[_0xefcabf(0x1f2)]([_0x3a2a68]),{'threadId':_0x3a2a68[_0xefcabf(0x202)],'comments':_0x3a2a68[_0xefcabf(0x1af)][_0xefcabf(0x1fa)](S),'context':_0x3a2a68[_0xefcabf(0x1b5)],'resolvedAt':_0x3a2a68[_0xefcabf(0x1bb)],'resolvedBy':_0x3a2a68[_0xefcabf(0x1e7)],'attributes':_0x3a2a68[_0xefcabf(0x208)]||{}}):null;},'updateCommentThread':async({channelId:_0x116ce2,threadId:_0x6a6671,context:_0x78443e,unlinkedAt:_0x59d0fa,attributes:_0x34acb3})=>this[_0x4846f2(0x1e9)](_0x116ce2)[_0x4846f2(0x1e1)]({'commentThreadId':_0x6a6671,'context':_0x78443e,'attributes':_0x34acb3,'unlinkedAt':_0x59d0fa})[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'resolveCommentThread':async({channelId:_0x2367a7,threadId:_0x77ddac})=>{const _0x12db32=_0x4846f2,_0x30e406=await this[_0x12db32(0x1e9)](_0x2367a7)[_0x12db32(0x1e2)](_0x77ddac)[_0x12db32(0x1c7)](F)[_0x12db32(0x1c7)](k);return{'threadId':_0x30e406[_0x12db32(0x202)],'resolvedAt':_0x30e406[_0x12db32(0x1bb)],'resolvedBy':_0x30e406[_0x12db32(0x1e7)]};},'reopenCommentThread':async({channelId:_0x2943ea,threadId:_0xba6a04})=>this[_0x4846f2(0x1e9)](_0x2943ea)[_0x4846f2(0x1b6)](_0xba6a04)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'removeCommentThread':({channelId:_0x4f16ce,threadId:_0x3bf9e4})=>this[_0x4846f2(0x1e9)](_0x4f16ce)[_0x4846f2(0x1c4)](_0x3bf9e4)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'addComment':({channelId:_0xed42b5,threadId:_0x11b381,commentId:_0x21695f,content:_0x36fdda,attributes:_0x9ce59e})=>this[_0x4846f2(0x1e9)](_0xed42b5)[_0x4846f2(0x1eb)](_0x11b381,_0x21695f,_0x36fdda,_0x9ce59e)[_0x4846f2(0x1c7)](k),'updateComment':({channelId:_0x23b521,threadId:_0x4bdd51,commentId:_0x392237,content:_0x2bea3f,attributes:_0x8f8fed})=>this[_0x4846f2(0x1e9)](_0x23b521)[_0x4846f2(0x1ec)](_0x4bdd51,_0x392237,_0x2bea3f,_0x8f8fed)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'removeComment':({channelId:_0xa33da5,threadId:_0x3c7a52,commentId:_0xa8efa5})=>this[_0x4846f2(0x1e9)](_0xa33da5)[_0x4846f2(0x1f5)](_0x3c7a52,_0xa8efa5)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k)},_0x4ea9a9 instanceof _0x5a0a34){const _0x5c7c25=_0x4ea9a9[_0x4846f2(0x1e8)][_0x4846f2(0x1ca)](_0x4846f2(0x1a9)),_0x13d611=_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x423b45);await this[_0x4846f2(0x1bf)](_0x5c7c25);const _0xc39414=await this[_0x4846f2(0x1f9)][_0x4846f2(0x1ca)](_0x5c7c25)[_0x4846f2(0x1f8)]();this[_0x4846f2(0x1ab)](_0x13d611,_0x4846f2(0x1e6)+_0x5c7c25,(_0x4e0245,{session:_0x14ef2e})=>{const _0x10cf60=_0x4846f2;_0x14ef2e['id']===_0x13d611[_0x10cf60(0x1aa)]&&(_0x4e0245[_0x10cf60(0x1c1)](),this[_0x10cf60(0x1b5)][_0x10cf60(0x1be)][_0x10cf60(0x1ca)](_0x10cf60(0x1c3))[_0x10cf60(0x1fd)](_0x14ef2e[_0x10cf60(0x1f0)],_0x5c7c25));}),_0x13d611[_0x4846f2(0x1c5)](_0x5c7c25,_0xc39414);}}async[_0x49ccac(0x1bf)](_0x3c0baf){const _0x58a8f8=_0x49ccac;if(this[_0x58a8f8(0x1f9)][_0x58a8f8(0x1a7)](_0x3c0baf))throw new _0x1836ed(_0x58a8f8(0x1ba),null,{'channelId':_0x3c0baf});const _0x389668=this[_0x58a8f8(0x1b5)][_0x58a8f8(0x1be)][_0x58a8f8(0x1ca)](_0x58a8f8(0x1ee)),_0x420942=new CloudServicesCommentsAdapter[(_0x58a8f8(0x1d9))](_0x3c0baf);this[_0x58a8f8(0x1f9)][_0x58a8f8(0x1b0)](_0x3c0baf,_0x420942),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x201),(_0x5df879,_0x52ad87)=>{const _0x1a077c=_0x58a8f8,{commentThreadId:_0x21aa1c,documentId:_0x326db5,context:_0x424c4d,attributes:_0x2ad92b,resolvedAt:_0x4dc0e1,resolvedBy:_0x529a12,comments:_0xdba8a4}=_0x52ad87;_0x389668[_0x1a077c(0x1ff)](_0x21aa1c)||_0x389668[_0x1a077c(0x1ad)]({'threadId':_0x21aa1c,'channelId':_0x326db5,'comments':_0xdba8a4?_0xdba8a4[_0x1a077c(0x1fa)](S):[],'context':_0x424c4d,'attributes':_0x2ad92b,'resolvedAt':_0x4dc0e1,'resolvedBy':_0x529a12,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1ef),(_0x4f3b7b,{commentThreadId:_0x4633ba,documentId:_0x567f58,context:_0x2385ca,unlinkedAt:_0x1bea3f,attributes:_0x476c94})=>{const _0xfec5b4=_0x58a8f8;_0x389668[_0xfec5b4(0x1ff)](_0x4633ba)&&_0x389668[_0xfec5b4(0x1e1)]({'threadId':_0x4633ba,'channelId':_0x567f58,'context':_0x2385ca,'unlinkedAt':_0x1bea3f,'attributes':_0x476c94,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1c6),(_0x2cf98c,{commentThreadId:_0x3f29e6,resolvedBy:_0x256490,resolvedAt:_0x23f681})=>{const _0x455eed=_0x58a8f8,_0x51a489=_0x389668[_0x455eed(0x1ff)](_0x3f29e6);_0x51a489&&_0x51a489[_0x455eed(0x206)]({'resolvedBy':_0x256490,'resolvedAt':_0x23f681,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1df),(_0xdaf1ae,{commentThreadId:_0x477a1f})=>{const _0x5aa881=_0x58a8f8,_0x160ab9=_0x389668[_0x5aa881(0x1ff)](_0x477a1f);_0x160ab9&&_0x160ab9[_0x5aa881(0x1b9)]({'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1d8),(_0xba2485,{commentThreadId:_0x113044})=>{const _0x228083=_0x58a8f8,_0x7c5b2f=_0x389668[_0x228083(0x1ff)](_0x113044);_0x7c5b2f&&_0x7c5b2f[_0x228083(0x1b7)]({'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1ce),(_0x4d6474,_0x32bf64)=>{const _0x18f13f=_0x58a8f8,_0x9dd678=_0x32bf64[_0x18f13f(0x202)],_0x407db6=_0x389668[_0x18f13f(0x1ff)](_0x9dd678);_0x407db6&&_0x407db6[_0x18f13f(0x1eb)]({...S(_0x32bf64),'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1e3),(_0x38a37f,{commentThreadId:_0x4db8c1,commentId:_0x44e1ff,content:_0x6295bb,attributes:_0x1df101})=>{const _0x2b3a43=_0x58a8f8,_0x358393=_0x389668[_0x2b3a43(0x1ff)](_0x4db8c1);if(_0x358393){const _0x1d9be1=_0x358393[_0x2b3a43(0x1cf)](_0x44e1ff);_0x1d9be1&&_0x1d9be1[_0x2b3a43(0x1f3)]({'content':_0x6295bb,'attributes':_0x1df101,'isFromAdapter':!0x0});}}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1c0),(_0x21f672,{commentThreadId:_0x2f2c82,commentId:_0x2f7614})=>{const _0x22c69e=_0x58a8f8,_0xc702bd=_0x389668[_0x22c69e(0x1ff)](_0x2f2c82);if(_0xc702bd){const _0x14f8f0=_0xc702bd[_0x22c69e(0x1cf)](_0x2f7614);_0x14f8f0&&_0x14f8f0[_0x22c69e(0x1b7)]({'isFromAdapter':!0x0});}}),await this[_0x58a8f8(0x1ae)](_0x3c0baf);}[_0x49ccac(0x204)](){const _0x6272ff=_0x49ccac;if(this[_0x6272ff(0x1b5)]instanceof _0x5a0a34){const _0x366a09=this[_0x6272ff(0x1b5)][_0x6272ff(0x1e8)][_0x6272ff(0x1ca)](_0x6272ff(0x1a9));this[_0x6272ff(0x1f6)](_0x366a09);}}[_0x49ccac(0x1f6)](_0x5c687f){const _0x3c9313=_0x49ccac;if(!this[_0x3c9313(0x1f9)][_0x3c9313(0x1a7)](_0x5c687f))throw new _0x1836ed(_0x3c9313(0x1f7),null,{'channelId':_0x5c687f});this[_0x3c9313(0x1e9)](_0x5c687f)[_0x3c9313(0x1b1)](),this[_0x3c9313(0x1f9)][_0x3c9313(0x1d6)](_0x5c687f);}async[_0x49ccac(0x1fc)](){const _0x1a6aa2=_0x49ccac;for(const _0x4dff77 of this[_0x1a6aa2(0x1f9)][_0x1a6aa2(0x207)]())await this[_0x1a6aa2(0x1ae)](_0x4dff77);if(this[_0x1a6aa2(0x1b5)]instanceof _0x5a0a34){const _0x40880e=this[_0x1a6aa2(0x1b5)][_0x1a6aa2(0x1e8)][_0x1a6aa2(0x1ca)](_0x1a6aa2(0x1a9)),_0x184f6d=this[_0x1a6aa2(0x1b5)][_0x1a6aa2(0x1be)][_0x1a6aa2(0x1ca)](_0x423b45);_0x184f6d[_0x1a6aa2(0x200)](_0x40880e);const _0x5d6483=await this[_0x1a6aa2(0x1f9)][_0x1a6aa2(0x1ca)](_0x40880e)[_0x1a6aa2(0x1f8)]();_0x184f6d[_0x1a6aa2(0x1c5)](_0x40880e,_0x5d6483);}}async[_0x49ccac(0x1ae)](_0x2cfb8d){const _0x5a7c1e=_0x49ccac,{connection:_0xed1e8b}=this[_0x5a7c1e(0x1b5)][_0x5a7c1e(0x1be)][_0x5a7c1e(0x1ca)](_0x13a8eb),_0x30e5c6=this[_0x5a7c1e(0x1b5)][_0x5a7c1e(0x1be)][_0x5a7c1e(0x1ca)](_0x5a7c1e(0x1ee)),_0x28c8ef=this[_0x5a7c1e(0x1f9)][_0x5a7c1e(0x1ca)](_0x2cfb8d),_0x13256c=await _0x28c8ef[_0x5a7c1e(0x1dd)](_0xed1e8b);await this[_0x5a7c1e(0x1f2)](_0x13256c);const _0x222cd9=new Set(Array[_0x5a7c1e(0x1cc)](_0x30e5c6[_0x5a7c1e(0x1dc)]({'channelId':_0x2cfb8d}),_0x156faf=>_0x156faf['id']));for(const _0x1b6de3 of _0x13256c)_0x1b6de3[_0x5a7c1e(0x1b2)]||_0x222cd9[_0x5a7c1e(0x1d6)](_0x1b6de3[_0x5a7c1e(0x202)]);for(const _0x237912 of _0x222cd9)_0x30e5c6[_0x5a7c1e(0x1ff)](_0x237912)[_0x5a7c1e(0x1b7)]({'isFromAdapter':!0x0});for(const _0x1e655d of _0x13256c){let _0x5096ae=_0x30e5c6[_0x5a7c1e(0x1ff)](_0x1e655d[_0x5a7c1e(0x202)]);const {commentThreadId:_0x31c6dd,context:_0x257325,attributes:_0x1f4a97,resolvedBy:_0x4e8294,resolvedAt:_0x4d8c9d,unlinkedAt:_0xa3023c,deletedAt:_0x4b9d36}=_0x1e655d;if(_0x4b9d36)continue;_0x5096ae||(_0x5096ae=_0x30e5c6[_0x5a7c1e(0x1ad)]({'channelId':_0x2cfb8d,'threadId':_0x31c6dd,'context':_0x257325,'attributes':_0x1f4a97||{},'resolvedBy':_0x4e8294,'resolvedAt':_0x4d8c9d,'unlinkedAt':_0xa3023c,'isFromAdapter':!0x0}));const _0x5027ec=new Set(Array[_0x5a7c1e(0x1cc)](_0x5096ae[_0x5a7c1e(0x1af)],_0x4feda9=>_0x4feda9['id']));for(const _0x350dca of _0x1e655d[_0x5a7c1e(0x1af)])_0x5027ec[_0x5a7c1e(0x1d6)](_0x350dca[_0x5a7c1e(0x1b4)]);for(const _0x552733 of _0x5027ec)_0x5096ae[_0x5a7c1e(0x1cf)](_0x552733)[_0x5a7c1e(0x1b7)]({'isFromAdapter':!0x0});for(const _0x4ffba9 of _0x1e655d[_0x5a7c1e(0x1af)]){const _0x16cae7=_0x5096ae[_0x5a7c1e(0x1cf)](_0x4ffba9[_0x5a7c1e(0x1b4)]);_0x16cae7?_0x16cae7[_0x5a7c1e(0x1e0)]!==_0x4ffba9[_0x5a7c1e(0x1e0)]&&_0x16cae7[_0x5a7c1e(0x1f3)]({'content':_0x4ffba9[_0x5a7c1e(0x1e0)],'isFromAdapter':!0x0}):_0x5096ae[_0x5a7c1e(0x1eb)](Object[_0x5a7c1e(0x1d3)](S(_0x4ffba9),{'isFromAdapter':!0x0}));}}}[_0x49ccac(0x1e9)](_0x104a1b){const _0x6b8799=_0x49ccac;if(!this[_0x6b8799(0x1f9)][_0x6b8799(0x1a7)](_0x104a1b))throw new _0x1836ed(_0x6b8799(0x205),null,{'channelId':_0x104a1b});return this[_0x6b8799(0x1f9)][_0x6b8799(0x1ca)](_0x104a1b);}async[_0x49ccac(0x1f2)](_0x368ff9){const _0x5e4587=_0x49ccac,_0x508957=this[_0x5e4587(0x1b5)][_0x5e4587(0x1be)][_0x5e4587(0x1ca)](_0x384de9),{connection:_0x1d59dd}=this[_0x5e4587(0x1b5)][_0x5e4587(0x1be)][_0x5e4587(0x1ca)](_0x13a8eb),_0x49a3e4=new Set();for(const {resolvedBy:_0x270340,comments:_0x40cd80}of _0x368ff9){_0x270340&&!_0x508957[_0x5e4587(0x1e5)](_0x270340)&&_0x49a3e4[_0x5e4587(0x1f1)](_0x270340);for(const {userId:_0x5df6cd}of _0x40cd80)_0x508957[_0x5e4587(0x1e5)](_0x5df6cd)||_0x49a3e4[_0x5e4587(0x1f1)](_0x5df6cd);}if(0x0===_0x49a3e4[_0x5e4587(0x1c9)])return;const _0x306bbe=await _0x4907ac[_0x5e4587(0x1ed)](_0x1d59dd,Array[_0x5e4587(0x1cc)](_0x49a3e4));for(const _0x3e46e0 of _0x306bbe)_0x508957[_0x5e4587(0x1e5)](_0x3e46e0['id'])||_0x508957[_0x5e4587(0x1fe)](_0x3e46e0);}}async function F(_0x63dedf){const _0x49b67c=_0x49ccac;if(_0x49b67c(0x1a6)!==_0x63dedf[_0x49b67c(0x1a8)])throw _0x63dedf;}function k(_0x2652ef){const _0x2c007c=_0x49ccac;if((_0x357a0e=_0x2652ef)[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1c8))||_0x357a0e[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1b3))||_0x357a0e[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1db)))return new Promise(()=>{});var _0x357a0e;throw _0x2652ef;}function S(_0x4bdc29){const _0x2374bc=_0x49ccac;return{'threadId':_0x4bdc29[_0x2374bc(0x202)],'commentId':_0x4bdc29[_0x2374bc(0x1b4)],'content':_0x4bdc29[_0x2374bc(0x1e0)],'createdAt':_0x4bdc29[_0x2374bc(0x1bd)],'authorId':_0x4bdc29[_0x2374bc(0x203)],'attributes':_0x4bdc29[_0x2374bc(0x208)]||{}};}
|
|
23
|
+
const _0x1bb9d2=_0xbe3f;(function(_0x27f233,_0x197105){const _0x3ce2e8=_0xbe3f,_0x3716c5=_0x27f233();while(!![]){try{const _0x2640fc=-parseInt(_0x3ce2e8(0x11e))/0x1*(-parseInt(_0x3ce2e8(0xff))/0x2)+parseInt(_0x3ce2e8(0x127))/0x3+-parseInt(_0x3ce2e8(0x10a))/0x4*(-parseInt(_0x3ce2e8(0x15a))/0x5)+-parseInt(_0x3ce2e8(0x114))/0x6+-parseInt(_0x3ce2e8(0x10b))/0x7*(parseInt(_0x3ce2e8(0x108))/0x8)+-parseInt(_0x3ce2e8(0x105))/0x9*(parseInt(_0x3ce2e8(0x12b))/0xa)+parseInt(_0x3ce2e8(0x12e))/0xb;if(_0x2640fc===_0x197105)break;else _0x3716c5['push'](_0x3716c5['shift']());}catch(_0x379a48){_0x3716c5['push'](_0x3716c5['shift']());}}}(_0x5a84,0x5c219));import{Context as _0x426730,ContextPlugin as _0x860539}from'ckeditor5/src/core.js';import{CKEditorError as _0x18e3f6}from'ckeditor5/src/utils.js';import{Users as _0x1793fe}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5a84(){const _0x3c9280=['commentThreadAdded','commentThreadReopened','_getService','permissions','keys','404','CommentsRepository','has','assign','context','init','collaboration.channelId','update','getComment','code','_fetchMissingUsersForThreads','getCommentThreads','connect','mySessionId','cloud-services-internal-error:\x20Not\x20connected.','delete','28535hEXGaD','remove','commentId','register','setPermissions','requires','CloudServicesCommentsAdapter','disconnect','isOfficialPlugin','from','getUser','CommentsService','52868JIWTVw','content','cloudservicescommentsadapter-connect-already-connected','startsWith','sessionAdd:','pluginName','666423FnfLnr','get','updateComment','10600soGrFT','size','12NTytxm','1183kadUkq','map','reopenCommentThread','getConnectedSessions','addToReconnectionStack','resolveCommentThread','isPremiumPlugin','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','4500834liWfyo','commentAdded','reconnect','off','destroy','deletedAt','getCommentThread','addUser','userId','authorId','22RTdvxo','_connectService','removeComment','commentRemoved','comments','listenTo','commentThreadRemoved','catch','config','500784LyyRLm','getMany','adapter','cloud-services-internal-error:\x20Request\x20timeout.','90UHbhKb','_setUpService','reopen','13774849mnkSmI','removeCommentThread','addComment','Permissions','message','unregister','resolvedAt','add','commentThreadResolved','resolvedBy','commentUpdated','set','resolve','_terminateService','_services','attributes','createdAt','plugins','commentThreadUpdated','cloudservicescommentsadapter-disconnect-not-exist','updateCommentThread','commentThreadId','addCommentThread'];_0x5a84=function(){return _0x3c9280;};return _0x5a84();}import{CommentsService as _0x5ef15d,User as _0xd5242b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x11ca42}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1b364c}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x860539{static [_0x1bb9d2(0xfe)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5ef15d)());[_0x1bb9d2(0x13c)];static get[_0x1bb9d2(0xf8)](){const _0x3e0c5b=_0x1bb9d2;return[_0x11ca42,_0x3e0c5b(0x14b),_0x1b364c,_0x1793fe];}static get[_0x1bb9d2(0x104)](){const _0x2721fb=_0x1bb9d2;return _0x2721fb(0xf9);}static get[_0x1bb9d2(0xfb)](){return!0x0;}static get[_0x1bb9d2(0x111)](){return!0x0;}constructor(_0x5e5c9e){const _0x53fde0=_0x1bb9d2;super(_0x5e5c9e),this[_0x53fde0(0x13c)]=new Map();}async[_0x1bb9d2(0x14f)](){const _0x574e2f=_0x1bb9d2,_0x2b668b=this[_0x574e2f(0x14e)],_0x184c8b=_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x574e2f(0x14b));if(_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x11ca42)[_0x574e2f(0x10f)](this),_0x184c8b[_0x574e2f(0x129)]={'addCommentThread':async({channelId:_0x1e9289,threadId:_0x35f7a5,comments:_0x2879b8,resolvedAt:_0x59acd8,resolvedBy:_0x8cca6,context:_0x3428f2,attributes:_0x11864e})=>{const _0x4fc1a3=_0x574e2f,_0x3dcc45=await this[_0x4fc1a3(0x147)](_0x1e9289)[_0x4fc1a3(0x144)]({'commentThreadId':_0x35f7a5,'comments':_0x2879b8[_0x4fc1a3(0x10c)](_0x5d8aff=>function(_0xa881f0,_0x1c0f01,_0x3756ce){const _0x524e87=_0x4fc1a3;return{'commentThreadId':_0x3756ce,'commentId':_0xa881f0[_0x524e87(0x15c)],'userId':_0xa881f0[_0x524e87(0x11d)],'content':_0xa881f0[_0x524e87(0x100)],'documentId':_0x1c0f01,'createdAt':_0xa881f0[_0x524e87(0x13e)],'attributes':_0xa881f0[_0x524e87(0x13d)]||{}};}(_0x5d8aff,_0x1e9289,_0x35f7a5)),'resolvedAt':_0x59acd8,'resolvedBy':_0x8cca6,'context':_0x3428f2,'attributes':_0x11864e})[_0x4fc1a3(0x125)](k);return{'threadId':_0x3dcc45[_0x4fc1a3(0x143)],'comments':_0x3dcc45[_0x4fc1a3(0x122)]};},'getCommentThread':async({channelId:_0x37b4bb,threadId:_0x20fd61})=>{const _0x14be89=_0x574e2f,_0x3c2328=await this[_0x14be89(0x147)](_0x37b4bb)[_0x14be89(0x11a)](_0x20fd61)[_0x14be89(0x125)](F)[_0x14be89(0x125)](k);return _0x3c2328?_0x3c2328[_0x14be89(0x119)]?null:(await this[_0x14be89(0x154)]([_0x3c2328]),{'threadId':_0x3c2328[_0x14be89(0x143)],'comments':_0x3c2328[_0x14be89(0x122)][_0x14be89(0x10c)](S),'context':_0x3c2328[_0x14be89(0x14e)],'resolvedAt':_0x3c2328[_0x14be89(0x134)],'resolvedBy':_0x3c2328[_0x14be89(0x137)],'attributes':_0x3c2328[_0x14be89(0x13d)]||{}}):null;},'updateCommentThread':async({channelId:_0x12ec35,threadId:_0x40419b,context:_0x17f55e,unlinkedAt:_0x5ebb6a,attributes:_0x59be89})=>this[_0x574e2f(0x147)](_0x12ec35)[_0x574e2f(0x142)]({'commentThreadId':_0x40419b,'context':_0x17f55e,'attributes':_0x59be89,'unlinkedAt':_0x5ebb6a})[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'resolveCommentThread':async({channelId:_0x27eb30,threadId:_0x553346})=>{const _0x9adb42=_0x574e2f,_0x316ccf=await this[_0x9adb42(0x147)](_0x27eb30)[_0x9adb42(0x110)](_0x553346)[_0x9adb42(0x125)](F)[_0x9adb42(0x125)](k);return{'threadId':_0x316ccf[_0x9adb42(0x143)],'resolvedAt':_0x316ccf[_0x9adb42(0x134)],'resolvedBy':_0x316ccf[_0x9adb42(0x137)]};},'reopenCommentThread':async({channelId:_0x4002e1,threadId:_0x1189fb})=>this[_0x574e2f(0x147)](_0x4002e1)[_0x574e2f(0x10d)](_0x1189fb)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'removeCommentThread':({channelId:_0x676ddf,threadId:_0x76b762})=>this[_0x574e2f(0x147)](_0x676ddf)[_0x574e2f(0x12f)](_0x76b762)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'addComment':({channelId:_0x22283c,threadId:_0x591c49,commentId:_0x5dca8d,content:_0x3a1ab2,attributes:_0x207b76})=>this[_0x574e2f(0x147)](_0x22283c)[_0x574e2f(0x130)](_0x591c49,_0x5dca8d,_0x3a1ab2,_0x207b76)[_0x574e2f(0x125)](k),'updateComment':({channelId:_0x31330e,threadId:_0x309f75,commentId:_0x3cbf2d,content:_0x3f2005,attributes:_0x202d67})=>this[_0x574e2f(0x147)](_0x31330e)[_0x574e2f(0x107)](_0x309f75,_0x3cbf2d,_0x3f2005,_0x202d67)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'removeComment':({channelId:_0xfd93ea,threadId:_0x8d7a84,commentId:_0x4f540c})=>this[_0x574e2f(0x147)](_0xfd93ea)[_0x574e2f(0x120)](_0x8d7a84,_0x4f540c)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k)},_0x2b668b instanceof _0x426730){const _0x350c6b=_0x2b668b[_0x574e2f(0x126)][_0x574e2f(0x106)](_0x574e2f(0x150)),_0x16f261=_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x1b364c);await this[_0x574e2f(0x12c)](_0x350c6b);const _0x5daf90=await this[_0x574e2f(0x13c)][_0x574e2f(0x106)](_0x350c6b)[_0x574e2f(0x10e)]();this[_0x574e2f(0x123)](_0x16f261,_0x574e2f(0x103)+_0x350c6b,(_0x6c3fcb,{session:_0x55934c})=>{const _0xe48d4e=_0x574e2f;_0x55934c['id']===_0x16f261[_0xe48d4e(0x157)]&&(_0x6c3fcb[_0xe48d4e(0x117)](),this[_0xe48d4e(0x14e)][_0xe48d4e(0x13f)][_0xe48d4e(0x106)](_0xe48d4e(0x131))[_0xe48d4e(0xf7)](_0x55934c[_0xe48d4e(0x148)],_0x350c6b));}),_0x16f261[_0x574e2f(0x15d)](_0x350c6b,_0x5daf90);}}async[_0x1bb9d2(0x12c)](_0x176c42){const _0x592574=_0x1bb9d2;if(this[_0x592574(0x13c)][_0x592574(0x14c)](_0x176c42))throw new _0x18e3f6(_0x592574(0x101),null,{'channelId':_0x176c42});const _0x35dfcc=this[_0x592574(0x14e)][_0x592574(0x13f)][_0x592574(0x106)](_0x592574(0x14b)),_0x33c0e6=new CloudServicesCommentsAdapter[(_0x592574(0xfe))](_0x176c42);this[_0x592574(0x13c)][_0x592574(0x139)](_0x176c42,_0x33c0e6),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x145),(_0x4c699a,_0x1318ae)=>{const _0x115222=_0x592574,{commentThreadId:_0xf7af6a,documentId:_0x2c1bef,context:_0x3e8b49,attributes:_0x52a028,resolvedAt:_0x43c334,resolvedBy:_0x5ec8d7,comments:_0x43b66c}=_0x1318ae;_0x35dfcc[_0x115222(0x11a)](_0xf7af6a)||_0x35dfcc[_0x115222(0x144)]({'threadId':_0xf7af6a,'channelId':_0x2c1bef,'comments':_0x43b66c?_0x43b66c[_0x115222(0x10c)](S):[],'context':_0x3e8b49,'attributes':_0x52a028,'resolvedAt':_0x43c334,'resolvedBy':_0x5ec8d7,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x140),(_0x244c2e,{commentThreadId:_0x1e1c1f,documentId:_0xc45a5e,context:_0x40ed04,unlinkedAt:_0x5bcf1c,attributes:_0x43ad73})=>{const _0x5bbf4f=_0x592574;_0x35dfcc[_0x5bbf4f(0x11a)](_0x1e1c1f)&&_0x35dfcc[_0x5bbf4f(0x142)]({'threadId':_0x1e1c1f,'channelId':_0xc45a5e,'context':_0x40ed04,'unlinkedAt':_0x5bcf1c,'attributes':_0x43ad73,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x136),(_0x2953a0,{commentThreadId:_0x32dc8c,resolvedBy:_0x4dea44,resolvedAt:_0x3b2457})=>{const _0x5c9491=_0x592574,_0x333f28=_0x35dfcc[_0x5c9491(0x11a)](_0x32dc8c);_0x333f28&&_0x333f28[_0x5c9491(0x13a)]({'resolvedBy':_0x4dea44,'resolvedAt':_0x3b2457,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x146),(_0x177e30,{commentThreadId:_0x1a645b})=>{const _0x28fb93=_0x592574,_0x56b9d1=_0x35dfcc[_0x28fb93(0x11a)](_0x1a645b);_0x56b9d1&&_0x56b9d1[_0x28fb93(0x12d)]({'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x124),(_0x8494c4,{commentThreadId:_0x2fd7e9})=>{const _0x3016a4=_0x592574,_0x1e4cb8=_0x35dfcc[_0x3016a4(0x11a)](_0x2fd7e9);_0x1e4cb8&&_0x1e4cb8[_0x3016a4(0x15b)]({'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x115),(_0x46cade,_0x49e159)=>{const _0x5660ea=_0x592574,_0x3d29d8=_0x49e159[_0x5660ea(0x143)],_0x34b0a8=_0x35dfcc[_0x5660ea(0x11a)](_0x3d29d8);_0x34b0a8&&_0x34b0a8[_0x5660ea(0x130)]({...S(_0x49e159),'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x138),(_0x2bf487,{commentThreadId:_0x18f4a9,commentId:_0x3074df,content:_0x14a782,attributes:_0x3a2a81})=>{const _0x42e059=_0x592574,_0x313aab=_0x35dfcc[_0x42e059(0x11a)](_0x18f4a9);if(_0x313aab){const _0x5c0653=_0x313aab[_0x42e059(0x152)](_0x3074df);_0x5c0653&&_0x5c0653[_0x42e059(0x151)]({'content':_0x14a782,'attributes':_0x3a2a81,'isFromAdapter':!0x0});}}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x121),(_0x212be1,{commentThreadId:_0x1cd88b,commentId:_0xb885b2})=>{const _0x5bbf8d=_0x592574,_0x5d941d=_0x35dfcc[_0x5bbf8d(0x11a)](_0x1cd88b);if(_0x5d941d){const _0x5cd879=_0x5d941d[_0x5bbf8d(0x152)](_0xb885b2);_0x5cd879&&_0x5cd879[_0x5bbf8d(0x15b)]({'isFromAdapter':!0x0});}}),await this[_0x592574(0x11f)](_0x176c42);}[_0x1bb9d2(0x118)](){const _0x3b67d7=_0x1bb9d2;if(this[_0x3b67d7(0x14e)]instanceof _0x426730){const _0x1bfdb8=this[_0x3b67d7(0x14e)][_0x3b67d7(0x126)][_0x3b67d7(0x106)](_0x3b67d7(0x150));this[_0x3b67d7(0x13b)](_0x1bfdb8);}}[_0x1bb9d2(0x13b)](_0x254412){const _0x435692=_0x1bb9d2;if(!this[_0x435692(0x13c)][_0x435692(0x14c)](_0x254412))throw new _0x18e3f6(_0x435692(0x141),null,{'channelId':_0x254412});this[_0x435692(0x147)](_0x254412)[_0x435692(0xfa)](),this[_0x435692(0x13c)][_0x435692(0x159)](_0x254412);}async[_0x1bb9d2(0x116)](){const _0x119b4a=_0x1bb9d2;for(const _0x5cb9f6 of this[_0x119b4a(0x13c)][_0x119b4a(0x149)]())await this[_0x119b4a(0x11f)](_0x5cb9f6);if(this[_0x119b4a(0x14e)]instanceof _0x426730){const _0x4b2c40=this[_0x119b4a(0x14e)][_0x119b4a(0x126)][_0x119b4a(0x106)](_0x119b4a(0x150)),_0x3f60c7=this[_0x119b4a(0x14e)][_0x119b4a(0x13f)][_0x119b4a(0x106)](_0x1b364c);_0x3f60c7[_0x119b4a(0x133)](_0x4b2c40);const _0x1e110a=await this[_0x119b4a(0x13c)][_0x119b4a(0x106)](_0x4b2c40)[_0x119b4a(0x10e)]();_0x3f60c7[_0x119b4a(0x15d)](_0x4b2c40,_0x1e110a);}}async[_0x1bb9d2(0x11f)](_0x187891){const _0x2a7007=_0x1bb9d2,{connection:_0xd45f44}=this[_0x2a7007(0x14e)][_0x2a7007(0x13f)][_0x2a7007(0x106)](_0x11ca42),_0x49ac9b=this[_0x2a7007(0x14e)][_0x2a7007(0x13f)][_0x2a7007(0x106)](_0x2a7007(0x14b)),_0x25428b=this[_0x2a7007(0x13c)][_0x2a7007(0x106)](_0x187891),_0x411a9e=await _0x25428b[_0x2a7007(0x156)](_0xd45f44);await this[_0x2a7007(0x154)](_0x411a9e);const _0x5ab06b=new Set(Array[_0x2a7007(0xfc)](_0x49ac9b[_0x2a7007(0x155)]({'channelId':_0x187891}),_0x560089=>_0x560089['id']));for(const _0x5ae37e of _0x411a9e)_0x5ae37e[_0x2a7007(0x119)]||_0x5ab06b[_0x2a7007(0x159)](_0x5ae37e[_0x2a7007(0x143)]);for(const _0xabb0f4 of _0x5ab06b)_0x49ac9b[_0x2a7007(0x11a)](_0xabb0f4)[_0x2a7007(0x15b)]({'isFromAdapter':!0x0});for(const _0xd91cce of _0x411a9e){let _0x1a9e78=_0x49ac9b[_0x2a7007(0x11a)](_0xd91cce[_0x2a7007(0x143)]);const {commentThreadId:_0x213a68,context:_0x1f1023,attributes:_0x37970d,resolvedBy:_0xecc6b2,resolvedAt:_0x141447,unlinkedAt:_0xac1754,deletedAt:_0x35bb8c}=_0xd91cce;if(_0x35bb8c)continue;_0x1a9e78||(_0x1a9e78=_0x49ac9b[_0x2a7007(0x144)]({'channelId':_0x187891,'threadId':_0x213a68,'context':_0x1f1023,'attributes':_0x37970d||{},'resolvedBy':_0xecc6b2,'resolvedAt':_0x141447,'unlinkedAt':_0xac1754,'isFromAdapter':!0x0}));const _0x26009c=new Set(Array[_0x2a7007(0xfc)](_0x1a9e78[_0x2a7007(0x122)],_0xed6eaf=>_0xed6eaf['id']));for(const _0x1f4b58 of _0xd91cce[_0x2a7007(0x122)])_0x26009c[_0x2a7007(0x159)](_0x1f4b58[_0x2a7007(0x15c)]);for(const _0x54ade8 of _0x26009c)_0x1a9e78[_0x2a7007(0x152)](_0x54ade8)[_0x2a7007(0x15b)]({'isFromAdapter':!0x0});for(const _0x810363 of _0xd91cce[_0x2a7007(0x122)]){const _0x2643d7=_0x1a9e78[_0x2a7007(0x152)](_0x810363[_0x2a7007(0x15c)]);_0x2643d7?_0x2643d7[_0x2a7007(0x100)]!==_0x810363[_0x2a7007(0x100)]&&_0x2643d7[_0x2a7007(0x151)]({'content':_0x810363[_0x2a7007(0x100)],'isFromAdapter':!0x0}):_0x1a9e78[_0x2a7007(0x130)](Object[_0x2a7007(0x14d)](S(_0x810363),{'isFromAdapter':!0x0}));}}}[_0x1bb9d2(0x147)](_0x4e5d12){const _0x813802=_0x1bb9d2;if(!this[_0x813802(0x13c)][_0x813802(0x14c)](_0x4e5d12))throw new _0x18e3f6(_0x813802(0x112),null,{'channelId':_0x4e5d12});return this[_0x813802(0x13c)][_0x813802(0x106)](_0x4e5d12);}async[_0x1bb9d2(0x154)](_0x406eae){const _0x37dbe6=_0x1bb9d2,_0x232543=this[_0x37dbe6(0x14e)][_0x37dbe6(0x13f)][_0x37dbe6(0x106)](_0x1793fe),{connection:_0x5cd0ca}=this[_0x37dbe6(0x14e)][_0x37dbe6(0x13f)][_0x37dbe6(0x106)](_0x11ca42),_0x3c9f36=new Set();for(const {resolvedBy:_0x35c02c,comments:_0x5e0cc0}of _0x406eae){_0x35c02c&&!_0x232543[_0x37dbe6(0xfd)](_0x35c02c)&&_0x3c9f36[_0x37dbe6(0x135)](_0x35c02c);for(const {userId:_0x4196c4}of _0x5e0cc0)_0x232543[_0x37dbe6(0xfd)](_0x4196c4)||_0x3c9f36[_0x37dbe6(0x135)](_0x4196c4);}if(0x0===_0x3c9f36[_0x37dbe6(0x109)])return;const _0x3af742=await _0xd5242b[_0x37dbe6(0x128)](_0x5cd0ca,Array[_0x37dbe6(0xfc)](_0x3c9f36));for(const _0x2b9ac4 of _0x3af742)_0x232543[_0x37dbe6(0xfd)](_0x2b9ac4['id'])||_0x232543[_0x37dbe6(0x11b)](_0x2b9ac4);}}async function F(_0x2c9c15){const _0x1ce56d=_0x1bb9d2;if(_0x1ce56d(0x14a)!==_0x2c9c15[_0x1ce56d(0x153)])throw _0x2c9c15;}function k(_0x3a486d){const _0x5920ac=_0x1bb9d2;if((_0x418a81=_0x3a486d)[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x113))||_0x418a81[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x158))||_0x418a81[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x12a)))return new Promise(()=>{});var _0x418a81;throw _0x3a486d;}function _0xbe3f(_0x23f88c,_0x561421){const _0x5a8441=_0x5a84();return _0xbe3f=function(_0xbe3f09,_0x53c4f8){_0xbe3f09=_0xbe3f09-0xf7;let _0x230c87=_0x5a8441[_0xbe3f09];return _0x230c87;},_0xbe3f(_0x23f88c,_0x561421);}function S(_0x2aabc0){const _0x47b5fc=_0x1bb9d2;return{'threadId':_0x2aabc0[_0x47b5fc(0x143)],'commentId':_0x2aabc0[_0x47b5fc(0x15c)],'content':_0x2aabc0[_0x47b5fc(0x100)],'createdAt':_0x2aabc0[_0x47b5fc(0x13e)],'authorId':_0x2aabc0[_0x47b5fc(0x11c)],'attributes':_0x2aabc0[_0x47b5fc(0x13d)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a9c0d=_0x48cb;(function(_0x473acc,_0x56addd){const _0x55cbd3=_0x48cb,_0x1e096c=_0x473acc();while(!![]){try{const _0x59b481=parseInt(_0x55cbd3(0x145))/0x1*(parseInt(_0x55cbd3(0x153))/0x2)+-parseInt(_0x55cbd3(0x13e))/0x3+-parseInt(_0x55cbd3(0x140))/0x4+-parseInt(_0x55cbd3(0x13c))/0x5*(-parseInt(_0x55cbd3(0x146))/0x6)+-parseInt(_0x55cbd3(0x14f))/0x7+-parseInt(_0x55cbd3(0x14d))/0x8+parseInt(_0x55cbd3(0x151))/0x9;if(_0x59b481===_0x56addd)break;else _0x1e096c['push'](_0x1e096c['shift']());}catch(_0xfdd4b5){_0x1e096c['push'](_0x1e096c['shift']());}}}(_0xec6c,0x8b6c4));import{Plugin as _0x4842c8}from'ckeditor5/src/core.js';function _0x48cb(_0xd55f8a,_0x4f4815){const _0xec6c3d=_0xec6c();return _0x48cb=function(_0x48cbca,_0x22d17f){_0x48cbca=_0x48cbca-0x133;let _0x2b3bf0=_0xec6c3d[_0x48cbca];return _0x2b3bf0;},_0x48cb(_0xd55f8a,_0x4f4815);}import{CloudServicesCommentsAdapter as _0x4376e5}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0xec6c(){const _0x1aa2c2=['isOfficialPlugin','860wcEXjb','listenTo','2959131LymNHN','Comments','127752fYNSCx','destroy','pluginName','switchReadOnly','RealTimeCollaborativeComments','4629yGLzRk','29028gJznxC','isPremiumPlugin','init','connected','requires','config','change:state','2620824NtsNhl','data','5008395aBJhzL','editor','15536511lJSSlN','isThreadsLoadingPaused','32JyokVG','_setUpService','plugins','CommentsEditing','collaboration.channelId','ready','once','_terminateService','CommentsRepository','get'];_0xec6c=function(){return _0x1aa2c2;};return _0xec6c();}import{RealTimeCollaborativeEditing as _0x47b284}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5665c3}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4842c8{static get[_0x1a9c0d(0x14a)](){const _0x2fec8e=_0x1a9c0d;return[_0x2fec8e(0x13f),_0x4376e5,_0x47b284,_0x5665c3];}static get[_0x1a9c0d(0x142)](){const _0x45faf4=_0x1a9c0d;return _0x45faf4(0x144);}static get[_0x1a9c0d(0x13b)](){return!0x0;}static get[_0x1a9c0d(0x147)](){return!0x0;}[_0x1a9c0d(0x148)](){const _0x14afcb=_0x1a9c0d,_0xd8d8ae=this[_0x14afcb(0x150)][_0x14afcb(0x133)][_0x14afcb(0x13a)](_0x5665c3),_0x14a30a=this[_0x14afcb(0x150)][_0x14afcb(0x133)][_0x14afcb(0x13a)](_0x14afcb(0x134)),_0x22532f=this[_0x14afcb(0x150)][_0x14afcb(0x133)][_0x14afcb(0x13a)](_0x4376e5);return this[_0x14afcb(0x150)][_0x14afcb(0x14e)][_0x14afcb(0x137)](_0x14afcb(0x136),()=>{const _0x4c8629=_0x14afcb;this[_0x4c8629(0x13d)](_0xd8d8ae,_0x4c8629(0x14c),(_0x2cf0bd,_0x553032,_0x42e22c)=>{const _0x264921=_0x4c8629;_0x14a30a[_0x264921(0x152)]=_0x264921(0x149)!==_0x42e22c;});}),this[_0x14afcb(0x13d)](_0xd8d8ae,_0x14afcb(0x14c),(_0x3c3270,_0x2afd07,_0x2a395e)=>{const _0x18e029=_0x14afcb;this[_0x18e029(0x150)][_0x18e029(0x133)][_0x18e029(0x13a)](_0x18e029(0x139))[_0x18e029(0x143)](_0x18e029(0x149)!==_0x2a395e);}),_0x22532f[_0x14afcb(0x154)](this[_0x14afcb(0x150)][_0x14afcb(0x14b)][_0x14afcb(0x13a)](_0x14afcb(0x135)));}[_0x1a9c0d(0x141)](){const _0x314884=_0x1a9c0d;this[_0x314884(0x150)][_0x314884(0x133)][_0x314884(0x13a)](_0x4376e5)[_0x314884(0x138)](this[_0x314884(0x150)][_0x314884(0x14b)][_0x314884(0x13a)](_0x314884(0x135))),super[_0x314884(0x141)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1f63ec)());[_0x298827(0xfa)];[_0x298827(0x165)];[_0x298827(0x153)];[_0x298827(0x1cd)];[_0x298827(0xee)];[_0x298827(0x157)];[_0x298827(0xc9)];[_0x298827(0x13b)];[_0x298827(0x1c2)];[_0x298827(0x196)];[_0x298827(0x17f)];[_0x298827(0x111)];[_0x298827(0x178)];[_0x298827(0x18a)];[_0x298827(0x176)];[_0x298827(0x158)];[_0x298827(0x144)];[_0x298827(0x106)];static get[_0x298827(0x15c)](){return[_0x50ca4f,_0x33a942,_0x57b63e,_0x5ebdf4,_0x4e6cae,_0x1d80c4];}static get[_0x298827(0x184)](){const _0xa290ec=_0x298827;return _0xa290ec(0xf4);}static get[_0x298827(0xfd)](){return!0x0;}static get[_0x298827(0x17a)](){return!0x0;}get[_0x298827(0x1bd)](){const _0x56eb80=_0x298827;return this[_0x56eb80(0x16d)]+this[_0x56eb80(0xfa)];}get[_0x298827(0x16d)](){const _0x6c0301=_0x298827;return this[_0x6c0301(0x153)][_0x6c0301(0x12c)]-this[_0x6c0301(0xfa)];}get[_0x298827(0x18c)](){const _0x1c411b=_0x298827,_0x8852e5=this[_0x1c411b(0x153)][_0x1c411b(0x1be)]();for(let _0x3debf=_0x8852e5[_0x1c411b(0x193)]-0x1;_0x3debf>=0x0;_0x3debf--){const _0x3b965d=_0x8852e5[_0x3debf];if(!this[_0x1c411b(0x144)][_0x1c411b(0x11b)](_0x3b965d))return _0x3b965d[_0x1c411b(0xde)]+0x1-this[_0x1c411b(0xfa)];}return 0x0;}constructor(_0x416a10){const _0x395314=_0x298827;if(super(_0x416a10),this[_0x395314(0xfa)]=0x0,this[_0x395314(0x165)]=null,this[_0x395314(0x153)]=new _0x56f613(),this[_0x395314(0xd8)][_0x395314(0x18d)][_0x395314(0x18f)](_0x395314(0x19f),{}),this[_0x395314(0x1cd)]=this[_0x395314(0xd8)][_0x395314(0x18d)][_0x395314(0x149)](_0x395314(0x171)),!this[_0x395314(0x1cd)])throw new _0x401e17(_0x395314(0xcf),this);const _0x1ee832=_0x416a10[_0x395314(0x18d)][_0x395314(0x149)](_0x395314(0xd0))||_0x162174;this[_0x395314(0xee)]=new RealTimeCollaborationClient[(_0x395314(0x124))](_0x1ee832,this[_0x395314(0x1cd)]),this[_0x395314(0x157)]=this[_0x395314(0xd8)][_0x395314(0x146)][_0x395314(0x17e)],this[_0x395314(0xc9)]=new _0x5e70fd(),this[_0x395314(0x13b)]=[],this[_0x395314(0x1c2)]=new WeakSet(),this[_0x395314(0x196)]=new Set(),this[_0x395314(0x143)](_0x395314(0x1a2),!0x1),this[_0x395314(0x143)](_0x395314(0x132),!0x1),this[_0x395314(0x17f)]=null,this[_0x395314(0x111)]=!0x1,this[_0x395314(0x178)]=null,this[_0x395314(0x18a)]=0x12c,this[_0x395314(0x176)]=this[_0x395314(0x18a)],this[_0x395314(0x158)]=null,this[_0x395314(0x144)]=new WeakSet(),this[_0x395314(0x106)]=new J(this[_0x395314(0x144)]);}[_0x298827(0x1cb)](){const _0xc040fa=_0x298827,_0x1ebb9d=this[_0xc040fa(0xd8)],_0x278530=_0x1ebb9d[_0xc040fa(0x195)][_0xc040fa(0x149)](_0x4e6cae),_0x4d23a2=_0x1ebb9d[_0xc040fa(0x195)][_0xc040fa(0x149)](_0x50ca4f);this[_0xc040fa(0x1b1)](_0x278530,_0xc040fa(0x1b6),(_0x4e98e3,_0x176b4d)=>{const _0x10294b=_0xc040fa,_0x5771a1=_0x176b4d[0x0];_0x5771a1[_0x10294b(0xfe)]&&(_0x4e98e3[_0x10294b(0x1bb)]=_0x278530[_0x10294b(0x12e)](_0x5771a1[_0x10294b(0xfe)]),_0x4e98e3[_0x10294b(0x166)]()),null===_0x5771a1[_0x10294b(0xfe)]&&(_0x4e98e3[_0x10294b(0x1bb)]=null,_0x4e98e3[_0x10294b(0x166)]());},{'priority':_0xc040fa(0x1ac)}),this[_0xc040fa(0x1b1)](_0x1ebb9d[_0xc040fa(0x146)][_0xc040fa(0x17e)][_0xc040fa(0x180)],_0xc040fa(0x1a8),(_0x24190b,_0x4d7fa6)=>{const _0x2924cf=_0xc040fa;_0x4d7fa6[_0x2924cf(0x10b)]&&this[_0x2924cf(0x14b)]();}),this[_0xc040fa(0x1b1)](_0x1ebb9d[_0xc040fa(0x14f)][_0xc040fa(0xf3)],_0xc040fa(0x1cc),()=>{const _0x1f9eb7=_0xc040fa;this[_0x1f9eb7(0x14b)]();}),this[_0xc040fa(0x141)](),_0x1ebb9d[_0xc040fa(0x146)]['on'](_0xc040fa(0x14d),(_0x5b5c0d,_0x18639a)=>{const _0x34399a=_0xc040fa,_0x1ef625=_0x18639a[0x0];_0x1ef625[_0x34399a(0xfb)]&&(this[_0x34399a(0x167)](_0x1ef625),this[_0x34399a(0x16e)]()&&this[_0x34399a(0x1a4)]());}),this[_0xc040fa(0xe6)](),this[_0xc040fa(0x1bc)](_0xc040fa(0x13e))['to'](_0x4d23a2,_0xc040fa(0xf2),this,_0xc040fa(0x132),(_0x5f5119,_0x4afaa8)=>_0xc040fa(0x1a1)===_0x5f5119&&!_0x4afaa8),this['on'](_0xc040fa(0x138),()=>{const _0x229b00=_0xc040fa;this[_0x229b00(0x13e)]?_0x1ebb9d[_0x229b00(0x131)](_0x229b00(0x164)):_0x1ebb9d[_0x229b00(0x181)](_0x229b00(0x164));}),this[_0xc040fa(0x13e)]?_0x1ebb9d[_0xc040fa(0x131)](_0xc040fa(0x164)):_0x1ebb9d[_0xc040fa(0x181)](_0xc040fa(0x164)),this[_0xc040fa(0x143)](_0xc040fa(0x105),!0x1);}async[_0x298827(0x197)](){const _0x4e35b9=_0x298827,_0x49392c=this[_0x4e35b9(0xd8)][_0x4e35b9(0x195)][_0x4e35b9(0x149)](_0x33a942),_0x3a8cc0=this[_0x4e35b9(0xd8)][_0x4e35b9(0x195)][_0x4e35b9(0x149)](_0x50ca4f);try{this[_0x4e35b9(0x1a2)]=!0x0,_0x49392c[_0x4e35b9(0xe4)](this[_0x4e35b9(0x1cd)]);const _0x22b566=await this[_0x4e35b9(0xee)][_0x4e35b9(0x197)](_0x3a8cc0[_0x4e35b9(0x13c)],this[_0x4e35b9(0x18c)]);await this[_0x4e35b9(0x156)](_0x22b566)&&(this[_0x4e35b9(0x1a2)]=!0x1,this[_0x4e35b9(0x115)]());const _0x21dd42=await this[_0x4e35b9(0xee)][_0x4e35b9(0xed)]();_0x49392c[_0x4e35b9(0x133)](this[_0x4e35b9(0x1cd)],_0x21dd42),this[_0x4e35b9(0x112)](),this[_0x4e35b9(0x105)]=!0x0;}catch(_0x40ee12){if(function(_0x39da31){const _0x52b08e=_0x4e35b9;return _0x52b08e(0x11e)===_0x39da31[_0x52b08e(0x10f)];}(_0x40ee12)&&this[_0x4e35b9(0x165)])await this[_0x4e35b9(0x1b8)]();else{if(function(_0x2bb39c){const _0x3546fd=_0x4e35b9;return _0x3546fd(0x120)===_0x2bb39c[_0x3546fd(0x10f)];}(_0x40ee12)){const _0x3e7f2a=_0x53794(this[_0x4e35b9(0xd8)][_0x4e35b9(0x10c)],_0x4e35b9(0x183));this[_0x4e35b9(0x1c6)](_0x3e7f2a);}else{if(!(_0x40ee12 instanceof $))throw _0x40ee12;this[_0x4e35b9(0x1c6)]();}}}}[_0x298827(0x13d)](){const _0x10acb1=_0x298827,_0x1b2c5e=this[_0x10acb1(0xd8)][_0x10acb1(0x195)][_0x10acb1(0x149)](_0x50ca4f),_0x3a1aab=this[_0x10acb1(0xd8)][_0x10acb1(0x195)][_0x10acb1(0x149)](_0x33a942);this[_0x10acb1(0xd8)][_0x10acb1(0x181)](_0x10acb1(0xeb)),_0x3a1aab[_0x10acb1(0xfc)][_0x10acb1(0x11b)](this[_0x10acb1(0x1cd)])&&_0x3a1aab[_0x10acb1(0xe4)](this[_0x10acb1(0x1cd)]),_0x1b2c5e[_0x10acb1(0x189)](this),this[_0x10acb1(0x199)](),super[_0x10acb1(0x13d)]();}async[_0x298827(0x156)](_0x411c78){const _0x4af6d4=_0x298827;if(this[_0x4af6d4(0x165)]!==_0x411c78[_0x4af6d4(0x165)]&&this[_0x4af6d4(0x158)]!==_0x411c78[_0x4af6d4(0x117)])throw new $();return this[_0x4af6d4(0x165)]=_0x411c78[_0x4af6d4(0x165)],this[_0x4af6d4(0x1bf)]([],{..._0x411c78,'wereChangesApplied':!0x1,'data':_0x411c78[_0x4af6d4(0xe1)]},_0x4af6d4(0x197));}async[_0x298827(0xea)](_0x18dd74,_0x488a6f=!0x1){const _0x4335a6=_0x298827,{connection:_0x59a28b}=this[_0x4335a6(0xd8)][_0x4335a6(0x195)][_0x4335a6(0x149)](_0x50ca4f);RealTimeCollaborationClient[_0x4335a6(0x124)][_0x4335a6(0xed)](_0x59a28b,this[_0x4335a6(0x1cd)])[_0x4335a6(0x101)](_0x44742a=>this[_0x4335a6(0x127)](_0x44742a))[_0x4335a6(0xd3)](_0x201397=>{const _0x508101=_0x4335a6;this[_0x508101(0x17d)](_0x508101(0xdf),_0x201397);}),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0xf7),this[_0x4335a6(0x155)][_0x4335a6(0x1bc)](this)),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0x15d),(_0x2cb99f,_0x49613d)=>{const _0x6f9ccb=_0x4335a6;this[_0x6f9ccb(0x17d)](_0x6f9ccb(0x152),_0x49613d);}),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0x134),()=>{const _0x1ca917=_0x4335a6;this[_0x1ca917(0x105)]=!0x1;});const _0x1c3cbf=this[_0x4335a6(0x106)][_0x4335a6(0xf8)](_0x18dd74);this[_0x4335a6(0x1a2)]=!0x0;const _0x1639bf=await this[_0x4335a6(0xee)][_0x4335a6(0xdb)](_0x59a28b,this[_0x4335a6(0x188)](_0x18dd74),_0x1c3cbf);if(this[_0x4335a6(0x165)]=_0x1639bf[_0x4335a6(0x165)],_0x488a6f){if(!_0x1639bf[_0x4335a6(0xe2)])return void this[_0x4335a6(0x1c6)]();this[_0x4335a6(0x1a2)]=!0x1,this[_0x4335a6(0x115)](),this[_0x4335a6(0x153)][_0x4335a6(0x12d)](),this[_0x4335a6(0xfa)]=_0x1639bf[_0x4335a6(0x107)],this[_0x4335a6(0x153)][_0x4335a6(0x12c)]=this[_0x4335a6(0xfa)],await this[_0x4335a6(0x1bf)](_0x18dd74,_0x1639bf,_0x4335a6(0x145));}else await this[_0x4335a6(0x15e)](_0x1639bf,_0x18dd74);this[_0x4335a6(0x112)](),this[_0x4335a6(0x105)]=!0x0;}[_0x298827(0x112)](){const _0x6a8d20=_0x298827,_0x1c9e45=this[_0x6a8d20(0xd8)][_0x6a8d20(0x195)][_0x6a8d20(0x149)](_0x33a942),_0x14685a=this[_0x6a8d20(0xd8)][_0x6a8d20(0x195)][_0x6a8d20(0x149)](_0x57b63e),_0x5a40aa=_0x1c9e45[_0x6a8d20(0xfc)][_0x6a8d20(0x149)](this[_0x6a8d20(0x1cd)]);_0x5a40aa&&_0x5a40aa[_0x6a8d20(0x193)]>0x1?_0x14685a[_0x6a8d20(0x142)]():this[_0x6a8d20(0x1b1)](_0x1c9e45,_0x6a8d20(0x1c0)+this[_0x6a8d20(0x1cd)],()=>{const _0x4b9ddb=_0x6a8d20;0x2===_0x1c9e45[_0x4b9ddb(0xfc)][_0x4b9ddb(0x149)](this[_0x4b9ddb(0x1cd)])[_0x4b9ddb(0x193)]&&_0x14685a[_0x4b9ddb(0x142)]();});}async[_0x298827(0x155)](_0x26992d,_0x4de62b,_0x43ddcc,_0x1dabbe){const _0x453624=_0x298827;if(!this[_0x453624(0x1a2)]&&this[_0x453624(0x157)][_0x453624(0x12c)]==_0x4de62b){const _0x2b7c0e=this[_0x453624(0x1a3)](_0x43ddcc,_0x1dabbe);await this[_0x453624(0x16b)](_0x2b7c0e),this[_0x453624(0x100)](_0x2b7c0e,_0x4de62b,_0x43ddcc[_0x453624(0x117)])||this[_0x453624(0x17d)](_0x453624(0x1aa));}}async[_0x298827(0x1b8)](){const _0x196f78=_0x298827;this[_0x196f78(0x199)]();const {locale:_0x52e426}=this[_0x196f78(0xd8)];let _0x595044;try{_0x595044=await this[_0x196f78(0xee)][_0x196f78(0x109)]();}catch{const _0x1f4bdb=_0x53794(_0x52e426,_0x196f78(0xf5));return void this[_0x196f78(0x1c6)](_0x1f4bdb);}const _0x324376=_0x595044[_0x196f78(0xd2)]||_0x595044[_0x196f78(0x19d)];if(this[_0x196f78(0x158)]!==_0x324376[_0x196f78(0x117)]){const _0xc5a495=_0x53794(_0x52e426,_0x196f78(0x1ae));return void this[_0x196f78(0x1c6)](_0xc5a495);}await this[_0x196f78(0xea)](this[_0x196f78(0xd8)][_0x196f78(0x146)][_0x196f78(0x17e)][_0x196f78(0xec)][_0x196f78(0x1be)](),!0x0);}[_0x298827(0x199)](){const _0x1d2717=_0x298827;this[_0x1d2717(0xee)][_0x1d2717(0x177)](),this[_0x1d2717(0x13b)]=[],clearTimeout(this[_0x1d2717(0x178)]),this[_0x1d2717(0x137)](this[_0x1d2717(0xee)]);}[_0x298827(0x127)](_0x5ab1a7){const _0x4320e0=_0x298827,_0x55c06f=this[_0x4320e0(0xd8)][_0x4320e0(0x195)][_0x4320e0(0x149)](_0x33a942);this[_0x4320e0(0x1b1)](_0x55c06f,_0x4320e0(0x1c0)+this[_0x4320e0(0x1cd)],(_0x29fd05,{session:_0x1b3bb5})=>{const _0x569215=_0x4320e0;if(_0x1b3bb5['id']===_0x55c06f[_0x569215(0x192)]){_0x29fd05[_0x569215(0x135)]();const _0x12da4c=this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x11b)](_0x569215(0x1a6))&&this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x149)](_0x569215(0x1a6));let _0x589cc2=_0x1b3bb5[_0x569215(0x16a)];_0x12da4c&&_0x12da4c[_0x569215(0x173)]&&(_0x589cc2=_0x589cc2[_0x569215(0x12b)](_0xd211fd=>_0x569215(0x161)!==_0xd211fd)),this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x149)](_0x569215(0x169))[_0x569215(0x182)](_0x589cc2,this[_0x569215(0x1cd)]);}}),_0x55c06f[_0x4320e0(0x133)](this[_0x4320e0(0x1cd)],_0x5ab1a7);}[_0x298827(0x141)](){const _0x5a4aef=_0x298827,_0x5dbd85=this[_0x5a4aef(0xd8)][_0x5a4aef(0xe1)][_0x5a4aef(0x143)];this[_0x5a4aef(0xd8)][_0x5a4aef(0xe1)][_0x5a4aef(0x143)]=(..._0x2318b1)=>{const _0x12d362=_0x5a4aef;if(!_0x2318b1[_0x2318b1[_0x12d362(0x193)]-0x1][_0x12d362(0x15f)])throw new _0x401e17(_0x12d362(0x190),this);_0x5dbd85[_0x12d362(0x19c)](this[_0x12d362(0xd8)][_0x12d362(0xe1)],_0x2318b1);};}[_0x298827(0xe6)](){const _0x431725=_0x298827;this[_0x431725(0xd8)][_0x431725(0xe1)]['on'](_0x431725(0x1cb),(_0x32c8c9,[_0x38f189])=>{const _0x1f5d88=_0x431725;if(this[_0x1f5d88(0x157)][_0x1f5d88(0x12c)])throw new _0x401e17(_0x1f5d88(0x126),this);_0x32c8c9[_0x1f5d88(0x166)](),this[_0x1f5d88(0xe3)]();const _0x47f2e2=this[_0x1f5d88(0xd8)][_0x1f5d88(0x18d)][_0x1f5d88(0x149)](_0x1f5d88(0x1c8)),_0x27ce2c=this[_0x1f5d88(0x11f)](_0x38f189,_0x47f2e2);0x0==_0x27ce2c[_0x1f5d88(0x193)]&&_0x27ce2c[_0x1f5d88(0x15b)](new _0x164433(0x0)),_0x32c8c9[_0x1f5d88(0x1bb)]=this[_0x1f5d88(0xea)](_0x27ce2c)[_0x1f5d88(0x101)](()=>{const _0x4ceb1e=_0x1f5d88;this[_0x4ceb1e(0xd8)][_0x4ceb1e(0x195)][_0x4ceb1e(0x149)](_0x50ca4f)[_0x4ceb1e(0xe5)](this),this[_0x4ceb1e(0xd8)][_0x4ceb1e(0xe1)][_0x4ceb1e(0xd4)](_0x4ceb1e(0x10a));})[_0x1f5d88(0xd3)](_0x5dc13e=>this[_0x1f5d88(0x17d)](_0x1f5d88(0x14c),_0x5dc13e))[_0x1f5d88(0x147)](()=>this[_0x1f5d88(0x115)]());},{'priority':_0x431725(0x1ac)}),this[_0x431725(0xd8)]['on'](_0x431725(0x17b),async(_0x1df247,[_0x11922e,_0x2c4346])=>{const _0x548ace=_0x431725;_0x1df247[_0x548ace(0x166)]();const _0x23ecd7=this[_0x548ace(0xd8)][_0x548ace(0x146)][_0x548ace(0x17e)][_0x548ace(0xe0)](_0x11922e);if(!this[_0x548ace(0x196)][_0x548ace(0x11b)](_0x11922e)){const _0x532cb2=_0x2c4346&&_0x2c4346[_0x548ace(0xe1)]?_0x2c4346[_0x548ace(0xe1)]:'',_0x3976e4=_0x2c4346&&_0x2c4346[_0x548ace(0x139)]?_0x2c4346[_0x548ace(0x139)]:{};await this[_0x548ace(0x154)](_0x11922e,_0x532cb2,_0x3976e4);}this[_0x548ace(0xd8)][_0x548ace(0x146)][_0x548ace(0x130)]({'isUndoable':!0x1},()=>{const _0x569a1e=_0x548ace;_0x23ecd7[_0x569a1e(0x16f)]=!0x0,this[_0x569a1e(0xd8)][_0x569a1e(0x146)][_0x569a1e(0x17e)][_0x569a1e(0x113)][_0x569a1e(0x1b3)](_0x23ecd7);});},{'priority':_0x431725(0x1ac)});}async[_0x298827(0x16b)](_0x51f1f8){const _0xdd68e9=_0x298827,_0x43ac5d=this[_0xdd68e9(0xd8)][_0xdd68e9(0x195)][_0xdd68e9(0x149)](_0x4e6cae),{connection:_0x26bd9b}=this[_0xdd68e9(0xd8)][_0xdd68e9(0x195)][_0xdd68e9(0x149)](_0x50ca4f),_0xb9898=new Set();for(const _0x20ac95 of _0x51f1f8){const _0x589552=_0x20ac95[_0xdd68e9(0xfe)];_0x589552&&!_0x43ac5d[_0xdd68e9(0x12e)](_0x589552)&&_0xb9898[_0xdd68e9(0xf6)](_0x589552);}if(0x0===_0xb9898[_0xdd68e9(0xce)])return;const _0x47fe55=await _0x42a46c[_0xdd68e9(0x116)](_0x26bd9b,Array[_0xdd68e9(0x168)](_0xb9898));for(const _0x28752a of _0x47fe55)_0x43ac5d[_0xdd68e9(0x12e)](_0x28752a['id'])||_0x43ac5d[_0xdd68e9(0x129)](_0x28752a);}[_0x298827(0x11f)](_0x55a931,_0x5d845f={}){const _0x3c81c2=_0x298827,_0x259d62=this[_0x3c81c2(0xd8)][_0x3c81c2(0x146)],_0x1b947c=[];let _0x3b0c80=0x0;const _0x5490e0=_0x3c81c2(0x1b2)==typeof _0x55a931?{'main':_0x55a931}:_0x55a931;for(const _0x240999 of Object[_0x3c81c2(0x12a)](_0x5490e0)){if(!this[_0x3c81c2(0x157)][_0x3c81c2(0x17c)][_0x3c81c2(0x11b)](_0x240999))throw new _0x401e17(_0x3c81c2(0xf9),this);const _0x4ea413=this[_0x3c81c2(0xd8)][_0x3c81c2(0xe1)][_0x3c81c2(0xca)](_0x5490e0[_0x240999]),_0x2b9a58=this[_0x3c81c2(0x157)][_0x3c81c2(0xe0)](_0x240999),_0x1970e2=new _0x57377d(_0x259d62[_0x3c81c2(0x1ca)](_0x2b9a58,0x0),_0x4ea413,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x1970e2);for(const [_0x31a97b,_0x46ce67]of _0x4ea413[_0x3c81c2(0xe7)]){const _0x48d6fe=_0x259d62[_0x3c81c2(0xdd)](_0x259d62[_0x3c81c2(0xef)](_0x2b9a58,_0x46ce67[_0x3c81c2(0xd7)][_0x3c81c2(0x11a)][_0x3c81c2(0x148)]()),_0x259d62[_0x3c81c2(0xef)](_0x2b9a58,_0x46ce67[_0x3c81c2(0xd1)][_0x3c81c2(0x11a)][_0x3c81c2(0x148)]())),_0x1cfbf1=new _0x282766(_0x31a97b,null,_0x48d6fe,_0x259d62[_0x3c81c2(0xe7)],!0x0,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x1cfbf1);}}if(_0x5d845f)for(const [_0x48273a,_0x37d9b1]of Object[_0x3c81c2(0x186)](_0x5d845f)){const _0x456685=_0x259d62[_0x3c81c2(0x17e)][_0x3c81c2(0xe0)](_0x48273a);if(!_0x456685)throw new _0x401e17(_0x3c81c2(0x15a),null);for(const [_0x35c577,_0xe6884e]of Object[_0x3c81c2(0x186)](_0x37d9b1))if(null!==_0xe6884e){const _0x106946=new _0x4afce1(_0x456685,_0x35c577,null,_0xe6884e,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x106946);}}return _0x1b947c;}async[_0x298827(0x154)](_0x27a18b,_0x4e1a55,_0xd54924){const _0x5189fa=_0x298827;this[_0x5189fa(0x11f)]({[_0x27a18b]:_0x4e1a55},{[_0x27a18b]:_0xd54924})[_0x5189fa(0x1b9)]((_0x369025,_0x441115)=>{const _0x11113d=_0x5189fa;_0x369025[_0x11113d(0xde)]=this[_0x11113d(0x157)][_0x11113d(0x12c)]+_0x441115,_0x369025[_0x11113d(0x140)]=!0x0,this[_0x11113d(0x167)](_0x369025);}),this[_0x5189fa(0x1a4)](),await this[_0x5189fa(0x174)]();}async[_0x298827(0x15e)](_0x3784a4,_0xf36d46){const _0x535191=_0x298827;let _0x15092e;this[_0x535191(0xfa)]=_0x3784a4[_0x535191(0x107)];const _0x3b12f0=_0x3784a4[_0x535191(0xe2)]&&!_0x3784a4[_0x535191(0x119)],_0x15c2b4=_0x3b12f0?0x0:_0x3784a4[_0x535191(0xe1)][_0x535191(0xde)];if(_0xf36d46[_0x535191(0x1b9)](_0xe26f94=>{const _0x138401=_0x535191;_0xe26f94[_0x138401(0x140)]=!0x0,_0xe26f94[_0x138401(0x1c7)]=_0x3784a4[_0x138401(0x136)],_0xe26f94[_0x138401(0xfe)]=null;}),_0x3b12f0)_0x15092e=_0xf36d46,this[_0x535191(0x12f)](_0x15092e,_0x3b12f0);else{if(_0x3784a4[_0x535191(0x119)]){const _0x3d3943=this[_0x535191(0x11f)](_0x3784a4[_0x535191(0x119)]);this[_0x535191(0x157)][_0x535191(0xec)][_0x535191(0x12c)]=-_0x3d3943[_0x535191(0x193)],_0x3d3943[_0x535191(0x1b9)](_0x3c7f35=>{const _0x39d983=_0x535191;_0x3c7f35[_0x39d983(0xde)]-=_0x3d3943[_0x39d983(0x193)],_0x3c7f35[_0x39d983(0x1c7)]=_0x3784a4[_0x39d983(0x136)],_0x3c7f35[_0x39d983(0x140)]=!0x0,_0x3c7f35[_0x39d983(0xfe)]=null;}),this[_0x535191(0x12f)](_0x3d3943,!0x0),this[_0x535191(0x153)][_0x535191(0x12c)]=-_0x3d3943[_0x535191(0x193)]+this[_0x535191(0xfa)],this[_0x535191(0x1ad)](_0x3d3943);}this[_0x535191(0x157)][_0x535191(0xec)][_0x535191(0x12c)]=_0x15c2b4,_0x15092e=this[_0x535191(0x1a3)](_0x3784a4[_0x535191(0xe1)],_0x3784a4[_0x535191(0xcd)]),await this[_0x535191(0x16b)](_0x15092e),this[_0x535191(0x12f)](_0x15092e,_0x3b12f0);}_0x3784a4[_0x535191(0x117)]&&(this[_0x535191(0x106)][_0x535191(0xcb)](_0x15092e,_0x3784a4[_0x535191(0x117)]),this[_0x535191(0x158)]=_0x3784a4[_0x535191(0x117)]),this[_0x535191(0x153)][_0x535191(0x12c)]=_0x15c2b4+this[_0x535191(0xfa)],this[_0x535191(0x1ad)](_0x15092e),_0xf36d46[_0x535191(0x12b)](_0x4951a5=>{const _0x2242ee=_0x535191,_0x10ec1a=this[_0x2242ee(0x185)](_0x4951a5);return _0x10ec1a&&!this[_0x2242ee(0x196)][_0x2242ee(0x11b)](_0x10ec1a);})[_0x535191(0x1b9)]((_0x5eb8fa,_0x95ea87)=>{const _0x15c55f=_0x535191;_0x5eb8fa[_0x15c55f(0xde)]=this[_0x15c55f(0x157)][_0x15c55f(0x12c)]+_0x95ea87,this[_0x15c55f(0x167)](_0x5eb8fa);}),this[_0x535191(0x16e)]()?(this[_0x535191(0x176)]=0x0,this[_0x535191(0x1a4)](!0x0),await this[_0x535191(0x174)]()):(this[_0x535191(0x1a2)]=!0x1,this[_0x535191(0x115)]());}[_0x298827(0x17d)](_0x43cfe9,_0x4e8da8){const _0x48e847=_0x298827,_0x534f7a=_0x4e8da8&&_0x4e8da8[_0x48e847(0x121)];if(_0x534f7a&&_0x534f7a[_0x48e847(0x1c3)](_0x48e847(0x14a)))throw _0x4e8da8;const _0x155136=this[_0x48e847(0xd8)][_0x48e847(0x195)][_0x48e847(0x149)](_0x50ca4f);throw this[_0x48e847(0x1a2)]=!0x0,_0x155136[_0x48e847(0x177)](),this[_0x48e847(0xd8)][_0x48e847(0x181)](_0x48e847(0x118)),new _0x401e17(_0x43cfe9,this[_0x48e847(0xd8)],_0x534f7a?{'originalError':_0x534f7a}:void 0x0);}[_0x298827(0x167)](_0xf559ce){const _0x33f2ec=_0x298827;this[_0x33f2ec(0x1c2)][_0x33f2ec(0x11b)](_0xf559ce)||(this[_0x33f2ec(0x1c2)][_0x33f2ec(0xf6)](_0xf559ce),this[_0x33f2ec(0x13b)][_0x33f2ec(0x15b)](_0xf559ce),this[_0x33f2ec(0x17f)]||_0x33f2ec(0xe8)==_0xf559ce[_0x33f2ec(0x163)]&&!_0xf559ce[_0x33f2ec(0x1af)]||this[_0x33f2ec(0xe3)]());}[_0x298827(0x1a4)](_0x536ebb=!0x1){const _0x572838=_0x298827;!_0x536ebb&&this[_0x572838(0x1a2)]||(this[_0x572838(0x1a2)]=!0x0,clearTimeout(this[_0x572838(0x178)]),this[_0x572838(0x178)]=setTimeout(()=>{const _0x523d05=_0x572838;this[_0x523d05(0x160)]()[_0x523d05(0x101)](_0x2a20dd=>{const _0x120c77=_0x523d05;_0x2a20dd&&(this[_0x120c77(0x115)](),this[_0x120c77(0x1a2)]=!0x1);})[_0x523d05(0xd3)](_0x5652a4=>{const _0x32aaec=_0x523d05;this[_0x32aaec(0x115)](),this[_0x32aaec(0x1a2)]=!0x1,function(_0x40802d){const _0x20a701=_0x32aaec;return _0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x114))||_0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x125))||_0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x175));}(_0x5652a4)||this[_0x32aaec(0x17d)](_0x5652a4[_0x32aaec(0x121)],_0x5652a4);});},this[_0x572838(0x176)]));}[_0x298827(0x174)](){return new Promise(_0x15a136=>{const _0x4cbbd5=_0x3480;this['on'](_0x4cbbd5(0x19e),()=>{_0x15a136();});});}async[_0x298827(0x160)](){const _0x4a0a4f=_0x298827,_0x1909f8=this[_0x4a0a4f(0xd8)][_0x4a0a4f(0x195)][_0x4a0a4f(0x149)](_0x57b63e);if(this[_0x4a0a4f(0x1b4)]()&&(_0x1909f8[_0x4a0a4f(0x142)](),this[_0x4a0a4f(0x111)]=!0x1),!this[_0x4a0a4f(0x16e)]())return!0x0;const _0x14b041=[...this[_0x4a0a4f(0x13b)]];for(const _0x27d88c of _0x14b041)_0x27d88c[_0x4a0a4f(0x19b)]=this[_0x4a0a4f(0x157)][_0x4a0a4f(0xec)][_0x4a0a4f(0xe9)](_0x27d88c);const _0x41de2b=this[_0x4a0a4f(0x106)][_0x4a0a4f(0xf8)](_0x14b041),_0x3ed92f=G++,_0x54052c=this[_0x4a0a4f(0x188)](_0x14b041),_0x410dad=await this[_0x4a0a4f(0xee)][_0x4a0a4f(0x1ba)](_0x54052c,_0x54052c[_0x4a0a4f(0xde)],_0x41de2b);try{return await this[_0x4a0a4f(0x1bf)](_0x14b041,_0x410dad,_0x3ed92f);}catch(_0x20b79b){return this[_0x4a0a4f(0x17d)](_0x4a0a4f(0x172),_0x20b79b);}}async[_0x298827(0x1bf)](_0x44f07c,_0x5cd2e9,_0x102dbf){const _0x30dcb8=_0x298827;if(_0x30dcb8(0x15d)in _0x5cd2e9)throw _0x5cd2e9[_0x30dcb8(0x15d)];let _0x4b63a5=!0x1;if(_0x5cd2e9[_0x30dcb8(0xe2)]){_0x5cd2e9[_0x30dcb8(0x117)]&&(this[_0x30dcb8(0x158)]=_0x5cd2e9[_0x30dcb8(0x117)]),this[_0x30dcb8(0x13b)]=this[_0x30dcb8(0x13b)][_0x30dcb8(0x12b)](_0xf82e4b=>!_0x44f07c[_0x30dcb8(0x1c9)](_0xf82e4b));for(const _0x289192 of _0x44f07c)_0x289192[_0x30dcb8(0x1c7)]=_0x30dcb8(0xd9)in _0x5cd2e9&&_0x5cd2e9[_0x30dcb8(0xd9)]||void 0x0;K(_0x44f07c,_0x5cd2e9[_0x30dcb8(0x12c)]-_0x44f07c[_0x30dcb8(0x193)]),this[_0x30dcb8(0x1ad)](_0x44f07c);const _0x2b7e19=_0x44f07c[_0x30dcb8(0x12b)](_0x53221a=>{const _0x474056=_0x30dcb8;if(!_0x53221a[_0x474056(0x140)])return!0x1;const _0xad3dbe=this[_0x474056(0x185)](_0x53221a);return _0xad3dbe&&!this[_0x474056(0x196)][_0x474056(0x11b)](_0xad3dbe);});K(_0x2b7e19,this[_0x30dcb8(0x157)][_0x30dcb8(0x12c)]),this[_0x30dcb8(0x12f)](_0x2b7e19),_0x4b63a5=!0x0,this[_0x30dcb8(0x176)]=this[_0x30dcb8(0x18a)];}else{const _0x1550b9=this[_0x30dcb8(0x1a3)](_0x5cd2e9[_0x30dcb8(0xe1)],_0x5cd2e9[_0x30dcb8(0xcd)])[_0x30dcb8(0x12b)](_0x5af321=>_0x5af321[_0x30dcb8(0xde)]>=this[_0x30dcb8(0x16d)]);_0x1550b9[_0x30dcb8(0x1b9)](_0x1729de=>this[_0x30dcb8(0x11d)](_0x1729de)),this[_0x30dcb8(0x13b)]=this[_0x30dcb8(0x13b)][_0x30dcb8(0x12b)](_0x372e22=>!_0x372e22[_0x30dcb8(0x140)]||!this[_0x30dcb8(0x196)][_0x30dcb8(0x11b)](this[_0x30dcb8(0x185)](_0x372e22))),this[_0x30dcb8(0x13b)][_0x30dcb8(0x193)]&&K(this[_0x30dcb8(0x13b)],this[_0x30dcb8(0x13b)][0x0][_0x30dcb8(0xde)]),await this[_0x30dcb8(0x16b)](_0x1550b9),_0x4b63a5=this[_0x30dcb8(0x100)](_0x1550b9,_0x5cd2e9[_0x30dcb8(0x12c)],_0x5cd2e9[_0x30dcb8(0x117)]),this[_0x30dcb8(0x176)]=Math[_0x30dcb8(0xda)](this[_0x30dcb8(0x176)]/0x2);}return _0x4b63a5?!this[_0x30dcb8(0x16e)]()||(this[_0x30dcb8(0x1a4)](!0x0),!0x1):this[_0x30dcb8(0x17d)](_0x30dcb8(0xd5));}[_0x298827(0x100)](_0x561a57,_0x5644ad,_0x1583c2){const _0x55d735=_0x298827;try{const _0x3ebf0e={'document':this[_0x55d735(0x157)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1734bc,operationsB:_0x343570,originalOperations:_0x207c0d}=_0xdb339c(_0x561a57,this[_0x55d735(0x13b)],_0x3ebf0e);K(_0x1734bc,this[_0x55d735(0x157)][_0x55d735(0x12c)]),K(_0x343570,_0x5644ad);for(const _0x3c0a82 of _0x1734bc){const _0x3e8c7f=_0x207c0d[_0x55d735(0x149)](_0x3c0a82);_0x3c0a82[_0x55d735(0xfe)]=_0x3e8c7f?_0x3e8c7f[_0x55d735(0xfe)]:null;}_0x1583c2&&(this[_0x55d735(0x106)][_0x55d735(0xcb)](_0x561a57,_0x1583c2),this[_0x55d735(0x158)]=_0x1583c2),this[_0x55d735(0x13b)]=[..._0x343570],this[_0x55d735(0x12f)](_0x1734bc),this[_0x55d735(0x1ad)](_0x561a57);}catch(_0x1e0ddb){return console[_0x55d735(0x15d)](_0x1e0ddb),!0x1;}return!0x0;}[_0x298827(0x12f)](_0x402908,_0x55cf86=!0x1){const _0x13412a=_0x298827;this[_0x13412a(0xd8)][_0x13412a(0x146)][_0x13412a(0x130)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f2583=>{const _0x1178dd=_0x13412a;for(const _0x4c5e99 of _0x402908)this[_0x1178dd(0x1c2)][_0x1178dd(0xf6)](_0x4c5e99),this[_0x1178dd(0x11d)](_0x4c5e99),_0x4f2583[_0x1178dd(0x1c5)][_0x1178dd(0x13a)](_0x4c5e99),this[_0x1178dd(0xd8)][_0x1178dd(0x146)][_0x1178dd(0x14d)](_0x4c5e99);});}[_0x298827(0x11d)](_0x2c5f66){const _0x597129=_0x298827,_0x20bb8d=this[_0x597129(0x185)](_0x2c5f66);_0x20bb8d&&this[_0x597129(0x196)][_0x597129(0xf6)](_0x20bb8d);}[_0x298827(0x185)](_0x5f205d){const _0x50f734=_0x298827;let _0x59fbf8,_0x211579;switch(_0x5f205d[_0x50f734(0x163)]){case _0x50f734(0x198):_0x59fbf8=_0x5f205d[_0x50f734(0x10d)][_0x50f734(0x1a5)];break;case _0x50f734(0xe8):if(_0x211579=_0x5f205d[_0x50f734(0xdc)],!_0x211579)return null;_0x59fbf8=_0x211579[_0x50f734(0x1a5)];break;case _0x50f734(0x1ab):_0x59fbf8=_0x5f205d[_0x50f734(0x1a5)];break;case _0x50f734(0x151):_0x59fbf8=_0x5f205d[_0x50f734(0xd6)];break;case _0x50f734(0x11c):_0x59fbf8=_0x5f205d[_0x50f734(0x18b)][_0x50f734(0x1a5)];break;default:return null;}return _0x59fbf8[_0x50f734(0x1a7)];}[_0x298827(0x1ad)](_0x305830){const _0x771fe7=_0x298827;_0x305830[_0x771fe7(0x1b9)](_0x2d0e5a=>{const _0x2981f0=_0x771fe7,_0x67cd1c=_0x2d0e5a[_0x2981f0(0xcc)]();_0x67cd1c[_0x2981f0(0xfe)]=_0x2d0e5a[_0x2981f0(0xfe)],_0x67cd1c[_0x2981f0(0x140)]=!!_0x2d0e5a[_0x2981f0(0x140)],_0x67cd1c[_0x2981f0(0x1c7)]=_0x2d0e5a[_0x2981f0(0x1c7)],_0x67cd1c[_0x2981f0(0xde)]+=this[_0x2981f0(0xfa)],_0x2d0e5a[_0x2981f0(0xff)]&&this[_0x2981f0(0x144)][_0x2981f0(0xf6)](_0x67cd1c),this[_0x2981f0(0x153)][_0x2981f0(0x13a)](_0x67cd1c);});}[_0x298827(0x1c6)](_0x110191){const _0x3cf7a6=_0x298827,_0x17ea03=this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x195)][_0x3cf7a6(0x149)](_0x3cf7a6(0x18e)),_0x56b125=this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x10c)];_0x110191||(_0x110191=_0x53794(_0x56b125,_0x3cf7a6(0x1b5))),_0x17ea03[_0x3cf7a6(0xf0)](_0x110191,{'title':_0x53794(_0x56b125,_0x3cf7a6(0x1c4)),'namespace':_0x3cf7a6(0x103)}),this[_0x3cf7a6(0x132)]=!0x0,clearTimeout(this[_0x3cf7a6(0x178)]),this[_0x3cf7a6(0x13b)]=[],this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x195)][_0x3cf7a6(0x149)](_0x50ca4f)[_0x3cf7a6(0x177)]();}[_0x298827(0xe3)](){const _0x1c20cb=_0x298827;this[_0x1c20cb(0x17f)]||(this[_0x1c20cb(0x17f)]=this[_0x1c20cb(0xd8)][_0x1c20cb(0x195)][_0x1c20cb(0x149)](_0x5ebdf4)[_0x1c20cb(0xf6)](_0x53794(this[_0x1c20cb(0xd8)][_0x1c20cb(0x10c)],_0x1c20cb(0x13f))));}[_0x298827(0x115)](){const _0x4145de=_0x298827;this[_0x4145de(0x17f)]&&(this[_0x4145de(0xd8)][_0x4145de(0x195)][_0x4145de(0x149)](_0x5ebdf4)[_0x4145de(0xf1)](this[_0x4145de(0x17f)]),this[_0x4145de(0x17f)]=null);}[_0x298827(0x188)](_0x3a480f){const _0x521361=_0x298827,_0xf9c466=_0x3a480f[_0x521361(0x128)](_0x3d9b7e=>_0x3d9b7e[_0x521361(0x108)]());return this[_0x521361(0xc9)][_0x521361(0x1a9)](_0xf9c466);}[_0x298827(0x1a3)](_0x1fa276,_0x4482fd){const _0x354f0a=_0x298827;return this[_0x354f0a(0xc9)][_0x354f0a(0x110)](_0x1fa276)[_0x354f0a(0x128)]((_0x400cae,_0x5ba327)=>{const _0x4cb470=_0x354f0a,_0x5be476=_0x4cb470(0x1cb)==_0x4482fd[_0x5ba327][_0x4cb470(0x163)];if(_0x4cb470(0x1b0)==_0x400cae[_0x4cb470(0x150)]){const _0x9a9d3f=_0x400cae[_0x4cb470(0x10d)][_0x4cb470(0x1a5)];!this[_0x4cb470(0x157)][_0x4cb470(0xe0)](_0x9a9d3f)&&(this[_0x4cb470(0x157)][_0x4cb470(0x14e)](_0x4cb470(0x170),_0x9a9d3f)[_0x4cb470(0x102)]=!0x1);}const _0x17b29b=_0x11a091[_0x4cb470(0x1c1)](_0x400cae,this[_0x4cb470(0x157)]);return _0x17b29b[_0x4cb470(0x19b)]=_0x400cae[_0x4cb470(0x19b)],_0x17b29b[_0x4cb470(0x140)]=_0x5be476,_0x17b29b[_0x4cb470(0xfe)]=_0x5be476?null:_0x4482fd[_0x5ba327][_0x4cb470(0x123)],_0x17b29b[_0x4cb470(0xff)]=_0x4cb470(0x16c)===_0x4482fd[_0x5ba327][_0x4cb470(0x163)],_0x17b29b[_0x4cb470(0x1c7)]=_0x4482fd[_0x5ba327][_0x4cb470(0x1c7)],_0x17b29b;});}[_0x298827(0x14b)](){const _0x4d56c2=_0x298827;this[_0x4d56c2(0x111)]=!0x0,this[_0x4d56c2(0x1b4)]()?this[_0x4d56c2(0x1a4)]():this[_0x4d56c2(0x111)]=!0x1;}[_0x298827(0x1b4)](){const _0x5b226a=_0x298827,_0x27a377=this[_0x5b226a(0xd8)][_0x5b226a(0x195)][_0x5b226a(0x149)](_0x33a942)[_0x5b226a(0xfc)][_0x5b226a(0x149)](this[_0x5b226a(0x1cd)]);return!this[_0x5b226a(0xd8)][_0x5b226a(0x104)]&&!!_0x27a377&&_0x27a377[_0x5b226a(0x193)]>0x1&&this[_0x5b226a(0x111)];}[_0x298827(0x16e)](){const _0x2c98fe=_0x298827;return this[_0x2c98fe(0x13b)][_0x2c98fe(0x193)]>0x0||this[_0x2c98fe(0x1b4)]();}}class $ extends Error{}function K(_0x313052,_0x4a3520){const _0x28c46c=_0x298827;for(const _0x434f47 of _0x313052)_0x434f47[_0x28c46c(0xde)]=_0x4a3520++;}class J{[_0x298827(0x1a0)];[_0x298827(0x194)];constructor(_0x3610e3){const _0x312a5a=_0x298827;this[_0x312a5a(0x1a0)]=_0x3610e3,this[_0x312a5a(0x194)]=new WeakMap();}[_0x298827(0xf8)](_0x506318){const _0x2fa26d=_0x298827;let _0x3299f7=_0x506318[_0x2fa26d(0x193)];for(;_0x3299f7--;){const _0x33a196=_0x506318[_0x3299f7];if(!this[_0x2fa26d(0x1a0)][_0x2fa26d(0x11b)](_0x33a196)){if(!this[_0x2fa26d(0x194)][_0x2fa26d(0x11b)](_0x33a196)){const _0x511b1b=_0x2fee4f()[_0x2fa26d(0x148)](0x1,0x12);this[_0x2fa26d(0x194)][_0x2fa26d(0x143)](_0x33a196,_0x511b1b);}return this[_0x2fa26d(0x194)][_0x2fa26d(0x149)](_0x33a196);}}}[_0x298827(0xcb)](_0x12103f,_0x43f001){const _0x5ba696=_0x298827;if(!_0x43f001)return;let _0x5979a9=_0x12103f[_0x5ba696(0x193)];for(;_0x5979a9--;){const _0xd25cf=_0x12103f[_0x5979a9];this[_0x5ba696(0x1a0)][_0x5ba696(0x11b)](_0xd25cf)||this[_0x5ba696(0x194)][_0x5ba696(0x143)](_0xd25cf,_0x43f001);}}}
|
|
23
|
+
const _0x312940=_0x1580;(function(_0x3f4fba,_0x18a978){const _0x590728=_0x1580,_0xa8bf7c=_0x3f4fba();while(!![]){try{const _0x50a153=parseInt(_0x590728(0x205))/0x1*(parseInt(_0x590728(0x1be))/0x2)+-parseInt(_0x590728(0x1fc))/0x3*(-parseInt(_0x590728(0x240))/0x4)+-parseInt(_0x590728(0x210))/0x5*(-parseInt(_0x590728(0x203))/0x6)+parseInt(_0x590728(0x218))/0x7*(-parseInt(_0x590728(0x1f1))/0x8)+-parseInt(_0x590728(0x283))/0x9*(parseInt(_0x590728(0x1cd))/0xa)+parseInt(_0x590728(0x292))/0xb*(-parseInt(_0x590728(0x233))/0xc)+parseInt(_0x590728(0x27b))/0xd;if(_0x50a153===_0x18a978)break;else _0xa8bf7c['push'](_0xa8bf7c['shift']());}catch(_0x3d8f01){_0xa8bf7c['push'](_0xa8bf7c['shift']());}}}(_0x4566,0xbd750));import{Plugin as _0x430efe,PendingActions as _0x3bf39e}from'ckeditor5/src/core.js';function _0x4566(){const _0x434ea2=['getRoot','connect','sessionAdd:','getOperations','connection','permissions','lastSyncVersion','__className','plugins','_hasSelectionChanged','operationsReceived','_bufferedOperations','entries','_connectAfterSessionHasBeenFlushed','ready','disconnected','config','realtimecollaborationclient-sendbufferedoperations','differ','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient','404','_sendBufferedOperationsDelayId','suppressErrorInCollaboration','view','cloud-services-internal-error:\x20Not\x20connected.','rtc-offline','string','_setPendingAction','getConnectedSessions','path','_connectService','cs:removeUser','targetPosition','_updateServerHistory','_offset','map','root','compress','marker','Permissions','keys','slice','2xnhFmI','error','sessionCreatedAt','define','disableReadOnlyMode','disconnect','model','state','directChange','_handleReceivedOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','isPremiumPlugin','_waitUntilSynced','rtc-destroyed','message','1200apVzuv','realtimecollaborationclient-init-session-connection-error','CommentsOnly','_currentBufferDelay','realtimecollaborationclient-error','high','loadRoot','rootName','_initThrowingOnDataSet','userId','_compressOperations','editing','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.','bind','getMany','getIdOfTheLastOperation','_setUpDataInit','removeFromReconnectionStack','_compressor','_isConnected','return','lastOperationId','forEach','getOperationAuthor','move','version','lastDocumentSession','listenTo','_baseBufferDelay','addRoot','change:range','_operationIdentifier','_document','_getOperationsFromInitData','createRange','_disconnectionOperations','88byjPTM','cloudServices.bundleVersion','roots','from','realtimecollaborationclient-init-service-incorrect-server-operation','fromJSON','reconnect','toJSON','rootsAttributes','_isAttached','_operationToId','153xlCHbc','currentDocumentSession','_shouldSendSelectionUpdate','_pendingAction','InsertOperation','_sendBufferedOperations','PENDING_ACTION_SENDING_DATA','24ANmjkW','stop','716709DbtlMJ','createPositionAt','locale','isOfficialPlugin','_decompressOperations','collaboration-missing-channelid','_handleExternalOperations','then','addToReconnectionStack','newRange','size','746545nqwArc','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.','_refreshUserSelectionMarkers','decompress','_knownOperations','isEnabled','editor','register','165095hzuede','realtimecollaborationclient-handleserverresponse','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','start','_handleServerResponse','type','_authorId','apply','position','requires','setIdForTheLastOperation','add','unregister','enableReadOnlyMode','_hasSynchronizationProblem','baseVersion','serverHistory','clone','isReadOnly','markers','_isDisconnection','setPermissions','realtimecollaborationclient-init-connection-failed','_handleInitialConnectionData','real-time-collaboration','2485668AwTJJn','isDocumentOperation','change:_isPendingUpdate','attributes','parse','_getAffectedRoot','document:write','addUser','lastOperationAcceptedAt','wasUndone','data','_service','_isEditingAllowed','80096lDPejb','change:hasDomSelection','_fetchMissingUsers','offset','catch','_disconnectService','push','_shouldSendUpdate','addRootAttribute','showWarning','includes','insert','startsWith','cloudDocumentVersion','round','affectedSelectable','409','connected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','collaboration','_applyOperationsSet','createRoot','realtimecollaborationclient-init-document-already-initialized','_crash','filter','reconnection:\x20flushed\x20session','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','code','affectsData','createUserMarkerOperations','batch','Notification','isUndoneOperation','CollaborativeEditingService','applyOperation','RealTimeCollaborationClient','createPositionFromPath','_knownRootNames','_addKnownRoot','wereChangesApplied','channelSessions','_bufferRootLoad','finally','_isPendingUpdate','getDocumentDetails','fire','sessionId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stopListening','_lastSyncedOperationId','sendOperations','_initSessionsHandling','$root','pluginName','document','mySessionId','history','_handleReconnectionError','_ignoredOperations','4742673bolqSu','set','off','enqueueChange','end','_clearPendingAction','initData','_loadRoot','109305OBzGyB','init','_handleReconnectionResponse','has','selection','length','reset','_sendBufferedOperationsDelayed','_channelId','realtimecollaborationclient-init-service-internal-error','change:_isEditingAllowed','remove','_isLoaded','_saveOperationInBuffer','multi-root-editor-root-attributes-no-root','11tuIHgt','destroy','_lastServerVersion','getUser','metadata','_isInit','collaboration.channelId','Synchronization\x20issue','addOperation','get'];_0x4566=function(){return _0x434ea2;};return _0x4566();}import{CKEditorError as _0x5be647,version as _0x57d333,uid as _0x4ea32b}from'ckeditor5/src/utils.js';import{Notification as _0x189942}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5cdf17,NoOperation as _0x4b3968,InsertOperation as _0x213b12,MarkerOperation as _0x6d4df5,RootAttributeOperation as _0x23a348,OperationFactory as _0x7d4ded,History as _0x5f471f}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x51b8b6}from'./websocketgateway.js';import{Sessions as _0x90fb9c}from'./sessions.js';import{UserMarkers as _0x7044a2}from'./usermarkers.js';import{getTranslation as _0x4dec24}from'../common-translations.js';function _0x1580(_0x128767,_0x3351a4){const _0x45663d=_0x4566();return _0x1580=function(_0x15803c,_0x2515ab){_0x15803c=_0x15803c-0x19c;let _0x2f3748=_0x45663d[_0x15803c];return _0x2f3748;},_0x1580(_0x128767,_0x3351a4);}import{Compressor as _0x2bbdf6}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x458783}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x38ec5a,CollaborativeEditingService as _0x2644e9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x430efe{static [_0x312940(0x261)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2644e9)());[_0x312940(0x1b6)];[_0x312940(0x26e)];[_0x312940(0x22a)];[_0x312940(0x28b)];[_0x312940(0x23e)];[_0x312940(0x1ed)];[_0x312940(0x1df)];[_0x312940(0x19e)];[_0x312940(0x214)];[_0x312940(0x265)];[_0x312940(0x1ff)];[_0x312940(0x19c)];[_0x312940(0x1a9)];[_0x312940(0x1e9)];[_0x312940(0x1d0)];[_0x312940(0x271)];[_0x312940(0x1f0)];[_0x312940(0x1ec)];static get[_0x312940(0x223)](){return[_0x51b8b6,_0x90fb9c,_0x7044a2,_0x3bf39e,_0x458783,_0x189942];}static get[_0x312940(0x275)](){const _0x28af4d=_0x312940;return _0x28af4d(0x263);}static get[_0x312940(0x208)](){return!0x0;}static get[_0x312940(0x1c9)](){return!0x0;}get[_0x312940(0x24d)](){const _0x45ff5a=_0x312940;return this[_0x45ff5a(0x294)]+this[_0x45ff5a(0x1b6)];}get[_0x312940(0x294)](){const _0x5735fb=_0x312940;return this[_0x5735fb(0x22a)][_0x5735fb(0x1e6)]-this[_0x5735fb(0x1b6)];}get[_0x312940(0x2a2)](){const _0x4156e9=_0x312940,_0xd29a54=this[_0x4156e9(0x22a)][_0x4156e9(0x29f)]();for(let _0x34627c=_0xd29a54[_0x4156e9(0x288)]-0x1;_0x34627c>=0x0;_0x34627c--){const _0x38fc98=_0xd29a54[_0x34627c];if(!this[_0x4156e9(0x1f0)][_0x4156e9(0x286)](_0x38fc98))return _0x38fc98[_0x4156e9(0x229)]+0x1-this[_0x4156e9(0x1b6)];}return 0x0;}constructor(_0x3f6ec4){const _0x3bb7c7=_0x312940;if(super(_0x3f6ec4),this[_0x3bb7c7(0x1b6)]=0x0,this[_0x3bb7c7(0x26e)]=null,this[_0x3bb7c7(0x22a)]=new _0x5f471f(),this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1a3)][_0x3bb7c7(0x1c1)](_0x3bb7c7(0x253),{}),this[_0x3bb7c7(0x28b)]=this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1a3)][_0x3bb7c7(0x29b)](_0x3bb7c7(0x298)),!this[_0x3bb7c7(0x28b)])throw new _0x5be647(_0x3bb7c7(0x20a),this);const _0x2618c3=_0x3f6ec4[_0x3bb7c7(0x1a3)][_0x3bb7c7(0x29b)](_0x3bb7c7(0x1f2))||_0x57d333;this[_0x3bb7c7(0x23e)]=new RealTimeCollaborationClient[(_0x3bb7c7(0x261))](_0x2618c3,this[_0x3bb7c7(0x28b)]),this[_0x3bb7c7(0x1ed)]=this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1c4)][_0x3bb7c7(0x276)],this[_0x3bb7c7(0x1df)]=new _0x2bbdf6(),this[_0x3bb7c7(0x19e)]=[],this[_0x3bb7c7(0x214)]=new WeakSet(),this[_0x3bb7c7(0x265)]=new Set(),this[_0x3bb7c7(0x27c)](_0x3bb7c7(0x26b),!0x1),this[_0x3bb7c7(0x27c)](_0x3bb7c7(0x228),!0x1),this[_0x3bb7c7(0x1ff)]=null,this[_0x3bb7c7(0x19c)]=!0x1,this[_0x3bb7c7(0x1a9)]=null,this[_0x3bb7c7(0x1e9)]=0x12c,this[_0x3bb7c7(0x1d0)]=this[_0x3bb7c7(0x1e9)],this[_0x3bb7c7(0x271)]=null,this[_0x3bb7c7(0x1f0)]=new WeakSet(),this[_0x3bb7c7(0x1ec)]=new Z(this[_0x3bb7c7(0x1f0)]);}[_0x312940(0x284)](){const _0x455470=_0x312940,_0x413860=this[_0x455470(0x216)],_0x4f41a5=_0x413860[_0x455470(0x2a4)][_0x455470(0x29b)](_0x458783),_0x1f79a5=_0x413860[_0x455470(0x2a4)][_0x455470(0x29b)](_0x51b8b6);this[_0x455470(0x1e8)](_0x4f41a5,_0x455470(0x1e4),(_0x20933e,_0x549649)=>{const _0x4383fc=_0x455470,_0x29de01=_0x549649[0x0];_0x29de01[_0x4383fc(0x220)]&&(_0x20933e[_0x4383fc(0x1e1)]=_0x4f41a5[_0x4383fc(0x295)](_0x29de01[_0x4383fc(0x220)]),_0x20933e[_0x4383fc(0x204)]()),null===_0x29de01[_0x4383fc(0x220)]&&(_0x20933e[_0x4383fc(0x1e1)]=null,_0x20933e[_0x4383fc(0x204)]());},{'priority':_0x455470(0x1d2)}),this[_0x455470(0x1e8)](_0x413860[_0x455470(0x1c4)][_0x455470(0x276)][_0x455470(0x287)],_0x455470(0x1eb),(_0x4598ae,_0x294f9a)=>{const _0x4e08cd=_0x455470;_0x294f9a[_0x4e08cd(0x1c6)]&&this[_0x4e08cd(0x212)]();}),this[_0x455470(0x1e8)](_0x413860[_0x455470(0x1d8)][_0x455470(0x1ab)],_0x455470(0x241),()=>{const _0x2d222f=_0x455470;this[_0x2d222f(0x212)]();}),this[_0x455470(0x1d5)](),_0x413860[_0x455470(0x1c4)]['on'](_0x455470(0x262),(_0x2291e3,_0x78e37c)=>{const _0x34a83b=_0x455470,_0x32e3cb=_0x78e37c[0x0];_0x32e3cb[_0x34a83b(0x234)]&&(this[_0x34a83b(0x290)](_0x32e3cb),this[_0x34a83b(0x247)]()&&this[_0x34a83b(0x28a)]());}),this[_0x455470(0x1dd)](),this[_0x455470(0x1da)](_0x455470(0x23f))['to'](_0x1f79a5,_0x455470(0x1c5),this,_0x455470(0x228),(_0x426c32,_0x53ae3b)=>_0x455470(0x251)===_0x426c32&&!_0x53ae3b),this['on'](_0x455470(0x28d),()=>{const _0x2ff8cb=_0x455470;this[_0x2ff8cb(0x23f)]?_0x413860[_0x2ff8cb(0x1c2)](_0x2ff8cb(0x1ad)):_0x413860[_0x2ff8cb(0x227)](_0x2ff8cb(0x1ad));}),this[_0x455470(0x23f)]?_0x413860[_0x455470(0x1c2)](_0x455470(0x1ad)):_0x413860[_0x455470(0x227)](_0x455470(0x1ad)),this[_0x455470(0x27c)](_0x455470(0x1e0),!0x1);}async[_0x312940(0x1f7)](){const _0x5e9592=_0x312940,_0x526ce9=this[_0x5e9592(0x216)][_0x5e9592(0x2a4)][_0x5e9592(0x29b)](_0x90fb9c),_0x34f325=this[_0x5e9592(0x216)][_0x5e9592(0x2a4)][_0x5e9592(0x29b)](_0x51b8b6);try{this[_0x5e9592(0x26b)]=!0x0,_0x526ce9[_0x5e9592(0x226)](this[_0x5e9592(0x28b)]);const _0x376e26=await this[_0x5e9592(0x23e)][_0x5e9592(0x1f7)](_0x34f325[_0x5e9592(0x2a0)],this[_0x5e9592(0x2a2)]);await this[_0x5e9592(0x285)](_0x376e26)&&(this[_0x5e9592(0x26b)]=!0x1,this[_0x5e9592(0x280)]());const _0x1564a2=await this[_0x5e9592(0x23e)][_0x5e9592(0x1b0)]();_0x526ce9[_0x5e9592(0x217)](this[_0x5e9592(0x28b)],_0x1564a2),this[_0x5e9592(0x21a)](),this[_0x5e9592(0x1e0)]=!0x0;}catch(_0x291062){if(function(_0xd25982){const _0x418330=_0x5e9592;return _0x418330(0x1a8)===_0xd25982[_0x418330(0x25b)];}(_0x291062)&&this[_0x5e9592(0x26e)])await this[_0x5e9592(0x1a0)]();else{if(function(_0x327453){const _0x3e1001=_0x5e9592;return _0x3e1001(0x250)===_0x327453[_0x3e1001(0x25b)];}(_0x291062)){const _0x2290b4=_0x4dec24(this[_0x5e9592(0x216)][_0x5e9592(0x207)],_0x5e9592(0x26f));this[_0x5e9592(0x279)](_0x2290b4);}else{if(!(_0x291062 instanceof X))throw _0x291062;this[_0x5e9592(0x279)]();}}}}[_0x312940(0x293)](){const _0xff835e=_0x312940,_0x517452=this[_0xff835e(0x216)][_0xff835e(0x2a4)][_0xff835e(0x29b)](_0x51b8b6),_0x325341=this[_0xff835e(0x216)][_0xff835e(0x2a4)][_0xff835e(0x29b)](_0x90fb9c);this[_0xff835e(0x216)][_0xff835e(0x227)](_0xff835e(0x1cb)),_0x325341[_0xff835e(0x268)][_0xff835e(0x286)](this[_0xff835e(0x28b)])&&_0x325341[_0xff835e(0x226)](this[_0xff835e(0x28b)]),_0x517452[_0xff835e(0x1de)](this),this[_0xff835e(0x245)](),super[_0xff835e(0x293)]();}async[_0x312940(0x285)](_0x10658d){const _0x261c2c=_0x312940;if(this[_0x261c2c(0x26e)]!==_0x10658d[_0x261c2c(0x26e)]&&this[_0x261c2c(0x271)]!==_0x10658d[_0x261c2c(0x1e2)])throw new X();return this[_0x261c2c(0x26e)]=_0x10658d[_0x261c2c(0x26e)],this[_0x261c2c(0x21e)]([],{..._0x10658d,'wereChangesApplied':!0x1,'data':_0x10658d[_0x261c2c(0x23d)]},_0x261c2c(0x1f7));}async[_0x312940(0x1b2)](_0x3998cd,_0x3e2d7b=!0x1){const _0x2650d0=_0x312940,{connection:_0x346931}=this[_0x2650d0(0x216)][_0x2650d0(0x2a4)][_0x2650d0(0x29b)](_0x51b8b6);RealTimeCollaborationClient[_0x2650d0(0x261)][_0x2650d0(0x1b0)](_0x346931,this[_0x2650d0(0x28b)])[_0x2650d0(0x20c)](_0x2b203f=>this[_0x2650d0(0x273)](_0x2b203f))[_0x2650d0(0x244)](_0x407ded=>{const _0x1523ed=_0x2650d0;this[_0x1523ed(0x257)](_0x1523ed(0x1ce),_0x407ded);}),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x19d),this[_0x2650d0(0x1c7)][_0x2650d0(0x1da)](this)),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x1bf),(_0x29a89e,_0x403bc3)=>{const _0xa1bcd5=_0x2650d0;this[_0xa1bcd5(0x257)](_0xa1bcd5(0x28c),_0x403bc3);}),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x1a2),()=>{const _0x3df8d1=_0x2650d0;this[_0x3df8d1(0x1e0)]=!0x1;});const _0x11a58e=this[_0x2650d0(0x1ec)][_0x2650d0(0x1dc)](_0x3998cd);this[_0x2650d0(0x26b)]=!0x0;const _0x3ecccf=await this[_0x2650d0(0x23e)][_0x2650d0(0x29d)](_0x346931,this[_0x2650d0(0x1d7)](_0x3998cd),_0x11a58e);if(this[_0x2650d0(0x26e)]=_0x3ecccf[_0x2650d0(0x26e)],_0x3e2d7b){if(!_0x3ecccf[_0x2650d0(0x267)])return void this[_0x2650d0(0x279)]();this[_0x2650d0(0x26b)]=!0x1,this[_0x2650d0(0x280)](),this[_0x2650d0(0x22a)][_0x2650d0(0x289)](),this[_0x2650d0(0x1b6)]=_0x3ecccf[_0x2650d0(0x243)],this[_0x2650d0(0x22a)][_0x2650d0(0x1e6)]=this[_0x2650d0(0x1b6)],await this[_0x2650d0(0x21e)](_0x3998cd,_0x3ecccf,_0x2650d0(0x259));}else await this[_0x2650d0(0x231)](_0x3ecccf,_0x3998cd);this[_0x2650d0(0x21a)](),this[_0x2650d0(0x1e0)]=!0x0;}[_0x312940(0x21a)](){const _0x1f7f19=_0x312940,_0x2fe881=this[_0x1f7f19(0x216)][_0x1f7f19(0x2a4)][_0x1f7f19(0x29b)](_0x90fb9c),_0x406565=this[_0x1f7f19(0x216)][_0x1f7f19(0x2a4)][_0x1f7f19(0x29b)](_0x7044a2),_0x5a39fb=_0x2fe881[_0x1f7f19(0x268)][_0x1f7f19(0x29b)](this[_0x1f7f19(0x28b)]);_0x5a39fb&&_0x5a39fb[_0x1f7f19(0x288)]>0x1?_0x406565[_0x1f7f19(0x25d)]():this[_0x1f7f19(0x1e8)](_0x2fe881,_0x1f7f19(0x29e)+this[_0x1f7f19(0x28b)],()=>{const _0x288ae5=_0x1f7f19;0x2===_0x2fe881[_0x288ae5(0x268)][_0x288ae5(0x29b)](this[_0x288ae5(0x28b)])[_0x288ae5(0x288)]&&_0x406565[_0x288ae5(0x25d)]();});}async[_0x312940(0x1c7)](_0x274c75,_0xc63b5b,_0x17c237,_0x313724){const _0x5f192c=_0x312940;if(!this[_0x5f192c(0x26b)]&&this[_0x5f192c(0x1ed)][_0x5f192c(0x1e6)]==_0xc63b5b){const _0x3e7d3c=this[_0x5f192c(0x209)](_0x17c237,_0x313724);await this[_0x5f192c(0x242)](_0x3e7d3c),this[_0x5f192c(0x20b)](_0x3e7d3c,_0xc63b5b,_0x17c237[_0x5f192c(0x1e2)])||this[_0x5f192c(0x257)](_0x5f192c(0x1f5));}}async[_0x312940(0x1a0)](){const _0x437f52=_0x312940;this[_0x437f52(0x245)]();const {locale:_0x181732}=this[_0x437f52(0x216)];let _0x8d3adc;try{_0x8d3adc=await this[_0x437f52(0x23e)][_0x437f52(0x26c)]();}catch{const _0x3925a3=_0x4dec24(_0x181732,_0x437f52(0x25a));return void this[_0x437f52(0x279)](_0x3925a3);}const _0x3feccb=_0x8d3adc[_0x437f52(0x1fd)]||_0x8d3adc[_0x437f52(0x1e7)];if(this[_0x437f52(0x271)]!==_0x3feccb[_0x437f52(0x1e2)]){const _0x2d4c0e=_0x4dec24(_0x181732,_0x437f52(0x1d9));return void this[_0x437f52(0x279)](_0x2d4c0e);}await this[_0x437f52(0x1b2)](this[_0x437f52(0x216)][_0x437f52(0x1c4)][_0x437f52(0x276)][_0x437f52(0x278)][_0x437f52(0x29f)](),!0x0);}[_0x312940(0x245)](){const _0x1829b1=_0x312940;this[_0x1829b1(0x23e)][_0x1829b1(0x1c3)](),this[_0x1829b1(0x19e)]=[],clearTimeout(this[_0x1829b1(0x1a9)]),this[_0x1829b1(0x270)](this[_0x1829b1(0x23e)]);}[_0x312940(0x273)](_0x10fe1c){const _0x1879a3=_0x312940,_0x49ca1c=this[_0x1879a3(0x216)][_0x1879a3(0x2a4)][_0x1879a3(0x29b)](_0x90fb9c);this[_0x1879a3(0x1e8)](_0x49ca1c,_0x1879a3(0x29e)+this[_0x1879a3(0x28b)],(_0x541648,{session:_0x140c12})=>{const _0x282527=_0x1879a3;if(_0x140c12['id']===_0x49ca1c[_0x282527(0x277)]){_0x541648[_0x282527(0x27d)]();const _0x2af9dd=this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x286)](_0x282527(0x1cf))&&this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x29b)](_0x282527(0x1cf));let _0x39a4f1=_0x140c12[_0x282527(0x2a1)];_0x2af9dd&&_0x2af9dd[_0x282527(0x215)]&&(_0x39a4f1=_0x39a4f1[_0x282527(0x258)](_0x2d98aa=>_0x282527(0x239)!==_0x2d98aa)),this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x29b)](_0x282527(0x1bb))[_0x282527(0x22f)](_0x39a4f1,this[_0x282527(0x28b)]);}}),_0x49ca1c[_0x1879a3(0x217)](this[_0x1879a3(0x28b)],_0x10fe1c);}[_0x312940(0x1d5)](){const _0x418735=_0x312940,_0x338a29=this[_0x418735(0x216)][_0x418735(0x23d)][_0x418735(0x27c)];this[_0x418735(0x216)][_0x418735(0x23d)][_0x418735(0x27c)]=(..._0x3fba0c)=>{const _0x315507=_0x418735;if(!_0x3fba0c[_0x3fba0c[_0x315507(0x288)]-0x1][_0x315507(0x1aa)])throw new _0x5be647(_0x315507(0x1c8),this);_0x338a29[_0x315507(0x221)](this[_0x315507(0x216)][_0x315507(0x23d)],_0x3fba0c);};}[_0x312940(0x1dd)](){const _0x2e2084=_0x312940;this[_0x2e2084(0x216)][_0x2e2084(0x23d)]['on'](_0x2e2084(0x284),(_0x492fe5,[_0x5ecbc5])=>{const _0x2382cb=_0x2e2084;if(this[_0x2382cb(0x1ed)][_0x2382cb(0x1e6)])throw new _0x5be647(_0x2382cb(0x256),this);_0x492fe5[_0x2382cb(0x204)](),this[_0x2382cb(0x1af)]();const _0x194f12=this[_0x2382cb(0x216)][_0x2382cb(0x1a3)][_0x2382cb(0x29b)](_0x2382cb(0x1f9)),_0x282cae=this[_0x2382cb(0x1ee)](_0x5ecbc5,_0x194f12);0x0==_0x282cae[_0x2382cb(0x288)]&&_0x282cae[_0x2382cb(0x246)](new _0x4b3968(0x0)),_0x492fe5[_0x2382cb(0x1e1)]=this[_0x2382cb(0x1b2)](_0x282cae)[_0x2382cb(0x20c)](()=>{const _0x3689e8=_0x2382cb;this[_0x3689e8(0x216)][_0x3689e8(0x2a4)][_0x3689e8(0x29b)](_0x51b8b6)[_0x3689e8(0x20d)](this),this[_0x3689e8(0x216)][_0x3689e8(0x23d)][_0x3689e8(0x26d)](_0x3689e8(0x1a1));})[_0x2382cb(0x244)](_0x27590c=>this[_0x2382cb(0x257)](_0x2382cb(0x230),_0x27590c))[_0x2382cb(0x26a)](()=>this[_0x2382cb(0x280)]());},{'priority':_0x2e2084(0x1d2)}),this[_0x2e2084(0x216)]['on'](_0x2e2084(0x1d3),async(_0x4a01a3,[_0x5ad812,_0x1fdfd8])=>{const _0x15ed7b=_0x2e2084;_0x4a01a3[_0x15ed7b(0x204)]();const _0x199c07=this[_0x15ed7b(0x216)][_0x15ed7b(0x1c4)][_0x15ed7b(0x276)][_0x15ed7b(0x29c)](_0x5ad812);if(!this[_0x15ed7b(0x265)][_0x15ed7b(0x286)](_0x5ad812)){const _0x25bb92=_0x1fdfd8&&_0x1fdfd8[_0x15ed7b(0x23d)]?_0x1fdfd8[_0x15ed7b(0x23d)]:'',_0x38881e=_0x1fdfd8&&_0x1fdfd8[_0x15ed7b(0x236)]?_0x1fdfd8[_0x15ed7b(0x236)]:{};await this[_0x15ed7b(0x282)](_0x5ad812,_0x25bb92,_0x38881e);}this[_0x15ed7b(0x216)][_0x15ed7b(0x1c4)][_0x15ed7b(0x27e)]({'isUndoable':!0x1},()=>{const _0x76f407=_0x15ed7b;_0x199c07[_0x76f407(0x28f)]=!0x0,this[_0x76f407(0x216)][_0x76f407(0x1c4)][_0x76f407(0x276)][_0x76f407(0x1a5)][_0x76f407(0x269)](_0x199c07);});},{'priority':_0x2e2084(0x1d2)});}async[_0x312940(0x242)](_0x507692){const _0x41a625=_0x312940,_0x4e58ee=this[_0x41a625(0x216)][_0x41a625(0x2a4)][_0x41a625(0x29b)](_0x458783),{connection:_0x48b8cf}=this[_0x41a625(0x216)][_0x41a625(0x2a4)][_0x41a625(0x29b)](_0x51b8b6),_0x2fb80c=new Set();for(const _0x138816 of _0x507692){const _0x4779cf=_0x138816[_0x41a625(0x220)];_0x4779cf&&!_0x4e58ee[_0x41a625(0x295)](_0x4779cf)&&_0x2fb80c[_0x41a625(0x225)](_0x4779cf);}if(0x0===_0x2fb80c[_0x41a625(0x20f)])return;const _0x204909=await _0x38ec5a[_0x41a625(0x1db)](_0x48b8cf,Array[_0x41a625(0x1f4)](_0x2fb80c));for(const _0xa45945 of _0x204909)_0x4e58ee[_0x41a625(0x295)](_0xa45945['id'])||_0x4e58ee[_0x41a625(0x23a)](_0xa45945);}[_0x312940(0x1ee)](_0x1be317,_0x324207={}){const _0x478be6=_0x312940,_0x2b7ef2=this[_0x478be6(0x216)][_0x478be6(0x1c4)],_0x26eec5=[];let _0x5cde17=0x0;const _0x49a3d7=_0x478be6(0x1ae)==typeof _0x1be317?{'main':_0x1be317}:_0x1be317;for(const _0x16c966 of Object[_0x478be6(0x1bc)](_0x49a3d7)){if(!this[_0x478be6(0x1ed)][_0x478be6(0x1f3)][_0x478be6(0x286)](_0x16c966))throw new _0x5be647(_0x478be6(0x1a6),this);const _0x21dcac=this[_0x478be6(0x216)][_0x478be6(0x23d)][_0x478be6(0x237)](_0x49a3d7[_0x16c966]),_0x3081ee=this[_0x478be6(0x1ed)][_0x478be6(0x29c)](_0x16c966),_0xcfe21=new _0x213b12(_0x2b7ef2[_0x478be6(0x206)](_0x3081ee,0x0),_0x21dcac,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0xcfe21);for(const [_0x41b0b4,_0xb4a879]of _0x21dcac[_0x478be6(0x22d)]){const _0x408dc7=_0x2b7ef2[_0x478be6(0x1ef)](_0x2b7ef2[_0x478be6(0x264)](_0x3081ee,_0xb4a879[_0x478be6(0x21d)][_0x478be6(0x1b1)][_0x478be6(0x1bd)]()),_0x2b7ef2[_0x478be6(0x264)](_0x3081ee,_0xb4a879[_0x478be6(0x27f)][_0x478be6(0x1b1)][_0x478be6(0x1bd)]())),_0x52cbbe=new _0x6d4df5(_0x41b0b4,null,_0x408dc7,_0x2b7ef2[_0x478be6(0x22d)],!0x0,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0x52cbbe);}}if(_0x324207)for(const [_0x5036b9,_0x3ef0c2]of Object[_0x478be6(0x19f)](_0x324207)){const _0x31b10f=_0x2b7ef2[_0x478be6(0x276)][_0x478be6(0x29c)](_0x5036b9);if(!_0x31b10f)throw new _0x5be647(_0x478be6(0x291),null);for(const [_0x1145e9,_0x5095fb]of Object[_0x478be6(0x19f)](_0x3ef0c2))if(null!==_0x5095fb){const _0x5724fc=new _0x23a348(_0x31b10f,_0x1145e9,null,_0x5095fb,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0x5724fc);}}return _0x26eec5;}async[_0x312940(0x282)](_0x15c3a2,_0x1bb7cb,_0x1e331b){const _0x2a55ef=_0x312940;this[_0x2a55ef(0x1ee)]({[_0x15c3a2]:_0x1bb7cb},{[_0x15c3a2]:_0x1e331b})[_0x2a55ef(0x1e3)]((_0x318d33,_0x27be67)=>{const _0x6dbb0c=_0x2a55ef;_0x318d33[_0x6dbb0c(0x229)]=this[_0x6dbb0c(0x1ed)][_0x6dbb0c(0x1e6)]+_0x27be67,_0x318d33[_0x6dbb0c(0x297)]=!0x0,this[_0x6dbb0c(0x290)](_0x318d33);}),this[_0x2a55ef(0x28a)](),await this[_0x2a55ef(0x1ca)]();}async[_0x312940(0x231)](_0x512868,_0x3ed044){const _0x2b665f=_0x312940;let _0x1902b6;this[_0x2b665f(0x1b6)]=_0x512868[_0x2b665f(0x243)];const _0x31cda3=_0x512868[_0x2b665f(0x267)]&&!_0x512868[_0x2b665f(0x281)],_0x358e58=_0x31cda3?0x0:_0x512868[_0x2b665f(0x23d)][_0x2b665f(0x229)];if(_0x3ed044[_0x2b665f(0x1e3)](_0x33c60d=>{const _0x16840a=_0x2b665f;_0x33c60d[_0x16840a(0x297)]=!0x0,_0x33c60d[_0x16840a(0x21c)]=_0x512868[_0x16840a(0x1c0)],_0x33c60d[_0x16840a(0x220)]=null;}),_0x31cda3)_0x1902b6=_0x3ed044,this[_0x2b665f(0x254)](_0x1902b6,_0x31cda3);else{if(_0x512868[_0x2b665f(0x281)]){const _0x7a5da7=this[_0x2b665f(0x1ee)](_0x512868[_0x2b665f(0x281)]);this[_0x2b665f(0x1ed)][_0x2b665f(0x278)][_0x2b665f(0x1e6)]=-_0x7a5da7[_0x2b665f(0x288)],_0x7a5da7[_0x2b665f(0x1e3)](_0x325f28=>{const _0x1b915f=_0x2b665f;_0x325f28[_0x1b915f(0x229)]-=_0x7a5da7[_0x1b915f(0x288)],_0x325f28[_0x1b915f(0x21c)]=_0x512868[_0x1b915f(0x1c0)],_0x325f28[_0x1b915f(0x297)]=!0x0,_0x325f28[_0x1b915f(0x220)]=null;}),this[_0x2b665f(0x254)](_0x7a5da7,!0x0),this[_0x2b665f(0x22a)][_0x2b665f(0x1e6)]=-_0x7a5da7[_0x2b665f(0x288)]+this[_0x2b665f(0x1b6)],this[_0x2b665f(0x1b5)](_0x7a5da7);}this[_0x2b665f(0x1ed)][_0x2b665f(0x278)][_0x2b665f(0x1e6)]=_0x358e58,_0x1902b6=this[_0x2b665f(0x209)](_0x512868[_0x2b665f(0x23d)],_0x512868[_0x2b665f(0x296)]),await this[_0x2b665f(0x242)](_0x1902b6),this[_0x2b665f(0x254)](_0x1902b6,_0x31cda3);}_0x512868[_0x2b665f(0x1e2)]&&(this[_0x2b665f(0x1ec)][_0x2b665f(0x224)](_0x1902b6,_0x512868[_0x2b665f(0x1e2)]),this[_0x2b665f(0x271)]=_0x512868[_0x2b665f(0x1e2)]),this[_0x2b665f(0x22a)][_0x2b665f(0x1e6)]=_0x358e58+this[_0x2b665f(0x1b6)],this[_0x2b665f(0x1b5)](_0x1902b6),_0x3ed044[_0x2b665f(0x258)](_0x5f54bf=>{const _0x13a8c1=_0x2b665f,_0x2cc2bc=this[_0x13a8c1(0x238)](_0x5f54bf);return _0x2cc2bc&&!this[_0x13a8c1(0x265)][_0x13a8c1(0x286)](_0x2cc2bc);})[_0x2b665f(0x1e3)]((_0x4550e3,_0x59a647)=>{const _0x5392a3=_0x2b665f;_0x4550e3[_0x5392a3(0x229)]=this[_0x5392a3(0x1ed)][_0x5392a3(0x1e6)]+_0x59a647,this[_0x5392a3(0x290)](_0x4550e3);}),this[_0x2b665f(0x247)]()?(this[_0x2b665f(0x1d0)]=0x0,this[_0x2b665f(0x28a)](!0x0),await this[_0x2b665f(0x1ca)]()):(this[_0x2b665f(0x26b)]=!0x1,this[_0x2b665f(0x280)]());}[_0x312940(0x257)](_0x28e37c,_0x320ee0){const _0x2ae849=_0x312940,_0x2cab45=_0x320ee0&&_0x320ee0[_0x2ae849(0x1cc)];if(_0x2cab45&&_0x2cab45[_0x2ae849(0x24c)](_0x2ae849(0x1a7)))throw _0x320ee0;const _0x1b82c2=this[_0x2ae849(0x216)][_0x2ae849(0x2a4)][_0x2ae849(0x29b)](_0x51b8b6);throw this[_0x2ae849(0x26b)]=!0x0,_0x1b82c2[_0x2ae849(0x1c3)](),this[_0x2ae849(0x216)][_0x2ae849(0x227)](_0x2ae849(0x1d1)),new _0x5be647(_0x28e37c,this[_0x2ae849(0x216)],_0x2cab45?{'originalError':_0x2cab45}:void 0x0);}[_0x312940(0x290)](_0x285a8f){const _0x12ed46=_0x312940;this[_0x12ed46(0x214)][_0x12ed46(0x286)](_0x285a8f)||(this[_0x12ed46(0x214)][_0x12ed46(0x225)](_0x285a8f),this[_0x12ed46(0x19e)][_0x12ed46(0x246)](_0x285a8f),this[_0x12ed46(0x1ff)]||_0x12ed46(0x1ba)==_0x285a8f[_0x12ed46(0x21f)]&&!_0x285a8f[_0x12ed46(0x25c)]||this[_0x12ed46(0x1af)]());}[_0x312940(0x28a)](_0x4dd579=!0x1){const _0x5bbb02=_0x312940;!_0x4dd579&&this[_0x5bbb02(0x26b)]||(this[_0x5bbb02(0x26b)]=!0x0,clearTimeout(this[_0x5bbb02(0x1a9)]),this[_0x5bbb02(0x1a9)]=setTimeout(()=>{const _0xe7119c=_0x5bbb02;this[_0xe7119c(0x201)]()[_0xe7119c(0x20c)](_0x5b37a8=>{const _0x51fb3b=_0xe7119c;_0x5b37a8&&(this[_0x51fb3b(0x280)](),this[_0x51fb3b(0x26b)]=!0x1);})[_0xe7119c(0x244)](_0x5ab708=>{const _0x44d255=_0xe7119c;this[_0x44d255(0x280)](),this[_0x44d255(0x26b)]=!0x1,function(_0x36b28b){const _0x21088a=_0x44d255;return _0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x1ac))||_0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x252))||_0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x21b));}(_0x5ab708)||this[_0x44d255(0x257)](_0x5ab708[_0x44d255(0x1cc)],_0x5ab708);});},this[_0x5bbb02(0x1d0)]));}[_0x312940(0x1ca)](){return new Promise(_0x38d8b5=>{const _0x32f1ca=_0x1580;this['on'](_0x32f1ca(0x235),()=>{_0x38d8b5();});});}async[_0x312940(0x201)](){const _0x33be53=_0x312940,_0x3940a5=this[_0x33be53(0x216)][_0x33be53(0x2a4)][_0x33be53(0x29b)](_0x7044a2);if(this[_0x33be53(0x1fe)]()&&(_0x3940a5[_0x33be53(0x25d)](),this[_0x33be53(0x19c)]=!0x1),!this[_0x33be53(0x247)]())return!0x0;const _0x6f7184=[...this[_0x33be53(0x19e)]];for(const _0x57418d of _0x6f7184)_0x57418d[_0x33be53(0x23c)]=this[_0x33be53(0x1ed)][_0x33be53(0x278)][_0x33be53(0x260)](_0x57418d);const _0x23c9c1=this[_0x33be53(0x1ec)][_0x33be53(0x1dc)](_0x6f7184),_0x4e03b0=Q++,_0x3748d1=this[_0x33be53(0x1d7)](_0x6f7184),_0x3df3d1=await this[_0x33be53(0x23e)][_0x33be53(0x272)](_0x3748d1,_0x3748d1[_0x33be53(0x229)],_0x23c9c1);try{return await this[_0x33be53(0x21e)](_0x6f7184,_0x3df3d1,_0x4e03b0);}catch(_0xb56805){return this[_0x33be53(0x257)](_0x33be53(0x1a4),_0xb56805);}}async[_0x312940(0x21e)](_0x1175d0,_0x10bd5b,_0x2e390c){const _0x10536a=_0x312940;if(_0x10536a(0x1bf)in _0x10bd5b)throw _0x10bd5b[_0x10536a(0x1bf)];let _0x27c62e=!0x1;if(_0x10bd5b[_0x10536a(0x267)]){_0x10bd5b[_0x10536a(0x1e2)]&&(this[_0x10536a(0x271)]=_0x10bd5b[_0x10536a(0x1e2)]),this[_0x10536a(0x19e)]=this[_0x10536a(0x19e)][_0x10536a(0x258)](_0x23cb0c=>!_0x1175d0[_0x10536a(0x24a)](_0x23cb0c));for(const _0xd936da of _0x1175d0)_0xd936da[_0x10536a(0x21c)]=_0x10536a(0x23b)in _0x10bd5b&&_0x10bd5b[_0x10536a(0x23b)]||void 0x0;Y(_0x1175d0,_0x10bd5b[_0x10536a(0x1e6)]-_0x1175d0[_0x10536a(0x288)]),this[_0x10536a(0x1b5)](_0x1175d0);const _0x5e2c6c=_0x1175d0[_0x10536a(0x258)](_0xb50334=>{const _0x2ae11b=_0x10536a;if(!_0xb50334[_0x2ae11b(0x297)])return!0x1;const _0x14dae3=this[_0x2ae11b(0x238)](_0xb50334);return _0x14dae3&&!this[_0x2ae11b(0x265)][_0x2ae11b(0x286)](_0x14dae3);});Y(_0x5e2c6c,this[_0x10536a(0x1ed)][_0x10536a(0x1e6)]),this[_0x10536a(0x254)](_0x5e2c6c),_0x27c62e=!0x0,this[_0x10536a(0x1d0)]=this[_0x10536a(0x1e9)];}else{const _0x107515=this[_0x10536a(0x209)](_0x10bd5b[_0x10536a(0x23d)],_0x10bd5b[_0x10536a(0x296)])[_0x10536a(0x258)](_0x328741=>_0x328741[_0x10536a(0x229)]>=this[_0x10536a(0x294)]);_0x107515[_0x10536a(0x1e3)](_0x229cd7=>this[_0x10536a(0x266)](_0x229cd7)),this[_0x10536a(0x19e)]=this[_0x10536a(0x19e)][_0x10536a(0x258)](_0x2f2cbe=>!_0x2f2cbe[_0x10536a(0x297)]||!this[_0x10536a(0x265)][_0x10536a(0x286)](this[_0x10536a(0x238)](_0x2f2cbe))),this[_0x10536a(0x19e)][_0x10536a(0x288)]&&Y(this[_0x10536a(0x19e)],this[_0x10536a(0x19e)][0x0][_0x10536a(0x229)]),await this[_0x10536a(0x242)](_0x107515),_0x27c62e=this[_0x10536a(0x20b)](_0x107515,_0x10bd5b[_0x10536a(0x1e6)],_0x10bd5b[_0x10536a(0x1e2)]),this[_0x10536a(0x1d0)]=Math[_0x10536a(0x24e)](this[_0x10536a(0x1d0)]/0x2);}return _0x27c62e?!this[_0x10536a(0x247)]()||(this[_0x10536a(0x28a)](!0x0),!0x1):this[_0x10536a(0x257)](_0x10536a(0x219));}[_0x312940(0x20b)](_0x449d6f,_0x477ff5,_0x5abe07){const _0x3601d3=_0x312940;try{const _0x320e37={'document':this[_0x3601d3(0x1ed)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x520665,operationsB:_0x15450e,originalOperations:_0x100d0e}=_0x5cdf17(_0x449d6f,this[_0x3601d3(0x19e)],_0x320e37);Y(_0x520665,this[_0x3601d3(0x1ed)][_0x3601d3(0x1e6)]),Y(_0x15450e,_0x477ff5);for(const _0x5036e2 of _0x520665){const _0x567634=_0x100d0e[_0x3601d3(0x29b)](_0x5036e2);_0x5036e2[_0x3601d3(0x220)]=_0x567634?_0x567634[_0x3601d3(0x220)]:null;}_0x5abe07&&(this[_0x3601d3(0x1ec)][_0x3601d3(0x224)](_0x449d6f,_0x5abe07),this[_0x3601d3(0x271)]=_0x5abe07),this[_0x3601d3(0x19e)]=[..._0x15450e],this[_0x3601d3(0x254)](_0x520665),this[_0x3601d3(0x1b5)](_0x449d6f);}catch(_0x1d227a){return console[_0x3601d3(0x1bf)](_0x1d227a),!0x1;}return!0x0;}[_0x312940(0x254)](_0x386e83,_0x57e42e=!0x1){const _0x56b1ce=_0x312940;this[_0x56b1ce(0x216)][_0x56b1ce(0x1c4)][_0x56b1ce(0x27e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5b7b84=>{const _0x1f864a=_0x56b1ce;for(const _0x29e695 of _0x386e83)this[_0x1f864a(0x214)][_0x1f864a(0x225)](_0x29e695),this[_0x1f864a(0x266)](_0x29e695),_0x5b7b84[_0x1f864a(0x25e)][_0x1f864a(0x29a)](_0x29e695),this[_0x1f864a(0x216)][_0x1f864a(0x1c4)][_0x1f864a(0x262)](_0x29e695);});}[_0x312940(0x266)](_0x236831){const _0x2c4b71=_0x312940,_0x434eb6=this[_0x2c4b71(0x238)](_0x236831);_0x434eb6&&this[_0x2c4b71(0x265)][_0x2c4b71(0x225)](_0x434eb6);}[_0x312940(0x238)](_0x140a9b){const _0x28ebdf=_0x312940;let _0x149c83,_0x2f0490;switch(_0x140a9b[_0x28ebdf(0x21f)]){case _0x28ebdf(0x24b):_0x149c83=_0x140a9b[_0x28ebdf(0x222)][_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x1ba):if(_0x2f0490=_0x140a9b[_0x28ebdf(0x20e)],!_0x2f0490)return null;_0x149c83=_0x2f0490[_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x248):_0x149c83=_0x140a9b[_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x1ea):_0x149c83=_0x140a9b[_0x28ebdf(0x24f)];break;case _0x28ebdf(0x1e5):_0x149c83=_0x140a9b[_0x28ebdf(0x1b4)][_0x28ebdf(0x1b8)];break;default:return null;}return _0x149c83[_0x28ebdf(0x1d4)];}[_0x312940(0x1b5)](_0xb8274e){const _0x549730=_0x312940;_0xb8274e[_0x549730(0x1e3)](_0x4415f9=>{const _0x169a5a=_0x549730,_0x3e3cde=_0x4415f9[_0x169a5a(0x22b)]();_0x3e3cde[_0x169a5a(0x220)]=_0x4415f9[_0x169a5a(0x220)],_0x3e3cde[_0x169a5a(0x297)]=!!_0x4415f9[_0x169a5a(0x297)],_0x3e3cde[_0x169a5a(0x21c)]=_0x4415f9[_0x169a5a(0x21c)],_0x3e3cde[_0x169a5a(0x229)]+=this[_0x169a5a(0x1b6)],_0x4415f9[_0x169a5a(0x22e)]&&this[_0x169a5a(0x1f0)][_0x169a5a(0x225)](_0x3e3cde),this[_0x169a5a(0x22a)][_0x169a5a(0x29a)](_0x3e3cde);});}[_0x312940(0x279)](_0x1ef3b5){const _0x3d64ed=_0x312940,_0x4c52b9=this[_0x3d64ed(0x216)][_0x3d64ed(0x2a4)][_0x3d64ed(0x29b)](_0x3d64ed(0x25f)),_0x4983fd=this[_0x3d64ed(0x216)][_0x3d64ed(0x207)];_0x1ef3b5||(_0x1ef3b5=_0x4dec24(_0x4983fd,_0x3d64ed(0x211))),_0x4c52b9[_0x3d64ed(0x249)](_0x1ef3b5,{'title':_0x4dec24(_0x4983fd,_0x3d64ed(0x299)),'namespace':_0x3d64ed(0x232)}),this[_0x3d64ed(0x228)]=!0x0,clearTimeout(this[_0x3d64ed(0x1a9)]),this[_0x3d64ed(0x19e)]=[],this[_0x3d64ed(0x216)][_0x3d64ed(0x2a4)][_0x3d64ed(0x29b)](_0x51b8b6)[_0x3d64ed(0x1c3)]();}[_0x312940(0x1af)](){const _0x2ab9ea=_0x312940;this[_0x2ab9ea(0x1ff)]||(this[_0x2ab9ea(0x1ff)]=this[_0x2ab9ea(0x216)][_0x2ab9ea(0x2a4)][_0x2ab9ea(0x29b)](_0x3bf39e)[_0x2ab9ea(0x225)](_0x4dec24(this[_0x2ab9ea(0x216)][_0x2ab9ea(0x207)],_0x2ab9ea(0x202))));}[_0x312940(0x280)](){const _0x4e08b5=_0x312940;this[_0x4e08b5(0x1ff)]&&(this[_0x4e08b5(0x216)][_0x4e08b5(0x2a4)][_0x4e08b5(0x29b)](_0x3bf39e)[_0x4e08b5(0x28e)](this[_0x4e08b5(0x1ff)]),this[_0x4e08b5(0x1ff)]=null);}[_0x312940(0x1d7)](_0x13270e){const _0xe812d9=_0x312940,_0x46b8b4=_0x13270e[_0xe812d9(0x1b7)](_0x368232=>_0x368232[_0xe812d9(0x1f8)]());return this[_0xe812d9(0x1df)][_0xe812d9(0x1b9)](_0x46b8b4);}[_0x312940(0x209)](_0x22afca,_0x5b356d){const _0x16f4e6=_0x312940;return this[_0x16f4e6(0x1df)][_0x16f4e6(0x213)](_0x22afca)[_0x16f4e6(0x1b7)]((_0x13e8a4,_0x322d37)=>{const _0x235e5b=_0x16f4e6,_0x3f5c8b=_0x235e5b(0x284)==_0x5b356d[_0x322d37][_0x235e5b(0x21f)];if(_0x235e5b(0x200)==_0x13e8a4[_0x235e5b(0x2a3)]){const _0x2411c4=_0x13e8a4[_0x235e5b(0x222)][_0x235e5b(0x1b8)];!this[_0x235e5b(0x1ed)][_0x235e5b(0x29c)](_0x2411c4)&&(this[_0x235e5b(0x1ed)][_0x235e5b(0x255)](_0x235e5b(0x274),_0x2411c4)[_0x235e5b(0x1fa)]=!0x1);}const _0x2026d0=_0x7d4ded[_0x235e5b(0x1f6)](_0x13e8a4,this[_0x235e5b(0x1ed)]);return _0x2026d0[_0x235e5b(0x23c)]=_0x13e8a4[_0x235e5b(0x23c)],_0x2026d0[_0x235e5b(0x297)]=_0x3f5c8b,_0x2026d0[_0x235e5b(0x220)]=_0x3f5c8b?null:_0x5b356d[_0x322d37][_0x235e5b(0x1d6)],_0x2026d0[_0x235e5b(0x22e)]=_0x235e5b(0x1b3)===_0x5b356d[_0x322d37][_0x235e5b(0x21f)],_0x2026d0[_0x235e5b(0x21c)]=_0x5b356d[_0x322d37][_0x235e5b(0x21c)],_0x2026d0;});}[_0x312940(0x212)](){const _0xa08d4d=_0x312940;this[_0xa08d4d(0x19c)]=!0x0,this[_0xa08d4d(0x1fe)]()?this[_0xa08d4d(0x28a)]():this[_0xa08d4d(0x19c)]=!0x1;}[_0x312940(0x1fe)](){const _0x393a1e=_0x312940,_0x37b739=this[_0x393a1e(0x216)][_0x393a1e(0x2a4)][_0x393a1e(0x29b)](_0x90fb9c)[_0x393a1e(0x268)][_0x393a1e(0x29b)](this[_0x393a1e(0x28b)]);return!this[_0x393a1e(0x216)][_0x393a1e(0x22c)]&&!!_0x37b739&&_0x37b739[_0x393a1e(0x288)]>0x1&&this[_0x393a1e(0x19c)];}[_0x312940(0x247)](){const _0x2f125d=_0x312940;return this[_0x2f125d(0x19e)][_0x2f125d(0x288)]>0x0||this[_0x2f125d(0x1fe)]();}}class X extends Error{}function Y(_0x1b75b0,_0x18b0ff){const _0x50d450=_0x312940;for(const _0x5a1e6e of _0x1b75b0)_0x5a1e6e[_0x50d450(0x229)]=_0x18b0ff++;}class Z{[_0x312940(0x27a)];[_0x312940(0x1fb)];constructor(_0x481484){const _0x2d54f8=_0x312940;this[_0x2d54f8(0x27a)]=_0x481484,this[_0x2d54f8(0x1fb)]=new WeakMap();}[_0x312940(0x1dc)](_0x378048){const _0x8953f=_0x312940;let _0x4e41fa=_0x378048[_0x8953f(0x288)];for(;_0x4e41fa--;){const _0xb1c204=_0x378048[_0x4e41fa];if(!this[_0x8953f(0x27a)][_0x8953f(0x286)](_0xb1c204)){if(!this[_0x8953f(0x1fb)][_0x8953f(0x286)](_0xb1c204)){const _0x4c2ab6=_0x4ea32b()[_0x8953f(0x1bd)](0x1,0x12);this[_0x8953f(0x1fb)][_0x8953f(0x27c)](_0xb1c204,_0x4c2ab6);}return this[_0x8953f(0x1fb)][_0x8953f(0x29b)](_0xb1c204);}}}[_0x312940(0x224)](_0x1ca915,_0x5076cd){const _0x33b0bd=_0x312940;if(!_0x5076cd)return;let _0x205220=_0x1ca915[_0x33b0bd(0x288)];for(;_0x205220--;){const _0x51b91f=_0x1ca915[_0x205220];this[_0x33b0bd(0x27a)][_0x33b0bd(0x286)](_0x51b91f)||this[_0x33b0bd(0x1fb)][_0x33b0bd(0x27c)](_0x51b91f,_0x5076cd);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d9a6e=_0x44ef;(function(_0x523cb3,_0x51e1f9){const _0x40b893=_0x44ef,_0x11fa84=_0x523cb3();while(!![]){try{const _0x3b519a=parseInt(_0x40b893(0x1c4))/0x1*(parseInt(_0x40b893(0x1ba))/0x2)+parseInt(_0x40b893(0x1d2))/0x3+parseInt(_0x40b893(0x1dd))/0x4*(parseInt(_0x40b893(0x1d3))/0x5)+-parseInt(_0x40b893(0x1ee))/0x6+-parseInt(_0x40b893(0x1d5))/0x7+-parseInt(_0x40b893(0x1da))/0x8*(-parseInt(_0x40b893(0x1c2))/0x9)+-parseInt(_0x40b893(0x1c1))/0xa;if(_0x3b519a===_0x51e1f9)break;else _0x11fa84['push'](_0x11fa84['shift']());}catch(_0x5a247d){_0x11fa84['push'](_0x11fa84['shift']());}}}(_0x4408,0x8412a));function _0x44ef(_0x294f4e,_0x453424){const _0x440823=_0x4408();return _0x44ef=function(_0x44ef36,_0x14e037){_0x44ef36=_0x44ef36-0x1b7;let _0x10e02b=_0x440823[_0x44ef36];return _0x10e02b;},_0x44ef(_0x294f4e,_0x453424);}import{ContextPlugin as _0x2b891f}from'ckeditor5/src/core.js';import{Collection as _0x5390a4,CKEditorError as _0x227ca1}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3f30bf}from'./websocketgateway.js';import{Users as _0x8e4c34}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2b891f{[_0x4d9a6e(0x1ea)];[_0x4d9a6e(0x1cb)];[_0x4d9a6e(0x1de)];[_0x4d9a6e(0x1d6)];[_0x4d9a6e(0x1bc)];[_0x4d9a6e(0x1ef)];static get[_0x4d9a6e(0x1c5)](){const _0x3878f5=_0x4d9a6e;return _0x3878f5(0x1f0);}static get[_0x4d9a6e(0x1ec)](){return!0x0;}static get[_0x4d9a6e(0x1e4)](){return!0x0;}static get[_0x4d9a6e(0x1f1)](){return[_0x3f30bf,_0x8e4c34];}constructor(_0x350ae7){const _0x4d4bf5=_0x4d9a6e;super(_0x350ae7),this[_0x4d4bf5(0x1ea)]=new Map(),this[_0x4d4bf5(0x1cb)]=new Map(),this[_0x4d4bf5(0x1de)]=new _0x5390a4(),this[_0x4d4bf5(0x1d6)]=new Map(),this[_0x4d4bf5(0x1bc)]=0x0,this[_0x4d4bf5(0x1ef)]=this[_0x4d4bf5(0x1d8)][_0x4d4bf5(0x1ce)][_0x4d4bf5(0x1e0)](_0x8e4c34);}[_0x4d9a6e(0x1eb)](){const _0x452bb2=_0x4d9a6e,_0x2e735f=this[_0x452bb2(0x1d8)][_0x452bb2(0x1ce)][_0x452bb2(0x1e0)](_0x3f30bf);this[_0x452bb2(0x1cd)](_0x2e735f,_0x452bb2(0x1e7),(_0x4ff9dc,_0x26e06f,_0x19b744)=>{const _0x137014=_0x452bb2;if(_0x137014(0x1d0)!==_0x19b744)this[_0x137014(0x1ea)][_0x137014(0x1db)](_0x48474a=>_0x48474a[_0x137014(0x1e9)]()),this[_0x137014(0x1cb)][_0x137014(0x1db)](_0x1ccc8b=>_0x1ccc8b[_0x137014(0x1e9)]()),this[_0x137014(0x1de)][_0x137014(0x1e9)]();else{for(const [_0x4b57d7,_0x39450c]of this[_0x137014(0x1d6)])for(const _0x522824 of _0x39450c)this[_0x137014(0x1be)](_0x4b57d7,_0x522824);}}),this[_0x452bb2(0x1f4)](_0x2e735f[_0x452bb2(0x1e1)]['me'],!0x0);}[_0x4d9a6e(0x1bf)](_0x4182f0,_0x47a2e6){const _0x203710=_0x4d9a6e;if(this[_0x203710(0x1d6)][_0x203710(0x1bd)](_0x4182f0))throw new _0x227ca1(_0x203710(0x1c0),null,{'channelId':_0x4182f0});this[_0x203710(0x1d6)][_0x203710(0x1b8)](_0x4182f0,_0x47a2e6),this[_0x203710(0x1ea)][_0x203710(0x1b8)](_0x4182f0,new _0x5390a4()),this[_0x203710(0x1cb)][_0x203710(0x1b8)](_0x4182f0,new _0x5390a4()),this[_0x203710(0x1cd)](_0x47a2e6,_0x203710(0x1c8),(_0x324689,_0x275d1a)=>this[_0x203710(0x1be)](_0x4182f0,_0x275d1a)),this[_0x203710(0x1cd)](_0x47a2e6,_0x203710(0x1f3),(_0x17ed78,_0x5607ea)=>this[_0x203710(0x1e3)](_0x4182f0,_0x5607ea));for(const _0x294ef3 of _0x47a2e6)this[_0x203710(0x1be)](_0x4182f0,_0x294ef3);}[_0x4d9a6e(0x1d7)](_0x15abc2){const _0x1a64ab=_0x4d9a6e;if(!this[_0x1a64ab(0x1d6)][_0x1a64ab(0x1bd)](_0x15abc2))throw new _0x227ca1(_0x1a64ab(0x1f2),null,{'channelId':_0x15abc2});const _0x4a8c7c=this[_0x1a64ab(0x1d6)][_0x1a64ab(0x1e0)](_0x15abc2);this[_0x1a64ab(0x1b7)](_0x4a8c7c);for(const _0x1684d0 of _0x4a8c7c)_0x1a64ab(0x1d0)===this[_0x1a64ab(0x1d8)][_0x1a64ab(0x1ce)][_0x1a64ab(0x1e0)](_0x3f30bf)[_0x1a64ab(0x1bb)]&&this[_0x1a64ab(0x1e3)](_0x15abc2,_0x1684d0);this[_0x1a64ab(0x1d6)][_0x1a64ab(0x1ca)](_0x15abc2),this[_0x1a64ab(0x1ea)][_0x1a64ab(0x1ca)](_0x15abc2),this[_0x1a64ab(0x1cb)][_0x1a64ab(0x1ca)](_0x15abc2);}get[_0x4d9a6e(0x1b9)](){const _0x41fc2b=_0x4d9a6e;return this[_0x41fc2b(0x1d8)][_0x41fc2b(0x1ce)][_0x41fc2b(0x1e0)](_0x3f30bf)[_0x41fc2b(0x1e1)][_0x41fc2b(0x1cf)];}[_0x4d9a6e(0x1e6)](_0x38731f){const _0x2964ec=_0x4d9a6e;for(const _0x2b9502 of this[_0x2964ec(0x1ea)][_0x2964ec(0x1c7)]())for(const _0x1ef729 of _0x2b9502)if(_0x1ef729['id']===_0x38731f)return _0x1ef729[_0x2964ec(0x1d4)];}[_0x4d9a6e(0x1cc)](_0x2f489c,_0x310ad2){const _0x4dca75=_0x4d9a6e,_0x723266=_0x310ad2?[this[_0x4dca75(0x1ea)][_0x4dca75(0x1e0)](_0x310ad2)]:this[_0x4dca75(0x1ea)][_0x4dca75(0x1c7)](),_0x75bd45=new Set();for(const _0x50b170 of _0x723266)for(const _0x51b8d5 of _0x50b170)_0x51b8d5[_0x4dca75(0x1d4)]['id']===_0x2f489c['id']&&_0x75bd45[_0x4dca75(0x1c8)](_0x51b8d5['id']);return _0x75bd45;}[_0x4d9a6e(0x1e8)](_0x5e78a7){const _0xa7462e=_0x4d9a6e;for(const _0x463b8d of this[_0xa7462e(0x1ea)][_0xa7462e(0x1c7)]())for(const _0x2bd16c of _0x463b8d)if(_0x2bd16c[_0xa7462e(0x1d4)]===_0x5e78a7)return _0x2bd16c[_0xa7462e(0x1e5)];}[_0x4d9a6e(0x1be)](_0x585321,_0x146bdc){const _0x4d9bab=_0x4d9a6e;if(_0x4d9bab(0x1d0)!==this[_0x4d9bab(0x1d8)][_0x4d9bab(0x1ce)][_0x4d9bab(0x1e0)](_0x3f30bf)[_0x4d9bab(0x1bb)])return;const _0x3365fd=_0x146bdc[_0x4d9bab(0x1d4)],_0x127dd0=this[_0x4d9bab(0x1ef)][_0x4d9bab(0x1f5)](_0x3365fd['id'])||this[_0x4d9bab(0x1f4)](_0x3365fd),_0x67c935=Object[_0x4d9bab(0x1c6)]({},_0x146bdc,{'user':_0x127dd0});if(this[_0x4d9bab(0x1ea)][_0x4d9bab(0x1e0)](_0x585321)[_0x4d9bab(0x1c8)](_0x67c935),!_0x3365fd[_0x4d9bab(0x1ed)]){const _0xf2b7a7=this[_0x4d9bab(0x1cb)][_0x4d9bab(0x1e0)](_0x585321);_0xf2b7a7[_0x4d9bab(0x1bd)](_0x127dd0['id'])||_0xf2b7a7[_0x4d9bab(0x1c8)](_0x127dd0),this[_0x4d9bab(0x1de)][_0x4d9bab(0x1bd)](_0x127dd0['id'])||_0x3365fd[_0x4d9bab(0x1ed)]||this[_0x4d9bab(0x1de)][_0x4d9bab(0x1c8)](_0x127dd0,_0x127dd0[_0x4d9bab(0x1d9)]?0x0:void 0x0);}this[_0x4d9bab(0x1c9)](_0x4d9bab(0x1dc)+_0x585321,{'channelId':_0x585321,'session':_0x67c935});}[_0x4d9a6e(0x1e3)](_0x1442e4,_0x43a80b){const _0x5a6a96=_0x4d9a6e;if(_0x5a6a96(0x1d0)!==this[_0x5a6a96(0x1d8)][_0x5a6a96(0x1ce)][_0x5a6a96(0x1e0)](_0x3f30bf)[_0x5a6a96(0x1bb)])return;const _0x1e4ab5=this[_0x5a6a96(0x1cb)][_0x5a6a96(0x1e0)](_0x1442e4),_0x383178=_0x43a80b[_0x5a6a96(0x1d4)];_0x383178['id']&&(this[_0x5a6a96(0x1ea)][_0x5a6a96(0x1e0)](_0x1442e4)[_0x5a6a96(0x1f3)](_0x43a80b['id']),_0x1e4ab5[_0x5a6a96(0x1bd)](_0x383178['id'])&&!this[_0x5a6a96(0x1cc)](_0x383178,_0x1442e4)[_0x5a6a96(0x1df)]&&_0x1e4ab5[_0x5a6a96(0x1f3)](_0x383178['id']),this[_0x5a6a96(0x1de)][_0x5a6a96(0x1e0)](_0x383178['id'])&&!this[_0x5a6a96(0x1cc)](_0x383178)[_0x5a6a96(0x1df)]&&this[_0x5a6a96(0x1de)][_0x5a6a96(0x1f3)](_0x383178['id']));}[_0x4d9a6e(0x1f4)](_0x43e59f,_0x25106e){const _0x15590d=_0x4d9a6e,_0x2e0d90=this[_0x15590d(0x1ef)][_0x15590d(0x1e2)](_0x43e59f);return _0x25106e&&this[_0x15590d(0x1ef)][_0x15590d(0x1c3)](_0x43e59f['id']),_0x2e0d90[_0x15590d(0x1d1)]=this[_0x15590d(0x1bc)]++,_0x2e0d90;}}function _0x4408(){const _0x382e56=['connection','addUser','_handleSessionRemove','isPremiumPlugin','role','getUserBySessionId','change:state','getUserRole','clear','channelSessions','init','isOfficialPlugin','hiddenInPresenceList','4701990SoKZbv','_users','Sessions','requires','sessions-unregister-not-exist','remove','_createUser','getUser','stopListening','set','mySessionId','2uvbiEU','state','_uniqueUsersCount','has','_handleSessionAdd','register','sessions-register-already-registered','10615240LtaFzI','9TZuOxp','defineMe','753631nrULHU','pluginName','assign','values','add','fire','delete','channelConnectedUsers','getUserSessions','listenTo','plugins','sessionId','connected','orderNumber','2656770VidZza','830atbXBU','user','4506096EYwKDs','_registeredSessions','unregister','context','isMe','3671264TElUIv','forEach','sessionAdd:','22452oXQjNC','allConnectedUsers','size','get'];_0x4408=function(){return _0x382e56;};return _0x4408();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x13d916=_0x4e72;function _0x4e72(_0x2617fd,_0x23396a){const _0x47e781=_0x47e7();return _0x4e72=function(_0x4e7245,_0x35fd98){_0x4e7245=_0x4e7245-0x1a2;let _0x418115=_0x47e781[_0x4e7245];return _0x418115;},_0x4e72(_0x2617fd,_0x23396a);}(function(_0x188b81,_0x200ded){const _0x1dbafb=_0x4e72,_0x15b611=_0x188b81();while(!![]){try{const _0x41a96b=parseInt(_0x1dbafb(0x1b5))/0x1*(parseInt(_0x1dbafb(0x1b9))/0x2)+-parseInt(_0x1dbafb(0x212))/0x3*(parseInt(_0x1dbafb(0x1f2))/0x4)+parseInt(_0x1dbafb(0x1f5))/0x5*(-parseInt(_0x1dbafb(0x21f))/0x6)+parseInt(_0x1dbafb(0x1ad))/0x7*(-parseInt(_0x1dbafb(0x1f7))/0x8)+parseInt(_0x1dbafb(0x1a7))/0x9+parseInt(_0x1dbafb(0x1b4))/0xa*(parseInt(_0x1dbafb(0x1c6))/0xb)+-parseInt(_0x1dbafb(0x1c2))/0xc;if(_0x41a96b===_0x200ded)break;else _0x15b611['push'](_0x15b611['shift']());}catch(_0x4ff0c9){_0x15b611['push'](_0x15b611['shift']());}}}(_0x47e7,0xaaaab));import{Plugin as _0x88f661}from'ckeditor5/src/core.js';import{global as _0x2f0687,DomEmitterMixin as _0x57a315}from'ckeditor5/src/utils.js';function _0x47e7(){const _0x33c838=['highest','clear','user:range','getFirstRange','createUIElement','getStart','isSimilar','hasContent','false','user:position:','init','add','contenteditable','marker','conversion','detach','getContainedElement','5261319JYVwSa','classList','addMarker','rootName','schema','getUserBySessionId','2795919kSjGPy','start','ck-user__selection','mapper','toDomElement','newRange','undo','126120uGXoxE','1603UWyqOS','batch','startsWith','$text','712ONQGMZ','oldRange','createElement','$graveyard','isCollapsed','stopListening','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','addEventListener','spellcheck','4926696WVaaNW','deletionPosition','toRange','split','1144NOZPEN','_createdBatches','requires','selection','setCustomProperty','markerName','markerToHighlight','element','set','data-session-id','root','getRange','commands','user:range:','change:range','getNearestSelectionRange','afterInit','applyOperation','getSelectionClass','delete','enqueueChange','parent','size','editingDowncast','user:position','fromRange','updateMarker','isInline','getMarkerClass','isDocumentOperation','textContent','tableCell','reconvertMarker','plugins','ck-user__marker_hovered','document','mouseleave','color','Escape','has','UserMarkers','listenTo','for','span','1276vIZSfA','innerHTML','createRange','90210yxbpVC','editing','8KDvlfG','name','destroy','checkChild','setAttribute','model','markerRange','_domEmitter','keydown','view','nodeAfter','removeClass','userPositionMarker','removeMarker','getAttribute','outerHTML','markers','markerNameToElements','remove','editor','markerToElement','isObject','isPremiumPlugin','end','ck-user__marker-tooltip','pluginName','createUserMarkerOperations','2391spoWvp','hasDomSelection','isOfficialPlugin','orderNumber','user:','getPositions','change','render','mouseenter','type','isLimit','getCustomProperty','ck-user__marker\x20','234gnqadV','update:user:range','mySessionId','get'];_0x47e7=function(){return _0x33c838;};return _0x47e7();}import{Sessions as _0x4fdefe}from'./sessions.js';import{ModelLiveRange as _0x4e68c5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x88f661{[_0x13d916(0x1fe)]=new(_0x57a315())();static get[_0x13d916(0x1c8)](){return[_0x4fdefe];}static get[_0x13d916(0x210)](){const _0xc4a13f=_0x13d916;return _0xc4a13f(0x1ee);}static get[_0x13d916(0x214)](){return!0x0;}static get[_0x13d916(0x20d)](){return!0x0;}[_0x13d916(0x22d)](){const _0x738190=_0x13d916,_0x1c6132=this[_0x738190(0x20a)],_0x7870b6=_0x1c6132[_0x738190(0x1e7)][_0x738190(0x222)](_0x4fdefe);_0x1c6132[_0x738190(0x1a4)][_0x738190(0x1f0)](_0x738190(0x1dd))[_0x738190(0x20b)]({'model':_0x738190(0x1de),'view':(_0x209270,{writer:_0x53cfe8})=>function(_0x14e578,_0x39b2a0,_0x36837f,_0xa49963){const _0x520805=_0x738190,_0x50b752=_0x14e578[_0x520805(0x1cb)][_0x520805(0x1c5)](':')[0x2],_0x5e1c73=_0x36837f[_0x520805(0x1ac)](_0x50b752);if(!_0x5e1c73||_0x50b752===_0x36837f[_0x520805(0x221)])return;if(!_0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)][_0x520805(0x1fa)](_0x14e578[_0x520805(0x1fd)][_0x520805(0x1ae)],_0x520805(0x1b8)))return;const _0x723a20={'class':_0x520805(0x21e)+_0x5e1c73[_0x520805(0x1eb)][_0x520805(0x1e2)](),'data-name':_0x5e1c73[_0x520805(0x1f8)],'data-session-id':_0x50b752},_0x91d3b8=_0xa49963[_0x520805(0x1fc)][_0x520805(0x207)][_0x520805(0x222)](_0x14e578[_0x520805(0x1cb)]),_0x21bc64=_0x91d3b8[_0x520805(0x228)](),_0x44dce1=_0x21bc64[_0x520805(0x201)],_0x41a6eb=_0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)];if(_0x44dce1&&_0x41a6eb[_0x520805(0x20c)](_0x44dce1)&&_0x41a6eb[_0x520805(0x1e1)](_0x44dce1)&&!_0xa49963[_0x520805(0x1fc)][_0x520805(0x207)][_0x520805(0x222)](_0x520805(0x1d3)+_0x50b752)[_0x520805(0x1d1)]()[_0x520805(0x1bd)])return;const _0x534748=_0x21bc64[_0x520805(0x1db)];return _0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)][_0x520805(0x21c)](_0x534748)&&!_0xa49963[_0x520805(0x1fc)][_0x520805(0x22a)](_0x534748)&&(_0x723a20[_0x520805(0x1a2)]=!0x1),function(_0x1fc79c,_0x7a2f8c,_0x42f502){const _0x1cb9d2=_0x520805,_0x4d94e8=_0x1fc79c[_0x1cb9d2(0x227)](_0x1cb9d2(0x1f1),_0x7a2f8c);return _0x1fc79c[_0x1cb9d2(0x1ca)](_0x1cb9d2(0x203),!0x0,_0x4d94e8),_0x4d94e8[_0x1cb9d2(0x219)]=function(_0x417981){const _0xaac44a=_0x1cb9d2,_0x18b275=this[_0xaac44a(0x1b1)](_0x417981),_0x4d70f2=document[_0xaac44a(0x1bb)](_0xaac44a(0x1f1));return _0x4d70f2[_0xaac44a(0x1a8)][_0xaac44a(0x22e)](_0xaac44a(0x20f)),_0x4d70f2[_0xaac44a(0x1fb)](_0xaac44a(0x1a2),_0xaac44a(0x22b)),_0x4d70f2[_0xaac44a(0x1fb)](_0xaac44a(0x1c1),_0xaac44a(0x22b)),_0x4d70f2[_0xaac44a(0x1e4)]=_0x42f502[_0xaac44a(0x1f8)],_0x18b275[_0xaac44a(0x1f3)]=_0xaac44a(0x1bf)+_0x4d70f2[_0xaac44a(0x206)]+'',_0x18b275[_0xaac44a(0x1c0)](_0xaac44a(0x21a),()=>{const _0x461a69=_0xaac44a;_0x18b275[_0x461a69(0x1a8)][_0x461a69(0x22e)](_0x461a69(0x1e8));}),_0x18b275[_0xaac44a(0x1c0)](_0xaac44a(0x1ea),()=>{const _0x589599=_0xaac44a;_0x18b275[_0x589599(0x1a8)][_0x589599(0x209)](_0x589599(0x1e8));}),_0x18b275;},_0x4d94e8[_0x1cb9d2(0x229)]=function(_0x4f6d7c){const _0x27f147=_0x1cb9d2;return!(!this[_0x27f147(0x21d)](_0x27f147(0x203))||!_0x4f6d7c[_0x27f147(0x21d)](_0x27f147(0x203))||this[_0x27f147(0x205)](_0x27f147(0x1cf))!=_0x4f6d7c[_0x27f147(0x205)](_0x27f147(0x1cf)));},_0x4d94e8;}(_0x39b2a0,_0x723a20,_0x5e1c73);}(_0x209270,_0x53cfe8,_0x7870b6,_0x1c6132)}),_0x1c6132[_0x738190(0x1a4)][_0x738190(0x1f0)](_0x738190(0x1dd))[_0x738190(0x1cc)]({'model':_0x738190(0x225),'view':_0x5ba3af=>function(_0x492acb,_0x5d01fb){const _0x2d5b42=_0x738190,_0x1767e3=_0x492acb[_0x2d5b42(0x1cb)][_0x2d5b42(0x1c5)](':')[0x2];if(_0x1767e3===_0x5d01fb[_0x2d5b42(0x221)])return null;const _0x10fadb=_0x5d01fb[_0x2d5b42(0x1ac)](_0x1767e3);if(!_0x10fadb)return{'id':_0x1767e3,'classes':[]};return{'id':_0x1767e3,'classes':[_0x2d5b42(0x1af),_0x10fadb[_0x2d5b42(0x1eb)][_0x2d5b42(0x1d8)]()],'attributes':{'data-session-id':_0x1767e3},'priority':0x7d0+_0x10fadb[_0x2d5b42(0x215)]};}(_0x5ba3af,_0x7870b6)}),function(_0x5457f2){const _0x17c611=_0x738190,_0x566346=_0x5457f2[_0x17c611(0x1fc)],_0x5c7158=new Map(),_0x1228af=_0x5457f2[_0x17c611(0x1e7)][_0x17c611(0x222)](_0x4fdefe);_0x566346[_0x17c611(0x207)]['on'](_0x17c611(0x220),(_0x32611c,_0x276c4b,_0x4990b3,_0xbe29cb)=>{const _0x55ec48=_0x17c611;if(!_0xbe29cb&&_0x5c7158[_0x55ec48(0x222)](_0x276c4b[_0x55ec48(0x1f8)]))return _0x5c7158[_0x55ec48(0x222)](_0x276c4b[_0x55ec48(0x1f8)])[_0x55ec48(0x1a5)](),void _0x5c7158[_0x55ec48(0x1d9)](_0x276c4b[_0x55ec48(0x1f8)]);const _0x4036dc=_0x276c4b[_0x55ec48(0x1f8)][_0x55ec48(0x1c5)](':')[0x2];if(_0x4036dc===_0x1228af[_0x55ec48(0x221)])return;const _0x1c8b7c=_0x55ec48(0x22c)+_0x4036dc;_0x566346[_0x55ec48(0x207)][_0x55ec48(0x1ed)](_0x1c8b7c)&&_0x5457f2[_0x55ec48(0x1f6)][_0x55ec48(0x1e6)](_0x1c8b7c),_0x276c4b['on'](_0x55ec48(0x1d4),(_0x12beca,_0x1fd3bf,_0x19b2ea)=>{const _0x2573bf=_0x55ec48;if(_0x2573bf(0x1bc)!=_0x1fd3bf[_0x2573bf(0x1d0)][_0x2573bf(0x1aa)]&&_0x2573bf(0x1bc)==_0x276c4b[_0x2573bf(0x1d1)]()[_0x2573bf(0x1d0)][_0x2573bf(0x1aa)]&&!_0x5c7158[_0x2573bf(0x1ed)](_0x276c4b[_0x2573bf(0x1f8)])){const _0x2c3aab=_0x566346[_0x2573bf(0x1ab)][_0x2573bf(0x1d5)](_0x19b2ea[_0x2573bf(0x1c3)]);if(_0x2c3aab){const _0x567b87=_0x4e68c5[_0x2573bf(0x1df)](_0x2c3aab);_0x5c7158[_0x2573bf(0x1ce)](_0x276c4b[_0x2573bf(0x1f8)],_0x567b87),_0x567b87['on'](_0x2573bf(0x1d4),(_0x23c383,_0x5087cc,_0x122a2f)=>{const _0x45a623=_0x2573bf;if(_0x45a623(0x1bc)==_0x567b87[_0x45a623(0x1d0)][_0x45a623(0x1aa)]){const _0x5e4543=_0x566346[_0x45a623(0x1ab)][_0x45a623(0x1d5)](_0x122a2f[_0x45a623(0x1c3)]);_0x5e4543?(_0x567b87[_0x45a623(0x1ae)]=_0x5e4543[_0x45a623(0x1ae)],_0x567b87[_0x45a623(0x20e)]=_0x5e4543[_0x45a623(0x20e)]):(_0x5c7158[_0x45a623(0x1d9)](_0x276c4b[_0x45a623(0x1f8)]),_0x567b87[_0x45a623(0x1a5)]());}});}}});}),_0x566346[_0x17c611(0x1e9)]['on'](_0x17c611(0x218),()=>{const _0x5bec4f=_0x17c611;_0x5c7158[_0x5bec4f(0x1dc)]>0x0&&_0x566346[_0x5bec4f(0x1da)]({'isUndoable':!0x1},_0x47adab=>{const _0x30c5a1=_0x5bec4f;for(const [_0x5258c4,_0x592e24]of _0x5c7158)_0x30c5a1(0x1bc)==_0x566346[_0x30c5a1(0x207)][_0x30c5a1(0x222)](_0x5258c4)[_0x30c5a1(0x1d1)]()[_0x30c5a1(0x1d0)][_0x30c5a1(0x1aa)]&&(Z(_0x5258c4[_0x30c5a1(0x1c5)](':')[0x2],_0x592e24[_0x30c5a1(0x1c4)](),_0x566346,_0x47adab),_0x592e24[_0x30c5a1(0x1a5)]());_0x5c7158[_0x30c5a1(0x224)]();});});}(_0x1c6132),this[_0x738190(0x1fe)][_0x738190(0x1ef)](_0x2f0687[_0x738190(0x1e9)],_0x738190(0x1ff),(_0x48ba01,{key:_0x5c0011})=>{const _0x3ef4d3=_0x738190;_0x3ef4d3(0x1ec)===_0x5c0011&&function(_0x12a7bc){const _0x2038f5=_0x3ef4d3;_0x12a7bc[_0x2038f5(0x1f6)][_0x2038f5(0x200)][_0x2038f5(0x218)](_0x3da900=>{const _0x5138fe=_0x2038f5;for(const _0x452115 of _0x12a7bc[_0x5138fe(0x1fc)][_0x5138fe(0x207)]){if(!_0x452115[_0x5138fe(0x1f8)][_0x5138fe(0x1b7)](_0x5138fe(0x1de)))continue;const _0x3218a1=_0x12a7bc[_0x5138fe(0x1f6)][_0x5138fe(0x1b0)][_0x5138fe(0x208)](_0x452115[_0x5138fe(0x1f8)]);if(_0x3218a1){for(const _0x443630 of _0x3218a1)_0x3da900[_0x5138fe(0x202)](_0x5138fe(0x1e8),_0x443630);}}});}(_0x1c6132);},{'useCapture':!0x0});}[_0x13d916(0x1d6)](){const _0x3295d6=_0x13d916,_0x1222e0=this[_0x3295d6(0x20a)],_0x43a67d=_0x1222e0[_0x3295d6(0x1d2)][_0x3295d6(0x222)](_0x3295d6(0x1b3));_0x43a67d&&_0x1222e0[_0x3295d6(0x1fc)]['on'](_0x3295d6(0x1d7),(_0x36ab77,_0x2c285e)=>{const _0x27effd=_0x3295d6,_0x19f8e3=_0x2c285e[0x0];if(!_0x19f8e3[_0x27effd(0x1e3)])return;if(_0x27effd(0x1a3)!=_0x19f8e3[_0x27effd(0x21b)]||!_0x19f8e3[_0x27effd(0x1f8)][_0x27effd(0x1b7)](_0x27effd(0x216)))return;const _0x3a8a15=_0x19f8e3[_0x27effd(0x1b6)];_0x43a67d[_0x27effd(0x1c7)][_0x27effd(0x1ed)](_0x3a8a15)&&(_0x19f8e3[_0x27effd(0x1b2)]=_0x19f8e3[_0x27effd(0x1ba)]?_0x1222e0[_0x27effd(0x1fc)][_0x27effd(0x1f4)](_0x19f8e3[_0x27effd(0x1ba)][_0x27effd(0x1ae)],_0x19f8e3[_0x27effd(0x1ba)][_0x27effd(0x20e)]):null);},{'priority':_0x3295d6(0x223)});}[_0x13d916(0x1f9)](){const _0x3ab861=_0x13d916;return this[_0x3ab861(0x1fe)][_0x3ab861(0x1be)](),super[_0x3ab861(0x1f9)]();}[_0x13d916(0x211)](){const _0x33f86a=_0x13d916,_0x2b417c=this[_0x33f86a(0x20a)],_0x4c1658=_0x2b417c[_0x33f86a(0x1fc)][_0x33f86a(0x1e9)],_0x22886c=_0x2b417c[_0x33f86a(0x1e7)][_0x33f86a(0x222)](_0x4fdefe);_0x2b417c[_0x33f86a(0x1fc)][_0x33f86a(0x1da)]({'isUndoable':!0x1},_0x282431=>{const _0x510fe5=_0x33f86a,_0x4044e1=_0x510fe5(0x1d3)+_0x22886c[_0x510fe5(0x221)],_0x597563=_0x510fe5(0x22c)+_0x22886c[_0x510fe5(0x221)],_0xab243=_0x2b417c[_0x510fe5(0x1fc)][_0x510fe5(0x207)][_0x510fe5(0x1ed)](_0x4044e1);_0x2b417c[_0x510fe5(0x1f6)][_0x510fe5(0x200)][_0x510fe5(0x213)]?Z(_0x22886c[_0x510fe5(0x221)],_0x4c1658[_0x510fe5(0x1c9)][_0x510fe5(0x226)](),_0x2b417c[_0x510fe5(0x1fc)],_0x282431):_0xab243&&(_0x282431[_0x510fe5(0x204)](_0x4044e1),_0x282431[_0x510fe5(0x204)](_0x597563));});}}function Z(_0x34906e,_0x302bf9,_0x5e8093,_0xf029a8){const _0x118571=_0x13d916,_0x570538=_0x118571(0x1d3)+_0x34906e,_0x3bb748=_0x118571(0x22c)+_0x34906e,_0x279625=_0x302bf9[_0x118571(0x1a6)]();let _0x1629be=_0x302bf9[_0x118571(0x1ae)];if(_0x279625&&_0x279625['is'](_0x118571(0x1cd),_0x118571(0x1e5))){const _0xab1b3b=function(_0x60e3c4,_0x40c3c9){const _0x980f12=_0x118571;for(const _0x960d53 of _0x60e3c4[_0x980f12(0x217)]())if(_0x40c3c9[_0x980f12(0x1ab)][_0x980f12(0x1fa)](_0x960d53,_0x980f12(0x1b8)))return _0x960d53;}(_0x302bf9,_0x5e8093);_0xab1b3b&&(_0x1629be=_0xab1b3b,_0x302bf9=_0xf029a8[_0x118571(0x1f4)](_0x1629be));}const _0x286e74=_0xf029a8[_0x118571(0x1f4)](_0x1629be);_0x5e8093[_0x118571(0x207)][_0x118571(0x1ed)](_0x570538)?(_0xf029a8[_0x118571(0x1e0)](_0x570538,{'range':_0x302bf9}),_0xf029a8[_0x118571(0x1e0)](_0x3bb748,{'range':_0x286e74})):(_0xf029a8[_0x118571(0x1a9)](_0x570538,{'range':_0x302bf9,'usingOperation':!0x0}),_0xf029a8[_0x118571(0x1a9)](_0x3bb748,{'range':_0x286e74,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x39b659=_0x382a;function _0x382a(_0x49183f,_0x25c223){const _0x512e6e=_0x512e();return _0x382a=function(_0x382ae4,_0x35426d){_0x382ae4=_0x382ae4-0x1eb;let _0x13ccdf=_0x512e6e[_0x382ae4];return _0x13ccdf;},_0x382a(_0x49183f,_0x25c223);}function _0x512e(){const _0xc71306=['model','getContainedElement','markerRange','user:','getFirstRange','user:position:','parent','updateMarker','hasDomSelection','setCustomProperty','schema','removeClass','startsWith','update:user:range','createRange','highest','tableCell','ck-user__marker_hovered','addEventListener','newRange','color','ck-user__marker-tooltip','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','$graveyard','markers','enqueueChange','orderNumber','isCollapsed','checkChild','start','add','markerNameToElements','type','markerToElement','getNearestSelectionRange','528026bxZFuP','_createdBatches','false','editing','conversion','toRange','4412536ucFyOo','keydown','994645ONMmeA','rootName','createElement','getCustomProperty','for','root','document','getAttribute','markerToHighlight','data-session-id','mouseleave','user:position','commands','removeMarker','user:range:','getMarkerClass','outerHTML','getSelectionClass','setAttribute','selection','user:range','getUserBySessionId','clear','7230546AsvONn','marker','toDomElement','name','mySessionId','UserMarkers','element','Escape','92560qGeNUI','has','pluginName','editingDowncast','applyOperation','span','ck-user__selection','init','reconvertMarker','plugins','isLimit','listenTo','editor','_domEmitter','createUIElement','change','size','1wteAig','change:range','delete','detach','end','innerHTML','view','$text','userPositionMarker','split','markerName','requires','addMarker','render','26538tEnhma','set','stopListening','ck-user__marker\x20','destroy','isObject','mouseenter','createUserMarkerOperations','136053hCxMLY','getStart','remove','classList','mapper','batch','deletionPosition','nodeAfter','isDocumentOperation','154uYLCLc','isOfficialPlugin','textContent','isPremiumPlugin','isInline','hasContent','fromRange','get','spellcheck','undo','oldRange','getPositions','isSimilar','contenteditable','afterInit','getRange'];_0x512e=function(){return _0xc71306;};return _0x512e();}(function(_0x1af1a3,_0x428246){const _0xe5431e=_0x382a,_0x50bf63=_0x1af1a3();while(!![]){try{const _0x2b85d7=-parseInt(_0xe5431e(0x25c))/0x1*(parseInt(_0xe5431e(0x224))/0x2)+parseInt(_0xe5431e(0x272))/0x3+-parseInt(_0xe5431e(0x24b))/0x4+parseInt(_0xe5431e(0x22c))/0x5+-parseInt(_0xe5431e(0x26a))/0x6*(-parseInt(_0xe5431e(0x1f1))/0x7)+-parseInt(_0xe5431e(0x22a))/0x8+parseInt(_0xe5431e(0x243))/0x9;if(_0x2b85d7===_0x428246)break;else _0x50bf63['push'](_0x50bf63['shift']());}catch(_0x240b78){_0x50bf63['push'](_0x50bf63['shift']());}}}(_0x512e,0x4ac54));import{Plugin as _0x3b8fe8}from'ckeditor5/src/core.js';import{global as _0xad345e,DomEmitterMixin as _0x147d74}from'ckeditor5/src/utils.js';import{Sessions as _0x3c5e46}from'./sessions.js';import{ModelLiveRange as _0x3c250e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3b8fe8{[_0x39b659(0x258)]=new(_0x147d74())();static get[_0x39b659(0x267)](){return[_0x3c5e46];}static get[_0x39b659(0x24d)](){const _0x44f9f9=_0x39b659;return _0x44f9f9(0x248);}static get[_0x39b659(0x1f2)](){return!0x0;}static get[_0x39b659(0x1f4)](){return!0x0;}[_0x39b659(0x252)](){const _0x28664c=_0x39b659,_0x5de722=this[_0x28664c(0x257)],_0x469b90=_0x5de722[_0x28664c(0x254)][_0x28664c(0x1f8)](_0x3c5e46);_0x5de722[_0x28664c(0x228)][_0x28664c(0x230)](_0x28664c(0x24e))[_0x28664c(0x222)]({'model':_0x28664c(0x237),'view':(_0x3bfe9d,{writer:_0x5c35da})=>function(_0x31426e,_0x4dd286,_0x16b423,_0x37ac30){const _0x778ae2=_0x28664c,_0x31d9df=_0x31426e[_0x778ae2(0x266)][_0x778ae2(0x265)](':')[0x2],_0x35d025=_0x16b423[_0x778ae2(0x241)](_0x31d9df);if(!_0x35d025||_0x31d9df===_0x16b423[_0x778ae2(0x247)])return;if(!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)][_0x778ae2(0x21d)](_0x31426e[_0x778ae2(0x203)][_0x778ae2(0x21e)],_0x778ae2(0x263)))return;const _0x5ec0a1={'class':_0x778ae2(0x26d)+_0x35d025[_0x778ae2(0x215)][_0x778ae2(0x23b)](),'data-name':_0x35d025[_0x778ae2(0x246)],'data-session-id':_0x31d9df},_0x257356=_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x219)][_0x778ae2(0x1f8)](_0x31426e[_0x778ae2(0x266)]),_0x5566c0=_0x257356[_0x778ae2(0x273)](),_0x331061=_0x5566c0[_0x778ae2(0x1ef)],_0x155143=_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)];if(_0x331061&&_0x155143[_0x778ae2(0x26f)](_0x331061)&&_0x155143[_0x778ae2(0x1f5)](_0x331061)&&!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x219)][_0x778ae2(0x1f8)](_0x778ae2(0x23a)+_0x31d9df)[_0x778ae2(0x200)]()[_0x778ae2(0x21c)])return;const _0x56cc85=_0x5566c0[_0x778ae2(0x207)];return _0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)][_0x778ae2(0x255)](_0x56cc85)&&!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x1f6)](_0x56cc85)&&(_0x5ec0a1[_0x778ae2(0x1fe)]=!0x1),function(_0x156748,_0x200b49,_0xd09d33){const _0x39b6ad=_0x778ae2,_0x1a61b1=_0x156748[_0x39b6ad(0x259)](_0x39b6ad(0x250),_0x200b49);return _0x156748[_0x39b6ad(0x20a)](_0x39b6ad(0x264),!0x0,_0x1a61b1),_0x1a61b1[_0x39b6ad(0x269)]=function(_0x149d29){const _0x329484=_0x39b6ad,_0x1e665c=this[_0x329484(0x245)](_0x149d29),_0x48ddf9=document[_0x329484(0x22e)](_0x329484(0x250));return _0x48ddf9[_0x329484(0x1eb)][_0x329484(0x21f)](_0x329484(0x216)),_0x48ddf9[_0x329484(0x23e)](_0x329484(0x1fe),_0x329484(0x226)),_0x48ddf9[_0x329484(0x23e)](_0x329484(0x1f9),_0x329484(0x226)),_0x48ddf9[_0x329484(0x1f3)]=_0xd09d33[_0x329484(0x246)],_0x1e665c[_0x329484(0x261)]=_0x329484(0x217)+_0x48ddf9[_0x329484(0x23c)]+'',_0x1e665c[_0x329484(0x213)](_0x329484(0x270),()=>{const _0x2392e1=_0x329484;_0x1e665c[_0x2392e1(0x1eb)][_0x2392e1(0x21f)](_0x2392e1(0x212));}),_0x1e665c[_0x329484(0x213)](_0x329484(0x236),()=>{const _0x2de848=_0x329484;_0x1e665c[_0x2de848(0x1eb)][_0x2de848(0x274)](_0x2de848(0x212));}),_0x1e665c;},_0x1a61b1[_0x39b6ad(0x1fd)]=function(_0x419071){const _0x440fb5=_0x39b6ad;return!(!this[_0x440fb5(0x22f)](_0x440fb5(0x264))||!_0x419071[_0x440fb5(0x22f)](_0x440fb5(0x264))||this[_0x440fb5(0x233)](_0x440fb5(0x235))!=_0x419071[_0x440fb5(0x233)](_0x440fb5(0x235)));},_0x1a61b1;}(_0x4dd286,_0x5ec0a1,_0x35d025);}(_0x3bfe9d,_0x5c35da,_0x469b90,_0x5de722)}),_0x5de722[_0x28664c(0x228)][_0x28664c(0x230)](_0x28664c(0x24e))[_0x28664c(0x234)]({'model':_0x28664c(0x240),'view':_0x157639=>function(_0x1e6f43,_0x45e134){const _0x4902d8=_0x28664c,_0x2efc59=_0x1e6f43[_0x4902d8(0x266)][_0x4902d8(0x265)](':')[0x2];if(_0x2efc59===_0x45e134[_0x4902d8(0x247)])return null;const _0x2169dc=_0x45e134[_0x4902d8(0x241)](_0x2efc59);if(!_0x2169dc)return{'id':_0x2efc59,'classes':[]};return{'id':_0x2efc59,'classes':[_0x4902d8(0x251),_0x2169dc[_0x4902d8(0x215)][_0x4902d8(0x23d)]()],'attributes':{'data-session-id':_0x2efc59},'priority':0x7d0+_0x2169dc[_0x4902d8(0x21b)]};}(_0x157639,_0x469b90)}),function(_0x47a99b){const _0x56ab63=_0x28664c,_0x3c4e4a=_0x47a99b[_0x56ab63(0x201)],_0x585323=new Map(),_0x4a45cc=_0x47a99b[_0x56ab63(0x254)][_0x56ab63(0x1f8)](_0x3c5e46);_0x3c4e4a[_0x56ab63(0x219)]['on'](_0x56ab63(0x20e),(_0x3845a4,_0x50fa20,_0x17355a,_0x32e4de)=>{const _0x343ee6=_0x56ab63;if(!_0x32e4de&&_0x585323[_0x343ee6(0x1f8)](_0x50fa20[_0x343ee6(0x246)]))return _0x585323[_0x343ee6(0x1f8)](_0x50fa20[_0x343ee6(0x246)])[_0x343ee6(0x25f)](),void _0x585323[_0x343ee6(0x25e)](_0x50fa20[_0x343ee6(0x246)]);const _0x343b86=_0x50fa20[_0x343ee6(0x246)][_0x343ee6(0x265)](':')[0x2];if(_0x343b86===_0x4a45cc[_0x343ee6(0x247)])return;const _0x435417=_0x343ee6(0x206)+_0x343b86;_0x3c4e4a[_0x343ee6(0x219)][_0x343ee6(0x24c)](_0x435417)&&_0x47a99b[_0x343ee6(0x227)][_0x343ee6(0x253)](_0x435417),_0x50fa20['on'](_0x343ee6(0x25d),(_0x2bfe4d,_0x44e829,_0xd0f6a8)=>{const _0x589378=_0x343ee6;if(_0x589378(0x218)!=_0x44e829[_0x589378(0x231)][_0x589378(0x22d)]&&_0x589378(0x218)==_0x50fa20[_0x589378(0x200)]()[_0x589378(0x231)][_0x589378(0x22d)]&&!_0x585323[_0x589378(0x24c)](_0x50fa20[_0x589378(0x246)])){const _0x50ba0c=_0x3c4e4a[_0x589378(0x20b)][_0x589378(0x223)](_0xd0f6a8[_0x589378(0x1ee)]);if(_0x50ba0c){const _0x3ddb8c=_0x3c250e[_0x589378(0x1f7)](_0x50ba0c);_0x585323[_0x589378(0x26b)](_0x50fa20[_0x589378(0x246)],_0x3ddb8c),_0x3ddb8c['on'](_0x589378(0x25d),(_0x4533e0,_0x3edf76,_0x5d9e6c)=>{const _0xc4b304=_0x589378;if(_0xc4b304(0x218)==_0x3ddb8c[_0xc4b304(0x231)][_0xc4b304(0x22d)]){const _0x3f8745=_0x3c4e4a[_0xc4b304(0x20b)][_0xc4b304(0x223)](_0x5d9e6c[_0xc4b304(0x1ee)]);_0x3f8745?(_0x3ddb8c[_0xc4b304(0x21e)]=_0x3f8745[_0xc4b304(0x21e)],_0x3ddb8c[_0xc4b304(0x260)]=_0x3f8745[_0xc4b304(0x260)]):(_0x585323[_0xc4b304(0x25e)](_0x50fa20[_0xc4b304(0x246)]),_0x3ddb8c[_0xc4b304(0x25f)]());}});}}});}),_0x3c4e4a[_0x56ab63(0x232)]['on'](_0x56ab63(0x25a),()=>{const _0x3b874e=_0x56ab63;_0x585323[_0x3b874e(0x25b)]>0x0&&_0x3c4e4a[_0x3b874e(0x21a)]({'isUndoable':!0x1},_0x4f5e25=>{const _0x2c2b23=_0x3b874e;for(const [_0x5a4393,_0x5830c6]of _0x585323)_0x2c2b23(0x218)==_0x3c4e4a[_0x2c2b23(0x219)][_0x2c2b23(0x1f8)](_0x5a4393)[_0x2c2b23(0x200)]()[_0x2c2b23(0x231)][_0x2c2b23(0x22d)]&&(te(_0x5a4393[_0x2c2b23(0x265)](':')[0x2],_0x5830c6[_0x2c2b23(0x229)](),_0x3c4e4a,_0x4f5e25),_0x5830c6[_0x2c2b23(0x25f)]());_0x585323[_0x2c2b23(0x242)]();});});}(_0x5de722),this[_0x28664c(0x258)][_0x28664c(0x256)](_0xad345e[_0x28664c(0x232)],_0x28664c(0x22b),(_0x3f7fe6,{key:_0x468771})=>{const _0x32b7a0=_0x28664c;_0x32b7a0(0x24a)===_0x468771&&function(_0x586aed){const _0x398f28=_0x32b7a0;_0x586aed[_0x398f28(0x227)][_0x398f28(0x262)][_0x398f28(0x25a)](_0x479e02=>{const _0x29c811=_0x398f28;for(const _0x3906e of _0x586aed[_0x29c811(0x201)][_0x29c811(0x219)]){if(!_0x3906e[_0x29c811(0x246)][_0x29c811(0x20d)](_0x29c811(0x237)))continue;const _0x594f89=_0x586aed[_0x29c811(0x227)][_0x29c811(0x1ec)][_0x29c811(0x220)](_0x3906e[_0x29c811(0x246)]);if(_0x594f89){for(const _0x3e4ede of _0x594f89)_0x479e02[_0x29c811(0x20c)](_0x29c811(0x212),_0x3e4ede);}}});}(_0x5de722);},{'useCapture':!0x0});}[_0x39b659(0x1ff)](){const _0x122f10=_0x39b659,_0x496887=this[_0x122f10(0x257)],_0xddcc35=_0x496887[_0x122f10(0x238)][_0x122f10(0x1f8)](_0x122f10(0x1fa));_0xddcc35&&_0x496887[_0x122f10(0x201)]['on'](_0x122f10(0x24f),(_0x1105be,_0x450849)=>{const _0xf8fee4=_0x122f10,_0x123447=_0x450849[0x0];if(!_0x123447[_0xf8fee4(0x1f0)])return;if(_0xf8fee4(0x244)!=_0x123447[_0xf8fee4(0x221)]||!_0x123447[_0xf8fee4(0x246)][_0xf8fee4(0x20d)](_0xf8fee4(0x204)))return;const _0x5451e3=_0x123447[_0xf8fee4(0x1ed)];_0xddcc35[_0xf8fee4(0x225)][_0xf8fee4(0x24c)](_0x5451e3)&&(_0x123447[_0xf8fee4(0x214)]=_0x123447[_0xf8fee4(0x1fb)]?_0x496887[_0xf8fee4(0x201)][_0xf8fee4(0x20f)](_0x123447[_0xf8fee4(0x1fb)][_0xf8fee4(0x21e)],_0x123447[_0xf8fee4(0x1fb)][_0xf8fee4(0x260)]):null);},{'priority':_0x122f10(0x210)});}[_0x39b659(0x26e)](){const _0x302310=_0x39b659;return this[_0x302310(0x258)][_0x302310(0x26c)](),super[_0x302310(0x26e)]();}[_0x39b659(0x271)](){const _0x803900=_0x39b659,_0x5a9a83=this[_0x803900(0x257)],_0x46561a=_0x5a9a83[_0x803900(0x201)][_0x803900(0x232)],_0x3a6987=_0x5a9a83[_0x803900(0x254)][_0x803900(0x1f8)](_0x3c5e46);_0x5a9a83[_0x803900(0x201)][_0x803900(0x21a)]({'isUndoable':!0x1},_0x3e80d6=>{const _0x1be139=_0x803900,_0x42a608=_0x1be139(0x23a)+_0x3a6987[_0x1be139(0x247)],_0x25b0e9=_0x1be139(0x206)+_0x3a6987[_0x1be139(0x247)],_0x464116=_0x5a9a83[_0x1be139(0x201)][_0x1be139(0x219)][_0x1be139(0x24c)](_0x42a608);_0x5a9a83[_0x1be139(0x227)][_0x1be139(0x262)][_0x1be139(0x209)]?te(_0x3a6987[_0x1be139(0x247)],_0x46561a[_0x1be139(0x23f)][_0x1be139(0x205)](),_0x5a9a83[_0x1be139(0x201)],_0x3e80d6):_0x464116&&(_0x3e80d6[_0x1be139(0x239)](_0x42a608),_0x3e80d6[_0x1be139(0x239)](_0x25b0e9));});}}function te(_0x2f0ec7,_0x115898,_0x92f03e,_0x30aad0){const _0x46da71=_0x39b659,_0x54aa2a=_0x46da71(0x23a)+_0x2f0ec7,_0x50b7d2=_0x46da71(0x206)+_0x2f0ec7,_0x23dd05=_0x115898[_0x46da71(0x202)]();let _0x5a81c1=_0x115898[_0x46da71(0x21e)];if(_0x23dd05&&_0x23dd05['is'](_0x46da71(0x249),_0x46da71(0x211))){const _0x3825fa=function(_0x39d2b5,_0x2c50c2){const _0x5d140e=_0x46da71;for(const _0x874116 of _0x39d2b5[_0x5d140e(0x1fc)]())if(_0x2c50c2[_0x5d140e(0x20b)][_0x5d140e(0x21d)](_0x874116,_0x5d140e(0x263)))return _0x874116;}(_0x115898,_0x92f03e);_0x3825fa&&(_0x5a81c1=_0x3825fa,_0x115898=_0x30aad0[_0x46da71(0x20f)](_0x5a81c1));}const _0x2e0c0e=_0x30aad0[_0x46da71(0x20f)](_0x5a81c1);_0x92f03e[_0x46da71(0x219)][_0x46da71(0x24c)](_0x54aa2a)?(_0x30aad0[_0x46da71(0x208)](_0x54aa2a,{'range':_0x115898}),_0x30aad0[_0x46da71(0x208)](_0x50b7d2,{'range':_0x2e0c0e})):(_0x30aad0[_0x46da71(0x268)](_0x54aa2a,{'range':_0x115898,'usingOperation':!0x0}),_0x30aad0[_0x46da71(0x268)](_0x50b7d2,{'range':_0x2e0c0e,'usingOperation':!0x0}));}
|