@ckeditor/ckeditor5-real-time-collaboration 45.2.0-alpha.0 → 45.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x116b66=_0x32f6;(function(_0x1e9b45,_0x4a27ef){const _0x284012=_0x32f6,_0x5b4150=_0x1e9b45();while(!![]){try{const _0x3e762f=parseInt(_0x284012(0x132))/0x1+-parseInt(_0x284012(0x128))/0x2+parseInt(_0x284012(0x12c))/0x3+-parseInt(_0x284012(0x121))/0x4*(parseInt(_0x284012(0x12b))/0x5)+parseInt(_0x284012(0x117))/0x6*(parseInt(_0x284012(0x138))/0x7)+-parseInt(_0x284012(0x137))/0x8+-parseInt(_0x284012(0x11a))/0x9*(-parseInt(_0x284012(0x124))/0xa);if(_0x3e762f===_0x4a27ef)break;else _0x5b4150['push'](_0x5b4150['shift']());}catch(_0x15fa5f){_0x5b4150['push'](_0x5b4150['shift']());}}}(_0x2f84,0x47023));function _0x32f6(_0xfb10e7,_0x22a33f){const _0x2f84f1=_0x2f84();return _0x32f6=function(_0x32f609,_0x4bd994){_0x32f609=_0x32f609-0x112;let _0x55fb00=_0x2f84f1[_0x32f609];return _0x55fb00;},_0x32f6(_0xfb10e7,_0x22a33f);}function _0x2f84(){const _0x2007d2=['28Bidolu','element','div','2970970YUAZfn','isExpanded','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','631996cbTpxq','fire','focus','229510uSlptS','335970EqxTpa','items','presencelist:show','removeAttribute','setAttribute','querySelector','244747IdgJSX','ck-presence-list__list','presencelist:hide','change:hasPopup','list','4354352eQgYoX','7LHYLsn','.ck-presence-list__dropdown-list','keystrokes','hasPopup','relatedTarget','.ck-balloon-panel_with-arrow','1346574xSZHei','bindTemplate','createCollection','27YCWfgX','contains','listenTo','render','set','setTemplate','aria-expanded'];_0x2f84=function(){return _0x2007d2;};return _0x2f84();}import{View as _0x381bac}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x28e13b}from'ckeditor5/src/utils.js';import{getTranslation as _0xf1afb1}from'../../common-translations.js';export default class ts extends _0x381bac{[_0x116b66(0x12d)];[_0x116b66(0x113)];constructor(_0x432df9){const _0x2cbd6f=_0x116b66;super(_0x432df9);const _0x456aab=this[_0x2cbd6f(0x118)];this[_0x2cbd6f(0x12d)]=this[_0x2cbd6f(0x119)](),this[_0x2cbd6f(0x113)]=new _0x28e13b(),this[_0x2cbd6f(0x11e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2cbd6f(0x11f)]({'tag':_0x2cbd6f(0x123),'attributes':{'aria-haspopup':_0x456aab['if'](_0x2cbd6f(0x114)),'aria-expanded':_0x456aab['to'](_0x2cbd6f(0x125),_0x585148=>this[_0x2cbd6f(0x114)]&&String(_0x585148)),'aria-label':_0x456aab['to'](_0x2cbd6f(0x114),_0x33bee0=>_0xf1afb1(_0x432df9,_0x33bee0?_0x2cbd6f(0x127):_0x2cbd6f(0x126))),'role':_0x2cbd6f(0x136),'tabindex':_0x456aab['to'](_0x2cbd6f(0x114),_0xd5a4f3=>!!_0xd5a4f3&&0x0),'class':['ck',_0x2cbd6f(0x133)]},'children':this[_0x2cbd6f(0x12d)],'on':{'mouseenter':_0x456aab['to'](()=>this[_0x2cbd6f(0x129)](_0x2cbd6f(0x12e))),'mouseleave':_0x456aab['to'](_0x47bd11=>{const _0x4a1443=_0x2cbd6f,_0x4cba39=_0x47bd11,_0x453117=document[_0x4a1443(0x131)](_0x4a1443(0x112)),_0x39e2fe=document[_0x4a1443(0x131)](_0x4a1443(0x116));_0x453117?.[_0x4a1443(0x11b)](_0x4cba39[_0x4a1443(0x115)])||_0x39e2fe?.[_0x4a1443(0x11b)](_0x4cba39[_0x4a1443(0x115)])||this[_0x4a1443(0x129)](_0x4a1443(0x134));})}}),this['on'](_0x2cbd6f(0x135),(_0x2091b2,_0x4343a9,_0x2e0972)=>{const _0x28da4f=_0x2cbd6f;this[_0x28da4f(0x122)]&&(_0x2e0972?this[_0x28da4f(0x122)][_0x28da4f(0x130)](_0x28da4f(0x120),String(this[_0x28da4f(0x125)])):this[_0x28da4f(0x122)][_0x28da4f(0x12f)](_0x28da4f(0x120)));});}[_0x116b66(0x12a)](){const _0x3bfb10=_0x116b66;this[_0x3bfb10(0x122)][_0x3bfb10(0x12a)]();}[_0x116b66(0x11d)](){const _0x13ce47=_0x116b66;super[_0x13ce47(0x11d)](),this[_0x13ce47(0x113)][_0x13ce47(0x11c)](this[_0x13ce47(0x122)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc17bf8=_0x12c4;(function(_0x536b50,_0x4ce2ae){const _0x5d98a4=_0x12c4,_0x142707=_0x536b50();while(!![]){try{const _0x4b7718=parseInt(_0x5d98a4(0xe4))/0x1+-parseInt(_0x5d98a4(0xf0))/0x2+-parseInt(_0x5d98a4(0xe1))/0x3*(-parseInt(_0x5d98a4(0xec))/0x4)+-parseInt(_0x5d98a4(0xef))/0x5*(parseInt(_0x5d98a4(0xe3))/0x6)+parseInt(_0x5d98a4(0xdf))/0x7+-parseInt(_0x5d98a4(0xe0))/0x8*(parseInt(_0x5d98a4(0xf6))/0x9)+parseInt(_0x5d98a4(0xe9))/0xa*(parseInt(_0x5d98a4(0xf2))/0xb);if(_0x4b7718===_0x4ce2ae)break;else _0x142707['push'](_0x142707['shift']());}catch(_0x4f6d45){_0x142707['push'](_0x142707['shift']());}}}(_0x1092,0x3591d));function _0x1092(){const _0xa4f574=['43953qgabOg','bind','ck-reset','change','ck-rounded-corners','952190lNMikH','setTemplate','bindTemplate','1408840HTBbXv','isCollapsed','listenTo','845ywflyd','354624AcVLoU','set','33gPDqqd','first','ck-presence-list','inlineListView','99BQfMUa','locale','ck-presence-list--collapsed','tooltipPosition','hasPopup','div','counterView','1043343eFRcJy','278248AgyfPy','3aRTDni','items','1830rJZyeG'];_0x1092=function(){return _0xa4f574;};return _0x1092();}import{View as _0x1a8ecd}from'ckeditor5/src/ui.js';import _0x16db6f from'./presencecounterview.js';function _0x12c4(_0xecff5c,_0x2f8aa2){const _0x109241=_0x1092();return _0x12c4=function(_0x12c425,_0xf83e0d){_0x12c425=_0x12c425-0xd9;let _0x261a01=_0x109241[_0x12c425];return _0x261a01;},_0x12c4(_0xecff5c,_0x2f8aa2);}import _0x21eb37 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x1a8ecd{[_0xc17bf8(0xde)];[_0xc17bf8(0xf5)];constructor(_0xae7fe0,_0x42ccb9=0x6){const _0x3eb953=_0xc17bf8;super(_0xae7fe0);const _0x1b0db1=this[_0x3eb953(0xeb)];this[_0x3eb953(0xf1)](_0x3eb953(0xed),!0x0),this[_0x3eb953(0xde)]=new _0x16db6f(this[_0x3eb953(0xd9)],_0x42ccb9),this[_0x3eb953(0xf5)]=new _0x21eb37(_0xae7fe0),this[_0x3eb953(0xf5)][_0x3eb953(0xe5)](_0x3eb953(0xdc))['to'](this,_0x3eb953(0xed)),this[_0x3eb953(0xee)](this[_0x3eb953(0xf5)][_0x3eb953(0xe2)],_0x3eb953(0xe7),()=>{const _0x244218=_0x3eb953;for(const _0x3e49fa of this[_0x244218(0xf5)][_0x244218(0xe2)])_0x3e49fa[_0x244218(0xdb)]='s';this[_0x244218(0xf5)][_0x244218(0xe2)][_0x244218(0xf3)]&&(this[_0x244218(0xf5)][_0x244218(0xe2)][_0x244218(0xf3)][_0x244218(0xdb)]='se');}),this[_0x3eb953(0xea)]({'tag':_0x3eb953(0xdd),'attributes':{'class':['ck',_0x3eb953(0xf4),_0x3eb953(0xe6),_0x3eb953(0xe8),_0x1b0db1['if'](_0x3eb953(0xed),_0x3eb953(0xda))]},'children':[this[_0x3eb953(0xf5)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xd7a50e=_0x5e51;(function(_0x3b6f9f,_0x3cd5ba){var _0x47bc16=_0x5e51,_0x52423a=_0x3b6f9f();while(!![]){try{var _0x59abdf=parseInt(_0x47bc16(0x1d0))/0x1+-parseInt(_0x47bc16(0x1d3))/0x2+-parseInt(_0x47bc16(0x1cf))/0x3*(-parseInt(_0x47bc16(0x1cc))/0x4)+-parseInt(_0x47bc16(0x1cb))/0x5+parseInt(_0x47bc16(0x1d2))/0x6*(parseInt(_0x47bc16(0x1c9))/0x7)+parseInt(_0x47bc16(0x1c8))/0x8*(-parseInt(_0x47bc16(0x1cd))/0x9)+parseInt(_0x47bc16(0x1c6))/0xa*(-parseInt(_0x47bc16(0x1ce))/0xb);if(_0x59abdf===_0x3cd5ba)break;else _0x52423a['push'](_0x52423a['shift']());}catch(_0x53c1c7){_0x52423a['push'](_0x52423a['shift']());}}}(_0x5d20,0xbb48c));import{ContextPlugin as _0xf5b926}from'ckeditor5/src/core.js';function _0x5e51(_0x44856c,_0x162544){var _0x5d20dd=_0x5d20();return _0x5e51=function(_0x5e5128,_0x32291d){_0x5e5128=_0x5e5128-0x1c5;var _0x5d98a1=_0x5d20dd[_0x5e5128];return _0x5d98a1;},_0x5e51(_0x44856c,_0x162544);}import _0x5ac8f2 from'./realtimecollaborativeediting/sessions.js';function _0x5d20(){var _0x5cb4f8=['isOfficialPlugin','1720jYjJjW','isPremiumPlugin','8rTJEQw','338758DtaueV','pluginName','4077870nBhIXD','4YtXrGh','632817DmLbHz','16841ZNzquU','1372416YTeQTZ','749635iaXRFI','PresenceList','114xCeySD','420516WPEsGc','requires'];_0x5d20=function(){return _0x5cb4f8;};return _0x5d20();}import _0x25ec88 from'./presencelist/presencelistui.js';export default class s extends _0xf5b926{static get[_0xd7a50e(0x1d4)](){return[_0x5ac8f2,_0x25ec88];}static get[_0xd7a50e(0x1ca)](){var _0x1909da=_0xd7a50e;return _0x1909da(0x1d1);}static get[_0xd7a50e(0x1c5)](){return!0x0;}static get[_0xd7a50e(0x1c7)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x26fb8e)());[_0x2449aa(0x226)];static get[_0x2449aa(0x1f1)](){const _0xff0b22=_0x2449aa;return[_0x5124da,_0xff0b22(0x1ea),_0x396ec6,_0x14ae45];}static get[_0x2449aa(0x217)](){const _0x14d95a=_0x2449aa;return _0x14d95a(0x219);}static get[_0x2449aa(0x221)](){return!0x0;}static get[_0x2449aa(0x23d)](){return!0x0;}constructor(_0x445248){const _0x308163=_0x2449aa;super(_0x445248),this[_0x308163(0x226)]=new Map();}async[_0x2449aa(0x20c)](){const _0x15a671=_0x2449aa,_0x308c03=this[_0x15a671(0x201)],_0x3548d6=_0x308c03[_0x15a671(0x20f)][_0x15a671(0x209)](_0x15a671(0x1ea));if(_0x308c03[_0x15a671(0x20f)][_0x15a671(0x209)](_0x5124da)[_0x15a671(0x23a)](this),_0x3548d6[_0x15a671(0x20e)]={'addCommentThread':async({channelId:_0x55beb4,threadId:_0x27bb45,comments:_0x36913a,resolvedAt:_0x3638f2,resolvedBy:_0x36bfa0,context:_0x429b97,attributes:_0x3767c2})=>{const _0x437c8f=_0x15a671,_0x54ea7a=await this[_0x437c8f(0x247)](_0x55beb4)[_0x437c8f(0x207)]({'commentThreadId':_0x27bb45,'comments':_0x36913a[_0x437c8f(0x1e9)](_0x50d438=>function(_0x586620,_0x30a5e0,_0x48822a){const _0x5a71c6=_0x437c8f;return{'commentThreadId':_0x48822a,'commentId':_0x586620[_0x5a71c6(0x1f5)],'userId':_0x586620[_0x5a71c6(0x238)],'content':_0x586620[_0x5a71c6(0x206)],'documentId':_0x30a5e0,'createdAt':_0x586620[_0x5a71c6(0x244)],'attributes':_0x586620[_0x5a71c6(0x22c)]||{}};}(_0x50d438,_0x55beb4,_0x27bb45)),'resolvedAt':_0x3638f2,'resolvedBy':_0x36bfa0,'context':_0x429b97,'attributes':_0x3767c2})[_0x437c8f(0x1f3)](w);return{'threadId':_0x54ea7a[_0x437c8f(0x1fd)],'comments':_0x54ea7a[_0x437c8f(0x220)]};},'getCommentThread':async({channelId:_0x140929,threadId:_0xfa3592})=>{const _0x19e290=_0x15a671,_0x21c517=await this[_0x19e290(0x247)](_0x140929)[_0x19e290(0x1e6)](_0xfa3592)[_0x19e290(0x1f3)](w);return _0x21c517[_0x19e290(0x1f9)]?null:(await this[_0x19e290(0x21c)]([_0x21c517]),{'threadId':_0x21c517[_0x19e290(0x1fd)],'comments':_0x21c517[_0x19e290(0x220)][_0x19e290(0x1e9)](b),'context':_0x21c517[_0x19e290(0x201)],'resolvedAt':_0x21c517[_0x19e290(0x216)],'resolvedBy':_0x21c517[_0x19e290(0x1ff)],'attributes':_0x21c517[_0x19e290(0x22c)]||{}});},'updateCommentThread':async({channelId:_0x4cec00,threadId:_0x68d14a,context:_0x4d8954,unlinkedAt:_0x4165cf,attributes:_0x5ceab2})=>this[_0x15a671(0x247)](_0x4cec00)[_0x15a671(0x203)]({'commentThreadId':_0x68d14a,'context':_0x4d8954,'attributes':_0x5ceab2,'unlinkedAt':_0x4165cf})[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w),'resolveCommentThread':async({channelId:_0x387ff7,threadId:_0x22b4fc})=>{const _0x53af02=_0x15a671,_0x5cc495=await this[_0x53af02(0x247)](_0x387ff7)[_0x53af02(0x1f0)](_0x22b4fc)[_0x53af02(0x1f3)](y)[_0x53af02(0x1f3)](w);return{'threadId':_0x5cc495[_0x53af02(0x1fd)],'resolvedAt':_0x5cc495[_0x53af02(0x216)],'resolvedBy':_0x5cc495[_0x53af02(0x1ff)]};},'reopenCommentThread':async({channelId:_0x2c995f,threadId:_0x4c99a4})=>this[_0x15a671(0x247)](_0x2c995f)[_0x15a671(0x1f8)](_0x4c99a4)[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w),'removeCommentThread':({channelId:_0x148881,threadId:_0x1d8947})=>this[_0x15a671(0x247)](_0x148881)[_0x15a671(0x233)](_0x1d8947)[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w),'addComment':({channelId:_0x3b4e4a,threadId:_0x3d32bb,commentId:_0x38251f,content:_0x4b8c52,attributes:_0x51d7e5})=>this[_0x15a671(0x247)](_0x3b4e4a)[_0x15a671(0x228)](_0x3d32bb,_0x38251f,_0x4b8c52,_0x51d7e5)[_0x15a671(0x1f3)](w),'updateComment':({channelId:_0x4ec474,threadId:_0x3a8bc3,commentId:_0xcc239d,content:_0xcaaeb7,attributes:_0x109d38})=>this[_0x15a671(0x247)](_0x4ec474)[_0x15a671(0x1e5)](_0x3a8bc3,_0xcc239d,_0xcaaeb7,_0x109d38)[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w),'removeComment':({channelId:_0x511831,threadId:_0xec0acd,commentId:_0x4d8899})=>this[_0x15a671(0x247)](_0x511831)[_0x15a671(0x22d)](_0xec0acd,_0x4d8899)[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w)},_0x308c03 instanceof _0xcd5a5e){const _0x26b7ef=_0x308c03[_0x15a671(0x240)][_0x15a671(0x209)](_0x15a671(0x21d)),_0x10d456=_0x308c03[_0x15a671(0x20f)][_0x15a671(0x209)](_0x396ec6);await this[_0x15a671(0x22a)](_0x26b7ef);const _0x20b1e6=await this[_0x15a671(0x226)][_0x15a671(0x209)](_0x26b7ef)[_0x15a671(0x214)]();this[_0x15a671(0x1e4)](_0x10d456,_0x15a671(0x22b)+_0x26b7ef,(_0x2e9038,{session:_0x5c5da8})=>{const _0x398354=_0x15a671;_0x5c5da8['id']===_0x10d456[_0x398354(0x205)]&&(_0x2e9038[_0x398354(0x20b)](),this[_0x398354(0x201)][_0x398354(0x20f)][_0x398354(0x209)](_0x398354(0x232))[_0x398354(0x23e)](_0x5c5da8[_0x398354(0x246)],_0x26b7ef));}),_0x10d456[_0x15a671(0x1f7)](_0x26b7ef,_0x20b1e6);}}async[_0x2449aa(0x22a)](_0x454077){const _0x561943=_0x2449aa;if(this[_0x561943(0x226)][_0x561943(0x210)](_0x454077))throw new _0x1539b4(_0x561943(0x224),null,{'channelId':_0x454077});const _0xe68714=this[_0x561943(0x201)][_0x561943(0x20f)][_0x561943(0x209)](_0x561943(0x1ea)),_0x27b04e=new a[(_0x561943(0x1ef))](_0x454077);this[_0x561943(0x226)][_0x561943(0x222)](_0x454077,_0x27b04e),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x204),(_0x447e03,_0x3d6917)=>{const _0xc670b2=_0x561943,{commentThreadId:_0x3626dd,documentId:_0x48d481,context:_0x5258c3,attributes:_0x484105,resolvedAt:_0x2bf867,resolvedBy:_0x30c222,comments:_0x200570}=_0x3d6917;_0xe68714[_0xc670b2(0x1e6)](_0x3626dd)||_0xe68714[_0xc670b2(0x207)]({'threadId':_0x3626dd,'channelId':_0x48d481,'comments':_0x200570?_0x200570[_0xc670b2(0x1e9)](b):[],'context':_0x5258c3,'attributes':_0x484105,'resolvedAt':_0x2bf867,'resolvedBy':_0x30c222,'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x1ee),(_0x51cc13,{commentThreadId:_0xe13302,documentId:_0xc9332d,context:_0x1654a9,unlinkedAt:_0x568a23,attributes:_0xaab9b4})=>{const _0x5bfa2a=_0x561943;_0xe68714[_0x5bfa2a(0x1e6)](_0xe13302)&&_0xe68714[_0x5bfa2a(0x203)]({'threadId':_0xe13302,'channelId':_0xc9332d,'context':_0x1654a9,'unlinkedAt':_0x568a23,'attributes':_0xaab9b4,'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x245),(_0x5cd9bc,{commentThreadId:_0x3379b8,resolvedBy:_0x5a1565,resolvedAt:_0x18a28a})=>{const _0xe8b65f=_0x561943,_0x4d33cb=_0xe68714[_0xe8b65f(0x1e6)](_0x3379b8);_0x4d33cb&&_0x4d33cb[_0xe8b65f(0x1fb)]({'resolvedBy':_0x5a1565,'resolvedAt':_0x18a28a,'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x21e),(_0x4fb29f,{commentThreadId:_0x3539ab})=>{const _0x2cee31=_0x561943,_0x578d6c=_0xe68714[_0x2cee31(0x1e6)](_0x3539ab);_0x578d6c&&_0x578d6c[_0x2cee31(0x1f6)]({'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x22e),(_0x577201,{commentThreadId:_0x5cf056})=>{const _0x209b17=_0x561943,_0x52a46d=_0xe68714[_0x209b17(0x1e6)](_0x5cf056);_0x52a46d&&_0x52a46d[_0x209b17(0x230)]({'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x23f),(_0xa77d38,_0x2599f1)=>{const _0x5a9e19=_0x561943,_0x30f05d=_0x2599f1[_0x5a9e19(0x1fd)],_0x2ec47e=_0xe68714[_0x5a9e19(0x1e6)](_0x30f05d);_0x2ec47e&&_0x2ec47e[_0x5a9e19(0x228)]({...b(_0x2599f1),'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x234),(_0x469a52,{commentThreadId:_0x34bfb9,commentId:_0x46289b,content:_0x2042e9,attributes:_0x1a77f5})=>{const _0xac8d5f=_0x561943,_0x16f243=_0xe68714[_0xac8d5f(0x1e6)](_0x34bfb9);if(_0x16f243){const _0x1efcf8=_0x16f243[_0xac8d5f(0x1e8)](_0x46289b);_0x1efcf8&&_0x1efcf8[_0xac8d5f(0x231)]({'content':_0x2042e9,'attributes':_0x1a77f5,'isFromAdapter':!0x0});}}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x218),(_0x17a32e,{commentThreadId:_0x15c4e1,commentId:_0x113017})=>{const _0x19e320=_0x561943,_0x28a4a5=_0xe68714[_0x19e320(0x1e6)](_0x15c4e1);if(_0x28a4a5){const _0x128c39=_0x28a4a5[_0x19e320(0x1e8)](_0x113017);_0x128c39&&_0x128c39[_0x19e320(0x230)]({'isFromAdapter':!0x0});}}),await this[_0x561943(0x1f2)](_0x454077);}[_0x2449aa(0x242)](){const _0xd84017=_0x2449aa;if(this[_0xd84017(0x201)]instanceof _0xcd5a5e){const _0x44845c=this[_0xd84017(0x201)][_0xd84017(0x240)][_0xd84017(0x209)](_0xd84017(0x21d));this[_0xd84017(0x22f)](_0x44845c);}}[_0x2449aa(0x22f)](_0x100487){const _0x4a7fa8=_0x2449aa;if(!this[_0x4a7fa8(0x226)][_0x4a7fa8(0x210)](_0x100487))throw new _0x1539b4(_0x4a7fa8(0x227),null,{'channelId':_0x100487});this[_0x4a7fa8(0x247)](_0x100487)[_0x4a7fa8(0x223)](),this[_0x4a7fa8(0x226)][_0x4a7fa8(0x243)](_0x100487);}async[_0x2449aa(0x212)](){const _0x4cdbf9=_0x2449aa;for(const _0x22a618 of this[_0x4cdbf9(0x226)][_0x4cdbf9(0x211)]())await this[_0x4cdbf9(0x1f2)](_0x22a618);if(this[_0x4cdbf9(0x201)]instanceof _0xcd5a5e){const _0x545326=this[_0x4cdbf9(0x201)][_0x4cdbf9(0x240)][_0x4cdbf9(0x209)](_0x4cdbf9(0x21d)),_0x477927=this[_0x4cdbf9(0x201)][_0x4cdbf9(0x20f)][_0x4cdbf9(0x209)](_0x396ec6);_0x477927[_0x4cdbf9(0x215)](_0x545326);const _0x253d9a=await this[_0x4cdbf9(0x226)][_0x4cdbf9(0x209)](_0x545326)[_0x4cdbf9(0x214)]();_0x477927[_0x4cdbf9(0x1f7)](_0x545326,_0x253d9a);}}async[_0x2449aa(0x1f2)](_0x2b2135){const _0x2623c0=_0x2449aa,{connection:_0xec6660}=this[_0x2623c0(0x201)][_0x2623c0(0x20f)][_0x2623c0(0x209)](_0x5124da),_0x53ba5f=this[_0x2623c0(0x201)][_0x2623c0(0x20f)][_0x2623c0(0x209)](_0x2623c0(0x1ea)),_0x2687ef=this[_0x2623c0(0x226)][_0x2623c0(0x209)](_0x2b2135),_0x3a4630=await _0x2687ef[_0x2623c0(0x241)](_0xec6660);await this[_0x2623c0(0x21c)](_0x3a4630);const _0x1ea1a3=new Set(Array[_0x2623c0(0x21a)](_0x53ba5f[_0x2623c0(0x200)]({'channelId':_0x2b2135}),_0x4a61b9=>_0x4a61b9['id']));for(const _0x377a1b of _0x3a4630)_0x377a1b[_0x2623c0(0x1f9)]||_0x1ea1a3[_0x2623c0(0x243)](_0x377a1b[_0x2623c0(0x1fd)]);for(const _0x124b77 of _0x1ea1a3)_0x53ba5f[_0x2623c0(0x1e6)](_0x124b77)[_0x2623c0(0x230)]({'isFromAdapter':!0x0});for(const _0xc0e5ef of _0x3a4630){let _0x259008=_0x53ba5f[_0x2623c0(0x1e6)](_0xc0e5ef[_0x2623c0(0x1fd)]);const {commentThreadId:_0x1762cd,context:_0x1d2bd2,attributes:_0x5295c4,resolvedBy:_0x2b5142,resolvedAt:_0x328105,unlinkedAt:_0x129744,deletedAt:_0x298e95}=_0xc0e5ef;if(_0x298e95)continue;_0x259008||(_0x259008=_0x53ba5f[_0x2623c0(0x207)]({'channelId':_0x2b2135,'threadId':_0x1762cd,'context':_0x1d2bd2,'attributes':_0x5295c4||{},'resolvedBy':_0x2b5142,'resolvedAt':_0x328105,'unlinkedAt':_0x129744,'isFromAdapter':!0x0}));const _0xed1611=new Set(Array[_0x2623c0(0x21a)](_0x259008[_0x2623c0(0x220)],_0x5ef46b=>_0x5ef46b['id']));for(const _0x19c97f of _0xc0e5ef[_0x2623c0(0x220)])_0xed1611[_0x2623c0(0x243)](_0x19c97f[_0x2623c0(0x1f5)]);for(const _0x112335 of _0xed1611)_0x259008[_0x2623c0(0x1e8)](_0x112335)[_0x2623c0(0x230)]({'isFromAdapter':!0x0});for(const _0x400ba5 of _0xc0e5ef[_0x2623c0(0x220)]){const _0x545a00=_0x259008[_0x2623c0(0x1e8)](_0x400ba5[_0x2623c0(0x1f5)]);_0x545a00?_0x545a00[_0x2623c0(0x206)]!==_0x400ba5[_0x2623c0(0x206)]&&_0x545a00[_0x2623c0(0x231)]({'content':_0x400ba5[_0x2623c0(0x206)],'isFromAdapter':!0x0}):_0x259008[_0x2623c0(0x228)](Object[_0x2623c0(0x202)](b(_0x400ba5),{'isFromAdapter':!0x0}));}}}[_0x2449aa(0x247)](_0x4cd9b4){const _0xd375d0=_0x2449aa;if(!this[_0xd375d0(0x226)][_0xd375d0(0x210)](_0x4cd9b4))throw new _0x1539b4(_0xd375d0(0x1ec),null,{'channelId':_0x4cd9b4});return this[_0xd375d0(0x226)][_0xd375d0(0x209)](_0x4cd9b4);}async[_0x2449aa(0x21c)](_0xeb45d5){const _0x236ce9=_0x2449aa,_0x2261ed=this[_0x236ce9(0x201)][_0x236ce9(0x20f)][_0x236ce9(0x209)](_0x14ae45),{connection:_0x448ead}=this[_0x236ce9(0x201)][_0x236ce9(0x20f)][_0x236ce9(0x209)](_0x5124da),_0xd4c8f=new Set();for(const {resolvedBy:_0x497fb2,comments:_0x16d067}of _0xeb45d5){_0x497fb2&&!_0x2261ed[_0x236ce9(0x20d)](_0x497fb2)&&_0xd4c8f[_0x236ce9(0x236)](_0x497fb2);for(const {userId:_0x248dd5}of _0x16d067)_0x2261ed[_0x236ce9(0x20d)](_0x248dd5)||_0xd4c8f[_0x236ce9(0x236)](_0x248dd5);}if(0x0===_0xd4c8f[_0x236ce9(0x1eb)])return;const _0x2a4e75=await _0x50fa04[_0x236ce9(0x229)](_0x448ead,Array[_0x236ce9(0x21a)](_0xd4c8f));for(const _0x557054 of _0x2a4e75)_0x2261ed[_0x236ce9(0x20d)](_0x557054['id'])||_0x2261ed[_0x236ce9(0x1fc)](_0x557054);}}export default a;async function y(_0x1fe2bb){const _0xa8291=_0x2449aa;if(_0xa8291(0x23c)!==_0x1fe2bb[_0xa8291(0x208)])throw _0x1fe2bb;}function w(_0x4dfcf4){const _0x202c1f=_0x2449aa;if((_0x50c613=_0x4dfcf4)[_0x202c1f(0x1e7)][_0x202c1f(0x23b)](_0x202c1f(0x213))||_0x50c613[_0x202c1f(0x1e7)][_0x202c1f(0x23b)](_0x202c1f(0x1fe))||_0x50c613[_0x202c1f(0x1e7)][_0x202c1f(0x23b)](_0x202c1f(0x237)))return new Promise(()=>{});var _0x50c613;throw _0x4dfcf4;}function b(_0x342ec6){const _0x5c9855=_0x2449aa;return{'threadId':_0x342ec6[_0x5c9855(0x1fd)],'commentId':_0x342ec6[_0x5c9855(0x1f5)],'content':_0x342ec6[_0x5c9855(0x206)],'createdAt':_0x342ec6[_0x5c9855(0x244)],'authorId':_0x342ec6[_0x5c9855(0x1f4)],'attributes':_0x342ec6[_0x5c9855(0x22c)]||{}};}
|
|
23
|
+
const _0x24d164=_0x32b4;(function(_0x1abcf6,_0x40d2f2){const _0x288765=_0x32b4,_0x4de4eb=_0x1abcf6();while(!![]){try{const _0x505f0d=-parseInt(_0x288765(0x157))/0x1*(parseInt(_0x288765(0x17e))/0x2)+parseInt(_0x288765(0x159))/0x3+-parseInt(_0x288765(0x139))/0x4*(parseInt(_0x288765(0x175))/0x5)+parseInt(_0x288765(0x130))/0x6+-parseInt(_0x288765(0x15c))/0x7*(parseInt(_0x288765(0x162))/0x8)+-parseInt(_0x288765(0x134))/0x9*(-parseInt(_0x288765(0x176))/0xa)+parseInt(_0x288765(0x137))/0xb;if(_0x505f0d===_0x40d2f2)break;else _0x4de4eb['push'](_0x4de4eb['shift']());}catch(_0x295c3f){_0x4de4eb['push'](_0x4de4eb['shift']());}}}(_0x3653,0xedb10));import{Context as _0x208897,ContextPlugin as _0x1b18ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x4347db}from'ckeditor5/src/utils.js';function _0x32b4(_0x14a326,_0x34f177){const _0x365345=_0x3653();return _0x32b4=function(_0x32b4d7,_0x388010){_0x32b4d7=_0x32b4d7-0x12d;let _0x418022=_0x365345[_0x32b4d7];return _0x418022;},_0x32b4(_0x14a326,_0x34f177);}import{Users as _0x284ff1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x335be2,User as _0x5c978d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3653(){const _0x582281=['permissions','mySessionId','remove','updateCommentThread','getComment','message','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','isPremiumPlugin','cloudservicescommentsadapter-connect-already-connected','update','removeCommentThread','_services','getCommentThreads','4972122zyyDie','_getService','addComment','authorId','9ZFbyuy','commentAdded','unregister','2722522bzYOwd','resolvedBy','93260MMHMkp','_connectService','_fetchMissingUsersForThreads','destroy','deletedAt','assign','delete','catch','getMany','CommentsService','register','commentThreadResolved','Permissions','isOfficialPlugin','add','CommentsRepository','updateComment','resolveCommentThread','listenTo','createdAt','off','set','commentThreadAdded','init','cloudservicescommentsadapter-disconnect-not-exist','has','commentThreadReopened','reopen','pluginName','plugins','1164676AAznHV','_setUpService','1133988yGqYjJ','404','cloud-services-internal-error:\x20Not\x20connected.','14gJwcyt','reconnect','setPermissions','getConnectedSessions','addCommentThread','startsWith','2378152TNcOmx','disconnect','addToReconnectionStack','config','getUser','sessionAdd:','commentThreadUpdated','content','get','adapter','userId','keys','addUser','resolvedAt','CloudServicesCommentsAdapter','code','collaboration.channelId','comments','getCommentThread','85OePCHV','16749680PkhpLP','_terminateService','removeComment','size','map','commentThreadId','commentRemoved','commentUpdated','2AxyvxI','connect','reopenCommentThread','attributes','from','cloudservicescommentsadapter-service-not-exist','commentThreadRemoved','requires','commentId','context','resolve'];_0x3653=function(){return _0x582281;};return _0x3653();}import _0x4100fa from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d83a4 from'../realtimecollaborativeediting/sessions.js';class a extends _0x1b18ef{static [_0x24d164(0x142)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x335be2)());[_0x24d164(0x12e)];static get[_0x24d164(0x185)](){const _0x41b1f7=_0x24d164;return[_0x4100fa,_0x41b1f7(0x148),_0x4d83a4,_0x284ff1];}static get[_0x24d164(0x155)](){const _0x14c8c2=_0x24d164;return _0x14c8c2(0x170);}static get[_0x24d164(0x146)](){return!0x0;}static get[_0x24d164(0x191)](){return!0x0;}constructor(_0x4b49c5){const _0x2ba187=_0x24d164;super(_0x4b49c5),this[_0x2ba187(0x12e)]=new Map();}async[_0x24d164(0x150)](){const _0x3cd985=_0x24d164,_0x5f0e36=this[_0x3cd985(0x187)],_0x281cdf=_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x3cd985(0x148));if(_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x4100fa)[_0x3cd985(0x164)](this),_0x281cdf[_0x3cd985(0x16b)]={'addCommentThread':async({channelId:_0xbbdf89,threadId:_0x2f970f,comments:_0x58033c,resolvedAt:_0x49b488,resolvedBy:_0x294300,context:_0x98e892,attributes:_0x3f75e1})=>{const _0x507ed8=_0x3cd985,_0x4af3e1=await this[_0x507ed8(0x131)](_0xbbdf89)[_0x507ed8(0x160)]({'commentThreadId':_0x2f970f,'comments':_0x58033c[_0x507ed8(0x17a)](_0x21f961=>function(_0xf3104a,_0x3aea96,_0x672ab3){const _0x50e09b=_0x507ed8;return{'commentThreadId':_0x672ab3,'commentId':_0xf3104a[_0x50e09b(0x186)],'userId':_0xf3104a[_0x50e09b(0x133)],'content':_0xf3104a[_0x50e09b(0x169)],'documentId':_0x3aea96,'createdAt':_0xf3104a[_0x50e09b(0x14c)],'attributes':_0xf3104a[_0x50e09b(0x181)]||{}};}(_0x21f961,_0xbbdf89,_0x2f970f)),'resolvedAt':_0x49b488,'resolvedBy':_0x294300,'context':_0x98e892,'attributes':_0x3f75e1})[_0x507ed8(0x140)](R);return{'threadId':_0x4af3e1[_0x507ed8(0x17b)],'comments':_0x4af3e1[_0x507ed8(0x173)]};},'getCommentThread':async({channelId:_0x1665cb,threadId:_0xedd0a8})=>{const _0x25f028=_0x3cd985,_0x129f75=await this[_0x25f028(0x131)](_0x1665cb)[_0x25f028(0x174)](_0xedd0a8)[_0x25f028(0x140)](R);return _0x129f75[_0x25f028(0x13d)]?null:(await this[_0x25f028(0x13b)]([_0x129f75]),{'threadId':_0x129f75[_0x25f028(0x17b)],'comments':_0x129f75[_0x25f028(0x173)][_0x25f028(0x17a)](_),'context':_0x129f75[_0x25f028(0x187)],'resolvedAt':_0x129f75[_0x25f028(0x16f)],'resolvedBy':_0x129f75[_0x25f028(0x138)],'attributes':_0x129f75[_0x25f028(0x181)]||{}});},'updateCommentThread':async({channelId:_0x420185,threadId:_0x42d30a,context:_0x58dab8,unlinkedAt:_0x284985,attributes:_0x4421a4})=>this[_0x3cd985(0x131)](_0x420185)[_0x3cd985(0x18c)]({'commentThreadId':_0x42d30a,'context':_0x58dab8,'attributes':_0x4421a4,'unlinkedAt':_0x284985})[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'resolveCommentThread':async({channelId:_0xbb4d69,threadId:_0x2a913f})=>{const _0x830af6=_0x3cd985,_0x2ca5eb=await this[_0x830af6(0x131)](_0xbb4d69)[_0x830af6(0x14a)](_0x2a913f)[_0x830af6(0x140)](S)[_0x830af6(0x140)](R);return{'threadId':_0x2ca5eb[_0x830af6(0x17b)],'resolvedAt':_0x2ca5eb[_0x830af6(0x16f)],'resolvedBy':_0x2ca5eb[_0x830af6(0x138)]};},'reopenCommentThread':async({channelId:_0x4d9284,threadId:_0x28a97d})=>this[_0x3cd985(0x131)](_0x4d9284)[_0x3cd985(0x180)](_0x28a97d)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'removeCommentThread':({channelId:_0x5e3a18,threadId:_0x582f89})=>this[_0x3cd985(0x131)](_0x5e3a18)[_0x3cd985(0x12d)](_0x582f89)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'addComment':({channelId:_0x4cd90d,threadId:_0x3d6b7a,commentId:_0x8de9bb,content:_0x5d4469,attributes:_0x41766c})=>this[_0x3cd985(0x131)](_0x4cd90d)[_0x3cd985(0x132)](_0x3d6b7a,_0x8de9bb,_0x5d4469,_0x41766c)[_0x3cd985(0x140)](R),'updateComment':({channelId:_0x557689,threadId:_0x23063d,commentId:_0x2dbfe3,content:_0x4fac79,attributes:_0x230aff})=>this[_0x3cd985(0x131)](_0x557689)[_0x3cd985(0x149)](_0x23063d,_0x2dbfe3,_0x4fac79,_0x230aff)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'removeComment':({channelId:_0x3eaa05,threadId:_0x338681,commentId:_0x1daf10})=>this[_0x3cd985(0x131)](_0x3eaa05)[_0x3cd985(0x178)](_0x338681,_0x1daf10)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R)},_0x5f0e36 instanceof _0x208897){const _0x37f549=_0x5f0e36[_0x3cd985(0x165)][_0x3cd985(0x16a)](_0x3cd985(0x172)),_0x4b107c=_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x4d83a4);await this[_0x3cd985(0x158)](_0x37f549);const _0x3b80fb=await this[_0x3cd985(0x12e)][_0x3cd985(0x16a)](_0x37f549)[_0x3cd985(0x15f)]();this[_0x3cd985(0x14b)](_0x4b107c,_0x3cd985(0x167)+_0x37f549,(_0x3d25bd,{session:_0xc12924})=>{const _0x7d6915=_0x3cd985;_0xc12924['id']===_0x4b107c[_0x7d6915(0x18a)]&&(_0x3d25bd[_0x7d6915(0x14d)](),this[_0x7d6915(0x187)][_0x7d6915(0x156)][_0x7d6915(0x16a)](_0x7d6915(0x145))[_0x7d6915(0x15e)](_0xc12924[_0x7d6915(0x189)],_0x37f549));}),_0x4b107c[_0x3cd985(0x143)](_0x37f549,_0x3b80fb);}}async[_0x24d164(0x158)](_0x502e7e){const _0x270e41=_0x24d164;if(this[_0x270e41(0x12e)][_0x270e41(0x152)](_0x502e7e))throw new _0x4347db(_0x270e41(0x192),null,{'channelId':_0x502e7e});const _0x201814=this[_0x270e41(0x187)][_0x270e41(0x156)][_0x270e41(0x16a)](_0x270e41(0x148)),_0x3fadc9=new a[(_0x270e41(0x142))](_0x502e7e);this[_0x270e41(0x12e)][_0x270e41(0x14e)](_0x502e7e,_0x3fadc9),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x14f),(_0x35edef,_0x71b2fb)=>{const _0x1cdf07=_0x270e41,{commentThreadId:_0x5b09d1,documentId:_0x36e3d6,context:_0x48a891,attributes:_0x142595,resolvedAt:_0x7c0e45,resolvedBy:_0x5c5f07,comments:_0x5cd766}=_0x71b2fb;_0x201814[_0x1cdf07(0x174)](_0x5b09d1)||_0x201814[_0x1cdf07(0x160)]({'threadId':_0x5b09d1,'channelId':_0x36e3d6,'comments':_0x5cd766?_0x5cd766[_0x1cdf07(0x17a)](_):[],'context':_0x48a891,'attributes':_0x142595,'resolvedAt':_0x7c0e45,'resolvedBy':_0x5c5f07,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x168),(_0x242f26,{commentThreadId:_0xca6424,documentId:_0x5ad789,context:_0x5e1632,unlinkedAt:_0x2ead27,attributes:_0x1dc3c9})=>{const _0xeebe8a=_0x270e41;_0x201814[_0xeebe8a(0x174)](_0xca6424)&&_0x201814[_0xeebe8a(0x18c)]({'threadId':_0xca6424,'channelId':_0x5ad789,'context':_0x5e1632,'unlinkedAt':_0x2ead27,'attributes':_0x1dc3c9,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x144),(_0x3cda1c,{commentThreadId:_0x3e5572,resolvedBy:_0x27dc91,resolvedAt:_0x5927f4})=>{const _0x31891f=_0x270e41,_0x22aa22=_0x201814[_0x31891f(0x174)](_0x3e5572);_0x22aa22&&_0x22aa22[_0x31891f(0x188)]({'resolvedBy':_0x27dc91,'resolvedAt':_0x5927f4,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x153),(_0x136636,{commentThreadId:_0x4b28fc})=>{const _0x468883=_0x270e41,_0x13ef95=_0x201814[_0x468883(0x174)](_0x4b28fc);_0x13ef95&&_0x13ef95[_0x468883(0x154)]({'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x184),(_0x45160c,{commentThreadId:_0x767302})=>{const _0x302c28=_0x270e41,_0x5e61a6=_0x201814[_0x302c28(0x174)](_0x767302);_0x5e61a6&&_0x5e61a6[_0x302c28(0x18b)]({'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x135),(_0x7c1e51,_0x4f0591)=>{const _0x19b2b2=_0x270e41,_0x4638be=_0x4f0591[_0x19b2b2(0x17b)],_0x103a0a=_0x201814[_0x19b2b2(0x174)](_0x4638be);_0x103a0a&&_0x103a0a[_0x19b2b2(0x132)]({..._(_0x4f0591),'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x17d),(_0x57eb32,{commentThreadId:_0x3f241a,commentId:_0x515191,content:_0x4a9e82,attributes:_0x2d808f})=>{const _0x4a6a70=_0x270e41,_0x3f3d04=_0x201814[_0x4a6a70(0x174)](_0x3f241a);if(_0x3f3d04){const _0x429d51=_0x3f3d04[_0x4a6a70(0x18d)](_0x515191);_0x429d51&&_0x429d51[_0x4a6a70(0x193)]({'content':_0x4a9e82,'attributes':_0x2d808f,'isFromAdapter':!0x0});}}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x17c),(_0x223529,{commentThreadId:_0x559a3c,commentId:_0x5aef8b})=>{const _0x1d242a=_0x270e41,_0xe4336e=_0x201814[_0x1d242a(0x174)](_0x559a3c);if(_0xe4336e){const _0x4e6494=_0xe4336e[_0x1d242a(0x18d)](_0x5aef8b);_0x4e6494&&_0x4e6494[_0x1d242a(0x18b)]({'isFromAdapter':!0x0});}}),await this[_0x270e41(0x13a)](_0x502e7e);}[_0x24d164(0x13c)](){const _0x4901a4=_0x24d164;if(this[_0x4901a4(0x187)]instanceof _0x208897){const _0x316a65=this[_0x4901a4(0x187)][_0x4901a4(0x165)][_0x4901a4(0x16a)](_0x4901a4(0x172));this[_0x4901a4(0x177)](_0x316a65);}}[_0x24d164(0x177)](_0x239553){const _0x346feb=_0x24d164;if(!this[_0x346feb(0x12e)][_0x346feb(0x152)](_0x239553))throw new _0x4347db(_0x346feb(0x151),null,{'channelId':_0x239553});this[_0x346feb(0x131)](_0x239553)[_0x346feb(0x163)](),this[_0x346feb(0x12e)][_0x346feb(0x13f)](_0x239553);}async[_0x24d164(0x15d)](){const _0x4a3658=_0x24d164;for(const _0x16f089 of this[_0x4a3658(0x12e)][_0x4a3658(0x16d)]())await this[_0x4a3658(0x13a)](_0x16f089);if(this[_0x4a3658(0x187)]instanceof _0x208897){const _0x23ef38=this[_0x4a3658(0x187)][_0x4a3658(0x165)][_0x4a3658(0x16a)](_0x4a3658(0x172)),_0x350f5c=this[_0x4a3658(0x187)][_0x4a3658(0x156)][_0x4a3658(0x16a)](_0x4d83a4);_0x350f5c[_0x4a3658(0x136)](_0x23ef38);const _0x496294=await this[_0x4a3658(0x12e)][_0x4a3658(0x16a)](_0x23ef38)[_0x4a3658(0x15f)]();_0x350f5c[_0x4a3658(0x143)](_0x23ef38,_0x496294);}}async[_0x24d164(0x13a)](_0x1babd9){const _0x44785a=_0x24d164,{connection:_0x255bca}=this[_0x44785a(0x187)][_0x44785a(0x156)][_0x44785a(0x16a)](_0x4100fa),_0x7bbfac=this[_0x44785a(0x187)][_0x44785a(0x156)][_0x44785a(0x16a)](_0x44785a(0x148)),_0x49fa68=this[_0x44785a(0x12e)][_0x44785a(0x16a)](_0x1babd9),_0x10ae1c=await _0x49fa68[_0x44785a(0x17f)](_0x255bca);await this[_0x44785a(0x13b)](_0x10ae1c);const _0x326613=new Set(Array[_0x44785a(0x182)](_0x7bbfac[_0x44785a(0x12f)]({'channelId':_0x1babd9}),_0x30d39b=>_0x30d39b['id']));for(const _0x5d54dc of _0x10ae1c)_0x5d54dc[_0x44785a(0x13d)]||_0x326613[_0x44785a(0x13f)](_0x5d54dc[_0x44785a(0x17b)]);for(const _0x3202cd of _0x326613)_0x7bbfac[_0x44785a(0x174)](_0x3202cd)[_0x44785a(0x18b)]({'isFromAdapter':!0x0});for(const _0x804dfa of _0x10ae1c){let _0x181c27=_0x7bbfac[_0x44785a(0x174)](_0x804dfa[_0x44785a(0x17b)]);const {commentThreadId:_0x53774e,context:_0x457ea4,attributes:_0x197ccc,resolvedBy:_0x1dc872,resolvedAt:_0x161e50,unlinkedAt:_0x190228,deletedAt:_0x448ef8}=_0x804dfa;if(_0x448ef8)continue;_0x181c27||(_0x181c27=_0x7bbfac[_0x44785a(0x160)]({'channelId':_0x1babd9,'threadId':_0x53774e,'context':_0x457ea4,'attributes':_0x197ccc||{},'resolvedBy':_0x1dc872,'resolvedAt':_0x161e50,'unlinkedAt':_0x190228,'isFromAdapter':!0x0}));const _0xc26726=new Set(Array[_0x44785a(0x182)](_0x181c27[_0x44785a(0x173)],_0x717fbc=>_0x717fbc['id']));for(const _0x594cd0 of _0x804dfa[_0x44785a(0x173)])_0xc26726[_0x44785a(0x13f)](_0x594cd0[_0x44785a(0x186)]);for(const _0x57d0ab of _0xc26726)_0x181c27[_0x44785a(0x18d)](_0x57d0ab)[_0x44785a(0x18b)]({'isFromAdapter':!0x0});for(const _0x10bc2d of _0x804dfa[_0x44785a(0x173)]){const _0x27431a=_0x181c27[_0x44785a(0x18d)](_0x10bc2d[_0x44785a(0x186)]);_0x27431a?_0x27431a[_0x44785a(0x169)]!==_0x10bc2d[_0x44785a(0x169)]&&_0x27431a[_0x44785a(0x193)]({'content':_0x10bc2d[_0x44785a(0x169)],'isFromAdapter':!0x0}):_0x181c27[_0x44785a(0x132)](Object[_0x44785a(0x13e)](_(_0x10bc2d),{'isFromAdapter':!0x0}));}}}[_0x24d164(0x131)](_0x617ffd){const _0x4179cf=_0x24d164;if(!this[_0x4179cf(0x12e)][_0x4179cf(0x152)](_0x617ffd))throw new _0x4347db(_0x4179cf(0x183),null,{'channelId':_0x617ffd});return this[_0x4179cf(0x12e)][_0x4179cf(0x16a)](_0x617ffd);}async[_0x24d164(0x13b)](_0x4551bb){const _0x4b3cac=_0x24d164,_0x3d2851=this[_0x4b3cac(0x187)][_0x4b3cac(0x156)][_0x4b3cac(0x16a)](_0x284ff1),{connection:_0x4c8df8}=this[_0x4b3cac(0x187)][_0x4b3cac(0x156)][_0x4b3cac(0x16a)](_0x4100fa),_0x14bdf9=new Set();for(const {resolvedBy:_0xc52791,comments:_0x33b271}of _0x4551bb){_0xc52791&&!_0x3d2851[_0x4b3cac(0x166)](_0xc52791)&&_0x14bdf9[_0x4b3cac(0x147)](_0xc52791);for(const {userId:_0x37f034}of _0x33b271)_0x3d2851[_0x4b3cac(0x166)](_0x37f034)||_0x14bdf9[_0x4b3cac(0x147)](_0x37f034);}if(0x0===_0x14bdf9[_0x4b3cac(0x179)])return;const _0x6bdd4a=await _0x5c978d[_0x4b3cac(0x141)](_0x4c8df8,Array[_0x4b3cac(0x182)](_0x14bdf9));for(const _0x4c1cfa of _0x6bdd4a)_0x3d2851[_0x4b3cac(0x166)](_0x4c1cfa['id'])||_0x3d2851[_0x4b3cac(0x16e)](_0x4c1cfa);}}export default a;async function S(_0x1185c9){const _0x2cf325=_0x24d164;if(_0x2cf325(0x15a)!==_0x1185c9[_0x2cf325(0x171)])throw _0x1185c9;}function R(_0x490678){const _0x27c3d0=_0x24d164;if((_0x2eef86=_0x490678)[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x18f))||_0x2eef86[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x15b))||_0x2eef86[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x190)))return new Promise(()=>{});var _0x2eef86;throw _0x490678;}function _(_0x3d2be0){const _0x201d96=_0x24d164;return{'threadId':_0x3d2be0[_0x201d96(0x17b)],'commentId':_0x3d2be0[_0x201d96(0x186)],'content':_0x3d2be0[_0x201d96(0x169)],'createdAt':_0x3d2be0[_0x201d96(0x14c)],'authorId':_0x3d2be0[_0x201d96(0x16c)],'attributes':_0x3d2be0[_0x201d96(0x181)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5e58(_0x81dd8f,_0x23fad6){const _0x1e4ee7=_0x1e4e();return _0x5e58=function(_0x5e58f5,_0x417935){_0x5e58f5=_0x5e58f5-0xc1;let _0xd83d73=_0x1e4ee7[_0x5e58f5];return _0xd83d73;},_0x5e58(_0x81dd8f,_0x23fad6);}const _0x339e1d=_0x5e58;(function(_0x1c75c1,_0x4c7f78){const _0x4d503e=_0x5e58,_0xecce60=_0x1c75c1();while(!![]){try{const _0x17e6ad=parseInt(_0x4d503e(0xc1))/0x1+-parseInt(_0x4d503e(0xd5))/0x2*(-parseInt(_0x4d503e(0xe2))/0x3)+-parseInt(_0x4d503e(0xd9))/0x4+-parseInt(_0x4d503e(0xd2))/0x5+parseInt(_0x4d503e(0xce))/0x6*(-parseInt(_0x4d503e(0xdc))/0x7)+-parseInt(_0x4d503e(0xc3))/0x8*(parseInt(_0x4d503e(0xe1))/0x9)+parseInt(_0x4d503e(0xd7))/0xa*(parseInt(_0x4d503e(0xc9))/0xb);if(_0x17e6ad===_0x4c7f78)break;else _0xecce60['push'](_0xecce60['shift']());}catch(_0x461124){_0xecce60['push'](_0xecce60['shift']());}}}(_0x1e4e,0x3b93a));import{Plugin as _0x25f47d}from'ckeditor5/src/core.js';import _0x6216f5 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x1668d8 from'./realtimecollaborativeediting.js';import _0x2fc589 from'./realtimecollaborativeediting/websocketgateway.js';function _0x1e4e(){const _0x4594b1=['once','11961oqzrFf','9cOTRBB','listenTo','ready','31859ROQszy','isThreadsLoadingPaused','576Yzlrlb','collaboration.channelId','destroy','editor','Comments','isPremiumPlugin','15807NXJBKl','isOfficialPlugin','_setUpService','CommentsEditing','_terminateService','4002bEGhvd','CommentsRepository','config','change:state','1012980rIyttA','get','plugins','40674xXcGGX','switchReadOnly','7910SUqNYn','RealTimeCollaborativeComments','1470936iddNpQ','requires','data','3353hXTEHS','init','connected','pluginName'];_0x1e4e=function(){return _0x4594b1;};return _0x1e4e();}export default class m extends _0x25f47d{static get[_0x339e1d(0xda)](){const _0x19bfe0=_0x339e1d;return[_0x19bfe0(0xc7),_0x6216f5,_0x1668d8,_0x2fc589];}static get[_0x339e1d(0xdf)](){const _0x58b2e7=_0x339e1d;return _0x58b2e7(0xd8);}static get[_0x339e1d(0xca)](){return!0x0;}static get[_0x339e1d(0xc8)](){return!0x0;}[_0x339e1d(0xdd)](){const _0x93f85d=_0x339e1d,_0x4e73b6=this[_0x93f85d(0xc6)][_0x93f85d(0xd4)][_0x93f85d(0xd3)](_0x2fc589),_0x1c6eac=this[_0x93f85d(0xc6)][_0x93f85d(0xd4)][_0x93f85d(0xd3)](_0x93f85d(0xcc)),_0x44cee9=this[_0x93f85d(0xc6)][_0x93f85d(0xd4)][_0x93f85d(0xd3)](_0x6216f5);return this[_0x93f85d(0xc6)][_0x93f85d(0xdb)][_0x93f85d(0xe0)](_0x93f85d(0xe4),()=>{const _0x3d096b=_0x93f85d;this[_0x3d096b(0xe3)](_0x4e73b6,_0x3d096b(0xd1),(_0x11c66a,_0x5e8848,_0x57bef7)=>{const _0x15d588=_0x3d096b;_0x1c6eac[_0x15d588(0xc2)]=_0x15d588(0xde)!==_0x57bef7;});}),this[_0x93f85d(0xe3)](_0x4e73b6,_0x93f85d(0xd1),(_0xa80d9,_0x468b8e,_0xe53639)=>{const _0x34b600=_0x93f85d;this[_0x34b600(0xc6)][_0x34b600(0xd4)][_0x34b600(0xd3)](_0x34b600(0xcf))[_0x34b600(0xd6)](_0x34b600(0xde)!==_0xe53639);}),_0x44cee9[_0x93f85d(0xcb)](this[_0x93f85d(0xc6)][_0x93f85d(0xd0)][_0x93f85d(0xd3)](_0x93f85d(0xc4)));}[_0x339e1d(0xc5)](){const _0x1fd734=_0x339e1d;this[_0x1fd734(0xc6)][_0x1fd734(0xd4)][_0x1fd734(0xd3)](_0x6216f5)[_0x1fd734(0xcd)](this[_0x1fd734(0xc6)][_0x1fd734(0xd0)][_0x1fd734(0xd3)](_0x1fd734(0xc4))),super[_0x1fd734(0xc5)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x454669)());[_0x15edac(0x168)];[_0x15edac(0xad)];[_0x15edac(0xb7)];[_0x15edac(0x9b)];[_0x15edac(0xc5)];[_0x15edac(0x13b)];[_0x15edac(0x117)];[_0x15edac(0x144)];[_0x15edac(0x128)];[_0x15edac(0xeb)];[_0x15edac(0x18d)];[_0x15edac(0xf2)];[_0x15edac(0x199)];[_0x15edac(0x101)];[_0x15edac(0xd7)];[_0x15edac(0x112)];[_0x15edac(0xe5)];[_0x15edac(0xe6)];static get[_0x15edac(0xd3)](){return[_0x358068,_0x86a740,_0x15bec4,_0x5385fe,_0x268578,_0x10dfbd];}static get[_0x15edac(0x126)](){const _0x1116c5=_0x15edac;return _0x1116c5(0xe2);}static get[_0x15edac(0xfe)](){return!0x0;}static get[_0x15edac(0x147)](){return!0x0;}get[_0x15edac(0x111)](){const _0x4e8537=_0x15edac;return this[_0x4e8537(0x19c)]+this[_0x4e8537(0x168)];}get[_0x15edac(0x19c)](){const _0x472105=_0x15edac;return this[_0x472105(0xb7)][_0x472105(0xa6)]-this[_0x472105(0x168)];}get[_0x15edac(0x191)](){const _0x980961=_0x15edac,_0x5b784a=this[_0x980961(0xb7)][_0x980961(0x12b)]();for(let _0xe38396=_0x5b784a[_0x980961(0xf0)]-0x1;_0xe38396>=0x0;_0xe38396--){const _0x317a99=_0x5b784a[_0xe38396];if(!this[_0x980961(0xe5)][_0x980961(0x151)](_0x317a99))return _0x317a99[_0x980961(0x119)]+0x1-this[_0x980961(0x168)];}return 0x0;}constructor(_0x4c5ae7){const _0x5c8185=_0x15edac;if(super(_0x4c5ae7),this[_0x5c8185(0x168)]=0x0,this[_0x5c8185(0xad)]=null,this[_0x5c8185(0xb7)]=new _0x245938(),this[_0x5c8185(0x16b)][_0x5c8185(0x195)][_0x5c8185(0xe8)](_0x5c8185(0x138),{}),this[_0x5c8185(0x9b)]=this[_0x5c8185(0x16b)][_0x5c8185(0x195)][_0x5c8185(0x145)](_0x5c8185(0x121)),!this[_0x5c8185(0x9b)])throw new _0x504165(_0x5c8185(0x137),this);const _0x46f543=_0x4c5ae7[_0x5c8185(0x195)][_0x5c8185(0x145)](_0x5c8185(0x122))||_0xa50965;this[_0x5c8185(0xc5)]=new l[(_0x5c8185(0x15f))](_0x46f543,this[_0x5c8185(0x9b)]),this[_0x5c8185(0x13b)]=this[_0x5c8185(0x16b)][_0x5c8185(0xe7)][_0x5c8185(0x118)],this[_0x5c8185(0x117)]=new _0x1f44ea(),this[_0x5c8185(0x144)]=[],this[_0x5c8185(0x128)]=new WeakSet(),this[_0x5c8185(0xeb)]=new Set(),this[_0x5c8185(0x106)](_0x5c8185(0x113),!0x1),this[_0x5c8185(0x106)](_0x5c8185(0x174),!0x1),this[_0x5c8185(0x18d)]=null,this[_0x5c8185(0xf2)]=!0x1,this[_0x5c8185(0x199)]=null,this[_0x5c8185(0x101)]=0x12c,this[_0x5c8185(0xd7)]=this[_0x5c8185(0x101)],this[_0x5c8185(0x112)]=null,this[_0x5c8185(0xe5)]=new WeakSet(),this[_0x5c8185(0xe6)]=new V(this[_0x5c8185(0xe5)]);}[_0x15edac(0x13e)](){const _0x1740ad=_0x15edac,_0x43ae98=this[_0x1740ad(0x16b)],_0x16db82=_0x43ae98[_0x1740ad(0x15e)][_0x1740ad(0x145)](_0x268578),_0x4e2414=_0x43ae98[_0x1740ad(0x15e)][_0x1740ad(0x145)](_0x358068);this[_0x1740ad(0x98)](_0x16db82,_0x1740ad(0x148),(_0x49174c,_0x1347f0)=>{const _0x4466de=_0x1740ad,_0xed7aa3=_0x1347f0[0x0];_0xed7aa3[_0x4466de(0x167)]&&(_0x49174c[_0x4466de(0x14a)]=_0x16db82[_0x4466de(0x14d)](_0xed7aa3[_0x4466de(0x167)]),_0x49174c[_0x4466de(0x142)]()),null===_0xed7aa3[_0x4466de(0x167)]&&(_0x49174c[_0x4466de(0x14a)]=null,_0x49174c[_0x4466de(0x142)]());},{'priority':_0x1740ad(0xc6)}),this[_0x1740ad(0x98)](_0x43ae98[_0x1740ad(0xe7)][_0x1740ad(0x118)][_0x1740ad(0x172)],_0x1740ad(0x114),(_0x4e04c4,_0x35bc1b)=>{const _0x5c5bcb=_0x1740ad;_0x35bc1b[_0x5c5bcb(0xfd)]&&this[_0x5c5bcb(0x192)]();}),this[_0x1740ad(0x98)](_0x43ae98[_0x1740ad(0x13c)][_0x1740ad(0x9c)],_0x1740ad(0xfc),()=>{const _0x42ad13=_0x1740ad;this[_0x42ad13(0x192)]();}),this[_0x1740ad(0x13a)](),_0x43ae98[_0x1740ad(0xe7)]['on'](_0x1740ad(0x12f),(_0x14a65a,_0xfcc804)=>{const _0x164bb4=_0x1740ad,_0x577b01=_0xfcc804[0x0];_0x577b01[_0x164bb4(0x131)]&&(this[_0x164bb4(0xdc)](_0x577b01),this[_0x164bb4(0xc1)]()&&this[_0x164bb4(0xf1)]());}),this[_0x1740ad(0xe3)](),this[_0x1740ad(0x163)](_0x1740ad(0x108))['to'](_0x4e2414,_0x1740ad(0xee),this,_0x1740ad(0x174),(_0x217f15,_0x12f3a0)=>_0x1740ad(0xbf)===_0x217f15&&!_0x12f3a0),this['on'](_0x1740ad(0x13d),()=>{const _0x1074cd=_0x1740ad;this[_0x1074cd(0x108)]?_0x43ae98[_0x1074cd(0xfb)](_0x1074cd(0x16a)):_0x43ae98[_0x1074cd(0x10d)](_0x1074cd(0x16a));}),this[_0x1740ad(0x108)]?_0x43ae98[_0x1740ad(0xfb)](_0x1740ad(0x16a)):_0x43ae98[_0x1740ad(0x10d)](_0x1740ad(0x16a)),this[_0x1740ad(0x106)](_0x1740ad(0x154),!0x1);}async[_0x15edac(0xab)](){const _0x5841b8=_0x15edac,_0xf76a7a=this[_0x5841b8(0x16b)][_0x5841b8(0x15e)][_0x5841b8(0x145)](_0x86a740),_0xc21f78=this[_0x5841b8(0x16b)][_0x5841b8(0x15e)][_0x5841b8(0x145)](_0x358068);try{this[_0x5841b8(0x113)]=!0x0,_0xf76a7a[_0x5841b8(0x155)](this[_0x5841b8(0x9b)]);const _0x48cc66=await this[_0x5841b8(0xc5)][_0x5841b8(0xab)](_0xc21f78[_0x5841b8(0x14b)],this[_0x5841b8(0x191)]);await this[_0x5841b8(0xdb)](_0x48cc66)&&(this[_0x5841b8(0x113)]=!0x1,this[_0x5841b8(0xf8)]());const _0x993286=await this[_0x5841b8(0xc5)][_0x5841b8(0xd1)]();_0xf76a7a[_0x5841b8(0x9d)](this[_0x5841b8(0x9b)],_0x993286),this[_0x5841b8(0x110)](),this[_0x5841b8(0x154)]=!0x0;}catch(_0x18de9b){if(function(_0x1e004f){const _0x349199=_0x5841b8;return _0x349199(0x139)===_0x1e004f[_0x349199(0x11f)];}(_0x18de9b)&&this[_0x5841b8(0xad)])await this[_0x5841b8(0x16f)]();else{if(function(_0x2a5ecc){const _0x1c8c9c=_0x5841b8;return _0x1c8c9c(0xd9)===_0x2a5ecc[_0x1c8c9c(0x11f)];}(_0x18de9b)){const _0x2459cf=_0xb5119(this[_0x5841b8(0x16b)][_0x5841b8(0x107)],_0x5841b8(0x125));this[_0x5841b8(0xd8)](_0x2459cf);}else{if(!(_0x18de9b instanceof z))throw _0x18de9b;this[_0x5841b8(0xd8)]();}}}}[_0x15edac(0xf3)](){const _0x1d3fe7=_0x15edac,_0x1ec37f=this[_0x1d3fe7(0x16b)][_0x1d3fe7(0x15e)][_0x1d3fe7(0x145)](_0x358068),_0x41091c=this[_0x1d3fe7(0x16b)][_0x1d3fe7(0x15e)][_0x1d3fe7(0x145)](_0x86a740);this[_0x1d3fe7(0x16b)][_0x1d3fe7(0x10d)](_0x1d3fe7(0x100)),_0x41091c[_0x1d3fe7(0x17d)][_0x1d3fe7(0x151)](this[_0x1d3fe7(0x9b)])&&_0x41091c[_0x1d3fe7(0x155)](this[_0x1d3fe7(0x9b)]),_0x1ec37f[_0x1d3fe7(0x116)](this),this[_0x1d3fe7(0x15a)](),super[_0x1d3fe7(0xf3)]();}async[_0x15edac(0xdb)](_0x5776d5){const _0x19a70b=_0x15edac;if(this[_0x19a70b(0xad)]!==_0x5776d5[_0x19a70b(0xad)]&&this[_0x19a70b(0x112)]!==_0x5776d5[_0x19a70b(0x11b)])throw new z();return this[_0x19a70b(0xad)]=_0x5776d5[_0x19a70b(0xad)],this[_0x19a70b(0x193)]([],{..._0x5776d5,'wereChangesApplied':!0x1,'data':_0x5776d5[_0x19a70b(0x19b)]},_0x19a70b(0xab));}async[_0x15edac(0xd6)](_0x53a801,_0xf20ff0=!0x1){const _0x422139=_0x15edac,{connection:_0x433f8b}=this[_0x422139(0x16b)][_0x422139(0x15e)][_0x422139(0x145)](_0x358068);l[_0x422139(0x15f)][_0x422139(0xd1)](_0x433f8b,this[_0x422139(0x9b)])[_0x422139(0x153)](_0x48b577=>this[_0x422139(0xcd)](_0x48b577))[_0x422139(0xd4)](_0xc0cff8=>{const _0x24692a=_0x422139;this[_0x24692a(0xd5)](_0x24692a(0x15b),_0xc0cff8);}),this[_0x422139(0x98)](this[_0x422139(0xc5)],_0x422139(0x14c),this[_0x422139(0x127)][_0x422139(0x163)](this)),this[_0x422139(0x98)](this[_0x422139(0xc5)],_0x422139(0xb4),(_0x58a0c4,_0x531457)=>{const _0x4c7fa4=_0x422139;this[_0x4c7fa4(0xd5)](_0x4c7fa4(0xbd),_0x531457);}),this[_0x422139(0x98)](this[_0x422139(0xc5)],_0x422139(0xbb),()=>{const _0xa33629=_0x422139;this[_0xa33629(0x154)]=!0x1;});const _0x182413=this[_0x422139(0xe6)][_0x422139(0x12a)](_0x53a801);this[_0x422139(0x113)]=!0x0;const _0x40625f=await this[_0x422139(0xc5)][_0x422139(0xb2)](_0x433f8b,this[_0x422139(0x17b)](_0x53a801),_0x182413);if(this[_0x422139(0xad)]=_0x40625f[_0x422139(0xad)],_0xf20ff0){if(!_0x40625f[_0x422139(0x11e)])return void this[_0x422139(0xd8)]();this[_0x422139(0x113)]=!0x1,this[_0x422139(0xf8)](),this[_0x422139(0xb7)][_0x422139(0x12e)](),this[_0x422139(0x168)]=_0x40625f[_0x422139(0x17c)],this[_0x422139(0xb7)][_0x422139(0xa6)]=this[_0x422139(0x168)],await this[_0x422139(0x193)](_0x53a801,_0x40625f,_0x422139(0x185));}else await this[_0x422139(0x198)](_0x40625f,_0x53a801);this[_0x422139(0x110)](),this[_0x422139(0x154)]=!0x0;}[_0x15edac(0x110)](){const _0x28b633=_0x15edac,_0x463dc0=this[_0x28b633(0x16b)][_0x28b633(0x15e)][_0x28b633(0x145)](_0x86a740),_0x1b7771=this[_0x28b633(0x16b)][_0x28b633(0x15e)][_0x28b633(0x145)](_0x15bec4),_0x510610=_0x463dc0[_0x28b633(0x17d)][_0x28b633(0x145)](this[_0x28b633(0x9b)]);_0x510610&&_0x510610[_0x28b633(0xf0)]>0x1?_0x1b7771[_0x28b633(0x17a)]():this[_0x28b633(0x98)](_0x463dc0,_0x28b633(0x184)+this[_0x28b633(0x9b)],()=>{const _0x38ee1d=_0x28b633;0x2===_0x463dc0[_0x38ee1d(0x17d)][_0x38ee1d(0x145)](this[_0x38ee1d(0x9b)])[_0x38ee1d(0xf0)]&&_0x1b7771[_0x38ee1d(0x17a)]();});}async[_0x15edac(0x127)](_0x3b6c51,_0x24daa4,_0x53f151,_0x1318b7){const _0x3ca5d5=_0x15edac;if(!this[_0x3ca5d5(0x113)]&&this[_0x3ca5d5(0x13b)][_0x3ca5d5(0xa6)]==_0x24daa4){const _0x15ce1d=this[_0x3ca5d5(0x158)](_0x53f151,_0x1318b7);await this[_0x3ca5d5(0x180)](_0x15ce1d),this[_0x3ca5d5(0x194)](_0x15ce1d,_0x24daa4,_0x53f151[_0x3ca5d5(0x11b)])||this[_0x3ca5d5(0xd5)](_0x3ca5d5(0x140));}}async[_0x15edac(0x16f)](){const _0x3ab890=_0x15edac;this[_0x3ab890(0x15a)]();const {locale:_0x2e2103}=this[_0x3ab890(0x16b)];let _0x667d5f;try{_0x667d5f=await this[_0x3ab890(0xc5)][_0x3ab890(0x15c)]();}catch{const _0x425345=_0xb5119(_0x2e2103,_0x3ab890(0x135));return void this[_0x3ab890(0xd8)](_0x425345);}const _0x406c8a=_0x667d5f[_0x3ab890(0xc3)]||_0x667d5f[_0x3ab890(0xd0)];if(this[_0x3ab890(0x112)]===_0x406c8a[_0x3ab890(0x11b)])await this[_0x3ab890(0xd6)](this[_0x3ab890(0x16b)][_0x3ab890(0xe7)][_0x3ab890(0x118)][_0x3ab890(0xc0)][_0x3ab890(0x12b)](),!0x0);else{const _0x37b34f=_0xb5119(_0x2e2103,_0x3ab890(0xdf));this[_0x3ab890(0xd8)](_0x37b34f);}}[_0x15edac(0x15a)](){const _0x58a0f2=_0x15edac;this[_0x58a0f2(0xc5)][_0x58a0f2(0x103)](),this[_0x58a0f2(0x144)]=[],clearTimeout(this[_0x58a0f2(0x199)]),this[_0x58a0f2(0x11a)](this[_0x58a0f2(0xc5)]);}[_0x15edac(0xcd)](_0x226ad5){const _0x53a393=_0x15edac,_0x5cc8a1=this[_0x53a393(0x16b)][_0x53a393(0x15e)][_0x53a393(0x145)](_0x86a740);this[_0x53a393(0x98)](_0x5cc8a1,_0x53a393(0x184)+this[_0x53a393(0x9b)],(_0x4e654d,{session:_0xad4663})=>{const _0x3c3a89=_0x53a393;if(_0xad4663['id']===_0x5cc8a1[_0x3c3a89(0xae)]){_0x4e654d[_0x3c3a89(0x166)]();const _0x34bed9=this[_0x3c3a89(0x16b)][_0x3c3a89(0x15e)][_0x3c3a89(0x151)](_0x3c3a89(0xc4))&&this[_0x3c3a89(0x16b)][_0x3c3a89(0x15e)][_0x3c3a89(0x145)](_0x3c3a89(0xc4));let _0x39227f=_0xad4663[_0x3c3a89(0x9e)];_0x34bed9&&_0x34bed9[_0x3c3a89(0x179)]&&(_0x39227f=_0x39227f[_0x3c3a89(0x176)](_0x5d76e0=>_0x3c3a89(0x134)!==_0x5d76e0)),this[_0x3c3a89(0x16b)][_0x3c3a89(0x15e)][_0x3c3a89(0x145)](_0x3c3a89(0x160))[_0x3c3a89(0xa2)](_0x39227f,this[_0x3c3a89(0x9b)]);}}),_0x5cc8a1[_0x53a393(0x9d)](this[_0x53a393(0x9b)],_0x226ad5);}[_0x15edac(0x13a)](){const _0x5d25fd=_0x15edac,_0x3d575b=this[_0x5d25fd(0x16b)][_0x5d25fd(0x19b)][_0x5d25fd(0x106)];this[_0x5d25fd(0x16b)][_0x5d25fd(0x19b)][_0x5d25fd(0x106)]=(..._0x380f80)=>{const _0x4195ed=_0x5d25fd;if(!_0x380f80[_0x380f80[_0x4195ed(0xf0)]-0x1][_0x4195ed(0x12d)])throw new _0x504165(_0x4195ed(0xa3),this);_0x3d575b[_0x4195ed(0xa9)](this[_0x4195ed(0x16b)][_0x4195ed(0x19b)],_0x380f80);};}[_0x15edac(0xe3)](){const _0x56d8b2=_0x15edac;this[_0x56d8b2(0x16b)][_0x56d8b2(0x19b)]['on'](_0x56d8b2(0x13e),(_0x44caac,[_0x1ac2df])=>{const _0x469ea5=_0x56d8b2;if(this[_0x469ea5(0x13b)][_0x469ea5(0xa6)])throw new _0x504165(_0x469ea5(0xfa),this);_0x44caac[_0x469ea5(0x142)](),this[_0x469ea5(0xe0)]();const _0x447f88=this[_0x469ea5(0x16b)][_0x469ea5(0x195)][_0x469ea5(0x145)](_0x469ea5(0x183)),_0x4596d9=this[_0x469ea5(0x16e)](_0x1ac2df,_0x447f88);0x0==_0x4596d9[_0x469ea5(0xf0)]&&_0x4596d9[_0x469ea5(0xde)](new _0x2216ad(0x0)),_0x44caac[_0x469ea5(0x14a)]=this[_0x469ea5(0xd6)](_0x4596d9)[_0x469ea5(0x153)](()=>{const _0x8060f9=_0x469ea5;this[_0x8060f9(0x16b)][_0x8060f9(0x15e)][_0x8060f9(0x145)](_0x358068)[_0x8060f9(0xf5)](this),this[_0x8060f9(0x16b)][_0x8060f9(0x19b)][_0x8060f9(0xcf)](_0x8060f9(0xa7));})[_0x469ea5(0xd4)](_0x5a2479=>this[_0x469ea5(0xd5)](_0x469ea5(0x177),_0x5a2479))[_0x469ea5(0x173)](()=>this[_0x469ea5(0xf8)]());},{'priority':_0x56d8b2(0xc6)}),this[_0x56d8b2(0x16b)]['on'](_0x56d8b2(0x14f),async(_0x2a9ff2,[_0x40acca,_0x5d03cf])=>{const _0x263917=_0x56d8b2;_0x2a9ff2[_0x263917(0x142)]();const _0x81cc57=this[_0x263917(0x16b)][_0x263917(0xe7)][_0x263917(0x118)][_0x263917(0xb9)](_0x40acca);if(!this[_0x263917(0xeb)][_0x263917(0x151)](_0x40acca)){const _0x262ca1=_0x5d03cf&&_0x5d03cf[_0x263917(0x19b)]?_0x5d03cf[_0x263917(0x19b)]:'',_0xba92bc=_0x5d03cf&&_0x5d03cf[_0x263917(0x149)]?_0x5d03cf[_0x263917(0x149)]:{};await this[_0x263917(0x10c)](_0x40acca,_0x262ca1,_0xba92bc);}this[_0x263917(0x16b)][_0x263917(0xe7)][_0x263917(0x18a)]({'isUndoable':!0x1},()=>{const _0x5f23bf=_0x263917;_0x81cc57[_0x5f23bf(0xe9)]=!0x0,this[_0x5f23bf(0x16b)][_0x5f23bf(0xe7)][_0x5f23bf(0x118)][_0x5f23bf(0x17e)][_0x5f23bf(0x123)](_0x81cc57);});},{'priority':_0x56d8b2(0xc6)});}async[_0x15edac(0x180)](_0x51087a){const _0x1ef931=_0x15edac,_0x1452bf=this[_0x1ef931(0x16b)][_0x1ef931(0x15e)][_0x1ef931(0x145)](_0x268578),{connection:_0x135618}=this[_0x1ef931(0x16b)][_0x1ef931(0x15e)][_0x1ef931(0x145)](_0x358068),_0x2c1918=new Set();for(const _0x468b28 of _0x51087a){const _0x35b199=_0x468b28[_0x1ef931(0x167)];_0x35b199&&!_0x1452bf[_0x1ef931(0x14d)](_0x35b199)&&_0x2c1918[_0x1ef931(0x162)](_0x35b199);}if(0x0===_0x2c1918[_0x1ef931(0x157)])return;const _0x4985dc=await _0x301412[_0x1ef931(0xbe)](_0x135618,Array[_0x1ef931(0xf6)](_0x2c1918));for(const _0x2ae47f of _0x4985dc)_0x1452bf[_0x1ef931(0x14d)](_0x2ae47f['id'])||_0x1452bf[_0x1ef931(0x130)](_0x2ae47f);}[_0x15edac(0x16e)](_0x4ee1e6,_0x51041c={}){const _0x92d694=_0x15edac,_0x12885c=this[_0x92d694(0x16b)][_0x92d694(0xe7)],_0x40aea5=[];let _0x3dc03c=0x0;const _0x4b15d1=_0x92d694(0x16c)==typeof _0x4ee1e6?{'main':_0x4ee1e6}:_0x4ee1e6;for(const _0x56c485 of Object[_0x92d694(0x136)](_0x4b15d1)){if(!this[_0x92d694(0x13b)][_0x92d694(0x189)][_0x92d694(0x151)](_0x56c485))throw new _0x504165(_0x92d694(0x169),this);const _0x3d6f02=this[_0x92d694(0x16b)][_0x92d694(0x19b)][_0x92d694(0xff)](_0x4b15d1[_0x56c485]),_0x22b666=this[_0x92d694(0x13b)][_0x92d694(0xb9)](_0x56c485),_0x430135=new _0x2774b7(_0x12885c[_0x92d694(0x104)](_0x22b666,0x0),_0x3d6f02,_0x3dc03c++);_0x40aea5[_0x92d694(0xde)](_0x430135);for(const [_0x383964,_0x335ad5]of _0x3d6f02[_0x92d694(0xc7)]){const _0x251efe=_0x12885c[_0x92d694(0x120)](_0x12885c[_0x92d694(0x11d)](_0x22b666,_0x335ad5[_0x92d694(0xb5)][_0x92d694(0x133)][_0x92d694(0x171)]()),_0x12885c[_0x92d694(0x11d)](_0x22b666,_0x335ad5[_0x92d694(0x15d)][_0x92d694(0x133)][_0x92d694(0x171)]())),_0x3f369f=new _0x3b6af6(_0x383964,null,_0x251efe,_0x12885c[_0x92d694(0xc7)],!0x0,_0x3dc03c++);_0x40aea5[_0x92d694(0xde)](_0x3f369f);}}if(_0x51041c)for(const [_0x4b169f,_0x123c8e]of Object[_0x92d694(0x170)](_0x51041c)){const _0x13b530=_0x12885c[_0x92d694(0x118)][_0x92d694(0xb9)](_0x4b169f);if(!_0x13b530)throw new _0x504165(_0x92d694(0x9a),null);for(const [_0x49ce1a,_0x297260]of Object[_0x92d694(0x170)](_0x123c8e))if(null!==_0x297260){const _0xd19e39=new _0x4bb4a8(_0x13b530,_0x49ce1a,null,_0x297260,_0x3dc03c++);_0x40aea5[_0x92d694(0xde)](_0xd19e39);}}return _0x40aea5;}async[_0x15edac(0x10c)](_0x196ebf,_0x576c31,_0x4cf8a6){const _0x450089=_0x15edac;this[_0x450089(0x16e)]({[_0x196ebf]:_0x576c31},{[_0x196ebf]:_0x4cf8a6})[_0x450089(0xb1)]((_0x54c6d7,_0x4573c8)=>{const _0x40a91a=_0x450089;_0x54c6d7[_0x40a91a(0x119)]=this[_0x40a91a(0x13b)][_0x40a91a(0xa6)]+_0x4573c8,_0x54c6d7[_0x40a91a(0x156)]=!0x0,this[_0x40a91a(0xdc)](_0x54c6d7);}),this[_0x450089(0xf1)](),await this[_0x450089(0xbc)]();}async[_0x15edac(0x198)](_0x1a0513,_0x1be1b4){const _0x162844=_0x15edac;let _0x588637;this[_0x162844(0x168)]=_0x1a0513[_0x162844(0x17c)];const _0x4cfde7=_0x1a0513[_0x162844(0x11e)]&&!_0x1a0513[_0x162844(0xf4)],_0x472d8b=_0x4cfde7?0x0:_0x1a0513[_0x162844(0x19b)][_0x162844(0x119)];if(_0x1be1b4[_0x162844(0xb1)](_0x4703fd=>{const _0x1b7b8e=_0x162844;_0x4703fd[_0x1b7b8e(0x156)]=!0x0,_0x4703fd[_0x1b7b8e(0x109)]=_0x1a0513[_0x1b7b8e(0x175)],_0x4703fd[_0x1b7b8e(0x167)]=null;}),_0x4cfde7)_0x588637=_0x1be1b4,this[_0x162844(0x181)](_0x588637,_0x4cfde7);else{if(_0x1a0513[_0x162844(0xf4)]){const _0x512e7b=this[_0x162844(0x16e)](_0x1a0513[_0x162844(0xf4)]);this[_0x162844(0x13b)][_0x162844(0xc0)][_0x162844(0xa6)]=-_0x512e7b[_0x162844(0xf0)],_0x512e7b[_0x162844(0xb1)](_0xfdf80f=>{const _0x8ac0c8=_0x162844;_0xfdf80f[_0x8ac0c8(0x119)]-=_0x512e7b[_0x8ac0c8(0xf0)],_0xfdf80f[_0x8ac0c8(0x109)]=_0x1a0513[_0x8ac0c8(0x175)],_0xfdf80f[_0x8ac0c8(0x156)]=!0x0,_0xfdf80f[_0x8ac0c8(0x167)]=null;}),this[_0x162844(0x181)](_0x512e7b,!0x0),this[_0x162844(0xb7)][_0x162844(0xa6)]=-_0x512e7b[_0x162844(0xf0)]+this[_0x162844(0x168)],this[_0x162844(0xaa)](_0x512e7b);}this[_0x162844(0x13b)][_0x162844(0xc0)][_0x162844(0xa6)]=_0x472d8b,_0x588637=this[_0x162844(0x158)](_0x1a0513[_0x162844(0x19b)],_0x1a0513[_0x162844(0x188)]),await this[_0x162844(0x180)](_0x588637),this[_0x162844(0x181)](_0x588637,_0x4cfde7);}_0x1a0513[_0x162844(0x11b)]&&(this[_0x162844(0xe6)][_0x162844(0x187)](_0x588637,_0x1a0513[_0x162844(0x11b)]),this[_0x162844(0x112)]=_0x1a0513[_0x162844(0x11b)]),this[_0x162844(0xb7)][_0x162844(0xa6)]=_0x472d8b+this[_0x162844(0x168)],this[_0x162844(0xaa)](_0x588637),_0x1be1b4[_0x162844(0x176)](_0x3d5b4c=>{const _0x3e10f6=_0x162844,_0x4fe508=this[_0x3e10f6(0x19a)](_0x3d5b4c);return _0x4fe508&&!this[_0x3e10f6(0xeb)][_0x3e10f6(0x151)](_0x4fe508);})[_0x162844(0xb1)]((_0x494afe,_0x2ffc47)=>{const _0x36c83a=_0x162844;_0x494afe[_0x36c83a(0x119)]=this[_0x36c83a(0x13b)][_0x36c83a(0xa6)]+_0x2ffc47,this[_0x36c83a(0xdc)](_0x494afe);}),this[_0x162844(0xc1)]()?(this[_0x162844(0xd7)]=0x0,this[_0x162844(0xf1)](!0x0),await this[_0x162844(0xbc)]()):(this[_0x162844(0x113)]=!0x1,this[_0x162844(0xf8)]());}[_0x15edac(0xd5)](_0x2778d2,_0x5071cd){const _0x5f482a=_0x15edac,_0x5a0601=_0x5071cd&&_0x5071cd[_0x5f482a(0x18c)];if(_0x5a0601&&_0x5a0601[_0x5f482a(0x152)](_0x5f482a(0x18b)))throw _0x5071cd;const _0x405683=this[_0x5f482a(0x16b)][_0x5f482a(0x15e)][_0x5f482a(0x145)](_0x358068);throw this[_0x5f482a(0x113)]=!0x0,_0x405683[_0x5f482a(0x103)](),this[_0x5f482a(0x16b)][_0x5f482a(0x10d)](_0x5f482a(0x115)),new _0x504165(_0x2778d2,this[_0x5f482a(0x16b)],_0x5a0601?{'originalError':_0x5a0601}:void 0x0);}[_0x15edac(0xdc)](_0x42b3f9){const _0x47afaf=_0x15edac;this[_0x47afaf(0x128)][_0x47afaf(0x151)](_0x42b3f9)||(this[_0x47afaf(0x128)][_0x47afaf(0x162)](_0x42b3f9),this[_0x47afaf(0x144)][_0x47afaf(0xde)](_0x42b3f9),this[_0x47afaf(0x18d)]||_0x47afaf(0x12c)==_0x42b3f9[_0x47afaf(0x99)]&&!_0x42b3f9[_0x47afaf(0x97)]||this[_0x47afaf(0xe0)]());}[_0x15edac(0xf1)](_0x474030=!0x1){const _0xff99fe=_0x15edac;!_0x474030&&this[_0xff99fe(0x113)]||(this[_0xff99fe(0x113)]=!0x0,clearTimeout(this[_0xff99fe(0x199)]),this[_0xff99fe(0x199)]=setTimeout(()=>{const _0x3bad9c=_0xff99fe;this[_0x3bad9c(0xa5)]()[_0x3bad9c(0x153)](_0xce8dd9=>{const _0x15f742=_0x3bad9c;_0xce8dd9&&(this[_0x15f742(0xf8)](),this[_0x15f742(0x113)]=!0x1);})[_0x3bad9c(0xd4)](_0xccb62b=>{const _0x21996e=_0x3bad9c;this[_0x21996e(0xf8)](),this[_0x21996e(0x113)]=!0x1,function(_0x33c8ed){const _0x3d63a1=_0x21996e;return _0x33c8ed[_0x3d63a1(0x18c)][_0x3d63a1(0x152)](_0x3d63a1(0x124))||_0x33c8ed[_0x3d63a1(0x18c)][_0x3d63a1(0x152)](_0x3d63a1(0xac))||_0x33c8ed[_0x3d63a1(0x18c)][_0x3d63a1(0x152)](_0x3d63a1(0x196));}(_0xccb62b)||this[_0x21996e(0xd5)](_0xccb62b[_0x21996e(0x18c)],_0xccb62b);});},this[_0xff99fe(0xd7)]));}[_0x15edac(0xbc)](){return new Promise(_0x5df0b8=>{const _0x12e60a=_0xe7e4;this['on'](_0x12e60a(0x9f),()=>{_0x5df0b8();});});}async[_0x15edac(0xa5)](){const _0x524c94=_0x15edac,_0x341b4b=this[_0x524c94(0x16b)][_0x524c94(0x15e)][_0x524c94(0x145)](_0x15bec4);if(this[_0x524c94(0xea)]()&&(_0x341b4b[_0x524c94(0x17a)](),this[_0x524c94(0xf2)]=!0x1),!this[_0x524c94(0xc1)]())return!0x0;const _0x53d833=[...this[_0x524c94(0x144)]];for(const _0x3984f5 of _0x53d833)_0x3984f5[_0x524c94(0x10f)]=this[_0x524c94(0x13b)][_0x524c94(0xc0)][_0x524c94(0x141)](_0x3984f5);const _0x3f722a=this[_0x524c94(0xe6)][_0x524c94(0x12a)](_0x53d833),_0x11040d=M++,_0x25ade7=this[_0x524c94(0x17b)](_0x53d833),_0x1ab32c=await this[_0x524c94(0xc5)][_0x524c94(0xce)](_0x25ade7,_0x25ade7[_0x524c94(0x119)],_0x3f722a);try{return await this[_0x524c94(0x193)](_0x53d833,_0x1ab32c,_0x11040d);}catch(_0x272cf1){return this[_0x524c94(0xd5)](_0x524c94(0xca),_0x272cf1);}}async[_0x15edac(0x193)](_0x169159,_0x1f8d06,_0x4f481c){const _0x3449d5=_0x15edac;if(_0x3449d5(0xb4)in _0x1f8d06)throw _0x1f8d06[_0x3449d5(0xb4)];let _0x4f73be=!0x1;if(_0x1f8d06[_0x3449d5(0x11e)]){_0x1f8d06[_0x3449d5(0x11b)]&&(this[_0x3449d5(0x112)]=_0x1f8d06[_0x3449d5(0x11b)]),this[_0x3449d5(0x144)]=this[_0x3449d5(0x144)][_0x3449d5(0x176)](_0xe569a0=>!_0x169159[_0x3449d5(0xa4)](_0xe569a0));for(const _0x3a3437 of _0x169159)_0x3a3437[_0x3449d5(0x109)]=_0x3449d5(0xed)in _0x1f8d06&&_0x1f8d06[_0x3449d5(0xed)]||void 0x0;H(_0x169159,_0x1f8d06[_0x3449d5(0xa6)]-_0x169159[_0x3449d5(0xf0)]),this[_0x3449d5(0xaa)](_0x169159);const _0xef095=_0x169159[_0x3449d5(0x176)](_0x102d4e=>{const _0x1c9878=_0x3449d5;if(!_0x102d4e[_0x1c9878(0x156)])return!0x1;const _0x1135de=this[_0x1c9878(0x19a)](_0x102d4e);return _0x1135de&&!this[_0x1c9878(0xeb)][_0x1c9878(0x151)](_0x1135de);});H(_0xef095,this[_0x3449d5(0x13b)][_0x3449d5(0xa6)]),this[_0x3449d5(0x181)](_0xef095),_0x4f73be=!0x0,this[_0x3449d5(0xd7)]=this[_0x3449d5(0x101)];}else{const _0x4ee8dd=this[_0x3449d5(0x158)](_0x1f8d06[_0x3449d5(0x19b)],_0x1f8d06[_0x3449d5(0x188)])[_0x3449d5(0x176)](_0x3385b9=>_0x3385b9[_0x3449d5(0x119)]>=this[_0x3449d5(0x19c)]);_0x4ee8dd[_0x3449d5(0xb1)](_0x264088=>this[_0x3449d5(0x146)](_0x264088)),this[_0x3449d5(0x144)]=this[_0x3449d5(0x144)][_0x3449d5(0x176)](_0x3e6a89=>!_0x3e6a89[_0x3449d5(0x156)]||!this[_0x3449d5(0xeb)][_0x3449d5(0x151)](this[_0x3449d5(0x19a)](_0x3e6a89))),this[_0x3449d5(0x144)][_0x3449d5(0xf0)]&&H(this[_0x3449d5(0x144)],this[_0x3449d5(0x144)][0x0][_0x3449d5(0x119)]),await this[_0x3449d5(0x180)](_0x4ee8dd),_0x4f73be=this[_0x3449d5(0x194)](_0x4ee8dd,_0x1f8d06[_0x3449d5(0xa6)],_0x1f8d06[_0x3449d5(0x11b)]),this[_0x3449d5(0xd7)]=Math[_0x3449d5(0xba)](this[_0x3449d5(0xd7)]/0x2);}return _0x4f73be?!this[_0x3449d5(0xc1)]()||(this[_0x3449d5(0xf1)](!0x0),!0x1):this[_0x3449d5(0xd5)](_0x3449d5(0xc9));}[_0x15edac(0x194)](_0x2e1e97,_0x3a9f85,_0x4d2114){const _0x36e015=_0x15edac;try{const _0x7f29cd={'document':this[_0x36e015(0x13b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2ecdfc,operationsB:_0x484017,originalOperations:_0x2227cf}=_0x18b2ab(_0x2e1e97,this[_0x36e015(0x144)],_0x7f29cd);H(_0x2ecdfc,this[_0x36e015(0x13b)][_0x36e015(0xa6)]),H(_0x484017,_0x3a9f85);for(const _0x94a3d5 of _0x2ecdfc){const _0x3b41a5=_0x2227cf[_0x36e015(0x145)](_0x94a3d5);_0x94a3d5[_0x36e015(0x167)]=_0x3b41a5?_0x3b41a5[_0x36e015(0x167)]:null;}_0x4d2114&&(this[_0x36e015(0xe6)][_0x36e015(0x187)](_0x2e1e97,_0x4d2114),this[_0x36e015(0x112)]=_0x4d2114),this[_0x36e015(0x144)]=[..._0x484017],this[_0x36e015(0x181)](_0x2ecdfc),this[_0x36e015(0xaa)](_0x2e1e97);}catch(_0x375b61){return console[_0x36e015(0xb4)](_0x375b61),!0x1;}return!0x0;}[_0x15edac(0x181)](_0x41d3bf,_0x372166=!0x1){const _0x160af1=_0x15edac;this[_0x160af1(0x16b)][_0x160af1(0xe7)][_0x160af1(0x18a)]({'isUndoable':!0x1,'isLocal':!0x1},_0xa264fe=>{const _0x35e226=_0x160af1;for(const _0x39d2b5 of _0x41d3bf)this[_0x35e226(0x128)][_0x35e226(0x162)](_0x39d2b5),this[_0x35e226(0x146)](_0x39d2b5),_0xa264fe[_0x35e226(0xef)][_0x35e226(0xc2)](_0x39d2b5),this[_0x35e226(0x16b)][_0x35e226(0xe7)][_0x35e226(0x12f)](_0x39d2b5);});}[_0x15edac(0x146)](_0x4717d1){const _0xfc75c2=_0x15edac,_0xb3c981=this[_0xfc75c2(0x19a)](_0x4717d1);_0xb3c981&&this[_0xfc75c2(0xeb)][_0xfc75c2(0x162)](_0xb3c981);}[_0x15edac(0x19a)](_0x1d9e21){const _0x346b72=_0x15edac;let _0xb07c60,_0x219601;switch(_0x1d9e21[_0x346b72(0x99)]){case _0x346b72(0xb6):_0xb07c60=_0x1d9e21[_0x346b72(0x10e)][_0x346b72(0x186)];break;case _0x346b72(0x12c):if(_0x219601=_0x1d9e21[_0x346b72(0xaf)],!_0x219601)return null;_0xb07c60=_0x219601[_0x346b72(0x186)];break;case _0x346b72(0x129):_0xb07c60=_0x1d9e21[_0x346b72(0x186)];break;case _0x346b72(0x105):_0xb07c60=_0x1d9e21[_0x346b72(0x182)];break;case _0x346b72(0x18f):_0xb07c60=_0x1d9e21[_0x346b72(0xb3)][_0x346b72(0x186)];break;default:return null;}return _0xb07c60[_0x346b72(0xda)];}[_0x15edac(0xaa)](_0x4be0c3){const _0x4556cf=_0x15edac;_0x4be0c3[_0x4556cf(0xb1)](_0xd78a00=>{const _0x1d07f8=_0x4556cf,_0x56adf0=_0xd78a00[_0x1d07f8(0x102)]();_0x56adf0[_0x1d07f8(0x167)]=_0xd78a00[_0x1d07f8(0x167)],_0x56adf0[_0x1d07f8(0x156)]=!!_0xd78a00[_0x1d07f8(0x156)],_0x56adf0[_0x1d07f8(0x109)]=_0xd78a00[_0x1d07f8(0x109)],_0x56adf0[_0x1d07f8(0x119)]+=this[_0x1d07f8(0x168)],_0xd78a00[_0x1d07f8(0x164)]&&this[_0x1d07f8(0xe5)][_0x1d07f8(0x162)](_0x56adf0),this[_0x1d07f8(0xb7)][_0x1d07f8(0xc2)](_0x56adf0);});}[_0x15edac(0xd8)](_0x3a1d3c){const _0x3acfa1=_0x15edac,_0x2cc018=this[_0x3acfa1(0x16b)][_0x3acfa1(0x15e)][_0x3acfa1(0x145)](_0x3acfa1(0xe1)),_0x4e837f=this[_0x3acfa1(0x16b)][_0x3acfa1(0x107)];_0x3a1d3c||(_0x3a1d3c=_0xb5119(_0x4e837f,_0x3acfa1(0xf9))),_0x2cc018[_0x3acfa1(0x161)](_0x3a1d3c,{'title':_0xb5119(_0x4e837f,_0x3acfa1(0x16d)),'namespace':_0x3acfa1(0xa8)}),this[_0x3acfa1(0x174)]=!0x0,clearTimeout(this[_0x3acfa1(0x199)]),this[_0x3acfa1(0x144)]=[],this[_0x3acfa1(0x16b)][_0x3acfa1(0x15e)][_0x3acfa1(0x145)](_0x358068)[_0x3acfa1(0x103)]();}[_0x15edac(0xe0)](){const _0xafbaad=_0x15edac;this[_0xafbaad(0x18d)]||(this[_0xafbaad(0x18d)]=this[_0xafbaad(0x16b)][_0xafbaad(0x15e)][_0xafbaad(0x145)](_0x5385fe)[_0xafbaad(0x162)](_0xb5119(this[_0xafbaad(0x16b)][_0xafbaad(0x107)],_0xafbaad(0x14e))));}[_0x15edac(0xf8)](){const _0x5ed9be=_0x15edac;this[_0x5ed9be(0x18d)]&&(this[_0x5ed9be(0x16b)][_0x5ed9be(0x15e)][_0x5ed9be(0x145)](_0x5385fe)[_0x5ed9be(0x10a)](this[_0x5ed9be(0x18d)]),this[_0x5ed9be(0x18d)]=null);}[_0x15edac(0x17b)](_0x4a644e){const _0x50450b=_0x15edac,_0xa365c0=_0x4a644e[_0x50450b(0xf7)](_0x4855ba=>_0x4855ba[_0x50450b(0xdd)]());return this[_0x50450b(0x117)][_0x50450b(0x10b)](_0xa365c0);}[_0x15edac(0x158)](_0x15d115,_0x4e025e){const _0x1dac81=_0x15edac;return this[_0x1dac81(0x117)][_0x1dac81(0x143)](_0x15d115)[_0x1dac81(0xf7)]((_0x39591a,_0x6129a3)=>{const _0x47090f=_0x1dac81,_0x1fcd1d=_0x47090f(0x13e)==_0x4e025e[_0x6129a3][_0x47090f(0x99)];if(_0x47090f(0x165)==_0x39591a[_0x47090f(0x11c)]){const _0x444af5=_0x39591a[_0x47090f(0x10e)][_0x47090f(0x186)];!this[_0x47090f(0x13b)][_0x47090f(0xb9)](_0x444af5)&&(this[_0x47090f(0x13b)][_0x47090f(0x190)](_0x47090f(0x178),_0x444af5)[_0x47090f(0xd2)]=!0x1);}const _0x4f603d=_0x2bd410[_0x47090f(0xec)](_0x39591a,this[_0x47090f(0x13b)]);return _0x4f603d[_0x47090f(0x10f)]=_0x39591a[_0x47090f(0x10f)],_0x4f603d[_0x47090f(0x156)]=_0x1fcd1d,_0x4f603d[_0x47090f(0x167)]=_0x1fcd1d?null:_0x4e025e[_0x6129a3][_0x47090f(0x13f)],_0x4f603d[_0x47090f(0x164)]=_0x47090f(0xcb)===_0x4e025e[_0x6129a3][_0x47090f(0x99)],_0x4f603d[_0x47090f(0x109)]=_0x4e025e[_0x6129a3][_0x47090f(0x109)],_0x4f603d;});}[_0x15edac(0x192)](){const _0x409037=_0x15edac;this[_0x409037(0xf2)]=!0x0,this[_0x409037(0xea)]()?this[_0x409037(0xf1)]():this[_0x409037(0xf2)]=!0x1;}[_0x15edac(0xea)](){const _0x167b4d=_0x15edac,_0x10cf72=this[_0x167b4d(0x16b)][_0x167b4d(0x15e)][_0x167b4d(0x145)](_0x86a740)[_0x167b4d(0x17d)][_0x167b4d(0x145)](this[_0x167b4d(0x9b)]);return!this[_0x167b4d(0x16b)][_0x167b4d(0xc8)]&&!!_0x10cf72&&_0x10cf72[_0x167b4d(0xf0)]>0x1&&this[_0x167b4d(0xf2)];}[_0x15edac(0xc1)](){const _0x5ea8d0=_0x15edac;return this[_0x5ea8d0(0x144)][_0x5ea8d0(0xf0)]>0x0||this[_0x5ea8d0(0xea)]();}}export default l;class z extends Error{}function H(_0x4c911c,_0x40e854){const _0x282899=_0x15edac;for(const _0x286227 of _0x4c911c)_0x286227[_0x282899(0x119)]=_0x40e854++;}function _0xe7e4(_0x148723,_0x436c72){const _0x576e55=_0x576e();return _0xe7e4=function(_0xe7e47f,_0x113bb4){_0xe7e47f=_0xe7e47f-0x97;let _0x161f7d=_0x576e55[_0xe7e47f];return _0x161f7d;},_0xe7e4(_0x148723,_0x436c72);}class V{[_0x15edac(0x150)];[_0x15edac(0xcc)];constructor(_0x3ad10b){const _0x516d69=_0x15edac;this[_0x516d69(0x150)]=_0x3ad10b,this[_0x516d69(0xcc)]=new WeakMap();}[_0x15edac(0x12a)](_0x1800f6){const _0x4707c8=_0x15edac;let _0x57ee02=_0x1800f6[_0x4707c8(0xf0)];for(;_0x57ee02--;){const _0x31f469=_0x1800f6[_0x57ee02];if(!this[_0x4707c8(0x150)][_0x4707c8(0x151)](_0x31f469)){if(!this[_0x4707c8(0xcc)][_0x4707c8(0x151)](_0x31f469)){const _0x5c5014=_0x4daf72()[_0x4707c8(0x171)](0x1,0x12);this[_0x4707c8(0xcc)][_0x4707c8(0x106)](_0x31f469,_0x5c5014);}return this[_0x4707c8(0xcc)][_0x4707c8(0x145)](_0x31f469);}}}[_0x15edac(0x187)](_0x25c7bd,_0x3df09){const _0x33bb22=_0x15edac;if(!_0x3df09)return;let _0x26213f=_0x25c7bd[_0x33bb22(0xf0)];for(;_0x26213f--;){const _0x4a7e3a=_0x25c7bd[_0x26213f];this[_0x33bb22(0x150)][_0x33bb22(0x151)](_0x4a7e3a)||this[_0x33bb22(0xcc)][_0x33bb22(0x106)](_0x4a7e3a,_0x3df09);}}}
|
|
23
|
+
const _0x57cebd=_0x1b7c;(function(_0x2c363d,_0x46952b){const _0x41035f=_0x1b7c,_0x531a44=_0x2c363d();while(!![]){try{const _0x29d8e4=parseInt(_0x41035f(0x12d))/0x1+-parseInt(_0x41035f(0xf6))/0x2+parseInt(_0x41035f(0x104))/0x3+-parseInt(_0x41035f(0xfa))/0x4*(-parseInt(_0x41035f(0x194))/0x5)+parseInt(_0x41035f(0x128))/0x6+-parseInt(_0x41035f(0x1dc))/0x7*(-parseInt(_0x41035f(0x1a5))/0x8)+-parseInt(_0x41035f(0x1a0))/0x9;if(_0x29d8e4===_0x46952b)break;else _0x531a44['push'](_0x531a44['shift']());}catch(_0x1ca3dc){_0x531a44['push'](_0x531a44['shift']());}}}(_0x3229,0x3526b));function _0x1b7c(_0xf3e5c1,_0x491719){const _0x3229d3=_0x3229();return _0x1b7c=function(_0x1b7ca5,_0x474d39){_0x1b7ca5=_0x1b7ca5-0xf0;let _0x233484=_0x3229d3[_0x1b7ca5];return _0x233484;},_0x1b7c(_0xf3e5c1,_0x491719);}import{Plugin as _0x3635cf,PendingActions as _0x5ad208}from'ckeditor5/src/core.js';import{CKEditorError as _0x18ec78,version as _0x58aa70,uid as _0x29d06f}from'ckeditor5/src/utils.js';import{Notification as _0x4f14ca}from'ckeditor5/src/ui.js';import{transformSets as _0x1207c2,NoOperation as _0x120c7e,InsertOperation as _0x545123,MarkerOperation as _0x4da4a0,RootAttributeOperation as _0x132394,OperationFactory as _0x26ea2a,History as _0x420b0c}from'ckeditor5/src/engine.js';import _0x51ed3d from'./websocketgateway.js';import _0x1bfd62 from'./sessions.js';import _0x2644c2 from'./usermarkers.js';import{getTranslation as _0x504f72}from'../common-translations.js';function _0x3229(){const _0x5aa2a9=['finally','rtc-offline','high','_isConnected','_knownRootNames','insert','sendOperations','affectsData','isReadOnly','_shouldSendSelectionUpdate','1383738rBoxDP','rootName','realtimecollaborationclient-init-service-internal-error','toJSON','real-time-collaboration','303943pWrjnZ','_operationToId','fromJSON','listenTo','slice','realtimecollaborationclient-init-document-already-initialized','setPermissions','wasUndone','map','targetPosition','_hasSelectionChanged','collaboration-missing-channelid','permissions','selection','Permissions','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.','disconnected','start','InsertOperation','_clearPendingAction','_setPendingAction','_getOperationsFromInitData','_pendingAction','CollaborativeEditingService','_addKnownRoot','$root','history','baseVersion','batch','_saveOperationInBuffer','createRange','getIdOfTheLastOperation','_handleServerResponse','_knownOperations','multi-root-editor-root-attributes-no-root','_ignoredOperations','_shouldSendUpdate','realtimecollaborationclient-init-non-existent-root','getConnectedSessions','size','_setUpDataInit','_handleExternalOperations','round','_updateServerHistory','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','addUser','model','destroy','end','createPositionFromPath','position','_service','createRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createUserMarkerOperations','type','collaboration','_authorId','realtimecollaborationclient-handleserverresponse','CommentsOnly','lastOperationId','_channelId','then','decompress','length','enableReadOnlyMode','_handleInitialConnectionData','_compressOperations','reconnection:\x20flushed\x20session','data','isUndoneOperation','change:range','return','lastOperationAcceptedAt','_currentBufferDelay','_isInit','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_crash','lastDocumentSession','reconnect','realtimecollaborationclient','from','_offset','filter','document','_handleReceivedOperations','differ','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.','showWarning','register','rtc-destroyed','keys','PENDING_ACTION_SENDING_DATA','_sendBufferedOperationsDelayId','cloud-services-internal-error:\x20Request\x20timeout.','rootsAttributes','push','code','_bufferedOperations','_operationIdentifier','currentDocumentSession','markers','_document','160WeYSsD','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initSessionsHandling','marker','cloudDocumentVersion','editor','change:_isEditingAllowed','_isEditingAllowed','_handleReconnectionResponse','getMany','userId','__className','8278002mgJLVp','realtimecollaborationclient-sendbufferedoperations','_hasSynchronizationProblem','wereChangesApplied','sessionAdd:','200mBuXVm','_connectService','get','connection','_lastServerVersion','parse','addRoot','isPremiumPlugin','state','realtimecollaborationclient-init-connection-failed','operationsReceived','_disconnectionOperations','catch','disableReadOnlyMode','suppressErrorInCollaboration','string','loadRoot','isEnabled','version','_handleReconnectionError','move','remove','getUser','cs:removeUser','_handleSendingSelectionMarkers','setIdForTheLastOperation','startsWith','getRoot','RealTimeCollaborationClient','init','directChange','getOperations','_decompressOperations','Notification','_initThrowingOnDataSet','set','collaboration.channelId','_isLoaded','attributes','metadata','removeFromReconnectionStack','entries','roots','off','channelSessions','fire','unregister','forEach','includes','initData','enqueueChange','_refreshUserSelectionMarkers','change:hasDomSelection','offset','_disconnectService','54005QbaeXA','_isDisconnection','Synchronization\x20issue','root','config','_fetchMissingUsers','define','apply','applyOperation','sessionId','editing','_compressor','_isPendingUpdate','409','serverHistory','requires','locale','_baseBufferDelay','bind','addRootAttribute','compress','newRange','view','sessionCreatedAt','has','realtimecollaborationclient-init-session-connection-error','getDocumentDetails','_isAttached','reset','stopListening','addToReconnectionStack','174822RjrBII','pluginName','_sendBufferedOperationsDelayed','connect','36192mbwEGR','_lastSyncedOperationId','lastSyncVersion','realtimecollaborationclient-init-service-incorrect-server-operation','_applyOperationsSet','affectedSelectable','createPositionAt','_getAffectedRoot','_loadRoot','_sendBufferedOperations','623757Ttmjyp','addOperation','add','404','isOfficialPlugin','ready','message','mySessionId','_connectAfterSessionHasBeenFlushed','isDocumentOperation','cloud-services-internal-error:\x20Not\x20connected.','error','getOperationAuthor','plugins','clone','_bufferRootLoad','_waitUntilSynced','createdAt','path','stop','disconnect','cloudServices.bundleVersion','document:write','connected','change:_isPendingUpdate','realtimecollaborationclient-error'];_0x3229=function(){return _0x5aa2a9;};return _0x3229();}import{Compressor as _0x4d94e0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1a54fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x51b9d1,CollaborativeEditingService as _0x320d94}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x3635cf{static [_0x57cebd(0x144)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x320d94)());[_0x57cebd(0x17f)];[_0x57cebd(0x1e5)];[_0x57cebd(0x1ea)];[_0x57cebd(0x16a)];[_0x57cebd(0x160)];[_0x57cebd(0x193)];[_0x57cebd(0x1e7)];[_0x57cebd(0x18f)];[_0x57cebd(0x14e)];[_0x57cebd(0x122)];[_0x57cebd(0x143)];[_0x57cebd(0x137)];[_0x57cebd(0x18a)];[_0x57cebd(0x1ed)];[_0x57cebd(0x177)];[_0x57cebd(0xfb)];[_0x57cebd(0x1b0)];[_0x57cebd(0x190)];static get[_0x57cebd(0x1eb)](){return[_0x51ed3d,_0x1bfd62,_0x2644c2,_0x5ad208,_0x1a54fd,_0x4f14ca];}static get[_0x57cebd(0xf7)](){const _0x26adff=_0x57cebd;return _0x26adff(0x1c1);}static get[_0x57cebd(0x108)](){return!0x0;}static get[_0x57cebd(0x1ac)](){return!0x0;}get[_0x57cebd(0x198)](){const _0x34ec4c=_0x57cebd;return this[_0x34ec4c(0x1a9)]+this[_0x34ec4c(0x17f)];}get[_0x57cebd(0x1a9)](){const _0x2ce685=_0x57cebd;return this[_0x2ce685(0x1ea)][_0x2ce685(0x1b7)]-this[_0x2ce685(0x17f)];}get[_0x57cebd(0xfc)](){const _0x134373=_0x57cebd,_0x129fc9=this[_0x134373(0x1ea)][_0x134373(0x1c4)]();for(let _0xff1a45=_0x129fc9[_0x134373(0x16d)]-0x1;_0xff1a45>=0x0;_0xff1a45--){const _0x55290c=_0x129fc9[_0xff1a45];if(!this[_0x134373(0x1b0)][_0x134373(0x1f4)](_0x55290c))return _0x55290c[_0x134373(0x148)]+0x1-this[_0x134373(0x17f)];}return 0x0;}constructor(_0xf9d5ac){const _0x5af111=_0x57cebd;if(super(_0xf9d5ac),this[_0x5af111(0x17f)]=0x0,this[_0x5af111(0x1e5)]=null,this[_0x5af111(0x1ea)]=new _0x420b0c(),this[_0x5af111(0x199)][_0x5af111(0x1e0)][_0x5af111(0x1e2)](_0x5af111(0x165),{}),this[_0x5af111(0x16a)]=this[_0x5af111(0x199)][_0x5af111(0x1e0)][_0x5af111(0x1a7)](_0x5af111(0x1c9)),!this[_0x5af111(0x16a)])throw new _0x18ec78(_0x5af111(0x138),this);const _0x27d703=_0xf9d5ac[_0x5af111(0x1e0)][_0x5af111(0x1a7)](_0x5af111(0x119))||_0x58aa70;this[_0x5af111(0x160)]=new l[(_0x5af111(0x144))](_0x27d703,this[_0x5af111(0x16a)]),this[_0x5af111(0x193)]=this[_0x5af111(0x199)][_0x5af111(0x15b)][_0x5af111(0x181)],this[_0x5af111(0x1e7)]=new _0x4d94e0(),this[_0x5af111(0x18f)]=[],this[_0x5af111(0x14e)]=new WeakSet(),this[_0x5af111(0x122)]=new Set(),this[_0x5af111(0x1c8)](_0x5af111(0x1e8),!0x1),this[_0x5af111(0x1c8)](_0x5af111(0x1a2),!0x1),this[_0x5af111(0x143)]=null,this[_0x5af111(0x137)]=!0x1,this[_0x5af111(0x18a)]=null,this[_0x5af111(0x1ed)]=0x12c,this[_0x5af111(0x177)]=this[_0x5af111(0x1ed)],this[_0x5af111(0xfb)]=null,this[_0x5af111(0x1b0)]=new WeakSet(),this[_0x5af111(0x190)]=new Y(this[_0x5af111(0x1b0)]);}[_0x57cebd(0x1c2)](){const _0x42d02d=_0x57cebd,_0x4a2b99=this[_0x42d02d(0x199)],_0x188ef8=_0x4a2b99[_0x42d02d(0x111)][_0x42d02d(0x1a7)](_0x1a54fd),_0x15eca2=_0x4a2b99[_0x42d02d(0x111)][_0x42d02d(0x1a7)](_0x51ed3d);this[_0x42d02d(0x130)](_0x188ef8,_0x42d02d(0x110),(_0x5a3153,_0x5113f4)=>{const _0x2a0fcb=_0x42d02d,_0xadc2e1=_0x5113f4[0x0];_0xadc2e1[_0x2a0fcb(0x166)]&&(_0x5a3153[_0x2a0fcb(0x175)]=_0x188ef8[_0x2a0fcb(0x1bb)](_0xadc2e1[_0x2a0fcb(0x166)]),_0x5a3153[_0x2a0fcb(0x117)]()),null===_0xadc2e1[_0x2a0fcb(0x166)]&&(_0x5a3153[_0x2a0fcb(0x175)]=null,_0x5a3153[_0x2a0fcb(0x117)]());},{'priority':_0x42d02d(0x120)}),this[_0x42d02d(0x130)](_0x4a2b99[_0x42d02d(0x15b)][_0x42d02d(0x181)][_0x42d02d(0x13a)],_0x42d02d(0x174),(_0x247842,_0x53f8d5)=>{const _0x1025bb=_0x42d02d;_0x53f8d5[_0x1025bb(0x1c3)]&&this[_0x1025bb(0x1d8)]();}),this[_0x42d02d(0x130)](_0x4a2b99[_0x42d02d(0x1e6)][_0x42d02d(0x1f2)],_0x42d02d(0x1d9),()=>{const _0x31c27f=_0x42d02d;this[_0x31c27f(0x1d8)]();}),this[_0x42d02d(0x1c7)](),_0x4a2b99[_0x42d02d(0x15b)]['on'](_0x42d02d(0x1e4),(_0x2d0533,_0x55b787)=>{const _0x30e1b9=_0x42d02d,_0x30d5c0=_0x55b787[0x0];_0x30d5c0[_0x30e1b9(0x10d)]&&(this[_0x30e1b9(0x14a)](_0x30d5c0),this[_0x30e1b9(0x151)]()&&this[_0x30e1b9(0xf8)]());}),this[_0x42d02d(0x155)](),this[_0x42d02d(0x1ee)](_0x42d02d(0x19b))['to'](_0x15eca2,_0x42d02d(0x1ad),this,_0x42d02d(0x1a2),(_0x324d65,_0x5a8658)=>_0x42d02d(0x11b)===_0x324d65&&!_0x5a8658),this['on'](_0x42d02d(0x19a),()=>{const _0x1fd72c=_0x42d02d;this[_0x1fd72c(0x19b)]?_0x4a2b99[_0x1fd72c(0x1b2)](_0x1fd72c(0x11f)):_0x4a2b99[_0x1fd72c(0x16e)](_0x1fd72c(0x11f));}),this[_0x42d02d(0x19b)]?_0x4a2b99[_0x42d02d(0x1b2)](_0x42d02d(0x11f)):_0x4a2b99[_0x42d02d(0x16e)](_0x42d02d(0x11f)),this[_0x42d02d(0x1c8)](_0x42d02d(0x121),!0x1);}async[_0x57cebd(0x17c)](){const _0x1ffccf=_0x57cebd,_0xa34153=this[_0x1ffccf(0x199)][_0x1ffccf(0x111)][_0x1ffccf(0x1a7)](_0x1bfd62),_0x8110c4=this[_0x1ffccf(0x199)][_0x1ffccf(0x111)][_0x1ffccf(0x1a7)](_0x51ed3d);try{this[_0x1ffccf(0x1e8)]=!0x0,_0xa34153[_0x1ffccf(0x1d3)](this[_0x1ffccf(0x16a)]);const _0xd136b8=await this[_0x1ffccf(0x160)][_0x1ffccf(0x17c)](_0x8110c4[_0x1ffccf(0x1a8)],this[_0x1ffccf(0xfc)]);await this[_0x1ffccf(0x19c)](_0xd136b8)&&(this[_0x1ffccf(0x1e8)]=!0x1,this[_0x1ffccf(0x140)]());const _0x1c8a51=await this[_0x1ffccf(0x160)][_0x1ffccf(0x153)]();_0xa34153[_0x1ffccf(0x186)](this[_0x1ffccf(0x16a)],_0x1c8a51),this[_0x1ffccf(0x1bd)](),this[_0x1ffccf(0x121)]=!0x0;}catch(_0x3f9367){if(function(_0x2426c6){const _0x23a2bc=_0x1ffccf;return _0x23a2bc(0x107)===_0x2426c6[_0x23a2bc(0x18e)];}(_0x3f9367)&&this[_0x1ffccf(0x1e5)])await this[_0x1ffccf(0x10c)]();else{if(function(_0x131369){const _0x2b865c=_0x1ffccf;return _0x2b865c(0x1e9)===_0x131369[_0x2b865c(0x18e)];}(_0x3f9367)){const _0x55331a=_0x504f72(this[_0x1ffccf(0x199)][_0x1ffccf(0x1ec)],_0x1ffccf(0x162));this[_0x1ffccf(0x1b8)](_0x55331a);}else{if(!(_0x3f9367 instanceof Q))throw _0x3f9367;this[_0x1ffccf(0x1b8)]();}}}}[_0x57cebd(0x15c)](){const _0x5691c7=_0x57cebd,_0x5327b5=this[_0x5691c7(0x199)][_0x5691c7(0x111)][_0x5691c7(0x1a7)](_0x51ed3d),_0x5b73b9=this[_0x5691c7(0x199)][_0x5691c7(0x111)][_0x5691c7(0x1a7)](_0x1bfd62);this[_0x5691c7(0x199)][_0x5691c7(0x16e)](_0x5691c7(0x187)),_0x5b73b9[_0x5691c7(0x1d1)][_0x5691c7(0x1f4)](this[_0x5691c7(0x16a)])&&_0x5b73b9[_0x5691c7(0x1d3)](this[_0x5691c7(0x16a)]),_0x5327b5[_0x5691c7(0x1cd)](this),this[_0x5691c7(0x1db)](),super[_0x5691c7(0x15c)]();}async[_0x57cebd(0x19c)](_0x2d493a){const _0x4fe513=_0x57cebd;if(this[_0x4fe513(0x1e5)]!==_0x2d493a[_0x4fe513(0x1e5)]&&this[_0x4fe513(0xfb)]!==_0x2d493a[_0x4fe513(0x169)])throw new Q();return this[_0x4fe513(0x1e5)]=_0x2d493a[_0x4fe513(0x1e5)],this[_0x4fe513(0x14d)]([],{..._0x2d493a,'wereChangesApplied':!0x1,'data':_0x2d493a[_0x4fe513(0x172)]},_0x4fe513(0x17c));}async[_0x57cebd(0x1a6)](_0x4ed618,_0x4af1fd=!0x1){const _0xe7e835=_0x57cebd,{connection:_0x4d3411}=this[_0xe7e835(0x199)][_0xe7e835(0x111)][_0xe7e835(0x1a7)](_0x51ed3d);l[_0xe7e835(0x144)][_0xe7e835(0x153)](_0x4d3411,this[_0xe7e835(0x16a)])[_0xe7e835(0x16b)](_0x457b95=>this[_0xe7e835(0x196)](_0x457b95))[_0xe7e835(0x1b1)](_0x479b7d=>{const _0x3be3c8=_0xe7e835;this[_0x3be3c8(0x17a)](_0x3be3c8(0xf0),_0x479b7d);}),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x1af),this[_0xe7e835(0x182)][_0xe7e835(0x1ee)](this)),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x10f),(_0x4f182e,_0xa8941f)=>{const _0x485c28=_0xe7e835;this[_0x485c28(0x17a)](_0x485c28(0x12a),_0xa8941f);}),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x13d),()=>{const _0x403a06=_0xe7e835;this[_0x403a06(0x121)]=!0x1;});const _0x5aecc9=this[_0xe7e835(0x190)][_0xe7e835(0x14c)](_0x4ed618);this[_0xe7e835(0x1e8)]=!0x0;const _0x570014=await this[_0xe7e835(0x160)][_0xe7e835(0xf9)](_0x4d3411,this[_0xe7e835(0x170)](_0x4ed618),_0x5aecc9);if(this[_0xe7e835(0x1e5)]=_0x570014[_0xe7e835(0x1e5)],_0x4af1fd){if(!_0x570014[_0xe7e835(0x1a3)])return void this[_0xe7e835(0x1b8)]();this[_0xe7e835(0x1e8)]=!0x1,this[_0xe7e835(0x140)](),this[_0xe7e835(0x1ea)][_0xe7e835(0xf3)](),this[_0xe7e835(0x17f)]=_0x570014[_0xe7e835(0x1da)],this[_0xe7e835(0x1ea)][_0xe7e835(0x1b7)]=this[_0xe7e835(0x17f)],await this[_0xe7e835(0x14d)](_0x4ed618,_0x570014,_0xe7e835(0x171));}else await this[_0xe7e835(0x16f)](_0x570014,_0x4ed618);this[_0xe7e835(0x1bd)](),this[_0xe7e835(0x121)]=!0x0;}[_0x57cebd(0x1bd)](){const _0x25facf=_0x57cebd,_0x1dbabd=this[_0x25facf(0x199)][_0x25facf(0x111)][_0x25facf(0x1a7)](_0x1bfd62),_0x4139dc=this[_0x25facf(0x199)][_0x25facf(0x111)][_0x25facf(0x1a7)](_0x2644c2),_0x46699b=_0x1dbabd[_0x25facf(0x1d1)][_0x25facf(0x1a7)](this[_0x25facf(0x16a)]);_0x46699b&&_0x46699b[_0x25facf(0x16d)]>0x1?_0x4139dc[_0x25facf(0x163)]():this[_0x25facf(0x130)](_0x1dbabd,_0x25facf(0x1a4)+this[_0x25facf(0x16a)],()=>{const _0x57abf8=_0x25facf;0x2===_0x1dbabd[_0x57abf8(0x1d1)][_0x57abf8(0x1a7)](this[_0x57abf8(0x16a)])[_0x57abf8(0x16d)]&&_0x4139dc[_0x57abf8(0x163)]();});}async[_0x57cebd(0x182)](_0x52f23b,_0x16e403,_0x2ed7c3,_0x14f839){const _0x2ddee5=_0x57cebd;if(!this[_0x2ddee5(0x1e8)]&&this[_0x2ddee5(0x193)][_0x2ddee5(0x1b7)]==_0x16e403){const _0x361af7=this[_0x2ddee5(0x1c5)](_0x2ed7c3,_0x14f839);await this[_0x2ddee5(0x1e1)](_0x361af7),this[_0x2ddee5(0x156)](_0x361af7,_0x16e403,_0x2ed7c3[_0x2ddee5(0x169)])||this[_0x2ddee5(0x17a)](_0x2ddee5(0xfd));}}async[_0x57cebd(0x10c)](){const _0xc41b9=_0x57cebd;this[_0xc41b9(0x1db)]();const {locale:_0x1b8993}=this[_0xc41b9(0x199)];let _0x567625;try{_0x567625=await this[_0xc41b9(0x160)][_0xc41b9(0xf1)]();}catch{const _0x2c119c=_0x504f72(_0x1b8993,_0xc41b9(0x195));return void this[_0xc41b9(0x1b8)](_0x2c119c);}const _0x410c87=_0x567625[_0xc41b9(0x191)]||_0x567625[_0xc41b9(0x17b)];if(this[_0xc41b9(0xfb)]===_0x410c87[_0xc41b9(0x169)])await this[_0xc41b9(0x1a6)](this[_0xc41b9(0x199)][_0xc41b9(0x15b)][_0xc41b9(0x181)][_0xc41b9(0x147)][_0xc41b9(0x1c4)](),!0x0);else{const _0x1c6dc0=_0x504f72(_0x1b8993,_0xc41b9(0x184));this[_0xc41b9(0x1b8)](_0x1c6dc0);}}[_0x57cebd(0x1db)](){const _0x4ade62=_0x57cebd;this[_0x4ade62(0x160)][_0x4ade62(0x118)](),this[_0x4ade62(0x18f)]=[],clearTimeout(this[_0x4ade62(0x18a)]),this[_0x4ade62(0xf4)](this[_0x4ade62(0x160)]);}[_0x57cebd(0x196)](_0xed7c19){const _0x11e99e=_0x57cebd,_0x114ec0=this[_0x11e99e(0x199)][_0x11e99e(0x111)][_0x11e99e(0x1a7)](_0x1bfd62);this[_0x11e99e(0x130)](_0x114ec0,_0x11e99e(0x1a4)+this[_0x11e99e(0x16a)],(_0x4ab986,{session:_0x2111a5})=>{const _0x1e20cc=_0x11e99e;if(_0x2111a5['id']===_0x114ec0[_0x1e20cc(0x10b)]){_0x4ab986[_0x1e20cc(0x1d0)]();const _0x31f515=this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1f4)](_0x1e20cc(0x168))&&this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1a7)](_0x1e20cc(0x168));let _0x350062=_0x2111a5[_0x1e20cc(0x139)];_0x31f515&&_0x31f515[_0x1e20cc(0x1b6)]&&(_0x350062=_0x350062[_0x1e20cc(0x180)](_0x22d2e9=>_0x1e20cc(0x11a)!==_0x22d2e9)),this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1a7)](_0x1e20cc(0x13b))[_0x1e20cc(0x133)](_0x350062,this[_0x1e20cc(0x16a)]);}}),_0x114ec0[_0x11e99e(0x186)](this[_0x11e99e(0x16a)],_0xed7c19);}[_0x57cebd(0x1c7)](){const _0xbc3662=_0x57cebd,_0x29c603=this[_0xbc3662(0x199)][_0xbc3662(0x172)][_0xbc3662(0x1c8)];this[_0xbc3662(0x199)][_0xbc3662(0x172)][_0xbc3662(0x1c8)]=(..._0x3b899f)=>{const _0x55a44f=_0xbc3662;if(!_0x3b899f[_0x3b899f[_0x55a44f(0x16d)]-0x1][_0x55a44f(0x1b3)])throw new _0x18ec78(_0x55a44f(0x159),this);_0x29c603[_0x55a44f(0x1e3)](this[_0x55a44f(0x199)][_0x55a44f(0x172)],_0x3b899f);};}[_0x57cebd(0x155)](){const _0x3a0455=_0x57cebd;this[_0x3a0455(0x199)][_0x3a0455(0x172)]['on'](_0x3a0455(0x1c2),(_0x3df9e0,[_0x2fdf0d])=>{const _0x3973d1=_0x3a0455;if(this[_0x3973d1(0x193)][_0x3973d1(0x1b7)])throw new _0x18ec78(_0x3973d1(0x132),this);_0x3df9e0[_0x3973d1(0x117)](),this[_0x3973d1(0x141)]();const _0x42466f=this[_0x3973d1(0x199)][_0x3973d1(0x1e0)][_0x3973d1(0x1a7)](_0x3973d1(0x18c)),_0x4db22a=this[_0x3973d1(0x142)](_0x2fdf0d,_0x42466f);0x0==_0x4db22a[_0x3973d1(0x16d)]&&_0x4db22a[_0x3973d1(0x18d)](new _0x120c7e(0x0)),_0x3df9e0[_0x3973d1(0x175)]=this[_0x3973d1(0x1a6)](_0x4db22a)[_0x3973d1(0x16b)](()=>{const _0x4cc3c5=_0x3973d1;this[_0x4cc3c5(0x199)][_0x4cc3c5(0x111)][_0x4cc3c5(0x1a7)](_0x51ed3d)[_0x4cc3c5(0xf5)](this),this[_0x4cc3c5(0x199)][_0x4cc3c5(0x172)][_0x4cc3c5(0x1d2)](_0x4cc3c5(0x109));})[_0x3973d1(0x1b1)](_0x1f6e16=>this[_0x3973d1(0x17a)](_0x3973d1(0x1ae),_0x1f6e16))[_0x3973d1(0x11e)](()=>this[_0x3973d1(0x140)]());},{'priority':_0x3a0455(0x120)}),this[_0x3a0455(0x199)]['on'](_0x3a0455(0x1b5),async(_0x3ffd33,[_0x216e82,_0x419190])=>{const _0x37a697=_0x3a0455;_0x3ffd33[_0x37a697(0x117)]();const _0x315fa3=this[_0x37a697(0x199)][_0x37a697(0x15b)][_0x37a697(0x181)][_0x37a697(0x1c0)](_0x216e82);if(!this[_0x37a697(0x122)][_0x37a697(0x1f4)](_0x216e82)){const _0x3f36f6=_0x419190&&_0x419190[_0x37a697(0x172)]?_0x419190[_0x37a697(0x172)]:'',_0x3a5a08=_0x419190&&_0x419190[_0x37a697(0x1cb)]?_0x419190[_0x37a697(0x1cb)]:{};await this[_0x37a697(0x102)](_0x216e82,_0x3f36f6,_0x3a5a08);}this[_0x37a697(0x199)][_0x37a697(0x15b)][_0x37a697(0x1d7)]({'isUndoable':!0x1},()=>{const _0x544e74=_0x37a697;_0x315fa3[_0x544e74(0x1ca)]=!0x0,this[_0x544e74(0x199)][_0x544e74(0x15b)][_0x544e74(0x181)][_0x544e74(0x183)][_0x544e74(0x113)](_0x315fa3);});},{'priority':_0x3a0455(0x120)});}async[_0x57cebd(0x1e1)](_0x1f3569){const _0x1093d5=_0x57cebd,_0x73c0ea=this[_0x1093d5(0x199)][_0x1093d5(0x111)][_0x1093d5(0x1a7)](_0x1a54fd),{connection:_0x1c5bb5}=this[_0x1093d5(0x199)][_0x1093d5(0x111)][_0x1093d5(0x1a7)](_0x51ed3d),_0x222072=new Set();for(const _0x4c7dd7 of _0x1f3569){const _0x9a74d2=_0x4c7dd7[_0x1093d5(0x166)];_0x9a74d2&&!_0x73c0ea[_0x1093d5(0x1bb)](_0x9a74d2)&&_0x222072[_0x1093d5(0x106)](_0x9a74d2);}if(0x0===_0x222072[_0x1093d5(0x154)])return;const _0xfb92ba=await _0x51b9d1[_0x1093d5(0x19d)](_0x1c5bb5,Array[_0x1093d5(0x17e)](_0x222072));for(const _0x3574dc of _0xfb92ba)_0x73c0ea[_0x1093d5(0x1bb)](_0x3574dc['id'])||_0x73c0ea[_0x1093d5(0x15a)](_0x3574dc);}[_0x57cebd(0x142)](_0x5d0c43,_0xb9d8f8={}){const _0x3555cb=_0x57cebd,_0x48378f=this[_0x3555cb(0x199)][_0x3555cb(0x15b)],_0x3e2a4f=[];let _0x562c1c=0x0;const _0x5e7aa0=_0x3555cb(0x1b4)==typeof _0x5d0c43?{'main':_0x5d0c43}:_0x5d0c43;for(const _0x3cc5bb of Object[_0x3555cb(0x188)](_0x5e7aa0)){if(!this[_0x3555cb(0x193)][_0x3555cb(0x1cf)][_0x3555cb(0x1f4)](_0x3cc5bb))throw new _0x18ec78(_0x3555cb(0x152),this);const _0x57bb31=this[_0x3555cb(0x199)][_0x3555cb(0x172)][_0x3555cb(0x1aa)](_0x5e7aa0[_0x3cc5bb]),_0x2e26f5=this[_0x3555cb(0x193)][_0x3555cb(0x1c0)](_0x3cc5bb),_0x3ffb56=new _0x545123(_0x48378f[_0x3555cb(0x100)](_0x2e26f5,0x0),_0x57bb31,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x3ffb56);for(const [_0x3a7a73,_0x5a4651]of _0x57bb31[_0x3555cb(0x192)]){const _0x4b01ad=_0x48378f[_0x3555cb(0x14b)](_0x48378f[_0x3555cb(0x15e)](_0x2e26f5,_0x5a4651[_0x3555cb(0x13e)][_0x3555cb(0x116)][_0x3555cb(0x131)]()),_0x48378f[_0x3555cb(0x15e)](_0x2e26f5,_0x5a4651[_0x3555cb(0x15d)][_0x3555cb(0x116)][_0x3555cb(0x131)]())),_0x3f25c8=new _0x4da4a0(_0x3a7a73,null,_0x4b01ad,_0x48378f[_0x3555cb(0x192)],!0x0,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x3f25c8);}}if(_0xb9d8f8)for(const [_0x370b95,_0x1ccb52]of Object[_0x3555cb(0x1ce)](_0xb9d8f8)){const _0x3c5119=_0x48378f[_0x3555cb(0x181)][_0x3555cb(0x1c0)](_0x370b95);if(!_0x3c5119)throw new _0x18ec78(_0x3555cb(0x14f),null);for(const [_0xd4b596,_0x45986e]of Object[_0x3555cb(0x1ce)](_0x1ccb52))if(null!==_0x45986e){const _0x201e31=new _0x132394(_0x3c5119,_0xd4b596,null,_0x45986e,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x201e31);}}return _0x3e2a4f;}async[_0x57cebd(0x102)](_0x581fc7,_0x159a80,_0x3acf05){const _0x4c747f=_0x57cebd;this[_0x4c747f(0x142)]({[_0x581fc7]:_0x159a80},{[_0x581fc7]:_0x3acf05})[_0x4c747f(0x1d4)]((_0x5610f2,_0xc56342)=>{const _0x545a2c=_0x4c747f;_0x5610f2[_0x545a2c(0x148)]=this[_0x545a2c(0x193)][_0x545a2c(0x1b7)]+_0xc56342,_0x5610f2[_0x545a2c(0x178)]=!0x0,this[_0x545a2c(0x14a)](_0x5610f2);}),this[_0x4c747f(0xf8)](),await this[_0x4c747f(0x114)]();}async[_0x57cebd(0x16f)](_0x437f1a,_0x59933a){const _0xf43631=_0x57cebd;let _0x29e1b5;this[_0xf43631(0x17f)]=_0x437f1a[_0xf43631(0x1da)];const _0x5b788e=_0x437f1a[_0xf43631(0x1a3)]&&!_0x437f1a[_0xf43631(0x1d6)],_0x5219d9=_0x5b788e?0x0:_0x437f1a[_0xf43631(0x172)][_0xf43631(0x148)];if(_0x59933a[_0xf43631(0x1d4)](_0x2a1cf0=>{const _0x1808e7=_0xf43631;_0x2a1cf0[_0x1808e7(0x178)]=!0x0,_0x2a1cf0[_0x1808e7(0x115)]=_0x437f1a[_0x1808e7(0x1f3)],_0x2a1cf0[_0x1808e7(0x166)]=null;}),_0x5b788e)_0x29e1b5=_0x59933a,this[_0xf43631(0xfe)](_0x29e1b5,_0x5b788e);else{if(_0x437f1a[_0xf43631(0x1d6)]){const _0x1bf076=this[_0xf43631(0x142)](_0x437f1a[_0xf43631(0x1d6)]);this[_0xf43631(0x193)][_0xf43631(0x147)][_0xf43631(0x1b7)]=-_0x1bf076[_0xf43631(0x16d)],_0x1bf076[_0xf43631(0x1d4)](_0x4d3a7a=>{const _0x1be58d=_0xf43631;_0x4d3a7a[_0x1be58d(0x148)]-=_0x1bf076[_0x1be58d(0x16d)],_0x4d3a7a[_0x1be58d(0x115)]=_0x437f1a[_0x1be58d(0x1f3)],_0x4d3a7a[_0x1be58d(0x178)]=!0x0,_0x4d3a7a[_0x1be58d(0x166)]=null;}),this[_0xf43631(0xfe)](_0x1bf076,!0x0),this[_0xf43631(0x1ea)][_0xf43631(0x1b7)]=-_0x1bf076[_0xf43631(0x16d)]+this[_0xf43631(0x17f)],this[_0xf43631(0x158)](_0x1bf076);}this[_0xf43631(0x193)][_0xf43631(0x147)][_0xf43631(0x1b7)]=_0x5219d9,_0x29e1b5=this[_0xf43631(0x1c5)](_0x437f1a[_0xf43631(0x172)],_0x437f1a[_0xf43631(0x1cc)]),await this[_0xf43631(0x1e1)](_0x29e1b5),this[_0xf43631(0xfe)](_0x29e1b5,_0x5b788e);}_0x437f1a[_0xf43631(0x169)]&&(this[_0xf43631(0x190)][_0xf43631(0x1be)](_0x29e1b5,_0x437f1a[_0xf43631(0x169)]),this[_0xf43631(0xfb)]=_0x437f1a[_0xf43631(0x169)]),this[_0xf43631(0x1ea)][_0xf43631(0x1b7)]=_0x5219d9+this[_0xf43631(0x17f)],this[_0xf43631(0x158)](_0x29e1b5),_0x59933a[_0xf43631(0x180)](_0x36f19a=>{const _0x2f24ee=_0xf43631,_0x187071=this[_0x2f24ee(0x101)](_0x36f19a);return _0x187071&&!this[_0x2f24ee(0x122)][_0x2f24ee(0x1f4)](_0x187071);})[_0xf43631(0x1d4)]((_0x2ab080,_0x1e35dd)=>{const _0xf12558=_0xf43631;_0x2ab080[_0xf12558(0x148)]=this[_0xf12558(0x193)][_0xf12558(0x1b7)]+_0x1e35dd,this[_0xf12558(0x14a)](_0x2ab080);}),this[_0xf43631(0x151)]()?(this[_0xf43631(0x177)]=0x0,this[_0xf43631(0xf8)](!0x0),await this[_0xf43631(0x114)]()):(this[_0xf43631(0x1e8)]=!0x1,this[_0xf43631(0x140)]());}[_0x57cebd(0x17a)](_0x1ecab9,_0x188219){const _0x5c07b8=_0x57cebd,_0x472784=_0x188219&&_0x188219[_0x5c07b8(0x10a)];if(_0x472784&&_0x472784[_0x5c07b8(0x1bf)](_0x5c07b8(0x17d)))throw _0x188219;const _0x527c38=this[_0x5c07b8(0x199)][_0x5c07b8(0x111)][_0x5c07b8(0x1a7)](_0x51ed3d);throw this[_0x5c07b8(0x1e8)]=!0x0,_0x527c38[_0x5c07b8(0x118)](),this[_0x5c07b8(0x199)][_0x5c07b8(0x16e)](_0x5c07b8(0x11d)),new _0x18ec78(_0x1ecab9,this[_0x5c07b8(0x199)],_0x472784?{'originalError':_0x472784}:void 0x0);}[_0x57cebd(0x14a)](_0x2b0d51){const _0x1013c6=_0x57cebd;this[_0x1013c6(0x14e)][_0x1013c6(0x1f4)](_0x2b0d51)||(this[_0x1013c6(0x14e)][_0x1013c6(0x106)](_0x2b0d51),this[_0x1013c6(0x18f)][_0x1013c6(0x18d)](_0x2b0d51),this[_0x1013c6(0x143)]||_0x1013c6(0x197)==_0x2b0d51[_0x1013c6(0x164)]&&!_0x2b0d51[_0x1013c6(0x125)]||this[_0x1013c6(0x141)]());}[_0x57cebd(0xf8)](_0x4fc09c=!0x1){const _0x42ee75=_0x57cebd;!_0x4fc09c&&this[_0x42ee75(0x1e8)]||(this[_0x42ee75(0x1e8)]=!0x0,clearTimeout(this[_0x42ee75(0x18a)]),this[_0x42ee75(0x18a)]=setTimeout(()=>{const _0x2ff989=_0x42ee75;this[_0x2ff989(0x103)]()[_0x2ff989(0x16b)](_0x3ab685=>{const _0xd66416=_0x2ff989;_0x3ab685&&(this[_0xd66416(0x140)](),this[_0xd66416(0x1e8)]=!0x1);})[_0x2ff989(0x1b1)](_0xb2d515=>{const _0xebf5b5=_0x2ff989;this[_0xebf5b5(0x140)](),this[_0xebf5b5(0x1e8)]=!0x1,function(_0x4578fc){const _0x3ebc39=_0xebf5b5;return _0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x10e))||_0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x179))||_0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x18b));}(_0xb2d515)||this[_0xebf5b5(0x17a)](_0xb2d515[_0xebf5b5(0x10a)],_0xb2d515);});},this[_0x42ee75(0x177)]));}[_0x57cebd(0x114)](){return new Promise(_0x5c2bb9=>{const _0x1e2cd2=_0x1b7c;this['on'](_0x1e2cd2(0x11c),()=>{_0x5c2bb9();});});}async[_0x57cebd(0x103)](){const _0x583180=_0x57cebd,_0x1bd661=this[_0x583180(0x199)][_0x583180(0x111)][_0x583180(0x1a7)](_0x2644c2);if(this[_0x583180(0x127)]()&&(_0x1bd661[_0x583180(0x163)](),this[_0x583180(0x137)]=!0x1),!this[_0x583180(0x151)]())return!0x0;const _0x17f2b7=[...this[_0x583180(0x18f)]];for(const _0x43f766 of _0x17f2b7)_0x43f766[_0x583180(0x134)]=this[_0x583180(0x193)][_0x583180(0x147)][_0x583180(0x173)](_0x43f766);const _0x3ef38d=this[_0x583180(0x190)][_0x583180(0x14c)](_0x17f2b7),_0x48ebad=J++,_0x4ad4f5=this[_0x583180(0x170)](_0x17f2b7),_0x24533=await this[_0x583180(0x160)][_0x583180(0x124)](_0x4ad4f5,_0x4ad4f5[_0x583180(0x148)],_0x3ef38d);try{return await this[_0x583180(0x14d)](_0x17f2b7,_0x24533,_0x48ebad);}catch(_0x29873c){return this[_0x583180(0x17a)](_0x583180(0x1a1),_0x29873c);}}async[_0x57cebd(0x14d)](_0x484edf,_0x5aa596,_0x25d146){const _0x5a4bc2=_0x57cebd;if(_0x5a4bc2(0x10f)in _0x5aa596)throw _0x5aa596[_0x5a4bc2(0x10f)];let _0x7b3839=!0x1;if(_0x5aa596[_0x5a4bc2(0x1a3)]){_0x5aa596[_0x5a4bc2(0x169)]&&(this[_0x5a4bc2(0xfb)]=_0x5aa596[_0x5a4bc2(0x169)]),this[_0x5a4bc2(0x18f)]=this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x180)](_0x50cfbb=>!_0x484edf[_0x5a4bc2(0x1d5)](_0x50cfbb));for(const _0x5d1fde of _0x484edf)_0x5d1fde[_0x5a4bc2(0x115)]=_0x5a4bc2(0x176)in _0x5aa596&&_0x5aa596[_0x5a4bc2(0x176)]||void 0x0;X(_0x484edf,_0x5aa596[_0x5a4bc2(0x1b7)]-_0x484edf[_0x5a4bc2(0x16d)]),this[_0x5a4bc2(0x158)](_0x484edf);const _0xc644f5=_0x484edf[_0x5a4bc2(0x180)](_0x347a5c=>{const _0x2b4934=_0x5a4bc2;if(!_0x347a5c[_0x2b4934(0x178)])return!0x1;const _0x36cbc7=this[_0x2b4934(0x101)](_0x347a5c);return _0x36cbc7&&!this[_0x2b4934(0x122)][_0x2b4934(0x1f4)](_0x36cbc7);});X(_0xc644f5,this[_0x5a4bc2(0x193)][_0x5a4bc2(0x1b7)]),this[_0x5a4bc2(0xfe)](_0xc644f5),_0x7b3839=!0x0,this[_0x5a4bc2(0x177)]=this[_0x5a4bc2(0x1ed)];}else{const _0x32a8c8=this[_0x5a4bc2(0x1c5)](_0x5aa596[_0x5a4bc2(0x172)],_0x5aa596[_0x5a4bc2(0x1cc)])[_0x5a4bc2(0x180)](_0x55c28e=>_0x55c28e[_0x5a4bc2(0x148)]>=this[_0x5a4bc2(0x1a9)]);_0x32a8c8[_0x5a4bc2(0x1d4)](_0x341ff1=>this[_0x5a4bc2(0x145)](_0x341ff1)),this[_0x5a4bc2(0x18f)]=this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x180)](_0x3347cd=>!_0x3347cd[_0x5a4bc2(0x178)]||!this[_0x5a4bc2(0x122)][_0x5a4bc2(0x1f4)](this[_0x5a4bc2(0x101)](_0x3347cd))),this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x16d)]&&X(this[_0x5a4bc2(0x18f)],this[_0x5a4bc2(0x18f)][0x0][_0x5a4bc2(0x148)]),await this[_0x5a4bc2(0x1e1)](_0x32a8c8),_0x7b3839=this[_0x5a4bc2(0x156)](_0x32a8c8,_0x5aa596[_0x5a4bc2(0x1b7)],_0x5aa596[_0x5a4bc2(0x169)]),this[_0x5a4bc2(0x177)]=Math[_0x5a4bc2(0x157)](this[_0x5a4bc2(0x177)]/0x2);}return _0x7b3839?!this[_0x5a4bc2(0x151)]()||(this[_0x5a4bc2(0xf8)](!0x0),!0x1):this[_0x5a4bc2(0x17a)](_0x5a4bc2(0x167));}[_0x57cebd(0x156)](_0x327d63,_0x2fc65a,_0x4fb67f){const _0x399fb4=_0x57cebd;try{const _0x237d4d={'document':this[_0x399fb4(0x193)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x31affb,operationsB:_0x501c66,originalOperations:_0x1d1562}=_0x1207c2(_0x327d63,this[_0x399fb4(0x18f)],_0x237d4d);X(_0x31affb,this[_0x399fb4(0x193)][_0x399fb4(0x1b7)]),X(_0x501c66,_0x2fc65a);for(const _0x42804d of _0x31affb){const _0x409d43=_0x1d1562[_0x399fb4(0x1a7)](_0x42804d);_0x42804d[_0x399fb4(0x166)]=_0x409d43?_0x409d43[_0x399fb4(0x166)]:null;}_0x4fb67f&&(this[_0x399fb4(0x190)][_0x399fb4(0x1be)](_0x327d63,_0x4fb67f),this[_0x399fb4(0xfb)]=_0x4fb67f),this[_0x399fb4(0x18f)]=[..._0x501c66],this[_0x399fb4(0xfe)](_0x31affb),this[_0x399fb4(0x158)](_0x327d63);}catch(_0x481c49){return console[_0x399fb4(0x10f)](_0x481c49),!0x1;}return!0x0;}[_0x57cebd(0xfe)](_0x2c191f,_0x1186b1=!0x1){const _0x4a77a4=_0x57cebd;this[_0x4a77a4(0x199)][_0x4a77a4(0x15b)][_0x4a77a4(0x1d7)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4103ef=>{const _0x2e27e0=_0x4a77a4;for(const _0x5d8d66 of _0x2c191f)this[_0x2e27e0(0x14e)][_0x2e27e0(0x106)](_0x5d8d66),this[_0x2e27e0(0x145)](_0x5d8d66),_0x4103ef[_0x2e27e0(0x149)][_0x2e27e0(0x105)](_0x5d8d66),this[_0x2e27e0(0x199)][_0x2e27e0(0x15b)][_0x2e27e0(0x1e4)](_0x5d8d66);});}[_0x57cebd(0x145)](_0x613cfe){const _0x361b1e=_0x57cebd,_0x229150=this[_0x361b1e(0x101)](_0x613cfe);_0x229150&&this[_0x361b1e(0x122)][_0x361b1e(0x106)](_0x229150);}[_0x57cebd(0x101)](_0x68650d){const _0x4fb67c=_0x57cebd;let _0x2de1cf,_0x51eaad;switch(_0x68650d[_0x4fb67c(0x164)]){case _0x4fb67c(0x123):_0x2de1cf=_0x68650d[_0x4fb67c(0x15f)][_0x4fb67c(0x1df)];break;case _0x4fb67c(0x197):if(_0x51eaad=_0x68650d[_0x4fb67c(0x1f1)],!_0x51eaad)return null;_0x2de1cf=_0x51eaad[_0x4fb67c(0x1df)];break;case _0x4fb67c(0x1ef):_0x2de1cf=_0x68650d[_0x4fb67c(0x1df)];break;case _0x4fb67c(0x1ab):_0x2de1cf=_0x68650d[_0x4fb67c(0xff)];break;case _0x4fb67c(0x1b9):_0x2de1cf=_0x68650d[_0x4fb67c(0x136)][_0x4fb67c(0x1df)];break;default:return null;}return _0x2de1cf[_0x4fb67c(0x129)];}[_0x57cebd(0x158)](_0x7bd1f6){const _0x231cf0=_0x57cebd;_0x7bd1f6[_0x231cf0(0x1d4)](_0x41590b=>{const _0xbfe8e4=_0x231cf0,_0x4f63e9=_0x41590b[_0xbfe8e4(0x112)]();_0x4f63e9[_0xbfe8e4(0x166)]=_0x41590b[_0xbfe8e4(0x166)],_0x4f63e9[_0xbfe8e4(0x178)]=!!_0x41590b[_0xbfe8e4(0x178)],_0x4f63e9[_0xbfe8e4(0x115)]=_0x41590b[_0xbfe8e4(0x115)],_0x4f63e9[_0xbfe8e4(0x148)]+=this[_0xbfe8e4(0x17f)],_0x41590b[_0xbfe8e4(0x1dd)]&&this[_0xbfe8e4(0x1b0)][_0xbfe8e4(0x106)](_0x4f63e9),this[_0xbfe8e4(0x1ea)][_0xbfe8e4(0x105)](_0x4f63e9);});}[_0x57cebd(0x1b8)](_0x2125d4){const _0x3920c5=_0x57cebd,_0x5be5d4=this[_0x3920c5(0x199)][_0x3920c5(0x111)][_0x3920c5(0x1a7)](_0x3920c5(0x1c6)),_0x15cf33=this[_0x3920c5(0x199)][_0x3920c5(0x1ec)];_0x2125d4||(_0x2125d4=_0x504f72(_0x15cf33,_0x3920c5(0x13c))),_0x5be5d4[_0x3920c5(0x185)](_0x2125d4,{'title':_0x504f72(_0x15cf33,_0x3920c5(0x1de)),'namespace':_0x3920c5(0x12c)}),this[_0x3920c5(0x1a2)]=!0x0,clearTimeout(this[_0x3920c5(0x18a)]),this[_0x3920c5(0x18f)]=[],this[_0x3920c5(0x199)][_0x3920c5(0x111)][_0x3920c5(0x1a7)](_0x51ed3d)[_0x3920c5(0x118)]();}[_0x57cebd(0x141)](){const _0x2bc051=_0x57cebd;this[_0x2bc051(0x143)]||(this[_0x2bc051(0x143)]=this[_0x2bc051(0x199)][_0x2bc051(0x111)][_0x2bc051(0x1a7)](_0x5ad208)[_0x2bc051(0x106)](_0x504f72(this[_0x2bc051(0x199)][_0x2bc051(0x1ec)],_0x2bc051(0x189))));}[_0x57cebd(0x140)](){const _0x17b79b=_0x57cebd;this[_0x17b79b(0x143)]&&(this[_0x17b79b(0x199)][_0x17b79b(0x111)][_0x17b79b(0x1a7)](_0x5ad208)[_0x17b79b(0x1ba)](this[_0x17b79b(0x143)]),this[_0x17b79b(0x143)]=null);}[_0x57cebd(0x170)](_0x244007){const _0x5088c9=_0x57cebd,_0x345225=_0x244007[_0x5088c9(0x135)](_0x189e67=>_0x189e67[_0x5088c9(0x12b)]());return this[_0x5088c9(0x1e7)][_0x5088c9(0x1f0)](_0x345225);}[_0x57cebd(0x1c5)](_0x21a551,_0x3eb3dd){const _0x47f190=_0x57cebd;return this[_0x47f190(0x1e7)][_0x47f190(0x16c)](_0x21a551)[_0x47f190(0x135)]((_0x28e5ed,_0x6621a7)=>{const _0x30b8ef=_0x47f190,_0x4edfa7=_0x30b8ef(0x1c2)==_0x3eb3dd[_0x6621a7][_0x30b8ef(0x164)];if(_0x30b8ef(0x13f)==_0x28e5ed[_0x30b8ef(0x19f)]){const _0x48883b=_0x28e5ed[_0x30b8ef(0x15f)][_0x30b8ef(0x1df)];!this[_0x30b8ef(0x193)][_0x30b8ef(0x1c0)](_0x48883b)&&(this[_0x30b8ef(0x193)][_0x30b8ef(0x161)](_0x30b8ef(0x146),_0x48883b)[_0x30b8ef(0xf2)]=!0x1);}const _0x294bc2=_0x26ea2a[_0x30b8ef(0x12f)](_0x28e5ed,this[_0x30b8ef(0x193)]);return _0x294bc2[_0x30b8ef(0x134)]=_0x28e5ed[_0x30b8ef(0x134)],_0x294bc2[_0x30b8ef(0x178)]=_0x4edfa7,_0x294bc2[_0x30b8ef(0x166)]=_0x4edfa7?null:_0x3eb3dd[_0x6621a7][_0x30b8ef(0x19e)],_0x294bc2[_0x30b8ef(0x1dd)]=_0x30b8ef(0x1bc)===_0x3eb3dd[_0x6621a7][_0x30b8ef(0x164)],_0x294bc2[_0x30b8ef(0x115)]=_0x3eb3dd[_0x6621a7][_0x30b8ef(0x115)],_0x294bc2;});}[_0x57cebd(0x1d8)](){const _0x45b0a1=_0x57cebd;this[_0x45b0a1(0x137)]=!0x0,this[_0x45b0a1(0x127)]()?this[_0x45b0a1(0xf8)]():this[_0x45b0a1(0x137)]=!0x1;}[_0x57cebd(0x127)](){const _0x2c4c5f=_0x57cebd,_0x356b56=this[_0x2c4c5f(0x199)][_0x2c4c5f(0x111)][_0x2c4c5f(0x1a7)](_0x1bfd62)[_0x2c4c5f(0x1d1)][_0x2c4c5f(0x1a7)](this[_0x2c4c5f(0x16a)]);return!this[_0x2c4c5f(0x199)][_0x2c4c5f(0x126)]&&!!_0x356b56&&_0x356b56[_0x2c4c5f(0x16d)]>0x1&&this[_0x2c4c5f(0x137)];}[_0x57cebd(0x151)](){const _0x3a59fb=_0x57cebd;return this[_0x3a59fb(0x18f)][_0x3a59fb(0x16d)]>0x0||this[_0x3a59fb(0x127)]();}}export default l;class Q extends Error{}function X(_0x2c69df,_0x41903c){const _0x504b90=_0x57cebd;for(const _0x436930 of _0x2c69df)_0x436930[_0x504b90(0x148)]=_0x41903c++;}class Y{[_0x57cebd(0x150)];[_0x57cebd(0x12e)];constructor(_0x2dfa24){const _0x8f8b12=_0x57cebd;this[_0x8f8b12(0x150)]=_0x2dfa24,this[_0x8f8b12(0x12e)]=new WeakMap();}[_0x57cebd(0x14c)](_0x491690){const _0x2edfe1=_0x57cebd;let _0x3a661d=_0x491690[_0x2edfe1(0x16d)];for(;_0x3a661d--;){const _0x221d5f=_0x491690[_0x3a661d];if(!this[_0x2edfe1(0x150)][_0x2edfe1(0x1f4)](_0x221d5f)){if(!this[_0x2edfe1(0x12e)][_0x2edfe1(0x1f4)](_0x221d5f)){const _0x1b3611=_0x29d06f()[_0x2edfe1(0x131)](0x1,0x12);this[_0x2edfe1(0x12e)][_0x2edfe1(0x1c8)](_0x221d5f,_0x1b3611);}return this[_0x2edfe1(0x12e)][_0x2edfe1(0x1a7)](_0x221d5f);}}}[_0x57cebd(0x1be)](_0x5e0bf8,_0x2474da){const _0x57c1a6=_0x57cebd;if(!_0x2474da)return;let _0x2c405c=_0x5e0bf8[_0x57c1a6(0x16d)];for(;_0x2c405c--;){const _0x145b33=_0x5e0bf8[_0x2c405c];this[_0x57c1a6(0x150)][_0x57c1a6(0x1f4)](_0x145b33)||this[_0x57c1a6(0x12e)][_0x57c1a6(0x1c8)](_0x145b33,_0x2474da);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x55b4(){const _0x547f20=['orderNumber','remove','getUserRole','_users','_handleSessionRemove','fire','add','520209ZLatZB','getUserSessions','listenTo','unregister','isOfficialPlugin','484968HKMqsg','_registeredSessions','sessionId','connection','mySessionId','forEach','channelSessions','plugins','user','get','3210gilyTj','stopListening','10GJOmxt','1041315ipPPTU','1136aeyVPy','pluginName','2MWkTOT','_uniqueUsersCount','context','clear','sessionAdd:','change:state','getUserBySessionId','connected','_createUser','1095736OMjZGO','register','84277NeWNij','addUser','7OWsGlA','size','assign','state','has','getUser','values','_handleSessionAdd','init','isMe','sessions-register-already-registered','requires','defineMe','set','allConnectedUsers','channelConnectedUsers','sessions-unregister-not-exist','isPremiumPlugin','role','879960DNrUrA','Sessions','delete'];_0x55b4=function(){return _0x547f20;};return _0x55b4();}const _0x5ded42=_0xaade;(function(_0x28bae6,_0x2b50bb){const _0x5e6f13=_0xaade,_0x52e135=_0x28bae6();while(!![]){try{const _0x52a782=parseInt(_0x5e6f13(0x166))/0x1*(parseInt(_0x5e6f13(0x15b))/0x2)+parseInt(_0x5e6f13(0x14b))/0x3+parseInt(_0x5e6f13(0x159))/0x4*(parseInt(_0x5e6f13(0x155))/0x5)+parseInt(_0x5e6f13(0x13c))/0x6*(-parseInt(_0x5e6f13(0x168))/0x7)+-parseInt(_0x5e6f13(0x164))/0x8+parseInt(_0x5e6f13(0x146))/0x9*(parseInt(_0x5e6f13(0x157))/0xa)+parseInt(_0x5e6f13(0x158))/0xb;if(_0x52a782===_0x2b50bb)break;else _0x52e135['push'](_0x52e135['shift']());}catch(_0x1f7bb3){_0x52e135['push'](_0x52e135['shift']());}}}(_0x55b4,0x4888c));function _0xaade(_0x5b78c4,_0x4a75e0){const _0x55b4a1=_0x55b4();return _0xaade=function(_0xaade52,_0x25ea10){_0xaade52=_0xaade52-0x131;let _0x4c59e2=_0x55b4a1[_0xaade52];return _0x4c59e2;},_0xaade(_0x5b78c4,_0x4a75e0);}import{ContextPlugin as _0x2a8fff}from'ckeditor5/src/core.js';import{Collection as _0x7f6fd6,CKEditorError as _0x18ea28}from'ckeditor5/src/utils.js';import _0x181b91 from'./websocketgateway.js';import{Users as _0x5a6f05}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x2a8fff{[_0x5ded42(0x151)];[_0x5ded42(0x138)];[_0x5ded42(0x137)];[_0x5ded42(0x14c)];[_0x5ded42(0x15c)];[_0x5ded42(0x142)];static get[_0x5ded42(0x15a)](){const _0xf2a21c=_0x5ded42;return _0xf2a21c(0x13d);}static get[_0x5ded42(0x14a)](){return!0x0;}static get[_0x5ded42(0x13a)](){return!0x0;}static get[_0x5ded42(0x134)](){return[_0x181b91,_0x5a6f05];}constructor(_0x1edff6){const _0x144c4d=_0x5ded42;super(_0x1edff6),this[_0x144c4d(0x151)]=new Map(),this[_0x144c4d(0x138)]=new Map(),this[_0x144c4d(0x137)]=new _0x7f6fd6(),this[_0x144c4d(0x14c)]=new Map(),this[_0x144c4d(0x15c)]=0x0,this[_0x144c4d(0x142)]=this[_0x144c4d(0x15d)][_0x144c4d(0x152)][_0x144c4d(0x154)](_0x5a6f05);}[_0x5ded42(0x131)](){const _0x3376f3=_0x5ded42,_0x375c6b=this[_0x3376f3(0x15d)][_0x3376f3(0x152)][_0x3376f3(0x154)](_0x181b91);this[_0x3376f3(0x148)](_0x375c6b,_0x3376f3(0x160),(_0x381403,_0x52f11d,_0x30a469)=>{const _0x1d6fe6=_0x3376f3;if(_0x1d6fe6(0x162)!==_0x30a469)this[_0x1d6fe6(0x151)][_0x1d6fe6(0x150)](_0x4697f1=>_0x4697f1[_0x1d6fe6(0x15e)]()),this[_0x1d6fe6(0x138)][_0x1d6fe6(0x150)](_0x17a598=>_0x17a598[_0x1d6fe6(0x15e)]()),this[_0x1d6fe6(0x137)][_0x1d6fe6(0x15e)]();else{for(const [_0x3347d2,_0x1d4b30]of this[_0x1d6fe6(0x14c)])for(const _0x17ba1d of _0x1d4b30)this[_0x1d6fe6(0x16f)](_0x3347d2,_0x17ba1d);}}),this[_0x3376f3(0x163)](_0x375c6b[_0x3376f3(0x14e)]['me'],!0x0);}[_0x5ded42(0x165)](_0x564a7c,_0x10a52f){const _0x3a7515=_0x5ded42;if(this[_0x3a7515(0x14c)][_0x3a7515(0x16c)](_0x564a7c))throw new _0x18ea28(_0x3a7515(0x133),null,{'channelId':_0x564a7c});this[_0x3a7515(0x14c)][_0x3a7515(0x136)](_0x564a7c,_0x10a52f),this[_0x3a7515(0x151)][_0x3a7515(0x136)](_0x564a7c,new _0x7f6fd6()),this[_0x3a7515(0x138)][_0x3a7515(0x136)](_0x564a7c,new _0x7f6fd6()),this[_0x3a7515(0x148)](_0x10a52f,_0x3a7515(0x145),(_0x33ea90,_0x2b6ed5)=>this[_0x3a7515(0x16f)](_0x564a7c,_0x2b6ed5)),this[_0x3a7515(0x148)](_0x10a52f,_0x3a7515(0x140),(_0x151433,_0x12efdc)=>this[_0x3a7515(0x143)](_0x564a7c,_0x12efdc));for(const _0xda3734 of _0x10a52f)this[_0x3a7515(0x16f)](_0x564a7c,_0xda3734);}[_0x5ded42(0x149)](_0x1c62d9){const _0x3253f0=_0x5ded42;if(!this[_0x3253f0(0x14c)][_0x3253f0(0x16c)](_0x1c62d9))throw new _0x18ea28(_0x3253f0(0x139),null,{'channelId':_0x1c62d9});const _0xa5b6ee=this[_0x3253f0(0x14c)][_0x3253f0(0x154)](_0x1c62d9);this[_0x3253f0(0x156)](_0xa5b6ee);for(const _0x131843 of _0xa5b6ee)_0x3253f0(0x162)===this[_0x3253f0(0x15d)][_0x3253f0(0x152)][_0x3253f0(0x154)](_0x181b91)[_0x3253f0(0x16b)]&&this[_0x3253f0(0x143)](_0x1c62d9,_0x131843);this[_0x3253f0(0x14c)][_0x3253f0(0x13e)](_0x1c62d9),this[_0x3253f0(0x151)][_0x3253f0(0x13e)](_0x1c62d9),this[_0x3253f0(0x138)][_0x3253f0(0x13e)](_0x1c62d9);}get[_0x5ded42(0x14f)](){const _0x344570=_0x5ded42;return this[_0x344570(0x15d)][_0x344570(0x152)][_0x344570(0x154)](_0x181b91)[_0x344570(0x14e)][_0x344570(0x14d)];}[_0x5ded42(0x161)](_0x45e333){const _0x109145=_0x5ded42;for(const _0xc83b9 of this[_0x109145(0x151)][_0x109145(0x16e)]())for(const _0x569359 of _0xc83b9)if(_0x569359['id']===_0x45e333)return _0x569359[_0x109145(0x153)];}[_0x5ded42(0x147)](_0x16fbd3,_0x4d291f){const _0x43fba9=_0x5ded42,_0x150d2e=_0x4d291f?[this[_0x43fba9(0x151)][_0x43fba9(0x154)](_0x4d291f)]:this[_0x43fba9(0x151)][_0x43fba9(0x16e)](),_0x1a8b3c=new Set();for(const _0x4b4819 of _0x150d2e)for(const _0x299065 of _0x4b4819)_0x299065[_0x43fba9(0x153)]['id']===_0x16fbd3['id']&&_0x1a8b3c[_0x43fba9(0x145)](_0x299065['id']);return _0x1a8b3c;}[_0x5ded42(0x141)](_0x5dbe4e){const _0x181f7c=_0x5ded42;for(const _0x1d773a of this[_0x181f7c(0x151)][_0x181f7c(0x16e)]())for(const _0x618a55 of _0x1d773a)if(_0x618a55[_0x181f7c(0x153)]===_0x5dbe4e)return _0x618a55[_0x181f7c(0x13b)];}[_0x5ded42(0x16f)](_0x5dc358,_0x20006f){const _0x56955b=_0x5ded42;if(_0x56955b(0x162)!==this[_0x56955b(0x15d)][_0x56955b(0x152)][_0x56955b(0x154)](_0x181b91)[_0x56955b(0x16b)])return;const _0x5098d1=_0x20006f[_0x56955b(0x153)],_0x15b1dd=this[_0x56955b(0x142)][_0x56955b(0x16d)](_0x5098d1['id'])||this[_0x56955b(0x163)](_0x5098d1),_0x4a9d99=Object[_0x56955b(0x16a)]({},_0x20006f,{'user':_0x15b1dd});this[_0x56955b(0x151)][_0x56955b(0x154)](_0x5dc358)[_0x56955b(0x145)](_0x4a9d99);const _0x2847b1=this[_0x56955b(0x138)][_0x56955b(0x154)](_0x5dc358);_0x2847b1[_0x56955b(0x16c)](_0x15b1dd['id'])||_0x2847b1[_0x56955b(0x145)](_0x15b1dd),this[_0x56955b(0x137)][_0x56955b(0x16c)](_0x15b1dd['id'])||this[_0x56955b(0x137)][_0x56955b(0x145)](_0x15b1dd,_0x15b1dd[_0x56955b(0x132)]?0x0:void 0x0),this[_0x56955b(0x144)](_0x56955b(0x15f)+_0x5dc358,{'channelId':_0x5dc358,'session':_0x4a9d99});}[_0x5ded42(0x143)](_0x52abcf,_0x17debf){const _0x2011fe=_0x5ded42;if(_0x2011fe(0x162)!==this[_0x2011fe(0x15d)][_0x2011fe(0x152)][_0x2011fe(0x154)](_0x181b91)[_0x2011fe(0x16b)])return;const _0x19e317=this[_0x2011fe(0x138)][_0x2011fe(0x154)](_0x52abcf),_0x4d3925=_0x17debf[_0x2011fe(0x153)];_0x4d3925['id']&&(this[_0x2011fe(0x151)][_0x2011fe(0x154)](_0x52abcf)[_0x2011fe(0x140)](_0x17debf['id']),_0x19e317[_0x2011fe(0x16c)](_0x4d3925['id'])&&!this[_0x2011fe(0x147)](_0x4d3925,_0x52abcf)[_0x2011fe(0x169)]&&_0x19e317[_0x2011fe(0x140)](_0x4d3925['id']),this[_0x2011fe(0x137)][_0x2011fe(0x154)](_0x4d3925['id'])&&!this[_0x2011fe(0x147)](_0x4d3925)[_0x2011fe(0x169)]&&this[_0x2011fe(0x137)][_0x2011fe(0x140)](_0x4d3925['id']));}[_0x5ded42(0x163)](_0x173de4,_0x15151d){const _0x111d80=_0x5ded42,_0x5c212b=this[_0x111d80(0x142)][_0x111d80(0x167)](_0x173de4);return _0x15151d&&this[_0x111d80(0x142)][_0x111d80(0x135)](_0x173de4['id']),_0x5c212b[_0x111d80(0x13f)]=this[_0x111d80(0x15c)]++,_0x5c212b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x171339=_0x26e0;(function(_0xb752a7,_0x4ad3ca){const _0x33ba58=_0x26e0,_0x4751ab=_0xb752a7();while(!![]){try{const _0x35b2c9=parseInt(_0x33ba58(0x130))/0x1*(parseInt(_0x33ba58(0x14e))/0x2)+parseInt(_0x33ba58(0x160))/0x3+-parseInt(_0x33ba58(0x134))/0x4*(-parseInt(_0x33ba58(0x145))/0x5)+-parseInt(_0x33ba58(0x174))/0x6*(parseInt(_0x33ba58(0x171))/0x7)+parseInt(_0x33ba58(0x156))/0x8+parseInt(_0x33ba58(0x186))/0x9+-parseInt(_0x33ba58(0x17e))/0xa;if(_0x35b2c9===_0x4ad3ca)break;else _0x4751ab['push'](_0x4751ab['shift']());}catch(_0x59cedc){_0x4751ab['push'](_0x4751ab['shift']());}}}(_0x515b,0x67509));import{Plugin as _0x3565e9}from'ckeditor5/src/core.js';import{global as _0x905081,DomEmitterMixin as _0x4001d7}from'ckeditor5/src/utils.js';import _0x4a04d1 from'./sessions.js';import{LiveRange as _0x132349}from'ckeditor5/src/engine.js';function _0x26e0(_0x239f56,_0x23cd28){const _0x515b23=_0x515b();return _0x26e0=function(_0x26e078,_0x40c2ee){_0x26e078=_0x26e078-0x12a;let _0x12224a=_0x515b23[_0x26e078];return _0x12224a;},_0x26e0(_0x239f56,_0x23cd28);}import'../../theme/usermarkers.css';export default class E extends _0x3565e9{[_0x171339(0x12d)]=new(_0x4001d7())();static get[_0x171339(0x157)](){return[_0x4a04d1];}static get[_0x171339(0x151)](){const _0x1b2e08=_0x171339;return _0x1b2e08(0x19b);}static get[_0x171339(0x135)](){return!0x0;}static get[_0x171339(0x16b)](){return!0x0;}[_0x171339(0x179)](){const _0x1c63f9=_0x171339,_0x1fbb37=this[_0x1c63f9(0x190)],_0x57a9e5=_0x1fbb37[_0x1c63f9(0x133)][_0x1c63f9(0x14f)](_0x4a04d1);_0x1fbb37[_0x1c63f9(0x199)][_0x1c63f9(0x150)](_0x1c63f9(0x193))[_0x1c63f9(0x166)]({'model':_0x1c63f9(0x1a1),'view':(_0x2d1a7f,{writer:_0x3bb290})=>function(_0x256292,_0x8dc167,_0x5a709e,_0x31f98e){const _0x1f91bd=_0x1c63f9,_0x17e57b=_0x256292[_0x1f91bd(0x143)][_0x1f91bd(0x12c)](':')[0x2],_0x561222=_0x5a709e[_0x1f91bd(0x175)](_0x17e57b);if(!_0x561222||_0x17e57b===_0x5a709e[_0x1f91bd(0x1a3)])return;if(!_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x198)][_0x1f91bd(0x15e)](_0x256292[_0x1f91bd(0x197)][_0x1f91bd(0x19a)],_0x1f91bd(0x167)))return;const _0x3c4e4f={'class':_0x1f91bd(0x187)+_0x561222[_0x1f91bd(0x15f)][_0x1f91bd(0x191)](),'data-name':_0x561222[_0x1f91bd(0x16e)],'data-session-id':_0x17e57b},_0x276fae=_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x18b)][_0x1f91bd(0x14f)](_0x256292[_0x1f91bd(0x143)]),_0x317ebe=_0x276fae[_0x1f91bd(0x17d)](),_0x271290=_0x317ebe[_0x1f91bd(0x1aa)],_0x19331d=_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x198)];if(_0x271290&&_0x19331d[_0x1f91bd(0x146)](_0x271290)&&_0x19331d[_0x1f91bd(0x1b2)](_0x271290)&&!_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x18b)][_0x1f91bd(0x14f)](_0x1f91bd(0x12b)+_0x17e57b)[_0x1f91bd(0x16d)]()[_0x1f91bd(0x18a)])return;const _0x3fc8ba=_0x317ebe[_0x1f91bd(0x1a5)];return _0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x198)][_0x1f91bd(0x136)](_0x3fc8ba)&&!_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x18c)](_0x3fc8ba)&&(_0x3c4e4f[_0x1f91bd(0x13c)]=!0x1),function(_0x36d628,_0x581997,_0x1813de){const _0x3d02b6=_0x1f91bd,_0x178b3b=_0x36d628[_0x3d02b6(0x1ad)](_0x3d02b6(0x13d),_0x581997);return _0x36d628[_0x3d02b6(0x14d)](_0x3d02b6(0x17b),!0x0,_0x178b3b),_0x178b3b[_0x3d02b6(0x15a)]=function(_0x19136c){const _0x5f2728=_0x3d02b6,_0x3d71a4=this[_0x5f2728(0x154)](_0x19136c),_0x27cc29=document[_0x5f2728(0x138)](_0x5f2728(0x13d));return _0x27cc29[_0x5f2728(0x159)][_0x5f2728(0x141)](_0x5f2728(0x181)),_0x27cc29[_0x5f2728(0x196)](_0x5f2728(0x13c),_0x5f2728(0x13f)),_0x27cc29[_0x5f2728(0x196)](_0x5f2728(0x13b),_0x5f2728(0x13f)),_0x27cc29[_0x5f2728(0x131)]=_0x1813de[_0x5f2728(0x16e)],_0x3d71a4[_0x5f2728(0x14b)]=_0x5f2728(0x162)+_0x27cc29[_0x5f2728(0x1a8)]+'',_0x3d71a4[_0x5f2728(0x16f)](_0x5f2728(0x148),()=>{const _0xab5519=_0x5f2728;_0x3d71a4[_0xab5519(0x159)][_0xab5519(0x141)](_0xab5519(0x173));}),_0x3d71a4[_0x5f2728(0x16f)](_0x5f2728(0x144),()=>{const _0x3df9bf=_0x5f2728;_0x3d71a4[_0x3df9bf(0x159)][_0x3df9bf(0x149)](_0x3df9bf(0x173));}),_0x3d71a4;},_0x178b3b[_0x3d02b6(0x183)]=function(_0x2c8abe){const _0x2fcace=_0x3d02b6;return!(!this[_0x2fcace(0x147)](_0x2fcace(0x17b))||!_0x2c8abe[_0x2fcace(0x147)](_0x2fcace(0x17b))||this[_0x2fcace(0x132)](_0x2fcace(0x1b3))!=_0x2c8abe[_0x2fcace(0x132)](_0x2fcace(0x1b3)));},_0x178b3b;}(_0x8dc167,_0x3c4e4f,_0x561222);}(_0x2d1a7f,_0x3bb290,_0x57a9e5,_0x1fbb37)}),_0x1fbb37[_0x1c63f9(0x199)][_0x1c63f9(0x150)](_0x1c63f9(0x193))[_0x1c63f9(0x140)]({'model':_0x1c63f9(0x184),'view':_0x481d4a=>function(_0x2e9845,_0x9ca53e){const _0x1aaefd=_0x1c63f9,_0x9a35e2=_0x2e9845[_0x1aaefd(0x143)][_0x1aaefd(0x12c)](':')[0x2];if(_0x9a35e2===_0x9ca53e[_0x1aaefd(0x1a3)])return null;const _0x13d7d4=_0x9ca53e[_0x1aaefd(0x175)](_0x9a35e2);if(!_0x13d7d4)return{'id':_0x9a35e2,'classes':[]};return{'id':_0x9a35e2,'classes':[_0x1aaefd(0x161),_0x13d7d4[_0x1aaefd(0x15f)][_0x1aaefd(0x19e)]()],'attributes':{'data-session-id':_0x9a35e2},'priority':0x7d0+_0x13d7d4[_0x1aaefd(0x15d)]};}(_0x481d4a,_0x57a9e5)}),function(_0x297d68){const _0x1b4c2f=_0x1c63f9,_0x24c97c=_0x297d68[_0x1b4c2f(0x192)],_0xc95325=new Map(),_0x1782a8=_0x297d68[_0x1b4c2f(0x133)][_0x1b4c2f(0x14f)](_0x4a04d1);_0x24c97c[_0x1b4c2f(0x18b)]['on'](_0x1b4c2f(0x182),(_0x462b68,_0x220d89,_0xf9033f,_0x1c7191)=>{const _0x34a889=_0x1b4c2f;if(!_0x1c7191&&_0xc95325[_0x34a889(0x14f)](_0x220d89[_0x34a889(0x16e)]))return _0xc95325[_0x34a889(0x14f)](_0x220d89[_0x34a889(0x16e)])[_0x34a889(0x18d)](),void _0xc95325[_0x34a889(0x1b0)](_0x220d89[_0x34a889(0x16e)]);const _0x1cee4e=_0x220d89[_0x34a889(0x16e)][_0x34a889(0x12c)](':')[0x2];if(_0x1cee4e===_0x1782a8[_0x34a889(0x1a3)])return;const _0x44a36e=_0x34a889(0x1ab)+_0x1cee4e;_0x24c97c[_0x34a889(0x18b)][_0x34a889(0x16c)](_0x44a36e)&&_0x297d68[_0x34a889(0x176)][_0x34a889(0x178)](_0x44a36e),_0x220d89['on'](_0x34a889(0x139),(_0x44cce2,_0x3c4b3f,_0x43b7bb)=>{const _0x1e90cf=_0x34a889;if(_0x1e90cf(0x17c)!=_0x3c4b3f[_0x1e90cf(0x188)][_0x1e90cf(0x17f)]&&_0x1e90cf(0x17c)==_0x220d89[_0x1e90cf(0x16d)]()[_0x1e90cf(0x188)][_0x1e90cf(0x17f)]&&!_0xc95325[_0x1e90cf(0x16c)](_0x220d89[_0x1e90cf(0x16e)])){const _0x4d66b7=_0x24c97c[_0x1e90cf(0x198)][_0x1e90cf(0x168)](_0x43b7bb[_0x1e90cf(0x12a)]);if(_0x4d66b7){const _0x61b4ae=_0x132349[_0x1e90cf(0x18f)](_0x4d66b7);_0xc95325[_0x1e90cf(0x1b4)](_0x220d89[_0x1e90cf(0x16e)],_0x61b4ae),_0x61b4ae['on'](_0x1e90cf(0x139),(_0x41888a,_0x266235,_0x272401)=>{const _0x39b374=_0x1e90cf;if(_0x39b374(0x17c)==_0x61b4ae[_0x39b374(0x188)][_0x39b374(0x17f)]){const _0x535109=_0x24c97c[_0x39b374(0x198)][_0x39b374(0x168)](_0x272401[_0x39b374(0x12a)]);_0x535109?(_0x61b4ae[_0x39b374(0x19a)]=_0x535109[_0x39b374(0x19a)],_0x61b4ae[_0x39b374(0x1a4)]=_0x535109[_0x39b374(0x1a4)]):(_0xc95325[_0x39b374(0x1b0)](_0x220d89[_0x39b374(0x16e)]),_0x61b4ae[_0x39b374(0x18d)]());}});}}});}),_0x24c97c[_0x1b4c2f(0x189)]['on'](_0x1b4c2f(0x1af),()=>{const _0xf392ec=_0x1b4c2f;_0xc95325[_0xf392ec(0x185)]>0x0&&_0x24c97c[_0xf392ec(0x1a0)]({'isUndoable':!0x1},_0x95fe46=>{const _0x4c71a1=_0xf392ec;for(const [_0x4580ea,_0x114eb1]of _0xc95325)_0x4c71a1(0x17c)==_0x24c97c[_0x4c71a1(0x18b)][_0x4c71a1(0x14f)](_0x4580ea)[_0x4c71a1(0x16d)]()[_0x4c71a1(0x188)][_0x4c71a1(0x17f)]&&(G(_0x4580ea[_0x4c71a1(0x12c)](':')[0x2],_0x114eb1[_0x4c71a1(0x158)](),_0x24c97c,_0x95fe46),_0x114eb1[_0x4c71a1(0x18d)]());_0xc95325[_0x4c71a1(0x169)]();});});}(_0x1fbb37),this[_0x1c63f9(0x12d)][_0x1c63f9(0x12e)](_0x905081[_0x1c63f9(0x189)],_0x1c63f9(0x165),(_0x3ba9d3,{key:_0x4fdb18})=>{const _0x5505f1=_0x1c63f9;_0x5505f1(0x1a7)===_0x4fdb18&&function(_0x44d657){const _0x1ecf7e=_0x5505f1;_0x44d657[_0x1ecf7e(0x176)][_0x1ecf7e(0x15c)][_0x1ecf7e(0x1af)](_0x16e2b1=>{const _0x442e4c=_0x1ecf7e;for(const _0x5842f4 of _0x44d657[_0x442e4c(0x192)][_0x442e4c(0x18b)]){if(!_0x5842f4[_0x442e4c(0x16e)][_0x442e4c(0x153)](_0x442e4c(0x1a1)))continue;const _0x4f90d8=_0x44d657[_0x442e4c(0x176)][_0x442e4c(0x163)][_0x442e4c(0x155)](_0x5842f4[_0x442e4c(0x16e)]);if(_0x4f90d8){for(const _0x4ce583 of _0x4f90d8)_0x16e2b1[_0x442e4c(0x14c)](_0x442e4c(0x173),_0x4ce583);}}});}(_0x1fbb37);},{'useCapture':!0x0});}[_0x171339(0x164)](){const _0x3a748b=_0x171339,_0x2b3933=this[_0x3a748b(0x190)],_0x16283e=_0x2b3933[_0x3a748b(0x194)][_0x3a748b(0x14f)](_0x3a748b(0x1ac));_0x16283e&&_0x2b3933[_0x3a748b(0x192)]['on'](_0x3a748b(0x1ae),(_0x17234d,_0x4a298c)=>{const _0x4097fd=_0x3a748b,_0x52559e=_0x4a298c[0x0];if(!_0x52559e[_0x4097fd(0x177)])return;if(_0x4097fd(0x1b1)!=_0x52559e[_0x4097fd(0x172)]||!_0x52559e[_0x4097fd(0x16e)][_0x4097fd(0x153)](_0x4097fd(0x12f)))return;const _0x4c4b13=_0x52559e[_0x4097fd(0x19c)];_0x16283e[_0x4097fd(0x137)][_0x4097fd(0x16c)](_0x4c4b13)&&(_0x52559e[_0x4097fd(0x14a)]=_0x52559e[_0x4097fd(0x15b)]?_0x2b3933[_0x4097fd(0x192)][_0x4097fd(0x1a6)](_0x52559e[_0x4097fd(0x15b)][_0x4097fd(0x19a)],_0x52559e[_0x4097fd(0x15b)][_0x4097fd(0x1a4)]):null);},{'priority':_0x3a748b(0x13e)});}[_0x171339(0x13a)](){const _0x51da7d=_0x171339;return this[_0x51da7d(0x12d)][_0x51da7d(0x170)](),super[_0x51da7d(0x13a)]();}[_0x171339(0x152)](){const _0x31112d=_0x171339,_0x1eb3a1=this[_0x31112d(0x190)],_0xe9bd27=_0x1eb3a1[_0x31112d(0x192)][_0x31112d(0x189)],_0x51ec76=_0x1eb3a1[_0x31112d(0x133)][_0x31112d(0x14f)](_0x4a04d1);_0x1eb3a1[_0x31112d(0x192)][_0x31112d(0x1a0)]({'isUndoable':!0x1},_0x33b752=>{const _0x8f78e=_0x31112d,_0x437b4b=_0x8f78e(0x12b)+_0x51ec76[_0x8f78e(0x1a3)],_0x1d39ca=_0x8f78e(0x1ab)+_0x51ec76[_0x8f78e(0x1a3)],_0x272012=_0x1eb3a1[_0x8f78e(0x192)][_0x8f78e(0x18b)][_0x8f78e(0x16c)](_0x437b4b);_0x1eb3a1[_0x8f78e(0x176)][_0x8f78e(0x15c)][_0x8f78e(0x142)]?G(_0x51ec76[_0x8f78e(0x1a3)],_0xe9bd27[_0x8f78e(0x180)][_0x8f78e(0x16a)](),_0x1eb3a1[_0x8f78e(0x192)],_0x33b752):_0x272012&&(_0x33b752[_0x8f78e(0x19d)](_0x437b4b),_0x33b752[_0x8f78e(0x19d)](_0x1d39ca));});}}function G(_0x5f5bfb,_0x153361,_0x187657,_0xa052f7){const _0x577755=_0x171339,_0x235772=_0x577755(0x12b)+_0x5f5bfb,_0x1f5259=_0x577755(0x1ab)+_0x5f5bfb,_0x4f1416=_0x153361[_0x577755(0x1a2)]();let _0x463927=_0x153361[_0x577755(0x19a)];if(_0x4f1416&&_0x4f1416['is'](_0x577755(0x19f),_0x577755(0x195))){const _0x52d239=function(_0x40e11b,_0x40abc5){const _0x5eb12f=_0x577755;for(const _0x356729 of _0x40e11b[_0x5eb12f(0x17a)]())if(_0x40abc5[_0x5eb12f(0x198)][_0x5eb12f(0x15e)](_0x356729,_0x5eb12f(0x167)))return _0x356729;}(_0x153361,_0x187657);_0x52d239&&(_0x463927=_0x52d239,_0x153361=_0xa052f7[_0x577755(0x1a6)](_0x463927));}const _0x4c8fcf=_0xa052f7[_0x577755(0x1a6)](_0x463927);_0x187657[_0x577755(0x18b)][_0x577755(0x16c)](_0x235772)?(_0xa052f7[_0x577755(0x18e)](_0x235772,{'range':_0x153361}),_0xa052f7[_0x577755(0x18e)](_0x1f5259,{'range':_0x4c8fcf})):(_0xa052f7[_0x577755(0x1a9)](_0x235772,{'range':_0x153361,'usingOperation':!0x0}),_0xa052f7[_0x577755(0x1a9)](_0x1f5259,{'range':_0x4c8fcf,'usingOperation':!0x0}));}function _0x515b(){const _0x24e741=['orderNumber','checkChild','color','1247454BwoPSS','ck-user__selection','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mapper','afterInit','keydown','markerToElement','$text','getNearestSelectionRange','clear','getFirstRange','isPremiumPlugin','has','getRange','name','addEventListener','stopListening','203byiSlX','type','ck-user__marker_hovered','13494nDUtNX','getUserBySessionId','editing','isDocumentOperation','reconvertMarker','init','getPositions','userPositionMarker','$graveyard','getStart','11038030JEQAsK','rootName','selection','ck-user__marker-tooltip','update:user:range','isSimilar','user:range','size','1814445qeSjue','ck-user__marker\x20','root','document','isCollapsed','markers','hasContent','detach','updateMarker','fromRange','editor','getMarkerClass','model','editingDowncast','commands','tableCell','setAttribute','markerRange','schema','conversion','start','UserMarkers','batch','removeMarker','getSelectionClass','element','enqueueChange','user:position','getContainedElement','mySessionId','end','parent','createRange','Escape','outerHTML','addMarker','nodeAfter','user:position:','undo','createUIElement','applyOperation','change','delete','marker','isInline','data-session-id','set','deletionPosition','user:range:','split','_domEmitter','listenTo','user:','6yptrvM','textContent','getAttribute','plugins','276wHjVSj','isOfficialPlugin','isLimit','_createdBatches','createElement','change:range','destroy','spellcheck','contenteditable','span','highest','false','markerToHighlight','add','hasDomSelection','markerName','mouseleave','11995sCRWuO','isObject','getCustomProperty','mouseenter','remove','newRange','innerHTML','removeClass','setCustomProperty','103748QdYLuM','get','for','pluginName','createUserMarkerOperations','startsWith','toDomElement','markerNameToElements','3984024MKpsDt','requires','toRange','classList','render','oldRange','view'];_0x515b=function(){return _0x24e741;};return _0x515b();}
|
|
23
|
+
const _0x387152=_0x4bf7;(function(_0x3e6f6f,_0x5d73bd){const _0x2bbf54=_0x4bf7,_0x3be60a=_0x3e6f6f();while(!![]){try{const _0x254f9d=parseInt(_0x2bbf54(0x1a1))/0x1*(-parseInt(_0x2bbf54(0x192))/0x2)+-parseInt(_0x2bbf54(0x1b7))/0x3+parseInt(_0x2bbf54(0x19a))/0x4+parseInt(_0x2bbf54(0x1ab))/0x5*(parseInt(_0x2bbf54(0x1c2))/0x6)+parseInt(_0x2bbf54(0x1e0))/0x7*(parseInt(_0x2bbf54(0x1fd))/0x8)+parseInt(_0x2bbf54(0x1e2))/0x9*(parseInt(_0x2bbf54(0x19b))/0xa)+-parseInt(_0x2bbf54(0x195))/0xb;if(_0x254f9d===_0x5d73bd)break;else _0x3be60a['push'](_0x3be60a['shift']());}catch(_0x2853eb){_0x3be60a['push'](_0x3be60a['shift']());}}}(_0x39ea,0xd955c));import{Plugin as _0x323489}from'ckeditor5/src/core.js';import{global as _0x3f99ab,DomEmitterMixin as _0x35fbe1}from'ckeditor5/src/utils.js';import _0x59466f from'./sessions.js';import{LiveRange as _0x57348d}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x323489{[_0x387152(0x1de)]=new(_0x35fbe1())();static get[_0x387152(0x1e9)](){return[_0x59466f];}static get[_0x387152(0x187)](){const _0x491ee2=_0x387152;return _0x491ee2(0x196);}static get[_0x387152(0x1d9)](){return!0x0;}static get[_0x387152(0x203)](){return!0x0;}[_0x387152(0x20e)](){const _0x439c76=_0x387152,_0x2c48a0=this[_0x439c76(0x1ba)],_0x1da9fb=_0x2c48a0[_0x439c76(0x1c6)][_0x439c76(0x18f)](_0x59466f);_0x2c48a0[_0x439c76(0x1aa)][_0x439c76(0x1df)](_0x439c76(0x1c3))[_0x439c76(0x1b0)]({'model':_0x439c76(0x1cd),'view':(_0x51229a,{writer:_0x17d9c9})=>function(_0x9cfd42,_0x528380,_0x4d7d20,_0xc964b2){const _0x57e2a9=_0x439c76,_0x561ed4=_0x9cfd42[_0x57e2a9(0x1cf)][_0x57e2a9(0x190)](':')[0x2],_0x42734f=_0x4d7d20[_0x57e2a9(0x1a7)](_0x561ed4);if(!_0x42734f||_0x561ed4===_0x4d7d20[_0x57e2a9(0x1b9)])return;if(!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)][_0x57e2a9(0x1bc)](_0x9cfd42[_0x57e2a9(0x20b)][_0x57e2a9(0x1d6)],_0x57e2a9(0x1b2)))return;const _0x5ca55c={'class':_0x57e2a9(0x1d5)+_0x42734f[_0x57e2a9(0x207)][_0x57e2a9(0x211)](),'data-name':_0x42734f[_0x57e2a9(0x20d)],'data-session-id':_0x561ed4},_0xfd9f19=_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1f9)][_0x57e2a9(0x18f)](_0x9cfd42[_0x57e2a9(0x1cf)]),_0x538653=_0xfd9f19[_0x57e2a9(0x19f)](),_0x41473c=_0x538653[_0x57e2a9(0x20c)],_0xca2d4e=_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)];if(_0x41473c&&_0xca2d4e[_0x57e2a9(0x1eb)](_0x41473c)&&_0xca2d4e[_0x57e2a9(0x1c7)](_0x41473c)&&!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1f9)][_0x57e2a9(0x18f)](_0x57e2a9(0x1af)+_0x561ed4)[_0x57e2a9(0x20f)]()[_0x57e2a9(0x1fa)])return;const _0x11bea0=_0x538653[_0x57e2a9(0x1ad)];return _0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)][_0x57e2a9(0x1bb)](_0x11bea0)&&!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x210)](_0x11bea0)&&(_0x5ca55c[_0x57e2a9(0x1bd)]=!0x1),function(_0x5bdb96,_0x27ab26,_0x1d2e39){const _0x5616ed=_0x57e2a9,_0x46caad=_0x5bdb96[_0x5616ed(0x1fe)](_0x5616ed(0x1c9),_0x27ab26);return _0x5bdb96[_0x5616ed(0x1ff)](_0x5616ed(0x1f1),!0x0,_0x46caad),_0x46caad[_0x5616ed(0x1c8)]=function(_0xb3452a){const _0x4f124b=_0x5616ed,_0x55e4d3=this[_0x4f124b(0x1d4)](_0xb3452a),_0x11f1af=document[_0x4f124b(0x1a4)](_0x4f124b(0x1c9));return _0x11f1af[_0x4f124b(0x1f8)][_0x4f124b(0x1fc)](_0x4f124b(0x201)),_0x11f1af[_0x4f124b(0x1db)](_0x4f124b(0x1bd),_0x4f124b(0x197)),_0x11f1af[_0x4f124b(0x1db)](_0x4f124b(0x1c1),_0x4f124b(0x197)),_0x11f1af[_0x4f124b(0x1ee)]=_0x1d2e39[_0x4f124b(0x20d)],_0x55e4d3[_0x4f124b(0x1c4)]=_0x4f124b(0x1e6)+_0x11f1af[_0x4f124b(0x199)]+'',_0x55e4d3[_0x4f124b(0x19c)](_0x4f124b(0x202),()=>{const _0x48a884=_0x4f124b;_0x55e4d3[_0x48a884(0x1f8)][_0x48a884(0x1fc)](_0x48a884(0x1ae));}),_0x55e4d3[_0x4f124b(0x19c)](_0x4f124b(0x205),()=>{const _0x2e7d22=_0x4f124b;_0x55e4d3[_0x2e7d22(0x1f8)][_0x2e7d22(0x1f5)](_0x2e7d22(0x1ae));}),_0x55e4d3;},_0x46caad[_0x5616ed(0x1b1)]=function(_0x43b812){const _0x1bedf1=_0x5616ed;return!(!this[_0x1bedf1(0x1a0)](_0x1bedf1(0x1f1))||!_0x43b812[_0x1bedf1(0x1a0)](_0x1bedf1(0x1f1))||this[_0x1bedf1(0x212)](_0x1bedf1(0x1e5))!=_0x43b812[_0x1bedf1(0x212)](_0x1bedf1(0x1e5)));},_0x46caad;}(_0x528380,_0x5ca55c,_0x42734f);}(_0x51229a,_0x17d9c9,_0x1da9fb,_0x2c48a0)}),_0x2c48a0[_0x439c76(0x1aa)][_0x439c76(0x1df)](_0x439c76(0x1c3))[_0x439c76(0x1b3)]({'model':_0x439c76(0x1e4),'view':_0x432aad=>function(_0x86da23,_0x42f5a5){const _0x13c015=_0x439c76,_0x796c0c=_0x86da23[_0x13c015(0x1cf)][_0x13c015(0x190)](':')[0x2];if(_0x796c0c===_0x42f5a5[_0x13c015(0x1b9)])return null;const _0x34b82b=_0x42f5a5[_0x13c015(0x1a7)](_0x796c0c);if(!_0x34b82b)return{'id':_0x796c0c,'classes':[]};return{'id':_0x796c0c,'classes':[_0x13c015(0x1fb),_0x34b82b[_0x13c015(0x207)][_0x13c015(0x1b8)]()],'attributes':{'data-session-id':_0x796c0c},'priority':0x7d0+_0x34b82b[_0x13c015(0x1dc)]};}(_0x432aad,_0x1da9fb)}),function(_0x4abb70){const _0x4d3109=_0x439c76,_0x3888da=_0x4abb70[_0x4d3109(0x1f3)],_0x189ce7=new Map(),_0x13c9e4=_0x4abb70[_0x4d3109(0x1c6)][_0x4d3109(0x18f)](_0x59466f);_0x3888da[_0x4d3109(0x1f9)]['on'](_0x4d3109(0x208),(_0x4fd51d,_0x1323e0,_0x5de24d,_0xe89f73)=>{const _0xb863ff=_0x4d3109;if(!_0xe89f73&&_0x189ce7[_0xb863ff(0x18f)](_0x1323e0[_0xb863ff(0x20d)]))return _0x189ce7[_0xb863ff(0x18f)](_0x1323e0[_0xb863ff(0x20d)])[_0xb863ff(0x1b5)](),void _0x189ce7[_0xb863ff(0x1a5)](_0x1323e0[_0xb863ff(0x20d)]);const _0x408c30=_0x1323e0[_0xb863ff(0x20d)][_0xb863ff(0x190)](':')[0x2];if(_0x408c30===_0x13c9e4[_0xb863ff(0x1b9)])return;const _0x176ff4=_0xb863ff(0x1ca)+_0x408c30;_0x3888da[_0xb863ff(0x1f9)][_0xb863ff(0x18a)](_0x176ff4)&&_0x4abb70[_0xb863ff(0x200)][_0xb863ff(0x1ec)](_0x176ff4),_0x1323e0['on'](_0xb863ff(0x1b6),(_0x3a75bd,_0x47ff79,_0x52c1e9)=>{const _0xefeda2=_0xb863ff;if(_0xefeda2(0x1c5)!=_0x47ff79[_0xefeda2(0x198)][_0xefeda2(0x18d)]&&_0xefeda2(0x1c5)==_0x1323e0[_0xefeda2(0x20f)]()[_0xefeda2(0x198)][_0xefeda2(0x18d)]&&!_0x189ce7[_0xefeda2(0x18a)](_0x1323e0[_0xefeda2(0x20d)])){const _0x492c42=_0x3888da[_0xefeda2(0x1a8)][_0xefeda2(0x209)](_0x52c1e9[_0xefeda2(0x1d2)]);if(_0x492c42){const _0x225152=_0x57348d[_0xefeda2(0x191)](_0x492c42);_0x189ce7[_0xefeda2(0x1cc)](_0x1323e0[_0xefeda2(0x20d)],_0x225152),_0x225152['on'](_0xefeda2(0x1b6),(_0x26d0e8,_0x155efe,_0x20c34f)=>{const _0x5587d6=_0xefeda2;if(_0x5587d6(0x1c5)==_0x225152[_0x5587d6(0x198)][_0x5587d6(0x18d)]){const _0x5369cb=_0x3888da[_0x5587d6(0x1a8)][_0x5587d6(0x209)](_0x20c34f[_0x5587d6(0x1d2)]);_0x5369cb?(_0x225152[_0x5587d6(0x1d6)]=_0x5369cb[_0x5587d6(0x1d6)],_0x225152[_0x5587d6(0x1dd)]=_0x5369cb[_0x5587d6(0x1dd)]):(_0x189ce7[_0x5587d6(0x1a5)](_0x1323e0[_0x5587d6(0x20d)]),_0x225152[_0x5587d6(0x1b5)]());}});}}});}),_0x3888da[_0x4d3109(0x1e3)]['on'](_0x4d3109(0x1ea),()=>{const _0x2a8e9e=_0x4d3109;_0x189ce7[_0x2a8e9e(0x1e8)]>0x0&&_0x3888da[_0x2a8e9e(0x1d0)]({'isUndoable':!0x1},_0x3c3fd9=>{const _0x39ae30=_0x2a8e9e;for(const [_0x14d672,_0x31def4]of _0x189ce7)_0x39ae30(0x1c5)==_0x3888da[_0x39ae30(0x1f9)][_0x39ae30(0x18f)](_0x14d672)[_0x39ae30(0x20f)]()[_0x39ae30(0x198)][_0x39ae30(0x18d)]&&(te(_0x14d672[_0x39ae30(0x190)](':')[0x2],_0x31def4[_0x39ae30(0x1ce)](),_0x3888da,_0x3c3fd9),_0x31def4[_0x39ae30(0x1b5)]());_0x189ce7[_0x39ae30(0x1f4)]();});});}(_0x2c48a0),this[_0x439c76(0x1de)][_0x439c76(0x18e)](_0x3f99ab[_0x439c76(0x1e3)],_0x439c76(0x1f2),(_0x5bea5e,{key:_0x48dcc3})=>{const _0xe0b3c5=_0x439c76;_0xe0b3c5(0x1a3)===_0x48dcc3&&function(_0x2b55fa){const _0x3b39af=_0xe0b3c5;_0x2b55fa[_0x3b39af(0x200)][_0x3b39af(0x1a2)][_0x3b39af(0x1ea)](_0x17a161=>{const _0x30380f=_0x3b39af;for(const _0x3be413 of _0x2b55fa[_0x30380f(0x1f3)][_0x30380f(0x1f9)]){if(!_0x3be413[_0x30380f(0x20d)][_0x30380f(0x1a9)](_0x30380f(0x1cd)))continue;const _0x14fd80=_0x2b55fa[_0x30380f(0x200)][_0x30380f(0x1f6)][_0x30380f(0x1d1)](_0x3be413[_0x30380f(0x20d)]);if(_0x14fd80){for(const _0x5392f8 of _0x14fd80)_0x17a161[_0x30380f(0x1f0)](_0x30380f(0x1ae),_0x5392f8);}}});}(_0x2c48a0);},{'useCapture':!0x0});}[_0x387152(0x1d7)](){const _0x15af41=_0x387152,_0x1a988b=this[_0x15af41(0x1ba)],_0x26f9b7=_0x1a988b[_0x15af41(0x18b)][_0x15af41(0x18f)](_0x15af41(0x1f7));_0x26f9b7&&_0x1a988b[_0x15af41(0x1f3)]['on'](_0x15af41(0x1be),(_0x2d2a91,_0x84e5e)=>{const _0xca4512=_0x15af41,_0x280d37=_0x84e5e[0x0];if(!_0x280d37[_0xca4512(0x19d)])return;if(_0xca4512(0x1d8)!=_0x280d37[_0xca4512(0x1ed)]||!_0x280d37[_0xca4512(0x20d)][_0xca4512(0x1a9)](_0xca4512(0x188)))return;const _0x32cb3b=_0x280d37[_0xca4512(0x1bf)];_0x26f9b7[_0xca4512(0x1da)][_0xca4512(0x18a)](_0x32cb3b)&&(_0x280d37[_0xca4512(0x1ac)]=_0x280d37[_0xca4512(0x18c)]?_0x1a988b[_0xca4512(0x1f3)][_0xca4512(0x194)](_0x280d37[_0xca4512(0x18c)][_0xca4512(0x1d6)],_0x280d37[_0xca4512(0x18c)][_0xca4512(0x1dd)]):null);},{'priority':_0x15af41(0x1c0)});}[_0x387152(0x1e1)](){const _0xcd062=_0x387152;return this[_0xcd062(0x1de)][_0xcd062(0x189)](),super[_0xcd062(0x1e1)]();}[_0x387152(0x20a)](){const _0x11f6c7=_0x387152,_0x36e5bd=this[_0x11f6c7(0x1ba)],_0x3e4725=_0x36e5bd[_0x11f6c7(0x1f3)][_0x11f6c7(0x1e3)],_0x5dac52=_0x36e5bd[_0x11f6c7(0x1c6)][_0x11f6c7(0x18f)](_0x59466f);_0x36e5bd[_0x11f6c7(0x1f3)][_0x11f6c7(0x1d0)]({'isUndoable':!0x1},_0x280388=>{const _0x1d1d8c=_0x11f6c7,_0x79694a=_0x1d1d8c(0x1af)+_0x5dac52[_0x1d1d8c(0x1b9)],_0x24b7d8=_0x1d1d8c(0x1ca)+_0x5dac52[_0x1d1d8c(0x1b9)],_0x4d1b06=_0x36e5bd[_0x1d1d8c(0x1f3)][_0x1d1d8c(0x1f9)][_0x1d1d8c(0x18a)](_0x79694a);_0x36e5bd[_0x1d1d8c(0x200)][_0x1d1d8c(0x1a2)][_0x1d1d8c(0x1cb)]?te(_0x5dac52[_0x1d1d8c(0x1b9)],_0x3e4725[_0x1d1d8c(0x204)][_0x1d1d8c(0x1ef)](),_0x36e5bd[_0x1d1d8c(0x1f3)],_0x280388):_0x4d1b06&&(_0x280388[_0x1d1d8c(0x1e7)](_0x79694a),_0x280388[_0x1d1d8c(0x1e7)](_0x24b7d8));});}}function _0x4bf7(_0xf9796b,_0x486ba3){const _0x39ea2d=_0x39ea();return _0x4bf7=function(_0x4bf726,_0x4cdaf7){_0x4bf726=_0x4bf726-0x187;let _0x6b958=_0x39ea2d[_0x4bf726];return _0x6b958;},_0x4bf7(_0xf9796b,_0x486ba3);}function _0x39ea(){const _0x324bc4=['commands','oldRange','rootName','listenTo','get','split','fromRange','4NzgtqV','tableCell','createRange','15755850mRKMBf','UserMarkers','false','root','outerHTML','6792276FOBHMf','23070FAHEuE','addEventListener','isDocumentOperation','getContainedElement','getStart','getCustomProperty','830279JOiHxW','view','Escape','createElement','delete','updateMarker','getUserBySessionId','schema','startsWith','conversion','815jbtVEu','newRange','parent','ck-user__marker_hovered','user:range:','markerToElement','isSimilar','$text','markerToHighlight','addMarker','detach','change:range','1886880TWrjyT','getSelectionClass','mySessionId','editor','isLimit','checkChild','contenteditable','applyOperation','batch','highest','spellcheck','38814tJgaXq','editingDowncast','innerHTML','$graveyard','plugins','isInline','render','span','user:position:','hasDomSelection','set','user:position','toRange','markerName','enqueueChange','markerNameToElements','deletionPosition','element','toDomElement','ck-user__marker\x20','start','afterInit','marker','isOfficialPlugin','_createdBatches','setAttribute','orderNumber','end','_domEmitter','for','1502655PALdnc','destroy','6417xfRnQn','document','user:range','data-session-id','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','removeMarker','size','requires','change','isObject','reconvertMarker','type','textContent','getFirstRange','removeClass','userPositionMarker','keydown','model','clear','remove','mapper','undo','classList','markers','isCollapsed','ck-user__selection','add','8MPsUyL','createUIElement','setCustomProperty','editing','ck-user__marker-tooltip','mouseenter','isPremiumPlugin','selection','mouseleave','getPositions','color','update:user:range','getNearestSelectionRange','createUserMarkerOperations','markerRange','nodeAfter','name','init','getRange','hasContent','getMarkerClass','getAttribute','pluginName','user:','stopListening','has'];_0x39ea=function(){return _0x324bc4;};return _0x39ea();}function te(_0x957380,_0xbe9d10,_0x322fe6,_0x4c2d08){const _0x14fafb=_0x387152,_0x49c9dc=_0x14fafb(0x1af)+_0x957380,_0x2a0a49=_0x14fafb(0x1ca)+_0x957380,_0x5c54da=_0xbe9d10[_0x14fafb(0x19e)]();let _0x38c864=_0xbe9d10[_0x14fafb(0x1d6)];if(_0x5c54da&&_0x5c54da['is'](_0x14fafb(0x1d3),_0x14fafb(0x193))){const _0x521bbf=function(_0x2941b8,_0x319b81){const _0x267069=_0x14fafb;for(const _0x151be6 of _0x2941b8[_0x267069(0x206)]())if(_0x319b81[_0x267069(0x1a8)][_0x267069(0x1bc)](_0x151be6,_0x267069(0x1b2)))return _0x151be6;}(_0xbe9d10,_0x322fe6);_0x521bbf&&(_0x38c864=_0x521bbf,_0xbe9d10=_0x4c2d08[_0x14fafb(0x194)](_0x38c864));}const _0x1c4578=_0x4c2d08[_0x14fafb(0x194)](_0x38c864);_0x322fe6[_0x14fafb(0x1f9)][_0x14fafb(0x18a)](_0x49c9dc)?(_0x4c2d08[_0x14fafb(0x1a6)](_0x49c9dc,{'range':_0xbe9d10}),_0x4c2d08[_0x14fafb(0x1a6)](_0x2a0a49,{'range':_0x1c4578})):(_0x4c2d08[_0x14fafb(0x1b4)](_0x49c9dc,{'range':_0xbe9d10,'usingOperation':!0x0}),_0x4c2d08[_0x14fafb(0x1b4)](_0x2a0a49,{'range':_0x1c4578,'usingOperation':!0x0}));}
|