@ckeditor/ckeditor5-real-time-collaboration 45.2.1-alpha.3 → 45.2.1-alpha.5
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 _0x5cea9c=_0xae36;(function(_0x39e6df,_0x219f6d){const _0x154c11=_0xae36,_0x24cabb=_0x39e6df();while(!![]){try{const _0x423cb0=parseInt(_0x154c11(0x151))/0x1+parseInt(_0x154c11(0x145))/0x2+parseInt(_0x154c11(0x149))/0x3+-parseInt(_0x154c11(0x14d))/0x4+-parseInt(_0x154c11(0x157))/0x5*(parseInt(_0x154c11(0x137))/0x6)+parseInt(_0x154c11(0x139))/0x7*(-parseInt(_0x154c11(0x152))/0x8)+parseInt(_0x154c11(0x14c))/0x9*(parseInt(_0x154c11(0x14a))/0xa);if(_0x423cb0===_0x219f6d)break;else _0x24cabb['push'](_0x24cabb['shift']());}catch(_0x31b7e6){_0x24cabb['push'](_0x24cabb['shift']());}}}(_0x3cd8,0xd6383));import{View as _0xb3dd44}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x461e31}from'ckeditor5/src/utils.js';function _0xae36(_0x4a2852,_0x10fe13){const _0x3cd825=_0x3cd8();return _0xae36=function(_0xae3670,_0x2fd1cb){_0xae3670=_0xae3670-0x132;let _0x4191a=_0x3cd825[_0xae3670];return _0x4191a;},_0xae36(_0x4a2852,_0x10fe13);}import{getTranslation as _0x38404e}from'../../common-translations.js';function _0x3cd8(){const _0x277250=['presencelist:hide','items','ck-presence-list__list','1278492IlmloF','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','10791305XhJowk','presencelist:show','Connected\x20users\x20list','removeAttribute','keystrokes','.ck-presence-list__dropdown-list','setTemplate','change:hasPopup','relatedTarget','render','contains','setAttribute','1378312uAdULb','querySelector','.ck-balloon-panel_with-arrow','bindTemplate','1919886NFMMRw','580cvGSjV','aria-expanded','357975GGGvzL','1247204mHTLfV','hasPopup','isExpanded','createCollection','160201DEflUy','8AwkpAw','element','set','focus','list','25iRiDgU','div','fire','listenTo'];_0x3cd8=function(){return _0x277250;};return _0x3cd8();}export default class ts extends _0xb3dd44{[_0x5cea9c(0x135)];[_0x5cea9c(0x13d)];constructor(_0x4d5b59){const _0x1dd75b=_0x5cea9c;super(_0x4d5b59);const _0x445f04=this[_0x1dd75b(0x148)];this[_0x1dd75b(0x135)]=this[_0x1dd75b(0x150)](),this[_0x1dd75b(0x13d)]=new _0x461e31(),this[_0x1dd75b(0x154)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1dd75b(0x13f)]({'tag':_0x1dd75b(0x158),'attributes':{'aria-haspopup':_0x445f04['if'](_0x1dd75b(0x14e)),'aria-expanded':_0x445f04['to'](_0x1dd75b(0x14f),_0x386628=>this[_0x1dd75b(0x14e)]&&String(_0x386628)),'aria-label':_0x445f04['to'](_0x1dd75b(0x14e),_0x29fed5=>_0x38404e(_0x4d5b59,_0x29fed5?_0x1dd75b(0x138):_0x1dd75b(0x13b))),'role':_0x1dd75b(0x156),'tabindex':_0x445f04['to'](_0x1dd75b(0x14e),_0x4dd7c1=>!!_0x4dd7c1&&0x0),'class':['ck',_0x1dd75b(0x136)]},'children':this[_0x1dd75b(0x135)],'on':{'mouseenter':_0x445f04['to'](()=>this[_0x1dd75b(0x132)](_0x1dd75b(0x13a))),'mouseleave':_0x445f04['to'](_0x5cf94e=>{const _0x40856d=_0x1dd75b,_0x10acb7=_0x5cf94e,_0x2c6e24=document[_0x40856d(0x146)](_0x40856d(0x13e)),_0x7860f0=document[_0x40856d(0x146)](_0x40856d(0x147));_0x2c6e24?.[_0x40856d(0x143)](_0x10acb7[_0x40856d(0x141)])||_0x7860f0?.[_0x40856d(0x143)](_0x10acb7[_0x40856d(0x141)])||this[_0x40856d(0x132)](_0x40856d(0x134));})}}),this['on'](_0x1dd75b(0x140),(_0x4bcd4b,_0x2352ca,_0x387491)=>{const _0x52e201=_0x1dd75b;this[_0x52e201(0x153)]&&(_0x387491?this[_0x52e201(0x153)][_0x52e201(0x144)](_0x52e201(0x14b),String(this[_0x52e201(0x14f)])):this[_0x52e201(0x153)][_0x52e201(0x13c)](_0x52e201(0x14b)));});}[_0x5cea9c(0x155)](){const _0x49d82b=_0x5cea9c;this[_0x49d82b(0x153)][_0x49d82b(0x155)]();}[_0x5cea9c(0x142)](){const _0x5ae741=_0x5cea9c;super[_0x5ae741(0x142)](),this[_0x5ae741(0x13d)][_0x5ae741(0x133)](this[_0x5ae741(0x153)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37eb08=_0x4244;(function(_0x49cb7b,_0x20e0b9){const _0x39c47b=_0x4244,_0x4abf7e=_0x49cb7b();while(!![]){try{const _0x12ecb9=-parseInt(_0x39c47b(0x9b))/0x1*(parseInt(_0x39c47b(0x9e))/0x2)+parseInt(_0x39c47b(0x96))/0x3*(-parseInt(_0x39c47b(0xaf))/0x4)+parseInt(_0x39c47b(0x9a))/0x5*(parseInt(_0x39c47b(0xa3))/0x6)+parseInt(_0x39c47b(0xad))/0x7*(-parseInt(_0x39c47b(0xa1))/0x8)+-parseInt(_0x39c47b(0xac))/0x9*(-parseInt(_0x39c47b(0x9c))/0xa)+parseInt(_0x39c47b(0xa6))/0xb+-parseInt(_0x39c47b(0xb5))/0xc*(-parseInt(_0x39c47b(0xb4))/0xd);if(_0x12ecb9===_0x20e0b9)break;else _0x4abf7e['push'](_0x4abf7e['shift']());}catch(_0x59333b){_0x4abf7e['push'](_0x4abf7e['shift']());}}}(_0x22a7,0x9edbe));function _0x4244(_0x3f0425,_0x5c07dc){const _0x22a732=_0x22a7();return _0x4244=function(_0x4244e6,_0x4711b6){_0x4244e6=_0x4244e6-0x96;let _0xa85a37=_0x22a732[_0x4244e6];return _0xa85a37;},_0x4244(_0x3f0425,_0x5c07dc);}import{View as _0x4d5439}from'ckeditor5/src/ui.js';import _0x5b6009 from'./presencecounterview.js';import _0x4e74af from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x22a7(){const _0x2983ba=['counterView','inlineListView','ck-presence-list','65QlGjNY','666804VbsLxO','3XQksSS','items','first','ck-reset','3220kiOMRL','3389HrwwCi','6121590gLHdOa','setTemplate','4KKmTJg','ck-rounded-corners','change','1665288yLwhDP','div','132CFjMrr','ck-presence-list--collapsed','listenTo','736692brzdjp','bindTemplate','tooltipPosition','hasPopup','locale','isCollapsed','9GlCxrv','7YqEUMj','set','422036XSLoVe','bind'];_0x22a7=function(){return _0x2983ba;};return _0x22a7();}export default class j extends _0x4d5439{[_0x37eb08(0xb1)];[_0x37eb08(0xb2)];constructor(_0x1f1d84,_0x163f6d=0x6){const _0x2c05a5=_0x37eb08;super(_0x1f1d84);const _0x1ec5ee=this[_0x2c05a5(0xa7)];this[_0x2c05a5(0xae)](_0x2c05a5(0xab),!0x0),this[_0x2c05a5(0xb1)]=new _0x5b6009(this[_0x2c05a5(0xaa)],_0x163f6d),this[_0x2c05a5(0xb2)]=new _0x4e74af(_0x1f1d84),this[_0x2c05a5(0xb2)][_0x2c05a5(0xb0)](_0x2c05a5(0xa9))['to'](this,_0x2c05a5(0xab)),this[_0x2c05a5(0xa5)](this[_0x2c05a5(0xb2)][_0x2c05a5(0x97)],_0x2c05a5(0xa0),()=>{const _0x22b888=_0x2c05a5;for(const _0x380a4b of this[_0x22b888(0xb2)][_0x22b888(0x97)])_0x380a4b[_0x22b888(0xa8)]='s';this[_0x22b888(0xb2)][_0x22b888(0x97)][_0x22b888(0x98)]&&(this[_0x22b888(0xb2)][_0x22b888(0x97)][_0x22b888(0x98)][_0x22b888(0xa8)]='se');}),this[_0x2c05a5(0x9d)]({'tag':_0x2c05a5(0xa2),'attributes':{'class':['ck',_0x2c05a5(0xb3),_0x2c05a5(0x99),_0x2c05a5(0x9f),_0x1ec5ee['if'](_0x2c05a5(0xab),_0x2c05a5(0xa4))]},'children':[this[_0x2c05a5(0xb2)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4b9a(){var _0x3f9512=['PresenceList','2544829ktddcd','12299004eGMwAP','pluginName','20XknDrp','requires','30115wtRgBk','isOfficialPlugin','isPremiumPlugin','6RMvUWt','1387029aLyYGk','1586560kdszAG','6993488OeJDFK','56260ZxfegS'];_0x4b9a=function(){return _0x3f9512;};return _0x4b9a();}var _0x3e918d=_0x36d8;(function(_0x56bf58,_0x103fbe){var _0x4a9462=_0x36d8,_0x2adf83=_0x56bf58();while(!![]){try{var _0x1a6531=parseInt(_0x4a9462(0x9e))/0x1+-parseInt(_0x4a9462(0x9c))/0x2+parseInt(_0x4a9462(0x9b))/0x3+parseInt(_0x4a9462(0x95))/0x4*(-parseInt(_0x4a9462(0x97))/0x5)+parseInt(_0x4a9462(0x9a))/0x6*(parseInt(_0x4a9462(0x92))/0x7)+-parseInt(_0x4a9462(0x9d))/0x8+parseInt(_0x4a9462(0x93))/0x9;if(_0x1a6531===_0x103fbe)break;else _0x2adf83['push'](_0x2adf83['shift']());}catch(_0x81c6a2){_0x2adf83['push'](_0x2adf83['shift']());}}}(_0x4b9a,0x868d5));import{ContextPlugin as _0x128446}from'ckeditor5/src/core.js';import _0xf6681a from'./realtimecollaborativeediting/sessions.js';import _0x4f5fe5 from'./presencelist/presencelistui.js';function _0x36d8(_0x16ad0f,_0x3248e0){var _0x4b9aae=_0x4b9a();return _0x36d8=function(_0x36d873,_0x208e90){_0x36d873=_0x36d873-0x91;var _0x4fffb3=_0x4b9aae[_0x36d873];return _0x4fffb3;},_0x36d8(_0x16ad0f,_0x3248e0);}export default class s extends _0x128446{static get[_0x3e918d(0x96)](){return[_0xf6681a,_0x4f5fe5];}static get[_0x3e918d(0x94)](){var _0x2f32e=_0x3e918d;return _0x2f32e(0x91);}static get[_0x3e918d(0x98)](){return!0x0;}static get[_0x3e918d(0x99)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1860f5)());[_0x1e5147(0xe4)];static get[_0x1e5147(0xb2)](){const _0x15b453=_0x1e5147;return[_0x42ab98,_0x15b453(0xd6),_0x50ee1f,_0x5d8f2a];}static get[_0x1e5147(0x8c)](){const _0x52d566=_0x1e5147;return _0x52d566(0xcc);}static get[_0x1e5147(0xd4)](){return!0x0;}static get[_0x1e5147(0xd3)](){return!0x0;}constructor(_0x2aba5c){const _0x199b10=_0x1e5147;super(_0x2aba5c),this[_0x199b10(0xe4)]=new Map();}async[_0x1e5147(0xa8)](){const _0x10a16f=_0x1e5147,_0x4466fa=this[_0x10a16f(0xb8)],_0xec0a70=_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x10a16f(0xd6));if(_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x42ab98)[_0x10a16f(0xd0)](this),_0xec0a70[_0x10a16f(0xb9)]={'addCommentThread':async({channelId:_0x3ed341,threadId:_0x58015f,comments:_0xab1582,resolvedAt:_0x270378,resolvedBy:_0x5ef3f1,context:_0x3d1048,attributes:_0x41f8e6})=>{const _0x50ffa0=_0x10a16f,_0x297e6a=await this[_0x50ffa0(0x96)](_0x3ed341)[_0x50ffa0(0xdd)]({'commentThreadId':_0x58015f,'comments':_0xab1582[_0x50ffa0(0x9e)](_0x12c18b=>function(_0x5aaf1f,_0x3d6ea8,_0x349f47){const _0x4e68eb=_0x50ffa0;return{'commentThreadId':_0x349f47,'commentId':_0x5aaf1f[_0x4e68eb(0x9d)],'userId':_0x5aaf1f[_0x4e68eb(0x97)],'content':_0x5aaf1f[_0x4e68eb(0xb6)],'documentId':_0x3d6ea8,'createdAt':_0x5aaf1f[_0x4e68eb(0x83)],'attributes':_0x5aaf1f[_0x4e68eb(0xe2)]||{}};}(_0x12c18b,_0x3ed341,_0x58015f)),'resolvedAt':_0x270378,'resolvedBy':_0x5ef3f1,'context':_0x3d1048,'attributes':_0x41f8e6})[_0x50ffa0(0xe3)](R);return{'threadId':_0x297e6a[_0x50ffa0(0xc6)],'comments':_0x297e6a[_0x50ffa0(0xa6)]};},'getCommentThread':async({channelId:_0x586108,threadId:_0x16f470})=>{const _0x543b98=_0x10a16f,_0xa1c60f=await this[_0x543b98(0x96)](_0x586108)[_0x543b98(0x89)](_0x16f470)[_0x543b98(0xe3)](R);return _0xa1c60f[_0x543b98(0xd7)]?null:(await this[_0x543b98(0xe1)]([_0xa1c60f]),{'threadId':_0xa1c60f[_0x543b98(0xc6)],'comments':_0xa1c60f[_0x543b98(0xa6)][_0x543b98(0x9e)](_),'context':_0xa1c60f[_0x543b98(0xb8)],'resolvedAt':_0xa1c60f[_0x543b98(0xce)],'resolvedBy':_0xa1c60f[_0x543b98(0xc1)],'attributes':_0xa1c60f[_0x543b98(0xe2)]||{}});},'updateCommentThread':async({channelId:_0x22ef55,threadId:_0x4d48fd,context:_0x34712d,unlinkedAt:_0x40a4ba,attributes:_0x4a1c4b})=>this[_0x10a16f(0x96)](_0x22ef55)[_0x10a16f(0xa7)]({'commentThreadId':_0x4d48fd,'context':_0x34712d,'attributes':_0x4a1c4b,'unlinkedAt':_0x40a4ba})[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'resolveCommentThread':async({channelId:_0x37a4e9,threadId:_0x312b96})=>{const _0x3c2e47=_0x10a16f,_0x295c5c=await this[_0x3c2e47(0x96)](_0x37a4e9)[_0x3c2e47(0xac)](_0x312b96)[_0x3c2e47(0xe3)](S)[_0x3c2e47(0xe3)](R);return{'threadId':_0x295c5c[_0x3c2e47(0xc6)],'resolvedAt':_0x295c5c[_0x3c2e47(0xce)],'resolvedBy':_0x295c5c[_0x3c2e47(0xc1)]};},'reopenCommentThread':async({channelId:_0x46f833,threadId:_0x20d446})=>this[_0x10a16f(0x96)](_0x46f833)[_0x10a16f(0xb5)](_0x20d446)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'removeCommentThread':({channelId:_0x5e98fa,threadId:_0x22c2da})=>this[_0x10a16f(0x96)](_0x5e98fa)[_0x10a16f(0x82)](_0x22c2da)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'addComment':({channelId:_0x445efc,threadId:_0x29c92d,commentId:_0x54388b,content:_0x462130,attributes:_0x1d1842})=>this[_0x10a16f(0x96)](_0x445efc)[_0x10a16f(0x95)](_0x29c92d,_0x54388b,_0x462130,_0x1d1842)[_0x10a16f(0xe3)](R),'updateComment':({channelId:_0x282cf3,threadId:_0x12023b,commentId:_0x4e8969,content:_0x545958,attributes:_0x3aa6d0})=>this[_0x10a16f(0x96)](_0x282cf3)[_0x10a16f(0xdb)](_0x12023b,_0x4e8969,_0x545958,_0x3aa6d0)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'removeComment':({channelId:_0x31ac3b,threadId:_0xdcd394,commentId:_0x11dcc9})=>this[_0x10a16f(0x96)](_0x31ac3b)[_0x10a16f(0xae)](_0xdcd394,_0x11dcc9)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R)},_0x4466fa instanceof _0xafe476){const _0xaf0778=_0x4466fa[_0x10a16f(0xcd)][_0x10a16f(0xcf)](_0x10a16f(0x8d)),_0x464c59=_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x50ee1f);await this[_0x10a16f(0xb3)](_0xaf0778);const _0x390018=await this[_0x10a16f(0xe4)][_0x10a16f(0xcf)](_0xaf0778)[_0x10a16f(0xa2)]();this[_0x10a16f(0xdc)](_0x464c59,_0x10a16f(0xe6)+_0xaf0778,(_0x50d694,{session:_0x533a67})=>{const _0x1e609b=_0x10a16f;_0x533a67['id']===_0x464c59[_0x1e609b(0x8f)]&&(_0x50d694[_0x1e609b(0xab)](),this[_0x1e609b(0xb8)][_0x1e609b(0x99)][_0x1e609b(0xcf)](_0x1e609b(0xc5))[_0x1e609b(0x9a)](_0x533a67[_0x1e609b(0xde)],_0xaf0778));}),_0x464c59[_0x10a16f(0xc0)](_0xaf0778,_0x390018);}}async[_0x1e5147(0xb3)](_0x3b024c){const _0xb8e825=_0x1e5147;if(this[_0xb8e825(0xe4)][_0xb8e825(0xbe)](_0x3b024c))throw new _0x32afb8(_0xb8e825(0xa1),null,{'channelId':_0x3b024c});const _0x210009=this[_0xb8e825(0xb8)][_0xb8e825(0x99)][_0xb8e825(0xcf)](_0xb8e825(0xd6)),_0x1b08bc=new a[(_0xb8e825(0x90))](_0x3b024c);this[_0xb8e825(0xe4)][_0xb8e825(0x9f)](_0x3b024c,_0x1b08bc),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x8e),(_0x32e665,_0x5c382f)=>{const _0x66d32b=_0xb8e825,{commentThreadId:_0x88fbeb,documentId:_0x19a360,context:_0x32cb49,attributes:_0xb5b723,resolvedAt:_0x479108,resolvedBy:_0x8bf1d1,comments:_0x55864b}=_0x5c382f;_0x210009[_0x66d32b(0x89)](_0x88fbeb)||_0x210009[_0x66d32b(0xdd)]({'threadId':_0x88fbeb,'channelId':_0x19a360,'comments':_0x55864b?_0x55864b[_0x66d32b(0x9e)](_):[],'context':_0x32cb49,'attributes':_0xb5b723,'resolvedAt':_0x479108,'resolvedBy':_0x8bf1d1,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xcb),(_0x57ee14,{commentThreadId:_0x4cec87,documentId:_0x4b9786,context:_0x5c7d25,unlinkedAt:_0x8ab461,attributes:_0x1ce430})=>{const _0x5e7317=_0xb8e825;_0x210009[_0x5e7317(0x89)](_0x4cec87)&&_0x210009[_0x5e7317(0xa7)]({'threadId':_0x4cec87,'channelId':_0x4b9786,'context':_0x5c7d25,'unlinkedAt':_0x8ab461,'attributes':_0x1ce430,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x81),(_0x5ef85d,{commentThreadId:_0x231032,resolvedBy:_0x2fa56d,resolvedAt:_0x34095c})=>{const _0x304d6d=_0xb8e825,_0x1ecde7=_0x210009[_0x304d6d(0x89)](_0x231032);_0x1ecde7&&_0x1ecde7[_0x304d6d(0x85)]({'resolvedBy':_0x2fa56d,'resolvedAt':_0x34095c,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x88),(_0x234021,{commentThreadId:_0x3a2b22})=>{const _0x1d0cea=_0xb8e825,_0x4da31c=_0x210009[_0x1d0cea(0x89)](_0x3a2b22);_0x4da31c&&_0x4da31c[_0x1d0cea(0xaf)]({'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xc9),(_0x178c8b,{commentThreadId:_0x12e88d})=>{const _0x3c847d=_0xb8e825,_0x4dce35=_0x210009[_0x3c847d(0x89)](_0x12e88d);_0x4dce35&&_0x4dce35[_0x3c847d(0xd9)]({'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xb4),(_0x1eeaa9,_0x46df8e)=>{const _0x3cdcff=_0xb8e825,_0x145a60=_0x46df8e[_0x3cdcff(0xc6)],_0x39c5eb=_0x210009[_0x3cdcff(0x89)](_0x145a60);_0x39c5eb&&_0x39c5eb[_0x3cdcff(0x95)]({..._(_0x46df8e),'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xe0),(_0x3432af,{commentThreadId:_0x57b92e,commentId:_0x3bba1e,content:_0x534807,attributes:_0x2a797a})=>{const _0x89f84d=_0xb8e825,_0x241430=_0x210009[_0x89f84d(0x89)](_0x57b92e);if(_0x241430){const _0x1b46e1=_0x241430[_0x89f84d(0xa3)](_0x3bba1e);_0x1b46e1&&_0x1b46e1[_0x89f84d(0x9b)]({'content':_0x534807,'attributes':_0x2a797a,'isFromAdapter':!0x0});}}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xa4),(_0x278616,{commentThreadId:_0x36561f,commentId:_0x43fd14})=>{const _0xd16ad2=_0xb8e825,_0x11dd9a=_0x210009[_0xd16ad2(0x89)](_0x36561f);if(_0x11dd9a){const _0x1bcdc2=_0x11dd9a[_0xd16ad2(0xa3)](_0x43fd14);_0x1bcdc2&&_0x1bcdc2[_0xd16ad2(0xd9)]({'isFromAdapter':!0x0});}}),await this[_0xb8e825(0xc2)](_0x3b024c);}[_0x1e5147(0xc7)](){const _0x28e47b=_0x1e5147;if(this[_0x28e47b(0xb8)]instanceof _0xafe476){const _0x11520b=this[_0x28e47b(0xb8)][_0x28e47b(0xcd)][_0x28e47b(0xcf)](_0x28e47b(0x8d));this[_0x28e47b(0x84)](_0x11520b);}}[_0x1e5147(0x84)](_0x426ca0){const _0x3d2823=_0x1e5147;if(!this[_0x3d2823(0xe4)][_0x3d2823(0xbe)](_0x426ca0))throw new _0x32afb8(_0x3d2823(0xd1),null,{'channelId':_0x426ca0});this[_0x3d2823(0x96)](_0x426ca0)[_0x3d2823(0x92)](),this[_0x3d2823(0xe4)][_0x3d2823(0x86)](_0x426ca0);}async[_0x1e5147(0xbc)](){const _0x27d2cb=_0x1e5147;for(const _0x3ed388 of this[_0x27d2cb(0xe4)][_0x27d2cb(0xbd)]())await this[_0x27d2cb(0xc2)](_0x3ed388);if(this[_0x27d2cb(0xb8)]instanceof _0xafe476){const _0x3ab252=this[_0x27d2cb(0xb8)][_0x27d2cb(0xcd)][_0x27d2cb(0xcf)](_0x27d2cb(0x8d)),_0x34dbf9=this[_0x27d2cb(0xb8)][_0x27d2cb(0x99)][_0x27d2cb(0xcf)](_0x50ee1f);_0x34dbf9[_0x27d2cb(0xb0)](_0x3ab252);const _0x128ed1=await this[_0x27d2cb(0xe4)][_0x27d2cb(0xcf)](_0x3ab252)[_0x27d2cb(0xa2)]();_0x34dbf9[_0x27d2cb(0xc0)](_0x3ab252,_0x128ed1);}}async[_0x1e5147(0xc2)](_0x4cadbc){const _0x1c14dd=_0x1e5147,{connection:_0x311b82}=this[_0x1c14dd(0xb8)][_0x1c14dd(0x99)][_0x1c14dd(0xcf)](_0x42ab98),_0x5ecf97=this[_0x1c14dd(0xb8)][_0x1c14dd(0x99)][_0x1c14dd(0xcf)](_0x1c14dd(0xd6)),_0x7696f5=this[_0x1c14dd(0xe4)][_0x1c14dd(0xcf)](_0x4cadbc),_0xd8d8b=await _0x7696f5[_0x1c14dd(0xa0)](_0x311b82);await this[_0x1c14dd(0xe1)](_0xd8d8b);const _0x50a704=new Set(Array[_0x1c14dd(0xa9)](_0x5ecf97[_0x1c14dd(0x87)]({'channelId':_0x4cadbc}),_0x582d53=>_0x582d53['id']));for(const _0x1e5c00 of _0xd8d8b)_0x1e5c00[_0x1c14dd(0xd7)]||_0x50a704[_0x1c14dd(0x86)](_0x1e5c00[_0x1c14dd(0xc6)]);for(const _0x20d852 of _0x50a704)_0x5ecf97[_0x1c14dd(0x89)](_0x20d852)[_0x1c14dd(0xd9)]({'isFromAdapter':!0x0});for(const _0x5d0ae1 of _0xd8d8b){let _0x2d3b49=_0x5ecf97[_0x1c14dd(0x89)](_0x5d0ae1[_0x1c14dd(0xc6)]);const {commentThreadId:_0x1d67cb,context:_0x23f1ab,attributes:_0x4fd132,resolvedBy:_0x201343,resolvedAt:_0x5ae449,unlinkedAt:_0x45ab5a,deletedAt:_0x59000b}=_0x5d0ae1;if(_0x59000b)continue;_0x2d3b49||(_0x2d3b49=_0x5ecf97[_0x1c14dd(0xdd)]({'channelId':_0x4cadbc,'threadId':_0x1d67cb,'context':_0x23f1ab,'attributes':_0x4fd132||{},'resolvedBy':_0x201343,'resolvedAt':_0x5ae449,'unlinkedAt':_0x45ab5a,'isFromAdapter':!0x0}));const _0x32677a=new Set(Array[_0x1c14dd(0xa9)](_0x2d3b49[_0x1c14dd(0xa6)],_0x3bef19=>_0x3bef19['id']));for(const _0x16d2ed of _0x5d0ae1[_0x1c14dd(0xa6)])_0x32677a[_0x1c14dd(0x86)](_0x16d2ed[_0x1c14dd(0x9d)]);for(const _0x58e268 of _0x32677a)_0x2d3b49[_0x1c14dd(0xa3)](_0x58e268)[_0x1c14dd(0xd9)]({'isFromAdapter':!0x0});for(const _0x242b69 of _0x5d0ae1[_0x1c14dd(0xa6)]){const _0x1d230a=_0x2d3b49[_0x1c14dd(0xa3)](_0x242b69[_0x1c14dd(0x9d)]);_0x1d230a?_0x1d230a[_0x1c14dd(0xb6)]!==_0x242b69[_0x1c14dd(0xb6)]&&_0x1d230a[_0x1c14dd(0x9b)]({'content':_0x242b69[_0x1c14dd(0xb6)],'isFromAdapter':!0x0}):_0x2d3b49[_0x1c14dd(0x95)](Object[_0x1c14dd(0xaa)](_(_0x242b69),{'isFromAdapter':!0x0}));}}}[_0x1e5147(0x96)](_0x1d59c7){const _0x5c3855=_0x1e5147;if(!this[_0x5c3855(0xe4)][_0x5c3855(0xbe)](_0x1d59c7))throw new _0x32afb8(_0x5c3855(0xda),null,{'channelId':_0x1d59c7});return this[_0x5c3855(0xe4)][_0x5c3855(0xcf)](_0x1d59c7);}async[_0x1e5147(0xe1)](_0xe8bc1e){const _0x1695fa=_0x1e5147,_0x255f15=this[_0x1695fa(0xb8)][_0x1695fa(0x99)][_0x1695fa(0xcf)](_0x5d8f2a),{connection:_0x3dc78a}=this[_0x1695fa(0xb8)][_0x1695fa(0x99)][_0x1695fa(0xcf)](_0x42ab98),_0xfe1659=new Set();for(const {resolvedBy:_0x362728,comments:_0x5b3395}of _0xe8bc1e){_0x362728&&!_0x255f15[_0x1695fa(0xc3)](_0x362728)&&_0xfe1659[_0x1695fa(0x98)](_0x362728);for(const {userId:_0x53e100}of _0x5b3395)_0x255f15[_0x1695fa(0xc3)](_0x53e100)||_0xfe1659[_0x1695fa(0x98)](_0x53e100);}if(0x0===_0xfe1659[_0x1695fa(0x91)])return;const _0x4548ca=await _0x237848[_0x1695fa(0xd5)](_0x3dc78a,Array[_0x1695fa(0xa9)](_0xfe1659));for(const _0x53b58c of _0x4548ca)_0x255f15[_0x1695fa(0xc3)](_0x53b58c['id'])||_0x255f15[_0x1695fa(0xc4)](_0x53b58c);}}export default a;async function S(_0x1d2dd2){const _0x438cb3=_0x1e5147;if(_0x438cb3(0xd2)!==_0x1d2dd2[_0x438cb3(0x94)])throw _0x1d2dd2;}function R(_0x310624){const _0x12a3ab=_0x1e5147;if((_0x3ae4ad=_0x310624)[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0x93))||_0x3ae4ad[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0xa5))||_0x3ae4ad[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0xb1)))return new Promise(()=>{});var _0x3ae4ad;throw _0x310624;}function _0x18a5(){const _0x48edb6=['set','connect','cloudservicescommentsadapter-connect-already-connected','getConnectedSessions','getComment','commentRemoved','cloud-services-internal-error:\x20Not\x20connected.','comments','updateCommentThread','init','from','assign','off','resolveCommentThread','4120853zlhnXL','removeComment','reopen','unregister','cloud-services-internal-error:\x20Request\x20timeout.','requires','_setUpService','commentAdded','reopenCommentThread','content','8635470SSFthY','context','adapter','10VZYCHu','2447837tbtuIQ','reconnect','keys','has','message','register','resolvedBy','_connectService','getUser','addUser','Permissions','commentThreadId','destroy','startsWith','commentThreadRemoved','1242faHVPC','commentThreadUpdated','CloudServicesCommentsAdapter','config','resolvedAt','get','addToReconnectionStack','cloudservicescommentsadapter-disconnect-not-exist','404','isPremiumPlugin','isOfficialPlugin','getMany','CommentsRepository','deletedAt','16rTRraF','remove','cloudservicescommentsadapter-service-not-exist','updateComment','listenTo','addCommentThread','permissions','72273yzXHwk','commentUpdated','_fetchMissingUsersForThreads','attributes','catch','_services','2039hdScdo','sessionAdd:','3579410rUYYQl','commentThreadResolved','removeCommentThread','createdAt','_terminateService','resolve','delete','getCommentThreads','commentThreadReopened','getCommentThread','76PwiIpp','698121dSJdpg','pluginName','collaboration.channelId','commentThreadAdded','mySessionId','CommentsService','size','disconnect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','code','addComment','_getService','authorId','add','plugins','setPermissions','update','userId','commentId','map'];_0x18a5=function(){return _0x48edb6;};return _0x18a5();}function _(_0x33e0fe){const _0x1711be=_0x1e5147;return{'threadId':_0x33e0fe[_0x1711be(0xc6)],'commentId':_0x33e0fe[_0x1711be(0x9d)],'content':_0x33e0fe[_0x1711be(0xb6)],'createdAt':_0x33e0fe[_0x1711be(0x83)],'authorId':_0x33e0fe[_0x1711be(0x9c)],'attributes':_0x33e0fe[_0x1711be(0xe2)]||{}};}
|
|
23
|
+
const _0x3bf626=_0x1504;(function(_0xf6cbe0,_0x2fe975){const _0x2201fb=_0x1504,_0x2e0c43=_0xf6cbe0();while(!![]){try{const _0x315179=parseInt(_0x2201fb(0xad))/0x1+-parseInt(_0x2201fb(0xaf))/0x2+-parseInt(_0x2201fb(0x9d))/0x3*(parseInt(_0x2201fb(0x9f))/0x4)+parseInt(_0x2201fb(0x79))/0x5*(parseInt(_0x2201fb(0xb3))/0x6)+parseInt(_0x2201fb(0x85))/0x7*(parseInt(_0x2201fb(0xd9))/0x8)+parseInt(_0x2201fb(0x83))/0x9+parseInt(_0x2201fb(0xa8))/0xa;if(_0x315179===_0x2fe975)break;else _0x2e0c43['push'](_0x2e0c43['shift']());}catch(_0x54968b){_0x2e0c43['push'](_0x2e0c43['shift']());}}}(_0x1ac6,0x87454));import{Context as _0xe42da1,ContextPlugin as _0x71719d}from'ckeditor5/src/core.js';import{CKEditorError as _0x8626b6}from'ckeditor5/src/utils.js';import{Users as _0x234dcc}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x85be1f,User as _0x36de1a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3c6612 from'../realtimecollaborativeediting/websocketgateway.js';import _0x7d7a00 from'../realtimecollaborativeediting/sessions.js';class a extends _0x71719d{static [_0x3bf626(0x8e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x85be1f)());[_0x3bf626(0x9b)];static get[_0x3bf626(0x97)](){const _0x29b7ed=_0x3bf626;return[_0x3c6612,_0x29b7ed(0x7e),_0x7d7a00,_0x234dcc];}static get[_0x3bf626(0xc8)](){const _0x14031c=_0x3bf626;return _0x14031c(0xd8);}static get[_0x3bf626(0x8b)](){return!0x0;}static get[_0x3bf626(0xa9)](){return!0x0;}constructor(_0x41f999){const _0x48dd99=_0x3bf626;super(_0x41f999),this[_0x48dd99(0x9b)]=new Map();}async[_0x3bf626(0xb8)](){const _0x1ee9ae=_0x3bf626,_0x243927=this[_0x1ee9ae(0xca)],_0x363a9f=_0x243927[_0x1ee9ae(0x9e)][_0x1ee9ae(0x8f)](_0x1ee9ae(0x7e));if(_0x243927[_0x1ee9ae(0x9e)][_0x1ee9ae(0x8f)](_0x3c6612)[_0x1ee9ae(0xa2)](this),_0x363a9f[_0x1ee9ae(0xde)]={'addCommentThread':async({channelId:_0x577ad1,threadId:_0x1f4f6e,comments:_0x38cb0e,resolvedAt:_0x51f88c,resolvedBy:_0x7eb9aa,context:_0x34a576,attributes:_0x3dc215})=>{const _0x2b41be=_0x1ee9ae,_0xb860a9=await this[_0x2b41be(0xc2)](_0x577ad1)[_0x2b41be(0xab)]({'commentThreadId':_0x1f4f6e,'comments':_0x38cb0e[_0x2b41be(0x9c)](_0x14c40a=>function(_0x15fb77,_0x35ef9a,_0x33f91d){const _0x2fd4c5=_0x2b41be;return{'commentThreadId':_0x33f91d,'commentId':_0x15fb77[_0x2fd4c5(0xba)],'userId':_0x15fb77[_0x2fd4c5(0x8c)],'content':_0x15fb77[_0x2fd4c5(0xc3)],'documentId':_0x35ef9a,'createdAt':_0x15fb77[_0x2fd4c5(0xd6)],'attributes':_0x15fb77[_0x2fd4c5(0xdd)]||{}};}(_0x14c40a,_0x577ad1,_0x1f4f6e)),'resolvedAt':_0x51f88c,'resolvedBy':_0x7eb9aa,'context':_0x34a576,'attributes':_0x3dc215})[_0x2b41be(0xd2)](R);return{'threadId':_0xb860a9[_0x2b41be(0x84)],'comments':_0xb860a9[_0x2b41be(0xb1)]};},'getCommentThread':async({channelId:_0x113e27,threadId:_0x14f927})=>{const _0x130ab2=_0x1ee9ae,_0x368412=await this[_0x130ab2(0xc2)](_0x113e27)[_0x130ab2(0x8d)](_0x14f927)[_0x130ab2(0xd2)](R);return _0x368412[_0x130ab2(0x81)]?null:(await this[_0x130ab2(0x86)]([_0x368412]),{'threadId':_0x368412[_0x130ab2(0x84)],'comments':_0x368412[_0x130ab2(0xb1)][_0x130ab2(0x9c)](_),'context':_0x368412[_0x130ab2(0xca)],'resolvedAt':_0x368412[_0x130ab2(0x88)],'resolvedBy':_0x368412[_0x130ab2(0xac)],'attributes':_0x368412[_0x130ab2(0xdd)]||{}});},'updateCommentThread':async({channelId:_0x485eb3,threadId:_0x5e7777,context:_0x14a2d3,unlinkedAt:_0x4c04ba,attributes:_0x3b52c0})=>this[_0x1ee9ae(0xc2)](_0x485eb3)[_0x1ee9ae(0x9a)]({'commentThreadId':_0x5e7777,'context':_0x14a2d3,'attributes':_0x3b52c0,'unlinkedAt':_0x4c04ba})[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R),'resolveCommentThread':async({channelId:_0x575b7a,threadId:_0xfe7238})=>{const _0x532c5=_0x1ee9ae,_0x5e191c=await this[_0x532c5(0xc2)](_0x575b7a)[_0x532c5(0x94)](_0xfe7238)[_0x532c5(0xd2)](S)[_0x532c5(0xd2)](R);return{'threadId':_0x5e191c[_0x532c5(0x84)],'resolvedAt':_0x5e191c[_0x532c5(0x88)],'resolvedBy':_0x5e191c[_0x532c5(0xac)]};},'reopenCommentThread':async({channelId:_0x1ace67,threadId:_0x1a8751})=>this[_0x1ee9ae(0xc2)](_0x1ace67)[_0x1ee9ae(0xc0)](_0x1a8751)[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R),'removeCommentThread':({channelId:_0xdc1da9,threadId:_0x2edefa})=>this[_0x1ee9ae(0xc2)](_0xdc1da9)[_0x1ee9ae(0xaa)](_0x2edefa)[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R),'addComment':({channelId:_0x2d5f79,threadId:_0x2af2c9,commentId:_0xce798c,content:_0x52691e,attributes:_0x31ea81})=>this[_0x1ee9ae(0xc2)](_0x2d5f79)[_0x1ee9ae(0xcd)](_0x2af2c9,_0xce798c,_0x52691e,_0x31ea81)[_0x1ee9ae(0xd2)](R),'updateComment':({channelId:_0x3ca3aa,threadId:_0x4e9cf9,commentId:_0x2ec91f,content:_0x484994,attributes:_0x517828})=>this[_0x1ee9ae(0xc2)](_0x3ca3aa)[_0x1ee9ae(0xae)](_0x4e9cf9,_0x2ec91f,_0x484994,_0x517828)[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R),'removeComment':({channelId:_0x17c775,threadId:_0x121c72,commentId:_0x101f75})=>this[_0x1ee9ae(0xc2)](_0x17c775)[_0x1ee9ae(0x7b)](_0x121c72,_0x101f75)[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R)},_0x243927 instanceof _0xe42da1){const _0x50cd40=_0x243927[_0x1ee9ae(0xd5)][_0x1ee9ae(0x8f)](_0x1ee9ae(0xbc)),_0x448a4c=_0x243927[_0x1ee9ae(0x9e)][_0x1ee9ae(0x8f)](_0x7d7a00);await this[_0x1ee9ae(0x90)](_0x50cd40);const _0x30d33a=await this[_0x1ee9ae(0x9b)][_0x1ee9ae(0x8f)](_0x50cd40)[_0x1ee9ae(0x87)]();this[_0x1ee9ae(0xcf)](_0x448a4c,_0x1ee9ae(0xce)+_0x50cd40,(_0x5d7065,{session:_0x4ef915})=>{const _0x3fb279=_0x1ee9ae;_0x4ef915['id']===_0x448a4c[_0x3fb279(0xd0)]&&(_0x5d7065[_0x3fb279(0xbe)](),this[_0x3fb279(0xca)][_0x3fb279(0x9e)][_0x3fb279(0x8f)](_0x3fb279(0x96))[_0x3fb279(0xa4)](_0x4ef915[_0x3fb279(0x89)],_0x50cd40));}),_0x448a4c[_0x1ee9ae(0xb2)](_0x50cd40,_0x30d33a);}}async[_0x3bf626(0x90)](_0x40e3e4){const _0x3394b4=_0x3bf626;if(this[_0x3394b4(0x9b)][_0x3394b4(0xc1)](_0x40e3e4))throw new _0x8626b6(_0x3394b4(0x7d),null,{'channelId':_0x40e3e4});const _0x497343=this[_0x3394b4(0xca)][_0x3394b4(0x9e)][_0x3394b4(0x8f)](_0x3394b4(0x7e)),_0x4f9cd2=new a[(_0x3394b4(0x8e))](_0x40e3e4);this[_0x3394b4(0x9b)][_0x3394b4(0xa0)](_0x40e3e4,_0x4f9cd2),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xb0),(_0x1bd2a0,_0x50b018)=>{const _0x2af4e3=_0x3394b4,{commentThreadId:_0xaf0578,documentId:_0x558ba4,context:_0x138956,attributes:_0x275064,resolvedAt:_0x388bcc,resolvedBy:_0x2b2396,comments:_0x1895d7}=_0x50b018;_0x497343[_0x2af4e3(0x8d)](_0xaf0578)||_0x497343[_0x2af4e3(0xab)]({'threadId':_0xaf0578,'channelId':_0x558ba4,'comments':_0x1895d7?_0x1895d7[_0x2af4e3(0x9c)](_):[],'context':_0x138956,'attributes':_0x275064,'resolvedAt':_0x388bcc,'resolvedBy':_0x2b2396,'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0x93),(_0x3de6b4,{commentThreadId:_0x119bed,documentId:_0x50622a,context:_0x3c07b2,unlinkedAt:_0x2f8825,attributes:_0x521137})=>{const _0x18d8d8=_0x3394b4;_0x497343[_0x18d8d8(0x8d)](_0x119bed)&&_0x497343[_0x18d8d8(0x9a)]({'threadId':_0x119bed,'channelId':_0x50622a,'context':_0x3c07b2,'unlinkedAt':_0x2f8825,'attributes':_0x521137,'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xa1),(_0x3d3b34,{commentThreadId:_0x2731e1,resolvedBy:_0x2fef95,resolvedAt:_0x466cf3})=>{const _0x20f295=_0x3394b4,_0xd3f16a=_0x497343[_0x20f295(0x8d)](_0x2731e1);_0xd3f16a&&_0xd3f16a[_0x20f295(0xc9)]({'resolvedBy':_0x2fef95,'resolvedAt':_0x466cf3,'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0x92),(_0x4f419b,{commentThreadId:_0x113047})=>{const _0x146af6=_0x3394b4,_0x6b421c=_0x497343[_0x146af6(0x8d)](_0x113047);_0x6b421c&&_0x6b421c[_0x146af6(0xd7)]({'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xb4),(_0x4f4c94,{commentThreadId:_0x274a9f})=>{const _0x34eda6=_0x3394b4,_0x19b0bb=_0x497343[_0x34eda6(0x8d)](_0x274a9f);_0x19b0bb&&_0x19b0bb[_0x34eda6(0x7a)]({'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xc4),(_0x57048c,_0xa8adb5)=>{const _0x1862a5=_0x3394b4,_0x2abbd7=_0xa8adb5[_0x1862a5(0x84)],_0xbab365=_0x497343[_0x1862a5(0x8d)](_0x2abbd7);_0xbab365&&_0xbab365[_0x1862a5(0xcd)]({..._(_0xa8adb5),'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xb7),(_0x5b6c92,{commentThreadId:_0x4e3e3d,commentId:_0x3c93e3,content:_0x4d2a99,attributes:_0x13166d})=>{const _0x35f689=_0x3394b4,_0x18b966=_0x497343[_0x35f689(0x8d)](_0x4e3e3d);if(_0x18b966){const _0x40210a=_0x18b966[_0x35f689(0xd1)](_0x3c93e3);_0x40210a&&_0x40210a[_0x35f689(0xa6)]({'content':_0x4d2a99,'attributes':_0x13166d,'isFromAdapter':!0x0});}}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xda),(_0x3e559a,{commentThreadId:_0xf083fa,commentId:_0x42f7df})=>{const _0x547cb1=_0x3394b4,_0x210291=_0x497343[_0x547cb1(0x8d)](_0xf083fa);if(_0x210291){const _0x44accc=_0x210291[_0x547cb1(0xd1)](_0x42f7df);_0x44accc&&_0x44accc[_0x547cb1(0x7a)]({'isFromAdapter':!0x0});}}),await this[_0x3394b4(0x7f)](_0x40e3e4);}[_0x3bf626(0xdc)](){const _0xd01062=_0x3bf626;if(this[_0xd01062(0xca)]instanceof _0xe42da1){const _0x2a1f2b=this[_0xd01062(0xca)][_0xd01062(0xd5)][_0xd01062(0x8f)](_0xd01062(0xbc));this[_0xd01062(0xa5)](_0x2a1f2b);}}[_0x3bf626(0xa5)](_0x3ebf2d){const _0xfe2787=_0x3bf626;if(!this[_0xfe2787(0x9b)][_0xfe2787(0xc1)](_0x3ebf2d))throw new _0x8626b6(_0xfe2787(0x80),null,{'channelId':_0x3ebf2d});this[_0xfe2787(0xc2)](_0x3ebf2d)[_0xfe2787(0x99)](),this[_0xfe2787(0x9b)][_0xfe2787(0x95)](_0x3ebf2d);}async[_0x3bf626(0xa7)](){const _0x7eed4b=_0x3bf626;for(const _0x5bc1c6 of this[_0x7eed4b(0x9b)][_0x7eed4b(0xbb)]())await this[_0x7eed4b(0x7f)](_0x5bc1c6);if(this[_0x7eed4b(0xca)]instanceof _0xe42da1){const _0x276e2e=this[_0x7eed4b(0xca)][_0x7eed4b(0xd5)][_0x7eed4b(0x8f)](_0x7eed4b(0xbc)),_0x12692b=this[_0x7eed4b(0xca)][_0x7eed4b(0x9e)][_0x7eed4b(0x8f)](_0x7d7a00);_0x12692b[_0x7eed4b(0xcb)](_0x276e2e);const _0x336a7f=await this[_0x7eed4b(0x9b)][_0x7eed4b(0x8f)](_0x276e2e)[_0x7eed4b(0x87)]();_0x12692b[_0x7eed4b(0xb2)](_0x276e2e,_0x336a7f);}}async[_0x3bf626(0x7f)](_0x2857a6){const _0x1094bb=_0x3bf626,{connection:_0x3b311e}=this[_0x1094bb(0xca)][_0x1094bb(0x9e)][_0x1094bb(0x8f)](_0x3c6612),_0x218834=this[_0x1094bb(0xca)][_0x1094bb(0x9e)][_0x1094bb(0x8f)](_0x1094bb(0x7e)),_0x54bd31=this[_0x1094bb(0x9b)][_0x1094bb(0x8f)](_0x2857a6),_0x46efa2=await _0x54bd31[_0x1094bb(0xbf)](_0x3b311e);await this[_0x1094bb(0x86)](_0x46efa2);const _0x40689a=new Set(Array[_0x1094bb(0x82)](_0x218834[_0x1094bb(0xd4)]({'channelId':_0x2857a6}),_0x26c3d8=>_0x26c3d8['id']));for(const _0x5e6082 of _0x46efa2)_0x5e6082[_0x1094bb(0x81)]||_0x40689a[_0x1094bb(0x95)](_0x5e6082[_0x1094bb(0x84)]);for(const _0x4f8711 of _0x40689a)_0x218834[_0x1094bb(0x8d)](_0x4f8711)[_0x1094bb(0x7a)]({'isFromAdapter':!0x0});for(const _0x3cfde2 of _0x46efa2){let _0x8d9a5b=_0x218834[_0x1094bb(0x8d)](_0x3cfde2[_0x1094bb(0x84)]);const {commentThreadId:_0x32704e,context:_0x5d045b,attributes:_0x3bc787,resolvedBy:_0x4997b0,resolvedAt:_0x157349,unlinkedAt:_0x421daa,deletedAt:_0xf6232c}=_0x3cfde2;if(_0xf6232c)continue;_0x8d9a5b||(_0x8d9a5b=_0x218834[_0x1094bb(0xab)]({'channelId':_0x2857a6,'threadId':_0x32704e,'context':_0x5d045b,'attributes':_0x3bc787||{},'resolvedBy':_0x4997b0,'resolvedAt':_0x157349,'unlinkedAt':_0x421daa,'isFromAdapter':!0x0}));const _0xaf1b85=new Set(Array[_0x1094bb(0x82)](_0x8d9a5b[_0x1094bb(0xb1)],_0x3dc929=>_0x3dc929['id']));for(const _0x407dfb of _0x3cfde2[_0x1094bb(0xb1)])_0xaf1b85[_0x1094bb(0x95)](_0x407dfb[_0x1094bb(0xba)]);for(const _0x5642e8 of _0xaf1b85)_0x8d9a5b[_0x1094bb(0xd1)](_0x5642e8)[_0x1094bb(0x7a)]({'isFromAdapter':!0x0});for(const _0x58aede of _0x3cfde2[_0x1094bb(0xb1)]){const _0x20ee8b=_0x8d9a5b[_0x1094bb(0xd1)](_0x58aede[_0x1094bb(0xba)]);_0x20ee8b?_0x20ee8b[_0x1094bb(0xc3)]!==_0x58aede[_0x1094bb(0xc3)]&&_0x20ee8b[_0x1094bb(0xa6)]({'content':_0x58aede[_0x1094bb(0xc3)],'isFromAdapter':!0x0}):_0x8d9a5b[_0x1094bb(0xcd)](Object[_0x1094bb(0x98)](_(_0x58aede),{'isFromAdapter':!0x0}));}}}[_0x3bf626(0xc2)](_0x302059){const _0x2b0c61=_0x3bf626;if(!this[_0x2b0c61(0x9b)][_0x2b0c61(0xc1)](_0x302059))throw new _0x8626b6(_0x2b0c61(0xdb),null,{'channelId':_0x302059});return this[_0x2b0c61(0x9b)][_0x2b0c61(0x8f)](_0x302059);}async[_0x3bf626(0x86)](_0x305fb9){const _0x5b8ebf=_0x3bf626,_0x598395=this[_0x5b8ebf(0xca)][_0x5b8ebf(0x9e)][_0x5b8ebf(0x8f)](_0x234dcc),{connection:_0x45df04}=this[_0x5b8ebf(0xca)][_0x5b8ebf(0x9e)][_0x5b8ebf(0x8f)](_0x3c6612),_0x4c265e=new Set();for(const {resolvedBy:_0x113096,comments:_0x552fc8}of _0x305fb9){_0x113096&&!_0x598395[_0x5b8ebf(0xc6)](_0x113096)&&_0x4c265e[_0x5b8ebf(0x8a)](_0x113096);for(const {userId:_0x47fe4d}of _0x552fc8)_0x598395[_0x5b8ebf(0xc6)](_0x47fe4d)||_0x4c265e[_0x5b8ebf(0x8a)](_0x47fe4d);}if(0x0===_0x4c265e[_0x5b8ebf(0xa3)])return;const _0x365777=await _0x36de1a[_0x5b8ebf(0xc5)](_0x45df04,Array[_0x5b8ebf(0x82)](_0x4c265e));for(const _0x21be56 of _0x365777)_0x598395[_0x5b8ebf(0xc6)](_0x21be56['id'])||_0x598395[_0x5b8ebf(0x7c)](_0x21be56);}}function _0x1ac6(){const _0x5dfa6d=['removeCommentThread','addCommentThread','resolvedBy','479851exaucf','updateComment','2036910ssQhQk','commentThreadAdded','comments','register','168732MfhfIp','commentThreadRemoved','cloud-services-internal-error:\x20Request\x20timeout.','code','commentUpdated','init','cloud-services-internal-error:\x20Not\x20connected.','commentId','keys','collaboration.channelId','userId','off','connect','reopenCommentThread','has','_getService','content','commentAdded','getMany','getUser','startsWith','pluginName','resolve','context','unregister','404','addComment','sessionAdd:','listenTo','mySessionId','getComment','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThreads','config','createdAt','reopen','CloudServicesCommentsAdapter','32AsTXlJ','commentRemoved','cloudservicescommentsadapter-service-not-exist','destroy','attributes','adapter','35NDQODh','remove','removeComment','addUser','cloudservicescommentsadapter-connect-already-connected','CommentsRepository','_connectService','cloudservicescommentsadapter-disconnect-not-exist','deletedAt','from','4029309CnPuCR','commentThreadId','1049475qbhwpM','_fetchMissingUsersForThreads','getConnectedSessions','resolvedAt','permissions','add','isOfficialPlugin','authorId','getCommentThread','CommentsService','get','_setUpService','message','commentThreadReopened','commentThreadUpdated','resolveCommentThread','delete','Permissions','requires','assign','disconnect','updateCommentThread','_services','map','3AqqAKk','plugins','3012920LiGKWR','set','commentThreadResolved','addToReconnectionStack','size','setPermissions','_terminateService','update','reconnect','6016470lqOGFI','isPremiumPlugin'];_0x1ac6=function(){return _0x5dfa6d;};return _0x1ac6();}export default a;async function S(_0x1f474c){const _0x51f3be=_0x3bf626;if(_0x51f3be(0xcc)!==_0x1f474c[_0x51f3be(0xb6)])throw _0x1f474c;}function _0x1504(_0x3fc4db,_0x4a6d9a){const _0x1ac61a=_0x1ac6();return _0x1504=function(_0x150483,_0x59be27){_0x150483=_0x150483-0x79;let _0xcfc24c=_0x1ac61a[_0x150483];return _0xcfc24c;},_0x1504(_0x3fc4db,_0x4a6d9a);}function R(_0x8950d8){const _0x14fa06=_0x3bf626;if((_0x5a140b=_0x8950d8)[_0x14fa06(0x91)][_0x14fa06(0xc7)](_0x14fa06(0xd3))||_0x5a140b[_0x14fa06(0x91)][_0x14fa06(0xc7)](_0x14fa06(0xb9))||_0x5a140b[_0x14fa06(0x91)][_0x14fa06(0xc7)](_0x14fa06(0xb5)))return new Promise(()=>{});var _0x5a140b;throw _0x8950d8;}function _(_0x3dd343){const _0x2690da=_0x3bf626;return{'threadId':_0x3dd343[_0x2690da(0x84)],'commentId':_0x3dd343[_0x2690da(0xba)],'content':_0x3dd343[_0x2690da(0xc3)],'createdAt':_0x3dd343[_0x2690da(0xd6)],'authorId':_0x3dd343[_0x2690da(0xbd)],'attributes':_0x3dd343[_0x2690da(0xdd)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x915632=_0x3383;(function(_0x2d23ad,_0x4c6b3f){const _0x712e28=_0x3383,_0xa2fe35=_0x2d23ad();while(!![]){try{const _0x242d6a=parseInt(_0x712e28(0x170))/0x1*(parseInt(_0x712e28(0x165))/0x2)+parseInt(_0x712e28(0x16e))/0x3+-parseInt(_0x712e28(0x167))/0x4+parseInt(_0x712e28(0x17a))/0x5*(-parseInt(_0x712e28(0x15b))/0x6)+-parseInt(_0x712e28(0x173))/0x7+parseInt(_0x712e28(0x16a))/0x8*(-parseInt(_0x712e28(0x179))/0x9)+parseInt(_0x712e28(0x16d))/0xa;if(_0x242d6a===_0x4c6b3f)break;else _0xa2fe35['push'](_0xa2fe35['shift']());}catch(_0x697ea0){_0xa2fe35['push'](_0xa2fe35['shift']());}}}(_0x343e,0x54854));import{Plugin as _0x228e10}from'ckeditor5/src/core.js';import _0x38a357 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x3383(_0x342310,_0x49e7ee){const _0x343e94=_0x343e();return _0x3383=function(_0x338380,_0x301860){_0x338380=_0x338380-0x15a;let _0x32cf08=_0x343e94[_0x338380];return _0x32cf08;},_0x3383(_0x342310,_0x49e7ee);}function _0x343e(){const _0x4dec82=['Comments','collaboration.channelId','16CZTbsm','plugins','editor','10023050HJGmpO','716829GBxlTk','isPremiumPlugin','505xUQJjT','pluginName','init','688639jVSrPh','switchReadOnly','once','get','_terminateService','CommentsEditing','2349531oArNZJ','736585iIOEQb','RealTimeCollaborativeComments','data','isThreadsLoadingPaused','6FtVWGz','requires','change:state','listenTo','ready','config','isOfficialPlugin','connected','_setUpService','CommentsRepository','1480fuhDHo','destroy','2003760eiWupD'];_0x343e=function(){return _0x4dec82;};return _0x343e();}import _0x57ae7f from'./realtimecollaborativeediting.js';import _0x5f0ec4 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x228e10{static get[_0x915632(0x15c)](){const _0xbb5cf8=_0x915632;return[_0xbb5cf8(0x168),_0x38a357,_0x57ae7f,_0x5f0ec4];}static get[_0x915632(0x171)](){const _0x4a2c8f=_0x915632;return _0x4a2c8f(0x17b);}static get[_0x915632(0x161)](){return!0x0;}static get[_0x915632(0x16f)](){return!0x0;}[_0x915632(0x172)](){const _0x411142=_0x915632,_0x3561ab=this[_0x411142(0x16c)][_0x411142(0x16b)][_0x411142(0x176)](_0x5f0ec4),_0x2d94c8=this[_0x411142(0x16c)][_0x411142(0x16b)][_0x411142(0x176)](_0x411142(0x178)),_0x13fe41=this[_0x411142(0x16c)][_0x411142(0x16b)][_0x411142(0x176)](_0x38a357);return this[_0x411142(0x16c)][_0x411142(0x17c)][_0x411142(0x175)](_0x411142(0x15f),()=>{const _0x3a2fd3=_0x411142;this[_0x3a2fd3(0x15e)](_0x3561ab,_0x3a2fd3(0x15d),(_0xd01811,_0x40d684,_0x2ae51d)=>{const _0x3795b6=_0x3a2fd3;_0x2d94c8[_0x3795b6(0x15a)]=_0x3795b6(0x162)!==_0x2ae51d;});}),this[_0x411142(0x15e)](_0x3561ab,_0x411142(0x15d),(_0x4e0114,_0x381725,_0x3e2a49)=>{const _0x11ec09=_0x411142;this[_0x11ec09(0x16c)][_0x11ec09(0x16b)][_0x11ec09(0x176)](_0x11ec09(0x164))[_0x11ec09(0x174)](_0x11ec09(0x162)!==_0x3e2a49);}),_0x13fe41[_0x411142(0x163)](this[_0x411142(0x16c)][_0x411142(0x160)][_0x411142(0x176)](_0x411142(0x169)));}[_0x915632(0x166)](){const _0x56a2fa=_0x915632;this[_0x56a2fa(0x16c)][_0x56a2fa(0x16b)][_0x56a2fa(0x176)](_0x38a357)[_0x56a2fa(0x177)](this[_0x56a2fa(0x16c)][_0x56a2fa(0x160)][_0x56a2fa(0x176)](_0x56a2fa(0x169))),super[_0x56a2fa(0x166)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1acb71)());[_0x3abefa(0x2d8)];[_0x3abefa(0x2a6)];[_0x3abefa(0x1f7)];[_0x3abefa(0x260)];[_0x3abefa(0x289)];[_0x3abefa(0x2e4)];[_0x3abefa(0x2a5)];[_0x3abefa(0x2ac)];[_0x3abefa(0x2d5)];[_0x3abefa(0x207)];[_0x3abefa(0x20a)];[_0x3abefa(0x2db)];[_0x3abefa(0x2a0)];[_0x3abefa(0x226)];[_0x3abefa(0x299)];[_0x3abefa(0x2c9)];[_0x3abefa(0x25a)];[_0x3abefa(0x271)];static get[_0x3abefa(0x2d4)](){return[_0xc1ba9c,_0xc90e44,_0x231b03,_0x229b19,_0x573af9,_0x1175df];}static get[_0x3abefa(0x2dd)](){const _0x2feb0e=_0x3abefa;return _0x2feb0e(0x1ed);}static get[_0x3abefa(0x1ea)](){return!0x0;}static get[_0x3abefa(0x2c8)](){return!0x0;}get[_0x3abefa(0x2e7)](){const _0x2bef30=_0x3abefa;return this[_0x2bef30(0x274)]+this[_0x2bef30(0x2d8)];}get[_0x3abefa(0x274)](){const _0x2f2eb0=_0x3abefa;return this[_0x2f2eb0(0x1f7)][_0x2f2eb0(0x2c1)]-this[_0x2f2eb0(0x2d8)];}get[_0x3abefa(0x1ff)](){const _0x44bbba=_0x3abefa,_0x3ce196=this[_0x44bbba(0x1f7)][_0x44bbba(0x2a1)]();for(let _0xd0148f=_0x3ce196[_0x44bbba(0x2df)]-0x1;_0xd0148f>=0x0;_0xd0148f--){const _0x269b35=_0x3ce196[_0xd0148f];if(!this[_0x44bbba(0x25a)][_0x44bbba(0x225)](_0x269b35))return _0x269b35[_0x44bbba(0x254)]+0x1-this[_0x44bbba(0x2d8)];}return 0x0;}constructor(_0x1d2323){const _0x66ffba=_0x3abefa;if(super(_0x1d2323),this[_0x66ffba(0x2d8)]=0x0,this[_0x66ffba(0x2a6)]=null,this[_0x66ffba(0x1f7)]=new _0x4f20a1(),this[_0x66ffba(0x29b)][_0x66ffba(0x282)][_0x66ffba(0x20d)](_0x66ffba(0x2cf),{}),this[_0x66ffba(0x260)]=this[_0x66ffba(0x29b)][_0x66ffba(0x282)][_0x66ffba(0x1ec)](_0x66ffba(0x21a)),!this[_0x66ffba(0x260)])throw new _0xcd5801(_0x66ffba(0x202),this);const _0x3cb12e=_0x1d2323[_0x66ffba(0x282)][_0x66ffba(0x1ec)](_0x66ffba(0x205))||_0x4390f7;this[_0x66ffba(0x289)]=new l[(_0x66ffba(0x20f))](_0x3cb12e,this[_0x66ffba(0x260)]),this[_0x66ffba(0x2e4)]=this[_0x66ffba(0x29b)][_0x66ffba(0x1eb)][_0x66ffba(0x2d2)],this[_0x66ffba(0x2a5)]=new _0x91a970(),this[_0x66ffba(0x2ac)]=[],this[_0x66ffba(0x2d5)]=new WeakSet(),this[_0x66ffba(0x207)]=new Set(),this[_0x66ffba(0x219)](_0x66ffba(0x266),!0x1),this[_0x66ffba(0x219)](_0x66ffba(0x29d),!0x1),this[_0x66ffba(0x20a)]=null,this[_0x66ffba(0x2db)]=!0x1,this[_0x66ffba(0x2a0)]=null,this[_0x66ffba(0x226)]=0x12c,this[_0x66ffba(0x299)]=this[_0x66ffba(0x226)],this[_0x66ffba(0x2c9)]=null,this[_0x66ffba(0x25a)]=new WeakSet(),this[_0x66ffba(0x271)]=new Y(this[_0x66ffba(0x25a)]);}[_0x3abefa(0x2be)](){const _0x407f36=_0x3abefa,_0xf04587=this[_0x407f36(0x29b)],_0x661dec=_0xf04587[_0x407f36(0x23d)][_0x407f36(0x1ec)](_0x573af9),_0x25df0b=_0xf04587[_0x407f36(0x23d)][_0x407f36(0x1ec)](_0xc1ba9c);this[_0x407f36(0x2b4)](_0x661dec,_0x407f36(0x1fd),(_0x483517,_0x116e6d)=>{const _0x42d64d=_0x407f36,_0x4835f0=_0x116e6d[0x0];_0x4835f0[_0x42d64d(0x275)]&&(_0x483517[_0x42d64d(0x22d)]=_0x661dec[_0x42d64d(0x249)](_0x4835f0[_0x42d64d(0x275)]),_0x483517[_0x42d64d(0x2d7)]()),null===_0x4835f0[_0x42d64d(0x275)]&&(_0x483517[_0x42d64d(0x22d)]=null,_0x483517[_0x42d64d(0x2d7)]());},{'priority':_0x407f36(0x229)}),this[_0x407f36(0x2b4)](_0xf04587[_0x407f36(0x1eb)][_0x407f36(0x2d2)][_0x407f36(0x240)],_0x407f36(0x213),(_0x327c60,_0x1faf2e)=>{const _0xd7b64a=_0x407f36;_0x1faf2e[_0xd7b64a(0x208)]&&this[_0xd7b64a(0x238)]();}),this[_0x407f36(0x2b4)](_0xf04587[_0x407f36(0x21c)][_0x407f36(0x2af)],_0x407f36(0x27c),()=>{const _0x2819d6=_0x407f36;this[_0x2819d6(0x238)]();}),this[_0x407f36(0x2cd)](),_0xf04587[_0x407f36(0x1eb)]['on'](_0x407f36(0x2d1),(_0x407de5,_0x272449)=>{const _0x11a85b=_0x407f36,_0x459de5=_0x272449[0x0];_0x459de5[_0x11a85b(0x287)]&&(this[_0x11a85b(0x241)](_0x459de5),this[_0x11a85b(0x2b0)]()&&this[_0x11a85b(0x263)]());}),this[_0x407f36(0x2d6)](),this[_0x407f36(0x2ca)](_0x407f36(0x23e))['to'](_0x25df0b,_0x407f36(0x2b8),this,_0x407f36(0x29d),(_0x115be5,_0x3fbf0e)=>_0x407f36(0x281)===_0x115be5&&!_0x3fbf0e),this['on'](_0x407f36(0x2d3),()=>{const _0x341a6a=_0x407f36;this[_0x341a6a(0x23e)]?_0xf04587[_0x341a6a(0x23a)](_0x341a6a(0x228)):_0xf04587[_0x341a6a(0x278)](_0x341a6a(0x228));}),this[_0x407f36(0x23e)]?_0xf04587[_0x407f36(0x23a)](_0x407f36(0x228)):_0xf04587[_0x407f36(0x278)](_0x407f36(0x228)),this[_0x407f36(0x219)](_0x407f36(0x25c),!0x1);}async[_0x3abefa(0x2bb)](){const _0x1e3fd6=_0x3abefa,_0x584dd7=this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x23d)][_0x1e3fd6(0x1ec)](_0xc90e44),_0x526be5=this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x23d)][_0x1e3fd6(0x1ec)](_0xc1ba9c);try{this[_0x1e3fd6(0x266)]=!0x0,_0x584dd7[_0x1e3fd6(0x22a)](this[_0x1e3fd6(0x260)]);const _0x30cd90=await this[_0x1e3fd6(0x289)][_0x1e3fd6(0x2bb)](_0x526be5[_0x1e3fd6(0x256)],this[_0x1e3fd6(0x1ff)]);await this[_0x1e3fd6(0x246)](_0x30cd90)&&(this[_0x1e3fd6(0x266)]=!0x1,this[_0x1e3fd6(0x22e)]());const _0x4de68c=await this[_0x1e3fd6(0x289)][_0x1e3fd6(0x262)]();_0x584dd7[_0x1e3fd6(0x26b)](this[_0x1e3fd6(0x260)],_0x4de68c),this[_0x1e3fd6(0x273)](),this[_0x1e3fd6(0x25c)]=!0x0;}catch(_0x2d1a1e){if(function(_0x188576){const _0x510f21=_0x1e3fd6;return _0x510f21(0x27b)===_0x188576[_0x510f21(0x295)];}(_0x2d1a1e)&&this[_0x1e3fd6(0x2a6)])await this[_0x1e3fd6(0x25f)]();else{if(function(_0x4e0fed){const _0x42550e=_0x1e3fd6;return _0x42550e(0x250)===_0x4e0fed[_0x42550e(0x295)];}(_0x2d1a1e)){const _0x3ccae6=_0x17c53c(this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x1fb)],_0x1e3fd6(0x28c));this[_0x1e3fd6(0x216)](_0x3ccae6);}else{if(!(_0x2d1a1e instanceof Q))throw _0x2d1a1e;this[_0x1e3fd6(0x216)]();}}}}[_0x3abefa(0x2a3)](){const _0x4c3884=_0x3abefa,_0x2579c1=this[_0x4c3884(0x29b)][_0x4c3884(0x23d)][_0x4c3884(0x1ec)](_0xc1ba9c),_0x12d5b0=this[_0x4c3884(0x29b)][_0x4c3884(0x23d)][_0x4c3884(0x1ec)](_0xc90e44);this[_0x4c3884(0x29b)][_0x4c3884(0x278)](_0x4c3884(0x28e)),_0x12d5b0[_0x4c3884(0x2c0)][_0x4c3884(0x225)](this[_0x4c3884(0x260)])&&_0x12d5b0[_0x4c3884(0x22a)](this[_0x4c3884(0x260)]),_0x2579c1[_0x4c3884(0x253)](this),this[_0x4c3884(0x2c7)](),super[_0x4c3884(0x2a3)]();}async[_0x3abefa(0x246)](_0x497c18){const _0x39c0cb=_0x3abefa;if(this[_0x39c0cb(0x2a6)]!==_0x497c18[_0x39c0cb(0x2a6)]&&this[_0x39c0cb(0x2c9)]!==_0x497c18[_0x39c0cb(0x2da)])throw new Q();return this[_0x39c0cb(0x2a6)]=_0x497c18[_0x39c0cb(0x2a6)],this[_0x39c0cb(0x1f5)]([],{..._0x497c18,'wereChangesApplied':!0x1,'data':_0x497c18[_0x39c0cb(0x2a4)]},_0x39c0cb(0x2bb));}async[_0x3abefa(0x251)](_0x5a8e06,_0x216756=!0x1){const _0xb4c386=_0x3abefa,{connection:_0x564ca7}=this[_0xb4c386(0x29b)][_0xb4c386(0x23d)][_0xb4c386(0x1ec)](_0xc1ba9c);l[_0xb4c386(0x20f)][_0xb4c386(0x262)](_0x564ca7,this[_0xb4c386(0x260)])[_0xb4c386(0x28d)](_0x11be78=>this[_0xb4c386(0x27d)](_0x11be78))[_0xb4c386(0x264)](_0x4f0903=>{const _0x45febf=_0xb4c386;this[_0x45febf(0x297)](_0x45febf(0x23b),_0x4f0903);}),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x2b6),this[_0xb4c386(0x2c5)][_0xb4c386(0x2ca)](this)),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x2c4),(_0xdf8173,_0x4148b2)=>{const _0x3ebbbf=_0xb4c386;this[_0x3ebbbf(0x297)](_0x3ebbbf(0x248),_0x4148b2);}),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x222),()=>{const _0xbcae3c=_0xb4c386;this[_0xbcae3c(0x25c)]=!0x1;});const _0x54b5df=this[_0xb4c386(0x271)][_0xb4c386(0x1ee)](_0x5a8e06);this[_0xb4c386(0x266)]=!0x0;const _0x264ef5=await this[_0xb4c386(0x289)][_0xb4c386(0x2cb)](_0x564ca7,this[_0xb4c386(0x2c3)](_0x5a8e06),_0x54b5df);if(this[_0xb4c386(0x2a6)]=_0x264ef5[_0xb4c386(0x2a6)],_0x216756){if(!_0x264ef5[_0xb4c386(0x218)])return void this[_0xb4c386(0x216)]();this[_0xb4c386(0x266)]=!0x1,this[_0xb4c386(0x22e)](),this[_0xb4c386(0x1f7)][_0xb4c386(0x2e1)](),this[_0xb4c386(0x2d8)]=_0x264ef5[_0xb4c386(0x2b9)],this[_0xb4c386(0x1f7)][_0xb4c386(0x2c1)]=this[_0xb4c386(0x2d8)],await this[_0xb4c386(0x1f5)](_0x5a8e06,_0x264ef5,_0xb4c386(0x257));}else await this[_0xb4c386(0x28f)](_0x264ef5,_0x5a8e06);this[_0xb4c386(0x273)](),this[_0xb4c386(0x25c)]=!0x0;}[_0x3abefa(0x273)](){const _0x47681c=_0x3abefa,_0xfd01ea=this[_0x47681c(0x29b)][_0x47681c(0x23d)][_0x47681c(0x1ec)](_0xc90e44),_0x8b3aef=this[_0x47681c(0x29b)][_0x47681c(0x23d)][_0x47681c(0x1ec)](_0x231b03),_0x1cf378=_0xfd01ea[_0x47681c(0x2c0)][_0x47681c(0x1ec)](this[_0x47681c(0x260)]);_0x1cf378&&_0x1cf378[_0x47681c(0x2df)]>0x1?_0x8b3aef[_0x47681c(0x1f0)]():this[_0x47681c(0x2b4)](_0xfd01ea,_0x47681c(0x1fe)+this[_0x47681c(0x260)],()=>{const _0xf41f97=_0x47681c;0x2===_0xfd01ea[_0xf41f97(0x2c0)][_0xf41f97(0x1ec)](this[_0xf41f97(0x260)])[_0xf41f97(0x2df)]&&_0x8b3aef[_0xf41f97(0x1f0)]();});}async[_0x3abefa(0x2c5)](_0x3aa756,_0x3e577d,_0x27be0a,_0x556980){const _0x57dfee=_0x3abefa;if(!this[_0x57dfee(0x266)]&&this[_0x57dfee(0x2e4)][_0x57dfee(0x2c1)]==_0x3e577d){const _0x3671fb=this[_0x57dfee(0x270)](_0x27be0a,_0x556980);await this[_0x57dfee(0x1fc)](_0x3671fb),this[_0x57dfee(0x28b)](_0x3671fb,_0x3e577d,_0x27be0a[_0x57dfee(0x2da)])||this[_0x57dfee(0x297)](_0x57dfee(0x2e0));}}async[_0x3abefa(0x25f)](){const _0x1cdb74=_0x3abefa;this[_0x1cdb74(0x2c7)]();const {locale:_0x1c148d}=this[_0x1cdb74(0x29b)];let _0x1f7dfd;try{_0x1f7dfd=await this[_0x1cdb74(0x289)][_0x1cdb74(0x245)]();}catch{const _0x269ebb=_0x17c53c(_0x1c148d,_0x1cdb74(0x277));return void this[_0x1cdb74(0x216)](_0x269ebb);}const _0x1236f5=_0x1f7dfd[_0x1cdb74(0x210)]||_0x1f7dfd[_0x1cdb74(0x200)];if(this[_0x1cdb74(0x2c9)]===_0x1236f5[_0x1cdb74(0x2da)])await this[_0x1cdb74(0x251)](this[_0x1cdb74(0x29b)][_0x1cdb74(0x1eb)][_0x1cdb74(0x2d2)][_0x1cdb74(0x2d9)][_0x1cdb74(0x2a1)](),!0x0);else{const _0x2a4c4a=_0x17c53c(_0x1c148d,_0x1cdb74(0x224));this[_0x1cdb74(0x216)](_0x2a4c4a);}}[_0x3abefa(0x2c7)](){const _0x48aa72=_0x3abefa;this[_0x48aa72(0x289)][_0x48aa72(0x2b2)](),this[_0x48aa72(0x2ac)]=[],clearTimeout(this[_0x48aa72(0x2a0)]),this[_0x48aa72(0x2ba)](this[_0x48aa72(0x289)]);}[_0x3abefa(0x27d)](_0x7fed08){const _0x1ec7d4=_0x3abefa,_0x1d3492=this[_0x1ec7d4(0x29b)][_0x1ec7d4(0x23d)][_0x1ec7d4(0x1ec)](_0xc90e44);this[_0x1ec7d4(0x2b4)](_0x1d3492,_0x1ec7d4(0x1fe)+this[_0x1ec7d4(0x260)],(_0x11be48,{session:_0x213bc5})=>{const _0x44d675=_0x1ec7d4;if(_0x213bc5['id']===_0x1d3492[_0x44d675(0x2dc)]){_0x11be48[_0x44d675(0x22f)]();const _0x4cc1bb=this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x225)](_0x44d675(0x22b))&&this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x1ec)](_0x44d675(0x22b));let _0x48733b=_0x213bc5[_0x44d675(0x2e2)];_0x4cc1bb&&_0x4cc1bb[_0x44d675(0x283)]&&(_0x48733b=_0x48733b[_0x44d675(0x1ef)](_0x5950e7=>_0x44d675(0x230)!==_0x5950e7)),this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x1ec)](_0x44d675(0x2bd))[_0x44d675(0x2ee)](_0x48733b,this[_0x44d675(0x260)]);}}),_0x1d3492[_0x1ec7d4(0x26b)](this[_0x1ec7d4(0x260)],_0x7fed08);}[_0x3abefa(0x2cd)](){const _0x2e4dad=_0x3abefa,_0x5dc4a6=this[_0x2e4dad(0x29b)][_0x2e4dad(0x2a4)][_0x2e4dad(0x219)];this[_0x2e4dad(0x29b)][_0x2e4dad(0x2a4)][_0x2e4dad(0x219)]=(..._0xdfca3f)=>{const _0x21ed2e=_0x2e4dad;if(!_0xdfca3f[_0xdfca3f[_0x21ed2e(0x2df)]-0x1][_0x21ed2e(0x25b)])throw new _0xcd5801(_0x21ed2e(0x24b),this);_0x5dc4a6[_0x21ed2e(0x2e3)](this[_0x21ed2e(0x29b)][_0x21ed2e(0x2a4)],_0xdfca3f);};}[_0x3abefa(0x2d6)](){const _0x1aa2b6=_0x3abefa;this[_0x1aa2b6(0x29b)][_0x1aa2b6(0x2a4)]['on'](_0x1aa2b6(0x2be),(_0x22f175,[_0x24d0de])=>{const _0x2cbbb1=_0x1aa2b6;if(this[_0x2cbbb1(0x2e4)][_0x2cbbb1(0x2c1)])throw new _0xcd5801(_0x2cbbb1(0x232),this);_0x22f175[_0x2cbbb1(0x2d7)](),this[_0x2cbbb1(0x2ae)]();const _0xd7f3eb=this[_0x2cbbb1(0x29b)][_0x2cbbb1(0x282)][_0x2cbbb1(0x1ec)](_0x2cbbb1(0x2ec)),_0x1d23a4=this[_0x2cbbb1(0x20b)](_0x24d0de,_0xd7f3eb);0x0==_0x1d23a4[_0x2cbbb1(0x2df)]&&_0x1d23a4[_0x2cbbb1(0x2b5)](new _0x408bcc(0x0)),_0x22f175[_0x2cbbb1(0x22d)]=this[_0x2cbbb1(0x251)](_0x1d23a4)[_0x2cbbb1(0x28d)](()=>{const _0x546406=_0x2cbbb1;this[_0x546406(0x29b)][_0x546406(0x23d)][_0x546406(0x1ec)](_0xc1ba9c)[_0x546406(0x2a9)](this),this[_0x546406(0x29b)][_0x546406(0x2a4)][_0x546406(0x2a2)](_0x546406(0x21e));})[_0x2cbbb1(0x264)](_0x19ae1d=>this[_0x2cbbb1(0x297)](_0x2cbbb1(0x2c6),_0x19ae1d))[_0x2cbbb1(0x29f)](()=>this[_0x2cbbb1(0x22e)]());},{'priority':_0x1aa2b6(0x229)}),this[_0x1aa2b6(0x29b)]['on'](_0x1aa2b6(0x2e8),async(_0x33a1bb,[_0x43ede6,_0x462eb6])=>{const _0x3593fd=_0x1aa2b6;_0x33a1bb[_0x3593fd(0x2d7)]();const _0x20da96=this[_0x3593fd(0x29b)][_0x3593fd(0x1eb)][_0x3593fd(0x2d2)][_0x3593fd(0x284)](_0x43ede6);if(!this[_0x3593fd(0x207)][_0x3593fd(0x225)](_0x43ede6)){const _0x5d826d=_0x462eb6&&_0x462eb6[_0x3593fd(0x2a4)]?_0x462eb6[_0x3593fd(0x2a4)]:'',_0x5bcf67=_0x462eb6&&_0x462eb6[_0x3593fd(0x279)]?_0x462eb6[_0x3593fd(0x279)]:{};await this[_0x3593fd(0x29a)](_0x43ede6,_0x5d826d,_0x5bcf67);}this[_0x3593fd(0x29b)][_0x3593fd(0x1eb)][_0x3593fd(0x1fa)]({'isUndoable':!0x1},()=>{const _0x45b17b=_0x3593fd;_0x20da96[_0x45b17b(0x201)]=!0x0,this[_0x45b17b(0x29b)][_0x45b17b(0x1eb)][_0x45b17b(0x2d2)][_0x45b17b(0x26c)][_0x45b17b(0x27f)](_0x20da96);});},{'priority':_0x1aa2b6(0x229)});}async[_0x3abefa(0x1fc)](_0x466af7){const _0x5e499f=_0x3abefa,_0xcefb47=this[_0x5e499f(0x29b)][_0x5e499f(0x23d)][_0x5e499f(0x1ec)](_0x573af9),{connection:_0x5c6c47}=this[_0x5e499f(0x29b)][_0x5e499f(0x23d)][_0x5e499f(0x1ec)](_0xc1ba9c),_0x25a17b=new Set();for(const _0x7428b2 of _0x466af7){const _0x37c504=_0x7428b2[_0x5e499f(0x275)];_0x37c504&&!_0xcefb47[_0x5e499f(0x249)](_0x37c504)&&_0x25a17b[_0x5e499f(0x252)](_0x37c504);}if(0x0===_0x25a17b[_0x5e499f(0x2ea)])return;const _0x2472d9=await _0x337346[_0x5e499f(0x2ef)](_0x5c6c47,Array[_0x5e499f(0x2b7)](_0x25a17b));for(const _0x39697d of _0x2472d9)_0xcefb47[_0x5e499f(0x249)](_0x39697d['id'])||_0xcefb47[_0x5e499f(0x294)](_0x39697d);}[_0x3abefa(0x20b)](_0x57af28,_0x702407={}){const _0x3fc7ff=_0x3abefa,_0x2b7664=this[_0x3fc7ff(0x29b)][_0x3fc7ff(0x1eb)],_0x31f5f4=[];let _0x39ac54=0x0;const _0x28c431=_0x3fc7ff(0x2d0)==typeof _0x57af28?{'main':_0x57af28}:_0x57af28;for(const _0x1baecd of Object[_0x3fc7ff(0x24e)](_0x28c431)){if(!this[_0x3fc7ff(0x2e4)][_0x3fc7ff(0x272)][_0x3fc7ff(0x225)](_0x1baecd))throw new _0xcd5801(_0x3fc7ff(0x2eb),this);const _0x57d968=this[_0x3fc7ff(0x29b)][_0x3fc7ff(0x2a4)][_0x3fc7ff(0x2bc)](_0x28c431[_0x1baecd]),_0x241a03=this[_0x3fc7ff(0x2e4)][_0x3fc7ff(0x284)](_0x1baecd),_0x13c2b3=new _0x4f994b(_0x2b7664[_0x3fc7ff(0x206)](_0x241a03,0x0),_0x57d968,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x13c2b3);for(const [_0xfe2f40,_0x5dfa30]of _0x57d968[_0x3fc7ff(0x2e9)]){const _0x34259a=_0x2b7664[_0x3fc7ff(0x227)](_0x2b7664[_0x3fc7ff(0x223)](_0x241a03,_0x5dfa30[_0x3fc7ff(0x2ce)][_0x3fc7ff(0x290)][_0x3fc7ff(0x268)]()),_0x2b7664[_0x3fc7ff(0x223)](_0x241a03,_0x5dfa30[_0x3fc7ff(0x2b1)][_0x3fc7ff(0x290)][_0x3fc7ff(0x268)]())),_0x32785d=new _0x4c7309(_0xfe2f40,null,_0x34259a,_0x2b7664[_0x3fc7ff(0x2e9)],!0x0,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x32785d);}}if(_0x702407)for(const [_0x365238,_0x3b6deb]of Object[_0x3fc7ff(0x2aa)](_0x702407)){const _0x5a026f=_0x2b7664[_0x3fc7ff(0x2d2)][_0x3fc7ff(0x284)](_0x365238);if(!_0x5a026f)throw new _0xcd5801(_0x3fc7ff(0x293),null);for(const [_0x1ca7ce,_0xdd1081]of Object[_0x3fc7ff(0x2aa)](_0x3b6deb))if(null!==_0xdd1081){const _0x4cf0bd=new _0x10392c(_0x5a026f,_0x1ca7ce,null,_0xdd1081,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x4cf0bd);}}return _0x31f5f4;}async[_0x3abefa(0x29a)](_0xe4a690,_0x4ab64f,_0x57a6d0){const _0x4e6300=_0x3abefa;this[_0x4e6300(0x20b)]({[_0xe4a690]:_0x4ab64f},{[_0xe4a690]:_0x57a6d0})[_0x4e6300(0x26e)]((_0x1a871b,_0xe6b4ab)=>{const _0x1b2ef8=_0x4e6300;_0x1a871b[_0x1b2ef8(0x254)]=this[_0x1b2ef8(0x2e4)][_0x1b2ef8(0x2c1)]+_0xe6b4ab,_0x1a871b[_0x1b2ef8(0x276)]=!0x0,this[_0x1b2ef8(0x241)](_0x1a871b);}),this[_0x4e6300(0x263)](),await this[_0x4e6300(0x292)]();}async[_0x3abefa(0x28f)](_0x577054,_0x20c65f){const _0x4a45e5=_0x3abefa;let _0x21af86;this[_0x4a45e5(0x2d8)]=_0x577054[_0x4a45e5(0x2b9)];const _0x499bfe=_0x577054[_0x4a45e5(0x218)]&&!_0x577054[_0x4a45e5(0x2ab)],_0x1b0988=_0x499bfe?0x0:_0x577054[_0x4a45e5(0x2a4)][_0x4a45e5(0x254)];if(_0x20c65f[_0x4a45e5(0x26e)](_0x509e35=>{const _0x56dade=_0x4a45e5;_0x509e35[_0x56dade(0x276)]=!0x0,_0x509e35[_0x56dade(0x2c2)]=_0x577054[_0x56dade(0x2b3)],_0x509e35[_0x56dade(0x275)]=null;}),_0x499bfe)_0x21af86=_0x20c65f,this[_0x4a45e5(0x203)](_0x21af86,_0x499bfe);else{if(_0x577054[_0x4a45e5(0x2ab)]){const _0x288728=this[_0x4a45e5(0x20b)](_0x577054[_0x4a45e5(0x2ab)]);this[_0x4a45e5(0x2e4)][_0x4a45e5(0x2d9)][_0x4a45e5(0x2c1)]=-_0x288728[_0x4a45e5(0x2df)],_0x288728[_0x4a45e5(0x26e)](_0xe5b2f7=>{const _0x42928b=_0x4a45e5;_0xe5b2f7[_0x42928b(0x254)]-=_0x288728[_0x42928b(0x2df)],_0xe5b2f7[_0x42928b(0x2c2)]=_0x577054[_0x42928b(0x2b3)],_0xe5b2f7[_0x42928b(0x276)]=!0x0,_0xe5b2f7[_0x42928b(0x275)]=null;}),this[_0x4a45e5(0x203)](_0x288728,!0x0),this[_0x4a45e5(0x1f7)][_0x4a45e5(0x2c1)]=-_0x288728[_0x4a45e5(0x2df)]+this[_0x4a45e5(0x2d8)],this[_0x4a45e5(0x265)](_0x288728);}this[_0x4a45e5(0x2e4)][_0x4a45e5(0x2d9)][_0x4a45e5(0x2c1)]=_0x1b0988,_0x21af86=this[_0x4a45e5(0x270)](_0x577054[_0x4a45e5(0x2a4)],_0x577054[_0x4a45e5(0x236)]),await this[_0x4a45e5(0x1fc)](_0x21af86),this[_0x4a45e5(0x203)](_0x21af86,_0x499bfe);}_0x577054[_0x4a45e5(0x2da)]&&(this[_0x4a45e5(0x271)][_0x4a45e5(0x23c)](_0x21af86,_0x577054[_0x4a45e5(0x2da)]),this[_0x4a45e5(0x2c9)]=_0x577054[_0x4a45e5(0x2da)]),this[_0x4a45e5(0x1f7)][_0x4a45e5(0x2c1)]=_0x1b0988+this[_0x4a45e5(0x2d8)],this[_0x4a45e5(0x265)](_0x21af86),_0x20c65f[_0x4a45e5(0x1ef)](_0x2bd648=>{const _0x36f0c7=_0x4a45e5,_0x3d20bc=this[_0x36f0c7(0x288)](_0x2bd648);return _0x3d20bc&&!this[_0x36f0c7(0x207)][_0x36f0c7(0x225)](_0x3d20bc);})[_0x4a45e5(0x26e)]((_0x2eb919,_0x292d63)=>{const _0x2e3182=_0x4a45e5;_0x2eb919[_0x2e3182(0x254)]=this[_0x2e3182(0x2e4)][_0x2e3182(0x2c1)]+_0x292d63,this[_0x2e3182(0x241)](_0x2eb919);}),this[_0x4a45e5(0x2b0)]()?(this[_0x4a45e5(0x299)]=0x0,this[_0x4a45e5(0x263)](!0x0),await this[_0x4a45e5(0x292)]()):(this[_0x4a45e5(0x266)]=!0x1,this[_0x4a45e5(0x22e)]());}[_0x3abefa(0x297)](_0x48c5cd,_0x497919){const _0x3710cb=_0x3abefa,_0x4a17b5=_0x497919&&_0x497919[_0x3710cb(0x21b)];if(_0x4a17b5&&_0x4a17b5[_0x3710cb(0x259)](_0x3710cb(0x2a7)))throw _0x497919;const _0x51bad4=this[_0x3710cb(0x29b)][_0x3710cb(0x23d)][_0x3710cb(0x1ec)](_0xc1ba9c);throw this[_0x3710cb(0x266)]=!0x0,_0x51bad4[_0x3710cb(0x2b2)](),this[_0x3710cb(0x29b)][_0x3710cb(0x278)](_0x3710cb(0x239)),new _0xcd5801(_0x48c5cd,this[_0x3710cb(0x29b)],_0x4a17b5?{'originalError':_0x4a17b5}:void 0x0);}[_0x3abefa(0x241)](_0xa830df){const _0x59a4a4=_0x3abefa;this[_0x59a4a4(0x2d5)][_0x59a4a4(0x225)](_0xa830df)||(this[_0x59a4a4(0x2d5)][_0x59a4a4(0x252)](_0xa830df),this[_0x59a4a4(0x2ac)][_0x59a4a4(0x2b5)](_0xa830df),this[_0x59a4a4(0x20a)]||_0x59a4a4(0x2a8)==_0xa830df[_0x59a4a4(0x26d)]&&!_0xa830df[_0x59a4a4(0x215)]||this[_0x59a4a4(0x2ae)]());}[_0x3abefa(0x263)](_0x37600b=!0x1){const _0x4c5861=_0x3abefa;!_0x37600b&&this[_0x4c5861(0x266)]||(this[_0x4c5861(0x266)]=!0x0,clearTimeout(this[_0x4c5861(0x2a0)]),this[_0x4c5861(0x2a0)]=setTimeout(()=>{const _0x5c6f3f=_0x4c5861;this[_0x5c6f3f(0x234)]()[_0x5c6f3f(0x28d)](_0x3eb1cc=>{const _0x19a75f=_0x5c6f3f;_0x3eb1cc&&(this[_0x19a75f(0x22e)](),this[_0x19a75f(0x266)]=!0x1);})[_0x5c6f3f(0x264)](_0x8e25d6=>{const _0x1d5246=_0x5c6f3f;this[_0x1d5246(0x22e)](),this[_0x1d5246(0x266)]=!0x1,function(_0x2088f3){const _0x42951b=_0x1d5246;return _0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x2ed))||_0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x2e5))||_0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x269));}(_0x8e25d6)||this[_0x1d5246(0x297)](_0x8e25d6[_0x1d5246(0x21b)],_0x8e25d6);});},this[_0x4c5861(0x299)]));}[_0x3abefa(0x292)](){return new Promise(_0x3649fc=>{const _0x3786f5=_0xd162;this['on'](_0x3786f5(0x23f),()=>{_0x3649fc();});});}async[_0x3abefa(0x234)](){const _0x54ce4d=_0x3abefa,_0x510e02=this[_0x54ce4d(0x29b)][_0x54ce4d(0x23d)][_0x54ce4d(0x1ec)](_0x231b03);if(this[_0x54ce4d(0x285)]()&&(_0x510e02[_0x54ce4d(0x1f0)](),this[_0x54ce4d(0x2db)]=!0x1),!this[_0x54ce4d(0x2b0)]())return!0x0;const _0x3d55e2=[...this[_0x54ce4d(0x2ac)]];for(const _0x851b3d of _0x3d55e2)_0x851b3d[_0x54ce4d(0x296)]=this[_0x54ce4d(0x2e4)][_0x54ce4d(0x2d9)][_0x54ce4d(0x1f6)](_0x851b3d);const _0x570da8=this[_0x54ce4d(0x271)][_0x54ce4d(0x1ee)](_0x3d55e2),_0x23851c=J++,_0x56c883=this[_0x54ce4d(0x2c3)](_0x3d55e2),_0x45eea8=await this[_0x54ce4d(0x289)][_0x54ce4d(0x244)](_0x56c883,_0x56c883[_0x54ce4d(0x254)],_0x570da8);try{return await this[_0x54ce4d(0x1f5)](_0x3d55e2,_0x45eea8,_0x23851c);}catch(_0x512964){return this[_0x54ce4d(0x297)](_0x54ce4d(0x25d),_0x512964);}}async[_0x3abefa(0x1f5)](_0x5cf42d,_0x59a49a,_0x324cef){const _0x1b976c=_0x3abefa;if(_0x1b976c(0x2c4)in _0x59a49a)throw _0x59a49a[_0x1b976c(0x2c4)];let _0x4dca24=!0x1;if(_0x59a49a[_0x1b976c(0x218)]){_0x59a49a[_0x1b976c(0x2da)]&&(this[_0x1b976c(0x2c9)]=_0x59a49a[_0x1b976c(0x2da)]),this[_0x1b976c(0x2ac)]=this[_0x1b976c(0x2ac)][_0x1b976c(0x1ef)](_0x5cc6f0=>!_0x5cf42d[_0x1b976c(0x242)](_0x5cc6f0));for(const _0x9a862f of _0x5cf42d)_0x9a862f[_0x1b976c(0x2c2)]=_0x1b976c(0x1f1)in _0x59a49a&&_0x59a49a[_0x1b976c(0x1f1)]||void 0x0;X(_0x5cf42d,_0x59a49a[_0x1b976c(0x2c1)]-_0x5cf42d[_0x1b976c(0x2df)]),this[_0x1b976c(0x265)](_0x5cf42d);const _0x5b67da=_0x5cf42d[_0x1b976c(0x1ef)](_0x105e6f=>{const _0x1c7a78=_0x1b976c;if(!_0x105e6f[_0x1c7a78(0x276)])return!0x1;const _0x294684=this[_0x1c7a78(0x288)](_0x105e6f);return _0x294684&&!this[_0x1c7a78(0x207)][_0x1c7a78(0x225)](_0x294684);});X(_0x5b67da,this[_0x1b976c(0x2e4)][_0x1b976c(0x2c1)]),this[_0x1b976c(0x203)](_0x5b67da),_0x4dca24=!0x0,this[_0x1b976c(0x299)]=this[_0x1b976c(0x226)];}else{const _0x406fc6=this[_0x1b976c(0x270)](_0x59a49a[_0x1b976c(0x2a4)],_0x59a49a[_0x1b976c(0x236)])[_0x1b976c(0x1ef)](_0xd9f7cb=>_0xd9f7cb[_0x1b976c(0x254)]>=this[_0x1b976c(0x274)]);_0x406fc6[_0x1b976c(0x26e)](_0x1c4cfc=>this[_0x1b976c(0x2ad)](_0x1c4cfc)),this[_0x1b976c(0x2ac)]=this[_0x1b976c(0x2ac)][_0x1b976c(0x1ef)](_0x57177d=>!_0x57177d[_0x1b976c(0x276)]||!this[_0x1b976c(0x207)][_0x1b976c(0x225)](this[_0x1b976c(0x288)](_0x57177d))),this[_0x1b976c(0x2ac)][_0x1b976c(0x2df)]&&X(this[_0x1b976c(0x2ac)],this[_0x1b976c(0x2ac)][0x0][_0x1b976c(0x254)]),await this[_0x1b976c(0x1fc)](_0x406fc6),_0x4dca24=this[_0x1b976c(0x28b)](_0x406fc6,_0x59a49a[_0x1b976c(0x2c1)],_0x59a49a[_0x1b976c(0x2da)]),this[_0x1b976c(0x299)]=Math[_0x1b976c(0x267)](this[_0x1b976c(0x299)]/0x2);}return _0x4dca24?!this[_0x1b976c(0x2b0)]()||(this[_0x1b976c(0x263)](!0x0),!0x1):this[_0x1b976c(0x297)](_0x1b976c(0x209));}[_0x3abefa(0x28b)](_0xacf08f,_0x4641e1,_0x319f49){const _0x2aa9c5=_0x3abefa;try{const _0x487921={'document':this[_0x2aa9c5(0x2e4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2da6ff,operationsB:_0x5ec739,originalOperations:_0x34991d}=_0x351504(_0xacf08f,this[_0x2aa9c5(0x2ac)],_0x487921);X(_0x2da6ff,this[_0x2aa9c5(0x2e4)][_0x2aa9c5(0x2c1)]),X(_0x5ec739,_0x4641e1);for(const _0x5f31b9 of _0x2da6ff){const _0x444b7a=_0x34991d[_0x2aa9c5(0x1ec)](_0x5f31b9);_0x5f31b9[_0x2aa9c5(0x275)]=_0x444b7a?_0x444b7a[_0x2aa9c5(0x275)]:null;}_0x319f49&&(this[_0x2aa9c5(0x271)][_0x2aa9c5(0x23c)](_0xacf08f,_0x319f49),this[_0x2aa9c5(0x2c9)]=_0x319f49),this[_0x2aa9c5(0x2ac)]=[..._0x5ec739],this[_0x2aa9c5(0x203)](_0x2da6ff),this[_0x2aa9c5(0x265)](_0xacf08f);}catch(_0xf8e9cd){return console[_0x2aa9c5(0x2c4)](_0xf8e9cd),!0x1;}return!0x0;}[_0x3abefa(0x203)](_0x599f4b,_0x61cc42=!0x1){const _0x45c54f=_0x3abefa;this[_0x45c54f(0x29b)][_0x45c54f(0x1eb)][_0x45c54f(0x1fa)]({'isUndoable':!0x1,'isLocal':!0x1},_0x59b67b=>{const _0x4c0692=_0x45c54f;for(const _0x311431 of _0x599f4b)this[_0x4c0692(0x2d5)][_0x4c0692(0x252)](_0x311431),this[_0x4c0692(0x2ad)](_0x311431),_0x59b67b[_0x4c0692(0x212)][_0x4c0692(0x221)](_0x311431),this[_0x4c0692(0x29b)][_0x4c0692(0x1eb)][_0x4c0692(0x2d1)](_0x311431);});}[_0x3abefa(0x2ad)](_0x52d483){const _0x678ed6=_0x3abefa,_0x151c09=this[_0x678ed6(0x288)](_0x52d483);_0x151c09&&this[_0x678ed6(0x207)][_0x678ed6(0x252)](_0x151c09);}[_0x3abefa(0x288)](_0xa1d1fe){const _0x1d0302=_0x3abefa;let _0x41bf36,_0x3928b6;switch(_0xa1d1fe[_0x1d0302(0x26d)]){case _0x1d0302(0x235):_0x41bf36=_0xa1d1fe[_0x1d0302(0x2bf)][_0x1d0302(0x22c)];break;case _0x1d0302(0x2a8):if(_0x3928b6=_0xa1d1fe[_0x1d0302(0x26f)],!_0x3928b6)return null;_0x41bf36=_0x3928b6[_0x1d0302(0x22c)];break;case _0x1d0302(0x286):_0x41bf36=_0xa1d1fe[_0x1d0302(0x22c)];break;case _0x1d0302(0x27a):_0x41bf36=_0xa1d1fe[_0x1d0302(0x29e)];break;case _0x1d0302(0x21d):_0x41bf36=_0xa1d1fe[_0x1d0302(0x27e)][_0x1d0302(0x22c)];break;default:return null;}return _0x41bf36[_0x1d0302(0x1f2)];}[_0x3abefa(0x265)](_0x4f7cf6){const _0xe2c88f=_0x3abefa;_0x4f7cf6[_0xe2c88f(0x26e)](_0x35dccf=>{const _0x4c880f=_0xe2c88f,_0xc474bc=_0x35dccf[_0x4c880f(0x2de)]();_0xc474bc[_0x4c880f(0x275)]=_0x35dccf[_0x4c880f(0x275)],_0xc474bc[_0x4c880f(0x276)]=!!_0x35dccf[_0x4c880f(0x276)],_0xc474bc[_0x4c880f(0x2c2)]=_0x35dccf[_0x4c880f(0x2c2)],_0xc474bc[_0x4c880f(0x254)]+=this[_0x4c880f(0x2d8)],_0x35dccf[_0x4c880f(0x1f3)]&&this[_0x4c880f(0x25a)][_0x4c880f(0x252)](_0xc474bc),this[_0x4c880f(0x1f7)][_0x4c880f(0x221)](_0xc474bc);});}[_0x3abefa(0x216)](_0x359be2){const _0x2ed43d=_0x3abefa,_0x2f839a=this[_0x2ed43d(0x29b)][_0x2ed43d(0x23d)][_0x2ed43d(0x1ec)](_0x2ed43d(0x231)),_0x5221f3=this[_0x2ed43d(0x29b)][_0x2ed43d(0x1fb)];_0x359be2||(_0x359be2=_0x17c53c(_0x5221f3,_0x2ed43d(0x20c))),_0x2f839a[_0x2ed43d(0x26a)](_0x359be2,{'title':_0x17c53c(_0x5221f3,_0x2ed43d(0x1f9)),'namespace':_0x2ed43d(0x2e6)}),this[_0x2ed43d(0x29d)]=!0x0,clearTimeout(this[_0x2ed43d(0x2a0)]),this[_0x2ed43d(0x2ac)]=[],this[_0x2ed43d(0x29b)][_0x2ed43d(0x23d)][_0x2ed43d(0x1ec)](_0xc1ba9c)[_0x2ed43d(0x2b2)]();}[_0x3abefa(0x2ae)](){const _0x3af397=_0x3abefa;this[_0x3af397(0x20a)]||(this[_0x3af397(0x20a)]=this[_0x3af397(0x29b)][_0x3af397(0x23d)][_0x3af397(0x1ec)](_0x229b19)[_0x3af397(0x252)](_0x17c53c(this[_0x3af397(0x29b)][_0x3af397(0x1fb)],_0x3af397(0x24c))));}[_0x3abefa(0x22e)](){const _0x3c1744=_0x3abefa;this[_0x3c1744(0x20a)]&&(this[_0x3c1744(0x29b)][_0x3c1744(0x23d)][_0x3c1744(0x1ec)](_0x229b19)[_0x3c1744(0x24d)](this[_0x3c1744(0x20a)]),this[_0x3c1744(0x20a)]=null);}[_0x3abefa(0x2c3)](_0x42534e){const _0x141581=_0x3abefa,_0x34344c=_0x42534e[_0x141581(0x21f)](_0x4e7d84=>_0x4e7d84[_0x141581(0x24a)]());return this[_0x141581(0x2a5)][_0x141581(0x20e)](_0x34344c);}[_0x3abefa(0x270)](_0x47c646,_0x54c0a4){const _0x27a532=_0x3abefa;return this[_0x27a532(0x2a5)][_0x27a532(0x2cc)](_0x47c646)[_0x27a532(0x21f)]((_0xc8885c,_0x4d85d9)=>{const _0x247b92=_0x27a532,_0x33ceea=_0x247b92(0x2be)==_0x54c0a4[_0x4d85d9][_0x247b92(0x26d)];if(_0x247b92(0x280)==_0xc8885c[_0x247b92(0x1f8)]){const _0x1004c9=_0xc8885c[_0x247b92(0x2bf)][_0x247b92(0x22c)];!this[_0x247b92(0x2e4)][_0x247b92(0x284)](_0x1004c9)&&(this[_0x247b92(0x2e4)][_0x247b92(0x25e)](_0x247b92(0x258),_0x1004c9)[_0x247b92(0x233)]=!0x1);}const _0x2200ca=_0x15c734[_0x247b92(0x1f4)](_0xc8885c,this[_0x247b92(0x2e4)]);return _0x2200ca[_0x247b92(0x296)]=_0xc8885c[_0x247b92(0x296)],_0x2200ca[_0x247b92(0x276)]=_0x33ceea,_0x2200ca[_0x247b92(0x275)]=_0x33ceea?null:_0x54c0a4[_0x4d85d9][_0x247b92(0x28a)],_0x2200ca[_0x247b92(0x1f3)]=_0x247b92(0x217)===_0x54c0a4[_0x4d85d9][_0x247b92(0x26d)],_0x2200ca[_0x247b92(0x2c2)]=_0x54c0a4[_0x4d85d9][_0x247b92(0x2c2)],_0x2200ca;});}[_0x3abefa(0x238)](){const _0x4a27ee=_0x3abefa;this[_0x4a27ee(0x2db)]=!0x0,this[_0x4a27ee(0x285)]()?this[_0x4a27ee(0x263)]():this[_0x4a27ee(0x2db)]=!0x1;}[_0x3abefa(0x285)](){const _0xd9190b=_0x3abefa,_0x25e39b=this[_0xd9190b(0x29b)][_0xd9190b(0x23d)][_0xd9190b(0x1ec)](_0xc90e44)[_0xd9190b(0x2c0)][_0xd9190b(0x1ec)](this[_0xd9190b(0x260)]);return!this[_0xd9190b(0x29b)][_0xd9190b(0x247)]&&!!_0x25e39b&&_0x25e39b[_0xd9190b(0x2df)]>0x1&&this[_0xd9190b(0x2db)];}[_0x3abefa(0x2b0)](){const _0x48ee36=_0x3abefa;return this[_0x48ee36(0x2ac)][_0x48ee36(0x2df)]>0x0||this[_0x48ee36(0x285)]();}}export default l;class Q extends Error{}function _0x18c8(){const _0x1c33bb=['_bufferedOperations','_addKnownRoot','_setPendingAction','view','_shouldSendUpdate','end','disconnect','sessionCreatedAt','listenTo','push','operationsReceived','from','state','offset','stopListening','reconnect','parse','Permissions','init','position','channelSessions','version','createdAt','_compressOperations','error','_handleReceivedOperations','realtimecollaborationclient-init-connection-failed','_disconnectService','isPremiumPlugin','_lastSyncedOperationId','bind','connect','decompress','_initThrowingOnDataSet','start','collaboration','string','applyOperation','document','change:_isEditingAllowed','requires','_knownOperations','_setUpDataInit','stop','_offset','history','lastOperationId','_hasSelectionChanged','mySessionId','pluginName','clone','length','realtimecollaborationclient-init-service-incorrect-server-operation','reset','permissions','apply','_document','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','real-time-collaboration','cloudDocumentVersion','loadRoot','markers','size','realtimecollaborationclient-init-non-existent-root','rootsAttributes','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','getMany','isOfficialPlugin','model','get','RealTimeCollaborationClient','getIdOfTheLastOperation','filter','createUserMarkerOperations','lastOperationAcceptedAt','rootName','_isDisconnection','fromJSON','_handleServerResponse','isUndoneOperation','serverHistory','__className','Synchronization\x20issue','enqueueChange','locale','_fetchMissingUsers','getOperationAuthor','sessionAdd:','lastSyncVersion','lastDocumentSession','_isLoaded','collaboration-missing-channelid','_applyOperationsSet','5gNKshi','cloudServices.bundleVersion','createPositionAt','_knownRootNames','directChange','realtimecollaborationclient-handleserverresponse','_pendingAction','_getOperationsFromInitData','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.','define','compress','CollaborativeEditingService','currentDocumentSession','360BykWnk','batch','change:range','24328ykpeqw','affectsData','_handleReconnectionError','cs:removeUser','wereChangesApplied','set','collaboration.channelId','message','editing','move','ready','map','18MVQaBN','addOperation','disconnected','createPositionFromPath','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.','has','_baseBufferDelay','createRange','rtc-offline','high','unregister','CommentsOnly','root','return','_clearPendingAction','off','document:write','Notification','realtimecollaborationclient-init-document-already-initialized','_isAttached','_sendBufferedOperations','insert','metadata','6015877pKZtrd','_refreshUserSelectionMarkers','realtimecollaborationclient-error','disableReadOnlyMode','realtimecollaborationclient-init-session-connection-error','setIdForTheLastOperation','plugins','_isEditingAllowed','change:_isPendingUpdate','selection','_saveOperationInBuffer','includes','18490370MdoygH','sendOperations','getDocumentDetails','_handleReconnectionResponse','isReadOnly','realtimecollaborationclient-init-service-internal-error','getUser','toJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','PENDING_ACTION_SENDING_DATA','remove','keys','264611szvzku','409','_connectService','add','removeFromReconnectionStack','baseVersion','17142YPkpCC','connection','reconnection:\x20flushed\x20session','$root','startsWith','_disconnectionOperations','suppressErrorInCollaboration','_isConnected','realtimecollaborationclient-sendbufferedoperations','createRoot','_connectAfterSessionHasBeenFlushed','_channelId','_ignoredOperations','getConnectedSessions','_sendBufferedOperationsDelayed','catch','_updateServerHistory','_isPendingUpdate','round','slice','cloud-services-internal-error:\x20Request\x20timeout.','showWarning','register','differ','type','forEach','newRange','_decompressOperations','_operationIdentifier','roots','_handleSendingSelectionMarkers','_lastServerVersion','_authorId','_isInit','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enableReadOnlyMode','attributes','addRoot','404','change:hasDomSelection','_initSessionsHandling','targetPosition','_bufferRootLoad','InsertOperation','connected','config','isEnabled','getRoot','_shouldSendSelectionUpdate','addRootAttribute','isDocumentOperation','_getAffectedRoot','_service','userId','_handleExternalOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','rtc-destroyed','_handleInitialConnectionData','path','2539112gbjzQx','_waitUntilSynced','multi-root-editor-root-attributes-no-root','addUser','code','wasUndone','_crash','506670xvCLbZ','_currentBufferDelay','_loadRoot','editor','_operationToId','_hasSynchronizationProblem','affectedSelectable','finally','_sendBufferedOperationsDelayId','getOperations','fire','destroy','data','_compressor','sessionId','realtimecollaborationclient','marker','addToReconnectionStack','entries','initData'];_0x18c8=function(){return _0x1c33bb;};return _0x18c8();}function X(_0x15c350,_0x17c42c){const _0x4d1821=_0x3abefa;for(const _0x311226 of _0x15c350)_0x311226[_0x4d1821(0x254)]=_0x17c42c++;}class Y{[_0x3abefa(0x261)];[_0x3abefa(0x29c)];constructor(_0xdc6eec){const _0x3bb10e=_0x3abefa;this[_0x3bb10e(0x261)]=_0xdc6eec,this[_0x3bb10e(0x29c)]=new WeakMap();}[_0x3abefa(0x1ee)](_0x5bdef2){const _0x2b03e0=_0x3abefa;let _0x124f48=_0x5bdef2[_0x2b03e0(0x2df)];for(;_0x124f48--;){const _0x3cf00f=_0x5bdef2[_0x124f48];if(!this[_0x2b03e0(0x261)][_0x2b03e0(0x225)](_0x3cf00f)){if(!this[_0x2b03e0(0x29c)][_0x2b03e0(0x225)](_0x3cf00f)){const _0x5f340b=_0x421675()[_0x2b03e0(0x268)](0x1,0x12);this[_0x2b03e0(0x29c)][_0x2b03e0(0x219)](_0x3cf00f,_0x5f340b);}return this[_0x2b03e0(0x29c)][_0x2b03e0(0x1ec)](_0x3cf00f);}}}[_0x3abefa(0x23c)](_0x32182f,_0x4c2bed){const _0x3b1f98=_0x3abefa;if(!_0x4c2bed)return;let _0xc0f688=_0x32182f[_0x3b1f98(0x2df)];for(;_0xc0f688--;){const _0x122d24=_0x32182f[_0xc0f688];this[_0x3b1f98(0x261)][_0x3b1f98(0x225)](_0x122d24)||this[_0x3b1f98(0x29c)][_0x3b1f98(0x219)](_0x122d24,_0x4c2bed);}}}
|
|
23
|
+
function _0x54ff(_0x56674c,_0x2f6273){const _0x49eadf=_0x49ea();return _0x54ff=function(_0x54ff80,_0x178ebd){_0x54ff80=_0x54ff80-0x1d8;let _0x3b32fe=_0x49eadf[_0x54ff80];return _0x3b32fe;},_0x54ff(_0x56674c,_0x2f6273);}const _0x372cf6=_0x54ff;(function(_0x41f05d,_0x379c53){const _0x54b053=_0x54ff,_0x5661f5=_0x41f05d();while(!![]){try{const _0x4217d9=-parseInt(_0x54b053(0x270))/0x1*(-parseInt(_0x54b053(0x2c1))/0x2)+parseInt(_0x54b053(0x1e5))/0x3+parseInt(_0x54b053(0x2b1))/0x4+parseInt(_0x54b053(0x1db))/0x5+-parseInt(_0x54b053(0x27f))/0x6*(-parseInt(_0x54b053(0x292))/0x7)+-parseInt(_0x54b053(0x2bd))/0x8+-parseInt(_0x54b053(0x231))/0x9;if(_0x4217d9===_0x379c53)break;else _0x5661f5['push'](_0x5661f5['shift']());}catch(_0xac97e9){_0x5661f5['push'](_0x5661f5['shift']());}}}(_0x49ea,0x94f25));import{Plugin as _0x44ef22,PendingActions as _0x924abb}from'ckeditor5/src/core.js';import{CKEditorError as _0x101d3a,version as _0x2c9acf,uid as _0x4660d9}from'ckeditor5/src/utils.js';import{Notification as _0x323499}from'ckeditor5/src/ui.js';import{transformSets as _0x405de6,NoOperation as _0x543f55,InsertOperation as _0x53f6b2,MarkerOperation as _0x107a4c,RootAttributeOperation as _0x190d65,OperationFactory as _0x3500c0,History as _0x1890f8}from'ckeditor5/src/engine.js';import _0x63ced9 from'./websocketgateway.js';import _0x4d966d from'./sessions.js';import _0x4b552d from'./usermarkers.js';import{getTranslation as _0xb20de9}from'../common-translations.js';import{Compressor as _0x3285c9}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x46ed26}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x49ea(){const _0x39bf3a=['cloudDocumentVersion','document:write','_lastSyncedOperationId','addUser','operationsReceived','init','permissions','409','5458010HeMpzf','addRootAttribute','realtimecollaborationclient-init-service-internal-error','addRoot','_setPendingAction','_service','code','reset','_authorId','stopListening','839775sthcnJ','_isLoaded','_currentBufferDelay','_handleServerResponse','channelSessions','addOperation','decompress','getOperations','_sendBufferedOperations','isPremiumPlugin','startsWith','collaboration.channelId','_hasSynchronizationProblem','clone','realtimecollaborationclient-init-service-incorrect-server-operation','bind','position','markers','end','addToReconnectionStack','rootsAttributes','realtimecollaborationclient-handleserverresponse','stop','state','directChange','_refreshUserSelectionMarkers','baseVersion','selection','apply','lastSyncVersion','loadRoot','_document','getUser','_applyOperationsSet','getDocumentDetails','getMany','differ','then','ready','_clearPendingAction','requires','mySessionId','Permissions','_lastServerVersion','createRange','getConnectedSessions','_offset','_pendingAction','catch','metadata','_getOperationsFromInitData','disableReadOnlyMode','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','collaboration','isOfficialPlugin','config','root','_handleSendingSelectionMarkers','_knownOperations','attributes','realtimecollaborationclient-init-document-already-initialized','plugins','_baseBufferDelay','size','define','pluginName','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','lastOperationAcceptedAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient','RealTimeCollaborationClient','showWarning','Notification','_shouldSendUpdate','sessionCreatedAt','12514968xcqEjd','sessionId','sendOperations','parse','removeFromReconnectionStack','_handleExternalOperations','enableReadOnlyMode','keys','change:_isEditingAllowed','disconnected','_handleInitialConnectionData','push','map','move','_updateServerHistory','listenTo','forEach','_waitUntilSynced','string','from','_handleReceivedOperations','connect','_initThrowingOnDataSet','_isInit','createRoot','Synchronization\x20issue','rtc-destroyed','_addKnownRoot','cloud-services-internal-error:\x20Request\x20timeout.','_connectService','realtimecollaborationclient-init-connection-failed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','message','reconnection:\x20flushed\x20session','createPositionAt','path','get','_initSessionsHandling','slice','entries','affectsData','compress','add','toJSON','insert','_operationIdentifier','batch','start','reconnect','_getAffectedRoot','cs:removeUser','round','_isEditingAllowed','_compressOperations','_knownRootNames','setPermissions','_channelId','connection','targetPosition','_bufferedOperations','_handleReconnectionError','wereChangesApplied','currentDocumentSession','9zOdAyw','change:range','setIdForTheLastOperation','enqueueChange','isEnabled','_hasSelectionChanged','_compressor','_disconnectionOperations','userId','realtimecollaborationclient-init-non-existent-root','createUserMarkerOperations','_isAttached','destroy','off','high','250806DpAdqr','$root','real-time-collaboration','register','_ignoredOperations','length','collaboration-missing-channelid','_isPendingUpdate','connected','serverHistory','return','lastDocumentSession','rtc-offline','_bufferRootLoad','type','disconnect','_crash','version','_disconnectService','77svRBij','history','_isDisconnection','filter','set','includes','lastOperationId','_sendBufferedOperationsDelayed','getIdOfTheLastOperation','__className','_setUpDataInit','initData','remove','CollaborativeEditingService','affectedSelectable','error','CommentsOnly','has','_sendBufferedOperationsDelayId','_isConnected','cloud-services-internal-error:\x20Not\x20connected.','isUndoneOperation','editor','marker','isReadOnly','cloudServices.bundleVersion','404','sessionAdd:','wasUndone','_operationToId','data','370768GdVWDZ','change:_isPendingUpdate','unregister','_fetchMissingUsers','fire','PENDING_ACTION_SENDING_DATA','_decompressOperations','_loadRoot','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.','fromJSON','newRange','model','8657936NMMtaY','offset','change:hasDomSelection','_saveOperationInBuffer','257522cdFJCr','finally','view','InsertOperation','getRoot','suppressErrorInCollaboration','_handleReconnectionResponse','applyOperation','_shouldSendSelectionUpdate','realtimecollaborationclient-error','locale','realtimecollaborationclient-init-session-connection-error','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionFromPath','multi-root-editor-root-attributes-no-root','document','getOperationAuthor','isDocumentOperation','editing','realtimecollaborationclient-sendbufferedoperations','createdAt','roots','rootName'];_0x49ea=function(){return _0x39bf3a;};return _0x49ea();}import{User as _0x5294d1,CollaborativeEditingService as _0x559716}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x44ef22{static [_0x372cf6(0x29f)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x559716)());[_0x372cf6(0x213)];[_0x372cf6(0x232)];[_0x372cf6(0x288)];[_0x372cf6(0x269)];[_0x372cf6(0x1e0)];[_0x372cf6(0x204)];[_0x372cf6(0x276)];[_0x372cf6(0x26c)];[_0x372cf6(0x21f)];[_0x372cf6(0x267)];[_0x372cf6(0x214)];[_0x372cf6(0x275)];[_0x372cf6(0x2a4)];[_0x372cf6(0x223)];[_0x372cf6(0x1e7)];[_0x372cf6(0x2da)];[_0x372cf6(0x277)];[_0x372cf6(0x25e)];static get[_0x372cf6(0x20d)](){return[_0x63ced9,_0x4d966d,_0x4b552d,_0x924abb,_0x46ed26,_0x323499];}static get[_0x372cf6(0x226)](){const _0x180b68=_0x372cf6;return _0x180b68(0x22c);}static get[_0x372cf6(0x21b)](){return!0x0;}static get[_0x372cf6(0x1ee)](){return!0x0;}get[_0x372cf6(0x2d8)](){const _0x2c44a5=_0x372cf6;return this[_0x2c44a5(0x210)]+this[_0x2c44a5(0x213)];}get[_0x372cf6(0x210)](){const _0x190d50=_0x372cf6;return this[_0x190d50(0x288)][_0x190d50(0x290)]-this[_0x190d50(0x213)];}get[_0x372cf6(0x202)](){const _0x1f2e8a=_0x372cf6,_0x56b7b1=this[_0x1f2e8a(0x288)][_0x1f2e8a(0x1ec)]();for(let _0x6ee7b4=_0x56b7b1[_0x1f2e8a(0x284)]-0x1;_0x6ee7b4>=0x0;_0x6ee7b4--){const _0x399fdb=_0x56b7b1[_0x6ee7b4];if(!this[_0x1f2e8a(0x277)][_0x1f2e8a(0x2a3)](_0x399fdb))return _0x399fdb[_0x1f2e8a(0x1ff)]+0x1-this[_0x1f2e8a(0x213)];}return 0x0;}constructor(_0x586598){const _0x912255=_0x372cf6;if(super(_0x586598),this[_0x912255(0x213)]=0x0,this[_0x912255(0x232)]=null,this[_0x912255(0x288)]=new _0x1890f8(),this[_0x912255(0x2a8)][_0x912255(0x21c)][_0x912255(0x225)](_0x912255(0x21a),{}),this[_0x912255(0x269)]=this[_0x912255(0x2a8)][_0x912255(0x21c)][_0x912255(0x255)](_0x912255(0x1f0)),!this[_0x912255(0x269)])throw new _0x101d3a(_0x912255(0x285),this);const _0x19e1fd=_0x586598[_0x912255(0x21c)][_0x912255(0x255)](_0x912255(0x2ab))||_0x2c9acf;this[_0x912255(0x1e0)]=new l[(_0x912255(0x29f))](_0x19e1fd,this[_0x912255(0x269)]),this[_0x912255(0x204)]=this[_0x912255(0x2a8)][_0x912255(0x2bc)][_0x912255(0x2d0)],this[_0x912255(0x276)]=new _0x3285c9(),this[_0x912255(0x26c)]=[],this[_0x912255(0x21f)]=new WeakSet(),this[_0x912255(0x267)]=new Set(),this[_0x912255(0x296)](_0x912255(0x286),!0x1),this[_0x912255(0x296)](_0x912255(0x1f1),!0x1),this[_0x912255(0x214)]=null,this[_0x912255(0x275)]=!0x1,this[_0x912255(0x2a4)]=null,this[_0x912255(0x223)]=0x12c,this[_0x912255(0x1e7)]=this[_0x912255(0x223)],this[_0x912255(0x2da)]=null,this[_0x912255(0x277)]=new WeakSet(),this[_0x912255(0x25e)]=new Y(this[_0x912255(0x277)]);}[_0x372cf6(0x1d8)](){const _0x2735d0=_0x372cf6,_0x160024=this[_0x2735d0(0x2a8)],_0x3963c1=_0x160024[_0x2735d0(0x222)][_0x2735d0(0x255)](_0x46ed26),_0x1004c7=_0x160024[_0x2735d0(0x222)][_0x2735d0(0x255)](_0x63ced9);this[_0x2735d0(0x240)](_0x3963c1,_0x2735d0(0x2d1),(_0x2fcffe,_0x390e3c)=>{const _0x4a4b81=_0x2735d0,_0xcda31f=_0x390e3c[0x0];_0xcda31f[_0x4a4b81(0x1e3)]&&(_0x2fcffe[_0x4a4b81(0x289)]=_0x3963c1[_0x4a4b81(0x205)](_0xcda31f[_0x4a4b81(0x1e3)]),_0x2fcffe[_0x4a4b81(0x1fb)]()),null===_0xcda31f[_0x4a4b81(0x1e3)]&&(_0x2fcffe[_0x4a4b81(0x289)]=null,_0x2fcffe[_0x4a4b81(0x1fb)]());},{'priority':_0x2735d0(0x27e)}),this[_0x2735d0(0x240)](_0x160024[_0x2735d0(0x2bc)][_0x2735d0(0x2d0)][_0x2735d0(0x200)],_0x2735d0(0x271),(_0x31867c,_0x47f202)=>{const _0x1d5c1b=_0x2735d0;_0x47f202[_0x1d5c1b(0x1fd)]&&this[_0x1d5c1b(0x1fe)]();}),this[_0x2735d0(0x240)](_0x160024[_0x2735d0(0x2d3)][_0x2735d0(0x2c3)],_0x2735d0(0x2bf),()=>{const _0x1d255e=_0x2735d0;this[_0x1d255e(0x1fe)]();}),this[_0x2735d0(0x247)](),_0x160024[_0x2735d0(0x2bc)]['on'](_0x2735d0(0x2c8),(_0x28bc72,_0x4eef8e)=>{const _0x235860=_0x2735d0,_0x39d620=_0x4eef8e[0x0];_0x39d620[_0x235860(0x2d2)]&&(this[_0x235860(0x2c0)](_0x39d620),this[_0x235860(0x22f)]()&&this[_0x235860(0x299)]());}),this[_0x2735d0(0x29c)](),this[_0x2735d0(0x1f4)](_0x2735d0(0x265))['to'](_0x1004c7,_0x2735d0(0x1fc),this,_0x2735d0(0x1f1),(_0x1c26f0,_0x4b7ed6)=>_0x2735d0(0x287)===_0x1c26f0&&!_0x4b7ed6),this['on'](_0x2735d0(0x239),()=>{const _0x50ee27=_0x2735d0;this[_0x50ee27(0x265)]?_0x160024[_0x50ee27(0x218)](_0x50ee27(0x28b)):_0x160024[_0x50ee27(0x237)](_0x50ee27(0x28b));}),this[_0x2735d0(0x265)]?_0x160024[_0x2735d0(0x218)](_0x2735d0(0x28b)):_0x160024[_0x2735d0(0x237)](_0x2735d0(0x28b)),this[_0x2735d0(0x296)](_0x2735d0(0x2a5),!0x1);}async[_0x372cf6(0x261)](){const _0x266d12=_0x372cf6,_0x1e7fbb=this[_0x266d12(0x2a8)][_0x266d12(0x222)][_0x266d12(0x255)](_0x4d966d),_0x52b02b=this[_0x266d12(0x2a8)][_0x266d12(0x222)][_0x266d12(0x255)](_0x63ced9);try{this[_0x266d12(0x286)]=!0x0,_0x1e7fbb[_0x266d12(0x2b3)](this[_0x266d12(0x269)]);const _0x224c36=await this[_0x266d12(0x1e0)][_0x266d12(0x261)](_0x52b02b[_0x266d12(0x26a)],this[_0x266d12(0x202)]);await this[_0x266d12(0x2c7)](_0x224c36)&&(this[_0x266d12(0x286)]=!0x1,this[_0x266d12(0x20c)]());const _0x5dd152=await this[_0x266d12(0x1e0)][_0x266d12(0x212)]();_0x1e7fbb[_0x266d12(0x282)](this[_0x266d12(0x269)],_0x5dd152),this[_0x266d12(0x21e)](),this[_0x266d12(0x2a5)]=!0x0;}catch(_0x52c4e2){if(function(_0x4d6704){const _0x579e09=_0x266d12;return _0x579e09(0x2ac)===_0x4d6704[_0x579e09(0x1e1)];}(_0x52c4e2)&&this[_0x266d12(0x232)])await this[_0x266d12(0x227)]();else{if(function(_0xc6da71){const _0x29fe3b=_0x266d12;return _0x29fe3b(0x1da)===_0xc6da71[_0x29fe3b(0x1e1)];}(_0x52c4e2)){const _0x4907e3=_0xb20de9(this[_0x266d12(0x2a8)][_0x266d12(0x2cb)],_0x266d12(0x250));this[_0x266d12(0x26d)](_0x4907e3);}else{if(!(_0x52c4e2 instanceof Q))throw _0x52c4e2;this[_0x266d12(0x26d)]();}}}}[_0x372cf6(0x27c)](){const _0x1d6fc6=_0x372cf6,_0x33540c=this[_0x1d6fc6(0x2a8)][_0x1d6fc6(0x222)][_0x1d6fc6(0x255)](_0x63ced9),_0x3898f1=this[_0x1d6fc6(0x2a8)][_0x1d6fc6(0x222)][_0x1d6fc6(0x255)](_0x4d966d);this[_0x1d6fc6(0x2a8)][_0x1d6fc6(0x237)](_0x1d6fc6(0x24b)),_0x3898f1[_0x1d6fc6(0x1e9)][_0x1d6fc6(0x2a3)](this[_0x1d6fc6(0x269)])&&_0x3898f1[_0x1d6fc6(0x2b3)](this[_0x1d6fc6(0x269)]),_0x33540c[_0x1d6fc6(0x235)](this),this[_0x1d6fc6(0x291)](),super[_0x1d6fc6(0x27c)]();}async[_0x372cf6(0x2c7)](_0x306dd1){const _0x5efedd=_0x372cf6;if(this[_0x5efedd(0x232)]!==_0x306dd1[_0x5efedd(0x232)]&&this[_0x5efedd(0x2da)]!==_0x306dd1[_0x5efedd(0x298)])throw new Q();return this[_0x5efedd(0x232)]=_0x306dd1[_0x5efedd(0x232)],this[_0x5efedd(0x1e8)]([],{..._0x306dd1,'wereChangesApplied':!0x1,'data':_0x306dd1[_0x5efedd(0x2b0)]},_0x5efedd(0x261));}async[_0x372cf6(0x24e)](_0x18ad61,_0x2e61e8=!0x1){const _0x233b94=_0x372cf6,{connection:_0x5540dc}=this[_0x233b94(0x2a8)][_0x233b94(0x222)][_0x233b94(0x255)](_0x63ced9);l[_0x233b94(0x29f)][_0x233b94(0x212)](_0x5540dc,this[_0x233b94(0x269)])[_0x233b94(0x20a)](_0x9bb381=>this[_0x233b94(0x256)](_0x9bb381))[_0x233b94(0x215)](_0x376271=>{const _0x34e7a6=_0x233b94;this[_0x34e7a6(0x28f)](_0x34e7a6(0x2cc),_0x376271);}),this[_0x233b94(0x240)](this[_0x233b94(0x1e0)],_0x233b94(0x2dc),this[_0x233b94(0x245)][_0x233b94(0x1f4)](this)),this[_0x233b94(0x240)](this[_0x233b94(0x1e0)],_0x233b94(0x2a1),(_0xbfc997,_0x4a2d48)=>{const _0x1761c5=_0x233b94;this[_0x1761c5(0x28f)](_0x1761c5(0x1dd),_0x4a2d48);}),this[_0x233b94(0x240)](this[_0x233b94(0x1e0)],_0x233b94(0x23a),()=>{const _0x3f5a65=_0x233b94;this[_0x3f5a65(0x2a5)]=!0x1;});const _0x3dee2c=this[_0x233b94(0x25e)][_0x233b94(0x29a)](_0x18ad61);this[_0x233b94(0x286)]=!0x0;const _0x138602=await this[_0x233b94(0x1e0)][_0x233b94(0x246)](_0x5540dc,this[_0x233b94(0x266)](_0x18ad61),_0x3dee2c);if(this[_0x233b94(0x232)]=_0x138602[_0x233b94(0x232)],_0x2e61e8){if(!_0x138602[_0x233b94(0x26e)])return void this[_0x233b94(0x26d)]();this[_0x233b94(0x286)]=!0x1,this[_0x233b94(0x20c)](),this[_0x233b94(0x288)][_0x233b94(0x1e2)](),this[_0x233b94(0x213)]=_0x138602[_0x233b94(0x2be)],this[_0x233b94(0x288)][_0x233b94(0x290)]=this[_0x233b94(0x213)],await this[_0x233b94(0x1e8)](_0x18ad61,_0x138602,_0x233b94(0x252));}else await this[_0x233b94(0x23b)](_0x138602,_0x18ad61);this[_0x233b94(0x21e)](),this[_0x233b94(0x2a5)]=!0x0;}[_0x372cf6(0x21e)](){const _0x538268=_0x372cf6,_0x3336fc=this[_0x538268(0x2a8)][_0x538268(0x222)][_0x538268(0x255)](_0x4d966d),_0x316961=this[_0x538268(0x2a8)][_0x538268(0x222)][_0x538268(0x255)](_0x4b552d),_0xe1d1d1=_0x3336fc[_0x538268(0x1e9)][_0x538268(0x255)](this[_0x538268(0x269)]);_0xe1d1d1&&_0xe1d1d1[_0x538268(0x284)]>0x1?_0x316961[_0x538268(0x27a)]():this[_0x538268(0x240)](_0x3336fc,_0x538268(0x2ad)+this[_0x538268(0x269)],()=>{const _0x12a1b3=_0x538268;0x2===_0x3336fc[_0x12a1b3(0x1e9)][_0x12a1b3(0x255)](this[_0x12a1b3(0x269)])[_0x12a1b3(0x284)]&&_0x316961[_0x12a1b3(0x27a)]();});}async[_0x372cf6(0x245)](_0x1e2f13,_0x4bca49,_0x50e3fa,_0x19ecaf){const _0x3de99a=_0x372cf6;if(!this[_0x3de99a(0x286)]&&this[_0x3de99a(0x204)][_0x3de99a(0x290)]==_0x4bca49){const _0x8425ab=this[_0x3de99a(0x2b7)](_0x50e3fa,_0x19ecaf);await this[_0x3de99a(0x2b4)](_0x8425ab),this[_0x3de99a(0x236)](_0x8425ab,_0x4bca49,_0x50e3fa[_0x3de99a(0x298)])||this[_0x3de99a(0x28f)](_0x3de99a(0x1f3));}}async[_0x372cf6(0x227)](){const _0x3aaf30=_0x372cf6;this[_0x3aaf30(0x291)]();const {locale:_0x1bac70}=this[_0x3aaf30(0x2a8)];let _0x13fa6d;try{_0x13fa6d=await this[_0x3aaf30(0x1e0)][_0x3aaf30(0x207)]();}catch{const _0x523bdf=_0xb20de9(_0x1bac70,_0x3aaf30(0x22a));return void this[_0x3aaf30(0x26d)](_0x523bdf);}const _0xedfcd9=_0x13fa6d[_0x3aaf30(0x26f)]||_0x13fa6d[_0x3aaf30(0x28a)];if(this[_0x3aaf30(0x2da)]===_0xedfcd9[_0x3aaf30(0x298)])await this[_0x3aaf30(0x24e)](this[_0x3aaf30(0x2a8)][_0x3aaf30(0x2bc)][_0x3aaf30(0x2d0)][_0x3aaf30(0x293)][_0x3aaf30(0x1ec)](),!0x0);else{const _0x382762=_0xb20de9(_0x1bac70,_0x3aaf30(0x2cd));this[_0x3aaf30(0x26d)](_0x382762);}}[_0x372cf6(0x291)](){const _0x2ee4f6=_0x372cf6;this[_0x2ee4f6(0x1e0)][_0x2ee4f6(0x28e)](),this[_0x2ee4f6(0x26c)]=[],clearTimeout(this[_0x2ee4f6(0x2a4)]),this[_0x2ee4f6(0x1e4)](this[_0x2ee4f6(0x1e0)]);}[_0x372cf6(0x256)](_0x33d75c){const _0x529350=_0x372cf6,_0x51810b=this[_0x529350(0x2a8)][_0x529350(0x222)][_0x529350(0x255)](_0x4d966d);this[_0x529350(0x240)](_0x51810b,_0x529350(0x2ad)+this[_0x529350(0x269)],(_0x281ca2,{session:_0x230e89})=>{const _0x83e79=_0x529350;if(_0x230e89['id']===_0x51810b[_0x83e79(0x20e)]){_0x281ca2[_0x83e79(0x27d)]();const _0x562dbc=this[_0x83e79(0x2a8)][_0x83e79(0x222)][_0x83e79(0x2a3)](_0x83e79(0x2a2))&&this[_0x83e79(0x2a8)][_0x83e79(0x222)][_0x83e79(0x255)](_0x83e79(0x2a2));let _0x1291e1=_0x230e89[_0x83e79(0x1d9)];_0x562dbc&&_0x562dbc[_0x83e79(0x274)]&&(_0x1291e1=_0x1291e1[_0x83e79(0x295)](_0x2a2d76=>_0x83e79(0x2d9)!==_0x2a2d76)),this[_0x83e79(0x2a8)][_0x83e79(0x222)][_0x83e79(0x255)](_0x83e79(0x20f))[_0x83e79(0x268)](_0x1291e1,this[_0x83e79(0x269)]);}}),_0x51810b[_0x529350(0x282)](this[_0x529350(0x269)],_0x33d75c);}[_0x372cf6(0x247)](){const _0xe1653d=_0x372cf6,_0xb21e3c=this[_0xe1653d(0x2a8)][_0xe1653d(0x2b0)][_0xe1653d(0x296)];this[_0xe1653d(0x2a8)][_0xe1653d(0x2b0)][_0xe1653d(0x296)]=(..._0x1e2674)=>{const _0x192496=_0xe1653d;if(!_0x1e2674[_0x1e2674[_0x192496(0x284)]-0x1][_0x192496(0x2c6)])throw new _0x101d3a(_0x192496(0x228),this);_0xb21e3c[_0x192496(0x201)](this[_0x192496(0x2a8)][_0x192496(0x2b0)],_0x1e2674);};}[_0x372cf6(0x29c)](){const _0x2ab65d=_0x372cf6;this[_0x2ab65d(0x2a8)][_0x2ab65d(0x2b0)]['on'](_0x2ab65d(0x1d8),(_0xb55d82,[_0x77d10f])=>{const _0x1181cb=_0x2ab65d;if(this[_0x1181cb(0x204)][_0x1181cb(0x290)])throw new _0x101d3a(_0x1181cb(0x221),this);_0xb55d82[_0x1181cb(0x1fb)](),this[_0x1181cb(0x1df)]();const _0x4fbcf0=this[_0x1181cb(0x2a8)][_0x1181cb(0x21c)][_0x1181cb(0x255)](_0x1181cb(0x1f9)),_0x41814d=this[_0x1181cb(0x217)](_0x77d10f,_0x4fbcf0);0x0==_0x41814d[_0x1181cb(0x284)]&&_0x41814d[_0x1181cb(0x23c)](new _0x543f55(0x0)),_0xb55d82[_0x1181cb(0x289)]=this[_0x1181cb(0x24e)](_0x41814d)[_0x1181cb(0x20a)](()=>{const _0x24c10a=_0x1181cb;this[_0x24c10a(0x2a8)][_0x24c10a(0x222)][_0x24c10a(0x255)](_0x63ced9)[_0x24c10a(0x1f8)](this),this[_0x24c10a(0x2a8)][_0x24c10a(0x2b0)][_0x24c10a(0x2b5)](_0x24c10a(0x20b));})[_0x1181cb(0x215)](_0x224d0d=>this[_0x1181cb(0x28f)](_0x1181cb(0x24f),_0x224d0d))[_0x1181cb(0x2c2)](()=>this[_0x1181cb(0x20c)]());},{'priority':_0x2ab65d(0x27e)}),this[_0x2ab65d(0x2a8)]['on'](_0x2ab65d(0x203),async(_0x3e0837,[_0x548bd8,_0x5c3e0e])=>{const _0x4a38f4=_0x2ab65d;_0x3e0837[_0x4a38f4(0x1fb)]();const _0x192931=this[_0x4a38f4(0x2a8)][_0x4a38f4(0x2bc)][_0x4a38f4(0x2d0)][_0x4a38f4(0x2c5)](_0x548bd8);if(!this[_0x4a38f4(0x267)][_0x4a38f4(0x2a3)](_0x548bd8)){const _0x5f487d=_0x5c3e0e&&_0x5c3e0e[_0x4a38f4(0x2b0)]?_0x5c3e0e[_0x4a38f4(0x2b0)]:'',_0x21f21f=_0x5c3e0e&&_0x5c3e0e[_0x4a38f4(0x220)]?_0x5c3e0e[_0x4a38f4(0x220)]:{};await this[_0x4a38f4(0x2b8)](_0x548bd8,_0x5f487d,_0x21f21f);}this[_0x4a38f4(0x2a8)][_0x4a38f4(0x2bc)][_0x4a38f4(0x273)]({'isUndoable':!0x1},()=>{const _0x41a0b3=_0x4a38f4;_0x192931[_0x41a0b3(0x1e6)]=!0x0,this[_0x41a0b3(0x2a8)][_0x41a0b3(0x2bc)][_0x41a0b3(0x2d0)][_0x41a0b3(0x209)][_0x41a0b3(0x28c)](_0x192931);});},{'priority':_0x2ab65d(0x27e)});}async[_0x372cf6(0x2b4)](_0x3d578b){const _0x2d5c6d=_0x372cf6,_0x67f1f0=this[_0x2d5c6d(0x2a8)][_0x2d5c6d(0x222)][_0x2d5c6d(0x255)](_0x46ed26),{connection:_0x45baf7}=this[_0x2d5c6d(0x2a8)][_0x2d5c6d(0x222)][_0x2d5c6d(0x255)](_0x63ced9),_0x1b83af=new Set();for(const _0xe9c7f2 of _0x3d578b){const _0x366537=_0xe9c7f2[_0x2d5c6d(0x1e3)];_0x366537&&!_0x67f1f0[_0x2d5c6d(0x205)](_0x366537)&&_0x1b83af[_0x2d5c6d(0x25b)](_0x366537);}if(0x0===_0x1b83af[_0x2d5c6d(0x224)])return;const _0x2fd4fe=await _0x5294d1[_0x2d5c6d(0x208)](_0x45baf7,Array[_0x2d5c6d(0x244)](_0x1b83af));for(const _0x11769f of _0x2fd4fe)_0x67f1f0[_0x2d5c6d(0x205)](_0x11769f['id'])||_0x67f1f0[_0x2d5c6d(0x2db)](_0x11769f);}[_0x372cf6(0x217)](_0x83a783,_0xaa8b09={}){const _0x442b86=_0x372cf6,_0x369425=this[_0x442b86(0x2a8)][_0x442b86(0x2bc)],_0x54d222=[];let _0x5ad441=0x0;const _0x6e8168=_0x442b86(0x243)==typeof _0x83a783?{'main':_0x83a783}:_0x83a783;for(const _0x64f80b of Object[_0x442b86(0x238)](_0x6e8168)){if(!this[_0x442b86(0x204)][_0x442b86(0x2d6)][_0x442b86(0x2a3)](_0x64f80b))throw new _0x101d3a(_0x442b86(0x279),this);const _0x4c02db=this[_0x442b86(0x2a8)][_0x442b86(0x2b0)][_0x442b86(0x234)](_0x6e8168[_0x64f80b]),_0x124ae8=this[_0x442b86(0x204)][_0x442b86(0x2c5)](_0x64f80b),_0x484464=new _0x53f6b2(_0x369425[_0x442b86(0x253)](_0x124ae8,0x0),_0x4c02db,_0x5ad441++);_0x54d222[_0x442b86(0x23c)](_0x484464);for(const [_0x3a60f0,_0x5d63db]of _0x4c02db[_0x442b86(0x1f6)]){const _0x4d7bc3=_0x369425[_0x442b86(0x211)](_0x369425[_0x442b86(0x2ce)](_0x124ae8,_0x5d63db[_0x442b86(0x260)][_0x442b86(0x254)][_0x442b86(0x257)]()),_0x369425[_0x442b86(0x2ce)](_0x124ae8,_0x5d63db[_0x442b86(0x1f7)][_0x442b86(0x254)][_0x442b86(0x257)]())),_0x216511=new _0x107a4c(_0x3a60f0,null,_0x4d7bc3,_0x369425[_0x442b86(0x1f6)],!0x0,_0x5ad441++);_0x54d222[_0x442b86(0x23c)](_0x216511);}}if(_0xaa8b09)for(const [_0xd75d5,_0x35eea0]of Object[_0x442b86(0x258)](_0xaa8b09)){const _0x5b29ff=_0x369425[_0x442b86(0x2d0)][_0x442b86(0x2c5)](_0xd75d5);if(!_0x5b29ff)throw new _0x101d3a(_0x442b86(0x2cf),null);for(const [_0x1e0ba1,_0x3bfb8c]of Object[_0x442b86(0x258)](_0x35eea0))if(null!==_0x3bfb8c){const _0x182bb8=new _0x190d65(_0x5b29ff,_0x1e0ba1,null,_0x3bfb8c,_0x5ad441++);_0x54d222[_0x442b86(0x23c)](_0x182bb8);}}return _0x54d222;}async[_0x372cf6(0x2b8)](_0x3840f7,_0x27dfcc,_0x4fb839){const _0x1663f9=_0x372cf6;this[_0x1663f9(0x217)]({[_0x3840f7]:_0x27dfcc},{[_0x3840f7]:_0x4fb839})[_0x1663f9(0x241)]((_0x1fdac7,_0x4a6436)=>{const _0xc55503=_0x1663f9;_0x1fdac7[_0xc55503(0x1ff)]=this[_0xc55503(0x204)][_0xc55503(0x290)]+_0x4a6436,_0x1fdac7[_0xc55503(0x248)]=!0x0,this[_0xc55503(0x2c0)](_0x1fdac7);}),this[_0x1663f9(0x299)](),await this[_0x1663f9(0x242)]();}async[_0x372cf6(0x23b)](_0x4b5900,_0x5a81d2){const _0x423bfb=_0x372cf6;let _0x3f8235;this[_0x423bfb(0x213)]=_0x4b5900[_0x423bfb(0x2be)];const _0xf7a7be=_0x4b5900[_0x423bfb(0x26e)]&&!_0x4b5900[_0x423bfb(0x29d)],_0x4f7573=_0xf7a7be?0x0:_0x4b5900[_0x423bfb(0x2b0)][_0x423bfb(0x1ff)];if(_0x5a81d2[_0x423bfb(0x241)](_0x39d9e1=>{const _0x49c998=_0x423bfb;_0x39d9e1[_0x49c998(0x248)]=!0x0,_0x39d9e1[_0x49c998(0x2d5)]=_0x4b5900[_0x49c998(0x230)],_0x39d9e1[_0x49c998(0x1e3)]=null;}),_0xf7a7be)_0x3f8235=_0x5a81d2,this[_0x423bfb(0x206)](_0x3f8235,_0xf7a7be);else{if(_0x4b5900[_0x423bfb(0x29d)]){const _0x159f06=this[_0x423bfb(0x217)](_0x4b5900[_0x423bfb(0x29d)]);this[_0x423bfb(0x204)][_0x423bfb(0x293)][_0x423bfb(0x290)]=-_0x159f06[_0x423bfb(0x284)],_0x159f06[_0x423bfb(0x241)](_0x18e040=>{const _0x1aed58=_0x423bfb;_0x18e040[_0x1aed58(0x1ff)]-=_0x159f06[_0x1aed58(0x284)],_0x18e040[_0x1aed58(0x2d5)]=_0x4b5900[_0x1aed58(0x230)],_0x18e040[_0x1aed58(0x248)]=!0x0,_0x18e040[_0x1aed58(0x1e3)]=null;}),this[_0x423bfb(0x206)](_0x159f06,!0x0),this[_0x423bfb(0x288)][_0x423bfb(0x290)]=-_0x159f06[_0x423bfb(0x284)]+this[_0x423bfb(0x213)],this[_0x423bfb(0x23f)](_0x159f06);}this[_0x423bfb(0x204)][_0x423bfb(0x293)][_0x423bfb(0x290)]=_0x4f7573,_0x3f8235=this[_0x423bfb(0x2b7)](_0x4b5900[_0x423bfb(0x2b0)],_0x4b5900[_0x423bfb(0x216)]),await this[_0x423bfb(0x2b4)](_0x3f8235),this[_0x423bfb(0x206)](_0x3f8235,_0xf7a7be);}_0x4b5900[_0x423bfb(0x298)]&&(this[_0x423bfb(0x25e)][_0x423bfb(0x272)](_0x3f8235,_0x4b5900[_0x423bfb(0x298)]),this[_0x423bfb(0x2da)]=_0x4b5900[_0x423bfb(0x298)]),this[_0x423bfb(0x288)][_0x423bfb(0x290)]=_0x4f7573+this[_0x423bfb(0x213)],this[_0x423bfb(0x23f)](_0x3f8235),_0x5a81d2[_0x423bfb(0x295)](_0x33535b=>{const _0x40762c=_0x423bfb,_0x167ef3=this[_0x40762c(0x262)](_0x33535b);return _0x167ef3&&!this[_0x40762c(0x267)][_0x40762c(0x2a3)](_0x167ef3);})[_0x423bfb(0x241)]((_0x246a63,_0xd52cd8)=>{const _0x4f89e6=_0x423bfb;_0x246a63[_0x4f89e6(0x1ff)]=this[_0x4f89e6(0x204)][_0x4f89e6(0x290)]+_0xd52cd8,this[_0x4f89e6(0x2c0)](_0x246a63);}),this[_0x423bfb(0x22f)]()?(this[_0x423bfb(0x1e7)]=0x0,this[_0x423bfb(0x299)](!0x0),await this[_0x423bfb(0x242)]()):(this[_0x423bfb(0x286)]=!0x1,this[_0x423bfb(0x20c)]());}[_0x372cf6(0x28f)](_0x235023,_0x32942e){const _0x38d338=_0x372cf6,_0x61229f=_0x32942e&&_0x32942e[_0x38d338(0x251)];if(_0x61229f&&_0x61229f[_0x38d338(0x1ef)](_0x38d338(0x22b)))throw _0x32942e;const _0x55215d=this[_0x38d338(0x2a8)][_0x38d338(0x222)][_0x38d338(0x255)](_0x63ced9);throw this[_0x38d338(0x286)]=!0x0,_0x55215d[_0x38d338(0x28e)](),this[_0x38d338(0x2a8)][_0x38d338(0x237)](_0x38d338(0x2ca)),new _0x101d3a(_0x235023,this[_0x38d338(0x2a8)],_0x61229f?{'originalError':_0x61229f}:void 0x0);}[_0x372cf6(0x2c0)](_0x20eba1){const _0x57a440=_0x372cf6;this[_0x57a440(0x21f)][_0x57a440(0x2a3)](_0x20eba1)||(this[_0x57a440(0x21f)][_0x57a440(0x25b)](_0x20eba1),this[_0x57a440(0x26c)][_0x57a440(0x23c)](_0x20eba1),this[_0x57a440(0x214)]||_0x57a440(0x2a9)==_0x20eba1[_0x57a440(0x28d)]&&!_0x20eba1[_0x57a440(0x259)]||this[_0x57a440(0x1df)]());}[_0x372cf6(0x299)](_0x5f20a9=!0x1){const _0x4d4cc4=_0x372cf6;!_0x5f20a9&&this[_0x4d4cc4(0x286)]||(this[_0x4d4cc4(0x286)]=!0x0,clearTimeout(this[_0x4d4cc4(0x2a4)]),this[_0x4d4cc4(0x2a4)]=setTimeout(()=>{const _0x564538=_0x4d4cc4;this[_0x564538(0x1ed)]()[_0x564538(0x20a)](_0x546217=>{const _0x3243ce=_0x564538;_0x546217&&(this[_0x3243ce(0x20c)](),this[_0x3243ce(0x286)]=!0x1);})[_0x564538(0x215)](_0x49653d=>{const _0x536dc8=_0x564538;this[_0x536dc8(0x20c)](),this[_0x536dc8(0x286)]=!0x1,function(_0x5e7d65){const _0x320469=_0x536dc8;return _0x5e7d65[_0x320469(0x251)][_0x320469(0x1ef)](_0x320469(0x2a6))||_0x5e7d65[_0x320469(0x251)][_0x320469(0x1ef)](_0x320469(0x219))||_0x5e7d65[_0x320469(0x251)][_0x320469(0x1ef)](_0x320469(0x24d));}(_0x49653d)||this[_0x536dc8(0x28f)](_0x49653d[_0x536dc8(0x251)],_0x49653d);});},this[_0x4d4cc4(0x1e7)]));}[_0x372cf6(0x242)](){return new Promise(_0x5db3c9=>{const _0x33e84d=_0x54ff;this['on'](_0x33e84d(0x2b2),()=>{_0x5db3c9();});});}async[_0x372cf6(0x1ed)](){const _0x4bfb38=_0x372cf6,_0x549158=this[_0x4bfb38(0x2a8)][_0x4bfb38(0x222)][_0x4bfb38(0x255)](_0x4b552d);if(this[_0x4bfb38(0x2c9)]()&&(_0x549158[_0x4bfb38(0x27a)](),this[_0x4bfb38(0x275)]=!0x1),!this[_0x4bfb38(0x22f)]())return!0x0;const _0x197eda=[...this[_0x4bfb38(0x26c)]];for(const _0x4be7b2 of _0x197eda)_0x4be7b2[_0x4bfb38(0x2ae)]=this[_0x4bfb38(0x204)][_0x4bfb38(0x293)][_0x4bfb38(0x2a7)](_0x4be7b2);const _0x2007ba=this[_0x4bfb38(0x25e)][_0x4bfb38(0x29a)](_0x197eda),_0x50e1eb=J++,_0x5f134e=this[_0x4bfb38(0x266)](_0x197eda),_0x2c5a79=await this[_0x4bfb38(0x1e0)][_0x4bfb38(0x233)](_0x5f134e,_0x5f134e[_0x4bfb38(0x1ff)],_0x2007ba);try{return await this[_0x4bfb38(0x1e8)](_0x197eda,_0x2c5a79,_0x50e1eb);}catch(_0xaca633){return this[_0x4bfb38(0x28f)](_0x4bfb38(0x2d4),_0xaca633);}}async[_0x372cf6(0x1e8)](_0x18b017,_0x41defc,_0x4ea01d){const _0x479d16=_0x372cf6;if(_0x479d16(0x2a1)in _0x41defc)throw _0x41defc[_0x479d16(0x2a1)];let _0x4d6ec0=!0x1;if(_0x41defc[_0x479d16(0x26e)]){_0x41defc[_0x479d16(0x298)]&&(this[_0x479d16(0x2da)]=_0x41defc[_0x479d16(0x298)]),this[_0x479d16(0x26c)]=this[_0x479d16(0x26c)][_0x479d16(0x295)](_0xeda79b=>!_0x18b017[_0x479d16(0x297)](_0xeda79b));for(const _0x322e03 of _0x18b017)_0x322e03[_0x479d16(0x2d5)]=_0x479d16(0x229)in _0x41defc&&_0x41defc[_0x479d16(0x229)]||void 0x0;X(_0x18b017,_0x41defc[_0x479d16(0x290)]-_0x18b017[_0x479d16(0x284)]),this[_0x479d16(0x23f)](_0x18b017);const _0x2c1127=_0x18b017[_0x479d16(0x295)](_0x489a7c=>{const _0x401910=_0x479d16;if(!_0x489a7c[_0x401910(0x248)])return!0x1;const _0x481a77=this[_0x401910(0x262)](_0x489a7c);return _0x481a77&&!this[_0x401910(0x267)][_0x401910(0x2a3)](_0x481a77);});X(_0x2c1127,this[_0x479d16(0x204)][_0x479d16(0x290)]),this[_0x479d16(0x206)](_0x2c1127),_0x4d6ec0=!0x0,this[_0x479d16(0x1e7)]=this[_0x479d16(0x223)];}else{const _0x3010d7=this[_0x479d16(0x2b7)](_0x41defc[_0x479d16(0x2b0)],_0x41defc[_0x479d16(0x216)])[_0x479d16(0x295)](_0x16278c=>_0x16278c[_0x479d16(0x1ff)]>=this[_0x479d16(0x210)]);_0x3010d7[_0x479d16(0x241)](_0x5165b8=>this[_0x479d16(0x24c)](_0x5165b8)),this[_0x479d16(0x26c)]=this[_0x479d16(0x26c)][_0x479d16(0x295)](_0x1ce8ff=>!_0x1ce8ff[_0x479d16(0x248)]||!this[_0x479d16(0x267)][_0x479d16(0x2a3)](this[_0x479d16(0x262)](_0x1ce8ff))),this[_0x479d16(0x26c)][_0x479d16(0x284)]&&X(this[_0x479d16(0x26c)],this[_0x479d16(0x26c)][0x0][_0x479d16(0x1ff)]),await this[_0x479d16(0x2b4)](_0x3010d7),_0x4d6ec0=this[_0x479d16(0x236)](_0x3010d7,_0x41defc[_0x479d16(0x290)],_0x41defc[_0x479d16(0x298)]),this[_0x479d16(0x1e7)]=Math[_0x479d16(0x264)](this[_0x479d16(0x1e7)]/0x2);}return _0x4d6ec0?!this[_0x479d16(0x22f)]()||(this[_0x479d16(0x299)](!0x0),!0x1):this[_0x479d16(0x28f)](_0x479d16(0x1fa));}[_0x372cf6(0x236)](_0x1f955d,_0x47372c,_0x5a926e){const _0x156abc=_0x372cf6;try{const _0x50614c={'document':this[_0x156abc(0x204)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4bf248,operationsB:_0x4aadd3,originalOperations:_0x197077}=_0x405de6(_0x1f955d,this[_0x156abc(0x26c)],_0x50614c);X(_0x4bf248,this[_0x156abc(0x204)][_0x156abc(0x290)]),X(_0x4aadd3,_0x47372c);for(const _0x3f519e of _0x4bf248){const _0x517477=_0x197077[_0x156abc(0x255)](_0x3f519e);_0x3f519e[_0x156abc(0x1e3)]=_0x517477?_0x517477[_0x156abc(0x1e3)]:null;}_0x5a926e&&(this[_0x156abc(0x25e)][_0x156abc(0x272)](_0x1f955d,_0x5a926e),this[_0x156abc(0x2da)]=_0x5a926e),this[_0x156abc(0x26c)]=[..._0x4aadd3],this[_0x156abc(0x206)](_0x4bf248),this[_0x156abc(0x23f)](_0x1f955d);}catch(_0x586f63){return console[_0x156abc(0x2a1)](_0x586f63),!0x1;}return!0x0;}[_0x372cf6(0x206)](_0x150461,_0xfc8cfa=!0x1){const _0x529a57=_0x372cf6;this[_0x529a57(0x2a8)][_0x529a57(0x2bc)][_0x529a57(0x273)]({'isUndoable':!0x1,'isLocal':!0x1},_0xf94866=>{const _0x4c9cf1=_0x529a57;for(const _0x272bbe of _0x150461)this[_0x4c9cf1(0x21f)][_0x4c9cf1(0x25b)](_0x272bbe),this[_0x4c9cf1(0x24c)](_0x272bbe),_0xf94866[_0x4c9cf1(0x25f)][_0x4c9cf1(0x1ea)](_0x272bbe),this[_0x4c9cf1(0x2a8)][_0x4c9cf1(0x2bc)][_0x4c9cf1(0x2c8)](_0x272bbe);});}[_0x372cf6(0x24c)](_0xd64c4d){const _0x8e3d29=_0x372cf6,_0x10c2a4=this[_0x8e3d29(0x262)](_0xd64c4d);_0x10c2a4&&this[_0x8e3d29(0x267)][_0x8e3d29(0x25b)](_0x10c2a4);}[_0x372cf6(0x262)](_0x20619b){const _0x4695ea=_0x372cf6;let _0x9a786a,_0x56d575;switch(_0x20619b[_0x4695ea(0x28d)]){case _0x4695ea(0x25d):_0x9a786a=_0x20619b[_0x4695ea(0x1f5)][_0x4695ea(0x21d)];break;case _0x4695ea(0x2a9):if(_0x56d575=_0x20619b[_0x4695ea(0x2bb)],!_0x56d575)return null;_0x9a786a=_0x56d575[_0x4695ea(0x21d)];break;case _0x4695ea(0x1dc):_0x9a786a=_0x20619b[_0x4695ea(0x21d)];break;case _0x4695ea(0x1de):_0x9a786a=_0x20619b[_0x4695ea(0x2a0)];break;case _0x4695ea(0x23e):_0x9a786a=_0x20619b[_0x4695ea(0x26b)][_0x4695ea(0x21d)];break;default:return null;}return _0x9a786a[_0x4695ea(0x2d7)];}[_0x372cf6(0x23f)](_0x42f016){const _0xa00ea4=_0x372cf6;_0x42f016[_0xa00ea4(0x241)](_0x1bd75c=>{const _0x2ae6ed=_0xa00ea4,_0x1eb8de=_0x1bd75c[_0x2ae6ed(0x1f2)]();_0x1eb8de[_0x2ae6ed(0x1e3)]=_0x1bd75c[_0x2ae6ed(0x1e3)],_0x1eb8de[_0x2ae6ed(0x248)]=!!_0x1bd75c[_0x2ae6ed(0x248)],_0x1eb8de[_0x2ae6ed(0x2d5)]=_0x1bd75c[_0x2ae6ed(0x2d5)],_0x1eb8de[_0x2ae6ed(0x1ff)]+=this[_0x2ae6ed(0x213)],_0x1bd75c[_0x2ae6ed(0x294)]&&this[_0x2ae6ed(0x277)][_0x2ae6ed(0x25b)](_0x1eb8de),this[_0x2ae6ed(0x288)][_0x2ae6ed(0x1ea)](_0x1eb8de);});}[_0x372cf6(0x26d)](_0xf985d5){const _0x29c2c2=_0x372cf6,_0xb37c7d=this[_0x29c2c2(0x2a8)][_0x29c2c2(0x222)][_0x29c2c2(0x255)](_0x29c2c2(0x22e)),_0x27efa6=this[_0x29c2c2(0x2a8)][_0x29c2c2(0x2cb)];_0xf985d5||(_0xf985d5=_0xb20de9(_0x27efa6,_0x29c2c2(0x2b9))),_0xb37c7d[_0x29c2c2(0x22d)](_0xf985d5,{'title':_0xb20de9(_0x27efa6,_0x29c2c2(0x24a)),'namespace':_0x29c2c2(0x281)}),this[_0x29c2c2(0x1f1)]=!0x0,clearTimeout(this[_0x29c2c2(0x2a4)]),this[_0x29c2c2(0x26c)]=[],this[_0x29c2c2(0x2a8)][_0x29c2c2(0x222)][_0x29c2c2(0x255)](_0x63ced9)[_0x29c2c2(0x28e)]();}[_0x372cf6(0x1df)](){const _0x1d1d24=_0x372cf6;this[_0x1d1d24(0x214)]||(this[_0x1d1d24(0x214)]=this[_0x1d1d24(0x2a8)][_0x1d1d24(0x222)][_0x1d1d24(0x255)](_0x924abb)[_0x1d1d24(0x25b)](_0xb20de9(this[_0x1d1d24(0x2a8)][_0x1d1d24(0x2cb)],_0x1d1d24(0x2b6))));}[_0x372cf6(0x20c)](){const _0x2b8b7b=_0x372cf6;this[_0x2b8b7b(0x214)]&&(this[_0x2b8b7b(0x2a8)][_0x2b8b7b(0x222)][_0x2b8b7b(0x255)](_0x924abb)[_0x2b8b7b(0x29e)](this[_0x2b8b7b(0x214)]),this[_0x2b8b7b(0x214)]=null);}[_0x372cf6(0x266)](_0x4d10a6){const _0x3486c6=_0x372cf6,_0x6a5f8e=_0x4d10a6[_0x3486c6(0x23d)](_0x4d73fb=>_0x4d73fb[_0x3486c6(0x25c)]());return this[_0x3486c6(0x276)][_0x3486c6(0x25a)](_0x6a5f8e);}[_0x372cf6(0x2b7)](_0x3ef6a3,_0x235ff0){const _0x54c0cb=_0x372cf6;return this[_0x54c0cb(0x276)][_0x54c0cb(0x1eb)](_0x3ef6a3)[_0x54c0cb(0x23d)]((_0x53ded9,_0x510390)=>{const _0x101e50=_0x54c0cb,_0xe56f77=_0x101e50(0x1d8)==_0x235ff0[_0x510390][_0x101e50(0x28d)];if(_0x101e50(0x2c4)==_0x53ded9[_0x101e50(0x29b)]){const _0x2ee1ea=_0x53ded9[_0x101e50(0x1f5)][_0x101e50(0x21d)];!this[_0x101e50(0x204)][_0x101e50(0x2c5)](_0x2ee1ea)&&(this[_0x101e50(0x204)][_0x101e50(0x249)](_0x101e50(0x280),_0x2ee1ea)[_0x101e50(0x27b)]=!0x1);}const _0x249005=_0x3500c0[_0x101e50(0x2ba)](_0x53ded9,this[_0x101e50(0x204)]);return _0x249005[_0x101e50(0x2ae)]=_0x53ded9[_0x101e50(0x2ae)],_0x249005[_0x101e50(0x248)]=_0xe56f77,_0x249005[_0x101e50(0x1e3)]=_0xe56f77?null:_0x235ff0[_0x510390][_0x101e50(0x278)],_0x249005[_0x101e50(0x294)]=_0x101e50(0x263)===_0x235ff0[_0x510390][_0x101e50(0x28d)],_0x249005[_0x101e50(0x2d5)]=_0x235ff0[_0x510390][_0x101e50(0x2d5)],_0x249005;});}[_0x372cf6(0x1fe)](){const _0x2b3292=_0x372cf6;this[_0x2b3292(0x275)]=!0x0,this[_0x2b3292(0x2c9)]()?this[_0x2b3292(0x299)]():this[_0x2b3292(0x275)]=!0x1;}[_0x372cf6(0x2c9)](){const _0x4f248b=_0x372cf6,_0x22d968=this[_0x4f248b(0x2a8)][_0x4f248b(0x222)][_0x4f248b(0x255)](_0x4d966d)[_0x4f248b(0x1e9)][_0x4f248b(0x255)](this[_0x4f248b(0x269)]);return!this[_0x4f248b(0x2a8)][_0x4f248b(0x2aa)]&&!!_0x22d968&&_0x22d968[_0x4f248b(0x284)]>0x1&&this[_0x4f248b(0x275)];}[_0x372cf6(0x22f)](){const _0x39f23a=_0x372cf6;return this[_0x39f23a(0x26c)][_0x39f23a(0x284)]>0x0||this[_0x39f23a(0x2c9)]();}}export default l;class Q extends Error{}function X(_0x43bce8,_0x277ba6){const _0x12f561=_0x372cf6;for(const _0x445fe5 of _0x43bce8)_0x445fe5[_0x12f561(0x1ff)]=_0x277ba6++;}class Y{[_0x372cf6(0x283)];[_0x372cf6(0x2af)];constructor(_0x5c98ff){const _0x3af75d=_0x372cf6;this[_0x3af75d(0x283)]=_0x5c98ff,this[_0x3af75d(0x2af)]=new WeakMap();}[_0x372cf6(0x29a)](_0x3f5ef1){const _0x59a9a9=_0x372cf6;let _0x2e09b7=_0x3f5ef1[_0x59a9a9(0x284)];for(;_0x2e09b7--;){const _0x6777bf=_0x3f5ef1[_0x2e09b7];if(!this[_0x59a9a9(0x283)][_0x59a9a9(0x2a3)](_0x6777bf)){if(!this[_0x59a9a9(0x2af)][_0x59a9a9(0x2a3)](_0x6777bf)){const _0x11247d=_0x4660d9()[_0x59a9a9(0x257)](0x1,0x12);this[_0x59a9a9(0x2af)][_0x59a9a9(0x296)](_0x6777bf,_0x11247d);}return this[_0x59a9a9(0x2af)][_0x59a9a9(0x255)](_0x6777bf);}}}[_0x372cf6(0x272)](_0x5784b6,_0x4428dd){const _0xde5caa=_0x372cf6;if(!_0x4428dd)return;let _0x21af93=_0x5784b6[_0xde5caa(0x284)];for(;_0x21af93--;){const _0x2f7a6b=_0x5784b6[_0x21af93];this[_0xde5caa(0x283)][_0xde5caa(0x2a3)](_0x2f7a6b)||this[_0xde5caa(0x2af)][_0xde5caa(0x296)](_0x2f7a6b,_0x4428dd);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5920c0=_0x2004;(function(_0x35e6fb,_0x1fe299){const _0x37a037=_0x2004,_0x1377b8=_0x35e6fb();while(!![]){try{const _0x55eefd=-parseInt(_0x37a037(0xa1))/0x1*(-parseInt(_0x37a037(0xbc))/0x2)+-parseInt(_0x37a037(0xa8))/0x3*(-parseInt(_0x37a037(0x9d))/0x4)+-parseInt(_0x37a037(0x91))/0x5+parseInt(_0x37a037(0x8c))/0x6+parseInt(_0x37a037(0xc1))/0x7+-parseInt(_0x37a037(0xac))/0x8+-parseInt(_0x37a037(0xa3))/0x9;if(_0x55eefd===_0x1fe299)break;else _0x1377b8['push'](_0x1377b8['shift']());}catch(_0x1a395d){_0x1377b8['push'](_0x1377b8['shift']());}}}(_0x349e,0xdff20));import{ContextPlugin as _0x413678}from'ckeditor5/src/core.js';import{Collection as _0x499873,CKEditorError as _0x388b99}from'ckeditor5/src/utils.js';import _0x2298e5 from'./websocketgateway.js';function _0x349e(){const _0x82d68f=['set','remove','_registeredSessions','1162203TsDdjb','connection','getUserSessions','sessionId','context','values','mySessionId','sessionAdd:','9209544TDCoBr','unregister','getUserRole','addUser','clear','6072635ImVPQu','_uniqueUsersCount','pluginName','forEach','listenTo','defineMe','_handleSessionRemove','Sessions','isOfficialPlugin','allConnectedUsers','role','channelConnectedUsers','9644GpFBvc','get','channelSessions','stopListening','1593078vrCmKR','getUser','10773981XZeJua','user','change:state','size','_users','1278WZtjAV','requires','delete','connected','7937608vlQSGK','state','orderNumber','sessions-unregister-not-exist','init','_createUser','assign','isPremiumPlugin','has','fire','_handleSessionAdd','add','register','sessions-register-already-registered','getUserBySessionId','isMe','2OzKeYM','plugins'];_0x349e=function(){return _0x82d68f;};return _0x349e();}function _0x2004(_0x3da839,_0x488221){const _0x349e65=_0x349e();return _0x2004=function(_0x2004a5,_0x5d1319){_0x2004a5=_0x2004a5-0x89;let _0x19be49=_0x349e65[_0x2004a5];return _0x19be49;},_0x2004(_0x3da839,_0x488221);}import{Users as _0x4e0fce}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x413678{[_0x5920c0(0x9f)];[_0x5920c0(0x9c)];[_0x5920c0(0x9a)];[_0x5920c0(0xc0)];[_0x5920c0(0x92)];[_0x5920c0(0xa7)];static get[_0x5920c0(0x93)](){const _0x5bd52b=_0x5920c0;return _0x5bd52b(0x98);}static get[_0x5920c0(0x99)](){return!0x0;}static get[_0x5920c0(0xb3)](){return!0x0;}static get[_0x5920c0(0xa9)](){return[_0x2298e5,_0x4e0fce];}constructor(_0x351892){const _0x4b8e85=_0x5920c0;super(_0x351892),this[_0x4b8e85(0x9f)]=new Map(),this[_0x4b8e85(0x9c)]=new Map(),this[_0x4b8e85(0x9a)]=new _0x499873(),this[_0x4b8e85(0xc0)]=new Map(),this[_0x4b8e85(0x92)]=0x0,this[_0x4b8e85(0xa7)]=this[_0x4b8e85(0xc5)][_0x4b8e85(0xbd)][_0x4b8e85(0x9e)](_0x4e0fce);}[_0x5920c0(0xb0)](){const _0x4bba80=_0x5920c0,_0x3658c7=this[_0x4bba80(0xc5)][_0x4bba80(0xbd)][_0x4bba80(0x9e)](_0x2298e5);this[_0x4bba80(0x95)](_0x3658c7,_0x4bba80(0xa5),(_0x221aee,_0x5246e3,_0x7b57cf)=>{const _0x1d32c6=_0x4bba80;if(_0x1d32c6(0xab)!==_0x7b57cf)this[_0x1d32c6(0x9f)][_0x1d32c6(0x94)](_0x554c08=>_0x554c08[_0x1d32c6(0x90)]()),this[_0x1d32c6(0x9c)][_0x1d32c6(0x94)](_0x4c894d=>_0x4c894d[_0x1d32c6(0x90)]()),this[_0x1d32c6(0x9a)][_0x1d32c6(0x90)]();else{for(const [_0x106c2e,_0x117091]of this[_0x1d32c6(0xc0)])for(const _0x23712c of _0x117091)this[_0x1d32c6(0xb6)](_0x106c2e,_0x23712c);}}),this[_0x4bba80(0xb1)](_0x3658c7[_0x4bba80(0xc2)]['me'],!0x0);}[_0x5920c0(0xb8)](_0x34db3a,_0x5a31fa){const _0x40f76=_0x5920c0;if(this[_0x40f76(0xc0)][_0x40f76(0xb4)](_0x34db3a))throw new _0x388b99(_0x40f76(0xb9),null,{'channelId':_0x34db3a});this[_0x40f76(0xc0)][_0x40f76(0xbe)](_0x34db3a,_0x5a31fa),this[_0x40f76(0x9f)][_0x40f76(0xbe)](_0x34db3a,new _0x499873()),this[_0x40f76(0x9c)][_0x40f76(0xbe)](_0x34db3a,new _0x499873()),this[_0x40f76(0x95)](_0x5a31fa,_0x40f76(0xb7),(_0xdadb52,_0x1ae2cc)=>this[_0x40f76(0xb6)](_0x34db3a,_0x1ae2cc)),this[_0x40f76(0x95)](_0x5a31fa,_0x40f76(0xbf),(_0x3fc0cc,_0x11c3d8)=>this[_0x40f76(0x97)](_0x34db3a,_0x11c3d8));for(const _0x2eae7d of _0x5a31fa)this[_0x40f76(0xb6)](_0x34db3a,_0x2eae7d);}[_0x5920c0(0x8d)](_0x24ab04){const _0x501e69=_0x5920c0;if(!this[_0x501e69(0xc0)][_0x501e69(0xb4)](_0x24ab04))throw new _0x388b99(_0x501e69(0xaf),null,{'channelId':_0x24ab04});const _0x3984ba=this[_0x501e69(0xc0)][_0x501e69(0x9e)](_0x24ab04);this[_0x501e69(0xa0)](_0x3984ba);for(const _0x2b6e75 of _0x3984ba)_0x501e69(0xab)===this[_0x501e69(0xc5)][_0x501e69(0xbd)][_0x501e69(0x9e)](_0x2298e5)[_0x501e69(0xad)]&&this[_0x501e69(0x97)](_0x24ab04,_0x2b6e75);this[_0x501e69(0xc0)][_0x501e69(0xaa)](_0x24ab04),this[_0x501e69(0x9f)][_0x501e69(0xaa)](_0x24ab04),this[_0x501e69(0x9c)][_0x501e69(0xaa)](_0x24ab04);}get[_0x5920c0(0x8a)](){const _0x494803=_0x5920c0;return this[_0x494803(0xc5)][_0x494803(0xbd)][_0x494803(0x9e)](_0x2298e5)[_0x494803(0xc2)][_0x494803(0xc4)];}[_0x5920c0(0xba)](_0x2191b7){const _0x4b2afa=_0x5920c0;for(const _0x23c01e of this[_0x4b2afa(0x9f)][_0x4b2afa(0x89)]())for(const _0x50d94f of _0x23c01e)if(_0x50d94f['id']===_0x2191b7)return _0x50d94f[_0x4b2afa(0xa4)];}[_0x5920c0(0xc3)](_0x4c4297,_0x5205c0){const _0x136740=_0x5920c0,_0x2ee75a=_0x5205c0?[this[_0x136740(0x9f)][_0x136740(0x9e)](_0x5205c0)]:this[_0x136740(0x9f)][_0x136740(0x89)](),_0x42224a=new Set();for(const _0xba2c8e of _0x2ee75a)for(const _0xbc434d of _0xba2c8e)_0xbc434d[_0x136740(0xa4)]['id']===_0x4c4297['id']&&_0x42224a[_0x136740(0xb7)](_0xbc434d['id']);return _0x42224a;}[_0x5920c0(0x8e)](_0x53ab85){const _0x384f5e=_0x5920c0;for(const _0x57c54f of this[_0x384f5e(0x9f)][_0x384f5e(0x89)]())for(const _0x587506 of _0x57c54f)if(_0x587506[_0x384f5e(0xa4)]===_0x53ab85)return _0x587506[_0x384f5e(0x9b)];}[_0x5920c0(0xb6)](_0xd19268,_0x50eadc){const _0x16e7b4=_0x5920c0;if(_0x16e7b4(0xab)!==this[_0x16e7b4(0xc5)][_0x16e7b4(0xbd)][_0x16e7b4(0x9e)](_0x2298e5)[_0x16e7b4(0xad)])return;const _0x5c5056=_0x50eadc[_0x16e7b4(0xa4)],_0x576aed=this[_0x16e7b4(0xa7)][_0x16e7b4(0xa2)](_0x5c5056['id'])||this[_0x16e7b4(0xb1)](_0x5c5056),_0x3de4d1=Object[_0x16e7b4(0xb2)]({},_0x50eadc,{'user':_0x576aed});this[_0x16e7b4(0x9f)][_0x16e7b4(0x9e)](_0xd19268)[_0x16e7b4(0xb7)](_0x3de4d1);const _0x975d4=this[_0x16e7b4(0x9c)][_0x16e7b4(0x9e)](_0xd19268);_0x975d4[_0x16e7b4(0xb4)](_0x576aed['id'])||_0x975d4[_0x16e7b4(0xb7)](_0x576aed),this[_0x16e7b4(0x9a)][_0x16e7b4(0xb4)](_0x576aed['id'])||this[_0x16e7b4(0x9a)][_0x16e7b4(0xb7)](_0x576aed,_0x576aed[_0x16e7b4(0xbb)]?0x0:void 0x0),this[_0x16e7b4(0xb5)](_0x16e7b4(0x8b)+_0xd19268,{'channelId':_0xd19268,'session':_0x3de4d1});}[_0x5920c0(0x97)](_0x17a06d,_0x2e878c){const _0x1a9710=_0x5920c0;if(_0x1a9710(0xab)!==this[_0x1a9710(0xc5)][_0x1a9710(0xbd)][_0x1a9710(0x9e)](_0x2298e5)[_0x1a9710(0xad)])return;const _0x25fcc1=this[_0x1a9710(0x9c)][_0x1a9710(0x9e)](_0x17a06d),_0x5b2f95=_0x2e878c[_0x1a9710(0xa4)];_0x5b2f95['id']&&(this[_0x1a9710(0x9f)][_0x1a9710(0x9e)](_0x17a06d)[_0x1a9710(0xbf)](_0x2e878c['id']),_0x25fcc1[_0x1a9710(0xb4)](_0x5b2f95['id'])&&!this[_0x1a9710(0xc3)](_0x5b2f95,_0x17a06d)[_0x1a9710(0xa6)]&&_0x25fcc1[_0x1a9710(0xbf)](_0x5b2f95['id']),this[_0x1a9710(0x9a)][_0x1a9710(0x9e)](_0x5b2f95['id'])&&!this[_0x1a9710(0xc3)](_0x5b2f95)[_0x1a9710(0xa6)]&&this[_0x1a9710(0x9a)][_0x1a9710(0xbf)](_0x5b2f95['id']));}[_0x5920c0(0xb1)](_0x1aecc7,_0x326756){const _0x2f4936=_0x5920c0,_0xf1e309=this[_0x2f4936(0xa7)][_0x2f4936(0x8f)](_0x1aecc7);return _0x326756&&this[_0x2f4936(0xa7)][_0x2f4936(0x96)](_0x1aecc7['id']),_0xf1e309[_0x2f4936(0xae)]=this[_0x2f4936(0x92)]++,_0xf1e309;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20f991=_0x459b;(function(_0x4a1db4,_0x13fadc){const _0x179709=_0x459b,_0x22d58c=_0x4a1db4();while(!![]){try{const _0x45974f=parseInt(_0x179709(0xda))/0x1*(-parseInt(_0x179709(0xc1))/0x2)+-parseInt(_0x179709(0xaf))/0x3+parseInt(_0x179709(0xd4))/0x4*(parseInt(_0x179709(0xd2))/0x5)+-parseInt(_0x179709(0xea))/0x6+parseInt(_0x179709(0x11e))/0x7*(-parseInt(_0x179709(0x12f))/0x8)+-parseInt(_0x179709(0xf5))/0x9+-parseInt(_0x179709(0x115))/0xa*(-parseInt(_0x179709(0xd6))/0xb);if(_0x45974f===_0x13fadc)break;else _0x22d58c['push'](_0x22d58c['shift']());}catch(_0x3c5db7){_0x22d58c['push'](_0x22d58c['shift']());}}}(_0x3ec5,0xd3156));import{Plugin as _0x19bb4c}from'ckeditor5/src/core.js';import{global as _0x24a72c,DomEmitterMixin as _0x49cb19}from'ckeditor5/src/utils.js';import _0x3e7717 from'./sessions.js';import{LiveRange as _0x465d14}from'ckeditor5/src/engine.js';function _0x459b(_0x1272e0,_0x8c4a51){const _0x3ec53e=_0x3ec5();return _0x459b=function(_0x459bed,_0xdcdaa3){_0x459bed=_0x459bed-0xaf;let _0x2362b0=_0x3ec53e[_0x459bed];return _0x2362b0;},_0x459b(_0x1272e0,_0x8c4a51);}import'../../theme/usermarkers.css';export default class q extends _0x19bb4c{[_0x20f991(0x125)]=new(_0x49cb19())();static get[_0x20f991(0x110)](){return[_0x3e7717];}static get[_0x20f991(0x10d)](){const _0x2e4a7c=_0x20f991;return _0x2e4a7c(0xe4);}static get[_0x20f991(0x136)](){return!0x0;}static get[_0x20f991(0xb4)](){return!0x0;}[_0x20f991(0xfe)](){const _0x4a24b7=_0x20f991,_0x456925=this[_0x4a24b7(0x122)],_0x2ad410=_0x456925[_0x4a24b7(0xf9)][_0x4a24b7(0xcb)](_0x3e7717);_0x456925[_0x4a24b7(0x127)][_0x4a24b7(0xf7)](_0x4a24b7(0x135))[_0x4a24b7(0x129)]({'model':_0x4a24b7(0xbd),'view':(_0x30572a,{writer:_0x1206b9})=>function(_0x3dbb5f,_0x208c26,_0x5ec88d,_0x2b4789){const _0x4f8835=_0x4a24b7,_0x395e0d=_0x3dbb5f[_0x4f8835(0x128)][_0x4f8835(0x116)](':')[0x2],_0x23224c=_0x5ec88d[_0x4f8835(0xb5)](_0x395e0d);if(!_0x23224c||_0x395e0d===_0x5ec88d[_0x4f8835(0xe9)])return;if(!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)][_0x4f8835(0xe6)](_0x3dbb5f[_0x4f8835(0x137)][_0x4f8835(0xc9)],_0x4f8835(0xdd)))return;const _0x3064a0={'class':_0x4f8835(0xfd)+_0x23224c[_0x4f8835(0x123)][_0x4f8835(0xcf)](),'data-name':_0x23224c[_0x4f8835(0xcc)],'data-session-id':_0x395e0d},_0x384a4b=_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x103)][_0x4f8835(0xcb)](_0x3dbb5f[_0x4f8835(0x128)]),_0x47e221=_0x384a4b[_0x4f8835(0xba)](),_0x2c97e0=_0x47e221[_0x4f8835(0x12d)],_0x44769d=_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)];if(_0x2c97e0&&_0x44769d[_0x4f8835(0x10e)](_0x2c97e0)&&_0x44769d[_0x4f8835(0xc3)](_0x2c97e0)&&!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x103)][_0x4f8835(0xcb)](_0x4f8835(0x109)+_0x395e0d)[_0x4f8835(0xfc)]()[_0x4f8835(0x130)])return;const _0x5ea3ec=_0x47e221[_0x4f8835(0xf0)];return _0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)][_0x4f8835(0xc0)](_0x5ea3ec)&&!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x10f)](_0x5ea3ec)&&(_0x3064a0[_0x4f8835(0xc5)]=!0x1),function(_0x312145,_0x3bca13,_0x4d4227){const _0x15faff=_0x4f8835,_0xb86d24=_0x312145[_0x15faff(0x108)](_0x15faff(0xf8),_0x3bca13);return _0x312145[_0x15faff(0xc6)](_0x15faff(0x139),!0x0,_0xb86d24),_0xb86d24[_0x15faff(0xdc)]=function(_0x1a7066){const _0x295bd6=_0x15faff,_0x5cee8d=this[_0x295bd6(0xed)](_0x1a7066),_0x46c810=document[_0x295bd6(0x100)](_0x295bd6(0xf8));return _0x46c810[_0x295bd6(0xf4)][_0x295bd6(0xbb)](_0x295bd6(0xe2)),_0x46c810[_0x295bd6(0xcd)](_0x295bd6(0xc5),_0x295bd6(0x13a)),_0x46c810[_0x295bd6(0xcd)](_0x295bd6(0xb2),_0x295bd6(0x13a)),_0x46c810[_0x295bd6(0xc2)]=_0x4d4227[_0x295bd6(0xcc)],_0x5cee8d[_0x295bd6(0x132)]=_0x295bd6(0xe3)+_0x46c810[_0x295bd6(0xfb)]+'',_0x5cee8d[_0x295bd6(0x11a)](_0x295bd6(0xe5),()=>{const _0x406401=_0x295bd6;_0x5cee8d[_0x406401(0xf4)][_0x406401(0xbb)](_0x406401(0x112));}),_0x5cee8d[_0x295bd6(0x11a)](_0x295bd6(0x113),()=>{const _0x20ce97=_0x295bd6;_0x5cee8d[_0x20ce97(0xf4)][_0x20ce97(0x104)](_0x20ce97(0x112));}),_0x5cee8d;},_0xb86d24[_0x15faff(0xd1)]=function(_0x4e83e6){const _0xdadb57=_0x15faff;return!(!this[_0xdadb57(0x11b)](_0xdadb57(0x139))||!_0x4e83e6[_0xdadb57(0x11b)](_0xdadb57(0x139))||this[_0xdadb57(0xc8)](_0xdadb57(0x12a))!=_0x4e83e6[_0xdadb57(0xc8)](_0xdadb57(0x12a)));},_0xb86d24;}(_0x208c26,_0x3064a0,_0x23224c);}(_0x30572a,_0x1206b9,_0x2ad410,_0x456925)}),_0x456925[_0x4a24b7(0x127)][_0x4a24b7(0xf7)](_0x4a24b7(0x135))[_0x4a24b7(0xb8)]({'model':_0x4a24b7(0xf1),'view':_0x4d24d3=>function(_0x3726e4,_0x10950f){const _0x5a5ce7=_0x4a24b7,_0x2fd4bb=_0x3726e4[_0x5a5ce7(0x128)][_0x5a5ce7(0x116)](':')[0x2];if(_0x2fd4bb===_0x10950f[_0x5a5ce7(0xe9)])return null;const _0x23a63c=_0x10950f[_0x5a5ce7(0xb5)](_0x2fd4bb);if(!_0x23a63c)return{'id':_0x2fd4bb,'classes':[]};return{'id':_0x2fd4bb,'classes':[_0x5a5ce7(0x124),_0x23a63c[_0x5a5ce7(0x123)][_0x5a5ce7(0xde)]()],'attributes':{'data-session-id':_0x2fd4bb},'priority':0x7d0+_0x23a63c[_0x5a5ce7(0xbc)]};}(_0x4d24d3,_0x2ad410)}),function(_0xb648e5){const _0x4cfc96=_0x4a24b7,_0x54a4cf=_0xb648e5[_0x4cfc96(0x105)],_0xb45a89=new Map(),_0x27418a=_0xb648e5[_0x4cfc96(0xf9)][_0x4cfc96(0xcb)](_0x3e7717);_0x54a4cf[_0x4cfc96(0x103)]['on'](_0x4cfc96(0x11f),(_0x2a5a59,_0x452edc,_0x2899cc,_0x5b2ddf)=>{const _0x201183=_0x4cfc96;if(!_0x5b2ddf&&_0xb45a89[_0x201183(0xcb)](_0x452edc[_0x201183(0xcc)]))return _0xb45a89[_0x201183(0xcb)](_0x452edc[_0x201183(0xcc)])[_0x201183(0x111)](),void _0xb45a89[_0x201183(0x107)](_0x452edc[_0x201183(0xcc)]);const _0x136d27=_0x452edc[_0x201183(0xcc)][_0x201183(0x116)](':')[0x2];if(_0x136d27===_0x27418a[_0x201183(0xe9)])return;const _0x370905=_0x201183(0x120)+_0x136d27;_0x54a4cf[_0x201183(0x103)][_0x201183(0xe1)](_0x370905)&&_0xb648e5[_0x201183(0x126)][_0x201183(0xd0)](_0x370905),_0x452edc['on'](_0x201183(0xd3),(_0x2293d8,_0x2d8a0a,_0x32bd78)=>{const _0x3e8b81=_0x201183;if(_0x3e8b81(0x12b)!=_0x2d8a0a[_0x3e8b81(0x121)][_0x3e8b81(0x131)]&&_0x3e8b81(0x12b)==_0x452edc[_0x3e8b81(0xfc)]()[_0x3e8b81(0x121)][_0x3e8b81(0x131)]&&!_0xb45a89[_0x3e8b81(0xe1)](_0x452edc[_0x3e8b81(0xcc)])){const _0x494bc9=_0x54a4cf[_0x3e8b81(0xdf)][_0x3e8b81(0xca)](_0x32bd78[_0x3e8b81(0xb0)]);if(_0x494bc9){const _0x59a8d8=_0x465d14[_0x3e8b81(0x101)](_0x494bc9);_0xb45a89[_0x3e8b81(0xe7)](_0x452edc[_0x3e8b81(0xcc)],_0x59a8d8),_0x59a8d8['on'](_0x3e8b81(0xd3),(_0xbdd30b,_0x14104d,_0x5ececc)=>{const _0x2dbfd5=_0x3e8b81;if(_0x2dbfd5(0x12b)==_0x59a8d8[_0x2dbfd5(0x121)][_0x2dbfd5(0x131)]){const _0x598b5a=_0x54a4cf[_0x2dbfd5(0xdf)][_0x2dbfd5(0xca)](_0x5ececc[_0x2dbfd5(0xb0)]);_0x598b5a?(_0x59a8d8[_0x2dbfd5(0xc9)]=_0x598b5a[_0x2dbfd5(0xc9)],_0x59a8d8[_0x2dbfd5(0x114)]=_0x598b5a[_0x2dbfd5(0x114)]):(_0xb45a89[_0x2dbfd5(0x107)](_0x452edc[_0x2dbfd5(0xcc)]),_0x59a8d8[_0x2dbfd5(0x111)]());}});}}});}),_0x54a4cf[_0x4cfc96(0x106)]['on'](_0x4cfc96(0xce),()=>{const _0x2c4d3a=_0x4cfc96;_0xb45a89[_0x2c4d3a(0x10a)]>0x0&&_0x54a4cf[_0x2c4d3a(0xb1)]({'isUndoable':!0x1},_0x419bc6=>{const _0x8f73ff=_0x2c4d3a;for(const [_0x25624e,_0x1f4cd1]of _0xb45a89)_0x8f73ff(0x12b)==_0x54a4cf[_0x8f73ff(0x103)][_0x8f73ff(0xcb)](_0x25624e)[_0x8f73ff(0xfc)]()[_0x8f73ff(0x121)][_0x8f73ff(0x131)]&&(te(_0x25624e[_0x8f73ff(0x116)](':')[0x2],_0x1f4cd1[_0x8f73ff(0xff)](),_0x54a4cf,_0x419bc6),_0x1f4cd1[_0x8f73ff(0x111)]());_0xb45a89[_0x8f73ff(0xb3)]();});});}(_0x456925),this[_0x4a24b7(0x125)][_0x4a24b7(0x11d)](_0x24a72c[_0x4a24b7(0x106)],_0x4a24b7(0x118),(_0x40044d,{key:_0x2fbb89})=>{const _0x42756b=_0x4a24b7;_0x42756b(0x138)===_0x2fbb89&&function(_0x5b0f27){const _0x31d8da=_0x42756b;_0x5b0f27[_0x31d8da(0x126)][_0x31d8da(0xd8)][_0x31d8da(0xce)](_0x3e8b19=>{const _0x51f243=_0x31d8da;for(const _0x4d4da0 of _0x5b0f27[_0x51f243(0x105)][_0x51f243(0x103)]){if(!_0x4d4da0[_0x51f243(0xcc)][_0x51f243(0x119)](_0x51f243(0xbd)))continue;const _0x4473f8=_0x5b0f27[_0x51f243(0x126)][_0x51f243(0xeb)][_0x51f243(0xb6)](_0x4d4da0[_0x51f243(0xcc)]);if(_0x4473f8){for(const _0x307e8d of _0x4473f8)_0x3e8b19[_0x51f243(0xc4)](_0x51f243(0x112),_0x307e8d);}}});}(_0x456925);},{'useCapture':!0x0});}[_0x20f991(0x12c)](){const _0x77f0ba=_0x20f991,_0x1be082=this[_0x77f0ba(0x122)],_0x4fea1c=_0x1be082[_0x77f0ba(0xec)][_0x77f0ba(0xcb)](_0x77f0ba(0xf6));_0x4fea1c&&_0x1be082[_0x77f0ba(0x105)]['on'](_0x77f0ba(0xee),(_0x3e9d3d,_0x26178e)=>{const _0x14ffcf=_0x77f0ba,_0x435a22=_0x26178e[0x0];if(!_0x435a22[_0x14ffcf(0xdb)])return;if(_0x14ffcf(0x11c)!=_0x435a22[_0x14ffcf(0x102)]||!_0x435a22[_0x14ffcf(0xcc)][_0x14ffcf(0x119)](_0x14ffcf(0xb7)))return;const _0x48c396=_0x435a22[_0x14ffcf(0xfa)];_0x4fea1c[_0x14ffcf(0x10c)][_0x14ffcf(0xe1)](_0x48c396)&&(_0x435a22[_0x14ffcf(0xe0)]=_0x435a22[_0x14ffcf(0xef)]?_0x1be082[_0x14ffcf(0x105)][_0x14ffcf(0xd9)](_0x435a22[_0x14ffcf(0xef)][_0x14ffcf(0xc9)],_0x435a22[_0x14ffcf(0xef)][_0x14ffcf(0x114)]):null);},{'priority':_0x77f0ba(0xd5)});}[_0x20f991(0xbf)](){const _0x3d59e4=_0x20f991;return this[_0x3d59e4(0x125)][_0x3d59e4(0xe8)](),super[_0x3d59e4(0xbf)]();}[_0x20f991(0xb9)](){const _0x547633=_0x20f991,_0xbd611d=this[_0x547633(0x122)],_0x54bc70=_0xbd611d[_0x547633(0x105)][_0x547633(0x106)],_0xdcd2df=_0xbd611d[_0x547633(0xf9)][_0x547633(0xcb)](_0x3e7717);_0xbd611d[_0x547633(0x105)][_0x547633(0xb1)]({'isUndoable':!0x1},_0x4390f9=>{const _0x3117b4=_0x547633,_0x7fbf3d=_0x3117b4(0x109)+_0xdcd2df[_0x3117b4(0xe9)],_0x2beb9f=_0x3117b4(0x120)+_0xdcd2df[_0x3117b4(0xe9)],_0x44ca42=_0xbd611d[_0x3117b4(0x105)][_0x3117b4(0x103)][_0x3117b4(0xe1)](_0x7fbf3d);_0xbd611d[_0x3117b4(0x126)][_0x3117b4(0xd8)][_0x3117b4(0x134)]?te(_0xdcd2df[_0x3117b4(0xe9)],_0x54bc70[_0x3117b4(0x12e)][_0x3117b4(0xf2)](),_0xbd611d[_0x3117b4(0x105)],_0x4390f9):_0x44ca42&&(_0x4390f9[_0x3117b4(0x10b)](_0x7fbf3d),_0x4390f9[_0x3117b4(0x10b)](_0x2beb9f));});}}function te(_0x30b3f9,_0x40c3a0,_0x35872f,_0x3f9593){const _0x28fe46=_0x20f991,_0x3ca04f=_0x28fe46(0x109)+_0x30b3f9,_0x2cc7e7=_0x28fe46(0x120)+_0x30b3f9,_0x174fb8=_0x40c3a0[_0x28fe46(0xf3)]();let _0x1844fc=_0x40c3a0[_0x28fe46(0xc9)];if(_0x174fb8&&_0x174fb8['is'](_0x28fe46(0xd7),_0x28fe46(0x133))){const _0x30479b=function(_0x22147e,_0x1696be){const _0x5d7107=_0x28fe46;for(const _0x4a97c5 of _0x22147e[_0x5d7107(0x117)]())if(_0x1696be[_0x5d7107(0xdf)][_0x5d7107(0xe6)](_0x4a97c5,_0x5d7107(0xdd)))return _0x4a97c5;}(_0x40c3a0,_0x35872f);_0x30479b&&(_0x1844fc=_0x30479b,_0x40c3a0=_0x3f9593[_0x28fe46(0xd9)](_0x1844fc));}const _0x4d22a8=_0x3f9593[_0x28fe46(0xd9)](_0x1844fc);_0x35872f[_0x28fe46(0x103)][_0x28fe46(0xe1)](_0x3ca04f)?(_0x3f9593[_0x28fe46(0xc7)](_0x3ca04f,{'range':_0x40c3a0}),_0x3f9593[_0x28fe46(0xc7)](_0x2cc7e7,{'range':_0x4d22a8})):(_0x3f9593[_0x28fe46(0xbe)](_0x3ca04f,{'range':_0x40c3a0,'usingOperation':!0x0}),_0x3f9593[_0x28fe46(0xbe)](_0x2cc7e7,{'range':_0x4d22a8,'usingOperation':!0x0}));}function _0x3ec5(){const _0x12dbef=['getMarkerClass','reconvertMarker','isSimilar','80515aKHynD','change:range','412tbeUWM','highest','11kknyQF','element','view','createRange','49QdtjOS','isDocumentOperation','render','$text','getSelectionClass','schema','newRange','has','ck-user__marker-tooltip','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','UserMarkers','mouseenter','checkChild','set','stopListening','mySessionId','968394dsoSFL','mapper','commands','toDomElement','applyOperation','oldRange','parent','user:range','getFirstRange','getContainedElement','classList','6527943jYdNet','undo','for','span','plugins','batch','outerHTML','getRange','ck-user__marker\x20','init','toRange','createElement','fromRange','type','markers','remove','model','document','delete','createUIElement','user:range:','size','removeMarker','_createdBatches','pluginName','isObject','hasContent','requires','detach','ck-user__marker_hovered','mouseleave','end','24777730sIREjq','split','getPositions','keydown','startsWith','addEventListener','getCustomProperty','marker','listenTo','202559UMnCMD','update:user:range','user:position:','root','editor','color','ck-user__selection','_domEmitter','editing','conversion','markerName','markerToElement','data-session-id','$graveyard','afterInit','nodeAfter','selection','344eKmvyq','isCollapsed','rootName','innerHTML','tableCell','hasDomSelection','editingDowncast','isOfficialPlugin','markerRange','Escape','userPositionMarker','false','1685349EAyJrH','deletionPosition','enqueueChange','spellcheck','clear','isPremiumPlugin','getUserBySessionId','markerNameToElements','user:','markerToHighlight','createUserMarkerOperations','getStart','add','orderNumber','user:position','addMarker','destroy','isLimit','23632KkWXvM','textContent','isInline','removeClass','contenteditable','setCustomProperty','updateMarker','getAttribute','start','getNearestSelectionRange','get','name','setAttribute','change'];_0x3ec5=function(){return _0x12dbef;};return _0x3ec5();}
|
|
23
|
+
function _0xae2b(_0x5addc6,_0xf91348){const _0x1c473c=_0x1c47();return _0xae2b=function(_0xae2bc6,_0x2459b5){_0xae2bc6=_0xae2bc6-0x77;let _0xa29ffe=_0x1c473c[_0xae2bc6];return _0xa29ffe;},_0xae2b(_0x5addc6,_0xf91348);}const _0x184495=_0xae2b;(function(_0x22e004,_0x34d607){const _0x23fbe7=_0xae2b,_0x5f45ef=_0x22e004();while(!![]){try{const _0x87d3a0=parseInt(_0x23fbe7(0xc4))/0x1*(parseInt(_0x23fbe7(0xc6))/0x2)+-parseInt(_0x23fbe7(0x9b))/0x3*(parseInt(_0x23fbe7(0x102))/0x4)+-parseInt(_0x23fbe7(0xc9))/0x5*(-parseInt(_0x23fbe7(0xdf))/0x6)+-parseInt(_0x23fbe7(0xd1))/0x7*(-parseInt(_0x23fbe7(0xb7))/0x8)+parseInt(_0x23fbe7(0xb2))/0x9+parseInt(_0x23fbe7(0x8f))/0xa+-parseInt(_0x23fbe7(0xb6))/0xb;if(_0x87d3a0===_0x34d607)break;else _0x5f45ef['push'](_0x5f45ef['shift']());}catch(_0x3b5941){_0x5f45ef['push'](_0x5f45ef['shift']());}}}(_0x1c47,0x9c06b));import{Plugin as _0x360118}from'ckeditor5/src/core.js';import{global as _0x1f50db,DomEmitterMixin as _0x32040e}from'ckeditor5/src/utils.js';import _0x502c6e from'./sessions.js';import{LiveRange as _0x401dc8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x360118{[_0x184495(0xa1)]=new(_0x32040e())();static get[_0x184495(0x84)](){return[_0x502c6e];}static get[_0x184495(0x93)](){const _0x255f9f=_0x184495;return _0x255f9f(0xe8);}static get[_0x184495(0xb8)](){return!0x0;}static get[_0x184495(0xd7)](){return!0x0;}[_0x184495(0x96)](){const _0x2fdd13=_0x184495,_0x21896f=this[_0x2fdd13(0xf6)],_0x23695e=_0x21896f[_0x2fdd13(0xc5)][_0x2fdd13(0xbd)](_0x502c6e);_0x21896f[_0x2fdd13(0xed)][_0x2fdd13(0xc3)](_0x2fdd13(0xbf))[_0x2fdd13(0x86)]({'model':_0x2fdd13(0xc1),'view':(_0x52e245,{writer:_0x1804b9})=>function(_0x459190,_0x4be1f7,_0x4f67c4,_0xe83b48){const _0x3b486c=_0x2fdd13,_0x3c1f88=_0x459190[_0x3b486c(0xe2)][_0x3b486c(0xde)](':')[0x2],_0x593359=_0x4f67c4[_0x3b486c(0xb0)](_0x3c1f88);if(!_0x593359||_0x3c1f88===_0x4f67c4[_0x3b486c(0x8b)])return;if(!_0xe83b48[_0x3b486c(0xbc)][_0x3b486c(0xf5)][_0x3b486c(0xee)](_0x459190[_0x3b486c(0xad)][_0x3b486c(0xa5)],_0x3b486c(0x80)))return;const _0x14a8ee={'class':_0x3b486c(0xf3)+_0x593359[_0x3b486c(0xb1)][_0x3b486c(0xa2)](),'data-name':_0x593359[_0x3b486c(0xe7)],'data-session-id':_0x3c1f88},_0x429de3=_0xe83b48[_0x3b486c(0xbc)][_0x3b486c(0xdc)][_0x3b486c(0xbd)](_0x459190[_0x3b486c(0xe2)]),_0x20a757=_0x429de3[_0x3b486c(0x98)](),_0x14dd2f=_0x20a757[_0x3b486c(0x89)],_0x1a0a90=_0xe83b48[_0x3b486c(0xbc)][_0x3b486c(0xf5)];if(_0x14dd2f&&_0x1a0a90[_0x3b486c(0x81)](_0x14dd2f)&&_0x1a0a90[_0x3b486c(0xf0)](_0x14dd2f)&&!_0xe83b48[_0x3b486c(0xbc)][_0x3b486c(0xdc)][_0x3b486c(0xbd)](_0x3b486c(0x99)+_0x3c1f88)[_0x3b486c(0xa8)]()[_0x3b486c(0xe4)])return;const _0x516afa=_0x20a757[_0x3b486c(0xf8)];return _0xe83b48[_0x3b486c(0xbc)][_0x3b486c(0xf5)][_0x3b486c(0xf1)](_0x516afa)&&!_0xe83b48[_0x3b486c(0xbc)][_0x3b486c(0xe1)](_0x516afa)&&(_0x14a8ee[_0x3b486c(0x87)]=!0x1),function(_0x710f67,_0x51c7d3,_0x298dae){const _0x150312=_0x3b486c,_0x59e5f2=_0x710f67[_0x150312(0x7f)](_0x150312(0xca),_0x51c7d3);return _0x710f67[_0x150312(0xd0)](_0x150312(0xff),!0x0,_0x59e5f2),_0x59e5f2[_0x150312(0xd4)]=function(_0x50ae3a){const _0x551dc7=_0x150312,_0xb3d266=this[_0x551dc7(0xb9)](_0x50ae3a),_0x4df985=document[_0x551dc7(0xfe)](_0x551dc7(0xca));return _0x4df985[_0x551dc7(0xda)][_0x551dc7(0x9a)](_0x551dc7(0xeb)),_0x4df985[_0x551dc7(0x94)](_0x551dc7(0x87),_0x551dc7(0xf4)),_0x4df985[_0x551dc7(0x94)](_0x551dc7(0xac),_0x551dc7(0xf4)),_0x4df985[_0x551dc7(0xbb)]=_0x298dae[_0x551dc7(0xe7)],_0xb3d266[_0x551dc7(0xfc)]=_0x551dc7(0xcb)+_0x4df985[_0x551dc7(0xa4)]+'',_0xb3d266[_0x551dc7(0xa0)](_0x551dc7(0xcd),()=>{const _0x5989b9=_0x551dc7;_0xb3d266[_0x5989b9(0xda)][_0x5989b9(0x9a)](_0x5989b9(0x8a));}),_0xb3d266[_0x551dc7(0xa0)](_0x551dc7(0xec),()=>{const _0x4955b1=_0x551dc7;_0xb3d266[_0x4955b1(0xda)][_0x4955b1(0xe0)](_0x4955b1(0x8a));}),_0xb3d266;},_0x59e5f2[_0x150312(0xe3)]=function(_0x2e6e4d){const _0x1526a0=_0x150312;return!(!this[_0x1526a0(0x82)](_0x1526a0(0xff))||!_0x2e6e4d[_0x1526a0(0x82)](_0x1526a0(0xff))||this[_0x1526a0(0xbe)](_0x1526a0(0x95))!=_0x2e6e4d[_0x1526a0(0xbe)](_0x1526a0(0x95)));},_0x59e5f2;}(_0x4be1f7,_0x14a8ee,_0x593359);}(_0x52e245,_0x1804b9,_0x23695e,_0x21896f)}),_0x21896f[_0x2fdd13(0xed)][_0x2fdd13(0xc3)](_0x2fdd13(0xbf))[_0x2fdd13(0xaa)]({'model':_0x2fdd13(0xa3),'view':_0x287f01=>function(_0x10390b,_0x1bf25e){const _0x3a5441=_0x2fdd13,_0x54e44a=_0x10390b[_0x3a5441(0xe2)][_0x3a5441(0xde)](':')[0x2];if(_0x54e44a===_0x1bf25e[_0x3a5441(0x8b)])return null;const _0x31fae8=_0x1bf25e[_0x3a5441(0xb0)](_0x54e44a);if(!_0x31fae8)return{'id':_0x54e44a,'classes':[]};return{'id':_0x54e44a,'classes':[_0x3a5441(0xd6),_0x31fae8[_0x3a5441(0xb1)][_0x3a5441(0xcf)]()],'attributes':{'data-session-id':_0x54e44a},'priority':0x7d0+_0x31fae8[_0x3a5441(0xa7)]};}(_0x287f01,_0x23695e)}),function(_0x25848a){const _0x52ac49=_0x2fdd13,_0x33669d=_0x25848a[_0x52ac49(0xbc)],_0x396698=new Map(),_0x259019=_0x25848a[_0x52ac49(0xc5)][_0x52ac49(0xbd)](_0x502c6e);_0x33669d[_0x52ac49(0xdc)]['on'](_0x52ac49(0x78),(_0x1dc40c,_0x5e0c09,_0xc0780b,_0x4edb79)=>{const _0x571232=_0x52ac49;if(!_0x4edb79&&_0x396698[_0x571232(0xbd)](_0x5e0c09[_0x571232(0xe7)]))return _0x396698[_0x571232(0xbd)](_0x5e0c09[_0x571232(0xe7)])[_0x571232(0x83)](),void _0x396698[_0x571232(0x79)](_0x5e0c09[_0x571232(0xe7)]);const _0x128b2b=_0x5e0c09[_0x571232(0xe7)][_0x571232(0xde)](':')[0x2];if(_0x128b2b===_0x259019[_0x571232(0x8b)])return;const _0x1199bc=_0x571232(0xef)+_0x128b2b;_0x33669d[_0x571232(0xdc)][_0x571232(0xce)](_0x1199bc)&&_0x25848a[_0x571232(0x9e)][_0x571232(0x7c)](_0x1199bc),_0x5e0c09['on'](_0x571232(0xdd),(_0xdf7ebe,_0x2d8f81,_0x279613)=>{const _0x386341=_0x571232;if(_0x386341(0xe9)!=_0x2d8f81[_0x386341(0xd8)][_0x386341(0x9d)]&&_0x386341(0xe9)==_0x5e0c09[_0x386341(0xa8)]()[_0x386341(0xd8)][_0x386341(0x9d)]&&!_0x396698[_0x386341(0xce)](_0x5e0c09[_0x386341(0xe7)])){const _0x316c46=_0x33669d[_0x386341(0xf5)][_0x386341(0x7b)](_0x279613[_0x386341(0x100)]);if(_0x316c46){const _0x1e8d04=_0x401dc8[_0x386341(0xd3)](_0x316c46);_0x396698[_0x386341(0x85)](_0x5e0c09[_0x386341(0xe7)],_0x1e8d04),_0x1e8d04['on'](_0x386341(0xdd),(_0x21d564,_0x34bcc4,_0x5edd73)=>{const _0x325e85=_0x386341;if(_0x325e85(0xe9)==_0x1e8d04[_0x325e85(0xd8)][_0x325e85(0x9d)]){const _0x56d8b0=_0x33669d[_0x325e85(0xf5)][_0x325e85(0x7b)](_0x5edd73[_0x325e85(0x100)]);_0x56d8b0?(_0x1e8d04[_0x325e85(0xa5)]=_0x56d8b0[_0x325e85(0xa5)],_0x1e8d04[_0x325e85(0x9c)]=_0x56d8b0[_0x325e85(0x9c)]):(_0x396698[_0x325e85(0x79)](_0x5e0c09[_0x325e85(0xe7)]),_0x1e8d04[_0x325e85(0x83)]());}});}}});}),_0x33669d[_0x52ac49(0x90)]['on'](_0x52ac49(0xd2),()=>{const _0x3c5e27=_0x52ac49;_0x396698[_0x3c5e27(0x88)]>0x0&&_0x33669d[_0x3c5e27(0xc8)]({'isUndoable':!0x1},_0x46078f=>{const _0x105f23=_0x3c5e27;for(const [_0xcc66f6,_0x5f10df]of _0x396698)_0x105f23(0xe9)==_0x33669d[_0x105f23(0xdc)][_0x105f23(0xbd)](_0xcc66f6)[_0x105f23(0xa8)]()[_0x105f23(0xd8)][_0x105f23(0x9d)]&&(te(_0xcc66f6[_0x105f23(0xde)](':')[0x2],_0x5f10df[_0x105f23(0xfb)](),_0x33669d,_0x46078f),_0x5f10df[_0x105f23(0x83)]());_0x396698[_0x105f23(0xf9)]();});});}(_0x21896f),this[_0x2fdd13(0xa1)][_0x2fdd13(0xe6)](_0x1f50db[_0x2fdd13(0x90)],_0x2fdd13(0xab),(_0x4acd45,{key:_0x4c23c8})=>{const _0x4ca362=_0x2fdd13;_0x4ca362(0xcc)===_0x4c23c8&&function(_0x1c149f){const _0x1139d5=_0x4ca362;_0x1c149f[_0x1139d5(0x9e)][_0x1139d5(0xba)][_0x1139d5(0xd2)](_0x56013c=>{const _0x3a0e45=_0x1139d5;for(const _0x5179b6 of _0x1c149f[_0x3a0e45(0xbc)][_0x3a0e45(0xdc)]){if(!_0x5179b6[_0x3a0e45(0xe7)][_0x3a0e45(0xe5)](_0x3a0e45(0xc1)))continue;const _0x30aa16=_0x1c149f[_0x3a0e45(0x9e)][_0x3a0e45(0xa9)][_0x3a0e45(0xae)](_0x5179b6[_0x3a0e45(0xe7)]);if(_0x30aa16){for(const _0x891287 of _0x30aa16)_0x56013c[_0x3a0e45(0xd9)](_0x3a0e45(0x8a),_0x891287);}}});}(_0x21896f);},{'useCapture':!0x0});}[_0x184495(0xf7)](){const _0x20a547=_0x184495,_0x10ed2f=this[_0x20a547(0xf6)],_0x1c94f6=_0x10ed2f[_0x20a547(0x8c)][_0x20a547(0xbd)](_0x20a547(0xaf));_0x1c94f6&&_0x10ed2f[_0x20a547(0xbc)]['on'](_0x20a547(0x8e),(_0x14afef,_0x4dc882)=>{const _0xd107df=_0x20a547,_0x47bac1=_0x4dc882[0x0];if(!_0x47bac1[_0xd107df(0x8d)])return;if(_0xd107df(0x91)!=_0x47bac1[_0xd107df(0xa6)]||!_0x47bac1[_0xd107df(0xe7)][_0xd107df(0xe5)](_0xd107df(0xb3)))return;const _0x5ec3ec=_0x47bac1[_0xd107df(0xf2)];_0x1c94f6[_0xd107df(0x7d)][_0xd107df(0xce)](_0x5ec3ec)&&(_0x47bac1[_0xd107df(0xea)]=_0x47bac1[_0xd107df(0xc0)]?_0x10ed2f[_0xd107df(0xbc)][_0xd107df(0x77)](_0x47bac1[_0xd107df(0xc0)][_0xd107df(0xa5)],_0x47bac1[_0xd107df(0xc0)][_0xd107df(0x9c)]):null);},{'priority':_0x20a547(0x7e)});}[_0x184495(0xc7)](){const _0xec9f73=_0x184495;return this[_0xec9f73(0xa1)][_0xec9f73(0x97)](),super[_0xec9f73(0xc7)]();}[_0x184495(0xc2)](){const _0x59a29b=_0x184495,_0x50eb86=this[_0x59a29b(0xf6)],_0x5a6572=_0x50eb86[_0x59a29b(0xbc)][_0x59a29b(0x90)],_0x5121dd=_0x50eb86[_0x59a29b(0xc5)][_0x59a29b(0xbd)](_0x502c6e);_0x50eb86[_0x59a29b(0xbc)][_0x59a29b(0xc8)]({'isUndoable':!0x1},_0x4c2c48=>{const _0xe26596=_0x59a29b,_0x2d9075=_0xe26596(0x99)+_0x5121dd[_0xe26596(0x8b)],_0x661b55=_0xe26596(0xef)+_0x5121dd[_0xe26596(0x8b)],_0x1b310e=_0x50eb86[_0xe26596(0xbc)][_0xe26596(0xdc)][_0xe26596(0xce)](_0x2d9075);_0x50eb86[_0xe26596(0x9e)][_0xe26596(0xba)][_0xe26596(0xb5)]?te(_0x5121dd[_0xe26596(0x8b)],_0x5a6572[_0xe26596(0xfa)][_0xe26596(0xfd)](),_0x50eb86[_0xe26596(0xbc)],_0x4c2c48):_0x1b310e&&(_0x4c2c48[_0xe26596(0xdb)](_0x2d9075),_0x4c2c48[_0xe26596(0xdb)](_0x661b55));});}}function _0x1c47(){const _0x1bce47=['false','schema','editor','afterInit','parent','clear','selection','toRange','innerHTML','getFirstRange','createElement','userPositionMarker','deletionPosition','tableCell','4236IIZPgk','createRange','update:user:range','delete','updateMarker','getNearestSelectionRange','reconvertMarker','_createdBatches','highest','createUIElement','$text','isObject','getCustomProperty','detach','requires','set','markerToElement','contenteditable','size','nodeAfter','ck-user__marker_hovered','mySessionId','commands','isDocumentOperation','applyOperation','11729080xkTCev','document','marker','getContainedElement','pluginName','setAttribute','data-session-id','init','stopListening','getStart','user:range:','add','657zNdbwY','end','rootName','editing','getPositions','addEventListener','_domEmitter','getMarkerClass','user:range','outerHTML','start','type','orderNumber','getRange','mapper','markerToHighlight','keydown','spellcheck','markerRange','markerNameToElements','undo','getUserBySessionId','color','10787400NweCvM','user:','element','hasDomSelection','41770938yoQPfH','2163800bQCChA','isOfficialPlugin','toDomElement','view','textContent','model','get','getAttribute','editingDowncast','oldRange','user:position','createUserMarkerOperations','for','6cIQbon','plugins','396522FLhUje','destroy','enqueueChange','83285FFSsMz','span','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','Escape','mouseenter','has','getSelectionClass','setCustomProperty','14MEsAcz','change','fromRange','render','addMarker','ck-user__selection','isPremiumPlugin','root','removeClass','classList','removeMarker','markers','change:range','split','204BpWeiv','remove','hasContent','markerName','isSimilar','isCollapsed','startsWith','listenTo','name','UserMarkers','$graveyard','newRange','ck-user__marker-tooltip','mouseleave','conversion','checkChild','user:position:','isInline','isLimit','batch','ck-user__marker\x20'];_0x1c47=function(){return _0x1bce47;};return _0x1c47();}function te(_0x4b8dd1,_0x389212,_0x150a6a,_0x41cb94){const _0x598c61=_0x184495,_0x45cda8=_0x598c61(0x99)+_0x4b8dd1,_0x316e02=_0x598c61(0xef)+_0x4b8dd1,_0x1b4750=_0x389212[_0x598c61(0x92)]();let _0x3af584=_0x389212[_0x598c61(0xa5)];if(_0x1b4750&&_0x1b4750['is'](_0x598c61(0xb4),_0x598c61(0x101))){const _0x2366b0=function(_0x34408d,_0x30a3cf){const _0x3084c0=_0x598c61;for(const _0x2556c4 of _0x34408d[_0x3084c0(0x9f)]())if(_0x30a3cf[_0x3084c0(0xf5)][_0x3084c0(0xee)](_0x2556c4,_0x3084c0(0x80)))return _0x2556c4;}(_0x389212,_0x150a6a);_0x2366b0&&(_0x3af584=_0x2366b0,_0x389212=_0x41cb94[_0x598c61(0x77)](_0x3af584));}const _0x156e57=_0x41cb94[_0x598c61(0x77)](_0x3af584);_0x150a6a[_0x598c61(0xdc)][_0x598c61(0xce)](_0x45cda8)?(_0x41cb94[_0x598c61(0x7a)](_0x45cda8,{'range':_0x389212}),_0x41cb94[_0x598c61(0x7a)](_0x316e02,{'range':_0x156e57})):(_0x41cb94[_0x598c61(0xd5)](_0x45cda8,{'range':_0x389212,'usingOperation':!0x0}),_0x41cb94[_0x598c61(0xd5)](_0x316e02,{'range':_0x156e57,'usingOperation':!0x0}));}
|