@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.3 → 43.1.0-alpha.4
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/package.json +9 -9
- 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/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1857(){const _0x1215de=['ck-presence-list__counter--hidden','div','1986194BodxYX','3pqfvZt','ck-presence-list__counter','isHidden','1180153TGoWkk','795GaKsca','668042kOjJOm','bindTemplate','set','174704vWjULB','10980xYbvZl','usersCount','setTemplate','977716IgjtcP','315SeyTel','12777890SwrobS','CONNECTED_USERS'];_0x1857=function(){return _0x1215de;};return _0x1857();}(function(_0x1c92ad,_0x5efe73){const _0x34c4a4=_0x2f07,_0x53917f=_0x1c92ad();while(!![]){try{const _0x266390=parseInt(_0x34c4a4(0xa8))/0x1+parseInt(_0x34c4a4(0xaa))/0x2+parseInt(_0x34c4a4(0xa5))/0x3*(parseInt(_0x34c4a4(0xb1))/0x4)+-parseInt(_0x34c4a4(0xa9))/0x5*(parseInt(_0x34c4a4(0xae))/0x6)+-parseInt(_0x34c4a4(0xa4))/0x7+parseInt(_0x34c4a4(0xad))/0x8*(parseInt(_0x34c4a4(0xb2))/0x9)+-parseInt(_0x34c4a4(0xb3))/0xa;if(_0x266390===_0x5efe73)break;else _0x53917f['push'](_0x53917f['shift']());}catch(_0x8a11f1){_0x53917f['push'](_0x53917f['shift']());}}}(_0x1857,0xa3ae0));import{View as _0x546ea4}from'ckeditor5/src/ui.js';import{getTranslation as _0x22915b}from'../../common-translations.js';function _0x2f07(_0x100ece,_0x51920a){const _0x185727=_0x1857();return _0x2f07=function(_0x2f07b0,_0x29f1de){_0x2f07b0=_0x2f07b0-0xa4;let _0x1b2677=_0x185727[_0x2f07b0];return _0x1b2677;},_0x2f07(_0x100ece,_0x51920a);}export default class ts extends _0x546ea4{constructor(_0x423939){const _0x1f28a6=_0x2f07;super(_0x423939);const _0x48bcea=this[_0x1f28a6(0xab)];this[_0x1f28a6(0xac)](_0x1f28a6(0xaf),0x0),this[_0x1f28a6(0xac)](_0x1f28a6(0xa7),!0x0),this[_0x1f28a6(0xb0)]({'tag':_0x1f28a6(0xb6),'attributes':{'class':['ck',_0x1f28a6(0xa6),_0x48bcea['if'](_0x1f28a6(0xa7),_0x1f28a6(0xb5))]},'children':[{'text':_0x48bcea['to'](_0x1f28a6(0xaf),_0x340882=>_0x22915b(_0x423939,_0x1f28a6(0xb4),_0x340882))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x539d85=_0x5ea5;function _0x5455(){const _0x220426=['6uDvMTm','name','ck-user__full-name','getBackgroundColorClass','element','span','9HMjiWZ','true','1235705VVBEVS','ck-presence-list__marker','fire','2699198oHNCSw','10595000RUFGUi','3973669vfFMlv','userView','presentation','button','16kZTUVN','666474qDnFXb','ck-presence-list__dropdown-list-item','tag','3XLyKtP','execute','color','22910899oRSXxL','focus','8494950aQrLhc','bindTemplate','setTemplate'];_0x5455=function(){return _0x220426;};return _0x5455();}(function(_0x1d9197,_0x5cab5c){const _0x297ccf=_0x5ea5,_0x238d9e=_0x1d9197();while(!![]){try{const _0x150d95=-parseInt(_0x297ccf(0x1a7))/0x1+-parseInt(_0x297ccf(0x1a0))/0x2*(-parseInt(_0x297ccf(0x1aa))/0x3)+-parseInt(_0x297ccf(0x1a6))/0x4*(parseInt(_0x297ccf(0x19d))/0x5)+parseInt(_0x297ccf(0x195))/0x6*(-parseInt(_0x297ccf(0x1a2))/0x7)+-parseInt(_0x297ccf(0x1a1))/0x8*(parseInt(_0x297ccf(0x19b))/0x9)+parseInt(_0x297ccf(0x192))/0xa+parseInt(_0x297ccf(0x190))/0xb;if(_0x150d95===_0x5cab5c)break;else _0x238d9e['push'](_0x238d9e['shift']());}catch(_0x3ad39c){_0x238d9e['push'](_0x238d9e['shift']());}}}(_0x5455,0xb3667));function _0x5ea5(_0x4a56b,_0x28dc37){const _0x5455fc=_0x5455();return _0x5ea5=function(_0x5ea5db,_0x549fb0){_0x5ea5db=_0x5ea5db-0x18f;let _0x30ccd6=_0x5455fc[_0x5ea5db];return _0x30ccd6;},_0x5ea5(_0x4a56b,_0x28dc37);}import{ListItemView as _0x5c1ceb}from'ckeditor5/src/ui.js';import{UserView as _0x787413}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x5c1ceb{constructor(_0x183fb3,_0xaea925,_0x536674){const _0x2caabb=_0x5ea5;super(_0x183fb3);const _0x330dbc=this[_0x2caabb(0x193)];this[_0x2caabb(0x1a3)]=new _0x787413(_0x183fb3,_0xaea925);const _0x389057={'tag':'li','attributes':{'class':['ck',_0x2caabb(0x1a8)],'tabindex':-0x1,'role':_0x2caabb(0x1a4),'aria-label':_0xaea925[_0x2caabb(0x196)]},'children':[this[_0x2caabb(0x1a3)],{'tag':_0x2caabb(0x19a),'attributes':{'class':['ck',_0x2caabb(0x197)]},'children':[{'text':_0xaea925[_0x2caabb(0x196)]}]},{'tag':_0x2caabb(0x19a),'attributes':{'class':['ck',_0x2caabb(0x19e),_0xaea925[_0x2caabb(0x18f)][_0x2caabb(0x198)]()],'aria-hidden':_0x2caabb(0x19c)}}]};_0x536674&&(_0x389057[_0x2caabb(0x1a9)]=_0x2caabb(0x1a5),_0x389057['on']={'click':_0x330dbc['to'](()=>this[_0x2caabb(0x19f)](_0x2caabb(0x1ab)))}),this[_0x2caabb(0x194)](_0x389057);}[_0x539d85(0x191)](){const _0xfbd1b7=_0x539d85;this[_0xfbd1b7(0x199)][_0xfbd1b7(0x191)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3189(){const _0x53bae9=['14707QVwNgQ','8PgXVHM','role','application','element','div','12102444PNIoey','change','ariaLabel','_isScrollable','Connected\x20users\x20list\x20dropdown\x20menu','clientHeight','ck-list','set','innerHeight','2334iDCIoO','ck-presence-list__dropdown-list-wrapper_scrollable','listWrapperView','items','max','resize','ariaLabelledBy','checkIfScrollable','setTemplate','ck-presence-list__dropdown-list-wrapper','render','6755rQmEyQ','3456GeerSj','window','780NKRVRR','6Hfmvlf','scrollHeight','1948620GcDYyW','ck-presence-list__dropdown-list','26SDpIqJ','ck-reset','listenTo','bindTemplate','30210VGhxny','710NXIIKD','6755217oyxadi'];_0x3189=function(){return _0x53bae9;};return _0x3189();}const _0x2c008e=_0x32a0;(function(_0x502471,_0x1c04d5){const _0x433d72=_0x32a0,_0x4e8f2a=_0x502471();while(!![]){try{const _0x1d60b3=parseInt(_0x433d72(0x17e))/0x1*(-parseInt(_0x433d72(0x182))/0x2)+-parseInt(_0x433d72(0x173))/0x3*(parseInt(_0x433d72(0x17f))/0x4)+-parseInt(_0x433d72(0x18b))/0x5*(parseInt(_0x433d72(0x18a))/0x6)+-parseInt(_0x433d72(0x18c))/0x7*(-parseInt(_0x433d72(0x165))/0x8)+parseInt(_0x433d72(0x16a))/0x9+-parseInt(_0x433d72(0x181))/0xa*(-parseInt(_0x433d72(0x164))/0xb)+parseInt(_0x433d72(0x184))/0xc*(-parseInt(_0x433d72(0x186))/0xd);if(_0x1d60b3===_0x1c04d5)break;else _0x4e8f2a['push'](_0x4e8f2a['shift']());}catch(_0x184f43){_0x4e8f2a['push'](_0x4e8f2a['shift']());}}}(_0x3189,0xa676c));import{ListView as _0x2c9a58,View as _0x3783fe}from'ckeditor5/src/ui.js';import{global as _0x8c43c3}from'ckeditor5/src/utils.js';import{getTranslation as _0x1f5e26}from'../../common-translations.js';function _0x32a0(_0x1261ba,_0x3bd9a9){const _0x318907=_0x3189();return _0x32a0=function(_0x32a0f7,_0x126f37){_0x32a0f7=_0x32a0f7-0x164;let _0x401038=_0x318907[_0x32a0f7];return _0x401038;},_0x32a0(_0x1261ba,_0x3bd9a9);}export default class j extends _0x3783fe{constructor(_0x11b8c8,_0x1e2a25){const _0xe9b844=_0x32a0;super(_0x11b8c8),this[_0xe9b844(0x175)]=new PresenceDropdownListWrapperView(_0x11b8c8,_0x1e2a25),this[_0xe9b844(0x17b)]({'tag':_0xe9b844(0x169),'attributes':{'tabindex':-0x1,'role':_0xe9b844(0x167),'class':['ck',_0xe9b844(0x185)],'aria-label':_0x1f5e26(_0x11b8c8,_0xe9b844(0x16e))},'children':[this[_0xe9b844(0x175)]]});}}export class PresenceDropdownListWrapperView extends _0x2c9a58{constructor(_0x37dc73,_0x3fc358){const _0x3426e6=_0x32a0;super(_0x37dc73);const _0x1ef091=this[_0x3426e6(0x189)];this[_0x3426e6(0x171)](_0x3426e6(0x16d),!0x1),this[_0x3426e6(0x17b)]({'tag':_0x3fc358?_0x3426e6(0x169):'ul','attributes':{'class':['ck',_0x3426e6(0x187),_0x3426e6(0x170),_0x3426e6(0x17c),_0x1ef091['if'](_0x3426e6(0x16d),_0x3426e6(0x174))],'role':_0x1ef091['to'](_0x3426e6(0x166)),'aria-label':_0x1ef091['to'](_0x3426e6(0x16c)),'aria-labelledby':_0x1ef091['to'](_0x3426e6(0x179))},'children':this[_0x3426e6(0x176)]}),this[_0x3426e6(0x188)](_0x8c43c3[_0x3426e6(0x180)],_0x3426e6(0x178),()=>this[_0x3426e6(0x17a)]()),this[_0x3426e6(0x176)]['on'](_0x3426e6(0x16b),()=>this[_0x3426e6(0x17a)]());}[_0x2c008e(0x17d)](){const _0x16a9e1=_0x2c008e;super[_0x16a9e1(0x17d)](),this[_0x16a9e1(0x17a)]();}[_0x2c008e(0x17a)](){const _0x4d62a8=_0x2c008e,_0x4f3072=this[_0x4d62a8(0x168)];_0x4f3072&&(this[_0x4d62a8(0x16d)]=Math[_0x4d62a8(0x177)](_0x4f3072[_0x4d62a8(0x183)],_0x4f3072[_0x4d62a8(0x16f)])>0.8*window[_0x4d62a8(0x172)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5169c8,_0x2f5159){const _0x1a1cb7=_0x24d6,_0x56fd78=_0x5169c8();while(!![]){try{const _0x994306=parseInt(_0x1a1cb7(0xde))/0x1*(-parseInt(_0x1a1cb7(0xe6))/0x2)+-parseInt(_0x1a1cb7(0xec))/0x3*(-parseInt(_0x1a1cb7(0xdc))/0x4)+-parseInt(_0x1a1cb7(0xe9))/0x5+parseInt(_0x1a1cb7(0xdf))/0x6+-parseInt(_0x1a1cb7(0xe8))/0x7*(parseInt(_0x1a1cb7(0xed))/0x8)+-parseInt(_0x1a1cb7(0xd5))/0x9+-parseInt(_0x1a1cb7(0xd8))/0xa*(-parseInt(_0x1a1cb7(0xd2))/0xb);if(_0x994306===_0x2f5159)break;else _0x56fd78['push'](_0x56fd78['shift']());}catch(_0x4ed4a8){_0x56fd78['push'](_0x56fd78['shift']());}}}(_0x4b68,0x5d74d));function _0x24d6(_0x4eafe5,_0x12ad86){const _0x4b68d7=_0x4b68();return _0x24d6=function(_0x24d69a,_0x4e007d){_0x24d69a=_0x24d69a-0xd2;let _0x28e015=_0x4b68d7[_0x24d69a];return _0x28e015;},_0x24d6(_0x4eafe5,_0x12ad86);}import{LabelView as _0x1a7eb0,View as _0x3fb9cb}from'ckeditor5/src/ui.js';import{UserView as _0x149fe8}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x3fb9cb{constructor(_0x340eab,_0x533c30,_0xfae860){const _0x342f1a=_0x24d6;super(_0x340eab);const _0x4e0d5a=this[_0x342f1a(0xd7)];this[_0x342f1a(0xda)](_0x342f1a(0xe0),!0x1),this[_0x342f1a(0xda)](_0x342f1a(0xd6),!0x0),this[_0x342f1a(0xda)](_0x342f1a(0xf3),''),this[_0x342f1a(0xf2)]=new _0x149fe8(_0x340eab,_0x533c30),this[_0x342f1a(0xef)]=new ct(_0x340eab,_0x533c30);const _0x3b3685=new _0x1a7eb0(_0x340eab);_0x3b3685[_0x342f1a(0xf1)][_0x342f1a(0xe5)]=_0x342f1a(0xe1),_0x3b3685[_0x342f1a(0xe7)]=_0x533c30[_0x342f1a(0xdb)];const _0x1e1004={'tag':_0x342f1a(0xf0),'attributes':{'class':['ck',_0x342f1a(0xd4)],'role':_0x342f1a(0xd3),'tabindex':_0x4e0d5a['to'](_0x342f1a(0xe0),_0x47023e=>!!_0x47023e&&0x0),'aria-labelledby':_0x3b3685['id'],'data-cke-tooltip-text':this[_0x342f1a(0xf2)][_0x342f1a(0xdb)],'data-cke-tooltip-position':_0x4e0d5a['to'](_0x342f1a(0xf3)),'data-cke-tooltip-disabled':_0x4e0d5a['to'](_0x342f1a(0xd6),_0x37d953=>!_0x37d953),'data-cke-tooltip-class':_0x342f1a(0xe4)},'children':[this[_0x342f1a(0xf2)],this[_0x342f1a(0xef)],_0x3b3685]};_0xfae860&&(_0x1e1004[_0x342f1a(0xe5)]=_0x342f1a(0xee),_0x1e1004['on']={'click':_0x4e0d5a['to'](()=>this[_0x342f1a(0xd9)](_0x342f1a(0xdd)))}),this[_0x342f1a(0xe2)](_0x1e1004);}}function _0x4b68(){const _0x49f6e6=['setTemplate','getBackgroundColorClass','ck-presence-list__list-item__tooltip','tag','4972fqwCOp','text','7rezkcb','2751655pLsExm','true','color','3MIazru','1019208POWZdo','button','markerView','div','template','userView','tooltipPosition','ck-presence-list__marker','77HCaviB','listitem','ck-presence-list__list-item','6515613NIlKWa','hasTooltip','bindTemplate','1941310dCBDrD','fire','set','name','312716XRuspm','execute','113CyXNkZ','3769848tbrigX','isFocusable','span'];_0x4b68=function(){return _0x49f6e6;};return _0x4b68();}class ct extends _0x3fb9cb{constructor(_0xcecb52,_0x29cf3d){const _0x2336c0=_0x24d6;super(_0xcecb52),this[_0x2336c0(0xe2)]({'tag':_0x2336c0(0xe1),'attributes':{'class':['ck',_0x2336c0(0xf4),_0x29cf3d[_0x2336c0(0xeb)][_0x2336c0(0xe3)]()],'aria-hidden':_0x2336c0(0xea)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6caed6=_0x3e75;function _0x3e75(_0x193bd3,_0x54b0e2){const _0x5078c8=_0x5078();return _0x3e75=function(_0x3e753c,_0x40620f){_0x3e753c=_0x3e753c-0x1cf;let _0x1d42d8=_0x5078c8[_0x3e753c];return _0x1d42d8;},_0x3e75(_0x193bd3,_0x54b0e2);}(function(_0x3c49c3,_0x35e1e2){const _0xd8bb64=_0x3e75,_0x3f8619=_0x3c49c3();while(!![]){try{const _0x2b9af4=-parseInt(_0xd8bb64(0x1de))/0x1+-parseInt(_0xd8bb64(0x1cf))/0x2*(-parseInt(_0xd8bb64(0x1d3))/0x3)+parseInt(_0xd8bb64(0x1d5))/0x4+parseInt(_0xd8bb64(0x1e3))/0x5+parseInt(_0xd8bb64(0x1d4))/0x6+parseInt(_0xd8bb64(0x1d6))/0x7*(-parseInt(_0xd8bb64(0x1d0))/0x8)+-parseInt(_0xd8bb64(0x1ea))/0x9;if(_0x2b9af4===_0x35e1e2)break;else _0x3f8619['push'](_0x3f8619['shift']());}catch(_0x576e28){_0x3f8619['push'](_0x3f8619['shift']());}}}(_0x5078,0xada2f));import{View as _0x55a78f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4c8074}from'ckeditor5/src/utils.js';import{getTranslation as _0x3ce91d}from'../../common-translations.js';export default class es extends _0x55a78f{constructor(_0x28dda3){const _0x2ae4be=_0x3e75;super(_0x28dda3);const _0x22f247=this[_0x2ae4be(0x1e9)];this[_0x2ae4be(0x1dc)]=this[_0x2ae4be(0x1d9)](),this[_0x2ae4be(0x1ec)]=new _0x4c8074(),this[_0x2ae4be(0x1e8)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2ae4be(0x1da)]({'tag':_0x2ae4be(0x1e2),'attributes':{'aria-haspopup':_0x22f247['if'](_0x2ae4be(0x1e7)),'aria-expanded':_0x22f247['to'](_0x2ae4be(0x1d8),_0x3b1bb0=>this[_0x2ae4be(0x1e7)]&&String(_0x3b1bb0)),'aria-label':_0x22f247['to'](_0x2ae4be(0x1e7),_0x915154=>_0x3ce91d(_0x28dda3,_0x915154?_0x2ae4be(0x1df):_0x2ae4be(0x1db))),'role':_0x2ae4be(0x1d2),'tabindex':_0x22f247['to'](_0x2ae4be(0x1e7),_0x33466c=>!!_0x33466c&&0x0),'class':['ck',_0x2ae4be(0x1e1)]},'children':this[_0x2ae4be(0x1dc)],'on':{'click':_0x22f247['to'](()=>this[_0x2ae4be(0x1e0)](_0x2ae4be(0x1d7)))}}),this['on'](_0x2ae4be(0x1ee),(_0x2055e7,_0x1e8d09,_0x1ceb30)=>{const _0x5389be=_0x2ae4be;this[_0x5389be(0x1e5)]&&(_0x1ceb30?this[_0x5389be(0x1e5)][_0x5389be(0x1e6)](_0x5389be(0x1dd),String(this[_0x5389be(0x1d8)])):this[_0x5389be(0x1e5)][_0x5389be(0x1eb)](_0x5389be(0x1dd)));});}[_0x6caed6(0x1d1)](){const _0x17d031=_0x6caed6;this[_0x17d031(0x1e5)][_0x17d031(0x1d1)]();}[_0x6caed6(0x1ed)](){const _0xd6f4f0=_0x6caed6;super[_0xd6f4f0(0x1ed)](),this[_0xd6f4f0(0x1ec)][_0xd6f4f0(0x1e4)](this[_0xd6f4f0(0x1e5)]);}}function _0x5078(){const _0x1d0e04=['focus','list','9jtLoVT','7935930ZUxSQR','4282564DAosgz','2051903zJRgfr','execute','isExpanded','createCollection','setTemplate','Connected\x20users\x20list','items','aria-expanded','934331uvwbLN','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','fire','ck-presence-list__list','div','6983375vFhSEC','listenTo','element','setAttribute','hasPopup','set','bindTemplate','19303605NLPojx','removeAttribute','keystrokes','render','change:hasPopup','586538zUvwDN','24eGiHYK'];_0x5078=function(){return _0x1d0e04;};return _0x5078();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x31c436=_0x55ae;function _0x55ae(_0x4113b4,_0x530593){const _0x369de7=_0x369d();return _0x55ae=function(_0x55ae63,_0xb842db){_0x55ae63=_0x55ae63-0x1aa;let _0x59e489=_0x369de7[_0x55ae63];return _0x59e489;},_0x55ae(_0x4113b4,_0x530593);}(function(_0x3f8703,_0x20e4cf){const _0x25d606=_0x55ae,_0x4e6473=_0x3f8703();while(!![]){try{const _0x11b9b1=-parseInt(_0x25d606(0x20c))/0x1+parseInt(_0x25d606(0x296))/0x2*(parseInt(_0x25d606(0x2aa))/0x3)+-parseInt(_0x25d606(0x1fc))/0x4*(parseInt(_0x25d606(0x1d4))/0x5)+-parseInt(_0x25d606(0x27f))/0x6*(-parseInt(_0x25d606(0x1bb))/0x7)+parseInt(_0x25d606(0x28a))/0x8*(-parseInt(_0x25d606(0x1e0))/0x9)+-parseInt(_0x25d606(0x28b))/0xa*(parseInt(_0x25d606(0x2a8))/0xb)+parseInt(_0x25d606(0x1ef))/0xc*(parseInt(_0x25d606(0x1f3))/0xd);if(_0x11b9b1===_0x20e4cf)break;else _0x4e6473['push'](_0x4e6473['shift']());}catch(_0x1cea34){_0x4e6473['push'](_0x4e6473['shift']());}}}(_0x369d,0xa1504));import{Plugin as _0x357ffc,PendingActions as _0x2bbd42}from'ckeditor5/src/core.js';import{CKEditorError as _0x7c0af6,version as _0x1f9577,uid as _0x892c46}from'ckeditor5/src/utils.js';import{Notification as _0x42ae73}from'ckeditor5/src/ui.js';import{transformSets as _0x5f0e63,NoOperation as _0x15ad9d,InsertOperation as _0x92e797,MarkerOperation as _0x529eca,RootAttributeOperation as _0xa823d,OperationFactory as _0x38f9a9,History as _0x3b8a4b}from'ckeditor5/src/engine.js';import _0x469e58 from'./websocketgateway.js';import _0x50c1b4 from'./sessions.js';import _0x1a5417 from'./usermarkers.js';import{getTranslation as _0x2d4115}from'../common-translations.js';import{Compressor as _0x3e9fcd}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1c54aa}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2e63fd,CollaborativeEditingService as _0x3d8213}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x357ffc{static get[_0x31c436(0x2ab)](){return[_0x469e58,_0x50c1b4,_0x1a5417,_0x2bbd42,_0x1c54aa,_0x42ae73];}static get[_0x31c436(0x269)](){const _0x39b13d=_0x31c436;return _0x39b13d(0x1f7);}get[_0x31c436(0x24b)](){const _0x136086=_0x31c436;return this[_0x136086(0x1e6)]+this[_0x136086(0x242)];}get[_0x31c436(0x1e6)](){const _0x2ea773=_0x31c436;return this[_0x2ea773(0x252)][_0x2ea773(0x1ac)]-this[_0x2ea773(0x242)];}get[_0x31c436(0x20e)](){const _0x433274=_0x31c436,_0x47b3ae=this[_0x433274(0x252)][_0x433274(0x208)]();for(let _0x1c5307=_0x47b3ae[_0x433274(0x271)]-0x1;_0x1c5307>=0x0;_0x1c5307--){const _0x306937=_0x47b3ae[_0x1c5307];if(!this[_0x433274(0x23d)][_0x433274(0x1c1)](_0x306937))return _0x306937[_0x433274(0x245)]+0x1-this[_0x433274(0x242)];}return 0x0;}constructor(_0x5ba77f){const _0xc2f62c=_0x31c436;if(super(_0x5ba77f),this[_0xc2f62c(0x242)]=0x0,this[_0xc2f62c(0x281)]=null,this[_0xc2f62c(0x252)]=new _0x3b8a4b(),this[_0xc2f62c(0x29d)][_0xc2f62c(0x26f)][_0xc2f62c(0x255)](_0xc2f62c(0x211),{}),this[_0xc2f62c(0x1b4)]=this[_0xc2f62c(0x29d)][_0xc2f62c(0x26f)][_0xc2f62c(0x282)](_0xc2f62c(0x24a)),!this[_0xc2f62c(0x1b4)])throw new _0x7c0af6(_0xc2f62c(0x273),this);const _0x1f69df=_0x5ba77f[_0xc2f62c(0x26f)][_0xc2f62c(0x282)](_0xc2f62c(0x27b))||_0x1f9577;this[_0xc2f62c(0x26b)]=new l[(_0xc2f62c(0x28f))](_0x1f69df,this[_0xc2f62c(0x1b4)]),this[_0xc2f62c(0x1e9)]=this[_0xc2f62c(0x29d)][_0xc2f62c(0x1aa)][_0xc2f62c(0x1c7)],this[_0xc2f62c(0x22e)]=new _0x3e9fcd(),this[_0xc2f62c(0x27a)]=[],this[_0xc2f62c(0x294)]=new WeakSet(),this[_0xc2f62c(0x221)]=new Set(),this[_0xc2f62c(0x292)](_0xc2f62c(0x287),!0x1),this[_0xc2f62c(0x292)](_0xc2f62c(0x1d0),!0x1),this[_0xc2f62c(0x1d1)]=null,this[_0xc2f62c(0x262)]=!0x1,this[_0xc2f62c(0x1bf)]=null,this[_0xc2f62c(0x1ee)]=0x12c,this[_0xc2f62c(0x21f)]=this[_0xc2f62c(0x1ee)],this[_0xc2f62c(0x21e)]=null,this[_0xc2f62c(0x23d)]=new WeakSet(),this[_0xc2f62c(0x27d)]=new X(this[_0xc2f62c(0x23d)]);}[_0x31c436(0x1fd)](){const _0x1a480a=_0x31c436,_0x587df7=this[_0x1a480a(0x29d)],_0xff7dee=_0x587df7[_0x1a480a(0x265)][_0x1a480a(0x282)](_0x1c54aa),_0x112cb2=_0x587df7[_0x1a480a(0x265)][_0x1a480a(0x282)](_0x469e58);this[_0x1a480a(0x21d)](_0xff7dee,_0x1a480a(0x1cd),(_0x5f193d,_0xa45e2d)=>{const _0x18a20d=_0x1a480a,_0x25ccc7=_0xa45e2d[0x0];_0x25ccc7[_0x18a20d(0x1b0)]&&(_0x5f193d[_0x18a20d(0x1f4)]=_0xff7dee[_0x18a20d(0x1f8)](_0x25ccc7[_0x18a20d(0x1b0)]),_0x5f193d[_0x18a20d(0x217)]()),null===_0x25ccc7[_0x18a20d(0x1b0)]&&(_0x5f193d[_0x18a20d(0x1f4)]=null,_0x5f193d[_0x18a20d(0x217)]());},{'priority':_0x1a480a(0x225)}),this[_0x1a480a(0x21d)](_0x587df7[_0x1a480a(0x1aa)][_0x1a480a(0x1c7)][_0x1a480a(0x25a)],_0x1a480a(0x29f),(_0x8fe7af,_0x56ba54)=>{const _0x32a1ff=_0x1a480a;_0x56ba54[_0x32a1ff(0x1c4)]&&this[_0x32a1ff(0x1c6)]();}),this[_0x1a480a(0x21d)](_0x587df7[_0x1a480a(0x25d)][_0x1a480a(0x1cf)],_0x1a480a(0x2a3),()=>{const _0x181e5a=_0x1a480a;this[_0x181e5a(0x1c6)]();}),this[_0x1a480a(0x1b1)](),_0x587df7[_0x1a480a(0x1aa)]['on'](_0x1a480a(0x268),(_0x4eefce,_0x4a710d)=>{const _0x56d8b1=_0x1a480a,_0x18f3a3=_0x4a710d[0x0];_0x18f3a3[_0x56d8b1(0x1c0)]&&(this[_0x56d8b1(0x28e)](_0x18f3a3),this[_0x56d8b1(0x1cc)]()&&this[_0x56d8b1(0x1c3)]());}),this[_0x1a480a(0x1d5)](),this[_0x1a480a(0x266)](_0x1a480a(0x1cb))['to'](_0x112cb2,_0x1a480a(0x24c),this,_0x1a480a(0x1d0),(_0xa40172,_0x34daeb)=>_0x1a480a(0x1f6)===_0xa40172&&!_0x34daeb),this['on'](_0x1a480a(0x203),()=>{const _0x3b2593=_0x1a480a;this[_0x3b2593(0x1cb)]?_0x587df7[_0x3b2593(0x1b8)](_0x3b2593(0x214)):_0x587df7[_0x3b2593(0x260)](_0x3b2593(0x214));}),this[_0x1a480a(0x1cb)]?_0x587df7[_0x1a480a(0x1b8)](_0x1a480a(0x214)):_0x587df7[_0x1a480a(0x260)](_0x1a480a(0x214)),this[_0x1a480a(0x292)](_0x1a480a(0x267),!0x1);}async[_0x31c436(0x270)](){const _0x342054=_0x31c436,_0x136235=this[_0x342054(0x29d)][_0x342054(0x265)][_0x342054(0x282)](_0x50c1b4),_0xbe128f=this[_0x342054(0x29d)][_0x342054(0x265)][_0x342054(0x282)](_0x469e58);try{this[_0x342054(0x287)]=!0x0,_0x136235[_0x342054(0x239)](this[_0x342054(0x1b4)]);const _0x5d0405=await this[_0x342054(0x26b)][_0x342054(0x270)](_0xbe128f[_0x342054(0x246)],this[_0x342054(0x20e)]);await this[_0x342054(0x1bd)](_0x5d0405)&&(this[_0x342054(0x287)]=!0x1,this[_0x342054(0x227)]());const _0x3bcd06=await this[_0x342054(0x26b)][_0x342054(0x299)]();_0x136235[_0x342054(0x1d3)](this[_0x342054(0x1b4)],_0x3bcd06),this[_0x342054(0x274)](),this[_0x342054(0x267)]=!0x0;}catch(_0x10d7ad){if(function(_0x3ba72c){const _0x2be6f4=_0x342054;return _0x2be6f4(0x1c5)===_0x3ba72c[_0x2be6f4(0x247)];}(_0x10d7ad)&&this[_0x342054(0x281)])await this[_0x342054(0x1e4)]();else{if(function(_0x304339){const _0x28ce4b=_0x342054;return _0x28ce4b(0x23b)===_0x304339[_0x28ce4b(0x247)];}(_0x10d7ad)){const _0x1cc232=_0x2d4115(this[_0x342054(0x29d)][_0x342054(0x1c2)],_0x342054(0x207));this[_0x342054(0x1b3)](_0x1cc232);}else{if(!(_0x10d7ad instanceof J))throw _0x10d7ad;this[_0x342054(0x1b3)]();}}}}[_0x31c436(0x1fe)](){const _0x4722c7=_0x31c436,_0x24400e=this[_0x4722c7(0x29d)][_0x4722c7(0x265)][_0x4722c7(0x282)](_0x469e58),_0x131fd4=this[_0x4722c7(0x29d)][_0x4722c7(0x265)][_0x4722c7(0x282)](_0x50c1b4);this[_0x4722c7(0x29d)][_0x4722c7(0x260)](_0x4722c7(0x297)),_0x131fd4[_0x4722c7(0x1ce)][_0x4722c7(0x1c1)](this[_0x4722c7(0x1b4)])&&_0x131fd4[_0x4722c7(0x239)](this[_0x4722c7(0x1b4)]),_0x24400e[_0x4722c7(0x224)](this),this[_0x4722c7(0x1dd)](),super[_0x4722c7(0x1fe)]();}async[_0x31c436(0x1bd)](_0x37478c){const _0x103289=_0x31c436;if(this[_0x103289(0x281)]!==_0x37478c[_0x103289(0x281)]&&this[_0x103289(0x21e)]!==_0x37478c[_0x103289(0x21c)])throw new J();return this[_0x103289(0x281)]=_0x37478c[_0x103289(0x281)],this[_0x103289(0x1d9)]([],{..._0x37478c,'wereChangesApplied':!0x1,'data':_0x37478c[_0x103289(0x1ec)]},_0x103289(0x270));}async[_0x31c436(0x254)](_0x2f6788,_0x1fca31=!0x1){const _0x420c33=_0x31c436,{connection:_0x3004c8}=this[_0x420c33(0x29d)][_0x420c33(0x265)][_0x420c33(0x282)](_0x469e58);l[_0x420c33(0x28f)][_0x420c33(0x299)](_0x3004c8,this[_0x420c33(0x1b4)])[_0x420c33(0x1e1)](_0x5d64ff=>this[_0x420c33(0x1da)](_0x5d64ff))[_0x420c33(0x1ab)](_0x2502e4=>{const _0x1765a4=_0x420c33;this[_0x1765a4(0x23f)](_0x1765a4(0x206),_0x2502e4);}),this[_0x420c33(0x21d)](this[_0x420c33(0x26b)],_0x420c33(0x2a9),this[_0x420c33(0x20f)][_0x420c33(0x266)](this)),this[_0x420c33(0x21d)](this[_0x420c33(0x26b)],_0x420c33(0x1f1),(_0xba1c82,_0x431037)=>{const _0x47779e=_0x420c33;this[_0x47779e(0x23f)](_0x47779e(0x220),_0x431037);}),this[_0x420c33(0x21d)](this[_0x420c33(0x26b)],_0x420c33(0x279),()=>{const _0x51fe52=_0x420c33;this[_0x51fe52(0x267)]=!0x1;});const _0x2e5dbc=this[_0x420c33(0x27d)][_0x420c33(0x1b6)](_0x2f6788);this[_0x420c33(0x287)]=!0x0;const _0x1fe830=await this[_0x420c33(0x26b)][_0x420c33(0x283)](_0x3004c8,this[_0x420c33(0x21b)](_0x2f6788),_0x2e5dbc);if(this[_0x420c33(0x281)]=_0x1fe830[_0x420c33(0x281)],_0x1fca31){if(!_0x1fe830[_0x420c33(0x1e3)])return void this[_0x420c33(0x1b3)]();this[_0x420c33(0x287)]=!0x1,this[_0x420c33(0x227)](),this[_0x420c33(0x252)][_0x420c33(0x1ea)](),this[_0x420c33(0x242)]=_0x1fe830[_0x420c33(0x218)],this[_0x420c33(0x252)][_0x420c33(0x1ac)]=this[_0x420c33(0x242)],await this[_0x420c33(0x1d9)](_0x2f6788,_0x1fe830,_0x420c33(0x1e2));}else await this[_0x420c33(0x26a)](_0x1fe830,_0x2f6788);this[_0x420c33(0x274)](),this[_0x420c33(0x267)]=!0x0;}[_0x31c436(0x274)](){const _0x557213=_0x31c436,_0x10c9ae=this[_0x557213(0x29d)][_0x557213(0x265)][_0x557213(0x282)](_0x50c1b4),_0x15214a=this[_0x557213(0x29d)][_0x557213(0x265)][_0x557213(0x282)](_0x1a5417),_0x4929db=_0x10c9ae[_0x557213(0x1ce)][_0x557213(0x282)](this[_0x557213(0x1b4)]);_0x4929db&&_0x4929db[_0x557213(0x271)]>0x1?_0x15214a[_0x557213(0x20a)]():this[_0x557213(0x21d)](_0x10c9ae,_0x557213(0x240)+this[_0x557213(0x1b4)],()=>{const _0x51e7b5=_0x557213;0x2===_0x10c9ae[_0x51e7b5(0x1ce)][_0x51e7b5(0x282)](this[_0x51e7b5(0x1b4)])[_0x51e7b5(0x271)]&&_0x15214a[_0x51e7b5(0x20a)]();});}async[_0x31c436(0x20f)](_0x120c5c,_0x5c98e5,_0x3a0a5d,_0x3c185e){const _0xad9d27=_0x31c436;if(!this[_0xad9d27(0x287)]&&this[_0xad9d27(0x1e9)][_0xad9d27(0x1ac)]==_0x5c98e5){const _0x3977da=this[_0xad9d27(0x1fa)](_0x3a0a5d,_0x3c185e);await this[_0xad9d27(0x22f)](_0x3977da),this[_0xad9d27(0x1d2)](_0x3977da,_0x5c98e5,_0x3a0a5d[_0xad9d27(0x21c)])||this[_0xad9d27(0x23f)](_0xad9d27(0x209));}}async[_0x31c436(0x1e4)](){const _0x36eea6=_0x31c436;this[_0x36eea6(0x1dd)]();const {locale:_0x4b19bd}=this[_0x36eea6(0x29d)];let _0xbf61b6;try{_0xbf61b6=await this[_0x36eea6(0x26b)][_0x36eea6(0x23e)]();}catch(_0x4ec60e){const _0xb28d5e=_0x2d4115(_0x4b19bd,_0x36eea6(0x2a1));return void this[_0x36eea6(0x1b3)](_0xb28d5e);}const _0x58ea09=_0xbf61b6[_0x36eea6(0x204)]||_0xbf61b6[_0x36eea6(0x238)];if(this[_0x36eea6(0x21e)]===_0x58ea09[_0x36eea6(0x21c)])await this[_0x36eea6(0x254)](this[_0x36eea6(0x29d)][_0x36eea6(0x1aa)][_0x36eea6(0x1c7)][_0x36eea6(0x1db)][_0x36eea6(0x208)](),!0x0);else{const _0x190d1b=_0x2d4115(_0x4b19bd,_0x36eea6(0x25c));this[_0x36eea6(0x1b3)](_0x190d1b);}}[_0x31c436(0x1dd)](){const _0x44b639=_0x31c436;this[_0x44b639(0x26b)][_0x44b639(0x251)](),this[_0x44b639(0x27a)]=[],clearTimeout(this[_0x44b639(0x1bf)]),this[_0x44b639(0x226)](this[_0x44b639(0x26b)]);}[_0x31c436(0x1da)](_0x2b595a){const _0x2d388e=_0x31c436,_0x4d7580=this[_0x2d388e(0x29d)][_0x2d388e(0x265)][_0x2d388e(0x282)](_0x50c1b4);this[_0x2d388e(0x21d)](_0x4d7580,_0x2d388e(0x240)+this[_0x2d388e(0x1b4)],(_0x44e1c8,{session:_0x994f67})=>{const _0x42e4a1=_0x2d388e;if(_0x994f67['id']===_0x4d7580[_0x42e4a1(0x1b5)]){_0x44e1c8[_0x42e4a1(0x2a5)]();const _0x4b0a1e=this[_0x42e4a1(0x29d)][_0x42e4a1(0x265)][_0x42e4a1(0x1c1)](_0x42e4a1(0x1dc))&&this[_0x42e4a1(0x29d)][_0x42e4a1(0x265)][_0x42e4a1(0x282)](_0x42e4a1(0x1dc));let _0x1a67fc=_0x994f67[_0x42e4a1(0x244)];_0x4b0a1e&&_0x4b0a1e[_0x42e4a1(0x200)]&&(_0x1a67fc=_0x1a67fc[_0x42e4a1(0x1e7)](_0x1a0a70=>_0x42e4a1(0x205)!==_0x1a0a70)),this[_0x42e4a1(0x29d)][_0x42e4a1(0x265)][_0x42e4a1(0x282)](_0x42e4a1(0x1ad))[_0x42e4a1(0x22b)](_0x1a67fc,this[_0x42e4a1(0x1b4)]);}}),_0x4d7580[_0x2d388e(0x1d3)](this[_0x2d388e(0x1b4)],_0x2b595a);}[_0x31c436(0x1b1)](){const _0x1b1865=_0x31c436,_0x3dea30=this[_0x1b1865(0x29d)][_0x1b1865(0x1ec)][_0x1b1865(0x292)];this[_0x1b1865(0x29d)][_0x1b1865(0x1ec)][_0x1b1865(0x292)]=(..._0x53b8a6)=>{const _0x2141f5=_0x1b1865;if(!_0x53b8a6[_0x53b8a6[_0x2141f5(0x271)]-0x1][_0x2141f5(0x291)])throw new _0x7c0af6(_0x2141f5(0x234),this);_0x3dea30[_0x2141f5(0x228)](this[_0x2141f5(0x29d)][_0x2141f5(0x1ec)],_0x53b8a6);};}[_0x31c436(0x1d5)](){const _0x4d433d=_0x31c436;this[_0x4d433d(0x29d)][_0x4d433d(0x1ec)]['on'](_0x4d433d(0x1fd),(_0x3181d1,[_0x1d13bf])=>{const _0x542a9c=_0x4d433d;if(this[_0x542a9c(0x1e9)][_0x542a9c(0x1ac)])throw new _0x7c0af6(_0x542a9c(0x259),this);_0x3181d1[_0x542a9c(0x217)](),this[_0x542a9c(0x1b2)]();const _0x2c610c=this[_0x542a9c(0x29d)][_0x542a9c(0x26f)][_0x542a9c(0x282)](_0x542a9c(0x210)),_0x4b78a3=this[_0x542a9c(0x212)](_0x1d13bf,_0x2c610c);0x0==_0x4b78a3[_0x542a9c(0x271)]&&_0x4b78a3[_0x542a9c(0x286)](new _0x15ad9d(0x0)),_0x3181d1[_0x542a9c(0x1f4)]=this[_0x542a9c(0x254)](_0x4b78a3)[_0x542a9c(0x1e1)](()=>{const _0x2945c0=_0x542a9c;this[_0x2945c0(0x29d)][_0x2945c0(0x265)][_0x2945c0(0x282)](_0x469e58)[_0x2945c0(0x253)](this),this[_0x2945c0(0x29d)][_0x2945c0(0x1ec)][_0x2945c0(0x1ff)](_0x2945c0(0x2a0));})[_0x542a9c(0x1ab)](_0x3dc9fd=>this[_0x542a9c(0x23f)](_0x542a9c(0x288),_0x3dc9fd))[_0x542a9c(0x236)](()=>this[_0x542a9c(0x227)]());},{'priority':_0x4d433d(0x225)}),this[_0x4d433d(0x29d)]['on'](_0x4d433d(0x22c),async(_0x2c9371,[_0x36a116,_0x254576])=>{const _0x5b39eb=_0x4d433d;_0x2c9371[_0x5b39eb(0x217)]();const _0x39baeb=this[_0x5b39eb(0x29d)][_0x5b39eb(0x1aa)][_0x5b39eb(0x1c7)][_0x5b39eb(0x21a)](_0x36a116);if(!this[_0x5b39eb(0x221)][_0x5b39eb(0x1c1)](_0x36a116)){const _0x223346=_0x254576&&_0x254576[_0x5b39eb(0x1ec)]?_0x254576[_0x5b39eb(0x1ec)]:'',_0x288af5=_0x254576&&_0x254576[_0x5b39eb(0x1e5)]?_0x254576[_0x5b39eb(0x1e5)]:{};await this[_0x5b39eb(0x231)](_0x36a116,_0x223346,_0x288af5);}this[_0x5b39eb(0x29d)][_0x5b39eb(0x1aa)][_0x5b39eb(0x25f)]({'isUndoable':!0x1},()=>{const _0x1b6377=_0x5b39eb;_0x39baeb[_0x1b6377(0x29a)]=!0x0,this[_0x1b6377(0x29d)][_0x1b6377(0x1aa)][_0x1b6377(0x1c7)][_0x1b6377(0x1ca)][_0x1b6377(0x277)](_0x39baeb);});},{'priority':_0x4d433d(0x225)});}async[_0x31c436(0x22f)](_0x2db691){const _0x4c9ac2=_0x31c436,_0x18cd39=this[_0x4c9ac2(0x29d)][_0x4c9ac2(0x265)][_0x4c9ac2(0x282)](_0x1c54aa),{connection:_0x2bdf0d}=this[_0x4c9ac2(0x29d)][_0x4c9ac2(0x265)][_0x4c9ac2(0x282)](_0x469e58),_0x46a545=new Set();for(const _0x5ebd23 of _0x2db691){const _0x1ca77c=_0x5ebd23[_0x4c9ac2(0x1b0)];_0x1ca77c&&!_0x18cd39[_0x4c9ac2(0x1f8)](_0x1ca77c)&&_0x46a545[_0x4c9ac2(0x26e)](_0x1ca77c);}if(0x0===_0x46a545[_0x4c9ac2(0x237)])return;const _0x2a4061=await _0x2e63fd[_0x4c9ac2(0x2a2)](_0x2bdf0d,Array[_0x4c9ac2(0x213)](_0x46a545));for(const _0x47ebf7 of _0x2a4061)_0x18cd39[_0x4c9ac2(0x1f8)](_0x47ebf7['id'])||_0x18cd39[_0x4c9ac2(0x1d8)](_0x47ebf7);}[_0x31c436(0x212)](_0x2b825e,_0xbd7d20={}){const _0x3e8066=_0x31c436,_0x5ddea7=this[_0x3e8066(0x29d)][_0x3e8066(0x1aa)],_0x18cf9e=[];let _0x13877d=0x0;const _0x42f96a=_0x3e8066(0x22d)==typeof _0x2b825e?{'main':_0x2b825e}:_0x2b825e;for(const _0x554437 of Object[_0x3e8066(0x2ad)](_0x42f96a)){if(!this[_0x3e8066(0x1e9)][_0x3e8066(0x295)][_0x3e8066(0x1c1)](_0x554437))throw new _0x7c0af6(_0x3e8066(0x24e),this);const _0x3ba89e=this[_0x3e8066(0x29d)][_0x3e8066(0x1ec)][_0x3e8066(0x26d)](_0x42f96a[_0x554437]),_0x5970e5=this[_0x3e8066(0x1e9)][_0x3e8066(0x21a)](_0x554437),_0x9ff3e1=new _0x92e797(_0x5ddea7[_0x3e8066(0x25b)](_0x5970e5,0x0),_0x3ba89e,_0x13877d++);_0x18cf9e[_0x3e8066(0x286)](_0x9ff3e1);for(const [_0x277f5a,_0x134fdf]of _0x3ba89e[_0x3e8066(0x23a)]){const _0x2a9f77=_0x5ddea7[_0x3e8066(0x1ba)](_0x5ddea7[_0x3e8066(0x263)](_0x5970e5,_0x134fdf[_0x3e8066(0x1af)][_0x3e8066(0x27e)][_0x3e8066(0x2ae)]()),_0x5ddea7[_0x3e8066(0x263)](_0x5970e5,_0x134fdf[_0x3e8066(0x24f)][_0x3e8066(0x27e)][_0x3e8066(0x2ae)]())),_0x2c635f=new _0x529eca(_0x277f5a,null,_0x2a9f77,_0x5ddea7[_0x3e8066(0x23a)],!0x0,_0x13877d++);_0x18cf9e[_0x3e8066(0x286)](_0x2c635f);}}if(_0xbd7d20)for(const [_0x477864,_0x49a624]of Object[_0x3e8066(0x1de)](_0xbd7d20)){const _0x5632ba=_0x5ddea7[_0x3e8066(0x1c7)][_0x3e8066(0x21a)](_0x477864);if(!_0x5632ba)throw new _0x7c0af6(_0x3e8066(0x1bc),null);for(const [_0x55f654,_0x21166e]of Object[_0x3e8066(0x1de)](_0x49a624))if(null!==_0x21166e){const _0x5534b9=new _0xa823d(_0x5632ba,_0x55f654,null,_0x21166e,_0x13877d++);_0x18cf9e[_0x3e8066(0x286)](_0x5534b9);}}return _0x18cf9e;}async[_0x31c436(0x231)](_0x1d45ba,_0x308dce,_0xf58311){const _0x4d0b2e=_0x31c436;this[_0x4d0b2e(0x212)]({[_0x1d45ba]:_0x308dce},{[_0x1d45ba]:_0xf58311})[_0x4d0b2e(0x202)]((_0x4eafc8,_0x4d8d56)=>{const _0x2b3b37=_0x4d0b2e;_0x4eafc8[_0x2b3b37(0x245)]=this[_0x2b3b37(0x1e9)][_0x2b3b37(0x1ac)]+_0x4d8d56,_0x4eafc8[_0x2b3b37(0x256)]=!0x0,this[_0x2b3b37(0x28e)](_0x4eafc8);}),this[_0x4d0b2e(0x1c3)](),await this[_0x4d0b2e(0x1f9)]();}async[_0x31c436(0x26a)](_0xec16d9,_0x58e99f){const _0x2cd9e3=_0x31c436;let _0x361b2e;this[_0x2cd9e3(0x242)]=_0xec16d9[_0x2cd9e3(0x218)];const _0x38ba49=_0xec16d9[_0x2cd9e3(0x1e3)]&&!_0xec16d9[_0x2cd9e3(0x29b)],_0x16ce16=_0x38ba49?0x0:_0xec16d9[_0x2cd9e3(0x1ec)][_0x2cd9e3(0x245)];if(_0x58e99f[_0x2cd9e3(0x202)](_0x48c1ab=>{const _0x2bdff2=_0x2cd9e3;_0x48c1ab[_0x2bdff2(0x256)]=!0x0,_0x48c1ab[_0x2bdff2(0x1c8)]=_0xec16d9[_0x2bdff2(0x249)],_0x48c1ab[_0x2bdff2(0x1b0)]=null;}),_0x38ba49)_0x361b2e=_0x58e99f,this[_0x2cd9e3(0x243)](_0x361b2e,_0x38ba49);else{if(_0xec16d9[_0x2cd9e3(0x29b)]){const _0xf5a20b=this[_0x2cd9e3(0x212)](_0xec16d9[_0x2cd9e3(0x29b)]);this[_0x2cd9e3(0x1e9)][_0x2cd9e3(0x1db)][_0x2cd9e3(0x1ac)]=-_0xf5a20b[_0x2cd9e3(0x271)],_0xf5a20b[_0x2cd9e3(0x202)](_0x21f1e2=>{const _0x2dfada=_0x2cd9e3;_0x21f1e2[_0x2dfada(0x245)]-=_0xf5a20b[_0x2dfada(0x271)],_0x21f1e2[_0x2dfada(0x1c8)]=_0xec16d9[_0x2dfada(0x249)],_0x21f1e2[_0x2dfada(0x256)]=!0x0,_0x21f1e2[_0x2dfada(0x1b0)]=null;}),this[_0x2cd9e3(0x243)](_0xf5a20b,!0x0),this[_0x2cd9e3(0x252)][_0x2cd9e3(0x1ac)]=-_0xf5a20b[_0x2cd9e3(0x271)]+this[_0x2cd9e3(0x242)],this[_0x2cd9e3(0x28d)](_0xf5a20b);}this[_0x2cd9e3(0x1e9)][_0x2cd9e3(0x1db)][_0x2cd9e3(0x1ac)]=_0x16ce16,_0x361b2e=this[_0x2cd9e3(0x1fa)](_0xec16d9[_0x2cd9e3(0x1ec)],_0xec16d9[_0x2cd9e3(0x222)]),await this[_0x2cd9e3(0x22f)](_0x361b2e),this[_0x2cd9e3(0x243)](_0x361b2e,_0x38ba49);}_0xec16d9[_0x2cd9e3(0x21c)]&&(this[_0x2cd9e3(0x27d)][_0x2cd9e3(0x1d6)](_0x361b2e,_0xec16d9[_0x2cd9e3(0x21c)]),this[_0x2cd9e3(0x21e)]=_0xec16d9[_0x2cd9e3(0x21c)]),this[_0x2cd9e3(0x252)][_0x2cd9e3(0x1ac)]=_0x16ce16+this[_0x2cd9e3(0x242)],this[_0x2cd9e3(0x28d)](_0x361b2e),_0x58e99f[_0x2cd9e3(0x1e7)](_0x5c6459=>{const _0xb18e79=_0x2cd9e3,_0x71a0c1=this[_0xb18e79(0x1ed)](_0x5c6459);return _0x71a0c1&&!this[_0xb18e79(0x221)][_0xb18e79(0x1c1)](_0x71a0c1);})[_0x2cd9e3(0x202)]((_0x355c26,_0x36fa2d)=>{const _0x489480=_0x2cd9e3;_0x355c26[_0x489480(0x245)]=this[_0x489480(0x1e9)][_0x489480(0x1ac)]+_0x36fa2d,this[_0x489480(0x28e)](_0x355c26);}),this[_0x2cd9e3(0x1cc)]()?(this[_0x2cd9e3(0x21f)]=0x0,this[_0x2cd9e3(0x1c3)](!0x0),await this[_0x2cd9e3(0x1f9)]()):(this[_0x2cd9e3(0x287)]=!0x1,this[_0x2cd9e3(0x227)]());}[_0x31c436(0x23f)](_0x21339e,_0x22323f){const _0x4a6722=_0x31c436;throw this[_0x4a6722(0x287)]=!0x0,_0x22323f&&console[_0x4a6722(0x1f1)](_0x22323f),new _0x7c0af6(_0x21339e,this[_0x4a6722(0x29d)]);}[_0x31c436(0x28e)](_0x53d2d1){const _0x36a3f7=_0x31c436;this[_0x36a3f7(0x294)][_0x36a3f7(0x1c1)](_0x53d2d1)||(this[_0x36a3f7(0x294)][_0x36a3f7(0x26e)](_0x53d2d1),this[_0x36a3f7(0x27a)][_0x36a3f7(0x286)](_0x53d2d1),this[_0x36a3f7(0x1d1)]||_0x36a3f7(0x27c)==_0x53d2d1[_0x36a3f7(0x219)]&&!_0x53d2d1[_0x36a3f7(0x26c)]||this[_0x36a3f7(0x1b2)]());}[_0x31c436(0x1c3)](_0x5f207d=!0x1){const _0x4a77d7=_0x31c436;!_0x5f207d&&this[_0x4a77d7(0x287)]||(this[_0x4a77d7(0x287)]=!0x0,clearTimeout(this[_0x4a77d7(0x1bf)]),this[_0x4a77d7(0x1bf)]=setTimeout(()=>{const _0x1e960b=_0x4a77d7;this[_0x1e960b(0x264)]()[_0x1e960b(0x1e1)](_0x38a23e=>{const _0x2dba2f=_0x1e960b;_0x38a23e&&(this[_0x2dba2f(0x227)](),this[_0x2dba2f(0x287)]=!0x1);})[_0x1e960b(0x1ab)](_0xb35b9f=>{const _0xa83c82=_0x1e960b;if(this[_0xa83c82(0x227)](),this[_0xa83c82(0x287)]=!0x1,!function(_0x485708){const _0x51f8c7=_0xa83c82;return _0x485708[_0x51f8c7(0x289)][_0x51f8c7(0x29c)](_0x51f8c7(0x248))||_0x485708[_0x51f8c7(0x289)][_0x51f8c7(0x29c)](_0x51f8c7(0x216))||_0x485708[_0x51f8c7(0x289)][_0x51f8c7(0x29c)](_0x51f8c7(0x28c));}(_0xb35b9f))throw _0xb35b9f;});},this[_0x4a77d7(0x21f)]));}[_0x31c436(0x1f9)](){return new Promise(_0x28d494=>{const _0x2fb462=_0x55ae;this['on'](_0x2fb462(0x272),()=>{_0x28d494();});});}async[_0x31c436(0x264)](){const _0xb85818=_0x31c436,_0x4eed36=this[_0xb85818(0x29d)][_0xb85818(0x265)][_0xb85818(0x282)](_0x1a5417);if(this[_0xb85818(0x229)]()&&(_0x4eed36[_0xb85818(0x20a)](),this[_0xb85818(0x262)]=!0x1),!this[_0xb85818(0x1cc)]())return!0x0;const _0x9e97fa=[...this[_0xb85818(0x27a)]];for(const _0x36e41a of _0x9e97fa)_0x36e41a[_0xb85818(0x278)]=this[_0xb85818(0x1e9)][_0xb85818(0x1db)][_0xb85818(0x258)](_0x36e41a);const _0x2b66a8=this[_0xb85818(0x27d)][_0xb85818(0x1b6)](_0x9e97fa),_0x206d20=K++,_0x5de3f5=this[_0xb85818(0x21b)](_0x9e97fa),_0x25417d=await this[_0xb85818(0x26b)][_0xb85818(0x285)](_0x5de3f5,_0x5de3f5[_0xb85818(0x245)],_0x2b66a8);try{return await this[_0xb85818(0x1d9)](_0x9e97fa,_0x25417d,_0x206d20);}catch(_0x4cf90e){return this[_0xb85818(0x23f)](_0xb85818(0x298),_0x4cf90e);}}async[_0x31c436(0x1d9)](_0x4b7768,_0x37a754,_0x2a3d84){const _0x4538e7=_0x31c436;if(_0x4538e7(0x1f1)in _0x37a754)throw _0x37a754[_0x4538e7(0x1f1)];let _0x459dfc=!0x1;if(_0x37a754[_0x4538e7(0x1e3)]){_0x37a754[_0x4538e7(0x21c)]&&(this[_0x4538e7(0x21e)]=_0x37a754[_0x4538e7(0x21c)]),this[_0x4538e7(0x27a)]=this[_0x4538e7(0x27a)][_0x4538e7(0x1e7)](_0x3ef867=>!_0x4b7768[_0x4538e7(0x1b9)](_0x3ef867));for(const _0x208939 of _0x4b7768)_0x208939[_0x4538e7(0x1c8)]=_0x4538e7(0x23c)in _0x37a754&&_0x37a754[_0x4538e7(0x23c)]||void 0x0;Q(_0x4b7768,_0x37a754[_0x4538e7(0x1ac)]-_0x4b7768[_0x4538e7(0x271)]),this[_0x4538e7(0x28d)](_0x4b7768);const _0x216c85=_0x4b7768[_0x4538e7(0x1e7)](_0x406a2d=>{const _0x3266b2=_0x4538e7;if(!_0x406a2d[_0x3266b2(0x256)])return!0x1;const _0x4a5894=this[_0x3266b2(0x1ed)](_0x406a2d);return _0x4a5894&&!this[_0x3266b2(0x221)][_0x3266b2(0x1c1)](_0x4a5894);});Q(_0x216c85,this[_0x4538e7(0x1e9)][_0x4538e7(0x1ac)]),this[_0x4538e7(0x243)](_0x216c85),_0x459dfc=!0x0,this[_0x4538e7(0x21f)]=this[_0x4538e7(0x1ee)];}else{const _0xebca4=this[_0x4538e7(0x1fa)](_0x37a754[_0x4538e7(0x1ec)],_0x37a754[_0x4538e7(0x222)])[_0x4538e7(0x1e7)](_0x4bafe7=>_0x4bafe7[_0x4538e7(0x245)]>=this[_0x4538e7(0x1e6)]);_0xebca4[_0x4538e7(0x202)](_0xf736f6=>this[_0x4538e7(0x201)](_0xf736f6)),this[_0x4538e7(0x27a)]=this[_0x4538e7(0x27a)][_0x4538e7(0x1e7)](_0x584b11=>!_0x584b11[_0x4538e7(0x256)]||!this[_0x4538e7(0x221)][_0x4538e7(0x1c1)](this[_0x4538e7(0x1ed)](_0x584b11))),this[_0x4538e7(0x27a)][_0x4538e7(0x271)]&&Q(this[_0x4538e7(0x27a)],this[_0x4538e7(0x27a)][0x0][_0x4538e7(0x245)]),await this[_0x4538e7(0x22f)](_0xebca4),_0x459dfc=this[_0x4538e7(0x1d2)](_0xebca4,_0x37a754[_0x4538e7(0x1ac)],_0x37a754[_0x4538e7(0x21c)]),this[_0x4538e7(0x21f)]=Math[_0x4538e7(0x290)](this[_0x4538e7(0x21f)]/0x2);}return _0x459dfc?!this[_0x4538e7(0x1cc)]()||(this[_0x4538e7(0x1c3)](!0x0),!0x1):this[_0x4538e7(0x23f)](_0x4538e7(0x261));}[_0x31c436(0x1d2)](_0x3743f3,_0x51a2db,_0xa2d840){const _0xdfaa5c=_0x31c436;try{const _0x59c47a={'document':this[_0xdfaa5c(0x1e9)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x119bb6,operationsB:_0x35f876,originalOperations:_0x20c4cc}=_0x5f0e63(_0x3743f3,this[_0xdfaa5c(0x27a)],_0x59c47a);Q(_0x119bb6,this[_0xdfaa5c(0x1e9)][_0xdfaa5c(0x1ac)]),Q(_0x35f876,_0x51a2db);for(const _0x170347 of _0x119bb6){const _0x128f7c=_0x20c4cc[_0xdfaa5c(0x282)](_0x170347);_0x170347[_0xdfaa5c(0x1b0)]=_0x128f7c?_0x128f7c[_0xdfaa5c(0x1b0)]:null;}_0xa2d840&&(this[_0xdfaa5c(0x27d)][_0xdfaa5c(0x1d6)](_0x3743f3,_0xa2d840),this[_0xdfaa5c(0x21e)]=_0xa2d840),this[_0xdfaa5c(0x27a)]=[..._0x35f876],this[_0xdfaa5c(0x243)](_0x119bb6),this[_0xdfaa5c(0x28d)](_0x3743f3);}catch(_0x2d26f9){return console[_0xdfaa5c(0x1f1)](_0x2d26f9),!0x1;}return!0x0;}[_0x31c436(0x243)](_0x34390f,_0x149188=!0x1){const _0x182678=_0x31c436;this[_0x182678(0x29d)][_0x182678(0x1aa)][_0x182678(0x25f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x51fb81=>{const _0x4c94b4=_0x182678;for(const _0x1e9fd3 of _0x34390f)this[_0x4c94b4(0x294)][_0x4c94b4(0x26e)](_0x1e9fd3),this[_0x4c94b4(0x201)](_0x1e9fd3),_0x51fb81[_0x4c94b4(0x1f0)][_0x4c94b4(0x215)](_0x1e9fd3),this[_0x4c94b4(0x29d)][_0x4c94b4(0x1aa)][_0x4c94b4(0x268)](_0x1e9fd3);});}[_0x31c436(0x201)](_0x1cbd45){const _0x1e284d=_0x31c436,_0x124fef=this[_0x1e284d(0x1ed)](_0x1cbd45);_0x124fef&&this[_0x1e284d(0x221)][_0x1e284d(0x26e)](_0x124fef);}[_0x31c436(0x1ed)](_0x4955ea){const _0xd9cb63=_0x31c436;let _0x4bba63,_0x488d98;switch(_0x4955ea[_0xd9cb63(0x219)]){case _0xd9cb63(0x241):_0x4bba63=_0x4955ea[_0xd9cb63(0x1d7)][_0xd9cb63(0x1df)];break;case _0xd9cb63(0x27c):if(_0x488d98=_0x4955ea[_0xd9cb63(0x22a)],!_0x488d98)return null;_0x4bba63=_0x488d98[_0xd9cb63(0x1df)];break;case _0xd9cb63(0x257):_0x4bba63=_0x4955ea[_0xd9cb63(0x1df)];break;case _0xd9cb63(0x25e):_0x4bba63=_0x4955ea[_0xd9cb63(0x2a6)];break;case _0xd9cb63(0x24d):_0x4bba63=_0x4955ea[_0xd9cb63(0x276)][_0xd9cb63(0x1df)];break;default:return null;}return _0x4bba63[_0xd9cb63(0x20d)];}[_0x31c436(0x28d)](_0x49de4b){const _0x5d8e83=_0x31c436;_0x49de4b[_0x5d8e83(0x202)](_0x13485d=>{const _0x2c1e5b=_0x5d8e83,_0x59599c=_0x13485d[_0x2c1e5b(0x1f5)]();_0x59599c[_0x2c1e5b(0x1b0)]=_0x13485d[_0x2c1e5b(0x1b0)],_0x59599c[_0x2c1e5b(0x256)]=!!_0x13485d[_0x2c1e5b(0x256)],_0x59599c[_0x2c1e5b(0x1c8)]=_0x13485d[_0x2c1e5b(0x1c8)],_0x59599c[_0x2c1e5b(0x245)]+=this[_0x2c1e5b(0x242)],_0x13485d[_0x2c1e5b(0x250)]&&this[_0x2c1e5b(0x23d)][_0x2c1e5b(0x26e)](_0x59599c),this[_0x2c1e5b(0x252)][_0x2c1e5b(0x215)](_0x59599c);});}[_0x31c436(0x1b3)](_0x504f53){const _0x291d31=_0x31c436,_0x96becd=this[_0x291d31(0x29d)][_0x291d31(0x265)][_0x291d31(0x282)](_0x291d31(0x275)),_0x265211=this[_0x291d31(0x29d)][_0x291d31(0x1c2)];_0x504f53||(_0x504f53=_0x2d4115(_0x265211,_0x291d31(0x235))),_0x96becd[_0x291d31(0x280)](_0x504f53,{'title':_0x2d4115(_0x265211,_0x291d31(0x1e8)),'namespace':_0x291d31(0x223)}),this[_0x291d31(0x1d0)]=!0x0,clearTimeout(this[_0x291d31(0x1bf)]),this[_0x291d31(0x27a)]=[],this[_0x291d31(0x29d)][_0x291d31(0x265)][_0x291d31(0x282)](_0x469e58)[_0x291d31(0x1fe)]();}[_0x31c436(0x1b2)](){const _0x11ffa9=_0x31c436;this[_0x11ffa9(0x1d1)]||(this[_0x11ffa9(0x1d1)]=this[_0x11ffa9(0x29d)][_0x11ffa9(0x265)][_0x11ffa9(0x282)](_0x2bbd42)[_0x11ffa9(0x26e)](_0x2d4115(this[_0x11ffa9(0x29d)][_0x11ffa9(0x1c2)],_0x11ffa9(0x29e))));}[_0x31c436(0x227)](){const _0x2e22c9=_0x31c436;this[_0x2e22c9(0x1d1)]&&(this[_0x2e22c9(0x29d)][_0x2e22c9(0x265)][_0x2e22c9(0x282)](_0x2bbd42)[_0x2e22c9(0x2a4)](this[_0x2e22c9(0x1d1)]),this[_0x2e22c9(0x1d1)]=null);}[_0x31c436(0x21b)](_0x13636f){const _0x59d991=_0x31c436,_0x54ed9=_0x13636f[_0x59d991(0x1f2)](_0x9872a7=>_0x9872a7[_0x59d991(0x233)]());return this[_0x59d991(0x22e)][_0x59d991(0x293)](_0x54ed9);}[_0x31c436(0x1fa)](_0x3732bb,_0x29f77b){const _0x11f645=_0x31c436;return this[_0x11f645(0x22e)][_0x11f645(0x284)](_0x3732bb)[_0x11f645(0x1f2)]((_0x2c8fe9,_0x5b6772)=>{const _0x36eba=_0x11f645,_0x20144a=_0x36eba(0x1fd)==_0x29f77b[_0x5b6772][_0x36eba(0x219)];if(_0x36eba(0x1be)==_0x2c8fe9[_0x36eba(0x2a7)]){const _0x48072d=_0x2c8fe9[_0x36eba(0x1d7)][_0x36eba(0x1df)];!this[_0x36eba(0x1e9)][_0x36eba(0x21a)](_0x48072d)&&(this[_0x36eba(0x1e9)][_0x36eba(0x1ae)](_0x36eba(0x1eb),_0x48072d)[_0x36eba(0x1fb)]=!0x1);}const _0x513851=_0x38f9a9[_0x36eba(0x232)](_0x2c8fe9,this[_0x36eba(0x1e9)]);return _0x513851[_0x36eba(0x278)]=_0x2c8fe9[_0x36eba(0x278)],_0x513851[_0x36eba(0x256)]=_0x20144a,_0x513851[_0x36eba(0x1b0)]=_0x20144a?null:_0x29f77b[_0x5b6772][_0x36eba(0x20b)],_0x513851[_0x36eba(0x250)]=_0x36eba(0x230)===_0x29f77b[_0x5b6772][_0x36eba(0x219)],_0x513851[_0x36eba(0x1c8)]=_0x29f77b[_0x5b6772][_0x36eba(0x1c8)],_0x513851;});}[_0x31c436(0x1c6)](){const _0x3ddb62=_0x31c436;this[_0x3ddb62(0x262)]=!0x0,this[_0x3ddb62(0x229)]()?this[_0x3ddb62(0x1c3)]():this[_0x3ddb62(0x262)]=!0x1;}[_0x31c436(0x229)](){const _0x2a0cab=_0x31c436,_0x4ed552=this[_0x2a0cab(0x29d)][_0x2a0cab(0x265)][_0x2a0cab(0x282)](_0x50c1b4)[_0x2a0cab(0x1ce)][_0x2a0cab(0x282)](this[_0x2a0cab(0x1b4)]);return!this[_0x2a0cab(0x29d)][_0x2a0cab(0x1b7)]&&!!_0x4ed552&&_0x4ed552[_0x2a0cab(0x271)]>0x1&&this[_0x2a0cab(0x262)];}[_0x31c436(0x1cc)](){const _0x43d6fb=_0x31c436;return this[_0x43d6fb(0x27a)][_0x43d6fb(0x271)]>0x0||this[_0x43d6fb(0x229)]();}}l[_0x31c436(0x28f)]=_0x3d8213;export default l;class J extends Error{}function _0x369d(){const _0x5d1918=['getUser','_waitUntilSynced','_decompressOperations','_isAttached','4954804QQEPwK','init','destroy','fire','isEnabled','_addKnownRoot','forEach','change:_isEditingAllowed','currentDocumentSession','document:write','realtimecollaborationclient-init-session-connection-error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getOperations','realtimecollaborationclient-initservice-incorrect-server-operation','createUserMarkerOperations','userId','515378zSfage','rootName','lastSyncVersion','_handleReceivedOperations','rootsAttributes','collaboration','_getOperationsFromInitData','from','rtc-offline','addOperation','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','stop','offset','type','getRoot','_compressOperations','lastOperationId','listenTo','_lastSyncedOperationId','_currentBufferDelay','realtimecollaborationclient-initservice-internal-error','_knownRootNames','metadata','real-time-collaboration','removeFromReconnectionStack','high','stopListening','_clearPendingAction','apply','_shouldSendSelectionUpdate','newRange','setPermissions','loadRoot','string','_compressor','_fetchMissingUsers','cs:removeUser','_loadRoot','fromJSON','toJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','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.','finally','size','lastDocumentSession','unregister','markers','409','lastOperationAcceptedAt','_disconnectionOperations','getDocumentDetails','_crash','sessionAdd:','insert','_offset','_applyOperationsSet','permissions','baseVersion','connection','code','cloud-services-internal-error:\x20Not\x20connected.','sessionCreatedAt','collaboration.channelId','cloudDocumentVersion','state','move','realtimecollaborationclient-init-non-existent-root','end','_isDisconnection','disconnect','serverHistory','addToReconnectionStack','_connectService','define','_isInit','addRootAttribute','isUndoneOperation','realtimecollaborationclient-init-document-already-initialized','selection','createPositionAt','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.','editing','addRoot','enqueueChange','enableReadOnlyMode','realtimecollaborationclient-handleserverresponse','_hasSelectionChanged','createPositionFromPath','_sendBufferedOperations','plugins','bind','_isConnected','applyOperation','pluginName','_handleInitialConnectionData','_service','affectsData','parse','add','config','reconnect','length','change:_isPendingUpdate','collaboration-missing-channelid','_handleSendingSelectionMarkers','Notification','targetPosition','_bufferRootLoad','wasUndone','disconnected','_bufferedOperations','cloudServices.bundleVersion','marker','_operationIdentifier','path','191076ABmBtf','showWarning','sessionId','get','connect','decompress','sendOperations','push','_isPendingUpdate','realtimecollaborationclient-init-connection-failed','message','6968nXsTiH','710kcDNlw','cloud-services-internal-error:\x20Request\x20timeout.','_updateServerHistory','_saveOperationInBuffer','CollaborativeEditingService','round','suppressErrorInCollaboration','set','compress','_knownOperations','roots','2473882XAbYWf','rtc-destroyed','realtimecollaborationclient-sendbufferedoperations','getConnectedSessions','_isLoaded','initData','startsWith','editor','PENDING_ACTION_SENDING_DATA','change:range','ready','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getMany','change:hasDomSelection','remove','off','affectedSelectable','__className','65582XdrlgA','operationsReceived','3mYhuUP','requires','_ignoredOperations','keys','slice','model','catch','version','Permissions','createRoot','start','_authorId','_initThrowingOnDataSet','_setPendingAction','_handleReconnectionError','_channelId','mySessionId','getIdOfTheLastOperation','isReadOnly','disableReadOnlyMode','includes','createRange','14tmrSXY','multi-root-editor-root-attributes-no-root','_handleReconnectionResponse','InsertOperation','_sendBufferedOperationsDelayId','isDocumentOperation','has','locale','_sendBufferedOperationsDelayed','directChange','404','_refreshUserSelectionMarkers','document','createdAt','_operationToId','differ','_isEditingAllowed','_shouldSendUpdate','getOperationAuthor','channelSessions','view','_hasSynchronizationProblem','_pendingAction','_handleExternalOperations','register','5ecKqui','_setUpDataInit','setIdForTheLastOperation','position','addUser','_handleServerResponse','_initSessionsHandling','history','CommentsOnly','_disconnectService','entries','root','2970GWoQdr','then','reconnection:\x20flushed\x20session','wereChangesApplied','_connectAfterSessionHasBeenFlushed','attributes','_lastServerVersion','filter','Synchronization\x20issue','_document','reset','$root','data','_getAffectedRoot','_baseBufferDelay','3649836gSfiiv','batch','error','map','78upjgfI','return','clone','connected','RealTimeCollaborationClient'];_0x369d=function(){return _0x5d1918;};return _0x369d();}function Q(_0x1703a9,_0x113ca7){const _0x5bdbd3=_0x31c436;for(const _0x37b2d3 of _0x1703a9)_0x37b2d3[_0x5bdbd3(0x245)]=_0x113ca7++;}class X{constructor(_0x2bc10b){const _0x1f8110=_0x31c436;this[_0x1f8110(0x2ac)]=_0x2bc10b,this[_0x1f8110(0x1c9)]=new WeakMap();}[_0x31c436(0x1b6)](_0xf0f5fd){const _0x51ddb7=_0x31c436;let _0x5cf86a=_0xf0f5fd[_0x51ddb7(0x271)];for(;_0x5cf86a--;){const _0xf587af=_0xf0f5fd[_0x5cf86a];if(!this[_0x51ddb7(0x2ac)][_0x51ddb7(0x1c1)](_0xf587af)){if(!this[_0x51ddb7(0x1c9)][_0x51ddb7(0x1c1)](_0xf587af)){const _0x20621f=_0x892c46()[_0x51ddb7(0x2ae)](0x1,0x12);this[_0x51ddb7(0x1c9)][_0x51ddb7(0x292)](_0xf587af,_0x20621f);}return this[_0x51ddb7(0x1c9)][_0x51ddb7(0x282)](_0xf587af);}}}[_0x31c436(0x1d6)](_0x32d3bc,_0xfb5fef){const _0x989d1d=_0x31c436;if(!_0xfb5fef)return;let _0x3a3943=_0x32d3bc[_0x989d1d(0x271)];for(;_0x3a3943--;){const _0x51e3a6=_0x32d3bc[_0x3a3943];this[_0x989d1d(0x2ac)][_0x989d1d(0x1c1)](_0x51e3a6)||this[_0x989d1d(0x1c9)][_0x989d1d(0x292)](_0x51e3a6,_0xfb5fef);}}}
|
|
23
|
+
function _0x13bb(){const _0x30dcd5=['_bufferedOperations','getDocumentDetails','_isEditingAllowed','connection','init','requires','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_updateServerHistory','sessionAdd:','config','7QZExKa','enableReadOnlyMode','enqueueChange','fire','_isLoaded','$root','getRoot','move','start','_initThrowingOnDataSet','_hasSelectionChanged','lastOperationAcceptedAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isDocumentOperation','addToReconnectionStack','_disconnectService','bind','isReadOnly','_setUpDataInit','InsertOperation','filter','24dPPOFw','end','409','_document','stopListening','disconnect','loadRoot','reconnection:\x20flushed\x20session','sendOperations','getUser','_service','realtimecollaborationclient-init-connection-failed','_currentBufferDelay','addOperation','set','define','parse','getMany','isEnabled','createRange','_isAttached','_operationToId','404','message','_operationIdentifier','fromJSON','metadata','wereChangesApplied','sessionCreatedAt','getConnectedSessions','size','document:write','rootsAttributes','_ignoredOperations','forEach','editing','attributes','CommentsOnly','cloudDocumentVersion','length','createPositionAt','get','suppressErrorInCollaboration','_lastServerVersion','marker','permissions','type','channelSessions','isUndoneOperation','locale','initData','pluginName','path','addRootAttribute','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleReconnectionResponse','add','createdAt','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','showWarning','_shouldSendSelectionUpdate','_clearPendingAction','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.','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.','directChange','_refreshUserSelectionMarkers','version','CollaborativeEditingService','connected','rtc-destroyed','slice','getIdOfTheLastOperation','baseVersion','rootName','realtimecollaborationclient-sendbufferedoperations','disconnected','19722870GVcbSg','remove','_decompressOperations','push','finally','createUserMarkerOperations','PENDING_ACTION_SENDING_DATA','catch','code','Synchronization\x20issue','_shouldSendUpdate','offset','differ','_getOperationsFromInitData','_pendingAction','plugins','realtimecollaborationclient-init-session-connection-error','1492385Rqkoge','_compressOperations','createRoot','serverHistory','roots','disableReadOnlyMode','_channelId','_sendBufferedOperationsDelayed','editor','document','_getAffectedRoot','_addKnownRoot','_handleServerResponse','addUser','_knownRootNames','wasUndone','_bufferRootLoad','realtimecollaborationclient-initservice-incorrect-server-operation','view','_disconnectionOperations','newRange','listenTo','_knownOperations','map','_handleExternalOperations','_handleReconnectionError','entries','string','insert','_isConnected','_handleReceivedOperations','_baseBufferDelay','693852dSedJh','root','destroy','getOperationAuthor','_applyOperationsSet','selection','RealTimeCollaborationClient','batch','__className','_handleInitialConnectionData','change:range','decompress','_handleSendingSelectionMarkers','lastSyncVersion','change:_isPendingUpdate','4ExXWPP','_connectAfterSessionHasBeenFlushed','keys','cloudServices.bundleVersion','_loadRoot','position','_hasSynchronizationProblem','high','state','lastOperationId','mySessionId','includes','targetPosition','cs:removeUser','_sendBufferedOperations','history','reconnect','removeFromReconnectionStack','clone','getOperations','lastDocumentSession','_setPendingAction','sessionId','realtimecollaborationclient-initservice-internal-error','_fetchMissingUsers','apply','261278xmEIwu','toJSON','markers','affectsData','error','createPositionFromPath','affectedSelectable','setIdForTheLastOperation','6936584NDfAXR','realtimecollaborationclient-handleserverresponse','rtc-offline','applyOperation','4937973FQZnCZ','multi-root-editor-root-attributes-no-root','model','_compressor','11560293MumcPp','reset','_connectService','_authorId','collaboration-missing-channelid','Permissions','register','_crash','connect','real-time-collaboration','stop','Notification','operationsReceived','_waitUntilSynced','then','addRoot','userId','ready','return','_isPendingUpdate','_sendBufferedOperationsDelayId','_lastSyncedOperationId','change:_isEditingAllowed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','compress','unregister','change:hasDomSelection','_isDisconnection','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-document-already-initialized','collaboration.channelId','startsWith','_offset','_isInit','data','from','_initSessionsHandling','currentDocumentSession','collaboration','off','has','_saveOperationInBuffer'];_0x13bb=function(){return _0x30dcd5;};return _0x13bb();}const _0x3c1cd9=_0x1013;(function(_0x2ff4c3,_0x56f6df){const _0x42f4b1=_0x1013,_0x597ca1=_0x2ff4c3();while(!![]){try{const _0x2a5574=-parseInt(_0x42f4b1(0x1d1))/0x1*(-parseInt(_0x42f4b1(0x1b7))/0x2)+-parseInt(_0x42f4b1(0x1dd))/0x3+-parseInt(_0x42f4b1(0x22b))/0x4*(-parseInt(_0x42f4b1(0x188))/0x5)+parseInt(_0x42f4b1(0x1a8))/0x6*(parseInt(_0x42f4b1(0x216))/0x7)+parseInt(_0x42f4b1(0x1d9))/0x8+parseInt(_0x42f4b1(0x1e1))/0x9+-parseInt(_0x42f4b1(0x177))/0xa;if(_0x2a5574===_0x56f6df)break;else _0x597ca1['push'](_0x597ca1['shift']());}catch(_0x532568){_0x597ca1['push'](_0x597ca1['shift']());}}}(_0x13bb,0xeaf1c));import{Plugin as _0x2b7eb6,PendingActions as _0x5892c1}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e963f,version as _0x41c13d,uid as _0x23f074}from'ckeditor5/src/utils.js';import{Notification as _0x2c7439}from'ckeditor5/src/ui.js';import{transformSets as _0x12efd5,NoOperation as _0x2ac866,InsertOperation as _0xb3b87a,MarkerOperation as _0x297f3e,RootAttributeOperation as _0x3db5d7,OperationFactory as _0x3fb671,History as _0x557a3b}from'ckeditor5/src/engine.js';import _0x52e6e4 from'./websocketgateway.js';import _0xd100e5 from'./sessions.js';import _0x722cb8 from'./usermarkers.js';import{getTranslation as _0x448702}from'../common-translations.js';function _0x1013(_0x2af7e3,_0x4b9737){const _0x13bb26=_0x13bb();return _0x1013=function(_0x101359,_0x150f02){_0x101359=_0x101359-0x165;let _0x10906f=_0x13bb26[_0x101359];return _0x10906f;},_0x1013(_0x2af7e3,_0x4b9737);}import{Compressor as _0x1a6295}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x9a6531}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4c25f7,CollaborativeEditingService as _0x57dc9a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x2b7eb6{static get[_0x3c1cd9(0x211)](){return[_0x52e6e4,_0xd100e5,_0x722cb8,_0x5892c1,_0x9a6531,_0x2c7439];}static get[_0x3c1cd9(0x25e)](){const _0x1e873c=_0x3c1cd9;return _0x1e873c(0x1ae);}get[_0x3c1cd9(0x251)](){const _0x23ff58=_0x3c1cd9;return this[_0x23ff58(0x256)]+this[_0x23ff58(0x202)];}get[_0x3c1cd9(0x256)](){const _0x4bb94f=_0x3c1cd9;return this[_0x4bb94f(0x18b)][_0x4bb94f(0x16d)]-this[_0x4bb94f(0x202)];}get[_0x3c1cd9(0x1b5)](){const _0x2c77ec=_0x3c1cd9,_0x165fe6=this[_0x2c77ec(0x18b)][_0x2c77ec(0x1ca)]();for(let _0xd82e4e=_0x165fe6[_0x2c77ec(0x252)]-0x1;_0xd82e4e>=0x0;_0xd82e4e--){const _0xd4b394=_0x165fe6[_0xd82e4e];if(!this[_0x2c77ec(0x19b)][_0x2c77ec(0x20a)](_0xd4b394))return _0xd4b394[_0x2c77ec(0x173)]+0x1-this[_0x2c77ec(0x202)];}return 0x0;}constructor(_0x2f37e0){const _0x4bfc45=_0x3c1cd9;if(super(_0x2f37e0),this[_0x4bfc45(0x202)]=0x0,this[_0x4bfc45(0x1cd)]=null,this[_0x4bfc45(0x18b)]=new _0x557a3b(),this[_0x4bfc45(0x190)][_0x4bfc45(0x215)][_0x4bfc45(0x23a)](_0x4bfc45(0x208),{}),this[_0x4bfc45(0x18e)]=this[_0x4bfc45(0x190)][_0x4bfc45(0x215)][_0x4bfc45(0x254)](_0x4bfc45(0x200)),!this[_0x4bfc45(0x18e)])throw new _0x3e963f(_0x4bfc45(0x1e5),this);const _0x2212d0=_0x2f37e0[_0x4bfc45(0x215)][_0x4bfc45(0x254)](_0x4bfc45(0x1ba))||_0x41c13d;this[_0x4bfc45(0x235)]=new l[(_0x4bfc45(0x16e))](_0x2212d0,this[_0x4bfc45(0x18e)]),this[_0x4bfc45(0x22e)]=this[_0x4bfc45(0x190)][_0x4bfc45(0x1df)][_0x4bfc45(0x191)],this[_0x4bfc45(0x1e0)]=new _0x1a6295(),this[_0x4bfc45(0x20c)]=[],this[_0x4bfc45(0x19e)]=new WeakSet(),this[_0x4bfc45(0x196)]=new Set(),this[_0x4bfc45(0x239)](_0x4bfc45(0x1f4),!0x1),this[_0x4bfc45(0x239)](_0x4bfc45(0x1bd),!0x1),this[_0x4bfc45(0x185)]=null,this[_0x4bfc45(0x220)]=!0x1,this[_0x4bfc45(0x1f5)]=null,this[_0x4bfc45(0x1a7)]=0x12c,this[_0x4bfc45(0x237)]=this[_0x4bfc45(0x1a7)],this[_0x4bfc45(0x1f6)]=null,this[_0x4bfc45(0x19b)]=new WeakSet(),this[_0x4bfc45(0x243)]=new it(this[_0x4bfc45(0x19b)]);}[_0x3c1cd9(0x210)](){const _0x1055d9=_0x3c1cd9,_0x1f1786=this[_0x1055d9(0x190)],_0x3f03eb=_0x1f1786[_0x1055d9(0x186)][_0x1055d9(0x254)](_0x9a6531),_0x5b1f1c=_0x1f1786[_0x1055d9(0x186)][_0x1055d9(0x254)](_0x52e6e4);this[_0x1055d9(0x19d)](_0x3f03eb,_0x1055d9(0x1ab),(_0xbe2541,_0x17bbd5)=>{const _0x4277f6=_0x1055d9,_0x453f89=_0x17bbd5[0x0];_0x453f89[_0x4277f6(0x1e4)]&&(_0xbe2541[_0x4277f6(0x1f3)]=_0x3f03eb[_0x4277f6(0x234)](_0x453f89[_0x4277f6(0x1e4)]),_0xbe2541[_0x4277f6(0x1eb)]()),null===_0x453f89[_0x4277f6(0x1e4)]&&(_0xbe2541[_0x4277f6(0x1f3)]=null,_0xbe2541[_0x4277f6(0x1eb)]());},{'priority':_0x1055d9(0x1be)}),this[_0x1055d9(0x19d)](_0x1f1786[_0x1055d9(0x1df)][_0x1055d9(0x191)][_0x1055d9(0x1ad)],_0x1055d9(0x1b2),(_0x4032b8,_0x4d924d)=>{const _0x36c261=_0x1055d9;_0x4d924d[_0x36c261(0x16b)]&&this[_0x36c261(0x16c)]();}),this[_0x1055d9(0x19d)](_0x1f1786[_0x1055d9(0x24e)][_0x1055d9(0x19a)],_0x1055d9(0x1fc),()=>{const _0x387d3f=_0x1055d9;this[_0x387d3f(0x16c)]();}),this[_0x1055d9(0x21f)](),_0x1f1786[_0x1055d9(0x1df)]['on'](_0x1055d9(0x1dc),(_0x4201e1,_0x39a110)=>{const _0x10eb6e=_0x1055d9,_0x36b211=_0x39a110[0x0];_0x36b211[_0x10eb6e(0x223)]&&(this[_0x10eb6e(0x20b)](_0x36b211),this[_0x10eb6e(0x181)]()&&this[_0x10eb6e(0x18f)]());}),this[_0x1055d9(0x228)](),this[_0x1055d9(0x226)](_0x1055d9(0x20e))['to'](_0x5b1f1c,_0x1055d9(0x1bf),this,_0x1055d9(0x1bd),(_0x24dc86,_0x10da76)=>_0x1055d9(0x16f)===_0x24dc86&&!_0x10da76),this['on'](_0x1055d9(0x1f7),()=>{const _0x5e44ec=_0x1055d9;this[_0x5e44ec(0x20e)]?_0x1f1786[_0x5e44ec(0x18d)](_0x5e44ec(0x1db)):_0x1f1786[_0x5e44ec(0x217)](_0x5e44ec(0x1db));}),this[_0x1055d9(0x20e)]?_0x1f1786[_0x1055d9(0x18d)](_0x1055d9(0x1db)):_0x1f1786[_0x1055d9(0x217)](_0x1055d9(0x1db)),this[_0x1055d9(0x239)](_0x1055d9(0x1a5),!0x1);}async[_0x3c1cd9(0x1c7)](){const _0x26a0ad=_0x3c1cd9,_0x583118=this[_0x26a0ad(0x190)][_0x26a0ad(0x186)][_0x26a0ad(0x254)](_0xd100e5),_0x44c1da=this[_0x26a0ad(0x190)][_0x26a0ad(0x186)][_0x26a0ad(0x254)](_0x52e6e4);try{this[_0x26a0ad(0x1f4)]=!0x0,_0x583118[_0x26a0ad(0x1fb)](this[_0x26a0ad(0x18e)]);const _0x4d7ae3=await this[_0x26a0ad(0x235)][_0x26a0ad(0x1c7)](_0x44c1da[_0x26a0ad(0x20f)],this[_0x26a0ad(0x1b5)]);await this[_0x26a0ad(0x263)](_0x4d7ae3)&&(this[_0x26a0ad(0x1f4)]=!0x1,this[_0x26a0ad(0x168)]());const _0x4d1bf1=await this[_0x26a0ad(0x235)][_0x26a0ad(0x248)]();_0x583118[_0x26a0ad(0x1e7)](this[_0x26a0ad(0x18e)],_0x4d1bf1),this[_0x26a0ad(0x1b4)](),this[_0x26a0ad(0x1a5)]=!0x0;}catch(_0xc3e397){if(function(_0x3eb957){const _0xaef17c=_0x26a0ad;return _0xaef17c(0x241)===_0x3eb957[_0xaef17c(0x17f)];}(_0xc3e397)&&this[_0x26a0ad(0x1cd)])await this[_0x26a0ad(0x1b8)]();else{if(function(_0x1752cc){const _0x3cdb2a=_0x26a0ad;return _0x3cdb2a(0x22d)===_0x1752cc[_0x3cdb2a(0x17f)];}(_0xc3e397)){const _0x41b237=_0x448702(this[_0x26a0ad(0x190)][_0x26a0ad(0x25c)],_0x26a0ad(0x1f8));this[_0x26a0ad(0x1a1)](_0x41b237);}else{if(!(_0xc3e397 instanceof Z))throw _0xc3e397;this[_0x26a0ad(0x1a1)]();}}}}[_0x3c1cd9(0x1aa)](){const _0xcb024c=_0x3c1cd9,_0x54efcb=this[_0xcb024c(0x190)][_0xcb024c(0x186)][_0xcb024c(0x254)](_0x52e6e4),_0x1fa214=this[_0xcb024c(0x190)][_0xcb024c(0x186)][_0xcb024c(0x254)](_0xd100e5);this[_0xcb024c(0x190)][_0xcb024c(0x217)](_0xcb024c(0x170)),_0x1fa214[_0xcb024c(0x25a)][_0xcb024c(0x20a)](this[_0xcb024c(0x18e)])&&_0x1fa214[_0xcb024c(0x1fb)](this[_0xcb024c(0x18e)]),_0x54efcb[_0xcb024c(0x1c8)](this),this[_0xcb024c(0x225)](),super[_0xcb024c(0x1aa)]();}async[_0x3c1cd9(0x263)](_0x5d104c){const _0x2402ad=_0x3c1cd9;if(this[_0x2402ad(0x1cd)]!==_0x5d104c[_0x2402ad(0x1cd)]&&this[_0x2402ad(0x1f6)]!==_0x5d104c[_0x2402ad(0x1c0)])throw new Z();return this[_0x2402ad(0x1cd)]=_0x5d104c[_0x2402ad(0x1cd)],this[_0x2402ad(0x194)]([],{..._0x5d104c,'wereChangesApplied':!0x1,'data':_0x5d104c[_0x2402ad(0x204)]},_0x2402ad(0x1c7));}async[_0x3c1cd9(0x1e3)](_0xb6b6e2,_0x275905=!0x1){const _0x24234b=_0x3c1cd9,{connection:_0x260877}=this[_0x24234b(0x190)][_0x24234b(0x186)][_0x24234b(0x254)](_0x52e6e4);l[_0x24234b(0x16e)][_0x24234b(0x248)](_0x260877,this[_0x24234b(0x18e)])[_0x24234b(0x1ef)](_0x186a41=>this[_0x24234b(0x206)](_0x186a41))[_0x24234b(0x17e)](_0x541c2d=>{const _0x4dd726=_0x24234b;this[_0x4dd726(0x1e8)](_0x4dd726(0x187),_0x541c2d);}),this[_0x24234b(0x19d)](this[_0x24234b(0x235)],_0x24234b(0x1ed),this[_0x24234b(0x1a6)][_0x24234b(0x226)](this)),this[_0x24234b(0x19d)](this[_0x24234b(0x235)],_0x24234b(0x1d5),(_0x16b728,_0x3b299b)=>{const _0x3acdfc=_0x24234b;this[_0x3acdfc(0x1e8)](_0x3acdfc(0x1ce),_0x3b299b);}),this[_0x24234b(0x19d)](this[_0x24234b(0x235)],_0x24234b(0x176),()=>{const _0x597134=_0x24234b;this[_0x597134(0x1a5)]=!0x1;});const _0x14bb4b=this[_0x24234b(0x243)][_0x24234b(0x172)](_0xb6b6e2);this[_0x24234b(0x1f4)]=!0x0;const _0x1ad920=await this[_0x24234b(0x235)][_0x24234b(0x1e9)](_0x260877,this[_0x24234b(0x189)](_0xb6b6e2),_0x14bb4b);if(this[_0x24234b(0x1cd)]=_0x1ad920[_0x24234b(0x1cd)],_0x275905){if(!_0x1ad920[_0x24234b(0x246)])return void this[_0x24234b(0x1a1)]();this[_0x24234b(0x1f4)]=!0x1,this[_0x24234b(0x168)](),this[_0x24234b(0x18b)][_0x24234b(0x1e2)](),this[_0x24234b(0x202)]=_0x1ad920[_0x24234b(0x182)],this[_0x24234b(0x18b)][_0x24234b(0x16d)]=this[_0x24234b(0x202)],await this[_0x24234b(0x194)](_0xb6b6e2,_0x1ad920,_0x24234b(0x232));}else await this[_0x24234b(0x1b1)](_0x1ad920,_0xb6b6e2);this[_0x24234b(0x1b4)](),this[_0x24234b(0x1a5)]=!0x0;}[_0x3c1cd9(0x1b4)](){const _0x4e8057=_0x3c1cd9,_0x2e6252=this[_0x4e8057(0x190)][_0x4e8057(0x186)][_0x4e8057(0x254)](_0xd100e5),_0x2b2eac=this[_0x4e8057(0x190)][_0x4e8057(0x186)][_0x4e8057(0x254)](_0x722cb8),_0x2cc098=_0x2e6252[_0x4e8057(0x25a)][_0x4e8057(0x254)](this[_0x4e8057(0x18e)]);_0x2cc098&&_0x2cc098[_0x4e8057(0x252)]>0x1?_0x2b2eac[_0x4e8057(0x17c)]():this[_0x4e8057(0x19d)](_0x2e6252,_0x4e8057(0x214)+this[_0x4e8057(0x18e)],()=>{const _0x1850fa=_0x4e8057;0x2===_0x2e6252[_0x1850fa(0x25a)][_0x1850fa(0x254)](this[_0x1850fa(0x18e)])[_0x1850fa(0x252)]&&_0x2b2eac[_0x1850fa(0x17c)]();});}async[_0x3c1cd9(0x1a6)](_0x4d7880,_0x23f856,_0x3c1c7e,_0x524a4f){const _0x21c340=_0x3c1cd9;if(!this[_0x21c340(0x1f4)]&&this[_0x21c340(0x22e)][_0x21c340(0x16d)]==_0x23f856){const _0xb6fd53=this[_0x21c340(0x179)](_0x3c1c7e,_0x524a4f);await this[_0x21c340(0x1cf)](_0xb6fd53),this[_0x21c340(0x1a0)](_0xb6fd53,_0x23f856,_0x3c1c7e[_0x21c340(0x1c0)])||this[_0x21c340(0x1e8)](_0x21c340(0x199));}}async[_0x3c1cd9(0x1b8)](){const _0x358756=_0x3c1cd9;this[_0x358756(0x225)]();const {locale:_0x2da0e8}=this[_0x358756(0x190)];let _0x30e5ef;try{_0x30e5ef=await this[_0x358756(0x235)][_0x358756(0x20d)]();}catch(_0x219bf6){const _0x1a1a21=_0x448702(_0x2da0e8,_0x358756(0x222));return void this[_0x358756(0x1a1)](_0x1a1a21);}const _0x206cb9=_0x30e5ef[_0x358756(0x207)]||_0x30e5ef[_0x358756(0x1cb)];if(this[_0x358756(0x1f6)]===_0x206cb9[_0x358756(0x1c0)])await this[_0x358756(0x1e3)](this[_0x358756(0x190)][_0x358756(0x1df)][_0x358756(0x191)][_0x358756(0x1c6)][_0x358756(0x1ca)](),!0x0);else{const _0x9804e9=_0x448702(_0x2da0e8,_0x358756(0x169));this[_0x358756(0x1a1)](_0x9804e9);}}[_0x3c1cd9(0x225)](){const _0x3056c7=_0x3c1cd9;this[_0x3056c7(0x235)][_0x3056c7(0x230)](),this[_0x3056c7(0x20c)]=[],clearTimeout(this[_0x3056c7(0x1f5)]),this[_0x3056c7(0x22f)](this[_0x3056c7(0x235)]);}[_0x3c1cd9(0x206)](_0x37bddb){const _0x5573c8=_0x3c1cd9,_0x1e5096=this[_0x5573c8(0x190)][_0x5573c8(0x186)][_0x5573c8(0x254)](_0xd100e5);this[_0x5573c8(0x19d)](_0x1e5096,_0x5573c8(0x214)+this[_0x5573c8(0x18e)],(_0x5eeb10,{session:_0x14f5ef})=>{const _0x965609=_0x5573c8;if(_0x14f5ef['id']===_0x1e5096[_0x965609(0x1c1)]){_0x5eeb10[_0x965609(0x209)]();const _0x303306=this[_0x965609(0x190)][_0x965609(0x186)][_0x965609(0x20a)](_0x965609(0x250))&&this[_0x965609(0x190)][_0x965609(0x186)][_0x965609(0x254)](_0x965609(0x250));let _0x23ed2a=_0x14f5ef[_0x965609(0x258)];_0x303306&&_0x303306[_0x965609(0x23d)]&&(_0x23ed2a=_0x23ed2a[_0x965609(0x22a)](_0x445481=>_0x965609(0x24a)!==_0x445481)),this[_0x965609(0x190)][_0x965609(0x186)][_0x965609(0x254)](_0x965609(0x1e6))[_0x965609(0x165)](_0x23ed2a,this[_0x965609(0x18e)]);}}),_0x1e5096[_0x5573c8(0x1e7)](this[_0x5573c8(0x18e)],_0x37bddb);}[_0x3c1cd9(0x21f)](){const _0x3373df=_0x3c1cd9,_0xf17cbf=this[_0x3373df(0x190)][_0x3373df(0x204)][_0x3373df(0x239)];this[_0x3373df(0x190)][_0x3373df(0x204)][_0x3373df(0x239)]=(..._0x218cc6)=>{const _0x5d9352=_0x3373df;if(!_0x218cc6[_0x218cc6[_0x5d9352(0x252)]-0x1][_0x5d9352(0x255)])throw new _0x3e963f(_0x5d9352(0x262),this);_0xf17cbf[_0x5d9352(0x1d0)](this[_0x5d9352(0x190)][_0x5d9352(0x204)],_0x218cc6);};}[_0x3c1cd9(0x228)](){const _0x1c3388=_0x3c1cd9;this[_0x1c3388(0x190)][_0x1c3388(0x204)]['on'](_0x1c3388(0x210),(_0x4081c0,[_0x2c484b])=>{const _0x5cb5d1=_0x1c3388;if(this[_0x5cb5d1(0x22e)][_0x5cb5d1(0x16d)])throw new _0x3e963f(_0x5cb5d1(0x1ff),this);_0x4081c0[_0x5cb5d1(0x1eb)](),this[_0x5cb5d1(0x1cc)]();const _0x5bcb87=this[_0x5cb5d1(0x190)][_0x5cb5d1(0x215)][_0x5cb5d1(0x254)](_0x5cb5d1(0x24b)),_0xf20f85=this[_0x5cb5d1(0x184)](_0x2c484b,_0x5bcb87);0x0==_0xf20f85[_0x5cb5d1(0x252)]&&_0xf20f85[_0x5cb5d1(0x17a)](new _0x2ac866(0x0)),_0x4081c0[_0x5cb5d1(0x1f3)]=this[_0x5cb5d1(0x1e3)](_0xf20f85)[_0x5cb5d1(0x1ef)](()=>{const _0x56820e=_0x5cb5d1;this[_0x56820e(0x190)][_0x56820e(0x186)][_0x56820e(0x254)](_0x52e6e4)[_0x56820e(0x224)](this),this[_0x56820e(0x190)][_0x56820e(0x204)][_0x56820e(0x219)](_0x56820e(0x1f2));})[_0x5cb5d1(0x17e)](_0x1f809e=>this[_0x5cb5d1(0x1e8)](_0x5cb5d1(0x236),_0x1f809e))[_0x5cb5d1(0x17b)](()=>this[_0x5cb5d1(0x168)]());},{'priority':_0x1c3388(0x1be)}),this[_0x1c3388(0x190)]['on'](_0x1c3388(0x231),async(_0x28542a,[_0x431f29,_0x3d518c])=>{const _0x1143ac=_0x1c3388;_0x28542a[_0x1143ac(0x1eb)]();const _0xf0c82a=this[_0x1143ac(0x190)][_0x1143ac(0x1df)][_0x1143ac(0x191)][_0x1143ac(0x21c)](_0x431f29);if(!this[_0x1143ac(0x196)][_0x1143ac(0x20a)](_0x431f29)){const _0x53e571=_0x3d518c&&_0x3d518c[_0x1143ac(0x204)]?_0x3d518c[_0x1143ac(0x204)]:'',_0x23c2bc=_0x3d518c&&_0x3d518c[_0x1143ac(0x24f)]?_0x3d518c[_0x1143ac(0x24f)]:{};await this[_0x1143ac(0x1bb)](_0x431f29,_0x53e571,_0x23c2bc);}this[_0x1143ac(0x190)][_0x1143ac(0x1df)][_0x1143ac(0x218)]({'isUndoable':!0x1},()=>{const _0x19ceaf=_0x1143ac;_0xf0c82a[_0x19ceaf(0x21a)]=!0x0,this[_0x19ceaf(0x190)][_0x19ceaf(0x1df)][_0x19ceaf(0x191)][_0x19ceaf(0x183)][_0x19ceaf(0x198)](_0xf0c82a);});},{'priority':_0x1c3388(0x1be)});}async[_0x3c1cd9(0x1cf)](_0x457748){const _0x29dadc=_0x3c1cd9,_0x1fd485=this[_0x29dadc(0x190)][_0x29dadc(0x186)][_0x29dadc(0x254)](_0x9a6531),{connection:_0x23f96f}=this[_0x29dadc(0x190)][_0x29dadc(0x186)][_0x29dadc(0x254)](_0x52e6e4),_0x6cfb72=new Set();for(const _0x40db34 of _0x457748){const _0x7e86fc=_0x40db34[_0x29dadc(0x1e4)];_0x7e86fc&&!_0x1fd485[_0x29dadc(0x234)](_0x7e86fc)&&_0x6cfb72[_0x29dadc(0x264)](_0x7e86fc);}if(0x0===_0x6cfb72[_0x29dadc(0x249)])return;const _0x39059f=await _0x4c25f7[_0x29dadc(0x23c)](_0x23f96f,Array[_0x29dadc(0x205)](_0x6cfb72));for(const _0x1e12a3 of _0x39059f)_0x1fd485[_0x29dadc(0x234)](_0x1e12a3['id'])||_0x1fd485[_0x29dadc(0x195)](_0x1e12a3);}[_0x3c1cd9(0x184)](_0x30987c,_0x5608c3={}){const _0x108e46=_0x3c1cd9,_0x15a604=this[_0x108e46(0x190)][_0x108e46(0x1df)],_0x48222d=[];let _0x46a6a2=0x0;const _0x2d0885=_0x108e46(0x1a3)==typeof _0x30987c?{'main':_0x30987c}:_0x30987c;for(const _0x53d39c of Object[_0x108e46(0x1b9)](_0x2d0885)){if(!this[_0x108e46(0x22e)][_0x108e46(0x18c)][_0x108e46(0x20a)](_0x53d39c))throw new _0x3e963f(_0x108e46(0x261),this);const _0xe9d9a7=this[_0x108e46(0x190)][_0x108e46(0x204)][_0x108e46(0x23b)](_0x2d0885[_0x53d39c]),_0x5c7574=this[_0x108e46(0x22e)][_0x108e46(0x21c)](_0x53d39c),_0x387081=new _0xb3b87a(_0x15a604[_0x108e46(0x253)](_0x5c7574,0x0),_0xe9d9a7,_0x46a6a2++);_0x48222d[_0x108e46(0x17a)](_0x387081);for(const [_0x2d34a3,_0x34e6b9]of _0xe9d9a7[_0x108e46(0x1d3)]){const _0x402fc7=_0x15a604[_0x108e46(0x23e)](_0x15a604[_0x108e46(0x1d6)](_0x5c7574,_0x34e6b9[_0x108e46(0x21e)][_0x108e46(0x25f)][_0x108e46(0x171)]()),_0x15a604[_0x108e46(0x1d6)](_0x5c7574,_0x34e6b9[_0x108e46(0x22c)][_0x108e46(0x25f)][_0x108e46(0x171)]())),_0x5cfd6e=new _0x297f3e(_0x2d34a3,null,_0x402fc7,_0x15a604[_0x108e46(0x1d3)],!0x0,_0x46a6a2++);_0x48222d[_0x108e46(0x17a)](_0x5cfd6e);}}if(_0x5608c3)for(const [_0x1ad0d6,_0x1a1922]of Object[_0x108e46(0x1a2)](_0x5608c3)){const _0x5cbd0a=_0x15a604[_0x108e46(0x191)][_0x108e46(0x21c)](_0x1ad0d6);if(!_0x5cbd0a)throw new _0x3e963f(_0x108e46(0x1de),null);for(const [_0x2ebd38,_0x13cf7a]of Object[_0x108e46(0x1a2)](_0x1a1922))if(null!==_0x13cf7a){const _0x194a7e=new _0x3db5d7(_0x5cbd0a,_0x2ebd38,null,_0x13cf7a,_0x46a6a2++);_0x48222d[_0x108e46(0x17a)](_0x194a7e);}}return _0x48222d;}async[_0x3c1cd9(0x1bb)](_0xfacfd9,_0x583fe9,_0x522a7d){const _0xa56340=_0x3c1cd9;this[_0xa56340(0x184)]({[_0xfacfd9]:_0x583fe9},{[_0xfacfd9]:_0x522a7d})[_0xa56340(0x24d)]((_0x459929,_0x312a2f)=>{const _0x3acc27=_0xa56340;_0x459929[_0x3acc27(0x173)]=this[_0x3acc27(0x22e)][_0x3acc27(0x16d)]+_0x312a2f,_0x459929[_0x3acc27(0x203)]=!0x0,this[_0x3acc27(0x20b)](_0x459929);}),this[_0xa56340(0x18f)](),await this[_0xa56340(0x1ee)]();}async[_0x3c1cd9(0x1b1)](_0x2ef60e,_0x202480){const _0x5a2244=_0x3c1cd9;let _0x1b9737;this[_0x5a2244(0x202)]=_0x2ef60e[_0x5a2244(0x182)];const _0x2ad94f=_0x2ef60e[_0x5a2244(0x246)]&&!_0x2ef60e[_0x5a2244(0x25d)],_0x22cfbc=_0x2ad94f?0x0:_0x2ef60e[_0x5a2244(0x204)][_0x5a2244(0x173)];if(_0x202480[_0x5a2244(0x24d)](_0x35562a=>{const _0x3f6a22=_0x5a2244;_0x35562a[_0x3f6a22(0x203)]=!0x0,_0x35562a[_0x3f6a22(0x265)]=_0x2ef60e[_0x3f6a22(0x247)],_0x35562a[_0x3f6a22(0x1e4)]=null;}),_0x2ad94f)_0x1b9737=_0x202480,this[_0x5a2244(0x1ac)](_0x1b9737,_0x2ad94f);else{if(_0x2ef60e[_0x5a2244(0x25d)]){const _0x2dbb16=this[_0x5a2244(0x184)](_0x2ef60e[_0x5a2244(0x25d)]);this[_0x5a2244(0x22e)][_0x5a2244(0x1c6)][_0x5a2244(0x16d)]=-_0x2dbb16[_0x5a2244(0x252)],_0x2dbb16[_0x5a2244(0x24d)](_0x1ef85b=>{const _0x5c03f4=_0x5a2244;_0x1ef85b[_0x5c03f4(0x173)]-=_0x2dbb16[_0x5c03f4(0x252)],_0x1ef85b[_0x5c03f4(0x265)]=_0x2ef60e[_0x5c03f4(0x247)],_0x1ef85b[_0x5c03f4(0x203)]=!0x0,_0x1ef85b[_0x5c03f4(0x1e4)]=null;}),this[_0x5a2244(0x1ac)](_0x2dbb16,!0x0),this[_0x5a2244(0x18b)][_0x5a2244(0x16d)]=-_0x2dbb16[_0x5a2244(0x252)]+this[_0x5a2244(0x202)],this[_0x5a2244(0x213)](_0x2dbb16);}this[_0x5a2244(0x22e)][_0x5a2244(0x1c6)][_0x5a2244(0x16d)]=_0x22cfbc,_0x1b9737=this[_0x5a2244(0x179)](_0x2ef60e[_0x5a2244(0x204)],_0x2ef60e[_0x5a2244(0x245)]),await this[_0x5a2244(0x1cf)](_0x1b9737),this[_0x5a2244(0x1ac)](_0x1b9737,_0x2ad94f);}_0x2ef60e[_0x5a2244(0x1c0)]&&(this[_0x5a2244(0x243)][_0x5a2244(0x1d8)](_0x1b9737,_0x2ef60e[_0x5a2244(0x1c0)]),this[_0x5a2244(0x1f6)]=_0x2ef60e[_0x5a2244(0x1c0)]),this[_0x5a2244(0x18b)][_0x5a2244(0x16d)]=_0x22cfbc+this[_0x5a2244(0x202)],this[_0x5a2244(0x213)](_0x1b9737),_0x202480[_0x5a2244(0x22a)](_0x5e486a=>{const _0x32804b=_0x5a2244,_0x541c44=this[_0x32804b(0x192)](_0x5e486a);return _0x541c44&&!this[_0x32804b(0x196)][_0x32804b(0x20a)](_0x541c44);})[_0x5a2244(0x24d)]((_0x1e23b6,_0x59f214)=>{const _0x151212=_0x5a2244;_0x1e23b6[_0x151212(0x173)]=this[_0x151212(0x22e)][_0x151212(0x16d)]+_0x59f214,this[_0x151212(0x20b)](_0x1e23b6);}),this[_0x5a2244(0x181)]()?(this[_0x5a2244(0x237)]=0x0,this[_0x5a2244(0x18f)](!0x0),await this[_0x5a2244(0x1ee)]()):(this[_0x5a2244(0x1f4)]=!0x1,this[_0x5a2244(0x168)]());}[_0x3c1cd9(0x1e8)](_0x428156,_0x236c1a){const _0x44a61d=_0x3c1cd9;throw this[_0x44a61d(0x1f4)]=!0x0,_0x236c1a&&console[_0x44a61d(0x1d5)](_0x236c1a),new _0x3e963f(_0x428156,this[_0x44a61d(0x190)]);}[_0x3c1cd9(0x20b)](_0x1715ac){const _0x4e2eb8=_0x3c1cd9;this[_0x4e2eb8(0x19e)][_0x4e2eb8(0x20a)](_0x1715ac)||(this[_0x4e2eb8(0x19e)][_0x4e2eb8(0x264)](_0x1715ac),this[_0x4e2eb8(0x20c)][_0x4e2eb8(0x17a)](_0x1715ac),this[_0x4e2eb8(0x185)]||_0x4e2eb8(0x257)==_0x1715ac[_0x4e2eb8(0x259)]&&!_0x1715ac[_0x4e2eb8(0x1d4)]||this[_0x4e2eb8(0x1cc)]());}[_0x3c1cd9(0x18f)](_0x29eaec=!0x1){const _0x2ac546=_0x3c1cd9;!_0x29eaec&&this[_0x2ac546(0x1f4)]||(this[_0x2ac546(0x1f4)]=!0x0,clearTimeout(this[_0x2ac546(0x1f5)]),this[_0x2ac546(0x1f5)]=setTimeout(()=>{const _0x182a3=_0x2ac546;this[_0x182a3(0x1c5)]()[_0x182a3(0x1ef)](_0x662626=>{const _0xba3141=_0x182a3;_0x662626&&(this[_0xba3141(0x168)](),this[_0xba3141(0x1f4)]=!0x1);})[_0x182a3(0x17e)](_0x2a7548=>{const _0x201baa=_0x182a3;if(this[_0x201baa(0x168)](),this[_0x201baa(0x1f4)]=!0x1,!function(_0x15d45d){const _0x2321ef=_0x201baa;return _0x15d45d[_0x2321ef(0x242)][_0x2321ef(0x201)](_0x2321ef(0x266))||_0x15d45d[_0x2321ef(0x242)][_0x2321ef(0x201)](_0x2321ef(0x212))||_0x15d45d[_0x2321ef(0x242)][_0x2321ef(0x201)](_0x2321ef(0x1fe));}(_0x2a7548))throw _0x2a7548;});},this[_0x2ac546(0x237)]));}[_0x3c1cd9(0x1ee)](){return new Promise(_0x15076e=>{const _0x450696=_0x1013;this['on'](_0x450696(0x1b6),()=>{_0x15076e();});});}async[_0x3c1cd9(0x1c5)](){const _0x4b33c2=_0x3c1cd9,_0x5d53a7=this[_0x4b33c2(0x190)][_0x4b33c2(0x186)][_0x4b33c2(0x254)](_0x722cb8);if(this[_0x4b33c2(0x167)]()&&(_0x5d53a7[_0x4b33c2(0x17c)](),this[_0x4b33c2(0x220)]=!0x1),!this[_0x4b33c2(0x181)]())return!0x0;const _0xf07a9f=[...this[_0x4b33c2(0x20c)]];for(const _0xacd410 of _0xf07a9f)_0xacd410[_0x4b33c2(0x197)]=this[_0x4b33c2(0x22e)][_0x4b33c2(0x1c6)][_0x4b33c2(0x25b)](_0xacd410);const _0x311328=this[_0x4b33c2(0x243)][_0x4b33c2(0x172)](_0xf07a9f),_0x1d502a=Y++,_0x48bd95=this[_0x4b33c2(0x189)](_0xf07a9f),_0x2252e1=await this[_0x4b33c2(0x235)][_0x4b33c2(0x233)](_0x48bd95,_0x48bd95[_0x4b33c2(0x173)],_0x311328);try{return await this[_0x4b33c2(0x194)](_0xf07a9f,_0x2252e1,_0x1d502a);}catch(_0x140e92){return this[_0x4b33c2(0x1e8)](_0x4b33c2(0x175),_0x140e92);}}async[_0x3c1cd9(0x194)](_0x18c84c,_0x12175d,_0x420d50){const _0x19c1a0=_0x3c1cd9;if(_0x19c1a0(0x1d5)in _0x12175d)throw _0x12175d[_0x19c1a0(0x1d5)];let _0x41970b=!0x1;if(_0x12175d[_0x19c1a0(0x246)]){_0x12175d[_0x19c1a0(0x1c0)]&&(this[_0x19c1a0(0x1f6)]=_0x12175d[_0x19c1a0(0x1c0)]),this[_0x19c1a0(0x20c)]=this[_0x19c1a0(0x20c)][_0x19c1a0(0x22a)](_0x4bc572=>!_0x18c84c[_0x19c1a0(0x1c2)](_0x4bc572));for(const _0x2df506 of _0x18c84c)_0x2df506[_0x19c1a0(0x265)]=_0x19c1a0(0x221)in _0x12175d&&_0x12175d[_0x19c1a0(0x221)]||void 0x0;tt(_0x18c84c,_0x12175d[_0x19c1a0(0x16d)]-_0x18c84c[_0x19c1a0(0x252)]),this[_0x19c1a0(0x213)](_0x18c84c);const _0x1d0ae0=_0x18c84c[_0x19c1a0(0x22a)](_0x14f2e7=>{const _0x26d24a=_0x19c1a0;if(!_0x14f2e7[_0x26d24a(0x203)])return!0x1;const _0x4b20da=this[_0x26d24a(0x192)](_0x14f2e7);return _0x4b20da&&!this[_0x26d24a(0x196)][_0x26d24a(0x20a)](_0x4b20da);});tt(_0x1d0ae0,this[_0x19c1a0(0x22e)][_0x19c1a0(0x16d)]),this[_0x19c1a0(0x1ac)](_0x1d0ae0),_0x41970b=!0x0,this[_0x19c1a0(0x237)]=this[_0x19c1a0(0x1a7)];}else{const _0x54bba2=this[_0x19c1a0(0x179)](_0x12175d[_0x19c1a0(0x204)],_0x12175d[_0x19c1a0(0x245)])[_0x19c1a0(0x22a)](_0xf608c4=>_0xf608c4[_0x19c1a0(0x173)]>=this[_0x19c1a0(0x256)]);_0x54bba2[_0x19c1a0(0x24d)](_0x465d18=>this[_0x19c1a0(0x193)](_0x465d18)),this[_0x19c1a0(0x20c)]=this[_0x19c1a0(0x20c)][_0x19c1a0(0x22a)](_0xa46324=>!_0xa46324[_0x19c1a0(0x203)]||!this[_0x19c1a0(0x196)][_0x19c1a0(0x20a)](this[_0x19c1a0(0x192)](_0xa46324))),this[_0x19c1a0(0x20c)][_0x19c1a0(0x252)]&&tt(this[_0x19c1a0(0x20c)],this[_0x19c1a0(0x20c)][0x0][_0x19c1a0(0x173)]),await this[_0x19c1a0(0x1cf)](_0x54bba2),_0x41970b=this[_0x19c1a0(0x1a0)](_0x54bba2,_0x12175d[_0x19c1a0(0x16d)],_0x12175d[_0x19c1a0(0x1c0)]),this[_0x19c1a0(0x237)]=Math[_0x19c1a0(0x1f9)](this[_0x19c1a0(0x237)]/0x2);}return _0x41970b?!this[_0x19c1a0(0x181)]()||(this[_0x19c1a0(0x18f)](!0x0),!0x1):this[_0x19c1a0(0x1e8)](_0x19c1a0(0x1da));}[_0x3c1cd9(0x1a0)](_0x459ae3,_0x555bd3,_0x10dd1e){const _0x1080c8=_0x3c1cd9;try{const _0x228e6a={'document':this[_0x1080c8(0x22e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1e3255,operationsB:_0xde53b3,originalOperations:_0x55c648}=_0x12efd5(_0x459ae3,this[_0x1080c8(0x20c)],_0x228e6a);tt(_0x1e3255,this[_0x1080c8(0x22e)][_0x1080c8(0x16d)]),tt(_0xde53b3,_0x555bd3);for(const _0xf73be9 of _0x1e3255){const _0x29f039=_0x55c648[_0x1080c8(0x254)](_0xf73be9);_0xf73be9[_0x1080c8(0x1e4)]=_0x29f039?_0x29f039[_0x1080c8(0x1e4)]:null;}_0x10dd1e&&(this[_0x1080c8(0x243)][_0x1080c8(0x1d8)](_0x459ae3,_0x10dd1e),this[_0x1080c8(0x1f6)]=_0x10dd1e),this[_0x1080c8(0x20c)]=[..._0xde53b3],this[_0x1080c8(0x1ac)](_0x1e3255),this[_0x1080c8(0x213)](_0x459ae3);}catch(_0x5ac263){return console[_0x1080c8(0x1d5)](_0x5ac263),!0x1;}return!0x0;}[_0x3c1cd9(0x1ac)](_0x286ab7,_0x4d2e92=!0x1){const _0x459fa5=_0x3c1cd9;this[_0x459fa5(0x190)][_0x459fa5(0x1df)][_0x459fa5(0x218)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3d3109=>{const _0x4752c6=_0x459fa5;for(const _0x3c0bd4 of _0x286ab7)this[_0x4752c6(0x19e)][_0x4752c6(0x264)](_0x3c0bd4),this[_0x4752c6(0x193)](_0x3c0bd4),_0x3d3109[_0x4752c6(0x1af)][_0x4752c6(0x238)](_0x3c0bd4),this[_0x4752c6(0x190)][_0x4752c6(0x1df)][_0x4752c6(0x1dc)](_0x3c0bd4);});}[_0x3c1cd9(0x193)](_0x1adef5){const _0x249dc4=_0x3c1cd9,_0x514644=this[_0x249dc4(0x192)](_0x1adef5);_0x514644&&this[_0x249dc4(0x196)][_0x249dc4(0x264)](_0x514644);}[_0x3c1cd9(0x192)](_0x245a85){const _0x8cb390=_0x3c1cd9;let _0x30b0de,_0x11c8e0;switch(_0x245a85[_0x8cb390(0x259)]){case _0x8cb390(0x1a4):_0x30b0de=_0x245a85[_0x8cb390(0x1bc)][_0x8cb390(0x1a9)];break;case _0x8cb390(0x257):if(_0x11c8e0=_0x245a85[_0x8cb390(0x19c)],!_0x11c8e0)return null;_0x30b0de=_0x11c8e0[_0x8cb390(0x1a9)];break;case _0x8cb390(0x260):_0x30b0de=_0x245a85[_0x8cb390(0x1a9)];break;case _0x8cb390(0x1f0):_0x30b0de=_0x245a85[_0x8cb390(0x1d7)];break;case _0x8cb390(0x21d):_0x30b0de=_0x245a85[_0x8cb390(0x1c3)][_0x8cb390(0x1a9)];break;default:return null;}return _0x30b0de[_0x8cb390(0x174)];}[_0x3c1cd9(0x213)](_0x28fdbc){const _0x379259=_0x3c1cd9;_0x28fdbc[_0x379259(0x24d)](_0x26aeb7=>{const _0x22a739=_0x379259,_0x5745d5=_0x26aeb7[_0x22a739(0x1c9)]();_0x5745d5[_0x22a739(0x1e4)]=_0x26aeb7[_0x22a739(0x1e4)],_0x5745d5[_0x22a739(0x203)]=!!_0x26aeb7[_0x22a739(0x203)],_0x5745d5[_0x22a739(0x265)]=_0x26aeb7[_0x22a739(0x265)],_0x5745d5[_0x22a739(0x173)]+=this[_0x22a739(0x202)],_0x26aeb7[_0x22a739(0x1fd)]&&this[_0x22a739(0x19b)][_0x22a739(0x264)](_0x5745d5),this[_0x22a739(0x18b)][_0x22a739(0x238)](_0x5745d5);});}[_0x3c1cd9(0x1a1)](_0x533b93){const _0x3d1cc2=_0x3c1cd9,_0x5bb2ed=this[_0x3d1cc2(0x190)][_0x3d1cc2(0x186)][_0x3d1cc2(0x254)](_0x3d1cc2(0x1ec)),_0x493f98=this[_0x3d1cc2(0x190)][_0x3d1cc2(0x25c)];_0x533b93||(_0x533b93=_0x448702(_0x493f98,_0x3d1cc2(0x16a))),_0x5bb2ed[_0x3d1cc2(0x166)](_0x533b93,{'title':_0x448702(_0x493f98,_0x3d1cc2(0x180)),'namespace':_0x3d1cc2(0x1ea)}),this[_0x3d1cc2(0x1bd)]=!0x0,clearTimeout(this[_0x3d1cc2(0x1f5)]),this[_0x3d1cc2(0x20c)]=[],this[_0x3d1cc2(0x190)][_0x3d1cc2(0x186)][_0x3d1cc2(0x254)](_0x52e6e4)[_0x3d1cc2(0x1aa)]();}[_0x3c1cd9(0x1cc)](){const _0x48bd84=_0x3c1cd9;this[_0x48bd84(0x185)]||(this[_0x48bd84(0x185)]=this[_0x48bd84(0x190)][_0x48bd84(0x186)][_0x48bd84(0x254)](_0x5892c1)[_0x48bd84(0x264)](_0x448702(this[_0x48bd84(0x190)][_0x48bd84(0x25c)],_0x48bd84(0x17d))));}[_0x3c1cd9(0x168)](){const _0x586c8d=_0x3c1cd9;this[_0x586c8d(0x185)]&&(this[_0x586c8d(0x190)][_0x586c8d(0x186)][_0x586c8d(0x254)](_0x5892c1)[_0x586c8d(0x178)](this[_0x586c8d(0x185)]),this[_0x586c8d(0x185)]=null);}[_0x3c1cd9(0x189)](_0x158f3a){const _0x3b66e2=_0x3c1cd9,_0x3154f8=_0x158f3a[_0x3b66e2(0x19f)](_0x2f21e6=>_0x2f21e6[_0x3b66e2(0x1d2)]());return this[_0x3b66e2(0x1e0)][_0x3b66e2(0x1fa)](_0x3154f8);}[_0x3c1cd9(0x179)](_0x2eca22,_0x54d6fb){const _0x46da92=_0x3c1cd9;return this[_0x46da92(0x1e0)][_0x46da92(0x1b3)](_0x2eca22)[_0x46da92(0x19f)]((_0x4c99e8,_0x234f5a)=>{const _0x3166d7=_0x46da92,_0x36e2f1=_0x3166d7(0x210)==_0x54d6fb[_0x234f5a][_0x3166d7(0x259)];if(_0x3166d7(0x229)==_0x4c99e8[_0x3166d7(0x1b0)]){const _0x869b8f=_0x4c99e8[_0x3166d7(0x1bc)][_0x3166d7(0x1a9)];!this[_0x3166d7(0x22e)][_0x3166d7(0x21c)](_0x869b8f)&&(this[_0x3166d7(0x22e)][_0x3166d7(0x18a)](_0x3166d7(0x21b),_0x869b8f)[_0x3166d7(0x23f)]=!0x1);}const _0xc61f6c=_0x3fb671[_0x3166d7(0x244)](_0x4c99e8,this[_0x3166d7(0x22e)]);return _0xc61f6c[_0x3166d7(0x197)]=_0x4c99e8[_0x3166d7(0x197)],_0xc61f6c[_0x3166d7(0x203)]=_0x36e2f1,_0xc61f6c[_0x3166d7(0x1e4)]=_0x36e2f1?null:_0x54d6fb[_0x234f5a][_0x3166d7(0x1f1)],_0xc61f6c[_0x3166d7(0x1fd)]=_0x3166d7(0x1c4)===_0x54d6fb[_0x234f5a][_0x3166d7(0x259)],_0xc61f6c[_0x3166d7(0x265)]=_0x54d6fb[_0x234f5a][_0x3166d7(0x265)],_0xc61f6c;});}[_0x3c1cd9(0x16c)](){const _0x2da2a4=_0x3c1cd9;this[_0x2da2a4(0x220)]=!0x0,this[_0x2da2a4(0x167)]()?this[_0x2da2a4(0x18f)]():this[_0x2da2a4(0x220)]=!0x1;}[_0x3c1cd9(0x167)](){const _0x2aef09=_0x3c1cd9,_0x2967d5=this[_0x2aef09(0x190)][_0x2aef09(0x186)][_0x2aef09(0x254)](_0xd100e5)[_0x2aef09(0x25a)][_0x2aef09(0x254)](this[_0x2aef09(0x18e)]);return!this[_0x2aef09(0x190)][_0x2aef09(0x227)]&&!!_0x2967d5&&_0x2967d5[_0x2aef09(0x252)]>0x1&&this[_0x2aef09(0x220)];}[_0x3c1cd9(0x181)](){const _0x36c0d6=_0x3c1cd9;return this[_0x36c0d6(0x20c)][_0x36c0d6(0x252)]>0x0||this[_0x36c0d6(0x167)]();}}l[_0x3c1cd9(0x16e)]=_0x57dc9a;export default l;class Z extends Error{}function tt(_0x458cbe,_0x31d1bb){const _0x17fe2e=_0x3c1cd9;for(const _0xbc4c54 of _0x458cbe)_0xbc4c54[_0x17fe2e(0x173)]=_0x31d1bb++;}class it{constructor(_0x48ef43){const _0x403786=_0x3c1cd9;this[_0x403786(0x24c)]=_0x48ef43,this[_0x403786(0x240)]=new WeakMap();}[_0x3c1cd9(0x172)](_0x51e0f0){const _0x37ce0b=_0x3c1cd9;let _0x51ae41=_0x51e0f0[_0x37ce0b(0x252)];for(;_0x51ae41--;){const _0x273290=_0x51e0f0[_0x51ae41];if(!this[_0x37ce0b(0x24c)][_0x37ce0b(0x20a)](_0x273290)){if(!this[_0x37ce0b(0x240)][_0x37ce0b(0x20a)](_0x273290)){const _0x31cc5c=_0x23f074()[_0x37ce0b(0x171)](0x1,0x12);this[_0x37ce0b(0x240)][_0x37ce0b(0x239)](_0x273290,_0x31cc5c);}return this[_0x37ce0b(0x240)][_0x37ce0b(0x254)](_0x273290);}}}[_0x3c1cd9(0x1d8)](_0x4287cf,_0x4c5781){const _0x4a55ac=_0x3c1cd9;if(!_0x4c5781)return;let _0x150382=_0x4287cf[_0x4a55ac(0x252)];for(;_0x150382--;){const _0x518259=_0x4287cf[_0x150382];this[_0x4a55ac(0x24c)][_0x4a55ac(0x20a)](_0x518259)||this[_0x4a55ac(0x240)][_0x4a55ac(0x239)](_0x518259,_0x4c5781);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6bd7de=_0x1261;function _0x390c(){const _0x238f79=['fromRange','getPositions','reconvertMarker','UserMarkers','has','stopListening','setCustomProperty','mySessionId','markerNameToElements','color','marker','getFirstRange','addMarker','render','getRange','42261kYAojb','editingDowncast','clear','schema','data-session-id','isSimilar','for','conversion','markers','keydown','undo','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','innerHTML','classList','split','add','42EOzgng','change','parent','requires','removeMarker','checkChild','toDomElement','update:user:range','view','user:position','6163852vuQEyl','contenteditable','pluginName','batch','markerName','getCustomProperty','hasContent','removeClass','mapper','userPositionMarker','afterInit','user:range','init','Escape','updateMarker','toRange','newRange','1212021yJdDto','user:','ck-user__selection','isInline','tableCell','end','$graveyard','getStart','markerToElement','getUserBySessionId','258cUufzp','mouseleave','commands','60dhlStt','start','set','markerRange','model','detach','createRange','getSelectionClass','highest','createUIElement','</span>','isObject','get','element','ck-user__marker\x20','getNearestSelectionRange','8648360GXoXZY','mouseenter','getAttribute','listenTo','607854GmQnva','name','user:position:','createUserMarkerOperations','size','applyOperation','_createdBatches','document','editor','plugins','root','markerToHighlight','518386YDpqJt','isLimit','user:range:','destroy','rootName','change:range','startsWith','isCollapsed','deletionPosition','enqueueChange','addEventListener','span','5rRLNHq','type','remove','editing','ck-user__marker_hovered','hasDomSelection','$text','_domEmitter','selection','nodeAfter','oldRange','964974OfbtVQ','orderNumber','delete','getMarkerClass','getContainedElement'];_0x390c=function(){return _0x238f79;};return _0x390c();}(function(_0x514580,_0x44915c){const _0x1b37fe=_0x1261,_0x170928=_0x514580();while(!![]){try{const _0x236ad0=parseInt(_0x1b37fe(0x185))/0x1+parseInt(_0x1b37fe(0x16e))/0x2*(-parseInt(_0x1b37fe(0x1bc))/0x3)+-parseInt(_0x1b37fe(0x1d6))/0x4*(-parseInt(_0x1b37fe(0x19d))/0x5)+parseInt(_0x1b37fe(0x1a8))/0x6*(parseInt(_0x1b37fe(0x1cc))/0x7)+-parseInt(_0x1b37fe(0x181))/0x8+-parseInt(_0x1b37fe(0x164))/0x9*(-parseInt(_0x1b37fe(0x171))/0xa)+-parseInt(_0x1b37fe(0x191))/0xb;if(_0x236ad0===_0x44915c)break;else _0x170928['push'](_0x170928['shift']());}catch(_0x330046){_0x170928['push'](_0x170928['shift']());}}}(_0x390c,0xee61b));import{Plugin as _0x162b08}from'ckeditor5/src/core.js';import{global as _0x1735f4,DomEmitterMixin as _0x4f3d90}from'ckeditor5/src/utils.js';import _0x2280b2 from'./sessions.js';import{LiveRange as _0x50760c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1261(_0x37acfc,_0x426657){const _0x390c89=_0x390c();return _0x1261=function(_0x1261e1,_0x17ecd8){_0x1261e1=_0x1261e1-0x154;let _0xb67cd0=_0x390c89[_0x1261e1];return _0xb67cd0;},_0x1261(_0x37acfc,_0x426657);}export default class H extends _0x162b08{constructor(){const _0x577ae9=_0x1261;super(...arguments),this[_0x577ae9(0x1a4)]=new(_0x4f3d90())();}static get[_0x6bd7de(0x1cf)](){return[_0x2280b2];}static get[_0x6bd7de(0x155)](){const _0x3e5f0f=_0x6bd7de;return _0x3e5f0f(0x1b0);}[_0x6bd7de(0x15f)](){const _0x515476=_0x6bd7de,_0x517762=this[_0x515476(0x18d)],_0x50c37=_0x517762[_0x515476(0x18e)][_0x515476(0x17d)](_0x2280b2);_0x517762[_0x515476(0x1c3)][_0x515476(0x1c2)](_0x515476(0x1bd))[_0x515476(0x16c)]({'model':_0x515476(0x1d5),'view':(_0x5422de,{writer:_0x415696})=>function(_0x2d1ee7,_0xeeb8df,_0x475f88,_0x1f9969){const _0x13e4f2=_0x515476,_0x429390=_0x2d1ee7[_0x13e4f2(0x157)][_0x13e4f2(0x1ca)](':')[0x2],_0x3d18ab=_0x475f88[_0x13e4f2(0x16d)](_0x429390);if(!_0x3d18ab||_0x429390===_0x475f88[_0x13e4f2(0x1b4)])return;if(!_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1bf)][_0x13e4f2(0x1d1)](_0x2d1ee7[_0x13e4f2(0x174)][_0x13e4f2(0x172)],_0x13e4f2(0x1a3)))return;const _0x2c05df={'class':_0x13e4f2(0x17f)+_0x3d18ab[_0x13e4f2(0x1b6)][_0x13e4f2(0x1ab)](),'data-name':_0x3d18ab[_0x13e4f2(0x186)],'data-session-id':_0x429390},_0x1a8e72=_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1c4)][_0x13e4f2(0x17d)](_0x2d1ee7[_0x13e4f2(0x157)]),_0x553559=_0x1a8e72[_0x13e4f2(0x16b)](),_0x150ef9=_0x553559[_0x13e4f2(0x1a6)],_0x1737f7=_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1bf)];if(_0x150ef9&&_0x1737f7[_0x13e4f2(0x17c)](_0x150ef9)&&_0x1737f7[_0x13e4f2(0x167)](_0x150ef9)&&!_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1c4)][_0x13e4f2(0x17d)](_0x13e4f2(0x193)+_0x429390)[_0x13e4f2(0x1bb)]()[_0x13e4f2(0x198)])return;const _0xac65b4=_0x553559[_0x13e4f2(0x1ce)];return _0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1bf)][_0x13e4f2(0x192)](_0xac65b4)&&!_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x159)](_0xac65b4)&&(_0x2c05df[_0x13e4f2(0x154)]=!0x1),function(_0x12a2ca,_0x534cda,_0xbc939d){const _0x6751a8=_0x13e4f2,_0x9a3bc=_0x12a2ca[_0x6751a8(0x17a)](_0x6751a8(0x19c),_0x534cda);return _0x12a2ca[_0x6751a8(0x1b3)](_0x6751a8(0x15c),!0x0,_0x9a3bc),_0x9a3bc[_0x6751a8(0x1ba)]=function(_0x5216d3){const _0x26771b=_0x6751a8,_0x4a5407=this[_0x26771b(0x1d2)](_0x5216d3);return _0x4a5407[_0x26771b(0x1c8)]=_0x26771b(0x1c7)+_0xbc939d[_0x26771b(0x186)]+_0x26771b(0x17b),_0x4a5407[_0x26771b(0x19b)](_0x26771b(0x182),()=>{const _0xd04afd=_0x26771b;_0x4a5407[_0xd04afd(0x1c9)][_0xd04afd(0x1cb)](_0xd04afd(0x1a1));}),_0x4a5407[_0x26771b(0x19b)](_0x26771b(0x16f),()=>{const _0x5ebceb=_0x26771b;_0x4a5407[_0x5ebceb(0x1c9)][_0x5ebceb(0x19f)](_0x5ebceb(0x1a1));}),_0x4a5407;},_0x9a3bc[_0x6751a8(0x1c1)]=function(_0x3be7a2){const _0x288d61=_0x6751a8;return!(!this[_0x288d61(0x158)](_0x288d61(0x15c))||!_0x3be7a2[_0x288d61(0x158)](_0x288d61(0x15c))||this[_0x288d61(0x183)](_0x288d61(0x1c0))!=_0x3be7a2[_0x288d61(0x183)](_0x288d61(0x1c0)));},_0x9a3bc;}(_0xeeb8df,_0x2c05df,_0x3d18ab);}(_0x5422de,_0x415696,_0x50c37,_0x517762)}),_0x517762[_0x515476(0x1c3)][_0x515476(0x1c2)](_0x515476(0x1bd))[_0x515476(0x190)]({'model':_0x515476(0x15e),'view':_0x55d3b0=>function(_0x324b38,_0x284eb1){const _0x447b14=_0x515476,_0x3dbc0b=_0x324b38[_0x447b14(0x157)][_0x447b14(0x1ca)](':')[0x2];if(_0x3dbc0b===_0x284eb1[_0x447b14(0x1b4)])return null;const _0x595916=_0x284eb1[_0x447b14(0x16d)](_0x3dbc0b);if(!_0x595916)return{'id':_0x3dbc0b,'classes':[]};return{'id':_0x3dbc0b,'classes':[_0x447b14(0x166),_0x595916[_0x447b14(0x1b6)][_0x447b14(0x178)]()],'attributes':{'data-session-id':_0x3dbc0b},'priority':0x7d0+_0x595916[_0x447b14(0x1a9)]};}(_0x55d3b0,_0x50c37)}),function(_0x4f95d5){const _0x1e2d72=_0x515476,_0x3f66a2=_0x4f95d5[_0x1e2d72(0x175)],_0xf4fe8e=new Map(),_0x4fdc1d=_0x4f95d5[_0x1e2d72(0x18e)][_0x1e2d72(0x17d)](_0x2280b2);_0x3f66a2[_0x1e2d72(0x1c4)]['on'](_0x1e2d72(0x1d3),(_0x4f3bd8,_0x3df193,_0x33e927,_0x2d77e2)=>{const _0x56f535=_0x1e2d72;if(!_0x2d77e2&&_0xf4fe8e[_0x56f535(0x17d)](_0x3df193[_0x56f535(0x186)]))return _0xf4fe8e[_0x56f535(0x17d)](_0x3df193[_0x56f535(0x186)])[_0x56f535(0x176)](),void _0xf4fe8e[_0x56f535(0x1aa)](_0x3df193[_0x56f535(0x186)]);const _0x3dae35=_0x3df193[_0x56f535(0x186)][_0x56f535(0x1ca)](':')[0x2];if(_0x3dae35===_0x4fdc1d[_0x56f535(0x1b4)])return;const _0xe00f28=_0x56f535(0x187)+_0x3dae35;_0x3f66a2[_0x56f535(0x1c4)][_0x56f535(0x1b1)](_0xe00f28)&&_0x4f95d5[_0x56f535(0x1a0)][_0x56f535(0x1af)](_0xe00f28),_0x3df193['on'](_0x56f535(0x196),(_0x543a13,_0x1ea44b,_0x52f6d)=>{const _0xba6595=_0x56f535;if(_0xba6595(0x16a)!=_0x1ea44b[_0xba6595(0x18f)][_0xba6595(0x195)]&&_0xba6595(0x16a)==_0x3df193[_0xba6595(0x1bb)]()[_0xba6595(0x18f)][_0xba6595(0x195)]&&!_0xf4fe8e[_0xba6595(0x1b1)](_0x3df193[_0xba6595(0x186)])){const _0x44147a=_0x3f66a2[_0xba6595(0x1bf)][_0xba6595(0x180)](_0x52f6d[_0xba6595(0x199)]);if(_0x44147a){const _0x1ea50c=_0x50760c[_0xba6595(0x1ad)](_0x44147a);_0xf4fe8e[_0xba6595(0x173)](_0x3df193[_0xba6595(0x186)],_0x1ea50c),_0x1ea50c['on'](_0xba6595(0x196),(_0x272c44,_0x698562,_0x4efe83)=>{const _0x1b0e0d=_0xba6595;if(_0x1b0e0d(0x16a)==_0x1ea50c[_0x1b0e0d(0x18f)][_0x1b0e0d(0x195)]){const _0x453647=_0x3f66a2[_0x1b0e0d(0x1bf)][_0x1b0e0d(0x180)](_0x4efe83[_0x1b0e0d(0x199)]);_0x453647?(_0x1ea50c[_0x1b0e0d(0x172)]=_0x453647[_0x1b0e0d(0x172)],_0x1ea50c[_0x1b0e0d(0x169)]=_0x453647[_0x1b0e0d(0x169)]):(_0xf4fe8e[_0x1b0e0d(0x1aa)](_0x3df193[_0x1b0e0d(0x186)]),_0x1ea50c[_0x1b0e0d(0x176)]());}});}}});}),_0x3f66a2[_0x1e2d72(0x18c)]['on'](_0x1e2d72(0x1cd),()=>{const _0x529592=_0x1e2d72;_0xf4fe8e[_0x529592(0x189)]>0x0&&_0x3f66a2[_0x529592(0x19a)]({'isUndoable':!0x1},_0x4bdd5a=>{const _0x411ab7=_0x529592;for(const [_0x315cac,_0x1129ef]of _0xf4fe8e)_0x411ab7(0x16a)==_0x3f66a2[_0x411ab7(0x1c4)][_0x411ab7(0x17d)](_0x315cac)[_0x411ab7(0x1bb)]()[_0x411ab7(0x18f)][_0x411ab7(0x195)]&&(re(_0x315cac[_0x411ab7(0x1ca)](':')[0x2],_0x1129ef[_0x411ab7(0x162)](),_0x3f66a2,_0x4bdd5a),_0x1129ef[_0x411ab7(0x176)]());_0xf4fe8e[_0x411ab7(0x1be)]();});});}(_0x517762),this[_0x515476(0x1a4)][_0x515476(0x184)](_0x1735f4[_0x515476(0x18c)],_0x515476(0x1c5),(_0x7601c5,{key:_0x15623f})=>{const _0x48c40c=_0x515476;_0x48c40c(0x160)===_0x15623f&&function(_0x5a153f){const _0xc334e7=_0x48c40c;_0x5a153f[_0xc334e7(0x1a0)][_0xc334e7(0x1d4)][_0xc334e7(0x1cd)](_0x18d3d3=>{const _0x345813=_0xc334e7;for(const _0x31f914 of _0x5a153f[_0x345813(0x175)][_0x345813(0x1c4)]){if(!_0x31f914[_0x345813(0x186)][_0x345813(0x197)](_0x345813(0x1d5)))continue;const _0x1b9cb0=_0x5a153f[_0x345813(0x1a0)][_0x345813(0x15b)][_0x345813(0x1b5)](_0x31f914[_0x345813(0x186)]);if(_0x1b9cb0){for(const _0x1a633c of _0x1b9cb0)_0x18d3d3[_0x345813(0x15a)](_0x345813(0x1a1),_0x1a633c);}}});}(_0x517762);},{'useCapture':!0x0});}[_0x6bd7de(0x15d)](){const _0x50aaff=_0x6bd7de,_0x1a6b98=this[_0x50aaff(0x18d)],_0x55ac41=_0x1a6b98[_0x50aaff(0x170)][_0x50aaff(0x17d)](_0x50aaff(0x1c6));_0x55ac41&&_0x1a6b98[_0x50aaff(0x175)]['on'](_0x50aaff(0x18a),(_0xd8b293,_0x31ee31)=>{const _0xc2fc15=_0x50aaff,_0x443c7d=_0x31ee31[0x0];if(_0xc2fc15(0x1b7)!=_0x443c7d[_0xc2fc15(0x19e)]||!_0x443c7d[_0xc2fc15(0x186)][_0xc2fc15(0x197)](_0xc2fc15(0x165)))return;const _0x1a6ed1=_0x443c7d[_0xc2fc15(0x156)];_0x55ac41[_0xc2fc15(0x18b)][_0xc2fc15(0x1b1)](_0x1a6ed1)&&(_0x443c7d[_0xc2fc15(0x163)]=_0x443c7d[_0xc2fc15(0x1a7)]?_0x1a6b98[_0xc2fc15(0x175)][_0xc2fc15(0x177)](_0x443c7d[_0xc2fc15(0x1a7)][_0xc2fc15(0x172)],_0x443c7d[_0xc2fc15(0x1a7)][_0xc2fc15(0x169)]):null);},{'priority':_0x50aaff(0x179)});}[_0x6bd7de(0x194)](){const _0x1b65e3=_0x6bd7de;return this[_0x1b65e3(0x1a4)][_0x1b65e3(0x1b2)](),super[_0x1b65e3(0x194)]();}[_0x6bd7de(0x188)](){const _0x388eaf=_0x6bd7de,_0x50851d=this[_0x388eaf(0x18d)],_0xaaa100=_0x50851d[_0x388eaf(0x175)][_0x388eaf(0x18c)],_0x4b9abd=_0x50851d[_0x388eaf(0x18e)][_0x388eaf(0x17d)](_0x2280b2);_0x50851d[_0x388eaf(0x175)][_0x388eaf(0x19a)]({'isUndoable':!0x1},_0x152480=>{const _0x289ae6=_0x388eaf,_0x52abfa=_0x289ae6(0x193)+_0x4b9abd[_0x289ae6(0x1b4)],_0x51fa45=_0x289ae6(0x187)+_0x4b9abd[_0x289ae6(0x1b4)],_0x1b7f3a=_0x50851d[_0x289ae6(0x175)][_0x289ae6(0x1c4)][_0x289ae6(0x1b1)](_0x52abfa);_0x50851d[_0x289ae6(0x1a0)][_0x289ae6(0x1d4)][_0x289ae6(0x1a2)]?re(_0x4b9abd[_0x289ae6(0x1b4)],_0xaaa100[_0x289ae6(0x1a5)][_0x289ae6(0x1b8)](),_0x50851d[_0x289ae6(0x175)],_0x152480):_0x1b7f3a&&(_0x152480[_0x289ae6(0x1d0)](_0x52abfa),_0x152480[_0x289ae6(0x1d0)](_0x51fa45));});}}function re(_0x2c7b51,_0x3c03bd,_0x22f4af,_0x90956d){const _0x507f6c=_0x6bd7de,_0x450c88=_0x507f6c(0x193)+_0x2c7b51,_0x1d0478=_0x507f6c(0x187)+_0x2c7b51,_0x1edc81=_0x3c03bd[_0x507f6c(0x1ac)]();let _0x161172=_0x3c03bd[_0x507f6c(0x172)];_0x1edc81&&_0x1edc81['is'](_0x507f6c(0x17e),_0x507f6c(0x168))&&(_0x161172=function(_0x22859b,_0x2b5441){const _0x211c88=_0x507f6c;for(const _0x2107bb of _0x22859b[_0x211c88(0x1ae)]())if(_0x2b5441[_0x211c88(0x1bf)][_0x211c88(0x1d1)](_0x2107bb,_0x211c88(0x1a3)))return _0x2107bb;}(_0x3c03bd,_0x22f4af),_0x3c03bd=_0x90956d[_0x507f6c(0x177)](_0x161172));const _0x129b4f=_0x90956d[_0x507f6c(0x177)](_0x161172);_0x22f4af[_0x507f6c(0x1c4)][_0x507f6c(0x1b1)](_0x450c88)?(_0x90956d[_0x507f6c(0x161)](_0x450c88,{'range':_0x3c03bd}),_0x90956d[_0x507f6c(0x161)](_0x1d0478,{'range':_0x129b4f})):(_0x90956d[_0x507f6c(0x1b9)](_0x450c88,{'range':_0x3c03bd,'usingOperation':!0x0}),_0x90956d[_0x507f6c(0x1b9)](_0x1d0478,{'range':_0x129b4f,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x40d8f0=_0x1dcc;(function(_0xc322c8,_0x4980c4){const _0x427ea1=_0x1dcc,_0x8d4d64=_0xc322c8();while(!![]){try{const _0x15336c=-parseInt(_0x427ea1(0xc1))/0x1*(-parseInt(_0x427ea1(0x10a))/0x2)+-parseInt(_0x427ea1(0x104))/0x3*(-parseInt(_0x427ea1(0xaa))/0x4)+parseInt(_0x427ea1(0x120))/0x5*(parseInt(_0x427ea1(0xb2))/0x6)+parseInt(_0x427ea1(0x118))/0x7+-parseInt(_0x427ea1(0xb0))/0x8+parseInt(_0x427ea1(0xdc))/0x9+-parseInt(_0x427ea1(0x11b))/0xa*(parseInt(_0x427ea1(0xd6))/0xb);if(_0x15336c===_0x4980c4)break;else _0x8d4d64['push'](_0x8d4d64['shift']());}catch(_0x14fb5b){_0x8d4d64['push'](_0x8d4d64['shift']());}}}(_0x3d3a,0x6f3dc));import{Plugin as _0x3df8e9}from'ckeditor5/src/core.js';import{global as _0x2a3677,DomEmitterMixin as _0x345247}from'ckeditor5/src/utils.js';function _0x1dcc(_0x542004,_0x18f476){const _0x3d3a7c=_0x3d3a();return _0x1dcc=function(_0x1dccff,_0x26cc04){_0x1dccff=_0x1dccff-0xaa;let _0x152595=_0x3d3a7c[_0x1dccff];return _0x152595;},_0x1dcc(_0x542004,_0x18f476);}import _0x2b754d from'./sessions.js';import{LiveRange as _0x31698b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class K extends _0x3df8e9{constructor(){const _0x6c35bd=_0x1dcc;super(...arguments),this[_0x6c35bd(0xca)]=new(_0x345247())();}static get[_0x40d8f0(0xea)](){return[_0x2b754d];}static get[_0x40d8f0(0x105)](){const _0x1c7112=_0x40d8f0;return _0x1c7112(0xee);}[_0x40d8f0(0xfb)](){const _0x33f133=_0x40d8f0,_0x3ad78a=this[_0x33f133(0x112)],_0x224b34=_0x3ad78a[_0x33f133(0xc2)][_0x33f133(0xb7)](_0x2b754d);_0x3ad78a[_0x33f133(0xcd)][_0x33f133(0xd8)](_0x33f133(0x11a))[_0x33f133(0xc0)]({'model':_0x33f133(0xad),'view':(_0x4f01d8,{writer:_0x320855})=>function(_0xd69813,_0x444166,_0x5d0258,_0x439cb6){const _0x2b68d1=_0x33f133,_0x17ad45=_0xd69813[_0x2b68d1(0xf4)][_0x2b68d1(0xf9)](':')[0x2],_0x448bc0=_0x5d0258[_0x2b68d1(0xbe)](_0x17ad45);if(!_0x448bc0||_0x17ad45===_0x5d0258[_0x2b68d1(0x119)])return;if(!_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0x122)][_0x2b68d1(0x11d)](_0xd69813[_0x2b68d1(0xe6)][_0x2b68d1(0x103)],_0x2b68d1(0xcf)))return;const _0x2dca07={'class':_0x2b68d1(0xed)+_0x448bc0[_0x2b68d1(0xe1)][_0x2b68d1(0xe4)](),'data-name':_0x448bc0[_0x2b68d1(0xf1)],'data-session-id':_0x17ad45},_0xd043fa=_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0xb9)][_0x2b68d1(0xb7)](_0xd69813[_0x2b68d1(0xf4)]),_0x45f366=_0xd043fa[_0x2b68d1(0x111)](),_0x58e72c=_0x45f366[_0x2b68d1(0x128)],_0x5909c5=_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0x122)];if(_0x58e72c&&_0x5909c5[_0x2b68d1(0x127)](_0x58e72c)&&_0x5909c5[_0x2b68d1(0xf0)](_0x58e72c)&&!_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0xb9)][_0x2b68d1(0xb7)](_0x2b68d1(0x11c)+_0x17ad45)[_0x2b68d1(0x123)]()[_0x2b68d1(0xef)])return;const _0x5e10bc=_0x45f366[_0x2b68d1(0x124)];return _0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0x122)][_0x2b68d1(0xb6)](_0x5e10bc)&&!_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0x12c)](_0x5e10bc)&&(_0x2dca07[_0x2b68d1(0x10b)]=!0x1),function(_0x599b55,_0x65294b,_0x5f3fe7){const _0x5948af=_0x2b68d1,_0x478eee=_0x599b55[_0x5948af(0xdb)](_0x5948af(0xf5),_0x65294b);return _0x599b55[_0x5948af(0x10d)](_0x5948af(0xd3),!0x0,_0x478eee),_0x478eee[_0x5948af(0x12a)]=function(_0xc66ad1){const _0x429ffc=_0x5948af,_0x3cd5fe=this[_0x429ffc(0x10e)](_0xc66ad1);return _0x3cd5fe[_0x429ffc(0xff)]=_0x429ffc(0xb3)+_0x5f3fe7[_0x429ffc(0xf1)]+_0x429ffc(0xae),_0x3cd5fe[_0x429ffc(0xac)](_0x429ffc(0xbb),()=>{const _0x534c40=_0x429ffc;_0x3cd5fe[_0x534c40(0xaf)][_0x534c40(0x129)](_0x534c40(0xb4));}),_0x3cd5fe[_0x429ffc(0xac)](_0x429ffc(0xd9),()=>{const _0x325110=_0x429ffc;_0x3cd5fe[_0x325110(0xaf)][_0x325110(0xde)](_0x325110(0xb4));}),_0x3cd5fe;},_0x478eee[_0x5948af(0xe3)]=function(_0x48e4f5){const _0x1b81d5=_0x5948af;return!(!this[_0x1b81d5(0xe0)](_0x1b81d5(0xd3))||!_0x48e4f5[_0x1b81d5(0xe0)](_0x1b81d5(0xd3))||this[_0x1b81d5(0xd2)](_0x1b81d5(0xe8))!=_0x48e4f5[_0x1b81d5(0xd2)](_0x1b81d5(0xe8)));},_0x478eee;}(_0x444166,_0x2dca07,_0x448bc0);}(_0x4f01d8,_0x320855,_0x224b34,_0x3ad78a)}),_0x3ad78a[_0x33f133(0xcd)][_0x33f133(0xd8)](_0x33f133(0x11a))[_0x33f133(0xc5)]({'model':_0x33f133(0x102),'view':_0x49cbc7=>function(_0x28c751,_0x3b0510){const _0x5d9518=_0x33f133,_0xbdb2ef=_0x28c751[_0x5d9518(0xf4)][_0x5d9518(0xf9)](':')[0x2];if(_0xbdb2ef===_0x3b0510[_0x5d9518(0x119)])return null;const _0x5492d7=_0x3b0510[_0x5d9518(0xbe)](_0xbdb2ef);if(!_0x5492d7)return{'id':_0xbdb2ef,'classes':[]};return{'id':_0xbdb2ef,'classes':[_0x5d9518(0xf2),_0x5492d7[_0x5d9518(0xe1)][_0x5d9518(0xb5)]()],'attributes':{'data-session-id':_0xbdb2ef},'priority':0x7d0+_0x5492d7[_0x5d9518(0xec)]};}(_0x49cbc7,_0x224b34)}),function(_0x1bafe8){const _0x57b2ce=_0x33f133,_0x2d808b=_0x1bafe8[_0x57b2ce(0x110)],_0x5b1782=new Map(),_0x2e50df=_0x1bafe8[_0x57b2ce(0xc2)][_0x57b2ce(0xb7)](_0x2b754d);_0x2d808b[_0x57b2ce(0xb9)]['on'](_0x57b2ce(0xfa),(_0x462833,_0x3fbe02,_0x5ee0da,_0x27b2e4)=>{const _0x47096f=_0x57b2ce;if(!_0x27b2e4&&_0x5b1782[_0x47096f(0xb7)](_0x3fbe02[_0x47096f(0xf1)]))return _0x5b1782[_0x47096f(0xb7)](_0x3fbe02[_0x47096f(0xf1)])[_0x47096f(0xdf)](),void _0x5b1782[_0x47096f(0xc9)](_0x3fbe02[_0x47096f(0xf1)]);const _0x41c674=_0x3fbe02[_0x47096f(0xf1)][_0x47096f(0xf9)](':')[0x2];if(_0x41c674===_0x2e50df[_0x47096f(0x119)])return;const _0x2c6d4d=_0x47096f(0x11e)+_0x41c674;_0x2d808b[_0x47096f(0xb9)][_0x47096f(0xd1)](_0x2c6d4d)&&_0x1bafe8[_0x47096f(0xbf)][_0x47096f(0xcc)](_0x2c6d4d),_0x3fbe02['on'](_0x47096f(0x114),(_0x14fb34,_0x1eccaa,_0x42bd9d)=>{const _0x1f5237=_0x47096f;if(_0x1f5237(0xd7)!=_0x1eccaa[_0x1f5237(0xb1)][_0x1f5237(0xda)]&&_0x1f5237(0xd7)==_0x3fbe02[_0x1f5237(0x123)]()[_0x1f5237(0xb1)][_0x1f5237(0xda)]&&!_0x5b1782[_0x1f5237(0xd1)](_0x3fbe02[_0x1f5237(0xf1)])){const _0x2d29cb=_0x2d808b[_0x1f5237(0x122)][_0x1f5237(0xe5)](_0x42bd9d[_0x1f5237(0xfe)]);if(_0x2d29cb){const _0x26e607=_0x31698b[_0x1f5237(0xf7)](_0x2d29cb);_0x5b1782[_0x1f5237(0xc7)](_0x3fbe02[_0x1f5237(0xf1)],_0x26e607),_0x26e607['on'](_0x1f5237(0x114),(_0xf4eaaa,_0x244ce3,_0x20b055)=>{const _0x33f916=_0x1f5237;if(_0x33f916(0xd7)==_0x26e607[_0x33f916(0xb1)][_0x33f916(0xda)]){const _0x40abfc=_0x2d808b[_0x33f916(0x122)][_0x33f916(0xe5)](_0x20b055[_0x33f916(0xfe)]);_0x40abfc?(_0x26e607[_0x33f916(0x103)]=_0x40abfc[_0x33f916(0x103)],_0x26e607[_0x33f916(0xbd)]=_0x40abfc[_0x33f916(0xbd)]):(_0x5b1782[_0x33f916(0xc9)](_0x3fbe02[_0x33f916(0xf1)]),_0x26e607[_0x33f916(0xdf)]());}});}}});}),_0x2d808b[_0x57b2ce(0xe7)]['on'](_0x57b2ce(0xcb),()=>{const _0x1f8b9d=_0x57b2ce;_0x5b1782[_0x1f8b9d(0x106)]>0x0&&_0x2d808b[_0x1f8b9d(0xbc)]({'isUndoable':!0x1},_0x2d2c6a=>{const _0x2dcbfc=_0x1f8b9d;for(const [_0x9a0ff0,_0x1dec97]of _0x5b1782)_0x2dcbfc(0xd7)==_0x2d808b[_0x2dcbfc(0xb9)][_0x2dcbfc(0xb7)](_0x9a0ff0)[_0x2dcbfc(0x123)]()[_0x2dcbfc(0xb1)][_0x2dcbfc(0xda)]&&(te(_0x9a0ff0[_0x2dcbfc(0xf9)](':')[0x2],_0x1dec97[_0x2dcbfc(0x100)](),_0x2d808b,_0x2d2c6a),_0x1dec97[_0x2dcbfc(0xdf)]());_0x5b1782[_0x2dcbfc(0xd4)]();});});}(_0x3ad78a),this[_0x33f133(0xca)][_0x33f133(0x115)](_0x2a3677[_0x33f133(0xe7)],_0x33f133(0xab),(_0x5f09b6,{key:_0x287929})=>{const _0x1b9b97=_0x33f133;_0x1b9b97(0xe9)===_0x287929&&function(_0x465eec){const _0x4f53f0=_0x1b9b97;_0x465eec[_0x4f53f0(0xbf)][_0x4f53f0(0xc6)][_0x4f53f0(0xcb)](_0x4b0a1d=>{const _0x208796=_0x4f53f0;for(const _0x4e83b8 of _0x465eec[_0x208796(0x110)][_0x208796(0xb9)]){if(!_0x4e83b8[_0x208796(0xf1)][_0x208796(0x116)](_0x208796(0xad)))continue;const _0xf0512c=_0x465eec[_0x208796(0xbf)][_0x208796(0xe2)][_0x208796(0x109)](_0x4e83b8[_0x208796(0xf1)]);if(_0xf0512c){for(const _0x59a680 of _0xf0512c)_0x4b0a1d[_0x208796(0x12b)](_0x208796(0xb4),_0x59a680);}}});}(_0x3ad78a);},{'useCapture':!0x0});}[_0x40d8f0(0x10f)](){const _0x2aba57=_0x40d8f0,_0x20e48c=this[_0x2aba57(0x112)],_0x434f61=_0x20e48c[_0x2aba57(0x113)][_0x2aba57(0xb7)](_0x2aba57(0xf3));_0x434f61&&_0x20e48c[_0x2aba57(0x110)]['on'](_0x2aba57(0xeb),(_0x2b47c1,_0x58eee1)=>{const _0x5e7b70=_0x2aba57,_0x519e28=_0x58eee1[0x0];if(_0x5e7b70(0xc4)!=_0x519e28[_0x5e7b70(0xd0)]||!_0x519e28[_0x5e7b70(0xf1)][_0x5e7b70(0x116)](_0x5e7b70(0x101)))return;const _0x57abdc=_0x519e28[_0x5e7b70(0xb8)];_0x434f61[_0x5e7b70(0xf6)][_0x5e7b70(0xd1)](_0x57abdc)&&(_0x519e28[_0x5e7b70(0x121)]=_0x519e28[_0x5e7b70(0x125)]?_0x20e48c[_0x5e7b70(0x110)][_0x5e7b70(0xce)](_0x519e28[_0x5e7b70(0x125)][_0x5e7b70(0x103)],_0x519e28[_0x5e7b70(0x125)][_0x5e7b70(0xbd)]):null);},{'priority':_0x2aba57(0x108)});}[_0x40d8f0(0x11f)](){const _0x1b2d37=_0x40d8f0;return this[_0x1b2d37(0xca)][_0x1b2d37(0x126)](),super[_0x1b2d37(0x11f)]();}[_0x40d8f0(0xfc)](){const _0x32525d=_0x40d8f0,_0x3836ae=this[_0x32525d(0x112)],_0x4824d6=_0x3836ae[_0x32525d(0x110)][_0x32525d(0xe7)],_0x1a9e8e=_0x3836ae[_0x32525d(0xc2)][_0x32525d(0xb7)](_0x2b754d);_0x3836ae[_0x32525d(0x110)][_0x32525d(0xbc)]({'isUndoable':!0x1},_0x30a884=>{const _0x29f376=_0x32525d,_0x341599=_0x29f376(0x11c)+_0x1a9e8e[_0x29f376(0x119)],_0x42ee6e=_0x29f376(0x11e)+_0x1a9e8e[_0x29f376(0x119)],_0x37e4b4=_0x3836ae[_0x29f376(0x110)][_0x29f376(0xb9)][_0x29f376(0xd1)](_0x341599);_0x3836ae[_0x29f376(0xbf)][_0x29f376(0xc6)][_0x29f376(0x117)]?te(_0x1a9e8e[_0x29f376(0x119)],_0x4824d6[_0x29f376(0xc3)][_0x29f376(0xf8)](),_0x3836ae[_0x29f376(0x110)],_0x30a884):_0x37e4b4&&(_0x30a884[_0x29f376(0xdd)](_0x341599),_0x30a884[_0x29f376(0xdd)](_0x42ee6e));});}}function _0x3d3a(){const _0x4454dc=['isLimit','get','batch','markers','addMarker','mouseenter','enqueueChange','end','getUserBySessionId','editing','markerToElement','50394ucEwYm','plugins','selection','marker','markerToHighlight','view','set','element','delete','_domEmitter','change','reconvertMarker','conversion','createRange','$text','type','has','getAttribute','userPositionMarker','clear','updateMarker','15070ecQEqQ','$graveyard','for','mouseleave','rootName','createUIElement','3052611xQMuDz','removeMarker','remove','detach','getCustomProperty','color','mapper','isSimilar','getMarkerClass','getNearestSelectionRange','markerRange','document','data-session-id','Escape','requires','applyOperation','orderNumber','ck-user__marker\x20','UserMarkers','isCollapsed','isInline','name','ck-user__selection','undo','markerName','span','_createdBatches','fromRange','getFirstRange','split','update:user:range','init','createUserMarkerOperations','getContainedElement','deletionPosition','innerHTML','toRange','user:','user:range','start','521349PMYWor','pluginName','size','getPositions','highest','markerNameToElements','34mdLGKU','contenteditable','tableCell','setCustomProperty','toDomElement','afterInit','model','getStart','editor','commands','change:range','listenTo','startsWith','hasDomSelection','6374179WfphZK','mySessionId','editingDowncast','14470iPaTtz','user:range:','checkChild','user:position:','destroy','31945gVEQcA','newRange','schema','getRange','parent','oldRange','stopListening','isObject','nodeAfter','add','render','removeClass','hasContent','4NuhuAb','keydown','addEventListener','user:position','</span>','classList','4666776mALhXG','root','696ceABYi','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','ck-user__marker_hovered','getSelectionClass'];_0x3d3a=function(){return _0x4454dc;};return _0x3d3a();}function te(_0x3a50c6,_0x5817f1,_0xf44375,_0x27ba64){const _0x28e1eb=_0x40d8f0,_0x2b8938=_0x28e1eb(0x11c)+_0x3a50c6,_0x454cdb=_0x28e1eb(0x11e)+_0x3a50c6,_0x204773=_0x5817f1[_0x28e1eb(0xfd)]();let _0x566c03=_0x5817f1[_0x28e1eb(0x103)];_0x204773&&_0x204773['is'](_0x28e1eb(0xc8),_0x28e1eb(0x10c))&&(_0x566c03=function(_0x21e28b,_0x194cbc){const _0x5f53f5=_0x28e1eb;for(const _0x2939ee of _0x21e28b[_0x5f53f5(0x107)]())if(_0x194cbc[_0x5f53f5(0x122)][_0x5f53f5(0x11d)](_0x2939ee,_0x5f53f5(0xcf)))return _0x2939ee;}(_0x5817f1,_0xf44375),_0x5817f1=_0x27ba64[_0x28e1eb(0xce)](_0x566c03));const _0xefd8bd=_0x27ba64[_0x28e1eb(0xce)](_0x566c03);_0xf44375[_0x28e1eb(0xb9)][_0x28e1eb(0xd1)](_0x2b8938)?(_0x27ba64[_0x28e1eb(0xd5)](_0x2b8938,{'range':_0x5817f1}),_0x27ba64[_0x28e1eb(0xd5)](_0x454cdb,{'range':_0xefd8bd})):(_0x27ba64[_0x28e1eb(0xba)](_0x2b8938,{'range':_0x5817f1,'usingOperation':!0x0}),_0x27ba64[_0x28e1eb(0xba)](_0x454cdb,{'range':_0xefd8bd,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d2433=_0x21e0;(function(_0xc5d1f7,_0x2c087c){const _0x837463=_0x21e0,_0x463345=_0xc5d1f7();while(!![]){try{const _0x3044c9=-parseInt(_0x837463(0x191))/0x1+-parseInt(_0x837463(0x1ae))/0x2*(parseInt(_0x837463(0x179))/0x3)+-parseInt(_0x837463(0x186))/0x4*(parseInt(_0x837463(0x1a7))/0x5)+-parseInt(_0x837463(0x171))/0x6+parseInt(_0x837463(0x17d))/0x7+parseInt(_0x837463(0x184))/0x8+-parseInt(_0x837463(0x1a1))/0x9*(-parseInt(_0x837463(0x17a))/0xa);if(_0x3044c9===_0x2c087c)break;else _0x463345['push'](_0x463345['shift']());}catch(_0x164d0b){_0x463345['push'](_0x463345['shift']());}}}(_0x3d59,0xa6181));import{ContextPlugin as _0x44b4ee}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4a4ea0,CKEditorError as _0x1ac883}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4f4038,WEB_SOCKET_GATEWAY_STATES as _0x341680}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2240a6}from'ckeditor5/src/ui.js';class c extends _0x44b4ee{static get[_0x3d2433(0x16c)](){const _0x3e8132=_0x3d2433;return[_0x3e8132(0x16d),_0x2240a6];}static get[_0x3d2433(0x1ac)](){const _0x3047ff=_0x3d2433;return _0x3047ff(0x17b);}constructor(_0x40f294){const _0x4e69d6=_0x3d2433;super(_0x40f294),this[_0x4e69d6(0x1a2)](_0x4e69d6(0x19f),_0x341680[_0x4e69d6(0x18c)]),this[_0x4e69d6(0x1a2)](_0x4e69d6(0x170),!0x1),this[_0x4e69d6(0x1b1)]=new Set(),this[_0x4e69d6(0x19e)]=!0x1,this[_0x4e69d6(0x190)]=Object[_0x4e69d6(0x19c)](_0x4a4ea0);}[_0x3d2433(0x183)](){const _0x918777=_0x3d2433,_0x518b9c=this[_0x918777(0x1a0)],_0x13d7c6=_0x518b9c[_0x918777(0x185)][_0x918777(0x1b0)](_0x918777(0x16d)),_0x5c71b3=_0x518b9c[_0x918777(0x185)][_0x918777(0x1b0)](_0x2240a6);if(!_0x13d7c6[_0x918777(0x189)])throw new _0x1ac883(_0x918777(0x16f),this);if(!_0x13d7c6[_0x918777(0x18e)])throw new _0x1ac883(_0x918777(0x18b),this);return this[_0x918777(0x190)][_0x918777(0x1a3)](window,_0x918777(0x1a8),()=>this[_0x918777(0x170)]=!0x0),this[_0x918777(0x190)][_0x918777(0x1a3)](window,_0x918777(0x195),()=>this[_0x918777(0x170)]=!0x1),this[_0x918777(0x1a0)][_0x918777(0x194)][_0x918777(0x181)](_0x918777(0x18d),0xa),this[_0x918777(0x1a0)][_0x918777(0x194)][_0x918777(0x181)](_0x918777(0x1af),0x14),c[_0x918777(0x17b)][_0x918777(0x197)](_0x13d7c6[_0x918777(0x189)],_0x13d7c6[_0x918777(0x18e)],{'timeout':0x3e8*this[_0x918777(0x1a0)][_0x918777(0x194)][_0x918777(0x1b0)](_0x918777(0x18d)),'requestTimeout':0x3e8*this[_0x918777(0x1a0)][_0x918777(0x194)][_0x918777(0x1b0)](_0x918777(0x1af))})[_0x918777(0x16b)](_0x3465a9=>{const _0x1abd9d=_0x918777;if(this[_0x1abd9d(0x192)]=_0x3465a9,this[_0x1abd9d(0x19d)](_0x1abd9d(0x19f))['to'](_0x3465a9,_0x1abd9d(0x19f),this,_0x1abd9d(0x170),(_0x57c193,_0x17eb3c)=>(_0x1abd9d(0x17c)!==_0x57c193&&(this[_0x1abd9d(0x19e)]=!0x0),_0x17eb3c||_0x57c193!==_0x341680[_0x1abd9d(0x18c)]?_0x341680[_0x1abd9d(0x174)]:this[_0x1abd9d(0x19f)]==_0x341680[_0x1abd9d(0x174)]&&this[_0x1abd9d(0x19e)]?(this[_0x1abd9d(0x19e)]=!0x1,this[_0x1abd9d(0x17e)](),_0x341680[_0x1abd9d(0x16a)]):_0x341680[_0x1abd9d(0x18c)])),this[_0x1abd9d(0x192)]['on'](_0x1abd9d(0x187),(_0x596910,_0x2fb0e9)=>{const _0x32f387=_0x1abd9d;if(_0x32f387(0x199)!==_0x2fb0e9[_0x32f387(0x193)])throw console[_0x32f387(0x187)](_0x2fb0e9),new _0x1ac883(_0x32f387(0x172),null,{'originalError':_0x2fb0e9});_0x5c71b3[_0x32f387(0x19b)](_0x32f387(0x176),{'title':_0x32f387(0x173),'namespace':_0x32f387(0x180)});}),!_0x3465a9['me'])return new Promise(_0x1dc79f=>_0x3465a9['on'](_0x1abd9d(0x1aa),_0x1dc79f));})[_0x918777(0x198)](_0x62ec93=>{const _0x2c9c5f=_0x918777;throw console[_0x2c9c5f(0x187)](_0x62ec93),new _0x1ac883(_0x2c9c5f(0x172),null,{'originalError':_0x62ec93});});}[_0x3d2433(0x1a5)](_0x31dd55){const _0x4a9ed1=_0x3d2433;if(_0x4a9ed1(0x1ad)!=typeof _0x31dd55[_0x4a9ed1(0x18a)])throw new _0x1ac883(_0x4a9ed1(0x1ab),this);if(this[_0x4a9ed1(0x178)](_0x31dd55))throw new _0x1ac883(_0x4a9ed1(0x175),this,{'name':_0x31dd55[_0x4a9ed1(0x1a4)][_0x4a9ed1(0x1ac)]});this[_0x4a9ed1(0x1b1)][_0x4a9ed1(0x1a6)](_0x31dd55);}[_0x3d2433(0x1a9)](_0x2cb82f){const _0x4d6402=_0x3d2433;this[_0x4d6402(0x1b1)][_0x4d6402(0x19a)](_0x2cb82f);}[_0x3d2433(0x178)](_0x34dcd6){const _0x469df6=_0x3d2433;return this[_0x469df6(0x1b1)][_0x469df6(0x177)](_0x34dcd6);}[_0x3d2433(0x17e)](){const _0x535ebe=_0x3d2433;return this[_0x535ebe(0x192)][_0x535ebe(0x18a)]()[_0x535ebe(0x16b)](()=>Promise[_0x535ebe(0x16e)](Array[_0x535ebe(0x18f)](this[_0x535ebe(0x1b1)],_0x517deb=>_0x517deb[_0x535ebe(0x18a)]())))[_0x535ebe(0x16b)](()=>this[_0x535ebe(0x19f)]=_0x341680[_0x535ebe(0x18c)])[_0x535ebe(0x198)](_0x1f96ef=>{const _0x40c805=_0x535ebe;throw console[_0x40c805(0x187)](_0x1f96ef),new _0x1ac883(_0x40c805(0x169),this[_0x40c805(0x1a0)]);});}[_0x3d2433(0x182)](){const _0x350de6=_0x3d2433;this[_0x350de6(0x192)]&&this[_0x350de6(0x192)][_0x350de6(0x17f)](),this[_0x350de6(0x19f)]=_0x341680[_0x350de6(0x174)],this[_0x350de6(0x190)][_0x350de6(0x196)](),super[_0x350de6(0x182)]();}}function _0x21e0(_0x51da1c,_0x3f80c2){const _0x3d593d=_0x3d59();return _0x21e0=function(_0x21e015,_0x3e8e82){_0x21e015=_0x21e015-0x169;let _0x2fd942=_0x3d593d[_0x21e015];return _0x2fd942;},_0x21e0(_0x51da1c,_0x3f80c2);}c[_0x3d2433(0x17b)]=_0x4f4038,c[_0x3d2433(0x188)]=0x3e8;function _0x3d59(){const _0x3a92b8=['_domEmitter','455738KpdsBk','connection','code','config','online','stopListening','connect','catch','limitExceeded','delete','showWarning','create','bind','_shouldPluginsReconnect','state','context','2905839yQFbrG','set','listenTo','constructor','addToReconnectionStack','add','74055pReCnR','offline','removeFromReconnectionStack','change:me','websocketgateway-invalid-plugin-interface','pluginName','function','68OOCtHX','cloudServices.requestTimeout','get','_reconnectionStack','cloudservices-reconnection-error','CONNECTING','then','requires','CloudServices','all','websocketgateway-missing-token','_isBrowserOffline','6483780lFOGeq','cloudservices-init','Connected\x20users\x20limit\x20exceeded','DISCONNECTED','websocketgateway-plugin-already-registered','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','has','isInReconnectionStack','2598retQFo','30hcALbE','WebSocketGateway','connected','6938484dTyceN','_reconnect','disconnect','real-time-collaboration','define','destroy','init','2882904auSlvH','plugins','20vdGfJj','error','initialReconnectionInterval','token','reconnect','websocketgateway-missing-websocket-url','CONNECTED','cloudServices.connectionTimeout','webSocketUrl','from'];_0x3d59=function(){return _0x3a92b8;};return _0x3d59();}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x31c979=_0x3396;(function(_0x181e57,_0x115616){const _0x4e55a4=_0x3396,_0x27ef30=_0x181e57();while(!![]){try{const _0x4d2988=-parseInt(_0x4e55a4(0x14d))/0x1*(parseInt(_0x4e55a4(0x14b))/0x2)+parseInt(_0x4e55a4(0x134))/0x3+-parseInt(_0x4e55a4(0x132))/0x4*(parseInt(_0x4e55a4(0x161))/0x5)+parseInt(_0x4e55a4(0x146))/0x6*(parseInt(_0x4e55a4(0x135))/0x7)+-parseInt(_0x4e55a4(0x193))/0x8*(-parseInt(_0x4e55a4(0x16c))/0x9)+parseInt(_0x4e55a4(0x192))/0xa+-parseInt(_0x4e55a4(0x162))/0xb;if(_0x4d2988===_0x115616)break;else _0x27ef30['push'](_0x27ef30['shift']());}catch(_0x457ce8){_0x27ef30['push'](_0x27ef30['shift']());}}}(_0x47e7,0x93e4c));import{Plugin as _0x1f8948}from'ckeditor5/src/core.js';function _0x47e7(){const _0x56c4e7=['getRevisions','56372jVHATK','change:_isConnected','2608449WBhRqB','6331374oiQTXm','length','reconnect','keys','_fixRevision','_startingVersion','currentRevision','400','getMany','getUser','toVersion','createdAt','setSource','listenTo','_isPendingUpdate','creatorId','change:_isPendingUpdate','6LYSFlY','destroy','fromVersion','_fetchMissingUsers','authorsIds','76SALLLd','_getLatestVersion','11809NSAyDK','_revisionTracker','RevisionHistoryService','getRevision','_isConnected','affectsData','type','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','wrongRequestId','connect','RevisionTracker','setRevisionData','_lastRequestId','serverHistory','isEmptyCurrent','remove','_bufferedUpdates','reInit','has','editor','15QhQOrj','22783178WwqzBt','addUser','_oldOffset','cloud-services-internal-error:\x20Not\x20connected.','_bufferUpdate','_revisions','addToReconnectionStack','collaboration.channelId','getOperations','connected','18PlGnhA','reverse','bind','code','adapter','_handleRevisionsUpdate','cloudServices.bundleVersion','repository','updateRevisions','CONNECTED','max','sessionId','isEnabled','_createCurrentRevision','_getLatestVersionFromServerOperations','baseVersion','state','init','_revisionDataBuilder','catch','isConnected','authors','add','_offset','_preventResendingRevisionData','data','then','once','addRevisionData','cloud-services-internal-error:\x20Request\x20timeout.','config','startsWith','connection','get','off','size','marker','diffData','9672840nNvlkd','1706968pLNhNg','_handleReconnectionError','from','_waitForServiceReady','isBundleUploaded','plugins','_revisionHistoryService','_update','map','requires','sendBufferedUpdates','buildRevisionData','message','revisionsUpdated'];_0x47e7=function(){return _0x56c4e7;};return _0x47e7();}import{version as _0x467019}from'ckeditor5/src/utils.js';import{Users as _0x1b8412}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1d19fd from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x36854f from'../realtimecollaborativeediting/websocketgateway.js';import _0xd68eab from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x50be0f,RevisionHistoryService as _0x280806,User as _0x16dd9e,WEB_SOCKET_GATEWAY_STATES as _0x20203e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x1f8948{static get[_0x31c979(0x19c)](){const _0x928c0c=_0x31c979;return[_0x36854f,_0x1d19fd,_0x928c0c(0x157),_0xd68eab,_0x1b8412];}constructor(_0x1e0ef0){const _0x16dc67=_0x31c979;super(_0x1e0ef0);const _0x22fde8=this[_0x16dc67(0x160)][_0x16dc67(0x18a)][_0x16dc67(0x18d)](_0x16dc67(0x169));this[_0x16dc67(0x159)]=null,this[_0x16dc67(0x14e)]=this[_0x16dc67(0x160)][_0x16dc67(0x198)][_0x16dc67(0x18d)](_0x16dc67(0x157)),this[_0x16dc67(0x199)]=new v[(_0x16dc67(0x14f))](_0x22fde8);}async[_0x31c979(0x17d)](){const _0x3efa5c=_0x31c979,_0x3856b3=this[_0x3efa5c(0x160)][_0x3efa5c(0x198)][_0x3efa5c(0x18d)](_0x1d19fd),_0x31a73b=_0x3856b3[_0x3efa5c(0x15a)],_0x31c1aa=this[_0x3efa5c(0x160)][_0x3efa5c(0x198)][_0x3efa5c(0x18d)](_0x36854f);this[_0x3efa5c(0x14e)][_0x3efa5c(0x141)]({'history':_0x31a73b,'getLatestVersion':()=>this[_0x3efa5c(0x14c)](),'getCurrentRevisionId':()=>_0x3856b3[_0x3efa5c(0x177)]});const _0x70e519=this[_0x3efa5c(0x160)][_0x3efa5c(0x18a)][_0x3efa5c(0x18d)](_0x3efa5c(0x172))||_0x467019,_0x1e575c=await _0x50be0f[_0x3efa5c(0x197)](_0x31c1aa[_0x3efa5c(0x18c)],_0x70e519);this[_0x3efa5c(0x14e)][_0x3efa5c(0x170)]={'getRevision':async({revisionId:_0xf7398})=>(await this[_0x3efa5c(0x196)](),await this[_0x3efa5c(0x199)][_0x3efa5c(0x150)](_0xf7398)),'updateRevisions':async _0x4078df=>{const _0x2c217f=_0x3efa5c;await this[_0x2c217f(0x196)]();const _0x5af748=this[_0x2c217f(0x14e)][_0x2c217f(0x13b)];if(_0x1e575c&&0x1===_0x4078df[_0x2c217f(0x136)]&&_0x4078df[0x0]['id']===_0x5af748['id'])return _0x4078df;for(const _0x3da9c0 of _0x4078df)_0x3da9c0['id']===_0x5af748['id']&&(_0x3da9c0[_0x2c217f(0x15b)]=_0x3da9c0[_0x2c217f(0x148)]===_0x3da9c0[_0x2c217f(0x13f)]);return this[_0x2c217f(0x199)][_0x2c217f(0x174)](_0x4078df,this[_0x2c217f(0x159)])[_0x2c217f(0x186)](_0x5a6cb8=>(this[_0x2c217f(0x159)]=_0x5a6cb8,_0x4078df))[_0x2c217f(0x17f)](_0x403680=>{const _0x2ba183=_0x2c217f;if(st(_0x403680)||_0x2ba183(0x13c)===_0x403680[_0x2ba183(0x16f)]&&void 0x0!==_0x403680[_0x2ba183(0x185)][_0x2ba183(0x155)]){for(const _0x20ac44 of _0x4078df){!this[_0x2ba183(0x14e)][_0x2ba183(0x173)][_0x2ba183(0x150)](_0x20ac44['id'])||this[_0x2ba183(0x14e)][_0x2ba183(0x166)](_0x20ac44['id'],_0x20ac44,!0x1);}if(st(_0x403680))throw _0x403680;return _0x4078df;}throw _0x403680;});}},this[_0x3efa5c(0x142)](this[_0x3efa5c(0x199)],_0x3efa5c(0x1a0),(_0x4f1f38,{revisionsData:_0x1a48f2,requestId:_0x54fc48})=>{const _0x3cfc0d=_0x3efa5c;Math[_0x3cfc0d(0x176)](..._0x1a48f2[_0x3cfc0d(0x19b)](_0x2976b6=>_0x2976b6[_0x3cfc0d(0x13f)]))>this[_0x3cfc0d(0x17a)]()-0x1?this[_0x3cfc0d(0x14c)]()[_0x3cfc0d(0x186)](()=>{const _0x4de871=_0x3cfc0d;this[_0x4de871(0x171)](_0x1a48f2,_0x54fc48);}):this[_0x3cfc0d(0x171)](_0x1a48f2,_0x54fc48);});const {revisions:_0x2d8f50,requestId:_0x402902}=await this[_0x3efa5c(0x199)][_0x3efa5c(0x156)](_0x31c1aa[_0x3efa5c(0x18c)]);_0x31c1aa[_0x3efa5c(0x168)](this),this[_0x3efa5c(0x159)]=_0x402902,await this[_0x3efa5c(0x149)](_0x2d8f50);for(const _0x69fc73 of _0x2d8f50)this[_0x3efa5c(0x14e)][_0x3efa5c(0x188)](_0x69fc73);this[_0x3efa5c(0x142)](_0x3856b3,_0x3efa5c(0x133),(_0x1d38c8,_0x31d842,_0x55cc23)=>{const _0x377c32=_0x3efa5c;_0x55cc23&&(this[_0x377c32(0x164)]=_0x3856b3[_0x377c32(0x183)],_0x1d38c8[_0x377c32(0x18e)]());}),this[_0x3efa5c(0x14e)][_0x3efa5c(0x16e)](_0x3efa5c(0x178))['to'](_0x31c1aa,_0x3efa5c(0x17c),_0x252ee1=>_0x252ee1===_0x20203e[_0x3efa5c(0x175)]);}async[_0x31c979(0x137)](){const _0x2c7c89=_0x31c979,_0x506fb5=this[_0x2c7c89(0x160)][_0x2c7c89(0x198)][_0x2c7c89(0x18d)](_0x36854f),_0x390d88=this[_0x2c7c89(0x160)][_0x2c7c89(0x198)][_0x2c7c89(0x18d)](_0x1d19fd),_0x323f08=async()=>{const _0x552b56=_0x2c7c89,_0x49e4d4=this[_0x552b56(0x14e)][_0x552b56(0x13b)],_0x38059e=_0x49e4d4['id'],_0x4f3ac8=_0x38059e!==_0x390d88[_0x552b56(0x177)];if(_0x4f3ac8){const _0x9f67e6=_0x390d88[_0x552b56(0x183)]-this[_0x552b56(0x164)],_0x17b157=this[_0x552b56(0x17a)]();this[_0x552b56(0x14e)][_0x552b56(0x17e)][_0x552b56(0x15e)]();if(_0x49e4d4[_0x552b56(0x13f)]+_0x9f67e6!==_0x17b157){const _0x1129cf=_0x49e4d4[_0x552b56(0x148)]+_0x9f67e6,_0x5d2d31=this[_0x552b56(0x160)][_0x552b56(0x198)][_0x552b56(0x18d)](_0x1b8412),_0x526a1=this[_0x552b56(0x14e)][_0x552b56(0x19e)]({'revision':_0x49e4d4,'from':_0x1129cf,'to':_0x17b157});_0x526a1['id']=_0x49e4d4['id'];const _0x4e29e2=_0x526a1[_0x552b56(0x14a)][_0x552b56(0x19b)](_0x24b324=>_0x5d2d31[_0x552b56(0x13e)](_0x24b324));_0x49e4d4[_0x552b56(0x19a)]({..._0x526a1,'authors':_0x4e29e2},!0x0),this[_0x552b56(0x14e)][_0x552b56(0x166)](_0x49e4d4['id'],_0x526a1,!0x0);}this[_0x552b56(0x14e)][_0x552b56(0x13a)]=_0x17b157,(_0x49e4d4[_0x552b56(0x13f)]===_0x49e4d4[_0x552b56(0x148)]&&!this[_0x552b56(0x14e)][_0x552b56(0x15d)][_0x552b56(0x15f)](_0x38059e)&&this[_0x552b56(0x14e)][_0x552b56(0x173)][_0x552b56(0x167)][_0x552b56(0x15c)](_0x38059e),this[_0x552b56(0x14e)][_0x552b56(0x179)](_0x17b157));}const {revisions:_0xf98a7f,requestId:_0x1dd9d4}=await this[_0x552b56(0x199)][_0x552b56(0x137)](_0x506fb5[_0x552b56(0x18c)],this[_0x552b56(0x159)]);_0x4f3ac8&&_0xf98a7f[_0x552b56(0x136)]>0x0?_0x390d88[_0x552b56(0x194)]():(await this[_0x552b56(0x149)](_0xf98a7f),this[_0x552b56(0x171)](_0xf98a7f,_0x1dd9d4),this[_0x552b56(0x14e)][_0x552b56(0x19d)]());};return _0x390d88[_0x2c7c89(0x151)]?_0x323f08():new Promise((_0x27b03a,_0x3cc5a9)=>{const _0x54a9a9=_0x2c7c89;_0x390d88[_0x54a9a9(0x187)](_0x54a9a9(0x133),()=>{const _0x309672=_0x54a9a9;_0x323f08()[_0x309672(0x186)](_0x27b03a)[_0x309672(0x17f)](_0x3cc5a9);});});}[_0x31c979(0x147)](){const _0x3a13fe=_0x31c979;super[_0x3a13fe(0x147)]();}async[_0x31c979(0x196)](){const _0x54a5a4=_0x31c979;this[_0x54a5a4(0x199)][_0x54a5a4(0x180)]||await new Promise(_0x1889a3=>{const _0x2155c7=_0x54a5a4;this[_0x2155c7(0x142)](this[_0x2155c7(0x199)],_0x2155c7(0x16b),_0x153426=>{const _0xf92f4b=_0x2155c7;_0x153426[_0xf92f4b(0x18e)](),_0x1889a3();});});}[_0x31c979(0x17a)](){const _0xa6e997=_0x31c979,_0x3eefc6=this[_0xa6e997(0x160)][_0xa6e997(0x198)][_0xa6e997(0x18d)](_0x1d19fd)[_0xa6e997(0x15a)][_0xa6e997(0x16a)]()[_0xa6e997(0x16d)]();for(const _0x1c07e2 of _0x3eefc6)if(_0xa6e997(0x190)!==_0x1c07e2[_0xa6e997(0x153)]||_0x1c07e2[_0xa6e997(0x152)])return _0x1c07e2[_0xa6e997(0x17b)]+0x1;}[_0x31c979(0x14c)](){const _0x11b3c8=_0x31c979,_0xc4adf2=this[_0x11b3c8(0x160)][_0x11b3c8(0x198)][_0x11b3c8(0x18d)](_0x1d19fd);return new Promise(_0x3dfc60=>{const _0x3816fa=_0x11b3c8;_0xc4adf2[_0x3816fa(0x143)]?_0xc4adf2[_0x3816fa(0x187)](_0x3816fa(0x145),()=>{const _0x173ee2=_0x3816fa;_0x3dfc60(this[_0x173ee2(0x17a)]());}):_0x3dfc60(this[_0x3816fa(0x17a)]());});}[_0x31c979(0x171)](_0x55796d,_0x3467d3){const _0x55697f=_0x31c979,_0x5a770b=this[_0x55697f(0x14e)][_0x55697f(0x173)];this[_0x55697f(0x159)]=_0x3467d3;for(const _0x18e2fe of _0x55796d){const _0x31cdf0=_0x5a770b[_0x55697f(0x150)](_0x18e2fe['id']);if(_0x31cdf0){if((_0x18e2fe[_0x55697f(0x148)]||_0x18e2fe[_0x55697f(0x13f)])&&(_0x18e2fe[_0x55697f(0x191)]=null),_0x31cdf0===this[_0x55697f(0x14e)][_0x55697f(0x13b)]){const _0x219fe4=Math[_0x55697f(0x176)](_0x31cdf0[_0x55697f(0x13f)],_0x18e2fe[_0x55697f(0x13f)]),_0x104230=Math[_0x55697f(0x176)](_0x31cdf0[_0x55697f(0x148)],_0x18e2fe[_0x55697f(0x148)]);let _0x41fb4e;_0x31cdf0[_0x55697f(0x13f)]===_0x18e2fe[_0x55697f(0x13f)]&&_0x31cdf0[_0x55697f(0x148)]===_0x18e2fe[_0x55697f(0x148)]?(_0x41fb4e=!0x0,this[_0x55697f(0x184)](_0x18e2fe)):_0x18e2fe[_0x55697f(0x13f)]===_0x219fe4&&_0x18e2fe[_0x55697f(0x148)]===_0x104230?_0x41fb4e=!0x1:(_0x31cdf0[_0x55697f(0x13f)]===_0x219fe4&&_0x31cdf0[_0x55697f(0x148)]===_0x104230||this[_0x55697f(0x139)]({'revision':_0x31cdf0,'from':_0x104230,'to':_0x219fe4}),_0x41fb4e=!0x0),_0x41fb4e&&(delete _0x18e2fe[_0x55697f(0x148)],delete _0x18e2fe[_0x55697f(0x13f)],delete _0x18e2fe[_0x55697f(0x191)],delete _0x18e2fe[_0x55697f(0x140)],delete _0x18e2fe[_0x55697f(0x14a)]);}this[_0x55697f(0x14e)][_0x55697f(0x158)](_0x18e2fe),this[_0x55697f(0x184)](_0x18e2fe);}else this[_0x55697f(0x14e)][_0x55697f(0x188)](_0x18e2fe);}const _0x38ea11=_0x5a770b[_0x55697f(0x131)]();_0x38ea11[_0x55697f(0x16d)]();for(let _0x40f2c1=0x0;_0x40f2c1<_0x38ea11[_0x55697f(0x136)]-0x1;_0x40f2c1++){const _0x218be0=_0x38ea11[_0x40f2c1],_0x14ddba=_0x38ea11[_0x40f2c1+0x1];if(_0x218be0[_0x55697f(0x148)]<_0x14ddba[_0x55697f(0x13f)]){const _0x1cb198=_0x14ddba[_0x55697f(0x13f)],_0x1d91f6=Math[_0x55697f(0x176)](_0x1cb198,_0x218be0[_0x55697f(0x13f)]);this[_0x55697f(0x139)]({'revision':_0x218be0,'from':_0x1cb198,'to':_0x1d91f6});}}}[_0x31c979(0x139)]({revision:_0x1370e0,from:_0x289eb3,to:_0xc4c4b8}={}){const _0x22b776=_0x31c979,_0x564ad3=this[_0x22b776(0x160)][_0x22b776(0x198)][_0x22b776(0x18d)](_0x1b8412),_0x423fb0=this[_0x22b776(0x14e)][_0x22b776(0x19e)]({'revision':_0x1370e0,'from':_0x289eb3,'to':_0xc4c4b8});_0x423fb0[_0x22b776(0x181)]=_0x423fb0[_0x22b776(0x14a)][_0x22b776(0x19b)](_0xa37795=>_0x564ad3[_0x22b776(0x13e)](_0xa37795)),_0x1370e0[_0x22b776(0x19a)](_0x423fb0);}[_0x31c979(0x184)](_0x3e92ef){const _0x56e4fb=_0x31c979,_0x1002dc={};_0x1002dc['id']=_0x3e92ef['id'];for(const _0x25ca55 of Object[_0x56e4fb(0x138)](_0x3e92ef))'id'!==_0x25ca55&&(_0x1002dc[_0x25ca55]=void 0x0);this[_0x56e4fb(0x14e)][_0x56e4fb(0x166)](_0x1002dc['id'],_0x1002dc,!0x0);}async[_0x31c979(0x149)](_0x5c0387){const _0x24ff84=_0x31c979,_0x3f301b=this[_0x24ff84(0x160)][_0x24ff84(0x198)][_0x24ff84(0x18d)](_0x1b8412),{connection:_0x2dfb2f}=this[_0x24ff84(0x160)][_0x24ff84(0x198)][_0x24ff84(0x18d)](_0x36854f),_0xb92887=new Set();for(const _0x2d9e65 of _0x5c0387){for(const _0x42915d of _0x2d9e65[_0x24ff84(0x14a)])_0xf0576f(_0x42915d);_0x2d9e65[_0x24ff84(0x144)]&&_0xf0576f(_0x2d9e65[_0x24ff84(0x144)]);}if(0x0===_0xb92887[_0x24ff84(0x18f)])return;const _0x26fe72=await _0x16dd9e[_0x24ff84(0x13d)](_0x2dfb2f,Array[_0x24ff84(0x195)](_0xb92887));for(const _0x25e36d of _0x26fe72)_0x3f301b[_0x24ff84(0x13e)](_0x25e36d['id'])||_0x3f301b[_0x24ff84(0x163)](_0x25e36d);function _0xf0576f(_0x64f980){const _0x4368ff=_0x24ff84;_0x3f301b[_0x4368ff(0x13e)](_0x64f980)||_0xb92887[_0x4368ff(0x182)](_0x64f980);}}}v[_0x31c979(0x14f)]=_0x280806;function _0x3396(_0x3f544a,_0x91808e){const _0x47e726=_0x47e7();return _0x3396=function(_0x339696,_0x5c5545){_0x339696=_0x339696-0x131;let _0x148245=_0x47e726[_0x339696];return _0x148245;},_0x3396(_0x3f544a,_0x91808e);}export default v;function st(_0x41b5dc){const _0x3f1117=_0x31c979;return _0x41b5dc[_0x3f1117(0x19f)][_0x3f1117(0x18b)](_0x3f1117(0x154))||_0x41b5dc[_0x3f1117(0x19f)][_0x3f1117(0x18b)](_0x3f1117(0x165))||_0x41b5dc[_0x3f1117(0x19f)][_0x3f1117(0x18b)](_0x3f1117(0x189));}
|
|
23
|
+
const _0x27e1b7=_0x2591;(function(_0x5a434e,_0x15de7){const _0x26b996=_0x2591,_0x4b0787=_0x5a434e();while(!![]){try{const _0x3d6f6c=parseInt(_0x26b996(0x22e))/0x1+-parseInt(_0x26b996(0x21a))/0x2*(parseInt(_0x26b996(0x22a))/0x3)+-parseInt(_0x26b996(0x201))/0x4+-parseInt(_0x26b996(0x240))/0x5+-parseInt(_0x26b996(0x24b))/0x6*(parseInt(_0x26b996(0x22d))/0x7)+-parseInt(_0x26b996(0x23e))/0x8+-parseInt(_0x26b996(0x244))/0x9*(-parseInt(_0x26b996(0x1e9))/0xa);if(_0x3d6f6c===_0x15de7)break;else _0x4b0787['push'](_0x4b0787['shift']());}catch(_0x41cdd4){_0x4b0787['push'](_0x4b0787['shift']());}}}(_0x19fc,0x7c6ab));function _0x19fc(){const _0x362bb0=['isBundleUploaded','plugins','_bufferedUpdates','creatorId','getMany','once','currentRevision','37726gAMfnW','RevisionHistoryService','from','sendBufferedUpdates','length','add','remove','connect','getRevisions','isConnected','code','cloud-services-internal-error:\x20Request\x20timeout.','_revisionDataBuilder','sessionId','off','get','3mbbfVN','change:_isConnected','setRevisionData','778211UanpTK','651700kVZwYu','_fetchMissingUsers','repository','listenTo','CONNECTED','config','_revisionTracker','reverse','fromVersion','max','_isPendingUpdate','_bufferUpdate','requires','getOperations','authors','change:_isPendingUpdate','5098904ytPxqT','reInit','61785mStcFq','getUser','addRevisionData','serverHistory','2394bTGbPT','marker','isEmptyCurrent','has','_lastRequestId','affectsData','data','24EBaeQT','getRevision','diffData','map','_startingVersion','cloud-services-internal-error:\x20Not\x20connected.','addUser','addToReconnectionStack','_isConnected','_preventResendingRevisionData','_revisionHistoryService','type','createdAt','66970lbcKsh','connected','revisionsUpdated','RevisionTracker','buildRevisionData','size','_createCurrentRevision','message','isEnabled','400','connection','wrongRequestId','catch','updateRevisions','startsWith','authorsIds','_fixRevision','_oldOffset','_handleReconnectionError','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','then','_handleRevisionsUpdate','bind','state','3240864ddbAms','toVersion','_waitForServiceReady','_update','collaboration.channelId','_getLatestVersion','_getLatestVersionFromServerOperations','destroy','reconnect','init','keys','editor','setSource','_offset','baseVersion','adapter','_revisions','cloudServices.bundleVersion'];_0x19fc=function(){return _0x362bb0;};return _0x19fc();}import{Plugin as _0x26ac21}from'ckeditor5/src/core.js';import{version as _0x277928}from'ckeditor5/src/utils.js';import{Users as _0x1617f9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2591(_0x593867,_0x2510a9){const _0x19fc32=_0x19fc();return _0x2591=function(_0x259106,_0xc33e28){_0x259106=_0x259106-0x1de;let _0x1f68f8=_0x19fc32[_0x259106];return _0x1f68f8;},_0x2591(_0x593867,_0x2510a9);}import _0x989fe9 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x47c426 from'../realtimecollaborativeediting/websocketgateway.js';import _0x47b164 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x11d0a4,RevisionHistoryService as _0x4e01de,User as _0xf42156,WEB_SOCKET_GATEWAY_STATES as _0x45a924}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x26ac21{static get[_0x27e1b7(0x23a)](){const _0x357041=_0x27e1b7;return[_0x47c426,_0x989fe9,_0x357041(0x1ec),_0x47b164,_0x1617f9];}constructor(_0x5d1478){const _0x29795b=_0x27e1b7;super(_0x5d1478);const _0x48ad2e=this[_0x29795b(0x20c)][_0x29795b(0x233)][_0x29795b(0x229)](_0x29795b(0x205));this[_0x29795b(0x248)]=null,this[_0x29795b(0x234)]=this[_0x29795b(0x20c)][_0x29795b(0x214)][_0x29795b(0x229)](_0x29795b(0x1ec)),this[_0x29795b(0x1e6)]=new v[(_0x29795b(0x21b))](_0x48ad2e);}async[_0x27e1b7(0x20a)](){const _0x504f3d=_0x27e1b7,_0x5f1f9f=this[_0x504f3d(0x20c)][_0x504f3d(0x214)][_0x504f3d(0x229)](_0x989fe9),_0x5a63aa=_0x5f1f9f[_0x504f3d(0x243)],_0x2bb9c1=this[_0x504f3d(0x20c)][_0x504f3d(0x214)][_0x504f3d(0x229)](_0x47c426);this[_0x504f3d(0x234)][_0x504f3d(0x20d)]({'history':_0x5a63aa,'getLatestVersion':()=>this[_0x504f3d(0x206)](),'getCurrentRevisionId':()=>_0x5f1f9f[_0x504f3d(0x227)]});const _0x1f4d46=this[_0x504f3d(0x20c)][_0x504f3d(0x233)][_0x504f3d(0x229)](_0x504f3d(0x212))||_0x277928,_0x8ff6b5=await _0x11d0a4[_0x504f3d(0x213)](_0x2bb9c1[_0x504f3d(0x1f3)],_0x1f4d46);this[_0x504f3d(0x234)][_0x504f3d(0x210)]={'getRevision':async({revisionId:_0x112cfb})=>(await this[_0x504f3d(0x203)](),await this[_0x504f3d(0x1e6)][_0x504f3d(0x24c)](_0x112cfb)),'updateRevisions':async _0xb4bc5=>{const _0x40881d=_0x504f3d;await this[_0x40881d(0x203)]();const _0x2cbf92=this[_0x40881d(0x234)][_0x40881d(0x219)];if(_0x8ff6b5&&0x1===_0xb4bc5[_0x40881d(0x21e)]&&_0xb4bc5[0x0]['id']===_0x2cbf92['id'])return _0xb4bc5;for(const _0x21b7df of _0xb4bc5)_0x21b7df['id']===_0x2cbf92['id']&&(_0x21b7df[_0x40881d(0x246)]=_0x21b7df[_0x40881d(0x236)]===_0x21b7df[_0x40881d(0x202)]);return this[_0x40881d(0x1e6)][_0x40881d(0x1f6)](_0xb4bc5,this[_0x40881d(0x248)])[_0x40881d(0x1fd)](_0x2f8cca=>(this[_0x40881d(0x248)]=_0x2f8cca,_0xb4bc5))[_0x40881d(0x1f5)](_0x4dca82=>{const _0x15b89d=_0x40881d;if(P(_0x4dca82)||_0x15b89d(0x1f2)===_0x4dca82[_0x15b89d(0x224)]&&void 0x0!==_0x4dca82[_0x15b89d(0x24a)][_0x15b89d(0x1f4)]){for(const _0x1ba69b of _0xb4bc5){!this[_0x15b89d(0x234)][_0x15b89d(0x230)][_0x15b89d(0x24c)](_0x1ba69b['id'])||this[_0x15b89d(0x234)][_0x15b89d(0x239)](_0x1ba69b['id'],_0x1ba69b,!0x1);}if(P(_0x4dca82))throw _0x4dca82;return _0xb4bc5;}throw _0x4dca82;});}},this[_0x504f3d(0x231)](this[_0x504f3d(0x1e6)],_0x504f3d(0x1eb),(_0x1a13d1,{revisionsData:_0x2b6050,requestId:_0x584a71})=>{const _0xc150e3=_0x504f3d;Math[_0xc150e3(0x237)](..._0x2b6050[_0xc150e3(0x1df)](_0x4b0fbf=>_0x4b0fbf[_0xc150e3(0x202)]))>this[_0xc150e3(0x207)]()-0x1?this[_0xc150e3(0x206)]()[_0xc150e3(0x1fd)](()=>{const _0x2fe5ab=_0xc150e3;this[_0x2fe5ab(0x1fe)](_0x2b6050,_0x584a71);}):this[_0xc150e3(0x1fe)](_0x2b6050,_0x584a71);});const {revisions:_0xbf3ae3,requestId:_0x495a03}=await this[_0x504f3d(0x1e6)][_0x504f3d(0x221)](_0x2bb9c1[_0x504f3d(0x1f3)]);_0x2bb9c1[_0x504f3d(0x1e3)](this),this[_0x504f3d(0x248)]=_0x495a03,await this[_0x504f3d(0x22f)](_0xbf3ae3);for(const _0x17c665 of _0xbf3ae3)this[_0x504f3d(0x234)][_0x504f3d(0x242)](_0x17c665);this[_0x504f3d(0x231)](_0x5f1f9f,_0x504f3d(0x22b),(_0x57cd4b,_0x3e7024,_0x44a1e9)=>{const _0x6733f2=_0x504f3d;_0x44a1e9&&(this[_0x6733f2(0x1fa)]=_0x5f1f9f[_0x6733f2(0x20e)],_0x57cd4b[_0x6733f2(0x228)]());}),this[_0x504f3d(0x234)][_0x504f3d(0x1ff)](_0x504f3d(0x1f1))['to'](_0x2bb9c1,_0x504f3d(0x200),_0x572364=>_0x572364===_0x45a924[_0x504f3d(0x232)]);}async[_0x27e1b7(0x209)](){const _0x9c9c35=_0x27e1b7,_0x57823c=this[_0x9c9c35(0x20c)][_0x9c9c35(0x214)][_0x9c9c35(0x229)](_0x47c426),_0x8c66eb=this[_0x9c9c35(0x20c)][_0x9c9c35(0x214)][_0x9c9c35(0x229)](_0x989fe9),_0x3064f6=async()=>{const _0x15ba5a=_0x9c9c35,_0x3d8a47=this[_0x15ba5a(0x234)][_0x15ba5a(0x219)],_0x5237e8=_0x3d8a47['id'],_0x40253e=_0x5237e8!==_0x8c66eb[_0x15ba5a(0x227)];if(_0x40253e){const _0x355f26=_0x8c66eb[_0x15ba5a(0x20e)]-this[_0x15ba5a(0x1fa)],_0x55f276=this[_0x15ba5a(0x207)]();this[_0x15ba5a(0x234)][_0x15ba5a(0x226)][_0x15ba5a(0x23f)]();if(_0x3d8a47[_0x15ba5a(0x202)]+_0x355f26!==_0x55f276){const _0x328369=_0x3d8a47[_0x15ba5a(0x236)]+_0x355f26,_0x5c48b1=this[_0x15ba5a(0x20c)][_0x15ba5a(0x214)][_0x15ba5a(0x229)](_0x1617f9),_0x66d205=this[_0x15ba5a(0x234)][_0x15ba5a(0x1ed)]({'revision':_0x3d8a47,'from':_0x328369,'to':_0x55f276});_0x66d205['id']=_0x3d8a47['id'];const _0x1161bb=_0x66d205[_0x15ba5a(0x1f8)][_0x15ba5a(0x1df)](_0x1b6532=>_0x5c48b1[_0x15ba5a(0x241)](_0x1b6532));_0x3d8a47[_0x15ba5a(0x204)]({..._0x66d205,'authors':_0x1161bb},!0x0),this[_0x15ba5a(0x234)][_0x15ba5a(0x239)](_0x3d8a47['id'],_0x66d205,!0x0);}this[_0x15ba5a(0x234)][_0x15ba5a(0x1e0)]=_0x55f276,(_0x3d8a47[_0x15ba5a(0x202)]===_0x3d8a47[_0x15ba5a(0x236)]&&!this[_0x15ba5a(0x234)][_0x15ba5a(0x215)][_0x15ba5a(0x247)](_0x5237e8)&&this[_0x15ba5a(0x234)][_0x15ba5a(0x230)][_0x15ba5a(0x211)][_0x15ba5a(0x220)](_0x5237e8),this[_0x15ba5a(0x234)][_0x15ba5a(0x1ef)](_0x55f276));}const {revisions:_0x33819a,requestId:_0x5c6019}=await this[_0x15ba5a(0x1e6)][_0x15ba5a(0x209)](_0x57823c[_0x15ba5a(0x1f3)],this[_0x15ba5a(0x248)]);_0x40253e&&_0x33819a[_0x15ba5a(0x21e)]>0x0?_0x8c66eb[_0x15ba5a(0x1fb)]():(await this[_0x15ba5a(0x22f)](_0x33819a),this[_0x15ba5a(0x1fe)](_0x33819a,_0x5c6019),this[_0x15ba5a(0x234)][_0x15ba5a(0x21d)]());};return _0x8c66eb[_0x9c9c35(0x1e4)]?_0x3064f6():new Promise((_0x2e4d50,_0x49614d)=>{const _0x14e1b5=_0x9c9c35;_0x8c66eb[_0x14e1b5(0x218)](_0x14e1b5(0x22b),()=>{const _0x2ff159=_0x14e1b5;_0x3064f6()[_0x2ff159(0x1fd)](_0x2e4d50)[_0x2ff159(0x1f5)](_0x49614d);});});}[_0x27e1b7(0x208)](){const _0x1356f7=_0x27e1b7;super[_0x1356f7(0x208)]();}async[_0x27e1b7(0x203)](){const _0x2bdc3f=_0x27e1b7;this[_0x2bdc3f(0x1e6)][_0x2bdc3f(0x223)]||await new Promise(_0x21f60d=>{const _0x3b178c=_0x2bdc3f;this[_0x3b178c(0x231)](this[_0x3b178c(0x1e6)],_0x3b178c(0x1ea),_0x568ca5=>{const _0x333286=_0x3b178c;_0x568ca5[_0x333286(0x228)](),_0x21f60d();});});}[_0x27e1b7(0x207)](){const _0x4e2a2e=_0x27e1b7,_0x19a27e=this[_0x4e2a2e(0x20c)][_0x4e2a2e(0x214)][_0x4e2a2e(0x229)](_0x989fe9)[_0x4e2a2e(0x243)][_0x4e2a2e(0x23b)]()[_0x4e2a2e(0x235)]();for(const _0x144a15 of _0x19a27e)if(_0x4e2a2e(0x245)!==_0x144a15[_0x4e2a2e(0x1e7)]||_0x144a15[_0x4e2a2e(0x249)])return _0x144a15[_0x4e2a2e(0x20f)]+0x1;}[_0x27e1b7(0x206)](){const _0x466425=_0x27e1b7,_0x36f2eb=this[_0x466425(0x20c)][_0x466425(0x214)][_0x466425(0x229)](_0x989fe9);return new Promise(_0x3ebed6=>{const _0x3f7c68=_0x466425;_0x36f2eb[_0x3f7c68(0x238)]?_0x36f2eb[_0x3f7c68(0x218)](_0x3f7c68(0x23d),()=>{const _0x34de8c=_0x3f7c68;_0x3ebed6(this[_0x34de8c(0x207)]());}):_0x3ebed6(this[_0x3f7c68(0x207)]());});}[_0x27e1b7(0x1fe)](_0x2459d1,_0x5e094b){const _0x1cb1ef=_0x27e1b7,_0x53cf02=this[_0x1cb1ef(0x234)][_0x1cb1ef(0x230)];this[_0x1cb1ef(0x248)]=_0x5e094b;for(const _0xe2ca2e of _0x2459d1){const _0x53211f=_0x53cf02[_0x1cb1ef(0x24c)](_0xe2ca2e['id']);if(_0x53211f){if((_0xe2ca2e[_0x1cb1ef(0x236)]||_0xe2ca2e[_0x1cb1ef(0x202)])&&(_0xe2ca2e[_0x1cb1ef(0x1de)]=null),_0x53211f===this[_0x1cb1ef(0x234)][_0x1cb1ef(0x219)]){const _0x8cb5d7=Math[_0x1cb1ef(0x237)](_0x53211f[_0x1cb1ef(0x202)],_0xe2ca2e[_0x1cb1ef(0x202)]),_0x137cad=Math[_0x1cb1ef(0x237)](_0x53211f[_0x1cb1ef(0x236)],_0xe2ca2e[_0x1cb1ef(0x236)]);let _0x482c78;_0x53211f[_0x1cb1ef(0x202)]===_0xe2ca2e[_0x1cb1ef(0x202)]&&_0x53211f[_0x1cb1ef(0x236)]===_0xe2ca2e[_0x1cb1ef(0x236)]?(_0x482c78=!0x0,this[_0x1cb1ef(0x1e5)](_0xe2ca2e)):_0xe2ca2e[_0x1cb1ef(0x202)]===_0x8cb5d7&&_0xe2ca2e[_0x1cb1ef(0x236)]===_0x137cad?_0x482c78=!0x1:(_0x53211f[_0x1cb1ef(0x202)]===_0x8cb5d7&&_0x53211f[_0x1cb1ef(0x236)]===_0x137cad||this[_0x1cb1ef(0x1f9)]({'revision':_0x53211f,'from':_0x137cad,'to':_0x8cb5d7}),_0x482c78=!0x0),_0x482c78&&(delete _0xe2ca2e[_0x1cb1ef(0x236)],delete _0xe2ca2e[_0x1cb1ef(0x202)],delete _0xe2ca2e[_0x1cb1ef(0x1de)],delete _0xe2ca2e[_0x1cb1ef(0x1e8)],delete _0xe2ca2e[_0x1cb1ef(0x1f8)]);}this[_0x1cb1ef(0x234)][_0x1cb1ef(0x22c)](_0xe2ca2e),this[_0x1cb1ef(0x1e5)](_0xe2ca2e);}else this[_0x1cb1ef(0x234)][_0x1cb1ef(0x242)](_0xe2ca2e);}const _0x5b80d9=_0x53cf02[_0x1cb1ef(0x222)]();_0x5b80d9[_0x1cb1ef(0x235)]();for(let _0x276bb4=0x0;_0x276bb4<_0x5b80d9[_0x1cb1ef(0x21e)]-0x1;_0x276bb4++){const _0x12de7a=_0x5b80d9[_0x276bb4],_0xe52a9e=_0x5b80d9[_0x276bb4+0x1];if(_0x12de7a[_0x1cb1ef(0x236)]<_0xe52a9e[_0x1cb1ef(0x202)]){const _0x4adaa4=_0xe52a9e[_0x1cb1ef(0x202)],_0x1d973e=Math[_0x1cb1ef(0x237)](_0x4adaa4,_0x12de7a[_0x1cb1ef(0x202)]);this[_0x1cb1ef(0x1f9)]({'revision':_0x12de7a,'from':_0x4adaa4,'to':_0x1d973e});}}}[_0x27e1b7(0x1f9)]({revision:_0x11a7e4,from:_0x4a7d3c,to:_0x55bba8}={}){const _0x1be1d1=_0x27e1b7,_0x5b9f7f=this[_0x1be1d1(0x20c)][_0x1be1d1(0x214)][_0x1be1d1(0x229)](_0x1617f9),_0x30636e=this[_0x1be1d1(0x234)][_0x1be1d1(0x1ed)]({'revision':_0x11a7e4,'from':_0x4a7d3c,'to':_0x55bba8});_0x30636e[_0x1be1d1(0x23c)]=_0x30636e[_0x1be1d1(0x1f8)][_0x1be1d1(0x1df)](_0xf62ccc=>_0x5b9f7f[_0x1be1d1(0x241)](_0xf62ccc)),_0x11a7e4[_0x1be1d1(0x204)](_0x30636e);}[_0x27e1b7(0x1e5)](_0x409048){const _0x24b0f0=_0x27e1b7,_0x151f9c={};_0x151f9c['id']=_0x409048['id'];for(const _0x59ea33 of Object[_0x24b0f0(0x20b)](_0x409048))'id'!==_0x59ea33&&(_0x151f9c[_0x59ea33]=void 0x0);this[_0x24b0f0(0x234)][_0x24b0f0(0x239)](_0x151f9c['id'],_0x151f9c,!0x0);}async[_0x27e1b7(0x22f)](_0x4f24ef){const _0x35a445=_0x27e1b7,_0xc98501=this[_0x35a445(0x20c)][_0x35a445(0x214)][_0x35a445(0x229)](_0x1617f9),{connection:_0x3a8a22}=this[_0x35a445(0x20c)][_0x35a445(0x214)][_0x35a445(0x229)](_0x47c426),_0x301c36=new Set();for(const _0xba45c9 of _0x4f24ef){for(const _0x263717 of _0xba45c9[_0x35a445(0x1f8)])_0xfb21b4(_0x263717);_0xba45c9[_0x35a445(0x216)]&&_0xfb21b4(_0xba45c9[_0x35a445(0x216)]);}if(0x0===_0x301c36[_0x35a445(0x1ee)])return;const _0x846bfa=await _0xf42156[_0x35a445(0x217)](_0x3a8a22,Array[_0x35a445(0x21c)](_0x301c36));for(const _0x38a229 of _0x846bfa)_0xc98501[_0x35a445(0x241)](_0x38a229['id'])||_0xc98501[_0x35a445(0x1e2)](_0x38a229);function _0xfb21b4(_0x3f85fd){const _0x529f7c=_0x35a445;_0xc98501[_0x529f7c(0x241)](_0x3f85fd)||_0x301c36[_0x529f7c(0x21f)](_0x3f85fd);}}}v[_0x27e1b7(0x21b)]=_0x4e01de;export default v;function P(_0x5cf8f6){const _0x210aae=_0x27e1b7;return _0x5cf8f6[_0x210aae(0x1f0)][_0x210aae(0x1f7)](_0x210aae(0x1fc))||_0x5cf8f6[_0x210aae(0x1f0)][_0x210aae(0x1f7)](_0x210aae(0x1e1))||_0x5cf8f6[_0x210aae(0x1f0)][_0x210aae(0x1f7)](_0x210aae(0x225));}
|