@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.1 → 47.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28361a=_0x1431;(function(_0x19efe8,_0x5bed8a){const _0x227b40=_0x1431,_0x18c7b0=_0x19efe8();while(!![]){try{const _0xeb5a7c=parseInt(_0x227b40(0x198))/0x1+parseInt(_0x227b40(0x19a))/0x2*(-parseInt(_0x227b40(0x197))/0x3)+-parseInt(_0x227b40(0x189))/0x4*(parseInt(_0x227b40(0x193))/0x5)+parseInt(_0x227b40(0x191))/0x6+-parseInt(_0x227b40(0x199))/0x7+parseInt(_0x227b40(0x196))/0x8+parseInt(_0x227b40(0x19b))/0x9;if(_0xeb5a7c===_0x5bed8a)break;else _0x18c7b0['push'](_0x18c7b0['shift']());}catch(_0x56da22){_0x18c7b0['push'](_0x18c7b0['shift']());}}}(_0x285e,0x26221));import{View as _0x592bac}from'ckeditor5/src/ui.js';function _0x285e(){const _0x563fa2=['1441800PyRAAI','div','items','render','querySelector','change:hasPopup','list','setTemplate','set','createCollection','contains','listenTo','ck-presence-list__list','hasPopup','relatedTarget','keystrokes','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setAttribute','isExpanded','Connected\x20users\x20list','402728bSXZqx','aria-expanded','focus','.ck-balloon-panel_with-arrow','element','presencelist:hide','bindTemplate','fire','1632240IcdHVz','.ck-presence-list__dropdown-list','5MdzkIq','presencelist:show','removeAttribute','1285440YTlpTt','966uuHBWQ','110501RPDPWo','1381226gFWdqm','1548MkinmG'];_0x285e=function(){return _0x563fa2;};return _0x285e();}import{KeystrokeHandler as _0x38dad3}from'ckeditor5/src/utils.js';import{getTranslation as _0x12c244}from'../../common-translations.js';function _0x1431(_0x589bb6,_0x3425dc){const _0x285ed3=_0x285e();return _0x1431=function(_0x14313f,_0x591297){_0x14313f=_0x14313f-0x182;let _0x4f26dc=_0x285ed3[_0x14313f];return _0x4f26dc;},_0x1431(_0x589bb6,_0x3425dc);}export class PresenceInlineListView extends _0x592bac{[_0x28361a(0x19d)];[_0x28361a(0x184)];constructor(_0x4cc81d){const _0x47279e=_0x28361a;super(_0x4cc81d);const _0x326e30=this[_0x47279e(0x18f)];this[_0x47279e(0x19d)]=this[_0x47279e(0x1a4)](),this[_0x47279e(0x184)]=new _0x38dad3(),this[_0x47279e(0x1a3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47279e(0x1a2)]({'tag':_0x47279e(0x19c),'attributes':{'aria-haspopup':_0x326e30['if'](_0x47279e(0x182)),'aria-expanded':_0x326e30['to'](_0x47279e(0x187),_0x16c773=>this[_0x47279e(0x182)]&&String(_0x16c773)),'aria-label':_0x326e30['to'](_0x47279e(0x182),_0x377c0f=>_0x12c244(_0x4cc81d,_0x377c0f?_0x47279e(0x185):_0x47279e(0x188))),'role':_0x47279e(0x1a1),'tabindex':_0x326e30['to'](_0x47279e(0x182),_0x1eedb=>!!_0x1eedb&&0x0),'class':['ck',_0x47279e(0x1a7)]},'children':this[_0x47279e(0x19d)],'on':{'mouseenter':_0x326e30['to'](()=>this[_0x47279e(0x190)](_0x47279e(0x194))),'mouseleave':_0x326e30['to'](_0x4ca7df=>{const _0x381dac=_0x47279e,_0x31192a=_0x4ca7df,_0x51f819=document[_0x381dac(0x19f)](_0x381dac(0x192)),_0x1a47a1=document[_0x381dac(0x19f)](_0x381dac(0x18c));_0x51f819?.[_0x381dac(0x1a5)](_0x31192a[_0x381dac(0x183)])||_0x1a47a1?.[_0x381dac(0x1a5)](_0x31192a[_0x381dac(0x183)])||this[_0x381dac(0x190)](_0x381dac(0x18e));})}}),this['on'](_0x47279e(0x1a0),(_0x5e75e0,_0x514300,_0x5c8662)=>{const _0x557c02=_0x47279e;this[_0x557c02(0x18d)]&&(_0x5c8662?this[_0x557c02(0x18d)][_0x557c02(0x186)](_0x557c02(0x18a),String(this[_0x557c02(0x187)])):this[_0x557c02(0x18d)][_0x557c02(0x195)](_0x557c02(0x18a)));});}[_0x28361a(0x18b)](){const _0x5ecfff=_0x28361a;this[_0x5ecfff(0x18d)][_0x5ecfff(0x18b)]();}[_0x28361a(0x19e)](){const _0x28e224=_0x28361a;super[_0x28e224(0x19e)](),this[_0x28e224(0x184)][_0x28e224(0x1a6)](this[_0x28e224(0x18d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5428ac=_0x5f40;(function(_0x2ec9fa,_0x2d25f7){const _0x24ee46=_0x5f40,_0x476b23=_0x2ec9fa();while(!![]){try{const _0x3a256d=parseInt(_0x24ee46(0x13e))/0x1*(parseInt(_0x24ee46(0x13f))/0x2)+parseInt(_0x24ee46(0x145))/0x3+-parseInt(_0x24ee46(0x152))/0x4+parseInt(_0x24ee46(0x150))/0x5*(parseInt(_0x24ee46(0x143))/0x6)+parseInt(_0x24ee46(0x153))/0x7+-parseInt(_0x24ee46(0x14b))/0x8+-parseInt(_0x24ee46(0x147))/0x9*(parseInt(_0x24ee46(0x13b))/0xa);if(_0x3a256d===_0x2d25f7)break;else _0x476b23['push'](_0x476b23['shift']());}catch(_0x24d9ef){_0x476b23['push'](_0x476b23['shift']());}}}(_0x1d17,0x82c97));function _0x5f40(_0x26011d,_0x25d6bc){const _0x1d1761=_0x1d17();return _0x5f40=function(_0x5f40ae,_0x56df97){_0x5f40ae=_0x5f40ae-0x13a;let _0x3b1b49=_0x1d1761[_0x5f40ae];return _0x3b1b49;},_0x5f40(_0x26011d,_0x25d6bc);}import{View as _0xb0a7ea}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x3c2ce3}from'./presencecounterview.js';function _0x1d17(){const _0x3ee750=['4824001hrTLDz','ck-rounded-corners','locale','ck-presence-list--collapsed','ck-presence-list','10mXBzSX','setTemplate','counterView','1MIqLqX','1661110YYhjZb','hasPopup','inlineListView','bind','373554qQOgdq','items','3172617qsQfWm','tooltipPosition','4314339yLqbtm','set','first','change','5699032iRlTHr','div','isCollapsed','bindTemplate','listenTo','15jobaKE','ck-reset','4146244zWZMZW'];_0x1d17=function(){return _0x3ee750;};return _0x1d17();}import{PresenceInlineListView as _0x51c231}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0xb0a7ea{[_0x5428ac(0x13d)];[_0x5428ac(0x141)];constructor(_0x4eadaf,_0x1d11d1=0x6){const _0x5cd0c5=_0x5428ac;super(_0x4eadaf);const _0xb6c114=this[_0x5cd0c5(0x14e)];this[_0x5cd0c5(0x148)](_0x5cd0c5(0x14d),!0x0),this[_0x5cd0c5(0x13d)]=new _0x3c2ce3(this[_0x5cd0c5(0x155)],_0x1d11d1),this[_0x5cd0c5(0x141)]=new _0x51c231(_0x4eadaf),this[_0x5cd0c5(0x141)][_0x5cd0c5(0x142)](_0x5cd0c5(0x140))['to'](this,_0x5cd0c5(0x14d)),this[_0x5cd0c5(0x14f)](this[_0x5cd0c5(0x141)][_0x5cd0c5(0x144)],_0x5cd0c5(0x14a),()=>{const _0x1b761c=_0x5cd0c5;for(const _0x58166b of this[_0x1b761c(0x141)][_0x1b761c(0x144)])_0x58166b[_0x1b761c(0x146)]='s';this[_0x1b761c(0x141)][_0x1b761c(0x144)][_0x1b761c(0x149)]&&(this[_0x1b761c(0x141)][_0x1b761c(0x144)][_0x1b761c(0x149)][_0x1b761c(0x146)]='se');}),this[_0x5cd0c5(0x13c)]({'tag':_0x5cd0c5(0x14c),'attributes':{'class':['ck',_0x5cd0c5(0x13a),_0x5cd0c5(0x151),_0x5cd0c5(0x154),_0xb6c114['if'](_0x5cd0c5(0x14d),_0x5cd0c5(0x156))]},'children':[this[_0x5cd0c5(0x141)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3c36(_0x3faf19,_0x53c7cc){var _0x4ea3a6=_0x4ea3();return _0x3c36=function(_0x3c3691,_0xabd10b){_0x3c3691=_0x3c3691-0x90;var _0x5a8b49=_0x4ea3a6[_0x3c3691];return _0x5a8b49;},_0x3c36(_0x3faf19,_0x53c7cc);}var _0x15f26d=_0x3c36;(function(_0x532f08,_0x51187e){var _0x2178bb=_0x3c36,_0x1e3a85=_0x532f08();while(!![]){try{var _0xc8c1e6=parseInt(_0x2178bb(0x92))/0x1+parseInt(_0x2178bb(0x96))/0x2*(-parseInt(_0x2178bb(0x93))/0x3)+-parseInt(_0x2178bb(0x9b))/0x4+parseInt(_0x2178bb(0x9d))/0x5+-parseInt(_0x2178bb(0x94))/0x6+parseInt(_0x2178bb(0x98))/0x7*(parseInt(_0x2178bb(0x9c))/0x8)+parseInt(_0x2178bb(0x90))/0x9;if(_0xc8c1e6===_0x51187e)break;else _0x1e3a85['push'](_0x1e3a85['shift']());}catch(_0x219f00){_0x1e3a85['push'](_0x1e3a85['shift']());}}}(_0x4ea3,0x9ba55));import{ContextPlugin as _0x3a5b19}from'ckeditor5/src/core.js';function _0x4ea3(){var _0x388ae5=['5365836xpkNSU','isPremiumPlugin','272198QuLMLR','isOfficialPlugin','14jzNyey','PresenceList','pluginName','3660752iWvlok','3561568xpdkbZ','2976855XOPvSe','11727171OvwpvP','requires','202633YslAAN','12PAyntw'];_0x4ea3=function(){return _0x388ae5;};return _0x4ea3();}import{Sessions as _0x56c69d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5958f7}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3a5b19{static get[_0x15f26d(0x91)](){return[_0x56c69d,_0x5958f7];}static get[_0x15f26d(0x9a)](){var _0x3f41a7=_0x15f26d;return _0x3f41a7(0x99);}static get[_0x15f26d(0x97)](){return!0x0;}static get[_0x15f26d(0x95)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x284c3f)());[_0x3cbc34(0xf1)];static get[_0x3cbc34(0xa0)](){const _0x938d38=_0x3cbc34;return[_0xe1dfef,_0x938d38(0xd6),_0xa5e03f,_0x41e6ec];}static get[_0x3cbc34(0x102)](){const _0x36a985=_0x3cbc34;return _0x36a985(0xc5);}static get[_0x3cbc34(0xb2)](){return!0x0;}static get[_0x3cbc34(0xbd)](){return!0x0;}constructor(_0x453999){const _0x4ebaca=_0x3cbc34;super(_0x453999),this[_0x4ebaca(0xf1)]=new Map();}async[_0x3cbc34(0xdc)](){const _0x3b41c6=_0x3cbc34,_0x53277e=this[_0x3b41c6(0xfc)],_0x52f352=_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0x3b41c6(0xd6));if(_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0xe1dfef)[_0x3b41c6(0xaa)](this),_0x52f352[_0x3b41c6(0xe1)]={'addCommentThread':async({channelId:_0x49e118,threadId:_0x117158,comments:_0x303e4,resolvedAt:_0x3dc2d4,resolvedBy:_0x1e1412,context:_0x2241b6,attributes:_0x2c7cc0})=>{const _0x46cd40=_0x3b41c6,_0x5b7370=await this[_0x46cd40(0xec)](_0x49e118)[_0x46cd40(0xac)]({'commentThreadId':_0x117158,'comments':_0x303e4[_0x46cd40(0xe9)](_0x2c5ef7=>function(_0x47eac9,_0x2110ab,_0x34892){const _0x2f8243=_0x46cd40;return{'commentThreadId':_0x34892,'commentId':_0x47eac9[_0x2f8243(0xc2)],'userId':_0x47eac9[_0x2f8243(0xf7)],'content':_0x47eac9[_0x2f8243(0xda)],'documentId':_0x2110ab,'createdAt':_0x47eac9[_0x2f8243(0xce)],'attributes':_0x47eac9[_0x2f8243(0xc7)]||{}};}(_0x2c5ef7,_0x49e118,_0x117158)),'resolvedAt':_0x3dc2d4,'resolvedBy':_0x1e1412,'context':_0x2241b6,'attributes':_0x2c7cc0})[_0x46cd40(0xd9)](A);return{'threadId':_0x5b7370[_0x46cd40(0xb8)],'comments':_0x5b7370[_0x46cd40(0xf5)]};},'getCommentThread':async({channelId:_0x32c754,threadId:_0x2c25c3})=>{const _0x4fd641=_0x3b41c6,_0x17bdce=await this[_0x4fd641(0xec)](_0x32c754)[_0x4fd641(0xd5)](_0x2c25c3)[_0x4fd641(0xd9)](f)[_0x4fd641(0xd9)](A);return _0x17bdce?_0x17bdce[_0x4fd641(0xb4)]?null:(await this[_0x4fd641(0xe4)]([_0x17bdce]),{'threadId':_0x17bdce[_0x4fd641(0xb8)],'comments':_0x17bdce[_0x4fd641(0xf5)][_0x4fd641(0xe9)](p),'context':_0x17bdce[_0x4fd641(0xfc)],'resolvedAt':_0x17bdce[_0x4fd641(0xc6)],'resolvedBy':_0x17bdce[_0x4fd641(0xd8)],'attributes':_0x17bdce[_0x4fd641(0xc7)]||{}}):null;},'updateCommentThread':async({channelId:_0x7e130b,threadId:_0x581624,context:_0x5624cc,unlinkedAt:_0x5c20b8,attributes:_0x4e70ad})=>this[_0x3b41c6(0xec)](_0x7e130b)[_0x3b41c6(0xcb)]({'commentThreadId':_0x581624,'context':_0x5624cc,'attributes':_0x4e70ad,'unlinkedAt':_0x5c20b8})[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'resolveCommentThread':async({channelId:_0x2df391,threadId:_0xd711ea})=>{const _0x4fabe5=_0x3b41c6,_0x119101=await this[_0x4fabe5(0xec)](_0x2df391)[_0x4fabe5(0xff)](_0xd711ea)[_0x4fabe5(0xd9)](f)[_0x4fabe5(0xd9)](A);return{'threadId':_0x119101[_0x4fabe5(0xb8)],'resolvedAt':_0x119101[_0x4fabe5(0xc6)],'resolvedBy':_0x119101[_0x4fabe5(0xd8)]};},'reopenCommentThread':async({channelId:_0x8996ed,threadId:_0x423157})=>this[_0x3b41c6(0xec)](_0x8996ed)[_0x3b41c6(0xdf)](_0x423157)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'removeCommentThread':({channelId:_0x257a1e,threadId:_0x164b6f})=>this[_0x3b41c6(0xec)](_0x257a1e)[_0x3b41c6(0xb6)](_0x164b6f)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'addComment':({channelId:_0x197de3,threadId:_0x2ecdbd,commentId:_0x24ddf0,content:_0x4fe5f1,attributes:_0x3cc4a7})=>this[_0x3b41c6(0xec)](_0x197de3)[_0x3b41c6(0xba)](_0x2ecdbd,_0x24ddf0,_0x4fe5f1,_0x3cc4a7)[_0x3b41c6(0xd9)](A),'updateComment':({channelId:_0x244525,threadId:_0xec7fe7,commentId:_0x83cc3,content:_0x914340,attributes:_0x49509})=>this[_0x3b41c6(0xec)](_0x244525)[_0x3b41c6(0x100)](_0xec7fe7,_0x83cc3,_0x914340,_0x49509)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'removeComment':({channelId:_0x322eab,threadId:_0x5b8d98,commentId:_0x226713})=>this[_0x3b41c6(0xec)](_0x322eab)[_0x3b41c6(0xe7)](_0x5b8d98,_0x226713)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A)},_0x53277e instanceof _0x93ab4e){const _0x3809e7=_0x53277e[_0x3b41c6(0xef)][_0x3b41c6(0xf9)](_0x3b41c6(0xca)),_0x44a6e0=_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0xa5e03f);await this[_0x3b41c6(0xaf)](_0x3809e7);const _0x108d1a=await this[_0x3b41c6(0xf1)][_0x3b41c6(0xf9)](_0x3809e7)[_0x3b41c6(0xc3)]();this[_0x3b41c6(0xf6)](_0x44a6e0,_0x3b41c6(0xe3)+_0x3809e7,(_0x124bd7,{session:_0x25ccc9})=>{const _0x3aae70=_0x3b41c6;_0x25ccc9['id']===_0x44a6e0[_0x3aae70(0xc0)]&&(_0x124bd7[_0x3aae70(0xee)](),this[_0x3aae70(0xfc)][_0x3aae70(0xfd)][_0x3aae70(0xf9)](_0x3aae70(0xb3))[_0x3aae70(0xe0)](_0x25ccc9[_0x3aae70(0xf4)],_0x3809e7));}),_0x44a6e0[_0x3b41c6(0xbb)](_0x3809e7,_0x108d1a);}}async[_0x3cbc34(0xaf)](_0x2ccb49){const _0x1a1c60=_0x3cbc34;if(this[_0x1a1c60(0xf1)][_0x1a1c60(0xdd)](_0x2ccb49))throw new _0xdce578(_0x1a1c60(0xb5),null,{'channelId':_0x2ccb49});const _0x106748=this[_0x1a1c60(0xfc)][_0x1a1c60(0xfd)][_0x1a1c60(0xf9)](_0x1a1c60(0xd6)),_0x1c1051=new CloudServicesCommentsAdapter[(_0x1a1c60(0xc4))](_0x2ccb49);this[_0x1a1c60(0xf1)][_0x1a1c60(0xeb)](_0x2ccb49,_0x1c1051),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xad),(_0x42d623,_0xd16554)=>{const _0x2e1364=_0x1a1c60,{commentThreadId:_0x4e2962,documentId:_0x12f000,context:_0x35daf0,attributes:_0x2867a9,resolvedAt:_0x186d39,resolvedBy:_0x59e96e,comments:_0x2fd2f8}=_0xd16554;_0x106748[_0x2e1364(0xd5)](_0x4e2962)||_0x106748[_0x2e1364(0xac)]({'threadId':_0x4e2962,'channelId':_0x12f000,'comments':_0x2fd2f8?_0x2fd2f8[_0x2e1364(0xe9)](p):[],'context':_0x35daf0,'attributes':_0x2867a9,'resolvedAt':_0x186d39,'resolvedBy':_0x59e96e,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xe5),(_0x1e66b6,{commentThreadId:_0x55af51,documentId:_0xe07bcb,context:_0x45214f,unlinkedAt:_0xe13549,attributes:_0x186d26})=>{const _0x40173a=_0x1a1c60;_0x106748[_0x40173a(0xd5)](_0x55af51)&&_0x106748[_0x40173a(0xcb)]({'threadId':_0x55af51,'channelId':_0xe07bcb,'context':_0x45214f,'unlinkedAt':_0xe13549,'attributes':_0x186d26,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xcc),(_0x4321f8,{commentThreadId:_0x2652e7,resolvedBy:_0x3ef8df,resolvedAt:_0x32236c})=>{const _0x4eb822=_0x1a1c60,_0x5ee144=_0x106748[_0x4eb822(0xd5)](_0x2652e7);_0x5ee144&&_0x5ee144[_0x4eb822(0xc8)]({'resolvedBy':_0x3ef8df,'resolvedAt':_0x32236c,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xc9),(_0x504c59,{commentThreadId:_0x4c90f6})=>{const _0x7d59c3=_0x1a1c60,_0x3ffbc3=_0x106748[_0x7d59c3(0xd5)](_0x4c90f6);_0x3ffbc3&&_0x3ffbc3[_0x7d59c3(0xd3)]({'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xfb),(_0x38ec9e,{commentThreadId:_0x187be6})=>{const _0x1c448c=_0x1a1c60,_0x4e96e0=_0x106748[_0x1c448c(0xd5)](_0x187be6);_0x4e96e0&&_0x4e96e0[_0x1c448c(0x9e)]({'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xa9),(_0x46e01e,_0x3ef435)=>{const _0x36359f=_0x1a1c60,_0xf5fb90=_0x3ef435[_0x36359f(0xb8)],_0x178fe5=_0x106748[_0x36359f(0xd5)](_0xf5fb90);_0x178fe5&&_0x178fe5[_0x36359f(0xba)]({...p(_0x3ef435),'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xfe),(_0x14a97e,{commentThreadId:_0x5f04f5,commentId:_0x199f1d,content:_0x39e22c,attributes:_0x3e000b})=>{const _0x49f7f3=_0x1a1c60,_0x3386fc=_0x106748[_0x49f7f3(0xd5)](_0x5f04f5);if(_0x3386fc){const _0x1b8e3a=_0x3386fc[_0x49f7f3(0xa6)](_0x199f1d);_0x1b8e3a&&_0x1b8e3a[_0x49f7f3(0xae)]({'content':_0x39e22c,'attributes':_0x3e000b,'isFromAdapter':!0x0});}}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xdb),(_0x141ff9,{commentThreadId:_0x2f3562,commentId:_0x13e921})=>{const _0x457203=_0x1a1c60,_0x2b4182=_0x106748[_0x457203(0xd5)](_0x2f3562);if(_0x2b4182){const _0x50a486=_0x2b4182[_0x457203(0xa6)](_0x13e921);_0x50a486&&_0x50a486[_0x457203(0x9e)]({'isFromAdapter':!0x0});}}),await this[_0x1a1c60(0xb9)](_0x2ccb49);}[_0x3cbc34(0xb1)](){const _0x16206e=_0x3cbc34;if(this[_0x16206e(0xfc)]instanceof _0x93ab4e){const _0x50c2fa=this[_0x16206e(0xfc)][_0x16206e(0xef)][_0x16206e(0xf9)](_0x16206e(0xca));this[_0x16206e(0xc1)](_0x50c2fa);}}[_0x3cbc34(0xc1)](_0x4eef20){const _0x51599d=_0x3cbc34;if(!this[_0x51599d(0xf1)][_0x51599d(0xdd)](_0x4eef20))throw new _0xdce578(_0x51599d(0xbe),null,{'channelId':_0x4eef20});this[_0x51599d(0xec)](_0x4eef20)[_0x51599d(0xd0)](),this[_0x51599d(0xf1)][_0x51599d(0x9f)](_0x4eef20);}async[_0x3cbc34(0xde)](){const _0x437312=_0x3cbc34;for(const _0x43c560 of this[_0x437312(0xf1)][_0x437312(0xf3)]())await this[_0x437312(0xb9)](_0x43c560);if(this[_0x437312(0xfc)]instanceof _0x93ab4e){const _0x1a6b2f=this[_0x437312(0xfc)][_0x437312(0xef)][_0x437312(0xf9)](_0x437312(0xca)),_0x41c9f8=this[_0x437312(0xfc)][_0x437312(0xfd)][_0x437312(0xf9)](_0xa5e03f);_0x41c9f8[_0x437312(0xe6)](_0x1a6b2f);const _0x43394e=await this[_0x437312(0xf1)][_0x437312(0xf9)](_0x1a6b2f)[_0x437312(0xc3)]();_0x41c9f8[_0x437312(0xbb)](_0x1a6b2f,_0x43394e);}}async[_0x3cbc34(0xb9)](_0x521502){const _0x304484=_0x3cbc34,{connection:_0x30fca2}=this[_0x304484(0xfc)][_0x304484(0xfd)][_0x304484(0xf9)](_0xe1dfef),_0x272340=this[_0x304484(0xfc)][_0x304484(0xfd)][_0x304484(0xf9)](_0x304484(0xd6)),_0x36fb0f=this[_0x304484(0xf1)][_0x304484(0xf9)](_0x521502),_0x3f6128=await _0x36fb0f[_0x304484(0xa3)](_0x30fca2);await this[_0x304484(0xe4)](_0x3f6128);const _0xc2878d=new Set(Array[_0x304484(0xa2)](_0x272340[_0x304484(0xa4)]({'channelId':_0x521502}),_0x2c7166=>_0x2c7166['id']));for(const _0x226df7 of _0x3f6128)_0x226df7[_0x304484(0xb4)]||_0xc2878d[_0x304484(0x9f)](_0x226df7[_0x304484(0xb8)]);for(const _0x3dfc63 of _0xc2878d)_0x272340[_0x304484(0xd5)](_0x3dfc63)[_0x304484(0x9e)]({'isFromAdapter':!0x0});for(const _0x32b63f of _0x3f6128){let _0x36d3e0=_0x272340[_0x304484(0xd5)](_0x32b63f[_0x304484(0xb8)]);const {commentThreadId:_0x1b69af,context:_0x3b2fbd,attributes:_0x383a0e,resolvedBy:_0x161053,resolvedAt:_0x41f5c7,unlinkedAt:_0x532216,deletedAt:_0x5cc055}=_0x32b63f;if(_0x5cc055)continue;_0x36d3e0||(_0x36d3e0=_0x272340[_0x304484(0xac)]({'channelId':_0x521502,'threadId':_0x1b69af,'context':_0x3b2fbd,'attributes':_0x383a0e||{},'resolvedBy':_0x161053,'resolvedAt':_0x41f5c7,'unlinkedAt':_0x532216,'isFromAdapter':!0x0}));const _0x516cc3=new Set(Array[_0x304484(0xa2)](_0x36d3e0[_0x304484(0xf5)],_0x106cce=>_0x106cce['id']));for(const _0x58c833 of _0x32b63f[_0x304484(0xf5)])_0x516cc3[_0x304484(0x9f)](_0x58c833[_0x304484(0xc2)]);for(const _0x1fcfb7 of _0x516cc3)_0x36d3e0[_0x304484(0xa6)](_0x1fcfb7)[_0x304484(0x9e)]({'isFromAdapter':!0x0});for(const _0x36fbcf of _0x32b63f[_0x304484(0xf5)]){const _0x579d35=_0x36d3e0[_0x304484(0xa6)](_0x36fbcf[_0x304484(0xc2)]);_0x579d35?_0x579d35[_0x304484(0xda)]!==_0x36fbcf[_0x304484(0xda)]&&_0x579d35[_0x304484(0xae)]({'content':_0x36fbcf[_0x304484(0xda)],'isFromAdapter':!0x0}):_0x36d3e0[_0x304484(0xba)](Object[_0x304484(0xcd)](p(_0x36fbcf),{'isFromAdapter':!0x0}));}}}[_0x3cbc34(0xec)](_0x4db7aa){const _0x271286=_0x3cbc34;if(!this[_0x271286(0xf1)][_0x271286(0xdd)](_0x4db7aa))throw new _0xdce578(_0x271286(0xf8),null,{'channelId':_0x4db7aa});return this[_0x271286(0xf1)][_0x271286(0xf9)](_0x4db7aa);}async[_0x3cbc34(0xe4)](_0x1b2219){const _0x486cec=_0x3cbc34,_0x3c1ee0=this[_0x486cec(0xfc)][_0x486cec(0xfd)][_0x486cec(0xf9)](_0x41e6ec),{connection:_0x23e4e9}=this[_0x486cec(0xfc)][_0x486cec(0xfd)][_0x486cec(0xf9)](_0xe1dfef),_0x5cdd85=new Set();for(const {resolvedBy:_0x28415c,comments:_0x1be39f}of _0x1b2219){_0x28415c&&!_0x3c1ee0[_0x486cec(0xe8)](_0x28415c)&&_0x5cdd85[_0x486cec(0xa8)](_0x28415c);for(const {userId:_0x32bd8a}of _0x1be39f)_0x3c1ee0[_0x486cec(0xe8)](_0x32bd8a)||_0x5cdd85[_0x486cec(0xa8)](_0x32bd8a);}if(0x0===_0x5cdd85[_0x486cec(0xab)])return;const _0x39c356=await _0x2914a2[_0x486cec(0xe2)](_0x23e4e9,Array[_0x486cec(0xa2)](_0x5cdd85));for(const _0x4710db of _0x39c356)_0x3c1ee0[_0x486cec(0xe8)](_0x4710db['id'])||_0x3c1ee0[_0x486cec(0xa7)](_0x4710db);}}function _0x5865(_0x3436f6,_0x14aa79){const _0x5f0c69=_0x5f0c();return _0x5865=function(_0x58650d,_0x36378c){_0x58650d=_0x58650d-0x9e;let _0x5236cd=_0x5f0c69[_0x58650d];return _0x5236cd;},_0x5865(_0x3436f6,_0x14aa79);}async function f(_0x49fdc7){const _0x4cab16=_0x3cbc34;if(_0x4cab16(0xbf)!==_0x49fdc7[_0x4cab16(0xd2)])throw _0x49fdc7;}function A(_0x24ed98){const _0x1a61ee=_0x3cbc34;if((_0x540e9c=_0x24ed98)[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xcf))||_0x540e9c[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xa1))||_0x540e9c[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xd7)))return new Promise(()=>{});var _0x540e9c;throw _0x24ed98;}function p(_0x444775){const _0x40e209=_0x3cbc34;return{'threadId':_0x444775[_0x40e209(0xb8)],'commentId':_0x444775[_0x40e209(0xc2)],'content':_0x444775[_0x40e209(0xda)],'createdAt':_0x444775[_0x40e209(0xce)],'authorId':_0x444775[_0x40e209(0xf0)],'attributes':_0x444775[_0x40e209(0xc7)]||{}};}
|
|
23
|
+
const _0x44f586=_0xa435;(function(_0x18b09d,_0x28d656){const _0x2a3684=_0xa435,_0x1ad413=_0x18b09d();while(!![]){try{const _0x3a5173=-parseInt(_0x2a3684(0x141))/0x1+-parseInt(_0x2a3684(0x149))/0x2+parseInt(_0x2a3684(0x12d))/0x3+parseInt(_0x2a3684(0xe5))/0x4+-parseInt(_0x2a3684(0xfe))/0x5*(-parseInt(_0x2a3684(0x12b))/0x6)+-parseInt(_0x2a3684(0x137))/0x7*(parseInt(_0x2a3684(0x101))/0x8)+-parseInt(_0x2a3684(0x112))/0x9;if(_0x3a5173===_0x28d656)break;else _0x1ad413['push'](_0x1ad413['shift']());}catch(_0x306f4a){_0x1ad413['push'](_0x1ad413['shift']());}}}(_0x880b,0xb3e05));import{Context as _0x3b18b5,ContextPlugin as _0x2af771}from'ckeditor5/src/core.js';function _0x880b(){const _0x2bf69f=['commentThreadId','resolvedAt','createdAt','message','commentThreadResolved','_connectService','_fetchMissingUsersForThreads','addCommentThread','getConnectedSessions','resolvedBy','authorId','plugins','2083626dbDyxZ','_getService','off','requires','getCommentThread','commentAdded','updateCommentThread','commentThreadAdded','404','context','listenTo','reconnect','config','collaboration.channelId','size','cloudservicescommentsadapter-service-not-exist','adapter','commentThreadReopened','getUser','deletedAt','userId','startsWith','register','attributes','init','6pZYuId','setPermissions','3568236bYoOeO','cloudservicescommentsadapter-disconnect-not-exist','commentThreadUpdated','resolveCommentThread','addUser','add','addToReconnectionStack','from','getCommentThreads','destroy','7EyiAdD','CommentsService','disconnect','removeCommentThread','CloudServicesCommentsAdapter','addComment','resolve','_terminateService','has','remove','533870pyGxgx','unregister','cloud-services-internal-error:\x20Request\x20timeout.','updateComment','update','reopen','CommentsRepository','code','1413734evDGal','3685688Pzibyh','commentUpdated','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Not\x20connected.','delete','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','assign','Permissions','pluginName','set','catch','comments','isPremiumPlugin','connect','getMany','reopenCommentThread','sessionAdd:','map','keys','commentRemoved','removeComment','_setUpService','get','commentThreadRemoved','isOfficialPlugin','5484905FqSerC','commentId','getComment','7990328pFKqbQ','content','permissions','_services','mySessionId'];_0x880b=function(){return _0x2bf69f;};return _0x880b();}import{CKEditorError as _0x5ac336}from'ckeditor5/src/utils.js';import{Users as _0x38cea0}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x23d7dd,User as _0xb8ec6c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2b91d9}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x22dc34}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x2af771{static [_0x44f586(0x138)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x23d7dd)());[_0x44f586(0x104)];static get[_0x44f586(0x115)](){const _0x20ca59=_0x44f586;return[_0x2b91d9,_0x20ca59(0x147),_0x22dc34,_0x38cea0];}static get[_0x44f586(0xed)](){const _0x3e3131=_0x44f586;return _0x3e3131(0x13b);}static get[_0x44f586(0xfd)](){return!0x0;}static get[_0x44f586(0xf1)](){return!0x0;}constructor(_0x34b997){const _0x3f7d5c=_0x44f586;super(_0x34b997),this[_0x3f7d5c(0x104)]=new Map();}async[_0x44f586(0x12a)](){const _0x27eb8=_0x44f586,_0xba913c=this[_0x27eb8(0x11b)],_0x3f7705=_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x27eb8(0x147));if(_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x2b91d9)[_0x27eb8(0x133)](this),_0x3f7705[_0x27eb8(0x122)]={'addCommentThread':async({channelId:_0x5e9f2c,threadId:_0x3fb630,comments:_0xb430a2,resolvedAt:_0x4a3ae5,resolvedBy:_0x3eb7a0,context:_0x3a2e54,attributes:_0x531aee})=>{const _0x5435e7=_0x27eb8,_0x5af8f4=await this[_0x5435e7(0x113)](_0x5e9f2c)[_0x5435e7(0x10d)]({'commentThreadId':_0x3fb630,'comments':_0xb430a2[_0x5435e7(0xf6)](_0x151c4c=>function(_0x1997f2,_0x57c950,_0x4ef8ef){const _0x116507=_0x5435e7;return{'commentThreadId':_0x4ef8ef,'commentId':_0x1997f2[_0x116507(0xff)],'userId':_0x1997f2[_0x116507(0x110)],'content':_0x1997f2[_0x116507(0x102)],'documentId':_0x57c950,'createdAt':_0x1997f2[_0x116507(0x108)],'attributes':_0x1997f2[_0x116507(0x129)]||{}};}(_0x151c4c,_0x5e9f2c,_0x3fb630)),'resolvedAt':_0x4a3ae5,'resolvedBy':_0x3eb7a0,'context':_0x3a2e54,'attributes':_0x531aee})[_0x5435e7(0xef)](B);return{'threadId':_0x5af8f4[_0x5435e7(0x106)],'comments':_0x5af8f4[_0x5435e7(0xf0)]};},'getCommentThread':async({channelId:_0x285753,threadId:_0x4db455})=>{const _0x3b61ce=_0x27eb8,_0x5779ad=await this[_0x3b61ce(0x113)](_0x285753)[_0x3b61ce(0x116)](_0x4db455)[_0x3b61ce(0xef)](F)[_0x3b61ce(0xef)](B);return _0x5779ad?_0x5779ad[_0x3b61ce(0x125)]?null:(await this[_0x3b61ce(0x10c)]([_0x5779ad]),{'threadId':_0x5779ad[_0x3b61ce(0x106)],'comments':_0x5779ad[_0x3b61ce(0xf0)][_0x3b61ce(0xf6)](P),'context':_0x5779ad[_0x3b61ce(0x11b)],'resolvedAt':_0x5779ad[_0x3b61ce(0x107)],'resolvedBy':_0x5779ad[_0x3b61ce(0x10f)],'attributes':_0x5779ad[_0x3b61ce(0x129)]||{}}):null;},'updateCommentThread':async({channelId:_0x53ad67,threadId:_0x3c515e,context:_0x4affed,unlinkedAt:_0x19383e,attributes:_0x5324d2})=>this[_0x27eb8(0x113)](_0x53ad67)[_0x27eb8(0x118)]({'commentThreadId':_0x3c515e,'context':_0x4affed,'attributes':_0x5324d2,'unlinkedAt':_0x19383e})[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'resolveCommentThread':async({channelId:_0x584798,threadId:_0x230ce0})=>{const _0x3bddab=_0x27eb8,_0x28e6da=await this[_0x3bddab(0x113)](_0x584798)[_0x3bddab(0x130)](_0x230ce0)[_0x3bddab(0xef)](F)[_0x3bddab(0xef)](B);return{'threadId':_0x28e6da[_0x3bddab(0x106)],'resolvedAt':_0x28e6da[_0x3bddab(0x107)],'resolvedBy':_0x28e6da[_0x3bddab(0x10f)]};},'reopenCommentThread':async({channelId:_0x565d09,threadId:_0x3ec0e8})=>this[_0x27eb8(0x113)](_0x565d09)[_0x27eb8(0xf4)](_0x3ec0e8)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'removeCommentThread':({channelId:_0x1d8c1f,threadId:_0x4ffe0b})=>this[_0x27eb8(0x113)](_0x1d8c1f)[_0x27eb8(0x13a)](_0x4ffe0b)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'addComment':({channelId:_0x208699,threadId:_0x5ad196,commentId:_0x4b1991,content:_0xf35d43,attributes:_0x502d42})=>this[_0x27eb8(0x113)](_0x208699)[_0x27eb8(0x13c)](_0x5ad196,_0x4b1991,_0xf35d43,_0x502d42)[_0x27eb8(0xef)](B),'updateComment':({channelId:_0x4b0527,threadId:_0x5b2158,commentId:_0x588d10,content:_0x1dc362,attributes:_0x4ffff1})=>this[_0x27eb8(0x113)](_0x4b0527)[_0x27eb8(0x144)](_0x5b2158,_0x588d10,_0x1dc362,_0x4ffff1)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'removeComment':({channelId:_0x54b5e9,threadId:_0x34e4cf,commentId:_0x211b8f})=>this[_0x27eb8(0x113)](_0x54b5e9)[_0x27eb8(0xf9)](_0x34e4cf,_0x211b8f)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B)},_0xba913c instanceof _0x3b18b5){const _0x6f4ce2=_0xba913c[_0x27eb8(0x11e)][_0x27eb8(0xfb)](_0x27eb8(0x11f)),_0x40544d=_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x22dc34);await this[_0x27eb8(0xfa)](_0x6f4ce2);const _0x3e73af=await this[_0x27eb8(0x104)][_0x27eb8(0xfb)](_0x6f4ce2)[_0x27eb8(0x10e)]();this[_0x27eb8(0x11c)](_0x40544d,_0x27eb8(0xf5)+_0x6f4ce2,(_0x5f4bf3,{session:_0x4be123})=>{const _0x29c795=_0x27eb8;_0x4be123['id']===_0x40544d[_0x29c795(0x105)]&&(_0x5f4bf3[_0x29c795(0x114)](),this[_0x29c795(0x11b)][_0x29c795(0x111)][_0x29c795(0xfb)](_0x29c795(0xec))[_0x29c795(0x12c)](_0x4be123[_0x29c795(0x103)],_0x6f4ce2));}),_0x40544d[_0x27eb8(0x128)](_0x6f4ce2,_0x3e73af);}}async[_0x44f586(0xfa)](_0x4aa2ad){const _0x3c0111=_0x44f586;if(this[_0x3c0111(0x104)][_0x3c0111(0x13f)](_0x4aa2ad))throw new _0x5ac336(_0x3c0111(0xe7),null,{'channelId':_0x4aa2ad});const _0xc6f74a=this[_0x3c0111(0x11b)][_0x3c0111(0x111)][_0x3c0111(0xfb)](_0x3c0111(0x147)),_0x5b61e1=new CloudServicesCommentsAdapter[(_0x3c0111(0x138))](_0x4aa2ad);this[_0x3c0111(0x104)][_0x3c0111(0xee)](_0x4aa2ad,_0x5b61e1),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x119),(_0x541942,_0x167efd)=>{const _0x1a679c=_0x3c0111,{commentThreadId:_0x15501b,documentId:_0x45cd4d,context:_0x3e42a0,attributes:_0x1d12b9,resolvedAt:_0x3ea450,resolvedBy:_0x4969c2,comments:_0x544098}=_0x167efd;_0xc6f74a[_0x1a679c(0x116)](_0x15501b)||_0xc6f74a[_0x1a679c(0x10d)]({'threadId':_0x15501b,'channelId':_0x45cd4d,'comments':_0x544098?_0x544098[_0x1a679c(0xf6)](P):[],'context':_0x3e42a0,'attributes':_0x1d12b9,'resolvedAt':_0x3ea450,'resolvedBy':_0x4969c2,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x12f),(_0x2764ed,{commentThreadId:_0x24e5c1,documentId:_0x78e598,context:_0x266325,unlinkedAt:_0x3ebc38,attributes:_0x41cae3})=>{const _0x2cebb2=_0x3c0111;_0xc6f74a[_0x2cebb2(0x116)](_0x24e5c1)&&_0xc6f74a[_0x2cebb2(0x118)]({'threadId':_0x24e5c1,'channelId':_0x78e598,'context':_0x266325,'unlinkedAt':_0x3ebc38,'attributes':_0x41cae3,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x10a),(_0x4d21e2,{commentThreadId:_0x541cc1,resolvedBy:_0xb3eda3,resolvedAt:_0xf18771})=>{const _0x23a4e5=_0x3c0111,_0x217784=_0xc6f74a[_0x23a4e5(0x116)](_0x541cc1);_0x217784&&_0x217784[_0x23a4e5(0x13d)]({'resolvedBy':_0xb3eda3,'resolvedAt':_0xf18771,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x123),(_0x5d6c41,{commentThreadId:_0x46440d})=>{const _0xbdbe6c=_0x3c0111,_0x33c158=_0xc6f74a[_0xbdbe6c(0x116)](_0x46440d);_0x33c158&&_0x33c158[_0xbdbe6c(0x146)]({'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xfc),(_0xc6d18e,{commentThreadId:_0x17e318})=>{const _0x20d0cb=_0x3c0111,_0x4ed9f6=_0xc6f74a[_0x20d0cb(0x116)](_0x17e318);_0x4ed9f6&&_0x4ed9f6[_0x20d0cb(0x140)]({'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x117),(_0x133371,_0xbd2bda)=>{const _0x2d4490=_0x3c0111,_0x5e063d=_0xbd2bda[_0x2d4490(0x106)],_0x43eca9=_0xc6f74a[_0x2d4490(0x116)](_0x5e063d);_0x43eca9&&_0x43eca9[_0x2d4490(0x13c)]({...P(_0xbd2bda),'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xe6),(_0x49a25e,{commentThreadId:_0x3b5c76,commentId:_0x560e64,content:_0x453dc3,attributes:_0x4d9f6c})=>{const _0x50a1cf=_0x3c0111,_0x11e7c1=_0xc6f74a[_0x50a1cf(0x116)](_0x3b5c76);if(_0x11e7c1){const _0xd50943=_0x11e7c1[_0x50a1cf(0x100)](_0x560e64);_0xd50943&&_0xd50943[_0x50a1cf(0x145)]({'content':_0x453dc3,'attributes':_0x4d9f6c,'isFromAdapter':!0x0});}}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xf8),(_0x5cd8c,{commentThreadId:_0x136b64,commentId:_0x46192f})=>{const _0x1daf1b=_0x3c0111,_0x56f7ae=_0xc6f74a[_0x1daf1b(0x116)](_0x136b64);if(_0x56f7ae){const _0x344b3b=_0x56f7ae[_0x1daf1b(0x100)](_0x46192f);_0x344b3b&&_0x344b3b[_0x1daf1b(0x140)]({'isFromAdapter':!0x0});}}),await this[_0x3c0111(0x10b)](_0x4aa2ad);}[_0x44f586(0x136)](){const _0x32c9ad=_0x44f586;if(this[_0x32c9ad(0x11b)]instanceof _0x3b18b5){const _0x204358=this[_0x32c9ad(0x11b)][_0x32c9ad(0x11e)][_0x32c9ad(0xfb)](_0x32c9ad(0x11f));this[_0x32c9ad(0x13e)](_0x204358);}}[_0x44f586(0x13e)](_0x25cc45){const _0x41a6a2=_0x44f586;if(!this[_0x41a6a2(0x104)][_0x41a6a2(0x13f)](_0x25cc45))throw new _0x5ac336(_0x41a6a2(0x12e),null,{'channelId':_0x25cc45});this[_0x41a6a2(0x113)](_0x25cc45)[_0x41a6a2(0x139)](),this[_0x41a6a2(0x104)][_0x41a6a2(0xe9)](_0x25cc45);}async[_0x44f586(0x11d)](){const _0x1be2ae=_0x44f586;for(const _0x2e6408 of this[_0x1be2ae(0x104)][_0x1be2ae(0xf7)]())await this[_0x1be2ae(0x10b)](_0x2e6408);if(this[_0x1be2ae(0x11b)]instanceof _0x3b18b5){const _0x46d83b=this[_0x1be2ae(0x11b)][_0x1be2ae(0x11e)][_0x1be2ae(0xfb)](_0x1be2ae(0x11f)),_0x45efed=this[_0x1be2ae(0x11b)][_0x1be2ae(0x111)][_0x1be2ae(0xfb)](_0x22dc34);_0x45efed[_0x1be2ae(0x142)](_0x46d83b);const _0x4eeaca=await this[_0x1be2ae(0x104)][_0x1be2ae(0xfb)](_0x46d83b)[_0x1be2ae(0x10e)]();_0x45efed[_0x1be2ae(0x128)](_0x46d83b,_0x4eeaca);}}async[_0x44f586(0x10b)](_0x441c5a){const _0x40d8a3=_0x44f586,{connection:_0x1912f7}=this[_0x40d8a3(0x11b)][_0x40d8a3(0x111)][_0x40d8a3(0xfb)](_0x2b91d9),_0x53e230=this[_0x40d8a3(0x11b)][_0x40d8a3(0x111)][_0x40d8a3(0xfb)](_0x40d8a3(0x147)),_0x59d3ca=this[_0x40d8a3(0x104)][_0x40d8a3(0xfb)](_0x441c5a),_0x241f5b=await _0x59d3ca[_0x40d8a3(0xf2)](_0x1912f7);await this[_0x40d8a3(0x10c)](_0x241f5b);const _0x5581cf=new Set(Array[_0x40d8a3(0x134)](_0x53e230[_0x40d8a3(0x135)]({'channelId':_0x441c5a}),_0x1af1d3=>_0x1af1d3['id']));for(const _0x5aaa4b of _0x241f5b)_0x5aaa4b[_0x40d8a3(0x125)]||_0x5581cf[_0x40d8a3(0xe9)](_0x5aaa4b[_0x40d8a3(0x106)]);for(const _0x4d7836 of _0x5581cf)_0x53e230[_0x40d8a3(0x116)](_0x4d7836)[_0x40d8a3(0x140)]({'isFromAdapter':!0x0});for(const _0x34123d of _0x241f5b){let _0x3f7394=_0x53e230[_0x40d8a3(0x116)](_0x34123d[_0x40d8a3(0x106)]);const {commentThreadId:_0x1347f6,context:_0x58e863,attributes:_0x590052,resolvedBy:_0xad4baf,resolvedAt:_0x502612,unlinkedAt:_0x25ea71,deletedAt:_0x39d71c}=_0x34123d;if(_0x39d71c)continue;_0x3f7394||(_0x3f7394=_0x53e230[_0x40d8a3(0x10d)]({'channelId':_0x441c5a,'threadId':_0x1347f6,'context':_0x58e863,'attributes':_0x590052||{},'resolvedBy':_0xad4baf,'resolvedAt':_0x502612,'unlinkedAt':_0x25ea71,'isFromAdapter':!0x0}));const _0x465fc=new Set(Array[_0x40d8a3(0x134)](_0x3f7394[_0x40d8a3(0xf0)],_0x5e7d00=>_0x5e7d00['id']));for(const _0x14279b of _0x34123d[_0x40d8a3(0xf0)])_0x465fc[_0x40d8a3(0xe9)](_0x14279b[_0x40d8a3(0xff)]);for(const _0x4e3299 of _0x465fc)_0x3f7394[_0x40d8a3(0x100)](_0x4e3299)[_0x40d8a3(0x140)]({'isFromAdapter':!0x0});for(const _0xf36802 of _0x34123d[_0x40d8a3(0xf0)]){const _0x5c0bf6=_0x3f7394[_0x40d8a3(0x100)](_0xf36802[_0x40d8a3(0xff)]);_0x5c0bf6?_0x5c0bf6[_0x40d8a3(0x102)]!==_0xf36802[_0x40d8a3(0x102)]&&_0x5c0bf6[_0x40d8a3(0x145)]({'content':_0xf36802[_0x40d8a3(0x102)],'isFromAdapter':!0x0}):_0x3f7394[_0x40d8a3(0x13c)](Object[_0x40d8a3(0xeb)](P(_0xf36802),{'isFromAdapter':!0x0}));}}}[_0x44f586(0x113)](_0x20a3b3){const _0x49f733=_0x44f586;if(!this[_0x49f733(0x104)][_0x49f733(0x13f)](_0x20a3b3))throw new _0x5ac336(_0x49f733(0x121),null,{'channelId':_0x20a3b3});return this[_0x49f733(0x104)][_0x49f733(0xfb)](_0x20a3b3);}async[_0x44f586(0x10c)](_0x1f28e9){const _0xe97b1c=_0x44f586,_0x19ffe3=this[_0xe97b1c(0x11b)][_0xe97b1c(0x111)][_0xe97b1c(0xfb)](_0x38cea0),{connection:_0x426747}=this[_0xe97b1c(0x11b)][_0xe97b1c(0x111)][_0xe97b1c(0xfb)](_0x2b91d9),_0x2e5fb2=new Set();for(const {resolvedBy:_0x144a0e,comments:_0x5e6e28}of _0x1f28e9){_0x144a0e&&!_0x19ffe3[_0xe97b1c(0x124)](_0x144a0e)&&_0x2e5fb2[_0xe97b1c(0x132)](_0x144a0e);for(const {userId:_0x1a4731}of _0x5e6e28)_0x19ffe3[_0xe97b1c(0x124)](_0x1a4731)||_0x2e5fb2[_0xe97b1c(0x132)](_0x1a4731);}if(0x0===_0x2e5fb2[_0xe97b1c(0x120)])return;const _0x1565ae=await _0xb8ec6c[_0xe97b1c(0xf3)](_0x426747,Array[_0xe97b1c(0x134)](_0x2e5fb2));for(const _0xe3c411 of _0x1565ae)_0x19ffe3[_0xe97b1c(0x124)](_0xe3c411['id'])||_0x19ffe3[_0xe97b1c(0x131)](_0xe3c411);}}async function F(_0x4677fd){const _0x1bd70a=_0x44f586;if(_0x1bd70a(0x11a)!==_0x4677fd[_0x1bd70a(0x148)])throw _0x4677fd;}function B(_0x118669){const _0x3bc81d=_0x44f586;if((_0x316c40=_0x118669)[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0xea))||_0x316c40[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0xe8))||_0x316c40[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0x143)))return new Promise(()=>{});var _0x316c40;throw _0x118669;}function _0xa435(_0x5eac6f,_0x1a22cc){const _0x880b92=_0x880b();return _0xa435=function(_0xa4352f,_0x1c240b){_0xa4352f=_0xa4352f-0xe5;let _0x4f6b9a=_0x880b92[_0xa4352f];return _0x4f6b9a;},_0xa435(_0x5eac6f,_0x1a22cc);}function P(_0x5a4094){const _0x217b22=_0x44f586;return{'threadId':_0x5a4094[_0x217b22(0x106)],'commentId':_0x5a4094[_0x217b22(0xff)],'content':_0x5a4094[_0x217b22(0x102)],'createdAt':_0x5a4094[_0x217b22(0x108)],'authorId':_0x5a4094[_0x217b22(0x126)],'attributes':_0x5a4094[_0x217b22(0x129)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x149ed4=_0x1934;(function(_0x3b25da,_0x1fddcb){const _0x215700=_0x1934,_0x5a0c22=_0x3b25da();while(!![]){try{const _0x35b3e6=parseInt(_0x215700(0x184))/0x1*(parseInt(_0x215700(0x19f))/0x2)+-parseInt(_0x215700(0x19d))/0x3*(-parseInt(_0x215700(0x194))/0x4)+-parseInt(_0x215700(0x185))/0x5+parseInt(_0x215700(0x18b))/0x6*(-parseInt(_0x215700(0x17c))/0x7)+parseInt(_0x215700(0x195))/0x8*(parseInt(_0x215700(0x17b))/0x9)+parseInt(_0x215700(0x199))/0xa*(parseInt(_0x215700(0x197))/0xb)+parseInt(_0x215700(0x17e))/0xc*(-parseInt(_0x215700(0x183))/0xd);if(_0x35b3e6===_0x1fddcb)break;else _0x5a0c22['push'](_0x5a0c22['shift']());}catch(_0x1d57e7){_0x5a0c22['push'](_0x5a0c22['shift']());}}}(_0x3311,0x5017b));import{Plugin as _0xb0719a}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x36a274}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4a1c5b}from'./realtimecollaborativeediting.js';function _0x1934(_0x33094b,_0x162d2c){const _0x3311e5=_0x3311();return _0x1934=function(_0x1934f1,_0x4c0af3){_0x1934f1=_0x1934f1-0x17a;let _0x269823=_0x3311e5[_0x1934f1];return _0x269823;},_0x1934(_0x33094b,_0x162d2c);}function _0x3311(){const _0xbac723=['RealTimeCollaborativeComments','878736YfFUqy','config','5147964wDQxac','91twJZdM','editor','330684TPmIZs','connected','_setUpService','pluginName','switchReadOnly','247WPIjod','1PkoSoW','653725sMtqZh','CommentsEditing','CommentsRepository','Comments','isOfficialPlugin','isThreadsLoadingPaused','183162xlhbFu','ready','data','collaboration.channelId','once','requires','listenTo','init','_terminateService','320956vnOpUk','8vmWLVO','change:state','3163985HRNzns','isPremiumPlugin','10WqUaiQ','get','destroy','plugins','3xboBAj'];_0x3311=function(){return _0xbac723;};return _0x3311();}import{WebSocketGateway as _0x5ae0c6}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xb0719a{static get[_0x149ed4(0x190)](){const _0x3d26ee=_0x149ed4;return[_0x3d26ee(0x188),_0x36a274,_0x4a1c5b,_0x5ae0c6];}static get[_0x149ed4(0x181)](){const _0x3c30c2=_0x149ed4;return _0x3c30c2(0x19e);}static get[_0x149ed4(0x189)](){return!0x0;}static get[_0x149ed4(0x198)](){return!0x0;}[_0x149ed4(0x192)](){const _0xe36223=_0x149ed4,_0x436bbf=this[_0xe36223(0x17d)][_0xe36223(0x19c)][_0xe36223(0x19a)](_0x5ae0c6),_0x591848=this[_0xe36223(0x17d)][_0xe36223(0x19c)][_0xe36223(0x19a)](_0xe36223(0x186)),_0x5b5c4b=this[_0xe36223(0x17d)][_0xe36223(0x19c)][_0xe36223(0x19a)](_0x36a274);return this[_0xe36223(0x17d)][_0xe36223(0x18d)][_0xe36223(0x18f)](_0xe36223(0x18c),()=>{const _0x1dccbf=_0xe36223;this[_0x1dccbf(0x191)](_0x436bbf,_0x1dccbf(0x196),(_0x3ca509,_0x3ee7fe,_0x3e4498)=>{const _0x45804d=_0x1dccbf;_0x591848[_0x45804d(0x18a)]=_0x45804d(0x17f)!==_0x3e4498;});}),this[_0xe36223(0x191)](_0x436bbf,_0xe36223(0x196),(_0x4963d5,_0x5f2618,_0x19de31)=>{const _0x26b463=_0xe36223;this[_0x26b463(0x17d)][_0x26b463(0x19c)][_0x26b463(0x19a)](_0x26b463(0x187))[_0x26b463(0x182)](_0x26b463(0x17f)!==_0x19de31);}),_0x5b5c4b[_0xe36223(0x180)](this[_0xe36223(0x17d)][_0xe36223(0x17a)][_0xe36223(0x19a)](_0xe36223(0x18e)));}[_0x149ed4(0x19b)](){const _0x48da3d=_0x149ed4;this[_0x48da3d(0x17d)][_0x48da3d(0x19c)][_0x48da3d(0x19a)](_0x36a274)[_0x48da3d(0x193)](this[_0x48da3d(0x17d)][_0x48da3d(0x17a)][_0x48da3d(0x19a)](_0x48da3d(0x18e))),super[_0x48da3d(0x19b)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4f6b4f)());[_0x5252ab(0x18e)];[_0x5252ab(0x1e7)];[_0x5252ab(0x185)];[_0x5252ab(0x1cf)];[_0x5252ab(0x115)];[_0x5252ab(0x138)];[_0x5252ab(0x1c8)];[_0x5252ab(0x1dd)];[_0x5252ab(0x1ec)];[_0x5252ab(0x165)];[_0x5252ab(0x1fa)];[_0x5252ab(0x189)];[_0x5252ab(0x1e4)];[_0x5252ab(0x125)];[_0x5252ab(0x107)];[_0x5252ab(0x1c2)];[_0x5252ab(0x18a)];[_0x5252ab(0x173)];static get[_0x5252ab(0x140)](){return[_0x42967a,_0x25c1d1,_0x31d116,_0x4e5abd,_0x55ae0c,_0x576338];}static get[_0x5252ab(0x1a2)](){const _0x43eaf1=_0x5252ab;return _0x43eaf1(0x1ff);}static get[_0x5252ab(0x1c1)](){return!0x0;}static get[_0x5252ab(0x1fe)](){return!0x0;}get[_0x5252ab(0x163)](){const _0x3cb28f=_0x5252ab;return this[_0x3cb28f(0x14a)]+this[_0x3cb28f(0x18e)];}get[_0x5252ab(0x14a)](){const _0x421b30=_0x5252ab;return this[_0x421b30(0x185)][_0x421b30(0x197)]-this[_0x421b30(0x18e)];}get[_0x5252ab(0x1d6)](){const _0x425760=_0x5252ab,_0x35d097=this[_0x425760(0x185)][_0x425760(0x1c7)]();for(let _0x593d37=_0x35d097[_0x425760(0x183)]-0x1;_0x593d37>=0x0;_0x593d37--){const _0x4fb0a4=_0x35d097[_0x593d37];if(!this[_0x425760(0x18a)][_0x425760(0x176)](_0x4fb0a4))return _0x4fb0a4[_0x425760(0x10d)]+0x1-this[_0x425760(0x18e)];}return 0x0;}constructor(_0x34f3d4){const _0xa7638c=_0x5252ab;if(super(_0x34f3d4),this[_0xa7638c(0x18e)]=0x0,this[_0xa7638c(0x1e7)]=null,this[_0xa7638c(0x185)]=new _0xffb01f(),this[_0xa7638c(0x11b)][_0xa7638c(0x1b8)][_0xa7638c(0x1b0)](_0xa7638c(0x114),{}),this[_0xa7638c(0x1cf)]=this[_0xa7638c(0x11b)][_0xa7638c(0x1b8)][_0xa7638c(0x196)](_0xa7638c(0x111)),!this[_0xa7638c(0x1cf)])throw new _0x25a09c(_0xa7638c(0x10a),this);const _0x159d83=_0x34f3d4[_0xa7638c(0x1b8)][_0xa7638c(0x196)](_0xa7638c(0x13e))||_0x21e66f;this[_0xa7638c(0x115)]=new RealTimeCollaborationClient[(_0xa7638c(0x1c6))](_0x159d83,this[_0xa7638c(0x1cf)]),this[_0xa7638c(0x138)]=this[_0xa7638c(0x11b)][_0xa7638c(0x175)][_0xa7638c(0x1c4)],this[_0xa7638c(0x1c8)]=new _0x21e82c(),this[_0xa7638c(0x1dd)]=[],this[_0xa7638c(0x1ec)]=new WeakSet(),this[_0xa7638c(0x165)]=new Set(),this[_0xa7638c(0x106)](_0xa7638c(0x1df),!0x1),this[_0xa7638c(0x106)](_0xa7638c(0x18f),!0x1),this[_0xa7638c(0x1fa)]=null,this[_0xa7638c(0x189)]=!0x1,this[_0xa7638c(0x1e4)]=null,this[_0xa7638c(0x125)]=0x12c,this[_0xa7638c(0x107)]=this[_0xa7638c(0x125)],this[_0xa7638c(0x1c2)]=null,this[_0xa7638c(0x18a)]=new WeakSet(),this[_0xa7638c(0x173)]=new X(this[_0xa7638c(0x18a)]);}[_0x5252ab(0x14d)](){const _0x475ad9=_0x5252ab,_0x4e9c8b=this[_0x475ad9(0x11b)],_0xadafe9=_0x4e9c8b[_0x475ad9(0x102)][_0x475ad9(0x196)](_0x55ae0c),_0xdabcaa=_0x4e9c8b[_0x475ad9(0x102)][_0x475ad9(0x196)](_0x42967a);this[_0x475ad9(0x190)](_0xadafe9,_0x475ad9(0x170),(_0x560449,_0x1eb5d6)=>{const _0xf2f920=_0x475ad9,_0x406e22=_0x1eb5d6[0x0];_0x406e22[_0xf2f920(0x1e6)]&&(_0x560449[_0xf2f920(0x142)]=_0xadafe9[_0xf2f920(0x19e)](_0x406e22[_0xf2f920(0x1e6)]),_0x560449[_0xf2f920(0x123)]()),null===_0x406e22[_0xf2f920(0x1e6)]&&(_0x560449[_0xf2f920(0x142)]=null,_0x560449[_0xf2f920(0x123)]());},{'priority':_0x475ad9(0x166)}),this[_0x475ad9(0x190)](_0x4e9c8b[_0x475ad9(0x175)][_0x475ad9(0x1c4)][_0x475ad9(0x1bf)],_0x475ad9(0x1b2),(_0x245f5e,_0x45e59c)=>{const _0x53d58e=_0x475ad9;_0x45e59c[_0x53d58e(0x1ea)]&&this[_0x53d58e(0x132)]();}),this[_0x475ad9(0x190)](_0x4e9c8b[_0x475ad9(0x1ba)][_0x475ad9(0x1a8)],_0x475ad9(0x203),()=>{const _0x15a70b=_0x475ad9;this[_0x15a70b(0x132)]();}),this[_0x475ad9(0x133)](),_0x4e9c8b[_0x475ad9(0x175)]['on'](_0x475ad9(0x19b),(_0x56c4d0,_0xac3ad5)=>{const _0x51c3a4=_0x475ad9,_0x1594e0=_0xac3ad5[0x0];_0x1594e0[_0x51c3a4(0x1d9)]&&(this[_0x51c3a4(0x13a)](_0x1594e0),this[_0x51c3a4(0x1c9)]()&&this[_0x51c3a4(0x11e)]());}),this[_0x475ad9(0x13d)](),this[_0x475ad9(0x172)](_0x475ad9(0x16b))['to'](_0xdabcaa,_0x475ad9(0x13f),this,_0x475ad9(0x18f),(_0x438f7d,_0x443ff2)=>_0x475ad9(0x1d1)===_0x438f7d&&!_0x443ff2),this['on'](_0x475ad9(0x1d4),()=>{const _0x331863=_0x475ad9;this[_0x331863(0x16b)]?_0x4e9c8b[_0x331863(0x192)](_0x331863(0x130)):_0x4e9c8b[_0x331863(0x195)](_0x331863(0x130));}),this[_0x475ad9(0x16b)]?_0x4e9c8b[_0x475ad9(0x192)](_0x475ad9(0x130)):_0x4e9c8b[_0x475ad9(0x195)](_0x475ad9(0x130)),this[_0x475ad9(0x106)](_0x475ad9(0x187),!0x1);}async[_0x5252ab(0x164)](){const _0x43f8d5=_0x5252ab,_0xf0ceae=this[_0x43f8d5(0x11b)][_0x43f8d5(0x102)][_0x43f8d5(0x196)](_0x25c1d1),_0x476789=this[_0x43f8d5(0x11b)][_0x43f8d5(0x102)][_0x43f8d5(0x196)](_0x42967a);try{this[_0x43f8d5(0x1df)]=!0x0,_0xf0ceae[_0x43f8d5(0x1fb)](this[_0x43f8d5(0x1cf)]);const _0x48b53a=await this[_0x43f8d5(0x115)][_0x43f8d5(0x164)](_0x476789[_0x43f8d5(0x15a)],this[_0x43f8d5(0x1d6)]);await this[_0x43f8d5(0x191)](_0x48b53a)&&(this[_0x43f8d5(0x1df)]=!0x1,this[_0x43f8d5(0x147)]());const _0x158191=await this[_0x43f8d5(0x115)][_0x43f8d5(0x1db)]();_0xf0ceae[_0x43f8d5(0x139)](this[_0x43f8d5(0x1cf)],_0x158191),this[_0x43f8d5(0x16f)](),this[_0x43f8d5(0x187)]=!0x0;}catch(_0x3a8ad9){if(function(_0x37dbff){const _0x4f74a1=_0x43f8d5;return _0x4f74a1(0x184)===_0x37dbff[_0x4f74a1(0x128)];}(_0x3a8ad9)&&this[_0x43f8d5(0x1e7)])await this[_0x43f8d5(0x178)]();else{if(function(_0x467564){const _0x2dec87=_0x43f8d5;return _0x2dec87(0x169)===_0x467564[_0x2dec87(0x128)];}(_0x3a8ad9)){const _0x5013c6=_0x2c0bb1(this[_0x43f8d5(0x11b)][_0x43f8d5(0x152)],_0x43f8d5(0x124));this[_0x43f8d5(0x200)](_0x5013c6);}else{if(!(_0x3a8ad9 instanceof J))throw _0x3a8ad9;this[_0x43f8d5(0x200)]();}}}}[_0x5252ab(0x1f8)](){const _0x2cd6d6=_0x5252ab,_0x567fa6=this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x102)][_0x2cd6d6(0x196)](_0x42967a),_0x3f9e58=this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x102)][_0x2cd6d6(0x196)](_0x25c1d1);this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x195)](_0x2cd6d6(0x1e3)),_0x3f9e58[_0x2cd6d6(0x12d)][_0x2cd6d6(0x176)](this[_0x2cd6d6(0x1cf)])&&_0x3f9e58[_0x2cd6d6(0x1fb)](this[_0x2cd6d6(0x1cf)]),_0x567fa6[_0x2cd6d6(0x1ed)](this),this[_0x2cd6d6(0x1fd)](),super[_0x2cd6d6(0x1f8)]();}async[_0x5252ab(0x191)](_0x559440){const _0x302ff3=_0x5252ab;if(this[_0x302ff3(0x1e7)]!==_0x559440[_0x302ff3(0x1e7)]&&this[_0x302ff3(0x1c2)]!==_0x559440[_0x302ff3(0x1f2)])throw new J();return this[_0x302ff3(0x1e7)]=_0x559440[_0x302ff3(0x1e7)],this[_0x302ff3(0x1af)]([],{..._0x559440,'wereChangesApplied':!0x1,'data':_0x559440[_0x302ff3(0x150)]},_0x302ff3(0x164));}async[_0x5252ab(0x1d0)](_0x5790b0,_0x2c9f6c=!0x1){const _0x3e8f17=_0x5252ab,{connection:_0x43f8ec}=this[_0x3e8f17(0x11b)][_0x3e8f17(0x102)][_0x3e8f17(0x196)](_0x42967a);RealTimeCollaborationClient[_0x3e8f17(0x1c6)][_0x3e8f17(0x1db)](_0x43f8ec,this[_0x3e8f17(0x1cf)])[_0x3e8f17(0x103)](_0x378e02=>this[_0x3e8f17(0x1d3)](_0x378e02))[_0x3e8f17(0x129)](_0x25e081=>{const _0x28a8aa=_0x3e8f17;this[_0x28a8aa(0x1cd)](_0x28a8aa(0x14f),_0x25e081);}),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x1aa),this[_0x3e8f17(0x1a6)][_0x3e8f17(0x172)](this)),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x11d),(_0x584410,_0x383d05)=>{const _0x470b5e=_0x3e8f17;this[_0x470b5e(0x1cd)](_0x470b5e(0x206),_0x383d05);}),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x18d),()=>{const _0x10b582=_0x3e8f17;this[_0x10b582(0x187)]=!0x1;});const _0x217945=this[_0x3e8f17(0x173)][_0x3e8f17(0x14e)](_0x5790b0);this[_0x3e8f17(0x1df)]=!0x0;const _0x39091c=await this[_0x3e8f17(0x115)][_0x3e8f17(0x1e1)](_0x43f8ec,this[_0x3e8f17(0x1ce)](_0x5790b0),_0x217945);if(this[_0x3e8f17(0x1e7)]=_0x39091c[_0x3e8f17(0x1e7)],_0x2c9f6c){if(!_0x39091c[_0x3e8f17(0x1cb)])return void this[_0x3e8f17(0x200)]();this[_0x3e8f17(0x1df)]=!0x1,this[_0x3e8f17(0x147)](),this[_0x3e8f17(0x185)][_0x3e8f17(0x154)](),this[_0x3e8f17(0x18e)]=_0x39091c[_0x3e8f17(0x108)],this[_0x3e8f17(0x185)][_0x3e8f17(0x197)]=this[_0x3e8f17(0x18e)],await this[_0x3e8f17(0x1af)](_0x5790b0,_0x39091c,_0x3e8f17(0x136));}else await this[_0x3e8f17(0x19c)](_0x39091c,_0x5790b0);this[_0x3e8f17(0x16f)](),this[_0x3e8f17(0x187)]=!0x0;}[_0x5252ab(0x16f)](){const _0x5d2707=_0x5252ab,_0x553b8a=this[_0x5d2707(0x11b)][_0x5d2707(0x102)][_0x5d2707(0x196)](_0x25c1d1),_0x3c2f8f=this[_0x5d2707(0x11b)][_0x5d2707(0x102)][_0x5d2707(0x196)](_0x31d116),_0x2d261b=_0x553b8a[_0x5d2707(0x12d)][_0x5d2707(0x196)](this[_0x5d2707(0x1cf)]);_0x2d261b&&_0x2d261b[_0x5d2707(0x183)]>0x1?_0x3c2f8f[_0x5d2707(0x135)]():this[_0x5d2707(0x190)](_0x553b8a,_0x5d2707(0x157)+this[_0x5d2707(0x1cf)],()=>{const _0x4e1682=_0x5d2707;0x2===_0x553b8a[_0x4e1682(0x12d)][_0x4e1682(0x196)](this[_0x4e1682(0x1cf)])[_0x4e1682(0x183)]&&_0x3c2f8f[_0x4e1682(0x135)]();});}async[_0x5252ab(0x1a6)](_0x5f241c,_0x115074,_0x512094,_0x17cf04){const _0x477f05=_0x5252ab;if(!this[_0x477f05(0x1df)]&&this[_0x477f05(0x138)][_0x477f05(0x197)]==_0x115074){const _0x37015b=this[_0x477f05(0x122)](_0x512094,_0x17cf04);await this[_0x477f05(0x1a3)](_0x37015b),this[_0x477f05(0x16d)](_0x37015b,_0x115074,_0x512094[_0x477f05(0x1f2)])||this[_0x477f05(0x1cd)](_0x477f05(0x13b));}}async[_0x5252ab(0x178)](){const _0x2c88e8=_0x5252ab;this[_0x2c88e8(0x1fd)]();const {locale:_0x58e7dd}=this[_0x2c88e8(0x11b)];let _0x119dc2;try{_0x119dc2=await this[_0x2c88e8(0x115)][_0x2c88e8(0x1cc)]();}catch{const _0xa64908=_0x2c0bb1(_0x58e7dd,_0x2c88e8(0x1f9));return void this[_0x2c88e8(0x200)](_0xa64908);}const _0xb826f3=_0x119dc2[_0x2c88e8(0x145)]||_0x119dc2[_0x2c88e8(0x1ae)];if(this[_0x2c88e8(0x1c2)]!==_0xb826f3[_0x2c88e8(0x1f2)]){const _0x322940=_0x2c0bb1(_0x58e7dd,_0x2c88e8(0x1b7));return void this[_0x2c88e8(0x200)](_0x322940);}await this[_0x2c88e8(0x1d0)](this[_0x2c88e8(0x11b)][_0x2c88e8(0x175)][_0x2c88e8(0x1c4)][_0x2c88e8(0x1c3)][_0x2c88e8(0x1c7)](),!0x0);}[_0x5252ab(0x1fd)](){const _0x20b4c0=_0x5252ab;this[_0x20b4c0(0x115)][_0x20b4c0(0x127)](),this[_0x20b4c0(0x1dd)]=[],clearTimeout(this[_0x20b4c0(0x1e4)]),this[_0x20b4c0(0x1fc)](this[_0x20b4c0(0x115)]);}[_0x5252ab(0x1d3)](_0x1a3f0b){const _0x32db32=_0x5252ab,_0x49f1f4=this[_0x32db32(0x11b)][_0x32db32(0x102)][_0x32db32(0x196)](_0x25c1d1);this[_0x32db32(0x190)](_0x49f1f4,_0x32db32(0x157)+this[_0x32db32(0x1cf)],(_0x4c4770,{session:_0x5b508b})=>{const _0x373d5f=_0x32db32;if(_0x5b508b['id']===_0x49f1f4[_0x373d5f(0x15d)]){_0x4c4770[_0x373d5f(0x201)]();const _0x56074f=this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x176)](_0x373d5f(0x12b))&&this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x196)](_0x373d5f(0x12b));let _0x269b1d=_0x5b508b[_0x373d5f(0x1d5)];_0x56074f&&_0x56074f[_0x373d5f(0x158)]&&(_0x269b1d=_0x269b1d[_0x373d5f(0x10b)](_0xe5e237=>_0x373d5f(0x1bb)!==_0xe5e237)),this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x196)](_0x373d5f(0x19a))[_0x373d5f(0x149)](_0x269b1d,this[_0x373d5f(0x1cf)]);}}),_0x49f1f4[_0x32db32(0x139)](this[_0x32db32(0x1cf)],_0x1a3f0b);}[_0x5252ab(0x133)](){const _0x536a3d=_0x5252ab,_0x5ee156=this[_0x536a3d(0x11b)][_0x536a3d(0x150)][_0x536a3d(0x106)];this[_0x536a3d(0x11b)][_0x536a3d(0x150)][_0x536a3d(0x106)]=(..._0x1b4f94)=>{const _0x38d7e6=_0x536a3d;if(!_0x1b4f94[_0x1b4f94[_0x38d7e6(0x183)]-0x1][_0x38d7e6(0x1de)])throw new _0x25a09c(_0x38d7e6(0x1f1),this);_0x5ee156[_0x38d7e6(0x1bd)](this[_0x38d7e6(0x11b)][_0x38d7e6(0x150)],_0x1b4f94);};}[_0x5252ab(0x13d)](){const _0x4be5a0=_0x5252ab;this[_0x4be5a0(0x11b)][_0x4be5a0(0x150)]['on'](_0x4be5a0(0x14d),(_0x47cd4c,[_0x2cb853])=>{const _0x2171d2=_0x4be5a0;if(this[_0x2171d2(0x138)][_0x2171d2(0x197)])throw new _0x25a09c(_0x2171d2(0x134),this);_0x47cd4c[_0x2171d2(0x123)](),this[_0x2171d2(0x159)]();const _0x445282=this[_0x2171d2(0x11b)][_0x2171d2(0x1b8)][_0x2171d2(0x196)](_0x2171d2(0x1b3)),_0x2f2c63=this[_0x2171d2(0x146)](_0x2cb853,_0x445282);0x0==_0x2f2c63[_0x2171d2(0x183)]&&_0x2f2c63[_0x2171d2(0x1a7)](new _0x40a7c9(0x0)),_0x47cd4c[_0x2171d2(0x142)]=this[_0x2171d2(0x1d0)](_0x2f2c63)[_0x2171d2(0x103)](()=>{const _0x270af9=_0x2171d2;this[_0x270af9(0x11b)][_0x270af9(0x102)][_0x270af9(0x196)](_0x42967a)[_0x270af9(0x11f)](this),this[_0x270af9(0x11b)][_0x270af9(0x150)][_0x270af9(0x1a1)](_0x270af9(0x1b4));})[_0x2171d2(0x129)](_0x54f77a=>this[_0x2171d2(0x1cd)](_0x2171d2(0x117),_0x54f77a))[_0x2171d2(0x1ee)](()=>this[_0x2171d2(0x147)]());},{'priority':_0x4be5a0(0x166)}),this[_0x4be5a0(0x11b)]['on'](_0x4be5a0(0x1f5),async(_0x7beb65,[_0x234a69,_0x5ddd0b])=>{const _0x1b68e6=_0x4be5a0;_0x7beb65[_0x1b68e6(0x123)]();const _0x4ee814=this[_0x1b68e6(0x11b)][_0x1b68e6(0x175)][_0x1b68e6(0x1c4)][_0x1b68e6(0x198)](_0x234a69);if(!this[_0x1b68e6(0x165)][_0x1b68e6(0x176)](_0x234a69)){const _0x34900f=_0x5ddd0b&&_0x5ddd0b[_0x1b68e6(0x150)]?_0x5ddd0b[_0x1b68e6(0x150)]:'',_0x557754=_0x5ddd0b&&_0x5ddd0b[_0x1b68e6(0x186)]?_0x5ddd0b[_0x1b68e6(0x186)]:{};await this[_0x1b68e6(0x1ac)](_0x234a69,_0x34900f,_0x557754);}this[_0x1b68e6(0x11b)][_0x1b68e6(0x175)][_0x1b68e6(0x112)]({'isUndoable':!0x1},()=>{const _0x100063=_0x1b68e6;_0x4ee814[_0x100063(0x1e5)]=!0x0,this[_0x100063(0x11b)][_0x100063(0x175)][_0x100063(0x1c4)][_0x100063(0x17a)][_0x100063(0x1e0)](_0x4ee814);});},{'priority':_0x4be5a0(0x166)});}async[_0x5252ab(0x1a3)](_0x332927){const _0x37699a=_0x5252ab,_0x5f055d=this[_0x37699a(0x11b)][_0x37699a(0x102)][_0x37699a(0x196)](_0x55ae0c),{connection:_0x51f1d2}=this[_0x37699a(0x11b)][_0x37699a(0x102)][_0x37699a(0x196)](_0x42967a),_0x1cccea=new Set();for(const _0x1c8feb of _0x332927){const _0x22d693=_0x1c8feb[_0x37699a(0x1e6)];_0x22d693&&!_0x5f055d[_0x37699a(0x19e)](_0x22d693)&&_0x1cccea[_0x37699a(0x105)](_0x22d693);}if(0x0===_0x1cccea[_0x37699a(0x14c)])return;const _0x115b76=await _0x808d1d[_0x37699a(0x180)](_0x51f1d2,Array[_0x37699a(0x1b6)](_0x1cccea));for(const _0x3415af of _0x115b76)_0x5f055d[_0x37699a(0x19e)](_0x3415af['id'])||_0x5f055d[_0x37699a(0x126)](_0x3415af);}[_0x5252ab(0x146)](_0x26043d,_0x4e68f5={}){const _0x452560=_0x5252ab,_0x2bdef0=this[_0x452560(0x11b)][_0x452560(0x175)],_0x4c069f=[];let _0x232386=0x0;const _0x305c4b=_0x452560(0x167)==typeof _0x26043d?{'main':_0x26043d}:_0x26043d;for(const _0x306c5f of Object[_0x452560(0x194)](_0x305c4b)){if(!this[_0x452560(0x138)][_0x452560(0x121)][_0x452560(0x176)](_0x306c5f))throw new _0x25a09c(_0x452560(0x1ef),this);const _0x30efaf=this[_0x452560(0x11b)][_0x452560(0x150)][_0x452560(0x131)](_0x305c4b[_0x306c5f]),_0x370876=this[_0x452560(0x138)][_0x452560(0x198)](_0x306c5f),_0x34fe84=new _0x1c0880(_0x2bdef0[_0x452560(0x15f)](_0x370876,0x0),_0x30efaf,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x34fe84);for(const [_0x19d649,_0x26b7df]of _0x30efaf[_0x452560(0x151)]){const _0x22ae98=_0x2bdef0[_0x452560(0x137)](_0x2bdef0[_0x452560(0x116)](_0x370876,_0x26b7df[_0x452560(0x11c)][_0x452560(0x1f4)][_0x452560(0x1eb)]()),_0x2bdef0[_0x452560(0x116)](_0x370876,_0x26b7df[_0x452560(0x12a)][_0x452560(0x1f4)][_0x452560(0x1eb)]())),_0x5e72d9=new _0x1061cc(_0x19d649,null,_0x22ae98,_0x2bdef0[_0x452560(0x151)],!0x0,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x5e72d9);}}if(_0x4e68f5)for(const [_0x4500a3,_0xf124c8]of Object[_0x452560(0x205)](_0x4e68f5)){const _0x43ff70=_0x2bdef0[_0x452560(0x1c4)][_0x452560(0x198)](_0x4500a3);if(!_0x43ff70)throw new _0x25a09c(_0x452560(0x10e),null);for(const [_0x5b7f1a,_0x482447]of Object[_0x452560(0x205)](_0xf124c8))if(null!==_0x482447){const _0x362e2a=new _0x573987(_0x43ff70,_0x5b7f1a,null,_0x482447,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x362e2a);}}return _0x4c069f;}async[_0x5252ab(0x1ac)](_0x2c7a4a,_0x55d16c,_0xf6c33e){const _0xc61ef2=_0x5252ab;this[_0xc61ef2(0x146)]({[_0x2c7a4a]:_0x55d16c},{[_0x2c7a4a]:_0xf6c33e})[_0xc61ef2(0x16a)]((_0x2b6c03,_0x2eeaf5)=>{const _0x23af71=_0xc61ef2;_0x2b6c03[_0x23af71(0x10d)]=this[_0x23af71(0x138)][_0x23af71(0x197)]+_0x2eeaf5,_0x2b6c03[_0x23af71(0x177)]=!0x0,this[_0x23af71(0x13a)](_0x2b6c03);}),this[_0xc61ef2(0x11e)](),await this[_0xc61ef2(0x17e)]();}async[_0x5252ab(0x19c)](_0xcf9ee3,_0x15cf17){const _0x3afc15=_0x5252ab;let _0x5cff44;this[_0x3afc15(0x18e)]=_0xcf9ee3[_0x3afc15(0x108)];const _0xf5a850=_0xcf9ee3[_0x3afc15(0x1cb)]&&!_0xcf9ee3[_0x3afc15(0x144)],_0x531ae7=_0xf5a850?0x0:_0xcf9ee3[_0x3afc15(0x150)][_0x3afc15(0x10d)];if(_0x15cf17[_0x3afc15(0x16a)](_0x278c84=>{const _0x52cfdb=_0x3afc15;_0x278c84[_0x52cfdb(0x177)]=!0x0,_0x278c84[_0x52cfdb(0x188)]=_0xcf9ee3[_0x52cfdb(0x12c)],_0x278c84[_0x52cfdb(0x1e6)]=null;}),_0xf5a850)_0x5cff44=_0x15cf17,this[_0x3afc15(0x1f7)](_0x5cff44,_0xf5a850);else{if(_0xcf9ee3[_0x3afc15(0x144)]){const _0x1cff8c=this[_0x3afc15(0x146)](_0xcf9ee3[_0x3afc15(0x144)]);this[_0x3afc15(0x138)][_0x3afc15(0x1c3)][_0x3afc15(0x197)]=-_0x1cff8c[_0x3afc15(0x183)],_0x1cff8c[_0x3afc15(0x16a)](_0x11b12d=>{const _0x2674c4=_0x3afc15;_0x11b12d[_0x2674c4(0x10d)]-=_0x1cff8c[_0x2674c4(0x183)],_0x11b12d[_0x2674c4(0x188)]=_0xcf9ee3[_0x2674c4(0x12c)],_0x11b12d[_0x2674c4(0x177)]=!0x0,_0x11b12d[_0x2674c4(0x1e6)]=null;}),this[_0x3afc15(0x1f7)](_0x1cff8c,!0x0),this[_0x3afc15(0x185)][_0x3afc15(0x197)]=-_0x1cff8c[_0x3afc15(0x183)]+this[_0x3afc15(0x18e)],this[_0x3afc15(0x10c)](_0x1cff8c);}this[_0x3afc15(0x138)][_0x3afc15(0x1c3)][_0x3afc15(0x197)]=_0x531ae7,_0x5cff44=this[_0x3afc15(0x122)](_0xcf9ee3[_0x3afc15(0x150)],_0xcf9ee3[_0x3afc15(0x153)]),await this[_0x3afc15(0x1a3)](_0x5cff44),this[_0x3afc15(0x1f7)](_0x5cff44,_0xf5a850);}_0xcf9ee3[_0x3afc15(0x1f2)]&&(this[_0x3afc15(0x173)][_0x3afc15(0x11a)](_0x5cff44,_0xcf9ee3[_0x3afc15(0x1f2)]),this[_0x3afc15(0x1c2)]=_0xcf9ee3[_0x3afc15(0x1f2)]),this[_0x3afc15(0x185)][_0x3afc15(0x197)]=_0x531ae7+this[_0x3afc15(0x18e)],this[_0x3afc15(0x10c)](_0x5cff44),_0x15cf17[_0x3afc15(0x10b)](_0x3854ed=>{const _0x586bdc=_0x3afc15,_0x5ec232=this[_0x586bdc(0x1f3)](_0x3854ed);return _0x5ec232&&!this[_0x586bdc(0x165)][_0x586bdc(0x176)](_0x5ec232);})[_0x3afc15(0x16a)]((_0x3d05a4,_0x34e6ce)=>{const _0x28706d=_0x3afc15;_0x3d05a4[_0x28706d(0x10d)]=this[_0x28706d(0x138)][_0x28706d(0x197)]+_0x34e6ce,this[_0x28706d(0x13a)](_0x3d05a4);}),this[_0x3afc15(0x1c9)]()?(this[_0x3afc15(0x107)]=0x0,this[_0x3afc15(0x11e)](!0x0),await this[_0x3afc15(0x17e)]()):(this[_0x3afc15(0x1df)]=!0x1,this[_0x3afc15(0x147)]());}[_0x5252ab(0x1cd)](_0x33dcda,_0x4eda05){const _0x39eb7f=_0x5252ab,_0x5c65a7=_0x4eda05&&_0x4eda05[_0x39eb7f(0x1a0)];if(_0x5c65a7&&_0x5c65a7[_0x39eb7f(0x160)](_0x39eb7f(0x110)))throw _0x4eda05;const _0x5d2cc4=this[_0x39eb7f(0x11b)][_0x39eb7f(0x102)][_0x39eb7f(0x196)](_0x42967a);throw this[_0x39eb7f(0x1df)]=!0x0,_0x5d2cc4[_0x39eb7f(0x127)](),this[_0x39eb7f(0x11b)][_0x39eb7f(0x195)](_0x39eb7f(0x1be)),new _0x25a09c(_0x33dcda,this[_0x39eb7f(0x11b)],_0x5c65a7?{'originalError':_0x5c65a7}:void 0x0);}[_0x5252ab(0x13a)](_0x5b9d8e){const _0x469217=_0x5252ab;this[_0x469217(0x1ec)][_0x469217(0x176)](_0x5b9d8e)||(this[_0x469217(0x1ec)][_0x469217(0x105)](_0x5b9d8e),this[_0x469217(0x1dd)][_0x469217(0x1a7)](_0x5b9d8e),this[_0x469217(0x1fa)]||_0x469217(0x18c)==_0x5b9d8e[_0x469217(0x1c5)]&&!_0x5b9d8e[_0x469217(0x1e9)]||this[_0x469217(0x159)]());}[_0x5252ab(0x11e)](_0x1c6419=!0x1){const _0x18172c=_0x5252ab;!_0x1c6419&&this[_0x18172c(0x1df)]||(this[_0x18172c(0x1df)]=!0x0,clearTimeout(this[_0x18172c(0x1e4)]),this[_0x18172c(0x1e4)]=setTimeout(()=>{const _0x5144c2=_0x18172c;this[_0x5144c2(0x120)]()[_0x5144c2(0x103)](_0x241817=>{const _0x39011d=_0x5144c2;_0x241817&&(this[_0x39011d(0x147)](),this[_0x39011d(0x1df)]=!0x1);})[_0x5144c2(0x129)](_0x278c8d=>{const _0x210dc8=_0x5144c2;this[_0x210dc8(0x147)](),this[_0x210dc8(0x1df)]=!0x1,function(_0x210d57){const _0x231f77=_0x210dc8;return _0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x1a4))||_0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x10f))||_0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x15e));}(_0x278c8d)||this[_0x210dc8(0x1cd)](_0x278c8d[_0x210dc8(0x1a0)],_0x278c8d);});},this[_0x18172c(0x107)]));}[_0x5252ab(0x17e)](){return new Promise(_0x1a2b48=>{const _0x410b5a=_0x3ad3;this['on'](_0x410b5a(0x1e8),()=>{_0x1a2b48();});});}async[_0x5252ab(0x120)](){const _0x3f0611=_0x5252ab,_0x290049=this[_0x3f0611(0x11b)][_0x3f0611(0x102)][_0x3f0611(0x196)](_0x31d116);if(this[_0x3f0611(0x1bc)]()&&(_0x290049[_0x3f0611(0x135)](),this[_0x3f0611(0x189)]=!0x1),!this[_0x3f0611(0x1c9)]())return!0x0;const _0x9569ae=[...this[_0x3f0611(0x1dd)]];for(const _0x24982f of _0x9569ae)_0x24982f[_0x3f0611(0x1ad)]=this[_0x3f0611(0x138)][_0x3f0611(0x1c3)][_0x3f0611(0x181)](_0x24982f);const _0x227bad=this[_0x3f0611(0x173)][_0x3f0611(0x14e)](_0x9569ae),_0x4bad79=K++,_0x42ba9d=this[_0x3f0611(0x1ce)](_0x9569ae),_0x4c8456=await this[_0x3f0611(0x115)][_0x3f0611(0x162)](_0x42ba9d,_0x42ba9d[_0x3f0611(0x10d)],_0x227bad);try{return await this[_0x3f0611(0x1af)](_0x9569ae,_0x4c8456,_0x4bad79);}catch(_0x30d98a){return this[_0x3f0611(0x1cd)](_0x3f0611(0x18b),_0x30d98a);}}async[_0x5252ab(0x1af)](_0x2669a6,_0x2897fa,_0x171515){const _0x12e9db=_0x5252ab;if(_0x12e9db(0x11d)in _0x2897fa)throw _0x2897fa[_0x12e9db(0x11d)];let _0x49a3d4=!0x1;if(_0x2897fa[_0x12e9db(0x1cb)]){_0x2897fa[_0x12e9db(0x1f2)]&&(this[_0x12e9db(0x1c2)]=_0x2897fa[_0x12e9db(0x1f2)]),this[_0x12e9db(0x1dd)]=this[_0x12e9db(0x1dd)][_0x12e9db(0x10b)](_0x1db515=>!_0x2669a6[_0x12e9db(0x161)](_0x1db515));for(const _0x589e9c of _0x2669a6)_0x589e9c[_0x12e9db(0x188)]=_0x12e9db(0x148)in _0x2897fa&&_0x2897fa[_0x12e9db(0x148)]||void 0x0;Q(_0x2669a6,_0x2897fa[_0x12e9db(0x197)]-_0x2669a6[_0x12e9db(0x183)]),this[_0x12e9db(0x10c)](_0x2669a6);const _0x57f3b9=_0x2669a6[_0x12e9db(0x10b)](_0x46021e=>{const _0x562d65=_0x12e9db;if(!_0x46021e[_0x562d65(0x177)])return!0x1;const _0x1257fe=this[_0x562d65(0x1f3)](_0x46021e);return _0x1257fe&&!this[_0x562d65(0x165)][_0x562d65(0x176)](_0x1257fe);});Q(_0x57f3b9,this[_0x12e9db(0x138)][_0x12e9db(0x197)]),this[_0x12e9db(0x1f7)](_0x57f3b9),_0x49a3d4=!0x0,this[_0x12e9db(0x107)]=this[_0x12e9db(0x125)];}else{const _0x52d083=this[_0x12e9db(0x122)](_0x2897fa[_0x12e9db(0x150)],_0x2897fa[_0x12e9db(0x153)])[_0x12e9db(0x10b)](_0x3b5acb=>_0x3b5acb[_0x12e9db(0x10d)]>=this[_0x12e9db(0x14a)]);_0x52d083[_0x12e9db(0x16a)](_0x48c0b0=>this[_0x12e9db(0x1d2)](_0x48c0b0)),this[_0x12e9db(0x1dd)]=this[_0x12e9db(0x1dd)][_0x12e9db(0x10b)](_0x2ca2b8=>!_0x2ca2b8[_0x12e9db(0x177)]||!this[_0x12e9db(0x165)][_0x12e9db(0x176)](this[_0x12e9db(0x1f3)](_0x2ca2b8))),this[_0x12e9db(0x1dd)][_0x12e9db(0x183)]&&Q(this[_0x12e9db(0x1dd)],this[_0x12e9db(0x1dd)][0x0][_0x12e9db(0x10d)]),await this[_0x12e9db(0x1a3)](_0x52d083),_0x49a3d4=this[_0x12e9db(0x16d)](_0x52d083,_0x2897fa[_0x12e9db(0x197)],_0x2897fa[_0x12e9db(0x1f2)]),this[_0x12e9db(0x107)]=Math[_0x12e9db(0x16c)](this[_0x12e9db(0x107)]/0x2);}return _0x49a3d4?!this[_0x12e9db(0x1c9)]()||(this[_0x12e9db(0x11e)](!0x0),!0x1):this[_0x12e9db(0x1cd)](_0x12e9db(0x204));}[_0x5252ab(0x16d)](_0x516d2a,_0xe243e9,_0x41c532){const _0x165996=_0x5252ab;try{const _0x532854={'document':this[_0x165996(0x138)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x41be43,operationsB:_0x2d84c8,originalOperations:_0x51498f}=_0x3859c(_0x516d2a,this[_0x165996(0x1dd)],_0x532854);Q(_0x41be43,this[_0x165996(0x138)][_0x165996(0x197)]),Q(_0x2d84c8,_0xe243e9);for(const _0x4137f9 of _0x41be43){const _0x1c5fb4=_0x51498f[_0x165996(0x196)](_0x4137f9);_0x4137f9[_0x165996(0x1e6)]=_0x1c5fb4?_0x1c5fb4[_0x165996(0x1e6)]:null;}_0x41c532&&(this[_0x165996(0x173)][_0x165996(0x11a)](_0x516d2a,_0x41c532),this[_0x165996(0x1c2)]=_0x41c532),this[_0x165996(0x1dd)]=[..._0x2d84c8],this[_0x165996(0x1f7)](_0x41be43),this[_0x165996(0x10c)](_0x516d2a);}catch(_0x891558){return console[_0x165996(0x11d)](_0x891558),!0x1;}return!0x0;}[_0x5252ab(0x1f7)](_0x3fc31d,_0x5decf3=!0x1){const _0x301950=_0x5252ab;this[_0x301950(0x11b)][_0x301950(0x175)][_0x301950(0x112)]({'isUndoable':!0x1,'isLocal':!0x1},_0x106d98=>{const _0x1710d0=_0x301950;for(const _0x5c9f94 of _0x3fc31d)this[_0x1710d0(0x1ec)][_0x1710d0(0x105)](_0x5c9f94),this[_0x1710d0(0x1d2)](_0x5c9f94),_0x106d98[_0x1710d0(0x17c)][_0x1710d0(0x1ca)](_0x5c9f94),this[_0x1710d0(0x11b)][_0x1710d0(0x175)][_0x1710d0(0x19b)](_0x5c9f94);});}[_0x5252ab(0x1d2)](_0x5b69b0){const _0x22a452=_0x5252ab,_0x31feb4=this[_0x22a452(0x1f3)](_0x5b69b0);_0x31feb4&&this[_0x22a452(0x165)][_0x22a452(0x105)](_0x31feb4);}[_0x5252ab(0x1f3)](_0x3bcf53){const _0x3b6130=_0x5252ab;let _0x1a814c,_0x57155;switch(_0x3bcf53[_0x3b6130(0x1c5)]){case _0x3b6130(0x104):_0x1a814c=_0x3bcf53[_0x3b6130(0x13c)][_0x3b6130(0x1dc)];break;case _0x3b6130(0x18c):if(_0x57155=_0x3bcf53[_0x3b6130(0x19d)],!_0x57155)return null;_0x1a814c=_0x57155[_0x3b6130(0x1dc)];break;case _0x3b6130(0x193):_0x1a814c=_0x3bcf53[_0x3b6130(0x1dc)];break;case _0x3b6130(0x199):_0x1a814c=_0x3bcf53[_0x3b6130(0x143)];break;case _0x3b6130(0x1a5):_0x1a814c=_0x3bcf53[_0x3b6130(0x14b)][_0x3b6130(0x1dc)];break;default:return null;}return _0x1a814c[_0x3b6130(0x1c0)];}[_0x5252ab(0x10c)](_0x101005){const _0x1b155b=_0x5252ab;_0x101005[_0x1b155b(0x16a)](_0x36af75=>{const _0x3195b7=_0x1b155b,_0x148920=_0x36af75[_0x3195b7(0x179)]();_0x148920[_0x3195b7(0x1e6)]=_0x36af75[_0x3195b7(0x1e6)],_0x148920[_0x3195b7(0x177)]=!!_0x36af75[_0x3195b7(0x177)],_0x148920[_0x3195b7(0x188)]=_0x36af75[_0x3195b7(0x188)],_0x148920[_0x3195b7(0x10d)]+=this[_0x3195b7(0x18e)],_0x36af75[_0x3195b7(0x15c)]&&this[_0x3195b7(0x18a)][_0x3195b7(0x105)](_0x148920),this[_0x3195b7(0x185)][_0x3195b7(0x1ca)](_0x148920);});}[_0x5252ab(0x200)](_0x59432c){const _0x46142a=_0x5252ab,_0x46c784=this[_0x46142a(0x11b)][_0x46142a(0x102)][_0x46142a(0x196)](_0x46142a(0x19f)),_0x3fe67a=this[_0x46142a(0x11b)][_0x46142a(0x152)];_0x59432c||(_0x59432c=_0x2c0bb1(_0x3fe67a,_0x46142a(0x109))),_0x46c784[_0x46142a(0x1b5)](_0x59432c,{'title':_0x2c0bb1(_0x3fe67a,_0x46142a(0x1f6)),'namespace':_0x46142a(0x1d7)}),this[_0x46142a(0x18f)]=!0x0,clearTimeout(this[_0x46142a(0x1e4)]),this[_0x46142a(0x1dd)]=[],this[_0x46142a(0x11b)][_0x46142a(0x102)][_0x46142a(0x196)](_0x42967a)[_0x46142a(0x127)]();}[_0x5252ab(0x159)](){const _0x5de8c5=_0x5252ab;this[_0x5de8c5(0x1fa)]||(this[_0x5de8c5(0x1fa)]=this[_0x5de8c5(0x11b)][_0x5de8c5(0x102)][_0x5de8c5(0x196)](_0x4e5abd)[_0x5de8c5(0x105)](_0x2c0bb1(this[_0x5de8c5(0x11b)][_0x5de8c5(0x152)],_0x5de8c5(0x16e))));}[_0x5252ab(0x147)](){const _0x3c8f5b=_0x5252ab;this[_0x3c8f5b(0x1fa)]&&(this[_0x3c8f5b(0x11b)][_0x3c8f5b(0x102)][_0x3c8f5b(0x196)](_0x4e5abd)[_0x3c8f5b(0x1b1)](this[_0x3c8f5b(0x1fa)]),this[_0x3c8f5b(0x1fa)]=null);}[_0x5252ab(0x1ce)](_0x26338b){const _0x3bcb87=_0x5252ab,_0x30266e=_0x26338b[_0x3bcb87(0x12f)](_0x1af426=>_0x1af426[_0x3bcb87(0x156)]());return this[_0x3bcb87(0x1c8)][_0x3bcb87(0x1ab)](_0x30266e);}[_0x5252ab(0x122)](_0x5599bb,_0x125060){const _0x27ccf5=_0x5252ab;return this[_0x27ccf5(0x1c8)][_0x27ccf5(0x182)](_0x5599bb)[_0x27ccf5(0x12f)]((_0x43afd8,_0x4d53cf)=>{const _0x14adaf=_0x27ccf5,_0x2b2b30=_0x14adaf(0x14d)==_0x125060[_0x4d53cf][_0x14adaf(0x1c5)];if(_0x14adaf(0x174)==_0x43afd8[_0x14adaf(0x202)]){const _0x34e244=_0x43afd8[_0x14adaf(0x13c)][_0x14adaf(0x1dc)];!this[_0x14adaf(0x138)][_0x14adaf(0x198)](_0x34e244)&&(this[_0x14adaf(0x138)][_0x14adaf(0x17b)](_0x14adaf(0x168),_0x34e244)[_0x14adaf(0x1d8)]=!0x1);}const _0x31a6b8=_0x2588b0[_0x14adaf(0x12e)](_0x43afd8,this[_0x14adaf(0x138)]);return _0x31a6b8[_0x14adaf(0x1ad)]=_0x43afd8[_0x14adaf(0x1ad)],_0x31a6b8[_0x14adaf(0x177)]=_0x2b2b30,_0x31a6b8[_0x14adaf(0x1e6)]=_0x2b2b30?null:_0x125060[_0x4d53cf][_0x14adaf(0x17d)],_0x31a6b8[_0x14adaf(0x15c)]=_0x14adaf(0x155)===_0x125060[_0x4d53cf][_0x14adaf(0x1c5)],_0x31a6b8[_0x14adaf(0x188)]=_0x125060[_0x4d53cf][_0x14adaf(0x188)],_0x31a6b8;});}[_0x5252ab(0x132)](){const _0x48c7ae=_0x5252ab;this[_0x48c7ae(0x189)]=!0x0,this[_0x48c7ae(0x1bc)]()?this[_0x48c7ae(0x11e)]():this[_0x48c7ae(0x189)]=!0x1;}[_0x5252ab(0x1bc)](){const _0x4d2556=_0x5252ab,_0x24bfc2=this[_0x4d2556(0x11b)][_0x4d2556(0x102)][_0x4d2556(0x196)](_0x25c1d1)[_0x4d2556(0x12d)][_0x4d2556(0x196)](this[_0x4d2556(0x1cf)]);return!this[_0x4d2556(0x11b)][_0x4d2556(0x1e2)]&&!!_0x24bfc2&&_0x24bfc2[_0x4d2556(0x183)]>0x1&&this[_0x4d2556(0x189)];}[_0x5252ab(0x1c9)](){const _0x347824=_0x5252ab;return this[_0x347824(0x1dd)][_0x347824(0x183)]>0x0||this[_0x347824(0x1bc)]();}}class J extends Error{}function Q(_0x23f7a5,_0x59d08d){const _0x101996=_0x5252ab;for(const _0x3ecfc1 of _0x23f7a5)_0x3ecfc1[_0x101996(0x10d)]=_0x59d08d++;}class X{[_0x5252ab(0x1a9)];[_0x5252ab(0x17f)];constructor(_0x20453f){const _0x40ff42=_0x5252ab;this[_0x40ff42(0x1a9)]=_0x20453f,this[_0x40ff42(0x17f)]=new WeakMap();}[_0x5252ab(0x14e)](_0x46673a){const _0x11d3c9=_0x5252ab;let _0x25d230=_0x46673a[_0x11d3c9(0x183)];for(;_0x25d230--;){const _0x18e357=_0x46673a[_0x25d230];if(!this[_0x11d3c9(0x1a9)][_0x11d3c9(0x176)](_0x18e357)){if(!this[_0x11d3c9(0x17f)][_0x11d3c9(0x176)](_0x18e357)){const _0x2363de=_0x4c800a()[_0x11d3c9(0x1eb)](0x1,0x12);this[_0x11d3c9(0x17f)][_0x11d3c9(0x106)](_0x18e357,_0x2363de);}return this[_0x11d3c9(0x17f)][_0x11d3c9(0x196)](_0x18e357);}}}[_0x5252ab(0x11a)](_0x19f3c5,_0x4c436a){const _0x2ac55d=_0x5252ab;if(!_0x4c436a)return;let _0x8f4748=_0x19f3c5[_0x2ac55d(0x183)];for(;_0x8f4748--;){const _0x428f77=_0x19f3c5[_0x8f4748];this[_0x2ac55d(0x1a9)][_0x2ac55d(0x176)](_0x428f77)||this[_0x2ac55d(0x17f)][_0x2ac55d(0x106)](_0x428f77,_0x4c436a);}}}
|
|
23
|
+
const _0x3e676d=_0x16ad;(function(_0x11fcb9,_0x5d15c7){const _0x1b34f1=_0x16ad,_0x595a65=_0x11fcb9();while(!![]){try{const _0x12f60a=parseInt(_0x1b34f1(0x147))/0x1+parseInt(_0x1b34f1(0xfa))/0x2+-parseInt(_0x1b34f1(0x100))/0x3+parseInt(_0x1b34f1(0x12e))/0x4+parseInt(_0x1b34f1(0x1d2))/0x5+parseInt(_0x1b34f1(0x16b))/0x6+parseInt(_0x1b34f1(0x1e5))/0x7*(parseInt(_0x1b34f1(0x151))/0x8);if(_0x12f60a===_0x5d15c7)break;else _0x595a65['push'](_0x595a65['shift']());}catch(_0x306871){_0x595a65['push'](_0x595a65['shift']());}}}(_0x577d,0x2489d));import{Plugin as _0x1e19db,PendingActions as _0x2e23c2}from'ckeditor5/src/core.js';import{CKEditorError as _0x49fa3b,version as _0x3b727f,uid as _0x182e2c}from'ckeditor5/src/utils.js';import{Notification as _0x4f5eea}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4a555e,NoOperation as _0x27e38f,InsertOperation as _0x53d1c3,MarkerOperation as _0x4fa8bc,RootAttributeOperation as _0x725b45,OperationFactory as _0xdbfab6,History as _0x53c737}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x46d954}from'./websocketgateway.js';import{Sessions as _0x19bfc9}from'./sessions.js';import{UserMarkers as _0x16c185}from'./usermarkers.js';import{getTranslation as _0x39755b}from'../common-translations.js';import{Compressor as _0x442e7b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2a2d9c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2c333a,CollaborativeEditingService as _0x4b126a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x577d(){const _0x300f9b=['operationsReceived','pluginName','bind','permissions','state','root','45480OerKhL','404','getDocumentDetails','realtimecollaborationclient','_applyOperationsSet','history','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sessionId','_fetchMissingUsers','move','_handleServerResponse','isPremiumPlugin','_isEditingAllowed','directChange','listenTo','lastSyncVersion','error','setPermissions','_initThrowingOnDataSet','position','_handleReceivedOperations','batch','_compressOperations','_loadRoot','_compressor','rtc-offline','push','_hasSynchronizationProblem','cs:removeUser','_crash','CollaborativeEditingService','selection','connected','stop','_document','_operationToId','_updateServerHistory','reconnection:\x20flushed\x20session','keys','init','addOperation','forEach','_hasSelectionChanged','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.','stopListening','off','editor','markers','_handleSendingSelectionMarkers','__className','_handleInitialConnectionData','toJSON','userId','attributes','suppressErrorInCollaboration','serverHistory','config','_pendingAction','disconnect','slice','isOfficialPlugin','then','_saveOperationInBuffer','createRoot','document:write','newRange','message','_bufferedOperations','loadRoot','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','PENDING_ACTION_SENDING_DATA','get','cloud-services-internal-error:\x20Request\x20timeout.','isEnabled','isDocumentOperation','view','Synchronization\x20issue','_lastServerVersion','_clearPendingAction','getIdOfTheLastOperation','realtimecollaborationclient-init-service-incorrect-server-operation','createdAt','targetPosition','RealTimeCollaborationClient','sendOperations','marker','collaboration','_isInit','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getMany','initData','locale','data','ready','_operationIdentifier','multi-root-editor-root-attributes-no-root','offset','_getAffectedRoot','start','409','model','_channelId','baseVersion','917080aPmsKp','compress','return','type','set','realtimecollaborationclient-handleserverresponse','metadata','_decompressOperations','realtimecollaborationclient-error','lastOperationId','mySessionId','plugins','_baseBufferDelay','real-time-collaboration','addRootAttribute','editing','_knownOperations','isReadOnly','size','7FSOMvd','reset','getRoot','_refreshUserSelectionMarkers','Permissions','wasUndone','addRoot','getConnectedSessions','map','disconnected','setIdForTheLastOperation','connect','finally','_disconnectionOperations','roots','rootsAttributes','string','_initSessionsHandling','_isAttached','insert','_connectAfterSessionHasBeenFlushed','version','createRange','document','fromJSON','141346yBLGEt','rtc-destroyed','has','fire','showWarning','addUser','799356AaFjed','rootName','_bufferRootLoad','_shouldSendSelectionUpdate','_isDisconnection','requires','CommentsOnly','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.','lastDocumentSession','change:_isPendingUpdate','round','createPositionAt','_handleReconnectionError','isUndoneOperation','_lastSyncedOperationId','_ignoredOperations','includes','entries','reconnect','sessionAdd:','filter','realtimecollaborationclient-init-service-internal-error','decompress','realtimecollaborationclient-init-non-existent-root','wereChangesApplied','from','channelSessions','getOperations','_setPendingAction','_authorId','unregister','_waitUntilSynced','InsertOperation','end','affectsData','realtimecollaborationclient-sendbufferedoperations','code','change:range','cloudServices.bundleVersion','_setUpDataInit','createPositionFromPath','differ','_isPendingUpdate','length','collaboration.channelId','realtimecollaborationclient-init-session-connection-error','477932KGACIp','_sendBufferedOperationsDelayId','startsWith','getOperationAuthor','define','_knownRootNames','_disconnectService','_sendBufferedOperations','_isConnected','getUser','sessionCreatedAt','currentDocumentSession','lastOperationAcceptedAt','high','Notification','_service','removeFromReconnectionStack','connection','change:_isEditingAllowed','destroy','_offset','enableReadOnlyMode','_isLoaded','addToReconnectionStack','register','15346TPZGEf','cloud-services-internal-error:\x20Not\x20connected.','_sendBufferedOperationsDelayed','collaboration-missing-channelid','parse','_handleReconnectionResponse','remove','_getOperationsFromInitData','createUserMarkerOperations','_shouldSendUpdate','156920phbpuK','_addKnownRoot','_currentBufferDelay','change:hasDomSelection','path','realtimecollaborationclient-init-document-already-initialized','_handleExternalOperations','applyOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectService','realtimecollaborationclient-init-connection-failed','$root','add','disableReadOnlyMode','affectedSelectable','enqueueChange','cloudDocumentVersion','catch','apply','clone'];_0x577d=function(){return _0x300f9b;};return _0x577d();}export class RealTimeCollaborationClient extends _0x1e19db{static [_0x3e676d(0x189)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4b126a)());[_0x3e676d(0x142)];[_0x3e676d(0x172)];[_0x3e676d(0x1a2)];[_0x3e676d(0x1d0)];[_0x3e676d(0x13d)];[_0x3e676d(0x18d)];[_0x3e676d(0x183)];[_0x3e676d(0x1ae)];[_0x3e676d(0x1e2)];[_0x3e676d(0x133)];[_0x3e676d(0x1a4)];[_0x3e676d(0x195)];[_0x3e676d(0x12f)];[_0x3e676d(0x1de)];[_0x3e676d(0x153)];[_0x3e676d(0x10e)];[_0x3e676d(0x1f2)];[_0x3e676d(0x1c9)];static get[_0x3e676d(0x105)](){return[_0x46d954,_0x19bfc9,_0x16c185,_0x2e23c2,_0x2a2d9c,_0x4f5eea];}static get[_0x3e676d(0x166)](){const _0x5b4e49=_0x3e676d;return _0x5b4e49(0x1be);}static get[_0x3e676d(0x1a7)](){return!0x0;}static get[_0x3e676d(0x176)](){return!0x0;}get[_0x3e676d(0x161)](){const _0x53afb4=_0x3e676d;return this[_0x53afb4(0x1b8)]+this[_0x53afb4(0x142)];}get[_0x3e676d(0x1b8)](){const _0x41b03f=_0x3e676d;return this[_0x41b03f(0x1a2)][_0x41b03f(0xf6)]-this[_0x41b03f(0x142)];}get[_0x3e676d(0x17a)](){const _0x11a4e2=_0x3e676d,_0x1d3f40=this[_0x11a4e2(0x1a2)][_0x11a4e2(0x11b)]();for(let _0x16c9b4=_0x1d3f40[_0x11a4e2(0x12b)]-0x1;_0x16c9b4>=0x0;_0x16c9b4--){const _0x1d77f7=_0x1d3f40[_0x16c9b4];if(!this[_0x11a4e2(0x1f2)][_0x11a4e2(0xfc)](_0x1d77f7))return _0x1d77f7[_0x11a4e2(0x1d1)]+0x1-this[_0x11a4e2(0x142)];}return 0x0;}constructor(_0x531108){const _0x4e362b=_0x3e676d;if(super(_0x531108),this[_0x4e362b(0x142)]=0x0,this[_0x4e362b(0x172)]=null,this[_0x4e362b(0x1a2)]=new _0x53c737(),this[_0x4e362b(0x199)][_0x4e362b(0x1a3)][_0x4e362b(0x132)](_0x4e362b(0x1c1),{}),this[_0x4e362b(0x1d0)]=this[_0x4e362b(0x199)][_0x4e362b(0x1a3)][_0x4e362b(0x1b2)](_0x4e362b(0x12c)),!this[_0x4e362b(0x1d0)])throw new _0x49fa3b(_0x4e362b(0x14a),this);const _0x544895=_0x531108[_0x4e362b(0x1a3)][_0x4e362b(0x1b2)](_0x4e362b(0x126))||_0x3b727f;this[_0x4e362b(0x13d)]=new RealTimeCollaborationClient[(_0x4e362b(0x189))](_0x544895,this[_0x4e362b(0x1d0)]),this[_0x4e362b(0x18d)]=this[_0x4e362b(0x199)][_0x4e362b(0x1cf)][_0x4e362b(0xf8)],this[_0x4e362b(0x183)]=new _0x442e7b(),this[_0x4e362b(0x1ae)]=[],this[_0x4e362b(0x1e2)]=new WeakSet(),this[_0x4e362b(0x133)]=new Set(),this[_0x4e362b(0x1d6)](_0x4e362b(0x12a),!0x1),this[_0x4e362b(0x1d6)](_0x4e362b(0x186),!0x1),this[_0x4e362b(0x1a4)]=null,this[_0x4e362b(0x195)]=!0x1,this[_0x4e362b(0x12f)]=null,this[_0x4e362b(0x1de)]=0x12c,this[_0x4e362b(0x153)]=this[_0x4e362b(0x1de)],this[_0x4e362b(0x10e)]=null,this[_0x4e362b(0x1f2)]=new WeakSet(),this[_0x4e362b(0x1c9)]=new Z(this[_0x4e362b(0x1f2)]);}[_0x3e676d(0x192)](){const _0x291b29=_0x3e676d,_0x3bfb71=this[_0x291b29(0x199)],_0x272e6a=_0x3bfb71[_0x291b29(0x1dd)][_0x291b29(0x1b2)](_0x2a2d9c),_0x58cf2c=_0x3bfb71[_0x291b29(0x1dd)][_0x291b29(0x1b2)](_0x46d954);this[_0x291b29(0x179)](_0x272e6a,_0x291b29(0x131),(_0x298832,_0x233272)=>{const _0x250580=_0x291b29,_0x5bf32a=_0x233272[0x0];_0x5bf32a[_0x250580(0x11d)]&&(_0x298832[_0x250580(0x1d4)]=_0x272e6a[_0x250580(0x137)](_0x5bf32a[_0x250580(0x11d)]),_0x298832[_0x250580(0x18c)]()),null===_0x5bf32a[_0x250580(0x11d)]&&(_0x298832[_0x250580(0x1d4)]=null,_0x298832[_0x250580(0x18c)]());},{'priority':_0x291b29(0x13b)}),this[_0x291b29(0x179)](_0x3bfb71[_0x291b29(0x1cf)][_0x291b29(0xf8)][_0x291b29(0x18a)],_0x291b29(0x125),(_0x1177d9,_0x16faf6)=>{const _0x378976=_0x291b29;_0x16faf6[_0x378976(0x178)]&&this[_0x378976(0x1e8)]();}),this[_0x291b29(0x179)](_0x3bfb71[_0x291b29(0x1e1)][_0x291b29(0x1b6)],_0x291b29(0x154),()=>{const _0x3574a5=_0x291b29;this[_0x3574a5(0x1e8)]();}),this[_0x291b29(0x17d)](),_0x3bfb71[_0x291b29(0x1cf)]['on'](_0x291b29(0x158),(_0x10743f,_0x3efc04)=>{const _0x39afeb=_0x291b29,_0x58f13f=_0x3efc04[0x0];_0x58f13f[_0x39afeb(0x1b5)]&&(this[_0x39afeb(0x1a9)](_0x58f13f),this[_0x39afeb(0x150)]()&&this[_0x39afeb(0x149)]());}),this[_0x291b29(0x127)](),this[_0x291b29(0x167)](_0x291b29(0x177))['to'](_0x58cf2c,_0x291b29(0x169),this,_0x291b29(0x186),(_0x1613fb,_0x2f555b)=>_0x291b29(0x18b)===_0x1613fb&&!_0x2f555b),this['on'](_0x291b29(0x140),()=>{const _0x958c5a=_0x291b29;this[_0x958c5a(0x177)]?_0x3bfb71[_0x958c5a(0x15e)](_0x958c5a(0x184)):_0x3bfb71[_0x958c5a(0x143)](_0x958c5a(0x184));}),this[_0x291b29(0x177)]?_0x3bfb71[_0x291b29(0x15e)](_0x291b29(0x184)):_0x3bfb71[_0x291b29(0x143)](_0x291b29(0x184)),this[_0x291b29(0x1d6)](_0x291b29(0x136),!0x1);}async[_0x3e676d(0x112)](){const _0x11669a=_0x3e676d,_0x27b0fd=this[_0x11669a(0x199)][_0x11669a(0x1dd)][_0x11669a(0x1b2)](_0x19bfc9),_0x27e7cf=this[_0x11669a(0x199)][_0x11669a(0x1dd)][_0x11669a(0x1b2)](_0x46d954);try{this[_0x11669a(0x12a)]=!0x0,_0x27b0fd[_0x11669a(0x11e)](this[_0x11669a(0x1d0)]);const _0xfa6fb=await this[_0x11669a(0x13d)][_0x11669a(0x112)](_0x27e7cf[_0x11669a(0x13f)],this[_0x11669a(0x17a)]);await this[_0x11669a(0x14c)](_0xfa6fb)&&(this[_0x11669a(0x12a)]=!0x1,this[_0x11669a(0x1b9)]());const _0x9f1d52=await this[_0x11669a(0x13d)][_0x11669a(0x1ec)]();_0x27b0fd[_0x11669a(0x146)](this[_0x11669a(0x1d0)],_0x9f1d52),this[_0x11669a(0x19b)](),this[_0x11669a(0x136)]=!0x0;}catch(_0x2f19ee){if(function(_0x1ca3ad){const _0x40fb50=_0x11669a;return _0x40fb50(0x16c)===_0x1ca3ad[_0x40fb50(0x124)];}(_0x2f19ee)&&this[_0x11669a(0x172)])await this[_0x11669a(0xf5)]();else{if(function(_0x45ba32){const _0x28333d=_0x11669a;return _0x28333d(0x1ce)===_0x45ba32[_0x28333d(0x124)];}(_0x2f19ee)){const _0x1749c1=_0x39755b(this[_0x11669a(0x199)][_0x11669a(0x1c6)],_0x11669a(0x171));this[_0x11669a(0x10c)](_0x1749c1);}else{if(!(_0x2f19ee instanceof X))throw _0x2f19ee;this[_0x11669a(0x10c)]();}}}}[_0x3e676d(0x141)](){const _0x56ee4b=_0x3e676d,_0x59bc77=this[_0x56ee4b(0x199)][_0x56ee4b(0x1dd)][_0x56ee4b(0x1b2)](_0x46d954),_0x1cbf5d=this[_0x56ee4b(0x199)][_0x56ee4b(0x1dd)][_0x56ee4b(0x1b2)](_0x19bfc9);this[_0x56ee4b(0x199)][_0x56ee4b(0x143)](_0x56ee4b(0xfb)),_0x1cbf5d[_0x56ee4b(0x11a)][_0x56ee4b(0xfc)](this[_0x56ee4b(0x1d0)])&&_0x1cbf5d[_0x56ee4b(0x11e)](this[_0x56ee4b(0x1d0)]),_0x59bc77[_0x56ee4b(0x13e)](this),this[_0x56ee4b(0x134)](),super[_0x56ee4b(0x141)]();}async[_0x3e676d(0x14c)](_0x22464b){const _0x4630fc=_0x3e676d;if(this[_0x4630fc(0x172)]!==_0x22464b[_0x4630fc(0x172)]&&this[_0x4630fc(0x10e)]!==_0x22464b[_0x4630fc(0x1db)])throw new X();return this[_0x4630fc(0x172)]=_0x22464b[_0x4630fc(0x172)],this[_0x4630fc(0x175)]([],{..._0x22464b,'wereChangesApplied':!0x1,'data':_0x22464b[_0x4630fc(0x1c7)]},_0x4630fc(0x112));}async[_0x3e676d(0x15a)](_0x3417f4,_0x25d6a0=!0x1){const _0x1a5eb1=_0x3e676d,{connection:_0x383337}=this[_0x1a5eb1(0x199)][_0x1a5eb1(0x1dd)][_0x1a5eb1(0x1b2)](_0x46d954);RealTimeCollaborationClient[_0x1a5eb1(0x189)][_0x1a5eb1(0x1ec)](_0x383337,this[_0x1a5eb1(0x1d0)])[_0x1a5eb1(0x1a8)](_0x1768b1=>this[_0x1a5eb1(0xf2)](_0x1768b1))[_0x1a5eb1(0x162)](_0x268ce9=>{const _0x37fbee=_0x1a5eb1;this[_0x37fbee(0x188)](_0x37fbee(0x12d),_0x268ce9);}),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x165),this[_0x1a5eb1(0x17f)][_0x1a5eb1(0x167)](this)),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x17b),(_0x4ad8ba,_0x247683)=>{const _0x21a6b2=_0x1a5eb1;this[_0x21a6b2(0x188)](_0x21a6b2(0x115),_0x247683);}),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x1ee),()=>{const _0x4b3ad1=_0x1a5eb1;this[_0x4b3ad1(0x136)]=!0x1;});const _0x19c3d9=this[_0x1a5eb1(0x1c9)][_0x1a5eb1(0x1ba)](_0x3417f4);this[_0x1a5eb1(0x12a)]=!0x0;const _0x104049=await this[_0x1a5eb1(0x13d)][_0x1a5eb1(0x1f0)](_0x383337,this[_0x1a5eb1(0x181)](_0x3417f4),_0x19c3d9);if(this[_0x1a5eb1(0x172)]=_0x104049[_0x1a5eb1(0x172)],_0x25d6a0){if(!_0x104049[_0x1a5eb1(0x118)])return void this[_0x1a5eb1(0x10c)]();this[_0x1a5eb1(0x12a)]=!0x1,this[_0x1a5eb1(0x1b9)](),this[_0x1a5eb1(0x1a2)][_0x1a5eb1(0x1e6)](),this[_0x1a5eb1(0x142)]=_0x104049[_0x1a5eb1(0x1cb)],this[_0x1a5eb1(0x1a2)][_0x1a5eb1(0xf6)]=this[_0x1a5eb1(0x142)],await this[_0x1a5eb1(0x175)](_0x3417f4,_0x104049,_0x1a5eb1(0x190));}else await this[_0x1a5eb1(0x19d)](_0x104049,_0x3417f4);this[_0x1a5eb1(0x19b)](),this[_0x1a5eb1(0x136)]=!0x0;}[_0x3e676d(0x19b)](){const _0x144c5f=_0x3e676d,_0x414ef3=this[_0x144c5f(0x199)][_0x144c5f(0x1dd)][_0x144c5f(0x1b2)](_0x19bfc9),_0x1b28c1=this[_0x144c5f(0x199)][_0x144c5f(0x1dd)][_0x144c5f(0x1b2)](_0x16c185),_0x41ac45=_0x414ef3[_0x144c5f(0x11a)][_0x144c5f(0x1b2)](this[_0x144c5f(0x1d0)]);_0x41ac45&&_0x41ac45[_0x144c5f(0x12b)]>0x1?_0x1b28c1[_0x144c5f(0x14f)]():this[_0x144c5f(0x179)](_0x414ef3,_0x144c5f(0x113)+this[_0x144c5f(0x1d0)],()=>{const _0x4f77fe=_0x144c5f;0x2===_0x414ef3[_0x4f77fe(0x11a)][_0x4f77fe(0x1b2)](this[_0x4f77fe(0x1d0)])[_0x4f77fe(0x12b)]&&_0x1b28c1[_0x4f77fe(0x14f)]();});}async[_0x3e676d(0x17f)](_0x20d424,_0x1c9f0a,_0x5e7cb6,_0x55a266){const _0x5b8791=_0x3e676d;if(!this[_0x5b8791(0x12a)]&&this[_0x5b8791(0x18d)][_0x5b8791(0xf6)]==_0x1c9f0a){const _0x26f981=this[_0x5b8791(0x1d9)](_0x5e7cb6,_0x55a266);await this[_0x5b8791(0x173)](_0x26f981),this[_0x5b8791(0x157)](_0x26f981,_0x1c9f0a,_0x5e7cb6[_0x5b8791(0x1db)])||this[_0x5b8791(0x188)](_0x5b8791(0x1bb));}}async[_0x3e676d(0xf5)](){const _0x1fa275=_0x3e676d;this[_0x1fa275(0x134)]();const {locale:_0x49d075}=this[_0x1fa275(0x199)];let _0xb76c87;try{_0xb76c87=await this[_0x1fa275(0x13d)][_0x1fa275(0x16d)]();}catch{const _0x3ef3b4=_0x39755b(_0x49d075,_0x1fa275(0x159));return void this[_0x1fa275(0x10c)](_0x3ef3b4);}const _0x233f69=_0xb76c87[_0x1fa275(0x139)]||_0xb76c87[_0x1fa275(0x108)];if(this[_0x1fa275(0x10e)]!==_0x233f69[_0x1fa275(0x1db)]){const _0x22011e=_0x39755b(_0x49d075,_0x1fa275(0x107));return void this[_0x1fa275(0x10c)](_0x22011e);}await this[_0x1fa275(0x15a)](this[_0x1fa275(0x199)][_0x1fa275(0x1cf)][_0x1fa275(0xf8)][_0x1fa275(0x170)][_0x1fa275(0x11b)](),!0x0);}[_0x3e676d(0x134)](){const _0x3648bf=_0x3e676d;this[_0x3648bf(0x13d)][_0x3648bf(0x1a5)](),this[_0x3648bf(0x1ae)]=[],clearTimeout(this[_0x3648bf(0x12f)]),this[_0x3648bf(0x197)](this[_0x3648bf(0x13d)]);}[_0x3e676d(0xf2)](_0x99e3b1){const _0x10ed75=_0x3e676d,_0x5b21bc=this[_0x10ed75(0x199)][_0x10ed75(0x1dd)][_0x10ed75(0x1b2)](_0x19bfc9);this[_0x10ed75(0x179)](_0x5b21bc,_0x10ed75(0x113)+this[_0x10ed75(0x1d0)],(_0x3e05a0,{session:_0x4dcbb3})=>{const _0x211b16=_0x10ed75;if(_0x4dcbb3['id']===_0x5b21bc[_0x211b16(0x1dc)]){_0x3e05a0[_0x211b16(0x198)]();const _0x1604b7=this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0xfc)](_0x211b16(0x106))&&this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0x1b2)](_0x211b16(0x106));let _0x16990d=_0x4dcbb3[_0x211b16(0x168)];_0x1604b7&&_0x1604b7[_0x211b16(0x1b4)]&&(_0x16990d=_0x16990d[_0x211b16(0x114)](_0x43a9d9=>_0x211b16(0x1ab)!==_0x43a9d9)),this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0x1b2)](_0x211b16(0x1e9))[_0x211b16(0x17c)](_0x16990d,this[_0x211b16(0x1d0)]);}}),_0x5b21bc[_0x10ed75(0x146)](this[_0x10ed75(0x1d0)],_0x99e3b1);}[_0x3e676d(0x17d)](){const _0x4e80b6=_0x3e676d,_0x52e42b=this[_0x4e80b6(0x199)][_0x4e80b6(0x1c7)][_0x4e80b6(0x1d6)];this[_0x4e80b6(0x199)][_0x4e80b6(0x1c7)][_0x4e80b6(0x1d6)]=(..._0x4628d1)=>{const _0x6d3389=_0x4e80b6;if(!_0x4628d1[_0x4628d1[_0x6d3389(0x12b)]-0x1][_0x6d3389(0x1a1)])throw new _0x49fa3b(_0x6d3389(0x1b0),this);_0x52e42b[_0x6d3389(0x163)](this[_0x6d3389(0x199)][_0x6d3389(0x1c7)],_0x4628d1);};}[_0x3e676d(0x127)](){const _0x1264b2=_0x3e676d;this[_0x1264b2(0x199)][_0x1264b2(0x1c7)]['on'](_0x1264b2(0x192),(_0x4aebf0,[_0x33158c])=>{const _0x60847c=_0x1264b2;if(this[_0x60847c(0x18d)][_0x60847c(0xf6)])throw new _0x49fa3b(_0x60847c(0x156),this);_0x4aebf0[_0x60847c(0x18c)](),this[_0x60847c(0x11c)]();const _0xa8d96e=this[_0x60847c(0x199)][_0x60847c(0x1a3)][_0x60847c(0x1b2)](_0x60847c(0x1f4)),_0x4d3792=this[_0x60847c(0x14e)](_0x33158c,_0xa8d96e);0x0==_0x4d3792[_0x60847c(0x12b)]&&_0x4d3792[_0x60847c(0x185)](new _0x27e38f(0x0)),_0x4aebf0[_0x60847c(0x1d4)]=this[_0x60847c(0x15a)](_0x4d3792)[_0x60847c(0x1a8)](()=>{const _0x48c9ce=_0x60847c;this[_0x48c9ce(0x199)][_0x48c9ce(0x1dd)][_0x48c9ce(0x1b2)](_0x46d954)[_0x48c9ce(0x145)](this),this[_0x48c9ce(0x199)][_0x48c9ce(0x1c7)][_0x48c9ce(0xfd)](_0x48c9ce(0x1c8));})[_0x60847c(0x162)](_0x536cc5=>this[_0x60847c(0x188)](_0x60847c(0x15b),_0x536cc5))[_0x60847c(0x1f1)](()=>this[_0x60847c(0x1b9)]());},{'priority':_0x1264b2(0x13b)}),this[_0x1264b2(0x199)]['on'](_0x1264b2(0x1af),async(_0x3c7b8c,[_0x432d3d,_0x10d8a5])=>{const _0x513260=_0x1264b2;_0x3c7b8c[_0x513260(0x18c)]();const _0x16790c=this[_0x513260(0x199)][_0x513260(0x1cf)][_0x513260(0xf8)][_0x513260(0x1e7)](_0x432d3d);if(!this[_0x513260(0x133)][_0x513260(0xfc)](_0x432d3d)){const _0xe99029=_0x10d8a5&&_0x10d8a5[_0x513260(0x1c7)]?_0x10d8a5[_0x513260(0x1c7)]:'',_0x16d2ae=_0x10d8a5&&_0x10d8a5[_0x513260(0x1a0)]?_0x10d8a5[_0x513260(0x1a0)]:{};await this[_0x513260(0x182)](_0x432d3d,_0xe99029,_0x16d2ae);}this[_0x513260(0x199)][_0x513260(0x1cf)][_0x513260(0x160)]({'isUndoable':!0x1},()=>{const _0x6eb88a=_0x513260;_0x16790c[_0x6eb88a(0x144)]=!0x0,this[_0x6eb88a(0x199)][_0x6eb88a(0x1cf)][_0x6eb88a(0xf8)][_0x6eb88a(0x129)][_0x6eb88a(0x102)](_0x16790c);});},{'priority':_0x1264b2(0x13b)});}async[_0x3e676d(0x173)](_0x3c6283){const _0x3235d7=_0x3e676d,_0x1b20c3=this[_0x3235d7(0x199)][_0x3235d7(0x1dd)][_0x3235d7(0x1b2)](_0x2a2d9c),{connection:_0x579abd}=this[_0x3235d7(0x199)][_0x3235d7(0x1dd)][_0x3235d7(0x1b2)](_0x46d954),_0x4e052b=new Set();for(const _0x3d001e of _0x3c6283){const _0x116c67=_0x3d001e[_0x3235d7(0x11d)];_0x116c67&&!_0x1b20c3[_0x3235d7(0x137)](_0x116c67)&&_0x4e052b[_0x3235d7(0x15d)](_0x116c67);}if(0x0===_0x4e052b[_0x3235d7(0x1e4)])return;const _0x4f8f9a=await _0x2c333a[_0x3235d7(0x1c4)](_0x579abd,Array[_0x3235d7(0x119)](_0x4e052b));for(const _0x315bb4 of _0x4f8f9a)_0x1b20c3[_0x3235d7(0x137)](_0x315bb4['id'])||_0x1b20c3[_0x3235d7(0xff)](_0x315bb4);}[_0x3e676d(0x14e)](_0x351609,_0x4f78b3={}){const _0x565c31=_0x3e676d,_0x2d55f7=this[_0x565c31(0x199)][_0x565c31(0x1cf)],_0x408341=[];let _0x23ba42=0x0;const _0x1e9540=_0x565c31(0xf1)==typeof _0x351609?{'main':_0x351609}:_0x351609;for(const _0x2d8c75 of Object[_0x565c31(0x191)](_0x1e9540)){if(!this[_0x565c31(0x18d)][_0x565c31(0x1f3)][_0x565c31(0xfc)](_0x2d8c75))throw new _0x49fa3b(_0x565c31(0x117),this);const _0x344d59=this[_0x565c31(0x199)][_0x565c31(0x1c7)][_0x565c31(0x14b)](_0x1e9540[_0x2d8c75]),_0x328ed0=this[_0x565c31(0x18d)][_0x565c31(0x1e7)](_0x2d8c75),_0x42f07b=new _0x53d1c3(_0x2d55f7[_0x565c31(0x10b)](_0x328ed0,0x0),_0x344d59,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0x42f07b);for(const [_0x3997a5,_0x54a107]of _0x344d59[_0x565c31(0x19a)]){const _0xb966c5=_0x2d55f7[_0x565c31(0xf7)](_0x2d55f7[_0x565c31(0x128)](_0x328ed0,_0x54a107[_0x565c31(0x1cd)][_0x565c31(0x155)][_0x565c31(0x1a6)]()),_0x2d55f7[_0x565c31(0x128)](_0x328ed0,_0x54a107[_0x565c31(0x121)][_0x565c31(0x155)][_0x565c31(0x1a6)]())),_0x23eeac=new _0x4fa8bc(_0x3997a5,null,_0xb966c5,_0x2d55f7[_0x565c31(0x19a)],!0x0,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0x23eeac);}}if(_0x4f78b3)for(const [_0x324679,_0x1e1a1f]of Object[_0x565c31(0x111)](_0x4f78b3)){const _0x4c6bc9=_0x2d55f7[_0x565c31(0xf8)][_0x565c31(0x1e7)](_0x324679);if(!_0x4c6bc9)throw new _0x49fa3b(_0x565c31(0x1ca),null);for(const [_0x2df6c6,_0x35be7a]of Object[_0x565c31(0x111)](_0x1e1a1f))if(null!==_0x35be7a){const _0xb0457a=new _0x725b45(_0x4c6bc9,_0x2df6c6,null,_0x35be7a,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0xb0457a);}}return _0x408341;}async[_0x3e676d(0x182)](_0x1be60f,_0x2cd54e,_0x3ba9ed){const _0x4c4969=_0x3e676d;this[_0x4c4969(0x14e)]({[_0x1be60f]:_0x2cd54e},{[_0x1be60f]:_0x3ba9ed})[_0x4c4969(0x194)]((_0x42fd26,_0x2eeeeb)=>{const _0x2e7e67=_0x4c4969;_0x42fd26[_0x2e7e67(0x1d1)]=this[_0x2e7e67(0x18d)][_0x2e7e67(0xf6)]+_0x2eeeeb,_0x42fd26[_0x2e7e67(0x1c2)]=!0x0,this[_0x2e7e67(0x1a9)](_0x42fd26);}),this[_0x4c4969(0x149)](),await this[_0x4c4969(0x11f)]();}async[_0x3e676d(0x19d)](_0x1f662e,_0x352cee){const _0x1fd809=_0x3e676d;let _0x2333ba;this[_0x1fd809(0x142)]=_0x1f662e[_0x1fd809(0x1cb)];const _0x52da65=_0x1f662e[_0x1fd809(0x118)]&&!_0x1f662e[_0x1fd809(0x1c5)],_0x32ccb9=_0x52da65?0x0:_0x1f662e[_0x1fd809(0x1c7)][_0x1fd809(0x1d1)];if(_0x352cee[_0x1fd809(0x194)](_0x30e2e2=>{const _0x2f47c8=_0x1fd809;_0x30e2e2[_0x2f47c8(0x1c2)]=!0x0,_0x30e2e2[_0x2f47c8(0x1bc)]=_0x1f662e[_0x2f47c8(0x138)],_0x30e2e2[_0x2f47c8(0x11d)]=null;}),_0x52da65)_0x2333ba=_0x352cee,this[_0x1fd809(0x16f)](_0x2333ba,_0x52da65);else{if(_0x1f662e[_0x1fd809(0x1c5)]){const _0x1d82a7=this[_0x1fd809(0x14e)](_0x1f662e[_0x1fd809(0x1c5)]);this[_0x1fd809(0x18d)][_0x1fd809(0x170)][_0x1fd809(0xf6)]=-_0x1d82a7[_0x1fd809(0x12b)],_0x1d82a7[_0x1fd809(0x194)](_0x5e2dad=>{const _0x2c277c=_0x1fd809;_0x5e2dad[_0x2c277c(0x1d1)]-=_0x1d82a7[_0x2c277c(0x12b)],_0x5e2dad[_0x2c277c(0x1bc)]=_0x1f662e[_0x2c277c(0x138)],_0x5e2dad[_0x2c277c(0x1c2)]=!0x0,_0x5e2dad[_0x2c277c(0x11d)]=null;}),this[_0x1fd809(0x16f)](_0x1d82a7,!0x0),this[_0x1fd809(0x1a2)][_0x1fd809(0xf6)]=-_0x1d82a7[_0x1fd809(0x12b)]+this[_0x1fd809(0x142)],this[_0x1fd809(0x18f)](_0x1d82a7);}this[_0x1fd809(0x18d)][_0x1fd809(0x170)][_0x1fd809(0xf6)]=_0x32ccb9,_0x2333ba=this[_0x1fd809(0x1d9)](_0x1f662e[_0x1fd809(0x1c7)],_0x1f662e[_0x1fd809(0x1d8)]),await this[_0x1fd809(0x173)](_0x2333ba),this[_0x1fd809(0x16f)](_0x2333ba,_0x52da65);}_0x1f662e[_0x1fd809(0x1db)]&&(this[_0x1fd809(0x1c9)][_0x1fd809(0x1ef)](_0x2333ba,_0x1f662e[_0x1fd809(0x1db)]),this[_0x1fd809(0x10e)]=_0x1f662e[_0x1fd809(0x1db)]),this[_0x1fd809(0x1a2)][_0x1fd809(0xf6)]=_0x32ccb9+this[_0x1fd809(0x142)],this[_0x1fd809(0x18f)](_0x2333ba),_0x352cee[_0x1fd809(0x114)](_0x1f9309=>{const _0x3faf3b=_0x1fd809,_0x1fb407=this[_0x3faf3b(0x1cc)](_0x1f9309);return _0x1fb407&&!this[_0x3faf3b(0x133)][_0x3faf3b(0xfc)](_0x1fb407);})[_0x1fd809(0x194)]((_0x4479cf,_0x395990)=>{const _0xf32cd0=_0x1fd809;_0x4479cf[_0xf32cd0(0x1d1)]=this[_0xf32cd0(0x18d)][_0xf32cd0(0xf6)]+_0x395990,this[_0xf32cd0(0x1a9)](_0x4479cf);}),this[_0x1fd809(0x150)]()?(this[_0x1fd809(0x153)]=0x0,this[_0x1fd809(0x149)](!0x0),await this[_0x1fd809(0x11f)]()):(this[_0x1fd809(0x12a)]=!0x1,this[_0x1fd809(0x1b9)]());}[_0x3e676d(0x188)](_0x3a33d8,_0x270e51){const _0x49ca69=_0x3e676d,_0x2bbdd9=_0x270e51&&_0x270e51[_0x49ca69(0x1ad)];if(_0x2bbdd9&&_0x2bbdd9[_0x49ca69(0x130)](_0x49ca69(0x16e)))throw _0x270e51;const _0x6a14df=this[_0x49ca69(0x199)][_0x49ca69(0x1dd)][_0x49ca69(0x1b2)](_0x46d954);throw this[_0x49ca69(0x12a)]=!0x0,_0x6a14df[_0x49ca69(0x1a5)](),this[_0x49ca69(0x199)][_0x49ca69(0x143)](_0x49ca69(0x1da)),new _0x49fa3b(_0x3a33d8,this[_0x49ca69(0x199)],_0x2bbdd9?{'originalError':_0x2bbdd9}:void 0x0);}[_0x3e676d(0x1a9)](_0x44a09b){const _0x2c2eae=_0x3e676d;this[_0x2c2eae(0x1e2)][_0x2c2eae(0xfc)](_0x44a09b)||(this[_0x2c2eae(0x1e2)][_0x2c2eae(0x15d)](_0x44a09b),this[_0x2c2eae(0x1ae)][_0x2c2eae(0x185)](_0x44a09b),this[_0x2c2eae(0x1a4)]||_0x2c2eae(0x1c0)==_0x44a09b[_0x2c2eae(0x1d5)]&&!_0x44a09b[_0x2c2eae(0x122)]||this[_0x2c2eae(0x11c)]());}[_0x3e676d(0x149)](_0x563637=!0x1){const _0x369111=_0x3e676d;!_0x563637&&this[_0x369111(0x12a)]||(this[_0x369111(0x12a)]=!0x0,clearTimeout(this[_0x369111(0x12f)]),this[_0x369111(0x12f)]=setTimeout(()=>{const _0x3e1a4d=_0x369111;this[_0x3e1a4d(0x135)]()[_0x3e1a4d(0x1a8)](_0x1e45f5=>{const _0x2ba2fb=_0x3e1a4d;_0x1e45f5&&(this[_0x2ba2fb(0x1b9)](),this[_0x2ba2fb(0x12a)]=!0x1);})[_0x3e1a4d(0x162)](_0x3e1a3d=>{const _0x15594a=_0x3e1a4d;this[_0x15594a(0x1b9)](),this[_0x15594a(0x12a)]=!0x1,function(_0x47e442){const _0x47d52a=_0x15594a;return _0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x148))||_0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x1c3))||_0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x1b3));}(_0x3e1a3d)||this[_0x15594a(0x188)](_0x3e1a3d[_0x15594a(0x1ad)],_0x3e1a3d);});},this[_0x369111(0x153)]));}[_0x3e676d(0x11f)](){return new Promise(_0x2850c1=>{const _0x6bdff=_0x16ad;this['on'](_0x6bdff(0x109),()=>{_0x2850c1();});});}async[_0x3e676d(0x135)](){const _0x179e36=_0x3e676d,_0x5b0ec2=this[_0x179e36(0x199)][_0x179e36(0x1dd)][_0x179e36(0x1b2)](_0x16c185);if(this[_0x179e36(0x103)]()&&(_0x5b0ec2[_0x179e36(0x14f)](),this[_0x179e36(0x195)]=!0x1),!this[_0x179e36(0x150)]())return!0x0;const _0x10e6f8=[...this[_0x179e36(0x1ae)]];for(const _0x1105d3 of _0x10e6f8)_0x1105d3[_0x179e36(0x1ea)]=this[_0x179e36(0x18d)][_0x179e36(0x170)][_0x179e36(0x10d)](_0x1105d3);const _0x3c9e6e=this[_0x179e36(0x1c9)][_0x179e36(0x1ba)](_0x10e6f8),_0x28ae23=Q++,_0x4c3cdc=this[_0x179e36(0x181)](_0x10e6f8),_0x3f748a=await this[_0x179e36(0x13d)][_0x179e36(0x1bf)](_0x4c3cdc,_0x4c3cdc[_0x179e36(0x1d1)],_0x3c9e6e);try{return await this[_0x179e36(0x175)](_0x10e6f8,_0x3f748a,_0x28ae23);}catch(_0x5627c6){return this[_0x179e36(0x188)](_0x179e36(0x123),_0x5627c6);}}async[_0x3e676d(0x175)](_0x3ef044,_0x2bcf0e,_0x88588a){const _0x44bc69=_0x3e676d;if(_0x44bc69(0x17b)in _0x2bcf0e)throw _0x2bcf0e[_0x44bc69(0x17b)];let _0x53da9e=!0x1;if(_0x2bcf0e[_0x44bc69(0x118)]){_0x2bcf0e[_0x44bc69(0x1db)]&&(this[_0x44bc69(0x10e)]=_0x2bcf0e[_0x44bc69(0x1db)]),this[_0x44bc69(0x1ae)]=this[_0x44bc69(0x1ae)][_0x44bc69(0x114)](_0x220689=>!_0x3ef044[_0x44bc69(0x110)](_0x220689));for(const _0x27f78f of _0x3ef044)_0x27f78f[_0x44bc69(0x1bc)]=_0x44bc69(0x13a)in _0x2bcf0e&&_0x2bcf0e[_0x44bc69(0x13a)]||void 0x0;Y(_0x3ef044,_0x2bcf0e[_0x44bc69(0xf6)]-_0x3ef044[_0x44bc69(0x12b)]),this[_0x44bc69(0x18f)](_0x3ef044);const _0x200728=_0x3ef044[_0x44bc69(0x114)](_0x2ac4f6=>{const _0x17222a=_0x44bc69;if(!_0x2ac4f6[_0x17222a(0x1c2)])return!0x1;const _0x181e82=this[_0x17222a(0x1cc)](_0x2ac4f6);return _0x181e82&&!this[_0x17222a(0x133)][_0x17222a(0xfc)](_0x181e82);});Y(_0x200728,this[_0x44bc69(0x18d)][_0x44bc69(0xf6)]),this[_0x44bc69(0x16f)](_0x200728),_0x53da9e=!0x0,this[_0x44bc69(0x153)]=this[_0x44bc69(0x1de)];}else{const _0x529f7b=this[_0x44bc69(0x1d9)](_0x2bcf0e[_0x44bc69(0x1c7)],_0x2bcf0e[_0x44bc69(0x1d8)])[_0x44bc69(0x114)](_0x4b4951=>_0x4b4951[_0x44bc69(0x1d1)]>=this[_0x44bc69(0x1b8)]);_0x529f7b[_0x44bc69(0x194)](_0x2c267f=>this[_0x44bc69(0x152)](_0x2c267f)),this[_0x44bc69(0x1ae)]=this[_0x44bc69(0x1ae)][_0x44bc69(0x114)](_0x3aa1d8=>!_0x3aa1d8[_0x44bc69(0x1c2)]||!this[_0x44bc69(0x133)][_0x44bc69(0xfc)](this[_0x44bc69(0x1cc)](_0x3aa1d8))),this[_0x44bc69(0x1ae)][_0x44bc69(0x12b)]&&Y(this[_0x44bc69(0x1ae)],this[_0x44bc69(0x1ae)][0x0][_0x44bc69(0x1d1)]),await this[_0x44bc69(0x173)](_0x529f7b),_0x53da9e=this[_0x44bc69(0x157)](_0x529f7b,_0x2bcf0e[_0x44bc69(0xf6)],_0x2bcf0e[_0x44bc69(0x1db)]),this[_0x44bc69(0x153)]=Math[_0x44bc69(0x10a)](this[_0x44bc69(0x153)]/0x2);}return _0x53da9e?!this[_0x44bc69(0x150)]()||(this[_0x44bc69(0x149)](!0x0),!0x1):this[_0x44bc69(0x188)](_0x44bc69(0x1d7));}[_0x3e676d(0x157)](_0xb64061,_0x2b23a6,_0x2ae67d){const _0x32ba25=_0x3e676d;try{const _0x3730b7={'document':this[_0x32ba25(0x18d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x7d811c,operationsB:_0x1841e3,originalOperations:_0xfbbd08}=_0x4a555e(_0xb64061,this[_0x32ba25(0x1ae)],_0x3730b7);Y(_0x7d811c,this[_0x32ba25(0x18d)][_0x32ba25(0xf6)]),Y(_0x1841e3,_0x2b23a6);for(const _0x25511e of _0x7d811c){const _0x12f262=_0xfbbd08[_0x32ba25(0x1b2)](_0x25511e);_0x25511e[_0x32ba25(0x11d)]=_0x12f262?_0x12f262[_0x32ba25(0x11d)]:null;}_0x2ae67d&&(this[_0x32ba25(0x1c9)][_0x32ba25(0x1ef)](_0xb64061,_0x2ae67d),this[_0x32ba25(0x10e)]=_0x2ae67d),this[_0x32ba25(0x1ae)]=[..._0x1841e3],this[_0x32ba25(0x16f)](_0x7d811c),this[_0x32ba25(0x18f)](_0xb64061);}catch(_0xd861c7){return console[_0x32ba25(0x17b)](_0xd861c7),!0x1;}return!0x0;}[_0x3e676d(0x16f)](_0x36f5e8,_0x475a1a=!0x1){const _0x52aeaa=_0x3e676d;this[_0x52aeaa(0x199)][_0x52aeaa(0x1cf)][_0x52aeaa(0x160)]({'isUndoable':!0x1,'isLocal':!0x1},_0x33f304=>{const _0x5bb777=_0x52aeaa;for(const _0x1a45c7 of _0x36f5e8)this[_0x5bb777(0x1e2)][_0x5bb777(0x15d)](_0x1a45c7),this[_0x5bb777(0x152)](_0x1a45c7),_0x33f304[_0x5bb777(0x180)][_0x5bb777(0x193)](_0x1a45c7),this[_0x5bb777(0x199)][_0x5bb777(0x1cf)][_0x5bb777(0x158)](_0x1a45c7);});}[_0x3e676d(0x152)](_0x43acfb){const _0x4b1375=_0x3e676d,_0x3a37bc=this[_0x4b1375(0x1cc)](_0x43acfb);_0x3a37bc&&this[_0x4b1375(0x133)][_0x4b1375(0x15d)](_0x3a37bc);}[_0x3e676d(0x1cc)](_0x286e83){const _0x3f30ae=_0x3e676d;let _0x27a19e,_0x1d733f;switch(_0x286e83[_0x3f30ae(0x1d5)]){case _0x3f30ae(0xf4):_0x27a19e=_0x286e83[_0x3f30ae(0x17e)][_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1c0):if(_0x1d733f=_0x286e83[_0x3f30ae(0x1ac)],!_0x1d733f)return null;_0x27a19e=_0x1d733f[_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1e0):_0x27a19e=_0x286e83[_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1eb):_0x27a19e=_0x286e83[_0x3f30ae(0x15f)];break;case _0x3f30ae(0x174):_0x27a19e=_0x286e83[_0x3f30ae(0x1bd)][_0x3f30ae(0x16a)];break;default:return null;}return _0x27a19e[_0x3f30ae(0x101)];}[_0x3e676d(0x18f)](_0x1520f0){const _0x3dc8d6=_0x3e676d;_0x1520f0[_0x3dc8d6(0x194)](_0x21651c=>{const _0x12cfb1=_0x3dc8d6,_0x5a18c=_0x21651c[_0x12cfb1(0x164)]();_0x5a18c[_0x12cfb1(0x11d)]=_0x21651c[_0x12cfb1(0x11d)],_0x5a18c[_0x12cfb1(0x1c2)]=!!_0x21651c[_0x12cfb1(0x1c2)],_0x5a18c[_0x12cfb1(0x1bc)]=_0x21651c[_0x12cfb1(0x1bc)],_0x5a18c[_0x12cfb1(0x1d1)]+=this[_0x12cfb1(0x142)],_0x21651c[_0x12cfb1(0x104)]&&this[_0x12cfb1(0x1f2)][_0x12cfb1(0x15d)](_0x5a18c),this[_0x12cfb1(0x1a2)][_0x12cfb1(0x193)](_0x5a18c);});}[_0x3e676d(0x10c)](_0x3356e7){const _0x10c941=_0x3e676d,_0xce7920=this[_0x10c941(0x199)][_0x10c941(0x1dd)][_0x10c941(0x1b2)](_0x10c941(0x13c)),_0x1ea029=this[_0x10c941(0x199)][_0x10c941(0x1c6)];_0x3356e7||(_0x3356e7=_0x39755b(_0x1ea029,_0x10c941(0x196))),_0xce7920[_0x10c941(0xfe)](_0x3356e7,{'title':_0x39755b(_0x1ea029,_0x10c941(0x1b7)),'namespace':_0x10c941(0x1df)}),this[_0x10c941(0x186)]=!0x0,clearTimeout(this[_0x10c941(0x12f)]),this[_0x10c941(0x1ae)]=[],this[_0x10c941(0x199)][_0x10c941(0x1dd)][_0x10c941(0x1b2)](_0x46d954)[_0x10c941(0x1a5)]();}[_0x3e676d(0x11c)](){const _0x2dc561=_0x3e676d;this[_0x2dc561(0x1a4)]||(this[_0x2dc561(0x1a4)]=this[_0x2dc561(0x199)][_0x2dc561(0x1dd)][_0x2dc561(0x1b2)](_0x2e23c2)[_0x2dc561(0x15d)](_0x39755b(this[_0x2dc561(0x199)][_0x2dc561(0x1c6)],_0x2dc561(0x1b1))));}[_0x3e676d(0x1b9)](){const _0x6c4e4c=_0x3e676d;this[_0x6c4e4c(0x1a4)]&&(this[_0x6c4e4c(0x199)][_0x6c4e4c(0x1dd)][_0x6c4e4c(0x1b2)](_0x2e23c2)[_0x6c4e4c(0x14d)](this[_0x6c4e4c(0x1a4)]),this[_0x6c4e4c(0x1a4)]=null);}[_0x3e676d(0x181)](_0x46a33a){const _0x2f4618=_0x3e676d,_0x4eb7fe=_0x46a33a[_0x2f4618(0x1ed)](_0x7e98b0=>_0x7e98b0[_0x2f4618(0x19e)]());return this[_0x2f4618(0x183)][_0x2f4618(0x1d3)](_0x4eb7fe);}[_0x3e676d(0x1d9)](_0x14bc62,_0x67b09a){const _0x1b05bc=_0x3e676d;return this[_0x1b05bc(0x183)][_0x1b05bc(0x116)](_0x14bc62)[_0x1b05bc(0x1ed)]((_0x1f3220,_0x456d1e)=>{const _0x59174d=_0x1b05bc,_0x1a9630=_0x59174d(0x192)==_0x67b09a[_0x456d1e][_0x59174d(0x1d5)];if(_0x59174d(0x120)==_0x1f3220[_0x59174d(0x19c)]){const _0x35a5c3=_0x1f3220[_0x59174d(0x17e)][_0x59174d(0x16a)];!this[_0x59174d(0x18d)][_0x59174d(0x1e7)](_0x35a5c3)&&(this[_0x59174d(0x18d)][_0x59174d(0x1aa)](_0x59174d(0x15c),_0x35a5c3)[_0x59174d(0xf3)]=!0x1);}const _0x24e0d9=_0xdbfab6[_0x59174d(0xf9)](_0x1f3220,this[_0x59174d(0x18d)]);return _0x24e0d9[_0x59174d(0x1ea)]=_0x1f3220[_0x59174d(0x1ea)],_0x24e0d9[_0x59174d(0x1c2)]=_0x1a9630,_0x24e0d9[_0x59174d(0x11d)]=_0x1a9630?null:_0x67b09a[_0x456d1e][_0x59174d(0x19f)],_0x24e0d9[_0x59174d(0x104)]=_0x59174d(0x187)===_0x67b09a[_0x456d1e][_0x59174d(0x1d5)],_0x24e0d9[_0x59174d(0x1bc)]=_0x67b09a[_0x456d1e][_0x59174d(0x1bc)],_0x24e0d9;});}[_0x3e676d(0x1e8)](){const _0x474b8b=_0x3e676d;this[_0x474b8b(0x195)]=!0x0,this[_0x474b8b(0x103)]()?this[_0x474b8b(0x149)]():this[_0x474b8b(0x195)]=!0x1;}[_0x3e676d(0x103)](){const _0x4f6ccf=_0x3e676d,_0x5a2f95=this[_0x4f6ccf(0x199)][_0x4f6ccf(0x1dd)][_0x4f6ccf(0x1b2)](_0x19bfc9)[_0x4f6ccf(0x11a)][_0x4f6ccf(0x1b2)](this[_0x4f6ccf(0x1d0)]);return!this[_0x4f6ccf(0x199)][_0x4f6ccf(0x1e3)]&&!!_0x5a2f95&&_0x5a2f95[_0x4f6ccf(0x12b)]>0x1&&this[_0x4f6ccf(0x195)];}[_0x3e676d(0x150)](){const _0x21d0ca=_0x3e676d;return this[_0x21d0ca(0x1ae)][_0x21d0ca(0x12b)]>0x0||this[_0x21d0ca(0x103)]();}}class X extends Error{}function _0x16ad(_0x3ebd7c,_0x30df53){const _0x577d75=_0x577d();return _0x16ad=function(_0x16ad18,_0x1cb20){_0x16ad18=_0x16ad18-0xf1;let _0x32ff40=_0x577d75[_0x16ad18];return _0x32ff40;},_0x16ad(_0x3ebd7c,_0x30df53);}function Y(_0x1a21f1,_0x33a344){const _0x1800b0=_0x3e676d;for(const _0x5bb53c of _0x1a21f1)_0x5bb53c[_0x1800b0(0x1d1)]=_0x33a344++;}class Z{[_0x3e676d(0x10f)];[_0x3e676d(0x18e)];constructor(_0x3cc574){const _0x15d9a9=_0x3e676d;this[_0x15d9a9(0x10f)]=_0x3cc574,this[_0x15d9a9(0x18e)]=new WeakMap();}[_0x3e676d(0x1ba)](_0x4114e7){const _0x5eace6=_0x3e676d;let _0x30969d=_0x4114e7[_0x5eace6(0x12b)];for(;_0x30969d--;){const _0x3a72ed=_0x4114e7[_0x30969d];if(!this[_0x5eace6(0x10f)][_0x5eace6(0xfc)](_0x3a72ed)){if(!this[_0x5eace6(0x18e)][_0x5eace6(0xfc)](_0x3a72ed)){const _0x3f7505=_0x182e2c()[_0x5eace6(0x1a6)](0x1,0x12);this[_0x5eace6(0x18e)][_0x5eace6(0x1d6)](_0x3a72ed,_0x3f7505);}return this[_0x5eace6(0x18e)][_0x5eace6(0x1b2)](_0x3a72ed);}}}[_0x3e676d(0x1ef)](_0x18aad9,_0x29dd9a){const _0x47329d=_0x3e676d;if(!_0x29dd9a)return;let _0x4687f2=_0x18aad9[_0x47329d(0x12b)];for(;_0x4687f2--;){const _0xa4d508=_0x18aad9[_0x4687f2];this[_0x47329d(0x10f)][_0x47329d(0xfc)](_0xa4d508)||this[_0x47329d(0x18e)][_0x47329d(0x1d6)](_0xa4d508,_0x29dd9a);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e8eae=_0x5032;function _0x5032(_0xa09d69,_0x32afde){const _0x3de738=_0x3de7();return _0x5032=function(_0x503212,_0x3fb92b){_0x503212=_0x503212-0x1c6;let _0x4b468f=_0x3de738[_0x503212];return _0x4b468f;},_0x5032(_0xa09d69,_0x32afde);}(function(_0xebe44a,_0x58fe9d){const _0x230aad=_0x5032,_0x273eef=_0xebe44a();while(!![]){try{const _0x46fa01=-parseInt(_0x230aad(0x1fc))/0x1+-parseInt(_0x230aad(0x1d5))/0x2+parseInt(_0x230aad(0x1ec))/0x3*(-parseInt(_0x230aad(0x1f0))/0x4)+parseInt(_0x230aad(0x1ca))/0x5+-parseInt(_0x230aad(0x1de))/0x6+-parseInt(_0x230aad(0x1c6))/0x7*(-parseInt(_0x230aad(0x1c8))/0x8)+parseInt(_0x230aad(0x1f6))/0x9*(parseInt(_0x230aad(0x1c7))/0xa);if(_0x46fa01===_0x58fe9d)break;else _0x273eef['push'](_0x273eef['shift']());}catch(_0x4fb727){_0x273eef['push'](_0x273eef['shift']());}}}(_0x3de7,0xc2d86));import{ContextPlugin as _0x202012}from'ckeditor5/src/core.js';import{Collection as _0x488783,CKEditorError as _0x1191e5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x621787}from'./websocketgateway.js';import{Users as _0x420da4}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x202012{[_0x2e8eae(0x1d8)];[_0x2e8eae(0x1e0)];[_0x2e8eae(0x1eb)];[_0x2e8eae(0x1e3)];[_0x2e8eae(0x1da)];[_0x2e8eae(0x1e1)];static get[_0x2e8eae(0x1ce)](){const _0x253c88=_0x2e8eae;return _0x253c88(0x1ff);}static get[_0x2e8eae(0x1ed)](){return!0x0;}static get[_0x2e8eae(0x1e5)](){return!0x0;}static get[_0x2e8eae(0x202)](){return[_0x621787,_0x420da4];}constructor(_0x305213){const _0x1ae289=_0x2e8eae;super(_0x305213),this[_0x1ae289(0x1d8)]=new Map(),this[_0x1ae289(0x1e0)]=new Map(),this[_0x1ae289(0x1eb)]=new _0x488783(),this[_0x1ae289(0x1e3)]=new Map(),this[_0x1ae289(0x1da)]=0x0,this[_0x1ae289(0x1e1)]=this[_0x1ae289(0x1ee)][_0x1ae289(0x1d3)][_0x1ae289(0x1f3)](_0x420da4);}[_0x2e8eae(0x1fd)](){const _0x2046ad=_0x2e8eae,_0x31dcbc=this[_0x2046ad(0x1ee)][_0x2046ad(0x1d3)][_0x2046ad(0x1f3)](_0x621787);this[_0x2046ad(0x1e6)](_0x31dcbc,_0x2046ad(0x1d4),(_0x80d61a,_0x27c6ab,_0x5541ca)=>{const _0xeb76e7=_0x2046ad;if(_0xeb76e7(0x1fe)!==_0x5541ca)this[_0xeb76e7(0x1d8)][_0xeb76e7(0x1d9)](_0x22f426=>_0x22f426[_0xeb76e7(0x1f8)]()),this[_0xeb76e7(0x1e0)][_0xeb76e7(0x1d9)](_0x24325e=>_0x24325e[_0xeb76e7(0x1f8)]()),this[_0xeb76e7(0x1eb)][_0xeb76e7(0x1f8)]();else{for(const [_0x4dd13a,_0x2e6142]of this[_0xeb76e7(0x1e3)])for(const _0x3dff7c of _0x2e6142)this[_0xeb76e7(0x1d2)](_0x4dd13a,_0x3dff7c);}}),this[_0x2046ad(0x1df)](_0x31dcbc[_0x2046ad(0x1d7)]['me'],!0x0);}[_0x2e8eae(0x1d1)](_0x61b905,_0xfc97c0){const _0x2ccfd3=_0x2e8eae;if(this[_0x2ccfd3(0x1e3)][_0x2ccfd3(0x1ef)](_0x61b905))throw new _0x1191e5(_0x2ccfd3(0x1f4),null,{'channelId':_0x61b905});this[_0x2ccfd3(0x1e3)][_0x2ccfd3(0x1e4)](_0x61b905,_0xfc97c0),this[_0x2ccfd3(0x1d8)][_0x2ccfd3(0x1e4)](_0x61b905,new _0x488783()),this[_0x2ccfd3(0x1e0)][_0x2ccfd3(0x1e4)](_0x61b905,new _0x488783()),this[_0x2ccfd3(0x1e6)](_0xfc97c0,_0x2ccfd3(0x1fb),(_0x387c3d,_0x2a1a2c)=>this[_0x2ccfd3(0x1d2)](_0x61b905,_0x2a1a2c)),this[_0x2ccfd3(0x1e6)](_0xfc97c0,_0x2ccfd3(0x1cc),(_0x40ceff,_0x19123b)=>this[_0x2ccfd3(0x1cf)](_0x61b905,_0x19123b));for(const _0x3ecaec of _0xfc97c0)this[_0x2ccfd3(0x1d2)](_0x61b905,_0x3ecaec);}[_0x2e8eae(0x1d0)](_0x4edb6c){const _0x58cebc=_0x2e8eae;if(!this[_0x58cebc(0x1e3)][_0x58cebc(0x1ef)](_0x4edb6c))throw new _0x1191e5(_0x58cebc(0x1c9),null,{'channelId':_0x4edb6c});const _0x1982b6=this[_0x58cebc(0x1e3)][_0x58cebc(0x1f3)](_0x4edb6c);this[_0x58cebc(0x1fa)](_0x1982b6);for(const _0x1c046e of _0x1982b6)_0x58cebc(0x1fe)===this[_0x58cebc(0x1ee)][_0x58cebc(0x1d3)][_0x58cebc(0x1f3)](_0x621787)[_0x58cebc(0x1e7)]&&this[_0x58cebc(0x1cf)](_0x4edb6c,_0x1c046e);this[_0x58cebc(0x1e3)][_0x58cebc(0x1dc)](_0x4edb6c),this[_0x58cebc(0x1d8)][_0x58cebc(0x1dc)](_0x4edb6c),this[_0x58cebc(0x1e0)][_0x58cebc(0x1dc)](_0x4edb6c);}get[_0x2e8eae(0x1e9)](){const _0x27a05d=_0x2e8eae;return this[_0x27a05d(0x1ee)][_0x27a05d(0x1d3)][_0x27a05d(0x1f3)](_0x621787)[_0x27a05d(0x1d7)][_0x27a05d(0x1f2)];}[_0x2e8eae(0x1db)](_0x2646aa){const _0x1792b8=_0x2e8eae;for(const _0x185649 of this[_0x1792b8(0x1d8)][_0x1792b8(0x204)]())for(const _0x14c15a of _0x185649)if(_0x14c15a['id']===_0x2646aa)return _0x14c15a[_0x1792b8(0x1f7)];}[_0x2e8eae(0x1dd)](_0x42ac28,_0x2f7434){const _0x3536dc=_0x2e8eae,_0x233ed3=_0x2f7434?[this[_0x3536dc(0x1d8)][_0x3536dc(0x1f3)](_0x2f7434)]:this[_0x3536dc(0x1d8)][_0x3536dc(0x204)](),_0x22b999=new Set();for(const _0x2e9758 of _0x233ed3)for(const _0x4aa4a1 of _0x2e9758)_0x4aa4a1[_0x3536dc(0x1f7)]['id']===_0x42ac28['id']&&_0x22b999[_0x3536dc(0x1fb)](_0x4aa4a1['id']);return _0x22b999;}[_0x2e8eae(0x1cd)](_0x4fdf12){const _0x3ff0cd=_0x2e8eae;for(const _0x19bf21 of this[_0x3ff0cd(0x1d8)][_0x3ff0cd(0x204)]())for(const _0x5f793 of _0x19bf21)if(_0x5f793[_0x3ff0cd(0x1f7)]===_0x4fdf12)return _0x5f793[_0x3ff0cd(0x1ea)];}[_0x2e8eae(0x1d2)](_0x3717ec,_0x2145b2){const _0x4f6973=_0x2e8eae;if(_0x4f6973(0x1fe)!==this[_0x4f6973(0x1ee)][_0x4f6973(0x1d3)][_0x4f6973(0x1f3)](_0x621787)[_0x4f6973(0x1e7)])return;const _0x3b2953=_0x2145b2[_0x4f6973(0x1f7)],_0x4d01ff=this[_0x4f6973(0x1e1)][_0x4f6973(0x1f1)](_0x3b2953['id'])||this[_0x4f6973(0x1df)](_0x3b2953),_0x376cdc=Object[_0x4f6973(0x1e2)]({},_0x2145b2,{'user':_0x4d01ff});if(this[_0x4f6973(0x1d8)][_0x4f6973(0x1f3)](_0x3717ec)[_0x4f6973(0x1fb)](_0x376cdc),!_0x3b2953[_0x4f6973(0x203)]){const _0x3a22bb=this[_0x4f6973(0x1e0)][_0x4f6973(0x1f3)](_0x3717ec);_0x3a22bb[_0x4f6973(0x1ef)](_0x4d01ff['id'])||_0x3a22bb[_0x4f6973(0x1fb)](_0x4d01ff),this[_0x4f6973(0x1eb)][_0x4f6973(0x1ef)](_0x4d01ff['id'])||_0x3b2953[_0x4f6973(0x203)]||this[_0x4f6973(0x1eb)][_0x4f6973(0x1fb)](_0x4d01ff,_0x4d01ff[_0x4f6973(0x201)]?0x0:void 0x0);}this[_0x4f6973(0x200)](_0x4f6973(0x1d6)+_0x3717ec,{'channelId':_0x3717ec,'session':_0x376cdc});}[_0x2e8eae(0x1cf)](_0x64543f,_0x38194c){const _0x301bd2=_0x2e8eae;if(_0x301bd2(0x1fe)!==this[_0x301bd2(0x1ee)][_0x301bd2(0x1d3)][_0x301bd2(0x1f3)](_0x621787)[_0x301bd2(0x1e7)])return;const _0x2b4715=this[_0x301bd2(0x1e0)][_0x301bd2(0x1f3)](_0x64543f),_0x9000c9=_0x38194c[_0x301bd2(0x1f7)];_0x9000c9['id']&&(this[_0x301bd2(0x1d8)][_0x301bd2(0x1f3)](_0x64543f)[_0x301bd2(0x1cc)](_0x38194c['id']),_0x2b4715[_0x301bd2(0x1ef)](_0x9000c9['id'])&&!this[_0x301bd2(0x1dd)](_0x9000c9,_0x64543f)[_0x301bd2(0x1e8)]&&_0x2b4715[_0x301bd2(0x1cc)](_0x9000c9['id']),this[_0x301bd2(0x1eb)][_0x301bd2(0x1f3)](_0x9000c9['id'])&&!this[_0x301bd2(0x1dd)](_0x9000c9)[_0x301bd2(0x1e8)]&&this[_0x301bd2(0x1eb)][_0x301bd2(0x1cc)](_0x9000c9['id']));}[_0x2e8eae(0x1df)](_0x3c851d,_0x4ad932){const _0x4bbd2b=_0x2e8eae,_0xd590da=this[_0x4bbd2b(0x1e1)][_0x4bbd2b(0x1f9)](_0x3c851d);return _0x4ad932&&this[_0x4bbd2b(0x1e1)][_0x4bbd2b(0x1f5)](_0x3c851d['id']),_0xd590da[_0x4bbd2b(0x1cb)]=this[_0x4bbd2b(0x1da)]++,_0xd590da;}}function _0x3de7(){const _0x1555af=['assign','_registeredSessions','set','isPremiumPlugin','listenTo','state','size','mySessionId','role','allConnectedUsers','6cYGavu','isOfficialPlugin','context','has','1240324iFFcuD','getUser','sessionId','get','sessions-register-already-registered','defineMe','9bFWFQF','user','clear','addUser','stopListening','add','225857pbdBGh','init','connected','Sessions','fire','isMe','requires','hiddenInPresenceList','values','1188439TVjDZz','8048150ODRTuZ','8LRuHkp','sessions-unregister-not-exist','7812255VCGkGF','orderNumber','remove','getUserRole','pluginName','_handleSessionRemove','unregister','register','_handleSessionAdd','plugins','change:state','1003218qSDEOY','sessionAdd:','connection','channelSessions','forEach','_uniqueUsersCount','getUserBySessionId','delete','getUserSessions','2347974BgewcA','_createUser','channelConnectedUsers','_users'];_0x3de7=function(){return _0x1555af;};return _0x3de7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x38c2(){const _0x40a89f=['getPositions','nodeAfter','requires','user:range:','setCustomProperty','isObject','createElement','marker','hasDomSelection','toRange','for','ck-user__marker-tooltip','destroy','spellcheck','$graveyard','user:position','newRange','mapper','markerToElement','ck-user__marker_hovered','orderNumber','render','removeClass','5815voazsu','removeMarker','stopListening','clear','getStart','isInline','isCollapsed','set','toDomElement','addMarker','reconvertMarker','delete','parent','getCustomProperty','editor','detach','oldRange','2120656RqqBGd','isSimilar','enqueueChange','init','user:position:','tableCell','highest','7vUQZIw','ck-user__marker\x20','span','isOfficialPlugin','isDocumentOperation','createUIElement','change:range','editingDowncast','isLimit','color','_createdBatches','pluginName','afterInit','fromRange','createRange','user:','false','getUserBySessionId','element','getNearestSelectionRange','checkChild','data-session-id','markerNameToElements','13346217CFIRmN','contenteditable','plugins','type','startsWith','markerRange','user:range','setAttribute','schema','getMarkerClass','2156310cMNaqH','add','getContainedElement','conversion','943074aDXqeR','mouseleave','view','1vfGLEq','rootName','isPremiumPlugin','3772IMWiLd','split','outerHTML','listenTo','445378OVlndO','createUserMarkerOperations','markerToHighlight','end','document','classList','size','getFirstRange','mouseenter','userPositionMarker','markerName','get','markers','getAttribute','deletionPosition','start','UserMarkers','$text','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','batch','name','3611496ckbtwa','has','applyOperation','update:user:range','getSelectionClass','updateMarker','model','selection','change','_domEmitter','root','commands','hasContent','remove','mySessionId','editing','keydown','addEventListener','getRange','innerHTML','textContent','undo','Escape','ck-user__selection'];_0x38c2=function(){return _0x40a89f;};return _0x38c2();}const _0x301b89=_0xe35a;(function(_0xe476e,_0x4adfc2){const _0x256332=_0xe35a,_0x23387d=_0xe476e();while(!![]){try{const _0x2913f9=-parseInt(_0x256332(0x1e7))/0x1*(parseInt(_0x256332(0x163))/0x2)+-parseInt(_0x256332(0x178))/0x3+-parseInt(_0x256332(0x1ea))/0x4*(-parseInt(_0x256332(0x1a7))/0x5)+parseInt(_0x256332(0x1e4))/0x6*(parseInt(_0x256332(0x1bf))/0x7)+-parseInt(_0x256332(0x1b8))/0x8+parseInt(_0x256332(0x1d6))/0x9+-parseInt(_0x256332(0x1e0))/0xa;if(_0x2913f9===_0x4adfc2)break;else _0x23387d['push'](_0x23387d['shift']());}catch(_0x224300){_0x23387d['push'](_0x23387d['shift']());}}}(_0x38c2,0xca87f));import{Plugin as _0xf91e2a}from'ckeditor5/src/core.js';import{global as _0x4dab5e,DomEmitterMixin as _0x50fafe}from'ckeditor5/src/utils.js';import{Sessions as _0x197125}from'./sessions.js';function _0xe35a(_0x1d5697,_0xdcf0d3){const _0x38c21d=_0x38c2();return _0xe35a=function(_0xe35ad8,_0x364f01){_0xe35ad8=_0xe35ad8-0x163;let _0x499a8e=_0x38c21d[_0xe35ad8];return _0x499a8e;},_0xe35a(_0x1d5697,_0xdcf0d3);}import{ModelLiveRange as _0x7d951e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0xf91e2a{[_0x301b89(0x181)]=new(_0x50fafe())();static get[_0x301b89(0x192)](){return[_0x197125];}static get[_0x301b89(0x1ca)](){const _0x41d079=_0x301b89;return _0x41d079(0x173);}static get[_0x301b89(0x1c2)](){return!0x0;}static get[_0x301b89(0x1e9)](){return!0x0;}[_0x301b89(0x1bb)](){const _0x36e8a8=_0x301b89,_0x6b1850=this[_0x36e8a8(0x1b5)],_0x87d7be=_0x6b1850[_0x36e8a8(0x1d8)][_0x36e8a8(0x16e)](_0x197125);_0x6b1850[_0x36e8a8(0x1e3)][_0x36e8a8(0x19a)](_0x36e8a8(0x1c6))[_0x36e8a8(0x1a2)]({'model':_0x36e8a8(0x19f),'view':(_0x58bd91,{writer:_0x5cb50f})=>function(_0x3d7d5a,_0x57703e,_0x168249,_0x2b1c33){const _0x37a3ca=_0x36e8a8,_0x4ed228=_0x3d7d5a[_0x37a3ca(0x16d)][_0x37a3ca(0x1eb)](':')[0x2],_0x1a232=_0x168249[_0x37a3ca(0x1d0)](_0x4ed228);if(!_0x1a232||_0x4ed228===_0x168249[_0x37a3ca(0x186)])return;if(!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)][_0x37a3ca(0x1d3)](_0x3d7d5a[_0x37a3ca(0x1db)][_0x37a3ca(0x172)],_0x37a3ca(0x174)))return;const _0x326a96={'class':_0x37a3ca(0x1c0)+_0x1a232[_0x37a3ca(0x1c8)][_0x37a3ca(0x1df)](),'data-name':_0x1a232[_0x37a3ca(0x177)],'data-session-id':_0x4ed228},_0x3244e7=_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x16f)][_0x37a3ca(0x16e)](_0x3d7d5a[_0x37a3ca(0x16d)]),_0x3f94f9=_0x3244e7[_0x37a3ca(0x1ab)](),_0x561c20=_0x3f94f9[_0x37a3ca(0x191)],_0x43f729=_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)];if(_0x561c20&&_0x43f729[_0x37a3ca(0x195)](_0x561c20)&&_0x43f729[_0x37a3ca(0x1ac)](_0x561c20)&&!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x16f)][_0x37a3ca(0x16e)](_0x37a3ca(0x193)+_0x4ed228)[_0x37a3ca(0x18a)]()[_0x37a3ca(0x1ad)])return;const _0x5e6831=_0x3f94f9[_0x37a3ca(0x1b3)];return _0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)][_0x37a3ca(0x1c7)](_0x5e6831)&&!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x184)](_0x5e6831)&&(_0x326a96[_0x37a3ca(0x1d7)]=!0x1),function(_0x356efa,_0x3c256e,_0x1a3c43){const _0x2fdf0e=_0x37a3ca,_0x54b69b=_0x356efa[_0x2fdf0e(0x1c4)](_0x2fdf0e(0x1c1),_0x3c256e);return _0x356efa[_0x2fdf0e(0x194)](_0x2fdf0e(0x16c),!0x0,_0x54b69b),_0x54b69b[_0x2fdf0e(0x1a5)]=function(_0xda511c){const _0x37ca0e=_0x2fdf0e,_0x3e3396=this[_0x37ca0e(0x1af)](_0xda511c),_0x212ce8=document[_0x37ca0e(0x196)](_0x37ca0e(0x1c1));return _0x212ce8[_0x37ca0e(0x168)][_0x37ca0e(0x1e1)](_0x37ca0e(0x19b)),_0x212ce8[_0x37ca0e(0x1dd)](_0x37ca0e(0x1d7),_0x37ca0e(0x1cf)),_0x212ce8[_0x37ca0e(0x1dd)](_0x37ca0e(0x19d),_0x37ca0e(0x1cf)),_0x212ce8[_0x37ca0e(0x18c)]=_0x1a3c43[_0x37ca0e(0x177)],_0x3e3396[_0x37ca0e(0x18b)]=_0x37ca0e(0x175)+_0x212ce8[_0x37ca0e(0x1ec)]+'',_0x3e3396[_0x37ca0e(0x189)](_0x37ca0e(0x16b),()=>{const _0x232cac=_0x37ca0e;_0x3e3396[_0x232cac(0x168)][_0x232cac(0x1e1)](_0x232cac(0x1a3));}),_0x3e3396[_0x37ca0e(0x189)](_0x37ca0e(0x1e5),()=>{const _0x22db78=_0x37ca0e;_0x3e3396[_0x22db78(0x168)][_0x22db78(0x185)](_0x22db78(0x1a3));}),_0x3e3396;},_0x54b69b[_0x2fdf0e(0x1b9)]=function(_0xc88fbf){const _0x730dd5=_0x2fdf0e;return!(!this[_0x730dd5(0x1b4)](_0x730dd5(0x16c))||!_0xc88fbf[_0x730dd5(0x1b4)](_0x730dd5(0x16c))||this[_0x730dd5(0x170)](_0x730dd5(0x1d4))!=_0xc88fbf[_0x730dd5(0x170)](_0x730dd5(0x1d4)));},_0x54b69b;}(_0x57703e,_0x326a96,_0x1a232);}(_0x58bd91,_0x5cb50f,_0x87d7be,_0x6b1850)}),_0x6b1850[_0x36e8a8(0x1e3)][_0x36e8a8(0x19a)](_0x36e8a8(0x1c6))[_0x36e8a8(0x165)]({'model':_0x36e8a8(0x1dc),'view':_0x3c82c7=>function(_0x28cc23,_0x3aaf2f){const _0x556900=_0x36e8a8,_0x4c2085=_0x28cc23[_0x556900(0x16d)][_0x556900(0x1eb)](':')[0x2];if(_0x4c2085===_0x3aaf2f[_0x556900(0x186)])return null;const _0x564f94=_0x3aaf2f[_0x556900(0x1d0)](_0x4c2085);if(!_0x564f94)return{'id':_0x4c2085,'classes':[]};return{'id':_0x4c2085,'classes':[_0x556900(0x18f),_0x564f94[_0x556900(0x1c8)][_0x556900(0x17c)]()],'attributes':{'data-session-id':_0x4c2085},'priority':0x7d0+_0x564f94[_0x556900(0x1a4)]};}(_0x3c82c7,_0x87d7be)}),function(_0x232113){const _0x42cc2b=_0x36e8a8,_0x374382=_0x232113[_0x42cc2b(0x17e)],_0x2b8e1b=new Map(),_0x5a0a9d=_0x232113[_0x42cc2b(0x1d8)][_0x42cc2b(0x16e)](_0x197125);_0x374382[_0x42cc2b(0x16f)]['on'](_0x42cc2b(0x17b),(_0x2b2a91,_0x444111,_0x1e1afd,_0x2a78bc)=>{const _0x171a08=_0x42cc2b;if(!_0x2a78bc&&_0x2b8e1b[_0x171a08(0x16e)](_0x444111[_0x171a08(0x177)]))return _0x2b8e1b[_0x171a08(0x16e)](_0x444111[_0x171a08(0x177)])[_0x171a08(0x1b6)](),void _0x2b8e1b[_0x171a08(0x1b2)](_0x444111[_0x171a08(0x177)]);const _0x1f0510=_0x444111[_0x171a08(0x177)][_0x171a08(0x1eb)](':')[0x2];if(_0x1f0510===_0x5a0a9d[_0x171a08(0x186)])return;const _0x1d7232=_0x171a08(0x1bc)+_0x1f0510;_0x374382[_0x171a08(0x16f)][_0x171a08(0x179)](_0x1d7232)&&_0x232113[_0x171a08(0x187)][_0x171a08(0x1b1)](_0x1d7232),_0x444111['on'](_0x171a08(0x1c5),(_0x47bac6,_0x4dc28e,_0x38ae3d)=>{const _0x236ece=_0x171a08;if(_0x236ece(0x19e)!=_0x4dc28e[_0x236ece(0x182)][_0x236ece(0x1e8)]&&_0x236ece(0x19e)==_0x444111[_0x236ece(0x18a)]()[_0x236ece(0x182)][_0x236ece(0x1e8)]&&!_0x2b8e1b[_0x236ece(0x179)](_0x444111[_0x236ece(0x177)])){const _0x4c6e53=_0x374382[_0x236ece(0x1de)][_0x236ece(0x1d2)](_0x38ae3d[_0x236ece(0x171)]);if(_0x4c6e53){const _0x46aa70=_0x7d951e[_0x236ece(0x1cc)](_0x4c6e53);_0x2b8e1b[_0x236ece(0x1ae)](_0x444111[_0x236ece(0x177)],_0x46aa70),_0x46aa70['on'](_0x236ece(0x1c5),(_0x507ec5,_0x113352,_0x34e24f)=>{const _0x14fc5f=_0x236ece;if(_0x14fc5f(0x19e)==_0x46aa70[_0x14fc5f(0x182)][_0x14fc5f(0x1e8)]){const _0x46b25e=_0x374382[_0x14fc5f(0x1de)][_0x14fc5f(0x1d2)](_0x34e24f[_0x14fc5f(0x171)]);_0x46b25e?(_0x46aa70[_0x14fc5f(0x172)]=_0x46b25e[_0x14fc5f(0x172)],_0x46aa70[_0x14fc5f(0x166)]=_0x46b25e[_0x14fc5f(0x166)]):(_0x2b8e1b[_0x14fc5f(0x1b2)](_0x444111[_0x14fc5f(0x177)]),_0x46aa70[_0x14fc5f(0x1b6)]());}});}}});}),_0x374382[_0x42cc2b(0x167)]['on'](_0x42cc2b(0x180),()=>{const _0x1e216d=_0x42cc2b;_0x2b8e1b[_0x1e216d(0x169)]>0x0&&_0x374382[_0x1e216d(0x1ba)]({'isUndoable':!0x1},_0x3604ea=>{const _0x5ab8e9=_0x1e216d;for(const [_0x3d1f3b,_0x4ffe18]of _0x2b8e1b)_0x5ab8e9(0x19e)==_0x374382[_0x5ab8e9(0x16f)][_0x5ab8e9(0x16e)](_0x3d1f3b)[_0x5ab8e9(0x18a)]()[_0x5ab8e9(0x182)][_0x5ab8e9(0x1e8)]&&(re(_0x3d1f3b[_0x5ab8e9(0x1eb)](':')[0x2],_0x4ffe18[_0x5ab8e9(0x199)](),_0x374382,_0x3604ea),_0x4ffe18[_0x5ab8e9(0x1b6)]());_0x2b8e1b[_0x5ab8e9(0x1aa)]();});});}(_0x6b1850),this[_0x36e8a8(0x181)][_0x36e8a8(0x1ed)](_0x4dab5e[_0x36e8a8(0x167)],_0x36e8a8(0x188),(_0x5b3d26,{key:_0x5bf19f})=>{const _0x191e9e=_0x36e8a8;_0x191e9e(0x18e)===_0x5bf19f&&function(_0xdb2247){const _0x296be9=_0x191e9e;_0xdb2247[_0x296be9(0x187)][_0x296be9(0x1e6)][_0x296be9(0x180)](_0x3115c1=>{const _0x44dda6=_0x296be9;for(const _0x182a5a of _0xdb2247[_0x44dda6(0x17e)][_0x44dda6(0x16f)]){if(!_0x182a5a[_0x44dda6(0x177)][_0x44dda6(0x1da)](_0x44dda6(0x19f)))continue;const _0x37e249=_0xdb2247[_0x44dda6(0x187)][_0x44dda6(0x1a1)][_0x44dda6(0x1d5)](_0x182a5a[_0x44dda6(0x177)]);if(_0x37e249){for(const _0x363371 of _0x37e249)_0x3115c1[_0x44dda6(0x1a6)](_0x44dda6(0x1a3),_0x363371);}}});}(_0x6b1850);},{'useCapture':!0x0});}[_0x301b89(0x1cb)](){const _0x18f77b=_0x301b89,_0x59f94b=this[_0x18f77b(0x1b5)],_0x3ac403=_0x59f94b[_0x18f77b(0x183)][_0x18f77b(0x16e)](_0x18f77b(0x18d));_0x3ac403&&_0x59f94b[_0x18f77b(0x17e)]['on'](_0x18f77b(0x17a),(_0x33c448,_0x4118c5)=>{const _0xf695cd=_0x18f77b,_0x36ec10=_0x4118c5[0x0];if(!_0x36ec10[_0xf695cd(0x1c3)])return;if(_0xf695cd(0x197)!=_0x36ec10[_0xf695cd(0x1d9)]||!_0x36ec10[_0xf695cd(0x177)][_0xf695cd(0x1da)](_0xf695cd(0x1ce)))return;const _0x1a50ce=_0x36ec10[_0xf695cd(0x176)];_0x3ac403[_0xf695cd(0x1c9)][_0xf695cd(0x179)](_0x1a50ce)&&(_0x36ec10[_0xf695cd(0x1a0)]=_0x36ec10[_0xf695cd(0x1b7)]?_0x59f94b[_0xf695cd(0x17e)][_0xf695cd(0x1cd)](_0x36ec10[_0xf695cd(0x1b7)][_0xf695cd(0x172)],_0x36ec10[_0xf695cd(0x1b7)][_0xf695cd(0x166)]):null);},{'priority':_0x18f77b(0x1be)});}[_0x301b89(0x19c)](){const _0x52e60d=_0x301b89;return this[_0x52e60d(0x181)][_0x52e60d(0x1a9)](),super[_0x52e60d(0x19c)]();}[_0x301b89(0x164)](){const _0xb58fe1=_0x301b89,_0x342894=this[_0xb58fe1(0x1b5)],_0x3b0bd4=_0x342894[_0xb58fe1(0x17e)][_0xb58fe1(0x167)],_0x2cf006=_0x342894[_0xb58fe1(0x1d8)][_0xb58fe1(0x16e)](_0x197125);_0x342894[_0xb58fe1(0x17e)][_0xb58fe1(0x1ba)]({'isUndoable':!0x1},_0x4895a0=>{const _0x2f7cf8=_0xb58fe1,_0x5a3ffb=_0x2f7cf8(0x193)+_0x2cf006[_0x2f7cf8(0x186)],_0x32d3c7=_0x2f7cf8(0x1bc)+_0x2cf006[_0x2f7cf8(0x186)],_0x107caf=_0x342894[_0x2f7cf8(0x17e)][_0x2f7cf8(0x16f)][_0x2f7cf8(0x179)](_0x5a3ffb);_0x342894[_0x2f7cf8(0x187)][_0x2f7cf8(0x1e6)][_0x2f7cf8(0x198)]?re(_0x2cf006[_0x2f7cf8(0x186)],_0x3b0bd4[_0x2f7cf8(0x17f)][_0x2f7cf8(0x16a)](),_0x342894[_0x2f7cf8(0x17e)],_0x4895a0):_0x107caf&&(_0x4895a0[_0x2f7cf8(0x1a8)](_0x5a3ffb),_0x4895a0[_0x2f7cf8(0x1a8)](_0x32d3c7));});}}function re(_0x1443b4,_0x5741c5,_0xe04af,_0x5ab6bd){const _0x2ba879=_0x301b89,_0x2b4015=_0x2ba879(0x193)+_0x1443b4,_0x2d6499=_0x2ba879(0x1bc)+_0x1443b4,_0x4291d7=_0x5741c5[_0x2ba879(0x1e2)]();let _0x235a26=_0x5741c5[_0x2ba879(0x172)];if(_0x4291d7&&_0x4291d7['is'](_0x2ba879(0x1d1),_0x2ba879(0x1bd))){const _0x3ef17e=function(_0x3d43cb,_0x4e475a){const _0x11db44=_0x2ba879;for(const _0x134e7c of _0x3d43cb[_0x11db44(0x190)]())if(_0x4e475a[_0x11db44(0x1de)][_0x11db44(0x1d3)](_0x134e7c,_0x11db44(0x174)))return _0x134e7c;}(_0x5741c5,_0xe04af);_0x3ef17e&&(_0x235a26=_0x3ef17e,_0x5741c5=_0x5ab6bd[_0x2ba879(0x1cd)](_0x235a26));}const _0x23be99=_0x5ab6bd[_0x2ba879(0x1cd)](_0x235a26);_0xe04af[_0x2ba879(0x16f)][_0x2ba879(0x179)](_0x2b4015)?(_0x5ab6bd[_0x2ba879(0x17d)](_0x2b4015,{'range':_0x5741c5}),_0x5ab6bd[_0x2ba879(0x17d)](_0x2d6499,{'range':_0x23be99})):(_0x5ab6bd[_0x2ba879(0x1b0)](_0x2b4015,{'range':_0x5741c5,'usingOperation':!0x0}),_0x5ab6bd[_0x2ba879(0x1b0)](_0x2d6499,{'range':_0x23be99,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x397b(_0x4dcf7e,_0x54fa0a){const _0x471164=_0x4711();return _0x397b=function(_0x397bcd,_0x1041b5){_0x397bcd=_0x397bcd-0xa4;let _0x570e5f=_0x471164[_0x397bcd];return _0x570e5f;},_0x397b(_0x4dcf7e,_0x54fa0a);}const _0x2de0e8=_0x397b;(function(_0xe50d3f,_0x330694){const _0x549b3e=_0x397b,_0x4cbc72=_0xe50d3f();while(!![]){try{const _0x5e6490=parseInt(_0x549b3e(0xb5))/0x1*(-parseInt(_0x549b3e(0x103))/0x2)+parseInt(_0x549b3e(0x11c))/0x3*(-parseInt(_0x549b3e(0x120))/0x4)+parseInt(_0x549b3e(0x127))/0x5+parseInt(_0x549b3e(0x10b))/0x6*(parseInt(_0x549b3e(0x104))/0x7)+-parseInt(_0x549b3e(0x116))/0x8*(parseInt(_0x549b3e(0xd4))/0x9)+parseInt(_0x549b3e(0x12d))/0xa*(-parseInt(_0x549b3e(0xa7))/0xb)+parseInt(_0x549b3e(0xb3))/0xc;if(_0x5e6490===_0x330694)break;else _0x4cbc72['push'](_0x4cbc72['shift']());}catch(_0x49bd71){_0x4cbc72['push'](_0x4cbc72['shift']());}}}(_0x4711,0x1f30a));import{Plugin as _0x423333}from'ckeditor5/src/core.js';import{global as _0xe419ce,DomEmitterMixin as _0x35534d}from'ckeditor5/src/utils.js';function _0x4711(){const _0x1529ea=['168OZeoZu','isCollapsed','start','view','_createdBatches','set','getSelectionClass','textContent','toDomElement','delete','user:position:','357992uhfChI','undo','type','editingDowncast','for','markerToElement','11019KzCPLn','isDocumentOperation','markerToHighlight','markerName','60YJIday','root','getFirstRange','mouseenter','userPositionMarker','getCustomProperty','markerNameToElements','714785uZDAWo','requires','batch','applyOperation','update:user:range','split','1407910CmvoAP','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','highest','stopListening','document','pluginName','11UyThsC','color','init','user:range','editing','createUIElement','conversion','getMarkerClass','toRange','fromRange','user:','commands','5570076XIRPql','end','9WfDXpG','getContainedElement','$text','detach','newRange','ck-user__marker_hovered','createUserMarkerOperations','data-session-id','getStart','addEventListener','getAttribute','false','user:range:','getUserBySessionId','enqueueChange','updateMarker','oldRange','schema','clear','createElement','size','mouseleave','isPremiumPlugin','_domEmitter','mySessionId','spellcheck','orderNumber','rootName','innerHTML','span','change:range','27TcYwYM','isOfficialPlugin','markers','outerHTML','afterInit','keydown','ck-user__marker\x20','user:position','reconvertMarker','tableCell','isLimit','setAttribute','getRange','parent','UserMarkers','classList','render','mapper','getPositions','Escape','removeMarker','element','change','plugins','contenteditable','listenTo','editor','getNearestSelectionRange','ck-user__selection','add','$graveyard','isObject','markerRange','get','setCustomProperty','startsWith','hasDomSelection','name','deletionPosition','selection','hasContent','isInline','createRange','has','marker','checkChild','model','56598gmQerR','26362lGbQsJ','destroy','removeClass','remove','nodeAfter','addMarker','isSimilar'];_0x4711=function(){return _0x1529ea;};return _0x4711();}import{Sessions as _0x438698}from'./sessions.js';import{ModelLiveRange as _0x263824}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x423333{[_0x2de0e8(0xcc)]=new(_0x35534d())();static get[_0x2de0e8(0x128)](){return[_0x438698];}static get[_0x2de0e8(0xa6)](){const _0x30d408=_0x2de0e8;return _0x30d408(0xe2);}static get[_0x2de0e8(0xd5)](){return!0x0;}static get[_0x2de0e8(0xcb)](){return!0x0;}[_0x2de0e8(0xa9)](){const _0x9445bf=_0x2de0e8,_0x140dc8=this[_0x9445bf(0xee)],_0x73355e=_0x140dc8[_0x9445bf(0xeb)][_0x9445bf(0xf5)](_0x438698);_0x140dc8[_0x9445bf(0xad)][_0x9445bf(0x11a)](_0x9445bf(0x119))[_0x9445bf(0x11b)]({'model':_0x9445bf(0xdb),'view':(_0x25ff08,{writer:_0x74c545})=>function(_0x10be1f,_0xd3ecc5,_0x14d213,_0x2a4f29){const _0x421603=_0x9445bf,_0x88747a=_0x10be1f[_0x421603(0x11f)][_0x421603(0x12c)](':')[0x2],_0x465f75=_0x14d213[_0x421603(0xc2)](_0x88747a);if(!_0x465f75||_0x88747a===_0x14d213[_0x421603(0xcd)])return;if(!_0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)][_0x421603(0x101)](_0x10be1f[_0x421603(0xf4)][_0x421603(0x10d)],_0x421603(0xb7)))return;const _0x42873a={'class':_0x421603(0xda)+_0x465f75[_0x421603(0xa8)][_0x421603(0xae)](),'data-name':_0x465f75[_0x421603(0xf9)],'data-session-id':_0x88747a},_0x4e6a7b=_0x2a4f29[_0x421603(0x102)][_0x421603(0xd6)][_0x421603(0xf5)](_0x10be1f[_0x421603(0x11f)]),_0x54564f=_0x4e6a7b[_0x421603(0xbd)](),_0x1e7e28=_0x54564f[_0x421603(0x108)],_0x312b87=_0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)];if(_0x1e7e28&&_0x312b87[_0x421603(0xf3)](_0x1e7e28)&&_0x312b87[_0x421603(0xfd)](_0x1e7e28)&&!_0x2a4f29[_0x421603(0x102)][_0x421603(0xd6)][_0x421603(0xf5)](_0x421603(0xc1)+_0x88747a)[_0x421603(0xe0)]()[_0x421603(0x10c)])return;const _0x1bdd7a=_0x54564f[_0x421603(0xe1)];return _0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)][_0x421603(0xde)](_0x1bdd7a)&&!_0x2a4f29[_0x421603(0x102)][_0x421603(0xfc)](_0x1bdd7a)&&(_0x42873a[_0x421603(0xec)]=!0x1),function(_0x477f65,_0x150744,_0x16d42d){const _0x2c3f35=_0x421603,_0x4b6eb3=_0x477f65[_0x2c3f35(0xac)](_0x2c3f35(0xd2),_0x150744);return _0x477f65[_0x2c3f35(0xf6)](_0x2c3f35(0x124),!0x0,_0x4b6eb3),_0x4b6eb3[_0x2c3f35(0xe4)]=function(_0x240465){const _0x2fe12c=_0x2c3f35,_0x3f00ee=this[_0x2fe12c(0x113)](_0x240465),_0x59578c=document[_0x2fe12c(0xc8)](_0x2fe12c(0xd2));return _0x59578c[_0x2fe12c(0xe3)][_0x2fe12c(0xf1)](_0x2fe12c(0x12f)),_0x59578c[_0x2fe12c(0xdf)](_0x2fe12c(0xec),_0x2fe12c(0xc0)),_0x59578c[_0x2fe12c(0xdf)](_0x2fe12c(0xce),_0x2fe12c(0xc0)),_0x59578c[_0x2fe12c(0x112)]=_0x16d42d[_0x2fe12c(0xf9)],_0x3f00ee[_0x2fe12c(0xd1)]=_0x2fe12c(0x12e)+_0x59578c[_0x2fe12c(0xd7)]+'',_0x3f00ee[_0x2fe12c(0xbe)](_0x2fe12c(0x123),()=>{const _0x4b7416=_0x2fe12c;_0x3f00ee[_0x4b7416(0xe3)][_0x4b7416(0xf1)](_0x4b7416(0xba));}),_0x3f00ee[_0x2fe12c(0xbe)](_0x2fe12c(0xca),()=>{const _0x3e3302=_0x2fe12c;_0x3f00ee[_0x3e3302(0xe3)][_0x3e3302(0x107)](_0x3e3302(0xba));}),_0x3f00ee;},_0x4b6eb3[_0x2c3f35(0x10a)]=function(_0x4c982d){const _0x3f3aa5=_0x2c3f35;return!(!this[_0x3f3aa5(0x125)](_0x3f3aa5(0x124))||!_0x4c982d[_0x3f3aa5(0x125)](_0x3f3aa5(0x124))||this[_0x3f3aa5(0xbf)](_0x3f3aa5(0xbc))!=_0x4c982d[_0x3f3aa5(0xbf)](_0x3f3aa5(0xbc)));},_0x4b6eb3;}(_0xd3ecc5,_0x42873a,_0x465f75);}(_0x25ff08,_0x74c545,_0x73355e,_0x140dc8)}),_0x140dc8[_0x9445bf(0xad)][_0x9445bf(0x11a)](_0x9445bf(0x119))[_0x9445bf(0x11e)]({'model':_0x9445bf(0xaa),'view':_0x17da1b=>function(_0x3f1bc6,_0x326d36){const _0x1b17e5=_0x9445bf,_0x2d7a71=_0x3f1bc6[_0x1b17e5(0x11f)][_0x1b17e5(0x12c)](':')[0x2];if(_0x2d7a71===_0x326d36[_0x1b17e5(0xcd)])return null;const _0x5ea34d=_0x326d36[_0x1b17e5(0xc2)](_0x2d7a71);if(!_0x5ea34d)return{'id':_0x2d7a71,'classes':[]};return{'id':_0x2d7a71,'classes':[_0x1b17e5(0xf0),_0x5ea34d[_0x1b17e5(0xa8)][_0x1b17e5(0x111)]()],'attributes':{'data-session-id':_0x2d7a71},'priority':0x7d0+_0x5ea34d[_0x1b17e5(0xcf)]};}(_0x17da1b,_0x73355e)}),function(_0x2da6b9){const _0x4ac1ce=_0x9445bf,_0x3754d8=_0x2da6b9[_0x4ac1ce(0x102)],_0x1f0783=new Map(),_0x1dabc6=_0x2da6b9[_0x4ac1ce(0xeb)][_0x4ac1ce(0xf5)](_0x438698);_0x3754d8[_0x4ac1ce(0xd6)]['on'](_0x4ac1ce(0x12b),(_0x5ea393,_0x1f7070,_0x3807b8,_0x3c1c29)=>{const _0x198add=_0x4ac1ce;if(!_0x3c1c29&&_0x1f0783[_0x198add(0xf5)](_0x1f7070[_0x198add(0xf9)]))return _0x1f0783[_0x198add(0xf5)](_0x1f7070[_0x198add(0xf9)])[_0x198add(0xb8)](),void _0x1f0783[_0x198add(0x114)](_0x1f7070[_0x198add(0xf9)]);const _0x330b6d=_0x1f7070[_0x198add(0xf9)][_0x198add(0x12c)](':')[0x2];if(_0x330b6d===_0x1dabc6[_0x198add(0xcd)])return;const _0x2e4459=_0x198add(0x115)+_0x330b6d;_0x3754d8[_0x198add(0xd6)][_0x198add(0xff)](_0x2e4459)&&_0x2da6b9[_0x198add(0xab)][_0x198add(0xdc)](_0x2e4459),_0x1f7070['on'](_0x198add(0xd3),(_0xa0dce2,_0x3f876b,_0x463988)=>{const _0x34b9f9=_0x198add;if(_0x34b9f9(0xf2)!=_0x3f876b[_0x34b9f9(0x121)][_0x34b9f9(0xd0)]&&_0x34b9f9(0xf2)==_0x1f7070[_0x34b9f9(0xe0)]()[_0x34b9f9(0x121)][_0x34b9f9(0xd0)]&&!_0x1f0783[_0x34b9f9(0xff)](_0x1f7070[_0x34b9f9(0xf9)])){const _0x3c83d7=_0x3754d8[_0x34b9f9(0xc6)][_0x34b9f9(0xef)](_0x463988[_0x34b9f9(0xfa)]);if(_0x3c83d7){const _0x248eb6=_0x263824[_0x34b9f9(0xb0)](_0x3c83d7);_0x1f0783[_0x34b9f9(0x110)](_0x1f7070[_0x34b9f9(0xf9)],_0x248eb6),_0x248eb6['on'](_0x34b9f9(0xd3),(_0x4286ce,_0x4c3f70,_0x58f5e0)=>{const _0x3fcaba=_0x34b9f9;if(_0x3fcaba(0xf2)==_0x248eb6[_0x3fcaba(0x121)][_0x3fcaba(0xd0)]){const _0x230a3f=_0x3754d8[_0x3fcaba(0xc6)][_0x3fcaba(0xef)](_0x58f5e0[_0x3fcaba(0xfa)]);_0x230a3f?(_0x248eb6[_0x3fcaba(0x10d)]=_0x230a3f[_0x3fcaba(0x10d)],_0x248eb6[_0x3fcaba(0xb4)]=_0x230a3f[_0x3fcaba(0xb4)]):(_0x1f0783[_0x3fcaba(0x114)](_0x1f7070[_0x3fcaba(0xf9)]),_0x248eb6[_0x3fcaba(0xb8)]());}});}}});}),_0x3754d8[_0x4ac1ce(0xa5)]['on'](_0x4ac1ce(0xea),()=>{const _0x5f3bc7=_0x4ac1ce;_0x1f0783[_0x5f3bc7(0xc9)]>0x0&&_0x3754d8[_0x5f3bc7(0xc3)]({'isUndoable':!0x1},_0x2f8e75=>{const _0x434545=_0x5f3bc7;for(const [_0x1cf4e5,_0x56a19c]of _0x1f0783)_0x434545(0xf2)==_0x3754d8[_0x434545(0xd6)][_0x434545(0xf5)](_0x1cf4e5)[_0x434545(0xe0)]()[_0x434545(0x121)][_0x434545(0xd0)]&&(te(_0x1cf4e5[_0x434545(0x12c)](':')[0x2],_0x56a19c[_0x434545(0xaf)](),_0x3754d8,_0x2f8e75),_0x56a19c[_0x434545(0xb8)]());_0x1f0783[_0x434545(0xc7)]();});});}(_0x140dc8),this[_0x9445bf(0xcc)][_0x9445bf(0xed)](_0xe419ce[_0x9445bf(0xa5)],_0x9445bf(0xd9),(_0x4ef458,{key:_0x19bce2})=>{const _0x3ef3a1=_0x9445bf;_0x3ef3a1(0xe7)===_0x19bce2&&function(_0x193e08){const _0x3c08eb=_0x3ef3a1;_0x193e08[_0x3c08eb(0xab)][_0x3c08eb(0x10e)][_0x3c08eb(0xea)](_0xaf924a=>{const _0x59efd9=_0x3c08eb;for(const _0x443ac9 of _0x193e08[_0x59efd9(0x102)][_0x59efd9(0xd6)]){if(!_0x443ac9[_0x59efd9(0xf9)][_0x59efd9(0xf7)](_0x59efd9(0xdb)))continue;const _0x1746ed=_0x193e08[_0x59efd9(0xab)][_0x59efd9(0xe5)][_0x59efd9(0x126)](_0x443ac9[_0x59efd9(0xf9)]);if(_0x1746ed){for(const _0x324cec of _0x1746ed)_0xaf924a[_0x59efd9(0x106)](_0x59efd9(0xba),_0x324cec);}}});}(_0x140dc8);},{'useCapture':!0x0});}[_0x2de0e8(0xd8)](){const _0x389493=_0x2de0e8,_0x175c61=this[_0x389493(0xee)],_0x58dfa5=_0x175c61[_0x389493(0xb2)][_0x389493(0xf5)](_0x389493(0x117));_0x58dfa5&&_0x175c61[_0x389493(0x102)]['on'](_0x389493(0x12a),(_0x1f2628,_0x1b5bce)=>{const _0x1c5ab2=_0x389493,_0x3e52c1=_0x1b5bce[0x0];if(!_0x3e52c1[_0x1c5ab2(0x11d)])return;if(_0x1c5ab2(0x100)!=_0x3e52c1[_0x1c5ab2(0x118)]||!_0x3e52c1[_0x1c5ab2(0xf9)][_0x1c5ab2(0xf7)](_0x1c5ab2(0xb1)))return;const _0x5f0732=_0x3e52c1[_0x1c5ab2(0x129)];_0x58dfa5[_0x1c5ab2(0x10f)][_0x1c5ab2(0xff)](_0x5f0732)&&(_0x3e52c1[_0x1c5ab2(0xb9)]=_0x3e52c1[_0x1c5ab2(0xc5)]?_0x175c61[_0x1c5ab2(0x102)][_0x1c5ab2(0xfe)](_0x3e52c1[_0x1c5ab2(0xc5)][_0x1c5ab2(0x10d)],_0x3e52c1[_0x1c5ab2(0xc5)][_0x1c5ab2(0xb4)]):null);},{'priority':_0x389493(0x130)});}[_0x2de0e8(0x105)](){const _0x487ff6=_0x2de0e8;return this[_0x487ff6(0xcc)][_0x487ff6(0xa4)](),super[_0x487ff6(0x105)]();}[_0x2de0e8(0xbb)](){const _0x1c9c4e=_0x2de0e8,_0x4c783f=this[_0x1c9c4e(0xee)],_0x1be352=_0x4c783f[_0x1c9c4e(0x102)][_0x1c9c4e(0xa5)],_0x3b74d2=_0x4c783f[_0x1c9c4e(0xeb)][_0x1c9c4e(0xf5)](_0x438698);_0x4c783f[_0x1c9c4e(0x102)][_0x1c9c4e(0xc3)]({'isUndoable':!0x1},_0x5a070c=>{const _0x101816=_0x1c9c4e,_0x2f8962=_0x101816(0xc1)+_0x3b74d2[_0x101816(0xcd)],_0x3109f2=_0x101816(0x115)+_0x3b74d2[_0x101816(0xcd)],_0x164512=_0x4c783f[_0x101816(0x102)][_0x101816(0xd6)][_0x101816(0xff)](_0x2f8962);_0x4c783f[_0x101816(0xab)][_0x101816(0x10e)][_0x101816(0xf8)]?te(_0x3b74d2[_0x101816(0xcd)],_0x1be352[_0x101816(0xfb)][_0x101816(0x122)](),_0x4c783f[_0x101816(0x102)],_0x5a070c):_0x164512&&(_0x5a070c[_0x101816(0xe8)](_0x2f8962),_0x5a070c[_0x101816(0xe8)](_0x3109f2));});}}function te(_0x21d0a1,_0xcbcc34,_0x28e800,_0x391d9b){const _0x2b4457=_0x2de0e8,_0x582707=_0x2b4457(0xc1)+_0x21d0a1,_0x15976a=_0x2b4457(0x115)+_0x21d0a1,_0x2c384f=_0xcbcc34[_0x2b4457(0xb6)]();let _0x48047e=_0xcbcc34[_0x2b4457(0x10d)];if(_0x2c384f&&_0x2c384f['is'](_0x2b4457(0xe9),_0x2b4457(0xdd))){const _0x3570ca=function(_0xedb342,_0x581834){const _0x11d39f=_0x2b4457;for(const _0x3fb299 of _0xedb342[_0x11d39f(0xe6)]())if(_0x581834[_0x11d39f(0xc6)][_0x11d39f(0x101)](_0x3fb299,_0x11d39f(0xb7)))return _0x3fb299;}(_0xcbcc34,_0x28e800);_0x3570ca&&(_0x48047e=_0x3570ca,_0xcbcc34=_0x391d9b[_0x2b4457(0xfe)](_0x48047e));}const _0x46b186=_0x391d9b[_0x2b4457(0xfe)](_0x48047e);_0x28e800[_0x2b4457(0xd6)][_0x2b4457(0xff)](_0x582707)?(_0x391d9b[_0x2b4457(0xc4)](_0x582707,{'range':_0xcbcc34}),_0x391d9b[_0x2b4457(0xc4)](_0x15976a,{'range':_0x46b186})):(_0x391d9b[_0x2b4457(0x109)](_0x582707,{'range':_0xcbcc34,'usingOperation':!0x0}),_0x391d9b[_0x2b4457(0x109)](_0x15976a,{'range':_0x46b186,'usingOperation':!0x0}));}
|