@univerjs-pro/collaboration-client 0.5.0-nightly.202411230545 → 0.5.0

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/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x4b7c32,_0x25fb65){const _0x3396eb=_0x2e6a,_0x3f5ef9=_0x4b7c32();while(!![]){try{const _0x448707=-parseInt(_0x3396eb(0x596))/0x1+parseInt(_0x3396eb(0x3c4))/0x2+parseInt(_0x3396eb(0x682))/0x3*(-parseInt(_0x3396eb(0x63a))/0x4)+parseInt(_0x3396eb(0x4a4))/0x5+parseInt(_0x3396eb(0x2f3))/0x6*(-parseInt(_0x3396eb(0x30f))/0x7)+parseInt(_0x3396eb(0x515))/0x8+-parseInt(_0x3396eb(0x3b6))/0x9*(-parseInt(_0x3396eb(0x2ef))/0xa);if(_0x448707===_0x25fb65)break;else _0x3f5ef9['push'](_0x3f5ef9['shift']());}catch(_0x2d48c3){_0x3f5ef9['push'](_0x3f5ef9['shift']());}}}(_0x3992,0x3d385),function(_0x3bf4d1,_0x23c362){const _0x32f2fd=_0x2e6a;typeof exports=='object'&&typeof module<'u'?_0x23c362(exports,require('@univerjs/core'),require('rxjs'),require(_0x32f2fd(0x646)),require(_0x32f2fd(0x639)),require('@univerjs/network'),require(_0x32f2fd(0x460)),require(_0x32f2fd(0x26f)),require(_0x32f2fd(0x267)),require('@univerjs/docs'),require(_0x32f2fd(0x373)),require(_0x32f2fd(0x4f4)),require(_0x32f2fd(0x1af)),require('@univerjs/drawing'),require(_0x32f2fd(0x5fa)),require(_0x32f2fd(0x427)),require('react'),require(_0x32f2fd(0x680))):typeof define==_0x32f2fd(0x1b7)&&define['amd']?define([_0x32f2fd(0x406),_0x32f2fd(0x40e),_0x32f2fd(0x47a),_0x32f2fd(0x646),'@univerjs/design','@univerjs/network','@univerjs/ui','@univerjs-pro/collaboration',_0x32f2fd(0x267),'@univerjs/docs',_0x32f2fd(0x373),_0x32f2fd(0x4f4),_0x32f2fd(0x1af),_0x32f2fd(0x4a9),_0x32f2fd(0x5fa),_0x32f2fd(0x427),_0x32f2fd(0x27b),_0x32f2fd(0x680)],_0x23c362):(_0x3bf4d1=typeof globalThis<'u'?globalThis:_0x3bf4d1||self,_0x23c362(_0x3bf4d1[_0x32f2fd(0x22d)]={},_0x3bf4d1[_0x32f2fd(0x360)],_0x3bf4d1[_0x32f2fd(0x47a)],_0x3bf4d1['rxjs'][_0x32f2fd(0x4d4)],_0x3bf4d1[_0x32f2fd(0x350)],_0x3bf4d1['UniverNetwork'],_0x3bf4d1[_0x32f2fd(0x2d7)],_0x3bf4d1[_0x32f2fd(0x2a3)],_0x3bf4d1[_0x32f2fd(0x56a)],_0x3bf4d1[_0x32f2fd(0x4e6)],_0x3bf4d1[_0x32f2fd(0x4ed)],_0x3bf4d1[_0x32f2fd(0x60b)],_0x3bf4d1[_0x32f2fd(0x5ff)],_0x3bf4d1[_0x32f2fd(0x401)],_0x3bf4d1[_0x32f2fd(0x290)],_0x3bf4d1[_0x32f2fd(0x3b0)],_0x3bf4d1[_0x32f2fd(0x56c)],_0x3bf4d1[_0x32f2fd(0x348)]));}(this,function(_0x342316,_0x27458f,_0x19f426,_0x23e740,_0x1fd227,_0x177724,_0x299d72,_0x307efd,_0x4b439d,_0x6a88d9,_0x42c347,_0x562d18,_0x4cb377,_0x533b24,_0x565fa1,_0x4aaf1b,_0x1eb56d,_0x42aeef){'use strict';const _0x3739fa=_0x2e6a;var _0x2162b3=Object[_0x3739fa(0x2c0)],_0x160ffe=(_0x190aa4,_0x3c2222,_0x109041)=>_0x3c2222 in _0x190aa4?_0x2162b3(_0x190aa4,_0x3c2222,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x109041}):_0x190aa4[_0x3c2222]=_0x109041,_0x13ba75=(_0x41bc9b,_0x325582,_0x2c2ff3)=>_0x160ffe(_0x41bc9b,typeof _0x325582!=_0x3739fa(0x57b)?_0x325582+'':_0x325582,_0x2c2ff3);const _0x37a1c7=_0x3739fa(0x63f),_0x2a350c=_0x3739fa(0x4cb),_0x460fb6=_0x3739fa(0x63c),_0x181426=_0x3739fa(0x4c0),_0x3180bc=_0x3739fa(0x568),_0x196ca2=_0x3739fa(0x5bf),_0x105c62=_0x3739fa(0x61d),_0x4440ff=_0x3739fa(0x4f8),_0x5e4bac=_0x3739fa(0x307),_0x4021af=_0x3739fa(0x22f),_0x441bef=_0x3739fa(0x527),_0x5ab6e5=_0x3739fa(0x59a),_0x293e0d=_0x3739fa(0x614),_0x1f0873=_0x3739fa(0x444),_0x22279f=_0x3739fa(0x2d9);var _0x5b8f1c=(_0x3cfdef=>(_0x3cfdef[_0x3cfdef[_0x3739fa(0x5be)]=0x0]='UNDEFINED',_0x3cfdef[_0x3cfdef['OK']=0x1]='OK',_0x3cfdef[_0x3cfdef['INTERNAL_ERROR']=0x2]=_0x3739fa(0x67e),_0x3cfdef[_0x3cfdef['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3cfdef[_0x3cfdef[_0x3739fa(0x467)]=0x4]=_0x3739fa(0x467),_0x3cfdef[_0x3cfdef['UNAUTHENTICATED']=0x5]=_0x3739fa(0x575),_0x3cfdef[_0x3cfdef[_0x3739fa(0x4c8)]=0x6]='ALREADY_EXISTS',_0x3cfdef[_0x3cfdef[_0x3739fa(0x636)]=0x7]=_0x3739fa(0x636),_0x3cfdef[_0x3cfdef[_0x3739fa(0x5f4)]=0x8]=_0x3739fa(0x5f4),_0x3cfdef[_0x3cfdef['COMPLETION_FINISHED']=0x9]=_0x3739fa(0x5ae),_0x3cfdef[_0x3cfdef[_0x3739fa(0x3d6)]=0x1389]=_0x3739fa(0x3d6),_0x3cfdef[_0x3cfdef['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3cfdef[_0x3cfdef[_0x3739fa(0x5d0)]=0x1772]=_0x3739fa(0x5d0),_0x3cfdef[_0x3cfdef[_0x3739fa(0x4ae)]=0x1773]=_0x3739fa(0x4ae),_0x3cfdef[_0x3cfdef['APPLY_REJECT']=0x1b59]=_0x3739fa(0x392),_0x3cfdef[_0x3cfdef[_0x3739fa(0x3e1)]=0x1b5a]=_0x3739fa(0x3e1),_0x3cfdef[_0x3cfdef[_0x3739fa(0x3db)]=0x1b5b]=_0x3739fa(0x3db),_0x3cfdef[_0x3cfdef[_0x3739fa(0x67a)]=0x1b5c]=_0x3739fa(0x67a),_0x3cfdef[_0x3cfdef[_0x3739fa(0x590)]=0x1b5d]=_0x3739fa(0x590),_0x3cfdef[_0x3cfdef[_0x3739fa(0x243)]=0x1f41]=_0x3739fa(0x243),_0x3cfdef[_0x3cfdef[_0x3739fa(0x4b8)]=0x2329]=_0x3739fa(0x4b8),_0x3cfdef[_0x3cfdef[_0x3739fa(0x414)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3cfdef[_0x3cfdef[_0x3739fa(0x591)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3cfdef[_0x3cfdef['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3739fa(0x583),_0x3cfdef[_0x3cfdef['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3739fa(0x227),_0x3cfdef[_0x3cfdef[_0x3739fa(0x51a)]=0x2711]=_0x3739fa(0x51a),_0x3cfdef[_0x3cfdef[_0x3739fa(0x3be)]=0x2712]=_0x3739fa(0x3be),_0x3cfdef[_0x3cfdef['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3739fa(0x649),_0x3cfdef[_0x3cfdef[_0x3739fa(0x5ca)]=0x2714]=_0x3739fa(0x5ca),_0x3cfdef[_0x3cfdef[_0x3739fa(0x34a)]=-0x1]=_0x3739fa(0x34a),_0x3cfdef))(_0x5b8f1c||{}),_0x262f56=(_0x516b3d=>(_0x516b3d[_0x516b3d['UNIVER_UNKNOWN']=0x0]=_0x3739fa(0x3ff),_0x516b3d[_0x516b3d[_0x3739fa(0x4c3)]=0x1]=_0x3739fa(0x4c3),_0x516b3d[_0x516b3d['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x516b3d[_0x516b3d[_0x3739fa(0x230)]=0x3]=_0x3739fa(0x230),_0x516b3d[_0x516b3d[_0x3739fa(0x457)]=0x4]=_0x3739fa(0x457),_0x516b3d[_0x516b3d[_0x3739fa(0x34a)]=-0x1]=_0x3739fa(0x34a),_0x516b3d))(_0x262f56||{}),_0x47cd2a=(_0x55bcac=>(_0x55bcac[_0x55bcac[_0x3739fa(0x48d)]=0x0]=_0x3739fa(0x48d),_0x55bcac[_0x55bcac[_0x3739fa(0x55f)]=0x1]='HELLO',_0x55bcac[_0x55bcac[_0x3739fa(0x44c)]=0x2]=_0x3739fa(0x44c),_0x55bcac[_0x55bcac[_0x3739fa(0x62f)]=0x3]=_0x3739fa(0x62f),_0x55bcac[_0x55bcac[_0x3739fa(0x59b)]=0x4]=_0x3739fa(0x59b),_0x55bcac[_0x55bcac[_0x3739fa(0x48e)]=0x5]=_0x3739fa(0x48e),_0x55bcac[_0x55bcac[_0x3739fa(0x3f3)]=0x6]=_0x3739fa(0x3f3),_0x55bcac[_0x55bcac['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x55bcac))(_0x47cd2a||{}),_0x3aa424=(_0x10a85b=>(_0x10a85b[_0x10a85b[_0x3739fa(0x21f)]=0x0]='UNKNOWN_CODE',_0x10a85b[_0x10a85b['OK']=0x1]='OK',_0x10a85b[_0x10a85b[_0x3739fa(0x362)]=0x2]=_0x3739fa(0x362),_0x10a85b[_0x10a85b['JOIN_ROOM_FULL']=0x3e9]=_0x3739fa(0x431),_0x10a85b[_0x10a85b[_0x3739fa(0x572)]=0x3ea]=_0x3739fa(0x572),_0x10a85b[_0x10a85b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x10a85b))(_0x3aa424||{}),_0x2ecfae=(_0x68180a=>(_0x68180a[_0x68180a[_0x3739fa(0x648)]=0x0]='Undefined',_0x68180a[_0x68180a[_0x3739fa(0x617)]=0x1]=_0x3739fa(0x617),_0x68180a[_0x68180a[_0x3739fa(0x53a)]=0x2]=_0x3739fa(0x53a),_0x68180a[_0x68180a[_0x3739fa(0x54b)]=0x3]='UnitEmbedded',_0x68180a[_0x68180a[_0x3739fa(0x2ac)]=0x4]=_0x3739fa(0x2ac),_0x68180a[_0x68180a[_0x3739fa(0x34a)]=-0x1]=_0x3739fa(0x34a),_0x68180a))(_0x2ecfae||{});const _0x4ff220=_0x3739fa(0x657),_0x20d253={};function _0x45ad56(_0x9e4888){const _0x5224af=_0x3739fa;var _0x31349c,_0x4ff86e,_0x1ef2e4,_0x2ed8b0,_0x267849;const _0x6dc7a5=_0x9e4888['data'],_0x1a9a85=JSON[_0x5224af(0x459)](_0x6dc7a5);switch(_0x1a9a85[_0x5224af(0x1ff)]){case _0x47cd2a[_0x5224af(0x48e)]:case _0x47cd2a[_0x5224af(0x55f)]:{const _0x16c692=_0x1a9a85[_0x5224af(0x1c1)];return{..._0x1a9a85,'data':_0x16c692,'cmd':_0x1a9a85['cmd']};}case _0x47cd2a[_0x5224af(0x44c)]:{const _0x36aa3c=_0x1a9a85[_0x5224af(0x347)];return{..._0x1a9a85,'data':_0x36aa3c,'cmd':_0x1a9a85[_0x5224af(0x1ff)]};}case _0x47cd2a[_0x5224af(0x3f3)]:{const _0x2faed4=_0x1a9a85['collaMsg'];switch(_0x2faed4['eventID']){case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x5a8)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':(_0x31349c=_0x2faed4[_0x5224af(0x2b6)])==null?void 0x0:_0x31349c['cs']},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd['CollaborationEvent']['CHANGESET_ACK']:return{..._0x1a9a85,'data':{..._0x2faed4,'data':(_0x4ff86e=_0x2faed4['csAckEvent'])==null?void 0x0:_0x4ff86e['cs']},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x65d)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':(_0x1ef2e4=_0x2faed4[_0x5224af(0x66e)])==null?void 0x0:_0x1ef2e4['cs']},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x1d4)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':(_0x2ed8b0=_0x2faed4[_0x5224af(0x634)])==null?void 0x0:_0x2ed8b0['cs']},'cmd':_0x1a9a85['cmd']};case _0x307efd['CollaborationEvent'][_0x5224af(0x3bb)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':(_0x267849=_0x2faed4[_0x5224af(0x64c)])==null?void 0x0:_0x267849['cs']},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x5e8)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4[_0x5224af(0x311)]},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd['CollaborationEvent']['USERS_ENTER']:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4['joinEvent']},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x661)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4[_0x5224af(0x635)]},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x622)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4[_0x5224af(0x1f6)]},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x48c)]:case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x3fd)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4[_0x5224af(0x225)]},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x4ca)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4[_0x5224af(0x1f6)]},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd['CollaborationEvent'][_0x5224af(0x5d2)]:return{..._0x1a9a85,'data':_0x2faed4,'cmd':_0x1a9a85[_0x5224af(0x1ff)]};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x409)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4[_0x5224af(0x270)]},'cmd':_0x1a9a85['cmd']};case _0x307efd[_0x5224af(0x3ad)][_0x5224af(0x207)]:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4[_0x5224af(0x2f7)]},'cmd':_0x1a9a85['cmd']};case _0x307efd[_0x5224af(0x3ad)]['SHOULD_CLOSE_CONN']:return{..._0x1a9a85,'data':{..._0x2faed4,'data':_0x2faed4[_0x5224af(0x45f)]},'cmd':_0x1a9a85[_0x5224af(0x1ff)]};default:return _0x1a9a85;}}default:return _0x1a9a85;}}function _0x3c4839(_0x55b6f9){const _0x1a653c=_0x3739fa;switch(_0x55b6f9[_0x1a653c(0x1ff)]){case _0x47cd2a[_0x1a653c(0x48e)]:case _0x47cd2a[_0x1a653c(0x55f)]:return JSON['stringify']({'cmd':_0x55b6f9[_0x1a653c(0x1ff)],'routeKey':_0x55b6f9[_0x1a653c(0x4af)]});case _0x47cd2a[_0x1a653c(0x59b)]:{let _0x2d218c;switch(_0x55b6f9['data'][_0x1a653c(0x610)]){case _0x307efd[_0x1a653c(0x3ad)]['UPDATE_CURSOR']:{_0x2d218c={'eventID':_0x307efd['CollaborationEvent'][_0x1a653c(0x5e8)],'updateCursorEvent':_0x55b6f9[_0x1a653c(0x530)][_0x1a653c(0x530)]};break;}case _0x307efd[_0x1a653c(0x3ad)][_0x1a653c(0x661)]:{_0x2d218c={'eventID':_0x307efd[_0x1a653c(0x3ad)][_0x1a653c(0x661)],'leaveEvent':_0x55b6f9['data'][_0x1a653c(0x530)]};break;}case _0x307efd[_0x1a653c(0x3ad)][_0x1a653c(0x418)]:{_0x2d218c={'eventID':_0x307efd[_0x1a653c(0x3ad)][_0x1a653c(0x418)],'joinEvent':_0x55b6f9[_0x1a653c(0x530)]['data']};break;}case _0x307efd[_0x1a653c(0x3ad)][_0x1a653c(0x622)]:{_0x2d218c={'eventID':_0x307efd[_0x1a653c(0x3ad)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x55b6f9['data'][_0x1a653c(0x530)]};break;}case _0x307efd[_0x1a653c(0x3ad)]['LIVESHARE_OPERATION']:{_0x2d218c={'eventID':_0x307efd[_0x1a653c(0x3ad)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x55b6f9[_0x1a653c(0x530)][_0x1a653c(0x530)]};break;}case _0x307efd[_0x1a653c(0x3ad)]['LIVESHARE_TERMINATE']:{_0x2d218c={'eventID':_0x307efd[_0x1a653c(0x3ad)][_0x1a653c(0x4ca)],'liveShareTerminate':_0x55b6f9[_0x1a653c(0x530)]['data']};break;}case _0x307efd['CollaborationEvent'][_0x1a653c(0x616)]:{_0x2d218c={'eventID':_0x307efd[_0x1a653c(0x3ad)][_0x1a653c(0x616)],'liveShareRequestHost':_0x55b6f9[_0x1a653c(0x530)][_0x1a653c(0x530)]};break;}case _0x307efd[_0x1a653c(0x3ad)][_0x1a653c(0x48c)]:{_0x2d218c={'eventID':_0x307efd['CollaborationEvent'][_0x1a653c(0x48c)]};break;}default:_0x2d218c={'eventID':_0x55b6f9['data'][_0x1a653c(0x610)]};}return JSON[_0x1a653c(0x2c8)]({'cmd':_0x55b6f9[_0x1a653c(0x1ff)],'routeKey':_0x55b6f9[_0x1a653c(0x4af)],'collaMsg':_0x2d218c});}case _0x47cd2a[_0x1a653c(0x44c)]:return JSON[_0x1a653c(0x2c8)]({'cmd':_0x55b6f9[_0x1a653c(0x1ff)],'routeKey':_0x55b6f9[_0x1a653c(0x4af)],'joinReq':_0x55b6f9[_0x1a653c(0x530)]});case _0x47cd2a[_0x1a653c(0x62f)]:return JSON[_0x1a653c(0x2c8)]({'cmd':_0x55b6f9[_0x1a653c(0x1ff)],'routeKey':_0x55b6f9[_0x1a653c(0x4af)],'leaveReq':_0x55b6f9[_0x1a653c(0x530)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x19d0cc=Object[_0x3739fa(0x2c0)],_0x4246a4=Object[_0x3739fa(0x4e4)],_0x462d40=(_0x13179a,_0x1b38e6,_0x122748,_0x3175b7)=>{const _0x14e674=_0x3739fa;for(var _0x38cfb4=_0x3175b7>0x1?void 0x0:_0x3175b7?_0x4246a4(_0x1b38e6,_0x122748):_0x1b38e6,_0x39d078=_0x13179a[_0x14e674(0x477)]-0x1,_0x44c1ce;_0x39d078>=0x0;_0x39d078--)(_0x44c1ce=_0x13179a[_0x39d078])&&(_0x38cfb4=(_0x3175b7?_0x44c1ce(_0x1b38e6,_0x122748,_0x38cfb4):_0x44c1ce(_0x38cfb4))||_0x38cfb4);return _0x3175b7&&_0x38cfb4&&_0x19d0cc(_0x1b38e6,_0x122748,_0x38cfb4),_0x38cfb4;},_0x208900=(_0x2ec166,_0x1251bd)=>(_0x3ba8b2,_0x2a85f1)=>_0x1251bd(_0x3ba8b2,_0x2a85f1,_0x2ec166);const _0x23f441=_0x27458f[_0x3739fa(0x36c)](_0x3739fa(0x384));function _0x8e4082(_0x14e20c,_0x4e5bed,_0x3087cb){const _0x23fae=_0x3739fa;return _0x14e20c+'/'+_0x4e5bed+_0x23fae(0x533)+_0x3087cb+_0x23fae(0x1da);}_0x342316[_0x3739fa(0x405)]=class extends _0x27458f['Disposable']{constructor(_0x537362,_0x4b226e,_0x274013,_0x4e6f22,_0x79b3d4){const _0x53beb7=_0x3739fa;super(),this[_0x53beb7(0x662)]=_0x537362,this[_0x53beb7(0x619)]=_0x4b226e,this['_configService']=_0x274013,this[_0x53beb7(0x4a0)]=_0x4e6f22,this[_0x53beb7(0x54a)]=_0x79b3d4;}[_0x3739fa(0x2bd)](_0x1713ff){const _0x27929e=_0x3739fa,_0x590e7e=this['_ws']['createSocket'](_0x1713ff);if(!_0x590e7e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x24c49f=new _0x27458f[(_0x27929e(0x40c))](),_0x5d8b66=new _0x19f426['Subject']();_0x24c49f[_0x27929e(0x386)](_0x590e7e['close$']['subscribe'](_0x412a92=>_0x5d8b66['next'](_0x412a92))),_0x24c49f[_0x27929e(0x386)](_0x27458f[_0x27929e(0x44a)](()=>_0x5d8b66['complete']()));const _0x2402b2=new _0x19f426['Subject']();_0x24c49f['add'](_0x590e7e[_0x27929e(0x498)][_0x27929e(0x618)](_0x2329ce=>_0x2402b2['next'](_0x2329ce))),_0x24c49f['add'](_0x27458f['toDisposable'](()=>_0x2402b2['complete']()));const _0x1823a7=new _0x19f426[(_0x27929e(0x67c))]();_0x24c49f[_0x27929e(0x386)](_0x590e7e['message$'][_0x27929e(0x618)](_0x2f7efa=>{const _0x4f47c0=_0x27929e,_0x3bd86f=_0x45ad56(_0x2f7efa);_0x1823a7[_0x4f47c0(0x594)](_0x3bd86f);})),_0x24c49f[_0x27929e(0x386)](_0x27458f[_0x27929e(0x44a)](()=>_0x1823a7[_0x27929e(0x4e2)]()));let _0x4a2904;const _0x533075=()=>{const _0x243cda=_0x27929e;_0x2402b2['next'](new Event(_0x243cda(0x576))),_0x5d8b66['next'](new CloseEvent('connection\x20error')),_0x4a2904[_0x243cda(0x203)]();};return _0x4a2904={'memberID':'','close$':_0x5d8b66['asObservable'](),'error$':_0x2402b2[_0x27929e(0x2ba)](),'open$':_0x590e7e['open$'],'message$':_0x1823a7[_0x27929e(0x2ba)](),'send':_0x5ac50c=>{const _0x2addc6=_0x27929e;if(_0x5ac50c[_0x2addc6(0x1ff)]===_0x47cd2a[_0x2addc6(0x59b)]){if(_0x5ac50c['data'][_0x2addc6(0x610)]===_0x307efd[_0x2addc6(0x3ad)]['SUBMIT_CHANGESET']){this[_0x2addc6(0x547)](_0x4a2904,_0x5ac50c[_0x2addc6(0x530)])[_0x2addc6(0x5e3)](_0xbd9296=>{const _0x35514b=_0x2addc6;this['_logService'][_0x35514b(0x4dc)](_0xbd9296),_0x533075();});return;}if(_0x5ac50c[_0x2addc6(0x530)][_0x2addc6(0x610)]===_0x307efd[_0x2addc6(0x3ad)][_0x2addc6(0x330)]){const _0x407ac6=_0x5ac50c[_0x2addc6(0x530)];this[_0x2addc6(0x35a)](_0x407ac6)[_0x2addc6(0x579)](_0x422b8c=>{const _0x10136d=_0x2addc6;_0x1823a7[_0x10136d(0x594)]({'cmd':_0x47cd2a[_0x10136d(0x3f3)],'code':_0x3aa424['OK'],'routeKey':_0x407ac6[_0x10136d(0x530)][_0x10136d(0x4ef)],'routeType':'','data':{'eventID':_0x307efd[_0x10136d(0x3ad)][_0x10136d(0x325)],'data':{'changesets':_0x422b8c}}});})[_0x2addc6(0x5e3)](_0x31ede1=>{const _0x4f9cd0=_0x2addc6;this[_0x4f9cd0(0x4a0)][_0x4f9cd0(0x4dc)](_0x31ede1),_0x533075();});return;}}_0x590e7e[_0x2addc6(0x2ce)](_0x3c4839(_0x5ac50c));},'close':()=>{const _0x38785b=_0x27929e;_0x590e7e[_0x38785b(0x203)](),_0x24c49f[_0x38785b(0x217)]();}},_0x4a2904;}async['_submitChangeset'](_0x3e5657,_0x20b91c){const _0xf0e2e0=_0x3739fa;var _0x1a7da4,_0x432da5;const {unitType:_0x46ab49,unitID:_0x3e93d6,changeset:_0x5bd209}=_0x20b91c[_0xf0e2e0(0x530)],_0x5382cb={'unitID':_0x3e93d6,'memberID':_0x3e5657['memberID'],'type':_0x46ab49,'changeset':_0x307efd[_0xf0e2e0(0x299)](_0x5bd209)},_0x56acef=this['_configService'][_0xf0e2e0(0x556)](_0x5ab6e5),_0x6c835d=this['_configService'][_0xf0e2e0(0x556)](_0x4ff220),_0x11c977=_0x8e4082((_0x432da5=(_0x1a7da4=_0x6c835d==null?void 0x0:_0x6c835d[_0xf0e2e0(0x44f)])!=null?_0x1a7da4:_0x56acef)!=null?_0x432da5:_0x293e0d,_0x46ab49,_0x3e93d6);try{await this[_0xf0e2e0(0x662)]['post'](_0x11c977,{'body':_0x5382cb});}catch(_0x228922){throw this[_0xf0e2e0(0x4a0)][_0xf0e2e0(0x4dc)](_0xf0e2e0(0x611),_0xf0e2e0(0x483)),_0x228922;}}async[_0x3739fa(0x35a)](_0x10612a){const _0x2dac48=_0x3739fa,{unitID:_0x3f9748,from:_0x466fa1,to:_0x382d7a,unitType:_0x51ba38}=_0x10612a[_0x2dac48(0x530)];return(await this[_0x2dac48(0x54a)][_0x2dac48(0x58f)]({'metadata':void 0x0},{'unitID':_0x3f9748,'type':_0x51ba38,'from':_0x466fa1,'to':_0x382d7a}))['changesets'];}},_0x342316[_0x3739fa(0x405)]=_0x462d40([_0x208900(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x177724['HTTPService'])),_0x208900(0x1,_0x27458f[_0x3739fa(0x2bf)](_0x177724[_0x3739fa(0x5b1)])),_0x208900(0x2,_0x27458f['IConfigService']),_0x208900(0x3,_0x27458f[_0x3739fa(0x592)]),_0x208900(0x4,_0x307efd[_0x3739fa(0x222)])],_0x342316[_0x3739fa(0x405)]);const _0x3efcb6='collaboration_new_changeset';function _0x1098c7(_0x1d3882){return JSON['stringify'](_0x1d3882)['length'];}class _0x7574a7{constructor(){const _0x5092d0=_0x3739fa;_0x13ba75(this,_0x5092d0(0x1b3),new _0x19f426[(_0x5092d0(0x67c))]()),_0x13ba75(this,_0x5092d0(0x535),this[_0x5092d0(0x1b3)][_0x5092d0(0x2ba)]());}[_0x3739fa(0x1e4)](_0x31091f){const _0x431c6d=_0x3739fa;this[_0x431c6d(0x1b3)][_0x431c6d(0x594)](_0x31091f);}}var _0xd236be=Object[_0x3739fa(0x2c0)],_0x406e56=Object['getOwnPropertyDescriptor'],_0x3198ee=(_0x6e90c2,_0x149cf9,_0x8a84c8,_0x55864d)=>{const _0x385f08=_0x3739fa;for(var _0x40f3ad=_0x55864d>0x1?void 0x0:_0x55864d?_0x406e56(_0x149cf9,_0x8a84c8):_0x149cf9,_0x1fa7e9=_0x6e90c2[_0x385f08(0x477)]-0x1,_0x1fdb84;_0x1fa7e9>=0x0;_0x1fa7e9--)(_0x1fdb84=_0x6e90c2[_0x1fa7e9])&&(_0x40f3ad=(_0x55864d?_0x1fdb84(_0x149cf9,_0x8a84c8,_0x40f3ad):_0x1fdb84(_0x40f3ad))||_0x40f3ad);return _0x55864d&&_0x40f3ad&&_0xd236be(_0x149cf9,_0x8a84c8,_0x40f3ad),_0x40f3ad;},_0xb9fa04=(_0x596bbb,_0x2a80a7)=>(_0x2a9471,_0x5ed138)=>_0x2a80a7(_0x2a9471,_0x5ed138,_0x596bbb);_0x342316[_0x3739fa(0x4a6)]=class extends _0x27458f[_0x3739fa(0x5eb)]{constructor(_0x157d19,_0x3f87d2){const _0x353caf=_0x3739fa;super(),_0x13ba75(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x157d19,this[_0x353caf(0x339)]=_0x3f87d2,this[_0x353caf(0x324)](_0x27458f[_0x353caf(0x44a)](_0x19f426[_0x353caf(0x5a9)](this[_0x353caf(0x1f1)]['getTypeOfUnitDisposed$'](_0x27458f[_0x353caf(0x629)]['UNIVER_SHEET'])['pipe'](_0x23e740['map'](_0x7d6838=>_0x7d6838[_0x353caf(0x3d7)]())),this['_univerInstanceService'][_0x353caf(0x228)](_0x27458f[_0x353caf(0x629)][_0x353caf(0x4c3)])[_0x353caf(0x681)](_0x23e740[_0x353caf(0x312)](_0x16f845=>_0x16f845['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x27458f[_0x353caf(0x629)][_0x353caf(0x230)])[_0x353caf(0x681)](_0x23e740['map'](_0x160ddf=>_0x160ddf[_0x353caf(0x3d7)]())))['subscribe'](_0x30b6cf=>this[_0x353caf(0x44d)](_0x30b6cf)))));}['setCurrentUser'](_0x32c071){this['_userManagerService']['setCurrentUser'](_0x32c071);}[_0x3739fa(0x1db)](){return this['_userManagerService']['getCurrentUser']();}[_0x3739fa(0x2ed)](_0x132af4,_0x593d64){const _0x24768f=_0x3739fa;let _0x598554=this['_roomMembers'][_0x24768f(0x340)](_0x132af4);_0x598554||(_0x598554=new _0x1a8053(),this[_0x24768f(0x60f)]['set'](_0x132af4,_0x598554)),_0x598554[_0x24768f(0x2ed)](_0x593d64);}[_0x3739fa(0x4d6)](_0x533b3c,_0x1468ea){const _0x4094f5=_0x3739fa,_0x399fe4=this[_0x4094f5(0x60f)][_0x4094f5(0x340)](_0x533b3c);_0x399fe4&&_0x399fe4[_0x4094f5(0x4d6)](_0x1468ea);}[_0x3739fa(0x413)](_0x2d1e66){const _0x27a964=_0x3739fa;return this['_roomMembers'][_0x27a964(0x340)](_0x2d1e66);}[_0x3739fa(0x1c2)](_0x56b304,_0x325783){const _0x3d6fc2=_0x3739fa,_0x34d155=this[_0x3d6fc2(0x60f)][_0x3d6fc2(0x340)](_0x56b304);if(_0x34d155)return _0x34d155['getMember'](_0x325783);}[_0x3739fa(0x44d)](_0x35fb1f){const _0x1d310a=_0x3739fa,_0x23ddb5=this['_roomMembers'][_0x1d310a(0x340)](_0x35fb1f);_0x23ddb5&&(_0x23ddb5[_0x1d310a(0x217)](),this[_0x1d310a(0x60f)][_0x1d310a(0x660)](_0x35fb1f));}[_0x3739fa(0x217)](){const _0x3687e6=_0x3739fa;this[_0x3687e6(0x60f)]['forEach'](_0x5cf8e4=>_0x5cf8e4['dispose']()),this[_0x3687e6(0x60f)][_0x3687e6(0x3c9)]();}},_0x342316['MemberService']=_0x3198ee([_0xb9fa04(0x0,_0x27458f[_0x3739fa(0x2e8)]),_0xb9fa04(0x1,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x65a)]))],_0x342316[_0x3739fa(0x4a6)]);class _0x1a8053 extends _0x27458f[_0x3739fa(0x5eb)]{constructor(){const _0x3a787c=_0x3739fa;super(...arguments),_0x13ba75(this,_0x3a787c(0x2d2),new Map());}[_0x3739fa(0x217)](){const _0x23c085=_0x3739fa;this[_0x23c085(0x2d2)][_0x23c085(0x3c9)]();}[_0x3739fa(0x2ed)](_0x5db2ca){const _0x445a21=_0x3739fa;this['_members']['set'](_0x5db2ca[_0x445a21(0x264)],_0x5db2ca);}[_0x3739fa(0x4d6)](_0x367378){const _0x504a89=_0x3739fa;this[_0x504a89(0x2d2)][_0x504a89(0x660)](_0x367378);}[_0x3739fa(0x1c2)](_0x4fa1d1){const _0x2cd35c=_0x3739fa;return this[_0x2cd35c(0x2d2)][_0x2cd35c(0x340)](_0x4fa1d1);}[_0x3739fa(0x1fc)](){const _0xa7d057=_0x3739fa;return Array[_0xa7d057(0x4d2)](this[_0xa7d057(0x2d2)]['values']());}}var _0x7a1589=Object['defineProperty'],_0xb18c19=Object['getOwnPropertyDescriptor'],_0xc86be6=(_0x89c84,_0x539dca,_0x504b4b,_0x34e9b0)=>{const _0xccea07=_0x3739fa;for(var _0xb04b44=_0x34e9b0>0x1?void 0x0:_0x34e9b0?_0xb18c19(_0x539dca,_0x504b4b):_0x539dca,_0x4b992e=_0x89c84[_0xccea07(0x477)]-0x1,_0x526da6;_0x4b992e>=0x0;_0x4b992e--)(_0x526da6=_0x89c84[_0x4b992e])&&(_0xb04b44=(_0x34e9b0?_0x526da6(_0x539dca,_0x504b4b,_0xb04b44):_0x526da6(_0xb04b44))||_0xb04b44);return _0x34e9b0&&_0xb04b44&&_0x7a1589(_0x539dca,_0x504b4b,_0xb04b44),_0xb04b44;},_0x2a1cac=(_0x22574c,_0x24c984)=>(_0x1d294a,_0x82ffd6)=>_0x24c984(_0x1d294a,_0x82ffd6,_0x22574c),_0x45bbdd=(_0x2b3916=>(_0x2b3916[_0x2b3916[_0x3739fa(0x2e7)]=0x0]='IDLE',_0x2b3916[_0x2b3916['JOINING']=0x1]=_0x3739fa(0x25e),_0x2b3916[_0x2b3916[_0x3739fa(0x64a)]=0x2]='OFFLINE',_0x2b3916[_0x2b3916[_0x3739fa(0x2f9)]=0x3]=_0x3739fa(0x2f9),_0x2b3916))(_0x45bbdd||{});_0x342316['CollaborationSession']=class extends _0x27458f[_0x3739fa(0x304)]{constructor(_0x5b9356,_0x338e1d,_0x34dbe8,_0x533143,_0x5ce48c,_0x2846d8,_0x4dcc9e,_0x52a1b3,_0x1dca82,_0x277c0c){const _0x3a5a10=_0x3739fa;super(),_0x13ba75(this,_0x3a5a10(0x302),new _0x19f426[(_0x3a5a10(0x41b))](0x0)),_0x13ba75(this,_0x3a5a10(0x5dc),this[_0x3a5a10(0x302)][_0x3a5a10(0x2ba)]()),_0x13ba75(this,_0x3a5a10(0x2ff),new _0x19f426['Subject']()),_0x13ba75(this,_0x3a5a10(0x1f0),this[_0x3a5a10(0x2ff)][_0x3a5a10(0x2ba)]()),_0x13ba75(this,_0x3a5a10(0x5e1)),_0x13ba75(this,_0x3a5a10(0x36e)),_0x13ba75(this,_0x3a5a10(0x485)),_0x13ba75(this,_0x3a5a10(0x3b3),!0x1),_0x13ba75(this,_0x3a5a10(0x33d),null),(this[_0x3a5a10(0x3df)]=_0x5b9356,this['_logService']=_0x34dbe8,this[_0x3a5a10(0x644)]=_0x533143,this[_0x3a5a10(0x5e5)]=_0x5ce48c,this[_0x3a5a10(0x29e)]=_0x2846d8,this['_localeService']=_0x4dcc9e,this[_0x3a5a10(0x5ab)]=_0x52a1b3,this['_commentService']=_0x1dca82,this['_telemetryService']=_0x277c0c,this[_0x3a5a10(0x3b3)]=!!this[_0x3a5a10(0x1de)],_0x338e1d[_0x3a5a10(0x681)](_0x19f426[_0x3a5a10(0x41a)](this[_0x3a5a10(0x323)]))[_0x3a5a10(0x618)](_0x5d30ba=>{const _0x2a175b=_0x3a5a10;var _0x5a3fc1;typeof _0x5d30ba>'u'||(this[_0x2a175b(0x5e1)]=_0x5d30ba,_0x5d30ba?(this[_0x2a175b(0x488)](_0x5d30ba),this[_0x2a175b(0x36e)]=_0x5d30ba[_0x2a175b(0x551)]['subscribe'](_0x44ef6a=>{const _0x1c81dc=_0x2a175b;_0x44ef6a[_0x1c81dc(0x4af)]===this['_unitID']&&this[_0x1c81dc(0x59f)](_0x44ef6a);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2a175b(0x302)][_0x2a175b(0x594)](0x2),(_0x5a3fc1=this['_socketMessageSubscription'])==null||_0x5a3fc1[_0x2a175b(0x3a4)](),this[_0x2a175b(0x36e)]=null));}),this[_0x3a5a10(0x324)](this['_beforeCloseService'][_0x3a5a10(0x42e)](()=>{const _0x236f4b=_0x3a5a10;var _0x1b5f51;(_0x1b5f51=this[_0x236f4b(0x5e1)])==null||_0x1b5f51['send']({'cmd':_0x47cd2a[_0x236f4b(0x62f)],'data':{'roomID':this[_0x236f4b(0x3df)]}});})));}get[_0x3739fa(0x34f)](){const _0xfdf922=_0x3739fa;return this[_0xfdf922(0x302)][_0xfdf922(0x500)]();}[_0x3739fa(0x5fb)](){var _0x2465e0,_0x5725f1;return(_0x5725f1=(_0x2465e0=this['_socket'])==null?void 0x0:_0x2465e0['memberID'])!=null?_0x5725f1:null;}[_0x3739fa(0x217)](){const _0x4cb5bd=_0x3739fa;super[_0x4cb5bd(0x217)](),this[_0x4cb5bd(0x323)][_0x4cb5bd(0x594)](),this[_0x4cb5bd(0x323)][_0x4cb5bd(0x4e2)]();}[_0x3739fa(0x203)](){const _0x2c6053=_0x3739fa;var _0x192eb4,_0xb8fafc;this[_0x2c6053(0x557)](),(_0x192eb4=this['_socket'])==null||_0x192eb4[_0x2c6053(0x2ce)]({'cmd':_0x47cd2a['LEAVE'],'data':{'roomID':this[_0x2c6053(0x3df)]}}),(_0xb8fafc=this[_0x2c6053(0x5e1)])==null||_0xb8fafc[_0x2c6053(0x203)](),this[_0x2c6053(0x2ff)][_0x2c6053(0x4e2)](),this[_0x2c6053(0x302)][_0x2c6053(0x4e2)](),this[_0x2c6053(0x217)]();}[_0x3739fa(0x59f)](_0x4e73ca){const _0x4538bb=_0x3739fa;_0x4e73ca[_0x4538bb(0x1ff)]===_0x47cd2a[_0x4538bb(0x44c)]?this['_onJoinRoomEvent'](_0x4e73ca):_0x4e73ca[_0x4538bb(0x1ff)]===_0x47cd2a['RECV']&&this['_onRecvEvent'](_0x4e73ca);}[_0x3739fa(0x488)](_0x18c967){const _0x3f2556=_0x3739fa;this[_0x3f2556(0x302)]['next'](0x1),_0x18c967['send']({'cmd':_0x47cd2a[_0x3f2556(0x44c)],'routeKey':this[_0x3f2556(0x3df)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3f2556(0x3df)]}]}});}['_onJoinRoomEvent'](_0x215946){const _0x12477c=_0x3739fa;var _0x4345ad;if(_0x215946[_0x12477c(0x28c)]===_0x3aa424[_0x12477c(0x362)]){this[_0x12477c(0x5e5)]['show']({'type':_0x1fd227[_0x12477c(0x5a3)]['Warning'],'content':this[_0x12477c(0x269)]['t'](_0x12477c(0x36d))}),this['_sessionStatus$'][_0x12477c(0x594)](0x2);return;}this[_0x12477c(0x302)][_0x12477c(0x594)](0x3);const _0x3f6fc0=(_0x4345ad=_0x215946[_0x12477c(0x530)][_0x12477c(0x20d)][this['_unitID']])==null?void 0x0:_0x4345ad[_0x12477c(0x627)];_0x3f6fc0&&_0x3f6fc0[_0x12477c(0x5a5)](_0x2552d8=>this['_memberService'][_0x12477c(0x2ed)](this[_0x12477c(0x3df)],_0x2552d8));}[_0x3739fa(0x47e)](_0x170eba){const _0x12dd31=_0x3739fa;try{const _0x5667e2=_0x170eba[_0x12dd31(0x530)];switch(_0x5667e2[_0x12dd31(0x610)]){case _0x307efd[_0x12dd31(0x3ad)][_0x12dd31(0x418)]:this['_onUserJoin'](_0x5667e2),this[_0x12dd31(0x2ff)][_0x12dd31(0x594)](_0x5667e2);break;case _0x307efd[_0x12dd31(0x3ad)]['USERS_LEAVE']:this[_0x12dd31(0x529)](_0x5667e2),this['_event$'][_0x12dd31(0x594)](_0x5667e2);break;case _0x307efd['CollaborationEvent'][_0x12dd31(0x1be)]:case _0x307efd['CollaborationEvent'][_0x12dd31(0x3bb)]:this[_0x12dd31(0x61e)](),this[_0x12dd31(0x26c)](),this['_event$'][_0x12dd31(0x594)](_0x5667e2);break;case _0x307efd[_0x12dd31(0x3ad)][_0x12dd31(0x5d2)]:this[_0x12dd31(0x4a0)][_0x12dd31(0x4dc)](_0x12dd31(0x402)+JSON['stringify'](_0x5667e2)),this[_0x12dd31(0x2ff)][_0x12dd31(0x594)](_0x5667e2);break;case _0x307efd[_0x12dd31(0x3ad)]['COMMENT_UPDATE']:this[_0x12dd31(0x343)][_0x12dd31(0x1e4)](_0x5667e2[_0x12dd31(0x530)]),this[_0x12dd31(0x2ff)][_0x12dd31(0x594)](_0x5667e2);break;default:this[_0x12dd31(0x2ff)][_0x12dd31(0x594)](_0x5667e2);}}catch(_0xaffe1b){this[_0x12dd31(0x4a0)]['error'](_0xaffe1b,_0x170eba);}}[_0x3739fa(0x516)](_0xa18b95){const _0x16abaa=_0x3739fa;this[_0x16abaa(0x5ab)][_0x16abaa(0x2ed)](this[_0x16abaa(0x3df)],_0xa18b95[_0x16abaa(0x530)]);}[_0x3739fa(0x529)](_0x2b7dde){const _0x280ac3=_0x3739fa;this[_0x280ac3(0x5ab)][_0x280ac3(0x4d6)](this[_0x280ac3(0x3df)],_0x2b7dde['data'][_0x280ac3(0x264)]);}async[_0x3739fa(0x2ce)](_0x3c1d57,_0x51722a){const _0x35d53f=_0x3739fa;if(this[_0x35d53f(0x34f)]!==0x3||!this[_0x35d53f(0x5e1)])throw new Error(_0x35d53f(0x2d0));try{_0x3c1d57[_0x35d53f(0x610)]===_0x307efd[_0x35d53f(0x3ad)][_0x35d53f(0x461)]&&(this[_0x35d53f(0x40b)](),this['_startTelemetryCollaborationNewChangeset'](_0x3c1d57)),this[_0x35d53f(0x5e1)][_0x35d53f(0x2ce)]({'cmd':_0x47cd2a[_0x35d53f(0x59b)],'routeKey':_0x51722a,'routeType':'','data':_0x3c1d57});}catch(_0x161a08){this[_0x35d53f(0x4a0)][_0x35d53f(0x4dc)](_0x161a08);}}[_0x3739fa(0x40b)](){const _0x264a0e=_0x3739fa;var _0x471147;this[_0x264a0e(0x485)]=window[_0x264a0e(0x3c1)](()=>{const _0x918886=_0x264a0e;this['_collaborationTimeoutTimer']=null,this['_messageService']['show']({'type':_0x1fd227[_0x918886(0x5a3)][_0x918886(0x66f)],'content':this['_localeService']['t'](_0x918886(0x298))});},(_0x471147=this['_configService']['getConfig'](_0x5e4bac))!=null?_0x471147:0x4e20);}[_0x3739fa(0x26c)](){const _0x1d4ad7=_0x3739fa;this[_0x1d4ad7(0x485)]&&(clearTimeout(this[_0x1d4ad7(0x485)]),this[_0x1d4ad7(0x485)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5b64b1){const _0x45ccf7=_0x3739fa;if(!this[_0x45ccf7(0x3b3)])return;const {data:_0x15e4de}=_0x5b64b1,{unitID:_0x27668d,changeset:_0x3d2607}=_0x15e4de,{mutations:_0x56cec9,type:_0x46ca7f}=_0x3d2607;this[_0x45ccf7(0x33d)]={'unitId':_0x27668d,'type':_0x46ca7f,'startTime':performance[_0x45ccf7(0x1dc)](),'stopTime':0x0,'duration':0x0,'size':_0x1098c7(_0x56cec9)};}[_0x3739fa(0x61e)](){const _0x12dad4=_0x3739fa;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x12dad4(0x4a0)][_0x12dad4(0x4dc)](_0x12dad4(0x611),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x12dad4(0x1dc)](),this[_0x12dad4(0x33d)][_0x12dad4(0x421)]=this[_0x12dad4(0x33d)][_0x12dad4(0x1c5)]-this['_telemetryInfo'][_0x12dad4(0x235)],this[_0x12dad4(0x1de)][_0x12dad4(0x3ab)](_0x3efcb6,this['_telemetryInfo']),this[_0x12dad4(0x33d)]=null;}}[_0x3739fa(0x557)](){const _0x1c62f2=_0x3739fa;this[_0x1c62f2(0x33d)]=null;}},_0x342316[_0x3739fa(0x56e)]=_0xc86be6([_0x2a1cac(0x2,_0x27458f[_0x3739fa(0x592)]),_0x2a1cac(0x3,_0x299d72['IBeforeCloseService']),_0x2a1cac(0x4,_0x299d72['IMessageService']),_0x2a1cac(0x5,_0x27458f['IConfigService']),_0x2a1cac(0x6,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x4f3)])),_0x2a1cac(0x7,_0x27458f[_0x3739fa(0x2bf)](_0x342316['MemberService'])),_0x2a1cac(0x8,_0x27458f[_0x3739fa(0x2bf)](_0x7574a7)),_0x2a1cac(0x9,_0x27458f['Optional'](_0x4b439d[_0x3739fa(0x3a7)]))],_0x342316[_0x3739fa(0x56e)]);var _0x2f09a1=Object['defineProperty'],_0x32fbd3=Object['getOwnPropertyDescriptor'],_0x13f152=(_0x391118,_0x2644a0,_0x3b4be2,_0x307849)=>{const _0x27389a=_0x3739fa;for(var _0x140886=_0x307849>0x1?void 0x0:_0x307849?_0x32fbd3(_0x2644a0,_0x3b4be2):_0x2644a0,_0x2582d8=_0x391118[_0x27389a(0x477)]-0x1,_0x33a07d;_0x2582d8>=0x0;_0x2582d8--)(_0x33a07d=_0x391118[_0x2582d8])&&(_0x140886=(_0x307849?_0x33a07d(_0x2644a0,_0x3b4be2,_0x140886):_0x33a07d(_0x140886))||_0x140886);return _0x307849&&_0x140886&&_0x2f09a1(_0x2644a0,_0x3b4be2,_0x140886),_0x140886;},_0x5394a2=(_0x39c6c9,_0x6789aa)=>(_0x5603f1,_0x49b162)=>_0x6789aa(_0x5603f1,_0x49b162,_0x39c6c9);_0x342316[_0x3739fa(0x2d1)]=class extends _0x27458f[_0x3739fa(0x5eb)]{constructor(_0x9b6c74,_0x8d0fbf,_0x162470,_0x154998,_0x42488c,_0x540848,_0x2b037f){const _0x3015d5=_0x3739fa;super(),_0x13ba75(this,_0x3015d5(0x666),new _0x19f426['BehaviorSubject'](void 0x0)),_0x13ba75(this,_0x3015d5(0x232),this[_0x3015d5(0x666)][_0x3015d5(0x2ba)]()),_0x13ba75(this,_0x3015d5(0x46d),null),_0x13ba75(this,_0x3015d5(0x480),new Map()),_0x13ba75(this,'_status$',new _0x19f426[(_0x3015d5(0x41b))](_0x45bbdd[_0x3015d5(0x2e7)])),_0x13ba75(this,_0x3015d5(0x1d9),this['_status$'][_0x3015d5(0x2ba)]()),_0x13ba75(this,_0x3015d5(0x1d0),!0x1),_0x13ba75(this,'_retryConnectingTimer'),_0x13ba75(this,'_retryCount',0x0),_0x13ba75(this,_0x3015d5(0x2ee)),_0x13ba75(this,_0x3015d5(0x29f)),(this[_0x3015d5(0x3e2)]=_0x9b6c74,this['_localeService']=_0x8d0fbf,this[_0x3015d5(0x5e5)]=_0x162470,this[_0x3015d5(0x4a0)]=_0x154998,this[_0x3015d5(0x29e)]=_0x42488c,this[_0x3015d5(0x224)]=_0x540848,this[_0x3015d5(0x286)]=_0x2b037f,this[_0x3015d5(0x4fb)]());}get[_0x3739fa(0x5e1)](){return this['_socket$']['getValue']();}[_0x3739fa(0x4fb)](){const _0x1fdbc6=_0x3739fa;this[_0x1fdbc6(0x505)](),this[_0x1fdbc6(0x33c)]();}[_0x3739fa(0x217)](){const _0x33b344=_0x3739fa;super[_0x33b344(0x217)](),this[_0x33b344(0x480)][_0x33b344(0x5a5)](_0x29f9bc=>_0x29f9bc[_0x33b344(0x217)]()),this['_sessions'][_0x33b344(0x3c9)](),this[_0x33b344(0x20b)]['complete']();}async[_0x3739fa(0x4db)](_0x1215ba){const _0x31d8a=_0x3739fa;if(this[_0x31d8a(0x480)][_0x31d8a(0x3f9)](_0x1215ba))return this['_sessions']['get'](_0x1215ba);this[_0x31d8a(0x4ec)]();const _0x375848=this[_0x31d8a(0x3e2)][_0x31d8a(0x21c)](_0x342316['CollaborationSession'],_0x1215ba,this[_0x31d8a(0x666)][_0x31d8a(0x2ba)]());return this[_0x31d8a(0x480)][_0x31d8a(0x1f5)](_0x1215ba,_0x375848),_0x375848;}[_0x3739fa(0x257)](_0x2c6644){const _0xa5b3bb=_0x3739fa;var _0xbe0ec8;const _0x1bd11e=this['_sessions'][_0xa5b3bb(0x340)](_0x2c6644);_0x1bd11e&&(this[_0xa5b3bb(0x480)][_0xa5b3bb(0x660)](_0x2c6644),_0x1bd11e[_0xa5b3bb(0x203)]()),this[_0xa5b3bb(0x480)][_0xa5b3bb(0x4c9)]||(_0xbe0ec8=this[_0xa5b3bb(0x5e1)])==null||_0xbe0ec8['close']();}['reconnect'](){const _0x6520e5=_0x3739fa;this[_0x6520e5(0x3f4)]=0x0,this[_0x6520e5(0x278)]!=null&&(clearTimeout(this[_0x6520e5(0x278)]),this[_0x6520e5(0x278)]=null),this[_0x6520e5(0x60d)]();}async[_0x3739fa(0x417)](){const _0x2a1185=_0x3739fa;var _0x53bbc5,_0x4b24ed,_0x5da838;const _0x1c364d=this[_0x2a1185(0x29e)][_0x2a1185(0x556)](_0x4ff220),_0x1d84ce=(_0x53bbc5=_0x1c364d==null?void 0x0:_0x1c364d[_0x2a1185(0x5cd)])!=null?_0x53bbc5:_0x105c62;return(_0x5da838=(_0x4b24ed=(await this[_0x2a1185(0x286)][_0x2a1185(0x340)](_0x1d84ce,{'headers':{'Content-Type':_0x2a1185(0x663)}}))[_0x2a1185(0x3fa)])==null?void 0x0:_0x4b24ed['ticket'])!=null?_0x5da838:'';}[_0x3739fa(0x62c)](_0x47dfe0){const _0x24cc2c=_0x3739fa;var _0x7d46f2,_0x5d876c;const _0x2fc98a=this[_0x24cc2c(0x29e)]['getConfig'](_0x3180bc),_0x537f5c=this[_0x24cc2c(0x29e)][_0x24cc2c(0x556)](_0x4ff220),_0xb3ca08=(_0x5d876c=(_0x7d46f2=_0x537f5c==null?void 0x0:_0x537f5c[_0x24cc2c(0x43d)])!=null?_0x7d46f2:_0x2fc98a)!=null?_0x5d876c:_0x196ca2,_0x21b772=new URL(_0xb3ca08,window[_0x24cc2c(0x2af)][_0x24cc2c(0x61f)]);return _0x21b772['searchParams'][_0x24cc2c(0x1f5)](_0x24cc2c(0x2e6),_0x47dfe0),_0x21b772[_0x24cc2c(0x315)]();}async[_0x3739fa(0x213)](){const _0x2822c3=_0x3739fa,_0x5cb3bc=await this[_0x2822c3(0x417)](),_0x36269e=this[_0x2822c3(0x62c)](_0x5cb3bc),_0x304359=this[_0x2822c3(0x224)][_0x2822c3(0x2bd)](_0x36269e);return this[_0x2822c3(0x46d)]=_0x304359,_0x304359;}async[_0x3739fa(0x4ec)](){const _0x2dd52c=_0x3739fa;var _0x577883,_0x24baa8;try{const _0x1a2612=(_0x24baa8=(_0x577883=this[_0x2dd52c(0x5e1)])!=null?_0x577883:this[_0x2dd52c(0x46d)])!=null?_0x24baa8:await this[_0x2dd52c(0x213)]();if(_0x1a2612){const _0x4d1962=_0x1a2612['send'];_0x1a2612[_0x2dd52c(0x2ce)]=_0x874f4c=>(this[_0x2dd52c(0x2e3)](),_0x4d1962[_0x2dd52c(0x3e7)](_0x1a2612,[_0x874f4c])),_0x1a2612[_0x2dd52c(0x551)][_0x2dd52c(0x618)](_0x360d1f=>this[_0x2dd52c(0x1b8)](_0x1a2612,_0x360d1f)),_0x1a2612['error$']['pipe'](_0x23e740[_0x2dd52c(0x291)](0x1))['subscribe'](_0x5881e1=>this['_logService']['error'](_0x2dd52c(0x563),_0x5881e1)),_0x1a2612[_0x2dd52c(0x451)][_0x2dd52c(0x681)](_0x23e740['take'](0x1))[_0x2dd52c(0x618)](()=>{const _0x20e4dd=_0x2dd52c;this[_0x20e4dd(0x642)](_0x1a2612);}),_0x1a2612['close$']['pipe'](_0x23e740[_0x2dd52c(0x291)](0x1))[_0x2dd52c(0x618)](_0x2a5ea8=>{const _0x2d26b6=_0x2dd52c;this[_0x2d26b6(0x4a0)][_0x2d26b6(0x204)](_0x2d26b6(0x354),_0x2d26b6(0x5fe),_0x2a5ea8),this[_0x2d26b6(0x67b)]();});}}catch(_0x5d7c36){this['_logService'][_0x2dd52c(0x4dc)](_0x5d7c36),this[_0x2dd52c(0x67b)]();}}[_0x3739fa(0x642)](_0x258804){const _0x5f2db4=_0x3739fa;this[_0x5f2db4(0x4a0)]['debug'](_0x5f2db4(0x354),_0x5f2db4(0x5d6)),_0x258804[_0x5f2db4(0x2ce)]({'cmd':_0x47cd2a['HELLO']}),this[_0x5f2db4(0x2e3)]();}[_0x3739fa(0x505)](){const _0x23d9c8=_0x3739fa;window[_0x23d9c8(0x60e)](_0x23d9c8(0x309),()=>this[_0x23d9c8(0x27d)]());}[_0x3739fa(0x27d)](){const _0x16b7d8=_0x3739fa;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x16b7d8(0x594)](_0x45bbdd[_0x16b7d8(0x64a)]),this[_0x16b7d8(0x666)]['next'](null),this[_0x16b7d8(0x623)](),this['_clearHeartbeatTimer']();}[_0x3739fa(0x67b)](){const _0x31de58=_0x3739fa;var _0x439006;this['_onOffline'](),this[_0x31de58(0x3f4)]<((_0x439006=this[_0x31de58(0x29e)][_0x31de58(0x556)](_0x4021af))!=null?_0x439006:0x3)?(this[_0x31de58(0x5e5)][_0x31de58(0x1f7)]({'key':_0x31de58(0x2b4),'type':_0x1fd227[_0x31de58(0x5a3)][_0x31de58(0x412)],'content':this[_0x31de58(0x269)]['t']('session.will-retry')}),this[_0x31de58(0x60d)]()):this[_0x31de58(0x5e5)]['show']({'key':_0x31de58(0x2b4),'type':_0x1fd227[_0x31de58(0x5a3)][_0x31de58(0x66f)],'content':this[_0x31de58(0x269)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x27ffd2=_0x3739fa,_0x5a4aa7=()=>{const _0x167be1=_0x2e6a;this[_0x167be1(0x5e1)]||this[_0x167be1(0x4d7)]();},_0x466ab1=()=>{const _0x42b18e=_0x2e6a;this['_socket']||document[_0x42b18e(0x253)]==='hidden'||this[_0x42b18e(0x4d7)]();};window[_0x27ffd2(0x60e)](_0x27ffd2(0x40a),_0x5a4aa7),document[_0x27ffd2(0x60e)]('visibilitychange',_0x466ab1);}['_tryReconnect'](){const _0x1a9b38=_0x3739fa;var _0x34b428;const _0x4ddf4c=this[_0x1a9b38(0x3f4)],_0x32e46e=this[_0x1a9b38(0x29e)]['getConfig'](_0x4ff220),_0x2c37de=_0x4ddf4c===0x0?0x0:((_0x34b428=_0x32e46e==null?void 0x0:_0x32e46e['retryConnectingInterval'])!=null?_0x34b428:0x4e20)*0x2**_0x4ddf4c;this[_0x1a9b38(0x278)]=window[_0x1a9b38(0x3c1)](()=>{const _0x497e1a=_0x1a9b38;clearTimeout(this[_0x497e1a(0x278)]),this[_0x497e1a(0x278)]=null,this[_0x497e1a(0x4ec)]();},_0x2c37de),this[_0x1a9b38(0x3f4)]+=0x1;}[_0x3739fa(0x1b8)](_0x2685e2,_0xf4cf7e){const _0x2673e9=_0x3739fa,{cmd:_0x37daf4}=_0xf4cf7e;_0x37daf4===_0x47cd2a[_0x2673e9(0x55f)]&&!this[_0x2673e9(0x1d0)]&&(_0x2685e2[_0x2673e9(0x264)]=_0xf4cf7e[_0x2673e9(0x530)][_0x2673e9(0x264)],this[_0x2673e9(0x666)][_0x2673e9(0x594)](_0x2685e2),this[_0x2673e9(0x20b)][_0x2673e9(0x594)](_0x45bbdd[_0x2673e9(0x2f9)]),this['_socketReady']=!0x0,this[_0x2673e9(0x46d)]=null),_0x37daf4===_0x47cd2a[_0x2673e9(0x48e)]&&this['_clearTimeoutTimer'](),this[_0x2673e9(0x2e3)]();}[_0x3739fa(0x2e3)](){const _0x9b0ee3=_0x3739fa;var _0x392b64;this[_0x9b0ee3(0x205)](),this[_0x9b0ee3(0x2ee)]=window[_0x9b0ee3(0x3c1)](()=>this[_0x9b0ee3(0x4f6)](),(_0x392b64=this[_0x9b0ee3(0x29e)][_0x9b0ee3(0x556)](_0x4440ff))!=null?_0x392b64:0x7530);}[_0x3739fa(0x4f6)](){const _0x4a756f=_0x3739fa;this[_0x4a756f(0x5e1)]['send']({'cmd':_0x47cd2a[_0x4a756f(0x48e)]}),this[_0x4a756f(0x345)]();}['_waitForHeartbeatResponse'](){const _0x2cce96=_0x3739fa;var _0xc3a1d3;this[_0x2cce96(0x29f)]=window[_0x2cce96(0x3c1)](()=>this['_onConnectionFailed'](),(_0xc3a1d3=this[_0x2cce96(0x29e)][_0x2cce96(0x556)](_0x5e4bac))!=null?_0xc3a1d3:0x4e20);}[_0x3739fa(0x205)](){const _0x4fcd71=_0x3739fa;this[_0x4fcd71(0x2ee)]!=null&&(clearTimeout(this[_0x4fcd71(0x2ee)]),this['_sendHeartbeatTimer']=null);}[_0x3739fa(0x623)](){const _0x22e9d6=_0x3739fa;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x22e9d6(0x29f)]),this['_timeoutTimer']=null);}},_0x342316['CollaborationSessionService']=_0x13f152([_0x5394a2(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x27458f['Injector'])),_0x5394a2(0x1,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x4f3)])),_0x5394a2(0x2,_0x299d72[_0x3739fa(0x28b)]),_0x5394a2(0x3,_0x27458f[_0x3739fa(0x592)]),_0x5394a2(0x4,_0x27458f[_0x3739fa(0x628)]),_0x5394a2(0x5,_0x23f441),_0x5394a2(0x6,_0x27458f[_0x3739fa(0x2bf)](_0x177724[_0x3739fa(0x333)]))],_0x342316[_0x3739fa(0x2d1)]);const _0x190c20=[];for(let _0x4aaac9=0x0;_0x4aaac9<0x100;++_0x4aaac9)_0x190c20[_0x3739fa(0x5c6)]((_0x4aaac9+0x100)[_0x3739fa(0x315)](0x10)[_0x3739fa(0x4bd)](0x1));function _0x5da1e3(_0x439ff2,_0x3f699f=0x0){const _0x4bc1d9=_0x3739fa;return(_0x190c20[_0x439ff2[_0x3f699f+0x0]]+_0x190c20[_0x439ff2[_0x3f699f+0x1]]+_0x190c20[_0x439ff2[_0x3f699f+0x2]]+_0x190c20[_0x439ff2[_0x3f699f+0x3]]+'-'+_0x190c20[_0x439ff2[_0x3f699f+0x4]]+_0x190c20[_0x439ff2[_0x3f699f+0x5]]+'-'+_0x190c20[_0x439ff2[_0x3f699f+0x6]]+_0x190c20[_0x439ff2[_0x3f699f+0x7]]+'-'+_0x190c20[_0x439ff2[_0x3f699f+0x8]]+_0x190c20[_0x439ff2[_0x3f699f+0x9]]+'-'+_0x190c20[_0x439ff2[_0x3f699f+0xa]]+_0x190c20[_0x439ff2[_0x3f699f+0xb]]+_0x190c20[_0x439ff2[_0x3f699f+0xc]]+_0x190c20[_0x439ff2[_0x3f699f+0xd]]+_0x190c20[_0x439ff2[_0x3f699f+0xe]]+_0x190c20[_0x439ff2[_0x3f699f+0xf]])[_0x4bc1d9(0x502)]();}let _0x1210ec;const _0x22acfe=new Uint8Array(0x10);function _0x4bfd83(){const _0x45a931=_0x3739fa;if(!_0x1210ec){if(typeof crypto>'u'||!crypto[_0x45a931(0x31d)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x1210ec=crypto[_0x45a931(0x31d)][_0x45a931(0x34b)](crypto);}return _0x1210ec(_0x22acfe);}const _0x59cef1={'randomUUID':typeof crypto<'u'&&crypto[_0x3739fa(0x581)]&&crypto[_0x3739fa(0x581)][_0x3739fa(0x34b)](crypto)};function _0x195e1e(_0x283dad,_0x22f433,_0x50ce7e){const _0x3171be=_0x3739fa;if(_0x59cef1[_0x3171be(0x581)]&&!_0x22f433&&!_0x283dad)return _0x59cef1['randomUUID']();_0x283dad=_0x283dad||{};const _0xef6cca=_0x283dad['random']||(_0x283dad[_0x3171be(0x441)]||_0x4bfd83)();return _0xef6cca[0x6]=_0xef6cca[0x6]&0xf|0x40,_0xef6cca[0x8]=_0xef6cca[0x8]&0x3f|0x80,_0x5da1e3(_0xef6cca);}var _0x266c00=Object[_0x3739fa(0x2c0)],_0x224335=Object[_0x3739fa(0x4e4)],_0x41e762=(_0x468f51,_0x212c03,_0x420a31,_0x19fa59)=>{const _0x1950ed=_0x3739fa;for(var _0x488841=_0x19fa59>0x1?void 0x0:_0x19fa59?_0x224335(_0x212c03,_0x420a31):_0x212c03,_0x272256=_0x468f51[_0x1950ed(0x477)]-0x1,_0x1eeea9;_0x272256>=0x0;_0x272256--)(_0x1eeea9=_0x468f51[_0x272256])&&(_0x488841=(_0x19fa59?_0x1eeea9(_0x212c03,_0x420a31,_0x488841):_0x1eeea9(_0x488841))||_0x488841);return _0x19fa59&&_0x488841&&_0x266c00(_0x212c03,_0x420a31,_0x488841),_0x488841;},_0x3bd1b8=(_0x56a503,_0x2ee0ec)=>(_0x1a55e9,_0x1b7204)=>_0x2ee0ec(_0x1a55e9,_0x1b7204,_0x56a503);let _0x2541de=class{constructor(_0x5353fa,_0x470ac1,_0x4e12de){const _0x2f9687=_0x3739fa;this['_injector']=_0x5353fa,this[_0x2f9687(0x63d)]=_0x470ac1,this['_renderManagerService']=_0x4e12de;}[_0x3739fa(0x422)](_0x5a1be5){const _0x725fcd=_0x3739fa;this[_0x725fcd(0x53c)](_0x5a1be5),this[_0x725fcd(0x35b)](_0x5a1be5);}[_0x3739fa(0x564)](_0x4c65de){const _0x54e171=_0x3739fa,{unitID:_0x24de65}=_0x4c65de,_0x275122=this['_renderManagerService'][_0x54e171(0x669)](_0x24de65)['with'](_0x42c347[_0x54e171(0x247)]),{redoCache:_0x20d87c}=_0x275122[_0x54e171(0x50c)]();if(_0x20d87c['length']===0x0)return _0x4c65de;let _0xa50825=_0x27458f[_0x54e171(0x560)]['deepClone'](_0x4c65de[_0x54e171(0x5ac)][0x0]);for(let _0x2955df=0x0;_0x2955df<_0x20d87c['length'];_0x2955df++){const _0x27d3db={'id':'doc.mutation.rich-text-editing','params':{..._0x20d87c[_0x2955df]}},_0x4caf6a=this['_transformService']['transformMutation'](_0xa50825,_0x27d3db,!0x1);if(_0x307efd[_0x54e171(0x534)](_0x4caf6a))throw _0x4caf6a[_0x54e171(0x4dc)];_0xa50825=_0x4caf6a[_0x54e171(0x3b1)];}return{..._0x27458f['Tools'][_0x54e171(0x226)](_0x4c65de),'mutations':[_0xa50825]};}[_0x3739fa(0x53c)](_0x55ac66){const _0x1b7e36=_0x3739fa,{unitID:_0x481ad9}=_0x55ac66,_0x198fb7=this['_renderManagerService'][_0x1b7e36(0x669)](_0x481ad9)[_0x1b7e36(0x388)](_0x42c347[_0x1b7e36(0x247)]),{undoCache:_0x2f051f,redoCache:_0x25af73}=_0x198fb7[_0x1b7e36(0x50c)]();if(_0x2f051f[_0x1b7e36(0x477)]===0x0||_0x25af73[_0x1b7e36(0x477)]===0x0)return;const _0x1ff255=[],_0x3e3d58=[];let _0x296883=_0x27458f[_0x1b7e36(0x560)][_0x1b7e36(0x226)](_0x55ac66[_0x1b7e36(0x5ac)][0x0]),_0x18db14=_0x27458f[_0x1b7e36(0x560)][_0x1b7e36(0x226)](_0x55ac66['mutations'][0x0]);for(let _0x2fbc27=_0x2f051f[_0x1b7e36(0x477)]-0x1;_0x2fbc27>=0x0;_0x2fbc27--){const _0x45c619={'id':_0x1b7e36(0x5aa),'params':{..._0x2f051f[_0x2fbc27]}},_0x242ad7={'id':_0x1b7e36(0x5aa),'params':{..._0x25af73[_0x2fbc27]}},_0x301b71=this[_0x1b7e36(0x63d)][_0x1b7e36(0x39a)](_0x296883,_0x45c619,!0x1),_0x44892e=this[_0x1b7e36(0x63d)]['transformMutation'](_0x18db14,_0x242ad7,!0x1);if(_0x307efd[_0x1b7e36(0x534)](_0x301b71))throw _0x301b71['error'];if(_0x307efd[_0x1b7e36(0x534)](_0x44892e))throw _0x44892e[_0x1b7e36(0x4dc)];_0x1ff255[_0x1b7e36(0x3c0)](_0x301b71[_0x1b7e36(0x491)][_0x1b7e36(0x538)]),_0x3e3d58[_0x1b7e36(0x3c0)](_0x44892e[_0x1b7e36(0x491)]['params']),_0x296883=_0x301b71[_0x1b7e36(0x3b1)],_0x18db14=_0x44892e[_0x1b7e36(0x3b1)];}_0x198fb7[_0x1b7e36(0x57c)]({'undoCache':_0x1ff255,'redoCache':_0x3e3d58});}[_0x3739fa(0x35b)](_0x41d4e0){const _0x13427f=_0x3739fa,{unitID:_0x316aba}=_0x41d4e0,_0x1fe3e4=this[_0x13427f(0x601)][_0x13427f(0x669)](_0x316aba)[_0x13427f(0x388)](_0x42c347[_0x13427f(0x247)]),_0x489030=_0x1fe3e4[_0x13427f(0x1df)]();if(_0x489030==null)return;const _0x2e51c5=[{'id':_0x13427f(0x5aa),'params':{'unitId':_0x41d4e0[_0x13427f(0x4ef)],'actions':null,'textRanges':[_0x489030]}}],_0x106743=this[_0x13427f(0x63d)][_0x13427f(0x542)](_0x41d4e0,_0x2e51c5);if(!_0x307efd[_0x13427f(0x38e)](_0x106743))throw _0x106743[_0x13427f(0x4dc)];const _0x30ac19=_0x106743[_0x13427f(0x491)][0x0]['params']['textRanges'];Array[_0x13427f(0x57d)](_0x30ac19)&&_0x30ac19['length']&&_0x1fe3e4['setActiveRange'](_0x30ac19[0x0]);}};_0x2541de=_0x41e762([_0x3bd1b8(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x27458f['Injector'])),_0x3bd1b8(0x1,_0x307efd['ITransformService']),_0x3bd1b8(0x2,_0x4cb377[_0x3739fa(0x2dd)])],_0x2541de);var _0x5e1f63=Object['defineProperty'],_0x2e3c9a=Object[_0x3739fa(0x4e4)],_0x24e3b8=(_0x5b8edf,_0x5df9c8,_0x2514b0,_0x4455c0)=>{const _0x19acb1=_0x3739fa;for(var _0x34af8e=_0x4455c0>0x1?void 0x0:_0x4455c0?_0x2e3c9a(_0x5df9c8,_0x2514b0):_0x5df9c8,_0x33127c=_0x5b8edf[_0x19acb1(0x477)]-0x1,_0xedd4c7;_0x33127c>=0x0;_0x33127c--)(_0xedd4c7=_0x5b8edf[_0x33127c])&&(_0x34af8e=(_0x4455c0?_0xedd4c7(_0x5df9c8,_0x2514b0,_0x34af8e):_0xedd4c7(_0x34af8e))||_0x34af8e);return _0x4455c0&&_0x34af8e&&_0x5e1f63(_0x5df9c8,_0x2514b0,_0x34af8e),_0x34af8e;},_0x26790b=(_0x41346a,_0x390788)=>(_0x50c9e7,_0x1332e0)=>_0x390788(_0x50c9e7,_0x1332e0,_0x41346a);_0x342316[_0x3739fa(0x1b4)]=class extends _0x27458f[_0x3739fa(0x5eb)]{constructor(_0x1a70ce,_0x3f44c0,_0x1449f2,_0x4d9f25,_0x1e6359){const _0x5e3904=_0x3739fa;super(),_0x13ba75(this,_0x5e3904(0x2da),new Map()),_0x13ba75(this,_0x5e3904(0x31c),new Map()),_0x13ba75(this,_0x5e3904(0x3bc),!0x1),(this[_0x5e3904(0x29e)]=_0x1a70ce,this[_0x5e3904(0x22b)]=_0x3f44c0,this[_0x5e3904(0x644)]=_0x1449f2,this[_0x5e3904(0x269)]=_0x4d9f25,this['_revisionService']=_0x1e6359,this[_0x5e3904(0x285)]());}[_0x3739fa(0x37b)](){const _0x126ccb=_0x3739fa;this[_0x126ccb(0x3bc)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x3739fa(0x217)](){const _0x5e1dce=_0x3739fa;this[_0x5e1dce(0x25d)]()[_0x5e1dce(0x579)](()=>super['dispose']());}async[_0x3739fa(0x566)](_0x3facad){const _0x5ba4f4=_0x3739fa;return this[_0x5ba4f4(0x3bc)]?null:this[_0x5ba4f4(0x22b)][_0x5ba4f4(0x249)](_0x1575d6(_0x3facad));}async['saveOfflineData'](_0x30d31e,_0x307f17){const _0x48796b=_0x3739fa;return!!this[_0x48796b(0x22b)][_0x48796b(0x27e)](_0x30d31e,_0x307f17);}[_0x3739fa(0x337)](_0x40ebe7,_0x556844,_0x4de8ee,_0x3bb287){const _0x3db592=_0x3739fa,_0x47454a=this['_revisionService']['getCurrentRevOfUnit'](_0x40ebe7);this[_0x3db592(0x2da)][_0x3db592(0x1f5)](_0x40ebe7,{'unitID':_0x40ebe7,'type':_0x556844,'awaitingChangeset':_0x4de8ee,'mutations':_0x3bb287,'rev':_0x47454a}),this[_0x3db592(0x31c)]['has'](_0x40ebe7)||this[_0x3db592(0x356)](_0x40ebe7);}['_scheduleSaving'](_0x2baff0){const _0x180cb0=_0x3739fa,_0x4a0b3e=this[_0x180cb0(0x297)]();_0x4a0b3e===0x0?this[_0x180cb0(0x2a8)](_0x2baff0):this[_0x180cb0(0x31c)][_0x180cb0(0x1f5)](_0x2baff0,setTimeout(()=>this['_saveCache'](_0x2baff0),_0x4a0b3e));}[_0x3739fa(0x297)](){const _0x1d3811=_0x3739fa;var _0x3dd93a;return(_0x3dd93a=this[_0x1d3811(0x29e)][_0x1d3811(0x556)](_0x441bef))!=null?_0x3dd93a:0x3e8;}['_saveCache'](_0x5885c2){const _0xa69a38=_0x3739fa,_0x4f5be3=this[_0xa69a38(0x31c)][_0xa69a38(0x340)](_0x5885c2);return _0x4f5be3!==void 0x0&&window['clearTimeout'](_0x4f5be3),this[_0xa69a38(0x22b)][_0xa69a38(0x27e)](_0x1575d6(_0x5885c2),this[_0xa69a38(0x2da)]['get'](_0x5885c2))[_0xa69a38(0x579)](()=>this['_saveTaskMap']['delete'](_0x5885c2));}async[_0x3739fa(0x25d)](){const _0x3b8085=_0x3739fa,_0x3ae6e7=[];this[_0x3b8085(0x31c)][_0x3b8085(0x5a5)]((_0x114da2,_0x56c274)=>{const _0x3722f6=_0x3b8085;window[_0x3722f6(0x523)](_0x114da2),_0x3ae6e7[_0x3722f6(0x5c6)](this[_0x3722f6(0x2a8)](_0x56c274)[_0x3722f6(0x579)](()=>{const _0x4a4ccc=_0x3722f6;this[_0x4a4ccc(0x31c)][_0x4a4ccc(0x660)](_0x56c274);}));}),await Promise[_0x3b8085(0x586)](_0x3ae6e7);}[_0x3739fa(0x285)](){const _0xc3bdb8=_0x3739fa;this[_0xc3bdb8(0x324)](this[_0xc3bdb8(0x644)][_0xc3bdb8(0x3b5)](()=>{const _0x3b0622=_0xc3bdb8;if(this[_0x3b0622(0x31c)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}},_0x342316[_0x3739fa(0x1b4)]=_0x24e3b8([_0x26790b(0x0,_0x27458f[_0x3739fa(0x628)]),_0x26790b(0x1,_0x27458f['ILocalStorageService']),_0x26790b(0x2,_0x299d72[_0x3739fa(0x25a)]),_0x26790b(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x4f3)])),_0x26790b(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x307efd[_0x3739fa(0x351)]))],_0x342316[_0x3739fa(0x1b4)]);function _0x1575d6(_0x1375d6){const _0x2374e2=_0x3739fa;return _0x2374e2(0x2ae)+_0x1375d6;}var _0x12b05b=Object[_0x3739fa(0x2c0)],_0x105db9=Object[_0x3739fa(0x4e4)],_0xea42e0=(_0x4d9106,_0x3f929b,_0x5993ca,_0x2e710a)=>{const _0x4addc3=_0x3739fa;for(var _0x115d46=_0x2e710a>0x1?void 0x0:_0x2e710a?_0x105db9(_0x3f929b,_0x5993ca):_0x3f929b,_0x3b5a3b=_0x4d9106[_0x4addc3(0x477)]-0x1,_0x19529f;_0x3b5a3b>=0x0;_0x3b5a3b--)(_0x19529f=_0x4d9106[_0x3b5a3b])&&(_0x115d46=(_0x2e710a?_0x19529f(_0x3f929b,_0x5993ca,_0x115d46):_0x19529f(_0x115d46))||_0x115d46);return _0x2e710a&&_0x115d46&&_0x12b05b(_0x3f929b,_0x5993ca,_0x115d46),_0x115d46;},_0x28d1df=(_0x3b886d,_0x50c57c)=>(_0x3a5ac6,_0x29c3a6)=>_0x50c57c(_0x3a5ac6,_0x29c3a6,_0x3b886d);function _0x50e2d3(_0x54a17b){const _0x1708d9=_0x3739fa,{unitID:_0x195334,mutations:_0x3345e3}=_0x54a17b;return{'unitId':_0x195334,'subUnitId':_0x3345e3[0x0][_0x1708d9(0x538)][_0x1708d9(0x383)]};}let _0x216c0f=class{constructor(_0x40f65e,_0x5bbdb0,_0xac3a3a){const _0x4fb050=_0x3739fa;this[_0x4fb050(0x3e2)]=_0x40f65e,this[_0x4fb050(0x63d)]=_0x5bbdb0,this[_0x4fb050(0x5c1)]=_0xac3a3a;}[_0x3739fa(0x353)](_0x57c67c){const _0x4ef667=_0x3739fa;var _0xd1193b,_0x28fb30,_0x30abff,_0x2e22e9;const _0x229fc2=this[_0x4ef667(0x3e2)]['get'](_0x562d18[_0x4ef667(0x569)]),{unitId:_0x2ff0d5,subUnitId:_0x3c4149}=_0x50e2d3(_0x57c67c),_0x4d073c=_0x229fc2['getWorkbookSelections'](_0x2ff0d5)[_0x4ef667(0x251)](),_0x5de87c=(_0x28fb30=(_0xd1193b=this[_0x4ef667(0x5c1)]['getUnit'](_0x2ff0d5))==null?void 0x0:_0xd1193b[_0x4ef667(0x335)]())==null?void 0x0:_0x28fb30[_0x4ef667(0x5dd)]();if(_0x4d073c['length']===0x0||!_0x2ff0d5||!_0x3c4149)return;const _0x167f95=[{'id':_0x562d18[_0x4ef667(0x60c)]['id'],'params':{'unitId':_0x2ff0d5,'subUnitId':_0x5de87c,'selections':_0x27458f[_0x4ef667(0x560)]['deepClone'](_0x4d073c)}}],_0x202dad=this[_0x4ef667(0x63d)][_0x4ef667(0x542)](_0x57c67c,_0x167f95);if(!_0x307efd[_0x4ef667(0x38e)](_0x202dad))throw _0x202dad[_0x4ef667(0x4dc)];const _0x98daa8=(_0x2e22e9=(_0x30abff=_0x202dad[_0x4ef667(0x491)][0x0])==null?void 0x0:_0x30abff[_0x4ef667(0x538)])==null?void 0x0:_0x2e22e9[_0x4ef667(0x341)];if(Array['isArray'](_0x98daa8)&&_0x98daa8[_0x4ef667(0x477)]){if(_0x98daa8['length']===_0x167f95[0x0]['params'][_0x4ef667(0x341)][_0x4ef667(0x477)]&&_0x98daa8[_0x4ef667(0x1bf)]((_0x5c47ff,_0x42a435)=>_0x27458f[_0x4ef667(0x55d)][_0x4ef667(0x390)](_0x5c47ff[_0x4ef667(0x28d)],_0x167f95[0x0][_0x4ef667(0x538)]['selections'][_0x42a435]['range'])))return;this[_0x4ef667(0x3e2)][_0x4ef667(0x340)](_0x27458f['ICommandService'])[_0x4ef667(0x4b6)](_0x562d18['SetSelectionsOperation']['id'],{'unitId':_0x2ff0d5,'subUnitId':_0x5de87c,'selections':_0x98daa8});}}};_0x216c0f=_0xea42e0([_0x28d1df(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x27458f['Injector'])),_0x28d1df(0x1,_0x307efd[_0x3739fa(0x24d)]),_0x28d1df(0x2,_0x27458f[_0x3739fa(0x2e8)])],_0x216c0f);const _0x23092d=_0x27458f[_0x3739fa(0x36c)](_0x3739fa(0x5f2));var _0x4fffde=(_0x369960=>(_0x369960[_0x369960[_0x3739fa(0x4da)]=0x0]=_0x3739fa(0x4da),_0x369960[_0x369960['OTHER_CLIENTS_EDITING']=0x1]=_0x3739fa(0x376),_0x369960))(_0x4fffde||{});const _0x584bf0=0x7530,_0x1813b6=_0x3739fa(0x481);class _0x286643 extends _0x27458f[_0x3739fa(0x5eb)]{constructor(){const _0xea9cac=_0x3739fa;super(),_0x13ba75(this,_0xea9cac(0x5e0),_0x27458f['Tools']['generateRandomId']()),_0x13ba75(this,_0xea9cac(0x479),new Set()),_0x13ba75(this,'_unitOnClients',new Map()),_0x13ba75(this,_0xea9cac(0x1e9),null),_0x13ba75(this,_0xea9cac(0x2f5),new Map()),_0x13ba75(this,_0xea9cac(0x468),new Map()),this['_init']();}['dispose'](){const _0x3bad79=_0x3739fa;super[_0x3bad79(0x217)](),this[_0x3bad79(0x2f5)][_0x3bad79(0x5a5)]((_0x24c82e,_0x193f54)=>this[_0x3bad79(0x626)](_0x193f54)),this['_heartbeatTimer']&&window[_0x3bad79(0x664)](this[_0x3bad79(0x1e9)]);}[_0x3739fa(0x53f)](_0x1dae1e){const _0x4235b3=_0x3739fa;return this['_ensureSubject'](_0x1dae1e)[_0x4235b3(0x681)](_0x19f426[_0x4235b3(0x5f9)]());}[_0x3739fa(0x63e)](_0x40e840){const _0x7387db=_0x3739fa;this[_0x7387db(0x479)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x7387db(0x386)](_0x40e840),this[_0x7387db(0x4a7)]({'type':0x0,'memberID':this[_0x7387db(0x5e0)],'unitIDs':[_0x40e840],'isForwarded':!0x1});}[_0x3739fa(0x2c9)](_0x682017){const _0x3822cc=_0x3739fa;this['_selfUnitIDs'][_0x3822cc(0x660)](_0x682017),this[_0x3822cc(0x479)][_0x3822cc(0x4c9)]===0x0&&this[_0x3822cc(0x1e9)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3739fa(0x328)](){const _0x1e463e=_0x3739fa;this[_0x1e463e(0x324)](_0x27458f['toDisposable'](_0x19f426[_0x1e463e(0x272)](window,_0x1e463e(0x2be))[_0x1e463e(0x618)](_0x175ce1=>{const _0xd93136=_0x1e463e;if(_0x175ce1[_0xd93136(0x434)]!==_0x1813b6||!_0x175ce1[_0xd93136(0x288)])return;const _0xe6ccb2=JSON[_0xd93136(0x459)](_0x175ce1[_0xd93136(0x288)]);this[_0xd93136(0x1c6)](_0xe6ccb2);}))),window[_0x1e463e(0x60e)](_0x1e463e(0x5cb),()=>this[_0x1e463e(0x4a7)]({'type':0x1,'memberID':this[_0x1e463e(0x5e0)],'unitIDs':Array[_0x1e463e(0x4d2)](this[_0x1e463e(0x479)])}));}[_0x3739fa(0x1c6)](_0x5a41d1){const _0x3fcd13=_0x3739fa;switch(_0x5a41d1[_0x3fcd13(0x5e4)]){case 0x0:this[_0x3fcd13(0x47c)](_0x5a41d1);break;case 0x1:this[_0x3fcd13(0x4fd)](_0x5a41d1);break;case 0x2:this[_0x3fcd13(0x5d1)](_0x5a41d1);break;}}['_handleJoinEvent'](_0x59aee7){const _0x55a902=_0x3739fa,{unitIDs:_0x306eb0,memberID:_0x36ad74,isForwarded:_0x4669e5}=_0x59aee7;_0x306eb0[_0x55a902(0x5a5)](_0x54fb0f=>{const _0x5239a3=_0x55a902;if(!_0x4669e5&&this[_0x5239a3(0x45d)]['has'](_0x54fb0f)&&this['_ensureSubject'](_0x54fb0f)['next'](0x1),!this['_unitOnClients'][_0x5239a3(0x3f9)](_0x54fb0f)||!this['_unitOnClients'][_0x5239a3(0x340)](_0x54fb0f)[_0x5239a3(0x3f9)](_0x36ad74)){const _0xe3560=this[_0x5239a3(0x45d)]['get'](_0x54fb0f)||new Set();_0xe3560['add'](_0x36ad74),this[_0x5239a3(0x45d)][_0x5239a3(0x1f5)](_0x54fb0f,_0xe3560),this[_0x5239a3(0x268)](_0x36ad74);}}),_0x4669e5||this[_0x55a902(0x4a7)]({'type':0x0,'memberID':this[_0x55a902(0x5e0)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3739fa(0x268)](_0x14ccd7){const _0x5d4f26=_0x3739fa;this[_0x5d4f26(0x626)](_0x14ccd7);const _0x4dc26c=window[_0x5d4f26(0x3c1)](()=>{const _0x313eeb=_0x5d4f26;this[_0x313eeb(0x45d)][_0x313eeb(0x5a5)](_0x33ae61=>{const _0x557239=_0x313eeb;_0x33ae61[_0x557239(0x660)](_0x14ccd7);});},_0x584bf0*0x2);this[_0x5d4f26(0x2f5)]['set'](_0x14ccd7,_0x4dc26c);}['_removeClearOtherTimer'](_0x4d4438){const _0x20bbc6=_0x3739fa;if(this['_clearOtherTimers'][_0x20bbc6(0x3f9)](_0x4d4438)){const _0x2d8edf=this[_0x20bbc6(0x2f5)][_0x20bbc6(0x340)](_0x4d4438);_0x2d8edf&&window[_0x20bbc6(0x523)](_0x2d8edf),this['_clearOtherTimers'][_0x20bbc6(0x1f5)](_0x4d4438,null);}}[_0x3739fa(0x4fd)](_0x5eeb03){const _0x5b2f4a=_0x3739fa,{memberID:_0x5ab321,unitIDs:_0x25e5dd}=_0x5eeb03;_0x25e5dd['forEach'](_0xac7fad=>{const _0xbd2a74=_0x2e6a;var _0x202ee0;const _0x43c58d=this[_0xbd2a74(0x45d)][_0xbd2a74(0x340)](_0xac7fad);_0x43c58d&&(_0x43c58d['delete'](_0x5ab321),(_0x202ee0=this[_0xbd2a74(0x252)](_0xac7fad))==null||_0x202ee0[_0xbd2a74(0x594)](_0x43c58d[_0xbd2a74(0x4c9)]===0x0?0x0:0x1));}),this[_0x5b2f4a(0x626)](_0x5ab321);}['_handleHeartbeatEvent'](_0x2aab74){const _0x2963c8=_0x3739fa;this[_0x2963c8(0x268)](_0x2aab74[_0x2963c8(0x264)]);}[_0x3739fa(0x4a7)](_0x51a58f){const _0x2b8081=_0x3739fa;localStorage['setItem'](_0x1813b6,JSON[_0x2b8081(0x2c8)](_0x51a58f));}['_scheduleHeartbeat'](){const _0xb5656b=_0x3739fa;this[_0xb5656b(0x1e9)]=window[_0xb5656b(0x5d4)](()=>{const _0x243b52=_0xb5656b;this[_0x243b52(0x4a7)]({'type':0x2,'memberID':this[_0x243b52(0x5e0)]});},_0x584bf0);}[_0x3739fa(0x252)](_0x13b9cb){const _0x44ca76=_0x3739fa;return this[_0x44ca76(0x468)]['has'](_0x13b9cb)||this['_unitStatus']['set'](_0x13b9cb,new _0x19f426['BehaviorSubject'](0x0)),this[_0x44ca76(0x468)][_0x44ca76(0x340)](_0x13b9cb);}}var _0x15a06a=Object[_0x3739fa(0x2c0)],_0x35190c=Object[_0x3739fa(0x4e4)],_0x3a27a7=(_0x243411,_0xbba845,_0x60836a,_0x3fa547)=>{const _0x6cddbf=_0x3739fa;for(var _0x19f42b=_0x3fa547>0x1?void 0x0:_0x3fa547?_0x35190c(_0xbba845,_0x60836a):_0xbba845,_0x393feb=_0x243411[_0x6cddbf(0x477)]-0x1,_0xd358f6;_0x393feb>=0x0;_0x393feb--)(_0xd358f6=_0x243411[_0x393feb])&&(_0x19f42b=(_0x3fa547?_0xd358f6(_0xbba845,_0x60836a,_0x19f42b):_0xd358f6(_0x19f42b))||_0x19f42b);return _0x3fa547&&_0x19f42b&&_0x15a06a(_0xbba845,_0x60836a,_0x19f42b),_0x19f42b;},_0x29537d=(_0x118b8a,_0x24aa3a)=>(_0x5024f1,_0x454c11)=>_0x24aa3a(_0x5024f1,_0x454c11,_0x118b8a);let _0x13ab85=class{constructor(_0x302212,_0x1a88bb,_0x1086fa){const _0x2c7048=_0x3739fa;this[_0x2c7048(0x3e2)]=_0x302212,this[_0x2c7048(0x63d)]=_0x1a88bb,this[_0x2c7048(0x490)]=_0x1086fa;}[_0x3739fa(0x499)](_0x4d7fc3){const _0x3bbe96=_0x3739fa;this[_0x3bbe96(0x524)](_0x4d7fc3);}[_0x3739fa(0x564)](_0x46da07){const _0x2739ab=_0x3739fa,{unitID:_0x1e4843}=_0x46da07,{collaboration:_0x56d459}=this[_0x2739ab(0x490)][_0x2739ab(0x26e)](_0x1e4843);if(_0x56d459[_0x2739ab(0x477)]===0x0)return _0x46da07;let _0x5238fd=_0x27458f[_0x2739ab(0x560)][_0x2739ab(0x226)](_0x46da07[_0x2739ab(0x5ac)][0x0]);for(let _0x371961=0x0;_0x371961<_0x56d459[_0x2739ab(0x477)];_0x371961++){const _0xc7c30e={'id':_0x2739ab(0x5aa),'params':{'unitId':_0x56d459[_0x371961][_0x2739ab(0x231)],..._0x56d459[_0x371961][_0x2739ab(0x23e)]}},_0x38daef=this[_0x2739ab(0x63d)][_0x2739ab(0x39a)](_0x5238fd,_0xc7c30e,!0x1);if(_0x307efd[_0x2739ab(0x534)](_0x38daef))throw _0x38daef[_0x2739ab(0x4dc)];_0x5238fd=_0x38daef['m1Prime'];}return{..._0x27458f['Tools'][_0x2739ab(0x226)](_0x46da07),'mutations':[_0x5238fd]};}[_0x3739fa(0x524)](_0x4bdfce){const _0x13fe04=_0x3739fa,{unitID:_0x502751}=_0x4bdfce,{history:_0x8c7103,collaboration:_0x590422}=this[_0x13fe04(0x490)][_0x13fe04(0x26e)](_0x502751);if(_0x8c7103[_0x13fe04(0x477)]===0x0&&_0x590422[_0x13fe04(0x477)]===0x0)return;const _0x1530af=[],_0x39bb24=[];let _0x475aa1=_0x27458f['Tools']['deepClone'](_0x4bdfce[_0x13fe04(0x5ac)][0x0]),_0x6cadc9=_0x27458f[_0x13fe04(0x560)]['deepClone'](_0x4bdfce['mutations'][0x0]);for(let _0x1035f7=_0x8c7103[_0x13fe04(0x477)]-0x1;_0x1035f7>=0x0;_0x1035f7--){const _0x4de3e4={'id':_0x13fe04(0x5aa),'params':{'unitId':_0x8c7103[_0x1035f7][_0x13fe04(0x231)],..._0x8c7103[_0x1035f7][_0x13fe04(0x577)]}},_0x432ef9={'id':_0x13fe04(0x5aa),'params':{'unitId':_0x8c7103[_0x1035f7]['unitId'],..._0x8c7103[_0x1035f7]['redoState']}},_0x37fb46=this[_0x13fe04(0x63d)][_0x13fe04(0x39a)](_0x475aa1,_0x4de3e4,!0x1),_0x5aeacd=this[_0x13fe04(0x63d)][_0x13fe04(0x39a)](_0x6cadc9,_0x432ef9,!0x1);if(_0x307efd['isTransformMutationFailure'](_0x37fb46))throw _0x37fb46[_0x13fe04(0x4dc)];if(_0x307efd[_0x13fe04(0x534)](_0x5aeacd))throw _0x5aeacd['error'];_0x1530af['unshift']({..._0x8c7103[_0x1035f7],'undoState':_0x37fb46['m2Prime'][_0x13fe04(0x538)],'redoState':_0x5aeacd['m2Prime'][_0x13fe04(0x538)]}),_0x475aa1=_0x37fb46[_0x13fe04(0x3b1)],_0x6cadc9=_0x5aeacd[_0x13fe04(0x3b1)];}_0x475aa1=_0x27458f[_0x13fe04(0x560)][_0x13fe04(0x226)](_0x4bdfce[_0x13fe04(0x5ac)][0x0]),_0x6cadc9=_0x27458f[_0x13fe04(0x560)][_0x13fe04(0x226)](_0x4bdfce[_0x13fe04(0x5ac)][0x0]);for(let _0x9575a7=_0x590422['length']-0x1;_0x9575a7>=0x0;_0x9575a7--){const _0x586ce6={'id':_0x13fe04(0x5aa),'params':{'unitId':_0x590422[_0x9575a7]['unitId'],..._0x590422[_0x9575a7][_0x13fe04(0x577)]}},_0x2c4186={'id':_0x13fe04(0x5aa),'params':{'unitId':_0x590422[_0x9575a7][_0x13fe04(0x231)],..._0x590422[_0x9575a7][_0x13fe04(0x23e)]}},_0x3c2f81=this[_0x13fe04(0x63d)][_0x13fe04(0x39a)](_0x475aa1,_0x586ce6,!0x1),_0x2e2a61=this['_transformService'][_0x13fe04(0x39a)](_0x6cadc9,_0x2c4186,!0x1);if(_0x307efd[_0x13fe04(0x534)](_0x3c2f81))throw _0x3c2f81[_0x13fe04(0x4dc)];if(_0x307efd[_0x13fe04(0x534)](_0x2e2a61))throw _0x2e2a61[_0x13fe04(0x4dc)];_0x39bb24[_0x13fe04(0x3c0)]({..._0x590422[_0x9575a7],'undoState':_0x3c2f81['m2Prime'][_0x13fe04(0x538)],'redoState':_0x2e2a61['m2Prime'][_0x13fe04(0x538)]}),_0x475aa1=_0x3c2f81[_0x13fe04(0x3b1)],_0x6cadc9=_0x2e2a61[_0x13fe04(0x3b1)];}this[_0x13fe04(0x490)][_0x13fe04(0x4ab)](_0x502751,{'history':_0x1530af,'collaboration':_0x39bb24});}};_0x13ab85=_0x3a27a7([_0x29537d(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x29537d(0x1,_0x307efd[_0x3739fa(0x24d)]),_0x29537d(0x2,_0x27458f[_0x3739fa(0x2bf)](_0x42c347['DocStateChangeManagerService']))],_0x13ab85);function _0x2f8bd(_0x4727f1){const _0x4a56e4=_0x3739fa;let _0xb9d490='';for(const _0x232898 of _0x4727f1){const {startOffset:_0x4cf1a7,endOffset:_0x283102,isActive:_0x86c808,rangeType:_0x1b7754,segmentId:_0x3d453c,segmentPage:_0x2296de}=_0x232898;_0xb9d490[_0x4a56e4(0x477)]&&(_0xb9d490+=','),_0xb9d490+=_0x4cf1a7+':'+_0x283102+':'+(_0x86c808?'1':'0')+':'+_0x1b7754+':'+_0x3d453c+':'+_0x2296de;}return _0xb9d490;}function _0x1ea725(_0x447f35){const _0x15bab1=_0x3739fa,_0x292faa=_0x447f35[_0x15bab1(0x2f2)](','),_0x1e1eab=[];for(const _0x7ecb97 of _0x292faa){const [_0x19fc65,_0x185a48,_0x58a125,_0x3bbdfc,_0x514670,_0x36c729]=_0x7ecb97[_0x15bab1(0x2f2)](':');_0x1e1eab[_0x15bab1(0x5c6)]({'startOffset':Number(_0x19fc65),'endOffset':Number(_0x185a48),'collapsed':_0x19fc65===_0x185a48,'isActive':_0x58a125==='1','rangeType':_0x3bbdfc===_0x27458f[_0x15bab1(0x489)][_0x15bab1(0x1e6)]?_0x27458f['DOC_RANGE_TYPE'][_0x15bab1(0x1e6)]:_0x27458f[_0x15bab1(0x489)]['RECT'],'segmentId':typeof _0x514670==_0x15bab1(0x2a4)?String(_0x514670):'','segmentPage':Number(_0x36c729!=null?_0x36c729:-0x1)});}return _0x1e1eab[_0x15bab1(0x38a)](_0x4dba9a=>_0x4dba9a['isActive'])||(_0x1e1eab[0x0]['isActive']=!0x0),_0x1e1eab;}class _0x2615e8 extends _0x27458f[_0x3739fa(0x304)]{constructor(){const _0x26b73c=_0x3739fa;super(...arguments),_0x13ba75(this,'_collabCursorState$',new _0x19f426[(_0x26b73c(0x41b))](null)),_0x13ba75(this,_0x26b73c(0x5a6),this[_0x26b73c(0x5e2)][_0x26b73c(0x2ba)]());}[_0x3739fa(0x1c4)](_0xad7aa){const _0x157dfc=_0x3739fa,{unitID:_0x3a944e,memberID:_0x24b8d4,textRanges:_0x135907}=_0xad7aa,_0x11bde8=_0x2f8bd(_0x135907);if(_0x11bde8==='')return;const _0x180605={'unitID':_0x3a944e,'memberID':_0x24b8d4,'selection':_0x11bde8};this[_0x157dfc(0x5e2)][_0x157dfc(0x594)](_0x180605);}}var _0x5b7ad6=Object[_0x3739fa(0x2c0)],_0x5adbee=Object[_0x3739fa(0x4e4)],_0x4e74d7=(_0x459a24,_0xf9a730,_0x372bd0,_0x4dbb7b)=>{for(var _0x34eb39=_0x4dbb7b>0x1?void 0x0:_0x4dbb7b?_0x5adbee(_0xf9a730,_0x372bd0):_0xf9a730,_0x3bf308=_0x459a24['length']-0x1,_0xfd3731;_0x3bf308>=0x0;_0x3bf308--)(_0xfd3731=_0x459a24[_0x3bf308])&&(_0x34eb39=(_0x4dbb7b?_0xfd3731(_0xf9a730,_0x372bd0,_0x34eb39):_0xfd3731(_0x34eb39))||_0x34eb39);return _0x4dbb7b&&_0x34eb39&&_0x5b7ad6(_0xf9a730,_0x372bd0,_0x34eb39),_0x34eb39;},_0x588361=(_0x2138ce,_0x27afc7)=>(_0x342f47,_0x1cf45e)=>_0x27afc7(_0x342f47,_0x1cf45e,_0x2138ce);let _0x8f0249=class{constructor(_0x4c2f9d,_0x4e09f5){const _0x1690bf=_0x3739fa;this[_0x1690bf(0x3e2)]=_0x4c2f9d,this[_0x1690bf(0x63d)]=_0x4e09f5;}[_0x3739fa(0x353)](_0x450b92){const _0x5152e4=_0x3739fa;var _0x3e304c;const _0x475b50=this[_0x5152e4(0x3e2)][_0x5152e4(0x340)](_0x6a88d9['DocSelectionManagerService']),_0x2623b9=(_0x3e304c=_0x475b50['getDocRanges']())!=null?_0x3e304c:[];if(_0x2623b9[_0x5152e4(0x477)]===0x0)return;const _0x44908f=_0x450b92['unitID'],_0x3de845=[{'id':_0x5152e4(0x5aa),'params':{'unitId':_0x44908f,'actions':null,'textRanges':_0x2623b9}}],_0x538de4=this['_transformService'][_0x5152e4(0x542)](_0x450b92,_0x3de845);if(!_0x307efd[_0x5152e4(0x38e)](_0x538de4))throw _0x538de4[_0x5152e4(0x4dc)];const _0x49e5f1=_0x538de4['m2Prime'][0x0]['params'][_0x5152e4(0x5ba)];Array[_0x5152e4(0x57d)](_0x49e5f1)&&_0x49e5f1[_0x5152e4(0x477)]&&_0x475b50['replaceDocRanges'](_0x49e5f1,{'unitId':_0x44908f,'subUnitId':_0x44908f},!0x1);}};_0x8f0249=_0x4e74d7([_0x588361(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x588361(0x1,_0x307efd[_0x3739fa(0x24d)])],_0x8f0249);const _0x2d6d67=new Set([_0x562d18[_0x3739fa(0x520)]['id']]);function _0x3bb2a7(_0x4bd5cd,_0x5c7f04,_0x11cb69,_0x25c90d,_0x2972bd){const _0x4719a9=_0x3739fa;var _0x58422f,_0x361c5c,_0x456fbe,_0x47d280;const _0x2eae8c=[];for(const _0xadf4c2 of _0x4bd5cd)if(_0x2d6d67[_0x4719a9(0x3f9)](_0xadf4c2['id'])){if(_0x2eae8c[_0x4719a9(0x477)]>0x0)break;_0x2eae8c[_0x4719a9(0x5c6)](_0xadf4c2);break;}else _0x2eae8c['push'](_0xadf4c2);const _0x733410=(_0x361c5c=(_0x58422f=_0x2972bd[_0x4719a9(0x1db)]())==null?void 0x0:_0x58422f['userID'])!=null?_0x361c5c:_0x4719a9(0x478),_0x49552f=(_0x47d280=(_0x456fbe=_0x2972bd[_0x4719a9(0x1db)]())==null?void 0x0:_0x456fbe['memberID'])!=null?_0x47d280:_0x4719a9(0x478);return{'changeset':{'unitID':_0x5c7f04,'type':_0x307efd[_0x4719a9(0x206)](_0x11cb69['getUnitType'](_0x5c7f04)),'baseRev':_0x25c90d['getCurrentRevOfUnit'](_0x5c7f04),'revision':0x0,'userID':_0x733410,'memberID':_0x49552f,'mutations':_0x2eae8c},'pendingMutations':_0x4bd5cd['slice'](_0x2eae8c[_0x4719a9(0x477)])};}function _0x5a7b90(_0x1ac1f0,_0x49bda5,_0x2b36b1,_0x57edac,_0x4655f3){const _0x2dbfe5=_0x3739fa;var _0x306c05,_0x23a89c,_0x98a9b8,_0x5dc52e;const _0x14805d=[_0x1ac1f0[_0x2dbfe5(0x449)]((_0x459954,_0xc6e00c)=>{const _0xdf874=_0x2dbfe5;var _0x38bdcf;const {id:_0xa27ba}=_0x459954,{id:_0x575f20,type:_0x34ec85}=_0xc6e00c,_0x201d0d=(_0x38bdcf=_0x459954[_0xdf874(0x538)])!=null?_0x38bdcf:{'actions':null},_0x5c8cb6=_0xc6e00c[_0xdf874(0x538)];if(_0xa27ba&&_0xa27ba!==_0x575f20)throw new Error(_0xdf874(0x1bd)+_0xa27ba+_0xdf874(0x4e1)+_0x575f20+'.');return{..._0x459954,'id':_0x575f20,'type':_0x34ec85,'params':{'unitId':_0x5c8cb6['unitId'],'textRanges':_0x5c8cb6[_0xdf874(0x5ba)],'actions':_0x27458f[_0xdf874(0x263)][_0xdf874(0x4a1)](_0x201d0d['actions'],_0x5c8cb6['actions'])}};},{})],_0x58c098=(_0x23a89c=(_0x306c05=_0x4655f3[_0x2dbfe5(0x1db)]())==null?void 0x0:_0x306c05[_0x2dbfe5(0x5d5)])!=null?_0x23a89c:_0x2dbfe5(0x478),_0x1d1a8a=(_0x5dc52e=(_0x98a9b8=_0x4655f3[_0x2dbfe5(0x1db)]())==null?void 0x0:_0x98a9b8[_0x2dbfe5(0x264)])!=null?_0x5dc52e:'unknown';return{'changeset':{'unitID':_0x49bda5,'type':_0x307efd[_0x2dbfe5(0x206)](_0x2b36b1[_0x2dbfe5(0x4b2)](_0x49bda5)),'baseRev':_0x57edac['getCurrentRevOfUnit'](_0x49bda5),'revision':0x0,'userID':_0x58c098,'memberID':_0x1d1a8a,'mutations':_0x14805d},'pendingMutations':[]};}function _0x2aa9ea(_0x3516dd,_0x3008a4){const _0x4a660b=_0x3739fa,_0x3c764a=new _0x19f426[(_0x4a660b(0x3a1))](0x1);return setTimeout(()=>_0x3c764a[_0x4a660b(0x594)](_0x3008a4),_0x3516dd),_0x3c764a[_0x4a660b(0x2ba)]()['pipe'](_0x19f426['take'](0x1));}const _0x41e9df={'id':_0x562d18['EmptyMutation']['id'],'type':_0x27458f[_0x3739fa(0x30b)][_0x3739fa(0x549)],'params':{}};var _0x34f2b8=Object[_0x3739fa(0x2c0)],_0x276f3f=Object[_0x3739fa(0x4e4)],_0x396a36=(_0x198905,_0x1c2977,_0x4f7934,_0x32fe04)=>{for(var _0x724a73=_0x32fe04>0x1?void 0x0:_0x32fe04?_0x276f3f(_0x1c2977,_0x4f7934):_0x1c2977,_0xc8a5ef=_0x198905['length']-0x1,_0x500c6e;_0xc8a5ef>=0x0;_0xc8a5ef--)(_0x500c6e=_0x198905[_0xc8a5ef])&&(_0x724a73=(_0x32fe04?_0x500c6e(_0x1c2977,_0x4f7934,_0x724a73):_0x500c6e(_0x724a73))||_0x724a73);return _0x32fe04&&_0x724a73&&_0x34f2b8(_0x1c2977,_0x4f7934,_0x724a73),_0x724a73;},_0x1297c3=(_0x106b5d,_0x3ef168)=>(_0x4f0e6c,_0x4d8f02)=>_0x3ef168(_0x4f0e6c,_0x4d8f02,_0x106b5d),_0x44c830=(_0x524752=>(_0x524752[_0x3739fa(0x363)]='not_collab',_0x524752['SYNCED']=_0x3739fa(0x35d),_0x524752[_0x3739fa(0x24c)]='pending',_0x524752[_0x3739fa(0x1ef)]='awaiting',_0x524752[_0x3739fa(0x4df)]=_0x3739fa(0x370),_0x524752['FETCH_MISS']=_0x3739fa(0x2e0),_0x524752['CONFLICT']=_0x3739fa(0x255),_0x524752['OFFLINE']=_0x3739fa(0x309),_0x524752))(_0x44c830||{});const _0x42e87a=0xea60;class _0x56e0bf{constructor(_0x353601,_0x37a541,_0x1ec681,_0x1afb1a,_0x306fae,_0x58781f,_0x2d9fbe,_0x2c6cf1,_0x4c6e5d){const _0x5d3276=_0x3739fa;_0x13ba75(this,_0x5d3276(0x558),null),_0x13ba75(this,_0x5d3276(0x55a),[]),(this[_0x5d3276(0x4ef)]=_0x353601,this['type']=_0x37a541,this[_0x5d3276(0x322)]=_0x306fae,this[_0x5d3276(0x303)]=_0x58781f,this[_0x5d3276(0x4c2)]=_0x2d9fbe,this[_0x5d3276(0x5c5)]=_0x2c6cf1,this[_0x5d3276(0x26d)]=_0x4c6e5d,this[_0x5d3276(0x558)]=_0x1ec681,this[_0x5d3276(0x55a)]=_0x1afb1a);}[_0x3739fa(0x4ee)](_0x5bbdf3){const _0x3b2e13=_0x3739fa,_0x2122f5=this[_0x3b2e13(0x5c5)]['getCurrentRevOfUnit'](this[_0x3b2e13(0x4ef)]);return _0x5bbdf3[_0x3b2e13(0x24a)]>_0x2122f5+0x1?(this['_handler'][_0x3b2e13(0x439)]({'from':_0x2122f5,'to':_0x5bbdf3[_0x3b2e13(0x24a)]-0x1}),!0x0):!0x1;}[_0x3739fa(0x652)](_0x185d1b){const _0x47be77=_0x3739fa;this[_0x47be77(0x4c2)][_0x47be77(0x2e5)](this[_0x47be77(0x4ef)],_0x185d1b);}[_0x3739fa(0x5d8)](_0x5c872d){const _0x6d10b2=_0x3739fa;var _0x56133f,_0x16069c;(_0x16069c=(_0x56133f=this[_0x6d10b2(0x322)])['onTransformSelections'])==null||_0x16069c[_0x6d10b2(0x3cf)](_0x56133f,_0x5c872d);}['_transformIMECache'](_0x18b07b){const _0xa5179c=_0x3739fa;var _0x323512,_0x187fd6;return(_0x187fd6=(_0x323512=this[_0xa5179c(0x322)])['onTransformIME'])==null?void 0x0:_0x187fd6[_0xa5179c(0x3cf)](_0x323512,_0x18b07b);}[_0x3739fa(0x52d)](_0x1afa3b){const _0x398acc=_0x3739fa;var _0x3a61da,_0x5c2ab7;return(_0x5c2ab7=(_0x3a61da=this[_0x398acc(0x322)])[_0x398acc(0x3a0)])==null?void 0x0:_0x5c2ab7[_0x398acc(0x3cf)](_0x3a61da,_0x1afa3b);}[_0x3739fa(0x1f8)](_0x12bd4e){const _0x272454=_0x3739fa;var _0x57ac8a,_0x30b28b,_0x43e9ce;return(_0x43e9ce=(_0x30b28b=(_0x57ac8a=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x30b28b[_0x272454(0x3cf)](_0x57ac8a,_0x12bd4e))!=null?_0x43e9ce:_0x12bd4e;}['_transformRemoteChangesetByStateCache'](_0x1ab7c6){const _0x26ef1f=_0x3739fa;var _0x288a60,_0x1a2d8d,_0x52a677;return(_0x52a677=(_0x1a2d8d=(_0x288a60=this[_0x26ef1f(0x322)])[_0x26ef1f(0x38d)])==null?void 0x0:_0x1a2d8d['call'](_0x288a60,_0x1ab7c6))!=null?_0x52a677:_0x1ab7c6;}['_syncEditingCollabCursor'](_0x42b978){const _0xdb7acf=_0x3739fa;var _0x1493d0,_0x5531da;if(this[_0xdb7acf(0x5e4)]===_0x262f56[_0xdb7acf(0x4c3)]){const {unitID:_0x57f329,mutations:_0x33d644,memberID:_0x1cab77}=_0x42b978,_0x5782de=_0x33d644[0x0][_0xdb7acf(0x538)][_0xdb7acf(0x5ba)];Array[_0xdb7acf(0x57d)](_0x5782de)&&_0x5782de[_0xdb7acf(0x477)]>0x0&&((_0x5531da=(_0x1493d0=this[_0xdb7acf(0x322)])[_0xdb7acf(0x2eb)])==null||_0x5531da['call'](_0x1493d0,{'unitID':_0x57f329,'memberID':_0x1cab77,'textRanges':_0x5782de}));}}[_0x3739fa(0x1e2)](){const _0x174f24=_0x3739fa;this['_localCacheService']['updateOfflineData'](this[_0x174f24(0x4ef)],this['type'],this[_0x174f24(0x558)],this[_0x174f24(0x55a)]);}[_0x3739fa(0x282)](){const _0x4aba7c=_0x3739fa;return this[_0x4aba7c(0x5c5)][_0x4aba7c(0x673)](this[_0x4aba7c(0x4ef)]);}[_0x3739fa(0x3e0)](){const _0x4da4cf=_0x3739fa;this[_0x4da4cf(0x5c5)][_0x4da4cf(0x677)](this[_0x4da4cf(0x4ef)]);}['_executeRemoteChangeset'](_0x46f6e3){const _0x402203=_0x3739fa;var _0x7d31ca;let _0x4c0871=this['_transformRemoteChangesetByIMECache'](_0x46f6e3);_0x4c0871=this['_transformRemoteChangesetByStateCache'](_0x4c0871);const _0xf8f5f9=_0x27458f[_0x402203(0x385)](_0x4c0871['mutations'],this[_0x402203(0x303)],{'fromCollab':!0x0});if(!_0xf8f5f9[_0x402203(0x508)])throw _0xf8f5f9[_0x402203(0x4dc)]instanceof Error?_0xf8f5f9[_0x402203(0x4dc)]:new Error((_0x7d31ca=_0xf8f5f9['error'])!=null?_0x7d31ca:'[CollaborationState]:\x20apply\x20error!');this[_0x402203(0x22c)](_0x4c0871),this[_0x402203(0x52d)](_0x4c0871),this['_transformUndoredo'](_0x46f6e3),this[_0x402203(0x5d8)](_0x4c0871),this['_syncEditingCollabCursor'](_0x4c0871),this[_0x402203(0x3e0)]();}}let _0x17fe8d=class extends _0x56e0bf{constructor(_0x5da7cf,_0x1fa5f2,_0x239805,_0x41699b,_0x4f52d2,_0x26bb76,_0x222c90,_0x3c0e04,_0x2120ea,_0x3d8f9a){const _0x5c5003=_0x3739fa;super(_0x5da7cf,_0x1fa5f2,null,[],_0x239805,_0x3c0e04,_0x222c90,_0x41699b,_0x4f52d2),_0x13ba75(this,_0x5c5003(0x23d),_0x5c5003(0x35d)),(this[_0x5c5003(0x3e2)]=_0x26bb76,this[_0x5c5003(0x4a0)]=_0x2120ea,this['_transformService']=_0x3d8f9a);}['appendMutation'](_0x17397b){const _0x2840f2=_0x3739fa,_0x2387ba=this[_0x2840f2(0x3e2)][_0x2840f2(0x21c)](_0x39ef76,this[_0x2840f2(0x4ef)],this[_0x2840f2(0x5e4)],[_0x17397b],this[_0x2840f2(0x322)]);return _0x2387ba[_0x2840f2(0x683)](),_0x2387ba[_0x2840f2(0x1e2)](),_0x2387ba;}[_0x3739fa(0x34c)](_0x53e5d1){const _0xcf8c7b=_0x3739fa;if(this[_0xcf8c7b(0x4ee)](_0x53e5d1))return this[_0xcf8c7b(0x3e2)][_0xcf8c7b(0x21c)](_0x8dcc5b,this[_0xcf8c7b(0x4ef)],this[_0xcf8c7b(0x5e4)],null,[],null,[_0x53e5d1],this[_0xcf8c7b(0x322)]);try{const _0x74025e=this[_0xcf8c7b(0x63d)]['transformMutationsWithChangeset'](_0x53e5d1,[_0x41e9df]);if(_0x307efd[_0xcf8c7b(0x38e)](_0x74025e)){const {c1Prime:_0x337ab7}=_0x74025e;return this['_executeRemoteChangeset'](_0x337ab7),this;}throw _0x74025e['error'];}catch(_0x540aa1){return this[_0xcf8c7b(0x4a0)][_0xcf8c7b(0x4dc)](_0x540aa1),this[_0xcf8c7b(0x2e2)](!0x1);}}[_0x3739fa(0x2e2)](_0x437581){const _0x297a15=_0x3739fa;return this[_0x297a15(0x3e2)][_0x297a15(0x21c)](_0x5bfbc5,this['unitID'],this[_0x297a15(0x5e4)],null,[],this[_0x297a15(0x322)],_0x437581);}[_0x3739fa(0x550)](){const _0x36f392=_0x3739fa;throw new Error(_0x36f392(0x605));}[_0x3739fa(0x464)](){const _0x983a0d=_0x3739fa;throw new Error(_0x983a0d(0x4dd));}[_0x3739fa(0x665)](){return this;}[_0x3739fa(0x458)](){const _0x1b4dfa=_0x3739fa;return this[_0x1b4dfa(0x3e2)]['createInstance'](_0x37bb93,this['unitID'],this[_0x1b4dfa(0x5e4)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){const _0x1046a9=_0x3739fa;throw new Error(_0x1046a9(0x61b));}[_0x3739fa(0x514)](){const _0x1612db=_0x3739fa,_0x28959e=this['_revisionService'][_0x1612db(0x673)](this['unitID']);return this['_handler'][_0x1612db(0x439)]({'from':_0x28959e,'to':0x0}),this[_0x1612db(0x3e2)]['createInstance'](_0x8dcc5b,this[_0x1612db(0x4ef)],this[_0x1612db(0x5e4)],null,[],null,[],this[_0x1612db(0x322)]);}};_0x17fe8d=_0x396a36([_0x1297c3(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x307efd[_0x3739fa(0x351)])),_0x1297c3(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x1b4)])),_0x1297c3(0x5,_0x27458f['Inject'](_0x27458f[_0x3739fa(0x47b)])),_0x1297c3(0x6,_0x27458f[_0x3739fa(0x600)]),_0x1297c3(0x7,_0x27458f[_0x3739fa(0x52f)]),_0x1297c3(0x8,_0x27458f['ILogService']),_0x1297c3(0x9,_0x307efd[_0x3739fa(0x24d)])],_0x17fe8d);let _0x39ef76=class extends _0x56e0bf{constructor(_0x375c45,_0x526a03,_0x59e95c,_0x30f1e,_0x110013,_0x1cde6c,_0x208f30,_0x281e24,_0x28d59f,_0x33ecfe,_0x2aba7a,_0x22d5e1,_0x21d435,_0x144d42){const _0x558503=_0x3739fa;super(_0x375c45,_0x526a03,null,_0x59e95c,_0x30f1e,_0x33ecfe,_0x144d42,_0x1cde6c,_0x208f30),_0x13ba75(this,_0x558503(0x23d),_0x558503(0x3d8)),_0x13ba75(this,_0x558503(0x1e3),null),_0x13ba75(this,'_sendingTimer',null),(this['_injector']=_0x110013,this[_0x558503(0x5ab)]=_0x281e24,this['_logService']=_0x28d59f,this[_0x558503(0x29e)]=_0x2aba7a,this[_0x558503(0x63d)]=_0x22d5e1,this[_0x558503(0x1f1)]=_0x21d435);}['appendMutation'](_0x238b63){const _0x132376=_0x3739fa;return this[_0x132376(0x55a)]['push'](_0x238b63),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x50a5fa){const _0x3565db=_0x3739fa;if(this[_0x3565db(0x4ee)](_0x50a5fa))return this['_clearScheduledTask'](),this[_0x3565db(0x3e2)][_0x3565db(0x21c)](_0x8dcc5b,this[_0x3565db(0x4ef)],this[_0x3565db(0x5e4)],null,this[_0x3565db(0x55a)],null,[_0x50a5fa],this[_0x3565db(0x322)]);try{const _0x1b861f=this[_0x3565db(0x63d)][_0x3565db(0x542)](_0x50a5fa,this[_0x3565db(0x55a)]);if(_0x307efd['isTransformMutationsWithChangesetSuccess'](_0x1b861f)){const {c1Prime:_0x38fdfd,m2Prime:_0x575b74}=_0x1b861f;this['_executeRemoteChangeset'](_0x38fdfd);const _0x317fcf=this[_0x3565db(0x3e2)][_0x3565db(0x21c)](_0x39ef76,this['unitID'],this[_0x3565db(0x5e4)],_0x575b74,this[_0x3565db(0x322)]);return this[_0x3565db(0x567)](),_0x317fcf[_0x3565db(0x683)](this['_scheduleTimestamp']?Math[_0x3565db(0x352)](0x0,new Date()[_0x3565db(0x3f6)]()-this[_0x3565db(0x1e3)]):this[_0x3565db(0x574)]()),_0x317fcf;}throw _0x1b861f[_0x3565db(0x4dc)];}catch(_0x15e941){return this[_0x3565db(0x4a0)][_0x3565db(0x4dc)](_0x15e941),this[_0x3565db(0x2e2)](!0x1);}}[_0x3739fa(0x550)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3739fa(0x464)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3739fa(0x665)](){return this;}[_0x3739fa(0x458)](){const _0x159a22=_0x3739fa;return this['_clearScheduledTask'](),this[_0x159a22(0x3e2)][_0x159a22(0x21c)](_0x37bb93,this[_0x159a22(0x4ef)],this[_0x159a22(0x5e4)],null,this[_0x159a22(0x55a)],this['_handler']);}[_0x3739fa(0x415)](){return this;}[_0x3739fa(0x683)](_0xe95c34){const _0x48afcd=_0x3739fa,_0x236b4c=_0xe95c34!=null?_0xe95c34:this[_0x48afcd(0x574)]();this[_0x48afcd(0x1e3)]=new Date()[_0x48afcd(0x3f6)](),this['_sendingTimer']=window[_0x48afcd(0x3c1)](()=>{const _0x48821d=_0x48afcd;this[_0x48821d(0x567)]();let _0x3835f3=null;switch(this['type']){case _0x262f56[_0x48821d(0x497)]:{_0x3835f3=_0x3bb2a7(this['_pendingMutations'],this[_0x48821d(0x4ef)],this[_0x48821d(0x1f1)],this['_revisionService'],this[_0x48821d(0x5ab)]);break;}case _0x262f56[_0x48821d(0x4c3)]:{this['_pendingMutations'][_0x48821d(0x1bf)](_0x341b53=>_0x341b53['id']===_0x6a88d9['RichTextEditingMutation']['id'])?_0x3835f3=_0x5a7b90(this['_pendingMutations'],this['unitID'],this[_0x48821d(0x1f1)],this[_0x48821d(0x5c5)],this[_0x48821d(0x5ab)]):_0x3835f3=_0x3bb2a7(this[_0x48821d(0x55a)],this[_0x48821d(0x4ef)],this[_0x48821d(0x1f1)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x48821d(0x317)+this['type']+_0x48821d(0x555));}const {changeset:_0x373f56,pendingMutations:_0x42ccec}=_0x3835f3;this[_0x48821d(0x322)][_0x48821d(0x31b)](_0x373f56);const _0x5e1b63=_0x42ccec[_0x48821d(0x477)]?this[_0x48821d(0x3e2)]['createInstance'](_0x5c69ce,this['unitID'],this[_0x48821d(0x5e4)],_0x373f56,_0x42ccec,this[_0x48821d(0x322)],void 0x0):this['_injector']['createInstance'](_0x2585b1,this[_0x48821d(0x4ef)],this[_0x48821d(0x5e4)],_0x373f56,this[_0x48821d(0x322)]);_0x5e1b63['_updateLocalCache'](),this['_handler'][_0x48821d(0x630)](this,_0x5e1b63);},_0x236b4c);}[_0x3739fa(0x574)](){const _0x1c6b79=_0x3739fa;var _0x1d03cf;const _0xb9d085=this[_0x1c6b79(0x29e)]['getConfig'](_0x4ff220);return(_0x1d03cf=_0xb9d085==null?void 0x0:_0xb9d085['sendChangesetTimeout'])!=null?_0x1d03cf:0x7d0;}[_0x3739fa(0x310)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3739fa(0x567)](){const _0x3354b3=_0x3739fa;this[_0x3354b3(0x275)]!=null&&(clearTimeout(this[_0x3354b3(0x275)]),this[_0x3354b3(0x275)]=null);}[_0x3739fa(0x2e2)](_0x3df781){const _0x2dc0c5=_0x3739fa;return this['_clearScheduledTask'](),this[_0x2dc0c5(0x3e2)]['createInstance'](_0x5bfbc5,this[_0x2dc0c5(0x4ef)],this[_0x2dc0c5(0x5e4)],null,this[_0x2dc0c5(0x55a)],this[_0x2dc0c5(0x322)],_0x3df781);}};_0x39ef76=_0x396a36([_0x1297c3(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x1297c3(0x5,_0x27458f[_0x3739fa(0x2bf)](_0x307efd[_0x3739fa(0x351)])),_0x1297c3(0x6,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x1b4)])),_0x1297c3(0x7,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x4a6)])),_0x1297c3(0x8,_0x27458f[_0x3739fa(0x592)]),_0x1297c3(0x9,_0x27458f[_0x3739fa(0x52f)]),_0x1297c3(0xa,_0x27458f[_0x3739fa(0x628)]),_0x1297c3(0xb,_0x307efd[_0x3739fa(0x24d)]),_0x1297c3(0xc,_0x27458f['IUniverInstanceService']),_0x1297c3(0xd,_0x27458f['IUndoRedoService'])],_0x39ef76);let _0x2585b1=class extends _0x56e0bf{constructor(_0x492844,_0x285303,_0x208dd3,_0x528dcb,_0x109c9f,_0x414afe,_0x38857c,_0x5169ed,_0x5021bb,_0x4a6894,_0x4b8b5c){const _0x371adc=_0x3739fa;super(_0x492844,_0x285303,_0x208dd3,[],_0x528dcb,_0x5169ed,_0x4b8b5c,_0x414afe,_0x38857c),_0x13ba75(this,_0x371adc(0x23d),'awaiting'),_0x13ba75(this,_0x371adc(0x429),0x0),_0x13ba75(this,'_resendTimer'),_0x13ba75(this,_0x371adc(0x35f)),(this[_0x371adc(0x3e2)]=_0x109c9f,this['_logService']=_0x5021bb,this['_transformService']=_0x4a6894);}[_0x3739fa(0x41e)](_0x23dfce){const _0xac1b3a=_0x3739fa;this[_0xac1b3a(0x567)]();const _0x15d6cd=this['_injector']['createInstance'](_0x5c69ce,this[_0xac1b3a(0x4ef)],this[_0xac1b3a(0x5e4)],this[_0xac1b3a(0x558)],[_0x23dfce],this[_0xac1b3a(0x322)],this[_0xac1b3a(0x2cf)]);return _0x15d6cd['_updateLocalCache'](),_0x15d6cd;}['onRemoteChangeset'](_0x47692c){const _0x3c246b=_0x3739fa;if(this[_0x3c246b(0x4ee)](_0x47692c))return this['_clearScheduledTask'](),this[_0x3c246b(0x3e2)]['createInstance'](_0x8dcc5b,this['unitID'],this[_0x3c246b(0x5e4)],this[_0x3c246b(0x558)],[],null,[_0x47692c],this['_handler']);try{const _0x5869b1=this[_0x3c246b(0x63d)]['transformChangesets']([_0x47692c],[this[_0x3c246b(0x558)]],!0x1);if(_0x307efd[_0x3c246b(0x31e)](_0x5869b1)){const {c1Prime:_0x2adf99,c2Prime:_0x5c21b3}=_0x5869b1;this[_0x3c246b(0x1e7)](_0x2adf99[0x0]),_0x5c21b3[0x0][_0x3c246b(0x45a)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x183f6d=this[_0x3c246b(0x3e2)]['createInstance'](_0x2585b1,this['unitID'],this[_0x3c246b(0x5e4)],_0x5c21b3[0x0],this[_0x3c246b(0x322)]);return _0x183f6d['_updateLocalCache'](),_0x183f6d;}return this[_0x3c246b(0x2e2)](!0x1);}catch(_0x59d242){return this[_0x3c246b(0x4a0)][_0x3c246b(0x4dc)](_0x59d242),this[_0x3c246b(0x2e2)](!0x1);}}[_0x3739fa(0x550)](_0x309301){const _0x3198fa=_0x3739fa;this[_0x3198fa(0x567)]();const _0x39bd10=this[_0x3198fa(0x5c5)][_0x3198fa(0x673)](this[_0x3198fa(0x4ef)]);if(_0x309301[_0x3198fa(0x24a)]<_0x39bd10-0x1)return this;if(this[_0x3198fa(0x4ee)](_0x309301))return this[_0x3198fa(0x3e2)][_0x3198fa(0x21c)](_0x8dcc5b,this[_0x3198fa(0x4ef)],this[_0x3198fa(0x5e4)],null,[],this[_0x3198fa(0x558)],[],this[_0x3198fa(0x322)]);this[_0x3198fa(0x3e0)]();const _0x1f2c3f=this[_0x3198fa(0x3e2)][_0x3198fa(0x21c)](_0x17fe8d,this[_0x3198fa(0x4ef)],this[_0x3198fa(0x5e4)],this['_handler']);return _0x1f2c3f['_updateLocalCache'](),_0x1f2c3f;}[_0x3739fa(0x464)](_0x5e85ce){const _0x35d9b2=_0x3739fa;return this[_0x35d9b2(0x2e2)](!!(_0x5e85ce!=null&&_0x5e85ce[_0x35d9b2(0x332)]));}[_0x3739fa(0x665)](_0x52fa8a){const _0x13dd9a=_0x3739fa;return this['_resendTimeout']>_0x42e87a?this[_0x13dd9a(0x458)]():(this[_0x13dd9a(0x2cf)]=_0x2aa9ea(this[_0x13dd9a(0x429)],{'timeout':this[_0x13dd9a(0x429)],'reqId':_0x52fa8a[_0x13dd9a(0x2de)]}),this[_0x13dd9a(0x35f)]=this['_resendTimer'][_0x13dd9a(0x618)](({reqId:_0x14e7d4,timeout:_0xc7bd46})=>{const _0xede35=_0x13dd9a;this[_0xede35(0x3f7)](_0x14e7d4,_0xc7bd46);}),this);}[_0x3739fa(0x458)](){const _0x1b7932=_0x3739fa;return this[_0x1b7932(0x567)](),this[_0x1b7932(0x3e2)][_0x1b7932(0x21c)](_0x37bb93,this[_0x1b7932(0x4ef)],this[_0x1b7932(0x5e4)],this['_awaitingChangeset'],[],this['_handler']);}[_0x3739fa(0x415)](){return this;}['resend'](){const _0x3d1793=_0x3739fa;this[_0x3d1793(0x322)]['onSendChangeset'](this[_0x3d1793(0x558)]);}[_0x3739fa(0x2e2)](_0x162a7f){const _0x27af08=_0x3739fa;return this['_clearScheduledTask'](),this[_0x27af08(0x3e2)][_0x27af08(0x21c)](_0x5bfbc5,this[_0x27af08(0x4ef)],this[_0x27af08(0x5e4)],this[_0x27af08(0x558)],[],this[_0x27af08(0x322)],_0x162a7f);}[_0x3739fa(0x3f7)](_0xe3087a,_0x4ee618){const _0xe59ef7=_0x3739fa;var _0xfc848;_0xe3087a===((_0xfc848=this[_0xe59ef7(0x558)])==null?void 0x0:_0xfc848['reqId'])&&(this[_0xe59ef7(0x310)](),this['_resendTimeout']=_0x4ee618===0x0?0x3e8:_0x4ee618*0x2);}[_0x3739fa(0x567)](){const _0x3e51fd=_0x3739fa;var _0x13e4eb;(_0x13e4eb=this['_sender'])==null||_0x13e4eb[_0x3e51fd(0x3a4)](),this['_resendTimeout']=0x0;}};_0x2585b1=_0x396a36([_0x1297c3(0x4,_0x27458f['Inject'](_0x27458f[_0x3739fa(0x47b)])),_0x1297c3(0x5,_0x27458f[_0x3739fa(0x2bf)](_0x307efd['RevisionService'])),_0x1297c3(0x6,_0x27458f['Inject'](_0x342316['LocalCacheService'])),_0x1297c3(0x7,_0x27458f['ICommandService']),_0x1297c3(0x8,_0x27458f[_0x3739fa(0x592)]),_0x1297c3(0x9,_0x307efd[_0x3739fa(0x24d)]),_0x1297c3(0xa,_0x27458f['IUndoRedoService'])],_0x2585b1);let _0x5c69ce=class extends _0x56e0bf{constructor(_0xcda4da,_0x4da692,_0x30450b,_0x401e2d,_0x10859f,_0x43db7a,_0xc22c6b,_0x555f5d,_0x3efe95,_0x30a4e0,_0x142b83,_0x53f1b5,_0x332785){const _0x356e0d=_0x3739fa;super(_0xcda4da,_0x4da692,_0x30450b,_0x401e2d,_0x10859f,_0x30a4e0,_0x332785,_0x555f5d,_0x3efe95),_0x13ba75(this,_0x356e0d(0x23d),_0x356e0d(0x370)),_0x13ba75(this,_0x356e0d(0x429),0x0),_0x13ba75(this,_0x356e0d(0x2cf)),_0x13ba75(this,'_sender'),(this['_injector']=_0xc22c6b,this[_0x356e0d(0x4a0)]=_0x142b83,this[_0x356e0d(0x63d)]=_0x53f1b5,_0x43db7a&&(this[_0x356e0d(0x2cf)]=_0x43db7a,this[_0x356e0d(0x35f)]=this[_0x356e0d(0x2cf)][_0x356e0d(0x618)](({reqId:_0x5d8541,timeout:_0x515d4e})=>{const _0x560c4f=_0x356e0d;this[_0x560c4f(0x3f7)](_0x5d8541,_0x515d4e);})));}[_0x3739fa(0x41e)](_0x33edac){const _0x8793ad=_0x3739fa;return this[_0x8793ad(0x55a)][_0x8793ad(0x5c6)](_0x33edac),this;}[_0x3739fa(0x34c)](_0x2a5212){const _0x50491d=_0x3739fa;if(this[_0x50491d(0x4ee)](_0x2a5212))return this['_clearScheduledTask'](),this[_0x50491d(0x3e2)]['createInstance'](_0x8dcc5b,this[_0x50491d(0x4ef)],this[_0x50491d(0x5e4)],this[_0x50491d(0x558)],this[_0x50491d(0x55a)],null,[_0x2a5212],this[_0x50491d(0x322)]);try{const _0x4d3bcc=this[_0x50491d(0x63d)]['transformChangesets']([_0x2a5212],[this['_awaitingChangeset']],!0x1);if(_0x307efd[_0x50491d(0x31e)](_0x4d3bcc)){const {c1Prime:_0xc68cf5,c2Prime:_0xb9a02c}=_0x4d3bcc,_0xf29f0c=this[_0x50491d(0x63d)]['transformMutationsWithChangeset'](_0xc68cf5[0x0],this[_0x50491d(0x55a)]);if(_0x307efd[_0x50491d(0x38e)](_0xf29f0c)){const {c1Prime:_0x1ab894,m2Prime:_0x131a95}=_0xf29f0c;return this['_executeRemoteChangeset'](_0x1ab894),_0xb9a02c[0x0][_0x50491d(0x45a)]=this[_0x50491d(0x282)](),this[_0x50491d(0x567)](),this[_0x50491d(0x3e2)][_0x50491d(0x21c)](_0x5c69ce,this['unitID'],this[_0x50491d(0x5e4)],_0xb9a02c[0x0],_0x131a95,this['_handler'],void 0x0);}throw _0xf29f0c[_0x50491d(0x4dc)];}throw _0x4d3bcc['error'];}catch(_0x128460){return this[_0x50491d(0x4a0)][_0x50491d(0x4dc)](_0x128460),this[_0x50491d(0x2e2)](!0x1);}}['onRemoteAck'](_0x30b248){const _0x22e5bf=_0x3739fa;if(this[_0x22e5bf(0x567)](),this[_0x22e5bf(0x4ee)](_0x30b248))return this[_0x22e5bf(0x3e2)][_0x22e5bf(0x21c)](_0x8dcc5b,this[_0x22e5bf(0x4ef)],this[_0x22e5bf(0x5e4)],null,this[_0x22e5bf(0x55a)],this[_0x22e5bf(0x558)],[],this[_0x22e5bf(0x322)]);this[_0x22e5bf(0x3e0)]();const _0x36f2e6=this[_0x22e5bf(0x3e2)]['createInstance'](_0x39ef76,this[_0x22e5bf(0x4ef)],this['type'],this[_0x22e5bf(0x55a)],this['_handler']);return _0x36f2e6[_0x22e5bf(0x683)](),_0x36f2e6[_0x22e5bf(0x1e2)](),_0x36f2e6;}['onRemoteRej'](_0x163687){const _0x59870c=_0x3739fa;return this[_0x59870c(0x2e2)](!!(_0x163687!=null&&_0x163687['isPermissionRej']));}[_0x3739fa(0x665)](_0x5845aa){const _0x22ad00=_0x3739fa;return this[_0x22ad00(0x429)]>_0x42e87a?this[_0x22ad00(0x458)]():(this[_0x22ad00(0x2cf)]=_0x2aa9ea(this[_0x22ad00(0x429)],{'timeout':this[_0x22ad00(0x429)],'reqId':_0x5845aa[_0x22ad00(0x2de)]}),this[_0x22ad00(0x35f)]=this[_0x22ad00(0x2cf)][_0x22ad00(0x618)](({reqId:_0x282c52,timeout:_0x4d66b4})=>{const _0x1ae3df=_0x22ad00;this[_0x1ae3df(0x3f7)](_0x282c52,_0x4d66b4);}),this);}[_0x3739fa(0x458)](){const _0x4334e1=_0x3739fa;return this['_clearScheduledTask'](),this[_0x4334e1(0x3e2)][_0x4334e1(0x21c)](_0x37bb93,this[_0x4334e1(0x4ef)],this[_0x4334e1(0x5e4)],this[_0x4334e1(0x558)],this[_0x4334e1(0x55a)],this[_0x4334e1(0x322)]);}[_0x3739fa(0x415)](){return this;}['resend'](){const _0x437098=_0x3739fa;this[_0x437098(0x322)]['onSendChangeset'](this[_0x437098(0x558)]);}['_onConflict'](_0x25eb82){const _0x2a87a1=_0x3739fa;return this[_0x2a87a1(0x567)](),this[_0x2a87a1(0x3e2)][_0x2a87a1(0x21c)](_0x5bfbc5,this[_0x2a87a1(0x4ef)],this[_0x2a87a1(0x5e4)],null,this[_0x2a87a1(0x55a)],this[_0x2a87a1(0x322)],_0x25eb82);}[_0x3739fa(0x3f7)](_0x4948df,_0x3b9a8f){const _0x586eac=_0x3739fa;var _0x29aee6;_0x4948df===((_0x29aee6=this[_0x586eac(0x558)])==null?void 0x0:_0x29aee6[_0x586eac(0x2de)])&&(this[_0x586eac(0x310)](),this[_0x586eac(0x429)]=_0x3b9a8f===0x0?0x3e8:_0x3b9a8f*0x2);}[_0x3739fa(0x567)](){const _0x190157=_0x3739fa;var _0x383284;(_0x383284=this[_0x190157(0x35f)])==null||_0x383284['unsubscribe'](),this[_0x190157(0x429)]=0x0;}};_0x5c69ce=_0x396a36([_0x1297c3(0x6,_0x27458f['Inject'](_0x27458f['Injector'])),_0x1297c3(0x7,_0x27458f[_0x3739fa(0x2bf)](_0x307efd[_0x3739fa(0x351)])),_0x1297c3(0x8,_0x27458f[_0x3739fa(0x2bf)](_0x342316['LocalCacheService'])),_0x1297c3(0x9,_0x27458f['ICommandService']),_0x1297c3(0xa,_0x27458f['ILogService']),_0x1297c3(0xb,_0x307efd[_0x3739fa(0x24d)]),_0x1297c3(0xc,_0x27458f[_0x3739fa(0x600)])],_0x5c69ce);let _0x5bfbc5=class extends _0x56e0bf{constructor(_0x54cb5e,_0x5f3ca0,_0x2c7b88,_0x6d3427,_0xdbb015,_0x494f59=!0x1,_0x367aed,_0x3d6904,_0x226e31,_0x4017ab,_0x508a26,_0x14c698,_0x10ae4b){const _0x1a5682=_0x3739fa;super(_0x54cb5e,_0x5f3ca0,_0x2c7b88,_0x6d3427,_0xdbb015,_0x3d6904,_0x226e31,_0x508a26,_0x4017ab),_0x13ba75(this,'status','conflict'),(this['_isPermissionRej']=_0x494f59,this[_0x1a5682(0x2b0)]=_0x367aed,this[_0x1a5682(0x269)]=_0x14c698,this[_0x1a5682(0x5b9)]=_0x10ae4b,this[_0x1a5682(0x3c5)](),this[_0x1a5682(0x452)](),this[_0x1a5682(0x50b)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x3739fa(0x550)](){return this;}['onRemoteRej'](){return this;}[_0x3739fa(0x665)](){return this;}[_0x3739fa(0x458)](){return this;}['toggleOnline'](){return this;}[_0x3739fa(0x310)](){const _0x335952=_0x3739fa;throw new Error(_0x335952(0x428));}['_clearLocalCache'](){const _0x58c1a5=_0x3739fa;this[_0x58c1a5(0x26d)][_0x58c1a5(0x337)](this[_0x58c1a5(0x4ef)],this[_0x58c1a5(0x5e4)],null,[]);}[_0x3739fa(0x3c5)](){const _0x9bf643=_0x3739fa;this[_0x9bf643(0x50f)]?this[_0x9bf643(0x5b9)][_0x9bf643(0x1f7)]({'title':this[_0x9bf643(0x269)]['t'](_0x9bf643(0x589)),'content':this['_localeService']['t']('permission.content'),'type':_0x9bf643(0x4dc),'duration':0x0}):this[_0x9bf643(0x5b9)][_0x9bf643(0x1f7)]({'title':this['_localeService']['t'](_0x9bf643(0x2c7)),'content':this['_localeService']['t']('conflict.content'),'type':_0x9bf643(0x4dc),'duration':0x0});}[_0x3739fa(0x50b)](){const _0x3bdef0=_0x3739fa;this[_0x3bdef0(0x2b0)]['updatePermissionPoint'](new _0x562d18[(_0x3bdef0(0x650))](this[_0x3bdef0(0x4ef)])['id'],!0x1);}};_0x5bfbc5=_0x396a36([_0x1297c3(0x6,_0x27458f['Inject'](_0x27458f[_0x3739fa(0x613)])),_0x1297c3(0x7,_0x27458f[_0x3739fa(0x52f)]),_0x1297c3(0x8,_0x27458f[_0x3739fa(0x600)]),_0x1297c3(0x9,_0x27458f['Inject'](_0x342316['LocalCacheService'])),_0x1297c3(0xa,_0x27458f[_0x3739fa(0x2bf)](_0x307efd['RevisionService'])),_0x1297c3(0xb,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x4f3)])),_0x1297c3(0xc,_0x299d72[_0x3739fa(0x221)])],_0x5bfbc5);let _0x37bb93=class extends _0x56e0bf{constructor(_0x274819,_0x4c393d,_0x1dbdf1,_0x103a1c,_0x5ac041,_0x5242ff,_0x4524c8,_0x42c5ad,_0x974fe1,_0x222965){const _0x43682e=_0x3739fa;super(_0x274819,_0x4c393d,_0x1dbdf1,_0x103a1c,_0x5ac041,_0x974fe1,_0x222965,_0x4524c8,_0x42c5ad),_0x13ba75(this,_0x43682e(0x23d),_0x43682e(0x309)),this['_injector']=_0x5242ff;}[_0x3739fa(0x41e)](_0x4f6fb8){const _0x58a36b=_0x3739fa;return this[_0x58a36b(0x55a)][_0x58a36b(0x5c6)](_0x4f6fb8),this[_0x58a36b(0x1e2)](),this;}[_0x3739fa(0x34c)](_0x50e27b){const _0x595fd6=_0x3739fa;throw new Error(_0x595fd6(0x3cb));}[_0x3739fa(0x550)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3739fa(0x464)](){const _0x372f6f=_0x3739fa;throw new Error(_0x372f6f(0x36a));}[_0x3739fa(0x665)](){return this;}[_0x3739fa(0x458)](){return this;}['toggleOnline'](){const _0x470989=_0x3739fa,{_injector:_0x597a28,_pendingMutations:_0x1e8ab5,_awaitingChangeset:_0x37d3b9,unitID:_0x2fd175,_handler:_0x27aa64,type:_0x392d50}=this,_0x5b0777=_0x4792c1(_0x597a28,_0x2fd175,_0x392d50,_0x37d3b9,_0x1e8ab5,_0x27aa64);return _0x5b0777 instanceof _0x39ef76?_0x5b0777[_0x470989(0x683)]():(_0x5b0777 instanceof _0x5c69ce||_0x5b0777 instanceof _0x2585b1)&&_0x5b0777[_0x470989(0x310)](),_0x5b0777;}['resend'](){const _0x22486a=_0x3739fa;throw new Error(_0x22486a(0x201));}};_0x37bb93=_0x396a36([_0x1297c3(0x5,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x1297c3(0x6,_0x27458f[_0x3739fa(0x2bf)](_0x307efd['RevisionService'])),_0x1297c3(0x7,_0x27458f['Inject'](_0x342316[_0x3739fa(0x1b4)])),_0x1297c3(0x8,_0x27458f['ICommandService']),_0x1297c3(0x9,_0x27458f[_0x3739fa(0x600)])],_0x37bb93);let _0x8dcc5b=class extends _0x56e0bf{constructor(_0x959ec9,_0x23d37d,_0x4a16d8,_0x5be156,_0xe7bfa7,_0x461454,_0x7fe9a2,_0x35749,_0x35be9d,_0x326ff9,_0x205730,_0x5ee475,_0x43d0cf,_0x5c2279){const _0x557292=_0x3739fa;super(_0x959ec9,_0x23d37d,_0x4a16d8,_0x5be156,_0x7fe9a2,_0x5ee475,_0x43d0cf,_0x35be9d,_0x326ff9),_0x13ba75(this,_0x557292(0x23d),_0x557292(0x2e0)),(this[_0x557292(0x3f1)]=_0xe7bfa7,this[_0x557292(0x3d3)]=_0x461454,this[_0x557292(0x3e2)]=_0x35749,this['_logService']=_0x205730,this[_0x557292(0x63d)]=_0x5c2279);}[_0x3739fa(0x393)](_0x82d7e9){const _0x210d95=_0x3739fa;try{const _0x50416c=[..._0x82d7e9,...this[_0x210d95(0x3d3)]],_0xbbabd=[this[_0x210d95(0x558)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0xf5761f=>!!_0xf5761f);let _0x2712f8,_0x3677f2;if(_0xbbabd[_0x210d95(0x477)]){const _0x16d393=this['_transformService'][_0x210d95(0x38b)](_0x50416c,_0xbbabd,!0x1);if(!_0x307efd[_0x210d95(0x31e)](_0x16d393))throw _0x16d393['error'];_0x2712f8=_0x16d393[_0x210d95(0x3b2)],_0x3677f2=_0x16d393[_0x210d95(0x372)];}else _0x2712f8=_0x50416c,_0x3677f2=[];let _0x12d42a=this[_0x210d95(0x55a)];_0x2712f8[_0x210d95(0x5a5)](_0x2ece87=>{const _0x36ddd9=_0x210d95;let _0x509a59;if(_0x12d42a['length']){const _0x3adb42=this[_0x36ddd9(0x63d)][_0x36ddd9(0x542)](_0x2ece87,_0x12d42a);if(!_0x307efd[_0x36ddd9(0x38e)](_0x3adb42))throw _0x3adb42[_0x36ddd9(0x4dc)];_0x509a59=_0x3adb42[_0x36ddd9(0x3b2)],_0x12d42a=_0x3adb42[_0x36ddd9(0x491)];}else _0x509a59=_0x2ece87;this[_0x36ddd9(0x1e7)](_0x509a59);}),this['_acknowledgedAwaitingChangeset']&&this[_0x210d95(0x3e0)](),this[_0x210d95(0x558)]&&_0x3677f2[_0x210d95(0x477)]&&(_0x3677f2[0x0][_0x210d95(0x45a)]=this[_0x210d95(0x282)]());let _0x243593;if(this[_0x210d95(0x558)]&&_0x12d42a[_0x210d95(0x477)]!==0x0)_0x243593=this['_injector']['createInstance'](_0x5c69ce,this[_0x210d95(0x4ef)],this[_0x210d95(0x5e4)],_0x3677f2[0x0],_0x12d42a,this[_0x210d95(0x322)],void 0x0);else{if(this[_0x210d95(0x558)]&&_0x12d42a[_0x210d95(0x477)]===0x0)_0x3677f2[0x0][_0x210d95(0x45a)]=this['_getCurrentRevision'](),_0x243593=this['_injector']['createInstance'](_0x2585b1,this['unitID'],this[_0x210d95(0x5e4)],_0x3677f2[0x0],this[_0x210d95(0x322)]);else{if(_0x12d42a[_0x210d95(0x477)]!==0x0){const _0x585558=this['_injector']['createInstance'](_0x39ef76,this[_0x210d95(0x4ef)],this[_0x210d95(0x5e4)],_0x12d42a,this['_handler']);_0x585558[_0x210d95(0x683)](),_0x243593=_0x585558;}else _0x243593=this['_injector'][_0x210d95(0x21c)](_0x17fe8d,this[_0x210d95(0x4ef)],this[_0x210d95(0x5e4)],this['_handler']);}}return _0x243593[_0x210d95(0x1e2)](),_0x243593;}catch(_0x355654){return this[_0x210d95(0x4a0)]['error'](_0x210d95(0x3a2),_0x210d95(0x1d7),_0x355654),this['_injector'][_0x210d95(0x21c)](_0x5bfbc5,this[_0x210d95(0x4ef)],this[_0x210d95(0x5e4)],this[_0x210d95(0x558)],this[_0x210d95(0x55a)],this[_0x210d95(0x322)],!0x1);}}[_0x3739fa(0x310)](){const _0x5c3e9c=_0x3739fa;throw new Error(_0x5c3e9c(0x218));}[_0x3739fa(0x41e)](_0x490916){const _0x1fddec=_0x3739fa;return this[_0x1fddec(0x55a)][_0x1fddec(0x5c6)](_0x490916),this;}[_0x3739fa(0x34c)](_0x50888e){const _0x354d66=_0x3739fa;return this[_0x354d66(0x3d3)][_0x354d66(0x5c6)](_0x50888e),this;}[_0x3739fa(0x550)](_0x2210ad){const _0x1a17b7=_0x3739fa;if(this[_0x1a17b7(0x558)])return this[_0x1a17b7(0x3f1)]=this[_0x1a17b7(0x558)],this['_awaitingChangeset']=null,this;throw new Error(_0x1a17b7(0x244));}[_0x3739fa(0x464)](_0x4b6111){const _0x4303ce=_0x3739fa;return this[_0x4303ce(0x2e2)](!!(_0x4b6111!=null&&_0x4b6111[_0x4303ce(0x332)]));}[_0x3739fa(0x665)](){return this;}[_0x3739fa(0x458)](){const _0xa4e785=_0x3739fa;return this['_injector'][_0xa4e785(0x21c)](_0x37bb93,this[_0xa4e785(0x4ef)],this[_0xa4e785(0x5e4)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0xa4e785(0x322)]);}[_0x3739fa(0x415)](){return this;}['_onConflict'](_0x5559d0){const _0x464f7d=_0x3739fa;return this['_injector'][_0x464f7d(0x21c)](_0x5bfbc5,this[_0x464f7d(0x4ef)],this[_0x464f7d(0x5e4)],this[_0x464f7d(0x558)],this['_pendingMutations'],this['_handler'],_0x5559d0);}};_0x8dcc5b=_0x396a36([_0x1297c3(0x7,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x1297c3(0x8,_0x27458f[_0x3739fa(0x2bf)](_0x307efd[_0x3739fa(0x351)])),_0x1297c3(0x9,_0x27458f['Inject'](_0x342316[_0x3739fa(0x1b4)])),_0x1297c3(0xa,_0x27458f[_0x3739fa(0x592)]),_0x1297c3(0xb,_0x27458f['ICommandService']),_0x1297c3(0xc,_0x27458f['IUndoRedoService']),_0x1297c3(0xd,_0x307efd[_0x3739fa(0x24d)])],_0x8dcc5b);function _0x4792c1(_0x38474f,_0x181721,_0x222494,_0x17b7da,_0x28278a,_0x2cfa4d){const _0x3f0b7e=_0x3739fa;return _0x17b7da&&_0x28278a[_0x3f0b7e(0x477)]?_0x38474f[_0x3f0b7e(0x21c)](_0x5c69ce,_0x181721,_0x222494,_0x17b7da,_0x28278a,_0x2cfa4d,void 0x0):_0x17b7da?_0x38474f[_0x3f0b7e(0x21c)](_0x2585b1,_0x181721,_0x222494,_0x17b7da,_0x2cfa4d):_0x28278a[_0x3f0b7e(0x477)]?_0x38474f[_0x3f0b7e(0x21c)](_0x39ef76,_0x181721,_0x222494,_0x28278a,_0x2cfa4d):_0x38474f[_0x3f0b7e(0x21c)](_0x17fe8d,_0x181721,_0x222494,_0x2cfa4d);}var _0x4ae027=Object[_0x3739fa(0x2c0)],_0xfb3254=Object[_0x3739fa(0x4e4)],_0x486efe=(_0x2f9f39,_0xc4ac52,_0x34b274,_0x469677)=>{const _0x55f20e=_0x3739fa;for(var _0x24f04c=_0x469677>0x1?void 0x0:_0x469677?_0xfb3254(_0xc4ac52,_0x34b274):_0xc4ac52,_0x6bece8=_0x2f9f39[_0x55f20e(0x477)]-0x1,_0x5c4060;_0x6bece8>=0x0;_0x6bece8--)(_0x5c4060=_0x2f9f39[_0x6bece8])&&(_0x24f04c=(_0x469677?_0x5c4060(_0xc4ac52,_0x34b274,_0x24f04c):_0x5c4060(_0x24f04c))||_0x24f04c);return _0x469677&&_0x24f04c&&_0x4ae027(_0xc4ac52,_0x34b274,_0x24f04c),_0x24f04c;},_0x50ad81=(_0x10eade,_0x4d939e)=>(_0x56718c,_0x185c17)=>_0x4d939e(_0x56718c,_0x185c17,_0x10eade);_0x342316['CollaborationEntity']=class extends _0x27458f[_0x3739fa(0x304)]{constructor(_0x4aa53a,_0x81376a,_0x3aa568,_0x235d26,_0x5f3c1b,_0x2601f7,_0x2db593,_0x48bb25,_0x163d70,_0x51d2dd,_0x35d2a8,_0x19fa62,_0x3f5b43){const _0x1c1247=_0x3739fa;super(),_0x13ba75(this,_0x1c1247(0x1e0),new _0x19f426[(_0x1c1247(0x41b))](null)),_0x13ba75(this,_0x1c1247(0x1eb),this[_0x1c1247(0x1e0)][_0x1c1247(0x2ba)]()),_0x13ba75(this,'_state'),_0x13ba75(this,_0x1c1247(0x53b),!0x1),_0x13ba75(this,'_changesetSessionId',''),_0x13ba75(this,_0x1c1247(0x561),0x0),_0x13ba75(this,_0x1c1247(0x1d9),this[_0x1c1247(0x1eb)]['pipe'](_0x19f426['map'](_0x506917=>_0x506917?_0x506917['status']:_0x44c830[_0x1c1247(0x64a)]),_0x19f426[_0x1c1247(0x679)](0x1))),_0x13ba75(this,'_transitionLocked',!0x1),_0x13ba75(this,_0x1c1247(0x647),[]),(this[_0x1c1247(0x4ef)]=_0x4aa53a,this['session']=_0x81376a,this['_type']=_0x3aa568,this[_0x1c1247(0x3e2)]=_0x235d26,this[_0x1c1247(0x26d)]=_0x5f3c1b,this[_0x1c1247(0x214)]=_0x2601f7,this[_0x1c1247(0x269)]=_0x2db593,this['_revisionService']=_0x48bb25,this['_logService']=_0x163d70,this[_0x1c1247(0x303)]=_0x51d2dd,this[_0x1c1247(0x5e5)]=_0x35d2a8,this[_0x1c1247(0x2b0)]=_0x19fa62,this[_0x1c1247(0x2f4)]=_0x3f5b43);}get[_0x3739fa(0x484)](){const _0x16b05f=_0x3739fa;return this[_0x16b05f(0x211)];}async[_0x3739fa(0x494)](){const _0x2d3b67=_0x3739fa;if(this[_0x2d3b67(0x484)])throw new Error(_0x2d3b67(0x4bf));await this[_0x2d3b67(0x328)]();}[_0x3739fa(0x4c6)](){const _0x3d8b4a=_0x3739fa;return this['_collaborationPaused']=!0x0,_0x27458f[_0x3d8b4a(0x44a)](()=>{const _0xc2b885=_0x3d8b4a;this[_0xc2b885(0x53b)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3739fa(0x334)](_0x3f5bc0){const _0xec1061=_0x3739fa;this[_0xec1061(0x211)]=_0x3f5bc0,this[_0xec1061(0x1e0)][_0xec1061(0x594)](_0x3f5bc0);}async[_0x3739fa(0x328)](){const _0x49404e=_0x3739fa;var _0x3861f8;this[_0x49404e(0x334)](await this[_0x49404e(0x3e5)]()),this[_0x49404e(0x2f4)]&&((_0x3861f8=this['_singleActiveUnitService'])==null||_0x3861f8['editingUnit'](this[_0x49404e(0x4ef)]),this[_0x49404e(0x324)](this[_0x49404e(0x2f4)][_0x49404e(0x53f)](this[_0x49404e(0x4ef)])[_0x49404e(0x618)](_0x4bcbdc=>{const _0x2e096b=_0x49404e;this[_0x2e096b(0x4a0)][_0x2e096b(0x204)](_0x2e096b(0x4bb),_0x2e096b(0x47d),_0x4bcbdc),_0x4bcbdc===_0x4fffde[_0x2e096b(0x376)]?(this[_0x2e096b(0x5e5)][_0x2e096b(0x1f7)]({'content':this[_0x2e096b(0x269)]['t']('collaboration.single-unit.warning'),'type':_0x1fd227[_0x2e096b(0x5a3)][_0x2e096b(0x412)]}),this['_permissionService'][_0x2e096b(0x2c5)](new _0x562d18[(_0x2e096b(0x650))](this['unitID'])['id'],!0x1),this[_0x2e096b(0x2b0)]['setShowComponents'](!0x1)):(this[_0x2e096b(0x2b0)][_0x2e096b(0x2c5)](new _0x562d18['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x2e096b(0x2b0)][_0x2e096b(0x313)](!0x0));})));let _0x408944=!0x1;return this[_0x49404e(0x324)](this['session'][_0x49404e(0x5dc)][_0x49404e(0x618)](_0x34b33f=>{const _0x16b162=_0x49404e;_0x34b33f===_0x45bbdd[_0x16b162(0x2f9)]?this[_0x16b162(0x2ab)](_0x408944):_0x34b33f===_0x45bbdd[_0x16b162(0x64a)]&&(_0x408944=!0x0,this[_0x16b162(0x58b)]());})),this[_0x49404e(0x324)](this[_0x49404e(0x3b4)][_0x49404e(0x1f0)][_0x49404e(0x618)](_0x1da165=>{const _0x521111=_0x49404e;try{switch(_0x1da165[_0x521111(0x610)]){case _0x307efd['CollaborationEvent'][_0x521111(0x65d)]:{this['_onRemoteChangeset'](_0x307efd['parseProtocolChangeset'](_0x1da165[_0x521111(0x530)]));break;}case _0x307efd[_0x521111(0x3ad)][_0x521111(0x1be)]:{this[_0x521111(0x573)](_0x1da165[_0x521111(0x530)]);break;}case _0x307efd['CollaborationEvent']['CHANGESET_REJ']:{this[_0x521111(0x62a)]();break;}case _0x307efd['CollaborationEvent'][_0x521111(0x3bb)]:{this['_onRemoteRetry'](_0x1da165[_0x521111(0x530)]);break;}case _0x307efd[_0x521111(0x3ad)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x521111(0x2e4)](_0x1da165['data'][_0x521111(0x4f2)]['map'](_0x3bc76f=>_0x307efd[_0x521111(0x382)](_0x3bc76f)));break;}case _0x307efd[_0x521111(0x3ad)][_0x521111(0x5a8)]:this[_0x521111(0x62a)]({'isPermissionRej':!0x0});}}catch(_0x257c1e){throw console[_0x521111(0x4dc)](_0x521111(0x495),_0x257c1e),_0x257c1e;}})),this[_0x49404e(0x211)];}[_0x3739fa(0x20c)](){const _0x1d34b5=_0x3739fa;this[_0x1d34b5(0x377)]=!0x1;}[_0x3739fa(0x615)](){const _0x20aebc=_0x3739fa;if(this[_0x20aebc(0x377)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x20aebc(0x377)]=!0x0;}['_onLocalMutation'](_0x4db6b5){const _0x35fd54=_0x3739fa;this[_0x35fd54(0x615)](),this[_0x35fd54(0x334)](this[_0x35fd54(0x211)]['appendMutation'](_0x4db6b5)),this[_0x35fd54(0x20c)]();}['_onRemoteChangeset'](_0x4e7bbc){const _0x5b94c6=_0x3739fa;if(!(_0x4e7bbc[_0x5b94c6(0x24a)]<=this[_0x5b94c6(0x5c5)][_0x5b94c6(0x673)](this['unitID']))){if(this[_0x5b94c6(0x53b)]){this[_0x5b94c6(0x647)][_0x5b94c6(0x5c6)](_0x4e7bbc);return;}this['_applyRemoteChangeset'](_0x4e7bbc);}}[_0x3739fa(0x308)](){const _0x5b8d3a=_0x3739fa;this[_0x5b8d3a(0x647)][_0x5b8d3a(0x5a5)](_0xf1fce1=>this[_0x5b8d3a(0x35c)](_0xf1fce1)),this['_remoteChangesetQueue']=[];}[_0x3739fa(0x35c)](_0x3b5a35){const _0x52719d=_0x3739fa,_0x5e02f1=this['_compressMutationService'][_0x52719d(0x32d)][_0x52719d(0x55e)](this['_compressMutationService'][_0x52719d(0x32d)][_0x52719d(0x294)]()[_0x52719d(0x49f)])(_0x3b5a35[_0x52719d(0x5ac)],null)||_0x3b5a35[_0x52719d(0x5ac)],_0x1563df={..._0x3b5a35,'mutations':_0x5e02f1};this['_lockTransition'](),this[_0x52719d(0x334)](this[_0x52719d(0x211)][_0x52719d(0x34c)](_0x1563df)),this[_0x52719d(0x20c)]();}[_0x3739fa(0x573)](_0x6e7c60){const _0x3928d5=_0x3739fa;this['_lockTransition'](),this[_0x3928d5(0x334)](this[_0x3928d5(0x211)][_0x3928d5(0x550)](_0x6e7c60)),this['_unlockTransition']();}[_0x3739fa(0x62a)](_0x5b6ce8){const _0x4ed569=_0x3739fa;this[_0x4ed569(0x615)](),this[_0x4ed569(0x334)](this[_0x4ed569(0x211)]['onRemoteRej'](_0x5b6ce8)),this['_unlockTransition']();}[_0x3739fa(0x651)](_0x1a5662){const _0x47667a=_0x3739fa;this[_0x47667a(0x615)](),this[_0x47667a(0x334)](this['_state']['onRemoteRetry'](_0x1a5662)),this['_unlockTransition']();}[_0x3739fa(0x2e4)](_0x5d1bde){const _0x3fb9fd=_0x3739fa;if(!(this['_state']instanceof _0x8dcc5b))throw new TypeError(_0x3fb9fd(0x2a2));const _0xa4ee47=_0x5d1bde[_0x3fb9fd(0x312)](_0x2b5566=>{const _0x1b555d=_0x3fb9fd,_0x31f1b2=this['_compressMutationService'][_0x1b555d(0x32d)][_0x1b555d(0x55e)](this[_0x1b555d(0x214)][_0x1b555d(0x32d)]['getInterceptPoints']()[_0x1b555d(0x49f)])(_0x2b5566[_0x1b555d(0x5ac)],null)||_0x2b5566['mutations'];return{..._0x2b5566,'mutations':_0x31f1b2};});this[_0x3fb9fd(0x615)](),this[_0x3fb9fd(0x334)](this[_0x3fb9fd(0x211)][_0x3fb9fd(0x393)](_0xa4ee47)),this['_unlockTransition']();}[_0x3739fa(0x58b)](){const _0x3123ec=_0x3739fa;this['_lockTransition'](),this['_updateState'](this['_state'][_0x3123ec(0x458)]()),this['_unlockTransition']();}[_0x3739fa(0x2ab)](_0x43a626=!0x1){const _0x5574e5=_0x3739fa;this[_0x5574e5(0x615)](),this['_updateState'](this[_0x5574e5(0x211)][_0x5574e5(0x415)]()),this[_0x5574e5(0x20c)]();const _0x3cc23d=this['_state'];_0x43a626&&_0x3cc23d instanceof _0x17fe8d&&(this[_0x5574e5(0x615)](),this[_0x5574e5(0x334)](_0x3cc23d[_0x5574e5(0x514)]()),this[_0x5574e5(0x20c)]());}async[_0x3739fa(0x3e5)](){return new Promise(_0xa0450a=>{const _0x1e7f57=_0x2e6a;this['session']['sessionStatus$'][_0x1e7f57(0x681)](_0x19f426[_0x1e7f57(0x291)](0x1))[_0x1e7f57(0x618)](async _0x2525c0=>{const _0x482b74=_0x1e7f57;_0xa0450a(await this['_createInitialStateImpl'](_0x2525c0===_0x45bbdd[_0x482b74(0x2f9)]));});});}[_0x3739fa(0x1c0)](){const _0x1f2aba=_0x3739fa,_0x21f863=this[_0x1f2aba(0x4ef)];return{'onStateChange':(_0x36546a,_0x4b118a)=>{const _0x289b84=_0x1f2aba;if(_0x36546a!==this[_0x289b84(0x211)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x36546a['status']+_0x289b84(0x236)+_0x4b118a[_0x289b84(0x23d)]+_0x289b84(0x37f)+this[_0x289b84(0x211)]['status']);this[_0x289b84(0x334)](_0x4b118a);},'onSendChangeset':_0x52c445=>{const _0x6a6a5d=_0x1f2aba;_0x52c445[_0x6a6a5d(0x5fd)]||(_0x52c445[_0x6a6a5d(0x5fd)]=this['_changesetSessionId'],_0x52c445[_0x6a6a5d(0x2de)]=++this['_changesetReqId']);const _0x2c0aae={'eventID':_0x307efd[_0x6a6a5d(0x3ad)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x52c445[_0x6a6a5d(0x4ef)],'unitType':this['_type'],'changeset':_0x52c445,'memberID':this[_0x6a6a5d(0x3b4)][_0x6a6a5d(0x5fb)]()}};this[_0x6a6a5d(0x3b4)][_0x6a6a5d(0x2ce)](_0x2c0aae,this['unitID']);},'onMissingChangesets':({from:_0xbace4f,to:_0x3fe57e})=>{const _0x5e8325=_0x1f2aba;this['_logService'][_0x5e8325(0x204)]('[CollaborationEntity]',_0x5e8325(0x59e)+_0xbace4f+_0x5e8325(0x5b8)+_0x3fe57e);const _0x21e2c0={'eventID':_0x307efd[_0x5e8325(0x3ad)][_0x5e8325(0x330)],'data':{'unitID':_0x21f863,'unitType':this[_0x5e8325(0x470)],'from':_0xbace4f,'to':_0x3fe57e}};this[_0x5e8325(0x3b4)][_0x5e8325(0x2ce)](_0x21e2c0,this[_0x5e8325(0x4ef)]);}};}async['_createInitialStateImpl'](_0x8c085){const _0x524ae8=_0x3739fa;var _0x59a2fd,_0x127f08;const _0x33d365=await this[_0x524ae8(0x26d)][_0x524ae8(0x566)](this[_0x524ae8(0x4ef)]),_0x22c3df=(_0x59a2fd=_0x33d365==null?void 0x0:_0x33d365['mutations'])!=null?_0x59a2fd:[],_0x5124b9=(_0x127f08=_0x33d365==null?void 0x0:_0x33d365['awaitingChangeset'])!=null?_0x127f08:null,_0x151113=!!(_0x5124b9!=null&&_0x5124b9[_0x524ae8(0x5fd)])&&!!(_0x5124b9!=null&&_0x5124b9[_0x524ae8(0x2de)]);this[_0x524ae8(0x5c9)]=_0x151113?_0x5124b9[_0x524ae8(0x5fd)]:_0x195e1e(),this[_0x524ae8(0x561)]=_0x151113?_0x5124b9[_0x524ae8(0x2de)]:0x0;const _0x14acfc=this[_0x524ae8(0x4ef)];try{this['_replayCachedMutations'](_0x5124b9,_0x22c3df);}catch(_0x424232){this['_logService'][_0x524ae8(0x4dc)](_0x424232);}const _0xf87fab=this[_0x524ae8(0x1c0)]();if(_0x8c085){const _0x262a89=_0x4792c1(this[_0x524ae8(0x3e2)],_0x14acfc,this['_type'],_0x5124b9,_0x22c3df,_0xf87fab);return _0x262a89 instanceof _0x39ef76?_0x262a89[_0x524ae8(0x683)]():(_0x262a89 instanceof _0x5c69ce||_0x262a89 instanceof _0x2585b1)&&_0x262a89[_0x524ae8(0x310)](),_0x262a89;}return this[_0x524ae8(0x3e2)][_0x524ae8(0x21c)](_0x37bb93,_0x14acfc,this[_0x524ae8(0x470)],_0x5124b9,_0x22c3df,_0xf87fab);}[_0x3739fa(0x503)](_0x34479d,_0xdaf5ee){const _0x51546c=_0x3739fa;var _0x5d6d42,_0x3b95ce;const _0x34593f=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x51546c(0x214)][_0x51546c(0x32d)][_0x51546c(0x294)]()['COMPRESS_MUTATION_APPLY']);(_0x5d6d42=_0x34593f((_0x34479d==null?void 0x0:_0x34479d['mutations'])||[],null))==null||_0x5d6d42[_0x51546c(0x5a5)](_0x56d5ba=>this[_0x51546c(0x303)][_0x51546c(0x4b6)](_0x56d5ba['id'],_0x56d5ba[_0x51546c(0x538)])),(_0x3b95ce=_0x34593f(_0xdaf5ee||[],null))==null||_0x3b95ce[_0x51546c(0x5a5)](_0x7e48df=>this[_0x51546c(0x303)]['executeCommand'](_0x7e48df['id'],_0x7e48df['params']));}},_0x342316['CollaborationEntity']=_0x486efe([_0x50ad81(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x50ad81(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x342316['LocalCacheService'])),_0x50ad81(0x5,_0x27458f[_0x3739fa(0x2bf)](_0x307efd['CompressMutationService'])),_0x50ad81(0x6,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x4f3)])),_0x50ad81(0x7,_0x27458f[_0x3739fa(0x2bf)](_0x307efd['RevisionService'])),_0x50ad81(0x8,_0x27458f[_0x3739fa(0x592)]),_0x50ad81(0x9,_0x27458f[_0x3739fa(0x52f)]),_0x50ad81(0xa,_0x299d72['IMessageService']),_0x50ad81(0xb,_0x27458f[_0x3739fa(0x613)]),_0x50ad81(0xc,_0x27458f[_0x3739fa(0x38f)](_0x23092d))],_0x342316[_0x3739fa(0x56f)]),_0x342316[_0x3739fa(0x327)]=class extends _0x342316['CollaborationEntity']{constructor(_0x515627,_0x5e23ac,_0x4fefe7,_0x3ae13d,_0x169b2a,_0x48d244,_0x33167b,_0x408da3,_0x3e0efa,_0x4dd291,_0x51ea85,_0x10a440,_0x46627c,_0x5494c9,_0x233d5d,_0x11a6b5,_0x3b2ec0,_0x3e8afd){const _0x2b0c5d=_0x3739fa;super(_0x515627,_0x4fefe7,_0x5e23ac,_0x3ae13d,_0x169b2a,_0x48d244,_0x33167b,_0x408da3,_0x5494c9,_0x233d5d,_0x11a6b5,_0x3b2ec0,_0x3e8afd),this[_0x2b0c5d(0x4ef)]=_0x515627,this['type']=_0x5e23ac,this[_0x2b0c5d(0x490)]=_0x3e0efa,this[_0x2b0c5d(0x425)]=_0x4dd291,this[_0x2b0c5d(0x633)]=_0x51ea85,this[_0x2b0c5d(0x554)]=_0x10a440,this['_docSyncEditingCollabCursorService']=_0x46627c;}[_0x3739fa(0x1c0)](){const _0x3c3af0=_0x3739fa,_0xd3ce6b=super[_0x3c3af0(0x1c0)]();return _0xd3ce6b[_0x3c3af0(0x609)]=_0x2f4e67=>this['_docTransformIMECacheService'][_0x3c3af0(0x422)](_0x2f4e67),_0xd3ce6b[_0x3c3af0(0x3a0)]=_0x150d6c=>this[_0x3c3af0(0x633)]['transformStateCache'](_0x150d6c),_0xd3ce6b[_0x3c3af0(0x5ed)]=_0x3aea51=>this['_docTransformSelectionsService'][_0x3c3af0(0x353)](_0x3aea51),_0xd3ce6b[_0x3c3af0(0x2eb)]=_0x5714b0=>this[_0x3c3af0(0x66b)][_0x3c3af0(0x1c4)](_0x5714b0),_0xd3ce6b['onTransformRemoteChangesetByIMECache']=_0xfbe059=>this['_docTransformIMECacheService'][_0x3c3af0(0x564)](_0xfbe059),_0xd3ce6b[_0x3c3af0(0x38d)]=_0x245c4=>this[_0x3c3af0(0x633)]['transformRemoteChangeset'](_0x245c4),_0xd3ce6b;}async[_0x3739fa(0x328)](){const _0x9e4a86=_0x3739fa,_0x58191b=await super[_0x9e4a86(0x328)]();return this[_0x9e4a86(0x324)](this[_0x9e4a86(0x490)]['docStateChange$'][_0x9e4a86(0x681)](_0x19f426[_0x9e4a86(0x41a)](this[_0x9e4a86(0x323)]))[_0x9e4a86(0x618)](_0x251cae=>{const _0x6a5dc3=_0x9e4a86;if(_0x251cae==null)return;const {unitId:_0x253f61,redoState:_0x4c36de,commandId:_0x569703}=_0x251cae;if(_0x253f61!==this[_0x6a5dc3(0x4ef)])return;const _0x4df07a={'id':_0x569703,'type':_0x27458f['CommandType'][_0x6a5dc3(0x549)],'params':{'unitId':_0x253f61,'actions':_0x4c36de['actions'],'textRanges':null}};this['_onLocalMutation'](_0x4df07a);})),this[_0x9e4a86(0x324)](this[_0x9e4a86(0x303)][_0x9e4a86(0x36b)]((_0x32aa27,_0x1e50d4)=>{const _0x5c91d2=_0x9e4a86;if(_0x32aa27['type']!==_0x27458f[_0x5c91d2(0x30b)][_0x5c91d2(0x549)]||_0x1e50d4!=null&&_0x1e50d4[_0x5c91d2(0x49b)]||_0x1e50d4!=null&&_0x1e50d4['onlyLocal']||_0x32aa27['id']===_0x6a88d9[_0x5c91d2(0x239)]['id'])return;const _0x3b0e82=_0x32aa27[_0x5c91d2(0x538)];if((_0x3b0e82==null?void 0x0:_0x3b0e82[_0x5c91d2(0x231)])!==this[_0x5c91d2(0x4ef)])return;const _0x436ea3=_0x32aa27,_0x469ba8=this[_0x5c91d2(0x214)]['interceptor'][_0x5c91d2(0x55e)](this[_0x5c91d2(0x214)][_0x5c91d2(0x32d)]['getInterceptPoints']()[_0x5c91d2(0x4ff)])([_0x436ea3],null)||[_0x436ea3];this[_0x5c91d2(0x643)](_0x469ba8[0x0]);})),_0x58191b;}},_0x342316[_0x3739fa(0x327)]=_0x486efe([_0x50ad81(0x3,_0x27458f['Inject'](_0x27458f[_0x3739fa(0x47b)])),_0x50ad81(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x1b4)])),_0x50ad81(0x5,_0x27458f[_0x3739fa(0x2bf)](_0x307efd[_0x3739fa(0x41d)])),_0x50ad81(0x6,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x4f3)])),_0x50ad81(0x7,_0x27458f[_0x3739fa(0x2bf)](_0x307efd['RevisionService'])),_0x50ad81(0x8,_0x27458f['Inject'](_0x42c347['DocStateChangeManagerService'])),_0x50ad81(0x9,_0x27458f[_0x3739fa(0x2bf)](_0x2541de)),_0x50ad81(0xa,_0x27458f[_0x3739fa(0x2bf)](_0x13ab85)),_0x50ad81(0xb,_0x27458f[_0x3739fa(0x2bf)](_0x8f0249)),_0x50ad81(0xc,_0x27458f[_0x3739fa(0x2bf)](_0x2615e8)),_0x50ad81(0xd,_0x27458f[_0x3739fa(0x592)]),_0x50ad81(0xe,_0x27458f[_0x3739fa(0x52f)]),_0x50ad81(0xf,_0x299d72['IMessageService']),_0x50ad81(0x10,_0x27458f['IPermissionService']),_0x50ad81(0x11,_0x27458f[_0x3739fa(0x38f)](_0x23092d))],_0x342316[_0x3739fa(0x327)]),_0x342316[_0x3739fa(0x314)]=class extends _0x342316[_0x3739fa(0x56f)]{constructor(_0xefee82,_0x3ea41c,_0x53a3ec,_0x53805c,_0x367118,_0x13c1c3,_0xc3d2d1,_0x3d3600,_0x2390fc,_0x24902e,_0x827703,_0x4310e7,_0x3a8dbe,_0x4472a5){const _0x2d7831=_0x3739fa;super(_0xefee82,_0x53a3ec,_0x3ea41c,_0x53805c,_0x367118,_0x13c1c3,_0xc3d2d1,_0x3d3600,_0x24902e,_0x827703,_0x4310e7,_0x3a8dbe,_0x4472a5),this[_0x2d7831(0x4ef)]=_0xefee82,this['type']=_0x3ea41c,this[_0x2d7831(0x336)]=_0x2390fc;}[_0x3739fa(0x1c0)](){const _0x45de64=_0x3739fa,_0x37f0e7=super[_0x45de64(0x1c0)]();return _0x37f0e7[_0x45de64(0x5ed)]=_0x55da36=>this[_0x45de64(0x336)][_0x45de64(0x353)](_0x55da36),_0x37f0e7;}async[_0x3739fa(0x328)](){const _0x1f0557=_0x3739fa,_0x56cacd=await super[_0x1f0557(0x328)]();return this[_0x1f0557(0x324)](this[_0x1f0557(0x303)]['onCommandExecuted']((_0x455c09,_0x5cd6e8)=>{const _0x5701f5=_0x1f0557;if(_0x455c09[_0x5701f5(0x5e4)]!==_0x27458f['CommandType'][_0x5701f5(0x549)]||_0x5cd6e8!=null&&_0x5cd6e8[_0x5701f5(0x49b)]||_0x5cd6e8!=null&&_0x5cd6e8['onlyLocal'])return;const _0xccae06=_0x455c09[_0x5701f5(0x538)];if((_0xccae06==null?void 0x0:_0xccae06[_0x5701f5(0x231)])!==this[_0x5701f5(0x4ef)])return;const _0x52fed6=_0x455c09,_0xda74c7=this['_compressMutationService'][_0x5701f5(0x32d)][_0x5701f5(0x55e)](this[_0x5701f5(0x214)]['interceptor'][_0x5701f5(0x294)]()[_0x5701f5(0x4ff)])([_0x52fed6],null)||[_0x52fed6];this[_0x5701f5(0x643)](_0xda74c7[0x0]);})),_0x56cacd;}},_0x342316[_0x3739fa(0x314)]=_0x486efe([_0x50ad81(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x50ad81(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x1b4)])),_0x50ad81(0x5,_0x27458f[_0x3739fa(0x2bf)](_0x307efd['CompressMutationService'])),_0x50ad81(0x6,_0x27458f['Inject'](_0x27458f['LocaleService'])),_0x50ad81(0x7,_0x27458f[_0x3739fa(0x2bf)](_0x307efd[_0x3739fa(0x351)])),_0x50ad81(0x8,_0x27458f[_0x3739fa(0x2bf)](_0x216c0f)),_0x50ad81(0x9,_0x27458f[_0x3739fa(0x592)]),_0x50ad81(0xa,_0x27458f[_0x3739fa(0x52f)]),_0x50ad81(0xb,_0x299d72[_0x3739fa(0x28b)]),_0x50ad81(0xc,_0x27458f[_0x3739fa(0x613)]),_0x50ad81(0xd,_0x27458f[_0x3739fa(0x38f)](_0x23092d))],_0x342316[_0x3739fa(0x314)]);var _0x4f9c5e=Object[_0x3739fa(0x2c0)],_0x4cd569=Object[_0x3739fa(0x4e4)],_0x2a973e=(_0x170b3a,_0x5e4f8f,_0x5e3f20,_0x435eb8)=>{const _0x4558f7=_0x3739fa;for(var _0x507613=_0x435eb8>0x1?void 0x0:_0x435eb8?_0x4cd569(_0x5e4f8f,_0x5e3f20):_0x5e4f8f,_0x3174dc=_0x170b3a[_0x4558f7(0x477)]-0x1,_0x2ad939;_0x3174dc>=0x0;_0x3174dc--)(_0x2ad939=_0x170b3a[_0x3174dc])&&(_0x507613=(_0x435eb8?_0x2ad939(_0x5e4f8f,_0x5e3f20,_0x507613):_0x2ad939(_0x507613))||_0x507613);return _0x435eb8&&_0x507613&&_0x4f9c5e(_0x5e4f8f,_0x5e3f20,_0x507613),_0x507613;},_0x55f090=(_0x56703d,_0x55bd0)=>(_0x25786b,_0x42e7d3)=>_0x55bd0(_0x25786b,_0x42e7d3,_0x56703d);_0x342316[_0x3739fa(0x637)]=class extends _0x27458f['RxDisposable']{constructor(_0x22b300,_0x3422ce,_0x5099d3){const _0x486c24=_0x3739fa;super(),_0x13ba75(this,_0x486c24(0x3f0),new Map()),_0x13ba75(this,_0x486c24(0x42a),new _0x19f426[(_0x486c24(0x67c))]()),(this[_0x486c24(0x3e2)]=_0x22b300,this['_collabSessionService']=_0x3422ce,this[_0x486c24(0x1f1)]=_0x5099d3,this[_0x486c24(0x328)]());}[_0x3739fa(0x217)](){const _0x4b1574=_0x3739fa;super[_0x4b1574(0x217)](),this['_entities'][_0x4b1574(0x5a5)](_0x15b082=>_0x15b082[_0x4b1574(0x217)]()),this[_0x4b1574(0x3f0)]['clear']();}[_0x3739fa(0x5a0)](_0x4c2cf8){const _0x2ec35e=_0x3739fa;var _0xf3f73;return(_0xf3f73=this[_0x2ec35e(0x3f0)][_0x2ec35e(0x340)](_0x4c2cf8))!=null?_0xf3f73:null;}[_0x3739fa(0x357)](_0x36b83a){const _0x108bc9=_0x3739fa,_0x1faa70=this[_0x108bc9(0x5a0)](_0x36b83a);return _0x1faa70?_0x19f426['of'](_0x1faa70):this['_entityInit$'][_0x108bc9(0x681)](_0x23e740[_0x108bc9(0x3c7)](_0x15e6f9=>_0x15e6f9[_0x108bc9(0x4ef)]===_0x36b83a));}[_0x3739fa(0x328)](){const _0x210036=_0x3739fa;this[_0x210036(0x1f1)][_0x210036(0x420)](_0x27458f[_0x210036(0x629)]['UNIVER_SHEET'])[_0x210036(0x681)](_0x19f426[_0x210036(0x41a)](this[_0x210036(0x323)]),_0x23e740[_0x210036(0x62e)](0x10))['subscribe'](async _0x1b22d0=>{const _0x4aae27=_0x210036,_0x3b3c73=_0x1b22d0[_0x4aae27(0x3d7)](),_0x6e8510=await this[_0x4aae27(0x5a7)](_0x3b3c73,_0x262f56['UNIVER_SHEET']);this[_0x4aae27(0x3f0)][_0x4aae27(0x1f5)](_0x3b3c73,_0x6e8510);}),this['_univerInstanceService'][_0x210036(0x420)](_0x27458f[_0x210036(0x629)][_0x210036(0x4c3)])[_0x210036(0x681)](_0x19f426['takeUntil'](this[_0x210036(0x323)]),_0x23e740[_0x210036(0x62e)](0x10))[_0x210036(0x681)](_0x23e740[_0x210036(0x3c7)](_0x1b0370=>!_0x1b0370[_0x210036(0x3d7)]()[_0x210036(0x5b7)]('__')))[_0x210036(0x618)](async _0x1cb449=>{const _0x353e6f=_0x210036,_0x19480b=_0x1cb449[_0x353e6f(0x3d7)](),_0x59560b=await this['_startCollaboration'](_0x19480b,_0x262f56[_0x353e6f(0x4c3)]);this[_0x353e6f(0x3f0)][_0x353e6f(0x1f5)](_0x19480b,_0x59560b);}),_0x19f426[_0x210036(0x5a9)](this[_0x210036(0x1f1)][_0x210036(0x228)](_0x27458f[_0x210036(0x629)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x210036(0x228)](_0x27458f[_0x210036(0x629)][_0x210036(0x4c3)]))[_0x210036(0x681)](_0x19f426[_0x210036(0x41a)](this['dispose$']))[_0x210036(0x618)](_0x374a0c=>{const _0x5049ec=_0x210036,_0xd754f9=_0x374a0c['getUnitId'](),_0x3f9aa6=this[_0x5049ec(0x3f0)]['get'](_0xd754f9);_0x3f9aa6&&(_0x3f9aa6[_0x5049ec(0x217)](),this[_0x5049ec(0x3f0)]['delete'](_0xd754f9));});}async[_0x3739fa(0x5a7)](_0x266036,_0xa276ac){const _0x498a79=_0x3739fa,_0x8e4e08=await this[_0x498a79(0x536)][_0x498a79(0x4db)](_0x266036),_0x34b629=this['_injector'][_0x498a79(0x21c)](this[_0x498a79(0x1bc)](_0xa276ac),_0x266036,_0xa276ac,_0x8e4e08);return await _0x34b629[_0x498a79(0x494)](),this[_0x498a79(0x42a)][_0x498a79(0x594)](_0x34b629),_0x34b629;}[_0x3739fa(0x1bc)](_0x13b4c4){const _0x173402=_0x3739fa;switch(_0x13b4c4){case _0x262f56[_0x173402(0x4c3)]:return _0x342316['DocCollaborationEntity'];case _0x262f56[_0x173402(0x497)]:return _0x342316[_0x173402(0x314)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x13b4c4);}}},_0x342316['CollaborationController']=_0x2a973e([_0x55f090(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x27458f['Injector'])),_0x55f090(0x1,_0x27458f['Inject'](_0x342316[_0x3739fa(0x2d1)])),_0x55f090(0x2,_0x27458f[_0x3739fa(0x2e8)])],_0x342316[_0x3739fa(0x637)]);var _0x1f9886=Object[_0x3739fa(0x2c0)],_0x17dd42=Object[_0x3739fa(0x4e4)],_0xda3b7e=(_0x64461a,_0x4f2a99,_0x430987,_0x3819ef)=>{const _0x5e85e4=_0x3739fa;for(var _0x29d558=_0x3819ef>0x1?void 0x0:_0x3819ef?_0x17dd42(_0x4f2a99,_0x430987):_0x4f2a99,_0x2c6cd7=_0x64461a[_0x5e85e4(0x477)]-0x1,_0x19cc7b;_0x2c6cd7>=0x0;_0x2c6cd7--)(_0x19cc7b=_0x64461a[_0x2c6cd7])&&(_0x29d558=(_0x3819ef?_0x19cc7b(_0x4f2a99,_0x430987,_0x29d558):_0x19cc7b(_0x29d558))||_0x29d558);return _0x3819ef&&_0x29d558&&_0x1f9886(_0x4f2a99,_0x430987,_0x29d558),_0x29d558;},_0x5186ef=(_0x41680a,_0x3bff05)=>(_0x317777,_0x5618c1)=>_0x3bff05(_0x317777,_0x5618c1,_0x41680a);let _0x1287bd=class extends _0x27458f[_0x3739fa(0x304)]{constructor(_0x364318,_0x4f55af){const _0x10fbdd=_0x3739fa;super(),this[_0x10fbdd(0x22e)]=_0x364318,this[_0x10fbdd(0x3ee)]=_0x4f55af,this[_0x10fbdd(0x328)]();}['_init'](){const _0x55b8da=_0x3739fa,_0x580646=this;this[_0x55b8da(0x324)](this[_0x55b8da(0x22e)][_0x55b8da(0x675)]({'onBeforePasteImage':async _0x444872=>{const _0x19efd3=_0x55b8da,_0x57b62b=await _0x580646[_0x19efd3(0x3ee)][_0x19efd3(0x46f)](_0x444872);return _0x57b62b?{'source':_0x57b62b[_0x19efd3(0x410)],'imageSourceType':_0x57b62b[_0x19efd3(0x305)]}:null;}}));}};_0x1287bd=_0xda3b7e([_0x5186ef(0x0,_0x42c347[_0x3739fa(0x2c1)]),_0x5186ef(0x1,_0x533b24[_0x3739fa(0x4e8)])],_0x1287bd);const _0x465ec2=[_0x3739fa(0x296),'jiqing500',_0x3739fa(0x1e5),'red300',_0x3739fa(0x45c),_0x3739fa(0x1d1)];class _0x5b37ab extends _0x27458f[_0x3739fa(0x5eb)]{constructor(){const _0xfd3d4f=_0x3739fa;super(...arguments),_0x13ba75(this,_0xfd3d4f(0x4cc),new Map()),_0x13ba75(this,_0xfd3d4f(0x21b),0x0);}['assignAColorForMemberID'](_0x3b779b){const _0x4358d9=_0x3739fa;if(this[_0x4358d9(0x4cc)][_0x4358d9(0x3f9)](_0x3b779b))return this[_0x4358d9(0x4cc)][_0x4358d9(0x340)](_0x3b779b);const _0x340740=_0x465ec2[this[_0x4358d9(0x21b)]];return this[_0x4358d9(0x21b)]=(this[_0x4358d9(0x21b)]+0x1)%_0x465ec2[_0x4358d9(0x477)],this[_0x4358d9(0x4cc)][_0x4358d9(0x1f5)](_0x3b779b,_0x340740),_0x340740;}}var _0x4b3bc8=Object[_0x3739fa(0x2c0)],_0x3d0a3d=Object['getOwnPropertyDescriptor'],_0x20f804=(_0x5c38f5,_0x3ba172,_0x531a75,_0x143a8b)=>{const _0x1850a3=_0x3739fa;for(var _0x5bb8b6=_0x143a8b>0x1?void 0x0:_0x143a8b?_0x3d0a3d(_0x3ba172,_0x531a75):_0x3ba172,_0x174de6=_0x5c38f5[_0x1850a3(0x477)]-0x1,_0xe6ae56;_0x174de6>=0x0;_0x174de6--)(_0xe6ae56=_0x5c38f5[_0x174de6])&&(_0x5bb8b6=(_0x143a8b?_0xe6ae56(_0x3ba172,_0x531a75,_0x5bb8b6):_0xe6ae56(_0x5bb8b6))||_0x5bb8b6);return _0x143a8b&&_0x5bb8b6&&_0x4b3bc8(_0x3ba172,_0x531a75,_0x5bb8b6),_0x5bb8b6;},_0x2f4ac5=(_0x4784b0,_0x1e31b5)=>(_0x125a34,_0x36237a)=>_0x1e31b5(_0x125a34,_0x36237a,_0x4784b0);const _0x1a1f9d=0x12c,_0x35b98f=0x64;let _0x1ecf28=class extends _0x27458f[_0x3739fa(0x304)]{constructor(_0x43a3d1,_0x53a3ae,_0x3c8af6,_0x214f8b,_0x49ada7,_0x43a3d3,_0x1186c7,_0x5b4abc,_0x1be511){const _0x15fd49=_0x3739fa;super(),_0x13ba75(this,'_online',!0x1),_0x13ba75(this,_0x15fd49(0x328),!0x1),_0x13ba75(this,_0x15fd49(0x2f6),new _0x19f426[(_0x15fd49(0x41b))](new Map())),_0x13ba75(this,'cursorInfo$',this[_0x15fd49(0x2f6)][_0x15fd49(0x2ba)]()),_0x13ba75(this,_0x15fd49(0x2f8),new _0x19f426[(_0x15fd49(0x41b))]([])),_0x13ba75(this,'roomMembers$',this['_roomMembers$'][_0x15fd49(0x681)](_0x19f426[_0x15fd49(0x29b)](_0x1a1f9d))),_0x13ba75(this,_0x15fd49(0x659),_0x27458f['debounce'](_0x248fcc=>{const _0x173318=_0x15fd49,_0x241b2a={'eventID':_0x307efd[_0x173318(0x3ad)][_0x173318(0x5e8)],'data':{'unitID':this[_0x173318(0x4ef)],'memberID':this[_0x173318(0x1b9)][_0x173318(0x5fb)](),'selection':_0x2f8bd(_0x248fcc)}};this[_0x173318(0x1b9)][_0x173318(0x2ce)](_0x241b2a,this[_0x173318(0x4ef)]);},_0x35b98f)),(this[_0x15fd49(0x4ef)]=_0x43a3d1,this[_0x15fd49(0x1b9)]=_0x53a3ae,this[_0x15fd49(0x3e2)]=_0x3c8af6,this['_colorAssignService']=_0x214f8b,this['_memberService']=_0x49ada7,this['_syncEditingCollabCursorService']=_0x43a3d3,this[_0x15fd49(0x63d)]=_0x1186c7,this[_0x15fd49(0x1f1)]=_0x5b4abc,this[_0x15fd49(0x303)]=_0x1be511);}get['cursorInfo'](){const _0x3a4d11=_0x3739fa;return this['_cursorInfo$'][_0x3a4d11(0x500)]();}get[_0x3739fa(0x399)](){const _0x5f270e=_0x3739fa;return this[_0x5f270e(0x2f8)][_0x5f270e(0x500)]();}[_0x3739fa(0x217)](){const _0x1193d9=_0x3739fa;super[_0x1193d9(0x217)](),this['_cursorInfo$'][_0x1193d9(0x594)](new Map()),this[_0x1193d9(0x2f6)]['complete'](),this[_0x1193d9(0x2f8)][_0x1193d9(0x594)]([]),this[_0x1193d9(0x2f8)][_0x1193d9(0x4e2)]();}['init'](){const _0x1062b6=_0x3739fa;this[_0x1062b6(0x328)]||(this['_init']=!0x0,this[_0x1062b6(0x1b9)][_0x1062b6(0x5dc)][_0x1062b6(0x681)](_0x19f426['takeUntil'](this['dispose$']))[_0x1062b6(0x618)](_0x1e437b=>{const _0x2fe2a4=_0x1062b6;_0x1e437b===_0x45bbdd['ONLINE']?this[_0x2fe2a4(0x2ab)]():this['_toggleOffline']();}),this[_0x1062b6(0x1b9)][_0x1062b6(0x1f0)][_0x1062b6(0x681)](_0x19f426[_0x1062b6(0x41a)](this[_0x1062b6(0x323)]))[_0x1062b6(0x618)](_0x48f5d9=>{const _0x38e16a=_0x1062b6,_0x13a10a=_0x48f5d9[_0x38e16a(0x610)];_0x13a10a===_0x307efd[_0x38e16a(0x3ad)][_0x38e16a(0x5e8)]&&this[_0x38e16a(0x2d6)](_0x48f5d9),_0x13a10a===_0x307efd[_0x38e16a(0x3ad)]['USERS_LEAVE']&&this[_0x38e16a(0x2a7)](_0x48f5d9);}),this['disposeWithMe'](this['_commandService'][_0x1062b6(0x36b)](_0x431105=>{const _0x15aa99=_0x1062b6,_0x31f707=_0x431105[_0x15aa99(0x538)];_0x31f707!=null&&this['_online']&&_0x431105['id']===_0x6a88d9[_0x15aa99(0x2a6)]['id']&&_0x31f707['unitId']===this[_0x15aa99(0x4ef)]&&_0x31f707['isEditing']===!0x1&&_0x31f707['ranges'][_0x15aa99(0x477)]>0x0&&this[_0x15aa99(0x659)](_0x31f707['ranges']);})),this[_0x1062b6(0x5a2)][_0x1062b6(0x5a6)]['pipe'](_0x19f426['takeUntil'](this[_0x1062b6(0x323)]))[_0x1062b6(0x618)](_0x879275=>{const _0x53d53d=_0x1062b6;if((_0x879275==null?void 0x0:_0x879275[_0x53d53d(0x4ef)])!==this[_0x53d53d(0x4ef)])return;const _0x1d2d37={'eventID':_0x307efd[_0x53d53d(0x3ad)]['UPDATE_CURSOR'],'data':_0x879275};this[_0x53d53d(0x2d6)](_0x1d2d37);}),this[_0x1062b6(0x324)](this[_0x1062b6(0x303)][_0x1062b6(0x36b)](_0x4f635c=>{const _0x5b207d=_0x1062b6;if(_0x4f635c[_0x5b207d(0x538)]==null)return;const _0x492689=_0x4f635c[_0x5b207d(0x538)];if(_0x4f635c['id']!==_0x6a88d9['RichTextEditingMutation']['id']||_0x492689[_0x5b207d(0x231)]!==this['unitID'])return;const _0x4d0662={'id':_0x5b207d(0x5aa),'params':_0x492689},_0xb73ab3=this[_0x5b207d(0x2f0)];for(const [_0x495fa7,_0x5258d1]of _0xb73ab3){const _0x94a0fa={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5b207d(0x4ef)],'actions':null,'textRanges':_0x5258d1[_0x5b207d(0x5af)]}},_0x5168da=this[_0x5b207d(0x63d)]['transformMutation'](_0x4d0662,_0x94a0fa,!0x1);if(_0x307efd[_0x5b207d(0x534)](_0x5168da))throw _0x5168da['error'];_0xb73ab3[_0x5b207d(0x1f5)](_0x495fa7,{..._0x5258d1,'ranges':_0x5168da[_0x5b207d(0x491)]['params'][_0x5b207d(0x5ba)]});}queueMicrotask(()=>{const _0x20433c=_0x5b207d;this[_0x20433c(0x2f6)][_0x20433c(0x594)](_0xb73ab3);});})));}[_0x3739fa(0x2d6)](_0x242f0b){const _0x372897=_0x3739fa;var _0x3b0190,_0x4f019c;const {memberID:_0x592eaf,selection:_0x2fee9c}=_0x242f0b[_0x372897(0x530)],_0x56aba8=_0x1ea725(_0x2fee9c),_0x289a27=(_0x4f019c=(_0x3b0190=this[_0x372897(0x5ab)][_0x372897(0x1c2)](this[_0x372897(0x4ef)],_0x592eaf))==null?void 0x0:_0x3b0190['name'])!=null?_0x4f019c:_0x372897(0x450),_0x8a07a6={'color':this[_0x372897(0x66d)][_0x372897(0x426)](_0x592eaf),'name':_0x289a27,'ranges':_0x56aba8},_0x4c8c1a=this[_0x372897(0x2f0)];_0x4c8c1a['set'](_0x592eaf,_0x8a07a6),this[_0x372897(0x2f6)][_0x372897(0x594)](_0x4c8c1a);}['_onCursorDelete'](_0x31ad5f){const _0x4addfa=_0x3739fa,{memberID:_0x4dddd1}=_0x31ad5f['data'],_0x574004=this['cursorInfo'];_0x574004[_0x4addfa(0x660)](_0x4dddd1),this[_0x4addfa(0x2f6)][_0x4addfa(0x594)](_0x574004);}['_toggleOnline'](){const _0x500740=_0x3739fa;var _0x6f2b55;if(this[_0x500740(0x2d3)]=!0x0,((_0x6f2b55=this[_0x500740(0x1f1)][_0x500740(0x273)]())==null?void 0x0:_0x6f2b55[_0x500740(0x3d7)]())!==this[_0x500740(0x4ef)])return;const _0x2574d7=this[_0x500740(0x3e2)]['get'](_0x6a88d9['DocSelectionManagerService'])[_0x500740(0x5c2)]();Array['isArray'](_0x2574d7)&&_0x2574d7[_0x500740(0x477)]>0x0&&this[_0x500740(0x659)](_0x2574d7);}[_0x3739fa(0x58b)](){const _0x270cb1=_0x3739fa;this[_0x270cb1(0x2d3)]=!0x1;}};_0x1ecf28=_0x20f804([_0x2f4ac5(0x2,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x2f4ac5(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x5b37ab)),_0x2f4ac5(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x4a6)])),_0x2f4ac5(0x5,_0x27458f['Inject'](_0x2615e8)),_0x2f4ac5(0x6,_0x307efd[_0x3739fa(0x24d)]),_0x2f4ac5(0x7,_0x27458f[_0x3739fa(0x2e8)]),_0x2f4ac5(0x8,_0x27458f['ICommandService'])],_0x1ecf28);var _0x1eb333=Object[_0x3739fa(0x2c0)],_0x1eb317=Object[_0x3739fa(0x4e4)],_0x5d2aec=(_0x48fcd1,_0x356032,_0x168d76,_0x18c7f7)=>{const _0x524013=_0x3739fa;for(var _0x5a2038=_0x18c7f7>0x1?void 0x0:_0x18c7f7?_0x1eb317(_0x356032,_0x168d76):_0x356032,_0x56bf48=_0x48fcd1[_0x524013(0x477)]-0x1,_0x10f889;_0x56bf48>=0x0;_0x56bf48--)(_0x10f889=_0x48fcd1[_0x56bf48])&&(_0x5a2038=(_0x18c7f7?_0x10f889(_0x356032,_0x168d76,_0x5a2038):_0x10f889(_0x5a2038))||_0x5a2038);return _0x18c7f7&&_0x5a2038&&_0x1eb333(_0x356032,_0x168d76,_0x5a2038),_0x5a2038;},_0x474837=(_0x520b16,_0x31b6e6)=>(_0x5d68cd,_0x159c63)=>_0x31b6e6(_0x5d68cd,_0x159c63,_0x520b16);const _0x42170f=0x12c,_0x331957=0x64,_0x72556b=()=>{let _0x2e65c9=[],_0x4d88ea=!0x1;return _0x54134e=>{const _0x45429d=_0x2e6a;_0x2e65c9[_0x45429d(0x5c6)](_0x54134e),_0x4d88ea||(_0x4d88ea=!0x0,setTimeout(()=>{const _0x376bec=_0x45429d;_0x2e65c9[_0x376bec(0x5a5)](_0x2de5d8=>_0x2de5d8()),_0x2e65c9=[],_0x4d88ea=!0x1;}));};};let _0x20aca4=class extends _0x27458f['RxDisposable']{constructor(_0x460764,_0xb7345c,_0x2867ec,_0x322866,_0x1e46fb,_0x218122,_0x1a246d,_0x4b348f){const _0x5bc6f6=_0x3739fa;super(),_0x13ba75(this,'_online',!0x1),_0x13ba75(this,_0x5bc6f6(0x328),!0x1),_0x13ba75(this,_0x5bc6f6(0x2f6),new _0x19f426[(_0x5bc6f6(0x41b))](new Map())),_0x13ba75(this,_0x5bc6f6(0x57a),this[_0x5bc6f6(0x2f6)][_0x5bc6f6(0x2ba)]()),_0x13ba75(this,_0x5bc6f6(0x2f8),new _0x19f426[(_0x5bc6f6(0x41b))]([])),_0x13ba75(this,_0x5bc6f6(0x316),this[_0x5bc6f6(0x2f8)][_0x5bc6f6(0x681)](_0x19f426[_0x5bc6f6(0x29b)](_0x42170f))),_0x13ba75(this,_0x5bc6f6(0x659),_0x27458f['debounce']((_0x4e93c4,_0xe1885f)=>{const _0x1af4d0=_0x5bc6f6,_0x514c93={'eventID':_0x307efd[_0x1af4d0(0x3ad)][_0x1af4d0(0x5e8)],'data':{'unitID':this['unitID'],'memberID':this[_0x1af4d0(0x1b9)][_0x1af4d0(0x5fb)](),'selection':_0x565fa1['serializeRangeWithSheet'](_0x4e93c4,_0xe1885f['range'])}};this[_0x1af4d0(0x1b9)][_0x1af4d0(0x2ce)](_0x514c93,this[_0x1af4d0(0x4ef)]);},_0x331957)),(this[_0x5bc6f6(0x4ef)]=_0x460764,this[_0x5bc6f6(0x1b9)]=_0xb7345c,this[_0x5bc6f6(0x3e2)]=_0x2867ec,this['_colorAssignService']=_0x322866,this[_0x5bc6f6(0x5ab)]=_0x1e46fb,this[_0x5bc6f6(0x1f1)]=_0x218122,this[_0x5bc6f6(0x303)]=_0x1a246d,this[_0x5bc6f6(0x3a5)]=_0x4b348f);}get[_0x3739fa(0x2f0)](){const _0x41d337=_0x3739fa;return this[_0x41d337(0x2f6)][_0x41d337(0x500)]();}get['roomMembers'](){const _0x329597=_0x3739fa;return this[_0x329597(0x2f8)]['getValue']();}[_0x3739fa(0x217)](){const _0x40b705=_0x3739fa;super[_0x40b705(0x217)](),this['_cursorInfo$'][_0x40b705(0x594)](new Map()),this['_cursorInfo$'][_0x40b705(0x4e2)](),this['_roomMembers$'][_0x40b705(0x594)]([]),this[_0x40b705(0x2f8)][_0x40b705(0x4e2)]();}[_0x3739fa(0x494)](){const _0x524172=_0x3739fa;this['_init']||(this[_0x524172(0x328)]=!0x0,this[_0x524172(0x1b9)][_0x524172(0x5dc)][_0x524172(0x681)](_0x19f426[_0x524172(0x41a)](this['dispose$']))[_0x524172(0x618)](_0x166d17=>{_0x166d17===_0x45bbdd['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x524172(0x1b9)][_0x524172(0x1f0)][_0x524172(0x681)](_0x19f426[_0x524172(0x41a)](this['dispose$']))[_0x524172(0x618)](_0x2ada79=>{const _0x41c8b2=_0x524172,_0x32b763=_0x2ada79[_0x41c8b2(0x610)];_0x32b763===_0x307efd[_0x41c8b2(0x3ad)][_0x41c8b2(0x5e8)]&&this[_0x41c8b2(0x2d6)](_0x2ada79),_0x32b763===_0x307efd['CollaborationEvent'][_0x41c8b2(0x661)]&&this['_onCursorDelete'](_0x2ada79);}),this[_0x524172(0x3bd)](),this[_0x524172(0x324)](this['_commandService'][_0x524172(0x36b)](_0xa38ba=>{const _0x1d01ed=_0x524172;if(this[_0x1d01ed(0x2d3)]&&_0xa38ba['id']===_0x562d18['SetSelectionsOperation']['id']&&_0xa38ba[_0x1d01ed(0x538)]['unitId']===this[_0x1d01ed(0x4ef)]){const _0x5a7350=_0xa38ba[_0x1d01ed(0x538)];this[_0x1d01ed(0x659)](_0x5a7350[_0x1d01ed(0x383)],_0x5a7350['selections'][0x0]);}})));}['_onCursorUpdate'](_0x27108a){const _0xcf8a4c=_0x3739fa;var _0x15994a,_0x1f313f;const {memberID:_0x580707,selection:_0x535f3f}=_0x27108a['data'],{sheetName:_0x15d5a3,range:_0x56a1f9}=_0x565fa1[_0xcf8a4c(0x4a8)](_0x535f3f),_0x5f467a={'name':(_0x1f313f=(_0x15994a=this['_memberService'][_0xcf8a4c(0x1c2)](this[_0xcf8a4c(0x4ef)],_0x580707))==null?void 0x0:_0x15994a[_0xcf8a4c(0x667)])!=null?_0x1f313f:_0xcf8a4c(0x450),'range':this['_getMergeRange'](_0x15d5a3,_0x56a1f9),'sheetID':_0x15d5a3,'color':this[_0xcf8a4c(0x66d)]['assignAColorForMemberID'](_0x580707),'selection':_0x535f3f},_0x43c02e=this[_0xcf8a4c(0x2f0)];_0x43c02e[_0xcf8a4c(0x1f5)](_0x580707,_0x5f467a),this[_0xcf8a4c(0x2f6)][_0xcf8a4c(0x594)](_0x43c02e);}[_0x3739fa(0x2a7)](_0x761938){const _0x2d9ada=_0x3739fa,{memberID:_0x3ebe2d}=_0x761938[_0x2d9ada(0x530)],_0x1eed8c=this['cursorInfo'];_0x1eed8c['delete'](_0x3ebe2d),this[_0x2d9ada(0x2f6)]['next'](_0x1eed8c);}[_0x3739fa(0x250)](_0x5b06bc,_0x229191){const _0x3d13b5=_0x3739fa;var _0xf2c249,_0x4177f7;const _0x3c3b43=(_0x4177f7=(_0xf2c249=this[_0x3d13b5(0x1f1)][_0x3d13b5(0x510)](this[_0x3d13b5(0x4ef)]))==null?void 0x0:_0xf2c249[_0x3d13b5(0x4b1)](_0x5b06bc))==null?void 0x0:_0x4177f7[_0x3d13b5(0x4f7)]();return(_0x3c3b43==null?void 0x0:_0x3c3b43[_0x3d13b5(0x5fc)](_0x5ee03b=>_0x27458f['Rectangle'][_0x3d13b5(0x65f)](_0x5ee03b,_0x229191)))||_0x229191;}['_onRefRangeChange'](){const _0x36956=_0x3739fa,_0x31de9d=new _0x27458f[(_0x36956(0x40c))](),_0x3817a3=_0x72556b(),_0x38c980=()=>{const _0x556d8b=_0x36956;_0x31de9d[_0x556d8b(0x217)]();const _0x2d34d3=(_0x368509,_0x5f35d3,_0x3d82b9,_0x4f47f2)=>{const _0x4f0632=_0x556d8b;let _0x1525bf=[];switch(_0x368509['id']){case _0x562d18[_0x4f0632(0x281)]['DeleteRangeMoveLeftCommandId']:{_0x1525bf=_0x562d18[_0x4f0632(0x342)](_0x368509,_0x4f47f2);break;}case _0x562d18[_0x4f0632(0x281)][_0x4f0632(0x33f)]:{_0x1525bf=_0x562d18[_0x4f0632(0x5ee)](_0x368509,_0x4f47f2);break;}case _0x562d18[_0x4f0632(0x281)][_0x4f0632(0x469)]:{_0x1525bf=_0x562d18[_0x4f0632(0x5b3)](_0x368509,_0x4f47f2);break;}case _0x562d18[_0x4f0632(0x281)]['InsertRangeMoveDownCommandId']:{_0x1525bf=_0x562d18[_0x4f0632(0x36f)](_0x368509,_0x4f47f2);break;}case _0x562d18[_0x4f0632(0x281)][_0x4f0632(0x584)]:{_0x1525bf=_0x562d18[_0x4f0632(0x37a)](_0x368509,_0x4f47f2);break;}case _0x562d18[_0x4f0632(0x281)][_0x4f0632(0x34d)]:{_0x1525bf=_0x562d18[_0x4f0632(0x359)](_0x368509,_0x4f47f2);break;}case _0x562d18['EffectRefRangId']['MoveRangeCommandId']:{_0x1525bf=_0x562d18['handleMoveRange'](_0x368509,_0x4f47f2);break;}case _0x562d18[_0x4f0632(0x281)][_0x4f0632(0x407)]:{_0x1525bf=_0x562d18[_0x4f0632(0x3d1)](_0x368509,_0x4f47f2);break;}case _0x562d18[_0x4f0632(0x281)][_0x4f0632(0x2e1)]:{_0x1525bf=_0x562d18['handleIRemoveRow'](_0x368509,_0x4f47f2);break;}}const _0x3aea59=_0x562d18['runRefRangeMutations'](_0x1525bf,_0x4f47f2),_0x1bae3d=this['cursorInfo'][_0x4f0632(0x340)](_0x5f35d3);if(_0x1bae3d&&_0x3aea59){const _0x354a01={..._0x1bae3d,'range':_0x3aea59};this['cursorInfo']['set'](_0x5f35d3,_0x354a01),_0x3817a3(()=>{const _0x898884=_0x4f0632,_0x5af686=this[_0x898884(0x3a5)][_0x898884(0x3e9)](_0x3aea59,_0x3d8d8b=>(_0x5af686[_0x898884(0x217)](),_0x2d34d3(_0x3d8d8b,_0x5f35d3,_0x3d82b9,_0x3aea59)));_0x31de9d[_0x898884(0x386)](_0x5af686);});}return{'redos':[],'undos':[]};};this[_0x556d8b(0x2f0)][_0x556d8b(0x5a5)]((_0x38e22e,_0x21defc)=>{const _0x4466b1=_0x556d8b,{range:_0x1685d8,sheetID:_0x33e1da}=_0x38e22e,_0x5a9097=this[_0x4466b1(0x3a5)][_0x4466b1(0x3e9)](_0x1685d8,_0x795403=>(_0x5a9097[_0x4466b1(0x217)](),_0x2d34d3(_0x795403,_0x21defc,_0x33e1da,_0x1685d8)));_0x31de9d[_0x4466b1(0x386)](_0x5a9097);});};this[_0x36956(0x324)](_0x27458f[_0x36956(0x44a)](this[_0x36956(0x2f6)][_0x36956(0x618)](()=>{_0x38c980();})));}['_toggleOnline'](){const _0x509131=_0x3739fa;var _0x2a9097,_0x43a0f5;if(this['_online']=!0x0,((_0x2a9097=this['_univerInstanceService'][_0x509131(0x273)]())==null?void 0x0:_0x2a9097[_0x509131(0x3d7)]())!==this['unitID'])return;const _0x47744a=(_0x43a0f5=this[_0x509131(0x3e2)][_0x509131(0x340)](_0x562d18[_0x509131(0x569)])[_0x509131(0x251)]())==null?void 0x0:_0x43a0f5[0x0],_0x153d14=this[_0x509131(0x1f1)][_0x509131(0x5ef)](_0x27458f[_0x509131(0x629)][_0x509131(0x497)])['getActiveSheet']();_0x47744a&&_0x153d14&&this[_0x509131(0x659)](_0x153d14[_0x509131(0x5dd)](),_0x47744a);}['_toggleOffline'](){const _0x305151=_0x3739fa;this[_0x305151(0x2d3)]=!0x1;}};_0x20aca4=_0x5d2aec([_0x474837(0x2,_0x27458f[_0x3739fa(0x2bf)](_0x27458f['Injector'])),_0x474837(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x5b37ab)),_0x474837(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x4a6)])),_0x474837(0x5,_0x27458f[_0x3739fa(0x2e8)]),_0x474837(0x6,_0x27458f[_0x3739fa(0x52f)]),_0x474837(0x7,_0x27458f[_0x3739fa(0x2bf)](_0x562d18['RefRangeService']))],_0x20aca4);var _0x579624=Object[_0x3739fa(0x2c0)],_0x5bb02a=Object['getOwnPropertyDescriptor'],_0x50f9b5=(_0x2f576b,_0x26ee6f,_0x4db27a,_0x4ed4c1)=>{for(var _0x4ca86c=_0x4ed4c1>0x1?void 0x0:_0x4ed4c1?_0x5bb02a(_0x26ee6f,_0x4db27a):_0x26ee6f,_0x4da8e6=_0x2f576b['length']-0x1,_0x882f8a;_0x4da8e6>=0x0;_0x4da8e6--)(_0x882f8a=_0x2f576b[_0x4da8e6])&&(_0x4ca86c=(_0x4ed4c1?_0x882f8a(_0x26ee6f,_0x4db27a,_0x4ca86c):_0x882f8a(_0x4ca86c))||_0x4ca86c);return _0x4ed4c1&&_0x4ca86c&&_0x579624(_0x26ee6f,_0x4db27a,_0x4ca86c),_0x4ca86c;},_0x592458=(_0x18025d,_0x40c290)=>(_0x51827d,_0x3145f9)=>_0x40c290(_0x51827d,_0x3145f9,_0x18025d);let _0x502a80=class extends _0x27458f[_0x3739fa(0x304)]{constructor(_0x720bfb,_0x3f8f82,_0x4b4677){const _0x30f2e7=_0x3739fa;super(),_0x13ba75(this,_0x30f2e7(0x3f0),new Map()),_0x13ba75(this,_0x30f2e7(0x42a),new _0x19f426['Subject']()),(this[_0x30f2e7(0x1f1)]=_0x720bfb,this[_0x30f2e7(0x3e2)]=_0x3f8f82,this[_0x30f2e7(0x536)]=_0x4b4677,this[_0x30f2e7(0x328)]());}[_0x3739fa(0x217)](){const _0x1830c0=_0x3739fa;super[_0x1830c0(0x217)](),this[_0x1830c0(0x42a)][_0x1830c0(0x4e2)](),this[_0x1830c0(0x3f0)][_0x1830c0(0x5a5)](_0x59e189=>_0x59e189['dispose']());}[_0x3739fa(0x3fc)](_0x17a994){const _0x4c50a3=_0x3739fa;return this[_0x4c50a3(0x3f0)]['has'](_0x17a994)?this['_entities'][_0x4c50a3(0x340)](_0x17a994)['cursorInfo$']:this['_entityInit$']['pipe'](_0x19f426[_0x4c50a3(0x3c7)](_0x58bf02=>_0x58bf02[_0x4c50a3(0x4ef)]===_0x17a994),_0x19f426['switchMap'](_0x367faf=>_0x367faf['cursorInfo$']));}[_0x3739fa(0x328)](){const _0x39883e=_0x3739fa;this[_0x39883e(0x1f1)][_0x39883e(0x420)](_0x27458f[_0x39883e(0x629)][_0x39883e(0x497)])[_0x39883e(0x681)](_0x19f426[_0x39883e(0x41a)](this[_0x39883e(0x323)]))[_0x39883e(0x618)](async _0x5e2174=>{const _0x49a3f9=_0x39883e,_0x3d8244=_0x5e2174[_0x49a3f9(0x3d7)](),_0x2ba245=await this[_0x49a3f9(0x23a)](_0x3d8244);this[_0x49a3f9(0x42a)][_0x49a3f9(0x594)](_0x2ba245),this['_entities'][_0x49a3f9(0x1f5)](_0x3d8244,_0x2ba245);}),this[_0x39883e(0x1f1)]['getTypeOfUnitAdded$'](_0x27458f[_0x39883e(0x629)][_0x39883e(0x4c3)])['pipe'](_0x19f426[_0x39883e(0x41a)](this[_0x39883e(0x323)]))[_0x39883e(0x681)](_0x19f426[_0x39883e(0x3c7)](_0x591809=>!_0x591809[_0x39883e(0x3d7)]()[_0x39883e(0x5b7)]('__')))[_0x39883e(0x618)](async _0x1dd7ff=>{const _0x84d482=_0x39883e,_0x5a69b6=_0x1dd7ff[_0x84d482(0x3d7)](),_0x3e3aa1=await this[_0x84d482(0x229)](_0x5a69b6);this[_0x84d482(0x42a)][_0x84d482(0x594)](_0x3e3aa1),this[_0x84d482(0x3f0)]['set'](_0x5a69b6,_0x3e3aa1);}),_0x19f426[_0x39883e(0x5a9)](this['_univerInstanceService'][_0x39883e(0x228)](_0x27458f[_0x39883e(0x629)][_0x39883e(0x4c3)]),this[_0x39883e(0x1f1)][_0x39883e(0x228)](_0x27458f[_0x39883e(0x629)]['UNIVER_SHEET']))[_0x39883e(0x681)](_0x19f426[_0x39883e(0x41a)](this[_0x39883e(0x323)]))[_0x39883e(0x618)](_0x178581=>{const _0xa08e04=_0x39883e,_0x5285d3=_0x178581[_0xa08e04(0x3d7)](),_0x1def58=this[_0xa08e04(0x3f0)]['get'](_0x5285d3);_0x1def58&&(_0x1def58[_0xa08e04(0x217)](),this['_entities']['delete'](_0x5285d3));});}async['_startSheetCollabCursor'](_0x490fb6){const _0x4bc6f9=_0x3739fa,_0x365de8=await this[_0x4bc6f9(0x536)]['requireSession'](_0x490fb6),_0x310b28=this[_0x4bc6f9(0x3e2)][_0x4bc6f9(0x21c)](_0x20aca4,_0x490fb6,_0x365de8);return _0x310b28[_0x4bc6f9(0x494)](),_0x310b28;}async[_0x3739fa(0x229)](_0x2d5167){const _0x2deab7=_0x3739fa,_0x30d76e=await this[_0x2deab7(0x536)][_0x2deab7(0x4db)](_0x2d5167),_0x23d43f=this[_0x2deab7(0x3e2)][_0x2deab7(0x21c)](_0x1ecf28,_0x2d5167,_0x30d76e);return _0x23d43f[_0x2deab7(0x494)](),_0x23d43f;}};_0x502a80=_0x50f9b5([_0x592458(0x0,_0x27458f['IUniverInstanceService']),_0x592458(0x1,_0x27458f['Inject'](_0x27458f[_0x3739fa(0x47b)])),_0x592458(0x2,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x2d1)]))],_0x502a80);const _0x2ea272=0x14,_0x4710fc=0xc8,_0x413fc2=0x4,_0x411d50=0x5;function _0x5f39f5(_0x45eb0e,_0x3bc466){const _0x1907c3=_0x3739fa;let {radius:_0xd9df2f,width:_0x5d7ef1,height:_0x59e77b}=_0x3bc466;_0xd9df2f=_0xd9df2f!=null?_0xd9df2f:0x0,_0x5d7ef1=_0x5d7ef1!=null?_0x5d7ef1:0x1e,_0x59e77b=_0x59e77b!=null?_0x59e77b:0x1e;let _0xa40443=0x0,_0x466026=0x0,_0x5ca5ee=0x0;_0xa40443=_0x466026=_0x5ca5ee=Math['min'](_0xd9df2f,_0x5d7ef1/0x2,_0x59e77b/0x2),_0x45eb0e[_0x1907c3(0x4c7)](),_0x45eb0e['moveTo'](_0xa40443,0x0),_0x45eb0e[_0x1907c3(0x539)](_0x5d7ef1-_0x466026,0x0),_0x45eb0e[_0x1907c3(0x46c)](_0x5d7ef1-_0x466026,_0x466026,_0x466026,Math['PI']*0x3/0x2,0x0,!0x1),_0x45eb0e[_0x1907c3(0x539)](_0x5d7ef1,_0x59e77b-_0x5ca5ee),_0x45eb0e[_0x1907c3(0x46c)](_0x5d7ef1-_0x5ca5ee,_0x59e77b-_0x5ca5ee,_0x5ca5ee,0x0,Math['PI']/0x2,!0x1),_0x45eb0e[_0x1907c3(0x539)](0x0,_0x59e77b),_0x45eb0e['lineTo'](0x0,_0xa40443),_0x45eb0e['arc'](_0xa40443,_0xa40443,_0xa40443,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x45eb0e[_0x1907c3(0x51c)](),_0x3bc466['fill']&&(_0x45eb0e[_0x1907c3(0x374)](),_0x45eb0e[_0x1907c3(0x22a)]=_0x3bc466[_0x1907c3(0x1f3)],_0x3bc466['fillRule']===_0x1907c3(0x486)?_0x45eb0e[_0x1907c3(0x1f3)](_0x1907c3(0x486)):_0x45eb0e['fill'](),_0x45eb0e[_0x1907c3(0x65b)]());}class _0x369a35 extends _0x4cb377[_0x3739fa(0x1f9)]{constructor(_0x194dc6,_0x8038c5){const _0x4d05ec=_0x3739fa;super(_0x194dc6,_0x8038c5),_0x13ba75(this,_0x4d05ec(0x440)),_0x13ba75(this,_0x4d05ec(0x43f)),(this[_0x4d05ec(0x440)]=_0x8038c5==null?void 0x0:_0x8038c5[_0x4d05ec(0x440)],this[_0x4d05ec(0x43f)]=_0x8038c5==null?void 0x0:_0x8038c5[_0x4d05ec(0x43f)]);}static[_0x3739fa(0x66c)](_0x55218a,_0x5b2327){const _0x19893f=_0x3739fa,{text:_0x12f554,color:_0x55313e}=_0x5b2327;_0x55218a[_0x19893f(0x374)](),_0x55218a[_0x19893f(0x27a)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x393f4a=_0x55218a[_0x19893f(0x289)](_0x12f554)[_0x19893f(0x37e)],_0x41ec10=Math[_0x19893f(0x40f)](_0x393f4a+0x2*_0x413fc2,_0x4710fc);_0x5f39f5(_0x55218a,{'height':_0x2ea272,'radius':0x4,'width':_0x41ec10,'fill':_0x55313e,'evented':!0x1}),_0x55218a[_0x19893f(0x22a)]=_0x19893f(0x3f8);const _0x1a9728=_0x413fc2,_0x1dc507=_0x2ea272-_0x411d50,_0x20592a=_0x4710fc-0x2*_0x413fc2;if(_0x393f4a>_0x20592a){let _0x1ab044='',_0x11419a=0x0;for(const _0x219e2e of _0x12f554){const _0x9a5ca2=_0x55218a['measureText'](_0x219e2e)[_0x19893f(0x37e)];if(_0x11419a+_0x9a5ca2<=_0x20592a-_0x55218a['measureText'](_0x19893f(0x541))[_0x19893f(0x37e)])_0x1ab044+=_0x219e2e,_0x11419a+=_0x9a5ca2;else{_0x1ab044+='...';break;}}_0x55218a['fillText'](_0x1ab044,_0x1a9728,_0x1dc507);}else _0x55218a['fillText'](_0x12f554,_0x1a9728,_0x1dc507);_0x55218a['restore']();}['_draw'](_0x156406){const _0x3285d2=_0x3739fa;_0x369a35[_0x3285d2(0x66c)](_0x156406,this);}}const _0x578757=_0x3739fa(0x2c3),_0x31a27b=_0x3739fa(0x248),_0x582be8='collab-rect-range-',_0x1f2d63=0x6,_0x2d45c9=1.5,_0x5b79e4=0x4,_0x4c1b5c=1.5,_0x36f0e7=_0x3739fa(0x607);class _0x35112f{constructor(_0x2b4cfb,_0x48b943,_0x16ac99,_0x543074){const _0xca38c9=_0x3739fa;_0x13ba75(this,'_shapes',[]),_0x13ba75(this,_0xca38c9(0x4cf),null),_0x13ba75(this,'_textBubble',null),_0x13ba75(this,_0xca38c9(0x397),null),_0x13ba75(this,_0xca38c9(0x326),null),_0x13ba75(this,_0xca38c9(0x26a),null),(this['_cursor']=_0x2b4cfb,this[_0xca38c9(0x51d)]=_0x48b943,this[_0xca38c9(0x3a9)]=_0x16ac99,this[_0xca38c9(0x3cc)]=_0x543074,this['_render']());}set[_0x3739fa(0x381)](_0x3ff5ae){const _0x321fb0=_0x3739fa;_0x3ff5ae?(this['_anchorDot']&&this[_0x321fb0(0x397)][_0x321fb0(0x1c8)](),this[_0x321fb0(0x3b9)]&&this['_textBubble'][_0x321fb0(0x1f7)]()):(this[_0x321fb0(0x397)]&&this[_0x321fb0(0x397)][_0x321fb0(0x1f7)](),this[_0x321fb0(0x3b9)]&&this[_0x321fb0(0x3b9)][_0x321fb0(0x1c8)]());}[_0x3739fa(0x217)](){const _0x362ede=_0x3739fa;for(const _0x2ffd8b of this['_shapes'])_0x2ffd8b[_0x362ede(0x217)]();this['_textBubble']&&this[_0x362ede(0x3b9)][_0x362ede(0x217)](),this[_0x362ede(0x397)]&&this[_0x362ede(0x397)][_0x362ede(0x217)](),this['_anchor']&&this[_0x362ede(0x4cf)][_0x362ede(0x217)](),this[_0x362ede(0x26a)]&&this[_0x362ede(0x26a)]();}['_render'](){const _0x4d0595=_0x3739fa;var _0x450ce4;const {_docSkeleton:_0x427128,_document:_0x3ae568}=this,{color:_0x338266,name:_0x231501,ranges:_0x2c3d27}=this['_cursor'],_0x4e59bd=_0x3ae568[_0x4d0595(0x403)](),{docsLeft:_0x399159,docsTop:_0x28c32b}=_0x4e59bd,_0x3de7a4=new _0x42c347[(_0x4d0595(0x3f5))](_0x4e59bd,_0x427128);for(const {startOffset:_0x6b3824,endOffset:_0x4fac41,rangeType:_0x22a368,segmentId:_0x31a681,segmentPage:_0x6aeda2,collapsed:_0x1e2154,isActive:_0x5c5eaa}of _0x2c3d27){const _0xb148d5=_0x427128[_0x4d0595(0x504)](_0x6b3824,!0x0,_0x31a681,_0x6aeda2);let _0x361150=_0x427128[_0x4d0595(0x504)](_0x4fac41,!0x0,_0x31a681,_0x6aeda2);if(_0x361150==null&&(_0x361150=_0x427128[_0x4d0595(0x504)](_0x4fac41-0x1,!0x1,_0x31a681,_0x6aeda2)),_0x5c5eaa){const {contentBoxPointGroup:_0x6b7715}=_0x3de7a4[_0x4d0595(0x37d)](_0x361150,_0x361150);if(_0x6b7715[_0x4d0595(0x477)]===0x0)continue;this['_drawAnchor'](_0x338266,_0x6b7715,_0x399159,_0x28c32b,_0x231501),this[_0x4d0595(0x26a)]=this[_0x4d0595(0x220)]();}if(_0xb148d5&&_0x361150){if(_0x22a368===_0x27458f[_0x4d0595(0x489)]['RECT']){const _0x2cffb5=new _0x42c347[(_0x4d0595(0x3d4))](_0x4e59bd,_0x427128),{pointGroup:_0x1174f8}=(_0x450ce4=_0x2cffb5[_0x4d0595(0x37d)](_0xb148d5,_0x361150))!=null?_0x450ce4:{};if(_0x1174f8==null||_0x1174f8[_0x4d0595(0x477)]===0x0)continue;this['_drawRectRange'](_0x338266,_0x1174f8,_0x399159,_0x28c32b);}else{if(!_0x1e2154){const {borderBoxPointGroup:_0x2861b1}=_0x3de7a4[_0x4d0595(0x37d)](_0xb148d5,_0x361150);if(_0x2861b1['length']===0x0)continue;this['_drawTextRange'](_0x338266,_0x2861b1,_0x399159,_0x28c32b);}}}}}['_drawAnchor'](_0x3d6431,_0xe74d29,_0x244ee9,_0x66ede9,_0x434ed2){const _0x46cf9c=_0x3739fa,_0x59b04f=this[_0x46cf9c(0x1ba)](_0xe74d29),{left:_0x356c33,top:_0x12d28d,height:_0x3c0276}=_0x59b04f,_0x2cdc5b=this[_0x46cf9c(0x50d)](),_0x3182a5=_0x4c1b5c/_0x2cdc5b,_0x273dad=new _0x4cb377[(_0x46cf9c(0x2fe))](_0x578757+_0x27458f['Tools']['generateRandomId'](_0x1f2d63),{'left':_0x356c33+_0x244ee9-_0x3182a5,'top':_0x12d28d+_0x66ede9,'height':_0x3c0276,'width':_0x2d45c9,'fill':_0x3d6431||_0x4cb377[_0x46cf9c(0x2ea)](_0x27458f[_0x46cf9c(0x52c)][_0x46cf9c(0x496)],0x0),'strokeWidth':_0x3182a5,'stroke':_0x36f0e7,'evented':!0x0});this[_0x46cf9c(0x4cf)]=_0x273dad,this[_0x46cf9c(0x51d)][_0x46cf9c(0x23f)](_0x273dad,_0x42c347['TEXT_RANGE_LAYER_INDEX']);const _0x4dd0b2=new _0x4cb377[(_0x46cf9c(0x2fe))](_0x578757+_0x27458f[_0x46cf9c(0x560)][_0x46cf9c(0x4a2)](_0x1f2d63),{'left':_0x356c33+_0x244ee9-_0x3182a5,'top':_0x12d28d+_0x66ede9-_0x5b79e4/0x2,'height':_0x5b79e4,'width':_0x5b79e4,'fill':_0x3d6431||_0x4cb377[_0x46cf9c(0x2ea)](_0x27458f['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x3d6431||_0x4cb377['getColor'](_0x27458f['COLORS'][_0x46cf9c(0x496)],0x0),'evented':!0x1});this[_0x46cf9c(0x397)]=_0x4dd0b2,this[_0x46cf9c(0x51d)][_0x46cf9c(0x23f)](_0x4dd0b2,_0x42c347['TEXT_RANGE_LAYER_INDEX']);const _0x33931e=new _0x369a35(_0x578757+_0x27458f[_0x46cf9c(0x560)][_0x46cf9c(0x4a2)](_0x1f2d63),{'left':_0x356c33+_0x244ee9-_0x3182a5,'top':_0x12d28d+_0x66ede9-_0x2ea272,'text':_0x434ed2,'color':_0x3d6431});this['_textBubble']=_0x33931e,this[_0x46cf9c(0x51d)][_0x46cf9c(0x23f)](_0x33931e,_0x42c347[_0x46cf9c(0x39b)]),this[_0x46cf9c(0x381)]=!0x1;}[_0x3739fa(0x220)](){const _0x4521f9=_0x3739fa,_0xd3982b=this[_0x4521f9(0x4cf)][_0x4521f9(0x4e0)][_0x4521f9(0x4b5)](()=>{const _0x36698d=_0x4521f9;this[_0x36698d(0x381)]=!0x0;}),_0x567292=this[_0x4521f9(0x4cf)][_0x4521f9(0x242)][_0x4521f9(0x4b5)](()=>{const _0x3267f9=_0x4521f9;this[_0x3267f9(0x326)]&&clearTimeout(this[_0x3267f9(0x326)]),this['_hideTimer']=setTimeout(()=>{const _0x401575=_0x3267f9;this[_0x401575(0x381)]=!0x1;},0x7d0);});return()=>{const _0x5e9e1e=_0x4521f9;_0xd3982b[_0x5e9e1e(0x3a4)](),_0x567292[_0x5e9e1e(0x3a4)]();};}[_0x3739fa(0x54d)](_0x30c61b,_0x139994,_0x4f0c20,_0x3d8630){const _0x20d0d6=_0x3739fa,_0x1eb2d5=new _0x27458f[(_0x20d0d6(0x49c))](_0x30c61b)['setAlpha'](0.2)['toRgbString'](),_0x7fcf14=new _0x4cb377[(_0x20d0d6(0x3d0))](_0x31a27b+_0x27458f[_0x20d0d6(0x560)]['generateRandomId'](_0x1f2d63),{'pointsGroup':_0x139994,'fill':_0x1eb2d5||_0x4cb377[_0x20d0d6(0x2ea)](_0x27458f[_0x20d0d6(0x52c)]['black'],0.2),'left':_0x4f0c20,'top':_0x3d8630,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20d0d6(0x1bb)]['push'](_0x7fcf14),this['_scene'][_0x20d0d6(0x23f)](_0x7fcf14,_0x42c347[_0x20d0d6(0x39b)]);}['_drawRectRange'](_0x14dc4c,_0x114a2,_0x5c29da,_0x46e75c){const _0x52f1f0=_0x3739fa,_0x474ec1=new _0x27458f['ColorKit'](_0x14dc4c)[_0x52f1f0(0x506)](0.2)[_0x52f1f0(0x5f3)](),_0x1ec83e=new _0x4cb377['RegularPolygon'](_0x582be8+_0x27458f['Tools'][_0x52f1f0(0x4a2)](_0x1f2d63),{'pointsGroup':_0x114a2,'fill':_0x474ec1||_0x4cb377[_0x52f1f0(0x2ea)](_0x27458f[_0x52f1f0(0x52c)][_0x52f1f0(0x496)],0.2),'left':_0x5c29da,'top':_0x46e75c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52f1f0(0x1bb)][_0x52f1f0(0x5c6)](_0x1ec83e),this['_scene'][_0x52f1f0(0x23f)](_0x1ec83e,_0x42c347[_0x52f1f0(0x39b)]);}[_0x3739fa(0x1ba)](_0x3f323e){const _0x1343e0=_0x3f323e[0x0],_0x55105c=_0x1343e0[0x0],_0x4b70d5=_0x1343e0[0x2],{x:_0x1be965,y:_0x535e1d}=_0x55105c,{x:_0x447159,y:_0x5843bb}=_0x4b70d5;return{'left':_0x1be965,'top':_0x535e1d,'width':_0x447159-_0x1be965,'height':_0x5843bb-_0x535e1d};}[_0x3739fa(0x50d)](){const _0x27b731=_0x3739fa,{scaleX:_0x22154f,scaleY:_0x1b1b3b}=this[_0x27b731(0x51d)]['getAncestorScale']();return Math[_0x27b731(0x352)](_0x22154f,_0x1b1b3b);}}var _0x32de4d=Object[_0x3739fa(0x2c0)],_0x1efcf7=Object['getOwnPropertyDescriptor'],_0x475bdd=(_0x1c376b,_0x583d83,_0x32bf54,_0x24d93b)=>{for(var _0x4f2e8c=_0x24d93b>0x1?void 0x0:_0x24d93b?_0x1efcf7(_0x583d83,_0x32bf54):_0x583d83,_0x1370f6=_0x1c376b['length']-0x1,_0x12217b;_0x1370f6>=0x0;_0x1370f6--)(_0x12217b=_0x1c376b[_0x1370f6])&&(_0x4f2e8c=(_0x24d93b?_0x12217b(_0x583d83,_0x32bf54,_0x4f2e8c):_0x12217b(_0x4f2e8c))||_0x4f2e8c);return _0x24d93b&&_0x4f2e8c&&_0x32de4d(_0x583d83,_0x32bf54,_0x4f2e8c),_0x4f2e8c;},_0x48fedb=(_0x542e6f,_0xe9817)=>(_0x3f3602,_0x287ac0)=>_0xe9817(_0x3f3602,_0x287ac0,_0x542e6f);let _0x21d851=class extends _0x27458f[_0x3739fa(0x304)]{constructor(_0x904962,_0x49688f,_0x4ae249,_0x1c8c2,_0x450bf4){const _0x5359d1=_0x3739fa;super(),_0x13ba75(this,'_cursorShapes',[]),_0x13ba75(this,'_cursors',[]),(this['_context']=_0x904962,this[_0x5359d1(0x1b5)]=_0x49688f,this[_0x5359d1(0x416)]=_0x4ae249,this['_commandService']=_0x1c8c2,this[_0x5359d1(0x2bc)]=_0x450bf4,this[_0x5359d1(0x328)]());}[_0x3739fa(0x328)](){const _0x4a28f0=_0x3739fa,_0x1a8e8c=this[_0x4a28f0(0x5d7)][_0x4a28f0(0x231)],_0x288ac9=this[_0x4a28f0(0x1b5)];this[_0x4a28f0(0x324)](_0x19f426[_0x4a28f0(0x292)]([this[_0x4a28f0(0x416)][_0x4a28f0(0x3fc)](_0x1a8e8c),this[_0x4a28f0(0x2bc)]['currentTheme$']])[_0x4a28f0(0x681)](_0x23e740[_0x4a28f0(0x312)](([_0x2b6353,_0x5e94b7])=>({'skeleton':_0x288ac9[_0x4a28f0(0x368)](),'cursors':[..._0x2b6353[_0x4a28f0(0x5e7)]()][_0x4a28f0(0x262)](_0x1d4ce5=>({..._0x1d4ce5,'color':_0x5e94b7[_0x1d4ce5['color']]}))})))[_0x4a28f0(0x618)](_0x32d6fe=>{const _0x472af0=_0x4a28f0;if(this['_removeCollabCursors'](),_0x32d6fe){const {skeleton:_0x5489e8,cursors:_0x3bcbed}=_0x32d6fe;this[_0x472af0(0x5bb)](_0x5489e8,_0x3bcbed);}})),this[_0x4a28f0(0x3ce)](),this[_0x4a28f0(0x3bf)]();}[_0x3739fa(0x5bb)](_0x2d7924,_0x44d40c){const _0x46dfc0=_0x3739fa,{scene:_0x3e7e45,mainComponent:_0x2779c0}=this[_0x46dfc0(0x5d7)],_0x364b30=_0x44d40c[_0x46dfc0(0x312)](_0x436bd8=>new _0x35112f(_0x436bd8,_0x3e7e45,_0x2d7924,_0x2779c0));this[_0x46dfc0(0x366)]=_0x364b30,this[_0x46dfc0(0x3d9)]=_0x44d40c;}[_0x3739fa(0x2ad)](){const _0x57db9a=_0x3739fa;this[_0x57db9a(0x283)]();const {scene:_0x448d5d,mainComponent:_0x48bc73}=this[_0x57db9a(0x5d7)],_0x170fec=this[_0x57db9a(0x1b5)]['getSkeleton'](),_0x2c1ae1=this[_0x57db9a(0x3d9)]['map'](_0x47bcaa=>new _0x35112f(_0x47bcaa,_0x448d5d,_0x170fec,_0x48bc73));this[_0x57db9a(0x366)]=_0x2c1ae1;}[_0x3739fa(0x283)](){const _0x3c168e=_0x3739fa;this[_0x3c168e(0x366)][_0x3c168e(0x5a5)](_0x44d004=>_0x44d004[_0x3c168e(0x217)]()),this['_cursorShapes']=[];}[_0x3739fa(0x3bf)](){const _0x4cebd4=_0x3739fa,_0x421be4=[_0x42c347[_0x4cebd4(0x358)]['id']];this[_0x4cebd4(0x324)](this[_0x4cebd4(0x303)][_0x4cebd4(0x36b)](_0x1603e1=>{const _0x85d0f7=_0x4cebd4;_0x421be4[_0x85d0f7(0x1ee)](_0x1603e1['id'])&&_0x1603e1[_0x85d0f7(0x538)][_0x85d0f7(0x231)]===this[_0x85d0f7(0x5d7)][_0x85d0f7(0x231)]&&this['_refreshCollabCursors']();}));}[_0x3739fa(0x3ce)](){const _0x4d555c=_0x3739fa;this[_0x4d555c(0x324)](_0x27458f['fromEventSubject'](this[_0x4d555c(0x5d7)]['engine'][_0x4d555c(0x517)])['pipe'](_0x23e740[_0x4d555c(0x3c7)](_0x3b2346=>_0x3b2346[_0x4d555c(0x5e4)]===_0x4cb377[_0x4d555c(0x4f1)][_0x4d555c(0x23b)]),_0x23e740[_0x4d555c(0x593)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x21d851=_0x475bdd([_0x48fedb(0x1,_0x27458f[_0x3739fa(0x2bf)](_0x6a88d9[_0x3739fa(0x43a)])),_0x48fedb(0x2,_0x27458f[_0x3739fa(0x2bf)](_0x502a80)),_0x48fedb(0x3,_0x27458f[_0x3739fa(0x52f)]),_0x48fedb(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x46b)]))],_0x21d851);const _0x4f96b6=0x1,_0x362b9d=1.5;class _0x29b70f extends _0x4cb377[_0x3739fa(0x1f9)]{constructor(_0xb7c252,_0x2e400a){const _0x525c77=_0x3739fa;super(_0xb7c252,_0x2e400a),_0x13ba75(this,_0x525c77(0x456)),_0x13ba75(this,_0x525c77(0x3aa),!0x1),_0x13ba75(this,_0x525c77(0x4b7)),_0x13ba75(this,'_name',''),_0x13ba75(this,_0x525c77(0x24b),_0x525c77(0x519)),_0x13ba75(this,'_backgroundColor'),(_0x2e400a&&this[_0x525c77(0x4c1)](_0x2e400a),this[_0x525c77(0x4e0)]['subscribeEvent'](()=>this[_0x525c77(0x4c1)]({'hovered':!0x0})),this['onPointerLeave$'][_0x525c77(0x4b5)](()=>this[_0x525c77(0x4c1)]({'hovered':!0x1})));}[_0x3739fa(0x4c1)](_0x3eccfc){const _0x18f283=_0x3739fa;var _0x1c74b8,_0x5094c6,_0x55d180,_0x29954c,_0x3494ab,_0x2c1330;this[_0x18f283(0x456)]=(_0x1c74b8=_0x3eccfc[_0x18f283(0x440)])!=null?_0x1c74b8:this[_0x18f283(0x456)],this[_0x18f283(0x3aa)]=(_0x5094c6=_0x3eccfc['hovered'])!=null?_0x5094c6:this['_hovered'],this[_0x18f283(0x4b7)]=(_0x55d180=_0x3eccfc['range'])!=null?_0x55d180:this['_range'],this['_name']=(_0x29954c=_0x3eccfc[_0x18f283(0x667)])!=null?_0x29954c:this[_0x18f283(0x32a)],this['_labelPosition']=(_0x3494ab=_0x3eccfc[_0x18f283(0x3d5)])!=null?_0x3494ab:this[_0x18f283(0x24b)],this['_backgroundColor']=(_0x2c1330=_0x3eccfc['backgroundColor'])!=null?_0x2c1330:this[_0x18f283(0x287)],this[_0x18f283(0x1cd)]({'width':_0x3eccfc[_0x18f283(0x37e)],'height':_0x3eccfc['height']});}[_0x3739fa(0x64e)](_0x245019){const _0x2f633f=_0x3739fa,{row:_0x11fa69,column:_0x2035b7}=_0x245019;if(_0x11fa69>=this[_0x2f633f(0x4b7)][_0x2f633f(0x274)]&&_0x11fa69<=this[_0x2f633f(0x4b7)][_0x2f633f(0x4ea)]&&_0x2035b7>=this[_0x2f633f(0x4b7)][_0x2f633f(0x2b2)]&&_0x2035b7<=this[_0x2f633f(0x4b7)]['endColumn']){this[_0x2f633f(0x4c1)]({'hovered':!0x0});return;}this[_0x2f633f(0x4c1)]({'hovered':!0x1});}[_0x3739fa(0x1d2)](_0x235fd9){return!0x1;}['_draw'](_0x57f288){const _0x4e1c91=_0x3739fa;_0x4cb377[_0x4e1c91(0x2fe)]['drawWith'](_0x57f288,{'width':this[_0x4e1c91(0x37e)],'height':this['height'],'strokeWidth':_0x362b9d,'stroke':this[_0x4e1c91(0x456)],'evented':!0x1,'fill':this[_0x4e1c91(0x287)]}),this[_0x4e1c91(0x3aa)]&&(_0x57f288['save'](),_0x57f288[_0x4e1c91(0x4fa)](0x1,0x0,0x0,0x1,this[_0x4e1c91(0x37e)],this['_labelPosition']===_0x4e1c91(0x587)?0x0:-_0x2ea272),_0x369a35[_0x4e1c91(0x66c)](_0x57f288,{'text':this['_name'],'color':this['_color']}),_0x57f288[_0x4e1c91(0x65b)]());}}var _0x3b8c37=Object[_0x3739fa(0x2c0)],_0x51b110=Object[_0x3739fa(0x4e4)],_0x3af8a3=(_0x9f2751,_0x489075,_0x10f3e6,_0x1d76cb)=>{const _0x57131a=_0x3739fa;for(var _0x237ab7=_0x1d76cb>0x1?void 0x0:_0x1d76cb?_0x51b110(_0x489075,_0x10f3e6):_0x489075,_0x4a9650=_0x9f2751[_0x57131a(0x477)]-0x1,_0xc9c9b3;_0x4a9650>=0x0;_0x4a9650--)(_0xc9c9b3=_0x9f2751[_0x4a9650])&&(_0x237ab7=(_0x1d76cb?_0xc9c9b3(_0x489075,_0x10f3e6,_0x237ab7):_0xc9c9b3(_0x237ab7))||_0x237ab7);return _0x1d76cb&&_0x237ab7&&_0x3b8c37(_0x489075,_0x10f3e6,_0x237ab7),_0x237ab7;},_0xd4be69=(_0x5e4f37,_0x165936)=>(_0xa307f,_0xf40fff)=>_0x165936(_0xa307f,_0xf40fff,_0x5e4f37);const _0x4d77ca=0x1389;let _0x2b0e9a=class extends _0x27458f['RxDisposable']{constructor(_0x290e12,_0x17ff18,_0x3c2679,_0x31720a){const _0x1c3b7c=_0x3739fa;super(),_0x13ba75(this,_0x1c3b7c(0x3d9),new Set()),_0x13ba75(this,_0x1c3b7c(0x678),null),(this[_0x1c3b7c(0x5d7)]=_0x290e12,this[_0x1c3b7c(0x1ca)]=_0x17ff18,this[_0x1c3b7c(0x416)]=_0x3c2679,this[_0x1c3b7c(0x2bc)]=_0x31720a,this[_0x1c3b7c(0x328)]());}['_init'](){const _0x5734a9=_0x3739fa;this[_0x5734a9(0x1ca)][_0x5734a9(0x284)][_0x5734a9(0x681)](_0x23e740[_0x5734a9(0x41a)](this[_0x5734a9(0x323)]),_0x23e740[_0x5734a9(0x1b6)](_0x16159f=>{const _0xc8c803=_0x5734a9;if(_0x16159f){const _0x3deb1c=_0x16159f['sheetId'];return _0x19f426[_0xc8c803(0x292)](this[_0xc8c803(0x416)]['getCollabCursors$'](this['_context'][_0xc8c803(0x231)]),this['_themeService']['currentTheme$'])['pipe'](_0x23e740[_0xc8c803(0x312)](([_0x2f4436,_0x2430d4])=>{const _0x2dda56=_0xc8c803,_0x2d955c=new Map();return _0x2f4436[_0x2dda56(0x5a5)]((_0x5eba43,_0x257444)=>{const _0x3639ae=_0x2dda56;if(_0x5eba43[_0x3639ae(0x30d)]===_0x3deb1c){const _0x50c9f2={..._0x5eba43};_0x50c9f2[_0x3639ae(0x440)]=_0x2430d4[_0x5eba43[_0x3639ae(0x440)]],_0x2d955c['set'](_0x257444,_0x50c9f2);}}),{'skeleton':_0x16159f,'cursors':_0x2d955c};}));}return _0x19f426['of']({'skeleton':null,'cursors':new Map()});}))[_0x5734a9(0x618)](({skeleton:_0x1efaa5,cursors:_0x27ccdb})=>{const _0x240a94=_0x5734a9;this[_0x240a94(0x283)](),_0x1efaa5&&this[_0x240a94(0x5bb)](_0x1efaa5,_0x27ccdb);}),this[_0x5734a9(0x1ca)][_0x5734a9(0x284)]['subscribe'](_0x3be6cf=>{const _0x1604d9=_0x5734a9;if(_0x3be6cf==null)return;const {skeleton:_0xe0b195}=_0x3be6cf,{scene:_0x256cd2}=this[_0x1604d9(0x5d7)];_0x256cd2[_0x1604d9(0x4ba)][_0x1604d9(0x4b5)](_0x27458f[_0x1604d9(0x3ac)](_0x4f4d02=>{const _0x29746a=_0x1604d9;var _0x2d87b8,_0x4504f2;const {offsetX:_0x45a51b,offsetY:_0x131071}=_0x4f4d02,{x:_0x4dd44b,y:_0x36280b}=_0x256cd2[_0x29746a(0x3a3)](_0x4cb377[_0x29746a(0x1d6)]['FromArray']([_0x45a51b,_0x131071])),{scaleX:_0x488ed9,scaleY:_0x4d073d}=_0x256cd2[_0x29746a(0x26b)](),_0x5e3d70=_0x256cd2[_0x29746a(0x258)](_0x4aaf1b[_0x29746a(0x1c9)]['VIEW_MAIN']),_0x1f3d49=_0x256cd2[_0x29746a(0x5e9)](_0x4cb377[_0x29746a(0x1d6)][_0x29746a(0x4a3)]([_0x4dd44b,_0x36280b]),_0x5e3d70),_0x4effc8=_0xe0b195[_0x29746a(0x66a)](_0x45a51b,_0x131071,_0x488ed9,_0x4d073d,_0x1f3d49);((_0x2d87b8=this['_lastPointer'])==null?void 0x0:_0x2d87b8[_0x29746a(0x41c)])===_0x4effc8[_0x29746a(0x41c)]&&((_0x4504f2=this[_0x29746a(0x678)])==null?void 0x0:_0x4504f2[_0x29746a(0x3d2)])===_0x4effc8[_0x29746a(0x3d2)]||this['_cursors'][_0x29746a(0x5a5)](_0x16375c=>{_0x16375c['onMouseMove'](_0x4effc8);});},0x64));});}[_0x3739fa(0x5bb)](_0x11a18d,_0x1eaf6a){const _0x4dbb56=_0x3739fa;var _0x107e70;const _0x118891=(_0x107e70=this[_0x4dbb56(0x1ca)][_0x4dbb56(0x21a)]())==null?void 0x0:_0x107e70[_0x4dbb56(0x466)];if(!_0x118891)return;const _0x2de5a0=this['_getSheetObject']();if(!_0x2de5a0)return;this['_cursors'][_0x4dbb56(0x5a5)](_0x573bba=>{const _0x1f6b83=_0x4dbb56;_0x573bba[_0x1f6b83(0x28a)]();});const {scene:_0x596047}=_0x2de5a0,_0x562b68=_0x4283da(Array[_0x4dbb56(0x4d2)](_0x1eaf6a[_0x4dbb56(0x5e7)]()))[_0x4dbb56(0x312)](_0x278489=>{const _0x215807=_0x4dbb56,{color:_0x2ca286,range:_0xb3bafb,name:_0x3bc3c9,selection:_0x3819f6,sheetID:_0x3289bd}=_0x278489,{startColumn:_0x51337f,startRow:_0x378a08,endColumn:_0x7583f6,endRow:_0x5a3bbc}=_0xb3bafb,_0x17c280=_0x4aaf1b[_0x215807(0x5a1)](_0x378a08,_0x51337f,_0x596047,_0x118891),_0x5b7c58=_0x4aaf1b[_0x215807(0x5a1)](_0x5a3bbc,_0x7583f6,_0x596047,_0x118891),{columnHeaderHeightAndMarginTop:_0x4b665b}=_0x118891,{startX:_0x23d19c,startY:_0xeea634}=_0x17c280,{endX:_0x5d8362,endY:_0x1897c1}=_0x5b7c58,_0x272deb=_0x5d8362-_0x23d19c,_0xaa3c42=_0x1897c1-_0xeea634,_0x28e72b={'labelPosition':_0xeea634-_0x4b665b>=_0x2ea272?'top':_0x215807(0x587),'sheetID':_0x3289bd,'range':_0xb3bafb,'color':_0x2ca286,'name':_0x3bc3c9,'selection':_0x3819f6,'left':_0x23d19c,'top':_0xeea634,'width':_0x272deb,'height':_0xaa3c42,'evented':!0x1,'zIndex':_0x4d77ca};return new _0x29b70f(_0x3bc3c9,_0x28e72b);});_0x596047['addObjects'](_0x562b68,_0x4f96b6),this[_0x4dbb56(0x3d9)]=new Set(_0x562b68);}[_0x3739fa(0x283)](){const _0x1246da=_0x3739fa;var _0x54439e;(_0x54439e=this[_0x1246da(0x3d9)])==null||_0x54439e[_0x1246da(0x5a5)](_0xa2454c=>_0xa2454c[_0x1246da(0x217)]());}[_0x3739fa(0x39f)](){const _0x102e61=_0x3739fa;return _0x4aaf1b[_0x102e61(0x1dd)](this[_0x102e61(0x5d7)]['unit'],this[_0x102e61(0x5d7)]);}};_0x2b0e9a=_0x3af8a3([_0xd4be69(0x1,_0x27458f[_0x3739fa(0x2bf)](_0x4aaf1b[_0x3739fa(0x1cf)])),_0xd4be69(0x2,_0x27458f['Inject'](_0x502a80)),_0xd4be69(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x46b)]))],_0x2b0e9a);function _0x4283da(_0x3d4a1d){const _0x4df552=_0x3739fa,_0x584393=new Map();return _0x3d4a1d[_0x4df552(0x5a5)](_0x30e789=>{const _0x2fa604=_0x4df552;if(_0x584393['has'](_0x30e789[_0x2fa604(0x2fc)])){const _0x4aaba0=_0x584393[_0x2fa604(0x340)](_0x30e789[_0x2fa604(0x2fc)]);_0x4aaba0[_0x2fa604(0x667)]+=',\x20'+_0x30e789[_0x2fa604(0x667)];}else _0x584393[_0x2fa604(0x1f5)](_0x30e789[_0x2fa604(0x2fc)],_0x30e789);}),Array[_0x4df552(0x4d2)](_0x584393[_0x4df552(0x5e7)]());}var _0xf90590=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x537178(_0x3e177c){const _0x5b5c8d=_0x3739fa;return _0x3e177c&&_0x3e177c[_0x5b5c8d(0x2c6)]&&Object['prototype'][_0x5b5c8d(0x31f)]['call'](_0x3e177c,_0x5b5c8d(0x306))?_0x3e177c[_0x5b5c8d(0x306)]:_0x3e177c;}var _0x459b01={'exports':{}},_0x57c11e={},_0x49956a=_0x1eb56d,_0xbcde23=Symbol[_0x3739fa(0x492)]('react.element'),_0x14e84a=Symbol[_0x3739fa(0x492)](_0x3739fa(0x380)),_0x59f01a=Object[_0x3739fa(0x612)][_0x3739fa(0x31f)],_0x417a2f=_0x49956a['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3739fa(0x4eb)],_0x15617e={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x340f76(_0x45c2c7,_0x195af7,_0x7d28e1){const _0x3f1a54=_0x3739fa;var _0x179648,_0x73f5a={},_0x27f7df=null,_0x4a1b0a=null;_0x7d28e1!==void 0x0&&(_0x27f7df=''+_0x7d28e1),_0x195af7[_0x3f1a54(0x434)]!==void 0x0&&(_0x27f7df=''+_0x195af7['key']),_0x195af7['ref']!==void 0x0&&(_0x4a1b0a=_0x195af7[_0x3f1a54(0x455)]);for(_0x179648 in _0x195af7)_0x59f01a[_0x3f1a54(0x3cf)](_0x195af7,_0x179648)&&!_0x15617e['hasOwnProperty'](_0x179648)&&(_0x73f5a[_0x179648]=_0x195af7[_0x179648]);if(_0x45c2c7&&_0x45c2c7[_0x3f1a54(0x245)]){for(_0x179648 in(_0x195af7=_0x45c2c7[_0x3f1a54(0x245)],_0x195af7))_0x73f5a[_0x179648]===void 0x0&&(_0x73f5a[_0x179648]=_0x195af7[_0x179648]);}return{'$$typeof':_0xbcde23,'type':_0x45c2c7,'key':_0x27f7df,'ref':_0x4a1b0a,'props':_0x73f5a,'_owner':_0x417a2f[_0x3f1a54(0x408)]};}_0x57c11e[_0x3739fa(0x5db)]=_0x14e84a,_0x57c11e[_0x3739fa(0x3fb)]=_0x340f76,_0x57c11e[_0x3739fa(0x300)]=_0x340f76,_0x459b01[_0x3739fa(0x406)]=_0x57c11e;var _0x5db0ce=_0x459b01['exports'],_0x170ed=function(){const _0x4f6901=_0x3739fa;return _0x170ed=Object['assign']||function(_0x1551d1){const _0x2ab609=_0x2e6a;for(var _0x289fc3,_0x25f93b=0x1,_0x3a1f3a=arguments['length'];_0x25f93b<_0x3a1f3a;_0x25f93b++){_0x289fc3=arguments[_0x25f93b];for(var _0x42039d in _0x289fc3)Object[_0x2ab609(0x612)][_0x2ab609(0x31f)][_0x2ab609(0x3cf)](_0x289fc3,_0x42039d)&&(_0x1551d1[_0x42039d]=_0x289fc3[_0x42039d]);}return _0x1551d1;},_0x170ed[_0x4f6901(0x3e7)](this,arguments);},_0x1b264a=function(_0x4638e0,_0x1d18aa){const _0xa306f1=_0x3739fa;var _0x4d0f23={};for(var _0x21e1d4 in _0x4638e0)Object['prototype'][_0xa306f1(0x31f)][_0xa306f1(0x3cf)](_0x4638e0,_0x21e1d4)&&_0x1d18aa['indexOf'](_0x21e1d4)<0x0&&(_0x4d0f23[_0x21e1d4]=_0x4638e0[_0x21e1d4]);if(_0x4638e0!=null&&typeof Object['getOwnPropertySymbols']==_0xa306f1(0x1b7)){for(var _0x4c8054=0x0,_0x21e1d4=Object[_0xa306f1(0x686)](_0x4638e0);_0x4c8054<_0x21e1d4['length'];_0x4c8054++)_0x1d18aa[_0xa306f1(0x219)](_0x21e1d4[_0x4c8054])<0x0&&Object['prototype'][_0xa306f1(0x41f)]['call'](_0x4638e0,_0x21e1d4[_0x4c8054])&&(_0x4d0f23[_0x21e1d4[_0x4c8054]]=_0x4638e0[_0x21e1d4[_0x4c8054]]);}return _0x4d0f23;},_0x3f73ca=_0x1eb56d['forwardRef'](function(_0x354d69,_0x526a78){const _0x44de85=_0x3739fa;var _0x3c0986=_0x354d69[_0x44de85(0x522)],_0x21aa70=_0x354d69['id'],_0x121ddf=_0x354d69['className'],_0x1a5913=_0x354d69[_0x44de85(0x47f)],_0x4eca01=_0x1b264a(_0x354d69,[_0x44de85(0x522),'id',_0x44de85(0x64f),_0x44de85(0x47f)]),_0x357cfb=_0x44de85(0x3a8)[_0x44de85(0x42d)](_0x21aa70,'\x20')['concat'](_0x121ddf||'')[_0x44de85(0x3de)](),_0x56d3b2=_0x1eb56d[_0x44de85(0x50a)]('_'[_0x44de85(0x42d)](_0x3f19e0()));return _0x46c400(_0x3c0986,''[_0x44de85(0x42d)](_0x21aa70),{'defIds':_0x3c0986[_0x44de85(0x4c4)],'idSuffix':_0x56d3b2['current']},_0x170ed({'ref':_0x526a78,'className':_0x357cfb},_0x4eca01),_0x1a5913);});function _0x46c400(_0x22e667,_0x37ec26,_0x1b04be,_0xf992ac,_0x38b87b){const _0x3c07f4=_0x3739fa;return _0x1eb56d[_0x3c07f4(0x545)](_0x22e667[_0x3c07f4(0x632)],_0x170ed(_0x170ed({'key':_0x37ec26},_0x2baa1b(_0x22e667,_0x1b04be,_0x38b87b)),_0xf992ac),(_0x9a8ed8(_0x22e667,_0x1b04be)[_0x3c07f4(0x265)]||[])[_0x3c07f4(0x312)](function(_0x18d19e,_0x3cb32d){const _0x41d7ca=_0x3c07f4;return _0x46c400(_0x18d19e,''[_0x41d7ca(0x42d)](_0x37ec26,'-')[_0x41d7ca(0x42d)](_0x22e667['tag'],'-')[_0x41d7ca(0x42d)](_0x3cb32d),_0x1b04be,void 0x0,_0x38b87b);}));}function _0x2baa1b(_0x3edcf0,_0x515b5a,_0xf8ce0d){const _0x529acf=_0x3739fa;var _0x339a6c=_0x170ed({},_0x3edcf0['attrs']);_0xf8ce0d!=null&&_0xf8ce0d[_0x529acf(0x63b)]&&_0x339a6c['fill']===_0x529acf(0x63b)&&(_0x339a6c[_0x529acf(0x1f3)]=_0xf8ce0d[_0x529acf(0x63b)]);var _0x5efff2=_0x515b5a[_0x529acf(0x4c4)];return!_0x5efff2||_0x5efff2[_0x529acf(0x477)]===0x0||(_0x3edcf0[_0x529acf(0x632)]===_0x529acf(0x493)&&_0x339a6c[_0x529acf(0x53e)]&&(_0x339a6c[_0x529acf(0x53e)]=_0x339a6c[_0x529acf(0x53e)]+_0x515b5a[_0x529acf(0x641)]),Object[_0x529acf(0x433)](_0x339a6c)['forEach'](function(_0xdea188){const _0x4ed6ba=_0x529acf;var _0x23aed6=_0xdea188[0x0],_0x86914d=_0xdea188[0x1];typeof _0x86914d==_0x4ed6ba(0x2a4)&&(_0x339a6c[_0x23aed6]=_0x86914d[_0x4ed6ba(0x216)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x515b5a[_0x4ed6ba(0x641)],')')));})),_0x339a6c;}function _0x9a8ed8(_0x568387,_0x286f4b){const _0x19d53b=_0x3739fa;var _0x387054,_0x3dc5b2=_0x286f4b[_0x19d53b(0x4c4)];return!_0x3dc5b2||_0x3dc5b2['length']===0x0?_0x568387:_0x568387[_0x19d53b(0x632)]==='defs'&&(!((_0x387054=_0x568387['children'])===null||_0x387054===void 0x0)&&_0x387054[_0x19d53b(0x477)])?_0x170ed(_0x170ed({},_0x568387),{'children':_0x568387[_0x19d53b(0x265)][_0x19d53b(0x312)](function(_0x1e9154){const _0x218f05=_0x19d53b;return typeof _0x1e9154[_0x218f05(0x39c)]['id']==_0x218f05(0x2a4)&&_0x3dc5b2&&_0x3dc5b2[_0x218f05(0x219)](_0x1e9154[_0x218f05(0x39c)]['id'])>-0x1?_0x170ed(_0x170ed({},_0x1e9154),{'attrs':_0x170ed(_0x170ed({},_0x1e9154[_0x218f05(0x39c)]),{'id':_0x1e9154[_0x218f05(0x39c)]['id']+_0x286f4b['idSuffix']})}):_0x1e9154;})}):_0x568387;}function _0x3f19e0(){const _0x239b86=_0x3739fa;return Math['random']()[_0x239b86(0x315)](0x24)[_0x239b86(0x1d5)](0x2,0x8);}_0x3f73ca[_0x3739fa(0x531)]=_0x3739fa(0x438);var _0x15c457={'tag':_0x3739fa(0x548),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3739fa(0x321),'attrs':{'stroke':_0x3739fa(0x32b),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3739fa(0x2b3),'strokeLinejoin':_0x3739fa(0x2b3),'strokeWidth':1.2}}]},{'tag':_0x3739fa(0x598),'attrs':{},'children':[{'tag':_0x3739fa(0x49e),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x3739fa(0x321),'attrs':{'fill':_0x3739fa(0x2db),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3739fa(0x3e8)]},_0x9b1c6a=_0x1eb56d['forwardRef'](function(_0x129c4e,_0x270efc){const _0x34ca80=_0x3739fa;return _0x1eb56d[_0x34ca80(0x545)](_0x3f73ca,Object[_0x34ca80(0x4b0)]({},_0x129c4e,{'id':_0x34ca80(0x5bd),'ref':_0x270efc,'icon':_0x15c457}));});_0x9b1c6a['displayName']='OffLineSingle';var _0x5f0627={'tag':'svg','attrs':{'fill':'none','viewBox':_0x3739fa(0x246),'width':_0x3739fa(0x2dc),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3739fa(0x57e)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3739fa(0x2b3),'strokeLinejoin':_0x3739fa(0x2b3),'strokeWidth':1.2}}]},{'tag':_0x3739fa(0x598),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3739fa(0x2ec)},'children':[{'tag':_0x3739fa(0x321),'attrs':{'fill':'#fff','d':_0x3739fa(0x423),'transform':_0x3739fa(0x59d)}}]}]}],'defIds':[_0x3739fa(0x2ec)]},_0x9e6ec1=_0x1eb56d['forwardRef'](function(_0x75efed,_0x8689b9){const _0x3b430d=_0x3739fa;return _0x1eb56d[_0x3b430d(0x545)](_0x3f73ca,Object[_0x3b430d(0x4b0)]({},_0x75efed,{'id':_0x3b430d(0x58e),'ref':_0x8689b9,'icon':_0x5f0627}));});_0x9e6ec1['displayName']=_0x3739fa(0x1ed);function _0x2ee0a8(_0x50bdf5){const _0x5afab7=_0x3739fa;var _0xc06e2b,_0x28c804,_0x1fea29='';if(typeof _0x50bdf5==_0x5afab7(0x2a4)||typeof _0x50bdf5==_0x5afab7(0x5b0))_0x1fea29+=_0x50bdf5;else{if(typeof _0x50bdf5==_0x5afab7(0x389)){if(Array[_0x5afab7(0x57d)](_0x50bdf5)){var _0x326e13=_0x50bdf5['length'];for(_0xc06e2b=0x0;_0xc06e2b<_0x326e13;_0xc06e2b++)_0x50bdf5[_0xc06e2b]&&(_0x28c804=_0x2ee0a8(_0x50bdf5[_0xc06e2b]))&&(_0x1fea29&&(_0x1fea29+='\x20'),_0x1fea29+=_0x28c804);}else{for(_0x28c804 in _0x50bdf5)_0x50bdf5[_0x28c804]&&(_0x1fea29&&(_0x1fea29+='\x20'),_0x1fea29+=_0x28c804);}}}return _0x1fea29;}function _0x480b2b(){const _0x179207=_0x3739fa;for(var _0x26e8e6,_0x49e05a,_0xcbe102=0x0,_0x1a04b1='',_0x1dbcd7=arguments[_0x179207(0x477)];_0xcbe102<_0x1dbcd7;_0xcbe102++)(_0x26e8e6=arguments[_0xcbe102])&&(_0x49e05a=_0x2ee0a8(_0x26e8e6))&&(_0x1a04b1&&(_0x1a04b1+='\x20'),_0x1a04b1+=_0x49e05a);return _0x1a04b1;}const _0x40d123={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x3739fa(0x240),'online':_0x3739fa(0x35e),'offline':_0x3739fa(0x2d4)};function _0xc5976d(_0x4a9779){const _0x243bb4=_0x3739fa;switch(_0x4a9779){case _0x44c830[_0x243bb4(0x64a)]:return _0x243bb4(0x23c);case _0x44c830[_0x243bb4(0x454)]:return _0x243bb4(0x395);case _0x44c830[_0x243bb4(0x4d3)]:return _0x243bb4(0x369);case _0x44c830[_0x243bb4(0x363)]:return _0x243bb4(0x2f1);case _0x44c830['AWAITING']:case _0x44c830[_0x243bb4(0x4df)]:return'collabStatus.syncing';case _0x44c830[_0x243bb4(0x1ae)]:case _0x44c830['PENDING']:return _0x243bb4(0x525);}}function _0x274955(_0x2708e6){const _0x143fd9=_0x3739fa,{status$:_0x3f64f2}=_0x2708e6,_0x4caa43=_0x299d72[_0x143fd9(0x5da)](_0x3f64f2,_0x44c830[_0x143fd9(0x363)]),_0xf1a2f5=_0x27458f[_0x143fd9(0x1f4)](_0x27458f[_0x143fd9(0x4f3)]),_0x573590=_0x27458f[_0x143fd9(0x1f4)](_0x342316[_0x143fd9(0x2d1)]),_0x23d55b=_0x4caa43!==_0x44c830[_0x143fd9(0x64a)],_0x30c721=_0xf1a2f5['t'](_0xc5976d(_0x4caa43)),_0x233932=_0x480b2b(_0x40d123['onlineStatus'],{[_0x40d123['online']]:_0x23d55b,[_0x40d123['offline']]:!_0x23d55b}),_0x412e8c=_0x23d55b?_0x5db0ce['jsx'](_0x9e6ec1,{}):_0x5db0ce['jsx'](_0x9b1c6a,{}),_0x320b1a=_0x1eb56d[_0x143fd9(0x277)](()=>{const _0x3221eb=_0x143fd9;_0x23d55b||_0x573590[_0x3221eb(0x4d7)]();},[_0x23d55b,_0x573590]);function _0x57a963(){const _0x2fae4e=_0x143fd9;return _0x5db0ce[_0x2fae4e(0x300)](_0x2fae4e(0x2cc),{'className':_0x233932,'onClick':_0x320b1a,'children':[_0x5db0ce[_0x2fae4e(0x3fb)]('div',{'className':_0x40d123[_0x2fae4e(0x2d8)],'children':_0x412e8c}),_0x5db0ce['jsx'](_0x2fae4e(0x2cc),{'className':_0x40d123[_0x2fae4e(0x4ac)],'children':_0x30c721})]});}return _0x23d55b?_0x57a963():_0x5db0ce[_0x143fd9(0x3fb)](_0x1fd227[_0x143fd9(0x58c)],{'title':_0xf1a2f5['t']('collab-client.tooltip.reconnect'),'children':_0x57a963()});}var _0x5130dc=Object[_0x3739fa(0x2c0)],_0x5a2ffc=Object['getOwnPropertyDescriptor'],_0x47a2fa=(_0x33e890,_0x2a4e0e,_0x2aa7c7,_0x55bfd9)=>{const _0x3cc26a=_0x3739fa;for(var _0x19943b=_0x55bfd9>0x1?void 0x0:_0x55bfd9?_0x5a2ffc(_0x2a4e0e,_0x2aa7c7):_0x2a4e0e,_0x545ac8=_0x33e890[_0x3cc26a(0x477)]-0x1,_0x73f585;_0x545ac8>=0x0;_0x545ac8--)(_0x73f585=_0x33e890[_0x545ac8])&&(_0x19943b=(_0x55bfd9?_0x73f585(_0x2a4e0e,_0x2aa7c7,_0x19943b):_0x73f585(_0x19943b))||_0x19943b);return _0x55bfd9&&_0x19943b&&_0x5130dc(_0x2a4e0e,_0x2aa7c7,_0x19943b),_0x19943b;},_0x59ed92=(_0x3b6841,_0x1c9fab)=>(_0x56e502,_0x16c352)=>_0x1c9fab(_0x56e502,_0x16c352,_0x3b6841);_0x342316['DesktopCollaborationStatusDisplayController']=class extends _0x27458f[_0x3739fa(0x5eb)]{constructor(_0x2874d0,_0x3128f1,_0x43331d,_0x240260){const _0x4d06f0=_0x3739fa;super(),_0x13ba75(this,_0x4d06f0(0x20b),new _0x19f426[(_0x4d06f0(0x41b))](_0x44c830[_0x4d06f0(0x363)])),(this[_0x4d06f0(0x1f1)]=_0x2874d0,this['_uiPartsService']=_0x3128f1,this[_0x4d06f0(0x3e2)]=_0x43331d,this[_0x4d06f0(0x45b)]=_0x240260,this[_0x4d06f0(0x27f)](),this[_0x4d06f0(0x487)]());}[_0x3739fa(0x487)](){const _0x2ebb88=_0x3739fa;this['disposeWithMe'](this['_univerInstanceService'][_0x2ebb88(0x3e6)]['pipe'](_0x19f426[_0x2ebb88(0x1b6)](()=>{const _0xc661e5=_0x2ebb88,_0x19187e=this[_0xc661e5(0x1f1)][_0xc661e5(0x273)]();return _0x19187e?this[_0xc661e5(0x45b)][_0xc661e5(0x357)](_0x19187e[_0xc661e5(0x3d7)]()):_0x19f426['of'](null);}),_0x19f426[_0x2ebb88(0x1b6)](_0x358a01=>_0x358a01?_0x358a01[_0x2ebb88(0x1d9)]:_0x19f426['of'](_0x44c830[_0x2ebb88(0x363)])))['subscribe'](_0x5a4aa8=>{const _0x1774c2=_0x2ebb88;this[_0x1774c2(0x20b)][_0x1774c2(0x594)](_0x5a4aa8);}));}[_0x3739fa(0x27f)](){const _0x57bd24=_0x3739fa;this[_0x57bd24(0x324)](this[_0x57bd24(0x223)][_0x57bd24(0x210)](_0x299d72[_0x57bd24(0x241)][_0x57bd24(0x1fe)],()=>_0x27458f['connectInjector'](_0x3c48ed({'status$':this['_status$'][_0x57bd24(0x2ba)]()}),this['_injector'])));}},_0x342316[_0x3739fa(0x62d)]=_0x47a2fa([_0x59ed92(0x0,_0x27458f[_0x3739fa(0x2e8)]),_0x59ed92(0x1,_0x299d72[_0x3739fa(0x603)]),_0x59ed92(0x2,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x59ed92(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x342316[_0x3739fa(0x637)]))],_0x342316[_0x3739fa(0x62d)]);function _0x3c48ed(_0x11fd98){const {status$:_0x5e0d33}=_0x11fd98;return function(){return _0x5db0ce['jsx'](_0x274955,{'status$':_0x5e0d33});};}const _0xaf258=_0x27458f['createIdentifier'](_0x3739fa(0x453));var _0x417ecd=Object[_0x3739fa(0x2c0)],_0x4ef51a=Object['getOwnPropertyDescriptor'],_0xd475fd=(_0x48e574,_0x8a8fce,_0x1107e8,_0x44c4da)=>{const _0x1c7d8a=_0x3739fa;for(var _0xbe651a=_0x44c4da>0x1?void 0x0:_0x44c4da?_0x4ef51a(_0x8a8fce,_0x1107e8):_0x8a8fce,_0x1c6d3c=_0x48e574[_0x1c7d8a(0x477)]-0x1,_0x4f164a;_0x1c6d3c>=0x0;_0x1c6d3c--)(_0x4f164a=_0x48e574[_0x1c6d3c])&&(_0xbe651a=(_0x44c4da?_0x4f164a(_0x8a8fce,_0x1107e8,_0xbe651a):_0x4f164a(_0xbe651a))||_0xbe651a);return _0x44c4da&&_0xbe651a&&_0x417ecd(_0x8a8fce,_0x1107e8,_0xbe651a),_0xbe651a;},_0x567cac=(_0x44199f,_0x2c2ddf)=>(_0x3c17bf,_0x18b6f1)=>_0x2c2ddf(_0x3c17bf,_0x18b6f1,_0x44199f);_0x342316[_0x3739fa(0x67f)]=class extends _0x27458f[_0x3739fa(0x304)]{constructor(_0x5dfe78,_0x2162d1,_0x4f0fc2,_0x18b19a,_0x33689f,_0x1ea4d7){const _0x1c9eed=_0x3739fa;super(),this[_0x1c9eed(0x624)]=_0x5dfe78,this['_logService']=_0x2162d1,this['_commandService']=_0x4f0fc2,this[_0x1c9eed(0x26d)]=_0x18b19a,this[_0x1c9eed(0x5f0)]=_0x33689f,_0x1ea4d7?_0x1ea4d7==null||_0x1ea4d7[_0x1c9eed(0x234)]()[_0x1c9eed(0x579)](()=>this[_0x1c9eed(0x328)]()):(this[_0x1c9eed(0x4a0)][_0x1c9eed(0x204)](_0x1c9eed(0x27c),_0x1c9eed(0x42f)),this[_0x1c9eed(0x328)]());}async[_0x3739fa(0x328)](){const _0x4af78e=_0x3739fa,_0x24e993=this[_0x4af78e(0x624)][_0x4af78e(0x361)](_0x4af78e(0x39d)),_0x31efc6=this['_urlService'][_0x4af78e(0x361)]('type');if(!_0x24e993||!_0x31efc6){this[_0x4af78e(0x4a0)][_0x4af78e(0x204)](_0x4af78e(0x27c),_0x4af78e(0x30c));return;}switch(Number(_0x31efc6)){case _0x262f56[_0x4af78e(0x497)]:{const _0x4ca639=await this[_0x4af78e(0x400)](_0x24e993);this[_0x4af78e(0x320)](_0x4ca639);break;}case _0x262f56[_0x4af78e(0x4c3)]:{await this['_loadDoc'](_0x24e993);break;}default:{this[_0x4af78e(0x4a0)][_0x4af78e(0x4dc)](_0x4af78e(0x27c),_0x4af78e(0x3c3));break;}}}async[_0x3739fa(0x320)](_0x1fbc22){const _0x54df0c=_0x3739fa;await this[_0x54df0c(0x5ec)](_0x1fbc22),_0x1fbc22['activeSheet$']['pipe'](_0x19f426['takeUntil'](this[_0x54df0c(0x323)]))[_0x54df0c(0x618)](_0x53dfb5=>{const _0x1bf1e7=_0x54df0c;_0x53dfb5&&this[_0x1bf1e7(0x5cc)](_0x53dfb5);}),this['_urlService'][_0x54df0c(0x3ca)][_0x54df0c(0x681)](_0x19f426['takeUntil'](this['dispose$']))[_0x54df0c(0x618)](()=>this[_0x54df0c(0x5ec)](_0x1fbc22));}[_0x3739fa(0x5cc)](_0x13233b,_0x54039a=!0x1){const _0x4706af=_0x3739fa,_0x529e22=this[_0x4706af(0x624)][_0x4706af(0x361)](_0x4706af(0x238));_0x13233b[_0x4706af(0x5dd)]()!==_0x529e22&&this[_0x4706af(0x624)][_0x4706af(0x1c7)]('subunit',_0x13233b[_0x4706af(0x5dd)](),_0x54039a);}async[_0x3739fa(0x5ec)](_0x2c4b15){const _0x527cb4=_0x3739fa;var _0x5e8dc5;const _0x119d9b=this[_0x527cb4(0x624)]['getParam']('subunit');if(!_0x119d9b||!_0x2c4b15[_0x527cb4(0x4b1)](_0x119d9b)){const _0x442f3d=_0x2c4b15['getUnhiddenWorksheets']()[0x0],_0x5bfd5b=_0x2c4b15[_0x527cb4(0x4b1)](_0x442f3d);if(!_0x5bfd5b)return;this[_0x527cb4(0x5cc)](_0x5bfd5b,!0x0),await this['_commandService'][_0x527cb4(0x4b6)](_0x562d18[_0x527cb4(0x546)]['id'],{'unitId':_0x2c4b15[_0x527cb4(0x3d7)](),'subUnitId':_0x442f3d});return;}((_0x5e8dc5=_0x2c4b15[_0x527cb4(0x335)]())==null?void 0x0:_0x5e8dc5['getSheetId']())!==_0x119d9b&&await this[_0x527cb4(0x303)][_0x527cb4(0x4b6)](_0x562d18['SetWorksheetActivateCommand']['id'],{'unitId':_0x2c4b15['getUnitId'](),'subUnitId':_0x119d9b});}async[_0x3739fa(0x400)](_0x990fc2){const _0x250f36=_0x3739fa;let _0x2f4802=0x0;const _0x15269a=await this[_0x250f36(0x26d)][_0x250f36(0x566)](_0x990fc2);return _0x15269a&&(_0x15269a['awaitingChangeset']||_0x15269a[_0x250f36(0x5ac)][_0x250f36(0x477)]!==0x0)&&(_0x2f4802=_0x15269a[_0x250f36(0x518)]),_0x2f4802===0x0&&this[_0x250f36(0x4a0)][_0x250f36(0x204)](_0x250f36(0x27c),_0x250f36(0x276)),this[_0x250f36(0x5f0)]['loadSheet'](_0x990fc2,_0x2f4802);}async['_loadDoc'](_0x42f98b){const _0x31be4b=_0x3739fa;let _0x200f96=0x0;const _0x179590=await this['_localCacheService']['loadOfflineData'](_0x42f98b);return _0x179590&&(_0x179590[_0x31be4b(0x65e)]||_0x179590['mutations'][_0x31be4b(0x477)]!==0x0)&&(_0x200f96=_0x179590[_0x31be4b(0x518)]),_0x200f96===0x0&&this[_0x31be4b(0x4a0)][_0x31be4b(0x204)](_0x31be4b(0x27c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x31be4b(0x5f0)][_0x31be4b(0x2fd)](_0x42f98b,_0x200f96);}},_0x342316[_0x3739fa(0x67f)]=_0xd475fd([_0x567cac(0x0,_0xaf258),_0x567cac(0x1,_0x27458f[_0x3739fa(0x592)]),_0x567cac(0x2,_0x27458f[_0x3739fa(0x52f)]),_0x567cac(0x3,_0x27458f['Inject'](_0x342316[_0x3739fa(0x1b4)])),_0x567cac(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x307efd[_0x3739fa(0x1b2)])),_0x567cac(0x5,_0x27458f[_0x3739fa(0x38f)](_0x42aeef['IRemoteInstanceService']))],_0x342316[_0x3739fa(0x67f)]);var _0x2220b1=Object[_0x3739fa(0x2c0)],_0x31677b=Object['getOwnPropertyDescriptor'],_0x1f2c70=(_0x9e7bde,_0x8b9edb,_0x4d6183,_0xd06dc4)=>{const _0x1598a9=_0x3739fa;for(var _0x33ccbc=_0xd06dc4>0x1?void 0x0:_0xd06dc4?_0x31677b(_0x8b9edb,_0x4d6183):_0x8b9edb,_0x42cd7=_0x9e7bde[_0x1598a9(0x477)]-0x1,_0x1879be;_0x42cd7>=0x0;_0x42cd7--)(_0x1879be=_0x9e7bde[_0x42cd7])&&(_0x33ccbc=(_0xd06dc4?_0x1879be(_0x8b9edb,_0x4d6183,_0x33ccbc):_0x1879be(_0x33ccbc))||_0x33ccbc);return _0xd06dc4&&_0x33ccbc&&_0x2220b1(_0x8b9edb,_0x4d6183,_0x33ccbc),_0x33ccbc;},_0x2624ef=(_0x21e4c2,_0x3ccf0f)=>(_0xcafbe7,_0x5aeb42)=>_0x3ccf0f(_0xcafbe7,_0x5aeb42,_0x21e4c2);const _0x2e12de='DEFAULT_FILE_NAME',_0x218805=_0x3739fa(0x5ce);let _0x4a6227=class extends _0x27458f['Disposable']{constructor(_0x3e37f6,_0x410b81){const _0x58f805=_0x3739fa;super(),this['_univerInstanceService']=_0x3e37f6,this['_configService']=_0x410b81,this[_0x58f805(0x328)]();}['_init'](){const _0xb3c2d6=_0x3739fa;this[_0xb3c2d6(0x324)](this[_0xb3c2d6(0x1f1)][_0xb3c2d6(0x3e6)][_0xb3c2d6(0x618)](()=>{const _0x3d9f99=_0xb3c2d6;var _0x3a4181;const _0x55c7b7=this[_0x3d9f99(0x1f1)][_0x3d9f99(0x273)]();let _0x9a30b4=(_0x3a4181=this['_configService'][_0x3d9f99(0x556)](_0x2e12de))!=null?_0x3a4181:_0x218805;_0x55c7b7 instanceof _0x27458f['Workbook']&&(_0x9a30b4=_0x55c7b7[_0x3d9f99(0x667)]),document[_0x3d9f99(0x5f1)]=_0x9a30b4;}));}};_0x4a6227=_0x1f2c70([_0x2624ef(0x0,_0x27458f[_0x3739fa(0x2e8)]),_0x2624ef(0x1,_0x27458f[_0x3739fa(0x628)])],_0x4a6227);var _0x369c31=Object['defineProperty'],_0x581f65=Object[_0x3739fa(0x4e4)],_0x5da2dd=(_0x239b76,_0x1df118,_0x48c1f9,_0xe7be2)=>{for(var _0x33f8a2=_0xe7be2>0x1?void 0x0:_0xe7be2?_0x581f65(_0x1df118,_0x48c1f9):_0x1df118,_0xb20c20=_0x239b76['length']-0x1,_0xb3e1de;_0xb20c20>=0x0;_0xb20c20--)(_0xb3e1de=_0x239b76[_0xb20c20])&&(_0x33f8a2=(_0xe7be2?_0xb3e1de(_0x1df118,_0x48c1f9,_0x33f8a2):_0xb3e1de(_0x33f8a2))||_0x33f8a2);return _0xe7be2&&_0x33f8a2&&_0x369c31(_0x1df118,_0x48c1f9,_0x33f8a2),_0x33f8a2;},_0x24d565=(_0x5b06c6,_0x2349be)=>(_0x9aeebe,_0x1104f8)=>_0x2349be(_0x9aeebe,_0x1104f8,_0x5b06c6);let _0xe4f40e=class{constructor(_0x3fe709,_0x85811d,_0x1ee605){const _0x7d2889=_0x3739fa;this[_0x7d2889(0x29e)]=_0x3fe709,this['_httpService']=_0x85811d,this[_0x7d2889(0x396)]=_0x1ee605,this[_0x7d2889(0x494)]();}[_0x3739fa(0x494)](){const _0x550729=_0x3739fa;this['_httpService'][_0x550729(0x57f)]({'priority':0x1,'interceptor':(_0x18ccfe,_0x48ad37)=>_0x48ad37(_0x18ccfe)['pipe'](_0x19f426[_0x550729(0x4ad)](async _0x39a342=>{const _0x11b195=_0x550729,_0x45b501=_0x39a342;if(_0x45b501[_0x11b195(0x23d)]===0x191&&window[_0x11b195(0x5f6)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x36215f=window[_0x11b195(0x1ec)](window[_0x11b195(0x2af)]['href']);window[_0x11b195(0x2af)][_0x11b195(0x1fb)]=this['_getLoginPath']()+_0x11b195(0x271)+_0x36215f;}return _0x45b501;}))});}[_0x3739fa(0x3b8)](){const _0xd50e6=_0x3739fa;var _0x19bd04,_0x4bfb64;const _0x27125f=this[_0xd50e6(0x29e)][_0xd50e6(0x556)](_0x1f0873),_0x3c7160=this[_0xd50e6(0x29e)][_0xd50e6(0x556)](_0x4ff220);return(_0x4bfb64=(_0x19bd04=_0x3c7160==null?void 0x0:_0x3c7160[_0xd50e6(0x3ed)])!=null?_0x19bd04:_0x27125f)!=null?_0x4bfb64:_0x22279f;}};_0xe4f40e=_0x5da2dd([_0x24d565(0x0,_0x27458f[_0x3739fa(0x628)]),_0x24d565(0x1,_0x27458f[_0x3739fa(0x2bf)](_0x177724[_0x3739fa(0x333)])),_0x24d565(0x2,_0x27458f['Inject'](_0x27458f[_0x3739fa(0x4f3)]))],_0xe4f40e);var _0x380ba8=Object[_0x3739fa(0x2c0)],_0x1629b3=Object[_0x3739fa(0x4e4)],_0x437a15=(_0x53e18d,_0x2ca96b,_0x329f94,_0xe0a4d3)=>{const _0x4dfb8f=_0x3739fa;for(var _0x329554=_0xe0a4d3>0x1?void 0x0:_0xe0a4d3?_0x1629b3(_0x2ca96b,_0x329f94):_0x2ca96b,_0x499904=_0x53e18d[_0x4dfb8f(0x477)]-0x1,_0x34f251;_0x499904>=0x0;_0x499904--)(_0x34f251=_0x53e18d[_0x499904])&&(_0x329554=(_0xe0a4d3?_0x34f251(_0x2ca96b,_0x329f94,_0x329554):_0x34f251(_0x329554))||_0x329554);return _0xe0a4d3&&_0x329554&&_0x380ba8(_0x2ca96b,_0x329f94,_0x329554),_0x329554;},_0x1a3be0=(_0x35ec73,_0x22e2b6)=>(_0x5cf1a6,_0xf28a31)=>_0x22e2b6(_0x5cf1a6,_0xf28a31,_0x35ec73);const _0x291a38=_0x3739fa(0x261),_0x1db157=_0x3739fa(0x378);_0x342316[_0x3739fa(0x604)]=class extends _0x27458f[_0x3739fa(0x5eb)]{constructor(_0x550d61,_0x34cae1){const _0x93a7a0=_0x3739fa;super(),this[_0x93a7a0(0x55c)]=_0x550d61,this['_configService']=_0x34cae1,this['_initMergeInterceptor']();}[_0x3739fa(0x3cd)](){const _0x554bff=_0x3739fa,_0x51e25c=this;this[_0x554bff(0x324)](this[_0x554bff(0x55c)][_0x554bff(0x57f)]({'priority':0x3e7,'interceptor':_0x177724[_0x554bff(0x24e)]({'isMatch'(_0x4ea26f){const _0x1c23eb=_0x554bff;var _0x4d1c0f;if(_0x4ea26f[_0x1c23eb(0x367)]==='POST'&&((_0x4d1c0f=_0x4ea26f[_0x1c23eb(0x608)])!=null&&_0x4d1c0f['body'])){const {objectID:_0x104f51,objectType:_0x3530ff}=_0x4ea26f[_0x1c23eb(0x608)][_0x1c23eb(0x3fa)]||{};if(!_0x104f51||_0x3530ff===void 0x0)return!0x1;const _0x437505=_0x51e25c['_getAPIPrefixPath']()+'/'+_0x3530ff+_0x1c23eb(0x208)+_0x104f51+_0x1c23eb(0x3ef);if(_0x4ea26f[_0x1c23eb(0x620)]===_0x437505)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16a6cc){const _0x1e9d9a=_0x554bff;var _0x3bc522;return(_0x3bc522=_0x16a6cc[_0x1e9d9a(0x608)])==null?void 0x0:_0x3bc522[_0x1e9d9a(0x3fa)];},'mergeParamsToRequest'(_0x34b42f,_0x49c8e6){const _0x3bbc8c=_0x554bff,_0x531219=_0x51e25c[_0x3bbc8c(0x4e5)]()+_0x3bbc8c(0x5cf),_0x25f1db=_0x34b42f[_0x3bbc8c(0x449)]((_0xcfc923,_0x3b762f)=>{const _0x5380c9=_0x3bbc8c,{unitID:_0x43b11b,objectID:_0x10900e,objectType:_0x3b5c33,actions:_0x18f5d8}=_0x3b762f;return _0xcfc923[_0x43b11b]||(_0xcfc923[_0x43b11b]={}),_0xcfc923[_0x43b11b][_0x10900e]||(_0xcfc923[_0x43b11b][_0x10900e]={'objectID':_0x10900e,'objectType':_0x3b5c33,'actions':[]}),_0xcfc923[_0x43b11b][_0x10900e][_0x5380c9(0x658)][_0x5380c9(0x5c6)](..._0x18f5d8),_0xcfc923;},{}),_0x560f89=[];for(const _0x2cda90 in _0x25f1db)for(const _0x51cb83 in _0x25f1db[_0x2cda90]){const {actions:_0x4d40b2,objectType:_0x24f843}=_0x25f1db[_0x2cda90][_0x51cb83],_0x30ad85=[...new Set(_0x4d40b2)];_0x560f89['push']({'unitID':_0x2cda90,'objectID':_0x51cb83,'objectType':_0x24f843,'actions':_0x30ad85});}return new _0x177724['HTTPRequest'](_0x3bbc8c(0x25f),_0x531219,{'headers':_0x49c8e6[_0x3bbc8c(0x45e)],'withCredentials':_0x49c8e6[_0x3bbc8c(0x1d3)],'responseType':_0x49c8e6[_0x3bbc8c(0x20e)],'body':{'requests':_0x560f89}});}},{'distributeResult'(_0xe4b276,_0x3a34d3){const _0x1ed35c=_0x554bff,{objectActions:_0x2d15c1}=_0xe4b276;return _0x3a34d3[_0x1ed35c(0x312)](_0x48913d=>{const _0x5c859b=_0x1ed35c,{unitID:_0x5e64ce,objectID:_0x3baa6d,actions:_0x5e0ae0}=_0x48913d,_0x4f1f4c=_0x2d15c1['find'](_0x223b83=>_0x223b83[_0x5c859b(0x4ef)]===_0x5e64ce&&_0x223b83['objectID']===_0x3baa6d),_0x3dbec1=_0x5e0ae0[_0x5c859b(0x312)](_0x4efb2e=>_0x4f1f4c==null?void 0x0:_0x4f1f4c[_0x5c859b(0x658)]['find'](_0x336c9a=>_0x336c9a[_0x5c859b(0x43b)]===_0x4efb2e))[_0x5c859b(0x3c7)](_0x1c3a70=>!!_0x1c3a70);return{'config':_0x48913d,'result':{'actions':_0x3dbec1,'error':_0xe4b276[_0x5c859b(0x4dc)]}};});}})}));}['_getAPIPrefixPath'](){const _0xb9e758=_0x3739fa;var _0x24bde5,_0x443839;const _0x521603=this[_0xb9e758(0x29e)][_0xb9e758(0x556)](_0x291a38),_0x280471=this['_configService'][_0xb9e758(0x556)](_0x4ff220);return(_0x443839=(_0x24bde5=_0x280471==null?void 0x0:_0x280471[_0xb9e758(0x2b5)])!=null?_0x24bde5:_0x521603)!=null?_0x443839:_0x1db157;}async[_0x3739fa(0x54c)](_0x400c88){const _0x584290=_0x3739fa,_0x40bb05=this['_getAPIPrefixPath']()+'/'+_0x400c88[_0x584290(0x5b5)]+_0x584290(0x553);return(await this[_0x584290(0x55c)]['post'](_0x40bb05,{'body':_0x400c88}))[_0x584290(0x3fa)]['objectID']||'';}async[_0x3739fa(0x471)](_0x2c86c0){const _0x2d1e39=_0x3739fa,_0x1db14d=this[_0x2d1e39(0x4e5)]()+'/-/object/list';return(await this[_0x2d1e39(0x55c)][_0x2d1e39(0x670)](_0x1db14d,{'body':_0x2c86c0}))['body'][_0x2d1e39(0x1b0)];}async[_0x3739fa(0x5ad)](_0x3f3a0b){const _0x3711ed=_0x3739fa,_0x1996cc=this[_0x3711ed(0x4e5)]()+'/'+_0x3f3a0b[_0x3711ed(0x5b5)]+'/object/'+_0x3f3a0b[_0x3711ed(0x580)];await this[_0x3711ed(0x55c)][_0x3711ed(0x4f5)](_0x1996cc,{'body':_0x3f3a0b});}async[_0x3739fa(0x606)](_0x483dc3){const _0x484911=_0x3739fa,_0x10c72f=this[_0x484911(0x4e5)]()+'/'+_0x483dc3[_0x484911(0x5b5)]+_0x484911(0x208)+_0x483dc3[_0x484911(0x580)]+_0x484911(0x3ef);return(await this['_HTTPService']['post'](_0x10c72f,{'body':_0x483dc3}))['body'][_0x484911(0x658)];}async[_0x3739fa(0x443)](_0x23b874){const _0x5225fb=_0x3739fa,_0x3fa590=this[_0x5225fb(0x4e5)]()+_0x5225fb(0x5cf);return(await this[_0x5225fb(0x55c)][_0x5225fb(0x670)](_0x3fa590,{'body':{'requests':_0x23b874}}))['body'][_0x5225fb(0x3e3)];}async[_0x3739fa(0x48a)](_0x1ed013){const _0x57480=_0x3739fa,_0x22bcbf=this[_0x57480(0x4e5)]()+'/'+_0x1ed013[_0x57480(0x5b5)]+_0x57480(0x411),_0x294722=await this[_0x57480(0x55c)][_0x57480(0x670)](_0x22bcbf,{'body':_0x1ed013});return{'roles':_0x294722[_0x57480(0x3fa)][_0x57480(0x29c)],'actions':_0x294722[_0x57480(0x3fa)]['actions']};}async['deleteCollaborator'](_0x3fbf95){const _0x1ec2bb=_0x3739fa,_0x524322=this[_0x1ec2bb(0x4e5)]()+_0x1ec2bb(0x3af);await this[_0x1ec2bb(0x55c)][_0x1ec2bb(0x660)](_0x524322,{'params':{'collaboratorID':_0x3fbf95[_0x1ec2bb(0x4e7)],'objectID':_0x3fbf95['objectID'],'unitID':_0x3fbf95['unitID']}});}async['updateCollaborator'](_0x23d854){const _0x50a32b=_0x3739fa,_0x352ead=this[_0x50a32b(0x4e5)]()+_0x50a32b(0x3af);await this[_0x50a32b(0x55c)][_0x50a32b(0x398)](_0x352ead,{'body':_0x23d854});}async[_0x3739fa(0x3fe)](_0x1114bb){const _0x4f1259=_0x3739fa,_0x136cbb=this[_0x4f1259(0x4e5)]()+_0x4f1259(0x3af);await this[_0x4f1259(0x55c)][_0x4f1259(0x670)](_0x136cbb,{'body':_0x1114bb});}async[_0x3739fa(0x509)](_0x197a04){const _0x36048c=_0x3739fa,_0x391e99=this[_0x36048c(0x4e5)]()+_0x36048c(0x3af);return(await this['_HTTPService']['get'](_0x391e99,{'params':{'objectID':_0x197a04['objectID'],'unitID':_0x197a04[_0x36048c(0x4ef)]}}))['body'][_0x36048c(0x33a)];}async[_0x3739fa(0x1c3)](_0x4e1e96){const _0x359bf9=_0x3739fa,_0x1e21c1=this['_getAPIPrefixPath']()+_0x359bf9(0x3af);await this[_0x359bf9(0x55c)][_0x359bf9(0x4f5)](_0x1e21c1,{'body':_0x4e1e96});}},_0x342316[_0x3739fa(0x604)]=_0x437a15([_0x1a3be0(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x177724[_0x3739fa(0x333)])),_0x1a3be0(0x1,_0x27458f[_0x3739fa(0x2bf)](_0x27458f['IConfigService']))],_0x342316[_0x3739fa(0x604)]);var _0x1828c9={'exports':{}};function _0x311c65(_0x531217){const _0x371876=_0x3739fa;throw new Error(_0x371876(0x61a)+_0x531217+_0x371876(0x4de));}var _0x25add2={'exports':{}},_0x48f9e5;function _0x409d16(){const _0x401cd8=_0x3739fa;return _0x48f9e5||(_0x48f9e5=0x1,function(_0x484dab,_0x3f1939){(function(_0x2ebd71,_0x59ca3c){const _0x4b587d=_0x2e6a;_0x484dab[_0x4b587d(0x406)]=_0x59ca3c();}(_0xf90590,function(){var _0x341a3e=_0x341a3e||function(_0x5d6b63,_0x579bce){const _0x3bd07a=_0x2e6a;var _0x20231d;if(typeof window<'u'&&window[_0x3bd07a(0x544)]&&(_0x20231d=window[_0x3bd07a(0x544)]),typeof self<'u'&&self[_0x3bd07a(0x544)]&&(_0x20231d=self[_0x3bd07a(0x544)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x20231d=globalThis['crypto']),!_0x20231d&&typeof window<'u'&&window[_0x3bd07a(0x33e)]&&(_0x20231d=window[_0x3bd07a(0x33e)]),!_0x20231d&&typeof _0xf90590<'u'&&_0xf90590['crypto']&&(_0x20231d=_0xf90590[_0x3bd07a(0x544)]),!_0x20231d&&typeof _0x311c65==_0x3bd07a(0x1b7))try{_0x20231d=require('crypto');}catch{}var _0x503fd3=function(){const _0x4cce6c=_0x3bd07a;if(_0x20231d){if(typeof _0x20231d['getRandomValues']==_0x4cce6c(0x1b7))try{return _0x20231d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x20231d[_0x4cce6c(0x319)]==_0x4cce6c(0x1b7))try{return _0x20231d[_0x4cce6c(0x319)](0x4)[_0x4cce6c(0x474)]();}catch{}}throw new Error(_0x4cce6c(0x588));},_0xc01876=Object['create']||(function(){function _0x2a39af(){}return function(_0x56af21){const _0x5df957=_0x2e6a;var _0x380c6e;return _0x2a39af[_0x5df957(0x612)]=_0x56af21,_0x380c6e=new _0x2a39af(),_0x2a39af['prototype']=null,_0x380c6e;};}()),_0x52df83={},_0x51187e=_0x52df83[_0x3bd07a(0x4d0)]={},_0x1ac83c=_0x51187e['Base']=(function(){return{'extend':function(_0x38ba0b){const _0x1a1359=_0x2e6a;var _0x301de1=_0xc01876(this);return _0x38ba0b&&_0x301de1[_0x1a1359(0x64d)](_0x38ba0b),(!_0x301de1['hasOwnProperty'](_0x1a1359(0x494))||this['init']===_0x301de1['init'])&&(_0x301de1[_0x1a1359(0x494)]=function(){const _0x406641=_0x1a1359;_0x301de1[_0x406641(0x371)][_0x406641(0x494)][_0x406641(0x3e7)](this,arguments);}),_0x301de1[_0x1a1359(0x494)]['prototype']=_0x301de1,_0x301de1['$super']=this,_0x301de1;},'create':function(){const _0x11f694=_0x2e6a;var _0x17586b=this[_0x11f694(0x47f)]();return _0x17586b[_0x11f694(0x494)][_0x11f694(0x3e7)](_0x17586b,arguments),_0x17586b;},'init':function(){},'mixIn':function(_0x363be0){const _0x38159d=_0x2e6a;for(var _0x132368 in _0x363be0)_0x363be0[_0x38159d(0x31f)](_0x132368)&&(this[_0x132368]=_0x363be0[_0x132368]);_0x363be0['hasOwnProperty'](_0x38159d(0x315))&&(this[_0x38159d(0x315)]=_0x363be0['toString']);},'clone':function(){const _0x34af45=_0x2e6a;return this[_0x34af45(0x494)]['prototype'][_0x34af45(0x47f)](this);}};}()),_0x4cc463=_0x51187e[_0x3bd07a(0x2bb)]=_0x1ac83c['extend']({'init':function(_0x2be59f,_0x416115){const _0x6b0b31=_0x3bd07a;_0x2be59f=this[_0x6b0b31(0x254)]=_0x2be59f||[],_0x416115!=_0x579bce?this[_0x6b0b31(0x44b)]=_0x416115:this[_0x6b0b31(0x44b)]=_0x2be59f[_0x6b0b31(0x477)]*0x4;},'toString':function(_0x24d176){const _0x57c211=_0x3bd07a;return(_0x24d176||_0x2ad7d3)[_0x57c211(0x2c8)](this);},'concat':function(_0x449d82){const _0x3d4c58=_0x3bd07a;var _0x590142=this[_0x3d4c58(0x254)],_0x2d9036=_0x449d82[_0x3d4c58(0x254)],_0x3892eb=this['sigBytes'],_0x3d192d=_0x449d82[_0x3d4c58(0x44b)];if(this[_0x3d4c58(0x46a)](),_0x3892eb%0x4)for(var _0x5cb3ef=0x0;_0x5cb3ef<_0x3d192d;_0x5cb3ef++){var _0x3978c2=_0x2d9036[_0x5cb3ef>>>0x2]>>>0x18-_0x5cb3ef%0x4*0x8&0xff;_0x590142[_0x3892eb+_0x5cb3ef>>>0x2]|=_0x3978c2<<0x18-(_0x3892eb+_0x5cb3ef)%0x4*0x8;}else{for(var _0x1b1d95=0x0;_0x1b1d95<_0x3d192d;_0x1b1d95+=0x4)_0x590142[_0x3892eb+_0x1b1d95>>>0x2]=_0x2d9036[_0x1b1d95>>>0x2];}return this[_0x3d4c58(0x44b)]+=_0x3d192d,this;},'clamp':function(){const _0x23d553=_0x3bd07a;var _0xb25864=this['words'],_0x257bee=this[_0x23d553(0x44b)];_0xb25864[_0x257bee>>>0x2]&=0xffffffff<<0x20-_0x257bee%0x4*0x8,_0xb25864[_0x23d553(0x477)]=_0x5d6b63[_0x23d553(0x2a0)](_0x257bee/0x4);},'clone':function(){const _0x5db580=_0x3bd07a;var _0xb2e241=_0x1ac83c[_0x5db580(0x20a)][_0x5db580(0x3cf)](this);return _0xb2e241[_0x5db580(0x254)]=this[_0x5db580(0x254)][_0x5db580(0x4bd)](0x0),_0xb2e241;},'random':function(_0x3c4344){for(var _0x5490ea=[],_0x1331fa=0x0;_0x1331fa<_0x3c4344;_0x1331fa+=0x4)_0x5490ea['push'](_0x503fd3());return new _0x4cc463['init'](_0x5490ea,_0x3c4344);}}),_0x1ae59c=_0x52df83[_0x3bd07a(0x676)]={},_0x2ad7d3=_0x1ae59c[_0x3bd07a(0x507)]={'stringify':function(_0x543ffe){const _0x140b6d=_0x3bd07a;for(var _0x338019=_0x543ffe['words'],_0x2745b3=_0x543ffe['sigBytes'],_0x24679b=[],_0x1fc433=0x0;_0x1fc433<_0x2745b3;_0x1fc433++){var _0x4d3cb5=_0x338019[_0x1fc433>>>0x2]>>>0x18-_0x1fc433%0x4*0x8&0xff;_0x24679b[_0x140b6d(0x5c6)]((_0x4d3cb5>>>0x4)['toString'](0x10)),_0x24679b[_0x140b6d(0x5c6)]((_0x4d3cb5&0xf)[_0x140b6d(0x315)](0x10));}return _0x24679b[_0x140b6d(0x476)]('');},'parse':function(_0x49026a){const _0x144d29=_0x3bd07a;for(var _0x48e97d=_0x49026a[_0x144d29(0x477)],_0x27e9d8=[],_0x38de90=0x0;_0x38de90<_0x48e97d;_0x38de90+=0x2)_0x27e9d8[_0x38de90>>>0x3]|=parseInt(_0x49026a[_0x144d29(0x293)](_0x38de90,0x2),0x10)<<0x18-_0x38de90%0x8*0x4;return new _0x4cc463[(_0x144d29(0x494))](_0x27e9d8,_0x48e97d/0x2);}},_0x476b98=_0x1ae59c[_0x3bd07a(0x37c)]={'stringify':function(_0x22acae){const _0x4066f4=_0x3bd07a;for(var _0x3bc91a=_0x22acae[_0x4066f4(0x254)],_0x3cc799=_0x22acae[_0x4066f4(0x44b)],_0x56d903=[],_0x3cc83e=0x0;_0x3cc83e<_0x3cc799;_0x3cc83e++){var _0x2543d1=_0x3bc91a[_0x3cc83e>>>0x2]>>>0x18-_0x3cc83e%0x4*0x8&0xff;_0x56d903[_0x4066f4(0x5c6)](String[_0x4066f4(0x49a)](_0x2543d1));}return _0x56d903['join']('');},'parse':function(_0x2aa87e){const _0x5d678a=_0x3bd07a;for(var _0x46bc2c=_0x2aa87e[_0x5d678a(0x477)],_0x5e0ef8=[],_0x541fcc=0x0;_0x541fcc<_0x46bc2c;_0x541fcc++)_0x5e0ef8[_0x541fcc>>>0x2]|=(_0x2aa87e[_0x5d678a(0x526)](_0x541fcc)&0xff)<<0x18-_0x541fcc%0x4*0x8;return new _0x4cc463[(_0x5d678a(0x494))](_0x5e0ef8,_0x46bc2c);}},_0x33396f=_0x1ae59c[_0x3bd07a(0x2b1)]={'stringify':function(_0x1de166){try{return decodeURIComponent(escape(_0x476b98['stringify'](_0x1de166)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3781ad){const _0x23f8c5=_0x3bd07a;return _0x476b98[_0x23f8c5(0x459)](unescape(encodeURIComponent(_0x3781ad)));}},_0x49ce28=_0x51187e[_0x3bd07a(0x654)]=_0x1ac83c['extend']({'reset':function(){const _0x352b1b=_0x3bd07a;this['_data']=new _0x4cc463[(_0x352b1b(0x494))](),this['_nDataBytes']=0x0;},'_append':function(_0x1b9022){const _0x22c1dd=_0x3bd07a;typeof _0x1b9022==_0x22c1dd(0x2a4)&&(_0x1b9022=_0x33396f['parse'](_0x1b9022)),this[_0x22c1dd(0x40d)][_0x22c1dd(0x42d)](_0x1b9022),this[_0x22c1dd(0x349)]+=_0x1b9022[_0x22c1dd(0x44b)];},'_process':function(_0x401094){const _0x4be1d8=_0x3bd07a;var _0x9781b1,_0x57f7f2=this['_data'],_0x55bee6=_0x57f7f2[_0x4be1d8(0x254)],_0xcbc906=_0x57f7f2[_0x4be1d8(0x44b)],_0x147eb8=this[_0x4be1d8(0x2a1)],_0x18e0dc=_0x147eb8*0x4,_0x2958a6=_0xcbc906/_0x18e0dc;_0x401094?_0x2958a6=_0x5d6b63['ceil'](_0x2958a6):_0x2958a6=_0x5d6b63[_0x4be1d8(0x352)]((_0x2958a6|0x0)-this[_0x4be1d8(0x1cc)],0x0);var _0x54d67b=_0x2958a6*_0x147eb8,_0x3361b2=_0x5d6b63[_0x4be1d8(0x40f)](_0x54d67b*0x4,_0xcbc906);if(_0x54d67b){for(var _0x4b4e3e=0x0;_0x4b4e3e<_0x54d67b;_0x4b4e3e+=_0x147eb8)this[_0x4be1d8(0x394)](_0x55bee6,_0x4b4e3e);_0x9781b1=_0x55bee6[_0x4be1d8(0x62b)](0x0,_0x54d67b),_0x57f7f2[_0x4be1d8(0x44b)]-=_0x3361b2;}return new _0x4cc463[(_0x4be1d8(0x494))](_0x9781b1,_0x3361b2);},'clone':function(){const _0x442615=_0x3bd07a;var _0x269d98=_0x1ac83c[_0x442615(0x20a)][_0x442615(0x3cf)](this);return _0x269d98[_0x442615(0x40d)]=this[_0x442615(0x40d)]['clone'](),_0x269d98;},'_minBufferSize':0x0});_0x51187e[_0x3bd07a(0x266)]=_0x49ce28[_0x3bd07a(0x47f)]({'cfg':_0x1ac83c['extend'](),'init':function(_0x167ce7){const _0x4172ba=_0x3bd07a;this[_0x4172ba(0x3a6)]=this[_0x4172ba(0x3a6)]['extend'](_0x167ce7),this[_0x4172ba(0x48f)]();},'reset':function(){const _0x3d2848=_0x3bd07a;_0x49ce28[_0x3d2848(0x48f)][_0x3d2848(0x3cf)](this),this[_0x3d2848(0x543)]();},'update':function(_0x3197d4){const _0x2d388b=_0x3bd07a;return this[_0x2d388b(0x25b)](_0x3197d4),this[_0x2d388b(0x4be)](),this;},'finalize':function(_0xbc0bc){const _0x20c5d3=_0x3bd07a;_0xbc0bc&&this['_append'](_0xbc0bc);var _0x366b7c=this[_0x20c5d3(0x329)]();return _0x366b7c;},'blockSize':0x10,'_createHelper':function(_0x341077){return function(_0x4a4517,_0x4364d8){const _0x5be9c6=_0x2e6a;return new _0x341077[(_0x5be9c6(0x494))](_0x4364d8)[_0x5be9c6(0x48b)](_0x4a4517);};},'_createHmacHelper':function(_0x4166a9){return function(_0x171c72,_0x587318){const _0x291539=_0x2e6a;return new _0x33ebe0[(_0x291539(0x3e4))]['init'](_0x4166a9,_0x587318)[_0x291539(0x48b)](_0x171c72);};}});var _0x33ebe0=_0x52df83['algo']={};return _0x52df83;}(Math);return _0x341a3e;}));}(_0x25add2)),_0x25add2[_0x401cd8(0x406)];}var _0x4c9870={'exports':{}},_0x1ea41e;function _0x7b2b2e(){const _0x201416=_0x3739fa;return _0x1ea41e||(_0x1ea41e=0x1,function(_0x306482,_0x5ab601){(function(_0x4162a6,_0x23cf57){const _0x14b651=_0x2e6a;_0x306482[_0x14b651(0x406)]=_0x23cf57(_0x409d16());}(_0xf90590,function(_0x5acf33){const _0x4cfe85=_0x2e6a;return(function(){const _0x2ef9c0=_0x2e6a;var _0x4a2a7b=_0x5acf33,_0x17f551=_0x4a2a7b[_0x2ef9c0(0x4d0)],_0x19ae35=_0x17f551['WordArray'],_0x224000=_0x4a2a7b[_0x2ef9c0(0x676)];_0x224000[_0x2ef9c0(0x4b3)]={'stringify':function(_0x190f6b){const _0x4b7659=_0x2ef9c0;var _0xccfb8d=_0x190f6b[_0x4b7659(0x254)],_0x2d7135=_0x190f6b['sigBytes'],_0x1e7c7b=this[_0x4b7659(0x1e1)];_0x190f6b['clamp']();for(var _0x234f6f=[],_0x33d05c=0x0;_0x33d05c<_0x2d7135;_0x33d05c+=0x3)for(var _0xce1958=_0xccfb8d[_0x33d05c>>>0x2]>>>0x18-_0x33d05c%0x4*0x8&0xff,_0x55fe5a=_0xccfb8d[_0x33d05c+0x1>>>0x2]>>>0x18-(_0x33d05c+0x1)%0x4*0x8&0xff,_0x33af81=_0xccfb8d[_0x33d05c+0x2>>>0x2]>>>0x18-(_0x33d05c+0x2)%0x4*0x8&0xff,_0x10c4bd=_0xce1958<<0x10|_0x55fe5a<<0x8|_0x33af81,_0x2636c4=0x0;_0x2636c4<0x4&&_0x33d05c+_0x2636c4*0.75<_0x2d7135;_0x2636c4++)_0x234f6f[_0x4b7659(0x5c6)](_0x1e7c7b['charAt'](_0x10c4bd>>>0x6*(0x3-_0x2636c4)&0x3f));var _0x3cc96a=_0x1e7c7b[_0x4b7659(0x5df)](0x40);if(_0x3cc96a){for(;_0x234f6f['length']%0x4;)_0x234f6f[_0x4b7659(0x5c6)](_0x3cc96a);}return _0x234f6f[_0x4b7659(0x476)]('');},'parse':function(_0x46285d){const _0x916520=_0x2ef9c0;var _0x4e2241=_0x46285d[_0x916520(0x477)],_0x1a93fd=this[_0x916520(0x1e1)],_0x88fee9=this[_0x916520(0x1b1)];if(!_0x88fee9){_0x88fee9=this['_reverseMap']=[];for(var _0x5c314e=0x0;_0x5c314e<_0x1a93fd[_0x916520(0x477)];_0x5c314e++)_0x88fee9[_0x1a93fd[_0x916520(0x526)](_0x5c314e)]=_0x5c314e;}var _0x7ed740=_0x1a93fd[_0x916520(0x5df)](0x40);if(_0x7ed740){var _0x321c80=_0x46285d[_0x916520(0x219)](_0x7ed740);_0x321c80!==-0x1&&(_0x4e2241=_0x321c80);}return _0x409a02(_0x46285d,_0x4e2241,_0x88fee9);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x409a02(_0x2334c5,_0x1c6b76,_0x3a6ee2){const _0x1a999d=_0x2ef9c0;for(var _0x2406df=[],_0x1258fa=0x0,_0x52f5c8=0x0;_0x52f5c8<_0x1c6b76;_0x52f5c8++)if(_0x52f5c8%0x4){var _0x2f9b84=_0x3a6ee2[_0x2334c5[_0x1a999d(0x526)](_0x52f5c8-0x1)]<<_0x52f5c8%0x4*0x2,_0x4102e9=_0x3a6ee2[_0x2334c5[_0x1a999d(0x526)](_0x52f5c8)]>>>0x6-_0x52f5c8%0x4*0x2,_0x423a30=_0x2f9b84|_0x4102e9;_0x2406df[_0x1258fa>>>0x2]|=_0x423a30<<0x18-_0x1258fa%0x4*0x8,_0x1258fa++;}return _0x19ae35[_0x1a999d(0x54c)](_0x2406df,_0x1258fa);}}()),_0x5acf33[_0x4cfe85(0x676)]['Base64'];}));}(_0x4c9870)),_0x4c9870[_0x201416(0x406)];}var _0x408549={'exports':{}},_0x1732b7;function _0x5af1b7(){const _0x1a5ba4=_0x3739fa;return _0x1732b7||(_0x1732b7=0x1,function(_0x5e8adb,_0x5af80e){(function(_0x3aced5,_0x40c0c2){const _0x319436=_0x2e6a;_0x5e8adb[_0x319436(0x406)]=_0x40c0c2(_0x409d16());}(_0xf90590,function(_0x368269){const _0xca351a=_0x2e6a;return function(_0x202945){const _0x550a39=_0x2e6a;var _0x3642d8=_0x368269,_0x11a7ba=_0x3642d8[_0x550a39(0x4d0)],_0x48000a=_0x11a7ba['WordArray'],_0x50d383=_0x11a7ba[_0x550a39(0x266)],_0x9fa0a2=_0x3642d8['algo'],_0x2371e5=[];(function(){const _0x5b03f8=_0x550a39;for(var _0x1d84d3=0x0;_0x1d84d3<0x40;_0x1d84d3++)_0x2371e5[_0x1d84d3]=_0x202945[_0x5b03f8(0x24f)](_0x202945[_0x5b03f8(0x331)](_0x1d84d3+0x1))*0x100000000|0x0;}());var _0x1c236c=_0x9fa0a2['MD5']=_0x50d383['extend']({'_doReset':function(){const _0x19c895=_0x550a39;this[_0x19c895(0x4b9)]=new _0x48000a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3d48ea,_0x1a5e77){const _0x21bf45=_0x550a39;for(var _0x1aae92=0x0;_0x1aae92<0x10;_0x1aae92++){var _0x5c5bf7=_0x1a5e77+_0x1aae92,_0x1f5d3a=_0x3d48ea[_0x5c5bf7];_0x3d48ea[_0x5c5bf7]=(_0x1f5d3a<<0x8|_0x1f5d3a>>>0x18)&0xff00ff|(_0x1f5d3a<<0x18|_0x1f5d3a>>>0x8)&0xff00ff00;}var _0x15194a=this[_0x21bf45(0x4b9)][_0x21bf45(0x254)],_0x2b8531=_0x3d48ea[_0x1a5e77+0x0],_0x56e937=_0x3d48ea[_0x1a5e77+0x1],_0x2668f6=_0x3d48ea[_0x1a5e77+0x2],_0x43c028=_0x3d48ea[_0x1a5e77+0x3],_0xa14823=_0x3d48ea[_0x1a5e77+0x4],_0x56b52e=_0x3d48ea[_0x1a5e77+0x5],_0x51233d=_0x3d48ea[_0x1a5e77+0x6],_0x4db91f=_0x3d48ea[_0x1a5e77+0x7],_0x1e107c=_0x3d48ea[_0x1a5e77+0x8],_0x1c2a76=_0x3d48ea[_0x1a5e77+0x9],_0x46e9e9=_0x3d48ea[_0x1a5e77+0xa],_0x49c545=_0x3d48ea[_0x1a5e77+0xb],_0x5c7bc7=_0x3d48ea[_0x1a5e77+0xc],_0x10eaf3=_0x3d48ea[_0x1a5e77+0xd],_0x1ed4ae=_0x3d48ea[_0x1a5e77+0xe],_0x4607d0=_0x3d48ea[_0x1a5e77+0xf],_0x3d2603=_0x15194a[0x0],_0xe2b977=_0x15194a[0x1],_0x3b995c=_0x15194a[0x2],_0x57cd75=_0x15194a[0x3];_0x3d2603=_0x315790(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x2b8531,0x7,_0x2371e5[0x0]),_0x57cd75=_0x315790(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x56e937,0xc,_0x2371e5[0x1]),_0x3b995c=_0x315790(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x2668f6,0x11,_0x2371e5[0x2]),_0xe2b977=_0x315790(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x43c028,0x16,_0x2371e5[0x3]),_0x3d2603=_0x315790(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0xa14823,0x7,_0x2371e5[0x4]),_0x57cd75=_0x315790(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x56b52e,0xc,_0x2371e5[0x5]),_0x3b995c=_0x315790(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x51233d,0x11,_0x2371e5[0x6]),_0xe2b977=_0x315790(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x4db91f,0x16,_0x2371e5[0x7]),_0x3d2603=_0x315790(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x1e107c,0x7,_0x2371e5[0x8]),_0x57cd75=_0x315790(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x1c2a76,0xc,_0x2371e5[0x9]),_0x3b995c=_0x315790(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x46e9e9,0x11,_0x2371e5[0xa]),_0xe2b977=_0x315790(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x49c545,0x16,_0x2371e5[0xb]),_0x3d2603=_0x315790(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x5c7bc7,0x7,_0x2371e5[0xc]),_0x57cd75=_0x315790(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x10eaf3,0xc,_0x2371e5[0xd]),_0x3b995c=_0x315790(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x1ed4ae,0x11,_0x2371e5[0xe]),_0xe2b977=_0x315790(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x4607d0,0x16,_0x2371e5[0xf]),_0x3d2603=_0x47fd81(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x56e937,0x5,_0x2371e5[0x10]),_0x57cd75=_0x47fd81(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x51233d,0x9,_0x2371e5[0x11]),_0x3b995c=_0x47fd81(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x49c545,0xe,_0x2371e5[0x12]),_0xe2b977=_0x47fd81(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x2b8531,0x14,_0x2371e5[0x13]),_0x3d2603=_0x47fd81(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x56b52e,0x5,_0x2371e5[0x14]),_0x57cd75=_0x47fd81(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x46e9e9,0x9,_0x2371e5[0x15]),_0x3b995c=_0x47fd81(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x4607d0,0xe,_0x2371e5[0x16]),_0xe2b977=_0x47fd81(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0xa14823,0x14,_0x2371e5[0x17]),_0x3d2603=_0x47fd81(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x1c2a76,0x5,_0x2371e5[0x18]),_0x57cd75=_0x47fd81(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x1ed4ae,0x9,_0x2371e5[0x19]),_0x3b995c=_0x47fd81(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x43c028,0xe,_0x2371e5[0x1a]),_0xe2b977=_0x47fd81(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x1e107c,0x14,_0x2371e5[0x1b]),_0x3d2603=_0x47fd81(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x10eaf3,0x5,_0x2371e5[0x1c]),_0x57cd75=_0x47fd81(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x2668f6,0x9,_0x2371e5[0x1d]),_0x3b995c=_0x47fd81(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x4db91f,0xe,_0x2371e5[0x1e]),_0xe2b977=_0x47fd81(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x5c7bc7,0x14,_0x2371e5[0x1f]),_0x3d2603=_0xbdedb(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x56b52e,0x4,_0x2371e5[0x20]),_0x57cd75=_0xbdedb(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x1e107c,0xb,_0x2371e5[0x21]),_0x3b995c=_0xbdedb(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x49c545,0x10,_0x2371e5[0x22]),_0xe2b977=_0xbdedb(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x1ed4ae,0x17,_0x2371e5[0x23]),_0x3d2603=_0xbdedb(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x56e937,0x4,_0x2371e5[0x24]),_0x57cd75=_0xbdedb(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0xa14823,0xb,_0x2371e5[0x25]),_0x3b995c=_0xbdedb(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x4db91f,0x10,_0x2371e5[0x26]),_0xe2b977=_0xbdedb(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x46e9e9,0x17,_0x2371e5[0x27]),_0x3d2603=_0xbdedb(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x10eaf3,0x4,_0x2371e5[0x28]),_0x57cd75=_0xbdedb(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x2b8531,0xb,_0x2371e5[0x29]),_0x3b995c=_0xbdedb(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x43c028,0x10,_0x2371e5[0x2a]),_0xe2b977=_0xbdedb(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x51233d,0x17,_0x2371e5[0x2b]),_0x3d2603=_0xbdedb(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x1c2a76,0x4,_0x2371e5[0x2c]),_0x57cd75=_0xbdedb(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x5c7bc7,0xb,_0x2371e5[0x2d]),_0x3b995c=_0xbdedb(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x4607d0,0x10,_0x2371e5[0x2e]),_0xe2b977=_0xbdedb(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x2668f6,0x17,_0x2371e5[0x2f]),_0x3d2603=_0xbdf8df(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x2b8531,0x6,_0x2371e5[0x30]),_0x57cd75=_0xbdf8df(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x4db91f,0xa,_0x2371e5[0x31]),_0x3b995c=_0xbdf8df(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x1ed4ae,0xf,_0x2371e5[0x32]),_0xe2b977=_0xbdf8df(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x56b52e,0x15,_0x2371e5[0x33]),_0x3d2603=_0xbdf8df(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x5c7bc7,0x6,_0x2371e5[0x34]),_0x57cd75=_0xbdf8df(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x43c028,0xa,_0x2371e5[0x35]),_0x3b995c=_0xbdf8df(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x46e9e9,0xf,_0x2371e5[0x36]),_0xe2b977=_0xbdf8df(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x56e937,0x15,_0x2371e5[0x37]),_0x3d2603=_0xbdf8df(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0x1e107c,0x6,_0x2371e5[0x38]),_0x57cd75=_0xbdf8df(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x4607d0,0xa,_0x2371e5[0x39]),_0x3b995c=_0xbdf8df(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x51233d,0xf,_0x2371e5[0x3a]),_0xe2b977=_0xbdf8df(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x10eaf3,0x15,_0x2371e5[0x3b]),_0x3d2603=_0xbdf8df(_0x3d2603,_0xe2b977,_0x3b995c,_0x57cd75,_0xa14823,0x6,_0x2371e5[0x3c]),_0x57cd75=_0xbdf8df(_0x57cd75,_0x3d2603,_0xe2b977,_0x3b995c,_0x49c545,0xa,_0x2371e5[0x3d]),_0x3b995c=_0xbdf8df(_0x3b995c,_0x57cd75,_0x3d2603,_0xe2b977,_0x2668f6,0xf,_0x2371e5[0x3e]),_0xe2b977=_0xbdf8df(_0xe2b977,_0x3b995c,_0x57cd75,_0x3d2603,_0x1c2a76,0x15,_0x2371e5[0x3f]),_0x15194a[0x0]=_0x15194a[0x0]+_0x3d2603|0x0,_0x15194a[0x1]=_0x15194a[0x1]+_0xe2b977|0x0,_0x15194a[0x2]=_0x15194a[0x2]+_0x3b995c|0x0,_0x15194a[0x3]=_0x15194a[0x3]+_0x57cd75|0x0;},'_doFinalize':function(){const _0x3c32cc=_0x550a39;var _0x200300=this[_0x3c32cc(0x40d)],_0x445e44=_0x200300[_0x3c32cc(0x254)],_0x236769=this[_0x3c32cc(0x349)]*0x8,_0x5322e7=_0x200300[_0x3c32cc(0x44b)]*0x8;_0x445e44[_0x5322e7>>>0x5]|=0x80<<0x18-_0x5322e7%0x20;var _0x41d468=_0x202945[_0x3c32cc(0x32c)](_0x236769/0x100000000),_0x346d2e=_0x236769;_0x445e44[(_0x5322e7+0x40>>>0x9<<0x4)+0xf]=(_0x41d468<<0x8|_0x41d468>>>0x18)&0xff00ff|(_0x41d468<<0x18|_0x41d468>>>0x8)&0xff00ff00,_0x445e44[(_0x5322e7+0x40>>>0x9<<0x4)+0xe]=(_0x346d2e<<0x8|_0x346d2e>>>0x18)&0xff00ff|(_0x346d2e<<0x18|_0x346d2e>>>0x8)&0xff00ff00,_0x200300['sigBytes']=(_0x445e44[_0x3c32cc(0x477)]+0x1)*0x4,this[_0x3c32cc(0x4be)]();for(var _0x10cb6c=this[_0x3c32cc(0x4b9)],_0x3e22ad=_0x10cb6c[_0x3c32cc(0x254)],_0x19090d=0x0;_0x19090d<0x4;_0x19090d++){var _0x16f275=_0x3e22ad[_0x19090d];_0x3e22ad[_0x19090d]=(_0x16f275<<0x8|_0x16f275>>>0x18)&0xff00ff|(_0x16f275<<0x18|_0x16f275>>>0x8)&0xff00ff00;}return _0x10cb6c;},'clone':function(){const _0x486c74=_0x550a39;var _0x1749ef=_0x50d383['clone'][_0x486c74(0x3cf)](this);return _0x1749ef[_0x486c74(0x4b9)]=this['_hash'][_0x486c74(0x20a)](),_0x1749ef;}});function _0x315790(_0x3084b6,_0x43d27b,_0x11b663,_0x51a4c9,_0x3fa245,_0x3cf099,_0x408712){var _0x48457e=_0x3084b6+(_0x43d27b&_0x11b663|~_0x43d27b&_0x51a4c9)+_0x3fa245+_0x408712;return(_0x48457e<<_0x3cf099|_0x48457e>>>0x20-_0x3cf099)+_0x43d27b;}function _0x47fd81(_0x1f4249,_0x52411d,_0x1dbaa7,_0xb423fe,_0x46b9c9,_0x473d77,_0x33df7a){var _0x3c26b4=_0x1f4249+(_0x52411d&_0xb423fe|_0x1dbaa7&~_0xb423fe)+_0x46b9c9+_0x33df7a;return(_0x3c26b4<<_0x473d77|_0x3c26b4>>>0x20-_0x473d77)+_0x52411d;}function _0xbdedb(_0x5a6c1b,_0x354723,_0x2e6e90,_0x8834f8,_0x29510f,_0x305101,_0x4cc710){var _0x12703d=_0x5a6c1b+(_0x354723^_0x2e6e90^_0x8834f8)+_0x29510f+_0x4cc710;return(_0x12703d<<_0x305101|_0x12703d>>>0x20-_0x305101)+_0x354723;}function _0xbdf8df(_0x17ebf4,_0x59e054,_0x3d13c8,_0x294596,_0x143542,_0x467754,_0x2e3853){var _0x4a5c02=_0x17ebf4+(_0x3d13c8^(_0x59e054|~_0x294596))+_0x143542+_0x2e3853;return(_0x4a5c02<<_0x467754|_0x4a5c02>>>0x20-_0x467754)+_0x59e054;}_0x3642d8[_0x550a39(0x20f)]=_0x50d383[_0x550a39(0x578)](_0x1c236c),_0x3642d8[_0x550a39(0x4d8)]=_0x50d383[_0x550a39(0x2b8)](_0x1c236c);}(Math),_0x368269[_0xca351a(0x20f)];}));}(_0x408549)),_0x408549[_0x1a5ba4(0x406)];}var _0x4e9267={'exports':{}},_0x254581={'exports':{}},_0x1e07aa;function _0x347a3a(){const _0x353494=_0x3739fa;return _0x1e07aa||(_0x1e07aa=0x1,function(_0x3aaff4,_0x4bc424){(function(_0x1ee2ef,_0x2327d8){const _0x3a808f=_0x2e6a;_0x3aaff4[_0x3a808f(0x406)]=_0x2327d8(_0x409d16());}(_0xf90590,function(_0x123b34){const _0x328434=_0x2e6a;return(function(){const _0x3fa5f3=_0x2e6a;var _0x2a7503=_0x123b34,_0x57304c=_0x2a7503[_0x3fa5f3(0x4d0)],_0x324761=_0x57304c[_0x3fa5f3(0x2bb)],_0x18ad63=_0x57304c[_0x3fa5f3(0x266)],_0x13c4b1=_0x2a7503['algo'],_0x508a19=[],_0x1b0afc=_0x13c4b1['SHA1']=_0x18ad63[_0x3fa5f3(0x47f)]({'_doReset':function(){const _0x7c52fd=_0x3fa5f3;this[_0x7c52fd(0x4b9)]=new _0x324761[(_0x7c52fd(0x494))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x424035,_0x21c0ad){const _0x5184f1=_0x3fa5f3;for(var _0x521790=this[_0x5184f1(0x4b9)]['words'],_0x4d0e8c=_0x521790[0x0],_0x279989=_0x521790[0x1],_0x526e9f=_0x521790[0x2],_0x3c8285=_0x521790[0x3],_0x1ec89e=_0x521790[0x4],_0x280469=0x0;_0x280469<0x50;_0x280469++){if(_0x280469<0x10)_0x508a19[_0x280469]=_0x424035[_0x21c0ad+_0x280469]|0x0;else{var _0x35758b=_0x508a19[_0x280469-0x3]^_0x508a19[_0x280469-0x8]^_0x508a19[_0x280469-0xe]^_0x508a19[_0x280469-0x10];_0x508a19[_0x280469]=_0x35758b<<0x1|_0x35758b>>>0x1f;}var _0x10fae3=(_0x4d0e8c<<0x5|_0x4d0e8c>>>0x1b)+_0x1ec89e+_0x508a19[_0x280469];_0x280469<0x14?_0x10fae3+=(_0x279989&_0x526e9f|~_0x279989&_0x3c8285)+0x5a827999:_0x280469<0x28?_0x10fae3+=(_0x279989^_0x526e9f^_0x3c8285)+0x6ed9eba1:_0x280469<0x3c?_0x10fae3+=(_0x279989&_0x526e9f|_0x279989&_0x3c8285|_0x526e9f&_0x3c8285)-0x70e44324:_0x10fae3+=(_0x279989^_0x526e9f^_0x3c8285)-0x359d3e2a,_0x1ec89e=_0x3c8285,_0x3c8285=_0x526e9f,_0x526e9f=_0x279989<<0x1e|_0x279989>>>0x2,_0x279989=_0x4d0e8c,_0x4d0e8c=_0x10fae3;}_0x521790[0x0]=_0x521790[0x0]+_0x4d0e8c|0x0,_0x521790[0x1]=_0x521790[0x1]+_0x279989|0x0,_0x521790[0x2]=_0x521790[0x2]+_0x526e9f|0x0,_0x521790[0x3]=_0x521790[0x3]+_0x3c8285|0x0,_0x521790[0x4]=_0x521790[0x4]+_0x1ec89e|0x0;},'_doFinalize':function(){const _0x4dfc5c=_0x3fa5f3;var _0x7b70fe=this[_0x4dfc5c(0x40d)],_0x563a8f=_0x7b70fe[_0x4dfc5c(0x254)],_0x48b294=this[_0x4dfc5c(0x349)]*0x8,_0x4a7123=_0x7b70fe[_0x4dfc5c(0x44b)]*0x8;return _0x563a8f[_0x4a7123>>>0x5]|=0x80<<0x18-_0x4a7123%0x20,_0x563a8f[(_0x4a7123+0x40>>>0x9<<0x4)+0xe]=Math[_0x4dfc5c(0x32c)](_0x48b294/0x100000000),_0x563a8f[(_0x4a7123+0x40>>>0x9<<0x4)+0xf]=_0x48b294,_0x7b70fe[_0x4dfc5c(0x44b)]=_0x563a8f[_0x4dfc5c(0x477)]*0x4,this[_0x4dfc5c(0x4be)](),this['_hash'];},'clone':function(){const _0x1b67e2=_0x3fa5f3;var _0x292f9e=_0x18ad63['clone']['call'](this);return _0x292f9e['_hash']=this['_hash'][_0x1b67e2(0x20a)](),_0x292f9e;}});_0x2a7503[_0x3fa5f3(0x2aa)]=_0x18ad63[_0x3fa5f3(0x578)](_0x1b0afc),_0x2a7503['HmacSHA1']=_0x18ad63[_0x3fa5f3(0x2b8)](_0x1b0afc);}()),_0x123b34[_0x328434(0x2aa)];}));}(_0x254581)),_0x254581[_0x353494(0x406)];}var _0x13bcd3={'exports':{}},_0x254b2d;function _0x421738(){const _0x307a3e=_0x3739fa;return _0x254b2d||(_0x254b2d=0x1,function(_0x186486,_0x54cded){(function(_0x1fdbb8,_0x40da37){const _0x45a6e1=_0x2e6a;_0x186486[_0x45a6e1(0x406)]=_0x40da37(_0x409d16());}(_0xf90590,function(_0x4082ce){(function(){const _0x373df6=_0x2e6a;var _0x7e8b32=_0x4082ce,_0x19c12d=_0x7e8b32['lib'],_0x1f2656=_0x19c12d[_0x373df6(0x668)],_0x45a1dc=_0x7e8b32[_0x373df6(0x676)],_0x223e44=_0x45a1dc['Utf8'],_0x15120b=_0x7e8b32[_0x373df6(0x3ec)];_0x15120b[_0x373df6(0x3e4)]=_0x1f2656[_0x373df6(0x47f)]({'init':function(_0x21be8c,_0x4f4cee){const _0x53cb10=_0x373df6;_0x21be8c=this[_0x53cb10(0x32e)]=new _0x21be8c[(_0x53cb10(0x494))](),typeof _0x4f4cee==_0x53cb10(0x2a4)&&(_0x4f4cee=_0x223e44['parse'](_0x4f4cee));var _0xa57f84=_0x21be8c['blockSize'],_0x4a9d6e=_0xa57f84*0x4;_0x4f4cee[_0x53cb10(0x44b)]>_0x4a9d6e&&(_0x4f4cee=_0x21be8c[_0x53cb10(0x48b)](_0x4f4cee)),_0x4f4cee['clamp']();for(var _0x3b2aa1=this[_0x53cb10(0x5d3)]=_0x4f4cee[_0x53cb10(0x20a)](),_0x93be1d=this[_0x53cb10(0x51e)]=_0x4f4cee[_0x53cb10(0x20a)](),_0x1fe344=_0x3b2aa1[_0x53cb10(0x254)],_0x1a2f8d=_0x93be1d[_0x53cb10(0x254)],_0x5c47ee=0x0;_0x5c47ee<_0xa57f84;_0x5c47ee++)_0x1fe344[_0x5c47ee]^=0x5c5c5c5c,_0x1a2f8d[_0x5c47ee]^=0x36363636;_0x3b2aa1[_0x53cb10(0x44b)]=_0x93be1d['sigBytes']=_0x4a9d6e,this[_0x53cb10(0x48f)]();},'reset':function(){const _0x1f6181=_0x373df6;var _0x50f05f=this[_0x1f6181(0x32e)];_0x50f05f[_0x1f6181(0x48f)](),_0x50f05f[_0x1f6181(0x5ad)](this[_0x1f6181(0x51e)]);},'update':function(_0x59cde0){const _0x1e05c7=_0x373df6;return this[_0x1e05c7(0x32e)][_0x1e05c7(0x5ad)](_0x59cde0),this;},'finalize':function(_0x4790d0){const _0x1229b5=_0x373df6;var _0x27ec3c=this[_0x1229b5(0x32e)],_0x28ad96=_0x27ec3c[_0x1229b5(0x48b)](_0x4790d0);_0x27ec3c[_0x1229b5(0x48f)]();var _0x4d9f42=_0x27ec3c[_0x1229b5(0x48b)](this['_oKey']['clone']()[_0x1229b5(0x42d)](_0x28ad96));return _0x4d9f42;}});}());}));}(_0x13bcd3)),_0x13bcd3[_0x307a3e(0x406)];}var _0x3bb2e8;function _0x491db5(){return _0x3bb2e8||(_0x3bb2e8=0x1,function(_0x341952,_0x56d1ca){(function(_0x4b8bc4,_0x5ac457,_0x337b97){_0x341952['exports']=_0x5ac457(_0x409d16(),_0x347a3a(),_0x421738());}(_0xf90590,function(_0x4f15e0){const _0x1230e9=_0x2e6a;return(function(){const _0x454afd=_0x2e6a;var _0x22f407=_0x4f15e0,_0x1981ed=_0x22f407[_0x454afd(0x4d0)],_0x1ebb8f=_0x1981ed[_0x454afd(0x668)],_0x56d5d3=_0x1981ed[_0x454afd(0x2bb)],_0x590b9d=_0x22f407[_0x454afd(0x3ec)],_0x488368=_0x590b9d[_0x454afd(0x20f)],_0x1cc07c=_0x590b9d['EvpKDF']=_0x1ebb8f['extend']({'cfg':_0x1ebb8f[_0x454afd(0x47f)]({'keySize':0x80/0x20,'hasher':_0x488368,'iterations':0x1}),'init':function(_0x3fd709){const _0x47669b=_0x454afd;this[_0x47669b(0x3a6)]=this[_0x47669b(0x3a6)][_0x47669b(0x47f)](_0x3fd709);},'compute':function(_0x486fcf,_0x428346){const _0x1d93f8=_0x454afd;for(var _0x2c5aac,_0x23a62d=this['cfg'],_0x21f050=_0x23a62d['hasher'][_0x1d93f8(0x54c)](),_0x5dedbd=_0x56d5d3[_0x1d93f8(0x54c)](),_0x507526=_0x5dedbd[_0x1d93f8(0x254)],_0x48a3d5=_0x23a62d[_0x1d93f8(0x442)],_0x52dfce=_0x23a62d[_0x1d93f8(0x301)];_0x507526[_0x1d93f8(0x477)]<_0x48a3d5;){_0x2c5aac&&_0x21f050[_0x1d93f8(0x5ad)](_0x2c5aac),_0x2c5aac=_0x21f050[_0x1d93f8(0x5ad)](_0x486fcf)[_0x1d93f8(0x48b)](_0x428346),_0x21f050[_0x1d93f8(0x48f)]();for(var _0x54d19b=0x1;_0x54d19b<_0x52dfce;_0x54d19b++)_0x2c5aac=_0x21f050['finalize'](_0x2c5aac),_0x21f050['reset']();_0x5dedbd['concat'](_0x2c5aac);}return _0x5dedbd[_0x1d93f8(0x44b)]=_0x48a3d5*0x4,_0x5dedbd;}});_0x22f407[_0x454afd(0x1f2)]=function(_0x37c392,_0x1300dc,_0x28c7cd){const _0x3c7fa7=_0x454afd;return _0x1cc07c[_0x3c7fa7(0x54c)](_0x28c7cd)[_0x3c7fa7(0x2e9)](_0x37c392,_0x1300dc);};}()),_0x4f15e0[_0x1230e9(0x1f2)];}));}(_0x4e9267)),_0x4e9267['exports'];}var _0x3d7c68={'exports':{}},_0xa42477;function _0x46cb75(){const _0x367ef4=_0x3739fa;return _0xa42477||(_0xa42477=0x1,function(_0xc47800,_0x38596c){(function(_0x201ceb,_0xd88057,_0x1e370d){const _0x5953a7=_0x2e6a;_0xc47800[_0x5953a7(0x406)]=_0xd88057(_0x409d16(),_0x491db5());}(_0xf90590,function(_0x1c1d5e){const _0x30b2cf=_0x2e6a;_0x1c1d5e[_0x30b2cf(0x4d0)]['Cipher']||function(_0x876700){const _0x599529=_0x30b2cf;var _0x31b060=_0x1c1d5e,_0x1dbace=_0x31b060[_0x599529(0x4d0)],_0x51d296=_0x1dbace[_0x599529(0x668)],_0x103ba8=_0x1dbace[_0x599529(0x2bb)],_0x5ad003=_0x1dbace[_0x599529(0x654)],_0xd02bbb=_0x31b060['enc'];_0xd02bbb['Utf8'];var _0x352354=_0xd02bbb[_0x599529(0x4b3)],_0x505b8e=_0x31b060['algo'],_0x28e0d0=_0x505b8e[_0x599529(0x1f2)],_0x253163=_0x1dbace[_0x599529(0x67d)]=_0x5ad003[_0x599529(0x47f)]({'cfg':_0x51d296[_0x599529(0x47f)](),'createEncryptor':function(_0x7a6bbb,_0x5747ec){const _0x29c727=_0x599529;return this[_0x29c727(0x54c)](this[_0x29c727(0x585)],_0x7a6bbb,_0x5747ec);},'createDecryptor':function(_0x41d97f,_0x11fb46){const _0x2cf304=_0x599529;return this[_0x2cf304(0x54c)](this[_0x2cf304(0x5b4)],_0x41d97f,_0x11fb46);},'init':function(_0x2a2e7b,_0x35902c,_0x2aafe0){const _0x5d6a7d=_0x599529;this['cfg']=this[_0x5d6a7d(0x3a6)][_0x5d6a7d(0x47f)](_0x2aafe0),this['_xformMode']=_0x2a2e7b,this['_key']=_0x35902c,this['reset']();},'reset':function(){const _0x4790f9=_0x599529;_0x5ad003['reset'][_0x4790f9(0x3cf)](this),this[_0x4790f9(0x543)]();},'process':function(_0x39fba8){const _0x4f8e3b=_0x599529;return this[_0x4f8e3b(0x25b)](_0x39fba8),this[_0x4f8e3b(0x4be)]();},'finalize':function(_0x3a8daf){const _0x52b0f7=_0x599529;_0x3a8daf&&this[_0x52b0f7(0x25b)](_0x3a8daf);var _0x33187c=this[_0x52b0f7(0x329)]();return _0x33187c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4b5d0c(_0x4cb1bb){const _0x42fa25=_0x2e6a;return typeof _0x4cb1bb==_0x42fa25(0x2a4)?_0x57fa58:_0x42e852;}return function(_0x1742cf){return{'encrypt':function(_0x3fa088,_0x4dc9cc,_0x5c4404){const _0x157008=_0x2e6a;return _0x4b5d0c(_0x4dc9cc)[_0x157008(0x21e)](_0x1742cf,_0x3fa088,_0x4dc9cc,_0x5c4404);},'decrypt':function(_0x387699,_0x1359f0,_0x556fe8){const _0x40741e=_0x2e6a;return _0x4b5d0c(_0x1359f0)[_0x40741e(0x2a9)](_0x1742cf,_0x387699,_0x1359f0,_0x556fe8);}};};}())});_0x1dbace['StreamCipher']=_0x253163[_0x599529(0x47f)]({'_doFinalize':function(){const _0x251ea2=_0x599529;var _0x2e8ab7=this[_0x251ea2(0x4be)](!0x0);return _0x2e8ab7;},'blockSize':0x1});var _0x1339a4=_0x31b060[_0x599529(0x419)]={},_0x27dc2d=_0x1dbace[_0x599529(0x391)]=_0x51d296[_0x599529(0x47f)]({'createEncryptor':function(_0xc0c8c3,_0x1dab58){const _0x5ab80b=_0x599529;return this['Encryptor'][_0x5ab80b(0x54c)](_0xc0c8c3,_0x1dab58);},'createDecryptor':function(_0x176be0,_0x2952b8){const _0x3a6ea9=_0x599529;return this[_0x3a6ea9(0x445)]['create'](_0x176be0,_0x2952b8);},'init':function(_0x2ceb95,_0x570081){const _0x2af529=_0x599529;this['_cipher']=_0x2ceb95,this[_0x2af529(0x1cb)]=_0x570081;}}),_0x5f0f89=_0x1339a4[_0x599529(0x44e)]=(function(){const _0x4faddc=_0x599529;var _0x2d6fd7=_0x27dc2d[_0x4faddc(0x47f)]();_0x2d6fd7[_0x4faddc(0x34e)]=_0x2d6fd7[_0x4faddc(0x47f)]({'processBlock':function(_0x3e55c4,_0x466163){const _0x1f6f9d=_0x4faddc;var _0x4c031c=this['_cipher'],_0x20af78=_0x4c031c[_0x1f6f9d(0x2a1)];_0x11b580[_0x1f6f9d(0x3cf)](this,_0x3e55c4,_0x466163,_0x20af78),_0x4c031c['encryptBlock'](_0x3e55c4,_0x466163),this['_prevBlock']=_0x3e55c4[_0x1f6f9d(0x4bd)](_0x466163,_0x466163+_0x20af78);}}),_0x2d6fd7[_0x4faddc(0x445)]=_0x2d6fd7[_0x4faddc(0x47f)]({'processBlock':function(_0x56a03f,_0x374348){const _0x1e230e=_0x4faddc;var _0x19617f=this['_cipher'],_0x55a416=_0x19617f[_0x1e230e(0x2a1)],_0x2301ca=_0x56a03f[_0x1e230e(0x4bd)](_0x374348,_0x374348+_0x55a416);_0x19617f['decryptBlock'](_0x56a03f,_0x374348),_0x11b580['call'](this,_0x56a03f,_0x374348,_0x55a416),this[_0x1e230e(0x475)]=_0x2301ca;}});function _0x11b580(_0x5d9441,_0x5bd636,_0x4b3632){const _0x734e6c=_0x4faddc;var _0x2336f8,_0xf1110d=this[_0x734e6c(0x1cb)];_0xf1110d?(_0x2336f8=_0xf1110d,this[_0x734e6c(0x1cb)]=_0x876700):_0x2336f8=this['_prevBlock'];for(var _0x18e7db=0x0;_0x18e7db<_0x4b3632;_0x18e7db++)_0x5d9441[_0x5bd636+_0x18e7db]^=_0x2336f8[_0x18e7db];}return _0x2d6fd7;}()),_0x4a92f0=_0x31b060['pad']={},_0x1a1a4e=_0x4a92f0['Pkcs7']={'pad':function(_0x31414a,_0x4592c5){const _0x572490=_0x599529;for(var _0x2e9ca2=_0x4592c5*0x4,_0x1f452b=_0x2e9ca2-_0x31414a[_0x572490(0x44b)]%_0x2e9ca2,_0x21db52=_0x1f452b<<0x18|_0x1f452b<<0x10|_0x1f452b<<0x8|_0x1f452b,_0x28232b=[],_0x3a131d=0x0;_0x3a131d<_0x1f452b;_0x3a131d+=0x4)_0x28232b['push'](_0x21db52);var _0x41bc9a=_0x103ba8[_0x572490(0x54c)](_0x28232b,_0x1f452b);_0x31414a[_0x572490(0x42d)](_0x41bc9a);},'unpad':function(_0xf0f2a9){const _0x4292fc=_0x599529;var _0x3b70be=_0xf0f2a9[_0x4292fc(0x254)][_0xf0f2a9['sigBytes']-0x1>>>0x2]&0xff;_0xf0f2a9[_0x4292fc(0x44b)]-=_0x3b70be;}};_0x1dbace['BlockCipher']=_0x253163[_0x599529(0x47f)]({'cfg':_0x253163[_0x599529(0x3a6)]['extend']({'mode':_0x5f0f89,'padding':_0x1a1a4e}),'reset':function(){const _0x54e8fc=_0x599529;var _0x52ad7b;_0x253163[_0x54e8fc(0x48f)][_0x54e8fc(0x3cf)](this);var _0x12edc6=this[_0x54e8fc(0x3a6)],_0x34c20a=_0x12edc6['iv'],_0x5d7996=_0x12edc6[_0x54e8fc(0x419)];this[_0x54e8fc(0x4c5)]==this[_0x54e8fc(0x585)]?_0x52ad7b=_0x5d7996[_0x54e8fc(0x3ae)]:(_0x52ad7b=_0x5d7996[_0x54e8fc(0x49d)],this[_0x54e8fc(0x1cc)]=0x1),this['_mode']&&this['_mode'][_0x54e8fc(0x3ea)]==_0x52ad7b?this[_0x54e8fc(0x656)][_0x54e8fc(0x494)](this,_0x34c20a&&_0x34c20a[_0x54e8fc(0x254)]):(this[_0x54e8fc(0x656)]=_0x52ad7b[_0x54e8fc(0x3cf)](_0x5d7996,this,_0x34c20a&&_0x34c20a['words']),this[_0x54e8fc(0x656)][_0x54e8fc(0x3ea)]=_0x52ad7b);},'_doProcessBlock':function(_0x42bb47,_0x86a4dd){const _0x74b054=_0x599529;this[_0x74b054(0x656)][_0x74b054(0x512)](_0x42bb47,_0x86a4dd);},'_doFinalize':function(){const _0x3af552=_0x599529;var _0x587400,_0x3e0041=this[_0x3af552(0x3a6)][_0x3af552(0x562)];return this[_0x3af552(0x4c5)]==this['_ENC_XFORM_MODE']?(_0x3e0041[_0x3af552(0x2c2)](this['_data'],this[_0x3af552(0x2a1)]),_0x587400=this[_0x3af552(0x4be)](!0x0)):(_0x587400=this['_process'](!0x0),_0x3e0041['unpad'](_0x587400)),_0x587400;},'blockSize':0x80/0x20});var _0x135e1a=_0x1dbace[_0x599529(0x5bc)]=_0x51d296[_0x599529(0x47f)]({'init':function(_0x4897bc){const _0x4b8123=_0x599529;this[_0x4b8123(0x64d)](_0x4897bc);},'toString':function(_0x5c7a18){const _0x26c7d4=_0x599529;return(_0x5c7a18||this[_0x26c7d4(0x54f)])[_0x26c7d4(0x2c8)](this);}}),_0xa03397=_0x31b060[_0x599529(0x338)]={},_0x400559=_0xa03397[_0x599529(0x1d8)]={'stringify':function(_0x3ab6d0){const _0x329dcd=_0x599529;var _0x86b200,_0x378e8d=_0x3ab6d0['ciphertext'],_0x753a6d=_0x3ab6d0[_0x329dcd(0x595)];return _0x753a6d?_0x86b200=_0x103ba8[_0x329dcd(0x54c)]([0x53616c74,0x65645f5f])[_0x329dcd(0x42d)](_0x753a6d)[_0x329dcd(0x42d)](_0x378e8d):_0x86b200=_0x378e8d,_0x86b200[_0x329dcd(0x315)](_0x352354);},'parse':function(_0x4f6ffb){const _0x203028=_0x599529;var _0xf6d62,_0x122b8=_0x352354[_0x203028(0x459)](_0x4f6ffb),_0x83df1a=_0x122b8[_0x203028(0x254)];return _0x83df1a[0x0]==0x53616c74&&_0x83df1a[0x1]==0x65645f5f&&(_0xf6d62=_0x103ba8[_0x203028(0x54c)](_0x83df1a[_0x203028(0x4bd)](0x2,0x4)),_0x83df1a[_0x203028(0x62b)](0x0,0x4),_0x122b8[_0x203028(0x44b)]-=0x10),_0x135e1a[_0x203028(0x54c)]({'ciphertext':_0x122b8,'salt':_0xf6d62});}},_0x42e852=_0x1dbace[_0x599529(0x52a)]=_0x51d296['extend']({'cfg':_0x51d296[_0x599529(0x47f)]({'format':_0x400559}),'encrypt':function(_0x474e9a,_0x21b7fe,_0x589e73,_0x6b7bad){const _0x37b0a9=_0x599529;_0x6b7bad=this[_0x37b0a9(0x3a6)]['extend'](_0x6b7bad);var _0x22c8c9=_0x474e9a[_0x37b0a9(0x3ae)](_0x589e73,_0x6b7bad),_0x549c00=_0x22c8c9['finalize'](_0x21b7fe),_0x546857=_0x22c8c9[_0x37b0a9(0x3a6)];return _0x135e1a[_0x37b0a9(0x54c)]({'ciphertext':_0x549c00,'key':_0x589e73,'iv':_0x546857['iv'],'algorithm':_0x474e9a,'mode':_0x546857[_0x37b0a9(0x419)],'padding':_0x546857[_0x37b0a9(0x562)],'blockSize':_0x474e9a[_0x37b0a9(0x2a1)],'formatter':_0x6b7bad[_0x37b0a9(0x338)]});},'decrypt':function(_0x192888,_0x82760d,_0x384254,_0x12f755){const _0xe8945e=_0x599529;_0x12f755=this[_0xe8945e(0x3a6)][_0xe8945e(0x47f)](_0x12f755),_0x82760d=this[_0xe8945e(0x209)](_0x82760d,_0x12f755[_0xe8945e(0x338)]);var _0x520036=_0x192888[_0xe8945e(0x49d)](_0x384254,_0x12f755)[_0xe8945e(0x48b)](_0x82760d[_0xe8945e(0x625)]);return _0x520036;},'_parse':function(_0x582e56,_0x146eb2){const _0x2a6cf0=_0x599529;return typeof _0x582e56==_0x2a6cf0(0x2a4)?_0x146eb2[_0x2a6cf0(0x459)](_0x582e56,this):_0x582e56;}}),_0x2aa2ee=_0x31b060[_0x599529(0x52e)]={},_0x1ee396=_0x2aa2ee['OpenSSL']={'execute':function(_0x25621f,_0x1b2b32,_0x4694d2,_0x540c07,_0xf8c8c){const _0x21eea3=_0x599529;if(_0x540c07||(_0x540c07=_0x103ba8[_0x21eea3(0x256)](0x40/0x8)),_0xf8c8c)var _0x5c4a35=_0x28e0d0[_0x21eea3(0x54c)]({'keySize':_0x1b2b32+_0x4694d2,'hasher':_0xf8c8c})['compute'](_0x25621f,_0x540c07);else var _0x5c4a35=_0x28e0d0['create']({'keySize':_0x1b2b32+_0x4694d2})[_0x21eea3(0x2e9)](_0x25621f,_0x540c07);var _0xd2b641=_0x103ba8['create'](_0x5c4a35['words']['slice'](_0x1b2b32),_0x4694d2*0x4);return _0x5c4a35['sigBytes']=_0x1b2b32*0x4,_0x135e1a[_0x21eea3(0x54c)]({'key':_0x5c4a35,'iv':_0xd2b641,'salt':_0x540c07});}},_0x57fa58=_0x1dbace[_0x599529(0x4f9)]=_0x42e852['extend']({'cfg':_0x42e852[_0x599529(0x3a6)][_0x599529(0x47f)]({'kdf':_0x1ee396}),'encrypt':function(_0x462ce5,_0x4e66c5,_0x128d77,_0x2cad84){const _0x436031=_0x599529;_0x2cad84=this[_0x436031(0x3a6)][_0x436031(0x47f)](_0x2cad84);var _0x584a96=_0x2cad84[_0x436031(0x52e)][_0x436031(0x344)](_0x128d77,_0x462ce5[_0x436031(0x442)],_0x462ce5[_0x436031(0x435)],_0x2cad84[_0x436031(0x595)],_0x2cad84['hasher']);_0x2cad84['iv']=_0x584a96['iv'];var _0x221b34=_0x42e852[_0x436031(0x21e)][_0x436031(0x3cf)](this,_0x462ce5,_0x4e66c5,_0x584a96[_0x436031(0x434)],_0x2cad84);return _0x221b34[_0x436031(0x64d)](_0x584a96),_0x221b34;},'decrypt':function(_0x56f2e9,_0x16ebfc,_0x586574,_0x2f08c8){const _0x3362f1=_0x599529;_0x2f08c8=this[_0x3362f1(0x3a6)][_0x3362f1(0x47f)](_0x2f08c8),_0x16ebfc=this['_parse'](_0x16ebfc,_0x2f08c8[_0x3362f1(0x338)]);var _0x4258bc=_0x2f08c8[_0x3362f1(0x52e)][_0x3362f1(0x344)](_0x586574,_0x56f2e9[_0x3362f1(0x442)],_0x56f2e9[_0x3362f1(0x435)],_0x16ebfc['salt'],_0x2f08c8['hasher']);_0x2f08c8['iv']=_0x4258bc['iv'];var _0x10bfa4=_0x42e852[_0x3362f1(0x2a9)][_0x3362f1(0x3cf)](this,_0x56f2e9,_0x16ebfc,_0x4258bc[_0x3362f1(0x434)],_0x2f08c8);return _0x10bfa4;}});}();}));}(_0x3d7c68)),_0x3d7c68[_0x367ef4(0x406)];}(function(_0x5927e1,_0x5d8d82){(function(_0x350141,_0x53bd51,_0x1cbf77){const _0x12f4c6=_0x2e6a;_0x5927e1[_0x12f4c6(0x406)]=_0x53bd51(_0x409d16(),_0x7b2b2e(),_0x5af1b7(),_0x491db5(),_0x46cb75());}(_0xf90590,function(_0x4aa768){const _0x5068c8=_0x2e6a;return(function(){const _0x469183=_0x2e6a;var _0x5f1806=_0x4aa768,_0x20a266=_0x5f1806[_0x469183(0x4d0)],_0x3036c0=_0x20a266[_0x469183(0x4cd)],_0x580099=_0x5f1806[_0x469183(0x3ec)],_0x4204b1=[],_0x59b042=[],_0x3dda85=[],_0x16aea3=[],_0x2dbcab=[],_0x4d4c8d=[],_0x9dda5c=[],_0x33f3ac=[],_0x1063bd=[],_0x52cdd2=[];(function(){for(var _0x3b5c12=[],_0x58d3c8=0x0;_0x58d3c8<0x100;_0x58d3c8++)_0x58d3c8<0x80?_0x3b5c12[_0x58d3c8]=_0x58d3c8<<0x1:_0x3b5c12[_0x58d3c8]=_0x58d3c8<<0x1^0x11b;for(var _0x2e435b=0x0,_0x5084ce=0x0,_0x58d3c8=0x0;_0x58d3c8<0x100;_0x58d3c8++){var _0x3f62ff=_0x5084ce^_0x5084ce<<0x1^_0x5084ce<<0x2^_0x5084ce<<0x3^_0x5084ce<<0x4;_0x3f62ff=_0x3f62ff>>>0x8^_0x3f62ff&0xff^0x63,_0x4204b1[_0x2e435b]=_0x3f62ff,_0x59b042[_0x3f62ff]=_0x2e435b;var _0xf6650a=_0x3b5c12[_0x2e435b],_0x2a656c=_0x3b5c12[_0xf6650a],_0x2f4e25=_0x3b5c12[_0x2a656c],_0x126db=_0x3b5c12[_0x3f62ff]*0x101^_0x3f62ff*0x1010100;_0x3dda85[_0x2e435b]=_0x126db<<0x18|_0x126db>>>0x8,_0x16aea3[_0x2e435b]=_0x126db<<0x10|_0x126db>>>0x10,_0x2dbcab[_0x2e435b]=_0x126db<<0x8|_0x126db>>>0x18,_0x4d4c8d[_0x2e435b]=_0x126db;var _0x126db=_0x2f4e25*0x1010101^_0x2a656c*0x10001^_0xf6650a*0x101^_0x2e435b*0x1010100;_0x9dda5c[_0x3f62ff]=_0x126db<<0x18|_0x126db>>>0x8,_0x33f3ac[_0x3f62ff]=_0x126db<<0x10|_0x126db>>>0x10,_0x1063bd[_0x3f62ff]=_0x126db<<0x8|_0x126db>>>0x18,_0x52cdd2[_0x3f62ff]=_0x126db,_0x2e435b?(_0x2e435b=_0xf6650a^_0x3b5c12[_0x3b5c12[_0x3b5c12[_0x2f4e25^_0xf6650a]]],_0x5084ce^=_0x3b5c12[_0x3b5c12[_0x5084ce]]):_0x2e435b=_0x5084ce=0x1;}}());var _0x3994aa=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x27c46e=_0x580099[_0x469183(0x29a)]=_0x3036c0[_0x469183(0x47f)]({'_doReset':function(){const _0x5975c6=_0x469183;var _0x3eb14e;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x4a9e43=this[_0x5975c6(0x1fd)]=this[_0x5975c6(0x462)],_0x400e56=_0x4a9e43[_0x5975c6(0x254)],_0x50d180=_0x4a9e43[_0x5975c6(0x44b)]/0x4,_0xbec4d4=this['_nRounds']=_0x50d180+0x6,_0x3d15ea=(_0xbec4d4+0x1)*0x4,_0x592408=this[_0x5975c6(0x25c)]=[],_0x44f7ce=0x0;_0x44f7ce<_0x3d15ea;_0x44f7ce++)_0x44f7ce<_0x50d180?_0x592408[_0x44f7ce]=_0x400e56[_0x44f7ce]:(_0x3eb14e=_0x592408[_0x44f7ce-0x1],_0x44f7ce%_0x50d180?_0x50d180>0x6&&_0x44f7ce%_0x50d180==0x4&&(_0x3eb14e=_0x4204b1[_0x3eb14e>>>0x18]<<0x18|_0x4204b1[_0x3eb14e>>>0x10&0xff]<<0x10|_0x4204b1[_0x3eb14e>>>0x8&0xff]<<0x8|_0x4204b1[_0x3eb14e&0xff]):(_0x3eb14e=_0x3eb14e<<0x8|_0x3eb14e>>>0x18,_0x3eb14e=_0x4204b1[_0x3eb14e>>>0x18]<<0x18|_0x4204b1[_0x3eb14e>>>0x10&0xff]<<0x10|_0x4204b1[_0x3eb14e>>>0x8&0xff]<<0x8|_0x4204b1[_0x3eb14e&0xff],_0x3eb14e^=_0x3994aa[_0x44f7ce/_0x50d180|0x0]<<0x18),_0x592408[_0x44f7ce]=_0x592408[_0x44f7ce-_0x50d180]^_0x3eb14e);for(var _0x24ccfb=this['_invKeySchedule']=[],_0x560830=0x0;_0x560830<_0x3d15ea;_0x560830++){var _0x44f7ce=_0x3d15ea-_0x560830;if(_0x560830%0x4)var _0x3eb14e=_0x592408[_0x44f7ce];else var _0x3eb14e=_0x592408[_0x44f7ce-0x4];_0x560830<0x4||_0x44f7ce<=0x4?_0x24ccfb[_0x560830]=_0x3eb14e:_0x24ccfb[_0x560830]=_0x9dda5c[_0x4204b1[_0x3eb14e>>>0x18]]^_0x33f3ac[_0x4204b1[_0x3eb14e>>>0x10&0xff]]^_0x1063bd[_0x4204b1[_0x3eb14e>>>0x8&0xff]]^_0x52cdd2[_0x4204b1[_0x3eb14e&0xff]];}}},'encryptBlock':function(_0x5b8444,_0x17b912){const _0x3ae2f4=_0x469183;this[_0x3ae2f4(0x28f)](_0x5b8444,_0x17b912,this[_0x3ae2f4(0x25c)],_0x3dda85,_0x16aea3,_0x2dbcab,_0x4d4c8d,_0x4204b1);},'decryptBlock':function(_0x4c3482,_0x86c063){const _0x53bbf5=_0x469183;var _0x1ab68e=_0x4c3482[_0x86c063+0x1];_0x4c3482[_0x86c063+0x1]=_0x4c3482[_0x86c063+0x3],_0x4c3482[_0x86c063+0x3]=_0x1ab68e,this[_0x53bbf5(0x28f)](_0x4c3482,_0x86c063,this[_0x53bbf5(0x3da)],_0x9dda5c,_0x33f3ac,_0x1063bd,_0x52cdd2,_0x59b042);var _0x1ab68e=_0x4c3482[_0x86c063+0x1];_0x4c3482[_0x86c063+0x1]=_0x4c3482[_0x86c063+0x3],_0x4c3482[_0x86c063+0x3]=_0x1ab68e;},'_doCryptBlock':function(_0x4f9745,_0x3ae826,_0x263860,_0x120e62,_0x44ee07,_0x3e0b3e,_0x467ab8,_0x2758b9){const _0x2769cd=_0x469183;for(var _0x2ede29=this[_0x2769cd(0x640)],_0x329dba=_0x4f9745[_0x3ae826]^_0x263860[0x0],_0x5b3b03=_0x4f9745[_0x3ae826+0x1]^_0x263860[0x1],_0x33cbaa=_0x4f9745[_0x3ae826+0x2]^_0x263860[0x2],_0x2e0436=_0x4f9745[_0x3ae826+0x3]^_0x263860[0x3],_0x4b95a0=0x4,_0x1798bd=0x1;_0x1798bd<_0x2ede29;_0x1798bd++){var _0x307744=_0x120e62[_0x329dba>>>0x18]^_0x44ee07[_0x5b3b03>>>0x10&0xff]^_0x3e0b3e[_0x33cbaa>>>0x8&0xff]^_0x467ab8[_0x2e0436&0xff]^_0x263860[_0x4b95a0++],_0x3b7a1c=_0x120e62[_0x5b3b03>>>0x18]^_0x44ee07[_0x33cbaa>>>0x10&0xff]^_0x3e0b3e[_0x2e0436>>>0x8&0xff]^_0x467ab8[_0x329dba&0xff]^_0x263860[_0x4b95a0++],_0x325cd1=_0x120e62[_0x33cbaa>>>0x18]^_0x44ee07[_0x2e0436>>>0x10&0xff]^_0x3e0b3e[_0x329dba>>>0x8&0xff]^_0x467ab8[_0x5b3b03&0xff]^_0x263860[_0x4b95a0++],_0xfda93d=_0x120e62[_0x2e0436>>>0x18]^_0x44ee07[_0x329dba>>>0x10&0xff]^_0x3e0b3e[_0x5b3b03>>>0x8&0xff]^_0x467ab8[_0x33cbaa&0xff]^_0x263860[_0x4b95a0++];_0x329dba=_0x307744,_0x5b3b03=_0x3b7a1c,_0x33cbaa=_0x325cd1,_0x2e0436=_0xfda93d;}var _0x307744=(_0x2758b9[_0x329dba>>>0x18]<<0x18|_0x2758b9[_0x5b3b03>>>0x10&0xff]<<0x10|_0x2758b9[_0x33cbaa>>>0x8&0xff]<<0x8|_0x2758b9[_0x2e0436&0xff])^_0x263860[_0x4b95a0++],_0x3b7a1c=(_0x2758b9[_0x5b3b03>>>0x18]<<0x18|_0x2758b9[_0x33cbaa>>>0x10&0xff]<<0x10|_0x2758b9[_0x2e0436>>>0x8&0xff]<<0x8|_0x2758b9[_0x329dba&0xff])^_0x263860[_0x4b95a0++],_0x325cd1=(_0x2758b9[_0x33cbaa>>>0x18]<<0x18|_0x2758b9[_0x2e0436>>>0x10&0xff]<<0x10|_0x2758b9[_0x329dba>>>0x8&0xff]<<0x8|_0x2758b9[_0x5b3b03&0xff])^_0x263860[_0x4b95a0++],_0xfda93d=(_0x2758b9[_0x2e0436>>>0x18]<<0x18|_0x2758b9[_0x329dba>>>0x10&0xff]<<0x10|_0x2758b9[_0x5b3b03>>>0x8&0xff]<<0x8|_0x2758b9[_0x33cbaa&0xff])^_0x263860[_0x4b95a0++];_0x4f9745[_0x3ae826]=_0x307744,_0x4f9745[_0x3ae826+0x1]=_0x3b7a1c,_0x4f9745[_0x3ae826+0x2]=_0x325cd1,_0x4f9745[_0x3ae826+0x3]=_0xfda93d;},'keySize':0x100/0x20});_0x5f1806[_0x469183(0x29a)]=_0x3036c0['_createHelper'](_0x27c46e);}()),_0x4aa768[_0x5068c8(0x29a)];}));}(_0x1828c9));var _0x351105=_0x1828c9[_0x3739fa(0x406)];const _0xa45853=_0x537178(_0x351105);var _0x146f48=_0x7b2b2e();const _0x27a9ec=_0x537178(_0x146f48);var _0x3a4307={'exports':{}};(function(_0x25799b,_0x18a219){(function(_0x4d2def,_0x5eda5e){_0x25799b['exports']=_0x5eda5e(_0x409d16());}(_0xf90590,function(_0x269e83){const _0x59cba6=_0x2e6a;return _0x269e83[_0x59cba6(0x676)]['Utf8'];}));}(_0x3a4307));var _0x2d0e05=_0x3a4307['exports'];const _0x437eb6=_0x537178(_0x2d0e05);var _0x23e3a8={'exports':{}};(function(_0x282410,_0x4cb44e){(function(_0x591486,_0x44eb2a){const _0x18c414=_0x2e6a;_0x282410[_0x18c414(0x406)]=_0x44eb2a(_0x409d16());}(_0xf90590,function(_0x5da970){return(function(){const _0x21897d=_0x2e6a;if(typeof ArrayBuffer=='function'){var _0x279bad=_0x5da970,_0x292cd2=_0x279bad[_0x21897d(0x4d0)],_0x33ae94=_0x292cd2['WordArray'],_0x23d0e9=_0x33ae94[_0x21897d(0x494)],_0x4fcd65=_0x33ae94[_0x21897d(0x494)]=function(_0x108b00){const _0x50f5f3=_0x21897d;if(_0x108b00 instanceof ArrayBuffer&&(_0x108b00=new Uint8Array(_0x108b00)),(_0x108b00 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x108b00 instanceof Uint8ClampedArray||_0x108b00 instanceof Int16Array||_0x108b00 instanceof Uint16Array||_0x108b00 instanceof Int32Array||_0x108b00 instanceof Uint32Array||_0x108b00 instanceof Float32Array||_0x108b00 instanceof Float64Array)&&(_0x108b00=new Uint8Array(_0x108b00[_0x50f5f3(0x2fa)],_0x108b00[_0x50f5f3(0x448)],_0x108b00[_0x50f5f3(0x51b)])),_0x108b00 instanceof Uint8Array){for(var _0x5357e5=_0x108b00[_0x50f5f3(0x51b)],_0x160f64=[],_0x285804=0x0;_0x285804<_0x5357e5;_0x285804++)_0x160f64[_0x285804>>>0x2]|=_0x108b00[_0x285804]<<0x18-_0x285804%0x4*0x8;_0x23d0e9['call'](this,_0x160f64,_0x5357e5);}else _0x23d0e9['apply'](this,arguments);};_0x4fcd65[_0x21897d(0x612)]=_0x33ae94;}}()),_0x5da970['lib']['WordArray'];}));}(_0x23e3a8));var _0x5471d5=_0x23e3a8['exports'];const _0x2b0ffa=_0x537178(_0x5471d5);var _0x31592c={'exports':{}};(function(_0xddd6e2,_0x445210){(function(_0x260008,_0x4e71e1,_0x4a549a){_0xddd6e2['exports']=_0x4e71e1(_0x409d16(),_0x46cb75());}(_0xf90590,function(_0x2a908c){const _0x240941=_0x2e6a;return _0x2a908c[_0x240941(0x2c2)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2a908c[_0x240941(0x2c2)]['NoPadding'];}));}(_0x31592c));var _0x386ffa=_0x31592c['exports'];const _0x5b878b=_0x537178(_0x386ffa);function _0x37dc1c(_0x5cd47c,_0x267f89){const _0x41684c=_0x3739fa,_0x5a869b=_0x267f89-_0x5cd47c[_0x41684c(0x477)]%_0x267f89,_0x7b4c7=String[_0x41684c(0x49a)](_0x5a869b)[_0x41684c(0x672)](_0x5a869b);return _0x5cd47c+_0x7b4c7;}function _0x41b339(_0x20de19,_0x2fef69){const _0x3a16b3=_0x3739fa,_0x3b8574=_0x2b0ffa[_0x3a16b3(0x256)](0x10),_0x404395=_0x37dc1c(_0x20de19,0x10),_0x545acd=_0xa45853[_0x3a16b3(0x21e)](_0x437eb6[_0x3a16b3(0x459)](_0x404395),_0x27a9ec['parse'](_0x2fef69),{'iv':_0x3b8574,'padding':_0x5b878b});return _0x3b8574[_0x3a16b3(0x42d)](_0x545acd[_0x3a16b3(0x625)])[_0x3a16b3(0x315)](_0x27a9ec);}function _0x20566b(){const _0x38cdc7=_0x3739fa,_0xa70263=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x38cdc7(0x4ce)];if(_0xa70263){const _0x4a2986={'time':Math[_0x38cdc7(0x32c)](Date[_0x38cdc7(0x1dc)]()/0x3e8),'domain':location['hostname']};return _0x41b339(JSON[_0x38cdc7(0x2c8)](_0x4a2986),_0xa70263);}}var _0x25d642=Object['defineProperty'],_0x1707c5=Object['getOwnPropertyDescriptor'],_0x50cee5=(_0x36a5d9,_0x13b49a,_0x2df3d8,_0x1d99a0)=>{for(var _0xe64244=_0x1d99a0>0x1?void 0x0:_0x1d99a0?_0x1707c5(_0x13b49a,_0x2df3d8):_0x13b49a,_0x26b82a=_0x36a5d9['length']-0x1,_0xc7c809;_0x26b82a>=0x0;_0x26b82a--)(_0xc7c809=_0x36a5d9[_0x26b82a])&&(_0xe64244=(_0x1d99a0?_0xc7c809(_0x13b49a,_0x2df3d8,_0xe64244):_0xc7c809(_0xe64244))||_0xe64244);return _0x1d99a0&&_0xe64244&&_0x25d642(_0x13b49a,_0x2df3d8,_0xe64244),_0xe64244;},_0x4e16e4=(_0x3f48c9,_0x2a0a06)=>(_0xfaf823,_0x238357)=>_0x2a0a06(_0xfaf823,_0x238357,_0x3f48c9);let _0x33d2fa=class{constructor(_0x47465b){const _0x4759bd=_0x3739fa;this[_0x4759bd(0x286)]=_0x47465b,this[_0x4759bd(0x43c)]();}['_initRequestHeader'](){const _0x5b4692=_0x3739fa;this[_0x5b4692(0x286)]['registerHTTPInterceptor']({'interceptor':(_0x451ce8,_0x1c628d)=>{const _0x2924b7=_0x5b4692,_0x47e80e=_0x451ce8[_0x2924b7(0x45e)],_0x14f91e=_0x20566b();return _0x14f91e&&_0x47e80e[_0x2924b7(0x1f5)](_0x2924b7(0x621),_0x14f91e),_0x1c628d(_0x451ce8);}});}};_0x33d2fa=_0x50cee5([_0x4e16e4(0x0,_0x27458f['Inject'](_0x177724[_0x3739fa(0x333)]))],_0x33d2fa);var _0x3edb18=Object[_0x3739fa(0x2c0)],_0x40e19d=Object[_0x3739fa(0x4e4)],_0x984458=(_0x26ec4e,_0x564bc9,_0x4e7d6f,_0xf45232)=>{const _0x18338e=_0x3739fa;for(var _0x4cef5d=_0xf45232>0x1?void 0x0:_0xf45232?_0x40e19d(_0x564bc9,_0x4e7d6f):_0x564bc9,_0x437500=_0x26ec4e[_0x18338e(0x477)]-0x1,_0x1fe1aa;_0x437500>=0x0;_0x437500--)(_0x1fe1aa=_0x26ec4e[_0x437500])&&(_0x4cef5d=(_0xf45232?_0x1fe1aa(_0x564bc9,_0x4e7d6f,_0x4cef5d):_0x1fe1aa(_0x4cef5d))||_0x4cef5d);return _0xf45232&&_0x4cef5d&&_0x3edb18(_0x564bc9,_0x4e7d6f,_0x4cef5d),_0x4cef5d;},_0x4809dc=(_0x2b83e,_0x4a07a4)=>(_0x35593d,_0x2a0074)=>_0x4a07a4(_0x35593d,_0x2a0074,_0x2b83e);const _0x55471d=[_0x3739fa(0x2c4),_0x3739fa(0x3eb),_0x3739fa(0x501),_0x3739fa(0x42c),_0x3739fa(0x2cd)],_0x2333ba=0x5*0x400*0x400,_0x515a52=_0x3739fa(0x295),_0x1a8177=_0x3739fa(0x279),_0x33c566=_0x3739fa(0x521),_0x17b40c=_0x3739fa(0x200);_0x342316[_0x3739fa(0x39e)]=class{constructor(_0x15e030,_0x117bb0,_0x37622f){const _0x2710f8=_0x3739fa;_0x13ba75(this,_0x2710f8(0x1ea),0x0),_0x13ba75(this,'_change$',new _0x19f426[(_0x2710f8(0x67c))]()),_0x13ba75(this,_0x2710f8(0x33b),this[_0x2710f8(0x61c)]),_0x13ba75(this,'_imageSourceCache',new Map()),(this[_0x2710f8(0x286)]=_0x15e030,this[_0x2710f8(0x29e)]=_0x117bb0,this[_0x2710f8(0x1f1)]=_0x37622f);}[_0x3739fa(0x674)](_0x413aac){const _0x191a65=_0x3739fa;this[_0x191a65(0x1ea)]=_0x413aac,this[_0x191a65(0x61c)]['next'](_0x413aac);}['getImageSourceCache'](_0x533460,_0x4f4679){const _0x27f2ce=_0x3739fa;if(_0x4f4679===_0x533b24['ImageSourceType']['BASE64']){const _0x5b2afb=new Image();return _0x5b2afb[_0x27f2ce(0x653)]=_0x533460,_0x5b2afb;}return this[_0x27f2ce(0x645)][_0x27f2ce(0x340)](_0x533460);}[_0x3739fa(0x3f2)](_0x17001a,_0x153790,_0x2b2694){const _0x36933d=_0x3739fa;_0x153790===_0x533b24['ImageSourceType'][_0x36933d(0x571)]||_0x2b2694==null||this[_0x36933d(0x645)][_0x36933d(0x1f5)](_0x17001a,_0x2b2694);}async[_0x3739fa(0x55b)](_0x2a49f0){const _0x3d0833=_0x3739fa;try{const _0x111d65=this[_0x3d0833(0x540)](this['_getSignURL'](),''+_0x2a49f0),_0x37d889=(await this['_httpService']['get'](_0x111d65))[_0x3d0833(0x3fa)];if(_0x37d889[_0x3d0833(0x4dc)]&&_0x37d889[_0x3d0833(0x4dc)]['code']===_0x5b8f1c['OK']){const _0x2770b9=new URL(_0x37d889[_0x3d0833(0x620)],this[_0x3d0833(0x4aa)]())[_0x3d0833(0x315)]();return Promise[_0x3d0833(0x4d5)](_0x2770b9);}return Promise[_0x3d0833(0x4fe)](_0x37d889[_0x3d0833(0x4dc)]);}catch(_0x84aa9e){return Promise['reject'](_0x84aa9e);}}async[_0x3739fa(0x46f)](_0x51f920){const _0x46d70f=_0x3739fa;let _0x4f26d1='';if(!_0x55471d[_0x46d70f(0x1ee)](_0x51f920[_0x46d70f(0x5e4)]))return this[_0x46d70f(0x64b)](),Promise[_0x46d70f(0x4fe)](new Error(_0x533b24[_0x46d70f(0x528)][_0x46d70f(0x552)]));if(_0x51f920['size']>_0x2333ba)return this[_0x46d70f(0x64b)](),Promise['reject'](new Error(_0x533b24['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x2645ee=new FormData();_0x2645ee[_0x46d70f(0x5b2)]('file',_0x51f920);const _0x51da45=this[_0x46d70f(0x1f1)]['getFocusedUnit'](),_0x4bb1c6=_0x51da45==null?void 0x0:_0x51da45[_0x46d70f(0x3d7)]();if(!_0x4bb1c6)throw new Error(_0x46d70f(0x259));const _0x5c8348=this[_0x46d70f(0x430)]()+_0x46d70f(0x602)+_0x51f920['size'][_0x46d70f(0x315)]()+_0x46d70f(0x346)+_0x2ecfae[_0x46d70f(0x54b)]+'&assign='+encodeURIComponent(_0x4bb1c6),_0x45e0dc=await(await fetch(_0x5c8348,{'method':_0x46d70f(0x25f),'body':_0x2645ee}))[_0x46d70f(0x432)]();if(typeof _0x45e0dc[_0x46d70f(0x233)]!='string')return this[_0x46d70f(0x64b)](),Promise[_0x46d70f(0x4fe)](new Error(_0x533b24[_0x46d70f(0x528)]['ERROR_IMAGE']));_0x4f26d1=_0x45e0dc[_0x46d70f(0x233)];}catch{return this[_0x46d70f(0x64b)](),Promise[_0x46d70f(0x4fe)](new Error(_0x533b24[_0x46d70f(0x528)][_0x46d70f(0x482)]));}return new Promise((_0x233eb8,_0x45a9fa)=>{const _0x3e49dc=_0x46d70f,_0x39f994=new FileReader();_0x39f994[_0x3e49dc(0x60a)](_0x51f920),_0x39f994[_0x3e49dc(0x56b)]=_0x2f0a74=>{const _0x51cffd=_0x3e49dc;var _0x59da6c;const _0x420edf=(_0x59da6c=_0x2f0a74[_0x51cffd(0x570)])==null?void 0x0:_0x59da6c[_0x51cffd(0x508)];if(_0x420edf==null){this[_0x51cffd(0x64b)](),_0x45a9fa(new Error(_0x533b24[_0x51cffd(0x528)][_0x51cffd(0x482)]));return;}const _0x42f1a9=_0x27458f[_0x51cffd(0x560)][_0x51cffd(0x4a2)](0x6);_0x233eb8({'imageId':_0x42f1a9,'imageSourceType':_0x533b24[_0x51cffd(0x437)][_0x51cffd(0x4d1)],'source':_0x4f26d1,'base64Cache':_0x420edf,'status':_0x533b24[_0x51cffd(0x528)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x3739fa(0x430)](){const _0x43d5db=_0x3739fa;var _0x95deed,_0x5e3415;const _0x3da1a1=this['_configService']['getConfig'](_0x515a52),_0x2ab073=this[_0x43d5db(0x29e)][_0x43d5db(0x556)](_0x4ff220);return(_0x5e3415=(_0x95deed=_0x2ab073==null?void 0x0:_0x2ab073[_0x43d5db(0x5a4)])!=null?_0x95deed:_0x3da1a1)!=null?_0x5e3415:_0x1a8177;}[_0x3739fa(0x5b6)](){const _0x33a5f1=_0x3739fa;var _0x3c2bfd,_0x57c370;const _0xd2af5f=this['_configService'][_0x33a5f1(0x556)](_0x33c566),_0xaccc90=this[_0x33a5f1(0x29e)][_0x33a5f1(0x556)](_0x4ff220);return(_0x57c370=(_0x3c2bfd=_0xaccc90==null?void 0x0:_0xaccc90[_0x33a5f1(0x436)])!=null?_0x3c2bfd:_0xd2af5f)!=null?_0x57c370:_0x17b40c;}['_getDownloadEndpointURL'](){const _0x42dfad=_0x3739fa;var _0x4a26ec;const _0x5718de=this[_0x42dfad(0x29e)][_0x42dfad(0x556)](_0x4ff220);return(_0x4a26ec=_0x5718de==null?void 0x0:_0x5718de[_0x42dfad(0x42b)])!=null?_0x4a26ec:location[_0x42dfad(0x61f)];}['_replaceFileID'](_0x38d7ea,_0x1af982){const _0xb4cb72=_0x3739fa;return _0x38d7ea[_0xb4cb72(0x216)](_0xb4cb72(0x2d5),_0x1af982);}[_0x3739fa(0x64b)](){const _0x2f266e=_0x3739fa;this['_waitCount']-=0x1,this[_0x2f266e(0x61c)][_0x2f266e(0x594)](this[_0x2f266e(0x1ea)]);}},_0x342316[_0x3739fa(0x39e)]=_0x984458([_0x4809dc(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x177724[_0x3739fa(0x333)])),_0x4809dc(0x1,_0x27458f[_0x3739fa(0x628)]),_0x4809dc(0x2,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x2e8)]))],_0x342316[_0x3739fa(0x39e)]);var _0x1a437c=Object[_0x3739fa(0x2c0)],_0x1297d4=Object[_0x3739fa(0x4e4)],_0x4f2d75=(_0x545399,_0xd6a88,_0x32d36b,_0x1c93f5)=>{const _0x4969d7=_0x3739fa;for(var _0x3f0658=_0x1c93f5>0x1?void 0x0:_0x1c93f5?_0x1297d4(_0xd6a88,_0x32d36b):_0xd6a88,_0x3ace50=_0x545399[_0x4969d7(0x477)]-0x1,_0x223e49;_0x3ace50>=0x0;_0x3ace50--)(_0x223e49=_0x545399[_0x3ace50])&&(_0x3f0658=(_0x1c93f5?_0x223e49(_0xd6a88,_0x32d36b,_0x3f0658):_0x223e49(_0x3f0658))||_0x3f0658);return _0x1c93f5&&_0x3f0658&&_0x1a437c(_0xd6a88,_0x32d36b,_0x3f0658),_0x3f0658;},_0x33f01c=(_0x22c841,_0x2ff7e2)=>(_0x84f071,_0x157202)=>_0x2ff7e2(_0x84f071,_0x157202,_0x22c841);const _0x294340=_0x3739fa(0x378);_0x342316['MentionIoHttpService']=class{constructor(_0xd2372b,_0x508a30){const _0x2a7e5d=_0x3739fa;this[_0x2a7e5d(0x29e)]=_0xd2372b,this['_HTTPService']=_0x508a30;}['_getAPIPrefixPath'](){const _0x45f0e9=_0x3739fa;var _0x581e75,_0x47c5c0;const _0x496edb=this['_configService'][_0x45f0e9(0x556)](_0x291a38),_0x57e830=this[_0x45f0e9(0x29e)][_0x45f0e9(0x556)](_0x4ff220);return(_0x47c5c0=(_0x581e75=_0x57e830==null?void 0x0:_0x57e830[_0x45f0e9(0x2b5)])!=null?_0x581e75:_0x496edb)!=null?_0x47c5c0:_0x294340;}async[_0x3739fa(0x471)](_0x5db7e2){const _0x379ffd=_0x3739fa,_0x94e3dd=this[_0x379ffd(0x4e5)]()+_0x379ffd(0x3af);return{'list':[{'title':_0x379ffd(0x446),'mentions':(await this[_0x379ffd(0x55c)]['get'](_0x94e3dd,{'params':{'objectID':_0x5db7e2[_0x379ffd(0x231)],'unitID':_0x5db7e2['unitId']}}))[_0x379ffd(0x3fa)]['collaborators'][_0x379ffd(0x312)](_0x48fbab=>({'objectId':_0x48fbab['id'],'name':_0x48fbab['subject']['name'],'metadata':{'icon':_0x48fbab[_0x379ffd(0x513)][_0x379ffd(0x472)]},'label':_0x48fbab[_0x379ffd(0x513)]['name'],'objectType':_0x27458f[_0x379ffd(0x3c6)][_0x379ffd(0x318)]})),'metadata':{},'type':_0x27458f['MentionType']['PERSON']}]};}},_0x342316[_0x3739fa(0x424)]=_0x4f2d75([_0x33f01c(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x628)])),_0x33f01c(0x1,_0x27458f['Inject'](_0x177724[_0x3739fa(0x333)]))],_0x342316[_0x3739fa(0x424)]);var _0x6b7551=Object['defineProperty'],_0x1a3586=Object['getOwnPropertyDescriptor'],_0x3e41df=(_0x5a4101,_0x16f285,_0x16043c,_0x3f8492)=>{const _0x585336=_0x3739fa;for(var _0x208558=_0x3f8492>0x1?void 0x0:_0x3f8492?_0x1a3586(_0x16f285,_0x16043c):_0x16f285,_0x4bbc94=_0x5a4101[_0x585336(0x477)]-0x1,_0x1df101;_0x4bbc94>=0x0;_0x4bbc94--)(_0x1df101=_0x5a4101[_0x4bbc94])&&(_0x208558=(_0x3f8492?_0x1df101(_0x16f285,_0x16043c,_0x208558):_0x1df101(_0x208558))||_0x208558);return _0x3f8492&&_0x208558&&_0x6b7551(_0x16f285,_0x16043c,_0x208558),_0x208558;},_0x4b89b8=(_0x10883f,_0x4a022c)=>(_0x47fb10,_0x36846e)=>_0x4a022c(_0x47fb10,_0x36846e,_0x10883f);let _0x5a846c=class extends _0x27458f[_0x3739fa(0x304)]{constructor(_0x3a056f,_0xf3bcc7,_0x4bd7c3,_0x19daae,_0x4184ae){const _0x5b9e81=_0x3739fa;super(),this[_0x5b9e81(0x3e2)]=_0x3a056f,this[_0x5b9e81(0x1f1)]=_0xf3bcc7,this[_0x5b9e81(0x2b0)]=_0x4bd7c3,this[_0x5b9e81(0x599)]=_0x19daae,this[_0x5b9e81(0x269)]=_0x4184ae,this[_0x5b9e81(0x202)](),this[_0x5b9e81(0x5e6)]();}['_initCloseConn'](){const _0xf98743=_0x3739fa,_0xa91d93=async _0x4bdd88=>{const _0x19a27b=_0x2e6a;(await this[_0x19a27b(0x599)][_0x19a27b(0x4db)](_0x4bdd88))[_0x19a27b(0x1f0)][_0x19a27b(0x681)](_0x23e740[_0x19a27b(0x3c7)](_0xd00033=>_0xd00033[_0x19a27b(0x610)]===_0x307efd[_0x19a27b(0x3ad)][_0x19a27b(0x1ce)]),_0x23e740['takeUntil'](this[_0x19a27b(0x323)]))['subscribe'](_0x44b1f6=>{const _0x11e7b6=_0x19a27b,_0x3fc6cd=_0x44b1f6,{reason:_0x54fdf8}=_0x3fc6cd[_0x11e7b6(0x530)];this[_0x11e7b6(0x3e2)][_0x11e7b6(0x340)](_0x299d72[_0x11e7b6(0x28b)])[_0x11e7b6(0x1f7)]({'type':_0x1fd227[_0x11e7b6(0x5a3)]['Error'],'content':this['_localeService']['t'](_0x11e7b6(0x212))+'('+_0x54fdf8+')'}),this['_permissionService']['updatePermissionPoint'](new _0x562d18[(_0x11e7b6(0x650))](_0x4bdd88)['id'],!0x1),this[_0x11e7b6(0x599)][_0x11e7b6(0x257)](_0x4bdd88);});};_0x19f426['merge'](this['_univerInstanceService'][_0xf98743(0x420)](_0x27458f[_0xf98743(0x629)]['UNIVER_SHEET']),this[_0xf98743(0x1f1)][_0xf98743(0x420)](_0x27458f[_0xf98743(0x629)][_0xf98743(0x4c3)]))[_0xf98743(0x681)](_0x23e740[_0xf98743(0x312)](_0x220817=>_0x220817[_0xf98743(0x3d7)]()),_0x23e740[_0xf98743(0x3c7)](_0x276f0c=>!_0x27458f[_0xf98743(0x5c4)](_0x276f0c)),_0x23e740[_0xf98743(0x41a)](this[_0xf98743(0x323)]))['subscribe'](_0x2f6236=>{_0xa91d93(_0x2f6236);});}[_0x3739fa(0x202)](){const _0x541569=_0x3739fa,_0xf954=async _0x204843=>{const _0x8ffb4f=_0x2e6a;(await this[_0x8ffb4f(0x599)][_0x8ffb4f(0x4db)](_0x204843))['event$']['pipe'](_0x23e740[_0x8ffb4f(0x3c7)](_0x531bd2=>_0x531bd2['eventID']===_0x307efd[_0x8ffb4f(0x3ad)][_0x8ffb4f(0x207)]),_0x23e740[_0x8ffb4f(0x41a)](this[_0x8ffb4f(0x323)]))['subscribe'](_0x154e51=>{const _0x5191a0=_0x8ffb4f,_0x14a832=_0x154e51,{objectId:_0x4df09e}=_0x14a832[_0x5191a0(0x530)],_0x440bc8=this[_0x5191a0(0x3e2)]['get'](_0x4aaf1b['SheetPermissionInitController']);_0x4df09e===_0x204843?_0x440bc8[_0x5191a0(0x511)](_0x204843):_0x440bc8[_0x5191a0(0x597)](_0x204843,_0x4df09e);});};_0x19f426[_0x541569(0x5a9)](this[_0x541569(0x1f1)][_0x541569(0x420)](_0x27458f[_0x541569(0x629)]['UNIVER_SHEET']),this[_0x541569(0x1f1)][_0x541569(0x420)](_0x27458f[_0x541569(0x629)][_0x541569(0x4c3)]))[_0x541569(0x681)](_0x23e740[_0x541569(0x312)](_0x33d6ae=>_0x33d6ae[_0x541569(0x3d7)]()),_0x23e740[_0x541569(0x3c7)](_0x15faf5=>!_0x27458f[_0x541569(0x5c4)](_0x15faf5)),_0x23e740[_0x541569(0x41a)](this['dispose$']))['subscribe'](_0x19ecd2=>{_0xf954(_0x19ecd2);});}};_0x5a846c=_0x3e41df([_0x4b89b8(0x0,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0x4b89b8(0x1,_0x27458f[_0x3739fa(0x2e8)]),_0x4b89b8(0x2,_0x27458f['IPermissionService']),_0x4b89b8(0x3,_0x27458f['Inject'](_0x342316[_0x3739fa(0x2d1)])),_0x4b89b8(0x4,_0x27458f[_0x3739fa(0x2bf)](_0x27458f['LocaleService']))],_0x5a846c);var _0x52c03c=Object[_0x3739fa(0x2c0)],_0x462f92=Object['getOwnPropertyDescriptor'],_0x452fd8=(_0x572dec,_0x26f443,_0x40627d,_0x3b5727)=>{const _0xd3d338=_0x3739fa;for(var _0x3cf1ac=_0x3b5727>0x1?void 0x0:_0x3b5727?_0x462f92(_0x26f443,_0x40627d):_0x26f443,_0x3e82e7=_0x572dec[_0xd3d338(0x477)]-0x1,_0xf814d3;_0x3e82e7>=0x0;_0x3e82e7--)(_0xf814d3=_0x572dec[_0x3e82e7])&&(_0x3cf1ac=(_0x3b5727?_0xf814d3(_0x26f443,_0x40627d,_0x3cf1ac):_0xf814d3(_0x3cf1ac))||_0x3cf1ac);return _0x3b5727&&_0x3cf1ac&&_0x52c03c(_0x26f443,_0x40627d,_0x3cf1ac),_0x3cf1ac;},_0xf1a6f4=(_0x19c48d,_0x250cac)=>(_0xd8f6e3,_0x3074c2)=>_0x250cac(_0xd8f6e3,_0x3074c2,_0x19c48d);_0x342316[_0x3739fa(0x447)]=class{constructor(_0x22914f,_0x43d1d8){const _0x359b3c=_0x3739fa;this[_0x359b3c(0x29e)]=_0x22914f,this[_0x359b3c(0x286)]=_0x43d1d8;}async['getUnitOnRev'](_0x2a7e62,_0x25599f){const _0x1321b6=_0x3739fa;var _0x55c3bd;const {unitID:_0x1ed16b,type:_0x2bff37,revision:_0x63c292=0x0}=_0x25599f,_0x29a033=this[_0x1321b6(0x537)]()+'/'+_0x2bff37+_0x1321b6(0x533)+_0x1ed16b+'/rev/'+_0x63c292,_0x436074=(await this[_0x1321b6(0x286)][_0x1321b6(0x340)](_0x29a033))[_0x1321b6(0x3fa)],_0x3587e9=(_0x55c3bd=_0x436074[_0x1321b6(0x5ea)])==null?void 0x0:_0x55c3bd[_0x1321b6(0x2b9)];if(_0x3587e9){const _0x3c8fe7=_0x3587e9==null?void 0x0:_0x3587e9[_0x1321b6(0x31a)],_0x6abc3d=_0x307efd['textEncoder'][_0x1321b6(0x5c8)](_0x307efd[_0x1321b6(0x30e)](_0x3c8fe7));_0x3587e9[_0x1321b6(0x31a)]=_0x6abc3d,Object['entries'](_0x3587e9['sheets'])[_0x1321b6(0x5a5)](([,_0x286459])=>{const _0x2e663b=_0x1321b6,_0x3d5475=_0x286459[_0x2e663b(0x31a)],_0x5006f3=_0x307efd[_0x2e663b(0x463)][_0x2e663b(0x5c8)](_0x307efd['b64DecodeUnicode'](_0x3d5475));_0x286459[_0x2e663b(0x31a)]=_0x5006f3;});}return _0x436074;}async[_0x3739fa(0x5c0)](_0x49636d,_0x49f487){const _0x3d95da=_0x3739fa,{unitID:_0x407c82,type:_0x1790d9,blockID:_0x681705}=_0x49f487,_0x97f00f=this['_getAPIPrefix']()+'/'+_0x1790d9+_0x3d95da(0x533)+_0x407c82+'/block/'+_0x681705;return(await this[_0x3d95da(0x286)]['get'](_0x97f00f))[_0x3d95da(0x3fa)];}async[_0x3739fa(0x4e3)](_0x7e008c,_0x59baff){const _0x4c9497=_0x3739fa,{unitID:_0x5e6f64,type:_0x2f6796,blockID:_0x596af}=_0x59baff,_0x4ade5f=this[_0x4c9497(0x364)]()+_0x4c9497(0x684)+_0x2f6796+_0x4c9497(0x533)+_0x5e6f64+_0x4c9497(0x684)+_0x596af;return(await this[_0x4c9497(0x286)][_0x4c9497(0x340)](_0x4ade5f))[_0x4c9497(0x3fa)];}async['fetchMissingChangesets'](_0x1eb6a7,_0x40eaed){const _0x3385e4=_0x3739fa,{unitID:_0x11739a,type:_0x3766b5,from:_0x3ff38d,to:_0x47647b}=_0x40eaed,_0x3fa8ee=this[_0x3385e4(0x364)]()+'/'+_0x3766b5+_0x3385e4(0x533)+_0x11739a+'/fetchmissing?from='+_0x3ff38d+_0x3385e4(0x4f0)+_0x47647b;return(await this['_httpService'][_0x3385e4(0x340)](_0x3fa8ee))['body'];}['_getSnapshotAPIPrefix'](){const _0x48b5a4=_0x3739fa;var _0x40a9bb;return(_0x40a9bb=this[_0x48b5a4(0x29e)][_0x48b5a4(0x556)](_0x460fb6))!=null?_0x40a9bb:this['_getAPIPrefix']();}[_0x3739fa(0x364)](){const _0x5b021e=_0x3739fa;var _0x40c964,_0x5178d7;const _0x24a4ad=this[_0x5b021e(0x29e)][_0x5b021e(0x556)](_0x37a1c7),_0x13cac5=this[_0x5b021e(0x29e)][_0x5b021e(0x556)](_0x4ff220);return(_0x5178d7=(_0x40c964=_0x13cac5==null?void 0x0:_0x13cac5[_0x5b021e(0x375)])!=null?_0x40c964:_0x24a4ad)!=null?_0x5178d7:_0x2a350c;}async['getResourcesRequest'](_0x425e80,_0xa89a32){const _0x11c5a4=_0x3739fa,_0x5d6fdc='/universer-api/snapshot/'+_0xa89a32[_0x11c5a4(0x5e4)]+'/unit/'+_0xa89a32[_0x11c5a4(0x4ef)]+_0x11c5a4(0x3dd);return(await this['_httpService'][_0x11c5a4(0x340)](_0x5d6fdc,{'params':{'resourceId':JSON[_0x11c5a4(0x2c8)](_0xa89a32[_0x11c5a4(0x58a)])}}))['body'];}[_0x3739fa(0x4bc)](){const _0x48ee68=_0x3739fa;throw new Error(_0x48ee68(0x5d9));}['saveSheetBlock'](){const _0x52413a=_0x3739fa;throw new Error(_0x52413a(0x5d9));}[_0x3739fa(0x52b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3739fa(0x2df)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3739fa(0x465)](){const _0x450147=_0x3739fa;throw new Error(_0x450147(0x5d9));}},_0x342316[_0x3739fa(0x447)]=_0x452fd8([_0xf1a6f4(0x0,_0x27458f[_0x3739fa(0x628)]),_0xf1a6f4(0x1,_0x27458f[_0x3739fa(0x2bf)](_0x177724[_0x3739fa(0x333)]))],_0x342316['SnapshotServerOverHTTPService']);var _0xe54ff5=Object[_0x3739fa(0x2c0)],_0x1fd56f=Object[_0x3739fa(0x4e4)],_0x3456b2=(_0x4f93d9,_0x5c49ac,_0x5b870f,_0x168cfe)=>{const _0x20c236=_0x3739fa;for(var _0x237fa4=_0x168cfe>0x1?void 0x0:_0x168cfe?_0x1fd56f(_0x5c49ac,_0x5b870f):_0x5c49ac,_0x445841=_0x4f93d9[_0x20c236(0x477)]-0x1,_0xd4886d;_0x445841>=0x0;_0x445841--)(_0xd4886d=_0x4f93d9[_0x445841])&&(_0x237fa4=(_0x168cfe?_0xd4886d(_0x5c49ac,_0x5b870f,_0x237fa4):_0xd4886d(_0x237fa4))||_0x237fa4);return _0x168cfe&&_0x237fa4&&_0xe54ff5(_0x5c49ac,_0x5b870f,_0x237fa4),_0x237fa4;},_0x399c20=(_0x1cd564,_0x26a639)=>(_0x52563e,_0x170ab9)=>_0x26a639(_0x52563e,_0x170ab9,_0x1cd564);let _0x2b7102=class extends _0x27458f[_0x3739fa(0x3b7)]{constructor(_0x40d64c,_0x1e1be1,_0x19a968,_0x203d2c,_0x4bd8eb){const _0x1e9722=_0x3739fa;super(_0x40d64c,_0x1e1be1,_0x19a968),this[_0x1e9722(0x63d)]=_0x203d2c,this['_logService']=_0x4bd8eb;}['transformUndoRedo'](_0x2f58f5,_0x593965){const _0x3afd46=_0x3739fa,_0x5900c0=this[_0x3afd46(0x2fb)](_0x2f58f5);if(_0x5900c0)try{const _0x502e61=this[_0x3afd46(0x1fa)](_0x5900c0,_0x593965);this[_0x3afd46(0x21d)](_0x2f58f5,_0x502e61);}catch(_0x2eaaf2){this[_0x3afd46(0x4a0)][_0x3afd46(0x4dc)](_0x3afd46(0x59c),_0x2eaaf2),this[_0x3afd46(0x237)](_0x2f58f5);}const _0x24c8c2=this[_0x3afd46(0x2ca)](_0x2f58f5);if(_0x24c8c2)try{const _0x54d846=this[_0x3afd46(0x1fa)](_0x24c8c2,_0x593965);this[_0x3afd46(0x50e)](_0x2f58f5,_0x54d846);}catch(_0x728268){this[_0x3afd46(0x4a0)][_0x3afd46(0x4dc)](_0x728268),this[_0x3afd46(0x655)](_0x2f58f5);}}[_0x3739fa(0x237)](_0x1a9b32){const _0x7372a0=_0x3739fa,_0x55a58f=this[_0x7372a0(0x2fb)](_0x1a9b32);_0x55a58f&&(_0x55a58f[_0x7372a0(0x477)]=0x0,this[_0x7372a0(0x54e)]());}['_clearRedo'](_0x5deeca){const _0x40fdea=_0x3739fa,_0x319bd5=this[_0x40fdea(0x2ca)](_0x5deeca);_0x319bd5&&(_0x319bd5['length']=0x0,this['_updateStatus']());}[_0x3739fa(0x21d)](_0x434f95,_0x9a9025){const _0x359d40=_0x3739fa;this['_undoStacks'][_0x359d40(0x1f5)](_0x434f95,_0x9a9025),this[_0x359d40(0x54e)]();}[_0x3739fa(0x50e)](_0x5337de,_0x4fdfd2){const _0x1679eb=_0x3739fa;this[_0x1679eb(0x3c8)][_0x1679eb(0x1f5)](_0x5337de,_0x4fdfd2),this[_0x1679eb(0x54e)]();}['_transformStack'](_0x5d0228,_0x3bf618){const _0x277997=_0x3739fa,_0x34a523=[];let _0x5d3ee5=_0x3bf618,_0x2db66b=_0x3bf618;for(let _0x3f98d8=_0x5d0228['length']-0x1;_0x3f98d8>=0x0;_0x3f98d8--){const {unitID:_0x3a43f8,undoMutations:_0xb2653,redoMutations:_0x507cfa}=_0x5d0228[_0x3f98d8],_0x28bbe3=this['_transformService'][_0x277997(0x542)](_0x5d3ee5,_0xb2653),_0x53c61c=this[_0x277997(0x63d)][_0x277997(0x542)](_0x2db66b,_0x507cfa);if(_0x307efd[_0x277997(0x365)](_0x28bbe3)||_0x307efd['isTransformMutationsWithChangesetFailure'](_0x53c61c)){this[_0x277997(0x4a0)][_0x277997(0x4dc)](_0x277997(0x59c),_0x277997(0x58d),_0x28bbe3,_0x53c61c);break;}_0x5d3ee5=_0x28bbe3['c1Prime'],_0x2db66b=_0x53c61c['c1Prime'],_0x34a523[_0x277997(0x5c6)]({'unitID':_0x3a43f8,'undoMutations':_0x28bbe3['m2Prime'],'redoMutations':_0x53c61c['m2Prime']});}return _0x34a523[_0x277997(0x4d9)]();}};_0x2b7102=_0x3456b2([_0x399c20(0x0,_0x27458f[_0x3739fa(0x2e8)]),_0x399c20(0x1,_0x27458f[_0x3739fa(0x52f)]),_0x399c20(0x2,_0x27458f[_0x3739fa(0x260)]),_0x399c20(0x3,_0x307efd[_0x3739fa(0x24d)]),_0x399c20(0x4,_0x27458f[_0x3739fa(0x592)])],_0x2b7102);class _0x5c0eab extends _0x27458f[_0x3739fa(0x304)]{constructor(){const _0xe2bec0=_0x3739fa;super(),_0x13ba75(this,'urlChange$'),this[_0xe2bec0(0x3ca)]=_0x19f426[_0xe2bec0(0x272)](window,'popstate')[_0xe2bec0(0x681)](_0x19f426[_0xe2bec0(0x41a)](this[_0xe2bec0(0x323)]),_0x19f426[_0xe2bec0(0x679)](0x1),_0x19f426[_0xe2bec0(0x565)](void 0x0));}[_0x3739fa(0x1c7)](_0x1c3112,_0x388a36,_0x355b31=!0x1){const _0x261ddd=_0x3739fa,_0x3d33f0=new URL(window['location']['href']);_0x3d33f0[_0x261ddd(0x56d)][_0x261ddd(0x1f5)](_0x1c3112,_0x388a36),_0x355b31?window[_0x261ddd(0x5f8)][_0x261ddd(0x404)]('','',_0x3d33f0['toString']()):window[_0x261ddd(0x5f8)]['pushState']('','',_0x3d33f0['toString']());}['removeParam'](_0x354bc8,_0x37a671=!0x1){const _0x49a898=_0x3739fa,_0x354b8b=new URL(window[_0x49a898(0x2af)][_0x49a898(0x1fb)]);_0x354b8b[_0x49a898(0x56d)][_0x49a898(0x660)](_0x354bc8),_0x37a671?window[_0x49a898(0x5f8)][_0x49a898(0x404)]('','',_0x354b8b[_0x49a898(0x315)]()):window['history'][_0x49a898(0x2a5)]('','',_0x354b8b[_0x49a898(0x315)]());}[_0x3739fa(0x361)](_0x3d76d7){const _0x2da984=_0x3739fa;var _0x4bf71e;return(_0x4bf71e=new URL(window[_0x2da984(0x2af)][_0x2da984(0x1fb)])[_0x2da984(0x56d)][_0x2da984(0x340)](_0x3d76d7))!=null?_0x4bf71e:void 0x0;}}var _0x2e070d=Object[_0x3739fa(0x2c0)],_0x11c840=Object[_0x3739fa(0x4e4)],_0x53d02d=(_0x422cba,_0x3d452d,_0x518157)=>_0x3d452d in _0x422cba?_0x2e070d(_0x422cba,_0x3d452d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x518157}):_0x422cba[_0x3d452d]=_0x518157,_0x3a937b=(_0x1a36ee,_0x51d9d6,_0x49bf3d,_0x33497c)=>{const _0x3b5571=_0x3739fa;for(var _0x3034a6=_0x33497c>0x1?void 0x0:_0x33497c?_0x11c840(_0x51d9d6,_0x49bf3d):_0x51d9d6,_0x3d0675=_0x1a36ee[_0x3b5571(0x477)]-0x1,_0x3e0f10;_0x3d0675>=0x0;_0x3d0675--)(_0x3e0f10=_0x1a36ee[_0x3d0675])&&(_0x3034a6=(_0x33497c?_0x3e0f10(_0x51d9d6,_0x49bf3d,_0x3034a6):_0x3e0f10(_0x3034a6))||_0x3034a6);return _0x33497c&&_0x3034a6&&_0x2e070d(_0x51d9d6,_0x49bf3d,_0x3034a6),_0x3034a6;},_0xe3a19f=(_0x27371b,_0x354a85)=>(_0x5221e9,_0x37ae72)=>_0x354a85(_0x5221e9,_0x37ae72,_0x27371b),_0x158dd4=(_0x4bcb7f,_0x1a61ee,_0x2fcf59)=>_0x53d02d(_0x4bcb7f,_0x1a61ee+'',_0x2fcf59);const _0x1deb32=_0x3739fa(0x5f5);_0x342316[_0x3739fa(0x32f)]=class extends _0x27458f[_0x3739fa(0x28e)]{constructor(_0x3fd472=_0x20d253,_0xe763ae,_0x176b43,_0x46e852,_0x24319a){const _0x34a825=_0x3739fa;super(),this[_0x34a825(0x532)]=_0x3fd472,this[_0x34a825(0x4a0)]=_0xe763ae,this[_0x34a825(0x601)]=_0x176b43,this['_injector']=_0x46e852,this[_0x34a825(0x29e)]=_0x24319a;const {..._0x5d5bf5}=this[_0x34a825(0x532)];this[_0x34a825(0x29e)][_0x34a825(0x5c7)](_0x4ff220,_0x5d5bf5);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x3739fa(0x4fc)](){const _0x11a9c1=_0x3739fa;_0x27458f[_0x11a9c1(0x4e9)](this[_0x11a9c1(0x3e2)],[[_0x4a6227],[_0x1287bd]]);}['onRendered'](){this['_registerRenderDependencies']();}[_0x3739fa(0x671)](){const _0x1f3f41=_0x3739fa;var _0x20769b,_0xfde1ab,_0x41e5ea,_0x8e74a7;this[_0x1f3f41(0x3e2)][_0x1f3f41(0x3f9)](_0x27458f[_0x1f3f41(0x600)])&&this['_logService'][_0x1f3f41(0x4dc)](_0x1f3f41(0x685),_0x1f3f41(0x215));const _0x55c690=[[_0x27458f['IUndoRedoService'],{'useClass':_0x2b7102}],[_0x342316[_0x1f3f41(0x2d1)]],[_0x5b37ab],[_0xaf258,{'useClass':_0x5c0eab}],[_0x342316[_0x1f3f41(0x4a6)]],[_0x342316[_0x1f3f41(0x1b4)]],[_0x177724[_0x1f3f41(0x5b1)]],[_0x216c0f],[_0x8f0249],[_0x2541de],[_0x13ab85],[_0x2615e8],[_0xe4f40e],[_0x33d2fa],[_0x7574a7],[_0x5a846c],[_0x23f441,{'useClass':(_0xfde1ab=(_0x20769b=this['_config'])==null?void 0x0:_0x20769b[_0x1f3f41(0x387)])!=null?_0xfde1ab:_0x342316[_0x1f3f41(0x405)]}],[_0x307efd[_0x1f3f41(0x222)],{'useClass':_0x342316['SnapshotServerOverHTTPService']}],[_0x27458f[_0x1f3f41(0x2cb)],{'useClass':_0x342316['AuthzIoHttpService']}],[_0x533b24['IImageIoService'],{'useClass':_0x342316[_0x1f3f41(0x39e)]}],[_0x27458f[_0x1f3f41(0x473)],{'useClass':_0x342316[_0x1f3f41(0x424)]}],[_0x342316['CollaborationController']],[_0x342316[_0x1f3f41(0x67f)]],[_0x342316[_0x1f3f41(0x62d)]],[_0x4a6227],[_0x502a80],[_0x1287bd]];(_0x41e5ea=this[_0x1f3f41(0x532)])!=null&&_0x41e5ea[_0x1f3f41(0x559)]&&_0x55c690[_0x1f3f41(0x5c6)]([_0x23092d,{'useClass':_0x286643}]),_0x27458f[_0x1f3f41(0x38c)](this['_injector'],_0x27458f[_0x1f3f41(0x5f7)](_0x55c690,(_0x8e74a7=this[_0x1f3f41(0x532)])==null?void 0x0:_0x8e74a7[_0x1f3f41(0x65c)]));}[_0x3739fa(0x582)](){const _0x1511a9=_0x3739fa;this[_0x1511a9(0x324)](this[_0x1511a9(0x601)][_0x1511a9(0x5c3)](_0x27458f[_0x1511a9(0x629)][_0x1511a9(0x4c3)],[_0x21d851])),this[_0x1511a9(0x324)](this[_0x1511a9(0x601)][_0x1511a9(0x5c3)](_0x27458f['UniverInstanceType'][_0x1511a9(0x497)],[_0x2b0e9a]));}[_0x3739fa(0x638)](){const _0x189780=_0x3739fa;var _0x292689,_0x31ee00;this['_injector']['get'](_0x177724[_0x189780(0x333)])[_0x189780(0x57f)]({'priority':0x14,'interceptor':_0x177724['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x292689=this['_config'])!=null&&_0x292689[_0x189780(0x29d)]||this[_0x189780(0x3e2)][_0x189780(0x340)](_0x342316[_0x189780(0x1b4)])[_0x189780(0x37b)](),(_0x31ee00=this[_0x189780(0x532)])!=null&&_0x31ee00[_0x189780(0x3ba)]&&_0x27458f[_0x189780(0x4e9)](this[_0x189780(0x3e2)],[[_0xe4f40e]]),_0x27458f[_0x189780(0x4e9)](this[_0x189780(0x3e2)],[[_0x33d2fa],[_0x502a80],[_0x342316[_0x189780(0x67f)]],[_0x342316['CollaborationController']],[_0x342316[_0x189780(0x62d)]],[_0x5a846c]]);}},_0x158dd4(_0x342316[_0x3739fa(0x32f)],_0x3739fa(0x4a5),_0x1deb32),_0x342316['UniverCollaborationClientPlugin']=_0x3a937b([_0x27458f[_0x3739fa(0x53d)](_0x307efd[_0x3739fa(0x4b4)],_0x177724[_0x3739fa(0x5de)]),_0xe3a19f(0x1,_0x27458f['ILogService']),_0xe3a19f(0x2,_0x4cb377[_0x3739fa(0x2dd)]),_0xe3a19f(0x3,_0x27458f[_0x3739fa(0x2bf)](_0x27458f[_0x3739fa(0x47b)])),_0xe3a19f(0x4,_0x27458f[_0x3739fa(0x628)])],_0x342316[_0x3739fa(0x32f)]),_0x342316[_0x3739fa(0x261)]=_0x291a38,_0x342316['COLLAB_CLIENT_CONFIG_KEY']=_0x4ff220,_0x342316[_0x3739fa(0x46e)]=_0x5ab6e5,_0x342316[_0x3739fa(0x3c2)]=_0x3180bc,_0x342316[_0x3739fa(0x43e)]=_0x44c830,_0x342316[_0x3739fa(0x631)]=_0x274955,_0x342316['CommentService']=_0x7574a7,_0x342316['HEARTBEAT_INTERVAL_KEY']=_0x4440ff,_0x342316[_0x3739fa(0x379)]=_0x5e4bac,_0x342316[_0x3739fa(0x2b7)]=_0x23f441,_0x342316[_0x3739fa(0x3dc)]=_0xaf258,_0x342316[_0x3739fa(0x280)]=_0x441bef,_0x342316[_0x3739fa(0x444)]=_0x1f0873,_0x342316[_0x3739fa(0x1e8)]=_0x4021af,_0x342316[_0x3739fa(0x355)]=_0x181426,_0x342316[_0x3739fa(0x63f)]=_0x37a1c7,_0x342316[_0x3739fa(0x63c)]=_0x460fb6,_0x342316['SessionStatus']=_0x45bbdd,_0x342316['SheetCollabCursorShape']=_0x29b70f,_0x342316['WebURLService']=_0x5c0eab,_0x342316['deserializeToCombResponse']=_0x45ad56,_0x342316[_0x3739fa(0x51f)]=_0x3c4839,Object[_0x3739fa(0x2c0)](_0x342316,Symbol['toStringTag'],{'value':_0x3739fa(0x30a)});}));function _0x2e6a(_0x5a5a65,_0x5ebec0){const _0x399203=_0x3992();return _0x2e6a=function(_0x2e6a70,_0x151725){_0x2e6a70=_0x2e6a70-0x1ae;let _0x4b93eb=_0x399203[_0x2e6a70];return _0x4b93eb;},_0x2e6a(_0x5a5a65,_0x5ebec0);}function _0x3992(){const _0x14b942=['[CollaborationSession]','prototype','IPermissionService','/universer-api/comb','_lockTransition','LIVESHARE_REQUEST_HOST','HttpImport','subscribe','_ws','Could\x20not\x20dynamically\x20require\x20\x22','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_change$','/universer-api/user/session-ticket','_stopTelemetryCollaborationNewChangeset','origin','url','x-univer-host','LIVESHARE_NEW_HOST','_clearTimeoutTimer','_urlService','ciphertext','_removeClearOtherTimer','members','IConfigService','UniverInstanceType','_onRemoteRejected','splice','_createSocketURL','DesktopCollaborationStatusDisplayController','delay','LEAVE','onStateChange','CollaborationStatusDisplay','tag','_docTransformStateCacheService','csRejEvent','leaveEvent','INVALID_ARGUMENT','CollaborationController','_initDependencies','@univerjs/design','8136srQqLx','colorChannel1','SNAPSHOT_URL_KEY','_transformService','editingUnit','SNAPSHOT_SERVER_URL_KEY','_nRounds','idSuffix','_onConnectionOpen','_onLocalMutation','_beforeCloseService','_imageSourceCache','rxjs/operators','_remoteChangesetQueue','Undefined','YUUMI_RATE_OVER_LIMIT','OFFLINE','_decreaseWaiting','csShouldRetryEvent','mixIn','onMouseMove','className','WorkbookEditablePermission','_onRemoteRetry','_transformUndoredo','src','BufferedBlockAlgorithm','_clearRedo','_mode','collaboration-client.config','actions','_updateLocalCursor','UserManagerService','restore','override','NEW_CHANGESETS','awaitingChangeset','contains','delete','USERS_LEAVE','_http','application/json','clearInterval','onRemoteRetry','_socket$','name','Base','getRenderById','getCellPositionByOffset','_docSyncEditingCollabCursorService','drawWith','_colorAssignService','newCsEvent','Error','post','_registerDependencies','repeat','getCurrentRevOfUnit','setWaitCount','addClipboardHook','enc','incrementRevOfUnit','_lastPointer','shareReplay','APPLY_PERMISSION_DENIED','_onConnectionFailed','Subject','Cipher','INTERNAL_ERROR','DataLoaderController','@univerjs/rpc','pipe','699fktyGp','_schedule','/block/','[UniverCollaborationClientPlugin]','getOwnPropertySymbols','SYNCED','@univerjs/engine-render','objects','_reverseMap','SnapshotService','_commentUpdate$','LocalCacheService','_docSkeletonManagerService','switchMap','function','_onMessage','_session','_getAnchorBounding','_shapes','_getCtorByUniverType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','CHANGESET_ACK','every','_createHandler','infoRsp','getMember','putCollaborators','syncEditingCollabCursor','stopTime','_handleEvent','setParam','hide','VIEWPORT_KEY','_sheetSkeletonManagerService','_iv','_minBufferSize','transformByState','SHOULD_CLOSE_CONN','SheetSkeletonManagerService','_socketReady','gold400','triggerDblclick','withCredentials','CHANGESET_REJ','substring','Vector2','failed\x20to\x20apply\x20missed\x20changesets!','OpenSSL','status$','/new_changes','getCurrentUser','now','getSheetObject','_telemetryService','getActiveRange','_state$','_map','_updateLocalCache','_scheduleTimestamp','onCommentUpdate','verdancy600','TEXT','_executeRemoteChangeset','RETRY_CONNECTING_MAX_COUNT_KEY','_heartbeatTimer','_waitCount','state$','encodeURIComponent','OnLineSingle','includes','AWAITING','event$','_univerInstanceService','EvpKDF','fill','useDependency','set','liveShareNewHost','show','_transformRemoteChangesetByIMECache','Shape','_transformStack','href','getAllMembers','_keyPriorReset','HEADER_MENU','cmd','/universer-api/file/{fileID}/sign-url','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_initUnitPermissionChange','close','debug','_clearHeartbeatTimer','mapDocumentTypeToUniverType','UPDATE_PERMISSION_OBJ','/object/','_parse','clone','_status$','_unlockTransition','roomInfos','responseType','MD5','registerComponent','_state','collaboration.closeRoom','_createSocket','_compressMutationService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','replace','dispose','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','indexOf','getCurrent','_colorIndex','createInstance','_substituteUndoStack','encrypt','UNKNOWN_CODE','_handleHover','INotificationService','ISnapshotServerService','_uiPartsService','_socketService','liveShareOperation','deepClone','LICENSE_DISTRO_REJECTED','getTypeOfUnitDisposed$','_startDocCollabCursor','fillStyle','_localStorageService','_transformIMECache','UniverProCollaborationClient','_docClipboardService','RETRY_CONNECTING_MAX_COUNT','UNIVER_SLIDE','unitId','socket$','FileId','whenReady','startTime','\x0aAfter:\x20','_clearUndo','subunit','RichTextEditingMutation','_startSheetCollabCursor','resize','collabStatus.offline','status','redoState','addObject','univer-online-status','BuiltInUIPart','onPointerLeave$','CONNECTOR_DATA_TOO_LARGE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','defaultProps','0\x200\x2017\x2016','DocIMEInputManagerService','collab-text-range-','getItem','revision','_labelPosition','PENDING','ITransformService','MergeInterceptorFactory','abs','_getMergeRange','getCurrentSelections','_ensureSubject','visibilityState','words','conflict','random','closeSession','getViewport','unitId\x20is\x20not\x20found','IBeforeCloseService','_append','_keySchedule','exhaustSavingTask','JOINING','POST','IContextService','AUTHZ_URL_KEY','flatMap','JSONX','memberID','children','Hasher','@univerjs/telemetry','_scheduleClearOtherTimer','_localeService','_eventUnsubscribe','getAncestorScale','_clearCollaborationTimeoutTimer','_localCacheService','getStateCache','@univerjs-pro/collaboration','commentUpdateEvent','?url=','fromEvent','getFocusedUnit','startRow','_sendingTimer','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','useCallback','_retryConnectingTimer','/universer-api/stream/file/upload','font','react','[DataLoaderController]','_onOffline','setItem','_initStatusComponent','LOCAL_CACHE_INTERVAL_KEY','EffectRefRangId','_getCurrentRevision','_removeCollabCursors','currentSkeleton$','_setupBeforeClosingHandler','_httpService','_backgroundColor','newValue','measureText','makeDirty','IMessageService','code','range','Plugin','_doCryptBlock','UniverEngineFormula','take','combineLatest','substr','getInterceptPoints','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','purple300','_getSaveTimeout','session.collaboration-timeout','parseChangesetToProtocol','AES','debounceTime','roles','enableOfflineEditing','_configService','_timeoutTimer','ceil','blockSize','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UniverProCollaboration','string','pushState','SetTextSelectionsOperation','_onCursorDelete','_saveCache','decrypt','SHA1','_toggleOnline','UnitSnapshot','_refreshCollabCursors','unit-cache-','location','_permissionService','Utf8','startColumn','round','collaboration-session-retry','authzUrl','permissionRejEvent','ICollaborationSocketService','_createHmacHelper','workbook','asObservable','WordArray','_themeService','createSocket','storage','Inject','defineProperty','IDocClipboardService','pad','collab-text-anchor-','image/png','updatePermissionPoint','__esModule','conflict.title','stringify','disposeUnit','_getRedoStack','IAuthzIoService','div','image/bmp','send','_resendTimer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CollaborationSessionService','_members','_online','univer-offline','{fileID}','_onCursorUpdate','UniverUi','onlineStatusIcon','/universer-api/oidc/authpage','_cachedData','#fff','1em','IRenderManagerService','reqId','copyFileMeta','fetch_missing','RemoveRowCommandId','_onConflict','_rescheduleHeartbeat','_onFetchMissResult','transformUndoRedo','sessionTicket','IDLE','IUniverInstanceService','compute','getColor','onSyncEditingCollabCursor','on-line-single_clip0_910_349','updateMember','_sendHeartbeatTimer','50ZYiPTi','cursorInfo','collabStatus.notCollab','split','272334sVQCJM','_singleActiveUnitService','_clearOtherTimers','_cursorInfo$','updatePermissionObjEvent','_roomMembers$','ONLINE','buffer','_getUndoStack','selection','loadDoc','Rect','_event$','jsxs','iterations','_sessionStatus$','_commandService','RxDisposable','imageSourceType','default','HEARTBEAT_TIMEOUT','_exhaustRemoteChangesetQueue','offline','Module','CommandType','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','sheetID','b64DecodeUnicode','56LynorG','resend','updateCursorEvent','map','setShowComponents','SheetCollaborationEntity','toString','roomMembers$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PERSON','randomBytes','originalMeta','onSendChangeset','_saveTaskMap','getRandomValues','isTransformChangesetsSuccess','hasOwnProperty','_setupSubUnitSync','path','_handler','dispose$','disposeWithMe','PSEUDO_FETCH_MISSING_RESULT','_hideTimer','DocCollaborationEntity','_init','_doFinalize','_name','currentColor','floor','interceptor','_hasher','UniverCollaborationClientPlugin','FETCH_MISSING','sin','isPermissionRej','HTTPService','_updateState','getActiveSheet','_sheetTransformSelectionsService','updateOfflineData','format','_userManagerService','collaborators','change$','_listenToOnlineEvent','_telemetryInfo','msCrypto','DeleteRangeMoveUpCommandId','get','selections','handleDeleteRangeMoveLeft','_commentService','execute','_waitForHeartbeatResponse','&source=','joinRsp','UniverRpc','_nDataBytes','UNRECOGNIZED','bind','onRemoteChangeset','InsertRowCommandId','Encryptor','sessionStatus','UniverDesign','RevisionService','max','transformSelections','[CollaborationSessionService]','SEND_CHANGESET_TIMEOUT_KEY','_scheduleSaving','getCollabEntity$','SetDocZoomRatioOperation','handleInsertRow','_fetchMissChangesets','_transformPreviousActiveRange','_applyRemoteChangeset','synced','univer-online','_sender','UniverCore','getParam','FAIL','NOT_COLLAB','_getAPIPrefix','isTransformMutationsWithChangesetFailure','_cursorShapes','method','getSkeleton','collabStatus.fetchMiss','[OfflineState]:\x20received\x20rejection.','onCommandExecuted','createIdentifier','session.room-full','_socketMessageSubscription','handleInsertRangeMoveDown','awaiting_with_pending','$super','c2Prime','@univerjs/docs-ui','save','snapshotServerUrl','OTHER_CLIENTS_EDITING','_transitionLocked','/universer-api/authz','HEARTBEAT_TIMEOUT_KEY','handleInsertRangeMoveRight','disableLocalCache','Latin1','getRangePointData','width','\x0aCurrent:\x20','react.fragment','_hover','parseProtocolChangeset','subUnitId','univer-pro.collaboration-client-socket-service','sequenceExecute','add','socketService','with','object','some','transformChangesets','registerDependencies','onTransformRemoteChangesetByStateCache','isTransformMutationsWithChangesetSuccess','Optional','equals','BlockCipherMode','APPLY_REJECT','onMissedChangesetFetched','_doProcessBlock','collabStatus.conflict','localeService','_anchorDot','patch','roomMembers','transformMutation','TEXT_RANGE_LAYER_INDEX','attrs','unit','ImageIoService','_getSheetObject','onTransformState','ReplaySubject','[FetchMissState]','getRelativeToViewportCoord','unsubscribe','_refRangeService','cfg','ITelemetryService','univerjs-icon\x20univerjs-icon-','_docSkeleton','_hovered','capture','debounce','CollaborationEvent','createEncryptor','/collaborator','UniverSheetsUi','m1Prime','c1Prime','_shouldReportTelemetry','session','registerBeforeClose','926379JaWtjz','LocalUndoRedoService','_getLoginPath','_textBubble','enableAuthServer','CHANGESET_SHOULD_RETRY','_disabled','_onRefRangeChange','YUUMI_URL_COL_OUT_OF_RANGE','_initCommandExecutedListener','unshift','setTimeout','COLLAB_WEB_SOCKET_URL_KEY','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','197734mdtpuQ','_showConflictNotification','MentionType','filter','_redoStacks','clear','urlChange$','[OfflineState]:\x20received\x20changeset.','_document','_initMergeInterceptor','_initResize','call','RegularPolygon','handleIRemoveCol','row','_queuedRemoteChangesets','NodePositionConvertToRectRange','labelPosition','CHANGESET_REVISION_CONFILICT','getUnitId','pending','_cursors','_invKeySchedule','APPLY_REVISION_CONFILICT','IURLService','/resources','trim','_unitID','_incrementRevisionNumber','APPLY_NON_SEQUENTIAL_REVISION','_injector','objectActions','HMAC','_createInitialState','focused$','apply','off-line-single_clip0_910_343','registerRefRange','__creator','image/jpeg','algo','loginUrlKey','_imageIoService','/allowed','_entities','_acknowledgedAwaitingChangeset','addImageSourceCache','RECV','_retryCount','NodePositionConvertToCursor','getTime','_resendWithTimeout','#FFF','has','body','jsx','getCollabCursors$','LIVESHARE_OPERATION','createCollaborator','UNIVER_UNKNOWN','_loadSheet','UniverDrawing','save\x20fail\x20reason\x20is\x20','getOffsetConfig','replaceState','CollaborationSocketService','exports','RemoveColCommandId','current','COMMENT_UPDATE','online','_scheduleCollaborationTimeoutTimer','DisposableCollection','_data','@univerjs/core','min','source','/role','Warning','getRoom','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','toggleOnline','_collabCursorController','_getSessionTicket','USERS_ENTER','mode','takeUntil','BehaviorSubject','column','CompressMutationService','appendMutation','propertyIsEnumerable','getTypeOfUnitAdded$','duration','transformIMECache','M0\x200H16V16H0z','MentionIoHttpService','_docTransformIMECacheService','assignAColorForMemberID','@univerjs/sheets-ui','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_resendTimeout','_entityInit$','downloadEndpointUrl','image/gif','concat','registerOnClose','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_getUploadFileURL','JOIN_ROOM_FULL','json','entries','key','ivSize','signUrlServerUrl','ImageSourceType','UniverIcon','onMissingChangesets','DocSkeletonManagerService','action','_initRequestHeader','collabWebSocketUrl','CollaborationStatus','text','color','rng','keySize','batchAllowed','LOGIN_URL_KEY','Decryptor','People','SnapshotServerOverHTTPService','byteOffset','reduce','toDisposable','sigBytes','JOIN','_removeRoom','CBC','collabSubmitChangesetUrl','Unknown\x20user','open$','_clearLocalCache','uni.network.url-service','CONFLICT','ref','_color','UNIVER_PROJECT','toggleOffline','parse','baseRev','_collaborationController','blue400','_unitOnClients','headers','shouldCloseConn','@univerjs/ui','SUBMIT_CHANGESET','_key','textEncoder','onRemoteRej','getLatestCsReqIdBySid','skeleton','NOT_FOUND','_unitStatus','InsertColCommandId','clamp','ThemeService','arc','_candidateSocket','COLLAB_SUBMIT_CHANGESET_URL_KEY','saveImage','_type','list','avatar','IMentionIOService','readInt32LE','_prevBlock','join','length','unknown','_selfUnitIDs','rxjs','Injector','_handleJoinEvent','editing\x20status\x20changed\x20to','_onRecvEvent','extend','_sessions','ACTIVE_UNIT_EVENT_CHANNEL','ERROR_IMAGE','submit\x20changeset\x20error!','state','_collaborationTimeoutTimer','evenodd','_initStatusListener','_joinRoom','DOC_RANGE_TYPE','listRoles','finalize','LIVESHARE_FETCH_OPERATIONS','UNKNOWN_CMD','HEARTBEAT','reset','_docStateChangeManagerService','m2Prime','for','use','init','Error\x20on\x20receiving\x20event','black','UNIVER_SHEET','error$','transformStateCache','fromCharCode','fromCollab','ColorKit','createDecryptor','clipPath','COMPRESS_MUTATION_APPLY','_logService','compose','generateRandomId','FromArray','1062290jWuTZe','pluginName','MemberService','_send','deserializeRangeWithSheet','@univerjs/drawing','_getDownloadEndpointURL','setStateCache','onlineStatusTitle','concatMap','ENSURE_SNAPSHOT_EXECUTION','routeKey','assign','getSheetBySheetId','getUnitType','Base64','UniverCollaborationPlugin','subscribeEvent','executeCommand','_range','LICENSE_MAX_UNITS_EXCEEDED','_hash','onPointerMove$','[CollaborationEntity]','saveSnapshot','slice','_process','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','SEND_CHANGESET_TIMEOUT','setShapeProps','_undoRedoService','UNIVER_DOC','defIds','_xformMode','pauseCollaboration','beginPath','ALREADY_EXISTS','size','LIVESHARE_TERMINATE','/universer-api/snapshot','_assignedColors','BlockCipher','__Key__','_anchor','lib','UUID','from','FETCH_MISS','operators','resolve','removeMember','reconnect','HmacMD5','reverse','NO_OTHER_CLIENTS_EDITING','requireSession','error','[SyncedState]:\x20received\x20rejection.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','AWAITING_WITH_PENDING','onPointerEnter$','\x20-\x20','complete','getDeserializedSheetBlock','getOwnPropertyDescriptor','_getAPIPrefixPath','UniverDocs','collaboratorID','IImageIoService','touchDependencies','endRow','ReactCurrentOwner','_tryEnsureSocket','UniverDocsUi','_checkMissing','unitID','&to=','TRANSFORM_CHANGE_OBSERVABLE_TYPE','changesets','LocaleService','@univerjs/sheets','put','_sendHeartbeat','getMergeData','HEARTBEAT_INTERVAL','PasswordBasedCipher','transform','_initEventListeners','onReady','_handleLeaveEvent','reject','COMPRESS_MUTATION_SEND','getValue','image/jpg','toLowerCase','_replayCachedMutations','findNodePositionByCharIndex','_listenToOfflineEvent','setAlpha','Hex','result','listCollaborators','useRef','_disableEditing','getUndoRedoMutationParamsCache','_getScale','_substituteRedoStack','_isPermissionRej','getUniverSheetInstance','initWorkbookPermissionChange','processBlock','subject','fetchMiss','3667360REDKAK','_onUserJoin','onTransformChange$','rev','top','YUUMI_UNABLE_LOAD_URL','byteLength','closePath','_scene','_iKey','serializeCombRequest','InsertSheetMutation','EXCHANGE_SIGN_URL_SERVER_URL_KEY','icon','clearTimeout','_transformHistoryAndStateStack','collabStatus.synced','charCodeAt','LOCAL_CACHE_INTERVAL','ImageUploadStatusType','_onUserLeave','SerializableCipher','saveChangeset','COLORS','_transformStateCache','kdf','ICommandService','data','displayName','_config','/unit/','isTransformMutationFailure','commentUpdate$','_collabSessionService','_getSnapshotAPIPrefix','params','lineTo','HttpExport','_collaborationPaused','_transformUndoRedoStack','DependentOn','xlink:href','getUnitStatus$','_replaceFileID','...','transformMutationsWithChangeset','_doReset','crypto','createElement','SetWorksheetActivateCommand','_submitChangeset','svg','MUTATION','_snapshotServerService','UnitEmbedded','create','_drawTextRange','_updateStatus','formatter','onRemoteAck','message$','ERROR_IMAGE_TYPE','/object','_docTransformSelectionsService','\x20in\x20_schedule.','getConfig','_throwTelemetryCollaborationNewChangeset','_awaitingChangeset','enableSingleActiveInstanceLock','_pendingMutations','getImage','_HTTPService','Rectangle','fetchThroughInterceptors','HELLO','Tools','_changesetReqId','padding','[CollaborationSessionService]:\x20socket\x20error','transformRemoteChangeset','mapTo','loadOfflineData','_clearScheduledTask','COLLAB_WEB_SOCKET_URL','SheetsSelectionsService','UniverTelemetry','onload','React','searchParams','CollaborationSession','CollaborationEntity','target','BASE64','JOIN_ROOM_NOT_ALLOWED','_onRemoteACK','_getSendChangesetTimeout','UNAUTHENTICATED','connection\x20error','undoState','_createHelper','then','cursorInfo$','symbol','setUndoRedoMutationParamsCache','isArray','url(#on-line-single_clip0_910_349)','registerHTTPInterceptor','objectID','randomUUID','_registerRenderDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','InsertRangeMoveRightCommandId','_ENC_XFORM_MODE','all','bottom','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','permission.title','resourceIDs','_toggleOffline','Tooltip','transformStack\x20failed!','on-line-single','fetchMissingChangesets','APPLY_DUPLICATED','LICENSE_IMPORT_SIZE_EXCEEDED','ILogService','throttleTime','next','salt','196609Rqroqz','refreshPermission','defs','_collaborationSessionService','COLLAB_SUBMIT_CHANGESET_URL','INGEST','[CollaborationUndoRedoService]','translate(.97)','fetching\x20missing\x20changesets\x20from\x20','_onCombEvent','getCollabEntity','getCoordByCell','_syncEditingCollabCursorService','MessageType','uploadFileServerUrl','forEach','collabCursorState$','_startCollaboration','PERMISSION_REJ','merge','doc.mutation.rich-text-editing','_memberService','mutations','update','COMPLETION_FINISHED','ranges','number','WebSocketService','append','handleInsertCol','_DEC_XFORM_MODE','objectType','_getSignURL','startsWith','\x20to\x20','_notificationService','textRanges','_updateCollabCursors','CipherParams','off-line-single','UNDEFINED','ws://127.0.0.1:8000/universer-api/comb/connect','getSheetBlock','_instanceService','getDocRanges','registerRenderModule','isInternalEditorID','_revisionService','push','setConfig','encode','_changesetSessionId','YUUMI_SUBSCRIPTION_NOT_FOUND','unload','_updateURLWithCurrentState','wsSessionTicketUrl','Univer','/-/object/-/batch_allowed','SNAPSHOT_HAS_BEEN_REMOVED','_handleHeartbeatEvent','MSG_FOR_ERROR','_oKey','setInterval','userID','socket\x20open.','_context','_transformSelections','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','useObservable','Fragment','sessionStatus$','getSheetId','UniverNetworkPlugin','charAt','_id','_socket','_collabCursorState$','catch','type','_messageService','_initCloseConn','values','UPDATE_CURSOR','getVpScrollXYInfoByPosToVp','snapshot','Disposable','_updateSubUnitFromURLParams','onTransformSelections','handleDeleteRangeMoveUp','getCurrentUnitForType','_snapshotService','title','univer-pro.collaboration-client.single-active-unit-service','toRgbString','TOO_MANY_REQUESTS','UNIVER_COLLABORATION_CLIENT_PLUGIN','confirm','mergeOverrideWithDependencies','history','distinctUntilChanged','@univerjs/engine-formula','getMemberID','find','sid','socket\x20close','UniverEngineRender','IUndoRedoService','_renderManagerService','?size=','IUIPartsService','AuthzIoHttpService','[SyncedState]:\x20received\x20acknowledgement.','allowed','rgba(255,\x20255,\x20255,\x200.01)','requestParams','onTransformIME','readAsDataURL','UniverSheets','SetSelectionsOperation','_tryReconnect','addEventListener','_roomMembers','eventID'];_0x3992=function(){return _0x14b942;};return _0x3992();}
1
+ (function(_0x501847,_0x2febd0){const _0xb9a0ed=_0x406b,_0x50e0ba=_0x501847();while(!![]){try{const _0x4861aa=-parseInt(_0xb9a0ed(0x52b))/0x1*(parseInt(_0xb9a0ed(0x166))/0x2)+parseInt(_0xb9a0ed(0x261))/0x3*(-parseInt(_0xb9a0ed(0x36a))/0x4)+-parseInt(_0xb9a0ed(0x14e))/0x5+parseInt(_0xb9a0ed(0xe1))/0x6+parseInt(_0xb9a0ed(0x314))/0x7*(-parseInt(_0xb9a0ed(0x2e4))/0x8)+parseInt(_0xb9a0ed(0x101))/0x9*(parseInt(_0xb9a0ed(0x309))/0xa)+parseInt(_0xb9a0ed(0x569))/0xb;if(_0x4861aa===_0x2febd0)break;else _0x50e0ba['push'](_0x50e0ba['shift']());}catch(_0x3bcf8c){_0x50e0ba['push'](_0x50e0ba['shift']());}}}(_0x17c8,0x6c909),function(_0x1dc2b3,_0xde0b37){const _0x12af28=_0x406b;typeof exports==_0x12af28(0x164)&&typeof module<'u'?_0xde0b37(exports,require(_0x12af28(0x105)),require(_0x12af28(0x4cd)),require(_0x12af28(0x157)),require(_0x12af28(0x2e6)),require(_0x12af28(0x481)),require(_0x12af28(0x141)),require(_0x12af28(0x2ca)),require(_0x12af28(0x4ba)),require(_0x12af28(0x300)),require(_0x12af28(0x498)),require(_0x12af28(0x3e2)),require('@univerjs/engine-render'),require(_0x12af28(0x37a)),require(_0x12af28(0x56f)),require('@univerjs/sheets-ui'),require(_0x12af28(0x49f)),require(_0x12af28(0x179))):typeof define==_0x12af28(0x466)&&define[_0x12af28(0x3ee)]?define(['exports',_0x12af28(0x105),_0x12af28(0x4cd),_0x12af28(0x157),_0x12af28(0x2e6),'@univerjs/network','@univerjs/ui',_0x12af28(0x2ca),_0x12af28(0x4ba),_0x12af28(0x300),_0x12af28(0x498),_0x12af28(0x3e2),_0x12af28(0x4e0),_0x12af28(0x37a),_0x12af28(0x56f),_0x12af28(0x3b0),_0x12af28(0x49f),_0x12af28(0x179)],_0xde0b37):(_0x1dc2b3=typeof globalThis<'u'?globalThis:_0x1dc2b3||self,_0xde0b37(_0x1dc2b3[_0x12af28(0x1a4)]={},_0x1dc2b3[_0x12af28(0x2db)],_0x1dc2b3['rxjs'],_0x1dc2b3[_0x12af28(0x4cd)][_0x12af28(0x25d)],_0x1dc2b3[_0x12af28(0x238)],_0x1dc2b3['UniverNetwork'],_0x1dc2b3[_0x12af28(0x1bd)],_0x1dc2b3['UniverProCollaboration'],_0x1dc2b3['UniverTelemetry'],_0x1dc2b3['UniverDocs'],_0x1dc2b3['UniverDocsUi'],_0x1dc2b3[_0x12af28(0x495)],_0x1dc2b3[_0x12af28(0x41c)],_0x1dc2b3['UniverDrawing'],_0x1dc2b3['UniverEngineFormula'],_0x1dc2b3[_0x12af28(0x3b1)],_0x1dc2b3[_0x12af28(0x23c)],_0x1dc2b3[_0x12af28(0x45e)]));}(this,function(_0x1191ba,_0x3c1a84,_0x818dd8,_0x58132b,_0x39c661,_0x30a9e9,_0xa35fb,_0xa820f,_0x5acc4a,_0x2a5ff4,_0x488d74,_0x16d7e8,_0x591f66,_0x18d697,_0x457450,_0x451e81,_0xa0cf8d,_0x149d86){'use strict';const _0x4478c1=_0x406b;var _0x48dac8=Object['defineProperty'],_0x43a2b5=(_0x1048d5,_0x56c7d4,_0x4c7bde)=>_0x56c7d4 in _0x1048d5?_0x48dac8(_0x1048d5,_0x56c7d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c7bde}):_0x1048d5[_0x56c7d4]=_0x4c7bde,_0xa880cb=(_0x3e093b,_0x473a31,_0x532993)=>_0x43a2b5(_0x3e093b,typeof _0x473a31!=_0x4478c1(0x19e)?_0x473a31+'':_0x473a31,_0x532993);const _0x3aad35=_0x4478c1(0x373),_0x40c962=_0x4478c1(0xd4),_0x52beb3='SNAPSHOT_URL_KEY',_0x47557c=_0x4478c1(0x1c2),_0x5710a6=_0x4478c1(0x2a6),_0x10deff=_0x4478c1(0x171),_0x36d2fc='/universer-api/user/session-ticket',_0x475bfc=_0x4478c1(0x56a),_0x17f79b=_0x4478c1(0x2f3),_0x33c86c=_0x4478c1(0x205),_0x4c0f82='LOCAL_CACHE_INTERVAL',_0x3e3225='COLLAB_SUBMIT_CHANGESET_URL',_0x2a90c8=_0x4478c1(0x1cf),_0x358bd8=_0x4478c1(0x4e8),_0x29deaf=_0x4478c1(0x418);var _0x288a3f=(_0x3a46c4=>(_0x3a46c4[_0x3a46c4[_0x4478c1(0x48d)]=0x0]=_0x4478c1(0x48d),_0x3a46c4[_0x3a46c4['OK']=0x1]='OK',_0x3a46c4[_0x3a46c4[_0x4478c1(0x30d)]=0x2]=_0x4478c1(0x30d),_0x3a46c4[_0x3a46c4[_0x4478c1(0x3e8)]=0x3]='PERMISSION_DENIED',_0x3a46c4[_0x3a46c4[_0x4478c1(0x246)]=0x4]=_0x4478c1(0x246),_0x3a46c4[_0x3a46c4['UNAUTHENTICATED']=0x5]=_0x4478c1(0x221),_0x3a46c4[_0x3a46c4['ALREADY_EXISTS']=0x6]=_0x4478c1(0x293),_0x3a46c4[_0x3a46c4[_0x4478c1(0x4aa)]=0x7]='INVALID_ARGUMENT',_0x3a46c4[_0x3a46c4[_0x4478c1(0x3c5)]=0x8]=_0x4478c1(0x3c5),_0x3a46c4[_0x3a46c4['COMPLETION_FINISHED']=0x9]=_0x4478c1(0x326),_0x3a46c4[_0x3a46c4[_0x4478c1(0x483)]=0x1389]=_0x4478c1(0x483),_0x3a46c4[_0x3a46c4[_0x4478c1(0x10b)]=0x1771]=_0x4478c1(0x10b),_0x3a46c4[_0x3a46c4[_0x4478c1(0x218)]=0x1772]=_0x4478c1(0x218),_0x3a46c4[_0x3a46c4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3a46c4[_0x3a46c4[_0x4478c1(0x325)]=0x1b59]=_0x4478c1(0x325),_0x3a46c4[_0x3a46c4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4478c1(0x24d),_0x3a46c4[_0x3a46c4[_0x4478c1(0x394)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3a46c4[_0x3a46c4[_0x4478c1(0x3c4)]=0x1b5c]=_0x4478c1(0x3c4),_0x3a46c4[_0x3a46c4[_0x4478c1(0x169)]=0x1b5d]=_0x4478c1(0x169),_0x3a46c4[_0x3a46c4[_0x4478c1(0x2f8)]=0x1f41]=_0x4478c1(0x2f8),_0x3a46c4[_0x3a46c4[_0x4478c1(0x556)]=0x2329]=_0x4478c1(0x556),_0x3a46c4[_0x3a46c4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4478c1(0x242),_0x3a46c4[_0x3a46c4[_0x4478c1(0xab)]=0x232b]=_0x4478c1(0xab),_0x3a46c4[_0x3a46c4[_0x4478c1(0xd9)]=0x232c]=_0x4478c1(0xd9),_0x3a46c4[_0x3a46c4[_0x4478c1(0x4fe)]=0x232d]=_0x4478c1(0x4fe),_0x3a46c4[_0x3a46c4[_0x4478c1(0x396)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3a46c4[_0x3a46c4[_0x4478c1(0x445)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3a46c4[_0x3a46c4[_0x4478c1(0xcb)]=0x2713]=_0x4478c1(0xcb),_0x3a46c4[_0x3a46c4[_0x4478c1(0x525)]=0x2714]=_0x4478c1(0x525),_0x3a46c4[_0x3a46c4[_0x4478c1(0x146)]=-0x1]=_0x4478c1(0x146),_0x3a46c4))(_0x288a3f||{}),_0x4d76be=(_0x554ed4=>(_0x554ed4[_0x554ed4[_0x4478c1(0x539)]=0x0]=_0x4478c1(0x539),_0x554ed4[_0x554ed4[_0x4478c1(0x3d0)]=0x1]=_0x4478c1(0x3d0),_0x554ed4[_0x554ed4[_0x4478c1(0x13a)]=0x2]=_0x4478c1(0x13a),_0x554ed4[_0x554ed4[_0x4478c1(0x355)]=0x3]='UNIVER_SLIDE',_0x554ed4[_0x554ed4[_0x4478c1(0x44d)]=0x4]='UNIVER_PROJECT',_0x554ed4[_0x554ed4['UNRECOGNIZED']=-0x1]=_0x4478c1(0x146),_0x554ed4))(_0x4d76be||{}),_0x33d34c=(_0x20c115=>(_0x20c115[_0x20c115[_0x4478c1(0x1d3)]=0x0]=_0x4478c1(0x1d3),_0x20c115[_0x20c115[_0x4478c1(0x136)]=0x1]=_0x4478c1(0x136),_0x20c115[_0x20c115[_0x4478c1(0xd3)]=0x2]='JOIN',_0x20c115[_0x20c115[_0x4478c1(0x3cb)]=0x3]=_0x4478c1(0x3cb),_0x20c115[_0x20c115['INGEST']=0x4]=_0x4478c1(0x3be),_0x20c115[_0x20c115[_0x4478c1(0x2b8)]=0x5]=_0x4478c1(0x2b8),_0x20c115[_0x20c115[_0x4478c1(0x1f8)]=0x6]=_0x4478c1(0x1f8),_0x20c115[_0x20c115[_0x4478c1(0x146)]=-0x1]=_0x4478c1(0x146),_0x20c115))(_0x33d34c||{}),_0x40c1a3=(_0x5e9bd3=>(_0x5e9bd3[_0x5e9bd3[_0x4478c1(0x3ca)]=0x0]='UNKNOWN_CODE',_0x5e9bd3[_0x5e9bd3['OK']=0x1]='OK',_0x5e9bd3[_0x5e9bd3[_0x4478c1(0x4e6)]=0x2]='FAIL',_0x5e9bd3[_0x5e9bd3['JOIN_ROOM_FULL']=0x3e9]=_0x4478c1(0xff),_0x5e9bd3[_0x5e9bd3['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x4478c1(0x276),_0x5e9bd3[_0x5e9bd3['UNRECOGNIZED']=-0x1]=_0x4478c1(0x146),_0x5e9bd3))(_0x40c1a3||{}),_0x32e2ea=(_0x5acd79=>(_0x5acd79[_0x5acd79[_0x4478c1(0x27f)]=0x0]=_0x4478c1(0x27f),_0x5acd79[_0x5acd79[_0x4478c1(0x3d6)]=0x1]=_0x4478c1(0x3d6),_0x5acd79[_0x5acd79['HttpExport']=0x2]=_0x4478c1(0x347),_0x5acd79[_0x5acd79[_0x4478c1(0x4bf)]=0x3]='UnitEmbedded',_0x5acd79[_0x5acd79[_0x4478c1(0x27b)]=0x4]=_0x4478c1(0x27b),_0x5acd79[_0x5acd79[_0x4478c1(0x146)]=-0x1]=_0x4478c1(0x146),_0x5acd79))(_0x32e2ea||{});const _0x52a52c='collaboration-client.config',_0x3d5e91={};function _0x4cd486(_0x7ee44){const _0x5be896=_0x4478c1;var _0x238b6f,_0x2f6990,_0x473cd8,_0x3c9493,_0x47515f;const _0x32ab7b=_0x7ee44[_0x5be896(0x2d6)],_0x51f862=JSON[_0x5be896(0x33c)](_0x32ab7b);switch(_0x51f862[_0x5be896(0x4ff)]){case _0x33d34c[_0x5be896(0x2b8)]:case _0x33d34c[_0x5be896(0x136)]:{const _0x410220=_0x51f862[_0x5be896(0x3f2)];return{..._0x51f862,'data':_0x410220,'cmd':_0x51f862[_0x5be896(0x4ff)]};}case _0x33d34c['JOIN']:{const _0x52d3bf=_0x51f862['joinRsp'];return{..._0x51f862,'data':_0x52d3bf,'cmd':_0x51f862['cmd']};}case _0x33d34c[_0x5be896(0x1f8)]:{const _0x3bbbe6=_0x51f862[_0x5be896(0x130)];switch(_0x3bbbe6['eventID']){case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x375)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x238b6f=_0x3bbbe6[_0x5be896(0x4f7)])==null?void 0x0:_0x238b6f['cs']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x4fc)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x2f6990=_0x3bbbe6[_0x5be896(0x252)])==null?void 0x0:_0x2f6990['cs']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f['CollaborationEvent'][_0x5be896(0x39c)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x473cd8=_0x3bbbe6['newCsEvent'])==null?void 0x0:_0x473cd8['cs']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x572)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x3c9493=_0x3bbbe6[_0x5be896(0x52f)])==null?void 0x0:_0x3c9493['cs']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)]['CHANGESET_SHOULD_RETRY']:return{..._0x51f862,'data':{..._0x3bbbe6,'data':(_0x47515f=_0x3bbbe6[_0x5be896(0x3c9)])==null?void 0x0:_0x47515f['cs']},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x541)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6[_0x5be896(0xe2)]},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x1a1)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['joinEvent']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x4f9)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6[_0x5be896(0x18e)]},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6[_0x5be896(0x528)]},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x18d)]:case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x474)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['liveShareOperation']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f['CollaborationEvent'][_0x5be896(0x4e3)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['liveShareNewHost']},'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x106)]:return{..._0x51f862,'data':_0x3bbbe6,'cmd':_0x51f862[_0x5be896(0x4ff)]};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x2ee)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6[_0x5be896(0x1dc)]},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x3f4)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['updatePermissionObjEvent']},'cmd':_0x51f862['cmd']};case _0xa820f[_0x5be896(0x12d)][_0x5be896(0x44c)]:return{..._0x51f862,'data':{..._0x3bbbe6,'data':_0x3bbbe6['shouldCloseConn']},'cmd':_0x51f862[_0x5be896(0x4ff)]};default:return _0x51f862;}}default:return _0x51f862;}}function _0x57255d(_0x3de553){const _0x170601=_0x4478c1;switch(_0x3de553['cmd']){case _0x33d34c[_0x170601(0x2b8)]:case _0x33d34c[_0x170601(0x136)]:return JSON[_0x170601(0x571)]({'cmd':_0x3de553[_0x170601(0x4ff)],'routeKey':_0x3de553[_0x170601(0x41f)]});case _0x33d34c[_0x170601(0x3be)]:{let _0x25f74f;switch(_0x3de553[_0x170601(0x2d6)][_0x170601(0x204)]){case _0xa820f['CollaborationEvent']['UPDATE_CURSOR']:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)]['UPDATE_CURSOR'],'updateCursorEvent':_0x3de553[_0x170601(0x2d6)][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x4f9)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)]['USERS_LEAVE'],'leaveEvent':_0x3de553[_0x170601(0x2d6)][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)]['USERS_ENTER']:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)][_0x170601(0x1a1)],'joinEvent':_0x3de553['data'][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x196)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3de553[_0x170601(0x2d6)]['data']};break;}case _0xa820f['CollaborationEvent'][_0x170601(0x474)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)][_0x170601(0x474)],'liveShareOperation':_0x3de553[_0x170601(0x2d6)]['data']};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x4e3)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)][_0x170601(0x4e3)],'liveShareTerminate':_0x3de553['data'][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x3f8)]:{_0x25f74f={'eventID':_0xa820f[_0x170601(0x12d)][_0x170601(0x3f8)],'liveShareRequestHost':_0x3de553[_0x170601(0x2d6)][_0x170601(0x2d6)]};break;}case _0xa820f[_0x170601(0x12d)][_0x170601(0x18d)]:{_0x25f74f={'eventID':_0xa820f['CollaborationEvent'][_0x170601(0x18d)]};break;}default:_0x25f74f={'eventID':_0x3de553[_0x170601(0x2d6)][_0x170601(0x204)]};}return JSON[_0x170601(0x571)]({'cmd':_0x3de553['cmd'],'routeKey':_0x3de553[_0x170601(0x41f)],'collaMsg':_0x25f74f});}case _0x33d34c[_0x170601(0xd3)]:return JSON[_0x170601(0x571)]({'cmd':_0x3de553['cmd'],'routeKey':_0x3de553[_0x170601(0x41f)],'joinReq':_0x3de553[_0x170601(0x2d6)]});case _0x33d34c[_0x170601(0x3cb)]:return JSON['stringify']({'cmd':_0x3de553[_0x170601(0x4ff)],'routeKey':_0x3de553[_0x170601(0x41f)],'leaveReq':_0x3de553['data']});default:throw new Error(_0x170601(0xc4));}}var _0x3320dc=Object['defineProperty'],_0x1769f7=Object[_0x4478c1(0x4d8)],_0x225d2d=(_0x56a92c,_0x5c67f9,_0x4c9a31,_0x2dd678)=>{const _0x2d7474=_0x4478c1;for(var _0x53b478=_0x2dd678>0x1?void 0x0:_0x2dd678?_0x1769f7(_0x5c67f9,_0x4c9a31):_0x5c67f9,_0x415355=_0x56a92c[_0x2d7474(0x315)]-0x1,_0x35aa5c;_0x415355>=0x0;_0x415355--)(_0x35aa5c=_0x56a92c[_0x415355])&&(_0x53b478=(_0x2dd678?_0x35aa5c(_0x5c67f9,_0x4c9a31,_0x53b478):_0x35aa5c(_0x53b478))||_0x53b478);return _0x2dd678&&_0x53b478&&_0x3320dc(_0x5c67f9,_0x4c9a31,_0x53b478),_0x53b478;},_0x364a77=(_0x138c0b,_0x121226)=>(_0x5d90eb,_0x4949ec)=>_0x121226(_0x5d90eb,_0x4949ec,_0x138c0b);const _0x1ba3ea=_0x3c1a84[_0x4478c1(0x4bb)](_0x4478c1(0x413));function _0x32074d(_0x55a7db,_0x46174b,_0x1ca8c0){const _0x3ea0a1=_0x4478c1;return _0x55a7db+'/'+_0x46174b+_0x3ea0a1(0x138)+_0x1ca8c0+'/new_changes';}_0x1191ba[_0x4478c1(0x39d)]=class extends _0x3c1a84['Disposable']{constructor(_0x657f1c,_0x26e759,_0x228fb4,_0x7e228b,_0x36aed0){const _0x9a41f0=_0x4478c1;super(),this[_0x9a41f0(0x49a)]=_0x657f1c,this[_0x9a41f0(0x243)]=_0x26e759,this[_0x9a41f0(0x17a)]=_0x228fb4,this[_0x9a41f0(0x4c1)]=_0x7e228b,this[_0x9a41f0(0x3fa)]=_0x36aed0;}[_0x4478c1(0xf6)](_0x218518){const _0x8cb7a6=_0x4478c1,_0x3802ee=this[_0x8cb7a6(0x243)][_0x8cb7a6(0xf6)](_0x218518);if(!_0x3802ee)throw new Error(_0x8cb7a6(0x368));const _0x4d7b6a=new _0x3c1a84[(_0x8cb7a6(0x316))](),_0x49722c=new _0x818dd8['Subject']();_0x4d7b6a[_0x8cb7a6(0x560)](_0x3802ee[_0x8cb7a6(0x3e7)]['subscribe'](_0x56e7ef=>_0x49722c[_0x8cb7a6(0xdb)](_0x56e7ef))),_0x4d7b6a[_0x8cb7a6(0x560)](_0x3c1a84[_0x8cb7a6(0xde)](()=>_0x49722c['complete']()));const _0x5f3369=new _0x818dd8[(_0x8cb7a6(0x245))]();_0x4d7b6a[_0x8cb7a6(0x560)](_0x3802ee[_0x8cb7a6(0x189)][_0x8cb7a6(0x3aa)](_0xdbde7c=>_0x5f3369[_0x8cb7a6(0xdb)](_0xdbde7c))),_0x4d7b6a[_0x8cb7a6(0x560)](_0x3c1a84[_0x8cb7a6(0xde)](()=>_0x5f3369['complete']()));const _0x10b70f=new _0x818dd8[(_0x8cb7a6(0x245))]();_0x4d7b6a[_0x8cb7a6(0x560)](_0x3802ee[_0x8cb7a6(0x505)][_0x8cb7a6(0x3aa)](_0x2c4620=>{const _0x4e90d5=_0x8cb7a6,_0x2113d4=_0x4cd486(_0x2c4620);_0x10b70f[_0x4e90d5(0xdb)](_0x2113d4);})),_0x4d7b6a['add'](_0x3c1a84[_0x8cb7a6(0xde)](()=>_0x10b70f[_0x8cb7a6(0x121)]()));let _0x42af3a;const _0x4bf38a=()=>{const _0x5b8938=_0x8cb7a6;_0x5f3369[_0x5b8938(0xdb)](new Event('connection\x20error')),_0x49722c[_0x5b8938(0xdb)](new CloseEvent('connection\x20error')),_0x42af3a[_0x5b8938(0x484)]();};return _0x42af3a={'memberID':'','close$':_0x49722c['asObservable'](),'error$':_0x5f3369[_0x8cb7a6(0xca)](),'open$':_0x3802ee['open$'],'message$':_0x10b70f[_0x8cb7a6(0xca)](),'send':_0x569abe=>{const _0x422584=_0x8cb7a6;if(_0x569abe[_0x422584(0x4ff)]===_0x33d34c[_0x422584(0x3be)]){if(_0x569abe[_0x422584(0x2d6)]['eventID']===_0xa820f[_0x422584(0x12d)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x42af3a,_0x569abe[_0x422584(0x2d6)])['catch'](_0x21548e=>{const _0x55aad6=_0x422584;this[_0x55aad6(0x4c1)][_0x55aad6(0x17c)](_0x21548e),_0x4bf38a();});return;}if(_0x569abe[_0x422584(0x2d6)][_0x422584(0x204)]===_0xa820f[_0x422584(0x12d)][_0x422584(0x478)]){const _0x38baab=_0x569abe[_0x422584(0x2d6)];this['_fetchMissChangesets'](_0x38baab)[_0x422584(0x322)](_0x5ceb6e=>{const _0x254228=_0x422584;_0x10b70f[_0x254228(0xdb)]({'cmd':_0x33d34c[_0x254228(0x1f8)],'code':_0x40c1a3['OK'],'routeKey':_0x38baab[_0x254228(0x2d6)][_0x254228(0x2b0)],'routeType':'','data':{'eventID':_0xa820f['CollaborationEvent'][_0x254228(0x475)],'data':{'changesets':_0x5ceb6e}}});})[_0x422584(0x21c)](_0x509920=>{const _0x220699=_0x422584;this[_0x220699(0x4c1)]['error'](_0x509920),_0x4bf38a();});return;}}_0x3802ee[_0x422584(0x51b)](_0x57255d(_0x569abe));},'close':()=>{const _0x3ecfa9=_0x8cb7a6;_0x3802ee[_0x3ecfa9(0x484)](),_0x4d7b6a[_0x3ecfa9(0x4e7)]();}},_0x42af3a;}async[_0x4478c1(0x2c8)](_0x36141d,_0x3312d8){const _0x5e2105=_0x4478c1;var _0x3f5f27,_0x3b6ac;const {unitType:_0x425119,unitID:_0x6d35f7,changeset:_0x58ac08}=_0x3312d8['data'],_0x4189aa={'unitID':_0x6d35f7,'memberID':_0x36141d[_0x5e2105(0x10d)],'type':_0x425119,'changeset':_0xa820f[_0x5e2105(0x36d)](_0x58ac08)},_0x5529fb=this[_0x5e2105(0x17a)]['getConfig'](_0x3e3225),_0x1c183a=this[_0x5e2105(0x17a)][_0x5e2105(0x1d4)](_0x52a52c),_0x40d23b=_0x32074d((_0x3b6ac=(_0x3f5f27=_0x1c183a==null?void 0x0:_0x1c183a[_0x5e2105(0x3bc)])!=null?_0x3f5f27:_0x5529fb)!=null?_0x3b6ac:_0x2a90c8,_0x425119,_0x6d35f7);try{await this[_0x5e2105(0x49a)][_0x5e2105(0x32f)](_0x40d23b,{'body':_0x4189aa});}catch(_0xbb037e){throw this[_0x5e2105(0x4c1)][_0x5e2105(0x17c)]('[CollaborationSession]',_0x5e2105(0x268)),_0xbb037e;}}async['_fetchMissChangesets'](_0x457de3){const {unitID:_0x2461d5,from:_0x565112,to:_0xca5b87,unitType:_0x4b4347}=_0x457de3['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2461d5,'type':_0x4b4347,'from':_0x565112,'to':_0xca5b87}))['changesets'];}},_0x1191ba[_0x4478c1(0x39d)]=_0x225d2d([_0x364a77(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)])),_0x364a77(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x206)])),_0x364a77(0x2,_0x3c1a84['IConfigService']),_0x364a77(0x3,_0x3c1a84[_0x4478c1(0x4b9)]),_0x364a77(0x4,_0xa820f[_0x4478c1(0x338)])],_0x1191ba[_0x4478c1(0x39d)]);const _0xc53c95=_0x4478c1(0x3ec);function _0x52aa6a(_0x76a6e8){const _0x16953b=_0x4478c1;return JSON[_0x16953b(0x571)](_0x76a6e8)['length'];}class _0x5cca12{constructor(){const _0x41a621=_0x4478c1;_0xa880cb(this,_0x41a621(0x341),new _0x818dd8[(_0x41a621(0x245))]()),_0xa880cb(this,_0x41a621(0x1e9),this[_0x41a621(0x341)][_0x41a621(0xca)]());}[_0x4478c1(0x562)](_0x548ac1){const _0x1828de=_0x4478c1;this[_0x1828de(0x341)][_0x1828de(0xdb)](_0x548ac1);}}var _0x5c1377=Object['defineProperty'],_0x3e2d92=Object['getOwnPropertyDescriptor'],_0x13afab=(_0x549a5d,_0x5cacd5,_0x24ac3f,_0x1d4a48)=>{const _0x25880f=_0x4478c1;for(var _0x29d8b3=_0x1d4a48>0x1?void 0x0:_0x1d4a48?_0x3e2d92(_0x5cacd5,_0x24ac3f):_0x5cacd5,_0x2d69a5=_0x549a5d[_0x25880f(0x315)]-0x1,_0x29593b;_0x2d69a5>=0x0;_0x2d69a5--)(_0x29593b=_0x549a5d[_0x2d69a5])&&(_0x29d8b3=(_0x1d4a48?_0x29593b(_0x5cacd5,_0x24ac3f,_0x29d8b3):_0x29593b(_0x29d8b3))||_0x29d8b3);return _0x1d4a48&&_0x29d8b3&&_0x5c1377(_0x5cacd5,_0x24ac3f,_0x29d8b3),_0x29d8b3;},_0x4f12b9=(_0x34ddb3,_0x3bcac1)=>(_0x1da4dc,_0xfd7eab)=>_0x3bcac1(_0x1da4dc,_0xfd7eab,_0x34ddb3);_0x1191ba['MemberService']=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x4a9086,_0x1b487a){const _0x3a039e=_0x4478c1;super(),_0xa880cb(this,_0x3a039e(0x312),new Map()),(this[_0x3a039e(0x35b)]=_0x4a9086,this['_userManagerService']=_0x1b487a,this[_0x3a039e(0xe5)](_0x3c1a84[_0x3a039e(0xde)](_0x818dd8['merge'](this[_0x3a039e(0x35b)]['getTypeOfUnitDisposed$'](_0x3c1a84[_0x3a039e(0x2d9)][_0x3a039e(0x13a)])[_0x3a039e(0x4c4)](_0x58132b['map'](_0x4b53bd=>_0x4b53bd[_0x3a039e(0x2b5)]())),this['_univerInstanceService'][_0x3a039e(0x44b)](_0x3c1a84['UniverInstanceType'][_0x3a039e(0x3d0)])[_0x3a039e(0x4c4)](_0x58132b[_0x3a039e(0x20e)](_0x2d2183=>_0x2d2183[_0x3a039e(0x2b5)]())),this['_univerInstanceService'][_0x3a039e(0x44b)](_0x3c1a84['UniverInstanceType']['UNIVER_SLIDE'])[_0x3a039e(0x4c4)](_0x58132b[_0x3a039e(0x20e)](_0x4c5557=>_0x4c5557[_0x3a039e(0x2b5)]())))['subscribe'](_0x2e6f3a=>this['_removeRoom'](_0x2e6f3a)))));}[_0x4478c1(0x21d)](_0x59b2c9){const _0x3d7ad5=_0x4478c1;this[_0x3d7ad5(0x27d)][_0x3d7ad5(0x21d)](_0x59b2c9);}[_0x4478c1(0x339)](){const _0x39a940=_0x4478c1;return this[_0x39a940(0x27d)][_0x39a940(0x339)]();}[_0x4478c1(0x25f)](_0x1f6bc2,_0x1c3572){const _0x32f575=_0x4478c1;let _0xf31fe1=this['_roomMembers'][_0x32f575(0x115)](_0x1f6bc2);_0xf31fe1||(_0xf31fe1=new _0x5909ec(),this[_0x32f575(0x312)]['set'](_0x1f6bc2,_0xf31fe1)),_0xf31fe1[_0x32f575(0x25f)](_0x1c3572);}[_0x4478c1(0x11b)](_0x48fa40,_0x4c8477){const _0xe44b0d=_0x4478c1,_0x48be63=this[_0xe44b0d(0x312)][_0xe44b0d(0x115)](_0x48fa40);_0x48be63&&_0x48be63[_0xe44b0d(0x11b)](_0x4c8477);}[_0x4478c1(0x231)](_0x4f5a62){const _0x39019c=_0x4478c1;return this[_0x39019c(0x312)][_0x39019c(0x115)](_0x4f5a62);}[_0x4478c1(0x100)](_0x4f253f,_0x4b0efd){const _0x372c9b=_0x4478c1,_0x131b0a=this[_0x372c9b(0x312)][_0x372c9b(0x115)](_0x4f253f);if(_0x131b0a)return _0x131b0a[_0x372c9b(0x100)](_0x4b0efd);}[_0x4478c1(0x114)](_0x4696dc){const _0x3c7430=_0x4478c1,_0x3e9b9=this['_roomMembers'][_0x3c7430(0x115)](_0x4696dc);_0x3e9b9&&(_0x3e9b9[_0x3c7430(0x4e7)](),this[_0x3c7430(0x312)][_0x3c7430(0x354)](_0x4696dc));}[_0x4478c1(0x4e7)](){const _0x184c48=_0x4478c1;this[_0x184c48(0x312)][_0x184c48(0x3b6)](_0x14b852=>_0x14b852[_0x184c48(0x4e7)]()),this['_roomMembers'][_0x184c48(0x285)]();}},_0x1191ba[_0x4478c1(0x2a8)]=_0x13afab([_0x4f12b9(0x0,_0x3c1a84[_0x4478c1(0x3d5)]),_0x4f12b9(0x1,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0xc3)]))],_0x1191ba[_0x4478c1(0x2a8)]);class _0x5909ec extends _0x3c1a84['Disposable']{constructor(){const _0x16fc99=_0x4478c1;super(...arguments),_0xa880cb(this,_0x16fc99(0x232),new Map());}[_0x4478c1(0x4e7)](){const _0x13c109=_0x4478c1;this[_0x13c109(0x232)][_0x13c109(0x285)]();}[_0x4478c1(0x25f)](_0x525c2f){const _0x33e17c=_0x4478c1;this[_0x33e17c(0x232)]['set'](_0x525c2f[_0x33e17c(0x10d)],_0x525c2f);}[_0x4478c1(0x11b)](_0x16ab9d){const _0x435f11=_0x4478c1;this[_0x435f11(0x232)][_0x435f11(0x354)](_0x16ab9d);}[_0x4478c1(0x100)](_0x35cdb7){const _0x2a49a2=_0x4478c1;return this[_0x2a49a2(0x232)][_0x2a49a2(0x115)](_0x35cdb7);}[_0x4478c1(0x381)](){const _0x33c350=_0x4478c1;return Array[_0x33c350(0x301)](this[_0x33c350(0x232)][_0x33c350(0x37f)]());}}var _0x39530a=Object[_0x4478c1(0x19b)],_0x591076=Object[_0x4478c1(0x4d8)],_0x32f01d=(_0x1aa537,_0x45d874,_0xae4574,_0xbccf4d)=>{const _0x358b5c=_0x4478c1;for(var _0x3d5c56=_0xbccf4d>0x1?void 0x0:_0xbccf4d?_0x591076(_0x45d874,_0xae4574):_0x45d874,_0x1be9d2=_0x1aa537[_0x358b5c(0x315)]-0x1,_0x206cae;_0x1be9d2>=0x0;_0x1be9d2--)(_0x206cae=_0x1aa537[_0x1be9d2])&&(_0x3d5c56=(_0xbccf4d?_0x206cae(_0x45d874,_0xae4574,_0x3d5c56):_0x206cae(_0x3d5c56))||_0x3d5c56);return _0xbccf4d&&_0x3d5c56&&_0x39530a(_0x45d874,_0xae4574,_0x3d5c56),_0x3d5c56;},_0x11699a=(_0x516205,_0xba44e9)=>(_0x1f8b6a,_0x30e39f)=>_0xba44e9(_0x1f8b6a,_0x30e39f,_0x516205),_0x417df1=(_0x5214f9=>(_0x5214f9[_0x5214f9[_0x4478c1(0x32a)]=0x0]='IDLE',_0x5214f9[_0x5214f9['JOINING']=0x1]=_0x4478c1(0x496),_0x5214f9[_0x5214f9['OFFLINE']=0x2]=_0x4478c1(0x423),_0x5214f9[_0x5214f9[_0x4478c1(0x150)]=0x3]=_0x4478c1(0x150),_0x5214f9))(_0x417df1||{});_0x1191ba[_0x4478c1(0x37b)]=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x5486d4,_0x59942b,_0x353483,_0x3cb944,_0x1476fb,_0x3636a5,_0x38b810,_0x514c6e,_0x603a0f,_0x44cf1f){const _0x55b473=_0x4478c1;super(),_0xa880cb(this,_0x55b473(0x2fa),new _0x818dd8[(_0x55b473(0x122))](0x0)),_0xa880cb(this,_0x55b473(0x1ed),this['_sessionStatus$'][_0x55b473(0xca)]()),_0xa880cb(this,'_event$',new _0x818dd8[(_0x55b473(0x245))]()),_0xa880cb(this,'event$',this['_event$'][_0x55b473(0xca)]()),_0xa880cb(this,_0x55b473(0x36c)),_0xa880cb(this,_0x55b473(0x555)),_0xa880cb(this,_0x55b473(0x279)),_0xa880cb(this,_0x55b473(0x165),!0x1),_0xa880cb(this,_0x55b473(0x46f),null),(this[_0x55b473(0x350)]=_0x5486d4,this[_0x55b473(0x4c1)]=_0x353483,this[_0x55b473(0x41d)]=_0x3cb944,this[_0x55b473(0x183)]=_0x1476fb,this[_0x55b473(0x17a)]=_0x3636a5,this['_localeService']=_0x38b810,this[_0x55b473(0x51d)]=_0x514c6e,this[_0x55b473(0x187)]=_0x603a0f,this[_0x55b473(0x3ac)]=_0x44cf1f,this[_0x55b473(0x165)]=!!this[_0x55b473(0x3ac)],_0x59942b[_0x55b473(0x4c4)](_0x818dd8[_0x55b473(0x439)](this['dispose$']))['subscribe'](_0x1fceba=>{const _0x19076a=_0x55b473;var _0x3885fa;typeof _0x1fceba>'u'||(this[_0x19076a(0x36c)]=_0x1fceba,_0x1fceba?(this[_0x19076a(0x284)](_0x1fceba),this[_0x19076a(0x555)]=_0x1fceba[_0x19076a(0x505)][_0x19076a(0x3aa)](_0x5c155c=>{const _0x5e6ce6=_0x19076a;_0x5c155c[_0x5e6ce6(0x41f)]===this['_unitID']&&this[_0x5e6ce6(0x212)](_0x5c155c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x19076a(0x2fa)][_0x19076a(0xdb)](0x2),(_0x3885fa=this['_socketMessageSubscription'])==null||_0x3885fa[_0x19076a(0x4e1)](),this[_0x19076a(0x555)]=null));}),this[_0x55b473(0xe5)](this[_0x55b473(0x41d)][_0x55b473(0xb4)](()=>{const _0x45ba1f=_0x55b473;var _0x10c34a;(_0x10c34a=this[_0x45ba1f(0x36c)])==null||_0x10c34a['send']({'cmd':_0x33d34c[_0x45ba1f(0x3cb)],'data':{'roomID':this[_0x45ba1f(0x350)]}});})));}get[_0x4478c1(0x4a5)](){const _0x1130c3=_0x4478c1;return this[_0x1130c3(0x2fa)][_0x1130c3(0x4c5)]();}['getMemberID'](){const _0x8e53de=_0x4478c1;var _0x103090,_0x569a57;return(_0x569a57=(_0x103090=this[_0x8e53de(0x36c)])==null?void 0x0:_0x103090[_0x8e53de(0x10d)])!=null?_0x569a57:null;}[_0x4478c1(0x4e7)](){const _0xd81d81=_0x4478c1;super[_0xd81d81(0x4e7)](),this[_0xd81d81(0x23a)][_0xd81d81(0xdb)](),this[_0xd81d81(0x23a)][_0xd81d81(0x121)]();}[_0x4478c1(0x484)](){const _0x4aa365=_0x4478c1;var _0x2d47ac,_0x2b5705;this[_0x4aa365(0x254)](),(_0x2d47ac=this[_0x4aa365(0x36c)])==null||_0x2d47ac[_0x4aa365(0x51b)]({'cmd':_0x33d34c[_0x4aa365(0x3cb)],'data':{'roomID':this[_0x4aa365(0x350)]}}),(_0x2b5705=this[_0x4aa365(0x36c)])==null||_0x2b5705[_0x4aa365(0x484)](),this[_0x4aa365(0x162)][_0x4aa365(0x121)](),this[_0x4aa365(0x2fa)][_0x4aa365(0x121)](),this[_0x4aa365(0x4e7)]();}[_0x4478c1(0x212)](_0x2e75ff){const _0x2dca2a=_0x4478c1;_0x2e75ff[_0x2dca2a(0x4ff)]===_0x33d34c[_0x2dca2a(0xd3)]?this[_0x2dca2a(0x21e)](_0x2e75ff):_0x2e75ff['cmd']===_0x33d34c['RECV']&&this['_onRecvEvent'](_0x2e75ff);}['_joinRoom'](_0x43ebf8){const _0x499b43=_0x4478c1;this[_0x499b43(0x2fa)][_0x499b43(0xdb)](0x1),_0x43ebf8[_0x499b43(0x51b)]({'cmd':_0x33d34c[_0x499b43(0xd3)],'routeKey':this[_0x499b43(0x350)],'routeType':'','data':{'rooms':[{'roomID':this[_0x499b43(0x350)]}]}});}['_onJoinRoomEvent'](_0x382801){const _0x149cad=_0x4478c1;var _0x541fe3;if(_0x382801[_0x149cad(0xe4)]===_0x40c1a3[_0x149cad(0x4e6)]){this[_0x149cad(0x183)][_0x149cad(0x26f)]({'type':_0x39c661[_0x149cad(0x1fe)]['Warning'],'content':this[_0x149cad(0x343)]['t']('session.room-full')}),this['_sessionStatus$'][_0x149cad(0xdb)](0x2);return;}this[_0x149cad(0x2fa)][_0x149cad(0xdb)](0x3);const _0x186573=(_0x541fe3=_0x382801[_0x149cad(0x2d6)]['roomInfos'][this[_0x149cad(0x350)]])==null?void 0x0:_0x541fe3[_0x149cad(0x47f)];_0x186573&&_0x186573[_0x149cad(0x3b6)](_0x5b6c4a=>this[_0x149cad(0x51d)][_0x149cad(0x25f)](this[_0x149cad(0x350)],_0x5b6c4a));}[_0x4478c1(0x22b)](_0x5353f1){const _0xf9c36b=_0x4478c1;try{const _0x4ea4d6=_0x5353f1[_0xf9c36b(0x2d6)];switch(_0x4ea4d6['eventID']){case _0xa820f[_0xf9c36b(0x12d)][_0xf9c36b(0x1a1)]:this['_onUserJoin'](_0x4ea4d6),this[_0xf9c36b(0x162)]['next'](_0x4ea4d6);break;case _0xa820f[_0xf9c36b(0x12d)]['USERS_LEAVE']:this[_0xf9c36b(0x149)](_0x4ea4d6),this[_0xf9c36b(0x162)][_0xf9c36b(0xdb)](_0x4ea4d6);break;case _0xa820f[_0xf9c36b(0x12d)][_0xf9c36b(0x4fc)]:case _0xa820f[_0xf9c36b(0x12d)][_0xf9c36b(0x1f2)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0xf9c36b(0x318)](),this[_0xf9c36b(0x162)][_0xf9c36b(0xdb)](_0x4ea4d6);break;case _0xa820f['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService'][_0xf9c36b(0x17c)](_0xf9c36b(0x1d7)+JSON[_0xf9c36b(0x571)](_0x4ea4d6)),this[_0xf9c36b(0x162)][_0xf9c36b(0xdb)](_0x4ea4d6);break;case _0xa820f[_0xf9c36b(0x12d)][_0xf9c36b(0x2ee)]:this[_0xf9c36b(0x187)]['onCommentUpdate'](_0x4ea4d6[_0xf9c36b(0x2d6)]),this['_event$']['next'](_0x4ea4d6);break;default:this[_0xf9c36b(0x162)][_0xf9c36b(0xdb)](_0x4ea4d6);}}catch(_0x38b72d){this[_0xf9c36b(0x4c1)]['error'](_0x38b72d,_0x5353f1);}}[_0x4478c1(0x31c)](_0x3ba2d1){const _0x5961a3=_0x4478c1;this['_memberService']['updateMember'](this[_0x5961a3(0x350)],_0x3ba2d1['data']);}[_0x4478c1(0x149)](_0x18b13a){const _0x1ce0f0=_0x4478c1;this[_0x1ce0f0(0x51d)][_0x1ce0f0(0x11b)](this[_0x1ce0f0(0x350)],_0x18b13a[_0x1ce0f0(0x2d6)][_0x1ce0f0(0x10d)]);}async[_0x4478c1(0x51b)](_0x317c4e,_0x3fff03){const _0x5d9ca4=_0x4478c1;if(this[_0x5d9ca4(0x4a5)]!==0x3||!this[_0x5d9ca4(0x36c)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x317c4e[_0x5d9ca4(0x204)]===_0xa820f[_0x5d9ca4(0x12d)][_0x5d9ca4(0x3a5)]&&(this[_0x5d9ca4(0x23b)](),this[_0x5d9ca4(0x31b)](_0x317c4e)),this[_0x5d9ca4(0x36c)][_0x5d9ca4(0x51b)]({'cmd':_0x33d34c[_0x5d9ca4(0x3be)],'routeKey':_0x3fff03,'routeType':'','data':_0x317c4e});}catch(_0x5f2220){this[_0x5d9ca4(0x4c1)]['error'](_0x5f2220);}}[_0x4478c1(0x23b)](){const _0x24724d=_0x4478c1;var _0x233407;this[_0x24724d(0x279)]=window[_0x24724d(0x283)](()=>{const _0x2f3ee3=_0x24724d;this[_0x2f3ee3(0x279)]=null,this[_0x2f3ee3(0x183)][_0x2f3ee3(0x26f)]({'type':_0x39c661['MessageType']['Error'],'content':this[_0x2f3ee3(0x343)]['t'](_0x2f3ee3(0x452))});},(_0x233407=this[_0x24724d(0x17a)][_0x24724d(0x1d4)](_0x17f79b))!=null?_0x233407:0x4e20);}[_0x4478c1(0x318)](){const _0xc22037=_0x4478c1;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0xc22037(0x279)]),this[_0xc22037(0x279)]=null);}[_0x4478c1(0x31b)](_0xd5ceff){if(!this['_shouldReportTelemetry'])return;const {data:_0x169e00}=_0xd5ceff,{unitID:_0x11b024,changeset:_0x3ca0c5}=_0x169e00,{mutations:_0x3191ed,type:_0x458c99}=_0x3ca0c5;this['_telemetryInfo']={'unitId':_0x11b024,'type':_0x458c99,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x52aa6a(_0x3191ed)};}[_0x4478c1(0x10c)](){const _0x2b1ea9=_0x4478c1;if(this[_0x2b1ea9(0x165)]){if(!this[_0x2b1ea9(0x46f)]){this[_0x2b1ea9(0x4c1)][_0x2b1ea9(0x17c)](_0x2b1ea9(0x15d),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2b1ea9(0x46f)]['stopTime']=performance[_0x2b1ea9(0x380)](),this[_0x2b1ea9(0x46f)][_0x2b1ea9(0x47d)]=this[_0x2b1ea9(0x46f)]['stopTime']-this[_0x2b1ea9(0x46f)][_0x2b1ea9(0x405)],this[_0x2b1ea9(0x3ac)][_0x2b1ea9(0x54e)](_0xc53c95,this[_0x2b1ea9(0x46f)]),this[_0x2b1ea9(0x46f)]=null;}}[_0x4478c1(0x254)](){const _0x1d2a98=_0x4478c1;this[_0x1d2a98(0x46f)]=null;}},_0x1191ba[_0x4478c1(0x37b)]=_0x32f01d([_0x11699a(0x2,_0x3c1a84[_0x4478c1(0x4b9)]),_0x11699a(0x3,_0xa35fb[_0x4478c1(0x2ba)]),_0x11699a(0x4,_0xa35fb[_0x4478c1(0x12e)]),_0x11699a(0x5,_0x3c1a84[_0x4478c1(0x56b)]),_0x11699a(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x11699a(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2a8)])),_0x11699a(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0x5cca12)),_0x11699a(0x9,_0x3c1a84['Optional'](_0x5acc4a[_0x4478c1(0x487)]))],_0x1191ba['CollaborationSession']);var _0xc43ce8=Object['defineProperty'],_0xec681c=Object[_0x4478c1(0x4d8)],_0x459bd9=(_0x12a057,_0x5a719c,_0x3c8c09,_0x20d01f)=>{for(var _0xca866c=_0x20d01f>0x1?void 0x0:_0x20d01f?_0xec681c(_0x5a719c,_0x3c8c09):_0x5a719c,_0x3017a9=_0x12a057['length']-0x1,_0x950f92;_0x3017a9>=0x0;_0x3017a9--)(_0x950f92=_0x12a057[_0x3017a9])&&(_0xca866c=(_0x20d01f?_0x950f92(_0x5a719c,_0x3c8c09,_0xca866c):_0x950f92(_0xca866c))||_0xca866c);return _0x20d01f&&_0xca866c&&_0xc43ce8(_0x5a719c,_0x3c8c09,_0xca866c),_0xca866c;},_0x58593d=(_0x5e824d,_0x5ac092)=>(_0x30fd6e,_0x9c601c)=>_0x5ac092(_0x30fd6e,_0x9c601c,_0x5e824d);_0x1191ba[_0x4478c1(0x2b7)]=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x5f2012,_0x35a0aa,_0x343170,_0x1e9952,_0x257caa,_0x22be56,_0x38eeb8){const _0x137c84=_0x4478c1;super(),_0xa880cb(this,_0x137c84(0x383),new _0x818dd8[(_0x137c84(0x122))](void 0x0)),_0xa880cb(this,'socket$',this[_0x137c84(0x383)][_0x137c84(0xca)]()),_0xa880cb(this,'_candidateSocket',null),_0xa880cb(this,_0x137c84(0x434),new Map()),_0xa880cb(this,'_status$',new _0x818dd8['BehaviorSubject'](_0x417df1[_0x137c84(0x32a)])),_0xa880cb(this,_0x137c84(0x34d),this[_0x137c84(0x425)][_0x137c84(0xca)]()),_0xa880cb(this,_0x137c84(0x549),!0x1),_0xa880cb(this,_0x137c84(0x501)),_0xa880cb(this,_0x137c84(0x55f),0x0),_0xa880cb(this,'_sendHeartbeatTimer'),_0xa880cb(this,_0x137c84(0x552)),(this[_0x137c84(0x391)]=_0x5f2012,this[_0x137c84(0x343)]=_0x35a0aa,this[_0x137c84(0x183)]=_0x343170,this['_logService']=_0x1e9952,this[_0x137c84(0x17a)]=_0x257caa,this[_0x137c84(0x1f7)]=_0x22be56,this[_0x137c84(0x255)]=_0x38eeb8,this[_0x137c84(0x35d)]());}get[_0x4478c1(0x36c)](){const _0x2c9868=_0x4478c1;return this[_0x2c9868(0x383)][_0x2c9868(0x4c5)]();}[_0x4478c1(0x35d)](){const _0x116979=_0x4478c1;this[_0x116979(0x132)](),this[_0x116979(0x1c4)]();}[_0x4478c1(0x4e7)](){const _0x7287ee=_0x4478c1;super[_0x7287ee(0x4e7)](),this['_sessions']['forEach'](_0x2bc727=>_0x2bc727[_0x7287ee(0x4e7)]()),this[_0x7287ee(0x434)][_0x7287ee(0x285)](),this[_0x7287ee(0x425)][_0x7287ee(0x121)]();}async['requireSession'](_0x58aa24){const _0x24d671=_0x4478c1;if(this[_0x24d671(0x434)][_0x24d671(0x431)](_0x58aa24))return this[_0x24d671(0x434)][_0x24d671(0x115)](_0x58aa24);this[_0x24d671(0xbd)]();const _0x19a917=this[_0x24d671(0x391)][_0x24d671(0x47c)](_0x1191ba[_0x24d671(0x37b)],_0x58aa24,this[_0x24d671(0x383)][_0x24d671(0xca)]());return this['_sessions'][_0x24d671(0x53e)](_0x58aa24,_0x19a917),_0x19a917;}['closeSession'](_0x468191){const _0x43d82b=_0x4478c1;var _0xbb639b;const _0x370a83=this['_sessions'][_0x43d82b(0x115)](_0x468191);_0x370a83&&(this[_0x43d82b(0x434)][_0x43d82b(0x354)](_0x468191),_0x370a83[_0x43d82b(0x484)]()),this[_0x43d82b(0x434)]['size']||(_0xbb639b=this[_0x43d82b(0x36c)])==null||_0xbb639b[_0x43d82b(0x484)]();}[_0x4478c1(0x430)](){const _0x49964d=_0x4478c1;this['_retryCount']=0x0,this[_0x49964d(0x501)]!=null&&(clearTimeout(this[_0x49964d(0x501)]),this[_0x49964d(0x501)]=null),this[_0x49964d(0x227)]();}async[_0x4478c1(0x36b)](){const _0x305819=_0x4478c1;var _0x25f73b,_0x593d72,_0x516809;const _0x399d2c=this[_0x305819(0x17a)][_0x305819(0x1d4)](_0x52a52c),_0x382ce0=(_0x25f73b=_0x399d2c==null?void 0x0:_0x399d2c['wsSessionTicketUrl'])!=null?_0x25f73b:_0x36d2fc;return(_0x516809=(_0x593d72=(await this[_0x305819(0x255)][_0x305819(0x115)](_0x382ce0,{'headers':{'Content-Type':'application/json'}}))[_0x305819(0x126)])==null?void 0x0:_0x593d72[_0x305819(0x1ec)])!=null?_0x516809:'';}[_0x4478c1(0x334)](_0x580d10){const _0x4fe394=_0x4478c1;var _0x2c4a42,_0x22eda5;const _0x49a56c=this['_configService'][_0x4fe394(0x1d4)](_0x5710a6),_0x241608=this[_0x4fe394(0x17a)]['getConfig'](_0x52a52c),_0x470bf8=(_0x22eda5=(_0x2c4a42=_0x241608==null?void 0x0:_0x241608['collabWebSocketUrl'])!=null?_0x2c4a42:_0x49a56c)!=null?_0x22eda5:_0x10deff,_0x929f4a=new URL(_0x470bf8,window[_0x4fe394(0x55e)][_0x4fe394(0x532)]);return _0x929f4a['searchParams'][_0x4fe394(0x53e)]('sessionTicket',_0x580d10),_0x929f4a[_0x4fe394(0x397)]();}async[_0x4478c1(0x11d)](){const _0x134ad9=_0x4478c1,_0x3e6030=await this[_0x134ad9(0x36b)](),_0x3550df=this['_createSocketURL'](_0x3e6030),_0x2868e1=this[_0x134ad9(0x1f7)][_0x134ad9(0xf6)](_0x3550df);return this[_0x134ad9(0x44f)]=_0x2868e1,_0x2868e1;}async[_0x4478c1(0xbd)](){const _0x4e6fc2=_0x4478c1;var _0x18a832,_0x2d5c43;try{const _0x43ffec=(_0x2d5c43=(_0x18a832=this[_0x4e6fc2(0x36c)])!=null?_0x18a832:this[_0x4e6fc2(0x44f)])!=null?_0x2d5c43:await this[_0x4e6fc2(0x11d)]();if(_0x43ffec){const _0x4baa73=_0x43ffec['send'];_0x43ffec[_0x4e6fc2(0x51b)]=_0x381b2b=>(this[_0x4e6fc2(0x235)](),_0x4baa73[_0x4e6fc2(0x52c)](_0x43ffec,[_0x381b2b])),_0x43ffec[_0x4e6fc2(0x505)]['subscribe'](_0x25953f=>this[_0x4e6fc2(0x50b)](_0x43ffec,_0x25953f)),_0x43ffec['error$'][_0x4e6fc2(0x4c4)](_0x58132b[_0x4e6fc2(0x135)](0x1))[_0x4e6fc2(0x3aa)](_0x5a1b96=>this['_logService']['error'](_0x4e6fc2(0x37e),_0x5a1b96)),_0x43ffec[_0x4e6fc2(0x4b8)][_0x4e6fc2(0x4c4)](_0x58132b['take'](0x1))[_0x4e6fc2(0x3aa)](()=>{const _0x5028df=_0x4e6fc2;this[_0x5028df(0x124)](_0x43ffec);}),_0x43ffec['close$'][_0x4e6fc2(0x4c4)](_0x58132b[_0x4e6fc2(0x135)](0x1))[_0x4e6fc2(0x3aa)](_0x3765fe=>{const _0x46829b=_0x4e6fc2;this['_logService'][_0x46829b(0x1d9)](_0x46829b(0x4c0),_0x46829b(0x10e),_0x3765fe),this[_0x46829b(0x1b2)]();});}}catch(_0x590aa0){this['_logService'][_0x4e6fc2(0x17c)](_0x590aa0),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x1da90f){const _0x37b019=_0x4478c1;this[_0x37b019(0x4c1)][_0x37b019(0x1d9)](_0x37b019(0x4c0),_0x37b019(0x20c)),_0x1da90f['send']({'cmd':_0x33d34c[_0x37b019(0x136)]}),this['_rescheduleHeartbeat']();}[_0x4478c1(0x132)](){const _0x55c40b=_0x4478c1;window[_0x55c40b(0x51e)](_0x55c40b(0x42b),()=>this[_0x55c40b(0x542)]());}[_0x4478c1(0x542)](){const _0x4f6019=_0x4478c1;this[_0x4f6019(0x549)]=!0x1,this[_0x4f6019(0x44f)]=null,this[_0x4f6019(0x425)]['next'](_0x417df1[_0x4f6019(0x423)]),this[_0x4f6019(0x383)]['next'](null),this[_0x4f6019(0x4dc)](),this[_0x4f6019(0x102)]();}[_0x4478c1(0x1b2)](){const _0x34454a=_0x4478c1;var _0x44fb23;this[_0x34454a(0x542)](),this['_retryCount']<((_0x44fb23=this[_0x34454a(0x17a)][_0x34454a(0x1d4)](_0x33c86c))!=null?_0x44fb23:0x3)?(this[_0x34454a(0x183)][_0x34454a(0x26f)]({'key':_0x34454a(0x467),'type':_0x39c661[_0x34454a(0x1fe)][_0x34454a(0x4b0)],'content':this['_localeService']['t'](_0x34454a(0xd5))}),this[_0x34454a(0x227)]()):this[_0x34454a(0x183)][_0x34454a(0x26f)]({'key':_0x34454a(0x467),'type':_0x39c661[_0x34454a(0x1fe)][_0x34454a(0x22f)],'content':this['_localeService']['t'](_0x34454a(0x574))});}['_listenToOnlineEvent'](){const _0x39a6b3=_0x4478c1,_0x4a564a=()=>{const _0x43da2d=_0x406b;this[_0x43da2d(0x36c)]||this[_0x43da2d(0x430)]();},_0x253187=()=>{const _0x2f5ed8=_0x406b;this[_0x2f5ed8(0x36c)]||document[_0x2f5ed8(0x1c5)]===_0x2f5ed8(0x56d)||this['reconnect']();};window[_0x39a6b3(0x51e)](_0x39a6b3(0x414),_0x4a564a),document[_0x39a6b3(0x51e)](_0x39a6b3(0x275),_0x253187);}[_0x4478c1(0x227)](){const _0x2ce1a7=_0x4478c1;var _0x35de28;const _0x5783f4=this[_0x2ce1a7(0x55f)],_0x666d87=this['_configService']['getConfig'](_0x52a52c),_0x44c308=_0x5783f4===0x0?0x0:((_0x35de28=_0x666d87==null?void 0x0:_0x666d87['retryConnectingInterval'])!=null?_0x35de28:0x4e20)*0x2**_0x5783f4;this[_0x2ce1a7(0x501)]=window[_0x2ce1a7(0x283)](()=>{const _0x2cf5fd=_0x2ce1a7;clearTimeout(this['_retryConnectingTimer']),this[_0x2cf5fd(0x501)]=null,this[_0x2cf5fd(0xbd)]();},_0x44c308),this[_0x2ce1a7(0x55f)]+=0x1;}[_0x4478c1(0x50b)](_0x55be74,_0x1d16dd){const _0x3dbc23=_0x4478c1,{cmd:_0x18d388}=_0x1d16dd;_0x18d388===_0x33d34c[_0x3dbc23(0x136)]&&!this[_0x3dbc23(0x549)]&&(_0x55be74[_0x3dbc23(0x10d)]=_0x1d16dd[_0x3dbc23(0x2d6)][_0x3dbc23(0x10d)],this[_0x3dbc23(0x383)][_0x3dbc23(0xdb)](_0x55be74),this[_0x3dbc23(0x425)][_0x3dbc23(0xdb)](_0x417df1[_0x3dbc23(0x150)]),this['_socketReady']=!0x0,this[_0x3dbc23(0x44f)]=null),_0x18d388===_0x33d34c[_0x3dbc23(0x2b8)]&&this[_0x3dbc23(0x4dc)](),this[_0x3dbc23(0x235)]();}['_rescheduleHeartbeat'](){const _0x5c5b8c=_0x4478c1;var _0x43949d;this[_0x5c5b8c(0x102)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this[_0x5c5b8c(0x176)](),(_0x43949d=this[_0x5c5b8c(0x17a)][_0x5c5b8c(0x1d4)](_0x475bfc))!=null?_0x43949d:0x7530);}[_0x4478c1(0x176)](){const _0x298b89=_0x4478c1;this[_0x298b89(0x36c)][_0x298b89(0x51b)]({'cmd':_0x33d34c[_0x298b89(0x2b8)]}),this[_0x298b89(0xb5)]();}[_0x4478c1(0xb5)](){const _0x510253=_0x4478c1;var _0x5503b3;this['_timeoutTimer']=window[_0x510253(0x283)](()=>this[_0x510253(0x1b2)](),(_0x5503b3=this[_0x510253(0x17a)][_0x510253(0x1d4)](_0x17f79b))!=null?_0x5503b3:0x4e20);}[_0x4478c1(0x102)](){const _0x5e1973=_0x4478c1;this[_0x5e1973(0x2d4)]!=null&&(clearTimeout(this[_0x5e1973(0x2d4)]),this[_0x5e1973(0x2d4)]=null);}[_0x4478c1(0x4dc)](){const _0x194a91=_0x4478c1;this[_0x194a91(0x552)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x194a91(0x552)]=null);}},_0x1191ba[_0x4478c1(0x2b7)]=_0x459bd9([_0x58593d(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['Injector'])),_0x58593d(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x58593d(0x2,_0xa35fb[_0x4478c1(0x12e)]),_0x58593d(0x3,_0x3c1a84[_0x4478c1(0x4b9)]),_0x58593d(0x4,_0x3c1a84[_0x4478c1(0x56b)]),_0x58593d(0x5,_0x1ba3ea),_0x58593d(0x6,_0x3c1a84['Inject'](_0x30a9e9[_0x4478c1(0x2d2)]))],_0x1191ba[_0x4478c1(0x2b7)]);const _0x405018=[];for(let _0x5467ad=0x0;_0x5467ad<0x100;++_0x5467ad)_0x405018[_0x4478c1(0x41b)]((_0x5467ad+0x100)[_0x4478c1(0x397)](0x10)[_0x4478c1(0x29e)](0x1));function _0x39de37(_0xf27150,_0xb3561a=0x0){const _0x3f4e62=_0x4478c1;return(_0x405018[_0xf27150[_0xb3561a+0x0]]+_0x405018[_0xf27150[_0xb3561a+0x1]]+_0x405018[_0xf27150[_0xb3561a+0x2]]+_0x405018[_0xf27150[_0xb3561a+0x3]]+'-'+_0x405018[_0xf27150[_0xb3561a+0x4]]+_0x405018[_0xf27150[_0xb3561a+0x5]]+'-'+_0x405018[_0xf27150[_0xb3561a+0x6]]+_0x405018[_0xf27150[_0xb3561a+0x7]]+'-'+_0x405018[_0xf27150[_0xb3561a+0x8]]+_0x405018[_0xf27150[_0xb3561a+0x9]]+'-'+_0x405018[_0xf27150[_0xb3561a+0xa]]+_0x405018[_0xf27150[_0xb3561a+0xb]]+_0x405018[_0xf27150[_0xb3561a+0xc]]+_0x405018[_0xf27150[_0xb3561a+0xd]]+_0x405018[_0xf27150[_0xb3561a+0xe]]+_0x405018[_0xf27150[_0xb3561a+0xf]])[_0x3f4e62(0x433)]();}let _0x18a943;const _0x2b370e=new Uint8Array(0x10);function _0x244362(){const _0xa428a4=_0x4478c1;if(!_0x18a943){if(typeof crypto>'u'||!crypto[_0xa428a4(0xf4)])throw new Error(_0xa428a4(0x160));_0x18a943=crypto[_0xa428a4(0xf4)]['bind'](crypto);}return _0x18a943(_0x2b370e);}const _0x375d3f={'randomUUID':typeof crypto<'u'&&crypto[_0x4478c1(0x353)]&&crypto[_0x4478c1(0x353)]['bind'](crypto)};function _0x1ad90a(_0x4a40b5,_0x576a5b,_0x2a8aa4){const _0x47b46b=_0x4478c1;if(_0x375d3f['randomUUID']&&!_0x576a5b&&!_0x4a40b5)return _0x375d3f[_0x47b46b(0x353)]();_0x4a40b5=_0x4a40b5||{};const _0x3a5938=_0x4a40b5[_0x47b46b(0x144)]||(_0x4a40b5[_0x47b46b(0x1c3)]||_0x244362)();return _0x3a5938[0x6]=_0x3a5938[0x6]&0xf|0x40,_0x3a5938[0x8]=_0x3a5938[0x8]&0x3f|0x80,_0x39de37(_0x3a5938);}var _0x5c42e9=Object[_0x4478c1(0x19b)],_0x34ef4c=Object['getOwnPropertyDescriptor'],_0x138258=(_0x12ae7d,_0x6e6f3e,_0x47f930,_0x13dd77)=>{for(var _0x4b6a08=_0x13dd77>0x1?void 0x0:_0x13dd77?_0x34ef4c(_0x6e6f3e,_0x47f930):_0x6e6f3e,_0x2c6314=_0x12ae7d['length']-0x1,_0xb492a9;_0x2c6314>=0x0;_0x2c6314--)(_0xb492a9=_0x12ae7d[_0x2c6314])&&(_0x4b6a08=(_0x13dd77?_0xb492a9(_0x6e6f3e,_0x47f930,_0x4b6a08):_0xb492a9(_0x4b6a08))||_0x4b6a08);return _0x13dd77&&_0x4b6a08&&_0x5c42e9(_0x6e6f3e,_0x47f930,_0x4b6a08),_0x4b6a08;},_0x45b372=(_0x38f239,_0x2430e0)=>(_0x3e5039,_0x306a19)=>_0x2430e0(_0x3e5039,_0x306a19,_0x38f239);let _0xdec374=class{constructor(_0x34f4a9,_0x58c70c,_0x332eb0){const _0x374187=_0x4478c1;this['_injector']=_0x34f4a9,this[_0x374187(0x56c)]=_0x58c70c,this[_0x374187(0x180)]=_0x332eb0;}[_0x4478c1(0x2b1)](_0x2d9471){const _0x1a0373=_0x4478c1;this[_0x1a0373(0x2bf)](_0x2d9471),this[_0x1a0373(0x253)](_0x2d9471);}[_0x4478c1(0x566)](_0x3216e0){const _0x485cb8=_0x4478c1,{unitID:_0x16631f}=_0x3216e0,_0x3f97cb=this[_0x485cb8(0x180)][_0x485cb8(0x269)](_0x16631f)[_0x485cb8(0x3b5)](_0x488d74[_0x485cb8(0x3c3)]),{redoCache:_0x53f315}=_0x3f97cb[_0x485cb8(0x281)]();if(_0x53f315[_0x485cb8(0x315)]===0x0)return _0x3216e0;let _0x5ac15d=_0x3c1a84[_0x485cb8(0x442)][_0x485cb8(0x24a)](_0x3216e0['mutations'][0x0]);for(let _0x54d377=0x0;_0x54d377<_0x53f315[_0x485cb8(0x315)];_0x54d377++){const _0x8e0419={'id':_0x485cb8(0x44a),'params':{..._0x53f315[_0x54d377]}},_0x2e06a8=this['_transformService'][_0x485cb8(0x3f6)](_0x5ac15d,_0x8e0419,!0x1);if(_0xa820f[_0x485cb8(0xd0)](_0x2e06a8))throw _0x2e06a8[_0x485cb8(0x17c)];_0x5ac15d=_0x2e06a8[_0x485cb8(0x450)];}return{..._0x3c1a84[_0x485cb8(0x442)][_0x485cb8(0x24a)](_0x3216e0),'mutations':[_0x5ac15d]};}[_0x4478c1(0x2bf)](_0x3dd028){const _0x45ac43=_0x4478c1,{unitID:_0x10c054}=_0x3dd028,_0x15648e=this[_0x45ac43(0x180)][_0x45ac43(0x269)](_0x10c054)[_0x45ac43(0x3b5)](_0x488d74['DocIMEInputManagerService']),{undoCache:_0x1de10e,redoCache:_0x11c5d4}=_0x15648e['getUndoRedoMutationParamsCache']();if(_0x1de10e['length']===0x0||_0x11c5d4['length']===0x0)return;const _0x15b191=[],_0x139914=[];let _0x39a050=_0x3c1a84['Tools']['deepClone'](_0x3dd028[_0x45ac43(0x213)][0x0]),_0x1db10c=_0x3c1a84[_0x45ac43(0x442)][_0x45ac43(0x24a)](_0x3dd028[_0x45ac43(0x213)][0x0]);for(let _0xd13fb0=_0x1de10e[_0x45ac43(0x315)]-0x1;_0xd13fb0>=0x0;_0xd13fb0--){const _0x5c22c4={'id':_0x45ac43(0x44a),'params':{..._0x1de10e[_0xd13fb0]}},_0xf7865f={'id':_0x45ac43(0x44a),'params':{..._0x11c5d4[_0xd13fb0]}},_0x50aebd=this['_transformService'][_0x45ac43(0x3f6)](_0x39a050,_0x5c22c4,!0x1),_0x362422=this[_0x45ac43(0x56c)][_0x45ac43(0x3f6)](_0x1db10c,_0xf7865f,!0x1);if(_0xa820f[_0x45ac43(0xd0)](_0x50aebd))throw _0x50aebd[_0x45ac43(0x17c)];if(_0xa820f[_0x45ac43(0xd0)](_0x362422))throw _0x362422[_0x45ac43(0x17c)];_0x15b191[_0x45ac43(0x401)](_0x50aebd[_0x45ac43(0x1cb)][_0x45ac43(0x1a8)]),_0x139914['unshift'](_0x362422[_0x45ac43(0x1cb)]['params']),_0x39a050=_0x50aebd['m1Prime'],_0x1db10c=_0x362422['m1Prime'];}_0x15648e[_0x45ac43(0x41e)]({'undoCache':_0x15b191,'redoCache':_0x139914});}[_0x4478c1(0x253)](_0x5931f4){const _0x2daf63=_0x4478c1,{unitID:_0x6701dd}=_0x5931f4,_0x14b55d=this[_0x2daf63(0x180)]['getRenderById'](_0x6701dd)['with'](_0x488d74[_0x2daf63(0x3c3)]),_0x49ebf4=_0x14b55d['getActiveRange']();if(_0x49ebf4==null)return;const _0x27c406=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5931f4['unitID'],'actions':null,'textRanges':[_0x49ebf4]}}],_0x27aaa8=this[_0x2daf63(0x56c)][_0x2daf63(0x3d2)](_0x5931f4,_0x27c406);if(!_0xa820f['isTransformMutationsWithChangesetSuccess'](_0x27aaa8))throw _0x27aaa8['error'];const _0x1d6368=_0x27aaa8[_0x2daf63(0x1cb)][0x0][_0x2daf63(0x1a8)][_0x2daf63(0x3dd)];Array['isArray'](_0x1d6368)&&_0x1d6368[_0x2daf63(0x315)]&&_0x14b55d['setActiveRange'](_0x1d6368[0x0]);}};_0xdec374=_0x138258([_0x45b372(0x0,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x45b372(0x1,_0xa820f[_0x4478c1(0x46b)]),_0x45b372(0x2,_0x591f66['IRenderManagerService'])],_0xdec374);var _0x17b737=Object[_0x4478c1(0x19b)],_0xcb99e9=Object[_0x4478c1(0x4d8)],_0xe7a7c1=(_0xeeeab4,_0x2312c4,_0x149665,_0x5f704)=>{const _0x394196=_0x4478c1;for(var _0x13f77e=_0x5f704>0x1?void 0x0:_0x5f704?_0xcb99e9(_0x2312c4,_0x149665):_0x2312c4,_0x1c7881=_0xeeeab4[_0x394196(0x315)]-0x1,_0x4a23a6;_0x1c7881>=0x0;_0x1c7881--)(_0x4a23a6=_0xeeeab4[_0x1c7881])&&(_0x13f77e=(_0x5f704?_0x4a23a6(_0x2312c4,_0x149665,_0x13f77e):_0x4a23a6(_0x13f77e))||_0x13f77e);return _0x5f704&&_0x13f77e&&_0x17b737(_0x2312c4,_0x149665,_0x13f77e),_0x13f77e;},_0x262130=(_0x47f24b,_0x4db5cb)=>(_0x2a2ca8,_0x25f9c2)=>_0x4db5cb(_0x2a2ca8,_0x25f9c2,_0x47f24b);_0x1191ba[_0x4478c1(0x1cd)]=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x178d34,_0x4e3f1c,_0x1d5747,_0x491458,_0x445be4){const _0x36d07a=_0x4478c1;super(),_0xa880cb(this,_0x36d07a(0x161),new Map()),_0xa880cb(this,_0x36d07a(0x502),new Map()),_0xa880cb(this,_0x36d07a(0x193),!0x1),(this[_0x36d07a(0x17a)]=_0x178d34,this[_0x36d07a(0x4ee)]=_0x4e3f1c,this[_0x36d07a(0x41d)]=_0x1d5747,this[_0x36d07a(0x343)]=_0x491458,this[_0x36d07a(0x403)]=_0x445be4,this[_0x36d07a(0x174)]());}[_0x4478c1(0x10f)](){const _0x4280e4=_0x4478c1;this[_0x4280e4(0x193)]=!0x0;}[_0x4478c1(0x273)](){const _0x24eb96=_0x4478c1;this[_0x24eb96(0x193)]=!0x1;}['dispose'](){const _0x511caa=_0x4478c1;this[_0x511caa(0x304)]()[_0x511caa(0x322)](()=>super[_0x511caa(0x4e7)]());}async[_0x4478c1(0xb0)](_0x1abc7b){const _0x208783=_0x4478c1;return this[_0x208783(0x193)]?null:this[_0x208783(0x4ee)][_0x208783(0x2b3)](_0x210e55(_0x1abc7b));}async[_0x4478c1(0x224)](_0x41eeb0,_0x1605c0){const _0xd579d0=_0x4478c1;return!!this[_0xd579d0(0x4ee)][_0xd579d0(0x4e5)](_0x41eeb0,_0x1605c0);}['updateOfflineData'](_0x413db9,_0x116894,_0x5930a6,_0x330982){const _0xbf348f=_0x4478c1,_0x5d9fbd=this[_0xbf348f(0x403)][_0xbf348f(0x385)](_0x413db9);this['_cachedData']['set'](_0x413db9,{'unitID':_0x413db9,'type':_0x116894,'awaitingChangeset':_0x5930a6,'mutations':_0x330982,'rev':_0x5d9fbd}),this[_0xbf348f(0x502)]['has'](_0x413db9)||this[_0xbf348f(0x170)](_0x413db9);}[_0x4478c1(0x170)](_0xb5a5a5){const _0x3f0d60=_0x4478c1,_0x390e4e=this[_0x3f0d60(0x13e)]();_0x390e4e===0x0?this[_0x3f0d60(0x455)](_0xb5a5a5):this['_saveTaskMap'][_0x3f0d60(0x53e)](_0xb5a5a5,setTimeout(()=>this[_0x3f0d60(0x455)](_0xb5a5a5),_0x390e4e));}[_0x4478c1(0x13e)](){const _0x4e80b4=_0x4478c1;var _0xa42217;return(_0xa42217=this[_0x4e80b4(0x17a)]['getConfig'](_0x4c0f82))!=null?_0xa42217:0x3e8;}['_saveCache'](_0x57ab4d){const _0x4cc4e0=_0x4478c1,_0x3cc376=this[_0x4cc4e0(0x502)]['get'](_0x57ab4d);return _0x3cc376!==void 0x0&&window[_0x4cc4e0(0x428)](_0x3cc376),this[_0x4cc4e0(0x4ee)][_0x4cc4e0(0x4e5)](_0x210e55(_0x57ab4d),this[_0x4cc4e0(0x161)][_0x4cc4e0(0x115)](_0x57ab4d))['then'](()=>this[_0x4cc4e0(0x502)]['delete'](_0x57ab4d));}async[_0x4478c1(0x304)](){const _0x1c3a56=_0x4478c1,_0x4c495d=[];this[_0x1c3a56(0x502)][_0x1c3a56(0x3b6)]((_0x385921,_0xf7ddab)=>{const _0x29fdc1=_0x1c3a56;window[_0x29fdc1(0x428)](_0x385921),_0x4c495d['push'](this[_0x29fdc1(0x455)](_0xf7ddab)['then'](()=>{const _0x4f85ad=_0x29fdc1;this[_0x4f85ad(0x502)][_0x4f85ad(0x354)](_0xf7ddab);}));}),await Promise[_0x1c3a56(0x48e)](_0x4c495d);}[_0x4478c1(0x174)](){const _0x261c50=_0x4478c1;this[_0x261c50(0xe5)](this[_0x261c50(0x41d)]['registerBeforeClose'](()=>{const _0x1c6d68=_0x261c50;if(this[_0x1c6d68(0x502)][_0x1c6d68(0x175)])return this[_0x1c6d68(0x343)]['t'](_0x1c6d68(0x50a));}));}},_0x1191ba[_0x4478c1(0x1cd)]=_0xe7a7c1([_0x262130(0x0,_0x3c1a84[_0x4478c1(0x56b)]),_0x262130(0x1,_0x3c1a84[_0x4478c1(0x1b4)]),_0x262130(0x2,_0xa35fb[_0x4478c1(0x2ba)]),_0x262130(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x262130(0x4,_0x3c1a84['Inject'](_0xa820f['RevisionService']))],_0x1191ba[_0x4478c1(0x1cd)]);function _0x210e55(_0x2c39f9){const _0x2b2284=_0x4478c1;return _0x2b2284(0x4a3)+_0x2c39f9;}var _0x29b20e=Object[_0x4478c1(0x19b)],_0x12df90=Object[_0x4478c1(0x4d8)],_0x57df11=(_0x4ecfce,_0x2d781a,_0x56a8bc,_0x5671b4)=>{for(var _0x1e93c3=_0x5671b4>0x1?void 0x0:_0x5671b4?_0x12df90(_0x2d781a,_0x56a8bc):_0x2d781a,_0x12756f=_0x4ecfce['length']-0x1,_0x86e76a;_0x12756f>=0x0;_0x12756f--)(_0x86e76a=_0x4ecfce[_0x12756f])&&(_0x1e93c3=(_0x5671b4?_0x86e76a(_0x2d781a,_0x56a8bc,_0x1e93c3):_0x86e76a(_0x1e93c3))||_0x1e93c3);return _0x5671b4&&_0x1e93c3&&_0x29b20e(_0x2d781a,_0x56a8bc,_0x1e93c3),_0x1e93c3;},_0x3df43c=(_0x504d8,_0x324cb7)=>(_0x537704,_0x5bcd0a)=>_0x324cb7(_0x537704,_0x5bcd0a,_0x504d8);function _0x3a53f0(_0x35da96){const _0x56d28a=_0x4478c1,{unitID:_0x4ac237,mutations:_0x3a7adc}=_0x35da96;return{'unitId':_0x4ac237,'subUnitId':_0x3a7adc[0x0][_0x56d28a(0x1a8)]['subUnitId']};}let _0x3f146d=class{constructor(_0x474433,_0x564c85,_0x399a79){const _0x457a24=_0x4478c1;this['_injector']=_0x474433,this[_0x457a24(0x56c)]=_0x564c85,this[_0x457a24(0xfe)]=_0x399a79;}['transformSelections'](_0x2ea13c){const _0x2d4282=_0x4478c1;var _0x912780,_0x14f893,_0x2beecf,_0x524b87;const _0x530fe4=this[_0x2d4282(0x391)][_0x2d4282(0x115)](_0x16d7e8[_0x2d4282(0x412)]),{unitId:_0x34b5f5,subUnitId:_0x177669}=_0x3a53f0(_0x2ea13c),_0x27c9d8=_0x530fe4['getWorkbookSelections'](_0x34b5f5)[_0x2d4282(0x303)](),_0x126d1f=(_0x14f893=(_0x912780=this['_instanceService'][_0x2d4282(0x3ba)](_0x34b5f5))==null?void 0x0:_0x912780[_0x2d4282(0x440)]())==null?void 0x0:_0x14f893['getSheetId']();if(_0x27c9d8[_0x2d4282(0x315)]===0x0||!_0x34b5f5||!_0x177669)return;const _0x49b523=[{'id':_0x16d7e8[_0x2d4282(0x1f9)]['id'],'params':{'unitId':_0x34b5f5,'subUnitId':_0x126d1f,'selections':_0x3c1a84[_0x2d4282(0x442)][_0x2d4282(0x24a)](_0x27c9d8)}}],_0x260877=this['_transformService']['transformMutationsWithChangeset'](_0x2ea13c,_0x49b523);if(!_0xa820f['isTransformMutationsWithChangesetSuccess'](_0x260877))throw _0x260877[_0x2d4282(0x17c)];const _0x3603c9=(_0x524b87=(_0x2beecf=_0x260877[_0x2d4282(0x1cb)][0x0])==null?void 0x0:_0x2beecf['params'])==null?void 0x0:_0x524b87['selections'];if(Array['isArray'](_0x3603c9)&&_0x3603c9[_0x2d4282(0x315)]){if(_0x3603c9[_0x2d4282(0x315)]===_0x49b523[0x0][_0x2d4282(0x1a8)][_0x2d4282(0x4ce)]['length']&&_0x3603c9['every']((_0x59f6d7,_0x1c441d)=>_0x3c1a84[_0x2d4282(0x1ad)][_0x2d4282(0x302)](_0x59f6d7['range'],_0x49b523[0x0][_0x2d4282(0x1a8)]['selections'][_0x1c441d][_0x2d4282(0x3a0)])))return;this[_0x2d4282(0x391)]['get'](_0x3c1a84[_0x2d4282(0x3fd)])[_0x2d4282(0x3a3)](_0x16d7e8[_0x2d4282(0x1f9)]['id'],{'unitId':_0x34b5f5,'subUnitId':_0x126d1f,'selections':_0x3603c9});}}};_0x3f146d=_0x57df11([_0x3df43c(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x3df43c(0x1,_0xa820f[_0x4478c1(0x46b)]),_0x3df43c(0x2,_0x3c1a84[_0x4478c1(0x3d5)])],_0x3f146d);const _0x276cf0=_0x3c1a84['createIdentifier'](_0x4478c1(0x50c));var _0x49ccfb=(_0x452f90=>(_0x452f90[_0x452f90[_0x4478c1(0x50f)]=0x0]=_0x4478c1(0x50f),_0x452f90[_0x452f90[_0x4478c1(0x546)]=0x1]=_0x4478c1(0x546),_0x452f90))(_0x49ccfb||{});const _0x3969f1=0x7530,_0x644d4f=_0x4478c1(0x2fb);class _0x6d1a3b extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(){const _0x3bb047=_0x4478c1;super(),_0xa880cb(this,_0x3bb047(0x504),_0x3c1a84['Tools'][_0x3bb047(0x30a)]()),_0xa880cb(this,_0x3bb047(0x1da),new Set()),_0xa880cb(this,'_unitOnClients',new Map()),_0xa880cb(this,'_heartbeatTimer',null),_0xa880cb(this,_0x3bb047(0xc5),new Map()),_0xa880cb(this,_0x3bb047(0x522),new Map()),this[_0x3bb047(0x12b)]();}[_0x4478c1(0x4e7)](){const _0x3bcefb=_0x4478c1;super[_0x3bcefb(0x4e7)](),this[_0x3bcefb(0xc5)]['forEach']((_0x17907a,_0x55482a)=>this['_removeClearOtherTimer'](_0x55482a)),this[_0x3bcefb(0x3b9)]&&window[_0x3bcefb(0x2d1)](this[_0x3bcefb(0x3b9)]);}['getUnitStatus$'](_0x9cf695){const _0x335e64=_0x4478c1;return this[_0x335e64(0xae)](_0x9cf695)[_0x335e64(0x4c4)](_0x818dd8['distinctUntilChanged']());}[_0x4478c1(0x2a3)](_0x2e1e52){const _0x11f86f=_0x4478c1;this[_0x11f86f(0x1da)][_0x11f86f(0x175)]===0x0&&this[_0x11f86f(0x424)](),this['_selfUnitIDs'][_0x11f86f(0x560)](_0x2e1e52),this['_send']({'type':0x0,'memberID':this[_0x11f86f(0x504)],'unitIDs':[_0x2e1e52],'isForwarded':!0x1});}[_0x4478c1(0x4e9)](_0xf7f0ae){const _0x24df44=_0x4478c1;this[_0x24df44(0x1da)][_0x24df44(0x354)](_0xf7f0ae),this[_0x24df44(0x1da)][_0x24df44(0x175)]===0x0&&this[_0x24df44(0x3b9)]&&window[_0x24df44(0x2d1)](this[_0x24df44(0x3b9)]);}[_0x4478c1(0x12b)](){const _0x47d276=_0x4478c1;this[_0x47d276(0xe5)](_0x3c1a84[_0x47d276(0xde)](_0x818dd8[_0x47d276(0x217)](window,_0x47d276(0x45a))[_0x47d276(0x3aa)](_0x3327fe=>{const _0xb662be=_0x47d276;if(_0x3327fe['key']!==_0x644d4f||!_0x3327fe[_0xb662be(0x26b)])return;const _0x2e9faa=JSON['parse'](_0x3327fe[_0xb662be(0x26b)]);this['_handleEvent'](_0x2e9faa);}))),window[_0x47d276(0x51e)](_0x47d276(0x211),()=>this[_0x47d276(0x1ce)]({'type':0x1,'memberID':this[_0x47d276(0x504)],'unitIDs':Array[_0x47d276(0x301)](this['_selfUnitIDs'])}));}[_0x4478c1(0x49e)](_0x439abe){const _0x52de5a=_0x4478c1;switch(_0x439abe[_0x52de5a(0x184)]){case 0x0:this[_0x52de5a(0x3cf)](_0x439abe);break;case 0x1:this[_0x52de5a(0x1cc)](_0x439abe);break;case 0x2:this[_0x52de5a(0x13f)](_0x439abe);break;}}[_0x4478c1(0x3cf)](_0x224f30){const _0x28db6b=_0x4478c1,{unitIDs:_0xd73938,memberID:_0x49dc13,isForwarded:_0x25dade}=_0x224f30;_0xd73938['forEach'](_0x547281=>{const _0x825ac1=_0x406b;if(!_0x25dade&&this[_0x825ac1(0x28a)][_0x825ac1(0x431)](_0x547281)&&this[_0x825ac1(0xae)](_0x547281)[_0x825ac1(0xdb)](0x1),!this[_0x825ac1(0x28a)][_0x825ac1(0x431)](_0x547281)||!this['_unitOnClients'][_0x825ac1(0x115)](_0x547281)[_0x825ac1(0x431)](_0x49dc13)){const _0x469031=this[_0x825ac1(0x28a)]['get'](_0x547281)||new Set();_0x469031[_0x825ac1(0x560)](_0x49dc13),this[_0x825ac1(0x28a)][_0x825ac1(0x53e)](_0x547281,_0x469031),this[_0x825ac1(0x435)](_0x49dc13);}}),_0x25dade||this[_0x28db6b(0x1ce)]({'type':0x0,'memberID':this[_0x28db6b(0x504)],'unitIDs':[...this[_0x28db6b(0x1da)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1e1ea5){const _0x3505ee=_0x4478c1;this[_0x3505ee(0x244)](_0x1e1ea5);const _0x534aa9=window[_0x3505ee(0x283)](()=>{const _0x4a07dd=_0x3505ee;this[_0x4a07dd(0x28a)][_0x4a07dd(0x3b6)](_0x298824=>{_0x298824['delete'](_0x1e1ea5);});},_0x3969f1*0x2);this[_0x3505ee(0xc5)][_0x3505ee(0x53e)](_0x1e1ea5,_0x534aa9);}[_0x4478c1(0x244)](_0x45d9d2){const _0x4de28a=_0x4478c1;if(this['_clearOtherTimers']['has'](_0x45d9d2)){const _0x44bace=this[_0x4de28a(0xc5)][_0x4de28a(0x115)](_0x45d9d2);_0x44bace&&window[_0x4de28a(0x428)](_0x44bace),this['_clearOtherTimers'][_0x4de28a(0x53e)](_0x45d9d2,null);}}['_handleLeaveEvent'](_0x4cd77f){const _0xb9b01f=_0x4478c1,{memberID:_0x486613,unitIDs:_0x25e245}=_0x4cd77f;_0x25e245[_0xb9b01f(0x3b6)](_0x1b001b=>{const _0x56eeb6=_0xb9b01f;var _0x56ae97;const _0x305bf3=this[_0x56eeb6(0x28a)][_0x56eeb6(0x115)](_0x1b001b);_0x305bf3&&(_0x305bf3[_0x56eeb6(0x354)](_0x486613),(_0x56ae97=this[_0x56eeb6(0xae)](_0x1b001b))==null||_0x56ae97[_0x56eeb6(0xdb)](_0x305bf3[_0x56eeb6(0x175)]===0x0?0x0:0x1));}),this[_0xb9b01f(0x244)](_0x486613);}[_0x4478c1(0x13f)](_0x227cef){const _0x19d928=_0x4478c1;this[_0x19d928(0x435)](_0x227cef[_0x19d928(0x10d)]);}[_0x4478c1(0x1ce)](_0x3a7572){const _0x3593fd=_0x4478c1;localStorage[_0x3593fd(0x4e5)](_0x644d4f,JSON[_0x3593fd(0x571)](_0x3a7572));}['_scheduleHeartbeat'](){const _0xb495b2=_0x4478c1;this[_0xb495b2(0x3b9)]=window[_0xb495b2(0x4fa)](()=>{const _0x14032c=_0xb495b2;this[_0x14032c(0x1ce)]({'type':0x2,'memberID':this['_id']});},_0x3969f1);}[_0x4478c1(0xae)](_0x113121){const _0xce7ffa=_0x4478c1;return this[_0xce7ffa(0x522)][_0xce7ffa(0x431)](_0x113121)||this[_0xce7ffa(0x522)]['set'](_0x113121,new _0x818dd8['BehaviorSubject'](0x0)),this[_0xce7ffa(0x522)]['get'](_0x113121);}}var _0x464ab2=Object[_0x4478c1(0x19b)],_0x46d949=Object[_0x4478c1(0x4d8)],_0x2a526b=(_0x3dd17d,_0x27a08c,_0x3b6df9,_0x39dd1a)=>{for(var _0xb0bb5d=_0x39dd1a>0x1?void 0x0:_0x39dd1a?_0x46d949(_0x27a08c,_0x3b6df9):_0x27a08c,_0x1c7d2c=_0x3dd17d['length']-0x1,_0x35331e;_0x1c7d2c>=0x0;_0x1c7d2c--)(_0x35331e=_0x3dd17d[_0x1c7d2c])&&(_0xb0bb5d=(_0x39dd1a?_0x35331e(_0x27a08c,_0x3b6df9,_0xb0bb5d):_0x35331e(_0xb0bb5d))||_0xb0bb5d);return _0x39dd1a&&_0xb0bb5d&&_0x464ab2(_0x27a08c,_0x3b6df9,_0xb0bb5d),_0xb0bb5d;},_0x239337=(_0x5c32fa,_0x5c9644)=>(_0x4e89e3,_0xdefde9)=>_0x5c9644(_0x4e89e3,_0xdefde9,_0x5c32fa);let _0x4a0baf=class{constructor(_0x479091,_0x24527e,_0x3be8cb){const _0x4aac93=_0x4478c1;this['_injector']=_0x479091,this[_0x4aac93(0x56c)]=_0x24527e,this[_0x4aac93(0x340)]=_0x3be8cb;}[_0x4478c1(0x4eb)](_0x294307){const _0x24365a=_0x4478c1;this[_0x24365a(0x248)](_0x294307);}['transformRemoteChangeset'](_0x12c9b2){const _0xb41df2=_0x4478c1,{unitID:_0x5d7f9b}=_0x12c9b2,{collaboration:_0x1a7ca9}=this[_0xb41df2(0x340)]['getStateCache'](_0x5d7f9b);if(_0x1a7ca9[_0xb41df2(0x315)]===0x0)return _0x12c9b2;let _0x5a45f5=_0x3c1a84['Tools'][_0xb41df2(0x24a)](_0x12c9b2[_0xb41df2(0x213)][0x0]);for(let _0x51fdf0=0x0;_0x51fdf0<_0x1a7ca9[_0xb41df2(0x315)];_0x51fdf0++){const _0x5bc89f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a7ca9[_0x51fdf0][_0xb41df2(0x214)],..._0x1a7ca9[_0x51fdf0][_0xb41df2(0x4a1)]}},_0x110fe8=this['_transformService']['transformMutation'](_0x5a45f5,_0x5bc89f,!0x1);if(_0xa820f[_0xb41df2(0xd0)](_0x110fe8))throw _0x110fe8['error'];_0x5a45f5=_0x110fe8[_0xb41df2(0x450)];}return{..._0x3c1a84[_0xb41df2(0x442)][_0xb41df2(0x24a)](_0x12c9b2),'mutations':[_0x5a45f5]};}[_0x4478c1(0x248)](_0x265f7d){const _0x2d28b7=_0x4478c1,{unitID:_0x4540b7}=_0x265f7d,{history:_0x19af2a,collaboration:_0x48e990}=this[_0x2d28b7(0x340)]['getStateCache'](_0x4540b7);if(_0x19af2a[_0x2d28b7(0x315)]===0x0&&_0x48e990[_0x2d28b7(0x315)]===0x0)return;const _0x53912d=[],_0x4c684c=[];let _0x3187b1=_0x3c1a84[_0x2d28b7(0x442)][_0x2d28b7(0x24a)](_0x265f7d[_0x2d28b7(0x213)][0x0]),_0x571d59=_0x3c1a84['Tools']['deepClone'](_0x265f7d[_0x2d28b7(0x213)][0x0]);for(let _0x3068da=_0x19af2a['length']-0x1;_0x3068da>=0x0;_0x3068da--){const _0xdbd656={'id':_0x2d28b7(0x44a),'params':{'unitId':_0x19af2a[_0x3068da][_0x2d28b7(0x214)],..._0x19af2a[_0x3068da][_0x2d28b7(0x48b)]}},_0x217625={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19af2a[_0x3068da][_0x2d28b7(0x214)],..._0x19af2a[_0x3068da]['redoState']}},_0x46e84c=this['_transformService'][_0x2d28b7(0x3f6)](_0x3187b1,_0xdbd656,!0x1),_0x2b7781=this[_0x2d28b7(0x56c)][_0x2d28b7(0x3f6)](_0x571d59,_0x217625,!0x1);if(_0xa820f[_0x2d28b7(0xd0)](_0x46e84c))throw _0x46e84c[_0x2d28b7(0x17c)];if(_0xa820f[_0x2d28b7(0xd0)](_0x2b7781))throw _0x2b7781[_0x2d28b7(0x17c)];_0x53912d[_0x2d28b7(0x401)]({..._0x19af2a[_0x3068da],'undoState':_0x46e84c[_0x2d28b7(0x1cb)][_0x2d28b7(0x1a8)],'redoState':_0x2b7781[_0x2d28b7(0x1cb)][_0x2d28b7(0x1a8)]}),_0x3187b1=_0x46e84c[_0x2d28b7(0x450)],_0x571d59=_0x2b7781[_0x2d28b7(0x450)];}_0x3187b1=_0x3c1a84[_0x2d28b7(0x442)][_0x2d28b7(0x24a)](_0x265f7d['mutations'][0x0]),_0x571d59=_0x3c1a84[_0x2d28b7(0x442)][_0x2d28b7(0x24a)](_0x265f7d[_0x2d28b7(0x213)][0x0]);for(let _0x3a6ee4=_0x48e990[_0x2d28b7(0x315)]-0x1;_0x3a6ee4>=0x0;_0x3a6ee4--){const _0x3b68f1={'id':_0x2d28b7(0x44a),'params':{'unitId':_0x48e990[_0x3a6ee4][_0x2d28b7(0x214)],..._0x48e990[_0x3a6ee4][_0x2d28b7(0x48b)]}},_0x48b3ee={'id':_0x2d28b7(0x44a),'params':{'unitId':_0x48e990[_0x3a6ee4]['unitId'],..._0x48e990[_0x3a6ee4][_0x2d28b7(0x4a1)]}},_0x10cda2=this['_transformService'][_0x2d28b7(0x3f6)](_0x3187b1,_0x3b68f1,!0x1),_0x3b1da9=this[_0x2d28b7(0x56c)][_0x2d28b7(0x3f6)](_0x571d59,_0x48b3ee,!0x1);if(_0xa820f[_0x2d28b7(0xd0)](_0x10cda2))throw _0x10cda2['error'];if(_0xa820f[_0x2d28b7(0xd0)](_0x3b1da9))throw _0x3b1da9[_0x2d28b7(0x17c)];_0x4c684c['unshift']({..._0x48e990[_0x3a6ee4],'undoState':_0x10cda2[_0x2d28b7(0x1cb)][_0x2d28b7(0x1a8)],'redoState':_0x3b1da9[_0x2d28b7(0x1cb)][_0x2d28b7(0x1a8)]}),_0x3187b1=_0x10cda2[_0x2d28b7(0x450)],_0x571d59=_0x3b1da9[_0x2d28b7(0x450)];}this[_0x2d28b7(0x340)][_0x2d28b7(0x54b)](_0x4540b7,{'history':_0x53912d,'collaboration':_0x4c684c});}};_0x4a0baf=_0x2a526b([_0x239337(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x239337(0x1,_0xa820f[_0x4478c1(0x46b)]),_0x239337(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x488d74['DocStateChangeManagerService']))],_0x4a0baf);function _0x210716(_0x52c143){let _0x553884='';for(const _0x4ddbac of _0x52c143){const {startOffset:_0x35d64c,endOffset:_0x52b0d5,isActive:_0x583f77,rangeType:_0x483de1,segmentId:_0x513725,segmentPage:_0x51a207}=_0x4ddbac;_0x553884['length']&&(_0x553884+=','),_0x553884+=_0x35d64c+':'+_0x52b0d5+':'+(_0x583f77?'1':'0')+':'+_0x483de1+':'+_0x513725+':'+_0x51a207;}return _0x553884;}function _0x55561c(_0x2642f3){const _0x1850e9=_0x4478c1,_0x2aa88e=_0x2642f3[_0x1850e9(0x110)](','),_0x2ddc0d=[];for(const _0x2a6b37 of _0x2aa88e){const [_0x8a36ff,_0x5c186b,_0x5e204f,_0x490954,_0x1acd27,_0x317ded]=_0x2a6b37['split'](':');_0x2ddc0d[_0x1850e9(0x41b)]({'startOffset':Number(_0x8a36ff),'endOffset':Number(_0x5c186b),'collapsed':_0x8a36ff===_0x5c186b,'isActive':_0x5e204f==='1','rangeType':_0x490954===_0x3c1a84['DOC_RANGE_TYPE']['TEXT']?_0x3c1a84[_0x1850e9(0x239)]['TEXT']:_0x3c1a84['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x1acd27=='string'?String(_0x1acd27):'','segmentPage':Number(_0x317ded!=null?_0x317ded:-0x1)});}return _0x2ddc0d['some'](_0x5aeb93=>_0x5aeb93[_0x1850e9(0x2aa)])||(_0x2ddc0d[0x0][_0x1850e9(0x2aa)]=!0x0),_0x2ddc0d;}class _0x159dfb extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(){const _0x1664f5=_0x4478c1;super(...arguments),_0xa880cb(this,'_collabCursorState$',new _0x818dd8[(_0x1664f5(0x122))](null)),_0xa880cb(this,_0x1664f5(0x34e),this[_0x1664f5(0x364)][_0x1664f5(0xca)]());}[_0x4478c1(0xe0)](_0x4d3297){const _0x299c44=_0x4478c1,{unitID:_0x1739ab,memberID:_0xb25d8f,textRanges:_0x569e42}=_0x4d3297,_0xe187b3=_0x210716(_0x569e42);if(_0xe187b3==='')return;const _0x450868={'unitID':_0x1739ab,'memberID':_0xb25d8f,'selection':_0xe187b3};this[_0x299c44(0x364)][_0x299c44(0xdb)](_0x450868);}}var _0x859104=Object['defineProperty'],_0x4ec4ba=Object[_0x4478c1(0x4d8)],_0x28e415=(_0x33de1d,_0x139ff6,_0x13e041,_0x4a8859)=>{const _0x33a103=_0x4478c1;for(var _0x739b56=_0x4a8859>0x1?void 0x0:_0x4a8859?_0x4ec4ba(_0x139ff6,_0x13e041):_0x139ff6,_0x351647=_0x33de1d[_0x33a103(0x315)]-0x1,_0x4ed8fc;_0x351647>=0x0;_0x351647--)(_0x4ed8fc=_0x33de1d[_0x351647])&&(_0x739b56=(_0x4a8859?_0x4ed8fc(_0x139ff6,_0x13e041,_0x739b56):_0x4ed8fc(_0x739b56))||_0x739b56);return _0x4a8859&&_0x739b56&&_0x859104(_0x139ff6,_0x13e041,_0x739b56),_0x739b56;},_0x1761e2=(_0x56a6c0,_0x4ff643)=>(_0x4d285b,_0x223e81)=>_0x4ff643(_0x4d285b,_0x223e81,_0x56a6c0);let _0x3d4e9f=class{constructor(_0x5ab2ba,_0x140320){const _0x104738=_0x4478c1;this[_0x104738(0x391)]=_0x5ab2ba,this['_transformService']=_0x140320;}[_0x4478c1(0x237)](_0xe7db1){const _0x1fda77=_0x4478c1;var _0x3adaff;const _0x2c885a=this[_0x1fda77(0x391)][_0x1fda77(0x115)](_0x2a5ff4[_0x1fda77(0x1ac)]),_0x55fad4=(_0x3adaff=_0x2c885a['getDocRanges']())!=null?_0x3adaff:[];if(_0x55fad4[_0x1fda77(0x315)]===0x0)return;const _0x43ed84=_0xe7db1[_0x1fda77(0x2b0)],_0x46999c=[{'id':_0x1fda77(0x44a),'params':{'unitId':_0x43ed84,'actions':null,'textRanges':_0x55fad4}}],_0x5f350c=this[_0x1fda77(0x56c)][_0x1fda77(0x3d2)](_0xe7db1,_0x46999c);if(!_0xa820f[_0x1fda77(0x39e)](_0x5f350c))throw _0x5f350c[_0x1fda77(0x17c)];const _0x3d94e4=_0x5f350c[_0x1fda77(0x1cb)][0x0][_0x1fda77(0x1a8)][_0x1fda77(0x3dd)];Array[_0x1fda77(0x351)](_0x3d94e4)&&_0x3d94e4[_0x1fda77(0x315)]&&_0x2c885a[_0x1fda77(0x554)](_0x3d94e4,{'unitId':_0x43ed84,'subUnitId':_0x43ed84},!0x1);}};_0x3d4e9f=_0x28e415([_0x1761e2(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x1761e2(0x1,_0xa820f[_0x4478c1(0x46b)])],_0x3d4e9f);const _0x253309=new Set([_0x16d7e8[_0x4478c1(0x1e3)]['id']]);function _0x40589f(_0x45c5f4,_0xa52276,_0x4bebe1,_0x8db731,_0x3e30df){const _0x22ae3d=_0x4478c1;var _0x45489e,_0x1e4be4,_0x503740,_0x237498;const _0x47b4e9=[];for(const _0x4a4d41 of _0x45c5f4)if(_0x253309[_0x22ae3d(0x431)](_0x4a4d41['id'])){if(_0x47b4e9[_0x22ae3d(0x315)]>0x0)break;_0x47b4e9[_0x22ae3d(0x41b)](_0x4a4d41);break;}else _0x47b4e9[_0x22ae3d(0x41b)](_0x4a4d41);const _0x32c963=(_0x1e4be4=(_0x45489e=_0x3e30df['getCurrentUser']())==null?void 0x0:_0x45489e[_0x22ae3d(0xaf)])!=null?_0x1e4be4:_0x22ae3d(0x3e1),_0x3df6fd=(_0x237498=(_0x503740=_0x3e30df['getCurrentUser']())==null?void 0x0:_0x503740['memberID'])!=null?_0x237498:_0x22ae3d(0x3e1);return{'changeset':{'unitID':_0xa52276,'type':_0xa820f[_0x22ae3d(0x1bf)](_0x4bebe1[_0x22ae3d(0x43d)](_0xa52276)),'baseRev':_0x8db731[_0x22ae3d(0x385)](_0xa52276),'revision':0x0,'userID':_0x32c963,'memberID':_0x3df6fd,'mutations':_0x47b4e9},'pendingMutations':_0x45c5f4[_0x22ae3d(0x29e)](_0x47b4e9['length'])};}function _0x20b863(_0x4f61f5,_0x427264,_0x5e64a3,_0x4d79e7,_0x517f1c){const _0x58c1dd=_0x4478c1;var _0x3e2060,_0x17ba77,_0x152d44,_0x3e227b;const _0x3117e1=[_0x4f61f5[_0x58c1dd(0x3de)]((_0x18b322,_0x291575)=>{const _0x8e2eb5=_0x58c1dd;var _0x42cb58;const {id:_0x4284e2}=_0x18b322,{id:_0x513a1f,type:_0x216f8e}=_0x291575,_0x288f2f=(_0x42cb58=_0x18b322[_0x8e2eb5(0x1a8)])!=null?_0x42cb58:{'actions':null},_0x59bfe1=_0x291575[_0x8e2eb5(0x1a8)];if(_0x4284e2&&_0x4284e2!==_0x513a1f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4284e2+_0x8e2eb5(0x53c)+_0x513a1f+'.');return{..._0x18b322,'id':_0x513a1f,'type':_0x216f8e,'params':{'unitId':_0x59bfe1['unitId'],'textRanges':_0x59bfe1['textRanges'],'actions':_0x3c1a84[_0x8e2eb5(0x32b)][_0x8e2eb5(0x29c)](_0x288f2f[_0x8e2eb5(0x156)],_0x59bfe1[_0x8e2eb5(0x156)])}};},{})],_0x3ccf13=(_0x17ba77=(_0x3e2060=_0x517f1c[_0x58c1dd(0x339)]())==null?void 0x0:_0x3e2060['userID'])!=null?_0x17ba77:'unknown',_0x62fb29=(_0x3e227b=(_0x152d44=_0x517f1c['getCurrentUser']())==null?void 0x0:_0x152d44[_0x58c1dd(0x10d)])!=null?_0x3e227b:_0x58c1dd(0x3e1);return{'changeset':{'unitID':_0x427264,'type':_0xa820f[_0x58c1dd(0x1bf)](_0x5e64a3[_0x58c1dd(0x43d)](_0x427264)),'baseRev':_0x4d79e7['getCurrentRevOfUnit'](_0x427264),'revision':0x0,'userID':_0x3ccf13,'memberID':_0x62fb29,'mutations':_0x3117e1},'pendingMutations':[]};}function _0x4bbfae(_0x1dca1a,_0x3306b0){const _0x372992=_0x4478c1,_0x3bee18=new _0x818dd8['ReplaySubject'](0x1);return setTimeout(()=>_0x3bee18[_0x372992(0xdb)](_0x3306b0),_0x1dca1a),_0x3bee18['asObservable']()[_0x372992(0x4c4)](_0x818dd8[_0x372992(0x135)](0x1));}const _0x37a46e={'id':_0x16d7e8[_0x4478c1(0x2eb)]['id'],'type':_0x3c1a84['CommandType'][_0x4478c1(0x521)],'params':{}};var _0xb801b9=Object[_0x4478c1(0x19b)],_0x18f5e2=Object[_0x4478c1(0x4d8)],_0xc5a281=(_0x5ac9b5,_0x430371,_0x36075e,_0x572136)=>{const _0x475f8a=_0x4478c1;for(var _0x54f0cd=_0x572136>0x1?void 0x0:_0x572136?_0x18f5e2(_0x430371,_0x36075e):_0x430371,_0xb6dd1e=_0x5ac9b5[_0x475f8a(0x315)]-0x1,_0x3c3621;_0xb6dd1e>=0x0;_0xb6dd1e--)(_0x3c3621=_0x5ac9b5[_0xb6dd1e])&&(_0x54f0cd=(_0x572136?_0x3c3621(_0x430371,_0x36075e,_0x54f0cd):_0x3c3621(_0x54f0cd))||_0x54f0cd);return _0x572136&&_0x54f0cd&&_0xb801b9(_0x430371,_0x36075e,_0x54f0cd),_0x54f0cd;},_0x53f2f6=(_0x127b20,_0x21d2fd)=>(_0x3c9465,_0x3fd5a1)=>_0x21d2fd(_0x3c9465,_0x3fd5a1,_0x127b20),_0x2683d3=(_0x36dcef=>(_0x36dcef[_0x4478c1(0x553)]=_0x4478c1(0x267),_0x36dcef[_0x4478c1(0x388)]=_0x4478c1(0x43c),_0x36dcef[_0x4478c1(0x210)]=_0x4478c1(0x2ff),_0x36dcef[_0x4478c1(0x4d0)]=_0x4478c1(0x4bd),_0x36dcef[_0x4478c1(0x3e4)]=_0x4478c1(0x22d),_0x36dcef[_0x4478c1(0x219)]=_0x4478c1(0x3a7),_0x36dcef[_0x4478c1(0x26c)]='conflict',_0x36dcef[_0x4478c1(0x423)]=_0x4478c1(0x42b),_0x36dcef))(_0x2683d3||{});const _0x350b0e=0xea60;class _0x56a7d8{constructor(_0x23df6a,_0x582b46,_0x5004a7,_0x558f6a,_0x29d9c5,_0x5b7062,_0x4845ba,_0x10d9a2,_0x3299de){const _0x5bf763=_0x4478c1;_0xa880cb(this,_0x5bf763(0x18f),null),_0xa880cb(this,_0x5bf763(0x27c),[]),(this[_0x5bf763(0x2b0)]=_0x23df6a,this['type']=_0x582b46,this[_0x5bf763(0x1e8)]=_0x29d9c5,this[_0x5bf763(0x292)]=_0x5b7062,this['_undoRedoService']=_0x4845ba,this[_0x5bf763(0x403)]=_0x10d9a2,this['_localCacheService']=_0x3299de,this[_0x5bf763(0x18f)]=_0x5004a7,this[_0x5bf763(0x27c)]=_0x558f6a);}[_0x4478c1(0x1a0)](_0x35e88a){const _0x2fedc6=_0x4478c1,_0x4f78a5=this[_0x2fedc6(0x403)][_0x2fedc6(0x385)](this['unitID']);return _0x35e88a[_0x2fedc6(0x406)]>_0x4f78a5+0x1?(this[_0x2fedc6(0x1e8)][_0x2fedc6(0x459)]({'from':_0x4f78a5,'to':_0x35e88a['revision']-0x1}),!0x0):!0x1;}[_0x4478c1(0x3af)](_0x348ea2){const _0x7ade9e=_0x4478c1;this[_0x7ade9e(0x4d9)]['transformUndoRedo'](this['unitID'],_0x348ea2);}['_transformSelections'](_0xccca64){const _0x2ce25d=_0x4478c1;var _0x37fdd6,_0x193190;(_0x193190=(_0x37fdd6=this['_handler'])[_0x2ce25d(0x408)])==null||_0x193190[_0x2ce25d(0x3e3)](_0x37fdd6,_0xccca64);}[_0x4478c1(0x464)](_0x129fe9){const _0x51536f=_0x4478c1;var _0x43f176,_0x10686e;return(_0x10686e=(_0x43f176=this[_0x51536f(0x1e8)])[_0x51536f(0x529)])==null?void 0x0:_0x10686e['call'](_0x43f176,_0x129fe9);}[_0x4478c1(0x1ea)](_0x282ed8){const _0x4b1435=_0x4478c1;var _0x3d9b70,_0x4c7282;return(_0x4c7282=(_0x3d9b70=this[_0x4b1435(0x1e8)])[_0x4b1435(0x2f6)])==null?void 0x0:_0x4c7282[_0x4b1435(0x3e3)](_0x3d9b70,_0x282ed8);}[_0x4478c1(0x550)](_0x1023fd){const _0x391bc=_0x4478c1;var _0x4a9345,_0x2b7116,_0x53c0d7;return(_0x53c0d7=(_0x2b7116=(_0x4a9345=this[_0x391bc(0x1e8)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2b7116[_0x391bc(0x3e3)](_0x4a9345,_0x1023fd))!=null?_0x53c0d7:_0x1023fd;}['_transformRemoteChangesetByStateCache'](_0x3ea06a){const _0x107c8e=_0x4478c1;var _0x550f00,_0x5bae75,_0x271e06;return(_0x271e06=(_0x5bae75=(_0x550f00=this[_0x107c8e(0x1e8)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5bae75[_0x107c8e(0x3e3)](_0x550f00,_0x3ea06a))!=null?_0x271e06:_0x3ea06a;}['_syncEditingCollabCursor'](_0x376603){const _0x4464eb=_0x4478c1;var _0x32d8bf,_0x42b9f2;if(this[_0x4464eb(0x184)]===_0x4d76be[_0x4464eb(0x3d0)]){const {unitID:_0x54b845,mutations:_0x2fde80,memberID:_0x192a68}=_0x376603,_0x1e040f=_0x2fde80[0x0]['params'][_0x4464eb(0x3dd)];Array[_0x4464eb(0x351)](_0x1e040f)&&_0x1e040f['length']>0x0&&((_0x42b9f2=(_0x32d8bf=this['_handler'])[_0x4464eb(0x4a4)])==null||_0x42b9f2['call'](_0x32d8bf,{'unitID':_0x54b845,'memberID':_0x192a68,'textRanges':_0x1e040f}));}}[_0x4478c1(0x2f4)](){const _0x4a07cd=_0x4478c1;this[_0x4a07cd(0x411)][_0x4a07cd(0x573)](this[_0x4a07cd(0x2b0)],this[_0x4a07cd(0x184)],this['_awaitingChangeset'],this[_0x4a07cd(0x27c)]);}[_0x4478c1(0x346)](){const _0x56ea19=_0x4478c1;return this[_0x56ea19(0x403)][_0x56ea19(0x385)](this[_0x56ea19(0x2b0)]);}[_0x4478c1(0x389)](){const _0x59fefe=_0x4478c1;this[_0x59fefe(0x403)][_0x59fefe(0x361)](this[_0x59fefe(0x2b0)]);}[_0x4478c1(0x20d)](_0x1da889){const _0x41bad8=_0x4478c1;var _0x4c3fb2;let _0x151e8a=this[_0x41bad8(0x550)](_0x1da889);_0x151e8a=this['_transformRemoteChangesetByStateCache'](_0x151e8a);const _0x1c06d6=_0x3c1a84[_0x41bad8(0x43e)](_0x151e8a[_0x41bad8(0x213)],this[_0x41bad8(0x292)],{'fromCollab':!0x0});if(!_0x1c06d6[_0x41bad8(0x1f6)])throw _0x1c06d6['error']instanceof Error?_0x1c06d6[_0x41bad8(0x17c)]:new Error((_0x4c3fb2=_0x1c06d6[_0x41bad8(0x17c)])!=null?_0x4c3fb2:_0x41bad8(0x511));this['_transformIMECache'](_0x151e8a),this['_transformStateCache'](_0x151e8a),this[_0x41bad8(0x3af)](_0x1da889),this[_0x41bad8(0x295)](_0x151e8a),this[_0x41bad8(0x19f)](_0x151e8a),this['_incrementRevisionNumber']();}}let _0x2956fa=class extends _0x56a7d8{constructor(_0xc86859,_0x3b6b62,_0x3c8544,_0x1b8daa,_0x2a351f,_0x568934,_0x10bf75,_0x4b916e,_0x42c57c,_0x57c7af){const _0x65bb21=_0x4478c1;super(_0xc86859,_0x3b6b62,null,[],_0x3c8544,_0x4b916e,_0x10bf75,_0x1b8daa,_0x2a351f),_0xa880cb(this,_0x65bb21(0x12c),'synced'),(this['_injector']=_0x568934,this['_logService']=_0x42c57c,this['_transformService']=_0x57c7af);}[_0x4478c1(0xe8)](_0x5bd849){const _0x4f9fe4=_0x4478c1,_0x54005c=this[_0x4f9fe4(0x391)][_0x4f9fe4(0x47c)](_0x28ab15,this[_0x4f9fe4(0x2b0)],this[_0x4f9fe4(0x184)],[_0x5bd849],this[_0x4f9fe4(0x1e8)]);return _0x54005c[_0x4f9fe4(0x173)](),_0x54005c['_updateLocalCache'](),_0x54005c;}[_0x4478c1(0x251)](_0x9df5e6){const _0x599909=_0x4478c1;if(this[_0x599909(0x1a0)](_0x9df5e6))return this[_0x599909(0x391)]['createInstance'](_0x5732a8,this[_0x599909(0x2b0)],this[_0x599909(0x184)],null,[],null,[_0x9df5e6],this['_handler']);try{const _0x2d26ec=this[_0x599909(0x56c)][_0x599909(0x3d2)](_0x9df5e6,[_0x37a46e]);if(_0xa820f['isTransformMutationsWithChangesetSuccess'](_0x2d26ec)){const {c1Prime:_0x5c0c42}=_0x2d26ec;return this[_0x599909(0x20d)](_0x5c0c42),this;}throw _0x2d26ec[_0x599909(0x17c)];}catch(_0x3f416c){return this[_0x599909(0x4c1)][_0x599909(0x17c)](_0x3f416c),this[_0x599909(0xcf)](!0x1);}}[_0x4478c1(0xcf)](_0x3195db){const _0x2375bd=_0x4478c1;return this['_injector'][_0x2375bd(0x47c)](_0x582c83,this[_0x2375bd(0x2b0)],this[_0x2375bd(0x184)],null,[],this[_0x2375bd(0x1e8)],_0x3195db);}[_0x4478c1(0x2e9)](){const _0x8f0600=_0x4478c1;throw new Error(_0x8f0600(0x524));}[_0x4478c1(0x1d2)](){const _0x34d10e=_0x4478c1;throw new Error(_0x34d10e(0x447));}[_0x4478c1(0x4ca)](){return this;}[_0x4478c1(0x26a)](){const _0xf4d247=_0x4478c1;return this[_0xf4d247(0x391)]['createInstance'](_0x1eb76f,this[_0xf4d247(0x2b0)],this[_0xf4d247(0x184)],null,[],this[_0xf4d247(0x1e8)]);}['toggleOnline'](){return this;}[_0x4478c1(0x3bf)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4478c1(0x1e6)](){const _0x58c350=_0x4478c1,_0x76e7f9=this[_0x58c350(0x403)][_0x58c350(0x385)](this[_0x58c350(0x2b0)]);return this[_0x58c350(0x1e8)][_0x58c350(0x459)]({'from':_0x76e7f9,'to':0x0}),this[_0x58c350(0x391)][_0x58c350(0x47c)](_0x5732a8,this['unitID'],this['type'],null,[],null,[],this[_0x58c350(0x1e8)]);}};_0x2956fa=_0xc5a281([_0x53f2f6(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f['RevisionService'])),_0x53f2f6(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x53f2f6(0x6,_0x3c1a84[_0x4478c1(0x559)]),_0x53f2f6(0x7,_0x3c1a84['ICommandService']),_0x53f2f6(0x8,_0x3c1a84['ILogService']),_0x53f2f6(0x9,_0xa820f[_0x4478c1(0x46b)])],_0x2956fa);let _0x28ab15=class extends _0x56a7d8{constructor(_0x1d72a5,_0x1580cf,_0x14c779,_0x43a5c1,_0x8e2317,_0x56e76d,_0x497274,_0x194d7a,_0x24c31b,_0x3fd11b,_0x1c9d60,_0x4cc7fc,_0x302721,_0x417f34){const _0x5692ca=_0x4478c1;super(_0x1d72a5,_0x1580cf,null,_0x14c779,_0x43a5c1,_0x3fd11b,_0x417f34,_0x56e76d,_0x497274),_0xa880cb(this,_0x5692ca(0x12c),_0x5692ca(0x2ff)),_0xa880cb(this,'_scheduleTimestamp',null),_0xa880cb(this,'_sendingTimer',null),(this[_0x5692ca(0x391)]=_0x8e2317,this[_0x5692ca(0x51d)]=_0x194d7a,this[_0x5692ca(0x4c1)]=_0x24c31b,this['_configService']=_0x1c9d60,this['_transformService']=_0x4cc7fc,this[_0x5692ca(0x35b)]=_0x302721);}[_0x4478c1(0xe8)](_0xccd77a){const _0x5f0418=_0x4478c1;return this[_0x5f0418(0x27c)][_0x5f0418(0x41b)](_0xccd77a),this['_updateLocalCache'](),this;}[_0x4478c1(0x251)](_0x329102){const _0x216dfd=_0x4478c1;if(this['_checkMissing'](_0x329102))return this[_0x216dfd(0x25a)](),this['_injector']['createInstance'](_0x5732a8,this[_0x216dfd(0x2b0)],this[_0x216dfd(0x184)],null,this[_0x216dfd(0x27c)],null,[_0x329102],this[_0x216dfd(0x1e8)]);try{const _0x38cea3=this['_transformService'][_0x216dfd(0x3d2)](_0x329102,this[_0x216dfd(0x27c)]);if(_0xa820f[_0x216dfd(0x39e)](_0x38cea3)){const {c1Prime:_0x1b0b46,m2Prime:_0x39e89e}=_0x38cea3;this[_0x216dfd(0x20d)](_0x1b0b46);const _0x325a8f=this['_injector'][_0x216dfd(0x47c)](_0x28ab15,this['unitID'],this['type'],_0x39e89e,this[_0x216dfd(0x1e8)]);return this[_0x216dfd(0x25a)](),_0x325a8f[_0x216dfd(0x173)](this[_0x216dfd(0x3f3)]?Math[_0x216dfd(0x1e1)](0x0,new Date()['getTime']()-this[_0x216dfd(0x3f3)]):this[_0x216dfd(0x2e1)]()),_0x325a8f;}throw _0x38cea3[_0x216dfd(0x17c)];}catch(_0xe58118){return this[_0x216dfd(0x4c1)]['error'](_0xe58118),this[_0x216dfd(0xcf)](!0x1);}}[_0x4478c1(0x2e9)](){const _0x415048=_0x4478c1;throw new Error(_0x415048(0x491));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4478c1(0x4ca)](){return this;}['toggleOffline'](){const _0x3456a8=_0x4478c1;return this[_0x3456a8(0x25a)](),this[_0x3456a8(0x391)][_0x3456a8(0x47c)](_0x1eb76f,this[_0x3456a8(0x2b0)],this[_0x3456a8(0x184)],null,this[_0x3456a8(0x27c)],this['_handler']);}[_0x4478c1(0x296)](){return this;}[_0x4478c1(0x173)](_0x5ed34b){const _0x417dce=_0x4478c1,_0x35759b=_0x5ed34b!=null?_0x5ed34b:this[_0x417dce(0x2e1)]();this[_0x417dce(0x3f3)]=new Date()[_0x417dce(0x419)](),this[_0x417dce(0x2f0)]=window['setTimeout'](()=>{const _0x1fb6d7=_0x417dce;this[_0x1fb6d7(0x25a)]();let _0x25ab6f=null;switch(this[_0x1fb6d7(0x184)]){case _0x4d76be[_0x1fb6d7(0x13a)]:{_0x25ab6f=_0x40589f(this[_0x1fb6d7(0x27c)],this[_0x1fb6d7(0x2b0)],this['_univerInstanceService'],this[_0x1fb6d7(0x403)],this[_0x1fb6d7(0x51d)]);break;}case _0x4d76be['UNIVER_DOC']:{this[_0x1fb6d7(0x27c)][_0x1fb6d7(0x147)](_0x7a27f7=>_0x7a27f7['id']===_0x2a5ff4['RichTextEditingMutation']['id'])?_0x25ab6f=_0x20b863(this['_pendingMutations'],this[_0x1fb6d7(0x2b0)],this[_0x1fb6d7(0x35b)],this['_revisionService'],this[_0x1fb6d7(0x51d)]):_0x25ab6f=_0x40589f(this['_pendingMutations'],this[_0x1fb6d7(0x2b0)],this[_0x1fb6d7(0x35b)],this[_0x1fb6d7(0x403)],this[_0x1fb6d7(0x51d)]);break;}default:throw new Error(_0x1fb6d7(0x46a)+this[_0x1fb6d7(0x184)]+_0x1fb6d7(0x51c));}const {changeset:_0x412725,pendingMutations:_0x2325a2}=_0x25ab6f;this['_handler']['onSendChangeset'](_0x412725);const _0x393370=_0x2325a2['length']?this['_injector'][_0x1fb6d7(0x47c)](_0xe9ebe7,this[_0x1fb6d7(0x2b0)],this[_0x1fb6d7(0x184)],_0x412725,_0x2325a2,this[_0x1fb6d7(0x1e8)],void 0x0):this[_0x1fb6d7(0x391)][_0x1fb6d7(0x47c)](_0x1313e5,this[_0x1fb6d7(0x2b0)],this[_0x1fb6d7(0x184)],_0x412725,this[_0x1fb6d7(0x1e8)]);_0x393370['_updateLocalCache'](),this[_0x1fb6d7(0x1e8)][_0x1fb6d7(0x3c2)](this,_0x393370);},_0x35759b);}[_0x4478c1(0x2e1)](){const _0x5c162b=_0x4478c1;var _0x583e53;const _0xafa64b=this[_0x5c162b(0x17a)]['getConfig'](_0x52a52c);return(_0x583e53=_0xafa64b==null?void 0x0:_0xafa64b['sendChangesetTimeout'])!=null?_0x583e53:0x7d0;}[_0x4478c1(0x3bf)](){const _0xe473f8=_0x4478c1;throw new Error(_0xe473f8(0x41a));}[_0x4478c1(0x25a)](){const _0x13737d=_0x4478c1;this['_sendingTimer']!=null&&(clearTimeout(this[_0x13737d(0x2f0)]),this['_sendingTimer']=null);}[_0x4478c1(0xcf)](_0x3b4db5){const _0x235eb6=_0x4478c1;return this[_0x235eb6(0x25a)](),this[_0x235eb6(0x391)][_0x235eb6(0x47c)](_0x582c83,this[_0x235eb6(0x2b0)],this['type'],null,this[_0x235eb6(0x27c)],this[_0x235eb6(0x1e8)],_0x3b4db5);}};_0x28ab15=_0xc5a281([_0x53f2f6(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x53f2f6(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f['RevisionService'])),_0x53f2f6(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2a8)])),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x4b9)]),_0x53f2f6(0x9,_0x3c1a84['ICommandService']),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x56b)]),_0x53f2f6(0xb,_0xa820f[_0x4478c1(0x46b)]),_0x53f2f6(0xc,_0x3c1a84[_0x4478c1(0x3d5)]),_0x53f2f6(0xd,_0x3c1a84[_0x4478c1(0x559)])],_0x28ab15);let _0x1313e5=class extends _0x56a7d8{constructor(_0x133c0f,_0x6f6a63,_0x5f24b2,_0x34c45c,_0x4d0422,_0x234dcb,_0x29c4e5,_0x482564,_0x2d96aa,_0x37bda6,_0x117c51){const _0xba448c=_0x4478c1;super(_0x133c0f,_0x6f6a63,_0x5f24b2,[],_0x34c45c,_0x482564,_0x117c51,_0x234dcb,_0x29c4e5),_0xa880cb(this,'status',_0xba448c(0x4bd)),_0xa880cb(this,_0xba448c(0x36e),0x0),_0xa880cb(this,_0xba448c(0x398)),_0xa880cb(this,_0xba448c(0x56e)),(this[_0xba448c(0x391)]=_0x4d0422,this[_0xba448c(0x4c1)]=_0x2d96aa,this[_0xba448c(0x56c)]=_0x37bda6);}['appendMutation'](_0x20a13e){const _0x3a68e9=_0x4478c1;this['_clearScheduledTask']();const _0x1965a5=this[_0x3a68e9(0x391)][_0x3a68e9(0x47c)](_0xe9ebe7,this[_0x3a68e9(0x2b0)],this[_0x3a68e9(0x184)],this[_0x3a68e9(0x18f)],[_0x20a13e],this[_0x3a68e9(0x1e8)],this[_0x3a68e9(0x398)]);return _0x1965a5[_0x3a68e9(0x2f4)](),_0x1965a5;}['onRemoteChangeset'](_0x55cd0a){const _0x4336d5=_0x4478c1;if(this[_0x4336d5(0x1a0)](_0x55cd0a))return this[_0x4336d5(0x25a)](),this[_0x4336d5(0x391)]['createInstance'](_0x5732a8,this['unitID'],this[_0x4336d5(0x184)],this[_0x4336d5(0x18f)],[],null,[_0x55cd0a],this[_0x4336d5(0x1e8)]);try{const _0x2e6928=this[_0x4336d5(0x56c)][_0x4336d5(0x327)]([_0x55cd0a],[this['_awaitingChangeset']],!0x1);if(_0xa820f[_0x4336d5(0x200)](_0x2e6928)){const {c1Prime:_0x8f5fd1,c2Prime:_0x54c1cc}=_0x2e6928;this[_0x4336d5(0x20d)](_0x8f5fd1[0x0]),_0x54c1cc[0x0]['baseRev']=this[_0x4336d5(0x346)](),this[_0x4336d5(0x25a)]();const _0x47b2d5=this[_0x4336d5(0x391)][_0x4336d5(0x47c)](_0x1313e5,this[_0x4336d5(0x2b0)],this['type'],_0x54c1cc[0x0],this[_0x4336d5(0x1e8)]);return _0x47b2d5[_0x4336d5(0x2f4)](),_0x47b2d5;}return this['_onConflict'](!0x1);}catch(_0xd17315){return this[_0x4336d5(0x4c1)][_0x4336d5(0x17c)](_0xd17315),this[_0x4336d5(0xcf)](!0x1);}}[_0x4478c1(0x2e9)](_0x17b4c3){const _0x2b9739=_0x4478c1;this['_clearScheduledTask']();const _0x294725=this['_revisionService'][_0x2b9739(0x385)](this[_0x2b9739(0x2b0)]);if(_0x17b4c3['revision']<_0x294725-0x1)return this;if(this[_0x2b9739(0x1a0)](_0x17b4c3))return this[_0x2b9739(0x391)][_0x2b9739(0x47c)](_0x5732a8,this[_0x2b9739(0x2b0)],this['type'],null,[],this[_0x2b9739(0x18f)],[],this['_handler']);this[_0x2b9739(0x389)]();const _0x3daf68=this[_0x2b9739(0x391)][_0x2b9739(0x47c)](_0x2956fa,this[_0x2b9739(0x2b0)],this[_0x2b9739(0x184)],this['_handler']);return _0x3daf68[_0x2b9739(0x2f4)](),_0x3daf68;}[_0x4478c1(0x1d2)](_0x3f35d0){return this['_onConflict'](!!(_0x3f35d0!=null&&_0x3f35d0['isPermissionRej']));}[_0x4478c1(0x4ca)](_0x422e69){const _0x397dce=_0x4478c1;return this['_resendTimeout']>_0x350b0e?this[_0x397dce(0x26a)]():(this[_0x397dce(0x398)]=_0x4bbfae(this[_0x397dce(0x36e)],{'timeout':this['_resendTimeout'],'reqId':_0x422e69[_0x397dce(0x28f)]}),this[_0x397dce(0x56e)]=this[_0x397dce(0x398)][_0x397dce(0x3aa)](({reqId:_0x188445,timeout:_0x43b4c4})=>{this['_resendWithTimeout'](_0x188445,_0x43b4c4);}),this);}[_0x4478c1(0x26a)](){const _0x2d5211=_0x4478c1;return this['_clearScheduledTask'](),this[_0x2d5211(0x391)][_0x2d5211(0x47c)](_0x1eb76f,this['unitID'],this[_0x2d5211(0x184)],this['_awaitingChangeset'],[],this[_0x2d5211(0x1e8)]);}['toggleOnline'](){return this;}[_0x4478c1(0x3bf)](){const _0x34cb7a=_0x4478c1;this[_0x34cb7a(0x1e8)][_0x34cb7a(0x23f)](this[_0x34cb7a(0x18f)]);}[_0x4478c1(0xcf)](_0x4e1304){const _0x8d7869=_0x4478c1;return this['_clearScheduledTask'](),this[_0x8d7869(0x391)]['createInstance'](_0x582c83,this[_0x8d7869(0x2b0)],this[_0x8d7869(0x184)],this[_0x8d7869(0x18f)],[],this[_0x8d7869(0x1e8)],_0x4e1304);}[_0x4478c1(0xd8)](_0x5931f7,_0x446603){const _0x4d110f=_0x4478c1;var _0x8606dc;_0x5931f7===((_0x8606dc=this[_0x4d110f(0x18f)])==null?void 0x0:_0x8606dc[_0x4d110f(0x28f)])&&(this[_0x4d110f(0x3bf)](),this[_0x4d110f(0x36e)]=_0x446603===0x0?0x3e8:_0x446603*0x2);}[_0x4478c1(0x25a)](){const _0x41e39a=_0x4478c1;var _0x54b67e;(_0x54b67e=this[_0x41e39a(0x56e)])==null||_0x54b67e[_0x41e39a(0x4e1)](),this[_0x41e39a(0x36e)]=0x0;}};_0x1313e5=_0xc5a281([_0x53f2f6(0x4,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x53f2f6(0x5,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x2c4)])),_0x53f2f6(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x4b9)]),_0x53f2f6(0x9,_0xa820f[_0x4478c1(0x46b)]),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x559)])],_0x1313e5);let _0xe9ebe7=class extends _0x56a7d8{constructor(_0x5920e2,_0x1639d1,_0x3e4b0e,_0x2a7cc6,_0x4be801,_0x3a9fe9,_0x49e631,_0x2e09e6,_0x30953d,_0x673efa,_0x15c855,_0x2c25a1,_0x638815){const _0x3ea7b9=_0x4478c1;super(_0x5920e2,_0x1639d1,_0x3e4b0e,_0x2a7cc6,_0x4be801,_0x673efa,_0x638815,_0x2e09e6,_0x30953d),_0xa880cb(this,_0x3ea7b9(0x12c),'awaiting_with_pending'),_0xa880cb(this,_0x3ea7b9(0x36e),0x0),_0xa880cb(this,_0x3ea7b9(0x398)),_0xa880cb(this,'_sender'),(this['_injector']=_0x49e631,this[_0x3ea7b9(0x4c1)]=_0x15c855,this[_0x3ea7b9(0x56c)]=_0x2c25a1,_0x3a9fe9&&(this[_0x3ea7b9(0x398)]=_0x3a9fe9,this['_sender']=this['_resendTimer'][_0x3ea7b9(0x3aa)](({reqId:_0x144c88,timeout:_0x18c702})=>{const _0x553fa1=_0x3ea7b9;this[_0x553fa1(0xd8)](_0x144c88,_0x18c702);})));}[_0x4478c1(0xe8)](_0x32c66a){const _0x328183=_0x4478c1;return this['_pendingMutations'][_0x328183(0x41b)](_0x32c66a),this;}['onRemoteChangeset'](_0x5664c7){const _0xda4aaf=_0x4478c1;if(this[_0xda4aaf(0x1a0)](_0x5664c7))return this[_0xda4aaf(0x25a)](),this[_0xda4aaf(0x391)][_0xda4aaf(0x47c)](_0x5732a8,this[_0xda4aaf(0x2b0)],this[_0xda4aaf(0x184)],this[_0xda4aaf(0x18f)],this['_pendingMutations'],null,[_0x5664c7],this[_0xda4aaf(0x1e8)]);try{const _0x4140df=this[_0xda4aaf(0x56c)]['transformChangesets']([_0x5664c7],[this[_0xda4aaf(0x18f)]],!0x1);if(_0xa820f['isTransformChangesetsSuccess'](_0x4140df)){const {c1Prime:_0x557a2d,c2Prime:_0x3876b2}=_0x4140df,_0x61be54=this['_transformService'][_0xda4aaf(0x3d2)](_0x557a2d[0x0],this[_0xda4aaf(0x27c)]);if(_0xa820f[_0xda4aaf(0x39e)](_0x61be54)){const {c1Prime:_0x71a87a,m2Prime:_0x180736}=_0x61be54;return this[_0xda4aaf(0x20d)](_0x71a87a),_0x3876b2[0x0][_0xda4aaf(0x116)]=this[_0xda4aaf(0x346)](),this[_0xda4aaf(0x25a)](),this[_0xda4aaf(0x391)][_0xda4aaf(0x47c)](_0xe9ebe7,this[_0xda4aaf(0x2b0)],this[_0xda4aaf(0x184)],_0x3876b2[0x0],_0x180736,this[_0xda4aaf(0x1e8)],void 0x0);}throw _0x61be54[_0xda4aaf(0x17c)];}throw _0x4140df[_0xda4aaf(0x17c)];}catch(_0x2da192){return this[_0xda4aaf(0x4c1)][_0xda4aaf(0x17c)](_0x2da192),this[_0xda4aaf(0xcf)](!0x1);}}[_0x4478c1(0x2e9)](_0x1ae69f){const _0x4d3b50=_0x4478c1;if(this[_0x4d3b50(0x25a)](),this['_checkMissing'](_0x1ae69f))return this['_injector'][_0x4d3b50(0x47c)](_0x5732a8,this['unitID'],this[_0x4d3b50(0x184)],null,this['_pendingMutations'],this[_0x4d3b50(0x18f)],[],this[_0x4d3b50(0x1e8)]);this[_0x4d3b50(0x389)]();const _0x12d99c=this['_injector'][_0x4d3b50(0x47c)](_0x28ab15,this['unitID'],this[_0x4d3b50(0x184)],this[_0x4d3b50(0x27c)],this[_0x4d3b50(0x1e8)]);return _0x12d99c[_0x4d3b50(0x173)](),_0x12d99c[_0x4d3b50(0x2f4)](),_0x12d99c;}[_0x4478c1(0x1d2)](_0x1e8a03){const _0x96e7d8=_0x4478c1;return this[_0x96e7d8(0xcf)](!!(_0x1e8a03!=null&&_0x1e8a03[_0x96e7d8(0x3da)]));}[_0x4478c1(0x4ca)](_0x3e8df0){const _0x105fcb=_0x4478c1;return this[_0x105fcb(0x36e)]>_0x350b0e?this[_0x105fcb(0x26a)]():(this['_resendTimer']=_0x4bbfae(this[_0x105fcb(0x36e)],{'timeout':this['_resendTimeout'],'reqId':_0x3e8df0[_0x105fcb(0x28f)]}),this[_0x105fcb(0x56e)]=this[_0x105fcb(0x398)][_0x105fcb(0x3aa)](({reqId:_0x2c9804,timeout:_0x47fa88})=>{const _0x1690bb=_0x105fcb;this[_0x1690bb(0xd8)](_0x2c9804,_0x47fa88);}),this);}[_0x4478c1(0x26a)](){const _0x249864=_0x4478c1;return this[_0x249864(0x25a)](),this['_injector'][_0x249864(0x47c)](_0x1eb76f,this['unitID'],this[_0x249864(0x184)],this[_0x249864(0x18f)],this['_pendingMutations'],this[_0x249864(0x1e8)]);}['toggleOnline'](){return this;}[_0x4478c1(0x3bf)](){const _0x2286d2=_0x4478c1;this['_handler']['onSendChangeset'](this[_0x2286d2(0x18f)]);}[_0x4478c1(0xcf)](_0x453352){const _0x40b04d=_0x4478c1;return this[_0x40b04d(0x25a)](),this[_0x40b04d(0x391)][_0x40b04d(0x47c)](_0x582c83,this['unitID'],this[_0x40b04d(0x184)],null,this[_0x40b04d(0x27c)],this['_handler'],_0x453352);}[_0x4478c1(0xd8)](_0x492007,_0x340872){const _0x1d2e76=_0x4478c1;var _0x3e5444;_0x492007===((_0x3e5444=this[_0x1d2e76(0x18f)])==null?void 0x0:_0x3e5444['reqId'])&&(this['resend'](),this[_0x1d2e76(0x36e)]=_0x340872===0x0?0x3e8:_0x340872*0x2);}[_0x4478c1(0x25a)](){const _0x3e07d=_0x4478c1;var _0x3e4740;(_0x3e4740=this[_0x3e07d(0x56e)])==null||_0x3e4740[_0x3e07d(0x4e1)](),this[_0x3e07d(0x36e)]=0x0;}};_0xe9ebe7=_0xc5a281([_0x53f2f6(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x53f2f6(0x7,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x2c4)])),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x53f2f6(0x9,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x4b9)]),_0x53f2f6(0xb,_0xa820f[_0x4478c1(0x46b)]),_0x53f2f6(0xc,_0x3c1a84['IUndoRedoService'])],_0xe9ebe7);let _0x582c83=class extends _0x56a7d8{constructor(_0x1296f6,_0x3cb30a,_0x3fd1f6,_0x3b49bb,_0x4fc5e5,_0x414f57=!0x1,_0x290c20,_0x1a3be7,_0xec79e5,_0x5741e2,_0x53c28c,_0x4e2d5d,_0x7394d9){const _0x16f441=_0x4478c1;super(_0x1296f6,_0x3cb30a,_0x3fd1f6,_0x3b49bb,_0x4fc5e5,_0x1a3be7,_0xec79e5,_0x53c28c,_0x5741e2),_0xa880cb(this,_0x16f441(0x12c),_0x16f441(0x538)),(this[_0x16f441(0x535)]=_0x414f57,this[_0x16f441(0x240)]=_0x290c20,this[_0x16f441(0x343)]=_0x4e2d5d,this[_0x16f441(0x503)]=_0x7394d9,this[_0x16f441(0x225)](),this[_0x16f441(0x3db)](),this[_0x16f441(0x197)]());}['appendMutation'](){return this;}[_0x4478c1(0x251)](){return this;}[_0x4478c1(0x2e9)](){return this;}[_0x4478c1(0x1d2)](){return this;}[_0x4478c1(0x4ca)](){return this;}[_0x4478c1(0x26a)](){return this;}[_0x4478c1(0x296)](){return this;}[_0x4478c1(0x3bf)](){const _0x1d1e4e=_0x4478c1;throw new Error(_0x1d1e4e(0x15e));}[_0x4478c1(0x3db)](){const _0x3e5355=_0x4478c1;this[_0x3e5355(0x411)][_0x3e5355(0x573)](this[_0x3e5355(0x2b0)],this[_0x3e5355(0x184)],null,[]);}[_0x4478c1(0x225)](){const _0x2f4543=_0x4478c1;this[_0x2f4543(0x535)]?this['_notificationService'][_0x2f4543(0x26f)]({'title':this[_0x2f4543(0x343)]['t']('permission.title'),'content':this[_0x2f4543(0x343)]['t'](_0x2f4543(0x362)),'type':_0x2f4543(0x17c),'duration':0x0}):this[_0x2f4543(0x503)]['show']({'title':this[_0x2f4543(0x343)]['t'](_0x2f4543(0x25e)),'content':this[_0x2f4543(0x343)]['t'](_0x2f4543(0x357)),'type':'error','duration':0x0});}[_0x4478c1(0x197)](){const _0x2b2b2e=_0x4478c1;this[_0x2b2b2e(0x240)][_0x2b2b2e(0x369)](new _0x16d7e8[(_0x2b2b2e(0x4c2))](this['unitID'])['id'],!0x1);}};_0x582c83=_0xc5a281([_0x53f2f6(0x6,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x45c)])),_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x559)]),_0x53f2f6(0x9,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x2c4)])),_0x53f2f6(0xb,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x53f2f6(0xc,_0xa35fb['INotificationService'])],_0x582c83);let _0x1eb76f=class extends _0x56a7d8{constructor(_0x3b9da8,_0x5d916f,_0x39a21a,_0x281175,_0xf830bc,_0x26c00e,_0x597993,_0x5c2c1b,_0x153456,_0x936d66){const _0x47b976=_0x4478c1;super(_0x3b9da8,_0x5d916f,_0x39a21a,_0x281175,_0xf830bc,_0x153456,_0x936d66,_0x597993,_0x5c2c1b),_0xa880cb(this,_0x47b976(0x12c),_0x47b976(0x42b)),this[_0x47b976(0x391)]=_0x26c00e;}[_0x4478c1(0xe8)](_0x17b6d6){const _0x251c86=_0x4478c1;return this[_0x251c86(0x27c)]['push'](_0x17b6d6),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x122bb8){const _0x49fb13=_0x4478c1;throw new Error(_0x49fb13(0x39a));}['onRemoteAck'](){const _0x6d2a82=_0x4478c1;throw new Error(_0x6d2a82(0x4c6));}['onRemoteRej'](){const _0x32fcf8=_0x4478c1;throw new Error(_0x32fcf8(0x272));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0x52152d=_0x4478c1,{_injector:_0x51648c,_pendingMutations:_0x2fae92,_awaitingChangeset:_0x5b23b0,unitID:_0x1799c7,_handler:_0x12169e,type:_0x328ac3}=this,_0x5bf31e=_0x5759fc(_0x51648c,_0x1799c7,_0x328ac3,_0x5b23b0,_0x2fae92,_0x12169e);return _0x5bf31e instanceof _0x28ab15?_0x5bf31e[_0x52152d(0x173)]():(_0x5bf31e instanceof _0xe9ebe7||_0x5bf31e instanceof _0x1313e5)&&_0x5bf31e[_0x52152d(0x3bf)](),_0x5bf31e;}['resend'](){const _0x62cbab=_0x4478c1;throw new Error(_0x62cbab(0x336));}};_0x1eb76f=_0xc5a281([_0x53f2f6(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['Injector'])),_0x53f2f6(0x6,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x2c4)])),_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0x9,_0x3c1a84[_0x4478c1(0x559)])],_0x1eb76f);let _0x5732a8=class extends _0x56a7d8{constructor(_0x26901b,_0x829e4c,_0xbfaf00,_0x40f4ea,_0x3a7037,_0xc8cb81,_0x408bc7,_0x59d39b,_0x8e42a8,_0x32835b,_0x58fbd8,_0xc4139b,_0x168ead,_0x26f0ea){const _0x3ca983=_0x4478c1;super(_0x26901b,_0x829e4c,_0xbfaf00,_0x40f4ea,_0x408bc7,_0xc4139b,_0x168ead,_0x8e42a8,_0x32835b),_0xa880cb(this,_0x3ca983(0x12c),_0x3ca983(0x3a7)),(this['_acknowledgedAwaitingChangeset']=_0x3a7037,this[_0x3ca983(0x49d)]=_0xc8cb81,this[_0x3ca983(0x391)]=_0x59d39b,this['_logService']=_0x58fbd8,this['_transformService']=_0x26f0ea);}[_0x4478c1(0x482)](_0x2d4a4d){const _0x5cb37c=_0x4478c1;try{const _0x2d3a39=[..._0x2d4a4d,...this['_queuedRemoteChangesets']],_0x12058d=[this[_0x5cb37c(0x18f)]||this[_0x5cb37c(0x31a)]]['filter'](_0x495df1=>!!_0x495df1);let _0x282b5a,_0x41d22e;if(_0x12058d['length']){const _0x3f9216=this[_0x5cb37c(0x56c)][_0x5cb37c(0x327)](_0x2d3a39,_0x12058d,!0x1);if(!_0xa820f[_0x5cb37c(0x200)](_0x3f9216))throw _0x3f9216[_0x5cb37c(0x17c)];_0x282b5a=_0x3f9216[_0x5cb37c(0x337)],_0x41d22e=_0x3f9216[_0x5cb37c(0x2f1)];}else _0x282b5a=_0x2d3a39,_0x41d22e=[];let _0x1f62e9=this[_0x5cb37c(0x27c)];_0x282b5a[_0x5cb37c(0x3b6)](_0x39f2dd=>{const _0x16a038=_0x5cb37c;let _0x4f7bd6;if(_0x1f62e9[_0x16a038(0x315)]){const _0xfb236a=this[_0x16a038(0x56c)][_0x16a038(0x3d2)](_0x39f2dd,_0x1f62e9);if(!_0xa820f[_0x16a038(0x39e)](_0xfb236a))throw _0xfb236a[_0x16a038(0x17c)];_0x4f7bd6=_0xfb236a['c1Prime'],_0x1f62e9=_0xfb236a['m2Prime'];}else _0x4f7bd6=_0x39f2dd;this[_0x16a038(0x20d)](_0x4f7bd6);}),this[_0x5cb37c(0x31a)]&&this['_incrementRevisionNumber'](),this[_0x5cb37c(0x18f)]&&_0x41d22e[_0x5cb37c(0x315)]&&(_0x41d22e[0x0][_0x5cb37c(0x116)]=this[_0x5cb37c(0x346)]());let _0x1c6b52;if(this[_0x5cb37c(0x18f)]&&_0x1f62e9[_0x5cb37c(0x315)]!==0x0)_0x1c6b52=this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0xe9ebe7,this['unitID'],this[_0x5cb37c(0x184)],_0x41d22e[0x0],_0x1f62e9,this[_0x5cb37c(0x1e8)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1f62e9[_0x5cb37c(0x315)]===0x0)_0x41d22e[0x0][_0x5cb37c(0x116)]=this[_0x5cb37c(0x346)](),_0x1c6b52=this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0x1313e5,this[_0x5cb37c(0x2b0)],this[_0x5cb37c(0x184)],_0x41d22e[0x0],this[_0x5cb37c(0x1e8)]);else{if(_0x1f62e9[_0x5cb37c(0x315)]!==0x0){const _0x5f179a=this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0x28ab15,this[_0x5cb37c(0x2b0)],this[_0x5cb37c(0x184)],_0x1f62e9,this[_0x5cb37c(0x1e8)]);_0x5f179a[_0x5cb37c(0x173)](),_0x1c6b52=_0x5f179a;}else _0x1c6b52=this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0x2956fa,this[_0x5cb37c(0x2b0)],this[_0x5cb37c(0x184)],this[_0x5cb37c(0x1e8)]);}}return _0x1c6b52[_0x5cb37c(0x2f4)](),_0x1c6b52;}catch(_0x1f6a39){return this[_0x5cb37c(0x4c1)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x1f6a39),this[_0x5cb37c(0x391)][_0x5cb37c(0x47c)](_0x582c83,this['unitID'],this['type'],this[_0x5cb37c(0x18f)],this[_0x5cb37c(0x27c)],this[_0x5cb37c(0x1e8)],!0x1);}}['resend'](){const _0x238807=_0x4478c1;throw new Error(_0x238807(0x4d2));}[_0x4478c1(0xe8)](_0x1ebdc8){const _0x282356=_0x4478c1;return this[_0x282356(0x27c)][_0x282356(0x41b)](_0x1ebdc8),this;}[_0x4478c1(0x251)](_0x282c2d){const _0x4962c8=_0x4478c1;return this[_0x4962c8(0x49d)][_0x4962c8(0x41b)](_0x282c2d),this;}['onRemoteAck'](_0x8318f7){const _0x524d1b=_0x4478c1;if(this['_awaitingChangeset'])return this[_0x524d1b(0x31a)]=this[_0x524d1b(0x18f)],this[_0x524d1b(0x18f)]=null,this;throw new Error(_0x524d1b(0x297));}['onRemoteRej'](_0x322393){return this['_onConflict'](!!(_0x322393!=null&&_0x322393['isPermissionRej']));}[_0x4478c1(0x4ca)](){return this;}[_0x4478c1(0x26a)](){const _0x6144ca=_0x4478c1;return this['_injector'][_0x6144ca(0x47c)](_0x1eb76f,this[_0x6144ca(0x2b0)],this[_0x6144ca(0x184)],this[_0x6144ca(0x18f)],this['_pendingMutations'],this[_0x6144ca(0x1e8)]);}[_0x4478c1(0x296)](){return this;}['_onConflict'](_0x15f989){const _0x2f5168=_0x4478c1;return this[_0x2f5168(0x391)][_0x2f5168(0x47c)](_0x582c83,this[_0x2f5168(0x2b0)],this[_0x2f5168(0x184)],this[_0x2f5168(0x18f)],this[_0x2f5168(0x27c)],this[_0x2f5168(0x1e8)],_0x15f989);}};_0x5732a8=_0xc5a281([_0x53f2f6(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['Injector'])),_0x53f2f6(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f['RevisionService'])),_0x53f2f6(0x9,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x53f2f6(0xa,_0x3c1a84[_0x4478c1(0x4b9)]),_0x53f2f6(0xb,_0x3c1a84[_0x4478c1(0x3fd)]),_0x53f2f6(0xc,_0x3c1a84[_0x4478c1(0x559)]),_0x53f2f6(0xd,_0xa820f[_0x4478c1(0x46b)])],_0x5732a8);function _0x5759fc(_0x35d81d,_0x4636d2,_0x114103,_0x27a877,_0x3a5f3f,_0x359896){const _0xf9dcac=_0x4478c1;return _0x27a877&&_0x3a5f3f['length']?_0x35d81d[_0xf9dcac(0x47c)](_0xe9ebe7,_0x4636d2,_0x114103,_0x27a877,_0x3a5f3f,_0x359896,void 0x0):_0x27a877?_0x35d81d[_0xf9dcac(0x47c)](_0x1313e5,_0x4636d2,_0x114103,_0x27a877,_0x359896):_0x3a5f3f['length']?_0x35d81d[_0xf9dcac(0x47c)](_0x28ab15,_0x4636d2,_0x114103,_0x3a5f3f,_0x359896):_0x35d81d[_0xf9dcac(0x47c)](_0x2956fa,_0x4636d2,_0x114103,_0x359896);}var _0x1f032d=Object[_0x4478c1(0x19b)],_0x25e268=Object[_0x4478c1(0x4d8)],_0x4d2199=(_0x4eca4a,_0x3214cf,_0x8ed185,_0x412194)=>{const _0x331c50=_0x4478c1;for(var _0x30d7f5=_0x412194>0x1?void 0x0:_0x412194?_0x25e268(_0x3214cf,_0x8ed185):_0x3214cf,_0x3b00f2=_0x4eca4a[_0x331c50(0x315)]-0x1,_0x2c0ac8;_0x3b00f2>=0x0;_0x3b00f2--)(_0x2c0ac8=_0x4eca4a[_0x3b00f2])&&(_0x30d7f5=(_0x412194?_0x2c0ac8(_0x3214cf,_0x8ed185,_0x30d7f5):_0x2c0ac8(_0x30d7f5))||_0x30d7f5);return _0x412194&&_0x30d7f5&&_0x1f032d(_0x3214cf,_0x8ed185,_0x30d7f5),_0x30d7f5;},_0x3584ed=(_0x31ca88,_0x2eb71f)=>(_0x292726,_0xf2ed60)=>_0x2eb71f(_0x292726,_0xf2ed60,_0x31ca88);_0x1191ba[_0x4478c1(0x2c6)]=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x51597d,_0x461a36,_0x2545ed,_0x4fbe58,_0xe4dc66,_0x1d86fd,_0xa98843,_0x13e5e4,_0x16c3e3,_0xdf40dd,_0x5a04a7,_0x2e854a,_0x3d63b9){const _0x48db60=_0x4478c1;super(),_0xa880cb(this,_0x48db60(0x54c),new _0x818dd8[(_0x48db60(0x122))](null)),_0xa880cb(this,_0x48db60(0x11f),this[_0x48db60(0x54c)][_0x48db60(0xca)]()),_0xa880cb(this,'_state'),_0xa880cb(this,_0x48db60(0x134),!0x1),_0xa880cb(this,_0x48db60(0x37c),''),_0xa880cb(this,_0x48db60(0x531),0x0),_0xa880cb(this,_0x48db60(0x34d),this[_0x48db60(0x11f)][_0x48db60(0x4c4)](_0x818dd8[_0x48db60(0x20e)](_0x3d2766=>_0x3d2766?_0x3d2766[_0x48db60(0x12c)]:_0x2683d3[_0x48db60(0x423)]),_0x818dd8['shareReplay'](0x1))),_0xa880cb(this,_0x48db60(0xdd),!0x1),_0xa880cb(this,_0x48db60(0x463),[]),(this[_0x48db60(0x2b0)]=_0x51597d,this['session']=_0x461a36,this[_0x48db60(0x286)]=_0x2545ed,this[_0x48db60(0x391)]=_0x4fbe58,this[_0x48db60(0x411)]=_0xe4dc66,this[_0x48db60(0xce)]=_0x1d86fd,this[_0x48db60(0x343)]=_0xa98843,this[_0x48db60(0x403)]=_0x13e5e4,this[_0x48db60(0x4c1)]=_0x16c3e3,this[_0x48db60(0x292)]=_0xdf40dd,this[_0x48db60(0x183)]=_0x5a04a7,this[_0x48db60(0x240)]=_0x2e854a,this[_0x48db60(0x471)]=_0x3d63b9);}get[_0x4478c1(0x1b0)](){const _0x103110=_0x4478c1;return this[_0x103110(0x390)];}async[_0x4478c1(0x479)](){const _0x4527f7=_0x4478c1;if(this[_0x4527f7(0x1b0)])throw new Error(_0x4527f7(0x3bb));await this['_init']();}[_0x4478c1(0x290)](){const _0x291ca1=_0x4478c1;return this[_0x291ca1(0x134)]=!0x0,_0x3c1a84[_0x291ca1(0xde)](()=>{const _0x21b332=_0x291ca1;this['_collaborationPaused']=!0x1,this[_0x21b332(0x3d9)]();});}[_0x4478c1(0x3fc)](_0x198e19){const _0x250da6=_0x4478c1;this['_state']=_0x198e19,this['_state$'][_0x250da6(0xdb)](_0x198e19);}async[_0x4478c1(0x12b)](){const _0x2e012b=_0x4478c1;var _0x3d465e;this[_0x2e012b(0x3fc)](await this[_0x2e012b(0x1b9)]()),this['_singleActiveUnitService']&&((_0x3d465e=this[_0x2e012b(0x471)])==null||_0x3d465e[_0x2e012b(0x2a3)](this['unitID']),this[_0x2e012b(0xe5)](this[_0x2e012b(0x471)][_0x2e012b(0x438)](this['unitID'])['subscribe'](_0x11783c=>{const _0x38dcc9=_0x2e012b;this['_logService']['debug'](_0x38dcc9(0x4b7),_0x38dcc9(0x4ab),_0x11783c),_0x11783c===_0x49ccfb[_0x38dcc9(0x546)]?(this[_0x38dcc9(0x183)][_0x38dcc9(0x26f)]({'content':this[_0x38dcc9(0x343)]['t'](_0x38dcc9(0x120)),'type':_0x39c661[_0x38dcc9(0x1fe)]['Warning']}),this[_0x38dcc9(0x240)]['updatePermissionPoint'](new _0x16d7e8[(_0x38dcc9(0x4c2))](this['unitID'])['id'],!0x1),this[_0x38dcc9(0x240)][_0x38dcc9(0xcd)](!0x1)):(this[_0x38dcc9(0x240)][_0x38dcc9(0x369)](new _0x16d7e8['WorkbookEditablePermission'](this[_0x38dcc9(0x2b0)])['id'],!0x0),this[_0x38dcc9(0x240)]['setShowComponents'](!0x0));})));let _0x2e0ef4=!0x1;return this['disposeWithMe'](this[_0x2e012b(0x4d3)][_0x2e012b(0x1ed)][_0x2e012b(0x3aa)](_0x36dabc=>{const _0x3d6b66=_0x2e012b;_0x36dabc===_0x417df1[_0x3d6b66(0x150)]?this[_0x3d6b66(0xfc)](_0x2e0ef4):_0x36dabc===_0x417df1[_0x3d6b66(0x423)]&&(_0x2e0ef4=!0x0,this[_0x3d6b66(0x31d)]());})),this['disposeWithMe'](this[_0x2e012b(0x4d3)][_0x2e012b(0x3fb)][_0x2e012b(0x3aa)](_0x504610=>{const _0x2b0751=_0x2e012b;try{switch(_0x504610[_0x2b0751(0x204)]){case _0xa820f[_0x2b0751(0x12d)][_0x2b0751(0x39c)]:{this[_0x2b0751(0x2c2)](_0xa820f[_0x2b0751(0x16e)](_0x504610[_0x2b0751(0x2d6)]));break;}case _0xa820f[_0x2b0751(0x12d)][_0x2b0751(0x4fc)]:{this[_0x2b0751(0x118)](_0x504610[_0x2b0751(0x2d6)]);break;}case _0xa820f['CollaborationEvent'][_0x2b0751(0x572)]:{this[_0x2b0751(0x234)]();break;}case _0xa820f[_0x2b0751(0x12d)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x504610[_0x2b0751(0x2d6)]);break;}case _0xa820f['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2b0751(0x43f)](_0x504610[_0x2b0751(0x2d6)][_0x2b0751(0xea)][_0x2b0751(0x20e)](_0x1e50c2=>_0xa820f['parseProtocolChangeset'](_0x1e50c2)));break;}case _0xa820f[_0x2b0751(0x12d)][_0x2b0751(0x375)]:this[_0x2b0751(0x234)]({'isPermissionRej':!0x0});}}catch(_0xce410c){throw console[_0x2b0751(0x17c)](_0x2b0751(0x260),_0xce410c),_0xce410c;}})),this['_state'];}[_0x4478c1(0x17e)](){const _0x26ce59=_0x4478c1;this[_0x26ce59(0xdd)]=!0x1;}[_0x4478c1(0x2be)](){const _0x583cbe=_0x4478c1;if(this[_0x583cbe(0xdd)])throw new Error(_0x583cbe(0x2a7));this[_0x583cbe(0xdd)]=!0x0;}['_onLocalMutation'](_0x4653f8){const _0x44b5de=_0x4478c1;this[_0x44b5de(0x2be)](),this[_0x44b5de(0x3fc)](this[_0x44b5de(0x390)][_0x44b5de(0xe8)](_0x4653f8)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x5f0db2){const _0x4c02e7=_0x4478c1;if(!(_0x5f0db2['revision']<=this[_0x4c02e7(0x403)][_0x4c02e7(0x385)](this[_0x4c02e7(0x2b0)]))){if(this[_0x4c02e7(0x134)]){this[_0x4c02e7(0x463)]['push'](_0x5f0db2);return;}this[_0x4c02e7(0x485)](_0x5f0db2);}}[_0x4478c1(0x3d9)](){const _0x6b6e3d=_0x4478c1;this[_0x6b6e3d(0x463)][_0x6b6e3d(0x3b6)](_0x1f4e73=>this[_0x6b6e3d(0x485)](_0x1f4e73)),this[_0x6b6e3d(0x463)]=[];}[_0x4478c1(0x485)](_0x18595e){const _0x11366b=_0x4478c1,_0xe0208a=this[_0x11366b(0xce)][_0x11366b(0x536)]['fetchThroughInterceptors'](this[_0x11366b(0xce)]['interceptor'][_0x11366b(0x3b8)]()['COMPRESS_MUTATION_APPLY'])(_0x18595e[_0x11366b(0x213)],null)||_0x18595e[_0x11366b(0x213)],_0x259f78={..._0x18595e,'mutations':_0xe0208a};this[_0x11366b(0x2be)](),this['_updateState'](this[_0x11366b(0x390)][_0x11366b(0x251)](_0x259f78)),this[_0x11366b(0x17e)]();}['_onRemoteACK'](_0x4d1e9b){const _0x2744ad=_0x4478c1;this[_0x2744ad(0x2be)](),this['_updateState'](this[_0x2744ad(0x390)][_0x2744ad(0x2e9)](_0x4d1e9b)),this['_unlockTransition']();}[_0x4478c1(0x234)](_0x2189e8){const _0x21f695=_0x4478c1;this[_0x21f695(0x2be)](),this['_updateState'](this['_state'][_0x21f695(0x1d2)](_0x2189e8)),this[_0x21f695(0x17e)]();}[_0x4478c1(0x30f)](_0x51fe46){const _0x5834b6=_0x4478c1;this['_lockTransition'](),this[_0x5834b6(0x3fc)](this[_0x5834b6(0x390)][_0x5834b6(0x4ca)](_0x51fe46)),this[_0x5834b6(0x17e)]();}['_onFetchMissResult'](_0x39c61c){const _0x122154=_0x4478c1;if(!(this['_state']instanceof _0x5732a8))throw new TypeError(_0x122154(0x44e));const _0x40b7dd=_0x39c61c[_0x122154(0x20e)](_0x2882f2=>{const _0x266b31=_0x122154,_0x2ab7af=this[_0x266b31(0xce)][_0x266b31(0x536)]['fetchThroughInterceptors'](this[_0x266b31(0xce)]['interceptor'][_0x266b31(0x3b8)]()[_0x266b31(0x4f3)])(_0x2882f2[_0x266b31(0x213)],null)||_0x2882f2[_0x266b31(0x213)];return{..._0x2882f2,'mutations':_0x2ab7af};});this['_lockTransition'](),this[_0x122154(0x3fc)](this['_state']['onMissedChangesetFetched'](_0x40b7dd)),this[_0x122154(0x17e)]();}['_toggleOffline'](){const _0x2069ac=_0x4478c1;this['_lockTransition'](),this['_updateState'](this[_0x2069ac(0x390)]['toggleOffline']()),this[_0x2069ac(0x17e)]();}[_0x4478c1(0xfc)](_0x49ea6c=!0x1){const _0xddf9=_0x4478c1;this[_0xddf9(0x2be)](),this[_0xddf9(0x3fc)](this[_0xddf9(0x390)][_0xddf9(0x296)]()),this[_0xddf9(0x17e)]();const _0x4e2e9e=this[_0xddf9(0x390)];_0x49ea6c&&_0x4e2e9e instanceof _0x2956fa&&(this['_lockTransition'](),this[_0xddf9(0x3fc)](_0x4e2e9e[_0xddf9(0x1e6)]()),this[_0xddf9(0x17e)]());}async[_0x4478c1(0x1b9)](){return new Promise(_0x1273dc=>{const _0x22d182=_0x406b;this[_0x22d182(0x4d3)][_0x22d182(0x1ed)][_0x22d182(0x4c4)](_0x818dd8[_0x22d182(0x135)](0x1))['subscribe'](async _0xf8b764=>{const _0x3ae7d9=_0x22d182;_0x1273dc(await this[_0x3ae7d9(0x2bc)](_0xf8b764===_0x417df1[_0x3ae7d9(0x150)]));});});}[_0x4478c1(0x3cc)](){const _0xdb8005=_0x4478c1,_0x1d7d56=this[_0xdb8005(0x2b0)];return{'onStateChange':(_0x3fa9b8,_0x39d9fb)=>{const _0x14f6c8=_0xdb8005;if(_0x3fa9b8!==this['_state'])throw new Error(_0x14f6c8(0x21b)+_0x3fa9b8[_0x14f6c8(0x12c)]+_0x14f6c8(0x3ab)+_0x39d9fb[_0x14f6c8(0x12c)]+'\x0aCurrent:\x20'+this[_0x14f6c8(0x390)][_0x14f6c8(0x12c)]);this[_0x14f6c8(0x3fc)](_0x39d9fb);},'onSendChangeset':_0x414778=>{const _0x384217=_0xdb8005;_0x414778[_0x384217(0x2cc)]||(_0x414778[_0x384217(0x2cc)]=this[_0x384217(0x37c)],_0x414778['reqId']=++this[_0x384217(0x531)]);const _0x459e94={'eventID':_0xa820f[_0x384217(0x12d)][_0x384217(0x3a5)],'data':{'unitID':_0x414778[_0x384217(0x2b0)],'unitType':this[_0x384217(0x286)],'changeset':_0x414778,'memberID':this['session'][_0x384217(0x4a8)]()}};this[_0x384217(0x4d3)][_0x384217(0x51b)](_0x459e94,this[_0x384217(0x2b0)]);},'onMissingChangesets':({from:_0x215fd8,to:_0x2638c3})=>{const _0x366667=_0xdb8005;this[_0x366667(0x4c1)][_0x366667(0x1d9)](_0x366667(0x4b7),_0x366667(0x29d)+_0x215fd8+_0x366667(0x16d)+_0x2638c3);const _0x57d504={'eventID':_0xa820f['CollaborationEvent'][_0x366667(0x478)],'data':{'unitID':_0x1d7d56,'unitType':this[_0x366667(0x286)],'from':_0x215fd8,'to':_0x2638c3}};this[_0x366667(0x4d3)][_0x366667(0x51b)](_0x57d504,this['unitID']);}};}async[_0x4478c1(0x2bc)](_0x114534){const _0x2d7528=_0x4478c1;var _0x2814ea,_0x152670;const _0x35ba5a=await this['_localCacheService'][_0x2d7528(0xb0)](this[_0x2d7528(0x2b0)]),_0x45d8c8=(_0x2814ea=_0x35ba5a==null?void 0x0:_0x35ba5a['mutations'])!=null?_0x2814ea:[],_0x1b032b=(_0x152670=_0x35ba5a==null?void 0x0:_0x35ba5a['awaitingChangeset'])!=null?_0x152670:null,_0x19605f=!!(_0x1b032b!=null&&_0x1b032b[_0x2d7528(0x2cc)])&&!!(_0x1b032b!=null&&_0x1b032b[_0x2d7528(0x28f)]);this[_0x2d7528(0x37c)]=_0x19605f?_0x1b032b[_0x2d7528(0x2cc)]:_0x1ad90a(),this['_changesetReqId']=_0x19605f?_0x1b032b['reqId']:0x0;const _0x3c621c=this[_0x2d7528(0x2b0)];try{this[_0x2d7528(0x228)](_0x1b032b,_0x45d8c8);}catch(_0x2cf4f0){this['_logService']['error'](_0x2cf4f0);}const _0x457da7=this[_0x2d7528(0x3cc)]();if(_0x114534){const _0x1d0cff=_0x5759fc(this[_0x2d7528(0x391)],_0x3c621c,this[_0x2d7528(0x286)],_0x1b032b,_0x45d8c8,_0x457da7);return _0x1d0cff instanceof _0x28ab15?_0x1d0cff[_0x2d7528(0x173)]():(_0x1d0cff instanceof _0xe9ebe7||_0x1d0cff instanceof _0x1313e5)&&_0x1d0cff['resend'](),_0x1d0cff;}return this[_0x2d7528(0x391)][_0x2d7528(0x47c)](_0x1eb76f,_0x3c621c,this[_0x2d7528(0x286)],_0x1b032b,_0x45d8c8,_0x457da7);}[_0x4478c1(0x228)](_0x22708e,_0x87f933){const _0x377cb5=_0x4478c1;var _0x556ff9,_0x287dd8;const _0x117c84=this[_0x377cb5(0xce)][_0x377cb5(0x536)][_0x377cb5(0x4cb)](this[_0x377cb5(0xce)][_0x377cb5(0x536)][_0x377cb5(0x3b8)]()[_0x377cb5(0x4f3)]);(_0x556ff9=_0x117c84((_0x22708e==null?void 0x0:_0x22708e['mutations'])||[],null))==null||_0x556ff9[_0x377cb5(0x3b6)](_0x24cbe3=>this[_0x377cb5(0x292)]['executeCommand'](_0x24cbe3['id'],_0x24cbe3[_0x377cb5(0x1a8)])),(_0x287dd8=_0x117c84(_0x87f933||[],null))==null||_0x287dd8[_0x377cb5(0x3b6)](_0x496cf8=>this[_0x377cb5(0x292)]['executeCommand'](_0x496cf8['id'],_0x496cf8[_0x377cb5(0x1a8)]));}},_0x1191ba[_0x4478c1(0x2c6)]=_0x4d2199([_0x3584ed(0x3,_0x3c1a84['Inject'](_0x3c1a84['Injector'])),_0x3584ed(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1cd)])),_0x3584ed(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x461)])),_0x3584ed(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)])),_0x3584ed(0x7,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x2c4)])),_0x3584ed(0x8,_0x3c1a84[_0x4478c1(0x4b9)]),_0x3584ed(0x9,_0x3c1a84['ICommandService']),_0x3584ed(0xa,_0xa35fb[_0x4478c1(0x12e)]),_0x3584ed(0xb,_0x3c1a84['IPermissionService']),_0x3584ed(0xc,_0x3c1a84['Optional'](_0x276cf0))],_0x1191ba[_0x4478c1(0x2c6)]),_0x1191ba[_0x4478c1(0x12f)]=class extends _0x1191ba[_0x4478c1(0x2c6)]{constructor(_0xae99f7,_0x293260,_0x5df2c4,_0x7c7533,_0x3aaaf3,_0x28120c,_0x36ef8c,_0x17213b,_0x18fe6b,_0x2e2c08,_0x51ce9f,_0x2b4a9b,_0xedfe50,_0x14b089,_0x154fff,_0x130a34,_0x3e2696,_0x22a8a0){const _0x7e210a=_0x4478c1;super(_0xae99f7,_0x5df2c4,_0x293260,_0x7c7533,_0x3aaaf3,_0x28120c,_0x36ef8c,_0x17213b,_0x14b089,_0x154fff,_0x130a34,_0x3e2696,_0x22a8a0),this['unitID']=_0xae99f7,this['type']=_0x293260,this['_docStateChangeManagerService']=_0x18fe6b,this[_0x7e210a(0x548)]=_0x2e2c08,this[_0x7e210a(0x2d5)]=_0x51ce9f,this[_0x7e210a(0x131)]=_0x2b4a9b,this[_0x7e210a(0x1a9)]=_0xedfe50;}['_createHandler'](){const _0x52bc35=_0x4478c1,_0x4696b9=super[_0x52bc35(0x3cc)]();return _0x4696b9[_0x52bc35(0x529)]=_0x5a11b9=>this['_docTransformIMECacheService'][_0x52bc35(0x2b1)](_0x5a11b9),_0x4696b9[_0x52bc35(0x2f6)]=_0x60ef86=>this['_docTransformStateCacheService'][_0x52bc35(0x4eb)](_0x60ef86),_0x4696b9[_0x52bc35(0x408)]=_0x548507=>this['_docTransformSelectionsService'][_0x52bc35(0x237)](_0x548507),_0x4696b9[_0x52bc35(0x4a4)]=_0x19696d=>this[_0x52bc35(0x1a9)][_0x52bc35(0xe0)](_0x19696d),_0x4696b9['onTransformRemoteChangesetByIMECache']=_0x3a1e1f=>this[_0x52bc35(0x548)]['transformRemoteChangeset'](_0x3a1e1f),_0x4696b9[_0x52bc35(0xf7)]=_0x277814=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x277814),_0x4696b9;}async['_init'](){const _0x4733db=_0x4478c1,_0x3a1124=await super[_0x4733db(0x12b)]();return this[_0x4733db(0xe5)](this[_0x4733db(0x340)][_0x4733db(0x305)]['pipe'](_0x818dd8[_0x4733db(0x439)](this[_0x4733db(0x23a)]))[_0x4733db(0x3aa)](_0xa37eb0=>{const _0xd9cb4f=_0x4733db;if(_0xa37eb0==null)return;const {unitId:_0x3a81bc,redoState:_0x1dd099,commandId:_0x33c0ac}=_0xa37eb0;if(_0x3a81bc!==this['unitID'])return;const _0x267f64={'id':_0x33c0ac,'type':_0x3c1a84[_0xd9cb4f(0x38a)][_0xd9cb4f(0x521)],'params':{'unitId':_0x3a81bc,'actions':_0x1dd099[_0xd9cb4f(0x156)],'textRanges':null}};this[_0xd9cb4f(0x229)](_0x267f64);})),this[_0x4733db(0xe5)](this[_0x4733db(0x292)][_0x4733db(0x4ad)]((_0x120c8b,_0x21c628)=>{const _0x4b8c46=_0x4733db;if(_0x120c8b[_0x4b8c46(0x184)]!==_0x3c1a84['CommandType'][_0x4b8c46(0x521)]||_0x21c628!=null&&_0x21c628[_0x4b8c46(0x378)]||_0x21c628!=null&&_0x21c628[_0x4b8c46(0xb3)]||_0x120c8b['id']===_0x2a5ff4['RichTextEditingMutation']['id'])return;const _0x562491=_0x120c8b[_0x4b8c46(0x1a8)];if((_0x562491==null?void 0x0:_0x562491['unitId'])!==this[_0x4b8c46(0x2b0)])return;const _0x23d932=_0x120c8b,_0x200ad2=this[_0x4b8c46(0xce)][_0x4b8c46(0x536)][_0x4b8c46(0x4cb)](this[_0x4b8c46(0xce)]['interceptor']['getInterceptPoints']()[_0x4b8c46(0x43b)])([_0x23d932],null)||[_0x23d932];this[_0x4b8c46(0x229)](_0x200ad2[0x0]);})),_0x3a1124;}},_0x1191ba[_0x4478c1(0x12f)]=_0x4d2199([_0x3584ed(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x3584ed(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x3584ed(0x5,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x461)])),_0x3584ed(0x6,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x3ff)])),_0x3584ed(0x7,_0x3c1a84['Inject'](_0xa820f['RevisionService'])),_0x3584ed(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0x488d74[_0x4478c1(0x50e)])),_0x3584ed(0x9,_0x3c1a84[_0x4478c1(0x3dc)](_0xdec374)),_0x3584ed(0xa,_0x3c1a84[_0x4478c1(0x3dc)](_0x4a0baf)),_0x3584ed(0xb,_0x3c1a84[_0x4478c1(0x3dc)](_0x3d4e9f)),_0x3584ed(0xc,_0x3c1a84[_0x4478c1(0x3dc)](_0x159dfb)),_0x3584ed(0xd,_0x3c1a84[_0x4478c1(0x4b9)]),_0x3584ed(0xe,_0x3c1a84[_0x4478c1(0x3fd)]),_0x3584ed(0xf,_0xa35fb[_0x4478c1(0x12e)]),_0x3584ed(0x10,_0x3c1a84['IPermissionService']),_0x3584ed(0x11,_0x3c1a84['Optional'](_0x276cf0))],_0x1191ba['DocCollaborationEntity']),_0x1191ba[_0x4478c1(0xe3)]=class extends _0x1191ba[_0x4478c1(0x2c6)]{constructor(_0x1fc239,_0x5bd827,_0x250f46,_0x4511c3,_0x42516e,_0x56b267,_0x5e205b,_0x12ff64,_0x22298b,_0x2fba3b,_0x1dfb12,_0x1335f7,_0x305be7,_0x4f592c){const _0x4741c4=_0x4478c1;super(_0x1fc239,_0x250f46,_0x5bd827,_0x4511c3,_0x42516e,_0x56b267,_0x5e205b,_0x12ff64,_0x2fba3b,_0x1dfb12,_0x1335f7,_0x305be7,_0x4f592c),this[_0x4741c4(0x2b0)]=_0x1fc239,this[_0x4741c4(0x184)]=_0x5bd827,this[_0x4741c4(0x404)]=_0x22298b;}['_createHandler'](){const _0x34118f=_0x4478c1,_0x5d7fb0=super['_createHandler']();return _0x5d7fb0['onTransformSelections']=_0x53ad95=>this['_sheetTransformSelectionsService'][_0x34118f(0x237)](_0x53ad95),_0x5d7fb0;}async['_init'](){const _0x9e9f25=_0x4478c1,_0x53c0ae=await super[_0x9e9f25(0x12b)]();return this['disposeWithMe'](this[_0x9e9f25(0x292)][_0x9e9f25(0x4ad)]((_0x4ba870,_0x5cc821)=>{const _0x5e31d3=_0x9e9f25;if(_0x4ba870[_0x5e31d3(0x184)]!==_0x3c1a84[_0x5e31d3(0x38a)][_0x5e31d3(0x521)]||_0x5cc821!=null&&_0x5cc821[_0x5e31d3(0x378)]||_0x5cc821!=null&&_0x5cc821[_0x5e31d3(0xb3)])return;const _0x235e63=_0x4ba870[_0x5e31d3(0x1a8)];if((_0x235e63==null?void 0x0:_0x235e63[_0x5e31d3(0x214)])!==this[_0x5e31d3(0x2b0)])return;const _0x256dfd=_0x4ba870,_0x26a552=this[_0x5e31d3(0xce)]['interceptor'][_0x5e31d3(0x4cb)](this[_0x5e31d3(0xce)][_0x5e31d3(0x536)][_0x5e31d3(0x3b8)]()[_0x5e31d3(0x43b)])([_0x256dfd],null)||[_0x256dfd];this[_0x5e31d3(0x229)](_0x26a552[0x0]);})),_0x53c0ae;}},_0x1191ba[_0x4478c1(0xe3)]=_0x4d2199([_0x3584ed(0x3,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x3584ed(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x3584ed(0x5,_0x3c1a84['Inject'](_0xa820f[_0x4478c1(0x461)])),_0x3584ed(0x6,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['LocaleService'])),_0x3584ed(0x7,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x2c4)])),_0x3584ed(0x8,_0x3c1a84[_0x4478c1(0x3dc)](_0x3f146d)),_0x3584ed(0x9,_0x3c1a84['ILogService']),_0x3584ed(0xa,_0x3c1a84[_0x4478c1(0x3fd)]),_0x3584ed(0xb,_0xa35fb['IMessageService']),_0x3584ed(0xc,_0x3c1a84[_0x4478c1(0x45c)]),_0x3584ed(0xd,_0x3c1a84[_0x4478c1(0x40b)](_0x276cf0))],_0x1191ba[_0x4478c1(0xe3)]);var _0x583a84=Object['defineProperty'],_0x48a73e=Object['getOwnPropertyDescriptor'],_0xa38291=(_0x1c8f6d,_0x12c8d5,_0x253273,_0x36cc0a)=>{const _0x3152b9=_0x4478c1;for(var _0x320864=_0x36cc0a>0x1?void 0x0:_0x36cc0a?_0x48a73e(_0x12c8d5,_0x253273):_0x12c8d5,_0x253518=_0x1c8f6d[_0x3152b9(0x315)]-0x1,_0x3ab6e1;_0x253518>=0x0;_0x253518--)(_0x3ab6e1=_0x1c8f6d[_0x253518])&&(_0x320864=(_0x36cc0a?_0x3ab6e1(_0x12c8d5,_0x253273,_0x320864):_0x3ab6e1(_0x320864))||_0x320864);return _0x36cc0a&&_0x320864&&_0x583a84(_0x12c8d5,_0x253273,_0x320864),_0x320864;},_0x37de54=(_0x22c9bf,_0x20adee)=>(_0x149574,_0x4b5372)=>_0x20adee(_0x149574,_0x4b5372,_0x22c9bf);_0x1191ba[_0x4478c1(0x1ca)]=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x31bf14,_0x4b290d,_0x4d5822){const _0x127ef8=_0x4478c1;super(),_0xa880cb(this,_0x127ef8(0x38c),new Map()),_0xa880cb(this,_0x127ef8(0x54f),new _0x818dd8[(_0x127ef8(0x245))]()),(this[_0x127ef8(0x391)]=_0x31bf14,this[_0x127ef8(0x49c)]=_0x4b290d,this[_0x127ef8(0x35b)]=_0x4d5822,this[_0x127ef8(0x12b)]());}['dispose'](){const _0x1690d1=_0x4478c1;super[_0x1690d1(0x4e7)](),this[_0x1690d1(0x38c)][_0x1690d1(0x3b6)](_0x158b4b=>_0x158b4b[_0x1690d1(0x4e7)]()),this['_entities'][_0x1690d1(0x285)]();}[_0x4478c1(0x410)](_0x628630){const _0x176de5=_0x4478c1;var _0x111c9e;return(_0x111c9e=this[_0x176de5(0x38c)][_0x176de5(0x115)](_0x628630))!=null?_0x111c9e:null;}[_0x4478c1(0x38e)](_0x476d5b){const _0x74f3b=_0x4478c1,_0x5159d3=this[_0x74f3b(0x410)](_0x476d5b);return _0x5159d3?_0x818dd8['of'](_0x5159d3):this['_entityInit$'][_0x74f3b(0x4c4)](_0x58132b[_0x74f3b(0x3a9)](_0x421d10=>_0x421d10[_0x74f3b(0x2b0)]===_0x476d5b));}[_0x4478c1(0x12b)](){const _0x358458=_0x4478c1;this[_0x358458(0x35b)]['getTypeOfUnitAdded$'](_0x3c1a84[_0x358458(0x2d9)][_0x358458(0x13a)])[_0x358458(0x4c4)](_0x818dd8[_0x358458(0x439)](this[_0x358458(0x23a)]),_0x58132b[_0x358458(0x129)](0x10))[_0x358458(0x3aa)](async _0x27d437=>{const _0x66a1ee=_0x358458,_0x3df947=_0x27d437[_0x66a1ee(0x2b5)](),_0x64fd77=await this[_0x66a1ee(0x1ff)](_0x3df947,_0x4d76be[_0x66a1ee(0x13a)]);this['_entities']['set'](_0x3df947,_0x64fd77);}),this[_0x358458(0x35b)][_0x358458(0x3d1)](_0x3c1a84['UniverInstanceType'][_0x358458(0x3d0)])['pipe'](_0x818dd8[_0x358458(0x439)](this[_0x358458(0x23a)]),_0x58132b[_0x358458(0x129)](0x10))['pipe'](_0x58132b[_0x358458(0x3a9)](_0x26e838=>!_0x26e838[_0x358458(0x2b5)]()[_0x358458(0x1c7)]('__')))[_0x358458(0x3aa)](async _0x4c013f=>{const _0x23f03a=_0x358458,_0x2d2eaf=_0x4c013f[_0x23f03a(0x2b5)](),_0x5e7cf3=await this[_0x23f03a(0x1ff)](_0x2d2eaf,_0x4d76be['UNIVER_DOC']);this[_0x23f03a(0x38c)][_0x23f03a(0x53e)](_0x2d2eaf,_0x5e7cf3);}),_0x818dd8[_0x358458(0x356)](this[_0x358458(0x35b)][_0x358458(0x44b)](_0x3c1a84['UniverInstanceType'][_0x358458(0x13a)]),this[_0x358458(0x35b)][_0x358458(0x44b)](_0x3c1a84[_0x358458(0x2d9)][_0x358458(0x3d0)]))[_0x358458(0x4c4)](_0x818dd8['takeUntil'](this[_0x358458(0x23a)]))[_0x358458(0x3aa)](_0x20ac83=>{const _0x4890c0=_0x358458,_0x33a9de=_0x20ac83[_0x4890c0(0x2b5)](),_0x3547cf=this['_entities']['get'](_0x33a9de);_0x3547cf&&(_0x3547cf['dispose'](),this['_entities'][_0x4890c0(0x354)](_0x33a9de));});}async['_startCollaboration'](_0x31f10e,_0x520353){const _0x58e6f9=_0x4478c1,_0x5ce32c=await this[_0x58e6f9(0x49c)][_0x58e6f9(0x11c)](_0x31f10e),_0x434f2c=this[_0x58e6f9(0x391)][_0x58e6f9(0x47c)](this[_0x58e6f9(0x3b4)](_0x520353),_0x31f10e,_0x520353,_0x5ce32c);return await _0x434f2c[_0x58e6f9(0x479)](),this[_0x58e6f9(0x54f)][_0x58e6f9(0xdb)](_0x434f2c),_0x434f2c;}[_0x4478c1(0x3b4)](_0x32713d){const _0x5af853=_0x4478c1;switch(_0x32713d){case _0x4d76be[_0x5af853(0x3d0)]:return _0x1191ba[_0x5af853(0x12f)];case _0x4d76be['UNIVER_SHEET']:return _0x1191ba[_0x5af853(0xe3)];default:throw new Error(_0x5af853(0x50d)+_0x32713d);}}},_0x1191ba[_0x4478c1(0x1ca)]=_0xa38291([_0x37de54(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x37de54(0x1,_0x3c1a84['Inject'](_0x1191ba[_0x4478c1(0x2b7)])),_0x37de54(0x2,_0x3c1a84[_0x4478c1(0x3d5)])],_0x1191ba['CollaborationController']);var _0xc2aa21=Object[_0x4478c1(0x19b)],_0x49d199=Object[_0x4478c1(0x4d8)],_0x232e27=(_0x3673fd,_0x43b5d0,_0x5f47c7,_0x353ff4)=>{const _0xea89da=_0x4478c1;for(var _0x56c19a=_0x353ff4>0x1?void 0x0:_0x353ff4?_0x49d199(_0x43b5d0,_0x5f47c7):_0x43b5d0,_0x314270=_0x3673fd[_0xea89da(0x315)]-0x1,_0x48456b;_0x314270>=0x0;_0x314270--)(_0x48456b=_0x3673fd[_0x314270])&&(_0x56c19a=(_0x353ff4?_0x48456b(_0x43b5d0,_0x5f47c7,_0x56c19a):_0x48456b(_0x56c19a))||_0x56c19a);return _0x353ff4&&_0x56c19a&&_0xc2aa21(_0x43b5d0,_0x5f47c7,_0x56c19a),_0x56c19a;},_0x22fb4a=(_0x41fb1d,_0x1ed70b)=>(_0xf8fe20,_0x2673e)=>_0x1ed70b(_0xf8fe20,_0x2673e,_0x41fb1d);let _0x9c8b5f=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x51106b,_0x5d84a8){const _0x23371c=_0x4478c1;super(),this['_docClipboardService']=_0x51106b,this[_0x23371c(0x379)]=_0x5d84a8,this['_init']();}[_0x4478c1(0x12b)](){const _0x308d25=_0x4478c1,_0x116210=this;this[_0x308d25(0xe5)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x32b767=>{const _0x41f53e=_0x308d25,_0x2c1948=await _0x116210[_0x41f53e(0x379)][_0x41f53e(0xbf)](_0x32b767);return _0x2c1948?{'source':_0x2c1948['source'],'imageSourceType':_0x2c1948[_0x41f53e(0x2af)]}:null;}}));}};_0x9c8b5f=_0x232e27([_0x22fb4a(0x0,_0x488d74[_0x4478c1(0x1ee)]),_0x22fb4a(0x1,_0x18d697['IImageIoService'])],_0x9c8b5f);const _0x2922b4=[_0x4478c1(0x510),_0x4478c1(0x1e2),_0x4478c1(0x468),'red300',_0x4478c1(0x506),_0x4478c1(0x46c)];class _0x329ecc extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(){const _0x1b2bd4=_0x4478c1;super(...arguments),_0xa880cb(this,_0x1b2bd4(0x185),new Map()),_0xa880cb(this,_0x1b2bd4(0x14d),0x0);}[_0x4478c1(0x37d)](_0x17743a){const _0x14590b=_0x4478c1;if(this[_0x14590b(0x185)][_0x14590b(0x431)](_0x17743a))return this['_assignedColors'][_0x14590b(0x115)](_0x17743a);const _0x4d6bc7=_0x2922b4[this[_0x14590b(0x14d)]];return this[_0x14590b(0x14d)]=(this[_0x14590b(0x14d)]+0x1)%_0x2922b4[_0x14590b(0x315)],this['_assignedColors'][_0x14590b(0x53e)](_0x17743a,_0x4d6bc7),_0x4d6bc7;}}var _0x426787=Object[_0x4478c1(0x19b)],_0x31c1d7=Object['getOwnPropertyDescriptor'],_0xb9851d=(_0x341103,_0x2a9c40,_0x4ec2be,_0x42dcef)=>{const _0x266af8=_0x4478c1;for(var _0xa58124=_0x42dcef>0x1?void 0x0:_0x42dcef?_0x31c1d7(_0x2a9c40,_0x4ec2be):_0x2a9c40,_0xbe989a=_0x341103[_0x266af8(0x315)]-0x1,_0x19e572;_0xbe989a>=0x0;_0xbe989a--)(_0x19e572=_0x341103[_0xbe989a])&&(_0xa58124=(_0x42dcef?_0x19e572(_0x2a9c40,_0x4ec2be,_0xa58124):_0x19e572(_0xa58124))||_0xa58124);return _0x42dcef&&_0xa58124&&_0x426787(_0x2a9c40,_0x4ec2be,_0xa58124),_0xa58124;},_0x3c289d=(_0x1e773e,_0x1707c9)=>(_0x2deec2,_0x2e590f)=>_0x1707c9(_0x2deec2,_0x2e590f,_0x1e773e);const _0x5e75cd=0x12c,_0x1c5485=0x64;let _0x3213d7=class extends _0x3c1a84['RxDisposable']{constructor(_0x331118,_0x5d3415,_0x553460,_0x4f529b,_0x23dff2,_0x1ad49c,_0x1a8114,_0x4cc663,_0x1971a3){const _0x20bf16=_0x4478c1;super(),_0xa880cb(this,_0x20bf16(0x533),!0x1),_0xa880cb(this,_0x20bf16(0x12b),!0x1),_0xa880cb(this,_0x20bf16(0x274),new _0x818dd8[(_0x20bf16(0x122))](new Map())),_0xa880cb(this,_0x20bf16(0xd1),this[_0x20bf16(0x274)]['asObservable']()),_0xa880cb(this,'_roomMembers$',new _0x818dd8[(_0x20bf16(0x122))]([])),_0xa880cb(this,'roomMembers$',this[_0x20bf16(0x1c9)][_0x20bf16(0x4c4)](_0x818dd8[_0x20bf16(0x4bc)](_0x5e75cd))),_0xa880cb(this,_0x20bf16(0x377),_0x3c1a84[_0x20bf16(0x437)](_0x5bb7e7=>{const _0x2f71e1=_0x20bf16,_0x671509={'eventID':_0xa820f[_0x2f71e1(0x12d)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2f71e1(0x2b0)],'memberID':this[_0x2f71e1(0x20f)][_0x2f71e1(0x4a8)](),'selection':_0x210716(_0x5bb7e7)}};this['_session'][_0x2f71e1(0x51b)](_0x671509,this[_0x2f71e1(0x2b0)]);},_0x1c5485)),(this[_0x20bf16(0x2b0)]=_0x331118,this[_0x20bf16(0x20f)]=_0x5d3415,this['_injector']=_0x553460,this['_colorAssignService']=_0x4f529b,this[_0x20bf16(0x51d)]=_0x23dff2,this[_0x20bf16(0x52a)]=_0x1ad49c,this[_0x20bf16(0x56c)]=_0x1a8114,this[_0x20bf16(0x35b)]=_0x4cc663,this['_commandService']=_0x1971a3);}get[_0x4478c1(0x22a)](){const _0x473bcc=_0x4478c1;return this[_0x473bcc(0x274)][_0x473bcc(0x4c5)]();}get[_0x4478c1(0x545)](){const _0x17a1d7=_0x4478c1;return this[_0x17a1d7(0x1c9)][_0x17a1d7(0x4c5)]();}[_0x4478c1(0x4e7)](){const _0x4420f1=_0x4478c1;super[_0x4420f1(0x4e7)](),this[_0x4420f1(0x274)][_0x4420f1(0xdb)](new Map()),this[_0x4420f1(0x274)][_0x4420f1(0x121)](),this[_0x4420f1(0x1c9)][_0x4420f1(0xdb)]([]),this[_0x4420f1(0x1c9)]['complete']();}[_0x4478c1(0x479)](){const _0x1bbb56=_0x4478c1;this['_init']||(this[_0x1bbb56(0x12b)]=!0x0,this[_0x1bbb56(0x20f)][_0x1bbb56(0x1ed)][_0x1bbb56(0x4c4)](_0x818dd8['takeUntil'](this['dispose$']))['subscribe'](_0x457fef=>{const _0x4b3683=_0x1bbb56;_0x457fef===_0x417df1[_0x4b3683(0x150)]?this[_0x4b3683(0xfc)]():this[_0x4b3683(0x31d)]();}),this['_session']['event$'][_0x1bbb56(0x4c4)](_0x818dd8[_0x1bbb56(0x439)](this[_0x1bbb56(0x23a)]))[_0x1bbb56(0x3aa)](_0x383b49=>{const _0x17fa1e=_0x1bbb56,_0x382b4e=_0x383b49[_0x17fa1e(0x204)];_0x382b4e===_0xa820f['CollaborationEvent'][_0x17fa1e(0x541)]&&this[_0x17fa1e(0x42d)](_0x383b49),_0x382b4e===_0xa820f['CollaborationEvent'][_0x17fa1e(0x4f9)]&&this[_0x17fa1e(0xeb)](_0x383b49);}),this[_0x1bbb56(0xe5)](this[_0x1bbb56(0x292)][_0x1bbb56(0x4ad)](_0x56f8fc=>{const _0x29b140=_0x1bbb56,_0x420d55=_0x56f8fc['params'];_0x420d55!=null&&this['_online']&&_0x56f8fc['id']===_0x2a5ff4['SetTextSelectionsOperation']['id']&&_0x420d55[_0x29b140(0x214)]===this[_0x29b140(0x2b0)]&&_0x420d55[_0x29b140(0x226)]===!0x1&&_0x420d55[_0x29b140(0xc7)][_0x29b140(0x315)]>0x0&&this[_0x29b140(0x377)](_0x420d55[_0x29b140(0xc7)]);})),this[_0x1bbb56(0x52a)][_0x1bbb56(0x34e)][_0x1bbb56(0x4c4)](_0x818dd8['takeUntil'](this[_0x1bbb56(0x23a)]))[_0x1bbb56(0x3aa)](_0x8f5c65=>{const _0x1a88c0=_0x1bbb56;if((_0x8f5c65==null?void 0x0:_0x8f5c65[_0x1a88c0(0x2b0)])!==this[_0x1a88c0(0x2b0)])return;const _0x11cb73={'eventID':_0xa820f[_0x1a88c0(0x12d)]['UPDATE_CURSOR'],'data':_0x8f5c65};this[_0x1a88c0(0x42d)](_0x11cb73);}),this[_0x1bbb56(0xe5)](this[_0x1bbb56(0x292)][_0x1bbb56(0x4ad)](_0x52dc0b=>{const _0x4ea16d=_0x1bbb56;if(_0x52dc0b[_0x4ea16d(0x1a8)]==null)return;const _0x5579d4=_0x52dc0b[_0x4ea16d(0x1a8)];if(_0x52dc0b['id']!==_0x2a5ff4[_0x4ea16d(0xdf)]['id']||_0x5579d4[_0x4ea16d(0x214)]!==this[_0x4ea16d(0x2b0)])return;const _0x5e6e7d={'id':_0x4ea16d(0x44a),'params':_0x5579d4},_0x34a7d9=this[_0x4ea16d(0x22a)];for(const [_0x169acd,_0x2ee701]of _0x34a7d9){const _0x48b5d3={'id':_0x4ea16d(0x44a),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2ee701[_0x4ea16d(0xc7)]}},_0x40d22a=this[_0x4ea16d(0x56c)]['transformMutation'](_0x5e6e7d,_0x48b5d3,!0x1);if(_0xa820f['isTransformMutationFailure'](_0x40d22a))throw _0x40d22a[_0x4ea16d(0x17c)];_0x34a7d9[_0x4ea16d(0x53e)](_0x169acd,{..._0x2ee701,'ranges':_0x40d22a[_0x4ea16d(0x1cb)][_0x4ea16d(0x1a8)][_0x4ea16d(0x3dd)]});}queueMicrotask(()=>{const _0xfe3e01=_0x4ea16d;this['_cursorInfo$'][_0xfe3e01(0xdb)](_0x34a7d9);});})));}[_0x4478c1(0x42d)](_0xb7b7c1){const _0x359e84=_0x4478c1;var _0x209152,_0x5ace95;const {memberID:_0x3e3ebf,selection:_0xc34b19}=_0xb7b7c1[_0x359e84(0x2d6)],_0x1f9ccc=_0x55561c(_0xc34b19),_0x642087=(_0x5ace95=(_0x209152=this['_memberService'][_0x359e84(0x100)](this[_0x359e84(0x2b0)],_0x3e3ebf))==null?void 0x0:_0x209152[_0x359e84(0x3d7)])!=null?_0x5ace95:_0x359e84(0x148),_0x59cfa9={'color':this[_0x359e84(0x256)][_0x359e84(0x37d)](_0x3e3ebf),'name':_0x642087,'ranges':_0x1f9ccc},_0x4cc1be=this['cursorInfo'];_0x4cc1be[_0x359e84(0x53e)](_0x3e3ebf,_0x59cfa9),this['_cursorInfo$'][_0x359e84(0xdb)](_0x4cc1be);}['_onCursorDelete'](_0x10373d){const _0x542e22=_0x4478c1,{memberID:_0xc8effd}=_0x10373d['data'],_0x530a38=this[_0x542e22(0x22a)];_0x530a38[_0x542e22(0x354)](_0xc8effd),this[_0x542e22(0x274)][_0x542e22(0xdb)](_0x530a38);}['_toggleOnline'](){const _0x4dbf37=_0x4478c1;var _0x41a29e;if(this['_online']=!0x0,((_0x41a29e=this[_0x4dbf37(0x35b)][_0x4dbf37(0x142)]())==null?void 0x0:_0x41a29e['getUnitId']())!==this[_0x4dbf37(0x2b0)])return;const _0x573ebd=this[_0x4dbf37(0x391)][_0x4dbf37(0x115)](_0x2a5ff4[_0x4dbf37(0x1ac)])[_0x4dbf37(0x2e8)]();Array[_0x4dbf37(0x351)](_0x573ebd)&&_0x573ebd['length']>0x0&&this[_0x4dbf37(0x377)](_0x573ebd);}[_0x4478c1(0x31d)](){const _0x25c39a=_0x4478c1;this[_0x25c39a(0x533)]=!0x1;}};_0x3213d7=_0xb9851d([_0x3c289d(0x2,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x3c289d(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x329ecc)),_0x3c289d(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2a8)])),_0x3c289d(0x5,_0x3c1a84['Inject'](_0x159dfb)),_0x3c289d(0x6,_0xa820f['ITransformService']),_0x3c289d(0x7,_0x3c1a84[_0x4478c1(0x3d5)]),_0x3c289d(0x8,_0x3c1a84['ICommandService'])],_0x3213d7);var _0x4191bd=Object[_0x4478c1(0x19b)],_0x316719=Object[_0x4478c1(0x4d8)],_0x451344=(_0x2866cb,_0x50d6c9,_0x4f388d,_0x15679e)=>{const _0x4340d6=_0x4478c1;for(var _0x5b1311=_0x15679e>0x1?void 0x0:_0x15679e?_0x316719(_0x50d6c9,_0x4f388d):_0x50d6c9,_0x548c22=_0x2866cb[_0x4340d6(0x315)]-0x1,_0x51484e;_0x548c22>=0x0;_0x548c22--)(_0x51484e=_0x2866cb[_0x548c22])&&(_0x5b1311=(_0x15679e?_0x51484e(_0x50d6c9,_0x4f388d,_0x5b1311):_0x51484e(_0x5b1311))||_0x5b1311);return _0x15679e&&_0x5b1311&&_0x4191bd(_0x50d6c9,_0x4f388d,_0x5b1311),_0x5b1311;},_0x5dd972=(_0x3553a9,_0x109e93)=>(_0x9d7595,_0x49d480)=>_0x109e93(_0x9d7595,_0x49d480,_0x3553a9);const _0x36f39a=0x12c,_0x446a53=0x64,_0x4639fe=()=>{let _0x3d1aab=[],_0x1869ec=!0x1;return _0x1c9143=>{_0x3d1aab['push'](_0x1c9143),_0x1869ec||(_0x1869ec=!0x0,setTimeout(()=>{_0x3d1aab['forEach'](_0x13fc9c=>_0x13fc9c()),_0x3d1aab=[],_0x1869ec=!0x1;}));};};let _0x53eec0=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x361be7,_0x57aeff,_0x47e1a7,_0x3f4be8,_0x516267,_0x26c8c9,_0x153dc2,_0x4613f0){const _0x204e95=_0x4478c1;super(),_0xa880cb(this,_0x204e95(0x533),!0x1),_0xa880cb(this,'_init',!0x1),_0xa880cb(this,_0x204e95(0x274),new _0x818dd8[(_0x204e95(0x122))](new Map())),_0xa880cb(this,_0x204e95(0xd1),this[_0x204e95(0x274)]['asObservable']()),_0xa880cb(this,_0x204e95(0x1c9),new _0x818dd8['BehaviorSubject']([])),_0xa880cb(this,_0x204e95(0x151),this[_0x204e95(0x1c9)][_0x204e95(0x4c4)](_0x818dd8[_0x204e95(0x4bc)](_0x36f39a))),_0xa880cb(this,_0x204e95(0x377),_0x3c1a84[_0x204e95(0x437)]((_0x3150cb,_0x53c166)=>{const _0x55ec7b=_0x204e95,_0x58a08c={'eventID':_0xa820f['CollaborationEvent'][_0x55ec7b(0x541)],'data':{'unitID':this[_0x55ec7b(0x2b0)],'memberID':this[_0x55ec7b(0x20f)][_0x55ec7b(0x4a8)](),'selection':_0x457450[_0x55ec7b(0x2fc)](_0x3150cb,_0x53c166[_0x55ec7b(0x3a0)])}};this['_session'][_0x55ec7b(0x51b)](_0x58a08c,this[_0x55ec7b(0x2b0)]);},_0x446a53)),(this[_0x204e95(0x2b0)]=_0x361be7,this[_0x204e95(0x20f)]=_0x57aeff,this['_injector']=_0x47e1a7,this[_0x204e95(0x256)]=_0x3f4be8,this[_0x204e95(0x51d)]=_0x516267,this['_univerInstanceService']=_0x26c8c9,this[_0x204e95(0x292)]=_0x153dc2,this['_refRangeService']=_0x4613f0);}get['cursorInfo'](){const _0x20d2fc=_0x4478c1;return this[_0x20d2fc(0x274)][_0x20d2fc(0x4c5)]();}get[_0x4478c1(0x545)](){const _0xf26df0=_0x4478c1;return this[_0xf26df0(0x1c9)][_0xf26df0(0x4c5)]();}[_0x4478c1(0x4e7)](){const _0x3e8d1d=_0x4478c1;super['dispose'](),this[_0x3e8d1d(0x274)]['next'](new Map()),this['_cursorInfo$'][_0x3e8d1d(0x121)](),this['_roomMembers$'][_0x3e8d1d(0xdb)]([]),this['_roomMembers$'][_0x3e8d1d(0x121)]();}[_0x4478c1(0x479)](){const _0x17e59c=_0x4478c1;this[_0x17e59c(0x12b)]||(this[_0x17e59c(0x12b)]=!0x0,this[_0x17e59c(0x20f)]['sessionStatus$'][_0x17e59c(0x4c4)](_0x818dd8[_0x17e59c(0x439)](this[_0x17e59c(0x23a)]))[_0x17e59c(0x3aa)](_0x34624f=>{const _0x4b76f1=_0x17e59c;_0x34624f===_0x417df1['ONLINE']?this[_0x4b76f1(0xfc)]():this[_0x4b76f1(0x31d)]();}),this[_0x17e59c(0x20f)][_0x17e59c(0x3fb)][_0x17e59c(0x4c4)](_0x818dd8[_0x17e59c(0x439)](this[_0x17e59c(0x23a)]))[_0x17e59c(0x3aa)](_0x17c04f=>{const _0x43acad=_0x17e59c,_0x1592f9=_0x17c04f[_0x43acad(0x204)];_0x1592f9===_0xa820f[_0x43acad(0x12d)][_0x43acad(0x541)]&&this[_0x43acad(0x42d)](_0x17c04f),_0x1592f9===_0xa820f['CollaborationEvent'][_0x43acad(0x4f9)]&&this[_0x43acad(0xeb)](_0x17c04f);}),this[_0x17e59c(0x4cf)](),this['disposeWithMe'](this[_0x17e59c(0x292)][_0x17e59c(0x4ad)](_0x34f6fd=>{const _0x40f7fc=_0x17e59c;if(this[_0x40f7fc(0x533)]&&_0x34f6fd['id']===_0x16d7e8['SetSelectionsOperation']['id']&&_0x34f6fd[_0x40f7fc(0x1a8)][_0x40f7fc(0x214)]===this[_0x40f7fc(0x2b0)]){const _0x382993=_0x34f6fd[_0x40f7fc(0x1a8)];this['_updateLocalCursor'](_0x382993[_0x40f7fc(0x493)],_0x382993[_0x40f7fc(0x4ce)][0x0]);}})));}[_0x4478c1(0x42d)](_0x3ec201){const _0x1d29df=_0x4478c1;var _0x1ac49d,_0x17a1cd;const {memberID:_0x48ec1d,selection:_0x33bb5f}=_0x3ec201['data'],{sheetName:_0x43fb8f,range:_0x4ff437}=_0x457450[_0x1d29df(0x51a)](_0x33bb5f),_0x9b5480={'name':(_0x17a1cd=(_0x1ac49d=this[_0x1d29df(0x51d)][_0x1d29df(0x100)](this[_0x1d29df(0x2b0)],_0x48ec1d))==null?void 0x0:_0x1ac49d[_0x1d29df(0x3d7)])!=null?_0x17a1cd:_0x1d29df(0x148),'range':this['_getMergeRange'](_0x43fb8f,_0x4ff437),'sheetID':_0x43fb8f,'color':this['_colorAssignService'][_0x1d29df(0x37d)](_0x48ec1d),'selection':_0x33bb5f},_0x51a0c8=this[_0x1d29df(0x22a)];_0x51a0c8[_0x1d29df(0x53e)](_0x48ec1d,_0x9b5480),this[_0x1d29df(0x274)][_0x1d29df(0xdb)](_0x51a0c8);}[_0x4478c1(0xeb)](_0x3797b6){const _0x47c83d=_0x4478c1,{memberID:_0x38639c}=_0x3797b6[_0x47c83d(0x2d6)],_0x38fb33=this['cursorInfo'];_0x38fb33[_0x47c83d(0x354)](_0x38639c),this[_0x47c83d(0x274)][_0x47c83d(0xdb)](_0x38fb33);}[_0x4478c1(0x24e)](_0x6ed9d,_0x54607a){const _0x5bfe3b=_0x4478c1;var _0x8e3b63,_0x1f2c0e;const _0x4e8cb3=(_0x1f2c0e=(_0x8e3b63=this[_0x5bfe3b(0x35b)]['getUniverSheetInstance'](this[_0x5bfe3b(0x2b0)]))==null?void 0x0:_0x8e3b63[_0x5bfe3b(0x561)](_0x6ed9d))==null?void 0x0:_0x1f2c0e[_0x5bfe3b(0x34f)]();return(_0x4e8cb3==null?void 0x0:_0x4e8cb3[_0x5bfe3b(0x490)](_0x28e97e=>_0x3c1a84['Rectangle'][_0x5bfe3b(0x473)](_0x28e97e,_0x54607a)))||_0x54607a;}[_0x4478c1(0x4cf)](){const _0x2a7883=_0x4478c1,_0x1048f7=new _0x3c1a84[(_0x2a7883(0x316))](),_0x53b507=_0x4639fe(),_0x289689=()=>{const _0x3e7ec9=_0x2a7883;_0x1048f7[_0x3e7ec9(0x4e7)]();const _0xc06fd1=(_0x25cf34,_0x2bab2e,_0x2f78e5,_0x4900e8)=>{const _0x59342a=_0x3e7ec9;let _0x208bd1=[];switch(_0x25cf34['id']){case _0x16d7e8[_0x59342a(0x24c)][_0x59342a(0x278)]:{_0x208bd1=_0x16d7e8[_0x59342a(0x152)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x208bd1=_0x16d7e8[_0x59342a(0x395)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8[_0x59342a(0x24c)]['InsertColCommandId']:{_0x208bd1=_0x16d7e8[_0x59342a(0x1fd)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x208bd1=_0x16d7e8['handleInsertRangeMoveDown'](_0x25cf34,_0x4900e8);break;}case _0x16d7e8['EffectRefRangId'][_0x59342a(0x486)]:{_0x208bd1=_0x16d7e8[_0x59342a(0x186)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8[_0x59342a(0x24c)][_0x59342a(0x198)]:{_0x208bd1=_0x16d7e8[_0x59342a(0x402)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8[_0x59342a(0x24c)]['MoveRangeCommandId']:{_0x208bd1=_0x16d7e8[_0x59342a(0x289)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8['EffectRefRangId'][_0x59342a(0x45d)]:{_0x208bd1=_0x16d7e8[_0x59342a(0x28c)](_0x25cf34,_0x4900e8);break;}case _0x16d7e8[_0x59342a(0x24c)]['RemoveRowCommandId']:{_0x208bd1=_0x16d7e8[_0x59342a(0x3ad)](_0x25cf34,_0x4900e8);break;}}const _0xa1c7bd=_0x16d7e8[_0x59342a(0x371)](_0x208bd1,_0x4900e8),_0x96b43c=this[_0x59342a(0x22a)][_0x59342a(0x115)](_0x2bab2e);if(_0x96b43c&&_0xa1c7bd){const _0x278f42={..._0x96b43c,'range':_0xa1c7bd};this['cursorInfo'][_0x59342a(0x53e)](_0x2bab2e,_0x278f42),_0x53b507(()=>{const _0x594e6e=_0x59342a,_0x4089af=this[_0x594e6e(0x453)][_0x594e6e(0xf0)](_0xa1c7bd,_0x467d9a=>(_0x4089af[_0x594e6e(0x4e7)](),_0xc06fd1(_0x467d9a,_0x2bab2e,_0x2f78e5,_0xa1c7bd)));_0x1048f7[_0x594e6e(0x560)](_0x4089af);});}return{'redos':[],'undos':[]};};this[_0x3e7ec9(0x22a)][_0x3e7ec9(0x3b6)]((_0x5fee7f,_0x43c3f)=>{const _0x16da1d=_0x3e7ec9,{range:_0x34c0d8,sheetID:_0x5a1d54}=_0x5fee7f,_0x4b2767=this[_0x16da1d(0x453)][_0x16da1d(0xf0)](_0x34c0d8,_0x2b7ff7=>(_0x4b2767[_0x16da1d(0x4e7)](),_0xc06fd1(_0x2b7ff7,_0x43c3f,_0x5a1d54,_0x34c0d8)));_0x1048f7[_0x16da1d(0x560)](_0x4b2767);});};this[_0x2a7883(0xe5)](_0x3c1a84['toDisposable'](this['_cursorInfo$'][_0x2a7883(0x3aa)](()=>{_0x289689();})));}[_0x4478c1(0xfc)](){const _0x4ffca1=_0x4478c1;var _0x43e4a8,_0x209e52;if(this[_0x4ffca1(0x533)]=!0x0,((_0x43e4a8=this[_0x4ffca1(0x35b)][_0x4ffca1(0x142)]())==null?void 0x0:_0x43e4a8[_0x4ffca1(0x2b5)]())!==this['unitID'])return;const _0x8471bb=(_0x209e52=this[_0x4ffca1(0x391)]['get'](_0x16d7e8[_0x4ffca1(0x412)])[_0x4ffca1(0x303)]())==null?void 0x0:_0x209e52[0x0],_0x119b20=this[_0x4ffca1(0x35b)][_0x4ffca1(0x1b8)](_0x3c1a84['UniverInstanceType'][_0x4ffca1(0x13a)])['getActiveSheet']();_0x8471bb&&_0x119b20&&this['_updateLocalCursor'](_0x119b20[_0x4ffca1(0x507)](),_0x8471bb);}[_0x4478c1(0x31d)](){const _0x5b6907=_0x4478c1;this[_0x5b6907(0x533)]=!0x1;}};_0x53eec0=_0x451344([_0x5dd972(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0x5dd972(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x329ecc)),_0x5dd972(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2a8)])),_0x5dd972(0x5,_0x3c1a84[_0x4478c1(0x3d5)]),_0x5dd972(0x6,_0x3c1a84['ICommandService']),_0x5dd972(0x7,_0x3c1a84['Inject'](_0x16d7e8['RefRangeService']))],_0x53eec0);var _0x516a53=Object[_0x4478c1(0x19b)],_0x2c64b4=Object['getOwnPropertyDescriptor'],_0x4e4a34=(_0x1d8337,_0x2b96df,_0x502f8a,_0x2c0f89)=>{const _0x95f61d=_0x4478c1;for(var _0x1407b9=_0x2c0f89>0x1?void 0x0:_0x2c0f89?_0x2c64b4(_0x2b96df,_0x502f8a):_0x2b96df,_0x8b90db=_0x1d8337[_0x95f61d(0x315)]-0x1,_0x2aea0f;_0x8b90db>=0x0;_0x8b90db--)(_0x2aea0f=_0x1d8337[_0x8b90db])&&(_0x1407b9=(_0x2c0f89?_0x2aea0f(_0x2b96df,_0x502f8a,_0x1407b9):_0x2aea0f(_0x1407b9))||_0x1407b9);return _0x2c0f89&&_0x1407b9&&_0x516a53(_0x2b96df,_0x502f8a,_0x1407b9),_0x1407b9;},_0x338c41=(_0x58c745,_0x3e6536)=>(_0x41d35e,_0x299964)=>_0x3e6536(_0x41d35e,_0x299964,_0x58c745);let _0x5c8917=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x22ab41,_0xa26039,_0x4a57f5){const _0x4396e9=_0x4478c1;super(),_0xa880cb(this,_0x4396e9(0x38c),new Map()),_0xa880cb(this,_0x4396e9(0x54f),new _0x818dd8[(_0x4396e9(0x245))]()),(this[_0x4396e9(0x35b)]=_0x22ab41,this['_injector']=_0xa26039,this[_0x4396e9(0x49c)]=_0x4a57f5,this[_0x4396e9(0x12b)]());}[_0x4478c1(0x4e7)](){const _0x218660=_0x4478c1;super[_0x218660(0x4e7)](),this[_0x218660(0x54f)][_0x218660(0x121)](),this[_0x218660(0x38c)][_0x218660(0x3b6)](_0x1fb46b=>_0x1fb46b['dispose']());}[_0x4478c1(0x417)](_0x1d293b){const _0x50adec=_0x4478c1;return this['_entities'][_0x50adec(0x431)](_0x1d293b)?this['_entities'][_0x50adec(0x115)](_0x1d293b)['cursorInfo$']:this[_0x50adec(0x54f)]['pipe'](_0x818dd8[_0x50adec(0x3a9)](_0x351370=>_0x351370['unitID']===_0x1d293b),_0x818dd8[_0x50adec(0x3f5)](_0x5838a8=>_0x5838a8['cursorInfo$']));}[_0x4478c1(0x12b)](){const _0x344264=_0x4478c1;this['_univerInstanceService'][_0x344264(0x3d1)](_0x3c1a84[_0x344264(0x2d9)]['UNIVER_SHEET'])[_0x344264(0x4c4)](_0x818dd8['takeUntil'](this[_0x344264(0x23a)]))[_0x344264(0x3aa)](async _0x1e16de=>{const _0x373c15=_0x344264,_0x2c4ad5=_0x1e16de['getUnitId'](),_0x56cae3=await this['_startSheetCollabCursor'](_0x2c4ad5);this[_0x373c15(0x54f)][_0x373c15(0xdb)](_0x56cae3),this[_0x373c15(0x38c)][_0x373c15(0x53e)](_0x2c4ad5,_0x56cae3);}),this[_0x344264(0x35b)][_0x344264(0x3d1)](_0x3c1a84[_0x344264(0x2d9)][_0x344264(0x3d0)])[_0x344264(0x4c4)](_0x818dd8[_0x344264(0x439)](this[_0x344264(0x23a)]))['pipe'](_0x818dd8['filter'](_0x12463d=>!_0x12463d[_0x344264(0x2b5)]()[_0x344264(0x1c7)]('__')))[_0x344264(0x3aa)](async _0xc64a39=>{const _0x29ca28=_0x344264,_0x18ef6c=_0xc64a39[_0x29ca28(0x2b5)](),_0x580c7b=await this['_startDocCollabCursor'](_0x18ef6c);this[_0x29ca28(0x54f)][_0x29ca28(0xdb)](_0x580c7b),this['_entities']['set'](_0x18ef6c,_0x580c7b);}),_0x818dd8['merge'](this[_0x344264(0x35b)][_0x344264(0x44b)](_0x3c1a84[_0x344264(0x2d9)][_0x344264(0x3d0)]),this[_0x344264(0x35b)]['getTypeOfUnitDisposed$'](_0x3c1a84[_0x344264(0x2d9)][_0x344264(0x13a)]))['pipe'](_0x818dd8['takeUntil'](this[_0x344264(0x23a)]))[_0x344264(0x3aa)](_0x3ed0cb=>{const _0x2bbaed=_0x344264,_0x33c63e=_0x3ed0cb[_0x2bbaed(0x2b5)](),_0x1f0f44=this[_0x2bbaed(0x38c)][_0x2bbaed(0x115)](_0x33c63e);_0x1f0f44&&(_0x1f0f44[_0x2bbaed(0x4e7)](),this['_entities'][_0x2bbaed(0x354)](_0x33c63e));});}async[_0x4478c1(0x387)](_0x52bc6f){const _0x1d45ab=_0x4478c1,_0x2dc0cc=await this[_0x1d45ab(0x49c)][_0x1d45ab(0x11c)](_0x52bc6f),_0x4e9d5b=this[_0x1d45ab(0x391)][_0x1d45ab(0x47c)](_0x53eec0,_0x52bc6f,_0x2dc0cc);return _0x4e9d5b[_0x1d45ab(0x479)](),_0x4e9d5b;}async[_0x4478c1(0x29f)](_0x4e6196){const _0x347e4f=_0x4478c1,_0xeaf5b3=await this[_0x347e4f(0x49c)]['requireSession'](_0x4e6196),_0x19ec5c=this[_0x347e4f(0x391)]['createInstance'](_0x3213d7,_0x4e6196,_0xeaf5b3);return _0x19ec5c['init'](),_0x19ec5c;}};_0x5c8917=_0x4e4a34([_0x338c41(0x0,_0x3c1a84['IUniverInstanceService']),_0x338c41(0x1,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x338c41(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x2b7)]))],_0x5c8917);const _0x2e2c48=0x14,_0x3ae7f3=0xc8,_0x5ad6d4=0x4,_0x5efb8e=0x5;function _0x503f0d(_0x8b1e62,_0x416324){const _0x43a132=_0x4478c1;let {radius:_0x203cb2,width:_0x4ae0bb,height:_0x3f4619}=_0x416324;_0x203cb2=_0x203cb2!=null?_0x203cb2:0x0,_0x4ae0bb=_0x4ae0bb!=null?_0x4ae0bb:0x1e,_0x3f4619=_0x3f4619!=null?_0x3f4619:0x1e;let _0x436082=0x0,_0x5836f5=0x0,_0x8d195f=0x0;_0x436082=_0x5836f5=_0x8d195f=Math[_0x43a132(0x2d8)](_0x203cb2,_0x4ae0bb/0x2,_0x3f4619/0x2),_0x8b1e62[_0x43a132(0x23d)](),_0x8b1e62[_0x43a132(0x15a)](_0x436082,0x0),_0x8b1e62[_0x43a132(0x4af)](_0x4ae0bb-_0x5836f5,0x0),_0x8b1e62[_0x43a132(0x2a9)](_0x4ae0bb-_0x5836f5,_0x5836f5,_0x5836f5,Math['PI']*0x3/0x2,0x0,!0x1),_0x8b1e62[_0x43a132(0x4af)](_0x4ae0bb,_0x3f4619-_0x8d195f),_0x8b1e62['arc'](_0x4ae0bb-_0x8d195f,_0x3f4619-_0x8d195f,_0x8d195f,0x0,Math['PI']/0x2,!0x1),_0x8b1e62[_0x43a132(0x4af)](0x0,_0x3f4619),_0x8b1e62[_0x43a132(0x4af)](0x0,_0x436082),_0x8b1e62['arc'](_0x436082,_0x436082,_0x436082,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8b1e62[_0x43a132(0x3a4)](),_0x416324[_0x43a132(0x215)]&&(_0x8b1e62['save'](),_0x8b1e62[_0x43a132(0xe7)]=_0x416324['fill'],_0x416324['fillRule']===_0x43a132(0x345)?_0x8b1e62[_0x43a132(0x215)](_0x43a132(0x345)):_0x8b1e62['fill'](),_0x8b1e62['restore']());}class _0x4e1f62 extends _0x591f66[_0x4478c1(0x1f0)]{constructor(_0x5696c8,_0x481c28){const _0x978dc9=_0x4478c1;super(_0x5696c8,_0x481c28),_0xa880cb(this,_0x978dc9(0x51f)),_0xa880cb(this,_0x978dc9(0x565)),(this['color']=_0x481c28==null?void 0x0:_0x481c28[_0x978dc9(0x51f)],this[_0x978dc9(0x565)]=_0x481c28==null?void 0x0:_0x481c28[_0x978dc9(0x565)]);}static[_0x4478c1(0xf1)](_0x5f33dc,_0xfb8baa){const _0x391c54=_0x4478c1,{text:_0x335943,color:_0x512a3a}=_0xfb8baa;_0x5f33dc[_0x391c54(0x38b)](),_0x5f33dc['font']=_0x391c54(0x167);const _0x591d5c=_0x5f33dc[_0x391c54(0x12a)](_0x335943)[_0x391c54(0x17f)],_0x2a5620=Math['min'](_0x591d5c+0x2*_0x5ad6d4,_0x3ae7f3);_0x503f0d(_0x5f33dc,{'height':_0x2e2c48,'radius':0x4,'width':_0x2a5620,'fill':_0x512a3a,'evented':!0x1}),_0x5f33dc[_0x391c54(0xe7)]='#FFF';const _0x36b3de=_0x5ad6d4,_0x439558=_0x2e2c48-_0x5efb8e,_0x289072=_0x3ae7f3-0x2*_0x5ad6d4;if(_0x591d5c>_0x289072){let _0x1ff9c6='',_0x8d40f3=0x0;for(const _0x3d152e of _0x335943){const _0xf4a76e=_0x5f33dc[_0x391c54(0x12a)](_0x3d152e)['width'];if(_0x8d40f3+_0xf4a76e<=_0x289072-_0x5f33dc[_0x391c54(0x12a)](_0x391c54(0x320))[_0x391c54(0x17f)])_0x1ff9c6+=_0x3d152e,_0x8d40f3+=_0xf4a76e;else{_0x1ff9c6+=_0x391c54(0x320);break;}}_0x5f33dc['fillText'](_0x1ff9c6,_0x36b3de,_0x439558);}else _0x5f33dc[_0x391c54(0x178)](_0x335943,_0x36b3de,_0x439558);_0x5f33dc[_0x391c54(0x4da)]();}[_0x4478c1(0x34a)](_0x3b2dc7){_0x4e1f62['drawWith'](_0x3b2dc7,this);}}const _0x4f8014=_0x4478c1(0x4d4),_0x5c4e64=_0x4478c1(0x436),_0x176288='collab-rect-range-',_0x2aaa23=0x6,_0x5af92f=1.5,_0x3da8b3=0x4,_0x23201f=1.5,_0xca5a07=_0x4478c1(0x53d);class _0x148a77{constructor(_0x3b1ee6,_0x15529e,_0x385ad6,_0x5d5f90){const _0x18e4c0=_0x4478c1;_0xa880cb(this,_0x18e4c0(0xbb),[]),_0xa880cb(this,_0x18e4c0(0x13b),null),_0xa880cb(this,'_textBubble',null),_0xa880cb(this,_0x18e4c0(0x2b9),null),_0xa880cb(this,'_hideTimer',null),_0xa880cb(this,_0x18e4c0(0x32d),null),(this[_0x18e4c0(0x1b6)]=_0x3b1ee6,this['_scene']=_0x15529e,this[_0x18e4c0(0x2c0)]=_0x385ad6,this[_0x18e4c0(0x262)]=_0x5d5f90,this['_render']());}set[_0x4478c1(0xc0)](_0x33bfaf){const _0x1fe0b3=_0x4478c1;_0x33bfaf?(this['_anchorDot']&&this[_0x1fe0b3(0x2b9)][_0x1fe0b3(0x1be)](),this[_0x1fe0b3(0x18a)]&&this[_0x1fe0b3(0x18a)][_0x1fe0b3(0x26f)]()):(this[_0x1fe0b3(0x2b9)]&&this['_anchorDot'][_0x1fe0b3(0x26f)](),this[_0x1fe0b3(0x18a)]&&this[_0x1fe0b3(0x18a)][_0x1fe0b3(0x1be)]());}[_0x4478c1(0x4e7)](){const _0x306ed9=_0x4478c1;for(const _0x25e8e6 of this[_0x306ed9(0xbb)])_0x25e8e6['dispose']();this['_textBubble']&&this['_textBubble']['dispose'](),this['_anchorDot']&&this[_0x306ed9(0x2b9)][_0x306ed9(0x4e7)](),this['_anchor']&&this['_anchor'][_0x306ed9(0x4e7)](),this['_eventUnsubscribe']&&this[_0x306ed9(0x32d)]();}['_render'](){const _0x2258bb=_0x4478c1;var _0x57eacd;const {_docSkeleton:_0x14b989,_document:_0x5e576d}=this,{color:_0x4f3a1d,name:_0x4422ac,ranges:_0x12d6e9}=this[_0x2258bb(0x1b6)],_0x5d2a78=_0x5e576d['getOffsetConfig'](),{docsLeft:_0x41a6ca,docsTop:_0x1840fe}=_0x5d2a78,_0x30cc51=new _0x488d74[(_0x2258bb(0x39f))](_0x5d2a78,_0x14b989);for(const {startOffset:_0x17d2ab,endOffset:_0x4f5feb,rangeType:_0x2c1882,segmentId:_0x169ff3,segmentPage:_0x1ebdd3,collapsed:_0x3edcdf,isActive:_0x1d6d96}of _0x12d6e9){const _0x555dc0=_0x14b989['findNodePositionByCharIndex'](_0x17d2ab,!0x0,_0x169ff3,_0x1ebdd3);let _0x370f02=_0x14b989['findNodePositionByCharIndex'](_0x4f5feb,!0x0,_0x169ff3,_0x1ebdd3);if(_0x370f02==null&&(_0x370f02=_0x14b989['findNodePositionByCharIndex'](_0x4f5feb-0x1,!0x1,_0x169ff3,_0x1ebdd3)),_0x1d6d96){const {contentBoxPointGroup:_0x180d0c}=_0x30cc51[_0x2258bb(0x111)](_0x370f02,_0x370f02);if(_0x180d0c[_0x2258bb(0x315)]===0x0)continue;this['_drawAnchor'](_0x4f3a1d,_0x180d0c,_0x41a6ca,_0x1840fe,_0x4422ac),this[_0x2258bb(0x32d)]=this['_handleHover']();}if(_0x555dc0&&_0x370f02){if(_0x2c1882===_0x3c1a84[_0x2258bb(0x239)][_0x2258bb(0x42f)]){const _0x267329=new _0x488d74[(_0x2258bb(0x470))](_0x5d2a78,_0x14b989),{pointGroup:_0x18719d}=(_0x57eacd=_0x267329[_0x2258bb(0x111)](_0x555dc0,_0x370f02))!=null?_0x57eacd:{};if(_0x18719d==null||_0x18719d[_0x2258bb(0x315)]===0x0)continue;this[_0x2258bb(0x1b5)](_0x4f3a1d,_0x18719d,_0x41a6ca,_0x1840fe);}else{if(!_0x3edcdf){const {borderBoxPointGroup:_0x253497}=_0x30cc51[_0x2258bb(0x111)](_0x555dc0,_0x370f02);if(_0x253497[_0x2258bb(0x315)]===0x0)continue;this[_0x2258bb(0x154)](_0x4f3a1d,_0x253497,_0x41a6ca,_0x1840fe);}}}}}[_0x4478c1(0x47b)](_0x48baa7,_0x3d4d40,_0x17024b,_0x3962a8,_0x524b5c){const _0x360f22=_0x4478c1,_0x4318ea=this[_0x360f22(0x33e)](_0x3d4d40),{left:_0x4b8537,top:_0x159b79,height:_0x11eb1a}=_0x4318ea,_0x559303=this['_getScale'](),_0x58ce64=_0x23201f/_0x559303,_0x1cb483=new _0x591f66['Rect'](_0x4f8014+_0x3c1a84['Tools'][_0x360f22(0x30a)](_0x2aaa23),{'left':_0x4b8537+_0x17024b-_0x58ce64,'top':_0x159b79+_0x3962a8,'height':_0x11eb1a,'width':_0x5af92f,'fill':_0x48baa7||_0x591f66[_0x360f22(0x53a)](_0x3c1a84[_0x360f22(0x384)][_0x360f22(0xd7)],0x0),'strokeWidth':_0x58ce64,'stroke':_0xca5a07,'evented':!0x0});this[_0x360f22(0x13b)]=_0x1cb483,this[_0x360f22(0x1d1)][_0x360f22(0x25b)](_0x1cb483,_0x488d74[_0x360f22(0x125)]);const _0x3b7003=new _0x591f66[(_0x360f22(0x35a))](_0x4f8014+_0x3c1a84[_0x360f22(0x442)]['generateRandomId'](_0x2aaa23),{'left':_0x4b8537+_0x17024b-_0x58ce64,'top':_0x159b79+_0x3962a8-_0x3da8b3/0x2,'height':_0x3da8b3,'width':_0x3da8b3,'fill':_0x48baa7||_0x591f66['getColor'](_0x3c1a84[_0x360f22(0x384)][_0x360f22(0xd7)],0x0),'strokeWidth':0x0,'stroke':_0x48baa7||_0x591f66[_0x360f22(0x53a)](_0x3c1a84[_0x360f22(0x384)][_0x360f22(0xd7)],0x0),'evented':!0x1});this[_0x360f22(0x2b9)]=_0x3b7003,this['_scene']['addObject'](_0x3b7003,_0x488d74[_0x360f22(0x125)]);const _0x13495b=new _0x4e1f62(_0x4f8014+_0x3c1a84[_0x360f22(0x442)]['generateRandomId'](_0x2aaa23),{'left':_0x4b8537+_0x17024b-_0x58ce64,'top':_0x159b79+_0x3962a8-_0x2e2c48,'text':_0x524b5c,'color':_0x48baa7});this[_0x360f22(0x18a)]=_0x13495b,this['_scene'][_0x360f22(0x25b)](_0x13495b,_0x488d74['TEXT_RANGE_LAYER_INDEX']),this[_0x360f22(0xc0)]=!0x1;}[_0x4478c1(0x515)](){const _0x1cba3b=_0x4478c1,_0x493b47=this[_0x1cba3b(0x13b)][_0x1cba3b(0xfb)][_0x1cba3b(0x236)](()=>{const _0x4a2606=_0x1cba3b;this[_0x4a2606(0xc0)]=!0x0;}),_0x4ad88d=this[_0x1cba3b(0x13b)]['onPointerLeave$'][_0x1cba3b(0x236)](()=>{const _0x3725d7=_0x1cba3b;this[_0x3725d7(0x4a2)]&&clearTimeout(this[_0x3725d7(0x4a2)]),this[_0x3725d7(0x4a2)]=setTimeout(()=>{const _0x1a0a60=_0x3725d7;this[_0x1a0a60(0xc0)]=!0x1;},0x7d0);});return()=>{const _0x4d4d48=_0x1cba3b;_0x493b47[_0x4d4d48(0x4e1)](),_0x4ad88d[_0x4d4d48(0x4e1)]();};}['_drawTextRange'](_0x5c9b47,_0x58327a,_0x2d0ddd,_0x30c9e1){const _0xf2c0ff=_0x4478c1,_0x165eb8=new _0x3c1a84[(_0xf2c0ff(0x399))](_0x5c9b47)['setAlpha'](0.2)['toRgbString'](),_0x3ce517=new _0x591f66['RegularPolygon'](_0x5c4e64+_0x3c1a84[_0xf2c0ff(0x442)]['generateRandomId'](_0x2aaa23),{'pointsGroup':_0x58327a,'fill':_0x165eb8||_0x591f66[_0xf2c0ff(0x53a)](_0x3c1a84['COLORS'][_0xf2c0ff(0xd7)],0.2),'left':_0x2d0ddd,'top':_0x30c9e1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x3ce517),this[_0xf2c0ff(0x1d1)][_0xf2c0ff(0x25b)](_0x3ce517,_0x488d74[_0xf2c0ff(0x125)]);}[_0x4478c1(0x1b5)](_0x1a5ae2,_0x319d87,_0x1f2824,_0x22a823){const _0x585684=_0x4478c1,_0x4bb13b=new _0x3c1a84['ColorKit'](_0x1a5ae2)[_0x585684(0x16c)](0.2)['toRgbString'](),_0x1f4197=new _0x591f66['RegularPolygon'](_0x176288+_0x3c1a84[_0x585684(0x442)]['generateRandomId'](_0x2aaa23),{'pointsGroup':_0x319d87,'fill':_0x4bb13b||_0x591f66[_0x585684(0x53a)](_0x3c1a84[_0x585684(0x384)][_0x585684(0xd7)],0.2),'left':_0x1f2824,'top':_0x22a823,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1f4197),this[_0x585684(0x1d1)][_0x585684(0x25b)](_0x1f4197,_0x488d74['TEXT_RANGE_LAYER_INDEX']);}[_0x4478c1(0x33e)](_0x19bd62){const _0x281e80=_0x19bd62[0x0],_0x4b1551=_0x281e80[0x0],_0x23b6ad=_0x281e80[0x2],{x:_0x51d946,y:_0x768765}=_0x4b1551,{x:_0x289f6b,y:_0x4fdbd6}=_0x23b6ad;return{'left':_0x51d946,'top':_0x768765,'width':_0x289f6b-_0x51d946,'height':_0x4fdbd6-_0x768765};}['_getScale'](){const _0x452793=_0x4478c1,{scaleX:_0x2cc355,scaleY:_0x3139f5}=this[_0x452793(0x1d1)][_0x452793(0x457)]();return Math[_0x452793(0x1e1)](_0x2cc355,_0x3139f5);}}var _0x23f663=Object['defineProperty'],_0x331445=Object['getOwnPropertyDescriptor'],_0x223aee=(_0x31543f,_0x3eeb36,_0x26e871,_0x31866e)=>{const _0x4f9bcf=_0x4478c1;for(var _0xa50726=_0x31866e>0x1?void 0x0:_0x31866e?_0x331445(_0x3eeb36,_0x26e871):_0x3eeb36,_0x4a2c9f=_0x31543f[_0x4f9bcf(0x315)]-0x1,_0x4a98de;_0x4a2c9f>=0x0;_0x4a2c9f--)(_0x4a98de=_0x31543f[_0x4a2c9f])&&(_0xa50726=(_0x31866e?_0x4a98de(_0x3eeb36,_0x26e871,_0xa50726):_0x4a98de(_0xa50726))||_0xa50726);return _0x31866e&&_0xa50726&&_0x23f663(_0x3eeb36,_0x26e871,_0xa50726),_0xa50726;},_0x23dd52=(_0x2c79a4,_0x2e8cdd)=>(_0x15b53c,_0x2912c2)=>_0x2e8cdd(_0x15b53c,_0x2912c2,_0x2c79a4);let _0x44db7e=class extends _0x3c1a84['RxDisposable']{constructor(_0x537589,_0xa50f9d,_0x753882,_0x344bbb,_0x3796f0){const _0x70b00a=_0x4478c1;super(),_0xa880cb(this,_0x70b00a(0x1dd),[]),_0xa880cb(this,_0x70b00a(0x3cd),[]),(this[_0x70b00a(0x172)]=_0x537589,this[_0x70b00a(0x11a)]=_0xa50f9d,this[_0x70b00a(0x4db)]=_0x753882,this[_0x70b00a(0x292)]=_0x344bbb,this[_0x70b00a(0x319)]=_0x3796f0,this[_0x70b00a(0x12b)]());}[_0x4478c1(0x12b)](){const _0x8ca8e9=_0x4478c1,_0x384b1f=this[_0x8ca8e9(0x172)][_0x8ca8e9(0x214)],_0x571696=this[_0x8ca8e9(0x11a)];this[_0x8ca8e9(0xe5)](_0x818dd8['combineLatest']([this[_0x8ca8e9(0x4db)][_0x8ca8e9(0x417)](_0x384b1f),this[_0x8ca8e9(0x319)][_0x8ca8e9(0x31e)]])['pipe'](_0x58132b['map'](([_0x55110e,_0x19218e])=>({'skeleton':_0x571696['getSkeleton'](),'cursors':[..._0x55110e['values']()][_0x8ca8e9(0x2fe)](_0x5811ca=>({..._0x5811ca,'color':_0x19218e[_0x5811ca[_0x8ca8e9(0x51f)]]}))})))[_0x8ca8e9(0x3aa)](_0x4fd71f=>{const _0x235dec=_0x8ca8e9;if(this[_0x235dec(0x4b6)](),_0x4fd71f){const {skeleton:_0x498d0a,cursors:_0x55ab81}=_0x4fd71f;this['_updateCollabCursors'](_0x498d0a,_0x55ab81);}})),this[_0x8ca8e9(0x139)](),this[_0x8ca8e9(0xb2)]();}[_0x4478c1(0x382)](_0x2d369a,_0x43ba5e){const _0x174ec5=_0x4478c1,{scene:_0x2c2641,mainComponent:_0x1a3abc}=this[_0x174ec5(0x172)],_0x2f4df8=_0x43ba5e['map'](_0x30031d=>new _0x148a77(_0x30031d,_0x2c2641,_0x2d369a,_0x1a3abc));this['_cursorShapes']=_0x2f4df8,this['_cursors']=_0x43ba5e;}[_0x4478c1(0x133)](){const _0x49ca0e=_0x4478c1;this['_removeCollabCursors']();const {scene:_0x564123,mainComponent:_0x36aea4}=this['_context'],_0x525bbf=this['_docSkeletonManagerService'][_0x49ca0e(0x374)](),_0x454fd5=this[_0x49ca0e(0x3cd)][_0x49ca0e(0x20e)](_0x177175=>new _0x148a77(_0x177175,_0x564123,_0x525bbf,_0x36aea4));this[_0x49ca0e(0x1dd)]=_0x454fd5;}[_0x4478c1(0x4b6)](){const _0x190f98=_0x4478c1;this[_0x190f98(0x1dd)]['forEach'](_0x3168a3=>_0x3168a3[_0x190f98(0x4e7)]()),this[_0x190f98(0x1dd)]=[];}[_0x4478c1(0xb2)](){const _0x4a1b2b=_0x4478c1,_0x91191e=[_0x488d74[_0x4a1b2b(0x409)]['id']];this[_0x4a1b2b(0xe5)](this[_0x4a1b2b(0x292)]['onCommandExecuted'](_0x312bbf=>{const _0x352770=_0x4a1b2b;_0x91191e[_0x352770(0x257)](_0x312bbf['id'])&&_0x312bbf[_0x352770(0x1a8)][_0x352770(0x214)]===this[_0x352770(0x172)][_0x352770(0x214)]&&this[_0x352770(0x133)]();}));}[_0x4478c1(0x139)](){const _0x8b738e=_0x4478c1;this[_0x8b738e(0xe5)](_0x3c1a84[_0x8b738e(0x2e7)](this[_0x8b738e(0x172)][_0x8b738e(0x22c)][_0x8b738e(0x4ea)])[_0x8b738e(0x4c4)](_0x58132b[_0x8b738e(0x3a9)](_0x2ad863=>_0x2ad863['type']===_0x591f66['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x58132b[_0x8b738e(0x420)](0x10))[_0x8b738e(0x3aa)](()=>{const _0x588c79=_0x8b738e;this[_0x588c79(0x133)]();}));}};_0x44db7e=_0x223aee([_0x23dd52(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x2a5ff4['DocSkeletonManagerService'])),_0x23dd52(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x5c8917)),_0x23dd52(0x3,_0x3c1a84['ICommandService']),_0x23dd52(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x4b4)]))],_0x44db7e);const _0x47a112=0x1,_0x18d190=1.5;class _0x54e9b5 extends _0x591f66[_0x4478c1(0x1f0)]{constructor(_0x1fd505,_0xf04b70){const _0x37e07a=_0x4478c1;super(_0x1fd505,_0xf04b70),_0xa880cb(this,_0x37e07a(0xe6)),_0xa880cb(this,_0x37e07a(0x249),!0x1),_0xa880cb(this,_0x37e07a(0x55a)),_0xa880cb(this,_0x37e07a(0x48c),''),_0xa880cb(this,'_labelPosition',_0x37e07a(0x48f)),_0xa880cb(this,_0x37e07a(0x3a6)),(_0xf04b70&&this[_0x37e07a(0x3b3)](_0xf04b70),this[_0x37e07a(0xfb)][_0x37e07a(0x236)](()=>this[_0x37e07a(0x3b3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x37e07a(0x236)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x398162){const _0x2c533b=_0x4478c1;var _0x2ab9d1,_0x5ea8ed,_0x51710d,_0x12bf22,_0x47c37d,_0x1013a8;this[_0x2c533b(0xe6)]=(_0x2ab9d1=_0x398162[_0x2c533b(0x51f)])!=null?_0x2ab9d1:this['_color'],this[_0x2c533b(0x249)]=(_0x5ea8ed=_0x398162['hovered'])!=null?_0x5ea8ed:this[_0x2c533b(0x249)],this[_0x2c533b(0x55a)]=(_0x51710d=_0x398162[_0x2c533b(0x3a0)])!=null?_0x51710d:this['_range'],this[_0x2c533b(0x48c)]=(_0x12bf22=_0x398162['name'])!=null?_0x12bf22:this[_0x2c533b(0x48c)],this[_0x2c533b(0x4a7)]=(_0x47c37d=_0x398162[_0x2c533b(0x365)])!=null?_0x47c37d:this[_0x2c533b(0x4a7)],this[_0x2c533b(0x3a6)]=(_0x1013a8=_0x398162[_0x2c533b(0x3c6)])!=null?_0x1013a8:this[_0x2c533b(0x3a6)],this['transformByState']({'width':_0x398162['width'],'height':_0x398162[_0x2c533b(0x310)]});}['onMouseMove'](_0x30a567){const _0x7adabc=_0x4478c1,{row:_0x8747c8,column:_0x37f75d}=_0x30a567;if(_0x8747c8>=this[_0x7adabc(0x55a)][_0x7adabc(0x1de)]&&_0x8747c8<=this['_range'][_0x7adabc(0x19c)]&&_0x37f75d>=this[_0x7adabc(0x55a)]['startColumn']&&_0x37f75d<=this[_0x7adabc(0x55a)][_0x7adabc(0x3a1)]){this[_0x7adabc(0x3b3)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4478c1(0x26e)](_0x39d786){return!0x1;}[_0x4478c1(0x34a)](_0x140169){const _0x3170ba=_0x4478c1;_0x591f66['Rect']['drawWith'](_0x140169,{'width':this[_0x3170ba(0x17f)],'height':this[_0x3170ba(0x310)],'strokeWidth':_0x18d190,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3170ba(0x249)]&&(_0x140169['save'](),_0x140169['transform'](0x1,0x0,0x0,0x1,this[_0x3170ba(0x17f)],this[_0x3170ba(0x4a7)]==='bottom'?0x0:-_0x2e2c48),_0x4e1f62[_0x3170ba(0xf1)](_0x140169,{'text':this['_name'],'color':this[_0x3170ba(0xe6)]}),_0x140169[_0x3170ba(0x4da)]());}}var _0x1dce0c=Object[_0x4478c1(0x19b)],_0x4ec694=Object['getOwnPropertyDescriptor'],_0x9b63bb=(_0x1e7dbc,_0x1f3194,_0x30a8c9,_0x3cf57e)=>{for(var _0x5227cb=_0x3cf57e>0x1?void 0x0:_0x3cf57e?_0x4ec694(_0x1f3194,_0x30a8c9):_0x1f3194,_0x3e2c6a=_0x1e7dbc['length']-0x1,_0x38db54;_0x3e2c6a>=0x0;_0x3e2c6a--)(_0x38db54=_0x1e7dbc[_0x3e2c6a])&&(_0x5227cb=(_0x3cf57e?_0x38db54(_0x1f3194,_0x30a8c9,_0x5227cb):_0x38db54(_0x5227cb))||_0x5227cb);return _0x3cf57e&&_0x5227cb&&_0x1dce0c(_0x1f3194,_0x30a8c9,_0x5227cb),_0x5227cb;},_0x848f2=(_0x22a092,_0x73dfdf)=>(_0x164386,_0x5936d9)=>_0x73dfdf(_0x164386,_0x5936d9,_0x22a092);const _0x5acada=0x1389;let _0x3f90c3=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x48aa1c,_0x2dafd2,_0xcbb822,_0x3750a1){const _0x58e35c=_0x4478c1;super(),_0xa880cb(this,_0x58e35c(0x3cd),new Set()),_0xa880cb(this,_0x58e35c(0x291),null),(this['_context']=_0x48aa1c,this['_sheetSkeletonManagerService']=_0x2dafd2,this[_0x58e35c(0x4db)]=_0xcbb822,this[_0x58e35c(0x319)]=_0x3750a1,this[_0x58e35c(0x12b)]());}[_0x4478c1(0x12b)](){const _0x413c9f=_0x4478c1;this[_0x413c9f(0x2ae)]['currentSkeleton$'][_0x413c9f(0x4c4)](_0x58132b[_0x413c9f(0x439)](this[_0x413c9f(0x23a)]),_0x58132b[_0x413c9f(0x3f5)](_0x145c78=>{const _0x123363=_0x413c9f;if(_0x145c78){const _0x867872=_0x145c78[_0x123363(0x299)];return _0x818dd8['combineLatest'](this[_0x123363(0x4db)][_0x123363(0x417)](this[_0x123363(0x172)][_0x123363(0x214)]),this[_0x123363(0x319)]['currentTheme$'])['pipe'](_0x58132b['map'](([_0x2bee10,_0x1fed05])=>{const _0x4b5e8f=_0x123363,_0x35edb9=new Map();return _0x2bee10[_0x4b5e8f(0x3b6)]((_0xdeea11,_0x1b5a0b)=>{const _0x539991=_0x4b5e8f;if(_0xdeea11[_0x539991(0x3d4)]===_0x867872){const _0x14fc88={..._0xdeea11};_0x14fc88['color']=_0x1fed05[_0xdeea11[_0x539991(0x51f)]],_0x35edb9[_0x539991(0x53e)](_0x1b5a0b,_0x14fc88);}}),{'skeleton':_0x145c78,'cursors':_0x35edb9};}));}return _0x818dd8['of']({'skeleton':null,'cursors':new Map()});}))[_0x413c9f(0x3aa)](({skeleton:_0x3bee9a,cursors:_0x59a61e})=>{const _0x2ae763=_0x413c9f;this[_0x2ae763(0x4b6)](),_0x3bee9a&&this[_0x2ae763(0x382)](_0x3bee9a,_0x59a61e);}),this['_sheetSkeletonManagerService'][_0x413c9f(0x207)]['subscribe'](_0x51e906=>{const _0x4f6161=_0x413c9f;if(_0x51e906==null)return;const {skeleton:_0x10b24f}=_0x51e906,{scene:_0x18ec71}=this['_context'];_0x18ec71[_0x4f6161(0x517)][_0x4f6161(0x236)](_0x3c1a84['debounce'](_0x1079ea=>{const _0x511259=_0x4f6161;var _0x17cb1f,_0x35ff83;const {offsetX:_0xb26f7b,offsetY:_0x511acb}=_0x1079ea,{x:_0x37d16d,y:_0x5cd02a}=_0x18ec71[_0x511259(0x128)](_0x591f66[_0x511259(0x137)][_0x511259(0x17b)]([_0xb26f7b,_0x511acb])),{scaleX:_0x2cd7d5,scaleY:_0xa6a2b7}=_0x18ec71['getAncestorScale'](),_0x52b5b3=_0x18ec71[_0x511259(0x370)](_0x451e81['VIEWPORT_KEY'][_0x511259(0x1d8)]),_0x3762e2=_0x18ec71[_0x511259(0x376)](_0x591f66[_0x511259(0x137)][_0x511259(0x17b)]([_0x37d16d,_0x5cd02a]),_0x52b5b3),_0x34f290=_0x10b24f[_0x511259(0x163)](_0xb26f7b,_0x511acb,_0x2cd7d5,_0xa6a2b7,_0x3762e2);((_0x17cb1f=this[_0x511259(0x291)])==null?void 0x0:_0x17cb1f[_0x511259(0x323)])===_0x34f290[_0x511259(0x323)]&&((_0x35ff83=this[_0x511259(0x291)])==null?void 0x0:_0x35ff83[_0x511259(0x15f)])===_0x34f290[_0x511259(0x15f)]||this['_cursors'][_0x511259(0x3b6)](_0x17fd6e=>{const _0x4c51ef=_0x511259;_0x17fd6e[_0x4c51ef(0x4d6)](_0x34f290);});},0x64));});}['_updateCollabCursors'](_0xf3e8f2,_0x1c987f){const _0x2f952f=_0x4478c1;var _0x499b3b;const _0x35f594=(_0x499b3b=this['_sheetSkeletonManagerService'][_0x2f952f(0x2d7)]())==null?void 0x0:_0x499b3b[_0x2f952f(0x540)];if(!_0x35f594)return;const _0x34398e=this[_0x2f952f(0x332)]();if(!_0x34398e)return;this[_0x2f952f(0x3cd)][_0x2f952f(0x3b6)](_0xf46476=>{_0xf46476['makeDirty']();});const {scene:_0x24c334}=_0x34398e,_0x2f0ce2=_0x305c13(Array[_0x2f952f(0x301)](_0x1c987f[_0x2f952f(0x37f)]()))[_0x2f952f(0x20e)](_0x37d251=>{const _0x442b63=_0x2f952f,{color:_0xa66eb9,range:_0x4886cf,name:_0x42a3eb,selection:_0x66f317,sheetID:_0xbdb520}=_0x37d251,{startColumn:_0x4afeba,startRow:_0x4ec1ff,endColumn:_0x3b6942,endRow:_0x3e7a13}=_0x4886cf,_0x154ac0=_0x451e81[_0x442b63(0x328)](_0x4ec1ff,_0x4afeba,_0x24c334,_0x35f594),_0x324d44=_0x451e81['getCoordByCell'](_0x3e7a13,_0x3b6942,_0x24c334,_0x35f594),{columnHeaderHeightAndMarginTop:_0x37ea95}=_0x35f594,{startX:_0x16a455,startY:_0x1a323f}=_0x154ac0,{endX:_0x4cc8c8,endY:_0x16647e}=_0x324d44,_0x3bb301=_0x4cc8c8-_0x16a455,_0x220ca1=_0x16647e-_0x1a323f,_0xcd73e={'labelPosition':_0x1a323f-_0x37ea95>=_0x2e2c48?_0x442b63(0x48f):'bottom','sheetID':_0xbdb520,'range':_0x4886cf,'color':_0xa66eb9,'name':_0x42a3eb,'selection':_0x66f317,'left':_0x16a455,'top':_0x1a323f,'width':_0x3bb301,'height':_0x220ca1,'evented':!0x1,'zIndex':_0x5acada};return new _0x54e9b5(_0x42a3eb,_0xcd73e);});_0x24c334[_0x2f952f(0x247)](_0x2f0ce2,_0x47a112),this[_0x2f952f(0x3cd)]=new Set(_0x2f0ce2);}['_removeCollabCursors'](){const _0x4a6d83=_0x4478c1;var _0x5ef601;(_0x5ef601=this[_0x4a6d83(0x3cd)])==null||_0x5ef601[_0x4a6d83(0x3b6)](_0x17efd9=>_0x17efd9[_0x4a6d83(0x4e7)]());}[_0x4478c1(0x332)](){const _0xf65cd4=_0x4478c1;return _0x451e81['getSheetObject'](this[_0xf65cd4(0x172)][_0xf65cd4(0x14a)],this[_0xf65cd4(0x172)]);}};_0x3f90c3=_0x9b63bb([_0x848f2(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x451e81[_0x4478c1(0x4f8)])),_0x848f2(0x2,_0x3c1a84['Inject'](_0x5c8917)),_0x848f2(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x4b4)]))],_0x3f90c3);function _0x305c13(_0x41ce64){const _0x17cd1e=_0x4478c1,_0x4d7b4c=new Map();return _0x41ce64['forEach'](_0x442497=>{const _0x3df0d2=_0x406b;if(_0x4d7b4c[_0x3df0d2(0x431)](_0x442497['selection'])){const _0x41cdf5=_0x4d7b4c[_0x3df0d2(0x115)](_0x442497[_0x3df0d2(0x2dd)]);_0x41cdf5[_0x3df0d2(0x3d7)]+=',\x20'+_0x442497['name'];}else _0x4d7b4c[_0x3df0d2(0x53e)](_0x442497['selection'],_0x442497);}),Array[_0x17cd1e(0x301)](_0x4d7b4c['values']());}var _0x4040b9=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3b9412(_0x3bed92){const _0x12b113=_0x4478c1;return _0x3bed92&&_0x3bed92['__esModule']&&Object['prototype'][_0x12b113(0x143)][_0x12b113(0x3e3)](_0x3bed92,_0x12b113(0x2a1))?_0x3bed92[_0x12b113(0x2a1)]:_0x3bed92;}var _0x558616={'exports':{}},_0x39c788={},_0x33f454=_0xa0cf8d,_0x11ddad=Symbol[_0x4478c1(0x3b7)](_0x4478c1(0x4f6)),_0x476c68=Symbol['for'](_0x4478c1(0x145)),_0x1e7dfc=Object[_0x4478c1(0x35e)][_0x4478c1(0x143)],_0x39d801=_0x33f454[_0x4478c1(0x4d7)][_0x4478c1(0x333)],_0x2a1b65={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1a6da4(_0x46c24e,_0xa05725,_0x4bb318){const _0x5e985c=_0x4478c1;var _0x55d230,_0x4044bb={},_0x5d7412=null,_0x3803f4=null;_0x4bb318!==void 0x0&&(_0x5d7412=''+_0x4bb318),_0xa05725[_0x5e985c(0x426)]!==void 0x0&&(_0x5d7412=''+_0xa05725[_0x5e985c(0x426)]),_0xa05725[_0x5e985c(0x1c1)]!==void 0x0&&(_0x3803f4=_0xa05725[_0x5e985c(0x1c1)]);for(_0x55d230 in _0xa05725)_0x1e7dfc[_0x5e985c(0x3e3)](_0xa05725,_0x55d230)&&!_0x2a1b65[_0x5e985c(0x143)](_0x55d230)&&(_0x4044bb[_0x55d230]=_0xa05725[_0x55d230]);if(_0x46c24e&&_0x46c24e['defaultProps']){for(_0x55d230 in(_0xa05725=_0x46c24e[_0x5e985c(0x4b2)],_0xa05725))_0x4044bb[_0x55d230]===void 0x0&&(_0x4044bb[_0x55d230]=_0xa05725[_0x55d230]);}return{'$$typeof':_0x11ddad,'type':_0x46c24e,'key':_0x5d7412,'ref':_0x3803f4,'props':_0x4044bb,'_owner':_0x39d801[_0x5e985c(0x4f4)]};}_0x39c788['Fragment']=_0x476c68,_0x39c788['jsx']=_0x1a6da4,_0x39c788[_0x4478c1(0x472)]=_0x1a6da4,_0x558616[_0x4478c1(0x201)]=_0x39c788;var _0x45643b=_0x558616[_0x4478c1(0x201)],_0x267ddf=function(){const _0x19b7c1=_0x4478c1;return _0x267ddf=Object[_0x19b7c1(0x47a)]||function(_0x488238){const _0x4fdfdc=_0x19b7c1;for(var _0x5f47c9,_0x16096b=0x1,_0x39b8b0=arguments[_0x4fdfdc(0x315)];_0x16096b<_0x39b8b0;_0x16096b++){_0x5f47c9=arguments[_0x16096b];for(var _0xba8291 in _0x5f47c9)Object[_0x4fdfdc(0x35e)][_0x4fdfdc(0x143)]['call'](_0x5f47c9,_0xba8291)&&(_0x488238[_0xba8291]=_0x5f47c9[_0xba8291]);}return _0x488238;},_0x267ddf[_0x19b7c1(0x52c)](this,arguments);},_0x4b160c=function(_0x5690e8,_0x28ef20){const _0x1f2cd3=_0x4478c1;var _0x269cc8={};for(var _0x59299b in _0x5690e8)Object[_0x1f2cd3(0x35e)][_0x1f2cd3(0x143)][_0x1f2cd3(0x3e3)](_0x5690e8,_0x59299b)&&_0x28ef20['indexOf'](_0x59299b)<0x0&&(_0x269cc8[_0x59299b]=_0x5690e8[_0x59299b]);if(_0x5690e8!=null&&typeof Object['getOwnPropertySymbols']==_0x1f2cd3(0x466)){for(var _0x2a0145=0x0,_0x59299b=Object[_0x1f2cd3(0x22e)](_0x5690e8);_0x2a0145<_0x59299b[_0x1f2cd3(0x315)];_0x2a0145++)_0x28ef20[_0x1f2cd3(0x509)](_0x59299b[_0x2a0145])<0x0&&Object[_0x1f2cd3(0x35e)]['propertyIsEnumerable'][_0x1f2cd3(0x3e3)](_0x5690e8,_0x59299b[_0x2a0145])&&(_0x269cc8[_0x59299b[_0x2a0145]]=_0x5690e8[_0x59299b[_0x2a0145]]);}return _0x269cc8;},_0x1dee6f=_0xa0cf8d[_0x4478c1(0x329)](function(_0xeab131,_0x5da657){const _0x11653e=_0x4478c1;var _0x43459c=_0xeab131[_0x11653e(0xec)],_0x1a2093=_0xeab131['id'],_0x198981=_0xeab131[_0x11653e(0x454)],_0x24c5cb=_0xeab131['extend'],_0x18f15b=_0x4b160c(_0xeab131,[_0x11653e(0xec),'id',_0x11653e(0x454),'extend']),_0x98f02e='univerjs-icon\x20univerjs-icon-'[_0x11653e(0x287)](_0x1a2093,'\x20')['concat'](_0x198981||'')['trim'](),_0xb3f05b=_0xa0cf8d[_0x11653e(0x3e0)]('_'['concat'](_0x3ee803()));return _0x15eefa(_0x43459c,''[_0x11653e(0x287)](_0x1a2093),{'defIds':_0x43459c[_0x11653e(0x2ec)],'idSuffix':_0xb3f05b['current']},_0x267ddf({'ref':_0x5da657,'className':_0x98f02e},_0x18f15b),_0x24c5cb);});function _0x15eefa(_0x1c178a,_0x1ac29f,_0x2428ef,_0x36a978,_0x139803){const _0x2492a3=_0x4478c1;return _0xa0cf8d[_0x2492a3(0x199)](_0x1c178a[_0x2492a3(0x280)],_0x267ddf(_0x267ddf({'key':_0x1ac29f},_0x2e202a(_0x1c178a,_0x2428ef,_0x139803)),_0x36a978),(_0x112814(_0x1c178a,_0x2428ef)[_0x2492a3(0xc9)]||[])[_0x2492a3(0x20e)](function(_0x5f0b90,_0x28d448){const _0x56e2df=_0x2492a3;return _0x15eefa(_0x5f0b90,''[_0x56e2df(0x287)](_0x1ac29f,'-')[_0x56e2df(0x287)](_0x1c178a[_0x56e2df(0x280)],'-')['concat'](_0x28d448),_0x2428ef,void 0x0,_0x139803);}));}function _0x2e202a(_0x330daa,_0x4028ea,_0x454d69){const _0x4ef598=_0x4478c1;var _0x28890d=_0x267ddf({},_0x330daa[_0x4ef598(0x159)]);_0x454d69!=null&&_0x454d69['colorChannel1']&&_0x28890d[_0x4ef598(0x215)]===_0x4ef598(0x14b)&&(_0x28890d[_0x4ef598(0x215)]=_0x454d69['colorChannel1']);var _0x49834e=_0x4028ea[_0x4ef598(0x2ec)];return!_0x49834e||_0x49834e[_0x4ef598(0x315)]===0x0||(_0x330daa['tag']===_0x4ef598(0x4cc)&&_0x28890d[_0x4ef598(0x449)]&&(_0x28890d[_0x4ef598(0x449)]=_0x28890d[_0x4ef598(0x449)]+_0x4028ea[_0x4ef598(0x17d)]),Object[_0x4ef598(0x526)](_0x28890d)[_0x4ef598(0x3b6)](function(_0x539562){const _0x1a4ddc=_0x4ef598;var _0x1733f2=_0x539562[0x0],_0x2e150e=_0x539562[0x1];typeof _0x2e150e==_0x1a4ddc(0x427)&&(_0x28890d[_0x1733f2]=_0x2e150e[_0x1a4ddc(0x55c)](/url\(#(.*)\)/,_0x1a4ddc(0x348)[_0x1a4ddc(0x287)](_0x4028ea[_0x1a4ddc(0x17d)],')')));})),_0x28890d;}function _0x112814(_0x3db9a7,_0x2b152e){const _0x302830=_0x4478c1;var _0x49e3ac,_0x42e1c8=_0x2b152e[_0x302830(0x2ec)];return!_0x42e1c8||_0x42e1c8[_0x302830(0x315)]===0x0?_0x3db9a7:_0x3db9a7[_0x302830(0x280)]==='defs'&&(!((_0x49e3ac=_0x3db9a7[_0x302830(0xc9)])===null||_0x49e3ac===void 0x0)&&_0x49e3ac['length'])?_0x267ddf(_0x267ddf({},_0x3db9a7),{'children':_0x3db9a7[_0x302830(0xc9)][_0x302830(0x20e)](function(_0x1ea194){const _0x261b99=_0x302830;return typeof _0x1ea194[_0x261b99(0x159)]['id']==_0x261b99(0x427)&&_0x42e1c8&&_0x42e1c8[_0x261b99(0x509)](_0x1ea194['attrs']['id'])>-0x1?_0x267ddf(_0x267ddf({},_0x1ea194),{'attrs':_0x267ddf(_0x267ddf({},_0x1ea194[_0x261b99(0x159)]),{'id':_0x1ea194[_0x261b99(0x159)]['id']+_0x2b152e[_0x261b99(0x17d)]})}):_0x1ea194;})}):_0x3db9a7;}function _0x3ee803(){const _0x1d150f=_0x4478c1;return Math[_0x1d150f(0x144)]()[_0x1d150f(0x397)](0x24)[_0x1d150f(0xfd)](0x2,0x8);}_0x1dee6f[_0x4478c1(0x45f)]=_0x4478c1(0x2e0);var _0x9a8139={'tag':_0x4478c1(0x195),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4478c1(0x29a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4478c1(0x28b)},'children':[{'tag':_0x4478c1(0x2c9),'attrs':{'stroke':'currentColor','d':_0x4478c1(0x29b),'strokeLinecap':_0x4478c1(0x1ef),'strokeLinejoin':_0x4478c1(0x1ef),'strokeWidth':1.2}}]},{'tag':_0x4478c1(0x123),'attrs':{},'children':[{'tag':_0x4478c1(0x16f),'attrs':{'id':_0x4478c1(0x233)},'children':[{'tag':_0x4478c1(0x2c9),'attrs':{'fill':'#fff','d':_0x4478c1(0x2c7)}}]}]}],'defIds':[_0x4478c1(0x233)]},_0x5bb52e=_0xa0cf8d[_0x4478c1(0x329)](function(_0x21d418,_0x46cb44){return _0xa0cf8d['createElement'](_0x1dee6f,Object['assign']({},_0x21d418,{'id':'off-line-single','ref':_0x46cb44,'icon':_0x9a8139}));});_0x5bb52e['displayName']='OffLineSingle';var _0x516d13={'tag':_0x4478c1(0x195),'attrs':{'fill':_0x4478c1(0xbc),'viewBox':_0x4478c1(0x344),'width':_0x4478c1(0x29a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4478c1(0x15c)},'children':[{'tag':'path','attrs':{'stroke':_0x4478c1(0x331),'d':_0x4478c1(0x30c),'strokeLinecap':_0x4478c1(0x1ef),'strokeLinejoin':_0x4478c1(0x1ef),'strokeWidth':1.2}}]},{'tag':_0x4478c1(0x123),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4478c1(0x55b)},'children':[{'tag':_0x4478c1(0x2c9),'attrs':{'fill':'#fff','d':_0x4478c1(0x2c7),'transform':_0x4478c1(0xb1)}}]}]}],'defIds':[_0x4478c1(0x55b)]},_0x67f022=_0xa0cf8d[_0x4478c1(0x329)](function(_0x1a246b,_0x40263a){const _0x576702=_0x4478c1;return _0xa0cf8d[_0x576702(0x199)](_0x1dee6f,Object[_0x576702(0x47a)]({},_0x1a246b,{'id':_0x576702(0x3f1),'ref':_0x40263a,'icon':_0x516d13}));});_0x67f022[_0x4478c1(0x45f)]=_0x4478c1(0x54d);function _0x250a40(_0x13327b){const _0x2c48f7=_0x4478c1;var _0x1897bd,_0x21e9da,_0x775f23='';if(typeof _0x13327b==_0x2c48f7(0x427)||typeof _0x13327b==_0x2c48f7(0x3f7))_0x775f23+=_0x13327b;else{if(typeof _0x13327b==_0x2c48f7(0x164)){if(Array['isArray'](_0x13327b)){var _0x3cb6e4=_0x13327b['length'];for(_0x1897bd=0x0;_0x1897bd<_0x3cb6e4;_0x1897bd++)_0x13327b[_0x1897bd]&&(_0x21e9da=_0x250a40(_0x13327b[_0x1897bd]))&&(_0x775f23&&(_0x775f23+='\x20'),_0x775f23+=_0x21e9da);}else{for(_0x21e9da in _0x13327b)_0x13327b[_0x21e9da]&&(_0x775f23&&(_0x775f23+='\x20'),_0x775f23+=_0x21e9da);}}}return _0x775f23;}function _0x5d95df(){for(var _0xe8780e,_0xa2bffc,_0x52380a=0x0,_0xcaf9c='',_0x1d1a6b=arguments['length'];_0x52380a<_0x1d1a6b;_0x52380a++)(_0xe8780e=arguments[_0x52380a])&&(_0xa2bffc=_0x250a40(_0xe8780e))&&(_0xcaf9c&&(_0xcaf9c+='\x20'),_0xcaf9c+=_0xa2bffc);return _0xcaf9c;}const _0x59ebe9={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x4478c1(0x311),'onlineStatus':_0x4478c1(0x21a),'online':_0x4478c1(0x20a),'offline':'univer-offline'};function _0x4ad321(_0x1d6aaf){const _0x5b3f01=_0x4478c1;switch(_0x1d6aaf){case _0x2683d3[_0x5b3f01(0x423)]:return'collabStatus.offline';case _0x2683d3[_0x5b3f01(0x26c)]:return _0x5b3f01(0x1eb);case _0x2683d3[_0x5b3f01(0x219)]:return'collabStatus.fetchMiss';case _0x2683d3[_0x5b3f01(0x553)]:return _0x5b3f01(0x1b1);case _0x2683d3[_0x5b3f01(0x4d0)]:case _0x2683d3[_0x5b3f01(0x3e4)]:return _0x5b3f01(0x2ad);case _0x2683d3['SYNCED']:case _0x2683d3[_0x5b3f01(0x210)]:return _0x5b3f01(0x103);}}function _0x388fe5(_0x433595){const _0x2f4493=_0x4478c1,{status$:_0x590bbc}=_0x433595,_0x37b470=_0xa35fb[_0x2f4493(0x3fe)](_0x590bbc,_0x2683d3[_0x2f4493(0x553)]),_0x490ad8=_0x3c1a84['useDependency'](_0x3c1a84['LocaleService']),_0x1857cc=_0x3c1a84[_0x2f4493(0x4a0)](_0x1191ba['CollaborationSessionService']),_0x2f24ef=_0x37b470!==_0x2683d3['OFFLINE'],_0x423f20=_0x490ad8['t'](_0x4ad321(_0x37b470)),_0x56c8df=_0x5d95df(_0x59ebe9[_0x2f4493(0x26d)],{[_0x59ebe9['online']]:_0x2f24ef,[_0x59ebe9['offline']]:!_0x2f24ef}),_0x49c8b4=_0x2f24ef?_0x45643b['jsx'](_0x67f022,{}):_0x45643b[_0x2f4493(0x1b7)](_0x5bb52e,{}),_0x18c2ac=_0xa0cf8d[_0x2f4493(0x1d6)](()=>{const _0x4d9b24=_0x2f4493;_0x2f24ef||_0x1857cc[_0x4d9b24(0x430)]();},[_0x2f24ef,_0x1857cc]);function _0x2e3449(){const _0x1084fe=_0x2f4493;return _0x45643b[_0x1084fe(0x472)]('div',{'className':_0x56c8df,'onClick':_0x18c2ac,'children':[_0x45643b[_0x1084fe(0x1b7)](_0x1084fe(0x49b),{'className':_0x59ebe9['onlineStatusIcon'],'children':_0x49c8b4}),_0x45643b[_0x1084fe(0x1b7)]('div',{'className':_0x59ebe9['onlineStatusTitle'],'children':_0x423f20})]});}return _0x2f24ef?_0x2e3449():_0x45643b['jsx'](_0x39c661[_0x2f4493(0x1e7)],{'title':_0x490ad8['t'](_0x2f4493(0x2f2)),'children':_0x2e3449()});}var _0x5d63df=Object['defineProperty'],_0x28338c=Object[_0x4478c1(0x4d8)],_0x3f4c2d=(_0x5d9038,_0x4a229d,_0x4353b5,_0x36c277)=>{const _0x3106af=_0x4478c1;for(var _0x44a4b6=_0x36c277>0x1?void 0x0:_0x36c277?_0x28338c(_0x4a229d,_0x4353b5):_0x4a229d,_0x1b8f1f=_0x5d9038[_0x3106af(0x315)]-0x1,_0xc05401;_0x1b8f1f>=0x0;_0x1b8f1f--)(_0xc05401=_0x5d9038[_0x1b8f1f])&&(_0x44a4b6=(_0x36c277?_0xc05401(_0x4a229d,_0x4353b5,_0x44a4b6):_0xc05401(_0x44a4b6))||_0x44a4b6);return _0x36c277&&_0x44a4b6&&_0x5d63df(_0x4a229d,_0x4353b5,_0x44a4b6),_0x44a4b6;},_0x29c0d8=(_0x99d93a,_0x5e7613)=>(_0x1bfd55,_0x3d484c)=>_0x5e7613(_0x1bfd55,_0x3d484c,_0x99d93a);_0x1191ba[_0x4478c1(0x31f)]=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x1c26f1,_0x150f83,_0x223134,_0x8ba056){const _0x459677=_0x4478c1;super(),_0xa880cb(this,_0x459677(0x425),new _0x818dd8[(_0x459677(0x122))](_0x2683d3[_0x459677(0x553)])),(this[_0x459677(0x35b)]=_0x1c26f1,this['_uiPartsService']=_0x150f83,this[_0x459677(0x391)]=_0x223134,this[_0x459677(0x432)]=_0x8ba056,this[_0x459677(0x2ac)](),this['_initStatusListener']());}[_0x4478c1(0x492)](){const _0x2813ba=_0x4478c1;this['disposeWithMe'](this[_0x2813ba(0x35b)][_0x2813ba(0xad)][_0x2813ba(0x4c4)](_0x818dd8[_0x2813ba(0x3f5)](()=>{const _0x1bf458=_0x2813ba,_0x325407=this[_0x1bf458(0x35b)][_0x1bf458(0x142)]();return _0x325407?this[_0x1bf458(0x432)][_0x1bf458(0x38e)](_0x325407['getUnitId']()):_0x818dd8['of'](null);}),_0x818dd8[_0x2813ba(0x3f5)](_0x1e889f=>_0x1e889f?_0x1e889f[_0x2813ba(0x34d)]:_0x818dd8['of'](_0x2683d3[_0x2813ba(0x553)])))[_0x2813ba(0x3aa)](_0x2691ac=>{const _0x24722b=_0x2813ba;this[_0x24722b(0x425)][_0x24722b(0xdb)](_0x2691ac);}));}[_0x4478c1(0x2ac)](){const _0x5b6e7c=_0x4478c1;this[_0x5b6e7c(0xe5)](this[_0x5b6e7c(0x534)][_0x5b6e7c(0x2ea)](_0xa35fb['BuiltInUIPart'][_0x5b6e7c(0x3ce)],()=>_0x3c1a84['connectInjector'](_0x2612a8({'status$':this['_status$']['asObservable']()}),this[_0x5b6e7c(0x391)])));}},_0x1191ba[_0x4478c1(0x31f)]=_0x3f4c2d([_0x29c0d8(0x0,_0x3c1a84['IUniverInstanceService']),_0x29c0d8(0x1,_0xa35fb['IUIPartsService']),_0x29c0d8(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['Injector'])),_0x29c0d8(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba[_0x4478c1(0x1ca)]))],_0x1191ba[_0x4478c1(0x31f)]);function _0x2612a8(_0x1db3a3){const {status$:_0x4b9774}=_0x1db3a3;return function(){const _0x3c5293=_0x406b;return _0x45643b[_0x3c5293(0x1b7)](_0x388fe5,{'status$':_0x4b9774});};}const _0x5d9dfe=_0x3c1a84['createIdentifier']('uni.network.url-service');var _0x3384ab=Object['defineProperty'],_0x12c9bf=Object['getOwnPropertyDescriptor'],_0x19f538=(_0x18218e,_0xb7bc86,_0x3c07d1,_0x162cbd)=>{const _0x3a4826=_0x4478c1;for(var _0x36d77a=_0x162cbd>0x1?void 0x0:_0x162cbd?_0x12c9bf(_0xb7bc86,_0x3c07d1):_0xb7bc86,_0x2d78eb=_0x18218e[_0x3a4826(0x315)]-0x1,_0x2339ff;_0x2d78eb>=0x0;_0x2d78eb--)(_0x2339ff=_0x18218e[_0x2d78eb])&&(_0x36d77a=(_0x162cbd?_0x2339ff(_0xb7bc86,_0x3c07d1,_0x36d77a):_0x2339ff(_0x36d77a))||_0x36d77a);return _0x162cbd&&_0x36d77a&&_0x3384ab(_0xb7bc86,_0x3c07d1,_0x36d77a),_0x36d77a;},_0x219d71=(_0x456db8,_0x4bbd80)=>(_0x4a4eed,_0x255ca8)=>_0x4bbd80(_0x4a4eed,_0x255ca8,_0x456db8);_0x1191ba['DataLoaderController']=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x5a74cd,_0x414a1c,_0x2d0620,_0x57c4a8,_0x14a1d6,_0x2d4c99){const _0x241277=_0x4478c1;super(),this['_urlService']=_0x5a74cd,this['_logService']=_0x414a1c,this['_commandService']=_0x2d0620,this[_0x241277(0x411)]=_0x57c4a8,this[_0x241277(0x1ba)]=_0x14a1d6,_0x2d4c99?_0x2d4c99==null||_0x2d4c99[_0x241277(0x19a)]()['then'](()=>this['_init']()):(this['_logService'][_0x241277(0x1d9)]('[DataLoaderController]',_0x241277(0x45b)),this[_0x241277(0x12b)]());}async[_0x4478c1(0x12b)](){const _0x366a4e=_0x4478c1,_0xdc0861=this[_0x366a4e(0x271)]['getParam'](_0x366a4e(0x14a)),_0x4d027c=this['_urlService']['getParam']('type');if(!_0xdc0861||!_0x4d027c){this['_logService'][_0x366a4e(0x1d9)](_0x366a4e(0x324),_0x366a4e(0x530));return;}switch(Number(_0x4d027c)){case _0x4d76be[_0x366a4e(0x13a)]:{const _0x975747=await this[_0x366a4e(0x4f2)](_0xdc0861);this['_setupSubUnitSync'](_0x975747);break;}case _0x4d76be[_0x366a4e(0x3d0)]:{await this[_0x366a4e(0x1fa)](_0xdc0861);break;}default:{this[_0x366a4e(0x4c1)]['error'](_0x366a4e(0x324),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x4478c1(0x38f)](_0x5752ad){const _0x8a9b38=_0x4478c1;await this['_updateSubUnitFromURLParams'](_0x5752ad),_0x5752ad[_0x8a9b38(0x153)][_0x8a9b38(0x4c4)](_0x818dd8[_0x8a9b38(0x439)](this[_0x8a9b38(0x23a)]))[_0x8a9b38(0x3aa)](_0x1a3dfc=>{const _0x2baf7d=_0x8a9b38;_0x1a3dfc&&this[_0x2baf7d(0x349)](_0x1a3dfc);}),this[_0x8a9b38(0x271)]['urlChange$']['pipe'](_0x818dd8[_0x8a9b38(0x439)](this[_0x8a9b38(0x23a)]))['subscribe'](()=>this[_0x8a9b38(0x1a5)](_0x5752ad));}[_0x4478c1(0x349)](_0x27c9be,_0x2152b1=!0x1){const _0x5b8b18=_0x4478c1,_0x9276c0=this[_0x5b8b18(0x271)][_0x5b8b18(0xac)](_0x5b8b18(0x516));_0x27c9be[_0x5b8b18(0x507)]()!==_0x9276c0&&this['_urlService'][_0x5b8b18(0x38d)](_0x5b8b18(0x516),_0x27c9be[_0x5b8b18(0x507)](),_0x2152b1);}async[_0x4478c1(0x1a5)](_0x23ded3){const _0x1d9a61=_0x4478c1;var _0x89cf72;const _0x5d07cc=this[_0x1d9a61(0x271)][_0x1d9a61(0xac)](_0x1d9a61(0x516));if(!_0x5d07cc||!_0x23ded3['getSheetBySheetId'](_0x5d07cc)){const _0x140867=_0x23ded3['getUnhiddenWorksheets']()[0x0],_0x3748f6=_0x23ded3[_0x1d9a61(0x561)](_0x140867);if(!_0x3748f6)return;this[_0x1d9a61(0x349)](_0x3748f6,!0x0),await this[_0x1d9a61(0x292)][_0x1d9a61(0x3a3)](_0x16d7e8[_0x1d9a61(0x259)]['id'],{'unitId':_0x23ded3['getUnitId'](),'subUnitId':_0x140867});return;}((_0x89cf72=_0x23ded3[_0x1d9a61(0x440)]())==null?void 0x0:_0x89cf72['getSheetId']())!==_0x5d07cc&&await this[_0x1d9a61(0x292)][_0x1d9a61(0x3a3)](_0x16d7e8[_0x1d9a61(0x259)]['id'],{'unitId':_0x23ded3[_0x1d9a61(0x2b5)](),'subUnitId':_0x5d07cc});}async[_0x4478c1(0x4f2)](_0x2b92bd){const _0x359595=_0x4478c1;let _0x330e2a=0x0;const _0x54ff01=await this[_0x359595(0x411)][_0x359595(0xb0)](_0x2b92bd);return _0x54ff01&&(_0x54ff01[_0x359595(0xc2)]||_0x54ff01[_0x359595(0x213)][_0x359595(0x315)]!==0x0)&&(_0x330e2a=_0x54ff01[_0x359595(0x104)]),_0x330e2a===0x0&&this['_logService']['debug'](_0x359595(0x324),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x359595(0x1ba)][_0x359595(0x109)](_0x2b92bd,_0x330e2a);}async[_0x4478c1(0x1fa)](_0x1e6d8f){const _0x5765ad=_0x4478c1;let _0x5d4561=0x0;const _0x2a75e1=await this[_0x5765ad(0x411)]['loadOfflineData'](_0x1e6d8f);return _0x2a75e1&&(_0x2a75e1[_0x5765ad(0xc2)]||_0x2a75e1[_0x5765ad(0x213)][_0x5765ad(0x315)]!==0x0)&&(_0x5d4561=_0x2a75e1[_0x5765ad(0x104)]),_0x5d4561===0x0&&this[_0x5765ad(0x4c1)][_0x5765ad(0x1d9)](_0x5765ad(0x324),_0x5765ad(0x190)),this[_0x5765ad(0x1ba)]['loadDoc'](_0x1e6d8f,_0x5d4561);}},_0x1191ba[_0x4478c1(0xf5)]=_0x19f538([_0x219d71(0x0,_0x5d9dfe),_0x219d71(0x1,_0x3c1a84['ILogService']),_0x219d71(0x2,_0x3c1a84['ICommandService']),_0x219d71(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['LocalCacheService'])),_0x219d71(0x4,_0x3c1a84[_0x4478c1(0x3dc)](_0xa820f[_0x4478c1(0x25c)])),_0x219d71(0x5,_0x3c1a84[_0x4478c1(0x40b)](_0x149d86[_0x4478c1(0x518)]))],_0x1191ba[_0x4478c1(0xf5)]);var _0x5da5ce=Object[_0x4478c1(0x19b)],_0x137005=Object['getOwnPropertyDescriptor'],_0x444765=(_0x3ca847,_0x22a48d,_0x4e19fe,_0x480115)=>{const _0x3bde52=_0x4478c1;for(var _0x5db051=_0x480115>0x1?void 0x0:_0x480115?_0x137005(_0x22a48d,_0x4e19fe):_0x22a48d,_0x19cd33=_0x3ca847[_0x3bde52(0x315)]-0x1,_0x3db769;_0x19cd33>=0x0;_0x19cd33--)(_0x3db769=_0x3ca847[_0x19cd33])&&(_0x5db051=(_0x480115?_0x3db769(_0x22a48d,_0x4e19fe,_0x5db051):_0x3db769(_0x5db051))||_0x5db051);return _0x480115&&_0x5db051&&_0x5da5ce(_0x22a48d,_0x4e19fe,_0x5db051),_0x5db051;},_0x12e748=(_0x2522d3,_0x13cad4)=>(_0xe25f02,_0x39b42c)=>_0x13cad4(_0xe25f02,_0x39b42c,_0x2522d3);const _0x5f3ab7=_0x4478c1(0x2a5),_0x318b0c=_0x4478c1(0x4dd);let _0x252e15=class extends _0x3c1a84[_0x4478c1(0x4ec)]{constructor(_0x7a703d,_0x229cfa){const _0x2820c0=_0x4478c1;super(),this[_0x2820c0(0x35b)]=_0x7a703d,this[_0x2820c0(0x17a)]=_0x229cfa,this['_init']();}[_0x4478c1(0x12b)](){const _0x228f50=_0x4478c1;this[_0x228f50(0xe5)](this[_0x228f50(0x35b)]['focused$']['subscribe'](()=>{const _0x21a46a=_0x228f50;var _0x10b711;const _0x2843a4=this[_0x21a46a(0x35b)][_0x21a46a(0x142)]();let _0x584d0a=(_0x10b711=this[_0x21a46a(0x17a)][_0x21a46a(0x1d4)](_0x5f3ab7))!=null?_0x10b711:_0x318b0c;_0x2843a4 instanceof _0x3c1a84[_0x21a46a(0x2d3)]&&(_0x584d0a=_0x2843a4[_0x21a46a(0x3d7)]),document['title']=_0x584d0a;}));}};_0x252e15=_0x444765([_0x12e748(0x0,_0x3c1a84[_0x4478c1(0x3d5)]),_0x12e748(0x1,_0x3c1a84[_0x4478c1(0x56b)])],_0x252e15);var _0x1b5fba=Object[_0x4478c1(0x19b)],_0x15953e=Object[_0x4478c1(0x4d8)],_0xd5017b=(_0x28f065,_0x47fb40,_0x46b435,_0x381a97)=>{const _0xa54339=_0x4478c1;for(var _0x13c12f=_0x381a97>0x1?void 0x0:_0x381a97?_0x15953e(_0x47fb40,_0x46b435):_0x47fb40,_0x3f0df2=_0x28f065[_0xa54339(0x315)]-0x1,_0x3dd3bf;_0x3f0df2>=0x0;_0x3f0df2--)(_0x3dd3bf=_0x28f065[_0x3f0df2])&&(_0x13c12f=(_0x381a97?_0x3dd3bf(_0x47fb40,_0x46b435,_0x13c12f):_0x3dd3bf(_0x13c12f))||_0x13c12f);return _0x381a97&&_0x13c12f&&_0x1b5fba(_0x47fb40,_0x46b435,_0x13c12f),_0x13c12f;},_0x2da787=(_0x3ff691,_0x3353d6)=>(_0x116fb7,_0xcab3b)=>_0x3353d6(_0x116fb7,_0xcab3b,_0x3ff691);let _0x33b847=class{constructor(_0x2d6a00,_0x362517,_0x86cf8){const _0x2da85d=_0x4478c1;this[_0x2da85d(0x17a)]=_0x2d6a00,this['_httpService']=_0x362517,this['localeService']=_0x86cf8,this[_0x2da85d(0x479)]();}[_0x4478c1(0x479)](){const _0x10b089=_0x4478c1;this[_0x10b089(0x255)][_0x10b089(0x3a8)]({'priority':0x1,'interceptor':(_0x177ae7,_0x2d52e2)=>_0x2d52e2(_0x177ae7)['pipe'](_0x818dd8[_0x10b089(0x155)](async _0x23850e=>{const _0x1430ad=_0x10b089,_0x2db1e2=_0x23850e;if(_0x2db1e2[_0x1430ad(0x12c)]===0x191&&window['confirm'](this[_0x1430ad(0x2df)]['t'](_0x1430ad(0xf8)))){const _0x293a2a=window[_0x1430ad(0x4e2)](window['location']['href']);window[_0x1430ad(0x55e)][_0x1430ad(0x40e)]=this['_getLoginPath']()+'?url='+_0x293a2a;}return _0x2db1e2;}))});}[_0x4478c1(0x3c8)](){const _0x244bd8=_0x4478c1;var _0x1f9221,_0x16ac37;const _0x88769d=this[_0x244bd8(0x17a)][_0x244bd8(0x1d4)](_0x358bd8),_0x1be7a6=this[_0x244bd8(0x17a)][_0x244bd8(0x1d4)](_0x52a52c);return(_0x16ac37=(_0x1f9221=_0x1be7a6==null?void 0x0:_0x1be7a6[_0x244bd8(0x16b)])!=null?_0x1f9221:_0x88769d)!=null?_0x16ac37:_0x29deaf;}};_0x33b847=_0xd5017b([_0x2da787(0x0,_0x3c1a84[_0x4478c1(0x56b)]),_0x2da787(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)])),_0x2da787(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x3ff)]))],_0x33b847);var _0x16e5be=Object['defineProperty'],_0x4cff1f=Object[_0x4478c1(0x4d8)],_0x5c0f82=(_0x3cfd45,_0x53a305,_0x3c8dd2,_0x587570)=>{const _0x354292=_0x4478c1;for(var _0x1377e2=_0x587570>0x1?void 0x0:_0x587570?_0x4cff1f(_0x53a305,_0x3c8dd2):_0x53a305,_0x2928ea=_0x3cfd45[_0x354292(0x315)]-0x1,_0x41a863;_0x2928ea>=0x0;_0x2928ea--)(_0x41a863=_0x3cfd45[_0x2928ea])&&(_0x1377e2=(_0x587570?_0x41a863(_0x53a305,_0x3c8dd2,_0x1377e2):_0x41a863(_0x1377e2))||_0x1377e2);return _0x587570&&_0x1377e2&&_0x16e5be(_0x53a305,_0x3c8dd2,_0x1377e2),_0x1377e2;},_0x109ea3=(_0xa2a9f,_0x5b611f)=>(_0x276fd7,_0x415ad2)=>_0x5b611f(_0x276fd7,_0x415ad2,_0xa2a9f);const _0x29d188=_0x4478c1(0x4f1),_0x2e69bf=_0x4478c1(0x497);_0x1191ba['AuthzIoHttpService']=class extends _0x3c1a84['Disposable']{constructor(_0x4d0b67,_0x25c14e){const _0x538fc8=_0x4478c1;super(),this[_0x538fc8(0x2fd)]=_0x4d0b67,this[_0x538fc8(0x17a)]=_0x25c14e,this[_0x538fc8(0xdc)]();}['_initMergeInterceptor'](){const _0x5ac40c=_0x4478c1,_0x4a5c6c=this;this[_0x5ac40c(0xe5)](this[_0x5ac40c(0x2fd)][_0x5ac40c(0x3a8)]({'priority':0x3e7,'interceptor':_0x30a9e9[_0x5ac40c(0x2ef)]({'isMatch'(_0x1cce0c){const _0x241550=_0x5ac40c;var _0x49d758;if(_0x1cce0c['method']==='POST'&&((_0x49d758=_0x1cce0c[_0x241550(0x34c)])!=null&&_0x49d758['body'])){const {objectID:_0x434712,objectType:_0x23bf2c}=_0x1cce0c[_0x241550(0x34c)][_0x241550(0x126)]||{};if(!_0x434712||_0x23bf2c===void 0x0)return!0x1;const _0x4d1d14=_0x4a5c6c[_0x241550(0xba)]()+'/'+_0x23bf2c+_0x241550(0x2bd)+_0x434712+_0x241550(0x208);if(_0x1cce0c[_0x241550(0x177)]===_0x4d1d14)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3dda8a){const _0x20021d=_0x5ac40c;var _0xa221d7;return(_0xa221d7=_0x3dda8a[_0x20021d(0x34c)])==null?void 0x0:_0xa221d7[_0x20021d(0x126)];},'mergeParamsToRequest'(_0x569bd5,_0x5a00e3){const _0x204c7b=_0x5ac40c,_0x26f7d5=_0x4a5c6c[_0x204c7b(0xba)]()+'/-/object/-/batch_allowed',_0x2e808a=_0x569bd5[_0x204c7b(0x3de)]((_0x34718f,_0x32b4c3)=>{const _0x5cc635=_0x204c7b,{unitID:_0x535fdd,objectID:_0x54b467,objectType:_0x23fcdb,actions:_0x206b6f}=_0x32b4c3;return _0x34718f[_0x535fdd]||(_0x34718f[_0x535fdd]={}),_0x34718f[_0x535fdd][_0x54b467]||(_0x34718f[_0x535fdd][_0x54b467]={'objectID':_0x54b467,'objectType':_0x23fcdb,'actions':[]}),_0x34718f[_0x535fdd][_0x54b467][_0x5cc635(0x156)][_0x5cc635(0x41b)](..._0x206b6f),_0x34718f;},{}),_0x330706=[];for(const _0x4c62cd in _0x2e808a)for(const _0x47fe42 in _0x2e808a[_0x4c62cd]){const {actions:_0x1d31e2,objectType:_0x10467f}=_0x2e808a[_0x4c62cd][_0x47fe42],_0x20a593=[...new Set(_0x1d31e2)];_0x330706[_0x204c7b(0x41b)]({'unitID':_0x4c62cd,'objectID':_0x47fe42,'objectType':_0x10467f,'actions':_0x20a593});}return new _0x30a9e9[(_0x204c7b(0xb7))]('POST',_0x26f7d5,{'headers':_0x5a00e3[_0x204c7b(0x4fb)],'withCredentials':_0x5a00e3[_0x204c7b(0x1c0)],'responseType':_0x5a00e3[_0x204c7b(0x488)],'body':{'requests':_0x330706}});}},{'distributeResult'(_0xdaa86f,_0x4ba41f){const {objectActions:_0x38029c}=_0xdaa86f;return _0x4ba41f['map'](_0x4e388f=>{const _0x1aa4ba=_0x406b,{unitID:_0x5e3361,objectID:_0x544953,actions:_0x54a9ca}=_0x4e388f,_0x2fe7bd=_0x38029c[_0x1aa4ba(0x490)](_0x1acf47=>_0x1acf47[_0x1aa4ba(0x2b0)]===_0x5e3361&&_0x1acf47['objectID']===_0x544953),_0x522c3f=_0x54a9ca[_0x1aa4ba(0x20e)](_0x36291e=>_0x2fe7bd==null?void 0x0:_0x2fe7bd[_0x1aa4ba(0x156)][_0x1aa4ba(0x490)](_0x3f4567=>_0x3f4567[_0x1aa4ba(0x4f5)]===_0x36291e))[_0x1aa4ba(0x3a9)](_0x186e40=>!!_0x186e40);return{'config':_0x4e388f,'result':{'actions':_0x522c3f,'error':_0xdaa86f[_0x1aa4ba(0x17c)]}};});}})}));}['_getAPIPrefixPath'](){const _0x34d6a7=_0x4478c1;var _0x596684,_0x2fe95a;const _0x567732=this[_0x34d6a7(0x17a)][_0x34d6a7(0x1d4)](_0x29d188),_0x2b4c31=this[_0x34d6a7(0x17a)][_0x34d6a7(0x1d4)](_0x52a52c);return(_0x2fe95a=(_0x596684=_0x2b4c31==null?void 0x0:_0x2b4c31['authzUrl'])!=null?_0x596684:_0x567732)!=null?_0x2fe95a:_0x2e69bf;}async[_0x4478c1(0xb6)](_0x9075db){const _0x26e4f7=_0x4478c1,_0x5af1a3=this[_0x26e4f7(0xba)]()+'/'+_0x9075db['objectType']+_0x26e4f7(0x42a);return(await this[_0x26e4f7(0x2fd)]['post'](_0x5af1a3,{'body':_0x9075db}))['body']['objectID']||'';}async['list'](_0x2913fd){const _0x6d8ace=_0x4478c1,_0x1415c5=this[_0x6d8ace(0xba)]()+_0x6d8ace(0x1aa);return(await this['_HTTPService'][_0x6d8ace(0x32f)](_0x1415c5,{'body':_0x2913fd}))[_0x6d8ace(0x126)]['objects'];}async[_0x4478c1(0x2de)](_0x5e4335){const _0x5f4389=_0x4478c1,_0x3a0158=this[_0x5f4389(0xba)]()+'/'+_0x5e4335[_0x5f4389(0x441)]+_0x5f4389(0x2bd)+_0x5e4335[_0x5f4389(0x3f0)];await this[_0x5f4389(0x2fd)][_0x5f4389(0x489)](_0x3a0158,{'body':_0x5e4335});}async[_0x4478c1(0xb9)](_0x349d7c){const _0x295541=_0x4478c1,_0x551538=this[_0x295541(0xba)]()+'/'+_0x349d7c['objectType']+_0x295541(0x2bd)+_0x349d7c['objectID']+_0x295541(0x208);return(await this[_0x295541(0x2fd)][_0x295541(0x32f)](_0x551538,{'body':_0x349d7c}))[_0x295541(0x126)][_0x295541(0x156)];}async[_0x4478c1(0x523)](_0x3e0c16){const _0x2dbe52=_0x4478c1,_0x44302b=this[_0x2dbe52(0xba)]()+_0x2dbe52(0x2e3);return(await this[_0x2dbe52(0x2fd)][_0x2dbe52(0x32f)](_0x44302b,{'body':{'requests':_0x3e0c16}}))[_0x2dbe52(0x126)][_0x2dbe52(0x307)];}async['listRoles'](_0x78269d){const _0x308d1d=_0x4478c1,_0x108773=this[_0x308d1d(0xba)]()+'/'+_0x78269d[_0x308d1d(0x441)]+_0x308d1d(0x127),_0x63bc25=await this['_HTTPService'][_0x308d1d(0x32f)](_0x108773,{'body':_0x78269d});return{'roles':_0x63bc25[_0x308d1d(0x126)]['roles'],'actions':_0x63bc25[_0x308d1d(0x126)][_0x308d1d(0x156)]};}async[_0x4478c1(0x47e)](_0x52de75){const _0x524612=_0x4478c1,_0x5c1ca6=this[_0x524612(0xba)]()+_0x524612(0x1fc);await this[_0x524612(0x2fd)][_0x524612(0x354)](_0x5c1ca6,{'params':{'collaboratorID':_0x52de75[_0x524612(0x216)],'objectID':_0x52de75[_0x524612(0x3f0)],'unitID':_0x52de75[_0x524612(0x2b0)]}});}async[_0x4478c1(0x3c1)](_0x69b95b){const _0x5e849a=_0x4478c1,_0x24828c=this[_0x5e849a(0xba)]()+_0x5e849a(0x1fc);await this[_0x5e849a(0x2fd)]['patch'](_0x24828c,{'body':_0x69b95b});}async[_0x4478c1(0x250)](_0x4e250e){const _0x231eb5=_0x4478c1,_0x50fea9=this[_0x231eb5(0xba)]()+'/collaborator';await this['_HTTPService']['post'](_0x50fea9,{'body':_0x4e250e});}async[_0x4478c1(0x1bc)](_0x1a1760){const _0x2e3696=_0x4478c1,_0x2963f9=this[_0x2e3696(0xba)]()+_0x2e3696(0x1fc);return(await this[_0x2e3696(0x2fd)][_0x2e3696(0x115)](_0x2963f9,{'params':{'objectID':_0x1a1760[_0x2e3696(0x3f0)],'unitID':_0x1a1760['unitID']}}))[_0x2e3696(0x126)][_0x2e3696(0x20b)];}async[_0x4478c1(0x4c8)](_0x4ad53c){const _0x20c587=_0x4478c1,_0x604beb=this[_0x20c587(0xba)]()+_0x20c587(0x1fc);await this[_0x20c587(0x2fd)][_0x20c587(0x489)](_0x604beb,{'body':_0x4ad53c});}},_0x1191ba[_0x4478c1(0x564)]=_0x5c0f82([_0x109ea3(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)])),_0x109ea3(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x56b)]))],_0x1191ba[_0x4478c1(0x564)]);var _0x34a4d3={'exports':{}};function _0x2cad11(_0x1d4735){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1d4735+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x396352={'exports':{}},_0x16e82e;function _0x1b73c4(){const _0x5b5f0e=_0x4478c1;return _0x16e82e||(_0x16e82e=0x1,function(_0x481727,_0x2c0235){(function(_0x100e27,_0x395540){const _0x23c6fe=_0x406b;_0x481727[_0x23c6fe(0x201)]=_0x395540();}(_0x4040b9,function(){var _0x1fc550=_0x1fc550||function(_0x4c61b1,_0x1a46c7){const _0x2d4123=_0x406b;var _0x4e21e1;if(typeof window<'u'&&window[_0x2d4123(0x4be)]&&(_0x4e21e1=window[_0x2d4123(0x4be)]),typeof self<'u'&&self[_0x2d4123(0x4be)]&&(_0x4e21e1=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2d4123(0x4be)]&&(_0x4e21e1=globalThis['crypto']),!_0x4e21e1&&typeof window<'u'&&window[_0x2d4123(0x220)]&&(_0x4e21e1=window[_0x2d4123(0x220)]),!_0x4e21e1&&typeof _0x4040b9<'u'&&_0x4040b9[_0x2d4123(0x4be)]&&(_0x4e21e1=_0x4040b9['crypto']),!_0x4e21e1&&typeof _0x2cad11==_0x2d4123(0x466))try{_0x4e21e1=require(_0x2d4123(0x4be));}catch{}var _0x584d5e=function(){const _0x37a077=_0x2d4123;if(_0x4e21e1){if(typeof _0x4e21e1[_0x37a077(0xf4)]==_0x37a077(0x466))try{return _0x4e21e1['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4e21e1[_0x37a077(0xda)]==_0x37a077(0x466))try{return _0x4e21e1[_0x37a077(0xda)](0x4)[_0x37a077(0x46e)]();}catch{}}throw new Error(_0x37a077(0x43a));},_0x354d0a=Object[_0x2d4123(0xb6)]||(function(){function _0x24f99d(){}return function(_0x3e30a3){const _0x256315=_0x406b;var _0x5249b3;return _0x24f99d[_0x256315(0x35e)]=_0x3e30a3,_0x5249b3=new _0x24f99d(),_0x24f99d[_0x256315(0x35e)]=null,_0x5249b3;};}()),_0xad4a9c={},_0x15edf5=_0xad4a9c[_0x2d4123(0x2e5)]={},_0x51b064=_0x15edf5[_0x2d4123(0x360)]=(function(){return{'extend':function(_0x1d8862){const _0xe92da5=_0x406b;var _0x615680=_0x354d0a(this);return _0x1d8862&&_0x615680['mixIn'](_0x1d8862),(!_0x615680[_0xe92da5(0x143)](_0xe92da5(0x479))||this['init']===_0x615680[_0xe92da5(0x479)])&&(_0x615680[_0xe92da5(0x479)]=function(){const _0x4c34e=_0xe92da5;_0x615680['$super'][_0x4c34e(0x479)][_0x4c34e(0x52c)](this,arguments);}),_0x615680[_0xe92da5(0x479)][_0xe92da5(0x35e)]=_0x615680,_0x615680[_0xe92da5(0x568)]=this,_0x615680;},'create':function(){const _0x453f95=_0x406b;var _0x45e3c9=this[_0x453f95(0x342)]();return _0x45e3c9[_0x453f95(0x479)]['apply'](_0x45e3c9,arguments),_0x45e3c9;},'init':function(){},'mixIn':function(_0x58b6e5){const _0x2979e5=_0x406b;for(var _0x349329 in _0x58b6e5)_0x58b6e5[_0x2979e5(0x143)](_0x349329)&&(this[_0x349329]=_0x58b6e5[_0x349329]);_0x58b6e5[_0x2979e5(0x143)](_0x2979e5(0x397))&&(this[_0x2979e5(0x397)]=_0x58b6e5[_0x2979e5(0x397)]);},'clone':function(){const _0x59a77d=_0x406b;return this['init'][_0x59a77d(0x35e)][_0x59a77d(0x342)](this);}};}()),_0xb760af=_0x15edf5[_0x2d4123(0x477)]=_0x51b064[_0x2d4123(0x342)]({'init':function(_0x15f9b6,_0x346924){const _0x1e4ce5=_0x2d4123;_0x15f9b6=this['words']=_0x15f9b6||[],_0x346924!=_0x1a46c7?this[_0x1e4ce5(0x30b)]=_0x346924:this['sigBytes']=_0x15f9b6[_0x1e4ce5(0x315)]*0x4;},'toString':function(_0x333989){const _0x3ee02e=_0x2d4123;return(_0x333989||_0x5c61d6)[_0x3ee02e(0x571)](this);},'concat':function(_0xc1d540){const _0x2f6ea6=_0x2d4123;var _0x2f2667=this[_0x2f6ea6(0x13c)],_0x356b7e=_0xc1d540['words'],_0xd3e7f0=this[_0x2f6ea6(0x30b)],_0x1f4ee7=_0xc1d540[_0x2f6ea6(0x30b)];if(this[_0x2f6ea6(0x3e6)](),_0xd3e7f0%0x4)for(var _0x5bec84=0x0;_0x5bec84<_0x1f4ee7;_0x5bec84++){var _0x356415=_0x356b7e[_0x5bec84>>>0x2]>>>0x18-_0x5bec84%0x4*0x8&0xff;_0x2f2667[_0xd3e7f0+_0x5bec84>>>0x2]|=_0x356415<<0x18-(_0xd3e7f0+_0x5bec84)%0x4*0x8;}else{for(var _0x573201=0x0;_0x573201<_0x1f4ee7;_0x573201+=0x4)_0x2f2667[_0xd3e7f0+_0x573201>>>0x2]=_0x356b7e[_0x573201>>>0x2];}return this[_0x2f6ea6(0x30b)]+=_0x1f4ee7,this;},'clamp':function(){const _0xca7123=_0x2d4123;var _0x2b8f77=this[_0xca7123(0x13c)],_0x191945=this[_0xca7123(0x30b)];_0x2b8f77[_0x191945>>>0x2]&=0xffffffff<<0x20-_0x191945%0x4*0x8,_0x2b8f77[_0xca7123(0x315)]=_0x4c61b1[_0xca7123(0x1d5)](_0x191945/0x4);},'clone':function(){const _0x52b637=_0x2d4123;var _0x9a28c5=_0x51b064[_0x52b637(0x543)][_0x52b637(0x3e3)](this);return _0x9a28c5[_0x52b637(0x13c)]=this[_0x52b637(0x13c)][_0x52b637(0x29e)](0x0),_0x9a28c5;},'random':function(_0x446303){const _0x3e3ce8=_0x2d4123;for(var _0x3ca0db=[],_0x1f2a29=0x0;_0x1f2a29<_0x446303;_0x1f2a29+=0x4)_0x3ca0db[_0x3e3ce8(0x41b)](_0x584d5e());return new _0xb760af[(_0x3e3ce8(0x479))](_0x3ca0db,_0x446303);}}),_0x38dfe6=_0xad4a9c['enc']={},_0x5c61d6=_0x38dfe6[_0x2d4123(0x1b3)]={'stringify':function(_0x39de4f){const _0x5c3047=_0x2d4123;for(var _0x216497=_0x39de4f[_0x5c3047(0x13c)],_0x51582d=_0x39de4f[_0x5c3047(0x30b)],_0x16599e=[],_0x199d6f=0x0;_0x199d6f<_0x51582d;_0x199d6f++){var _0x3fc94e=_0x216497[_0x199d6f>>>0x2]>>>0x18-_0x199d6f%0x4*0x8&0xff;_0x16599e['push']((_0x3fc94e>>>0x4)[_0x5c3047(0x397)](0x10)),_0x16599e[_0x5c3047(0x41b)]((_0x3fc94e&0xf)['toString'](0x10));}return _0x16599e[_0x5c3047(0x13d)]('');},'parse':function(_0x5225e3){const _0x5a7f98=_0x2d4123;for(var _0x518789=_0x5225e3[_0x5a7f98(0x315)],_0x24c4c3=[],_0x8e3e01=0x0;_0x8e3e01<_0x518789;_0x8e3e01+=0x2)_0x24c4c3[_0x8e3e01>>>0x3]|=parseInt(_0x5225e3[_0x5a7f98(0x33f)](_0x8e3e01,0x2),0x10)<<0x18-_0x8e3e01%0x8*0x4;return new _0xb760af[(_0x5a7f98(0x479))](_0x24c4c3,_0x518789/0x2);}},_0x1dab07=_0x38dfe6[_0x2d4123(0x1c6)]={'stringify':function(_0x5ab232){const _0x5cbf20=_0x2d4123;for(var _0x4b1272=_0x5ab232[_0x5cbf20(0x13c)],_0x3585cb=_0x5ab232['sigBytes'],_0x470b5e=[],_0x4e4152=0x0;_0x4e4152<_0x3585cb;_0x4e4152++){var _0x272e44=_0x4b1272[_0x4e4152>>>0x2]>>>0x18-_0x4e4152%0x4*0x8&0xff;_0x470b5e[_0x5cbf20(0x41b)](String[_0x5cbf20(0x335)](_0x272e44));}return _0x470b5e[_0x5cbf20(0x13d)]('');},'parse':function(_0x276bd8){const _0x14dd48=_0x2d4123;for(var _0x3f22d3=_0x276bd8[_0x14dd48(0x315)],_0x50bd53=[],_0x552f31=0x0;_0x552f31<_0x3f22d3;_0x552f31++)_0x50bd53[_0x552f31>>>0x2]|=(_0x276bd8[_0x14dd48(0xcc)](_0x552f31)&0xff)<<0x18-_0x552f31%0x4*0x8;return new _0xb760af[(_0x14dd48(0x479))](_0x50bd53,_0x3f22d3);}},_0x3b05da=_0x38dfe6[_0x2d4123(0x446)]={'stringify':function(_0x4c0a17){try{return decodeURIComponent(escape(_0x1dab07['stringify'](_0x4c0a17)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3713cb){const _0x10c001=_0x2d4123;return _0x1dab07[_0x10c001(0x33c)](unescape(encodeURIComponent(_0x3713cb)));}},_0x3302d5=_0x15edf5[_0x2d4123(0x36f)]=_0x51b064[_0x2d4123(0x342)]({'reset':function(){const _0x1fb181=_0x2d4123;this[_0x1fb181(0x2b4)]=new _0xb760af[(_0x1fb181(0x479))](),this[_0x1fb181(0xef)]=0x0;},'_append':function(_0x3021e6){const _0x5a0145=_0x2d4123;typeof _0x3021e6==_0x5a0145(0x427)&&(_0x3021e6=_0x3b05da[_0x5a0145(0x33c)](_0x3021e6)),this[_0x5a0145(0x2b4)][_0x5a0145(0x287)](_0x3021e6),this[_0x5a0145(0xef)]+=_0x3021e6['sigBytes'];},'_process':function(_0x18aa0c){const _0x279822=_0x2d4123;var _0xb115d,_0x4b4d77=this[_0x279822(0x2b4)],_0xc24457=_0x4b4d77[_0x279822(0x13c)],_0x4677f2=_0x4b4d77[_0x279822(0x30b)],_0x181489=this[_0x279822(0x19d)],_0xa17005=_0x181489*0x4,_0x389a06=_0x4677f2/_0xa17005;_0x18aa0c?_0x389a06=_0x4c61b1[_0x279822(0x1d5)](_0x389a06):_0x389a06=_0x4c61b1[_0x279822(0x1e1)]((_0x389a06|0x0)-this[_0x279822(0x313)],0x0);var _0x3c91f4=_0x389a06*_0x181489,_0x21a28b=_0x4c61b1[_0x279822(0x2d8)](_0x3c91f4*0x4,_0x4677f2);if(_0x3c91f4){for(var _0x4f25da=0x0;_0x4f25da<_0x3c91f4;_0x4f25da+=_0x181489)this[_0x279822(0x1e5)](_0xc24457,_0x4f25da);_0xb115d=_0xc24457[_0x279822(0x3a2)](0x0,_0x3c91f4),_0x4b4d77[_0x279822(0x30b)]-=_0x21a28b;}return new _0xb760af[(_0x279822(0x479))](_0xb115d,_0x21a28b);},'clone':function(){const _0x313f52=_0x2d4123;var _0x2b603e=_0x51b064['clone'][_0x313f52(0x3e3)](this);return _0x2b603e[_0x313f52(0x2b4)]=this['_data'][_0x313f52(0x543)](),_0x2b603e;},'_minBufferSize':0x0});_0x15edf5[_0x2d4123(0x24b)]=_0x3302d5[_0x2d4123(0x342)]({'cfg':_0x51b064[_0x2d4123(0x342)](),'init':function(_0x4e94f6){const _0x3462a2=_0x2d4123;this[_0x3462a2(0x18b)]=this[_0x3462a2(0x18b)][_0x3462a2(0x342)](_0x4e94f6),this[_0x3462a2(0x18c)]();},'reset':function(){const _0xb7dc65=_0x2d4123;_0x3302d5[_0xb7dc65(0x18c)][_0xb7dc65(0x3e3)](this),this[_0xb7dc65(0xf9)]();},'update':function(_0x3938a7){const _0x34d918=_0x2d4123;return this[_0x34d918(0x458)](_0x3938a7),this[_0x34d918(0x3c0)](),this;},'finalize':function(_0x561046){const _0x41bb6f=_0x2d4123;_0x561046&&this[_0x41bb6f(0x458)](_0x561046);var _0x2454be=this[_0x41bb6f(0x308)]();return _0x2454be;},'blockSize':0x10,'_createHelper':function(_0x481be0){return function(_0x464fca,_0x4ace38){return new _0x481be0['init'](_0x4ace38)['finalize'](_0x464fca);};},'_createHmacHelper':function(_0xa0b804){return function(_0x2717e8,_0x508c84){const _0x344c6d=_0x406b;return new _0x291c3b[(_0x344c6d(0x11e))][(_0x344c6d(0x479))](_0xa0b804,_0x508c84)[_0x344c6d(0x241)](_0x2717e8);};}});var _0x291c3b=_0xad4a9c[_0x2d4123(0xc1)]={};return _0xad4a9c;}(Math);return _0x1fc550;}));}(_0x396352)),_0x396352[_0x5b5f0e(0x201)];}var _0x3a5d77={'exports':{}},_0x206551;function _0x23091f(){const _0xf97118=_0x4478c1;return _0x206551||(_0x206551=0x1,function(_0x380c54,_0x1a9b86){(function(_0x3b7fa2,_0x211bc8){const _0x5780e8=_0x406b;_0x380c54[_0x5780e8(0x201)]=_0x211bc8(_0x1b73c4());}(_0x4040b9,function(_0x9570da){const _0x396690=_0x406b;return(function(){const _0xaef340=_0x406b;var _0x352de0=_0x9570da,_0x238862=_0x352de0['lib'],_0x77a555=_0x238862[_0xaef340(0x477)],_0x2dd53c=_0x352de0[_0xaef340(0x24f)];_0x2dd53c[_0xaef340(0x514)]={'stringify':function(_0x42bfe2){const _0x5c0d24=_0xaef340;var _0x2aabfe=_0x42bfe2['words'],_0x671e49=_0x42bfe2[_0x5c0d24(0x30b)],_0x408222=this[_0x5c0d24(0x1af)];_0x42bfe2[_0x5c0d24(0x3e6)]();for(var _0x392220=[],_0x8f0108=0x0;_0x8f0108<_0x671e49;_0x8f0108+=0x3)for(var _0x33ef6a=_0x2aabfe[_0x8f0108>>>0x2]>>>0x18-_0x8f0108%0x4*0x8&0xff,_0x42d15f=_0x2aabfe[_0x8f0108+0x1>>>0x2]>>>0x18-(_0x8f0108+0x1)%0x4*0x8&0xff,_0x31119b=_0x2aabfe[_0x8f0108+0x2>>>0x2]>>>0x18-(_0x8f0108+0x2)%0x4*0x8&0xff,_0x477caf=_0x33ef6a<<0x10|_0x42d15f<<0x8|_0x31119b,_0x360889=0x0;_0x360889<0x4&&_0x8f0108+_0x360889*0.75<_0x671e49;_0x360889++)_0x392220['push'](_0x408222[_0x5c0d24(0x443)](_0x477caf>>>0x6*(0x3-_0x360889)&0x3f));var _0x4e672=_0x408222[_0x5c0d24(0x443)](0x40);if(_0x4e672){for(;_0x392220[_0x5c0d24(0x315)]%0x4;)_0x392220['push'](_0x4e672);}return _0x392220[_0x5c0d24(0x13d)]('');},'parse':function(_0x4e68e9){const _0x15dbaf=_0xaef340;var _0x4ca6d3=_0x4e68e9['length'],_0x4fb84e=this[_0x15dbaf(0x1af)],_0x1302a8=this['_reverseMap'];if(!_0x1302a8){_0x1302a8=this[_0x15dbaf(0x108)]=[];for(var _0x2a71e0=0x0;_0x2a71e0<_0x4fb84e['length'];_0x2a71e0++)_0x1302a8[_0x4fb84e['charCodeAt'](_0x2a71e0)]=_0x2a71e0;}var _0x4557c3=_0x4fb84e[_0x15dbaf(0x443)](0x40);if(_0x4557c3){var _0x5700f9=_0x4e68e9['indexOf'](_0x4557c3);_0x5700f9!==-0x1&&(_0x4ca6d3=_0x5700f9);}return _0x41b2ef(_0x4e68e9,_0x4ca6d3,_0x1302a8);},'_map':_0xaef340(0x4ac)};function _0x41b2ef(_0x1f0c38,_0x4a4390,_0x30e81e){const _0x3fde70=_0xaef340;for(var _0x196668=[],_0x22943b=0x0,_0x51babc=0x0;_0x51babc<_0x4a4390;_0x51babc++)if(_0x51babc%0x4){var _0x5d02e1=_0x30e81e[_0x1f0c38[_0x3fde70(0xcc)](_0x51babc-0x1)]<<_0x51babc%0x4*0x2,_0x4cd895=_0x30e81e[_0x1f0c38[_0x3fde70(0xcc)](_0x51babc)]>>>0x6-_0x51babc%0x4*0x2,_0x572447=_0x5d02e1|_0x4cd895;_0x196668[_0x22943b>>>0x2]|=_0x572447<<0x18-_0x22943b%0x4*0x8,_0x22943b++;}return _0x77a555[_0x3fde70(0xb6)](_0x196668,_0x22943b);}}()),_0x9570da[_0x396690(0x24f)][_0x396690(0x514)];}));}(_0x3a5d77)),_0x3a5d77[_0xf97118(0x201)];}var _0x523379={'exports':{}},_0x4c6465;function _0x150d85(){const _0x436fc4=_0x4478c1;return _0x4c6465||(_0x4c6465=0x1,function(_0x239b2f,_0x363b5d){(function(_0x484d1e,_0x2b7f18){const _0x35681f=_0x406b;_0x239b2f[_0x35681f(0x201)]=_0x2b7f18(_0x1b73c4());}(_0x4040b9,function(_0x4e0ef3){return function(_0x45b3a6){const _0x2cdfd9=_0x406b;var _0x47f00a=_0x4e0ef3,_0x28f87e=_0x47f00a['lib'],_0x70ae66=_0x28f87e[_0x2cdfd9(0x477)],_0x34db46=_0x28f87e[_0x2cdfd9(0x24b)],_0x42ceef=_0x47f00a[_0x2cdfd9(0xc1)],_0x35df17=[];(function(){const _0x5647a7=_0x2cdfd9;for(var _0x1fab84=0x0;_0x1fab84<0x40;_0x1fab84++)_0x35df17[_0x1fab84]=_0x45b3a6[_0x5647a7(0x1f1)](_0x45b3a6[_0x5647a7(0x182)](_0x1fab84+0x1))*0x100000000|0x0;}());var _0x1feeb7=_0x42ceef[_0x2cdfd9(0x4df)]=_0x34db46[_0x2cdfd9(0x342)]({'_doReset':function(){const _0x521f42=_0x2cdfd9;this[_0x521f42(0x3bd)]=new _0x70ae66[(_0x521f42(0x479))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x113805,_0x40dc7f){const _0x21eff6=_0x2cdfd9;for(var _0x5af6a1=0x0;_0x5af6a1<0x10;_0x5af6a1++){var _0x21a01d=_0x40dc7f+_0x5af6a1,_0x4c752e=_0x113805[_0x21a01d];_0x113805[_0x21a01d]=(_0x4c752e<<0x8|_0x4c752e>>>0x18)&0xff00ff|(_0x4c752e<<0x18|_0x4c752e>>>0x8)&0xff00ff00;}var _0x2d00ba=this[_0x21eff6(0x3bd)][_0x21eff6(0x13c)],_0x5f2767=_0x113805[_0x40dc7f+0x0],_0x674195=_0x113805[_0x40dc7f+0x1],_0x22b84c=_0x113805[_0x40dc7f+0x2],_0x484d6b=_0x113805[_0x40dc7f+0x3],_0x20b542=_0x113805[_0x40dc7f+0x4],_0x39fef0=_0x113805[_0x40dc7f+0x5],_0x26c49e=_0x113805[_0x40dc7f+0x6],_0x257432=_0x113805[_0x40dc7f+0x7],_0x1e7376=_0x113805[_0x40dc7f+0x8],_0x234341=_0x113805[_0x40dc7f+0x9],_0x41b90b=_0x113805[_0x40dc7f+0xa],_0x1bd26d=_0x113805[_0x40dc7f+0xb],_0x20d72f=_0x113805[_0x40dc7f+0xc],_0x2e58fe=_0x113805[_0x40dc7f+0xd],_0x6c07c4=_0x113805[_0x40dc7f+0xe],_0x4e4286=_0x113805[_0x40dc7f+0xf],_0xb091f2=_0x2d00ba[0x0],_0x3cf491=_0x2d00ba[0x1],_0x11be4d=_0x2d00ba[0x2],_0x477514=_0x2d00ba[0x3];_0xb091f2=_0x25cbd1(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x5f2767,0x7,_0x35df17[0x0]),_0x477514=_0x25cbd1(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x674195,0xc,_0x35df17[0x1]),_0x11be4d=_0x25cbd1(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x22b84c,0x11,_0x35df17[0x2]),_0x3cf491=_0x25cbd1(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x484d6b,0x16,_0x35df17[0x3]),_0xb091f2=_0x25cbd1(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x20b542,0x7,_0x35df17[0x4]),_0x477514=_0x25cbd1(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x39fef0,0xc,_0x35df17[0x5]),_0x11be4d=_0x25cbd1(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x26c49e,0x11,_0x35df17[0x6]),_0x3cf491=_0x25cbd1(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x257432,0x16,_0x35df17[0x7]),_0xb091f2=_0x25cbd1(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x1e7376,0x7,_0x35df17[0x8]),_0x477514=_0x25cbd1(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x234341,0xc,_0x35df17[0x9]),_0x11be4d=_0x25cbd1(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x41b90b,0x11,_0x35df17[0xa]),_0x3cf491=_0x25cbd1(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x1bd26d,0x16,_0x35df17[0xb]),_0xb091f2=_0x25cbd1(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x20d72f,0x7,_0x35df17[0xc]),_0x477514=_0x25cbd1(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x2e58fe,0xc,_0x35df17[0xd]),_0x11be4d=_0x25cbd1(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x6c07c4,0x11,_0x35df17[0xe]),_0x3cf491=_0x25cbd1(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x4e4286,0x16,_0x35df17[0xf]),_0xb091f2=_0x4344f5(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x674195,0x5,_0x35df17[0x10]),_0x477514=_0x4344f5(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x26c49e,0x9,_0x35df17[0x11]),_0x11be4d=_0x4344f5(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x1bd26d,0xe,_0x35df17[0x12]),_0x3cf491=_0x4344f5(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x5f2767,0x14,_0x35df17[0x13]),_0xb091f2=_0x4344f5(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x39fef0,0x5,_0x35df17[0x14]),_0x477514=_0x4344f5(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x41b90b,0x9,_0x35df17[0x15]),_0x11be4d=_0x4344f5(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x4e4286,0xe,_0x35df17[0x16]),_0x3cf491=_0x4344f5(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x20b542,0x14,_0x35df17[0x17]),_0xb091f2=_0x4344f5(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x234341,0x5,_0x35df17[0x18]),_0x477514=_0x4344f5(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x6c07c4,0x9,_0x35df17[0x19]),_0x11be4d=_0x4344f5(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x484d6b,0xe,_0x35df17[0x1a]),_0x3cf491=_0x4344f5(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x1e7376,0x14,_0x35df17[0x1b]),_0xb091f2=_0x4344f5(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x2e58fe,0x5,_0x35df17[0x1c]),_0x477514=_0x4344f5(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x22b84c,0x9,_0x35df17[0x1d]),_0x11be4d=_0x4344f5(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x257432,0xe,_0x35df17[0x1e]),_0x3cf491=_0x4344f5(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x20d72f,0x14,_0x35df17[0x1f]),_0xb091f2=_0x181a9b(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x39fef0,0x4,_0x35df17[0x20]),_0x477514=_0x181a9b(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x1e7376,0xb,_0x35df17[0x21]),_0x11be4d=_0x181a9b(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x1bd26d,0x10,_0x35df17[0x22]),_0x3cf491=_0x181a9b(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x6c07c4,0x17,_0x35df17[0x23]),_0xb091f2=_0x181a9b(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x674195,0x4,_0x35df17[0x24]),_0x477514=_0x181a9b(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x20b542,0xb,_0x35df17[0x25]),_0x11be4d=_0x181a9b(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x257432,0x10,_0x35df17[0x26]),_0x3cf491=_0x181a9b(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x41b90b,0x17,_0x35df17[0x27]),_0xb091f2=_0x181a9b(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x2e58fe,0x4,_0x35df17[0x28]),_0x477514=_0x181a9b(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x5f2767,0xb,_0x35df17[0x29]),_0x11be4d=_0x181a9b(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x484d6b,0x10,_0x35df17[0x2a]),_0x3cf491=_0x181a9b(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x26c49e,0x17,_0x35df17[0x2b]),_0xb091f2=_0x181a9b(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x234341,0x4,_0x35df17[0x2c]),_0x477514=_0x181a9b(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x20d72f,0xb,_0x35df17[0x2d]),_0x11be4d=_0x181a9b(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x4e4286,0x10,_0x35df17[0x2e]),_0x3cf491=_0x181a9b(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x22b84c,0x17,_0x35df17[0x2f]),_0xb091f2=_0x1f7ead(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x5f2767,0x6,_0x35df17[0x30]),_0x477514=_0x1f7ead(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x257432,0xa,_0x35df17[0x31]),_0x11be4d=_0x1f7ead(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x6c07c4,0xf,_0x35df17[0x32]),_0x3cf491=_0x1f7ead(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x39fef0,0x15,_0x35df17[0x33]),_0xb091f2=_0x1f7ead(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x20d72f,0x6,_0x35df17[0x34]),_0x477514=_0x1f7ead(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x484d6b,0xa,_0x35df17[0x35]),_0x11be4d=_0x1f7ead(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x41b90b,0xf,_0x35df17[0x36]),_0x3cf491=_0x1f7ead(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x674195,0x15,_0x35df17[0x37]),_0xb091f2=_0x1f7ead(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x1e7376,0x6,_0x35df17[0x38]),_0x477514=_0x1f7ead(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x4e4286,0xa,_0x35df17[0x39]),_0x11be4d=_0x1f7ead(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x26c49e,0xf,_0x35df17[0x3a]),_0x3cf491=_0x1f7ead(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x2e58fe,0x15,_0x35df17[0x3b]),_0xb091f2=_0x1f7ead(_0xb091f2,_0x3cf491,_0x11be4d,_0x477514,_0x20b542,0x6,_0x35df17[0x3c]),_0x477514=_0x1f7ead(_0x477514,_0xb091f2,_0x3cf491,_0x11be4d,_0x1bd26d,0xa,_0x35df17[0x3d]),_0x11be4d=_0x1f7ead(_0x11be4d,_0x477514,_0xb091f2,_0x3cf491,_0x22b84c,0xf,_0x35df17[0x3e]),_0x3cf491=_0x1f7ead(_0x3cf491,_0x11be4d,_0x477514,_0xb091f2,_0x234341,0x15,_0x35df17[0x3f]),_0x2d00ba[0x0]=_0x2d00ba[0x0]+_0xb091f2|0x0,_0x2d00ba[0x1]=_0x2d00ba[0x1]+_0x3cf491|0x0,_0x2d00ba[0x2]=_0x2d00ba[0x2]+_0x11be4d|0x0,_0x2d00ba[0x3]=_0x2d00ba[0x3]+_0x477514|0x0;},'_doFinalize':function(){const _0xc98c9b=_0x2cdfd9;var _0x16b187=this[_0xc98c9b(0x2b4)],_0x541d72=_0x16b187[_0xc98c9b(0x13c)],_0xd5ee20=this[_0xc98c9b(0xef)]*0x8,_0x1bc5fb=_0x16b187[_0xc98c9b(0x30b)]*0x8;_0x541d72[_0x1bc5fb>>>0x5]|=0x80<<0x18-_0x1bc5fb%0x20;var _0x598d13=_0x45b3a6[_0xc98c9b(0x4f0)](_0xd5ee20/0x100000000),_0x2dd797=_0xd5ee20;_0x541d72[(_0x1bc5fb+0x40>>>0x9<<0x4)+0xf]=(_0x598d13<<0x8|_0x598d13>>>0x18)&0xff00ff|(_0x598d13<<0x18|_0x598d13>>>0x8)&0xff00ff00,_0x541d72[(_0x1bc5fb+0x40>>>0x9<<0x4)+0xe]=(_0x2dd797<<0x8|_0x2dd797>>>0x18)&0xff00ff|(_0x2dd797<<0x18|_0x2dd797>>>0x8)&0xff00ff00,_0x16b187['sigBytes']=(_0x541d72['length']+0x1)*0x4,this['_process']();for(var _0x3a8361=this['_hash'],_0x25c3cc=_0x3a8361[_0xc98c9b(0x13c)],_0x44a173=0x0;_0x44a173<0x4;_0x44a173++){var _0x111c09=_0x25c3cc[_0x44a173];_0x25c3cc[_0x44a173]=(_0x111c09<<0x8|_0x111c09>>>0x18)&0xff00ff|(_0x111c09<<0x18|_0x111c09>>>0x8)&0xff00ff00;}return _0x3a8361;},'clone':function(){const _0x5dbc64=_0x2cdfd9;var _0x32d63f=_0x34db46[_0x5dbc64(0x543)][_0x5dbc64(0x3e3)](this);return _0x32d63f['_hash']=this[_0x5dbc64(0x3bd)][_0x5dbc64(0x543)](),_0x32d63f;}});function _0x25cbd1(_0x15da58,_0x5d406b,_0xc6f93a,_0x51cace,_0x4cf4a2,_0x22abc9,_0x101d02){var _0x2b700d=_0x15da58+(_0x5d406b&_0xc6f93a|~_0x5d406b&_0x51cace)+_0x4cf4a2+_0x101d02;return(_0x2b700d<<_0x22abc9|_0x2b700d>>>0x20-_0x22abc9)+_0x5d406b;}function _0x4344f5(_0x517671,_0x289216,_0x5e8b9f,_0x228eff,_0xda6106,_0x171308,_0x48a4d6){var _0xa500bd=_0x517671+(_0x289216&_0x228eff|_0x5e8b9f&~_0x228eff)+_0xda6106+_0x48a4d6;return(_0xa500bd<<_0x171308|_0xa500bd>>>0x20-_0x171308)+_0x289216;}function _0x181a9b(_0x1a45e2,_0x4f5901,_0x3b115f,_0x42d67f,_0x61bb74,_0x1bef51,_0x518181){var _0x3a38c2=_0x1a45e2+(_0x4f5901^_0x3b115f^_0x42d67f)+_0x61bb74+_0x518181;return(_0x3a38c2<<_0x1bef51|_0x3a38c2>>>0x20-_0x1bef51)+_0x4f5901;}function _0x1f7ead(_0x505d79,_0x2d29ab,_0x1fb3cc,_0x5e3cab,_0x161bc7,_0x358073,_0x5694b0){var _0x54bdbb=_0x505d79+(_0x1fb3cc^(_0x2d29ab|~_0x5e3cab))+_0x161bc7+_0x5694b0;return(_0x54bdbb<<_0x358073|_0x54bdbb>>>0x20-_0x358073)+_0x2d29ab;}_0x47f00a['MD5']=_0x34db46['_createHelper'](_0x1feeb7),_0x47f00a[_0x2cdfd9(0x547)]=_0x34db46[_0x2cdfd9(0x567)](_0x1feeb7);}(Math),_0x4e0ef3['MD5'];}));}(_0x523379)),_0x523379[_0x436fc4(0x201)];}var _0x400156={'exports':{}},_0x4940bd={'exports':{}},_0x22496c;function _0x1bd85d(){const _0x2f58c9=_0x4478c1;return _0x22496c||(_0x22496c=0x1,function(_0x215d19,_0x4a9f5b){(function(_0x3f3eae,_0x46cafb){_0x215d19['exports']=_0x46cafb(_0x1b73c4());}(_0x4040b9,function(_0x2ece29){const _0x3d6e4f=_0x406b;return(function(){const _0x57f8c3=_0x406b;var _0x257cd3=_0x2ece29,_0x4f0834=_0x257cd3[_0x57f8c3(0x2e5)],_0x22a0ca=_0x4f0834[_0x57f8c3(0x477)],_0x33ce23=_0x4f0834[_0x57f8c3(0x24b)],_0x3826f2=_0x257cd3[_0x57f8c3(0xc1)],_0x46bb88=[],_0x25e2e0=_0x3826f2[_0x57f8c3(0x520)]=_0x33ce23['extend']({'_doReset':function(){const _0x4ac228=_0x57f8c3;this[_0x4ac228(0x3bd)]=new _0x22a0ca[(_0x4ac228(0x479))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d2a36,_0x1e060d){const _0x46c048=_0x57f8c3;for(var _0x40e236=this['_hash'][_0x46c048(0x13c)],_0x32a5c2=_0x40e236[0x0],_0xe58058=_0x40e236[0x1],_0x30fbd2=_0x40e236[0x2],_0x5312aa=_0x40e236[0x3],_0x5d28af=_0x40e236[0x4],_0x183da0=0x0;_0x183da0<0x50;_0x183da0++){if(_0x183da0<0x10)_0x46bb88[_0x183da0]=_0x2d2a36[_0x1e060d+_0x183da0]|0x0;else{var _0x2ed87b=_0x46bb88[_0x183da0-0x3]^_0x46bb88[_0x183da0-0x8]^_0x46bb88[_0x183da0-0xe]^_0x46bb88[_0x183da0-0x10];_0x46bb88[_0x183da0]=_0x2ed87b<<0x1|_0x2ed87b>>>0x1f;}var _0x433088=(_0x32a5c2<<0x5|_0x32a5c2>>>0x1b)+_0x5d28af+_0x46bb88[_0x183da0];_0x183da0<0x14?_0x433088+=(_0xe58058&_0x30fbd2|~_0xe58058&_0x5312aa)+0x5a827999:_0x183da0<0x28?_0x433088+=(_0xe58058^_0x30fbd2^_0x5312aa)+0x6ed9eba1:_0x183da0<0x3c?_0x433088+=(_0xe58058&_0x30fbd2|_0xe58058&_0x5312aa|_0x30fbd2&_0x5312aa)-0x70e44324:_0x433088+=(_0xe58058^_0x30fbd2^_0x5312aa)-0x359d3e2a,_0x5d28af=_0x5312aa,_0x5312aa=_0x30fbd2,_0x30fbd2=_0xe58058<<0x1e|_0xe58058>>>0x2,_0xe58058=_0x32a5c2,_0x32a5c2=_0x433088;}_0x40e236[0x0]=_0x40e236[0x0]+_0x32a5c2|0x0,_0x40e236[0x1]=_0x40e236[0x1]+_0xe58058|0x0,_0x40e236[0x2]=_0x40e236[0x2]+_0x30fbd2|0x0,_0x40e236[0x3]=_0x40e236[0x3]+_0x5312aa|0x0,_0x40e236[0x4]=_0x40e236[0x4]+_0x5d28af|0x0;},'_doFinalize':function(){const _0x9589fb=_0x57f8c3;var _0x2f5049=this['_data'],_0x1f17aa=_0x2f5049[_0x9589fb(0x13c)],_0x3ca849=this[_0x9589fb(0xef)]*0x8,_0x36891a=_0x2f5049[_0x9589fb(0x30b)]*0x8;return _0x1f17aa[_0x36891a>>>0x5]|=0x80<<0x18-_0x36891a%0x20,_0x1f17aa[(_0x36891a+0x40>>>0x9<<0x4)+0xe]=Math[_0x9589fb(0x4f0)](_0x3ca849/0x100000000),_0x1f17aa[(_0x36891a+0x40>>>0x9<<0x4)+0xf]=_0x3ca849,_0x2f5049['sigBytes']=_0x1f17aa[_0x9589fb(0x315)]*0x4,this[_0x9589fb(0x3c0)](),this['_hash'];},'clone':function(){const _0x212895=_0x57f8c3;var _0x5e10f5=_0x33ce23[_0x212895(0x543)]['call'](this);return _0x5e10f5[_0x212895(0x3bd)]=this[_0x212895(0x3bd)]['clone'](),_0x5e10f5;}});_0x257cd3[_0x57f8c3(0x520)]=_0x33ce23['_createHelper'](_0x25e2e0),_0x257cd3['HmacSHA1']=_0x33ce23[_0x57f8c3(0x567)](_0x25e2e0);}()),_0x2ece29[_0x3d6e4f(0x520)];}));}(_0x4940bd)),_0x4940bd[_0x2f58c9(0x201)];}var _0x137d73={'exports':{}},_0x1489c8;function _0x361b44(){const _0x56d4b1=_0x4478c1;return _0x1489c8||(_0x1489c8=0x1,function(_0xd9a435,_0x5a2d5c){(function(_0x1ce703,_0x4afb02){const _0x77b53=_0x406b;_0xd9a435[_0x77b53(0x201)]=_0x4afb02(_0x1b73c4());}(_0x4040b9,function(_0x5136d9){(function(){const _0x2e094b=_0x406b;var _0x13ab7c=_0x5136d9,_0x250fe6=_0x13ab7c[_0x2e094b(0x2e5)],_0xb61cff=_0x250fe6['Base'],_0x22fce7=_0x13ab7c[_0x2e094b(0x24f)],_0x4fd266=_0x22fce7[_0x2e094b(0x446)],_0x3308eb=_0x13ab7c[_0x2e094b(0xc1)];_0x3308eb[_0x2e094b(0x11e)]=_0xb61cff['extend']({'init':function(_0x1de117,_0x3d8ce1){const _0x2bec2f=_0x2e094b;_0x1de117=this[_0x2bec2f(0x494)]=new _0x1de117[(_0x2bec2f(0x479))](),typeof _0x3d8ce1=='string'&&(_0x3d8ce1=_0x4fd266['parse'](_0x3d8ce1));var _0x13de39=_0x1de117[_0x2bec2f(0x19d)],_0x3916ce=_0x13de39*0x4;_0x3d8ce1[_0x2bec2f(0x30b)]>_0x3916ce&&(_0x3d8ce1=_0x1de117['finalize'](_0x3d8ce1)),_0x3d8ce1[_0x2bec2f(0x3e6)]();for(var _0x17991e=this[_0x2bec2f(0x2f5)]=_0x3d8ce1['clone'](),_0xdb1d0d=this[_0x2bec2f(0x168)]=_0x3d8ce1[_0x2bec2f(0x543)](),_0x39b5ab=_0x17991e[_0x2bec2f(0x13c)],_0x564cfd=_0xdb1d0d[_0x2bec2f(0x13c)],_0x2d4a94=0x0;_0x2d4a94<_0x13de39;_0x2d4a94++)_0x39b5ab[_0x2d4a94]^=0x5c5c5c5c,_0x564cfd[_0x2d4a94]^=0x36363636;_0x17991e[_0x2bec2f(0x30b)]=_0xdb1d0d[_0x2bec2f(0x30b)]=_0x3916ce,this[_0x2bec2f(0x18c)]();},'reset':function(){const _0x2bdc5b=_0x2e094b;var _0x344ecd=this[_0x2bdc5b(0x494)];_0x344ecd[_0x2bdc5b(0x18c)](),_0x344ecd[_0x2bdc5b(0x2de)](this[_0x2bdc5b(0x168)]);},'update':function(_0x313134){const _0x9ca034=_0x2e094b;return this[_0x9ca034(0x494)][_0x9ca034(0x2de)](_0x313134),this;},'finalize':function(_0x1abbb9){const _0x2e5a1b=_0x2e094b;var _0x1d80d0=this[_0x2e5a1b(0x494)],_0xdca75f=_0x1d80d0['finalize'](_0x1abbb9);_0x1d80d0['reset']();var _0x337301=_0x1d80d0[_0x2e5a1b(0x241)](this[_0x2e5a1b(0x2f5)][_0x2e5a1b(0x543)]()['concat'](_0xdca75f));return _0x337301;}});}());}));}(_0x137d73)),_0x137d73[_0x56d4b1(0x201)];}var _0x4c44eb;function _0x5df4e4(){const _0x513223=_0x4478c1;return _0x4c44eb||(_0x4c44eb=0x1,function(_0x1a1ca0,_0x17c1ef){(function(_0x1c9eb2,_0x283c48,_0x1c358d){const _0x5b3d70=_0x406b;_0x1a1ca0[_0x5b3d70(0x201)]=_0x283c48(_0x1b73c4(),_0x1bd85d(),_0x361b44());}(_0x4040b9,function(_0x22432c){return(function(){const _0x1c9474=_0x406b;var _0x2fb36a=_0x22432c,_0x85b64d=_0x2fb36a[_0x1c9474(0x2e5)],_0x91a672=_0x85b64d['Base'],_0x414716=_0x85b64d[_0x1c9474(0x477)],_0x10b8d3=_0x2fb36a['algo'],_0x43c8e3=_0x10b8d3[_0x1c9474(0x4df)],_0x5e4f9b=_0x10b8d3[_0x1c9474(0x2f9)]=_0x91a672['extend']({'cfg':_0x91a672[_0x1c9474(0x342)]({'keySize':0x80/0x20,'hasher':_0x43c8e3,'iterations':0x1}),'init':function(_0x86be28){const _0x15bfd1=_0x1c9474;this[_0x15bfd1(0x18b)]=this['cfg'][_0x15bfd1(0x342)](_0x86be28);},'compute':function(_0x3556e6,_0x2caf09){const _0x33210b=_0x1c9474;for(var _0x4899d8,_0x8bab82=this['cfg'],_0x3e07fb=_0x8bab82[_0x33210b(0x1f3)][_0x33210b(0xb6)](),_0x414bc2=_0x414716['create'](),_0x3c99e4=_0x414bc2[_0x33210b(0x13c)],_0xc6b93c=_0x8bab82['keySize'],_0x245fa4=_0x8bab82[_0x33210b(0x4b1)];_0x3c99e4[_0x33210b(0x315)]<_0xc6b93c;){_0x4899d8&&_0x3e07fb[_0x33210b(0x2de)](_0x4899d8),_0x4899d8=_0x3e07fb[_0x33210b(0x2de)](_0x3556e6)[_0x33210b(0x241)](_0x2caf09),_0x3e07fb['reset']();for(var _0xa2da3d=0x1;_0xa2da3d<_0x245fa4;_0xa2da3d++)_0x4899d8=_0x3e07fb['finalize'](_0x4899d8),_0x3e07fb[_0x33210b(0x18c)]();_0x414bc2['concat'](_0x4899d8);}return _0x414bc2[_0x33210b(0x30b)]=_0xc6b93c*0x4,_0x414bc2;}});_0x2fb36a[_0x1c9474(0x2f9)]=function(_0x954ebf,_0x5c22ce,_0xf3d734){const _0x5d978a=_0x1c9474;return _0x5e4f9b[_0x5d978a(0xb6)](_0xf3d734)['compute'](_0x954ebf,_0x5c22ce);};}()),_0x22432c['EvpKDF'];}));}(_0x400156)),_0x400156[_0x513223(0x201)];}var _0x3a1a0a={'exports':{}},_0x1278cd;function _0x4bc8b2(){const _0xf3925d=_0x4478c1;return _0x1278cd||(_0x1278cd=0x1,function(_0x2682bd,_0x3150c2){(function(_0x193ffd,_0x25d15e,_0x387c63){const _0x5f65cb=_0x406b;_0x2682bd[_0x5f65cb(0x201)]=_0x25d15e(_0x1b73c4(),_0x5df4e4());}(_0x4040b9,function(_0x5764d5){const _0x5e9150=_0x406b;_0x5764d5[_0x5e9150(0x2e5)]['Cipher']||function(_0x2cf062){const _0x41cb18=_0x5e9150;var _0x4bc45a=_0x5764d5,_0x1115db=_0x4bc45a[_0x41cb18(0x2e5)],_0xce63d5=_0x1115db['Base'],_0x53d0f5=_0x1115db[_0x41cb18(0x477)],_0x174143=_0x1115db['BufferedBlockAlgorithm'],_0x1b8843=_0x4bc45a[_0x41cb18(0x24f)];_0x1b8843[_0x41cb18(0x446)];var _0x3e7fa2=_0x1b8843['Base64'],_0x4c05b2=_0x4bc45a[_0x41cb18(0xc1)],_0x41a6bb=_0x4c05b2[_0x41cb18(0x2f9)],_0x4a2f80=_0x1115db['Cipher']=_0x174143[_0x41cb18(0x342)]({'cfg':_0xce63d5[_0x41cb18(0x342)](),'createEncryptor':function(_0x216a6f,_0x1d67ad){const _0x2fc802=_0x41cb18;return this[_0x2fc802(0xb6)](this['_ENC_XFORM_MODE'],_0x216a6f,_0x1d67ad);},'createDecryptor':function(_0x5d26d0,_0x37130d){const _0x5d89c2=_0x41cb18;return this[_0x5d89c2(0xb6)](this[_0x5d89c2(0x264)],_0x5d26d0,_0x37130d);},'init':function(_0x2c6eaf,_0x3e907c,_0x463828){const _0x5489d1=_0x41cb18;this[_0x5489d1(0x18b)]=this[_0x5489d1(0x18b)][_0x5489d1(0x342)](_0x463828),this['_xformMode']=_0x2c6eaf,this['_key']=_0x3e907c,this[_0x5489d1(0x18c)]();},'reset':function(){const _0x233ae2=_0x41cb18;_0x174143[_0x233ae2(0x18c)][_0x233ae2(0x3e3)](this),this[_0x233ae2(0xf9)]();},'process':function(_0x5f45f9){const _0x4979f8=_0x41cb18;return this[_0x4979f8(0x458)](_0x5f45f9),this[_0x4979f8(0x3c0)]();},'finalize':function(_0x574a4e){const _0x527acc=_0x41cb18;_0x574a4e&&this[_0x527acc(0x458)](_0x574a4e);var _0xafa220=this[_0x527acc(0x308)]();return _0xafa220;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa69237(_0x10fc5b){const _0x1c1ee1=_0x406b;return typeof _0x10fc5b==_0x1c1ee1(0x427)?_0xe48bf4:_0x3a6cc6;}return function(_0x4e6a6d){return{'encrypt':function(_0x48db72,_0x444968,_0x47acb3){return _0xa69237(_0x444968)['encrypt'](_0x4e6a6d,_0x48db72,_0x444968,_0x47acb3);},'decrypt':function(_0x4be6d6,_0x4dd298,_0x4252a3){const _0xe4a305=_0x406b;return _0xa69237(_0x4dd298)[_0xe4a305(0x277)](_0x4e6a6d,_0x4be6d6,_0x4dd298,_0x4252a3);}};};}())});_0x1115db[_0x41cb18(0x2b2)]=_0x4a2f80[_0x41cb18(0x342)]({'_doFinalize':function(){const _0x11fc8a=_0x41cb18;var _0x1898aa=this[_0x11fc8a(0x3c0)](!0x0);return _0x1898aa;},'blockSize':0x1});var _0x247ad6=_0x4bc45a[_0x41cb18(0x4d5)]={},_0x2b38c2=_0x1115db['BlockCipherMode']=_0xce63d5[_0x41cb18(0x342)]({'createEncryptor':function(_0x2d5794,_0x19a284){const _0x4eddae=_0x41cb18;return this[_0x4eddae(0x570)][_0x4eddae(0xb6)](_0x2d5794,_0x19a284);},'createDecryptor':function(_0x35528a,_0x3973a0){const _0x596ccb=_0x41cb18;return this['Decryptor'][_0x596ccb(0xb6)](_0x35528a,_0x3973a0);},'init':function(_0x453ae5,_0x52a497){const _0x2f72ad=_0x41cb18;this[_0x2f72ad(0x456)]=_0x453ae5,this['_iv']=_0x52a497;}}),_0x5d2faf=_0x247ad6[_0x41cb18(0x202)]=(function(){const _0x2d4946=_0x41cb18;var _0x34dda9=_0x2b38c2[_0x2d4946(0x342)]();_0x34dda9['Encryptor']=_0x34dda9[_0x2d4946(0x342)]({'processBlock':function(_0xd4257f,_0x554936){const _0x10fef9=_0x2d4946;var _0x5cae4f=this['_cipher'],_0x241f75=_0x5cae4f[_0x10fef9(0x19d)];_0x2e5e3a[_0x10fef9(0x3e3)](this,_0xd4257f,_0x554936,_0x241f75),_0x5cae4f['encryptBlock'](_0xd4257f,_0x554936),this[_0x10fef9(0x40d)]=_0xd4257f[_0x10fef9(0x29e)](_0x554936,_0x554936+_0x241f75);}}),_0x34dda9['Decryptor']=_0x34dda9[_0x2d4946(0x342)]({'processBlock':function(_0x483e0c,_0xf5dc91){const _0x40217a=_0x2d4946;var _0x41ef37=this[_0x40217a(0x456)],_0x1a4752=_0x41ef37[_0x40217a(0x19d)],_0x3e5c5b=_0x483e0c[_0x40217a(0x29e)](_0xf5dc91,_0xf5dc91+_0x1a4752);_0x41ef37[_0x40217a(0x448)](_0x483e0c,_0xf5dc91),_0x2e5e3a[_0x40217a(0x3e3)](this,_0x483e0c,_0xf5dc91,_0x1a4752),this['_prevBlock']=_0x3e5c5b;}});function _0x2e5e3a(_0x5eb22f,_0x372650,_0x3707fa){const _0x21860d=_0x2d4946;var _0x20cfd7,_0x56d1de=this[_0x21860d(0x55d)];_0x56d1de?(_0x20cfd7=_0x56d1de,this[_0x21860d(0x55d)]=_0x2cf062):_0x20cfd7=this[_0x21860d(0x40d)];for(var _0x1e34fb=0x0;_0x1e34fb<_0x3707fa;_0x1e34fb++)_0x5eb22f[_0x372650+_0x1e34fb]^=_0x20cfd7[_0x1e34fb];}return _0x34dda9;}()),_0x34658f=_0x4bc45a[_0x41cb18(0x263)]={},_0x251905=_0x34658f[_0x41cb18(0x188)]={'pad':function(_0xaa8995,_0x3c3fea){const _0x3b21d8=_0x41cb18;for(var _0x46d1f9=_0x3c3fea*0x4,_0x11f824=_0x46d1f9-_0xaa8995[_0x3b21d8(0x30b)]%_0x46d1f9,_0xa524d8=_0x11f824<<0x18|_0x11f824<<0x10|_0x11f824<<0x8|_0x11f824,_0x4c7a57=[],_0x5c5ea1=0x0;_0x5c5ea1<_0x11f824;_0x5c5ea1+=0x4)_0x4c7a57['push'](_0xa524d8);var _0x6172da=_0x53d0f5[_0x3b21d8(0xb6)](_0x4c7a57,_0x11f824);_0xaa8995['concat'](_0x6172da);},'unpad':function(_0x318a0d){const _0xe19971=_0x41cb18;var _0x1532b9=_0x318a0d[_0xe19971(0x13c)][_0x318a0d[_0xe19971(0x30b)]-0x1>>>0x2]&0xff;_0x318a0d[_0xe19971(0x30b)]-=_0x1532b9;}};_0x1115db[_0x41cb18(0x1d0)]=_0x4a2f80[_0x41cb18(0x342)]({'cfg':_0x4a2f80[_0x41cb18(0x18b)]['extend']({'mode':_0x5d2faf,'padding':_0x251905}),'reset':function(){const _0x359a4a=_0x41cb18;var _0x5155e3;_0x4a2f80[_0x359a4a(0x18c)]['call'](this);var _0x4a7c68=this[_0x359a4a(0x18b)],_0x34aaca=_0x4a7c68['iv'],_0x2dbeae=_0x4a7c68[_0x359a4a(0x4d5)];this['_xformMode']==this[_0x359a4a(0x392)]?_0x5155e3=_0x2dbeae['createEncryptor']:(_0x5155e3=_0x2dbeae[_0x359a4a(0x294)],this[_0x359a4a(0x313)]=0x1),this[_0x359a4a(0x32c)]&&this[_0x359a4a(0x32c)][_0x359a4a(0x28e)]==_0x5155e3?this[_0x359a4a(0x32c)]['init'](this,_0x34aaca&&_0x34aaca[_0x359a4a(0x13c)]):(this['_mode']=_0x5155e3[_0x359a4a(0x3e3)](_0x2dbeae,this,_0x34aaca&&_0x34aaca[_0x359a4a(0x13c)]),this[_0x359a4a(0x32c)]['__creator']=_0x5155e3);},'_doProcessBlock':function(_0x468fcc,_0x19c91f){const _0x51b8e9=_0x41cb18;this[_0x51b8e9(0x32c)][_0x51b8e9(0x119)](_0x468fcc,_0x19c91f);},'_doFinalize':function(){const _0x247d04=_0x41cb18;var _0x27ae5b,_0x24955c=this[_0x247d04(0x18b)][_0x247d04(0x444)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x24955c['pad'](this[_0x247d04(0x2b4)],this[_0x247d04(0x19d)]),_0x27ae5b=this[_0x247d04(0x3c0)](!0x0)):(_0x27ae5b=this['_process'](!0x0),_0x24955c[_0x247d04(0x16a)](_0x27ae5b)),_0x27ae5b;},'blockSize':0x80/0x20});var _0x28b93a=_0x1115db[_0x41cb18(0x4c9)]=_0xce63d5[_0x41cb18(0x342)]({'init':function(_0x1eaa52){this['mixIn'](_0x1eaa52);},'toString':function(_0x1fa728){const _0x131b17=_0x41cb18;return(_0x1fa728||this[_0x131b17(0x2cd)])[_0x131b17(0x571)](this);}}),_0x47de14=_0x4bc45a['format']={},_0x63854a=_0x47de14[_0x41cb18(0x512)]={'stringify':function(_0x106746){const _0x5dafa4=_0x41cb18;var _0x3426b2,_0x308c8f=_0x106746[_0x5dafa4(0x3ae)],_0x109a8e=_0x106746['salt'];return _0x109a8e?_0x3426b2=_0x53d0f5[_0x5dafa4(0xb6)]([0x53616c74,0x65645f5f])[_0x5dafa4(0x287)](_0x109a8e)[_0x5dafa4(0x287)](_0x308c8f):_0x3426b2=_0x308c8f,_0x3426b2[_0x5dafa4(0x397)](_0x3e7fa2);},'parse':function(_0x2449aa){const _0x40cf6a=_0x41cb18;var _0x461738,_0x4eda4d=_0x3e7fa2[_0x40cf6a(0x33c)](_0x2449aa),_0xe8079f=_0x4eda4d[_0x40cf6a(0x13c)];return _0xe8079f[0x0]==0x53616c74&&_0xe8079f[0x1]==0x65645f5f&&(_0x461738=_0x53d0f5[_0x40cf6a(0xb6)](_0xe8079f[_0x40cf6a(0x29e)](0x2,0x4)),_0xe8079f[_0x40cf6a(0x3a2)](0x0,0x4),_0x4eda4d[_0x40cf6a(0x30b)]-=0x10),_0x28b93a[_0x40cf6a(0xb6)]({'ciphertext':_0x4eda4d,'salt':_0x461738});}},_0x3a6cc6=_0x1115db[_0x41cb18(0x192)]=_0xce63d5[_0x41cb18(0x342)]({'cfg':_0xce63d5[_0x41cb18(0x342)]({'format':_0x63854a}),'encrypt':function(_0xb16dab,_0x19ece4,_0x47a0d2,_0x3918ed){const _0x1661ce=_0x41cb18;_0x3918ed=this['cfg'][_0x1661ce(0x342)](_0x3918ed);var _0x128d2c=_0xb16dab[_0x1661ce(0x158)](_0x47a0d2,_0x3918ed),_0xf298d5=_0x128d2c['finalize'](_0x19ece4),_0x15c25d=_0x128d2c['cfg'];return _0x28b93a['create']({'ciphertext':_0xf298d5,'key':_0x47a0d2,'iv':_0x15c25d['iv'],'algorithm':_0xb16dab,'mode':_0x15c25d[_0x1661ce(0x4d5)],'padding':_0x15c25d[_0x1661ce(0x444)],'blockSize':_0xb16dab[_0x1661ce(0x19d)],'formatter':_0x3918ed[_0x1661ce(0x386)]});},'decrypt':function(_0x42ea6a,_0x2298c5,_0xee091,_0x26aa2b){const _0x1a461e=_0x41cb18;_0x26aa2b=this['cfg'][_0x1a461e(0x342)](_0x26aa2b),_0x2298c5=this[_0x1a461e(0x4fd)](_0x2298c5,_0x26aa2b[_0x1a461e(0x386)]);var _0x23dbbb=_0x42ea6a[_0x1a461e(0x294)](_0xee091,_0x26aa2b)[_0x1a461e(0x241)](_0x2298c5['ciphertext']);return _0x23dbbb;},'_parse':function(_0x119366,_0x56c007){const _0x17d820=_0x41cb18;return typeof _0x119366==_0x17d820(0x427)?_0x56c007[_0x17d820(0x33c)](_0x119366,this):_0x119366;}}),_0x1e14e8=_0x4bc45a[_0x41cb18(0x21f)]={},_0x5e798c=_0x1e14e8[_0x41cb18(0x512)]={'execute':function(_0x5e9b14,_0x21a640,_0x379100,_0x44be74,_0x2d79b8){const _0x4b6373=_0x41cb18;if(_0x44be74||(_0x44be74=_0x53d0f5[_0x4b6373(0x144)](0x40/0x8)),_0x2d79b8)var _0x446d7d=_0x41a6bb[_0x4b6373(0xb6)]({'keySize':_0x21a640+_0x379100,'hasher':_0x2d79b8})[_0x4b6373(0xf3)](_0x5e9b14,_0x44be74);else var _0x446d7d=_0x41a6bb['create']({'keySize':_0x21a640+_0x379100})[_0x4b6373(0xf3)](_0x5e9b14,_0x44be74);var _0x5203fb=_0x53d0f5['create'](_0x446d7d[_0x4b6373(0x13c)]['slice'](_0x21a640),_0x379100*0x4);return _0x446d7d[_0x4b6373(0x30b)]=_0x21a640*0x4,_0x28b93a[_0x4b6373(0xb6)]({'key':_0x446d7d,'iv':_0x5203fb,'salt':_0x44be74});}},_0xe48bf4=_0x1115db['PasswordBasedCipher']=_0x3a6cc6[_0x41cb18(0x342)]({'cfg':_0x3a6cc6[_0x41cb18(0x18b)][_0x41cb18(0x342)]({'kdf':_0x5e798c}),'encrypt':function(_0x11e879,_0x35e7bb,_0x2ed036,_0x1eb041){const _0x400f5f=_0x41cb18;_0x1eb041=this[_0x400f5f(0x18b)][_0x400f5f(0x342)](_0x1eb041);var _0xeaf513=_0x1eb041['kdf']['execute'](_0x2ed036,_0x11e879[_0x400f5f(0x421)],_0x11e879[_0x400f5f(0x1c8)],_0x1eb041['salt'],_0x1eb041[_0x400f5f(0x1f3)]);_0x1eb041['iv']=_0xeaf513['iv'];var _0x29bb19=_0x3a6cc6[_0x400f5f(0x48a)][_0x400f5f(0x3e3)](this,_0x11e879,_0x35e7bb,_0xeaf513[_0x400f5f(0x426)],_0x1eb041);return _0x29bb19[_0x400f5f(0x1ab)](_0xeaf513),_0x29bb19;},'decrypt':function(_0x9562dc,_0xad9eb2,_0xa4c0d,_0x3e4c07){const _0x5a848a=_0x41cb18;_0x3e4c07=this[_0x5a848a(0x18b)][_0x5a848a(0x342)](_0x3e4c07),_0xad9eb2=this['_parse'](_0xad9eb2,_0x3e4c07[_0x5a848a(0x386)]);var _0x2230d2=_0x3e4c07[_0x5a848a(0x21f)][_0x5a848a(0x1bb)](_0xa4c0d,_0x9562dc[_0x5a848a(0x421)],_0x9562dc['ivSize'],_0xad9eb2[_0x5a848a(0x513)],_0x3e4c07['hasher']);_0x3e4c07['iv']=_0x2230d2['iv'];var _0xcbee5f=_0x3a6cc6['decrypt'][_0x5a848a(0x3e3)](this,_0x9562dc,_0xad9eb2,_0x2230d2[_0x5a848a(0x426)],_0x3e4c07);return _0xcbee5f;}});}();}));}(_0x3a1a0a)),_0x3a1a0a[_0xf3925d(0x201)];}(function(_0x26d214,_0x4bcfa2){(function(_0x11c745,_0x253d1e,_0x487666){const _0x59fe3d=_0x406b;_0x26d214[_0x59fe3d(0x201)]=_0x253d1e(_0x1b73c4(),_0x23091f(),_0x150d85(),_0x5df4e4(),_0x4bc8b2());}(_0x4040b9,function(_0x5cd923){const _0x54b960=_0x406b;return(function(){const _0x522c1c=_0x406b;var _0x213d7b=_0x5cd923,_0x26b1d9=_0x213d7b[_0x522c1c(0x2e5)],_0x3e0b2b=_0x26b1d9['BlockCipher'],_0x2c7f35=_0x213d7b[_0x522c1c(0xc1)],_0x339caf=[],_0x204e5c=[],_0x231eb9=[],_0x5660a3=[],_0x258d9e=[],_0x3ec971=[],_0x4c6dc7=[],_0x45c541=[],_0x79f113=[],_0x186ea7=[];(function(){for(var _0x4ba124=[],_0x3d00c2=0x0;_0x3d00c2<0x100;_0x3d00c2++)_0x3d00c2<0x80?_0x4ba124[_0x3d00c2]=_0x3d00c2<<0x1:_0x4ba124[_0x3d00c2]=_0x3d00c2<<0x1^0x11b;for(var _0x3a891c=0x0,_0x5bace5=0x0,_0x3d00c2=0x0;_0x3d00c2<0x100;_0x3d00c2++){var _0x106fd6=_0x5bace5^_0x5bace5<<0x1^_0x5bace5<<0x2^_0x5bace5<<0x3^_0x5bace5<<0x4;_0x106fd6=_0x106fd6>>>0x8^_0x106fd6&0xff^0x63,_0x339caf[_0x3a891c]=_0x106fd6,_0x204e5c[_0x106fd6]=_0x3a891c;var _0x2e5755=_0x4ba124[_0x3a891c],_0x42a50f=_0x4ba124[_0x2e5755],_0x3edd00=_0x4ba124[_0x42a50f],_0x4a6fdb=_0x4ba124[_0x106fd6]*0x101^_0x106fd6*0x1010100;_0x231eb9[_0x3a891c]=_0x4a6fdb<<0x18|_0x4a6fdb>>>0x8,_0x5660a3[_0x3a891c]=_0x4a6fdb<<0x10|_0x4a6fdb>>>0x10,_0x258d9e[_0x3a891c]=_0x4a6fdb<<0x8|_0x4a6fdb>>>0x18,_0x3ec971[_0x3a891c]=_0x4a6fdb;var _0x4a6fdb=_0x3edd00*0x1010101^_0x42a50f*0x10001^_0x2e5755*0x101^_0x3a891c*0x1010100;_0x4c6dc7[_0x106fd6]=_0x4a6fdb<<0x18|_0x4a6fdb>>>0x8,_0x45c541[_0x106fd6]=_0x4a6fdb<<0x10|_0x4a6fdb>>>0x10,_0x79f113[_0x106fd6]=_0x4a6fdb<<0x8|_0x4a6fdb>>>0x18,_0x186ea7[_0x106fd6]=_0x4a6fdb,_0x3a891c?(_0x3a891c=_0x2e5755^_0x4ba124[_0x4ba124[_0x4ba124[_0x3edd00^_0x2e5755]]],_0x5bace5^=_0x4ba124[_0x4ba124[_0x5bace5]]):_0x3a891c=_0x5bace5=0x1;}}());var _0x4a3148=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x27e2fd=_0x2c7f35[_0x522c1c(0x39b)]=_0x3e0b2b[_0x522c1c(0x342)]({'_doReset':function(){const _0x53dbdf=_0x522c1c;var _0x510f3c;if(!(this[_0x53dbdf(0x223)]&&this['_keyPriorReset']===this[_0x53dbdf(0x544)])){for(var _0x25492d=this['_keyPriorReset']=this[_0x53dbdf(0x544)],_0xf35d7e=_0x25492d['words'],_0x529a03=_0x25492d[_0x53dbdf(0x30b)]/0x4,_0x5b13cc=this['_nRounds']=_0x529a03+0x6,_0x2a0c6c=(_0x5b13cc+0x1)*0x4,_0x2552f5=this[_0x53dbdf(0x52d)]=[],_0x3dac4d=0x0;_0x3dac4d<_0x2a0c6c;_0x3dac4d++)_0x3dac4d<_0x529a03?_0x2552f5[_0x3dac4d]=_0xf35d7e[_0x3dac4d]:(_0x510f3c=_0x2552f5[_0x3dac4d-0x1],_0x3dac4d%_0x529a03?_0x529a03>0x6&&_0x3dac4d%_0x529a03==0x4&&(_0x510f3c=_0x339caf[_0x510f3c>>>0x18]<<0x18|_0x339caf[_0x510f3c>>>0x10&0xff]<<0x10|_0x339caf[_0x510f3c>>>0x8&0xff]<<0x8|_0x339caf[_0x510f3c&0xff]):(_0x510f3c=_0x510f3c<<0x8|_0x510f3c>>>0x18,_0x510f3c=_0x339caf[_0x510f3c>>>0x18]<<0x18|_0x339caf[_0x510f3c>>>0x10&0xff]<<0x10|_0x339caf[_0x510f3c>>>0x8&0xff]<<0x8|_0x339caf[_0x510f3c&0xff],_0x510f3c^=_0x4a3148[_0x3dac4d/_0x529a03|0x0]<<0x18),_0x2552f5[_0x3dac4d]=_0x2552f5[_0x3dac4d-_0x529a03]^_0x510f3c);for(var _0x528c52=this[_0x53dbdf(0x2da)]=[],_0x35af2a=0x0;_0x35af2a<_0x2a0c6c;_0x35af2a++){var _0x3dac4d=_0x2a0c6c-_0x35af2a;if(_0x35af2a%0x4)var _0x510f3c=_0x2552f5[_0x3dac4d];else var _0x510f3c=_0x2552f5[_0x3dac4d-0x4];_0x35af2a<0x4||_0x3dac4d<=0x4?_0x528c52[_0x35af2a]=_0x510f3c:_0x528c52[_0x35af2a]=_0x4c6dc7[_0x339caf[_0x510f3c>>>0x18]]^_0x45c541[_0x339caf[_0x510f3c>>>0x10&0xff]]^_0x79f113[_0x339caf[_0x510f3c>>>0x8&0xff]]^_0x186ea7[_0x339caf[_0x510f3c&0xff]];}}},'encryptBlock':function(_0x382b6b,_0x2f7612){const _0xf31e37=_0x522c1c;this[_0xf31e37(0x52e)](_0x382b6b,_0x2f7612,this['_keySchedule'],_0x231eb9,_0x5660a3,_0x258d9e,_0x3ec971,_0x339caf);},'decryptBlock':function(_0x32ea41,_0xf98a53){const _0x185fd0=_0x522c1c;var _0x51b0ce=_0x32ea41[_0xf98a53+0x1];_0x32ea41[_0xf98a53+0x1]=_0x32ea41[_0xf98a53+0x3],_0x32ea41[_0xf98a53+0x3]=_0x51b0ce,this[_0x185fd0(0x52e)](_0x32ea41,_0xf98a53,this['_invKeySchedule'],_0x4c6dc7,_0x45c541,_0x79f113,_0x186ea7,_0x204e5c);var _0x51b0ce=_0x32ea41[_0xf98a53+0x1];_0x32ea41[_0xf98a53+0x1]=_0x32ea41[_0xf98a53+0x3],_0x32ea41[_0xf98a53+0x3]=_0x51b0ce;},'_doCryptBlock':function(_0x6fb7c1,_0x5ae2ee,_0x5592a3,_0x3f0d08,_0x3f0853,_0x3bc08b,_0x3c380b,_0x2bd18a){const _0x12bfcc=_0x522c1c;for(var _0x4da05f=this[_0x12bfcc(0x223)],_0x29407c=_0x6fb7c1[_0x5ae2ee]^_0x5592a3[0x0],_0x3e0357=_0x6fb7c1[_0x5ae2ee+0x1]^_0x5592a3[0x1],_0x15c5c6=_0x6fb7c1[_0x5ae2ee+0x2]^_0x5592a3[0x2],_0x4291d1=_0x6fb7c1[_0x5ae2ee+0x3]^_0x5592a3[0x3],_0x3d4172=0x4,_0x341ab6=0x1;_0x341ab6<_0x4da05f;_0x341ab6++){var _0x233f09=_0x3f0d08[_0x29407c>>>0x18]^_0x3f0853[_0x3e0357>>>0x10&0xff]^_0x3bc08b[_0x15c5c6>>>0x8&0xff]^_0x3c380b[_0x4291d1&0xff]^_0x5592a3[_0x3d4172++],_0x15727b=_0x3f0d08[_0x3e0357>>>0x18]^_0x3f0853[_0x15c5c6>>>0x10&0xff]^_0x3bc08b[_0x4291d1>>>0x8&0xff]^_0x3c380b[_0x29407c&0xff]^_0x5592a3[_0x3d4172++],_0x58bfe3=_0x3f0d08[_0x15c5c6>>>0x18]^_0x3f0853[_0x4291d1>>>0x10&0xff]^_0x3bc08b[_0x29407c>>>0x8&0xff]^_0x3c380b[_0x3e0357&0xff]^_0x5592a3[_0x3d4172++],_0x19b1a8=_0x3f0d08[_0x4291d1>>>0x18]^_0x3f0853[_0x29407c>>>0x10&0xff]^_0x3bc08b[_0x3e0357>>>0x8&0xff]^_0x3c380b[_0x15c5c6&0xff]^_0x5592a3[_0x3d4172++];_0x29407c=_0x233f09,_0x3e0357=_0x15727b,_0x15c5c6=_0x58bfe3,_0x4291d1=_0x19b1a8;}var _0x233f09=(_0x2bd18a[_0x29407c>>>0x18]<<0x18|_0x2bd18a[_0x3e0357>>>0x10&0xff]<<0x10|_0x2bd18a[_0x15c5c6>>>0x8&0xff]<<0x8|_0x2bd18a[_0x4291d1&0xff])^_0x5592a3[_0x3d4172++],_0x15727b=(_0x2bd18a[_0x3e0357>>>0x18]<<0x18|_0x2bd18a[_0x15c5c6>>>0x10&0xff]<<0x10|_0x2bd18a[_0x4291d1>>>0x8&0xff]<<0x8|_0x2bd18a[_0x29407c&0xff])^_0x5592a3[_0x3d4172++],_0x58bfe3=(_0x2bd18a[_0x15c5c6>>>0x18]<<0x18|_0x2bd18a[_0x4291d1>>>0x10&0xff]<<0x10|_0x2bd18a[_0x29407c>>>0x8&0xff]<<0x8|_0x2bd18a[_0x3e0357&0xff])^_0x5592a3[_0x3d4172++],_0x19b1a8=(_0x2bd18a[_0x4291d1>>>0x18]<<0x18|_0x2bd18a[_0x29407c>>>0x10&0xff]<<0x10|_0x2bd18a[_0x3e0357>>>0x8&0xff]<<0x8|_0x2bd18a[_0x15c5c6&0xff])^_0x5592a3[_0x3d4172++];_0x6fb7c1[_0x5ae2ee]=_0x233f09,_0x6fb7c1[_0x5ae2ee+0x1]=_0x15727b,_0x6fb7c1[_0x5ae2ee+0x2]=_0x58bfe3,_0x6fb7c1[_0x5ae2ee+0x3]=_0x19b1a8;},'keySize':0x100/0x20});_0x213d7b[_0x522c1c(0x39b)]=_0x3e0b2b[_0x522c1c(0x476)](_0x27e2fd);}()),_0x5cd923[_0x54b960(0x39b)];}));}(_0x34a4d3));var _0x3f32b4=_0x34a4d3[_0x4478c1(0x201)];const _0x44c494=_0x3b9412(_0x3f32b4);var _0x2ee66b=_0x23091f();const _0x27d9ee=_0x3b9412(_0x2ee66b);var _0x314b15={'exports':{}};(function(_0x5f3efd,_0x4db0bf){(function(_0x4fb1d9,_0x1ada5e){const _0xbe8c80=_0x406b;_0x5f3efd[_0xbe8c80(0x201)]=_0x1ada5e(_0x1b73c4());}(_0x4040b9,function(_0x5a3c5e){const _0x4ea993=_0x406b;return _0x5a3c5e[_0x4ea993(0x24f)]['Utf8'];}));}(_0x314b15));var _0x16d676=_0x314b15[_0x4478c1(0x201)];const _0x17afd5=_0x3b9412(_0x16d676);var _0x3bb09c={'exports':{}};(function(_0x5accae,_0x1cbdd4){(function(_0x171246,_0x2619b6){_0x5accae['exports']=_0x2619b6(_0x1b73c4());}(_0x4040b9,function(_0x3f4ba3){const _0x5c340a=_0x406b;return(function(){const _0x1b4453=_0x406b;if(typeof ArrayBuffer==_0x1b4453(0x466)){var _0x1dbc45=_0x3f4ba3,_0x10ca47=_0x1dbc45[_0x1b4453(0x2e5)],_0x1d4c8=_0x10ca47[_0x1b4453(0x477)],_0x3fbb60=_0x1d4c8[_0x1b4453(0x479)],_0x60ff4e=_0x1d4c8[_0x1b4453(0x479)]=function(_0x3ae091){const _0x2752e5=_0x1b4453;if(_0x3ae091 instanceof ArrayBuffer&&(_0x3ae091=new Uint8Array(_0x3ae091)),(_0x3ae091 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3ae091 instanceof Uint8ClampedArray||_0x3ae091 instanceof Int16Array||_0x3ae091 instanceof Uint16Array||_0x3ae091 instanceof Int32Array||_0x3ae091 instanceof Uint32Array||_0x3ae091 instanceof Float32Array||_0x3ae091 instanceof Float64Array)&&(_0x3ae091=new Uint8Array(_0x3ae091[_0x2752e5(0x2c5)],_0x3ae091[_0x2752e5(0x3ea)],_0x3ae091[_0x2752e5(0x33a)])),_0x3ae091 instanceof Uint8Array){for(var _0x5d998a=_0x3ae091[_0x2752e5(0x33a)],_0x386164=[],_0x1ed475=0x0;_0x1ed475<_0x5d998a;_0x1ed475++)_0x386164[_0x1ed475>>>0x2]|=_0x3ae091[_0x1ed475]<<0x18-_0x1ed475%0x4*0x8;_0x3fbb60[_0x2752e5(0x3e3)](this,_0x386164,_0x5d998a);}else _0x3fbb60[_0x2752e5(0x52c)](this,arguments);};_0x60ff4e['prototype']=_0x1d4c8;}}()),_0x3f4ba3[_0x5c340a(0x2e5)]['WordArray'];}));}(_0x3bb09c));var _0x530467=_0x3bb09c[_0x4478c1(0x201)];const _0x5b8cfb=_0x3b9412(_0x530467);var _0x438717={'exports':{}};(function(_0x25a92e,_0x29f4b4){(function(_0x3ad7f1,_0x49a8bd,_0x94fd35){const _0x172e4c=_0x406b;_0x25a92e[_0x172e4c(0x201)]=_0x49a8bd(_0x1b73c4(),_0x4bc8b2());}(_0x4040b9,function(_0x186a5f){const _0x2c4f86=_0x406b;return _0x186a5f[_0x2c4f86(0x263)][_0x2c4f86(0x363)]={'pad':function(){},'unpad':function(){}},_0x186a5f[_0x2c4f86(0x263)][_0x2c4f86(0x363)];}));}(_0x438717));var _0x17bd1f=_0x438717[_0x4478c1(0x201)];const _0x5e0762=_0x3b9412(_0x17bd1f);function _0xef3480(_0xa124f0,_0x4ca5a8){const _0x235229=_0x4478c1,_0x9421c1=_0x4ca5a8-_0xa124f0[_0x235229(0x315)]%_0x4ca5a8,_0x2972e6=String['fromCharCode'](_0x9421c1)[_0x235229(0x46d)](_0x9421c1);return _0xa124f0+_0x2972e6;}function _0x2276d8(_0x401a06,_0x1482a9){const _0x236c01=_0x4478c1,_0xc8dc31=_0x5b8cfb[_0x236c01(0x144)](0x10),_0x43ec91=_0xef3480(_0x401a06,0x10),_0x3138f7=_0x44c494[_0x236c01(0x48a)](_0x17afd5[_0x236c01(0x33c)](_0x43ec91),_0x27d9ee[_0x236c01(0x33c)](_0x1482a9),{'iv':_0xc8dc31,'padding':_0x5e0762});return _0xc8dc31[_0x236c01(0x287)](_0x3138f7[_0x236c01(0x3ae)])[_0x236c01(0x397)](_0x27d9ee);}function _0x10f77f(){const _0x372a21=_0x4478c1,_0x233d6d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x233d6d){const _0x4c8f03={'time':Math[_0x372a21(0x4f0)](Date['now']()/0x3e8),'domain':location[_0x372a21(0x3f9)]};return _0x2276d8(JSON[_0x372a21(0x571)](_0x4c8f03),_0x233d6d);}}var _0x7ca3c1=Object[_0x4478c1(0x19b)],_0x5b9f18=Object[_0x4478c1(0x4d8)],_0x134978=(_0x3a5747,_0x189ce2,_0x4a8dad,_0x30395d)=>{const _0x5137ac=_0x4478c1;for(var _0x5c392b=_0x30395d>0x1?void 0x0:_0x30395d?_0x5b9f18(_0x189ce2,_0x4a8dad):_0x189ce2,_0x1f4419=_0x3a5747[_0x5137ac(0x315)]-0x1,_0x820d48;_0x1f4419>=0x0;_0x1f4419--)(_0x820d48=_0x3a5747[_0x1f4419])&&(_0x5c392b=(_0x30395d?_0x820d48(_0x189ce2,_0x4a8dad,_0x5c392b):_0x820d48(_0x5c392b))||_0x5c392b);return _0x30395d&&_0x5c392b&&_0x7ca3c1(_0x189ce2,_0x4a8dad,_0x5c392b),_0x5c392b;},_0x51b052=(_0x315b4b,_0x27482a)=>(_0x53dd13,_0x5599db)=>_0x27482a(_0x53dd13,_0x5599db,_0x315b4b);let _0x255c61=class{constructor(_0x5850f8){const _0x5d375b=_0x4478c1;this[_0x5d375b(0x255)]=_0x5850f8,this[_0x5d375b(0x460)]();}[_0x4478c1(0x460)](){const _0x47999d=_0x4478c1;this[_0x47999d(0x255)][_0x47999d(0x3a8)]({'interceptor':(_0xa9ba39,_0x49c5b3)=>{const _0x15a847=_0x47999d,_0x4a5ff9=_0xa9ba39[_0x15a847(0x4fb)],_0xf99baa=_0x10f77f();return _0xf99baa&&_0x4a5ff9['set'](_0x15a847(0x367),_0xf99baa),_0x49c5b3(_0xa9ba39);}});}};_0x255c61=_0x134978([_0x51b052(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)]))],_0x255c61);var _0x320cf3=Object[_0x4478c1(0x19b)],_0x29d7a0=Object[_0x4478c1(0x4d8)],_0x402f46=(_0x5f5a29,_0xbcb38d,_0x9ef536,_0x245101)=>{const _0xfc2ebf=_0x4478c1;for(var _0x54f25b=_0x245101>0x1?void 0x0:_0x245101?_0x29d7a0(_0xbcb38d,_0x9ef536):_0xbcb38d,_0x3ce00b=_0x5f5a29[_0xfc2ebf(0x315)]-0x1,_0x45c38c;_0x3ce00b>=0x0;_0x3ce00b--)(_0x45c38c=_0x5f5a29[_0x3ce00b])&&(_0x54f25b=(_0x245101?_0x45c38c(_0xbcb38d,_0x9ef536,_0x54f25b):_0x45c38c(_0x54f25b))||_0x54f25b);return _0x245101&&_0x54f25b&&_0x320cf3(_0xbcb38d,_0x9ef536,_0x54f25b),_0x54f25b;},_0x1b8f44=(_0x301e77,_0x4c97a0)=>(_0x3712d2,_0x53aaf5)=>_0x4c97a0(_0x3712d2,_0x53aaf5,_0x301e77);const _0x379019=[_0x4478c1(0xfa),_0x4478c1(0x372),_0x4478c1(0x1a3),_0x4478c1(0x317),_0x4478c1(0x4d1)],_0x573170=0x5*0x400*0x400,_0x1a88fd='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x37175d=_0x4478c1(0x265),_0x2ca30a=_0x4478c1(0x3c7),_0xa88081=_0x4478c1(0x140);_0x1191ba[_0x4478c1(0x266)]=class{constructor(_0x5f2edf,_0x5d4a36,_0x52bb15){const _0x407151=_0x4478c1;_0xa880cb(this,'_waitCount',0x0),_0xa880cb(this,'_change$',new _0x818dd8['Subject']()),_0xa880cb(this,'change$',this['_change$']),_0xa880cb(this,_0x407151(0x40c),new Map()),(this[_0x407151(0x255)]=_0x5f2edf,this[_0x407151(0x17a)]=_0x5d4a36,this[_0x407151(0x35b)]=_0x52bb15);}[_0x4478c1(0x2a4)](_0x2fd827){const _0x48a387=_0x4478c1;this[_0x48a387(0x3df)]=_0x2fd827,this['_change$'][_0x48a387(0xdb)](_0x2fd827);}['getImageSourceCache'](_0x2eef43,_0x1c047d){const _0x172c82=_0x4478c1;if(_0x1c047d===_0x18d697['ImageSourceType'][_0x172c82(0x14c)]){const _0x3e4d28=new Image();return _0x3e4d28['src']=_0x2eef43,_0x3e4d28;}return this[_0x172c82(0x40c)][_0x172c82(0x115)](_0x2eef43);}[_0x4478c1(0x352)](_0x4266b3,_0x964b80,_0x1643d9){const _0x320688=_0x4478c1;_0x964b80===_0x18d697['ImageSourceType']['BASE64']||_0x1643d9==null||this[_0x320688(0x40c)][_0x320688(0x53e)](_0x4266b3,_0x1643d9);}async[_0x4478c1(0x499)](_0x5e1c49){const _0x5c18b1=_0x4478c1;try{const _0x79b6a0=this['_replaceFileID'](this[_0x5c18b1(0x1a6)](),''+_0x5e1c49),_0x1e03d3=(await this['_httpService'][_0x5c18b1(0x115)](_0x79b6a0))[_0x5c18b1(0x126)];if(_0x1e03d3[_0x5c18b1(0x17c)]&&_0x1e03d3[_0x5c18b1(0x17c)][_0x5c18b1(0xe4)]===_0x288a3f['OK']){const _0x5740cb=new URL(_0x1e03d3[_0x5c18b1(0x177)],this[_0x5c18b1(0x2ed)]())[_0x5c18b1(0x397)]();return Promise['resolve'](_0x5740cb);}return Promise[_0x5c18b1(0x465)](_0x1e03d3[_0x5c18b1(0x17c)]);}catch(_0x45b7b2){return Promise['reject'](_0x45b7b2);}}async[_0x4478c1(0xbf)](_0x433ad9){const _0x3cf21f=_0x4478c1;let _0x3e7188='';if(!_0x379019[_0x3cf21f(0x257)](_0x433ad9[_0x3cf21f(0x184)]))return this[_0x3cf21f(0x270)](),Promise[_0x3cf21f(0x465)](new Error(_0x18d697[_0x3cf21f(0x14f)][_0x3cf21f(0x2e2)]));if(_0x433ad9[_0x3cf21f(0x175)]>_0x573170)return this[_0x3cf21f(0x270)](),Promise[_0x3cf21f(0x465)](new Error(_0x18d697[_0x3cf21f(0x14f)][_0x3cf21f(0x4de)]));try{const _0x12d234=new FormData();_0x12d234[_0x3cf21f(0x53b)](_0x3cf21f(0x4a9),_0x433ad9);const _0x5b054f=this['_univerInstanceService']['getFocusedUnit'](),_0x49d827=_0x5b054f==null?void 0x0:_0x5b054f[_0x3cf21f(0x2b5)]();if(!_0x49d827)throw new Error(_0x3cf21f(0x34b));const _0x4e5646=this[_0x3cf21f(0x1df)]()+'?size='+_0x433ad9[_0x3cf21f(0x175)]['toString']()+'&source='+_0x32e2ea[_0x3cf21f(0x4bf)]+'&assign='+encodeURIComponent(_0x49d827),_0xa2944f=await(await fetch(_0x4e5646,{'method':_0x3cf21f(0x117),'body':_0x12d234}))[_0x3cf21f(0x53f)]();if(typeof _0xa2944f['FileId']!=_0x3cf21f(0x427))return this[_0x3cf21f(0x270)](),Promise[_0x3cf21f(0x465)](new Error(_0x18d697[_0x3cf21f(0x14f)]['ERROR_IMAGE']));_0x3e7188=_0xa2944f[_0x3cf21f(0x1ae)];}catch{return this[_0x3cf21f(0x270)](),Promise[_0x3cf21f(0x465)](new Error(_0x18d697[_0x3cf21f(0x14f)][_0x3cf21f(0x42e)]));}return new Promise((_0x5d3dc8,_0x262a1e)=>{const _0xc3a7a=_0x3cf21f,_0x3187da=new FileReader();_0x3187da[_0xc3a7a(0x462)](_0x433ad9),_0x3187da['onload']=_0x2f580c=>{const _0x5a2125=_0xc3a7a;var _0x439ce4;const _0x117d56=(_0x439ce4=_0x2f580c[_0x5a2125(0x330)])==null?void 0x0:_0x439ce4[_0x5a2125(0x1f6)];if(_0x117d56==null){this['_decreaseWaiting'](),_0x262a1e(new Error(_0x18d697['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x562136=_0x3c1a84['Tools']['generateRandomId'](0x6);_0x5d3dc8({'imageId':_0x562136,'imageSourceType':_0x18d697['ImageSourceType']['UUID'],'source':_0x3e7188,'base64Cache':_0x117d56,'status':_0x18d697[_0x5a2125(0x14f)][_0x5a2125(0x563)]}),this[_0x5a2125(0x270)]();};});}[_0x4478c1(0x1df)](){const _0xc4a590=_0x4478c1;var _0x1b7b2e,_0x1288a1;const _0x5c17da=this[_0xc4a590(0x17a)][_0xc4a590(0x1d4)](_0x1a88fd),_0x2d60c7=this[_0xc4a590(0x17a)]['getConfig'](_0x52a52c);return(_0x1288a1=(_0x1b7b2e=_0x2d60c7==null?void 0x0:_0x2d60c7['uploadFileServerUrl'])!=null?_0x1b7b2e:_0x5c17da)!=null?_0x1288a1:_0x37175d;}[_0x4478c1(0x1a6)](){const _0x351e41=_0x4478c1;var _0x5f33df,_0x58a955;const _0x4dc400=this[_0x351e41(0x17a)][_0x351e41(0x1d4)](_0x2ca30a),_0x2ad241=this[_0x351e41(0x17a)][_0x351e41(0x1d4)](_0x52a52c);return(_0x58a955=(_0x5f33df=_0x2ad241==null?void 0x0:_0x2ad241[_0x351e41(0x15b)])!=null?_0x5f33df:_0x4dc400)!=null?_0x58a955:_0xa88081;}[_0x4478c1(0x2ed)](){const _0x5c4761=_0x4478c1;var _0x42c3c6;const _0x473c7f=this[_0x5c4761(0x17a)][_0x5c4761(0x1d4)](_0x52a52c);return(_0x42c3c6=_0x473c7f==null?void 0x0:_0x473c7f[_0x5c4761(0x40a)])!=null?_0x42c3c6:location['origin'];}[_0x4478c1(0x575)](_0x1988cf,_0x5cddea){const _0x1d0e70=_0x4478c1;return _0x1988cf[_0x1d0e70(0x55c)](_0x1d0e70(0x551),_0x5cddea);}[_0x4478c1(0x270)](){const _0x51bb8f=_0x4478c1;this['_waitCount']-=0x1,this[_0x51bb8f(0x358)][_0x51bb8f(0xdb)](this['_waitCount']);}},_0x1191ba[_0x4478c1(0x266)]=_0x402f46([_0x1b8f44(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)])),_0x1b8f44(0x1,_0x3c1a84[_0x4478c1(0x56b)]),_0x1b8f44(0x2,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84['IUniverInstanceService']))],_0x1191ba[_0x4478c1(0x266)]);var _0x20cd23=Object[_0x4478c1(0x19b)],_0x38dd2c=Object[_0x4478c1(0x4d8)],_0x57e4d2=(_0x2ff09c,_0x32a1e2,_0x238b5e,_0x44bd26)=>{const _0x4f2956=_0x4478c1;for(var _0x5c9c76=_0x44bd26>0x1?void 0x0:_0x44bd26?_0x38dd2c(_0x32a1e2,_0x238b5e):_0x32a1e2,_0x489872=_0x2ff09c[_0x4f2956(0x315)]-0x1,_0x3296ab;_0x489872>=0x0;_0x489872--)(_0x3296ab=_0x2ff09c[_0x489872])&&(_0x5c9c76=(_0x44bd26?_0x3296ab(_0x32a1e2,_0x238b5e,_0x5c9c76):_0x3296ab(_0x5c9c76))||_0x5c9c76);return _0x44bd26&&_0x5c9c76&&_0x20cd23(_0x32a1e2,_0x238b5e,_0x5c9c76),_0x5c9c76;},_0x477f04=(_0x5c32ca,_0x4954af)=>(_0x361cdc,_0x1efbc9)=>_0x4954af(_0x361cdc,_0x1efbc9,_0x5c32ca);const _0x834042=_0x4478c1(0x497);_0x1191ba[_0x4478c1(0xc8)]=class{constructor(_0x1cbcfd,_0x200227){const _0x40e3de=_0x4478c1;this[_0x40e3de(0x17a)]=_0x1cbcfd,this[_0x40e3de(0x2fd)]=_0x200227;}['_getAPIPrefixPath'](){const _0x1c24be=_0x4478c1;var _0x95d960,_0x5e0c09;const _0x5a60de=this['_configService'][_0x1c24be(0x1d4)](_0x29d188),_0x25c0df=this[_0x1c24be(0x17a)][_0x1c24be(0x1d4)](_0x52a52c);return(_0x5e0c09=(_0x95d960=_0x25c0df==null?void 0x0:_0x25c0df[_0x1c24be(0x557)])!=null?_0x95d960:_0x5a60de)!=null?_0x5e0c09:_0x834042;}async[_0x4478c1(0x1f4)](_0x4febd2){const _0x4d38cd=_0x4478c1,_0x15ea94=this[_0x4d38cd(0xba)]()+_0x4d38cd(0x1fc);return{'list':[{'title':_0x4d38cd(0x194),'mentions':(await this[_0x4d38cd(0x2fd)][_0x4d38cd(0x115)](_0x15ea94,{'params':{'objectID':_0x4febd2['unitId'],'unitID':_0x4febd2[_0x4d38cd(0x214)]}}))['body']['collaborators'][_0x4d38cd(0x20e)](_0xe0c452=>({'objectId':_0xe0c452['id'],'name':_0xe0c452[_0x4d38cd(0x27e)][_0x4d38cd(0x3d7)],'metadata':{'icon':_0xe0c452['subject'][_0x4d38cd(0x500)]},'label':_0xe0c452[_0x4d38cd(0x27e)][_0x4d38cd(0x3d7)],'objectType':_0x3c1a84[_0x4d38cd(0xed)][_0x4d38cd(0x2a2)]})),'metadata':{},'type':_0x3c1a84[_0x4d38cd(0xed)][_0x4d38cd(0x2a2)]}]};}},_0x1191ba[_0x4478c1(0xc8)]=_0x57e4d2([_0x477f04(0x0,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x56b)])),_0x477f04(0x1,_0x3c1a84[_0x4478c1(0x3dc)](_0x30a9e9[_0x4478c1(0x2d2)]))],_0x1191ba['MentionIoHttpService']);var _0x26f22e=Object[_0x4478c1(0x19b)],_0x210e3a=Object[_0x4478c1(0x4d8)],_0x50d774=(_0x55200a,_0x196313,_0x47169a,_0x100a82)=>{const _0x3c136d=_0x4478c1;for(var _0x2330b9=_0x100a82>0x1?void 0x0:_0x100a82?_0x210e3a(_0x196313,_0x47169a):_0x196313,_0x5d9165=_0x55200a[_0x3c136d(0x315)]-0x1,_0x2bf6eb;_0x5d9165>=0x0;_0x5d9165--)(_0x2bf6eb=_0x55200a[_0x5d9165])&&(_0x2330b9=(_0x100a82?_0x2bf6eb(_0x196313,_0x47169a,_0x2330b9):_0x2bf6eb(_0x2330b9))||_0x2330b9);return _0x100a82&&_0x2330b9&&_0x26f22e(_0x196313,_0x47169a,_0x2330b9),_0x2330b9;},_0x350eea=(_0x4801bc,_0x3d5fa0)=>(_0x2471c5,_0x4dae4c)=>_0x3d5fa0(_0x2471c5,_0x4dae4c,_0x4801bc);let _0x2867d9=class extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(_0x5a7c96,_0xcf6c17,_0x1b0cbb,_0x3fafc8,_0x548505){const _0x191457=_0x4478c1;super(),this[_0x191457(0x391)]=_0x5a7c96,this['_univerInstanceService']=_0xcf6c17,this[_0x191457(0x240)]=_0x1b0cbb,this[_0x191457(0x415)]=_0x3fafc8,this['_localeService']=_0x548505,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){const _0x1ededa=_0x4478c1,_0x1a70b8=async _0x72dda3=>{const _0x482af0=_0x406b;(await this[_0x482af0(0x415)][_0x482af0(0x11c)](_0x72dda3))[_0x482af0(0x3fb)][_0x482af0(0x4c4)](_0x58132b[_0x482af0(0x3a9)](_0x44d449=>_0x44d449['eventID']===_0xa820f[_0x482af0(0x12d)][_0x482af0(0x44c)]),_0x58132b[_0x482af0(0x439)](this[_0x482af0(0x23a)]))[_0x482af0(0x3aa)](_0x11336d=>{const _0x5cba48=_0x482af0,_0x4cc2e3=_0x11336d,{reason:_0x5b6a24}=_0x4cc2e3[_0x5cba48(0x2d6)];this['_injector'][_0x5cba48(0x115)](_0xa35fb[_0x5cba48(0x12e)])[_0x5cba48(0x26f)]({'type':_0x39c661[_0x5cba48(0x1fe)]['Error'],'content':this[_0x5cba48(0x343)]['t']('collaboration.closeRoom')+'('+_0x5b6a24+')'}),this['_permissionService'][_0x5cba48(0x369)](new _0x16d7e8[(_0x5cba48(0x4c2))](_0x72dda3)['id'],!0x1),this[_0x5cba48(0x415)][_0x5cba48(0x54a)](_0x72dda3);});};_0x818dd8['merge'](this[_0x1ededa(0x35b)]['getTypeOfUnitAdded$'](_0x3c1a84[_0x1ededa(0x2d9)][_0x1ededa(0x13a)]),this['_univerInstanceService'][_0x1ededa(0x3d1)](_0x3c1a84[_0x1ededa(0x2d9)][_0x1ededa(0x3d0)]))['pipe'](_0x58132b[_0x1ededa(0x20e)](_0x518850=>_0x518850[_0x1ededa(0x2b5)]()),_0x58132b[_0x1ededa(0x3a9)](_0x21cacb=>!_0x3c1a84[_0x1ededa(0x1fb)](_0x21cacb)),_0x58132b[_0x1ededa(0x439)](this['dispose$']))[_0x1ededa(0x3aa)](_0x4642b3=>{_0x1a70b8(_0x4642b3);});}[_0x4478c1(0xb8)](){const _0x135a71=_0x4478c1,_0x41f1af=async _0x171cfc=>{const _0xab5593=_0x406b;(await this[_0xab5593(0x415)]['requireSession'](_0x171cfc))[_0xab5593(0x3fb)][_0xab5593(0x4c4)](_0x58132b[_0xab5593(0x3a9)](_0x24eca5=>_0x24eca5[_0xab5593(0x204)]===_0xa820f[_0xab5593(0x12d)][_0xab5593(0x3f4)]),_0x58132b[_0xab5593(0x439)](this['dispose$']))[_0xab5593(0x3aa)](_0x1071c2=>{const _0x52cb4c=_0xab5593,_0x459c4f=_0x1071c2,{objectId:_0x315c0f}=_0x459c4f[_0x52cb4c(0x2d6)],_0x213285=this[_0x52cb4c(0x391)][_0x52cb4c(0x115)](_0x451e81[_0x52cb4c(0x3ed)]);_0x315c0f===_0x171cfc?_0x213285[_0x52cb4c(0x230)](_0x171cfc):_0x213285[_0x52cb4c(0x4a6)](_0x171cfc,_0x315c0f);});};_0x818dd8[_0x135a71(0x356)](this[_0x135a71(0x35b)][_0x135a71(0x3d1)](_0x3c1a84[_0x135a71(0x2d9)][_0x135a71(0x13a)]),this[_0x135a71(0x35b)][_0x135a71(0x3d1)](_0x3c1a84[_0x135a71(0x2d9)][_0x135a71(0x3d0)]))['pipe'](_0x58132b[_0x135a71(0x20e)](_0x47a7c5=>_0x47a7c5['getUnitId']()),_0x58132b['filter'](_0x329088=>!_0x3c1a84['isInternalEditorID'](_0x329088)),_0x58132b[_0x135a71(0x439)](this[_0x135a71(0x23a)]))['subscribe'](_0xea09c8=>{_0x41f1af(_0xea09c8);});}};_0x2867d9=_0x50d774([_0x350eea(0x0,_0x3c1a84['Inject'](_0x3c1a84[_0x4478c1(0x30e)])),_0x350eea(0x1,_0x3c1a84['IUniverInstanceService']),_0x350eea(0x2,_0x3c1a84[_0x4478c1(0x45c)]),_0x350eea(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x1191ba['CollaborationSessionService'])),_0x350eea(0x4,_0x3c1a84['Inject'](_0x3c1a84['LocaleService']))],_0x2867d9);var _0x3092f5=Object['defineProperty'],_0x44d7e1=Object[_0x4478c1(0x4d8)],_0x3a258a=(_0x2f22a4,_0x3867b3,_0x57533f,_0x5ca470)=>{for(var _0x46266c=_0x5ca470>0x1?void 0x0:_0x5ca470?_0x44d7e1(_0x3867b3,_0x57533f):_0x3867b3,_0x1a06bd=_0x2f22a4['length']-0x1,_0x329eda;_0x1a06bd>=0x0;_0x1a06bd--)(_0x329eda=_0x2f22a4[_0x1a06bd])&&(_0x46266c=(_0x5ca470?_0x329eda(_0x3867b3,_0x57533f,_0x46266c):_0x329eda(_0x46266c))||_0x46266c);return _0x5ca470&&_0x46266c&&_0x3092f5(_0x3867b3,_0x57533f,_0x46266c),_0x46266c;},_0x441aab=(_0x408780,_0x324707)=>(_0x1fb861,_0x16404b)=>_0x324707(_0x1fb861,_0x16404b,_0x408780);_0x1191ba[_0x4478c1(0x35f)]=class{constructor(_0x1c5ca4,_0x47ee25){const _0x2bd69d=_0x4478c1;this[_0x2bd69d(0x17a)]=_0x1c5ca4,this[_0x2bd69d(0x255)]=_0x47ee25;}async[_0x4478c1(0x2dc)](_0xe3f919,_0x177566){const _0x4c9b84=_0x4478c1;var _0x4f97a5;const {unitID:_0x481407,type:_0x5c115b,revision:_0xc1e534=0x0}=_0x177566,_0x57b739=this[_0x4c9b84(0x27a)]()+'/'+_0x5c115b+'/unit/'+_0x481407+_0x4c9b84(0x1a2)+_0xc1e534,_0x1acf1e=(await this['_httpService'][_0x4c9b84(0x115)](_0x57b739))['body'],_0x15d806=(_0x4f97a5=_0x1acf1e[_0x4c9b84(0x519)])==null?void 0x0:_0x4f97a5[_0x4c9b84(0x3b2)];if(_0x15d806){const _0x5ad988=_0x15d806==null?void 0x0:_0x15d806[_0x4c9b84(0x2b6)],_0x5649f9=_0xa820f[_0x4c9b84(0x203)]['encode'](_0xa820f[_0x4c9b84(0xbe)](_0x5ad988));_0x15d806[_0x4c9b84(0x2b6)]=_0x5649f9,Object[_0x4c9b84(0x526)](_0x15d806['sheets'])[_0x4c9b84(0x3b6)](([,_0x16b8c7])=>{const _0x1c553f=_0x4c9b84,_0x2c4146=_0x16b8c7['originalMeta'],_0x18240c=_0xa820f[_0x1c553f(0x203)][_0x1c553f(0xf2)](_0xa820f[_0x1c553f(0xbe)](_0x2c4146));_0x16b8c7[_0x1c553f(0x2b6)]=_0x18240c;});}return _0x1acf1e;}async[_0x4478c1(0xc6)](_0x5a6b50,_0x7df880){const _0x112301=_0x4478c1,{unitID:_0x29b149,type:_0x1460bb,blockID:_0x18934a}=_0x7df880,_0x26fcff=this['_getAPIPrefix']()+'/'+_0x1460bb+_0x112301(0x138)+_0x29b149+'/block/'+_0x18934a;return(await this[_0x112301(0x255)]['get'](_0x26fcff))['body'];}async['getDeserializedSheetBlock'](_0x45cf8d,_0xc2e4f3){const _0x696248=_0x4478c1,{unitID:_0x4f610c,type:_0x2e4a4a,blockID:_0x263ffa}=_0xc2e4f3,_0x5076e6=this[_0x696248(0x209)]()+_0x696248(0x28d)+_0x2e4a4a+_0x696248(0x138)+_0x4f610c+'/block/'+_0x263ffa;return(await this[_0x696248(0x255)][_0x696248(0x115)](_0x5076e6))[_0x696248(0x126)];}async[_0x4478c1(0xee)](_0x32dba8,_0x1a318c){const _0x48be46=_0x4478c1,{unitID:_0x17b100,type:_0x59eeb6,from:_0x3a60ae,to:_0x3982e0}=_0x1a318c,_0x134925=this[_0x48be46(0x209)]()+'/'+_0x59eeb6+_0x48be46(0x138)+_0x17b100+_0x48be46(0x288)+_0x3a60ae+'&to='+_0x3982e0;return(await this[_0x48be46(0x255)]['get'](_0x134925))['body'];}['_getSnapshotAPIPrefix'](){const _0x1b186a=_0x4478c1;var _0xee8b7a;return(_0xee8b7a=this[_0x1b186a(0x17a)][_0x1b186a(0x1d4)](_0x52beb3))!=null?_0xee8b7a:this['_getAPIPrefix']();}[_0x4478c1(0x209)](){const _0x26a513=_0x4478c1;var _0x42bce6,_0x5db126;const _0x1bef48=this[_0x26a513(0x17a)][_0x26a513(0x1d4)](_0x3aad35),_0xeb937b=this['_configService'][_0x26a513(0x1d4)](_0x52a52c);return(_0x5db126=(_0x42bce6=_0xeb937b==null?void 0x0:_0xeb937b[_0x26a513(0x4ef)])!=null?_0x42bce6:_0x1bef48)!=null?_0x5db126:_0x40c962;}async['getResourcesRequest'](_0x5eb9a,_0x140937){const _0x24021a=_0x4478c1,_0x3394c3=_0x24021a(0x2ab)+_0x140937[_0x24021a(0x184)]+'/unit/'+_0x140937['unitID']+_0x24021a(0x10a);return(await this[_0x24021a(0x255)][_0x24021a(0x115)](_0x3394c3,{'params':{'resourceId':JSON[_0x24021a(0x571)](_0x140937['resourceIDs'])}}))[_0x24021a(0x126)];}['saveSnapshot'](){const _0x4c1721=_0x4478c1;throw new Error(_0x4c1721(0x3e9));}['saveSheetBlock'](){const _0x155811=_0x4478c1;throw new Error(_0x155811(0x3e9));}[_0x4478c1(0x282)](){const _0x339795=_0x4478c1;throw new Error(_0x339795(0x3e9));}[_0x4478c1(0xd2)](){const _0x468b93=_0x4478c1;throw new Error(_0x468b93(0x3e9));}[_0x4478c1(0x2c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x1191ba['SnapshotServerOverHTTPService']=_0x3a258a([_0x441aab(0x0,_0x3c1a84[_0x4478c1(0x56b)]),_0x441aab(0x1,_0x3c1a84['Inject'](_0x30a9e9['HTTPService']))],_0x1191ba[_0x4478c1(0x35f)]);var _0x2f7e97=Object[_0x4478c1(0x19b)],_0x1b96f7=Object[_0x4478c1(0x4d8)],_0x35121f=(_0x5906e5,_0xf30383,_0x26e6c0,_0x7c6b9b)=>{const _0x184768=_0x4478c1;for(var _0x220aa7=_0x7c6b9b>0x1?void 0x0:_0x7c6b9b?_0x1b96f7(_0xf30383,_0x26e6c0):_0xf30383,_0x44840e=_0x5906e5[_0x184768(0x315)]-0x1,_0x3ba4b2;_0x44840e>=0x0;_0x44840e--)(_0x3ba4b2=_0x5906e5[_0x44840e])&&(_0x220aa7=(_0x7c6b9b?_0x3ba4b2(_0xf30383,_0x26e6c0,_0x220aa7):_0x3ba4b2(_0x220aa7))||_0x220aa7);return _0x7c6b9b&&_0x220aa7&&_0x2f7e97(_0xf30383,_0x26e6c0,_0x220aa7),_0x220aa7;},_0x423d69=(_0x383d78,_0x53dfb3)=>(_0x4129a2,_0x3a743d)=>_0x53dfb3(_0x4129a2,_0x3a743d,_0x383d78);let _0x5f3f6a=class extends _0x3c1a84[_0x4478c1(0x2cf)]{constructor(_0x360a1e,_0x4e7e1b,_0x206029,_0x36ac44,_0x32f7fe){const _0x4cddd9=_0x4478c1;super(_0x360a1e,_0x4e7e1b,_0x206029),this[_0x4cddd9(0x56c)]=_0x36ac44,this[_0x4cddd9(0x4c1)]=_0x32f7fe;}['transformUndoRedo'](_0x2dcdc2,_0x74b170){const _0xbb731c=_0x4478c1,_0x4db0d2=this[_0xbb731c(0x508)](_0x2dcdc2);if(_0x4db0d2)try{const _0x1e1fb7=this[_0xbb731c(0x4ae)](_0x4db0d2,_0x74b170);this['_substituteUndoStack'](_0x2dcdc2,_0x1e1fb7);}catch(_0xde6695){this[_0xbb731c(0x4c1)]['error'](_0xbb731c(0x23e),_0xde6695),this[_0xbb731c(0x113)](_0x2dcdc2);}const _0x21e562=this[_0xbb731c(0x366)](_0x2dcdc2);if(_0x21e562)try{const _0x3aeff7=this[_0xbb731c(0x4ae)](_0x21e562,_0x74b170);this['_substituteRedoStack'](_0x2dcdc2,_0x3aeff7);}catch(_0x154e19){this[_0xbb731c(0x4c1)][_0xbb731c(0x17c)](_0x154e19),this['_clearRedo'](_0x2dcdc2);}}[_0x4478c1(0x113)](_0x520ee0){const _0x5827c1=_0x4478c1,_0x5017b7=this[_0x5827c1(0x508)](_0x520ee0);_0x5017b7&&(_0x5017b7[_0x5827c1(0x315)]=0x0,this[_0x5827c1(0x306)]());}['_clearRedo'](_0x4e6a90){const _0x348c6f=_0x4478c1,_0x1b3b05=this['_getRedoStack'](_0x4e6a90);_0x1b3b05&&(_0x1b3b05[_0x348c6f(0x315)]=0x0,this[_0x348c6f(0x306)]());}[_0x4478c1(0x222)](_0x1185b4,_0x124075){const _0x544bb7=_0x4478c1;this[_0x544bb7(0x480)][_0x544bb7(0x53e)](_0x1185b4,_0x124075),this[_0x544bb7(0x306)]();}['_substituteRedoStack'](_0xf318db,_0x3f40c0){const _0x24477c=_0x4478c1;this['_redoStacks'][_0x24477c(0x53e)](_0xf318db,_0x3f40c0),this[_0x24477c(0x306)]();}['_transformStack'](_0x3d7e60,_0x389568){const _0x155c7a=_0x4478c1,_0x43fac1=[];let _0x144aca=_0x389568,_0x9c9086=_0x389568;for(let _0x12bebb=_0x3d7e60[_0x155c7a(0x315)]-0x1;_0x12bebb>=0x0;_0x12bebb--){const {unitID:_0x1eaefd,undoMutations:_0x1df60c,redoMutations:_0x286d17}=_0x3d7e60[_0x12bebb],_0x10ff57=this[_0x155c7a(0x56c)][_0x155c7a(0x3d2)](_0x144aca,_0x1df60c),_0x4891c1=this[_0x155c7a(0x56c)][_0x155c7a(0x3d2)](_0x9c9086,_0x286d17);if(_0xa820f[_0x155c7a(0x2bb)](_0x10ff57)||_0xa820f['isTransformMutationsWithChangesetFailure'](_0x4891c1)){this[_0x155c7a(0x4c1)][_0x155c7a(0x17c)](_0x155c7a(0x23e),_0x155c7a(0x32e),_0x10ff57,_0x4891c1);break;}_0x144aca=_0x10ff57[_0x155c7a(0x337)],_0x9c9086=_0x4891c1[_0x155c7a(0x337)],_0x43fac1[_0x155c7a(0x41b)]({'unitID':_0x1eaefd,'undoMutations':_0x10ff57['m2Prime'],'redoMutations':_0x4891c1[_0x155c7a(0x1cb)]});}return _0x43fac1[_0x155c7a(0x422)]();}};_0x5f3f6a=_0x35121f([_0x423d69(0x0,_0x3c1a84[_0x4478c1(0x3d5)]),_0x423d69(0x1,_0x3c1a84[_0x4478c1(0x3fd)]),_0x423d69(0x2,_0x3c1a84[_0x4478c1(0x321)]),_0x423d69(0x3,_0xa820f['ITransformService']),_0x423d69(0x4,_0x3c1a84[_0x4478c1(0x4b9)])],_0x5f3f6a);class _0x19610d extends _0x3c1a84[_0x4478c1(0x2a0)]{constructor(){const _0x5d66fd=_0x4478c1;super(),_0xa880cb(this,'urlChange$'),this['urlChange$']=_0x818dd8['fromEvent'](window,_0x5d66fd(0x2ce))[_0x5d66fd(0x4c4)](_0x818dd8['takeUntil'](this[_0x5d66fd(0x23a)]),_0x818dd8[_0x5d66fd(0x2cb)](0x1),_0x818dd8[_0x5d66fd(0x416)](void 0x0));}[_0x4478c1(0x38d)](_0x40a400,_0x533545,_0x2290bf=!0x1){const _0x3dd8f9=_0x4478c1,_0x500ab2=new URL(window[_0x3dd8f9(0x55e)][_0x3dd8f9(0x40e)]);_0x500ab2['searchParams'][_0x3dd8f9(0x53e)](_0x40a400,_0x533545),_0x2290bf?window[_0x3dd8f9(0x429)][_0x3dd8f9(0x1db)]('','',_0x500ab2[_0x3dd8f9(0x397)]()):window[_0x3dd8f9(0x429)][_0x3dd8f9(0x3ef)]('','',_0x500ab2[_0x3dd8f9(0x397)]());}['removeParam'](_0x37b3a5,_0x199c4c=!0x1){const _0x105de0=_0x4478c1,_0x1ab177=new URL(window[_0x105de0(0x55e)][_0x105de0(0x40e)]);_0x1ab177[_0x105de0(0x3d3)][_0x105de0(0x354)](_0x37b3a5),_0x199c4c?window['history'][_0x105de0(0x1db)]('','',_0x1ab177['toString']()):window[_0x105de0(0x429)][_0x105de0(0x3ef)]('','',_0x1ab177[_0x105de0(0x397)]());}[_0x4478c1(0xac)](_0x2cf257){const _0x1ce5e8=_0x4478c1;var _0x3241f3;return(_0x3241f3=new URL(window[_0x1ce5e8(0x55e)][_0x1ce5e8(0x40e)])[_0x1ce5e8(0x3d3)][_0x1ce5e8(0x115)](_0x2cf257))!=null?_0x3241f3:void 0x0;}}var _0x59eb97=Object['defineProperty'],_0x5330d8=Object[_0x4478c1(0x4d8)],_0x168a44=(_0x275278,_0x34a479,_0x219e71)=>_0x34a479 in _0x275278?_0x59eb97(_0x275278,_0x34a479,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x219e71}):_0x275278[_0x34a479]=_0x219e71,_0x3682fc=(_0x964864,_0x5b2717,_0x984227,_0x169f65)=>{const _0x7b2db2=_0x4478c1;for(var _0x109083=_0x169f65>0x1?void 0x0:_0x169f65?_0x5330d8(_0x5b2717,_0x984227):_0x5b2717,_0x59de33=_0x964864[_0x7b2db2(0x315)]-0x1,_0x4aad30;_0x59de33>=0x0;_0x59de33--)(_0x4aad30=_0x964864[_0x59de33])&&(_0x109083=(_0x169f65?_0x4aad30(_0x5b2717,_0x984227,_0x109083):_0x4aad30(_0x109083))||_0x109083);return _0x169f65&&_0x109083&&_0x59eb97(_0x5b2717,_0x984227,_0x109083),_0x109083;},_0xa6320d=(_0x54cca4,_0x11afbc)=>(_0x2ded00,_0x3eb05e)=>_0x11afbc(_0x2ded00,_0x3eb05e,_0x54cca4),_0x15f487=(_0x11cb5f,_0x37e1c4,_0x206d33)=>_0x168a44(_0x11cb5f,_0x37e1c4+'',_0x206d33);const _0x444d26='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x1191ba[_0x4478c1(0x407)]=class extends _0x3c1a84[_0x4478c1(0x3d8)]{constructor(_0x2798da=_0x3d5e91,_0x2a461f,_0x5cd8ae,_0x19f024,_0x57b9e4){const _0xb74e74=_0x4478c1;super(),this[_0xb74e74(0x1e0)]=_0x2798da,this[_0xb74e74(0x4c1)]=_0x2a461f,this[_0xb74e74(0x180)]=_0x5cd8ae,this[_0xb74e74(0x391)]=_0x19f024,this[_0xb74e74(0x17a)]=_0x57b9e4;const {..._0x198efb}=this[_0xb74e74(0x1e0)];this[_0xb74e74(0x17a)]['setConfig'](_0x52a52c,_0x198efb);}['onStarting'](){const _0x11d966=_0x4478c1;this[_0x11d966(0x112)](),this['_initDependencies']();}['onReady'](){const _0x1deb31=_0x4478c1;_0x3c1a84['touchDependencies'](this[_0x1deb31(0x391)],[[_0x252e15],[_0x9c8b5f]]);}[_0x4478c1(0x537)](){const _0x35a359=_0x4478c1;this[_0x35a359(0x40f)]();}[_0x4478c1(0x112)](){const _0x3038dc=_0x4478c1;var _0x2ba983,_0xaf941a,_0x540b22,_0x2fc1ce;this[_0x3038dc(0x391)][_0x3038dc(0x431)](_0x3c1a84['IUndoRedoService'])&&this['_logService'][_0x3038dc(0x17c)](_0x3038dc(0x393),_0x3038dc(0x400));const _0x50026d=[[_0x3c1a84['IUndoRedoService'],{'useClass':_0x5f3f6a}],[_0x1191ba[_0x3038dc(0x2b7)]],[_0x329ecc],[_0x5d9dfe,{'useClass':_0x19610d}],[_0x1191ba[_0x3038dc(0x2a8)]],[_0x1191ba[_0x3038dc(0x1cd)]],[_0x30a9e9[_0x3038dc(0x206)]],[_0x3f146d],[_0x3d4e9f],[_0xdec374],[_0x4a0baf],[_0x159dfb],[_0x33b847],[_0x255c61],[_0x5cca12],[_0x2867d9],[_0x1ba3ea,{'useClass':(_0xaf941a=(_0x2ba983=this[_0x3038dc(0x1e0)])==null?void 0x0:_0x2ba983['socketService'])!=null?_0xaf941a:_0x1191ba[_0x3038dc(0x39d)]}],[_0xa820f[_0x3038dc(0x338)],{'useClass':_0x1191ba[_0x3038dc(0x35f)]}],[_0x3c1a84[_0x3038dc(0xe9)],{'useClass':_0x1191ba[_0x3038dc(0x564)]}],[_0x18d697['IImageIoService'],{'useClass':_0x1191ba[_0x3038dc(0x266)]}],[_0x3c1a84[_0x3038dc(0x42c)],{'useClass':_0x1191ba['MentionIoHttpService']}],[_0x1191ba[_0x3038dc(0x1ca)]],[_0x1191ba['DataLoaderController']],[_0x1191ba[_0x3038dc(0x31f)]],[_0x252e15],[_0x5c8917],[_0x9c8b5f]];(_0x540b22=this[_0x3038dc(0x1e0)])!=null&&_0x540b22[_0x3038dc(0x258)]&&_0x50026d['push']([_0x276cf0,{'useClass':_0x6d1a3b}]),_0x3c1a84[_0x3038dc(0x359)](this[_0x3038dc(0x391)],_0x3c1a84[_0x3038dc(0xd6)](_0x50026d,(_0x2fc1ce=this[_0x3038dc(0x1e0)])==null?void 0x0:_0x2fc1ce[_0x3038dc(0x558)]));}[_0x4478c1(0x40f)](){const _0x45c18c=_0x4478c1;this['disposeWithMe'](this[_0x45c18c(0x180)]['registerRenderModule'](_0x3c1a84[_0x45c18c(0x2d9)][_0x45c18c(0x3d0)],[_0x44db7e])),this['disposeWithMe'](this[_0x45c18c(0x180)][_0x45c18c(0x33d)](_0x3c1a84[_0x45c18c(0x2d9)]['UNIVER_SHEET'],[_0x3f90c3]));}[_0x4478c1(0x469)](){const _0x3384e1=_0x4478c1;var _0x1fede3,_0x2289b6;this[_0x3384e1(0x391)]['get'](_0x30a9e9[_0x3384e1(0x2d2)])[_0x3384e1(0x3a8)]({'priority':0x14,'interceptor':_0x30a9e9['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1fede3=this[_0x3384e1(0x1e0)])!=null&&_0x1fede3['enableOfflineEditing']||this[_0x3384e1(0x391)][_0x3384e1(0x115)](_0x1191ba[_0x3384e1(0x1cd)])[_0x3384e1(0x10f)](),(_0x2289b6=this[_0x3384e1(0x1e0)])!=null&&_0x2289b6[_0x3384e1(0x1f5)]&&_0x3c1a84[_0x3384e1(0x35c)](this['_injector'],[[_0x33b847]]),_0x3c1a84[_0x3384e1(0x35c)](this['_injector'],[[_0x255c61],[_0x5c8917],[_0x1191ba[_0x3384e1(0xf5)]],[_0x1191ba['CollaborationController']],[_0x1191ba[_0x3384e1(0x31f)]],[_0x2867d9]]);}},_0x15f487(_0x1191ba[_0x4478c1(0x407)],_0x4478c1(0x107),_0x444d26),_0x1191ba['UniverCollaborationClientPlugin']=_0x3682fc([_0x3c1a84['DependentOn'](_0xa820f[_0x4478c1(0x4ed)],_0x30a9e9[_0x4478c1(0x451)]),_0xa6320d(0x1,_0x3c1a84[_0x4478c1(0x4b9)]),_0xa6320d(0x2,_0x591f66[_0x4478c1(0x1a7)]),_0xa6320d(0x3,_0x3c1a84[_0x4478c1(0x3dc)](_0x3c1a84[_0x4478c1(0x30e)])),_0xa6320d(0x4,_0x3c1a84[_0x4478c1(0x56b)])],_0x1191ba['UniverCollaborationClientPlugin']),_0x1191ba['AUTHZ_URL_KEY']=_0x29d188,_0x1191ba[_0x4478c1(0x298)]=_0x52a52c,_0x1191ba[_0x4478c1(0x3e5)]=_0x3e3225,_0x1191ba[_0x4478c1(0x191)]=_0x5710a6,_0x1191ba[_0x4478c1(0x4e4)]=_0x2683d3,_0x1191ba[_0x4478c1(0x4b5)]=_0x388fe5,_0x1191ba['CommentService']=_0x5cca12,_0x1191ba['HEARTBEAT_INTERVAL_KEY']=_0x475bfc,_0x1191ba[_0x4478c1(0x181)]=_0x17f79b,_0x1191ba[_0x4478c1(0x33b)]=_0x1ba3ea,_0x1191ba[_0x4478c1(0x1e4)]=_0x5d9dfe,_0x1191ba['LOCAL_CACHE_INTERVAL_KEY']=_0x4c0f82,_0x1191ba['LOGIN_URL_KEY']=_0x358bd8,_0x1191ba['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x33c86c,_0x1191ba[_0x4478c1(0x2d0)]=_0x47557c,_0x1191ba[_0x4478c1(0x373)]=_0x3aad35,_0x1191ba[_0x4478c1(0x527)]=_0x52beb3,_0x1191ba[_0x4478c1(0x2c1)]=_0x417df1,_0x1191ba[_0x4478c1(0x2f7)]=_0x54e9b5,_0x1191ba['WebURLService']=_0x19610d,_0x1191ba[_0x4478c1(0x4b3)]=_0x4cd486,_0x1191ba[_0x4478c1(0x4c7)]=_0x57255d,Object[_0x4478c1(0x19b)](_0x1191ba,Symbol[_0x4478c1(0x4c3)],{'value':_0x4478c1(0x3eb)});}));function _0x406b(_0x5af140,_0x2c4f92){const _0x17c891=_0x17c8();return _0x406b=function(_0x406b38,_0x4eb546){_0x406b38=_0x406b38-0xab;let _0x311a49=_0x17c891[_0x406b38];return _0x311a49;},_0x406b(_0x5af140,_0x2c4f92);}function _0x17c8(){const _0x5ec632=['@univerjs/network','onMissedChangesetFetched','CHANGESET_REVISION_CONFILICT','close','_applyRemoteChangeset','InsertRangeMoveRightCommandId','ITelemetryService','responseType','put','encrypt','undoState','_name','UNDEFINED','all','top','find','[PendingState]:\x20received\x20acknowledgement.','_initStatusListener','subUnitId','_hasher','UniverSheets','JOINING','/universer-api/authz','@univerjs/docs-ui','getImage','_http','div','_collabSessionService','_queuedRemoteChangesets','_handleEvent','react','useDependency','redoState','_hideTimer','unit-cache-','onSyncEditingCollabCursor','sessionStatus','refreshPermission','_labelPosition','getMemberID','file','INVALID_ARGUMENT','editing\x20status\x20changed\x20to','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onCommandExecuted','_transformStack','lineTo','Warning','iterations','defaultProps','deserializeToCombResponse','ThemeService','CollaborationStatusDisplay','_removeCollabCursors','[CollaborationEntity]','open$','ILogService','@univerjs/telemetry','createIdentifier','debounceTime','awaiting','crypto','UnitEmbedded','[CollaborationSessionService]','_logService','WorkbookEditablePermission','toStringTag','pipe','getValue','[OfflineState]:\x20received\x20acknowledgement.','serializeCombRequest','putCollaborators','CipherParams','onRemoteRetry','fetchThroughInterceptors','use','rxjs','selections','_onRefRangeChange','AWAITING','image/bmp','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','session','collab-text-anchor-','mode','onMouseMove','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','getOwnPropertyDescriptor','_undoRedoService','restore','_collabCursorController','_clearTimeoutTimer','Univer','ERROR_EXCEED_SIZE','MD5','@univerjs/engine-render','unsubscribe','encodeURIComponent','LIVESHARE_TERMINATE','CollaborationStatus','setItem','FAIL','dispose','LOGIN_URL_KEY','disposeUnit','onTransformChange$','transformStateCache','Disposable','UniverCollaborationPlugin','_localStorageService','snapshotServerUrl','floor','AUTHZ_URL_KEY','_loadSheet','COMPRESS_MUTATION_APPLY','current','action','react.element','permissionRejEvent','SheetSkeletonManagerService','USERS_LEAVE','setInterval','headers','CHANGESET_ACK','_parse','LICENSE_DISTRO_REJECTED','cmd','avatar','_retryConnectingTimer','_saveTaskMap','_notificationService','_id','message$','blue400','getSheetId','_getUndoStack','indexOf','collaboration-client.offline-data-not-saved','_onMessage','univer-pro.collaboration-client.single-active-unit-service','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','DocStateChangeManagerService','NO_OTHER_CLIENTS_EDITING','purple300','[CollaborationState]:\x20apply\x20error!','OpenSSL','salt','Base64','_handleHover','subunit','onPointerMove$','IRemoteInstanceService','snapshot','deserializeRangeWithSheet','send','\x20in\x20_schedule.','_memberService','addEventListener','color','SHA1','MUTATION','_unitStatus','batchAllowed','[SyncedState]:\x20received\x20acknowledgement.','YUUMI_SUBSCRIPTION_NOT_FOUND','entries','SNAPSHOT_URL_KEY','liveShareNewHost','onTransformIME','_syncEditingCollabCursorService','13867NadcXG','apply','_keySchedule','_doCryptBlock','csRejEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_changesetReqId','origin','_online','_uiPartsService','_isPermissionRej','interceptor','onRendered','conflict','UNIVER_UNKNOWN','getColor','append','\x20-\x20','rgba(255,\x20255,\x20255,\x200.01)','set','json','skeleton','UPDATE_CURSOR','_onOffline','clone','_key','roomMembers','OTHER_CLIENTS_EDITING','HmacMD5','_docTransformIMECacheService','_socketReady','closeSession','setStateCache','_state$','OnLineSingle','capture','_entityInit$','_transformRemoteChangesetByIMECache','{fileID}','_timeoutTimer','NOT_COLLAB','replaceDocRanges','_socketMessageSubscription','LICENSE_MAX_UNITS_EXCEEDED','authzUrl','override','IUndoRedoService','_range','on-line-single_clip0_910_349','replace','_iv','location','_retryCount','add','getSheetBySheetId','onCommentUpdate','SUCCUSS','AuthzIoHttpService','text','transformRemoteChangeset','_createHmacHelper','$super','24080892mYFDbm','HEARTBEAT_INTERVAL','IConfigService','_transformService','hidden','_sender','@univerjs/engine-formula','Encryptor','stringify','CHANGESET_REJ','updateOfflineData','session.connection-failed','_replaceFileID','LICENSE_IMPORT_SIZE_EXCEEDED','getParam','focused$','_ensureSubject','userID','loadOfflineData','translate(.97)','_initCommandExecutedListener','onlyLocal','registerOnClose','_waitForHeartbeatResponse','create','HTTPRequest','_initUnitPermissionChange','allowed','_getAPIPrefixPath','_shapes','none','_tryEnsureSocket','b64DecodeUnicode','saveImage','_hover','algo','awaitingChangeset','UserManagerService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_clearOtherTimers','getSheetBlock','ranges','MentionIoHttpService','children','asObservable','YUUMI_RATE_OVER_LIMIT','charCodeAt','setShowComponents','_compressMutationService','_onConflict','isTransformMutationFailure','cursorInfo$','copyFileMeta','JOIN','/universer-api/snapshot','session.will-retry','mergeOverrideWithDependencies','black','_resendWithTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','randomBytes','next','_initMergeInterceptor','_transitionLocked','toDisposable','RichTextEditingMutation','syncEditingCollabCursor','685962uOMagS','updateCursorEvent','SheetCollaborationEntity','code','disposeWithMe','_color','fillStyle','appendMutation','IAuthzIoService','changesets','_onCursorDelete','icon','MentionType','fetchMissingChangesets','_nDataBytes','registerRefRange','drawWith','encode','compute','getRandomValues','DataLoaderController','createSocket','onTransformRemoteChangesetByStateCache','auth.needGotoLoginAlert','_doReset','image/png','onPointerEnter$','_toggleOnline','substring','_instanceService','JOIN_ROOM_FULL','getMember','9FpZEZc','_clearHeartbeatTimer','collabStatus.synced','rev','@univerjs/core','MSG_FOR_ERROR','pluginName','_reverseMap','loadSheet','/resources','SNAPSHOT_INVALID_SNAPSHOT','_stopTelemetryCollaborationNewChangeset','memberID','socket\x20close','disableLocalCache','split','getRangePointData','_registerDependencies','_clearUndo','_removeRoom','get','baseRev','POST','_onRemoteACK','processBlock','_docSkeletonManagerService','removeMember','requireSession','_createSocket','HMAC','state$','collaboration.single-unit.warning','complete','BehaviorSubject','defs','_onConnectionOpen','TEXT_RANGE_LAYER_INDEX','body','/role','getRelativeToViewportCoord','delay','measureText','_init','status','CollaborationEvent','IMessageService','DocCollaborationEntity','collaMsg','_docTransformSelectionsService','_listenToOfflineEvent','_refreshCollabCursors','_collaborationPaused','take','HELLO','Vector2','/unit/','_initResize','UNIVER_SHEET','_anchor','words','join','_getSaveTimeout','_handleHeartbeatEvent','/universer-api/file/{fileID}/sign-url','@univerjs/ui','getFocusedUnit','hasOwnProperty','random','react.fragment','UNRECOGNIZED','every','Unknown\x20user','_onUserLeave','unit','colorChannel1','BASE64','_colorIndex','1408130NnXFkZ','ImageUploadStatusType','ONLINE','roomMembers$','handleDeleteRangeMoveLeft','activeSheet$','_drawTextRange','concatMap','actions','rxjs/operators','createEncryptor','attrs','moveTo','signUrlServerUrl','url(#on-line-single_clip0_910_349)','[CollaborationSession]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','row','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_cachedData','_event$','getCellPositionByOffset','object','_shouldReportTelemetry','92LHPvtw','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_iKey','APPLY_DUPLICATED','unpad','loginUrlKey','setAlpha','\x20to\x20','parseProtocolChangeset','clipPath','_scheduleSaving','ws://127.0.0.1:8000/universer-api/comb/connect','_context','_schedule','_setupBeforeClosingHandler','size','_sendHeartbeat','url','fillText','@univerjs/rpc','_configService','FromArray','error','idSuffix','_unlockTransition','width','_renderManagerService','HEARTBEAT_TIMEOUT_KEY','sin','_messageService','type','_assignedColors','handleInsertRangeMoveRight','_commentService','Pkcs7','error$','_textBubble','cfg','reset','LIVESHARE_FETCH_OPERATIONS','leaveEvent','_awaitingChangeset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','COLLAB_WEB_SOCKET_URL_KEY','SerializableCipher','_disabled','People','svg','LIVESHARE_NEW_HOST','_disableEditing','InsertRowCommandId','createElement','whenReady','defineProperty','endRow','blockSize','symbol','_syncEditingCollabCursor','_checkMissing','USERS_ENTER','/rev/','image/jpg','UniverProCollaborationClient','_updateSubUnitFromURLParams','_getSignURL','IRenderManagerService','params','_docSyncEditingCollabCursorService','/-/object/list','mixIn','DocSelectionManagerService','Rectangle','FileId','_map','state','collabStatus.notCollab','_onConnectionFailed','Hex','ILocalStorageService','_drawRectRange','_cursor','jsx','getCurrentUnitForType','_createInitialState','_snapshotService','execute','listCollaborators','UniverUi','hide','mapDocumentTypeToUniverType','withCredentials','ref','SEND_CHANGESET_TIMEOUT','rng','_listenToOnlineEvent','visibilityState','Latin1','startsWith','ivSize','_roomMembers$','CollaborationController','m2Prime','_handleLeaveEvent','LocalCacheService','_send','/universer-api/comb','BlockCipher','_scene','onRemoteRej','UNKNOWN_CMD','getConfig','ceil','useCallback','save\x20fail\x20reason\x20is\x20','VIEW_MAIN','debug','_selfUnitIDs','replaceState','commentUpdateEvent','_cursorShapes','startRow','_getUploadFileURL','_config','max','jiqing500','InsertSheetMutation','IURLService','_doProcessBlock','fetchMiss','Tooltip','_handler','commentUpdate$','_transformStateCache','collabStatus.conflict','ticket','sessionStatus$','IDocClipboardService','round','Shape','abs','CHANGESET_SHOULD_RETRY','hasher','list','enableAuthServer','result','_socketService','RECV','SetSelectionsOperation','_loadDoc','isInternalEditorID','/collaborator','handleInsertCol','MessageType','_startCollaboration','isTransformChangesetsSuccess','exports','CBC','textEncoder','eventID','RETRY_CONNECTING_MAX_COUNT','WebSocketService','currentSkeleton$','/allowed','_getAPIPrefix','univer-online','collaborators','socket\x20open.','_executeRemoteChangeset','map','_session','PENDING','unload','_onCombEvent','mutations','unitId','fill','collaboratorID','fromEvent','SNAPSHOT_HAS_BEEN_REMOVED','FETCH_MISS','univer-online-status','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','catch','setCurrentUser','_onJoinRoomEvent','kdf','msCrypto','UNAUTHENTICATED','_substituteUndoStack','_nRounds','saveOfflineData','_showConflictNotification','isEditing','_tryReconnect','_replayCachedMutations','_onLocalMutation','cursorInfo','_onRecvEvent','engine','awaiting_with_pending','getOwnPropertySymbols','Error','initWorkbookPermissionChange','getRoom','_members','off-line-single_clip0_910_343','_onRemoteRejected','_rescheduleHeartbeat','subscribeEvent','transformSelections','UniverDesign','DOC_RANGE_TYPE','dispose$','_scheduleCollaborationTimeoutTimer','React','beginPath','[CollaborationUndoRedoService]','onSendChangeset','_permissionService','finalize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_ws','_removeClearOtherTimer','Subject','NOT_FOUND','addObjects','_transformHistoryAndStateStack','_hovered','deepClone','Hasher','EffectRefRangId','APPLY_NON_SEQUENTIAL_REVISION','_getMergeRange','enc','createCollaborator','onRemoteChangeset','csAckEvent','_transformPreviousActiveRange','_throwTelemetryCollaborationNewChangeset','_httpService','_colorAssignService','includes','enableSingleActiveInstanceLock','SetWorksheetActivateCommand','_clearScheduledTask','addObject','SnapshotService','operators','conflict.title','updateMember','Error\x20on\x20receiving\x20event','3kkptTP','_document','pad','_DEC_XFORM_MODE','/universer-api/stream/file/upload','ImageIoService','not_collab','submit\x20changeset\x20error!','getRenderById','toggleOffline','newValue','CONFLICT','onlineStatus','triggerDblclick','show','_decreaseWaiting','_urlService','[OfflineState]:\x20received\x20rejection.','enableLocalCache','_cursorInfo$','visibilitychange','JOIN_ROOM_NOT_ALLOWED','decrypt','DeleteRangeMoveLeftCommandId','_collaborationTimeoutTimer','_getSnapshotAPIPrefix','UnitSnapshot','_pendingMutations','_userManagerService','subject','Undefined','tag','getUndoRedoMutationParamsCache','saveChangeset','setTimeout','_joinRoom','clear','_type','concat','/fetchmissing?from=','handleMoveRange','_unitOnClients','url(#off-line-single_clip0_910_343)','handleIRemoveCol','/block/','__creator','reqId','pauseCollaboration','_lastPointer','_commandService','ALREADY_EXISTS','createDecryptor','_transformSelections','toggleOnline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COLLAB_CLIENT_CONFIG_KEY','sheetId','1em','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','compose','fetching\x20missing\x20changesets\x20from\x20','slice','_startDocCollabCursor','RxDisposable','default','PERSON','editingUnit','setWaitCount','DEFAULT_FILE_NAME','COLLAB_WEB_SOCKET_URL','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','MemberService','arc','isActive','/universer-api/snapshot/','_initStatusComponent','collabStatus.syncing','_sheetSkeletonManagerService','imageSourceType','unitID','transformIMECache','StreamCipher','getItem','_data','getUnitId','originalMeta','CollaborationSessionService','HEARTBEAT','_anchorDot','IBeforeCloseService','isTransformMutationsWithChangesetFailure','_createInitialStateImpl','/object/','_lockTransition','_transformUndoRedoStack','_docSkeleton','SessionStatus','_onRemoteChangeset','getLatestCsReqIdBySid','RevisionService','buffer','CollaborationEntity','M0\x200H16V16H0z','_submitChangeset','path','@univerjs-pro/collaboration','shareReplay','sid','formatter','popstate','LocalUndoRedoService','SEND_CHANGESET_TIMEOUT_KEY','clearInterval','HTTPService','Workbook','_sendHeartbeatTimer','_docTransformStateCacheService','data','getCurrent','min','UniverInstanceType','_invKeySchedule','UniverCore','getUnitOnRev','selection','update','localeService','UniverIcon','_getSendChangesetTimeout','ERROR_IMAGE_TYPE','/-/object/-/batch_allowed','32008dKDAmQ','lib','@univerjs/design','fromEventSubject','getDocRanges','onRemoteAck','registerComponent','EmptyMutation','defIds','_getDownloadEndpointURL','COMMENT_UPDATE','MergeInterceptorFactory','_sendingTimer','c2Prime','collab-client.tooltip.reconnect','HEARTBEAT_TIMEOUT','_updateLocalCache','_oKey','onTransformState','SheetCollabCursorShape','CONNECTOR_DATA_TOO_LARGE','EvpKDF','_sessionStatus$','ACTIVE_UNIT_EVENT_CHANNEL','serializeRangeWithSheet','_HTTPService','flatMap','pending','@univerjs/docs','from','equals','getCurrentSelections','exhaustSavingTask','docStateChange$','_updateStatus','objectActions','_doFinalize','2030110yRLZOU','generateRandomId','sigBytes','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','INTERNAL_ERROR','Injector','_onRemoteRetry','height','univer-online-status-title','_roomMembers','_minBufferSize','1379vtwwUn','length','DisposableCollection','image/gif','_clearCollaborationTimeoutTimer','_themeService','_acknowledgedAwaitingChangeset','_startTelemetryCollaborationNewChangeset','_onUserJoin','_toggleOffline','currentTheme$','DesktopCollaborationStatusDisplayController','...','IContextService','then','column','[DataLoaderController]','APPLY_REJECT','COMPLETION_FINISHED','transformChangesets','getCoordByCell','forwardRef','IDLE','JSONX','_mode','_eventUnsubscribe','transformStack\x20failed!','post','target','currentColor','_getSheetObject','ReactCurrentOwner','_createSocketURL','fromCharCode','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','c1Prime','ISnapshotServerService','getCurrentUser','byteLength','ICollaborationSocketService','parse','registerRenderModule','_getAnchorBounding','substr','_docStateChangeManagerService','_commentUpdate$','extend','_localeService','0\x200\x2017\x2016','evenodd','_getCurrentRevision','HttpExport','url(#$1','_updateURLWithCurrentState','_draw','unitId\x20is\x20not\x20found','requestParams','status$','collabCursorState$','getMergeData','_unitID','isArray','addImageSourceCache','randomUUID','delete','UNIVER_SLIDE','merge','conflict.content','_change$','registerDependencies','Rect','_univerInstanceService','touchDependencies','_initEventListeners','prototype','SnapshotServerOverHTTPService','Base','incrementRevOfUnit','permission.content','NoPadding','_collabCursorState$','labelPosition','_getRedoStack','x-univer-host','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','updatePermissionPoint','1416496gfPvhq','_getSessionTicket','_socket','parseChangesetToProtocol','_resendTimeout','BufferedBlockAlgorithm','getViewport','runRefRangeMutations','image/jpeg','SNAPSHOT_SERVER_URL_KEY','getSkeleton','PERMISSION_REJ','getVpScrollXYInfoByPosToVp','_updateLocalCursor','fromCollab','_imageIoService','@univerjs/drawing','CollaborationSession','_changesetSessionId','assignAColorForMemberID','[CollaborationSessionService]:\x20socket\x20error','values','now','getAllMembers','_updateCollabCursors','_socket$','COLORS','getCurrentRevOfUnit','format','_startSheetCollabCursor','SYNCED','_incrementRevisionNumber','CommandType','save','_entities','setParam','getCollabEntity$','_setupSubUnitSync','_state','_injector','_ENC_XFORM_MODE','[UniverCollaborationClientPlugin]','APPLY_REVISION_CONFILICT','handleDeleteRangeMoveUp','YUUMI_UNABLE_LOAD_URL','toString','_resendTimer','ColorKit','[OfflineState]:\x20received\x20changeset.','AES','NEW_CHANGESETS','CollaborationSocketService','isTransformMutationsWithChangesetSuccess','NodePositionConvertToCursor','range','endColumn','splice','executeCommand','closePath','SUBMIT_CHANGESET','_backgroundColor','fetch_missing','registerHTTPInterceptor','filter','subscribe','\x0aAfter:\x20','_telemetryService','handleIRemoveRow','ciphertext','_transformUndoredo','@univerjs/sheets-ui','UniverSheetsUi','workbook','setShapeProps','_getCtorByUniverType','with','forEach','for','getInterceptPoints','_heartbeatTimer','getUnit','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','collabSubmitChangesetUrl','_hash','INGEST','resend','_process','updateCollaborator','onStateChange','DocIMEInputManagerService','APPLY_PERMISSION_DENIED','TOO_MANY_REQUESTS','backgroundColor','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getLoginPath','csShouldRetryEvent','UNKNOWN_CODE','LEAVE','_createHandler','_cursors','HEADER_MENU','_handleJoinEvent','UNIVER_DOC','getTypeOfUnitAdded$','transformMutationsWithChangeset','searchParams','sheetID','IUniverInstanceService','HttpImport','name','Plugin','_exhaustRemoteChangesetQueue','isPermissionRej','_clearLocalCache','Inject','textRanges','reduce','_waitCount','useRef','unknown','@univerjs/sheets','call','AWAITING_WITH_PENDING','COLLAB_SUBMIT_CHANGESET_URL_KEY','clamp','close$','PERMISSION_DENIED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','byteOffset','Module','collaboration_new_changeset','SheetPermissionInitController','amd','pushState','objectID','on-line-single','infoRsp','_scheduleTimestamp','UPDATE_PERMISSION_OBJ','switchMap','transformMutation','number','LIVESHARE_REQUEST_HOST','hostname','_snapshotServerService','event$','_updateState','ICommandService','useObservable','LocaleService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unshift','handleInsertRow','_revisionService','_sheetTransformSelectionsService','startTime','revision','UniverCollaborationClientPlugin','onTransformSelections','SetDocZoomRatioOperation','downloadEndpointUrl','Optional','_imageSourceCache','_prevBlock','href','_registerRenderDependencies','getCollabEntity','_localCacheService','SheetsSelectionsService','univer-pro.collaboration-client-socket-service','online','_collaborationSessionService','mapTo','getCollabCursors$','/universer-api/oidc/authpage','getTime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','push','UniverEngineRender','_beforeCloseService','setUndoRedoMutationParamsCache','routeKey','throttleTime','keySize','reverse','OFFLINE','_scheduleHeartbeat','_status$','key','string','clearTimeout','history','/object','offline','IMentionIOService','_onCursorUpdate','ERROR_IMAGE','RECT','reconnect','has','_collaborationController','toLowerCase','_sessions','_scheduleClearOtherTimer','collab-text-range-','debounce','getUnitStatus$','takeUntil','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','COMPRESS_MUTATION_SEND','synced','getUnitType','sequenceExecute','_onFetchMissResult','getActiveSheet','objectType','Tools','charAt','padding','YUUMI_URL_COL_OUT_OF_RANGE','Utf8','[SyncedState]:\x20received\x20rejection.','decryptBlock','xlink:href','doc.mutation.rich-text-editing','getTypeOfUnitDisposed$','SHOULD_CLOSE_CONN','UNIVER_PROJECT','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_candidateSocket','m1Prime','UniverNetworkPlugin','session.collaboration-timeout','_refRangeService','className','_saveCache','_cipher','getAncestorScale','_append','onMissingChangesets','storage','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IPermissionService','RemoveColCommandId','UniverRpc','displayName','_initRequestHeader','CompressMutationService','readAsDataURL','_remoteChangesetQueue','_transformIMECache','reject','function','collaboration-session-retry','verdancy600','_initDependencies','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ITransformService','gold400','repeat','readInt32LE','_telemetryInfo','NodePositionConvertToRectRange','_singleActiveUnitService','jsxs','contains','LIVESHARE_OPERATION','PSEUDO_FETCH_MISSING_RESULT','_createHelper','WordArray','FETCH_MISSING','init','assign','_drawAnchor','createInstance','duration','deleteCollaborator','members','_undoStacks'];_0x17c8=function(){return _0x5ec632;};return _0x17c8();}