@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.0 → 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
|
-
((()=>_0x6f8fa0)());[_0x2ffc44(0x14b)];static get[_0x2ffc44(0x165)](){const _0x3b0012=_0x2ffc44;return[_0x379ff0,_0x3b0012(0x128),_0x40b013,_0x467ef8];}static get[_0x2ffc44(0x14d)](){const _0x1112e3=_0x2ffc44;return _0x1112e3(0x16d);}static get[_0x2ffc44(0x135)](){return!0x0;}static get[_0x2ffc44(0x139)](){return!0x0;}constructor(_0x57b9d4){const _0x3a2c21=_0x2ffc44;super(_0x57b9d4),this[_0x3a2c21(0x14b)]=new Map();}async[_0x2ffc44(0x175)](){const _0x5e8497=_0x2ffc44,_0x1a1393=this[_0x5e8497(0x185)],_0xf1872e=_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x5e8497(0x128));if(_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x379ff0)[_0x5e8497(0x142)](this),_0xf1872e[_0x5e8497(0x16c)]={'addCommentThread':async({channelId:_0x571d37,threadId:_0x3da392,comments:_0x6c3a4a,resolvedAt:_0xef2515,resolvedBy:_0x186ebd,context:_0x5cdf98,attributes:_0x1e3978})=>{const _0x4e8066=_0x5e8497,_0x29efdd=await this[_0x4e8066(0x161)](_0x571d37)[_0x4e8066(0x153)]({'commentThreadId':_0x3da392,'comments':_0x6c3a4a[_0x4e8066(0x159)](_0x29e7d6=>function(_0x220cf8,_0x4859ee,_0xa7a3cf){const _0x20ad78=_0x4e8066;return{'commentThreadId':_0xa7a3cf,'commentId':_0x220cf8[_0x20ad78(0x13b)],'userId':_0x220cf8[_0x20ad78(0x13a)],'content':_0x220cf8[_0x20ad78(0x12e)],'documentId':_0x4859ee,'createdAt':_0x220cf8[_0x20ad78(0x156)],'attributes':_0x220cf8[_0x20ad78(0x160)]||{}};}(_0x29e7d6,_0x571d37,_0x3da392)),'resolvedAt':_0xef2515,'resolvedBy':_0x186ebd,'context':_0x5cdf98,'attributes':_0x1e3978})[_0x4e8066(0x130)](A);return{'threadId':_0x29efdd[_0x4e8066(0x14e)],'comments':_0x29efdd[_0x4e8066(0x176)]};},'getCommentThread':async({channelId:_0x363118,threadId:_0x290495})=>{const _0x13341b=_0x5e8497,_0x2cd0da=await this[_0x13341b(0x161)](_0x363118)[_0x13341b(0x16f)](_0x290495)[_0x13341b(0x130)](f)[_0x13341b(0x130)](A);return _0x2cd0da?_0x2cd0da[_0x13341b(0x158)]?null:(await this[_0x13341b(0x173)]([_0x2cd0da]),{'threadId':_0x2cd0da[_0x13341b(0x14e)],'comments':_0x2cd0da[_0x13341b(0x176)][_0x13341b(0x159)](p),'context':_0x2cd0da[_0x13341b(0x185)],'resolvedAt':_0x2cd0da[_0x13341b(0x149)],'resolvedBy':_0x2cd0da[_0x13341b(0x133)],'attributes':_0x2cd0da[_0x13341b(0x160)]||{}}):null;},'updateCommentThread':async({channelId:_0x5bbfca,threadId:_0x263e05,context:_0x2528bd,unlinkedAt:_0x21b0e8,attributes:_0x59246a})=>this[_0x5e8497(0x161)](_0x5bbfca)[_0x5e8497(0x140)]({'commentThreadId':_0x263e05,'context':_0x2528bd,'attributes':_0x59246a,'unlinkedAt':_0x21b0e8})[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'resolveCommentThread':async({channelId:_0x3158a9,threadId:_0x214329})=>{const _0x51a6d6=_0x5e8497,_0x504c16=await this[_0x51a6d6(0x161)](_0x3158a9)[_0x51a6d6(0x171)](_0x214329)[_0x51a6d6(0x130)](f)[_0x51a6d6(0x130)](A);return{'threadId':_0x504c16[_0x51a6d6(0x14e)],'resolvedAt':_0x504c16[_0x51a6d6(0x149)],'resolvedBy':_0x504c16[_0x51a6d6(0x133)]};},'reopenCommentThread':async({channelId:_0x1117f1,threadId:_0x449cc7})=>this[_0x5e8497(0x161)](_0x1117f1)[_0x5e8497(0x15c)](_0x449cc7)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'removeCommentThread':({channelId:_0x5ca8a5,threadId:_0x5d4d65})=>this[_0x5e8497(0x161)](_0x5ca8a5)[_0x5e8497(0x12a)](_0x5d4d65)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'addComment':({channelId:_0x18f8fd,threadId:_0x14a5da,commentId:_0x3fada3,content:_0x5f50d7,attributes:_0x4c0d7e})=>this[_0x5e8497(0x161)](_0x18f8fd)[_0x5e8497(0x14f)](_0x14a5da,_0x3fada3,_0x5f50d7,_0x4c0d7e)[_0x5e8497(0x130)](A),'updateComment':({channelId:_0x2c94c3,threadId:_0x2a35e3,commentId:_0x1b7fb1,content:_0x284014,attributes:_0x3070f3})=>this[_0x5e8497(0x161)](_0x2c94c3)[_0x5e8497(0x15f)](_0x2a35e3,_0x1b7fb1,_0x284014,_0x3070f3)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'removeComment':({channelId:_0x16e9bc,threadId:_0x53b79d,commentId:_0x1e068b})=>this[_0x5e8497(0x161)](_0x16e9bc)[_0x5e8497(0x166)](_0x53b79d,_0x1e068b)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A)},_0x1a1393 instanceof _0x34a7dc){const _0x8b3f43=_0x1a1393[_0x5e8497(0x164)][_0x5e8497(0x12f)](_0x5e8497(0x12c)),_0x2054c2=_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x40b013);await this[_0x5e8497(0x15b)](_0x8b3f43);const _0x1a7f2f=await this[_0x5e8497(0x14b)][_0x5e8497(0x12f)](_0x8b3f43)[_0x5e8497(0x141)]();this[_0x5e8497(0x15a)](_0x2054c2,_0x5e8497(0x188)+_0x8b3f43,(_0x5b6e58,{session:_0x4e5fdb})=>{const _0x45cc63=_0x5e8497;_0x4e5fdb['id']===_0x2054c2[_0x45cc63(0x147)]&&(_0x5b6e58[_0x45cc63(0x14a)](),this[_0x45cc63(0x185)][_0x45cc63(0x183)][_0x45cc63(0x12f)](_0x45cc63(0x186))[_0x45cc63(0x180)](_0x4e5fdb[_0x45cc63(0x182)],_0x8b3f43));}),_0x2054c2[_0x5e8497(0x143)](_0x8b3f43,_0x1a7f2f);}}async[_0x2ffc44(0x15b)](_0x2984a5){const _0x17f26b=_0x2ffc44;if(this[_0x17f26b(0x14b)][_0x17f26b(0x177)](_0x2984a5))throw new _0x48408a(_0x17f26b(0x170),null,{'channelId':_0x2984a5});const _0x39892b=this[_0x17f26b(0x185)][_0x17f26b(0x183)][_0x17f26b(0x12f)](_0x17f26b(0x128)),_0xadb545=new CloudServicesCommentsAdapter[(_0x17f26b(0x172))](_0x2984a5);this[_0x17f26b(0x14b)][_0x17f26b(0x155)](_0x2984a5,_0xadb545),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x162),(_0x3cfe66,_0x161a24)=>{const _0x26e8f7=_0x17f26b,{commentThreadId:_0x2aa096,documentId:_0x38b801,context:_0x1948e6,attributes:_0x1bd2c,resolvedAt:_0x3f7b63,resolvedBy:_0x2f1aab,comments:_0x175656}=_0x161a24;_0x39892b[_0x26e8f7(0x16f)](_0x2aa096)||_0x39892b[_0x26e8f7(0x153)]({'threadId':_0x2aa096,'channelId':_0x38b801,'comments':_0x175656?_0x175656[_0x26e8f7(0x159)](p):[],'context':_0x1948e6,'attributes':_0x1bd2c,'resolvedAt':_0x3f7b63,'resolvedBy':_0x2f1aab,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x187),(_0x10daa0,{commentThreadId:_0x3304a4,documentId:_0x438fb8,context:_0x4fef4c,unlinkedAt:_0x439380,attributes:_0x79c0e1})=>{const _0x97692e=_0x17f26b;_0x39892b[_0x97692e(0x16f)](_0x3304a4)&&_0x39892b[_0x97692e(0x140)]({'threadId':_0x3304a4,'channelId':_0x438fb8,'context':_0x4fef4c,'unlinkedAt':_0x439380,'attributes':_0x79c0e1,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x181),(_0x287255,{commentThreadId:_0x52a291,resolvedBy:_0x2d41c8,resolvedAt:_0x1c11e3})=>{const _0x21c9ab=_0x17f26b,_0x37c0e4=_0x39892b[_0x21c9ab(0x16f)](_0x52a291);_0x37c0e4&&_0x37c0e4[_0x21c9ab(0x17a)]({'resolvedBy':_0x2d41c8,'resolvedAt':_0x1c11e3,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x179),(_0x13a199,{commentThreadId:_0x1e283f})=>{const _0x3633d4=_0x17f26b,_0x5c8686=_0x39892b[_0x3633d4(0x16f)](_0x1e283f);_0x5c8686&&_0x5c8686[_0x3633d4(0x12b)]({'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x17d),(_0x4f4418,{commentThreadId:_0x1843bf})=>{const _0x3e66ca=_0x17f26b,_0xd18f73=_0x39892b[_0x3e66ca(0x16f)](_0x1843bf);_0xd18f73&&_0xd18f73[_0x3e66ca(0x146)]({'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x168),(_0x506245,_0x571f03)=>{const _0x4634a9=_0x17f26b,_0x25063a=_0x571f03[_0x4634a9(0x14e)],_0x18d118=_0x39892b[_0x4634a9(0x16f)](_0x25063a);_0x18d118&&_0x18d118[_0x4634a9(0x14f)]({...p(_0x571f03),'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x152),(_0x5e7d64,{commentThreadId:_0x1cadf5,commentId:_0x4e99bb,content:_0x3c57b8,attributes:_0x3e02fd})=>{const _0x418b5b=_0x17f26b,_0x4838dd=_0x39892b[_0x418b5b(0x16f)](_0x1cadf5);if(_0x4838dd){const _0x2995ee=_0x4838dd[_0x418b5b(0x17c)](_0x4e99bb);_0x2995ee&&_0x2995ee[_0x418b5b(0x184)]({'content':_0x3c57b8,'attributes':_0x3e02fd,'isFromAdapter':!0x0});}}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x16e),(_0x1d03be,{commentThreadId:_0x51e25e,commentId:_0x385323})=>{const _0x54e551=_0x17f26b,_0x4736d2=_0x39892b[_0x54e551(0x16f)](_0x51e25e);if(_0x4736d2){const _0x4bfd4f=_0x4736d2[_0x54e551(0x17c)](_0x385323);_0x4bfd4f&&_0x4bfd4f[_0x54e551(0x146)]({'isFromAdapter':!0x0});}}),await this[_0x17f26b(0x174)](_0x2984a5);}[_0x2ffc44(0x16a)](){const _0x1ec291=_0x2ffc44;if(this[_0x1ec291(0x185)]instanceof _0x34a7dc){const _0x585d7b=this[_0x1ec291(0x185)][_0x1ec291(0x164)][_0x1ec291(0x12f)](_0x1ec291(0x12c));this[_0x1ec291(0x134)](_0x585d7b);}}[_0x2ffc44(0x134)](_0x4cf402){const _0x3fb88b=_0x2ffc44;if(!this[_0x3fb88b(0x14b)][_0x3fb88b(0x177)](_0x4cf402))throw new _0x48408a(_0x3fb88b(0x12d),null,{'channelId':_0x4cf402});this[_0x3fb88b(0x161)](_0x4cf402)[_0x3fb88b(0x129)](),this[_0x3fb88b(0x14b)][_0x3fb88b(0x145)](_0x4cf402);}async[_0x2ffc44(0x178)](){const _0x185c20=_0x2ffc44;for(const _0x1c21ee of this[_0x185c20(0x14b)][_0x185c20(0x132)]())await this[_0x185c20(0x174)](_0x1c21ee);if(this[_0x185c20(0x185)]instanceof _0x34a7dc){const _0x53a072=this[_0x185c20(0x185)][_0x185c20(0x164)][_0x185c20(0x12f)](_0x185c20(0x12c)),_0x5035ce=this[_0x185c20(0x185)][_0x185c20(0x183)][_0x185c20(0x12f)](_0x40b013);_0x5035ce[_0x185c20(0x15d)](_0x53a072);const _0x3a29a2=await this[_0x185c20(0x14b)][_0x185c20(0x12f)](_0x53a072)[_0x185c20(0x141)]();_0x5035ce[_0x185c20(0x143)](_0x53a072,_0x3a29a2);}}async[_0x2ffc44(0x174)](_0x19dc92){const _0x41f715=_0x2ffc44,{connection:_0x3a6d86}=this[_0x41f715(0x185)][_0x41f715(0x183)][_0x41f715(0x12f)](_0x379ff0),_0x41a665=this[_0x41f715(0x185)][_0x41f715(0x183)][_0x41f715(0x12f)](_0x41f715(0x128)),_0x21c4d4=this[_0x41f715(0x14b)][_0x41f715(0x12f)](_0x19dc92),_0x5cf946=await _0x21c4d4[_0x41f715(0x15e)](_0x3a6d86);await this[_0x41f715(0x173)](_0x5cf946);const _0x1b0238=new Set(Array[_0x41f715(0x163)](_0x41a665[_0x41f715(0x136)]({'channelId':_0x19dc92}),_0x370795=>_0x370795['id']));for(const _0x27e958 of _0x5cf946)_0x27e958[_0x41f715(0x158)]||_0x1b0238[_0x41f715(0x145)](_0x27e958[_0x41f715(0x14e)]);for(const _0x520fd9 of _0x1b0238)_0x41a665[_0x41f715(0x16f)](_0x520fd9)[_0x41f715(0x146)]({'isFromAdapter':!0x0});for(const _0x5419ce of _0x5cf946){let _0x549e79=_0x41a665[_0x41f715(0x16f)](_0x5419ce[_0x41f715(0x14e)]);const {commentThreadId:_0x300786,context:_0xaf78bc,attributes:_0x2106aa,resolvedBy:_0x380743,resolvedAt:_0xe65d61,unlinkedAt:_0x1c3988,deletedAt:_0x55f9ed}=_0x5419ce;if(_0x55f9ed)continue;_0x549e79||(_0x549e79=_0x41a665[_0x41f715(0x153)]({'channelId':_0x19dc92,'threadId':_0x300786,'context':_0xaf78bc,'attributes':_0x2106aa||{},'resolvedBy':_0x380743,'resolvedAt':_0xe65d61,'unlinkedAt':_0x1c3988,'isFromAdapter':!0x0}));const _0x56438d=new Set(Array[_0x41f715(0x163)](_0x549e79[_0x41f715(0x176)],_0x50139d=>_0x50139d['id']));for(const _0x1f76ee of _0x5419ce[_0x41f715(0x176)])_0x56438d[_0x41f715(0x145)](_0x1f76ee[_0x41f715(0x13b)]);for(const _0x46a1ac of _0x56438d)_0x549e79[_0x41f715(0x17c)](_0x46a1ac)[_0x41f715(0x146)]({'isFromAdapter':!0x0});for(const _0x2c857b of _0x5419ce[_0x41f715(0x176)]){const _0x160d3a=_0x549e79[_0x41f715(0x17c)](_0x2c857b[_0x41f715(0x13b)]);_0x160d3a?_0x160d3a[_0x41f715(0x12e)]!==_0x2c857b[_0x41f715(0x12e)]&&_0x160d3a[_0x41f715(0x184)]({'content':_0x2c857b[_0x41f715(0x12e)],'isFromAdapter':!0x0}):_0x549e79[_0x41f715(0x14f)](Object[_0x41f715(0x13e)](p(_0x2c857b),{'isFromAdapter':!0x0}));}}}[_0x2ffc44(0x161)](_0x3716e0){const _0x183daa=_0x2ffc44;if(!this[_0x183daa(0x14b)][_0x183daa(0x177)](_0x3716e0))throw new _0x48408a(_0x183daa(0x17f),null,{'channelId':_0x3716e0});return this[_0x183daa(0x14b)][_0x183daa(0x12f)](_0x3716e0);}async[_0x2ffc44(0x173)](_0x1d1081){const _0x71eb55=_0x2ffc44,_0x49a500=this[_0x71eb55(0x185)][_0x71eb55(0x183)][_0x71eb55(0x12f)](_0x467ef8),{connection:_0x7ccfcb}=this[_0x71eb55(0x185)][_0x71eb55(0x183)][_0x71eb55(0x12f)](_0x379ff0),_0x245529=new Set();for(const {resolvedBy:_0x5ae286,comments:_0x567bff}of _0x1d1081){_0x5ae286&&!_0x49a500[_0x71eb55(0x189)](_0x5ae286)&&_0x245529[_0x71eb55(0x125)](_0x5ae286);for(const {userId:_0x5d5deb}of _0x567bff)_0x49a500[_0x71eb55(0x189)](_0x5d5deb)||_0x245529[_0x71eb55(0x125)](_0x5d5deb);}if(0x0===_0x245529[_0x71eb55(0x167)])return;const _0x5c33b6=await _0x277057[_0x71eb55(0x154)](_0x7ccfcb,Array[_0x71eb55(0x163)](_0x245529));for(const _0x3d3207 of _0x5c33b6)_0x49a500[_0x71eb55(0x189)](_0x3d3207['id'])||_0x49a500[_0x71eb55(0x138)](_0x3d3207);}}async function f(_0x5cb58d){const _0x369d73=_0x2ffc44;if(_0x369d73(0x18a)!==_0x5cb58d[_0x369d73(0x150)])throw _0x5cb58d;}function A(_0x5204b4){const _0x2df7a6=_0x2ffc44;if((_0x131362=_0x5204b4)[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x17b))||_0x131362[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x17e))||_0x131362[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x13f)))return new Promise(()=>{});var _0x131362;throw _0x5204b4;}function p(_0x24650f){const _0x47eac8=_0x2ffc44;return{'threadId':_0x24650f[_0x47eac8(0x14e)],'commentId':_0x24650f[_0x47eac8(0x13b)],'content':_0x24650f[_0x47eac8(0x12e)],'createdAt':_0x24650f[_0x47eac8(0x156)],'authorId':_0x24650f[_0x47eac8(0x13d)],'attributes':_0x24650f[_0x47eac8(0x160)]||{}};}
|
|
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
|
-
((()=>_0x11613d)());[_0x1c7799(0x1b8)];[_0x1c7799(0x1bf)];[_0x1c7799(0x22e)];[_0x1c7799(0x24c)];[_0x1c7799(0x1ff)];[_0x1c7799(0x170)];[_0x1c7799(0x22d)];[_0x1c7799(0x23b)];[_0x1c7799(0x21d)];[_0x1c7799(0x157)];[_0x1c7799(0x1ce)];[_0x1c7799(0x24a)];[_0x1c7799(0x255)];[_0x1c7799(0x183)];[_0x1c7799(0x178)];[_0x1c7799(0x1dc)];[_0x1c7799(0x254)];[_0x1c7799(0x1c3)];static get[_0x1c7799(0x1eb)](){return[_0x21506e,_0x48d6c0,_0x4b64bd,_0x12731f,_0x1fb8a9,_0x5494b3];}static get[_0x1c7799(0x198)](){const _0x12b855=_0x1c7799;return _0x12b855(0x227);}static get[_0x1c7799(0x1a5)](){return!0x0;}static get[_0x1c7799(0x23f)](){return!0x0;}get[_0x1c7799(0x1d5)](){const _0x4df81a=_0x1c7799;return this[_0x4df81a(0x233)]+this[_0x4df81a(0x1b8)];}get[_0x1c7799(0x233)](){const _0x5a1c47=_0x1c7799;return this[_0x5a1c47(0x22e)][_0x5a1c47(0x229)]-this[_0x5a1c47(0x1b8)];}get[_0x1c7799(0x1e1)](){const _0x399d96=_0x1c7799,_0x3bee37=this[_0x399d96(0x22e)][_0x399d96(0x1ba)]();for(let _0x514ca9=_0x3bee37[_0x399d96(0x1b6)]-0x1;_0x514ca9>=0x0;_0x514ca9--){const _0x3fb942=_0x3bee37[_0x514ca9];if(!this[_0x399d96(0x254)][_0x399d96(0x193)](_0x3fb942))return _0x3fb942[_0x399d96(0x1e0)]+0x1-this[_0x399d96(0x1b8)];}return 0x0;}constructor(_0x52aae7){const _0x5abdf8=_0x1c7799;if(super(_0x52aae7),this[_0x5abdf8(0x1b8)]=0x0,this[_0x5abdf8(0x1bf)]=null,this[_0x5abdf8(0x22e)]=new _0x276d6e(),this[_0x5abdf8(0x15b)][_0x5abdf8(0x216)][_0x5abdf8(0x20d)](_0x5abdf8(0x1c5),{}),this[_0x5abdf8(0x24c)]=this[_0x5abdf8(0x15b)][_0x5abdf8(0x216)][_0x5abdf8(0x241)](_0x5abdf8(0x1f7)),!this[_0x5abdf8(0x24c)])throw new _0x3af072(_0x5abdf8(0x249),this);const _0x47f0bb=_0x52aae7[_0x5abdf8(0x216)][_0x5abdf8(0x241)](_0x5abdf8(0x244))||_0x59d1e6;this[_0x5abdf8(0x1ff)]=new RealTimeCollaborationClient[(_0x5abdf8(0x221))](_0x47f0bb,this[_0x5abdf8(0x24c)]),this[_0x5abdf8(0x170)]=this[_0x5abdf8(0x15b)][_0x5abdf8(0x252)][_0x5abdf8(0x1fd)],this[_0x5abdf8(0x22d)]=new _0xf76f5d(),this[_0x5abdf8(0x23b)]=[],this[_0x5abdf8(0x21d)]=new WeakSet(),this[_0x5abdf8(0x157)]=new Set(),this[_0x5abdf8(0x231)](_0x5abdf8(0x23a),!0x1),this[_0x5abdf8(0x231)](_0x5abdf8(0x238),!0x1),this[_0x5abdf8(0x1ce)]=null,this[_0x5abdf8(0x24a)]=!0x1,this[_0x5abdf8(0x255)]=null,this[_0x5abdf8(0x183)]=0x12c,this[_0x5abdf8(0x178)]=this[_0x5abdf8(0x183)],this[_0x5abdf8(0x1dc)]=null,this[_0x5abdf8(0x254)]=new WeakSet(),this[_0x5abdf8(0x1c3)]=new J(this[_0x5abdf8(0x254)]);}[_0x1c7799(0x236)](){const _0x131600=_0x1c7799,_0x401883=this[_0x131600(0x15b)],_0x422ed4=_0x401883[_0x131600(0x1be)][_0x131600(0x241)](_0x1fb8a9),_0x42ae68=_0x401883[_0x131600(0x1be)][_0x131600(0x241)](_0x21506e);this[_0x131600(0x1ef)](_0x422ed4,_0x131600(0x214),(_0x2ff0a6,_0x340322)=>{const _0x545898=_0x131600,_0x181640=_0x340322[0x0];_0x181640[_0x545898(0x1db)]&&(_0x2ff0a6[_0x545898(0x15a)]=_0x422ed4[_0x545898(0x22b)](_0x181640[_0x545898(0x1db)]),_0x2ff0a6[_0x545898(0x1fc)]()),null===_0x181640[_0x545898(0x1db)]&&(_0x2ff0a6[_0x545898(0x15a)]=null,_0x2ff0a6[_0x545898(0x1fc)]());},{'priority':_0x131600(0x189)}),this[_0x131600(0x1ef)](_0x401883[_0x131600(0x252)][_0x131600(0x1fd)][_0x131600(0x1d7)],_0x131600(0x232),(_0x23e89b,_0x2a1733)=>{const _0xec2a0a=_0x131600;_0x2a1733[_0xec2a0a(0x1fe)]&&this[_0xec2a0a(0x1cf)]();}),this[_0x131600(0x1ef)](_0x401883[_0x131600(0x219)][_0x131600(0x156)],_0x131600(0x1b3),()=>{const _0x46253d=_0x131600;this[_0x46253d(0x1cf)]();}),this[_0x131600(0x160)](),_0x401883[_0x131600(0x252)]['on'](_0x131600(0x253),(_0x24a811,_0x1e5050)=>{const _0x180036=_0x131600,_0x3f1756=_0x1e5050[0x0];_0x3f1756[_0x180036(0x19e)]&&(this[_0x180036(0x1b1)](_0x3f1756),this[_0x180036(0x1c4)]()&&this[_0x180036(0x16d)]());}),this[_0x131600(0x1c2)](),this[_0x131600(0x20a)](_0x131600(0x250))['to'](_0x42ae68,_0x131600(0x1f2),this,_0x131600(0x238),(_0x472076,_0x42803f)=>_0x131600(0x240)===_0x472076&&!_0x42803f),this['on'](_0x131600(0x207),()=>{const _0x5740f=_0x131600;this[_0x5740f(0x250)]?_0x401883[_0x5740f(0x1d6)](_0x5740f(0x1d8)):_0x401883[_0x5740f(0x1c7)](_0x5740f(0x1d8));}),this[_0x131600(0x250)]?_0x401883[_0x131600(0x1d6)](_0x131600(0x1d8)):_0x401883[_0x131600(0x1c7)](_0x131600(0x1d8)),this[_0x131600(0x231)](_0x131600(0x201),!0x1);}async[_0x1c7799(0x17f)](){const _0x2a672b=_0x1c7799,_0x967a41=this[_0x2a672b(0x15b)][_0x2a672b(0x1be)][_0x2a672b(0x241)](_0x48d6c0),_0x446d12=this[_0x2a672b(0x15b)][_0x2a672b(0x1be)][_0x2a672b(0x241)](_0x21506e);try{this[_0x2a672b(0x23a)]=!0x0,_0x967a41[_0x2a672b(0x1d9)](this[_0x2a672b(0x24c)]);const _0x13a4a5=await this[_0x2a672b(0x1ff)][_0x2a672b(0x17f)](_0x446d12[_0x2a672b(0x1a7)],this[_0x2a672b(0x1e1)]);await this[_0x2a672b(0x259)](_0x13a4a5)&&(this[_0x2a672b(0x23a)]=!0x1,this[_0x2a672b(0x209)]());const _0x115593=await this[_0x2a672b(0x1ff)][_0x2a672b(0x21a)]();_0x967a41[_0x2a672b(0x243)](this[_0x2a672b(0x24c)],_0x115593),this[_0x2a672b(0x23c)](),this[_0x2a672b(0x201)]=!0x0;}catch(_0x5e6a4c){if(function(_0x1c42c3){const _0x1f0ca5=_0x2a672b;return _0x1f0ca5(0x188)===_0x1c42c3[_0x1f0ca5(0x176)];}(_0x5e6a4c)&&this[_0x2a672b(0x1bf)])await this[_0x2a672b(0x1c9)]();else{if(function(_0x216707){const _0x30c373=_0x2a672b;return _0x30c373(0x1ac)===_0x216707[_0x30c373(0x176)];}(_0x5e6a4c)){const _0x8be9dd=_0x1513a6(this[_0x2a672b(0x15b)][_0x2a672b(0x1f8)],_0x2a672b(0x223));this[_0x2a672b(0x19b)](_0x8be9dd);}else{if(!(_0x5e6a4c instanceof $))throw _0x5e6a4c;this[_0x2a672b(0x19b)]();}}}}[_0x1c7799(0x17d)](){const _0x3d564b=_0x1c7799,_0x1b590a=this[_0x3d564b(0x15b)][_0x3d564b(0x1be)][_0x3d564b(0x241)](_0x21506e),_0x5c7172=this[_0x3d564b(0x15b)][_0x3d564b(0x1be)][_0x3d564b(0x241)](_0x48d6c0);this[_0x3d564b(0x15b)][_0x3d564b(0x1c7)](_0x3d564b(0x1a6)),_0x5c7172[_0x3d564b(0x1f6)][_0x3d564b(0x193)](this[_0x3d564b(0x24c)])&&_0x5c7172[_0x3d564b(0x1d9)](this[_0x3d564b(0x24c)]),_0x1b590a[_0x3d564b(0x1b0)](this),this[_0x3d564b(0x24e)](),super[_0x3d564b(0x17d)]();}async[_0x1c7799(0x259)](_0xf15cb3){const _0x653dfa=_0x1c7799;if(this[_0x653dfa(0x1bf)]!==_0xf15cb3[_0x653dfa(0x1bf)]&&this[_0x653dfa(0x1dc)]!==_0xf15cb3[_0x653dfa(0x159)])throw new $();return this[_0x653dfa(0x1bf)]=_0xf15cb3[_0x653dfa(0x1bf)],this[_0x653dfa(0x1a4)]([],{..._0xf15cb3,'wereChangesApplied':!0x1,'data':_0xf15cb3[_0x653dfa(0x225)]},_0x653dfa(0x17f));}async[_0x1c7799(0x1f9)](_0x5b2945,_0x4ce61e=!0x1){const _0x2ae1d0=_0x1c7799,{connection:_0x59d2fc}=this[_0x2ae1d0(0x15b)][_0x2ae1d0(0x1be)][_0x2ae1d0(0x241)](_0x21506e);RealTimeCollaborationClient[_0x2ae1d0(0x221)][_0x2ae1d0(0x21a)](_0x59d2fc,this[_0x2ae1d0(0x24c)])[_0x2ae1d0(0x173)](_0x51179e=>this[_0x2ae1d0(0x1e2)](_0x51179e))[_0x2ae1d0(0x22c)](_0x2af2fd=>{const _0x229089=_0x2ae1d0;this[_0x229089(0x1d0)](_0x229089(0x20f),_0x2af2fd);}),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x16c),this[_0x2ae1d0(0x24b)][_0x2ae1d0(0x20a)](this)),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x1ec),(_0x123c35,_0x3c247f)=>{const _0x16b82e=_0x2ae1d0;this[_0x16b82e(0x1d0)](_0x16b82e(0x1f0),_0x3c247f);}),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x1bd),()=>{const _0x328de7=_0x2ae1d0;this[_0x328de7(0x201)]=!0x1;});const _0xf7f257=this[_0x2ae1d0(0x1c3)][_0x2ae1d0(0x192)](_0x5b2945);this[_0x2ae1d0(0x23a)]=!0x0;const _0x79934=await this[_0x2ae1d0(0x1ff)][_0x2ae1d0(0x19a)](_0x59d2fc,this[_0x2ae1d0(0x1a9)](_0x5b2945),_0xf7f257);if(this[_0x2ae1d0(0x1bf)]=_0x79934[_0x2ae1d0(0x1bf)],_0x4ce61e){if(!_0x79934[_0x2ae1d0(0x20c)])return void this[_0x2ae1d0(0x19b)]();this[_0x2ae1d0(0x23a)]=!0x1,this[_0x2ae1d0(0x209)](),this[_0x2ae1d0(0x22e)][_0x2ae1d0(0x247)](),this[_0x2ae1d0(0x1b8)]=_0x79934[_0x2ae1d0(0x237)],this[_0x2ae1d0(0x22e)][_0x2ae1d0(0x229)]=this[_0x2ae1d0(0x1b8)],await this[_0x2ae1d0(0x1a4)](_0x5b2945,_0x79934,_0x2ae1d0(0x213));}else await this[_0x2ae1d0(0x16f)](_0x79934,_0x5b2945);this[_0x2ae1d0(0x23c)](),this[_0x2ae1d0(0x201)]=!0x0;}[_0x1c7799(0x23c)](){const _0x435a3e=_0x1c7799,_0x1faa8e=this[_0x435a3e(0x15b)][_0x435a3e(0x1be)][_0x435a3e(0x241)](_0x48d6c0),_0x19719f=this[_0x435a3e(0x15b)][_0x435a3e(0x1be)][_0x435a3e(0x241)](_0x4b64bd),_0x542158=_0x1faa8e[_0x435a3e(0x1f6)][_0x435a3e(0x241)](this[_0x435a3e(0x24c)]);_0x542158&&_0x542158[_0x435a3e(0x1b6)]>0x1?_0x19719f[_0x435a3e(0x205)]():this[_0x435a3e(0x1ef)](_0x1faa8e,_0x435a3e(0x195)+this[_0x435a3e(0x24c)],()=>{const _0x5b0f32=_0x435a3e;0x2===_0x1faa8e[_0x5b0f32(0x1f6)][_0x5b0f32(0x241)](this[_0x5b0f32(0x24c)])[_0x5b0f32(0x1b6)]&&_0x19719f[_0x5b0f32(0x205)]();});}async[_0x1c7799(0x24b)](_0x250bab,_0x548cb2,_0x89765d,_0x1665b8){const _0x4de551=_0x1c7799;if(!this[_0x4de551(0x23a)]&&this[_0x4de551(0x170)][_0x4de551(0x229)]==_0x548cb2){const _0x409b7f=this[_0x4de551(0x1e5)](_0x89765d,_0x1665b8);await this[_0x4de551(0x220)](_0x409b7f),this[_0x4de551(0x257)](_0x409b7f,_0x548cb2,_0x89765d[_0x4de551(0x159)])||this[_0x4de551(0x1d0)](_0x4de551(0x22f));}}async[_0x1c7799(0x1c9)](){const _0x32ee17=_0x1c7799;this[_0x32ee17(0x24e)]();const {locale:_0x15c105}=this[_0x32ee17(0x15b)];let _0x21ba83;try{_0x21ba83=await this[_0x32ee17(0x1ff)][_0x32ee17(0x1e8)]();}catch{const _0x1d7dd7=_0x1513a6(_0x15c105,_0x32ee17(0x161));return void this[_0x32ee17(0x19b)](_0x1d7dd7);}const _0x207c05=_0x21ba83[_0x32ee17(0x23d)]||_0x21ba83[_0x32ee17(0x175)];if(this[_0x32ee17(0x1dc)]!==_0x207c05[_0x32ee17(0x159)]){const _0x1bb9fc=_0x1513a6(_0x15c105,_0x32ee17(0x1a2));return void this[_0x32ee17(0x19b)](_0x1bb9fc);}await this[_0x32ee17(0x1f9)](this[_0x32ee17(0x15b)][_0x32ee17(0x252)][_0x32ee17(0x1fd)][_0x32ee17(0x165)][_0x32ee17(0x1ba)](),!0x0);}[_0x1c7799(0x24e)](){const _0x413f79=_0x1c7799;this[_0x413f79(0x1ff)][_0x413f79(0x212)](),this[_0x413f79(0x23b)]=[],clearTimeout(this[_0x413f79(0x255)]),this[_0x413f79(0x182)](this[_0x413f79(0x1ff)]);}[_0x1c7799(0x1e2)](_0x1197e1){const _0x2def6f=_0x1c7799,_0x17a7c7=this[_0x2def6f(0x15b)][_0x2def6f(0x1be)][_0x2def6f(0x241)](_0x48d6c0);this[_0x2def6f(0x1ef)](_0x17a7c7,_0x2def6f(0x195)+this[_0x2def6f(0x24c)],(_0x1a10bc,{session:_0x58b224})=>{const _0x198814=_0x2def6f;if(_0x58b224['id']===_0x17a7c7[_0x198814(0x15d)]){_0x1a10bc[_0x198814(0x203)]();const _0x15700e=this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x193)](_0x198814(0x25a))&&this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x241)](_0x198814(0x25a));let _0x6d9ff8=_0x58b224[_0x198814(0x18f)];_0x15700e&&_0x15700e[_0x198814(0x20b)]&&(_0x6d9ff8=_0x6d9ff8[_0x198814(0x1ea)](_0x8418d0=>_0x198814(0x1c0)!==_0x8418d0)),this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x241)](_0x198814(0x1d2))[_0x198814(0x18d)](_0x6d9ff8,this[_0x198814(0x24c)]);}}),_0x17a7c7[_0x2def6f(0x243)](this[_0x2def6f(0x24c)],_0x1197e1);}[_0x1c7799(0x160)](){const _0x297623=_0x1c7799,_0x299a28=this[_0x297623(0x15b)][_0x297623(0x225)][_0x297623(0x231)];this[_0x297623(0x15b)][_0x297623(0x225)][_0x297623(0x231)]=(..._0x12166b)=>{const _0x3ace01=_0x297623;if(!_0x12166b[_0x12166b[_0x3ace01(0x1b6)]-0x1][_0x3ace01(0x1da)])throw new _0x3af072(_0x3ace01(0x163),this);_0x299a28[_0x3ace01(0x258)](this[_0x3ace01(0x15b)][_0x3ace01(0x225)],_0x12166b);};}[_0x1c7799(0x1c2)](){const _0x507391=_0x1c7799;this[_0x507391(0x15b)][_0x507391(0x225)]['on'](_0x507391(0x236),(_0x13ffb7,[_0x3c78f4])=>{const _0xafe661=_0x507391;if(this[_0xafe661(0x170)][_0xafe661(0x229)])throw new _0x3af072(_0xafe661(0x206),this);_0x13ffb7[_0xafe661(0x1fc)](),this[_0xafe661(0x1b5)]();const _0x14520d=this[_0xafe661(0x15b)][_0xafe661(0x216)][_0xafe661(0x241)](_0xafe661(0x16b)),_0xcf3e2c=this[_0xafe661(0x1e7)](_0x3c78f4,_0x14520d);0x0==_0xcf3e2c[_0xafe661(0x1b6)]&&_0xcf3e2c[_0xafe661(0x1bc)](new _0x379d05(0x0)),_0x13ffb7[_0xafe661(0x15a)]=this[_0xafe661(0x1f9)](_0xcf3e2c)[_0xafe661(0x173)](()=>{const _0x233281=_0xafe661;this[_0x233281(0x15b)][_0x233281(0x1be)][_0x233281(0x241)](_0x21506e)[_0x233281(0x1e3)](this),this[_0x233281(0x15b)][_0x233281(0x225)][_0x233281(0x177)](_0x233281(0x1b9));})[_0xafe661(0x22c)](_0xb00d9a=>this[_0xafe661(0x1d0)](_0xafe661(0x1cd),_0xb00d9a))[_0xafe661(0x245)](()=>this[_0xafe661(0x209)]());},{'priority':_0x507391(0x189)}),this[_0x507391(0x15b)]['on'](_0x507391(0x21b),async(_0x4b55eb,[_0x1a700e,_0x5f0ae7])=>{const _0x450d9c=_0x507391;_0x4b55eb[_0x450d9c(0x1fc)]();const _0x592f1f=this[_0x450d9c(0x15b)][_0x450d9c(0x252)][_0x450d9c(0x1fd)][_0x450d9c(0x235)](_0x1a700e);if(!this[_0x450d9c(0x157)][_0x450d9c(0x193)](_0x1a700e)){const _0x2cfeda=_0x5f0ae7&&_0x5f0ae7[_0x450d9c(0x225)]?_0x5f0ae7[_0x450d9c(0x225)]:'',_0x3d5286=_0x5f0ae7&&_0x5f0ae7[_0x450d9c(0x21e)]?_0x5f0ae7[_0x450d9c(0x21e)]:{};await this[_0x450d9c(0x1f4)](_0x1a700e,_0x2cfeda,_0x3d5286);}this[_0x450d9c(0x15b)][_0x450d9c(0x252)][_0x450d9c(0x226)]({'isUndoable':!0x1},()=>{const _0x185818=_0x450d9c;_0x592f1f[_0x185818(0x174)]=!0x0,this[_0x185818(0x15b)][_0x185818(0x252)][_0x185818(0x1fd)][_0x185818(0x1ab)][_0x185818(0x17a)](_0x592f1f);});},{'priority':_0x507391(0x189)});}async[_0x1c7799(0x220)](_0x1dfe7a){const _0x58716f=_0x1c7799,_0x30d827=this[_0x58716f(0x15b)][_0x58716f(0x1be)][_0x58716f(0x241)](_0x1fb8a9),{connection:_0x23cf1b}=this[_0x58716f(0x15b)][_0x58716f(0x1be)][_0x58716f(0x241)](_0x21506e),_0x4c7a98=new Set();for(const _0xa9dba6 of _0x1dfe7a){const _0x22cdec=_0xa9dba6[_0x58716f(0x1db)];_0x22cdec&&!_0x30d827[_0x58716f(0x22b)](_0x22cdec)&&_0x4c7a98[_0x58716f(0x191)](_0x22cdec);}if(0x0===_0x4c7a98[_0x58716f(0x224)])return;const _0x5222a2=await _0xb2772[_0x58716f(0x154)](_0x23cf1b,Array[_0x58716f(0x1df)](_0x4c7a98));for(const _0x2c5f11 of _0x5222a2)_0x30d827[_0x58716f(0x22b)](_0x2c5f11['id'])||_0x30d827[_0x58716f(0x168)](_0x2c5f11);}[_0x1c7799(0x1e7)](_0x3fb965,_0x45c69d={}){const _0x56c72e=_0x1c7799,_0x436fbe=this[_0x56c72e(0x15b)][_0x56c72e(0x252)],_0x4bf7f1=[];let _0x2a2b2f=0x0;const _0x487d62=_0x56c72e(0x1ca)==typeof _0x3fb965?{'main':_0x3fb965}:_0x3fb965;for(const _0x25ca53 of Object[_0x56c72e(0x197)](_0x487d62)){if(!this[_0x56c72e(0x170)][_0x56c72e(0x1aa)][_0x56c72e(0x193)](_0x25ca53))throw new _0x3af072(_0x56c72e(0x18c),this);const _0x2ce783=this[_0x56c72e(0x15b)][_0x56c72e(0x225)][_0x56c72e(0x186)](_0x487d62[_0x25ca53]),_0x5b9e32=this[_0x56c72e(0x170)][_0x56c72e(0x235)](_0x25ca53),_0x1bbbd3=new _0x304e12(_0x436fbe[_0x56c72e(0x256)](_0x5b9e32,0x0),_0x2ce783,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x1bbbd3);for(const [_0x51a2c9,_0x29d2aa]of _0x2ce783[_0x56c72e(0x217)]){const _0x1ccf5c=_0x436fbe[_0x56c72e(0x1c6)](_0x436fbe[_0x56c72e(0x24d)](_0x5b9e32,_0x29d2aa[_0x56c72e(0x24f)][_0x56c72e(0x1b2)][_0x56c72e(0x215)]()),_0x436fbe[_0x56c72e(0x24d)](_0x5b9e32,_0x29d2aa[_0x56c72e(0x190)][_0x56c72e(0x1b2)][_0x56c72e(0x215)]())),_0x293b5d=new _0x196036(_0x51a2c9,null,_0x1ccf5c,_0x436fbe[_0x56c72e(0x217)],!0x0,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x293b5d);}}if(_0x45c69d)for(const [_0x46d681,_0x31c184]of Object[_0x56c72e(0x1bb)](_0x45c69d)){const _0x357207=_0x436fbe[_0x56c72e(0x1fd)][_0x56c72e(0x235)](_0x46d681);if(!_0x357207)throw new _0x3af072(_0x56c72e(0x1c8),null);for(const [_0x22392e,_0xffb429]of Object[_0x56c72e(0x1bb)](_0x31c184))if(null!==_0xffb429){const _0x880a59=new _0x1e264f(_0x357207,_0x22392e,null,_0xffb429,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x880a59);}}return _0x4bf7f1;}async[_0x1c7799(0x1f4)](_0x1c28a6,_0xd2f3fe,_0x24246e){const _0x2f2873=_0x1c7799;this[_0x2f2873(0x1e7)]({[_0x1c28a6]:_0xd2f3fe},{[_0x1c28a6]:_0x24246e})[_0x2f2873(0x1a8)]((_0x470cdc,_0x20a5dc)=>{const _0x5c6f8f=_0x2f2873;_0x470cdc[_0x5c6f8f(0x1e0)]=this[_0x5c6f8f(0x170)][_0x5c6f8f(0x229)]+_0x20a5dc,_0x470cdc[_0x5c6f8f(0x1de)]=!0x0,this[_0x5c6f8f(0x1b1)](_0x470cdc);}),this[_0x2f2873(0x16d)](),await this[_0x2f2873(0x17b)]();}async[_0x1c7799(0x16f)](_0x66062a,_0x225766){const _0x4bb44a=_0x1c7799;let _0xfbe1db;this[_0x4bb44a(0x1b8)]=_0x66062a[_0x4bb44a(0x237)];const _0x4be425=_0x66062a[_0x4bb44a(0x20c)]&&!_0x66062a[_0x4bb44a(0x23e)],_0x238f53=_0x4be425?0x0:_0x66062a[_0x4bb44a(0x225)][_0x4bb44a(0x1e0)];if(_0x225766[_0x4bb44a(0x1a8)](_0x1b65ef=>{const _0x5c5cc2=_0x4bb44a;_0x1b65ef[_0x5c5cc2(0x1de)]=!0x0,_0x1b65ef[_0x5c5cc2(0x167)]=_0x66062a[_0x5c5cc2(0x204)],_0x1b65ef[_0x5c5cc2(0x1db)]=null;}),_0x4be425)_0xfbe1db=_0x225766,this[_0x4bb44a(0x171)](_0xfbe1db,_0x4be425);else{if(_0x66062a[_0x4bb44a(0x23e)]){const _0x1103f1=this[_0x4bb44a(0x1e7)](_0x66062a[_0x4bb44a(0x23e)]);this[_0x4bb44a(0x170)][_0x4bb44a(0x165)][_0x4bb44a(0x229)]=-_0x1103f1[_0x4bb44a(0x1b6)],_0x1103f1[_0x4bb44a(0x1a8)](_0x13f2bc=>{const _0x257002=_0x4bb44a;_0x13f2bc[_0x257002(0x1e0)]-=_0x1103f1[_0x257002(0x1b6)],_0x13f2bc[_0x257002(0x167)]=_0x66062a[_0x257002(0x204)],_0x13f2bc[_0x257002(0x1de)]=!0x0,_0x13f2bc[_0x257002(0x1db)]=null;}),this[_0x4bb44a(0x171)](_0x1103f1,!0x0),this[_0x4bb44a(0x22e)][_0x4bb44a(0x229)]=-_0x1103f1[_0x4bb44a(0x1b6)]+this[_0x4bb44a(0x1b8)],this[_0x4bb44a(0x1dd)](_0x1103f1);}this[_0x4bb44a(0x170)][_0x4bb44a(0x165)][_0x4bb44a(0x229)]=_0x238f53,_0xfbe1db=this[_0x4bb44a(0x1e5)](_0x66062a[_0x4bb44a(0x225)],_0x66062a[_0x4bb44a(0x19f)]),await this[_0x4bb44a(0x220)](_0xfbe1db),this[_0x4bb44a(0x171)](_0xfbe1db,_0x4be425);}_0x66062a[_0x4bb44a(0x159)]&&(this[_0x4bb44a(0x1c3)][_0x4bb44a(0x1af)](_0xfbe1db,_0x66062a[_0x4bb44a(0x159)]),this[_0x4bb44a(0x1dc)]=_0x66062a[_0x4bb44a(0x159)]),this[_0x4bb44a(0x22e)][_0x4bb44a(0x229)]=_0x238f53+this[_0x4bb44a(0x1b8)],this[_0x4bb44a(0x1dd)](_0xfbe1db),_0x225766[_0x4bb44a(0x1ea)](_0x466cef=>{const _0x22057b=_0x4bb44a,_0x5569bf=this[_0x22057b(0x184)](_0x466cef);return _0x5569bf&&!this[_0x22057b(0x157)][_0x22057b(0x193)](_0x5569bf);})[_0x4bb44a(0x1a8)]((_0x1f47a3,_0x4a35b6)=>{const _0x385dae=_0x4bb44a;_0x1f47a3[_0x385dae(0x1e0)]=this[_0x385dae(0x170)][_0x385dae(0x229)]+_0x4a35b6,this[_0x385dae(0x1b1)](_0x1f47a3);}),this[_0x4bb44a(0x1c4)]()?(this[_0x4bb44a(0x178)]=0x0,this[_0x4bb44a(0x16d)](!0x0),await this[_0x4bb44a(0x17b)]()):(this[_0x4bb44a(0x23a)]=!0x1,this[_0x4bb44a(0x209)]());}[_0x1c7799(0x1d0)](_0x2d6cae,_0x2d5e7a){const _0x47d4a3=_0x1c7799,_0x3ca6ec=_0x2d5e7a&&_0x2d5e7a[_0x47d4a3(0x15e)];if(_0x3ca6ec&&_0x3ca6ec[_0x47d4a3(0x1d4)](_0x47d4a3(0x222)))throw _0x2d5e7a;const _0x5c491e=this[_0x47d4a3(0x15b)][_0x47d4a3(0x1be)][_0x47d4a3(0x241)](_0x21506e);throw this[_0x47d4a3(0x23a)]=!0x0,_0x5c491e[_0x47d4a3(0x212)](),this[_0x47d4a3(0x15b)][_0x47d4a3(0x1c7)](_0x47d4a3(0x17e)),new _0x3af072(_0x2d6cae,this[_0x47d4a3(0x15b)],_0x3ca6ec?{'originalError':_0x3ca6ec}:void 0x0);}[_0x1c7799(0x1b1)](_0x1d5648){const _0x148c45=_0x1c7799;this[_0x148c45(0x21d)][_0x148c45(0x193)](_0x1d5648)||(this[_0x148c45(0x21d)][_0x148c45(0x191)](_0x1d5648),this[_0x148c45(0x23b)][_0x148c45(0x1bc)](_0x1d5648),this[_0x148c45(0x1ce)]||_0x148c45(0x18b)==_0x1d5648[_0x148c45(0x19d)]&&!_0x1d5648[_0x148c45(0x1d3)]||this[_0x148c45(0x1b5)]());}[_0x1c7799(0x16d)](_0x34157b=!0x1){const _0x3d3214=_0x1c7799;!_0x34157b&&this[_0x3d3214(0x23a)]||(this[_0x3d3214(0x23a)]=!0x0,clearTimeout(this[_0x3d3214(0x255)]),this[_0x3d3214(0x255)]=setTimeout(()=>{const _0x5aa2c9=_0x3d3214;this[_0x5aa2c9(0x248)]()[_0x5aa2c9(0x173)](_0x540dc2=>{const _0x1cccc3=_0x5aa2c9;_0x540dc2&&(this[_0x1cccc3(0x209)](),this[_0x1cccc3(0x23a)]=!0x1);})[_0x5aa2c9(0x22c)](_0x188987=>{const _0x131cfa=_0x5aa2c9;this[_0x131cfa(0x209)](),this[_0x131cfa(0x23a)]=!0x1,function(_0x56c29c){const _0x274ddc=_0x131cfa;return _0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x187))||_0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x16a))||_0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x228));}(_0x188987)||this[_0x131cfa(0x1d0)](_0x188987[_0x131cfa(0x15e)],_0x188987);});},this[_0x3d3214(0x178)]));}[_0x1c7799(0x17b)](){return new Promise(_0x1fe0ba=>{const _0x4b3be4=_0x3e36;this['on'](_0x4b3be4(0x1a0),()=>{_0x1fe0ba();});});}async[_0x1c7799(0x248)](){const _0x10fff6=_0x1c7799,_0x53a5ec=this[_0x10fff6(0x15b)][_0x10fff6(0x1be)][_0x10fff6(0x241)](_0x4b64bd);if(this[_0x10fff6(0x1e4)]()&&(_0x53a5ec[_0x10fff6(0x205)](),this[_0x10fff6(0x24a)]=!0x1),!this[_0x10fff6(0x1c4)]())return!0x0;const _0x855f31=[...this[_0x10fff6(0x23b)]];for(const _0x42e0e7 of _0x855f31)_0x42e0e7[_0x10fff6(0x208)]=this[_0x10fff6(0x170)][_0x10fff6(0x165)][_0x10fff6(0x19c)](_0x42e0e7);const _0x145a60=this[_0x10fff6(0x1c3)][_0x10fff6(0x192)](_0x855f31),_0x3a10f1=G++,_0x589a73=this[_0x10fff6(0x1a9)](_0x855f31),_0x491c8c=await this[_0x10fff6(0x1ff)][_0x10fff6(0x1c1)](_0x589a73,_0x589a73[_0x10fff6(0x1e0)],_0x145a60);try{return await this[_0x10fff6(0x1a4)](_0x855f31,_0x491c8c,_0x3a10f1);}catch(_0xc05604){return this[_0x10fff6(0x1d0)](_0x10fff6(0x199),_0xc05604);}}async[_0x1c7799(0x1a4)](_0x8ea758,_0xa5e2cf,_0x415057){const _0x5bd372=_0x1c7799;if(_0x5bd372(0x1ec)in _0xa5e2cf)throw _0xa5e2cf[_0x5bd372(0x1ec)];let _0x1c685d=!0x1;if(_0xa5e2cf[_0x5bd372(0x20c)]){_0xa5e2cf[_0x5bd372(0x159)]&&(this[_0x5bd372(0x1dc)]=_0xa5e2cf[_0x5bd372(0x159)]),this[_0x5bd372(0x23b)]=this[_0x5bd372(0x23b)][_0x5bd372(0x1ea)](_0x206cc6=>!_0x8ea758[_0x5bd372(0x18e)](_0x206cc6));for(const _0x548177 of _0x8ea758)_0x548177[_0x5bd372(0x167)]=_0x5bd372(0x185)in _0xa5e2cf&&_0xa5e2cf[_0x5bd372(0x185)]||void 0x0;K(_0x8ea758,_0xa5e2cf[_0x5bd372(0x229)]-_0x8ea758[_0x5bd372(0x1b6)]),this[_0x5bd372(0x1dd)](_0x8ea758);const _0x378851=_0x8ea758[_0x5bd372(0x1ea)](_0xf6951e=>{const _0x5f3ed4=_0x5bd372;if(!_0xf6951e[_0x5f3ed4(0x1de)])return!0x1;const _0x52de88=this[_0x5f3ed4(0x184)](_0xf6951e);return _0x52de88&&!this[_0x5f3ed4(0x157)][_0x5f3ed4(0x193)](_0x52de88);});K(_0x378851,this[_0x5bd372(0x170)][_0x5bd372(0x229)]),this[_0x5bd372(0x171)](_0x378851),_0x1c685d=!0x0,this[_0x5bd372(0x178)]=this[_0x5bd372(0x183)];}else{const _0x32da26=this[_0x5bd372(0x1e5)](_0xa5e2cf[_0x5bd372(0x225)],_0xa5e2cf[_0x5bd372(0x19f)])[_0x5bd372(0x1ea)](_0x1e2d44=>_0x1e2d44[_0x5bd372(0x1e0)]>=this[_0x5bd372(0x233)]);_0x32da26[_0x5bd372(0x1a8)](_0x1ffa21=>this[_0x5bd372(0x1b4)](_0x1ffa21)),this[_0x5bd372(0x23b)]=this[_0x5bd372(0x23b)][_0x5bd372(0x1ea)](_0x23022b=>!_0x23022b[_0x5bd372(0x1de)]||!this[_0x5bd372(0x157)][_0x5bd372(0x193)](this[_0x5bd372(0x184)](_0x23022b))),this[_0x5bd372(0x23b)][_0x5bd372(0x1b6)]&&K(this[_0x5bd372(0x23b)],this[_0x5bd372(0x23b)][0x0][_0x5bd372(0x1e0)]),await this[_0x5bd372(0x220)](_0x32da26),_0x1c685d=this[_0x5bd372(0x257)](_0x32da26,_0xa5e2cf[_0x5bd372(0x229)],_0xa5e2cf[_0x5bd372(0x159)]),this[_0x5bd372(0x178)]=Math[_0x5bd372(0x1cb)](this[_0x5bd372(0x178)]/0x2);}return _0x1c685d?!this[_0x5bd372(0x1c4)]()||(this[_0x5bd372(0x16d)](!0x0),!0x1):this[_0x5bd372(0x1d0)](_0x5bd372(0x230));}[_0x1c7799(0x257)](_0x2661ba,_0x68adde,_0x5b0e2d){const _0x14c5e4=_0x1c7799;try{const _0x3da733={'document':this[_0x14c5e4(0x170)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x280b4c,operationsB:_0x1082c4,originalOperations:_0x15e3fd}=_0x8985f5(_0x2661ba,this[_0x14c5e4(0x23b)],_0x3da733);K(_0x280b4c,this[_0x14c5e4(0x170)][_0x14c5e4(0x229)]),K(_0x1082c4,_0x68adde);for(const _0xbe16f3 of _0x280b4c){const _0xcf0561=_0x15e3fd[_0x14c5e4(0x241)](_0xbe16f3);_0xbe16f3[_0x14c5e4(0x1db)]=_0xcf0561?_0xcf0561[_0x14c5e4(0x1db)]:null;}_0x5b0e2d&&(this[_0x14c5e4(0x1c3)][_0x14c5e4(0x1af)](_0x2661ba,_0x5b0e2d),this[_0x14c5e4(0x1dc)]=_0x5b0e2d),this[_0x14c5e4(0x23b)]=[..._0x1082c4],this[_0x14c5e4(0x171)](_0x280b4c),this[_0x14c5e4(0x1dd)](_0x2661ba);}catch(_0xcb838a){return console[_0x14c5e4(0x1ec)](_0xcb838a),!0x1;}return!0x0;}[_0x1c7799(0x171)](_0x2f8a48,_0x3a1025=!0x1){const _0x104253=_0x1c7799;this[_0x104253(0x15b)][_0x104253(0x252)][_0x104253(0x226)]({'isUndoable':!0x1,'isLocal':!0x1},_0x28522c=>{const _0x192541=_0x104253;for(const _0xa6e39b of _0x2f8a48)this[_0x192541(0x21d)][_0x192541(0x191)](_0xa6e39b),this[_0x192541(0x1b4)](_0xa6e39b),_0x28522c[_0x192541(0x22a)][_0x192541(0x162)](_0xa6e39b),this[_0x192541(0x15b)][_0x192541(0x252)][_0x192541(0x253)](_0xa6e39b);});}[_0x1c7799(0x1b4)](_0x299276){const _0x262266=_0x1c7799,_0x3edd86=this[_0x262266(0x184)](_0x299276);_0x3edd86&&this[_0x262266(0x157)][_0x262266(0x191)](_0x3edd86);}[_0x1c7799(0x184)](_0x113fed){const _0x2d881f=_0x1c7799;let _0x4065d5,_0x3546be;switch(_0x113fed[_0x2d881f(0x19d)]){case _0x2d881f(0x234):_0x4065d5=_0x113fed[_0x2d881f(0x1fb)][_0x2d881f(0x1e9)];break;case _0x2d881f(0x18b):if(_0x3546be=_0x113fed[_0x2d881f(0x210)],!_0x3546be)return null;_0x4065d5=_0x3546be[_0x2d881f(0x1e9)];break;case _0x2d881f(0x1ed):_0x4065d5=_0x113fed[_0x2d881f(0x1e9)];break;case _0x2d881f(0x16e):_0x4065d5=_0x113fed[_0x2d881f(0x1f1)];break;case _0x2d881f(0x15c):_0x4065d5=_0x113fed[_0x2d881f(0x239)][_0x2d881f(0x1e9)];break;default:return null;}return _0x4065d5[_0x2d881f(0x158)];}[_0x1c7799(0x1dd)](_0xf11dec){const _0x8a462a=_0x1c7799;_0xf11dec[_0x8a462a(0x1a8)](_0x4dfa99=>{const _0x3d5fac=_0x8a462a,_0x510ed1=_0x4dfa99[_0x3d5fac(0x17c)]();_0x510ed1[_0x3d5fac(0x1db)]=_0x4dfa99[_0x3d5fac(0x1db)],_0x510ed1[_0x3d5fac(0x1de)]=!!_0x4dfa99[_0x3d5fac(0x1de)],_0x510ed1[_0x3d5fac(0x167)]=_0x4dfa99[_0x3d5fac(0x167)],_0x510ed1[_0x3d5fac(0x1e0)]+=this[_0x3d5fac(0x1b8)],_0x4dfa99[_0x3d5fac(0x196)]&&this[_0x3d5fac(0x254)][_0x3d5fac(0x191)](_0x510ed1),this[_0x3d5fac(0x22e)][_0x3d5fac(0x162)](_0x510ed1);});}[_0x1c7799(0x19b)](_0x5e8602){const _0xa07f01=_0x1c7799,_0x30ef05=this[_0xa07f01(0x15b)][_0xa07f01(0x1be)][_0xa07f01(0x241)](_0xa07f01(0x1fa)),_0x492e3f=this[_0xa07f01(0x15b)][_0xa07f01(0x1f8)];_0x5e8602||(_0x5e8602=_0x1513a6(_0x492e3f,_0xa07f01(0x242))),_0x30ef05[_0xa07f01(0x164)](_0x5e8602,{'title':_0x1513a6(_0x492e3f,_0xa07f01(0x1f5)),'namespace':_0xa07f01(0x1ae)}),this[_0xa07f01(0x238)]=!0x0,clearTimeout(this[_0xa07f01(0x255)]),this[_0xa07f01(0x23b)]=[],this[_0xa07f01(0x15b)][_0xa07f01(0x1be)][_0xa07f01(0x241)](_0x21506e)[_0xa07f01(0x212)]();}[_0x1c7799(0x1b5)](){const _0x2b9ce6=_0x1c7799;this[_0x2b9ce6(0x1ce)]||(this[_0x2b9ce6(0x1ce)]=this[_0x2b9ce6(0x15b)][_0x2b9ce6(0x1be)][_0x2b9ce6(0x241)](_0x12731f)[_0x2b9ce6(0x191)](_0x1513a6(this[_0x2b9ce6(0x15b)][_0x2b9ce6(0x1f8)],_0x2b9ce6(0x251))));}[_0x1c7799(0x209)](){const _0x3e6a97=_0x1c7799;this[_0x3e6a97(0x1ce)]&&(this[_0x3e6a97(0x15b)][_0x3e6a97(0x1be)][_0x3e6a97(0x241)](_0x12731f)[_0x3e6a97(0x155)](this[_0x3e6a97(0x1ce)]),this[_0x3e6a97(0x1ce)]=null);}[_0x1c7799(0x1a9)](_0x79d51b){const _0x473ecc=_0x1c7799,_0x3e42cf=_0x79d51b[_0x473ecc(0x1f3)](_0x263368=>_0x263368[_0x473ecc(0x21f)]());return this[_0x473ecc(0x22d)][_0x473ecc(0x1b7)](_0x3e42cf);}[_0x1c7799(0x1e5)](_0x531e9f,_0x473df2){const _0x5392a4=_0x1c7799;return this[_0x5392a4(0x22d)][_0x5392a4(0x211)](_0x531e9f)[_0x5392a4(0x1f3)]((_0x5c37f2,_0x3e3c2f)=>{const _0x22d069=_0x5392a4,_0x2f596b=_0x22d069(0x236)==_0x473df2[_0x3e3c2f][_0x22d069(0x19d)];if(_0x22d069(0x1ad)==_0x5c37f2[_0x22d069(0x1a3)]){const _0x59cc28=_0x5c37f2[_0x22d069(0x1fb)][_0x22d069(0x1e9)];!this[_0x22d069(0x170)][_0x22d069(0x235)](_0x59cc28)&&(this[_0x22d069(0x170)][_0x22d069(0x246)](_0x22d069(0x15f),_0x59cc28)[_0x22d069(0x202)]=!0x1);}const _0x7fa1b=_0x5b6ba9[_0x22d069(0x1ee)](_0x5c37f2,this[_0x22d069(0x170)]);return _0x7fa1b[_0x22d069(0x208)]=_0x5c37f2[_0x22d069(0x208)],_0x7fa1b[_0x22d069(0x1de)]=_0x2f596b,_0x7fa1b[_0x22d069(0x1db)]=_0x2f596b?null:_0x473df2[_0x3e3c2f][_0x22d069(0x1a1)],_0x7fa1b[_0x22d069(0x196)]=_0x22d069(0x181)===_0x473df2[_0x3e3c2f][_0x22d069(0x19d)],_0x7fa1b[_0x22d069(0x167)]=_0x473df2[_0x3e3c2f][_0x22d069(0x167)],_0x7fa1b;});}[_0x1c7799(0x1cf)](){const _0x1493cd=_0x1c7799;this[_0x1493cd(0x24a)]=!0x0,this[_0x1493cd(0x1e4)]()?this[_0x1493cd(0x16d)]():this[_0x1493cd(0x24a)]=!0x1;}[_0x1c7799(0x1e4)](){const _0x17b150=_0x1c7799,_0x597a3f=this[_0x17b150(0x15b)][_0x17b150(0x1be)][_0x17b150(0x241)](_0x48d6c0)[_0x17b150(0x1f6)][_0x17b150(0x241)](this[_0x17b150(0x24c)]);return!this[_0x17b150(0x15b)][_0x17b150(0x172)]&&!!_0x597a3f&&_0x597a3f[_0x17b150(0x1b6)]>0x1&&this[_0x17b150(0x24a)];}[_0x1c7799(0x1c4)](){const _0x473b2b=_0x1c7799;return this[_0x473b2b(0x23b)][_0x473b2b(0x1b6)]>0x0||this[_0x473b2b(0x1e4)]();}}class $ extends Error{}function K(_0x29ad10,_0x54d70c){const _0xdeb9=_0x1c7799;for(const _0x53ad46 of _0x29ad10)_0x53ad46[_0xdeb9(0x1e0)]=_0x54d70c++;}class J{[_0x1c7799(0x1cc)];[_0x1c7799(0x18a)];constructor(_0x535de8){const _0x4c720a=_0x1c7799;this[_0x4c720a(0x1cc)]=_0x535de8,this[_0x4c720a(0x18a)]=new WeakMap();}[_0x1c7799(0x192)](_0xf86265){const _0x268351=_0x1c7799;let _0x18b2b5=_0xf86265[_0x268351(0x1b6)];for(;_0x18b2b5--;){const _0x3f8273=_0xf86265[_0x18b2b5];if(!this[_0x268351(0x1cc)][_0x268351(0x193)](_0x3f8273)){if(!this[_0x268351(0x18a)][_0x268351(0x193)](_0x3f8273)){const _0xc54955=_0x4ba152()[_0x268351(0x215)](0x1,0x12);this[_0x268351(0x18a)][_0x268351(0x231)](_0x3f8273,_0xc54955);}return this[_0x268351(0x18a)][_0x268351(0x241)](_0x3f8273);}}}[_0x1c7799(0x1af)](_0x271ed3,_0x135b17){const _0x2baa8d=_0x1c7799;if(!_0x135b17)return;let _0x3f411f=_0x271ed3[_0x2baa8d(0x1b6)];for(;_0x3f411f--;){const _0x4a4dc8=_0x271ed3[_0x3f411f];this[_0x2baa8d(0x1cc)][_0x2baa8d(0x193)](_0x4a4dc8)||this[_0x2baa8d(0x18a)][_0x2baa8d(0x231)](_0x4a4dc8,_0x135b17);}}}
|
|
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
|
-
const _0x20a41b=_0x583a;function _0x2897(){const _0x14839c=['applyOperation','update:user:range','markerRange','get','isOfficialPlugin','reconvertMarker','toRange','keydown','destroy','for','createUIElement','getStart','batch','span','enqueueChange','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mySessionId','type','13321ZCuVDY','startsWith','markerToElement','Escape','isDocumentOperation','getContainedElement','data-session-id','getNearestSelectionRange','color','editingDowncast','isObject','root','conversion','ck-user__marker\x20','nodeAfter','createUserMarkerOperations','schema','3252qNQqld','user:','3483423DILSoY','toDomElement','markerNameToElements','isPremiumPlugin','pluginName','editing','element','requires','hasContent','isSimilar','635daQNUt','mouseleave','editor','mapper','getRange','outerHTML','newRange','markerToHighlight','226800xgBAYF','deletionPosition','hasDomSelection','commands','delete','spellcheck','getFirstRange','1025416fGaaBL','getMarkerClass','init','add','classList','getSelectionClass','name','ck-user__selection','rootName','ck-user__marker-tooltip','render','addMarker','updateMarker','checkChild','user:position','isCollapsed','getAttribute','marker','76569ncfTRp','undo','detach','setCustomProperty','$text','createElement','fromRange','textContent','getCustomProperty','afterInit','change:range','user:range','mouseenter','tableCell','highest','orderNumber','start','addEventListener','selection','document','getUserBySessionId','_domEmitter','remove','change','ck-user__marker_hovered','getPositions','createRange','model','innerHTML','plugins','listenTo','UserMarkers','user:position:','331409HSRUEZ','set','removeMarker','stopListening','isLimit','size','has','contenteditable','split','oldRange','markerName','clear','false','parent','984YuVBdk','end','user:range:','setAttribute','removeClass','isInline','view','$graveyard','userPositionMarker','markers','_createdBatches'];_0x2897=function(){return _0x14839c;};return _0x2897();}(function(_0x2bb971,_0x30cdbf){const _0x1ed93e=_0x583a,_0x4c6029=_0x2bb971();while(!![]){try{const _0x44df1b=parseInt(_0x1ed93e(0x204))/0x1+-parseInt(_0x1ed93e(0x254))/0x2+-parseInt(_0x1ed93e(0x1e3))/0x3+parseInt(_0x1ed93e(0x25b))/0x4+-parseInt(_0x1ed93e(0x24c))/0x5*(parseInt(_0x1ed93e(0x240))/0x6)+parseInt(_0x1ed93e(0x22f))/0x7*(parseInt(_0x1ed93e(0x212))/0x8)+-parseInt(_0x1ed93e(0x242))/0x9;if(_0x44df1b===_0x30cdbf)break;else _0x4c6029['push'](_0x4c6029['shift']());}catch(_0x592a87){_0x4c6029['push'](_0x4c6029['shift']());}}}(_0x2897,0x376d4));function _0x583a(_0x4dca87,_0x5eb039){const _0x2897ab=_0x2897();return _0x583a=function(_0x583a1e,_0x5d48e6){_0x583a1e=_0x583a1e-0x1da;let _0x1a7545=_0x2897ab[_0x583a1e];return _0x1a7545;},_0x583a(_0x4dca87,_0x5eb039);}import{Plugin as _0x599974}from'ckeditor5/src/core.js';import{global as _0x1ab8b4,DomEmitterMixin as _0x549b6e}from'ckeditor5/src/utils.js';import{Sessions as _0x3cb4b4}from'./sessions.js';import{ModelLiveRange as _0x450b03}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x599974{[_0x20a41b(0x1f8)]=new(_0x549b6e())();static get[_0x20a41b(0x249)](){return[_0x3cb4b4];}static get[_0x20a41b(0x246)](){const _0x5f2840=_0x20a41b;return _0x5f2840(0x202);}static get[_0x20a41b(0x221)](){return!0x0;}static get[_0x20a41b(0x245)](){return!0x0;}[_0x20a41b(0x25d)](){const _0xee4776=_0x20a41b,_0x1be170=this[_0xee4776(0x24e)],_0xc665ed=_0x1be170[_0xee4776(0x200)][_0xee4776(0x220)](_0x3cb4b4);_0x1be170[_0xee4776(0x23b)][_0xee4776(0x226)](_0xee4776(0x238))[_0xee4776(0x231)]({'model':_0xee4776(0x1df),'view':(_0x159cb7,{writer:_0x296201})=>function(_0x104a9c,_0x902200,_0x278a59,_0x48c52c){const _0x2a7539=_0xee4776,_0x29f8cc=_0x104a9c[_0x2a7539(0x20e)][_0x2a7539(0x20c)](':')[0x2],_0x5cc042=_0x278a59[_0x2a7539(0x1f7)](_0x29f8cc);if(!_0x5cc042||_0x29f8cc===_0x278a59[_0x2a7539(0x22d)])return;if(!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)][_0x2a7539(0x1de)](_0x104a9c[_0x2a7539(0x21f)][_0x2a7539(0x1f3)],_0x2a7539(0x1e7)))return;const _0x1eeabe={'class':_0x2a7539(0x23c)+_0x5cc042[_0x2a7539(0x237)][_0x2a7539(0x25c)](),'data-name':_0x5cc042[_0x2a7539(0x261)],'data-session-id':_0x29f8cc},_0x27fddb=_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x21b)][_0x2a7539(0x220)](_0x104a9c[_0x2a7539(0x20e)]),_0x4b64fb=_0x27fddb[_0x2a7539(0x228)](),_0x200a2a=_0x4b64fb[_0x2a7539(0x23d)],_0x3a4985=_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)];if(_0x200a2a&&_0x3a4985[_0x2a7539(0x239)](_0x200a2a)&&_0x3a4985[_0x2a7539(0x217)](_0x200a2a)&&!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x21b)][_0x2a7539(0x220)](_0x2a7539(0x214)+_0x29f8cc)[_0x2a7539(0x250)]()[_0x2a7539(0x1e0)])return;const _0x70b9ff=_0x4b64fb[_0x2a7539(0x211)];return _0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)][_0x2a7539(0x208)](_0x70b9ff)&&!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x24a)](_0x70b9ff)&&(_0x1eeabe[_0x2a7539(0x20b)]=!0x1),function(_0x221ff7,_0x1f0f2c,_0x248bb0){const _0x2cb8a4=_0x2a7539,_0x281113=_0x221ff7[_0x2cb8a4(0x227)](_0x2cb8a4(0x22a),_0x1f0f2c);return _0x221ff7[_0x2cb8a4(0x1e6)](_0x2cb8a4(0x21a),!0x0,_0x281113),_0x281113[_0x2cb8a4(0x1db)]=function(_0x4a2b1d){const _0x36e85c=_0x2cb8a4,_0x150b66=this[_0x36e85c(0x243)](_0x4a2b1d),_0x1b3db6=document[_0x36e85c(0x1e8)](_0x36e85c(0x22a));return _0x1b3db6[_0x36e85c(0x25f)][_0x36e85c(0x25e)](_0x36e85c(0x1da)),_0x1b3db6[_0x36e85c(0x215)](_0x36e85c(0x20b),_0x36e85c(0x210)),_0x1b3db6[_0x36e85c(0x215)](_0x36e85c(0x259),_0x36e85c(0x210)),_0x1b3db6[_0x36e85c(0x1ea)]=_0x248bb0[_0x36e85c(0x261)],_0x150b66[_0x36e85c(0x1ff)]=_0x36e85c(0x22c)+_0x1b3db6[_0x36e85c(0x251)]+'',_0x150b66[_0x36e85c(0x1f4)](_0x36e85c(0x1ef),()=>{const _0x18a3ee=_0x36e85c;_0x150b66[_0x18a3ee(0x25f)][_0x18a3ee(0x25e)](_0x18a3ee(0x1fb));}),_0x150b66[_0x36e85c(0x1f4)](_0x36e85c(0x24d),()=>{const _0x40be0f=_0x36e85c;_0x150b66[_0x40be0f(0x25f)][_0x40be0f(0x1f9)](_0x40be0f(0x1fb));}),_0x150b66;},_0x281113[_0x2cb8a4(0x24b)]=function(_0x3c2e36){const _0x2cdb9f=_0x2cb8a4;return!(!this[_0x2cdb9f(0x1eb)](_0x2cdb9f(0x21a))||!_0x3c2e36[_0x2cdb9f(0x1eb)](_0x2cdb9f(0x21a))||this[_0x2cdb9f(0x1e1)](_0x2cdb9f(0x235))!=_0x3c2e36[_0x2cdb9f(0x1e1)](_0x2cdb9f(0x235)));},_0x281113;}(_0x902200,_0x1eeabe,_0x5cc042);}(_0x159cb7,_0x296201,_0xc665ed,_0x1be170)}),_0x1be170[_0xee4776(0x23b)][_0xee4776(0x226)](_0xee4776(0x238))[_0xee4776(0x253)]({'model':_0xee4776(0x1ee),'view':_0x23b61e=>function(_0x26e0ef,_0x2c94ef){const _0x51fa19=_0xee4776,_0x3355aa=_0x26e0ef[_0x51fa19(0x20e)][_0x51fa19(0x20c)](':')[0x2];if(_0x3355aa===_0x2c94ef[_0x51fa19(0x22d)])return null;const _0x54376f=_0x2c94ef[_0x51fa19(0x1f7)](_0x3355aa);if(!_0x54376f)return{'id':_0x3355aa,'classes':[]};return{'id':_0x3355aa,'classes':[_0x51fa19(0x262),_0x54376f[_0x51fa19(0x237)][_0x51fa19(0x260)]()],'attributes':{'data-session-id':_0x3355aa},'priority':0x7d0+_0x54376f[_0x51fa19(0x1f2)]};}(_0x23b61e,_0xc665ed)}),function(_0x501ed8){const _0x1615c0=_0xee4776,_0x3d02b9=_0x501ed8[_0x1615c0(0x1fe)],_0x426239=new Map(),_0x120a97=_0x501ed8[_0x1615c0(0x200)][_0x1615c0(0x220)](_0x3cb4b4);_0x3d02b9[_0x1615c0(0x21b)]['on'](_0x1615c0(0x21e),(_0x559ced,_0x27ade1,_0x507dea,_0x23aa3e)=>{const _0xb3dea4=_0x1615c0;if(!_0x23aa3e&&_0x426239[_0xb3dea4(0x220)](_0x27ade1[_0xb3dea4(0x261)]))return _0x426239[_0xb3dea4(0x220)](_0x27ade1[_0xb3dea4(0x261)])[_0xb3dea4(0x1e5)](),void _0x426239[_0xb3dea4(0x258)](_0x27ade1[_0xb3dea4(0x261)]);const _0x5acc07=_0x27ade1[_0xb3dea4(0x261)][_0xb3dea4(0x20c)](':')[0x2];if(_0x5acc07===_0x120a97[_0xb3dea4(0x22d)])return;const _0x525e3c=_0xb3dea4(0x203)+_0x5acc07;_0x3d02b9[_0xb3dea4(0x21b)][_0xb3dea4(0x20a)](_0x525e3c)&&_0x501ed8[_0xb3dea4(0x247)][_0xb3dea4(0x222)](_0x525e3c),_0x27ade1['on'](_0xb3dea4(0x1ed),(_0x39ad29,_0x3f07f8,_0x3d0db0)=>{const _0x53215d=_0xb3dea4;if(_0x53215d(0x219)!=_0x3f07f8[_0x53215d(0x23a)][_0x53215d(0x263)]&&_0x53215d(0x219)==_0x27ade1[_0x53215d(0x250)]()[_0x53215d(0x23a)][_0x53215d(0x263)]&&!_0x426239[_0x53215d(0x20a)](_0x27ade1[_0x53215d(0x261)])){const _0x55bf40=_0x3d02b9[_0x53215d(0x23f)][_0x53215d(0x236)](_0x3d0db0[_0x53215d(0x255)]);if(_0x55bf40){const _0x5af59c=_0x450b03[_0x53215d(0x1e9)](_0x55bf40);_0x426239[_0x53215d(0x205)](_0x27ade1[_0x53215d(0x261)],_0x5af59c),_0x5af59c['on'](_0x53215d(0x1ed),(_0x1e3ea6,_0x53a4d7,_0x17eaaf)=>{const _0x1badc4=_0x53215d;if(_0x1badc4(0x219)==_0x5af59c[_0x1badc4(0x23a)][_0x1badc4(0x263)]){const _0x5983b8=_0x3d02b9[_0x1badc4(0x23f)][_0x1badc4(0x236)](_0x17eaaf[_0x1badc4(0x255)]);_0x5983b8?(_0x5af59c[_0x1badc4(0x1f3)]=_0x5983b8[_0x1badc4(0x1f3)],_0x5af59c[_0x1badc4(0x213)]=_0x5983b8[_0x1badc4(0x213)]):(_0x426239[_0x1badc4(0x258)](_0x27ade1[_0x1badc4(0x261)]),_0x5af59c[_0x1badc4(0x1e5)]());}});}}});}),_0x3d02b9[_0x1615c0(0x1f6)]['on'](_0x1615c0(0x1fa),()=>{const _0x1e02d6=_0x1615c0;_0x426239[_0x1e02d6(0x209)]>0x0&&_0x3d02b9[_0x1e02d6(0x22b)]({'isUndoable':!0x1},_0x3690ae=>{const _0x1d2a52=_0x1e02d6;for(const [_0x139deb,_0x5ecdb7]of _0x426239)_0x1d2a52(0x219)==_0x3d02b9[_0x1d2a52(0x21b)][_0x1d2a52(0x220)](_0x139deb)[_0x1d2a52(0x250)]()[_0x1d2a52(0x23a)][_0x1d2a52(0x263)]&&(Z(_0x139deb[_0x1d2a52(0x20c)](':')[0x2],_0x5ecdb7[_0x1d2a52(0x223)](),_0x3d02b9,_0x3690ae),_0x5ecdb7[_0x1d2a52(0x1e5)]());_0x426239[_0x1d2a52(0x20f)]();});});}(_0x1be170),this[_0xee4776(0x1f8)][_0xee4776(0x201)](_0x1ab8b4[_0xee4776(0x1f6)],_0xee4776(0x224),(_0x7d2f4f,{key:_0x2db0eb})=>{const _0x30139f=_0xee4776;_0x30139f(0x232)===_0x2db0eb&&function(_0x11dcd4){const _0x56e01c=_0x30139f;_0x11dcd4[_0x56e01c(0x247)][_0x56e01c(0x218)][_0x56e01c(0x1fa)](_0x158979=>{const _0x597ed8=_0x56e01c;for(const _0x48b009 of _0x11dcd4[_0x597ed8(0x1fe)][_0x597ed8(0x21b)]){if(!_0x48b009[_0x597ed8(0x261)][_0x597ed8(0x230)](_0x597ed8(0x1df)))continue;const _0x16af06=_0x11dcd4[_0x597ed8(0x247)][_0x597ed8(0x24f)][_0x597ed8(0x244)](_0x48b009[_0x597ed8(0x261)]);if(_0x16af06){for(const _0x3f4fa7 of _0x16af06)_0x158979[_0x597ed8(0x216)](_0x597ed8(0x1fb),_0x3f4fa7);}}});}(_0x1be170);},{'useCapture':!0x0});}[_0x20a41b(0x1ec)](){const _0x57dfb3=_0x20a41b,_0x26849e=this[_0x57dfb3(0x24e)],_0x7756cd=_0x26849e[_0x57dfb3(0x257)][_0x57dfb3(0x220)](_0x57dfb3(0x1e4));_0x7756cd&&_0x26849e[_0x57dfb3(0x1fe)]['on'](_0x57dfb3(0x21d),(_0x3a8d62,_0x42902f)=>{const _0x10156a=_0x57dfb3,_0x1ec92b=_0x42902f[0x0];if(!_0x1ec92b[_0x10156a(0x233)])return;if(_0x10156a(0x1e2)!=_0x1ec92b[_0x10156a(0x22e)]||!_0x1ec92b[_0x10156a(0x261)][_0x10156a(0x230)](_0x10156a(0x241)))return;const _0x605eed=_0x1ec92b[_0x10156a(0x229)];_0x7756cd[_0x10156a(0x21c)][_0x10156a(0x20a)](_0x605eed)&&(_0x1ec92b[_0x10156a(0x252)]=_0x1ec92b[_0x10156a(0x20d)]?_0x26849e[_0x10156a(0x1fe)][_0x10156a(0x1fd)](_0x1ec92b[_0x10156a(0x20d)][_0x10156a(0x1f3)],_0x1ec92b[_0x10156a(0x20d)][_0x10156a(0x213)]):null);},{'priority':_0x57dfb3(0x1f1)});}[_0x20a41b(0x225)](){const _0x541462=_0x20a41b;return this[_0x541462(0x1f8)][_0x541462(0x207)](),super[_0x541462(0x225)]();}[_0x20a41b(0x23e)](){const _0x55e6d0=_0x20a41b,_0x224102=this[_0x55e6d0(0x24e)],_0x5758cd=_0x224102[_0x55e6d0(0x1fe)][_0x55e6d0(0x1f6)],_0xbb92ad=_0x224102[_0x55e6d0(0x200)][_0x55e6d0(0x220)](_0x3cb4b4);_0x224102[_0x55e6d0(0x1fe)][_0x55e6d0(0x22b)]({'isUndoable':!0x1},_0x58085b=>{const _0x443c47=_0x55e6d0,_0x4827c2=_0x443c47(0x214)+_0xbb92ad[_0x443c47(0x22d)],_0x39b4f5=_0x443c47(0x203)+_0xbb92ad[_0x443c47(0x22d)],_0x80dac1=_0x224102[_0x443c47(0x1fe)][_0x443c47(0x21b)][_0x443c47(0x20a)](_0x4827c2);_0x224102[_0x443c47(0x247)][_0x443c47(0x218)][_0x443c47(0x256)]?Z(_0xbb92ad[_0x443c47(0x22d)],_0x5758cd[_0x443c47(0x1f5)][_0x443c47(0x25a)](),_0x224102[_0x443c47(0x1fe)],_0x58085b):_0x80dac1&&(_0x58085b[_0x443c47(0x206)](_0x4827c2),_0x58085b[_0x443c47(0x206)](_0x39b4f5));});}}function Z(_0x4adfe3,_0x3a6a04,_0x42ef88,_0x23d82c){const _0x47e316=_0x20a41b,_0x15fdde=_0x47e316(0x214)+_0x4adfe3,_0x175431=_0x47e316(0x203)+_0x4adfe3,_0x18849e=_0x3a6a04[_0x47e316(0x234)]();let _0x236317=_0x3a6a04[_0x47e316(0x1f3)];if(_0x18849e&&_0x18849e['is'](_0x47e316(0x248),_0x47e316(0x1f0))){const _0x45e742=function(_0x1cb0b1,_0x25518a){const _0x55dd7b=_0x47e316;for(const _0x4d5294 of _0x1cb0b1[_0x55dd7b(0x1fc)]())if(_0x25518a[_0x55dd7b(0x23f)][_0x55dd7b(0x1de)](_0x4d5294,_0x55dd7b(0x1e7)))return _0x4d5294;}(_0x3a6a04,_0x42ef88);_0x45e742&&(_0x236317=_0x45e742,_0x3a6a04=_0x23d82c[_0x47e316(0x1fd)](_0x236317));}const _0x53487d=_0x23d82c[_0x47e316(0x1fd)](_0x236317);_0x42ef88[_0x47e316(0x21b)][_0x47e316(0x20a)](_0x15fdde)?(_0x23d82c[_0x47e316(0x1dd)](_0x15fdde,{'range':_0x3a6a04}),_0x23d82c[_0x47e316(0x1dd)](_0x175431,{'range':_0x53487d})):(_0x23d82c[_0x47e316(0x1dc)](_0x15fdde,{'range':_0x3a6a04,'usingOperation':!0x0}),_0x23d82c[_0x47e316(0x1dc)](_0x175431,{'range':_0x53487d,'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}));}
|