@ckeditor/ckeditor5-real-time-collaboration 46.0.2-alpha.0 → 46.0.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 +2 -2
- 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
|
-
|
|
23
|
+
const _0x565616=_0x4a14;(function(_0x555c63,_0x342619){const _0x308cce=_0x4a14,_0x1caf4f=_0x555c63();while(!![]){try{const _0x507629=-parseInt(_0x308cce(0xc8))/0x1+-parseInt(_0x308cce(0xbe))/0x2+parseInt(_0x308cce(0xab))/0x3*(-parseInt(_0x308cce(0xbc))/0x4)+-parseInt(_0x308cce(0xb6))/0x5*(-parseInt(_0x308cce(0xb8))/0x6)+parseInt(_0x308cce(0xb7))/0x7+-parseInt(_0x308cce(0xca))/0x8+-parseInt(_0x308cce(0xad))/0x9*(-parseInt(_0x308cce(0xc4))/0xa);if(_0x507629===_0x342619)break;else _0x1caf4f['push'](_0x1caf4f['shift']());}catch(_0x217772){_0x1caf4f['push'](_0x1caf4f['shift']());}}}(_0x48ea,0x9027a));import{View as _0x2c9b7e}from'ckeditor5/src/ui.js';function _0x4a14(_0x5c3627,_0x287ba7){const _0x48ea93=_0x48ea();return _0x4a14=function(_0x4a1450,_0x2e1b43){_0x4a1450=_0x4a1450-0xa5;let _0xd6b988=_0x48ea93[_0x4a1450];return _0xd6b988;},_0x4a14(_0x5c3627,_0x287ba7);}function _0x48ea(){const _0x1a306f=['presencelist:hide','4360nzKnZq','setTemplate','set','contains','357965mEzJmo','render','5851040OaqNPA','.ck-presence-list__dropdown-list','change:hasPopup','hasPopup','keystrokes','list','focus','removeAttribute','105AJoFDP','fire','31653KPkYoe','div','items','relatedTarget','setAttribute','aria-expanded','querySelector','bindTemplate','element','6495CoBQlM','3410379djweTK','3534trnxNA','isExpanded','presencelist:show','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','44376JLRMBl','.ck-balloon-panel_with-arrow','1435254OvVFlF','listenTo','ck-presence-list__list','Connected\x20users\x20list','createCollection'];_0x48ea=function(){return _0x1a306f;};return _0x48ea();}import{KeystrokeHandler as _0x1ab37e}from'ckeditor5/src/utils.js';import{getTranslation as _0x335b25}from'../../common-translations.js';export class PresenceInlineListView extends _0x2c9b7e{[_0x565616(0xaf)];[_0x565616(0xa7)];constructor(_0xdbe5ae){const _0x4c1282=_0x565616;super(_0xdbe5ae);const _0x3beebf=this[_0x4c1282(0xb4)];this[_0x4c1282(0xaf)]=this[_0x4c1282(0xc2)](),this[_0x4c1282(0xa7)]=new _0x1ab37e(),this[_0x4c1282(0xc6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4c1282(0xc5)]({'tag':_0x4c1282(0xae),'attributes':{'aria-haspopup':_0x3beebf['if'](_0x4c1282(0xa6)),'aria-expanded':_0x3beebf['to'](_0x4c1282(0xb9),_0x142ee3=>this[_0x4c1282(0xa6)]&&String(_0x142ee3)),'aria-label':_0x3beebf['to'](_0x4c1282(0xa6),_0x28d324=>_0x335b25(_0xdbe5ae,_0x28d324?_0x4c1282(0xbb):_0x4c1282(0xc1))),'role':_0x4c1282(0xa8),'tabindex':_0x3beebf['to'](_0x4c1282(0xa6),_0x214174=>!!_0x214174&&0x0),'class':['ck',_0x4c1282(0xc0)]},'children':this[_0x4c1282(0xaf)],'on':{'mouseenter':_0x3beebf['to'](()=>this[_0x4c1282(0xac)](_0x4c1282(0xba))),'mouseleave':_0x3beebf['to'](_0x2515ba=>{const _0x453d55=_0x4c1282,_0x249790=_0x2515ba,_0x4faa13=document[_0x453d55(0xb3)](_0x453d55(0xcb)),_0x58b362=document[_0x453d55(0xb3)](_0x453d55(0xbd));_0x4faa13?.[_0x453d55(0xc7)](_0x249790[_0x453d55(0xb0)])||_0x58b362?.[_0x453d55(0xc7)](_0x249790[_0x453d55(0xb0)])||this[_0x453d55(0xac)](_0x453d55(0xc3));})}}),this['on'](_0x4c1282(0xa5),(_0x2160f9,_0x43e1b8,_0x53632e)=>{const _0x286469=_0x4c1282;this[_0x286469(0xb5)]&&(_0x53632e?this[_0x286469(0xb5)][_0x286469(0xb1)](_0x286469(0xb2),String(this[_0x286469(0xb9)])):this[_0x286469(0xb5)][_0x286469(0xaa)](_0x286469(0xb2)));});}[_0x565616(0xa9)](){const _0x33f228=_0x565616;this[_0x33f228(0xb5)][_0x33f228(0xa9)]();}[_0x565616(0xc9)](){const _0x5d00f4=_0x565616;super[_0x5d00f4(0xc9)](),this[_0x5d00f4(0xa7)][_0x5d00f4(0xbf)](this[_0x5d00f4(0xb5)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f9da9=_0x5832;(function(_0x341bcd,_0x52b423){const _0x8f243a=_0x5832,_0xcfdd02=_0x341bcd();while(!![]){try{const _0x323342=-parseInt(_0x8f243a(0x179))/0x1+-parseInt(_0x8f243a(0x16a))/0x2+parseInt(_0x8f243a(0x16e))/0x3+parseInt(_0x8f243a(0x16d))/0x4+-parseInt(_0x8f243a(0x17d))/0x5*(parseInt(_0x8f243a(0x164))/0x6)+-parseInt(_0x8f243a(0x16c))/0x7*(-parseInt(_0x8f243a(0x16b))/0x8)+-parseInt(_0x8f243a(0x168))/0x9;if(_0x323342===_0x52b423)break;else _0xcfdd02['push'](_0xcfdd02['shift']());}catch(_0x40cfc3){_0xcfdd02['push'](_0xcfdd02['shift']());}}}(_0x34c9,0x2cedf));import{View as _0x30ddc4}from'ckeditor5/src/ui.js';function _0x5832(_0x1a7d02,_0x4b918b){const _0x34c9ee=_0x34c9();return _0x5832=function(_0x58325a,_0x49a85e){_0x58325a=_0x58325a-0x163;let _0x26892c=_0x34c9ee[_0x58325a];return _0x26892c;},_0x5832(_0x1a7d02,_0x4b918b);}import{PresenceCounterView as _0x209209}from'./presencecounterview.js';import{PresenceInlineListView as _0x24c243}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x30ddc4{[_0x4f9da9(0x170)];[_0x4f9da9(0x165)];constructor(_0x5d6b18,_0x310e4d=0x6){const _0x303770=_0x4f9da9;super(_0x5d6b18);const _0x1773b1=this[_0x303770(0x17c)];this[_0x303770(0x169)](_0x303770(0x16f),!0x0),this[_0x303770(0x170)]=new _0x209209(this[_0x303770(0x167)],_0x310e4d),this[_0x303770(0x165)]=new _0x24c243(_0x5d6b18),this[_0x303770(0x165)][_0x303770(0x17b)](_0x303770(0x163))['to'](this,_0x303770(0x16f)),this[_0x303770(0x177)](this[_0x303770(0x165)][_0x303770(0x17a)],_0x303770(0x174),()=>{const _0x499914=_0x303770;for(const _0xd406dc of this[_0x499914(0x165)][_0x499914(0x17a)])_0xd406dc[_0x499914(0x173)]='s';this[_0x499914(0x165)][_0x499914(0x17a)][_0x499914(0x166)]&&(this[_0x499914(0x165)][_0x499914(0x17a)][_0x499914(0x166)][_0x499914(0x173)]='se');}),this[_0x303770(0x171)]({'tag':_0x303770(0x172),'attributes':{'class':['ck',_0x303770(0x178),_0x303770(0x175),_0x303770(0x17e),_0x1773b1['if'](_0x303770(0x16f),_0x303770(0x176))]},'children':[this[_0x303770(0x165)]]});}}function _0x34c9(){const _0x1fd395=['hasPopup','240102oYMPyO','inlineListView','first','locale','2265939glmJLu','set','304026cFFfuA','72776KeSxZV','63REtWzZ','1311072BddcUs','802446zpBNuu','isCollapsed','counterView','setTemplate','div','tooltipPosition','change','ck-reset','ck-presence-list--collapsed','listenTo','ck-presence-list','49291pCxYSx','items','bind','bindTemplate','5pdsefs','ck-rounded-corners'];_0x34c9=function(){return _0x1fd395;};return _0x34c9();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x240e(_0x39219e,_0x426d06){var _0x2a51dd=_0x2a51();return _0x240e=function(_0x240e47,_0x4a1750){_0x240e47=_0x240e47-0x1a3;var _0x2e3b8e=_0x2a51dd[_0x240e47];return _0x2e3b8e;},_0x240e(_0x39219e,_0x426d06);}var _0x1a07a9=_0x240e;(function(_0x1d3a1d,_0x16319b){var _0x176f11=_0x240e,_0x500ead=_0x1d3a1d();while(!![]){try{var _0x411448=-parseInt(_0x176f11(0x1b0))/0x1+-parseInt(_0x176f11(0x1a6))/0x2*(parseInt(_0x176f11(0x1af))/0x3)+-parseInt(_0x176f11(0x1a3))/0x4+-parseInt(_0x176f11(0x1b1))/0x5*(parseInt(_0x176f11(0x1aa))/0x6)+parseInt(_0x176f11(0x1ad))/0x7*(parseInt(_0x176f11(0x1ab))/0x8)+parseInt(_0x176f11(0x1a7))/0x9+parseInt(_0x176f11(0x1ac))/0xa;if(_0x411448===_0x16319b)break;else _0x500ead['push'](_0x500ead['shift']());}catch(_0x501b26){_0x500ead['push'](_0x500ead['shift']());}}}(_0x2a51,0xebacb));import{ContextPlugin as _0xde5a9c}from'ckeditor5/src/core.js';function _0x2a51(){var _0x287bb7=['7qbkSSh','requires','12ZAUWQE','593830MXzxsc','140pyrgjE','3966760oDbJgK','isPremiumPlugin','PresenceList','304162TpMALG','3615975CLDHrh','isOfficialPlugin','pluginName','173532phRDcq','696624BgeWft','34801300LmVIKb'];_0x2a51=function(){return _0x287bb7;};return _0x2a51();}import{Sessions as _0x44ac78}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4604a0}from'./presencelist/presencelistui.js';export class PresenceList extends _0xde5a9c{static get[_0x1a07a9(0x1ae)](){return[_0x44ac78,_0x4604a0];}static get[_0x1a07a9(0x1a9)](){var _0x53d359=_0x1a07a9;return _0x53d359(0x1a5);}static get[_0x1a07a9(0x1a8)](){return!0x0;}static get[_0x1a07a9(0x1a4)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x579045)());[_0x43b5f7(0x152)];static get[_0x43b5f7(0x179)](){const _0x1046d2=_0x43b5f7;return[_0x287211,_0x1046d2(0x13a),_0x1a994c,_0x433166];}static get[_0x43b5f7(0x178)](){const _0x20d68f=_0x43b5f7;return _0x20d68f(0x18e);}static get[_0x43b5f7(0x14e)](){return!0x0;}static get[_0x43b5f7(0x14f)](){return!0x0;}constructor(_0x838b29){const _0x146c7c=_0x43b5f7;super(_0x838b29),this[_0x146c7c(0x152)]=new Map();}async[_0x43b5f7(0x131)](){const _0x18b0aa=_0x43b5f7,_0xf05fdf=this[_0x18b0aa(0x13f)],_0x4f0691=_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x18b0aa(0x13a));if(_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x287211)[_0x18b0aa(0x140)](this),_0x4f0691[_0x18b0aa(0x145)]={'addCommentThread':async({channelId:_0x38430c,threadId:_0x405714,comments:_0x5ce76d,resolvedAt:_0x311167,resolvedBy:_0x299b57,context:_0x35f5c1,attributes:_0x39dc47})=>{const _0x445f83=_0x18b0aa,_0x51e55b=await this[_0x445f83(0x177)](_0x38430c)[_0x445f83(0x138)]({'commentThreadId':_0x405714,'comments':_0x5ce76d[_0x445f83(0x161)](_0x1bfa05=>function(_0x9be0d,_0x581a8a,_0x14041e){const _0x3d44b3=_0x445f83;return{'commentThreadId':_0x14041e,'commentId':_0x9be0d[_0x3d44b3(0x190)],'userId':_0x9be0d[_0x3d44b3(0x174)],'content':_0x9be0d[_0x3d44b3(0x132)],'documentId':_0x581a8a,'createdAt':_0x9be0d[_0x3d44b3(0x14c)],'attributes':_0x9be0d[_0x3d44b3(0x184)]||{}};}(_0x1bfa05,_0x38430c,_0x405714)),'resolvedAt':_0x311167,'resolvedBy':_0x299b57,'context':_0x35f5c1,'attributes':_0x39dc47})[_0x445f83(0x16e)](k);return{'threadId':_0x51e55b[_0x445f83(0x16c)],'comments':_0x51e55b[_0x445f83(0x15e)]};},'getCommentThread':async({channelId:_0x5d5c24,threadId:_0x5476e4})=>{const _0x124289=_0x18b0aa,_0x1236a2=await this[_0x124289(0x177)](_0x5d5c24)[_0x124289(0x18b)](_0x5476e4)[_0x124289(0x16e)](k);return _0x1236a2[_0x124289(0x15d)]?null:(await this[_0x124289(0x170)]([_0x1236a2]),{'threadId':_0x1236a2[_0x124289(0x16c)],'comments':_0x1236a2[_0x124289(0x15e)][_0x124289(0x161)](B),'context':_0x1236a2[_0x124289(0x13f)],'resolvedAt':_0x1236a2[_0x124289(0x137)],'resolvedBy':_0x1236a2[_0x124289(0x14d)],'attributes':_0x1236a2[_0x124289(0x184)]||{}});},'updateCommentThread':async({channelId:_0x5c9050,threadId:_0x4b7690,context:_0x36059f,unlinkedAt:_0xb6e70e,attributes:_0x576ec0})=>this[_0x18b0aa(0x177)](_0x5c9050)[_0x18b0aa(0x15f)]({'commentThreadId':_0x4b7690,'context':_0x36059f,'attributes':_0x576ec0,'unlinkedAt':_0xb6e70e})[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'resolveCommentThread':async({channelId:_0x30f7a0,threadId:_0x34dcc3})=>{const _0x3a2e48=_0x18b0aa,_0x233a10=await this[_0x3a2e48(0x177)](_0x30f7a0)[_0x3a2e48(0x165)](_0x34dcc3)[_0x3a2e48(0x16e)](F)[_0x3a2e48(0x16e)](k);return{'threadId':_0x233a10[_0x3a2e48(0x16c)],'resolvedAt':_0x233a10[_0x3a2e48(0x137)],'resolvedBy':_0x233a10[_0x3a2e48(0x14d)]};},'reopenCommentThread':async({channelId:_0x549725,threadId:_0x1c3fe8})=>this[_0x18b0aa(0x177)](_0x549725)[_0x18b0aa(0x139)](_0x1c3fe8)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'removeCommentThread':({channelId:_0x471655,threadId:_0x13c02b})=>this[_0x18b0aa(0x177)](_0x471655)[_0x18b0aa(0x146)](_0x13c02b)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'addComment':({channelId:_0x335306,threadId:_0x43590d,commentId:_0x1f352c,content:_0x182a42,attributes:_0x3948af})=>this[_0x18b0aa(0x177)](_0x335306)[_0x18b0aa(0x180)](_0x43590d,_0x1f352c,_0x182a42,_0x3948af)[_0x18b0aa(0x16e)](k),'updateComment':({channelId:_0x404ceb,threadId:_0x644669,commentId:_0x5917da,content:_0xe0391,attributes:_0x135af7})=>this[_0x18b0aa(0x177)](_0x404ceb)[_0x18b0aa(0x188)](_0x644669,_0x5917da,_0xe0391,_0x135af7)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k),'removeComment':({channelId:_0x2ebf99,threadId:_0x246c9b,commentId:_0x74f9d8})=>this[_0x18b0aa(0x177)](_0x2ebf99)[_0x18b0aa(0x134)](_0x246c9b,_0x74f9d8)[_0x18b0aa(0x16e)](F)[_0x18b0aa(0x16e)](k)},_0xf05fdf instanceof _0x355a45){const _0x102179=_0xf05fdf[_0x18b0aa(0x173)][_0x18b0aa(0x172)](_0x18b0aa(0x17e)),_0x2c8125=_0xf05fdf[_0x18b0aa(0x163)][_0x18b0aa(0x172)](_0x1a994c);await this[_0x18b0aa(0x17f)](_0x102179);const _0x5b162d=await this[_0x18b0aa(0x152)][_0x18b0aa(0x172)](_0x102179)[_0x18b0aa(0x168)]();this[_0x18b0aa(0x17c)](_0x2c8125,_0x18b0aa(0x15b)+_0x102179,(_0x3cb857,{session:_0x564ec5})=>{const _0x43bca0=_0x18b0aa;_0x564ec5['id']===_0x2c8125[_0x43bca0(0x18d)]&&(_0x3cb857[_0x43bca0(0x181)](),this[_0x43bca0(0x13f)][_0x43bca0(0x163)][_0x43bca0(0x172)](_0x43bca0(0x158))[_0x43bca0(0x185)](_0x564ec5[_0x43bca0(0x17a)],_0x102179));}),_0x2c8125[_0x18b0aa(0x13b)](_0x102179,_0x5b162d);}}async[_0x43b5f7(0x17f)](_0x3629b2){const _0x59a9a9=_0x43b5f7;if(this[_0x59a9a9(0x152)][_0x59a9a9(0x148)](_0x3629b2))throw new _0x33c369(_0x59a9a9(0x159),null,{'channelId':_0x3629b2});const _0xc24524=this[_0x59a9a9(0x13f)][_0x59a9a9(0x163)][_0x59a9a9(0x172)](_0x59a9a9(0x13a)),_0x483d19=new s[(_0x59a9a9(0x164))](_0x3629b2);this[_0x59a9a9(0x152)][_0x59a9a9(0x169)](_0x3629b2,_0x483d19),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x143),(_0x1097e2,_0x1357e8)=>{const _0x1fce69=_0x59a9a9,{commentThreadId:_0x365b07,documentId:_0x468f0c,context:_0x3a9a1b,attributes:_0x3dc3d1,resolvedAt:_0x582083,resolvedBy:_0x139742,comments:_0x5407b5}=_0x1357e8;_0xc24524[_0x1fce69(0x18b)](_0x365b07)||_0xc24524[_0x1fce69(0x138)]({'threadId':_0x365b07,'channelId':_0x468f0c,'comments':_0x5407b5?_0x5407b5[_0x1fce69(0x161)](B):[],'context':_0x3a9a1b,'attributes':_0x3dc3d1,'resolvedAt':_0x582083,'resolvedBy':_0x139742,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x189),(_0x513a09,{commentThreadId:_0x1652bf,documentId:_0x51887b,context:_0xf4fd33,unlinkedAt:_0x236035,attributes:_0x4b200b})=>{const _0x43e025=_0x59a9a9;_0xc24524[_0x43e025(0x18b)](_0x1652bf)&&_0xc24524[_0x43e025(0x15f)]({'threadId':_0x1652bf,'channelId':_0x51887b,'context':_0xf4fd33,'unlinkedAt':_0x236035,'attributes':_0x4b200b,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x13e),(_0x2f92a,{commentThreadId:_0x396b2d,resolvedBy:_0x3e8fec,resolvedAt:_0x218b03})=>{const _0x11820a=_0x59a9a9,_0x3055fd=_0xc24524[_0x11820a(0x18b)](_0x396b2d);_0x3055fd&&_0x3055fd[_0x11820a(0x162)]({'resolvedBy':_0x3e8fec,'resolvedAt':_0x218b03,'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x14a),(_0x2b944a,{commentThreadId:_0x78d7eb})=>{const _0x1579a0=_0x59a9a9,_0x51fe65=_0xc24524[_0x1579a0(0x18b)](_0x78d7eb);_0x51fe65&&_0x51fe65[_0x1579a0(0x167)]({'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x18f),(_0x25b64b,{commentThreadId:_0x242df5})=>{const _0x479058=_0x59a9a9,_0x18fa6f=_0xc24524[_0x479058(0x18b)](_0x242df5);_0x18fa6f&&_0x18fa6f[_0x479058(0x17b)]({'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x149),(_0x2fee83,_0xdcacab)=>{const _0x51f568=_0x59a9a9,_0x388aa3=_0xdcacab[_0x51f568(0x16c)],_0x5804e5=_0xc24524[_0x51f568(0x18b)](_0x388aa3);_0x5804e5&&_0x5804e5[_0x51f568(0x180)]({...B(_0xdcacab),'isFromAdapter':!0x0});}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x133),(_0x394a52,{commentThreadId:_0xd93d24,commentId:_0x57960d,content:_0x199f01,attributes:_0x5b9bd8})=>{const _0x24b44c=_0x59a9a9,_0xef7f9c=_0xc24524[_0x24b44c(0x18b)](_0xd93d24);if(_0xef7f9c){const _0x8b2934=_0xef7f9c[_0x24b44c(0x16d)](_0x57960d);_0x8b2934&&_0x8b2934[_0x24b44c(0x16b)]({'content':_0x199f01,'attributes':_0x5b9bd8,'isFromAdapter':!0x0});}}),this[_0x59a9a9(0x17c)](_0x483d19,_0x59a9a9(0x12f),(_0x530b8d,{commentThreadId:_0x5ebc20,commentId:_0x444d97})=>{const _0xfc9af=_0x59a9a9,_0x413c09=_0xc24524[_0xfc9af(0x18b)](_0x5ebc20);if(_0x413c09){const _0x15398c=_0x413c09[_0xfc9af(0x16d)](_0x444d97);_0x15398c&&_0x15398c[_0xfc9af(0x17b)]({'isFromAdapter':!0x0});}}),await this[_0x59a9a9(0x12e)](_0x3629b2);}[_0x43b5f7(0x17d)](){const _0x488aa1=_0x43b5f7;if(this[_0x488aa1(0x13f)]instanceof _0x355a45){const _0x1eb737=this[_0x488aa1(0x13f)][_0x488aa1(0x173)][_0x488aa1(0x172)](_0x488aa1(0x17e));this[_0x488aa1(0x175)](_0x1eb737);}}[_0x43b5f7(0x175)](_0x2cafdb){const _0x1a8093=_0x43b5f7;if(!this[_0x1a8093(0x152)][_0x1a8093(0x148)](_0x2cafdb))throw new _0x33c369(_0x1a8093(0x147),null,{'channelId':_0x2cafdb});this[_0x1a8093(0x177)](_0x2cafdb)[_0x1a8093(0x12d)](),this[_0x1a8093(0x152)][_0x1a8093(0x12c)](_0x2cafdb);}async[_0x43b5f7(0x171)](){const _0x145e87=_0x43b5f7;for(const _0x192acc of this[_0x145e87(0x152)][_0x145e87(0x153)]())await this[_0x145e87(0x12e)](_0x192acc);if(this[_0x145e87(0x13f)]instanceof _0x355a45){const _0x425283=this[_0x145e87(0x13f)][_0x145e87(0x173)][_0x145e87(0x172)](_0x145e87(0x17e)),_0x3d68a5=this[_0x145e87(0x13f)][_0x145e87(0x163)][_0x145e87(0x172)](_0x1a994c);_0x3d68a5[_0x145e87(0x183)](_0x425283);const _0xacd6c=await this[_0x145e87(0x152)][_0x145e87(0x172)](_0x425283)[_0x145e87(0x168)]();_0x3d68a5[_0x145e87(0x13b)](_0x425283,_0xacd6c);}}async[_0x43b5f7(0x12e)](_0x3c1c17){const _0x1124df=_0x43b5f7,{connection:_0x3397fe}=this[_0x1124df(0x13f)][_0x1124df(0x163)][_0x1124df(0x172)](_0x287211),_0x420fb6=this[_0x1124df(0x13f)][_0x1124df(0x163)][_0x1124df(0x172)](_0x1124df(0x13a)),_0x58b69b=this[_0x1124df(0x152)][_0x1124df(0x172)](_0x3c1c17),_0x2e8db6=await _0x58b69b[_0x1124df(0x14b)](_0x3397fe);await this[_0x1124df(0x170)](_0x2e8db6);const _0xca330d=new Set(Array[_0x1124df(0x141)](_0x420fb6[_0x1124df(0x15c)]({'channelId':_0x3c1c17}),_0x5c962d=>_0x5c962d['id']));for(const _0x6a422f of _0x2e8db6)_0x6a422f[_0x1124df(0x15d)]||_0xca330d[_0x1124df(0x12c)](_0x6a422f[_0x1124df(0x16c)]);for(const _0x3d8e77 of _0xca330d)_0x420fb6[_0x1124df(0x18b)](_0x3d8e77)[_0x1124df(0x17b)]({'isFromAdapter':!0x0});for(const _0x2b4ce0 of _0x2e8db6){let _0x254c0f=_0x420fb6[_0x1124df(0x18b)](_0x2b4ce0[_0x1124df(0x16c)]);const {commentThreadId:_0x199c74,context:_0x3596f8,attributes:_0x10f2dc,resolvedBy:_0x50105b,resolvedAt:_0x32671a,unlinkedAt:_0x45d920,deletedAt:_0x228663}=_0x2b4ce0;if(_0x228663)continue;_0x254c0f||(_0x254c0f=_0x420fb6[_0x1124df(0x138)]({'channelId':_0x3c1c17,'threadId':_0x199c74,'context':_0x3596f8,'attributes':_0x10f2dc||{},'resolvedBy':_0x50105b,'resolvedAt':_0x32671a,'unlinkedAt':_0x45d920,'isFromAdapter':!0x0}));const _0x2a7022=new Set(Array[_0x1124df(0x141)](_0x254c0f[_0x1124df(0x15e)],_0x2fbae3=>_0x2fbae3['id']));for(const _0x4b3a27 of _0x2b4ce0[_0x1124df(0x15e)])_0x2a7022[_0x1124df(0x12c)](_0x4b3a27[_0x1124df(0x190)]);for(const _0x5e9276 of _0x2a7022)_0x254c0f[_0x1124df(0x16d)](_0x5e9276)[_0x1124df(0x17b)]({'isFromAdapter':!0x0});for(const _0x186f25 of _0x2b4ce0[_0x1124df(0x15e)]){const _0xcf7814=_0x254c0f[_0x1124df(0x16d)](_0x186f25[_0x1124df(0x190)]);_0xcf7814?_0xcf7814[_0x1124df(0x132)]!==_0x186f25[_0x1124df(0x132)]&&_0xcf7814[_0x1124df(0x16b)]({'content':_0x186f25[_0x1124df(0x132)],'isFromAdapter':!0x0}):_0x254c0f[_0x1124df(0x180)](Object[_0x1124df(0x156)](B(_0x186f25),{'isFromAdapter':!0x0}));}}}[_0x43b5f7(0x177)](_0x15baf3){const _0x2265a2=_0x43b5f7;if(!this[_0x2265a2(0x152)][_0x2265a2(0x148)](_0x15baf3))throw new _0x33c369(_0x2265a2(0x187),null,{'channelId':_0x15baf3});return this[_0x2265a2(0x152)][_0x2265a2(0x172)](_0x15baf3);}async[_0x43b5f7(0x170)](_0x301346){const _0x43c1ef=_0x43b5f7,_0x2edb31=this[_0x43c1ef(0x13f)][_0x43c1ef(0x163)][_0x43c1ef(0x172)](_0x433166),{connection:_0x528de0}=this[_0x43c1ef(0x13f)][_0x43c1ef(0x163)][_0x43c1ef(0x172)](_0x287211),_0x2c2b8e=new Set();for(const {resolvedBy:_0x7492ad,comments:_0x41ba0d}of _0x301346){_0x7492ad&&!_0x2edb31[_0x43c1ef(0x191)](_0x7492ad)&&_0x2c2b8e[_0x43c1ef(0x151)](_0x7492ad);for(const {userId:_0x1d79f7}of _0x41ba0d)_0x2edb31[_0x43c1ef(0x191)](_0x1d79f7)||_0x2c2b8e[_0x43c1ef(0x151)](_0x1d79f7);}if(0x0===_0x2c2b8e[_0x43c1ef(0x16f)])return;const _0x54dd5e=await _0x40487d[_0x43c1ef(0x142)](_0x528de0,Array[_0x43c1ef(0x141)](_0x2c2b8e));for(const _0x3193e8 of _0x54dd5e)_0x2edb31[_0x43c1ef(0x191)](_0x3193e8['id'])||_0x2edb31[_0x43c1ef(0x144)](_0x3193e8);}}export{s as CloudServicesCommentsAdapter};async function F(_0x3d6946){const _0x4134f8=_0x43b5f7;if(_0x4134f8(0x16a)!==_0x3d6946[_0x4134f8(0x157)])throw _0x3d6946;}function k(_0x176578){const _0x1d2989=_0x43b5f7;if((_0x56a484=_0x176578)[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x155))||_0x56a484[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x15a))||_0x56a484[_0x1d2989(0x13c)][_0x1d2989(0x186)](_0x1d2989(0x150)))return new Promise(()=>{});var _0x56a484;throw _0x176578;}function B(_0x4d7566){const _0x3d8372=_0x43b5f7;return{'threadId':_0x4d7566[_0x3d8372(0x16c)],'commentId':_0x4d7566[_0x3d8372(0x190)],'content':_0x4d7566[_0x3d8372(0x132)],'createdAt':_0x4d7566[_0x3d8372(0x14c)],'authorId':_0x4d7566[_0x3d8372(0x176)],'attributes':_0x4d7566[_0x3d8372(0x184)]||{}};}
|
|
23
|
+
const _0x401576=_0x10b3;(function(_0x156a38,_0x539906){const _0x96074e=_0x10b3,_0x56390c=_0x156a38();while(!![]){try{const _0x19a02b=-parseInt(_0x96074e(0x22d))/0x1*(-parseInt(_0x96074e(0x1ed))/0x2)+-parseInt(_0x96074e(0x203))/0x3+-parseInt(_0x96074e(0x23f))/0x4*(parseInt(_0x96074e(0x216))/0x5)+parseInt(_0x96074e(0x224))/0x6+parseInt(_0x96074e(0x202))/0x7+-parseInt(_0x96074e(0x233))/0x8+-parseInt(_0x96074e(0x232))/0x9;if(_0x19a02b===_0x539906)break;else _0x56390c['push'](_0x56390c['shift']());}catch(_0x320800){_0x56390c['push'](_0x56390c['shift']());}}}(_0x5ae7,0xa0e50));import{Context as _0x4d9792,ContextPlugin as _0x4cd080}from'ckeditor5/src/core.js';import{CKEditorError as _0x1326c9}from'ckeditor5/src/utils.js';import{Users as _0x391c8f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x10b3(_0xf93ef0,_0x42cd0a){const _0x5ae718=_0x5ae7();return _0x10b3=function(_0x10b39d,_0x3ba95a){_0x10b39d=_0x10b39d-0x1e0;let _0x39de06=_0x5ae718[_0x10b39d];return _0x39de06;},_0x10b3(_0xf93ef0,_0x42cd0a);}import{CommentsService as _0x21659a,User as _0x4f1c62}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2f1d55}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1064a4}from'../realtimecollaborativeediting/sessions.js';class s extends _0x4cd080{static [_0x401576(0x215)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x21659a)());[_0x401576(0x222)];static get[_0x401576(0x20b)](){const _0x28d9fd=_0x401576;return[_0x2f1d55,_0x28d9fd(0x1e5),_0x1064a4,_0x391c8f];}static get[_0x401576(0x22e)](){const _0x30bf71=_0x401576;return _0x30bf71(0x209);}static get[_0x401576(0x21c)](){return!0x0;}static get[_0x401576(0x228)](){return!0x0;}constructor(_0x52ef4b){const _0x470b91=_0x401576;super(_0x52ef4b),this[_0x470b91(0x222)]=new Map();}async[_0x401576(0x1ee)](){const _0x585584=_0x401576,_0x8c008b=this[_0x585584(0x22b)],_0x5ab8ce=_0x8c008b[_0x585584(0x1fd)][_0x585584(0x1e4)](_0x585584(0x1e5));if(_0x8c008b[_0x585584(0x1fd)][_0x585584(0x1e4)](_0x2f1d55)[_0x585584(0x1e1)](this),_0x5ab8ce[_0x585584(0x1ea)]={'addCommentThread':async({channelId:_0x40fd57,threadId:_0x1c5b66,comments:_0x4f9fdf,resolvedAt:_0x59c2cb,resolvedBy:_0x417d42,context:_0x2673b5,attributes:_0x39496a})=>{const _0x3e71d6=_0x585584,_0xc3a74e=await this[_0x3e71d6(0x21b)](_0x40fd57)[_0x3e71d6(0x231)]({'commentThreadId':_0x1c5b66,'comments':_0x4f9fdf[_0x3e71d6(0x205)](_0x338678=>function(_0x65f778,_0x5ad7d8,_0x4309a8){const _0x4778a1=_0x3e71d6;return{'commentThreadId':_0x4309a8,'commentId':_0x65f778[_0x4778a1(0x22a)],'userId':_0x65f778[_0x4778a1(0x206)],'content':_0x65f778[_0x4778a1(0x240)],'documentId':_0x5ad7d8,'createdAt':_0x65f778[_0x4778a1(0x219)],'attributes':_0x65f778[_0x4778a1(0x21f)]||{}};}(_0x338678,_0x40fd57,_0x1c5b66)),'resolvedAt':_0x59c2cb,'resolvedBy':_0x417d42,'context':_0x2673b5,'attributes':_0x39496a})[_0x3e71d6(0x1fa)](k);return{'threadId':_0xc3a74e[_0x3e71d6(0x242)],'comments':_0xc3a74e[_0x3e71d6(0x20c)]};},'getCommentThread':async({channelId:_0x14015d,threadId:_0x5d0a4d})=>{const _0x5a403f=_0x585584,_0x502c8c=await this[_0x5a403f(0x21b)](_0x14015d)[_0x5a403f(0x20e)](_0x5d0a4d)[_0x5a403f(0x1fa)](k);return _0x502c8c[_0x5a403f(0x1f7)]?null:(await this[_0x5a403f(0x207)]([_0x502c8c]),{'threadId':_0x502c8c[_0x5a403f(0x242)],'comments':_0x502c8c[_0x5a403f(0x20c)][_0x5a403f(0x205)](B),'context':_0x502c8c[_0x5a403f(0x22b)],'resolvedAt':_0x502c8c[_0x5a403f(0x230)],'resolvedBy':_0x502c8c[_0x5a403f(0x239)],'attributes':_0x502c8c[_0x5a403f(0x21f)]||{}});},'updateCommentThread':async({channelId:_0x40c095,threadId:_0xe9bc2f,context:_0x498381,unlinkedAt:_0x4a1e6d,attributes:_0x3a0d3f})=>this[_0x585584(0x21b)](_0x40c095)[_0x585584(0x1e0)]({'commentThreadId':_0xe9bc2f,'context':_0x498381,'attributes':_0x3a0d3f,'unlinkedAt':_0x4a1e6d})[_0x585584(0x1fa)](F)[_0x585584(0x1fa)](k),'resolveCommentThread':async({channelId:_0x3afe6f,threadId:_0x9e8d30})=>{const _0x213901=_0x585584,_0x484dcd=await this[_0x213901(0x21b)](_0x3afe6f)[_0x213901(0x1fc)](_0x9e8d30)[_0x213901(0x1fa)](F)[_0x213901(0x1fa)](k);return{'threadId':_0x484dcd[_0x213901(0x242)],'resolvedAt':_0x484dcd[_0x213901(0x230)],'resolvedBy':_0x484dcd[_0x213901(0x239)]};},'reopenCommentThread':async({channelId:_0x5633b1,threadId:_0x339bb8})=>this[_0x585584(0x21b)](_0x5633b1)[_0x585584(0x21a)](_0x339bb8)[_0x585584(0x1fa)](F)[_0x585584(0x1fa)](k),'removeCommentThread':({channelId:_0x275b2c,threadId:_0x121f72})=>this[_0x585584(0x21b)](_0x275b2c)[_0x585584(0x23d)](_0x121f72)[_0x585584(0x1fa)](F)[_0x585584(0x1fa)](k),'addComment':({channelId:_0x1b5417,threadId:_0x39c694,commentId:_0x16bb37,content:_0x56bde0,attributes:_0x358402})=>this[_0x585584(0x21b)](_0x1b5417)[_0x585584(0x1e8)](_0x39c694,_0x16bb37,_0x56bde0,_0x358402)[_0x585584(0x1fa)](k),'updateComment':({channelId:_0x711a1e,threadId:_0x5f03c,commentId:_0x433cdb,content:_0x5a6bf4,attributes:_0x2e612b})=>this[_0x585584(0x21b)](_0x711a1e)[_0x585584(0x220)](_0x5f03c,_0x433cdb,_0x5a6bf4,_0x2e612b)[_0x585584(0x1fa)](F)[_0x585584(0x1fa)](k),'removeComment':({channelId:_0x344622,threadId:_0x496ff5,commentId:_0x8df93b})=>this[_0x585584(0x21b)](_0x344622)[_0x585584(0x22c)](_0x496ff5,_0x8df93b)[_0x585584(0x1fa)](F)[_0x585584(0x1fa)](k)},_0x8c008b instanceof _0x4d9792){const _0x213ae6=_0x8c008b[_0x585584(0x1e6)][_0x585584(0x1e4)](_0x585584(0x226)),_0x1df859=_0x8c008b[_0x585584(0x1fd)][_0x585584(0x1e4)](_0x1064a4);await this[_0x585584(0x23e)](_0x213ae6);const _0x5c98c8=await this[_0x585584(0x222)][_0x585584(0x1e4)](_0x213ae6)[_0x585584(0x20a)]();this[_0x585584(0x1f1)](_0x1df859,_0x585584(0x236)+_0x213ae6,(_0x14172d,{session:_0x2955f8})=>{const _0xab885c=_0x585584;_0x2955f8['id']===_0x1df859[_0xab885c(0x20f)]&&(_0x14172d[_0xab885c(0x212)](),this[_0xab885c(0x22b)][_0xab885c(0x1fd)][_0xab885c(0x1e4)](_0xab885c(0x1f3))[_0xab885c(0x1f8)](_0x2955f8[_0xab885c(0x234)],_0x213ae6));}),_0x1df859[_0x585584(0x1f5)](_0x213ae6,_0x5c98c8);}}async[_0x401576(0x23e)](_0x4690a1){const _0x3d689c=_0x401576;if(this[_0x3d689c(0x222)][_0x3d689c(0x1f2)](_0x4690a1))throw new _0x1326c9(_0x3d689c(0x210),null,{'channelId':_0x4690a1});const _0x13cbc0=this[_0x3d689c(0x22b)][_0x3d689c(0x1fd)][_0x3d689c(0x1e4)](_0x3d689c(0x1e5)),_0x261bc0=new s[(_0x3d689c(0x215))](_0x4690a1);this[_0x3d689c(0x222)][_0x3d689c(0x217)](_0x4690a1,_0x261bc0),this[_0x3d689c(0x1f1)](_0x261bc0,_0x3d689c(0x1f4),(_0x28c2dc,_0x4d8110)=>{const _0x4d2307=_0x3d689c,{commentThreadId:_0x30a65b,documentId:_0x22b3dc,context:_0x5828a0,attributes:_0x435e2b,resolvedAt:_0x490fe9,resolvedBy:_0x3d8200,comments:_0x3b9957}=_0x4d8110;_0x13cbc0[_0x4d2307(0x20e)](_0x30a65b)||_0x13cbc0[_0x4d2307(0x231)]({'threadId':_0x30a65b,'channelId':_0x22b3dc,'comments':_0x3b9957?_0x3b9957[_0x4d2307(0x205)](B):[],'context':_0x5828a0,'attributes':_0x435e2b,'resolvedAt':_0x490fe9,'resolvedBy':_0x3d8200,'isFromAdapter':!0x0});}),this[_0x3d689c(0x1f1)](_0x261bc0,_0x3d689c(0x241),(_0x1d6b97,{commentThreadId:_0x1143c9,documentId:_0x33c41a,context:_0x5256f2,unlinkedAt:_0x55ce7a,attributes:_0x2d2e9c})=>{const _0x369dbb=_0x3d689c;_0x13cbc0[_0x369dbb(0x20e)](_0x1143c9)&&_0x13cbc0[_0x369dbb(0x1e0)]({'threadId':_0x1143c9,'channelId':_0x33c41a,'context':_0x5256f2,'unlinkedAt':_0x55ce7a,'attributes':_0x2d2e9c,'isFromAdapter':!0x0});}),this[_0x3d689c(0x1f1)](_0x261bc0,_0x3d689c(0x243),(_0x58d6fd,{commentThreadId:_0xfb1845,resolvedBy:_0x21d411,resolvedAt:_0x156536})=>{const _0x3144c9=_0x3d689c,_0x34e3be=_0x13cbc0[_0x3144c9(0x20e)](_0xfb1845);_0x34e3be&&_0x34e3be[_0x3144c9(0x23a)]({'resolvedBy':_0x21d411,'resolvedAt':_0x156536,'isFromAdapter':!0x0});}),this[_0x3d689c(0x1f1)](_0x261bc0,_0x3d689c(0x1e2),(_0x2642a7,{commentThreadId:_0xbeeb45})=>{const _0x2e131d=_0x3d689c,_0xe36a77=_0x13cbc0[_0x2e131d(0x20e)](_0xbeeb45);_0xe36a77&&_0xe36a77[_0x2e131d(0x21e)]({'isFromAdapter':!0x0});}),this[_0x3d689c(0x1f1)](_0x261bc0,_0x3d689c(0x204),(_0x2222e9,{commentThreadId:_0x1f8cd0})=>{const _0x42d4fc=_0x3d689c,_0x141125=_0x13cbc0[_0x42d4fc(0x20e)](_0x1f8cd0);_0x141125&&_0x141125[_0x42d4fc(0x1e7)]({'isFromAdapter':!0x0});}),this[_0x3d689c(0x1f1)](_0x261bc0,_0x3d689c(0x22f),(_0x3df278,_0x26d38b)=>{const _0x49290e=_0x3d689c,_0x176297=_0x26d38b[_0x49290e(0x242)],_0x443918=_0x13cbc0[_0x49290e(0x20e)](_0x176297);_0x443918&&_0x443918[_0x49290e(0x1e8)]({...B(_0x26d38b),'isFromAdapter':!0x0});}),this[_0x3d689c(0x1f1)](_0x261bc0,_0x3d689c(0x1fe),(_0x4019f5,{commentThreadId:_0x2192de,commentId:_0x25883d,content:_0x463314,attributes:_0xeafdfb})=>{const _0xc06eb9=_0x3d689c,_0xaaee27=_0x13cbc0[_0xc06eb9(0x20e)](_0x2192de);if(_0xaaee27){const _0x48f289=_0xaaee27[_0xc06eb9(0x229)](_0x25883d);_0x48f289&&_0x48f289[_0xc06eb9(0x23b)]({'content':_0x463314,'attributes':_0xeafdfb,'isFromAdapter':!0x0});}}),this[_0x3d689c(0x1f1)](_0x261bc0,_0x3d689c(0x1fb),(_0x50363c,{commentThreadId:_0x40133a,commentId:_0x2fd725})=>{const _0x1d19d8=_0x3d689c,_0x25fe52=_0x13cbc0[_0x1d19d8(0x20e)](_0x40133a);if(_0x25fe52){const _0x24787c=_0x25fe52[_0x1d19d8(0x229)](_0x2fd725);_0x24787c&&_0x24787c[_0x1d19d8(0x1e7)]({'isFromAdapter':!0x0});}}),await this[_0x3d689c(0x221)](_0x4690a1);}[_0x401576(0x20d)](){const _0x34e86e=_0x401576;if(this[_0x34e86e(0x22b)]instanceof _0x4d9792){const _0x38d83a=this[_0x34e86e(0x22b)][_0x34e86e(0x1e6)][_0x34e86e(0x1e4)](_0x34e86e(0x226));this[_0x34e86e(0x237)](_0x38d83a);}}[_0x401576(0x237)](_0x34b204){const _0x5c8ccb=_0x401576;if(!this[_0x5c8ccb(0x222)][_0x5c8ccb(0x1f2)](_0x34b204))throw new _0x1326c9(_0x5c8ccb(0x21d),null,{'channelId':_0x34b204});this[_0x5c8ccb(0x21b)](_0x34b204)[_0x5c8ccb(0x1f6)](),this[_0x5c8ccb(0x222)][_0x5c8ccb(0x1ff)](_0x34b204);}async[_0x401576(0x1f0)](){const _0x494c5b=_0x401576;for(const _0x6c548 of this[_0x494c5b(0x222)][_0x494c5b(0x23c)]())await this[_0x494c5b(0x221)](_0x6c548);if(this[_0x494c5b(0x22b)]instanceof _0x4d9792){const _0x211f03=this[_0x494c5b(0x22b)][_0x494c5b(0x1e6)][_0x494c5b(0x1e4)](_0x494c5b(0x226)),_0x3dc4dd=this[_0x494c5b(0x22b)][_0x494c5b(0x1fd)][_0x494c5b(0x1e4)](_0x1064a4);_0x3dc4dd[_0x494c5b(0x200)](_0x211f03);const _0x51dad7=await this[_0x494c5b(0x222)][_0x494c5b(0x1e4)](_0x211f03)[_0x494c5b(0x20a)]();_0x3dc4dd[_0x494c5b(0x1f5)](_0x211f03,_0x51dad7);}}async[_0x401576(0x221)](_0x20cdd7){const _0x3ed5d5=_0x401576,{connection:_0x5b8c24}=this[_0x3ed5d5(0x22b)][_0x3ed5d5(0x1fd)][_0x3ed5d5(0x1e4)](_0x2f1d55),_0x4f4d05=this[_0x3ed5d5(0x22b)][_0x3ed5d5(0x1fd)][_0x3ed5d5(0x1e4)](_0x3ed5d5(0x1e5)),_0x545a7c=this[_0x3ed5d5(0x222)][_0x3ed5d5(0x1e4)](_0x20cdd7),_0x2c44bb=await _0x545a7c[_0x3ed5d5(0x1ec)](_0x5b8c24);await this[_0x3ed5d5(0x207)](_0x2c44bb);const _0x437205=new Set(Array[_0x3ed5d5(0x1ef)](_0x4f4d05[_0x3ed5d5(0x211)]({'channelId':_0x20cdd7}),_0x211dcb=>_0x211dcb['id']));for(const _0x421d1a of _0x2c44bb)_0x421d1a[_0x3ed5d5(0x1f7)]||_0x437205[_0x3ed5d5(0x1ff)](_0x421d1a[_0x3ed5d5(0x242)]);for(const _0x2c18a5 of _0x437205)_0x4f4d05[_0x3ed5d5(0x20e)](_0x2c18a5)[_0x3ed5d5(0x1e7)]({'isFromAdapter':!0x0});for(const _0x1dd0dc of _0x2c44bb){let _0xf35402=_0x4f4d05[_0x3ed5d5(0x20e)](_0x1dd0dc[_0x3ed5d5(0x242)]);const {commentThreadId:_0x1d3fdc,context:_0x589c63,attributes:_0x4f7e88,resolvedBy:_0x338797,resolvedAt:_0x653b9f,unlinkedAt:_0x18ceb9,deletedAt:_0x211c29}=_0x1dd0dc;if(_0x211c29)continue;_0xf35402||(_0xf35402=_0x4f4d05[_0x3ed5d5(0x231)]({'channelId':_0x20cdd7,'threadId':_0x1d3fdc,'context':_0x589c63,'attributes':_0x4f7e88||{},'resolvedBy':_0x338797,'resolvedAt':_0x653b9f,'unlinkedAt':_0x18ceb9,'isFromAdapter':!0x0}));const _0x2a62bd=new Set(Array[_0x3ed5d5(0x1ef)](_0xf35402[_0x3ed5d5(0x20c)],_0x28307b=>_0x28307b['id']));for(const _0x2915d8 of _0x1dd0dc[_0x3ed5d5(0x20c)])_0x2a62bd[_0x3ed5d5(0x1ff)](_0x2915d8[_0x3ed5d5(0x22a)]);for(const _0x49c1f1 of _0x2a62bd)_0xf35402[_0x3ed5d5(0x229)](_0x49c1f1)[_0x3ed5d5(0x1e7)]({'isFromAdapter':!0x0});for(const _0x5a8fde of _0x1dd0dc[_0x3ed5d5(0x20c)]){const _0x519f85=_0xf35402[_0x3ed5d5(0x229)](_0x5a8fde[_0x3ed5d5(0x22a)]);_0x519f85?_0x519f85[_0x3ed5d5(0x240)]!==_0x5a8fde[_0x3ed5d5(0x240)]&&_0x519f85[_0x3ed5d5(0x23b)]({'content':_0x5a8fde[_0x3ed5d5(0x240)],'isFromAdapter':!0x0}):_0xf35402[_0x3ed5d5(0x1e8)](Object[_0x3ed5d5(0x1e9)](B(_0x5a8fde),{'isFromAdapter':!0x0}));}}}[_0x401576(0x21b)](_0x426494){const _0x2bca64=_0x401576;if(!this[_0x2bca64(0x222)][_0x2bca64(0x1f2)](_0x426494))throw new _0x1326c9(_0x2bca64(0x1e3),null,{'channelId':_0x426494});return this[_0x2bca64(0x222)][_0x2bca64(0x1e4)](_0x426494);}async[_0x401576(0x207)](_0x88b5c6){const _0x1b705d=_0x401576,_0x4dbab2=this[_0x1b705d(0x22b)][_0x1b705d(0x1fd)][_0x1b705d(0x1e4)](_0x391c8f),{connection:_0x300abd}=this[_0x1b705d(0x22b)][_0x1b705d(0x1fd)][_0x1b705d(0x1e4)](_0x2f1d55),_0x4cb72f=new Set();for(const {resolvedBy:_0x41ff6f,comments:_0x1bdb1c}of _0x88b5c6){_0x41ff6f&&!_0x4dbab2[_0x1b705d(0x238)](_0x41ff6f)&&_0x4cb72f[_0x1b705d(0x208)](_0x41ff6f);for(const {userId:_0x5f38e2}of _0x1bdb1c)_0x4dbab2[_0x1b705d(0x238)](_0x5f38e2)||_0x4cb72f[_0x1b705d(0x208)](_0x5f38e2);}if(0x0===_0x4cb72f[_0x1b705d(0x227)])return;const _0x283ee5=await _0x4f1c62[_0x1b705d(0x213)](_0x300abd,Array[_0x1b705d(0x1ef)](_0x4cb72f));for(const _0x4b1d4a of _0x283ee5)_0x4dbab2[_0x1b705d(0x238)](_0x4b1d4a['id'])||_0x4dbab2[_0x1b705d(0x225)](_0x4b1d4a);}}export{s as CloudServicesCommentsAdapter};function _0x5ae7(){const _0x447b46=['reconnect','listenTo','has','Permissions','commentThreadAdded','register','disconnect','deletedAt','setPermissions','code','catch','commentRemoved','resolveCommentThread','plugins','commentUpdated','delete','unregister','message','8577555JonhYW','3825636uaVivD','commentThreadRemoved','map','authorId','_fetchMissingUsersForThreads','add','CloudServicesCommentsAdapter','getConnectedSessions','requires','comments','destroy','getCommentThread','mySessionId','cloudservicescommentsadapter-connect-already-connected','getCommentThreads','off','getMany','404','CommentsService','289890TqPblA','set','userId','createdAt','reopenCommentThread','_getService','isOfficialPlugin','cloudservicescommentsadapter-disconnect-not-exist','reopen','attributes','updateComment','_connectService','_services','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','2628822hTBARz','addUser','collaboration.channelId','size','isPremiumPlugin','getComment','commentId','context','removeComment','806423UyCloQ','pluginName','commentAdded','resolvedAt','addCommentThread','2646990gLQwKq','1004984itFUva','permissions','cloud-services-internal-error:\x20Request\x20timeout.','sessionAdd:','_terminateService','getUser','resolvedBy','resolve','update','keys','removeCommentThread','_setUpService','8ogjzOf','content','commentThreadUpdated','commentThreadId','commentThreadResolved','cloud-services-internal-error:\x20Not\x20connected.','updateCommentThread','addToReconnectionStack','commentThreadReopened','cloudservicescommentsadapter-service-not-exist','get','CommentsRepository','config','remove','addComment','assign','adapter','startsWith','connect','2iHSeUX','init','from'];_0x5ae7=function(){return _0x447b46;};return _0x5ae7();}async function F(_0x5a5cd0){const _0x5372c5=_0x401576;if(_0x5372c5(0x214)!==_0x5a5cd0[_0x5372c5(0x1f9)])throw _0x5a5cd0;}function k(_0x1f7244){const _0x2301dc=_0x401576;if((_0x56b04b=_0x1f7244)[_0x2301dc(0x201)][_0x2301dc(0x1eb)](_0x2301dc(0x223))||_0x56b04b[_0x2301dc(0x201)][_0x2301dc(0x1eb)](_0x2301dc(0x244))||_0x56b04b[_0x2301dc(0x201)][_0x2301dc(0x1eb)](_0x2301dc(0x235)))return new Promise(()=>{});var _0x56b04b;throw _0x1f7244;}function B(_0x20671a){const _0x222db7=_0x401576;return{'threadId':_0x20671a[_0x222db7(0x242)],'commentId':_0x20671a[_0x222db7(0x22a)],'content':_0x20671a[_0x222db7(0x240)],'createdAt':_0x20671a[_0x222db7(0x219)],'authorId':_0x20671a[_0x222db7(0x218)],'attributes':_0x20671a[_0x222db7(0x21f)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x31b4(_0x3dc927,_0x3abcdf){const _0x249d0d=_0x249d();return _0x31b4=function(_0x31b4a5,_0x4792d9){_0x31b4a5=_0x31b4a5-0x1d6;let _0x43972c=_0x249d0d[_0x31b4a5];return _0x43972c;},_0x31b4(_0x3dc927,_0x3abcdf);}const _0x39b133=_0x31b4;(function(_0x325ce2,_0xecaca0){const _0x38079f=_0x31b4,_0x9670=_0x325ce2();while(!![]){try{const _0x252f29=-parseInt(_0x38079f(0x1de))/0x1*(-parseInt(_0x38079f(0x1ec))/0x2)+-parseInt(_0x38079f(0x1e4))/0x3*(parseInt(_0x38079f(0x1db))/0x4)+parseInt(_0x38079f(0x1e0))/0x5*(parseInt(_0x38079f(0x1ed))/0x6)+parseInt(_0x38079f(0x1f7))/0x7*(-parseInt(_0x38079f(0x1f9))/0x8)+-parseInt(_0x38079f(0x1df))/0x9*(parseInt(_0x38079f(0x1e3))/0xa)+parseInt(_0x38079f(0x1ef))/0xb+parseInt(_0x38079f(0x1f5))/0xc;if(_0x252f29===_0xecaca0)break;else _0x9670['push'](_0x9670['shift']());}catch(_0xeb9eaa){_0x9670['push'](_0x9670['shift']());}}}(_0x249d,0x7d29e));function _0x249d(){const _0x1a32e0=['listenTo','destroy','86mpGQMs','594SdiMDQ','Comments','5665572UjwrTb','once','CommentsRepository','CommentsEditing','isOfficialPlugin','ready','4367268cfvYRU','switchReadOnly','7WTgZoA','plugins','4536816esPfvx','connected','init','_setUpService','isPremiumPlugin','RealTimeCollaborativeComments','change:state','72652CTIrfB','config','collaboration.channelId','980OMksdj','9KYgeRG','41145qUcyOj','get','requires','6378670VewfWL','3WiLPif','data','_terminateService','pluginName','isThreadsLoadingPaused','editor'];_0x249d=function(){return _0x1a32e0;};return _0x249d();}import{Plugin as _0x92cf36}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4f6b79}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4227e7}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x56dd9d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x92cf36{static get[_0x39b133(0x1e2)](){const _0x2201fc=_0x39b133;return[_0x2201fc(0x1ee),_0x4f6b79,_0x4227e7,_0x56dd9d];}static get[_0x39b133(0x1e7)](){const _0xa3f9eb=_0x39b133;return _0xa3f9eb(0x1d9);}static get[_0x39b133(0x1f3)](){return!0x0;}static get[_0x39b133(0x1d8)](){return!0x0;}[_0x39b133(0x1d6)](){const _0x54c5a9=_0x39b133,_0x52b007=this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1f8)][_0x54c5a9(0x1e1)](_0x56dd9d),_0x3a2064=this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1f8)][_0x54c5a9(0x1e1)](_0x54c5a9(0x1f2)),_0x46eda6=this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1f8)][_0x54c5a9(0x1e1)](_0x4f6b79);return this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1e5)][_0x54c5a9(0x1f0)](_0x54c5a9(0x1f4),()=>{const _0x29f8d4=_0x54c5a9;this[_0x29f8d4(0x1ea)](_0x52b007,_0x29f8d4(0x1da),(_0x26dae7,_0x51b6c4,_0xe9829a)=>{const _0x580639=_0x29f8d4;_0x3a2064[_0x580639(0x1e8)]=_0x580639(0x1fa)!==_0xe9829a;});}),this[_0x54c5a9(0x1ea)](_0x52b007,_0x54c5a9(0x1da),(_0xde9d19,_0x736adf,_0x5cafee)=>{const _0xa7d482=_0x54c5a9;this[_0xa7d482(0x1e9)][_0xa7d482(0x1f8)][_0xa7d482(0x1e1)](_0xa7d482(0x1f1))[_0xa7d482(0x1f6)](_0xa7d482(0x1fa)!==_0x5cafee);}),_0x46eda6[_0x54c5a9(0x1d7)](this[_0x54c5a9(0x1e9)][_0x54c5a9(0x1dc)][_0x54c5a9(0x1e1)](_0x54c5a9(0x1dd)));}[_0x39b133(0x1eb)](){const _0x4e33a7=_0x39b133;this[_0x4e33a7(0x1e9)][_0x4e33a7(0x1f8)][_0x4e33a7(0x1e1)](_0x4f6b79)[_0x4e33a7(0x1e6)](this[_0x4e33a7(0x1e9)][_0x4e33a7(0x1dc)][_0x4e33a7(0x1e1)](_0x4e33a7(0x1dd))),super[_0x4e33a7(0x1eb)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x53f479)());[_0x1aa1f8(0x2a5)];[_0x1aa1f8(0x25b)];[_0x1aa1f8(0x2d9)];[_0x1aa1f8(0x252)];[_0x1aa1f8(0x2ef)];[_0x1aa1f8(0x292)];[_0x1aa1f8(0x296)];[_0x1aa1f8(0x23a)];[_0x1aa1f8(0x24f)];[_0x1aa1f8(0x226)];[_0x1aa1f8(0x2c7)];[_0x1aa1f8(0x245)];[_0x1aa1f8(0x212)];[_0x1aa1f8(0x285)];[_0x1aa1f8(0x21e)];[_0x1aa1f8(0x281)];[_0x1aa1f8(0x2a1)];[_0x1aa1f8(0x203)];static get[_0x1aa1f8(0x29f)](){return[_0x29783d,_0x548109,_0x4d3afe,_0x4a8896,_0x19c178,_0x35948b];}static get[_0x1aa1f8(0x1f1)](){const _0x30b6d2=_0x1aa1f8;return _0x30b6d2(0x1ed);}static get[_0x1aa1f8(0x29e)](){return!0x0;}static get[_0x1aa1f8(0x2a4)](){return!0x0;}get[_0x1aa1f8(0x221)](){const _0x14fd34=_0x1aa1f8;return this[_0x14fd34(0x267)]+this[_0x14fd34(0x2a5)];}get[_0x1aa1f8(0x267)](){const _0x2f78f3=_0x1aa1f8;return this[_0x2f78f3(0x2d9)][_0x2f78f3(0x2c3)]-this[_0x2f78f3(0x2a5)];}get[_0x1aa1f8(0x2b2)](){const _0x2fd799=_0x1aa1f8,_0x3fedcb=this[_0x2fd799(0x2d9)][_0x2fd799(0x28e)]();for(let _0x4f7687=_0x3fedcb[_0x2fd799(0x244)]-0x1;_0x4f7687>=0x0;_0x4f7687--){const _0x3cb315=_0x3fedcb[_0x4f7687];if(!this[_0x2fd799(0x2a1)][_0x2fd799(0x223)](_0x3cb315))return _0x3cb315[_0x2fd799(0x2b6)]+0x1-this[_0x2fd799(0x2a5)];}return 0x0;}constructor(_0x217597){const _0x4ea08e=_0x1aa1f8;if(super(_0x217597),this[_0x4ea08e(0x2a5)]=0x0,this[_0x4ea08e(0x25b)]=null,this[_0x4ea08e(0x2d9)]=new _0x59e5f2(),this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2ee)][_0x4ea08e(0x216)](_0x4ea08e(0x228),{}),this[_0x4ea08e(0x252)]=this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2ee)][_0x4ea08e(0x259)](_0x4ea08e(0x225)),!this[_0x4ea08e(0x252)])throw new _0x18c0ef(_0x4ea08e(0x269),this);const _0x2bf711=_0x217597[_0x4ea08e(0x2ee)][_0x4ea08e(0x259)](_0x4ea08e(0x263))||_0x267d0c;this[_0x4ea08e(0x2ef)]=new l[(_0x4ea08e(0x2e9))](_0x2bf711,this[_0x4ea08e(0x252)]),this[_0x4ea08e(0x292)]=this[_0x4ea08e(0x2d1)][_0x4ea08e(0x2cc)][_0x4ea08e(0x224)],this[_0x4ea08e(0x296)]=new _0x4f4208(),this[_0x4ea08e(0x23a)]=[],this[_0x4ea08e(0x24f)]=new WeakSet(),this[_0x4ea08e(0x226)]=new Set(),this[_0x4ea08e(0x214)](_0x4ea08e(0x299),!0x1),this[_0x4ea08e(0x214)](_0x4ea08e(0x284),!0x1),this[_0x4ea08e(0x2c7)]=null,this[_0x4ea08e(0x245)]=!0x1,this[_0x4ea08e(0x212)]=null,this[_0x4ea08e(0x285)]=0x12c,this[_0x4ea08e(0x21e)]=this[_0x4ea08e(0x285)],this[_0x4ea08e(0x281)]=null,this[_0x4ea08e(0x2a1)]=new WeakSet(),this[_0x4ea08e(0x203)]=new Z(this[_0x4ea08e(0x2a1)]);}[_0x1aa1f8(0x236)](){const _0x2486e5=_0x1aa1f8,_0x14a7e4=this[_0x2486e5(0x2d1)],_0x4eefe0=_0x14a7e4[_0x2486e5(0x1fe)][_0x2486e5(0x259)](_0x19c178),_0xc95342=_0x14a7e4[_0x2486e5(0x1fe)][_0x2486e5(0x259)](_0x29783d);this[_0x2486e5(0x1f2)](_0x4eefe0,_0x2486e5(0x1f4),(_0x370f0b,_0xa11323)=>{const _0x3a9014=_0x2486e5,_0x5e0bca=_0xa11323[0x0];_0x5e0bca[_0x3a9014(0x25a)]&&(_0x370f0b[_0x3a9014(0x2aa)]=_0x4eefe0[_0x3a9014(0x2eb)](_0x5e0bca[_0x3a9014(0x25a)]),_0x370f0b[_0x3a9014(0x21b)]()),null===_0x5e0bca[_0x3a9014(0x25a)]&&(_0x370f0b[_0x3a9014(0x2aa)]=null,_0x370f0b[_0x3a9014(0x21b)]());},{'priority':_0x2486e5(0x266)}),this[_0x2486e5(0x1f2)](_0x14a7e4[_0x2486e5(0x2cc)][_0x2486e5(0x224)][_0x2486e5(0x2b8)],_0x2486e5(0x253),(_0x301236,_0x2f9055)=>{const _0xd8c9c=_0x2486e5;_0x2f9055[_0xd8c9c(0x2e1)]&&this[_0xd8c9c(0x2d6)]();}),this[_0x2486e5(0x1f2)](_0x14a7e4[_0x2486e5(0x2b1)][_0x2486e5(0x1ff)],_0x2486e5(0x2f3),()=>{const _0x59e1d3=_0x2486e5;this[_0x59e1d3(0x2d6)]();}),this[_0x2486e5(0x2e7)](),_0x14a7e4[_0x2486e5(0x2cc)]['on'](_0x2486e5(0x288),(_0x676951,_0x44fe6a)=>{const _0x1dbd01=_0x2486e5,_0x2189ea=_0x44fe6a[0x0];_0x2189ea[_0x1dbd01(0x2c9)]&&(this[_0x1dbd01(0x2c4)](_0x2189ea),this[_0x1dbd01(0x22b)]()&&this[_0x1dbd01(0x235)]());}),this[_0x2486e5(0x26f)](),this[_0x2486e5(0x283)](_0x2486e5(0x23b))['to'](_0xc95342,_0x2486e5(0x279),this,_0x2486e5(0x284),(_0x1af430,_0x2b34ed)=>_0x2486e5(0x246)===_0x1af430&&!_0x2b34ed),this['on'](_0x2486e5(0x251),()=>{const _0x20903d=_0x2486e5;this[_0x20903d(0x23b)]?_0x14a7e4[_0x20903d(0x20d)](_0x20903d(0x270)):_0x14a7e4[_0x20903d(0x20a)](_0x20903d(0x270));}),this[_0x2486e5(0x23b)]?_0x14a7e4[_0x2486e5(0x20d)](_0x2486e5(0x270)):_0x14a7e4[_0x2486e5(0x20a)](_0x2486e5(0x270)),this[_0x2486e5(0x214)](_0x2486e5(0x258),!0x1);}async[_0x1aa1f8(0x2f1)](){const _0x11453f=_0x1aa1f8,_0x41b6e9=this[_0x11453f(0x2d1)][_0x11453f(0x1fe)][_0x11453f(0x259)](_0x548109),_0x355b2b=this[_0x11453f(0x2d1)][_0x11453f(0x1fe)][_0x11453f(0x259)](_0x29783d);try{this[_0x11453f(0x299)]=!0x0,_0x41b6e9[_0x11453f(0x1fb)](this[_0x11453f(0x252)]);const _0x15a3df=await this[_0x11453f(0x2ef)][_0x11453f(0x2f1)](_0x355b2b[_0x11453f(0x286)],this[_0x11453f(0x2b2)]);await this[_0x11453f(0x290)](_0x15a3df)&&(this[_0x11453f(0x299)]=!0x1,this[_0x11453f(0x2d0)]());const _0x4239b7=await this[_0x11453f(0x2ef)][_0x11453f(0x1fd)]();_0x41b6e9[_0x11453f(0x2cf)](this[_0x11453f(0x252)],_0x4239b7),this[_0x11453f(0x2dd)](),this[_0x11453f(0x258)]=!0x0;}catch(_0x43776f){if(function(_0x1af98c){const _0x3f5ad5=_0x11453f;return _0x3f5ad5(0x23d)===_0x1af98c[_0x3f5ad5(0x2ad)];}(_0x43776f)&&this[_0x11453f(0x25b)])await this[_0x11453f(0x287)]();else{if(function(_0x2a3755){const _0x84c23d=_0x11453f;return _0x84c23d(0x219)===_0x2a3755[_0x84c23d(0x2ad)];}(_0x43776f)){const _0x288f25=_0x5692b6(this[_0x11453f(0x2d1)][_0x11453f(0x28f)],_0x11453f(0x222));this[_0x11453f(0x2bb)](_0x288f25);}else{if(!(_0x43776f instanceof X))throw _0x43776f;this[_0x11453f(0x2bb)]();}}}}[_0x1aa1f8(0x22c)](){const _0x1acec0=_0x1aa1f8,_0x6435b3=this[_0x1acec0(0x2d1)][_0x1acec0(0x1fe)][_0x1acec0(0x259)](_0x29783d),_0x9e3565=this[_0x1acec0(0x2d1)][_0x1acec0(0x1fe)][_0x1acec0(0x259)](_0x548109);this[_0x1acec0(0x2d1)][_0x1acec0(0x20a)](_0x1acec0(0x26b)),_0x9e3565[_0x1acec0(0x2be)][_0x1acec0(0x223)](this[_0x1acec0(0x252)])&&_0x9e3565[_0x1acec0(0x1fb)](this[_0x1acec0(0x252)]),_0x6435b3[_0x1acec0(0x1fa)](this),this[_0x1acec0(0x2c6)](),super[_0x1acec0(0x22c)]();}async[_0x1aa1f8(0x290)](_0x16af13){const _0x4aa08f=_0x1aa1f8;if(this[_0x4aa08f(0x25b)]!==_0x16af13[_0x4aa08f(0x25b)]&&this[_0x4aa08f(0x281)]!==_0x16af13[_0x4aa08f(0x27e)])throw new X();return this[_0x4aa08f(0x25b)]=_0x16af13[_0x4aa08f(0x25b)],this[_0x4aa08f(0x218)]([],{..._0x16af13,'wereChangesApplied':!0x1,'data':_0x16af13[_0x4aa08f(0x23f)]},_0x4aa08f(0x2f1));}async[_0x1aa1f8(0x25c)](_0x194a72,_0x4ac8f1=!0x1){const _0x40a23e=_0x1aa1f8,{connection:_0x590b0b}=this[_0x40a23e(0x2d1)][_0x40a23e(0x1fe)][_0x40a23e(0x259)](_0x29783d);l[_0x40a23e(0x2e9)][_0x40a23e(0x1fd)](_0x590b0b,this[_0x40a23e(0x252)])[_0x40a23e(0x28d)](_0x481fcf=>this[_0x40a23e(0x264)](_0x481fcf))[_0x40a23e(0x1fc)](_0x489e3e=>{const _0x17b0ce=_0x40a23e;this[_0x17b0ce(0x29b)](_0x17b0ce(0x2e4),_0x489e3e);}),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x22d),this[_0x40a23e(0x1f8)][_0x40a23e(0x283)](this)),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x27d),(_0x14b6f9,_0xb65ead)=>{const _0xe2e385=_0x40a23e;this[_0xe2e385(0x29b)](_0xe2e385(0x27b),_0xb65ead);}),this[_0x40a23e(0x1f2)](this[_0x40a23e(0x2ef)],_0x40a23e(0x21c),()=>{const _0x5f075c=_0x40a23e;this[_0x5f075c(0x258)]=!0x1;});const _0x29f414=this[_0x40a23e(0x203)][_0x40a23e(0x21a)](_0x194a72);this[_0x40a23e(0x299)]=!0x0;const _0x5ec726=await this[_0x40a23e(0x2ef)][_0x40a23e(0x29d)](_0x590b0b,this[_0x40a23e(0x213)](_0x194a72),_0x29f414);if(this[_0x40a23e(0x25b)]=_0x5ec726[_0x40a23e(0x25b)],_0x4ac8f1){if(!_0x5ec726[_0x40a23e(0x1ec)])return void this[_0x40a23e(0x2bb)]();this[_0x40a23e(0x299)]=!0x1,this[_0x40a23e(0x2d0)](),this[_0x40a23e(0x2d9)][_0x40a23e(0x276)](),this[_0x40a23e(0x2a5)]=_0x5ec726[_0x40a23e(0x2e5)],this[_0x40a23e(0x2d9)][_0x40a23e(0x2c3)]=this[_0x40a23e(0x2a5)],await this[_0x40a23e(0x218)](_0x194a72,_0x5ec726,_0x40a23e(0x23c));}else await this[_0x40a23e(0x2bd)](_0x5ec726,_0x194a72);this[_0x40a23e(0x2dd)](),this[_0x40a23e(0x258)]=!0x0;}[_0x1aa1f8(0x2dd)](){const _0x31fbea=_0x1aa1f8,_0x11facd=this[_0x31fbea(0x2d1)][_0x31fbea(0x1fe)][_0x31fbea(0x259)](_0x548109),_0x216816=this[_0x31fbea(0x2d1)][_0x31fbea(0x1fe)][_0x31fbea(0x259)](_0x4d3afe),_0x187715=_0x11facd[_0x31fbea(0x2be)][_0x31fbea(0x259)](this[_0x31fbea(0x252)]);_0x187715&&_0x187715[_0x31fbea(0x244)]>0x1?_0x216816[_0x31fbea(0x2bc)]():this[_0x31fbea(0x1f2)](_0x11facd,_0x31fbea(0x211)+this[_0x31fbea(0x252)],()=>{const _0x20bb91=_0x31fbea;0x2===_0x11facd[_0x20bb91(0x2be)][_0x20bb91(0x259)](this[_0x20bb91(0x252)])[_0x20bb91(0x244)]&&_0x216816[_0x20bb91(0x2bc)]();});}async[_0x1aa1f8(0x1f8)](_0x9b1350,_0x5edb97,_0x19f0c7,_0x4dec90){const _0x1f6a9f=_0x1aa1f8;if(!this[_0x1f6a9f(0x299)]&&this[_0x1f6a9f(0x292)][_0x1f6a9f(0x2c3)]==_0x5edb97){const _0x4a9c4d=this[_0x1f6a9f(0x20b)](_0x19f0c7,_0x4dec90);await this[_0x1f6a9f(0x28c)](_0x4a9c4d),this[_0x1f6a9f(0x206)](_0x4a9c4d,_0x5edb97,_0x19f0c7[_0x1f6a9f(0x27e)])||this[_0x1f6a9f(0x29b)](_0x1f6a9f(0x2e8));}}async[_0x1aa1f8(0x287)](){const _0x2ff60f=_0x1aa1f8;this[_0x2ff60f(0x2c6)]();const {locale:_0x8d0e29}=this[_0x2ff60f(0x2d1)];let _0x438aa8;try{_0x438aa8=await this[_0x2ff60f(0x2ef)][_0x2ff60f(0x22a)]();}catch{const _0x195d65=_0x5692b6(_0x8d0e29,_0x2ff60f(0x24e));return void this[_0x2ff60f(0x2bb)](_0x195d65);}const _0x4917c9=_0x438aa8[_0x2ff60f(0x282)]||_0x438aa8[_0x2ff60f(0x1ef)];if(this[_0x2ff60f(0x281)]!==_0x4917c9[_0x2ff60f(0x27e)]){const _0x267d92=_0x5692b6(_0x8d0e29,_0x2ff60f(0x238));return void this[_0x2ff60f(0x2bb)](_0x267d92);}await this[_0x2ff60f(0x25c)](this[_0x2ff60f(0x2d1)][_0x2ff60f(0x2cc)][_0x2ff60f(0x224)][_0x2ff60f(0x260)][_0x2ff60f(0x28e)](),!0x0);}[_0x1aa1f8(0x2c6)](){const _0x577d71=_0x1aa1f8;this[_0x577d71(0x2ef)][_0x577d71(0x21d)](),this[_0x577d71(0x23a)]=[],clearTimeout(this[_0x577d71(0x212)]),this[_0x577d71(0x237)](this[_0x577d71(0x2ef)]);}[_0x1aa1f8(0x264)](_0x2d4e4d){const _0x3019a1=_0x1aa1f8,_0x11cae5=this[_0x3019a1(0x2d1)][_0x3019a1(0x1fe)][_0x3019a1(0x259)](_0x548109);this[_0x3019a1(0x1f2)](_0x11cae5,_0x3019a1(0x211)+this[_0x3019a1(0x252)],(_0x41024e,{session:_0x444523})=>{const _0x2106db=_0x3019a1;if(_0x444523['id']===_0x11cae5[_0x2106db(0x2af)]){_0x41024e[_0x2106db(0x215)]();const _0xe78839=this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x223)](_0x2106db(0x294))&&this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x259)](_0x2106db(0x294));let _0x44ad9f=_0x444523[_0x2106db(0x2db)];_0xe78839&&_0xe78839[_0x2106db(0x295)]&&(_0x44ad9f=_0x44ad9f[_0x2106db(0x2cd)](_0x34e032=>_0x2106db(0x239)!==_0x34e032)),this[_0x2106db(0x2d1)][_0x2106db(0x1fe)][_0x2106db(0x259)](_0x2106db(0x24d))[_0x2106db(0x2dc)](_0x44ad9f,this[_0x2106db(0x252)]);}}),_0x11cae5[_0x3019a1(0x2cf)](this[_0x3019a1(0x252)],_0x2d4e4d);}[_0x1aa1f8(0x2e7)](){const _0x4d952b=_0x1aa1f8,_0x15604b=this[_0x4d952b(0x2d1)][_0x4d952b(0x23f)][_0x4d952b(0x214)];this[_0x4d952b(0x2d1)][_0x4d952b(0x23f)][_0x4d952b(0x214)]=(..._0x20e8bb)=>{const _0x4b8fc8=_0x4d952b;if(!_0x20e8bb[_0x20e8bb[_0x4b8fc8(0x244)]-0x1][_0x4b8fc8(0x2ce)])throw new _0x18c0ef(_0x4b8fc8(0x209),this);_0x15604b[_0x4b8fc8(0x202)](this[_0x4b8fc8(0x2d1)][_0x4b8fc8(0x23f)],_0x20e8bb);};}[_0x1aa1f8(0x26f)](){const _0x44621b=_0x1aa1f8;this[_0x44621b(0x2d1)][_0x44621b(0x23f)]['on'](_0x44621b(0x236),(_0x5644c1,[_0x3236b2])=>{const _0xcebe89=_0x44621b;if(this[_0xcebe89(0x292)][_0xcebe89(0x2c3)])throw new _0x18c0ef(_0xcebe89(0x2d5),this);_0x5644c1[_0xcebe89(0x21b)](),this[_0xcebe89(0x25d)]();const _0x29b1f8=this[_0xcebe89(0x2d1)][_0xcebe89(0x2ee)][_0xcebe89(0x259)](_0xcebe89(0x274)),_0x491a4b=this[_0xcebe89(0x2ac)](_0x3236b2,_0x29b1f8);0x0==_0x491a4b[_0xcebe89(0x244)]&&_0x491a4b[_0xcebe89(0x208)](new _0x51bdfb(0x0)),_0x5644c1[_0xcebe89(0x2aa)]=this[_0xcebe89(0x25c)](_0x491a4b)[_0xcebe89(0x28d)](()=>{const _0x97495b=_0xcebe89;this[_0x97495b(0x2d1)][_0x97495b(0x1fe)][_0x97495b(0x259)](_0x29783d)[_0x97495b(0x255)](this),this[_0x97495b(0x2d1)][_0x97495b(0x23f)][_0x97495b(0x2ed)](_0x97495b(0x231));})[_0xcebe89(0x1fc)](_0x172dec=>this[_0xcebe89(0x29b)](_0xcebe89(0x26e),_0x172dec))[_0xcebe89(0x2da)](()=>this[_0xcebe89(0x2d0)]());},{'priority':_0x44621b(0x266)}),this[_0x44621b(0x2d1)]['on'](_0x44621b(0x2bf),async(_0x1049bd,[_0x37d783,_0x35a792])=>{const _0x48cc39=_0x44621b;_0x1049bd[_0x48cc39(0x21b)]();const _0x31c441=this[_0x48cc39(0x2d1)][_0x48cc39(0x2cc)][_0x48cc39(0x224)][_0x48cc39(0x277)](_0x37d783);if(!this[_0x48cc39(0x226)][_0x48cc39(0x223)](_0x37d783)){const _0x371cd9=_0x35a792&&_0x35a792[_0x48cc39(0x23f)]?_0x35a792[_0x48cc39(0x23f)]:'',_0x183432=_0x35a792&&_0x35a792[_0x48cc39(0x1f9)]?_0x35a792[_0x48cc39(0x1f9)]:{};await this[_0x48cc39(0x210)](_0x37d783,_0x371cd9,_0x183432);}this[_0x48cc39(0x2d1)][_0x48cc39(0x2cc)][_0x48cc39(0x2a8)]({'isUndoable':!0x1},()=>{const _0x2033f=_0x48cc39;_0x31c441[_0x2033f(0x2b7)]=!0x0,this[_0x2033f(0x2d1)][_0x2033f(0x2cc)][_0x2033f(0x224)][_0x2033f(0x1f6)][_0x2033f(0x2f2)](_0x31c441);});},{'priority':_0x44621b(0x266)});}async[_0x1aa1f8(0x28c)](_0x1786c6){const _0x3b2b48=_0x1aa1f8,_0x4b4189=this[_0x3b2b48(0x2d1)][_0x3b2b48(0x1fe)][_0x3b2b48(0x259)](_0x19c178),{connection:_0x229af6}=this[_0x3b2b48(0x2d1)][_0x3b2b48(0x1fe)][_0x3b2b48(0x259)](_0x29783d),_0x33690e=new Set();for(const _0x800fb8 of _0x1786c6){const _0x200ebe=_0x800fb8[_0x3b2b48(0x25a)];_0x200ebe&&!_0x4b4189[_0x3b2b48(0x2eb)](_0x200ebe)&&_0x33690e[_0x3b2b48(0x20f)](_0x200ebe);}if(0x0===_0x33690e[_0x3b2b48(0x254)])return;const _0x5a3deb=await _0x54fff0[_0x3b2b48(0x230)](_0x229af6,Array[_0x3b2b48(0x29a)](_0x33690e));for(const _0x4ffcfc of _0x5a3deb)_0x4b4189[_0x3b2b48(0x2eb)](_0x4ffcfc['id'])||_0x4b4189[_0x3b2b48(0x2e3)](_0x4ffcfc);}[_0x1aa1f8(0x2ac)](_0x5e5254,_0xfa2f87={}){const _0x1c9372=_0x1aa1f8,_0x50d45f=this[_0x1c9372(0x2d1)][_0x1c9372(0x2cc)],_0x16f5cb=[];let _0x37de59=0x0;const _0x19dd95=_0x1c9372(0x2c1)==typeof _0x5e5254?{'main':_0x5e5254}:_0x5e5254;for(const _0x1b7db2 of Object[_0x1c9372(0x220)](_0x19dd95)){if(!this[_0x1c9372(0x292)][_0x1c9372(0x242)][_0x1c9372(0x223)](_0x1b7db2))throw new _0x18c0ef(_0x1c9372(0x2b4),this);const _0x284429=this[_0x1c9372(0x2d1)][_0x1c9372(0x23f)][_0x1c9372(0x26c)](_0x19dd95[_0x1b7db2]),_0x1882b1=this[_0x1c9372(0x292)][_0x1c9372(0x277)](_0x1b7db2),_0x21d08a=new _0x4a60ae(_0x50d45f[_0x1c9372(0x247)](_0x1882b1,0x0),_0x284429,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x21d08a);for(const [_0x37dd66,_0x4a4156]of _0x284429[_0x1c9372(0x2ba)]){const _0x233ab4=_0x50d45f[_0x1c9372(0x2ca)](_0x50d45f[_0x1c9372(0x2d8)](_0x1882b1,_0x4a4156[_0x1c9372(0x272)][_0x1c9372(0x2b5)][_0x1c9372(0x2c5)]()),_0x50d45f[_0x1c9372(0x2d8)](_0x1882b1,_0x4a4156[_0x1c9372(0x2d3)][_0x1c9372(0x2b5)][_0x1c9372(0x2c5)]())),_0x121ec6=new _0x2c0a5d(_0x37dd66,null,_0x233ab4,_0x50d45f[_0x1c9372(0x2ba)],!0x0,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x121ec6);}}if(_0xfa2f87)for(const [_0x3df167,_0x62b3f]of Object[_0x1c9372(0x289)](_0xfa2f87)){const _0x31f0a1=_0x50d45f[_0x1c9372(0x224)][_0x1c9372(0x277)](_0x3df167);if(!_0x31f0a1)throw new _0x18c0ef(_0x1c9372(0x2a0),null);for(const [_0x353ffe,_0x44ad2f]of Object[_0x1c9372(0x289)](_0x62b3f))if(null!==_0x44ad2f){const _0x22d753=new _0x1ea5a0(_0x31f0a1,_0x353ffe,null,_0x44ad2f,_0x37de59++);_0x16f5cb[_0x1c9372(0x208)](_0x22d753);}}return _0x16f5cb;}async[_0x1aa1f8(0x210)](_0x5355f7,_0x1277ec,_0xbe82e2){const _0x454b77=_0x1aa1f8;this[_0x454b77(0x2ac)]({[_0x5355f7]:_0x1277ec},{[_0x5355f7]:_0xbe82e2})[_0x454b77(0x201)]((_0x9d7ba8,_0x318b65)=>{const _0x17040d=_0x454b77;_0x9d7ba8[_0x17040d(0x2b6)]=this[_0x17040d(0x292)][_0x17040d(0x2c3)]+_0x318b65,_0x9d7ba8[_0x17040d(0x2b9)]=!0x0,this[_0x17040d(0x2c4)](_0x9d7ba8);}),this[_0x454b77(0x235)](),await this[_0x454b77(0x22f)]();}async[_0x1aa1f8(0x2bd)](_0x3bc4c0,_0x4876b1){const _0x7d3cdd=_0x1aa1f8;let _0x1e8cba;this[_0x7d3cdd(0x2a5)]=_0x3bc4c0[_0x7d3cdd(0x2e5)];const _0x482d0d=_0x3bc4c0[_0x7d3cdd(0x1ec)]&&!_0x3bc4c0[_0x7d3cdd(0x229)],_0x1f4d31=_0x482d0d?0x0:_0x3bc4c0[_0x7d3cdd(0x23f)][_0x7d3cdd(0x2b6)];if(_0x4876b1[_0x7d3cdd(0x201)](_0x3e57cc=>{const _0x3ed2a0=_0x7d3cdd;_0x3e57cc[_0x3ed2a0(0x2b9)]=!0x0,_0x3e57cc[_0x3ed2a0(0x2cb)]=_0x3bc4c0[_0x3ed2a0(0x256)],_0x3e57cc[_0x3ed2a0(0x25a)]=null;}),_0x482d0d)_0x1e8cba=_0x4876b1,this[_0x7d3cdd(0x2a2)](_0x1e8cba,_0x482d0d);else{if(_0x3bc4c0[_0x7d3cdd(0x229)]){const _0x23fd84=this[_0x7d3cdd(0x2ac)](_0x3bc4c0[_0x7d3cdd(0x229)]);this[_0x7d3cdd(0x292)][_0x7d3cdd(0x260)][_0x7d3cdd(0x2c3)]=-_0x23fd84[_0x7d3cdd(0x244)],_0x23fd84[_0x7d3cdd(0x201)](_0x1529f6=>{const _0x7db098=_0x7d3cdd;_0x1529f6[_0x7db098(0x2b6)]-=_0x23fd84[_0x7db098(0x244)],_0x1529f6[_0x7db098(0x2cb)]=_0x3bc4c0[_0x7db098(0x256)],_0x1529f6[_0x7db098(0x2b9)]=!0x0,_0x1529f6[_0x7db098(0x25a)]=null;}),this[_0x7d3cdd(0x2a2)](_0x23fd84,!0x0),this[_0x7d3cdd(0x2d9)][_0x7d3cdd(0x2c3)]=-_0x23fd84[_0x7d3cdd(0x244)]+this[_0x7d3cdd(0x2a5)],this[_0x7d3cdd(0x22e)](_0x23fd84);}this[_0x7d3cdd(0x292)][_0x7d3cdd(0x260)][_0x7d3cdd(0x2c3)]=_0x1f4d31,_0x1e8cba=this[_0x7d3cdd(0x20b)](_0x3bc4c0[_0x7d3cdd(0x23f)],_0x3bc4c0[_0x7d3cdd(0x232)]),await this[_0x7d3cdd(0x28c)](_0x1e8cba),this[_0x7d3cdd(0x2a2)](_0x1e8cba,_0x482d0d);}_0x3bc4c0[_0x7d3cdd(0x27e)]&&(this[_0x7d3cdd(0x203)][_0x7d3cdd(0x24c)](_0x1e8cba,_0x3bc4c0[_0x7d3cdd(0x27e)]),this[_0x7d3cdd(0x281)]=_0x3bc4c0[_0x7d3cdd(0x27e)]),this[_0x7d3cdd(0x2d9)][_0x7d3cdd(0x2c3)]=_0x1f4d31+this[_0x7d3cdd(0x2a5)],this[_0x7d3cdd(0x22e)](_0x1e8cba),_0x4876b1[_0x7d3cdd(0x2cd)](_0x658c9a=>{const _0x18528d=_0x7d3cdd,_0x4e009b=this[_0x18528d(0x2b0)](_0x658c9a);return _0x4e009b&&!this[_0x18528d(0x226)][_0x18528d(0x223)](_0x4e009b);})[_0x7d3cdd(0x201)]((_0x2ad339,_0x4c88af)=>{const _0x2e1a45=_0x7d3cdd;_0x2ad339[_0x2e1a45(0x2b6)]=this[_0x2e1a45(0x292)][_0x2e1a45(0x2c3)]+_0x4c88af,this[_0x2e1a45(0x2c4)](_0x2ad339);}),this[_0x7d3cdd(0x22b)]()?(this[_0x7d3cdd(0x21e)]=0x0,this[_0x7d3cdd(0x235)](!0x0),await this[_0x7d3cdd(0x22f)]()):(this[_0x7d3cdd(0x299)]=!0x1,this[_0x7d3cdd(0x2d0)]());}[_0x1aa1f8(0x29b)](_0x4b067b,_0x581970){const _0x51b184=_0x1aa1f8,_0x3a92f8=_0x581970&&_0x581970[_0x51b184(0x2a3)];if(_0x3a92f8&&_0x3a92f8[_0x51b184(0x293)](_0x51b184(0x243)))throw _0x581970;const _0x55bd6f=this[_0x51b184(0x2d1)][_0x51b184(0x1fe)][_0x51b184(0x259)](_0x29783d);throw this[_0x51b184(0x299)]=!0x0,_0x55bd6f[_0x51b184(0x21d)](),this[_0x51b184(0x2d1)][_0x51b184(0x20a)](_0x51b184(0x291)),new _0x18c0ef(_0x4b067b,this[_0x51b184(0x2d1)],_0x3a92f8?{'originalError':_0x3a92f8}:void 0x0);}[_0x1aa1f8(0x2c4)](_0x32ec17){const _0x585c8d=_0x1aa1f8;this[_0x585c8d(0x24f)][_0x585c8d(0x223)](_0x32ec17)||(this[_0x585c8d(0x24f)][_0x585c8d(0x20f)](_0x32ec17),this[_0x585c8d(0x23a)][_0x585c8d(0x208)](_0x32ec17),this[_0x585c8d(0x2c7)]||_0x585c8d(0x257)==_0x32ec17[_0x585c8d(0x23e)]&&!_0x32ec17[_0x585c8d(0x261)]||this[_0x585c8d(0x25d)]());}[_0x1aa1f8(0x235)](_0x19c5f1=!0x1){const _0x4a0b0e=_0x1aa1f8;!_0x19c5f1&&this[_0x4a0b0e(0x299)]||(this[_0x4a0b0e(0x299)]=!0x0,clearTimeout(this[_0x4a0b0e(0x212)]),this[_0x4a0b0e(0x212)]=setTimeout(()=>{const _0x59c961=_0x4a0b0e;this[_0x59c961(0x2df)]()[_0x59c961(0x28d)](_0x27d61d=>{const _0x3cc0cc=_0x59c961;_0x27d61d&&(this[_0x3cc0cc(0x2d0)](),this[_0x3cc0cc(0x299)]=!0x1);})[_0x59c961(0x1fc)](_0x13fa22=>{const _0x51fcba=_0x59c961;this[_0x51fcba(0x2d0)](),this[_0x51fcba(0x299)]=!0x1,function(_0x27fea9){const _0x3a5326=_0x51fcba;return _0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x24b))||_0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x233))||_0x27fea9[_0x3a5326(0x2a3)][_0x3a5326(0x293)](_0x3a5326(0x262));}(_0x13fa22)||this[_0x51fcba(0x29b)](_0x13fa22[_0x51fcba(0x2a3)],_0x13fa22);});},this[_0x4a0b0e(0x21e)]));}[_0x1aa1f8(0x22f)](){return new Promise(_0x34b527=>{const _0x1d1af5=_0x2b95;this['on'](_0x1d1af5(0x2a6),()=>{_0x34b527();});});}async[_0x1aa1f8(0x2df)](){const _0x5c4101=_0x1aa1f8,_0x496791=this[_0x5c4101(0x2d1)][_0x5c4101(0x1fe)][_0x5c4101(0x259)](_0x4d3afe);if(this[_0x5c4101(0x250)]()&&(_0x496791[_0x5c4101(0x2bc)](),this[_0x5c4101(0x245)]=!0x1),!this[_0x5c4101(0x22b)]())return!0x0;const _0x37bd6e=[...this[_0x5c4101(0x23a)]];for(const _0x3ea2e2 of _0x37bd6e)_0x3ea2e2[_0x5c4101(0x240)]=this[_0x5c4101(0x292)][_0x5c4101(0x260)][_0x5c4101(0x298)](_0x3ea2e2);const _0x40f60e=this[_0x5c4101(0x203)][_0x5c4101(0x21a)](_0x37bd6e),_0x52b989=Q++,_0x1ea5c5=this[_0x5c4101(0x213)](_0x37bd6e),_0x42ba38=await this[_0x5c4101(0x2ef)][_0x5c4101(0x28b)](_0x1ea5c5,_0x1ea5c5[_0x5c4101(0x2b6)],_0x40f60e);try{return await this[_0x5c4101(0x218)](_0x37bd6e,_0x42ba38,_0x52b989);}catch(_0x41d033){return this[_0x5c4101(0x29b)](_0x5c4101(0x297),_0x41d033);}}async[_0x1aa1f8(0x218)](_0x517eba,_0x51d23a,_0x3e9955){const _0x35a940=_0x1aa1f8;if(_0x35a940(0x27d)in _0x51d23a)throw _0x51d23a[_0x35a940(0x27d)];let _0x521978=!0x1;if(_0x51d23a[_0x35a940(0x1ec)]){_0x51d23a[_0x35a940(0x27e)]&&(this[_0x35a940(0x281)]=_0x51d23a[_0x35a940(0x27e)]),this[_0x35a940(0x23a)]=this[_0x35a940(0x23a)][_0x35a940(0x2cd)](_0x1b5240=>!_0x517eba[_0x35a940(0x20c)](_0x1b5240));for(const _0x3c5f25 of _0x517eba)_0x3c5f25[_0x35a940(0x2cb)]=_0x35a940(0x2d4)in _0x51d23a&&_0x51d23a[_0x35a940(0x2d4)]||void 0x0;Y(_0x517eba,_0x51d23a[_0x35a940(0x2c3)]-_0x517eba[_0x35a940(0x244)]),this[_0x35a940(0x22e)](_0x517eba);const _0x3875c1=_0x517eba[_0x35a940(0x2cd)](_0xa9e7fb=>{const _0x3779ed=_0x35a940;if(!_0xa9e7fb[_0x3779ed(0x2b9)])return!0x1;const _0x5b2f88=this[_0x3779ed(0x2b0)](_0xa9e7fb);return _0x5b2f88&&!this[_0x3779ed(0x226)][_0x3779ed(0x223)](_0x5b2f88);});Y(_0x3875c1,this[_0x35a940(0x292)][_0x35a940(0x2c3)]),this[_0x35a940(0x2a2)](_0x3875c1),_0x521978=!0x0,this[_0x35a940(0x21e)]=this[_0x35a940(0x285)];}else{const _0x307599=this[_0x35a940(0x20b)](_0x51d23a[_0x35a940(0x23f)],_0x51d23a[_0x35a940(0x232)])[_0x35a940(0x2cd)](_0x277573=>_0x277573[_0x35a940(0x2b6)]>=this[_0x35a940(0x267)]);_0x307599[_0x35a940(0x201)](_0x1b316e=>this[_0x35a940(0x26d)](_0x1b316e)),this[_0x35a940(0x23a)]=this[_0x35a940(0x23a)][_0x35a940(0x2cd)](_0x5e5613=>!_0x5e5613[_0x35a940(0x2b9)]||!this[_0x35a940(0x226)][_0x35a940(0x223)](this[_0x35a940(0x2b0)](_0x5e5613))),this[_0x35a940(0x23a)][_0x35a940(0x244)]&&Y(this[_0x35a940(0x23a)],this[_0x35a940(0x23a)][0x0][_0x35a940(0x2b6)]),await this[_0x35a940(0x28c)](_0x307599),_0x521978=this[_0x35a940(0x206)](_0x307599,_0x51d23a[_0x35a940(0x2c3)],_0x51d23a[_0x35a940(0x27e)]),this[_0x35a940(0x21e)]=Math[_0x35a940(0x21f)](this[_0x35a940(0x21e)]/0x2);}return _0x521978?!this[_0x35a940(0x22b)]()||(this[_0x35a940(0x235)](!0x0),!0x1):this[_0x35a940(0x29b)](_0x35a940(0x248));}[_0x1aa1f8(0x206)](_0x8b5f44,_0x3f6852,_0x57c83b){const _0x459bff=_0x1aa1f8;try{const _0x1cb217={'document':this[_0x459bff(0x292)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4772ac,operationsB:_0x873b9f,originalOperations:_0x429be4}=_0x3e8b39(_0x8b5f44,this[_0x459bff(0x23a)],_0x1cb217);Y(_0x4772ac,this[_0x459bff(0x292)][_0x459bff(0x2c3)]),Y(_0x873b9f,_0x3f6852);for(const _0x2c28f3 of _0x4772ac){const _0x597753=_0x429be4[_0x459bff(0x259)](_0x2c28f3);_0x2c28f3[_0x459bff(0x25a)]=_0x597753?_0x597753[_0x459bff(0x25a)]:null;}_0x57c83b&&(this[_0x459bff(0x203)][_0x459bff(0x24c)](_0x8b5f44,_0x57c83b),this[_0x459bff(0x281)]=_0x57c83b),this[_0x459bff(0x23a)]=[..._0x873b9f],this[_0x459bff(0x2a2)](_0x4772ac),this[_0x459bff(0x22e)](_0x8b5f44);}catch(_0xbd1cf8){return console[_0x459bff(0x27d)](_0xbd1cf8),!0x1;}return!0x0;}[_0x1aa1f8(0x2a2)](_0x5c604f,_0x511988=!0x1){const _0x28fac3=_0x1aa1f8;this[_0x28fac3(0x2d1)][_0x28fac3(0x2cc)][_0x28fac3(0x2a8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x35d6ba=>{const _0x460ed9=_0x28fac3;for(const _0x17d8c9 of _0x5c604f)this[_0x460ed9(0x24f)][_0x460ed9(0x20f)](_0x17d8c9),this[_0x460ed9(0x26d)](_0x17d8c9),_0x35d6ba[_0x460ed9(0x2d2)][_0x460ed9(0x1ee)](_0x17d8c9),this[_0x460ed9(0x2d1)][_0x460ed9(0x2cc)][_0x460ed9(0x288)](_0x17d8c9);});}[_0x1aa1f8(0x26d)](_0xdaeadc){const _0x8158b7=_0x1aa1f8,_0x5d3a35=this[_0x8158b7(0x2b0)](_0xdaeadc);_0x5d3a35&&this[_0x8158b7(0x226)][_0x8158b7(0x20f)](_0x5d3a35);}[_0x1aa1f8(0x2b0)](_0x4f88c6){const _0x215183=_0x1aa1f8;let _0x3e5a6d,_0x5860f8;switch(_0x4f88c6[_0x215183(0x23e)]){case _0x215183(0x278):_0x3e5a6d=_0x4f88c6[_0x215183(0x27c)][_0x215183(0x1f3)];break;case _0x215183(0x257):if(_0x5860f8=_0x4f88c6[_0x215183(0x200)],!_0x5860f8)return null;_0x3e5a6d=_0x5860f8[_0x215183(0x1f3)];break;case _0x215183(0x2b3):_0x3e5a6d=_0x4f88c6[_0x215183(0x1f3)];break;case _0x215183(0x205):_0x3e5a6d=_0x4f88c6[_0x215183(0x25e)];break;case _0x215183(0x273):_0x3e5a6d=_0x4f88c6[_0x215183(0x27a)][_0x215183(0x1f3)];break;default:return null;}return _0x3e5a6d[_0x215183(0x25f)];}[_0x1aa1f8(0x22e)](_0x1a9821){const _0x5f1860=_0x1aa1f8;_0x1a9821[_0x5f1860(0x201)](_0x51b8de=>{const _0x2ee632=_0x5f1860,_0x3cab63=_0x51b8de[_0x2ee632(0x280)]();_0x3cab63[_0x2ee632(0x25a)]=_0x51b8de[_0x2ee632(0x25a)],_0x3cab63[_0x2ee632(0x2b9)]=!!_0x51b8de[_0x2ee632(0x2b9)],_0x3cab63[_0x2ee632(0x2cb)]=_0x51b8de[_0x2ee632(0x2cb)],_0x3cab63[_0x2ee632(0x2b6)]+=this[_0x2ee632(0x2a5)],_0x51b8de[_0x2ee632(0x227)]&&this[_0x2ee632(0x2a1)][_0x2ee632(0x20f)](_0x3cab63),this[_0x2ee632(0x2d9)][_0x2ee632(0x1ee)](_0x3cab63);});}[_0x1aa1f8(0x2bb)](_0x39bb87){const _0xf6d785=_0x1aa1f8,_0x1ad31c=this[_0xf6d785(0x2d1)][_0xf6d785(0x1fe)][_0xf6d785(0x259)](_0xf6d785(0x26a)),_0x1f3cb8=this[_0xf6d785(0x2d1)][_0xf6d785(0x28f)];_0x39bb87||(_0x39bb87=_0x5692b6(_0x1f3cb8,_0xf6d785(0x249))),_0x1ad31c[_0xf6d785(0x2d7)](_0x39bb87,{'title':_0x5692b6(_0x1f3cb8,_0xf6d785(0x265)),'namespace':_0xf6d785(0x217)}),this[_0xf6d785(0x284)]=!0x0,clearTimeout(this[_0xf6d785(0x212)]),this[_0xf6d785(0x23a)]=[],this[_0xf6d785(0x2d1)][_0xf6d785(0x1fe)][_0xf6d785(0x259)](_0x29783d)[_0xf6d785(0x21d)]();}[_0x1aa1f8(0x25d)](){const _0x240500=_0x1aa1f8;this[_0x240500(0x2c7)]||(this[_0x240500(0x2c7)]=this[_0x240500(0x2d1)][_0x240500(0x1fe)][_0x240500(0x259)](_0x4a8896)[_0x240500(0x20f)](_0x5692b6(this[_0x240500(0x2d1)][_0x240500(0x28f)],_0x240500(0x2a7))));}[_0x1aa1f8(0x2d0)](){const _0x188010=_0x1aa1f8;this[_0x188010(0x2c7)]&&(this[_0x188010(0x2d1)][_0x188010(0x1fe)][_0x188010(0x259)](_0x4a8896)[_0x188010(0x24a)](this[_0x188010(0x2c7)]),this[_0x188010(0x2c7)]=null);}[_0x1aa1f8(0x213)](_0x3e3c54){const _0x312828=_0x1aa1f8,_0x150371=_0x3e3c54[_0x312828(0x1f0)](_0x471ffc=>_0x471ffc[_0x312828(0x2e6)]());return this[_0x312828(0x296)][_0x312828(0x20e)](_0x150371);}[_0x1aa1f8(0x20b)](_0x23a64c,_0x4c9d6d){const _0x329e3e=_0x1aa1f8;return this[_0x329e3e(0x296)][_0x329e3e(0x2ec)](_0x23a64c)[_0x329e3e(0x1f0)]((_0xefaaac,_0x1966b2)=>{const _0x4a0504=_0x329e3e,_0x5149ff=_0x4a0504(0x236)==_0x4c9d6d[_0x1966b2][_0x4a0504(0x23e)];if(_0x4a0504(0x2ae)==_0xefaaac[_0x4a0504(0x2c2)]){const _0x1fc561=_0xefaaac[_0x4a0504(0x27c)][_0x4a0504(0x1f3)];!this[_0x4a0504(0x292)][_0x4a0504(0x277)](_0x1fc561)&&(this[_0x4a0504(0x292)][_0x4a0504(0x27f)](_0x4a0504(0x29c),_0x1fc561)[_0x4a0504(0x271)]=!0x1);}const _0x866e6b=_0x30e033[_0x4a0504(0x2ea)](_0xefaaac,this[_0x4a0504(0x292)]);return _0x866e6b[_0x4a0504(0x240)]=_0xefaaac[_0x4a0504(0x240)],_0x866e6b[_0x4a0504(0x2b9)]=_0x5149ff,_0x866e6b[_0x4a0504(0x25a)]=_0x5149ff?null:_0x4c9d6d[_0x1966b2][_0x4a0504(0x2c0)],_0x866e6b[_0x4a0504(0x227)]=_0x4a0504(0x275)===_0x4c9d6d[_0x1966b2][_0x4a0504(0x23e)],_0x866e6b[_0x4a0504(0x2cb)]=_0x4c9d6d[_0x1966b2][_0x4a0504(0x2cb)],_0x866e6b;});}[_0x1aa1f8(0x2d6)](){const _0x2aa136=_0x1aa1f8;this[_0x2aa136(0x245)]=!0x0,this[_0x2aa136(0x250)]()?this[_0x2aa136(0x235)]():this[_0x2aa136(0x245)]=!0x1;}[_0x1aa1f8(0x250)](){const _0x4efb79=_0x1aa1f8,_0x2b8028=this[_0x4efb79(0x2d1)][_0x4efb79(0x1fe)][_0x4efb79(0x259)](_0x548109)[_0x4efb79(0x2be)][_0x4efb79(0x259)](this[_0x4efb79(0x252)]);return!this[_0x4efb79(0x2d1)][_0x4efb79(0x2a9)]&&!!_0x2b8028&&_0x2b8028[_0x4efb79(0x244)]>0x1&&this[_0x4efb79(0x245)];}[_0x1aa1f8(0x22b)](){const _0x16e0e9=_0x1aa1f8;return this[_0x16e0e9(0x23a)][_0x16e0e9(0x244)]>0x0||this[_0x16e0e9(0x250)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x43c201,_0xff0266){const _0x27ded2=_0x1aa1f8;for(const _0x33edd2 of _0x43c201)_0x33edd2[_0x27ded2(0x2b6)]=_0xff0266++;}class Z{[_0x1aa1f8(0x2c8)];[_0x1aa1f8(0x2de)];constructor(_0x3ffa3b){const _0x1974bd=_0x1aa1f8;this[_0x1974bd(0x2c8)]=_0x3ffa3b,this[_0x1974bd(0x2de)]=new WeakMap();}[_0x1aa1f8(0x21a)](_0x4ea956){const _0x140d76=_0x1aa1f8;let _0x3d427d=_0x4ea956[_0x140d76(0x244)];for(;_0x3d427d--;){const _0x54a19c=_0x4ea956[_0x3d427d];if(!this[_0x140d76(0x2c8)][_0x140d76(0x223)](_0x54a19c)){if(!this[_0x140d76(0x2de)][_0x140d76(0x223)](_0x54a19c)){const _0x578848=_0x5200cf()[_0x140d76(0x2c5)](0x1,0x12);this[_0x140d76(0x2de)][_0x140d76(0x214)](_0x54a19c,_0x578848);}return this[_0x140d76(0x2de)][_0x140d76(0x259)](_0x54a19c);}}}[_0x1aa1f8(0x24c)](_0x13b1da,_0x15ff96){const _0x20b674=_0x1aa1f8;if(!_0x15ff96)return;let _0x507f77=_0x13b1da[_0x20b674(0x244)];for(;_0x507f77--;){const _0x4a3a2b=_0x13b1da[_0x507f77];this[_0x20b674(0x2c8)][_0x20b674(0x223)](_0x4a3a2b)||this[_0x20b674(0x2de)][_0x20b674(0x214)](_0x4a3a2b,_0x15ff96);}}}
|
|
23
|
+
const _0xe0519b=_0x34bc;(function(_0x10f11b,_0x183fc1){const _0x232087=_0x34bc,_0x59fe8e=_0x10f11b();while(!![]){try{const _0x4a8f80=-parseInt(_0x232087(0x219))/0x1*(parseInt(_0x232087(0x18c))/0x2)+parseInt(_0x232087(0x1d5))/0x3+parseInt(_0x232087(0x171))/0x4*(parseInt(_0x232087(0x194))/0x5)+-parseInt(_0x232087(0x1a8))/0x6*(-parseInt(_0x232087(0x23b))/0x7)+parseInt(_0x232087(0x18f))/0x8*(-parseInt(_0x232087(0x1f1))/0x9)+parseInt(_0x232087(0x228))/0xa*(-parseInt(_0x232087(0x1e8))/0xb)+parseInt(_0x232087(0x237))/0xc*(parseInt(_0x232087(0x1bb))/0xd);if(_0x4a8f80===_0x183fc1)break;else _0x59fe8e['push'](_0x59fe8e['shift']());}catch(_0x493945){_0x59fe8e['push'](_0x59fe8e['shift']());}}}(_0x3300,0xc7b43));import{Plugin as _0x40c0be,PendingActions as _0x282206}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b39b4,version as _0x5e98a7,uid as _0x2ff451}from'ckeditor5/src/utils.js';import{Notification as _0x2ca677}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5237f5,NoOperation as _0x21af05,InsertOperation as _0x2fc6c0,MarkerOperation as _0x5a1137,RootAttributeOperation as _0x49c7b1,OperationFactory as _0x36fc84,History as _0xc1ea5d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x52e86}from'./websocketgateway.js';import{Sessions as _0x49d947}from'./sessions.js';import{UserMarkers as _0x36c06e}from'./usermarkers.js';import{getTranslation as _0x4f1b52}from'../common-translations.js';import{Compressor as _0x34ca56}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xf72583}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3ad33f,CollaborativeEditingService as _0xdd9628}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x40c0be{static [_0xe0519b(0x225)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xdd9628)());[_0xe0519b(0x230)];[_0xe0519b(0x166)];[_0xe0519b(0x23f)];[_0xe0519b(0x1fa)];[_0xe0519b(0x1d6)];[_0xe0519b(0x167)];[_0xe0519b(0x19a)];[_0xe0519b(0x1a6)];[_0xe0519b(0x224)];[_0xe0519b(0x1ef)];[_0xe0519b(0x15a)];[_0xe0519b(0x1d1)];[_0xe0519b(0x1cc)];[_0xe0519b(0x1be)];[_0xe0519b(0x20e)];[_0xe0519b(0x168)];[_0xe0519b(0x1ed)];[_0xe0519b(0x21f)];static get[_0xe0519b(0x222)](){return[_0x52e86,_0x49d947,_0x36c06e,_0x282206,_0xf72583,_0x2ca677];}static get[_0xe0519b(0x255)](){const _0x4d3b72=_0xe0519b;return _0x4d3b72(0x215);}static get[_0xe0519b(0x22b)](){return!0x0;}static get[_0xe0519b(0x163)](){return!0x0;}get[_0xe0519b(0x220)](){const _0x2b570d=_0xe0519b;return this[_0x2b570d(0x17e)]+this[_0x2b570d(0x230)];}get[_0xe0519b(0x17e)](){const _0x47287f=_0xe0519b;return this[_0x47287f(0x23f)][_0x47287f(0x1eb)]-this[_0x47287f(0x230)];}get[_0xe0519b(0x1aa)](){const _0x2e2e80=_0xe0519b,_0x166fe7=this[_0x2e2e80(0x23f)][_0x2e2e80(0x1f8)]();for(let _0x2f6173=_0x166fe7[_0x2e2e80(0x1e7)]-0x1;_0x2f6173>=0x0;_0x2f6173--){const _0x497cfa=_0x166fe7[_0x2f6173];if(!this[_0x2e2e80(0x1ed)][_0x2e2e80(0x1da)](_0x497cfa))return _0x497cfa[_0x2e2e80(0x1ff)]+0x1-this[_0x2e2e80(0x230)];}return 0x0;}constructor(_0x563fde){const _0x3e3e2b=_0xe0519b;if(super(_0x563fde),this[_0x3e3e2b(0x230)]=0x0,this[_0x3e3e2b(0x166)]=null,this[_0x3e3e2b(0x23f)]=new _0xc1ea5d(),this[_0x3e3e2b(0x1ba)][_0x3e3e2b(0x15c)][_0x3e3e2b(0x17c)](_0x3e3e2b(0x195),{}),this[_0x3e3e2b(0x1fa)]=this[_0x3e3e2b(0x1ba)][_0x3e3e2b(0x15c)][_0x3e3e2b(0x1c4)](_0x3e3e2b(0x1c2)),!this[_0x3e3e2b(0x1fa)])throw new _0x3b39b4(_0x3e3e2b(0x1b9),this);const _0x28d116=_0x563fde[_0x3e3e2b(0x15c)][_0x3e3e2b(0x1c4)](_0x3e3e2b(0x1d4))||_0x5e98a7;this[_0x3e3e2b(0x1d6)]=new l[(_0x3e3e2b(0x225))](_0x28d116,this[_0x3e3e2b(0x1fa)]),this[_0x3e3e2b(0x167)]=this[_0x3e3e2b(0x1ba)][_0x3e3e2b(0x1ee)][_0x3e3e2b(0x1fd)],this[_0x3e3e2b(0x19a)]=new _0x34ca56(),this[_0x3e3e2b(0x1a6)]=[],this[_0x3e3e2b(0x224)]=new WeakSet(),this[_0x3e3e2b(0x1ef)]=new Set(),this[_0x3e3e2b(0x16f)](_0x3e3e2b(0x1b7),!0x1),this[_0x3e3e2b(0x16f)](_0x3e3e2b(0x1fc),!0x1),this[_0x3e3e2b(0x15a)]=null,this[_0x3e3e2b(0x1d1)]=!0x1,this[_0x3e3e2b(0x1cc)]=null,this[_0x3e3e2b(0x1be)]=0x12c,this[_0x3e3e2b(0x20e)]=this[_0x3e3e2b(0x1be)],this[_0x3e3e2b(0x168)]=null,this[_0x3e3e2b(0x1ed)]=new WeakSet(),this[_0x3e3e2b(0x21f)]=new Z(this[_0x3e3e2b(0x1ed)]);}[_0xe0519b(0x212)](){const _0x4de95b=_0xe0519b,_0x43b1ce=this[_0x4de95b(0x1ba)],_0x369528=_0x43b1ce[_0x4de95b(0x158)][_0x4de95b(0x1c4)](_0xf72583),_0x5ef239=_0x43b1ce[_0x4de95b(0x158)][_0x4de95b(0x1c4)](_0x52e86);this[_0x4de95b(0x1dc)](_0x369528,_0x4de95b(0x1c9),(_0x4a29fe,_0x20203f)=>{const _0x9a2880=_0x4de95b,_0x2049f2=_0x20203f[0x0];_0x2049f2[_0x9a2880(0x210)]&&(_0x4a29fe[_0x9a2880(0x186)]=_0x369528[_0x9a2880(0x25a)](_0x2049f2[_0x9a2880(0x210)]),_0x4a29fe[_0x9a2880(0x1e1)]()),null===_0x2049f2[_0x9a2880(0x210)]&&(_0x4a29fe[_0x9a2880(0x186)]=null,_0x4a29fe[_0x9a2880(0x1e1)]());},{'priority':_0x4de95b(0x199)}),this[_0x4de95b(0x1dc)](_0x43b1ce[_0x4de95b(0x1ee)][_0x4de95b(0x1fd)][_0x4de95b(0x175)],_0x4de95b(0x249),(_0x18e009,_0x239027)=>{const _0x5b6d38=_0x4de95b;_0x239027[_0x5b6d38(0x157)]&&this[_0x5b6d38(0x1de)]();}),this[_0x4de95b(0x1dc)](_0x43b1ce[_0x4de95b(0x18d)][_0x4de95b(0x20d)],_0x4de95b(0x1cf),()=>{const _0x5c4fe5=_0x4de95b;this[_0x5c4fe5(0x1de)]();}),this[_0x4de95b(0x259)](),_0x43b1ce[_0x4de95b(0x1ee)]['on'](_0x4de95b(0x245),(_0x41efce,_0x3aa8cd)=>{const _0x10376c=_0x4de95b,_0x51caf6=_0x3aa8cd[0x0];_0x51caf6[_0x10376c(0x21a)]&&(this[_0x10376c(0x1c6)](_0x51caf6),this[_0x10376c(0x17d)]()&&this[_0x10376c(0x241)]());}),this[_0x4de95b(0x1d7)](),this[_0x4de95b(0x240)](_0x4de95b(0x22c))['to'](_0x5ef239,_0x4de95b(0x204),this,_0x4de95b(0x1fc),(_0x593355,_0x184402)=>_0x4de95b(0x239)===_0x593355&&!_0x184402),this['on'](_0x4de95b(0x23d),()=>{const _0x24d8b6=_0x4de95b;this[_0x24d8b6(0x22c)]?_0x43b1ce[_0x24d8b6(0x1bd)](_0x24d8b6(0x1ca)):_0x43b1ce[_0x24d8b6(0x233)](_0x24d8b6(0x1ca));}),this[_0x4de95b(0x22c)]?_0x43b1ce[_0x4de95b(0x1bd)](_0x4de95b(0x1ca)):_0x43b1ce[_0x4de95b(0x233)](_0x4de95b(0x1ca)),this[_0x4de95b(0x16f)](_0x4de95b(0x161),!0x1);}async[_0xe0519b(0x207)](){const _0x5eebeb=_0xe0519b,_0x3066e7=this[_0x5eebeb(0x1ba)][_0x5eebeb(0x158)][_0x5eebeb(0x1c4)](_0x49d947),_0xc2f55e=this[_0x5eebeb(0x1ba)][_0x5eebeb(0x158)][_0x5eebeb(0x1c4)](_0x52e86);try{this[_0x5eebeb(0x1b7)]=!0x0,_0x3066e7[_0x5eebeb(0x197)](this[_0x5eebeb(0x1fa)]);const _0x930bd5=await this[_0x5eebeb(0x1d6)][_0x5eebeb(0x207)](_0xc2f55e[_0x5eebeb(0x246)],this[_0x5eebeb(0x1aa)]);await this[_0x5eebeb(0x217)](_0x930bd5)&&(this[_0x5eebeb(0x1b7)]=!0x1,this[_0x5eebeb(0x205)]());const _0x31b073=await this[_0x5eebeb(0x1d6)][_0x5eebeb(0x213)]();_0x3066e7[_0x5eebeb(0x173)](this[_0x5eebeb(0x1fa)],_0x31b073),this[_0x5eebeb(0x22a)](),this[_0x5eebeb(0x161)]=!0x0;}catch(_0x18135c){if(function(_0x79d480){const _0x59c6fc=_0x5eebeb;return _0x59c6fc(0x1e9)===_0x79d480[_0x59c6fc(0x18e)];}(_0x18135c)&&this[_0x5eebeb(0x166)])await this[_0x5eebeb(0x214)]();else{if(function(_0x55e682){const _0x375820=_0x5eebeb;return _0x375820(0x1b3)===_0x55e682[_0x375820(0x18e)];}(_0x18135c)){const _0x48ace1=_0x4f1b52(this[_0x5eebeb(0x1ba)][_0x5eebeb(0x22e)],_0x5eebeb(0x176));this[_0x5eebeb(0x16a)](_0x48ace1);}else{if(!(_0x18135c instanceof X))throw _0x18135c;this[_0x5eebeb(0x16a)]();}}}}[_0xe0519b(0x21b)](){const _0x37b3d0=_0xe0519b,_0x5d77f2=this[_0x37b3d0(0x1ba)][_0x37b3d0(0x158)][_0x37b3d0(0x1c4)](_0x52e86),_0x5d7fa4=this[_0x37b3d0(0x1ba)][_0x37b3d0(0x158)][_0x37b3d0(0x1c4)](_0x49d947);this[_0x37b3d0(0x1ba)][_0x37b3d0(0x233)](_0x37b3d0(0x19f)),_0x5d7fa4[_0x37b3d0(0x22f)][_0x37b3d0(0x1da)](this[_0x37b3d0(0x1fa)])&&_0x5d7fa4[_0x37b3d0(0x197)](this[_0x37b3d0(0x1fa)]),_0x5d77f2[_0x37b3d0(0x169)](this),this[_0x37b3d0(0x226)](),super[_0x37b3d0(0x21b)]();}async[_0xe0519b(0x217)](_0x29a9aa){const _0x1942d1=_0xe0519b;if(this[_0x1942d1(0x166)]!==_0x29a9aa[_0x1942d1(0x166)]&&this[_0x1942d1(0x168)]!==_0x29a9aa[_0x1942d1(0x23a)])throw new X();return this[_0x1942d1(0x166)]=_0x29a9aa[_0x1942d1(0x166)],this[_0x1942d1(0x190)]([],{..._0x29a9aa,'wereChangesApplied':!0x1,'data':_0x29a9aa[_0x1942d1(0x234)]},_0x1942d1(0x207));}async[_0xe0519b(0x1e4)](_0x5e8b6c,_0x4da091=!0x1){const _0x4e0a72=_0xe0519b,{connection:_0x1ef003}=this[_0x4e0a72(0x1ba)][_0x4e0a72(0x158)][_0x4e0a72(0x1c4)](_0x52e86);l[_0x4e0a72(0x225)][_0x4e0a72(0x213)](_0x1ef003,this[_0x4e0a72(0x1fa)])[_0x4e0a72(0x238)](_0x334775=>this[_0x4e0a72(0x1c0)](_0x334775))[_0x4e0a72(0x1af)](_0x2a6859=>{const _0x17dac7=_0x4e0a72;this[_0x17dac7(0x251)](_0x17dac7(0x1a4),_0x2a6859);}),this[_0x4e0a72(0x1dc)](this[_0x4e0a72(0x1d6)],_0x4e0a72(0x192),this[_0x4e0a72(0x1ea)][_0x4e0a72(0x240)](this)),this[_0x4e0a72(0x1dc)](this[_0x4e0a72(0x1d6)],_0x4e0a72(0x16e),(_0x701a9e,_0x981547)=>{const _0x4e3969=_0x4e0a72;this[_0x4e3969(0x251)](_0x4e3969(0x25d),_0x981547);}),this[_0x4e0a72(0x1dc)](this[_0x4e0a72(0x1d6)],_0x4e0a72(0x198),()=>{const _0x518591=_0x4e0a72;this[_0x518591(0x161)]=!0x1;});const _0x337cea=this[_0x4e0a72(0x21f)][_0x4e0a72(0x187)](_0x5e8b6c);this[_0x4e0a72(0x1b7)]=!0x0;const _0xa26447=await this[_0x4e0a72(0x1d6)][_0x4e0a72(0x164)](_0x1ef003,this[_0x4e0a72(0x23e)](_0x5e8b6c),_0x337cea);if(this[_0x4e0a72(0x166)]=_0xa26447[_0x4e0a72(0x166)],_0x4da091){if(!_0xa26447[_0x4e0a72(0x1a9)])return void this[_0x4e0a72(0x16a)]();this[_0x4e0a72(0x1b7)]=!0x1,this[_0x4e0a72(0x205)](),this[_0x4e0a72(0x23f)][_0x4e0a72(0x209)](),this[_0x4e0a72(0x230)]=_0xa26447[_0x4e0a72(0x188)],this[_0x4e0a72(0x23f)][_0x4e0a72(0x1eb)]=this[_0x4e0a72(0x230)],await this[_0x4e0a72(0x190)](_0x5e8b6c,_0xa26447,_0x4e0a72(0x21d));}else await this[_0x4e0a72(0x1a7)](_0xa26447,_0x5e8b6c);this[_0x4e0a72(0x22a)](),this[_0x4e0a72(0x161)]=!0x0;}[_0xe0519b(0x22a)](){const _0x37e96c=_0xe0519b,_0x3a8a9b=this[_0x37e96c(0x1ba)][_0x37e96c(0x158)][_0x37e96c(0x1c4)](_0x49d947),_0x1dccc8=this[_0x37e96c(0x1ba)][_0x37e96c(0x158)][_0x37e96c(0x1c4)](_0x36c06e),_0x247053=_0x3a8a9b[_0x37e96c(0x22f)][_0x37e96c(0x1c4)](this[_0x37e96c(0x1fa)]);_0x247053&&_0x247053[_0x37e96c(0x1e7)]>0x1?_0x1dccc8[_0x37e96c(0x1d8)]():this[_0x37e96c(0x1dc)](_0x3a8a9b,_0x37e96c(0x1ec)+this[_0x37e96c(0x1fa)],()=>{const _0x6f109a=_0x37e96c;0x2===_0x3a8a9b[_0x6f109a(0x22f)][_0x6f109a(0x1c4)](this[_0x6f109a(0x1fa)])[_0x6f109a(0x1e7)]&&_0x1dccc8[_0x6f109a(0x1d8)]();});}async[_0xe0519b(0x1ea)](_0x54ca49,_0x4be32a,_0x3594d7,_0x4930ac){const _0x44e02f=_0xe0519b;if(!this[_0x44e02f(0x1b7)]&&this[_0x44e02f(0x167)][_0x44e02f(0x1eb)]==_0x4be32a){const _0x31c6fd=this[_0x44e02f(0x160)](_0x3594d7,_0x4930ac);await this[_0x44e02f(0x229)](_0x31c6fd),this[_0x44e02f(0x1fe)](_0x31c6fd,_0x4be32a,_0x3594d7[_0x44e02f(0x23a)])||this[_0x44e02f(0x251)](_0x44e02f(0x181));}}async[_0xe0519b(0x214)](){const _0x1ee751=_0xe0519b;this[_0x1ee751(0x226)]();const {locale:_0x1cd3b2}=this[_0x1ee751(0x1ba)];let _0x54a39b;try{_0x54a39b=await this[_0x1ee751(0x1d6)][_0x1ee751(0x19e)]();}catch{const _0x389cf7=_0x4f1b52(_0x1cd3b2,_0x1ee751(0x1c7));return void this[_0x1ee751(0x16a)](_0x389cf7);}const _0x97d026=_0x54a39b[_0x1ee751(0x165)]||_0x54a39b[_0x1ee751(0x242)];if(this[_0x1ee751(0x168)]!==_0x97d026[_0x1ee751(0x23a)]){const _0xdb81e1=_0x4f1b52(_0x1cd3b2,_0x1ee751(0x24d));return void this[_0x1ee751(0x16a)](_0xdb81e1);}await this[_0x1ee751(0x1e4)](this[_0x1ee751(0x1ba)][_0x1ee751(0x1ee)][_0x1ee751(0x1fd)][_0x1ee751(0x159)][_0x1ee751(0x1f8)](),!0x0);}[_0xe0519b(0x226)](){const _0x307f3d=_0xe0519b;this[_0x307f3d(0x1d6)][_0x307f3d(0x1a3)](),this[_0x307f3d(0x1a6)]=[],clearTimeout(this[_0x307f3d(0x1cc)]),this[_0x307f3d(0x15f)](this[_0x307f3d(0x1d6)]);}[_0xe0519b(0x1c0)](_0x200171){const _0x17d2d0=_0xe0519b,_0x20dde0=this[_0x17d2d0(0x1ba)][_0x17d2d0(0x158)][_0x17d2d0(0x1c4)](_0x49d947);this[_0x17d2d0(0x1dc)](_0x20dde0,_0x17d2d0(0x1ec)+this[_0x17d2d0(0x1fa)],(_0x3e59f0,{session:_0x29a3be})=>{const _0x4421f3=_0x17d2d0;if(_0x29a3be['id']===_0x20dde0[_0x4421f3(0x25c)]){_0x3e59f0[_0x4421f3(0x1ae)]();const _0x13a02e=this[_0x4421f3(0x1ba)][_0x4421f3(0x158)][_0x4421f3(0x1da)](_0x4421f3(0x1f3))&&this[_0x4421f3(0x1ba)][_0x4421f3(0x158)][_0x4421f3(0x1c4)](_0x4421f3(0x1f3));let _0x5c8976=_0x29a3be[_0x4421f3(0x18a)];_0x13a02e&&_0x13a02e[_0x4421f3(0x201)]&&(_0x5c8976=_0x5c8976[_0x4421f3(0x227)](_0x114617=>_0x4421f3(0x1f6)!==_0x114617)),this[_0x4421f3(0x1ba)][_0x4421f3(0x158)][_0x4421f3(0x1c4)](_0x4421f3(0x24a))[_0x4421f3(0x247)](_0x5c8976,this[_0x4421f3(0x1fa)]);}}),_0x20dde0[_0x17d2d0(0x173)](this[_0x17d2d0(0x1fa)],_0x200171);}[_0xe0519b(0x259)](){const _0x38993a=_0xe0519b,_0x2d7f8e=this[_0x38993a(0x1ba)][_0x38993a(0x234)][_0x38993a(0x16f)];this[_0x38993a(0x1ba)][_0x38993a(0x234)][_0x38993a(0x16f)]=(..._0x461206)=>{const _0x1116d2=_0x38993a;if(!_0x461206[_0x461206[_0x1116d2(0x1e7)]-0x1][_0x1116d2(0x1b8)])throw new _0x3b39b4(_0x1116d2(0x1db),this);_0x2d7f8e[_0x1116d2(0x17b)](this[_0x1116d2(0x1ba)][_0x1116d2(0x234)],_0x461206);};}[_0xe0519b(0x1d7)](){const _0x5e37f1=_0xe0519b;this[_0x5e37f1(0x1ba)][_0x5e37f1(0x234)]['on'](_0x5e37f1(0x212),(_0x11b1a1,[_0x36cabb])=>{const _0x4510f3=_0x5e37f1;if(this[_0x4510f3(0x167)][_0x4510f3(0x1eb)])throw new _0x3b39b4(_0x4510f3(0x25b),this);_0x11b1a1[_0x4510f3(0x1e1)](),this[_0x4510f3(0x1cd)]();const _0x51e456=this[_0x4510f3(0x1ba)][_0x4510f3(0x15c)][_0x4510f3(0x1c4)](_0x4510f3(0x18b)),_0x290c6e=this[_0x4510f3(0x216)](_0x36cabb,_0x51e456);0x0==_0x290c6e[_0x4510f3(0x1e7)]&&_0x290c6e[_0x4510f3(0x24c)](new _0x21af05(0x0)),_0x11b1a1[_0x4510f3(0x186)]=this[_0x4510f3(0x1e4)](_0x290c6e)[_0x4510f3(0x238)](()=>{const _0x4da691=_0x4510f3;this[_0x4da691(0x1ba)][_0x4da691(0x158)][_0x4da691(0x1c4)](_0x52e86)[_0x4da691(0x1e0)](this),this[_0x4da691(0x1ba)][_0x4da691(0x234)][_0x4da691(0x15d)](_0x4da691(0x180));})[_0x4510f3(0x1af)](_0x298be2=>this[_0x4510f3(0x251)](_0x4510f3(0x1b5),_0x298be2))[_0x4510f3(0x19b)](()=>this[_0x4510f3(0x205)]());},{'priority':_0x5e37f1(0x199)}),this[_0x5e37f1(0x1ba)]['on'](_0x5e37f1(0x208),async(_0x9a264,[_0x21b04d,_0x406b56])=>{const _0xfc1112=_0x5e37f1;_0x9a264[_0xfc1112(0x1e1)]();const _0x1e72ac=this[_0xfc1112(0x1ba)][_0xfc1112(0x1ee)][_0xfc1112(0x1fd)][_0xfc1112(0x1f4)](_0x21b04d);if(!this[_0xfc1112(0x1ef)][_0xfc1112(0x1da)](_0x21b04d)){const _0x377a80=_0x406b56&&_0x406b56[_0xfc1112(0x234)]?_0x406b56[_0xfc1112(0x234)]:'',_0x56f4d4=_0x406b56&&_0x406b56[_0xfc1112(0x1e5)]?_0x406b56[_0xfc1112(0x1e5)]:{};await this[_0xfc1112(0x248)](_0x21b04d,_0x377a80,_0x56f4d4);}this[_0xfc1112(0x1ba)][_0xfc1112(0x1ee)][_0xfc1112(0x1fb)]({'isUndoable':!0x1},()=>{const _0x55d406=_0xfc1112;_0x1e72ac[_0x55d406(0x191)]=!0x0,this[_0x55d406(0x1ba)][_0x55d406(0x1ee)][_0x55d406(0x1fd)][_0x55d406(0x184)][_0x55d406(0x243)](_0x1e72ac);});},{'priority':_0x5e37f1(0x199)});}async[_0xe0519b(0x229)](_0x2141b6){const _0x5db0a1=_0xe0519b,_0x5e460d=this[_0x5db0a1(0x1ba)][_0x5db0a1(0x158)][_0x5db0a1(0x1c4)](_0xf72583),{connection:_0x964605}=this[_0x5db0a1(0x1ba)][_0x5db0a1(0x158)][_0x5db0a1(0x1c4)](_0x52e86),_0x41ee81=new Set();for(const _0x1a88ba of _0x2141b6){const _0x573673=_0x1a88ba[_0x5db0a1(0x210)];_0x573673&&!_0x5e460d[_0x5db0a1(0x25a)](_0x573673)&&_0x41ee81[_0x5db0a1(0x1bc)](_0x573673);}if(0x0===_0x41ee81[_0x5db0a1(0x231)])return;const _0x4aef82=await _0x3ad33f[_0x5db0a1(0x258)](_0x964605,Array[_0x5db0a1(0x162)](_0x41ee81));for(const _0x1a22af of _0x4aef82)_0x5e460d[_0x5db0a1(0x25a)](_0x1a22af['id'])||_0x5e460d[_0x5db0a1(0x196)](_0x1a22af);}[_0xe0519b(0x216)](_0x549017,_0x2cc445={}){const _0x39f3ca=_0xe0519b,_0x442264=this[_0x39f3ca(0x1ba)][_0x39f3ca(0x1ee)],_0x594434=[];let _0x339c5e=0x0;const _0x3a504e=_0x39f3ca(0x253)==typeof _0x549017?{'main':_0x549017}:_0x549017;for(const _0x3da2ee of Object[_0x39f3ca(0x15e)](_0x3a504e)){if(!this[_0x39f3ca(0x167)][_0x39f3ca(0x1b4)][_0x39f3ca(0x1da)](_0x3da2ee))throw new _0x3b39b4(_0x39f3ca(0x211),this);const _0x3f0e48=this[_0x39f3ca(0x1ba)][_0x39f3ca(0x234)][_0x39f3ca(0x1b6)](_0x3a504e[_0x3da2ee]),_0x2ae2de=this[_0x39f3ca(0x167)][_0x39f3ca(0x1f4)](_0x3da2ee),_0x2dd9c9=new _0x2fc6c0(_0x442264[_0x39f3ca(0x170)](_0x2ae2de,0x0),_0x3f0e48,_0x339c5e++);_0x594434[_0x39f3ca(0x24c)](_0x2dd9c9);for(const [_0xb8dc9a,_0x5e4b79]of _0x3f0e48[_0x39f3ca(0x16b)]){const _0x7917d1=_0x442264[_0x39f3ca(0x19d)](_0x442264[_0x39f3ca(0x172)](_0x2ae2de,_0x5e4b79[_0x39f3ca(0x1f9)][_0x39f3ca(0x185)][_0x39f3ca(0x221)]()),_0x442264[_0x39f3ca(0x172)](_0x2ae2de,_0x5e4b79[_0x39f3ca(0x1b0)][_0x39f3ca(0x185)][_0x39f3ca(0x221)]())),_0x486a0d=new _0x5a1137(_0xb8dc9a,null,_0x7917d1,_0x442264[_0x39f3ca(0x16b)],!0x0,_0x339c5e++);_0x594434[_0x39f3ca(0x24c)](_0x486a0d);}}if(_0x2cc445)for(const [_0x16d9b6,_0x1fafed]of Object[_0x39f3ca(0x1b1)](_0x2cc445)){const _0x3c6c80=_0x442264[_0x39f3ca(0x1fd)][_0x39f3ca(0x1f4)](_0x16d9b6);if(!_0x3c6c80)throw new _0x3b39b4(_0x39f3ca(0x20c),null);for(const [_0x41dcef,_0x152437]of Object[_0x39f3ca(0x1b1)](_0x1fafed))if(null!==_0x152437){const _0x4eaf72=new _0x49c7b1(_0x3c6c80,_0x41dcef,null,_0x152437,_0x339c5e++);_0x594434[_0x39f3ca(0x24c)](_0x4eaf72);}}return _0x594434;}async[_0xe0519b(0x248)](_0x102eba,_0x599209,_0x47b16a){const _0x59c71a=_0xe0519b;this[_0x59c71a(0x216)]({[_0x102eba]:_0x599209},{[_0x102eba]:_0x47b16a})[_0x59c71a(0x20a)]((_0x324c93,_0x17ca0c)=>{const _0x409a45=_0x59c71a;_0x324c93[_0x409a45(0x1ff)]=this[_0x409a45(0x167)][_0x409a45(0x1eb)]+_0x17ca0c,_0x324c93[_0x409a45(0x1c8)]=!0x0,this[_0x409a45(0x1c6)](_0x324c93);}),this[_0x59c71a(0x241)](),await this[_0x59c71a(0x1f5)]();}async[_0xe0519b(0x1a7)](_0x373757,_0x530d0a){const _0x4a1645=_0xe0519b;let _0x41b182;this[_0x4a1645(0x230)]=_0x373757[_0x4a1645(0x188)];const _0x260daa=_0x373757[_0x4a1645(0x1a9)]&&!_0x373757[_0x4a1645(0x1e2)],_0x39e10c=_0x260daa?0x0:_0x373757[_0x4a1645(0x234)][_0x4a1645(0x1ff)];if(_0x530d0a[_0x4a1645(0x20a)](_0xed36a=>{const _0x33931f=_0x4a1645;_0xed36a[_0x33931f(0x1c8)]=!0x0,_0xed36a[_0x33931f(0x1c5)]=_0x373757[_0x33931f(0x236)],_0xed36a[_0x33931f(0x210)]=null;}),_0x260daa)_0x41b182=_0x530d0a,this[_0x4a1645(0x257)](_0x41b182,_0x260daa);else{if(_0x373757[_0x4a1645(0x1e2)]){const _0x18afe2=this[_0x4a1645(0x216)](_0x373757[_0x4a1645(0x1e2)]);this[_0x4a1645(0x167)][_0x4a1645(0x159)][_0x4a1645(0x1eb)]=-_0x18afe2[_0x4a1645(0x1e7)],_0x18afe2[_0x4a1645(0x20a)](_0x5c30e1=>{const _0x393474=_0x4a1645;_0x5c30e1[_0x393474(0x1ff)]-=_0x18afe2[_0x393474(0x1e7)],_0x5c30e1[_0x393474(0x1c5)]=_0x373757[_0x393474(0x236)],_0x5c30e1[_0x393474(0x1c8)]=!0x0,_0x5c30e1[_0x393474(0x210)]=null;}),this[_0x4a1645(0x257)](_0x18afe2,!0x0),this[_0x4a1645(0x23f)][_0x4a1645(0x1eb)]=-_0x18afe2[_0x4a1645(0x1e7)]+this[_0x4a1645(0x230)],this[_0x4a1645(0x1e6)](_0x18afe2);}this[_0x4a1645(0x167)][_0x4a1645(0x159)][_0x4a1645(0x1eb)]=_0x39e10c,_0x41b182=this[_0x4a1645(0x160)](_0x373757[_0x4a1645(0x234)],_0x373757[_0x4a1645(0x232)]),await this[_0x4a1645(0x229)](_0x41b182),this[_0x4a1645(0x257)](_0x41b182,_0x260daa);}_0x373757[_0x4a1645(0x23a)]&&(this[_0x4a1645(0x21f)][_0x4a1645(0x1f2)](_0x41b182,_0x373757[_0x4a1645(0x23a)]),this[_0x4a1645(0x168)]=_0x373757[_0x4a1645(0x23a)]),this[_0x4a1645(0x23f)][_0x4a1645(0x1eb)]=_0x39e10c+this[_0x4a1645(0x230)],this[_0x4a1645(0x1e6)](_0x41b182),_0x530d0a[_0x4a1645(0x227)](_0x1a7ca1=>{const _0x20b859=_0x4a1645,_0x10f854=this[_0x20b859(0x1cb)](_0x1a7ca1);return _0x10f854&&!this[_0x20b859(0x1ef)][_0x20b859(0x1da)](_0x10f854);})[_0x4a1645(0x20a)]((_0x17fa1f,_0xe2cc96)=>{const _0x4aef96=_0x4a1645;_0x17fa1f[_0x4aef96(0x1ff)]=this[_0x4aef96(0x167)][_0x4aef96(0x1eb)]+_0xe2cc96,this[_0x4aef96(0x1c6)](_0x17fa1f);}),this[_0x4a1645(0x17d)]()?(this[_0x4a1645(0x20e)]=0x0,this[_0x4a1645(0x241)](!0x0),await this[_0x4a1645(0x1f5)]()):(this[_0x4a1645(0x1b7)]=!0x1,this[_0x4a1645(0x205)]());}[_0xe0519b(0x251)](_0x4f73d4,_0x5e72a6){const _0x121d19=_0xe0519b,_0xacf8da=_0x5e72a6&&_0x5e72a6[_0x121d19(0x1e3)];if(_0xacf8da&&_0xacf8da[_0x121d19(0x1d3)](_0x121d19(0x254)))throw _0x5e72a6;const _0x4a1cb1=this[_0x121d19(0x1ba)][_0x121d19(0x158)][_0x121d19(0x1c4)](_0x52e86);throw this[_0x121d19(0x1b7)]=!0x0,_0x4a1cb1[_0x121d19(0x1a3)](),this[_0x121d19(0x1ba)][_0x121d19(0x233)](_0x121d19(0x1a2)),new _0x3b39b4(_0x4f73d4,this[_0x121d19(0x1ba)],_0xacf8da?{'originalError':_0xacf8da}:void 0x0);}[_0xe0519b(0x1c6)](_0x546940){const _0x3dcaf3=_0xe0519b;this[_0x3dcaf3(0x224)][_0x3dcaf3(0x1da)](_0x546940)||(this[_0x3dcaf3(0x224)][_0x3dcaf3(0x1bc)](_0x546940),this[_0x3dcaf3(0x1a6)][_0x3dcaf3(0x24c)](_0x546940),this[_0x3dcaf3(0x15a)]||_0x3dcaf3(0x193)==_0x546940[_0x3dcaf3(0x223)]&&!_0x546940[_0x3dcaf3(0x1ad)]||this[_0x3dcaf3(0x1cd)]());}[_0xe0519b(0x241)](_0x7c9535=!0x1){const _0x3f1543=_0xe0519b;!_0x7c9535&&this[_0x3f1543(0x1b7)]||(this[_0x3f1543(0x1b7)]=!0x0,clearTimeout(this[_0x3f1543(0x1cc)]),this[_0x3f1543(0x1cc)]=setTimeout(()=>{const _0x4f11ef=_0x3f1543;this[_0x4f11ef(0x1bf)]()[_0x4f11ef(0x238)](_0x42ca48=>{const _0x431260=_0x4f11ef;_0x42ca48&&(this[_0x431260(0x205)](),this[_0x431260(0x1b7)]=!0x1);})[_0x4f11ef(0x1af)](_0x2c393a=>{const _0x4d0966=_0x4f11ef;this[_0x4d0966(0x205)](),this[_0x4d0966(0x1b7)]=!0x1,function(_0x3a12b2){const _0x20c7d9=_0x4d0966;return _0x3a12b2[_0x20c7d9(0x1e3)][_0x20c7d9(0x1d3)](_0x20c7d9(0x17f))||_0x3a12b2[_0x20c7d9(0x1e3)][_0x20c7d9(0x1d3)](_0x20c7d9(0x21e))||_0x3a12b2[_0x20c7d9(0x1e3)][_0x20c7d9(0x1d3)](_0x20c7d9(0x256));}(_0x2c393a)||this[_0x4d0966(0x251)](_0x2c393a[_0x4d0966(0x1e3)],_0x2c393a);});},this[_0x3f1543(0x20e)]));}[_0xe0519b(0x1f5)](){return new Promise(_0x5daeb3=>{const _0x5e9f80=_0x34bc;this['on'](_0x5e9f80(0x252),()=>{_0x5daeb3();});});}async[_0xe0519b(0x1bf)](){const _0x1c2b83=_0xe0519b,_0x24bc65=this[_0x1c2b83(0x1ba)][_0x1c2b83(0x158)][_0x1c2b83(0x1c4)](_0x36c06e);if(this[_0x1c2b83(0x22d)]()&&(_0x24bc65[_0x1c2b83(0x1d8)](),this[_0x1c2b83(0x1d1)]=!0x1),!this[_0x1c2b83(0x17d)]())return!0x0;const _0x416815=[...this[_0x1c2b83(0x1a6)]];for(const _0x2ad777 of _0x416815)_0x2ad777[_0x1c2b83(0x20b)]=this[_0x1c2b83(0x167)][_0x1c2b83(0x159)][_0x1c2b83(0x177)](_0x2ad777);const _0x73af78=this[_0x1c2b83(0x21f)][_0x1c2b83(0x187)](_0x416815),_0xae32d1=Q++,_0x5b3c3c=this[_0x1c2b83(0x23e)](_0x416815),_0x4caa59=await this[_0x1c2b83(0x1d6)][_0x1c2b83(0x1a5)](_0x5b3c3c,_0x5b3c3c[_0x1c2b83(0x1ff)],_0x73af78);try{return await this[_0x1c2b83(0x190)](_0x416815,_0x4caa59,_0xae32d1);}catch(_0x218617){return this[_0x1c2b83(0x251)](_0x1c2b83(0x1ac),_0x218617);}}async[_0xe0519b(0x190)](_0x407513,_0x5dff70,_0x515df3){const _0x4b4e22=_0xe0519b;if(_0x4b4e22(0x16e)in _0x5dff70)throw _0x5dff70[_0x4b4e22(0x16e)];let _0x4d8f77=!0x1;if(_0x5dff70[_0x4b4e22(0x1a9)]){_0x5dff70[_0x4b4e22(0x23a)]&&(this[_0x4b4e22(0x168)]=_0x5dff70[_0x4b4e22(0x23a)]),this[_0x4b4e22(0x1a6)]=this[_0x4b4e22(0x1a6)][_0x4b4e22(0x227)](_0x2bf761=>!_0x407513[_0x4b4e22(0x21c)](_0x2bf761));for(const _0x4e54a2 of _0x407513)_0x4e54a2[_0x4b4e22(0x1c5)]=_0x4b4e22(0x203)in _0x5dff70&&_0x5dff70[_0x4b4e22(0x203)]||void 0x0;Y(_0x407513,_0x5dff70[_0x4b4e22(0x1eb)]-_0x407513[_0x4b4e22(0x1e7)]),this[_0x4b4e22(0x1e6)](_0x407513);const _0x151dab=_0x407513[_0x4b4e22(0x227)](_0x1f9e09=>{const _0x3340cd=_0x4b4e22;if(!_0x1f9e09[_0x3340cd(0x1c8)])return!0x1;const _0x57447f=this[_0x3340cd(0x1cb)](_0x1f9e09);return _0x57447f&&!this[_0x3340cd(0x1ef)][_0x3340cd(0x1da)](_0x57447f);});Y(_0x151dab,this[_0x4b4e22(0x167)][_0x4b4e22(0x1eb)]),this[_0x4b4e22(0x257)](_0x151dab),_0x4d8f77=!0x0,this[_0x4b4e22(0x20e)]=this[_0x4b4e22(0x1be)];}else{const _0x487180=this[_0x4b4e22(0x160)](_0x5dff70[_0x4b4e22(0x234)],_0x5dff70[_0x4b4e22(0x232)])[_0x4b4e22(0x227)](_0x58392c=>_0x58392c[_0x4b4e22(0x1ff)]>=this[_0x4b4e22(0x17e)]);_0x487180[_0x4b4e22(0x20a)](_0x150bf5=>this[_0x4b4e22(0x202)](_0x150bf5)),this[_0x4b4e22(0x1a6)]=this[_0x4b4e22(0x1a6)][_0x4b4e22(0x227)](_0x463871=>!_0x463871[_0x4b4e22(0x1c8)]||!this[_0x4b4e22(0x1ef)][_0x4b4e22(0x1da)](this[_0x4b4e22(0x1cb)](_0x463871))),this[_0x4b4e22(0x1a6)][_0x4b4e22(0x1e7)]&&Y(this[_0x4b4e22(0x1a6)],this[_0x4b4e22(0x1a6)][0x0][_0x4b4e22(0x1ff)]),await this[_0x4b4e22(0x229)](_0x487180),_0x4d8f77=this[_0x4b4e22(0x1fe)](_0x487180,_0x5dff70[_0x4b4e22(0x1eb)],_0x5dff70[_0x4b4e22(0x23a)]),this[_0x4b4e22(0x20e)]=Math[_0x4b4e22(0x16c)](this[_0x4b4e22(0x20e)]/0x2);}return _0x4d8f77?!this[_0x4b4e22(0x17d)]()||(this[_0x4b4e22(0x241)](!0x0),!0x1):this[_0x4b4e22(0x251)](_0x4b4e22(0x1f0));}[_0xe0519b(0x1fe)](_0x3bffd6,_0x2ccd0b,_0x8fb592){const _0x1fa7a4=_0xe0519b;try{const _0x3f7f0e={'document':this[_0x1fa7a4(0x167)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x52f50e,operationsB:_0x2bf7a9,originalOperations:_0xf175c9}=_0x5237f5(_0x3bffd6,this[_0x1fa7a4(0x1a6)],_0x3f7f0e);Y(_0x52f50e,this[_0x1fa7a4(0x167)][_0x1fa7a4(0x1eb)]),Y(_0x2bf7a9,_0x2ccd0b);for(const _0x8e6bc6 of _0x52f50e){const _0x2824ca=_0xf175c9[_0x1fa7a4(0x1c4)](_0x8e6bc6);_0x8e6bc6[_0x1fa7a4(0x210)]=_0x2824ca?_0x2824ca[_0x1fa7a4(0x210)]:null;}_0x8fb592&&(this[_0x1fa7a4(0x21f)][_0x1fa7a4(0x1f2)](_0x3bffd6,_0x8fb592),this[_0x1fa7a4(0x168)]=_0x8fb592),this[_0x1fa7a4(0x1a6)]=[..._0x2bf7a9],this[_0x1fa7a4(0x257)](_0x52f50e),this[_0x1fa7a4(0x1e6)](_0x3bffd6);}catch(_0x3c780a){return console[_0x1fa7a4(0x16e)](_0x3c780a),!0x1;}return!0x0;}[_0xe0519b(0x257)](_0x233e00,_0x44769b=!0x1){const _0x595da6=_0xe0519b;this[_0x595da6(0x1ba)][_0x595da6(0x1ee)][_0x595da6(0x1fb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1cd7df=>{const _0x1bdd23=_0x595da6;for(const _0x28853f of _0x233e00)this[_0x1bdd23(0x224)][_0x1bdd23(0x1bc)](_0x28853f),this[_0x1bdd23(0x202)](_0x28853f),_0x1cd7df[_0x1bdd23(0x24b)][_0x1bdd23(0x19c)](_0x28853f),this[_0x1bdd23(0x1ba)][_0x1bdd23(0x1ee)][_0x1bdd23(0x245)](_0x28853f);});}[_0xe0519b(0x202)](_0x800f5e){const _0x55b377=_0xe0519b,_0x4c2a9b=this[_0x55b377(0x1cb)](_0x800f5e);_0x4c2a9b&&this[_0x55b377(0x1ef)][_0x55b377(0x1bc)](_0x4c2a9b);}[_0xe0519b(0x1cb)](_0x3602e3){const _0x18f1e4=_0xe0519b;let _0x4cc1fc,_0x1547f2;switch(_0x3602e3[_0x18f1e4(0x223)]){case _0x18f1e4(0x1a1):_0x4cc1fc=_0x3602e3[_0x18f1e4(0x206)][_0x18f1e4(0x1d9)];break;case _0x18f1e4(0x193):if(_0x1547f2=_0x3602e3[_0x18f1e4(0x24f)],!_0x1547f2)return null;_0x4cc1fc=_0x1547f2[_0x18f1e4(0x1d9)];break;case _0x18f1e4(0x218):_0x4cc1fc=_0x3602e3[_0x18f1e4(0x1d9)];break;case _0x18f1e4(0x178):_0x4cc1fc=_0x3602e3[_0x18f1e4(0x17a)];break;case _0x18f1e4(0x250):_0x4cc1fc=_0x3602e3[_0x18f1e4(0x25f)][_0x18f1e4(0x1d9)];break;default:return null;}return _0x4cc1fc[_0x18f1e4(0x1d2)];}[_0xe0519b(0x1e6)](_0x2e61b1){const _0x201d22=_0xe0519b;_0x2e61b1[_0x201d22(0x20a)](_0x40fa72=>{const _0x187a7a=_0x201d22,_0x1f2b70=_0x40fa72[_0x187a7a(0x25e)]();_0x1f2b70[_0x187a7a(0x210)]=_0x40fa72[_0x187a7a(0x210)],_0x1f2b70[_0x187a7a(0x1c8)]=!!_0x40fa72[_0x187a7a(0x1c8)],_0x1f2b70[_0x187a7a(0x1c5)]=_0x40fa72[_0x187a7a(0x1c5)],_0x1f2b70[_0x187a7a(0x1ff)]+=this[_0x187a7a(0x230)],_0x40fa72[_0x187a7a(0x16d)]&&this[_0x187a7a(0x1ed)][_0x187a7a(0x1bc)](_0x1f2b70),this[_0x187a7a(0x23f)][_0x187a7a(0x19c)](_0x1f2b70);});}[_0xe0519b(0x16a)](_0x185a33){const _0x3959a8=_0xe0519b,_0x320e91=this[_0x3959a8(0x1ba)][_0x3959a8(0x158)][_0x3959a8(0x1c4)](_0x3959a8(0x1f7)),_0xc2cc55=this[_0x3959a8(0x1ba)][_0x3959a8(0x22e)];_0x185a33||(_0x185a33=_0x4f1b52(_0xc2cc55,_0x3959a8(0x200))),_0x320e91[_0x3959a8(0x182)](_0x185a33,{'title':_0x4f1b52(_0xc2cc55,_0x3959a8(0x174)),'namespace':_0x3959a8(0x179)}),this[_0x3959a8(0x1fc)]=!0x0,clearTimeout(this[_0x3959a8(0x1cc)]),this[_0x3959a8(0x1a6)]=[],this[_0x3959a8(0x1ba)][_0x3959a8(0x158)][_0x3959a8(0x1c4)](_0x52e86)[_0x3959a8(0x1a3)]();}[_0xe0519b(0x1cd)](){const _0x3c0d5a=_0xe0519b;this[_0x3c0d5a(0x15a)]||(this[_0x3c0d5a(0x15a)]=this[_0x3c0d5a(0x1ba)][_0x3c0d5a(0x158)][_0x3c0d5a(0x1c4)](_0x282206)[_0x3c0d5a(0x1bc)](_0x4f1b52(this[_0x3c0d5a(0x1ba)][_0x3c0d5a(0x22e)],_0x3c0d5a(0x1df))));}[_0xe0519b(0x205)](){const _0x3dfb9c=_0xe0519b;this[_0x3dfb9c(0x15a)]&&(this[_0x3dfb9c(0x1ba)][_0x3dfb9c(0x158)][_0x3dfb9c(0x1c4)](_0x282206)[_0x3dfb9c(0x1b2)](this[_0x3dfb9c(0x15a)]),this[_0x3dfb9c(0x15a)]=null);}[_0xe0519b(0x23e)](_0x32b568){const _0x224edf=_0xe0519b,_0x3b8da0=_0x32b568[_0x224edf(0x1dd)](_0xf82385=>_0xf82385[_0x224edf(0x235)]());return this[_0x224edf(0x19a)][_0x224edf(0x1ab)](_0x3b8da0);}[_0xe0519b(0x160)](_0x32a1eb,_0x371d41){const _0x51bc05=_0xe0519b;return this[_0x51bc05(0x19a)][_0x51bc05(0x189)](_0x32a1eb)[_0x51bc05(0x1dd)]((_0x3d82af,_0x4f463e)=>{const _0x4d6d39=_0x51bc05,_0xf060ba=_0x4d6d39(0x212)==_0x371d41[_0x4f463e][_0x4d6d39(0x223)];if(_0x4d6d39(0x20f)==_0x3d82af[_0x4d6d39(0x1a0)]){const _0x3ef1a9=_0x3d82af[_0x4d6d39(0x206)][_0x4d6d39(0x1d9)];!this[_0x4d6d39(0x167)][_0x4d6d39(0x1f4)](_0x3ef1a9)&&(this[_0x4d6d39(0x167)][_0x4d6d39(0x1d0)](_0x4d6d39(0x23c),_0x3ef1a9)[_0x4d6d39(0x15b)]=!0x1);}const _0x524e8a=_0x36fc84[_0x4d6d39(0x1c1)](_0x3d82af,this[_0x4d6d39(0x167)]);return _0x524e8a[_0x4d6d39(0x20b)]=_0x3d82af[_0x4d6d39(0x20b)],_0x524e8a[_0x4d6d39(0x1c8)]=_0xf060ba,_0x524e8a[_0x4d6d39(0x210)]=_0xf060ba?null:_0x371d41[_0x4f463e][_0x4d6d39(0x1c3)],_0x524e8a[_0x4d6d39(0x16d)]=_0x4d6d39(0x24e)===_0x371d41[_0x4f463e][_0x4d6d39(0x223)],_0x524e8a[_0x4d6d39(0x1c5)]=_0x371d41[_0x4f463e][_0x4d6d39(0x1c5)],_0x524e8a;});}[_0xe0519b(0x1de)](){const _0xe23b1=_0xe0519b;this[_0xe23b1(0x1d1)]=!0x0,this[_0xe23b1(0x22d)]()?this[_0xe23b1(0x241)]():this[_0xe23b1(0x1d1)]=!0x1;}[_0xe0519b(0x22d)](){const _0x3a37ac=_0xe0519b,_0x4b3996=this[_0x3a37ac(0x1ba)][_0x3a37ac(0x158)][_0x3a37ac(0x1c4)](_0x49d947)[_0x3a37ac(0x22f)][_0x3a37ac(0x1c4)](this[_0x3a37ac(0x1fa)]);return!this[_0x3a37ac(0x1ba)][_0x3a37ac(0x183)]&&!!_0x4b3996&&_0x4b3996[_0x3a37ac(0x1e7)]>0x1&&this[_0x3a37ac(0x1d1)];}[_0xe0519b(0x17d)](){const _0x346d0c=_0xe0519b;return this[_0x346d0c(0x1a6)][_0x346d0c(0x1e7)]>0x0||this[_0x346d0c(0x22d)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x1711d9,_0x1efc0e){const _0x250d2d=_0xe0519b;for(const _0xc2c76 of _0x1711d9)_0xc2c76[_0x250d2d(0x1ff)]=_0x1efc0e++;}function _0x3300(){const _0x2d8fed=['stopListening','_decompressOperations','_isConnected','from','isPremiumPlugin','connect','currentDocumentSession','sessionId','_document','_lastSyncedOperationId','removeFromReconnectionStack','_handleReconnectionError','markers','round','_isDisconnection','error','set','createPositionAt','4GMFrmU','createPositionFromPath','register','Synchronization\x20issue','selection','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isUndoneOperation','addRoot','real-time-collaboration','affectedSelectable','apply','define','_shouldSendUpdate','_lastServerVersion','cloud-services-internal-error:\x20Not\x20connected.','ready','realtimecollaborationclient-init-service-incorrect-server-operation','showWarning','isReadOnly','differ','path','return','getIdOfTheLastOperation','offset','decompress','permissions','rootsAttributes','4LEZASU','editing','code','280gBmRGl','_handleServerResponse','_isLoaded','operationsReceived','marker','6657190ZhkSvD','collaboration','addUser','unregister','disconnected','high','_compressor','finally','addOperation','createRange','getDocumentDetails','rtc-destroyed','__className','insert','realtimecollaborationclient-error','disconnect','realtimecollaborationclient-init-session-connection-error','sendOperations','_bufferedOperations','_handleInitialConnectionData','4011804ySLodC','wereChangesApplied','lastSyncVersion','compress','realtimecollaborationclient-sendbufferedoperations','affectsData','off','catch','end','entries','remove','409','roots','realtimecollaborationclient-init-connection-failed','parse','_isPendingUpdate','suppressErrorInCollaboration','collaboration-missing-channelid','editor','13733707EdaZqA','add','disableReadOnlyMode','_baseBufferDelay','_sendBufferedOperations','_initSessionsHandling','fromJSON','collaboration.channelId','userId','get','createdAt','_saveOperationInBuffer','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isInit','getOperationAuthor','rtc-offline','_getAffectedRoot','_sendBufferedOperationsDelayId','_setPendingAction','_operationToId','change:hasDomSelection','createRoot','_hasSelectionChanged','rootName','startsWith','cloudServices.bundleVersion','3160053QGBlwm','_service','_setUpDataInit','createUserMarkerOperations','root','has','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','listenTo','map','_refreshUserSelectionMarkers','PENDING_ACTION_SENDING_DATA','addToReconnectionStack','stop','initData','message','_connectService','attributes','_updateServerHistory','length','15861890CniXny','404','_handleReceivedOperations','version','sessionAdd:','_disconnectionOperations','model','_knownRootNames','realtimecollaborationclient-handleserverresponse','102411gzyEYI','setIdForTheLastOperation','CommentsOnly','getRoot','_waitUntilSynced','document:write','Notification','getOperations','start','_channelId','enqueueChange','_hasSynchronizationProblem','document','_handleExternalOperations','baseVersion','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.','isEnabled','_addKnownRoot','lastOperationAcceptedAt','state','_clearPendingAction','position','reconnect','loadRoot','reset','forEach','wasUndone','multi-root-editor-root-attributes-no-root','view','_currentBufferDelay','InsertOperation','_authorId','realtimecollaborationclient-init-non-existent-root','init','getConnectedSessions','_connectAfterSessionHasBeenFlushed','RealTimeCollaborationClient','_getOperationsFromInitData','_handleReconnectionResponse','addRootAttribute','725810qwuyNf','isDocumentOperation','destroy','includes','reconnection:\x20flushed\x20session','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_operationIdentifier','cloudDocumentVersion','slice','requires','type','_knownOperations','CollaborativeEditingService','_disconnectService','filter','10HLGAsp','_fetchMissingUsers','_handleSendingSelectionMarkers','isOfficialPlugin','_isEditingAllowed','_shouldSendSelectionUpdate','locale','channelSessions','_offset','size','metadata','enableReadOnlyMode','data','toJSON','sessionCreatedAt','12ilZgOX','then','connected','lastOperationId','7TPEYgF','$root','change:_isEditingAllowed','_compressOperations','serverHistory','bind','_sendBufferedOperationsDelayed','lastDocumentSession','_bufferRootLoad','_ignoredOperations','applyOperation','connection','setPermissions','_loadRoot','change:range','Permissions','batch','push','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.','cs:removeUser','newRange','move','_crash','change:_isPendingUpdate','string','realtimecollaborationclient','pluginName','cloud-services-internal-error:\x20Request\x20timeout.','_applyOperationsSet','getMany','_initThrowingOnDataSet','getUser','realtimecollaborationclient-init-document-already-initialized','mySessionId','realtimecollaborationclient-init-service-internal-error','clone','targetPosition','directChange','plugins','history','_pendingAction','_isAttached','config','fire','keys'];_0x3300=function(){return _0x2d8fed;};return _0x3300();}function _0x34bc(_0x2bd80b,_0x84c193){const _0x33002b=_0x3300();return _0x34bc=function(_0x34bc7c,_0x4590db){_0x34bc7c=_0x34bc7c-0x157;let _0x877e1f=_0x33002b[_0x34bc7c];return _0x877e1f;},_0x34bc(_0x2bd80b,_0x84c193);}class Z{[_0xe0519b(0x244)];[_0xe0519b(0x1ce)];constructor(_0x139657){const _0x571d79=_0xe0519b;this[_0x571d79(0x244)]=_0x139657,this[_0x571d79(0x1ce)]=new WeakMap();}[_0xe0519b(0x187)](_0x1652a4){const _0x5b5ae5=_0xe0519b;let _0x474423=_0x1652a4[_0x5b5ae5(0x1e7)];for(;_0x474423--;){const _0x2d3879=_0x1652a4[_0x474423];if(!this[_0x5b5ae5(0x244)][_0x5b5ae5(0x1da)](_0x2d3879)){if(!this[_0x5b5ae5(0x1ce)][_0x5b5ae5(0x1da)](_0x2d3879)){const _0x46302c=_0x2ff451()[_0x5b5ae5(0x221)](0x1,0x12);this[_0x5b5ae5(0x1ce)][_0x5b5ae5(0x16f)](_0x2d3879,_0x46302c);}return this[_0x5b5ae5(0x1ce)][_0x5b5ae5(0x1c4)](_0x2d3879);}}}[_0xe0519b(0x1f2)](_0x2cff73,_0x2081ca){const _0x4a8814=_0xe0519b;if(!_0x2081ca)return;let _0x3498a1=_0x2cff73[_0x4a8814(0x1e7)];for(;_0x3498a1--;){const _0x43c453=_0x2cff73[_0x3498a1];this[_0x4a8814(0x244)][_0x4a8814(0x1da)](_0x43c453)||this[_0x4a8814(0x1ce)][_0x4a8814(0x16f)](_0x43c453,_0x2081ca);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2582b2=_0x41e1;(function(_0x222c91,_0xfc097){const _0x2ec63d=_0x41e1,_0xde3cba=_0x222c91();while(!![]){try{const _0x4517a8=parseInt(_0x2ec63d(0x18d))/0x1*(parseInt(_0x2ec63d(0x197))/0x2)+parseInt(_0x2ec63d(0x15e))/0x3*(-parseInt(_0x2ec63d(0x17b))/0x4)+parseInt(_0x2ec63d(0x174))/0x5*(parseInt(_0x2ec63d(0x195))/0x6)+-parseInt(_0x2ec63d(0x186))/0x7+parseInt(_0x2ec63d(0x18b))/0x8+parseInt(_0x2ec63d(0x178))/0x9+parseInt(_0x2ec63d(0x18c))/0xa;if(_0x4517a8===_0xfc097)break;else _0xde3cba['push'](_0xde3cba['shift']());}catch(_0x3895d9){_0xde3cba['push'](_0xde3cba['shift']());}}}(_0x2a53,0x7de69));import{ContextPlugin as _0x5a52ee}from'ckeditor5/src/core.js';import{Collection as _0x535383,CKEditorError as _0x15687e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x373ef1}from'./websocketgateway.js';import{Users as _0x36d5a6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x41e1(_0x14131a,_0x2c4569){const _0x2a539c=_0x2a53();return _0x41e1=function(_0x41e1c8,_0x378a11){_0x41e1c8=_0x41e1c8-0x15e;let _0x40a4b6=_0x2a539c[_0x41e1c8];return _0x40a4b6;},_0x41e1(_0x14131a,_0x2c4569);}export class Sessions extends _0x5a52ee{[_0x2582b2(0x184)];[_0x2582b2(0x18e)];[_0x2582b2(0x16f)];[_0x2582b2(0x163)];[_0x2582b2(0x192)];[_0x2582b2(0x16e)];static get[_0x2582b2(0x183)](){const _0x4985e5=_0x2582b2;return _0x4985e5(0x168);}static get[_0x2582b2(0x17f)](){return!0x0;}static get[_0x2582b2(0x167)](){return!0x0;}static get[_0x2582b2(0x166)](){return[_0x373ef1,_0x36d5a6];}constructor(_0x5bca55){const _0x3f5a6a=_0x2582b2;super(_0x5bca55),this[_0x3f5a6a(0x184)]=new Map(),this[_0x3f5a6a(0x18e)]=new Map(),this[_0x3f5a6a(0x16f)]=new _0x535383(),this[_0x3f5a6a(0x163)]=new Map(),this[_0x3f5a6a(0x192)]=0x0,this[_0x3f5a6a(0x16e)]=this[_0x3f5a6a(0x19b)][_0x3f5a6a(0x175)][_0x3f5a6a(0x17a)](_0x36d5a6);}[_0x2582b2(0x160)](){const _0x30f0ff=_0x2582b2,_0x356777=this[_0x30f0ff(0x19b)][_0x30f0ff(0x175)][_0x30f0ff(0x17a)](_0x373ef1);this[_0x30f0ff(0x165)](_0x356777,_0x30f0ff(0x170),(_0x2990ad,_0x3ddcd0,_0x19ab85)=>{const _0x168a4d=_0x30f0ff;if(_0x168a4d(0x17c)!==_0x19ab85)this[_0x168a4d(0x184)][_0x168a4d(0x193)](_0x40df63=>_0x40df63[_0x168a4d(0x18a)]()),this[_0x168a4d(0x18e)][_0x168a4d(0x193)](_0x3ebe8f=>_0x3ebe8f[_0x168a4d(0x18a)]()),this[_0x168a4d(0x16f)][_0x168a4d(0x18a)]();else{for(const [_0x3172d0,_0x77f91d]of this[_0x168a4d(0x163)])for(const _0x3fa93c of _0x77f91d)this[_0x168a4d(0x171)](_0x3172d0,_0x3fa93c);}}),this[_0x30f0ff(0x199)](_0x356777[_0x30f0ff(0x172)]['me'],!0x0);}[_0x2582b2(0x194)](_0x4afbdc,_0x4288a0){const _0x5b03be=_0x2582b2;if(this[_0x5b03be(0x163)][_0x5b03be(0x177)](_0x4afbdc))throw new _0x15687e(_0x5b03be(0x173),null,{'channelId':_0x4afbdc});this[_0x5b03be(0x163)][_0x5b03be(0x189)](_0x4afbdc,_0x4288a0),this[_0x5b03be(0x184)][_0x5b03be(0x189)](_0x4afbdc,new _0x535383()),this[_0x5b03be(0x18e)][_0x5b03be(0x189)](_0x4afbdc,new _0x535383()),this[_0x5b03be(0x165)](_0x4288a0,_0x5b03be(0x164),(_0xcec897,_0x2d6ddb)=>this[_0x5b03be(0x171)](_0x4afbdc,_0x2d6ddb)),this[_0x5b03be(0x165)](_0x4288a0,_0x5b03be(0x17d),(_0x4ebcbd,_0x31c64f)=>this[_0x5b03be(0x19a)](_0x4afbdc,_0x31c64f));for(const _0x2d566b of _0x4288a0)this[_0x5b03be(0x171)](_0x4afbdc,_0x2d566b);}[_0x2582b2(0x196)](_0x4ebba2){const _0x224a15=_0x2582b2;if(!this[_0x224a15(0x163)][_0x224a15(0x177)](_0x4ebba2))throw new _0x15687e(_0x224a15(0x188),null,{'channelId':_0x4ebba2});const _0x3ab4cb=this[_0x224a15(0x163)][_0x224a15(0x17a)](_0x4ebba2);this[_0x224a15(0x16a)](_0x3ab4cb);for(const _0x57fcd8 of _0x3ab4cb)_0x224a15(0x17c)===this[_0x224a15(0x19b)][_0x224a15(0x175)][_0x224a15(0x17a)](_0x373ef1)[_0x224a15(0x198)]&&this[_0x224a15(0x19a)](_0x4ebba2,_0x57fcd8);this[_0x224a15(0x163)][_0x224a15(0x18f)](_0x4ebba2),this[_0x224a15(0x184)][_0x224a15(0x18f)](_0x4ebba2),this[_0x224a15(0x18e)][_0x224a15(0x18f)](_0x4ebba2);}get[_0x2582b2(0x179)](){const _0x3fd3a8=_0x2582b2;return this[_0x3fd3a8(0x19b)][_0x3fd3a8(0x175)][_0x3fd3a8(0x17a)](_0x373ef1)[_0x3fd3a8(0x172)][_0x3fd3a8(0x191)];}[_0x2582b2(0x169)](_0x3fe7f2){const _0x540d16=_0x2582b2;for(const _0x184730 of this[_0x540d16(0x184)][_0x540d16(0x16d)]())for(const _0x30991b of _0x184730)if(_0x30991b['id']===_0x3fe7f2)return _0x30991b[_0x540d16(0x190)];}[_0x2582b2(0x181)](_0x172753,_0x3d308b){const _0x1a3b5d=_0x2582b2,_0x28ed71=_0x3d308b?[this[_0x1a3b5d(0x184)][_0x1a3b5d(0x17a)](_0x3d308b)]:this[_0x1a3b5d(0x184)][_0x1a3b5d(0x16d)](),_0x55c8e3=new Set();for(const _0x24c496 of _0x28ed71)for(const _0x5e663 of _0x24c496)_0x5e663[_0x1a3b5d(0x190)]['id']===_0x172753['id']&&_0x55c8e3[_0x1a3b5d(0x164)](_0x5e663['id']);return _0x55c8e3;}[_0x2582b2(0x187)](_0x598403){const _0xc1e375=_0x2582b2;for(const _0x18df73 of this[_0xc1e375(0x184)][_0xc1e375(0x16d)]())for(const _0x3e8946 of _0x18df73)if(_0x3e8946[_0xc1e375(0x190)]===_0x598403)return _0x3e8946[_0xc1e375(0x176)];}[_0x2582b2(0x171)](_0x529de3,_0x425b4b){const _0x365c17=_0x2582b2;if(_0x365c17(0x17c)!==this[_0x365c17(0x19b)][_0x365c17(0x175)][_0x365c17(0x17a)](_0x373ef1)[_0x365c17(0x198)])return;const _0x208129=_0x425b4b[_0x365c17(0x190)],_0x3134cf=this[_0x365c17(0x16e)][_0x365c17(0x161)](_0x208129['id'])||this[_0x365c17(0x199)](_0x208129),_0x457a34=Object[_0x365c17(0x15f)]({},_0x425b4b,{'user':_0x3134cf});this[_0x365c17(0x184)][_0x365c17(0x17a)](_0x529de3)[_0x365c17(0x164)](_0x457a34);const _0x59f742=this[_0x365c17(0x18e)][_0x365c17(0x17a)](_0x529de3);_0x59f742[_0x365c17(0x177)](_0x3134cf['id'])||_0x59f742[_0x365c17(0x164)](_0x3134cf),this[_0x365c17(0x16f)][_0x365c17(0x177)](_0x3134cf['id'])||this[_0x365c17(0x16f)][_0x365c17(0x164)](_0x3134cf,_0x3134cf[_0x365c17(0x17e)]?0x0:void 0x0),this[_0x365c17(0x182)](_0x365c17(0x16b)+_0x529de3,{'channelId':_0x529de3,'session':_0x457a34});}[_0x2582b2(0x19a)](_0x5dcb86,_0x508060){const _0x34b311=_0x2582b2;if(_0x34b311(0x17c)!==this[_0x34b311(0x19b)][_0x34b311(0x175)][_0x34b311(0x17a)](_0x373ef1)[_0x34b311(0x198)])return;const _0x5e339c=this[_0x34b311(0x18e)][_0x34b311(0x17a)](_0x5dcb86),_0x44c7ed=_0x508060[_0x34b311(0x190)];_0x44c7ed['id']&&(this[_0x34b311(0x184)][_0x34b311(0x17a)](_0x5dcb86)[_0x34b311(0x17d)](_0x508060['id']),_0x5e339c[_0x34b311(0x177)](_0x44c7ed['id'])&&!this[_0x34b311(0x181)](_0x44c7ed,_0x5dcb86)[_0x34b311(0x162)]&&_0x5e339c[_0x34b311(0x17d)](_0x44c7ed['id']),this[_0x34b311(0x16f)][_0x34b311(0x17a)](_0x44c7ed['id'])&&!this[_0x34b311(0x181)](_0x44c7ed)[_0x34b311(0x162)]&&this[_0x34b311(0x16f)][_0x34b311(0x17d)](_0x44c7ed['id']));}[_0x2582b2(0x199)](_0x4cf44e,_0xed3b9e){const _0x19e837=_0x2582b2,_0x44d81f=this[_0x19e837(0x16e)][_0x19e837(0x185)](_0x4cf44e);return _0xed3b9e&&this[_0x19e837(0x16e)][_0x19e837(0x180)](_0x4cf44e['id']),_0x44d81f[_0x19e837(0x16c)]=this[_0x19e837(0x192)]++,_0x44d81f;}}function _0x2a53(){const _0x165ae2=['remove','isMe','isOfficialPlugin','defineMe','getUserSessions','fire','pluginName','channelSessions','addUser','2705920KRPYvG','getUserRole','sessions-unregister-not-exist','set','clear','440576fCdfER','2203740YIDepG','212453vRxTYr','channelConnectedUsers','delete','user','sessionId','_uniqueUsersCount','forEach','register','516rTSBgN','unregister','2tLJCwA','state','_createUser','_handleSessionRemove','context','888270FDUHDG','assign','init','getUser','size','_registeredSessions','add','listenTo','requires','isPremiumPlugin','Sessions','getUserBySessionId','stopListening','sessionAdd:','orderNumber','values','_users','allConnectedUsers','change:state','_handleSessionAdd','connection','sessions-register-already-registered','32320XdrwXg','plugins','role','has','1390824KADVBa','mySessionId','get','4meVvuw','connected'];_0x2a53=function(){return _0x165ae2;};return _0x2a53();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5c9657=_0x2a71;(function(_0x34b399,_0x9be9f3){const _0x8023d5=_0x2a71,_0x20f090=_0x34b399();while(!![]){try{const _0x4e0dc6=-parseInt(_0x8023d5(0x1c9))/0x1*(-parseInt(_0x8023d5(0x1c7))/0x2)+-parseInt(_0x8023d5(0x1b9))/0x3*(parseInt(_0x8023d5(0x1a8))/0x4)+-parseInt(_0x8023d5(0x178))/0x5+parseInt(_0x8023d5(0x1cf))/0x6*(parseInt(_0x8023d5(0x1b2))/0x7)+-parseInt(_0x8023d5(0x1cb))/0x8+parseInt(_0x8023d5(0x1cd))/0x9+parseInt(_0x8023d5(0x19d))/0xa;if(_0x4e0dc6===_0x9be9f3)break;else _0x20f090['push'](_0x20f090['shift']());}catch(_0x298161){_0x20f090['push'](_0x20f090['shift']());}}}(_0x284f,0xa76b1));function _0x2a71(_0xcb4a49,_0x44874c){const _0x284f1b=_0x284f();return _0x2a71=function(_0x2a71a6,_0x2de458){_0x2a71a6=_0x2a71a6-0x16b;let _0x2f72c8=_0x284f1b[_0x2a71a6];return _0x2f72c8;},_0x2a71(_0xcb4a49,_0x44874c);}import{Plugin as _0xb3aa74}from'ckeditor5/src/core.js';function _0x284f(){const _0x4740e2=['getNearestSelectionRange','checkChild','user:range','start','undo','textContent','span','mouseenter','mapper','size','destroy','setAttribute','render','detach','isLimit','spellcheck','nodeAfter','$text','document','createUserMarkerOperations','marker','markers','false','root','updateMarker','addMarker','pluginName','tableCell','user:position:','getAttribute','parent','toDomElement','isPremiumPlugin','getStart','removeMarker','update:user:range','for','conversion','contenteditable','userPositionMarker','4378385kCaukP','clear','outerHTML','classList','add','isOfficialPlugin','requires','oldRange','mouseleave','$graveyard','addEventListener','ck-user__marker-tooltip','newRange','setCustomProperty','keydown','getPositions','user:','isInline','data-session-id','createUIElement','markerToElement','highest','selection','startsWith','mySessionId','_createdBatches','Escape','stopListening','end','UserMarkers','listenTo','change','plugins','user:position','getUserBySessionId','commands','markerToHighlight','15263990kcuGkH','reconvertMarker','isCollapsed','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','element','set','enqueueChange','split','getCustomProperty','isObject','getRange','484JhpEwS','get','rootName','name','getContainedElement','batch','innerHTML','change:range','markerName','init','881559gVkbiJ','removeClass','markerRange','markerNameToElements','editing','user:range:','hasContent','2157ksfLwo','ck-user__marker_hovered','createElement','ck-user__marker\x20','applyOperation','delete','deletionPosition','editor','getSelectionClass','type','ck-user__selection','editingDowncast','isDocumentOperation','schema','986CFmFiO','model','31qttltH','createRange','10766920QnRiMG','color','9673137GXKeKd','getFirstRange','18hSgBSB','isSimilar','orderNumber','hasDomSelection','view','getMarkerClass','toRange','afterInit','_domEmitter','remove','fromRange','has'];_0x284f=function(){return _0x4740e2;};return _0x284f();}import{global as _0xa57654,DomEmitterMixin as _0x20a16c}from'ckeditor5/src/utils.js';import{Sessions as _0x1626f0}from'./sessions.js';import{ModelLiveRange as _0x365502}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0xb3aa74{[_0x5c9657(0x1d7)]=new(_0x20a16c())();static get[_0x5c9657(0x17e)](){return[_0x1626f0];}static get[_0x5c9657(0x1f5)](){const _0x1b6bd7=_0x5c9657;return _0x1b6bd7(0x195);}static get[_0x5c9657(0x17d)](){return!0x0;}static get[_0x5c9657(0x170)](){return!0x0;}[_0x5c9657(0x1b1)](){const _0x543cfd=_0x5c9657,_0x309f08=this[_0x543cfd(0x1c0)],_0x736aa4=_0x309f08[_0x543cfd(0x198)][_0x543cfd(0x1a9)](_0x1626f0);_0x309f08[_0x543cfd(0x175)][_0x543cfd(0x174)](_0x543cfd(0x1c4))[_0x543cfd(0x18c)]({'model':_0x543cfd(0x199),'view':(_0x11a972,{writer:_0x13ad50})=>function(_0x58fa08,_0x304850,_0x45f2fa,_0x5196f7){const _0xdbeba8=_0x543cfd,_0x4c8d63=_0x58fa08[_0xdbeba8(0x1b0)][_0xdbeba8(0x1a4)](':')[0x2],_0x42b6fd=_0x45f2fa[_0xdbeba8(0x19a)](_0x4c8d63);if(!_0x42b6fd||_0x4c8d63===_0x45f2fa[_0xdbeba8(0x190)])return;if(!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)][_0xdbeba8(0x1dc)](_0x58fa08[_0xdbeba8(0x1b4)][_0xdbeba8(0x1de)],_0xdbeba8(0x1ec)))return;const _0x343734={'class':_0xdbeba8(0x1bc)+_0x42b6fd[_0xdbeba8(0x1cc)][_0xdbeba8(0x1d4)](),'data-name':_0x42b6fd[_0xdbeba8(0x1ab)],'data-session-id':_0x4c8d63},_0x273a2b=_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1f0)][_0xdbeba8(0x1a9)](_0x58fa08[_0xdbeba8(0x1b0)]),_0x189c74=_0x273a2b[_0xdbeba8(0x171)](),_0x5def91=_0x189c74[_0xdbeba8(0x1eb)],_0x483816=_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)];if(_0x5def91&&_0x483816[_0xdbeba8(0x1a6)](_0x5def91)&&_0x483816[_0xdbeba8(0x189)](_0x5def91)&&!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1f0)][_0xdbeba8(0x1a9)](_0xdbeba8(0x1b7)+_0x4c8d63)[_0xdbeba8(0x1a7)]()[_0xdbeba8(0x19f)])return;const _0xcacd85=_0x189c74[_0xdbeba8(0x16e)];return _0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1c6)][_0xdbeba8(0x1e9)](_0xcacd85)&&!_0x5196f7[_0xdbeba8(0x1c8)][_0xdbeba8(0x1b8)](_0xcacd85)&&(_0x343734[_0xdbeba8(0x176)]=!0x1),function(_0x230dab,_0x5d2189,_0x55b1a7){const _0x17f783=_0xdbeba8,_0x103ffb=_0x230dab[_0x17f783(0x18b)](_0x17f783(0x1e1),_0x5d2189);return _0x230dab[_0x17f783(0x185)](_0x17f783(0x177),!0x0,_0x103ffb),_0x103ffb[_0x17f783(0x1e7)]=function(_0x248b6c){const _0x1fee8a=_0x17f783,_0x12a753=this[_0x1fee8a(0x16f)](_0x248b6c),_0x3214ab=document[_0x1fee8a(0x1bb)](_0x1fee8a(0x1e1));return _0x3214ab[_0x1fee8a(0x17b)][_0x1fee8a(0x17c)](_0x1fee8a(0x183)),_0x3214ab[_0x1fee8a(0x1e6)](_0x1fee8a(0x176),_0x1fee8a(0x1f1)),_0x3214ab[_0x1fee8a(0x1e6)](_0x1fee8a(0x1ea),_0x1fee8a(0x1f1)),_0x3214ab[_0x1fee8a(0x1e0)]=_0x55b1a7[_0x1fee8a(0x1ab)],_0x12a753[_0x1fee8a(0x1ae)]=_0x1fee8a(0x1a0)+_0x3214ab[_0x1fee8a(0x17a)]+'',_0x12a753[_0x1fee8a(0x182)](_0x1fee8a(0x1e2),()=>{const _0x2eaa53=_0x1fee8a;_0x12a753[_0x2eaa53(0x17b)][_0x2eaa53(0x17c)](_0x2eaa53(0x1ba));}),_0x12a753[_0x1fee8a(0x182)](_0x1fee8a(0x180),()=>{const _0x4321b0=_0x1fee8a;_0x12a753[_0x4321b0(0x17b)][_0x4321b0(0x1d8)](_0x4321b0(0x1ba));}),_0x12a753;},_0x103ffb[_0x17f783(0x1d0)]=function(_0x526070){const _0x1439f=_0x17f783;return!(!this[_0x1439f(0x1a5)](_0x1439f(0x177))||!_0x526070[_0x1439f(0x1a5)](_0x1439f(0x177))||this[_0x1439f(0x16d)](_0x1439f(0x18a))!=_0x526070[_0x1439f(0x16d)](_0x1439f(0x18a)));},_0x103ffb;}(_0x304850,_0x343734,_0x42b6fd);}(_0x11a972,_0x13ad50,_0x736aa4,_0x309f08)}),_0x309f08[_0x543cfd(0x175)][_0x543cfd(0x174)](_0x543cfd(0x1c4))[_0x543cfd(0x19c)]({'model':_0x543cfd(0x1dd),'view':_0x11bf6c=>function(_0x231654,_0x50c941){const _0x28b9d7=_0x543cfd,_0x4c0a36=_0x231654[_0x28b9d7(0x1b0)][_0x28b9d7(0x1a4)](':')[0x2];if(_0x4c0a36===_0x50c941[_0x28b9d7(0x190)])return null;const _0x9887cb=_0x50c941[_0x28b9d7(0x19a)](_0x4c0a36);if(!_0x9887cb)return{'id':_0x4c0a36,'classes':[]};return{'id':_0x4c0a36,'classes':[_0x28b9d7(0x1c3),_0x9887cb[_0x28b9d7(0x1cc)][_0x28b9d7(0x1c1)]()],'attributes':{'data-session-id':_0x4c0a36},'priority':0x7d0+_0x9887cb[_0x28b9d7(0x1d1)]};}(_0x11bf6c,_0x736aa4)}),function(_0x4fc12e){const _0xb1cae0=_0x543cfd,_0xf0ce=_0x4fc12e[_0xb1cae0(0x1c8)],_0x44da75=new Map(),_0x5bb407=_0x4fc12e[_0xb1cae0(0x198)][_0xb1cae0(0x1a9)](_0x1626f0);_0xf0ce[_0xb1cae0(0x1f0)]['on'](_0xb1cae0(0x173),(_0x52ba8c,_0x55e81a,_0x2d11e1,_0x13ec51)=>{const _0x2892fe=_0xb1cae0;if(!_0x13ec51&&_0x44da75[_0x2892fe(0x1a9)](_0x55e81a[_0x2892fe(0x1ab)]))return _0x44da75[_0x2892fe(0x1a9)](_0x55e81a[_0x2892fe(0x1ab)])[_0x2892fe(0x1e8)](),void _0x44da75[_0x2892fe(0x1be)](_0x55e81a[_0x2892fe(0x1ab)]);const _0x3bb786=_0x55e81a[_0x2892fe(0x1ab)][_0x2892fe(0x1a4)](':')[0x2];if(_0x3bb786===_0x5bb407[_0x2892fe(0x190)])return;const _0x100b60=_0x2892fe(0x16c)+_0x3bb786;_0xf0ce[_0x2892fe(0x1f0)][_0x2892fe(0x1da)](_0x100b60)&&_0x4fc12e[_0x2892fe(0x1b6)][_0x2892fe(0x19e)](_0x100b60),_0x55e81a['on'](_0x2892fe(0x1af),(_0x332e45,_0x50f18a,_0x53a3dd)=>{const _0x1890d6=_0x2892fe;if(_0x1890d6(0x181)!=_0x50f18a[_0x1890d6(0x1f2)][_0x1890d6(0x1aa)]&&_0x1890d6(0x181)==_0x55e81a[_0x1890d6(0x1a7)]()[_0x1890d6(0x1f2)][_0x1890d6(0x1aa)]&&!_0x44da75[_0x1890d6(0x1da)](_0x55e81a[_0x1890d6(0x1ab)])){const _0x1bc99d=_0xf0ce[_0x1890d6(0x1c6)][_0x1890d6(0x1db)](_0x53a3dd[_0x1890d6(0x1bf)]);if(_0x1bc99d){const _0x40b8f4=_0x365502[_0x1890d6(0x1d9)](_0x1bc99d);_0x44da75[_0x1890d6(0x1a2)](_0x55e81a[_0x1890d6(0x1ab)],_0x40b8f4),_0x40b8f4['on'](_0x1890d6(0x1af),(_0x1e90e9,_0x201d70,_0x3a8dc5)=>{const _0x1efab3=_0x1890d6;if(_0x1efab3(0x181)==_0x40b8f4[_0x1efab3(0x1f2)][_0x1efab3(0x1aa)]){const _0x436645=_0xf0ce[_0x1efab3(0x1c6)][_0x1efab3(0x1db)](_0x3a8dc5[_0x1efab3(0x1bf)]);_0x436645?(_0x40b8f4[_0x1efab3(0x1de)]=_0x436645[_0x1efab3(0x1de)],_0x40b8f4[_0x1efab3(0x194)]=_0x436645[_0x1efab3(0x194)]):(_0x44da75[_0x1efab3(0x1be)](_0x55e81a[_0x1efab3(0x1ab)]),_0x40b8f4[_0x1efab3(0x1e8)]());}});}}});}),_0xf0ce[_0xb1cae0(0x1ed)]['on'](_0xb1cae0(0x197),()=>{const _0xc8c7af=_0xb1cae0;_0x44da75[_0xc8c7af(0x1e4)]>0x0&&_0xf0ce[_0xc8c7af(0x1a3)]({'isUndoable':!0x1},_0x291aca=>{const _0x399b98=_0xc8c7af;for(const [_0x3a9dc1,_0x43ae32]of _0x44da75)_0x399b98(0x181)==_0xf0ce[_0x399b98(0x1f0)][_0x399b98(0x1a9)](_0x3a9dc1)[_0x399b98(0x1a7)]()[_0x399b98(0x1f2)][_0x399b98(0x1aa)]&&(te(_0x3a9dc1[_0x399b98(0x1a4)](':')[0x2],_0x43ae32[_0x399b98(0x1d5)](),_0xf0ce,_0x291aca),_0x43ae32[_0x399b98(0x1e8)]());_0x44da75[_0x399b98(0x179)]();});});}(_0x309f08),this[_0x543cfd(0x1d7)][_0x543cfd(0x196)](_0xa57654[_0x543cfd(0x1ed)],_0x543cfd(0x186),(_0x5eeef6,{key:_0x37e8ca})=>{const _0x9bb6f2=_0x543cfd;_0x9bb6f2(0x192)===_0x37e8ca&&function(_0x1442bd){const _0x3e6fb3=_0x9bb6f2;_0x1442bd[_0x3e6fb3(0x1b6)][_0x3e6fb3(0x1d3)][_0x3e6fb3(0x197)](_0x118a99=>{const _0x85b8c=_0x3e6fb3;for(const _0x527749 of _0x1442bd[_0x85b8c(0x1c8)][_0x85b8c(0x1f0)]){if(!_0x527749[_0x85b8c(0x1ab)][_0x85b8c(0x18f)](_0x85b8c(0x199)))continue;const _0x237aec=_0x1442bd[_0x85b8c(0x1b6)][_0x85b8c(0x1e3)][_0x85b8c(0x1b5)](_0x527749[_0x85b8c(0x1ab)]);if(_0x237aec){for(const _0x464b43 of _0x237aec)_0x118a99[_0x85b8c(0x1b3)](_0x85b8c(0x1ba),_0x464b43);}}});}(_0x309f08);},{'useCapture':!0x0});}[_0x5c9657(0x1d6)](){const _0x3c537c=_0x5c9657,_0x18301f=this[_0x3c537c(0x1c0)],_0x26a225=_0x18301f[_0x3c537c(0x19b)][_0x3c537c(0x1a9)](_0x3c537c(0x1df));_0x26a225&&_0x18301f[_0x3c537c(0x1c8)]['on'](_0x3c537c(0x1bd),(_0x1865e3,_0x3230c0)=>{const _0x2f6f3c=_0x3c537c,_0x2d8eb0=_0x3230c0[0x0];if(!_0x2d8eb0[_0x2f6f3c(0x1c5)])return;if(_0x2f6f3c(0x1ef)!=_0x2d8eb0[_0x2f6f3c(0x1c2)]||!_0x2d8eb0[_0x2f6f3c(0x1ab)][_0x2f6f3c(0x18f)](_0x2f6f3c(0x188)))return;const _0x4f3adf=_0x2d8eb0[_0x2f6f3c(0x1ad)];_0x26a225[_0x2f6f3c(0x191)][_0x2f6f3c(0x1da)](_0x4f3adf)&&(_0x2d8eb0[_0x2f6f3c(0x184)]=_0x2d8eb0[_0x2f6f3c(0x17f)]?_0x18301f[_0x2f6f3c(0x1c8)][_0x2f6f3c(0x1ca)](_0x2d8eb0[_0x2f6f3c(0x17f)][_0x2f6f3c(0x1de)],_0x2d8eb0[_0x2f6f3c(0x17f)][_0x2f6f3c(0x194)]):null);},{'priority':_0x3c537c(0x18d)});}[_0x5c9657(0x1e5)](){const _0x2a56a1=_0x5c9657;return this[_0x2a56a1(0x1d7)][_0x2a56a1(0x193)](),super[_0x2a56a1(0x1e5)]();}[_0x5c9657(0x1ee)](){const _0x4afaf9=_0x5c9657,_0x7e8db1=this[_0x4afaf9(0x1c0)],_0x184dd8=_0x7e8db1[_0x4afaf9(0x1c8)][_0x4afaf9(0x1ed)],_0xff82cf=_0x7e8db1[_0x4afaf9(0x198)][_0x4afaf9(0x1a9)](_0x1626f0);_0x7e8db1[_0x4afaf9(0x1c8)][_0x4afaf9(0x1a3)]({'isUndoable':!0x1},_0x3d6cea=>{const _0x19eebd=_0x4afaf9,_0x5a87b6=_0x19eebd(0x1b7)+_0xff82cf[_0x19eebd(0x190)],_0x16e1a1=_0x19eebd(0x16c)+_0xff82cf[_0x19eebd(0x190)],_0x2c2fab=_0x7e8db1[_0x19eebd(0x1c8)][_0x19eebd(0x1f0)][_0x19eebd(0x1da)](_0x5a87b6);_0x7e8db1[_0x19eebd(0x1b6)][_0x19eebd(0x1d3)][_0x19eebd(0x1d2)]?te(_0xff82cf[_0x19eebd(0x190)],_0x184dd8[_0x19eebd(0x18e)][_0x19eebd(0x1ce)](),_0x7e8db1[_0x19eebd(0x1c8)],_0x3d6cea):_0x2c2fab&&(_0x3d6cea[_0x19eebd(0x172)](_0x5a87b6),_0x3d6cea[_0x19eebd(0x172)](_0x16e1a1));});}}function te(_0x3f828,_0xc15578,_0x1a9fcf,_0x110f9c){const _0xd0b27b=_0x5c9657,_0x3d483b=_0xd0b27b(0x1b7)+_0x3f828,_0x4f91d9=_0xd0b27b(0x16c)+_0x3f828,_0xff33c1=_0xc15578[_0xd0b27b(0x1ac)]();let _0x36fe64=_0xc15578[_0xd0b27b(0x1de)];if(_0xff33c1&&_0xff33c1['is'](_0xd0b27b(0x1a1),_0xd0b27b(0x16b))){const _0x626239=function(_0xd788aa,_0x4665fc){const _0x5c34a2=_0xd0b27b;for(const _0xe6eeb5 of _0xd788aa[_0x5c34a2(0x187)]())if(_0x4665fc[_0x5c34a2(0x1c6)][_0x5c34a2(0x1dc)](_0xe6eeb5,_0x5c34a2(0x1ec)))return _0xe6eeb5;}(_0xc15578,_0x1a9fcf);_0x626239&&(_0x36fe64=_0x626239,_0xc15578=_0x110f9c[_0xd0b27b(0x1ca)](_0x36fe64));}const _0x19ae18=_0x110f9c[_0xd0b27b(0x1ca)](_0x36fe64);_0x1a9fcf[_0xd0b27b(0x1f0)][_0xd0b27b(0x1da)](_0x3d483b)?(_0x110f9c[_0xd0b27b(0x1f3)](_0x3d483b,{'range':_0xc15578}),_0x110f9c[_0xd0b27b(0x1f3)](_0x4f91d9,{'range':_0x19ae18})):(_0x110f9c[_0xd0b27b(0x1f4)](_0x3d483b,{'range':_0xc15578,'usingOperation':!0x0}),_0x110f9c[_0xd0b27b(0x1f4)](_0x4f91d9,{'range':_0x19ae18,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x409489=_0x1056;(function(_0x13f1ca,_0x8b5cf){const _0x52d1f6=_0x1056,_0x8709b6=_0x13f1ca();while(!![]){try{const _0x39885e=parseInt(_0x52d1f6(0x12c))/0x1*(-parseInt(_0x52d1f6(0xba))/0x2)+-parseInt(_0x52d1f6(0x13c))/0x3+-parseInt(_0x52d1f6(0x104))/0x4+parseInt(_0x52d1f6(0xcb))/0x5+-parseInt(_0x52d1f6(0x125))/0x6+parseInt(_0x52d1f6(0xf9))/0x7+parseInt(_0x52d1f6(0x11f))/0x8*(parseInt(_0x52d1f6(0x140))/0x9);if(_0x39885e===_0x8b5cf)break;else _0x8709b6['push'](_0x8709b6['shift']());}catch(_0x2570a5){_0x8709b6['push'](_0x8709b6['shift']());}}}(_0x41ff,0x8b13d));import{Plugin as _0x292a66}from'ckeditor5/src/core.js';import{global as _0x11455b,DomEmitterMixin as _0x469926}from'ckeditor5/src/utils.js';import{Sessions as _0x53f96b}from'./sessions.js';import{ModelLiveRange as _0x29c3ac}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x292a66{[_0x409489(0x126)]=new(_0x469926())();static get[_0x409489(0x127)](){return[_0x53f96b];}static get[_0x409489(0xc0)](){const _0x165e4a=_0x409489;return _0x165e4a(0xbb);}static get[_0x409489(0x109)](){return!0x0;}static get[_0x409489(0xd3)](){return!0x0;}[_0x409489(0xcf)](){const _0x5f2d4c=_0x409489,_0x2211a8=this[_0x5f2d4c(0xbf)],_0xd6b543=_0x2211a8[_0x5f2d4c(0xd6)][_0x5f2d4c(0xe4)](_0x53f96b);_0x2211a8[_0x5f2d4c(0x11a)][_0x5f2d4c(0xb8)](_0x5f2d4c(0x134))[_0x5f2d4c(0x113)]({'model':_0x5f2d4c(0x106),'view':(_0x3bf705,{writer:_0x4efe64})=>function(_0x50b9bf,_0x55d1aa,_0x1963a0,_0x5367bb){const _0x548aee=_0x5f2d4c,_0x3230e2=_0x50b9bf[_0x548aee(0xee)][_0x548aee(0xc2)](':')[0x2],_0x188cce=_0x1963a0[_0x548aee(0xc4)](_0x3230e2);if(!_0x188cce||_0x3230e2===_0x1963a0[_0x548aee(0xf3)])return;if(!_0x5367bb[_0x548aee(0x101)][_0x548aee(0x112)][_0x548aee(0x12b)](_0x50b9bf[_0x548aee(0xd4)][_0x548aee(0xc1)],_0x548aee(0xd1)))return;const _0x120617={'class':_0x548aee(0xea)+_0x188cce[_0x548aee(0x116)][_0x548aee(0xc9)](),'data-name':_0x188cce[_0x548aee(0xe5)],'data-session-id':_0x3230e2},_0x1032a5=_0x5367bb[_0x548aee(0x101)][_0x548aee(0xc6)][_0x548aee(0xe4)](_0x50b9bf[_0x548aee(0xee)]),_0xe96e16=_0x1032a5[_0x548aee(0x141)](),_0x407422=_0xe96e16[_0x548aee(0xd5)],_0x3979f3=_0x5367bb[_0x548aee(0x101)][_0x548aee(0x112)];if(_0x407422&&_0x3979f3[_0x548aee(0xfc)](_0x407422)&&_0x3979f3[_0x548aee(0x129)](_0x407422)&&!_0x5367bb[_0x548aee(0x101)][_0x548aee(0xc6)][_0x548aee(0xe4)](_0x548aee(0x128)+_0x3230e2)[_0x548aee(0x12e)]()[_0x548aee(0xe9)])return;const _0x423112=_0xe96e16[_0x548aee(0x123)];return _0x5367bb[_0x548aee(0x101)][_0x548aee(0x112)][_0x548aee(0x120)](_0x423112)&&!_0x5367bb[_0x548aee(0x101)][_0x548aee(0x130)](_0x423112)&&(_0x120617[_0x548aee(0x137)]=!0x1),function(_0x5d5502,_0x3941b2,_0x3333c8){const _0x530593=_0x548aee,_0x57ab87=_0x5d5502[_0x530593(0x11c)](_0x530593(0xd2),_0x3941b2);return _0x5d5502[_0x530593(0x10e)](_0x530593(0x12f),!0x0,_0x57ab87),_0x57ab87[_0x530593(0xfd)]=function(_0x3e7901){const _0x4cbc71=_0x530593,_0x166eb0=this[_0x4cbc71(0x102)](_0x3e7901),_0x6d0dfe=document[_0x4cbc71(0xfe)](_0x4cbc71(0xd2));return _0x6d0dfe[_0x4cbc71(0xbc)][_0x4cbc71(0xcc)](_0x4cbc71(0x10f)),_0x6d0dfe[_0x4cbc71(0xf4)](_0x4cbc71(0x137),_0x4cbc71(0x10a)),_0x6d0dfe[_0x4cbc71(0xf4)](_0x4cbc71(0xe2),_0x4cbc71(0x10a)),_0x6d0dfe[_0x4cbc71(0x11e)]=_0x3333c8[_0x4cbc71(0xe5)],_0x166eb0[_0x4cbc71(0xb9)]=_0x4cbc71(0x11d)+_0x6d0dfe[_0x4cbc71(0x10c)]+'',_0x166eb0[_0x4cbc71(0xda)](_0x4cbc71(0x124),()=>{const _0x2bb721=_0x4cbc71;_0x166eb0[_0x2bb721(0xbc)][_0x2bb721(0xcc)](_0x2bb721(0x12a));}),_0x166eb0[_0x4cbc71(0xda)](_0x4cbc71(0xec),()=>{const _0x24b318=_0x4cbc71;_0x166eb0[_0x24b318(0xbc)][_0x24b318(0xce)](_0x24b318(0x12a));}),_0x166eb0;},_0x57ab87[_0x530593(0xfb)]=function(_0x559d65){const _0x22c4f4=_0x530593;return!(!this[_0x22c4f4(0xd9)](_0x22c4f4(0x12f))||!_0x559d65[_0x22c4f4(0xd9)](_0x22c4f4(0x12f))||this[_0x22c4f4(0xd8)](_0x22c4f4(0x135))!=_0x559d65[_0x22c4f4(0xd8)](_0x22c4f4(0x135)));},_0x57ab87;}(_0x55d1aa,_0x120617,_0x188cce);}(_0x3bf705,_0x4efe64,_0xd6b543,_0x2211a8)}),_0x2211a8[_0x5f2d4c(0x11a)][_0x5f2d4c(0xb8)](_0x5f2d4c(0x134))[_0x5f2d4c(0x117)]({'model':_0x5f2d4c(0x115),'view':_0x84d6f1=>function(_0x375845,_0x1c9acb){const _0x482439=_0x5f2d4c,_0x2e0a53=_0x375845[_0x482439(0xee)][_0x482439(0xc2)](':')[0x2];if(_0x2e0a53===_0x1c9acb[_0x482439(0xf3)])return null;const _0x5a3272=_0x1c9acb[_0x482439(0xc4)](_0x2e0a53);if(!_0x5a3272)return{'id':_0x2e0a53,'classes':[]};return{'id':_0x2e0a53,'classes':[_0x482439(0xf1),_0x5a3272[_0x482439(0x116)][_0x482439(0xe3)]()],'attributes':{'data-session-id':_0x2e0a53},'priority':0x7d0+_0x5a3272[_0x482439(0xfa)]};}(_0x84d6f1,_0xd6b543)}),function(_0x110884){const _0xc5eb3f=_0x5f2d4c,_0x3d192b=_0x110884[_0xc5eb3f(0x101)],_0x4adad4=new Map(),_0x213446=_0x110884[_0xc5eb3f(0xd6)][_0xc5eb3f(0xe4)](_0x53f96b);_0x3d192b[_0xc5eb3f(0xc6)]['on'](_0xc5eb3f(0x10b),(_0x5af4cf,_0x49528b,_0x20bf4e,_0x122814)=>{const _0x1f38f6=_0xc5eb3f;if(!_0x122814&&_0x4adad4[_0x1f38f6(0xe4)](_0x49528b[_0x1f38f6(0xe5)]))return _0x4adad4[_0x1f38f6(0xe4)](_0x49528b[_0x1f38f6(0xe5)])[_0x1f38f6(0x132)](),void _0x4adad4[_0x1f38f6(0xdc)](_0x49528b[_0x1f38f6(0xe5)]);const _0x2e0cdf=_0x49528b[_0x1f38f6(0xe5)][_0x1f38f6(0xc2)](':')[0x2];if(_0x2e0cdf===_0x213446[_0x1f38f6(0xf3)])return;const _0x101cd4=_0x1f38f6(0x108)+_0x2e0cdf;_0x3d192b[_0x1f38f6(0xc6)][_0x1f38f6(0x111)](_0x101cd4)&&_0x110884[_0x1f38f6(0x138)][_0x1f38f6(0x131)](_0x101cd4),_0x49528b['on'](_0x1f38f6(0xdb),(_0x2874b9,_0x388b0e,_0x50defd)=>{const _0x2cb063=_0x1f38f6;if(_0x2cb063(0x12d)!=_0x388b0e[_0x2cb063(0xc3)][_0x2cb063(0xf2)]&&_0x2cb063(0x12d)==_0x49528b[_0x2cb063(0x12e)]()[_0x2cb063(0xc3)][_0x2cb063(0xf2)]&&!_0x4adad4[_0x2cb063(0x111)](_0x49528b[_0x2cb063(0xe5)])){const _0x53aec0=_0x3d192b[_0x2cb063(0x112)][_0x2cb063(0xde)](_0x50defd[_0x2cb063(0x122)]);if(_0x53aec0){const _0xb0522f=_0x29c3ac[_0x2cb063(0xdf)](_0x53aec0);_0x4adad4[_0x2cb063(0xe8)](_0x49528b[_0x2cb063(0xe5)],_0xb0522f),_0xb0522f['on'](_0x2cb063(0xdb),(_0x51fcf5,_0xe9298d,_0x54af52)=>{const _0x524bc5=_0x2cb063;if(_0x524bc5(0x12d)==_0xb0522f[_0x524bc5(0xc3)][_0x524bc5(0xf2)]){const _0x17115a=_0x3d192b[_0x524bc5(0x112)][_0x524bc5(0xde)](_0x54af52[_0x524bc5(0x122)]);_0x17115a?(_0xb0522f[_0x524bc5(0xc1)]=_0x17115a[_0x524bc5(0xc1)],_0xb0522f[_0x524bc5(0xdd)]=_0x17115a[_0x524bc5(0xdd)]):(_0x4adad4[_0x524bc5(0xdc)](_0x49528b[_0x524bc5(0xe5)]),_0xb0522f[_0x524bc5(0x132)]());}});}}});}),_0x3d192b[_0xc5eb3f(0x11b)]['on'](_0xc5eb3f(0xef),()=>{const _0x49e6e9=_0xc5eb3f;_0x4adad4[_0x49e6e9(0x107)]>0x0&&_0x3d192b[_0x49e6e9(0x105)]({'isUndoable':!0x1},_0x24904f=>{const _0x4f82bb=_0x49e6e9;for(const [_0x15bee9,_0x268755]of _0x4adad4)_0x4f82bb(0x12d)==_0x3d192b[_0x4f82bb(0xc6)][_0x4f82bb(0xe4)](_0x15bee9)[_0x4f82bb(0x12e)]()[_0x4f82bb(0xc3)][_0x4f82bb(0xf2)]&&(te(_0x15bee9[_0x4f82bb(0xc2)](':')[0x2],_0x268755[_0x4f82bb(0xd7)](),_0x3d192b,_0x24904f),_0x268755[_0x4f82bb(0x132)]());_0x4adad4[_0x4f82bb(0xe1)]();});});}(_0x2211a8),this[_0x5f2d4c(0x126)][_0x5f2d4c(0x100)](_0x11455b[_0x5f2d4c(0x11b)],_0x5f2d4c(0xc5),(_0x5cf540,{key:_0x596e8a})=>{const _0x4b291d=_0x5f2d4c;_0x4b291d(0xe0)===_0x596e8a&&function(_0x59b5af){const _0x5ad509=_0x4b291d;_0x59b5af[_0x5ad509(0x138)][_0x5ad509(0xf8)][_0x5ad509(0xef)](_0x45b738=>{const _0xa3ca71=_0x5ad509;for(const _0x3f86b4 of _0x59b5af[_0xa3ca71(0x101)][_0xa3ca71(0xc6)]){if(!_0x3f86b4[_0xa3ca71(0xe5)][_0xa3ca71(0xbd)](_0xa3ca71(0x106)))continue;const _0x5a8734=_0x59b5af[_0xa3ca71(0x138)][_0xa3ca71(0x13e)][_0xa3ca71(0x13f)](_0x3f86b4[_0xa3ca71(0xe5)]);if(_0x5a8734){for(const _0xc527c2 of _0x5a8734)_0x45b738[_0xa3ca71(0x119)](_0xa3ca71(0x12a),_0xc527c2);}}});}(_0x2211a8);},{'useCapture':!0x0});}[_0x409489(0xbe)](){const _0x293d82=_0x409489,_0x231d3f=this[_0x293d82(0xbf)],_0x3bf559=_0x231d3f[_0x293d82(0xf0)][_0x293d82(0xe4)](_0x293d82(0xc8));_0x3bf559&&_0x231d3f[_0x293d82(0x101)]['on'](_0x293d82(0x13d),(_0xc49cb3,_0x5a9e1d)=>{const _0x2b2850=_0x293d82,_0x4f1528=_0x5a9e1d[0x0];if(!_0x4f1528[_0x2b2850(0x121)])return;if(_0x2b2850(0x133)!=_0x4f1528[_0x2b2850(0xc7)]||!_0x4f1528[_0x2b2850(0xe5)][_0x2b2850(0xbd)](_0x2b2850(0x10d)))return;const _0x7dd8c4=_0x4f1528[_0x2b2850(0xf6)];_0x3bf559[_0x2b2850(0x118)][_0x2b2850(0x111)](_0x7dd8c4)&&(_0x4f1528[_0x2b2850(0xe6)]=_0x4f1528[_0x2b2850(0xed)]?_0x231d3f[_0x2b2850(0x101)][_0x2b2850(0x114)](_0x4f1528[_0x2b2850(0xed)][_0x2b2850(0xc1)],_0x4f1528[_0x2b2850(0xed)][_0x2b2850(0xdd)]):null);},{'priority':_0x293d82(0xe7)});}[_0x409489(0xf5)](){const _0x32f747=_0x409489;return this[_0x32f747(0x126)][_0x32f747(0x13b)](),super[_0x32f747(0xf5)]();}[_0x409489(0x13a)](){const _0x53247f=_0x409489,_0xd14461=this[_0x53247f(0xbf)],_0x18fa34=_0xd14461[_0x53247f(0x101)][_0x53247f(0x11b)],_0x134a06=_0xd14461[_0x53247f(0xd6)][_0x53247f(0xe4)](_0x53f96b);_0xd14461[_0x53247f(0x101)][_0x53247f(0x105)]({'isUndoable':!0x1},_0x104857=>{const _0x46d9f3=_0x53247f,_0x11e9b1=_0x46d9f3(0x128)+_0x134a06[_0x46d9f3(0xf3)],_0x11e84e=_0x46d9f3(0x108)+_0x134a06[_0x46d9f3(0xf3)],_0x3f339d=_0xd14461[_0x46d9f3(0x101)][_0x46d9f3(0xc6)][_0x46d9f3(0x111)](_0x11e9b1);_0xd14461[_0x46d9f3(0x138)][_0x46d9f3(0xf8)][_0x46d9f3(0x110)]?te(_0x134a06[_0x46d9f3(0xf3)],_0x18fa34[_0x46d9f3(0xcd)][_0x46d9f3(0x136)](),_0xd14461[_0x46d9f3(0x101)],_0x104857):_0x3f339d&&(_0x104857[_0x46d9f3(0xeb)](_0x11e9b1),_0x104857[_0x46d9f3(0xeb)](_0x11e84e));});}}function _0x1056(_0x31311c,_0x22ab0d){const _0x41ff74=_0x41ff();return _0x1056=function(_0x1056be,_0x3a9511){_0x1056be=_0x1056be-0xb8;let _0x39fd4a=_0x41ff74[_0x1056be];return _0x39fd4a;},_0x1056(_0x31311c,_0x22ab0d);}function te(_0x4eeda6,_0xeed483,_0x353420,_0x1ebdec){const _0x1499e2=_0x409489,_0x41f202=_0x1499e2(0x128)+_0x4eeda6,_0x58fa16=_0x1499e2(0x108)+_0x4eeda6,_0x4c20e8=_0xeed483[_0x1499e2(0x139)]();let _0x533d6a=_0xeed483[_0x1499e2(0xc1)];if(_0x4c20e8&&_0x4c20e8['is'](_0x1499e2(0x103),_0x1499e2(0xf7))){const _0x12b970=function(_0x176ff1,_0x1e5585){const _0x198374=_0x1499e2;for(const _0x269a08 of _0x176ff1[_0x198374(0xca)]())if(_0x1e5585[_0x198374(0x112)][_0x198374(0x12b)](_0x269a08,_0x198374(0xd1)))return _0x269a08;}(_0xeed483,_0x353420);_0x12b970&&(_0x533d6a=_0x12b970,_0xeed483=_0x1ebdec[_0x1499e2(0x114)](_0x533d6a));}const _0x21817e=_0x1ebdec[_0x1499e2(0x114)](_0x533d6a);_0x353420[_0x1499e2(0xc6)][_0x1499e2(0x111)](_0x41f202)?(_0x1ebdec[_0x1499e2(0xd0)](_0x41f202,{'range':_0xeed483}),_0x1ebdec[_0x1499e2(0xd0)](_0x58fa16,{'range':_0x21817e})):(_0x1ebdec[_0x1499e2(0xff)](_0x41f202,{'range':_0xeed483,'usingOperation':!0x0}),_0x1ebdec[_0x1499e2(0xff)](_0x58fa16,{'range':_0x21817e,'usingOperation':!0x0}));}function _0x41ff(){const _0x4b5880=['mouseleave','oldRange','markerName','change','commands','ck-user__selection','rootName','mySessionId','setAttribute','destroy','batch','tableCell','view','6256873ppkTeA','orderNumber','isSimilar','isObject','render','createElement','addMarker','listenTo','model','toDomElement','element','3926824VjfIMG','enqueueChange','user:position','size','user:position:','isOfficialPlugin','false','update:user:range','outerHTML','user:','setCustomProperty','ck-user__marker-tooltip','hasDomSelection','has','schema','markerToElement','createRange','user:range','color','markerToHighlight','_createdBatches','removeClass','conversion','document','createUIElement','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','textContent','3448dametE','isLimit','isDocumentOperation','deletionPosition','parent','mouseenter','1224528tnidUG','_domEmitter','requires','user:range:','isInline','ck-user__marker_hovered','checkChild','4LXPyxo','$graveyard','getRange','userPositionMarker','hasContent','reconvertMarker','detach','marker','editingDowncast','data-session-id','getFirstRange','contenteditable','editing','getContainedElement','createUserMarkerOperations','stopListening','786291gVhnnN','applyOperation','mapper','markerNameToElements','34119ucfOMK','getStart','for','innerHTML','353110wBNhXo','UserMarkers','classList','startsWith','afterInit','editor','pluginName','start','split','root','getUserBySessionId','keydown','markers','type','undo','getMarkerClass','getPositions','980060BpkfgQ','add','selection','remove','init','updateMarker','$text','span','isPremiumPlugin','markerRange','nodeAfter','plugins','toRange','getAttribute','getCustomProperty','addEventListener','change:range','delete','end','getNearestSelectionRange','fromRange','Escape','clear','spellcheck','getSelectionClass','get','name','newRange','highest','set','isCollapsed','ck-user__marker\x20','removeMarker'];_0x41ff=function(){return _0x4b5880;};return _0x41ff();}
|