@ckeditor/ckeditor5-real-time-collaboration 45.2.1-alpha.4 → 45.2.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _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 _0x4b5234=_0x4128;(function(_0x1ed2fb,_0x15922f){const _0x1c2fd6=_0x4128,_0x1fffb3=_0x1ed2fb();while(!![]){try{const _0x54c43b=-parseInt(_0x1c2fd6(0x187))/0x1*(parseInt(_0x1c2fd6(0x176))/0x2)+parseInt(_0x1c2fd6(0x18b))/0x3*(-parseInt(_0x1c2fd6(0x17b))/0x4)+-parseInt(_0x1c2fd6(0x17d))/0x5+parseInt(_0x1c2fd6(0x186))/0x6+parseInt(_0x1c2fd6(0x182))/0x7+-parseInt(_0x1c2fd6(0x185))/0x8*(-parseInt(_0x1c2fd6(0x180))/0x9)+-parseInt(_0x1c2fd6(0x174))/0xa;if(_0x54c43b===_0x15922f)break;else _0x1fffb3['push'](_0x1fffb3['shift']());}catch(_0x388aa1){_0x1fffb3['push'](_0x1fffb3['shift']());}}}(_0x1d1e,0x38cb1));function _0x4128(_0x2a4afd,_0x3d3082){const _0x1d1e89=_0x1d1e();return _0x4128=function(_0x4128c8,_0x1df631){_0x4128c8=_0x4128c8-0x16f;let _0x539e43=_0x1d1e89[_0x4128c8];return _0x539e43;},_0x4128(_0x2a4afd,_0x3d3082);}import{View as _0x5d1f33}from'ckeditor5/src/ui.js';import _0x13e863 from'./presencecounterview.js';import _0xbf4b50 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class _ extends _0x5d1f33{[_0x4b5234(0x179)];[_0x4b5234(0x181)];constructor(_0x854d29,_0x1789c9=0x6){const _0x37734c=_0x4b5234;super(_0x854d29);const _0x221009=this[_0x37734c(0x17e)];this[_0x37734c(0x17c)](_0x37734c(0x18a),!0x0),this[_0x37734c(0x179)]=new _0x13e863(this[_0x37734c(0x189)],_0x1789c9),this[_0x37734c(0x181)]=new _0xbf4b50(_0x854d29),this[_0x37734c(0x181)][_0x37734c(0x170)](_0x37734c(0x177))['to'](this,_0x37734c(0x18a)),this[_0x37734c(0x171)](this[_0x37734c(0x181)][_0x37734c(0x172)],_0x37734c(0x16f),()=>{const _0x5cef91=_0x37734c;for(const _0x2df044 of this[_0x5cef91(0x181)][_0x5cef91(0x172)])_0x2df044[_0x5cef91(0x188)]='s';this[_0x5cef91(0x181)][_0x5cef91(0x172)][_0x5cef91(0x183)]&&(this[_0x5cef91(0x181)][_0x5cef91(0x172)][_0x5cef91(0x183)][_0x5cef91(0x188)]='se');}),this[_0x37734c(0x175)]({'tag':_0x37734c(0x173),'attributes':{'class':['ck',_0x37734c(0x184),_0x37734c(0x17f),_0x37734c(0x17a),_0x221009['if'](_0x37734c(0x18a),_0x37734c(0x178))]},'children':[this[_0x37734c(0x181)]]});}}function _0x1d1e(){const _0x2ba82f=['locale','isCollapsed','63513tmXsdz','change','bind','listenTo','items','div','4916200SoFifZ','setTemplate','10308uLqPtf','hasPopup','ck-presence-list--collapsed','counterView','ck-rounded-corners','12EgCMGZ','set','332490JJcTQA','bindTemplate','ck-reset','165123ulbkvS','inlineListView','2464434YLhCxy','first','ck-presence-list','40ymkVWu','2648298KxDjOi','6qrawLy','tooltipPosition'];_0x1d1e=function(){return _0x2ba82f;};return _0x1d1e();}
|
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
|
+
function _0x1070(_0xb346fe,_0x2c5584){const _0x36fa82=_0x36fa();return _0x1070=function(_0x10703b,_0x335960){_0x10703b=_0x10703b-0x99;let _0x4227a2=_0x36fa82[_0x10703b];return _0x4227a2;},_0x1070(_0xb346fe,_0x2c5584);}const _0x477d75=_0x1070;function _0x36fa(){const _0x50c51f=['getCommentThread','_connectService','off','commentThreadId','_services','disconnect','commentThreadAdded','CloudServicesCommentsAdapter','resolve','isOfficialPlugin','9607504RkjmSN','cloud-services-internal-error:\x20Request\x20timeout.','getConnectedSessions','pluginName','comments','1467063tiHOUR','createdAt','removeComment','context','resolvedAt','destroy','commentThreadRemoved','remove','getMany','cloudservicescommentsadapter-disconnect-not-exist','updateComment','plugins','commentThreadUpdated','attributes','unregister','404','keys','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadReopened','setPermissions','reopen','resolvedBy','_getService','map','startsWith','commentRemoved','CommentsService','13158Jmeszc','userId','cloudservicescommentsadapter-connect-already-connected','1716544TbdEAD','commentThreadResolved','getCommentThreads','resolveCommentThread','addUser','reconnect','set','add','sessionAdd:','code','requires','590182oUxQCX','catch','permissions','removeCommentThread','deletedAt','register','from','config','_terminateService','reopenCommentThread','init','content','_fetchMissingUsersForThreads','message','mySessionId','connect','25326cKHRCs','cloudservicescommentsadapter-service-not-exist','commentAdded','getUser','addComment','size','updateCommentThread','CommentsRepository','addCommentThread','delete','listenTo','authorId','8820szVlkJ','560OgUNXd','isPremiumPlugin','update','get','getComment','assign','commentUpdated','4605272shlmHX','has','addToReconnectionStack','adapter','cloud-services-internal-error:\x20Not\x20connected.','_setUpService','Permissions','1YrTTcc','collaboration.channelId','commentId'];_0x36fa=function(){return _0x50c51f;};return _0x36fa();}(function(_0x471806,_0x4c5805){const _0x57c117=_0x1070,_0x53e910=_0x471806();while(!![]){try{const _0x5a8cc4=parseInt(_0x57c117(0xf0))/0x1*(parseInt(_0x57c117(0xc5))/0x2)+parseInt(_0x57c117(0x9c))/0x3+-parseInt(_0x57c117(0xba))/0x4+parseInt(_0x57c117(0xe2))/0x5*(-parseInt(_0x57c117(0xd5))/0x6)+parseInt(_0x57c117(0xe9))/0x7+-parseInt(_0x57c117(0xfd))/0x8+-parseInt(_0x57c117(0xb7))/0x9*(-parseInt(_0x57c117(0xe1))/0xa);if(_0x5a8cc4===_0x4c5805)break;else _0x53e910['push'](_0x53e910['shift']());}catch(_0x30724d){_0x53e910['push'](_0x53e910['shift']());}}}(_0x36fa,0x997ba));import{Context as _0x30d658,ContextPlugin as _0x46663e}from'ckeditor5/src/core.js';import{CKEditorError as _0xd7c2f2}from'ckeditor5/src/utils.js';import{Users as _0x4aeb7d}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x19f674,User as _0x2df2c4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3faa88 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2fa575 from'../realtimecollaborativeediting/sessions.js';class a extends _0x46663e{static [_0x477d75(0xb6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x19f674)());[_0x477d75(0xf7)];static get[_0x477d75(0xc4)](){const _0xe114f1=_0x477d75;return[_0x3faa88,_0xe114f1(0xdc),_0x2fa575,_0x4aeb7d];}static get[_0x477d75(0x9a)](){const _0x89768a=_0x477d75;return _0x89768a(0xfa);}static get[_0x477d75(0xfc)](){return!0x0;}static get[_0x477d75(0xe3)](){return!0x0;}constructor(_0x373173){const _0x283091=_0x477d75;super(_0x373173),this[_0x283091(0xf7)]=new Map();}async[_0x477d75(0xcf)](){const _0x42fea4=_0x477d75,_0x36f38c=this[_0x42fea4(0x9f)],_0x594ae7=_0x36f38c[_0x42fea4(0xa7)][_0x42fea4(0xe5)](_0x42fea4(0xdc));if(_0x36f38c[_0x42fea4(0xa7)][_0x42fea4(0xe5)](_0x3faa88)[_0x42fea4(0xeb)](this),_0x594ae7[_0x42fea4(0xec)]={'addCommentThread':async({channelId:_0x3623d4,threadId:_0x269107,comments:_0x5a90a9,resolvedAt:_0x2b866b,resolvedBy:_0x3def56,context:_0x2d348d,attributes:_0x229c74})=>{const _0x6eb9b9=_0x42fea4,_0xde6fcc=await this[_0x6eb9b9(0xb2)](_0x3623d4)[_0x6eb9b9(0xdd)]({'commentThreadId':_0x269107,'comments':_0x5a90a9[_0x6eb9b9(0xb3)](_0x3c18fa=>function(_0x4f1594,_0x45b716,_0x23c200){const _0x4ac022=_0x6eb9b9;return{'commentThreadId':_0x23c200,'commentId':_0x4f1594[_0x4ac022(0xf2)],'userId':_0x4f1594[_0x4ac022(0xe0)],'content':_0x4f1594[_0x4ac022(0xd0)],'documentId':_0x45b716,'createdAt':_0x4f1594[_0x4ac022(0x9d)],'attributes':_0x4f1594[_0x4ac022(0xa9)]||{}};}(_0x3c18fa,_0x3623d4,_0x269107)),'resolvedAt':_0x2b866b,'resolvedBy':_0x3def56,'context':_0x2d348d,'attributes':_0x229c74})[_0x6eb9b9(0xc6)](w);return{'threadId':_0xde6fcc[_0x6eb9b9(0xf6)],'comments':_0xde6fcc[_0x6eb9b9(0x9b)]};},'getCommentThread':async({channelId:_0xb63f04,threadId:_0x3a7429})=>{const _0x3eb9eb=_0x42fea4,_0x1c42ca=await this[_0x3eb9eb(0xb2)](_0xb63f04)[_0x3eb9eb(0xf3)](_0x3a7429)[_0x3eb9eb(0xc6)](w);return _0x1c42ca[_0x3eb9eb(0xc9)]?null:(await this[_0x3eb9eb(0xd1)]([_0x1c42ca]),{'threadId':_0x1c42ca[_0x3eb9eb(0xf6)],'comments':_0x1c42ca[_0x3eb9eb(0x9b)][_0x3eb9eb(0xb3)](b),'context':_0x1c42ca[_0x3eb9eb(0x9f)],'resolvedAt':_0x1c42ca[_0x3eb9eb(0xa0)],'resolvedBy':_0x1c42ca[_0x3eb9eb(0xb1)],'attributes':_0x1c42ca[_0x3eb9eb(0xa9)]||{}});},'updateCommentThread':async({channelId:_0x5de417,threadId:_0xbed548,context:_0x12877d,unlinkedAt:_0x5a8f0c,attributes:_0x290725})=>this[_0x42fea4(0xb2)](_0x5de417)[_0x42fea4(0xdb)]({'commentThreadId':_0xbed548,'context':_0x12877d,'attributes':_0x290725,'unlinkedAt':_0x5a8f0c})[_0x42fea4(0xc6)](y)[_0x42fea4(0xc6)](w),'resolveCommentThread':async({channelId:_0x244fc1,threadId:_0xc1b017})=>{const _0x5ac7b=_0x42fea4,_0x5ac4db=await this[_0x5ac7b(0xb2)](_0x244fc1)[_0x5ac7b(0xbd)](_0xc1b017)[_0x5ac7b(0xc6)](y)[_0x5ac7b(0xc6)](w);return{'threadId':_0x5ac4db[_0x5ac7b(0xf6)],'resolvedAt':_0x5ac4db[_0x5ac7b(0xa0)],'resolvedBy':_0x5ac4db[_0x5ac7b(0xb1)]};},'reopenCommentThread':async({channelId:_0x247cc8,threadId:_0x251f94})=>this[_0x42fea4(0xb2)](_0x247cc8)[_0x42fea4(0xce)](_0x251f94)[_0x42fea4(0xc6)](y)[_0x42fea4(0xc6)](w),'removeCommentThread':({channelId:_0x150bcb,threadId:_0x32e0da})=>this[_0x42fea4(0xb2)](_0x150bcb)[_0x42fea4(0xc8)](_0x32e0da)[_0x42fea4(0xc6)](y)[_0x42fea4(0xc6)](w),'addComment':({channelId:_0x31b05e,threadId:_0x53a80a,commentId:_0x185d4b,content:_0x639408,attributes:_0x121146})=>this[_0x42fea4(0xb2)](_0x31b05e)[_0x42fea4(0xd9)](_0x53a80a,_0x185d4b,_0x639408,_0x121146)[_0x42fea4(0xc6)](w),'updateComment':({channelId:_0x5916e4,threadId:_0x19fd21,commentId:_0x28be62,content:_0x2ca154,attributes:_0x3bad4a})=>this[_0x42fea4(0xb2)](_0x5916e4)[_0x42fea4(0xa6)](_0x19fd21,_0x28be62,_0x2ca154,_0x3bad4a)[_0x42fea4(0xc6)](y)[_0x42fea4(0xc6)](w),'removeComment':({channelId:_0x3d9189,threadId:_0xaa5a0e,commentId:_0x48217b})=>this[_0x42fea4(0xb2)](_0x3d9189)[_0x42fea4(0x9e)](_0xaa5a0e,_0x48217b)[_0x42fea4(0xc6)](y)[_0x42fea4(0xc6)](w)},_0x36f38c instanceof _0x30d658){const _0x4ab312=_0x36f38c[_0x42fea4(0xcc)][_0x42fea4(0xe5)](_0x42fea4(0xf1)),_0x4a7e9a=_0x36f38c[_0x42fea4(0xa7)][_0x42fea4(0xe5)](_0x2fa575);await this[_0x42fea4(0xee)](_0x4ab312);const _0x5c66ec=await this[_0x42fea4(0xf7)][_0x42fea4(0xe5)](_0x4ab312)[_0x42fea4(0x99)]();this[_0x42fea4(0xdf)](_0x4a7e9a,_0x42fea4(0xc2)+_0x4ab312,(_0x3fc7f1,{session:_0x5e2162})=>{const _0x24ad95=_0x42fea4;_0x5e2162['id']===_0x4a7e9a[_0x24ad95(0xd3)]&&(_0x3fc7f1[_0x24ad95(0xf5)](),this[_0x24ad95(0x9f)][_0x24ad95(0xa7)][_0x24ad95(0xe5)](_0x24ad95(0xef))[_0x24ad95(0xaf)](_0x5e2162[_0x24ad95(0xc7)],_0x4ab312));}),_0x4a7e9a[_0x42fea4(0xca)](_0x4ab312,_0x5c66ec);}}async[_0x477d75(0xee)](_0x29f4eb){const _0x51fdd6=_0x477d75;if(this[_0x51fdd6(0xf7)][_0x51fdd6(0xea)](_0x29f4eb))throw new _0xd7c2f2(_0x51fdd6(0xb9),null,{'channelId':_0x29f4eb});const _0x39e04d=this[_0x51fdd6(0x9f)][_0x51fdd6(0xa7)][_0x51fdd6(0xe5)](_0x51fdd6(0xdc)),_0xf72b35=new a[(_0x51fdd6(0xb6))](_0x29f4eb);this[_0x51fdd6(0xf7)][_0x51fdd6(0xc0)](_0x29f4eb,_0xf72b35),this[_0x51fdd6(0xdf)](_0xf72b35,_0x51fdd6(0xf9),(_0x1bbcf4,_0x2cd1ad)=>{const _0x575d30=_0x51fdd6,{commentThreadId:_0x552ddd,documentId:_0x577be6,context:_0x19243f,attributes:_0x36260d,resolvedAt:_0x4cec8a,resolvedBy:_0x583acd,comments:_0x2881fb}=_0x2cd1ad;_0x39e04d[_0x575d30(0xf3)](_0x552ddd)||_0x39e04d[_0x575d30(0xdd)]({'threadId':_0x552ddd,'channelId':_0x577be6,'comments':_0x2881fb?_0x2881fb[_0x575d30(0xb3)](b):[],'context':_0x19243f,'attributes':_0x36260d,'resolvedAt':_0x4cec8a,'resolvedBy':_0x583acd,'isFromAdapter':!0x0});}),this[_0x51fdd6(0xdf)](_0xf72b35,_0x51fdd6(0xa8),(_0x21bad8,{commentThreadId:_0x2f010c,documentId:_0x35d720,context:_0x266525,unlinkedAt:_0xd118cb,attributes:_0x1d8fef})=>{const _0x7ba14e=_0x51fdd6;_0x39e04d[_0x7ba14e(0xf3)](_0x2f010c)&&_0x39e04d[_0x7ba14e(0xdb)]({'threadId':_0x2f010c,'channelId':_0x35d720,'context':_0x266525,'unlinkedAt':_0xd118cb,'attributes':_0x1d8fef,'isFromAdapter':!0x0});}),this[_0x51fdd6(0xdf)](_0xf72b35,_0x51fdd6(0xbb),(_0x335461,{commentThreadId:_0x1d2289,resolvedBy:_0x2a1bd0,resolvedAt:_0x39bcc4})=>{const _0x5bf680=_0x51fdd6,_0x413636=_0x39e04d[_0x5bf680(0xf3)](_0x1d2289);_0x413636&&_0x413636[_0x5bf680(0xfb)]({'resolvedBy':_0x2a1bd0,'resolvedAt':_0x39bcc4,'isFromAdapter':!0x0});}),this[_0x51fdd6(0xdf)](_0xf72b35,_0x51fdd6(0xae),(_0x25705b,{commentThreadId:_0x4b5427})=>{const _0xa19f70=_0x51fdd6,_0x407467=_0x39e04d[_0xa19f70(0xf3)](_0x4b5427);_0x407467&&_0x407467[_0xa19f70(0xb0)]({'isFromAdapter':!0x0});}),this[_0x51fdd6(0xdf)](_0xf72b35,_0x51fdd6(0xa2),(_0xbb5b43,{commentThreadId:_0x5756aa})=>{const _0x19c9c5=_0x51fdd6,_0x6226bd=_0x39e04d[_0x19c9c5(0xf3)](_0x5756aa);_0x6226bd&&_0x6226bd[_0x19c9c5(0xa3)]({'isFromAdapter':!0x0});}),this[_0x51fdd6(0xdf)](_0xf72b35,_0x51fdd6(0xd7),(_0x2b9b1d,_0x4ff112)=>{const _0x2ef476=_0x51fdd6,_0xb1cbc=_0x4ff112[_0x2ef476(0xf6)],_0x2e9f88=_0x39e04d[_0x2ef476(0xf3)](_0xb1cbc);_0x2e9f88&&_0x2e9f88[_0x2ef476(0xd9)]({...b(_0x4ff112),'isFromAdapter':!0x0});}),this[_0x51fdd6(0xdf)](_0xf72b35,_0x51fdd6(0xe8),(_0x5396a1,{commentThreadId:_0x23f357,commentId:_0x5183d0,content:_0x282c74,attributes:_0x2dbd99})=>{const _0x178450=_0x51fdd6,_0x43bd0d=_0x39e04d[_0x178450(0xf3)](_0x23f357);if(_0x43bd0d){const _0x19943f=_0x43bd0d[_0x178450(0xe6)](_0x5183d0);_0x19943f&&_0x19943f[_0x178450(0xe4)]({'content':_0x282c74,'attributes':_0x2dbd99,'isFromAdapter':!0x0});}}),this[_0x51fdd6(0xdf)](_0xf72b35,_0x51fdd6(0xb5),(_0x377a58,{commentThreadId:_0x98a7cc,commentId:_0x5817c9})=>{const _0x55d8c7=_0x51fdd6,_0x4f95df=_0x39e04d[_0x55d8c7(0xf3)](_0x98a7cc);if(_0x4f95df){const _0x157200=_0x4f95df[_0x55d8c7(0xe6)](_0x5817c9);_0x157200&&_0x157200[_0x55d8c7(0xa3)]({'isFromAdapter':!0x0});}}),await this[_0x51fdd6(0xf4)](_0x29f4eb);}[_0x477d75(0xa1)](){const _0x5a4d6f=_0x477d75;if(this[_0x5a4d6f(0x9f)]instanceof _0x30d658){const _0x58ab26=this[_0x5a4d6f(0x9f)][_0x5a4d6f(0xcc)][_0x5a4d6f(0xe5)](_0x5a4d6f(0xf1));this[_0x5a4d6f(0xcd)](_0x58ab26);}}[_0x477d75(0xcd)](_0x5ae1b8){const _0x4d5d63=_0x477d75;if(!this[_0x4d5d63(0xf7)][_0x4d5d63(0xea)](_0x5ae1b8))throw new _0xd7c2f2(_0x4d5d63(0xa5),null,{'channelId':_0x5ae1b8});this[_0x4d5d63(0xb2)](_0x5ae1b8)[_0x4d5d63(0xf8)](),this[_0x4d5d63(0xf7)][_0x4d5d63(0xde)](_0x5ae1b8);}async[_0x477d75(0xbf)](){const _0x3471c0=_0x477d75;for(const _0x31536c of this[_0x3471c0(0xf7)][_0x3471c0(0xac)]())await this[_0x3471c0(0xf4)](_0x31536c);if(this[_0x3471c0(0x9f)]instanceof _0x30d658){const _0x5174b8=this[_0x3471c0(0x9f)][_0x3471c0(0xcc)][_0x3471c0(0xe5)](_0x3471c0(0xf1)),_0x1e3f73=this[_0x3471c0(0x9f)][_0x3471c0(0xa7)][_0x3471c0(0xe5)](_0x2fa575);_0x1e3f73[_0x3471c0(0xaa)](_0x5174b8);const _0x325f3f=await this[_0x3471c0(0xf7)][_0x3471c0(0xe5)](_0x5174b8)[_0x3471c0(0x99)]();_0x1e3f73[_0x3471c0(0xca)](_0x5174b8,_0x325f3f);}}async[_0x477d75(0xf4)](_0xb3a0ee){const _0x2e0f01=_0x477d75,{connection:_0xa53a3}=this[_0x2e0f01(0x9f)][_0x2e0f01(0xa7)][_0x2e0f01(0xe5)](_0x3faa88),_0x598ea0=this[_0x2e0f01(0x9f)][_0x2e0f01(0xa7)][_0x2e0f01(0xe5)](_0x2e0f01(0xdc)),_0x12a7c8=this[_0x2e0f01(0xf7)][_0x2e0f01(0xe5)](_0xb3a0ee),_0xb7d648=await _0x12a7c8[_0x2e0f01(0xd4)](_0xa53a3);await this[_0x2e0f01(0xd1)](_0xb7d648);const _0x3b1423=new Set(Array[_0x2e0f01(0xcb)](_0x598ea0[_0x2e0f01(0xbc)]({'channelId':_0xb3a0ee}),_0x401ff1=>_0x401ff1['id']));for(const _0x11d6a9 of _0xb7d648)_0x11d6a9[_0x2e0f01(0xc9)]||_0x3b1423[_0x2e0f01(0xde)](_0x11d6a9[_0x2e0f01(0xf6)]);for(const _0x46a026 of _0x3b1423)_0x598ea0[_0x2e0f01(0xf3)](_0x46a026)[_0x2e0f01(0xa3)]({'isFromAdapter':!0x0});for(const _0xb9e902 of _0xb7d648){let _0x570c88=_0x598ea0[_0x2e0f01(0xf3)](_0xb9e902[_0x2e0f01(0xf6)]);const {commentThreadId:_0xcd13c,context:_0x105c0b,attributes:_0x954741,resolvedBy:_0x37d240,resolvedAt:_0x3e2480,unlinkedAt:_0x23ea8a,deletedAt:_0x5949c2}=_0xb9e902;if(_0x5949c2)continue;_0x570c88||(_0x570c88=_0x598ea0[_0x2e0f01(0xdd)]({'channelId':_0xb3a0ee,'threadId':_0xcd13c,'context':_0x105c0b,'attributes':_0x954741||{},'resolvedBy':_0x37d240,'resolvedAt':_0x3e2480,'unlinkedAt':_0x23ea8a,'isFromAdapter':!0x0}));const _0x34a400=new Set(Array[_0x2e0f01(0xcb)](_0x570c88[_0x2e0f01(0x9b)],_0x5e8911=>_0x5e8911['id']));for(const _0x3db472 of _0xb9e902[_0x2e0f01(0x9b)])_0x34a400[_0x2e0f01(0xde)](_0x3db472[_0x2e0f01(0xf2)]);for(const _0x31cdc9 of _0x34a400)_0x570c88[_0x2e0f01(0xe6)](_0x31cdc9)[_0x2e0f01(0xa3)]({'isFromAdapter':!0x0});for(const _0x95ff12 of _0xb9e902[_0x2e0f01(0x9b)]){const _0x44af61=_0x570c88[_0x2e0f01(0xe6)](_0x95ff12[_0x2e0f01(0xf2)]);_0x44af61?_0x44af61[_0x2e0f01(0xd0)]!==_0x95ff12[_0x2e0f01(0xd0)]&&_0x44af61[_0x2e0f01(0xe4)]({'content':_0x95ff12[_0x2e0f01(0xd0)],'isFromAdapter':!0x0}):_0x570c88[_0x2e0f01(0xd9)](Object[_0x2e0f01(0xe7)](b(_0x95ff12),{'isFromAdapter':!0x0}));}}}[_0x477d75(0xb2)](_0x293b40){const _0x6764bc=_0x477d75;if(!this[_0x6764bc(0xf7)][_0x6764bc(0xea)](_0x293b40))throw new _0xd7c2f2(_0x6764bc(0xd6),null,{'channelId':_0x293b40});return this[_0x6764bc(0xf7)][_0x6764bc(0xe5)](_0x293b40);}async[_0x477d75(0xd1)](_0x35d482){const _0x54c24e=_0x477d75,_0x2a5a92=this[_0x54c24e(0x9f)][_0x54c24e(0xa7)][_0x54c24e(0xe5)](_0x4aeb7d),{connection:_0x4c6eaf}=this[_0x54c24e(0x9f)][_0x54c24e(0xa7)][_0x54c24e(0xe5)](_0x3faa88),_0x15e025=new Set();for(const {resolvedBy:_0x3a50d9,comments:_0x5a7d17}of _0x35d482){_0x3a50d9&&!_0x2a5a92[_0x54c24e(0xd8)](_0x3a50d9)&&_0x15e025[_0x54c24e(0xc1)](_0x3a50d9);for(const {userId:_0x333b3e}of _0x5a7d17)_0x2a5a92[_0x54c24e(0xd8)](_0x333b3e)||_0x15e025[_0x54c24e(0xc1)](_0x333b3e);}if(0x0===_0x15e025[_0x54c24e(0xda)])return;const _0x1ef607=await _0x2df2c4[_0x54c24e(0xa4)](_0x4c6eaf,Array[_0x54c24e(0xcb)](_0x15e025));for(const _0x3ca1d0 of _0x1ef607)_0x2a5a92[_0x54c24e(0xd8)](_0x3ca1d0['id'])||_0x2a5a92[_0x54c24e(0xbe)](_0x3ca1d0);}}export default a;async function y(_0x35d085){const _0x83c9ec=_0x477d75;if(_0x83c9ec(0xab)!==_0x35d085[_0x83c9ec(0xc3)])throw _0x35d085;}function w(_0xe6f847){const _0xffab4e=_0x477d75;if((_0x21f2d7=_0xe6f847)[_0xffab4e(0xd2)][_0xffab4e(0xb4)](_0xffab4e(0xad))||_0x21f2d7[_0xffab4e(0xd2)][_0xffab4e(0xb4)](_0xffab4e(0xed))||_0x21f2d7[_0xffab4e(0xd2)][_0xffab4e(0xb4)](_0xffab4e(0xfe)))return new Promise(()=>{});var _0x21f2d7;throw _0xe6f847;}function b(_0x2126b5){const _0x56a766=_0x477d75;return{'threadId':_0x2126b5[_0x56a766(0xf6)],'commentId':_0x2126b5[_0x56a766(0xf2)],'content':_0x2126b5[_0x56a766(0xd0)],'createdAt':_0x2126b5[_0x56a766(0x9d)],'authorId':_0x2126b5[_0x56a766(0xb8)],'attributes':_0x2126b5[_0x56a766(0xa9)]||{}};}
|
|
@@ -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
|
+
const _0x4d936e=_0xf731;(function(_0xb5f0bb,_0x3e6eb1){const _0x1eff16=_0xf731,_0x3ef00e=_0xb5f0bb();while(!![]){try{const _0xdbf26b=-parseInt(_0x1eff16(0x1db))/0x1+-parseInt(_0x1eff16(0x207))/0x2*(-parseInt(_0x1eff16(0x234))/0x3)+-parseInt(_0x1eff16(0x21c))/0x4+-parseInt(_0x1eff16(0x1ec))/0x5*(parseInt(_0x1eff16(0x198))/0x6)+parseInt(_0x1eff16(0x175))/0x7*(-parseInt(_0x1eff16(0x1d9))/0x8)+-parseInt(_0x1eff16(0x241))/0x9+parseInt(_0x1eff16(0x20b))/0xa;if(_0xdbf26b===_0x3e6eb1)break;else _0x3ef00e['push'](_0x3ef00e['shift']());}catch(_0xe64408){_0x3ef00e['push'](_0x3ef00e['shift']());}}}(_0x4c6e,0xa339b));function _0xf731(_0xf0210,_0x2c579f){const _0x4c6e8c=_0x4c6e();return _0xf731=function(_0xf73153,_0x4b1ad2){_0xf73153=_0xf73153-0x158;let _0x516dd9=_0x4c6e8c[_0xf73153];return _0x516dd9;},_0xf731(_0xf0210,_0x2c579f);}import{Plugin as _0xff025b,PendingActions as _0xf586f1}from'ckeditor5/src/core.js';import{CKEditorError as _0x56f343,version as _0x39e8d2,uid as _0x35858e}from'ckeditor5/src/utils.js';import{Notification as _0x3ba099}from'ckeditor5/src/ui.js';import{transformSets as _0x2d43a4,NoOperation as _0x185b27,InsertOperation as _0x35814a,MarkerOperation as _0x4e0157,RootAttributeOperation as _0x2cb68e,OperationFactory as _0x1b0e2b,History as _0x5ab3b0}from'ckeditor5/src/engine.js';import _0x22132b from'./websocketgateway.js';import _0x16fa71 from'./sessions.js';import _0x997639 from'./usermarkers.js';import{getTranslation as _0x2653ed}from'../common-translations.js';import{Compressor as _0x221720}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5ee653}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3e6643,CollaborativeEditingService as _0x5acc8b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0xff025b{static [_0x4d936e(0x1dd)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5acc8b)());[_0x4d936e(0x163)];[_0x4d936e(0x1f8)];[_0x4d936e(0x1fa)];[_0x4d936e(0x202)];[_0x4d936e(0x192)];[_0x4d936e(0x1b3)];[_0x4d936e(0x164)];[_0x4d936e(0x208)];[_0x4d936e(0x22e)];[_0x4d936e(0x1bb)];[_0x4d936e(0x1d2)];[_0x4d936e(0x223)];[_0x4d936e(0x212)];[_0x4d936e(0x24e)];[_0x4d936e(0x1f2)];[_0x4d936e(0x228)];[_0x4d936e(0x1a1)];[_0x4d936e(0x238)];static get[_0x4d936e(0x1bf)](){return[_0x22132b,_0x16fa71,_0x997639,_0xf586f1,_0x5ee653,_0x3ba099];}static get[_0x4d936e(0x1d1)](){const _0x5da4a7=_0x4d936e;return _0x5da4a7(0x1f7);}static get[_0x4d936e(0x193)](){return!0x0;}static get[_0x4d936e(0x1cb)](){return!0x0;}get[_0x4d936e(0x170)](){const _0x2949fc=_0x4d936e;return this[_0x2949fc(0x257)]+this[_0x2949fc(0x163)];}get[_0x4d936e(0x257)](){const _0x3f367b=_0x4d936e;return this[_0x3f367b(0x1fa)][_0x3f367b(0x203)]-this[_0x3f367b(0x163)];}get[_0x4d936e(0x233)](){const _0x4993db=_0x4d936e,_0xc78355=this[_0x4993db(0x1fa)][_0x4993db(0x1b1)]();for(let _0x59854e=_0xc78355[_0x4993db(0x23d)]-0x1;_0x59854e>=0x0;_0x59854e--){const _0x38d8ab=_0xc78355[_0x59854e];if(!this[_0x4993db(0x1a1)][_0x4993db(0x1a7)](_0x38d8ab))return _0x38d8ab[_0x4993db(0x1f0)]+0x1-this[_0x4993db(0x163)];}return 0x0;}constructor(_0xbedd36){const _0x76a0a7=_0x4d936e;if(super(_0xbedd36),this[_0x76a0a7(0x163)]=0x0,this[_0x76a0a7(0x1f8)]=null,this[_0x76a0a7(0x1fa)]=new _0x5ab3b0(),this[_0x76a0a7(0x194)][_0x76a0a7(0x15e)][_0x76a0a7(0x1b7)](_0x76a0a7(0x23e),{}),this[_0x76a0a7(0x202)]=this[_0x76a0a7(0x194)][_0x76a0a7(0x15e)][_0x76a0a7(0x1f6)](_0x76a0a7(0x1d7)),!this[_0x76a0a7(0x202)])throw new _0x56f343(_0x76a0a7(0x256),this);const _0x23ae8f=_0xbedd36[_0x76a0a7(0x15e)][_0x76a0a7(0x1f6)](_0x76a0a7(0x166))||_0x39e8d2;this[_0x76a0a7(0x192)]=new l[(_0x76a0a7(0x1dd))](_0x23ae8f,this[_0x76a0a7(0x202)]),this[_0x76a0a7(0x1b3)]=this[_0x76a0a7(0x194)][_0x76a0a7(0x189)][_0x76a0a7(0x210)],this[_0x76a0a7(0x164)]=new _0x221720(),this[_0x76a0a7(0x208)]=[],this[_0x76a0a7(0x22e)]=new WeakSet(),this[_0x76a0a7(0x1bb)]=new Set(),this[_0x76a0a7(0x16b)](_0x76a0a7(0x18d),!0x1),this[_0x76a0a7(0x16b)](_0x76a0a7(0x15a),!0x1),this[_0x76a0a7(0x1d2)]=null,this[_0x76a0a7(0x223)]=!0x1,this[_0x76a0a7(0x212)]=null,this[_0x76a0a7(0x24e)]=0x12c,this[_0x76a0a7(0x1f2)]=this[_0x76a0a7(0x24e)],this[_0x76a0a7(0x228)]=null,this[_0x76a0a7(0x1a1)]=new WeakSet(),this[_0x76a0a7(0x238)]=new Y(this[_0x76a0a7(0x1a1)]);}[_0x4d936e(0x17e)](){const _0x3f7658=_0x4d936e,_0x8ce9=this[_0x3f7658(0x194)],_0x1d7230=_0x8ce9[_0x3f7658(0x258)][_0x3f7658(0x1f6)](_0x5ee653),_0x331701=_0x8ce9[_0x3f7658(0x258)][_0x3f7658(0x1f6)](_0x22132b);this[_0x3f7658(0x225)](_0x1d7230,_0x3f7658(0x16a),(_0xcd8bd5,_0x2ae516)=>{const _0x1f273b=_0x3f7658,_0x20e696=_0x2ae516[0x0];_0x20e696[_0x1f273b(0x1ac)]&&(_0xcd8bd5[_0x1f273b(0x18a)]=_0x1d7230[_0x1f273b(0x21f)](_0x20e696[_0x1f273b(0x1ac)]),_0xcd8bd5[_0x1f273b(0x1bc)]()),null===_0x20e696[_0x1f273b(0x1ac)]&&(_0xcd8bd5[_0x1f273b(0x18a)]=null,_0xcd8bd5[_0x1f273b(0x1bc)]());},{'priority':_0x3f7658(0x20d)}),this[_0x3f7658(0x225)](_0x8ce9[_0x3f7658(0x189)][_0x3f7658(0x210)][_0x3f7658(0x1a3)],_0x3f7658(0x20c),(_0x371db7,_0x2869bd)=>{const _0x1e7277=_0x3f7658;_0x2869bd[_0x1e7277(0x1fe)]&&this[_0x1e7277(0x245)]();}),this[_0x3f7658(0x225)](_0x8ce9[_0x3f7658(0x158)][_0x3f7658(0x18e)],_0x3f7658(0x1c9),()=>{const _0x1610cf=_0x3f7658;this[_0x1610cf(0x245)]();}),this[_0x3f7658(0x1cc)](),_0x8ce9[_0x3f7658(0x189)]['on'](_0x3f7658(0x17f),(_0x31bdb7,_0x5759d7)=>{const _0xb0acd9=_0x3f7658,_0x1e7559=_0x5759d7[0x0];_0x1e7559[_0xb0acd9(0x1a4)]&&(this[_0xb0acd9(0x21d)](_0x1e7559),this[_0xb0acd9(0x15b)]()&&this[_0xb0acd9(0x224)]());}),this[_0x3f7658(0x159)](),this[_0x3f7658(0x173)](_0x3f7658(0x1ad))['to'](_0x331701,_0x3f7658(0x1ef),this,_0x3f7658(0x15a),(_0xebedc5,_0x289ba8)=>_0x3f7658(0x1ff)===_0xebedc5&&!_0x289ba8),this['on'](_0x3f7658(0x24f),()=>{const _0x15f6e0=_0x3f7658;this[_0x15f6e0(0x1ad)]?_0x8ce9[_0x15f6e0(0x1ce)](_0x15f6e0(0x1d0)):_0x8ce9[_0x15f6e0(0x1ba)](_0x15f6e0(0x1d0));}),this[_0x3f7658(0x1ad)]?_0x8ce9[_0x3f7658(0x1ce)](_0x3f7658(0x1d0)):_0x8ce9[_0x3f7658(0x1ba)](_0x3f7658(0x1d0)),this[_0x3f7658(0x16b)](_0x3f7658(0x218),!0x1);}async[_0x4d936e(0x17c)](){const _0x3e3767=_0x4d936e,_0x12ee27=this[_0x3e3767(0x194)][_0x3e3767(0x258)][_0x3e3767(0x1f6)](_0x16fa71),_0x286e8b=this[_0x3e3767(0x194)][_0x3e3767(0x258)][_0x3e3767(0x1f6)](_0x22132b);try{this[_0x3e3767(0x18d)]=!0x0,_0x12ee27[_0x3e3767(0x242)](this[_0x3e3767(0x202)]);const _0x13a770=await this[_0x3e3767(0x192)][_0x3e3767(0x17c)](_0x286e8b[_0x3e3767(0x1fb)],this[_0x3e3767(0x233)]);await this[_0x3e3767(0x178)](_0x13a770)&&(this[_0x3e3767(0x18d)]=!0x1,this[_0x3e3767(0x204)]());const _0x3d2df9=await this[_0x3e3767(0x192)][_0x3e3767(0x190)]();_0x12ee27[_0x3e3767(0x1d8)](this[_0x3e3767(0x202)],_0x3d2df9),this[_0x3e3767(0x1a6)](),this[_0x3e3767(0x218)]=!0x0;}catch(_0xdd632f){if(function(_0x388bdb){const _0x152e8c=_0x3e3767;return _0x152e8c(0x1d5)===_0x388bdb[_0x152e8c(0x230)];}(_0xdd632f)&&this[_0x3e3767(0x1f8)])await this[_0x3e3767(0x19c)]();else{if(function(_0x30d57a){const _0x357f1e=_0x3e3767;return _0x357f1e(0x23b)===_0x30d57a[_0x357f1e(0x230)];}(_0xdd632f)){const _0x5e08ff=_0x2653ed(this[_0x3e3767(0x194)][_0x3e3767(0x246)],_0x3e3767(0x16d));this[_0x3e3767(0x1bd)](_0x5e08ff);}else{if(!(_0xdd632f instanceof Q))throw _0xdd632f;this[_0x3e3767(0x1bd)]();}}}}[_0x4d936e(0x1dc)](){const _0x2205c0=_0x4d936e,_0x4a66fe=this[_0x2205c0(0x194)][_0x2205c0(0x258)][_0x2205c0(0x1f6)](_0x22132b),_0x246f1a=this[_0x2205c0(0x194)][_0x2205c0(0x258)][_0x2205c0(0x1f6)](_0x16fa71);this[_0x2205c0(0x194)][_0x2205c0(0x1ba)](_0x2205c0(0x22f)),_0x246f1a[_0x2205c0(0x1eb)][_0x2205c0(0x1a7)](this[_0x2205c0(0x202)])&&_0x246f1a[_0x2205c0(0x242)](this[_0x2205c0(0x202)]),_0x4a66fe[_0x2205c0(0x232)](this),this[_0x2205c0(0x19a)](),super[_0x2205c0(0x1dc)]();}async[_0x4d936e(0x178)](_0x606801){const _0x3ca939=_0x4d936e;if(this[_0x3ca939(0x1f8)]!==_0x606801[_0x3ca939(0x1f8)]&&this[_0x3ca939(0x228)]!==_0x606801[_0x3ca939(0x244)])throw new Q();return this[_0x3ca939(0x1f8)]=_0x606801[_0x3ca939(0x1f8)],this[_0x3ca939(0x179)]([],{..._0x606801,'wereChangesApplied':!0x1,'data':_0x606801[_0x3ca939(0x1fc)]},_0x3ca939(0x17c));}async[_0x4d936e(0x1da)](_0x1054f6,_0x48295e=!0x1){const _0x46094d=_0x4d936e,{connection:_0x4bee90}=this[_0x46094d(0x194)][_0x46094d(0x258)][_0x46094d(0x1f6)](_0x22132b);l[_0x46094d(0x1dd)][_0x46094d(0x190)](_0x4bee90,this[_0x46094d(0x202)])[_0x46094d(0x172)](_0x491dbf=>this[_0x46094d(0x1fd)](_0x491dbf))[_0x46094d(0x22a)](_0x2c29d1=>{const _0xd7745f=_0x46094d;this[_0xd7745f(0x1e0)](_0xd7745f(0x183),_0x2c29d1);}),this[_0x46094d(0x225)](this[_0x46094d(0x192)],_0x46094d(0x25d),this[_0x46094d(0x206)][_0x46094d(0x173)](this)),this[_0x46094d(0x225)](this[_0x46094d(0x192)],_0x46094d(0x1d3),(_0x2323e0,_0x1c9aea)=>{const _0x51b5fb=_0x46094d;this[_0x51b5fb(0x1e0)](_0x51b5fb(0x22d),_0x1c9aea);}),this[_0x46094d(0x225)](this[_0x46094d(0x192)],_0x46094d(0x240),()=>{const _0x33ab7a=_0x46094d;this[_0x33ab7a(0x218)]=!0x1;});const _0x2e6db7=this[_0x46094d(0x238)][_0x46094d(0x1a5)](_0x1054f6);this[_0x46094d(0x18d)]=!0x0;const _0x4b5e1d=await this[_0x46094d(0x192)][_0x46094d(0x1b0)](_0x4bee90,this[_0x46094d(0x1be)](_0x1054f6),_0x2e6db7);if(this[_0x46094d(0x1f8)]=_0x4b5e1d[_0x46094d(0x1f8)],_0x48295e){if(!_0x4b5e1d[_0x46094d(0x255)])return void this[_0x46094d(0x1bd)]();this[_0x46094d(0x18d)]=!0x1,this[_0x46094d(0x204)](),this[_0x46094d(0x1fa)][_0x46094d(0x252)](),this[_0x46094d(0x163)]=_0x4b5e1d[_0x46094d(0x19b)],this[_0x46094d(0x1fa)][_0x46094d(0x203)]=this[_0x46094d(0x163)],await this[_0x46094d(0x179)](_0x1054f6,_0x4b5e1d,_0x46094d(0x1b9));}else await this[_0x46094d(0x214)](_0x4b5e1d,_0x1054f6);this[_0x46094d(0x1a6)](),this[_0x46094d(0x218)]=!0x0;}[_0x4d936e(0x1a6)](){const _0x59c73d=_0x4d936e,_0x46a523=this[_0x59c73d(0x194)][_0x59c73d(0x258)][_0x59c73d(0x1f6)](_0x16fa71),_0x11e3b4=this[_0x59c73d(0x194)][_0x59c73d(0x258)][_0x59c73d(0x1f6)](_0x997639),_0x1154d3=_0x46a523[_0x59c73d(0x1eb)][_0x59c73d(0x1f6)](this[_0x59c73d(0x202)]);_0x1154d3&&_0x1154d3[_0x59c73d(0x23d)]>0x1?_0x11e3b4[_0x59c73d(0x226)]():this[_0x59c73d(0x225)](_0x46a523,_0x59c73d(0x201)+this[_0x59c73d(0x202)],()=>{const _0x1fb8c3=_0x59c73d;0x2===_0x46a523[_0x1fb8c3(0x1eb)][_0x1fb8c3(0x1f6)](this[_0x1fb8c3(0x202)])[_0x1fb8c3(0x23d)]&&_0x11e3b4[_0x1fb8c3(0x226)]();});}async[_0x4d936e(0x206)](_0x2329be,_0x10b4b7,_0x512925,_0x5af597){const _0x2ba44c=_0x4d936e;if(!this[_0x2ba44c(0x18d)]&&this[_0x2ba44c(0x1b3)][_0x2ba44c(0x203)]==_0x10b4b7){const _0x545ab2=this[_0x2ba44c(0x235)](_0x512925,_0x5af597);await this[_0x2ba44c(0x191)](_0x545ab2),this[_0x2ba44c(0x1e5)](_0x545ab2,_0x10b4b7,_0x512925[_0x2ba44c(0x244)])||this[_0x2ba44c(0x1e0)](_0x2ba44c(0x1ca));}}async[_0x4d936e(0x19c)](){const _0x4f3fe4=_0x4d936e;this[_0x4f3fe4(0x19a)]();const {locale:_0x41f81a}=this[_0x4f3fe4(0x194)];let _0x221118;try{_0x221118=await this[_0x4f3fe4(0x192)][_0x4f3fe4(0x17a)]();}catch{const _0xf2ab5b=_0x2653ed(_0x41f81a,_0x4f3fe4(0x1f1));return void this[_0x4f3fe4(0x1bd)](_0xf2ab5b);}const _0x5a5931=_0x221118[_0x4f3fe4(0x1b8)]||_0x221118[_0x4f3fe4(0x176)];if(this[_0x4f3fe4(0x228)]!==_0x5a5931[_0x4f3fe4(0x244)]){const _0x1cf43a=_0x2653ed(_0x41f81a,_0x4f3fe4(0x196));return void this[_0x4f3fe4(0x1bd)](_0x1cf43a);}await this[_0x4f3fe4(0x1da)](this[_0x4f3fe4(0x194)][_0x4f3fe4(0x189)][_0x4f3fe4(0x210)][_0x4f3fe4(0x213)][_0x4f3fe4(0x1b1)](),!0x0);}[_0x4d936e(0x19a)](){const _0x3f1d8c=_0x4d936e;this[_0x3f1d8c(0x192)][_0x3f1d8c(0x1f9)](),this[_0x3f1d8c(0x208)]=[],clearTimeout(this[_0x3f1d8c(0x212)]),this[_0x3f1d8c(0x249)](this[_0x3f1d8c(0x192)]);}[_0x4d936e(0x1fd)](_0x198056){const _0x4944f8=_0x4d936e,_0x3efd90=this[_0x4944f8(0x194)][_0x4944f8(0x258)][_0x4944f8(0x1f6)](_0x16fa71);this[_0x4944f8(0x225)](_0x3efd90,_0x4944f8(0x201)+this[_0x4944f8(0x202)],(_0x5b149c,{session:_0x4a413a})=>{const _0x169b5e=_0x4944f8;if(_0x4a413a['id']===_0x3efd90[_0x169b5e(0x21e)]){_0x5b149c[_0x169b5e(0x25c)]();const _0x2f0cdb=this[_0x169b5e(0x194)][_0x169b5e(0x258)][_0x169b5e(0x1a7)](_0x169b5e(0x211))&&this[_0x169b5e(0x194)][_0x169b5e(0x258)][_0x169b5e(0x1f6)](_0x169b5e(0x211));let _0x1162e6=_0x4a413a[_0x169b5e(0x1c0)];_0x2f0cdb&&_0x2f0cdb[_0x169b5e(0x1f5)]&&(_0x1162e6=_0x1162e6[_0x169b5e(0x253)](_0x3f10ef=>_0x169b5e(0x216)!==_0x3f10ef)),this[_0x169b5e(0x194)][_0x169b5e(0x258)][_0x169b5e(0x1f6)](_0x169b5e(0x17d))[_0x169b5e(0x180)](_0x1162e6,this[_0x169b5e(0x202)]);}}),_0x3efd90[_0x4944f8(0x1d8)](this[_0x4944f8(0x202)],_0x198056);}[_0x4d936e(0x1cc)](){const _0x29334e=_0x4d936e,_0x3ef922=this[_0x29334e(0x194)][_0x29334e(0x1fc)][_0x29334e(0x16b)];this[_0x29334e(0x194)][_0x29334e(0x1fc)][_0x29334e(0x16b)]=(..._0x1132e3)=>{const _0x53f9b3=_0x29334e;if(!_0x1132e3[_0x1132e3[_0x53f9b3(0x23d)]-0x1][_0x53f9b3(0x15c)])throw new _0x56f343(_0x53f9b3(0x15f),this);_0x3ef922[_0x53f9b3(0x1e8)](this[_0x53f9b3(0x194)][_0x53f9b3(0x1fc)],_0x1132e3);};}[_0x4d936e(0x159)](){const _0x58d20f=_0x4d936e;this[_0x58d20f(0x194)][_0x58d20f(0x1fc)]['on'](_0x58d20f(0x17e),(_0x2bccec,[_0x4ff0b6])=>{const _0x5879e2=_0x58d20f;if(this[_0x5879e2(0x1b3)][_0x5879e2(0x203)])throw new _0x56f343(_0x5879e2(0x1c3),this);_0x2bccec[_0x5879e2(0x1bc)](),this[_0x5879e2(0x236)]();const _0x3ccf3b=this[_0x5879e2(0x194)][_0x5879e2(0x15e)][_0x5879e2(0x1f6)](_0x5879e2(0x177)),_0x4d5976=this[_0x5879e2(0x1a9)](_0x4ff0b6,_0x3ccf3b);0x0==_0x4d5976[_0x5879e2(0x23d)]&&_0x4d5976[_0x5879e2(0x219)](new _0x185b27(0x0)),_0x2bccec[_0x5879e2(0x18a)]=this[_0x5879e2(0x1da)](_0x4d5976)[_0x5879e2(0x172)](()=>{const _0x3a296d=_0x5879e2;this[_0x3a296d(0x194)][_0x3a296d(0x258)][_0x3a296d(0x1f6)](_0x22132b)[_0x3a296d(0x161)](this),this[_0x3a296d(0x194)][_0x3a296d(0x1fc)][_0x3a296d(0x182)](_0x3a296d(0x1c6));})[_0x5879e2(0x22a)](_0x137b7e=>this[_0x5879e2(0x1e0)](_0x5879e2(0x1cd),_0x137b7e))[_0x5879e2(0x1c2)](()=>this[_0x5879e2(0x204)]());},{'priority':_0x58d20f(0x20d)}),this[_0x58d20f(0x194)]['on'](_0x58d20f(0x251),async(_0x44891a,[_0x1102bd,_0x1f6b3f])=>{const _0x642422=_0x58d20f;_0x44891a[_0x642422(0x1bc)]();const _0x3bff97=this[_0x642422(0x194)][_0x642422(0x189)][_0x642422(0x210)][_0x642422(0x254)](_0x1102bd);if(!this[_0x642422(0x1bb)][_0x642422(0x1a7)](_0x1102bd)){const _0x531168=_0x1f6b3f&&_0x1f6b3f[_0x642422(0x1fc)]?_0x1f6b3f[_0x642422(0x1fc)]:'',_0x5109ce=_0x1f6b3f&&_0x1f6b3f[_0x642422(0x186)]?_0x1f6b3f[_0x642422(0x186)]:{};await this[_0x642422(0x209)](_0x1102bd,_0x531168,_0x5109ce);}this[_0x642422(0x194)][_0x642422(0x189)][_0x642422(0x22b)]({'isUndoable':!0x1},()=>{const _0x1cc413=_0x642422;_0x3bff97[_0x1cc413(0x237)]=!0x0,this[_0x1cc413(0x194)][_0x1cc413(0x189)][_0x1cc413(0x210)][_0x1cc413(0x1a2)][_0x1cc413(0x239)](_0x3bff97);});},{'priority':_0x58d20f(0x20d)});}async[_0x4d936e(0x191)](_0x148263){const _0x47e3f5=_0x4d936e,_0x3dc838=this[_0x47e3f5(0x194)][_0x47e3f5(0x258)][_0x47e3f5(0x1f6)](_0x5ee653),{connection:_0x5de08}=this[_0x47e3f5(0x194)][_0x47e3f5(0x258)][_0x47e3f5(0x1f6)](_0x22132b),_0x1916f1=new Set();for(const _0x58829f of _0x148263){const _0x5d0124=_0x58829f[_0x47e3f5(0x1ac)];_0x5d0124&&!_0x3dc838[_0x47e3f5(0x21f)](_0x5d0124)&&_0x1916f1[_0x47e3f5(0x185)](_0x5d0124);}if(0x0===_0x1916f1[_0x47e3f5(0x1a0)])return;const _0x418cb6=await _0x3e6643[_0x47e3f5(0x1d6)](_0x5de08,Array[_0x47e3f5(0x162)](_0x1916f1));for(const _0x1913dd of _0x418cb6)_0x3dc838[_0x47e3f5(0x21f)](_0x1913dd['id'])||_0x3dc838[_0x47e3f5(0x171)](_0x1913dd);}[_0x4d936e(0x1a9)](_0x3a646c,_0x50808d={}){const _0x1953b1=_0x4d936e,_0x45b7dc=this[_0x1953b1(0x194)][_0x1953b1(0x189)],_0x579cdb=[];let _0x1182dd=0x0;const _0x597802=_0x1953b1(0x220)==typeof _0x3a646c?{'main':_0x3a646c}:_0x3a646c;for(const _0x5190b9 of Object[_0x1953b1(0x20e)](_0x597802)){if(!this[_0x1953b1(0x1b3)][_0x1953b1(0x1b2)][_0x1953b1(0x1a7)](_0x5190b9))throw new _0x56f343(_0x1953b1(0x25a),this);const _0x3e24f1=this[_0x1953b1(0x194)][_0x1953b1(0x1fc)][_0x1953b1(0x21a)](_0x597802[_0x5190b9]),_0x2a4ee0=this[_0x1953b1(0x1b3)][_0x1953b1(0x254)](_0x5190b9),_0x1b8677=new _0x35814a(_0x45b7dc[_0x1953b1(0x259)](_0x2a4ee0,0x0),_0x3e24f1,_0x1182dd++);_0x579cdb[_0x1953b1(0x219)](_0x1b8677);for(const [_0x15f47f,_0x38564f]of _0x3e24f1[_0x1953b1(0x200)]){const _0x59e637=_0x45b7dc[_0x1953b1(0x19d)](_0x45b7dc[_0x1953b1(0x1ed)](_0x2a4ee0,_0x38564f[_0x1953b1(0x24b)][_0x1953b1(0x1aa)][_0x1953b1(0x1ee)]()),_0x45b7dc[_0x1953b1(0x1ed)](_0x2a4ee0,_0x38564f[_0x1953b1(0x1e1)][_0x1953b1(0x1aa)][_0x1953b1(0x1ee)]())),_0x61cb2f=new _0x4e0157(_0x15f47f,null,_0x59e637,_0x45b7dc[_0x1953b1(0x200)],!0x0,_0x1182dd++);_0x579cdb[_0x1953b1(0x219)](_0x61cb2f);}}if(_0x50808d)for(const [_0x2e63d5,_0x169512]of Object[_0x1953b1(0x1b4)](_0x50808d)){const _0x57a710=_0x45b7dc[_0x1953b1(0x210)][_0x1953b1(0x254)](_0x2e63d5);if(!_0x57a710)throw new _0x56f343(_0x1953b1(0x20a),null);for(const [_0x5d4c17,_0x487fa8]of Object[_0x1953b1(0x1b4)](_0x169512))if(null!==_0x487fa8){const _0x5b179e=new _0x2cb68e(_0x57a710,_0x5d4c17,null,_0x487fa8,_0x1182dd++);_0x579cdb[_0x1953b1(0x219)](_0x5b179e);}}return _0x579cdb;}async[_0x4d936e(0x209)](_0x5a8f0c,_0x1a92d9,_0x5e0390){const _0x452358=_0x4d936e;this[_0x452358(0x1a9)]({[_0x5a8f0c]:_0x1a92d9},{[_0x5a8f0c]:_0x5e0390})[_0x452358(0x1c7)]((_0x397ab2,_0x582644)=>{const _0x2e0fb4=_0x452358;_0x397ab2[_0x2e0fb4(0x1f0)]=this[_0x2e0fb4(0x1b3)][_0x2e0fb4(0x203)]+_0x582644,_0x397ab2[_0x2e0fb4(0x24a)]=!0x0,this[_0x2e0fb4(0x21d)](_0x397ab2);}),this[_0x452358(0x224)](),await this[_0x452358(0x229)]();}async[_0x4d936e(0x214)](_0x3b5e42,_0x110dfc){const _0x52bf1a=_0x4d936e;let _0x2b7bd3;this[_0x52bf1a(0x163)]=_0x3b5e42[_0x52bf1a(0x19b)];const _0x3f9f32=_0x3b5e42[_0x52bf1a(0x255)]&&!_0x3b5e42[_0x52bf1a(0x1de)],_0x5c65ad=_0x3f9f32?0x0:_0x3b5e42[_0x52bf1a(0x1fc)][_0x52bf1a(0x1f0)];if(_0x110dfc[_0x52bf1a(0x1c7)](_0x1e7309=>{const _0x1a5251=_0x52bf1a;_0x1e7309[_0x1a5251(0x24a)]=!0x0,_0x1e7309[_0x1a5251(0x1e3)]=_0x3b5e42[_0x1a5251(0x167)],_0x1e7309[_0x1a5251(0x1ac)]=null;}),_0x3f9f32)_0x2b7bd3=_0x110dfc,this[_0x52bf1a(0x243)](_0x2b7bd3,_0x3f9f32);else{if(_0x3b5e42[_0x52bf1a(0x1de)]){const _0x282f94=this[_0x52bf1a(0x1a9)](_0x3b5e42[_0x52bf1a(0x1de)]);this[_0x52bf1a(0x1b3)][_0x52bf1a(0x213)][_0x52bf1a(0x203)]=-_0x282f94[_0x52bf1a(0x23d)],_0x282f94[_0x52bf1a(0x1c7)](_0x240540=>{const _0x44781=_0x52bf1a;_0x240540[_0x44781(0x1f0)]-=_0x282f94[_0x44781(0x23d)],_0x240540[_0x44781(0x1e3)]=_0x3b5e42[_0x44781(0x167)],_0x240540[_0x44781(0x24a)]=!0x0,_0x240540[_0x44781(0x1ac)]=null;}),this[_0x52bf1a(0x243)](_0x282f94,!0x0),this[_0x52bf1a(0x1fa)][_0x52bf1a(0x203)]=-_0x282f94[_0x52bf1a(0x23d)]+this[_0x52bf1a(0x163)],this[_0x52bf1a(0x248)](_0x282f94);}this[_0x52bf1a(0x1b3)][_0x52bf1a(0x213)][_0x52bf1a(0x203)]=_0x5c65ad,_0x2b7bd3=this[_0x52bf1a(0x235)](_0x3b5e42[_0x52bf1a(0x1fc)],_0x3b5e42[_0x52bf1a(0x24d)]),await this[_0x52bf1a(0x191)](_0x2b7bd3),this[_0x52bf1a(0x243)](_0x2b7bd3,_0x3f9f32);}_0x3b5e42[_0x52bf1a(0x244)]&&(this[_0x52bf1a(0x238)][_0x52bf1a(0x17b)](_0x2b7bd3,_0x3b5e42[_0x52bf1a(0x244)]),this[_0x52bf1a(0x228)]=_0x3b5e42[_0x52bf1a(0x244)]),this[_0x52bf1a(0x1fa)][_0x52bf1a(0x203)]=_0x5c65ad+this[_0x52bf1a(0x163)],this[_0x52bf1a(0x248)](_0x2b7bd3),_0x110dfc[_0x52bf1a(0x253)](_0x17bd83=>{const _0x29df15=_0x52bf1a,_0x4f7a28=this[_0x29df15(0x1b5)](_0x17bd83);return _0x4f7a28&&!this[_0x29df15(0x1bb)][_0x29df15(0x1a7)](_0x4f7a28);})[_0x52bf1a(0x1c7)]((_0x450dda,_0x4789b2)=>{const _0x51d807=_0x52bf1a;_0x450dda[_0x51d807(0x1f0)]=this[_0x51d807(0x1b3)][_0x51d807(0x203)]+_0x4789b2,this[_0x51d807(0x21d)](_0x450dda);}),this[_0x52bf1a(0x15b)]()?(this[_0x52bf1a(0x1f2)]=0x0,this[_0x52bf1a(0x224)](!0x0),await this[_0x52bf1a(0x229)]()):(this[_0x52bf1a(0x18d)]=!0x1,this[_0x52bf1a(0x204)]());}[_0x4d936e(0x1e0)](_0x2d4501,_0x88caad){const _0xf269bd=_0x4d936e,_0x439aa4=_0x88caad&&_0x88caad[_0xf269bd(0x24c)];if(_0x439aa4&&_0x439aa4[_0xf269bd(0x174)](_0xf269bd(0x197)))throw _0x88caad;const _0x5783d2=this[_0xf269bd(0x194)][_0xf269bd(0x258)][_0xf269bd(0x1f6)](_0x22132b);throw this[_0xf269bd(0x18d)]=!0x0,_0x5783d2[_0xf269bd(0x1f9)](),this[_0xf269bd(0x194)][_0xf269bd(0x1ba)](_0xf269bd(0x21b)),new _0x56f343(_0x2d4501,this[_0xf269bd(0x194)],_0x439aa4?{'originalError':_0x439aa4}:void 0x0);}[_0x4d936e(0x21d)](_0x3e4868){const _0x451656=_0x4d936e;this[_0x451656(0x22e)][_0x451656(0x1a7)](_0x3e4868)||(this[_0x451656(0x22e)][_0x451656(0x185)](_0x3e4868),this[_0x451656(0x208)][_0x451656(0x219)](_0x3e4868),this[_0x451656(0x1d2)]||_0x451656(0x221)==_0x3e4868[_0x451656(0x1cf)]&&!_0x3e4868[_0x451656(0x16c)]||this[_0x451656(0x236)]());}[_0x4d936e(0x224)](_0x6b167a=!0x1){const _0x237fdd=_0x4d936e;!_0x6b167a&&this[_0x237fdd(0x18d)]||(this[_0x237fdd(0x18d)]=!0x0,clearTimeout(this[_0x237fdd(0x212)]),this[_0x237fdd(0x212)]=setTimeout(()=>{const _0x80f7ba=_0x237fdd;this[_0x80f7ba(0x1df)]()[_0x80f7ba(0x172)](_0x5363c2=>{const _0x4a3e36=_0x80f7ba;_0x5363c2&&(this[_0x4a3e36(0x204)](),this[_0x4a3e36(0x18d)]=!0x1);})[_0x80f7ba(0x22a)](_0x5ca1b7=>{const _0x8d4aa9=_0x80f7ba;this[_0x8d4aa9(0x204)](),this[_0x8d4aa9(0x18d)]=!0x1,function(_0x5113de){const _0x4912c5=_0x8d4aa9;return _0x5113de[_0x4912c5(0x24c)][_0x4912c5(0x174)](_0x4912c5(0x1e9))||_0x5113de[_0x4912c5(0x24c)][_0x4912c5(0x174)](_0x4912c5(0x1e4))||_0x5113de[_0x4912c5(0x24c)][_0x4912c5(0x174)](_0x4912c5(0x187));}(_0x5ca1b7)||this[_0x8d4aa9(0x1e0)](_0x5ca1b7[_0x8d4aa9(0x24c)],_0x5ca1b7);});},this[_0x237fdd(0x1f2)]));}[_0x4d936e(0x229)](){return new Promise(_0x358879=>{const _0x223568=_0xf731;this['on'](_0x223568(0x16f),()=>{_0x358879();});});}async[_0x4d936e(0x1df)](){const _0x32268b=_0x4d936e,_0x14028b=this[_0x32268b(0x194)][_0x32268b(0x258)][_0x32268b(0x1f6)](_0x997639);if(this[_0x32268b(0x16e)]()&&(_0x14028b[_0x32268b(0x226)](),this[_0x32268b(0x223)]=!0x1),!this[_0x32268b(0x15b)]())return!0x0;const _0x14618e=[...this[_0x32268b(0x208)]];for(const _0x345e38 of _0x14618e)_0x345e38[_0x32268b(0x22c)]=this[_0x32268b(0x1b3)][_0x32268b(0x213)][_0x32268b(0x1d4)](_0x345e38);const _0x50512d=this[_0x32268b(0x238)][_0x32268b(0x1a5)](_0x14618e),_0x30cbb9=J++,_0x2d75b3=this[_0x32268b(0x1be)](_0x14618e),_0x15fe91=await this[_0x32268b(0x192)][_0x32268b(0x23f)](_0x2d75b3,_0x2d75b3[_0x32268b(0x1f0)],_0x50512d);try{return await this[_0x32268b(0x179)](_0x14618e,_0x15fe91,_0x30cbb9);}catch(_0xebc951){return this[_0x32268b(0x1e0)](_0x32268b(0x169),_0xebc951);}}async[_0x4d936e(0x179)](_0x231585,_0x428e31,_0x8a7730){const _0x14c129=_0x4d936e;if(_0x14c129(0x1d3)in _0x428e31)throw _0x428e31[_0x14c129(0x1d3)];let _0x1925d2=!0x1;if(_0x428e31[_0x14c129(0x255)]){_0x428e31[_0x14c129(0x244)]&&(this[_0x14c129(0x228)]=_0x428e31[_0x14c129(0x244)]),this[_0x14c129(0x208)]=this[_0x14c129(0x208)][_0x14c129(0x253)](_0x10ac18=>!_0x231585[_0x14c129(0x199)](_0x10ac18));for(const _0x5893e4 of _0x231585)_0x5893e4[_0x14c129(0x1e3)]=_0x14c129(0x23c)in _0x428e31&&_0x428e31[_0x14c129(0x23c)]||void 0x0;X(_0x231585,_0x428e31[_0x14c129(0x203)]-_0x231585[_0x14c129(0x23d)]),this[_0x14c129(0x248)](_0x231585);const _0x30f6a5=_0x231585[_0x14c129(0x253)](_0x29e04e=>{const _0x402aae=_0x14c129;if(!_0x29e04e[_0x402aae(0x24a)])return!0x1;const _0xd6f497=this[_0x402aae(0x1b5)](_0x29e04e);return _0xd6f497&&!this[_0x402aae(0x1bb)][_0x402aae(0x1a7)](_0xd6f497);});X(_0x30f6a5,this[_0x14c129(0x1b3)][_0x14c129(0x203)]),this[_0x14c129(0x243)](_0x30f6a5),_0x1925d2=!0x0,this[_0x14c129(0x1f2)]=this[_0x14c129(0x24e)];}else{const _0x26aaf8=this[_0x14c129(0x235)](_0x428e31[_0x14c129(0x1fc)],_0x428e31[_0x14c129(0x24d)])[_0x14c129(0x253)](_0x2ae306=>_0x2ae306[_0x14c129(0x1f0)]>=this[_0x14c129(0x257)]);_0x26aaf8[_0x14c129(0x1c7)](_0x2afef1=>this[_0x14c129(0x217)](_0x2afef1)),this[_0x14c129(0x208)]=this[_0x14c129(0x208)][_0x14c129(0x253)](_0x468f28=>!_0x468f28[_0x14c129(0x24a)]||!this[_0x14c129(0x1bb)][_0x14c129(0x1a7)](this[_0x14c129(0x1b5)](_0x468f28))),this[_0x14c129(0x208)][_0x14c129(0x23d)]&&X(this[_0x14c129(0x208)],this[_0x14c129(0x208)][0x0][_0x14c129(0x1f0)]),await this[_0x14c129(0x191)](_0x26aaf8),_0x1925d2=this[_0x14c129(0x1e5)](_0x26aaf8,_0x428e31[_0x14c129(0x203)],_0x428e31[_0x14c129(0x244)]),this[_0x14c129(0x1f2)]=Math[_0x14c129(0x1f3)](this[_0x14c129(0x1f2)]/0x2);}return _0x1925d2?!this[_0x14c129(0x15b)]()||(this[_0x14c129(0x224)](!0x0),!0x1):this[_0x14c129(0x1e0)](_0x14c129(0x20f));}[_0x4d936e(0x1e5)](_0x1218a7,_0x22936f,_0x36312c){const _0x5569d3=_0x4d936e;try{const _0x438520={'document':this[_0x5569d3(0x1b3)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x38ee45,operationsB:_0x46f114,originalOperations:_0x2c3361}=_0x2d43a4(_0x1218a7,this[_0x5569d3(0x208)],_0x438520);X(_0x38ee45,this[_0x5569d3(0x1b3)][_0x5569d3(0x203)]),X(_0x46f114,_0x22936f);for(const _0x4855d5 of _0x38ee45){const _0xcd528a=_0x2c3361[_0x5569d3(0x1f6)](_0x4855d5);_0x4855d5[_0x5569d3(0x1ac)]=_0xcd528a?_0xcd528a[_0x5569d3(0x1ac)]:null;}_0x36312c&&(this[_0x5569d3(0x238)][_0x5569d3(0x17b)](_0x1218a7,_0x36312c),this[_0x5569d3(0x228)]=_0x36312c),this[_0x5569d3(0x208)]=[..._0x46f114],this[_0x5569d3(0x243)](_0x38ee45),this[_0x5569d3(0x248)](_0x1218a7);}catch(_0x3cd979){return console[_0x5569d3(0x1d3)](_0x3cd979),!0x1;}return!0x0;}[_0x4d936e(0x243)](_0x1fe1b5,_0x202bf8=!0x1){const _0x520f67=_0x4d936e;this[_0x520f67(0x194)][_0x520f67(0x189)][_0x520f67(0x22b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x30137c=>{const _0x328854=_0x520f67;for(const _0x2d0311 of _0x1fe1b5)this[_0x328854(0x22e)][_0x328854(0x185)](_0x2d0311),this[_0x328854(0x217)](_0x2d0311),_0x30137c[_0x328854(0x181)][_0x328854(0x1b6)](_0x2d0311),this[_0x328854(0x194)][_0x328854(0x189)][_0x328854(0x17f)](_0x2d0311);});}[_0x4d936e(0x217)](_0x353cf0){const _0x10c122=_0x4d936e,_0x30f6ad=this[_0x10c122(0x1b5)](_0x353cf0);_0x30f6ad&&this[_0x10c122(0x1bb)][_0x10c122(0x185)](_0x30f6ad);}[_0x4d936e(0x1b5)](_0x46c5d7){const _0x1c44e6=_0x4d936e;let _0x5e4327,_0x5c48a0;switch(_0x46c5d7[_0x1c44e6(0x1cf)]){case _0x1c44e6(0x23a):_0x5e4327=_0x46c5d7[_0x1c44e6(0x25b)][_0x1c44e6(0x15d)];break;case _0x1c44e6(0x221):if(_0x5c48a0=_0x46c5d7[_0x1c44e6(0x1ab)],!_0x5c48a0)return null;_0x5e4327=_0x5c48a0[_0x1c44e6(0x15d)];break;case _0x1c44e6(0x1a8):_0x5e4327=_0x46c5d7[_0x1c44e6(0x15d)];break;case _0x1c44e6(0x1c8):_0x5e4327=_0x46c5d7[_0x1c44e6(0x160)];break;case _0x1c44e6(0x18b):_0x5e4327=_0x46c5d7[_0x1c44e6(0x247)][_0x1c44e6(0x15d)];break;default:return null;}return _0x5e4327[_0x1c44e6(0x1e2)];}[_0x4d936e(0x248)](_0x13800b){const _0x32f19e=_0x4d936e;_0x13800b[_0x32f19e(0x1c7)](_0x4e0d04=>{const _0x40ec3e=_0x32f19e,_0x16d125=_0x4e0d04[_0x40ec3e(0x1c5)]();_0x16d125[_0x40ec3e(0x1ac)]=_0x4e0d04[_0x40ec3e(0x1ac)],_0x16d125[_0x40ec3e(0x24a)]=!!_0x4e0d04[_0x40ec3e(0x24a)],_0x16d125[_0x40ec3e(0x1e3)]=_0x4e0d04[_0x40ec3e(0x1e3)],_0x16d125[_0x40ec3e(0x1f0)]+=this[_0x40ec3e(0x163)],_0x4e0d04[_0x40ec3e(0x1c4)]&&this[_0x40ec3e(0x1a1)][_0x40ec3e(0x185)](_0x16d125),this[_0x40ec3e(0x1fa)][_0x40ec3e(0x1b6)](_0x16d125);});}[_0x4d936e(0x1bd)](_0x4b0b7a){const _0x4208cc=_0x4d936e,_0x342b2f=this[_0x4208cc(0x194)][_0x4208cc(0x258)][_0x4208cc(0x1f6)](_0x4208cc(0x222)),_0x25f816=this[_0x4208cc(0x194)][_0x4208cc(0x246)];_0x4b0b7a||(_0x4b0b7a=_0x2653ed(_0x25f816,_0x4208cc(0x165))),_0x342b2f[_0x4208cc(0x188)](_0x4b0b7a,{'title':_0x2653ed(_0x25f816,_0x4208cc(0x1af)),'namespace':_0x4208cc(0x1ae)}),this[_0x4208cc(0x15a)]=!0x0,clearTimeout(this[_0x4208cc(0x212)]),this[_0x4208cc(0x208)]=[],this[_0x4208cc(0x194)][_0x4208cc(0x258)][_0x4208cc(0x1f6)](_0x22132b)[_0x4208cc(0x1f9)]();}[_0x4d936e(0x236)](){const _0x5717b0=_0x4d936e;this[_0x5717b0(0x1d2)]||(this[_0x5717b0(0x1d2)]=this[_0x5717b0(0x194)][_0x5717b0(0x258)][_0x5717b0(0x1f6)](_0xf586f1)[_0x5717b0(0x185)](_0x2653ed(this[_0x5717b0(0x194)][_0x5717b0(0x246)],_0x5717b0(0x231))));}[_0x4d936e(0x204)](){const _0x48d6a9=_0x4d936e;this[_0x48d6a9(0x1d2)]&&(this[_0x48d6a9(0x194)][_0x48d6a9(0x258)][_0x48d6a9(0x1f6)](_0xf586f1)[_0x48d6a9(0x195)](this[_0x48d6a9(0x1d2)]),this[_0x48d6a9(0x1d2)]=null);}[_0x4d936e(0x1be)](_0x5d2c78){const _0x390fdd=_0x4d936e,_0x2e3e13=_0x5d2c78[_0x390fdd(0x18c)](_0x432b34=>_0x432b34[_0x390fdd(0x215)]());return this[_0x390fdd(0x164)][_0x390fdd(0x1c1)](_0x2e3e13);}[_0x4d936e(0x235)](_0x20c7e3,_0x2f3c82){const _0x3d5242=_0x4d936e;return this[_0x3d5242(0x164)][_0x3d5242(0x227)](_0x20c7e3)[_0x3d5242(0x18c)]((_0x687032,_0x2d0d0a)=>{const _0x4fbb4c=_0x3d5242,_0x5cd9c3=_0x4fbb4c(0x17e)==_0x2f3c82[_0x2d0d0a][_0x4fbb4c(0x1cf)];if(_0x4fbb4c(0x250)==_0x687032[_0x4fbb4c(0x1e7)]){const _0x47ba0d=_0x687032[_0x4fbb4c(0x25b)][_0x4fbb4c(0x15d)];!this[_0x4fbb4c(0x1b3)][_0x4fbb4c(0x254)](_0x47ba0d)&&(this[_0x4fbb4c(0x1b3)][_0x4fbb4c(0x1e6)](_0x4fbb4c(0x168),_0x47ba0d)[_0x4fbb4c(0x19e)]=!0x1);}const _0x19926a=_0x1b0e2b[_0x4fbb4c(0x19f)](_0x687032,this[_0x4fbb4c(0x1b3)]);return _0x19926a[_0x4fbb4c(0x22c)]=_0x687032[_0x4fbb4c(0x22c)],_0x19926a[_0x4fbb4c(0x24a)]=_0x5cd9c3,_0x19926a[_0x4fbb4c(0x1ac)]=_0x5cd9c3?null:_0x2f3c82[_0x2d0d0a][_0x4fbb4c(0x18f)],_0x19926a[_0x4fbb4c(0x1c4)]=_0x4fbb4c(0x1f4)===_0x2f3c82[_0x2d0d0a][_0x4fbb4c(0x1cf)],_0x19926a[_0x4fbb4c(0x1e3)]=_0x2f3c82[_0x2d0d0a][_0x4fbb4c(0x1e3)],_0x19926a;});}[_0x4d936e(0x245)](){const _0x25f47a=_0x4d936e;this[_0x25f47a(0x223)]=!0x0,this[_0x25f47a(0x16e)]()?this[_0x25f47a(0x224)]():this[_0x25f47a(0x223)]=!0x1;}[_0x4d936e(0x16e)](){const _0x56114f=_0x4d936e,_0x4a6a51=this[_0x56114f(0x194)][_0x56114f(0x258)][_0x56114f(0x1f6)](_0x16fa71)[_0x56114f(0x1eb)][_0x56114f(0x1f6)](this[_0x56114f(0x202)]);return!this[_0x56114f(0x194)][_0x56114f(0x205)]&&!!_0x4a6a51&&_0x4a6a51[_0x56114f(0x23d)]>0x1&&this[_0x56114f(0x223)];}[_0x4d936e(0x15b)](){const _0x5ae177=_0x4d936e;return this[_0x5ae177(0x208)][_0x5ae177(0x23d)]>0x0||this[_0x5ae177(0x16e)]();}}function _0x4c6e(){const _0x1cce6c=['userId','getConnectedSessions','_fetchMissingUsers','_service','isOfficialPlugin','editor','remove','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.','realtimecollaborationclient','18JHHURS','includes','_disconnectService','offset','_connectAfterSessionHasBeenFlushed','createRange','_isAttached','fromJSON','size','_disconnectionOperations','differ','selection','isDocumentOperation','getIdOfTheLastOperation','_handleSendingSelectionMarkers','has','addRootAttribute','_getOperationsFromInitData','path','newRange','_authorId','_isEditingAllowed','real-time-collaboration','Synchronization\x20issue','connect','getOperations','roots','_document','entries','_getAffectedRoot','addOperation','define','currentDocumentSession','reconnection:\x20flushed\x20session','enableReadOnlyMode','_knownRootNames','stop','_handleReconnectionError','_compressOperations','requires','permissions','compress','finally','realtimecollaborationclient-init-document-already-initialized','_isDisconnection','clone','ready','forEach','addRoot','change:hasDomSelection','realtimecollaborationclient-init-service-incorrect-server-operation','isPremiumPlugin','_initThrowingOnDataSet','realtimecollaborationclient-init-connection-failed','disableReadOnlyMode','type','rtc-offline','pluginName','_pendingAction','error','isUndoneOperation','404','getMany','collaboration.channelId','register','8mmpzvg','_connectService','945588cHAxyD','destroy','CollaborativeEditingService','initData','_sendBufferedOperations','_crash','end','rootName','createdAt','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_handleExternalOperations','createRoot','__className','apply','cloud-services-internal-error:\x20Not\x20connected.','_ignoredOperations','channelSessions','2171555bBuzTH','createPositionFromPath','slice','state','baseVersion','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_currentBufferDelay','round','cs:removeUser','isEnabled','get','RealTimeCollaborationClient','sessionId','disconnect','serverHistory','connection','data','_initSessionsHandling','directChange','connected','markers','sessionAdd:','_channelId','version','_clearPendingAction','isReadOnly','_handleReceivedOperations','106FSXkwj','_bufferedOperations','_loadRoot','multi-root-editor-root-attributes-no-root','41598290XoUnbE','change:range','high','keys','realtimecollaborationclient-handleserverresponse','document','CommentsOnly','_sendBufferedOperationsDelayId','history','_handleInitialConnectionData','toJSON','document:write','_addKnownRoot','_isConnected','push','parse','realtimecollaborationclient-error','1291164YHFKoo','_saveOperationInBuffer','mySessionId','getUser','string','marker','Notification','_hasSelectionChanged','_sendBufferedOperationsDelayed','listenTo','createUserMarkerOperations','decompress','_lastSyncedOperationId','_waitUntilSynced','catch','enqueueChange','wasUndone','realtimecollaborationclient-init-service-internal-error','_knownOperations','rtc-destroyed','code','PENDING_ACTION_SENDING_DATA','removeFromReconnectionStack','lastSyncVersion','69054bpCkYn','_decompressOperations','_setPendingAction','_isLoaded','_operationIdentifier','_bufferRootLoad','insert','409','lastOperationAcceptedAt','length','collaboration','sendOperations','disconnected','9363483FsSQAA','unregister','_applyOperationsSet','lastOperationId','_refreshUserSelectionMarkers','locale','targetPosition','_updateServerHistory','stopListening','_isInit','start','message','metadata','_baseBufferDelay','change:_isEditingAllowed','InsertOperation','loadRoot','reset','filter','getRoot','wereChangesApplied','collaboration-missing-channelid','_lastServerVersion','plugins','createPositionAt','realtimecollaborationclient-init-non-existent-root','position','off','operationsReceived','editing','_setUpDataInit','_hasSynchronizationProblem','_shouldSendUpdate','suppressErrorInCollaboration','root','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','affectedSelectable','addToReconnectionStack','from','_offset','_compressor','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.','cloudServices.bundleVersion','sessionCreatedAt','$root','realtimecollaborationclient-sendbufferedoperations','getOperationAuthor','set','affectsData','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_shouldSendSelectionUpdate','change:_isPendingUpdate','cloudDocumentVersion','addUser','then','bind','startsWith','7696591VmXlLl','lastDocumentSession','rootsAttributes','_handleReconnectionResponse','_handleServerResponse','getDocumentDetails','setIdForTheLastOperation','reconnect','Permissions','init','applyOperation','setPermissions','batch','fire','realtimecollaborationclient-init-session-connection-error','_operationToId','add','attributes','cloud-services-internal-error:\x20Request\x20timeout.','showWarning','model','return','move','map','_isPendingUpdate','view'];_0x4c6e=function(){return _0x1cce6c;};return _0x4c6e();}export default l;class Q extends Error{}function X(_0x2ce99f,_0x435081){const _0x11b9f9=_0x4d936e;for(const _0x4f9f37 of _0x2ce99f)_0x4f9f37[_0x11b9f9(0x1f0)]=_0x435081++;}class Y{[_0x4d936e(0x1ea)];[_0x4d936e(0x184)];constructor(_0x3dec37){const _0x1e7d98=_0x4d936e;this[_0x1e7d98(0x1ea)]=_0x3dec37,this[_0x1e7d98(0x184)]=new WeakMap();}[_0x4d936e(0x1a5)](_0x38dd0d){const _0x2a202b=_0x4d936e;let _0x177027=_0x38dd0d[_0x2a202b(0x23d)];for(;_0x177027--;){const _0x159bc5=_0x38dd0d[_0x177027];if(!this[_0x2a202b(0x1ea)][_0x2a202b(0x1a7)](_0x159bc5)){if(!this[_0x2a202b(0x184)][_0x2a202b(0x1a7)](_0x159bc5)){const _0x369427=_0x35858e()[_0x2a202b(0x1ee)](0x1,0x12);this[_0x2a202b(0x184)][_0x2a202b(0x16b)](_0x159bc5,_0x369427);}return this[_0x2a202b(0x184)][_0x2a202b(0x1f6)](_0x159bc5);}}}[_0x4d936e(0x17b)](_0x24df87,_0x20cbc1){const _0xe214f=_0x4d936e;if(!_0x20cbc1)return;let _0x15a3e4=_0x24df87[_0xe214f(0x23d)];for(;_0x15a3e4--;){const _0x15a191=_0x24df87[_0x15a3e4];this[_0xe214f(0x1ea)][_0xe214f(0x1a7)](_0x15a191)||this[_0xe214f(0x184)][_0xe214f(0x16b)](_0x15a191,_0x20cbc1);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x14fc(){const _0x13a627=['1350756AcZkEv','size','state','remove','12DAfMmW','user','_users','clear','allConnectedUsers','plugins','delete','_handleSessionAdd','getUserSessions','pluginName','stopListening','defineMe','channelConnectedUsers','fire','Sessions','isOfficialPlugin','get','sessionAdd:','connected','sessions-register-already-registered','role','711060EOfrUd','723448Uczgbm','requires','values','change:state','set','getUserBySessionId','listenTo','connection','add','has','forEach','mySessionId','720992EKEmQK','_uniqueUsersCount','context','isMe','sessionId','914778ivUgDu','392908JdZcDr','isPremiumPlugin','_registeredSessions','_handleSessionRemove','7pfOIbA','orderNumber','getUserRole','register','getUser','addUser','14fxdPuo','_createUser','unregister','55326fbCXTU','50qZgwld','assign','init','channelSessions','sessions-unregister-not-exist'];_0x14fc=function(){return _0x13a627;};return _0x14fc();}function _0x175b(_0xdeb57b,_0x1778e3){const _0x14fc7a=_0x14fc();return _0x175b=function(_0x175b89,_0x103df5){_0x175b89=_0x175b89-0x1b5;let _0x1eb3ac=_0x14fc7a[_0x175b89];return _0x1eb3ac;},_0x175b(_0xdeb57b,_0x1778e3);}const _0x51d6cb=_0x175b;(function(_0x4ae49e,_0x58f199){const _0x54ae51=_0x175b,_0x5add6a=_0x4ae49e();while(!![]){try{const _0x5606f9=-parseInt(_0x54ae51(0x1e7))/0x1*(parseInt(_0x54ae51(0x1ea))/0x2)+-parseInt(_0x54ae51(0x1b5))/0x3*(-parseInt(_0x54ae51(0x1dd))/0x4)+parseInt(_0x54ae51(0x1ca))/0x5+-parseInt(_0x54ae51(0x1dc))/0x6*(-parseInt(_0x54ae51(0x1e1))/0x7)+-parseInt(_0x54ae51(0x1d7))/0x8+-parseInt(_0x54ae51(0x1f0))/0x9+parseInt(_0x54ae51(0x1eb))/0xa*(parseInt(_0x54ae51(0x1cb))/0xb);if(_0x5606f9===_0x58f199)break;else _0x5add6a['push'](_0x5add6a['shift']());}catch(_0x488bc0){_0x5add6a['push'](_0x5add6a['shift']());}}}(_0x14fc,0x5ef45));import{ContextPlugin as _0x5366af}from'ckeditor5/src/core.js';import{Collection as _0x151b38,CKEditorError as _0x316e62}from'ckeditor5/src/utils.js';import _0x44d328 from'./websocketgateway.js';import{Users as _0x1de676}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x5366af{[_0x51d6cb(0x1ee)];[_0x51d6cb(0x1c1)];[_0x51d6cb(0x1b9)];[_0x51d6cb(0x1df)];[_0x51d6cb(0x1d8)];[_0x51d6cb(0x1b7)];static get[_0x51d6cb(0x1be)](){const _0x100472=_0x51d6cb;return _0x100472(0x1c3);}static get[_0x51d6cb(0x1c4)](){return!0x0;}static get[_0x51d6cb(0x1de)](){return!0x0;}static get[_0x51d6cb(0x1cc)](){return[_0x44d328,_0x1de676];}constructor(_0x318efc){const _0x1c0680=_0x51d6cb;super(_0x318efc),this[_0x1c0680(0x1ee)]=new Map(),this[_0x1c0680(0x1c1)]=new Map(),this[_0x1c0680(0x1b9)]=new _0x151b38(),this[_0x1c0680(0x1df)]=new Map(),this[_0x1c0680(0x1d8)]=0x0,this[_0x1c0680(0x1b7)]=this[_0x1c0680(0x1d9)][_0x1c0680(0x1ba)][_0x1c0680(0x1c5)](_0x1de676);}[_0x51d6cb(0x1ed)](){const _0x34f9cb=_0x51d6cb,_0x32b92a=this[_0x34f9cb(0x1d9)][_0x34f9cb(0x1ba)][_0x34f9cb(0x1c5)](_0x44d328);this[_0x34f9cb(0x1d1)](_0x32b92a,_0x34f9cb(0x1ce),(_0x41c783,_0x3c3479,_0x554bbe)=>{const _0x474370=_0x34f9cb;if(_0x474370(0x1c7)!==_0x554bbe)this[_0x474370(0x1ee)][_0x474370(0x1d5)](_0x562cf5=>_0x562cf5[_0x474370(0x1b8)]()),this[_0x474370(0x1c1)][_0x474370(0x1d5)](_0x39670a=>_0x39670a[_0x474370(0x1b8)]()),this[_0x474370(0x1b9)][_0x474370(0x1b8)]();else{for(const [_0x10800d,_0x1ce0b6]of this[_0x474370(0x1df)])for(const _0x2ed52d of _0x1ce0b6)this[_0x474370(0x1bc)](_0x10800d,_0x2ed52d);}}),this[_0x34f9cb(0x1e8)](_0x32b92a[_0x34f9cb(0x1d2)]['me'],!0x0);}[_0x51d6cb(0x1e4)](_0x113a8c,_0x425042){const _0x3f7a75=_0x51d6cb;if(this[_0x3f7a75(0x1df)][_0x3f7a75(0x1d4)](_0x113a8c))throw new _0x316e62(_0x3f7a75(0x1c8),null,{'channelId':_0x113a8c});this[_0x3f7a75(0x1df)][_0x3f7a75(0x1cf)](_0x113a8c,_0x425042),this[_0x3f7a75(0x1ee)][_0x3f7a75(0x1cf)](_0x113a8c,new _0x151b38()),this[_0x3f7a75(0x1c1)][_0x3f7a75(0x1cf)](_0x113a8c,new _0x151b38()),this[_0x3f7a75(0x1d1)](_0x425042,_0x3f7a75(0x1d3),(_0x2f9125,_0x96eed8)=>this[_0x3f7a75(0x1bc)](_0x113a8c,_0x96eed8)),this[_0x3f7a75(0x1d1)](_0x425042,_0x3f7a75(0x1f3),(_0x341766,_0x12b68e)=>this[_0x3f7a75(0x1e0)](_0x113a8c,_0x12b68e));for(const _0x42120a of _0x425042)this[_0x3f7a75(0x1bc)](_0x113a8c,_0x42120a);}[_0x51d6cb(0x1e9)](_0x5587c8){const _0x3236b9=_0x51d6cb;if(!this[_0x3236b9(0x1df)][_0x3236b9(0x1d4)](_0x5587c8))throw new _0x316e62(_0x3236b9(0x1ef),null,{'channelId':_0x5587c8});const _0x2a6be9=this[_0x3236b9(0x1df)][_0x3236b9(0x1c5)](_0x5587c8);this[_0x3236b9(0x1bf)](_0x2a6be9);for(const _0x392606 of _0x2a6be9)_0x3236b9(0x1c7)===this[_0x3236b9(0x1d9)][_0x3236b9(0x1ba)][_0x3236b9(0x1c5)](_0x44d328)[_0x3236b9(0x1f2)]&&this[_0x3236b9(0x1e0)](_0x5587c8,_0x392606);this[_0x3236b9(0x1df)][_0x3236b9(0x1bb)](_0x5587c8),this[_0x3236b9(0x1ee)][_0x3236b9(0x1bb)](_0x5587c8),this[_0x3236b9(0x1c1)][_0x3236b9(0x1bb)](_0x5587c8);}get[_0x51d6cb(0x1d6)](){const _0xff4a29=_0x51d6cb;return this[_0xff4a29(0x1d9)][_0xff4a29(0x1ba)][_0xff4a29(0x1c5)](_0x44d328)[_0xff4a29(0x1d2)][_0xff4a29(0x1db)];}[_0x51d6cb(0x1d0)](_0x517922){const _0x20a114=_0x51d6cb;for(const _0x2896f1 of this[_0x20a114(0x1ee)][_0x20a114(0x1cd)]())for(const _0x299453 of _0x2896f1)if(_0x299453['id']===_0x517922)return _0x299453[_0x20a114(0x1b6)];}[_0x51d6cb(0x1bd)](_0x4e76ad,_0x1174d2){const _0x91d934=_0x51d6cb,_0x5ad437=_0x1174d2?[this[_0x91d934(0x1ee)][_0x91d934(0x1c5)](_0x1174d2)]:this[_0x91d934(0x1ee)][_0x91d934(0x1cd)](),_0x5f3837=new Set();for(const _0x266332 of _0x5ad437)for(const _0x45d6b9 of _0x266332)_0x45d6b9[_0x91d934(0x1b6)]['id']===_0x4e76ad['id']&&_0x5f3837[_0x91d934(0x1d3)](_0x45d6b9['id']);return _0x5f3837;}[_0x51d6cb(0x1e3)](_0x10225d){const _0x56b28d=_0x51d6cb;for(const _0x968e1c of this[_0x56b28d(0x1ee)][_0x56b28d(0x1cd)]())for(const _0x266fb1 of _0x968e1c)if(_0x266fb1[_0x56b28d(0x1b6)]===_0x10225d)return _0x266fb1[_0x56b28d(0x1c9)];}[_0x51d6cb(0x1bc)](_0x16e97b,_0x14681c){const _0x457d05=_0x51d6cb;if(_0x457d05(0x1c7)!==this[_0x457d05(0x1d9)][_0x457d05(0x1ba)][_0x457d05(0x1c5)](_0x44d328)[_0x457d05(0x1f2)])return;const _0x1327d3=_0x14681c[_0x457d05(0x1b6)],_0x590ffa=this[_0x457d05(0x1b7)][_0x457d05(0x1e5)](_0x1327d3['id'])||this[_0x457d05(0x1e8)](_0x1327d3),_0x232de2=Object[_0x457d05(0x1ec)]({},_0x14681c,{'user':_0x590ffa});this[_0x457d05(0x1ee)][_0x457d05(0x1c5)](_0x16e97b)[_0x457d05(0x1d3)](_0x232de2);const _0x1857dc=this[_0x457d05(0x1c1)][_0x457d05(0x1c5)](_0x16e97b);_0x1857dc[_0x457d05(0x1d4)](_0x590ffa['id'])||_0x1857dc[_0x457d05(0x1d3)](_0x590ffa),this[_0x457d05(0x1b9)][_0x457d05(0x1d4)](_0x590ffa['id'])||this[_0x457d05(0x1b9)][_0x457d05(0x1d3)](_0x590ffa,_0x590ffa[_0x457d05(0x1da)]?0x0:void 0x0),this[_0x457d05(0x1c2)](_0x457d05(0x1c6)+_0x16e97b,{'channelId':_0x16e97b,'session':_0x232de2});}[_0x51d6cb(0x1e0)](_0x1dfc2c,_0x1ad1fd){const _0x202eed=_0x51d6cb;if(_0x202eed(0x1c7)!==this[_0x202eed(0x1d9)][_0x202eed(0x1ba)][_0x202eed(0x1c5)](_0x44d328)[_0x202eed(0x1f2)])return;const _0x51304c=this[_0x202eed(0x1c1)][_0x202eed(0x1c5)](_0x1dfc2c),_0x316ec5=_0x1ad1fd[_0x202eed(0x1b6)];_0x316ec5['id']&&(this[_0x202eed(0x1ee)][_0x202eed(0x1c5)](_0x1dfc2c)[_0x202eed(0x1f3)](_0x1ad1fd['id']),_0x51304c[_0x202eed(0x1d4)](_0x316ec5['id'])&&!this[_0x202eed(0x1bd)](_0x316ec5,_0x1dfc2c)[_0x202eed(0x1f1)]&&_0x51304c[_0x202eed(0x1f3)](_0x316ec5['id']),this[_0x202eed(0x1b9)][_0x202eed(0x1c5)](_0x316ec5['id'])&&!this[_0x202eed(0x1bd)](_0x316ec5)[_0x202eed(0x1f1)]&&this[_0x202eed(0x1b9)][_0x202eed(0x1f3)](_0x316ec5['id']));}[_0x51d6cb(0x1e8)](_0x522cea,_0x25008e){const _0x332e63=_0x51d6cb,_0x20456f=this[_0x332e63(0x1b7)][_0x332e63(0x1e6)](_0x522cea);return _0x25008e&&this[_0x332e63(0x1b7)][_0x332e63(0x1c0)](_0x522cea['id']),_0x20456f[_0x332e63(0x1e2)]=this[_0x332e63(0x1d8)]++,_0x20456f;}}
|
|
@@ -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}));}
|