@univerjs-pro/collaboration-client 0.2.14 → 0.2.15
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/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +4 -4
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +3 -3
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -1
- package/lib/types/plugin.d.ts +5 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +2 -1
- package/lib/umd/index.js +1 -1
- package/package.json +32 -32
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(_0x5ad21a,_0x38cdda){const _0x14c8e9=_0x47c1,_0x1119d0=_0x5ad21a();while(!![]){try{const _0x34a121=-parseInt(_0x14c8e9(0x219))/0x1*(parseInt(_0x14c8e9(0x482))/0x2)+-parseInt(_0x14c8e9(0x24c))/0x3*(parseInt(_0x14c8e9(0x492))/0x4)+parseInt(_0x14c8e9(0x403))/0x5*(-parseInt(_0x14c8e9(0xf6))/0x6)+parseInt(_0x14c8e9(0x2ea))/0x7*(parseInt(_0x14c8e9(0x1d0))/0x8)+-parseInt(_0x14c8e9(0x48f))/0x9*(-parseInt(_0x14c8e9(0x20c))/0xa)+parseInt(_0x14c8e9(0x248))/0xb+-parseInt(_0x14c8e9(0x122))/0xc*(-parseInt(_0x14c8e9(0x301))/0xd);if(_0x34a121===_0x38cdda)break;else _0x1119d0['push'](_0x1119d0['shift']());}catch(_0x6e8f9){_0x1119d0['push'](_0x1119d0['shift']());}}}(_0xd8ee,0xc38c1),function(_0x297fc5,_0x301638){const _0x58fe5b=_0x47c1;typeof exports==_0x58fe5b(0x290)&&typeof module<'u'?_0x301638(exports,require('@univerjs/core'),require(_0x58fe5b(0x3df)),require(_0x58fe5b(0x360)),require(_0x58fe5b(0x3ab)),require(_0x58fe5b(0x30a)),require(_0x58fe5b(0x287)),require(_0x58fe5b(0x393)),require(_0x58fe5b(0x3c9)),require(_0x58fe5b(0x147)),require(_0x58fe5b(0x3d4)),require(_0x58fe5b(0x23a)),require('@univerjs/engine-render'),require(_0x58fe5b(0x11e)),require(_0x58fe5b(0x30c)),require('lodash/debounce'),require(_0x58fe5b(0x329)),require('react'),require(_0x58fe5b(0x29d)),require(_0x58fe5b(0x389))):typeof define==_0x58fe5b(0x4bb)&&define[_0x58fe5b(0x448)]?define([_0x58fe5b(0x491),'@univerjs/core',_0x58fe5b(0x3df),'rxjs/operators',_0x58fe5b(0x3ab),'@univerjs/ui',_0x58fe5b(0x287),_0x58fe5b(0x393),'@univerjs/telemetry',_0x58fe5b(0x147),'@univerjs/sheets',_0x58fe5b(0x23a),_0x58fe5b(0x267),_0x58fe5b(0x11e),_0x58fe5b(0x30c),'lodash/debounce',_0x58fe5b(0x329),_0x58fe5b(0x121),_0x58fe5b(0x29d),_0x58fe5b(0x389)],_0x301638):(_0x297fc5=typeof globalThis<'u'?globalThis:_0x297fc5||self,_0x301638(_0x297fc5[_0x58fe5b(0x495)]={},_0x297fc5['UniverCore'],_0x297fc5[_0x58fe5b(0x3df)],_0x297fc5['rxjs'][_0x58fe5b(0x24b)],_0x297fc5[_0x58fe5b(0x45b)],_0x297fc5[_0x58fe5b(0x2ed)],_0x297fc5[_0x58fe5b(0x4f0)],_0x297fc5['UniverCollaboration'],_0x297fc5['UniverTelemetry'],_0x297fc5[_0x58fe5b(0x2d9)],_0x297fc5[_0x58fe5b(0x232)],_0x297fc5['UniverDocsUi'],_0x297fc5['UniverEngineRender'],_0x297fc5[_0x58fe5b(0x171)],_0x297fc5['UniverEngineFormula'],_0x297fc5[_0x58fe5b(0x4ea)][_0x58fe5b(0x49e)],_0x297fc5[_0x58fe5b(0x1a4)],_0x297fc5['React'],_0x297fc5[_0x58fe5b(0x29d)],_0x297fc5[_0x58fe5b(0x35d)]));}(this,function(_0x3723aa,_0x44f3cf,_0x1837c6,_0x3ab9e8,_0x1c0df8,_0x90d6c1,_0x43b7e7,_0x5c3399,_0x2b7353,_0x495201,_0x5848ce,_0x50f029,_0x278226,_0xaa685a,_0x3dc1ae,_0xb2aa35,_0x2c9d11,_0x5efe28,_0x491e99,_0x1436cb){'use strict';const _0x4deb9c=_0x47c1;var _0x350dec=Object[_0x4deb9c(0x4f6)],_0x207b82=(_0xfe0a99,_0x526426,_0x284520)=>_0x526426 in _0xfe0a99?_0x350dec(_0xfe0a99,_0x526426,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x284520}):_0xfe0a99[_0x526426]=_0x284520,_0x434a2a=(_0x36de95,_0x3f2760,_0x5c54ae)=>_0x207b82(_0x36de95,typeof _0x3f2760!=_0x4deb9c(0x4c4)?_0x3f2760+'':_0x3f2760,_0x5c54ae);const _0x4007f7=_0x4deb9c(0x15e),_0x5d4c8b='/universer-api/snapshot',_0x1691bd=_0x4deb9c(0x3f1),_0x5bb06f='SEND_CHANGESET_TIMEOUT',_0x58c006=_0x4deb9c(0x373),_0x2fe1b1=_0x4deb9c(0x2c6),_0x4175a2=_0x4deb9c(0x39b),_0x1bc3ee=_0x4deb9c(0x3cc),_0x31135c=_0x4deb9c(0x223),_0x3eddeb=_0x4deb9c(0x19a),_0x4c3652=_0x4deb9c(0x43e),_0x1b950d='COLLAB_SUBMIT_CHANGESET_URL',_0x162f44=_0x4deb9c(0x2ba),_0x1fff0c=_0x4deb9c(0x2ec),_0x5040cd=_0x4deb9c(0x32d);var _0x46986a=(_0x544f6c=>(_0x544f6c[_0x544f6c[_0x4deb9c(0x229)]=0x0]=_0x4deb9c(0x229),_0x544f6c[_0x544f6c['OK']=0x1]='OK',_0x544f6c[_0x544f6c[_0x4deb9c(0x42f)]=0x2]=_0x4deb9c(0x42f),_0x544f6c[_0x544f6c['PERMISSION_DENIED']=0x3]=_0x4deb9c(0x339),_0x544f6c[_0x544f6c[_0x4deb9c(0x47f)]=0x4]=_0x4deb9c(0x47f),_0x544f6c[_0x544f6c[_0x4deb9c(0x31e)]=0x5]=_0x4deb9c(0x31e),_0x544f6c[_0x544f6c[_0x4deb9c(0x50e)]=0x6]='ALREADY_EXISTS',_0x544f6c[_0x544f6c['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x544f6c[_0x544f6c[_0x4deb9c(0x3a0)]=0x8]=_0x4deb9c(0x3a0),_0x544f6c[_0x544f6c['COMPLETION_FINISHED']=0x9]=_0x4deb9c(0x13d),_0x544f6c[_0x544f6c[_0x4deb9c(0x40d)]=0x1389]=_0x4deb9c(0x40d),_0x544f6c[_0x544f6c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x544f6c[_0x544f6c[_0x4deb9c(0x449)]=0x1772]=_0x4deb9c(0x449),_0x544f6c[_0x544f6c[_0x4deb9c(0x418)]=0x1b59]='APPLY_REJECT',_0x544f6c[_0x544f6c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4deb9c(0x2f4),_0x544f6c[_0x544f6c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4deb9c(0x306),_0x544f6c[_0x544f6c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4deb9c(0x26d),_0x544f6c[_0x544f6c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x544f6c[_0x544f6c[_0x4deb9c(0x1c1)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x544f6c[_0x544f6c[_0x4deb9c(0x101)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x544f6c[_0x544f6c[_0x4deb9c(0x34a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x544f6c[_0x544f6c[_0x4deb9c(0x228)]=0x232c]=_0x4deb9c(0x228),_0x544f6c[_0x544f6c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4deb9c(0x113),_0x544f6c[_0x544f6c[_0x4deb9c(0x200)]=0x2711]=_0x4deb9c(0x200),_0x544f6c[_0x544f6c[_0x4deb9c(0x39c)]=0x2712]=_0x4deb9c(0x39c),_0x544f6c[_0x544f6c[_0x4deb9c(0x4a2)]=0x2713]=_0x4deb9c(0x4a2),_0x544f6c[_0x544f6c[_0x4deb9c(0x384)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x544f6c[_0x544f6c[_0x4deb9c(0x255)]=-0x1]=_0x4deb9c(0x255),_0x544f6c))(_0x46986a||{}),_0x3bfee1=(_0x5da0e3=>(_0x5da0e3[_0x5da0e3['UNIVER_UNKNOWN']=0x0]=_0x4deb9c(0x413),_0x5da0e3[_0x5da0e3[_0x4deb9c(0x350)]=0x1]=_0x4deb9c(0x350),_0x5da0e3[_0x5da0e3[_0x4deb9c(0x402)]=0x2]=_0x4deb9c(0x402),_0x5da0e3[_0x5da0e3['UNIVER_SLIDE']=0x3]=_0x4deb9c(0x4ad),_0x5da0e3[_0x5da0e3[_0x4deb9c(0x2d3)]=0x4]='UNIVER_PROJECT',_0x5da0e3[_0x5da0e3[_0x4deb9c(0x255)]=-0x1]=_0x4deb9c(0x255),_0x5da0e3))(_0x3bfee1||{}),_0x1779e6=(_0x2d8d98=>(_0x2d8d98[_0x2d8d98[_0x4deb9c(0x166)]=0x0]=_0x4deb9c(0x166),_0x2d8d98[_0x2d8d98[_0x4deb9c(0x303)]=0x1]=_0x4deb9c(0x303),_0x2d8d98[_0x2d8d98[_0x4deb9c(0x39a)]=0x2]=_0x4deb9c(0x39a),_0x2d8d98[_0x2d8d98[_0x4deb9c(0x22d)]=0x3]=_0x4deb9c(0x22d),_0x2d8d98[_0x2d8d98['INGEST']=0x4]=_0x4deb9c(0xf4),_0x2d8d98[_0x2d8d98[_0x4deb9c(0x3d5)]=0x5]=_0x4deb9c(0x3d5),_0x2d8d98[_0x2d8d98[_0x4deb9c(0x4fd)]=0x6]='RECV',_0x2d8d98[_0x2d8d98[_0x4deb9c(0x255)]=-0x1]='UNRECOGNIZED',_0x2d8d98))(_0x1779e6||{}),_0x456623=(_0x268a0e=>(_0x268a0e[_0x268a0e['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x268a0e[_0x268a0e['OK']=0x1]='OK',_0x268a0e[_0x268a0e[_0x4deb9c(0x486)]=0x2]=_0x4deb9c(0x486),_0x268a0e[_0x268a0e[_0x4deb9c(0x255)]=-0x1]=_0x4deb9c(0x255),_0x268a0e))(_0x456623||{}),_0x47077b=(_0x495f9d=>(_0x495f9d[_0x495f9d['Undefined']=0x0]='Undefined',_0x495f9d[_0x495f9d[_0x4deb9c(0x4a4)]=0x1]='HttpImport',_0x495f9d[_0x495f9d[_0x4deb9c(0x4e2)]=0x2]=_0x4deb9c(0x4e2),_0x495f9d[_0x495f9d[_0x4deb9c(0x251)]=0x3]='UnitEmbedded',_0x495f9d[_0x495f9d[_0x4deb9c(0x1de)]=0x4]='UnitSnapshot',_0x495f9d[_0x495f9d[_0x4deb9c(0x255)]=-0x1]='UNRECOGNIZED',_0x495f9d))(_0x47077b||{});function _0x2eb665(_0x5dac1d){const _0xa35a8f=_0x4deb9c;var _0x44bed0,_0x5a0664,_0x48e5c2,_0x431294;const _0x44a2fe=_0x5dac1d[_0xa35a8f(0xf9)],_0x184d47=JSON[_0xa35a8f(0x4ab)](_0x44a2fe);switch(_0x184d47[_0xa35a8f(0x38b)]){case _0x1779e6[_0xa35a8f(0x3d5)]:case _0x1779e6[_0xa35a8f(0x303)]:{const _0x1a710a=_0x184d47['infoRsp'];return{..._0x184d47,'data':_0x1a710a,'cmd':_0x184d47[_0xa35a8f(0x38b)]};}case _0x1779e6['JOIN']:{const _0x57e534=_0x184d47[_0xa35a8f(0x364)];return{..._0x184d47,'data':_0x57e534,'cmd':_0x184d47[_0xa35a8f(0x38b)]};}case _0x1779e6['RECV']:{const _0x34cd3d=_0x184d47[_0xa35a8f(0x1d6)];switch(_0x34cd3d['eventID']){case _0x5c3399[_0xa35a8f(0x3d6)]['PERMISSION_REJ']:return{..._0x184d47,'data':{..._0x34cd3d,'data':(_0x44bed0=_0x34cd3d[_0xa35a8f(0x2f6)])==null?void 0x0:_0x44bed0['cs']},'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399[_0xa35a8f(0x3d6)][_0xa35a8f(0x333)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':(_0x5a0664=_0x34cd3d['csAckEvent'])==null?void 0x0:_0x5a0664['cs']},'cmd':_0x184d47['cmd']};case _0x5c3399[_0xa35a8f(0x3d6)][_0xa35a8f(0x4a7)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':(_0x48e5c2=_0x34cd3d[_0xa35a8f(0x124)])==null?void 0x0:_0x48e5c2['cs']},'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399['CollaborationEvent']['CHANGESET_REJ']:return{..._0x184d47,'data':{..._0x34cd3d,'data':(_0x431294=_0x34cd3d[_0xa35a8f(0x4da)])==null?void 0x0:_0x431294['cs']},'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399[_0xa35a8f(0x3d6)][_0xa35a8f(0x1c5)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d[_0xa35a8f(0x414)]},'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399[_0xa35a8f(0x3d6)][_0xa35a8f(0x1c3)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d[_0xa35a8f(0x1d1)]},'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399[_0xa35a8f(0x3d6)][_0xa35a8f(0x203)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d[_0xa35a8f(0x279)]},'cmd':_0x184d47['cmd']};case _0x5c3399[_0xa35a8f(0x3d6)][_0xa35a8f(0x409)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d[_0xa35a8f(0x32b)]},'cmd':_0x184d47['cmd']};case _0x5c3399['CollaborationEvent'][_0xa35a8f(0x478)]:case _0x5c3399['CollaborationEvent'][_0xa35a8f(0x46d)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d['liveShareOperation']},'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399[_0xa35a8f(0x3d6)][_0xa35a8f(0x4ef)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d[_0xa35a8f(0x32b)]},'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399[_0xa35a8f(0x3d6)]['MSG_FOR_ERROR']:return{..._0x184d47,'data':_0x34cd3d,'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399[_0xa35a8f(0x3d6)]['COMMENT_UPDATE']:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d['commentUpdateEvent']},'cmd':_0x184d47[_0xa35a8f(0x38b)]};case _0x5c3399['CollaborationEvent'][_0xa35a8f(0x1d9)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d[_0xa35a8f(0x216)]},'cmd':_0x184d47['cmd']};case _0x5c3399[_0xa35a8f(0x3d6)][_0xa35a8f(0x50b)]:return{..._0x184d47,'data':{..._0x34cd3d,'data':_0x34cd3d['shouldCloseConn']},'cmd':_0x184d47['cmd']};default:return _0x184d47;}}default:return _0x184d47;}}function _0x266df0(_0x1cae6f){const _0x18dd82=_0x4deb9c;switch(_0x1cae6f[_0x18dd82(0x38b)]){case _0x1779e6['HEARTBEAT']:case _0x1779e6['HELLO']:return JSON[_0x18dd82(0x428)]({'cmd':_0x1cae6f['cmd'],'routeKey':_0x1cae6f[_0x18dd82(0x16b)]});case _0x1779e6['INGEST']:{let _0x1da585;switch(_0x1cae6f[_0x18dd82(0xf9)][_0x18dd82(0x2aa)]){case _0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x1c5)]:{_0x1da585={'eventID':_0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x1c5)],'updateCursorEvent':_0x1cae6f[_0x18dd82(0xf9)][_0x18dd82(0xf9)]};break;}case _0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x203)]:{_0x1da585={'eventID':_0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x203)],'leaveEvent':_0x1cae6f[_0x18dd82(0xf9)][_0x18dd82(0xf9)]};break;}case _0x5c3399['CollaborationEvent'][_0x18dd82(0x1c3)]:{_0x1da585={'eventID':_0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x1c3)],'joinEvent':_0x1cae6f[_0x18dd82(0xf9)][_0x18dd82(0xf9)]};break;}case _0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x409)]:{_0x1da585={'eventID':_0x5c3399['CollaborationEvent'][_0x18dd82(0x409)],'liveShareNewHost':_0x1cae6f[_0x18dd82(0xf9)]['data']};break;}case _0x5c3399['CollaborationEvent'][_0x18dd82(0x46d)]:{_0x1da585={'eventID':_0x5c3399[_0x18dd82(0x3d6)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x1cae6f[_0x18dd82(0xf9)]['data']};break;}case _0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x4ef)]:{_0x1da585={'eventID':_0x5c3399['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1cae6f['data'][_0x18dd82(0xf9)]};break;}case _0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x343)]:{_0x1da585={'eventID':_0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x343)],'liveShareRequestHost':_0x1cae6f[_0x18dd82(0xf9)][_0x18dd82(0xf9)]};break;}case _0x5c3399[_0x18dd82(0x3d6)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1da585={'eventID':_0x5c3399[_0x18dd82(0x3d6)][_0x18dd82(0x478)]};break;}default:_0x1da585={'eventID':_0x1cae6f['data'][_0x18dd82(0x2aa)]};}return JSON[_0x18dd82(0x428)]({'cmd':_0x1cae6f['cmd'],'routeKey':_0x1cae6f[_0x18dd82(0x16b)],'collaMsg':_0x1da585});}case _0x1779e6[_0x18dd82(0x39a)]:return JSON['stringify']({'cmd':_0x1cae6f[_0x18dd82(0x38b)],'routeKey':_0x1cae6f[_0x18dd82(0x16b)],'joinReq':_0x1cae6f['data']});case _0x1779e6['LEAVE']:return JSON[_0x18dd82(0x428)]({'cmd':_0x1cae6f[_0x18dd82(0x38b)],'routeKey':_0x1cae6f[_0x18dd82(0x16b)],'leaveReq':_0x1cae6f[_0x18dd82(0xf9)]});default:throw new Error(_0x18dd82(0x283));}}var _0xb63cbc=Object[_0x4deb9c(0x4f6)],_0x1f8f1c=Object['getOwnPropertyDescriptor'],_0x3cc0db=(_0x6e211d,_0x320d4c,_0x2a2a7f,_0x685a22)=>{const _0x168c05=_0x4deb9c;for(var _0x1c3ef6=_0x685a22>0x1?void 0x0:_0x685a22?_0x1f8f1c(_0x320d4c,_0x2a2a7f):_0x320d4c,_0x400bdd=_0x6e211d[_0x168c05(0x17a)]-0x1,_0x1a19d3;_0x400bdd>=0x0;_0x400bdd--)(_0x1a19d3=_0x6e211d[_0x400bdd])&&(_0x1c3ef6=(_0x685a22?_0x1a19d3(_0x320d4c,_0x2a2a7f,_0x1c3ef6):_0x1a19d3(_0x1c3ef6))||_0x1c3ef6);return _0x685a22&&_0x1c3ef6&&_0xb63cbc(_0x320d4c,_0x2a2a7f,_0x1c3ef6),_0x1c3ef6;},_0x2ce446=(_0x7a15e7,_0x5eef3c)=>(_0x4f7d2e,_0x53b71b)=>_0x5eef3c(_0x4f7d2e,_0x53b71b,_0x7a15e7);const _0x2f8f8b=_0x44f3cf[_0x4deb9c(0x1e3)](_0x4deb9c(0x13f));function _0x216777(_0x450584,_0xfb4a0c,_0x4ae949){const _0x331580=_0x4deb9c;return _0x450584+'/'+_0xfb4a0c+_0x331580(0x3da)+_0x4ae949+_0x331580(0x415);}_0x3723aa[_0x4deb9c(0x395)]=class extends _0x44f3cf[_0x4deb9c(0x50a)]{constructor(_0x421d77,_0x214033,_0x349109,_0x489696,_0x357afc){const _0x582ae7=_0x4deb9c;super(),this[_0x582ae7(0x388)]=_0x421d77,this[_0x582ae7(0x105)]=_0x214033,this[_0x582ae7(0x494)]=_0x349109,this[_0x582ae7(0x1aa)]=_0x489696,this[_0x582ae7(0x278)]=_0x357afc;}[_0x4deb9c(0x1c4)](_0x2cf8eb){const _0xae524f=_0x4deb9c,_0x47894f=this[_0xae524f(0x105)]['createSocket'](_0x2cf8eb);if(!_0x47894f)throw new Error(_0xae524f(0x131));const _0x3ed4ac=new _0x44f3cf['DisposableCollection'](),_0x22642d=new _0x1837c6[(_0xae524f(0x4a0))]();_0x3ed4ac[_0xae524f(0x117)](_0x47894f[_0xae524f(0x144)][_0xae524f(0x138)](_0x5be081=>_0x22642d['next'](_0x5be081))),_0x3ed4ac[_0xae524f(0x117)](_0x44f3cf[_0xae524f(0x133)](()=>_0x22642d[_0xae524f(0x4d3)]()));const _0x27dc8a=new _0x1837c6[(_0xae524f(0x4a0))]();_0x3ed4ac['add'](_0x47894f['error$']['subscribe'](_0x569a0e=>_0x27dc8a[_0xae524f(0x3e8)](_0x569a0e))),_0x3ed4ac[_0xae524f(0x117)](_0x44f3cf['toDisposable'](()=>_0x27dc8a['complete']()));const _0x2cc238=new _0x1837c6[(_0xae524f(0x4a0))]();_0x3ed4ac[_0xae524f(0x117)](_0x47894f[_0xae524f(0x421)][_0xae524f(0x138)](_0xcce866=>{const _0x502889=_0xae524f,_0x22b749=_0x2eb665(_0xcce866);_0x2cc238[_0x502889(0x3e8)](_0x22b749);})),_0x3ed4ac[_0xae524f(0x117)](_0x44f3cf[_0xae524f(0x133)](()=>_0x2cc238['complete']()));let _0x56d3dd;const _0x1c07c6=()=>{const _0x4dff72=_0xae524f;_0x27dc8a[_0x4dff72(0x3e8)](new Event('connection\x20error')),_0x22642d[_0x4dff72(0x3e8)](new CloseEvent('connection\x20error')),_0x56d3dd[_0x4dff72(0x44e)]();};return _0x56d3dd={'memberID':'','close$':_0x22642d[_0xae524f(0x4eb)](),'error$':_0x27dc8a[_0xae524f(0x4eb)](),'open$':_0x47894f[_0xae524f(0x13a)],'message$':_0x2cc238['asObservable'](),'send':_0x108120=>{const _0x5d6e41=_0xae524f;if(_0x108120[_0x5d6e41(0x38b)]===_0x1779e6[_0x5d6e41(0xf4)]){if(_0x108120[_0x5d6e41(0xf9)][_0x5d6e41(0x2aa)]===_0x5c3399['CollaborationEvent'][_0x5d6e41(0x29c)]){this[_0x5d6e41(0x2f7)](_0x56d3dd,_0x108120[_0x5d6e41(0xf9)])[_0x5d6e41(0x1ad)](_0x292bac=>{const _0x1d1413=_0x5d6e41;this[_0x1d1413(0x1aa)][_0x1d1413(0x46e)](_0x292bac),_0x1c07c6();});return;}if(_0x108120[_0x5d6e41(0xf9)]['eventID']===_0x5c3399[_0x5d6e41(0x3d6)][_0x5d6e41(0x236)]){const _0x4d788a=_0x108120['data'];this[_0x5d6e41(0x321)](_0x4d788a)[_0x5d6e41(0x15b)](_0x6c0a93=>{const _0x24fedb=_0x5d6e41;_0x2cc238[_0x24fedb(0x3e8)]({'cmd':_0x1779e6[_0x24fedb(0x4fd)],'code':_0x456623['OK'],'routeKey':_0x4d788a[_0x24fedb(0xf9)]['unitID'],'routeType':'','data':{'eventID':_0x5c3399[_0x24fedb(0x3d6)][_0x24fedb(0x338)],'data':{'changesets':_0x6c0a93}}});})[_0x5d6e41(0x1ad)](_0xe69a61=>{const _0x118edf=_0x5d6e41;this[_0x118edf(0x1aa)][_0x118edf(0x46e)](_0xe69a61),_0x1c07c6();});return;}}_0x47894f['send'](_0x266df0(_0x108120));},'close':()=>{const _0x278080=_0xae524f;_0x47894f['close'](),_0x3ed4ac[_0x278080(0x241)]();}},_0x56d3dd;}async[_0x4deb9c(0x2f7)](_0x4461a2,_0x8d8740){const _0x19c167=_0x4deb9c;var _0x43c1a5;const {unitType:_0x12a032,unitID:_0xfac86f,changeset:_0x5af68c}=_0x8d8740[_0x19c167(0xf9)],_0xea004={'unitID':_0xfac86f,'memberID':_0x4461a2[_0x19c167(0x217)],'type':_0x12a032,'changeset':_0x5c3399[_0x19c167(0x126)](_0x5af68c)},_0x537f68=_0x216777((_0x43c1a5=this[_0x19c167(0x494)]['getConfig'](_0x1b950d))!=null?_0x43c1a5:_0x162f44,_0x12a032,_0xfac86f);try{await this[_0x19c167(0x388)][_0x19c167(0x239)](_0x537f68,{'body':_0xea004});}catch(_0x1cdfca){throw this[_0x19c167(0x1aa)][_0x19c167(0x46e)](_0x19c167(0x118),_0x19c167(0x276)),_0x1cdfca;}}async['_fetchMissChangesets'](_0x56520e){const _0x332e7e=_0x4deb9c,{unitID:_0x127a2e,from:_0x48f912,to:_0x1f1945,unitType:_0x167c23}=_0x56520e['data'];return(await this[_0x332e7e(0x278)][_0x332e7e(0x371)]({'metadata':void 0x0},{'unitID':_0x127a2e,'type':_0x167c23,'from':_0x48f912,'to':_0x1f1945}))[_0x332e7e(0x50f)];}},_0x3723aa['CollaborationSocketService']=_0x3cc0db([_0x2ce446(0x0,_0x44f3cf[_0x4deb9c(0x2a6)](_0x43b7e7['HTTPService'])),_0x2ce446(0x1,_0x44f3cf[_0x4deb9c(0x2a6)](_0x43b7e7['WebSocketService'])),_0x2ce446(0x2,_0x44f3cf[_0x4deb9c(0x150)]),_0x2ce446(0x3,_0x44f3cf['ILogService']),_0x2ce446(0x4,_0x5c3399[_0x4deb9c(0x257)])],_0x3723aa['CollaborationSocketService']);const _0x4a3b8e=_0x4deb9c(0x2cc);function _0x5d818b(_0x3e48c8){const _0x3f169c=_0x4deb9c;return JSON['stringify'](_0x3e48c8)[_0x3f169c(0x17a)];}class _0x523579{constructor(){const _0xdb744f=_0x4deb9c;_0x434a2a(this,_0xdb744f(0x37d),new _0x1837c6['Subject']()),_0x434a2a(this,_0xdb744f(0x30f),this[_0xdb744f(0x37d)]['asObservable']());}[_0x4deb9c(0x4c3)](_0x3dbb9c){const _0x2084e2=_0x4deb9c;this[_0x2084e2(0x37d)]['next'](_0x3dbb9c);}}var _0x251910=Object[_0x4deb9c(0x4f6)],_0x1572f4=Object[_0x4deb9c(0x3d9)],_0x523a67=(_0x5eca66,_0x214e67,_0x2cda6d,_0x1d39f6)=>{const _0x1baf44=_0x4deb9c;for(var _0x4e8b62=_0x1d39f6>0x1?void 0x0:_0x1d39f6?_0x1572f4(_0x214e67,_0x2cda6d):_0x214e67,_0x332433=_0x5eca66[_0x1baf44(0x17a)]-0x1,_0x3f2246;_0x332433>=0x0;_0x332433--)(_0x3f2246=_0x5eca66[_0x332433])&&(_0x4e8b62=(_0x1d39f6?_0x3f2246(_0x214e67,_0x2cda6d,_0x4e8b62):_0x3f2246(_0x4e8b62))||_0x4e8b62);return _0x1d39f6&&_0x4e8b62&&_0x251910(_0x214e67,_0x2cda6d,_0x4e8b62),_0x4e8b62;},_0xb1f92a=(_0x426ba6,_0x7e29ba)=>(_0x2567b9,_0x46f70d)=>_0x7e29ba(_0x2567b9,_0x46f70d,_0x426ba6);let _0x32fe7e=class extends _0x44f3cf[_0x4deb9c(0x50a)]{constructor(_0x559cb5,_0xaba5be){const _0x2b83a2=_0x4deb9c;super(),_0x434a2a(this,'_roomMembers',new Map()),(this[_0x2b83a2(0x391)]=_0x559cb5,this[_0x2b83a2(0x442)]=_0xaba5be,this[_0x2b83a2(0x446)](_0x44f3cf[_0x2b83a2(0x133)](_0x1837c6[_0x2b83a2(0xfb)](this[_0x2b83a2(0x391)][_0x2b83a2(0x4a5)](_0x44f3cf[_0x2b83a2(0x1bb)][_0x2b83a2(0x402)])[_0x2b83a2(0x4f9)](_0x3ab9e8[_0x2b83a2(0x269)](_0x57e4bc=>_0x57e4bc[_0x2b83a2(0x43f)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x44f3cf[_0x2b83a2(0x1bb)][_0x2b83a2(0x350)])['pipe'](_0x3ab9e8[_0x2b83a2(0x269)](_0x253d92=>_0x253d92['getUnitId']())),this[_0x2b83a2(0x391)][_0x2b83a2(0x4a5)](_0x44f3cf[_0x2b83a2(0x1bb)][_0x2b83a2(0x4ad)])['pipe'](_0x3ab9e8[_0x2b83a2(0x269)](_0x2a610a=>_0x2a610a[_0x2b83a2(0x43f)]())))[_0x2b83a2(0x138)](_0x2180ca=>this[_0x2b83a2(0x263)](_0x2180ca)))));}[_0x4deb9c(0x11f)](_0x54ee1c){this['_userManagerService']['setCurrentUser'](_0x54ee1c);}[_0x4deb9c(0x2d2)](){const _0x242d54=_0x4deb9c;return this[_0x242d54(0x442)][_0x242d54(0x2d2)]();}[_0x4deb9c(0x1e8)](_0x473b87,_0x4c3399){const _0x59efb6=_0x4deb9c;let _0x5a4899=this[_0x59efb6(0x21a)]['get'](_0x473b87);_0x5a4899||(_0x5a4899=new _0x5a6ed1(),this['_roomMembers'][_0x59efb6(0x2b2)](_0x473b87,_0x5a4899)),_0x5a4899[_0x59efb6(0x1e8)](_0x4c3399);}[_0x4deb9c(0x44f)](_0x5bc8f9,_0x16b553){const _0x4f7ffa=_0x4deb9c,_0x5ecb98=this[_0x4f7ffa(0x21a)][_0x4f7ffa(0x38c)](_0x5bc8f9);_0x5ecb98&&_0x5ecb98[_0x4f7ffa(0x44f)](_0x16b553);}[_0x4deb9c(0x349)](_0x1cfbf9){const _0x1b4de9=_0x4deb9c;return this[_0x1b4de9(0x21a)][_0x1b4de9(0x38c)](_0x1cfbf9);}['getMember'](_0x5abc3e,_0x2d4fe9){const _0x1dcb87=_0x4deb9c,_0x450493=this[_0x1dcb87(0x21a)]['get'](_0x5abc3e);if(_0x450493)return _0x450493['getMember'](_0x2d4fe9);}[_0x4deb9c(0x263)](_0x35e75d){const _0x655f21=_0x4deb9c,_0x61820d=this[_0x655f21(0x21a)][_0x655f21(0x38c)](_0x35e75d);_0x61820d&&(_0x61820d[_0x655f21(0x241)](),this[_0x655f21(0x21a)][_0x655f21(0x312)](_0x35e75d));}[_0x4deb9c(0x241)](){const _0xee9238=_0x4deb9c;this[_0xee9238(0x21a)][_0xee9238(0x4cc)](_0x3368b5=>_0x3368b5[_0xee9238(0x241)]()),this[_0xee9238(0x21a)][_0xee9238(0x3fa)]();}};_0x32fe7e=_0x523a67([_0xb1f92a(0x0,_0x44f3cf[_0x4deb9c(0x165)]),_0xb1f92a(0x1,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x11c)]))],_0x32fe7e);class _0x5a6ed1 extends _0x44f3cf['Disposable']{constructor(){const _0x111bf0=_0x4deb9c;super(...arguments),_0x434a2a(this,_0x111bf0(0x502),new Map());}[_0x4deb9c(0x241)](){const _0x14f8dd=_0x4deb9c;this[_0x14f8dd(0x502)][_0x14f8dd(0x3fa)]();}[_0x4deb9c(0x1e8)](_0x359d58){const _0x21ee13=_0x4deb9c;this[_0x21ee13(0x502)]['set'](_0x359d58[_0x21ee13(0x217)],_0x359d58);}[_0x4deb9c(0x44f)](_0xd62fbc){this['_members']['delete'](_0xd62fbc);}[_0x4deb9c(0x438)](_0x2e3ccf){const _0x4822c8=_0x4deb9c;return this[_0x4822c8(0x502)][_0x4822c8(0x38c)](_0x2e3ccf);}}var _0x216b25=Object[_0x4deb9c(0x4f6)],_0x41d891=Object[_0x4deb9c(0x3d9)],_0x50f615=(_0x275d54,_0x3b7ca1,_0x2854bd,_0x21eb4c)=>{for(var _0x3a4ed5=_0x21eb4c>0x1?void 0x0:_0x21eb4c?_0x41d891(_0x3b7ca1,_0x2854bd):_0x3b7ca1,_0x6ac933=_0x275d54['length']-0x1,_0x1fe5c2;_0x6ac933>=0x0;_0x6ac933--)(_0x1fe5c2=_0x275d54[_0x6ac933])&&(_0x3a4ed5=(_0x21eb4c?_0x1fe5c2(_0x3b7ca1,_0x2854bd,_0x3a4ed5):_0x1fe5c2(_0x3a4ed5))||_0x3a4ed5);return _0x21eb4c&&_0x3a4ed5&&_0x216b25(_0x3b7ca1,_0x2854bd,_0x3a4ed5),_0x3a4ed5;},_0x29b6c4=(_0x24b038,_0x1062b5)=>(_0x764662,_0x288fb3)=>_0x1062b5(_0x764662,_0x288fb3,_0x24b038),_0x4388c5=(_0x55dc03=>(_0x55dc03[_0x55dc03[_0x4deb9c(0x462)]=0x0]=_0x4deb9c(0x462),_0x55dc03[_0x55dc03[_0x4deb9c(0x1d3)]=0x1]='JOINING',_0x55dc03[_0x55dc03[_0x4deb9c(0x135)]=0x2]=_0x4deb9c(0x135),_0x55dc03[_0x55dc03[_0x4deb9c(0x1df)]=0x3]=_0x4deb9c(0x1df),_0x55dc03))(_0x4388c5||{});_0x3723aa[_0x4deb9c(0x404)]=class extends _0x44f3cf['RxDisposable']{constructor(_0x34e8e3,_0x535b9d,_0x26296d,_0x5939c9,_0x269bd3,_0x596625,_0x44f970,_0x24c606,_0x1346b5,_0x10e5d0){const _0x2b1125=_0x4deb9c;super(),_0x434a2a(this,_0x2b1125(0x336),new _0x1837c6[(_0x2b1125(0x17d))](0x0)),_0x434a2a(this,_0x2b1125(0x501),this[_0x2b1125(0x336)][_0x2b1125(0x4eb)]()),_0x434a2a(this,_0x2b1125(0x14a),new _0x1837c6[(_0x2b1125(0x4a0))]()),_0x434a2a(this,_0x2b1125(0x458),this[_0x2b1125(0x14a)][_0x2b1125(0x4eb)]()),_0x434a2a(this,_0x2b1125(0xfa)),_0x434a2a(this,_0x2b1125(0x3b3)),_0x434a2a(this,'_collaborationTimeoutTimer'),_0x434a2a(this,'_shouldReportTelemetry',!0x1),_0x434a2a(this,_0x2b1125(0x212),null),(this[_0x2b1125(0x497)]=_0x34e8e3,this[_0x2b1125(0x1aa)]=_0x26296d,this[_0x2b1125(0x4ec)]=_0x5939c9,this[_0x2b1125(0x31a)]=_0x269bd3,this[_0x2b1125(0x494)]=_0x596625,this['_localeService']=_0x44f970,this[_0x2b1125(0x4d4)]=_0x24c606,this[_0x2b1125(0x4bc)]=_0x1346b5,this[_0x2b1125(0x112)]=_0x10e5d0,this[_0x2b1125(0x30b)]=!!this[_0x2b1125(0x112)],_0x535b9d[_0x2b1125(0x4f9)](_0x1837c6[_0x2b1125(0x23e)](this[_0x2b1125(0x423)]))[_0x2b1125(0x138)](_0x23189b=>{const _0x21ecc5=_0x2b1125;var _0x146c01;typeof _0x23189b>'u'||(this[_0x21ecc5(0xfa)]=_0x23189b,_0x23189b?(this[_0x21ecc5(0x4c8)](_0x23189b),this['_socketMessageSubscription']=_0x23189b[_0x21ecc5(0x421)]['subscribe'](_0x485e73=>{const _0x2227bc=_0x21ecc5;_0x485e73[_0x2227bc(0x16b)]===this[_0x2227bc(0x497)]&&this[_0x2227bc(0x163)](_0x485e73);})):(this[_0x21ecc5(0x412)](),this[_0x21ecc5(0x336)][_0x21ecc5(0x3e8)](0x2),(_0x146c01=this[_0x21ecc5(0x3b3)])==null||_0x146c01['unsubscribe'](),this[_0x21ecc5(0x3b3)]=null));}),this['disposeWithMe'](this[_0x2b1125(0x4ec)][_0x2b1125(0x198)](()=>{const _0x42d3a0=_0x2b1125;var _0x104b53;(_0x104b53=this['_socket'])==null||_0x104b53[_0x42d3a0(0x151)]({'cmd':_0x1779e6[_0x42d3a0(0x22d)],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x55148c=_0x4deb9c;return this[_0x55148c(0x336)][_0x55148c(0x22e)]();}[_0x4deb9c(0x146)](){const _0x15e2ea=_0x4deb9c;var _0x25de0d,_0x402649;return(_0x402649=(_0x25de0d=this['_socket'])==null?void 0x0:_0x25de0d[_0x15e2ea(0x217)])!=null?_0x402649:null;}['dispose'](){const _0x5ab8e2=_0x4deb9c;super['dispose'](),this[_0x5ab8e2(0x423)][_0x5ab8e2(0x3e8)](),this['dispose$'][_0x5ab8e2(0x4d3)]();}[_0x4deb9c(0x44e)](){const _0x47dcef=_0x4deb9c;var _0x5c7457,_0x1cc5e5;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5c7457=this[_0x47dcef(0xfa)])==null||_0x5c7457['send']({'cmd':_0x1779e6[_0x47dcef(0x22d)],'data':{'roomID':this[_0x47dcef(0x497)]}}),(_0x1cc5e5=this['_socket'])==null||_0x1cc5e5[_0x47dcef(0x44e)](),this[_0x47dcef(0x14a)][_0x47dcef(0x4d3)](),this[_0x47dcef(0x336)]['complete'](),this[_0x47dcef(0x241)]();}[_0x4deb9c(0x163)](_0x37be80){const _0x2729d0=_0x4deb9c;_0x37be80['cmd']===_0x1779e6[_0x2729d0(0x39a)]?this[_0x2729d0(0x481)](_0x37be80):_0x37be80[_0x2729d0(0x38b)]===_0x1779e6['RECV']&&this[_0x2729d0(0x3dc)](_0x37be80);}[_0x4deb9c(0x4c8)](_0x6cab2d){const _0x1307d1=_0x4deb9c;this[_0x1307d1(0x336)]['next'](0x1),_0x6cab2d[_0x1307d1(0x151)]({'cmd':_0x1779e6[_0x1307d1(0x39a)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4deb9c(0x481)](_0x16a310){const _0x10a035=_0x4deb9c;var _0x72b688;if(_0x16a310['code']===_0x456623[_0x10a035(0x486)]){this[_0x10a035(0x31a)][_0x10a035(0x2a7)]({'type':_0x1c0df8[_0x10a035(0x25c)][_0x10a035(0x435)],'content':this['_localeService']['t']('session.room-full')}),this['_sessionStatus$'][_0x10a035(0x3e8)](0x2);return;}this[_0x10a035(0x336)][_0x10a035(0x3e8)](0x3);const _0x1bc12f=(_0x72b688=_0x16a310[_0x10a035(0xf9)][_0x10a035(0x176)][this['_unitID']])==null?void 0x0:_0x72b688['members'];_0x1bc12f&&_0x1bc12f[_0x10a035(0x4cc)](_0x3e8b5e=>this[_0x10a035(0x4d4)][_0x10a035(0x1e8)](this[_0x10a035(0x497)],_0x3e8b5e));}[_0x4deb9c(0x3dc)](_0x380f9a){const _0x5436d1=_0x4deb9c;try{const _0x57c871=_0x380f9a[_0x5436d1(0xf9)];switch(_0x57c871[_0x5436d1(0x2aa)]){case _0x5c3399['CollaborationEvent']['USERS_ENTER']:this[_0x5436d1(0x1a7)](_0x57c871),this[_0x5436d1(0x14a)][_0x5436d1(0x3e8)](_0x57c871);break;case _0x5c3399[_0x5436d1(0x3d6)][_0x5436d1(0x203)]:this[_0x5436d1(0x148)](_0x57c871),this[_0x5436d1(0x14a)][_0x5436d1(0x3e8)](_0x57c871);break;case _0x5c3399[_0x5436d1(0x3d6)]['CHANGESET_ACK']:this[_0x5436d1(0x3cb)](),this[_0x5436d1(0x4b8)](),this[_0x5436d1(0x14a)]['next'](_0x57c871);break;case _0x5c3399[_0x5436d1(0x3d6)][_0x5436d1(0x174)]:this[_0x5436d1(0x1aa)][_0x5436d1(0x46e)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5436d1(0x428)](_0x57c871)),this[_0x5436d1(0x14a)]['next'](_0x57c871);break;case _0x5c3399[_0x5436d1(0x3d6)][_0x5436d1(0x1ec)]:this[_0x5436d1(0x4bc)][_0x5436d1(0x4c3)](_0x57c871[_0x5436d1(0xf9)]),this[_0x5436d1(0x14a)]['next'](_0x57c871);break;default:this[_0x5436d1(0x14a)][_0x5436d1(0x3e8)](_0x57c871);}}catch(_0x354056){this[_0x5436d1(0x1aa)][_0x5436d1(0x46e)](_0x354056,_0x380f9a);}}[_0x4deb9c(0x1a7)](_0x16d7d6){const _0x4ba95c=_0x4deb9c;this[_0x4ba95c(0x4d4)][_0x4ba95c(0x1e8)](this['_unitID'],_0x16d7d6[_0x4ba95c(0xf9)]);}[_0x4deb9c(0x148)](_0x315329){const _0x49246f=_0x4deb9c;this['_memberService'][_0x49246f(0x44f)](this['_unitID'],_0x315329[_0x49246f(0xf9)]['memberID']);}async[_0x4deb9c(0x151)](_0x1747bb,_0x19e30b){const _0x18025a=_0x4deb9c;if(this[_0x18025a(0x230)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1747bb[_0x18025a(0x2aa)]===_0x5c3399[_0x18025a(0x3d6)]['SUBMIT_CHANGESET']&&(this[_0x18025a(0x43c)](),this[_0x18025a(0x390)](_0x1747bb)),this[_0x18025a(0xfa)][_0x18025a(0x151)]({'cmd':_0x1779e6[_0x18025a(0xf4)],'routeKey':_0x19e30b,'routeType':'','data':_0x1747bb});}catch(_0x352bab){this[_0x18025a(0x1aa)]['error'](_0x352bab);}}[_0x4deb9c(0x43c)](){const _0x205765=_0x4deb9c;var _0x5c6b31;this['_collaborationTimeoutTimer']=window[_0x205765(0x479)](()=>{const _0x2a1691=_0x205765;this[_0x2a1691(0x4ed)]=null,this['_messageService'][_0x2a1691(0x2a7)]({'type':_0x1c0df8['MessageType'][_0x2a1691(0x2b7)],'content':this[_0x2a1691(0x182)]['t']('session.collaboration-timeout')});},(_0x5c6b31=this[_0x205765(0x494)]['getConfig'](_0x1bc3ee))!=null?_0x5c6b31:0x4e20);}[_0x4deb9c(0x4b8)](){const _0x31e8d5=_0x4deb9c;this[_0x31e8d5(0x4ed)]&&(clearTimeout(this[_0x31e8d5(0x4ed)]),this[_0x31e8d5(0x4ed)]=null);}[_0x4deb9c(0x390)](_0x4e9edf){const _0x5b3c90=_0x4deb9c;if(!this[_0x5b3c90(0x30b)])return;const {data:_0x180616}=_0x4e9edf,{unitID:_0x59e238,changeset:_0x407749}=_0x180616,{mutations:_0x159c22,type:_0xe6ccf8}=_0x407749;this['_telemetryInfo']={'unitId':_0x59e238,'type':_0xe6ccf8,'startTime':performance[_0x5b3c90(0x3d8)](),'stopTime':0x0,'duration':0x0,'size':_0x5d818b(_0x159c22)};}[_0x4deb9c(0x3cb)](){const _0x1f2406=_0x4deb9c;if(this[_0x1f2406(0x30b)]){if(!this[_0x1f2406(0x212)]){this['_logService'][_0x1f2406(0x46e)]('[CollaborationSession]',_0x1f2406(0x26e));return;}this[_0x1f2406(0x212)][_0x1f2406(0x35c)]=performance[_0x1f2406(0x3d8)](),this[_0x1f2406(0x212)][_0x1f2406(0x2c9)]=this[_0x1f2406(0x212)][_0x1f2406(0x35c)]-this[_0x1f2406(0x212)][_0x1f2406(0x26a)],this[_0x1f2406(0x112)][_0x1f2406(0x211)](_0x4a3b8e,this[_0x1f2406(0x212)]),this['_telemetryInfo']=null;}}[_0x4deb9c(0x412)](){const _0x578f5a=_0x4deb9c;this[_0x578f5a(0x212)]=null;}},_0x3723aa['CollaborationSession']=_0x50f615([_0x29b6c4(0x2,_0x44f3cf['ILogService']),_0x29b6c4(0x3,_0x90d6c1[_0x4deb9c(0x27d)]),_0x29b6c4(0x4,_0x90d6c1[_0x4deb9c(0x1b2)]),_0x29b6c4(0x5,_0x44f3cf['IConfigService']),_0x29b6c4(0x6,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x440)])),_0x29b6c4(0x7,_0x44f3cf['Inject'](_0x32fe7e)),_0x29b6c4(0x8,_0x44f3cf['Inject'](_0x523579)),_0x29b6c4(0x9,_0x44f3cf['Optional'](_0x2b7353['ITelemetryService']))],_0x3723aa['CollaborationSession']);var _0x286d1b=Object[_0x4deb9c(0x4f6)],_0x324b66=Object[_0x4deb9c(0x3d9)],_0x516b21=(_0x4b6291,_0x4b1a52,_0xb3b596,_0x60539a)=>{const _0xa34792=_0x4deb9c;for(var _0x5e61b5=_0x60539a>0x1?void 0x0:_0x60539a?_0x324b66(_0x4b1a52,_0xb3b596):_0x4b1a52,_0x2852d1=_0x4b6291[_0xa34792(0x17a)]-0x1,_0xcd57ea;_0x2852d1>=0x0;_0x2852d1--)(_0xcd57ea=_0x4b6291[_0x2852d1])&&(_0x5e61b5=(_0x60539a?_0xcd57ea(_0x4b1a52,_0xb3b596,_0x5e61b5):_0xcd57ea(_0x5e61b5))||_0x5e61b5);return _0x60539a&&_0x5e61b5&&_0x286d1b(_0x4b1a52,_0xb3b596,_0x5e61b5),_0x5e61b5;},_0x3fc46d=(_0x57a3e3,_0x3eaef7)=>(_0xe4bbe9,_0x2405e1)=>_0x3eaef7(_0xe4bbe9,_0x2405e1,_0x57a3e3);_0x3723aa[_0x4deb9c(0x433)]=class extends _0x44f3cf[_0x4deb9c(0x50a)]{constructor(_0x75d050,_0x265f7d,_0x236c39,_0x296d7b,_0xbb4fc3,_0x414ac0){const _0x39a7d7=_0x4deb9c;super(),_0x434a2a(this,'_socket$',new _0x1837c6[(_0x39a7d7(0x17d))](void 0x0)),_0x434a2a(this,_0x39a7d7(0x18b),this[_0x39a7d7(0x246)][_0x39a7d7(0x4eb)]()),_0x434a2a(this,_0x39a7d7(0x475),null),_0x434a2a(this,_0x39a7d7(0x108),new Map()),_0x434a2a(this,_0x39a7d7(0xf7),new _0x1837c6[(_0x39a7d7(0x17d))](_0x4388c5['IDLE'])),_0x434a2a(this,_0x39a7d7(0x43a),this[_0x39a7d7(0xf7)][_0x39a7d7(0x4eb)]()),_0x434a2a(this,_0x39a7d7(0x315),!0x1),_0x434a2a(this,_0x39a7d7(0x2a3)),_0x434a2a(this,_0x39a7d7(0x22a),0x0),_0x434a2a(this,_0x39a7d7(0x1b6)),_0x434a2a(this,'_timeoutTimer'),(this[_0x39a7d7(0x25f)]=_0x75d050,this[_0x39a7d7(0x182)]=_0x265f7d,this[_0x39a7d7(0x31a)]=_0x236c39,this['_logService']=_0x296d7b,this['_configService']=_0xbb4fc3,this[_0x39a7d7(0x11a)]=_0x414ac0);}get[_0x4deb9c(0xfa)](){const _0x863027=_0x4deb9c;return this['_socket$'][_0x863027(0x22e)]();}['dispose'](){const _0xd7ea13=_0x4deb9c;super['dispose'](),this[_0xd7ea13(0x108)][_0xd7ea13(0x4cc)](_0x216336=>_0x216336[_0xd7ea13(0x241)]()),this[_0xd7ea13(0x108)]['clear'](),this[_0xd7ea13(0xf7)]['complete']();}async[_0x4deb9c(0x10f)](_0x5be3e2){const _0x27e100=_0x4deb9c;if(this[_0x27e100(0x108)]['has'](_0x5be3e2))return this[_0x27e100(0x108)][_0x27e100(0x38c)](_0x5be3e2);this[_0x27e100(0x27e)]();const _0x1e4ae2=this[_0x27e100(0x25f)]['createInstance'](_0x3723aa[_0x27e100(0x404)],_0x5be3e2,this['_socket$']['asObservable']());return this[_0x27e100(0x108)][_0x27e100(0x2b2)](_0x5be3e2,_0x1e4ae2),_0x1e4ae2;}[_0x4deb9c(0x2fb)](_0x342a4f){const _0x34bf1e=_0x4deb9c;var _0x1dc9f9;const _0x300bc4=this[_0x34bf1e(0x108)][_0x34bf1e(0x38c)](_0x342a4f);_0x300bc4&&(this[_0x34bf1e(0x108)][_0x34bf1e(0x312)](_0x342a4f),_0x300bc4[_0x34bf1e(0x44e)]()),this[_0x34bf1e(0x108)][_0x34bf1e(0x23b)]||(_0x1dc9f9=this['_socket'])==null||_0x1dc9f9[_0x34bf1e(0x44e)]();}[_0x4deb9c(0x489)](){const _0x12d322=_0x4deb9c;this[_0x12d322(0x22a)]=0x0,this[_0x12d322(0x2a3)]!=null&&(clearTimeout(this[_0x12d322(0x2a3)]),this[_0x12d322(0x2a3)]=null),this[_0x12d322(0x2d1)]();}[_0x4deb9c(0x396)](){const _0x3eba98=_0x4deb9c;var _0x24f371;const _0x219268=(_0x24f371=this['_configService'][_0x3eba98(0x2cd)](_0x58c006))!=null?_0x24f371:_0x2fe1b1,_0x5c3896=this[_0x3eba98(0x11a)][_0x3eba98(0x1c4)](_0x219268);return this[_0x3eba98(0x475)]=_0x5c3896,_0x5c3896;}[_0x4deb9c(0x27e)](){const _0x2cc51f=_0x4deb9c;var _0x45b91c,_0x347e7f;try{const _0xc71eed=(_0x347e7f=(_0x45b91c=this[_0x2cc51f(0xfa)])!=null?_0x45b91c:this[_0x2cc51f(0x475)])!=null?_0x347e7f:this[_0x2cc51f(0x396)]();if(_0xc71eed){const _0x144524=_0xc71eed[_0x2cc51f(0x151)];_0xc71eed[_0x2cc51f(0x151)]=_0x314158=>(this[_0x2cc51f(0x2e9)](),_0x144524[_0x2cc51f(0x3ba)](_0xc71eed,[_0x314158])),_0xc71eed[_0x2cc51f(0x421)][_0x2cc51f(0x138)](_0x6231f1=>this[_0x2cc51f(0x351)](_0xc71eed,_0x6231f1)),_0xc71eed[_0x2cc51f(0x1e7)][_0x2cc51f(0x4f9)](_0x3ab9e8[_0x2cc51f(0x215)](0x1))[_0x2cc51f(0x138)](_0x5de836=>this['_logService'][_0x2cc51f(0x46e)](_0x2cc51f(0x345),_0x5de836)),_0xc71eed[_0x2cc51f(0x13a)][_0x2cc51f(0x4f9)](_0x3ab9e8[_0x2cc51f(0x215)](0x1))[_0x2cc51f(0x138)](()=>{this['_onConnectionOpen'](_0xc71eed);}),_0xc71eed[_0x2cc51f(0x144)][_0x2cc51f(0x4f9)](_0x3ab9e8['take'](0x1))['subscribe'](_0x3f0f68=>{const _0x5c231d=_0x2cc51f;this[_0x5c231d(0x1aa)]['debug'](_0x5c231d(0x1ca),_0x5c231d(0x2bd),_0x3f0f68),this[_0x5c231d(0x218)]();});}}catch(_0x3146d2){this[_0x2cc51f(0x1aa)][_0x2cc51f(0x46e)](_0x3146d2),this[_0x2cc51f(0x218)]();}}['_onConnectionOpen'](_0x2bbf84){const _0x5c3323=_0x4deb9c;this[_0x5c3323(0x1aa)][_0x5c3323(0x3e6)](_0x5c3323(0x1ca),_0x5c3323(0x4b3)),_0x2bbf84[_0x5c3323(0x151)]({'cmd':_0x1779e6['HELLO']}),this[_0x5c3323(0x2e9)](),this['_listenToOfflineEvent']();}[_0x4deb9c(0x2ff)](){const _0x43bece=_0x4deb9c,_0x2b91af=()=>{const _0x447ac7=_0x47c1;this[_0x447ac7(0x1d7)](),this['_listenToOnlineEvent'](),window[_0x447ac7(0x400)](_0x447ac7(0x143),_0x2b91af);};window[_0x43bece(0x168)](_0x43bece(0x143),_0x2b91af);}[_0x4deb9c(0x1d7)](){const _0x23d80d=_0x4deb9c;this['_socketReady']=!0x1,this[_0x23d80d(0xf7)]['next'](_0x4388c5[_0x23d80d(0x135)]),this[_0x23d80d(0x246)][_0x23d80d(0x3e8)](null),this['_clearTimeoutTimer'](),this[_0x23d80d(0x37b)]();}['_onConnectionFailed'](){const _0x5c25d8=_0x4deb9c;var _0x2c046b;this[_0x5c25d8(0x1d7)](),this[_0x5c25d8(0x22a)]<((_0x2c046b=this[_0x5c25d8(0x494)][_0x5c25d8(0x2cd)](_0x3eddeb))!=null?_0x2c046b:0x3)?(this[_0x5c25d8(0x31a)][_0x5c25d8(0x2a7)]({'key':_0x5c25d8(0x2b0),'type':_0x1c0df8[_0x5c25d8(0x25c)][_0x5c25d8(0x435)],'content':this['_localeService']['t'](_0x5c25d8(0x325))}),this[_0x5c25d8(0x2d1)]()):(this[_0x5c25d8(0x31a)][_0x5c25d8(0x2a7)]({'key':_0x5c25d8(0x2b0),'type':_0x1c0df8[_0x5c25d8(0x25c)][_0x5c25d8(0x2b7)],'content':this['_localeService']['t']('session.connection-failed')}),this[_0x5c25d8(0x149)]());}[_0x4deb9c(0x149)](){const _0x3a5125=_0x4deb9c,_0x2596d8=()=>{const _0x351cdf=_0x47c1;this[_0x351cdf(0x489)](),window['removeEventListener'](_0x351cdf(0x1b5),_0x2596d8);};window[_0x3a5125(0x168)]('online',_0x2596d8),this[_0x3a5125(0x246)]['pipe'](_0x3ab9e8[_0x3a5125(0x39e)](_0x4085c=>!!_0x4085c),_0x3ab9e8['take'](0x1))[_0x3a5125(0x138)](()=>{window['removeEventListener']('online',_0x2596d8);});}['_tryReconnect'](){const _0x57e9d3=_0x4deb9c;var _0xb5602a;const _0x2f8258=this[_0x57e9d3(0x22a)],_0xba76e=_0x2f8258===0x0?0x0:((_0xb5602a=this[_0x57e9d3(0x494)]['getConfig'](_0x31135c))!=null?_0xb5602a:0x4e20)*0x2**_0x2f8258;this[_0x57e9d3(0x2a3)]=window[_0x57e9d3(0x479)](()=>{const _0x10adb1=_0x57e9d3;clearTimeout(this[_0x10adb1(0x2a3)]),this[_0x10adb1(0x2a3)]=null,this[_0x10adb1(0x27e)]();},_0xba76e),this[_0x57e9d3(0x22a)]+=0x1;}[_0x4deb9c(0x351)](_0x1851d0,_0x105c48){const _0x599d8e=_0x4deb9c,{cmd:_0x2e1937}=_0x105c48;_0x2e1937===_0x1779e6[_0x599d8e(0x303)]&&!this['_socketReady']&&(_0x1851d0[_0x599d8e(0x217)]=_0x105c48[_0x599d8e(0xf9)]['memberID'],this[_0x599d8e(0x246)][_0x599d8e(0x3e8)](_0x1851d0),this[_0x599d8e(0xf7)][_0x599d8e(0x3e8)](_0x4388c5[_0x599d8e(0x1df)]),this[_0x599d8e(0x315)]=!0x0,this[_0x599d8e(0x475)]=null),_0x2e1937===_0x1779e6[_0x599d8e(0x3d5)]&&this[_0x599d8e(0x11d)](),this['_rescheduleHeartbeat']();}[_0x4deb9c(0x2e9)](){const _0xb153b2=_0x4deb9c;var _0x42ab33;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window[_0xb153b2(0x479)](()=>this[_0xb153b2(0x234)](),(_0x42ab33=this[_0xb153b2(0x494)]['getConfig'](_0x4175a2))!=null?_0x42ab33:0x7530);}[_0x4deb9c(0x234)](){const _0x1ef863=_0x4deb9c;this[_0x1ef863(0xfa)][_0x1ef863(0x151)]({'cmd':_0x1779e6[_0x1ef863(0x3d5)]}),this[_0x1ef863(0x1a2)]();}[_0x4deb9c(0x1a2)](){const _0x507b2c=_0x4deb9c;var _0x5d7553;this['_timeoutTimer']=window['setTimeout'](()=>this[_0x507b2c(0x218)](),(_0x5d7553=this['_configService'][_0x507b2c(0x2cd)](_0x1bc3ee))!=null?_0x5d7553:0x4e20);}[_0x4deb9c(0x37b)](){const _0xd00934=_0x4deb9c;this[_0xd00934(0x1b6)]!=null&&(clearTimeout(this[_0xd00934(0x1b6)]),this[_0xd00934(0x1b6)]=null);}[_0x4deb9c(0x11d)](){const _0x2d51db=_0x4deb9c;this[_0x2d51db(0x41c)]!=null&&(clearTimeout(this[_0x2d51db(0x41c)]),this[_0x2d51db(0x41c)]=null);}},_0x3723aa['CollaborationSessionService']=_0x516b21([_0x3fc46d(0x0,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x3fc46d(0x1,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf['LocaleService'])),_0x3fc46d(0x2,_0x90d6c1['IMessageService']),_0x3fc46d(0x3,_0x44f3cf[_0x4deb9c(0x4e5)]),_0x3fc46d(0x4,_0x44f3cf[_0x4deb9c(0x150)]),_0x3fc46d(0x5,_0x2f8f8b)],_0x3723aa[_0x4deb9c(0x433)]);var _0x5e68c6=Object[_0x4deb9c(0x4f6)],_0x43bdb4=Object[_0x4deb9c(0x3d9)],_0x40d14a=(_0x433e6e,_0x431152,_0x51fdc6,_0x146579)=>{const _0x3c692c=_0x4deb9c;for(var _0x2af9d3=_0x146579>0x1?void 0x0:_0x146579?_0x43bdb4(_0x431152,_0x51fdc6):_0x431152,_0x496305=_0x433e6e[_0x3c692c(0x17a)]-0x1,_0x13cb53;_0x496305>=0x0;_0x496305--)(_0x13cb53=_0x433e6e[_0x496305])&&(_0x2af9d3=(_0x146579?_0x13cb53(_0x431152,_0x51fdc6,_0x2af9d3):_0x13cb53(_0x2af9d3))||_0x2af9d3);return _0x146579&&_0x2af9d3&&_0x5e68c6(_0x431152,_0x51fdc6,_0x2af9d3),_0x2af9d3;},_0x58267a=(_0x212041,_0x4ec43e)=>(_0x485797,_0x3ffa6e)=>_0x4ec43e(_0x485797,_0x3ffa6e,_0x212041);let _0x8239a3=class{constructor(_0x43e74c,_0x1effe1,_0x4a787e){const _0x54eca2=_0x4deb9c;this[_0x54eca2(0x25f)]=_0x43e74c,this['_transformService']=_0x1effe1,this['_renderManagerService']=_0x4a787e;}[_0x4deb9c(0x178)](_0x47b940){const _0x88c90d=_0x4deb9c;this[_0x88c90d(0x4ce)](_0x47b940),this[_0x88c90d(0x17c)](_0x47b940);}[_0x4deb9c(0x3d0)](_0x4d5385){const _0x55ed70=_0x4deb9c,{unitID:_0x8479c1}=_0x4d5385,_0x3de0e8=this['_renderManagerService'][_0x55ed70(0x119)](_0x8479c1)['with'](_0x50f029[_0x55ed70(0x202)]),{redoCache:_0x28292c}=_0x3de0e8[_0x55ed70(0x35e)]();if(_0x28292c[_0x55ed70(0x17a)]===0x0)return _0x4d5385;let _0x4aa705=_0x44f3cf[_0x55ed70(0x45a)][_0x55ed70(0x2c4)](_0x4d5385[_0x55ed70(0x367)][0x0]);for(let _0x4b0737=0x0;_0x4b0737<_0x28292c[_0x55ed70(0x17a)];_0x4b0737++){const _0x2c1018={'id':'doc.mutation.rich-text-editing','params':{..._0x28292c[_0x4b0737]}},_0x3df697=this[_0x55ed70(0x3c2)][_0x55ed70(0x3ea)](_0x4aa705,_0x2c1018,!0x1);if(_0x5c3399['isTransformMutationFailure'](_0x3df697))throw _0x3df697['error'];_0x4aa705=_0x3df697['m1Prime'];}return{..._0x44f3cf[_0x55ed70(0x45a)][_0x55ed70(0x2c4)](_0x4d5385),'mutations':[_0x4aa705]};}['_transformUndoRedoStack'](_0x43d0cb){const _0x2262aa=_0x4deb9c,{unitID:_0xda7b3c}=_0x43d0cb,_0xcc212c=this[_0x2262aa(0x47c)]['getRenderById'](_0xda7b3c)['with'](_0x50f029['DocIMEInputManagerService']),{undoCache:_0x17d966,redoCache:_0x268480}=_0xcc212c[_0x2262aa(0x35e)]();if(_0x17d966[_0x2262aa(0x17a)]===0x0||_0x268480['length']===0x0)return;const _0x3f925a=[],_0x238014=[];let _0x386eab=_0x44f3cf[_0x2262aa(0x45a)][_0x2262aa(0x2c4)](_0x43d0cb[_0x2262aa(0x367)][0x0]),_0x31db24=_0x44f3cf['Tools'][_0x2262aa(0x2c4)](_0x43d0cb['mutations'][0x0]);for(let _0x36721c=_0x17d966[_0x2262aa(0x17a)]-0x1;_0x36721c>=0x0;_0x36721c--){const _0x15a5fd={'id':'doc.mutation.rich-text-editing','params':{..._0x17d966[_0x36721c]}},_0x27d60f={'id':_0x2262aa(0x190),'params':{..._0x268480[_0x36721c]}},_0x4082ea=this[_0x2262aa(0x3c2)][_0x2262aa(0x3ea)](_0x386eab,_0x15a5fd,!0x1),_0x30a959=this['_transformService']['transformMutation'](_0x31db24,_0x27d60f,!0x1);if(_0x5c3399['isTransformMutationFailure'](_0x4082ea))throw _0x4082ea[_0x2262aa(0x46e)];if(_0x5c3399[_0x2262aa(0x128)](_0x30a959))throw _0x30a959[_0x2262aa(0x46e)];_0x3f925a[_0x2262aa(0x103)](_0x4082ea[_0x2262aa(0x499)][_0x2262aa(0x3fd)]),_0x238014[_0x2262aa(0x103)](_0x30a959[_0x2262aa(0x499)][_0x2262aa(0x3fd)]),_0x386eab=_0x4082ea[_0x2262aa(0x3bb)],_0x31db24=_0x30a959[_0x2262aa(0x3bb)];}_0xcc212c[_0x2262aa(0x48d)]({'undoCache':_0x3f925a,'redoCache':_0x238014});}[_0x4deb9c(0x17c)](_0x34ed31){const _0x16acc4=_0x4deb9c,{unitID:_0x55b5a3}=_0x34ed31,_0x82c89a=this[_0x16acc4(0x47c)]['getRenderById'](_0x55b5a3)[_0x16acc4(0x3ee)](_0x50f029[_0x16acc4(0x202)]),_0x25edd1=_0x82c89a[_0x16acc4(0x1b0)]();if(_0x25edd1==null)return;const _0x2e7f21=[{'id':_0x16acc4(0x190),'params':{'unitId':_0x34ed31[_0x16acc4(0x282)],'actions':null,'textRanges':[_0x25edd1]}}],_0x4ff4e8=this[_0x16acc4(0x3c2)]['transformMutationsWithChangeset'](_0x34ed31,_0x2e7f21);if(!_0x5c3399[_0x16acc4(0x264)](_0x4ff4e8))throw _0x4ff4e8['error'];const _0x34b2f4=_0x4ff4e8['m2Prime'][0x0]['params']['textRanges'];Array[_0x16acc4(0x4be)](_0x34b2f4)&&_0x34b2f4[_0x16acc4(0x17a)]&&_0x82c89a[_0x16acc4(0x1a8)](_0x34b2f4[0x0]);}};_0x8239a3=_0x40d14a([_0x58267a(0x0,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf['Injector'])),_0x58267a(0x1,_0x5c3399[_0x4deb9c(0x453)]),_0x58267a(0x2,_0x278226[_0x4deb9c(0x2db)])],_0x8239a3);var _0xc36bab=Object[_0x4deb9c(0x4f6)],_0x594613=Object[_0x4deb9c(0x3d9)],_0x564be3=(_0x2cf51f,_0x23fb40,_0x1958a2,_0x6c8e4a)=>{const _0x432a09=_0x4deb9c;for(var _0x47ef9d=_0x6c8e4a>0x1?void 0x0:_0x6c8e4a?_0x594613(_0x23fb40,_0x1958a2):_0x23fb40,_0x58faf4=_0x2cf51f[_0x432a09(0x17a)]-0x1,_0x2e8340;_0x58faf4>=0x0;_0x58faf4--)(_0x2e8340=_0x2cf51f[_0x58faf4])&&(_0x47ef9d=(_0x6c8e4a?_0x2e8340(_0x23fb40,_0x1958a2,_0x47ef9d):_0x2e8340(_0x47ef9d))||_0x47ef9d);return _0x6c8e4a&&_0x47ef9d&&_0xc36bab(_0x23fb40,_0x1958a2,_0x47ef9d),_0x47ef9d;},_0x99bb1b=(_0x27a986,_0x266929)=>(_0x318fd7,_0xd3c972)=>_0x266929(_0x318fd7,_0xd3c972,_0x27a986);_0x3723aa[_0x4deb9c(0x1d5)]=class extends _0x44f3cf[_0x4deb9c(0x50a)]{constructor(_0x4c3fba,_0x28e381,_0x3833f2,_0x59a1bd,_0x34d09b){const _0x2d500c=_0x4deb9c;super(),_0x434a2a(this,'_cachedData',new Map()),_0x434a2a(this,_0x2d500c(0x38d),new Map()),_0x434a2a(this,_0x2d500c(0x102),!0x1),(this[_0x2d500c(0x494)]=_0x4c3fba,this[_0x2d500c(0x496)]=_0x28e381,this['_beforeCloseService']=_0x3833f2,this['_localeService']=_0x59a1bd,this[_0x2d500c(0x2af)]=_0x34d09b,this[_0x2d500c(0x4d0)]());}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x4deb9c(0x241)](){const _0x43fe24=_0x4deb9c;this['exhaustSavingTask']()[_0x43fe24(0x15b)](()=>super[_0x43fe24(0x241)]());}async[_0x4deb9c(0x286)](_0x4764ab){const _0x143cd3=_0x4deb9c;return this[_0x143cd3(0x102)]?null:this['_localStorageService'][_0x143cd3(0x195)](_0x5cae74(_0x4764ab));}async[_0x4deb9c(0x106)](_0xd45abf,_0x1c5ca0){const _0x22c5f4=_0x4deb9c;return!!this['_localStorageService'][_0x22c5f4(0x3db)](_0xd45abf,_0x1c5ca0);}[_0x4deb9c(0x2c8)](_0xc4c36a,_0x58cc49,_0x42ec12,_0x146b43){const _0x2c7d97=_0x4deb9c,_0x50251d=this[_0x2c7d97(0x2af)][_0x2c7d97(0x3a3)](_0xc4c36a);this[_0x2c7d97(0x16f)]['set'](_0xc4c36a,{'unitID':_0xc4c36a,'type':_0x58cc49,'awaitingChangeset':_0x42ec12,'mutations':_0x146b43,'rev':_0x50251d}),this[_0x2c7d97(0x38d)][_0x2c7d97(0x17f)](_0xc4c36a)||this['_scheduleSaving'](_0xc4c36a);}[_0x4deb9c(0x354)](_0x189523){const _0x57c251=_0x4deb9c,_0x36be57=this['_getSaveTimeout']();_0x36be57===0x0?this[_0x57c251(0x1e5)](_0x189523):this['_saveTaskMap'][_0x57c251(0x2b2)](_0x189523,setTimeout(()=>this[_0x57c251(0x1e5)](_0x189523),_0x36be57));}[_0x4deb9c(0x4df)](){const _0x4bac40=_0x4deb9c;var _0x7005d9;return(_0x7005d9=this['_configService'][_0x4bac40(0x2cd)](_0x4c3652))!=null?_0x7005d9:0x3e8;}['_saveCache'](_0x30ac25){const _0x1154d2=_0x4deb9c,_0x552956=this[_0x1154d2(0x38d)][_0x1154d2(0x38c)](_0x30ac25);return _0x552956!==void 0x0&&window[_0x1154d2(0x19e)](_0x552956),this[_0x1154d2(0x496)][_0x1154d2(0x3db)](_0x5cae74(_0x30ac25),this[_0x1154d2(0x16f)][_0x1154d2(0x38c)](_0x30ac25))['then'](()=>this[_0x1154d2(0x38d)]['delete'](_0x30ac25));}async[_0x4deb9c(0x40e)](){const _0x24ebaf=_0x4deb9c,_0x4d6198=[];this[_0x24ebaf(0x38d)][_0x24ebaf(0x4cc)]((_0x155847,_0x197250)=>{const _0x17d87c=_0x24ebaf;window[_0x17d87c(0x19e)](_0x155847),_0x4d6198[_0x17d87c(0x4c0)](this[_0x17d87c(0x1e5)](_0x197250)[_0x17d87c(0x15b)](()=>{const _0x2a821e=_0x17d87c;this[_0x2a821e(0x38d)][_0x2a821e(0x312)](_0x197250);}));}),await Promise['all'](_0x4d6198);}[_0x4deb9c(0x4d0)](){const _0x2e0ec8=_0x4deb9c;this[_0x2e0ec8(0x446)](this['_beforeCloseService'][_0x2e0ec8(0x292)](()=>{const _0x3a275d=_0x2e0ec8;if(this[_0x3a275d(0x38d)][_0x3a275d(0x23b)])return this[_0x3a275d(0x182)]['t'](_0x3a275d(0x209));}));}},_0x3723aa[_0x4deb9c(0x1d5)]=_0x564be3([_0x99bb1b(0x0,_0x44f3cf[_0x4deb9c(0x150)]),_0x99bb1b(0x1,_0x44f3cf[_0x4deb9c(0x2ee)]),_0x99bb1b(0x2,_0x90d6c1[_0x4deb9c(0x27d)]),_0x99bb1b(0x3,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x440)])),_0x99bb1b(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x3b2)]))],_0x3723aa[_0x4deb9c(0x1d5)]);function _0x5cae74(_0x52a918){const _0x3340f6=_0x4deb9c;return _0x3340f6(0x45c)+_0x52a918;}var _0x430a8d=Object['defineProperty'],_0x29db52=Object['getOwnPropertyDescriptor'],_0x22a330=(_0x588d1e,_0x37a8ca,_0x1b125a,_0x28408)=>{const _0x2dafcd=_0x4deb9c;for(var _0x227644=_0x28408>0x1?void 0x0:_0x28408?_0x29db52(_0x37a8ca,_0x1b125a):_0x37a8ca,_0x3de7f1=_0x588d1e[_0x2dafcd(0x17a)]-0x1,_0x3a08a2;_0x3de7f1>=0x0;_0x3de7f1--)(_0x3a08a2=_0x588d1e[_0x3de7f1])&&(_0x227644=(_0x28408?_0x3a08a2(_0x37a8ca,_0x1b125a,_0x227644):_0x3a08a2(_0x227644))||_0x227644);return _0x28408&&_0x227644&&_0x430a8d(_0x37a8ca,_0x1b125a,_0x227644),_0x227644;},_0xc37208=(_0x269b7b,_0x36cdcc)=>(_0x5134f2,_0x3578dc)=>_0x36cdcc(_0x5134f2,_0x3578dc,_0x269b7b);function _0x3ff505(_0x867f1d){const _0x5390e6=_0x4deb9c,{unitID:_0x2cee13,mutations:_0x3fc665}=_0x867f1d;return{'unitId':_0x2cee13,'subUnitId':_0x3fc665[0x0]['params'][_0x5390e6(0x1cd)]};}let _0x356d67=class{constructor(_0x3c343e,_0x582672,_0x500f50){const _0x106713=_0x4deb9c;this[_0x106713(0x25f)]=_0x3c343e,this[_0x106713(0x3c2)]=_0x582672,this[_0x106713(0x4b9)]=_0x500f50;}[_0x4deb9c(0x3f8)](_0x42428a){const _0xcd4eb8=_0x4deb9c;var _0x3e1556,_0x5f0575,_0x58e004,_0x3a60b3,_0x350f45;const _0x499684=this[_0xcd4eb8(0x25f)][_0xcd4eb8(0x38c)](_0x5848ce['SheetsSelectionsService']),{unitId:_0x5ecfc1,subUnitId:_0x2543c7}=_0x3ff505(_0x42428a),_0x3501ef=_0x499684[_0xcd4eb8(0x4fa)](_0x5ecfc1)[_0xcd4eb8(0x141)](),_0xecac5a=(_0x5f0575=(_0x3e1556=this[_0xcd4eb8(0x4b9)][_0xcd4eb8(0x100)](_0x5ecfc1))==null?void 0x0:_0x3e1556[_0xcd4eb8(0x4c5)]())==null?void 0x0:_0x5f0575[_0xcd4eb8(0x456)]();if(_0x3501ef[_0xcd4eb8(0x17a)]===0x0||!_0x5ecfc1||!_0x2543c7)return;const _0x5af539=[{'id':_0x5848ce[_0xcd4eb8(0x3b8)]['id'],'params':{'unitId':_0x5ecfc1,'subUnitId':_0xecac5a,'selections':_0x44f3cf[_0xcd4eb8(0x45a)][_0xcd4eb8(0x2c4)](_0x3501ef)}}],_0x277ebe=this[_0xcd4eb8(0x3c2)][_0xcd4eb8(0x394)](_0x42428a,_0x5af539);if(!_0x5c3399[_0xcd4eb8(0x264)](_0x277ebe))throw _0x277ebe[_0xcd4eb8(0x46e)];const _0x37bf84=(_0x350f45=(_0x3a60b3=(_0x58e004=_0x277ebe[_0xcd4eb8(0x499)][0x0])==null?void 0x0:_0x58e004[_0xcd4eb8(0x3fd)])==null?void 0x0:_0x3a60b3[_0xcd4eb8(0x34d)])!=null?_0x350f45:_0x3501ef;Array[_0xcd4eb8(0x4be)](_0x37bf84)&&_0x37bf84[_0xcd4eb8(0x17a)]&&this['_injector'][_0xcd4eb8(0x38c)](_0x44f3cf[_0xcd4eb8(0x243)])[_0xcd4eb8(0x450)](_0x5848ce['SetSelectionsOperation']['id'],{'unitId':_0x5ecfc1,'subUnitId':_0x2543c7,'selections':_0x37bf84});}};_0x356d67=_0x22a330([_0xc37208(0x0,_0x44f3cf['Inject'](_0x44f3cf[_0x4deb9c(0x483)])),_0xc37208(0x1,_0x5c3399[_0x4deb9c(0x453)]),_0xc37208(0x2,_0x44f3cf[_0x4deb9c(0x165)])],_0x356d67);const _0x27229c=_0x44f3cf[_0x4deb9c(0x1e3)](_0x4deb9c(0x332));var _0x14af59=(_0x220786=>(_0x220786[_0x220786[_0x4deb9c(0x2a9)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x220786[_0x220786[_0x4deb9c(0x270)]=0x1]=_0x4deb9c(0x270),_0x220786))(_0x14af59||{});const _0x27b9ff=0x7530,_0x34df9e=_0x4deb9c(0x183);class _0x19a53f extends _0x44f3cf['Disposable']{constructor(){const _0x3fe698=_0x4deb9c;super(),_0x434a2a(this,_0x3fe698(0x331),_0x44f3cf[_0x3fe698(0x45a)][_0x3fe698(0x4f7)]()),_0x434a2a(this,_0x3fe698(0x158),new Set()),_0x434a2a(this,_0x3fe698(0x36c),new Map()),_0x434a2a(this,_0x3fe698(0x488),null),_0x434a2a(this,_0x3fe698(0x18e),new Map()),_0x434a2a(this,_0x3fe698(0x280),new Map()),this[_0x3fe698(0x4fb)]();}['dispose'](){const _0x52591b=_0x4deb9c;super[_0x52591b(0x241)](),this['_clearOtherTimers'][_0x52591b(0x4cc)]((_0x417abc,_0x71dc0)=>this['_removeClearOtherTimer'](_0x71dc0)),this[_0x52591b(0x488)]&&window[_0x52591b(0x2ac)](this[_0x52591b(0x488)]);}[_0x4deb9c(0x1ea)](_0x759504){const _0x412b99=_0x4deb9c;return this['_ensureSubject'](_0x759504)[_0x412b99(0x4f9)](_0x1837c6[_0x412b99(0x4bf)]());}['editingUnit'](_0x9e4c5d){const _0x2c368b=_0x4deb9c;this[_0x2c368b(0x158)][_0x2c368b(0x23b)]===0x0&&this[_0x2c368b(0x4b0)](),this[_0x2c368b(0x158)]['add'](_0x9e4c5d),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x9e4c5d],'isForwarded':!0x1});}['disposeUnit'](_0x2ce064){const _0x12ce25=_0x4deb9c;this[_0x12ce25(0x158)][_0x12ce25(0x312)](_0x2ce064),this['_selfUnitIDs'][_0x12ce25(0x23b)]===0x0&&this[_0x12ce25(0x488)]&&window[_0x12ce25(0x2ac)](this[_0x12ce25(0x488)]);}[_0x4deb9c(0x4fb)](){const _0x1c325e=_0x4deb9c;this[_0x1c325e(0x446)](_0x44f3cf[_0x1c325e(0x133)](_0x1837c6[_0x1c325e(0x4db)](window,_0x1c325e(0x188))[_0x1c325e(0x138)](_0x37e158=>{const _0x3b14a6=_0x1c325e;if(_0x37e158[_0x3b14a6(0x2e0)]!==_0x34df9e||!_0x37e158['newValue'])return;const _0x458366=JSON[_0x3b14a6(0x4ab)](_0x37e158['newValue']);this['_handleEvent'](_0x458366);}))),window[_0x1c325e(0x168)](_0x1c325e(0x3e3),()=>this[_0x1c325e(0x352)]({'type':0x1,'memberID':this[_0x1c325e(0x331)],'unitIDs':Array[_0x1c325e(0x4de)](this[_0x1c325e(0x158)])}));}[_0x4deb9c(0x3bc)](_0x570ed5){const _0x6d299e=_0x4deb9c;switch(_0x570ed5[_0x6d299e(0x4f1)]){case 0x0:this['_handleJoinEvent'](_0x570ed5);break;case 0x1:this[_0x6d299e(0x123)](_0x570ed5);break;case 0x2:this[_0x6d299e(0x132)](_0x570ed5);break;}}[_0x4deb9c(0x26c)](_0x3ff48c){const _0x500b02=_0x4deb9c,{unitIDs:_0x1431b8,memberID:_0x53cb24,isForwarded:_0x4ba938}=_0x3ff48c;_0x1431b8[_0x500b02(0x4cc)](_0x23e4d1=>{const _0xabb020=_0x500b02;if(!_0x4ba938&&this[_0xabb020(0x36c)]['has'](_0x23e4d1)&&this[_0xabb020(0x3c3)](_0x23e4d1)[_0xabb020(0x3e8)](0x1),!this['_unitOnClients']['has'](_0x23e4d1)||!this[_0xabb020(0x36c)][_0xabb020(0x38c)](_0x23e4d1)[_0xabb020(0x17f)](_0x53cb24)){const _0x1df859=this[_0xabb020(0x36c)][_0xabb020(0x38c)](_0x23e4d1)||new Set();_0x1df859[_0xabb020(0x117)](_0x53cb24),this[_0xabb020(0x36c)][_0xabb020(0x2b2)](_0x23e4d1,_0x1df859),this['_scheduleClearOtherTimer'](_0x53cb24);}}),_0x4ba938||this[_0x500b02(0x352)]({'type':0x0,'memberID':this[_0x500b02(0x331)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x32c2cd){const _0x1ddd7a=_0x4deb9c;this['_removeClearOtherTimer'](_0x32c2cd);const _0x32e55b=window[_0x1ddd7a(0x479)](()=>{const _0x36fce2=_0x1ddd7a;this[_0x36fce2(0x36c)][_0x36fce2(0x4cc)](_0xc087a5=>{const _0x4c1b78=_0x36fce2;_0xc087a5[_0x4c1b78(0x312)](_0x32c2cd);});},_0x27b9ff*0x2);this[_0x1ddd7a(0x18e)]['set'](_0x32c2cd,_0x32e55b);}[_0x4deb9c(0x2ef)](_0x1558ac){const _0x19dba9=_0x4deb9c;if(this[_0x19dba9(0x18e)]['has'](_0x1558ac)){const _0x2c512c=this[_0x19dba9(0x18e)][_0x19dba9(0x38c)](_0x1558ac);_0x2c512c&&window[_0x19dba9(0x19e)](_0x2c512c),this[_0x19dba9(0x18e)][_0x19dba9(0x2b2)](_0x1558ac,null);}}[_0x4deb9c(0x123)](_0x8dd8d9){const _0x3f66b5=_0x4deb9c,{memberID:_0x5e6f45,unitIDs:_0x181f5e}=_0x8dd8d9;_0x181f5e[_0x3f66b5(0x4cc)](_0x1876f8=>{const _0x323530=_0x3f66b5;var _0x2b4621;const _0x3b8133=this[_0x323530(0x36c)][_0x323530(0x38c)](_0x1876f8);_0x3b8133&&(_0x3b8133['delete'](_0x5e6f45),(_0x2b4621=this[_0x323530(0x3c3)](_0x1876f8))==null||_0x2b4621[_0x323530(0x3e8)](_0x3b8133[_0x323530(0x23b)]===0x0?0x0:0x1));}),this[_0x3f66b5(0x2ef)](_0x5e6f45);}['_handleHeartbeatEvent'](_0x4829c2){const _0x2272e7=_0x4deb9c;this[_0x2272e7(0x170)](_0x4829c2[_0x2272e7(0x217)]);}[_0x4deb9c(0x352)](_0x148dfa){const _0xf62a57=_0x4deb9c;localStorage[_0xf62a57(0x3db)](_0x34df9e,JSON['stringify'](_0x148dfa));}[_0x4deb9c(0x4b0)](){const _0x1e5b12=_0x4deb9c;this['_heartbeatTimer']=window[_0x1e5b12(0x4c9)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x27b9ff);}[_0x4deb9c(0x3c3)](_0x18c19f){const _0x3d62e4=_0x4deb9c;return this[_0x3d62e4(0x280)][_0x3d62e4(0x17f)](_0x18c19f)||this[_0x3d62e4(0x280)][_0x3d62e4(0x2b2)](_0x18c19f,new _0x1837c6['BehaviorSubject'](0x0)),this[_0x3d62e4(0x280)][_0x3d62e4(0x38c)](_0x18c19f);}}function _0x540863(_0x5539a6){const _0x104b5c=_0x4deb9c;let _0x20984c='';for(const _0x344eb8 of _0x5539a6){const {startOffset:_0x466a45,endOffset:_0x3389a5,isActive:_0x53e0e6}=_0x344eb8;_0x20984c[_0x104b5c(0x17a)]&&(_0x20984c+=','),_0x20984c+=_0x466a45+':'+_0x3389a5+':'+(_0x53e0e6?'1':'0');}return _0x20984c;}function _0x58a905(_0x4036a8){const _0x29071c=_0x4deb9c,_0x9e0e88=_0x4036a8['split'](','),_0x51486d=[];for(const _0x5190c5 of _0x9e0e88){const [_0x263eba,_0x47c492,_0x28e8d4]=_0x5190c5['split'](':');_0x51486d[_0x29071c(0x4c0)]({'startOffset':Number(_0x263eba),'endOffset':Number(_0x47c492),'collapsed':_0x263eba===_0x47c492,'isActive':_0x28e8d4==='1'});}return _0x51486d[_0x29071c(0x50c)](_0x99ea32=>_0x99ea32[_0x29071c(0x2d5)])||(_0x51486d[0x0][_0x29071c(0x2d5)]=!0x0),_0x51486d;}class _0x47cf83 extends _0x44f3cf[_0x4deb9c(0x48b)]{constructor(){const _0x18e5e6=_0x4deb9c;super(...arguments),_0x434a2a(this,_0x18e5e6(0x392),new _0x1837c6[(_0x18e5e6(0x17d))](null)),_0x434a2a(this,_0x18e5e6(0x14b),this[_0x18e5e6(0x392)]['asObservable']());}[_0x4deb9c(0x2ca)](_0x2967e1){const _0x404b6b=_0x4deb9c,{unitID:_0x29f118,memberID:_0x31fd24,textRanges:_0x9934a5}=_0x2967e1,_0x4d03be=_0x540863(_0x9934a5),_0x4e13ca={'unitID':_0x29f118,'memberID':_0x31fd24,'selection':_0x4d03be};this[_0x404b6b(0x392)]['next'](_0x4e13ca);}}var _0x248887=Object[_0x4deb9c(0x4f6)],_0x4d0ba3=Object[_0x4deb9c(0x3d9)],_0x10db0d=(_0x46f1f5,_0x3da4f0,_0x47ea89,_0x11e717)=>{const _0x11ff1d=_0x4deb9c;for(var _0x32dc79=_0x11e717>0x1?void 0x0:_0x11e717?_0x4d0ba3(_0x3da4f0,_0x47ea89):_0x3da4f0,_0x388655=_0x46f1f5[_0x11ff1d(0x17a)]-0x1,_0x2eb188;_0x388655>=0x0;_0x388655--)(_0x2eb188=_0x46f1f5[_0x388655])&&(_0x32dc79=(_0x11e717?_0x2eb188(_0x3da4f0,_0x47ea89,_0x32dc79):_0x2eb188(_0x32dc79))||_0x32dc79);return _0x11e717&&_0x32dc79&&_0x248887(_0x3da4f0,_0x47ea89,_0x32dc79),_0x32dc79;},_0xe82381=(_0x182c57,_0x16851e)=>(_0x57bee1,_0x4d3073)=>_0x16851e(_0x57bee1,_0x4d3073,_0x182c57);let _0x2c5796=class{constructor(_0x659310,_0x5c09c6){const _0x5c0175=_0x4deb9c;this[_0x5c0175(0x25f)]=_0x659310,this['_transformService']=_0x5c09c6;}['transformSelections'](_0x50d82f){const _0x399978=_0x4deb9c;var _0x193442;const _0x57f499=this['_injector'][_0x399978(0x38c)](_0x495201[_0x399978(0x432)]),_0x443bd3=(_0x193442=_0x57f499[_0x399978(0x21f)]())!=null?_0x193442:[];if(_0x443bd3['length']===0x0)return;const _0x38508a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50d82f[_0x399978(0x282)],'actions':null,'textRanges':_0x443bd3}}],_0x4f804b=this['_transformService']['transformMutationsWithChangeset'](_0x50d82f,_0x38508a);if(!_0x5c3399[_0x399978(0x264)](_0x4f804b))throw _0x4f804b[_0x399978(0x46e)];const _0xa68ee=_0x4f804b[_0x399978(0x499)][0x0][_0x399978(0x3fd)][_0x399978(0x23f)];Array['isArray'](_0xa68ee)&&_0xa68ee[_0x399978(0x17a)]&&_0x57f499[_0x399978(0x314)](_0xa68ee,!0x1);}};_0x2c5796=_0x10db0d([_0xe82381(0x0,_0x44f3cf['Inject'](_0x44f3cf[_0x4deb9c(0x483)])),_0xe82381(0x1,_0x5c3399[_0x4deb9c(0x453)])],_0x2c5796);const _0x3f0bb1=new Set([_0x5848ce[_0x4deb9c(0x45d)]['id']]);function _0x12777d(_0x1241bd,_0x212f45,_0x538879,_0x11391a,_0x34f810){const _0x5c2eef=_0x4deb9c;var _0x4c0309,_0x299771,_0x4df2c0,_0x446caa;const _0x533f94=[];for(const _0x1bfb68 of _0x1241bd)if(_0x3f0bb1[_0x5c2eef(0x17f)](_0x1bfb68['id'])){if(_0x533f94[_0x5c2eef(0x17a)]>0x0)break;_0x533f94['push'](_0x1bfb68);break;}else _0x533f94[_0x5c2eef(0x4c0)](_0x1bfb68);const _0x2997f0=(_0x299771=(_0x4c0309=_0x34f810[_0x5c2eef(0x2d2)]())==null?void 0x0:_0x4c0309[_0x5c2eef(0x12f)])!=null?_0x299771:_0x5c2eef(0x273),_0x63ccfe=(_0x446caa=(_0x4df2c0=_0x34f810[_0x5c2eef(0x2d2)]())==null?void 0x0:_0x4df2c0['memberID'])!=null?_0x446caa:_0x5c2eef(0x273);return{'changeset':{'unitID':_0x212f45,'type':_0x5c3399['mapDocumentTypeToUniverType'](_0x538879[_0x5c2eef(0x175)](_0x212f45)),'baseRev':_0x11391a[_0x5c2eef(0x3a3)](_0x212f45),'revision':0x0,'userID':_0x2997f0,'memberID':_0x63ccfe,'mutations':_0x533f94},'pendingMutations':_0x1241bd[_0x5c2eef(0x2fa)](_0x533f94[_0x5c2eef(0x17a)])};}function _0x125c7e(_0x33725d,_0x476e04,_0x4e4ce5,_0x227bdd,_0x423e30){const _0x47d668=_0x4deb9c;var _0xb9ae40,_0x1bac5f,_0x2668f,_0x3db905;const _0x2c69e0=[_0x33725d['reduce']((_0x3dd6a5,_0x15fa9e)=>{const _0x40ff8d=_0x47c1;var _0x5a3381;const {id:_0x2f1182}=_0x3dd6a5,{id:_0x540bbe,type:_0x757b90}=_0x15fa9e,_0x136c36=(_0x5a3381=_0x3dd6a5['params'])!=null?_0x5a3381:{'actions':null},_0x37ca9c=_0x15fa9e[_0x40ff8d(0x3fd)];if(_0x2f1182&&_0x2f1182!==_0x540bbe)throw new Error(_0x40ff8d(0x41d)+_0x2f1182+_0x40ff8d(0x293)+_0x540bbe+'.');return{..._0x3dd6a5,'id':_0x540bbe,'type':_0x757b90,'params':{'unitId':_0x37ca9c[_0x40ff8d(0x380)],'textRanges':_0x37ca9c[_0x40ff8d(0x23f)],'actions':_0x44f3cf[_0x40ff8d(0x44c)]['compose'](_0x136c36['actions'],_0x37ca9c[_0x40ff8d(0x3fe)])}};},{})],_0xa348cb=(_0x1bac5f=(_0xb9ae40=_0x423e30['getCurrentUser']())==null?void 0x0:_0xb9ae40[_0x47d668(0x12f)])!=null?_0x1bac5f:_0x47d668(0x273),_0x4e50bf=(_0x3db905=(_0x2668f=_0x423e30[_0x47d668(0x2d2)]())==null?void 0x0:_0x2668f[_0x47d668(0x217)])!=null?_0x3db905:_0x47d668(0x273);return{'changeset':{'unitID':_0x476e04,'type':_0x5c3399[_0x47d668(0x205)](_0x4e4ce5[_0x47d668(0x175)](_0x476e04)),'baseRev':_0x227bdd['getCurrentRevForDocument'](_0x476e04),'revision':0x0,'userID':_0xa348cb,'memberID':_0x4e50bf,'mutations':_0x2c69e0},'pendingMutations':[]};}const _0x4f7f45={'id':_0x5848ce[_0x4deb9c(0x139)]['id'],'type':_0x44f3cf['CommandType'][_0x4deb9c(0x3b0)],'params':{}};var _0x56aa93=Object['defineProperty'],_0x8750b4=Object['getOwnPropertyDescriptor'],_0x2bdc29=(_0x471ef3,_0x7fcaa1,_0x28ed6c,_0x342e67)=>{for(var _0x1b799c=_0x342e67>0x1?void 0x0:_0x342e67?_0x8750b4(_0x7fcaa1,_0x28ed6c):_0x7fcaa1,_0x3f6b66=_0x471ef3['length']-0x1,_0x5dd859;_0x3f6b66>=0x0;_0x3f6b66--)(_0x5dd859=_0x471ef3[_0x3f6b66])&&(_0x1b799c=(_0x342e67?_0x5dd859(_0x7fcaa1,_0x28ed6c,_0x1b799c):_0x5dd859(_0x1b799c))||_0x1b799c);return _0x342e67&&_0x1b799c&&_0x56aa93(_0x7fcaa1,_0x28ed6c,_0x1b799c),_0x1b799c;},_0x56d55b=(_0x339f58,_0x29c2c0)=>(_0x37f78a,_0x5349d8)=>_0x29c2c0(_0x37f78a,_0x5349d8,_0x339f58),_0x1a5e20=(_0x376ebe=>(_0x376ebe['NOT_COLLAB']='not_collab',_0x376ebe['SYNCED']=_0x4deb9c(0x2a8),_0x376ebe[_0x4deb9c(0x3ff)]='pending',_0x376ebe[_0x4deb9c(0x224)]='awaiting',_0x376ebe['AWAITING_WITH_PENDING']=_0x4deb9c(0x3a9),_0x376ebe[_0x4deb9c(0x28a)]=_0x4deb9c(0x4d9),_0x376ebe[_0x4deb9c(0x3d2)]='conflict',_0x376ebe[_0x4deb9c(0x135)]=_0x4deb9c(0x143),_0x376ebe))(_0x1a5e20||{});class _0x53c60b{constructor(_0xd1865d,_0x144aee,_0x36d06d,_0x184ff7,_0x9e161f,_0x377714,_0x286db7,_0x5eb5d4,_0x702fcf){const _0x164e07=_0x4deb9c;_0x434a2a(this,_0x164e07(0x12d),null),_0x434a2a(this,'_pendingMutations',[]),(this['unitID']=_0xd1865d,this['type']=_0x144aee,this['_handler']=_0x9e161f,this['_commandService']=_0x377714,this[_0x164e07(0x3ef)]=_0x286db7,this[_0x164e07(0x2af)]=_0x5eb5d4,this[_0x164e07(0x3d7)]=_0x702fcf,this[_0x164e07(0x12d)]=_0x36d06d,this[_0x164e07(0x268)]=_0x184ff7);}[_0x4deb9c(0x2d4)](_0x4d745a){const _0x3adc43=_0x4deb9c,_0x362aa8=this[_0x3adc43(0x2af)][_0x3adc43(0x3a3)](this['unitID']);return _0x4d745a[_0x3adc43(0x194)]>_0x362aa8+0x1?(this[_0x3adc43(0x323)][_0x3adc43(0x32f)]({'from':_0x362aa8,'to':_0x4d745a[_0x3adc43(0x194)]-0x1}),!0x0):!0x1;}[_0x4deb9c(0x309)](_0x2f5d43){const _0x4b2c97=_0x4deb9c;this[_0x4b2c97(0x3ef)][_0x4b2c97(0x24a)](this[_0x4b2c97(0x282)],_0x2f5d43);}['_transformSelections'](_0x5a10d1){const _0x3e34b8=_0x4deb9c;var _0x254788,_0x56f793;(_0x56f793=(_0x254788=this[_0x3e34b8(0x323)])[_0x3e34b8(0x49c)])==null||_0x56f793[_0x3e34b8(0x2d0)](_0x254788,_0x5a10d1);}[_0x4deb9c(0x4d2)](_0x4f474c){const _0x10d8ac=_0x4deb9c;var _0x57d24a,_0x429985;return(_0x429985=(_0x57d24a=this[_0x10d8ac(0x323)])['onTransformIME'])==null?void 0x0:_0x429985[_0x10d8ac(0x2d0)](_0x57d24a,_0x4f474c);}[_0x4deb9c(0x436)](_0x2848d9){const _0x319755=_0x4deb9c;var _0x5e75fe,_0x31a45f,_0x137cb4;return(_0x137cb4=(_0x31a45f=(_0x5e75fe=this[_0x319755(0x323)])[_0x319755(0x37f)])==null?void 0x0:_0x31a45f['call'](_0x5e75fe,_0x2848d9))!=null?_0x137cb4:_0x2848d9;}['_syncEditingCollabCursor'](_0x5dfd65){const _0x40cd04=_0x4deb9c;var _0x2deeed,_0x5efea7;if(this[_0x40cd04(0x4f1)]===_0x3bfee1[_0x40cd04(0x350)]){const {unitID:_0x49f99b,mutations:_0x5d35e6,memberID:_0x177f7a}=_0x5dfd65,_0x55a583=_0x5d35e6[0x0]['params'][_0x40cd04(0x23f)];Array[_0x40cd04(0x4be)](_0x55a583)&&_0x55a583[_0x40cd04(0x17a)]>0x0&&((_0x5efea7=(_0x2deeed=this[_0x40cd04(0x323)])[_0x40cd04(0x2da)])==null||_0x5efea7[_0x40cd04(0x2d0)](_0x2deeed,{'unitID':_0x49f99b,'memberID':_0x177f7a,'textRanges':_0x55a583}));}}[_0x4deb9c(0x2f9)](){const _0x425173=_0x4deb9c;this['_localCacheService'][_0x425173(0x2c8)](this[_0x425173(0x282)],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x4deb9c(0x3c4)](){const _0x2ecc2d=_0x4deb9c;return this[_0x2ecc2d(0x2af)][_0x2ecc2d(0x3a3)](this[_0x2ecc2d(0x282)]);}[_0x4deb9c(0x1b9)](){const _0x3cf11f=_0x4deb9c;this[_0x3cf11f(0x2af)][_0x3cf11f(0x25a)](this[_0x3cf11f(0x282)]);}[_0x4deb9c(0x261)](_0x5c6b00){const _0x5f3960=_0x4deb9c;var _0x5a5184;const _0x7c0eea=this['_transformRemoteChangesetByIMECache'](_0x5c6b00),_0xdc0312=_0x44f3cf[_0x5f3960(0x274)](_0x7c0eea[_0x5f3960(0x367)],this[_0x5f3960(0x484)],{'fromCollab':!0x0});if(!_0xdc0312[_0x5f3960(0x1a0)])throw _0xdc0312[_0x5f3960(0x46e)]instanceof Error?_0xdc0312[_0x5f3960(0x46e)]:new Error((_0x5a5184=_0xdc0312[_0x5f3960(0x46e)])!=null?_0x5a5184:_0x5f3960(0x208));this['_transformIMECache'](_0x7c0eea),this['_transformUndoredo'](_0x5c6b00),this[_0x5f3960(0x1db)](_0x7c0eea),this[_0x5f3960(0x319)](_0x7c0eea),this[_0x5f3960(0x1b9)]();}}let _0x194137=class extends _0x53c60b{constructor(_0x57ec75,_0x4c85a6,_0x2a8a62,_0x4ba491,_0x394259,_0x575693,_0x16ed64,_0x5461db,_0x12a7ca,_0x292bb2){const _0x481bee=_0x4deb9c;super(_0x57ec75,_0x4c85a6,null,[],_0x2a8a62,_0x5461db,_0x16ed64,_0x4ba491,_0x394259),_0x434a2a(this,_0x481bee(0x111),_0x481bee(0x2a8)),(this[_0x481bee(0x25f)]=_0x575693,this[_0x481bee(0x1aa)]=_0x12a7ca,this[_0x481bee(0x3c2)]=_0x292bb2);}[_0x4deb9c(0x295)](_0x8f2bbf){const _0x2569a0=_0x4deb9c,_0x465742=this[_0x2569a0(0x25f)][_0x2569a0(0x427)](_0x418dd0,this['unitID'],this['type'],[_0x8f2bbf],this['_handler']);return _0x465742[_0x2569a0(0x445)](),_0x465742[_0x2569a0(0x2f9)](),_0x465742;}[_0x4deb9c(0x25e)](_0x4b5153){const _0x4eff70=_0x4deb9c;if(this['_checkMissing'](_0x4b5153))return this[_0x4eff70(0x25f)][_0x4eff70(0x427)](_0x3ae8e5,this[_0x4eff70(0x282)],this[_0x4eff70(0x4f1)],null,[],null,[_0x4b5153],this[_0x4eff70(0x323)]);try{const _0x3d16a1=this['_transformService'][_0x4eff70(0x394)](_0x4b5153,[_0x4f7f45]);if(_0x5c3399[_0x4eff70(0x264)](_0x3d16a1)){const {c1Prime:_0x539027}=_0x3d16a1;return this[_0x4eff70(0x261)](_0x539027),this;}throw _0x3d16a1[_0x4eff70(0x46e)];}catch(_0x9d7d3c){return this[_0x4eff70(0x1aa)][_0x4eff70(0x46e)](_0x9d7d3c),this[_0x4eff70(0x411)](!0x1);}}[_0x4deb9c(0x411)](_0x3afa00){const _0x48ae2f=_0x4deb9c;return this['_injector'][_0x48ae2f(0x427)](_0x39b563,this[_0x48ae2f(0x282)],this[_0x48ae2f(0x4f1)],null,[],this[_0x48ae2f(0x323)],_0x3afa00);}[_0x4deb9c(0x304)](){const _0x5c6774=_0x4deb9c;throw new Error(_0x5c6774(0x503));}[_0x4deb9c(0x4d8)](){const _0x11b71c=_0x4deb9c;throw new Error(_0x11b71c(0x4b5));}[_0x4deb9c(0x476)](){const _0x5ee75d=_0x4deb9c;return this['_injector'][_0x5ee75d(0x427)](_0x4fba74,this[_0x5ee75d(0x282)],this[_0x5ee75d(0x4f1)],null,[],this[_0x5ee75d(0x323)]);}[_0x4deb9c(0x335)](){return this;}[_0x4deb9c(0x4e0)](){const _0x214a8f=_0x4deb9c;throw new Error(_0x214a8f(0x426));}[_0x4deb9c(0x1e4)](){const _0x1b1273=_0x4deb9c,_0x4d495f=this[_0x1b1273(0x2af)][_0x1b1273(0x3a3)](this[_0x1b1273(0x282)]);return this[_0x1b1273(0x323)]['onMissingChangesets']({'from':_0x4d495f,'to':0x0}),this[_0x1b1273(0x25f)][_0x1b1273(0x427)](_0x3ae8e5,this[_0x1b1273(0x282)],this[_0x1b1273(0x4f1)],null,[],null,[],this[_0x1b1273(0x323)]);}};_0x194137=_0x2bdc29([_0x56d55b(0x3,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399['RevisionService'])),_0x56d55b(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x56d55b(0x5,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf['Injector'])),_0x56d55b(0x6,_0x44f3cf[_0x4deb9c(0x4b7)]),_0x56d55b(0x7,_0x44f3cf['ICommandService']),_0x56d55b(0x8,_0x44f3cf['ILogService']),_0x56d55b(0x9,_0x5c3399[_0x4deb9c(0x453)])],_0x194137);let _0x418dd0=class extends _0x53c60b{constructor(_0x5b92ae,_0x2c68ab,_0x187e22,_0x6d6f01,_0x6bb04d,_0x2563a5,_0x4c20d8,_0x42205b,_0x39717b,_0x354ee1,_0x4995e4,_0x5be3af,_0x15b5bd,_0x4ef6c3){const _0x352b27=_0x4deb9c;super(_0x5b92ae,_0x2c68ab,null,_0x187e22,_0x6d6f01,_0x354ee1,_0x4ef6c3,_0x2563a5,_0x4c20d8),_0x434a2a(this,_0x352b27(0x111),_0x352b27(0x14f)),_0x434a2a(this,_0x352b27(0x3cd),null),_0x434a2a(this,'_sendingTimer',null),(this[_0x352b27(0x25f)]=_0x6bb04d,this[_0x352b27(0x4d4)]=_0x42205b,this[_0x352b27(0x1aa)]=_0x39717b,this[_0x352b27(0x494)]=_0x4995e4,this[_0x352b27(0x3c2)]=_0x5be3af,this[_0x352b27(0x391)]=_0x15b5bd);}[_0x4deb9c(0x295)](_0x1a7e02){const _0x185825=_0x4deb9c;return this[_0x185825(0x268)][_0x185825(0x4c0)](_0x1a7e02),this[_0x185825(0x2f9)](),this;}[_0x4deb9c(0x25e)](_0x259c52){const _0x430cb0=_0x4deb9c;if(this[_0x430cb0(0x2d4)](_0x259c52))return this[_0x430cb0(0x1ee)](),this[_0x430cb0(0x25f)][_0x430cb0(0x427)](_0x3ae8e5,this['unitID'],this[_0x430cb0(0x4f1)],null,this[_0x430cb0(0x268)],null,[_0x259c52],this['_handler']);try{const _0x166e37=this[_0x430cb0(0x3c2)][_0x430cb0(0x394)](_0x259c52,this[_0x430cb0(0x268)]);if(_0x5c3399[_0x430cb0(0x264)](_0x166e37)){const {c1Prime:_0x577411,m2Prime:_0x2d4e5f}=_0x166e37;this[_0x430cb0(0x261)](_0x577411);const _0xf6a588=this['_injector'][_0x430cb0(0x427)](_0x418dd0,this['unitID'],this[_0x430cb0(0x4f1)],_0x2d4e5f,this[_0x430cb0(0x323)]);return this[_0x430cb0(0x1ee)](),_0xf6a588[_0x430cb0(0x445)](this['_scheduleTimestamp']?Math[_0x430cb0(0x43d)](0x0,new Date()[_0x430cb0(0x2bf)]()-this['_scheduleTimestamp']):this[_0x430cb0(0x472)]()),_0xf6a588;}throw _0x166e37[_0x430cb0(0x46e)];}catch(_0x4b3d0c){return this[_0x430cb0(0x1aa)][_0x430cb0(0x46e)](_0x4b3d0c),this[_0x430cb0(0x411)](!0x1);}}[_0x4deb9c(0x304)](){const _0x2a50d9=_0x4deb9c;throw new Error(_0x2a50d9(0x154));}[_0x4deb9c(0x4d8)](){const _0x361fc0=_0x4deb9c;throw new Error(_0x361fc0(0x1e1));}[_0x4deb9c(0x476)](){const _0x297bf5=_0x4deb9c;return this[_0x297bf5(0x1ee)](),this[_0x297bf5(0x25f)][_0x297bf5(0x427)](_0x4fba74,this[_0x297bf5(0x282)],this['type'],null,this[_0x297bf5(0x268)],this[_0x297bf5(0x323)]);}['toggleOnline'](){return this;}['_schedule'](_0x235cee){const _0x26c49f=_0x4deb9c,_0x1bef23=_0x235cee!=null?_0x235cee:this[_0x26c49f(0x472)]();this[_0x26c49f(0x3cd)]=new Date()['getTime'](),this[_0x26c49f(0x1ae)]=window[_0x26c49f(0x479)](()=>{const _0x3f0481=_0x26c49f;this[_0x3f0481(0x1ee)]();let _0x4e63c2=null;switch(this[_0x3f0481(0x4f1)]){case _0x3bfee1[_0x3f0481(0x402)]:{_0x4e63c2=_0x12777d(this[_0x3f0481(0x268)],this[_0x3f0481(0x282)],this[_0x3f0481(0x391)],this[_0x3f0481(0x2af)],this[_0x3f0481(0x4d4)]);break;}case _0x3bfee1[_0x3f0481(0x350)]:{this['_pendingMutations'][_0x3f0481(0x220)](_0x364b01=>_0x364b01['id']===_0x495201[_0x3f0481(0x41b)]['id'])?_0x4e63c2=_0x125c7e(this[_0x3f0481(0x268)],this['unitID'],this[_0x3f0481(0x391)],this[_0x3f0481(0x2af)],this[_0x3f0481(0x4d4)]):_0x4e63c2=_0x12777d(this['_pendingMutations'],this[_0x3f0481(0x282)],this['_univerInstanceService'],this[_0x3f0481(0x2af)],this[_0x3f0481(0x4d4)]);break;}default:throw new Error(_0x3f0481(0x44a)+this[_0x3f0481(0x4f1)]+_0x3f0481(0x21c));}const {changeset:_0x4f6e6b,pendingMutations:_0x62f7f}=_0x4e63c2;this[_0x3f0481(0x323)][_0x3f0481(0x500)](_0x4f6e6b);const _0xea88a2=_0x62f7f[_0x3f0481(0x17a)]?this['_injector'][_0x3f0481(0x427)](_0x29239e,this[_0x3f0481(0x282)],this[_0x3f0481(0x4f1)],_0x4f6e6b,_0x62f7f,this[_0x3f0481(0x323)]):this[_0x3f0481(0x25f)][_0x3f0481(0x427)](_0x2aa63e,this[_0x3f0481(0x282)],this[_0x3f0481(0x4f1)],_0x4f6e6b,this[_0x3f0481(0x323)]);_0xea88a2[_0x3f0481(0x2f9)](),this['_handler'][_0x3f0481(0x4e1)](this,_0xea88a2);},_0x1bef23);}[_0x4deb9c(0x472)](){const _0x85be13=_0x4deb9c;var _0x223516;return(_0x223516=this[_0x85be13(0x494)][_0x85be13(0x2cd)](_0x5bb06f))!=null?_0x223516:0x7d0;}['resend'](){const _0x509854=_0x4deb9c;throw new Error(_0x509854(0x19f));}[_0x4deb9c(0x1ee)](){const _0x527df1=_0x4deb9c;this['_sendingTimer']!=null&&(clearTimeout(this[_0x527df1(0x1ae)]),this[_0x527df1(0x1ae)]=null);}[_0x4deb9c(0x411)](_0x1a19c1){const _0x5d63c0=_0x4deb9c;return this[_0x5d63c0(0x1ee)](),this[_0x5d63c0(0x25f)][_0x5d63c0(0x427)](_0x39b563,this[_0x5d63c0(0x282)],this[_0x5d63c0(0x4f1)],null,this[_0x5d63c0(0x268)],this['_handler'],_0x1a19c1);}};_0x418dd0=_0x2bdc29([_0x56d55b(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x56d55b(0x5,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x3b2)])),_0x56d55b(0x6,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x56d55b(0x7,_0x44f3cf[_0x4deb9c(0x2a6)](_0x32fe7e)),_0x56d55b(0x8,_0x44f3cf[_0x4deb9c(0x4e5)]),_0x56d55b(0x9,_0x44f3cf[_0x4deb9c(0x243)]),_0x56d55b(0xa,_0x44f3cf[_0x4deb9c(0x150)]),_0x56d55b(0xb,_0x5c3399['ITransformService']),_0x56d55b(0xc,_0x44f3cf[_0x4deb9c(0x165)]),_0x56d55b(0xd,_0x44f3cf['IUndoRedoService'])],_0x418dd0);let _0x2aa63e=class extends _0x53c60b{constructor(_0x2f5970,_0x4787f1,_0x31aa39,_0x567fef,_0x48aef9,_0x4a7302,_0x1ada2a,_0x155b5e,_0x92cb76,_0xba4983,_0xbb9d0e){const _0x127b16=_0x4deb9c;super(_0x2f5970,_0x4787f1,_0x31aa39,[],_0x567fef,_0x155b5e,_0xbb9d0e,_0x4a7302,_0x1ada2a),_0x434a2a(this,_0x127b16(0x111),'awaiting'),(this[_0x127b16(0x25f)]=_0x48aef9,this[_0x127b16(0x1aa)]=_0x92cb76,this[_0x127b16(0x3c2)]=_0xba4983);}[_0x4deb9c(0x295)](_0x5f2120){const _0x273784=_0x4deb9c,_0x1c1e1d=this[_0x273784(0x25f)][_0x273784(0x427)](_0x29239e,this[_0x273784(0x282)],this['type'],this['_awaitingChangeset'],[_0x5f2120],this[_0x273784(0x323)]);return _0x1c1e1d['_updateLocalCache'](),_0x1c1e1d;}[_0x4deb9c(0x25e)](_0x32df1e){const _0x52b0db=_0x4deb9c;if(this[_0x52b0db(0x2d4)](_0x32df1e))return this['_injector'][_0x52b0db(0x427)](_0x3ae8e5,this[_0x52b0db(0x282)],this[_0x52b0db(0x4f1)],this[_0x52b0db(0x12d)],[],null,[_0x32df1e],this['_handler']);try{const _0x5b2a16=this[_0x52b0db(0x3c2)][_0x52b0db(0x14e)]([_0x32df1e],[this[_0x52b0db(0x12d)]],!0x1);if(_0x5c3399[_0x52b0db(0x444)](_0x5b2a16)){const {c1Prime:_0x53dd3d,c2Prime:_0x33da9f}=_0x5b2a16;this[_0x52b0db(0x261)](_0x53dd3d[0x0]),_0x33da9f[0x0][_0x52b0db(0x186)]=this[_0x52b0db(0x3c4)]();const _0x4cf54a=this[_0x52b0db(0x25f)][_0x52b0db(0x427)](_0x2aa63e,this[_0x52b0db(0x282)],this[_0x52b0db(0x4f1)],_0x33da9f[0x0],this['_handler']);return _0x4cf54a[_0x52b0db(0x2f9)](),_0x4cf54a;}return this[_0x52b0db(0x411)](!0x1);}catch(_0x101d95){return this[_0x52b0db(0x1aa)][_0x52b0db(0x46e)](_0x101d95),this['_onConflict'](!0x1);}}[_0x4deb9c(0x304)](_0x462100){const _0x2e68c0=_0x4deb9c,_0x1a993b=this[_0x2e68c0(0x2af)][_0x2e68c0(0x3a3)](this['unitID']);if(_0x462100[_0x2e68c0(0x194)]<_0x1a993b-0x1)return this;if(this['_checkMissing'](_0x462100))return this[_0x2e68c0(0x25f)]['createInstance'](_0x3ae8e5,this[_0x2e68c0(0x282)],this[_0x2e68c0(0x4f1)],null,[],this[_0x2e68c0(0x12d)],[],this['_handler']);this[_0x2e68c0(0x1b9)]();const _0x36dce5=this[_0x2e68c0(0x25f)]['createInstance'](_0x194137,this[_0x2e68c0(0x282)],this[_0x2e68c0(0x4f1)],this[_0x2e68c0(0x323)]);return _0x36dce5[_0x2e68c0(0x2f9)](),_0x36dce5;}['onRemoteRej'](_0x285eb7){const _0x469e54=_0x4deb9c;return this['_onConflict'](!!(_0x285eb7!=null&&_0x285eb7[_0x469e54(0x318)]));}['toggleOffline'](){const _0x2354cc=_0x4deb9c;return this['_injector']['createInstance'](_0x4fba74,this[_0x2354cc(0x282)],this['type'],this['_awaitingChangeset'],[],this[_0x2354cc(0x323)]);}[_0x4deb9c(0x335)](){return this;}[_0x4deb9c(0x4e0)](){const _0xc46f5e=_0x4deb9c;this[_0xc46f5e(0x323)][_0xc46f5e(0x500)](this[_0xc46f5e(0x12d)]);}['_onConflict'](_0x23db92){const _0x59eb4a=_0x4deb9c;return this['_injector'][_0x59eb4a(0x427)](_0x39b563,this[_0x59eb4a(0x282)],this[_0x59eb4a(0x4f1)],this[_0x59eb4a(0x12d)],[],this['_handler'],_0x23db92);}};_0x2aa63e=_0x2bdc29([_0x56d55b(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x56d55b(0x5,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x3b2)])),_0x56d55b(0x6,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x56d55b(0x7,_0x44f3cf[_0x4deb9c(0x243)]),_0x56d55b(0x8,_0x44f3cf[_0x4deb9c(0x4e5)]),_0x56d55b(0x9,_0x5c3399[_0x4deb9c(0x453)]),_0x56d55b(0xa,_0x44f3cf[_0x4deb9c(0x4b7)])],_0x2aa63e);let _0x29239e=class extends _0x53c60b{constructor(_0x2ef99a,_0x1cb90d,_0x1dcb14,_0x5901a8,_0x50813e,_0x498df4,_0x3fac3e,_0x244366,_0x149c85,_0x1da361,_0x433f7b,_0x4356bc){const _0x115cba=_0x4deb9c;super(_0x2ef99a,_0x1cb90d,_0x1dcb14,_0x5901a8,_0x50813e,_0x149c85,_0x4356bc,_0x3fac3e,_0x244366),_0x434a2a(this,'status',_0x115cba(0x3a9)),(this[_0x115cba(0x25f)]=_0x498df4,this[_0x115cba(0x1aa)]=_0x1da361,this['_transformService']=_0x433f7b);}[_0x4deb9c(0x295)](_0x3a81de){const _0x7607b8=_0x4deb9c;return this[_0x7607b8(0x268)][_0x7607b8(0x4c0)](_0x3a81de),this;}['onRemoteChangeset'](_0x426c2c){const _0x46cf35=_0x4deb9c;if(this['_checkMissing'](_0x426c2c))return this[_0x46cf35(0x25f)]['createInstance'](_0x3ae8e5,this[_0x46cf35(0x282)],this[_0x46cf35(0x4f1)],this[_0x46cf35(0x12d)],this[_0x46cf35(0x268)],null,[_0x426c2c],this['_handler']);try{const _0x28fdde=this['_transformService'][_0x46cf35(0x14e)]([_0x426c2c],[this[_0x46cf35(0x12d)]],!0x1);if(_0x5c3399[_0x46cf35(0x444)](_0x28fdde)){const {c1Prime:_0x1ccb87,c2Prime:_0x5935cf}=_0x28fdde,_0x5bf5a5=this[_0x46cf35(0x3c2)][_0x46cf35(0x394)](_0x1ccb87[0x0],this[_0x46cf35(0x268)]);if(_0x5c3399[_0x46cf35(0x264)](_0x5bf5a5)){const {c1Prime:_0x3d6993,m2Prime:_0x539f73}=_0x5bf5a5;return this[_0x46cf35(0x261)](_0x3d6993),_0x5935cf[0x0][_0x46cf35(0x186)]=this['_getCurrentRevision'](),this[_0x46cf35(0x25f)]['createInstance'](_0x29239e,this[_0x46cf35(0x282)],this['type'],_0x5935cf[0x0],_0x539f73,this['_handler']);}throw _0x5bf5a5[_0x46cf35(0x46e)];}throw _0x28fdde['error'];}catch(_0x4865ee){return this['_logService'][_0x46cf35(0x46e)](_0x4865ee),this['_onConflict'](!0x1);}}[_0x4deb9c(0x304)](_0x263174){const _0x200294=_0x4deb9c;if(this[_0x200294(0x2d4)](_0x263174))return this[_0x200294(0x25f)][_0x200294(0x427)](_0x3ae8e5,this['unitID'],this['type'],null,this[_0x200294(0x268)],this[_0x200294(0x12d)],[],this[_0x200294(0x323)]);this[_0x200294(0x1b9)]();const _0x139213=this[_0x200294(0x25f)][_0x200294(0x427)](_0x418dd0,this[_0x200294(0x282)],this[_0x200294(0x4f1)],this['_pendingMutations'],this['_handler']);return _0x139213[_0x200294(0x445)](),_0x139213[_0x200294(0x2f9)](),_0x139213;}['onRemoteRej'](_0xae3fb4){const _0x5eccad=_0x4deb9c;return this[_0x5eccad(0x411)](!!(_0xae3fb4!=null&&_0xae3fb4['isPermissionRej']));}[_0x4deb9c(0x476)](){const _0x4a3fa6=_0x4deb9c;return this[_0x4a3fa6(0x25f)][_0x4a3fa6(0x427)](_0x4fba74,this[_0x4a3fa6(0x282)],this[_0x4a3fa6(0x4f1)],this[_0x4a3fa6(0x12d)],this[_0x4a3fa6(0x268)],this[_0x4a3fa6(0x323)]);}[_0x4deb9c(0x335)](){return this;}[_0x4deb9c(0x4e0)](){const _0x1a3fd3=_0x4deb9c;this['_handler'][_0x1a3fd3(0x500)](this[_0x1a3fd3(0x12d)]);}[_0x4deb9c(0x411)](_0x42547f){const _0x596b2c=_0x4deb9c;return this[_0x596b2c(0x25f)][_0x596b2c(0x427)](_0x39b563,this[_0x596b2c(0x282)],this[_0x596b2c(0x4f1)],null,this[_0x596b2c(0x268)],this[_0x596b2c(0x323)],_0x42547f);}};_0x29239e=_0x2bdc29([_0x56d55b(0x5,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x56d55b(0x6,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x3b2)])),_0x56d55b(0x7,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x56d55b(0x8,_0x44f3cf[_0x4deb9c(0x243)]),_0x56d55b(0x9,_0x44f3cf[_0x4deb9c(0x4e5)]),_0x56d55b(0xa,_0x5c3399[_0x4deb9c(0x453)]),_0x56d55b(0xb,_0x44f3cf[_0x4deb9c(0x4b7)])],_0x29239e);let _0x39b563=class extends _0x53c60b{constructor(_0x4665fc,_0x21427f,_0x32d6b5,_0x335af5,_0x23d164,_0x14f5f9=!0x1,_0x1dde2f,_0x18a5d4,_0xf3d3ae,_0x44a497,_0x5237ed,_0x3e4dfe,_0x585141){const _0x35c732=_0x4deb9c;super(_0x4665fc,_0x21427f,_0x32d6b5,_0x335af5,_0x23d164,_0x18a5d4,_0xf3d3ae,_0x5237ed,_0x44a497),_0x434a2a(this,_0x35c732(0x111),_0x35c732(0x2de)),(this[_0x35c732(0x399)]=_0x14f5f9,this[_0x35c732(0x20f)]=_0x1dde2f,this['_localeService']=_0x3e4dfe,this[_0x35c732(0x3f7)]=_0x585141,this['_showConflictNotification'](),this[_0x35c732(0x4dd)](),this[_0x35c732(0x3af)]());}[_0x4deb9c(0x295)](){return this;}[_0x4deb9c(0x25e)](){return this;}[_0x4deb9c(0x304)](){return this;}[_0x4deb9c(0x4d8)](){return this;}[_0x4deb9c(0x476)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x4fe1be=_0x4deb9c;throw new Error(_0x4fe1be(0x26b));}['_clearLocalCache'](){const _0x3c71d8=_0x4deb9c;this[_0x3c71d8(0x3d7)]['updateOfflineData'](this['unitID'],this[_0x3c71d8(0x4f1)],null,[]);}[_0x4deb9c(0x3a5)](){const _0x5aff5e=_0x4deb9c;this[_0x5aff5e(0x399)]?this[_0x5aff5e(0x3f7)][_0x5aff5e(0x2a7)]({'title':this[_0x5aff5e(0x182)]['t'](_0x5aff5e(0x305)),'content':this[_0x5aff5e(0x182)]['t'](_0x5aff5e(0x355)),'type':'error','duration':0x0}):this[_0x5aff5e(0x3f7)]['show']({'title':this[_0x5aff5e(0x182)]['t'](_0x5aff5e(0x29a)),'content':this[_0x5aff5e(0x182)]['t']('conflict.content'),'type':_0x5aff5e(0x46e),'duration':0x0});}[_0x4deb9c(0x3af)](){const _0x4b0173=_0x4deb9c;this[_0x4b0173(0x20f)][_0x4b0173(0x420)](new _0x5848ce[(_0x4b0173(0x356))](this[_0x4b0173(0x282)])['id'],!0x1);}};_0x39b563=_0x2bdc29([_0x56d55b(0x6,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x4d1)])),_0x56d55b(0x7,_0x44f3cf[_0x4deb9c(0x243)]),_0x56d55b(0x8,_0x44f3cf['IUndoRedoService']),_0x56d55b(0x9,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x56d55b(0xa,_0x44f3cf['Inject'](_0x5c3399['RevisionService'])),_0x56d55b(0xb,_0x44f3cf['Inject'](_0x44f3cf['LocaleService'])),_0x56d55b(0xc,_0x90d6c1[_0x4deb9c(0x437)])],_0x39b563);let _0x4fba74=class extends _0x53c60b{constructor(_0x674df5,_0x274887,_0x8648ef,_0x4aa14b,_0x1cd735,_0x3b8cc,_0x4e1bb7,_0x4fed0b,_0x25d992,_0x5e05fb){const _0x36ea9e=_0x4deb9c;super(_0x674df5,_0x274887,_0x8648ef,_0x4aa14b,_0x1cd735,_0x25d992,_0x5e05fb,_0x4e1bb7,_0x4fed0b),_0x434a2a(this,_0x36ea9e(0x111),_0x36ea9e(0x143)),this['_injector']=_0x3b8cc;}['appendMutation'](_0x3b491f){const _0x563410=_0x4deb9c;return this[_0x563410(0x268)][_0x563410(0x4c0)](_0x3b491f),this[_0x563410(0x2f9)](),this;}[_0x4deb9c(0x25e)](_0x15ddde){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x26f702=_0x4deb9c;throw new Error(_0x26f702(0x10e));}[_0x4deb9c(0x4d8)](){const _0x9959ba=_0x4deb9c;throw new Error(_0x9959ba(0x145));}[_0x4deb9c(0x476)](){return this;}[_0x4deb9c(0x335)](){const _0x4d1237=_0x4deb9c,{_injector:_0x5bd9fa,_pendingMutations:_0x23b287,_awaitingChangeset:_0x257e47,unitID:_0x5ee019,_handler:_0xf373ac,type:_0x19d49a}=this,_0x536d83=_0x4facb1(_0x5bd9fa,_0x5ee019,_0x19d49a,_0x257e47,_0x23b287,_0xf373ac);return _0x536d83 instanceof _0x418dd0?_0x536d83[_0x4d1237(0x445)]():(_0x536d83 instanceof _0x29239e||_0x536d83 instanceof _0x2aa63e)&&_0x536d83[_0x4d1237(0x4e0)](),_0x536d83;}[_0x4deb9c(0x4e0)](){const _0x58b3bd=_0x4deb9c;throw new Error(_0x58b3bd(0x2f0));}};_0x4fba74=_0x2bdc29([_0x56d55b(0x5,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x56d55b(0x6,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x3b2)])),_0x56d55b(0x7,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa['LocalCacheService'])),_0x56d55b(0x8,_0x44f3cf[_0x4deb9c(0x243)]),_0x56d55b(0x9,_0x44f3cf[_0x4deb9c(0x4b7)])],_0x4fba74);let _0x3ae8e5=class extends _0x53c60b{constructor(_0x55bd48,_0x5dfb5c,_0x30815a,_0x399780,_0x1d3d60,_0x372087,_0x4350e5,_0x6de680,_0x2ae3ad,_0x40ce34,_0x5f0994,_0x15bad7,_0x3af06b,_0x4e7061){const _0x4fc7b1=_0x4deb9c;super(_0x55bd48,_0x5dfb5c,_0x30815a,_0x399780,_0x4350e5,_0x15bad7,_0x3af06b,_0x2ae3ad,_0x40ce34),_0x434a2a(this,_0x4fc7b1(0x111),'fetch_missing'),(this[_0x4fc7b1(0x159)]=_0x1d3d60,this[_0x4fc7b1(0x1f5)]=_0x372087,this[_0x4fc7b1(0x25f)]=_0x6de680,this['_logService']=_0x5f0994,this['_transformService']=_0x4e7061);}[_0x4deb9c(0x2a2)](_0x56ccbe){const _0x45b637=_0x4deb9c;try{const _0x1e1ca1=[..._0x56ccbe,...this[_0x45b637(0x1f5)]],_0x171ed4=[this[_0x45b637(0x12d)]||this['_acknowledgedAwaitingChangeset']][_0x45b637(0x39e)](_0xd0d1d6=>!!_0xd0d1d6);let _0x34d525,_0x353103;if(_0x171ed4['length']){const _0x455bc2=this[_0x45b637(0x3c2)]['transformChangesets'](_0x1e1ca1,_0x171ed4,!0x1);if(!_0x5c3399['isTransformChangesetsSuccess'](_0x455bc2))throw _0x455bc2[_0x45b637(0x46e)];_0x34d525=_0x455bc2[_0x45b637(0x47d)],_0x353103=_0x455bc2[_0x45b637(0x372)];}else _0x34d525=_0x1e1ca1,_0x353103=[];let _0x222548=this[_0x45b637(0x268)];_0x34d525[_0x45b637(0x4cc)](_0x94f4ee=>{const _0x4d884c=_0x45b637;let _0x2e3d18;if(_0x222548['length']){const _0x1e449e=this[_0x4d884c(0x3c2)][_0x4d884c(0x394)](_0x94f4ee,_0x222548);if(!_0x5c3399['isTransformMutationsWithChangesetSuccess'](_0x1e449e))throw _0x1e449e[_0x4d884c(0x46e)];_0x2e3d18=_0x1e449e[_0x4d884c(0x47d)],_0x222548=_0x1e449e[_0x4d884c(0x499)];}else _0x2e3d18=_0x94f4ee;this[_0x4d884c(0x261)](_0x2e3d18);}),this[_0x45b637(0x159)]&&this[_0x45b637(0x1b9)](),this[_0x45b637(0x12d)]&&_0x353103['length']&&(_0x353103[0x0]['baseRev']=this['_getCurrentRevision']());let _0x1953a3;if(this[_0x45b637(0x12d)]&&_0x222548['length']!==0x0)_0x1953a3=this[_0x45b637(0x25f)][_0x45b637(0x427)](_0x29239e,this['unitID'],this[_0x45b637(0x4f1)],_0x353103[0x0],_0x222548,this[_0x45b637(0x323)]);else{if(this[_0x45b637(0x12d)]&&_0x222548[_0x45b637(0x17a)]===0x0)_0x353103[0x0]['baseRev']=this[_0x45b637(0x3c4)](),_0x1953a3=this[_0x45b637(0x25f)][_0x45b637(0x427)](_0x2aa63e,this[_0x45b637(0x282)],this['type'],_0x353103[0x0],this[_0x45b637(0x323)]);else{if(_0x222548[_0x45b637(0x17a)]!==0x0){const _0x576daa=this[_0x45b637(0x25f)][_0x45b637(0x427)](_0x418dd0,this[_0x45b637(0x282)],this[_0x45b637(0x4f1)],_0x222548,this['_handler']);_0x576daa[_0x45b637(0x445)](),_0x1953a3=_0x576daa;}else _0x1953a3=this[_0x45b637(0x25f)][_0x45b637(0x427)](_0x194137,this['unitID'],this[_0x45b637(0x4f1)],this['_handler']);}}return _0x1953a3[_0x45b637(0x2f9)](),_0x1953a3;}catch(_0x152b78){return this[_0x45b637(0x1aa)][_0x45b637(0x46e)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x152b78),this[_0x45b637(0x25f)][_0x45b637(0x427)](_0x39b563,this[_0x45b637(0x282)],this[_0x45b637(0x4f1)],this[_0x45b637(0x12d)],this[_0x45b637(0x268)],this['_handler'],!0x1);}}[_0x4deb9c(0x4e0)](){const _0x441783=_0x4deb9c;throw new Error(_0x441783(0x3e0));}['appendMutation'](_0x4e7f6a){const _0x4a0608=_0x4deb9c;return this['_pendingMutations'][_0x4a0608(0x4c0)](_0x4e7f6a),this;}[_0x4deb9c(0x25e)](_0x21c2b4){const _0x441d7f=_0x4deb9c;return this[_0x441d7f(0x1f5)][_0x441d7f(0x4c0)](_0x21c2b4),this;}['onRemoteAck'](_0x40eb4b){const _0x8eb151=_0x4deb9c;if(this[_0x8eb151(0x12d)])return this[_0x8eb151(0x159)]=this['_awaitingChangeset'],this[_0x8eb151(0x12d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x4deb9c(0x4d8)](_0x36c2ce){const _0x5d55cb=_0x4deb9c;return this['_onConflict'](!!(_0x36c2ce!=null&&_0x36c2ce[_0x5d55cb(0x318)]));}[_0x4deb9c(0x476)](){const _0xd5e7cf=_0x4deb9c;return this[_0xd5e7cf(0x25f)][_0xd5e7cf(0x427)](_0x4fba74,this['unitID'],this['type'],this[_0xd5e7cf(0x12d)],this['_pendingMutations'],this['_handler']);}[_0x4deb9c(0x335)](){return this;}[_0x4deb9c(0x411)](_0x1401d9){const _0x147ec6=_0x4deb9c;return this[_0x147ec6(0x25f)][_0x147ec6(0x427)](_0x39b563,this[_0x147ec6(0x282)],this[_0x147ec6(0x4f1)],this['_awaitingChangeset'],this[_0x147ec6(0x268)],this[_0x147ec6(0x323)],_0x1401d9);}};_0x3ae8e5=_0x2bdc29([_0x56d55b(0x7,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x56d55b(0x8,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x3b2)])),_0x56d55b(0x9,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x56d55b(0xa,_0x44f3cf[_0x4deb9c(0x4e5)]),_0x56d55b(0xb,_0x44f3cf[_0x4deb9c(0x243)]),_0x56d55b(0xc,_0x44f3cf[_0x4deb9c(0x4b7)]),_0x56d55b(0xd,_0x5c3399['ITransformService'])],_0x3ae8e5);function _0x4facb1(_0x285c69,_0x29de25,_0x1a2df1,_0x4f7e30,_0x4f1598,_0x4c7f0c){const _0x549272=_0x4deb9c;return _0x4f7e30&&_0x4f1598[_0x549272(0x17a)]?_0x285c69['createInstance'](_0x29239e,_0x29de25,_0x1a2df1,_0x4f7e30,_0x4f1598,_0x4c7f0c):_0x4f7e30?_0x285c69[_0x549272(0x427)](_0x2aa63e,_0x29de25,_0x1a2df1,_0x4f7e30,_0x4c7f0c):_0x4f1598['length']?_0x285c69['createInstance'](_0x418dd0,_0x29de25,_0x1a2df1,_0x4f1598,_0x4c7f0c):_0x285c69['createInstance'](_0x194137,_0x29de25,_0x1a2df1,_0x4c7f0c);}var _0x1fb41f=Object['defineProperty'],_0x325ea4=Object[_0x4deb9c(0x3d9)],_0x380a6a=(_0x37a751,_0x400501,_0x234223,_0xf70333)=>{const _0x510ee9=_0x4deb9c;for(var _0x5a97af=_0xf70333>0x1?void 0x0:_0xf70333?_0x325ea4(_0x400501,_0x234223):_0x400501,_0x50ef62=_0x37a751[_0x510ee9(0x17a)]-0x1,_0x256d4f;_0x50ef62>=0x0;_0x50ef62--)(_0x256d4f=_0x37a751[_0x50ef62])&&(_0x5a97af=(_0xf70333?_0x256d4f(_0x400501,_0x234223,_0x5a97af):_0x256d4f(_0x5a97af))||_0x5a97af);return _0xf70333&&_0x5a97af&&_0x1fb41f(_0x400501,_0x234223,_0x5a97af),_0x5a97af;},_0x1ac0b4=(_0x253902,_0x36859f)=>(_0x3f5237,_0x512b37)=>_0x36859f(_0x3f5237,_0x512b37,_0x253902);_0x3723aa['CollaborationEntity']=class extends _0x44f3cf[_0x4deb9c(0x48b)]{constructor(_0x5328d0,_0x39053b,_0x6aa4d7,_0x985f1,_0x173d29,_0x30f1f3,_0x515807,_0x3a2a7a,_0x116374,_0x1d65d8,_0x530909,_0x543c09,_0x511e4c){const _0x3f9d46=_0x4deb9c;super(),_0x434a2a(this,'_state$',new _0x1837c6['BehaviorSubject'](null)),_0x434a2a(this,'state$',this[_0x3f9d46(0x227)][_0x3f9d46(0x4eb)]()),_0x434a2a(this,_0x3f9d46(0x16c)),_0x434a2a(this,_0x3f9d46(0x4a3),!0x1),_0x434a2a(this,_0x3f9d46(0x43a),this[_0x3f9d46(0x465)][_0x3f9d46(0x4f9)](_0x1837c6[_0x3f9d46(0x269)](_0x32c13a=>_0x32c13a?_0x32c13a[_0x3f9d46(0x111)]:_0x1a5e20['OFFLINE']),_0x1837c6[_0x3f9d46(0x3c8)](0x1))),_0x434a2a(this,_0x3f9d46(0x285),!0x1),_0x434a2a(this,'_remoteChangesetQueue',[]),(this[_0x3f9d46(0x282)]=_0x5328d0,this[_0x3f9d46(0x4ba)]=_0x39053b,this[_0x3f9d46(0x19c)]=_0x6aa4d7,this[_0x3f9d46(0x25f)]=_0x985f1,this[_0x3f9d46(0x3d7)]=_0x173d29,this['_compressMutationService']=_0x30f1f3,this[_0x3f9d46(0x182)]=_0x515807,this['_revisionService']=_0x3a2a7a,this[_0x3f9d46(0x1aa)]=_0x116374,this[_0x3f9d46(0x484)]=_0x1d65d8,this[_0x3f9d46(0x31a)]=_0x530909,this[_0x3f9d46(0x20f)]=_0x543c09,this[_0x3f9d46(0x2e3)]=_0x511e4c);}get[_0x4deb9c(0x4aa)](){const _0xa81ade=_0x4deb9c;return this[_0xa81ade(0x16c)];}async[_0x4deb9c(0x36a)](){const _0x1e589b=_0x4deb9c;if(this[_0x1e589b(0x4aa)])throw new Error(_0x1e589b(0x508));await this['_init']();}[_0x4deb9c(0x1a9)](){const _0x5c1648=_0x4deb9c;return this[_0x5c1648(0x4a3)]=!0x0,_0x44f3cf[_0x5c1648(0x133)](()=>{const _0x25f1f6=_0x5c1648;this[_0x25f1f6(0x4a3)]=!0x1,this[_0x25f1f6(0x49a)]();});}[_0x4deb9c(0x1ab)](_0x439ae9){const _0x2bfc93=_0x4deb9c;this[_0x2bfc93(0x16c)]=_0x439ae9,this['_state$'][_0x2bfc93(0x3e8)](_0x439ae9);}async[_0x4deb9c(0x4fb)](){const _0x3a6049=_0x4deb9c;var _0xdc50d4;this[_0x3a6049(0x1ab)](await this['_createInitialState']()),this[_0x3a6049(0x2e3)]&&((_0xdc50d4=this['_singleActiveUnitService'])==null||_0xdc50d4[_0x3a6049(0x2d7)](this[_0x3a6049(0x282)]),this[_0x3a6049(0x446)](this[_0x3a6049(0x2e3)][_0x3a6049(0x1ea)](this[_0x3a6049(0x282)])['subscribe'](_0x5aee62=>{const _0x15bc49=_0x3a6049;this[_0x15bc49(0x1aa)]['debug'](_0x15bc49(0x24f),_0x15bc49(0x15c),_0x5aee62),_0x5aee62===_0x14af59['OTHER_CLIENTS_EDITING']?(this[_0x15bc49(0x31a)]['show']({'content':this[_0x15bc49(0x182)]['t'](_0x15bc49(0x199)),'type':_0x1c0df8[_0x15bc49(0x25c)]['Warning']}),this[_0x15bc49(0x20f)]['updatePermissionPoint'](new _0x5848ce[(_0x15bc49(0x356))](this[_0x15bc49(0x282)])['id'],!0x1)):this[_0x15bc49(0x20f)][_0x15bc49(0x420)](new _0x5848ce[(_0x15bc49(0x356))](this[_0x15bc49(0x282)])['id'],!0x0);})));let _0x486b04=!0x1;return this[_0x3a6049(0x446)](this[_0x3a6049(0x4ba)][_0x3a6049(0x501)][_0x3a6049(0x138)](_0x143316=>{const _0x993edd=_0x3a6049;_0x143316===_0x4388c5[_0x993edd(0x1df)]?this[_0x993edd(0x346)](_0x486b04):_0x143316===_0x4388c5[_0x993edd(0x135)]&&(_0x486b04=!0x0,this[_0x993edd(0x327)]());})),this[_0x3a6049(0x446)](this[_0x3a6049(0x4ba)]['event$'][_0x3a6049(0x138)](_0x3cd1f1=>{const _0x214f0e=_0x3a6049;try{switch(_0x3cd1f1[_0x214f0e(0x2aa)]){case _0x5c3399[_0x214f0e(0x3d6)][_0x214f0e(0x4a7)]:{this[_0x214f0e(0x490)](_0x5c3399['parseProtocolChangeset'](_0x3cd1f1[_0x214f0e(0xf9)]));break;}case _0x5c3399['CollaborationEvent'][_0x214f0e(0x333)]:{this[_0x214f0e(0x24d)](_0x3cd1f1['data']);break;}case _0x5c3399[_0x214f0e(0x3d6)][_0x214f0e(0x4bd)]:{this['_onRemoteRejected']();break;}case _0x5c3399['CollaborationEvent'][_0x214f0e(0x338)]:{this[_0x214f0e(0x460)](_0x3cd1f1['data']['changesets'][_0x214f0e(0x269)](_0x2d00ff=>_0x5c3399['parseProtocolChangeset'](_0x2d00ff)));break;}case _0x5c3399['CollaborationEvent']['PERMISSION_REJ']:this[_0x214f0e(0x18c)]({'isPermissionRej':!0x0});}}catch(_0x138b29){throw console['error'](_0x214f0e(0x1fd),_0x138b29),_0x138b29;}})),this[_0x3a6049(0x16c)];}['_unlockTransition'](){const _0x303661=_0x4deb9c;this[_0x303661(0x285)]=!0x1;}[_0x4deb9c(0x3d3)](){const _0xeb86f2=_0x4deb9c;if(this[_0xeb86f2(0x285)])throw new Error(_0xeb86f2(0x310));this['_transitionLocked']=!0x0;}[_0x4deb9c(0x27f)](_0x164e30){const _0x4508b8=_0x4deb9c;this[_0x4508b8(0x3d3)](),this[_0x4508b8(0x1ab)](this['_state']['appendMutation'](_0x164e30)),this[_0x4508b8(0x1cc)]();}['_onRemoteChangeset'](_0x26fc5c){const _0x35fda9=_0x4deb9c;if(!(_0x26fc5c['revision']<=this['_revisionService'][_0x35fda9(0x3a3)](this[_0x35fda9(0x282)]))){if(this[_0x35fda9(0x4a3)]){this['_remoteChangesetQueue'][_0x35fda9(0x4c0)](_0x26fc5c);return;}this['_applyRemoteChangeset'](_0x26fc5c);}}[_0x4deb9c(0x49a)](){const _0x5b7f11=_0x4deb9c;this['_remoteChangesetQueue'][_0x5b7f11(0x4cc)](_0x13958f=>this[_0x5b7f11(0x1e6)](_0x13958f)),this[_0x5b7f11(0x25d)]=[];}[_0x4deb9c(0x1e6)](_0x18722d){const _0x1c6fc9=_0x4deb9c,_0x4dbb8b=this[_0x1c6fc9(0x155)][_0x1c6fc9(0x3b4)]['fetchThroughInterceptors'](this[_0x1c6fc9(0x155)][_0x1c6fc9(0x3b4)][_0x1c6fc9(0x3a4)]()['COMPRESS_MUTATION_APPLY'])(_0x18722d[_0x1c6fc9(0x367)],null)||_0x18722d[_0x1c6fc9(0x367)],_0x434ff9={..._0x18722d,'mutations':_0x4dbb8b};this[_0x1c6fc9(0x3d3)](),this[_0x1c6fc9(0x1ab)](this[_0x1c6fc9(0x16c)]['onRemoteChangeset'](_0x434ff9)),this['_unlockTransition']();}['_onRemoteACK'](_0x5102bb){const _0x389e61=_0x4deb9c;this['_lockTransition'](),this['_updateState'](this[_0x389e61(0x16c)][_0x389e61(0x304)](_0x5102bb)),this['_unlockTransition']();}[_0x4deb9c(0x18c)](_0x1373a2){const _0x22abb9=_0x4deb9c;this[_0x22abb9(0x3d3)](),this['_updateState'](this[_0x22abb9(0x16c)][_0x22abb9(0x4d8)](_0x1373a2)),this[_0x22abb9(0x1cc)]();}[_0x4deb9c(0x460)](_0x1a58c7){const _0x59b8b7=_0x4deb9c;if(!(this[_0x59b8b7(0x16c)]instanceof _0x3ae8e5))throw new TypeError(_0x59b8b7(0x298));const _0x3bc60e=_0x1a58c7[_0x59b8b7(0x269)](_0x301782=>{const _0x5f365d=_0x59b8b7,_0x384f3e=this[_0x5f365d(0x155)][_0x5f365d(0x3b4)][_0x5f365d(0x1f1)](this[_0x5f365d(0x155)]['interceptor'][_0x5f365d(0x3a4)]()[_0x5f365d(0x429)])(_0x301782[_0x5f365d(0x367)],null)||_0x301782[_0x5f365d(0x367)];return{..._0x301782,'mutations':_0x384f3e};});this[_0x59b8b7(0x3d3)](),this[_0x59b8b7(0x1ab)](this[_0x59b8b7(0x16c)][_0x59b8b7(0x2a2)](_0x3bc60e)),this['_unlockTransition']();}['_toggleOffline'](){const _0x1c9b9f=_0x4deb9c;this[_0x1c9b9f(0x3d3)](),this[_0x1c9b9f(0x1ab)](this[_0x1c9b9f(0x16c)][_0x1c9b9f(0x476)]()),this['_unlockTransition']();}['_toggleOnline'](_0x156d6b=!0x1){const _0x3ccca5=_0x4deb9c;this[_0x3ccca5(0x3d3)](),this[_0x3ccca5(0x1ab)](this['_state'][_0x3ccca5(0x335)]()),this[_0x3ccca5(0x1cc)]();const _0x5636a9=this['_state'];_0x156d6b&&_0x5636a9 instanceof _0x194137&&(this[_0x3ccca5(0x3d3)](),this['_updateState'](_0x5636a9[_0x3ccca5(0x1e4)]()),this[_0x3ccca5(0x1cc)]());}async[_0x4deb9c(0x2e4)](){return new Promise(_0x5294d6=>{const _0x41de42=_0x47c1;this[_0x41de42(0x4ba)][_0x41de42(0x501)][_0x41de42(0x4f9)](_0x1837c6[_0x41de42(0x215)](0x1))[_0x41de42(0x138)](async _0x2a2030=>{const _0x309444=_0x41de42;_0x5294d6(await this['_createInitialStateImpl'](_0x2a2030===_0x4388c5[_0x309444(0x1df)]));});});}[_0x4deb9c(0x3e7)](){const _0x5bc9f5=_0x4deb9c,_0x407cb4=this[_0x5bc9f5(0x282)];return{'onStateChange':(_0x28617d,_0x2545fd)=>{const _0x4ee7ce=_0x5bc9f5;if(_0x28617d!==this[_0x4ee7ce(0x16c)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x28617d[_0x4ee7ce(0x111)]+_0x4ee7ce(0x247)+_0x2545fd[_0x4ee7ce(0x111)]+'\x0aCurrent:\x20'+this[_0x4ee7ce(0x16c)][_0x4ee7ce(0x111)]);this[_0x4ee7ce(0x1ab)](_0x2545fd);},'onSendChangeset':_0x15ad5d=>{const _0x112cb0=_0x5bc9f5,_0x4ac8a2={'eventID':_0x5c3399[_0x112cb0(0x3d6)][_0x112cb0(0x29c)],'data':{'unitID':_0x15ad5d[_0x112cb0(0x282)],'unitType':this[_0x112cb0(0x19c)],'changeset':_0x15ad5d,'memberID':this['session'][_0x112cb0(0x146)]()}};this[_0x112cb0(0x4ba)][_0x112cb0(0x151)](_0x4ac8a2,this[_0x112cb0(0x282)]);},'onMissingChangesets':({from:_0x10c862,to:_0x446e64})=>{const _0x4312c2=_0x5bc9f5;this['_logService'][_0x4312c2(0x3e6)](_0x4312c2(0x24f),_0x4312c2(0xfc)+_0x10c862+_0x4312c2(0x16d)+_0x446e64);const _0x59a658={'eventID':_0x5c3399[_0x4312c2(0x3d6)][_0x4312c2(0x236)],'data':{'unitID':_0x407cb4,'unitType':this['_type'],'from':_0x10c862,'to':_0x446e64}};this[_0x4312c2(0x4ba)][_0x4312c2(0x151)](_0x59a658,this[_0x4312c2(0x282)]);}};}async[_0x4deb9c(0x10b)](_0x35e3cc){const _0x497153=_0x4deb9c;var _0x8ea952,_0x1f9a4a;const _0xc9c213=await this[_0x497153(0x3d7)][_0x497153(0x286)](this[_0x497153(0x282)]),_0x151057=(_0x8ea952=_0xc9c213==null?void 0x0:_0xc9c213[_0x497153(0x367)])!=null?_0x8ea952:[],_0x4bd199=(_0x1f9a4a=_0xc9c213==null?void 0x0:_0xc9c213[_0x497153(0x32c)])!=null?_0x1f9a4a:null,_0x314718=this['unitID'];try{this[_0x497153(0x26f)](_0x4bd199,_0x151057);}catch(_0x188941){this[_0x497153(0x1aa)][_0x497153(0x46e)](_0x188941);}const _0x3f988a=this[_0x497153(0x3e7)]();if(_0x35e3cc){const _0x1964fe=_0x4facb1(this[_0x497153(0x25f)],_0x314718,this[_0x497153(0x19c)],_0x4bd199,_0x151057,_0x3f988a);return _0x1964fe instanceof _0x418dd0?_0x1964fe[_0x497153(0x445)]():(_0x1964fe instanceof _0x29239e||_0x1964fe instanceof _0x2aa63e)&&_0x1964fe[_0x497153(0x4e0)](),_0x1964fe;}return this[_0x497153(0x25f)][_0x497153(0x427)](_0x4fba74,_0x314718,this[_0x497153(0x19c)],_0x4bd199,_0x151057,_0x3f988a);}[_0x4deb9c(0x26f)](_0x3cb3d8,_0x4239d7){const _0x3ab043=_0x4deb9c;var _0x4f2baa,_0x28372a;const _0x55943e=this[_0x3ab043(0x155)]['interceptor'][_0x3ab043(0x1f1)](this[_0x3ab043(0x155)][_0x3ab043(0x3b4)][_0x3ab043(0x3a4)]()[_0x3ab043(0x429)]);(_0x4f2baa=_0x55943e((_0x3cb3d8==null?void 0x0:_0x3cb3d8[_0x3ab043(0x367)])||[],null))==null||_0x4f2baa[_0x3ab043(0x4cc)](_0x206187=>this['_commandService'][_0x3ab043(0x450)](_0x206187['id'],_0x206187[_0x3ab043(0x3fd)])),(_0x28372a=_0x55943e(_0x4239d7||[],null))==null||_0x28372a[_0x3ab043(0x4cc)](_0x612144=>this['_commandService'][_0x3ab043(0x450)](_0x612144['id'],_0x612144[_0x3ab043(0x3fd)]));}},_0x3723aa['CollaborationEntity']=_0x380a6a([_0x1ac0b4(0x3,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x1ac0b4(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x1ac0b4(0x5,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x4a6)])),_0x1ac0b4(0x6,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf['LocaleService'])),_0x1ac0b4(0x7,_0x44f3cf['Inject'](_0x5c3399['RevisionService'])),_0x1ac0b4(0x8,_0x44f3cf[_0x4deb9c(0x4e5)]),_0x1ac0b4(0x9,_0x44f3cf[_0x4deb9c(0x243)]),_0x1ac0b4(0xa,_0x90d6c1[_0x4deb9c(0x1b2)]),_0x1ac0b4(0xb,_0x44f3cf[_0x4deb9c(0x4d1)]),_0x1ac0b4(0xc,_0x44f3cf[_0x4deb9c(0x12e)](_0x27229c))],_0x3723aa[_0x4deb9c(0x3ed)]),_0x3723aa[_0x4deb9c(0x3c1)]=class extends _0x3723aa['CollaborationEntity']{constructor(_0x1548d8,_0x1b8675,_0x9a9fb9,_0x353395,_0x584227,_0x74d483,_0x56f8fc,_0x45a8e6,_0x214b04,_0x3b045b,_0x4670bb,_0xae565f,_0x4bbe13,_0x487554,_0x15c605,_0x3bbd9f,_0xb2633c){const _0x1a887f=_0x4deb9c;super(_0x1548d8,_0x9a9fb9,_0x1b8675,_0x353395,_0x584227,_0x74d483,_0x56f8fc,_0x45a8e6,_0x4bbe13,_0x487554,_0x15c605,_0x3bbd9f,_0xb2633c),this[_0x1a887f(0x282)]=_0x1548d8,this[_0x1a887f(0x4f1)]=_0x1b8675,this[_0x1a887f(0x22b)]=_0x214b04,this[_0x1a887f(0x322)]=_0x3b045b,this[_0x1a887f(0x1f8)]=_0x4670bb,this[_0x1a887f(0x40a)]=_0xae565f;}[_0x4deb9c(0x3e7)](){const _0x506e80=_0x4deb9c,_0x4ec5be=super[_0x506e80(0x3e7)]();return _0x4ec5be[_0x506e80(0x127)]=_0x30958c=>this[_0x506e80(0x322)]['transformIMECache'](_0x30958c),_0x4ec5be[_0x506e80(0x49c)]=_0x3beea5=>this[_0x506e80(0x1f8)][_0x506e80(0x3f8)](_0x3beea5),_0x4ec5be['onSyncEditingCollabCursor']=_0x5a937d=>this[_0x506e80(0x40a)][_0x506e80(0x2ca)](_0x5a937d),_0x4ec5be[_0x506e80(0x37f)]=_0x3acb57=>this[_0x506e80(0x322)][_0x506e80(0x3d0)](_0x3acb57),_0x4ec5be;}async[_0x4deb9c(0x4fb)](){const _0x36ecaf=_0x4deb9c,_0x5c4d10=await super['_init']();return this[_0x36ecaf(0x446)](this[_0x36ecaf(0x484)][_0x36ecaf(0x27a)]((_0x15beba,_0x6966d)=>{const _0x398624=_0x36ecaf;if(_0x15beba[_0x398624(0x4f1)]!==_0x44f3cf[_0x398624(0x2c1)][_0x398624(0x3b0)]||_0x6966d!=null&&_0x6966d['fromCollab']||_0x6966d!=null&&_0x6966d[_0x398624(0x313)])return;const _0x1a431b=_0x15beba[_0x398624(0x3fd)];if((_0x1a431b==null?void 0x0:_0x1a431b[_0x398624(0x380)])!==this[_0x398624(0x282)])return;let _0x4f963a=_0x15beba;if(_0x4f963a['id']===_0x495201[_0x398624(0x41b)]['id']){const _0xcca6a=_0x4f963a[_0x398624(0x3fd)];_0x4f963a={'id':_0x495201[_0x398624(0x41b)]['id'],'type':_0x44f3cf['CommandType'][_0x398624(0x3b0)],'params':{'unitId':_0xcca6a[_0x398624(0x380)],'actions':_0xcca6a[_0x398624(0x3fe)],'textRanges':null}};}const _0x2c29f9=this['_compressMutationService'][_0x398624(0x3b4)][_0x398624(0x1f1)](this['_compressMutationService']['interceptor'][_0x398624(0x3a4)]()['COMPRESS_MUTATION_SEND'])([_0x4f963a],null)||[_0x4f963a];this[_0x398624(0x27f)](_0x2c29f9[0x0]);})),_0x5c4d10;}},_0x3723aa[_0x4deb9c(0x3c1)]=_0x380a6a([_0x1ac0b4(0x3,_0x44f3cf['Inject'](_0x44f3cf[_0x4deb9c(0x483)])),_0x1ac0b4(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x1ac0b4(0x5,_0x44f3cf['Inject'](_0x5c3399[_0x4deb9c(0x4a6)])),_0x1ac0b4(0x6,_0x44f3cf['Inject'](_0x44f3cf['LocaleService'])),_0x1ac0b4(0x7,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x3b2)])),_0x1ac0b4(0x8,_0x44f3cf[_0x4deb9c(0x2a6)](_0x50f029[_0x4deb9c(0x320)])),_0x1ac0b4(0x9,_0x44f3cf[_0x4deb9c(0x2a6)](_0x8239a3)),_0x1ac0b4(0xa,_0x44f3cf[_0x4deb9c(0x2a6)](_0x2c5796)),_0x1ac0b4(0xb,_0x44f3cf[_0x4deb9c(0x2a6)](_0x47cf83)),_0x1ac0b4(0xc,_0x44f3cf[_0x4deb9c(0x4e5)]),_0x1ac0b4(0xd,_0x44f3cf[_0x4deb9c(0x243)]),_0x1ac0b4(0xe,_0x90d6c1[_0x4deb9c(0x1b2)]),_0x1ac0b4(0xf,_0x44f3cf['IPermissionService']),_0x1ac0b4(0x10,_0x44f3cf[_0x4deb9c(0x12e)](_0x27229c))],_0x3723aa[_0x4deb9c(0x3c1)]),_0x3723aa[_0x4deb9c(0x1a5)]=class extends _0x3723aa['CollaborationEntity']{constructor(_0x573f2b,_0x41c349,_0x429a5b,_0x27014a,_0x5dfe4d,_0x5c7d0c,_0x2218b4,_0x9e0e7d,_0x2671c6,_0x2bb391,_0x3739bc,_0x3126e6,_0x1061fd,_0xb6c11c){const _0x5eb547=_0x4deb9c;super(_0x573f2b,_0x429a5b,_0x41c349,_0x27014a,_0x5dfe4d,_0x5c7d0c,_0x2218b4,_0x9e0e7d,_0x2bb391,_0x3739bc,_0x3126e6,_0x1061fd,_0xb6c11c),this[_0x5eb547(0x282)]=_0x573f2b,this[_0x5eb547(0x4f1)]=_0x41c349,this[_0x5eb547(0x18a)]=_0x2671c6;}[_0x4deb9c(0x3e7)](){const _0x219226=_0x4deb9c,_0x45ea8f=super[_0x219226(0x3e7)]();return _0x45ea8f[_0x219226(0x49c)]=_0x33071a=>this[_0x219226(0x18a)][_0x219226(0x3f8)](_0x33071a),_0x45ea8f;}async[_0x4deb9c(0x4fb)](){const _0x430f6b=_0x4deb9c,_0x1e8837=await super[_0x430f6b(0x4fb)]();return this[_0x430f6b(0x446)](this[_0x430f6b(0x484)][_0x430f6b(0x27a)]((_0x299cd5,_0x1fe484)=>{const _0x2d7f80=_0x430f6b;if(_0x299cd5['type']!==_0x44f3cf[_0x2d7f80(0x2c1)][_0x2d7f80(0x3b0)]||_0x1fe484!=null&&_0x1fe484[_0x2d7f80(0x362)]||_0x1fe484!=null&&_0x1fe484[_0x2d7f80(0x313)])return;const _0x5eabba=_0x299cd5[_0x2d7f80(0x3fd)];if((_0x5eabba==null?void 0x0:_0x5eabba[_0x2d7f80(0x380)])!==this['unitID'])return;const _0x4c5ef5=_0x299cd5,_0x33570d=this[_0x2d7f80(0x155)][_0x2d7f80(0x3b4)][_0x2d7f80(0x1f1)](this[_0x2d7f80(0x155)]['interceptor'][_0x2d7f80(0x3a4)]()[_0x2d7f80(0x505)])([_0x4c5ef5],null)||[_0x4c5ef5];this['_onLocalMutation'](_0x33570d[0x0]);})),_0x1e8837;}},_0x3723aa[_0x4deb9c(0x1a5)]=_0x380a6a([_0x1ac0b4(0x3,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x1ac0b4(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x1d5)])),_0x1ac0b4(0x5,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399['CompressMutationService'])),_0x1ac0b4(0x6,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf['LocaleService'])),_0x1ac0b4(0x7,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399[_0x4deb9c(0x3b2)])),_0x1ac0b4(0x8,_0x44f3cf[_0x4deb9c(0x2a6)](_0x356d67)),_0x1ac0b4(0x9,_0x44f3cf[_0x4deb9c(0x4e5)]),_0x1ac0b4(0xa,_0x44f3cf[_0x4deb9c(0x243)]),_0x1ac0b4(0xb,_0x90d6c1[_0x4deb9c(0x1b2)]),_0x1ac0b4(0xc,_0x44f3cf[_0x4deb9c(0x4d1)]),_0x1ac0b4(0xd,_0x44f3cf[_0x4deb9c(0x12e)](_0x27229c))],_0x3723aa[_0x4deb9c(0x1a5)]);var _0x530eec=Object[_0x4deb9c(0x4f6)],_0x43fcad=Object[_0x4deb9c(0x3d9)],_0x1f689e=(_0x6b7f5b,_0x3dc376,_0x54fc35,_0x42e573)=>{const _0x346f86=_0x4deb9c;for(var _0x22e1c0=_0x42e573>0x1?void 0x0:_0x42e573?_0x43fcad(_0x3dc376,_0x54fc35):_0x3dc376,_0x2b0484=_0x6b7f5b[_0x346f86(0x17a)]-0x1,_0xbe370d;_0x2b0484>=0x0;_0x2b0484--)(_0xbe370d=_0x6b7f5b[_0x2b0484])&&(_0x22e1c0=(_0x42e573?_0xbe370d(_0x3dc376,_0x54fc35,_0x22e1c0):_0xbe370d(_0x22e1c0))||_0x22e1c0);return _0x42e573&&_0x22e1c0&&_0x530eec(_0x3dc376,_0x54fc35,_0x22e1c0),_0x22e1c0;},_0x16377b=(_0x9bed5a,_0x244e6d)=>(_0x307e05,_0x53802)=>_0x244e6d(_0x307e05,_0x53802,_0x9bed5a);_0x3723aa['CollaborationController']=class extends _0x44f3cf[_0x4deb9c(0x48b)]{constructor(_0x1b2fe4,_0xec2621,_0x2e026c){const _0x5476c3=_0x4deb9c;super(),_0x434a2a(this,_0x5476c3(0x2b6),new Map()),_0x434a2a(this,'_entityInit$',new _0x1837c6['Subject']()),(this[_0x5476c3(0x25f)]=_0x1b2fe4,this[_0x5476c3(0x359)]=_0xec2621,this[_0x5476c3(0x391)]=_0x2e026c,this[_0x5476c3(0x4fb)]());}[_0x4deb9c(0x241)](){const _0x207c48=_0x4deb9c;super[_0x207c48(0x241)](),this[_0x207c48(0x2b6)][_0x207c48(0x4cc)](_0xaf4f7c=>_0xaf4f7c['dispose']()),this[_0x207c48(0x2b6)]['clear']();}[_0x4deb9c(0x204)](_0x427953){const _0x10eb2f=_0x4deb9c;var _0x2b6fc0;return(_0x2b6fc0=this[_0x10eb2f(0x2b6)][_0x10eb2f(0x38c)](_0x427953))!=null?_0x2b6fc0:null;}[_0x4deb9c(0x2d6)](_0xd98d5c){const _0x27f634=_0x4deb9c,_0x5b275f=this[_0x27f634(0x204)](_0xd98d5c);return _0x5b275f?_0x1837c6['of'](_0x5b275f):this[_0x27f634(0x284)][_0x27f634(0x4f9)](_0x3ab9e8[_0x27f634(0x39e)](_0x5ce19c=>_0x5ce19c[_0x27f634(0x282)]===_0xd98d5c));}[_0x4deb9c(0x4fb)](){const _0x4320c6=_0x4deb9c;this[_0x4320c6(0x391)]['getTypeOfUnitAdded$'](_0x44f3cf['UniverInstanceType'][_0x4320c6(0x402)])[_0x4320c6(0x4f9)](_0x1837c6['takeUntil'](this['dispose$']),_0x3ab9e8[_0x4320c6(0x3a6)](0x10))[_0x4320c6(0x138)](async _0x39ab01=>{const _0x308d3a=_0x4320c6,_0x38b976=_0x39ab01[_0x308d3a(0x43f)](),_0x58bac7=await this[_0x308d3a(0x18d)](_0x38b976,_0x3bfee1['UNIVER_SHEET']);this[_0x308d3a(0x2b6)][_0x308d3a(0x2b2)](_0x38b976,_0x58bac7);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x44f3cf[_0x4320c6(0x1bb)][_0x4320c6(0x350)])['pipe'](_0x1837c6['takeUntil'](this[_0x4320c6(0x423)]),_0x3ab9e8[_0x4320c6(0x3a6)](0x10))[_0x4320c6(0x4f9)](_0x3ab9e8[_0x4320c6(0x39e)](_0x3f8352=>!_0x3f8352[_0x4320c6(0x43f)]()[_0x4320c6(0x513)]('__')))[_0x4320c6(0x138)](async _0x1e2cdd=>{const _0x378164=_0x4320c6,_0x4193c6=_0x1e2cdd[_0x378164(0x43f)](),_0x4c2464=await this[_0x378164(0x18d)](_0x4193c6,_0x3bfee1[_0x378164(0x350)]);this[_0x378164(0x2b6)][_0x378164(0x2b2)](_0x4193c6,_0x4c2464);}),_0x1837c6[_0x4320c6(0xfb)](this['_univerInstanceService'][_0x4320c6(0x4a5)](_0x44f3cf[_0x4320c6(0x1bb)][_0x4320c6(0x402)]),this[_0x4320c6(0x391)]['getTypeOfUnitDisposed$'](_0x44f3cf[_0x4320c6(0x1bb)][_0x4320c6(0x350)]))['pipe'](_0x1837c6[_0x4320c6(0x23e)](this[_0x4320c6(0x423)]))[_0x4320c6(0x138)](_0x17c031=>{const _0x5b6aee=_0x4320c6,_0x5c08ef=_0x17c031[_0x5b6aee(0x43f)](),_0x489766=this[_0x5b6aee(0x2b6)][_0x5b6aee(0x38c)](_0x5c08ef);_0x489766&&(_0x489766['dispose'](),this[_0x5b6aee(0x2b6)][_0x5b6aee(0x312)](_0x5c08ef));});}async[_0x4deb9c(0x18d)](_0x449c8c,_0x46ab49){const _0x2dea41=_0x4deb9c,_0x302e4d=await this['_collabSessionService'][_0x2dea41(0x10f)](_0x449c8c),_0x35d18f=this[_0x2dea41(0x25f)][_0x2dea41(0x427)](this['_getCtorByUniverType'](_0x46ab49),_0x449c8c,_0x46ab49,_0x302e4d);return await _0x35d18f[_0x2dea41(0x36a)](),this[_0x2dea41(0x284)][_0x2dea41(0x3e8)](_0x35d18f),_0x35d18f;}['_getCtorByUniverType'](_0x2f8747){const _0x50e3b5=_0x4deb9c;switch(_0x2f8747){case _0x3bfee1[_0x50e3b5(0x350)]:return _0x3723aa[_0x50e3b5(0x3c1)];case _0x3bfee1[_0x50e3b5(0x402)]:return _0x3723aa['SheetCollaborationEntity'];default:throw new Error(_0x50e3b5(0x2fd)+_0x2f8747);}}},_0x3723aa[_0x4deb9c(0x3ac)]=_0x1f689e([_0x16377b(0x0,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x16377b(0x1,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x433)])),_0x16377b(0x2,_0x44f3cf[_0x4deb9c(0x165)])],_0x3723aa[_0x4deb9c(0x3ac)]);const _0x2634fe=[_0x4deb9c(0x3de),_0x4deb9c(0x2f1),_0x4deb9c(0x480),_0x4deb9c(0x3eb),_0x4deb9c(0x2fc),_0x4deb9c(0x3ec)];class _0x491fbd extends _0x44f3cf['Disposable']{constructor(){const _0x3f60b4=_0x4deb9c;super(...arguments),_0x434a2a(this,_0x3f60b4(0x42b),new Map()),_0x434a2a(this,_0x3f60b4(0x152),0x0);}['assignAColorForMemberID'](_0x51b118){const _0x171c87=_0x4deb9c;if(this[_0x171c87(0x42b)][_0x171c87(0x17f)](_0x51b118))return this[_0x171c87(0x42b)][_0x171c87(0x38c)](_0x51b118);const _0x2b3e2d=_0x2634fe[this[_0x171c87(0x152)]];return this['_colorIndex']=(this[_0x171c87(0x152)]+0x1)%_0x2634fe['length'],this[_0x171c87(0x42b)][_0x171c87(0x2b2)](_0x51b118,_0x2b3e2d),_0x2b3e2d;}}var _0x4c3d5c=Object[_0x4deb9c(0x4f6)],_0x14616e=Object[_0x4deb9c(0x3d9)],_0x24ddc6=(_0x19dfed,_0x15bbfa,_0x1c2c6c,_0x12a5d4)=>{const _0x32ebaa=_0x4deb9c;for(var _0xebb030=_0x12a5d4>0x1?void 0x0:_0x12a5d4?_0x14616e(_0x15bbfa,_0x1c2c6c):_0x15bbfa,_0x3961c2=_0x19dfed[_0x32ebaa(0x17a)]-0x1,_0x725590;_0x3961c2>=0x0;_0x3961c2--)(_0x725590=_0x19dfed[_0x3961c2])&&(_0xebb030=(_0x12a5d4?_0x725590(_0x15bbfa,_0x1c2c6c,_0xebb030):_0x725590(_0xebb030))||_0xebb030);return _0x12a5d4&&_0xebb030&&_0x4c3d5c(_0x15bbfa,_0x1c2c6c,_0xebb030),_0xebb030;},_0x2c344e=(_0x233a7b,_0x55f833)=>(_0xd47a5f,_0x19640f)=>_0x55f833(_0xd47a5f,_0x19640f,_0x233a7b);const _0x3408cd=0x12c,_0x525db6=0x64,_0x19a090=()=>{let _0x12d745=[],_0x2f98b7=!0x1;return _0x1336e9=>{const _0x3d7392=_0x47c1;_0x12d745[_0x3d7392(0x4c0)](_0x1336e9),_0x2f98b7||(_0x2f98b7=!0x0,setTimeout(()=>{const _0x20464b=_0x3d7392;_0x12d745[_0x20464b(0x4cc)](_0x23ba86=>_0x23ba86()),_0x12d745=[],_0x2f98b7=!0x1;}));};};let _0x593318=class extends _0x44f3cf[_0x4deb9c(0x48b)]{constructor(_0x7fc96,_0x4653db,_0x159941,_0xd39d78,_0x287b85,_0x4056f7,_0x1a57e6,_0x1ba556){const _0x391c72=_0x4deb9c;super(),_0x434a2a(this,'_online',!0x1),_0x434a2a(this,_0x391c72(0x4fb),!0x1),_0x434a2a(this,_0x391c72(0x36b),new _0x1837c6[(_0x391c72(0x17d))](new Map())),_0x434a2a(this,_0x391c72(0x23c),this[_0x391c72(0x36b)][_0x391c72(0x4eb)]()),_0x434a2a(this,_0x391c72(0x4f3),new _0x1837c6[(_0x391c72(0x17d))]([])),_0x434a2a(this,_0x391c72(0x3c0),this[_0x391c72(0x4f3)][_0x391c72(0x4f9)](_0x1837c6[_0x391c72(0x2a0)](_0x3408cd))),_0x434a2a(this,_0x391c72(0x4cd),_0xb2aa35((_0x11f8c1,_0x58e957)=>{const _0x5cbdce=_0x391c72,_0x1a324c={'eventID':_0x5c3399['CollaborationEvent'][_0x5cbdce(0x1c5)],'data':{'unitID':this[_0x5cbdce(0x282)],'memberID':this['_session'][_0x5cbdce(0x146)](),'selection':_0x3dc1ae[_0x5cbdce(0x3a8)](_0x11f8c1,_0x58e957[_0x5cbdce(0x408)])}};this[_0x5cbdce(0x39d)][_0x5cbdce(0x151)](_0x1a324c,this[_0x5cbdce(0x282)]);},_0x525db6)),(this['unitID']=_0x7fc96,this['_session']=_0x4653db,this[_0x391c72(0x25f)]=_0x159941,this['_colorAssignService']=_0xd39d78,this['_memberService']=_0x287b85,this[_0x391c72(0x391)]=_0x4056f7,this[_0x391c72(0x484)]=_0x1a57e6,this[_0x391c72(0x2a4)]=_0x1ba556);}get[_0x4deb9c(0x464)](){const _0x9e3ac6=_0x4deb9c;return this[_0x9e3ac6(0x36b)]['getValue']();}get[_0x4deb9c(0x281)](){const _0x3119a8=_0x4deb9c;return this[_0x3119a8(0x4f3)][_0x3119a8(0x22e)]();}['dispose'](){const _0x5e2042=_0x4deb9c;super[_0x5e2042(0x241)](),this[_0x5e2042(0x36b)][_0x5e2042(0x3e8)](new Map()),this[_0x5e2042(0x36b)][_0x5e2042(0x4d3)](),this['_roomMembers$']['next']([]),this['_roomMembers$']['complete']();}[_0x4deb9c(0x36a)](){const _0x5b9f1b=_0x4deb9c;this[_0x5b9f1b(0x4fb)]||(this[_0x5b9f1b(0x4fb)]=!0x0,this[_0x5b9f1b(0x39d)][_0x5b9f1b(0x501)][_0x5b9f1b(0x4f9)](_0x1837c6[_0x5b9f1b(0x23e)](this[_0x5b9f1b(0x423)]))[_0x5b9f1b(0x138)](_0x312591=>{const _0x541375=_0x5b9f1b;_0x312591===_0x4388c5[_0x541375(0x1df)]?this['_toggleOnline']():this[_0x541375(0x327)]();}),this[_0x5b9f1b(0x39d)][_0x5b9f1b(0x458)][_0x5b9f1b(0x4f9)](_0x1837c6[_0x5b9f1b(0x23e)](this['dispose$']))[_0x5b9f1b(0x138)](_0x4973d4=>{const _0x2e1614=_0x5b9f1b,_0x1e4d22=_0x4973d4[_0x2e1614(0x2aa)];_0x1e4d22===_0x5c3399['CollaborationEvent'][_0x2e1614(0x1c5)]&&this[_0x2e1614(0x181)](_0x4973d4),_0x1e4d22===_0x5c3399['CollaborationEvent'][_0x2e1614(0x203)]&&this[_0x2e1614(0x466)](_0x4973d4);}),this['_onRefRangeChange'](),this[_0x5b9f1b(0x446)](this[_0x5b9f1b(0x484)][_0x5b9f1b(0x27a)](_0x17c228=>{const _0x274211=_0x5b9f1b;if(this['_online']&&_0x17c228['id']===_0x5848ce[_0x274211(0x3b8)]['id']&&_0x17c228['params'][_0x274211(0x380)]===this[_0x274211(0x282)]){const _0x1e32d8=_0x17c228[_0x274211(0x3fd)];this[_0x274211(0x4cd)](_0x1e32d8['subUnitId'],_0x1e32d8[_0x274211(0x34d)][0x0]);}})));}[_0x4deb9c(0x181)](_0x38e7f5){const _0x59c7f3=_0x4deb9c;var _0x38a6b0,_0x5bab02;const {memberID:_0x295fd6,selection:_0x3811f3}=_0x38e7f5[_0x59c7f3(0xf9)],{sheetName:_0x41edb1,range:_0x6141a7}=_0x3dc1ae[_0x59c7f3(0x4e9)](_0x3811f3),_0x4c58aa={'name':(_0x5bab02=(_0x38a6b0=this[_0x59c7f3(0x4d4)][_0x59c7f3(0x438)](this[_0x59c7f3(0x282)],_0x295fd6))==null?void 0x0:_0x38a6b0[_0x59c7f3(0x2e1)])!=null?_0x5bab02:'Unknown\x20user','range':this[_0x59c7f3(0x296)](_0x41edb1,_0x6141a7),'sheetID':_0x41edb1,'color':this[_0x59c7f3(0x162)][_0x59c7f3(0x42e)](_0x295fd6),'selection':_0x3811f3},_0x32bc96=this['cursorInfo'];_0x32bc96[_0x59c7f3(0x2b2)](_0x295fd6,_0x4c58aa),this[_0x59c7f3(0x36b)]['next'](_0x32bc96);}[_0x4deb9c(0x466)](_0x3e8dc8){const _0x25ef15=_0x4deb9c,{memberID:_0x40f4f4}=_0x3e8dc8[_0x25ef15(0xf9)],_0x24491d=this[_0x25ef15(0x464)];_0x24491d[_0x25ef15(0x312)](_0x40f4f4),this['_cursorInfo$']['next'](_0x24491d);}[_0x4deb9c(0x296)](_0x5b7510,_0x1dcde3){const _0x20216f=_0x4deb9c;var _0x591fe5,_0x34bb3d;const _0x35d26f=(_0x34bb3d=(_0x591fe5=this[_0x20216f(0x391)][_0x20216f(0x471)](this[_0x20216f(0x282)]))==null?void 0x0:_0x591fe5[_0x20216f(0x3bf)](_0x5b7510))==null?void 0x0:_0x34bb3d[_0x20216f(0x302)]();return(_0x35d26f==null?void 0x0:_0x35d26f[_0x20216f(0x340)](_0x61ef93=>_0x44f3cf[_0x20216f(0x1b8)][_0x20216f(0x47b)](_0x61ef93,_0x1dcde3)))||_0x1dcde3;}['_onRefRangeChange'](){const _0x3db532=_0x4deb9c,_0x312234=new _0x44f3cf[(_0x3db532(0x1c7))](),_0x5dca43=_0x19a090(),_0x2f461d=()=>{const _0x245b69=_0x3db532;_0x312234['dispose']();const _0x590199=(_0x508228,_0x4d5be1,_0x4a3aa4,_0x1246ef)=>{const _0x14fbfc=_0x47c1;let _0x415944=[];switch(_0x508228['id']){case _0x5848ce[_0x14fbfc(0x2f2)]['DeleteRangeMoveLeftCommandId']:{_0x415944=_0x5848ce[_0x14fbfc(0x35b)](_0x508228,_0x1246ef);break;}case _0x5848ce['EffectRefRangId'][_0x14fbfc(0x245)]:{_0x415944=_0x5848ce['handleDeleteRangeMoveUp'](_0x508228,_0x1246ef);break;}case _0x5848ce['EffectRefRangId'][_0x14fbfc(0x250)]:{_0x415944=_0x5848ce['handleInsertCol'](_0x508228,_0x1246ef);break;}case _0x5848ce[_0x14fbfc(0x2f2)]['InsertRangeMoveDownCommandId']:{_0x415944=_0x5848ce[_0x14fbfc(0x36d)](_0x508228,_0x1246ef);break;}case _0x5848ce['EffectRefRangId'][_0x14fbfc(0x1d8)]:{_0x415944=_0x5848ce['handleInsertRangeMoveRight'](_0x508228,_0x1246ef);break;}case _0x5848ce[_0x14fbfc(0x2f2)]['InsertRowCommandId']:{_0x415944=_0x5848ce[_0x14fbfc(0x363)](_0x508228,_0x1246ef);break;}case _0x5848ce[_0x14fbfc(0x2f2)]['MoveRangeCommandId']:{_0x415944=_0x5848ce[_0x14fbfc(0x20d)](_0x508228,_0x1246ef);break;}case _0x5848ce[_0x14fbfc(0x2f2)][_0x14fbfc(0x1c9)]:{_0x415944=_0x5848ce['handleIRemoveCol'](_0x508228,_0x1246ef);break;}case _0x5848ce[_0x14fbfc(0x2f2)][_0x14fbfc(0x419)]:{_0x415944=_0x5848ce[_0x14fbfc(0x1ba)](_0x508228,_0x1246ef);break;}}const _0x5d992c=_0x5848ce[_0x14fbfc(0x44d)](_0x415944,_0x1246ef),_0x1966e2=this[_0x14fbfc(0x464)]['get'](_0x4d5be1);if(_0x1966e2&&_0x5d992c){const _0x2d0685={..._0x1966e2,'range':_0x5d992c};this['cursorInfo'][_0x14fbfc(0x2b2)](_0x4d5be1,_0x2d0685),_0x5dca43(()=>{const _0x3c5856=_0x14fbfc,_0x23c1fa=this[_0x3c5856(0x2a4)][_0x3c5856(0x3aa)](_0x5d992c,_0x43438d=>(_0x23c1fa['dispose'](),_0x590199(_0x43438d,_0x4d5be1,_0x4a3aa4,_0x5d992c)));_0x312234[_0x3c5856(0x117)](_0x23c1fa);});}return{'redos':[],'undos':[]};};this[_0x245b69(0x464)][_0x245b69(0x4cc)]((_0x1c40a7,_0x478e89)=>{const _0x370c35=_0x245b69,{range:_0x46b310,sheetID:_0x23d139}=_0x1c40a7,_0x2f1fde=this[_0x370c35(0x2a4)][_0x370c35(0x3aa)](_0x46b310,_0x8340f8=>(_0x2f1fde[_0x370c35(0x241)](),_0x590199(_0x8340f8,_0x478e89,_0x23d139,_0x46b310)));_0x312234[_0x370c35(0x117)](_0x2f1fde);});};this[_0x3db532(0x446)](_0x44f3cf[_0x3db532(0x133)](this['_cursorInfo$'][_0x3db532(0x138)](()=>{_0x2f461d();})));}[_0x4deb9c(0x346)](){const _0x4dfd6f=_0x4deb9c;var _0x56ac54,_0x2f120f;if(this[_0x4dfd6f(0x258)]=!0x0,((_0x56ac54=this[_0x4dfd6f(0x391)][_0x4dfd6f(0x1af)]())==null?void 0x0:_0x56ac54[_0x4dfd6f(0x43f)]())!==this[_0x4dfd6f(0x282)])return;const _0x554c8b=(_0x2f120f=this[_0x4dfd6f(0x25f)][_0x4dfd6f(0x38c)](_0x5848ce[_0x4dfd6f(0x13c)])[_0x4dfd6f(0x141)]())==null?void 0x0:_0x2f120f[0x0],_0x23eaba=this['_univerInstanceService']['getCurrentUnitForType'](_0x44f3cf[_0x4dfd6f(0x1bb)][_0x4dfd6f(0x402)])[_0x4dfd6f(0x4c5)]();_0x554c8b&&_0x23eaba&&this['_updateLocalCursor'](_0x23eaba['getSheetId'](),_0x554c8b);}[_0x4deb9c(0x327)](){const _0x5bfe39=_0x4deb9c;this[_0x5bfe39(0x258)]=!0x1;}};_0x593318=_0x24ddc6([_0x2c344e(0x2,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x2c344e(0x3,_0x44f3cf['Inject'](_0x491fbd)),_0x2c344e(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x32fe7e)),_0x2c344e(0x5,_0x44f3cf[_0x4deb9c(0x165)]),_0x2c344e(0x6,_0x44f3cf[_0x4deb9c(0x243)]),_0x2c344e(0x7,_0x44f3cf['Inject'](_0x5848ce[_0x4deb9c(0x22c)]))],_0x593318);var _0x2f359f=Object[_0x4deb9c(0x4f6)],_0x421005=Object[_0x4deb9c(0x3d9)],_0x4e045b=(_0x2d0cd9,_0x2f8ef5,_0x199a3e,_0x108cac)=>{const _0x17f646=_0x4deb9c;for(var _0x5c0b0b=_0x108cac>0x1?void 0x0:_0x108cac?_0x421005(_0x2f8ef5,_0x199a3e):_0x2f8ef5,_0x53fe09=_0x2d0cd9[_0x17f646(0x17a)]-0x1,_0x155396;_0x53fe09>=0x0;_0x53fe09--)(_0x155396=_0x2d0cd9[_0x53fe09])&&(_0x5c0b0b=(_0x108cac?_0x155396(_0x2f8ef5,_0x199a3e,_0x5c0b0b):_0x155396(_0x5c0b0b))||_0x5c0b0b);return _0x108cac&&_0x5c0b0b&&_0x2f359f(_0x2f8ef5,_0x199a3e,_0x5c0b0b),_0x5c0b0b;},_0x1ad801=(_0x490038,_0x1c2d0f)=>(_0x2ac74,_0x12f46b)=>_0x1c2d0f(_0x2ac74,_0x12f46b,_0x490038);const _0x12db7d=0x12c,_0x239aaf=0x64;let _0x35e6b3=class extends _0x44f3cf['RxDisposable']{constructor(_0x5062b8,_0x735f9d,_0x5ef33b,_0x2abb0b,_0x43ca58,_0xd97582,_0x5aa57a,_0x286a5d,_0xa71e45){const _0x3c2df1=_0x4deb9c;super(),_0x434a2a(this,_0x3c2df1(0x258),!0x1),_0x434a2a(this,_0x3c2df1(0x4fb),!0x1),_0x434a2a(this,_0x3c2df1(0x36b),new _0x1837c6['BehaviorSubject'](new Map())),_0x434a2a(this,_0x3c2df1(0x23c),this['_cursorInfo$'][_0x3c2df1(0x4eb)]()),_0x434a2a(this,'_roomMembers$',new _0x1837c6['BehaviorSubject']([])),_0x434a2a(this,_0x3c2df1(0x3c0),this[_0x3c2df1(0x4f3)][_0x3c2df1(0x4f9)](_0x1837c6[_0x3c2df1(0x2a0)](_0x12db7d))),_0x434a2a(this,'_updateLocalCursor',_0xb2aa35(_0x281fe3=>{const _0x594975=_0x3c2df1,_0x49f47b={'eventID':_0x5c3399[_0x594975(0x3d6)][_0x594975(0x1c5)],'data':{'unitID':this[_0x594975(0x282)],'memberID':this['_session'][_0x594975(0x146)](),'selection':_0x540863(_0x281fe3)}};this['_session'][_0x594975(0x151)](_0x49f47b,this[_0x594975(0x282)]);},_0x239aaf)),(this[_0x3c2df1(0x282)]=_0x5062b8,this[_0x3c2df1(0x39d)]=_0x735f9d,this[_0x3c2df1(0x25f)]=_0x5ef33b,this[_0x3c2df1(0x162)]=_0x2abb0b,this[_0x3c2df1(0x4d4)]=_0x43ca58,this[_0x3c2df1(0x177)]=_0xd97582,this[_0x3c2df1(0x3c2)]=_0x5aa57a,this[_0x3c2df1(0x391)]=_0x286a5d,this[_0x3c2df1(0x484)]=_0xa71e45);}get[_0x4deb9c(0x464)](){const _0x491286=_0x4deb9c;return this[_0x491286(0x36b)][_0x491286(0x22e)]();}get[_0x4deb9c(0x281)](){const _0x1e0cbb=_0x4deb9c;return this[_0x1e0cbb(0x4f3)][_0x1e0cbb(0x22e)]();}[_0x4deb9c(0x241)](){const _0x57a1ff=_0x4deb9c;super[_0x57a1ff(0x241)](),this[_0x57a1ff(0x36b)]['next'](new Map()),this[_0x57a1ff(0x36b)]['complete'](),this[_0x57a1ff(0x4f3)][_0x57a1ff(0x3e8)]([]),this['_roomMembers$'][_0x57a1ff(0x4d3)]();}[_0x4deb9c(0x36a)](){const _0x294f25=_0x4deb9c;this['_init']||(this['_init']=!0x0,this[_0x294f25(0x39d)][_0x294f25(0x501)][_0x294f25(0x4f9)](_0x1837c6[_0x294f25(0x23e)](this[_0x294f25(0x423)]))['subscribe'](_0x238623=>{const _0x1651eb=_0x294f25;_0x238623===_0x4388c5[_0x1651eb(0x1df)]?this[_0x1651eb(0x346)]():this[_0x1651eb(0x327)]();}),this[_0x294f25(0x39d)][_0x294f25(0x458)][_0x294f25(0x4f9)](_0x1837c6[_0x294f25(0x23e)](this[_0x294f25(0x423)]))['subscribe'](_0x4c3e2c=>{const _0x37c082=_0x294f25,_0x221f4b=_0x4c3e2c[_0x37c082(0x2aa)];_0x221f4b===_0x5c3399[_0x37c082(0x3d6)][_0x37c082(0x1c5)]&&this[_0x37c082(0x181)](_0x4c3e2c),_0x221f4b===_0x5c3399[_0x37c082(0x3d6)][_0x37c082(0x203)]&&this[_0x37c082(0x466)](_0x4c3e2c);}),this[_0x294f25(0x446)](this[_0x294f25(0x484)][_0x294f25(0x27a)](_0x1b54de=>{const _0x414c16=_0x294f25,_0xfb334=_0x1b54de[_0x414c16(0x3fd)];_0xfb334!=null&&this[_0x414c16(0x258)]&&_0x1b54de['id']===_0x495201[_0x414c16(0x3dd)]['id']&&_0xfb334['unitId']===this[_0x414c16(0x282)]&&_0xfb334[_0x414c16(0x401)]===!0x1&&this[_0x414c16(0x4cd)](_0xfb334[_0x414c16(0x29b)]);})),this['_syncEditingCollabCursorService'][_0x294f25(0x14b)][_0x294f25(0x4f9)](_0x1837c6[_0x294f25(0x23e)](this['dispose$']))[_0x294f25(0x138)](_0x2e275b=>{const _0x3d4b25=_0x294f25;if((_0x2e275b==null?void 0x0:_0x2e275b[_0x3d4b25(0x282)])!==this[_0x3d4b25(0x282)])return;const _0x48840d={'eventID':_0x5c3399[_0x3d4b25(0x3d6)][_0x3d4b25(0x1c5)],'data':_0x2e275b};this[_0x3d4b25(0x181)](_0x48840d);}),this[_0x294f25(0x446)](this[_0x294f25(0x484)][_0x294f25(0x27a)](_0x4408a1=>{const _0x2396d0=_0x294f25;if(_0x4408a1[_0x2396d0(0x3fd)]==null)return;const _0x3c3329=_0x4408a1['params'];if(_0x4408a1['id']!==_0x495201[_0x2396d0(0x41b)]['id']||_0x3c3329['unitId']!==this[_0x2396d0(0x282)])return;const _0x402c4b={'id':_0x2396d0(0x190),'params':_0x3c3329},_0x22dfac=this[_0x2396d0(0x464)];for(const [_0x265292,_0x5e897b]of _0x22dfac){const _0x4e7eaf={'id':_0x2396d0(0x190),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5e897b['ranges']}},_0x57ec9a=this['_transformService'][_0x2396d0(0x3ea)](_0x402c4b,_0x4e7eaf,!0x1);if(_0x5c3399['isTransformMutationFailure'](_0x57ec9a))throw _0x57ec9a[_0x2396d0(0x46e)];_0x22dfac[_0x2396d0(0x2b2)](_0x265292,{..._0x5e897b,'ranges':_0x57ec9a[_0x2396d0(0x499)][_0x2396d0(0x3fd)][_0x2396d0(0x23f)]});}queueMicrotask(()=>{const _0x4ac7f7=_0x2396d0;this[_0x4ac7f7(0x36b)]['next'](_0x22dfac);});})));}[_0x4deb9c(0x181)](_0x4cf95b){const _0x219461=_0x4deb9c;var _0x1b74cf,_0x209945;const {memberID:_0x5b3cd9,selection:_0x5869e7}=_0x4cf95b[_0x219461(0xf9)],_0x565829=_0x58a905(_0x5869e7),_0xf03fee=(_0x209945=(_0x1b74cf=this[_0x219461(0x4d4)][_0x219461(0x438)](this[_0x219461(0x282)],_0x5b3cd9))==null?void 0x0:_0x1b74cf['name'])!=null?_0x209945:_0x219461(0x207),_0x32f608={'color':this['_colorAssignService'][_0x219461(0x42e)](_0x5b3cd9),'name':_0xf03fee,'ranges':_0x565829},_0x5334b6=this['cursorInfo'];_0x5334b6['set'](_0x5b3cd9,_0x32f608),this[_0x219461(0x36b)][_0x219461(0x3e8)](_0x5334b6);}['_onCursorDelete'](_0x170477){const _0x1ffa57=_0x4deb9c,{memberID:_0x4a332a}=_0x170477[_0x1ffa57(0xf9)],_0x554916=this['cursorInfo'];_0x554916['delete'](_0x4a332a),this[_0x1ffa57(0x36b)]['next'](_0x554916);}[_0x4deb9c(0x346)](){const _0x4c5e92=_0x4deb9c;var _0x120d62;if(this[_0x4c5e92(0x258)]=!0x0,((_0x120d62=this['_univerInstanceService'][_0x4c5e92(0x1af)]())==null?void 0x0:_0x120d62[_0x4c5e92(0x43f)]())!==this[_0x4c5e92(0x282)])return;const _0x6fcaec=this[_0x4c5e92(0x25f)][_0x4c5e92(0x38c)](_0x495201[_0x4c5e92(0x432)])['getDocRanges']();Array[_0x4c5e92(0x4be)](_0x6fcaec)&&_0x6fcaec['length']>0x0&&this[_0x4c5e92(0x4cd)](_0x6fcaec);}[_0x4deb9c(0x327)](){const _0x27b010=_0x4deb9c;this[_0x27b010(0x258)]=!0x1;}};_0x35e6b3=_0x4e045b([_0x1ad801(0x2,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x1ad801(0x3,_0x44f3cf['Inject'](_0x491fbd)),_0x1ad801(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x32fe7e)),_0x1ad801(0x5,_0x44f3cf[_0x4deb9c(0x2a6)](_0x47cf83)),_0x1ad801(0x6,_0x5c3399[_0x4deb9c(0x453)]),_0x1ad801(0x7,_0x44f3cf[_0x4deb9c(0x165)]),_0x1ad801(0x8,_0x44f3cf[_0x4deb9c(0x243)])],_0x35e6b3);var _0x34e90d=Object[_0x4deb9c(0x4f6)],_0x33b98e=Object['getOwnPropertyDescriptor'],_0x4633df=(_0x482dc5,_0x3f66e2,_0xd7723b,_0x57a441)=>{const _0x1a2510=_0x4deb9c;for(var _0x31b0c8=_0x57a441>0x1?void 0x0:_0x57a441?_0x33b98e(_0x3f66e2,_0xd7723b):_0x3f66e2,_0x224b7f=_0x482dc5[_0x1a2510(0x17a)]-0x1,_0x17ba10;_0x224b7f>=0x0;_0x224b7f--)(_0x17ba10=_0x482dc5[_0x224b7f])&&(_0x31b0c8=(_0x57a441?_0x17ba10(_0x3f66e2,_0xd7723b,_0x31b0c8):_0x17ba10(_0x31b0c8))||_0x31b0c8);return _0x57a441&&_0x31b0c8&&_0x34e90d(_0x3f66e2,_0xd7723b,_0x31b0c8),_0x31b0c8;},_0x5605e8=(_0x3e106f,_0x239ce8)=>(_0x5c8c84,_0x5ae3a5)=>_0x239ce8(_0x5c8c84,_0x5ae3a5,_0x3e106f);let _0xdbf3eb=class extends _0x44f3cf[_0x4deb9c(0x48b)]{constructor(_0x191894,_0x4e8abd,_0x3b363f){const _0x86dbb5=_0x4deb9c;super(),_0x434a2a(this,_0x86dbb5(0x2b6),new Map()),_0x434a2a(this,_0x86dbb5(0x284),new _0x1837c6[(_0x86dbb5(0x4a0))]()),(this['_univerInstanceService']=_0x191894,this[_0x86dbb5(0x25f)]=_0x4e8abd,this['_collabSessionService']=_0x3b363f,this[_0x86dbb5(0x4fb)]());}[_0x4deb9c(0x241)](){const _0x4ae702=_0x4deb9c;super[_0x4ae702(0x241)](),this['_entityInit$'][_0x4ae702(0x4d3)](),this[_0x4ae702(0x2b6)][_0x4ae702(0x4cc)](_0x6b2fb9=>_0x6b2fb9[_0x4ae702(0x241)]());}[_0x4deb9c(0x28e)](_0x553233){const _0x408f4b=_0x4deb9c;return this[_0x408f4b(0x2b6)][_0x408f4b(0x17f)](_0x553233)?this[_0x408f4b(0x2b6)][_0x408f4b(0x38c)](_0x553233)['cursorInfo$']:this[_0x408f4b(0x284)]['pipe'](_0x1837c6[_0x408f4b(0x39e)](_0x3b6048=>_0x3b6048[_0x408f4b(0x282)]===_0x553233),_0x1837c6['switchMap'](_0x10975d=>_0x10975d['cursorInfo$']));}[_0x4deb9c(0x4fb)](){const _0x23bfdf=_0x4deb9c;this['_univerInstanceService'][_0x23bfdf(0x3e1)](_0x44f3cf['UniverInstanceType'][_0x23bfdf(0x402)])[_0x23bfdf(0x4f9)](_0x1837c6[_0x23bfdf(0x23e)](this[_0x23bfdf(0x423)]))['subscribe'](async _0x29467b=>{const _0x3b1953=_0x23bfdf,_0x3289ca=_0x29467b[_0x3b1953(0x43f)](),_0x3af9da=await this['_startSheetCollabCursor'](_0x3289ca);this[_0x3b1953(0x284)][_0x3b1953(0x3e8)](_0x3af9da),this['_entities'][_0x3b1953(0x2b2)](_0x3289ca,_0x3af9da);}),this['_univerInstanceService'][_0x23bfdf(0x3e1)](_0x44f3cf[_0x23bfdf(0x1bb)][_0x23bfdf(0x350)])[_0x23bfdf(0x4f9)](_0x1837c6['takeUntil'](this['dispose$']))[_0x23bfdf(0x4f9)](_0x1837c6[_0x23bfdf(0x39e)](_0x8e948c=>!_0x8e948c[_0x23bfdf(0x43f)]()[_0x23bfdf(0x513)]('__')))['subscribe'](async _0x288e7f=>{const _0x594dc3=_0x23bfdf,_0x1d90e0=_0x288e7f[_0x594dc3(0x43f)](),_0x255e52=await this[_0x594dc3(0x115)](_0x1d90e0);this[_0x594dc3(0x284)][_0x594dc3(0x3e8)](_0x255e52),this[_0x594dc3(0x2b6)]['set'](_0x1d90e0,_0x255e52);}),_0x1837c6[_0x23bfdf(0xfb)](this[_0x23bfdf(0x391)]['getTypeOfUnitDisposed$'](_0x44f3cf[_0x23bfdf(0x1bb)][_0x23bfdf(0x350)]),this[_0x23bfdf(0x391)][_0x23bfdf(0x4a5)](_0x44f3cf[_0x23bfdf(0x1bb)]['UNIVER_SHEET']))[_0x23bfdf(0x4f9)](_0x1837c6[_0x23bfdf(0x23e)](this[_0x23bfdf(0x423)]))[_0x23bfdf(0x138)](_0x3d5729=>{const _0x12a6ca=_0x23bfdf,_0x4f2561=_0x3d5729[_0x12a6ca(0x43f)](),_0x5dc737=this[_0x12a6ca(0x2b6)][_0x12a6ca(0x38c)](_0x4f2561);_0x5dc737&&(_0x5dc737[_0x12a6ca(0x241)](),this[_0x12a6ca(0x2b6)][_0x12a6ca(0x312)](_0x4f2561));});}async[_0x4deb9c(0x3f9)](_0x4803fc){const _0x84157b=_0x4deb9c,_0x25b1db=await this['_collabSessionService'][_0x84157b(0x10f)](_0x4803fc),_0x2b8a36=this[_0x84157b(0x25f)][_0x84157b(0x427)](_0x593318,_0x4803fc,_0x25b1db);return _0x2b8a36[_0x84157b(0x36a)](),_0x2b8a36;}async[_0x4deb9c(0x115)](_0x3ab9aa){const _0x4f3d00=_0x4deb9c,_0x2790dc=await this[_0x4f3d00(0x359)]['requireSession'](_0x3ab9aa),_0x470510=this[_0x4f3d00(0x25f)]['createInstance'](_0x35e6b3,_0x3ab9aa,_0x2790dc);return _0x470510[_0x4f3d00(0x36a)](),_0x470510;}};_0xdbf3eb=_0x4633df([_0x44f3cf[_0x4deb9c(0x33b)](_0x44f3cf[_0x4deb9c(0x2b4)][_0x4deb9c(0x341)],_0xdbf3eb),_0x5605e8(0x0,_0x44f3cf[_0x4deb9c(0x165)]),_0x5605e8(0x1,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x5605e8(0x2,_0x44f3cf['Inject'](_0x3723aa[_0x4deb9c(0x433)]))],_0xdbf3eb);const _0x3c5a01=0x14,_0x3dd400=0xc8,_0x4ce1de=0x4,_0x28c3b4=0x5;function _0x157a19(_0x1b2458,_0x5a6a22){const _0x396393=_0x4deb9c;let {radius:_0x26f991,width:_0x51c0a8,height:_0x266bdd}=_0x5a6a22;_0x26f991=_0x26f991!=null?_0x26f991:0x0,_0x51c0a8=_0x51c0a8!=null?_0x51c0a8:0x1e,_0x266bdd=_0x266bdd!=null?_0x266bdd:0x1e;let _0x38a063=0x0,_0x8af395=0x0,_0x25af4b=0x0;_0x38a063=_0x8af395=_0x25af4b=Math[_0x396393(0x110)](_0x26f991,_0x51c0a8/0x2,_0x266bdd/0x2),_0x1b2458[_0x396393(0x38e)](),_0x1b2458[_0x396393(0x1b4)](_0x38a063,0x0),_0x1b2458[_0x396393(0x185)](_0x51c0a8-_0x8af395,0x0),_0x1b2458[_0x396393(0x308)](_0x51c0a8-_0x8af395,_0x8af395,_0x8af395,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b2458['lineTo'](_0x51c0a8,_0x266bdd-_0x25af4b),_0x1b2458[_0x396393(0x308)](_0x51c0a8-_0x25af4b,_0x266bdd-_0x25af4b,_0x25af4b,0x0,Math['PI']/0x2,!0x1),_0x1b2458['lineTo'](0x0,_0x266bdd),_0x1b2458[_0x396393(0x185)](0x0,_0x38a063),_0x1b2458['arc'](_0x38a063,_0x38a063,_0x38a063,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b2458['closePath'](),_0x5a6a22[_0x396393(0x38f)]&&(_0x1b2458['save'](),_0x1b2458[_0x396393(0x21d)]=_0x5a6a22[_0x396393(0x38f)],_0x5a6a22['fillRule']===_0x396393(0x43b)?_0x1b2458[_0x396393(0x38f)](_0x396393(0x43b)):_0x1b2458[_0x396393(0x38f)](),_0x1b2458[_0x396393(0x1cb)]());}class _0x535b1d extends _0x278226[_0x4deb9c(0x2ce)]{constructor(_0x258abf,_0x5d81e2){const _0x2e4255=_0x4deb9c;super(_0x258abf,_0x5d81e2),_0x434a2a(this,_0x2e4255(0x2ad)),_0x434a2a(this,'text'),(this[_0x2e4255(0x2ad)]=_0x5d81e2==null?void 0x0:_0x5d81e2[_0x2e4255(0x2ad)],this['text']=_0x5d81e2==null?void 0x0:_0x5d81e2[_0x2e4255(0x4c1)]);}static[_0x4deb9c(0x368)](_0x47351e,_0x3c5072){const _0x3e42fc=_0x4deb9c,{text:_0x1e208e,color:_0x159e1e}=_0x3c5072;_0x47351e[_0x3e42fc(0x455)](),_0x47351e[_0x3e42fc(0x1a6)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x39a96e=_0x47351e[_0x3e42fc(0x3f6)](_0x1e208e)[_0x3e42fc(0x357)],_0xbba0a3=Math[_0x3e42fc(0x110)](_0x39a96e+0x2*_0x4ce1de,_0x3dd400);_0x157a19(_0x47351e,{'height':_0x3c5a01,'radius':0x4,'width':_0xbba0a3,'fill':_0x159e1e,'evented':!0x1}),_0x47351e['fillStyle']='#FFF';const _0x46b31e=_0x4ce1de,_0x2d4a4b=_0x3c5a01-_0x28c3b4,_0x57ae1c=_0x3dd400-0x2*_0x4ce1de;if(_0x39a96e>_0x57ae1c){let _0x188318='',_0x8f9de4=0x0;for(const _0x5f59a4 of _0x1e208e){const _0x5d7277=_0x47351e[_0x3e42fc(0x3f6)](_0x5f59a4)[_0x3e42fc(0x357)];if(_0x8f9de4+_0x5d7277<=_0x57ae1c-_0x47351e[_0x3e42fc(0x3f6)](_0x3e42fc(0x272))[_0x3e42fc(0x357)])_0x188318+=_0x5f59a4,_0x8f9de4+=_0x5d7277;else{_0x188318+=_0x3e42fc(0x272);break;}}_0x47351e[_0x3e42fc(0x1fc)](_0x188318,_0x46b31e,_0x2d4a4b);}else _0x47351e[_0x3e42fc(0x1fc)](_0x1e208e,_0x46b31e,_0x2d4a4b);_0x47351e[_0x3e42fc(0x1cb)]();}[_0x4deb9c(0x2b9)](_0x58efe3){const _0x4ec558=_0x4deb9c;_0x535b1d[_0x4ec558(0x368)](_0x58efe3,this);}}const _0x3db88a=0x1,_0x4a663e=1.5;class _0x1fe35d extends _0x278226['Shape']{constructor(_0x3a01ea,_0x2e8107){const _0x41676b=_0x4deb9c;super(_0x3a01ea,_0x2e8107),_0x434a2a(this,_0x41676b(0x2bc)),_0x434a2a(this,'_hovered',!0x1),_0x434a2a(this,'_range'),_0x434a2a(this,_0x41676b(0x3a7),''),_0x434a2a(this,'_labelPosition',_0x41676b(0x452)),_0x434a2a(this,'_backgroundColor'),(_0x2e8107&&this[_0x41676b(0x35a)](_0x2e8107),this[_0x41676b(0x30d)][_0x41676b(0xff)](()=>this[_0x41676b(0x35a)]({'hovered':!0x0})),this[_0x41676b(0x1b7)]['subscribeEvent'](()=>this[_0x41676b(0x35a)]({'hovered':!0x1})));}['setShapeProps'](_0x46902a){const _0x537cd8=_0x4deb9c;var _0x173d66,_0x2e8130,_0x3251ce,_0x53744a,_0x4d12b3,_0x3315c0;this[_0x537cd8(0x2bc)]=(_0x173d66=_0x46902a[_0x537cd8(0x2ad)])!=null?_0x173d66:this[_0x537cd8(0x2bc)],this[_0x537cd8(0x463)]=(_0x2e8130=_0x46902a[_0x537cd8(0x4f4)])!=null?_0x2e8130:this['_hovered'],this[_0x537cd8(0x376)]=(_0x3251ce=_0x46902a['range'])!=null?_0x3251ce:this[_0x537cd8(0x376)],this[_0x537cd8(0x3a7)]=(_0x53744a=_0x46902a[_0x537cd8(0x2e1)])!=null?_0x53744a:this[_0x537cd8(0x3a7)],this['_labelPosition']=(_0x4d12b3=_0x46902a[_0x537cd8(0x1c6)])!=null?_0x4d12b3:this[_0x537cd8(0x348)],this[_0x537cd8(0x48c)]=(_0x3315c0=_0x46902a['backgroundColor'])!=null?_0x3315c0:this[_0x537cd8(0x48c)],this[_0x537cd8(0x398)]({'width':_0x46902a[_0x537cd8(0x357)],'height':_0x46902a[_0x537cd8(0x324)]});}[_0x4deb9c(0x27b)](_0x468185){const _0xec4d64=_0x4deb9c,{row:_0x2ad78f,column:_0x5a2b71}=_0x468185;if(_0x2ad78f>=this[_0xec4d64(0x376)][_0xec4d64(0x22f)]&&_0x2ad78f<=this[_0xec4d64(0x376)][_0xec4d64(0x2c5)]&&_0x5a2b71>=this['_range']['startColumn']&&_0x5a2b71<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xec4d64(0x35a)]({'hovered':!0x1});}[_0x4deb9c(0x447)](_0x1bccac){return!0x1;}[_0x4deb9c(0x2b9)](_0x130bb5){const _0x4a4327=_0x4deb9c;_0x278226[_0x4a4327(0xfe)][_0x4a4327(0x368)](_0x130bb5,{'width':this['width'],'height':this[_0x4a4327(0x324)],'strokeWidth':_0x4a663e,'stroke':this[_0x4a4327(0x2bc)],'evented':!0x1,'fill':this[_0x4a4327(0x48c)]}),this['_hovered']&&(_0x130bb5[_0x4a4327(0x455)](),_0x130bb5[_0x4a4327(0x37a)](0x1,0x0,0x0,0x1,this[_0x4a4327(0x357)],this[_0x4a4327(0x348)]===_0x4a4327(0x3f2)?0x0:-_0x3c5a01),_0x535b1d[_0x4a4327(0x368)](_0x130bb5,{'text':this[_0x4a4327(0x3a7)],'color':this[_0x4a4327(0x2bc)]}),_0x130bb5[_0x4a4327(0x1cb)]());}}var _0x57aa9a=Object[_0x4deb9c(0x4f6)],_0x33ab00=Object['getOwnPropertyDescriptor'],_0x51fa76=(_0x3ce237,_0x42266d,_0x16eaaa,_0x5bd5f8)=>{const _0x4cb1d4=_0x4deb9c;for(var _0x18f3d1=_0x5bd5f8>0x1?void 0x0:_0x5bd5f8?_0x33ab00(_0x42266d,_0x16eaaa):_0x42266d,_0x4fdabb=_0x3ce237[_0x4cb1d4(0x17a)]-0x1,_0xb60084;_0x4fdabb>=0x0;_0x4fdabb--)(_0xb60084=_0x3ce237[_0x4fdabb])&&(_0x18f3d1=(_0x5bd5f8?_0xb60084(_0x42266d,_0x16eaaa,_0x18f3d1):_0xb60084(_0x18f3d1))||_0x18f3d1);return _0x5bd5f8&&_0x18f3d1&&_0x57aa9a(_0x42266d,_0x16eaaa,_0x18f3d1),_0x18f3d1;},_0x1de15f=(_0x4b6bd3,_0x31a7b9)=>(_0x461617,_0x5c1674)=>_0x31a7b9(_0x461617,_0x5c1674,_0x4b6bd3);const _0x5a6f0a=0x1389;let _0x626aa7=class extends _0x44f3cf[_0x4deb9c(0x48b)]{constructor(_0x108019,_0x47d048,_0x31369e,_0x3b69c0){const _0x1ae99f=_0x4deb9c;super(),_0x434a2a(this,_0x1ae99f(0x2b3),new Set()),_0x434a2a(this,_0x1ae99f(0x13b),null),(this[_0x1ae99f(0x1fb)]=_0x108019,this[_0x1ae99f(0x1be)]=_0x47d048,this['_collabCursorController']=_0x31369e,this['_themeService']=_0x3b69c0,this['_init']());}[_0x4deb9c(0x4fb)](){const _0xe37264=_0x4deb9c;this[_0xe37264(0x1be)]['currentSkeleton$'][_0xe37264(0x4f9)](_0x3ab9e8['takeUntil'](this[_0xe37264(0x423)]),_0x3ab9e8[_0xe37264(0x477)](_0x4c02ca=>{const _0x57bf83=_0xe37264;if(_0x4c02ca){const _0x389e57=_0x4c02ca[_0x57bf83(0x37c)];return _0x1837c6[_0x57bf83(0x167)](this[_0x57bf83(0x35f)]['getCollabCursors$'](this['_context']['unitId']),this['_themeService'][_0x57bf83(0x485)])[_0x57bf83(0x4f9)](_0x3ab9e8['map'](([_0x582b9f,_0x131a98])=>{const _0x4d2c98=new Map();return _0x582b9f['forEach']((_0x2ee13c,_0x2e4a02)=>{const _0x1bc5df=_0x47c1;if(_0x2ee13c[_0x1bc5df(0x422)]===_0x389e57){const _0xdf65b0={..._0x2ee13c};_0xdf65b0[_0x1bc5df(0x2ad)]=_0x131a98[_0x2ee13c['color']],_0x4d2c98[_0x1bc5df(0x2b2)](_0x2e4a02,_0xdf65b0);}}),{'skeleton':_0x4c02ca,'cursors':_0x4d2c98};}));}return _0x1837c6['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5013b6,cursors:_0x48d593})=>{const _0x2cc966=_0xe37264;this[_0x2cc966(0x192)](),_0x5013b6&&this[_0x2cc966(0x10a)](_0x5013b6,_0x48d593);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xe37264(0x138)](_0x345b86=>{const _0x1624b6=_0xe37264;if(_0x345b86==null)return;const {skeleton:_0x22f0e5}=_0x345b86,{scene:_0x4c7364}=this[_0x1624b6(0x1fb)];_0x4c7364[_0x1624b6(0x19d)][_0x1624b6(0xff)](_0xb2aa35(_0x1835fa=>{const _0x46cf92=_0x1624b6;var _0x16e2ff,_0x4ac0c8;const {offsetX:_0x17ee82,offsetY:_0x14b7bb}=_0x1835fa,{x:_0x516f0d,y:_0x4a4dce}=_0x4c7364[_0x46cf92(0x157)](_0x278226[_0x46cf92(0x114)][_0x46cf92(0x197)]([_0x17ee82,_0x14b7bb])),{scaleX:_0xa74dda,scaleY:_0x1c3179}=_0x4c7364[_0x46cf92(0x107)](),_0x12e351=_0x4c7364[_0x46cf92(0x326)](_0x2c9d11[_0x46cf92(0x2a1)][_0x46cf92(0x514)]),_0x593c95=_0x4c7364['getVpScrollXYInfoByPosToVp'](_0x278226[_0x46cf92(0x114)][_0x46cf92(0x197)]([_0x516f0d,_0x4a4dce]),_0x12e351),_0x427d27=_0x22f0e5[_0x46cf92(0x137)](_0x17ee82,_0x14b7bb,_0xa74dda,_0x1c3179,_0x593c95);((_0x16e2ff=this[_0x46cf92(0x13b)])==null?void 0x0:_0x16e2ff['column'])===_0x427d27['column']&&((_0x4ac0c8=this[_0x46cf92(0x13b)])==null?void 0x0:_0x4ac0c8[_0x46cf92(0x4c2)])===_0x427d27[_0x46cf92(0x4c2)]||this[_0x46cf92(0x2b3)]['forEach'](_0x3b093a=>{_0x3b093a['onMouseMove'](_0x427d27);});},0x64));});}[_0x4deb9c(0x10a)](_0x535f61,_0x152b6e){const _0x3b7e36=_0x4deb9c;var _0x2376f3;const _0x3bafb5=(_0x2376f3=this[_0x3b7e36(0x1be)]['getCurrent']())==null?void 0x0:_0x2376f3[_0x3b7e36(0x369)];if(!_0x3bafb5)return;const _0x1f4a76=this['_getSheetObject']();if(!_0x1f4a76)return;this[_0x3b7e36(0x2b3)][_0x3b7e36(0x4cc)](_0x50c885=>{const _0x304ba9=_0x3b7e36;_0x50c885[_0x304ba9(0x2e2)]();});const {scene:_0x342e9a}=_0x1f4a76,_0x9aeb4d=_0x34fd32(Array[_0x3b7e36(0x4de)](_0x152b6e[_0x3b7e36(0x4f5)]()))['map'](_0x180ae6=>{const _0x579e99=_0x3b7e36,{color:_0x17b6d2,range:_0x27c6b1,name:_0x2383e9,selection:_0x8bb3a1,sheetID:_0x581ed9}=_0x180ae6,{startColumn:_0x3f5e2f,startRow:_0x29d3cd,endColumn:_0x1da928,endRow:_0x4217dd}=_0x27c6b1,_0x512e8b=_0x2c9d11[_0x579e99(0x2cf)](_0x29d3cd,_0x3f5e2f,_0x342e9a,_0x3bafb5),_0x57e8ce=_0x2c9d11[_0x579e99(0x2cf)](_0x4217dd,_0x1da928,_0x342e9a,_0x3bafb5),{columnHeaderHeightAndMarginTop:_0x5c559b}=_0x3bafb5,{startX:_0x5444ee,startY:_0x317718}=_0x512e8b,{endX:_0x1d33ba,endY:_0xc2e08}=_0x57e8ce,_0x1fad52=_0x1d33ba-_0x5444ee,_0x3819d4=_0xc2e08-_0x317718,_0x1435aa={'labelPosition':_0x317718-_0x5c559b>=_0x3c5a01?_0x579e99(0x452):_0x579e99(0x3f2),'sheetID':_0x581ed9,'range':_0x27c6b1,'color':_0x17b6d2,'name':_0x2383e9,'selection':_0x8bb3a1,'left':_0x5444ee,'top':_0x317718,'width':_0x1fad52,'height':_0x3819d4,'evented':!0x1,'zIndex':_0x5a6f0a};return new _0x1fe35d(_0x2383e9,_0x1435aa);});_0x342e9a[_0x3b7e36(0x164)](_0x9aeb4d,_0x3db88a),this[_0x3b7e36(0x2b3)]=new Set(_0x9aeb4d);}[_0x4deb9c(0x192)](){const _0xbdfac3=_0x4deb9c;var _0x3f1b7b;(_0x3f1b7b=this[_0xbdfac3(0x2b3)])==null||_0x3f1b7b['forEach'](_0x353d45=>_0x353d45[_0xbdfac3(0x241)]());}[_0x4deb9c(0x2ae)](){const _0x2e53c4=_0x4deb9c;return _0x2c9d11[_0x2e53c4(0x28c)](this[_0x2e53c4(0x1fb)]['unit'],this[_0x2e53c4(0x1fb)]);}};_0x626aa7=_0x51fa76([_0x1de15f(0x1,_0x44f3cf['Inject'](_0x2c9d11['SheetSkeletonManagerService'])),_0x1de15f(0x2,_0x44f3cf[_0x4deb9c(0x2a6)](_0xdbf3eb)),_0x1de15f(0x3,_0x44f3cf['Inject'](_0x44f3cf[_0x4deb9c(0x379)]))],_0x626aa7);function _0x34fd32(_0x5a8f28){const _0x37123a=_0x4deb9c,_0x35567a=new Map();return _0x5a8f28['forEach'](_0x496c97=>{const _0x5d44e7=_0x47c1;if(_0x35567a[_0x5d44e7(0x17f)](_0x496c97['selection'])){const _0x6d2cc4=_0x35567a[_0x5d44e7(0x38c)](_0x496c97['selection']);_0x6d2cc4[_0x5d44e7(0x2e1)]+=',\x20'+_0x496c97[_0x5d44e7(0x2e1)];}else _0x35567a['set'](_0x496c97[_0x5d44e7(0x3e5)],_0x496c97);}),Array['from'](_0x35567a[_0x37123a(0x4f5)]());}var _0xff5128=function(){const _0x5729b4=_0x4deb9c;return _0xff5128=Object[_0x5729b4(0x378)]||function(_0x5e7774){const _0x25408f=_0x5729b4;for(var _0x873cb1,_0x13b4f5=0x1,_0x3e2b23=arguments[_0x25408f(0x17a)];_0x13b4f5<_0x3e2b23;_0x13b4f5++){_0x873cb1=arguments[_0x13b4f5];for(var _0x4b433c in _0x873cb1)Object[_0x25408f(0x235)][_0x25408f(0x366)][_0x25408f(0x2d0)](_0x873cb1,_0x4b433c)&&(_0x5e7774[_0x4b433c]=_0x873cb1[_0x4b433c]);}return _0x5e7774;},_0xff5128[_0x5729b4(0x3ba)](this,arguments);},_0x5a22df=function(_0x29513b,_0x34a14b){const _0x4ba66b=_0x4deb9c;var _0x543cb0={};for(var _0x49c1c8 in _0x29513b)Object[_0x4ba66b(0x235)]['hasOwnProperty'][_0x4ba66b(0x2d0)](_0x29513b,_0x49c1c8)&&_0x34a14b['indexOf'](_0x49c1c8)<0x0&&(_0x543cb0[_0x49c1c8]=_0x29513b[_0x49c1c8]);if(_0x29513b!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x35eea8=0x0,_0x49c1c8=Object[_0x4ba66b(0x10d)](_0x29513b);_0x35eea8<_0x49c1c8[_0x4ba66b(0x17a)];_0x35eea8++)_0x34a14b[_0x4ba66b(0x377)](_0x49c1c8[_0x35eea8])<0x0&&Object['prototype'][_0x4ba66b(0x240)][_0x4ba66b(0x2d0)](_0x29513b,_0x49c1c8[_0x35eea8])&&(_0x543cb0[_0x49c1c8[_0x35eea8]]=_0x29513b[_0x49c1c8[_0x35eea8]]);}return _0x543cb0;},_0x2c75a8=_0x5efe28[_0x4deb9c(0x328)](function(_0x5d37ed,_0x59c3c5){const _0x4be049=_0x4deb9c;var _0x54ca87=_0x5d37ed[_0x4be049(0x2fe)],_0x4c8ba1=_0x5d37ed['id'],_0x3c4dce=_0x5d37ed[_0x4be049(0x512)],_0x6d4293=_0x5d37ed[_0x4be049(0x370)],_0x2844a1=_0x5a22df(_0x5d37ed,['icon','id','className',_0x4be049(0x370)]),_0x5a49d0=_0x4be049(0x498)[_0x4be049(0x4cf)](_0x4c8ba1,'\x20')[_0x4be049(0x4cf)](_0x3c4dce||'')[_0x4be049(0x2f3)](),_0x2befb8=_0x5efe28[_0x4be049(0x12c)]('_'[_0x4be049(0x4cf)](_0x70fd2a()));return _0x1e6e71(_0x54ca87,''['concat'](_0x4c8ba1),{'defIds':_0x54ca87['defIds'],'idSuffix':_0x2befb8[_0x4be049(0x2be)]},_0xff5128({'ref':_0x59c3c5,'className':_0x5a49d0},_0x2844a1),_0x6d4293);});function _0x1e6e71(_0x3236cc,_0x462a31,_0x160a19,_0x113f00,_0xfa079d){const _0x914b8d=_0x4deb9c;return _0x5efe28[_0x914b8d(0x36e)](_0x3236cc[_0x914b8d(0x2f5)],_0xff5128(_0xff5128({'key':_0x462a31},_0x5b94ce(_0x3236cc,_0x160a19,_0xfa079d)),_0x113f00),(_0x5a7bd3(_0x3236cc,_0x160a19)[_0x914b8d(0x461)]||[])[_0x914b8d(0x269)](function(_0x5c4025,_0x55f95a){const _0x160bca=_0x914b8d;return _0x1e6e71(_0x5c4025,''[_0x160bca(0x4cf)](_0x462a31,'-')['concat'](_0x3236cc[_0x160bca(0x2f5)],'-')[_0x160bca(0x4cf)](_0x55f95a),_0x160a19,void 0x0,_0xfa079d);}));}function _0x5b94ce(_0x25e1b9,_0x149b2c,_0x28e5ec){const _0x5c3d1c=_0x4deb9c;var _0x217bb8=_0xff5128({},_0x25e1b9[_0x5c3d1c(0x142)]);_0x28e5ec!=null&&_0x28e5ec[_0x5c3d1c(0x187)]&&_0x217bb8[_0x5c3d1c(0x38f)]===_0x5c3d1c(0x187)&&(_0x217bb8[_0x5c3d1c(0x38f)]=_0x28e5ec[_0x5c3d1c(0x187)]);var _0x30b50b=_0x149b2c[_0x5c3d1c(0x201)];return!_0x30b50b||_0x30b50b[_0x5c3d1c(0x17a)]===0x0||(_0x25e1b9[_0x5c3d1c(0x2f5)]===_0x5c3d1c(0x15d)&&_0x217bb8[_0x5c3d1c(0x266)]&&(_0x217bb8[_0x5c3d1c(0x266)]=_0x217bb8[_0x5c3d1c(0x266)]+_0x149b2c[_0x5c3d1c(0x49d)]),Object[_0x5c3d1c(0x443)](_0x217bb8)[_0x5c3d1c(0x4cc)](function(_0xc07c21){const _0x2ac366=_0x5c3d1c;var _0x4971ed=_0xc07c21[0x0],_0x2f7c46=_0xc07c21[0x1];typeof _0x2f7c46=='string'&&(_0x217bb8[_0x4971ed]=_0x2f7c46['replace'](/url\(#(.*)\)/,_0x2ac366(0x4c7)['concat'](_0x149b2c['idSuffix'],')')));})),_0x217bb8;}function _0x5a7bd3(_0x37af2b,_0x9ba020){const _0x34f837=_0x4deb9c;var _0x5e5832,_0x39ef70=_0x9ba020[_0x34f837(0x201)];return!_0x39ef70||_0x39ef70[_0x34f837(0x17a)]===0x0?_0x37af2b:_0x37af2b['tag']==='defs'&&(!((_0x5e5832=_0x37af2b['children'])===null||_0x5e5832===void 0x0)&&_0x5e5832[_0x34f837(0x17a)])?_0xff5128(_0xff5128({},_0x37af2b),{'children':_0x37af2b[_0x34f837(0x461)][_0x34f837(0x269)](function(_0x51512e){const _0x4cdc10=_0x34f837;return typeof _0x51512e[_0x4cdc10(0x142)]['id']=='string'&&_0x39ef70&&_0x39ef70[_0x4cdc10(0x377)](_0x51512e[_0x4cdc10(0x142)]['id'])>-0x1?_0xff5128(_0xff5128({},_0x51512e),{'attrs':_0xff5128(_0xff5128({},_0x51512e[_0x4cdc10(0x142)]),{'id':_0x51512e[_0x4cdc10(0x142)]['id']+_0x9ba020[_0x4cdc10(0x49d)]})}):_0x51512e;})}):_0x37af2b;}function _0x70fd2a(){const _0x3180e9=_0x4deb9c;return Math[_0x3180e9(0x244)]()[_0x3180e9(0x23d)](0x24)[_0x3180e9(0x20a)](0x2,0x8);}_0x2c75a8[_0x4deb9c(0x2b5)]=_0x4deb9c(0x3e4);var _0x226108={'tag':_0x4deb9c(0x425),'attrs':{'fill':'none','viewBox':_0x4deb9c(0x457),'width':_0x4deb9c(0x424),'height':_0x4deb9c(0x424)},'children':[{'tag':'g','attrs':{'clipPath':_0x4deb9c(0x4a9)},'children':[{'tag':_0x4deb9c(0x342),'attrs':{'stroke':_0x4deb9c(0x225),'d':_0x4deb9c(0x33a),'strokeLinecap':'round','strokeLinejoin':_0x4deb9c(0x1f4),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4deb9c(0x406),'attrs':{'id':_0x4deb9c(0x3f0)},'children':[{'tag':_0x4deb9c(0x342),'attrs':{'fill':_0x4deb9c(0x32a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4deb9c(0x3f0)]},_0x3d73d5=_0x5efe28[_0x4deb9c(0x328)](function(_0x40de8b,_0x2030d2){const _0x39ce3b=_0x4deb9c;return _0x5efe28['createElement'](_0x2c75a8,Object[_0x39ce3b(0x378)]({},_0x40de8b,{'id':_0x39ce3b(0x31b),'ref':_0x2030d2,'icon':_0x226108}));});_0x3d73d5[_0x4deb9c(0x2b5)]=_0x4deb9c(0x49b);var _0x443c44={'tag':_0x4deb9c(0x425),'attrs':{'fill':_0x4deb9c(0x2b1),'viewBox':_0x4deb9c(0x1e9),'width':'1em','height':_0x4deb9c(0x424)},'children':[{'tag':'g','attrs':{'clipPath':_0x4deb9c(0x136)},'children':[{'tag':_0x4deb9c(0x342),'attrs':{'stroke':_0x4deb9c(0x225),'d':_0x4deb9c(0x3a2),'strokeLinecap':_0x4deb9c(0x1f4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4deb9c(0x231)},'children':[{'tag':_0x4deb9c(0x342),'attrs':{'fill':_0x4deb9c(0x32a),'d':_0x4deb9c(0xf8),'transform':_0x4deb9c(0x19b)}}]}]}],'defIds':[_0x4deb9c(0x231)]},_0x1f8a81=_0x5efe28[_0x4deb9c(0x328)](function(_0x358350,_0x19a8ae){const _0x3dc8ed=_0x4deb9c;return _0x5efe28[_0x3dc8ed(0x36e)](_0x2c75a8,Object[_0x3dc8ed(0x378)]({},_0x358350,{'id':_0x3dc8ed(0x3ce),'ref':_0x19a8ae,'icon':_0x443c44}));});_0x1f8a81[_0x4deb9c(0x2b5)]='OnLineSingle';const _0x33fb47={'onlineStatusIcon':_0x4deb9c(0x307),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x4deb9c(0x1b1),'online':'univer-online','offline':_0x4deb9c(0x34c)};function _0x2688e4(_0x19be52){const _0xb032cd=_0x4deb9c;switch(_0x19be52){case _0x1a5e20['OFFLINE']:return _0xb032cd(0x1c8);case _0x1a5e20[_0xb032cd(0x3d2)]:return _0xb032cd(0x161);case _0x1a5e20[_0xb032cd(0x28a)]:return _0xb032cd(0x4e6);case _0x1a5e20['NOT_COLLAB']:return _0xb032cd(0x179);case _0x1a5e20[_0xb032cd(0x3ff)]:case _0x1a5e20['AWAITING']:case _0x1a5e20[_0xb032cd(0x410)]:return'collabStatus.syncing';case _0x1a5e20[_0xb032cd(0x206)]:return'collabStatus.synced';}}function _0x1e6808(_0x1e6367){const _0x33069f=_0x4deb9c,{status$:_0x4b4974}=_0x1e6367,_0x4cc21d=_0x90d6c1[_0x33069f(0x430)](_0x4b4974,_0x1a5e20[_0x33069f(0x1c0)]),_0x3b7a5e=_0x44f3cf[_0x33069f(0x125)](_0x44f3cf[_0x33069f(0x440)]),_0x1e31bc=_0x44f3cf[_0x33069f(0x125)](_0x3723aa[_0x33069f(0x433)]),_0x4014cf=_0x4cc21d!==_0x1a5e20['OFFLINE'],_0x38f87d=_0x3b7a5e['t'](_0x2688e4(_0x4cc21d)),_0x11829e=_0x491e99(_0x33fb47[_0x33069f(0x4fe)],{[_0x33fb47[_0x33069f(0x1b5)]]:_0x4014cf,[_0x33fb47[_0x33069f(0x143)]]:!_0x4014cf}),_0x387e38=_0x4014cf?_0x5efe28[_0x33069f(0x36e)](_0x1f8a81,null):_0x5efe28[_0x33069f(0x36e)](_0x3d73d5,null),_0x3f06a9=_0x5efe28[_0x33069f(0x291)](()=>{const _0x220f15=_0x33069f;_0x4014cf||_0x1e31bc[_0x220f15(0x489)]();},[_0x4014cf,_0x1e31bc]);function _0x59b758(){const _0x6024a4=_0x33069f;return _0x5efe28['createElement'](_0x6024a4(0x265),{'className':_0x11829e,'onClick':_0x3f06a9},_0x5efe28[_0x6024a4(0x36e)](_0x6024a4(0x265),{'className':_0x33fb47[_0x6024a4(0x47a)]},_0x387e38),_0x5efe28[_0x6024a4(0x36e)](_0x6024a4(0x265),{'className':_0x33fb47[_0x6024a4(0x2c0)]},_0x38f87d));}return _0x4014cf?_0x59b758():_0x5efe28[_0x33069f(0x36e)](_0x1c0df8[_0x33069f(0x39f)],{'title':_0x3b7a5e['t']('collab-client.tooltip.reconnect')},_0x59b758());}var _0xffc496=Object[_0x4deb9c(0x4f6)],_0x4d27da=Object[_0x4deb9c(0x3d9)],_0x1b384f=(_0x4dca24,_0x2a4c02,_0x3ffd86,_0x2dc0b0)=>{for(var _0x2e5c2a=_0x2dc0b0>0x1?void 0x0:_0x2dc0b0?_0x4d27da(_0x2a4c02,_0x3ffd86):_0x2a4c02,_0x2b13d2=_0x4dca24['length']-0x1,_0x1ffcb6;_0x2b13d2>=0x0;_0x2b13d2--)(_0x1ffcb6=_0x4dca24[_0x2b13d2])&&(_0x2e5c2a=(_0x2dc0b0?_0x1ffcb6(_0x2a4c02,_0x3ffd86,_0x2e5c2a):_0x1ffcb6(_0x2e5c2a))||_0x2e5c2a);return _0x2dc0b0&&_0x2e5c2a&&_0xffc496(_0x2a4c02,_0x3ffd86,_0x2e5c2a),_0x2e5c2a;},_0x33b7e7=(_0x4d505e,_0x43b40c)=>(_0x314a75,_0x51be2c)=>_0x43b40c(_0x314a75,_0x51be2c,_0x4d505e);_0x3723aa['DesktopCollaborationStatusDisplayController']=class extends _0x44f3cf[_0x4deb9c(0x50a)]{constructor(_0x45ae17,_0x306827,_0x491ce8,_0x27b566){const _0x1486ac=_0x4deb9c;super(),_0x434a2a(this,'_status$',new _0x1837c6['BehaviorSubject'](_0x1a5e20[_0x1486ac(0x1c0)])),(this[_0x1486ac(0x391)]=_0x45ae17,this[_0x1486ac(0x44b)]=_0x306827,this['_injector']=_0x491ce8,this[_0x1486ac(0x120)]=_0x27b566,this[_0x1486ac(0x104)](),this['_initStatusListener']());}[_0x4deb9c(0x4f8)](){const _0x449198=_0x4deb9c;this[_0x449198(0x446)](this[_0x449198(0x391)][_0x449198(0x1e2)][_0x449198(0x4f9)](_0x1837c6['switchMap'](()=>{const _0x1f716=_0x449198,_0x1d2749=this[_0x1f716(0x391)]['getFocusedUnit']();return _0x1d2749?this[_0x1f716(0x120)][_0x1f716(0x2d6)](_0x1d2749[_0x1f716(0x43f)]()):_0x1837c6['of'](null);}),_0x1837c6['switchMap'](_0x592264=>_0x592264?_0x592264[_0x449198(0x43a)]:_0x1837c6['of'](_0x1a5e20[_0x449198(0x1c0)])))[_0x449198(0x138)](_0x40ae67=>{const _0x3a5718=_0x449198;this['_status$'][_0x3a5718(0x3e8)](_0x40ae67);}));}[_0x4deb9c(0x104)](){const _0x357b94=_0x4deb9c;this[_0x357b94(0x446)](this['_uiPartsService']['registerComponent'](_0x90d6c1['BuiltInUIPart']['HEADER_MENU'],()=>_0x44f3cf[_0x357b94(0x3bd)](_0x21d7b1({'status$':this['_status$']['asObservable']()}),this[_0x357b94(0x25f)])));}},_0x3723aa[_0x4deb9c(0x221)]=_0x1b384f([_0x33b7e7(0x0,_0x44f3cf[_0x4deb9c(0x165)]),_0x33b7e7(0x1,_0x90d6c1[_0x4deb9c(0x2df)]),_0x33b7e7(0x2,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x33b7e7(0x3,_0x44f3cf['Inject'](_0x3723aa['CollaborationController']))],_0x3723aa['DesktopCollaborationStatusDisplayController']);function _0x21d7b1(_0x2fa9ea){const {status$:_0x405d1e}=_0x2fa9ea;return function(){return _0x5efe28['createElement'](_0x1e6808,{'status$':_0x405d1e});};}const _0x3be97f=_0x44f3cf['createIdentifier']('uni.network.url-service');var _0xc5fb64=Object[_0x4deb9c(0x4f6)],_0x41a67b=Object[_0x4deb9c(0x3d9)],_0x352192=(_0x40b998,_0x2f3bca,_0x4ec9a6,_0x5bc2f7)=>{const _0x231135=_0x4deb9c;for(var _0x387ffe=_0x5bc2f7>0x1?void 0x0:_0x5bc2f7?_0x41a67b(_0x2f3bca,_0x4ec9a6):_0x2f3bca,_0x2f702f=_0x40b998[_0x231135(0x17a)]-0x1,_0x443ec1;_0x2f702f>=0x0;_0x2f702f--)(_0x443ec1=_0x40b998[_0x2f702f])&&(_0x387ffe=(_0x5bc2f7?_0x443ec1(_0x2f3bca,_0x4ec9a6,_0x387ffe):_0x443ec1(_0x387ffe))||_0x387ffe);return _0x5bc2f7&&_0x387ffe&&_0xc5fb64(_0x2f3bca,_0x4ec9a6,_0x387ffe),_0x387ffe;},_0x47bac7=(_0x23388a,_0x45c17b)=>(_0x27354c,_0x30a0d2)=>_0x45c17b(_0x27354c,_0x30a0d2,_0x23388a);_0x3723aa[_0x4deb9c(0x374)]=class extends _0x44f3cf[_0x4deb9c(0x48b)]{constructor(_0x2faee3,_0x190066,_0x4ee9df,_0x48a9a4,_0x1171be,_0x4f16bf){const _0x17134f=_0x4deb9c;super(),this[_0x17134f(0x50d)]=_0x2faee3,this[_0x17134f(0x1aa)]=_0x190066,this[_0x17134f(0x484)]=_0x4ee9df,this[_0x17134f(0x3d7)]=_0x48a9a4,this['_snapshotService']=_0x1171be,_0x4f16bf?_0x4f16bf==null||_0x4f16bf['whenReady']()[_0x17134f(0x15b)](()=>this[_0x17134f(0x4fb)]()):(this[_0x17134f(0x1aa)][_0x17134f(0x3e6)]('[DataLoaderController]',_0x17134f(0x2c2)),this[_0x17134f(0x4fb)]());}async[_0x4deb9c(0x4fb)](){const _0x48929e=_0x4deb9c,_0x4362ff=this['_urlService'][_0x48929e(0x254)](_0x48929e(0x210)),_0x2f74e7=this[_0x48929e(0x50d)][_0x48929e(0x254)](_0x48929e(0x4f1));if(!_0x4362ff||!_0x2f74e7){this[_0x48929e(0x1aa)][_0x48929e(0x3e6)]('[DataLoaderController]',_0x48929e(0x48a));return;}switch(Number(_0x2f74e7)){case _0x3bfee1[_0x48929e(0x402)]:{const _0x5e1fb7=await this['_loadSheet'](_0x4362ff);this[_0x48929e(0x45e)](_0x5e1fb7);break;}case _0x3bfee1[_0x48929e(0x350)]:{await this['_loadDoc'](_0x4362ff);break;}default:{this[_0x48929e(0x1aa)][_0x48929e(0x46e)](_0x48929e(0x4c6),_0x48929e(0x3ae));break;}}}async['_setupSubUnitSync'](_0x25c330){const _0x1fad74=_0x4deb9c;await this[_0x1fad74(0x28b)](_0x25c330),_0x25c330['activeSheet$']['pipe'](_0x1837c6[_0x1fad74(0x23e)](this['dispose$']))[_0x1fad74(0x138)](_0x344664=>{const _0x2e729b=_0x1fad74;_0x344664&&this[_0x2e729b(0x40b)](_0x344664);}),this[_0x1fad74(0x50d)][_0x1fad74(0x386)][_0x1fad74(0x4f9)](_0x1837c6[_0x1fad74(0x23e)](this['dispose$']))[_0x1fad74(0x138)](()=>this[_0x1fad74(0x28b)](_0x25c330));}['_updateURLWithCurrentState'](_0x5e3aef,_0x14c91d=!0x1){const _0x4bda8a=_0x4deb9c,_0x3c0fd5=this['_urlService']['getParam'](_0x4bda8a(0x1d2));_0x5e3aef[_0x4bda8a(0x456)]()!==_0x3c0fd5&&this[_0x4bda8a(0x50d)][_0x4bda8a(0x511)](_0x4bda8a(0x1d2),_0x5e3aef[_0x4bda8a(0x456)](),_0x14c91d);}async[_0x4deb9c(0x28b)](_0x27a67c){const _0x9f97c1=_0x4deb9c;var _0x2a0930;const _0x848857=this[_0x9f97c1(0x50d)]['getParam']('subunit');if(!_0x848857||!_0x27a67c['getSheetBySheetId'](_0x848857)){const _0x58004a=_0x27a67c[_0x9f97c1(0x4e8)]()[0x0],_0x22856=_0x27a67c['getSheetBySheetId'](_0x58004a);if(!_0x22856)return;this['_updateURLWithCurrentState'](_0x22856,!0x0),await this[_0x9f97c1(0x484)][_0x9f97c1(0x450)](_0x5848ce['SetWorksheetActivateCommand']['id'],{'unitId':_0x27a67c['getUnitId'](),'subUnitId':_0x58004a});return;}((_0x2a0930=_0x27a67c[_0x9f97c1(0x4c5)]())==null?void 0x0:_0x2a0930[_0x9f97c1(0x456)]())!==_0x848857&&await this[_0x9f97c1(0x484)][_0x9f97c1(0x450)](_0x5848ce[_0x9f97c1(0x2f8)]['id'],{'unitId':_0x27a67c[_0x9f97c1(0x43f)](),'subUnitId':_0x848857});}async['_loadSheet'](_0x2d95ba){const _0x4b54f0=_0x4deb9c;let _0xce3cd=0x0;const _0x1db7e2=await this[_0x4b54f0(0x3d7)][_0x4b54f0(0x286)](_0x2d95ba);return _0x1db7e2&&(_0x1db7e2[_0x4b54f0(0x32c)]||_0x1db7e2['mutations']['length']!==0x0)&&(_0xce3cd=_0x1db7e2['rev']),_0xce3cd===0x0&&this[_0x4b54f0(0x1aa)][_0x4b54f0(0x3e6)](_0x4b54f0(0x4c6),_0x4b54f0(0x226)),this[_0x4b54f0(0x468)][_0x4b54f0(0x294)](_0x2d95ba,_0xce3cd);}async[_0x4deb9c(0x222)](_0x1ad650){const _0x43e527=_0x4deb9c;let _0x2a5c84=0x0;const _0x5de5ba=await this['_localCacheService'][_0x43e527(0x286)](_0x1ad650);return _0x5de5ba&&(_0x5de5ba['awaitingChangeset']||_0x5de5ba[_0x43e527(0x367)][_0x43e527(0x17a)]!==0x0)&&(_0x2a5c84=_0x5de5ba[_0x43e527(0x4f2)]),_0x2a5c84===0x0&&this[_0x43e527(0x1aa)][_0x43e527(0x3e6)](_0x43e527(0x4c6),_0x43e527(0x226)),this[_0x43e527(0x468)][_0x43e527(0x34e)](_0x1ad650,_0x2a5c84);}},_0x3723aa[_0x4deb9c(0x374)]=_0x352192([_0x44f3cf[_0x4deb9c(0x33b)](_0x44f3cf[_0x4deb9c(0x2b4)][_0x4deb9c(0x341)],_0x3723aa[_0x4deb9c(0x374)]),_0x47bac7(0x0,_0x3be97f),_0x47bac7(0x1,_0x44f3cf['ILogService']),_0x47bac7(0x2,_0x44f3cf[_0x4deb9c(0x243)]),_0x47bac7(0x3,_0x44f3cf['Inject'](_0x3723aa[_0x4deb9c(0x1d5)])),_0x47bac7(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x5c3399['SnapshotService'])),_0x47bac7(0x5,_0x44f3cf[_0x4deb9c(0x12e)](_0x1436cb[_0x4deb9c(0x46f)]))],_0x3723aa[_0x4deb9c(0x374)]);var _0x3708a7=Object['defineProperty'],_0x25a9c1=Object[_0x4deb9c(0x3d9)],_0x3af8db=(_0x1897f5,_0x4e3c98,_0x57d4d2,_0x429a76)=>{for(var _0x35379b=_0x429a76>0x1?void 0x0:_0x429a76?_0x25a9c1(_0x4e3c98,_0x57d4d2):_0x4e3c98,_0x34cc9b=_0x1897f5['length']-0x1,_0x120ae8;_0x34cc9b>=0x0;_0x34cc9b--)(_0x120ae8=_0x1897f5[_0x34cc9b])&&(_0x35379b=(_0x429a76?_0x120ae8(_0x4e3c98,_0x57d4d2,_0x35379b):_0x120ae8(_0x35379b))||_0x35379b);return _0x429a76&&_0x35379b&&_0x3708a7(_0x4e3c98,_0x57d4d2,_0x35379b),_0x35379b;},_0x3a83da=(_0x55da7a,_0x120f56)=>(_0x535cfb,_0x3f2cf8)=>_0x120f56(_0x535cfb,_0x3f2cf8,_0x55da7a);const _0xa389cb=_0x4deb9c(0x3ca),_0xa4aac2=_0x4deb9c(0x1fe);let _0x46e5fc=class extends _0x44f3cf['Disposable']{constructor(_0x46f4a4,_0x3e8e9b){const _0x13cd10=_0x4deb9c;super(),this[_0x13cd10(0x391)]=_0x46f4a4,this[_0x13cd10(0x494)]=_0x3e8e9b,this[_0x13cd10(0x4fb)]();}['_init'](){const _0x387bc2=_0x4deb9c;this[_0x387bc2(0x446)](_0x44f3cf[_0x387bc2(0x133)](this[_0x387bc2(0x391)][_0x387bc2(0x1e2)][_0x387bc2(0x138)](()=>{const _0x4f139c=_0x387bc2;var _0x19f75c;const _0x5bc7b6=this[_0x4f139c(0x391)][_0x4f139c(0x1af)]();let _0x17686f=(_0x19f75c=this['_configService']['getConfig'](_0xa389cb))!=null?_0x19f75c:_0xa4aac2;_0x5bc7b6 instanceof _0x44f3cf['Workbook']&&(_0x17686f=_0x5bc7b6[_0x4f139c(0x2e1)]),document[_0x4f139c(0x45f)]=_0x17686f;})));}};_0x46e5fc=_0x3af8db([_0x44f3cf[_0x4deb9c(0x33b)](_0x44f3cf['LifecycleStages']['Ready'],_0x46e5fc),_0x3a83da(0x0,_0x44f3cf['IUniverInstanceService']),_0x3a83da(0x1,_0x44f3cf[_0x4deb9c(0x150)])],_0x46e5fc);var _0x32208f=Object[_0x4deb9c(0x4f6)],_0x4496e4=Object['getOwnPropertyDescriptor'],_0x78c6c7=(_0x4b8b64,_0x234915,_0x494f29,_0x24ebf8)=>{const _0x516c91=_0x4deb9c;for(var _0x2344da=_0x24ebf8>0x1?void 0x0:_0x24ebf8?_0x4496e4(_0x234915,_0x494f29):_0x234915,_0x29dff6=_0x4b8b64[_0x516c91(0x17a)]-0x1,_0x571ab1;_0x29dff6>=0x0;_0x29dff6--)(_0x571ab1=_0x4b8b64[_0x29dff6])&&(_0x2344da=(_0x24ebf8?_0x571ab1(_0x234915,_0x494f29,_0x2344da):_0x571ab1(_0x2344da))||_0x2344da);return _0x24ebf8&&_0x2344da&&_0x32208f(_0x234915,_0x494f29,_0x2344da),_0x2344da;},_0x1713cf=(_0xcab495,_0x2e495f)=>(_0x44d3a0,_0x58d951)=>_0x2e495f(_0x44d3a0,_0x58d951,_0xcab495);_0x3723aa[_0x4deb9c(0x262)]=class{constructor(_0x14aa6e,_0x14baa6){const _0x53c022=_0x4deb9c;this[_0x53c022(0x494)]=_0x14aa6e,this[_0x53c022(0x330)]=_0x14baa6;}async[_0x4deb9c(0x3d1)](_0x467be7,_0x38b5d9){const _0x52c247=_0x4deb9c;var _0x43656a;const {unitID:_0x253662,type:_0x431875,revision:_0x3d7c3f=0x0}=_0x38b5d9,_0x472607=this[_0x52c247(0x140)]()+'/'+_0x431875+'/unit/'+_0x253662+_0x52c247(0x41a)+_0x3d7c3f,_0x3e41aa=(await this[_0x52c247(0x330)][_0x52c247(0x38c)](_0x472607))[_0x52c247(0x317)],_0x3aed77=(_0x43656a=_0x3e41aa[_0x52c247(0x259)])==null?void 0x0:_0x43656a[_0x52c247(0x49f)];if(_0x3aed77){const _0x2ab3d4=_0x3aed77==null?void 0x0:_0x3aed77[_0x52c247(0x24e)],_0x119e35=_0x5c3399[_0x52c247(0x375)][_0x52c247(0x32e)](_0x5c3399[_0x52c247(0x173)](_0x2ab3d4));_0x3aed77[_0x52c247(0x24e)]=_0x119e35,Object['entries'](_0x3aed77[_0x52c247(0x2dd)])[_0x52c247(0x4cc)](([,_0x182886])=>{const _0xb1eb46=_0x52c247,_0x345532=_0x182886[_0xb1eb46(0x24e)],_0x499e1c=_0x5c3399['textEncoder'][_0xb1eb46(0x32e)](_0x5c3399[_0xb1eb46(0x173)](_0x345532));_0x182886[_0xb1eb46(0x24e)]=_0x499e1c;});}return _0x3e41aa;}async[_0x4deb9c(0x431)](_0xa5bc6,_0x32ae21){const _0x3c7433=_0x4deb9c,{unitID:_0x1d1610,type:_0x3d616c,blockID:_0x2dd063}=_0x32ae21,_0x484fc1=this['_getAPIPrefix']()+'/'+_0x3d616c+_0x3c7433(0x3da)+_0x1d1610+_0x3c7433(0x28d)+_0x2dd063;return(await this['_httpService']['get'](_0x484fc1))['body'];}async[_0x4deb9c(0x371)](_0x26f4c0,_0x20f767){const _0x1df9c8=_0x4deb9c,{unitID:_0x5a2123,type:_0x33a7d4,from:_0x37b7f7,to:_0x15ed58}=_0x20f767,_0x3991ed=this['_getAPIPrefix']()+'/'+_0x33a7d4+_0x1df9c8(0x3da)+_0x5a2123+_0x1df9c8(0x299)+_0x37b7f7+_0x1df9c8(0x434)+_0x15ed58;return(await this['_httpService'][_0x1df9c8(0x38c)](_0x3991ed))['body'];}[_0x4deb9c(0x140)](){const _0x54f50d=_0x4deb9c;var _0x3be465;return(_0x3be465=this['_configService'][_0x54f50d(0x2cd)](_0x1691bd))!=null?_0x3be465:this[_0x54f50d(0x3be)]();}['_getAPIPrefix'](){const _0x1e125e=_0x4deb9c;var _0x453669;return(_0x453669=this['_configService'][_0x1e125e(0x2cd)](_0x4007f7))!=null?_0x453669:_0x5d4c8b;}async[_0x4deb9c(0x2e8)](_0x1c7066,_0x1aad6c){const _0x2b7c40=_0x4deb9c,_0x160bb3=_0x2b7c40(0x4d6)+_0x1aad6c[_0x2b7c40(0x4f1)]+'/unit/'+_0x1aad6c['unitID']+_0x2b7c40(0x29f);return(await this[_0x2b7c40(0x330)][_0x2b7c40(0x38c)](_0x160bb3,{'params':{'resourceId':JSON[_0x2b7c40(0x428)](_0x1aad6c[_0x2b7c40(0x17b)])}}))[_0x2b7c40(0x317)];}[_0x4deb9c(0x34b)](){const _0x5d0158=_0x4deb9c;throw new Error(_0x5d0158(0x3b5));}[_0x4deb9c(0x27c)](){const _0x5450e9=_0x4deb9c;throw new Error(_0x5450e9(0x3b5));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x3723aa[_0x4deb9c(0x262)]=_0x78c6c7([_0x1713cf(0x0,_0x44f3cf['IConfigService']),_0x1713cf(0x1,_0x44f3cf[_0x4deb9c(0x2a6)](_0x43b7e7['HTTPService']))],_0x3723aa[_0x4deb9c(0x262)]);var _0x20a526=Object[_0x4deb9c(0x4f6)],_0x442112=Object[_0x4deb9c(0x3d9)],_0x4b41a0=(_0xcec04,_0x48167a,_0x5701a5,_0x4980ec)=>{const _0x347f53=_0x4deb9c;for(var _0x35e650=_0x4980ec>0x1?void 0x0:_0x4980ec?_0x442112(_0x48167a,_0x5701a5):_0x48167a,_0x8e7709=_0xcec04[_0x347f53(0x17a)]-0x1,_0x29854f;_0x8e7709>=0x0;_0x8e7709--)(_0x29854f=_0xcec04[_0x8e7709])&&(_0x35e650=(_0x4980ec?_0x29854f(_0x48167a,_0x5701a5,_0x35e650):_0x29854f(_0x35e650))||_0x35e650);return _0x4980ec&&_0x35e650&&_0x20a526(_0x48167a,_0x5701a5,_0x35e650),_0x35e650;},_0x56c63d=(_0x2377f4,_0x2ddec8)=>(_0x358ec2,_0x3f8c93)=>_0x2ddec8(_0x358ec2,_0x3f8c93,_0x2377f4);let _0x3129e0=class extends _0x44f3cf[_0x4deb9c(0x397)]{constructor(_0x5dfe3e,_0x25cbaf,_0x446e62,_0x3f31bf,_0x4ddbdf){super(_0x5dfe3e,_0x25cbaf,_0x446e62),this['_transformService']=_0x3f31bf,this['_logService']=_0x4ddbdf;}[_0x4deb9c(0x24a)](_0x1f1e19,_0x457d07){const _0x134a39=_0x4deb9c,_0x4a308c=this[_0x134a39(0x4d7)](_0x1f1e19);if(_0x4a308c)try{const _0x51d0e0=this[_0x134a39(0x470)](_0x4a308c,_0x457d07);this[_0x134a39(0x156)](_0x1f1e19,_0x51d0e0);}catch(_0x1d07a9){this[_0x134a39(0x1aa)][_0x134a39(0x46e)](_0x134a39(0x1ff),_0x1d07a9),this[_0x134a39(0x46c)](_0x1f1e19);}const _0x4b5df5=this[_0x134a39(0x297)](_0x1f1e19);if(_0x4b5df5)try{const _0x5c9d4c=this[_0x134a39(0x470)](_0x4b5df5,_0x457d07);this[_0x134a39(0x30e)](_0x1f1e19,_0x5c9d4c);}catch(_0x182600){this['_logService'][_0x134a39(0x46e)](_0x182600),this[_0x134a39(0x3e2)](_0x1f1e19);}}['_clearUndo'](_0x122f43){const _0x1dfe93=_0x4deb9c,_0x4cca14=this[_0x1dfe93(0x4d7)](_0x122f43);_0x4cca14&&(_0x4cca14['length']=0x0,this['_updateStatus']());}[_0x4deb9c(0x3e2)](_0x285205){const _0x15253b=_0x4deb9c,_0xdc77d4=this['_getRedoStack'](_0x285205);_0xdc77d4&&(_0xdc77d4[_0x15253b(0x17a)]=0x0,this[_0x15253b(0x17e)]());}[_0x4deb9c(0x156)](_0x58d425,_0x30acde){const _0x5eb900=_0x4deb9c;this[_0x5eb900(0x385)][_0x5eb900(0x2b2)](_0x58d425,_0x30acde),this['_updateStatus']();}[_0x4deb9c(0x30e)](_0x28640e,_0x48d8be){const _0x1c6403=_0x4deb9c;this[_0x1c6403(0xf5)][_0x1c6403(0x2b2)](_0x28640e,_0x48d8be),this['_updateStatus']();}['_transformStack'](_0x3d96a2,_0x1933b6){const _0x8bc57a=_0x4deb9c,_0x4ed0e0=[];let _0x4cf71d=_0x1933b6,_0xea464=_0x1933b6;for(let _0x334450=_0x3d96a2[_0x8bc57a(0x17a)]-0x1;_0x334450>=0x0;_0x334450--){const {unitID:_0x26ff46,undoMutations:_0x1bf369,redoMutations:_0x551bf6}=_0x3d96a2[_0x334450],_0x28a254=this[_0x8bc57a(0x3c2)][_0x8bc57a(0x394)](_0x4cf71d,_0x1bf369),_0x5b3d59=this['_transformService'][_0x8bc57a(0x394)](_0xea464,_0x551bf6);if(_0x5c3399[_0x8bc57a(0x15a)](_0x28a254)||_0x5c3399[_0x8bc57a(0x15a)](_0x5b3d59)){this[_0x8bc57a(0x1aa)][_0x8bc57a(0x46e)](_0x8bc57a(0x1ff),_0x8bc57a(0x4ac),_0x28a254,_0x5b3d59);break;}_0x4cf71d=_0x28a254[_0x8bc57a(0x47d)],_0xea464=_0x5b3d59['c1Prime'],_0x4ed0e0[_0x8bc57a(0x4c0)]({'unitID':_0x26ff46,'undoMutations':_0x28a254[_0x8bc57a(0x499)],'redoMutations':_0x5b3d59[_0x8bc57a(0x499)]});}return _0x4ed0e0[_0x8bc57a(0x1d4)]();}};_0x3129e0=_0x4b41a0([_0x56c63d(0x0,_0x44f3cf[_0x4deb9c(0x165)]),_0x56c63d(0x1,_0x44f3cf['ICommandService']),_0x56c63d(0x2,_0x44f3cf['IContextService']),_0x56c63d(0x3,_0x5c3399['ITransformService']),_0x56c63d(0x4,_0x44f3cf[_0x4deb9c(0x4e5)])],_0x3129e0);class _0x3492f1 extends _0x44f3cf['RxDisposable']{constructor(){const _0x592a1c=_0x4deb9c;super(),_0x434a2a(this,_0x592a1c(0x386)),this[_0x592a1c(0x386)]=_0x1837c6[_0x592a1c(0x4db)](window,'popstate')[_0x592a1c(0x4f9)](_0x1837c6[_0x592a1c(0x23e)](this[_0x592a1c(0x423)]),_0x1837c6[_0x592a1c(0x3c8)](0x1),_0x1837c6['mapTo'](void 0x0));}[_0x4deb9c(0x511)](_0x5ce565,_0x1520ee,_0x1634e8=!0x1){const _0x474cff=_0x4deb9c,_0x2e30b0=new URL(window[_0x474cff(0x33d)][_0x474cff(0x2a5)]);_0x2e30b0[_0x474cff(0x405)][_0x474cff(0x2b2)](_0x5ce565,_0x1520ee),_0x1634e8?window[_0x474cff(0x361)][_0x474cff(0x454)]('','',_0x2e30b0[_0x474cff(0x23d)]()):window['history'][_0x474cff(0xfd)]('','',_0x2e30b0['toString']());}[_0x4deb9c(0x33f)](_0x28f73c,_0xe7f950=!0x1){const _0x41d806=_0x4deb9c,_0x223bb8=new URL(window['location'][_0x41d806(0x2a5)]);_0x223bb8[_0x41d806(0x405)][_0x41d806(0x312)](_0x28f73c),_0xe7f950?window['history'][_0x41d806(0x454)]('','',_0x223bb8['toString']()):window[_0x41d806(0x361)]['pushState']('','',_0x223bb8[_0x41d806(0x23d)]());}[_0x4deb9c(0x254)](_0x2240d0){const _0x4a231b=_0x4deb9c;var _0x506059;return(_0x506059=new URL(window[_0x4a231b(0x33d)]['href'])[_0x4a231b(0x405)][_0x4a231b(0x38c)](_0x2240d0))!=null?_0x506059:void 0x0;}}const _0x37c6cf='collab-text-anchor-',_0x49aa38='collab-text-range-',_0x3a0e1c=_0x4deb9c(0x260),_0x54da0e=0x6,_0xbd2478=1.5,_0x402894=0x4,_0x2574c1=1.5,_0x488f2b=_0x4deb9c(0x130);class _0x29a1ea{constructor(_0x1fcbed,_0x513db9,_0x2316c0,_0xf510ef){const _0xca0eb6=_0x4deb9c;_0x434a2a(this,_0xca0eb6(0x252),[]),_0x434a2a(this,'_anchor',null),_0x434a2a(this,_0xca0eb6(0x451),null),_0x434a2a(this,_0xca0eb6(0x3f5),null),_0x434a2a(this,_0xca0eb6(0x4cb),null),_0x434a2a(this,_0xca0eb6(0x347),null),(this[_0xca0eb6(0x1f6)]=_0x1fcbed,this[_0xca0eb6(0x353)]=_0x513db9,this[_0xca0eb6(0x33c)]=_0x2316c0,this[_0xca0eb6(0x36f)]=_0xf510ef,this[_0xca0eb6(0x4fc)]());}set['_hover'](_0x51fa17){const _0x5d6d07=_0x4deb9c;_0x51fa17?(this[_0x5d6d07(0x3f5)]&&this[_0x5d6d07(0x3f5)][_0x5d6d07(0x487)](),this[_0x5d6d07(0x451)]&&this['_textBubble'][_0x5d6d07(0x2a7)]()):(this[_0x5d6d07(0x3f5)]&&this[_0x5d6d07(0x3f5)]['show'](),this[_0x5d6d07(0x451)]&&this[_0x5d6d07(0x451)][_0x5d6d07(0x487)]());}[_0x4deb9c(0x241)](){const _0x5adbfb=_0x4deb9c;for(const _0x4c230b of this[_0x5adbfb(0x252)])_0x4c230b[_0x5adbfb(0x241)]();this['_textBubble']&&this[_0x5adbfb(0x451)][_0x5adbfb(0x241)](),this[_0x5adbfb(0x3f5)]&&this[_0x5adbfb(0x3f5)]['dispose'](),this[_0x5adbfb(0x2c3)]&&this['_anchor'][_0x5adbfb(0x241)](),this['_eventUnsubscribe']&&this[_0x5adbfb(0x347)]();}[_0x4deb9c(0x4fc)](){const _0x3e0e19=_0x4deb9c;var _0x47a003;const {_docSkeleton:_0x579fa5,_document:_0x140f38}=this,{color:_0x206c1f,name:_0x511be1,ranges:_0x480850}=this[_0x3e0e19(0x1f6)],_0x18df65=_0x140f38[_0x3e0e19(0x3f3)](),{docsLeft:_0x4e0bf8,docsTop:_0x565895}=_0x18df65,_0x5ae61c=new _0x50f029['NodePositionConvertToCursor'](_0x18df65,_0x579fa5);for(const {startOffset:_0x374123,endOffset:_0x56f8f2,collapsed:_0x23b4cc,isActive:_0x49f94f}of _0x480850){const _0x8fef1d=_0x579fa5[_0x3e0e19(0x1dd)](_0x374123),_0x25cd3d=_0x579fa5[_0x3e0e19(0x1dd)](_0x56f8f2);if(_0x49f94f){const {contentBoxPointGroup:_0x568702}=_0x5ae61c['getRangePointData'](_0x25cd3d,_0x25cd3d);if(_0x568702[_0x3e0e19(0x17a)]===0x0)continue;this['_drawAnchor'](_0x206c1f,_0x568702,_0x4e0bf8,_0x565895,_0x511be1),this[_0x3e0e19(0x347)]=this[_0x3e0e19(0x20b)]();}if(!_0x23b4cc&&_0x8fef1d&&_0x25cd3d){if(_0x50f029[_0x3e0e19(0x1c2)](_0x8fef1d,_0x25cd3d)){const _0x1e2942=new _0x50f029[(_0x3e0e19(0x3b9))](_0x18df65,_0x579fa5),{pointGroup:_0x4d3f74}=(_0x47a003=_0x1e2942[_0x3e0e19(0x277)](_0x8fef1d,_0x25cd3d))!=null?_0x47a003:{};if(_0x4d3f74==null||_0x4d3f74[_0x3e0e19(0x17a)]===0x0)continue;this[_0x3e0e19(0x2e5)](_0x206c1f,_0x4d3f74,_0x4e0bf8,_0x565895);}else{const {contentBoxPointGroup:_0x1f367d}=_0x5ae61c['getRangePointData'](_0x8fef1d,_0x25cd3d);if(_0x1f367d[_0x3e0e19(0x17a)]===0x0)continue;this['_drawTextRange'](_0x206c1f,_0x1f367d,_0x4e0bf8,_0x565895);}}}}['_drawAnchor'](_0x2af871,_0x39e900,_0x308d98,_0x5831c2,_0x3cfe4e){const _0xb472e1=_0x4deb9c,_0x5d023c=this[_0xb472e1(0x4e4)](_0x39e900),{left:_0x2d86f0,top:_0x4a3229,height:_0x476152}=_0x5d023c,_0xc2eb67=this['_getScale'](),_0x4ba253=_0x2574c1/_0xc2eb67,_0x579b80=new _0x278226[(_0xb472e1(0xfe))](_0x37c6cf+_0x44f3cf['Tools']['generateRandomId'](_0x54da0e),{'left':_0x2d86f0+_0x308d98-_0x4ba253,'top':_0x4a3229+_0x5831c2,'height':_0x476152,'width':_0xbd2478,'fill':_0x2af871||_0x278226[_0xb472e1(0x506)](_0x44f3cf[_0xb472e1(0x2ab)][_0xb472e1(0x1ac)],0x0),'strokeWidth':_0x4ba253,'stroke':_0x488f2b,'evented':!0x0});this['_anchor']=_0x579b80,this['_scene'][_0xb472e1(0x1bc)](_0x579b80,_0x50f029[_0xb472e1(0x34f)]);const _0x4bb2bc=new _0x278226[(_0xb472e1(0xfe))](_0x37c6cf+_0x44f3cf[_0xb472e1(0x45a)][_0xb472e1(0x4f7)](_0x54da0e),{'left':_0x2d86f0+_0x308d98-_0x4ba253,'top':_0x4a3229+_0x5831c2-_0x402894/0x2,'height':_0x402894,'width':_0x402894,'fill':_0x2af871||_0x278226[_0xb472e1(0x506)](_0x44f3cf[_0xb472e1(0x2ab)][_0xb472e1(0x1ac)],0x0),'strokeWidth':0x0,'stroke':_0x2af871||_0x278226[_0xb472e1(0x506)](_0x44f3cf[_0xb472e1(0x2ab)][_0xb472e1(0x1ac)],0x0),'evented':!0x1});this[_0xb472e1(0x3f5)]=_0x4bb2bc,this[_0xb472e1(0x353)][_0xb472e1(0x1bc)](_0x4bb2bc,_0x50f029['TEXT_RANGE_LAYER_INDEX']);const _0x25e00d=new _0x535b1d(_0x37c6cf+_0x44f3cf[_0xb472e1(0x45a)][_0xb472e1(0x4f7)](_0x54da0e),{'left':_0x2d86f0+_0x308d98-_0x4ba253,'top':_0x4a3229+_0x5831c2-_0x3c5a01,'text':_0x3cfe4e,'color':_0x2af871});this[_0xb472e1(0x451)]=_0x25e00d,this[_0xb472e1(0x353)][_0xb472e1(0x1bc)](_0x25e00d,_0x50f029[_0xb472e1(0x34f)]),this[_0xb472e1(0x31d)]=!0x1;}[_0x4deb9c(0x20b)](){const _0x9fba99=_0x4deb9c,_0x2263eb=this['_anchor'][_0x9fba99(0x30d)]['subscribeEvent'](()=>{const _0x5e0d9c=_0x9fba99;this[_0x5e0d9c(0x31d)]=!0x0;}),_0x215523=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x103b1e=_0x9fba99;this[_0x103b1e(0x4cb)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x32c67d=_0x103b1e;this[_0x32c67d(0x31d)]=!0x1;},0x7d0);});return()=>{const _0x578014=_0x9fba99;_0x2263eb[_0x578014(0x184)](),_0x215523[_0x578014(0x184)]();};}[_0x4deb9c(0x42d)](_0x14440d,_0x40ed77,_0xec6f84,_0x4e16b8){const _0x2016ca=_0x4deb9c,_0x28378f=new _0x44f3cf[(_0x2016ca(0x3fc))](_0x14440d)[_0x2016ca(0x289)](0.2)[_0x2016ca(0x3e9)](),_0x24abb4=new _0x278226['RegularPolygon'](_0x49aa38+_0x44f3cf[_0x2016ca(0x45a)][_0x2016ca(0x4f7)](_0x54da0e),{'pointsGroup':_0x40ed77,'fill':_0x28378f||_0x278226[_0x2016ca(0x506)](_0x44f3cf[_0x2016ca(0x2ab)][_0x2016ca(0x1ac)],0.2),'left':_0xec6f84,'top':_0x4e16b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2016ca(0x252)]['push'](_0x24abb4),this['_scene']['addObject'](_0x24abb4,_0x50f029[_0x2016ca(0x34f)]);}['_drawRectRange'](_0x1623db,_0x3729d6,_0x3d14ab,_0x2162b8){const _0x2df27b=_0x4deb9c,_0x14f63b=new _0x44f3cf[(_0x2df27b(0x3fc))](_0x1623db)['setAlpha'](0.2)['toRgbString'](),_0x223d64=new _0x278226[(_0x2df27b(0x46a))](_0x3a0e1c+_0x44f3cf['Tools']['generateRandomId'](_0x54da0e),{'pointsGroup':_0x3729d6,'fill':_0x14f63b||_0x278226[_0x2df27b(0x506)](_0x44f3cf[_0x2df27b(0x2ab)][_0x2df27b(0x1ac)],0.2),'left':_0x3d14ab,'top':_0x2162b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2df27b(0x252)]['push'](_0x223d64),this['_scene']['addObject'](_0x223d64,_0x50f029[_0x2df27b(0x34f)]);}[_0x4deb9c(0x4e4)](_0xca8af6){const _0x1ba91c=_0xca8af6[0x0],_0xc1a3a4=_0x1ba91c[0x0],_0x5cd505=_0x1ba91c[0x2],{x:_0x1fd15c,y:_0x51332d}=_0xc1a3a4,{x:_0x849c95,y:_0x2de3c6}=_0x5cd505;return{'left':_0x1fd15c,'top':_0x51332d,'width':_0x849c95-_0x1fd15c,'height':_0x2de3c6-_0x51332d};}[_0x4deb9c(0x271)](){const _0x4851da=_0x4deb9c,{scaleX:_0x3f7c8f,scaleY:_0x31f46e}=this['_scene'][_0x4851da(0x107)]();return Math[_0x4851da(0x43d)](_0x3f7c8f,_0x31f46e);}}var _0x556a0e=Object['defineProperty'],_0x2c246a=Object[_0x4deb9c(0x3d9)],_0x1346fb=(_0x3972fe,_0x20e826,_0x21766a,_0xe20829)=>{const _0x4c7a1d=_0x4deb9c;for(var _0x4e8727=_0xe20829>0x1?void 0x0:_0xe20829?_0x2c246a(_0x20e826,_0x21766a):_0x20e826,_0x30038d=_0x3972fe[_0x4c7a1d(0x17a)]-0x1,_0x25cbe4;_0x30038d>=0x0;_0x30038d--)(_0x25cbe4=_0x3972fe[_0x30038d])&&(_0x4e8727=(_0xe20829?_0x25cbe4(_0x20e826,_0x21766a,_0x4e8727):_0x25cbe4(_0x4e8727))||_0x4e8727);return _0xe20829&&_0x4e8727&&_0x556a0e(_0x20e826,_0x21766a,_0x4e8727),_0x4e8727;},_0x397f3a=(_0x47ca32,_0x2e624a)=>(_0x3f2d20,_0xc6d3ef)=>_0x2e624a(_0x3f2d20,_0xc6d3ef,_0x47ca32);let _0x58fc0b=class extends _0x44f3cf['RxDisposable']{constructor(_0x3e7607,_0x3ce4cf,_0xccd55d,_0x567380,_0x2fd9e1){const _0x18d119=_0x4deb9c;super(),_0x434a2a(this,_0x18d119(0x1eb),[]),_0x434a2a(this,'_cursors',[]),(this[_0x18d119(0x1fb)]=_0x3e7607,this[_0x18d119(0x1b3)]=_0x3ce4cf,this['_collabCursorController']=_0xccd55d,this['_commandService']=_0x567380,this['_themeService']=_0x2fd9e1,this[_0x18d119(0x4fb)]());}['_init'](){const _0x5a6021=_0x4deb9c,_0x2f5b1c=this['_context']['unitId'],_0x5cedc5=this[_0x5a6021(0x1b3)];this[_0x5a6021(0x446)](_0x1837c6['combineLatest']([this['_collabCursorController'][_0x5a6021(0x28e)](_0x2f5b1c),this['_themeService'][_0x5a6021(0x485)]])[_0x5a6021(0x4f9)](_0x3ab9e8[_0x5a6021(0x269)](([_0x16dda2,_0x2f1e0d])=>({'skeleton':_0x5cedc5[_0x5a6021(0x337)](),'cursors':[..._0x16dda2[_0x5a6021(0x4f5)]()][_0x5a6021(0x33e)](_0x2d95a9=>({..._0x2d95a9,'color':_0x2f1e0d[_0x2d95a9[_0x5a6021(0x2ad)]]}))})))[_0x5a6021(0x138)](_0x4bced9=>{const _0x4e9f18=_0x5a6021;if(this[_0x4e9f18(0x192)](),_0x4bced9){const {skeleton:_0x2f964f,cursors:_0x14a822}=_0x4bced9;this['_updateCollabCursors'](_0x2f964f,_0x14a822);}})),this[_0x5a6021(0x1bd)](),this['_initCommandExecutedListener']();}[_0x4deb9c(0x10a)](_0x1750d2,_0x5a6bc8){const _0x706077=_0x4deb9c,{scene:_0xec7dbd,mainComponent:_0x5397d4}=this[_0x706077(0x1fb)],_0x5540f6=_0x5a6bc8['map'](_0x29cbe8=>new _0x29a1ea(_0x29cbe8,_0xec7dbd,_0x1750d2,_0x5397d4));this[_0x706077(0x1eb)]=_0x5540f6,this[_0x706077(0x2b3)]=_0x5a6bc8;}['_refreshCollabCursors'](){const _0x1f5753=_0x4deb9c;this[_0x1f5753(0x192)]();const {scene:_0x61215a,mainComponent:_0x4033b7}=this['_context'],_0x112645=this[_0x1f5753(0x1b3)][_0x1f5753(0x337)](),_0x5e7c90=this['_cursors'][_0x1f5753(0x269)](_0x593e74=>new _0x29a1ea(_0x593e74,_0x61215a,_0x112645,_0x4033b7));this[_0x1f5753(0x1eb)]=_0x5e7c90;}[_0x4deb9c(0x192)](){const _0x561005=_0x4deb9c;this['_cursorShapes']['forEach'](_0x137172=>_0x137172[_0x561005(0x241)]()),this['_cursorShapes']=[];}[_0x4deb9c(0x509)](){const _0x53f220=_0x4deb9c,_0x226f1e=[_0x50f029['SetDocZoomRatioOperation']['id']];this[_0x53f220(0x446)](this[_0x53f220(0x484)][_0x53f220(0x27a)](_0x5dd4d3=>{const _0x42bfa3=_0x53f220;_0x226f1e[_0x42bfa3(0x4ff)](_0x5dd4d3['id'])&&_0x5dd4d3[_0x42bfa3(0x3fd)][_0x42bfa3(0x380)]===this[_0x42bfa3(0x1fb)]['unitId']&&this[_0x42bfa3(0x4ca)]();}));}['_initResize'](){const _0x45e1b2=_0x4deb9c;this[_0x45e1b2(0x446)](_0x44f3cf['fromEventSubject'](this['_context'][_0x45e1b2(0x2eb)]['onTransformChange$'])[_0x45e1b2(0x4f9)](_0x3ab9e8['filter'](_0x3f62dc=>_0x3f62dc[_0x45e1b2(0x4f1)]===_0x278226['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x45e1b2(0x40c)]),_0x3ab9e8['throttleTime'](0x10))[_0x45e1b2(0x138)](()=>{const _0x5b0e1d=_0x45e1b2;this[_0x5b0e1d(0x4ca)]();}));}};_0x58fc0b=_0x1346fb([_0x44f3cf[_0x4deb9c(0x33b)](_0x44f3cf['LifecycleStages'][_0x4deb9c(0x47e)],_0x58fc0b),_0x397f3a(0x1,_0x44f3cf['Inject'](_0x495201['DocSkeletonManagerService'])),_0x397f3a(0x2,_0x44f3cf['Inject'](_0xdbf3eb)),_0x397f3a(0x3,_0x44f3cf['ICommandService']),_0x397f3a(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf['ThemeService']))],_0x58fc0b);var _0x12b7d1=Object[_0x4deb9c(0x4f6)],_0x4f9580=Object[_0x4deb9c(0x3d9)],_0x57842f=(_0x198ee1,_0x2f0b88,_0x387dfc,_0x466a4)=>{const _0x297094=_0x4deb9c;for(var _0x130059=_0x466a4>0x1?void 0x0:_0x466a4?_0x4f9580(_0x2f0b88,_0x387dfc):_0x2f0b88,_0x43c875=_0x198ee1[_0x297094(0x17a)]-0x1,_0x4ad9e5;_0x43c875>=0x0;_0x43c875--)(_0x4ad9e5=_0x198ee1[_0x43c875])&&(_0x130059=(_0x466a4?_0x4ad9e5(_0x2f0b88,_0x387dfc,_0x130059):_0x4ad9e5(_0x130059))||_0x130059);return _0x466a4&&_0x130059&&_0x12b7d1(_0x2f0b88,_0x387dfc,_0x130059),_0x130059;},_0x1a0084=(_0x543fbf,_0x26fdc6)=>(_0x2d4b9b,_0x3ebcba)=>_0x26fdc6(_0x2d4b9b,_0x3ebcba,_0x543fbf);let _0x41b47c=class{constructor(_0x20c0ef,_0x5f494e,_0x46f678){const _0x33d92d=_0x4deb9c;this['_configService']=_0x20c0ef,this['_httpService']=_0x5f494e,this[_0x33d92d(0x417)]=_0x46f678,this[_0x33d92d(0x36a)]();}[_0x4deb9c(0x36a)](){const _0x3bda10=_0x4deb9c;this[_0x3bda10(0x330)][_0x3bda10(0x169)]({'priority':0x1,'interceptor':(_0x11eb35,_0x2e3415)=>_0x2e3415(_0x11eb35)[_0x3bda10(0x4f9)](_0x1837c6[_0x3bda10(0x233)](async _0x2f10ac=>{const _0x423053=_0x3bda10,_0x51344d=_0x2f10ac;if(_0x51344d[_0x423053(0x111)]===0x191&&window[_0x423053(0x12b)](this[_0x423053(0x417)]['t'](_0x423053(0x4b6)))){const _0x246b7f=window['encodeURIComponent'](window['location'][_0x423053(0x2a5)]);window[_0x423053(0x33d)][_0x423053(0x2a5)]=this[_0x423053(0x504)]()+_0x423053(0x387)+_0x246b7f;}return _0x51344d;}))});}[_0x4deb9c(0x504)](){const _0x1014c5=_0x4deb9c;var _0x5461a3;return(_0x5461a3=this[_0x1014c5(0x494)][_0x1014c5(0x2cd)](_0x1fff0c))!=null?_0x5461a3:_0x5040cd;}};_0x41b47c=_0x57842f([_0x1a0084(0x0,_0x44f3cf[_0x4deb9c(0x150)]),_0x1a0084(0x1,_0x44f3cf[_0x4deb9c(0x2a6)](_0x43b7e7[_0x4deb9c(0x15f)])),_0x1a0084(0x2,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x440)]))],_0x41b47c);var _0x19cfd0=Object[_0x4deb9c(0x4f6)],_0x35b5b6=Object[_0x4deb9c(0x3d9)],_0x3d4fdd=(_0x4d2bc9,_0x598808,_0x573868,_0x1ef085)=>{const _0x2caab4=_0x4deb9c;for(var _0x56c75c=_0x1ef085>0x1?void 0x0:_0x1ef085?_0x35b5b6(_0x598808,_0x573868):_0x598808,_0x1df93e=_0x4d2bc9[_0x2caab4(0x17a)]-0x1,_0x198f8e;_0x1df93e>=0x0;_0x1df93e--)(_0x198f8e=_0x4d2bc9[_0x1df93e])&&(_0x56c75c=(_0x1ef085?_0x198f8e(_0x598808,_0x573868,_0x56c75c):_0x198f8e(_0x56c75c))||_0x56c75c);return _0x1ef085&&_0x56c75c&&_0x19cfd0(_0x598808,_0x573868,_0x56c75c),_0x56c75c;},_0x39f5ac=(_0x3c006c,_0x45e71c)=>(_0x19ef8b,_0x2489bf)=>_0x45e71c(_0x19ef8b,_0x2489bf,_0x3c006c);const _0x4aaaa6=_0x4deb9c(0x1f3),_0x3f4480=_0x4deb9c(0x4b4);_0x3723aa[_0x4deb9c(0x3a1)]=class extends _0x44f3cf[_0x4deb9c(0x50a)]{constructor(_0x123bf1,_0x410e04){const _0x19484f=_0x4deb9c;super(),this['_HTTPService']=_0x123bf1,this[_0x19484f(0x494)]=_0x410e04,this[_0x19484f(0x4ae)]();}['_initMergeInterceptor'](){const _0x48a59d=_0x4deb9c,_0x1d8917=this;this[_0x48a59d(0x446)](this[_0x48a59d(0x242)][_0x48a59d(0x169)]({'priority':0x3e7,'interceptor':_0x43b7e7['MergeInterceptorFactory']({'isMatch'(_0x4e0e68){const _0x428954=_0x48a59d;var _0x35c190;if(_0x4e0e68['method']===_0x428954(0x473)&&((_0x35c190=_0x4e0e68['requestParams'])!=null&&_0x35c190[_0x428954(0x317)])){const {objectID:_0x3ac19d,objectType:_0x41235c}=_0x4e0e68['requestParams'][_0x428954(0x317)]||{};if(!_0x3ac19d||_0x41235c===void 0x0)return!0x1;const _0xbe59b9=_0x1d8917[_0x428954(0x11b)]()+'/'+_0x41235c+_0x428954(0x21e)+_0x3ac19d+_0x428954(0x4af);if(_0x4e0e68[_0x428954(0x407)]===_0xbe59b9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xb46fc5){const _0x5db2cb=_0x48a59d;var _0x43db1c;return(_0x43db1c=_0xb46fc5[_0x5db2cb(0x4ee)])==null?void 0x0:_0x43db1c[_0x5db2cb(0x317)];},'mergeParamsToRequest'(_0x5b3fc4,_0x44c27c){const _0x5d5904=_0x48a59d,_0x15be02=_0x1d8917[_0x5d5904(0x11b)]()+'/-/object/-/batch_allowed',_0x58428d=_0x5b3fc4[_0x5d5904(0x1f2)]((_0x4d6d2f,_0x59e50b)=>{const _0x4b22b1=_0x5d5904,{unitID:_0x577032,objectID:_0x1bfc52,objectType:_0x5e425b,actions:_0x3fcc47}=_0x59e50b;return _0x4d6d2f[_0x577032]||(_0x4d6d2f[_0x577032]={}),_0x4d6d2f[_0x577032][_0x1bfc52]||(_0x4d6d2f[_0x577032][_0x1bfc52]={'objectID':_0x1bfc52,'objectType':_0x5e425b,'actions':[]}),_0x4d6d2f[_0x577032][_0x1bfc52][_0x4b22b1(0x3fe)]['push'](..._0x3fcc47),_0x4d6d2f;},{}),_0x2c3120=[];for(const _0x508860 in _0x58428d)for(const _0x3266e9 in _0x58428d[_0x508860]){const {actions:_0x1a9b68,objectType:_0x3df29b}=_0x58428d[_0x508860][_0x3266e9],_0x337bf0=[...new Set(_0x1a9b68)];_0x2c3120['push']({'unitID':_0x508860,'objectID':_0x3266e9,'objectType':_0x3df29b,'actions':_0x337bf0});}return new _0x43b7e7['HTTPRequest'](_0x5d5904(0x473),_0x15be02,{'headers':_0x44c27c['headers'],'withCredentials':_0x44c27c['withCredentials'],'responseType':_0x44c27c[_0x5d5904(0x28f)],'body':{'requests':_0x2c3120}});}},{'distributeResult'(_0x3f893d,_0x2cf5a0){const {objectActions:_0x315b96}=_0x3f893d;return _0x2cf5a0['map'](_0xd8b074=>{const _0x4be3fb=_0x47c1,{unitID:_0x9bd0b8,objectID:_0x209403,actions:_0x2c7a88}=_0xd8b074,_0x153e20=_0x315b96[_0x4be3fb(0x340)](_0x10082b=>_0x10082b['unitID']===_0x9bd0b8&&_0x10082b[_0x4be3fb(0x237)]===_0x209403),_0xfcceba=_0x2c7a88[_0x4be3fb(0x269)](_0xc69ab2=>_0x153e20==null?void 0x0:_0x153e20[_0x4be3fb(0x3fe)][_0x4be3fb(0x340)](_0x2abf48=>_0x2abf48[_0x4be3fb(0x365)]===_0xc69ab2))[_0x4be3fb(0x39e)](_0x552308=>!!_0x552308);return{'config':_0xd8b074,'result':{'actions':_0xfcceba,'error':_0x3f893d['error']}};});}})}));}[_0x4deb9c(0x11b)](){const _0x1d877=_0x4deb9c;var _0x34903d;return(_0x34903d=this['_configService'][_0x1d877(0x2cd)](_0x4aaaa6))!=null?_0x34903d:_0x3f4480;}async[_0x4deb9c(0x12a)](_0x120405){const _0xb492e1=_0x4deb9c,_0x5ada1e=this[_0xb492e1(0x11b)]()+'/'+_0x120405[_0xb492e1(0x3ad)]+_0xb492e1(0x20e);return(await this['_HTTPService'][_0xb492e1(0x239)](_0x5ada1e,{'body':_0x120405}))['body'][_0xb492e1(0x237)]||'';}async[_0x4deb9c(0x334)](_0x796dad){const _0x10b088=_0x4deb9c,_0x4ee4f0=this['_getAPIPrefixPath']()+_0x10b088(0x381);return(await this['_HTTPService']['post'](_0x4ee4f0,{'body':_0x796dad}))[_0x10b088(0x317)]['objects'];}async[_0x4deb9c(0x193)](_0x7bc57d){const _0x4acf78=_0x4deb9c,_0x51f3f8=this[_0x4acf78(0x11b)]()+'/'+_0x7bc57d[_0x4acf78(0x3ad)]+_0x4acf78(0x21e)+_0x7bc57d[_0x4acf78(0x237)];await this[_0x4acf78(0x242)]['put'](_0x51f3f8,{'body':_0x7bc57d});}async['allowed'](_0x32c35a){const _0x75e491=_0x4deb9c,_0x3b644f=this[_0x75e491(0x11b)]()+'/'+_0x32c35a['objectType']+_0x75e491(0x21e)+_0x32c35a[_0x75e491(0x237)]+_0x75e491(0x4af);return(await this['_HTTPService'][_0x75e491(0x239)](_0x3b644f,{'body':_0x32c35a}))[_0x75e491(0x317)][_0x75e491(0x3fe)];}async[_0x4deb9c(0x3b7)](_0x2e563c){const _0x41e74f=_0x4deb9c,_0x21cb7a=this[_0x41e74f(0x11b)]()+'/-/object/-/batch_allowed';return(await this[_0x41e74f(0x242)][_0x41e74f(0x239)](_0x21cb7a,{'body':{'requests':_0x2e563c}}))[_0x41e74f(0x317)][_0x41e74f(0x2cb)];}async['listRoles'](_0x5b2f63){const _0xbbcb86=_0x4deb9c,_0x1886f4=this[_0xbbcb86(0x11b)]()+'/'+_0x5b2f63[_0xbbcb86(0x3ad)]+_0xbbcb86(0x344),_0x8d7a0e=await this[_0xbbcb86(0x242)][_0xbbcb86(0x239)](_0x1886f4,{'body':_0x5b2f63});return{'roles':_0x8d7a0e[_0xbbcb86(0x317)][_0xbbcb86(0x1a1)],'actions':_0x8d7a0e['body']['actions']};}async[_0x4deb9c(0x441)](_0x39507d){const _0x368d76=_0x4deb9c,_0x1c5377=this[_0x368d76(0x11b)]()+_0x368d76(0x41e);await this['_HTTPService'][_0x368d76(0x312)](_0x1c5377,{'params':{'collaboratorID':_0x39507d['collaboratorID'],'objectID':_0x39507d[_0x368d76(0x237)],'unitID':_0x39507d[_0x368d76(0x282)]}});}async[_0x4deb9c(0x16e)](_0x4bfc11){const _0x448662=_0x4deb9c,_0x38c1b3=this['_getAPIPrefixPath']()+_0x448662(0x41e);await this[_0x448662(0x242)][_0x448662(0x311)](_0x38c1b3,{'body':_0x4bfc11});}async[_0x4deb9c(0x29e)](_0x2c0f2a){const _0x7b9454=_0x4deb9c,_0x5897de=this['_getAPIPrefixPath']()+_0x7b9454(0x41e);await this[_0x7b9454(0x242)]['post'](_0x5897de,{'body':_0x2c0f2a});}async[_0x4deb9c(0x1f9)](_0x5ddcd0){const _0x32087f=_0x4deb9c,_0x4a768a=this[_0x32087f(0x11b)]()+'/collaborator';return(await this[_0x32087f(0x242)][_0x32087f(0x38c)](_0x4a768a,{'params':{'objectID':_0x5ddcd0[_0x32087f(0x237)],'unitID':_0x5ddcd0[_0x32087f(0x282)]}}))[_0x32087f(0x317)]['collaborators'];}async['putCollaborators'](_0x3b2bee){const _0xfe1e18=_0x4deb9c,_0x5baf3e=this[_0xfe1e18(0x11b)]()+_0xfe1e18(0x41e);await this[_0xfe1e18(0x242)]['put'](_0x5baf3e,{'body':_0x3b2bee});}},_0x3723aa[_0x4deb9c(0x3a1)]=_0x3d4fdd([_0x39f5ac(0x0,_0x44f3cf[_0x4deb9c(0x2a6)](_0x43b7e7[_0x4deb9c(0x15f)])),_0x39f5ac(0x1,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf['IConfigService']))],_0x3723aa[_0x4deb9c(0x3a1)]);var _0x288006=Object[_0x4deb9c(0x4f6)],_0x4d3dd2=Object['getOwnPropertyDescriptor'],_0x3dbf03=(_0x57ef7f,_0x41c825,_0x1f9594,_0x4c4d4a)=>{const _0x2499b1=_0x4deb9c;for(var _0x5212f8=_0x4c4d4a>0x1?void 0x0:_0x4c4d4a?_0x4d3dd2(_0x41c825,_0x1f9594):_0x41c825,_0x1ebf01=_0x57ef7f[_0x2499b1(0x17a)]-0x1,_0x1c2007;_0x1ebf01>=0x0;_0x1ebf01--)(_0x1c2007=_0x57ef7f[_0x1ebf01])&&(_0x5212f8=(_0x4c4d4a?_0x1c2007(_0x41c825,_0x1f9594,_0x5212f8):_0x1c2007(_0x5212f8))||_0x5212f8);return _0x4c4d4a&&_0x5212f8&&_0x288006(_0x41c825,_0x1f9594,_0x5212f8),_0x5212f8;},_0x3a6037=(_0x4b71f4,_0x23208d)=>(_0x3ea9e7,_0x359bee)=>_0x23208d(_0x3ea9e7,_0x359bee,_0x4b71f4);const _0x1c9843=[_0x4deb9c(0x40f),_0x4deb9c(0x510),'image/jpg','image/gif',_0x4deb9c(0x46b)],_0xc5a976=0x5*0x400*0x400,_0x1985dc=_0x4deb9c(0x4b1),_0x34bc4a=_0x4deb9c(0x1e0),_0x23c9f4=_0x4deb9c(0x2e6),_0x4b70f9=_0x4deb9c(0x4d5);_0x3723aa['ImageIoService']=class{constructor(_0x3eb9ef,_0x20c1c6,_0x1432c9){const _0x2c2740=_0x4deb9c;_0x434a2a(this,_0x2c2740(0x38a),0x0),_0x434a2a(this,_0x2c2740(0x493),new _0x1837c6[(_0x2c2740(0x4a0))]()),_0x434a2a(this,_0x2c2740(0x196),this['_change$']),_0x434a2a(this,_0x2c2740(0x2c7),new Map()),(this[_0x2c2740(0x330)]=_0x3eb9ef,this[_0x2c2740(0x494)]=_0x20c1c6,this[_0x2c2740(0x391)]=_0x1432c9);}['setWaitCount'](_0x46a8a8){const _0x433e0f=_0x4deb9c;this[_0x433e0f(0x38a)]=_0x46a8a8,this[_0x433e0f(0x493)][_0x433e0f(0x3e8)](_0x46a8a8);}[_0x4deb9c(0x467)](_0x112cc2,_0x35a21f){const _0x51b951=_0x4deb9c;if(_0x35a21f===_0xaa685a[_0x51b951(0x116)]['BASE64']){const _0x8d509=new Image();return _0x8d509[_0x51b951(0x42c)]=_0x112cc2,_0x8d509;}return this[_0x51b951(0x2c7)][_0x51b951(0x38c)](_0x112cc2);}[_0x4deb9c(0x4e3)](_0x551acf,_0x2c42f3,_0x5031d2){const _0x1a9408=_0x4deb9c;_0x2c42f3===_0xaa685a[_0x1a9408(0x116)][_0x1a9408(0x160)]||_0x5031d2==null||this[_0x1a9408(0x2c7)][_0x1a9408(0x2b2)](_0x551acf,_0x5031d2);}async[_0x4deb9c(0x256)](_0x2bfc5d){const _0x3596ec=_0x4deb9c;try{const _0x230411=this['_replaceFileID'](this[_0x3596ec(0x42a)](),''+_0x2bfc5d),_0x1d3890=(await this[_0x3596ec(0x330)][_0x3596ec(0x38c)](_0x230411))[_0x3596ec(0x317)];return _0x1d3890[_0x3596ec(0x46e)]&&_0x1d3890[_0x3596ec(0x46e)]['code']===_0x46986a['OK']?Promise['resolve'](_0x1d3890[_0x3596ec(0x407)]):Promise[_0x3596ec(0x382)](_0x1d3890[_0x3596ec(0x46e)]);}catch(_0x189c61){return Promise[_0x3596ec(0x382)](_0x189c61);}}async[_0x4deb9c(0x31f)](_0x45bd27){const _0x434372=_0x4deb9c;let _0x3dc71c='';if(!_0x1c9843['includes'](_0x45bd27[_0x434372(0x4f1)]))return this[_0x434372(0x3c6)](),Promise['reject'](new Error(_0xaa685a[_0x434372(0x189)][_0x434372(0x3c7)]));if(_0x45bd27[_0x434372(0x23b)]>_0xc5a976)return this[_0x434372(0x3c6)](),Promise[_0x434372(0x382)](new Error(_0xaa685a[_0x434372(0x189)][_0x434372(0x153)]));try{const _0x196f84=new FormData();_0x196f84[_0x434372(0x358)](_0x434372(0x316),_0x45bd27);const _0x4d0acc=this[_0x434372(0x391)]['getFocusedUnit'](),_0x5bc879=_0x4d0acc==null?void 0x0:_0x4d0acc['getUnitId']();if(!_0x5bc879)throw new Error(_0x434372(0x13e));const _0x136d5b=this[_0x434372(0x4a1)]()+_0x434372(0x439)+_0x45bd27[_0x434372(0x23b)][_0x434372(0x23d)]()+_0x434372(0x474)+_0x47077b[_0x434372(0x251)]+_0x434372(0x14c)+encodeURIComponent(_0x5bc879),_0x4fd74b=await(await fetch(_0x136d5b,{'method':_0x434372(0x473),'body':_0x196f84}))[_0x434372(0x507)]();if(typeof _0x4fd74b[_0x434372(0x129)]!=_0x434372(0x1cf))return this[_0x434372(0x3c6)](),Promise[_0x434372(0x382)](new Error(_0xaa685a['ImageUploadStatusType'][_0x434372(0x2bb)]));_0x3dc71c=_0x4fd74b[_0x434372(0x129)];}catch{return this['_decreaseWaiting'](),Promise[_0x434372(0x382)](new Error(_0xaa685a[_0x434372(0x189)][_0x434372(0x2bb)]));}return new Promise((_0x3d674b,_0x14622b)=>{const _0x11d577=_0x434372,_0x17333c=new FileReader();_0x17333c['readAsDataURL'](_0x45bd27),_0x17333c[_0x11d577(0x1f0)]=_0x21dc55=>{const _0x2c7014=_0x11d577;var _0x5986a8;const _0x1e11da=(_0x5986a8=_0x21dc55[_0x2c7014(0x10c)])==null?void 0x0:_0x5986a8['result'];if(_0x1e11da==null){this['_decreaseWaiting'](),_0x14622b(new Error(_0xaa685a['ImageUploadStatusType'][_0x2c7014(0x2bb)]));return;}const _0x1947c5=_0x44f3cf[_0x2c7014(0x45a)][_0x2c7014(0x4f7)](0x6);_0x3d674b({'imageId':_0x1947c5,'imageSourceType':_0xaa685a[_0x2c7014(0x116)][_0x2c7014(0x4b2)],'source':_0x3dc71c,'base64Cache':_0x1e11da,'status':_0xaa685a['ImageUploadStatusType'][_0x2c7014(0x16a)]}),this['_decreaseWaiting']();};});}[_0x4deb9c(0x4a1)](){const _0xc72e6c=_0x4deb9c;var _0x2dd7f2;return(_0x2dd7f2=this[_0xc72e6c(0x494)][_0xc72e6c(0x2cd)](_0x1985dc))!=null?_0x2dd7f2:_0x34bc4a;}['_getSignURL'](){const _0x3b98bc=_0x4deb9c;var _0x351ba4;return(_0x351ba4=this[_0x3b98bc(0x494)][_0x3b98bc(0x2cd)](_0x23c9f4))!=null?_0x351ba4:_0x4b70f9;}[_0x4deb9c(0x2dc)](_0x4f99f7,_0x2537d2){return _0x4f99f7['replace']('{fileID}',_0x2537d2);}[_0x4deb9c(0x3c6)](){const _0x1bead3=_0x4deb9c;this[_0x1bead3(0x38a)]-=0x1,this[_0x1bead3(0x493)][_0x1bead3(0x3e8)](this[_0x1bead3(0x38a)]);}},_0x3723aa[_0x4deb9c(0x238)]=_0x3dbf03([_0x3a6037(0x0,_0x44f3cf[_0x4deb9c(0x2a6)](_0x43b7e7[_0x4deb9c(0x15f)])),_0x3a6037(0x1,_0x44f3cf[_0x4deb9c(0x150)]),_0x3a6037(0x2,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x165)]))],_0x3723aa[_0x4deb9c(0x238)]);var _0x3a6b4b=Object[_0x4deb9c(0x4f6)],_0x1aa19e=Object[_0x4deb9c(0x3d9)],_0x177dd7=(_0x3f8dc0,_0x5799a9,_0x1ff104,_0x34a189)=>{for(var _0x3d3bbf=_0x34a189>0x1?void 0x0:_0x34a189?_0x1aa19e(_0x5799a9,_0x1ff104):_0x5799a9,_0x3bef6e=_0x3f8dc0['length']-0x1,_0x36d3aa;_0x3bef6e>=0x0;_0x3bef6e--)(_0x36d3aa=_0x3f8dc0[_0x3bef6e])&&(_0x3d3bbf=(_0x34a189?_0x36d3aa(_0x5799a9,_0x1ff104,_0x3d3bbf):_0x36d3aa(_0x3d3bbf))||_0x3d3bbf);return _0x34a189&&_0x3d3bbf&&_0x3a6b4b(_0x5799a9,_0x1ff104,_0x3d3bbf),_0x3d3bbf;},_0x43671c=(_0x2fb9a7,_0x56de52)=>(_0x25826f,_0x25feda)=>_0x56de52(_0x25826f,_0x25feda,_0x2fb9a7);let _0x18c06b=class extends _0x44f3cf[_0x4deb9c(0x48b)]{constructor(_0x324a21,_0x436cda,_0x45af03,_0x481995,_0x2f18b7){const _0x320557=_0x4deb9c;super(),this[_0x320557(0x25f)]=_0x324a21,this[_0x320557(0x391)]=_0x436cda,this[_0x320557(0x20f)]=_0x45af03,this[_0x320557(0x4a8)]=_0x481995,this['_localeService']=_0x2f18b7,this[_0x320557(0x459)](),this[_0x320557(0x3fb)]();}['_initCloseConn'](){const _0x315d94=_0x4deb9c,_0x5a6002=async _0x445a81=>{const _0x4835bb=_0x47c1;(await this['_collaborationSessionService'][_0x4835bb(0x10f)](_0x445a81))[_0x4835bb(0x458)]['pipe'](_0x3ab9e8['filter'](_0x240c74=>_0x240c74[_0x4835bb(0x2aa)]===_0x5c3399[_0x4835bb(0x3d6)][_0x4835bb(0x50b)]),_0x3ab9e8[_0x4835bb(0x23e)](this[_0x4835bb(0x423)]))[_0x4835bb(0x138)](_0x26ca6b=>{const _0xb8cb34=_0x4835bb,_0x5d737c=_0x26ca6b,{reason:_0x4e9964}=_0x5d737c[_0xb8cb34(0xf9)];this[_0xb8cb34(0x25f)][_0xb8cb34(0x38c)](_0x90d6c1[_0xb8cb34(0x1b2)])['show']({'type':_0x1c0df8[_0xb8cb34(0x25c)][_0xb8cb34(0x2b7)],'content':this[_0xb8cb34(0x182)]['t']('collaboration.closeRoom')+'('+_0x4e9964+')'}),this[_0xb8cb34(0x20f)][_0xb8cb34(0x420)](new _0x5848ce[(_0xb8cb34(0x356))](_0x445a81)['id'],!0x1),this['_collaborationSessionService'][_0xb8cb34(0x2fb)](_0x445a81);});};_0x1837c6[_0x315d94(0xfb)](this[_0x315d94(0x391)][_0x315d94(0x3e1)](_0x44f3cf[_0x315d94(0x1bb)][_0x315d94(0x402)]),this[_0x315d94(0x391)][_0x315d94(0x3e1)](_0x44f3cf[_0x315d94(0x1bb)]['UNIVER_DOC']))[_0x315d94(0x4f9)](_0x3ab9e8[_0x315d94(0x269)](_0x2a4452=>_0x2a4452['getUnitId']()),_0x3ab9e8[_0x315d94(0x39e)](_0x257983=>!_0x44f3cf[_0x315d94(0x191)](_0x257983)),_0x3ab9e8['takeUntil'](this['dispose$']))[_0x315d94(0x138)](_0x15d0a0=>{_0x5a6002(_0x15d0a0);});}[_0x4deb9c(0x459)](){const _0x39fd4c=_0x4deb9c,_0x4ff903=async _0x40539e=>{const _0x1d2065=_0x47c1;(await this[_0x1d2065(0x4a8)][_0x1d2065(0x10f)](_0x40539e))[_0x1d2065(0x458)][_0x1d2065(0x4f9)](_0x3ab9e8[_0x1d2065(0x39e)](_0x476d6e=>_0x476d6e[_0x1d2065(0x2aa)]===_0x5c3399[_0x1d2065(0x3d6)][_0x1d2065(0x1d9)]),_0x3ab9e8['takeUntil'](this['dispose$']))[_0x1d2065(0x138)](_0x33c739=>{const _0x269129=_0x1d2065,_0x167b52=_0x33c739,{objectId:_0x5e6fbb}=_0x167b52[_0x269129(0xf9)],_0x366920=this[_0x269129(0x25f)]['get'](_0x2c9d11[_0x269129(0x275)]);_0x5e6fbb===_0x40539e?_0x366920[_0x269129(0x1fa)](_0x40539e):_0x366920['refreshPermission'](_0x40539e,_0x5e6fbb);});};_0x1837c6['merge'](this[_0x39fd4c(0x391)]['getTypeOfUnitAdded$'](_0x44f3cf[_0x39fd4c(0x1bb)]['UNIVER_SHEET']),this[_0x39fd4c(0x391)][_0x39fd4c(0x3e1)](_0x44f3cf[_0x39fd4c(0x1bb)][_0x39fd4c(0x350)]))['pipe'](_0x3ab9e8[_0x39fd4c(0x269)](_0x5e93d2=>_0x5e93d2[_0x39fd4c(0x43f)]()),_0x3ab9e8[_0x39fd4c(0x39e)](_0x40e186=>!_0x44f3cf['isInternalEditorID'](_0x40e186)),_0x3ab9e8[_0x39fd4c(0x23e)](this[_0x39fd4c(0x423)]))[_0x39fd4c(0x138)](_0x2956a5=>{_0x4ff903(_0x2956a5);});}};_0x18c06b=_0x177dd7([_0x44f3cf[_0x4deb9c(0x33b)](_0x44f3cf['LifecycleStages'][_0x4deb9c(0x341)],_0x18c06b),_0x43671c(0x0,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x43671c(0x1,_0x44f3cf[_0x4deb9c(0x165)]),_0x43671c(0x2,_0x44f3cf[_0x4deb9c(0x4d1)]),_0x43671c(0x3,_0x44f3cf[_0x4deb9c(0x2a6)](_0x3723aa[_0x4deb9c(0x433)])),_0x43671c(0x4,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf['LocaleService']))],_0x18c06b);const _0x3fbccb=_0x4deb9c(0x1da);var _0x5a750d=Object[_0x4deb9c(0x4f6)],_0x137911=Object['getOwnPropertyDescriptor'],_0x21eb9f=(_0x3849f2,_0x20b852,_0x306100)=>_0x20b852 in _0x3849f2?_0x5a750d(_0x3849f2,_0x20b852,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x306100}):_0x3849f2[_0x20b852]=_0x306100,_0x265f00=(_0x3d5a7e,_0x309624,_0x40dfd0,_0x45122e)=>{for(var _0x3f582b=_0x45122e>0x1?void 0x0:_0x45122e?_0x137911(_0x309624,_0x40dfd0):_0x309624,_0x418d85=_0x3d5a7e['length']-0x1,_0x4f690d;_0x418d85>=0x0;_0x418d85--)(_0x4f690d=_0x3d5a7e[_0x418d85])&&(_0x3f582b=(_0x45122e?_0x4f690d(_0x309624,_0x40dfd0,_0x3f582b):_0x4f690d(_0x3f582b))||_0x3f582b);return _0x45122e&&_0x3f582b&&_0x5a750d(_0x309624,_0x40dfd0,_0x3f582b),_0x3f582b;},_0x3e16a7=(_0x121bbe,_0x2b6b66)=>(_0x3ed1cf,_0x3a81ac)=>_0x2b6b66(_0x3ed1cf,_0x3a81ac,_0x121bbe),_0x70ea35=(_0x2e73a9,_0x2cd6f6,_0x4f8332)=>_0x21eb9f(_0x2e73a9,_0x2cd6f6+'',_0x4f8332);const _0x493296='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x3723aa[_0x4deb9c(0x3f4)]=class extends _0x44f3cf[_0x4deb9c(0x4dc)]{constructor(_0x151753={},_0x18fa79,_0x5c6ab1,_0x174745,_0x15c371){const _0x40e79a=_0x4deb9c;super(),this[_0x40e79a(0x4e7)]=_0x151753,this[_0x40e79a(0x1aa)]=_0x18fa79,this[_0x40e79a(0x47c)]=_0x5c6ab1,this[_0x40e79a(0x25f)]=_0x174745,this[_0x40e79a(0x494)]=_0x15c371;const {..._0x5ccbbd}=this[_0x40e79a(0x4e7)];this[_0x40e79a(0x494)][_0x40e79a(0x25b)](_0x3fbccb,_0x5ccbbd);}[_0x4deb9c(0x2b8)](){const _0x3ec12b=_0x4deb9c;this[_0x3ec12b(0x1bf)]();}['onRendered'](){const _0x5c225a=_0x4deb9c;this[_0x5c225a(0x3c5)]();}[_0x4deb9c(0x1bf)](){const _0x53bc21=_0x4deb9c;var _0x5bde3e,_0x11512c,_0x2d10ea,_0x167ae1;this[_0x53bc21(0x25f)]['has'](_0x44f3cf[_0x53bc21(0x4b7)])&&this[_0x53bc21(0x1aa)][_0x53bc21(0x46e)](_0x53bc21(0x469),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x579eb8=[[_0x44f3cf[_0x53bc21(0x4b7)],{'useClass':_0x3129e0}],[_0x3723aa[_0x53bc21(0x433)]],[_0x491fbd],[_0x43b7e7[_0x53bc21(0x15f)]],[_0x3be97f,{'useClass':_0x3492f1}],[_0x32fe7e],[_0x3723aa[_0x53bc21(0x1d5)]],[_0x43b7e7['WebSocketService']],[_0x356d67],[_0x2c5796],[_0x8239a3],[_0x47cf83],[_0x41b47c],[_0x523579],[_0x18c06b],[_0x2f8f8b,{'useClass':(_0x11512c=(_0x5bde3e=this['_config'])==null?void 0x0:_0x5bde3e[_0x53bc21(0x109)])!=null?_0x11512c:_0x3723aa[_0x53bc21(0x395)]}],[_0x43b7e7[_0x53bc21(0x1ef)],{'useClass':_0x43b7e7[_0x53bc21(0x213)]}],[_0x5c3399[_0x53bc21(0x257)],{'useClass':_0x3723aa[_0x53bc21(0x262)]}],[_0x44f3cf[_0x53bc21(0x249)],{'useClass':_0x3723aa[_0x53bc21(0x3a1)]}],[_0xaa685a[_0x53bc21(0x2d8)],{'useClass':_0x3723aa[_0x53bc21(0x238)]}],[_0x3723aa[_0x53bc21(0x3ac)]],[_0x3723aa[_0x53bc21(0x374)]],[_0x3723aa['DesktopCollaborationStatusDisplayController']],[_0x46e5fc],[_0xdbf3eb]];(_0x2d10ea=this[_0x53bc21(0x4e7)])!=null&&_0x2d10ea[_0x53bc21(0x253)]&&_0x579eb8[_0x53bc21(0x4c0)]([_0x27229c,{'useClass':_0x19a53f}]),_0x579eb8=_0x44f3cf['mergeOverrideWithDependencies'](_0x579eb8,(_0x167ae1=this[_0x53bc21(0x4e7)])==null?void 0x0:_0x167ae1[_0x53bc21(0x48e)]),_0x579eb8[_0x53bc21(0x4cc)](_0x33f860=>this[_0x53bc21(0x25f)][_0x53bc21(0x117)](_0x33f860)),this[_0x53bc21(0x383)]();}[_0x4deb9c(0x3c5)](){const _0x2309d1=_0x4deb9c;this[_0x2309d1(0x446)](this[_0x2309d1(0x47c)][_0x2309d1(0x21b)](_0x44f3cf['UniverInstanceType'][_0x2309d1(0x350)],[_0x58fc0b])),this[_0x2309d1(0x446)](this['_renderManagerService'][_0x2309d1(0x21b)](_0x44f3cf[_0x2309d1(0x1bb)][_0x2309d1(0x402)],[_0x626aa7]));}[_0x4deb9c(0x383)](){const _0x10bffe=_0x4deb9c;var _0x317101,_0x24249e;this[_0x10bffe(0x25f)][_0x10bffe(0x38c)](_0x43b7e7[_0x10bffe(0x15f)])[_0x10bffe(0x169)]({'priority':0x14,'interceptor':_0x43b7e7[_0x10bffe(0x300)]({'maxParallel':0x6})}),(_0x317101=this['_config'])!=null&&_0x317101[_0x10bffe(0x1a3)]||this[_0x10bffe(0x25f)]['get'](_0x3723aa[_0x10bffe(0x1d5)])[_0x10bffe(0x1f7)](),(_0x24249e=this['_config'])!=null&&_0x24249e[_0x10bffe(0x41f)]&&this[_0x10bffe(0x25f)][_0x10bffe(0x38c)](_0x41b47c),this[_0x10bffe(0x25f)][_0x10bffe(0x38c)](_0x3723aa[_0x10bffe(0x3ac)]),this['_injector']['has'](_0x3723aa[_0x10bffe(0x221)])&&this[_0x10bffe(0x25f)][_0x10bffe(0x38c)](_0x3723aa[_0x10bffe(0x221)]);}},_0x70ea35(_0x3723aa[_0x4deb9c(0x3f4)],_0x4deb9c(0x134),_0x493296),_0x3723aa[_0x4deb9c(0x3f4)]=_0x265f00([_0x44f3cf[_0x4deb9c(0x1ce)](_0x5c3399[_0x4deb9c(0x288)]),_0x3e16a7(0x1,_0x44f3cf['ILogService']),_0x3e16a7(0x2,_0x278226['IRenderManagerService']),_0x3e16a7(0x3,_0x44f3cf[_0x4deb9c(0x2a6)](_0x44f3cf[_0x4deb9c(0x483)])),_0x3e16a7(0x4,_0x44f3cf['IConfigService'])],_0x3723aa[_0x4deb9c(0x3f4)]),_0x3723aa[_0x4deb9c(0x1f3)]=_0x4aaaa6,_0x3723aa[_0x4deb9c(0x180)]=_0x1b950d,_0x3723aa['COLLAB_WEB_SOCKET_URL_KEY']=_0x58c006,_0x3723aa[_0x4deb9c(0x3b6)]=_0x1a5e20,_0x3723aa['CollaborationStatusDisplay']=_0x1e6808,_0x3723aa[_0x4deb9c(0x37e)]=_0x523579,_0x3723aa[_0x4deb9c(0x18f)]=_0x4175a2,_0x3723aa[_0x4deb9c(0x172)]=_0x1bc3ee,_0x3723aa[_0x4deb9c(0x14d)]=_0x2f8f8b,_0x3723aa[_0x4deb9c(0x3b1)]=_0x3be97f,_0x3723aa['LOCAL_CACHE_INTERVAL_KEY']=_0x4c3652,_0x3723aa['LOGIN_URL_KEY']=_0x1fff0c,_0x3723aa['RETRY_CONNECTING_INTERVAL_KEY']=_0x31135c,_0x3723aa[_0x4deb9c(0x214)]=_0x3eddeb,_0x3723aa[_0x4deb9c(0x2e7)]=_0x5bb06f,_0x3723aa[_0x4deb9c(0x15e)]=_0x4007f7,_0x3723aa[_0x4deb9c(0x3f1)]=_0x1691bd,_0x3723aa['SessionStatus']=_0x4388c5,_0x3723aa[_0x4deb9c(0x1dc)]=_0x1fe35d,_0x3723aa[_0x4deb9c(0x31c)]=_0x3492f1,_0x3723aa[_0x4deb9c(0x3cf)]=_0x2eb665,_0x3723aa[_0x4deb9c(0x1ed)]=_0x266df0,Object['defineProperty'](_0x3723aa,Symbol[_0x4deb9c(0x416)],{'value':'Module'});}));function _0x47c1(_0x531da3,_0x255a66){const _0xd8ee3c=_0xd8ee();return _0x47c1=function(_0x47c13d,_0x231168){_0x47c13d=_0x47c13d-0xf4;let _0xa42bb2=_0xd8ee3c[_0x47c13d];return _0xa42bb2;},_0x47c1(_0x531da3,_0x255a66);}function _0xd8ee(){const _0x2b9b28=['createElement','_document','extend','fetchMissingChangesets','c2Prime','COLLAB_WEB_SOCKET_URL','DataLoaderController','textEncoder','_range','indexOf','assign','ThemeService','transform','_clearHeartbeatTimer','sheetId','_commentUpdate$','CommentService','onTransformRemoteChangesetByIMECache','unitId','/-/object/list','reject','_initModules','YUUMI_SUBSCRIPTION_NOT_FOUND','_undoStacks','urlChange$','?url=','_http','@univerjs/rpc','_waitCount','cmd','get','_saveTaskMap','beginPath','fill','_startTelemetryCollaborationNewChangeset','_univerInstanceService','_collabCursorState$','@univerjs-pro/collaboration','transformMutationsWithChangeset','CollaborationSocketService','_createSocket','LocalUndoRedoService','transformByState','_isPermissionRej','JOIN','HEARTBEAT_INTERVAL','YUUMI_URL_COL_OUT_OF_RANGE','_session','filter','Tooltip','TOO_MANY_REQUESTS','AuthzIoHttpService','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','getCurrentRevForDocument','getInterceptPoints','_showConflictNotification','delay','_name','serializeRangeWithSheet','awaiting_with_pending','registerRefRange','@univerjs/design','CollaborationController','objectType','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_disableEditing','MUTATION','IURLService','RevisionService','_socketMessageSubscription','interceptor','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CollaborationStatus','batchAllowed','SetSelectionsOperation','NodePositionConvertToRectRange','apply','m1Prime','_handleEvent','connectInjector','_getAPIPrefix','getSheetBySheetId','roomMembers$','DocCollaborationEntity','_transformService','_ensureSubject','_getCurrentRevision','_registerRenderDependencies','_decreaseWaiting','ERROR_IMAGE_TYPE','shareReplay','@univerjs/telemetry','DEFAULT_FILE_NAME','_stopTelemetryCollaborationNewChangeset','HEARTBEAT_TIMEOUT','_scheduleTimestamp','on-line-single','deserializeToCombResponse','transformRemoteChangeset','getUnitOnRev','CONFLICT','_lockTransition','@univerjs/sheets','HEARTBEAT','CollaborationEvent','_localCacheService','now','getOwnPropertyDescriptor','/unit/','setItem','_onRecvEvent','SetTextSelectionsOperation','purple300','rxjs','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getTypeOfUnitAdded$','_clearRedo','unload','UniverIcon','selection','debug','_createHandler','next','toRgbString','transformMutation','red300','gold400','CollaborationEntity','with','_undoRedoService','off-line-single_clip0_910_343','SNAPSHOT_URL_KEY','bottom','getOffsetConfig','UniverCollaborationClientPlugin','_anchorDot','measureText','_notificationService','transformSelections','_startSheetCollabCursor','clear','_initCloseConn','ColorKit','params','actions','PENDING','removeEventListener','isEditing','UNIVER_SHEET','15zXSnhi','CollaborationSession','searchParams','clipPath','url','range','LIVESHARE_NEW_HOST','_docSyncEditingCollabCursorService','_updateURLWithCurrentState','resize','CHANGESET_REVISION_CONFILICT','exhaustSavingTask','image/png','AWAITING_WITH_PENDING','_onConflict','_throwTelemetryCollaborationNewChangeset','UNIVER_UNKNOWN','updateCursorEvent','/new_changes','toStringTag','localeService','APPLY_REJECT','RemoveRowCommandId','/rev/','RichTextEditingMutation','_timeoutTimer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','/collaborator','enableAuthServer','updatePermissionPoint','message$','sheetID','dispose$','1em','svg','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','createInstance','stringify','COMPRESS_MUTATION_APPLY','_getSignURL','_assignedColors','src','_drawTextRange','assignAColorForMemberID','INTERNAL_ERROR','useObservable','getSheetBlock','DocSelectionManagerService','CollaborationSessionService','&to=','Warning','_transformRemoteChangesetByIMECache','INotificationService','getMember','?size=','status$','evenodd','_scheduleCollaborationTimeoutTimer','max','LOCAL_CACHE_INTERVAL','getUnitId','LocaleService','deleteCollaborator','_userManagerService','entries','isTransformChangesetsSuccess','_schedule','disposeWithMe','triggerDblclick','amd','SNAPSHOT_HAS_BEEN_REMOVED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_uiPartsService','JSONX','runRefRangeMutations','close','removeMember','executeCommand','_textBubble','top','ITransformService','replaceState','save','getSheetId','0\x200\x2016\x2016','event$','_initUnitPermissionChange','Tools','UniverDesign','unit-cache-','InsertSheetMutation','_setupSubUnitSync','title','_onFetchMissResult','children','IDLE','_hovered','cursorInfo','state$','_onCursorDelete','getImageSourceCache','_snapshotService','[UniverCollaborationClientPlugin]','RegularPolygon','image/bmp','_clearUndo','LIVESHARE_OPERATION','error','IRemoteInstanceService','_transformStack','getUniverSheetInstance','_getSendChangesetTimeout','POST','&source=','_candidateSocket','toggleOffline','switchMap','LIVESHARE_FETCH_OPERATIONS','setTimeout','onlineStatusIcon','contains','_renderManagerService','c1Prime','Steady','NOT_FOUND','verdancy600','_onJoinRoomEvent','429446WsbsHP','Injector','_commandService','currentTheme$','FAIL','hide','_heartbeatTimer','reconnect','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RxDisposable','_backgroundColor','setUndoRedoMutationParamsCache','override','56268FIFgVN','_onRemoteChangeset','exports','293716DMUuXN','_change$','_configService','UniverCollaborationClient','_localStorageService','_unitID','univerjs-icon\x20univerjs-icon-','m2Prime','_exhaustRemoteChangesetQueue','OffLineSingle','onTransformSelections','idSuffix','debounce','workbook','Subject','_getUploadFileURL','YUUMI_RATE_OVER_LIMIT','_collaborationPaused','HttpImport','getTypeOfUnitDisposed$','CompressMutationService','NEW_CHANGESETS','_collaborationSessionService','url(#off-line-single_clip0_910_343)','state','parse','transformStack\x20failed!','UNIVER_SLIDE','_initMergeInterceptor','/allowed','_scheduleHeartbeat','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','UUID','socket\x20open.','/universer-api/authz','[SyncedState]:\x20received\x20rejection.','auth.needGotoLoginAlert','IUndoRedoService','_clearCollaborationTimeoutTimer','_instanceService','session','function','_commentService','CHANGESET_REJ','isArray','distinctUntilChanged','push','text','row','onCommentUpdate','symbol','getActiveSheet','[DataLoaderController]','url(#$1','_joinRoom','setInterval','_refreshCollabCursors','_hideTimer','forEach','_updateLocalCursor','_transformUndoRedoStack','concat','_setupBeforeClosingHandler','IPermissionService','_transformIMECache','complete','_memberService','/universer-api/file/{fileID}/sign-url','/universer-api/snapshot/','_getUndoStack','onRemoteRej','fetch_missing','csRejEvent','fromEvent','Plugin','_clearLocalCache','from','_getSaveTimeout','resend','onStateChange','HttpExport','addImageSourceCache','_getAnchorBounding','ILogService','collabStatus.fetchMiss','_config','getUnhiddenWorksheets','deserializeRangeWithSheet','lodash','asObservable','_beforeCloseService','_collaborationTimeoutTimer','requestParams','LIVESHARE_TERMINATE','UniverNetwork','type','rev','_roomMembers$','hovered','values','defineProperty','generateRandomId','_initStatusListener','pipe','getWorkbookSelections','_init','_render','RECV','onlineStatus','includes','onSendChangeset','sessionStatus$','_members','[SyncedState]:\x20received\x20acknowledgement.','_getLoginPath','COMPRESS_MUTATION_SEND','getColor','json','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_initCommandExecutedListener','Disposable','SHOULD_CLOSE_CONN','some','_urlService','ALREADY_EXISTS','changesets','image/jpeg','setParam','className','startsWith','VIEW_MAIN','INGEST','_redoStacks','375576aNoxTY','_status$','M0\x200H16V16H0z','data','_socket','merge','fetching\x20missing\x20changesets\x20from\x20','pushState','Rect','subscribeEvent','getUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_disabled','unshift','_initStatusComponent','_ws','saveOfflineData','getAncestorScale','_sessions','socketService','_updateCollabCursors','_createInitialStateImpl','target','getOwnPropertySymbols','[OfflineState]:\x20received\x20acknowledgement.','requireSession','min','status','_telemetryService','LICENSE_DISTRO_REJECTED','Vector2','_startDocCollabCursor','ImageSourceType','add','[CollaborationSession]','getRenderById','_socketService','_getAPIPrefixPath','UserManagerService','_clearTimeoutTimer','@univerjs/drawing','setCurrentUser','_collaborationController','react','448884msqERT','_handleLeaveEvent','newCsEvent','useDependency','parseChangesetToProtocol','onTransformIME','isTransformMutationFailure','FileId','create','confirm','useRef','_awaitingChangeset','Optional','userID','rgba(255,\x20255,\x20255,\x200.01)','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_handleHeartbeatEvent','toDisposable','pluginName','OFFLINE','url(#on-line-single_clip0_910_349)','getCellPositionByOffset','subscribe','EmptyMutation','open$','_lastPointer','SheetsSelectionsService','COMPLETION_FINISHED','unitId\x20is\x20not\x20found','univer-pro.collaboration-client-socket-service','_getSnapshotAPIPrefix','getCurrentSelections','attrs','offline','close$','[OfflineState]:\x20received\x20rejection.','getMemberID','@univerjs/docs','_onUserLeave','_listenToOnlineEvent','_event$','collabCursorState$','&assign=','ICollaborationSocketService','transformChangesets','pending','IConfigService','send','_colorIndex','ERROR_EXCEED_SIZE','[PendingState]:\x20received\x20acknowledgement.','_compressMutationService','_substituteUndoStack','getRelativeToViewportCoord','_selfUnitIDs','_acknowledgedAwaitingChangeset','isTransformMutationsWithChangesetFailure','then','editing\x20status\x20changed\x20to','use','SNAPSHOT_SERVER_URL_KEY','HTTPService','BASE64','collabStatus.conflict','_colorAssignService','_onCombEvent','addObjects','IUniverInstanceService','UNKNOWN_CMD','combineLatest','addEventListener','registerHTTPInterceptor','SUCCUSS','routeKey','_state','\x20to\x20','updateCollaborator','_cachedData','_scheduleClearOtherTimer','UniverDrawing','HEARTBEAT_TIMEOUT_KEY','b64DecodeUnicode','MSG_FOR_ERROR','getUnitType','roomInfos','_syncEditingCollabCursorService','transformIMECache','collabStatus.notCollab','length','resourceIDs','_transformPreviousActiveRange','BehaviorSubject','_updateStatus','has','COLLAB_SUBMIT_CHANGESET_URL_KEY','_onCursorUpdate','_localeService','ACTIVE_UNIT_EVENT_CHANNEL','unsubscribe','lineTo','baseRev','colorChannel1','storage','ImageUploadStatusType','_sheetTransformSelectionsService','socket$','_onRemoteRejected','_startCollaboration','_clearOtherTimers','HEARTBEAT_INTERVAL_KEY','doc.mutation.rich-text-editing','isInternalEditorID','_removeCollabCursors','update','revision','getItem','change$','FromArray','registerOnClose','collaboration.single-unit.warning','RETRY_CONNECTING_MAX_COUNT','translate(.97)','_type','onPointerMove$','clearTimeout','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','result','roles','_waitForHeartbeatResponse','enableOfflineEditing','UniverSheetsUi','SheetCollaborationEntity','font','_onUserJoin','setActiveRange','pauseCollaboration','_logService','_updateState','black','catch','_sendingTimer','getFocusedUnit','getActiveRange','univer-online-status','IMessageService','_docSkeletonManagerService','moveTo','online','_sendHeartbeatTimer','onPointerLeave$','Rectangle','_incrementRevisionNumber','handleIRemoveRow','UniverInstanceType','addObject','_initResize','_sheetSkeletonManagerService','_registerDependencies','NOT_COLLAB','LICENSE_MAX_UNITS_EXCEEDED','isValidRectRange','USERS_ENTER','createSocket','UPDATE_CURSOR','labelPosition','DisposableCollection','collabStatus.offline','RemoveColCommandId','[CollaborationSessionService]','restore','_unlockTransition','subUnitId','DependentOn','string','122088vLRsCO','joinEvent','subunit','JOINING','reverse','LocalCacheService','collaMsg','_onOffline','InsertRangeMoveRightCommandId','UPDATE_PERMISSION_OBJ','collaboration-client.config','_transformSelections','SheetCollabCursorShape','findNodePositionByCharIndex','UnitSnapshot','ONLINE','/universer-api/stream/file/upload','[PendingState]:\x20received\x20rejection.','focused$','createIdentifier','fetchMiss','_saveCache','_applyRemoteChangeset','error$','updateMember','0\x200\x2017\x2016','getUnitStatus$','_cursorShapes','COMMENT_UPDATE','serializeCombRequest','_clearScheduledTask','IHTTPImplementation','onload','fetchThroughInterceptors','reduce','AUTHZ_URL_KEY','round','_queuedRemoteChangesets','_cursor','disableLocalCache','_docTransformSelectionsService','listCollaborators','initWorkbookPermissionChange','_context','fillText','Error\x20on\x20receiving\x20event','Univer','[CollaborationUndoRedoService]','YUUMI_UNABLE_LOAD_URL','defIds','DocIMEInputManagerService','USERS_LEAVE','getCollabEntity','mapDocumentTypeToUniverType','SYNCED','Unknown\x20user','[CollaborationState]:\x20apply\x20error!','collaboration-client.offline-data-not-saved','substring','_handleHover','1610GPfhBp','handleMoveRange','/object','_permissionService','unit','capture','_telemetryInfo','XHRHTTPImplementation','RETRY_CONNECTING_MAX_COUNT_KEY','take','updatePermissionObjEvent','memberID','_onConnectionFailed','2mSzcaG','_roomMembers','registerRenderModule','\x20in\x20_schedule.','fillStyle','/object/','getDocRanges','every','DesktopCollaborationStatusDisplayController','_loadDoc','RETRY_CONNECTING_INTERVAL','AWAITING','currentColor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_state$','LICENSE_EXPORT_SIZE_EXCEEDED','UNDEFINED','_retryCount','_docStateChangeManagerService','RefRangeService','LEAVE','getValue','startRow','sessionStatus','on-line-single_clip0_910_349','UniverSheets','concatMap','_sendHeartbeat','prototype','FETCH_MISSING','objectID','ImageIoService','post','@univerjs/docs-ui','size','cursorInfo$','toString','takeUntil','textRanges','propertyIsEnumerable','dispose','_HTTPService','ICommandService','random','DeleteRangeMoveUpCommandId','_socket$','\x0aAfter:\x20','3948065UacEEo','IAuthzIoService','transformUndoRedo','operators','15CUiEuj','_onRemoteACK','originalMeta','[CollaborationEntity]','InsertColCommandId','UnitEmbedded','_shapes','enableSingleActiveInstanceLock','getParam','UNRECOGNIZED','getImage','ISnapshotServerService','_online','snapshot','incrementRevForDocument','setConfig','MessageType','_remoteChangesetQueue','onRemoteChangeset','_injector','collab-rect-range-','_executeRemoteChangeset','SnapshotServerOverHTTPService','_removeRoom','isTransformMutationsWithChangesetSuccess','div','xlink:href','@univerjs/engine-render','_pendingMutations','map','startTime','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_handleJoinEvent','APPLY_PERMISSION_DENIED','telemetry\x20info\x20is\x20not\x20initialized','_replayCachedMutations','OTHER_CLIENTS_EDITING','_getScale','...','unknown','sequenceExecute','SheetPermissionInitController','submit\x20changeset\x20error!','getRangePointData','_snapshotServerService','leaveEvent','onCommandExecuted','onMouseMove','saveSheetBlock','IBeforeCloseService','_tryEnsureSocket','_onLocalMutation','_unitStatus','roomMembers','unitID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_entityInit$','_transitionLocked','loadOfflineData','@univerjs/network','UniverCollaborationPlugin','setAlpha','FETCH_MISS','_updateSubUnitFromURLParams','getSheetObject','/block/','getCollabCursors$','responseType','object','useCallback','registerBeforeClose','\x20-\x20','loadSheet','appendMutation','_getMergeRange','_getRedoStack','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/fetchmissing?from=','conflict.title','ranges','SUBMIT_CHANGESET','clsx','createCollaborator','/resources','debounceTime','VIEWPORT_KEY','onMissedChangesetFetched','_retryConnectingTimer','_refRangeService','href','Inject','show','synced','NO_OTHER_CLIENTS_EDITING','eventID','COLORS','clearInterval','color','_getSheetObject','_revisionService','collaboration-session-retry','none','set','_cursors','LifecycleStages','displayName','_entities','Error','onStarting','_draw','/universer-api/comb','ERROR_IMAGE','_color','socket\x20close','current','getTime','onlineStatusTitle','CommandType','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_anchor','deepClone','endRow','ws://127.0.0.1:8000/universer-api/comb/connect','_imageSourceCache','updateOfflineData','duration','syncEditingCollabCursor','objectActions','collaboration_new_changeset','getConfig','Shape','getCoordByCell','call','_tryReconnect','getCurrentUser','UNIVER_PROJECT','_checkMissing','isActive','getCollabEntity$','editingUnit','IImageIoService','UniverDocs','onSyncEditingCollabCursor','IRenderManagerService','_replaceFileID','sheets','conflict','IUIPartsService','key','name','makeDirty','_singleActiveUnitService','_createInitialState','_drawRectRange','EXCHANGE_SIGN_URL_SERVER_URL_KEY','SEND_CHANGESET_TIMEOUT_KEY','getResourcesRequest','_rescheduleHeartbeat','21gXWULM','engine','LOGIN_URL_KEY','UniverUi','ILocalStorageService','_removeClearOtherTimer','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','jiqing500','EffectRefRangId','trim','APPLY_NON_SEQUENTIAL_REVISION','tag','permissionRejEvent','_submitChangeset','SetWorksheetActivateCommand','_updateLocalCache','slice','closeSession','blue400','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','icon','_listenToOfflineEvent','ThresholdInterceptorFactory','130lDfShP','getMergeData','HELLO','onRemoteAck','permission.title','APPLY_REVISION_CONFILICT','univer-online-status-icon','arc','_transformUndoredo','@univerjs/ui','_shouldReportTelemetry','@univerjs/engine-formula','onPointerEnter$','_substituteRedoStack','commentUpdate$','[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.','patch','delete','onlyLocal','replaceTextRanges','_socketReady','file','body','isPermissionRej','_syncEditingCollabCursor','_messageService','off-line-single','WebURLService','_hover','UNAUTHENTICATED','saveImage','DocStateChangeManagerService','_fetchMissChangesets','_docTransformIMECacheService','_handler','height','session.will-retry','getViewport','_toggleOffline','forwardRef','@univerjs/sheets-ui','#fff','liveShareNewHost','awaitingChangeset','/universer-api/oidc/authpage','encode','onMissingChangesets','_httpService','_id','univer-pro.collaboration-client.single-active-unit-service','CHANGESET_ACK','list','toggleOnline','_sessionStatus$','getSkeleton','PSEUDO_FETCH_MISSING_RESULT','PERMISSION_DENIED','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','OnLifecycle','_docSkeleton','location','flatMap','removeParam','find','Starting','path','LIVESHARE_REQUEST_HOST','/role','[CollaborationSessionService]:\x20socket\x20error','_toggleOnline','_eventUnsubscribe','_labelPosition','getRoom','LICENSE_IMPORT_SIZE_EXCEEDED','saveSnapshot','univer-offline','selections','loadDoc','TEXT_RANGE_LAYER_INDEX','UNIVER_DOC','_onMessage','_send','_scene','_scheduleSaving','permission.content','WorkbookEditablePermission','width','append','_collabSessionService','setShapeProps','handleDeleteRangeMoveLeft','stopTime','UniverRpc','getUndoRedoMutationParamsCache','_collabCursorController','rxjs/operators','history','fromCollab','handleInsertRow','joinRsp','action','hasOwnProperty','mutations','drawWith','skeleton','init','_cursorInfo$','_unitOnClients','handleInsertRangeMoveDown'];_0xd8ee=function(){return _0x2b9b28;};return _0xd8ee();}
|
1
|
+
function _0x34c4(){const _0x30feab=['CollaborationEntity','function','row','_snapshotServerService','post','registerBeforeClose','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CommentService','submit\x20changeset\x20error!','collabCursorState$','SEND_CHANGESET_TIMEOUT_KEY','getParam','_acknowledgedAwaitingChangeset','_substituteRedoStack','getColor','_setupBeforeClosingHandler','endRow','addObjects','createCollaborator','downloadEndpointUrl','c2Prime','icon','@univerjs/sheets-ui','permission.content','IMessageService','_getSnapshotAPIPrefix','_entities','initWorkbookPermissionChange','_change$','distinctUntilChanged','UniverInstanceType','ITransformService','SNAPSHOT_SERVER_URL_KEY','onTransformIME','useObservable','addObject','_anchorDot','_transitionLocked','ILogService','_showConflictNotification','ws://127.0.0.1:8000/universer-api/comb/connect','Undefined','backgroundColor','apply','_cursorInfo$','session.connection-failed','_substituteUndoStack','HEADER_MENU','cursorInfo$','\x20in\x20_schedule.','show','CollaborationSession','findNodePositionByCharIndex','DeleteRangeMoveUpCommandId','getCellPositionByOffset','_unitID','_permissionService','RevisionService','/universer-api/file/{fileID}/sign-url','batchAllowed','defs','IConfigService','_members','ICollaborationSocketService','IRenderManagerService','saveOfflineData','Unknown\x20user','/universer-api/authz','_configService','history','isArray','onRemoteChangeset','updateMember','&assign=','Inject','_updateCollabCursors','DataLoaderController','IUndoRedoService','_getLoginPath','textRanges','_clearTimeoutTimer','removeMember','_loadDoc','eventID','handleInsertCol','includes','subUnitId','_undoStacks','toString','HEARTBEAT_TIMEOUT_KEY','_syncEditingCollabCursorService','BehaviorSubject','onStateChange','DesktopCollaborationStatusDisplayController','Subject','_scheduleHeartbeat','transformByState','Rectangle','column','deserializeToCombResponse','ISnapshotServerService','registerRenderModule','getUnitOnRev','failed\x20to\x20apply\x20missed\x20changesets!','setCurrentUser','Module','div','method','split','4910801DxafBD','_updateLocalCache','_rescheduleHeartbeat','&to=','AuthzIoHttpService','getActiveSheet','transformUndoRedo','[CollaborationEntity]','UNIVER_SHEET','_replaceFileID','_clearUndo','activeSheet$','_initStatusComponent','INVALID_ARGUMENT','listCollaborators','open$','add','requireSession','disableLocalCache','_updateStatus','headers','patch','React','_registerDependencies','_hideTimer','popstate','_awaitingChangeset','awaiting','enableAuthServer','_applyRemoteChangeset','Rect','_docTransformIMECacheService','withCredentials','APPLY_NON_SEQUENTIAL_REVISION','string','/rev/','removeEventListener','@univerjs/docs-ui','getConfig','Starting','setActiveRange','setItem','RETRY_CONNECTING_INTERVAL_KEY','CONFLICT','getRelativeToViewportCoord','call','objectActions','slice','Injector','_socket','onlyLocal','clear','/allowed','delay','XHRHTTPImplementation','RxDisposable','ALREADY_EXISTS','getFocusedUnit','HELLO','CONNECTOR_DATA_TOO_LARGE','?url=','NOT_FOUND','_exhaustRemoteChangesetQueue','session.room-full','COLLAB_SUBMIT_CHANGESET_URL_KEY','encodeURIComponent','\x20to\x20','measureText','_hover','actions','_revisionService','_getAnchorBounding','1828800qlrJIQ','_shapes','[OfflineState]:\x20received\x20changeset.','@univerjs/design','concatMap','MSG_FOR_ERROR','synced','online','getDocRanges','storage','InsertRangeMoveRightCommandId','UniverEngineFormula','_instanceService','objectType','[SyncedState]:\x20received\x20rejection.','_startCollaboration','getCurrentRevOfUnit','PENDING','RefRangeService','_send','@univerjs/ui','newValue','map','_registerRenderDependencies','getItem','incrementRevOfUnit','_getSignURL','_cachedData','[OfflineState]:\x20received\x20rejection.','handleIRemoveRow','_commentUpdate$','_updateURLWithCurrentState','_initMergeInterceptor','transformChangesets','_localCacheService','_joinRoom','_replayCachedMutations','forwardRef','JOINING','setConfig','/universer-api/comb','getSheetId','_type','BASE64','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_singleActiveUnitService','_hovered','@univerjs-pro/collaboration','change$','_disableEditing','subscribe','getCollabEntity','_setupSubUnitSync','4mWswUo','moveTo','[UniverCollaborationClientPlugin]','_transformIMECache','transformMutationsWithChangeset','_colorAssignService','getActiveRange','[CollaborationSessionService]','defIds','@univerjs/drawing','session.collaboration-timeout','className','_removeCollabCursors','_onRemoteChangeset','setAlpha','symbol','_uiPartsService','YUUMI_URL_COL_OUT_OF_RANGE','COLLAB_WEB_SOCKET_URL','saveImage','handleDeleteRangeMoveUp','_scheduleTimestamp','_commentService','_selfUnitIDs','WebSocketService','useRef','c1Prime','_httpService','fetch_missing','#FFF','COMPRESS_MUTATION_SEND','addImageSourceCache','_handleHeartbeatEvent','SetWorksheetActivateCommand','forEach','override','625647ABVfjY','COMPRESS_MUTATION_APPLY','createElement','close$','_onCursorDelete','some','isTransformMutationFailure','_drawRectRange','UNIVER_SLIDE','toggleOffline','closePath','_incrementRevisionNumber','originalMeta','getUnhiddenWorksheets','joinRsp','conflict.content','CHANGESET_REJ','OTHER_CLIENTS_EDITING','_onJoinRoomEvent','_session','_getUndoStack','_eventUnsubscribe','updatePermissionObjEvent','[DataLoaderController]','_textBubble','parse','onStarting','black','_timeoutTimer','message$','{fileID}','NO_OTHER_CLIENTS_EDITING','univer-online-status-title','_initStatusListener','_sendHeartbeat','_unitOnClients','status','Tools','_waitCount','onlineStatusTitle','getCurrent','Plugin','SheetCollaborationEntity','defineProperty','SNAPSHOT_HAS_BEEN_REMOVED','members','PERMISSION_DENIED','contains','range','ACTIVE_UNIT_EVENT_CHANNEL','Optional','roomInfos','M0\x200H16V16H0z','hide','_handleHover','translate(.97)','svg','replaceState','reject','_init','getOwnPropertySymbols','collabStatus.syncing','_onConnectionOpen','_candidateSocket','merge','getSheetBySheetId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','disposeWithMe','LIVESHARE_TERMINATE','univer-online','_id','_syncEditingCollabCursor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','entries','_removeClearOtherTimer','_transformPreviousActiveRange','fetching\x20missing\x20changesets\x20from\x20','LIVESHARE_REQUEST_HOST','setUndoRedoMutationParamsCache','SheetsSelectionsService','_transformService','_createSocket','ColorKit','colorChannel1','arc','MessageType','_decreaseWaiting','isPermissionRej','RECV','collaMsg','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','key','IUIPartsService','data','COLLAB_WEB_SOCKET_URL_KEY','onlineStatusIcon','assignAColorForMemberID','searchParams','_scheduleClearOtherTimer','getWorkbookSelections','@univerjs/network','UniverUi','LocalCacheService','addEventListener','length','_getDownloadEndpointURL','unitID','_schedule','find','UniverSheetsUi','_online','AWAITING_WITH_PENDING','_getUploadFileURL','resourceIDs','ImageIoService','baseRev','Warning','fetchMiss','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','m2Prime','CollaborationStatusDisplay','collaboratorID','_ws','startsWith','lineTo','currentSkeleton$','propertyIsEnumerable','create','Ready','verdancy600','color','IPermissionService','RETRY_CONNECTING_INTERVAL','loadOfflineData','mapDocumentTypeToUniverType','_onConflict','[CollaborationUndoRedoService]','_loadSheet','Steady','currentColor','UNDEFINED','_transformRemoteChangesetByIMECache','624400ibyXjZ','commentUpdateEvent','transform','_collabCursorController','LOCAL_CACHE_INTERVAL','[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.','revision','_scheduleCollaborationTimeoutTimer','beginPath','_onUserLeave','uni.network.url-service','extend','sessionStatus','_snapshotService','with','_collaborationSessionService','CollaborationController','json','compose','UPDATE_PERMISSION_OBJ','_color','clearTimeout','_initCommandExecutedListener','labelPosition','isTransformChangesetsSuccess','onMissedChangesetFetched','tag','UniverCollaborationClient','_lastPointer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ITelemetryService','getCollabCursors$','from','_sendingTimer','updateCursorEvent','unknown','SUBMIT_CHANGESET','onMissingChangesets','exhaustSavingTask','isTransformMutationsWithChangesetFailure','objectID','resolve','Disposable','getMemberID','fetchThroughInterceptors','NOT_COLLAB','unsubscribe','_unitStatus','enableSingleActiveInstanceLock','collaboration-session-retry','pluginName','_docSkeletonManagerService','setParam','_renderManagerService','IContextService','_getCtorByUniverType','SHOULD_CLOSE_CONN','LEAVE','exports','hasOwnProperty','_cursors','CollaborationSessionService','...','AUTHZ_URL_KEY','_tryEnsureSocket','transformIMECache','size','duration','save','debounce','workbook','fillStyle','children','CommandType','interceptor','UniverNetwork','drawWith','getUnit','/universer-api/snapshot/','getTime','permissionRejEvent','EmptyMutation','collab-text-range-','body','_onRemoteRejected','has','getVpScrollXYInfoByPosToVp','type','updatePermissionPoint','collabStatus.synced','_sendHeartbeatTimer','ThemeService','filter','_throwTelemetryCollaborationNewChangeset','MUTATION','toDisposable','handleInsertRow','_userManagerService','IDLE','_imageSourceCache','UNKNOWN_CMD','_entityInit$','focused$','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','FileId','width','toggleOnline','0\x200\x2017\x2016','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_MAX_UNITS_EXCEEDED','_onConnectionFailed','LOCAL_CACHE_INTERVAL_KEY','substring','red300','180yKRaYN','getAncestorScale','error$','permission.title','FETCH_MISS','image/gif','doc.mutation.rich-text-editing','SheetSkeletonManagerService','offline','setShapeProps','none','parseProtocolChangeset','_listenToOnlineEvent','encode','_transformUndoRedoStack','onload','getMember','_clearHeartbeatTimer','pauseCollaboration','CollaborationEvent','_transformStack','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','shareReplay','InsertRangeMoveDownCommandId','roomMembers$','fetchMissingChangesets','COLORS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','url(#off-line-single_clip0_910_343)','unshift','_createInitialStateImpl','1783602yAoRNI','_toggleOnline','result','get','responseType','IRemoteInstanceService','_getRedoStack','MoveRangeCommandId','fill','_name','disposeUnit','_draw','_onMessage','USERS_ENTER','subscribeEvent','_context','allowed','INGEST','getUnitId','delete','@univerjs/core','bottom','_univerInstanceService','RegularPolygon','isInternalEditorID','image/jpg','_localStorageService','IURLService','_cursor','handleInsertRangeMoveRight','_onOffline','getMergeData','onMouseMove','@univerjs/sheets','UniverEngineRender','syncEditingCollabCursor','onRemoteAck','JOIN','BuiltInUIPart','startColumn','_assignedColors','onCommentUpdate','getCurrentUser','idSuffix','random','localeService','UniverSheets','_lockTransition','image/jpeg','fillText','_cursorShapes','lodash/debounce','collaboration.single-unit.warning','PERMISSION_REJ','_labelPosition','indexOf','setWaitCount','COMPLETION_FINISHED','_ensureSubject','clsx','url','getCurrentSelections','rev','getSkeleton','memberID','off-line-single_clip0_910_343','UNKNOWN_CODE','prototype','isActive','_telemetryService','POST','endColumn','LifecycleStages','put','action','useDependency','registerRefRange','getSheetObject','fromEvent','/unit/','CHANGESET_ACK','getOwnPropertyDescriptor','onSendChangeset','combineLatest','set','whenReady','OFFLINE','updateOfflineData','_initResize','getTypeOfUnitDisposed$','useCallback','getResourcesRequest','subunit','_getAPIPrefixPath','NodePositionConvertToRectRange','UserManagerService','_updateSubUnitFromURLParams','restore','mergeOverrideWithDependencies','resend','_commandService','dispose','onPointerMove$','DocSelectionManagerService','serializeRangeWithSheet','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','_range','UNRECOGNIZED','_injector','Vector2','executeCommand','refreshPermission','PSEUDO_FETCH_MISSING_RESULT','transformRemoteChangeset','getTypeOfUnitAdded$','_messageService','pushState','text','serializeCombRequest','_executeRemoteChangeset','clearInterval','attrs','LICENSE_EXPORT_SIZE_EXCEEDED','getImage','height','getRangePointData','UPDATE_CURSOR','UnitEmbedded','href','min','IUniverInstanceService','4762ZHdRpS','FETCH_MISSING','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','univer-offline','_shouldReportTelemetry','Workbook','loadDoc','_status$','_handleJoinEvent','_drawTextRange','deepClone','list','HEARTBEAT_INTERVAL','createInstance','_HTTPService','object','_startTelemetryCollaborationNewChangeset','RETRY_CONNECTING_MAX_COUNT_KEY','0\x200\x2016\x2016','_collaborationPaused','/object','target','catch','_initUnitPermissionChange','max','_createInitialState','[CollaborationSessionService]:\x20socket\x20error','_roomMembers','_undoRedoService','ILocalStorageService','AWAITING','connectInjector','UNIVER_DOC','_collaborationController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','OnLifecycle','/object/','getImageSourceCache','/universer-api/oidc/authpage','UniverDesign','setTimeout','ImageUploadStatusType','fillRule','[CollaborationState]:\x20apply\x20error!','connection\x20error','xlink:href','1456065SzaqFi','socket\x20close','IAuthzIoService','[PendingState]:\x20received\x20acknowledgement.','textEncoder','_toggleOffline','RETRY_CONNECTING_MAX_COUNT','amd','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','takeUntil','_startDocCollabCursor','onCommandExecuted','onPointerEnter$','_state$','_getMergeRange','roles','_telemetryInfo','onTransformSelections','sessionStatus$','url(#$1','triggerDblclick','location','_clearScheduledTask','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CollaborationSocketService','debug','_sheetSkeletonManagerService','SnapshotServerOverHTTPService','unitId','isValidRectRange','LOGIN_URL_KEY','gold400','session','UniverCollaborationClientPlugin','HTTPRequest','event$','currentTheme$','collabStatus.notCollab','concat','/-/object/-/batch_allowed','_onRecvEvent','cursorInfo','complete','_isPermissionRej','state$','@univerjs/rpc','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collabStatus.conflict','SetDocZoomRatioOperation','getUndoRedoMutationParamsCache','LIVESHARE_OPERATION','SYNCED','_waitForHeartbeatResponse','fromCollab','closeSession','registerComponent','fromEventSubject','getInterceptPoints','248plOjfB','HttpImport','onTransformRemoteChangesetByIMECache','roomMembers','_transformUndoredo','UniverDrawing','UNIVER_COLLABORATION_CLIENT_PLUGIN','auth.needGotoLoginAlert','_saveTaskMap','YUUMI_UNABLE_LOAD_URL','collaboration_new_changeset','joinEvent','univer-online-status-icon','TEXT_RANGE_LAYER_INDEX','socket\x20open.','_http','_onCursorUpdate','_clearOtherTimers','_state','round','onSyncEditingCollabCursor','createIdentifier','HTTPService','editing\x20status\x20changed\x20to','_tryReconnect','[SyncedState]:\x20received\x20acknowledgement.','rxjs','@univerjs/telemetry','RichTextEditingMutation','/-/object/list','send','now','LIVESHARE_FETCH_OPERATIONS','SnapshotService','_docStateChangeManagerService','/universer-api/snapshot','APPLY_REJECT','_remoteChangesetQueue','state','LIVESHARE_NEW_HOST','not_collab','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unit-cache-','_startSheetCollabCursor','univer-pro.collaboration-client-socket-service','_pendingMutations','_transformSelections','createSocket','CHANGESET_REVISION_CONFILICT','_collabSessionService','use','_render','48HXnYae','getCurrentUnitForType','DocStateChangeManagerService','handleDeleteRangeMoveLeft','liveShareNewHost','NEW_CHANGESETS','displayName','m1Prime','Tooltip','conflict.title','CompressMutationService','_refRangeService','_clearRedo','_socket$','_retryCount','generateRandomId','debounceTime','WebURLService','_onFetchMissResult','evenodd','reverse','_docSyncEditingCollabCursorService','transformStack\x20failed!','_scene','_handleLeaveEvent','onRemoteRej','pipe','error','_compressMutationService','path','onPointerLeave$','TOO_MANY_REQUESTS','#fff','asObservable','DocIMEInputManagerService','session.will-retry','values','SetTextSelectionsOperation','FAIL','_roomMembers$','react','ranges','cmd','SessionStatus','VIEW_MAIN','RemoveRowCommandId','MergeInterceptorFactory','JSONX','_socketMessageSubscription','every','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SNAPSHOT_URL_KEY','_updateState','_document','_drawAnchor','on-line-single_clip0_910_349','getUnitStatus$','editingUnit','_handleEvent','appendMutation','IHTTPImplementation','_refreshCollabCursors','_queuedRemoteChangesets','close','\x0aCurrent:\x20','COMMENT_UPDATE','url(#on-line-single_clip0_910_349)','transformSelections','_docTransformSelectionsService','@univerjs/engine-formula','1em','setInterval','_getScale','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_urlService','makeDirty','Error','_getCurrentRevision','NodePositionConvertToCursor','_colorIndex','_themeService','UNIVER_UNKNOWN','ERROR_IMAGE','_getSheetObject','urlChange$','DocCollaborationEntity','InsertRowCommandId','_socketReady','getOffsetConfig','liveShareOperation','b64DecodeUnicode','transformMutation','awaiting_with_pending','purple300','_onRefRangeChange','registerHTTPInterceptor','dispose$','@univerjs/docs','top','_checkMissing','toRgbString','HttpExport','_sessions','pending','mutations','push','SetSelectionsOperation','sheetId','then','_backgroundColor','removeParam','snapshot','collabStatus.offline','ICommandService','status$','isTransformMutationsWithChangesetSuccess','selection','userID','YUUMI_RATE_OVER_LIMIT','VIEWPORT_KEY','_retryConnectingTimer','_getAPIPrefix','_event$','_initCloseConn','_clearCollaborationTimeoutTimer','/collaborator','newCsEvent','collaboration.closeRoom','_memberService','IBeforeCloseService','_collabCursorState$','_logService','USERS_LEAVE','stringify','getCoordByCell','IImageIoService','_notificationService','reconnect','requestParams','UniverDocsUi','_onCombEvent','_anchor','_beforeCloseService','getRoom','current','_sessionStatus$','_disabled','enableLocalCache','replace','next','_collaborationTimeoutTimer','selections','params','YUUMI_SUBSCRIPTION_NOT_FOUND','deserializeRangeWithSheet','SNAPSHOT_INVALID_SNAPSHOT','_config','_scheduleSaving','skeleton','_heartbeatTimer','stopTime','awaitingChangeset','clipPath','getRenderById','unit','ImageSourceType','WorkbookEditablePermission','startRow','_getSendChangesetTimeout','conflict','_clearLocalCache','UniverCollaboration','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_unlockTransition','image/bmp','code','Shape','routeKey','isEditing','HEARTBEAT_INTERVAL_KEY','getValue','_onLocalMutation','socket$','_getSaveTimeout','take','DocSkeletonManagerService','HEARTBEAT','changesets','UNIVER_PROJECT','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createHandler','_localeService','_socketService','_updateLocalCursor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onUserJoin','_saveCache','resize','assign','sheetID','engine','switchMap','APPLY_PERMISSION_DENIED','_handler','_listenToOfflineEvent','SEND_CHANGESET_TIMEOUT','_stopTelemetryCollaborationNewChangeset','handleInsertRangeMoveDown','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','EffectRefRangId','ONLINE','univerjs-icon\x20univerjs-icon-','UnitSnapshot','_initModules','leaveEvent','/universer-api/stream/file/upload','\x0aAfter:\x20','csAckEvent','_fetchMissChangesets','update','\x20-\x20','LocaleService','name','OnLineSingle','init'];_0x34c4=function(){return _0x30feab;};return _0x34c4();}function _0x437d(_0x114ab1,_0x1214e1){const _0x34c40f=_0x34c4();return _0x437d=function(_0x437d32,_0x30651c){_0x437d32=_0x437d32-0x19c;let _0x16a6f3=_0x34c40f[_0x437d32];return _0x16a6f3;},_0x437d(_0x114ab1,_0x1214e1);}(function(_0x5f8779,_0x553f9c){const _0x20015d=_0x437d,_0x36530e=_0x5f8779();while(!![]){try{const _0x7db874=-parseInt(_0x20015d(0x409))/0x1*(-parseInt(_0x20015d(0x3a1))/0x2)+-parseInt(_0x20015d(0x31e))/0x3*(-parseInt(_0x20015d(0x1da))/0x4)+parseInt(_0x20015d(0x28c))/0x5*(parseInt(_0x20015d(0x43d))/0x6)+-parseInt(_0x20015d(0x58b))/0x7+parseInt(_0x20015d(0x1a5))/0x8+-parseInt(_0x20015d(0x3cf))/0x9+parseInt(_0x20015d(0x2ff))/0xa*(-parseInt(_0x20015d(0x1fe))/0xb);if(_0x7db874===_0x553f9c)break;else _0x36530e['push'](_0x36530e['shift']());}catch(_0x3110ec){_0x36530e['push'](_0x36530e['shift']());}}}(_0x34c4,0x804ec),function(_0x284fd8,_0x14dde8){const _0x4f34e2=_0x437d;typeof exports==_0x4f34e2(0x3b0)&&typeof module<'u'?_0x14dde8(exports,require(_0x4f34e2(0x332)),require(_0x4f34e2(0x423)),require('rxjs/operators'),require(_0x4f34e2(0x1a8)),require('@univerjs/ui'),require('@univerjs/network'),require('@univerjs-pro/collaboration'),require(_0x4f34e2(0x424)),require(_0x4f34e2(0x49e)),require(_0x4f34e2(0x5b0)),require(_0x4f34e2(0x33f)),require('@univerjs/engine-render'),require('@univerjs/drawing'),require(_0x4f34e2(0x482)),require(_0x4f34e2(0x351)),require(_0x4f34e2(0x534)),require(_0x4f34e2(0x465)),require(_0x4f34e2(0x359)),require(_0x4f34e2(0x3fc))):typeof define==_0x4f34e2(0x51f)&&define[_0x4f34e2(0x3d6)]?define([_0x4f34e2(0x2c7),_0x4f34e2(0x332),'rxjs','rxjs/operators','@univerjs/design',_0x4f34e2(0x1b9),_0x4f34e2(0x262),_0x4f34e2(0x1d4),_0x4f34e2(0x424),_0x4f34e2(0x49e),'@univerjs/docs-ui',_0x4f34e2(0x33f),'@univerjs/engine-render',_0x4f34e2(0x1e3),_0x4f34e2(0x482),_0x4f34e2(0x351),_0x4f34e2(0x534),'react',_0x4f34e2(0x359),_0x4f34e2(0x3fc)],_0x14dde8):(_0x284fd8=typeof globalThis<'u'?globalThis:_0x284fd8||self,_0x14dde8(_0x284fd8[_0x4f34e2(0x2a7)]={},_0x284fd8['UniverCore'],_0x284fd8[_0x4f34e2(0x423)],_0x284fd8[_0x4f34e2(0x423)]['operators'],_0x284fd8[_0x4f34e2(0x3c8)],_0x284fd8[_0x4f34e2(0x263)],_0x284fd8[_0x4f34e2(0x2d8)],_0x284fd8[_0x4f34e2(0x4e8)],_0x284fd8['UniverTelemetry'],_0x284fd8['UniverDocs'],_0x284fd8[_0x4f34e2(0x4c8)],_0x284fd8[_0x4f34e2(0x34c)],_0x284fd8[_0x4f34e2(0x340)],_0x284fd8[_0x4f34e2(0x40e)],_0x284fd8[_0x4f34e2(0x1b0)],_0x284fd8['lodash'][_0x4f34e2(0x2d2)],_0x284fd8[_0x4f34e2(0x26b)],_0x284fd8[_0x4f34e2(0x5a1)],_0x284fd8[_0x4f34e2(0x359)],_0x284fd8['UniverRpc']));}(this,function(_0x19e906,_0x22bd76,_0xb468a3,_0x5ac862,_0x5562a6,_0x1b23d2,_0x9bd9f,_0x2cb6ec,_0x5df134,_0x369ae4,_0x3efaf4,_0x38d7d8,_0x3ab0d3,_0x1fbc38,_0x505ad4,_0x113112,_0x945537,_0x2ae23a,_0x1712cf,_0x4dbbff){'use strict';const _0x464faf=_0x437d;var _0x3c27a5=Object[_0x464faf(0x229)],_0x3d975b=(_0x5b2e99,_0x366847,_0x107c41)=>_0x366847 in _0x5b2e99?_0x3c27a5(_0x5b2e99,_0x366847,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x107c41}):_0x5b2e99[_0x366847]=_0x107c41,_0x41b507=(_0xe09e82,_0x1800f4,_0x5c71f2)=>_0x3d975b(_0xe09e82,typeof _0x1800f4!=_0x464faf(0x1e9)?_0x1800f4+'':_0x1800f4,_0x5c71f2);const _0x30cccf=_0x464faf(0x53e),_0xe696b2=_0x464faf(0x42c),_0x407342=_0x464faf(0x470),_0xdd38af=_0x464faf(0x50a),_0x103754=_0x464faf(0x1ec),_0x57987e=_0x464faf(0x546),_0x2e9ff9=_0x464faf(0x3ad),_0x2d9c81='HEARTBEAT_TIMEOUT',_0x470888=_0x464faf(0x282),_0x1a7bc5=_0x464faf(0x3d5),_0x1c42e9=_0x464faf(0x290),_0x384be7='COLLAB_SUBMIT_CHANGESET_URL',_0x16cc0e=_0x464faf(0x1cd),_0x4e8aa6=_0x464faf(0x3ed),_0x283d9c=_0x464faf(0x3c7);var _0x19883d=(_0x527643=>(_0x527643[_0x527643[_0x464faf(0x28a)]=0x0]=_0x464faf(0x28a),_0x527643[_0x527643['OK']=0x1]='OK',_0x527643[_0x527643['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x527643[_0x527643[_0x464faf(0x22c)]=0x3]=_0x464faf(0x22c),_0x527643[_0x527643[_0x464faf(0x5c8)]=0x4]=_0x464faf(0x5c8),_0x527643[_0x527643['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x527643[_0x527643[_0x464faf(0x5c3)]=0x6]=_0x464faf(0x5c3),_0x527643[_0x527643[_0x464faf(0x598)]=0x7]='INVALID_ARGUMENT',_0x527643[_0x527643[_0x464faf(0x45c)]=0x8]=_0x464faf(0x45c),_0x527643[_0x527643[_0x464faf(0x357)]=0x9]=_0x464faf(0x357),_0x527643[_0x527643[_0x464faf(0x439)]=0x1389]=_0x464faf(0x439),_0x527643[_0x527643[_0x464faf(0x4d8)]=0x1771]=_0x464faf(0x4d8),_0x527643[_0x527643[_0x464faf(0x22a)]=0x1772]=_0x464faf(0x22a),_0x527643[_0x527643[_0x464faf(0x42d)]=0x1b59]=_0x464faf(0x42d),_0x527643[_0x527643[_0x464faf(0x5ac)]=0x1b5a]=_0x464faf(0x5ac),_0x527643[_0x527643['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x527643[_0x527643['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x464faf(0x507),_0x527643[_0x527643[_0x464faf(0x5c6)]=0x1f41]=_0x464faf(0x5c6),_0x527643[_0x527643[_0x464faf(0x2fa)]=0x2329]=_0x464faf(0x2fa),_0x527643[_0x527643[_0x464faf(0x3c3)]=0x232a]=_0x464faf(0x3c3),_0x527643[_0x527643['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x527643[_0x527643[_0x464faf(0x398)]=0x232c]=_0x464faf(0x398),_0x527643[_0x527643['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x527643[_0x527643[_0x464faf(0x412)]=0x2711]=_0x464faf(0x412),_0x527643[_0x527643[_0x464faf(0x1eb)]=0x2712]=_0x464faf(0x1eb),_0x527643[_0x527643['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x464faf(0x4b3),_0x527643[_0x527643[_0x464faf(0x4d6)]=0x2714]=_0x464faf(0x4d6),_0x527643[_0x527643['UNRECOGNIZED']=-0x1]=_0x464faf(0x389),_0x527643))(_0x19883d||{}),_0x2341fc=(_0x3cc369=>(_0x3cc369[_0x3cc369[_0x464faf(0x48e)]=0x0]='UNIVER_UNKNOWN',_0x3cc369[_0x3cc369['UNIVER_DOC']=0x1]=_0x464faf(0x3c1),_0x3cc369[_0x3cc369['UNIVER_SHEET']=0x2]=_0x464faf(0x593),_0x3cc369[_0x3cc369[_0x464faf(0x206)]=0x3]='UNIVER_SLIDE',_0x3cc369[_0x3cc369[_0x464faf(0x4f9)]=0x4]=_0x464faf(0x4f9),_0x3cc369[_0x3cc369[_0x464faf(0x389)]=-0x1]=_0x464faf(0x389),_0x3cc369))(_0x2341fc||{}),_0x496bb6=(_0x2cd4ff=>(_0x2cd4ff[_0x2cd4ff[_0x464faf(0x2f1)]=0x0]='UNKNOWN_CMD',_0x2cd4ff[_0x2cd4ff[_0x464faf(0x5c5)]=0x1]='HELLO',_0x2cd4ff[_0x2cd4ff[_0x464faf(0x343)]=0x2]=_0x464faf(0x343),_0x2cd4ff[_0x2cd4ff[_0x464faf(0x2c6)]=0x3]='LEAVE',_0x2cd4ff[_0x2cd4ff[_0x464faf(0x32f)]=0x4]=_0x464faf(0x32f),_0x2cd4ff[_0x2cd4ff[_0x464faf(0x4f7)]=0x5]=_0x464faf(0x4f7),_0x2cd4ff[_0x2cd4ff[_0x464faf(0x256)]=0x6]='RECV',_0x2cd4ff[_0x2cd4ff[_0x464faf(0x389)]=-0x1]=_0x464faf(0x389),_0x2cd4ff))(_0x496bb6||{}),_0xe8e60b=(_0x40eaaa=>(_0x40eaaa[_0x40eaaa[_0x464faf(0x360)]=0x0]=_0x464faf(0x360),_0x40eaaa[_0x40eaaa['OK']=0x1]='OK',_0x40eaaa[_0x40eaaa[_0x464faf(0x463)]=0x2]=_0x464faf(0x463),_0x40eaaa[_0x40eaaa[_0x464faf(0x389)]=-0x1]=_0x464faf(0x389),_0x40eaaa))(_0xe8e60b||{}),_0x373e8a=(_0x496f4c=>(_0x496f4c[_0x496f4c[_0x464faf(0x547)]=0x0]='Undefined',_0x496f4c[_0x496f4c[_0x464faf(0x40a)]=0x1]=_0x464faf(0x40a),_0x496f4c[_0x496f4c[_0x464faf(0x4a2)]=0x2]=_0x464faf(0x4a2),_0x496f4c[_0x496f4c[_0x464faf(0x39d)]=0x3]='UnitEmbedded',_0x496f4c[_0x496f4c[_0x464faf(0x511)]=0x4]='UnitSnapshot',_0x496f4c[_0x496f4c[_0x464faf(0x389)]=-0x1]=_0x464faf(0x389),_0x496f4c))(_0x373e8a||{});function _0x148c3f(_0x14ed1e){const _0x28bc00=_0x464faf;var _0x3dc149,_0x557c91,_0x20f76a,_0x257bf8;const _0x100807=_0x14ed1e[_0x28bc00(0x25b)],_0x73f6d0=JSON[_0x28bc00(0x217)](_0x100807);switch(_0x73f6d0[_0x28bc00(0x467)]){case _0x496bb6[_0x28bc00(0x4f7)]:case _0x496bb6[_0x28bc00(0x5c5)]:{const _0x1ec9c3=_0x73f6d0['infoRsp'];return{..._0x73f6d0,'data':_0x1ec9c3,'cmd':_0x73f6d0[_0x28bc00(0x467)]};}case _0x496bb6['JOIN']:{const _0x57049e=_0x73f6d0[_0x28bc00(0x20c)];return{..._0x73f6d0,'data':_0x57049e,'cmd':_0x73f6d0[_0x28bc00(0x467)]};}case _0x496bb6[_0x28bc00(0x256)]:{const _0x12bc36=_0x73f6d0[_0x28bc00(0x257)];switch(_0x12bc36['eventID']){case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x353)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':(_0x3dc149=_0x12bc36[_0x28bc00(0x2dd)])==null?void 0x0:_0x3dc149['cs']},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x36e)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':(_0x557c91=_0x12bc36[_0x28bc00(0x516)])==null?void 0x0:_0x557c91['cs']},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec['CollaborationEvent'][_0x28bc00(0x442)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':(_0x20f76a=_0x12bc36[_0x28bc00(0x4bb)])==null?void 0x0:_0x20f76a['cs']},'cmd':_0x73f6d0['cmd']};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x20e)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':(_0x257bf8=_0x12bc36['csRejEvent'])==null?void 0x0:_0x257bf8['cs']},'cmd':_0x73f6d0['cmd']};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x39c)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x2af)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)]['USERS_ENTER']:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x414)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x4c1)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x513)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x430)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36['liveShareNewHost']},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x429)]:case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x401)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x496)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x441)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x1aa)]:return{..._0x73f6d0,'data':_0x12bc36,'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec['CollaborationEvent'][_0x28bc00(0x47e)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x28d)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec[_0x28bc00(0x312)][_0x28bc00(0x29f)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36[_0x28bc00(0x214)]},'cmd':_0x73f6d0[_0x28bc00(0x467)]};case _0x2cb6ec['CollaborationEvent'][_0x28bc00(0x2c5)]:return{..._0x73f6d0,'data':{..._0x12bc36,'data':_0x12bc36['shouldCloseConn']},'cmd':_0x73f6d0[_0x28bc00(0x467)]};default:return _0x73f6d0;}}default:return _0x73f6d0;}}function _0x32de58(_0x54965a){const _0x5bcc99=_0x464faf;switch(_0x54965a['cmd']){case _0x496bb6[_0x5bcc99(0x4f7)]:case _0x496bb6['HELLO']:return JSON[_0x5bcc99(0x4c2)]({'cmd':_0x54965a[_0x5bcc99(0x467)],'routeKey':_0x54965a[_0x5bcc99(0x4ee)]});case _0x496bb6[_0x5bcc99(0x32f)]:{let _0x3d8846;switch(_0x54965a[_0x5bcc99(0x25b)]['eventID']){case _0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x39c)]:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)]['UPDATE_CURSOR'],'updateCursorEvent':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x4c1)]:{_0x3d8846={'eventID':_0x2cb6ec['CollaborationEvent'][_0x5bcc99(0x4c1)],'leaveEvent':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)]['USERS_ENTER']:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x32b)],'joinEvent':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x430)]:{_0x3d8846={'eventID':_0x2cb6ec['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x401)]:{_0x3d8846={'eventID':_0x2cb6ec['CollaborationEvent'][_0x5bcc99(0x401)],'liveShareOperation':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)]['LIVESHARE_TERMINATE']:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x242)],'liveShareTerminate':_0x54965a['data'][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)]['LIVESHARE_REQUEST_HOST']:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x24b)],'liveShareRequestHost':_0x54965a[_0x5bcc99(0x25b)][_0x5bcc99(0x25b)]};break;}case _0x2cb6ec[_0x5bcc99(0x312)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3d8846={'eventID':_0x2cb6ec[_0x5bcc99(0x312)][_0x5bcc99(0x429)]};break;}default:_0x3d8846={'eventID':_0x54965a['data'][_0x5bcc99(0x571)]};}return JSON[_0x5bcc99(0x4c2)]({'cmd':_0x54965a[_0x5bcc99(0x467)],'routeKey':_0x54965a[_0x5bcc99(0x4ee)],'collaMsg':_0x3d8846});}case _0x496bb6[_0x5bcc99(0x343)]:return JSON[_0x5bcc99(0x4c2)]({'cmd':_0x54965a[_0x5bcc99(0x467)],'routeKey':_0x54965a[_0x5bcc99(0x4ee)],'joinReq':_0x54965a[_0x5bcc99(0x25b)]});case _0x496bb6[_0x5bcc99(0x2c6)]:return JSON[_0x5bcc99(0x4c2)]({'cmd':_0x54965a[_0x5bcc99(0x467)],'routeKey':_0x54965a['routeKey'],'leaveReq':_0x54965a[_0x5bcc99(0x25b)]});default:throw new Error(_0x5bcc99(0x258));}}var _0x3ce8e5=Object[_0x464faf(0x229)],_0xb783d5=Object[_0x464faf(0x36f)],_0x1286b6=(_0x1a8f08,_0x86665a,_0x1caf69,_0x23f56e)=>{for(var _0x1d09fa=_0x23f56e>0x1?void 0x0:_0x23f56e?_0xb783d5(_0x86665a,_0x1caf69):_0x86665a,_0x49c1d=_0x1a8f08['length']-0x1,_0x3ec458;_0x49c1d>=0x0;_0x49c1d--)(_0x3ec458=_0x1a8f08[_0x49c1d])&&(_0x1d09fa=(_0x23f56e?_0x3ec458(_0x86665a,_0x1caf69,_0x1d09fa):_0x3ec458(_0x1d09fa))||_0x1d09fa);return _0x23f56e&&_0x1d09fa&&_0x3ce8e5(_0x86665a,_0x1caf69,_0x1d09fa),_0x1d09fa;},_0x3b3669=(_0x682306,_0x451b99)=>(_0x4570e8,_0x5694ab)=>_0x451b99(_0x4570e8,_0x5694ab,_0x682306);const _0x393e0b=_0x22bd76[_0x464faf(0x41e)](_0x464faf(0x435));function _0x36dea4(_0x50707b,_0x5a9804,_0x262968){return _0x50707b+'/'+_0x5a9804+'/unit/'+_0x262968+'/new_changes';}_0x19e906['CollaborationSocketService']=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x10676f,_0x4a5693,_0x7cb8ac,_0x416c93,_0x2cfceb){const _0x2c73fb=_0x464faf;super(),this[_0x2c73fb(0x418)]=_0x10676f,this[_0x2c73fb(0x278)]=_0x4a5693,this['_configService']=_0x7cb8ac,this[_0x2c73fb(0x4c0)]=_0x416c93,this[_0x2c73fb(0x521)]=_0x2cfceb;}[_0x464faf(0x438)](_0x17ed37){const _0x31e1e5=_0x464faf,_0x982baf=this[_0x31e1e5(0x278)][_0x31e1e5(0x438)](_0x17ed37);if(!_0x982baf)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3b7423=new _0x22bd76['DisposableCollection'](),_0x5af3e0=new _0xb468a3['Subject']();_0x3b7423[_0x31e1e5(0x59b)](_0x982baf[_0x31e1e5(0x201)]['subscribe'](_0x400f82=>_0x5af3e0[_0x31e1e5(0x4d2)](_0x400f82))),_0x3b7423[_0x31e1e5(0x59b)](_0x22bd76['toDisposable'](()=>_0x5af3e0[_0x31e1e5(0x3f9)]()));const _0x57e1a8=new _0xb468a3[(_0x31e1e5(0x57c))]();_0x3b7423['add'](_0x982baf['error$'][_0x31e1e5(0x1d7)](_0x2e4d2d=>_0x57e1a8[_0x31e1e5(0x4d2)](_0x2e4d2d))),_0x3b7423[_0x31e1e5(0x59b)](_0x22bd76['toDisposable'](()=>_0x57e1a8[_0x31e1e5(0x3f9)]()));const _0x1b56c1=new _0xb468a3[(_0x31e1e5(0x57c))]();_0x3b7423[_0x31e1e5(0x59b)](_0x982baf['message$'][_0x31e1e5(0x1d7)](_0x3b0f86=>{const _0x4f0f7e=_0x31e1e5,_0x7e6357=_0x148c3f(_0x3b0f86);_0x1b56c1[_0x4f0f7e(0x4d2)](_0x7e6357);})),_0x3b7423['add'](_0x22bd76['toDisposable'](()=>_0x1b56c1['complete']()));let _0x386b5d;const _0x85574e=()=>{const _0x42c1ed=_0x31e1e5;_0x57e1a8[_0x42c1ed(0x4d2)](new Event(_0x42c1ed(0x3cd))),_0x5af3e0[_0x42c1ed(0x4d2)](new CloseEvent(_0x42c1ed(0x3cd))),_0x386b5d[_0x42c1ed(0x47c)]();};return _0x386b5d={'memberID':'','close$':_0x5af3e0[_0x31e1e5(0x45e)](),'error$':_0x57e1a8['asObservable'](),'open$':_0x982baf['open$'],'message$':_0x1b56c1[_0x31e1e5(0x45e)](),'send':_0x3649bb=>{const _0x397d6d=_0x31e1e5;if(_0x3649bb[_0x397d6d(0x467)]===_0x496bb6[_0x397d6d(0x32f)]){if(_0x3649bb[_0x397d6d(0x25b)][_0x397d6d(0x571)]===_0x2cb6ec[_0x397d6d(0x312)][_0x397d6d(0x2b1)]){this['_submitChangeset'](_0x386b5d,_0x3649bb[_0x397d6d(0x25b)])[_0x397d6d(0x3b7)](_0x4d584e=>{this['_logService']['error'](_0x4d584e),_0x85574e();});return;}if(_0x3649bb['data'][_0x397d6d(0x571)]===_0x2cb6ec[_0x397d6d(0x312)][_0x397d6d(0x3a2)]){const _0x348d53=_0x3649bb[_0x397d6d(0x25b)];this[_0x397d6d(0x517)](_0x348d53)[_0x397d6d(0x4a9)](_0x3477ce=>{const _0x449bee=_0x397d6d;_0x1b56c1[_0x449bee(0x4d2)]({'cmd':_0x496bb6[_0x449bee(0x256)],'code':_0xe8e60b['OK'],'routeKey':_0x348d53[_0x449bee(0x25b)][_0x449bee(0x268)],'routeType':'','data':{'eventID':_0x2cb6ec[_0x449bee(0x312)][_0x449bee(0x38e)],'data':{'changesets':_0x3477ce}}});})['catch'](_0xf1b50f=>{const _0x3b5331=_0x397d6d;this[_0x3b5331(0x4c0)][_0x3b5331(0x458)](_0xf1b50f),_0x85574e();});return;}}_0x982baf['send'](_0x32de58(_0x3649bb));},'close':()=>{const _0x578b26=_0x31e1e5;_0x982baf[_0x578b26(0x47c)](),_0x3b7423['dispose']();}},_0x386b5d;}async['_submitChangeset'](_0x17779d,_0x2ddc99){const _0x282eef=_0x464faf;var _0x31657d;const {unitType:_0x20d8e3,unitID:_0x21e357,changeset:_0x348987}=_0x2ddc99[_0x282eef(0x25b)],_0x3c830d={'unitID':_0x21e357,'memberID':_0x17779d[_0x282eef(0x35e)],'type':_0x20d8e3,'changeset':_0x2cb6ec['parseChangesetToProtocol'](_0x348987)},_0x35fab4=_0x36dea4((_0x31657d=this[_0x282eef(0x562)][_0x282eef(0x5b1)](_0x384be7))!=null?_0x31657d:_0x16cc0e,_0x20d8e3,_0x21e357);try{await this[_0x282eef(0x418)][_0x282eef(0x522)](_0x35fab4,{'body':_0x3c830d});}catch(_0x277439){throw this['_logService']['error']('[CollaborationSession]',_0x282eef(0x526)),_0x277439;}}async[_0x464faf(0x517)](_0x31d35a){const _0x2710f8=_0x464faf,{unitID:_0x535a84,from:_0x5cc4a4,to:_0xec7bb6,unitType:_0x41be3f}=_0x31d35a[_0x2710f8(0x25b)];return(await this['_snapshotServerService'][_0x2710f8(0x318)]({'metadata':void 0x0},{'unitID':_0x535a84,'type':_0x41be3f,'from':_0x5cc4a4,'to':_0xec7bb6}))[_0x2710f8(0x4f8)];}},_0x19e906[_0x464faf(0x3e7)]=_0x1286b6([_0x3b3669(0x0,_0x22bd76['Inject'](_0x9bd9f[_0x464faf(0x41f)])),_0x3b3669(0x1,_0x22bd76[_0x464faf(0x568)](_0x9bd9f[_0x464faf(0x1f2)])),_0x3b3669(0x2,_0x22bd76['IConfigService']),_0x3b3669(0x3,_0x22bd76[_0x464faf(0x544)]),_0x3b3669(0x4,_0x2cb6ec[_0x464faf(0x582)])],_0x19e906['CollaborationSocketService']);const _0x2d7043=_0x464faf(0x413);function _0x55f51e(_0x11d1cb){const _0x5bbe1b=_0x464faf;return JSON[_0x5bbe1b(0x4c2)](_0x11d1cb)[_0x5bbe1b(0x266)];}class _0x45b3e8{constructor(){const _0xaf384c=_0x464faf;_0x41b507(this,'_commentUpdate$',new _0xb468a3[(_0xaf384c(0x57c))]()),_0x41b507(this,'commentUpdate$',this[_0xaf384c(0x1c3)][_0xaf384c(0x45e)]());}[_0x464faf(0x347)](_0x512793){const _0x1b5254=_0x464faf;this[_0x1b5254(0x1c3)][_0x1b5254(0x4d2)](_0x512793);}}var _0x756a5f=Object['defineProperty'],_0x584b8f=Object[_0x464faf(0x36f)],_0x4b0970=(_0x124044,_0x2de315,_0x14a958,_0x1b1716)=>{const _0x15a0bb=_0x464faf;for(var _0x400375=_0x1b1716>0x1?void 0x0:_0x1b1716?_0x584b8f(_0x2de315,_0x14a958):_0x2de315,_0xae8327=_0x124044[_0x15a0bb(0x266)]-0x1,_0x32bd2c;_0xae8327>=0x0;_0xae8327--)(_0x32bd2c=_0x124044[_0xae8327])&&(_0x400375=(_0x1b1716?_0x32bd2c(_0x2de315,_0x14a958,_0x400375):_0x32bd2c(_0x400375))||_0x400375);return _0x1b1716&&_0x400375&&_0x756a5f(_0x2de315,_0x14a958,_0x400375),_0x400375;},_0x3efa4c=(_0x95505,_0x4c02f0)=>(_0x59746d,_0x5e22ff)=>_0x4c02f0(_0x59746d,_0x5e22ff,_0x95505);let _0x27752c=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x489f1a,_0x3905bd){const _0x2f2875=_0x464faf;super(),_0x41b507(this,'_roomMembers',new Map()),(this[_0x2f2875(0x334)]=_0x489f1a,this[_0x2f2875(0x2ee)]=_0x3905bd,this['disposeWithMe'](_0x22bd76['toDisposable'](_0xb468a3[_0x2f2875(0x23e)](this[_0x2f2875(0x334)][_0x2f2875(0x377)](_0x22bd76[_0x2f2875(0x53c)][_0x2f2875(0x593)])['pipe'](_0x5ac862[_0x2f2875(0x1bb)](_0x2de8cf=>_0x2de8cf[_0x2f2875(0x330)]())),this[_0x2f2875(0x334)][_0x2f2875(0x377)](_0x22bd76[_0x2f2875(0x53c)]['UNIVER_DOC'])['pipe'](_0x5ac862['map'](_0xccab2b=>_0xccab2b[_0x2f2875(0x330)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x22bd76['UniverInstanceType'][_0x2f2875(0x206)])[_0x2f2875(0x457)](_0x5ac862[_0x2f2875(0x1bb)](_0x5b0e0e=>_0x5b0e0e[_0x2f2875(0x330)]())))['subscribe'](_0x22f560=>this['_removeRoom'](_0x22f560)))));}[_0x464faf(0x586)](_0x4ba020){const _0x80f9cc=_0x464faf;this[_0x80f9cc(0x2ee)][_0x80f9cc(0x586)](_0x4ba020);}['getCurrentUser'](){const _0x5ca21e=_0x464faf;return this['_userManagerService'][_0x5ca21e(0x348)]();}[_0x464faf(0x566)](_0x489152,_0x314f3e){const _0x11b388=_0x464faf;let _0x1fe404=this['_roomMembers'][_0x11b388(0x321)](_0x489152);_0x1fe404||(_0x1fe404=new _0x33c102(),this['_roomMembers'][_0x11b388(0x372)](_0x489152,_0x1fe404)),_0x1fe404[_0x11b388(0x566)](_0x314f3e);}['removeMember'](_0x400597,_0x19342b){const _0x30b2fd=_0x464faf,_0x4d4e03=this[_0x30b2fd(0x3bc)][_0x30b2fd(0x321)](_0x400597);_0x4d4e03&&_0x4d4e03['removeMember'](_0x19342b);}[_0x464faf(0x4cc)](_0x520fa1){const _0x17d640=_0x464faf;return this[_0x17d640(0x3bc)]['get'](_0x520fa1);}['getMember'](_0x4f14de,_0xa2704b){const _0x5bf8b7=_0x464faf,_0x36474e=this[_0x5bf8b7(0x3bc)]['get'](_0x4f14de);if(_0x36474e)return _0x36474e[_0x5bf8b7(0x30f)](_0xa2704b);}['_removeRoom'](_0x61d4f7){const _0x253680=_0x464faf,_0x466390=this[_0x253680(0x3bc)][_0x253680(0x321)](_0x61d4f7);_0x466390&&(_0x466390[_0x253680(0x383)](),this[_0x253680(0x3bc)][_0x253680(0x331)](_0x61d4f7));}[_0x464faf(0x383)](){const _0x123ad5=_0x464faf;this[_0x123ad5(0x3bc)][_0x123ad5(0x1fc)](_0x4550b5=>_0x4550b5['dispose']()),this[_0x123ad5(0x3bc)][_0x123ad5(0x5be)]();}};_0x27752c=_0x4b0970([_0x3efa4c(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0x3efa4c(0x1,_0x22bd76['Inject'](_0x22bd76[_0x464faf(0x37d)]))],_0x27752c);class _0x33c102 extends _0x22bd76[_0x464faf(0x2b7)]{constructor(){const _0x1ccf68=_0x464faf;super(...arguments),_0x41b507(this,_0x1ccf68(0x55c),new Map());}[_0x464faf(0x383)](){this['_members']['clear']();}[_0x464faf(0x566)](_0x3dfe38){const _0x2b24b7=_0x464faf;this[_0x2b24b7(0x55c)][_0x2b24b7(0x372)](_0x3dfe38['memberID'],_0x3dfe38);}['removeMember'](_0x73c55a){const _0xbfa488=_0x464faf;this[_0xbfa488(0x55c)][_0xbfa488(0x331)](_0x73c55a);}[_0x464faf(0x30f)](_0x64de49){const _0x303fe2=_0x464faf;return this['_members'][_0x303fe2(0x321)](_0x64de49);}}var _0x1b9610=Object['defineProperty'],_0xc3f3b6=Object[_0x464faf(0x36f)],_0xa3db46=(_0x2f9623,_0x18e22a,_0x167830,_0x5662b4)=>{const _0x52fed4=_0x464faf;for(var _0x18258e=_0x5662b4>0x1?void 0x0:_0x5662b4?_0xc3f3b6(_0x18e22a,_0x167830):_0x18e22a,_0x1ae170=_0x2f9623[_0x52fed4(0x266)]-0x1,_0x39bf30;_0x1ae170>=0x0;_0x1ae170--)(_0x39bf30=_0x2f9623[_0x1ae170])&&(_0x18258e=(_0x5662b4?_0x39bf30(_0x18e22a,_0x167830,_0x18258e):_0x39bf30(_0x18258e))||_0x18258e);return _0x5662b4&&_0x18258e&&_0x1b9610(_0x18e22a,_0x167830,_0x18258e),_0x18258e;},_0x43e3d3=(_0x126d8b,_0x3fc1b6)=>(_0x5759f1,_0x49be81)=>_0x3fc1b6(_0x5759f1,_0x49be81,_0x126d8b),_0x4d9058=(_0x47931f=>(_0x47931f[_0x47931f['IDLE']=0x0]=_0x464faf(0x2ef),_0x47931f[_0x47931f['JOINING']=0x1]=_0x464faf(0x1cb),_0x47931f[_0x47931f[_0x464faf(0x374)]=0x2]=_0x464faf(0x374),_0x47931f[_0x47931f[_0x464faf(0x50f)]=0x3]=_0x464faf(0x50f),_0x47931f))(_0x4d9058||{});_0x19e906[_0x464faf(0x551)]=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x450a16,_0x23bbc9,_0x3a9d95,_0x4916dc,_0x4ceab7,_0x31aaca,_0xe5dde1,_0x1dcda2,_0x305026,_0x1761e9){const _0x3b3a95=_0x464faf;super(),_0x41b507(this,_0x3b3a95(0x4ce),new _0xb468a3[(_0x3b3a95(0x579))](0x0)),_0x41b507(this,'sessionStatus$',this[_0x3b3a95(0x4ce)][_0x3b3a95(0x45e)]()),_0x41b507(this,_0x3b3a95(0x4b7),new _0xb468a3[(_0x3b3a95(0x57c))]()),_0x41b507(this,_0x3b3a95(0x3f2),this[_0x3b3a95(0x4b7)][_0x3b3a95(0x45e)]()),_0x41b507(this,_0x3b3a95(0x5bc)),_0x41b507(this,'_socketMessageSubscription'),_0x41b507(this,_0x3b3a95(0x4d3)),_0x41b507(this,_0x3b3a95(0x3a5),!0x1),_0x41b507(this,_0x3b3a95(0x3df),null),(this[_0x3b3a95(0x555)]=_0x450a16,this[_0x3b3a95(0x4c0)]=_0x3a9d95,this['_beforeCloseService']=_0x4916dc,this[_0x3b3a95(0x391)]=_0x4ceab7,this[_0x3b3a95(0x562)]=_0x31aaca,this[_0x3b3a95(0x4fc)]=_0xe5dde1,this[_0x3b3a95(0x4bd)]=_0x1dcda2,this[_0x3b3a95(0x1f0)]=_0x305026,this[_0x3b3a95(0x363)]=_0x1761e9,this[_0x3b3a95(0x3a5)]=!!this[_0x3b3a95(0x363)],_0x23bbc9['pipe'](_0xb468a3[_0x3b3a95(0x3d8)](this['dispose$']))[_0x3b3a95(0x1d7)](_0x8db4ec=>{const _0x562dc4=_0x3b3a95;var _0x443a20;typeof _0x8db4ec>'u'||(this[_0x562dc4(0x5bc)]=_0x8db4ec,_0x8db4ec?(this[_0x562dc4(0x1c8)](_0x8db4ec),this[_0x562dc4(0x46d)]=_0x8db4ec[_0x562dc4(0x21b)][_0x562dc4(0x1d7)](_0xbf9250=>{const _0x4752ee=_0x562dc4;_0xbf9250['routeKey']===this[_0x4752ee(0x555)]&&this[_0x4752ee(0x4c9)](_0xbf9250);})):(this[_0x562dc4(0x2ea)](),this[_0x562dc4(0x4ce)][_0x562dc4(0x4d2)](0x2),(_0x443a20=this['_socketMessageSubscription'])==null||_0x443a20[_0x562dc4(0x2bb)](),this[_0x562dc4(0x46d)]=null));}),this['disposeWithMe'](this[_0x3b3a95(0x4cb)]['registerOnClose'](()=>{const _0xfa2c9b=_0x3b3a95;var _0x391d53;(_0x391d53=this[_0xfa2c9b(0x5bc)])==null||_0x391d53['send']({'cmd':_0x496bb6[_0xfa2c9b(0x2c6)],'data':{'roomID':this[_0xfa2c9b(0x555)]}});})));}get[_0x464faf(0x298)](){return this['_sessionStatus$']['getValue']();}[_0x464faf(0x2b8)](){const _0x11bdd7=_0x464faf;var _0x50f83d,_0x1364cb;return(_0x1364cb=(_0x50f83d=this['_socket'])==null?void 0x0:_0x50f83d[_0x11bdd7(0x35e)])!=null?_0x1364cb:null;}['dispose'](){const _0x44dfbb=_0x464faf;super['dispose'](),this[_0x44dfbb(0x49d)][_0x44dfbb(0x4d2)](),this[_0x44dfbb(0x49d)][_0x44dfbb(0x3f9)]();}['close'](){const _0x30f8ba=_0x464faf;var _0x2dd0a1,_0x1c70df;this[_0x30f8ba(0x2ea)](),(_0x2dd0a1=this[_0x30f8ba(0x5bc)])==null||_0x2dd0a1[_0x30f8ba(0x427)]({'cmd':_0x496bb6[_0x30f8ba(0x2c6)],'data':{'roomID':this[_0x30f8ba(0x555)]}}),(_0x1c70df=this['_socket'])==null||_0x1c70df['close'](),this[_0x30f8ba(0x4b7)][_0x30f8ba(0x3f9)](),this[_0x30f8ba(0x4ce)][_0x30f8ba(0x3f9)](),this[_0x30f8ba(0x383)]();}['_onCombEvent'](_0x560421){const _0x44687b=_0x464faf;_0x560421[_0x44687b(0x467)]===_0x496bb6[_0x44687b(0x343)]?this['_onJoinRoomEvent'](_0x560421):_0x560421['cmd']===_0x496bb6['RECV']&&this[_0x44687b(0x3f7)](_0x560421);}[_0x464faf(0x1c8)](_0x141098){const _0x4d3ace=_0x464faf;this[_0x4d3ace(0x4ce)]['next'](0x1),_0x141098['send']({'cmd':_0x496bb6[_0x4d3ace(0x343)],'routeKey':this[_0x4d3ace(0x555)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4d3ace(0x555)]}]}});}[_0x464faf(0x210)](_0x1b7b9b){const _0x3266d4=_0x464faf;var _0x3c09fa;if(_0x1b7b9b[_0x3266d4(0x4ec)]===_0xe8e60b[_0x3266d4(0x463)]){this[_0x3266d4(0x391)]['show']({'type':_0x5562a6['MessageType'][_0x3266d4(0x272)],'content':this[_0x3266d4(0x4fc)]['t'](_0x3266d4(0x19c))}),this[_0x3266d4(0x4ce)][_0x3266d4(0x4d2)](0x2);return;}this[_0x3266d4(0x4ce)]['next'](0x3);const _0x42ae48=(_0x3c09fa=_0x1b7b9b['data'][_0x3266d4(0x231)][this[_0x3266d4(0x555)]])==null?void 0x0:_0x3c09fa[_0x3266d4(0x22b)];_0x42ae48&&_0x42ae48[_0x3266d4(0x1fc)](_0x381232=>this['_memberService'][_0x3266d4(0x566)](this[_0x3266d4(0x555)],_0x381232));}['_onRecvEvent'](_0x1014a7){const _0x43bfbd=_0x464faf;try{const _0x268024=_0x1014a7[_0x43bfbd(0x25b)];switch(_0x268024[_0x43bfbd(0x571)]){case _0x2cb6ec[_0x43bfbd(0x312)]['USERS_ENTER']:this[_0x43bfbd(0x500)](_0x268024),this['_event$']['next'](_0x268024);break;case _0x2cb6ec[_0x43bfbd(0x312)][_0x43bfbd(0x4c1)]:this[_0x43bfbd(0x295)](_0x268024),this[_0x43bfbd(0x4b7)]['next'](_0x268024);break;case _0x2cb6ec[_0x43bfbd(0x312)]['CHANGESET_ACK']:this[_0x43bfbd(0x50b)](),this['_clearCollaborationTimeoutTimer'](),this[_0x43bfbd(0x4b7)][_0x43bfbd(0x4d2)](_0x268024);break;case _0x2cb6ec[_0x43bfbd(0x312)]['MSG_FOR_ERROR']:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x43bfbd(0x4c2)](_0x268024)),this[_0x43bfbd(0x4b7)][_0x43bfbd(0x4d2)](_0x268024);break;case _0x2cb6ec[_0x43bfbd(0x312)][_0x43bfbd(0x47e)]:this[_0x43bfbd(0x1f0)][_0x43bfbd(0x347)](_0x268024[_0x43bfbd(0x25b)]),this['_event$']['next'](_0x268024);break;default:this[_0x43bfbd(0x4b7)][_0x43bfbd(0x4d2)](_0x268024);}}catch(_0x93d8cd){this[_0x43bfbd(0x4c0)]['error'](_0x93d8cd,_0x1014a7);}}[_0x464faf(0x500)](_0x392b96){const _0x1bebfa=_0x464faf;this[_0x1bebfa(0x4bd)][_0x1bebfa(0x566)](this[_0x1bebfa(0x555)],_0x392b96[_0x1bebfa(0x25b)]);}[_0x464faf(0x295)](_0xf7565d){const _0x9536f7=_0x464faf;this['_memberService'][_0x9536f7(0x56f)](this[_0x9536f7(0x555)],_0xf7565d[_0x9536f7(0x25b)]['memberID']);}async[_0x464faf(0x427)](_0x53939a,_0x3dcdab){const _0x595ef9=_0x464faf;if(this[_0x595ef9(0x298)]!==0x3||!this[_0x595ef9(0x5bc)])throw new Error(_0x595ef9(0x4ff));try{_0x53939a[_0x595ef9(0x571)]===_0x2cb6ec[_0x595ef9(0x312)][_0x595ef9(0x2b1)]&&(this[_0x595ef9(0x293)](),this[_0x595ef9(0x3b1)](_0x53939a)),this[_0x595ef9(0x5bc)][_0x595ef9(0x427)]({'cmd':_0x496bb6['INGEST'],'routeKey':_0x3dcdab,'routeType':'','data':_0x53939a});}catch(_0x5281e8){this['_logService'][_0x595ef9(0x458)](_0x5281e8);}}[_0x464faf(0x293)](){const _0x8ec90e=_0x464faf;var _0x193b9e;this[_0x8ec90e(0x4d3)]=window['setTimeout'](()=>{const _0x358176=_0x8ec90e;this[_0x358176(0x4d3)]=null,this['_messageService']['show']({'type':_0x5562a6['MessageType']['Error'],'content':this[_0x358176(0x4fc)]['t'](_0x358176(0x1e4))});},(_0x193b9e=this[_0x8ec90e(0x562)][_0x8ec90e(0x5b1)](_0x2d9c81))!=null?_0x193b9e:0x4e20);}[_0x464faf(0x4b9)](){const _0x11f4dc=_0x464faf;this[_0x11f4dc(0x4d3)]&&(clearTimeout(this[_0x11f4dc(0x4d3)]),this[_0x11f4dc(0x4d3)]=null);}[_0x464faf(0x3b1)](_0x30e3ad){if(!this['_shouldReportTelemetry'])return;const {data:_0x199a9c}=_0x30e3ad,{unitID:_0x587d26,changeset:_0x204033}=_0x199a9c,{mutations:_0x41b0a1,type:_0xd45ac3}=_0x204033;this['_telemetryInfo']={'unitId':_0x587d26,'type':_0xd45ac3,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x55f51e(_0x41b0a1)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x10e6ca=_0x464faf;if(this[_0x10e6ca(0x3a5)]){if(!this[_0x10e6ca(0x3df)]){this[_0x10e6ca(0x4c0)]['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x10e6ca(0x3df)]['stopTime']=performance[_0x10e6ca(0x428)](),this[_0x10e6ca(0x3df)][_0x10e6ca(0x2d0)]=this[_0x10e6ca(0x3df)][_0x10e6ca(0x4dd)]-this[_0x10e6ca(0x3df)]['startTime'],this[_0x10e6ca(0x363)]['capture'](_0x2d7043,this[_0x10e6ca(0x3df)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x3013f1=_0x464faf;this[_0x3013f1(0x3df)]=null;}},_0x19e906[_0x464faf(0x551)]=_0xa3db46([_0x43e3d3(0x2,_0x22bd76[_0x464faf(0x544)]),_0x43e3d3(0x3,_0x1b23d2['IBeforeCloseService']),_0x43e3d3(0x4,_0x1b23d2[_0x464faf(0x536)]),_0x43e3d3(0x5,_0x22bd76['IConfigService']),_0x43e3d3(0x6,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x43e3d3(0x7,_0x22bd76[_0x464faf(0x568)](_0x27752c)),_0x43e3d3(0x8,_0x22bd76['Inject'](_0x45b3e8)),_0x43e3d3(0x9,_0x22bd76['Optional'](_0x5df134[_0x464faf(0x2ab)]))],_0x19e906[_0x464faf(0x551)]);var _0x40435a=Object[_0x464faf(0x229)],_0x5a887d=Object['getOwnPropertyDescriptor'],_0x2c9c78=(_0x5d3a73,_0x1df838,_0x517c2f,_0x41c1f8)=>{const _0x1b8d0a=_0x464faf;for(var _0x215213=_0x41c1f8>0x1?void 0x0:_0x41c1f8?_0x5a887d(_0x1df838,_0x517c2f):_0x1df838,_0x4ac522=_0x5d3a73[_0x1b8d0a(0x266)]-0x1,_0x194c8a;_0x4ac522>=0x0;_0x4ac522--)(_0x194c8a=_0x5d3a73[_0x4ac522])&&(_0x215213=(_0x41c1f8?_0x194c8a(_0x1df838,_0x517c2f,_0x215213):_0x194c8a(_0x215213))||_0x215213);return _0x41c1f8&&_0x215213&&_0x40435a(_0x1df838,_0x517c2f,_0x215213),_0x215213;},_0x2a9f1c=(_0x8f9970,_0x318abc)=>(_0x170ca6,_0x36b2fc)=>_0x318abc(_0x170ca6,_0x36b2fc,_0x8f9970);_0x19e906[_0x464faf(0x2ca)]=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x19c8fd,_0x54f887,_0x1a9a51,_0xae4655,_0x268e64,_0xdcf71c){const _0x5f3915=_0x464faf;super(),_0x41b507(this,_0x5f3915(0x44a),new _0xb468a3[(_0x5f3915(0x579))](void 0x0)),_0x41b507(this,_0x5f3915(0x4f3),this[_0x5f3915(0x44a)][_0x5f3915(0x45e)]()),_0x41b507(this,_0x5f3915(0x23d),null),_0x41b507(this,'_sessions',new Map()),_0x41b507(this,_0x5f3915(0x3a8),new _0xb468a3[(_0x5f3915(0x579))](_0x4d9058[_0x5f3915(0x2ef)])),_0x41b507(this,_0x5f3915(0x4af),this[_0x5f3915(0x3a8)][_0x5f3915(0x45e)]()),_0x41b507(this,'_socketReady',!0x1),_0x41b507(this,_0x5f3915(0x4b5)),_0x41b507(this,_0x5f3915(0x44b),0x0),_0x41b507(this,_0x5f3915(0x2e7)),_0x41b507(this,_0x5f3915(0x21a)),(this[_0x5f3915(0x38a)]=_0x19c8fd,this[_0x5f3915(0x4fc)]=_0x54f887,this[_0x5f3915(0x391)]=_0x1a9a51,this[_0x5f3915(0x4c0)]=_0xae4655,this[_0x5f3915(0x562)]=_0x268e64,this['_socketService']=_0xdcf71c);}get[_0x464faf(0x5bc)](){const _0x740a64=_0x464faf;return this[_0x740a64(0x44a)][_0x740a64(0x4f1)]();}[_0x464faf(0x383)](){const _0x15c402=_0x464faf;super[_0x15c402(0x383)](),this[_0x15c402(0x4a3)][_0x15c402(0x1fc)](_0x2f6bf5=>_0x2f6bf5[_0x15c402(0x383)]()),this[_0x15c402(0x4a3)]['clear'](),this['_status$'][_0x15c402(0x3f9)]();}async[_0x464faf(0x59c)](_0x301993){const _0x3df9fd=_0x464faf;if(this[_0x3df9fd(0x4a3)]['has'](_0x301993))return this[_0x3df9fd(0x4a3)][_0x3df9fd(0x321)](_0x301993);this[_0x3df9fd(0x2cd)]();const _0xe846f0=this[_0x3df9fd(0x38a)][_0x3df9fd(0x3ae)](_0x19e906['CollaborationSession'],_0x301993,this['_socket$'][_0x3df9fd(0x45e)]());return this[_0x3df9fd(0x4a3)][_0x3df9fd(0x372)](_0x301993,_0xe846f0),_0xe846f0;}[_0x464faf(0x405)](_0x2374a5){const _0x83ce86=_0x464faf;var _0x17a274;const _0x59e927=this['_sessions'][_0x83ce86(0x321)](_0x2374a5);_0x59e927&&(this[_0x83ce86(0x4a3)]['delete'](_0x2374a5),_0x59e927['close']()),this['_sessions'][_0x83ce86(0x2cf)]||(_0x17a274=this[_0x83ce86(0x5bc)])==null||_0x17a274[_0x83ce86(0x47c)]();}[_0x464faf(0x4c6)](){const _0xc3360b=_0x464faf;this[_0xc3360b(0x44b)]=0x0,this[_0xc3360b(0x4b5)]!=null&&(clearTimeout(this[_0xc3360b(0x4b5)]),this[_0xc3360b(0x4b5)]=null),this[_0xc3360b(0x421)]();}[_0x464faf(0x24f)](){const _0xe005ad=_0x464faf;var _0x459a86;const _0x390db0=(_0x459a86=this['_configService'][_0xe005ad(0x5b1)](_0x103754))!=null?_0x459a86:_0x57987e,_0x22e76a=this[_0xe005ad(0x4fd)][_0xe005ad(0x438)](_0x390db0);return this[_0xe005ad(0x23d)]=_0x22e76a,_0x22e76a;}[_0x464faf(0x2cd)](){const _0x236241=_0x464faf;var _0x1d02bf,_0x12989a;try{const _0x2f3e47=(_0x12989a=(_0x1d02bf=this['_socket'])!=null?_0x1d02bf:this[_0x236241(0x23d)])!=null?_0x12989a:this[_0x236241(0x24f)]();if(_0x2f3e47){const _0x2e1768=_0x2f3e47[_0x236241(0x427)];_0x2f3e47[_0x236241(0x427)]=_0x4c4080=>(this[_0x236241(0x58d)](),_0x2e1768[_0x236241(0x549)](_0x2f3e47,[_0x4c4080])),_0x2f3e47[_0x236241(0x21b)][_0x236241(0x1d7)](_0x473ada=>this[_0x236241(0x32a)](_0x2f3e47,_0x473ada)),_0x2f3e47[_0x236241(0x301)][_0x236241(0x457)](_0x5ac862[_0x236241(0x4f5)](0x1))[_0x236241(0x1d7)](_0x4679cf=>this[_0x236241(0x4c0)][_0x236241(0x458)](_0x236241(0x3bb),_0x4679cf)),_0x2f3e47[_0x236241(0x59a)][_0x236241(0x457)](_0x5ac862[_0x236241(0x4f5)](0x1))[_0x236241(0x1d7)](()=>{this['_onConnectionOpen'](_0x2f3e47);}),_0x2f3e47[_0x236241(0x201)]['pipe'](_0x5ac862[_0x236241(0x4f5)](0x1))['subscribe'](_0x56ca55=>{const _0x27e6ec=_0x236241;this['_logService'][_0x27e6ec(0x3e8)](_0x27e6ec(0x1e1),_0x27e6ec(0x3d0),_0x56ca55),this[_0x27e6ec(0x2fb)]();});}}catch(_0x14d928){this['_logService'][_0x236241(0x458)](_0x14d928),this[_0x236241(0x2fb)]();}}[_0x464faf(0x23c)](_0x22a4f9){const _0x40afcd=_0x464faf;this[_0x40afcd(0x4c0)][_0x40afcd(0x3e8)](_0x40afcd(0x1e1),_0x40afcd(0x417)),_0x22a4f9['send']({'cmd':_0x496bb6['HELLO']}),this[_0x40afcd(0x58d)](),this[_0x40afcd(0x509)]();}['_listenToOfflineEvent'](){const _0x3d530a=_0x464faf,_0x338e6c=()=>{const _0x4d16b9=_0x437d;this[_0x4d16b9(0x33c)](),this[_0x4d16b9(0x30b)](),window['removeEventListener'](_0x4d16b9(0x307),_0x338e6c);};window['addEventListener'](_0x3d530a(0x307),_0x338e6c);}[_0x464faf(0x33c)](){const _0x2b2971=_0x464faf;this[_0x2b2971(0x494)]=!0x1,this['_status$'][_0x2b2971(0x4d2)](_0x4d9058[_0x2b2971(0x374)]),this[_0x2b2971(0x44a)][_0x2b2971(0x4d2)](null),this[_0x2b2971(0x56e)](),this[_0x2b2971(0x310)]();}[_0x464faf(0x2fb)](){const _0x2a6562=_0x464faf;var _0x30e95d;this[_0x2a6562(0x33c)](),this[_0x2a6562(0x44b)]<((_0x30e95d=this[_0x2a6562(0x562)]['getConfig'](_0x1a7bc5))!=null?_0x30e95d:0x3)?(this['_messageService'][_0x2a6562(0x550)]({'key':_0x2a6562(0x2be),'type':_0x5562a6[_0x2a6562(0x253)]['Warning'],'content':this['_localeService']['t'](_0x2a6562(0x460))}),this[_0x2a6562(0x421)]()):(this[_0x2a6562(0x391)][_0x2a6562(0x550)]({'key':'collaboration-session-retry','type':_0x5562a6[_0x2a6562(0x253)][_0x2a6562(0x489)],'content':this[_0x2a6562(0x4fc)]['t'](_0x2a6562(0x54b))}),this[_0x2a6562(0x30b)]());}[_0x464faf(0x30b)](){const _0x446768=_0x464faf,_0x3be466=()=>{const _0x391379=_0x437d;this[_0x391379(0x4c6)](),window[_0x391379(0x5af)](_0x391379(0x1ac),_0x3be466);};window[_0x446768(0x265)](_0x446768(0x1ac),_0x3be466),this[_0x446768(0x44a)][_0x446768(0x457)](_0x5ac862[_0x446768(0x2e9)](_0x2de4f3=>!!_0x2de4f3),_0x5ac862[_0x446768(0x4f5)](0x1))[_0x446768(0x1d7)](()=>{window['removeEventListener']('online',_0x3be466);});}[_0x464faf(0x421)](){const _0x53e54b=_0x464faf;var _0xebe4ed;const _0x4ec6e5=this[_0x53e54b(0x44b)],_0x14fd68=_0x4ec6e5===0x0?0x0:((_0xebe4ed=this[_0x53e54b(0x562)][_0x53e54b(0x5b1)](_0x470888))!=null?_0xebe4ed:0x4e20)*0x2**_0x4ec6e5;this['_retryConnectingTimer']=window[_0x53e54b(0x3c9)](()=>{const _0x1b3503=_0x53e54b;clearTimeout(this[_0x1b3503(0x4b5)]),this[_0x1b3503(0x4b5)]=null,this[_0x1b3503(0x2cd)]();},_0x14fd68),this[_0x53e54b(0x44b)]+=0x1;}[_0x464faf(0x32a)](_0x549b65,_0x4a891d){const _0x17e5e6=_0x464faf,{cmd:_0x58a6f9}=_0x4a891d;_0x58a6f9===_0x496bb6[_0x17e5e6(0x5c5)]&&!this[_0x17e5e6(0x494)]&&(_0x549b65[_0x17e5e6(0x35e)]=_0x4a891d['data'][_0x17e5e6(0x35e)],this['_socket$'][_0x17e5e6(0x4d2)](_0x549b65),this[_0x17e5e6(0x3a8)][_0x17e5e6(0x4d2)](_0x4d9058[_0x17e5e6(0x50f)]),this[_0x17e5e6(0x494)]=!0x0,this[_0x17e5e6(0x23d)]=null),_0x58a6f9===_0x496bb6[_0x17e5e6(0x4f7)]&&this[_0x17e5e6(0x56e)](),this['_rescheduleHeartbeat']();}[_0x464faf(0x58d)](){const _0x2c031f=_0x464faf;var _0x32fbe0;this[_0x2c031f(0x310)](),this[_0x2c031f(0x2e7)]=window[_0x2c031f(0x3c9)](()=>this[_0x2c031f(0x220)](),(_0x32fbe0=this[_0x2c031f(0x562)][_0x2c031f(0x5b1)](_0x2e9ff9))!=null?_0x32fbe0:0x7530);}['_sendHeartbeat'](){const _0x2064cc=_0x464faf;this[_0x2064cc(0x5bc)][_0x2064cc(0x427)]({'cmd':_0x496bb6[_0x2064cc(0x4f7)]}),this[_0x2064cc(0x403)]();}[_0x464faf(0x403)](){const _0x319573=_0x464faf;var _0x4447df;this[_0x319573(0x21a)]=window[_0x319573(0x3c9)](()=>this['_onConnectionFailed'](),(_0x4447df=this[_0x319573(0x562)][_0x319573(0x5b1)](_0x2d9c81))!=null?_0x4447df:0x4e20);}[_0x464faf(0x310)](){const _0xcf9fd8=_0x464faf;this[_0xcf9fd8(0x2e7)]!=null&&(clearTimeout(this[_0xcf9fd8(0x2e7)]),this[_0xcf9fd8(0x2e7)]=null);}['_clearTimeoutTimer'](){const _0x34038d=_0x464faf;this[_0x34038d(0x21a)]!=null&&(clearTimeout(this[_0x34038d(0x21a)]),this[_0x34038d(0x21a)]=null);}},_0x19e906[_0x464faf(0x2ca)]=_0x2c9c78([_0x2a9f1c(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x2a9f1c(0x1,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x2a9f1c(0x2,_0x1b23d2[_0x464faf(0x536)]),_0x2a9f1c(0x3,_0x22bd76[_0x464faf(0x544)]),_0x2a9f1c(0x4,_0x22bd76['IConfigService']),_0x2a9f1c(0x5,_0x393e0b)],_0x19e906['CollaborationSessionService']);var _0x2ec75f=Object[_0x464faf(0x229)],_0x5941e3=Object[_0x464faf(0x36f)],_0x405d29=(_0x21d2c5,_0x4bf839,_0x2abace,_0x1ac40b)=>{for(var _0x4d8cec=_0x1ac40b>0x1?void 0x0:_0x1ac40b?_0x5941e3(_0x4bf839,_0x2abace):_0x4bf839,_0x4959c4=_0x21d2c5['length']-0x1,_0x42a08e;_0x4959c4>=0x0;_0x4959c4--)(_0x42a08e=_0x21d2c5[_0x4959c4])&&(_0x4d8cec=(_0x1ac40b?_0x42a08e(_0x4bf839,_0x2abace,_0x4d8cec):_0x42a08e(_0x4d8cec))||_0x4d8cec);return _0x1ac40b&&_0x4d8cec&&_0x2ec75f(_0x4bf839,_0x2abace,_0x4d8cec),_0x4d8cec;},_0x1fdec6=(_0x81075,_0x23eefc)=>(_0x179a9f,_0x5c4f4d)=>_0x23eefc(_0x179a9f,_0x5c4f4d,_0x81075);let _0x1ffb94=class{constructor(_0x31c0d9,_0x5c73a5,_0x3d3988){const _0x5f1ef6=_0x464faf;this[_0x5f1ef6(0x38a)]=_0x31c0d9,this[_0x5f1ef6(0x24e)]=_0x5c73a5,this['_renderManagerService']=_0x3d3988;}['transformIMECache'](_0x89af03){const _0x4a89ea=_0x464faf;this[_0x4a89ea(0x30d)](_0x89af03),this[_0x4a89ea(0x249)](_0x89af03);}[_0x464faf(0x38f)](_0x44809a){const _0x3c1c33=_0x464faf,{unitID:_0x106acc}=_0x44809a,_0x10d43f=this[_0x3c1c33(0x2c2)]['getRenderById'](_0x106acc)[_0x3c1c33(0x29a)](_0x3efaf4['DocIMEInputManagerService']),{redoCache:_0x5c1836}=_0x10d43f['getUndoRedoMutationParamsCache']();if(_0x5c1836[_0x3c1c33(0x266)]===0x0)return _0x44809a;let _0x1ea263=_0x22bd76[_0x3c1c33(0x223)][_0x3c1c33(0x3ab)](_0x44809a[_0x3c1c33(0x4a5)][0x0]);for(let _0x1870df=0x0;_0x1870df<_0x5c1836[_0x3c1c33(0x266)];_0x1870df++){const _0x54be49={'id':_0x3c1c33(0x305),'params':{..._0x5c1836[_0x1870df]}},_0x4a2e6c=this[_0x3c1c33(0x24e)][_0x3c1c33(0x498)](_0x1ea263,_0x54be49,!0x1);if(_0x2cb6ec['isTransformMutationFailure'](_0x4a2e6c))throw _0x4a2e6c[_0x3c1c33(0x458)];_0x1ea263=_0x4a2e6c[_0x3c1c33(0x444)];}return{..._0x22bd76[_0x3c1c33(0x223)][_0x3c1c33(0x3ab)](_0x44809a),'mutations':[_0x1ea263]};}[_0x464faf(0x30d)](_0x163f3a){const _0x43ff6c=_0x464faf,{unitID:_0x25b3c0}=_0x163f3a,_0x25e25b=this[_0x43ff6c(0x2c2)]['getRenderById'](_0x25b3c0)['with'](_0x3efaf4['DocIMEInputManagerService']),{undoCache:_0x11f682,redoCache:_0x79c760}=_0x25e25b[_0x43ff6c(0x400)]();if(_0x11f682[_0x43ff6c(0x266)]===0x0||_0x79c760[_0x43ff6c(0x266)]===0x0)return;const _0x436965=[],_0x95046c=[];let _0x4d7250=_0x22bd76[_0x43ff6c(0x223)]['deepClone'](_0x163f3a['mutations'][0x0]),_0x4b0080=_0x22bd76['Tools']['deepClone'](_0x163f3a[_0x43ff6c(0x4a5)][0x0]);for(let _0x5ea463=_0x11f682['length']-0x1;_0x5ea463>=0x0;_0x5ea463--){const _0x3e1d20={'id':_0x43ff6c(0x305),'params':{..._0x11f682[_0x5ea463]}},_0xc04a40={'id':_0x43ff6c(0x305),'params':{..._0x79c760[_0x5ea463]}},_0x301a67=this[_0x43ff6c(0x24e)][_0x43ff6c(0x498)](_0x4d7250,_0x3e1d20,!0x1),_0x126d22=this[_0x43ff6c(0x24e)][_0x43ff6c(0x498)](_0x4b0080,_0xc04a40,!0x1);if(_0x2cb6ec[_0x43ff6c(0x204)](_0x301a67))throw _0x301a67['error'];if(_0x2cb6ec['isTransformMutationFailure'](_0x126d22))throw _0x126d22['error'];_0x436965[_0x43ff6c(0x31c)](_0x301a67[_0x43ff6c(0x275)][_0x43ff6c(0x4d5)]),_0x95046c[_0x43ff6c(0x31c)](_0x126d22[_0x43ff6c(0x275)][_0x43ff6c(0x4d5)]),_0x4d7250=_0x301a67['m1Prime'],_0x4b0080=_0x126d22[_0x43ff6c(0x444)];}_0x25e25b[_0x43ff6c(0x24c)]({'undoCache':_0x436965,'redoCache':_0x95046c});}[_0x464faf(0x249)](_0x327e05){const _0x475430=_0x464faf,{unitID:_0x5048c7}=_0x327e05,_0x2bbb6c=this[_0x475430(0x2c2)][_0x475430(0x4e0)](_0x5048c7)[_0x475430(0x29a)](_0x3efaf4[_0x475430(0x45f)]),_0x43b3da=_0x2bbb6c[_0x475430(0x1e0)]();if(_0x43b3da==null)return;const _0x2e78e9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x327e05['unitID'],'actions':null,'textRanges':[_0x43b3da]}}],_0x3e7f6a=this['_transformService']['transformMutationsWithChangeset'](_0x327e05,_0x2e78e9);if(!_0x2cb6ec[_0x475430(0x4b0)](_0x3e7f6a))throw _0x3e7f6a[_0x475430(0x458)];const _0x51e406=_0x3e7f6a['m2Prime'][0x0][_0x475430(0x4d5)][_0x475430(0x56d)];Array['isArray'](_0x51e406)&&_0x51e406[_0x475430(0x266)]&&_0x2bbb6c[_0x475430(0x5b3)](_0x51e406[0x0]);}};_0x1ffb94=_0x405d29([_0x1fdec6(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x1fdec6(0x1,_0x2cb6ec[_0x464faf(0x53d)]),_0x1fdec6(0x2,_0x3ab0d3[_0x464faf(0x55e)])],_0x1ffb94);var _0x46aef5=Object['defineProperty'],_0x54cb1f=Object[_0x464faf(0x36f)],_0x11b2b5=(_0x37f8bf,_0x2a06ca,_0x325165,_0x7be283)=>{const _0x5738a4=_0x464faf;for(var _0x1c4e83=_0x7be283>0x1?void 0x0:_0x7be283?_0x54cb1f(_0x2a06ca,_0x325165):_0x2a06ca,_0x55db3a=_0x37f8bf[_0x5738a4(0x266)]-0x1,_0x5f158a;_0x55db3a>=0x0;_0x55db3a--)(_0x5f158a=_0x37f8bf[_0x55db3a])&&(_0x1c4e83=(_0x7be283?_0x5f158a(_0x2a06ca,_0x325165,_0x1c4e83):_0x5f158a(_0x1c4e83))||_0x1c4e83);return _0x7be283&&_0x1c4e83&&_0x46aef5(_0x2a06ca,_0x325165,_0x1c4e83),_0x1c4e83;},_0x283770=(_0x1fd50a,_0x8a6ff0)=>(_0x4f69ed,_0x10d47f)=>_0x8a6ff0(_0x4f69ed,_0x10d47f,_0x1fd50a);_0x19e906[_0x464faf(0x264)]=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x1e1864,_0x56a437,_0x384aa4,_0x7c81e3,_0x363c24){const _0x3632df=_0x464faf;super(),_0x41b507(this,_0x3632df(0x1c0),new Map()),_0x41b507(this,_0x3632df(0x411),new Map()),_0x41b507(this,_0x3632df(0x4cf),!0x1),(this[_0x3632df(0x562)]=_0x1e1864,this['_localStorageService']=_0x56a437,this[_0x3632df(0x4cb)]=_0x384aa4,this[_0x3632df(0x4fc)]=_0x7c81e3,this[_0x3632df(0x1a3)]=_0x363c24,this[_0x3632df(0x52d)]());}[_0x464faf(0x59d)](){const _0x1106ef=_0x464faf;this[_0x1106ef(0x4cf)]=!0x0;}[_0x464faf(0x4d0)](){const _0x3684ba=_0x464faf;this[_0x3684ba(0x4cf)]=!0x1;}[_0x464faf(0x383)](){const _0x52fd61=_0x464faf;this[_0x52fd61(0x2b3)]()['then'](()=>super[_0x52fd61(0x383)]());}async[_0x464faf(0x283)](_0xc76952){const _0x22561d=_0x464faf;return this[_0x22561d(0x4cf)]?null:this[_0x22561d(0x338)][_0x22561d(0x1bd)](_0x2283b5(_0xc76952));}async[_0x464faf(0x55f)](_0x484ca4,_0x2fe3e7){const _0x28e1c9=_0x464faf;return!!this[_0x28e1c9(0x338)][_0x28e1c9(0x5b4)](_0x484ca4,_0x2fe3e7);}['updateOfflineData'](_0x36b3f4,_0x1b2337,_0x5b4d46,_0x1595cb){const _0x5b5a3e=_0x464faf,_0x5967f5=this[_0x5b5a3e(0x1a3)][_0x5b5a3e(0x1b5)](_0x36b3f4);this['_cachedData'][_0x5b5a3e(0x372)](_0x36b3f4,{'unitID':_0x36b3f4,'type':_0x1b2337,'awaitingChangeset':_0x5b4d46,'mutations':_0x1595cb,'rev':_0x5967f5}),this[_0x5b5a3e(0x411)]['has'](_0x36b3f4)||this[_0x5b5a3e(0x4da)](_0x36b3f4);}[_0x464faf(0x4da)](_0x4e5043){const _0x543075=_0x464faf,_0x50fc20=this[_0x543075(0x4f4)]();_0x50fc20===0x0?this[_0x543075(0x501)](_0x4e5043):this[_0x543075(0x411)][_0x543075(0x372)](_0x4e5043,setTimeout(()=>this[_0x543075(0x501)](_0x4e5043),_0x50fc20));}[_0x464faf(0x4f4)](){const _0x53af89=_0x464faf;var _0x457d45;return(_0x457d45=this['_configService'][_0x53af89(0x5b1)](_0x1c42e9))!=null?_0x457d45:0x3e8;}[_0x464faf(0x501)](_0x26139f){const _0xa7b83c=_0x464faf,_0x3f59c7=this['_saveTaskMap'][_0xa7b83c(0x321)](_0x26139f);return _0x3f59c7!==void 0x0&&window[_0xa7b83c(0x2a1)](_0x3f59c7),this['_localStorageService'][_0xa7b83c(0x5b4)](_0x2283b5(_0x26139f),this[_0xa7b83c(0x1c0)][_0xa7b83c(0x321)](_0x26139f))[_0xa7b83c(0x4a9)](()=>this[_0xa7b83c(0x411)][_0xa7b83c(0x331)](_0x26139f));}async[_0x464faf(0x2b3)](){const _0x15a89c=_0x464faf,_0x5d42ac=[];this[_0x15a89c(0x411)][_0x15a89c(0x1fc)]((_0x312bcf,_0x4a105f)=>{const _0x13c3a0=_0x15a89c;window[_0x13c3a0(0x2a1)](_0x312bcf),_0x5d42ac['push'](this[_0x13c3a0(0x501)](_0x4a105f)[_0x13c3a0(0x4a9)](()=>{const _0x3de4a4=_0x13c3a0;this[_0x3de4a4(0x411)][_0x3de4a4(0x331)](_0x4a105f);}));}),await Promise['all'](_0x5d42ac);}[_0x464faf(0x52d)](){const _0xa2f94c=_0x464faf;this[_0xa2f94c(0x241)](this[_0xa2f94c(0x4cb)][_0xa2f94c(0x523)](()=>{const _0x268e91=_0xa2f94c;if(this[_0x268e91(0x411)][_0x268e91(0x2cf)])return this[_0x268e91(0x4fc)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x19e906['LocalCacheService']=_0x11b2b5([_0x283770(0x0,_0x22bd76[_0x464faf(0x55b)]),_0x283770(0x1,_0x22bd76[_0x464faf(0x3be)]),_0x283770(0x2,_0x1b23d2[_0x464faf(0x4be)]),_0x283770(0x3,_0x22bd76[_0x464faf(0x568)](_0x22bd76['LocaleService'])),_0x283770(0x4,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)]))],_0x19e906[_0x464faf(0x264)]);function _0x2283b5(_0x32f9a6){const _0x3ec989=_0x464faf;return _0x3ec989(0x433)+_0x32f9a6;}var _0x220a32=Object['defineProperty'],_0x9edee8=Object[_0x464faf(0x36f)],_0x5d1245=(_0x54a0cf,_0x451e96,_0x458339,_0x3b4204)=>{for(var _0x2200a6=_0x3b4204>0x1?void 0x0:_0x3b4204?_0x9edee8(_0x451e96,_0x458339):_0x451e96,_0x3271b4=_0x54a0cf['length']-0x1,_0x36aec5;_0x3271b4>=0x0;_0x3271b4--)(_0x36aec5=_0x54a0cf[_0x3271b4])&&(_0x2200a6=(_0x3b4204?_0x36aec5(_0x451e96,_0x458339,_0x2200a6):_0x36aec5(_0x2200a6))||_0x2200a6);return _0x3b4204&&_0x2200a6&&_0x220a32(_0x451e96,_0x458339,_0x2200a6),_0x2200a6;},_0x4bb8fb=(_0x25ab3f,_0x15cd00)=>(_0x43123b,_0x437241)=>_0x15cd00(_0x43123b,_0x437241,_0x25ab3f);function _0x15614c(_0x3ea101){const _0x5869a8=_0x464faf,{unitID:_0x184f92,mutations:_0x47e780}=_0x3ea101;return{'unitId':_0x184f92,'subUnitId':_0x47e780[0x0][_0x5869a8(0x4d5)][_0x5869a8(0x574)]};}let _0xa1505e=class{constructor(_0x2181ad,_0x5f0c69,_0x9bd889){const _0x1df6a9=_0x464faf;this[_0x1df6a9(0x38a)]=_0x2181ad,this['_transformService']=_0x5f0c69,this[_0x1df6a9(0x1b1)]=_0x9bd889;}[_0x464faf(0x480)](_0xaba96f){const _0x3142e5=_0x464faf;var _0x13a395,_0x30cb3b,_0x4584ae,_0x3db322,_0x2deada;const _0x38cd72=this[_0x3142e5(0x38a)][_0x3142e5(0x321)](_0x38d7d8[_0x3142e5(0x24d)]),{unitId:_0x2bb85c,subUnitId:_0xcd4006}=_0x15614c(_0xaba96f),_0x43a4c0=_0x38cd72[_0x3142e5(0x261)](_0x2bb85c)['getCurrentSelections'](),_0xe0cab6=(_0x30cb3b=(_0x13a395=this[_0x3142e5(0x1b1)][_0x3142e5(0x2da)](_0x2bb85c))==null?void 0x0:_0x13a395[_0x3142e5(0x590)]())==null?void 0x0:_0x30cb3b['getSheetId']();if(_0x43a4c0['length']===0x0||!_0x2bb85c||!_0xcd4006)return;const _0x1c2f62=[{'id':_0x38d7d8[_0x3142e5(0x4a7)]['id'],'params':{'unitId':_0x2bb85c,'subUnitId':_0xe0cab6,'selections':_0x22bd76['Tools'][_0x3142e5(0x3ab)](_0x43a4c0)}}],_0x1a19db=this[_0x3142e5(0x24e)][_0x3142e5(0x1de)](_0xaba96f,_0x1c2f62);if(!_0x2cb6ec[_0x3142e5(0x4b0)](_0x1a19db))throw _0x1a19db[_0x3142e5(0x458)];const _0x22f172=(_0x2deada=(_0x3db322=(_0x4584ae=_0x1a19db[_0x3142e5(0x275)][0x0])==null?void 0x0:_0x4584ae['params'])==null?void 0x0:_0x3db322[_0x3142e5(0x4d4)])!=null?_0x2deada:_0x43a4c0;Array['isArray'](_0x22f172)&&_0x22f172[_0x3142e5(0x266)]&&this[_0x3142e5(0x38a)][_0x3142e5(0x321)](_0x22bd76[_0x3142e5(0x4ae)])[_0x3142e5(0x38c)](_0x38d7d8[_0x3142e5(0x4a7)]['id'],{'unitId':_0x2bb85c,'subUnitId':_0xcd4006,'selections':_0x22f172});}};_0xa1505e=_0x5d1245([_0x4bb8fb(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x4bb8fb(0x1,_0x2cb6ec[_0x464faf(0x53d)]),_0x4bb8fb(0x2,_0x22bd76[_0x464faf(0x3a0)])],_0xa1505e);const _0x4b8af1=_0x22bd76['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x32afde=(_0x402fa9=>(_0x402fa9[_0x402fa9['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x464faf(0x21d),_0x402fa9[_0x402fa9[_0x464faf(0x20f)]=0x1]=_0x464faf(0x20f),_0x402fa9))(_0x32afde||{});const _0x4316dc=0x7530,_0x2d72ef=_0x464faf(0x22f);class _0x5474b1 extends _0x22bd76['Disposable']{constructor(){const _0x26e714=_0x464faf;super(),_0x41b507(this,_0x26e714(0x244),_0x22bd76['Tools'][_0x26e714(0x44c)]()),_0x41b507(this,_0x26e714(0x1f1),new Set()),_0x41b507(this,'_unitOnClients',new Map()),_0x41b507(this,_0x26e714(0x4dc),null),_0x41b507(this,'_clearOtherTimers',new Map()),_0x41b507(this,_0x26e714(0x2bc),new Map()),this[_0x26e714(0x239)]();}[_0x464faf(0x383)](){const _0x510362=_0x464faf;super[_0x510362(0x383)](),this[_0x510362(0x41a)][_0x510362(0x1fc)]((_0x43fc2d,_0x75dba8)=>this[_0x510362(0x248)](_0x75dba8)),this[_0x510362(0x4dc)]&&window[_0x510362(0x396)](this[_0x510362(0x4dc)]);}[_0x464faf(0x475)](_0x4b13d4){const _0x46c35c=_0x464faf;return this[_0x46c35c(0x358)](_0x4b13d4)[_0x46c35c(0x457)](_0xb468a3[_0x46c35c(0x53b)]());}[_0x464faf(0x476)](_0x3cf327){const _0x53cea2=_0x464faf;this[_0x53cea2(0x1f1)]['size']===0x0&&this[_0x53cea2(0x57d)](),this['_selfUnitIDs'][_0x53cea2(0x59b)](_0x3cf327),this[_0x53cea2(0x1b8)]({'type':0x0,'memberID':this[_0x53cea2(0x244)],'unitIDs':[_0x3cf327],'isForwarded':!0x1});}[_0x464faf(0x328)](_0x259cd8){const _0x45475a=_0x464faf;this[_0x45475a(0x1f1)]['delete'](_0x259cd8),this[_0x45475a(0x1f1)][_0x45475a(0x2cf)]===0x0&&this['_heartbeatTimer']&&window[_0x45475a(0x396)](this['_heartbeatTimer']);}[_0x464faf(0x239)](){const _0x4d29ed=_0x464faf;this[_0x4d29ed(0x241)](_0x22bd76[_0x4d29ed(0x2ec)](_0xb468a3[_0x4d29ed(0x36c)](window,_0x4d29ed(0x1ae))[_0x4d29ed(0x1d7)](_0x4e5def=>{const _0x4f548c=_0x4d29ed;if(_0x4e5def[_0x4f548c(0x259)]!==_0x2d72ef||!_0x4e5def[_0x4f548c(0x1ba)])return;const _0x3f51b7=JSON[_0x4f548c(0x217)](_0x4e5def[_0x4f548c(0x1ba)]);this[_0x4f548c(0x477)](_0x3f51b7);}))),window[_0x4d29ed(0x265)]('unload',()=>this[_0x4d29ed(0x1b8)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4d29ed(0x2ad)](this[_0x4d29ed(0x1f1)])}));}[_0x464faf(0x477)](_0x318994){const _0x840115=_0x464faf;switch(_0x318994['type']){case 0x0:this['_handleJoinEvent'](_0x318994);break;case 0x1:this[_0x840115(0x455)](_0x318994);break;case 0x2:this['_handleHeartbeatEvent'](_0x318994);break;}}[_0x464faf(0x3a9)](_0x245d5a){const _0xf1f0a2=_0x464faf,{unitIDs:_0x7c83a2,memberID:_0x32cf15,isForwarded:_0x38d36b}=_0x245d5a;_0x7c83a2['forEach'](_0x538d31=>{const _0x4f71cd=_0x437d;if(!_0x38d36b&&this['_unitOnClients'][_0x4f71cd(0x2e2)](_0x538d31)&&this['_ensureSubject'](_0x538d31)[_0x4f71cd(0x4d2)](0x1),!this[_0x4f71cd(0x221)][_0x4f71cd(0x2e2)](_0x538d31)||!this[_0x4f71cd(0x221)][_0x4f71cd(0x321)](_0x538d31)[_0x4f71cd(0x2e2)](_0x32cf15)){const _0x24bad7=this['_unitOnClients']['get'](_0x538d31)||new Set();_0x24bad7[_0x4f71cd(0x59b)](_0x32cf15),this[_0x4f71cd(0x221)][_0x4f71cd(0x372)](_0x538d31,_0x24bad7),this['_scheduleClearOtherTimer'](_0x32cf15);}}),_0x38d36b||this['_send']({'type':0x0,'memberID':this[_0xf1f0a2(0x244)],'unitIDs':[...this[_0xf1f0a2(0x1f1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2b6e3f){const _0x535115=_0x464faf;this[_0x535115(0x248)](_0x2b6e3f);const _0x366156=window[_0x535115(0x3c9)](()=>{const _0x13cbae=_0x535115;this[_0x13cbae(0x221)]['forEach'](_0x18106f=>{const _0x139eed=_0x13cbae;_0x18106f[_0x139eed(0x331)](_0x2b6e3f);});},_0x4316dc*0x2);this['_clearOtherTimers'][_0x535115(0x372)](_0x2b6e3f,_0x366156);}['_removeClearOtherTimer'](_0x71d60b){const _0x7fc30b=_0x464faf;if(this[_0x7fc30b(0x41a)][_0x7fc30b(0x2e2)](_0x71d60b)){const _0x223c7a=this[_0x7fc30b(0x41a)]['get'](_0x71d60b);_0x223c7a&&window[_0x7fc30b(0x2a1)](_0x223c7a),this['_clearOtherTimers'][_0x7fc30b(0x372)](_0x71d60b,null);}}[_0x464faf(0x455)](_0x2abf7a){const _0x204163=_0x464faf,{memberID:_0x3b4430,unitIDs:_0x136b22}=_0x2abf7a;_0x136b22[_0x204163(0x1fc)](_0x163c5c=>{const _0xe6bc9a=_0x204163;var _0x129418;const _0x5d6341=this['_unitOnClients']['get'](_0x163c5c);_0x5d6341&&(_0x5d6341[_0xe6bc9a(0x331)](_0x3b4430),(_0x129418=this['_ensureSubject'](_0x163c5c))==null||_0x129418['next'](_0x5d6341[_0xe6bc9a(0x2cf)]===0x0?0x0:0x1));}),this[_0x204163(0x248)](_0x3b4430);}[_0x464faf(0x1fa)](_0x27dbca){const _0x54611b=_0x464faf;this[_0x54611b(0x260)](_0x27dbca[_0x54611b(0x35e)]);}[_0x464faf(0x1b8)](_0x2923a4){const _0x799fcb=_0x464faf;localStorage[_0x799fcb(0x5b4)](_0x2d72ef,JSON[_0x799fcb(0x4c2)](_0x2923a4));}[_0x464faf(0x57d)](){const _0x5bd8a9=_0x464faf;this[_0x5bd8a9(0x4dc)]=window[_0x5bd8a9(0x484)](()=>{const _0x137468=_0x5bd8a9;this[_0x137468(0x1b8)]({'type':0x2,'memberID':this['_id']});},_0x4316dc);}[_0x464faf(0x358)](_0x5d6ebe){const _0x1dab7d=_0x464faf;return this[_0x1dab7d(0x2bc)][_0x1dab7d(0x2e2)](_0x5d6ebe)||this[_0x1dab7d(0x2bc)][_0x1dab7d(0x372)](_0x5d6ebe,new _0xb468a3[(_0x1dab7d(0x579))](0x0)),this[_0x1dab7d(0x2bc)][_0x1dab7d(0x321)](_0x5d6ebe);}}function _0x33c720(_0x30fd1d){const _0x4c1ead=_0x464faf;let _0x509d98='';for(const _0x20cf8 of _0x30fd1d){const {startOffset:_0x49a179,endOffset:_0x59b08d,isActive:_0xf54e72}=_0x20cf8;_0x509d98[_0x4c1ead(0x266)]&&(_0x509d98+=','),_0x509d98+=_0x49a179+':'+_0x59b08d+':'+(_0xf54e72?'1':'0');}return _0x509d98;}function _0x488ea0(_0x1daf75){const _0x549087=_0x464faf,_0xbaaf88=_0x1daf75[_0x549087(0x58a)](','),_0x4ade55=[];for(const _0x133de1 of _0xbaaf88){const [_0x31840b,_0x31b527,_0x3852bf]=_0x133de1[_0x549087(0x58a)](':');_0x4ade55[_0x549087(0x4a6)]({'startOffset':Number(_0x31840b),'endOffset':Number(_0x31b527),'collapsed':_0x31840b===_0x31b527,'isActive':_0x3852bf==='1'});}return _0x4ade55[_0x549087(0x203)](_0x1c8fdc=>_0x1c8fdc[_0x549087(0x362)])||(_0x4ade55[0x0]['isActive']=!0x0),_0x4ade55;}class _0x43e255 extends _0x22bd76[_0x464faf(0x5c2)]{constructor(){const _0x1eed26=_0x464faf;super(...arguments),_0x41b507(this,_0x1eed26(0x4bf),new _0xb468a3[(_0x1eed26(0x579))](null)),_0x41b507(this,_0x1eed26(0x527),this[_0x1eed26(0x4bf)][_0x1eed26(0x45e)]());}['syncEditingCollabCursor'](_0x4c6754){const _0x1008b7=_0x464faf,{unitID:_0x142b91,memberID:_0x166b4a,textRanges:_0x4acad7}=_0x4c6754,_0x9aa714=_0x33c720(_0x4acad7),_0x46d2da={'unitID':_0x142b91,'memberID':_0x166b4a,'selection':_0x9aa714};this[_0x1008b7(0x4bf)][_0x1008b7(0x4d2)](_0x46d2da);}}var _0x28e5a9=Object[_0x464faf(0x229)],_0x4f1952=Object[_0x464faf(0x36f)],_0x2d5a5b=(_0x1dac5a,_0x470b38,_0x570417,_0x2226e2)=>{for(var _0x3ee22b=_0x2226e2>0x1?void 0x0:_0x2226e2?_0x4f1952(_0x470b38,_0x570417):_0x470b38,_0x103db9=_0x1dac5a['length']-0x1,_0x194c5d;_0x103db9>=0x0;_0x103db9--)(_0x194c5d=_0x1dac5a[_0x103db9])&&(_0x3ee22b=(_0x2226e2?_0x194c5d(_0x470b38,_0x570417,_0x3ee22b):_0x194c5d(_0x3ee22b))||_0x3ee22b);return _0x2226e2&&_0x3ee22b&&_0x28e5a9(_0x470b38,_0x570417,_0x3ee22b),_0x3ee22b;},_0x513852=(_0x44975e,_0xe0cdb2)=>(_0x20f95b,_0x4cdb9e)=>_0xe0cdb2(_0x20f95b,_0x4cdb9e,_0x44975e);let _0x529ffa=class{constructor(_0x34d441,_0x1e150c){const _0x15da2b=_0x464faf;this[_0x15da2b(0x38a)]=_0x34d441,this[_0x15da2b(0x24e)]=_0x1e150c;}['transformSelections'](_0x2171f1){const _0x50b2e3=_0x464faf;var _0x51f2a5;const _0x592945=this[_0x50b2e3(0x38a)][_0x50b2e3(0x321)](_0x369ae4[_0x50b2e3(0x385)]),_0x2ae320=(_0x51f2a5=_0x592945[_0x50b2e3(0x1ad)]())!=null?_0x51f2a5:[];if(_0x2ae320['length']===0x0)return;const _0x71d7fe=[{'id':_0x50b2e3(0x305),'params':{'unitId':_0x2171f1['unitID'],'actions':null,'textRanges':_0x2ae320}}],_0x527d52=this['_transformService']['transformMutationsWithChangeset'](_0x2171f1,_0x71d7fe);if(!_0x2cb6ec[_0x50b2e3(0x4b0)](_0x527d52))throw _0x527d52['error'];const _0x17b025=_0x527d52[_0x50b2e3(0x275)][0x0][_0x50b2e3(0x4d5)][_0x50b2e3(0x56d)];Array['isArray'](_0x17b025)&&_0x17b025[_0x50b2e3(0x266)]&&_0x592945['replaceTextRanges'](_0x17b025,!0x1);}};_0x529ffa=_0x2d5a5b([_0x513852(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x513852(0x1,_0x2cb6ec['ITransformService'])],_0x529ffa);const _0x1c3daa=new Set([_0x38d7d8['InsertSheetMutation']['id']]);function _0x14860a(_0x58729c,_0xf9f28a,_0x3b99a1,_0x49e3c6,_0x86ff44){const _0x3255ec=_0x464faf;var _0x214eb2,_0x505365,_0x27f0c9,_0x4c492f;const _0x33164c=[];for(const _0x2b1cc7 of _0x58729c)if(_0x1c3daa[_0x3255ec(0x2e2)](_0x2b1cc7['id'])){if(_0x33164c['length']>0x0)break;_0x33164c[_0x3255ec(0x4a6)](_0x2b1cc7);break;}else _0x33164c['push'](_0x2b1cc7);const _0x23bf13=(_0x505365=(_0x214eb2=_0x86ff44['getCurrentUser']())==null?void 0x0:_0x214eb2[_0x3255ec(0x4b2)])!=null?_0x505365:'unknown',_0x14cf2c=(_0x4c492f=(_0x27f0c9=_0x86ff44['getCurrentUser']())==null?void 0x0:_0x27f0c9['memberID'])!=null?_0x4c492f:_0x3255ec(0x2b0);return{'changeset':{'unitID':_0xf9f28a,'type':_0x2cb6ec[_0x3255ec(0x284)](_0x3b99a1['getUnitType'](_0xf9f28a)),'baseRev':_0x49e3c6[_0x3255ec(0x1b5)](_0xf9f28a),'revision':0x0,'userID':_0x23bf13,'memberID':_0x14cf2c,'mutations':_0x33164c},'pendingMutations':_0x58729c[_0x3255ec(0x5ba)](_0x33164c[_0x3255ec(0x266)])};}function _0x2dda07(_0x474d77,_0x53a7fd,_0x5727d1,_0x239874,_0x1b8121){const _0x2e9c7b=_0x464faf;var _0xa0b95e,_0x5b771e,_0x21c2a2,_0x3654b6;const _0x3230b6=[_0x474d77['reduce']((_0x72d975,_0x205884)=>{const _0x159f9d=_0x437d;var _0x56ab76;const {id:_0x5d0dd5}=_0x72d975,{id:_0x3ee2c2,type:_0x1a2bfc}=_0x205884,_0x43099c=(_0x56ab76=_0x72d975[_0x159f9d(0x4d5)])!=null?_0x56ab76:{'actions':null},_0x5b7cc5=_0x205884[_0x159f9d(0x4d5)];if(_0x5d0dd5&&_0x5d0dd5!==_0x3ee2c2)throw new Error(_0x159f9d(0x3d7)+_0x5d0dd5+_0x159f9d(0x519)+_0x3ee2c2+'.');return{..._0x72d975,'id':_0x3ee2c2,'type':_0x1a2bfc,'params':{'unitId':_0x5b7cc5[_0x159f9d(0x3eb)],'textRanges':_0x5b7cc5['textRanges'],'actions':_0x22bd76[_0x159f9d(0x46c)][_0x159f9d(0x29e)](_0x43099c[_0x159f9d(0x1a2)],_0x5b7cc5['actions'])}};},{})],_0x297bdd=(_0x5b771e=(_0xa0b95e=_0x1b8121[_0x2e9c7b(0x348)]())==null?void 0x0:_0xa0b95e[_0x2e9c7b(0x4b2)])!=null?_0x5b771e:_0x2e9c7b(0x2b0),_0x2feb65=(_0x3654b6=(_0x21c2a2=_0x1b8121['getCurrentUser']())==null?void 0x0:_0x21c2a2['memberID'])!=null?_0x3654b6:_0x2e9c7b(0x2b0);return{'changeset':{'unitID':_0x53a7fd,'type':_0x2cb6ec[_0x2e9c7b(0x284)](_0x5727d1['getUnitType'](_0x53a7fd)),'baseRev':_0x239874['getCurrentRevOfUnit'](_0x53a7fd),'revision':0x0,'userID':_0x297bdd,'memberID':_0x2feb65,'mutations':_0x3230b6},'pendingMutations':[]};}const _0x5493e5={'id':_0x38d7d8[_0x464faf(0x2de)]['id'],'type':_0x22bd76[_0x464faf(0x2d6)][_0x464faf(0x2eb)],'params':{}};var _0xe66d58=Object[_0x464faf(0x229)],_0x3ad569=Object['getOwnPropertyDescriptor'],_0x147561=(_0x38507c,_0x48525d,_0x592b31,_0x4e3ada)=>{for(var _0x4ff37a=_0x4e3ada>0x1?void 0x0:_0x4e3ada?_0x3ad569(_0x48525d,_0x592b31):_0x48525d,_0x231b09=_0x38507c['length']-0x1,_0x17c0f5;_0x231b09>=0x0;_0x231b09--)(_0x17c0f5=_0x38507c[_0x231b09])&&(_0x4ff37a=(_0x4e3ada?_0x17c0f5(_0x48525d,_0x592b31,_0x4ff37a):_0x17c0f5(_0x4ff37a))||_0x4ff37a);return _0x4e3ada&&_0x4ff37a&&_0xe66d58(_0x48525d,_0x592b31,_0x4ff37a),_0x4ff37a;},_0x18ef17=(_0x269d8c,_0x4727a3)=>(_0x1827d8,_0x2b391d)=>_0x4727a3(_0x1827d8,_0x2b391d,_0x269d8c),_0x29599c=(_0x2af8ec=>(_0x2af8ec[_0x464faf(0x2ba)]=_0x464faf(0x431),_0x2af8ec[_0x464faf(0x402)]=_0x464faf(0x1ab),_0x2af8ec[_0x464faf(0x1b6)]='pending',_0x2af8ec[_0x464faf(0x3bf)]='awaiting',_0x2af8ec[_0x464faf(0x26d)]='awaiting_with_pending',_0x2af8ec[_0x464faf(0x303)]=_0x464faf(0x1f6),_0x2af8ec[_0x464faf(0x5b6)]=_0x464faf(0x4e6),_0x2af8ec[_0x464faf(0x374)]=_0x464faf(0x307),_0x2af8ec))(_0x29599c||{});class _0x245ce4{constructor(_0x1831e8,_0x251495,_0x551cc6,_0x5b9549,_0x4982b4,_0x58d789,_0x4103c9,_0x43d2ad,_0x1993b2){const _0x3c9fdd=_0x464faf;_0x41b507(this,_0x3c9fdd(0x5a5),null),_0x41b507(this,'_pendingMutations',[]),(this['unitID']=_0x1831e8,this[_0x3c9fdd(0x2e4)]=_0x251495,this[_0x3c9fdd(0x508)]=_0x4982b4,this[_0x3c9fdd(0x382)]=_0x58d789,this[_0x3c9fdd(0x3bd)]=_0x4103c9,this[_0x3c9fdd(0x1a3)]=_0x43d2ad,this['_localCacheService']=_0x1993b2,this[_0x3c9fdd(0x5a5)]=_0x551cc6,this['_pendingMutations']=_0x5b9549);}[_0x464faf(0x4a0)](_0x38ce17){const _0xff93c=_0x464faf,_0x5db34d=this[_0xff93c(0x1a3)][_0xff93c(0x1b5)](this['unitID']);return _0x38ce17[_0xff93c(0x292)]>_0x5db34d+0x1?(this['_handler']['onMissingChangesets']({'from':_0x5db34d,'to':_0x38ce17['revision']-0x1}),!0x0):!0x1;}[_0x464faf(0x40d)](_0x2ff9df){const _0x2414f5=_0x464faf;this[_0x2414f5(0x3bd)][_0x2414f5(0x591)](this[_0x2414f5(0x268)],_0x2ff9df);}[_0x464faf(0x437)](_0x40a21){const _0x29f637=_0x464faf;var _0x4a4d2f,_0xe76a9b;(_0xe76a9b=(_0x4a4d2f=this[_0x29f637(0x508)])['onTransformSelections'])==null||_0xe76a9b[_0x29f637(0x5b8)](_0x4a4d2f,_0x40a21);}[_0x464faf(0x1dd)](_0xc8d00b){const _0x36899f=_0x464faf;var _0x381db0,_0x4595f4;return(_0x4595f4=(_0x381db0=this['_handler'])[_0x36899f(0x53f)])==null?void 0x0:_0x4595f4[_0x36899f(0x5b8)](_0x381db0,_0xc8d00b);}[_0x464faf(0x28b)](_0x2a1e68){const _0x2fa3e0=_0x464faf;var _0x5238ca,_0x149d7b,_0x29ee70;return(_0x29ee70=(_0x149d7b=(_0x5238ca=this['_handler'])[_0x2fa3e0(0x40b)])==null?void 0x0:_0x149d7b[_0x2fa3e0(0x5b8)](_0x5238ca,_0x2a1e68))!=null?_0x29ee70:_0x2a1e68;}[_0x464faf(0x245)](_0x36fe57){const _0x14d92d=_0x464faf;var _0x13208e,_0x2d6576;if(this[_0x14d92d(0x2e4)]===_0x2341fc['UNIVER_DOC']){const {unitID:_0x1836f7,mutations:_0x20804e,memberID:_0x3ebd61}=_0x36fe57,_0x466326=_0x20804e[0x0][_0x14d92d(0x4d5)][_0x14d92d(0x56d)];Array[_0x14d92d(0x564)](_0x466326)&&_0x466326[_0x14d92d(0x266)]>0x0&&((_0x2d6576=(_0x13208e=this[_0x14d92d(0x508)])[_0x14d92d(0x41d)])==null||_0x2d6576[_0x14d92d(0x5b8)](_0x13208e,{'unitID':_0x1836f7,'memberID':_0x3ebd61,'textRanges':_0x466326}));}}[_0x464faf(0x58c)](){const _0x133619=_0x464faf;this[_0x133619(0x1c7)][_0x133619(0x375)](this[_0x133619(0x268)],this[_0x133619(0x2e4)],this[_0x133619(0x5a5)],this[_0x133619(0x436)]);}[_0x464faf(0x48a)](){const _0x3e549b=_0x464faf;return this[_0x3e549b(0x1a3)][_0x3e549b(0x1b5)](this[_0x3e549b(0x268)]);}[_0x464faf(0x209)](){const _0x1c2e49=_0x464faf;this[_0x1c2e49(0x1a3)][_0x1c2e49(0x1be)](this[_0x1c2e49(0x268)]);}[_0x464faf(0x395)](_0x3b33af){const _0x355f08=_0x464faf;var _0x241eb8;const _0x36283a=this[_0x355f08(0x28b)](_0x3b33af),_0x59b93a=_0x22bd76['sequenceExecute'](_0x36283a[_0x355f08(0x4a5)],this['_commandService'],{'fromCollab':!0x0});if(!_0x59b93a[_0x355f08(0x320)])throw _0x59b93a[_0x355f08(0x458)]instanceof Error?_0x59b93a[_0x355f08(0x458)]:new Error((_0x241eb8=_0x59b93a[_0x355f08(0x458)])!=null?_0x241eb8:_0x355f08(0x3cc));this[_0x355f08(0x1dd)](_0x36283a),this[_0x355f08(0x40d)](_0x3b33af),this['_transformSelections'](_0x36283a),this[_0x355f08(0x245)](_0x36283a),this[_0x355f08(0x209)]();}}let _0x46582e=class extends _0x245ce4{constructor(_0xbe9d2f,_0x3a2c4b,_0x39c57a,_0x2a1871,_0xbb9b81,_0x5c776c,_0x31d3ba,_0x3fd96f,_0x24e88f,_0x307509){const _0x3fcce1=_0x464faf;super(_0xbe9d2f,_0x3a2c4b,null,[],_0x39c57a,_0x3fd96f,_0x31d3ba,_0x2a1871,_0xbb9b81),_0x41b507(this,_0x3fcce1(0x222),'synced'),(this[_0x3fcce1(0x38a)]=_0x5c776c,this['_logService']=_0x24e88f,this[_0x3fcce1(0x24e)]=_0x307509);}[_0x464faf(0x478)](_0x3331e9){const _0xba8259=_0x464faf,_0x1b150d=this['_injector'][_0xba8259(0x3ae)](_0x52372b,this[_0xba8259(0x268)],this[_0xba8259(0x2e4)],[_0x3331e9],this[_0xba8259(0x508)]);return _0x1b150d[_0xba8259(0x269)](),_0x1b150d[_0xba8259(0x58c)](),_0x1b150d;}[_0x464faf(0x565)](_0x394cb4){const _0x3a536d=_0x464faf;if(this[_0x3a536d(0x4a0)](_0x394cb4))return this[_0x3a536d(0x38a)][_0x3a536d(0x3ae)](_0x4f6034,this[_0x3a536d(0x268)],this['type'],null,[],null,[_0x394cb4],this[_0x3a536d(0x508)]);try{const _0x35bd1c=this[_0x3a536d(0x24e)][_0x3a536d(0x1de)](_0x394cb4,[_0x5493e5]);if(_0x2cb6ec[_0x3a536d(0x4b0)](_0x35bd1c)){const {c1Prime:_0x55b1a5}=_0x35bd1c;return this['_executeRemoteChangeset'](_0x55b1a5),this;}throw _0x35bd1c[_0x3a536d(0x458)];}catch(_0x132f97){return this[_0x3a536d(0x4c0)][_0x3a536d(0x458)](_0x132f97),this[_0x3a536d(0x285)](!0x1);}}[_0x464faf(0x285)](_0x29d619){const _0x35daa9=_0x464faf;return this[_0x35daa9(0x38a)]['createInstance'](_0x4732c4,this[_0x35daa9(0x268)],this[_0x35daa9(0x2e4)],null,[],this['_handler'],_0x29d619);}[_0x464faf(0x342)](){const _0x4db82a=_0x464faf;throw new Error(_0x4db82a(0x422));}[_0x464faf(0x456)](){const _0x23e601=_0x464faf;throw new Error(_0x23e601(0x1b3));}[_0x464faf(0x207)](){const _0x1a6a2e=_0x464faf;return this[_0x1a6a2e(0x38a)]['createInstance'](_0x563a32,this['unitID'],this[_0x1a6a2e(0x2e4)],null,[],this[_0x1a6a2e(0x508)]);}['toggleOnline'](){return this;}[_0x464faf(0x381)](){const _0x4101b3=_0x464faf;throw new Error(_0x4101b3(0x3a3));}[_0x464faf(0x273)](){const _0x318e20=_0x464faf,_0x5ddee2=this[_0x318e20(0x1a3)][_0x318e20(0x1b5)](this[_0x318e20(0x268)]);return this[_0x318e20(0x508)][_0x318e20(0x2b2)]({'from':_0x5ddee2,'to':0x0}),this[_0x318e20(0x38a)][_0x318e20(0x3ae)](_0x4f6034,this[_0x318e20(0x268)],this[_0x318e20(0x2e4)],null,[],null,[],this[_0x318e20(0x508)]);}};_0x46582e=_0x147561([_0x18ef17(0x3,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec['RevisionService'])),_0x18ef17(0x4,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x5,_0x22bd76['Inject'](_0x22bd76['Injector'])),_0x18ef17(0x6,_0x22bd76[_0x464faf(0x56b)]),_0x18ef17(0x7,_0x22bd76[_0x464faf(0x4ae)]),_0x18ef17(0x8,_0x22bd76['ILogService']),_0x18ef17(0x9,_0x2cb6ec[_0x464faf(0x53d)])],_0x46582e);let _0x52372b=class extends _0x245ce4{constructor(_0x3d1c53,_0x39e1e1,_0x356b56,_0x2e0a20,_0x2609ed,_0x4aecc9,_0x4f0cad,_0x5334c9,_0x2a369f,_0x304022,_0x3575b4,_0x432b82,_0x23379b,_0x5e9c6d){const _0x3746d5=_0x464faf;super(_0x3d1c53,_0x39e1e1,null,_0x356b56,_0x2e0a20,_0x304022,_0x5e9c6d,_0x4aecc9,_0x4f0cad),_0x41b507(this,'status',_0x3746d5(0x4a4)),_0x41b507(this,'_scheduleTimestamp',null),_0x41b507(this,_0x3746d5(0x2ae),null),(this[_0x3746d5(0x38a)]=_0x2609ed,this[_0x3746d5(0x4bd)]=_0x5334c9,this[_0x3746d5(0x4c0)]=_0x2a369f,this[_0x3746d5(0x562)]=_0x3575b4,this[_0x3746d5(0x24e)]=_0x432b82,this['_univerInstanceService']=_0x23379b);}[_0x464faf(0x478)](_0x3756ea){const _0x5bb784=_0x464faf;return this[_0x5bb784(0x436)][_0x5bb784(0x4a6)](_0x3756ea),this[_0x5bb784(0x58c)](),this;}['onRemoteChangeset'](_0x3ace7a){const _0x19dfd5=_0x464faf;if(this[_0x19dfd5(0x4a0)](_0x3ace7a))return this['_clearScheduledTask'](),this[_0x19dfd5(0x38a)][_0x19dfd5(0x3ae)](_0x4f6034,this[_0x19dfd5(0x268)],this[_0x19dfd5(0x2e4)],null,this[_0x19dfd5(0x436)],null,[_0x3ace7a],this[_0x19dfd5(0x508)]);try{const _0x31e32f=this[_0x19dfd5(0x24e)]['transformMutationsWithChangeset'](_0x3ace7a,this['_pendingMutations']);if(_0x2cb6ec[_0x19dfd5(0x4b0)](_0x31e32f)){const {c1Prime:_0x18cce9,m2Prime:_0xba4b7c}=_0x31e32f;this['_executeRemoteChangeset'](_0x18cce9);const _0x5e83bd=this[_0x19dfd5(0x38a)]['createInstance'](_0x52372b,this[_0x19dfd5(0x268)],this[_0x19dfd5(0x2e4)],_0xba4b7c,this[_0x19dfd5(0x508)]);return this['_clearScheduledTask'](),_0x5e83bd[_0x19dfd5(0x269)](this[_0x19dfd5(0x1ef)]?Math[_0x19dfd5(0x3b9)](0x0,new Date()[_0x19dfd5(0x2dc)]()-this[_0x19dfd5(0x1ef)]):this['_getSendChangesetTimeout']()),_0x5e83bd;}throw _0x31e32f[_0x19dfd5(0x458)];}catch(_0x3e6261){return this[_0x19dfd5(0x4c0)][_0x19dfd5(0x458)](_0x3e6261),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x3620bb=_0x464faf;throw new Error(_0x3620bb(0x3d2));}[_0x464faf(0x456)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['toggleOffline'](){const _0x1b317e=_0x464faf;return this[_0x1b317e(0x3e5)](),this[_0x1b317e(0x38a)][_0x1b317e(0x3ae)](_0x563a32,this['unitID'],this[_0x1b317e(0x2e4)],null,this['_pendingMutations'],this[_0x1b317e(0x508)]);}[_0x464faf(0x2f7)](){return this;}[_0x464faf(0x269)](_0x30cc15){const _0x478e40=_0x464faf,_0x522297=_0x30cc15!=null?_0x30cc15:this['_getSendChangesetTimeout']();this[_0x478e40(0x1ef)]=new Date()[_0x478e40(0x2dc)](),this[_0x478e40(0x2ae)]=window[_0x478e40(0x3c9)](()=>{const _0x1d79ed=_0x478e40;this['_clearScheduledTask']();let _0x57efdc=null;switch(this[_0x1d79ed(0x2e4)]){case _0x2341fc['UNIVER_SHEET']:{_0x57efdc=_0x14860a(this[_0x1d79ed(0x436)],this['unitID'],this[_0x1d79ed(0x334)],this[_0x1d79ed(0x1a3)],this['_memberService']);break;}case _0x2341fc[_0x1d79ed(0x3c1)]:{this[_0x1d79ed(0x436)][_0x1d79ed(0x46e)](_0x5caa64=>_0x5caa64['id']===_0x369ae4[_0x1d79ed(0x425)]['id'])?_0x57efdc=_0x2dda07(this[_0x1d79ed(0x436)],this['unitID'],this[_0x1d79ed(0x334)],this['_revisionService'],this[_0x1d79ed(0x4bd)]):_0x57efdc=_0x14860a(this[_0x1d79ed(0x436)],this[_0x1d79ed(0x268)],this[_0x1d79ed(0x334)],this[_0x1d79ed(0x1a3)],this['_memberService']);break;}default:throw new Error(_0x1d79ed(0x240)+this[_0x1d79ed(0x2e4)]+_0x1d79ed(0x54f));}const {changeset:_0x46db80,pendingMutations:_0x31b2ac}=_0x57efdc;this['_handler'][_0x1d79ed(0x370)](_0x46db80);const _0x8b2de5=_0x31b2ac[_0x1d79ed(0x266)]?this[_0x1d79ed(0x38a)][_0x1d79ed(0x3ae)](_0x8ff703,this[_0x1d79ed(0x268)],this[_0x1d79ed(0x2e4)],_0x46db80,_0x31b2ac,this[_0x1d79ed(0x508)]):this[_0x1d79ed(0x38a)][_0x1d79ed(0x3ae)](_0x30c8dd,this[_0x1d79ed(0x268)],this['type'],_0x46db80,this[_0x1d79ed(0x508)]);_0x8b2de5[_0x1d79ed(0x58c)](),this[_0x1d79ed(0x508)][_0x1d79ed(0x57a)](this,_0x8b2de5);},_0x522297);}[_0x464faf(0x4e5)](){const _0x13fbb8=_0x464faf;var _0x4fce6e;return(_0x4fce6e=this[_0x13fbb8(0x562)][_0x13fbb8(0x5b1)](_0xdd38af))!=null?_0x4fce6e:0x7d0;}[_0x464faf(0x381)](){const _0x5b83fa=_0x464faf;throw new Error(_0x5b83fa(0x2f9));}[_0x464faf(0x3e5)](){const _0x40e964=_0x464faf;this[_0x40e964(0x2ae)]!=null&&(clearTimeout(this[_0x40e964(0x2ae)]),this['_sendingTimer']=null);}[_0x464faf(0x285)](_0x3a4754){const _0xc07ef9=_0x464faf;return this[_0xc07ef9(0x3e5)](),this[_0xc07ef9(0x38a)][_0xc07ef9(0x3ae)](_0x4732c4,this[_0xc07ef9(0x268)],this[_0xc07ef9(0x2e4)],null,this[_0xc07ef9(0x436)],this[_0xc07ef9(0x508)],_0x3a4754);}};_0x52372b=_0x147561([_0x18ef17(0x4,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x18ef17(0x5,_0x22bd76['Inject'](_0x2cb6ec['RevisionService'])),_0x18ef17(0x6,_0x22bd76['Inject'](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x7,_0x22bd76[_0x464faf(0x568)](_0x27752c)),_0x18ef17(0x8,_0x22bd76[_0x464faf(0x544)]),_0x18ef17(0x9,_0x22bd76[_0x464faf(0x4ae)]),_0x18ef17(0xa,_0x22bd76[_0x464faf(0x55b)]),_0x18ef17(0xb,_0x2cb6ec[_0x464faf(0x53d)]),_0x18ef17(0xc,_0x22bd76[_0x464faf(0x3a0)]),_0x18ef17(0xd,_0x22bd76[_0x464faf(0x56b)])],_0x52372b);let _0x30c8dd=class extends _0x245ce4{constructor(_0x39e85a,_0x435d91,_0x1f3600,_0x4115f8,_0x481666,_0x5123e1,_0x31c008,_0x39a035,_0x57a6b7,_0x1e3b13,_0x23c72d){const _0x14d04c=_0x464faf;super(_0x39e85a,_0x435d91,_0x1f3600,[],_0x4115f8,_0x39a035,_0x23c72d,_0x5123e1,_0x31c008),_0x41b507(this,'status',_0x14d04c(0x5a6)),(this[_0x14d04c(0x38a)]=_0x481666,this[_0x14d04c(0x4c0)]=_0x57a6b7,this[_0x14d04c(0x24e)]=_0x1e3b13);}[_0x464faf(0x478)](_0x5591ee){const _0x1a010e=_0x464faf,_0x394d89=this['_injector'][_0x1a010e(0x3ae)](_0x8ff703,this[_0x1a010e(0x268)],this[_0x1a010e(0x2e4)],this[_0x1a010e(0x5a5)],[_0x5591ee],this['_handler']);return _0x394d89[_0x1a010e(0x58c)](),_0x394d89;}[_0x464faf(0x565)](_0x1ac38e){const _0x463e6d=_0x464faf;if(this[_0x463e6d(0x4a0)](_0x1ac38e))return this[_0x463e6d(0x38a)][_0x463e6d(0x3ae)](_0x4f6034,this[_0x463e6d(0x268)],this['type'],this[_0x463e6d(0x5a5)],[],null,[_0x1ac38e],this['_handler']);try{const _0x3b6132=this[_0x463e6d(0x24e)][_0x463e6d(0x1c6)]([_0x1ac38e],[this[_0x463e6d(0x5a5)]],!0x1);if(_0x2cb6ec[_0x463e6d(0x2a4)](_0x3b6132)){const {c1Prime:_0x2edab4,c2Prime:_0x3aeec4}=_0x3b6132;this[_0x463e6d(0x395)](_0x2edab4[0x0]),_0x3aeec4[0x0][_0x463e6d(0x271)]=this['_getCurrentRevision']();const _0x58e47e=this['_injector'][_0x463e6d(0x3ae)](_0x30c8dd,this[_0x463e6d(0x268)],this[_0x463e6d(0x2e4)],_0x3aeec4[0x0],this['_handler']);return _0x58e47e[_0x463e6d(0x58c)](),_0x58e47e;}return this['_onConflict'](!0x1);}catch(_0x3bf356){return this[_0x463e6d(0x4c0)]['error'](_0x3bf356),this['_onConflict'](!0x1);}}[_0x464faf(0x342)](_0x59ba00){const _0x1d1f4a=_0x464faf,_0x1e6434=this[_0x1d1f4a(0x1a3)][_0x1d1f4a(0x1b5)](this['unitID']);if(_0x59ba00[_0x1d1f4a(0x292)]<_0x1e6434-0x1)return this;if(this[_0x1d1f4a(0x4a0)](_0x59ba00))return this[_0x1d1f4a(0x38a)][_0x1d1f4a(0x3ae)](_0x4f6034,this[_0x1d1f4a(0x268)],this[_0x1d1f4a(0x2e4)],null,[],this[_0x1d1f4a(0x5a5)],[],this[_0x1d1f4a(0x508)]);this[_0x1d1f4a(0x209)]();const _0xb98033=this['_injector'][_0x1d1f4a(0x3ae)](_0x46582e,this['unitID'],this[_0x1d1f4a(0x2e4)],this[_0x1d1f4a(0x508)]);return _0xb98033[_0x1d1f4a(0x58c)](),_0xb98033;}[_0x464faf(0x456)](_0x4e686a){const _0x514409=_0x464faf;return this[_0x514409(0x285)](!!(_0x4e686a!=null&&_0x4e686a['isPermissionRej']));}['toggleOffline'](){const _0x14b561=_0x464faf;return this['_injector'][_0x14b561(0x3ae)](_0x563a32,this[_0x14b561(0x268)],this['type'],this[_0x14b561(0x5a5)],[],this[_0x14b561(0x508)]);}[_0x464faf(0x2f7)](){return this;}[_0x464faf(0x381)](){const _0x268cd2=_0x464faf;this[_0x268cd2(0x508)][_0x268cd2(0x370)](this[_0x268cd2(0x5a5)]);}[_0x464faf(0x285)](_0x24a90b){const _0x31c4e4=_0x464faf;return this[_0x31c4e4(0x38a)][_0x31c4e4(0x3ae)](_0x4732c4,this[_0x31c4e4(0x268)],this['type'],this['_awaitingChangeset'],[],this[_0x31c4e4(0x508)],_0x24a90b);}};_0x30c8dd=_0x147561([_0x18ef17(0x4,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x18ef17(0x5,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0x6,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x7,_0x22bd76['ICommandService']),_0x18ef17(0x8,_0x22bd76['ILogService']),_0x18ef17(0x9,_0x2cb6ec['ITransformService']),_0x18ef17(0xa,_0x22bd76[_0x464faf(0x56b)])],_0x30c8dd);let _0x8ff703=class extends _0x245ce4{constructor(_0x1c8e14,_0x5466a9,_0x4f3aad,_0x59d12b,_0x133510,_0x57c138,_0x1e73eb,_0x5f157e,_0x29df18,_0x8e10cb,_0x1f74d0,_0x249bb6){const _0x1b245a=_0x464faf;super(_0x1c8e14,_0x5466a9,_0x4f3aad,_0x59d12b,_0x133510,_0x29df18,_0x249bb6,_0x1e73eb,_0x5f157e),_0x41b507(this,_0x1b245a(0x222),_0x1b245a(0x499)),(this[_0x1b245a(0x38a)]=_0x57c138,this['_logService']=_0x8e10cb,this[_0x1b245a(0x24e)]=_0x1f74d0);}[_0x464faf(0x478)](_0x3399f8){const _0x23c4ce=_0x464faf;return this[_0x23c4ce(0x436)]['push'](_0x3399f8),this;}['onRemoteChangeset'](_0x3c4198){const _0x3713ad=_0x464faf;if(this[_0x3713ad(0x4a0)](_0x3c4198))return this[_0x3713ad(0x38a)][_0x3713ad(0x3ae)](_0x4f6034,this[_0x3713ad(0x268)],this[_0x3713ad(0x2e4)],this[_0x3713ad(0x5a5)],this[_0x3713ad(0x436)],null,[_0x3c4198],this[_0x3713ad(0x508)]);try{const _0x4109c1=this[_0x3713ad(0x24e)][_0x3713ad(0x1c6)]([_0x3c4198],[this[_0x3713ad(0x5a5)]],!0x1);if(_0x2cb6ec[_0x3713ad(0x2a4)](_0x4109c1)){const {c1Prime:_0x456360,c2Prime:_0xbf57c5}=_0x4109c1,_0x23cac2=this['_transformService'][_0x3713ad(0x1de)](_0x456360[0x0],this[_0x3713ad(0x436)]);if(_0x2cb6ec['isTransformMutationsWithChangesetSuccess'](_0x23cac2)){const {c1Prime:_0x57b932,m2Prime:_0x4f306f}=_0x23cac2;return this[_0x3713ad(0x395)](_0x57b932),_0xbf57c5[0x0][_0x3713ad(0x271)]=this[_0x3713ad(0x48a)](),this[_0x3713ad(0x38a)][_0x3713ad(0x3ae)](_0x8ff703,this[_0x3713ad(0x268)],this[_0x3713ad(0x2e4)],_0xbf57c5[0x0],_0x4f306f,this[_0x3713ad(0x508)]);}throw _0x23cac2[_0x3713ad(0x458)];}throw _0x4109c1['error'];}catch(_0xe866af){return this[_0x3713ad(0x4c0)][_0x3713ad(0x458)](_0xe866af),this[_0x3713ad(0x285)](!0x1);}}[_0x464faf(0x342)](_0x288417){const _0x130f12=_0x464faf;if(this[_0x130f12(0x4a0)](_0x288417))return this[_0x130f12(0x38a)][_0x130f12(0x3ae)](_0x4f6034,this[_0x130f12(0x268)],this[_0x130f12(0x2e4)],null,this[_0x130f12(0x436)],this[_0x130f12(0x5a5)],[],this[_0x130f12(0x508)]);this['_incrementRevisionNumber']();const _0xe7d7fb=this[_0x130f12(0x38a)][_0x130f12(0x3ae)](_0x52372b,this[_0x130f12(0x268)],this['type'],this['_pendingMutations'],this['_handler']);return _0xe7d7fb[_0x130f12(0x269)](),_0xe7d7fb[_0x130f12(0x58c)](),_0xe7d7fb;}['onRemoteRej'](_0x19b043){return this['_onConflict'](!!(_0x19b043!=null&&_0x19b043['isPermissionRej']));}[_0x464faf(0x207)](){const _0x5309ea=_0x464faf;return this[_0x5309ea(0x38a)][_0x5309ea(0x3ae)](_0x563a32,this[_0x5309ea(0x268)],this[_0x5309ea(0x2e4)],this[_0x5309ea(0x5a5)],this['_pendingMutations'],this[_0x5309ea(0x508)]);}['toggleOnline'](){return this;}['resend'](){const _0x18bc1b=_0x464faf;this[_0x18bc1b(0x508)][_0x18bc1b(0x370)](this[_0x18bc1b(0x5a5)]);}[_0x464faf(0x285)](_0x400255){const _0x2c98e2=_0x464faf;return this['_injector'][_0x2c98e2(0x3ae)](_0x4732c4,this['unitID'],this[_0x2c98e2(0x2e4)],null,this['_pendingMutations'],this[_0x2c98e2(0x508)],_0x400255);}};_0x8ff703=_0x147561([_0x18ef17(0x5,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x18ef17(0x6,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0x7,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x8,_0x22bd76[_0x464faf(0x4ae)]),_0x18ef17(0x9,_0x22bd76[_0x464faf(0x544)]),_0x18ef17(0xa,_0x2cb6ec[_0x464faf(0x53d)]),_0x18ef17(0xb,_0x22bd76[_0x464faf(0x56b)])],_0x8ff703);let _0x4732c4=class extends _0x245ce4{constructor(_0x2b76e3,_0x293e4b,_0x11812a,_0x2e6c90,_0x297599,_0x53e11a=!0x1,_0xc62d45,_0x20c5f0,_0xb0bc8d,_0x3baac9,_0x33186d,_0x1ebde0,_0x55d3f0){const _0x4170a5=_0x464faf;super(_0x2b76e3,_0x293e4b,_0x11812a,_0x2e6c90,_0x297599,_0x20c5f0,_0xb0bc8d,_0x33186d,_0x3baac9),_0x41b507(this,_0x4170a5(0x222),_0x4170a5(0x4e6)),(this[_0x4170a5(0x3fa)]=_0x53e11a,this[_0x4170a5(0x556)]=_0xc62d45,this[_0x4170a5(0x4fc)]=_0x1ebde0,this[_0x4170a5(0x4c5)]=_0x55d3f0,this[_0x4170a5(0x545)](),this[_0x4170a5(0x4e7)](),this[_0x4170a5(0x1d6)]());}[_0x464faf(0x478)](){return this;}[_0x464faf(0x565)](){return this;}[_0x464faf(0x342)](){return this;}[_0x464faf(0x456)](){return this;}[_0x464faf(0x207)](){return this;}[_0x464faf(0x2f7)](){return this;}[_0x464faf(0x381)](){const _0x2c86fb=_0x464faf;throw new Error(_0x2c86fb(0x274));}[_0x464faf(0x4e7)](){const _0x53b293=_0x464faf;this[_0x53b293(0x1c7)][_0x53b293(0x375)](this[_0x53b293(0x268)],this[_0x53b293(0x2e4)],null,[]);}[_0x464faf(0x545)](){const _0x3313f2=_0x464faf;this[_0x3313f2(0x3fa)]?this[_0x3313f2(0x4c5)][_0x3313f2(0x550)]({'title':this[_0x3313f2(0x4fc)]['t'](_0x3313f2(0x302)),'content':this[_0x3313f2(0x4fc)]['t'](_0x3313f2(0x535)),'type':_0x3313f2(0x458),'duration':0x0}):this[_0x3313f2(0x4c5)][_0x3313f2(0x550)]({'title':this[_0x3313f2(0x4fc)]['t'](_0x3313f2(0x446)),'content':this[_0x3313f2(0x4fc)]['t'](_0x3313f2(0x20d)),'type':_0x3313f2(0x458),'duration':0x0});}[_0x464faf(0x1d6)](){const _0x481434=_0x464faf;this[_0x481434(0x556)]['updatePermissionPoint'](new _0x38d7d8[(_0x481434(0x4e3))](this[_0x481434(0x268)])['id'],!0x1);}};_0x4732c4=_0x147561([_0x18ef17(0x6,_0x22bd76['Inject'](_0x22bd76[_0x464faf(0x281)])),_0x18ef17(0x7,_0x22bd76['ICommandService']),_0x18ef17(0x8,_0x22bd76[_0x464faf(0x56b)]),_0x18ef17(0x9,_0x22bd76['Inject'](_0x19e906['LocalCacheService'])),_0x18ef17(0xa,_0x22bd76['Inject'](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0xb,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x18ef17(0xc,_0x1b23d2['INotificationService'])],_0x4732c4);let _0x563a32=class extends _0x245ce4{constructor(_0x3ae25c,_0x4962f8,_0x3a71fe,_0x2f122f,_0x14c33b,_0x5ee05f,_0x13175f,_0x326654,_0x3092b1,_0x22b285){const _0x154226=_0x464faf;super(_0x3ae25c,_0x4962f8,_0x3a71fe,_0x2f122f,_0x14c33b,_0x3092b1,_0x22b285,_0x13175f,_0x326654),_0x41b507(this,'status',_0x154226(0x307)),this[_0x154226(0x38a)]=_0x5ee05f;}[_0x464faf(0x478)](_0x2cc0a1){const _0x5da7cf=_0x464faf;return this[_0x5da7cf(0x436)][_0x5da7cf(0x4a6)](_0x2cc0a1),this[_0x5da7cf(0x58c)](),this;}[_0x464faf(0x565)](_0x1e6009){const _0x1bc638=_0x464faf;throw new Error(_0x1bc638(0x1a7));}[_0x464faf(0x342)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x464faf(0x456)](){const _0x2ac66c=_0x464faf;throw new Error(_0x2ac66c(0x1c1));}['toggleOffline'](){return this;}[_0x464faf(0x2f7)](){const _0x2c08b4=_0x464faf,{_injector:_0x295c63,_pendingMutations:_0x1abef9,_awaitingChangeset:_0x38d6ca,unitID:_0x46596c,_handler:_0x419b3f,type:_0x5bf340}=this,_0x1851d4=_0x9aa735(_0x295c63,_0x46596c,_0x5bf340,_0x38d6ca,_0x1abef9,_0x419b3f);return _0x1851d4 instanceof _0x52372b?_0x1851d4[_0x2c08b4(0x269)]():(_0x1851d4 instanceof _0x8ff703||_0x1851d4 instanceof _0x30c8dd)&&_0x1851d4[_0x2c08b4(0x381)](),_0x1851d4;}[_0x464faf(0x381)](){const _0x3558e9=_0x464faf;throw new Error(_0x3558e9(0x314));}};_0x563a32=_0x147561([_0x18ef17(0x5,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x18ef17(0x6,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0x7,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x18ef17(0x8,_0x22bd76[_0x464faf(0x4ae)]),_0x18ef17(0x9,_0x22bd76[_0x464faf(0x56b)])],_0x563a32);let _0x4f6034=class extends _0x245ce4{constructor(_0x3b8586,_0x1099b9,_0x2a255f,_0x4df1f7,_0x345cbf,_0xef209,_0x51c2f3,_0x1ddaaa,_0x263e73,_0x44ed07,_0x9b283b,_0x2436d7,_0x3cbf72,_0x25b724){const _0x2ee16e=_0x464faf;super(_0x3b8586,_0x1099b9,_0x2a255f,_0x4df1f7,_0x51c2f3,_0x2436d7,_0x3cbf72,_0x263e73,_0x44ed07),_0x41b507(this,'status',_0x2ee16e(0x1f6)),(this[_0x2ee16e(0x52a)]=_0x345cbf,this[_0x2ee16e(0x47b)]=_0xef209,this[_0x2ee16e(0x38a)]=_0x1ddaaa,this[_0x2ee16e(0x4c0)]=_0x9b283b,this[_0x2ee16e(0x24e)]=_0x25b724);}[_0x464faf(0x2a5)](_0x296ce5){const _0x521205=_0x464faf;try{const _0x438863=[..._0x296ce5,...this[_0x521205(0x47b)]],_0x1b9334=[this['_awaitingChangeset']||this[_0x521205(0x52a)]][_0x521205(0x2e9)](_0x2c4c95=>!!_0x2c4c95);let _0x32d4cd,_0x1992ab;if(_0x1b9334[_0x521205(0x266)]){const _0x32d9f4=this['_transformService'][_0x521205(0x1c6)](_0x438863,_0x1b9334,!0x1);if(!_0x2cb6ec[_0x521205(0x2a4)](_0x32d9f4))throw _0x32d9f4[_0x521205(0x458)];_0x32d4cd=_0x32d9f4[_0x521205(0x1f4)],_0x1992ab=_0x32d9f4[_0x521205(0x532)];}else _0x32d4cd=_0x438863,_0x1992ab=[];let _0x5a00a9=this[_0x521205(0x436)];_0x32d4cd[_0x521205(0x1fc)](_0x4bd38b=>{const _0x568faf=_0x521205;let _0x4aa2b3;if(_0x5a00a9[_0x568faf(0x266)]){const _0x5a8fd9=this[_0x568faf(0x24e)][_0x568faf(0x1de)](_0x4bd38b,_0x5a00a9);if(!_0x2cb6ec['isTransformMutationsWithChangesetSuccess'](_0x5a8fd9))throw _0x5a8fd9[_0x568faf(0x458)];_0x4aa2b3=_0x5a8fd9[_0x568faf(0x1f4)],_0x5a00a9=_0x5a8fd9[_0x568faf(0x275)];}else _0x4aa2b3=_0x4bd38b;this[_0x568faf(0x395)](_0x4aa2b3);}),this[_0x521205(0x52a)]&&this[_0x521205(0x209)](),this['_awaitingChangeset']&&_0x1992ab[_0x521205(0x266)]&&(_0x1992ab[0x0][_0x521205(0x271)]=this[_0x521205(0x48a)]());let _0x113f31;if(this[_0x521205(0x5a5)]&&_0x5a00a9['length']!==0x0)_0x113f31=this[_0x521205(0x38a)][_0x521205(0x3ae)](_0x8ff703,this[_0x521205(0x268)],this['type'],_0x1992ab[0x0],_0x5a00a9,this[_0x521205(0x508)]);else{if(this[_0x521205(0x5a5)]&&_0x5a00a9[_0x521205(0x266)]===0x0)_0x1992ab[0x0][_0x521205(0x271)]=this[_0x521205(0x48a)](),_0x113f31=this[_0x521205(0x38a)]['createInstance'](_0x30c8dd,this['unitID'],this['type'],_0x1992ab[0x0],this[_0x521205(0x508)]);else{if(_0x5a00a9[_0x521205(0x266)]!==0x0){const _0x45d34d=this[_0x521205(0x38a)]['createInstance'](_0x52372b,this['unitID'],this['type'],_0x5a00a9,this['_handler']);_0x45d34d[_0x521205(0x269)](),_0x113f31=_0x45d34d;}else _0x113f31=this[_0x521205(0x38a)]['createInstance'](_0x46582e,this[_0x521205(0x268)],this[_0x521205(0x2e4)],this[_0x521205(0x508)]);}}return _0x113f31[_0x521205(0x58c)](),_0x113f31;}catch(_0x4335ca){return this['_logService'][_0x521205(0x458)]('[FetchMissState]',_0x521205(0x585),_0x4335ca),this[_0x521205(0x38a)][_0x521205(0x3ae)](_0x4732c4,this[_0x521205(0x268)],this[_0x521205(0x2e4)],this[_0x521205(0x5a5)],this[_0x521205(0x436)],this['_handler'],!0x1);}}[_0x464faf(0x381)](){const _0x267af9=_0x464faf;throw new Error(_0x267af9(0x1d1));}[_0x464faf(0x478)](_0x44aa04){const _0x4da6ad=_0x464faf;return this[_0x4da6ad(0x436)]['push'](_0x44aa04),this;}[_0x464faf(0x565)](_0x16b631){const _0x54968e=_0x464faf;return this['_queuedRemoteChangesets'][_0x54968e(0x4a6)](_0x16b631),this;}[_0x464faf(0x342)](_0x20d7c0){const _0x48aeea=_0x464faf;if(this[_0x48aeea(0x5a5)])return this[_0x48aeea(0x52a)]=this[_0x48aeea(0x5a5)],this[_0x48aeea(0x5a5)]=null,this;throw new Error(_0x48aeea(0x2aa));}[_0x464faf(0x456)](_0x1da7cf){const _0x231ccc=_0x464faf;return this['_onConflict'](!!(_0x1da7cf!=null&&_0x1da7cf[_0x231ccc(0x255)]));}[_0x464faf(0x207)](){const _0x3f51be=_0x464faf;return this['_injector'][_0x3f51be(0x3ae)](_0x563a32,this['unitID'],this[_0x3f51be(0x2e4)],this['_awaitingChangeset'],this[_0x3f51be(0x436)],this[_0x3f51be(0x508)]);}[_0x464faf(0x2f7)](){return this;}['_onConflict'](_0x16f3d4){const _0x576f09=_0x464faf;return this[_0x576f09(0x38a)][_0x576f09(0x3ae)](_0x4732c4,this[_0x576f09(0x268)],this['type'],this['_awaitingChangeset'],this[_0x576f09(0x436)],this[_0x576f09(0x508)],_0x16f3d4);}};_0x4f6034=_0x147561([_0x18ef17(0x7,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x18ef17(0x8,_0x22bd76['Inject'](_0x2cb6ec[_0x464faf(0x557)])),_0x18ef17(0x9,_0x22bd76[_0x464faf(0x568)](_0x19e906['LocalCacheService'])),_0x18ef17(0xa,_0x22bd76[_0x464faf(0x544)]),_0x18ef17(0xb,_0x22bd76['ICommandService']),_0x18ef17(0xc,_0x22bd76[_0x464faf(0x56b)]),_0x18ef17(0xd,_0x2cb6ec[_0x464faf(0x53d)])],_0x4f6034);function _0x9aa735(_0x100df1,_0x4adbf6,_0x41dec5,_0x27f540,_0x500923,_0x3e6aa5){const _0x10b4e7=_0x464faf;return _0x27f540&&_0x500923['length']?_0x100df1[_0x10b4e7(0x3ae)](_0x8ff703,_0x4adbf6,_0x41dec5,_0x27f540,_0x500923,_0x3e6aa5):_0x27f540?_0x100df1['createInstance'](_0x30c8dd,_0x4adbf6,_0x41dec5,_0x27f540,_0x3e6aa5):_0x500923[_0x10b4e7(0x266)]?_0x100df1[_0x10b4e7(0x3ae)](_0x52372b,_0x4adbf6,_0x41dec5,_0x500923,_0x3e6aa5):_0x100df1[_0x10b4e7(0x3ae)](_0x46582e,_0x4adbf6,_0x41dec5,_0x3e6aa5);}var _0x520235=Object['defineProperty'],_0x490c67=Object['getOwnPropertyDescriptor'],_0x58e03a=(_0x4d4433,_0x5cb4ae,_0x12ac40,_0x3716b4)=>{const _0x4c8dde=_0x464faf;for(var _0x17c951=_0x3716b4>0x1?void 0x0:_0x3716b4?_0x490c67(_0x5cb4ae,_0x12ac40):_0x5cb4ae,_0x40d8dc=_0x4d4433[_0x4c8dde(0x266)]-0x1,_0xb8b1aa;_0x40d8dc>=0x0;_0x40d8dc--)(_0xb8b1aa=_0x4d4433[_0x40d8dc])&&(_0x17c951=(_0x3716b4?_0xb8b1aa(_0x5cb4ae,_0x12ac40,_0x17c951):_0xb8b1aa(_0x17c951))||_0x17c951);return _0x3716b4&&_0x17c951&&_0x520235(_0x5cb4ae,_0x12ac40,_0x17c951),_0x17c951;},_0x57ddf1=(_0x397605,_0x4ed20e)=>(_0x5938d1,_0x213508)=>_0x4ed20e(_0x5938d1,_0x213508,_0x397605);_0x19e906[_0x464faf(0x51e)]=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x5407ce,_0x29ffeb,_0x57b8d2,_0x2139cb,_0x13650f,_0x53b368,_0xed4858,_0x5a8492,_0x2c323b,_0x48f545,_0x496950,_0x35248d,_0x27bd36){const _0x3bd2a0=_0x464faf;super(),_0x41b507(this,_0x3bd2a0(0x3dc),new _0xb468a3[(_0x3bd2a0(0x579))](null)),_0x41b507(this,_0x3bd2a0(0x3fb),this['_state$'][_0x3bd2a0(0x45e)]()),_0x41b507(this,_0x3bd2a0(0x41b)),_0x41b507(this,'_collaborationPaused',!0x1),_0x41b507(this,'status$',this[_0x3bd2a0(0x3fb)][_0x3bd2a0(0x457)](_0xb468a3[_0x3bd2a0(0x1bb)](_0x2f0b3b=>_0x2f0b3b?_0x2f0b3b[_0x3bd2a0(0x222)]:_0x29599c['OFFLINE']),_0xb468a3['shareReplay'](0x1))),_0x41b507(this,_0x3bd2a0(0x543),!0x1),_0x41b507(this,'_remoteChangesetQueue',[]),(this[_0x3bd2a0(0x268)]=_0x5407ce,this[_0x3bd2a0(0x3ef)]=_0x29ffeb,this[_0x3bd2a0(0x1cf)]=_0x57b8d2,this['_injector']=_0x2139cb,this['_localCacheService']=_0x13650f,this[_0x3bd2a0(0x459)]=_0x53b368,this[_0x3bd2a0(0x4fc)]=_0xed4858,this[_0x3bd2a0(0x1a3)]=_0x5a8492,this['_logService']=_0x2c323b,this[_0x3bd2a0(0x382)]=_0x48f545,this[_0x3bd2a0(0x391)]=_0x496950,this[_0x3bd2a0(0x556)]=_0x35248d,this[_0x3bd2a0(0x1d2)]=_0x27bd36);}get['state'](){return this['_state'];}async[_0x464faf(0x51d)](){const _0xd46f93=_0x464faf;if(this[_0xd46f93(0x42f)])throw new Error(_0xd46f93(0x524));await this['_init']();}[_0x464faf(0x311)](){const _0x411c92=_0x464faf;return this['_collaborationPaused']=!0x0,_0x22bd76[_0x411c92(0x2ec)](()=>{const _0x50dfee=_0x411c92;this[_0x50dfee(0x3b4)]=!0x1,this[_0x50dfee(0x5c9)]();});}['_updateState'](_0x35502e){const _0x323690=_0x464faf;this[_0x323690(0x41b)]=_0x35502e,this[_0x323690(0x3dc)][_0x323690(0x4d2)](_0x35502e);}async[_0x464faf(0x239)](){const _0x3841db=_0x464faf;var _0x259987;this[_0x3841db(0x471)](await this[_0x3841db(0x3ba)]()),this[_0x3841db(0x1d2)]&&((_0x259987=this[_0x3841db(0x1d2)])==null||_0x259987[_0x3841db(0x476)](this[_0x3841db(0x268)]),this[_0x3841db(0x241)](this['_singleActiveUnitService'][_0x3841db(0x475)](this[_0x3841db(0x268)])[_0x3841db(0x1d7)](_0x51552b=>{const _0x5efc84=_0x3841db;this[_0x5efc84(0x4c0)][_0x5efc84(0x3e8)]('[CollaborationEntity]',_0x5efc84(0x420),_0x51552b),_0x51552b===_0x32afde['OTHER_CLIENTS_EDITING']?(this[_0x5efc84(0x391)][_0x5efc84(0x550)]({'content':this['_localeService']['t'](_0x5efc84(0x352)),'type':_0x5562a6[_0x5efc84(0x253)][_0x5efc84(0x272)]}),this[_0x5efc84(0x556)][_0x5efc84(0x2e5)](new _0x38d7d8[(_0x5efc84(0x4e3))](this[_0x5efc84(0x268)])['id'],!0x1)):this['_permissionService'][_0x5efc84(0x2e5)](new _0x38d7d8[(_0x5efc84(0x4e3))](this['unitID'])['id'],!0x0);})));let _0x113907=!0x1;return this[_0x3841db(0x241)](this[_0x3841db(0x3ef)][_0x3841db(0x3e1)][_0x3841db(0x1d7)](_0xd3ea59=>{const _0x45dd2b=_0x3841db;_0xd3ea59===_0x4d9058[_0x45dd2b(0x50f)]?this['_toggleOnline'](_0x113907):_0xd3ea59===_0x4d9058[_0x45dd2b(0x374)]&&(_0x113907=!0x0,this[_0x45dd2b(0x3d4)]());})),this[_0x3841db(0x241)](this[_0x3841db(0x3ef)][_0x3841db(0x3f2)][_0x3841db(0x1d7)](_0x3deb3a=>{const _0x5bf972=_0x3841db;try{switch(_0x3deb3a[_0x5bf972(0x571)]){case _0x2cb6ec[_0x5bf972(0x312)][_0x5bf972(0x442)]:{this[_0x5bf972(0x1e7)](_0x2cb6ec[_0x5bf972(0x30a)](_0x3deb3a[_0x5bf972(0x25b)]));break;}case _0x2cb6ec['CollaborationEvent'][_0x5bf972(0x36e)]:{this['_onRemoteACK'](_0x3deb3a[_0x5bf972(0x25b)]);break;}case _0x2cb6ec[_0x5bf972(0x312)][_0x5bf972(0x20e)]:{this[_0x5bf972(0x2e1)]();break;}case _0x2cb6ec['CollaborationEvent'][_0x5bf972(0x38e)]:{this[_0x5bf972(0x44f)](_0x3deb3a['data'][_0x5bf972(0x4f8)][_0x5bf972(0x1bb)](_0x1b9f86=>_0x2cb6ec[_0x5bf972(0x30a)](_0x1b9f86)));break;}case _0x2cb6ec[_0x5bf972(0x312)][_0x5bf972(0x353)]:this[_0x5bf972(0x2e1)]({'isPermissionRej':!0x0});}}catch(_0x32b792){throw console[_0x5bf972(0x458)]('Error\x20on\x20receiving\x20event',_0x32b792),_0x32b792;}})),this[_0x3841db(0x41b)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x464faf(0x34d)](){const _0x402369=_0x464faf;if(this[_0x402369(0x543)])throw new Error(_0x402369(0x291));this['_transitionLocked']=!0x0;}[_0x464faf(0x4f2)](_0x47ecb3){const _0x5ee91f=_0x464faf;this[_0x5ee91f(0x34d)](),this[_0x5ee91f(0x471)](this[_0x5ee91f(0x41b)][_0x5ee91f(0x478)](_0x47ecb3)),this['_unlockTransition']();}[_0x464faf(0x1e7)](_0xf7ee0c){const _0x3d7b11=_0x464faf;if(!(_0xf7ee0c[_0x3d7b11(0x292)]<=this[_0x3d7b11(0x1a3)]['getCurrentRevOfUnit'](this[_0x3d7b11(0x268)]))){if(this[_0x3d7b11(0x3b4)]){this[_0x3d7b11(0x42e)][_0x3d7b11(0x4a6)](_0xf7ee0c);return;}this[_0x3d7b11(0x5a8)](_0xf7ee0c);}}[_0x464faf(0x5c9)](){const _0xcd0a01=_0x464faf;this['_remoteChangesetQueue']['forEach'](_0x2367b6=>this[_0xcd0a01(0x5a8)](_0x2367b6)),this[_0xcd0a01(0x42e)]=[];}[_0x464faf(0x5a8)](_0x204f2c){const _0x4ed0c3=_0x464faf,_0x16d197=this['_compressMutationService']['interceptor'][_0x4ed0c3(0x2b9)](this[_0x4ed0c3(0x459)][_0x4ed0c3(0x2d7)][_0x4ed0c3(0x408)]()[_0x4ed0c3(0x1ff)])(_0x204f2c[_0x4ed0c3(0x4a5)],null)||_0x204f2c[_0x4ed0c3(0x4a5)],_0x3530b5={..._0x204f2c,'mutations':_0x16d197};this[_0x4ed0c3(0x34d)](),this[_0x4ed0c3(0x471)](this['_state'][_0x4ed0c3(0x565)](_0x3530b5)),this[_0x4ed0c3(0x4ea)]();}['_onRemoteACK'](_0x4b8535){const _0x6246c1=_0x464faf;this['_lockTransition'](),this[_0x6246c1(0x471)](this['_state'][_0x6246c1(0x342)](_0x4b8535)),this[_0x6246c1(0x4ea)]();}[_0x464faf(0x2e1)](_0x389863){const _0x2e8015=_0x464faf;this['_lockTransition'](),this['_updateState'](this[_0x2e8015(0x41b)][_0x2e8015(0x456)](_0x389863)),this[_0x2e8015(0x4ea)]();}[_0x464faf(0x44f)](_0x121cbe){const _0x3dc475=_0x464faf;if(!(this['_state']instanceof _0x4f6034))throw new TypeError(_0x3dc475(0x4fa));const _0x16e7d1=_0x121cbe[_0x3dc475(0x1bb)](_0x32b2aa=>{const _0x907ea8=_0x3dc475,_0x1aab13=this['_compressMutationService'][_0x907ea8(0x2d7)][_0x907ea8(0x2b9)](this[_0x907ea8(0x459)]['interceptor'][_0x907ea8(0x408)]()[_0x907ea8(0x1ff)])(_0x32b2aa['mutations'],null)||_0x32b2aa[_0x907ea8(0x4a5)];return{..._0x32b2aa,'mutations':_0x1aab13};});this['_lockTransition'](),this['_updateState'](this[_0x3dc475(0x41b)]['onMissedChangesetFetched'](_0x16e7d1)),this[_0x3dc475(0x4ea)]();}['_toggleOffline'](){const _0x3472ff=_0x464faf;this[_0x3472ff(0x34d)](),this[_0x3472ff(0x471)](this[_0x3472ff(0x41b)][_0x3472ff(0x207)]()),this[_0x3472ff(0x4ea)]();}[_0x464faf(0x31f)](_0x24836d=!0x1){const _0x5aa34c=_0x464faf;this[_0x5aa34c(0x34d)](),this['_updateState'](this[_0x5aa34c(0x41b)]['toggleOnline']()),this[_0x5aa34c(0x4ea)]();const _0x216045=this[_0x5aa34c(0x41b)];_0x24836d&&_0x216045 instanceof _0x46582e&&(this['_lockTransition'](),this[_0x5aa34c(0x471)](_0x216045['fetchMiss']()),this[_0x5aa34c(0x4ea)]());}async['_createInitialState'](){return new Promise(_0x532c14=>{const _0x3ead6b=_0x437d;this[_0x3ead6b(0x3ef)][_0x3ead6b(0x3e1)][_0x3ead6b(0x457)](_0xb468a3[_0x3ead6b(0x4f5)](0x1))[_0x3ead6b(0x1d7)](async _0x1c7ad6=>{const _0x30d84d=_0x3ead6b;_0x532c14(await this[_0x30d84d(0x31d)](_0x1c7ad6===_0x4d9058['ONLINE']));});});}[_0x464faf(0x4fb)](){const _0x15149d=_0x464faf,_0x5def27=this[_0x15149d(0x268)];return{'onStateChange':(_0x4310a2,_0x1e36aa)=>{const _0x4fd2ce=_0x15149d;if(_0x4310a2!==this[_0x4fd2ce(0x41b)])throw new Error(_0x4fd2ce(0x50d)+_0x4310a2['status']+_0x4fd2ce(0x515)+_0x1e36aa[_0x4fd2ce(0x222)]+_0x4fd2ce(0x47d)+this[_0x4fd2ce(0x41b)][_0x4fd2ce(0x222)]);this[_0x4fd2ce(0x471)](_0x1e36aa);},'onSendChangeset':_0x1e8f31=>{const _0x443f00=_0x15149d,_0x57c785={'eventID':_0x2cb6ec['CollaborationEvent'][_0x443f00(0x2b1)],'data':{'unitID':_0x1e8f31[_0x443f00(0x268)],'unitType':this[_0x443f00(0x1cf)],'changeset':_0x1e8f31,'memberID':this[_0x443f00(0x3ef)]['getMemberID']()}};this['session'][_0x443f00(0x427)](_0x57c785,this['unitID']);},'onMissingChangesets':({from:_0x14605f,to:_0x5c8e92})=>{const _0x4c03e9=_0x15149d;this[_0x4c03e9(0x4c0)][_0x4c03e9(0x3e8)](_0x4c03e9(0x592),_0x4c03e9(0x24a)+_0x14605f+_0x4c03e9(0x19f)+_0x5c8e92);const _0x2bd273={'eventID':_0x2cb6ec[_0x4c03e9(0x312)][_0x4c03e9(0x3a2)],'data':{'unitID':_0x5def27,'unitType':this[_0x4c03e9(0x1cf)],'from':_0x14605f,'to':_0x5c8e92}};this[_0x4c03e9(0x3ef)]['send'](_0x2bd273,this[_0x4c03e9(0x268)]);}};}async[_0x464faf(0x31d)](_0x5db25b){const _0x57af0b=_0x464faf;var _0x40cc68,_0x886745;const _0x16bcc5=await this[_0x57af0b(0x1c7)][_0x57af0b(0x283)](this[_0x57af0b(0x268)]),_0x9c8f4f=(_0x40cc68=_0x16bcc5==null?void 0x0:_0x16bcc5['mutations'])!=null?_0x40cc68:[],_0x5c52e5=(_0x886745=_0x16bcc5==null?void 0x0:_0x16bcc5[_0x57af0b(0x4de)])!=null?_0x886745:null,_0x322b56=this['unitID'];try{this[_0x57af0b(0x1c9)](_0x5c52e5,_0x9c8f4f);}catch(_0x10cc86){this[_0x57af0b(0x4c0)][_0x57af0b(0x458)](_0x10cc86);}const _0x2e0eac=this['_createHandler']();if(_0x5db25b){const _0x534514=_0x9aa735(this[_0x57af0b(0x38a)],_0x322b56,this[_0x57af0b(0x1cf)],_0x5c52e5,_0x9c8f4f,_0x2e0eac);return _0x534514 instanceof _0x52372b?_0x534514[_0x57af0b(0x269)]():(_0x534514 instanceof _0x8ff703||_0x534514 instanceof _0x30c8dd)&&_0x534514[_0x57af0b(0x381)](),_0x534514;}return this[_0x57af0b(0x38a)][_0x57af0b(0x3ae)](_0x563a32,_0x322b56,this[_0x57af0b(0x1cf)],_0x5c52e5,_0x9c8f4f,_0x2e0eac);}[_0x464faf(0x1c9)](_0x4d5cce,_0x3e7de1){const _0x5a62eb=_0x464faf;var _0x576566,_0x3dda96;const _0x33e5e1=this[_0x5a62eb(0x459)][_0x5a62eb(0x2d7)][_0x5a62eb(0x2b9)](this[_0x5a62eb(0x459)][_0x5a62eb(0x2d7)][_0x5a62eb(0x408)]()[_0x5a62eb(0x1ff)]);(_0x576566=_0x33e5e1((_0x4d5cce==null?void 0x0:_0x4d5cce[_0x5a62eb(0x4a5)])||[],null))==null||_0x576566[_0x5a62eb(0x1fc)](_0x413b90=>this['_commandService']['executeCommand'](_0x413b90['id'],_0x413b90[_0x5a62eb(0x4d5)])),(_0x3dda96=_0x33e5e1(_0x3e7de1||[],null))==null||_0x3dda96['forEach'](_0x29fe6d=>this[_0x5a62eb(0x382)][_0x5a62eb(0x38c)](_0x29fe6d['id'],_0x29fe6d[_0x5a62eb(0x4d5)]));}},_0x19e906[_0x464faf(0x51e)]=_0x58e03a([_0x57ddf1(0x3,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x57ddf1(0x4,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x57ddf1(0x5,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x447)])),_0x57ddf1(0x6,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x57ddf1(0x7,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x557)])),_0x57ddf1(0x8,_0x22bd76[_0x464faf(0x544)]),_0x57ddf1(0x9,_0x22bd76['ICommandService']),_0x57ddf1(0xa,_0x1b23d2[_0x464faf(0x536)]),_0x57ddf1(0xb,_0x22bd76[_0x464faf(0x281)]),_0x57ddf1(0xc,_0x22bd76[_0x464faf(0x230)](_0x4b8af1))],_0x19e906['CollaborationEntity']),_0x19e906['DocCollaborationEntity']=class extends _0x19e906[_0x464faf(0x51e)]{constructor(_0x27577b,_0x19b9ad,_0x1d5807,_0x13d799,_0x378c51,_0x577dce,_0x4f61f9,_0x29d7c3,_0xfd467a,_0x11c3c1,_0x1f87e6,_0x1afba2,_0x49a51c,_0x3dc2da,_0x5ab25c,_0x521c22,_0x323804){const _0x142479=_0x464faf;super(_0x27577b,_0x1d5807,_0x19b9ad,_0x13d799,_0x378c51,_0x577dce,_0x4f61f9,_0x29d7c3,_0x49a51c,_0x3dc2da,_0x5ab25c,_0x521c22,_0x323804),this[_0x142479(0x268)]=_0x27577b,this[_0x142479(0x2e4)]=_0x19b9ad,this[_0x142479(0x42b)]=_0xfd467a,this[_0x142479(0x5aa)]=_0x11c3c1,this[_0x142479(0x481)]=_0x1f87e6,this[_0x142479(0x452)]=_0x1afba2;}[_0x464faf(0x4fb)](){const _0x526ed2=_0x464faf,_0x23a9b1=super[_0x526ed2(0x4fb)]();return _0x23a9b1[_0x526ed2(0x53f)]=_0x13e933=>this[_0x526ed2(0x5aa)][_0x526ed2(0x2ce)](_0x13e933),_0x23a9b1[_0x526ed2(0x3e0)]=_0x58ae66=>this[_0x526ed2(0x481)][_0x526ed2(0x480)](_0x58ae66),_0x23a9b1[_0x526ed2(0x41d)]=_0x4f2aac=>this[_0x526ed2(0x452)][_0x526ed2(0x341)](_0x4f2aac),_0x23a9b1[_0x526ed2(0x40b)]=_0x5913a9=>this[_0x526ed2(0x5aa)][_0x526ed2(0x38f)](_0x5913a9),_0x23a9b1;}async[_0x464faf(0x239)](){const _0x5992c5=_0x464faf,_0x164a32=await super[_0x5992c5(0x239)]();return this[_0x5992c5(0x241)](this[_0x5992c5(0x382)][_0x5992c5(0x3da)]((_0x4f03fb,_0x1f3a99)=>{const _0x31b5de=_0x5992c5;if(_0x4f03fb['type']!==_0x22bd76['CommandType'][_0x31b5de(0x2eb)]||_0x1f3a99!=null&&_0x1f3a99['fromCollab']||_0x1f3a99!=null&&_0x1f3a99[_0x31b5de(0x5bd)])return;const _0x2bf79e=_0x4f03fb[_0x31b5de(0x4d5)];if((_0x2bf79e==null?void 0x0:_0x2bf79e[_0x31b5de(0x3eb)])!==this[_0x31b5de(0x268)])return;let _0x2d304b=_0x4f03fb;if(_0x2d304b['id']===_0x369ae4[_0x31b5de(0x425)]['id']){const _0x5a4e24=_0x2d304b[_0x31b5de(0x4d5)];_0x2d304b={'id':_0x369ae4['RichTextEditingMutation']['id'],'type':_0x22bd76[_0x31b5de(0x2d6)][_0x31b5de(0x2eb)],'params':{'unitId':_0x5a4e24[_0x31b5de(0x3eb)],'actions':_0x5a4e24[_0x31b5de(0x1a2)],'textRanges':null}};}const _0x3b4924=this[_0x31b5de(0x459)][_0x31b5de(0x2d7)][_0x31b5de(0x2b9)](this[_0x31b5de(0x459)][_0x31b5de(0x2d7)]['getInterceptPoints']()[_0x31b5de(0x1f8)])([_0x2d304b],null)||[_0x2d304b];this[_0x31b5de(0x4f2)](_0x3b4924[0x0]);})),_0x164a32;}},_0x19e906[_0x464faf(0x492)]=_0x58e03a([_0x57ddf1(0x3,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x57ddf1(0x4,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x57ddf1(0x5,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x447)])),_0x57ddf1(0x6,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x57ddf1(0x7,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec['RevisionService'])),_0x57ddf1(0x8,_0x22bd76[_0x464faf(0x568)](_0x3efaf4[_0x464faf(0x43f)])),_0x57ddf1(0x9,_0x22bd76[_0x464faf(0x568)](_0x1ffb94)),_0x57ddf1(0xa,_0x22bd76['Inject'](_0x529ffa)),_0x57ddf1(0xb,_0x22bd76[_0x464faf(0x568)](_0x43e255)),_0x57ddf1(0xc,_0x22bd76[_0x464faf(0x544)]),_0x57ddf1(0xd,_0x22bd76[_0x464faf(0x4ae)]),_0x57ddf1(0xe,_0x1b23d2[_0x464faf(0x536)]),_0x57ddf1(0xf,_0x22bd76['IPermissionService']),_0x57ddf1(0x10,_0x22bd76[_0x464faf(0x230)](_0x4b8af1))],_0x19e906[_0x464faf(0x492)]),_0x19e906[_0x464faf(0x228)]=class extends _0x19e906['CollaborationEntity']{constructor(_0x413ef6,_0x3e51c0,_0x855320,_0x2021a4,_0xa3dba5,_0x27bcde,_0x517aaf,_0x3efce0,_0x117628,_0xd048f8,_0x40c890,_0x53a6e9,_0x48d2f2,_0x3a6719){const _0x175a5c=_0x464faf;super(_0x413ef6,_0x855320,_0x3e51c0,_0x2021a4,_0xa3dba5,_0x27bcde,_0x517aaf,_0x3efce0,_0xd048f8,_0x40c890,_0x53a6e9,_0x48d2f2,_0x3a6719),this[_0x175a5c(0x268)]=_0x413ef6,this[_0x175a5c(0x2e4)]=_0x3e51c0,this['_sheetTransformSelectionsService']=_0x117628;}[_0x464faf(0x4fb)](){const _0x594009=_0x464faf,_0x5bdca4=super[_0x594009(0x4fb)]();return _0x5bdca4[_0x594009(0x3e0)]=_0x48d7ee=>this['_sheetTransformSelectionsService']['transformSelections'](_0x48d7ee),_0x5bdca4;}async['_init'](){const _0x6ad8c1=_0x464faf,_0x3053ae=await super['_init']();return this[_0x6ad8c1(0x241)](this[_0x6ad8c1(0x382)]['onCommandExecuted']((_0x2a4540,_0x2e62f4)=>{const _0x583b1c=_0x6ad8c1;if(_0x2a4540[_0x583b1c(0x2e4)]!==_0x22bd76['CommandType'][_0x583b1c(0x2eb)]||_0x2e62f4!=null&&_0x2e62f4[_0x583b1c(0x404)]||_0x2e62f4!=null&&_0x2e62f4[_0x583b1c(0x5bd)])return;const _0x76c9f8=_0x2a4540[_0x583b1c(0x4d5)];if((_0x76c9f8==null?void 0x0:_0x76c9f8[_0x583b1c(0x3eb)])!==this['unitID'])return;const _0x3878d3=_0x2a4540,_0x5b8c25=this[_0x583b1c(0x459)][_0x583b1c(0x2d7)][_0x583b1c(0x2b9)](this['_compressMutationService'][_0x583b1c(0x2d7)][_0x583b1c(0x408)]()[_0x583b1c(0x1f8)])([_0x3878d3],null)||[_0x3878d3];this['_onLocalMutation'](_0x5b8c25[0x0]);})),_0x3053ae;}},_0x19e906[_0x464faf(0x228)]=_0x58e03a([_0x57ddf1(0x3,_0x22bd76['Inject'](_0x22bd76['Injector'])),_0x57ddf1(0x4,_0x22bd76['Inject'](_0x19e906['LocalCacheService'])),_0x57ddf1(0x5,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec[_0x464faf(0x447)])),_0x57ddf1(0x6,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)])),_0x57ddf1(0x7,_0x22bd76[_0x464faf(0x568)](_0x2cb6ec['RevisionService'])),_0x57ddf1(0x8,_0x22bd76[_0x464faf(0x568)](_0xa1505e)),_0x57ddf1(0x9,_0x22bd76['ILogService']),_0x57ddf1(0xa,_0x22bd76[_0x464faf(0x4ae)]),_0x57ddf1(0xb,_0x1b23d2[_0x464faf(0x536)]),_0x57ddf1(0xc,_0x22bd76[_0x464faf(0x281)]),_0x57ddf1(0xd,_0x22bd76[_0x464faf(0x230)](_0x4b8af1))],_0x19e906[_0x464faf(0x228)]);var _0x2e4036=Object[_0x464faf(0x229)],_0x5cac53=Object[_0x464faf(0x36f)],_0x340577=(_0x1f9f14,_0x1f74a4,_0x4670f9,_0x9c16c)=>{const _0x42bbe5=_0x464faf;for(var _0x1e4588=_0x9c16c>0x1?void 0x0:_0x9c16c?_0x5cac53(_0x1f74a4,_0x4670f9):_0x1f74a4,_0x23dee9=_0x1f9f14[_0x42bbe5(0x266)]-0x1,_0x8772d7;_0x23dee9>=0x0;_0x23dee9--)(_0x8772d7=_0x1f9f14[_0x23dee9])&&(_0x1e4588=(_0x9c16c?_0x8772d7(_0x1f74a4,_0x4670f9,_0x1e4588):_0x8772d7(_0x1e4588))||_0x1e4588);return _0x9c16c&&_0x1e4588&&_0x2e4036(_0x1f74a4,_0x4670f9,_0x1e4588),_0x1e4588;},_0x1e3caf=(_0x21a80d,_0x90f666)=>(_0x3ede40,_0x3f554c)=>_0x90f666(_0x3ede40,_0x3f554c,_0x21a80d);_0x19e906['CollaborationController']=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x3f06b6,_0x296a32,_0x5a0d53){const _0x335ff7=_0x464faf;super(),_0x41b507(this,_0x335ff7(0x538),new Map()),_0x41b507(this,_0x335ff7(0x2f2),new _0xb468a3[(_0x335ff7(0x57c))]()),(this[_0x335ff7(0x38a)]=_0x3f06b6,this[_0x335ff7(0x43a)]=_0x296a32,this[_0x335ff7(0x334)]=_0x5a0d53,this[_0x335ff7(0x239)]());}[_0x464faf(0x383)](){const _0x13dd01=_0x464faf;super[_0x13dd01(0x383)](),this[_0x13dd01(0x538)]['forEach'](_0x3bfcee=>_0x3bfcee[_0x13dd01(0x383)]()),this['_entities'][_0x13dd01(0x5be)]();}['getCollabEntity'](_0x191098){const _0x123e1f=_0x464faf;var _0x19655c;return(_0x19655c=this['_entities'][_0x123e1f(0x321)](_0x191098))!=null?_0x19655c:null;}['getCollabEntity$'](_0x44153d){const _0x4a5460=_0x464faf,_0x40777c=this[_0x4a5460(0x1d8)](_0x44153d);return _0x40777c?_0xb468a3['of'](_0x40777c):this['_entityInit$'][_0x4a5460(0x457)](_0x5ac862[_0x4a5460(0x2e9)](_0x303c2f=>_0x303c2f[_0x4a5460(0x268)]===_0x44153d));}[_0x464faf(0x239)](){const _0x3738f6=_0x464faf;this[_0x3738f6(0x334)]['getTypeOfUnitAdded$'](_0x22bd76[_0x3738f6(0x53c)]['UNIVER_SHEET'])[_0x3738f6(0x457)](_0xb468a3[_0x3738f6(0x3d8)](this[_0x3738f6(0x49d)]),_0x5ac862[_0x3738f6(0x5c0)](0x10))[_0x3738f6(0x1d7)](async _0x869c0=>{const _0x1584e3=_0x3738f6,_0x753f8d=_0x869c0[_0x1584e3(0x330)](),_0x5c53b8=await this['_startCollaboration'](_0x753f8d,_0x2341fc[_0x1584e3(0x593)]);this[_0x1584e3(0x538)]['set'](_0x753f8d,_0x5c53b8);}),this['_univerInstanceService'][_0x3738f6(0x390)](_0x22bd76[_0x3738f6(0x53c)][_0x3738f6(0x3c1)])['pipe'](_0xb468a3['takeUntil'](this['dispose$']),_0x5ac862['delay'](0x10))['pipe'](_0x5ac862[_0x3738f6(0x2e9)](_0x4a59ef=>!_0x4a59ef[_0x3738f6(0x330)]()[_0x3738f6(0x279)]('__')))[_0x3738f6(0x1d7)](async _0x2a3fa8=>{const _0x59368d=_0x3738f6,_0x5a388a=_0x2a3fa8['getUnitId'](),_0x3c8b7b=await this[_0x59368d(0x1b4)](_0x5a388a,_0x2341fc[_0x59368d(0x3c1)]);this[_0x59368d(0x538)][_0x59368d(0x372)](_0x5a388a,_0x3c8b7b);}),_0xb468a3[_0x3738f6(0x23e)](this[_0x3738f6(0x334)][_0x3738f6(0x377)](_0x22bd76[_0x3738f6(0x53c)][_0x3738f6(0x593)]),this[_0x3738f6(0x334)][_0x3738f6(0x377)](_0x22bd76['UniverInstanceType']['UNIVER_DOC']))[_0x3738f6(0x457)](_0xb468a3['takeUntil'](this['dispose$']))[_0x3738f6(0x1d7)](_0x18632b=>{const _0x5714da=_0x3738f6,_0xfae493=_0x18632b[_0x5714da(0x330)](),_0xa532e5=this[_0x5714da(0x538)][_0x5714da(0x321)](_0xfae493);_0xa532e5&&(_0xa532e5['dispose'](),this[_0x5714da(0x538)]['delete'](_0xfae493));});}async[_0x464faf(0x1b4)](_0x5d6a36,_0x26e3d3){const _0x11ab79=_0x464faf,_0x5ad37b=await this[_0x11ab79(0x43a)][_0x11ab79(0x59c)](_0x5d6a36),_0x100ff5=this[_0x11ab79(0x38a)]['createInstance'](this[_0x11ab79(0x2c4)](_0x26e3d3),_0x5d6a36,_0x26e3d3,_0x5ad37b);return await _0x100ff5[_0x11ab79(0x51d)](),this[_0x11ab79(0x2f2)][_0x11ab79(0x4d2)](_0x100ff5),_0x100ff5;}[_0x464faf(0x2c4)](_0x1dba7a){const _0x23b29f=_0x464faf;switch(_0x1dba7a){case _0x2341fc[_0x23b29f(0x3c1)]:return _0x19e906[_0x23b29f(0x492)];case _0x2341fc[_0x23b29f(0x593)]:return _0x19e906[_0x23b29f(0x228)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1dba7a);}}},_0x19e906[_0x464faf(0x29c)]=_0x340577([_0x1e3caf(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x1e3caf(0x1,_0x22bd76[_0x464faf(0x568)](_0x19e906['CollaborationSessionService'])),_0x1e3caf(0x2,_0x22bd76['IUniverInstanceService'])],_0x19e906[_0x464faf(0x29c)]);const _0x3503fa=[_0x464faf(0x49a),'jiqing500',_0x464faf(0x27f),_0x464faf(0x2fe),'blue400',_0x464faf(0x3ee)];class _0x3ba727 extends _0x22bd76[_0x464faf(0x2b7)]{constructor(){const _0x31f08b=_0x464faf;super(...arguments),_0x41b507(this,_0x31f08b(0x346),new Map()),_0x41b507(this,_0x31f08b(0x48c),0x0);}['assignAColorForMemberID'](_0x5f302c){const _0x45c95f=_0x464faf;if(this['_assignedColors']['has'](_0x5f302c))return this[_0x45c95f(0x346)][_0x45c95f(0x321)](_0x5f302c);const _0x2aa2ac=_0x3503fa[this['_colorIndex']];return this[_0x45c95f(0x48c)]=(this[_0x45c95f(0x48c)]+0x1)%_0x3503fa[_0x45c95f(0x266)],this['_assignedColors'][_0x45c95f(0x372)](_0x5f302c,_0x2aa2ac),_0x2aa2ac;}}var _0x8b6627=Object['defineProperty'],_0x16e67a=Object['getOwnPropertyDescriptor'],_0x1dd5f9=(_0x1839e0,_0x26bd7d,_0x2ed548,_0x129c2f)=>{for(var _0x5d3d51=_0x129c2f>0x1?void 0x0:_0x129c2f?_0x16e67a(_0x26bd7d,_0x2ed548):_0x26bd7d,_0x1aa89e=_0x1839e0['length']-0x1,_0x4b328e;_0x1aa89e>=0x0;_0x1aa89e--)(_0x4b328e=_0x1839e0[_0x1aa89e])&&(_0x5d3d51=(_0x129c2f?_0x4b328e(_0x26bd7d,_0x2ed548,_0x5d3d51):_0x4b328e(_0x5d3d51))||_0x5d3d51);return _0x129c2f&&_0x5d3d51&&_0x8b6627(_0x26bd7d,_0x2ed548,_0x5d3d51),_0x5d3d51;},_0x368856=(_0x48474d,_0x37b750)=>(_0x4c6271,_0x682845)=>_0x37b750(_0x4c6271,_0x682845,_0x48474d);const _0x33ed8e=0x12c,_0x4ad49f=0x64,_0x2669ae=()=>{let _0x5c7079=[],_0x59c5ad=!0x1;return _0xb65b17=>{_0x5c7079['push'](_0xb65b17),_0x59c5ad||(_0x59c5ad=!0x0,setTimeout(()=>{const _0x4962ec=_0x437d;_0x5c7079[_0x4962ec(0x1fc)](_0x45309a=>_0x45309a()),_0x5c7079=[],_0x59c5ad=!0x1;}));};};let _0x5629d8=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x597173,_0xc0dfdd,_0x53fdc4,_0xb531b8,_0x5c3435,_0x2ba086,_0x597357,_0x5eb05f){const _0x37dbcd=_0x464faf;super(),_0x41b507(this,_0x37dbcd(0x26c),!0x1),_0x41b507(this,'_init',!0x1),_0x41b507(this,_0x37dbcd(0x54a),new _0xb468a3[(_0x37dbcd(0x579))](new Map())),_0x41b507(this,'cursorInfo$',this[_0x37dbcd(0x54a)]['asObservable']()),_0x41b507(this,_0x37dbcd(0x464),new _0xb468a3[(_0x37dbcd(0x579))]([])),_0x41b507(this,'roomMembers$',this[_0x37dbcd(0x464)][_0x37dbcd(0x457)](_0xb468a3[_0x37dbcd(0x44d)](_0x33ed8e))),_0x41b507(this,_0x37dbcd(0x4fe),_0x113112((_0x874e0d,_0x9b3e8d)=>{const _0x5d3113=_0x37dbcd,_0x32fecc={'eventID':_0x2cb6ec[_0x5d3113(0x312)][_0x5d3113(0x39c)],'data':{'unitID':this[_0x5d3113(0x268)],'memberID':this['_session']['getMemberID'](),'selection':_0x505ad4[_0x5d3113(0x386)](_0x874e0d,_0x9b3e8d[_0x5d3113(0x22e)])}};this['_session'][_0x5d3113(0x427)](_0x32fecc,this[_0x5d3113(0x268)]);},_0x4ad49f)),(this[_0x37dbcd(0x268)]=_0x597173,this['_session']=_0xc0dfdd,this['_injector']=_0x53fdc4,this[_0x37dbcd(0x1df)]=_0xb531b8,this['_memberService']=_0x5c3435,this[_0x37dbcd(0x334)]=_0x2ba086,this[_0x37dbcd(0x382)]=_0x597357,this['_refRangeService']=_0x5eb05f);}get[_0x464faf(0x3f8)](){const _0x31e270=_0x464faf;return this[_0x31e270(0x54a)][_0x31e270(0x4f1)]();}get[_0x464faf(0x40c)](){const _0x339963=_0x464faf;return this[_0x339963(0x464)][_0x339963(0x4f1)]();}['dispose'](){const _0x2bb012=_0x464faf;super[_0x2bb012(0x383)](),this[_0x2bb012(0x54a)][_0x2bb012(0x4d2)](new Map()),this[_0x2bb012(0x54a)][_0x2bb012(0x3f9)](),this[_0x2bb012(0x464)]['next']([]),this[_0x2bb012(0x464)]['complete']();}[_0x464faf(0x51d)](){const _0x189774=_0x464faf;this[_0x189774(0x239)]||(this['_init']=!0x0,this[_0x189774(0x211)]['sessionStatus$'][_0x189774(0x457)](_0xb468a3[_0x189774(0x3d8)](this[_0x189774(0x49d)]))[_0x189774(0x1d7)](_0x892e1d=>{const _0x130592=_0x189774;_0x892e1d===_0x4d9058[_0x130592(0x50f)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x189774(0x211)][_0x189774(0x3f2)][_0x189774(0x457)](_0xb468a3[_0x189774(0x3d8)](this[_0x189774(0x49d)]))['subscribe'](_0x4c3a46=>{const _0x1855f0=_0x189774,_0xd347bc=_0x4c3a46[_0x1855f0(0x571)];_0xd347bc===_0x2cb6ec[_0x1855f0(0x312)][_0x1855f0(0x39c)]&&this[_0x1855f0(0x419)](_0x4c3a46),_0xd347bc===_0x2cb6ec['CollaborationEvent'][_0x1855f0(0x4c1)]&&this['_onCursorDelete'](_0x4c3a46);}),this['_onRefRangeChange'](),this[_0x189774(0x241)](this[_0x189774(0x382)][_0x189774(0x3da)](_0x3b5685=>{const _0x1c5ad3=_0x189774;if(this[_0x1c5ad3(0x26c)]&&_0x3b5685['id']===_0x38d7d8[_0x1c5ad3(0x4a7)]['id']&&_0x3b5685[_0x1c5ad3(0x4d5)][_0x1c5ad3(0x3eb)]===this['unitID']){const _0x55a718=_0x3b5685['params'];this[_0x1c5ad3(0x4fe)](_0x55a718[_0x1c5ad3(0x574)],_0x55a718[_0x1c5ad3(0x4d4)][0x0]);}})));}[_0x464faf(0x419)](_0x3cf5f5){const _0x5cfabb=_0x464faf;var _0x51e62e,_0x551d6f;const {memberID:_0x3ada14,selection:_0x1eee65}=_0x3cf5f5['data'],{sheetName:_0x4b65cc,range:_0x13883f}=_0x505ad4[_0x5cfabb(0x4d7)](_0x1eee65),_0x55e885={'name':(_0x551d6f=(_0x51e62e=this['_memberService'][_0x5cfabb(0x30f)](this[_0x5cfabb(0x268)],_0x3ada14))==null?void 0x0:_0x51e62e[_0x5cfabb(0x51b)])!=null?_0x551d6f:_0x5cfabb(0x560),'range':this[_0x5cfabb(0x3dd)](_0x4b65cc,_0x13883f),'sheetID':_0x4b65cc,'color':this[_0x5cfabb(0x1df)][_0x5cfabb(0x25e)](_0x3ada14),'selection':_0x1eee65},_0x114c90=this[_0x5cfabb(0x3f8)];_0x114c90[_0x5cfabb(0x372)](_0x3ada14,_0x55e885),this[_0x5cfabb(0x54a)][_0x5cfabb(0x4d2)](_0x114c90);}[_0x464faf(0x202)](_0x1f2211){const _0x38babd=_0x464faf,{memberID:_0x501bff}=_0x1f2211[_0x38babd(0x25b)],_0x201583=this[_0x38babd(0x3f8)];_0x201583['delete'](_0x501bff),this[_0x38babd(0x54a)][_0x38babd(0x4d2)](_0x201583);}[_0x464faf(0x3dd)](_0x5d57f8,_0x44bf43){const _0x43ac1e=_0x464faf;var _0x213c47,_0x16eefd;const _0x2eb2e9=(_0x16eefd=(_0x213c47=this[_0x43ac1e(0x334)]['getUniverSheetInstance'](this[_0x43ac1e(0x268)]))==null?void 0x0:_0x213c47['getSheetBySheetId'](_0x5d57f8))==null?void 0x0:_0x16eefd[_0x43ac1e(0x33d)]();return(_0x2eb2e9==null?void 0x0:_0x2eb2e9[_0x43ac1e(0x26a)](_0x9f3bbf=>_0x22bd76[_0x43ac1e(0x57f)][_0x43ac1e(0x22d)](_0x9f3bbf,_0x44bf43)))||_0x44bf43;}[_0x464faf(0x49b)](){const _0x1594b0=_0x464faf,_0x7ee62d=new _0x22bd76['DisposableCollection'](),_0x2bf23b=_0x2669ae(),_0x1bbe6a=()=>{const _0x425bd3=_0x437d;_0x7ee62d[_0x425bd3(0x383)]();const _0x4ed978=(_0x2ab99b,_0x1da3e5,_0x575a28,_0x3cbe5d)=>{const _0x509eb3=_0x425bd3;let _0x2025ca=[];switch(_0x2ab99b['id']){case _0x38d7d8[_0x509eb3(0x50e)]['DeleteRangeMoveLeftCommandId']:{_0x2025ca=_0x38d7d8[_0x509eb3(0x440)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x553)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x1ee)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)]['InsertColCommandId']:{_0x2025ca=_0x38d7d8[_0x509eb3(0x572)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8['EffectRefRangId'][_0x509eb3(0x316)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x50c)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x1af)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x33b)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x493)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x2ed)](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x325)]:{_0x2025ca=_0x38d7d8['handleMoveRange'](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)]['RemoveColCommandId']:{_0x2025ca=_0x38d7d8['handleIRemoveCol'](_0x2ab99b,_0x3cbe5d);break;}case _0x38d7d8[_0x509eb3(0x50e)][_0x509eb3(0x46a)]:{_0x2025ca=_0x38d7d8[_0x509eb3(0x1c2)](_0x2ab99b,_0x3cbe5d);break;}}const _0x1b9dc8=_0x38d7d8['runRefRangeMutations'](_0x2025ca,_0x3cbe5d),_0x3f102e=this[_0x509eb3(0x3f8)]['get'](_0x1da3e5);if(_0x3f102e&&_0x1b9dc8){const _0x5d1e76={..._0x3f102e,'range':_0x1b9dc8};this[_0x509eb3(0x3f8)][_0x509eb3(0x372)](_0x1da3e5,_0x5d1e76),_0x2bf23b(()=>{const _0x1ac08c=_0x509eb3,_0xddb929=this[_0x1ac08c(0x448)][_0x1ac08c(0x36a)](_0x1b9dc8,_0x587379=>(_0xddb929['dispose'](),_0x4ed978(_0x587379,_0x1da3e5,_0x575a28,_0x1b9dc8)));_0x7ee62d[_0x1ac08c(0x59b)](_0xddb929);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x425bd3(0x1fc)]((_0x50b11f,_0xff10ff)=>{const _0x286a84=_0x425bd3,{range:_0x20a4d0,sheetID:_0x14aa15}=_0x50b11f,_0x2ab5ce=this[_0x286a84(0x448)]['registerRefRange'](_0x20a4d0,_0x557a1f=>(_0x2ab5ce[_0x286a84(0x383)](),_0x4ed978(_0x557a1f,_0xff10ff,_0x14aa15,_0x20a4d0)));_0x7ee62d[_0x286a84(0x59b)](_0x2ab5ce);});};this[_0x1594b0(0x241)](_0x22bd76[_0x1594b0(0x2ec)](this['_cursorInfo$'][_0x1594b0(0x1d7)](()=>{_0x1bbe6a();})));}[_0x464faf(0x31f)](){const _0x18e56d=_0x464faf;var _0x9d31f8,_0x1086e1;if(this[_0x18e56d(0x26c)]=!0x0,((_0x9d31f8=this[_0x18e56d(0x334)][_0x18e56d(0x5c4)]())==null?void 0x0:_0x9d31f8[_0x18e56d(0x330)]())!==this[_0x18e56d(0x268)])return;const _0x5c99b6=(_0x1086e1=this[_0x18e56d(0x38a)][_0x18e56d(0x321)](_0x38d7d8[_0x18e56d(0x24d)])[_0x18e56d(0x35b)]())==null?void 0x0:_0x1086e1[0x0],_0x27ce89=this[_0x18e56d(0x334)][_0x18e56d(0x43e)](_0x22bd76[_0x18e56d(0x53c)][_0x18e56d(0x593)])[_0x18e56d(0x590)]();_0x5c99b6&&_0x27ce89&&this['_updateLocalCursor'](_0x27ce89[_0x18e56d(0x1ce)](),_0x5c99b6);}[_0x464faf(0x3d4)](){const _0x57ff0d=_0x464faf;this[_0x57ff0d(0x26c)]=!0x1;}};_0x5629d8=_0x1dd5f9([_0x368856(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x368856(0x3,_0x22bd76[_0x464faf(0x568)](_0x3ba727)),_0x368856(0x4,_0x22bd76[_0x464faf(0x568)](_0x27752c)),_0x368856(0x5,_0x22bd76[_0x464faf(0x3a0)]),_0x368856(0x6,_0x22bd76[_0x464faf(0x4ae)]),_0x368856(0x7,_0x22bd76[_0x464faf(0x568)](_0x38d7d8[_0x464faf(0x1b7)]))],_0x5629d8);var _0x39d1db=Object['defineProperty'],_0x5e8739=Object[_0x464faf(0x36f)],_0x146eba=(_0x554a42,_0x143cce,_0x50701a,_0x5af9ed)=>{const _0x5de31f=_0x464faf;for(var _0x3a9826=_0x5af9ed>0x1?void 0x0:_0x5af9ed?_0x5e8739(_0x143cce,_0x50701a):_0x143cce,_0xe94276=_0x554a42[_0x5de31f(0x266)]-0x1,_0x141d26;_0xe94276>=0x0;_0xe94276--)(_0x141d26=_0x554a42[_0xe94276])&&(_0x3a9826=(_0x5af9ed?_0x141d26(_0x143cce,_0x50701a,_0x3a9826):_0x141d26(_0x3a9826))||_0x3a9826);return _0x5af9ed&&_0x3a9826&&_0x39d1db(_0x143cce,_0x50701a,_0x3a9826),_0x3a9826;},_0x472faa=(_0x4208d3,_0x2577d4)=>(_0x40d6ea,_0x3ebba9)=>_0x2577d4(_0x40d6ea,_0x3ebba9,_0x4208d3);const _0x11f165=0x12c,_0x350afd=0x64;let _0x306e68=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x4a29fe,_0xd837f0,_0x17d371,_0xb33bef,_0x53f99a,_0x6c95e6,_0x512906,_0x5d660f,_0x1b72ef){const _0x331024=_0x464faf;super(),_0x41b507(this,_0x331024(0x26c),!0x1),_0x41b507(this,_0x331024(0x239),!0x1),_0x41b507(this,_0x331024(0x54a),new _0xb468a3['BehaviorSubject'](new Map())),_0x41b507(this,_0x331024(0x54e),this[_0x331024(0x54a)][_0x331024(0x45e)]()),_0x41b507(this,'_roomMembers$',new _0xb468a3['BehaviorSubject']([])),_0x41b507(this,_0x331024(0x317),this[_0x331024(0x464)][_0x331024(0x457)](_0xb468a3['debounceTime'](_0x11f165))),_0x41b507(this,_0x331024(0x4fe),_0x113112(_0x21cead=>{const _0x29de9f=_0x331024,_0x55e025={'eventID':_0x2cb6ec[_0x29de9f(0x312)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x29de9f(0x211)][_0x29de9f(0x2b8)](),'selection':_0x33c720(_0x21cead)}};this[_0x29de9f(0x211)]['send'](_0x55e025,this[_0x29de9f(0x268)]);},_0x350afd)),(this['unitID']=_0x4a29fe,this[_0x331024(0x211)]=_0xd837f0,this['_injector']=_0x17d371,this[_0x331024(0x1df)]=_0xb33bef,this[_0x331024(0x4bd)]=_0x53f99a,this['_syncEditingCollabCursorService']=_0x6c95e6,this[_0x331024(0x24e)]=_0x512906,this[_0x331024(0x334)]=_0x5d660f,this[_0x331024(0x382)]=_0x1b72ef);}get[_0x464faf(0x3f8)](){const _0x265e5f=_0x464faf;return this[_0x265e5f(0x54a)]['getValue']();}get[_0x464faf(0x40c)](){const _0x26cae4=_0x464faf;return this[_0x26cae4(0x464)]['getValue']();}[_0x464faf(0x383)](){const _0x375cd9=_0x464faf;super[_0x375cd9(0x383)](),this[_0x375cd9(0x54a)][_0x375cd9(0x4d2)](new Map()),this[_0x375cd9(0x54a)]['complete'](),this['_roomMembers$'][_0x375cd9(0x4d2)]([]),this['_roomMembers$'][_0x375cd9(0x3f9)]();}['init'](){const _0x30cd6a=_0x464faf;this['_init']||(this[_0x30cd6a(0x239)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0xb468a3[_0x30cd6a(0x3d8)](this[_0x30cd6a(0x49d)]))[_0x30cd6a(0x1d7)](_0x521755=>{const _0x52418b=_0x30cd6a;_0x521755===_0x4d9058[_0x52418b(0x50f)]?this[_0x52418b(0x31f)]():this[_0x52418b(0x3d4)]();}),this[_0x30cd6a(0x211)][_0x30cd6a(0x3f2)][_0x30cd6a(0x457)](_0xb468a3['takeUntil'](this[_0x30cd6a(0x49d)]))[_0x30cd6a(0x1d7)](_0x39dc09=>{const _0x3c40a1=_0x30cd6a,_0x540267=_0x39dc09[_0x3c40a1(0x571)];_0x540267===_0x2cb6ec[_0x3c40a1(0x312)][_0x3c40a1(0x39c)]&&this[_0x3c40a1(0x419)](_0x39dc09),_0x540267===_0x2cb6ec[_0x3c40a1(0x312)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x39dc09);}),this[_0x30cd6a(0x241)](this[_0x30cd6a(0x382)]['onCommandExecuted'](_0x597368=>{const _0x45db94=_0x30cd6a,_0x73bf27=_0x597368[_0x45db94(0x4d5)];_0x73bf27!=null&&this['_online']&&_0x597368['id']===_0x369ae4[_0x45db94(0x462)]['id']&&_0x73bf27['unitId']===this[_0x45db94(0x268)]&&_0x73bf27[_0x45db94(0x4ef)]===!0x1&&this['_updateLocalCursor'](_0x73bf27[_0x45db94(0x466)]);})),this[_0x30cd6a(0x578)]['collabCursorState$'][_0x30cd6a(0x457)](_0xb468a3[_0x30cd6a(0x3d8)](this[_0x30cd6a(0x49d)]))['subscribe'](_0x3ee766=>{const _0x30d0ee=_0x30cd6a;if((_0x3ee766==null?void 0x0:_0x3ee766[_0x30d0ee(0x268)])!==this[_0x30d0ee(0x268)])return;const _0x2aa1a9={'eventID':_0x2cb6ec['CollaborationEvent'][_0x30d0ee(0x39c)],'data':_0x3ee766};this[_0x30d0ee(0x419)](_0x2aa1a9);}),this['disposeWithMe'](this['_commandService'][_0x30cd6a(0x3da)](_0x52a6aa=>{const _0x3800b6=_0x30cd6a;if(_0x52a6aa[_0x3800b6(0x4d5)]==null)return;const _0xad3622=_0x52a6aa[_0x3800b6(0x4d5)];if(_0x52a6aa['id']!==_0x369ae4['RichTextEditingMutation']['id']||_0xad3622[_0x3800b6(0x3eb)]!==this[_0x3800b6(0x268)])return;const _0x31f1e4={'id':_0x3800b6(0x305),'params':_0xad3622},_0x4d7824=this['cursorInfo'];for(const [_0x3546fc,_0x3258e2]of _0x4d7824){const _0x576c09={'id':_0x3800b6(0x305),'params':{'unitId':this[_0x3800b6(0x268)],'actions':null,'textRanges':_0x3258e2[_0x3800b6(0x466)]}},_0x1e9657=this['_transformService']['transformMutation'](_0x31f1e4,_0x576c09,!0x1);if(_0x2cb6ec[_0x3800b6(0x204)](_0x1e9657))throw _0x1e9657[_0x3800b6(0x458)];_0x4d7824[_0x3800b6(0x372)](_0x3546fc,{..._0x3258e2,'ranges':_0x1e9657['m2Prime'][_0x3800b6(0x4d5)]['textRanges']});}queueMicrotask(()=>{const _0x21c623=_0x3800b6;this[_0x21c623(0x54a)][_0x21c623(0x4d2)](_0x4d7824);});})));}[_0x464faf(0x419)](_0x4be8f5){const _0x112fbd=_0x464faf;var _0x3c5cc3,_0x5d00d3;const {memberID:_0x1a0e3c,selection:_0x58f287}=_0x4be8f5[_0x112fbd(0x25b)],_0x404e21=_0x488ea0(_0x58f287),_0x3919e1=(_0x5d00d3=(_0x3c5cc3=this[_0x112fbd(0x4bd)][_0x112fbd(0x30f)](this[_0x112fbd(0x268)],_0x1a0e3c))==null?void 0x0:_0x3c5cc3[_0x112fbd(0x51b)])!=null?_0x5d00d3:_0x112fbd(0x560),_0x83fe09={'color':this[_0x112fbd(0x1df)][_0x112fbd(0x25e)](_0x1a0e3c),'name':_0x3919e1,'ranges':_0x404e21},_0x2e4585=this['cursorInfo'];_0x2e4585[_0x112fbd(0x372)](_0x1a0e3c,_0x83fe09),this['_cursorInfo$'][_0x112fbd(0x4d2)](_0x2e4585);}[_0x464faf(0x202)](_0x38272e){const _0x10c0dc=_0x464faf,{memberID:_0x552417}=_0x38272e[_0x10c0dc(0x25b)],_0x24f4a6=this[_0x10c0dc(0x3f8)];_0x24f4a6[_0x10c0dc(0x331)](_0x552417),this['_cursorInfo$']['next'](_0x24f4a6);}[_0x464faf(0x31f)](){const _0x5d9e99=_0x464faf;var _0x106271;if(this[_0x5d9e99(0x26c)]=!0x0,((_0x106271=this[_0x5d9e99(0x334)][_0x5d9e99(0x5c4)]())==null?void 0x0:_0x106271['getUnitId']())!==this[_0x5d9e99(0x268)])return;const _0x566310=this[_0x5d9e99(0x38a)][_0x5d9e99(0x321)](_0x369ae4[_0x5d9e99(0x385)])['getDocRanges']();Array[_0x5d9e99(0x564)](_0x566310)&&_0x566310[_0x5d9e99(0x266)]>0x0&&this[_0x5d9e99(0x4fe)](_0x566310);}[_0x464faf(0x3d4)](){const _0x4ffd24=_0x464faf;this[_0x4ffd24(0x26c)]=!0x1;}};_0x306e68=_0x146eba([_0x472faa(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x472faa(0x3,_0x22bd76['Inject'](_0x3ba727)),_0x472faa(0x4,_0x22bd76[_0x464faf(0x568)](_0x27752c)),_0x472faa(0x5,_0x22bd76[_0x464faf(0x568)](_0x43e255)),_0x472faa(0x6,_0x2cb6ec['ITransformService']),_0x472faa(0x7,_0x22bd76['IUniverInstanceService']),_0x472faa(0x8,_0x22bd76['ICommandService'])],_0x306e68);var _0x4cbfbd=Object[_0x464faf(0x229)],_0x9ff05=Object['getOwnPropertyDescriptor'],_0x1df8a7=(_0x48f5be,_0x1f1629,_0x2f568e,_0x254c48)=>{for(var _0x2a1339=_0x254c48>0x1?void 0x0:_0x254c48?_0x9ff05(_0x1f1629,_0x2f568e):_0x1f1629,_0x193593=_0x48f5be['length']-0x1,_0x24dd7b;_0x193593>=0x0;_0x193593--)(_0x24dd7b=_0x48f5be[_0x193593])&&(_0x2a1339=(_0x254c48?_0x24dd7b(_0x1f1629,_0x2f568e,_0x2a1339):_0x24dd7b(_0x2a1339))||_0x2a1339);return _0x254c48&&_0x2a1339&&_0x4cbfbd(_0x1f1629,_0x2f568e,_0x2a1339),_0x2a1339;},_0xab6fba=(_0x26402e,_0x298795)=>(_0x1b1c8a,_0x3dfd7b)=>_0x298795(_0x1b1c8a,_0x3dfd7b,_0x26402e);let _0x3c33bf=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x3cb2b7,_0x1ead7f,_0x263006){const _0x4126be=_0x464faf;super(),_0x41b507(this,_0x4126be(0x538),new Map()),_0x41b507(this,_0x4126be(0x2f2),new _0xb468a3['Subject']()),(this[_0x4126be(0x334)]=_0x3cb2b7,this[_0x4126be(0x38a)]=_0x1ead7f,this[_0x4126be(0x43a)]=_0x263006,this[_0x4126be(0x239)]());}[_0x464faf(0x383)](){const _0x5c1f1a=_0x464faf;super[_0x5c1f1a(0x383)](),this[_0x5c1f1a(0x2f2)][_0x5c1f1a(0x3f9)](),this[_0x5c1f1a(0x538)][_0x5c1f1a(0x1fc)](_0x541cdf=>_0x541cdf['dispose']());}[_0x464faf(0x2ac)](_0x353dca){const _0xef57c5=_0x464faf;return this[_0xef57c5(0x538)][_0xef57c5(0x2e2)](_0x353dca)?this[_0xef57c5(0x538)][_0xef57c5(0x321)](_0x353dca)[_0xef57c5(0x54e)]:this[_0xef57c5(0x2f2)][_0xef57c5(0x457)](_0xb468a3[_0xef57c5(0x2e9)](_0x4aab81=>_0x4aab81[_0xef57c5(0x268)]===_0x353dca),_0xb468a3[_0xef57c5(0x506)](_0x25b22d=>_0x25b22d['cursorInfo$']));}[_0x464faf(0x239)](){const _0x120071=_0x464faf;this[_0x120071(0x334)][_0x120071(0x390)](_0x22bd76[_0x120071(0x53c)][_0x120071(0x593)])[_0x120071(0x457)](_0xb468a3[_0x120071(0x3d8)](this['dispose$']))[_0x120071(0x1d7)](async _0x46412d=>{const _0x4b1b6e=_0x120071,_0x21fb1d=_0x46412d[_0x4b1b6e(0x330)](),_0x1d82b4=await this[_0x4b1b6e(0x434)](_0x21fb1d);this[_0x4b1b6e(0x2f2)]['next'](_0x1d82b4),this[_0x4b1b6e(0x538)][_0x4b1b6e(0x372)](_0x21fb1d,_0x1d82b4);}),this[_0x120071(0x334)]['getTypeOfUnitAdded$'](_0x22bd76['UniverInstanceType'][_0x120071(0x3c1)])[_0x120071(0x457)](_0xb468a3[_0x120071(0x3d8)](this[_0x120071(0x49d)]))['pipe'](_0xb468a3[_0x120071(0x2e9)](_0x16b85e=>!_0x16b85e[_0x120071(0x330)]()[_0x120071(0x279)]('__')))[_0x120071(0x1d7)](async _0x46e03b=>{const _0x5e6f0e=_0x120071,_0x43843e=_0x46e03b[_0x5e6f0e(0x330)](),_0x441de4=await this[_0x5e6f0e(0x3d9)](_0x43843e);this[_0x5e6f0e(0x2f2)]['next'](_0x441de4),this['_entities'][_0x5e6f0e(0x372)](_0x43843e,_0x441de4);}),_0xb468a3[_0x120071(0x23e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x22bd76[_0x120071(0x53c)]['UNIVER_DOC']),this[_0x120071(0x334)][_0x120071(0x377)](_0x22bd76[_0x120071(0x53c)][_0x120071(0x593)]))[_0x120071(0x457)](_0xb468a3[_0x120071(0x3d8)](this[_0x120071(0x49d)]))[_0x120071(0x1d7)](_0x1c7b0a=>{const _0x3e7a4f=_0x120071,_0x1ddcc6=_0x1c7b0a['getUnitId'](),_0x32f584=this[_0x3e7a4f(0x538)][_0x3e7a4f(0x321)](_0x1ddcc6);_0x32f584&&(_0x32f584[_0x3e7a4f(0x383)](),this['_entities']['delete'](_0x1ddcc6));});}async[_0x464faf(0x434)](_0x4c331f){const _0x31e6fa=_0x464faf,_0x8a55fc=await this[_0x31e6fa(0x43a)]['requireSession'](_0x4c331f),_0x598c79=this['_injector'][_0x31e6fa(0x3ae)](_0x5629d8,_0x4c331f,_0x8a55fc);return _0x598c79['init'](),_0x598c79;}async[_0x464faf(0x3d9)](_0x67fa0e){const _0x1cfe7d=_0x464faf,_0x63a0db=await this[_0x1cfe7d(0x43a)][_0x1cfe7d(0x59c)](_0x67fa0e),_0x521454=this[_0x1cfe7d(0x38a)][_0x1cfe7d(0x3ae)](_0x306e68,_0x67fa0e,_0x63a0db);return _0x521454[_0x1cfe7d(0x51d)](),_0x521454;}};_0x3c33bf=_0x1df8a7([_0x22bd76[_0x464faf(0x3c4)](_0x22bd76[_0x464faf(0x366)][_0x464faf(0x5b2)],_0x3c33bf),_0xab6fba(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0xab6fba(0x1,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0xab6fba(0x2,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x2ca)]))],_0x3c33bf);const _0x3b41c1=0x14,_0x263f3d=0xc8,_0x2f603f=0x4,_0x393856=0x5;function _0x3b4a0c(_0x438769,_0x28ac9f){const _0x24ab0b=_0x464faf;let {radius:_0x240307,width:_0x8c1713,height:_0x2dbb02}=_0x28ac9f;_0x240307=_0x240307!=null?_0x240307:0x0,_0x8c1713=_0x8c1713!=null?_0x8c1713:0x1e,_0x2dbb02=_0x2dbb02!=null?_0x2dbb02:0x1e;let _0x5c60ca=0x0,_0x1ac65c=0x0,_0xc62d0b=0x0;_0x5c60ca=_0x1ac65c=_0xc62d0b=Math[_0x24ab0b(0x39f)](_0x240307,_0x8c1713/0x2,_0x2dbb02/0x2),_0x438769[_0x24ab0b(0x294)](),_0x438769[_0x24ab0b(0x1db)](_0x5c60ca,0x0),_0x438769[_0x24ab0b(0x27a)](_0x8c1713-_0x1ac65c,0x0),_0x438769[_0x24ab0b(0x252)](_0x8c1713-_0x1ac65c,_0x1ac65c,_0x1ac65c,Math['PI']*0x3/0x2,0x0,!0x1),_0x438769[_0x24ab0b(0x27a)](_0x8c1713,_0x2dbb02-_0xc62d0b),_0x438769[_0x24ab0b(0x252)](_0x8c1713-_0xc62d0b,_0x2dbb02-_0xc62d0b,_0xc62d0b,0x0,Math['PI']/0x2,!0x1),_0x438769[_0x24ab0b(0x27a)](0x0,_0x2dbb02),_0x438769[_0x24ab0b(0x27a)](0x0,_0x5c60ca),_0x438769[_0x24ab0b(0x252)](_0x5c60ca,_0x5c60ca,_0x5c60ca,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x438769[_0x24ab0b(0x208)](),_0x28ac9f[_0x24ab0b(0x326)]&&(_0x438769['save'](),_0x438769[_0x24ab0b(0x2d4)]=_0x28ac9f['fill'],_0x28ac9f[_0x24ab0b(0x3cb)]===_0x24ab0b(0x450)?_0x438769[_0x24ab0b(0x326)](_0x24ab0b(0x450)):_0x438769[_0x24ab0b(0x326)](),_0x438769[_0x24ab0b(0x37f)]());}class _0x3e52ae extends _0x3ab0d3[_0x464faf(0x4ed)]{constructor(_0x1d9228,_0x536d0e){const _0x5bd3aa=_0x464faf;super(_0x1d9228,_0x536d0e),_0x41b507(this,_0x5bd3aa(0x280)),_0x41b507(this,_0x5bd3aa(0x393)),(this[_0x5bd3aa(0x280)]=_0x536d0e==null?void 0x0:_0x536d0e[_0x5bd3aa(0x280)],this[_0x5bd3aa(0x393)]=_0x536d0e==null?void 0x0:_0x536d0e[_0x5bd3aa(0x393)]);}static[_0x464faf(0x2d9)](_0x124e69,_0x195935){const _0x336963=_0x464faf,{text:_0x23b9e4,color:_0x3b9baa}=_0x195935;_0x124e69[_0x336963(0x2d1)](),_0x124e69['font']=_0x336963(0x2a9);const _0x5f116b=_0x124e69[_0x336963(0x1a0)](_0x23b9e4)['width'],_0x3b53b2=Math['min'](_0x5f116b+0x2*_0x2f603f,_0x263f3d);_0x3b4a0c(_0x124e69,{'height':_0x3b41c1,'radius':0x4,'width':_0x3b53b2,'fill':_0x3b9baa,'evented':!0x1}),_0x124e69[_0x336963(0x2d4)]=_0x336963(0x1f7);const _0x336b0b=_0x2f603f,_0x5bc210=_0x3b41c1-_0x393856,_0x1efc8c=_0x263f3d-0x2*_0x2f603f;if(_0x5f116b>_0x1efc8c){let _0x4953c3='',_0x5c7b7d=0x0;for(const _0x4a4564 of _0x23b9e4){const _0x21eb30=_0x124e69[_0x336963(0x1a0)](_0x4a4564)[_0x336963(0x2f6)];if(_0x5c7b7d+_0x21eb30<=_0x1efc8c-_0x124e69[_0x336963(0x1a0)](_0x336963(0x2cb))[_0x336963(0x2f6)])_0x4953c3+=_0x4a4564,_0x5c7b7d+=_0x21eb30;else{_0x4953c3+='...';break;}}_0x124e69[_0x336963(0x34f)](_0x4953c3,_0x336b0b,_0x5bc210);}else _0x124e69[_0x336963(0x34f)](_0x23b9e4,_0x336b0b,_0x5bc210);_0x124e69[_0x336963(0x37f)]();}['_draw'](_0x3b070b){_0x3e52ae['drawWith'](_0x3b070b,this);}}const _0xede5ef='collab-text-anchor-',_0xcd1710=_0x464faf(0x2df),_0x2ce90f='collab-rect-range-',_0x256ab1=0x6,_0x12357f=1.5,_0x31547a=0x4,_0x211c82=1.5,_0x4d0ab7='rgba(255,\x20255,\x20255,\x200.01)';class _0xec126a{constructor(_0x5d70a7,_0x4cc6ec,_0x53e8b7,_0x4dbf26){const _0x30fc0c=_0x464faf;_0x41b507(this,_0x30fc0c(0x1a6),[]),_0x41b507(this,_0x30fc0c(0x4ca),null),_0x41b507(this,'_textBubble',null),_0x41b507(this,'_anchorDot',null),_0x41b507(this,'_hideTimer',null),_0x41b507(this,_0x30fc0c(0x213),null),(this['_cursor']=_0x5d70a7,this['_scene']=_0x4cc6ec,this['_docSkeleton']=_0x53e8b7,this[_0x30fc0c(0x472)]=_0x4dbf26,this[_0x30fc0c(0x43c)]());}set[_0x464faf(0x1a1)](_0x3e26c4){const _0x32a540=_0x464faf;_0x3e26c4?(this[_0x32a540(0x542)]&&this[_0x32a540(0x542)][_0x32a540(0x233)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x32a540(0x542)]&&this[_0x32a540(0x542)][_0x32a540(0x550)](),this['_textBubble']&&this[_0x32a540(0x216)][_0x32a540(0x233)]());}[_0x464faf(0x383)](){const _0x118499=_0x464faf;for(const _0x4c7e44 of this[_0x118499(0x1a6)])_0x4c7e44[_0x118499(0x383)]();this[_0x118499(0x216)]&&this['_textBubble'][_0x118499(0x383)](),this[_0x118499(0x542)]&&this['_anchorDot'][_0x118499(0x383)](),this[_0x118499(0x4ca)]&&this[_0x118499(0x4ca)][_0x118499(0x383)](),this['_eventUnsubscribe']&&this[_0x118499(0x213)]();}[_0x464faf(0x43c)](){const _0x221934=_0x464faf;var _0x25910f;const {_docSkeleton:_0x4aab2d,_document:_0x1d340e}=this,{color:_0x2965f8,name:_0x51f83f,ranges:_0x3e22ee}=this[_0x221934(0x33a)],_0x2a2f92=_0x1d340e[_0x221934(0x495)](),{docsLeft:_0x15aeff,docsTop:_0x4b397a}=_0x2a2f92,_0x2ce7d6=new _0x3efaf4[(_0x221934(0x48b))](_0x2a2f92,_0x4aab2d);for(const {startOffset:_0x26698c,endOffset:_0x253092,collapsed:_0x5422fd,isActive:_0x30b0e9}of _0x3e22ee){const _0x17d0dd=_0x4aab2d[_0x221934(0x552)](_0x26698c),_0x46f290=_0x4aab2d[_0x221934(0x552)](_0x253092);if(_0x30b0e9){const {contentBoxPointGroup:_0x305053}=_0x2ce7d6[_0x221934(0x39b)](_0x46f290,_0x46f290);if(_0x305053['length']===0x0)continue;this[_0x221934(0x473)](_0x2965f8,_0x305053,_0x15aeff,_0x4b397a,_0x51f83f),this[_0x221934(0x213)]=this['_handleHover']();}if(!_0x5422fd&&_0x17d0dd&&_0x46f290){if(_0x3efaf4[_0x221934(0x3ec)](_0x17d0dd,_0x46f290)){const _0x2bf246=new _0x3efaf4[(_0x221934(0x37c))](_0x2a2f92,_0x4aab2d),{pointGroup:_0x3db610}=(_0x25910f=_0x2bf246[_0x221934(0x39b)](_0x17d0dd,_0x46f290))!=null?_0x25910f:{};if(_0x3db610==null||_0x3db610[_0x221934(0x266)]===0x0)continue;this[_0x221934(0x205)](_0x2965f8,_0x3db610,_0x15aeff,_0x4b397a);}else{const {contentBoxPointGroup:_0x3a29b3}=_0x2ce7d6[_0x221934(0x39b)](_0x17d0dd,_0x46f290);if(_0x3a29b3['length']===0x0)continue;this[_0x221934(0x3aa)](_0x2965f8,_0x3a29b3,_0x15aeff,_0x4b397a);}}}}[_0x464faf(0x473)](_0x166b86,_0x47612b,_0x3471a6,_0x976e3c,_0x5cbd52){const _0x279ce1=_0x464faf,_0xef9ac6=this[_0x279ce1(0x1a4)](_0x47612b),{left:_0xe74800,top:_0x177be3,height:_0x527d8c}=_0xef9ac6,_0x42fee3=this['_getScale'](),_0x2e9d0f=_0x211c82/_0x42fee3,_0x230157=new _0x3ab0d3['Rect'](_0xede5ef+_0x22bd76[_0x279ce1(0x223)][_0x279ce1(0x44c)](_0x256ab1),{'left':_0xe74800+_0x3471a6-_0x2e9d0f,'top':_0x177be3+_0x976e3c,'height':_0x527d8c,'width':_0x12357f,'fill':_0x166b86||_0x3ab0d3[_0x279ce1(0x52c)](_0x22bd76[_0x279ce1(0x319)][_0x279ce1(0x219)],0x0),'strokeWidth':_0x2e9d0f,'stroke':_0x4d0ab7,'evented':!0x0});this[_0x279ce1(0x4ca)]=_0x230157,this[_0x279ce1(0x454)][_0x279ce1(0x541)](_0x230157,_0x3efaf4[_0x279ce1(0x416)]);const _0x30d27d=new _0x3ab0d3[(_0x279ce1(0x5a9))](_0xede5ef+_0x22bd76[_0x279ce1(0x223)]['generateRandomId'](_0x256ab1),{'left':_0xe74800+_0x3471a6-_0x2e9d0f,'top':_0x177be3+_0x976e3c-_0x31547a/0x2,'height':_0x31547a,'width':_0x31547a,'fill':_0x166b86||_0x3ab0d3[_0x279ce1(0x52c)](_0x22bd76[_0x279ce1(0x319)][_0x279ce1(0x219)],0x0),'strokeWidth':0x0,'stroke':_0x166b86||_0x3ab0d3['getColor'](_0x22bd76[_0x279ce1(0x319)][_0x279ce1(0x219)],0x0),'evented':!0x1});this[_0x279ce1(0x542)]=_0x30d27d,this[_0x279ce1(0x454)][_0x279ce1(0x541)](_0x30d27d,_0x3efaf4[_0x279ce1(0x416)]);const _0x19f619=new _0x3e52ae(_0xede5ef+_0x22bd76[_0x279ce1(0x223)][_0x279ce1(0x44c)](_0x256ab1),{'left':_0xe74800+_0x3471a6-_0x2e9d0f,'top':_0x177be3+_0x976e3c-_0x3b41c1,'text':_0x5cbd52,'color':_0x166b86});this[_0x279ce1(0x216)]=_0x19f619,this['_scene']['addObject'](_0x19f619,_0x3efaf4[_0x279ce1(0x416)]),this[_0x279ce1(0x1a1)]=!0x1;}[_0x464faf(0x234)](){const _0x423d7c=_0x464faf,_0x44388b=this[_0x423d7c(0x4ca)][_0x423d7c(0x3db)][_0x423d7c(0x32c)](()=>{const _0x3d7115=_0x423d7c;this[_0x3d7115(0x1a1)]=!0x0;}),_0x802892=this[_0x423d7c(0x4ca)][_0x423d7c(0x45b)][_0x423d7c(0x32c)](()=>{const _0x3cc501=_0x423d7c;this['_hideTimer']&&clearTimeout(this[_0x3cc501(0x5a3)]),this[_0x3cc501(0x5a3)]=setTimeout(()=>{const _0x4b6e78=_0x3cc501;this[_0x4b6e78(0x1a1)]=!0x1;},0x7d0);});return()=>{const _0x1b1dba=_0x423d7c;_0x44388b[_0x1b1dba(0x2bb)](),_0x802892[_0x1b1dba(0x2bb)]();};}[_0x464faf(0x3aa)](_0xc03031,_0x564d8d,_0x2c31fe,_0x4cdeec){const _0x38e9f2=_0x464faf,_0x35a55b=new _0x22bd76[(_0x38e9f2(0x250))](_0xc03031)[_0x38e9f2(0x1e8)](0.2)[_0x38e9f2(0x4a1)](),_0x4ecaae=new _0x3ab0d3[(_0x38e9f2(0x335))](_0xcd1710+_0x22bd76[_0x38e9f2(0x223)][_0x38e9f2(0x44c)](_0x256ab1),{'pointsGroup':_0x564d8d,'fill':_0x35a55b||_0x3ab0d3['getColor'](_0x22bd76['COLORS'][_0x38e9f2(0x219)],0.2),'left':_0x2c31fe,'top':_0x4cdeec,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4ecaae),this[_0x38e9f2(0x454)][_0x38e9f2(0x541)](_0x4ecaae,_0x3efaf4[_0x38e9f2(0x416)]);}['_drawRectRange'](_0x4d35a2,_0x340b79,_0x150712,_0x119248){const _0x188873=_0x464faf,_0x452f2b=new _0x22bd76['ColorKit'](_0x4d35a2)['setAlpha'](0.2)['toRgbString'](),_0x5b7052=new _0x3ab0d3[(_0x188873(0x335))](_0x2ce90f+_0x22bd76[_0x188873(0x223)][_0x188873(0x44c)](_0x256ab1),{'pointsGroup':_0x340b79,'fill':_0x452f2b||_0x3ab0d3[_0x188873(0x52c)](_0x22bd76[_0x188873(0x319)][_0x188873(0x219)],0.2),'left':_0x150712,'top':_0x119248,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x188873(0x1a6)][_0x188873(0x4a6)](_0x5b7052),this[_0x188873(0x454)]['addObject'](_0x5b7052,_0x3efaf4[_0x188873(0x416)]);}['_getAnchorBounding'](_0x51e950){const _0x4adbc1=_0x51e950[0x0],_0x14da38=_0x4adbc1[0x0],_0x1290ee=_0x4adbc1[0x2],{x:_0x3801ad,y:_0x430fdd}=_0x14da38,{x:_0x4a7112,y:_0x59cfa1}=_0x1290ee;return{'left':_0x3801ad,'top':_0x430fdd,'width':_0x4a7112-_0x3801ad,'height':_0x59cfa1-_0x430fdd};}[_0x464faf(0x485)](){const _0x37bdb4=_0x464faf,{scaleX:_0x4c6c16,scaleY:_0x3531fd}=this[_0x37bdb4(0x454)][_0x37bdb4(0x300)]();return Math[_0x37bdb4(0x3b9)](_0x4c6c16,_0x3531fd);}}var _0x26ebb7=Object[_0x464faf(0x229)],_0x2bd9e8=Object[_0x464faf(0x36f)],_0x304ec6=(_0x4bdefb,_0x4beba0,_0xbb09e2,_0x5ae4c2)=>{const _0x290ad0=_0x464faf;for(var _0x52662a=_0x5ae4c2>0x1?void 0x0:_0x5ae4c2?_0x2bd9e8(_0x4beba0,_0xbb09e2):_0x4beba0,_0x5909fa=_0x4bdefb[_0x290ad0(0x266)]-0x1,_0x1eb43a;_0x5909fa>=0x0;_0x5909fa--)(_0x1eb43a=_0x4bdefb[_0x5909fa])&&(_0x52662a=(_0x5ae4c2?_0x1eb43a(_0x4beba0,_0xbb09e2,_0x52662a):_0x1eb43a(_0x52662a))||_0x52662a);return _0x5ae4c2&&_0x52662a&&_0x26ebb7(_0x4beba0,_0xbb09e2,_0x52662a),_0x52662a;},_0x1efb9d=(_0x355bdb,_0x230923)=>(_0x310c71,_0xcb781e)=>_0x230923(_0x310c71,_0xcb781e,_0x355bdb);let _0x507f93=class extends _0x22bd76['RxDisposable']{constructor(_0x85cf13,_0x2da533,_0x3f42fc,_0x30a0c0,_0x5d3409){const _0x5baef0=_0x464faf;super(),_0x41b507(this,_0x5baef0(0x350),[]),_0x41b507(this,_0x5baef0(0x2c9),[]),(this[_0x5baef0(0x32d)]=_0x85cf13,this[_0x5baef0(0x2c0)]=_0x2da533,this['_collabCursorController']=_0x3f42fc,this[_0x5baef0(0x382)]=_0x30a0c0,this[_0x5baef0(0x48d)]=_0x5d3409,this[_0x5baef0(0x239)]());}['_init'](){const _0x4461f9=_0x464faf,_0x597ac0=this[_0x4461f9(0x32d)][_0x4461f9(0x3eb)],_0xd88ad9=this[_0x4461f9(0x2c0)];this[_0x4461f9(0x241)](_0xb468a3[_0x4461f9(0x371)]([this['_collabCursorController'][_0x4461f9(0x2ac)](_0x597ac0),this[_0x4461f9(0x48d)][_0x4461f9(0x3f3)]])[_0x4461f9(0x457)](_0x5ac862['map'](([_0x793e6a,_0x36b34b])=>({'skeleton':_0xd88ad9[_0x4461f9(0x35d)](),'cursors':[..._0x793e6a[_0x4461f9(0x461)]()]['flatMap'](_0x173fe8=>({..._0x173fe8,'color':_0x36b34b[_0x173fe8['color']]}))})))[_0x4461f9(0x1d7)](_0x40f0f2=>{const _0x226758=_0x4461f9;if(this[_0x226758(0x1e6)](),_0x40f0f2){const {skeleton:_0x520f20,cursors:_0x3c56fc}=_0x40f0f2;this[_0x226758(0x569)](_0x520f20,_0x3c56fc);}})),this[_0x4461f9(0x376)](),this['_initCommandExecutedListener']();}[_0x464faf(0x569)](_0x255f48,_0x1ead70){const _0xbbab8e=_0x464faf,{scene:_0x4614fe,mainComponent:_0x45e044}=this['_context'],_0x52f628=_0x1ead70[_0xbbab8e(0x1bb)](_0x1590d3=>new _0xec126a(_0x1590d3,_0x4614fe,_0x255f48,_0x45e044));this['_cursorShapes']=_0x52f628,this[_0xbbab8e(0x2c9)]=_0x1ead70;}[_0x464faf(0x47a)](){const _0x870e0b=_0x464faf;this['_removeCollabCursors']();const {scene:_0x9ea3ac,mainComponent:_0x2621c8}=this[_0x870e0b(0x32d)],_0x2c7037=this['_docSkeletonManagerService'][_0x870e0b(0x35d)](),_0x32efc3=this[_0x870e0b(0x2c9)][_0x870e0b(0x1bb)](_0x4a2574=>new _0xec126a(_0x4a2574,_0x9ea3ac,_0x2c7037,_0x2621c8));this[_0x870e0b(0x350)]=_0x32efc3;}['_removeCollabCursors'](){const _0x2fd081=_0x464faf;this[_0x2fd081(0x350)][_0x2fd081(0x1fc)](_0x35f638=>_0x35f638[_0x2fd081(0x383)]()),this[_0x2fd081(0x350)]=[];}[_0x464faf(0x2a2)](){const _0x384111=_0x464faf,_0x3ae4a2=[_0x3efaf4[_0x384111(0x3ff)]['id']];this[_0x384111(0x241)](this[_0x384111(0x382)][_0x384111(0x3da)](_0x4ef277=>{const _0xa9a4b4=_0x384111;_0x3ae4a2[_0xa9a4b4(0x573)](_0x4ef277['id'])&&_0x4ef277[_0xa9a4b4(0x4d5)][_0xa9a4b4(0x3eb)]===this[_0xa9a4b4(0x32d)][_0xa9a4b4(0x3eb)]&&this[_0xa9a4b4(0x47a)]();}));}['_initResize'](){const _0x4ff1a2=_0x464faf;this[_0x4ff1a2(0x241)](_0x22bd76[_0x4ff1a2(0x407)](this[_0x4ff1a2(0x32d)][_0x4ff1a2(0x505)]['onTransformChange$'])['pipe'](_0x5ac862[_0x4ff1a2(0x2e9)](_0x1a180f=>_0x1a180f[_0x4ff1a2(0x2e4)]===_0x3ab0d3[_0x4ff1a2(0x3fd)][_0x4ff1a2(0x502)]),_0x5ac862['throttleTime'](0x10))['subscribe'](()=>{const _0x1778d8=_0x4ff1a2;this[_0x1778d8(0x47a)]();}));}};_0x507f93=_0x304ec6([_0x22bd76[_0x464faf(0x3c4)](_0x22bd76['LifecycleStages'][_0x464faf(0x288)],_0x507f93),_0x1efb9d(0x1,_0x22bd76[_0x464faf(0x568)](_0x369ae4[_0x464faf(0x4f6)])),_0x1efb9d(0x2,_0x22bd76[_0x464faf(0x568)](_0x3c33bf)),_0x1efb9d(0x3,_0x22bd76[_0x464faf(0x4ae)]),_0x1efb9d(0x4,_0x22bd76['Inject'](_0x22bd76['ThemeService']))],_0x507f93);const _0x5440ea=0x1,_0x240e97=1.5;class _0x2e24c1 extends _0x3ab0d3[_0x464faf(0x4ed)]{constructor(_0x962275,_0xd8fe9d){const _0x5a6b8f=_0x464faf;super(_0x962275,_0xd8fe9d),_0x41b507(this,_0x5a6b8f(0x2a0)),_0x41b507(this,'_hovered',!0x1),_0x41b507(this,'_range'),_0x41b507(this,'_name',''),_0x41b507(this,_0x5a6b8f(0x354),'top'),_0x41b507(this,_0x5a6b8f(0x4aa)),(_0xd8fe9d&&this[_0x5a6b8f(0x308)](_0xd8fe9d),this[_0x5a6b8f(0x3db)][_0x5a6b8f(0x32c)](()=>this[_0x5a6b8f(0x308)]({'hovered':!0x0})),this[_0x5a6b8f(0x45b)][_0x5a6b8f(0x32c)](()=>this[_0x5a6b8f(0x308)]({'hovered':!0x1})));}['setShapeProps'](_0x1632c4){const _0x5e9fe9=_0x464faf;var _0x3acbb5,_0x2ff473,_0x20ffe0,_0x525970,_0xaae29b,_0x1d0215;this[_0x5e9fe9(0x2a0)]=(_0x3acbb5=_0x1632c4[_0x5e9fe9(0x280)])!=null?_0x3acbb5:this[_0x5e9fe9(0x2a0)],this['_hovered']=(_0x2ff473=_0x1632c4['hovered'])!=null?_0x2ff473:this[_0x5e9fe9(0x1d3)],this[_0x5e9fe9(0x388)]=(_0x20ffe0=_0x1632c4[_0x5e9fe9(0x22e)])!=null?_0x20ffe0:this['_range'],this[_0x5e9fe9(0x327)]=(_0x525970=_0x1632c4[_0x5e9fe9(0x51b)])!=null?_0x525970:this[_0x5e9fe9(0x327)],this['_labelPosition']=(_0xaae29b=_0x1632c4[_0x5e9fe9(0x2a3)])!=null?_0xaae29b:this[_0x5e9fe9(0x354)],this[_0x5e9fe9(0x4aa)]=(_0x1d0215=_0x1632c4[_0x5e9fe9(0x548)])!=null?_0x1d0215:this[_0x5e9fe9(0x4aa)],this[_0x5e9fe9(0x57e)]({'width':_0x1632c4[_0x5e9fe9(0x2f6)],'height':_0x1632c4[_0x5e9fe9(0x39a)]});}[_0x464faf(0x33e)](_0x52e30b){const _0x82ac9d=_0x464faf,{row:_0x1a4835,column:_0x540eb4}=_0x52e30b;if(_0x1a4835>=this[_0x82ac9d(0x388)][_0x82ac9d(0x4e4)]&&_0x1a4835<=this[_0x82ac9d(0x388)][_0x82ac9d(0x52e)]&&_0x540eb4>=this[_0x82ac9d(0x388)][_0x82ac9d(0x345)]&&_0x540eb4<=this[_0x82ac9d(0x388)][_0x82ac9d(0x365)]){this[_0x82ac9d(0x308)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x464faf(0x3e3)](_0x3810cd){return!0x1;}[_0x464faf(0x329)](_0x11bcc7){const _0x2e8c05=_0x464faf;_0x3ab0d3[_0x2e8c05(0x5a9)][_0x2e8c05(0x2d9)](_0x11bcc7,{'width':this['width'],'height':this[_0x2e8c05(0x39a)],'strokeWidth':_0x240e97,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2e8c05(0x4aa)]}),this[_0x2e8c05(0x1d3)]&&(_0x11bcc7['save'](),_0x11bcc7[_0x2e8c05(0x28e)](0x1,0x0,0x0,0x1,this[_0x2e8c05(0x2f6)],this[_0x2e8c05(0x354)]===_0x2e8c05(0x333)?0x0:-_0x3b41c1),_0x3e52ae[_0x2e8c05(0x2d9)](_0x11bcc7,{'text':this[_0x2e8c05(0x327)],'color':this['_color']}),_0x11bcc7[_0x2e8c05(0x37f)]());}}var _0x5c9219=Object[_0x464faf(0x229)],_0x4fc201=Object['getOwnPropertyDescriptor'],_0x3e64a2=(_0xfc5ed9,_0xaf1f1a,_0x59e16a,_0x26dd54)=>{const _0x9dbf2a=_0x464faf;for(var _0x309448=_0x26dd54>0x1?void 0x0:_0x26dd54?_0x4fc201(_0xaf1f1a,_0x59e16a):_0xaf1f1a,_0x227d1d=_0xfc5ed9[_0x9dbf2a(0x266)]-0x1,_0xabf159;_0x227d1d>=0x0;_0x227d1d--)(_0xabf159=_0xfc5ed9[_0x227d1d])&&(_0x309448=(_0x26dd54?_0xabf159(_0xaf1f1a,_0x59e16a,_0x309448):_0xabf159(_0x309448))||_0x309448);return _0x26dd54&&_0x309448&&_0x5c9219(_0xaf1f1a,_0x59e16a,_0x309448),_0x309448;},_0x5517ed=(_0x522d0e,_0x12e273)=>(_0x54765a,_0x4bdf29)=>_0x12e273(_0x54765a,_0x4bdf29,_0x522d0e);const _0x4c4b94=0x1389;let _0x3a7621=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x5f9b06,_0x32c69a,_0x1ba7ae,_0x3ef498){const _0x490924=_0x464faf;super(),_0x41b507(this,_0x490924(0x2c9),new Set()),_0x41b507(this,'_lastPointer',null),(this[_0x490924(0x32d)]=_0x5f9b06,this[_0x490924(0x3e9)]=_0x32c69a,this[_0x490924(0x28f)]=_0x1ba7ae,this[_0x490924(0x48d)]=_0x3ef498,this[_0x490924(0x239)]());}[_0x464faf(0x239)](){const _0x275d07=_0x464faf;this['_sheetSkeletonManagerService'][_0x275d07(0x27b)][_0x275d07(0x457)](_0x5ac862[_0x275d07(0x3d8)](this[_0x275d07(0x49d)]),_0x5ac862[_0x275d07(0x506)](_0x4e1116=>{const _0x36aeab=_0x275d07;if(_0x4e1116){const _0x5a58c9=_0x4e1116[_0x36aeab(0x4a8)];return _0xb468a3['combineLatest'](this[_0x36aeab(0x28f)][_0x36aeab(0x2ac)](this[_0x36aeab(0x32d)][_0x36aeab(0x3eb)]),this[_0x36aeab(0x48d)][_0x36aeab(0x3f3)])[_0x36aeab(0x457)](_0x5ac862[_0x36aeab(0x1bb)](([_0x310402,_0x442429])=>{const _0x13f90e=_0x36aeab,_0x56421c=new Map();return _0x310402[_0x13f90e(0x1fc)]((_0x15011a,_0x4cd682)=>{const _0xdcacbb=_0x13f90e;if(_0x15011a[_0xdcacbb(0x504)]===_0x5a58c9){const _0x394872={..._0x15011a};_0x394872[_0xdcacbb(0x280)]=_0x442429[_0x15011a[_0xdcacbb(0x280)]],_0x56421c[_0xdcacbb(0x372)](_0x4cd682,_0x394872);}}),{'skeleton':_0x4e1116,'cursors':_0x56421c};}));}return _0xb468a3['of']({'skeleton':null,'cursors':new Map()});}))[_0x275d07(0x1d7)](({skeleton:_0x1393b6,cursors:_0x33c7f3})=>{const _0x99ddd1=_0x275d07;this[_0x99ddd1(0x1e6)](),_0x1393b6&&this[_0x99ddd1(0x569)](_0x1393b6,_0x33c7f3);}),this['_sheetSkeletonManagerService'][_0x275d07(0x27b)][_0x275d07(0x1d7)](_0x4cf164=>{const _0x4b821c=_0x275d07;if(_0x4cf164==null)return;const {skeleton:_0x34528c}=_0x4cf164,{scene:_0x55782c}=this[_0x4b821c(0x32d)];_0x55782c[_0x4b821c(0x384)]['subscribeEvent'](_0x113112(_0x1e7a02=>{const _0x303923=_0x4b821c;var _0x47c001,_0x2e76f4;const {offsetX:_0x262d3c,offsetY:_0x373cca}=_0x1e7a02,{x:_0x4c5a93,y:_0x5c7044}=_0x55782c[_0x303923(0x5b7)](_0x3ab0d3[_0x303923(0x38b)]['FromArray']([_0x262d3c,_0x373cca])),{scaleX:_0x198da4,scaleY:_0x48ea27}=_0x55782c['getAncestorScale'](),_0x576a67=_0x55782c['getViewport'](_0x945537[_0x303923(0x4b4)][_0x303923(0x469)]),_0x2a9fd2=_0x55782c[_0x303923(0x2e3)](_0x3ab0d3[_0x303923(0x38b)]['FromArray']([_0x4c5a93,_0x5c7044]),_0x576a67),_0x4015dd=_0x34528c[_0x303923(0x554)](_0x262d3c,_0x373cca,_0x198da4,_0x48ea27,_0x2a9fd2);((_0x47c001=this[_0x303923(0x2a8)])==null?void 0x0:_0x47c001[_0x303923(0x580)])===_0x4015dd[_0x303923(0x580)]&&((_0x2e76f4=this[_0x303923(0x2a8)])==null?void 0x0:_0x2e76f4[_0x303923(0x520)])===_0x4015dd[_0x303923(0x520)]||this[_0x303923(0x2c9)][_0x303923(0x1fc)](_0x3805f8=>{_0x3805f8['onMouseMove'](_0x4015dd);});},0x64));});}['_updateCollabCursors'](_0x39b9be,_0x8b5280){const _0x2231a3=_0x464faf;var _0x23bf8f;const _0x3eb7b9=(_0x23bf8f=this[_0x2231a3(0x3e9)][_0x2231a3(0x226)]())==null?void 0x0:_0x23bf8f[_0x2231a3(0x4db)];if(!_0x3eb7b9)return;const _0x1ee72a=this[_0x2231a3(0x490)]();if(!_0x1ee72a)return;this[_0x2231a3(0x2c9)][_0x2231a3(0x1fc)](_0x35f859=>{const _0x149c9e=_0x2231a3;_0x35f859[_0x149c9e(0x488)]();});const {scene:_0x58a241}=_0x1ee72a,_0x4c7384=_0x40b127(Array[_0x2231a3(0x2ad)](_0x8b5280[_0x2231a3(0x461)]()))[_0x2231a3(0x1bb)](_0x2a8d42=>{const _0x15a8d5=_0x2231a3,{color:_0x1853ca,range:_0x20b374,name:_0x23e92f,selection:_0x4dcd8e,sheetID:_0x2ff767}=_0x2a8d42,{startColumn:_0x266f9d,startRow:_0xfb4e19,endColumn:_0x105a76,endRow:_0x5c53eb}=_0x20b374,_0x5bc93c=_0x945537[_0x15a8d5(0x4c3)](_0xfb4e19,_0x266f9d,_0x58a241,_0x3eb7b9),_0x3b00d1=_0x945537[_0x15a8d5(0x4c3)](_0x5c53eb,_0x105a76,_0x58a241,_0x3eb7b9),{columnHeaderHeightAndMarginTop:_0x30be72}=_0x3eb7b9,{startX:_0x2ccf0a,startY:_0x37985e}=_0x5bc93c,{endX:_0xd6d3ce,endY:_0x205950}=_0x3b00d1,_0xab18cb=_0xd6d3ce-_0x2ccf0a,_0xdab8df=_0x205950-_0x37985e,_0xb89425={'labelPosition':_0x37985e-_0x30be72>=_0x3b41c1?_0x15a8d5(0x49f):_0x15a8d5(0x333),'sheetID':_0x2ff767,'range':_0x20b374,'color':_0x1853ca,'name':_0x23e92f,'selection':_0x4dcd8e,'left':_0x2ccf0a,'top':_0x37985e,'width':_0xab18cb,'height':_0xdab8df,'evented':!0x1,'zIndex':_0x4c4b94};return new _0x2e24c1(_0x23e92f,_0xb89425);});_0x58a241[_0x2231a3(0x52f)](_0x4c7384,_0x5440ea),this[_0x2231a3(0x2c9)]=new Set(_0x4c7384);}[_0x464faf(0x1e6)](){const _0x38b31f=_0x464faf;var _0x688559;(_0x688559=this[_0x38b31f(0x2c9)])==null||_0x688559[_0x38b31f(0x1fc)](_0x2a27ae=>_0x2a27ae[_0x38b31f(0x383)]());}['_getSheetObject'](){const _0xee9af=_0x464faf;return _0x945537[_0xee9af(0x36b)](this[_0xee9af(0x32d)][_0xee9af(0x4e1)],this[_0xee9af(0x32d)]);}};_0x3a7621=_0x3e64a2([_0x5517ed(0x1,_0x22bd76['Inject'](_0x945537[_0x464faf(0x306)])),_0x5517ed(0x2,_0x22bd76[_0x464faf(0x568)](_0x3c33bf)),_0x5517ed(0x3,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x2e8)]))],_0x3a7621);function _0x40b127(_0x418cc2){const _0x229671=_0x464faf,_0x3e3dc7=new Map();return _0x418cc2[_0x229671(0x1fc)](_0x5d3dc8=>{const _0x106acd=_0x229671;if(_0x3e3dc7[_0x106acd(0x2e2)](_0x5d3dc8[_0x106acd(0x4b1)])){const _0x47cea4=_0x3e3dc7[_0x106acd(0x321)](_0x5d3dc8[_0x106acd(0x4b1)]);_0x47cea4[_0x106acd(0x51b)]+=',\x20'+_0x5d3dc8['name'];}else _0x3e3dc7['set'](_0x5d3dc8['selection'],_0x5d3dc8);}),Array[_0x229671(0x2ad)](_0x3e3dc7[_0x229671(0x461)]());}var _0x56828c=function(){const _0x3b803c=_0x464faf;return _0x56828c=Object[_0x3b803c(0x503)]||function(_0xdbbf84){const _0x3ac547=_0x3b803c;for(var _0x572447,_0x8020a9=0x1,_0x3fd391=arguments['length'];_0x8020a9<_0x3fd391;_0x8020a9++){_0x572447=arguments[_0x8020a9];for(var _0x27e0dd in _0x572447)Object['prototype'][_0x3ac547(0x2c8)][_0x3ac547(0x5b8)](_0x572447,_0x27e0dd)&&(_0xdbbf84[_0x27e0dd]=_0x572447[_0x27e0dd]);}return _0xdbbf84;},_0x56828c[_0x3b803c(0x549)](this,arguments);},_0x553187=function(_0x56d2fe,_0x1d68e5){const _0x166623=_0x464faf;var _0x348b5f={};for(var _0x2e905f in _0x56d2fe)Object[_0x166623(0x361)][_0x166623(0x2c8)][_0x166623(0x5b8)](_0x56d2fe,_0x2e905f)&&_0x1d68e5[_0x166623(0x355)](_0x2e905f)<0x0&&(_0x348b5f[_0x2e905f]=_0x56d2fe[_0x2e905f]);if(_0x56d2fe!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x5a8295=0x0,_0x2e905f=Object[_0x166623(0x23a)](_0x56d2fe);_0x5a8295<_0x2e905f[_0x166623(0x266)];_0x5a8295++)_0x1d68e5[_0x166623(0x355)](_0x2e905f[_0x5a8295])<0x0&&Object[_0x166623(0x361)][_0x166623(0x27c)]['call'](_0x56d2fe,_0x2e905f[_0x5a8295])&&(_0x348b5f[_0x2e905f[_0x5a8295]]=_0x56d2fe[_0x2e905f[_0x5a8295]]);}return _0x348b5f;},_0x187a90=_0x2ae23a['forwardRef'](function(_0x5eb2c9,_0x2d514b){const _0x134c45=_0x464faf;var _0x5a535d=_0x5eb2c9['icon'],_0x1c7612=_0x5eb2c9['id'],_0x17de60=_0x5eb2c9[_0x134c45(0x1e5)],_0x299e1b=_0x5eb2c9[_0x134c45(0x297)],_0x59f9d3=_0x553187(_0x5eb2c9,[_0x134c45(0x533),'id','className',_0x134c45(0x297)]),_0x4fe714=_0x134c45(0x510)['concat'](_0x1c7612,'\x20')['concat'](_0x17de60||'')['trim'](),_0x84c90=_0x2ae23a[_0x134c45(0x1f3)]('_'[_0x134c45(0x3f5)](_0x4b6a2a()));return _0x3b567d(_0x5a535d,''[_0x134c45(0x3f5)](_0x1c7612),{'defIds':_0x5a535d[_0x134c45(0x1e2)],'idSuffix':_0x84c90[_0x134c45(0x4cd)]},_0x56828c({'ref':_0x2d514b,'className':_0x4fe714},_0x59f9d3),_0x299e1b);});function _0x3b567d(_0x463ddc,_0x51f1aa,_0x241fe1,_0x1b4d93,_0x433122){const _0x54f808=_0x464faf;return _0x2ae23a['createElement'](_0x463ddc[_0x54f808(0x2a6)],_0x56828c(_0x56828c({'key':_0x51f1aa},_0x5dfb41(_0x463ddc,_0x241fe1,_0x433122)),_0x1b4d93),(_0x5a33ed(_0x463ddc,_0x241fe1)[_0x54f808(0x2d5)]||[])['map'](function(_0x30d011,_0x394e64){const _0x28bd77=_0x54f808;return _0x3b567d(_0x30d011,''[_0x28bd77(0x3f5)](_0x51f1aa,'-')[_0x28bd77(0x3f5)](_0x463ddc['tag'],'-')[_0x28bd77(0x3f5)](_0x394e64),_0x241fe1,void 0x0,_0x433122);}));}function _0x5dfb41(_0x559b4d,_0x4ebb0c,_0x40bca9){const _0x319883=_0x464faf;var _0x3aae46=_0x56828c({},_0x559b4d[_0x319883(0x397)]);_0x40bca9!=null&&_0x40bca9[_0x319883(0x251)]&&_0x3aae46['fill']===_0x319883(0x251)&&(_0x3aae46[_0x319883(0x326)]=_0x40bca9[_0x319883(0x251)]);var _0xe68525=_0x4ebb0c[_0x319883(0x1e2)];return!_0xe68525||_0xe68525['length']===0x0||(_0x559b4d['tag']===_0x319883(0x43b)&&_0x3aae46['xlink:href']&&(_0x3aae46[_0x319883(0x3ce)]=_0x3aae46[_0x319883(0x3ce)]+_0x4ebb0c[_0x319883(0x349)]),Object['entries'](_0x3aae46)[_0x319883(0x1fc)](function(_0x2e2fce){const _0x452322=_0x319883;var _0x37eaef=_0x2e2fce[0x0],_0x8db4fc=_0x2e2fce[0x1];typeof _0x8db4fc=='string'&&(_0x3aae46[_0x37eaef]=_0x8db4fc[_0x452322(0x4d1)](/url\(#(.*)\)/,_0x452322(0x3e2)[_0x452322(0x3f5)](_0x4ebb0c[_0x452322(0x349)],')')));})),_0x3aae46;}function _0x5a33ed(_0x3cac93,_0x3ae74b){const _0x4fbf90=_0x464faf;var _0x442b69,_0x4b839c=_0x3ae74b['defIds'];return!_0x4b839c||_0x4b839c[_0x4fbf90(0x266)]===0x0?_0x3cac93:_0x3cac93[_0x4fbf90(0x2a6)]===_0x4fbf90(0x55a)&&(!((_0x442b69=_0x3cac93[_0x4fbf90(0x2d5)])===null||_0x442b69===void 0x0)&&_0x442b69[_0x4fbf90(0x266)])?_0x56828c(_0x56828c({},_0x3cac93),{'children':_0x3cac93[_0x4fbf90(0x2d5)][_0x4fbf90(0x1bb)](function(_0x1208b0){const _0x3801ef=_0x4fbf90;return typeof _0x1208b0[_0x3801ef(0x397)]['id']==_0x3801ef(0x5ad)&&_0x4b839c&&_0x4b839c[_0x3801ef(0x355)](_0x1208b0[_0x3801ef(0x397)]['id'])>-0x1?_0x56828c(_0x56828c({},_0x1208b0),{'attrs':_0x56828c(_0x56828c({},_0x1208b0['attrs']),{'id':_0x1208b0[_0x3801ef(0x397)]['id']+_0x3ae74b['idSuffix']})}):_0x1208b0;})}):_0x3cac93;}function _0x4b6a2a(){const _0x1b20b6=_0x464faf;return Math[_0x1b20b6(0x34a)]()[_0x1b20b6(0x576)](0x24)[_0x1b20b6(0x2fd)](0x2,0x8);}_0x187a90[_0x464faf(0x443)]='UniverIcon';var _0x33aa32={'tag':'svg','attrs':{'fill':_0x464faf(0x309),'viewBox':_0x464faf(0x3b3),'width':_0x464faf(0x483),'height':_0x464faf(0x483)},'children':[{'tag':'g','attrs':{'clipPath':_0x464faf(0x31b)},'children':[{'tag':'path','attrs':{'stroke':_0x464faf(0x289),'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':_0x464faf(0x41c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x464faf(0x55a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x464faf(0x35f)},'children':[{'tag':_0x464faf(0x45a),'attrs':{'fill':_0x464faf(0x45d),'d':_0x464faf(0x232)}}]}]}],'defIds':[_0x464faf(0x35f)]},_0x14ff3f=_0x2ae23a[_0x464faf(0x1ca)](function(_0x189d8f,_0x28adb2){const _0x5dc7eb=_0x464faf;return _0x2ae23a[_0x5dc7eb(0x200)](_0x187a90,Object[_0x5dc7eb(0x503)]({},_0x189d8f,{'id':'off-line-single','ref':_0x28adb2,'icon':_0x33aa32}));});_0x14ff3f['displayName']='OffLineSingle';var _0x42dbd5={'tag':_0x464faf(0x236),'attrs':{'fill':_0x464faf(0x309),'viewBox':_0x464faf(0x2f8),'width':_0x464faf(0x483),'height':_0x464faf(0x483)},'children':[{'tag':'g','attrs':{'clipPath':_0x464faf(0x47f)},'children':[{'tag':_0x464faf(0x45a),'attrs':{'stroke':_0x464faf(0x289),'d':_0x464faf(0x387),'strokeLinecap':_0x464faf(0x41c),'strokeLinejoin':_0x464faf(0x41c),'strokeWidth':1.2}}]},{'tag':_0x464faf(0x55a),'attrs':{},'children':[{'tag':_0x464faf(0x4df),'attrs':{'id':_0x464faf(0x474)},'children':[{'tag':_0x464faf(0x45a),'attrs':{'fill':_0x464faf(0x45d),'d':_0x464faf(0x232),'transform':_0x464faf(0x235)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x371b1d=_0x2ae23a['forwardRef'](function(_0x40c3ed,_0x4629c7){const _0x1afbc3=_0x464faf;return _0x2ae23a[_0x1afbc3(0x200)](_0x187a90,Object[_0x1afbc3(0x503)]({},_0x40c3ed,{'id':'on-line-single','ref':_0x4629c7,'icon':_0x42dbd5}));});_0x371b1d[_0x464faf(0x443)]=_0x464faf(0x51c);const _0x59aa1d={'onlineStatusIcon':_0x464faf(0x415),'onlineStatusTitle':_0x464faf(0x21e),'onlineStatus':'univer-online-status','online':_0x464faf(0x243),'offline':_0x464faf(0x3a4)};function _0x4f211e(_0x3924ec){const _0x5d5515=_0x464faf;switch(_0x3924ec){case _0x29599c[_0x5d5515(0x374)]:return _0x5d5515(0x4ad);case _0x29599c[_0x5d5515(0x5b6)]:return _0x5d5515(0x3fe);case _0x29599c[_0x5d5515(0x303)]:return'collabStatus.fetchMiss';case _0x29599c[_0x5d5515(0x2ba)]:return _0x5d5515(0x3f4);case _0x29599c[_0x5d5515(0x1b6)]:case _0x29599c[_0x5d5515(0x3bf)]:case _0x29599c[_0x5d5515(0x26d)]:return _0x5d5515(0x23b);case _0x29599c['SYNCED']:return _0x5d5515(0x2e6);}}function _0x2e5a3d(_0x149c2c){const _0x30222f=_0x464faf,{status$:_0x49e27b}=_0x149c2c,_0x2ee1d6=_0x1b23d2[_0x30222f(0x540)](_0x49e27b,_0x29599c[_0x30222f(0x2ba)]),_0x250f31=_0x22bd76[_0x30222f(0x369)](_0x22bd76[_0x30222f(0x51a)]),_0x5412c2=_0x22bd76[_0x30222f(0x369)](_0x19e906['CollaborationSessionService']),_0x39e172=_0x2ee1d6!==_0x29599c[_0x30222f(0x374)],_0x587567=_0x250f31['t'](_0x4f211e(_0x2ee1d6)),_0x55dba7=_0x1712cf(_0x59aa1d['onlineStatus'],{[_0x59aa1d[_0x30222f(0x1ac)]]:_0x39e172,[_0x59aa1d[_0x30222f(0x307)]]:!_0x39e172}),_0x474a1c=_0x39e172?_0x2ae23a[_0x30222f(0x200)](_0x371b1d,null):_0x2ae23a['createElement'](_0x14ff3f,null),_0x44732d=_0x2ae23a[_0x30222f(0x378)](()=>{const _0x32e1b9=_0x30222f;_0x39e172||_0x5412c2[_0x32e1b9(0x4c6)]();},[_0x39e172,_0x5412c2]);function _0x5ba3be(){const _0x4a0c9d=_0x30222f;return _0x2ae23a['createElement'](_0x4a0c9d(0x588),{'className':_0x55dba7,'onClick':_0x44732d},_0x2ae23a[_0x4a0c9d(0x200)](_0x4a0c9d(0x588),{'className':_0x59aa1d[_0x4a0c9d(0x25d)]},_0x474a1c),_0x2ae23a[_0x4a0c9d(0x200)](_0x4a0c9d(0x588),{'className':_0x59aa1d[_0x4a0c9d(0x225)]},_0x587567));}return _0x39e172?_0x5ba3be():_0x2ae23a[_0x30222f(0x200)](_0x5562a6[_0x30222f(0x445)],{'title':_0x250f31['t']('collab-client.tooltip.reconnect')},_0x5ba3be());}var _0x386b98=Object['defineProperty'],_0x20a600=Object['getOwnPropertyDescriptor'],_0x775731=(_0x144ea3,_0x2a7ece,_0x98dcc5,_0x53ae6a)=>{const _0x1b1f20=_0x464faf;for(var _0x571c31=_0x53ae6a>0x1?void 0x0:_0x53ae6a?_0x20a600(_0x2a7ece,_0x98dcc5):_0x2a7ece,_0x4adfb9=_0x144ea3[_0x1b1f20(0x266)]-0x1,_0x267c34;_0x4adfb9>=0x0;_0x4adfb9--)(_0x267c34=_0x144ea3[_0x4adfb9])&&(_0x571c31=(_0x53ae6a?_0x267c34(_0x2a7ece,_0x98dcc5,_0x571c31):_0x267c34(_0x571c31))||_0x571c31);return _0x53ae6a&&_0x571c31&&_0x386b98(_0x2a7ece,_0x98dcc5,_0x571c31),_0x571c31;},_0x18024d=(_0x19b939,_0x3c3121)=>(_0x5c165f,_0x53783c)=>_0x3c3121(_0x5c165f,_0x53783c,_0x19b939);_0x19e906[_0x464faf(0x57b)]=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x20afb2,_0x4379c3,_0x4238d3,_0x58245e){const _0x5cf925=_0x464faf;super(),_0x41b507(this,_0x5cf925(0x3a8),new _0xb468a3[(_0x5cf925(0x579))](_0x29599c['NOT_COLLAB'])),(this['_univerInstanceService']=_0x20afb2,this[_0x5cf925(0x1ea)]=_0x4379c3,this[_0x5cf925(0x38a)]=_0x4238d3,this[_0x5cf925(0x3c2)]=_0x58245e,this[_0x5cf925(0x597)](),this[_0x5cf925(0x21f)]());}[_0x464faf(0x21f)](){const _0x434390=_0x464faf;this['disposeWithMe'](this[_0x434390(0x334)][_0x434390(0x2f3)][_0x434390(0x457)](_0xb468a3[_0x434390(0x506)](()=>{const _0x5676a1=_0x434390,_0x2a1f91=this[_0x5676a1(0x334)][_0x5676a1(0x5c4)]();return _0x2a1f91?this[_0x5676a1(0x3c2)]['getCollabEntity$'](_0x2a1f91[_0x5676a1(0x330)]()):_0xb468a3['of'](null);}),_0xb468a3['switchMap'](_0x1e7567=>_0x1e7567?_0x1e7567[_0x434390(0x4af)]:_0xb468a3['of'](_0x29599c['NOT_COLLAB'])))[_0x434390(0x1d7)](_0x4fc315=>{const _0x561ff2=_0x434390;this['_status$'][_0x561ff2(0x4d2)](_0x4fc315);}));}['_initStatusComponent'](){const _0x1bb58f=_0x464faf;this['disposeWithMe'](this[_0x1bb58f(0x1ea)][_0x1bb58f(0x406)](_0x1b23d2[_0x1bb58f(0x344)][_0x1bb58f(0x54d)],()=>_0x22bd76[_0x1bb58f(0x3c0)](_0x2c12f0({'status$':this[_0x1bb58f(0x3a8)][_0x1bb58f(0x45e)]()}),this[_0x1bb58f(0x38a)])));}},_0x19e906[_0x464faf(0x57b)]=_0x775731([_0x18024d(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0x18024d(0x1,_0x1b23d2[_0x464faf(0x25a)]),_0x18024d(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76['Injector'])),_0x18024d(0x3,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x29c)]))],_0x19e906[_0x464faf(0x57b)]);function _0x2c12f0(_0x23865c){const {status$:_0x2f0194}=_0x23865c;return function(){const _0x49844f=_0x437d;return _0x2ae23a[_0x49844f(0x200)](_0x2e5a3d,{'status$':_0x2f0194});};}const _0x3a3834='collaboration-client.config',_0xee2adc=_0x22bd76[_0x464faf(0x41e)](_0x464faf(0x296));var _0x6ecac4=Object[_0x464faf(0x229)],_0x278f53=Object['getOwnPropertyDescriptor'],_0x543886=(_0x184f43,_0x305f1a,_0x26c06c,_0x19d530)=>{for(var _0x2499d1=_0x19d530>0x1?void 0x0:_0x19d530?_0x278f53(_0x305f1a,_0x26c06c):_0x305f1a,_0x1d563a=_0x184f43['length']-0x1,_0x10b4ae;_0x1d563a>=0x0;_0x1d563a--)(_0x10b4ae=_0x184f43[_0x1d563a])&&(_0x2499d1=(_0x19d530?_0x10b4ae(_0x305f1a,_0x26c06c,_0x2499d1):_0x10b4ae(_0x2499d1))||_0x2499d1);return _0x19d530&&_0x2499d1&&_0x6ecac4(_0x305f1a,_0x26c06c,_0x2499d1),_0x2499d1;},_0x57db31=(_0x3743f8,_0x1e9257)=>(_0x3fca9c,_0x470e28)=>_0x1e9257(_0x3fca9c,_0x470e28,_0x3743f8);_0x19e906[_0x464faf(0x56a)]=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x441e11,_0x5d3e64,_0x353c66,_0x40d621,_0x63a5d3,_0x3fcaf6){const _0x1969df=_0x464faf;super(),this[_0x1969df(0x487)]=_0x441e11,this[_0x1969df(0x4c0)]=_0x5d3e64,this['_commandService']=_0x353c66,this[_0x1969df(0x1c7)]=_0x40d621,this[_0x1969df(0x299)]=_0x63a5d3,_0x3fcaf6?_0x3fcaf6==null||_0x3fcaf6[_0x1969df(0x373)]()['then'](()=>this['_init']()):(this[_0x1969df(0x4c0)][_0x1969df(0x3e8)](_0x1969df(0x215),_0x1969df(0x432)),this[_0x1969df(0x239)]());}async[_0x464faf(0x239)](){const _0x5374b6=_0x464faf,_0x2bca87=this['_urlService'][_0x5374b6(0x529)](_0x5374b6(0x4e1)),_0x16140c=this['_urlService'][_0x5374b6(0x529)](_0x5374b6(0x2e4));if(!_0x2bca87||!_0x16140c){this[_0x5374b6(0x4c0)][_0x5374b6(0x3e8)]('[DataLoaderController]',_0x5374b6(0x246));return;}switch(Number(_0x16140c)){case _0x2341fc['UNIVER_SHEET']:{const _0x8270e0=await this[_0x5374b6(0x287)](_0x2bca87);this[_0x5374b6(0x1d9)](_0x8270e0);break;}case _0x2341fc[_0x5374b6(0x3c1)]:{await this[_0x5374b6(0x570)](_0x2bca87);break;}default:{this[_0x5374b6(0x4c0)][_0x5374b6(0x458)](_0x5374b6(0x215),_0x5374b6(0x2f4));break;}}}async[_0x464faf(0x1d9)](_0x53ffb5){const _0x58d6e8=_0x464faf;await this[_0x58d6e8(0x37e)](_0x53ffb5),_0x53ffb5[_0x58d6e8(0x596)][_0x58d6e8(0x457)](_0xb468a3[_0x58d6e8(0x3d8)](this[_0x58d6e8(0x49d)]))[_0x58d6e8(0x1d7)](_0x510752=>{const _0xc369b1=_0x58d6e8;_0x510752&&this[_0xc369b1(0x1c4)](_0x510752);}),this[_0x58d6e8(0x487)][_0x58d6e8(0x491)][_0x58d6e8(0x457)](_0xb468a3[_0x58d6e8(0x3d8)](this[_0x58d6e8(0x49d)]))[_0x58d6e8(0x1d7)](()=>this['_updateSubUnitFromURLParams'](_0x53ffb5));}[_0x464faf(0x1c4)](_0x4be17f,_0x26a020=!0x1){const _0x524746=_0x464faf,_0x17d034=this[_0x524746(0x487)]['getParam'](_0x524746(0x37a));_0x4be17f[_0x524746(0x1ce)]()!==_0x17d034&&this[_0x524746(0x487)][_0x524746(0x2c1)](_0x524746(0x37a),_0x4be17f[_0x524746(0x1ce)](),_0x26a020);}async[_0x464faf(0x37e)](_0x259aca){const _0x4ed826=_0x464faf;var _0x3116a0;const _0x1e73a9=this[_0x4ed826(0x487)]['getParam']('subunit');if(!_0x1e73a9||!_0x259aca[_0x4ed826(0x23f)](_0x1e73a9)){const _0x5740af=_0x259aca[_0x4ed826(0x20b)]()[0x0],_0x187406=_0x259aca['getSheetBySheetId'](_0x5740af);if(!_0x187406)return;this[_0x4ed826(0x1c4)](_0x187406,!0x0),await this[_0x4ed826(0x382)][_0x4ed826(0x38c)](_0x38d7d8[_0x4ed826(0x1fb)]['id'],{'unitId':_0x259aca[_0x4ed826(0x330)](),'subUnitId':_0x5740af});return;}((_0x3116a0=_0x259aca[_0x4ed826(0x590)]())==null?void 0x0:_0x3116a0[_0x4ed826(0x1ce)]())!==_0x1e73a9&&await this['_commandService'][_0x4ed826(0x38c)](_0x38d7d8['SetWorksheetActivateCommand']['id'],{'unitId':_0x259aca[_0x4ed826(0x330)](),'subUnitId':_0x1e73a9});}async[_0x464faf(0x287)](_0x3d7be3){const _0x53bfe4=_0x464faf;let _0x67a8e4=0x0;const _0x3881d3=await this[_0x53bfe4(0x1c7)][_0x53bfe4(0x283)](_0x3d7be3);return _0x3881d3&&(_0x3881d3[_0x53bfe4(0x4de)]||_0x3881d3[_0x53bfe4(0x4a5)][_0x53bfe4(0x266)]!==0x0)&&(_0x67a8e4=_0x3881d3[_0x53bfe4(0x35c)]),_0x67a8e4===0x0&&this[_0x53bfe4(0x4c0)][_0x53bfe4(0x3e8)]('[DataLoaderController]',_0x53bfe4(0x3e6)),this['_snapshotService']['loadSheet'](_0x3d7be3,_0x67a8e4);}async[_0x464faf(0x570)](_0x58f6a4){const _0x34ccbd=_0x464faf;let _0x1e8bdd=0x0;const _0x3b7764=await this[_0x34ccbd(0x1c7)][_0x34ccbd(0x283)](_0x58f6a4);return _0x3b7764&&(_0x3b7764[_0x34ccbd(0x4de)]||_0x3b7764[_0x34ccbd(0x4a5)]['length']!==0x0)&&(_0x1e8bdd=_0x3b7764[_0x34ccbd(0x35c)]),_0x1e8bdd===0x0&&this[_0x34ccbd(0x4c0)][_0x34ccbd(0x3e8)](_0x34ccbd(0x215),_0x34ccbd(0x3e6)),this[_0x34ccbd(0x299)][_0x34ccbd(0x3a7)](_0x58f6a4,_0x1e8bdd);}},_0x19e906[_0x464faf(0x56a)]=_0x543886([_0x22bd76[_0x464faf(0x3c4)](_0x22bd76['LifecycleStages'][_0x464faf(0x5b2)],_0x19e906[_0x464faf(0x56a)]),_0x57db31(0x0,_0xee2adc),_0x57db31(0x1,_0x22bd76[_0x464faf(0x544)]),_0x57db31(0x2,_0x22bd76[_0x464faf(0x4ae)]),_0x57db31(0x3,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x264)])),_0x57db31(0x4,_0x22bd76['Inject'](_0x2cb6ec[_0x464faf(0x42a)])),_0x57db31(0x5,_0x22bd76[_0x464faf(0x230)](_0x4dbbff[_0x464faf(0x323)]))],_0x19e906['DataLoaderController']);var _0x546955=Object[_0x464faf(0x229)],_0xae43db=Object['getOwnPropertyDescriptor'],_0x57b967=(_0x58f1dc,_0xad5e80,_0x12919e,_0x5bd203)=>{const _0x22bc99=_0x464faf;for(var _0x4759b7=_0x5bd203>0x1?void 0x0:_0x5bd203?_0xae43db(_0xad5e80,_0x12919e):_0xad5e80,_0x62a475=_0x58f1dc[_0x22bc99(0x266)]-0x1,_0x2ea5fd;_0x62a475>=0x0;_0x62a475--)(_0x2ea5fd=_0x58f1dc[_0x62a475])&&(_0x4759b7=(_0x5bd203?_0x2ea5fd(_0xad5e80,_0x12919e,_0x4759b7):_0x2ea5fd(_0x4759b7))||_0x4759b7);return _0x5bd203&&_0x4759b7&&_0x546955(_0xad5e80,_0x12919e,_0x4759b7),_0x4759b7;},_0x56029e=(_0x127a05,_0x5f9fe1)=>(_0x463295,_0x588c2a)=>_0x5f9fe1(_0x463295,_0x588c2a,_0x127a05);const _0x144c24='DEFAULT_FILE_NAME',_0x1e3d66='Univer';let _0x5a4239=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x5f325f,_0x17a8f2){const _0x2094a1=_0x464faf;super(),this[_0x2094a1(0x334)]=_0x5f325f,this[_0x2094a1(0x562)]=_0x17a8f2,this[_0x2094a1(0x239)]();}[_0x464faf(0x239)](){const _0x5b3228=_0x464faf;this[_0x5b3228(0x241)](_0x22bd76[_0x5b3228(0x2ec)](this[_0x5b3228(0x334)][_0x5b3228(0x2f3)][_0x5b3228(0x1d7)](()=>{const _0x2371da=_0x5b3228;var _0xb45e86;const _0x360dbf=this[_0x2371da(0x334)][_0x2371da(0x5c4)]();let _0x3886bc=(_0xb45e86=this[_0x2371da(0x562)][_0x2371da(0x5b1)](_0x144c24))!=null?_0xb45e86:_0x1e3d66;_0x360dbf instanceof _0x22bd76[_0x2371da(0x3a6)]&&(_0x3886bc=_0x360dbf['name']),document['title']=_0x3886bc;})));}};_0x5a4239=_0x57b967([_0x22bd76[_0x464faf(0x3c4)](_0x22bd76['LifecycleStages'][_0x464faf(0x27e)],_0x5a4239),_0x56029e(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0x56029e(0x1,_0x22bd76[_0x464faf(0x55b)])],_0x5a4239);var _0x28b6ba=Object['defineProperty'],_0x2cc3bd=Object['getOwnPropertyDescriptor'],_0x151352=(_0x273219,_0x4260de,_0x5a4f8b,_0x5c429b)=>{const _0x175779=_0x464faf;for(var _0x136318=_0x5c429b>0x1?void 0x0:_0x5c429b?_0x2cc3bd(_0x4260de,_0x5a4f8b):_0x4260de,_0x975eb5=_0x273219[_0x175779(0x266)]-0x1,_0xe71a53;_0x975eb5>=0x0;_0x975eb5--)(_0xe71a53=_0x273219[_0x975eb5])&&(_0x136318=(_0x5c429b?_0xe71a53(_0x4260de,_0x5a4f8b,_0x136318):_0xe71a53(_0x136318))||_0x136318);return _0x5c429b&&_0x136318&&_0x28b6ba(_0x4260de,_0x5a4f8b,_0x136318),_0x136318;},_0x5e1b00=(_0x38d9f0,_0x36a4fa)=>(_0x835052,_0x2aa6ec)=>_0x36a4fa(_0x835052,_0x2aa6ec,_0x38d9f0);let _0xdb1fc5=class{constructor(_0x4e7226,_0x5ecc0e,_0x34ce8b){const _0x323cd5=_0x464faf;this[_0x323cd5(0x562)]=_0x4e7226,this[_0x323cd5(0x1f5)]=_0x5ecc0e,this[_0x323cd5(0x34b)]=_0x34ce8b,this[_0x323cd5(0x51d)]();}[_0x464faf(0x51d)](){const _0x783202=_0x464faf;this[_0x783202(0x1f5)][_0x783202(0x49c)]({'priority':0x1,'interceptor':(_0x3cd791,_0x283e06)=>_0x283e06(_0x3cd791)[_0x783202(0x457)](_0xb468a3[_0x783202(0x1a9)](async _0x2cc101=>{const _0x2caee3=_0x783202,_0x18b2b3=_0x2cc101;if(_0x18b2b3['status']===0x191&&window['confirm'](this[_0x2caee3(0x34b)]['t'](_0x2caee3(0x410)))){const _0x23cf28=window[_0x2caee3(0x19e)](window['location'][_0x2caee3(0x39e)]);window['location']['href']=this['_getLoginPath']()+_0x2caee3(0x5c7)+_0x23cf28;}return _0x18b2b3;}))});}[_0x464faf(0x56c)](){const _0x38425b=_0x464faf;var _0x5aaa2d;return(_0x5aaa2d=this[_0x38425b(0x562)][_0x38425b(0x5b1)](_0x4e8aa6))!=null?_0x5aaa2d:_0x283d9c;}};_0xdb1fc5=_0x151352([_0x5e1b00(0x0,_0x22bd76[_0x464faf(0x55b)]),_0x5e1b00(0x1,_0x22bd76['Inject'](_0x9bd9f[_0x464faf(0x41f)])),_0x5e1b00(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x51a)]))],_0xdb1fc5);var _0x3c4719=Object['defineProperty'],_0x543145=Object[_0x464faf(0x36f)],_0xaea4f1=(_0x5975e1,_0x28d615,_0x35dfe9,_0x7f99c)=>{for(var _0x4e1348=_0x7f99c>0x1?void 0x0:_0x7f99c?_0x543145(_0x28d615,_0x35dfe9):_0x28d615,_0x7c8d40=_0x5975e1['length']-0x1,_0x107f13;_0x7c8d40>=0x0;_0x7c8d40--)(_0x107f13=_0x5975e1[_0x7c8d40])&&(_0x4e1348=(_0x7f99c?_0x107f13(_0x28d615,_0x35dfe9,_0x4e1348):_0x107f13(_0x4e1348))||_0x4e1348);return _0x7f99c&&_0x4e1348&&_0x3c4719(_0x28d615,_0x35dfe9,_0x4e1348),_0x4e1348;},_0x1f925e=(_0x4652f8,_0x2ee766)=>(_0xe15e49,_0x9edd9c)=>_0x2ee766(_0xe15e49,_0x9edd9c,_0x4652f8);const _0x2560cb=_0x464faf(0x2cc),_0x43f42e=_0x464faf(0x561);_0x19e906[_0x464faf(0x58f)]=class extends _0x22bd76[_0x464faf(0x2b7)]{constructor(_0x3f43e9,_0x165029){const _0x2f0ef5=_0x464faf;super(),this[_0x2f0ef5(0x3af)]=_0x3f43e9,this[_0x2f0ef5(0x562)]=_0x165029,this[_0x2f0ef5(0x1c5)]();}[_0x464faf(0x1c5)](){const _0x327555=_0x464faf,_0x4ecc54=this;this[_0x327555(0x241)](this[_0x327555(0x3af)][_0x327555(0x49c)]({'priority':0x3e7,'interceptor':_0x9bd9f[_0x327555(0x46b)]({'isMatch'(_0x2c1d39){const _0x48dd64=_0x327555;var _0x168170;if(_0x2c1d39[_0x48dd64(0x589)]==='POST'&&((_0x168170=_0x2c1d39[_0x48dd64(0x4c7)])!=null&&_0x168170[_0x48dd64(0x2e0)])){const {objectID:_0x5df7c0,objectType:_0x3ab729}=_0x2c1d39[_0x48dd64(0x4c7)][_0x48dd64(0x2e0)]||{};if(!_0x5df7c0||_0x3ab729===void 0x0)return!0x1;const _0x5d9f66=_0x4ecc54[_0x48dd64(0x37b)]()+'/'+_0x3ab729+_0x48dd64(0x3c5)+_0x5df7c0+_0x48dd64(0x5bf);if(_0x2c1d39[_0x48dd64(0x35a)]===_0x5d9f66)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x87d125){const _0x4fa34f=_0x327555;var _0x1a3d59;return(_0x1a3d59=_0x87d125[_0x4fa34f(0x4c7)])==null?void 0x0:_0x1a3d59['body'];},'mergeParamsToRequest'(_0x108f88,_0xe988b3){const _0xfdeab8=_0x327555,_0xf3a6f0=_0x4ecc54['_getAPIPrefixPath']()+_0xfdeab8(0x3f6),_0x50e19b=_0x108f88['reduce']((_0xc891df,_0x559004)=>{const _0x1f82fb=_0xfdeab8,{unitID:_0x13fbe1,objectID:_0x5540d2,objectType:_0x4d0522,actions:_0x3fa054}=_0x559004;return _0xc891df[_0x13fbe1]||(_0xc891df[_0x13fbe1]={}),_0xc891df[_0x13fbe1][_0x5540d2]||(_0xc891df[_0x13fbe1][_0x5540d2]={'objectID':_0x5540d2,'objectType':_0x4d0522,'actions':[]}),_0xc891df[_0x13fbe1][_0x5540d2][_0x1f82fb(0x1a2)][_0x1f82fb(0x4a6)](..._0x3fa054),_0xc891df;},{}),_0x52f07c=[];for(const _0x297d26 in _0x50e19b)for(const _0x30f29f in _0x50e19b[_0x297d26]){const {actions:_0x23ea05,objectType:_0x4a8d05}=_0x50e19b[_0x297d26][_0x30f29f],_0x4fcc4e=[...new Set(_0x23ea05)];_0x52f07c[_0xfdeab8(0x4a6)]({'unitID':_0x297d26,'objectID':_0x30f29f,'objectType':_0x4a8d05,'actions':_0x4fcc4e});}return new _0x9bd9f[(_0xfdeab8(0x3f1))](_0xfdeab8(0x364),_0xf3a6f0,{'headers':_0xe988b3[_0xfdeab8(0x59f)],'withCredentials':_0xe988b3[_0xfdeab8(0x5ab)],'responseType':_0xe988b3[_0xfdeab8(0x322)],'body':{'requests':_0x52f07c}});}},{'distributeResult'(_0x571e97,_0x2e1e23){const _0x2f1061=_0x327555,{objectActions:_0x1b4147}=_0x571e97;return _0x2e1e23[_0x2f1061(0x1bb)](_0x273f88=>{const _0xba66a4=_0x2f1061,{unitID:_0x41d2bb,objectID:_0x5dd826,actions:_0x3fbf0c}=_0x273f88,_0x195213=_0x1b4147[_0xba66a4(0x26a)](_0x3658e7=>_0x3658e7[_0xba66a4(0x268)]===_0x41d2bb&&_0x3658e7['objectID']===_0x5dd826),_0x5e39f3=_0x3fbf0c[_0xba66a4(0x1bb)](_0x1b9e08=>_0x195213==null?void 0x0:_0x195213[_0xba66a4(0x1a2)]['find'](_0x1d38c4=>_0x1d38c4[_0xba66a4(0x368)]===_0x1b9e08))[_0xba66a4(0x2e9)](_0x21cbe7=>!!_0x21cbe7);return{'config':_0x273f88,'result':{'actions':_0x5e39f3,'error':_0x571e97[_0xba66a4(0x458)]}};});}})}));}[_0x464faf(0x37b)](){const _0x35c5c6=_0x464faf;var _0x5b226f;return(_0x5b226f=this[_0x35c5c6(0x562)][_0x35c5c6(0x5b1)](_0x2560cb))!=null?_0x5b226f:_0x43f42e;}async[_0x464faf(0x27d)](_0x236018){const _0x492a0d=_0x464faf,_0x5af859=this[_0x492a0d(0x37b)]()+'/'+_0x236018[_0x492a0d(0x1b2)]+_0x492a0d(0x3b5);return(await this[_0x492a0d(0x3af)][_0x492a0d(0x522)](_0x5af859,{'body':_0x236018}))['body'][_0x492a0d(0x2b5)]||'';}async[_0x464faf(0x3ac)](_0x326d05){const _0xbd0b18=_0x464faf,_0x59780b=this[_0xbd0b18(0x37b)]()+_0xbd0b18(0x426);return(await this[_0xbd0b18(0x3af)][_0xbd0b18(0x522)](_0x59780b,{'body':_0x326d05}))[_0xbd0b18(0x2e0)]['objects'];}async[_0x464faf(0x518)](_0x1ce704){const _0x3f8eca=_0x464faf,_0x3545d1=this[_0x3f8eca(0x37b)]()+'/'+_0x1ce704[_0x3f8eca(0x1b2)]+_0x3f8eca(0x3c5)+_0x1ce704[_0x3f8eca(0x2b5)];await this[_0x3f8eca(0x3af)][_0x3f8eca(0x367)](_0x3545d1,{'body':_0x1ce704});}async[_0x464faf(0x32e)](_0x551344){const _0x1b6c26=_0x464faf,_0x182463=this[_0x1b6c26(0x37b)]()+'/'+_0x551344[_0x1b6c26(0x1b2)]+'/object/'+_0x551344[_0x1b6c26(0x2b5)]+_0x1b6c26(0x5bf);return(await this['_HTTPService'][_0x1b6c26(0x522)](_0x182463,{'body':_0x551344}))[_0x1b6c26(0x2e0)]['actions'];}async[_0x464faf(0x559)](_0x238572){const _0x5464d6=_0x464faf,_0x42c628=this['_getAPIPrefixPath']()+_0x5464d6(0x3f6);return(await this[_0x5464d6(0x3af)]['post'](_0x42c628,{'body':{'requests':_0x238572}}))['body'][_0x5464d6(0x5b9)];}async['listRoles'](_0x24fd02){const _0xfdb605=_0x464faf,_0x3834df=this[_0xfdb605(0x37b)]()+'/'+_0x24fd02[_0xfdb605(0x1b2)]+'/role',_0x201d04=await this[_0xfdb605(0x3af)][_0xfdb605(0x522)](_0x3834df,{'body':_0x24fd02});return{'roles':_0x201d04[_0xfdb605(0x2e0)][_0xfdb605(0x3de)],'actions':_0x201d04[_0xfdb605(0x2e0)]['actions']};}async['deleteCollaborator'](_0x48c3c4){const _0x1567ea=_0x464faf,_0x5f3ca2=this[_0x1567ea(0x37b)]()+_0x1567ea(0x4ba);await this[_0x1567ea(0x3af)][_0x1567ea(0x331)](_0x5f3ca2,{'params':{'collaboratorID':_0x48c3c4[_0x1567ea(0x277)],'objectID':_0x48c3c4[_0x1567ea(0x2b5)],'unitID':_0x48c3c4[_0x1567ea(0x268)]}});}async['updateCollaborator'](_0x390c6c){const _0x527ceb=_0x464faf,_0x2a134d=this['_getAPIPrefixPath']()+_0x527ceb(0x4ba);await this[_0x527ceb(0x3af)][_0x527ceb(0x5a0)](_0x2a134d,{'body':_0x390c6c});}async[_0x464faf(0x530)](_0x4207eb){const _0x11bb5d=_0x464faf,_0x1bb4e7=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x11bb5d(0x3af)][_0x11bb5d(0x522)](_0x1bb4e7,{'body':_0x4207eb});}async[_0x464faf(0x599)](_0x4d398c){const _0x58e7c9=_0x464faf,_0x55c33e=this[_0x58e7c9(0x37b)]()+_0x58e7c9(0x4ba);return(await this[_0x58e7c9(0x3af)]['get'](_0x55c33e,{'params':{'objectID':_0x4d398c[_0x58e7c9(0x2b5)],'unitID':_0x4d398c[_0x58e7c9(0x268)]}}))[_0x58e7c9(0x2e0)]['collaborators'];}async['putCollaborators'](_0x3f47ee){const _0x4c546f=_0x464faf,_0x366be5=this['_getAPIPrefixPath']()+_0x4c546f(0x4ba);await this[_0x4c546f(0x3af)][_0x4c546f(0x367)](_0x366be5,{'body':_0x3f47ee});}},_0x19e906['AuthzIoHttpService']=_0xaea4f1([_0x1f925e(0x0,_0x22bd76['Inject'](_0x9bd9f['HTTPService'])),_0x1f925e(0x1,_0x22bd76['Inject'](_0x22bd76['IConfigService']))],_0x19e906[_0x464faf(0x58f)]);var _0x365763=Object['defineProperty'],_0x2724d6=Object[_0x464faf(0x36f)],_0x436df2=(_0x4fcd6a,_0x4bc8e0,_0x3ba91f,_0x129d13)=>{for(var _0x4e6a60=_0x129d13>0x1?void 0x0:_0x129d13?_0x2724d6(_0x4bc8e0,_0x3ba91f):_0x4bc8e0,_0x538e30=_0x4fcd6a['length']-0x1,_0x1d6406;_0x538e30>=0x0;_0x538e30--)(_0x1d6406=_0x4fcd6a[_0x538e30])&&(_0x4e6a60=(_0x129d13?_0x1d6406(_0x4bc8e0,_0x3ba91f,_0x4e6a60):_0x1d6406(_0x4e6a60))||_0x4e6a60);return _0x129d13&&_0x4e6a60&&_0x365763(_0x4bc8e0,_0x3ba91f,_0x4e6a60),_0x4e6a60;},_0x50bda6=(_0x4af82a,_0x1e7684)=>(_0x51eba1,_0x3bb123)=>_0x1e7684(_0x51eba1,_0x3bb123,_0x4af82a);const _0x30897c=['image/png',_0x464faf(0x34e),_0x464faf(0x337),_0x464faf(0x304),_0x464faf(0x4eb)],_0x2aa580=0x5*0x400*0x400,_0x4f49d4=_0x464faf(0x4e9),_0x60f662=_0x464faf(0x514),_0x49b290=_0x464faf(0x486),_0x2946e8=_0x464faf(0x558);_0x19e906[_0x464faf(0x270)]=class{constructor(_0x43d590,_0x42d64c,_0x164b23){const _0x3e9150=_0x464faf;_0x41b507(this,_0x3e9150(0x224),0x0),_0x41b507(this,_0x3e9150(0x53a),new _0xb468a3[(_0x3e9150(0x57c))]()),_0x41b507(this,_0x3e9150(0x1d5),this[_0x3e9150(0x53a)]),_0x41b507(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x43d590,this[_0x3e9150(0x562)]=_0x42d64c,this['_univerInstanceService']=_0x164b23);}[_0x464faf(0x356)](_0x3a1eba){const _0x1f6d9b=_0x464faf;this['_waitCount']=_0x3a1eba,this[_0x1f6d9b(0x53a)][_0x1f6d9b(0x4d2)](_0x3a1eba);}[_0x464faf(0x3c6)](_0x2a43c2,_0x348bf2){const _0x38fd39=_0x464faf;if(_0x348bf2===_0x1fbc38[_0x38fd39(0x4e2)][_0x38fd39(0x1d0)]){const _0x160afb=new Image();return _0x160afb['src']=_0x2a43c2,_0x160afb;}return this[_0x38fd39(0x2f0)][_0x38fd39(0x321)](_0x2a43c2);}[_0x464faf(0x1f9)](_0xb50ebb,_0x407c01,_0x342b0a){const _0x4b2a15=_0x464faf;_0x407c01===_0x1fbc38[_0x4b2a15(0x4e2)][_0x4b2a15(0x1d0)]||_0x342b0a==null||this[_0x4b2a15(0x2f0)][_0x4b2a15(0x372)](_0xb50ebb,_0x342b0a);}async[_0x464faf(0x399)](_0x86c31c){const _0x2d7a4e=_0x464faf;try{const _0x4ddb28=this[_0x2d7a4e(0x594)](this['_getSignURL'](),''+_0x86c31c),_0x1733bb=(await this[_0x2d7a4e(0x1f5)][_0x2d7a4e(0x321)](_0x4ddb28))[_0x2d7a4e(0x2e0)];return _0x1733bb[_0x2d7a4e(0x458)]&&_0x1733bb[_0x2d7a4e(0x458)][_0x2d7a4e(0x4ec)]===_0x19883d['OK']?this[_0x2d7a4e(0x267)]()?Promise[_0x2d7a4e(0x2b6)](this['_getDownloadEndpointURL']()+_0x1733bb[_0x2d7a4e(0x35a)]):Promise[_0x2d7a4e(0x2b6)](_0x1733bb[_0x2d7a4e(0x35a)]):Promise['reject'](_0x1733bb['error']);}catch(_0xb6bc0a){return Promise[_0x2d7a4e(0x238)](_0xb6bc0a);}}async[_0x464faf(0x1ed)](_0x22df58){const _0x5c15e7=_0x464faf;let _0x4449f2='';if(!_0x30897c['includes'](_0x22df58[_0x5c15e7(0x2e4)]))return this[_0x5c15e7(0x254)](),Promise['reject'](new Error(_0x1fbc38[_0x5c15e7(0x3ca)]['ERROR_IMAGE_TYPE']));if(_0x22df58[_0x5c15e7(0x2cf)]>_0x2aa580)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1fbc38[_0x5c15e7(0x3ca)]['ERROR_EXCEED_SIZE']));try{const _0x565919=new FormData();_0x565919['append']('file',_0x22df58);const _0x3d19ae=this[_0x5c15e7(0x334)][_0x5c15e7(0x5c4)](),_0x1e59ab=_0x3d19ae==null?void 0x0:_0x3d19ae[_0x5c15e7(0x330)]();if(!_0x1e59ab)throw new Error('unitId\x20is\x20not\x20found');const _0x33612e=this[_0x5c15e7(0x26e)]()+'?size='+_0x22df58[_0x5c15e7(0x2cf)][_0x5c15e7(0x576)]()+'&source='+_0x373e8a[_0x5c15e7(0x39d)]+_0x5c15e7(0x567)+encodeURIComponent(_0x1e59ab),_0x18f7c5=await(await fetch(_0x33612e,{'method':_0x5c15e7(0x364),'body':_0x565919}))[_0x5c15e7(0x29d)]();if(typeof _0x18f7c5[_0x5c15e7(0x2f5)]!='string')return this[_0x5c15e7(0x254)](),Promise[_0x5c15e7(0x238)](new Error(_0x1fbc38[_0x5c15e7(0x3ca)]['ERROR_IMAGE']));_0x4449f2=_0x18f7c5['FileId'];}catch{return this[_0x5c15e7(0x254)](),Promise['reject'](new Error(_0x1fbc38[_0x5c15e7(0x3ca)][_0x5c15e7(0x48f)]));}return new Promise((_0x21548a,_0x9bab00)=>{const _0x2c7a3f=_0x5c15e7,_0x494833=new FileReader();_0x494833['readAsDataURL'](_0x22df58),_0x494833[_0x2c7a3f(0x30e)]=_0xc86958=>{const _0x38cfd2=_0x2c7a3f;var _0x50aa3c;const _0x446cee=(_0x50aa3c=_0xc86958[_0x38cfd2(0x3b6)])==null?void 0x0:_0x50aa3c[_0x38cfd2(0x320)];if(_0x446cee==null){this[_0x38cfd2(0x254)](),_0x9bab00(new Error(_0x1fbc38[_0x38cfd2(0x3ca)][_0x38cfd2(0x48f)]));return;}const _0x4d9044=_0x22bd76[_0x38cfd2(0x223)]['generateRandomId'](0x6);_0x21548a({'imageId':_0x4d9044,'imageSourceType':_0x1fbc38[_0x38cfd2(0x4e2)]['UUID'],'source':_0x4449f2,'base64Cache':_0x446cee,'status':_0x1fbc38[_0x38cfd2(0x3ca)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x464faf(0x26e)](){const _0x254182=_0x464faf;var _0x5ba5d5;return(_0x5ba5d5=this[_0x254182(0x562)][_0x254182(0x5b1)](_0x4f49d4))!=null?_0x5ba5d5:_0x60f662;}[_0x464faf(0x1bf)](){const _0x562f07=_0x464faf;var _0xa7dd52;return(_0xa7dd52=this[_0x562f07(0x562)]['getConfig'](_0x49b290))!=null?_0xa7dd52:_0x2946e8;}[_0x464faf(0x267)](){const _0x4bd462=_0x464faf;var _0x5b445f;const _0x43c3d6=this['_configService'][_0x4bd462(0x5b1)](_0x3a3834);return(_0x5b445f=_0x43c3d6==null?void 0x0:_0x43c3d6[_0x4bd462(0x531)])!=null?_0x5b445f:'';}['_replaceFileID'](_0x3a678c,_0x43218a){const _0x464263=_0x464faf;return _0x3a678c['replace'](_0x464263(0x21c),_0x43218a);}[_0x464faf(0x254)](){const _0x4f4efd=_0x464faf;this[_0x4f4efd(0x224)]-=0x1,this[_0x4f4efd(0x53a)][_0x4f4efd(0x4d2)](this[_0x4f4efd(0x224)]);}},_0x19e906[_0x464faf(0x270)]=_0x436df2([_0x50bda6(0x0,_0x22bd76[_0x464faf(0x568)](_0x9bd9f['HTTPService'])),_0x50bda6(0x1,_0x22bd76['IConfigService']),_0x50bda6(0x2,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x3a0)]))],_0x19e906[_0x464faf(0x270)]);var _0x262d67=Object[_0x464faf(0x229)],_0x1bca06=Object['getOwnPropertyDescriptor'],_0x2af12a=(_0x2d5a72,_0xc86c,_0x390879,_0x2b26e6)=>{const _0x3a4da7=_0x464faf;for(var _0x523f35=_0x2b26e6>0x1?void 0x0:_0x2b26e6?_0x1bca06(_0xc86c,_0x390879):_0xc86c,_0x282acd=_0x2d5a72[_0x3a4da7(0x266)]-0x1,_0x3ee6fc;_0x282acd>=0x0;_0x282acd--)(_0x3ee6fc=_0x2d5a72[_0x282acd])&&(_0x523f35=(_0x2b26e6?_0x3ee6fc(_0xc86c,_0x390879,_0x523f35):_0x3ee6fc(_0x523f35))||_0x523f35);return _0x2b26e6&&_0x523f35&&_0x262d67(_0xc86c,_0x390879,_0x523f35),_0x523f35;},_0x201a1d=(_0x5e16b1,_0x408bca)=>(_0x183515,_0x59e72a)=>_0x408bca(_0x183515,_0x59e72a,_0x5e16b1);let _0x3e6c22=class extends _0x22bd76[_0x464faf(0x5c2)]{constructor(_0x1664e9,_0x451b30,_0xcf4fac,_0x66a309,_0x216182){const _0x4caf96=_0x464faf;super(),this[_0x4caf96(0x38a)]=_0x1664e9,this['_univerInstanceService']=_0x451b30,this[_0x4caf96(0x556)]=_0xcf4fac,this[_0x4caf96(0x29b)]=_0x66a309,this[_0x4caf96(0x4fc)]=_0x216182,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x464faf(0x4b8)](){const _0x29d120=_0x464faf,_0x3c0a83=async _0x53d688=>{const _0x29869b=_0x437d;(await this[_0x29869b(0x29b)][_0x29869b(0x59c)](_0x53d688))[_0x29869b(0x3f2)][_0x29869b(0x457)](_0x5ac862[_0x29869b(0x2e9)](_0x55a026=>_0x55a026['eventID']===_0x2cb6ec[_0x29869b(0x312)]['SHOULD_CLOSE_CONN']),_0x5ac862[_0x29869b(0x3d8)](this['dispose$']))[_0x29869b(0x1d7)](_0xfad2cd=>{const _0x1c54df=_0x29869b,_0x3a357a=_0xfad2cd,{reason:_0x387533}=_0x3a357a['data'];this[_0x1c54df(0x38a)][_0x1c54df(0x321)](_0x1b23d2[_0x1c54df(0x536)])[_0x1c54df(0x550)]({'type':_0x5562a6[_0x1c54df(0x253)][_0x1c54df(0x489)],'content':this['_localeService']['t'](_0x1c54df(0x4bc))+'('+_0x387533+')'}),this[_0x1c54df(0x556)][_0x1c54df(0x2e5)](new _0x38d7d8[(_0x1c54df(0x4e3))](_0x53d688)['id'],!0x1),this['_collaborationSessionService'][_0x1c54df(0x405)](_0x53d688);});};_0xb468a3['merge'](this['_univerInstanceService'][_0x29d120(0x390)](_0x22bd76[_0x29d120(0x53c)][_0x29d120(0x593)]),this[_0x29d120(0x334)][_0x29d120(0x390)](_0x22bd76['UniverInstanceType'][_0x29d120(0x3c1)]))['pipe'](_0x5ac862[_0x29d120(0x1bb)](_0x46a562=>_0x46a562['getUnitId']()),_0x5ac862[_0x29d120(0x2e9)](_0x533039=>!_0x22bd76[_0x29d120(0x336)](_0x533039)),_0x5ac862[_0x29d120(0x3d8)](this[_0x29d120(0x49d)]))[_0x29d120(0x1d7)](_0xcdb037=>{_0x3c0a83(_0xcdb037);});}[_0x464faf(0x3b8)](){const _0x3ca58c=_0x464faf,_0x5a3a3c=async _0x462956=>{const _0x280d93=_0x437d;(await this[_0x280d93(0x29b)][_0x280d93(0x59c)](_0x462956))[_0x280d93(0x3f2)][_0x280d93(0x457)](_0x5ac862[_0x280d93(0x2e9)](_0x44c2f3=>_0x44c2f3[_0x280d93(0x571)]===_0x2cb6ec['CollaborationEvent'][_0x280d93(0x29f)]),_0x5ac862['takeUntil'](this[_0x280d93(0x49d)]))[_0x280d93(0x1d7)](_0x5727a0=>{const _0x137d1e=_0x280d93,_0x53a4f2=_0x5727a0,{objectId:_0x5b2ebf}=_0x53a4f2['data'],_0x14e87d=this['_injector'][_0x137d1e(0x321)](_0x945537['SheetPermissionInitController']);_0x5b2ebf===_0x462956?_0x14e87d[_0x137d1e(0x539)](_0x462956):_0x14e87d[_0x137d1e(0x38d)](_0x462956,_0x5b2ebf);});};_0xb468a3[_0x3ca58c(0x23e)](this[_0x3ca58c(0x334)][_0x3ca58c(0x390)](_0x22bd76[_0x3ca58c(0x53c)][_0x3ca58c(0x593)]),this[_0x3ca58c(0x334)][_0x3ca58c(0x390)](_0x22bd76['UniverInstanceType'][_0x3ca58c(0x3c1)]))[_0x3ca58c(0x457)](_0x5ac862['map'](_0x2ef945=>_0x2ef945[_0x3ca58c(0x330)]()),_0x5ac862['filter'](_0x15deaa=>!_0x22bd76[_0x3ca58c(0x336)](_0x15deaa)),_0x5ac862[_0x3ca58c(0x3d8)](this['dispose$']))[_0x3ca58c(0x1d7)](_0xb23f73=>{_0x5a3a3c(_0xb23f73);});}};_0x3e6c22=_0x2af12a([_0x22bd76['OnLifecycle'](_0x22bd76[_0x464faf(0x366)][_0x464faf(0x5b2)],_0x3e6c22),_0x201a1d(0x0,_0x22bd76[_0x464faf(0x568)](_0x22bd76[_0x464faf(0x5bb)])),_0x201a1d(0x1,_0x22bd76['IUniverInstanceService']),_0x201a1d(0x2,_0x22bd76[_0x464faf(0x281)]),_0x201a1d(0x3,_0x22bd76[_0x464faf(0x568)](_0x19e906[_0x464faf(0x2ca)])),_0x201a1d(0x4,_0x22bd76[_0x464faf(0x568)](_0x22bd76['LocaleService']))],_0x3e6c22);var _0x292ea4=Object['defineProperty'],_0x2f7946=Object[_0x464faf(0x36f)],_0x426137=(_0x53c85b,_0x5912fb,_0x5d8b33,_0x160609)=>{for(var _0x4c10ec=_0x160609>0x1?void 0x0:_0x160609?_0x2f7946(_0x5912fb,_0x5d8b33):_0x5912fb,_0x41b096=_0x53c85b['length']-0x1,_0x5c7a85;_0x41b096>=0x0;_0x41b096--)(_0x5c7a85=_0x53c85b[_0x41b096])&&(_0x4c10ec=(_0x160609?_0x5c7a85(_0x5912fb,_0x5d8b33,_0x4c10ec):_0x5c7a85(_0x4c10ec))||_0x4c10ec);return _0x160609&&_0x4c10ec&&_0x292ea4(_0x5912fb,_0x5d8b33,_0x4c10ec),_0x4c10ec;},_0x3c9b46=(_0x3060b9,_0x464c47)=>(_0x27870f,_0x4abfec)=>_0x464c47(_0x27870f,_0x4abfec,_0x3060b9);_0x19e906['SnapshotServerOverHTTPService']=class{constructor(_0x4ee675,_0x15639a){const _0x389f31=_0x464faf;this[_0x389f31(0x562)]=_0x4ee675,this[_0x389f31(0x1f5)]=_0x15639a;}async[_0x464faf(0x584)](_0x498bbc,_0x4883c7){const _0xe3d1a0=_0x464faf;var _0x265172;const {unitID:_0x2b8fd3,type:_0x4dd042,revision:_0x50b312=0x0}=_0x4883c7,_0x2b2fec=this[_0xe3d1a0(0x537)]()+'/'+_0x4dd042+_0xe3d1a0(0x36d)+_0x2b8fd3+_0xe3d1a0(0x5ae)+_0x50b312,_0x2ca7be=(await this[_0xe3d1a0(0x1f5)][_0xe3d1a0(0x321)](_0x2b2fec))[_0xe3d1a0(0x2e0)],_0x26e90d=(_0x265172=_0x2ca7be[_0xe3d1a0(0x4ac)])==null?void 0x0:_0x265172[_0xe3d1a0(0x2d3)];if(_0x26e90d){const _0x45915a=_0x26e90d==null?void 0x0:_0x26e90d[_0xe3d1a0(0x20a)],_0x5e5924=_0x2cb6ec['textEncoder'][_0xe3d1a0(0x30c)](_0x2cb6ec['b64DecodeUnicode'](_0x45915a));_0x26e90d[_0xe3d1a0(0x20a)]=_0x5e5924,Object[_0xe3d1a0(0x247)](_0x26e90d['sheets'])[_0xe3d1a0(0x1fc)](([,_0x11f5e6])=>{const _0xa1566d=_0xe3d1a0,_0x22ea00=_0x11f5e6[_0xa1566d(0x20a)],_0x2da0bb=_0x2cb6ec[_0xa1566d(0x3d3)][_0xa1566d(0x30c)](_0x2cb6ec[_0xa1566d(0x497)](_0x22ea00));_0x11f5e6[_0xa1566d(0x20a)]=_0x2da0bb;});}return _0x2ca7be;}async['getSheetBlock'](_0x2d0a2f,_0xce9162){const _0x20f83d=_0x464faf,{unitID:_0x1f0b3d,type:_0xdd157e,blockID:_0x327a06}=_0xce9162,_0x433346=this[_0x20f83d(0x4b6)]()+'/'+_0xdd157e+'/unit/'+_0x1f0b3d+'/block/'+_0x327a06;return(await this[_0x20f83d(0x1f5)][_0x20f83d(0x321)](_0x433346))[_0x20f83d(0x2e0)];}async[_0x464faf(0x318)](_0xe31e77,_0x5e3fca){const _0x54c5f4=_0x464faf,{unitID:_0x25a553,type:_0xb3b950,from:_0x1842bd,to:_0x523152}=_0x5e3fca,_0x3d929c=this[_0x54c5f4(0x4b6)]()+'/'+_0xb3b950+'/unit/'+_0x25a553+'/fetchmissing?from='+_0x1842bd+_0x54c5f4(0x58e)+_0x523152;return(await this[_0x54c5f4(0x1f5)][_0x54c5f4(0x321)](_0x3d929c))[_0x54c5f4(0x2e0)];}[_0x464faf(0x537)](){const _0x49fa49=_0x464faf;var _0x368838;return(_0x368838=this[_0x49fa49(0x562)][_0x49fa49(0x5b1)](_0x407342))!=null?_0x368838:this[_0x49fa49(0x4b6)]();}[_0x464faf(0x4b6)](){const _0x50ee48=_0x464faf;var _0x1ab6aa;return(_0x1ab6aa=this[_0x50ee48(0x562)][_0x50ee48(0x5b1)](_0x30cccf))!=null?_0x1ab6aa:_0xe696b2;}async[_0x464faf(0x379)](_0x2a69f2,_0x22ce5d){const _0x2e75b8=_0x464faf,_0x2c607c=_0x2e75b8(0x2db)+_0x22ce5d[_0x2e75b8(0x2e4)]+_0x2e75b8(0x36d)+_0x22ce5d['unitID']+'/resources';return(await this[_0x2e75b8(0x1f5)][_0x2e75b8(0x321)](_0x2c607c,{'params':{'resourceId':JSON[_0x2e75b8(0x4c2)](_0x22ce5d[_0x2e75b8(0x26f)])}}))[_0x2e75b8(0x2e0)];}['saveSnapshot'](){const _0x2a3f5a=_0x464faf;throw new Error(_0x2a3f5a(0x31a));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x4401b3=_0x464faf;throw new Error(_0x4401b3(0x31a));}},_0x19e906['SnapshotServerOverHTTPService']=_0x426137([_0x3c9b46(0x0,_0x22bd76[_0x464faf(0x55b)]),_0x3c9b46(0x1,_0x22bd76[_0x464faf(0x568)](_0x9bd9f[_0x464faf(0x41f)]))],_0x19e906[_0x464faf(0x3ea)]);var _0x23228c=Object[_0x464faf(0x229)],_0x24c13d=Object[_0x464faf(0x36f)],_0x20a8e2=(_0x518220,_0x4127dc,_0x96c1b5,_0x216563)=>{const _0x154404=_0x464faf;for(var _0xca667e=_0x216563>0x1?void 0x0:_0x216563?_0x24c13d(_0x4127dc,_0x96c1b5):_0x4127dc,_0x5947f3=_0x518220[_0x154404(0x266)]-0x1,_0x617c04;_0x5947f3>=0x0;_0x5947f3--)(_0x617c04=_0x518220[_0x5947f3])&&(_0xca667e=(_0x216563?_0x617c04(_0x4127dc,_0x96c1b5,_0xca667e):_0x617c04(_0xca667e))||_0xca667e);return _0x216563&&_0xca667e&&_0x23228c(_0x4127dc,_0x96c1b5,_0xca667e),_0xca667e;},_0x4d4377=(_0x4ac225,_0x5ec727)=>(_0x364262,_0x4ec40d)=>_0x5ec727(_0x364262,_0x4ec40d,_0x4ac225);let _0x45556c=class extends _0x22bd76['LocalUndoRedoService']{constructor(_0x266360,_0x56556d,_0x4791de,_0xd0822a,_0x4e8ca4){const _0x2fadcd=_0x464faf;super(_0x266360,_0x56556d,_0x4791de),this[_0x2fadcd(0x24e)]=_0xd0822a,this[_0x2fadcd(0x4c0)]=_0x4e8ca4;}[_0x464faf(0x591)](_0x1e9335,_0x26c9f7){const _0x407503=_0x464faf,_0x18c578=this[_0x407503(0x212)](_0x1e9335);if(_0x18c578)try{const _0x468094=this[_0x407503(0x313)](_0x18c578,_0x26c9f7);this[_0x407503(0x54c)](_0x1e9335,_0x468094);}catch(_0x3a2d26){this[_0x407503(0x4c0)][_0x407503(0x458)](_0x407503(0x286),_0x3a2d26),this[_0x407503(0x595)](_0x1e9335);}const _0x3fed2b=this[_0x407503(0x324)](_0x1e9335);if(_0x3fed2b)try{const _0x77b3cf=this[_0x407503(0x313)](_0x3fed2b,_0x26c9f7);this['_substituteRedoStack'](_0x1e9335,_0x77b3cf);}catch(_0x56ed67){this[_0x407503(0x4c0)][_0x407503(0x458)](_0x56ed67),this['_clearRedo'](_0x1e9335);}}['_clearUndo'](_0x1a3b13){const _0x5c7753=_0x464faf,_0x2ac48a=this[_0x5c7753(0x212)](_0x1a3b13);_0x2ac48a&&(_0x2ac48a[_0x5c7753(0x266)]=0x0,this['_updateStatus']());}[_0x464faf(0x449)](_0x211c9d){const _0x401bea=_0x464faf,_0x49323a=this[_0x401bea(0x324)](_0x211c9d);_0x49323a&&(_0x49323a[_0x401bea(0x266)]=0x0,this[_0x401bea(0x59e)]());}[_0x464faf(0x54c)](_0x2c31b7,_0x1d09d4){const _0x1937bc=_0x464faf;this[_0x1937bc(0x575)][_0x1937bc(0x372)](_0x2c31b7,_0x1d09d4),this['_updateStatus']();}[_0x464faf(0x52b)](_0x5664a7,_0x1c1011){const _0x3bec7d=_0x464faf;this['_redoStacks'][_0x3bec7d(0x372)](_0x5664a7,_0x1c1011),this[_0x3bec7d(0x59e)]();}['_transformStack'](_0x2b81f1,_0x37ae77){const _0x2741eb=_0x464faf,_0x34d950=[];let _0x13596a=_0x37ae77,_0x5c9a93=_0x37ae77;for(let _0x4575d6=_0x2b81f1[_0x2741eb(0x266)]-0x1;_0x4575d6>=0x0;_0x4575d6--){const {unitID:_0x1db0dd,undoMutations:_0x26f1c9,redoMutations:_0x9be293}=_0x2b81f1[_0x4575d6],_0x2c9dc0=this[_0x2741eb(0x24e)][_0x2741eb(0x1de)](_0x13596a,_0x26f1c9),_0x12c73f=this['_transformService'][_0x2741eb(0x1de)](_0x5c9a93,_0x9be293);if(_0x2cb6ec[_0x2741eb(0x2b4)](_0x2c9dc0)||_0x2cb6ec[_0x2741eb(0x2b4)](_0x12c73f)){this[_0x2741eb(0x4c0)][_0x2741eb(0x458)](_0x2741eb(0x286),_0x2741eb(0x453),_0x2c9dc0,_0x12c73f);break;}_0x13596a=_0x2c9dc0[_0x2741eb(0x1f4)],_0x5c9a93=_0x12c73f['c1Prime'],_0x34d950[_0x2741eb(0x4a6)]({'unitID':_0x1db0dd,'undoMutations':_0x2c9dc0[_0x2741eb(0x275)],'redoMutations':_0x12c73f[_0x2741eb(0x275)]});}return _0x34d950[_0x2741eb(0x451)]();}};_0x45556c=_0x20a8e2([_0x4d4377(0x0,_0x22bd76[_0x464faf(0x3a0)]),_0x4d4377(0x1,_0x22bd76[_0x464faf(0x4ae)]),_0x4d4377(0x2,_0x22bd76[_0x464faf(0x2c3)]),_0x4d4377(0x3,_0x2cb6ec['ITransformService']),_0x4d4377(0x4,_0x22bd76[_0x464faf(0x544)])],_0x45556c);class _0x1639d1 extends _0x22bd76['RxDisposable']{constructor(){const _0x5b35b9=_0x464faf;super(),_0x41b507(this,_0x5b35b9(0x491)),this[_0x5b35b9(0x491)]=_0xb468a3[_0x5b35b9(0x36c)](window,_0x5b35b9(0x5a4))['pipe'](_0xb468a3['takeUntil'](this[_0x5b35b9(0x49d)]),_0xb468a3[_0x5b35b9(0x315)](0x1),_0xb468a3['mapTo'](void 0x0));}['setParam'](_0x8c8360,_0x20e335,_0xdff61d=!0x1){const _0x3a3724=_0x464faf,_0x55284b=new URL(window['location'][_0x3a3724(0x39e)]);_0x55284b[_0x3a3724(0x25f)][_0x3a3724(0x372)](_0x8c8360,_0x20e335),_0xdff61d?window[_0x3a3724(0x563)][_0x3a3724(0x237)]('','',_0x55284b[_0x3a3724(0x576)]()):window[_0x3a3724(0x563)][_0x3a3724(0x392)]('','',_0x55284b[_0x3a3724(0x576)]());}[_0x464faf(0x4ab)](_0x305d85,_0x150d2a=!0x1){const _0xb38401=_0x464faf,_0x2d8d52=new URL(window[_0xb38401(0x3e4)][_0xb38401(0x39e)]);_0x2d8d52[_0xb38401(0x25f)][_0xb38401(0x331)](_0x305d85),_0x150d2a?window['history'][_0xb38401(0x237)]('','',_0x2d8d52[_0xb38401(0x576)]()):window['history'][_0xb38401(0x392)]('','',_0x2d8d52[_0xb38401(0x576)]());}[_0x464faf(0x529)](_0x1f1223){const _0x559a78=_0x464faf;var _0x1f709d;return(_0x1f709d=new URL(window[_0x559a78(0x3e4)][_0x559a78(0x39e)])[_0x559a78(0x25f)][_0x559a78(0x321)](_0x1f1223))!=null?_0x1f709d:void 0x0;}}var _0x57cf33=Object[_0x464faf(0x229)],_0xee6d7b=Object[_0x464faf(0x36f)],_0x18ee33=(_0x1d0e7a,_0x3c8623,_0x4ea9dd)=>_0x3c8623 in _0x1d0e7a?_0x57cf33(_0x1d0e7a,_0x3c8623,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ea9dd}):_0x1d0e7a[_0x3c8623]=_0x4ea9dd,_0x1177be=(_0x100bcf,_0xa89d48,_0x187590,_0x869b2)=>{const _0x40f2cd=_0x464faf;for(var _0x3902c3=_0x869b2>0x1?void 0x0:_0x869b2?_0xee6d7b(_0xa89d48,_0x187590):_0xa89d48,_0x18b190=_0x100bcf[_0x40f2cd(0x266)]-0x1,_0x2b3c5f;_0x18b190>=0x0;_0x18b190--)(_0x2b3c5f=_0x100bcf[_0x18b190])&&(_0x3902c3=(_0x869b2?_0x2b3c5f(_0xa89d48,_0x187590,_0x3902c3):_0x2b3c5f(_0x3902c3))||_0x3902c3);return _0x869b2&&_0x3902c3&&_0x57cf33(_0xa89d48,_0x187590,_0x3902c3),_0x3902c3;},_0x3dd7b6=(_0x635fb5,_0x3e31ac)=>(_0x14b7f6,_0x273e5d)=>_0x3e31ac(_0x14b7f6,_0x273e5d,_0x635fb5),_0x3a52a4=(_0x1e85ac,_0x3b35c8,_0x323c22)=>_0x18ee33(_0x1e85ac,_0x3b35c8+'',_0x323c22);const _0x518d22=_0x464faf(0x40f);_0x19e906[_0x464faf(0x3f0)]=class extends _0x22bd76[_0x464faf(0x227)]{constructor(_0x42ec76={},_0xa1f249,_0x1645f3,_0x213cd6,_0x154bc4){const _0x485e6f=_0x464faf;super(),this[_0x485e6f(0x4d9)]=_0x42ec76,this[_0x485e6f(0x4c0)]=_0xa1f249,this[_0x485e6f(0x2c2)]=_0x1645f3,this[_0x485e6f(0x38a)]=_0x213cd6,this['_configService']=_0x154bc4;const {..._0x19f143}=this[_0x485e6f(0x4d9)];this[_0x485e6f(0x562)][_0x485e6f(0x1cc)](_0x3a3834,_0x19f143);}[_0x464faf(0x218)](){const _0x430a06=_0x464faf;this[_0x430a06(0x5a2)]();}['onRendered'](){const _0xb6953f=_0x464faf;this[_0xb6953f(0x1bc)]();}[_0x464faf(0x5a2)](){const _0x3d5429=_0x464faf;var _0x5024dc,_0x16247b,_0x397a67,_0x1e5f85;this[_0x3d5429(0x38a)]['has'](_0x22bd76[_0x3d5429(0x56b)])&&this[_0x3d5429(0x4c0)][_0x3d5429(0x458)](_0x3d5429(0x1dc),_0x3d5429(0x46f));let _0x47eda0=[[_0x22bd76[_0x3d5429(0x56b)],{'useClass':_0x45556c}],[_0x19e906[_0x3d5429(0x2ca)]],[_0x3ba727],[_0x9bd9f[_0x3d5429(0x41f)]],[_0xee2adc,{'useClass':_0x1639d1}],[_0x27752c],[_0x19e906['LocalCacheService']],[_0x9bd9f[_0x3d5429(0x1f2)]],[_0xa1505e],[_0x529ffa],[_0x1ffb94],[_0x43e255],[_0xdb1fc5],[_0x45b3e8],[_0x3e6c22],[_0x393e0b,{'useClass':(_0x16247b=(_0x5024dc=this['_config'])==null?void 0x0:_0x5024dc['socketService'])!=null?_0x16247b:_0x19e906[_0x3d5429(0x3e7)]}],[_0x9bd9f[_0x3d5429(0x479)],{'useClass':_0x9bd9f[_0x3d5429(0x5c1)]}],[_0x2cb6ec[_0x3d5429(0x582)],{'useClass':_0x19e906['SnapshotServerOverHTTPService']}],[_0x22bd76[_0x3d5429(0x3d1)],{'useClass':_0x19e906['AuthzIoHttpService']}],[_0x1fbc38[_0x3d5429(0x4c4)],{'useClass':_0x19e906[_0x3d5429(0x270)]}],[_0x19e906['CollaborationController']],[_0x19e906['DataLoaderController']],[_0x19e906[_0x3d5429(0x57b)]],[_0x5a4239],[_0x3c33bf]];(_0x397a67=this[_0x3d5429(0x4d9)])!=null&&_0x397a67[_0x3d5429(0x2bd)]&&_0x47eda0[_0x3d5429(0x4a6)]([_0x4b8af1,{'useClass':_0x5474b1}]),_0x47eda0=_0x22bd76[_0x3d5429(0x380)](_0x47eda0,(_0x1e5f85=this[_0x3d5429(0x4d9)])==null?void 0x0:_0x1e5f85[_0x3d5429(0x1fd)]),_0x47eda0[_0x3d5429(0x1fc)](_0x4324be=>this['_injector']['add'](_0x4324be)),this[_0x3d5429(0x512)]();}[_0x464faf(0x1bc)](){const _0x53a392=_0x464faf;this[_0x53a392(0x241)](this[_0x53a392(0x2c2)]['registerRenderModule'](_0x22bd76[_0x53a392(0x53c)][_0x53a392(0x3c1)],[_0x507f93])),this[_0x53a392(0x241)](this[_0x53a392(0x2c2)][_0x53a392(0x583)](_0x22bd76[_0x53a392(0x53c)][_0x53a392(0x593)],[_0x3a7621]));}[_0x464faf(0x512)](){const _0x3043d7=_0x464faf;var _0x442903,_0x253042;this['_injector'][_0x3043d7(0x321)](_0x9bd9f[_0x3043d7(0x41f)])[_0x3043d7(0x49c)]({'priority':0x14,'interceptor':_0x9bd9f['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x442903=this[_0x3043d7(0x4d9)])!=null&&_0x442903['enableOfflineEditing']||this[_0x3043d7(0x38a)][_0x3043d7(0x321)](_0x19e906['LocalCacheService'])[_0x3043d7(0x59d)](),(_0x253042=this[_0x3043d7(0x4d9)])!=null&&_0x253042[_0x3043d7(0x5a7)]&&this[_0x3043d7(0x38a)][_0x3043d7(0x321)](_0xdb1fc5),this[_0x3043d7(0x38a)]['get'](_0x19e906['CollaborationController']),this[_0x3043d7(0x38a)][_0x3043d7(0x2e2)](_0x19e906[_0x3043d7(0x57b)])&&this[_0x3043d7(0x38a)][_0x3043d7(0x321)](_0x19e906[_0x3043d7(0x57b)]);}},_0x3a52a4(_0x19e906['UniverCollaborationClientPlugin'],_0x464faf(0x2bf),_0x518d22),_0x19e906['UniverCollaborationClientPlugin']=_0x1177be([_0x22bd76['DependentOn'](_0x2cb6ec['UniverCollaborationPlugin']),_0x3dd7b6(0x1,_0x22bd76[_0x464faf(0x544)]),_0x3dd7b6(0x2,_0x3ab0d3[_0x464faf(0x55e)]),_0x3dd7b6(0x3,_0x22bd76['Inject'](_0x22bd76['Injector'])),_0x3dd7b6(0x4,_0x22bd76[_0x464faf(0x55b)])],_0x19e906['UniverCollaborationClientPlugin']),_0x19e906[_0x464faf(0x2cc)]=_0x2560cb,_0x19e906[_0x464faf(0x19d)]=_0x384be7,_0x19e906[_0x464faf(0x25c)]=_0x103754,_0x19e906['CollaborationStatus']=_0x29599c,_0x19e906[_0x464faf(0x276)]=_0x2e5a3d,_0x19e906[_0x464faf(0x525)]=_0x45b3e8,_0x19e906[_0x464faf(0x4f0)]=_0x2e9ff9,_0x19e906[_0x464faf(0x577)]=_0x2d9c81,_0x19e906[_0x464faf(0x55d)]=_0x393e0b,_0x19e906[_0x464faf(0x339)]=_0xee2adc,_0x19e906[_0x464faf(0x2fc)]=_0x1c42e9,_0x19e906[_0x464faf(0x3ed)]=_0x4e8aa6,_0x19e906[_0x464faf(0x5b5)]=_0x470888,_0x19e906[_0x464faf(0x3b2)]=_0x1a7bc5,_0x19e906[_0x464faf(0x528)]=_0xdd38af,_0x19e906[_0x464faf(0x53e)]=_0x30cccf,_0x19e906['SNAPSHOT_URL_KEY']=_0x407342,_0x19e906[_0x464faf(0x468)]=_0x4d9058,_0x19e906['SheetCollabCursorShape']=_0x2e24c1,_0x19e906[_0x464faf(0x44e)]=_0x1639d1,_0x19e906[_0x464faf(0x581)]=_0x148c3f,_0x19e906[_0x464faf(0x394)]=_0x32de58,Object[_0x464faf(0x229)](_0x19e906,Symbol['toStringTag'],{'value':_0x464faf(0x587)});}));
|