@univerjs-pro/collaboration-client 0.4.1-nightly.202410261605 → 0.4.1-nightly.202410281606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3aae09,_0x3f8115){const _0x5e249e=_0x30a8,_0x40fe10=_0x3aae09();while(!![]){try{const _0x3627ca=parseInt(_0x5e249e(0x1d3))/0x1*(-parseInt(_0x5e249e(0x40d))/0x2)+-parseInt(_0x5e249e(0x523))/0x3*(-parseInt(_0x5e249e(0x1c2))/0x4)+parseInt(_0x5e249e(0x4ba))/0x5*(parseInt(_0x5e249e(0x223))/0x6)+-parseInt(_0x5e249e(0x140))/0x7*(-parseInt(_0x5e249e(0x420))/0x8)+-parseInt(_0x5e249e(0x2af))/0x9+parseInt(_0x5e249e(0x278))/0xa*(parseInt(_0x5e249e(0x46c))/0xb)+-parseInt(_0x5e249e(0x1b0))/0xc;if(_0x3627ca===_0x3f8115)break;else _0x40fe10['push'](_0x40fe10['shift']());}catch(_0x272261){_0x40fe10['push'](_0x40fe10['shift']());}}}(_0x4725,0xc952d),function(_0x401ae4,_0x514485){const _0x140345=_0x30a8;typeof exports=='object'&&typeof module<'u'?_0x514485(exports,require(_0x140345(0x1f7)),require(_0x140345(0x4d8)),require(_0x140345(0x21d)),require(_0x140345(0x4b2)),require(_0x140345(0x453)),require(_0x140345(0x370)),require(_0x140345(0xe3)),require(_0x140345(0x4ef)),require(_0x140345(0x21a)),require('@univerjs/sheets'),require(_0x140345(0x2ee)),require(_0x140345(0x4f2)),require('@univerjs/drawing'),require(_0x140345(0x1ad)),require(_0x140345(0x480)),require('react'),require('@univerjs/rpc'),require('@univerjs-pro/license')):typeof define=='function'&&define['amd']?define([_0x140345(0x4a6),_0x140345(0x1f7),_0x140345(0x4d8),_0x140345(0x21d),_0x140345(0x4b2),'@univerjs/ui',_0x140345(0x370),'@univerjs-pro/collaboration',_0x140345(0x4ef),_0x140345(0x21a),_0x140345(0x101),_0x140345(0x2ee),'@univerjs/docs',_0x140345(0x336),'@univerjs/engine-formula',_0x140345(0x480),_0x140345(0x14b),_0x140345(0x3e7),_0x140345(0x35a)],_0x514485):(_0x401ae4=typeof globalThis<'u'?globalThis:_0x401ae4||self,_0x514485(_0x401ae4[_0x140345(0x22d)]={},_0x401ae4[_0x140345(0x2d9)],_0x401ae4[_0x140345(0x4d8)],_0x401ae4['rxjs']['operators'],_0x401ae4[_0x140345(0x26d)],_0x401ae4[_0x140345(0x3aa)],_0x401ae4[_0x140345(0x27a)],_0x401ae4['UniverCollaboration'],_0x401ae4[_0x140345(0x3eb)],_0x401ae4[_0x140345(0x2d7)],_0x401ae4['UniverSheets'],_0x401ae4[_0x140345(0x4cf)],_0x401ae4[_0x140345(0x3ab)],_0x401ae4[_0x140345(0x23d)],_0x401ae4[_0x140345(0x3c0)],_0x401ae4['UniverSheetsUi'],_0x401ae4[_0x140345(0x446)],_0x401ae4[_0x140345(0x381)],_0x401ae4['UniverLicense']));}(this,function(_0xedfd91,_0x35f0f7,_0x469a80,_0x3c93c6,_0xed3e06,_0x2b561e,_0x5c5830,_0x69458a,_0x535a16,_0x36b317,_0x538a64,_0x51641a,_0x41e827,_0x3cd5f7,_0x3b0afd,_0x5268db,_0x4288f6,_0x230ed1,_0x5af54b){'use strict';const _0x187cb8=_0x30a8;var _0x55ff86=Object['defineProperty'],_0x1b00db=(_0x4297e6,_0x434671,_0x4b61eb)=>_0x434671 in _0x4297e6?_0x55ff86(_0x4297e6,_0x434671,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b61eb}):_0x4297e6[_0x434671]=_0x4b61eb,_0xa611d0=(_0x3da120,_0x4a52f9,_0x74dd0d)=>_0x1b00db(_0x3da120,typeof _0x4a52f9!=_0x187cb8(0x386)?_0x4a52f9+'':_0x4a52f9,_0x74dd0d);const _0x56c12a=_0x187cb8(0x354),_0x3368ee=_0x187cb8(0x218),_0xc4b24b=_0x187cb8(0x384),_0x216271=_0x187cb8(0x4bb),_0x4bd350='COLLAB_WEB_SOCKET_URL',_0x2a84a7=_0x187cb8(0x36b),_0x2c772a='HEARTBEAT_INTERVAL',_0x3a1cdf=_0x187cb8(0x4de),_0x44e13f=_0x187cb8(0x4be),_0x3202d6=_0x187cb8(0x519),_0x29520d=_0x187cb8(0x161),_0x1a5de9=_0x187cb8(0x484),_0x325e08=_0x187cb8(0x114),_0x3c8117=_0x187cb8(0x2b4);var _0x29383f=(_0x528062=>(_0x528062[_0x528062[_0x187cb8(0x21c)]=0x0]=_0x187cb8(0x21c),_0x528062[_0x528062['OK']=0x1]='OK',_0x528062[_0x528062[_0x187cb8(0x2c2)]=0x2]=_0x187cb8(0x2c2),_0x528062[_0x528062[_0x187cb8(0x3d8)]=0x3]='PERMISSION_DENIED',_0x528062[_0x528062[_0x187cb8(0x27d)]=0x4]='NOT_FOUND',_0x528062[_0x528062['UNAUTHENTICATED']=0x5]=_0x187cb8(0x28a),_0x528062[_0x528062[_0x187cb8(0xe8)]=0x6]=_0x187cb8(0xe8),_0x528062[_0x528062[_0x187cb8(0x2f3)]=0x7]='INVALID_ARGUMENT',_0x528062[_0x528062[_0x187cb8(0x1d8)]=0x8]=_0x187cb8(0x1d8),_0x528062[_0x528062[_0x187cb8(0x19a)]=0x9]=_0x187cb8(0x19a),_0x528062[_0x528062[_0x187cb8(0x4c5)]=0x1389]=_0x187cb8(0x4c5),_0x528062[_0x528062[_0x187cb8(0x1e2)]=0x1771]=_0x187cb8(0x1e2),_0x528062[_0x528062[_0x187cb8(0x229)]=0x1772]=_0x187cb8(0x229),_0x528062[_0x528062['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x187cb8(0x337),_0x528062[_0x528062[_0x187cb8(0x3ef)]=0x1b59]='APPLY_REJECT',_0x528062[_0x528062['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x528062[_0x528062[_0x187cb8(0x3ed)]=0x1b5b]=_0x187cb8(0x3ed),_0x528062[_0x528062[_0x187cb8(0x493)]=0x1b5c]=_0x187cb8(0x493),_0x528062[_0x528062[_0x187cb8(0x423)]=0x1b5d]='APPLY_DUPLICATED',_0x528062[_0x528062[_0x187cb8(0x479)]=0x1f41]=_0x187cb8(0x479),_0x528062[_0x528062[_0x187cb8(0x400)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x528062[_0x528062[_0x187cb8(0x205)]=0x232a]=_0x187cb8(0x205),_0x528062[_0x528062[_0x187cb8(0x41d)]=0x232b]=_0x187cb8(0x41d),_0x528062[_0x528062['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x187cb8(0x36e),_0x528062[_0x528062[_0x187cb8(0x431)]=0x232d]=_0x187cb8(0x431),_0x528062[_0x528062[_0x187cb8(0x353)]=0x2711]=_0x187cb8(0x353),_0x528062[_0x528062['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x187cb8(0x31c),_0x528062[_0x528062[_0x187cb8(0x17c)]=0x2713]=_0x187cb8(0x17c),_0x528062[_0x528062[_0x187cb8(0x477)]=0x2714]=_0x187cb8(0x477),_0x528062[_0x528062[_0x187cb8(0x487)]=-0x1]=_0x187cb8(0x487),_0x528062))(_0x29383f||{}),_0x2bb4bc=(_0x1f65fd=>(_0x1f65fd[_0x1f65fd[_0x187cb8(0x510)]=0x0]=_0x187cb8(0x510),_0x1f65fd[_0x1f65fd['UNIVER_DOC']=0x1]=_0x187cb8(0x3e9),_0x1f65fd[_0x1f65fd[_0x187cb8(0x2fc)]=0x2]=_0x187cb8(0x2fc),_0x1f65fd[_0x1f65fd[_0x187cb8(0x351)]=0x3]=_0x187cb8(0x351),_0x1f65fd[_0x1f65fd[_0x187cb8(0x3ce)]=0x4]=_0x187cb8(0x3ce),_0x1f65fd[_0x1f65fd[_0x187cb8(0x487)]=-0x1]=_0x187cb8(0x487),_0x1f65fd))(_0x2bb4bc||{}),_0x3236e8=(_0x59bb0c=>(_0x59bb0c[_0x59bb0c[_0x187cb8(0x374)]=0x0]=_0x187cb8(0x374),_0x59bb0c[_0x59bb0c[_0x187cb8(0x4ab)]=0x1]='HELLO',_0x59bb0c[_0x59bb0c[_0x187cb8(0x24f)]=0x2]=_0x187cb8(0x24f),_0x59bb0c[_0x59bb0c['LEAVE']=0x3]=_0x187cb8(0x2f4),_0x59bb0c[_0x59bb0c[_0x187cb8(0x1a6)]=0x4]=_0x187cb8(0x1a6),_0x59bb0c[_0x59bb0c[_0x187cb8(0x51c)]=0x5]='HEARTBEAT',_0x59bb0c[_0x59bb0c['RECV']=0x6]=_0x187cb8(0x398),_0x59bb0c[_0x59bb0c[_0x187cb8(0x487)]=-0x1]=_0x187cb8(0x487),_0x59bb0c))(_0x3236e8||{}),_0x101be6=(_0x2a26e0=>(_0x2a26e0[_0x2a26e0[_0x187cb8(0x287)]=0x0]=_0x187cb8(0x287),_0x2a26e0[_0x2a26e0['OK']=0x1]='OK',_0x2a26e0[_0x2a26e0[_0x187cb8(0x1ee)]=0x2]=_0x187cb8(0x1ee),_0x2a26e0[_0x2a26e0[_0x187cb8(0x487)]=-0x1]=_0x187cb8(0x487),_0x2a26e0))(_0x101be6||{}),_0x3180b1=(_0x2c1f41=>(_0x2c1f41[_0x2c1f41[_0x187cb8(0x3c8)]=0x0]=_0x187cb8(0x3c8),_0x2c1f41[_0x2c1f41['HttpImport']=0x1]=_0x187cb8(0x22f),_0x2c1f41[_0x2c1f41[_0x187cb8(0x1b8)]=0x2]=_0x187cb8(0x1b8),_0x2c1f41[_0x2c1f41[_0x187cb8(0x179)]=0x3]=_0x187cb8(0x179),_0x2c1f41[_0x2c1f41['UnitSnapshot']=0x4]=_0x187cb8(0x24e),_0x2c1f41[_0x2c1f41['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2c1f41))(_0x3180b1||{});const _0x62c88d=_0x187cb8(0x2e9),_0x286a3e={};function _0x29876c(_0x4fa683){const _0x419a1a=_0x187cb8;var _0x299935,_0x5c1eb5,_0x233e36,_0x13e44a,_0x2f2a6f;const _0x1fbf6a=_0x4fa683[_0x419a1a(0x350)],_0x1f6673=JSON[_0x419a1a(0x138)](_0x1fbf6a);switch(_0x1f6673[_0x419a1a(0x1df)]){case _0x3236e8['HEARTBEAT']:case _0x3236e8[_0x419a1a(0x4ab)]:{const _0x91585a=_0x1f6673['infoRsp'];return{..._0x1f6673,'data':_0x91585a,'cmd':_0x1f6673[_0x419a1a(0x1df)]};}case _0x3236e8['JOIN']:{const _0x3d33c6=_0x1f6673[_0x419a1a(0x481)];return{..._0x1f6673,'data':_0x3d33c6,'cmd':_0x1f6673['cmd']};}case _0x3236e8['RECV']:{const _0x23cf30=_0x1f6673[_0x419a1a(0x1c0)];switch(_0x23cf30['eventID']){case _0x69458a['CollaborationEvent']['PERMISSION_REJ']:return{..._0x1f6673,'data':{..._0x23cf30,'data':(_0x299935=_0x23cf30[_0x419a1a(0x347)])==null?void 0x0:_0x299935['cs']},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)][_0x419a1a(0x116)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':(_0x5c1eb5=_0x23cf30[_0x419a1a(0x1c4)])==null?void 0x0:_0x5c1eb5['cs']},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a['CollaborationEvent'][_0x419a1a(0x210)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':(_0x233e36=_0x23cf30[_0x419a1a(0x447)])==null?void 0x0:_0x233e36['cs']},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)][_0x419a1a(0x285)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':(_0x13e44a=_0x23cf30[_0x419a1a(0x197)])==null?void 0x0:_0x13e44a['cs']},'cmd':_0x1f6673['cmd']};case _0x69458a['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x1f6673,'data':{..._0x23cf30,'data':(_0x2f2a6f=_0x23cf30[_0x419a1a(0x1a9)])==null?void 0x0:_0x2f2a6f['cs']},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a['CollaborationEvent'][_0x419a1a(0x25e)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30[_0x419a1a(0x317)]},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)]['USERS_ENTER']:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30[_0x419a1a(0x2db)]},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a['CollaborationEvent'][_0x419a1a(0xf5)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30[_0x419a1a(0x24c)]},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)]['LIVESHARE_NEW_HOST']:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30['liveShareNewHost']},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)][_0x419a1a(0x25c)]:case _0x69458a['CollaborationEvent'][_0x419a1a(0x1f6)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30['liveShareOperation']},'cmd':_0x1f6673['cmd']};case _0x69458a[_0x419a1a(0x2e6)][_0x419a1a(0x482)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30[_0x419a1a(0x173)]},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)][_0x419a1a(0x104)]:return{..._0x1f6673,'data':_0x23cf30,'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)][_0x419a1a(0x4ce)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30[_0x419a1a(0x1b6)]},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)][_0x419a1a(0x3a5)]:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30[_0x419a1a(0x50b)]},'cmd':_0x1f6673[_0x419a1a(0x1df)]};case _0x69458a[_0x419a1a(0x2e6)]['SHOULD_CLOSE_CONN']:return{..._0x1f6673,'data':{..._0x23cf30,'data':_0x23cf30[_0x419a1a(0x4d3)]},'cmd':_0x1f6673[_0x419a1a(0x1df)]};default:return _0x1f6673;}}default:return _0x1f6673;}}function _0x4a9c2c(_0x3dc73c){const _0x337f1a=_0x187cb8;switch(_0x3dc73c['cmd']){case _0x3236e8[_0x337f1a(0x51c)]:case _0x3236e8[_0x337f1a(0x4ab)]:return JSON[_0x337f1a(0x4ad)]({'cmd':_0x3dc73c['cmd'],'routeKey':_0x3dc73c[_0x337f1a(0x4a9)]});case _0x3236e8[_0x337f1a(0x1a6)]:{let _0x525407;switch(_0x3dc73c[_0x337f1a(0x350)][_0x337f1a(0x143)]){case _0x69458a['CollaborationEvent'][_0x337f1a(0x25e)]:{_0x525407={'eventID':_0x69458a[_0x337f1a(0x2e6)]['UPDATE_CURSOR'],'updateCursorEvent':_0x3dc73c[_0x337f1a(0x350)][_0x337f1a(0x350)]};break;}case _0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0xf5)]:{_0x525407={'eventID':_0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0xf5)],'leaveEvent':_0x3dc73c[_0x337f1a(0x350)][_0x337f1a(0x350)]};break;}case _0x69458a['CollaborationEvent']['USERS_ENTER']:{_0x525407={'eventID':_0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0x371)],'joinEvent':_0x3dc73c[_0x337f1a(0x350)]['data']};break;}case _0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0x164)]:{_0x525407={'eventID':_0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0x164)],'liveShareNewHost':_0x3dc73c[_0x337f1a(0x350)][_0x337f1a(0x350)]};break;}case _0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0x1f6)]:{_0x525407={'eventID':_0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0x1f6)],'liveShareOperation':_0x3dc73c['data'][_0x337f1a(0x350)]};break;}case _0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0x482)]:{_0x525407={'eventID':_0x69458a['CollaborationEvent'][_0x337f1a(0x482)],'liveShareTerminate':_0x3dc73c[_0x337f1a(0x350)][_0x337f1a(0x350)]};break;}case _0x69458a[_0x337f1a(0x2e6)]['LIVESHARE_REQUEST_HOST']:{_0x525407={'eventID':_0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0x42b)],'liveShareRequestHost':_0x3dc73c[_0x337f1a(0x350)][_0x337f1a(0x350)]};break;}case _0x69458a[_0x337f1a(0x2e6)][_0x337f1a(0x25c)]:{_0x525407={'eventID':_0x69458a[_0x337f1a(0x2e6)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x525407={'eventID':_0x3dc73c[_0x337f1a(0x350)][_0x337f1a(0x143)]};}return JSON[_0x337f1a(0x4ad)]({'cmd':_0x3dc73c['cmd'],'routeKey':_0x3dc73c[_0x337f1a(0x4a9)],'collaMsg':_0x525407});}case _0x3236e8['JOIN']:return JSON[_0x337f1a(0x4ad)]({'cmd':_0x3dc73c['cmd'],'routeKey':_0x3dc73c[_0x337f1a(0x4a9)],'joinReq':_0x3dc73c[_0x337f1a(0x350)]});case _0x3236e8[_0x337f1a(0x2f4)]:return JSON['stringify']({'cmd':_0x3dc73c[_0x337f1a(0x1df)],'routeKey':_0x3dc73c[_0x337f1a(0x4a9)],'leaveReq':_0x3dc73c[_0x337f1a(0x350)]});default:throw new Error(_0x337f1a(0x2ac));}}var _0x152085=Object['defineProperty'],_0xf9b795=Object[_0x187cb8(0x358)],_0x4b1513=(_0x3ec263,_0x495dbc,_0x30d961,_0x2e7529)=>{for(var _0x48c3f1=_0x2e7529>0x1?void 0x0:_0x2e7529?_0xf9b795(_0x495dbc,_0x30d961):_0x495dbc,_0x40684c=_0x3ec263['length']-0x1,_0x4325b9;_0x40684c>=0x0;_0x40684c--)(_0x4325b9=_0x3ec263[_0x40684c])&&(_0x48c3f1=(_0x2e7529?_0x4325b9(_0x495dbc,_0x30d961,_0x48c3f1):_0x4325b9(_0x48c3f1))||_0x48c3f1);return _0x2e7529&&_0x48c3f1&&_0x152085(_0x495dbc,_0x30d961,_0x48c3f1),_0x48c3f1;},_0x256905=(_0x2f5356,_0x2363da)=>(_0xb2ed21,_0x2bb732)=>_0x2363da(_0xb2ed21,_0x2bb732,_0x2f5356);const _0x3ae34b=_0x35f0f7[_0x187cb8(0x463)](_0x187cb8(0x217));function _0x5b4cd2(_0x1406b8,_0x51515c,_0x1ce5ba){const _0x198ad9=_0x187cb8;return _0x1406b8+'/'+_0x51515c+_0x198ad9(0x3f8)+_0x1ce5ba+_0x198ad9(0x41b);}_0xedfd91[_0x187cb8(0x486)]=class extends _0x35f0f7[_0x187cb8(0x18a)]{constructor(_0x268ec6,_0x1f6597,_0x2d9c2e,_0x383de2,_0x24b5c5){const _0x480210=_0x187cb8;super(),this['_http']=_0x268ec6,this[_0x480210(0x4f0)]=_0x1f6597,this[_0x480210(0x1c6)]=_0x2d9c2e,this[_0x480210(0x213)]=_0x383de2,this[_0x480210(0x2f1)]=_0x24b5c5;}[_0x187cb8(0x3c9)](_0xd13fc7){const _0x2c50c1=_0x187cb8,_0xe1b827=this['_ws'][_0x2c50c1(0x3c9)](_0xd13fc7);if(!_0xe1b827)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x41388a=new _0x35f0f7[(_0x2c50c1(0x460))](),_0x2df05e=new _0x469a80[(_0x2c50c1(0x18e))]();_0x41388a[_0x2c50c1(0x2b6)](_0xe1b827[_0x2c50c1(0x435)][_0x2c50c1(0x377)](_0x22dca4=>_0x2df05e[_0x2c50c1(0x401)](_0x22dca4))),_0x41388a['add'](_0x35f0f7[_0x2c50c1(0x452)](()=>_0x2df05e[_0x2c50c1(0x162)]()));const _0x34eb9c=new _0x469a80['Subject']();_0x41388a[_0x2c50c1(0x2b6)](_0xe1b827[_0x2c50c1(0x2de)][_0x2c50c1(0x377)](_0x6b7782=>_0x34eb9c[_0x2c50c1(0x401)](_0x6b7782))),_0x41388a[_0x2c50c1(0x2b6)](_0x35f0f7[_0x2c50c1(0x452)](()=>_0x34eb9c[_0x2c50c1(0x162)]()));const _0x136365=new _0x469a80[(_0x2c50c1(0x18e))]();_0x41388a[_0x2c50c1(0x2b6)](_0xe1b827[_0x2c50c1(0x42f)][_0x2c50c1(0x377)](_0x35d18b=>{const _0x140007=_0x2c50c1,_0x58f68b=_0x29876c(_0x35d18b);_0x136365[_0x140007(0x401)](_0x58f68b);})),_0x41388a['add'](_0x35f0f7[_0x2c50c1(0x452)](()=>_0x136365[_0x2c50c1(0x162)]()));let _0x508f18;const _0x586bfd=()=>{const _0x1f1af2=_0x2c50c1;_0x34eb9c[_0x1f1af2(0x401)](new Event('connection\x20error')),_0x2df05e[_0x1f1af2(0x401)](new CloseEvent(_0x1f1af2(0x35e))),_0x508f18[_0x1f1af2(0x1e7)]();};return _0x508f18={'memberID':'','close$':_0x2df05e[_0x2c50c1(0x3a4)](),'error$':_0x34eb9c[_0x2c50c1(0x3a4)](),'open$':_0xe1b827['open$'],'message$':_0x136365[_0x2c50c1(0x3a4)](),'send':_0x2315cd=>{const _0x5427be=_0x2c50c1;if(_0x2315cd[_0x5427be(0x1df)]===_0x3236e8[_0x5427be(0x1a6)]){if(_0x2315cd[_0x5427be(0x350)]['eventID']===_0x69458a['CollaborationEvent'][_0x5427be(0x430)]){this[_0x5427be(0x11e)](_0x508f18,_0x2315cd[_0x5427be(0x350)])[_0x5427be(0x2a3)](_0x4fe543=>{const _0x3c10ee=_0x5427be;this[_0x3c10ee(0x213)]['error'](_0x4fe543),_0x586bfd();});return;}if(_0x2315cd[_0x5427be(0x350)][_0x5427be(0x143)]===_0x69458a[_0x5427be(0x2e6)][_0x5427be(0x43f)]){const _0x23853b=_0x2315cd[_0x5427be(0x350)];this['_fetchMissChangesets'](_0x23853b)[_0x5427be(0x362)](_0x58943b=>{const _0x4a5fbb=_0x5427be;_0x136365[_0x4a5fbb(0x401)]({'cmd':_0x3236e8[_0x4a5fbb(0x398)],'code':_0x101be6['OK'],'routeKey':_0x23853b[_0x4a5fbb(0x350)]['unitID'],'routeType':'','data':{'eventID':_0x69458a[_0x4a5fbb(0x2e6)][_0x4a5fbb(0x1e5)],'data':{'changesets':_0x58943b}}});})[_0x5427be(0x2a3)](_0x4bbcfe=>{const _0x250dc9=_0x5427be;this['_logService'][_0x250dc9(0x1ed)](_0x4bbcfe),_0x586bfd();});return;}}_0xe1b827['send'](_0x4a9c2c(_0x2315cd));},'close':()=>{const _0x357657=_0x2c50c1;_0xe1b827[_0x357657(0x1e7)](),_0x41388a[_0x357657(0x139)]();}},_0x508f18;}async[_0x187cb8(0x11e)](_0x19b8ea,_0x2960b4){const _0x589df7=_0x187cb8;var _0x230560,_0x4c3ec6;const {unitType:_0x4e6aad,unitID:_0x31c820,changeset:_0xcd5a78}=_0x2960b4['data'],_0x394b5d={'unitID':_0x31c820,'memberID':_0x19b8ea[_0x589df7(0x301)],'type':_0x4e6aad,'changeset':_0x69458a[_0x589df7(0x10f)](_0xcd5a78)},_0x46cde5=this['_configService'][_0x589df7(0x232)](_0x29520d),_0x2576df=this[_0x589df7(0x1c6)][_0x589df7(0x232)](_0x62c88d),_0x15562d=_0x5b4cd2((_0x4c3ec6=(_0x230560=_0x2576df==null?void 0x0:_0x2576df['collabSubmitChangesetUrl'])!=null?_0x230560:_0x46cde5)!=null?_0x4c3ec6:_0x1a5de9,_0x4e6aad,_0x31c820);try{await this[_0x589df7(0x2da)][_0x589df7(0xf0)](_0x15562d,{'body':_0x394b5d});}catch(_0x12d3fa){throw this['_logService'][_0x589df7(0x1ed)]('[CollaborationSession]',_0x589df7(0x2bf)),_0x12d3fa;}}async[_0x187cb8(0x342)](_0xdfa602){const _0x1ae0a7=_0x187cb8,{unitID:_0x573c40,from:_0x4abce0,to:_0x32b2b2,unitType:_0x1ef39d}=_0xdfa602[_0x1ae0a7(0x350)];return(await this[_0x1ae0a7(0x2f1)][_0x1ae0a7(0x297)]({'metadata':void 0x0},{'unitID':_0x573c40,'type':_0x1ef39d,'from':_0x4abce0,'to':_0x32b2b2}))['changesets'];}},_0xedfd91[_0x187cb8(0x486)]=_0x4b1513([_0x256905(0x0,_0x35f0f7[_0x187cb8(0x15a)](_0x5c5830[_0x187cb8(0x4c6)])),_0x256905(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0x5c5830[_0x187cb8(0x200)])),_0x256905(0x2,_0x35f0f7[_0x187cb8(0x141)]),_0x256905(0x3,_0x35f0f7[_0x187cb8(0x29f)]),_0x256905(0x4,_0x69458a[_0x187cb8(0x26c)])],_0xedfd91[_0x187cb8(0x486)]);const _0x1193d1='collaboration_new_changeset';function _0x1569f0(_0xdc8f2d){return JSON['stringify'](_0xdc8f2d)['length'];}class _0x1cadae{constructor(){const _0x2f126f=_0x187cb8;_0xa611d0(this,_0x2f126f(0x4c0),new _0x469a80[(_0x2f126f(0x18e))]()),_0xa611d0(this,'commentUpdate$',this[_0x2f126f(0x4c0)][_0x2f126f(0x3a4)]());}[_0x187cb8(0x3ee)](_0x5cc582){const _0x450346=_0x187cb8;this[_0x450346(0x4c0)][_0x450346(0x401)](_0x5cc582);}}var _0x5c18c2=Object[_0x187cb8(0x429)],_0x1fab3d=Object[_0x187cb8(0x358)],_0x27f5c3=(_0x1f3a82,_0x5299f3,_0x449114,_0x4de7e2)=>{const _0x43f655=_0x187cb8;for(var _0x70d9bb=_0x4de7e2>0x1?void 0x0:_0x4de7e2?_0x1fab3d(_0x5299f3,_0x449114):_0x5299f3,_0x1dfc19=_0x1f3a82[_0x43f655(0x521)]-0x1,_0x208940;_0x1dfc19>=0x0;_0x1dfc19--)(_0x208940=_0x1f3a82[_0x1dfc19])&&(_0x70d9bb=(_0x4de7e2?_0x208940(_0x5299f3,_0x449114,_0x70d9bb):_0x208940(_0x70d9bb))||_0x70d9bb);return _0x4de7e2&&_0x70d9bb&&_0x5c18c2(_0x5299f3,_0x449114,_0x70d9bb),_0x70d9bb;},_0x145488=(_0x4e2368,_0x45da29)=>(_0x4ed5a0,_0x2d4313)=>_0x45da29(_0x4ed5a0,_0x2d4313,_0x4e2368);_0xedfd91['MemberService']=class extends _0x35f0f7[_0x187cb8(0x18a)]{constructor(_0x358135,_0x35c919){const _0x1bd70e=_0x187cb8;super(),_0xa611d0(this,_0x1bd70e(0x3d2),new Map()),(this[_0x1bd70e(0x21b)]=_0x358135,this[_0x1bd70e(0xee)]=_0x35c919,this['disposeWithMe'](_0x35f0f7[_0x1bd70e(0x452)](_0x469a80['merge'](this[_0x1bd70e(0x21b)]['getTypeOfUnitDisposed$'](_0x35f0f7['UniverInstanceType'][_0x1bd70e(0x2fc)])[_0x1bd70e(0x32b)](_0x3c93c6['map'](_0x4234db=>_0x4234db[_0x1bd70e(0x2cc)]())),this['_univerInstanceService'][_0x1bd70e(0x3b0)](_0x35f0f7[_0x1bd70e(0x48f)][_0x1bd70e(0x3e9)])['pipe'](_0x3c93c6[_0x1bd70e(0x31a)](_0x2078c7=>_0x2078c7['getUnitId']())),this['_univerInstanceService'][_0x1bd70e(0x3b0)](_0x35f0f7[_0x1bd70e(0x48f)][_0x1bd70e(0x351)])[_0x1bd70e(0x32b)](_0x3c93c6[_0x1bd70e(0x31a)](_0x327fc7=>_0x327fc7[_0x1bd70e(0x2cc)]())))['subscribe'](_0x48e2bb=>this['_removeRoom'](_0x48e2bb)))));}['setCurrentUser'](_0x985171){const _0x457f0d=_0x187cb8;this['_userManagerService'][_0x457f0d(0x19e)](_0x985171);}[_0x187cb8(0x464)](){const _0x500452=_0x187cb8;return this[_0x500452(0xee)]['getCurrentUser']();}[_0x187cb8(0x529)](_0x10795a,_0x26386c){const _0x5926ea=_0x187cb8;let _0x309823=this[_0x5926ea(0x3d2)][_0x5926ea(0xf4)](_0x10795a);_0x309823||(_0x309823=new _0xf96eb8(),this[_0x5926ea(0x3d2)][_0x5926ea(0x33d)](_0x10795a,_0x309823)),_0x309823[_0x5926ea(0x529)](_0x26386c);}[_0x187cb8(0x1a3)](_0x59d63b,_0x2e4b37){const _0x1afc9a=_0x187cb8,_0x20cb39=this[_0x1afc9a(0x3d2)]['get'](_0x59d63b);_0x20cb39&&_0x20cb39[_0x1afc9a(0x1a3)](_0x2e4b37);}[_0x187cb8(0x3f2)](_0x59ccf5){const _0x10481b=_0x187cb8;return this[_0x10481b(0x3d2)][_0x10481b(0xf4)](_0x59ccf5);}['getMember'](_0x1d08dd,_0x10061a){const _0x40651e=_0x187cb8,_0x141bed=this['_roomMembers'][_0x40651e(0xf4)](_0x1d08dd);if(_0x141bed)return _0x141bed['getMember'](_0x10061a);}[_0x187cb8(0x436)](_0x35fc29){const _0xeb046c=_0x187cb8,_0x4c0541=this[_0xeb046c(0x3d2)][_0xeb046c(0xf4)](_0x35fc29);_0x4c0541&&(_0x4c0541[_0xeb046c(0x139)](),this[_0xeb046c(0x3d2)]['delete'](_0x35fc29));}[_0x187cb8(0x139)](){const _0x40fbca=_0x187cb8;this[_0x40fbca(0x3d2)][_0x40fbca(0x25f)](_0x493b58=>_0x493b58['dispose']()),this[_0x40fbca(0x3d2)]['clear']();}},_0xedfd91['MemberService']=_0x27f5c3([_0x145488(0x0,_0x35f0f7[_0x187cb8(0x2cd)]),_0x145488(0x1,_0x35f0f7['Inject'](_0x35f0f7['UserManagerService']))],_0xedfd91['MemberService']);class _0xf96eb8 extends _0x35f0f7[_0x187cb8(0x18a)]{constructor(){const _0x1dffcf=_0x187cb8;super(...arguments),_0xa611d0(this,_0x1dffcf(0x2d0),new Map());}[_0x187cb8(0x139)](){const _0x5e7dd6=_0x187cb8;this[_0x5e7dd6(0x2d0)][_0x5e7dd6(0x1cd)]();}['updateMember'](_0x1518b0){const _0x527c96=_0x187cb8;this['_members'][_0x527c96(0x33d)](_0x1518b0[_0x527c96(0x301)],_0x1518b0);}[_0x187cb8(0x1a3)](_0x2efb4a){const _0x5b38b3=_0x187cb8;this[_0x5b38b3(0x2d0)][_0x5b38b3(0x1c5)](_0x2efb4a);}[_0x187cb8(0xfc)](_0xdbdffa){const _0xc2a190=_0x187cb8;return this['_members'][_0xc2a190(0xf4)](_0xdbdffa);}[_0x187cb8(0x330)](){const _0x23b8cb=_0x187cb8;return Array[_0x23b8cb(0x12c)](this[_0x23b8cb(0x2d0)][_0x23b8cb(0x348)]());}}var _0x39359e=Object[_0x187cb8(0x429)],_0x4c34e2=Object[_0x187cb8(0x358)],_0x3c2a46=(_0x5a2ea4,_0x221734,_0x4085f1,_0x2e9787)=>{const _0x436c62=_0x187cb8;for(var _0x4a488c=_0x2e9787>0x1?void 0x0:_0x2e9787?_0x4c34e2(_0x221734,_0x4085f1):_0x221734,_0x2f2374=_0x5a2ea4[_0x436c62(0x521)]-0x1,_0x14bdf3;_0x2f2374>=0x0;_0x2f2374--)(_0x14bdf3=_0x5a2ea4[_0x2f2374])&&(_0x4a488c=(_0x2e9787?_0x14bdf3(_0x221734,_0x4085f1,_0x4a488c):_0x14bdf3(_0x4a488c))||_0x4a488c);return _0x2e9787&&_0x4a488c&&_0x39359e(_0x221734,_0x4085f1,_0x4a488c),_0x4a488c;},_0x57f3c7=(_0x450c21,_0x599010)=>(_0x3cbe96,_0x537a10)=>_0x599010(_0x3cbe96,_0x537a10,_0x450c21),_0x2efe93=(_0x18822d=>(_0x18822d[_0x18822d[_0x187cb8(0x4c2)]=0x0]=_0x187cb8(0x4c2),_0x18822d[_0x18822d[_0x187cb8(0x4bd)]=0x1]=_0x187cb8(0x4bd),_0x18822d[_0x18822d[_0x187cb8(0x282)]=0x2]=_0x187cb8(0x282),_0x18822d[_0x18822d['ONLINE']=0x3]=_0x187cb8(0x3ff),_0x18822d))(_0x2efe93||{});_0xedfd91[_0x187cb8(0x4bc)]=class extends _0x35f0f7[_0x187cb8(0x115)]{constructor(_0x343158,_0x4dadd7,_0x5b955c,_0x1fdb66,_0x1a33a7,_0x56a029,_0x47c8d1,_0x1f8c34,_0x584f33,_0x1999bf){const _0x566b18=_0x187cb8;super(),_0xa611d0(this,_0x566b18(0x11d),new _0x469a80['BehaviorSubject'](0x0)),_0xa611d0(this,'sessionStatus$',this[_0x566b18(0x11d)][_0x566b18(0x3a4)]()),_0xa611d0(this,_0x566b18(0x3a3),new _0x469a80['Subject']()),_0xa611d0(this,_0x566b18(0x475),this[_0x566b18(0x3a3)][_0x566b18(0x3a4)]()),_0xa611d0(this,'_socket'),_0xa611d0(this,'_socketMessageSubscription'),_0xa611d0(this,_0x566b18(0x30f)),_0xa611d0(this,_0x566b18(0x163),!0x1),_0xa611d0(this,_0x566b18(0x1b1),null),(this[_0x566b18(0x3d5)]=_0x343158,this[_0x566b18(0x213)]=_0x5b955c,this[_0x566b18(0x1db)]=_0x1fdb66,this['_messageService']=_0x1a33a7,this['_configService']=_0x56a029,this[_0x566b18(0x506)]=_0x47c8d1,this['_memberService']=_0x1f8c34,this[_0x566b18(0x2f6)]=_0x584f33,this['_telemetryService']=_0x1999bf,this[_0x566b18(0x163)]=!!this[_0x566b18(0x113)],_0x4dadd7[_0x566b18(0x32b)](_0x469a80[_0x566b18(0x2aa)](this['dispose$']))[_0x566b18(0x377)](_0x1842fb=>{const _0x57c576=_0x566b18;var _0x3b3489;typeof _0x1842fb>'u'||(this[_0x57c576(0x29d)]=_0x1842fb,_0x1842fb?(this[_0x57c576(0x1f5)](_0x1842fb),this[_0x57c576(0x1ac)]=_0x1842fb[_0x57c576(0x42f)]['subscribe'](_0x5b040c=>{const _0x229a05=_0x57c576;_0x5b040c[_0x229a05(0x4a9)]===this[_0x229a05(0x3d5)]&&this['_onCombEvent'](_0x5b040c);})):(this[_0x57c576(0x273)](),this[_0x57c576(0x11d)]['next'](0x2),(_0x3b3489=this['_socketMessageSubscription'])==null||_0x3b3489['unsubscribe'](),this[_0x57c576(0x1ac)]=null));}),this['disposeWithMe'](this[_0x566b18(0x1db)][_0x566b18(0x329)](()=>{const _0x4de98d=_0x566b18;var _0x24c200;(_0x24c200=this[_0x4de98d(0x29d)])==null||_0x24c200[_0x4de98d(0x369)]({'cmd':_0x3236e8[_0x4de98d(0x2f4)],'data':{'roomID':this['_unitID']}});})));}get[_0x187cb8(0x284)](){const _0x2b15ba=_0x187cb8;return this[_0x2b15ba(0x11d)][_0x2b15ba(0x236)]();}[_0x187cb8(0x1c9)](){const _0x44f2ab=_0x187cb8;var _0x55ce8b,_0x1702e1;return(_0x1702e1=(_0x55ce8b=this[_0x44f2ab(0x29d)])==null?void 0x0:_0x55ce8b[_0x44f2ab(0x301)])!=null?_0x1702e1:null;}['dispose'](){const _0x35bb85=_0x187cb8;super[_0x35bb85(0x139)](),this[_0x35bb85(0x48c)][_0x35bb85(0x401)](),this['dispose$']['complete']();}[_0x187cb8(0x1e7)](){const _0x1b5b3a=_0x187cb8;var _0x529a78,_0x1c5eb9;this[_0x1b5b3a(0x273)](),(_0x529a78=this[_0x1b5b3a(0x29d)])==null||_0x529a78[_0x1b5b3a(0x369)]({'cmd':_0x3236e8[_0x1b5b3a(0x2f4)],'data':{'roomID':this[_0x1b5b3a(0x3d5)]}}),(_0x1c5eb9=this[_0x1b5b3a(0x29d)])==null||_0x1c5eb9[_0x1b5b3a(0x1e7)](),this[_0x1b5b3a(0x3a3)][_0x1b5b3a(0x162)](),this[_0x1b5b3a(0x11d)][_0x1b5b3a(0x162)](),this['dispose']();}[_0x187cb8(0x456)](_0x3dabba){const _0xfbfa81=_0x187cb8;_0x3dabba[_0xfbfa81(0x1df)]===_0x3236e8[_0xfbfa81(0x24f)]?this[_0xfbfa81(0x385)](_0x3dabba):_0x3dabba['cmd']===_0x3236e8[_0xfbfa81(0x398)]&&this[_0xfbfa81(0x33b)](_0x3dabba);}[_0x187cb8(0x1f5)](_0x9c7d03){const _0x1be798=_0x187cb8;this['_sessionStatus$'][_0x1be798(0x401)](0x1),_0x9c7d03[_0x1be798(0x369)]({'cmd':_0x3236e8['JOIN'],'routeKey':this[_0x1be798(0x3d5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1be798(0x3d5)]}]}});}[_0x187cb8(0x385)](_0x56083a){const _0x2439c3=_0x187cb8;var _0x24a66c;if(_0x56083a[_0x2439c3(0x3ad)]===_0x101be6[_0x2439c3(0x1ee)]){this['_messageService']['show']({'type':_0xed3e06[_0x2439c3(0x528)][_0x2439c3(0x1d0)],'content':this[_0x2439c3(0x506)]['t'](_0x2439c3(0x1fb))}),this[_0x2439c3(0x11d)][_0x2439c3(0x401)](0x2);return;}this[_0x2439c3(0x11d)][_0x2439c3(0x401)](0x3);const _0x222ef6=(_0x24a66c=_0x56083a[_0x2439c3(0x350)][_0x2439c3(0x42e)][this[_0x2439c3(0x3d5)]])==null?void 0x0:_0x24a66c[_0x2439c3(0x46e)];_0x222ef6&&_0x222ef6[_0x2439c3(0x25f)](_0xd8d6b9=>this[_0x2439c3(0x123)]['updateMember'](this['_unitID'],_0xd8d6b9));}[_0x187cb8(0x33b)](_0x16cc61){const _0xbac918=_0x187cb8;try{const _0x5619a4=_0x16cc61[_0xbac918(0x350)];switch(_0x5619a4[_0xbac918(0x143)]){case _0x69458a[_0xbac918(0x2e6)][_0xbac918(0x371)]:this[_0xbac918(0x17a)](_0x5619a4),this['_event$'][_0xbac918(0x401)](_0x5619a4);break;case _0x69458a[_0xbac918(0x2e6)][_0xbac918(0xf5)]:this[_0xbac918(0x181)](_0x5619a4),this[_0xbac918(0x3a3)][_0xbac918(0x401)](_0x5619a4);break;case _0x69458a[_0xbac918(0x2e6)][_0xbac918(0x116)]:case _0x69458a[_0xbac918(0x2e6)][_0xbac918(0x37e)]:this[_0xbac918(0x499)](),this[_0xbac918(0x50d)](),this[_0xbac918(0x3a3)][_0xbac918(0x401)](_0x5619a4);break;case _0x69458a['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0xbac918(0x4ad)](_0x5619a4)),this[_0xbac918(0x3a3)][_0xbac918(0x401)](_0x5619a4);break;case _0x69458a['CollaborationEvent'][_0xbac918(0x4ce)]:this[_0xbac918(0x2f6)][_0xbac918(0x3ee)](_0x5619a4[_0xbac918(0x350)]),this[_0xbac918(0x3a3)][_0xbac918(0x401)](_0x5619a4);break;default:this[_0xbac918(0x3a3)]['next'](_0x5619a4);}}catch(_0x7dbd70){this[_0xbac918(0x213)][_0xbac918(0x1ed)](_0x7dbd70,_0x16cc61);}}[_0x187cb8(0x17a)](_0x23891d){const _0x32fe50=_0x187cb8;this['_memberService'][_0x32fe50(0x529)](this['_unitID'],_0x23891d[_0x32fe50(0x350)]);}[_0x187cb8(0x181)](_0x135664){const _0xf0c7bf=_0x187cb8;this[_0xf0c7bf(0x123)][_0xf0c7bf(0x1a3)](this[_0xf0c7bf(0x3d5)],_0x135664['data']['memberID']);}async[_0x187cb8(0x369)](_0x178e0b,_0x1d2ff7){const _0x5b6755=_0x187cb8;if(this[_0x5b6755(0x284)]!==0x3||!this[_0x5b6755(0x29d)])throw new Error(_0x5b6755(0x3a6));try{_0x178e0b['eventID']===_0x69458a[_0x5b6755(0x2e6)][_0x5b6755(0x430)]&&(this[_0x5b6755(0x1f4)](),this[_0x5b6755(0x495)](_0x178e0b)),this[_0x5b6755(0x29d)][_0x5b6755(0x369)]({'cmd':_0x3236e8[_0x5b6755(0x1a6)],'routeKey':_0x1d2ff7,'routeType':'','data':_0x178e0b});}catch(_0x5a0bf8){this[_0x5b6755(0x213)][_0x5b6755(0x1ed)](_0x5a0bf8);}}[_0x187cb8(0x1f4)](){const _0x3be2e8=_0x187cb8;var _0xb34d1b;this[_0x3be2e8(0x30f)]=window[_0x3be2e8(0x4e6)](()=>{const _0x2cf5a3=_0x3be2e8;this[_0x2cf5a3(0x30f)]=null,this['_messageService']['show']({'type':_0xed3e06[_0x2cf5a3(0x528)][_0x2cf5a3(0x156)],'content':this[_0x2cf5a3(0x506)]['t'](_0x2cf5a3(0x4e9))});},(_0xb34d1b=this[_0x3be2e8(0x1c6)][_0x3be2e8(0x232)](_0x3a1cdf))!=null?_0xb34d1b:0x4e20);}[_0x187cb8(0x50d)](){const _0x4619a4=_0x187cb8;this[_0x4619a4(0x30f)]&&(clearTimeout(this[_0x4619a4(0x30f)]),this[_0x4619a4(0x30f)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x562a59){const _0x52e506=_0x187cb8;if(!this[_0x52e506(0x163)])return;const {data:_0x45d4af}=_0x562a59,{unitID:_0x1479d1,changeset:_0x3ed70d}=_0x45d4af,{mutations:_0x149033,type:_0x49574e}=_0x3ed70d;this['_telemetryInfo']={'unitId':_0x1479d1,'type':_0x49574e,'startTime':performance[_0x52e506(0x146)](),'stopTime':0x0,'duration':0x0,'size':_0x1569f0(_0x149033)};}[_0x187cb8(0x499)](){const _0x1c739a=_0x187cb8;if(this[_0x1c739a(0x163)]){if(!this[_0x1c739a(0x1b1)]){this[_0x1c739a(0x213)][_0x1c739a(0x1ed)](_0x1c739a(0x3cd),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x1c739a(0x146)](),this['_telemetryInfo'][_0x1c739a(0x522)]=this[_0x1c739a(0x1b1)][_0x1c739a(0x380)]-this[_0x1c739a(0x1b1)][_0x1c739a(0x1ef)],this['_telemetryService']['capture'](_0x1193d1,this[_0x1c739a(0x1b1)]),this[_0x1c739a(0x1b1)]=null;}}[_0x187cb8(0x273)](){const _0x5b5c2b=_0x187cb8;this[_0x5b5c2b(0x1b1)]=null;}},_0xedfd91[_0x187cb8(0x4bc)]=_0x3c2a46([_0x57f3c7(0x2,_0x35f0f7['ILogService']),_0x57f3c7(0x3,_0x2b561e[_0x187cb8(0x488)]),_0x57f3c7(0x4,_0x2b561e[_0x187cb8(0x322)]),_0x57f3c7(0x5,_0x35f0f7[_0x187cb8(0x141)]),_0x57f3c7(0x6,_0x35f0f7['Inject'](_0x35f0f7[_0x187cb8(0x14a)])),_0x57f3c7(0x7,_0x35f0f7['Inject'](_0xedfd91['MemberService'])),_0x57f3c7(0x8,_0x35f0f7[_0x187cb8(0x15a)](_0x1cadae)),_0x57f3c7(0x9,_0x35f0f7[_0x187cb8(0x40b)](_0x535a16[_0x187cb8(0x341)]))],_0xedfd91['CollaborationSession']);var _0x1d70f7=Object[_0x187cb8(0x429)],_0x284cd7=Object[_0x187cb8(0x358)],_0x401e77=(_0x1763b9,_0x3ebe35,_0x2d8a16,_0x197367)=>{for(var _0x3bd546=_0x197367>0x1?void 0x0:_0x197367?_0x284cd7(_0x3ebe35,_0x2d8a16):_0x3ebe35,_0xf9c1cf=_0x1763b9['length']-0x1,_0x4cbeda;_0xf9c1cf>=0x0;_0xf9c1cf--)(_0x4cbeda=_0x1763b9[_0xf9c1cf])&&(_0x3bd546=(_0x197367?_0x4cbeda(_0x3ebe35,_0x2d8a16,_0x3bd546):_0x4cbeda(_0x3bd546))||_0x3bd546);return _0x197367&&_0x3bd546&&_0x1d70f7(_0x3ebe35,_0x2d8a16,_0x3bd546),_0x3bd546;},_0x4a9a92=(_0x5114e8,_0x57b439)=>(_0x2366e6,_0x323a2d)=>_0x57b439(_0x2366e6,_0x323a2d,_0x5114e8);_0xedfd91[_0x187cb8(0x368)]=class extends _0x35f0f7[_0x187cb8(0x18a)]{constructor(_0x2610c5,_0x41d3f7,_0x2eef3b,_0x526197,_0x1daa82,_0x1ca73b){const _0x1e5582=_0x187cb8;super(),_0xa611d0(this,_0x1e5582(0xec),new _0x469a80[(_0x1e5582(0x339))](void 0x0)),_0xa611d0(this,'socket$',this[_0x1e5582(0xec)][_0x1e5582(0x3a4)]()),_0xa611d0(this,_0x1e5582(0x178),null),_0xa611d0(this,_0x1e5582(0x503),new Map()),_0xa611d0(this,_0x1e5582(0x2c0),new _0x469a80[(_0x1e5582(0x339))](_0x2efe93[_0x1e5582(0x4c2)])),_0xa611d0(this,_0x1e5582(0x234),this[_0x1e5582(0x2c0)][_0x1e5582(0x3a4)]()),_0xa611d0(this,_0x1e5582(0x4d7),!0x1),_0xa611d0(this,_0x1e5582(0x415)),_0xa611d0(this,_0x1e5582(0x4ae),0x0),_0xa611d0(this,'_sendHeartbeatTimer'),_0xa611d0(this,_0x1e5582(0x526)),(this['_injector']=_0x2610c5,this['_localeService']=_0x41d3f7,this[_0x1e5582(0x255)]=_0x2eef3b,this[_0x1e5582(0x213)]=_0x526197,this[_0x1e5582(0x1c6)]=_0x1daa82,this['_socketService']=_0x1ca73b,this[_0x1e5582(0x2ad)]());}get[_0x187cb8(0x29d)](){return this['_socket$']['getValue']();}[_0x187cb8(0x2ad)](){const _0x31b5bd=_0x187cb8;this['_listenToOfflineEvent'](),this[_0x31b5bd(0x30c)]();}['dispose'](){const _0x441772=_0x187cb8;super['dispose'](),this[_0x441772(0x503)][_0x441772(0x25f)](_0x98b2dd=>_0x98b2dd['dispose']()),this[_0x441772(0x503)][_0x441772(0x1cd)](),this[_0x441772(0x2c0)][_0x441772(0x162)]();}async['requireSession'](_0x4cb0dc){const _0x58e105=_0x187cb8;if(this[_0x58e105(0x503)][_0x58e105(0x4a0)](_0x4cb0dc))return this[_0x58e105(0x503)][_0x58e105(0xf4)](_0x4cb0dc);this[_0x58e105(0x119)]();const _0x34b32d=this[_0x58e105(0x41c)][_0x58e105(0x461)](_0xedfd91['CollaborationSession'],_0x4cb0dc,this['_socket$']['asObservable']());return this['_sessions']['set'](_0x4cb0dc,_0x34b32d),_0x34b32d;}['closeSession'](_0x3d4367){const _0x5d4eef=_0x187cb8;var _0x5f4482;const _0x4399e7=this[_0x5d4eef(0x503)][_0x5d4eef(0xf4)](_0x3d4367);_0x4399e7&&(this['_sessions']['delete'](_0x3d4367),_0x4399e7['close']()),this[_0x5d4eef(0x503)][_0x5d4eef(0x1b2)]||(_0x5f4482=this[_0x5d4eef(0x29d)])==null||_0x5f4482['close']();}['reconnect'](){const _0x52ab11=_0x187cb8;this[_0x52ab11(0x4ae)]=0x0,this[_0x52ab11(0x415)]!=null&&(clearTimeout(this[_0x52ab11(0x415)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}[_0x187cb8(0x177)](){const _0x1a0ebc=_0x187cb8;var _0x5a686e,_0x3374ab;const _0x437384=this[_0x1a0ebc(0x1c6)]['getConfig'](_0x4bd350),_0x3243f5=this[_0x1a0ebc(0x1c6)][_0x1a0ebc(0x232)](_0x62c88d),_0x326d8c=(_0x3374ab=(_0x5a686e=_0x3243f5==null?void 0x0:_0x3243f5['collabWebSocketUrl'])!=null?_0x5a686e:_0x437384)!=null?_0x3374ab:_0x2a84a7,_0x339eff=this['_socketService'][_0x1a0ebc(0x3c9)](_0x326d8c);return this['_candidateSocket']=_0x339eff,_0x339eff;}[_0x187cb8(0x119)](){const _0x6da29=_0x187cb8;var _0x464e1f,_0x3a9daa;try{const _0x417ee2=(_0x3a9daa=(_0x464e1f=this[_0x6da29(0x29d)])!=null?_0x464e1f:this[_0x6da29(0x178)])!=null?_0x3a9daa:this['_createSocket']();if(_0x417ee2){const _0x66f5ee=_0x417ee2['send'];_0x417ee2[_0x6da29(0x369)]=_0x4b99d4=>(this[_0x6da29(0x418)](),_0x66f5ee[_0x6da29(0x4fb)](_0x417ee2,[_0x4b99d4])),_0x417ee2['message$']['subscribe'](_0x3f0a6e=>this['_onMessage'](_0x417ee2,_0x3f0a6e)),_0x417ee2[_0x6da29(0x2de)]['pipe'](_0x3c93c6['take'](0x1))[_0x6da29(0x377)](_0x4e87e5=>this[_0x6da29(0x213)]['error'](_0x6da29(0x4e1),_0x4e87e5)),_0x417ee2[_0x6da29(0x135)]['pipe'](_0x3c93c6[_0x6da29(0x2ea)](0x1))['subscribe'](()=>{const _0xbbf3df=_0x6da29;this[_0xbbf3df(0x152)](_0x417ee2);}),_0x417ee2[_0x6da29(0x435)]['pipe'](_0x3c93c6[_0x6da29(0x2ea)](0x1))[_0x6da29(0x377)](_0x3344b2=>{const _0x2ffd25=_0x6da29;this[_0x2ffd25(0x213)]['debug'](_0x2ffd25(0x307),'socket\x20close',_0x3344b2),this[_0x2ffd25(0x250)]();});}}catch(_0x3fae4f){this[_0x6da29(0x213)][_0x6da29(0x1ed)](_0x3fae4f),this[_0x6da29(0x250)]();}}[_0x187cb8(0x152)](_0x38f7d3){const _0x4282c1=_0x187cb8;this[_0x4282c1(0x213)][_0x4282c1(0x18b)]('[CollaborationSessionService]',_0x4282c1(0x303)),_0x38f7d3['send']({'cmd':_0x3236e8['HELLO']}),this['_rescheduleHeartbeat']();}['_listenToOfflineEvent'](){const _0x2c1ee1=_0x187cb8;window[_0x2c1ee1(0x1e6)]('offline',()=>this['_onOffline']());}[_0x187cb8(0x3fc)](){const _0x2ef604=_0x187cb8;this['_socketReady']=!0x1,this[_0x2ef604(0x178)]=null,this[_0x2ef604(0x2c0)][_0x2ef604(0x401)](_0x2efe93[_0x2ef604(0x282)]),this[_0x2ef604(0xec)][_0x2ef604(0x401)](null),this[_0x2ef604(0xf7)](),this[_0x2ef604(0x34c)]();}[_0x187cb8(0x250)](){const _0x46795a=_0x187cb8;var _0x4c0574;this[_0x46795a(0x3fc)](),this[_0x46795a(0x4ae)]<((_0x4c0574=this['_configService'][_0x46795a(0x232)](_0x44e13f))!=null?_0x4c0574:0x3)?(this[_0x46795a(0x255)][_0x46795a(0x1a2)]({'key':'collaboration-session-retry','type':_0xed3e06[_0x46795a(0x528)]['Warning'],'content':this['_localeService']['t'](_0x46795a(0x22e))}),this[_0x46795a(0x3db)]()):this[_0x46795a(0x255)][_0x46795a(0x1a2)]({'key':_0x46795a(0x520),'type':_0xed3e06[_0x46795a(0x528)][_0x46795a(0x156)],'content':this[_0x46795a(0x506)]['t'](_0x46795a(0x145))});}[_0x187cb8(0x30c)](){const _0x5d51b4=_0x187cb8,_0x178581=()=>{const _0x4f2b3b=_0x30a8;this[_0x4f2b3b(0x29d)]||this[_0x4f2b3b(0x3bd)]();},_0x1bc1e8=()=>{const _0x4fcdbc=_0x30a8;this[_0x4fcdbc(0x29d)]||document[_0x4fcdbc(0x171)]===_0x4fcdbc(0x444)||this[_0x4fcdbc(0x3bd)]();};window[_0x5d51b4(0x1e6)]('online',_0x178581),document[_0x5d51b4(0x1e6)]('visibilitychange',_0x1bc1e8);}['_tryReconnect'](){const _0x5dea1e=_0x187cb8;var _0x53e9a6;const _0x558204=this[_0x5dea1e(0x4ae)],_0x21ddb7=this[_0x5dea1e(0x1c6)]['getConfig'](_0x62c88d),_0x4f1db1=_0x558204===0x0?0x0:((_0x53e9a6=_0x21ddb7==null?void 0x0:_0x21ddb7[_0x5dea1e(0x45d)])!=null?_0x53e9a6:0x4e20)*0x2**_0x558204;this[_0x5dea1e(0x415)]=window[_0x5dea1e(0x4e6)](()=>{const _0x3dca3a=_0x5dea1e;clearTimeout(this['_retryConnectingTimer']),this[_0x3dca3a(0x415)]=null,this[_0x3dca3a(0x119)]();},_0x4f1db1),this[_0x5dea1e(0x4ae)]+=0x1;}[_0x187cb8(0x365)](_0x171a76,_0x234ab5){const _0x40b449=_0x187cb8,{cmd:_0xf51634}=_0x234ab5;_0xf51634===_0x3236e8[_0x40b449(0x4ab)]&&!this[_0x40b449(0x4d7)]&&(_0x171a76[_0x40b449(0x301)]=_0x234ab5[_0x40b449(0x350)]['memberID'],this['_socket$'][_0x40b449(0x401)](_0x171a76),this[_0x40b449(0x2c0)][_0x40b449(0x401)](_0x2efe93[_0x40b449(0x3ff)]),this[_0x40b449(0x4d7)]=!0x0,this['_candidateSocket']=null),_0xf51634===_0x3236e8[_0x40b449(0x51c)]&&this[_0x40b449(0xf7)](),this[_0x40b449(0x418)]();}['_rescheduleHeartbeat'](){const _0x249cc6=_0x187cb8;var _0x5dc608;this[_0x249cc6(0x34c)](),this[_0x249cc6(0x153)]=window[_0x249cc6(0x4e6)](()=>this['_sendHeartbeat'](),(_0x5dc608=this[_0x249cc6(0x1c6)][_0x249cc6(0x232)](_0x2c772a))!=null?_0x5dc608:0x7530);}[_0x187cb8(0x340)](){const _0x3ca1ba=_0x187cb8;this[_0x3ca1ba(0x29d)][_0x3ca1ba(0x369)]({'cmd':_0x3236e8['HEARTBEAT']}),this[_0x3ca1ba(0x3dc)]();}[_0x187cb8(0x3dc)](){const _0x19b3f0=_0x187cb8;var _0x323940;this['_timeoutTimer']=window[_0x19b3f0(0x4e6)](()=>this[_0x19b3f0(0x250)](),(_0x323940=this[_0x19b3f0(0x1c6)]['getConfig'](_0x3a1cdf))!=null?_0x323940:0x4e20);}[_0x187cb8(0x34c)](){const _0x2bdfdd=_0x187cb8;this[_0x2bdfdd(0x153)]!=null&&(clearTimeout(this[_0x2bdfdd(0x153)]),this['_sendHeartbeatTimer']=null);}[_0x187cb8(0xf7)](){const _0x2947f5=_0x187cb8;this[_0x2947f5(0x526)]!=null&&(clearTimeout(this[_0x2947f5(0x526)]),this[_0x2947f5(0x526)]=null);}},_0xedfd91['CollaborationSessionService']=_0x401e77([_0x4a9a92(0x0,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7['Injector'])),_0x4a9a92(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x14a)])),_0x4a9a92(0x2,_0x2b561e[_0x187cb8(0x322)]),_0x4a9a92(0x3,_0x35f0f7['ILogService']),_0x4a9a92(0x4,_0x35f0f7[_0x187cb8(0x141)]),_0x4a9a92(0x5,_0x3ae34b)],_0xedfd91['CollaborationSessionService']);for(var _0x2462d9=[],_0x15cc68=0x0;_0x15cc68<0x100;++_0x15cc68)_0x2462d9[_0x187cb8(0x293)]((_0x15cc68+0x100)['toString'](0x10)['slice'](0x1));function _0x12028d(_0x1a3a53,_0x47e844=0x0){const _0x3eaf93=_0x187cb8;return(_0x2462d9[_0x1a3a53[_0x47e844+0x0]]+_0x2462d9[_0x1a3a53[_0x47e844+0x1]]+_0x2462d9[_0x1a3a53[_0x47e844+0x2]]+_0x2462d9[_0x1a3a53[_0x47e844+0x3]]+'-'+_0x2462d9[_0x1a3a53[_0x47e844+0x4]]+_0x2462d9[_0x1a3a53[_0x47e844+0x5]]+'-'+_0x2462d9[_0x1a3a53[_0x47e844+0x6]]+_0x2462d9[_0x1a3a53[_0x47e844+0x7]]+'-'+_0x2462d9[_0x1a3a53[_0x47e844+0x8]]+_0x2462d9[_0x1a3a53[_0x47e844+0x9]]+'-'+_0x2462d9[_0x1a3a53[_0x47e844+0xa]]+_0x2462d9[_0x1a3a53[_0x47e844+0xb]]+_0x2462d9[_0x1a3a53[_0x47e844+0xc]]+_0x2462d9[_0x1a3a53[_0x47e844+0xd]]+_0x2462d9[_0x1a3a53[_0x47e844+0xe]]+_0x2462d9[_0x1a3a53[_0x47e844+0xf]])[_0x3eaf93(0xeb)]();}var _0x1a278e,_0x1b46a3=new Uint8Array(0x10);function _0x168133(){const _0x4e62a2=_0x187cb8;if(!_0x1a278e&&(_0x1a278e=typeof crypto<'u'&&crypto[_0x4e62a2(0x43c)]&&crypto[_0x4e62a2(0x43c)][_0x4e62a2(0x1b9)](crypto),!_0x1a278e))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x1a278e(_0x1b46a3);}var _0x3b4173=typeof crypto<'u'&&crypto[_0x187cb8(0x376)]&&crypto[_0x187cb8(0x376)][_0x187cb8(0x1b9)](crypto);const _0x195d14={'randomUUID':_0x3b4173};function _0x265339(_0x506a07,_0x334e94,_0x52cecb){const _0x3a62a2=_0x187cb8;if(_0x195d14[_0x3a62a2(0x376)]&&!_0x334e94&&!_0x506a07)return _0x195d14[_0x3a62a2(0x376)]();_0x506a07=_0x506a07||{};var _0x28e3a1=_0x506a07[_0x3a62a2(0x378)]||(_0x506a07[_0x3a62a2(0x471)]||_0x168133)();return _0x28e3a1[0x6]=_0x28e3a1[0x6]&0xf|0x40,_0x28e3a1[0x8]=_0x28e3a1[0x8]&0x3f|0x80,_0x12028d(_0x28e3a1);}var _0x509b15=Object[_0x187cb8(0x429)],_0x540f82=Object[_0x187cb8(0x358)],_0x25708e=(_0x5efd58,_0x289ce2,_0x825945,_0x1732bc)=>{const _0x48df2b=_0x187cb8;for(var _0x23a299=_0x1732bc>0x1?void 0x0:_0x1732bc?_0x540f82(_0x289ce2,_0x825945):_0x289ce2,_0x594cd6=_0x5efd58[_0x48df2b(0x521)]-0x1,_0x24d9b2;_0x594cd6>=0x0;_0x594cd6--)(_0x24d9b2=_0x5efd58[_0x594cd6])&&(_0x23a299=(_0x1732bc?_0x24d9b2(_0x289ce2,_0x825945,_0x23a299):_0x24d9b2(_0x23a299))||_0x23a299);return _0x1732bc&&_0x23a299&&_0x509b15(_0x289ce2,_0x825945,_0x23a299),_0x23a299;},_0x493c92=(_0x1d52a8,_0x34b0c1)=>(_0xb7ad89,_0x1072a0)=>_0x34b0c1(_0xb7ad89,_0x1072a0,_0x1d52a8);let _0x10589a=class{constructor(_0x23424c,_0x57751e,_0x5edbad){const _0x2f0158=_0x187cb8;this[_0x2f0158(0x41c)]=_0x23424c,this['_transformService']=_0x57751e,this[_0x2f0158(0x332)]=_0x5edbad;}[_0x187cb8(0x1f2)](_0x280be4){this['_transformUndoRedoStack'](_0x280be4),this['_transformPreviousActiveRange'](_0x280be4);}[_0x187cb8(0x245)](_0x111851){const _0x4b4a08=_0x187cb8,{unitID:_0x5a54b3}=_0x111851,_0x45c84b=this[_0x4b4a08(0x332)][_0x4b4a08(0x2d5)](_0x5a54b3)[_0x4b4a08(0x24d)](_0x36b317[_0x4b4a08(0x1f1)]),{redoCache:_0x5d3cf5}=_0x45c84b['getUndoRedoMutationParamsCache']();if(_0x5d3cf5[_0x4b4a08(0x521)]===0x0)return _0x111851;let _0x14d7fd=_0x35f0f7[_0x4b4a08(0x32c)][_0x4b4a08(0x412)](_0x111851['mutations'][0x0]);for(let _0x57394d=0x0;_0x57394d<_0x5d3cf5[_0x4b4a08(0x521)];_0x57394d++){const _0x2add8b={'id':_0x4b4a08(0x4ca),'params':{..._0x5d3cf5[_0x57394d]}},_0xd633d4=this['_transformService'][_0x4b4a08(0x2e2)](_0x14d7fd,_0x2add8b,!0x1);if(_0x69458a['isTransformMutationFailure'](_0xd633d4))throw _0xd633d4['error'];_0x14d7fd=_0xd633d4[_0x4b4a08(0x18d)];}return{..._0x35f0f7[_0x4b4a08(0x32c)][_0x4b4a08(0x412)](_0x111851),'mutations':[_0x14d7fd]};}[_0x187cb8(0x4b8)](_0x4355b9){const _0x1b8bbd=_0x187cb8,{unitID:_0x1031f6}=_0x4355b9,_0x538e8b=this[_0x1b8bbd(0x332)][_0x1b8bbd(0x2d5)](_0x1031f6)[_0x1b8bbd(0x24d)](_0x36b317[_0x1b8bbd(0x1f1)]),{undoCache:_0x516872,redoCache:_0x3d7198}=_0x538e8b['getUndoRedoMutationParamsCache']();if(_0x516872[_0x1b8bbd(0x521)]===0x0||_0x3d7198['length']===0x0)return;const _0x523e73=[],_0x1f3937=[];let _0x20a6bf=_0x35f0f7[_0x1b8bbd(0x32c)][_0x1b8bbd(0x412)](_0x4355b9[_0x1b8bbd(0x4c8)][0x0]),_0x4f91d2=_0x35f0f7[_0x1b8bbd(0x32c)][_0x1b8bbd(0x412)](_0x4355b9['mutations'][0x0]);for(let _0x3f6cc2=_0x516872[_0x1b8bbd(0x521)]-0x1;_0x3f6cc2>=0x0;_0x3f6cc2--){const _0xb5fe7e={'id':_0x1b8bbd(0x4ca),'params':{..._0x516872[_0x3f6cc2]}},_0x1931b3={'id':_0x1b8bbd(0x4ca),'params':{..._0x3d7198[_0x3f6cc2]}},_0x2a943c=this[_0x1b8bbd(0x352)][_0x1b8bbd(0x2e2)](_0x20a6bf,_0xb5fe7e,!0x1),_0x193c8e=this[_0x1b8bbd(0x352)]['transformMutation'](_0x4f91d2,_0x1931b3,!0x1);if(_0x69458a[_0x1b8bbd(0x2a0)](_0x2a943c))throw _0x2a943c['error'];if(_0x69458a['isTransformMutationFailure'](_0x193c8e))throw _0x193c8e[_0x1b8bbd(0x1ed)];_0x523e73['unshift'](_0x2a943c[_0x1b8bbd(0x455)]['params']),_0x1f3937[_0x1b8bbd(0xe2)](_0x193c8e[_0x1b8bbd(0x455)][_0x1b8bbd(0x10b)]),_0x20a6bf=_0x2a943c[_0x1b8bbd(0x18d)],_0x4f91d2=_0x193c8e['m1Prime'];}_0x538e8b['setUndoRedoMutationParamsCache']({'undoCache':_0x523e73,'redoCache':_0x1f3937});}[_0x187cb8(0x201)](_0x1b759e){const _0xe14b23=_0x187cb8,{unitID:_0x411929}=_0x1b759e,_0x40deac=this['_renderManagerService'][_0xe14b23(0x2d5)](_0x411929)[_0xe14b23(0x24d)](_0x36b317[_0xe14b23(0x1f1)]),_0x543b24=_0x40deac[_0xe14b23(0x3f1)]();if(_0x543b24==null)return;const _0x50c605=[{'id':_0xe14b23(0x4ca),'params':{'unitId':_0x1b759e[_0xe14b23(0x33f)],'actions':null,'textRanges':[_0x543b24]}}],_0x346fc3=this[_0xe14b23(0x352)][_0xe14b23(0x219)](_0x1b759e,_0x50c605);if(!_0x69458a[_0xe14b23(0xe5)](_0x346fc3))throw _0x346fc3[_0xe14b23(0x1ed)];const _0x108053=_0x346fc3[_0xe14b23(0x455)][0x0][_0xe14b23(0x10b)]['textRanges'];Array['isArray'](_0x108053)&&_0x108053[_0xe14b23(0x521)]&&_0x40deac[_0xe14b23(0x500)](_0x108053[0x0]);}};_0x10589a=_0x25708e([_0x493c92(0x0,_0x35f0f7['Inject'](_0x35f0f7[_0x187cb8(0x1a8)])),_0x493c92(0x1,_0x69458a[_0x187cb8(0x239)]),_0x493c92(0x2,_0x51641a['IRenderManagerService'])],_0x10589a);var _0x5cf7df=Object['defineProperty'],_0x11e1d=Object[_0x187cb8(0x358)],_0x23d058=(_0x479cae,_0x283b0d,_0x574254,_0x3bb85d)=>{const _0x324ab6=_0x187cb8;for(var _0x378e71=_0x3bb85d>0x1?void 0x0:_0x3bb85d?_0x11e1d(_0x283b0d,_0x574254):_0x283b0d,_0x12ad56=_0x479cae[_0x324ab6(0x521)]-0x1,_0x3dd07a;_0x12ad56>=0x0;_0x12ad56--)(_0x3dd07a=_0x479cae[_0x12ad56])&&(_0x378e71=(_0x3bb85d?_0x3dd07a(_0x283b0d,_0x574254,_0x378e71):_0x3dd07a(_0x378e71))||_0x378e71);return _0x3bb85d&&_0x378e71&&_0x5cf7df(_0x283b0d,_0x574254,_0x378e71),_0x378e71;},_0x18e6b7=(_0xc3cdef,_0x56a179)=>(_0x5246fc,_0xbc1da6)=>_0x56a179(_0x5246fc,_0xbc1da6,_0xc3cdef);_0xedfd91[_0x187cb8(0x3be)]=class extends _0x35f0f7[_0x187cb8(0x18a)]{constructor(_0x1f3500,_0x1d8eda,_0x5249d1,_0xbb5871,_0x19c1d0){const _0x52e7a7=_0x187cb8;super(),_0xa611d0(this,'_cachedData',new Map()),_0xa611d0(this,_0x52e7a7(0x39a),new Map()),_0xa611d0(this,_0x52e7a7(0x414),!0x1),(this['_configService']=_0x1f3500,this[_0x52e7a7(0x158)]=_0x1d8eda,this[_0x52e7a7(0x1db)]=_0x5249d1,this[_0x52e7a7(0x506)]=_0xbb5871,this[_0x52e7a7(0x18f)]=_0x19c1d0,this[_0x52e7a7(0x2e5)]());}[_0x187cb8(0x39b)](){const _0x37db4d=_0x187cb8;this[_0x37db4d(0x414)]=!0x0;}['enableLocalCache'](){const _0x154fef=_0x187cb8;this[_0x154fef(0x414)]=!0x1;}[_0x187cb8(0x139)](){const _0x561665=_0x187cb8;this['exhaustSavingTask']()[_0x561665(0x362)](()=>super[_0x561665(0x139)]());}async[_0x187cb8(0x3b9)](_0x5db67b){const _0x1d9b5a=_0x187cb8;return this['_disabled']?null:this[_0x1d9b5a(0x158)][_0x1d9b5a(0x2eb)](_0x21b00a(_0x5db67b));}async[_0x187cb8(0x133)](_0x190a06,_0x4e8d44){const _0x1bc3de=_0x187cb8;return!!this[_0x1bc3de(0x158)][_0x1bc3de(0x36c)](_0x190a06,_0x4e8d44);}[_0x187cb8(0x289)](_0x2a88a5,_0x50464e,_0x7f344c,_0x3044cc){const _0x1f1473=_0x187cb8,_0x58e485=this[_0x1f1473(0x18f)][_0x1f1473(0x14f)](_0x2a88a5);this[_0x1f1473(0x3ae)][_0x1f1473(0x33d)](_0x2a88a5,{'unitID':_0x2a88a5,'type':_0x50464e,'awaitingChangeset':_0x7f344c,'mutations':_0x3044cc,'rev':_0x58e485}),this[_0x1f1473(0x39a)][_0x1f1473(0x4a0)](_0x2a88a5)||this['_scheduleSaving'](_0x2a88a5);}['_scheduleSaving'](_0xf0337){const _0x2f20d8=_0x187cb8,_0x2999b2=this[_0x2f20d8(0x29a)]();_0x2999b2===0x0?this[_0x2f20d8(0x11b)](_0xf0337):this[_0x2f20d8(0x39a)][_0x2f20d8(0x33d)](_0xf0337,setTimeout(()=>this['_saveCache'](_0xf0337),_0x2999b2));}[_0x187cb8(0x29a)](){const _0x145600=_0x187cb8;var _0x120409;return(_0x120409=this[_0x145600(0x1c6)][_0x145600(0x232)](_0x3202d6))!=null?_0x120409:0x3e8;}['_saveCache'](_0x34cfc1){const _0x58ec0a=_0x187cb8,_0x56f222=this[_0x58ec0a(0x39a)][_0x58ec0a(0xf4)](_0x34cfc1);return _0x56f222!==void 0x0&&window['clearTimeout'](_0x56f222),this[_0x58ec0a(0x158)][_0x58ec0a(0x36c)](_0x21b00a(_0x34cfc1),this[_0x58ec0a(0x3ae)][_0x58ec0a(0xf4)](_0x34cfc1))[_0x58ec0a(0x362)](()=>this['_saveTaskMap'][_0x58ec0a(0x1c5)](_0x34cfc1));}async['exhaustSavingTask'](){const _0x2b7cfa=_0x187cb8,_0x2f172d=[];this[_0x2b7cfa(0x39a)][_0x2b7cfa(0x25f)]((_0x81f010,_0x602afe)=>{const _0x43fc86=_0x2b7cfa;window[_0x43fc86(0x38c)](_0x81f010),_0x2f172d['push'](this['_saveCache'](_0x602afe)['then'](()=>{const _0x2e2476=_0x43fc86;this[_0x2e2476(0x39a)][_0x2e2476(0x1c5)](_0x602afe);}));}),await Promise[_0x2b7cfa(0x40c)](_0x2f172d);}[_0x187cb8(0x2e5)](){const _0x2eb180=_0x187cb8;this[_0x2eb180(0x403)](this[_0x2eb180(0x1db)][_0x2eb180(0x129)](()=>{const _0x1b9ffb=_0x2eb180;if(this['_saveTaskMap'][_0x1b9ffb(0x1b2)])return this[_0x1b9ffb(0x506)]['t']('collaboration-client.offline-data-not-saved');}));}},_0xedfd91['LocalCacheService']=_0x23d058([_0x18e6b7(0x0,_0x35f0f7['IConfigService']),_0x18e6b7(0x1,_0x35f0f7['ILocalStorageService']),_0x18e6b7(0x2,_0x2b561e['IBeforeCloseService']),_0x18e6b7(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7['LocaleService'])),_0x18e6b7(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x16b)]))],_0xedfd91[_0x187cb8(0x3be)]);function _0x21b00a(_0x412eef){const _0x2f0b44=_0x187cb8;return _0x2f0b44(0x363)+_0x412eef;}var _0xf44ea1=Object[_0x187cb8(0x429)],_0x1ea72f=Object['getOwnPropertyDescriptor'],_0xb7e172=(_0x336fbf,_0xd03348,_0x353b22,_0x15bfa3)=>{const _0x42aaae=_0x187cb8;for(var _0x25de95=_0x15bfa3>0x1?void 0x0:_0x15bfa3?_0x1ea72f(_0xd03348,_0x353b22):_0xd03348,_0x36cf51=_0x336fbf[_0x42aaae(0x521)]-0x1,_0x2cb058;_0x36cf51>=0x0;_0x36cf51--)(_0x2cb058=_0x336fbf[_0x36cf51])&&(_0x25de95=(_0x15bfa3?_0x2cb058(_0xd03348,_0x353b22,_0x25de95):_0x2cb058(_0x25de95))||_0x25de95);return _0x15bfa3&&_0x25de95&&_0xf44ea1(_0xd03348,_0x353b22,_0x25de95),_0x25de95;},_0x4696bd=(_0x2e71d5,_0xc01769)=>(_0x2575ac,_0x272b36)=>_0xc01769(_0x2575ac,_0x272b36,_0x2e71d5);function _0x225c71(_0x2663f2){const _0xb83703=_0x187cb8,{unitID:_0xaf35a6,mutations:_0x485748}=_0x2663f2;return{'unitId':_0xaf35a6,'subUnitId':_0x485748[0x0][_0xb83703(0x10b)]['subUnitId']};}let _0x35ee96=class{constructor(_0x53c806,_0x362ce6,_0x2a8cd1){const _0x8cfe4e=_0x187cb8;this[_0x8cfe4e(0x41c)]=_0x53c806,this[_0x8cfe4e(0x352)]=_0x362ce6,this[_0x8cfe4e(0x15d)]=_0x2a8cd1;}[_0x187cb8(0x413)](_0x6cc459){const _0x19a70d=_0x187cb8;var _0x3287de,_0x15bbdb,_0x5db9f3,_0x153eea;const _0x27bb1f=this[_0x19a70d(0x41c)]['get'](_0x538a64[_0x19a70d(0x2b1)]),{unitId:_0x1525be,subUnitId:_0x1d88c3}=_0x225c71(_0x6cc459),_0x44e569=_0x27bb1f['getWorkbookSelections'](_0x1525be)[_0x19a70d(0x254)](),_0x6e629b=(_0x15bbdb=(_0x3287de=this[_0x19a70d(0x15d)][_0x19a70d(0x304)](_0x1525be))==null?void 0x0:_0x3287de[_0x19a70d(0x426)]())==null?void 0x0:_0x15bbdb[_0x19a70d(0x3f7)]();if(_0x44e569[_0x19a70d(0x521)]===0x0||!_0x1525be||!_0x1d88c3)return;const _0x2aad0b=[{'id':_0x538a64[_0x19a70d(0x518)]['id'],'params':{'unitId':_0x1525be,'subUnitId':_0x6e629b,'selections':_0x35f0f7['Tools'][_0x19a70d(0x412)](_0x44e569)}}],_0x106df1=this[_0x19a70d(0x352)]['transformMutationsWithChangeset'](_0x6cc459,_0x2aad0b);if(!_0x69458a['isTransformMutationsWithChangesetSuccess'](_0x106df1))throw _0x106df1[_0x19a70d(0x1ed)];const _0x1968f1=(_0x153eea=(_0x5db9f3=_0x106df1[_0x19a70d(0x455)][0x0])==null?void 0x0:_0x5db9f3['params'])==null?void 0x0:_0x153eea[_0x19a70d(0x516)];if(Array[_0x19a70d(0x507)](_0x1968f1)&&_0x1968f1[_0x19a70d(0x521)]){if(_0x1968f1[_0x19a70d(0x521)]===_0x2aad0b[0x0][_0x19a70d(0x10b)][_0x19a70d(0x516)][_0x19a70d(0x521)]&&_0x1968f1[_0x19a70d(0xe7)]((_0x388bcb,_0x5c02cd)=>_0x35f0f7['Rectangle'][_0x19a70d(0x190)](_0x388bcb[_0x19a70d(0x37f)],_0x2aad0b[0x0]['params'][_0x19a70d(0x516)][_0x5c02cd][_0x19a70d(0x37f)])))return;this[_0x19a70d(0x41c)][_0x19a70d(0xf4)](_0x35f0f7[_0x19a70d(0x300)])['executeCommand'](_0x538a64[_0x19a70d(0x518)]['id'],{'unitId':_0x1525be,'subUnitId':_0x6e629b,'selections':_0x1968f1});}}};_0x35ee96=_0xb7e172([_0x4696bd(0x0,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7['Injector'])),_0x4696bd(0x1,_0x69458a[_0x187cb8(0x239)]),_0x4696bd(0x2,_0x35f0f7[_0x187cb8(0x2cd)])],_0x35ee96);const _0xc7b0d8=_0x35f0f7['createIdentifier'](_0x187cb8(0x18c));var _0x4ae69d=(_0x253dc0=>(_0x253dc0[_0x253dc0['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x187cb8(0x198),_0x253dc0[_0x253dc0[_0x187cb8(0x25a)]=0x1]=_0x187cb8(0x25a),_0x253dc0))(_0x4ae69d||{});const _0x3108af=0x7530,_0x115313=_0x187cb8(0x3c6);class _0x5e175e extends _0x35f0f7['Disposable']{constructor(){const _0x53bd2c=_0x187cb8;super(),_0xa611d0(this,_0x53bd2c(0x1eb),_0x35f0f7[_0x53bd2c(0x32c)]['generateRandomId']()),_0xa611d0(this,_0x53bd2c(0xfa),new Set()),_0xa611d0(this,_0x53bd2c(0x2ae),new Map()),_0xa611d0(this,'_heartbeatTimer',null),_0xa611d0(this,_0x53bd2c(0x3b1),new Map()),_0xa611d0(this,_0x53bd2c(0x211),new Map()),this[_0x53bd2c(0x2f5)]();}[_0x187cb8(0x139)](){const _0x490e77=_0x187cb8;super[_0x490e77(0x139)](),this[_0x490e77(0x3b1)]['forEach']((_0x1f7420,_0x4272e2)=>this[_0x490e77(0x2d3)](_0x4272e2)),this[_0x490e77(0xf9)]&&window[_0x490e77(0x3fe)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x1bbe30){const _0x5cdb2b=_0x187cb8;return this[_0x5cdb2b(0x1d1)](_0x1bbe30)[_0x5cdb2b(0x32b)](_0x469a80[_0x5cdb2b(0x29b)]());}[_0x187cb8(0x3ba)](_0x1efb0e){const _0x2a64bd=_0x187cb8;this['_selfUnitIDs'][_0x2a64bd(0x1b2)]===0x0&&this[_0x2a64bd(0x3bc)](),this['_selfUnitIDs']['add'](_0x1efb0e),this['_send']({'type':0x0,'memberID':this[_0x2a64bd(0x1eb)],'unitIDs':[_0x1efb0e],'isForwarded':!0x1});}[_0x187cb8(0x4e8)](_0x378a5c){const _0x19539a=_0x187cb8;this[_0x19539a(0xfa)]['delete'](_0x378a5c),this[_0x19539a(0xfa)][_0x19539a(0x1b2)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x19539a(0xf9)]);}['_init'](){const _0x2b4eea=_0x187cb8;this[_0x2b4eea(0x403)](_0x35f0f7[_0x2b4eea(0x452)](_0x469a80[_0x2b4eea(0x3e8)](window,'storage')['subscribe'](_0x2fcec9=>{const _0x16cbb2=_0x2b4eea;if(_0x2fcec9[_0x16cbb2(0x4b6)]!==_0x115313||!_0x2fcec9[_0x16cbb2(0x476)])return;const _0x2db9b1=JSON['parse'](_0x2fcec9[_0x16cbb2(0x476)]);this['_handleEvent'](_0x2db9b1);}))),window[_0x2b4eea(0x1e6)](_0x2b4eea(0x46b),()=>this[_0x2b4eea(0x12b)]({'type':0x1,'memberID':this[_0x2b4eea(0x1eb)],'unitIDs':Array[_0x2b4eea(0x12c)](this[_0x2b4eea(0xfa)])}));}[_0x187cb8(0x3f6)](_0x379877){const _0x38277a=_0x187cb8;switch(_0x379877[_0x38277a(0x16e)]){case 0x0:this[_0x38277a(0x489)](_0x379877);break;case 0x1:this[_0x38277a(0x2b2)](_0x379877);break;case 0x2:this['_handleHeartbeatEvent'](_0x379877);break;}}['_handleJoinEvent'](_0x55bdb8){const _0x4376ef=_0x187cb8,{unitIDs:_0x378260,memberID:_0x4c05e9,isForwarded:_0x22a7d3}=_0x55bdb8;_0x378260['forEach'](_0x12be02=>{const _0x506704=_0x30a8;if(!_0x22a7d3&&this['_unitOnClients'][_0x506704(0x4a0)](_0x12be02)&&this['_ensureSubject'](_0x12be02)['next'](0x1),!this[_0x506704(0x2ae)][_0x506704(0x4a0)](_0x12be02)||!this[_0x506704(0x2ae)]['get'](_0x12be02)[_0x506704(0x4a0)](_0x4c05e9)){const _0x43338f=this[_0x506704(0x2ae)][_0x506704(0xf4)](_0x12be02)||new Set();_0x43338f['add'](_0x4c05e9),this['_unitOnClients'][_0x506704(0x33d)](_0x12be02,_0x43338f),this[_0x506704(0x50e)](_0x4c05e9);}}),_0x22a7d3||this[_0x4376ef(0x12b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4376ef(0xfa)]],'isForwarded':!0x0});}[_0x187cb8(0x50e)](_0x19e6b6){const _0x45b442=_0x187cb8;this[_0x45b442(0x2d3)](_0x19e6b6);const _0x17014e=window[_0x45b442(0x4e6)](()=>{const _0x477514=_0x45b442;this[_0x477514(0x2ae)][_0x477514(0x25f)](_0x257467=>{const _0x12f31b=_0x477514;_0x257467[_0x12f31b(0x1c5)](_0x19e6b6);});},_0x3108af*0x2);this['_clearOtherTimers'][_0x45b442(0x33d)](_0x19e6b6,_0x17014e);}[_0x187cb8(0x2d3)](_0x1d0a69){const _0x51ad36=_0x187cb8;if(this[_0x51ad36(0x3b1)]['has'](_0x1d0a69)){const _0x52d09a=this['_clearOtherTimers'][_0x51ad36(0xf4)](_0x1d0a69);_0x52d09a&&window[_0x51ad36(0x38c)](_0x52d09a),this[_0x51ad36(0x3b1)][_0x51ad36(0x33d)](_0x1d0a69,null);}}['_handleLeaveEvent'](_0x41a0c8){const _0x5eab01=_0x187cb8,{memberID:_0x50a682,unitIDs:_0x5effc2}=_0x41a0c8;_0x5effc2[_0x5eab01(0x25f)](_0x5373d5=>{const _0x4bfbcb=_0x5eab01;var _0x3e2e72;const _0x5825bd=this['_unitOnClients'][_0x4bfbcb(0xf4)](_0x5373d5);_0x5825bd&&(_0x5825bd['delete'](_0x50a682),(_0x3e2e72=this[_0x4bfbcb(0x1d1)](_0x5373d5))==null||_0x3e2e72['next'](_0x5825bd['size']===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x50a682);}[_0x187cb8(0x326)](_0x9bdcca){const _0x12e76b=_0x187cb8;this[_0x12e76b(0x50e)](_0x9bdcca[_0x12e76b(0x301)]);}[_0x187cb8(0x12b)](_0x28a750){const _0x256fbc=_0x187cb8;localStorage['setItem'](_0x115313,JSON[_0x256fbc(0x4ad)](_0x28a750));}[_0x187cb8(0x3bc)](){const _0x2a3eea=_0x187cb8;this[_0x2a3eea(0xf9)]=window[_0x2a3eea(0x266)](()=>{const _0x4baa3f=_0x2a3eea;this[_0x4baa3f(0x12b)]({'type':0x2,'memberID':this[_0x4baa3f(0x1eb)]});},_0x3108af);}[_0x187cb8(0x1d1)](_0x523bd2){const _0x4ef8d0=_0x187cb8;return this[_0x4ef8d0(0x211)][_0x4ef8d0(0x4a0)](_0x523bd2)||this[_0x4ef8d0(0x211)][_0x4ef8d0(0x33d)](_0x523bd2,new _0x469a80['BehaviorSubject'](0x0)),this[_0x4ef8d0(0x211)]['get'](_0x523bd2);}}function _0x4458b8(_0x399997){let _0x3b2266='';for(const _0x56a479 of _0x399997){const {startOffset:_0x3682eb,endOffset:_0x47c4f3,isActive:_0x42cdbc,rangeType:_0x297402,segmentId:_0x12982a,segmentPage:_0x2f866f}=_0x56a479;_0x3b2266['length']&&(_0x3b2266+=','),_0x3b2266+=_0x3682eb+':'+_0x47c4f3+':'+(_0x42cdbc?'1':'0')+':'+_0x297402+':'+_0x12982a+':'+_0x2f866f;}return _0x3b2266;}function _0xe9c9c0(_0x4eca12){const _0x2a0bc3=_0x187cb8,_0x4fec61=_0x4eca12['split'](','),_0x4484c9=[];for(const _0x48f5e2 of _0x4fec61){const [_0x30ed19,_0x35f14e,_0x353991,_0x3a3ae3,_0x5edcf8,_0x1df44c]=_0x48f5e2[_0x2a0bc3(0x31d)](':');_0x4484c9[_0x2a0bc3(0x293)]({'startOffset':Number(_0x30ed19),'endOffset':Number(_0x35f14e),'collapsed':_0x30ed19===_0x35f14e,'isActive':_0x353991==='1','rangeType':_0x3a3ae3===_0x35f0f7[_0x2a0bc3(0x1cc)]['TEXT']?_0x35f0f7['DOC_RANGE_TYPE']['TEXT']:_0x35f0f7['DOC_RANGE_TYPE'][_0x2a0bc3(0x440)],'segmentId':typeof _0x5edcf8==_0x2a0bc3(0x180)?String(_0x5edcf8):'','segmentPage':Number(_0x1df44c!=null?_0x1df44c:-0x1)});}return _0x4484c9[_0x2a0bc3(0x22a)](_0x5ae2fc=>_0x5ae2fc[_0x2a0bc3(0x1ff)])||(_0x4484c9[0x0][_0x2a0bc3(0x1ff)]=!0x0),_0x4484c9;}class _0x3ac0c1 extends _0x35f0f7[_0x187cb8(0x115)]{constructor(){const _0x7b62bb=_0x187cb8;super(...arguments),_0xa611d0(this,_0x7b62bb(0x3f4),new _0x469a80[(_0x7b62bb(0x339))](null)),_0xa611d0(this,_0x7b62bb(0x2ba),this['_collabCursorState$'][_0x7b62bb(0x3a4)]());}[_0x187cb8(0x346)](_0x419a53){const _0x476283=_0x187cb8,{unitID:_0x46d668,memberID:_0x104927,textRanges:_0x4c42ac}=_0x419a53,_0x17da81=_0x4458b8(_0x4c42ac);if(_0x17da81==='')return;const _0x774216={'unitID':_0x46d668,'memberID':_0x104927,'selection':_0x17da81};this[_0x476283(0x3f4)][_0x476283(0x401)](_0x774216);}}var _0x4f69e0=Object[_0x187cb8(0x429)],_0x513e65=Object[_0x187cb8(0x358)],_0x1518a8=(_0x4282e5,_0x117088,_0x4f5866,_0x165d42)=>{const _0x2a5e3b=_0x187cb8;for(var _0x526874=_0x165d42>0x1?void 0x0:_0x165d42?_0x513e65(_0x117088,_0x4f5866):_0x117088,_0x723272=_0x4282e5[_0x2a5e3b(0x521)]-0x1,_0x1f7ee2;_0x723272>=0x0;_0x723272--)(_0x1f7ee2=_0x4282e5[_0x723272])&&(_0x526874=(_0x165d42?_0x1f7ee2(_0x117088,_0x4f5866,_0x526874):_0x1f7ee2(_0x526874))||_0x526874);return _0x165d42&&_0x526874&&_0x4f69e0(_0x117088,_0x4f5866,_0x526874),_0x526874;},_0x46ddd0=(_0x1f1c6b,_0x1d9e67)=>(_0x3e5711,_0x369fed)=>_0x1d9e67(_0x3e5711,_0x369fed,_0x1f1c6b);let _0x14e058=class{constructor(_0x4c3a65,_0x466efd){const _0x5d689e=_0x187cb8;this[_0x5d689e(0x41c)]=_0x4c3a65,this[_0x5d689e(0x352)]=_0x466efd;}[_0x187cb8(0x413)](_0x4228d1){const _0xd18139=_0x187cb8;var _0x25a380;const _0x1e6743=this[_0xd18139(0x41c)][_0xd18139(0xf4)](_0x41e827[_0xd18139(0x2bb)]),_0xa6c186=(_0x25a380=_0x1e6743[_0xd18139(0x51b)]())!=null?_0x25a380:[];if(_0xa6c186[_0xd18139(0x521)]===0x0)return;const _0x5bd9d4=[{'id':_0xd18139(0x4ca),'params':{'unitId':_0x4228d1[_0xd18139(0x33f)],'actions':null,'textRanges':_0xa6c186}}],_0x1261f1=this[_0xd18139(0x352)][_0xd18139(0x219)](_0x4228d1,_0x5bd9d4);if(!_0x69458a['isTransformMutationsWithChangesetSuccess'](_0x1261f1))throw _0x1261f1['error'];const _0x4a78aa=_0x1261f1[_0xd18139(0x455)][0x0][_0xd18139(0x10b)][_0xd18139(0x27e)];Array[_0xd18139(0x507)](_0x4a78aa)&&_0x4a78aa['length']&&_0x1e6743['replaceTextRanges'](_0x4a78aa,!0x1);}};_0x14e058=_0x1518a8([_0x46ddd0(0x0,_0x35f0f7['Inject'](_0x35f0f7['Injector'])),_0x46ddd0(0x1,_0x69458a['ITransformService'])],_0x14e058);const _0x2adaf9=new Set([_0x538a64[_0x187cb8(0x45a)]['id']]);function _0x11afeb(_0x485f4d,_0x38b5ad,_0x1123c6,_0x1bb236,_0x5b734f){const _0xe89b56=_0x187cb8;var _0x411d4b,_0x5bbceb,_0x599f09,_0x510243;const _0x16c370=[];for(const _0x497fcf of _0x485f4d)if(_0x2adaf9['has'](_0x497fcf['id'])){if(_0x16c370['length']>0x0)break;_0x16c370[_0xe89b56(0x293)](_0x497fcf);break;}else _0x16c370[_0xe89b56(0x293)](_0x497fcf);const _0x2186d3=(_0x5bbceb=(_0x411d4b=_0x5b734f[_0xe89b56(0x464)]())==null?void 0x0:_0x411d4b[_0xe89b56(0x298)])!=null?_0x5bbceb:_0xe89b56(0x1cb),_0x528306=(_0x510243=(_0x599f09=_0x5b734f[_0xe89b56(0x464)]())==null?void 0x0:_0x599f09[_0xe89b56(0x301)])!=null?_0x510243:_0xe89b56(0x1cb);return{'changeset':{'unitID':_0x38b5ad,'type':_0x69458a[_0xe89b56(0x20d)](_0x1123c6[_0xe89b56(0x313)](_0x38b5ad)),'baseRev':_0x1bb236[_0xe89b56(0x14f)](_0x38b5ad),'revision':0x0,'userID':_0x2186d3,'memberID':_0x528306,'mutations':_0x16c370},'pendingMutations':_0x485f4d[_0xe89b56(0x33a)](_0x16c370['length'])};}function _0x2c27d3(_0x2094ec,_0x1bf6d1,_0x3a0e48,_0x2f2446,_0x2aff3e){const _0x4951e3=_0x187cb8;var _0x5d1df5,_0x2dcc93,_0x2896f7,_0x2aebfd;const _0x5946ed=[_0x2094ec['reduce']((_0x573232,_0x493b69)=>{const _0x46f5f1=_0x30a8;var _0x5b3616;const {id:_0x3c75a3}=_0x573232,{id:_0x159fde,type:_0x4f9f03}=_0x493b69,_0x2ad412=(_0x5b3616=_0x573232[_0x46f5f1(0x10b)])!=null?_0x5b3616:{'actions':null},_0x21a954=_0x493b69[_0x46f5f1(0x10b)];if(_0x3c75a3&&_0x3c75a3!==_0x159fde)throw new Error(_0x46f5f1(0x3f3)+_0x3c75a3+'\x20-\x20'+_0x159fde+'.');return{..._0x573232,'id':_0x159fde,'type':_0x4f9f03,'params':{'unitId':_0x21a954['unitId'],'textRanges':_0x21a954[_0x46f5f1(0x27e)],'actions':_0x35f0f7[_0x46f5f1(0x345)][_0x46f5f1(0x388)](_0x2ad412['actions'],_0x21a954['actions'])}};},{})],_0x4bfc14=(_0x2dcc93=(_0x5d1df5=_0x2aff3e[_0x4951e3(0x464)]())==null?void 0x0:_0x5d1df5[_0x4951e3(0x298)])!=null?_0x2dcc93:'unknown',_0x35e9a8=(_0x2aebfd=(_0x2896f7=_0x2aff3e[_0x4951e3(0x464)]())==null?void 0x0:_0x2896f7[_0x4951e3(0x301)])!=null?_0x2aebfd:_0x4951e3(0x1cb);return{'changeset':{'unitID':_0x1bf6d1,'type':_0x69458a[_0x4951e3(0x20d)](_0x3a0e48[_0x4951e3(0x313)](_0x1bf6d1)),'baseRev':_0x2f2446['getCurrentRevOfUnit'](_0x1bf6d1),'revision':0x0,'userID':_0x4bfc14,'memberID':_0x35e9a8,'mutations':_0x5946ed},'pendingMutations':[]};}function _0x2e3505(_0x14a88a,_0x2ad534){const _0x313196=_0x187cb8,_0x839d8c=new _0x469a80[(_0x313196(0x467))](0x1);return setTimeout(()=>_0x839d8c['next'](_0x2ad534),_0x14a88a),_0x839d8c[_0x313196(0x3a4)]()[_0x313196(0x32b)](_0x469a80[_0x313196(0x2ea)](0x1));}const _0x495596={'id':_0x538a64[_0x187cb8(0x35d)]['id'],'type':_0x35f0f7[_0x187cb8(0x409)][_0x187cb8(0x1ec)],'params':{}};var _0x173ac6=Object['defineProperty'],_0xaad4ca=Object['getOwnPropertyDescriptor'],_0x4ef9ca=(_0xc5e41,_0x4bc0f7,_0x1e7126,_0x574bae)=>{for(var _0x269170=_0x574bae>0x1?void 0x0:_0x574bae?_0xaad4ca(_0x4bc0f7,_0x1e7126):_0x4bc0f7,_0x69c676=_0xc5e41['length']-0x1,_0x1e6f5e;_0x69c676>=0x0;_0x69c676--)(_0x1e6f5e=_0xc5e41[_0x69c676])&&(_0x269170=(_0x574bae?_0x1e6f5e(_0x4bc0f7,_0x1e7126,_0x269170):_0x1e6f5e(_0x269170))||_0x269170);return _0x574bae&&_0x269170&&_0x173ac6(_0x4bc0f7,_0x1e7126,_0x269170),_0x269170;},_0x37d0e1=(_0x724de5,_0x3d6151)=>(_0x4868c0,_0x310871)=>_0x3d6151(_0x4868c0,_0x310871,_0x724de5),_0x2ce1aa=(_0x3653db=>(_0x3653db[_0x187cb8(0x3b6)]=_0x187cb8(0x3f0),_0x3653db['SYNCED']='synced',_0x3653db[_0x187cb8(0x170)]=_0x187cb8(0x252),_0x3653db['AWAITING']=_0x187cb8(0x406),_0x3653db[_0x187cb8(0x343)]=_0x187cb8(0x433),_0x3653db[_0x187cb8(0x49c)]=_0x187cb8(0x3a7),_0x3653db['CONFLICT']=_0x187cb8(0x3e3),_0x3653db[_0x187cb8(0x282)]=_0x187cb8(0x3a0),_0x3653db))(_0x2ce1aa||{});const _0x5b7377=0xea60;class _0x2c6f31{constructor(_0x5c3216,_0x8b0f64,_0x7ea182,_0x1fbc20,_0x5c8482,_0x2b5bfb,_0x3562fe,_0x3e67fa,_0xe6f8f7){const _0x1b54a2=_0x187cb8;_0xa611d0(this,_0x1b54a2(0x196),null),_0xa611d0(this,_0x1b54a2(0x3e5),[]),(this['unitID']=_0x5c3216,this['type']=_0x8b0f64,this[_0x1b54a2(0x1d9)]=_0x5c8482,this[_0x1b54a2(0x51f)]=_0x2b5bfb,this[_0x1b54a2(0x397)]=_0x3562fe,this[_0x1b54a2(0x18f)]=_0x3e67fa,this[_0x1b54a2(0x39f)]=_0xe6f8f7,this['_awaitingChangeset']=_0x7ea182,this['_pendingMutations']=_0x1fbc20);}['_checkMissing'](_0x2a5ecb){const _0x440fa9=_0x187cb8,_0x5a2b00=this[_0x440fa9(0x18f)]['getCurrentRevOfUnit'](this[_0x440fa9(0x33f)]);return _0x2a5ecb['revision']>_0x5a2b00+0x1?(this[_0x440fa9(0x1d9)][_0x440fa9(0x194)]({'from':_0x5a2b00,'to':_0x2a5ecb['revision']-0x1}),!0x0):!0x1;}[_0x187cb8(0x10e)](_0xd66ea4){const _0x39cf9a=_0x187cb8;this[_0x39cf9a(0x397)][_0x39cf9a(0x1fa)](this['unitID'],_0xd66ea4);}[_0x187cb8(0x20a)](_0x1d31c6){const _0xbe2759=_0x187cb8;var _0x570b06,_0x2b7904;(_0x2b7904=(_0x570b06=this[_0xbe2759(0x1d9)])['onTransformSelections'])==null||_0x2b7904[_0xbe2759(0x4e4)](_0x570b06,_0x1d31c6);}[_0x187cb8(0x1cf)](_0x2a917d){const _0x5d7dbb=_0x187cb8;var _0x29e22f,_0x3b76f8;return(_0x3b76f8=(_0x29e22f=this[_0x5d7dbb(0x1d9)])[_0x5d7dbb(0x373)])==null?void 0x0:_0x3b76f8[_0x5d7dbb(0x4e4)](_0x29e22f,_0x2a917d);}['_transformRemoteChangesetByIMECache'](_0x2cec81){const _0x78674f=_0x187cb8;var _0x5c8991,_0x4f88fc,_0x2f09b7;return(_0x2f09b7=(_0x4f88fc=(_0x5c8991=this[_0x78674f(0x1d9)])[_0x78674f(0x39e)])==null?void 0x0:_0x4f88fc['call'](_0x5c8991,_0x2cec81))!=null?_0x2f09b7:_0x2cec81;}[_0x187cb8(0x17d)](_0x9938a1){const _0x1b63a8=_0x187cb8;var _0x5d595d,_0x43dc74;if(this[_0x1b63a8(0x16e)]===_0x2bb4bc[_0x1b63a8(0x3e9)]){const {unitID:_0x5a1abf,mutations:_0x1b999b,memberID:_0x3d0976}=_0x9938a1,_0x41b4e2=_0x1b999b[0x0][_0x1b63a8(0x10b)][_0x1b63a8(0x27e)];Array[_0x1b63a8(0x507)](_0x41b4e2)&&_0x41b4e2[_0x1b63a8(0x521)]>0x0&&((_0x43dc74=(_0x5d595d=this[_0x1b63a8(0x1d9)])['onSyncEditingCollabCursor'])==null||_0x43dc74[_0x1b63a8(0x4e4)](_0x5d595d,{'unitID':_0x5a1abf,'memberID':_0x3d0976,'textRanges':_0x41b4e2}));}}[_0x187cb8(0x404)](){const _0x21eb6a=_0x187cb8;this[_0x21eb6a(0x39f)][_0x21eb6a(0x289)](this[_0x21eb6a(0x33f)],this[_0x21eb6a(0x16e)],this[_0x21eb6a(0x196)],this[_0x21eb6a(0x3e5)]);}[_0x187cb8(0x41a)](){const _0x38e796=_0x187cb8;return this[_0x38e796(0x18f)][_0x38e796(0x14f)](this['unitID']);}[_0x187cb8(0x2e8)](){const _0x1fb61b=_0x187cb8;this[_0x1fb61b(0x18f)]['incrementRevOfUnit'](this['unitID']);}[_0x187cb8(0x3e6)](_0x272a81){const _0x4f99b7=_0x187cb8;var _0x36005e;const _0x4f2824=this[_0x4f99b7(0xe6)](_0x272a81),_0x31922e=_0x35f0f7[_0x4f99b7(0x1d6)](_0x4f2824[_0x4f99b7(0x4c8)],this[_0x4f99b7(0x51f)],{'fromCollab':!0x0});if(!_0x31922e[_0x4f99b7(0x402)])throw _0x31922e['error']instanceof Error?_0x31922e['error']:new Error((_0x36005e=_0x31922e[_0x4f99b7(0x1ed)])!=null?_0x36005e:'[CollaborationState]:\x20apply\x20error!');this[_0x4f99b7(0x1cf)](_0x4f2824),this[_0x4f99b7(0x10e)](_0x272a81),this['_transformSelections'](_0x4f2824),this[_0x4f99b7(0x17d)](_0x4f2824),this[_0x4f99b7(0x2e8)]();}}let _0x2be2e0=class extends _0x2c6f31{constructor(_0x3e20a9,_0x222a19,_0x2593e4,_0x2a077b,_0x30e7c9,_0x23aa52,_0x378112,_0x512af3,_0x662a5c,_0x1be0ef){const _0x5d743a=_0x187cb8;super(_0x3e20a9,_0x222a19,null,[],_0x2593e4,_0x512af3,_0x378112,_0x2a077b,_0x30e7c9),_0xa611d0(this,_0x5d743a(0x32e),_0x5d743a(0x432)),(this[_0x5d743a(0x41c)]=_0x23aa52,this[_0x5d743a(0x213)]=_0x662a5c,this[_0x5d743a(0x352)]=_0x1be0ef);}['appendMutation'](_0x30134c){const _0xc8a31e=_0x187cb8,_0x519480=this['_injector'][_0xc8a31e(0x461)](_0x1b93c0,this['unitID'],this[_0xc8a31e(0x16e)],[_0x30134c],this['_handler']);return _0x519480[_0xc8a31e(0x134)](),_0x519480[_0xc8a31e(0x404)](),_0x519480;}['onRemoteChangeset'](_0x488f59){const _0x266225=_0x187cb8;if(this[_0x266225(0x4a4)](_0x488f59))return this['_injector'][_0x266225(0x461)](_0x37e3e9,this[_0x266225(0x33f)],this['type'],null,[],null,[_0x488f59],this[_0x266225(0x1d9)]);try{const _0x39e937=this[_0x266225(0x352)][_0x266225(0x219)](_0x488f59,[_0x495596]);if(_0x69458a[_0x266225(0xe5)](_0x39e937)){const {c1Prime:_0x31ccd3}=_0x39e937;return this['_executeRemoteChangeset'](_0x31ccd3),this;}throw _0x39e937[_0x266225(0x1ed)];}catch(_0xf4bcfb){return this[_0x266225(0x213)][_0x266225(0x1ed)](_0xf4bcfb),this[_0x266225(0x27f)](!0x1);}}[_0x187cb8(0x27f)](_0x17da87){const _0x5a6504=_0x187cb8;return this[_0x5a6504(0x41c)][_0x5a6504(0x461)](_0x46a23c,this[_0x5a6504(0x33f)],this[_0x5a6504(0x16e)],null,[],this[_0x5a6504(0x1d9)],_0x17da87);}[_0x187cb8(0x16c)](){const _0x2b167b=_0x187cb8;throw new Error(_0x2b167b(0x23b));}[_0x187cb8(0x4f8)](){const _0x4e7be3=_0x187cb8;throw new Error(_0x4e7be3(0x379));}[_0x187cb8(0x308)](){return this;}[_0x187cb8(0x316)](){const _0x25e2cb=_0x187cb8;return this[_0x25e2cb(0x41c)]['createInstance'](_0x1b80c1,this[_0x25e2cb(0x33f)],this['type'],null,[],this[_0x25e2cb(0x1d9)]);}['toggleOnline'](){return this;}[_0x187cb8(0xf6)](){const _0x380222=_0x187cb8;throw new Error(_0x380222(0x155));}['fetchMiss'](){const _0x5ef00a=_0x187cb8,_0x3113f2=this['_revisionService'][_0x5ef00a(0x14f)](this[_0x5ef00a(0x33f)]);return this[_0x5ef00a(0x1d9)][_0x5ef00a(0x194)]({'from':_0x3113f2,'to':0x0}),this[_0x5ef00a(0x41c)]['createInstance'](_0x37e3e9,this[_0x5ef00a(0x33f)],this[_0x5ef00a(0x16e)],null,[],null,[],this[_0x5ef00a(0x1d9)]);}};_0x2be2e0=_0x4ef9ca([_0x37d0e1(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a['RevisionService'])),_0x37d0e1(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91['LocalCacheService'])),_0x37d0e1(0x5,_0x35f0f7['Inject'](_0x35f0f7['Injector'])),_0x37d0e1(0x6,_0x35f0f7[_0x187cb8(0x13c)]),_0x37d0e1(0x7,_0x35f0f7[_0x187cb8(0x300)]),_0x37d0e1(0x8,_0x35f0f7['ILogService']),_0x37d0e1(0x9,_0x69458a[_0x187cb8(0x239)])],_0x2be2e0);let _0x1b93c0=class extends _0x2c6f31{constructor(_0x33224f,_0x320404,_0x117c75,_0x5c9dc2,_0x438b3c,_0x29d8ea,_0x4bf85a,_0x5c2976,_0x200396,_0x86dff8,_0x13b9d1,_0x478f1b,_0x5f4d70,_0x6e7a2d){const _0x33de45=_0x187cb8;super(_0x33224f,_0x320404,null,_0x117c75,_0x5c9dc2,_0x86dff8,_0x6e7a2d,_0x29d8ea,_0x4bf85a),_0xa611d0(this,_0x33de45(0x32e),_0x33de45(0x252)),_0xa611d0(this,'_scheduleTimestamp',null),_0xa611d0(this,_0x33de45(0x323),null),(this[_0x33de45(0x41c)]=_0x438b3c,this[_0x33de45(0x123)]=_0x5c2976,this[_0x33de45(0x213)]=_0x200396,this[_0x33de45(0x1c6)]=_0x13b9d1,this[_0x33de45(0x352)]=_0x478f1b,this[_0x33de45(0x21b)]=_0x5f4d70);}[_0x187cb8(0x34e)](_0x250cf1){const _0x477551=_0x187cb8;return this[_0x477551(0x3e5)][_0x477551(0x293)](_0x250cf1),this['_updateLocalCache'](),this;}[_0x187cb8(0x4fe)](_0x348464){const _0x54f123=_0x187cb8;if(this[_0x54f123(0x4a4)](_0x348464))return this['_clearScheduledTask'](),this[_0x54f123(0x41c)]['createInstance'](_0x37e3e9,this[_0x54f123(0x33f)],this[_0x54f123(0x16e)],null,this[_0x54f123(0x3e5)],null,[_0x348464],this['_handler']);try{const _0x33768a=this['_transformService'][_0x54f123(0x219)](_0x348464,this[_0x54f123(0x3e5)]);if(_0x69458a[_0x54f123(0xe5)](_0x33768a)){const {c1Prime:_0x49f184,m2Prime:_0x18e084}=_0x33768a;this[_0x54f123(0x3e6)](_0x49f184);const _0x577de4=this[_0x54f123(0x41c)][_0x54f123(0x461)](_0x1b93c0,this[_0x54f123(0x33f)],this[_0x54f123(0x16e)],_0x18e084,this[_0x54f123(0x1d9)]);return this['_clearScheduledTask'](),_0x577de4[_0x54f123(0x134)](this[_0x54f123(0x125)]?Math[_0x54f123(0x258)](0x0,new Date()[_0x54f123(0x496)]()-this[_0x54f123(0x125)]):this[_0x54f123(0x327)]()),_0x577de4;}throw _0x33768a[_0x54f123(0x1ed)];}catch(_0x25a23f){return this[_0x54f123(0x213)][_0x54f123(0x1ed)](_0x25a23f),this[_0x54f123(0x27f)](!0x1);}}[_0x187cb8(0x16c)](){const _0x2ebc54=_0x187cb8;throw new Error(_0x2ebc54(0x49a));}[_0x187cb8(0x4f8)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x187cb8(0x308)](){return this;}[_0x187cb8(0x316)](){const _0x2ecfb0=_0x187cb8;return this['_clearScheduledTask'](),this[_0x2ecfb0(0x41c)]['createInstance'](_0x1b80c1,this[_0x2ecfb0(0x33f)],this[_0x2ecfb0(0x16e)],null,this[_0x2ecfb0(0x3e5)],this[_0x2ecfb0(0x1d9)]);}[_0x187cb8(0x1d5)](){return this;}['_schedule'](_0x3e5536){const _0x282697=_0x187cb8,_0x934f96=_0x3e5536!=null?_0x3e5536:this['_getSendChangesetTimeout']();this[_0x282697(0x125)]=new Date()['getTime'](),this[_0x282697(0x323)]=window[_0x282697(0x4e6)](()=>{const _0x5898cd=_0x282697;this[_0x5898cd(0x437)]();let _0x22c29b=null;switch(this['type']){case _0x2bb4bc[_0x5898cd(0x2fc)]:{_0x22c29b=_0x11afeb(this[_0x5898cd(0x3e5)],this[_0x5898cd(0x33f)],this['_univerInstanceService'],this[_0x5898cd(0x18f)],this['_memberService']);break;}case _0x2bb4bc[_0x5898cd(0x3e9)]:{this['_pendingMutations'][_0x5898cd(0xe7)](_0xc58b83=>_0xc58b83['id']===_0x41e827[_0x5898cd(0x4a3)]['id'])?_0x22c29b=_0x2c27d3(this[_0x5898cd(0x3e5)],this[_0x5898cd(0x33f)],this[_0x5898cd(0x21b)],this[_0x5898cd(0x18f)],this[_0x5898cd(0x123)]):_0x22c29b=_0x11afeb(this[_0x5898cd(0x3e5)],this[_0x5898cd(0x33f)],this['_univerInstanceService'],this[_0x5898cd(0x18f)],this[_0x5898cd(0x123)]);break;}default:throw new Error(_0x5898cd(0xf8)+this[_0x5898cd(0x16e)]+_0x5898cd(0x427));}const {changeset:_0xed5d8f,pendingMutations:_0x2edead}=_0x22c29b;this[_0x5898cd(0x1d9)][_0x5898cd(0x4f5)](_0xed5d8f);const _0x185f2e=_0x2edead[_0x5898cd(0x521)]?this['_injector']['createInstance'](_0x42097b,this[_0x5898cd(0x33f)],this[_0x5898cd(0x16e)],_0xed5d8f,_0x2edead,this['_handler'],void 0x0):this[_0x5898cd(0x41c)][_0x5898cd(0x461)](_0x299047,this[_0x5898cd(0x33f)],this[_0x5898cd(0x16e)],_0xed5d8f,this[_0x5898cd(0x1d9)]);_0x185f2e[_0x5898cd(0x404)](),this[_0x5898cd(0x1d9)]['onStateChange'](this,_0x185f2e);},_0x934f96);}[_0x187cb8(0x327)](){const _0x469d2b=_0x187cb8;var _0x58ca9f;const _0x3fa273=this[_0x469d2b(0x1c6)][_0x469d2b(0x232)](_0x62c88d);return(_0x58ca9f=_0x3fa273==null?void 0x0:_0x3fa273[_0x469d2b(0x331)])!=null?_0x58ca9f:0x7d0;}[_0x187cb8(0xf6)](){const _0x278dce=_0x187cb8;throw new Error(_0x278dce(0x169));}[_0x187cb8(0x437)](){const _0x10aee6=_0x187cb8;this[_0x10aee6(0x323)]!=null&&(clearTimeout(this[_0x10aee6(0x323)]),this['_sendingTimer']=null);}[_0x187cb8(0x27f)](_0x29f628){const _0x430c29=_0x187cb8;return this[_0x430c29(0x437)](),this['_injector'][_0x430c29(0x461)](_0x46a23c,this[_0x430c29(0x33f)],this[_0x430c29(0x16e)],null,this['_pendingMutations'],this['_handler'],_0x29f628);}};_0x1b93c0=_0x4ef9ca([_0x37d0e1(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x37d0e1(0x5,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a['RevisionService'])),_0x37d0e1(0x6,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x3be)])),_0x37d0e1(0x7,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91['MemberService'])),_0x37d0e1(0x8,_0x35f0f7[_0x187cb8(0x29f)]),_0x37d0e1(0x9,_0x35f0f7['ICommandService']),_0x37d0e1(0xa,_0x35f0f7[_0x187cb8(0x141)]),_0x37d0e1(0xb,_0x69458a['ITransformService']),_0x37d0e1(0xc,_0x35f0f7[_0x187cb8(0x2cd)]),_0x37d0e1(0xd,_0x35f0f7[_0x187cb8(0x13c)])],_0x1b93c0);let _0x299047=class extends _0x2c6f31{constructor(_0x1c547c,_0x24a1bc,_0x157bbf,_0x3b9333,_0x216878,_0x4cccd3,_0x2862a6,_0x35ba7e,_0x86051e,_0x234b81,_0x2849cf){const _0x5b66e9=_0x187cb8;super(_0x1c547c,_0x24a1bc,_0x157bbf,[],_0x3b9333,_0x35ba7e,_0x2849cf,_0x4cccd3,_0x2862a6),_0xa611d0(this,_0x5b66e9(0x32e),'awaiting'),_0xa611d0(this,'_resendTimeout',0x0),_0xa611d0(this,_0x5b66e9(0x3ca)),_0xa611d0(this,_0x5b66e9(0x11a)),(this['_injector']=_0x216878,this[_0x5b66e9(0x213)]=_0x86051e,this[_0x5b66e9(0x352)]=_0x234b81);}[_0x187cb8(0x34e)](_0x4afc74){const _0x2052e3=_0x187cb8;this[_0x2052e3(0x437)]();const _0x1cffc9=this[_0x2052e3(0x41c)][_0x2052e3(0x461)](_0x42097b,this[_0x2052e3(0x33f)],this['type'],this[_0x2052e3(0x196)],[_0x4afc74],this[_0x2052e3(0x1d9)],this[_0x2052e3(0x3ca)]);return _0x1cffc9[_0x2052e3(0x404)](),_0x1cffc9;}[_0x187cb8(0x4fe)](_0x80aba0){const _0x8a5e55=_0x187cb8;if(this[_0x8a5e55(0x4a4)](_0x80aba0))return this[_0x8a5e55(0x437)](),this[_0x8a5e55(0x41c)][_0x8a5e55(0x461)](_0x37e3e9,this[_0x8a5e55(0x33f)],this[_0x8a5e55(0x16e)],this[_0x8a5e55(0x196)],[],null,[_0x80aba0],this[_0x8a5e55(0x1d9)]);try{const _0x14a956=this[_0x8a5e55(0x352)][_0x8a5e55(0x473)]([_0x80aba0],[this[_0x8a5e55(0x196)]],!0x1);if(_0x69458a[_0x8a5e55(0x448)](_0x14a956)){const {c1Prime:_0x186d00,c2Prime:_0x5a47b3}=_0x14a956;this[_0x8a5e55(0x3e6)](_0x186d00[0x0]),_0x5a47b3[0x0][_0x8a5e55(0x37d)]=this[_0x8a5e55(0x41a)](),this[_0x8a5e55(0x437)]();const _0xab2f81=this[_0x8a5e55(0x41c)][_0x8a5e55(0x461)](_0x299047,this[_0x8a5e55(0x33f)],this[_0x8a5e55(0x16e)],_0x5a47b3[0x0],this['_handler']);return _0xab2f81[_0x8a5e55(0x404)](),_0xab2f81;}return this['_onConflict'](!0x1);}catch(_0x1e19e7){return this[_0x8a5e55(0x213)][_0x8a5e55(0x1ed)](_0x1e19e7),this['_onConflict'](!0x1);}}[_0x187cb8(0x16c)](_0x332c0e){const _0x5307d9=_0x187cb8;this[_0x5307d9(0x437)]();const _0x4369cc=this[_0x5307d9(0x18f)][_0x5307d9(0x14f)](this['unitID']);if(_0x332c0e[_0x5307d9(0x203)]<_0x4369cc-0x1)return this;if(this[_0x5307d9(0x4a4)](_0x332c0e))return this[_0x5307d9(0x41c)][_0x5307d9(0x461)](_0x37e3e9,this[_0x5307d9(0x33f)],this[_0x5307d9(0x16e)],null,[],this[_0x5307d9(0x196)],[],this['_handler']);this[_0x5307d9(0x2e8)]();const _0x396440=this[_0x5307d9(0x41c)][_0x5307d9(0x461)](_0x2be2e0,this[_0x5307d9(0x33f)],this[_0x5307d9(0x16e)],this[_0x5307d9(0x1d9)]);return _0x396440[_0x5307d9(0x404)](),_0x396440;}[_0x187cb8(0x4f8)](_0x223939){const _0x3d2e38=_0x187cb8;return this[_0x3d2e38(0x27f)](!!(_0x223939!=null&&_0x223939[_0x3d2e38(0x1c1)]));}[_0x187cb8(0x308)](_0x578141){const _0x4ea002=_0x187cb8;return this[_0x4ea002(0x325)]>_0x5b7377?this[_0x4ea002(0x316)]():(this[_0x4ea002(0x3ca)]=_0x2e3505(this[_0x4ea002(0x325)],{'timeout':this[_0x4ea002(0x325)],'reqId':_0x578141[_0x4ea002(0x168)]}),this[_0x4ea002(0x11a)]=this['_resendTimer'][_0x4ea002(0x377)](({reqId:_0x4f3808,timeout:_0x16546a})=>{this['_resendWithTimeout'](_0x4f3808,_0x16546a);}),this);}[_0x187cb8(0x316)](){const _0x56cded=_0x187cb8;return this[_0x56cded(0x437)](),this[_0x56cded(0x41c)][_0x56cded(0x461)](_0x1b80c1,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x56cded(0x1d9)]);}['toggleOnline'](){return this;}['resend'](){const _0x1a8b51=_0x187cb8;this[_0x1a8b51(0x1d9)][_0x1a8b51(0x4f5)](this[_0x1a8b51(0x196)]);}[_0x187cb8(0x27f)](_0x17a913){const _0x168678=_0x187cb8;return this['_clearScheduledTask'](),this[_0x168678(0x41c)]['createInstance'](_0x46a23c,this[_0x168678(0x33f)],this[_0x168678(0x16e)],this[_0x168678(0x196)],[],this['_handler'],_0x17a913);}['_resendWithTimeout'](_0xd9e79d,_0xf93ff2){const _0x310a6d=_0x187cb8;var _0x1a431d;_0xd9e79d===((_0x1a431d=this[_0x310a6d(0x196)])==null?void 0x0:_0x1a431d['reqId'])&&(this['resend'](),this[_0x310a6d(0x325)]=_0xf93ff2===0x0?0x3e8:_0xf93ff2*0x2);}[_0x187cb8(0x437)](){const _0xa5e250=_0x187cb8;var _0x539300;(_0x539300=this[_0xa5e250(0x11a)])==null||_0x539300[_0xa5e250(0x462)](),this[_0xa5e250(0x325)]=0x0;}};_0x299047=_0x4ef9ca([_0x37d0e1(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7['Injector'])),_0x37d0e1(0x5,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x16b)])),_0x37d0e1(0x6,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x3be)])),_0x37d0e1(0x7,_0x35f0f7[_0x187cb8(0x300)]),_0x37d0e1(0x8,_0x35f0f7[_0x187cb8(0x29f)]),_0x37d0e1(0x9,_0x69458a[_0x187cb8(0x239)]),_0x37d0e1(0xa,_0x35f0f7[_0x187cb8(0x13c)])],_0x299047);let _0x42097b=class extends _0x2c6f31{constructor(_0xd3973b,_0x1e28e6,_0x4cef00,_0x196c83,_0x277a6d,_0x2ae1e7,_0x39e65d,_0x2ae782,_0x5d1760,_0x568607,_0x5011ac,_0x1d0986,_0x376931){const _0x26ef55=_0x187cb8;super(_0xd3973b,_0x1e28e6,_0x4cef00,_0x196c83,_0x277a6d,_0x568607,_0x376931,_0x2ae782,_0x5d1760),_0xa611d0(this,_0x26ef55(0x32e),_0x26ef55(0x433)),_0xa611d0(this,_0x26ef55(0x325),0x0),_0xa611d0(this,_0x26ef55(0x3ca)),_0xa611d0(this,_0x26ef55(0x11a)),(this[_0x26ef55(0x41c)]=_0x39e65d,this['_logService']=_0x5011ac,this[_0x26ef55(0x352)]=_0x1d0986,_0x2ae1e7&&(this[_0x26ef55(0x3ca)]=_0x2ae1e7,this['_sender']=this[_0x26ef55(0x3ca)]['subscribe'](({reqId:_0x5466c0,timeout:_0x21ee79})=>{const _0x135e9d=_0x26ef55;this[_0x135e9d(0x2fa)](_0x5466c0,_0x21ee79);})));}[_0x187cb8(0x34e)](_0x1f0be3){const _0x1ba8e0=_0x187cb8;return this[_0x1ba8e0(0x3e5)][_0x1ba8e0(0x293)](_0x1f0be3),this;}[_0x187cb8(0x4fe)](_0x58f3ba){const _0x571247=_0x187cb8;if(this['_checkMissing'](_0x58f3ba))return this[_0x571247(0x437)](),this[_0x571247(0x41c)][_0x571247(0x461)](_0x37e3e9,this['unitID'],this[_0x571247(0x16e)],this[_0x571247(0x196)],this[_0x571247(0x3e5)],null,[_0x58f3ba],this[_0x571247(0x1d9)]);try{const _0xf5879f=this[_0x571247(0x352)][_0x571247(0x473)]([_0x58f3ba],[this[_0x571247(0x196)]],!0x1);if(_0x69458a[_0x571247(0x448)](_0xf5879f)){const {c1Prime:_0xcc8e4e,c2Prime:_0x1740fb}=_0xf5879f,_0x147325=this[_0x571247(0x352)][_0x571247(0x219)](_0xcc8e4e[0x0],this[_0x571247(0x3e5)]);if(_0x69458a[_0x571247(0xe5)](_0x147325)){const {c1Prime:_0xb7eded,m2Prime:_0x115ee9}=_0x147325;return this['_executeRemoteChangeset'](_0xb7eded),_0x1740fb[0x0]['baseRev']=this[_0x571247(0x41a)](),this[_0x571247(0x437)](),this[_0x571247(0x41c)][_0x571247(0x461)](_0x42097b,this[_0x571247(0x33f)],this[_0x571247(0x16e)],_0x1740fb[0x0],_0x115ee9,this[_0x571247(0x1d9)],void 0x0);}throw _0x147325[_0x571247(0x1ed)];}throw _0xf5879f[_0x571247(0x1ed)];}catch(_0x35d7eb){return this[_0x571247(0x213)][_0x571247(0x1ed)](_0x35d7eb),this[_0x571247(0x27f)](!0x1);}}[_0x187cb8(0x16c)](_0x41f326){const _0x21c920=_0x187cb8;if(this[_0x21c920(0x437)](),this['_checkMissing'](_0x41f326))return this[_0x21c920(0x41c)][_0x21c920(0x461)](_0x37e3e9,this[_0x21c920(0x33f)],this[_0x21c920(0x16e)],null,this[_0x21c920(0x3e5)],this[_0x21c920(0x196)],[],this[_0x21c920(0x1d9)]);this[_0x21c920(0x2e8)]();const _0x54b289=this[_0x21c920(0x41c)][_0x21c920(0x461)](_0x1b93c0,this[_0x21c920(0x33f)],this[_0x21c920(0x16e)],this[_0x21c920(0x3e5)],this[_0x21c920(0x1d9)]);return _0x54b289[_0x21c920(0x134)](),_0x54b289['_updateLocalCache'](),_0x54b289;}['onRemoteRej'](_0x15fbf7){const _0x562ad9=_0x187cb8;return this[_0x562ad9(0x27f)](!!(_0x15fbf7!=null&&_0x15fbf7['isPermissionRej']));}['onRemoteRetry'](_0x18d6a2){const _0x321b04=_0x187cb8;return this[_0x321b04(0x325)]>_0x5b7377?this[_0x321b04(0x316)]():(this['_resendTimer']=_0x2e3505(this[_0x321b04(0x325)],{'timeout':this[_0x321b04(0x325)],'reqId':_0x18d6a2['reqId']}),this['_sender']=this[_0x321b04(0x3ca)][_0x321b04(0x377)](({reqId:_0x5f574c,timeout:_0x3131a8})=>{const _0x4ff5d5=_0x321b04;this[_0x4ff5d5(0x2fa)](_0x5f574c,_0x3131a8);}),this);}[_0x187cb8(0x316)](){const _0x3496ba=_0x187cb8;return this[_0x3496ba(0x437)](),this['_injector'][_0x3496ba(0x461)](_0x1b80c1,this['unitID'],this[_0x3496ba(0x16e)],this[_0x3496ba(0x196)],this[_0x3496ba(0x3e5)],this['_handler']);}[_0x187cb8(0x1d5)](){return this;}[_0x187cb8(0xf6)](){const _0x3f915f=_0x187cb8;this['_handler']['onSendChangeset'](this[_0x3f915f(0x196)]);}[_0x187cb8(0x27f)](_0x27273d){const _0x400b43=_0x187cb8;return this[_0x400b43(0x437)](),this['_injector'][_0x400b43(0x461)](_0x46a23c,this['unitID'],this[_0x400b43(0x16e)],null,this[_0x400b43(0x3e5)],this[_0x400b43(0x1d9)],_0x27273d);}[_0x187cb8(0x2fa)](_0x51b401,_0x34e4fa){const _0x112054=_0x187cb8;var _0x13e677;_0x51b401===((_0x13e677=this['_awaitingChangeset'])==null?void 0x0:_0x13e677['reqId'])&&(this[_0x112054(0xf6)](),this['_resendTimeout']=_0x34e4fa===0x0?0x3e8:_0x34e4fa*0x2);}[_0x187cb8(0x437)](){const _0x158144=_0x187cb8;var _0x217464;(_0x217464=this[_0x158144(0x11a)])==null||_0x217464[_0x158144(0x462)](),this[_0x158144(0x325)]=0x0;}};_0x42097b=_0x4ef9ca([_0x37d0e1(0x6,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x37d0e1(0x7,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x16b)])),_0x37d0e1(0x8,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x3be)])),_0x37d0e1(0x9,_0x35f0f7['ICommandService']),_0x37d0e1(0xa,_0x35f0f7['ILogService']),_0x37d0e1(0xb,_0x69458a[_0x187cb8(0x239)]),_0x37d0e1(0xc,_0x35f0f7[_0x187cb8(0x13c)])],_0x42097b);let _0x46a23c=class extends _0x2c6f31{constructor(_0x1ddf35,_0x506d69,_0x21b950,_0x53bf58,_0x589d98,_0x1bc629=!0x1,_0x4f60a0,_0x1fb5cf,_0xeab230,_0x5caa8e,_0x28fdde,_0x274716,_0x27639c){const _0x11741a=_0x187cb8;super(_0x1ddf35,_0x506d69,_0x21b950,_0x53bf58,_0x589d98,_0x1fb5cf,_0xeab230,_0x28fdde,_0x5caa8e),_0xa611d0(this,_0x11741a(0x32e),_0x11741a(0x3e3)),(this['_isPermissionRej']=_0x1bc629,this[_0x11741a(0x195)]=_0x4f60a0,this[_0x11741a(0x506)]=_0x274716,this['_notificationService']=_0x27639c,this[_0x11741a(0x35f)](),this[_0x11741a(0x344)](),this[_0x11741a(0x2b8)]());}[_0x187cb8(0x34e)](){return this;}[_0x187cb8(0x4fe)](){return this;}['onRemoteAck'](){return this;}[_0x187cb8(0x4f8)](){return this;}[_0x187cb8(0x308)](){return this;}[_0x187cb8(0x316)](){return this;}[_0x187cb8(0x1d5)](){return this;}[_0x187cb8(0xf6)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x187cb8(0x344)](){const _0x124c56=_0x187cb8;this[_0x124c56(0x39f)]['updateOfflineData'](this[_0x124c56(0x33f)],this['type'],null,[]);}[_0x187cb8(0x35f)](){const _0x3c1474=_0x187cb8;this[_0x3c1474(0x366)]?this[_0x3c1474(0x31b)][_0x3c1474(0x1a2)]({'title':this[_0x3c1474(0x506)]['t'](_0x3c1474(0x2ab)),'content':this[_0x3c1474(0x506)]['t'](_0x3c1474(0x1d4)),'type':_0x3c1474(0x1ed),'duration':0x0}):this[_0x3c1474(0x31b)][_0x3c1474(0x1a2)]({'title':this[_0x3c1474(0x506)]['t'](_0x3c1474(0x4b5)),'content':this[_0x3c1474(0x506)]['t'](_0x3c1474(0x13b)),'type':_0x3c1474(0x1ed),'duration':0x0});}['_disableEditing'](){const _0x207f97=_0x187cb8;this[_0x207f97(0x195)][_0x207f97(0x132)](new _0x538a64[(_0x207f97(0x12e))](this['unitID'])['id'],!0x1);}};_0x46a23c=_0x4ef9ca([_0x37d0e1(0x6,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x2c7)])),_0x37d0e1(0x7,_0x35f0f7['ICommandService']),_0x37d0e1(0x8,_0x35f0f7[_0x187cb8(0x13c)]),_0x37d0e1(0x9,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x3be)])),_0x37d0e1(0xa,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a['RevisionService'])),_0x37d0e1(0xb,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x14a)])),_0x37d0e1(0xc,_0x2b561e['INotificationService'])],_0x46a23c);let _0x1b80c1=class extends _0x2c6f31{constructor(_0x1f5dec,_0x4b02fb,_0x5814fd,_0x2ad734,_0x21ec3b,_0x5931c0,_0x29c76b,_0x58d445,_0x5d63db,_0x4b31fc){const _0x511144=_0x187cb8;super(_0x1f5dec,_0x4b02fb,_0x5814fd,_0x2ad734,_0x21ec3b,_0x5d63db,_0x4b31fc,_0x29c76b,_0x58d445),_0xa611d0(this,'status',_0x511144(0x3a0)),this[_0x511144(0x41c)]=_0x5931c0;}[_0x187cb8(0x34e)](_0x469f64){return this['_pendingMutations']['push'](_0x469f64),this['_updateLocalCache'](),this;}[_0x187cb8(0x4fe)](_0x57838f){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x187cb8(0x16c)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x187cb8(0x4f8)](){const _0x50917=_0x187cb8;throw new Error(_0x50917(0x212));}[_0x187cb8(0x308)](){return this;}['toggleOffline'](){return this;}[_0x187cb8(0x1d5)](){const _0x121e28=_0x187cb8,{_injector:_0x5e928a,_pendingMutations:_0x36b798,_awaitingChangeset:_0x59b639,unitID:_0x387bb5,_handler:_0x61faf2,type:_0x279e62}=this,_0x3a05ab=_0x4aeb4f(_0x5e928a,_0x387bb5,_0x279e62,_0x59b639,_0x36b798,_0x61faf2);return _0x3a05ab instanceof _0x1b93c0?_0x3a05ab[_0x121e28(0x134)]():(_0x3a05ab instanceof _0x42097b||_0x3a05ab instanceof _0x299047)&&_0x3a05ab[_0x121e28(0xf6)](),_0x3a05ab;}['resend'](){const _0x5ac7cb=_0x187cb8;throw new Error(_0x5ac7cb(0x15c));}};_0x1b80c1=_0x4ef9ca([_0x37d0e1(0x5,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x37d0e1(0x6,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x16b)])),_0x37d0e1(0x7,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x3be)])),_0x37d0e1(0x8,_0x35f0f7[_0x187cb8(0x300)]),_0x37d0e1(0x9,_0x35f0f7[_0x187cb8(0x13c)])],_0x1b80c1);let _0x37e3e9=class extends _0x2c6f31{constructor(_0x1a760f,_0x149b27,_0x304d9c,_0x31943f,_0x3f463e,_0x4fa59f,_0x10b75a,_0x13f5a2,_0x25ac30,_0x3eb674,_0x5512b4,_0x39aba8,_0x5664d5,_0x215b40){const _0x2e86ee=_0x187cb8;super(_0x1a760f,_0x149b27,_0x304d9c,_0x31943f,_0x10b75a,_0x39aba8,_0x5664d5,_0x25ac30,_0x3eb674),_0xa611d0(this,'status',_0x2e86ee(0x3a7)),(this['_acknowledgedAwaitingChangeset']=_0x3f463e,this[_0x2e86ee(0x4db)]=_0x4fa59f,this[_0x2e86ee(0x41c)]=_0x13f5a2,this[_0x2e86ee(0x213)]=_0x5512b4,this[_0x2e86ee(0x352)]=_0x215b40);}[_0x187cb8(0x4ff)](_0x26b402){const _0x1e934d=_0x187cb8;try{const _0x191634=[..._0x26b402,...this[_0x1e934d(0x4db)]],_0x3f7660=[this['_awaitingChangeset']||this[_0x1e934d(0x15b)]][_0x1e934d(0x47f)](_0x25219a=>!!_0x25219a);let _0x218133,_0x3c4f35;if(_0x3f7660[_0x1e934d(0x521)]){const _0x435c2c=this[_0x1e934d(0x352)][_0x1e934d(0x473)](_0x191634,_0x3f7660,!0x1);if(!_0x69458a[_0x1e934d(0x448)](_0x435c2c))throw _0x435c2c[_0x1e934d(0x1ed)];_0x218133=_0x435c2c[_0x1e934d(0x2cf)],_0x3c4f35=_0x435c2c['c2Prime'];}else _0x218133=_0x191634,_0x3c4f35=[];let _0x396ac1=this[_0x1e934d(0x3e5)];_0x218133['forEach'](_0x57ebff=>{const _0x37cd0e=_0x1e934d;let _0x2b9ff3;if(_0x396ac1[_0x37cd0e(0x521)]){const _0x155851=this[_0x37cd0e(0x352)]['transformMutationsWithChangeset'](_0x57ebff,_0x396ac1);if(!_0x69458a[_0x37cd0e(0xe5)](_0x155851))throw _0x155851[_0x37cd0e(0x1ed)];_0x2b9ff3=_0x155851[_0x37cd0e(0x2cf)],_0x396ac1=_0x155851[_0x37cd0e(0x455)];}else _0x2b9ff3=_0x57ebff;this['_executeRemoteChangeset'](_0x2b9ff3);}),this[_0x1e934d(0x15b)]&&this[_0x1e934d(0x2e8)](),this[_0x1e934d(0x196)]&&_0x3c4f35[_0x1e934d(0x521)]&&(_0x3c4f35[0x0][_0x1e934d(0x37d)]=this[_0x1e934d(0x41a)]());let _0x13a9bc;if(this[_0x1e934d(0x196)]&&_0x396ac1[_0x1e934d(0x521)]!==0x0)_0x13a9bc=this[_0x1e934d(0x41c)][_0x1e934d(0x461)](_0x42097b,this[_0x1e934d(0x33f)],this[_0x1e934d(0x16e)],_0x3c4f35[0x0],_0x396ac1,this['_handler'],void 0x0);else{if(this[_0x1e934d(0x196)]&&_0x396ac1[_0x1e934d(0x521)]===0x0)_0x3c4f35[0x0][_0x1e934d(0x37d)]=this[_0x1e934d(0x41a)](),_0x13a9bc=this[_0x1e934d(0x41c)][_0x1e934d(0x461)](_0x299047,this['unitID'],this[_0x1e934d(0x16e)],_0x3c4f35[0x0],this[_0x1e934d(0x1d9)]);else{if(_0x396ac1[_0x1e934d(0x521)]!==0x0){const _0x263f84=this[_0x1e934d(0x41c)]['createInstance'](_0x1b93c0,this[_0x1e934d(0x33f)],this['type'],_0x396ac1,this[_0x1e934d(0x1d9)]);_0x263f84[_0x1e934d(0x134)](),_0x13a9bc=_0x263f84;}else _0x13a9bc=this[_0x1e934d(0x41c)][_0x1e934d(0x461)](_0x2be2e0,this[_0x1e934d(0x33f)],this[_0x1e934d(0x16e)],this[_0x1e934d(0x1d9)]);}}return _0x13a9bc['_updateLocalCache'](),_0x13a9bc;}catch(_0x4e7192){return this[_0x1e934d(0x213)][_0x1e934d(0x1ed)](_0x1e934d(0x4ed),_0x1e934d(0x4a1),_0x4e7192),this['_injector'][_0x1e934d(0x461)](_0x46a23c,this[_0x1e934d(0x33f)],this[_0x1e934d(0x16e)],this[_0x1e934d(0x196)],this[_0x1e934d(0x3e5)],this[_0x1e934d(0x1d9)],!0x1);}}[_0x187cb8(0xf6)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x187cb8(0x34e)](_0x4310f2){const _0x5658a2=_0x187cb8;return this[_0x5658a2(0x3e5)][_0x5658a2(0x293)](_0x4310f2),this;}[_0x187cb8(0x4fe)](_0x3ea60f){const _0x510670=_0x187cb8;return this[_0x510670(0x4db)][_0x510670(0x293)](_0x3ea60f),this;}['onRemoteAck'](_0x52fe40){const _0x1f985d=_0x187cb8;if(this[_0x1f985d(0x196)])return this['_acknowledgedAwaitingChangeset']=this[_0x1f985d(0x196)],this[_0x1f985d(0x196)]=null,this;throw new Error(_0x1f985d(0x2c6));}['onRemoteRej'](_0x2f31f1){const _0x49ac99=_0x187cb8;return this['_onConflict'](!!(_0x2f31f1!=null&&_0x2f31f1[_0x49ac99(0x1c1)]));}[_0x187cb8(0x308)](){return this;}[_0x187cb8(0x316)](){const _0x14014b=_0x187cb8;return this[_0x14014b(0x41c)][_0x14014b(0x461)](_0x1b80c1,this[_0x14014b(0x33f)],this[_0x14014b(0x16e)],this[_0x14014b(0x196)],this[_0x14014b(0x3e5)],this[_0x14014b(0x1d9)]);}['toggleOnline'](){return this;}[_0x187cb8(0x27f)](_0x3a93f9){const _0x33f660=_0x187cb8;return this[_0x33f660(0x41c)][_0x33f660(0x461)](_0x46a23c,this[_0x33f660(0x33f)],this[_0x33f660(0x16e)],this['_awaitingChangeset'],this[_0x33f660(0x3e5)],this[_0x33f660(0x1d9)],_0x3a93f9);}};_0x37e3e9=_0x4ef9ca([_0x37d0e1(0x7,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x37d0e1(0x8,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x16b)])),_0x37d0e1(0x9,_0x35f0f7['Inject'](_0xedfd91[_0x187cb8(0x3be)])),_0x37d0e1(0xa,_0x35f0f7[_0x187cb8(0x29f)]),_0x37d0e1(0xb,_0x35f0f7[_0x187cb8(0x300)]),_0x37d0e1(0xc,_0x35f0f7['IUndoRedoService']),_0x37d0e1(0xd,_0x69458a[_0x187cb8(0x239)])],_0x37e3e9);function _0x4aeb4f(_0x9e3435,_0x159727,_0x4bd7af,_0x19ebaf,_0x2430b8,_0x59808d){const _0x3ae77b=_0x187cb8;return _0x19ebaf&&_0x2430b8[_0x3ae77b(0x521)]?_0x9e3435['createInstance'](_0x42097b,_0x159727,_0x4bd7af,_0x19ebaf,_0x2430b8,_0x59808d,void 0x0):_0x19ebaf?_0x9e3435[_0x3ae77b(0x461)](_0x299047,_0x159727,_0x4bd7af,_0x19ebaf,_0x59808d):_0x2430b8[_0x3ae77b(0x521)]?_0x9e3435['createInstance'](_0x1b93c0,_0x159727,_0x4bd7af,_0x2430b8,_0x59808d):_0x9e3435[_0x3ae77b(0x461)](_0x2be2e0,_0x159727,_0x4bd7af,_0x59808d);}var _0x2a123b=Object['defineProperty'],_0x53c47f=Object[_0x187cb8(0x358)],_0x3981eb=(_0x503a9b,_0x298b09,_0x55dd57,_0xdb6618)=>{const _0x54d5ef=_0x187cb8;for(var _0x161d58=_0xdb6618>0x1?void 0x0:_0xdb6618?_0x53c47f(_0x298b09,_0x55dd57):_0x298b09,_0x5b05e8=_0x503a9b[_0x54d5ef(0x521)]-0x1,_0x152a4a;_0x5b05e8>=0x0;_0x5b05e8--)(_0x152a4a=_0x503a9b[_0x5b05e8])&&(_0x161d58=(_0xdb6618?_0x152a4a(_0x298b09,_0x55dd57,_0x161d58):_0x152a4a(_0x161d58))||_0x161d58);return _0xdb6618&&_0x161d58&&_0x2a123b(_0x298b09,_0x55dd57,_0x161d58),_0x161d58;},_0x5dbf55=(_0x58db9f,_0x58f04b)=>(_0x5be043,_0x7f8fbf)=>_0x58f04b(_0x5be043,_0x7f8fbf,_0x58db9f);_0xedfd91[_0x187cb8(0x3d1)]=class extends _0x35f0f7[_0x187cb8(0x115)]{constructor(_0x2dbb27,_0x168095,_0x11ca03,_0x13377f,_0x3343f1,_0x21dd66,_0x24abbe,_0x47c927,_0x17e5a8,_0x2a30a8,_0x4b6a7a,_0x1d0768,_0x4ddecc){const _0xafa88=_0x187cb8;super(),_0xa611d0(this,'_state$',new _0x469a80[(_0xafa88(0x339))](null)),_0xa611d0(this,'state$',this[_0xafa88(0x3c2)][_0xafa88(0x3a4)]()),_0xa611d0(this,_0xafa88(0x4f4)),_0xa611d0(this,_0xafa88(0x324),!0x1),_0xa611d0(this,_0xafa88(0x288),''),_0xa611d0(this,_0xafa88(0x3e1),0x0),_0xa611d0(this,_0xafa88(0x234),this['state$'][_0xafa88(0x32b)](_0x469a80[_0xafa88(0x31a)](_0x2ab45b=>_0x2ab45b?_0x2ab45b['status']:_0x2ce1aa['OFFLINE']),_0x469a80[_0xafa88(0x2ed)](0x1))),_0xa611d0(this,_0xafa88(0x11c),!0x1),_0xa611d0(this,_0xafa88(0xdc),[]),(this['unitID']=_0x2dbb27,this['session']=_0x168095,this[_0xafa88(0x3dd)]=_0x11ca03,this[_0xafa88(0x41c)]=_0x13377f,this[_0xafa88(0x39f)]=_0x3343f1,this['_compressMutationService']=_0x21dd66,this[_0xafa88(0x506)]=_0x24abbe,this[_0xafa88(0x18f)]=_0x47c927,this[_0xafa88(0x213)]=_0x17e5a8,this[_0xafa88(0x51f)]=_0x2a30a8,this[_0xafa88(0x255)]=_0x4b6a7a,this[_0xafa88(0x195)]=_0x1d0768,this[_0xafa88(0x4cb)]=_0x4ddecc);}get['state'](){const _0x2d2644=_0x187cb8;return this[_0x2d2644(0x4f4)];}async[_0x187cb8(0x457)](){const _0x974ad=_0x187cb8;if(this[_0x974ad(0x36f)])throw new Error(_0x974ad(0x14e));await this['_init']();}[_0x187cb8(0x483)](){const _0x517787=_0x187cb8;return this[_0x517787(0x324)]=!0x0,_0x35f0f7[_0x517787(0x452)](()=>{const _0xeb238e=_0x517787;this[_0xeb238e(0x324)]=!0x1,this[_0xeb238e(0x1b3)]();});}[_0x187cb8(0x4ac)](_0x374561){const _0x535aa4=_0x187cb8;this[_0x535aa4(0x4f4)]=_0x374561,this[_0x535aa4(0x3c2)]['next'](_0x374561);}async['_init'](){const _0x577afc=_0x187cb8;var _0x1138be;this[_0x577afc(0x4ac)](await this[_0x577afc(0xf2)]()),this[_0x577afc(0x4cb)]&&((_0x1138be=this[_0x577afc(0x4cb)])==null||_0x1138be[_0x577afc(0x3ba)](this[_0x577afc(0x33f)]),this[_0x577afc(0x403)](this[_0x577afc(0x4cb)]['getUnitStatus$'](this[_0x577afc(0x33f)])[_0x577afc(0x377)](_0x88e4eb=>{const _0x3ca81a=_0x577afc;this[_0x3ca81a(0x213)]['debug'](_0x3ca81a(0x4c7),_0x3ca81a(0x128),_0x88e4eb),_0x88e4eb===_0x4ae69d['OTHER_CLIENTS_EDITING']?(this[_0x3ca81a(0x255)][_0x3ca81a(0x1a2)]({'content':this[_0x3ca81a(0x506)]['t'](_0x3ca81a(0x1f0)),'type':_0xed3e06['MessageType'][_0x3ca81a(0x1d0)]}),this[_0x3ca81a(0x195)][_0x3ca81a(0x132)](new _0x538a64[(_0x3ca81a(0x12e))](this[_0x3ca81a(0x33f)])['id'],!0x1),this[_0x3ca81a(0x195)][_0x3ca81a(0x26e)](!0x1)):(this[_0x3ca81a(0x195)][_0x3ca81a(0x132)](new _0x538a64[(_0x3ca81a(0x12e))](this[_0x3ca81a(0x33f)])['id'],!0x0),this['_permissionService'][_0x3ca81a(0x26e)](!0x0));})));let _0x32a3e0=!0x1;return this[_0x577afc(0x403)](this['session']['sessionStatus$'][_0x577afc(0x377)](_0x981552=>{const _0x52f6ff=_0x577afc;_0x981552===_0x2efe93[_0x52f6ff(0x3ff)]?this[_0x52f6ff(0x3ea)](_0x32a3e0):_0x981552===_0x2efe93[_0x52f6ff(0x282)]&&(_0x32a3e0=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this['session']['event$'][_0x577afc(0x377)](_0x44647c=>{const _0x32ede8=_0x577afc;try{switch(_0x44647c[_0x32ede8(0x143)]){case _0x69458a[_0x32ede8(0x2e6)][_0x32ede8(0x210)]:{this[_0x32ede8(0x46f)](_0x69458a['parseProtocolChangeset'](_0x44647c[_0x32ede8(0x350)]));break;}case _0x69458a[_0x32ede8(0x2e6)][_0x32ede8(0x116)]:{this[_0x32ede8(0x40e)](_0x44647c[_0x32ede8(0x350)]);break;}case _0x69458a['CollaborationEvent'][_0x32ede8(0x285)]:{this[_0x32ede8(0x1e3)]();break;}case _0x69458a[_0x32ede8(0x2e6)]['CHANGESET_SHOULD_RETRY']:{this[_0x32ede8(0x314)](_0x44647c[_0x32ede8(0x350)]);break;}case _0x69458a[_0x32ede8(0x2e6)][_0x32ede8(0x1e5)]:{this[_0x32ede8(0x257)](_0x44647c[_0x32ede8(0x350)][_0x32ede8(0xe4)][_0x32ede8(0x31a)](_0x29806c=>_0x69458a[_0x32ede8(0x36a)](_0x29806c)));break;}case _0x69458a['CollaborationEvent']['PERMISSION_REJ']:this[_0x32ede8(0x1e3)]({'isPermissionRej':!0x0});}}catch(_0x5f04dd){throw console[_0x32ede8(0x1ed)]('Error\x20on\x20receiving\x20event',_0x5f04dd),_0x5f04dd;}})),this[_0x577afc(0x4f4)];}[_0x187cb8(0x38a)](){const _0x4ba87b=_0x187cb8;this[_0x4ba87b(0x11c)]=!0x1;}[_0x187cb8(0x3e4)](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x292503){const _0x48d103=_0x187cb8;this[_0x48d103(0x3e4)](),this['_updateState'](this[_0x48d103(0x4f4)][_0x48d103(0x34e)](_0x292503)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x1c0dbe){const _0x408c82=_0x187cb8;if(!(_0x1c0dbe['revision']<=this[_0x408c82(0x18f)][_0x408c82(0x14f)](this[_0x408c82(0x33f)]))){if(this[_0x408c82(0x324)]){this[_0x408c82(0xdc)]['push'](_0x1c0dbe);return;}this[_0x408c82(0x4e5)](_0x1c0dbe);}}['_exhaustRemoteChangesetQueue'](){const _0x42aadd=_0x187cb8;this[_0x42aadd(0xdc)][_0x42aadd(0x25f)](_0x120135=>this[_0x42aadd(0x4e5)](_0x120135)),this[_0x42aadd(0xdc)]=[];}['_applyRemoteChangeset'](_0x28e334){const _0x4858f3=_0x187cb8,_0xfa632d=this[_0x4858f3(0x2ca)][_0x4858f3(0x1bc)][_0x4858f3(0x28f)](this['_compressMutationService']['interceptor'][_0x4858f3(0x23e)]()['COMPRESS_MUTATION_APPLY'])(_0x28e334[_0x4858f3(0x4c8)],null)||_0x28e334[_0x4858f3(0x4c8)],_0x21f541={..._0x28e334,'mutations':_0xfa632d};this[_0x4858f3(0x3e4)](),this[_0x4858f3(0x4ac)](this[_0x4858f3(0x4f4)][_0x4858f3(0x4fe)](_0x21f541)),this[_0x4858f3(0x38a)]();}['_onRemoteACK'](_0x46f371){const _0x1796a5=_0x187cb8;this['_lockTransition'](),this[_0x1796a5(0x4ac)](this[_0x1796a5(0x4f4)][_0x1796a5(0x16c)](_0x46f371)),this[_0x1796a5(0x38a)]();}[_0x187cb8(0x1e3)](_0x3f276c){const _0x4a795a=_0x187cb8;this[_0x4a795a(0x3e4)](),this[_0x4a795a(0x4ac)](this[_0x4a795a(0x4f4)]['onRemoteRej'](_0x3f276c)),this[_0x4a795a(0x38a)]();}[_0x187cb8(0x314)](_0x23439e){const _0x257566=_0x187cb8;this[_0x257566(0x3e4)](),this[_0x257566(0x4ac)](this[_0x257566(0x4f4)]['onRemoteRetry'](_0x23439e)),this[_0x257566(0x38a)]();}[_0x187cb8(0x257)](_0x13e7b0){const _0x26565e=_0x187cb8;if(!(this['_state']instanceof _0x37e3e9))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x46e2db=_0x13e7b0[_0x26565e(0x31a)](_0x25e7e7=>{const _0x2bd553=_0x26565e,_0x20514e=this[_0x2bd553(0x2ca)][_0x2bd553(0x1bc)][_0x2bd553(0x28f)](this[_0x2bd553(0x2ca)][_0x2bd553(0x1bc)]['getInterceptPoints']()[_0x2bd553(0x375)])(_0x25e7e7[_0x2bd553(0x4c8)],null)||_0x25e7e7[_0x2bd553(0x4c8)];return{..._0x25e7e7,'mutations':_0x20514e};});this['_lockTransition'](),this[_0x26565e(0x4ac)](this['_state'][_0x26565e(0x4ff)](_0x46e2db)),this['_unlockTransition']();}[_0x187cb8(0x3cc)](){const _0x35af1a=_0x187cb8;this[_0x35af1a(0x3e4)](),this['_updateState'](this[_0x35af1a(0x4f4)][_0x35af1a(0x316)]()),this[_0x35af1a(0x38a)]();}[_0x187cb8(0x3ea)](_0x37f599=!0x1){const _0x15550b=_0x187cb8;this[_0x15550b(0x3e4)](),this[_0x15550b(0x4ac)](this['_state'][_0x15550b(0x1d5)]()),this[_0x15550b(0x38a)]();const _0x33b741=this[_0x15550b(0x4f4)];_0x37f599&&_0x33b741 instanceof _0x2be2e0&&(this[_0x15550b(0x3e4)](),this['_updateState'](_0x33b741[_0x15550b(0x416)]()),this[_0x15550b(0x38a)]());}async[_0x187cb8(0xf2)](){return new Promise(_0x31d974=>{const _0x8c4f97=_0x30a8;this[_0x8c4f97(0x148)]['sessionStatus$']['pipe'](_0x469a80[_0x8c4f97(0x2ea)](0x1))[_0x8c4f97(0x377)](async _0x3b659d=>{const _0x9822e8=_0x8c4f97;_0x31d974(await this[_0x9822e8(0x3ec)](_0x3b659d===_0x2efe93['ONLINE']));});});}[_0x187cb8(0x243)](){const _0x190d6f=this['unitID'];return{'onStateChange':(_0x573efc,_0x1700ee)=>{const _0x46b376=_0x30a8;if(_0x573efc!==this[_0x46b376(0x4f4)])throw new Error(_0x46b376(0x144)+_0x573efc[_0x46b376(0x32e)]+_0x46b376(0x3b2)+_0x1700ee[_0x46b376(0x32e)]+_0x46b376(0x36d)+this[_0x46b376(0x4f4)]['status']);this[_0x46b376(0x4ac)](_0x1700ee);},'onSendChangeset':_0x332177=>{const _0x3eb381=_0x30a8;_0x332177[_0x3eb381(0x3a9)]||(_0x332177[_0x3eb381(0x3a9)]=this['_changesetSessionId'],_0x332177[_0x3eb381(0x168)]=++this[_0x3eb381(0x3e1)]);const _0x1135e5={'eventID':_0x69458a[_0x3eb381(0x2e6)][_0x3eb381(0x430)],'data':{'unitID':_0x332177['unitID'],'unitType':this[_0x3eb381(0x3dd)],'changeset':_0x332177,'memberID':this[_0x3eb381(0x148)][_0x3eb381(0x1c9)]()}};this[_0x3eb381(0x148)][_0x3eb381(0x369)](_0x1135e5,this[_0x3eb381(0x33f)]);},'onMissingChangesets':({from:_0x20dedd,to:_0x23dccb})=>{const _0x9ec53f=_0x30a8;this['_logService']['debug'](_0x9ec53f(0x4c7),_0x9ec53f(0x209)+_0x20dedd+_0x9ec53f(0x2a1)+_0x23dccb);const _0xb286d2={'eventID':_0x69458a[_0x9ec53f(0x2e6)][_0x9ec53f(0x43f)],'data':{'unitID':_0x190d6f,'unitType':this[_0x9ec53f(0x3dd)],'from':_0x20dedd,'to':_0x23dccb}};this[_0x9ec53f(0x148)]['send'](_0xb286d2,this[_0x9ec53f(0x33f)]);}};}async[_0x187cb8(0x3ec)](_0x5b8df8){const _0x1738fc=_0x187cb8;var _0x5d060b,_0x197a83;const _0x209ca0=await this[_0x1738fc(0x39f)][_0x1738fc(0x3b9)](this[_0x1738fc(0x33f)]),_0x345149=(_0x5d060b=_0x209ca0==null?void 0x0:_0x209ca0[_0x1738fc(0x4c8)])!=null?_0x5d060b:[],_0x32cae6=(_0x197a83=_0x209ca0==null?void 0x0:_0x209ca0[_0x1738fc(0x438)])!=null?_0x197a83:null,_0x34159d=!!(_0x32cae6!=null&&_0x32cae6[_0x1738fc(0x3a9)])&&!!(_0x32cae6!=null&&_0x32cae6[_0x1738fc(0x168)]);this[_0x1738fc(0x288)]=_0x34159d?_0x32cae6['sid']:_0x265339(),this[_0x1738fc(0x3e1)]=_0x34159d?_0x32cae6[_0x1738fc(0x168)]:0x0;const _0x360fc5=this[_0x1738fc(0x33f)];try{this[_0x1738fc(0x1ba)](_0x32cae6,_0x345149);}catch(_0x2eb11a){this[_0x1738fc(0x213)][_0x1738fc(0x1ed)](_0x2eb11a);}const _0x4a69a0=this['_createHandler']();if(_0x5b8df8){const _0x5913ce=_0x4aeb4f(this[_0x1738fc(0x41c)],_0x360fc5,this[_0x1738fc(0x3dd)],_0x32cae6,_0x345149,_0x4a69a0);return _0x5913ce instanceof _0x1b93c0?_0x5913ce['_schedule']():(_0x5913ce instanceof _0x42097b||_0x5913ce instanceof _0x299047)&&_0x5913ce[_0x1738fc(0xf6)](),_0x5913ce;}return this[_0x1738fc(0x41c)][_0x1738fc(0x461)](_0x1b80c1,_0x360fc5,this['_type'],_0x32cae6,_0x345149,_0x4a69a0);}[_0x187cb8(0x1ba)](_0x3f20c6,_0x364450){const _0x9a1527=_0x187cb8;var _0x5503ad,_0x4dfab4;const _0xf0e8bc=this[_0x9a1527(0x2ca)][_0x9a1527(0x1bc)][_0x9a1527(0x28f)](this['_compressMutationService'][_0x9a1527(0x1bc)][_0x9a1527(0x23e)]()[_0x9a1527(0x375)]);(_0x5503ad=_0xf0e8bc((_0x3f20c6==null?void 0x0:_0x3f20c6['mutations'])||[],null))==null||_0x5503ad[_0x9a1527(0x25f)](_0x12005c=>this[_0x9a1527(0x51f)][_0x9a1527(0x39d)](_0x12005c['id'],_0x12005c['params'])),(_0x4dfab4=_0xf0e8bc(_0x364450||[],null))==null||_0x4dfab4['forEach'](_0x33c9bd=>this['_commandService']['executeCommand'](_0x33c9bd['id'],_0x33c9bd[_0x9a1527(0x10b)]));}},_0xedfd91[_0x187cb8(0x3d1)]=_0x3981eb([_0x5dbf55(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7['Injector'])),_0x5dbf55(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x3be)])),_0x5dbf55(0x5,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x14d)])),_0x5dbf55(0x6,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x14a)])),_0x5dbf55(0x7,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x16b)])),_0x5dbf55(0x8,_0x35f0f7[_0x187cb8(0x29f)]),_0x5dbf55(0x9,_0x35f0f7[_0x187cb8(0x300)]),_0x5dbf55(0xa,_0x2b561e[_0x187cb8(0x322)]),_0x5dbf55(0xb,_0x35f0f7['IPermissionService']),_0x5dbf55(0xc,_0x35f0f7['Optional'](_0xc7b0d8))],_0xedfd91['CollaborationEntity']),_0xedfd91[_0x187cb8(0x2f0)]=class extends _0xedfd91['CollaborationEntity']{constructor(_0x37a3b8,_0x5a9544,_0x13d9cb,_0x533299,_0x2164a1,_0x3386da,_0x2521f0,_0x3a323b,_0x23f59f,_0x22177d,_0x224e76,_0x3360c,_0x165f6f,_0x3c1bb8,_0x69259b,_0x1009b4,_0x3e1418){const _0xefb7a5=_0x187cb8;super(_0x37a3b8,_0x13d9cb,_0x5a9544,_0x533299,_0x2164a1,_0x3386da,_0x2521f0,_0x3a323b,_0x165f6f,_0x3c1bb8,_0x69259b,_0x1009b4,_0x3e1418),this[_0xefb7a5(0x33f)]=_0x37a3b8,this['type']=_0x5a9544,this[_0xefb7a5(0x31f)]=_0x23f59f,this[_0xefb7a5(0x247)]=_0x22177d,this['_docTransformSelectionsService']=_0x224e76,this[_0xefb7a5(0x39c)]=_0x3360c;}[_0x187cb8(0x243)](){const _0x2f0162=_0x187cb8,_0x3d05e3=super[_0x2f0162(0x243)]();return _0x3d05e3[_0x2f0162(0x373)]=_0x31f769=>this[_0x2f0162(0x247)][_0x2f0162(0x1f2)](_0x31f769),_0x3d05e3[_0x2f0162(0x1e9)]=_0x8417f3=>this[_0x2f0162(0x23f)][_0x2f0162(0x413)](_0x8417f3),_0x3d05e3[_0x2f0162(0x49d)]=_0x401c73=>this[_0x2f0162(0x39c)][_0x2f0162(0x346)](_0x401c73),_0x3d05e3['onTransformRemoteChangesetByIMECache']=_0xbd73ab=>this[_0x2f0162(0x247)][_0x2f0162(0x245)](_0xbd73ab),_0x3d05e3;}async[_0x187cb8(0x2f5)](){const _0x5e0202=_0x187cb8,_0x489291=await super['_init']();return this[_0x5e0202(0x31f)]['docStateChange$'][_0x5e0202(0x32b)](_0x469a80[_0x5e0202(0x2aa)](this[_0x5e0202(0x48c)]))['subscribe'](_0x5c8b5d=>{const _0x380d2b=_0x5e0202;if(_0x5c8b5d==null)return;const {unitId:_0x2ad97c,redoState:_0x21c691,commandId:_0x1691d7}=_0x5c8b5d;if(_0x2ad97c!==this[_0x380d2b(0x33f)])return;const _0x399ac3={'id':_0x1691d7,'type':_0x35f0f7[_0x380d2b(0x409)]['MUTATION'],'params':{'unitId':_0x2ad97c,'actions':_0x21c691[_0x380d2b(0x246)],'textRanges':null}};this[_0x380d2b(0xed)](_0x399ac3);}),_0x489291;}},_0xedfd91['DocCollaborationEntity']=_0x3981eb([_0x5dbf55(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x5dbf55(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x3be)])),_0x5dbf55(0x5,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a['CompressMutationService'])),_0x5dbf55(0x6,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x14a)])),_0x5dbf55(0x7,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x16b)])),_0x5dbf55(0x8,_0x35f0f7['Inject'](_0x36b317[_0x187cb8(0x1fd)])),_0x5dbf55(0x9,_0x35f0f7[_0x187cb8(0x15a)](_0x10589a)),_0x5dbf55(0xa,_0x35f0f7[_0x187cb8(0x15a)](_0x14e058)),_0x5dbf55(0xb,_0x35f0f7['Inject'](_0x3ac0c1)),_0x5dbf55(0xc,_0x35f0f7[_0x187cb8(0x29f)]),_0x5dbf55(0xd,_0x35f0f7[_0x187cb8(0x300)]),_0x5dbf55(0xe,_0x2b561e[_0x187cb8(0x322)]),_0x5dbf55(0xf,_0x35f0f7[_0x187cb8(0x2c7)]),_0x5dbf55(0x10,_0x35f0f7[_0x187cb8(0x40b)](_0xc7b0d8))],_0xedfd91[_0x187cb8(0x2f0)]),_0xedfd91[_0x187cb8(0x40a)]=class extends _0xedfd91[_0x187cb8(0x3d1)]{constructor(_0x5788b5,_0x567236,_0xa12921,_0x263b20,_0x2e94da,_0x1665e4,_0x435d45,_0x37b441,_0x3be68a,_0x549a37,_0x1f7752,_0x339c58,_0x479351,_0x7ede2a){const _0x17e380=_0x187cb8;super(_0x5788b5,_0xa12921,_0x567236,_0x263b20,_0x2e94da,_0x1665e4,_0x435d45,_0x37b441,_0x549a37,_0x1f7752,_0x339c58,_0x479351,_0x7ede2a),this[_0x17e380(0x33f)]=_0x5788b5,this[_0x17e380(0x16e)]=_0x567236,this[_0x17e380(0x410)]=_0x3be68a;}['_createHandler'](){const _0x32d970=_0x187cb8,_0x4493c7=super['_createHandler']();return _0x4493c7[_0x32d970(0x1e9)]=_0x4cbd6f=>this[_0x32d970(0x410)][_0x32d970(0x413)](_0x4cbd6f),_0x4493c7;}async[_0x187cb8(0x2f5)](){const _0x15459e=_0x187cb8,_0x127ef6=await super[_0x15459e(0x2f5)]();return this['disposeWithMe'](this[_0x15459e(0x51f)][_0x15459e(0x44e)]((_0x387da3,_0x5780e4)=>{const _0x36971e=_0x15459e;if(_0x387da3['type']!==_0x35f0f7[_0x36971e(0x409)]['MUTATION']||_0x5780e4!=null&&_0x5780e4[_0x36971e(0x51a)]||_0x5780e4!=null&&_0x5780e4[_0x36971e(0x2b5)])return;const _0x83e5eb=_0x387da3[_0x36971e(0x10b)];if((_0x83e5eb==null?void 0x0:_0x83e5eb[_0x36971e(0x41f)])!==this[_0x36971e(0x33f)])return;const _0x53e479=_0x387da3,_0x39a97e=this[_0x36971e(0x2ca)][_0x36971e(0x1bc)][_0x36971e(0x28f)](this['_compressMutationService'][_0x36971e(0x1bc)][_0x36971e(0x23e)]()[_0x36971e(0x136)])([_0x53e479],null)||[_0x53e479];this[_0x36971e(0xed)](_0x39a97e[0x0]);})),_0x127ef6;}},_0xedfd91['SheetCollaborationEntity']=_0x3981eb([_0x5dbf55(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x5dbf55(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x3be)])),_0x5dbf55(0x5,_0x35f0f7['Inject'](_0x69458a[_0x187cb8(0x14d)])),_0x5dbf55(0x6,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x14a)])),_0x5dbf55(0x7,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a['RevisionService'])),_0x5dbf55(0x8,_0x35f0f7[_0x187cb8(0x15a)](_0x35ee96)),_0x5dbf55(0x9,_0x35f0f7[_0x187cb8(0x29f)]),_0x5dbf55(0xa,_0x35f0f7[_0x187cb8(0x300)]),_0x5dbf55(0xb,_0x2b561e[_0x187cb8(0x322)]),_0x5dbf55(0xc,_0x35f0f7[_0x187cb8(0x2c7)]),_0x5dbf55(0xd,_0x35f0f7[_0x187cb8(0x40b)](_0xc7b0d8))],_0xedfd91[_0x187cb8(0x40a)]);var _0x31154b=Object[_0x187cb8(0x429)],_0x12d212=Object[_0x187cb8(0x358)],_0x587e81=(_0x185949,_0x1424b6,_0x328b5c,_0x362182)=>{for(var _0x134161=_0x362182>0x1?void 0x0:_0x362182?_0x12d212(_0x1424b6,_0x328b5c):_0x1424b6,_0x2b5962=_0x185949['length']-0x1,_0x2728a6;_0x2b5962>=0x0;_0x2b5962--)(_0x2728a6=_0x185949[_0x2b5962])&&(_0x134161=(_0x362182?_0x2728a6(_0x1424b6,_0x328b5c,_0x134161):_0x2728a6(_0x134161))||_0x134161);return _0x362182&&_0x134161&&_0x31154b(_0x1424b6,_0x328b5c,_0x134161),_0x134161;},_0xe109d3=(_0x2ed6ab,_0x21c309)=>(_0x4c3477,_0x131618)=>_0x21c309(_0x4c3477,_0x131618,_0x2ed6ab);_0xedfd91[_0x187cb8(0x2be)]=class extends _0x35f0f7['RxDisposable']{constructor(_0x51f990,_0x1bf583,_0x3b950d){const _0x2316da=_0x187cb8;super(),_0xa611d0(this,_0x2316da(0x469),new Map()),_0xa611d0(this,_0x2316da(0x262),new _0x469a80['Subject']()),(this[_0x2316da(0x41c)]=_0x51f990,this[_0x2316da(0x367)]=_0x1bf583,this[_0x2316da(0x21b)]=_0x3b950d,this[_0x2316da(0x2f5)]());}[_0x187cb8(0x139)](){const _0xaa914e=_0x187cb8;super[_0xaa914e(0x139)](),this[_0xaa914e(0x469)][_0xaa914e(0x25f)](_0x8af242=>_0x8af242[_0xaa914e(0x139)]()),this[_0xaa914e(0x469)][_0xaa914e(0x1cd)]();}[_0x187cb8(0x220)](_0x1ce9d9){const _0x4ac0e4=_0x187cb8;var _0x59173a;return(_0x59173a=this[_0x4ac0e4(0x469)]['get'](_0x1ce9d9))!=null?_0x59173a:null;}[_0x187cb8(0x445)](_0x3a1145){const _0x23cd31=_0x187cb8,_0x16db33=this[_0x23cd31(0x220)](_0x3a1145);return _0x16db33?_0x469a80['of'](_0x16db33):this[_0x23cd31(0x262)]['pipe'](_0x3c93c6[_0x23cd31(0x47f)](_0x569ab1=>_0x569ab1[_0x23cd31(0x33f)]===_0x3a1145));}[_0x187cb8(0x2f5)](){const _0x58380b=_0x187cb8;this['_univerInstanceService'][_0x58380b(0x1b7)](_0x35f0f7[_0x58380b(0x48f)][_0x58380b(0x2fc)])[_0x58380b(0x32b)](_0x469a80['takeUntil'](this['dispose$']),_0x3c93c6[_0x58380b(0x4bf)](0x10))['subscribe'](async _0x4236f3=>{const _0x1e0839=_0x58380b,_0x28f395=_0x4236f3[_0x1e0839(0x2cc)](),_0x251a3d=await this[_0x1e0839(0x275)](_0x28f395,_0x2bb4bc['UNIVER_SHEET']);this[_0x1e0839(0x469)][_0x1e0839(0x33d)](_0x28f395,_0x251a3d);}),this[_0x58380b(0x21b)][_0x58380b(0x1b7)](_0x35f0f7[_0x58380b(0x48f)]['UNIVER_DOC'])['pipe'](_0x469a80[_0x58380b(0x2aa)](this[_0x58380b(0x48c)]),_0x3c93c6[_0x58380b(0x4bf)](0x10))[_0x58380b(0x32b)](_0x3c93c6['filter'](_0x191746=>!_0x191746['getUnitId']()[_0x58380b(0x22c)]('__')))[_0x58380b(0x377)](async _0x5495db=>{const _0x381c07=_0x58380b,_0x33cda0=_0x5495db['getUnitId'](),_0x113211=await this[_0x381c07(0x275)](_0x33cda0,_0x2bb4bc[_0x381c07(0x3e9)]);this[_0x381c07(0x469)][_0x381c07(0x33d)](_0x33cda0,_0x113211);}),_0x469a80[_0x58380b(0x215)](this[_0x58380b(0x21b)][_0x58380b(0x3b0)](_0x35f0f7[_0x58380b(0x48f)][_0x58380b(0x2fc)]),this[_0x58380b(0x21b)]['getTypeOfUnitDisposed$'](_0x35f0f7[_0x58380b(0x48f)][_0x58380b(0x3e9)]))['pipe'](_0x469a80[_0x58380b(0x2aa)](this[_0x58380b(0x48c)]))[_0x58380b(0x377)](_0x327850=>{const _0x1cffa3=_0x58380b,_0x56c11f=_0x327850[_0x1cffa3(0x2cc)](),_0x1aad75=this['_entities'][_0x1cffa3(0xf4)](_0x56c11f);_0x1aad75&&(_0x1aad75[_0x1cffa3(0x139)](),this['_entities'][_0x1cffa3(0x1c5)](_0x56c11f));});}async[_0x187cb8(0x275)](_0xc37c2d,_0x2a6f00){const _0x2bb5dc=_0x187cb8,_0x4ab453=await this[_0x2bb5dc(0x367)][_0x2bb5dc(0x172)](_0xc37c2d),_0x387552=this[_0x2bb5dc(0x41c)][_0x2bb5dc(0x461)](this['_getCtorByUniverType'](_0x2a6f00),_0xc37c2d,_0x2a6f00,_0x4ab453);return await _0x387552[_0x2bb5dc(0x457)](),this['_entityInit$']['next'](_0x387552),_0x387552;}[_0x187cb8(0x2c8)](_0x3013a0){const _0x14e375=_0x187cb8;switch(_0x3013a0){case _0x2bb4bc[_0x14e375(0x3e9)]:return _0xedfd91['DocCollaborationEntity'];case _0x2bb4bc[_0x14e375(0x2fc)]:return _0xedfd91[_0x14e375(0x40a)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3013a0);}}},_0xedfd91['CollaborationController']=_0x587e81([_0xe109d3(0x0,_0x35f0f7['Inject'](_0x35f0f7[_0x187cb8(0x1a8)])),_0xe109d3(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x368)])),_0xe109d3(0x2,_0x35f0f7[_0x187cb8(0x2cd)])],_0xedfd91[_0x187cb8(0x2be)]);const _0x700e10=[_0x187cb8(0xf3),'jiqing500',_0x187cb8(0x4d9),_0x187cb8(0x3a8),_0x187cb8(0x124),_0x187cb8(0x47a)];class _0x3aca7f extends _0x35f0f7['Disposable']{constructor(){const _0x4f4649=_0x187cb8;super(...arguments),_0xa611d0(this,_0x4f4649(0x391),new Map()),_0xa611d0(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x7573b6){const _0x394281=_0x187cb8;if(this[_0x394281(0x391)][_0x394281(0x4a0)](_0x7573b6))return this[_0x394281(0x391)]['get'](_0x7573b6);const _0x23acae=_0x700e10[this[_0x394281(0x35c)]];return this[_0x394281(0x35c)]=(this[_0x394281(0x35c)]+0x1)%_0x700e10[_0x394281(0x521)],this['_assignedColors'][_0x394281(0x33d)](_0x7573b6,_0x23acae),_0x23acae;}}var _0x41905b=Object[_0x187cb8(0x429)],_0x458775=Object['getOwnPropertyDescriptor'],_0x2787d4=(_0x41f790,_0x21c845,_0x44823f,_0xa77574)=>{const _0x3a59e2=_0x187cb8;for(var _0xf92cda=_0xa77574>0x1?void 0x0:_0xa77574?_0x458775(_0x21c845,_0x44823f):_0x21c845,_0x2ca971=_0x41f790[_0x3a59e2(0x521)]-0x1,_0x34c5cb;_0x2ca971>=0x0;_0x2ca971--)(_0x34c5cb=_0x41f790[_0x2ca971])&&(_0xf92cda=(_0xa77574?_0x34c5cb(_0x21c845,_0x44823f,_0xf92cda):_0x34c5cb(_0xf92cda))||_0xf92cda);return _0xa77574&&_0xf92cda&&_0x41905b(_0x21c845,_0x44823f,_0xf92cda),_0xf92cda;},_0x59ef42=(_0x31e93b,_0x5ab380)=>(_0x551761,_0x36bfc3)=>_0x5ab380(_0x551761,_0x36bfc3,_0x31e93b);const _0x5d6a1d=0x12c,_0x499288=0x64;let _0x5d0664=class extends _0x35f0f7[_0x187cb8(0x115)]{constructor(_0x50b7e1,_0x3b26c2,_0x39afe4,_0x33cccc,_0x85c5f8,_0x4277a1,_0x34610c,_0x3c23b8,_0x5496a3){const _0x3e901b=_0x187cb8;super(),_0xa611d0(this,_0x3e901b(0x1aa),!0x1),_0xa611d0(this,'_init',!0x1),_0xa611d0(this,'_cursorInfo$',new _0x469a80['BehaviorSubject'](new Map())),_0xa611d0(this,_0x3e901b(0xdf),this['_cursorInfo$'][_0x3e901b(0x3a4)]()),_0xa611d0(this,_0x3e901b(0x25b),new _0x469a80[(_0x3e901b(0x339))]([])),_0xa611d0(this,_0x3e901b(0x4d1),this['_roomMembers$'][_0x3e901b(0x32b)](_0x469a80[_0x3e901b(0x2f2)](_0x5d6a1d))),_0xa611d0(this,_0x3e901b(0xff),_0x35f0f7[_0x3e901b(0x28b)](_0x5afe67=>{const _0x522a7f=_0x3e901b,_0x29f0ed={'eventID':_0x69458a[_0x522a7f(0x2e6)][_0x522a7f(0x25e)],'data':{'unitID':this[_0x522a7f(0x33f)],'memberID':this[_0x522a7f(0x1ab)][_0x522a7f(0x1c9)](),'selection':_0x4458b8(_0x5afe67)}};this['_session']['send'](_0x29f0ed,this['unitID']);},_0x499288)),(this[_0x3e901b(0x33f)]=_0x50b7e1,this['_session']=_0x3b26c2,this[_0x3e901b(0x41c)]=_0x39afe4,this['_colorAssignService']=_0x33cccc,this[_0x3e901b(0x123)]=_0x85c5f8,this[_0x3e901b(0x4c1)]=_0x4277a1,this['_transformService']=_0x34610c,this['_univerInstanceService']=_0x3c23b8,this['_commandService']=_0x5496a3);}get['cursorInfo'](){const _0x4ec1b6=_0x187cb8;return this[_0x4ec1b6(0x425)]['getValue']();}get[_0x187cb8(0x361)](){const _0x3b5794=_0x187cb8;return this[_0x3b5794(0x25b)][_0x3b5794(0x236)]();}[_0x187cb8(0x139)](){const _0x180e6b=_0x187cb8;super[_0x180e6b(0x139)](),this[_0x180e6b(0x425)][_0x180e6b(0x401)](new Map()),this[_0x180e6b(0x425)][_0x180e6b(0x162)](),this[_0x180e6b(0x25b)][_0x180e6b(0x401)]([]),this[_0x180e6b(0x25b)]['complete']();}['init'](){const _0x3b0740=_0x187cb8;this[_0x3b0740(0x2f5)]||(this[_0x3b0740(0x2f5)]=!0x0,this[_0x3b0740(0x1ab)][_0x3b0740(0x4a7)][_0x3b0740(0x32b)](_0x469a80[_0x3b0740(0x2aa)](this['dispose$']))[_0x3b0740(0x377)](_0x28757e=>{const _0x439d80=_0x3b0740;_0x28757e===_0x2efe93[_0x439d80(0x3ff)]?this[_0x439d80(0x3ea)]():this[_0x439d80(0x3cc)]();}),this[_0x3b0740(0x1ab)][_0x3b0740(0x475)]['pipe'](_0x469a80[_0x3b0740(0x2aa)](this[_0x3b0740(0x48c)]))[_0x3b0740(0x377)](_0xe9577a=>{const _0x2cb349=_0x3b0740,_0x5f2c2a=_0xe9577a[_0x2cb349(0x143)];_0x5f2c2a===_0x69458a[_0x2cb349(0x2e6)][_0x2cb349(0x25e)]&&this[_0x2cb349(0x264)](_0xe9577a),_0x5f2c2a===_0x69458a[_0x2cb349(0x2e6)][_0x2cb349(0xf5)]&&this['_onCursorDelete'](_0xe9577a);}),this[_0x3b0740(0x403)](this[_0x3b0740(0x51f)][_0x3b0740(0x44e)](_0x58dd90=>{const _0x5f2356=_0x3b0740,_0x55320d=_0x58dd90[_0x5f2356(0x10b)];_0x55320d!=null&&this[_0x5f2356(0x1aa)]&&_0x58dd90['id']===_0x41e827[_0x5f2356(0x501)]['id']&&_0x55320d[_0x5f2356(0x41f)]===this[_0x5f2356(0x33f)]&&_0x55320d[_0x5f2356(0x45f)]===!0x1&&_0x55320d[_0x5f2356(0x38b)][_0x5f2356(0x521)]>0x0&&this[_0x5f2356(0xff)](_0x55320d['ranges']);})),this[_0x3b0740(0x4c1)][_0x3b0740(0x2ba)][_0x3b0740(0x32b)](_0x469a80['takeUntil'](this[_0x3b0740(0x48c)]))[_0x3b0740(0x377)](_0x21fc0c=>{const _0xa98c2f=_0x3b0740;if((_0x21fc0c==null?void 0x0:_0x21fc0c[_0xa98c2f(0x33f)])!==this[_0xa98c2f(0x33f)])return;const _0x329fd0={'eventID':_0x69458a['CollaborationEvent'][_0xa98c2f(0x25e)],'data':_0x21fc0c};this[_0xa98c2f(0x264)](_0x329fd0);}),this[_0x3b0740(0x403)](this[_0x3b0740(0x51f)][_0x3b0740(0x44e)](_0x36e3bd=>{const _0x1f5aa0=_0x3b0740;if(_0x36e3bd[_0x1f5aa0(0x10b)]==null)return;const _0x10ac75=_0x36e3bd[_0x1f5aa0(0x10b)];if(_0x36e3bd['id']!==_0x41e827[_0x1f5aa0(0x4a3)]['id']||_0x10ac75[_0x1f5aa0(0x41f)]!==this[_0x1f5aa0(0x33f)])return;const _0x1415b3={'id':_0x1f5aa0(0x4ca),'params':_0x10ac75},_0x205489=this[_0x1f5aa0(0x29e)];for(const [_0x87539a,_0x170962]of _0x205489){const _0x564976={'id':_0x1f5aa0(0x4ca),'params':{'unitId':this[_0x1f5aa0(0x33f)],'actions':null,'textRanges':_0x170962[_0x1f5aa0(0x38b)]}},_0x5a5da1=this[_0x1f5aa0(0x352)]['transformMutation'](_0x1415b3,_0x564976,!0x1);if(_0x69458a[_0x1f5aa0(0x2a0)](_0x5a5da1))throw _0x5a5da1[_0x1f5aa0(0x1ed)];_0x205489[_0x1f5aa0(0x33d)](_0x87539a,{..._0x170962,'ranges':_0x5a5da1[_0x1f5aa0(0x455)]['params'][_0x1f5aa0(0x27e)]});}queueMicrotask(()=>{const _0x16247a=_0x1f5aa0;this['_cursorInfo$'][_0x16247a(0x401)](_0x205489);});})));}[_0x187cb8(0x264)](_0x4e4315){const _0x455cf6=_0x187cb8;var _0x1de7c6,_0x4fe2d8;const {memberID:_0x1c845a,selection:_0x4985b0}=_0x4e4315['data'],_0xe953f8=_0xe9c9c0(_0x4985b0),_0x440520=(_0x4fe2d8=(_0x1de7c6=this[_0x455cf6(0x123)][_0x455cf6(0xfc)](this[_0x455cf6(0x33f)],_0x1c845a))==null?void 0x0:_0x1de7c6[_0x455cf6(0x4d6)])!=null?_0x4fe2d8:_0x455cf6(0x2c4),_0xfbf10={'color':this[_0x455cf6(0x421)][_0x455cf6(0x131)](_0x1c845a),'name':_0x440520,'ranges':_0xe953f8},_0x642113=this[_0x455cf6(0x29e)];_0x642113['set'](_0x1c845a,_0xfbf10),this[_0x455cf6(0x425)][_0x455cf6(0x401)](_0x642113);}[_0x187cb8(0x2fd)](_0x50e364){const _0x1a87bf=_0x187cb8,{memberID:_0x290b53}=_0x50e364[_0x1a87bf(0x350)],_0x1a9db5=this[_0x1a87bf(0x29e)];_0x1a9db5[_0x1a87bf(0x1c5)](_0x290b53),this[_0x1a87bf(0x425)][_0x1a87bf(0x401)](_0x1a9db5);}[_0x187cb8(0x3ea)](){const _0x1aed1d=_0x187cb8;var _0x3cb222;if(this['_online']=!0x0,((_0x3cb222=this['_univerInstanceService'][_0x1aed1d(0x392)]())==null?void 0x0:_0x3cb222[_0x1aed1d(0x2cc)]())!==this[_0x1aed1d(0x33f)])return;const _0x4aeaf4=this[_0x1aed1d(0x41c)][_0x1aed1d(0xf4)](_0x41e827[_0x1aed1d(0x2bb)])[_0x1aed1d(0x51b)]();Array[_0x1aed1d(0x507)](_0x4aeaf4)&&_0x4aeaf4[_0x1aed1d(0x521)]>0x0&&this[_0x1aed1d(0xff)](_0x4aeaf4);}[_0x187cb8(0x3cc)](){this['_online']=!0x1;}};_0x5d0664=_0x2787d4([_0x59ef42(0x2,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7['Injector'])),_0x59ef42(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0x3aca7f)),_0x59ef42(0x4,_0x35f0f7['Inject'](_0xedfd91[_0x187cb8(0x12a)])),_0x59ef42(0x5,_0x35f0f7[_0x187cb8(0x15a)](_0x3ac0c1)),_0x59ef42(0x6,_0x69458a['ITransformService']),_0x59ef42(0x7,_0x35f0f7['IUniverInstanceService']),_0x59ef42(0x8,_0x35f0f7[_0x187cb8(0x300)])],_0x5d0664);var _0x4edb68=Object[_0x187cb8(0x429)],_0x117d85=Object['getOwnPropertyDescriptor'],_0x1ef651=(_0x103119,_0xcc8cea,_0x3ec463,_0xa926a)=>{const _0x2289d3=_0x187cb8;for(var _0x563953=_0xa926a>0x1?void 0x0:_0xa926a?_0x117d85(_0xcc8cea,_0x3ec463):_0xcc8cea,_0x211932=_0x103119[_0x2289d3(0x521)]-0x1,_0x56a651;_0x211932>=0x0;_0x211932--)(_0x56a651=_0x103119[_0x211932])&&(_0x563953=(_0xa926a?_0x56a651(_0xcc8cea,_0x3ec463,_0x563953):_0x56a651(_0x563953))||_0x563953);return _0xa926a&&_0x563953&&_0x4edb68(_0xcc8cea,_0x3ec463,_0x563953),_0x563953;},_0x1bfc05=(_0x169c83,_0x1cb544)=>(_0x5f5921,_0x279bd6)=>_0x1cb544(_0x5f5921,_0x279bd6,_0x169c83);const _0x141ea6=0x12c,_0x3793de=0x64,_0x43f077=()=>{let _0x3d0930=[],_0x534d98=!0x1;return _0x35850f=>{const _0x395cea=_0x30a8;_0x3d0930[_0x395cea(0x293)](_0x35850f),_0x534d98||(_0x534d98=!0x0,setTimeout(()=>{const _0xe29044=_0x395cea;_0x3d0930[_0xe29044(0x25f)](_0x368c46=>_0x368c46()),_0x3d0930=[],_0x534d98=!0x1;}));};};let _0x3de9a7=class extends _0x35f0f7['RxDisposable']{constructor(_0x2fb1ca,_0x525244,_0x2a89a9,_0x46b623,_0xa92b3,_0x267cf0,_0x146aaa,_0x324689){const _0x1fc8c9=_0x187cb8;super(),_0xa611d0(this,_0x1fc8c9(0x1aa),!0x1),_0xa611d0(this,_0x1fc8c9(0x2f5),!0x1),_0xa611d0(this,_0x1fc8c9(0x425),new _0x469a80[(_0x1fc8c9(0x339))](new Map())),_0xa611d0(this,_0x1fc8c9(0xdf),this[_0x1fc8c9(0x425)]['asObservable']()),_0xa611d0(this,_0x1fc8c9(0x25b),new _0x469a80[(_0x1fc8c9(0x339))]([])),_0xa611d0(this,_0x1fc8c9(0x4d1),this[_0x1fc8c9(0x25b)][_0x1fc8c9(0x32b)](_0x469a80[_0x1fc8c9(0x2f2)](_0x141ea6))),_0xa611d0(this,'_updateLocalCursor',_0x35f0f7[_0x1fc8c9(0x28b)]((_0xda523,_0x4caf1e)=>{const _0x11dc2b=_0x1fc8c9,_0x6485d6={'eventID':_0x69458a[_0x11dc2b(0x2e6)][_0x11dc2b(0x25e)],'data':{'unitID':this[_0x11dc2b(0x33f)],'memberID':this['_session']['getMemberID'](),'selection':_0x3b0afd[_0x11dc2b(0x451)](_0xda523,_0x4caf1e[_0x11dc2b(0x37f)])}};this['_session'][_0x11dc2b(0x369)](_0x6485d6,this[_0x11dc2b(0x33f)]);},_0x3793de)),(this[_0x1fc8c9(0x33f)]=_0x2fb1ca,this['_session']=_0x525244,this[_0x1fc8c9(0x41c)]=_0x2a89a9,this['_colorAssignService']=_0x46b623,this[_0x1fc8c9(0x123)]=_0xa92b3,this[_0x1fc8c9(0x21b)]=_0x267cf0,this[_0x1fc8c9(0x51f)]=_0x146aaa,this[_0x1fc8c9(0x105)]=_0x324689);}get['cursorInfo'](){const _0x467475=_0x187cb8;return this[_0x467475(0x425)][_0x467475(0x236)]();}get[_0x187cb8(0x361)](){const _0x23d3d5=_0x187cb8;return this[_0x23d3d5(0x25b)][_0x23d3d5(0x236)]();}[_0x187cb8(0x139)](){const _0x2576ee=_0x187cb8;super[_0x2576ee(0x139)](),this[_0x2576ee(0x425)]['next'](new Map()),this[_0x2576ee(0x425)][_0x2576ee(0x162)](),this[_0x2576ee(0x25b)]['next']([]),this[_0x2576ee(0x25b)]['complete']();}[_0x187cb8(0x457)](){const _0x452857=_0x187cb8;this['_init']||(this[_0x452857(0x2f5)]=!0x0,this[_0x452857(0x1ab)]['sessionStatus$'][_0x452857(0x32b)](_0x469a80[_0x452857(0x2aa)](this[_0x452857(0x48c)]))['subscribe'](_0x20998f=>{const _0x4cdcfc=_0x452857;_0x20998f===_0x2efe93[_0x4cdcfc(0x3ff)]?this[_0x4cdcfc(0x3ea)]():this[_0x4cdcfc(0x3cc)]();}),this[_0x452857(0x1ab)][_0x452857(0x475)][_0x452857(0x32b)](_0x469a80[_0x452857(0x2aa)](this[_0x452857(0x48c)]))[_0x452857(0x377)](_0x234b94=>{const _0x3e250c=_0x452857,_0x450ee5=_0x234b94[_0x3e250c(0x143)];_0x450ee5===_0x69458a['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x234b94),_0x450ee5===_0x69458a[_0x3e250c(0x2e6)][_0x3e250c(0xf5)]&&this[_0x3e250c(0x2fd)](_0x234b94);}),this[_0x452857(0x3b7)](),this[_0x452857(0x403)](this[_0x452857(0x51f)][_0x452857(0x44e)](_0x146c30=>{const _0x30531c=_0x452857;if(this[_0x30531c(0x1aa)]&&_0x146c30['id']===_0x538a64[_0x30531c(0x518)]['id']&&_0x146c30[_0x30531c(0x10b)][_0x30531c(0x41f)]===this['unitID']){const _0xb12c3=_0x146c30['params'];this[_0x30531c(0xff)](_0xb12c3[_0x30531c(0x226)],_0xb12c3[_0x30531c(0x516)][0x0]);}})));}[_0x187cb8(0x264)](_0x5c6938){const _0x1aabc2=_0x187cb8;var _0xff8e37,_0x2ede0a;const {memberID:_0x24da34,selection:_0x4ddc11}=_0x5c6938[_0x1aabc2(0x350)],{sheetName:_0x22eb5e,range:_0x3c185b}=_0x3b0afd[_0x1aabc2(0x3da)](_0x4ddc11),_0x3015ec={'name':(_0x2ede0a=(_0xff8e37=this[_0x1aabc2(0x123)][_0x1aabc2(0xfc)](this[_0x1aabc2(0x33f)],_0x24da34))==null?void 0x0:_0xff8e37[_0x1aabc2(0x4d6)])!=null?_0x2ede0a:_0x1aabc2(0x2c4),'range':this[_0x1aabc2(0x38d)](_0x22eb5e,_0x3c185b),'sheetID':_0x22eb5e,'color':this[_0x1aabc2(0x421)][_0x1aabc2(0x131)](_0x24da34),'selection':_0x4ddc11},_0x592ef6=this[_0x1aabc2(0x29e)];_0x592ef6[_0x1aabc2(0x33d)](_0x24da34,_0x3015ec),this['_cursorInfo$']['next'](_0x592ef6);}[_0x187cb8(0x2fd)](_0x3914bb){const _0x136bc3=_0x187cb8,{memberID:_0x16c2c2}=_0x3914bb[_0x136bc3(0x350)],_0x528857=this[_0x136bc3(0x29e)];_0x528857[_0x136bc3(0x1c5)](_0x16c2c2),this[_0x136bc3(0x425)]['next'](_0x528857);}[_0x187cb8(0x38d)](_0x292c6f,_0x5bbf3e){const _0x114651=_0x187cb8;var _0xfe5312,_0x520e74;const _0x27a664=(_0x520e74=(_0xfe5312=this['_univerInstanceService'][_0x114651(0x405)](this['unitID']))==null?void 0x0:_0xfe5312[_0x114651(0x27c)](_0x292c6f))==null?void 0x0:_0x520e74['getMergeData']();return(_0x27a664==null?void 0x0:_0x27a664[_0x114651(0x309)](_0x4372ff=>_0x35f0f7[_0x114651(0x28c)]['contains'](_0x4372ff,_0x5bbf3e)))||_0x5bbf3e;}[_0x187cb8(0x3b7)](){const _0x200484=_0x187cb8,_0x42d6df=new _0x35f0f7[(_0x200484(0x460))](),_0x297e37=_0x43f077(),_0x329118=()=>{const _0x1526a9=_0x200484;_0x42d6df[_0x1526a9(0x139)]();const _0x84c612=(_0x30f0c2,_0x220bd6,_0x576c44,_0x427900)=>{const _0x4bc13c=_0x1526a9;let _0x32b1ec=[];switch(_0x30f0c2['id']){case _0x538a64[_0x4bc13c(0x1a5)]['DeleteRangeMoveLeftCommandId']:{_0x32b1ec=_0x538a64[_0x4bc13c(0x248)](_0x30f0c2,_0x427900);break;}case _0x538a64[_0x4bc13c(0x1a5)][_0x4bc13c(0x3d3)]:{_0x32b1ec=_0x538a64[_0x4bc13c(0x110)](_0x30f0c2,_0x427900);break;}case _0x538a64[_0x4bc13c(0x1a5)][_0x4bc13c(0x474)]:{_0x32b1ec=_0x538a64[_0x4bc13c(0x188)](_0x30f0c2,_0x427900);break;}case _0x538a64[_0x4bc13c(0x1a5)][_0x4bc13c(0x3d4)]:{_0x32b1ec=_0x538a64[_0x4bc13c(0x265)](_0x30f0c2,_0x427900);break;}case _0x538a64[_0x4bc13c(0x1a5)][_0x4bc13c(0x4e7)]:{_0x32b1ec=_0x538a64[_0x4bc13c(0x524)](_0x30f0c2,_0x427900);break;}case _0x538a64[_0x4bc13c(0x1a5)][_0x4bc13c(0x32a)]:{_0x32b1ec=_0x538a64[_0x4bc13c(0xe0)](_0x30f0c2,_0x427900);break;}case _0x538a64[_0x4bc13c(0x1a5)][_0x4bc13c(0x3c1)]:{_0x32b1ec=_0x538a64[_0x4bc13c(0x396)](_0x30f0c2,_0x427900);break;}case _0x538a64[_0x4bc13c(0x1a5)][_0x4bc13c(0x2f7)]:{_0x32b1ec=_0x538a64[_0x4bc13c(0x335)](_0x30f0c2,_0x427900);break;}case _0x538a64['EffectRefRangId'][_0x4bc13c(0x4df)]:{_0x32b1ec=_0x538a64[_0x4bc13c(0x214)](_0x30f0c2,_0x427900);break;}}const _0x1b3a75=_0x538a64[_0x4bc13c(0x40f)](_0x32b1ec,_0x427900),_0x433e0d=this[_0x4bc13c(0x29e)][_0x4bc13c(0xf4)](_0x220bd6);if(_0x433e0d&&_0x1b3a75){const _0x4d2bcd={..._0x433e0d,'range':_0x1b3a75};this[_0x4bc13c(0x29e)][_0x4bc13c(0x33d)](_0x220bd6,_0x4d2bcd),_0x297e37(()=>{const _0x5ca645=_0x4bc13c,_0x33344f=this[_0x5ca645(0x105)][_0x5ca645(0x30b)](_0x1b3a75,_0x2d9f49=>(_0x33344f[_0x5ca645(0x139)](),_0x84c612(_0x2d9f49,_0x220bd6,_0x576c44,_0x1b3a75)));_0x42d6df[_0x5ca645(0x2b6)](_0x33344f);});}return{'redos':[],'undos':[]};};this[_0x1526a9(0x29e)][_0x1526a9(0x25f)]((_0x1f033e,_0x2f4e9b)=>{const _0x3feca1=_0x1526a9,{range:_0x864161,sheetID:_0x4cfc51}=_0x1f033e,_0x59ee63=this[_0x3feca1(0x105)][_0x3feca1(0x30b)](_0x864161,_0x2e0b57=>(_0x59ee63['dispose'](),_0x84c612(_0x2e0b57,_0x2f4e9b,_0x4cfc51,_0x864161)));_0x42d6df[_0x3feca1(0x2b6)](_0x59ee63);});};this[_0x200484(0x403)](_0x35f0f7[_0x200484(0x452)](this['_cursorInfo$'][_0x200484(0x377)](()=>{_0x329118();})));}[_0x187cb8(0x3ea)](){const _0x596fa8=_0x187cb8;var _0x15f012,_0x1fc714;if(this[_0x596fa8(0x1aa)]=!0x0,((_0x15f012=this[_0x596fa8(0x21b)][_0x596fa8(0x392)]())==null?void 0x0:_0x15f012[_0x596fa8(0x2cc)]())!==this['unitID'])return;const _0x299d04=(_0x1fc714=this[_0x596fa8(0x41c)]['get'](_0x538a64['SheetsSelectionsService'])[_0x596fa8(0x254)]())==null?void 0x0:_0x1fc714[0x0],_0x38e142=this[_0x596fa8(0x21b)][_0x596fa8(0x175)](_0x35f0f7[_0x596fa8(0x48f)][_0x596fa8(0x2fc)])[_0x596fa8(0x426)]();_0x299d04&&_0x38e142&&this[_0x596fa8(0xff)](_0x38e142[_0x596fa8(0x3f7)](),_0x299d04);}[_0x187cb8(0x3cc)](){const _0xd62b6c=_0x187cb8;this[_0xd62b6c(0x1aa)]=!0x1;}};_0x3de9a7=_0x1ef651([_0x1bfc05(0x2,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x1bfc05(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0x3aca7f)),_0x1bfc05(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91[_0x187cb8(0x12a)])),_0x1bfc05(0x5,_0x35f0f7[_0x187cb8(0x2cd)]),_0x1bfc05(0x6,_0x35f0f7[_0x187cb8(0x300)]),_0x1bfc05(0x7,_0x35f0f7[_0x187cb8(0x15a)](_0x538a64['RefRangeService']))],_0x3de9a7);var _0x4eddf8=Object['defineProperty'],_0x4194de=Object[_0x187cb8(0x358)],_0x506283=(_0x605f3c,_0x285f66,_0x240f87,_0x316152)=>{const _0x2a5bfc=_0x187cb8;for(var _0x1e7e75=_0x316152>0x1?void 0x0:_0x316152?_0x4194de(_0x285f66,_0x240f87):_0x285f66,_0x23e152=_0x605f3c[_0x2a5bfc(0x521)]-0x1,_0x2ce971;_0x23e152>=0x0;_0x23e152--)(_0x2ce971=_0x605f3c[_0x23e152])&&(_0x1e7e75=(_0x316152?_0x2ce971(_0x285f66,_0x240f87,_0x1e7e75):_0x2ce971(_0x1e7e75))||_0x1e7e75);return _0x316152&&_0x1e7e75&&_0x4eddf8(_0x285f66,_0x240f87,_0x1e7e75),_0x1e7e75;},_0x146c80=(_0x1457ac,_0x58d110)=>(_0x4e8d69,_0x20a8af)=>_0x58d110(_0x4e8d69,_0x20a8af,_0x1457ac);let _0x59cc9f=class extends _0x35f0f7[_0x187cb8(0x115)]{constructor(_0x4401e5,_0x5627fa,_0x38e57e){const _0xba9fb=_0x187cb8;super(),_0xa611d0(this,_0xba9fb(0x469),new Map()),_0xa611d0(this,_0xba9fb(0x262),new _0x469a80[(_0xba9fb(0x18e))]()),(this[_0xba9fb(0x21b)]=_0x4401e5,this[_0xba9fb(0x41c)]=_0x5627fa,this[_0xba9fb(0x367)]=_0x38e57e,this['_init']());}[_0x187cb8(0x139)](){const _0x50d35d=_0x187cb8;super[_0x50d35d(0x139)](),this[_0x50d35d(0x262)][_0x50d35d(0x162)](),this[_0x50d35d(0x469)]['forEach'](_0xd037b7=>_0xd037b7[_0x50d35d(0x139)]());}[_0x187cb8(0x1de)](_0x286769){const _0x208e61=_0x187cb8;return this['_entities'][_0x208e61(0x4a0)](_0x286769)?this[_0x208e61(0x469)][_0x208e61(0xf4)](_0x286769)[_0x208e61(0xdf)]:this[_0x208e61(0x262)][_0x208e61(0x32b)](_0x469a80[_0x208e61(0x47f)](_0x2f8b3d=>_0x2f8b3d[_0x208e61(0x33f)]===_0x286769),_0x469a80['switchMap'](_0x2392e3=>_0x2392e3[_0x208e61(0xdf)]));}[_0x187cb8(0x2f5)](){const _0x2c7030=_0x187cb8;this[_0x2c7030(0x21b)][_0x2c7030(0x1b7)](_0x35f0f7['UniverInstanceType']['UNIVER_SHEET'])[_0x2c7030(0x32b)](_0x469a80[_0x2c7030(0x2aa)](this[_0x2c7030(0x48c)]))['subscribe'](async _0x48888a=>{const _0x3f6167=_0x2c7030,_0x40baa2=_0x48888a[_0x3f6167(0x2cc)](),_0x48b232=await this['_startSheetCollabCursor'](_0x40baa2);this[_0x3f6167(0x262)][_0x3f6167(0x401)](_0x48b232),this[_0x3f6167(0x469)][_0x3f6167(0x33d)](_0x40baa2,_0x48b232);}),this[_0x2c7030(0x21b)]['getTypeOfUnitAdded$'](_0x35f0f7[_0x2c7030(0x48f)][_0x2c7030(0x3e9)])[_0x2c7030(0x32b)](_0x469a80[_0x2c7030(0x2aa)](this[_0x2c7030(0x48c)]))[_0x2c7030(0x32b)](_0x469a80[_0x2c7030(0x47f)](_0x24dac6=>!_0x24dac6[_0x2c7030(0x2cc)]()[_0x2c7030(0x22c)]('__')))[_0x2c7030(0x377)](async _0x2986e8=>{const _0x4960dd=_0x2c7030,_0x852cb2=_0x2986e8[_0x4960dd(0x2cc)](),_0x6afc22=await this[_0x4960dd(0x4f7)](_0x852cb2);this[_0x4960dd(0x262)][_0x4960dd(0x401)](_0x6afc22),this[_0x4960dd(0x469)][_0x4960dd(0x33d)](_0x852cb2,_0x6afc22);}),_0x469a80[_0x2c7030(0x215)](this[_0x2c7030(0x21b)]['getTypeOfUnitDisposed$'](_0x35f0f7[_0x2c7030(0x48f)]['UNIVER_DOC']),this[_0x2c7030(0x21b)]['getTypeOfUnitDisposed$'](_0x35f0f7[_0x2c7030(0x48f)][_0x2c7030(0x2fc)]))[_0x2c7030(0x32b)](_0x469a80[_0x2c7030(0x2aa)](this['dispose$']))[_0x2c7030(0x377)](_0x59c727=>{const _0x30cc8c=_0x2c7030,_0x29a44c=_0x59c727['getUnitId'](),_0x450ca5=this[_0x30cc8c(0x469)][_0x30cc8c(0xf4)](_0x29a44c);_0x450ca5&&(_0x450ca5['dispose'](),this[_0x30cc8c(0x469)]['delete'](_0x29a44c));});}async['_startSheetCollabCursor'](_0x31680d){const _0x22a10c=_0x187cb8,_0x3564ca=await this[_0x22a10c(0x367)][_0x22a10c(0x172)](_0x31680d),_0x15fc38=this[_0x22a10c(0x41c)]['createInstance'](_0x3de9a7,_0x31680d,_0x3564ca);return _0x15fc38[_0x22a10c(0x457)](),_0x15fc38;}async['_startDocCollabCursor'](_0x4cfb41){const _0x416e7e=_0x187cb8,_0x1f0741=await this['_collabSessionService'][_0x416e7e(0x172)](_0x4cfb41),_0x3d0254=this[_0x416e7e(0x41c)]['createInstance'](_0x5d0664,_0x4cfb41,_0x1f0741);return _0x3d0254[_0x416e7e(0x457)](),_0x3d0254;}};_0x59cc9f=_0x506283([_0x146c80(0x0,_0x35f0f7[_0x187cb8(0x2cd)]),_0x146c80(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x146c80(0x2,_0x35f0f7['Inject'](_0xedfd91[_0x187cb8(0x368)]))],_0x59cc9f);const _0x40ab14=0x14,_0x361e04=0xc8,_0x34bf4c=0x4,_0x543e39=0x5;function _0x31b398(_0x5dc138,_0x37b94f){const _0x886158=_0x187cb8;let {radius:_0x5e9d3a,width:_0x515328,height:_0x1fa55a}=_0x37b94f;_0x5e9d3a=_0x5e9d3a!=null?_0x5e9d3a:0x0,_0x515328=_0x515328!=null?_0x515328:0x1e,_0x1fa55a=_0x1fa55a!=null?_0x1fa55a:0x1e;let _0xf63935=0x0,_0x4f3f69=0x0,_0xabd459=0x0;_0xf63935=_0x4f3f69=_0xabd459=Math[_0x886158(0x4dd)](_0x5e9d3a,_0x515328/0x2,_0x1fa55a/0x2),_0x5dc138['beginPath'](),_0x5dc138['moveTo'](_0xf63935,0x0),_0x5dc138[_0x886158(0x319)](_0x515328-_0x4f3f69,0x0),_0x5dc138['arc'](_0x515328-_0x4f3f69,_0x4f3f69,_0x4f3f69,Math['PI']*0x3/0x2,0x0,!0x1),_0x5dc138[_0x886158(0x319)](_0x515328,_0x1fa55a-_0xabd459),_0x5dc138['arc'](_0x515328-_0xabd459,_0x1fa55a-_0xabd459,_0xabd459,0x0,Math['PI']/0x2,!0x1),_0x5dc138['lineTo'](0x0,_0x1fa55a),_0x5dc138[_0x886158(0x319)](0x0,_0xf63935),_0x5dc138[_0x886158(0x3bf)](_0xf63935,_0xf63935,_0xf63935,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5dc138[_0x886158(0x44f)](),_0x37b94f['fill']&&(_0x5dc138[_0x886158(0x294)](),_0x5dc138['fillStyle']=_0x37b94f[_0x886158(0x49e)],_0x37b94f[_0x886158(0x25d)]==='evenodd'?_0x5dc138[_0x886158(0x49e)](_0x886158(0x24b)):_0x5dc138[_0x886158(0x49e)](),_0x5dc138[_0x886158(0x2bd)]());}class _0xab5549 extends _0x51641a['Shape']{constructor(_0x1aa350,_0x30c8f8){const _0x1bae16=_0x187cb8;super(_0x1aa350,_0x30c8f8),_0xa611d0(this,_0x1bae16(0x328)),_0xa611d0(this,'text'),(this[_0x1bae16(0x328)]=_0x30c8f8==null?void 0x0:_0x30c8f8[_0x1bae16(0x328)],this[_0x1bae16(0x249)]=_0x30c8f8==null?void 0x0:_0x30c8f8[_0x1bae16(0x249)]);}static[_0x187cb8(0x34b)](_0x273cf0,_0x5b2813){const _0x244226=_0x187cb8,{text:_0x3ff177,color:_0x1b11b9}=_0x5b2813;_0x273cf0['save'](),_0x273cf0[_0x244226(0x442)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4f27b9=_0x273cf0[_0x244226(0x498)](_0x3ff177)[_0x244226(0x42c)],_0x47160a=Math[_0x244226(0x4dd)](_0x4f27b9+0x2*_0x34bf4c,_0x361e04);_0x31b398(_0x273cf0,{'height':_0x40ab14,'radius':0x4,'width':_0x47160a,'fill':_0x1b11b9,'evented':!0x1}),_0x273cf0[_0x244226(0x50f)]=_0x244226(0x108);const _0x880594=_0x34bf4c,_0x10ecbb=_0x40ab14-_0x543e39,_0x4187f0=_0x361e04-0x2*_0x34bf4c;if(_0x4f27b9>_0x4187f0){let _0x535c4a='',_0x46e6f2=0x0;for(const _0x336606 of _0x3ff177){const _0x4742eb=_0x273cf0['measureText'](_0x336606)[_0x244226(0x42c)];if(_0x46e6f2+_0x4742eb<=_0x4187f0-_0x273cf0[_0x244226(0x498)](_0x244226(0x1ae))[_0x244226(0x42c)])_0x535c4a+=_0x336606,_0x46e6f2+=_0x4742eb;else{_0x535c4a+=_0x244226(0x1ae);break;}}_0x273cf0[_0x244226(0x2b3)](_0x535c4a,_0x880594,_0x10ecbb);}else _0x273cf0['fillText'](_0x3ff177,_0x880594,_0x10ecbb);_0x273cf0[_0x244226(0x2bd)]();}['_draw'](_0x17940e){const _0x5ee5d9=_0x187cb8;_0xab5549[_0x5ee5d9(0x34b)](_0x17940e,this);}}const _0x17f060=_0x187cb8(0x44a),_0x4f20b9=_0x187cb8(0x253),_0x54b549=_0x187cb8(0x199),_0x1fafb6=0x6,_0x532bf9=1.5,_0x266f0c=0x4,_0x5a4727=1.5,_0x2bab5c=_0x187cb8(0x4ee);class _0x26d755{constructor(_0x42e86c,_0x56bc3e,_0x1901ef,_0x3dd46c){const _0x575f3a=_0x187cb8;_0xa611d0(this,'_shapes',[]),_0xa611d0(this,_0x575f3a(0x44b),null),_0xa611d0(this,_0x575f3a(0x19b),null),_0xa611d0(this,_0x575f3a(0x17f),null),_0xa611d0(this,_0x575f3a(0x260),null),_0xa611d0(this,'_eventUnsubscribe',null),(this[_0x575f3a(0x3ac)]=_0x42e86c,this['_scene']=_0x56bc3e,this[_0x575f3a(0x191)]=_0x1901ef,this[_0x575f3a(0x176)]=_0x3dd46c,this[_0x575f3a(0x50c)]());}set[_0x187cb8(0x1d7)](_0x5d5aa6){const _0x3d7c42=_0x187cb8;_0x5d5aa6?(this[_0x3d7c42(0x17f)]&&this['_anchorDot'][_0x3d7c42(0x411)](),this[_0x3d7c42(0x19b)]&&this[_0x3d7c42(0x19b)]['show']()):(this[_0x3d7c42(0x17f)]&&this[_0x3d7c42(0x17f)][_0x3d7c42(0x1a2)](),this['_textBubble']&&this['_textBubble'][_0x3d7c42(0x411)]());}[_0x187cb8(0x139)](){const _0x3fb525=_0x187cb8;for(const _0x20c340 of this[_0x3fb525(0x513)])_0x20c340[_0x3fb525(0x139)]();this[_0x3fb525(0x19b)]&&this[_0x3fb525(0x19b)][_0x3fb525(0x139)](),this[_0x3fb525(0x17f)]&&this[_0x3fb525(0x17f)]['dispose'](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x3fb525(0x271)]&&this['_eventUnsubscribe']();}[_0x187cb8(0x50c)](){const _0x1508ce=_0x187cb8;var _0x3e288b;const {_docSkeleton:_0x3cb99d,_document:_0x2bcb00}=this,{color:_0x33006d,name:_0x37515f,ranges:_0x1103d3}=this['_cursor'],_0x3a0f90=_0x2bcb00['getOffsetConfig'](),{docsLeft:_0x1abe1b,docsTop:_0x2a730e}=_0x3a0f90,_0x91a68e=new _0x36b317[(_0x1508ce(0x1d2))](_0x3a0f90,_0x3cb99d);for(const {startOffset:_0x34126f,endOffset:_0x104249,rangeType:_0x52b2e8,segmentId:_0x22ad4a,segmentPage:_0x1dce75,collapsed:_0x43ff85,isActive:_0x5625c7}of _0x1103d3){const _0x3116d2=_0x3cb99d[_0x1508ce(0x37c)](_0x34126f,!0x0,_0x22ad4a,_0x1dce75);let _0x148a6e=_0x3cb99d[_0x1508ce(0x37c)](_0x104249,!0x0,_0x22ad4a,_0x1dce75);if(_0x148a6e==null&&(_0x148a6e=_0x3cb99d['findNodePositionByCharIndex'](_0x104249-0x1,!0x1,_0x22ad4a,_0x1dce75)),_0x5625c7){const {contentBoxPointGroup:_0x582060}=_0x91a68e[_0x1508ce(0x315)](_0x148a6e,_0x148a6e);if(_0x582060[_0x1508ce(0x521)]===0x0)continue;this[_0x1508ce(0x364)](_0x33006d,_0x582060,_0x1abe1b,_0x2a730e,_0x37515f),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x43ff85&&_0x3116d2&&_0x148a6e){if(_0x52b2e8===_0x35f0f7['DOC_RANGE_TYPE'][_0x1508ce(0x440)]){const _0x2bbbb1=new _0x36b317[(_0x1508ce(0x355))](_0x3a0f90,_0x3cb99d),{pointGroup:_0xfaba03}=(_0x3e288b=_0x2bbbb1[_0x1508ce(0x315)](_0x3116d2,_0x148a6e))!=null?_0x3e288b:{};if(_0xfaba03==null||_0xfaba03['length']===0x0)continue;this[_0x1508ce(0x267)](_0x33006d,_0xfaba03,_0x1abe1b,_0x2a730e);}else{const {borderBoxPointGroup:_0x1b6d21}=_0x91a68e[_0x1508ce(0x315)](_0x3116d2,_0x148a6e);if(_0x1b6d21[_0x1508ce(0x521)]===0x0)continue;this['_drawTextRange'](_0x33006d,_0x1b6d21,_0x1abe1b,_0x2a730e);}}}}['_drawAnchor'](_0x2ad899,_0x1792ea,_0x3427c4,_0x12ddc0,_0x4fecdc){const _0x3e6243=_0x187cb8,_0x163f36=this[_0x3e6243(0x2d4)](_0x1792ea),{left:_0x49bed7,top:_0x3e7150,height:_0xb00846}=_0x163f36,_0x41781=this['_getScale'](),_0x3710f3=_0x5a4727/_0x41781,_0x32123d=new _0x51641a[(_0x3e6243(0x2d2))](_0x17f060+_0x35f0f7[_0x3e6243(0x32c)][_0x3e6243(0xfb)](_0x1fafb6),{'left':_0x49bed7+_0x3427c4-_0x3710f3,'top':_0x3e7150+_0x12ddc0,'height':_0xb00846,'width':_0x532bf9,'fill':_0x2ad899||_0x51641a['getColor'](_0x35f0f7['COLORS'][_0x3e6243(0x441)],0x0),'strokeWidth':_0x3710f3,'stroke':_0x2bab5c,'evented':!0x0});this[_0x3e6243(0x44b)]=_0x32123d,this[_0x3e6243(0x37b)][_0x3e6243(0x4e0)](_0x32123d,_0x36b317['TEXT_RANGE_LAYER_INDEX']);const _0x7ff0a1=new _0x51641a[(_0x3e6243(0x2d2))](_0x17f060+_0x35f0f7[_0x3e6243(0x32c)][_0x3e6243(0xfb)](_0x1fafb6),{'left':_0x49bed7+_0x3427c4-_0x3710f3,'top':_0x3e7150+_0x12ddc0-_0x266f0c/0x2,'height':_0x266f0c,'width':_0x266f0c,'fill':_0x2ad899||_0x51641a[_0x3e6243(0x165)](_0x35f0f7[_0x3e6243(0x1bf)][_0x3e6243(0x441)],0x0),'strokeWidth':0x0,'stroke':_0x2ad899||_0x51641a[_0x3e6243(0x165)](_0x35f0f7[_0x3e6243(0x1bf)][_0x3e6243(0x441)],0x0),'evented':!0x1});this[_0x3e6243(0x17f)]=_0x7ff0a1,this[_0x3e6243(0x37b)][_0x3e6243(0x4e0)](_0x7ff0a1,_0x36b317[_0x3e6243(0x417)]);const _0x5e569c=new _0xab5549(_0x17f060+_0x35f0f7[_0x3e6243(0x32c)][_0x3e6243(0xfb)](_0x1fafb6),{'left':_0x49bed7+_0x3427c4-_0x3710f3,'top':_0x3e7150+_0x12ddc0-_0x40ab14,'text':_0x4fecdc,'color':_0x2ad899});this[_0x3e6243(0x19b)]=_0x5e569c,this[_0x3e6243(0x37b)][_0x3e6243(0x4e0)](_0x5e569c,_0x36b317[_0x3e6243(0x417)]),this[_0x3e6243(0x1d7)]=!0x1;}['_handleHover'](){const _0xd81842=_0x187cb8,_0x191f43=this[_0xd81842(0x44b)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x2964e4=this[_0xd81842(0x44b)][_0xd81842(0x41e)]['subscribeEvent'](()=>{const _0xdbf8a2=_0xd81842;this[_0xdbf8a2(0x260)]&&clearTimeout(this[_0xdbf8a2(0x260)]),this['_hideTimer']=setTimeout(()=>{const _0x5ec31e=_0xdbf8a2;this[_0x5ec31e(0x1d7)]=!0x1;},0x7d0);});return()=>{const _0x32f8ea=_0xd81842;_0x191f43[_0x32f8ea(0x462)](),_0x2964e4[_0x32f8ea(0x462)]();};}[_0x187cb8(0x470)](_0x2b1fcf,_0x134964,_0x154a13,_0x31092e){const _0x8856f8=_0x187cb8,_0x248fc1=new _0x35f0f7[(_0x8856f8(0x13f))](_0x2b1fcf)['setAlpha'](0.2)[_0x8856f8(0x4aa)](),_0x2032c4=new _0x51641a[(_0x8856f8(0x4f3))](_0x4f20b9+_0x35f0f7['Tools']['generateRandomId'](_0x1fafb6),{'pointsGroup':_0x134964,'fill':_0x248fc1||_0x51641a[_0x8856f8(0x165)](_0x35f0f7[_0x8856f8(0x1bf)][_0x8856f8(0x441)],0.2),'left':_0x154a13,'top':_0x31092e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8856f8(0x513)]['push'](_0x2032c4),this[_0x8856f8(0x37b)][_0x8856f8(0x4e0)](_0x2032c4,_0x36b317[_0x8856f8(0x417)]);}[_0x187cb8(0x267)](_0x4f1468,_0x519966,_0x458d41,_0x578bff){const _0x4bced5=_0x187cb8,_0x3c727b=new _0x35f0f7['ColorKit'](_0x4f1468)[_0x4bced5(0x450)](0.2)[_0x4bced5(0x4aa)](),_0x30ec2f=new _0x51641a['RegularPolygon'](_0x54b549+_0x35f0f7['Tools'][_0x4bced5(0xfb)](_0x1fafb6),{'pointsGroup':_0x519966,'fill':_0x3c727b||_0x51641a['getColor'](_0x35f0f7[_0x4bced5(0x1bf)]['black'],0.2),'left':_0x458d41,'top':_0x578bff,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4bced5(0x513)][_0x4bced5(0x293)](_0x30ec2f),this['_scene'][_0x4bced5(0x4e0)](_0x30ec2f,_0x36b317[_0x4bced5(0x417)]);}['_getAnchorBounding'](_0x4a3017){const _0x67f1fc=_0x4a3017[0x0],_0x305307=_0x67f1fc[0x0],_0x282dda=_0x67f1fc[0x2],{x:_0x2f0071,y:_0x2b2b13}=_0x305307,{x:_0x25adcf,y:_0x440476}=_0x282dda;return{'left':_0x2f0071,'top':_0x2b2b13,'width':_0x25adcf-_0x2f0071,'height':_0x440476-_0x2b2b13};}['_getScale'](){const _0x23274f=_0x187cb8,{scaleX:_0x35b293,scaleY:_0x1b0633}=this[_0x23274f(0x37b)][_0x23274f(0x184)]();return Math[_0x23274f(0x258)](_0x35b293,_0x1b0633);}}var _0x1cc0be=Object[_0x187cb8(0x429)],_0x455c04=Object[_0x187cb8(0x358)],_0x47cc9b=(_0x2813d4,_0x401ff0,_0x2afb6e,_0x393cc8)=>{const _0x52accc=_0x187cb8;for(var _0x337a06=_0x393cc8>0x1?void 0x0:_0x393cc8?_0x455c04(_0x401ff0,_0x2afb6e):_0x401ff0,_0x4efb0d=_0x2813d4[_0x52accc(0x521)]-0x1,_0x2b769d;_0x4efb0d>=0x0;_0x4efb0d--)(_0x2b769d=_0x2813d4[_0x4efb0d])&&(_0x337a06=(_0x393cc8?_0x2b769d(_0x401ff0,_0x2afb6e,_0x337a06):_0x2b769d(_0x337a06))||_0x337a06);return _0x393cc8&&_0x337a06&&_0x1cc0be(_0x401ff0,_0x2afb6e,_0x337a06),_0x337a06;},_0x2896aa=(_0x25b2fd,_0x2b2386)=>(_0x1bc1dc,_0x3bfdb1)=>_0x2b2386(_0x1bc1dc,_0x3bfdb1,_0x25b2fd);let _0x1120ed=class extends _0x35f0f7['RxDisposable']{constructor(_0x519162,_0xc4b871,_0x3b51d4,_0x55b596,_0x1d71f9){const _0x4ee281=_0x187cb8;super(),_0xa611d0(this,'_cursorShapes',[]),_0xa611d0(this,'_cursors',[]),(this[_0x4ee281(0x23c)]=_0x519162,this[_0x4ee281(0x3f5)]=_0xc4b871,this['_collabCursorController']=_0x3b51d4,this[_0x4ee281(0x51f)]=_0x55b596,this[_0x4ee281(0x454)]=_0x1d71f9,this[_0x4ee281(0x2f5)]());}['_init'](){const _0x91025e=_0x187cb8,_0x15806e=this[_0x91025e(0x23c)][_0x91025e(0x41f)],_0x32f827=this[_0x91025e(0x3f5)];this[_0x91025e(0x403)](_0x469a80[_0x91025e(0x320)]([this[_0x91025e(0x12d)][_0x91025e(0x1de)](_0x15806e),this[_0x91025e(0x454)][_0x91025e(0x238)]])[_0x91025e(0x32b)](_0x3c93c6[_0x91025e(0x31a)](([_0x3b9596,_0x4d3cc9])=>({'skeleton':_0x32f827[_0x91025e(0x44c)](),'cursors':[..._0x3b9596[_0x91025e(0x348)]()][_0x91025e(0x512)](_0xa37aa1=>({..._0xa37aa1,'color':_0x4d3cc9[_0xa37aa1[_0x91025e(0x328)]]}))})))[_0x91025e(0x377)](_0x36be3d=>{const _0x436416=_0x91025e;if(this[_0x436416(0x13e)](),_0x36be3d){const {skeleton:_0x519a2b,cursors:_0xc94f23}=_0x36be3d;this[_0x436416(0x274)](_0x519a2b,_0xc94f23);}})),this['_initResize'](),this[_0x91025e(0x2d6)]();}[_0x187cb8(0x274)](_0x3a74be,_0x2c0806){const _0x368dee=_0x187cb8,{scene:_0x4b228f,mainComponent:_0x4d27e7}=this['_context'],_0x59a7fc=_0x2c0806[_0x368dee(0x31a)](_0x3235d6=>new _0x26d755(_0x3235d6,_0x4b228f,_0x3a74be,_0x4d27e7));this[_0x368dee(0x19f)]=_0x59a7fc,this[_0x368dee(0x30e)]=_0x2c0806;}[_0x187cb8(0x15e)](){const _0x4657ce=_0x187cb8;this[_0x4657ce(0x13e)]();const {scene:_0x8b2b10,mainComponent:_0x5834d8}=this[_0x4657ce(0x23c)],_0xcdd4d1=this[_0x4657ce(0x3f5)][_0x4657ce(0x44c)](),_0x35443a=this['_cursors'][_0x4657ce(0x31a)](_0x428cf5=>new _0x26d755(_0x428cf5,_0x8b2b10,_0xcdd4d1,_0x5834d8));this[_0x4657ce(0x19f)]=_0x35443a;}['_removeCollabCursors'](){const _0x3daab6=_0x187cb8;this[_0x3daab6(0x19f)][_0x3daab6(0x25f)](_0x21bad4=>_0x21bad4[_0x3daab6(0x139)]()),this[_0x3daab6(0x19f)]=[];}['_initCommandExecutedListener'](){const _0x57c032=_0x187cb8,_0x4f9506=[_0x36b317[_0x57c032(0x4d0)]['id']];this[_0x57c032(0x403)](this[_0x57c032(0x51f)][_0x57c032(0x44e)](_0x2a104c=>{const _0x116d74=_0x57c032;_0x4f9506[_0x116d74(0xfe)](_0x2a104c['id'])&&_0x2a104c[_0x116d74(0x10b)][_0x116d74(0x41f)]===this['_context'][_0x116d74(0x41f)]&&this[_0x116d74(0x15e)]();}));}[_0x187cb8(0x46d)](){const _0x58d71e=_0x187cb8;this[_0x58d71e(0x403)](_0x35f0f7[_0x58d71e(0x1a0)](this['_context'][_0x58d71e(0x150)][_0x58d71e(0x34f)])[_0x58d71e(0x32b)](_0x3c93c6['filter'](_0x560f80=>_0x560f80[_0x58d71e(0x16e)]===_0x51641a[_0x58d71e(0x2ff)][_0x58d71e(0x4d5)]),_0x3c93c6['throttleTime'](0x10))[_0x58d71e(0x377)](()=>{this['_refreshCollabCursors']();}));}};_0x1120ed=_0x47cc9b([_0x2896aa(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0x41e827[_0x187cb8(0x28e)])),_0x2896aa(0x2,_0x35f0f7['Inject'](_0x59cc9f)),_0x2896aa(0x3,_0x35f0f7['ICommandService']),_0x2896aa(0x4,_0x35f0f7['Inject'](_0x35f0f7[_0x187cb8(0x251)]))],_0x1120ed);const _0x5cc528=0x1,_0x504f14=1.5;class _0x589bb3 extends _0x51641a['Shape']{constructor(_0x2de005,_0x35fbb9){const _0x4c1bfd=_0x187cb8;super(_0x2de005,_0x35fbb9),_0xa611d0(this,_0x4c1bfd(0x1c3)),_0xa611d0(this,_0x4c1bfd(0x45b),!0x1),_0xa611d0(this,'_range'),_0xa611d0(this,_0x4c1bfd(0x47b),''),_0xa611d0(this,_0x4c1bfd(0x3af),'top'),_0xa611d0(this,_0x4c1bfd(0x3a1)),(_0x35fbb9&&this[_0x4c1bfd(0x48a)](_0x35fbb9),this['onPointerEnter$'][_0x4c1bfd(0x14c)](()=>this[_0x4c1bfd(0x48a)]({'hovered':!0x0})),this[_0x4c1bfd(0x41e)]['subscribeEvent'](()=>this[_0x4c1bfd(0x48a)]({'hovered':!0x1})));}['setShapeProps'](_0x19c477){const _0x3435d6=_0x187cb8;var _0x594f46,_0x44598c,_0x18556e,_0x316941,_0x437018,_0x1cf7c3;this[_0x3435d6(0x1c3)]=(_0x594f46=_0x19c477[_0x3435d6(0x328)])!=null?_0x594f46:this[_0x3435d6(0x1c3)],this[_0x3435d6(0x45b)]=(_0x44598c=_0x19c477['hovered'])!=null?_0x44598c:this[_0x3435d6(0x45b)],this[_0x3435d6(0x2a5)]=(_0x18556e=_0x19c477[_0x3435d6(0x37f)])!=null?_0x18556e:this['_range'],this[_0x3435d6(0x47b)]=(_0x316941=_0x19c477['name'])!=null?_0x316941:this[_0x3435d6(0x47b)],this[_0x3435d6(0x3af)]=(_0x437018=_0x19c477[_0x3435d6(0x100)])!=null?_0x437018:this['_labelPosition'],this[_0x3435d6(0x3a1)]=(_0x1cf7c3=_0x19c477[_0x3435d6(0x2e4)])!=null?_0x1cf7c3:this[_0x3435d6(0x3a1)],this[_0x3435d6(0x338)]({'width':_0x19c477[_0x3435d6(0x42c)],'height':_0x19c477[_0x3435d6(0x4da)]});}[_0x187cb8(0x237)](_0x203655){const _0x8d6df3=_0x187cb8,{row:_0x5b39a8,column:_0x32f070}=_0x203655;if(_0x5b39a8>=this[_0x8d6df3(0x2a5)][_0x8d6df3(0x2c5)]&&_0x5b39a8<=this['_range'][_0x8d6df3(0x494)]&&_0x32f070>=this[_0x8d6df3(0x2a5)][_0x8d6df3(0xe9)]&&_0x32f070<=this[_0x8d6df3(0x2a5)]['endColumn']){this[_0x8d6df3(0x48a)]({'hovered':!0x0});return;}this[_0x8d6df3(0x48a)]({'hovered':!0x1});}[_0x187cb8(0x485)](_0x448acf){return!0x1;}[_0x187cb8(0x42d)](_0x5573e8){const _0x2e6041=_0x187cb8;_0x51641a[_0x2e6041(0x2d2)][_0x2e6041(0x34b)](_0x5573e8,{'width':this[_0x2e6041(0x42c)],'height':this[_0x2e6041(0x4da)],'strokeWidth':_0x504f14,'stroke':this[_0x2e6041(0x1c3)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x5573e8['save'](),_0x5573e8[_0x2e6041(0x259)](0x1,0x0,0x0,0x1,this['width'],this[_0x2e6041(0x3af)]===_0x2e6041(0x233)?0x0:-_0x40ab14),_0xab5549[_0x2e6041(0x34b)](_0x5573e8,{'text':this['_name'],'color':this[_0x2e6041(0x1c3)]}),_0x5573e8[_0x2e6041(0x2bd)]());}}var _0x5e0175=Object[_0x187cb8(0x429)],_0x43f58a=Object[_0x187cb8(0x358)],_0x2bf749=(_0x5426b0,_0x260dbc,_0xe0715c,_0x21130b)=>{for(var _0x37d8e0=_0x21130b>0x1?void 0x0:_0x21130b?_0x43f58a(_0x260dbc,_0xe0715c):_0x260dbc,_0x3a4751=_0x5426b0['length']-0x1,_0x19fcb9;_0x3a4751>=0x0;_0x3a4751--)(_0x19fcb9=_0x5426b0[_0x3a4751])&&(_0x37d8e0=(_0x21130b?_0x19fcb9(_0x260dbc,_0xe0715c,_0x37d8e0):_0x19fcb9(_0x37d8e0))||_0x37d8e0);return _0x21130b&&_0x37d8e0&&_0x5e0175(_0x260dbc,_0xe0715c,_0x37d8e0),_0x37d8e0;},_0x5eecc0=(_0x4b4e34,_0x2648dd)=>(_0x3c2b74,_0x3f1301)=>_0x2648dd(_0x3c2b74,_0x3f1301,_0x4b4e34);const _0x14fba2=0x1389;let _0x11a2b1=class extends _0x35f0f7[_0x187cb8(0x115)]{constructor(_0x498155,_0x256c58,_0x42659c,_0x5c4f19){const _0x2266ad=_0x187cb8;super(),_0xa611d0(this,_0x2266ad(0x30e),new Set()),_0xa611d0(this,_0x2266ad(0x106),null),(this['_context']=_0x498155,this[_0x2266ad(0xef)]=_0x256c58,this[_0x2266ad(0x12d)]=_0x42659c,this[_0x2266ad(0x454)]=_0x5c4f19,this['_init']());}[_0x187cb8(0x2f5)](){const _0x572344=_0x187cb8;this['_sheetSkeletonManagerService'][_0x572344(0x38f)][_0x572344(0x32b)](_0x3c93c6[_0x572344(0x2aa)](this['dispose$']),_0x3c93c6['switchMap'](_0x219ee9=>{const _0x421dbd=_0x572344;if(_0x219ee9){const _0x14645c=_0x219ee9[_0x421dbd(0x166)];return _0x469a80[_0x421dbd(0x320)](this[_0x421dbd(0x12d)][_0x421dbd(0x1de)](this['_context'][_0x421dbd(0x41f)]),this[_0x421dbd(0x454)][_0x421dbd(0x238)])[_0x421dbd(0x32b)](_0x3c93c6[_0x421dbd(0x31a)](([_0x3e189e,_0x29d016])=>{const _0xca81c4=_0x421dbd,_0xbf78b3=new Map();return _0x3e189e[_0xca81c4(0x25f)]((_0x160054,_0x3f6fc5)=>{const _0x3acfbc=_0xca81c4;if(_0x160054[_0x3acfbc(0x159)]===_0x14645c){const _0x396cfc={..._0x160054};_0x396cfc[_0x3acfbc(0x328)]=_0x29d016[_0x160054[_0x3acfbc(0x328)]],_0xbf78b3[_0x3acfbc(0x33d)](_0x3f6fc5,_0x396cfc);}}),{'skeleton':_0x219ee9,'cursors':_0xbf78b3};}));}return _0x469a80['of']({'skeleton':null,'cursors':new Map()});}))[_0x572344(0x377)](({skeleton:_0x4fc79e,cursors:_0x8a61e5})=>{const _0x548e01=_0x572344;this['_removeCollabCursors'](),_0x4fc79e&&this[_0x548e01(0x274)](_0x4fc79e,_0x8a61e5);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x572344(0x377)](_0xfadd35=>{const _0x117a39=_0x572344;if(_0xfadd35==null)return;const {skeleton:_0x28b7ce}=_0xfadd35,{scene:_0x41fb8c}=this['_context'];_0x41fb8c[_0x117a39(0x12f)][_0x117a39(0x14c)](_0x35f0f7[_0x117a39(0x28b)](_0x24eaaf=>{const _0x38a594=_0x117a39;var _0x5f5d53,_0x2548c0;const {offsetX:_0x423d10,offsetY:_0x1c35aa}=_0x24eaaf,{x:_0x1157a1,y:_0x4d78af}=_0x41fb8c[_0x38a594(0x46a)](_0x51641a[_0x38a594(0x292)][_0x38a594(0x256)]([_0x423d10,_0x1c35aa])),{scaleX:_0x3af24f,scaleY:_0x4313b3}=_0x41fb8c[_0x38a594(0x184)](),_0x53f26c=_0x41fb8c[_0x38a594(0x17b)](_0x5268db['VIEWPORT_KEY'][_0x38a594(0x34d)]),_0x3b096a=_0x41fb8c['getVpScrollXYInfoByPosToVp'](_0x51641a['Vector2']['FromArray']([_0x1157a1,_0x4d78af]),_0x53f26c),_0x16e918=_0x28b7ce[_0x38a594(0x458)](_0x423d10,_0x1c35aa,_0x3af24f,_0x4313b3,_0x3b096a);((_0x5f5d53=this[_0x38a594(0x106)])==null?void 0x0:_0x5f5d53[_0x38a594(0x28d)])===_0x16e918[_0x38a594(0x28d)]&&((_0x2548c0=this[_0x38a594(0x106)])==null?void 0x0:_0x2548c0['row'])===_0x16e918[_0x38a594(0x2df)]||this[_0x38a594(0x30e)][_0x38a594(0x25f)](_0x228ebb=>{const _0x4db335=_0x38a594;_0x228ebb[_0x4db335(0x237)](_0x16e918);});},0x64));});}['_updateCollabCursors'](_0x1b817c,_0x2b1d14){const _0x555532=_0x187cb8;var _0x2f6524;const _0x166d6b=(_0x2f6524=this['_sheetSkeletonManagerService'][_0x555532(0x207)]())==null?void 0x0:_0x2f6524[_0x555532(0x20c)];if(!_0x166d6b)return;const _0x4ff94d=this[_0x555532(0x277)]();if(!_0x4ff94d)return;this[_0x555532(0x30e)][_0x555532(0x25f)](_0x1793ef=>{const _0x36682b=_0x555532;_0x1793ef[_0x36682b(0x151)]();});const {scene:_0x1f2b26}=_0x4ff94d,_0x42168b=_0x24957c(Array[_0x555532(0x12c)](_0x2b1d14['values']()))[_0x555532(0x31a)](_0x5dcda2=>{const _0x4bbb6c=_0x555532,{color:_0x5987be,range:_0x5421c1,name:_0x9007cb,selection:_0x51ce86,sheetID:_0x521635}=_0x5dcda2,{startColumn:_0x4384d0,startRow:_0x34bf17,endColumn:_0x2066b8,endRow:_0x38d13a}=_0x5421c1,_0x170fe0=_0x5268db[_0x4bbb6c(0x185)](_0x34bf17,_0x4384d0,_0x1f2b26,_0x166d6b),_0x354c9b=_0x5268db[_0x4bbb6c(0x185)](_0x38d13a,_0x2066b8,_0x1f2b26,_0x166d6b),{columnHeaderHeightAndMarginTop:_0x593071}=_0x166d6b,{startX:_0x529969,startY:_0xe8616a}=_0x170fe0,{endX:_0x29c1d0,endY:_0x391c3a}=_0x354c9b,_0x1adfed=_0x29c1d0-_0x529969,_0x64e34b=_0x391c3a-_0xe8616a,_0x3b0903={'labelPosition':_0xe8616a-_0x593071>=_0x40ab14?_0x4bbb6c(0x32d):'bottom','sheetID':_0x521635,'range':_0x5421c1,'color':_0x5987be,'name':_0x9007cb,'selection':_0x51ce86,'left':_0x529969,'top':_0xe8616a,'width':_0x1adfed,'height':_0x64e34b,'evented':!0x1,'zIndex':_0x14fba2};return new _0x589bb3(_0x9007cb,_0x3b0903);});_0x1f2b26[_0x555532(0x449)](_0x42168b,_0x5cc528),this[_0x555532(0x30e)]=new Set(_0x42168b);}['_removeCollabCursors'](){const _0x40ec6b=_0x187cb8;var _0x201ae2;(_0x201ae2=this[_0x40ec6b(0x30e)])==null||_0x201ae2[_0x40ec6b(0x25f)](_0x32eba9=>_0x32eba9[_0x40ec6b(0x139)]());}[_0x187cb8(0x277)](){const _0x1c4dfc=_0x187cb8;return _0x5268db[_0x1c4dfc(0x1e4)](this[_0x1c4dfc(0x23c)][_0x1c4dfc(0x19d)],this[_0x1c4dfc(0x23c)]);}};_0x11a2b1=_0x2bf749([_0x5eecc0(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0x5268db[_0x187cb8(0x20f)])),_0x5eecc0(0x2,_0x35f0f7['Inject'](_0x59cc9f)),_0x5eecc0(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x251)]))],_0x11a2b1);function _0x24957c(_0x77e27a){const _0x4cadc6=_0x187cb8,_0x49317f=new Map();return _0x77e27a[_0x4cadc6(0x25f)](_0x8e95d7=>{const _0x224ab5=_0x4cadc6;if(_0x49317f['has'](_0x8e95d7[_0x224ab5(0x4c3)])){const _0x58ebe8=_0x49317f[_0x224ab5(0xf4)](_0x8e95d7[_0x224ab5(0x4c3)]);_0x58ebe8['name']+=',\x20'+_0x8e95d7['name'];}else _0x49317f[_0x224ab5(0x33d)](_0x8e95d7[_0x224ab5(0x4c3)],_0x8e95d7);}),Array[_0x4cadc6(0x12c)](_0x49317f[_0x4cadc6(0x348)]());}var _0x1411d9=function(){const _0x5872db=_0x187cb8;return _0x1411d9=Object[_0x5872db(0x505)]||function(_0x10cae5){const _0x19ca51=_0x5872db;for(var _0x59ebf8,_0x25c744=0x1,_0x2f623c=arguments['length'];_0x25c744<_0x2f623c;_0x25c744++){_0x59ebf8=arguments[_0x25c744];for(var _0x490b19 in _0x59ebf8)Object[_0x19ca51(0x2cb)][_0x19ca51(0x276)][_0x19ca51(0x4e4)](_0x59ebf8,_0x490b19)&&(_0x10cae5[_0x490b19]=_0x59ebf8[_0x490b19]);}return _0x10cae5;},_0x1411d9[_0x5872db(0x4fb)](this,arguments);},_0x3c9fe4=function(_0x2a5d60,_0x2fa3d0){const _0xe8c1c9=_0x187cb8;var _0x4f80d8={};for(var _0x550106 in _0x2a5d60)Object[_0xe8c1c9(0x2cb)][_0xe8c1c9(0x276)][_0xe8c1c9(0x4e4)](_0x2a5d60,_0x550106)&&_0x2fa3d0[_0xe8c1c9(0x2a8)](_0x550106)<0x0&&(_0x4f80d8[_0x550106]=_0x2a5d60[_0x550106]);if(_0x2a5d60!=null&&typeof Object[_0xe8c1c9(0x43a)]==_0xe8c1c9(0x244)){for(var _0x1add9b=0x0,_0x550106=Object[_0xe8c1c9(0x43a)](_0x2a5d60);_0x1add9b<_0x550106[_0xe8c1c9(0x521)];_0x1add9b++)_0x2fa3d0[_0xe8c1c9(0x2a8)](_0x550106[_0x1add9b])<0x0&&Object['prototype'][_0xe8c1c9(0x1b4)]['call'](_0x2a5d60,_0x550106[_0x1add9b])&&(_0x4f80d8[_0x550106[_0x1add9b]]=_0x2a5d60[_0x550106[_0x1add9b]]);}return _0x4f80d8;},_0x3184d1=_0x4288f6['forwardRef'](function(_0x3719f2,_0x452783){const _0x324e9b=_0x187cb8;var _0x490a9b=_0x3719f2[_0x324e9b(0x103)],_0x51fbb1=_0x3719f2['id'],_0x407481=_0x3719f2['className'],_0x493cbb=_0x3719f2[_0x324e9b(0x242)],_0x5056a5=_0x3c9fe4(_0x3719f2,[_0x324e9b(0x103),'id','className','extend']),_0x2746aa=_0x324e9b(0x167)[_0x324e9b(0x422)](_0x51fbb1,'\x20')[_0x324e9b(0x422)](_0x407481||'')[_0x324e9b(0x3fa)](),_0x14ac64=_0x4288f6[_0x324e9b(0x3c5)]('_'[_0x324e9b(0x422)](_0x3fa48b()));return _0x16589(_0x490a9b,''[_0x324e9b(0x422)](_0x51fbb1),{'defIds':_0x490a9b[_0x324e9b(0x4cc)],'idSuffix':_0x14ac64[_0x324e9b(0x465)]},_0x1411d9({'ref':_0x452783,'className':_0x2746aa},_0x5056a5),_0x493cbb);});function _0x16589(_0x17a209,_0x94ff41,_0x666995,_0x2bc87b,_0x375c7c){const _0x154db5=_0x187cb8;return _0x4288f6[_0x154db5(0x4d2)](_0x17a209[_0x154db5(0x356)],_0x1411d9(_0x1411d9({'key':_0x94ff41},_0x58a4c3(_0x17a209,_0x666995,_0x375c7c)),_0x2bc87b),(_0x396b15(_0x17a209,_0x666995)[_0x154db5(0x4c9)]||[])[_0x154db5(0x31a)](function(_0x3d19bd,_0x28fd0f){const _0x57b011=_0x154db5;return _0x16589(_0x3d19bd,''['concat'](_0x94ff41,'-')[_0x57b011(0x422)](_0x17a209[_0x57b011(0x356)],'-')['concat'](_0x28fd0f),_0x666995,void 0x0,_0x375c7c);}));}function _0x58a4c3(_0x22b27d,_0x32e38c,_0x1b0443){const _0x2e51d2=_0x187cb8;var _0x3131b4=_0x1411d9({},_0x22b27d['attrs']);_0x1b0443!=null&&_0x1b0443[_0x2e51d2(0x321)]&&_0x3131b4['fill']==='colorChannel1'&&(_0x3131b4[_0x2e51d2(0x49e)]=_0x1b0443[_0x2e51d2(0x321)]);var _0x5e55c7=_0x32e38c['defIds'];return!_0x5e55c7||_0x5e55c7[_0x2e51d2(0x521)]===0x0||(_0x22b27d['tag']==='use'&&_0x3131b4['xlink:href']&&(_0x3131b4['xlink:href']=_0x3131b4['xlink:href']+_0x32e38c[_0x2e51d2(0x394)]),Object[_0x2e51d2(0x4a8)](_0x3131b4)['forEach'](function(_0x2eab1a){const _0x3dbaaf=_0x2e51d2;var _0x244619=_0x2eab1a[0x0],_0x7ad3ee=_0x2eab1a[0x1];typeof _0x7ad3ee==_0x3dbaaf(0x180)&&(_0x3131b4[_0x244619]=_0x7ad3ee['replace'](/url\(#(.*)\)/,_0x3dbaaf(0x33e)[_0x3dbaaf(0x422)](_0x32e38c[_0x3dbaaf(0x394)],')')));})),_0x3131b4;}function _0x396b15(_0x154a85,_0xcdb4ec){const _0x2ed2f3=_0x187cb8;var _0x9dd366,_0x329a64=_0xcdb4ec[_0x2ed2f3(0x4cc)];return!_0x329a64||_0x329a64[_0x2ed2f3(0x521)]===0x0?_0x154a85:_0x154a85[_0x2ed2f3(0x356)]===_0x2ed2f3(0x478)&&(!((_0x9dd366=_0x154a85[_0x2ed2f3(0x4c9)])===null||_0x9dd366===void 0x0)&&_0x9dd366['length'])?_0x1411d9(_0x1411d9({},_0x154a85),{'children':_0x154a85[_0x2ed2f3(0x4c9)][_0x2ed2f3(0x31a)](function(_0x51ee89){const _0x1d7ae0=_0x2ed2f3;return typeof _0x51ee89[_0x1d7ae0(0x3f9)]['id']==_0x1d7ae0(0x180)&&_0x329a64&&_0x329a64[_0x1d7ae0(0x2a8)](_0x51ee89[_0x1d7ae0(0x3f9)]['id'])>-0x1?_0x1411d9(_0x1411d9({},_0x51ee89),{'attrs':_0x1411d9(_0x1411d9({},_0x51ee89[_0x1d7ae0(0x3f9)]),{'id':_0x51ee89[_0x1d7ae0(0x3f9)]['id']+_0xcdb4ec[_0x1d7ae0(0x394)]})}):_0x51ee89;})}):_0x154a85;}function _0x3fa48b(){const _0x45550e=_0x187cb8;return Math[_0x45550e(0x378)]()[_0x45550e(0x4eb)](0x24)['substring'](0x2,0x8);}_0x3184d1[_0x187cb8(0x3df)]=_0x187cb8(0x428);var _0x17db24={'tag':_0x187cb8(0x16a),'attrs':{'fill':_0x187cb8(0x1be),'viewBox':_0x187cb8(0x10d),'width':_0x187cb8(0x290),'height':_0x187cb8(0x290)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x187cb8(0x2c3),'attrs':{'stroke':'currentColor','d':_0x187cb8(0x2c1),'strokeLinecap':_0x187cb8(0x4fd),'strokeLinejoin':_0x187cb8(0x4fd),'strokeWidth':1.2}}]},{'tag':_0x187cb8(0x478),'attrs':{},'children':[{'tag':_0x187cb8(0x434),'attrs':{'id':_0x187cb8(0x1c8)},'children':[{'tag':_0x187cb8(0x2c3),'attrs':{'fill':_0x187cb8(0x3b4),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x187cb8(0x1c8)]},_0x45eaed=_0x4288f6[_0x187cb8(0x1fc)](function(_0x29a3b6,_0x4f7373){const _0x46d65c=_0x187cb8;return _0x4288f6[_0x46d65c(0x4d2)](_0x3184d1,Object[_0x46d65c(0x505)]({},_0x29a3b6,{'id':_0x46d65c(0x206),'ref':_0x4f7373,'icon':_0x17db24}));});_0x45eaed[_0x187cb8(0x3df)]=_0x187cb8(0x382);var _0x5d1395={'tag':_0x187cb8(0x16a),'attrs':{'fill':'none','viewBox':_0x187cb8(0x3b3),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x187cb8(0x2b0)},'children':[{'tag':_0x187cb8(0x2c3),'attrs':{'stroke':_0x187cb8(0x310),'d':_0x187cb8(0x122),'strokeLinecap':_0x187cb8(0x4fd),'strokeLinejoin':_0x187cb8(0x4fd),'strokeWidth':1.2}}]},{'tag':_0x187cb8(0x478),'attrs':{},'children':[{'tag':_0x187cb8(0x434),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x187cb8(0x2c3),'attrs':{'fill':_0x187cb8(0x3b4),'d':_0x187cb8(0x2d8),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x2b98e9=_0x4288f6[_0x187cb8(0x1fc)](function(_0x4957cb,_0x217ded){const _0x4f1cb7=_0x187cb8;return _0x4288f6[_0x4f1cb7(0x4d2)](_0x3184d1,Object['assign']({},_0x4957cb,{'id':'on-line-single','ref':_0x217ded,'icon':_0x5d1395}));});_0x2b98e9[_0x187cb8(0x3df)]=_0x187cb8(0x508);function _0x2b37c3(_0x468f2c){const _0x19c618=_0x187cb8;var _0x5d0a35,_0x3627fa,_0xb26d62='';if(typeof _0x468f2c==_0x19c618(0x180)||typeof _0x468f2c==_0x19c618(0x16f))_0xb26d62+=_0x468f2c;else{if(typeof _0x468f2c==_0x19c618(0x2a9)){if(Array[_0x19c618(0x507)](_0x468f2c)){var _0x1a5d7f=_0x468f2c[_0x19c618(0x521)];for(_0x5d0a35=0x0;_0x5d0a35<_0x1a5d7f;_0x5d0a35++)_0x468f2c[_0x5d0a35]&&(_0x3627fa=_0x2b37c3(_0x468f2c[_0x5d0a35]))&&(_0xb26d62&&(_0xb26d62+='\x20'),_0xb26d62+=_0x3627fa);}else{for(_0x3627fa in _0x468f2c)_0x468f2c[_0x3627fa]&&(_0xb26d62&&(_0xb26d62+='\x20'),_0xb26d62+=_0x3627fa);}}}return _0xb26d62;}function _0x1a1906(){const _0xee6dc9=_0x187cb8;for(var _0x57b87a,_0x156698,_0x2ce624=0x0,_0x3687c9='',_0x3acfd2=arguments[_0xee6dc9(0x521)];_0x2ce624<_0x3acfd2;_0x2ce624++)(_0x57b87a=arguments[_0x2ce624])&&(_0x156698=_0x2b37c3(_0x57b87a))&&(_0x3687c9&&(_0x3687c9+='\x20'),_0x3687c9+=_0x156698);return _0x3687c9;}const _0x5b9628={'onlineStatusIcon':_0x187cb8(0x393),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x187cb8(0x183),'online':_0x187cb8(0x389),'offline':_0x187cb8(0x419)};function _0x28153d(_0xf60715){const _0x5a1f42=_0x187cb8;switch(_0xf60715){case _0x2ce1aa[_0x5a1f42(0x282)]:return _0x5a1f42(0x2b9);case _0x2ce1aa[_0x5a1f42(0x4a2)]:return _0x5a1f42(0x3de);case _0x2ce1aa[_0x5a1f42(0x49c)]:return _0x5a1f42(0x19c);case _0x2ce1aa[_0x5a1f42(0x3b6)]:return'collabStatus.notCollab';case _0x2ce1aa[_0x5a1f42(0x490)]:case _0x2ce1aa[_0x5a1f42(0x343)]:return'collabStatus.syncing';case _0x2ce1aa['SYNCED']:case _0x2ce1aa['PENDING']:return'collabStatus.synced';}}function _0x3e5db7(_0x1e83a4){const _0x515569=_0x187cb8,{status$:_0x37257e}=_0x1e83a4,_0x11170a=_0x2b561e[_0x515569(0x318)](_0x37257e,_0x2ce1aa[_0x515569(0x3b6)]),_0x2b4147=_0x35f0f7['useDependency'](_0x35f0f7['LocaleService']),_0x581575=_0x35f0f7['useDependency'](_0xedfd91['CollaborationSessionService']),_0x4ddf37=_0x11170a!==_0x2ce1aa[_0x515569(0x282)],_0x7f25ae=_0x2b4147['t'](_0x28153d(_0x11170a)),_0x3b5832=_0x1a1906(_0x5b9628[_0x515569(0x13d)],{[_0x5b9628[_0x515569(0x48d)]]:_0x4ddf37,[_0x5b9628[_0x515569(0x3a0)]]:!_0x4ddf37}),_0x2dded4=_0x4ddf37?_0x4288f6[_0x515569(0x4d2)](_0x2b98e9,null):_0x4288f6[_0x515569(0x4d2)](_0x45eaed,null),_0x43390a=_0x4288f6['useCallback'](()=>{const _0x503843=_0x515569;_0x4ddf37||_0x581575[_0x503843(0x3bd)]();},[_0x4ddf37,_0x581575]);function _0x2c47d4(){const _0x348e5c=_0x515569;return _0x4288f6[_0x348e5c(0x4d2)](_0x348e5c(0x20e),{'className':_0x3b5832,'onClick':_0x43390a},_0x4288f6[_0x348e5c(0x4d2)]('div',{'className':_0x5b9628[_0x348e5c(0x1f3)]},_0x2dded4),_0x4288f6['createElement'](_0x348e5c(0x20e),{'className':_0x5b9628['onlineStatusTitle']},_0x7f25ae));}return _0x4ddf37?_0x2c47d4():_0x4288f6[_0x515569(0x4d2)](_0xed3e06[_0x515569(0x2b7)],{'title':_0x2b4147['t'](_0x515569(0x1a1))},_0x2c47d4());}var _0x2e7ae3=Object[_0x187cb8(0x429)],_0x30fe7a=Object[_0x187cb8(0x358)],_0x5d982f=(_0x2954ba,_0x2a1444,_0x27dc42,_0x78f241)=>{const _0x15d3de=_0x187cb8;for(var _0x2a402c=_0x78f241>0x1?void 0x0:_0x78f241?_0x30fe7a(_0x2a1444,_0x27dc42):_0x2a1444,_0x10610b=_0x2954ba[_0x15d3de(0x521)]-0x1,_0x436704;_0x10610b>=0x0;_0x10610b--)(_0x436704=_0x2954ba[_0x10610b])&&(_0x2a402c=(_0x78f241?_0x436704(_0x2a1444,_0x27dc42,_0x2a402c):_0x436704(_0x2a402c))||_0x2a402c);return _0x78f241&&_0x2a402c&&_0x2e7ae3(_0x2a1444,_0x27dc42,_0x2a402c),_0x2a402c;},_0x4f8d23=(_0x20f4cf,_0x48289e)=>(_0x18f0dc,_0x637e0)=>_0x48289e(_0x18f0dc,_0x637e0,_0x20f4cf);_0xedfd91['DesktopCollaborationStatusDisplayController']=class extends _0x35f0f7['Disposable']{constructor(_0x29ac83,_0x53812c,_0xdba5b6,_0x27aeb9){const _0x383aae=_0x187cb8;super(),_0xa611d0(this,_0x383aae(0x2c0),new _0x469a80['BehaviorSubject'](_0x2ce1aa[_0x383aae(0x3b6)])),(this[_0x383aae(0x21b)]=_0x29ac83,this[_0x383aae(0x424)]=_0x53812c,this[_0x383aae(0x41c)]=_0xdba5b6,this['_collaborationController']=_0x27aeb9,this[_0x383aae(0x3c4)](),this['_initStatusListener']());}[_0x187cb8(0x390)](){const _0x3c057a=_0x187cb8;this[_0x3c057a(0x403)](this[_0x3c057a(0x21b)][_0x3c057a(0x468)]['pipe'](_0x469a80[_0x3c057a(0x272)](()=>{const _0x5b94e0=_0x3c057a,_0x3cdd72=this[_0x5b94e0(0x21b)][_0x5b94e0(0x392)]();return _0x3cdd72?this[_0x5b94e0(0x38e)]['getCollabEntity$'](_0x3cdd72[_0x5b94e0(0x2cc)]()):_0x469a80['of'](null);}),_0x469a80['switchMap'](_0x2b9c6a=>_0x2b9c6a?_0x2b9c6a[_0x3c057a(0x234)]:_0x469a80['of'](_0x2ce1aa[_0x3c057a(0x3b6)])))['subscribe'](_0x1314f6=>{const _0x3e5e90=_0x3c057a;this[_0x3e5e90(0x2c0)][_0x3e5e90(0x401)](_0x1314f6);}));}[_0x187cb8(0x3c4)](){const _0x31826a=_0x187cb8;this[_0x31826a(0x403)](this[_0x31826a(0x424)]['registerComponent'](_0x2b561e['BuiltInUIPart']['HEADER_MENU'],()=>_0x35f0f7[_0x31826a(0x3d0)](_0x121cce({'status$':this[_0x31826a(0x2c0)][_0x31826a(0x3a4)]()}),this[_0x31826a(0x41c)])));}},_0xedfd91[_0x187cb8(0x305)]=_0x5d982f([_0x4f8d23(0x0,_0x35f0f7['IUniverInstanceService']),_0x4f8d23(0x1,_0x2b561e['IUIPartsService']),_0x4f8d23(0x2,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x4f8d23(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91['CollaborationController']))],_0xedfd91[_0x187cb8(0x305)]);function _0x121cce(_0x189473){const {status$:_0x5b38e7}=_0x189473;return function(){const _0x41fd92=_0x30a8;return _0x4288f6[_0x41fd92(0x4d2)](_0x3e5db7,{'status$':_0x5b38e7});};}const _0x368bf3=_0x35f0f7['createIdentifier'](_0x187cb8(0x1c7));var _0x39238b=Object[_0x187cb8(0x429)],_0xac2df9=Object[_0x187cb8(0x358)],_0x28140f=(_0x1e5637,_0x22cd94,_0x21a84d,_0x393151)=>{const _0x2ffff5=_0x187cb8;for(var _0x197120=_0x393151>0x1?void 0x0:_0x393151?_0xac2df9(_0x22cd94,_0x21a84d):_0x22cd94,_0x491833=_0x1e5637[_0x2ffff5(0x521)]-0x1,_0x49fcb5;_0x491833>=0x0;_0x491833--)(_0x49fcb5=_0x1e5637[_0x491833])&&(_0x197120=(_0x393151?_0x49fcb5(_0x22cd94,_0x21a84d,_0x197120):_0x49fcb5(_0x197120))||_0x197120);return _0x393151&&_0x197120&&_0x39238b(_0x22cd94,_0x21a84d,_0x197120),_0x197120;},_0x5503f0=(_0x2d28db,_0x1ece11)=>(_0x3b8653,_0xe8aa3f)=>_0x1ece11(_0x3b8653,_0xe8aa3f,_0x2d28db);_0xedfd91['DataLoaderController']=class extends _0x35f0f7['RxDisposable']{constructor(_0x19fec0,_0x4c6032,_0x32b671,_0x37afdd,_0x10b6ed,_0x20c125){const _0x51044c=_0x187cb8;super(),this['_urlService']=_0x19fec0,this['_logService']=_0x4c6032,this['_commandService']=_0x32b671,this[_0x51044c(0x39f)]=_0x37afdd,this['_snapshotService']=_0x10b6ed,_0x20c125?_0x20c125==null||_0x20c125[_0x51044c(0x240)]()[_0x51044c(0x362)](()=>this[_0x51044c(0x2f5)]()):(this[_0x51044c(0x213)]['debug'](_0x51044c(0x4b3),_0x51044c(0x224)),this[_0x51044c(0x2f5)]());}async[_0x187cb8(0x2f5)](){const _0x5f4a5e=_0x187cb8,_0x25af19=this[_0x5f4a5e(0x49b)]['getParam'](_0x5f4a5e(0x19d)),_0x256cff=this[_0x5f4a5e(0x49b)][_0x5f4a5e(0x1af)](_0x5f4a5e(0x16e));if(!_0x25af19||!_0x256cff){this[_0x5f4a5e(0x213)][_0x5f4a5e(0x18b)](_0x5f4a5e(0x4b3),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x256cff)){case _0x2bb4bc[_0x5f4a5e(0x2fc)]:{const _0x16f718=await this['_loadSheet'](_0x25af19);this['_setupSubUnitSync'](_0x16f718);break;}case _0x2bb4bc[_0x5f4a5e(0x3e9)]:{await this['_loadDoc'](_0x25af19);break;}default:{this[_0x5f4a5e(0x213)][_0x5f4a5e(0x1ed)](_0x5f4a5e(0x4b3),_0x5f4a5e(0x51d));break;}}}async['_setupSubUnitSync'](_0x1e7b53){const _0x812c16=_0x187cb8;await this[_0x812c16(0x3bb)](_0x1e7b53),_0x1e7b53['activeSheet$']['pipe'](_0x469a80['takeUntil'](this[_0x812c16(0x48c)]))[_0x812c16(0x377)](_0x2414c6=>{const _0x54f5ae=_0x812c16;_0x2414c6&&this[_0x54f5ae(0x43d)](_0x2414c6);}),this[_0x812c16(0x49b)][_0x812c16(0x47c)][_0x812c16(0x32b)](_0x469a80[_0x812c16(0x2aa)](this['dispose$']))[_0x812c16(0x377)](()=>this[_0x812c16(0x3bb)](_0x1e7b53));}[_0x187cb8(0x43d)](_0xca2296,_0x27fce0=!0x1){const _0x5b43d8=_0x187cb8,_0x513db6=this[_0x5b43d8(0x49b)][_0x5b43d8(0x1af)]('subunit');_0xca2296['getSheetId']()!==_0x513db6&&this[_0x5b43d8(0x49b)][_0x5b43d8(0x515)](_0x5b43d8(0x269),_0xca2296[_0x5b43d8(0x3f7)](),_0x27fce0);}async[_0x187cb8(0x3bb)](_0x2cd161){const _0x11843a=_0x187cb8;var _0x271da0;const _0x5286b5=this['_urlService'][_0x11843a(0x1af)](_0x11843a(0x269));if(!_0x5286b5||!_0x2cd161[_0x11843a(0x27c)](_0x5286b5)){const _0x1a2df8=_0x2cd161[_0x11843a(0x3e0)]()[0x0],_0x121ddf=_0x2cd161[_0x11843a(0x27c)](_0x1a2df8);if(!_0x121ddf)return;this[_0x11843a(0x43d)](_0x121ddf,!0x0),await this['_commandService'][_0x11843a(0x39d)](_0x538a64[_0x11843a(0x4b1)]['id'],{'unitId':_0x2cd161['getUnitId'](),'subUnitId':_0x1a2df8});return;}((_0x271da0=_0x2cd161[_0x11843a(0x426)]())==null?void 0x0:_0x271da0[_0x11843a(0x3f7)]())!==_0x5286b5&&await this[_0x11843a(0x51f)][_0x11843a(0x39d)](_0x538a64[_0x11843a(0x4b1)]['id'],{'unitId':_0x2cd161[_0x11843a(0x2cc)](),'subUnitId':_0x5286b5});}async[_0x187cb8(0x2e7)](_0x58869f){const _0x1dbc05=_0x187cb8;let _0x222963=0x0;const _0x58cf24=await this['_localCacheService'][_0x1dbc05(0x3b9)](_0x58869f);return _0x58cf24&&(_0x58cf24['awaitingChangeset']||_0x58cf24[_0x1dbc05(0x4c8)][_0x1dbc05(0x521)]!==0x0)&&(_0x222963=_0x58cf24[_0x1dbc05(0x4e3)]),_0x222963===0x0&&this[_0x1dbc05(0x213)][_0x1dbc05(0x18b)]('[DataLoaderController]',_0x1dbc05(0x491)),this[_0x1dbc05(0x1dd)]['loadSheet'](_0x58869f,_0x222963);}async[_0x187cb8(0x2fe)](_0xd08bc7){const _0x35c376=_0x187cb8;let _0x214d13=0x0;const _0x1d0c13=await this[_0x35c376(0x39f)][_0x35c376(0x3b9)](_0xd08bc7);return _0x1d0c13&&(_0x1d0c13[_0x35c376(0x438)]||_0x1d0c13[_0x35c376(0x4c8)][_0x35c376(0x521)]!==0x0)&&(_0x214d13=_0x1d0c13[_0x35c376(0x4e3)]),_0x214d13===0x0&&this['_logService'][_0x35c376(0x18b)](_0x35c376(0x4b3),_0x35c376(0x491)),this[_0x35c376(0x1dd)]['loadDoc'](_0xd08bc7,_0x214d13);}},_0xedfd91[_0x187cb8(0x387)]=_0x28140f([_0x5503f0(0x0,_0x368bf3),_0x5503f0(0x1,_0x35f0f7[_0x187cb8(0x29f)]),_0x5503f0(0x2,_0x35f0f7['ICommandService']),_0x5503f0(0x3,_0x35f0f7['Inject'](_0xedfd91[_0x187cb8(0x3be)])),_0x5503f0(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0x69458a[_0x187cb8(0x2f9)])),_0x5503f0(0x5,_0x35f0f7[_0x187cb8(0x40b)](_0x230ed1[_0x187cb8(0xea)]))],_0xedfd91['DataLoaderController']);var _0xc874e0=Object[_0x187cb8(0x429)],_0x1fa9db=Object[_0x187cb8(0x358)],_0x1d9be1=(_0x30156f,_0x4910a8,_0x5ad844,_0xc8259d)=>{const _0x2c5622=_0x187cb8;for(var _0x1ff99c=_0xc8259d>0x1?void 0x0:_0xc8259d?_0x1fa9db(_0x4910a8,_0x5ad844):_0x4910a8,_0x21e689=_0x30156f[_0x2c5622(0x521)]-0x1,_0x45ecba;_0x21e689>=0x0;_0x21e689--)(_0x45ecba=_0x30156f[_0x21e689])&&(_0x1ff99c=(_0xc8259d?_0x45ecba(_0x4910a8,_0x5ad844,_0x1ff99c):_0x45ecba(_0x1ff99c))||_0x1ff99c);return _0xc8259d&&_0x1ff99c&&_0xc874e0(_0x4910a8,_0x5ad844,_0x1ff99c),_0x1ff99c;},_0x282a30=(_0xa3df96,_0x58ccee)=>(_0x3c45bc,_0x3ed8c0)=>_0x58ccee(_0x3c45bc,_0x3ed8c0,_0xa3df96);const _0x3eab29=_0x187cb8(0x3b5),_0x3c21e8=_0x187cb8(0x216);let _0x8f0cd3=class extends _0x35f0f7[_0x187cb8(0x18a)]{constructor(_0x131f30,_0x26130f){const _0x1a1edb=_0x187cb8;super(),this[_0x1a1edb(0x21b)]=_0x131f30,this[_0x1a1edb(0x1c6)]=_0x26130f,this[_0x1a1edb(0x2f5)]();}[_0x187cb8(0x2f5)](){const _0x1c4802=_0x187cb8;this[_0x1c4802(0x403)](this[_0x1c4802(0x21b)]['focused$']['subscribe'](()=>{const _0x5e37db=_0x1c4802;var _0x5f2dec;const _0x390616=this['_univerInstanceService']['getFocusedUnit']();let _0x72c99b=(_0x5f2dec=this[_0x5e37db(0x1c6)][_0x5e37db(0x232)](_0x3eab29))!=null?_0x5f2dec:_0x3c21e8;_0x390616 instanceof _0x35f0f7[_0x5e37db(0x311)]&&(_0x72c99b=_0x390616[_0x5e37db(0x4d6)]),document[_0x5e37db(0x4f6)]=_0x72c99b;}));}};_0x8f0cd3=_0x1d9be1([_0x282a30(0x0,_0x35f0f7[_0x187cb8(0x2cd)]),_0x282a30(0x1,_0x35f0f7['IConfigService'])],_0x8f0cd3);var _0x498cd2=Object[_0x187cb8(0x429)],_0x16f79d=Object[_0x187cb8(0x358)],_0x471ed2=(_0x374f33,_0x29f8bf,_0x2977a4,_0x4f65a2)=>{const _0x38c5da=_0x187cb8;for(var _0x3df28e=_0x4f65a2>0x1?void 0x0:_0x4f65a2?_0x16f79d(_0x29f8bf,_0x2977a4):_0x29f8bf,_0x1303b4=_0x374f33[_0x38c5da(0x521)]-0x1,_0xcf114a;_0x1303b4>=0x0;_0x1303b4--)(_0xcf114a=_0x374f33[_0x1303b4])&&(_0x3df28e=(_0x4f65a2?_0xcf114a(_0x29f8bf,_0x2977a4,_0x3df28e):_0xcf114a(_0x3df28e))||_0x3df28e);return _0x4f65a2&&_0x3df28e&&_0x498cd2(_0x29f8bf,_0x2977a4,_0x3df28e),_0x3df28e;},_0x21913f=(_0x566af1,_0x1d9a20)=>(_0x337ef5,_0x3cf8f6)=>_0x1d9a20(_0x337ef5,_0x3cf8f6,_0x566af1);let _0x378452=class{constructor(_0x1cfd0c,_0x2319da,_0x351160){const _0x241bda=_0x187cb8;this['_configService']=_0x1cfd0c,this[_0x241bda(0x130)]=_0x2319da,this[_0x241bda(0x334)]=_0x351160,this[_0x241bda(0x457)]();}[_0x187cb8(0x457)](){const _0x3b1464=_0x187cb8;this[_0x3b1464(0x130)][_0x3b1464(0x4b7)]({'priority':0x1,'interceptor':(_0x28cd34,_0x15533c)=>_0x15533c(_0x28cd34)['pipe'](_0x469a80['concatMap'](async _0x346f45=>{const _0x213a59=_0x3b1464,_0x421406=_0x346f45;if(_0x421406[_0x213a59(0x32e)]===0x191&&window['confirm'](this[_0x213a59(0x334)]['t'](_0x213a59(0x333)))){const _0x274758=window[_0x213a59(0x2dc)](window[_0x213a59(0x121)][_0x213a59(0x109)]);window[_0x213a59(0x121)][_0x213a59(0x109)]=this[_0x213a59(0x1ce)]()+_0x213a59(0x43e)+_0x274758;}return _0x421406;}))});}[_0x187cb8(0x1ce)](){const _0x515a99=_0x187cb8;var _0x1368de,_0x2c8395;const _0x2493dc=this['_configService'][_0x515a99(0x232)](_0x325e08),_0x10ef4a=this[_0x515a99(0x1c6)][_0x515a99(0x232)](_0x62c88d);return(_0x2c8395=(_0x1368de=_0x10ef4a==null?void 0x0:_0x10ef4a['loginUrlKey'])!=null?_0x1368de:_0x2493dc)!=null?_0x2c8395:_0x3c8117;}};_0x378452=_0x471ed2([_0x21913f(0x0,_0x35f0f7['IConfigService']),_0x21913f(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0x5c5830['HTTPService'])),_0x21913f(0x2,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x14a)]))],_0x378452);var _0x3fae90=Object[_0x187cb8(0x429)],_0x4b5202=Object[_0x187cb8(0x358)],_0x1d7ce4=(_0x371d1e,_0x1b858a,_0x40e464,_0x47662a)=>{const _0x8a6605=_0x187cb8;for(var _0x3a0562=_0x47662a>0x1?void 0x0:_0x47662a?_0x4b5202(_0x1b858a,_0x40e464):_0x1b858a,_0x44354a=_0x371d1e[_0x8a6605(0x521)]-0x1,_0x29c95e;_0x44354a>=0x0;_0x44354a--)(_0x29c95e=_0x371d1e[_0x44354a])&&(_0x3a0562=(_0x47662a?_0x29c95e(_0x1b858a,_0x40e464,_0x3a0562):_0x29c95e(_0x3a0562))||_0x3a0562);return _0x47662a&&_0x3a0562&&_0x3fae90(_0x1b858a,_0x40e464,_0x3a0562),_0x3a0562;},_0x512917=(_0x38d717,_0x1cc6c5)=>(_0x3b628c,_0x18f323)=>_0x1cc6c5(_0x3b628c,_0x18f323,_0x38d717);const _0x372f46=_0x187cb8(0x31e),_0x243bf3=_0x187cb8(0x48e);_0xedfd91[_0x187cb8(0x174)]=class extends _0x35f0f7[_0x187cb8(0x18a)]{constructor(_0x3052ee,_0x13fe99){const _0x29d469=_0x187cb8;super(),this[_0x29d469(0x21e)]=_0x3052ee,this[_0x29d469(0x1c6)]=_0x13fe99,this[_0x29d469(0x3d9)]();}[_0x187cb8(0x3d9)](){const _0x29c7bc=_0x187cb8,_0x583037=this;this[_0x29c7bc(0x403)](this[_0x29c7bc(0x21e)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x5c5830[_0x29c7bc(0x120)]({'isMatch'(_0x54b3f2){const _0x379f48=_0x29c7bc;var _0x3be3e0;if(_0x54b3f2['method']===_0x379f48(0x2a6)&&((_0x3be3e0=_0x54b3f2[_0x379f48(0x283)])!=null&&_0x3be3e0[_0x379f48(0xfd)])){const {objectID:_0x2cb40e,objectType:_0xca15b1}=_0x54b3f2[_0x379f48(0x283)][_0x379f48(0xfd)]||{};if(!_0x2cb40e||_0xca15b1===void 0x0)return!0x1;const _0x116a69=_0x583037['_getAPIPrefixPath']()+'/'+_0xca15b1+_0x379f48(0x408)+_0x2cb40e+_0x379f48(0x359);if(_0x54b3f2['url']===_0x116a69)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x93be99){const _0x16e5aa=_0x29c7bc;var _0x1df293;return(_0x1df293=_0x93be99[_0x16e5aa(0x283)])==null?void 0x0:_0x1df293[_0x16e5aa(0xfd)];},'mergeParamsToRequest'(_0x22bbe2,_0x538bfe){const _0xbd5272=_0x29c7bc,_0x3cf0a9=_0x583037['_getAPIPrefixPath']()+_0xbd5272(0xde),_0x246524=_0x22bbe2[_0xbd5272(0x1a4)]((_0x5e3b54,_0x185dc7)=>{const _0xc75840=_0xbd5272,{unitID:_0xa3fe08,objectID:_0x2d540d,objectType:_0xc1cbe8,actions:_0x5d2634}=_0x185dc7;return _0x5e3b54[_0xa3fe08]||(_0x5e3b54[_0xa3fe08]={}),_0x5e3b54[_0xa3fe08][_0x2d540d]||(_0x5e3b54[_0xa3fe08][_0x2d540d]={'objectID':_0x2d540d,'objectType':_0xc1cbe8,'actions':[]}),_0x5e3b54[_0xa3fe08][_0x2d540d][_0xc75840(0x246)][_0xc75840(0x293)](..._0x5d2634),_0x5e3b54;},{}),_0x4f14b2=[];for(const _0x24836c in _0x246524)for(const _0xae31a5 in _0x246524[_0x24836c]){const {actions:_0x4917bb,objectType:_0x2109b3}=_0x246524[_0x24836c][_0xae31a5],_0x28a737=[...new Set(_0x4917bb)];_0x4f14b2[_0xbd5272(0x293)]({'unitID':_0x24836c,'objectID':_0xae31a5,'objectType':_0x2109b3,'actions':_0x28a737});}return new _0x5c5830[(_0xbd5272(0x514))]('POST',_0x3cf0a9,{'headers':_0x538bfe[_0xbd5272(0x2a2)],'withCredentials':_0x538bfe[_0xbd5272(0x4ec)],'responseType':_0x538bfe[_0xbd5272(0x4b9)],'body':{'requests':_0x4f14b2}});}},{'distributeResult'(_0x3261fa,_0x499f0a){const _0x382606=_0x29c7bc,{objectActions:_0x23878b}=_0x3261fa;return _0x499f0a[_0x382606(0x31a)](_0x5ce1af=>{const _0x341c61=_0x382606,{unitID:_0x117aff,objectID:_0x3412ab,actions:_0x5dae1c}=_0x5ce1af,_0x12622c=_0x23878b[_0x341c61(0x309)](_0x1cc0fa=>_0x1cc0fa['unitID']===_0x117aff&&_0x1cc0fa[_0x341c61(0x187)]===_0x3412ab),_0x1295e2=_0x5dae1c[_0x341c61(0x31a)](_0x474024=>_0x12622c==null?void 0x0:_0x12622c[_0x341c61(0x246)][_0x341c61(0x309)](_0x15c9dd=>_0x15c9dd[_0x341c61(0x497)]===_0x474024))[_0x341c61(0x47f)](_0x1abf81=>!!_0x1abf81);return{'config':_0x5ce1af,'result':{'actions':_0x1295e2,'error':_0x3261fa[_0x341c61(0x1ed)]}};});}})}));}['_getAPIPrefixPath'](){const _0x528d8a=_0x187cb8;var _0x5d18c5,_0x250850;const _0x547c04=this[_0x528d8a(0x1c6)]['getConfig'](_0x372f46),_0x3bad1b=this[_0x528d8a(0x1c6)]['getConfig'](_0x62c88d);return(_0x250850=(_0x5d18c5=_0x3bad1b==null?void 0x0:_0x3bad1b['authzUrl'])!=null?_0x5d18c5:_0x547c04)!=null?_0x250850:_0x243bf3;}async['create'](_0x419fcd){const _0x434df8=_0x187cb8,_0x21605b=this[_0x434df8(0x2ef)]()+'/'+_0x419fcd[_0x434df8(0x1da)]+_0x434df8(0x142);return(await this[_0x434df8(0x21e)][_0x434df8(0xf0)](_0x21605b,{'body':_0x419fcd}))[_0x434df8(0xfd)][_0x434df8(0x187)]||'';}async[_0x187cb8(0x32f)](_0x219eb5){const _0x56d62d=_0x187cb8,_0x3b6f70=this[_0x56d62d(0x2ef)]()+'/-/object/list';return(await this[_0x56d62d(0x21e)]['post'](_0x3b6f70,{'body':_0x219eb5}))[_0x56d62d(0xfd)][_0x56d62d(0x1bd)];}async[_0x187cb8(0x502)](_0x5a86d4){const _0xd04e1f=_0x187cb8,_0x1da245=this[_0xd04e1f(0x2ef)]()+'/'+_0x5a86d4[_0xd04e1f(0x1da)]+'/object/'+_0x5a86d4['objectID'];await this[_0xd04e1f(0x21e)][_0xd04e1f(0x231)](_0x1da245,{'body':_0x5a86d4});}async[_0x187cb8(0x2a4)](_0x4f29de){const _0x5da384=_0x187cb8,_0x1c3472=this[_0x5da384(0x2ef)]()+'/'+_0x4f29de['objectType']+_0x5da384(0x408)+_0x4f29de[_0x5da384(0x187)]+_0x5da384(0x359);return(await this[_0x5da384(0x21e)]['post'](_0x1c3472,{'body':_0x4f29de}))[_0x5da384(0xfd)][_0x5da384(0x246)];}async[_0x187cb8(0x443)](_0x53544){const _0x3e12b0=_0x187cb8,_0x3abf13=this['_getAPIPrefixPath']()+_0x3e12b0(0xde);return(await this[_0x3e12b0(0x21e)][_0x3e12b0(0xf0)](_0x3abf13,{'body':{'requests':_0x53544}}))[_0x3e12b0(0xfd)][_0x3e12b0(0x208)];}async[_0x187cb8(0x230)](_0x5ce090){const _0x30f1db=_0x187cb8,_0x5400b1=this['_getAPIPrefixPath']()+'/'+_0x5ce090[_0x30f1db(0x1da)]+'/role',_0x18bf72=await this['_HTTPService'][_0x30f1db(0xf0)](_0x5400b1,{'body':_0x5ce090});return{'roles':_0x18bf72[_0x30f1db(0xfd)][_0x30f1db(0x33c)],'actions':_0x18bf72['body']['actions']};}async[_0x187cb8(0x48b)](_0x5e980d){const _0x50aeff=_0x187cb8,_0x3e5fc5=this[_0x50aeff(0x2ef)]()+_0x50aeff(0x261);await this['_HTTPService'][_0x50aeff(0x1c5)](_0x3e5fc5,{'params':{'collaboratorID':_0x5e980d[_0x50aeff(0x349)],'objectID':_0x5e980d[_0x50aeff(0x187)],'unitID':_0x5e980d[_0x50aeff(0x33f)]}});}async['updateCollaborator'](_0x46ea06){const _0x161c63=_0x187cb8,_0x288fcd=this[_0x161c63(0x2ef)]()+_0x161c63(0x261);await this[_0x161c63(0x21e)][_0x161c63(0x2e0)](_0x288fcd,{'body':_0x46ea06});}async[_0x187cb8(0x50a)](_0x433606){const _0x1b874e=_0x187cb8,_0x4d342a=this['_getAPIPrefixPath']()+_0x1b874e(0x261);await this[_0x1b874e(0x21e)][_0x1b874e(0xf0)](_0x4d342a,{'body':_0x433606});}async[_0x187cb8(0x192)](_0xf6881f){const _0x5ac0c2=_0x187cb8,_0x336db0=this[_0x5ac0c2(0x2ef)]()+_0x5ac0c2(0x261);return(await this[_0x5ac0c2(0x21e)][_0x5ac0c2(0xf4)](_0x336db0,{'params':{'objectID':_0xf6881f[_0x5ac0c2(0x187)],'unitID':_0xf6881f['unitID']}}))['body'][_0x5ac0c2(0x112)];}async['putCollaborators'](_0x578d69){const _0x178f3c=_0x187cb8,_0x3747f3=this['_getAPIPrefixPath']()+_0x178f3c(0x261);await this['_HTTPService'][_0x178f3c(0x231)](_0x3747f3,{'body':_0x578d69});}},_0xedfd91[_0x187cb8(0x174)]=_0x1d7ce4([_0x512917(0x0,_0x35f0f7[_0x187cb8(0x15a)](_0x5c5830[_0x187cb8(0x4c6)])),_0x512917(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7['IConfigService']))],_0xedfd91['AuthzIoHttpService']);var _0x246f1b=Object['defineProperty'],_0x322d40=Object[_0x187cb8(0x358)],_0x19be33=(_0x41695c,_0x35d79e,_0x139fba,_0x139470)=>{const _0x365662=_0x187cb8;for(var _0xe0d739=_0x139470>0x1?void 0x0:_0x139470?_0x322d40(_0x35d79e,_0x139fba):_0x35d79e,_0x205072=_0x41695c[_0x365662(0x521)]-0x1,_0x29b864;_0x205072>=0x0;_0x205072--)(_0x29b864=_0x41695c[_0x205072])&&(_0xe0d739=(_0x139470?_0x29b864(_0x35d79e,_0x139fba,_0xe0d739):_0x29b864(_0xe0d739))||_0xe0d739);return _0x139470&&_0xe0d739&&_0x246f1b(_0x35d79e,_0x139fba,_0xe0d739),_0xe0d739;},_0x420eaf=(_0x5bd9,_0x51b6f8)=>(_0x32fa74,_0x3c846a)=>_0x51b6f8(_0x32fa74,_0x3c846a,_0x5bd9);let _0x76a0fa=class{constructor(_0x12b9aa){const _0x5affee=_0x187cb8;this[_0x5affee(0x130)]=_0x12b9aa,this[_0x5affee(0x22b)]();}['_initRequestHeader'](){const _0x5c3443=_0x187cb8;this[_0x5c3443(0x130)][_0x5c3443(0x4b7)]({'interceptor':(_0x1fa5a9,_0x14d64b)=>{const _0x439ef5=_0x5c3443,_0x127903=_0x1fa5a9[_0x439ef5(0x2a2)],_0x34ba95=_0x5af54b[_0x439ef5(0x227)]();return _0x34ba95&&_0x127903[_0x439ef5(0x33d)](_0x439ef5(0x281),_0x34ba95),_0x14d64b(_0x1fa5a9);}});}};_0x76a0fa=_0x19be33([_0x420eaf(0x0,_0x35f0f7[_0x187cb8(0x15a)](_0x5c5830['HTTPService']))],_0x76a0fa);var _0x43d445=Object['defineProperty'],_0x3cab3c=Object[_0x187cb8(0x358)],_0x30f5a8=(_0x2d736b,_0x207584,_0xdb29d6,_0x99bd3d)=>{for(var _0x2e2db6=_0x99bd3d>0x1?void 0x0:_0x99bd3d?_0x3cab3c(_0x207584,_0xdb29d6):_0x207584,_0x16fc81=_0x2d736b['length']-0x1,_0x3e7d32;_0x16fc81>=0x0;_0x16fc81--)(_0x3e7d32=_0x2d736b[_0x16fc81])&&(_0x2e2db6=(_0x99bd3d?_0x3e7d32(_0x207584,_0xdb29d6,_0x2e2db6):_0x3e7d32(_0x2e2db6))||_0x2e2db6);return _0x99bd3d&&_0x2e2db6&&_0x43d445(_0x207584,_0xdb29d6,_0x2e2db6),_0x2e2db6;},_0xc5d06=(_0x5c2b9c,_0x61a41d)=>(_0x4beeab,_0x42d8d1)=>_0x61a41d(_0x4beeab,_0x42d8d1,_0x5c2b9c);const _0x3f7429=['image/png',_0x187cb8(0x235),_0x187cb8(0x30a),_0x187cb8(0x4fc),_0x187cb8(0x241)],_0x5ce3ff=0x5*0x400*0x400,_0x2bdfcf=_0x187cb8(0x270),_0x1f3589=_0x187cb8(0x299),_0x18f26b='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x3d0d4e=_0x187cb8(0x26a);_0xedfd91[_0x187cb8(0x2c9)]=class{constructor(_0x445d56,_0x3a82a0,_0x4403cf){const _0x2c2bf3=_0x187cb8;_0xa611d0(this,_0x2c2bf3(0x221),0x0),_0xa611d0(this,_0x2c2bf3(0x357),new _0x469a80[(_0x2c2bf3(0x18e))]()),_0xa611d0(this,'change$',this['_change$']),_0xa611d0(this,_0x2c2bf3(0x4cd),new Map()),(this['_httpService']=_0x445d56,this[_0x2c2bf3(0x1c6)]=_0x3a82a0,this[_0x2c2bf3(0x21b)]=_0x4403cf);}[_0x187cb8(0x399)](_0x2e4633){const _0x550512=_0x187cb8;this['_waitCount']=_0x2e4633,this['_change$'][_0x550512(0x401)](_0x2e4633);}[_0x187cb8(0x2bc)](_0x2aa18c,_0x29c6b4){const _0x31cf96=_0x187cb8;if(_0x29c6b4===_0x3cd5f7['ImageSourceType']['BASE64']){const _0x58b839=new Image();return _0x58b839[_0x31cf96(0x3cb)]=_0x2aa18c,_0x58b839;}return this[_0x31cf96(0x4cd)]['get'](_0x2aa18c);}[_0x187cb8(0x3b8)](_0xd7751a,_0x12abf0,_0x172459){const _0x160ce3=_0x187cb8;_0x12abf0===_0x3cd5f7[_0x160ce3(0x157)][_0x160ce3(0x2dd)]||_0x172459==null||this[_0x160ce3(0x4cd)][_0x160ce3(0x33d)](_0xd7751a,_0x172459);}async['getImage'](_0x400f9d){const _0x2ddbd6=_0x187cb8;try{const _0x1b4f8c=this['_replaceFileID'](this[_0x2ddbd6(0x3cf)](),''+_0x400f9d),_0x8e5089=(await this[_0x2ddbd6(0x130)][_0x2ddbd6(0xf4)](_0x1b4f8c))['body'];if(_0x8e5089[_0x2ddbd6(0x1ed)]&&_0x8e5089[_0x2ddbd6(0x1ed)][_0x2ddbd6(0x3ad)]===_0x29383f['OK']){const _0x19b9de=new URL(_0x8e5089[_0x2ddbd6(0x43b)],this[_0x2ddbd6(0x1ca)]())['toString']();return Promise[_0x2ddbd6(0x517)](_0x19b9de);}return Promise[_0x2ddbd6(0x44d)](_0x8e5089[_0x2ddbd6(0x1ed)]);}catch(_0x1346c4){return Promise[_0x2ddbd6(0x44d)](_0x1346c4);}}async[_0x187cb8(0xe1)](_0x249984){const _0xe14d39=_0x187cb8;let _0x358789='';if(!_0x3f7429[_0xe14d39(0xfe)](_0x249984[_0xe14d39(0x16e)]))return this[_0xe14d39(0x4ea)](),Promise['reject'](new Error(_0x3cd5f7[_0xe14d39(0x295)][_0xe14d39(0x45e)]));if(_0x249984[_0xe14d39(0x1b2)]>_0x5ce3ff)return this['_decreaseWaiting'](),Promise[_0xe14d39(0x44d)](new Error(_0x3cd5f7[_0xe14d39(0x295)][_0xe14d39(0x21f)]));try{const _0x3390c4=new FormData();_0x3390c4[_0xe14d39(0x137)](_0xe14d39(0x1f9),_0x249984);const _0x1d818f=this[_0xe14d39(0x21b)][_0xe14d39(0x392)](),_0x4a1267=_0x1d818f==null?void 0x0:_0x1d818f['getUnitId']();if(!_0x4a1267)throw new Error(_0xe14d39(0x2ce));const _0x43de1f=this['_getUploadFileURL']()+'?size='+_0x249984[_0xe14d39(0x1b2)][_0xe14d39(0x4eb)]()+_0xe14d39(0x16d)+_0x3180b1['UnitEmbedded']+_0xe14d39(0x2e3)+encodeURIComponent(_0x4a1267),_0x7f85ed=await(await fetch(_0x43de1f,{'method':_0xe14d39(0x2a6),'body':_0x3390c4}))['json']();if(typeof _0x7f85ed[_0xe14d39(0x228)]!=_0xe14d39(0x180))return this[_0xe14d39(0x4ea)](),Promise['reject'](new Error(_0x3cd5f7[_0xe14d39(0x295)][_0xe14d39(0x26b)]));_0x358789=_0x7f85ed[_0xe14d39(0x228)];}catch{return this[_0xe14d39(0x4ea)](),Promise[_0xe14d39(0x44d)](new Error(_0x3cd5f7[_0xe14d39(0x295)][_0xe14d39(0x26b)]));}return new Promise((_0x3d37c,_0x2f8c12)=>{const _0x68ddd4=new FileReader();_0x68ddd4['readAsDataURL'](_0x249984),_0x68ddd4['onload']=_0x4ab2b3=>{const _0x5bbb1b=_0x30a8;var _0x18a2d8;const _0x4c22cd=(_0x18a2d8=_0x4ab2b3['target'])==null?void 0x0:_0x18a2d8['result'];if(_0x4c22cd==null){this[_0x5bbb1b(0x4ea)](),_0x2f8c12(new Error(_0x3cd5f7[_0x5bbb1b(0x295)][_0x5bbb1b(0x26b)]));return;}const _0x15ae94=_0x35f0f7[_0x5bbb1b(0x32c)][_0x5bbb1b(0xfb)](0x6);_0x3d37c({'imageId':_0x15ae94,'imageSourceType':_0x3cd5f7['ImageSourceType'][_0x5bbb1b(0x459)],'source':_0x358789,'base64Cache':_0x4c22cd,'status':_0x3cd5f7[_0x5bbb1b(0x295)][_0x5bbb1b(0x2a7)]}),this[_0x5bbb1b(0x4ea)]();};});}[_0x187cb8(0x47e)](){const _0x4fece0=_0x187cb8;var _0xc5ad8d,_0x19c43d;const _0x30c110=this[_0x4fece0(0x1c6)][_0x4fece0(0x232)](_0x2bdfcf),_0x430daa=this[_0x4fece0(0x1c6)][_0x4fece0(0x232)](_0x62c88d);return(_0x19c43d=(_0xc5ad8d=_0x430daa==null?void 0x0:_0x430daa[_0x4fece0(0x30d)])!=null?_0xc5ad8d:_0x30c110)!=null?_0x19c43d:_0x1f3589;}[_0x187cb8(0x3cf)](){const _0x8d8c01=_0x187cb8;var _0x6fc8fa,_0x58d89c;const _0x182b63=this[_0x8d8c01(0x1c6)]['getConfig'](_0x18f26b),_0x4a9e62=this[_0x8d8c01(0x1c6)][_0x8d8c01(0x232)](_0x62c88d);return(_0x58d89c=(_0x6fc8fa=_0x4a9e62==null?void 0x0:_0x4a9e62['signUrlServerUrl'])!=null?_0x6fc8fa:_0x182b63)!=null?_0x58d89c:_0x3d0d4e;}[_0x187cb8(0x1ca)](){const _0x710d95=_0x187cb8;var _0x13b2a4;const _0x1e2668=this['_configService']['getConfig'](_0x62c88d);return(_0x13b2a4=_0x1e2668==null?void 0x0:_0x1e2668[_0x710d95(0xf1)])!=null?_0x13b2a4:location['origin'];}[_0x187cb8(0x42a)](_0x4dbeb1,_0x2ebec9){const _0x4f73b8=_0x187cb8;return _0x4dbeb1[_0x4f73b8(0x296)](_0x4f73b8(0x225),_0x2ebec9);}['_decreaseWaiting'](){const _0x16a650=_0x187cb8;this[_0x16a650(0x221)]-=0x1,this[_0x16a650(0x357)][_0x16a650(0x401)](this['_waitCount']);}},_0xedfd91[_0x187cb8(0x2c9)]=_0x30f5a8([_0xc5d06(0x0,_0x35f0f7[_0x187cb8(0x15a)](_0x5c5830[_0x187cb8(0x4c6)])),_0xc5d06(0x1,_0x35f0f7[_0x187cb8(0x141)]),_0xc5d06(0x2,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7['IUniverInstanceService']))],_0xedfd91[_0x187cb8(0x2c9)]);var _0xcddc94=Object[_0x187cb8(0x429)],_0x23b206=Object['getOwnPropertyDescriptor'],_0x519d96=(_0x2904f0,_0x13646a,_0x157644,_0x2c72b8)=>{const _0x2fe9e7=_0x187cb8;for(var _0xf348f=_0x2c72b8>0x1?void 0x0:_0x2c72b8?_0x23b206(_0x13646a,_0x157644):_0x13646a,_0x1101af=_0x2904f0[_0x2fe9e7(0x521)]-0x1,_0x45d867;_0x1101af>=0x0;_0x1101af--)(_0x45d867=_0x2904f0[_0x1101af])&&(_0xf348f=(_0x2c72b8?_0x45d867(_0x13646a,_0x157644,_0xf348f):_0x45d867(_0xf348f))||_0xf348f);return _0x2c72b8&&_0xf348f&&_0xcddc94(_0x13646a,_0x157644,_0xf348f),_0xf348f;},_0x355dd7=(_0x211756,_0x3ffb2d)=>(_0x1d174f,_0x3e08ce)=>_0x3ffb2d(_0x1d174f,_0x3e08ce,_0x211756);let _0x3e61d6=class extends _0x35f0f7[_0x187cb8(0x115)]{constructor(_0x25ba89,_0x4ba9d6,_0x9b0916,_0x319658,_0x4651c8){const _0x2543de=_0x187cb8;super(),this['_injector']=_0x25ba89,this[_0x2543de(0x21b)]=_0x4ba9d6,this[_0x2543de(0x195)]=_0x9b0916,this[_0x2543de(0x360)]=_0x319658,this[_0x2543de(0x506)]=_0x4651c8,this[_0x2543de(0x102)](),this['_initCloseConn']();}[_0x187cb8(0x17e)](){const _0x589856=_0x187cb8,_0x1a04da=async _0x9d9079=>{const _0x12be56=_0x30a8;(await this[_0x12be56(0x360)][_0x12be56(0x172)](_0x9d9079))[_0x12be56(0x475)]['pipe'](_0x3c93c6[_0x12be56(0x47f)](_0x2009d5=>_0x2009d5[_0x12be56(0x143)]===_0x69458a['CollaborationEvent'][_0x12be56(0x4f9)]),_0x3c93c6[_0x12be56(0x2aa)](this[_0x12be56(0x48c)]))[_0x12be56(0x377)](_0x3efdf8=>{const _0x16cbb6=_0x12be56,_0x518acb=_0x3efdf8,{reason:_0x54fc13}=_0x518acb['data'];this[_0x16cbb6(0x41c)][_0x16cbb6(0xf4)](_0x2b561e[_0x16cbb6(0x322)])[_0x16cbb6(0x1a2)]({'type':_0xed3e06[_0x16cbb6(0x528)][_0x16cbb6(0x156)],'content':this[_0x16cbb6(0x506)]['t'](_0x16cbb6(0x1e8))+'('+_0x54fc13+')'}),this['_permissionService'][_0x16cbb6(0x132)](new _0x538a64['WorkbookEditablePermission'](_0x9d9079)['id'],!0x1),this[_0x16cbb6(0x360)][_0x16cbb6(0x1b5)](_0x9d9079);});};_0x469a80[_0x589856(0x215)](this[_0x589856(0x21b)][_0x589856(0x1b7)](_0x35f0f7[_0x589856(0x48f)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x35f0f7[_0x589856(0x48f)][_0x589856(0x3e9)]))[_0x589856(0x32b)](_0x3c93c6[_0x589856(0x31a)](_0x4b82a0=>_0x4b82a0[_0x589856(0x2cc)]()),_0x3c93c6[_0x589856(0x47f)](_0x14f023=>!_0x35f0f7[_0x589856(0x111)](_0x14f023)),_0x3c93c6[_0x589856(0x2aa)](this[_0x589856(0x48c)]))[_0x589856(0x377)](_0x4f3cb4=>{_0x1a04da(_0x4f3cb4);});}['_initUnitPermissionChange'](){const _0x3067ad=_0x187cb8,_0x3d8ce6=async _0x23705d=>{const _0x166473=_0x30a8;(await this[_0x166473(0x360)]['requireSession'](_0x23705d))[_0x166473(0x475)][_0x166473(0x32b)](_0x3c93c6[_0x166473(0x47f)](_0x44b5d1=>_0x44b5d1[_0x166473(0x143)]===_0x69458a[_0x166473(0x2e6)][_0x166473(0x3a5)]),_0x3c93c6[_0x166473(0x2aa)](this['dispose$']))[_0x166473(0x377)](_0x27d1ca=>{const _0xdff8ea=_0x166473,_0xbe9f36=_0x27d1ca,{objectId:_0x1e5345}=_0xbe9f36[_0xdff8ea(0x350)],_0x10f046=this[_0xdff8ea(0x41c)][_0xdff8ea(0xf4)](_0x5268db[_0xdff8ea(0x383)]);_0x1e5345===_0x23705d?_0x10f046[_0xdff8ea(0x395)](_0x23705d):_0x10f046['refreshPermission'](_0x23705d,_0x1e5345);});};_0x469a80[_0x3067ad(0x215)](this[_0x3067ad(0x21b)][_0x3067ad(0x1b7)](_0x35f0f7[_0x3067ad(0x48f)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x3067ad(0x1b7)](_0x35f0f7[_0x3067ad(0x48f)][_0x3067ad(0x3e9)]))[_0x3067ad(0x32b)](_0x3c93c6[_0x3067ad(0x31a)](_0x143d0c=>_0x143d0c['getUnitId']()),_0x3c93c6[_0x3067ad(0x47f)](_0x5cfa53=>!_0x35f0f7[_0x3067ad(0x111)](_0x5cfa53)),_0x3c93c6[_0x3067ad(0x2aa)](this['dispose$']))[_0x3067ad(0x377)](_0x2b2f1e=>{_0x3d8ce6(_0x2b2f1e);});}};_0x3e61d6=_0x519d96([_0x355dd7(0x0,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x1a8)])),_0x355dd7(0x1,_0x35f0f7[_0x187cb8(0x2cd)]),_0x355dd7(0x2,_0x35f0f7['IPermissionService']),_0x355dd7(0x3,_0x35f0f7[_0x187cb8(0x15a)](_0xedfd91['CollaborationSessionService'])),_0x355dd7(0x4,_0x35f0f7[_0x187cb8(0x15a)](_0x35f0f7[_0x187cb8(0x14a)]))],_0x3e61d6);var _0x32b7f0=Object[_0x187cb8(0x429)],_0x2c7114=Object['getOwnPropertyDescriptor'],_0x532112=(_0x415021,_0xcb53cb,_0x11b303,_0x48e71b)=>{for(var _0x24e4a1=_0x48e71b>0x1?void 0x0:_0x48e71b?_0x2c7114(_0xcb53cb,_0x11b303):_0xcb53cb,_0x4e53c9=_0x415021['length']-0x1,_0x37c629;_0x4e53c9>=0x0;_0x4e53c9--)(_0x37c629=_0x415021[_0x4e53c9])&&(_0x24e4a1=(_0x48e71b?_0x37c629(_0xcb53cb,_0x11b303,_0x24e4a1):_0x37c629(_0x24e4a1))||_0x24e4a1);return _0x48e71b&&_0x24e4a1&&_0x32b7f0(_0xcb53cb,_0x11b303,_0x24e4a1),_0x24e4a1;},_0x49a09a=(_0x4fc916,_0x1b4f2e)=>(_0x58cdf6,_0x46019b)=>_0x1b4f2e(_0x58cdf6,_0x46019b,_0x4fc916);_0xedfd91[_0x187cb8(0x117)]=class{constructor(_0x13cf69,_0x8104d1){const _0x528424=_0x187cb8;this['_configService']=_0x13cf69,this[_0x528424(0x130)]=_0x8104d1;}async[_0x187cb8(0x10c)](_0x4e7f40,_0x42a16d){const _0x4d73f3=_0x187cb8;var _0x88e7f2;const {unitID:_0xf9ae5a,type:_0x5ea875,revision:_0x26fe1a=0x0}=_0x42a16d,_0x44fd1c=this[_0x4d73f3(0x280)]()+'/'+_0x5ea875+'/unit/'+_0xf9ae5a+_0x4d73f3(0x118)+_0x26fe1a,_0x29b401=(await this['_httpService'][_0x4d73f3(0xf4)](_0x44fd1c))[_0x4d73f3(0xfd)],_0xa43135=(_0x88e7f2=_0x29b401[_0x4d73f3(0x511)])==null?void 0x0:_0x88e7f2[_0x4d73f3(0x4dc)];if(_0xa43135){const _0x537d1b=_0xa43135==null?void 0x0:_0xa43135[_0x4d73f3(0x202)],_0x3c6229=_0x69458a[_0x4d73f3(0x286)]['encode'](_0x69458a[_0x4d73f3(0x2ec)](_0x537d1b));_0xa43135[_0x4d73f3(0x202)]=_0x3c6229,Object[_0x4d73f3(0x4a8)](_0xa43135[_0x4d73f3(0x3fb)])[_0x4d73f3(0x25f)](([,_0x9345e6])=>{const _0x4b3d94=_0x4d73f3,_0x3381d7=_0x9345e6[_0x4b3d94(0x202)],_0x3a2698=_0x69458a['textEncoder'][_0x4b3d94(0x3fd)](_0x69458a[_0x4b3d94(0x2ec)](_0x3381d7));_0x9345e6[_0x4b3d94(0x202)]=_0x3a2698;});}return _0x29b401;}async[_0x187cb8(0x10a)](_0xf8ebca,_0x43614b){const _0x115e28=_0x187cb8,{unitID:_0x1b5e4f,type:_0x1280b2,blockID:_0x1c079e}=_0x43614b,_0x1df282=this['_getAPIPrefix']()+'/'+_0x1280b2+'/unit/'+_0x1b5e4f+_0x115e28(0x2fb)+_0x1c079e;return(await this['_httpService']['get'](_0x1df282))[_0x115e28(0xfd)];}async[_0x187cb8(0x1fe)](_0x5450c8,_0x1852e0){const _0x4ca017=_0x187cb8,{unitID:_0x376210,type:_0x3db78b,blockID:_0x13314f}=_0x1852e0,_0x44967f=this[_0x4ca017(0x312)]()+_0x4ca017(0x2fb)+_0x3db78b+_0x4ca017(0x3f8)+_0x376210+_0x4ca017(0x2fb)+_0x13314f;return(await this[_0x4ca017(0x130)][_0x4ca017(0xf4)](_0x44967f))['body'];}async[_0x187cb8(0x297)](_0x124a8a,_0x18ba0d){const _0x2f85ea=_0x187cb8,{unitID:_0x43e38a,type:_0x1c5cda,from:_0x285e5d,to:_0xbf96d1}=_0x18ba0d,_0x20f3b8=this['_getAPIPrefix']()+'/'+_0x1c5cda+_0x2f85ea(0x3f8)+_0x43e38a+_0x2f85ea(0x26f)+_0x285e5d+_0x2f85ea(0x11f)+_0xbf96d1;return(await this[_0x2f85ea(0x130)][_0x2f85ea(0xf4)](_0x20f3b8))[_0x2f85ea(0xfd)];}[_0x187cb8(0x280)](){const _0x5e9d6a=_0x187cb8;var _0x54255c;return(_0x54255c=this[_0x5e9d6a(0x1c6)][_0x5e9d6a(0x232)](_0xc4b24b))!=null?_0x54255c:this[_0x5e9d6a(0x312)]();}[_0x187cb8(0x312)](){const _0x3ded82=_0x187cb8;var _0x4be2a8,_0x2ddb0a;const _0x2efc11=this[_0x3ded82(0x1c6)][_0x3ded82(0x232)](_0x56c12a),_0x1ff944=this['_configService'][_0x3ded82(0x232)](_0x62c88d);return(_0x2ddb0a=(_0x4be2a8=_0x1ff944==null?void 0x0:_0x1ff944[_0x3ded82(0x189)])!=null?_0x4be2a8:_0x2efc11)!=null?_0x2ddb0a:_0x3368ee;}async[_0x187cb8(0x4af)](_0x599da5,_0x22c771){const _0x4cb5f9=_0x187cb8,_0x5634ea=_0x4cb5f9(0x1ea)+_0x22c771['type']+'/unit/'+_0x22c771[_0x4cb5f9(0x33f)]+_0x4cb5f9(0x472);return(await this[_0x4cb5f9(0x130)][_0x4cb5f9(0xf4)](_0x5634ea,{'params':{'resourceId':JSON[_0x4cb5f9(0x4ad)](_0x22c771[_0x4cb5f9(0x3e2)])}}))[_0x4cb5f9(0xfd)];}[_0x187cb8(0x2f8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x187cb8(0x45c)](){const _0x535754=_0x187cb8;throw new Error(_0x535754(0x263));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){const _0x546933=_0x187cb8;throw new Error(_0x546933(0x263));}['getLatestCsReqIdBySid'](){const _0x1c6213=_0x187cb8;throw new Error(_0x1c6213(0x263));}},_0xedfd91[_0x187cb8(0x117)]=_0x532112([_0x49a09a(0x0,_0x35f0f7[_0x187cb8(0x141)]),_0x49a09a(0x1,_0x35f0f7[_0x187cb8(0x15a)](_0x5c5830[_0x187cb8(0x4c6)]))],_0xedfd91[_0x187cb8(0x117)]);var _0x591736=Object[_0x187cb8(0x429)],_0x274f7f=Object[_0x187cb8(0x358)],_0x48aeea=(_0x5e3bab,_0x247ceb,_0x521fbc,_0xa18b5e)=>{for(var _0x39fda4=_0xa18b5e>0x1?void 0x0:_0xa18b5e?_0x274f7f(_0x247ceb,_0x521fbc):_0x247ceb,_0x5dbfc5=_0x5e3bab['length']-0x1,_0x2bf059;_0x5dbfc5>=0x0;_0x5dbfc5--)(_0x2bf059=_0x5e3bab[_0x5dbfc5])&&(_0x39fda4=(_0xa18b5e?_0x2bf059(_0x247ceb,_0x521fbc,_0x39fda4):_0x2bf059(_0x39fda4))||_0x39fda4);return _0xa18b5e&&_0x39fda4&&_0x591736(_0x247ceb,_0x521fbc,_0x39fda4),_0x39fda4;},_0x51e2c5=(_0x520809,_0x31371c)=>(_0x22fdc0,_0x2944c5)=>_0x31371c(_0x22fdc0,_0x2944c5,_0x520809);let _0x21db66=class extends _0x35f0f7[_0x187cb8(0x186)]{constructor(_0x1470f5,_0x588b17,_0x17843c,_0x32dcae,_0x263723){const _0x4fd33e=_0x187cb8;super(_0x1470f5,_0x588b17,_0x17843c),this[_0x4fd33e(0x352)]=_0x32dcae,this[_0x4fd33e(0x213)]=_0x263723;}[_0x187cb8(0x1fa)](_0x1e3bde,_0x118374){const _0x3e827c=_0x187cb8,_0xa4fb=this[_0x3e827c(0x107)](_0x1e3bde);if(_0xa4fb)try{const _0x356ea8=this['_transformStack'](_0xa4fb,_0x118374);this['_substituteUndoStack'](_0x1e3bde,_0x356ea8);}catch(_0x48a225){this[_0x3e827c(0x213)][_0x3e827c(0x1ed)]('[CollaborationUndoRedoService]',_0x48a225),this['_clearUndo'](_0x1e3bde);}const _0x21b10e=this[_0x3e827c(0x1a7)](_0x1e3bde);if(_0x21b10e)try{const _0x5824ab=this['_transformStack'](_0x21b10e,_0x118374);this[_0x3e827c(0x126)](_0x1e3bde,_0x5824ab);}catch(_0x453264){this[_0x3e827c(0x213)][_0x3e827c(0x1ed)](_0x453264),this[_0x3e827c(0x51e)](_0x1e3bde);}}[_0x187cb8(0x2d1)](_0x7db9b8){const _0x1fa4f1=_0x187cb8,_0x380f32=this[_0x1fa4f1(0x107)](_0x7db9b8);_0x380f32&&(_0x380f32[_0x1fa4f1(0x521)]=0x0,this[_0x1fa4f1(0x2e1)]());}[_0x187cb8(0x51e)](_0x3d6d04){const _0x4e5a26=_0x187cb8,_0x4bd4d7=this[_0x4e5a26(0x1a7)](_0x3d6d04);_0x4bd4d7&&(_0x4bd4d7[_0x4e5a26(0x521)]=0x0,this['_updateStatus']());}[_0x187cb8(0x34a)](_0x4e771b,_0x1420ec){const _0x1047a4=_0x187cb8;this[_0x1047a4(0x13a)]['set'](_0x4e771b,_0x1420ec),this[_0x1047a4(0x2e1)]();}['_substituteRedoStack'](_0x21c0ac,_0x204813){const _0x5ea7f0=_0x187cb8;this[_0x5ea7f0(0x27b)][_0x5ea7f0(0x33d)](_0x21c0ac,_0x204813),this[_0x5ea7f0(0x2e1)]();}[_0x187cb8(0x15f)](_0x2fdf7f,_0x5c408e){const _0x455504=_0x187cb8,_0x5aeb48=[];let _0x6cc28e=_0x5c408e,_0xdd7ce0=_0x5c408e;for(let _0x1f32d7=_0x2fdf7f[_0x455504(0x521)]-0x1;_0x1f32d7>=0x0;_0x1f32d7--){const {unitID:_0x20ff64,undoMutations:_0x402336,redoMutations:_0x5a47d0}=_0x2fdf7f[_0x1f32d7],_0x3020a9=this['_transformService'][_0x455504(0x219)](_0x6cc28e,_0x402336),_0x1fc5b7=this['_transformService']['transformMutationsWithChangeset'](_0xdd7ce0,_0x5a47d0);if(_0x69458a[_0x455504(0x439)](_0x3020a9)||_0x69458a[_0x455504(0x439)](_0x1fc5b7)){this[_0x455504(0x213)][_0x455504(0x1ed)](_0x455504(0x1f8),_0x455504(0x222),_0x3020a9,_0x1fc5b7);break;}_0x6cc28e=_0x3020a9[_0x455504(0x2cf)],_0xdd7ce0=_0x1fc5b7[_0x455504(0x2cf)],_0x5aeb48[_0x455504(0x293)]({'unitID':_0x20ff64,'undoMutations':_0x3020a9[_0x455504(0x455)],'redoMutations':_0x1fc5b7[_0x455504(0x455)]});}return _0x5aeb48[_0x455504(0x127)]();}};_0x21db66=_0x48aeea([_0x51e2c5(0x0,_0x35f0f7[_0x187cb8(0x2cd)]),_0x51e2c5(0x1,_0x35f0f7[_0x187cb8(0x300)]),_0x51e2c5(0x2,_0x35f0f7[_0x187cb8(0x4e2)]),_0x51e2c5(0x3,_0x69458a[_0x187cb8(0x239)]),_0x51e2c5(0x4,_0x35f0f7['ILogService'])],_0x21db66);class _0x5e38fe extends _0x35f0f7[_0x187cb8(0x115)]{constructor(){const _0x165e59=_0x187cb8;super(),_0xa611d0(this,_0x165e59(0x47c)),this[_0x165e59(0x47c)]=_0x469a80['fromEvent'](window,_0x165e59(0x3d6))[_0x165e59(0x32b)](_0x469a80[_0x165e59(0x2aa)](this[_0x165e59(0x48c)]),_0x469a80[_0x165e59(0x2ed)](0x1),_0x469a80[_0x165e59(0x3d7)](void 0x0));}['setParam'](_0x2e950,_0x26057b,_0x3efa96=!0x1){const _0x274fa5=_0x187cb8,_0x29392a=new URL(window[_0x274fa5(0x121)]['href']);_0x29392a[_0x274fa5(0x49f)]['set'](_0x2e950,_0x26057b),_0x3efa96?window[_0x274fa5(0x193)]['replaceState']('','',_0x29392a['toString']()):window[_0x274fa5(0x193)][_0x274fa5(0x525)]('','',_0x29392a[_0x274fa5(0x4eb)]());}['removeParam'](_0xfa0bff,_0x4548e9=!0x1){const _0x3b4a22=_0x187cb8,_0x1aca44=new URL(window['location']['href']);_0x1aca44[_0x3b4a22(0x49f)][_0x3b4a22(0x1c5)](_0xfa0bff),_0x4548e9?window[_0x3b4a22(0x193)]['replaceState']('','',_0x1aca44[_0x3b4a22(0x4eb)]()):window[_0x3b4a22(0x193)][_0x3b4a22(0x525)]('','',_0x1aca44[_0x3b4a22(0x4eb)]());}[_0x187cb8(0x1af)](_0x3363d8){const _0x2a6364=_0x187cb8;var _0x286391;return(_0x286391=new URL(window[_0x2a6364(0x121)]['href'])[_0x2a6364(0x49f)][_0x2a6364(0xf4)](_0x3363d8))!=null?_0x286391:void 0x0;}}var _0x3f01d5=Object['defineProperty'],_0x2f5181=Object[_0x187cb8(0x358)],_0x87c687=(_0x2c4f92,_0x1f6d3d,_0x5d47d1)=>_0x1f6d3d in _0x2c4f92?_0x3f01d5(_0x2c4f92,_0x1f6d3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d47d1}):_0x2c4f92[_0x1f6d3d]=_0x5d47d1,_0x311ea1=(_0x123f2d,_0x168bce,_0x37621f,_0x40d0d4)=>{for(var _0xb775fe=_0x40d0d4>0x1?void 0x0:_0x40d0d4?_0x2f5181(_0x168bce,_0x37621f):_0x168bce,_0x16b12f=_0x123f2d['length']-0x1,_0xe34702;_0x16b12f>=0x0;_0x16b12f--)(_0xe34702=_0x123f2d[_0x16b12f])&&(_0xb775fe=(_0x40d0d4?_0xe34702(_0x168bce,_0x37621f,_0xb775fe):_0xe34702(_0xb775fe))||_0xb775fe);return _0x40d0d4&&_0xb775fe&&_0x3f01d5(_0x168bce,_0x37621f,_0xb775fe),_0xb775fe;},_0x4fdd64=(_0x4d6989,_0x52dfb1)=>(_0x497528,_0x497e3a)=>_0x52dfb1(_0x497528,_0x497e3a,_0x4d6989),_0x1145c2=(_0x32c1cb,_0x44564d,_0x2a79f7)=>_0x87c687(_0x32c1cb,_0x44564d+'',_0x2a79f7);const _0xfca1d0=_0x187cb8(0x4d4);_0xedfd91[_0x187cb8(0x1dc)]=class extends _0x35f0f7[_0x187cb8(0x4f1)]{constructor(_0x501586=_0x286a3e,_0x59fa06,_0x4cbcf6,_0x43a3a9,_0x52f1e6){const _0x3a3e4a=_0x187cb8;super(),this[_0x3a3e4a(0x23a)]=_0x501586,this[_0x3a3e4a(0x213)]=_0x59fa06,this[_0x3a3e4a(0x332)]=_0x4cbcf6,this['_injector']=_0x43a3a9,this[_0x3a3e4a(0x1c6)]=_0x52f1e6;const {..._0x19310a}=this[_0x3a3e4a(0x23a)];this[_0x3a3e4a(0x1c6)][_0x3a3e4a(0x37a)](_0x62c88d,_0x19310a);}[_0x187cb8(0x1e0)](){const _0x4efd43=_0x187cb8;this[_0x4efd43(0x372)](),_0x35f0f7[_0x4efd43(0x268)](this[_0x4efd43(0x41c)],[[_0x59cc9f],[_0xedfd91['DataLoaderController']],[_0x3e61d6]]);}[_0x187cb8(0x154)](){const _0x330762=_0x187cb8;_0x35f0f7[_0x330762(0x268)](this['_injector'],[[_0x8f0cd3]]);}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x36890c=_0x187cb8;var _0x59f940,_0x4f0b4c,_0x5bfaa4,_0x4a03f5;this[_0x36890c(0x41c)][_0x36890c(0x4a0)](_0x35f0f7[_0x36890c(0x13c)])&&this[_0x36890c(0x213)]['error']('[UniverCollaborationClientPlugin]',_0x36890c(0x279));let _0x1ffd96=[[_0x35f0f7[_0x36890c(0x13c)],{'useClass':_0x21db66}],[_0xedfd91[_0x36890c(0x368)]],[_0x3aca7f],[_0x5c5830[_0x36890c(0x4c6)]],[_0x368bf3,{'useClass':_0x5e38fe}],[_0xedfd91[_0x36890c(0x12a)]],[_0xedfd91['LocalCacheService']],[_0x5c5830['WebSocketService']],[_0x35ee96],[_0x14e058],[_0x10589a],[_0x3ac0c1],[_0x378452],[_0x76a0fa],[_0x1cadae],[_0x3e61d6],[_0x3ae34b,{'useClass':(_0x4f0b4c=(_0x59f940=this[_0x36890c(0x23a)])==null?void 0x0:_0x59f940['socketService'])!=null?_0x4f0b4c:_0xedfd91[_0x36890c(0x486)]}],[_0x5c5830[_0x36890c(0x291)],{'useClass':_0x5c5830[_0x36890c(0x1bb)]}],[_0x69458a['ISnapshotServerService'],{'useClass':_0xedfd91[_0x36890c(0x117)]}],[_0x35f0f7[_0x36890c(0x407)],{'useClass':_0xedfd91['AuthzIoHttpService']}],[_0x3cd5f7['IImageIoService'],{'useClass':_0xedfd91[_0x36890c(0x2c9)]}],[_0xedfd91['CollaborationController']],[_0xedfd91['DataLoaderController']],[_0xedfd91[_0x36890c(0x305)]],[_0x8f0cd3],[_0x59cc9f]];(_0x5bfaa4=this[_0x36890c(0x23a)])!=null&&_0x5bfaa4[_0x36890c(0x1e1)]&&_0x1ffd96['push']([_0xc7b0d8,{'useClass':_0x5e175e}]),_0x1ffd96=_0x35f0f7[_0x36890c(0x306)](_0x1ffd96,(_0x4a03f5=this[_0x36890c(0x23a)])==null?void 0x0:_0x4a03f5[_0x36890c(0x527)]),_0x1ffd96[_0x36890c(0x25f)](_0x1d223d=>this[_0x36890c(0x41c)]['add'](_0x1d223d)),this[_0x36890c(0x24a)]();}[_0x187cb8(0x47d)](){const _0x196206=_0x187cb8;this[_0x196206(0x403)](this[_0x196206(0x332)][_0x196206(0x4fa)](_0x35f0f7[_0x196206(0x48f)][_0x196206(0x3e9)],[_0x1120ed])),this[_0x196206(0x403)](this[_0x196206(0x332)][_0x196206(0x4fa)](_0x35f0f7['UniverInstanceType'][_0x196206(0x2fc)],[_0x11a2b1]));}[_0x187cb8(0x24a)](){const _0x3b28cc=_0x187cb8;var _0x5b8d5a,_0x31e5ce;this[_0x3b28cc(0x41c)][_0x3b28cc(0xf4)](_0x5c5830['HTTPService'])[_0x3b28cc(0x4b7)]({'priority':0x14,'interceptor':_0x5c5830[_0x3b28cc(0x20b)]({'maxParallel':0x6})}),this[_0x3b28cc(0x41c)][_0x3b28cc(0xf4)](_0x76a0fa),(_0x5b8d5a=this[_0x3b28cc(0x23a)])!=null&&_0x5b8d5a[_0x3b28cc(0x182)]||this[_0x3b28cc(0x41c)][_0x3b28cc(0xf4)](_0xedfd91[_0x3b28cc(0x3be)])['disableLocalCache'](),(_0x31e5ce=this['_config'])!=null&&_0x31e5ce[_0x3b28cc(0x302)]&&this['_injector'][_0x3b28cc(0xf4)](_0x378452),this[_0x3b28cc(0x41c)]['get'](_0xedfd91[_0x3b28cc(0x2be)]),this[_0x3b28cc(0x41c)][_0x3b28cc(0x4a0)](_0xedfd91[_0x3b28cc(0x305)])&&this['_injector']['get'](_0xedfd91[_0x3b28cc(0x305)]);}},_0x1145c2(_0xedfd91[_0x187cb8(0x1dc)],_0x187cb8(0x149),_0xfca1d0),_0xedfd91[_0x187cb8(0x1dc)]=_0x311ea1([_0x35f0f7[_0x187cb8(0x160)](_0x69458a['UniverCollaborationPlugin']),_0x4fdd64(0x1,_0x35f0f7[_0x187cb8(0x29f)]),_0x4fdd64(0x2,_0x51641a[_0x187cb8(0x492)]),_0x4fdd64(0x3,_0x35f0f7['Inject'](_0x35f0f7['Injector'])),_0x4fdd64(0x4,_0x35f0f7[_0x187cb8(0x141)])],_0xedfd91[_0x187cb8(0x1dc)]),_0xedfd91[_0x187cb8(0x31e)]=_0x372f46,_0xedfd91[_0x187cb8(0x3c7)]=_0x29520d,_0xedfd91['COLLAB_WEB_SOCKET_URL_KEY']=_0x4bd350,_0xedfd91[_0x187cb8(0x3c3)]=_0x2ce1aa,_0xedfd91[_0x187cb8(0x504)]=_0x3e5db7,_0xedfd91[_0x187cb8(0x35b)]=_0x1cadae,_0xedfd91[_0x187cb8(0xdd)]=_0x2c772a,_0xedfd91[_0x187cb8(0x204)]=_0x3a1cdf,_0xedfd91[_0x187cb8(0x3a2)]=_0x3ae34b,_0xedfd91[_0x187cb8(0x4b4)]=_0x368bf3,_0xedfd91['LOCAL_CACHE_INTERVAL_KEY']=_0x3202d6,_0xedfd91[_0x187cb8(0x114)]=_0x325e08,_0xedfd91['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x44e13f,_0xedfd91[_0x187cb8(0x147)]=_0x216271,_0xedfd91[_0x187cb8(0x354)]=_0x56c12a,_0xedfd91[_0x187cb8(0x384)]=_0xc4b24b,_0xedfd91[_0x187cb8(0x4b0)]=_0x2efe93,_0xedfd91[_0x187cb8(0x466)]=_0x589bb3,_0xedfd91[_0x187cb8(0x29c)]=_0x5e38fe,_0xedfd91['deserializeToCombResponse']=_0x29876c,_0xedfd91[_0x187cb8(0x4c4)]=_0x4a9c2c,Object[_0x187cb8(0x429)](_0xedfd91,Symbol[_0x187cb8(0x509)],{'value':_0x187cb8(0x4a5)});}));function _0x30a8(_0x4a0684,_0x12178b){const _0x47259d=_0x4725();return _0x30a8=function(_0x30a8d9,_0x365858){_0x30a8d9=_0x30a8d9-0xdc;let _0x156da9=_0x47259d[_0x30a8d9];return _0x156da9;},_0x30a8(_0x4a0684,_0x12178b);}function _0x4725(){const _0xae61e3=['_clearOtherTimers','\x0aAfter:\x20','0\x200\x2017\x2016','#fff','DEFAULT_FILE_NAME','NOT_COLLAB','_onRefRangeChange','addImageSourceCache','loadOfflineData','editingUnit','_updateSubUnitFromURLParams','_scheduleHeartbeat','reconnect','LocalCacheService','arc','UniverEngineFormula','MoveRangeCommandId','_state$','CollaborationStatus','_initStatusComponent','useRef','ACTIVE_UNIT_EVENT_CHANNEL','COLLAB_SUBMIT_CHANGESET_URL_KEY','Undefined','createSocket','_resendTimer','src','_toggleOffline','[CollaborationSession]','UNIVER_PROJECT','_getSignURL','connectInjector','CollaborationEntity','_roomMembers','DeleteRangeMoveUpCommandId','InsertRangeMoveDownCommandId','_unitID','popstate','mapTo','PERMISSION_DENIED','_initMergeInterceptor','deserializeRangeWithSheet','_tryReconnect','_waitForHeartbeatResponse','_type','collabStatus.conflict','displayName','getUnhiddenWorksheets','_changesetReqId','resourceIDs','conflict','_lockTransition','_pendingMutations','_executeRemoteChangeset','@univerjs/rpc','fromEvent','UNIVER_DOC','_toggleOnline','UniverTelemetry','_createInitialStateImpl','APPLY_REVISION_CONFILICT','onCommentUpdate','APPLY_REJECT','not_collab','getActiveRange','getRoom','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collabCursorState$','_docSkeletonManagerService','_handleEvent','getSheetId','/unit/','attrs','trim','sheets','_onOffline','encode','clearInterval','ONLINE','LICENSE_MAX_UNITS_EXCEEDED','next','result','disposeWithMe','_updateLocalCache','getUniverSheetInstance','awaiting','IAuthzIoService','/object/','CommandType','SheetCollaborationEntity','Optional','all','19702MBBBQE','_onRemoteACK','runRefRangeMutations','_sheetTransformSelectionsService','hide','deepClone','transformSelections','_disabled','_retryConnectingTimer','fetchMiss','TEXT_RANGE_LAYER_INDEX','_rescheduleHeartbeat','univer-offline','_getCurrentRevision','/new_changes','_injector','LICENSE_IMPORT_SIZE_EXCEEDED','onPointerLeave$','unitId','5594752HOcysC','_colorAssignService','concat','APPLY_DUPLICATED','_uiPartsService','_cursorInfo$','getActiveSheet','\x20in\x20_schedule.','UniverIcon','defineProperty','_replaceFileID','LIVESHARE_REQUEST_HOST','width','_draw','roomInfos','message$','SUBMIT_CHANGESET','LICENSE_DISTRO_REJECTED','synced','awaiting_with_pending','clipPath','close$','_removeRoom','_clearScheduledTask','awaitingChangeset','isTransformMutationsWithChangesetFailure','getOwnPropertySymbols','url','getRandomValues','_updateURLWithCurrentState','?url=','FETCH_MISSING','RECT','black','font','batchAllowed','hidden','getCollabEntity$','React','newCsEvent','isTransformChangesetsSuccess','addObjects','collab-text-anchor-','_anchor','getSkeleton','reject','onCommandExecuted','closePath','setAlpha','serializeRangeWithSheet','toDisposable','@univerjs/ui','_themeService','m2Prime','_onCombEvent','init','getCellPositionByOffset','UUID','InsertSheetMutation','_hovered','saveSheetBlock','retryConnectingInterval','ERROR_IMAGE_TYPE','isEditing','DisposableCollection','createInstance','unsubscribe','createIdentifier','getCurrentUser','current','SheetCollabCursorShape','ReplaySubject','focused$','_entities','getRelativeToViewportCoord','unload','17677CeFBcC','_initResize','members','_onRemoteChangeset','_drawTextRange','rng','/resources','transformChangesets','InsertColCommandId','event$','newValue','YUUMI_SUBSCRIPTION_NOT_FOUND','defs','CONNECTOR_DATA_TOO_LARGE','gold400','_name','urlChange$','_registerRenderDependencies','_getUploadFileURL','filter','@univerjs/sheets-ui','joinRsp','LIVESHARE_TERMINATE','pauseCollaboration','/universer-api/comb','triggerDblclick','CollaborationSocketService','UNRECOGNIZED','IBeforeCloseService','_handleJoinEvent','setShapeProps','deleteCollaborator','dispose$','online','/universer-api/authz','UniverInstanceType','AWAITING','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','IRenderManagerService','APPLY_PERMISSION_DENIED','endRow','_startTelemetryCollaborationNewChangeset','getTime','action','measureText','_stopTelemetryCollaborationNewChangeset','[PendingState]:\x20received\x20acknowledgement.','_urlService','FETCH_MISS','onSyncEditingCollabCursor','fill','searchParams','has','failed\x20to\x20apply\x20missed\x20changesets!','CONFLICT','RichTextEditingMutation','_checkMissing','Module','exports','sessionStatus$','entries','routeKey','toRgbString','HELLO','_updateState','stringify','_retryCount','getResourcesRequest','SessionStatus','SetWorksheetActivateCommand','@univerjs/design','[DataLoaderController]','IURLService','conflict.title','key','registerHTTPInterceptor','_transformUndoRedoStack','responseType','10hpvptJ','SEND_CHANGESET_TIMEOUT','CollaborationSession','JOINING','RETRY_CONNECTING_MAX_COUNT','delay','_commentUpdate$','_syncEditingCollabCursorService','IDLE','selection','serializeCombRequest','CHANGESET_REVISION_CONFILICT','HTTPService','[CollaborationEntity]','mutations','children','doc.mutation.rich-text-editing','_singleActiveUnitService','defIds','_imageSourceCache','COMMENT_UPDATE','UniverEngineRender','SetDocZoomRatioOperation','roomMembers$','createElement','shouldCloseConn','UNIVER_COLLABORATION_CLIENT_PLUGIN','resize','name','_socketReady','rxjs','verdancy600','height','_queuedRemoteChangesets','workbook','min','HEARTBEAT_TIMEOUT','RemoveRowCommandId','addObject','[CollaborationSessionService]:\x20socket\x20error','IContextService','rev','call','_applyRemoteChangeset','setTimeout','InsertRangeMoveRightCommandId','disposeUnit','session.collaboration-timeout','_decreaseWaiting','toString','withCredentials','[FetchMissState]','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/telemetry','_ws','Plugin','@univerjs/docs','RegularPolygon','_state','onSendChangeset','title','_startDocCollabCursor','onRemoteRej','SHOULD_CLOSE_CONN','registerRenderModule','apply','image/gif','round','onRemoteChangeset','onMissedChangesetFetched','setActiveRange','SetTextSelectionsOperation','update','_sessions','CollaborationStatusDisplay','assign','_localeService','isArray','OnLineSingle','toStringTag','createCollaborator','updatePermissionObjEvent','_render','_clearCollaborationTimeoutTimer','_scheduleClearOtherTimer','fillStyle','UNIVER_UNKNOWN','snapshot','flatMap','_shapes','HTTPRequest','setParam','selections','resolve','SetSelectionsOperation','LOCAL_CACHE_INTERVAL','fromCollab','getDocRanges','HEARTBEAT','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearRedo','_commandService','collaboration-session-retry','length','duration','3yctkzg','handleInsertRangeMoveRight','pushState','_timeoutTimer','override','MessageType','updateMember','_remoteChangesetQueue','HEARTBEAT_INTERVAL_KEY','/-/object/-/batch_allowed','cursorInfo$','handleInsertRow','saveImage','unshift','@univerjs-pro/collaboration','changesets','isTransformMutationsWithChangesetSuccess','_transformRemoteChangesetByIMECache','every','ALREADY_EXISTS','startColumn','IRemoteInstanceService','toLowerCase','_socket$','_onLocalMutation','_userManagerService','_sheetSkeletonManagerService','post','downloadEndpointUrl','_createInitialState','purple300','get','USERS_LEAVE','resend','_clearTimeoutTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_heartbeatTimer','_selfUnitIDs','generateRandomId','getMember','body','includes','_updateLocalCursor','labelPosition','@univerjs/sheets','_initUnitPermissionChange','icon','MSG_FOR_ERROR','_refRangeService','_lastPointer','_getUndoStack','#FFF','href','getSheetBlock','params','getUnitOnRev','0\x200\x2016\x2016','_transformUndoredo','parseChangesetToProtocol','handleDeleteRangeMoveUp','isInternalEditorID','collaborators','_telemetryService','LOGIN_URL_KEY','RxDisposable','CHANGESET_ACK','SnapshotServerOverHTTPService','/rev/','_tryEnsureSocket','_sender','_saveCache','_transitionLocked','_sessionStatus$','_submitChangeset','&to=','MergeInterceptorFactory','location','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','_memberService','blue400','_scheduleTimestamp','_substituteRedoStack','reverse','editing\x20status\x20changed\x20to','registerBeforeClose','MemberService','_send','from','_collabCursorController','WorkbookEditablePermission','onPointerMove$','_httpService','assignAColorForMemberID','updatePermissionPoint','saveOfflineData','_schedule','open$','COMPRESS_MUTATION_SEND','append','parse','dispose','_undoStacks','conflict.content','IUndoRedoService','onlineStatus','_removeCollabCursors','ColorKit','7nCZglw','IConfigService','/object','eventID','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','session.connection-failed','now','SEND_CHANGESET_TIMEOUT_KEY','session','pluginName','LocaleService','react','subscribeEvent','CompressMutationService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getCurrentRevOfUnit','engine','makeDirty','_onConnectionOpen','_sendHeartbeatTimer','onReady','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','Error','ImageSourceType','_localStorageService','sheetID','Inject','_acknowledgedAwaitingChangeset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_instanceService','_refreshCollabCursors','_transformStack','DependentOn','COLLAB_SUBMIT_CHANGESET_URL','complete','_shouldReportTelemetry','LIVESHARE_NEW_HOST','getColor','sheetId','univerjs-icon\x20univerjs-icon-','reqId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','svg','RevisionService','onRemoteAck','&source=','type','number','PENDING','visibilityState','requireSession','liveShareNewHost','AuthzIoHttpService','getCurrentUnitForType','_document','_createSocket','_candidateSocket','UnitEmbedded','_onUserJoin','getViewport','YUUMI_RATE_OVER_LIMIT','_syncEditingCollabCursor','_initCloseConn','_anchorDot','string','_onUserLeave','enableOfflineEditing','univer-online-status','getAncestorScale','getCoordByCell','LocalUndoRedoService','objectID','handleInsertCol','snapshotServerUrl','Disposable','debug','univer-pro.collaboration-client.single-active-unit-service','m1Prime','Subject','_revisionService','equals','_docSkeleton','listCollaborators','history','onMissingChangesets','_permissionService','_awaitingChangeset','csRejEvent','NO_OTHER_CLIENTS_EDITING','collab-rect-range-','COMPLETION_FINISHED','_textBubble','collabStatus.fetchMiss','unit','setCurrentUser','_cursorShapes','fromEventSubject','collab-client.tooltip.reconnect','show','removeMember','reduce','EffectRefRangId','INGEST','_getRedoStack','Injector','csShouldRetryEvent','_online','_session','_socketMessageSubscription','@univerjs/engine-formula','...','getParam','84456jzBWAx','_telemetryInfo','size','_exhaustRemoteChangesetQueue','propertyIsEnumerable','closeSession','commentUpdateEvent','getTypeOfUnitAdded$','HttpExport','bind','_replayCachedMutations','XHRHTTPImplementation','interceptor','objects','none','COLORS','collaMsg','isPermissionRej','925488rkiLTH','_color','csAckEvent','delete','_configService','uni.network.url-service','off-line-single_clip0_910_343','getMemberID','_getDownloadEndpointURL','unknown','DOC_RANGE_TYPE','clear','_getLoginPath','_transformIMECache','Warning','_ensureSubject','NodePositionConvertToCursor','121xJAEnD','permission.content','toggleOnline','sequenceExecute','_hover','TOO_MANY_REQUESTS','_handler','objectType','_beforeCloseService','UniverCollaborationClientPlugin','_snapshotService','getCollabCursors$','cmd','onStarting','enableSingleActiveInstanceLock','SNAPSHOT_INVALID_SNAPSHOT','_onRemoteRejected','getSheetObject','PSEUDO_FETCH_MISSING_RESULT','addEventListener','close','collaboration.closeRoom','onTransformSelections','/universer-api/snapshot/','_id','MUTATION','error','FAIL','startTime','collaboration.single-unit.warning','DocIMEInputManagerService','transformIMECache','onlineStatusIcon','_scheduleCollaborationTimeoutTimer','_joinRoom','LIVESHARE_OPERATION','@univerjs/core','[CollaborationUndoRedoService]','file','transformUndoRedo','session.room-full','forwardRef','DocStateChangeManagerService','getDeserializedSheetBlock','isActive','WebSocketService','_transformPreviousActiveRange','originalMeta','revision','HEARTBEAT_TIMEOUT_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','off-line-single','getCurrent','objectActions','fetching\x20missing\x20changesets\x20from\x20','_transformSelections','ThresholdInterceptorFactory','skeleton','mapDocumentTypeToUniverType','div','SheetSkeletonManagerService','NEW_CHANGESETS','_unitStatus','[OfflineState]:\x20received\x20rejection.','_logService','handleIRemoveRow','merge','Univer','univer-pro.collaboration-client-socket-service','/universer-api/snapshot','transformMutationsWithChangeset','@univerjs/docs-ui','_univerInstanceService','UNDEFINED','rxjs/operators','_HTTPService','ERROR_EXCEED_SIZE','getCollabEntity','_waitCount','transformStack\x20failed!','2352450AVXOHG','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','{fileID}','subUnitId','getAttachHeader','FileId','SNAPSHOT_HAS_BEEN_REMOVED','some','_initRequestHeader','startsWith','UniverCollaborationClient','session.will-retry','HttpImport','listRoles','put','getConfig','bottom','status$','image/jpeg','getValue','onMouseMove','currentTheme$','ITransformService','_config','[SyncedState]:\x20received\x20acknowledgement.','_context','UniverDrawing','getInterceptPoints','_docTransformSelectionsService','whenReady','image/bmp','extend','_createHandler','function','transformRemoteChangeset','actions','_docTransformIMECacheService','handleDeleteRangeMoveLeft','text','_initModules','evenodd','leaveEvent','with','UnitSnapshot','JOIN','_onConnectionFailed','ThemeService','pending','collab-text-range-','getCurrentSelections','_messageService','FromArray','_onFetchMissResult','max','transform','OTHER_CLIENTS_EDITING','_roomMembers$','LIVESHARE_FETCH_OPERATIONS','fillRule','UPDATE_CURSOR','forEach','_hideTimer','/collaborator','_entityInit$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onCursorUpdate','handleInsertRangeMoveDown','setInterval','_drawRectRange','touchDependencies','subunit','/universer-api/file/{fileID}/sign-url','ERROR_IMAGE','ISnapshotServerService','UniverDesign','setShowComponents','/fetchmissing?from=','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_eventUnsubscribe','switchMap','_throwTelemetryCollaborationNewChangeset','_updateCollabCursors','_startCollaboration','hasOwnProperty','_getSheetObject','3090QzUXiX','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UniverNetwork','_redoStacks','getSheetBySheetId','NOT_FOUND','textRanges','_onConflict','_getSnapshotAPIPrefix','x-univer-host','OFFLINE','requestParams','sessionStatus','CHANGESET_REJ','textEncoder','UNKNOWN_CODE','_changesetSessionId','updateOfflineData','UNAUTHENTICATED','debounce','Rectangle','column','DocSkeletonManagerService','fetchThroughInterceptors','1em','IHTTPImplementation','Vector2','push','save','ImageUploadStatusType','replace','fetchMissingChangesets','userID','/universer-api/stream/file/upload','_getSaveTimeout','distinctUntilChanged','WebURLService','_socket','cursorInfo','ILogService','isTransformMutationFailure','\x20to\x20','headers','catch','allowed','_range','POST','SUCCUSS','indexOf','object','takeUntil','permission.title','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_initEventListeners','_unitOnClients','1690191gzNsPT','url(#on-line-single_clip0_910_349)','SheetsSelectionsService','_handleLeaveEvent','fillText','/universer-api/oidc/authpage','onlyLocal','add','Tooltip','_disableEditing','collabStatus.offline','collabCursorState$','DocSelectionManagerService','getImageSourceCache','restore','CollaborationController','submit\x20changeset\x20error!','_status$','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','INTERNAL_ERROR','path','Unknown\x20user','startRow','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','IPermissionService','_getCtorByUniverType','ImageIoService','_compressMutationService','prototype','getUnitId','IUniverInstanceService','unitId\x20is\x20not\x20found','c1Prime','_members','_clearUndo','Rect','_removeClearOtherTimer','_getAnchorBounding','getRenderById','_initCommandExecutedListener','UniverDocsUi','M0\x200H16V16H0z','UniverCore','_http','joinEvent','encodeURIComponent','BASE64','error$','row','patch','_updateStatus','transformMutation','&assign=','backgroundColor','_setupBeforeClosingHandler','CollaborationEvent','_loadSheet','_incrementRevisionNumber','collaboration-client.config','take','getItem','b64DecodeUnicode','shareReplay','@univerjs/engine-render','_getAPIPrefixPath','DocCollaborationEntity','_snapshotServerService','debounceTime','INVALID_ARGUMENT','LEAVE','_init','_commentService','RemoveColCommandId','saveSnapshot','SnapshotService','_resendWithTimeout','/block/','UNIVER_SHEET','_onCursorDelete','_loadDoc','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ICommandService','memberID','enableAuthServer','socket\x20open.','getUnit','DesktopCollaborationStatusDisplayController','mergeOverrideWithDependencies','[CollaborationSessionService]','onRemoteRetry','find','image/jpg','registerRefRange','_listenToOnlineEvent','uploadFileServerUrl','_cursors','_collaborationTimeoutTimer','currentColor','Workbook','_getAPIPrefix','getUnitType','_onRemoteRetry','getRangePointData','toggleOffline','updateCursorEvent','useObservable','lineTo','map','_notificationService','YUUMI_URL_COL_OUT_OF_RANGE','split','AUTHZ_URL_KEY','_docStateChangeManagerService','combineLatest','colorChannel1','IMessageService','_sendingTimer','_collaborationPaused','_resendTimeout','_handleHeartbeatEvent','_getSendChangesetTimeout','color','registerOnClose','InsertRowCommandId','pipe','Tools','top','status','list','getAllMembers','sendChangesetTimeout','_renderManagerService','auth.needGotoLoginAlert','localeService','handleIRemoveCol','@univerjs/drawing','ENSURE_SNAPSHOT_EXECUTION','transformByState','BehaviorSubject','slice','_onRecvEvent','roles','set','url(#$1','unitID','_sendHeartbeat','ITelemetryService','_fetchMissChangesets','AWAITING_WITH_PENDING','_clearLocalCache','JSONX','syncEditingCollabCursor','permissionRejEvent','values','collaboratorID','_substituteUndoStack','drawWith','_clearHeartbeatTimer','VIEW_MAIN','appendMutation','onTransformChange$','data','UNIVER_SLIDE','_transformService','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_SERVER_URL_KEY','NodePositionConvertToRectRange','tag','_change$','getOwnPropertyDescriptor','/allowed','@univerjs-pro/license','CommentService','_colorIndex','EmptyMutation','connection\x20error','_showConflictNotification','_collaborationSessionService','roomMembers','then','unit-cache-','_drawAnchor','_onMessage','_isPermissionRej','_collabSessionService','CollaborationSessionService','send','parseProtocolChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','setItem','\x0aCurrent:\x20','LICENSE_EXPORT_SIZE_EXCEEDED','state','@univerjs/network','USERS_ENTER','_registerDependencies','onTransformIME','UNKNOWN_CMD','COMPRESS_MUTATION_APPLY','randomUUID','subscribe','random','[SyncedState]:\x20received\x20rejection.','setConfig','_scene','findNodePositionByCharIndex','baseRev','CHANGESET_SHOULD_RETRY','range','stopTime','UniverRpc','OffLineSingle','SheetPermissionInitController','SNAPSHOT_URL_KEY','_onJoinRoomEvent','symbol','DataLoaderController','compose','univer-online','_unlockTransition','ranges','clearTimeout','_getMergeRange','_collaborationController','currentSkeleton$','_initStatusListener','_assignedColors','getFocusedUnit','univer-online-status-icon','idSuffix','initWorkbookPermissionChange','handleMoveRange','_undoRedoService','RECV','setWaitCount','_saveTaskMap','disableLocalCache','_docSyncEditingCollabCursorService','executeCommand','onTransformRemoteChangesetByIMECache','_localCacheService','offline','_backgroundColor','ICollaborationSocketService','_event$','asObservable','UPDATE_PERMISSION_OBJ','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','fetch_missing','red300','sid','UniverUi','UniverDocs','_cursor','code','_cachedData','_labelPosition','getTypeOfUnitDisposed$'];_0x4725=function(){return _0xae61e3;};return _0x4725();}
1
+ (function(_0x2ca49a,_0x21e243){const _0x1cd055=_0xe8fd,_0x3cca11=_0x2ca49a();while(!![]){try{const _0x3a0bf1=parseInt(_0x1cd055(0x36a))/0x1*(-parseInt(_0x1cd055(0x45f))/0x2)+-parseInt(_0x1cd055(0x27b))/0x3+parseInt(_0x1cd055(0x21b))/0x4+-parseInt(_0x1cd055(0x50f))/0x5+parseInt(_0x1cd055(0x341))/0x6*(-parseInt(_0x1cd055(0x450))/0x7)+parseInt(_0x1cd055(0x31d))/0x8+parseInt(_0x1cd055(0x325))/0x9;if(_0x3a0bf1===_0x21e243)break;else _0x3cca11['push'](_0x3cca11['shift']());}catch(_0x24b2fa){_0x3cca11['push'](_0x3cca11['shift']());}}}(_0x4fa7,0x9b57a),function(_0xff4418,_0x264d50){const _0x4665c1=_0xe8fd;typeof exports==_0x4665c1(0x210)&&typeof module<'u'?_0x264d50(exports,require('@univerjs/core'),require(_0x4665c1(0x1c6)),require(_0x4665c1(0x448)),require(_0x4665c1(0x2af)),require(_0x4665c1(0x36c)),require(_0x4665c1(0x313)),require('@univerjs-pro/collaboration'),require(_0x4665c1(0x20a)),require(_0x4665c1(0x281)),require(_0x4665c1(0x25d)),require(_0x4665c1(0x584)),require('@univerjs/docs'),require(_0x4665c1(0x38c)),require('@univerjs/engine-formula'),require(_0x4665c1(0x3a3)),require('react'),require(_0x4665c1(0x17c)),require(_0x4665c1(0x466))):typeof define=='function'&&define['amd']?define([_0x4665c1(0x4c9),'@univerjs/core',_0x4665c1(0x1c6),_0x4665c1(0x448),_0x4665c1(0x2af),'@univerjs/ui',_0x4665c1(0x313),_0x4665c1(0x344),_0x4665c1(0x20a),'@univerjs/docs-ui','@univerjs/sheets',_0x4665c1(0x584),_0x4665c1(0x246),_0x4665c1(0x38c),'@univerjs/engine-formula','@univerjs/sheets-ui',_0x4665c1(0x15e),_0x4665c1(0x17c),_0x4665c1(0x466)],_0x264d50):(_0xff4418=typeof globalThis<'u'?globalThis:_0xff4418||self,_0x264d50(_0xff4418[_0x4665c1(0x587)]={},_0xff4418[_0x4665c1(0x1c1)],_0xff4418[_0x4665c1(0x1c6)],_0xff4418[_0x4665c1(0x1c6)][_0x4665c1(0x2d1)],_0xff4418[_0x4665c1(0x327)],_0xff4418[_0x4665c1(0x1fc)],_0xff4418[_0x4665c1(0x294)],_0xff4418[_0x4665c1(0x2dd)],_0xff4418[_0x4665c1(0x4f7)],_0xff4418[_0x4665c1(0x39e)],_0xff4418[_0x4665c1(0x232)],_0xff4418['UniverEngineRender'],_0xff4418['UniverDocs'],_0xff4418['UniverDrawing'],_0xff4418['UniverEngineFormula'],_0xff4418[_0x4665c1(0x2b6)],_0xff4418[_0x4665c1(0x461)],_0xff4418[_0x4665c1(0x166)],_0xff4418[_0x4665c1(0x543)]));}(this,function(_0x4fdbaf,_0x29630e,_0x17e48c,_0x56098d,_0x2d4ff4,_0x279664,_0x1f6627,_0x2a6d3d,_0x2baadb,_0x214ea6,_0x5decb0,_0x37c548,_0x31abfa,_0x97788b,_0x5b4502,_0x30e2ba,_0xf902af,_0xa2266f,_0x4b1b03){'use strict';const _0x5f56c6=_0xe8fd;var _0xf13ceb=Object[_0x5f56c6(0x17a)],_0x4f3cc0=(_0xf1ac72,_0x2934c9,_0x11b125)=>_0x2934c9 in _0xf1ac72?_0xf13ceb(_0xf1ac72,_0x2934c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11b125}):_0xf1ac72[_0x2934c9]=_0x11b125,_0x48f470=(_0x2d04c3,_0x38b4e5,_0x3f01ab)=>_0x4f3cc0(_0x2d04c3,typeof _0x38b4e5!=_0x5f56c6(0x3b7)?_0x38b4e5+'':_0x38b4e5,_0x3f01ab);const _0x93d6f0='SNAPSHOT_SERVER_URL_KEY',_0x46da86='/universer-api/snapshot',_0x5242a1=_0x5f56c6(0x3e2),_0x467be1='SEND_CHANGESET_TIMEOUT',_0x4650c3=_0x5f56c6(0x3e3),_0x56f7d8='ws://127.0.0.1:8000/universer-api/comb/connect',_0x17ca3f=_0x5f56c6(0x331),_0x3b0121=_0x5f56c6(0x499),_0xd6482f=_0x5f56c6(0x353),_0x5831f1=_0x5f56c6(0x3c4),_0x513a4c=_0x5f56c6(0x1b1),_0x17fed4=_0x5f56c6(0x231),_0x550a35=_0x5f56c6(0x318),_0xb53a80=_0x5f56c6(0x322);var _0x5c7736=(_0x308948=>(_0x308948[_0x308948[_0x5f56c6(0x4ac)]=0x0]=_0x5f56c6(0x4ac),_0x308948[_0x308948['OK']=0x1]='OK',_0x308948[_0x308948[_0x5f56c6(0x15f)]=0x2]=_0x5f56c6(0x15f),_0x308948[_0x308948[_0x5f56c6(0x361)]=0x3]=_0x5f56c6(0x361),_0x308948[_0x308948[_0x5f56c6(0x509)]=0x4]=_0x5f56c6(0x509),_0x308948[_0x308948[_0x5f56c6(0x355)]=0x5]=_0x5f56c6(0x355),_0x308948[_0x308948[_0x5f56c6(0x370)]=0x6]=_0x5f56c6(0x370),_0x308948[_0x308948['INVALID_ARGUMENT']=0x7]=_0x5f56c6(0x194),_0x308948[_0x308948[_0x5f56c6(0x55b)]=0x8]=_0x5f56c6(0x55b),_0x308948[_0x308948[_0x5f56c6(0x27f)]=0x9]='COMPLETION_FINISHED',_0x308948[_0x308948['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5f56c6(0x377),_0x308948[_0x308948[_0x5f56c6(0x497)]=0x1771]=_0x5f56c6(0x497),_0x308948[_0x308948[_0x5f56c6(0x2fc)]=0x1772]=_0x5f56c6(0x2fc),_0x308948[_0x308948['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5f56c6(0x3c3),_0x308948[_0x308948[_0x5f56c6(0x2ff)]=0x1b59]='APPLY_REJECT',_0x308948[_0x308948['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x308948[_0x308948[_0x5f56c6(0x3f3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x308948[_0x308948['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5f56c6(0x2ce),_0x308948[_0x308948[_0x5f56c6(0x49c)]=0x1b5d]=_0x5f56c6(0x49c),_0x308948[_0x308948[_0x5f56c6(0x54a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x308948[_0x308948[_0x5f56c6(0x38d)]=0x2329]=_0x5f56c6(0x38d),_0x308948[_0x308948[_0x5f56c6(0x4a7)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x308948[_0x308948[_0x5f56c6(0x458)]=0x232b]=_0x5f56c6(0x458),_0x308948[_0x308948['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5f56c6(0x1a3),_0x308948[_0x308948[_0x5f56c6(0x3df)]=0x232d]=_0x5f56c6(0x3df),_0x308948[_0x308948[_0x5f56c6(0x437)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x308948[_0x308948[_0x5f56c6(0x1a9)]=0x2712]=_0x5f56c6(0x1a9),_0x308948[_0x308948[_0x5f56c6(0x304)]=0x2713]=_0x5f56c6(0x304),_0x308948[_0x308948[_0x5f56c6(0x409)]=0x2714]=_0x5f56c6(0x409),_0x308948[_0x308948[_0x5f56c6(0x4cf)]=-0x1]='UNRECOGNIZED',_0x308948))(_0x5c7736||{}),_0x48039f=(_0xc20a31=>(_0xc20a31[_0xc20a31['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xc20a31[_0xc20a31['UNIVER_DOC']=0x1]=_0x5f56c6(0x540),_0xc20a31[_0xc20a31[_0x5f56c6(0x4b4)]=0x2]='UNIVER_SHEET',_0xc20a31[_0xc20a31[_0x5f56c6(0x469)]=0x3]='UNIVER_SLIDE',_0xc20a31[_0xc20a31['UNIVER_PROJECT']=0x4]=_0x5f56c6(0x541),_0xc20a31[_0xc20a31[_0x5f56c6(0x4cf)]=-0x1]=_0x5f56c6(0x4cf),_0xc20a31))(_0x48039f||{}),_0x118155=(_0x3bc60c=>(_0x3bc60c[_0x3bc60c[_0x5f56c6(0x187)]=0x0]=_0x5f56c6(0x187),_0x3bc60c[_0x3bc60c[_0x5f56c6(0x1d2)]=0x1]=_0x5f56c6(0x1d2),_0x3bc60c[_0x3bc60c['JOIN']=0x2]=_0x5f56c6(0x4f5),_0x3bc60c[_0x3bc60c['LEAVE']=0x3]=_0x5f56c6(0x415),_0x3bc60c[_0x3bc60c[_0x5f56c6(0x560)]=0x4]=_0x5f56c6(0x560),_0x3bc60c[_0x3bc60c[_0x5f56c6(0x391)]=0x5]=_0x5f56c6(0x391),_0x3bc60c[_0x3bc60c[_0x5f56c6(0x29b)]=0x6]=_0x5f56c6(0x29b),_0x3bc60c[_0x3bc60c['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3bc60c))(_0x118155||{}),_0xa05499=(_0x11f8f1=>(_0x11f8f1[_0x11f8f1[_0x5f56c6(0x236)]=0x0]=_0x5f56c6(0x236),_0x11f8f1[_0x11f8f1['OK']=0x1]='OK',_0x11f8f1[_0x11f8f1[_0x5f56c6(0x37f)]=0x2]='FAIL',_0x11f8f1[_0x11f8f1[_0x5f56c6(0x4cf)]=-0x1]=_0x5f56c6(0x4cf),_0x11f8f1))(_0xa05499||{}),_0x26c986=(_0x3e6dd9=>(_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x32f)]=0x0]=_0x5f56c6(0x32f),_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x2ef)]=0x1]='HttpImport',_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x208)]=0x2]=_0x5f56c6(0x208),_0x3e6dd9[_0x3e6dd9['UnitEmbedded']=0x3]=_0x5f56c6(0x21a),_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x15b)]=0x4]=_0x5f56c6(0x15b),_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x4cf)]=-0x1]=_0x5f56c6(0x4cf),_0x3e6dd9))(_0x26c986||{});const _0x1573c4='collaboration-client.config',_0x2bff4b={};function _0x4377b7(_0x956f21){const _0x3e86d9=_0x5f56c6;var _0xe66cc1,_0x25e9eb,_0x50482e,_0x421c9e,_0x2d10e4;const _0x1d6b1e=_0x956f21[_0x3e86d9(0x54c)],_0x1ecc87=JSON[_0x3e86d9(0x3fb)](_0x1d6b1e);switch(_0x1ecc87[_0x3e86d9(0x16d)]){case _0x118155[_0x3e86d9(0x391)]:case _0x118155[_0x3e86d9(0x1d2)]:{const _0x356e9c=_0x1ecc87['infoRsp'];return{..._0x1ecc87,'data':_0x356e9c,'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};}case _0x118155['JOIN']:{const _0x20c869=_0x1ecc87['joinRsp'];return{..._0x1ecc87,'data':_0x20c869,'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};}case _0x118155[_0x3e86d9(0x29b)]:{const _0x160c75=_0x1ecc87['collaMsg'];switch(_0x160c75[_0x3e86d9(0x256)]){case _0x2a6d3d[_0x3e86d9(0x56e)]['PERMISSION_REJ']:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0xe66cc1=_0x160c75[_0x3e86d9(0x2cf)])==null?void 0x0:_0xe66cc1['cs']},'cmd':_0x1ecc87['cmd']};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x51c)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0x25e9eb=_0x160c75['csAckEvent'])==null?void 0x0:_0x25e9eb['cs']},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x433)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0x50482e=_0x160c75[_0x3e86d9(0x216)])==null?void 0x0:_0x50482e['cs']},'cmd':_0x1ecc87['cmd']};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x3fd)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0x421c9e=_0x160c75['csRejEvent'])==null?void 0x0:_0x421c9e['cs']},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x306)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0x2d10e4=_0x160c75[_0x3e86d9(0x319)])==null?void 0x0:_0x2d10e4['cs']},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x40a)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x4e6)]},'cmd':_0x1ecc87['cmd']};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x311)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x2d3)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d['CollaborationEvent'][_0x3e86d9(0x2c5)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x419)]},'cmd':_0x1ecc87['cmd']};case _0x2a6d3d[_0x3e86d9(0x56e)]['LIVESHARE_NEW_HOST']:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x254)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x493)]:case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x2bf)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75['liveShareOperation']},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)]['LIVESHARE_TERMINATE']:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x254)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)]['MSG_FOR_ERROR']:return{..._0x1ecc87,'data':_0x160c75,'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x559)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x2e2)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d['CollaborationEvent'][_0x3e86d9(0x2f4)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x1d0)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x34b)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x56f)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};default:return _0x1ecc87;}}default:return _0x1ecc87;}}function _0x14f3c4(_0x2e1964){const _0x2bcde2=_0x5f56c6;switch(_0x2e1964[_0x2bcde2(0x16d)]){case _0x118155[_0x2bcde2(0x391)]:case _0x118155[_0x2bcde2(0x1d2)]:return JSON[_0x2bcde2(0x4a4)]({'cmd':_0x2e1964[_0x2bcde2(0x16d)],'routeKey':_0x2e1964['routeKey']});case _0x118155[_0x2bcde2(0x560)]:{let _0x4c0912;switch(_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x256)]){case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x40a)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x40a)],'updateCursorEvent':_0x2e1964[_0x2bcde2(0x54c)]['data']};break;}case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x2c5)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x2c5)],'leaveEvent':_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d['CollaborationEvent']['USERS_ENTER']:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)]['USERS_ENTER'],'joinEvent':_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x3e5)]:{_0x4c0912={'eventID':_0x2a6d3d['CollaborationEvent'][_0x2bcde2(0x3e5)],'liveShareNewHost':_0x2e1964['data'][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x2bf)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x2bf)],'liveShareOperation':_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d['CollaborationEvent'][_0x2bcde2(0x453)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x453)],'liveShareTerminate':_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x290)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2e1964['data'][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d[_0x2bcde2(0x56e)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4c0912={'eventID':_0x2e1964['data'][_0x2bcde2(0x256)]};}return JSON[_0x2bcde2(0x4a4)]({'cmd':_0x2e1964[_0x2bcde2(0x16d)],'routeKey':_0x2e1964['routeKey'],'collaMsg':_0x4c0912});}case _0x118155[_0x2bcde2(0x4f5)]:return JSON[_0x2bcde2(0x4a4)]({'cmd':_0x2e1964['cmd'],'routeKey':_0x2e1964[_0x2bcde2(0x330)],'joinReq':_0x2e1964[_0x2bcde2(0x54c)]});case _0x118155[_0x2bcde2(0x415)]:return JSON[_0x2bcde2(0x4a4)]({'cmd':_0x2e1964['cmd'],'routeKey':_0x2e1964[_0x2bcde2(0x330)],'leaveReq':_0x2e1964[_0x2bcde2(0x54c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x3c4008=Object[_0x5f56c6(0x17a)],_0x785791=Object[_0x5f56c6(0x47e)],_0x3faff7=(_0x5a7dd6,_0x4eb065,_0x1a2d57,_0x4b7fc7)=>{const _0x2f4d8e=_0x5f56c6;for(var _0x225ad4=_0x4b7fc7>0x1?void 0x0:_0x4b7fc7?_0x785791(_0x4eb065,_0x1a2d57):_0x4eb065,_0x5c1d31=_0x5a7dd6[_0x2f4d8e(0x47d)]-0x1,_0x169360;_0x5c1d31>=0x0;_0x5c1d31--)(_0x169360=_0x5a7dd6[_0x5c1d31])&&(_0x225ad4=(_0x4b7fc7?_0x169360(_0x4eb065,_0x1a2d57,_0x225ad4):_0x169360(_0x225ad4))||_0x225ad4);return _0x4b7fc7&&_0x225ad4&&_0x3c4008(_0x4eb065,_0x1a2d57,_0x225ad4),_0x225ad4;},_0x160155=(_0x5010d7,_0x5f56c9)=>(_0x45b5a1,_0x1d282b)=>_0x5f56c9(_0x45b5a1,_0x1d282b,_0x5010d7);const _0x24f2a6=_0x29630e[_0x5f56c6(0x284)]('univer-pro.collaboration-client-socket-service');function _0x1e45df(_0x5cbfa3,_0x7daeb5,_0x333a30){const _0x5642c1=_0x5f56c6;return _0x5cbfa3+'/'+_0x7daeb5+'/unit/'+_0x333a30+_0x5642c1(0x553);}_0x4fdbaf['CollaborationSocketService']=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x241f3e,_0x57bd17,_0xad2947,_0x45efd7,_0x522311){const _0x59c33d=_0x5f56c6;super(),this[_0x59c33d(0x30e)]=_0x241f3e,this['_ws']=_0x57bd17,this[_0x59c33d(0x4e8)]=_0xad2947,this[_0x59c33d(0x3ac)]=_0x45efd7,this[_0x59c33d(0x237)]=_0x522311;}[_0x5f56c6(0x2c3)](_0x1ef5b9){const _0x477950=_0x5f56c6,_0x39c4ec=this[_0x477950(0x2f3)]['createSocket'](_0x1ef5b9);if(!_0x39c4ec)throw new Error(_0x477950(0x53a));const _0x34b854=new _0x29630e[(_0x477950(0x2ea))](),_0x495746=new _0x17e48c[(_0x477950(0x3be))]();_0x34b854['add'](_0x39c4ec['close$'][_0x477950(0x18a)](_0x488cd1=>_0x495746[_0x477950(0x17b)](_0x488cd1))),_0x34b854['add'](_0x29630e[_0x477950(0x1cd)](()=>_0x495746['complete']()));const _0x583b69=new _0x17e48c[(_0x477950(0x3be))]();_0x34b854[_0x477950(0x54b)](_0x39c4ec[_0x477950(0x55a)][_0x477950(0x18a)](_0x429ddb=>_0x583b69[_0x477950(0x17b)](_0x429ddb))),_0x34b854[_0x477950(0x54b)](_0x29630e[_0x477950(0x1cd)](()=>_0x583b69[_0x477950(0x423)]()));const _0x1a39e1=new _0x17e48c[(_0x477950(0x3be))]();_0x34b854['add'](_0x39c4ec['message$'][_0x477950(0x18a)](_0x28066b=>{const _0x36571b=_0x477950,_0x1c2e13=_0x4377b7(_0x28066b);_0x1a39e1[_0x36571b(0x17b)](_0x1c2e13);})),_0x34b854['add'](_0x29630e[_0x477950(0x1cd)](()=>_0x1a39e1[_0x477950(0x423)]()));let _0x504714;const _0x50ee14=()=>{const _0x1ccd3d=_0x477950;_0x583b69[_0x1ccd3d(0x17b)](new Event(_0x1ccd3d(0x378))),_0x495746[_0x1ccd3d(0x17b)](new CloseEvent(_0x1ccd3d(0x378))),_0x504714[_0x1ccd3d(0x3ca)]();};return _0x504714={'memberID':'','close$':_0x495746[_0x477950(0x2ac)](),'error$':_0x583b69[_0x477950(0x2ac)](),'open$':_0x39c4ec[_0x477950(0x547)],'message$':_0x1a39e1['asObservable'](),'send':_0x416def=>{const _0x310ad7=_0x477950;if(_0x416def['cmd']===_0x118155[_0x310ad7(0x560)]){if(_0x416def[_0x310ad7(0x54c)][_0x310ad7(0x256)]===_0x2a6d3d[_0x310ad7(0x56e)][_0x310ad7(0x25b)]){this[_0x310ad7(0x2cb)](_0x504714,_0x416def[_0x310ad7(0x54c)])['catch'](_0x1b6501=>{const _0x4000ce=_0x310ad7;this[_0x4000ce(0x3ac)][_0x4000ce(0x1fe)](_0x1b6501),_0x50ee14();});return;}if(_0x416def[_0x310ad7(0x54c)][_0x310ad7(0x256)]===_0x2a6d3d[_0x310ad7(0x56e)]['FETCH_MISSING']){const _0x593bba=_0x416def[_0x310ad7(0x54c)];this['_fetchMissChangesets'](_0x593bba)[_0x310ad7(0x4c3)](_0x10bf27=>{const _0x271c28=_0x310ad7;_0x1a39e1[_0x271c28(0x17b)]({'cmd':_0x118155[_0x271c28(0x29b)],'code':_0xa05499['OK'],'routeKey':_0x593bba[_0x271c28(0x54c)]['unitID'],'routeType':'','data':{'eventID':_0x2a6d3d[_0x271c28(0x56e)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x10bf27}}});})[_0x310ad7(0x3b5)](_0x25c275=>{this['_logService']['error'](_0x25c275),_0x50ee14();});return;}}_0x39c4ec[_0x310ad7(0x16b)](_0x14f3c4(_0x416def));},'close':()=>{const _0x458064=_0x477950;_0x39c4ec['close'](),_0x34b854[_0x458064(0x1b8)]();}},_0x504714;}async[_0x5f56c6(0x2cb)](_0x4711bd,_0x3e1119){const _0x3e54d2=_0x5f56c6;var _0x26e027,_0x29fa4a;const {unitType:_0x121adc,unitID:_0x4e628a,changeset:_0x2a0412}=_0x3e1119[_0x3e54d2(0x54c)],_0x5e79ed={'unitID':_0x4e628a,'memberID':_0x4711bd[_0x3e54d2(0x4d4)],'type':_0x121adc,'changeset':_0x2a6d3d[_0x3e54d2(0x2ca)](_0x2a0412)},_0x1a3d9d=this[_0x3e54d2(0x4e8)][_0x3e54d2(0x1e0)](_0x513a4c),_0x461196=this['_configService'][_0x3e54d2(0x1e0)](_0x1573c4),_0xed8bc7=_0x1e45df((_0x29fa4a=(_0x26e027=_0x461196==null?void 0x0:_0x461196['collabSubmitChangesetUrl'])!=null?_0x26e027:_0x1a3d9d)!=null?_0x29fa4a:_0x17fed4,_0x121adc,_0x4e628a);try{await this[_0x3e54d2(0x30e)]['post'](_0xed8bc7,{'body':_0x5e79ed});}catch(_0x2592cc){throw this[_0x3e54d2(0x3ac)][_0x3e54d2(0x1fe)](_0x3e54d2(0x225),_0x3e54d2(0x2ec)),_0x2592cc;}}async[_0x5f56c6(0x3cc)](_0x24d8c2){const _0x8025a=_0x5f56c6,{unitID:_0x36abad,from:_0x1b1ce7,to:_0x3f59a4,unitType:_0x4905ce}=_0x24d8c2[_0x8025a(0x54c)];return(await this[_0x8025a(0x237)][_0x8025a(0x451)]({'metadata':void 0x0},{'unitID':_0x36abad,'type':_0x4905ce,'from':_0x1b1ce7,'to':_0x3f59a4}))[_0x8025a(0x1a5)];}},_0x4fdbaf[_0x5f56c6(0x17d)]=_0x3faff7([_0x160155(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627[_0x5f56c6(0x195)])),_0x160155(0x1,_0x29630e['Inject'](_0x1f6627['WebSocketService'])),_0x160155(0x2,_0x29630e[_0x5f56c6(0x34d)]),_0x160155(0x3,_0x29630e[_0x5f56c6(0x478)]),_0x160155(0x4,_0x2a6d3d['ISnapshotServerService'])],_0x4fdbaf[_0x5f56c6(0x17d)]);const _0x3d7395=_0x5f56c6(0x2bb);function _0x5854e3(_0x5f4815){const _0x36e311=_0x5f56c6;return JSON[_0x36e311(0x4a4)](_0x5f4815)[_0x36e311(0x47d)];}class _0x4fa0d0{constructor(){const _0x3f12fc=_0x5f56c6;_0x48f470(this,_0x3f12fc(0x417),new _0x17e48c[(_0x3f12fc(0x3be))]()),_0x48f470(this,_0x3f12fc(0x24f),this[_0x3f12fc(0x417)][_0x3f12fc(0x2ac)]());}['onCommentUpdate'](_0xbc5472){const _0x32121f=_0x5f56c6;this[_0x32121f(0x417)][_0x32121f(0x17b)](_0xbc5472);}}var _0x2b754a=Object[_0x5f56c6(0x17a)],_0x3d404b=Object[_0x5f56c6(0x47e)],_0x5c01f5=(_0x529a36,_0x54ca75,_0x219a89,_0x58a25a)=>{const _0x3f7862=_0x5f56c6;for(var _0x47be0a=_0x58a25a>0x1?void 0x0:_0x58a25a?_0x3d404b(_0x54ca75,_0x219a89):_0x54ca75,_0x5fd688=_0x529a36[_0x3f7862(0x47d)]-0x1,_0x124e4f;_0x5fd688>=0x0;_0x5fd688--)(_0x124e4f=_0x529a36[_0x5fd688])&&(_0x47be0a=(_0x58a25a?_0x124e4f(_0x54ca75,_0x219a89,_0x47be0a):_0x124e4f(_0x47be0a))||_0x47be0a);return _0x58a25a&&_0x47be0a&&_0x2b754a(_0x54ca75,_0x219a89,_0x47be0a),_0x47be0a;},_0x30a45e=(_0x2a67df,_0x27a3f7)=>(_0x24750b,_0x3b3cf0)=>_0x27a3f7(_0x24750b,_0x3b3cf0,_0x2a67df);_0x4fdbaf['MemberService']=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x17f0b6,_0x4b42f9){const _0x7f9372=_0x5f56c6;super(),_0x48f470(this,_0x7f9372(0x2a8),new Map()),(this['_univerInstanceService']=_0x17f0b6,this['_userManagerService']=_0x4b42f9,this[_0x7f9372(0x52f)](_0x29630e[_0x7f9372(0x1cd)](_0x17e48c[_0x7f9372(0x268)](this['_univerInstanceService'][_0x7f9372(0x407)](_0x29630e[_0x7f9372(0x438)][_0x7f9372(0x4b4)])[_0x7f9372(0x300)](_0x56098d[_0x7f9372(0x239)](_0x5c626a=>_0x5c626a[_0x7f9372(0x1a2)]())),this[_0x7f9372(0x434)][_0x7f9372(0x407)](_0x29630e[_0x7f9372(0x438)][_0x7f9372(0x540)])[_0x7f9372(0x300)](_0x56098d[_0x7f9372(0x239)](_0x1e8ba2=>_0x1e8ba2[_0x7f9372(0x1a2)]())),this[_0x7f9372(0x434)][_0x7f9372(0x407)](_0x29630e['UniverInstanceType'][_0x7f9372(0x469)])[_0x7f9372(0x300)](_0x56098d['map'](_0x5e4a77=>_0x5e4a77[_0x7f9372(0x1a2)]())))[_0x7f9372(0x18a)](_0x158860=>this[_0x7f9372(0x40e)](_0x158860)))));}['setCurrentUser'](_0x34cc2c){const _0xb25315=_0x5f56c6;this[_0xb25315(0x396)][_0xb25315(0x175)](_0x34cc2c);}[_0x5f56c6(0x2c4)](){const _0x4c6ab3=_0x5f56c6;return this[_0x4c6ab3(0x396)][_0x4c6ab3(0x2c4)]();}[_0x5f56c6(0x383)](_0x28d450,_0x1996a6){const _0x3935ab=_0x5f56c6;let _0x8548bb=this[_0x3935ab(0x2a8)][_0x3935ab(0x44d)](_0x28d450);_0x8548bb||(_0x8548bb=new _0x1c4380(),this[_0x3935ab(0x2a8)][_0x3935ab(0x4f1)](_0x28d450,_0x8548bb)),_0x8548bb[_0x3935ab(0x383)](_0x1996a6);}['removeMember'](_0x205313,_0x395af5){const _0x528928=_0x5f56c6,_0x3f9396=this[_0x528928(0x2a8)]['get'](_0x205313);_0x3f9396&&_0x3f9396[_0x528928(0x4ba)](_0x395af5);}['getRoom'](_0x1aeb38){const _0x335622=_0x5f56c6;return this[_0x335622(0x2a8)][_0x335622(0x44d)](_0x1aeb38);}['getMember'](_0x10b886,_0x398d72){const _0x2b2321=_0x5f56c6,_0x3eebad=this[_0x2b2321(0x2a8)][_0x2b2321(0x44d)](_0x10b886);if(_0x3eebad)return _0x3eebad[_0x2b2321(0x30c)](_0x398d72);}['_removeRoom'](_0x277343){const _0x437d99=_0x5f56c6,_0x1157cf=this[_0x437d99(0x2a8)][_0x437d99(0x44d)](_0x277343);_0x1157cf&&(_0x1157cf['dispose'](),this[_0x437d99(0x2a8)]['delete'](_0x277343));}[_0x5f56c6(0x1b8)](){const _0xdf7f55=_0x5f56c6;this[_0xdf7f55(0x2a8)]['forEach'](_0x3c87d1=>_0x3c87d1[_0xdf7f55(0x1b8)]()),this[_0xdf7f55(0x2a8)]['clear']();}},_0x4fdbaf[_0x5f56c6(0x2b3)]=_0x5c01f5([_0x30a45e(0x0,_0x29630e['IUniverInstanceService']),_0x30a45e(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x1ab)]))],_0x4fdbaf[_0x5f56c6(0x2b3)]);class _0x1c4380 extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(){super(...arguments),_0x48f470(this,'_members',new Map());}[_0x5f56c6(0x1b8)](){const _0xef26c1=_0x5f56c6;this['_members'][_0xef26c1(0x185)]();}[_0x5f56c6(0x383)](_0x5b4def){const _0x32d28d=_0x5f56c6;this[_0x32d28d(0x19f)]['set'](_0x5b4def['memberID'],_0x5b4def);}[_0x5f56c6(0x4ba)](_0x53b03b){const _0x1105ff=_0x5f56c6;this['_members'][_0x1105ff(0x340)](_0x53b03b);}[_0x5f56c6(0x30c)](_0x126a10){const _0x214429=_0x5f56c6;return this[_0x214429(0x19f)][_0x214429(0x44d)](_0x126a10);}[_0x5f56c6(0x46e)](){const _0xecdbe7=_0x5f56c6;return Array[_0xecdbe7(0x2b9)](this[_0xecdbe7(0x19f)][_0xecdbe7(0x182)]());}}var _0x4767e3=Object[_0x5f56c6(0x17a)],_0x21b28d=Object[_0x5f56c6(0x47e)],_0x25d4ae=(_0x29f66a,_0x4cd179,_0x7b88dc,_0x3f9dae)=>{const _0x628660=_0x5f56c6;for(var _0x31cfde=_0x3f9dae>0x1?void 0x0:_0x3f9dae?_0x21b28d(_0x4cd179,_0x7b88dc):_0x4cd179,_0x1953cd=_0x29f66a[_0x628660(0x47d)]-0x1,_0x204ad6;_0x1953cd>=0x0;_0x1953cd--)(_0x204ad6=_0x29f66a[_0x1953cd])&&(_0x31cfde=(_0x3f9dae?_0x204ad6(_0x4cd179,_0x7b88dc,_0x31cfde):_0x204ad6(_0x31cfde))||_0x31cfde);return _0x3f9dae&&_0x31cfde&&_0x4767e3(_0x4cd179,_0x7b88dc,_0x31cfde),_0x31cfde;},_0x301af7=(_0x233872,_0x24178a)=>(_0x158495,_0x3b64a1)=>_0x24178a(_0x158495,_0x3b64a1,_0x233872),_0x90155=(_0x5e8559=>(_0x5e8559[_0x5e8559[_0x5f56c6(0x204)]=0x0]='IDLE',_0x5e8559[_0x5e8559['JOINING']=0x1]='JOINING',_0x5e8559[_0x5e8559[_0x5f56c6(0x385)]=0x2]='OFFLINE',_0x5e8559[_0x5e8559[_0x5f56c6(0x4c5)]=0x3]=_0x5f56c6(0x4c5),_0x5e8559))(_0x90155||{});_0x4fdbaf['CollaborationSession']=class extends _0x29630e['RxDisposable']{constructor(_0x1eb6b9,_0x519807,_0x37de1d,_0x404d0b,_0x1621e2,_0x59c422,_0x3ca0fb,_0x6409d3,_0x56cb66,_0x5c151d){const _0x587ce5=_0x5f56c6;super(),_0x48f470(this,'_sessionStatus$',new _0x17e48c[(_0x587ce5(0x38b))](0x0)),_0x48f470(this,'sessionStatus$',this[_0x587ce5(0x4d6)][_0x587ce5(0x2ac)]()),_0x48f470(this,_0x587ce5(0x315),new _0x17e48c[(_0x587ce5(0x3be))]()),_0x48f470(this,_0x587ce5(0x574),this[_0x587ce5(0x315)]['asObservable']()),_0x48f470(this,_0x587ce5(0x41f)),_0x48f470(this,_0x587ce5(0x3a6)),_0x48f470(this,_0x587ce5(0x44c)),_0x48f470(this,_0x587ce5(0x38e),!0x1),_0x48f470(this,_0x587ce5(0x4b6),null),(this[_0x587ce5(0x585)]=_0x1eb6b9,this[_0x587ce5(0x3ac)]=_0x37de1d,this[_0x587ce5(0x22e)]=_0x404d0b,this[_0x587ce5(0x3a9)]=_0x1621e2,this[_0x587ce5(0x4e8)]=_0x59c422,this[_0x587ce5(0x375)]=_0x3ca0fb,this[_0x587ce5(0x521)]=_0x6409d3,this[_0x587ce5(0x312)]=_0x56cb66,this[_0x587ce5(0x1be)]=_0x5c151d,this[_0x587ce5(0x38e)]=!!this[_0x587ce5(0x1be)],_0x519807[_0x587ce5(0x300)](_0x17e48c[_0x587ce5(0x47a)](this[_0x587ce5(0x3ce)]))['subscribe'](_0x1a2d9b=>{const _0x33d071=_0x587ce5;var _0x1268b6;typeof _0x1a2d9b>'u'||(this['_socket']=_0x1a2d9b,_0x1a2d9b?(this[_0x33d071(0x1ba)](_0x1a2d9b),this[_0x33d071(0x3a6)]=_0x1a2d9b[_0x33d071(0x39c)][_0x33d071(0x18a)](_0x477777=>{const _0x59710c=_0x33d071;_0x477777[_0x59710c(0x330)]===this['_unitID']&&this[_0x59710c(0x535)](_0x477777);})):(this[_0x33d071(0x432)](),this[_0x33d071(0x4d6)][_0x33d071(0x17b)](0x2),(_0x1268b6=this[_0x33d071(0x3a6)])==null||_0x1268b6[_0x33d071(0x349)](),this[_0x33d071(0x3a6)]=null));}),this[_0x587ce5(0x52f)](this['_beforeCloseService']['registerOnClose'](()=>{const _0x28210c=_0x587ce5;var _0x1a6fba;(_0x1a6fba=this[_0x28210c(0x41f)])==null||_0x1a6fba['send']({'cmd':_0x118155[_0x28210c(0x415)],'data':{'roomID':this[_0x28210c(0x585)]}});})));}get[_0x5f56c6(0x595)](){return this['_sessionStatus$']['getValue']();}[_0x5f56c6(0x474)](){const _0x364a0a=_0x5f56c6;var _0x97686b,_0x480167;return(_0x480167=(_0x97686b=this[_0x364a0a(0x41f)])==null?void 0x0:_0x97686b['memberID'])!=null?_0x480167:null;}[_0x5f56c6(0x1b8)](){const _0x466647=_0x5f56c6;super[_0x466647(0x1b8)](),this['dispose$']['next'](),this[_0x466647(0x3ce)]['complete']();}[_0x5f56c6(0x3ca)](){const _0x8e86cf=_0x5f56c6;var _0x2f252f,_0x57c873;this[_0x8e86cf(0x432)](),(_0x2f252f=this[_0x8e86cf(0x41f)])==null||_0x2f252f[_0x8e86cf(0x16b)]({'cmd':_0x118155[_0x8e86cf(0x415)],'data':{'roomID':this[_0x8e86cf(0x585)]}}),(_0x57c873=this[_0x8e86cf(0x41f)])==null||_0x57c873['close'](),this['_event$']['complete'](),this[_0x8e86cf(0x4d6)][_0x8e86cf(0x423)](),this[_0x8e86cf(0x1b8)]();}['_onCombEvent'](_0x132311){const _0x49fbfa=_0x5f56c6;_0x132311[_0x49fbfa(0x16d)]===_0x118155[_0x49fbfa(0x4f5)]?this[_0x49fbfa(0x2c9)](_0x132311):_0x132311[_0x49fbfa(0x16d)]===_0x118155[_0x49fbfa(0x29b)]&&this[_0x49fbfa(0x272)](_0x132311);}[_0x5f56c6(0x1ba)](_0x46a29f){const _0x29f06f=_0x5f56c6;this['_sessionStatus$'][_0x29f06f(0x17b)](0x1),_0x46a29f[_0x29f06f(0x16b)]({'cmd':_0x118155[_0x29f06f(0x4f5)],'routeKey':this[_0x29f06f(0x585)],'routeType':'','data':{'rooms':[{'roomID':this[_0x29f06f(0x585)]}]}});}[_0x5f56c6(0x2c9)](_0x45d767){const _0x231662=_0x5f56c6;var _0x506fb0;if(_0x45d767[_0x231662(0x513)]===_0xa05499[_0x231662(0x37f)]){this[_0x231662(0x3a9)][_0x231662(0x2e8)]({'type':_0x2d4ff4[_0x231662(0x2c7)][_0x231662(0x1c9)],'content':this[_0x231662(0x375)]['t'](_0x231662(0x29c))}),this[_0x231662(0x4d6)]['next'](0x2);return;}this[_0x231662(0x4d6)][_0x231662(0x17b)](0x3);const _0x33519f=(_0x506fb0=_0x45d767['data'][_0x231662(0x3d5)][this['_unitID']])==null?void 0x0:_0x506fb0[_0x231662(0x591)];_0x33519f&&_0x33519f[_0x231662(0x57d)](_0x29d7f6=>this[_0x231662(0x521)][_0x231662(0x383)](this['_unitID'],_0x29d7f6));}[_0x5f56c6(0x272)](_0x2bc1be){const _0x2b10fa=_0x5f56c6;try{const _0x3e195f=_0x2bc1be[_0x2b10fa(0x54c)];switch(_0x3e195f['eventID']){case _0x2a6d3d['CollaborationEvent'][_0x2b10fa(0x311)]:this['_onUserJoin'](_0x3e195f),this[_0x2b10fa(0x315)][_0x2b10fa(0x17b)](_0x3e195f);break;case _0x2a6d3d[_0x2b10fa(0x56e)][_0x2b10fa(0x2c5)]:this[_0x2b10fa(0x2f9)](_0x3e195f),this[_0x2b10fa(0x315)]['next'](_0x3e195f);break;case _0x2a6d3d[_0x2b10fa(0x56e)]['CHANGESET_ACK']:case _0x2a6d3d['CollaborationEvent'][_0x2b10fa(0x306)]:this[_0x2b10fa(0x57c)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2b10fa(0x315)][_0x2b10fa(0x17b)](_0x3e195f);break;case _0x2a6d3d['CollaborationEvent'][_0x2b10fa(0x552)]:this[_0x2b10fa(0x3ac)][_0x2b10fa(0x1fe)](_0x2b10fa(0x23c)+JSON['stringify'](_0x3e195f)),this[_0x2b10fa(0x315)]['next'](_0x3e195f);break;case _0x2a6d3d[_0x2b10fa(0x56e)][_0x2b10fa(0x559)]:this['_commentService'][_0x2b10fa(0x4ad)](_0x3e195f[_0x2b10fa(0x54c)]),this[_0x2b10fa(0x315)][_0x2b10fa(0x17b)](_0x3e195f);break;default:this[_0x2b10fa(0x315)][_0x2b10fa(0x17b)](_0x3e195f);}}catch(_0x339bd1){this[_0x2b10fa(0x3ac)][_0x2b10fa(0x1fe)](_0x339bd1,_0x2bc1be);}}['_onUserJoin'](_0x6c73e8){const _0x33f5dd=_0x5f56c6;this['_memberService'][_0x33f5dd(0x383)](this[_0x33f5dd(0x585)],_0x6c73e8[_0x33f5dd(0x54c)]);}[_0x5f56c6(0x2f9)](_0x2066df){const _0x5e8024=_0x5f56c6;this['_memberService'][_0x5e8024(0x4ba)](this[_0x5e8024(0x585)],_0x2066df[_0x5e8024(0x54c)][_0x5e8024(0x4d4)]);}async['send'](_0x37bb16,_0x55b47e){const _0x437d27=_0x5f56c6;if(this[_0x437d27(0x595)]!==0x3||!this['_socket'])throw new Error(_0x437d27(0x56d));try{_0x37bb16['eventID']===_0x2a6d3d[_0x437d27(0x56e)][_0x437d27(0x25b)]&&(this[_0x437d27(0x577)](),this[_0x437d27(0x522)](_0x37bb16)),this[_0x437d27(0x41f)][_0x437d27(0x16b)]({'cmd':_0x118155['INGEST'],'routeKey':_0x55b47e,'routeType':'','data':_0x37bb16});}catch(_0x121230){this['_logService']['error'](_0x121230);}}[_0x5f56c6(0x577)](){const _0x237362=_0x5f56c6;var _0x267846;this[_0x237362(0x44c)]=window[_0x237362(0x262)](()=>{const _0x138693=_0x237362;this[_0x138693(0x44c)]=null,this[_0x138693(0x3a9)][_0x138693(0x2e8)]({'type':_0x2d4ff4[_0x138693(0x2c7)][_0x138693(0x27c)],'content':this[_0x138693(0x375)]['t'](_0x138693(0x3f8))});},(_0x267846=this['_configService'][_0x237362(0x1e0)](_0x3b0121))!=null?_0x267846:0x4e20);}[_0x5f56c6(0x1c0)](){const _0x48f407=_0x5f56c6;this[_0x48f407(0x44c)]&&(clearTimeout(this[_0x48f407(0x44c)]),this['_collaborationTimeoutTimer']=null);}[_0x5f56c6(0x522)](_0x49f4e1){const _0x3b3427=_0x5f56c6;if(!this['_shouldReportTelemetry'])return;const {data:_0x3be58b}=_0x49f4e1,{unitID:_0x18ed54,changeset:_0x34bb18}=_0x3be58b,{mutations:_0x48dacc,type:_0xf16c2c}=_0x34bb18;this[_0x3b3427(0x4b6)]={'unitId':_0x18ed54,'type':_0xf16c2c,'startTime':performance[_0x3b3427(0x1c4)](),'stopTime':0x0,'duration':0x0,'size':_0x5854e3(_0x48dacc)};}[_0x5f56c6(0x57c)](){const _0x31b515=_0x5f56c6;if(this[_0x31b515(0x38e)]){if(!this[_0x31b515(0x4b6)]){this[_0x31b515(0x3ac)]['error']('[CollaborationSession]',_0x31b515(0x1c5));return;}this[_0x31b515(0x4b6)][_0x31b515(0x429)]=performance[_0x31b515(0x1c4)](),this['_telemetryInfo'][_0x31b515(0x3e9)]=this[_0x31b515(0x4b6)][_0x31b515(0x429)]-this[_0x31b515(0x4b6)]['startTime'],this['_telemetryService'][_0x31b515(0x29a)](_0x3d7395,this[_0x31b515(0x4b6)]),this[_0x31b515(0x4b6)]=null;}}[_0x5f56c6(0x432)](){this['_telemetryInfo']=null;}},_0x4fdbaf[_0x5f56c6(0x3c8)]=_0x25d4ae([_0x301af7(0x2,_0x29630e[_0x5f56c6(0x478)]),_0x301af7(0x3,_0x279664[_0x5f56c6(0x50a)]),_0x301af7(0x4,_0x279664[_0x5f56c6(0x24d)]),_0x301af7(0x5,_0x29630e[_0x5f56c6(0x34d)]),_0x301af7(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x301af7(0x7,_0x29630e['Inject'](_0x4fdbaf[_0x5f56c6(0x2b3)])),_0x301af7(0x8,_0x29630e['Inject'](_0x4fa0d0)),_0x301af7(0x9,_0x29630e[_0x5f56c6(0x20f)](_0x2baadb[_0x5f56c6(0x15a)]))],_0x4fdbaf[_0x5f56c6(0x3c8)]);var _0x196252=Object[_0x5f56c6(0x17a)],_0x418f55=Object['getOwnPropertyDescriptor'],_0x223a4d=(_0x44ebaf,_0x3e0b31,_0x133947,_0x36b637)=>{const _0x4354cd=_0x5f56c6;for(var _0x177904=_0x36b637>0x1?void 0x0:_0x36b637?_0x418f55(_0x3e0b31,_0x133947):_0x3e0b31,_0x8daae5=_0x44ebaf[_0x4354cd(0x47d)]-0x1,_0x4547fd;_0x8daae5>=0x0;_0x8daae5--)(_0x4547fd=_0x44ebaf[_0x8daae5])&&(_0x177904=(_0x36b637?_0x4547fd(_0x3e0b31,_0x133947,_0x177904):_0x4547fd(_0x177904))||_0x177904);return _0x36b637&&_0x177904&&_0x196252(_0x3e0b31,_0x133947,_0x177904),_0x177904;},_0x20a90d=(_0xde5c51,_0x5efc88)=>(_0x50dadc,_0x2baf19)=>_0x5efc88(_0x50dadc,_0x2baf19,_0xde5c51);_0x4fdbaf[_0x5f56c6(0x580)]=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x291e2e,_0x4c8e8c,_0x250b54,_0x2ab5b7,_0x122909,_0xdf031b){const _0x33a85c=_0x5f56c6;super(),_0x48f470(this,'_socket$',new _0x17e48c[(_0x33a85c(0x38b))](void 0x0)),_0x48f470(this,_0x33a85c(0x309),this[_0x33a85c(0x338)]['asObservable']()),_0x48f470(this,_0x33a85c(0x1a7),null),_0x48f470(this,_0x33a85c(0x2aa),new Map()),_0x48f470(this,'_status$',new _0x17e48c[(_0x33a85c(0x38b))](_0x90155['IDLE'])),_0x48f470(this,_0x33a85c(0x46c),this[_0x33a85c(0x190)][_0x33a85c(0x2ac)]()),_0x48f470(this,_0x33a85c(0x1e9),!0x1),_0x48f470(this,_0x33a85c(0x292)),_0x48f470(this,_0x33a85c(0x36b),0x0),_0x48f470(this,_0x33a85c(0x305)),_0x48f470(this,_0x33a85c(0x39f)),(this[_0x33a85c(0x3cf)]=_0x291e2e,this[_0x33a85c(0x375)]=_0x4c8e8c,this['_messageService']=_0x250b54,this['_logService']=_0x2ab5b7,this[_0x33a85c(0x4e8)]=_0x122909,this[_0x33a85c(0x515)]=_0xdf031b,this[_0x33a85c(0x360)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x5f56c6(0x360)](){const _0x58e7b2=_0x5f56c6;this[_0x58e7b2(0x58a)](),this[_0x58e7b2(0x39a)]();}[_0x5f56c6(0x1b8)](){const _0x21819a=_0x5f56c6;super['dispose'](),this[_0x21819a(0x2aa)][_0x21819a(0x57d)](_0x18365e=>_0x18365e['dispose']()),this[_0x21819a(0x2aa)]['clear'](),this[_0x21819a(0x190)]['complete']();}async[_0x5f56c6(0x494)](_0x3f5613){const _0xf2f2fa=_0x5f56c6;if(this['_sessions'][_0xf2f2fa(0x55c)](_0x3f5613))return this['_sessions'][_0xf2f2fa(0x44d)](_0x3f5613);this['_tryEnsureSocket']();const _0x3ac94d=this[_0xf2f2fa(0x3cf)][_0xf2f2fa(0x445)](_0x4fdbaf[_0xf2f2fa(0x3c8)],_0x3f5613,this[_0xf2f2fa(0x338)][_0xf2f2fa(0x2ac)]());return this['_sessions']['set'](_0x3f5613,_0x3ac94d),_0x3ac94d;}[_0x5f56c6(0x43e)](_0x2fa82c){const _0x5a04ed=_0x5f56c6;var _0x45ffb4;const _0x5b0082=this[_0x5a04ed(0x2aa)][_0x5a04ed(0x44d)](_0x2fa82c);_0x5b0082&&(this[_0x5a04ed(0x2aa)][_0x5a04ed(0x340)](_0x2fa82c),_0x5b0082[_0x5a04ed(0x3ca)]()),this[_0x5a04ed(0x2aa)][_0x5a04ed(0x4b5)]||(_0x45ffb4=this[_0x5a04ed(0x41f)])==null||_0x45ffb4[_0x5a04ed(0x3ca)]();}[_0x5f56c6(0x22b)](){const _0x55fb53=_0x5f56c6;this[_0x55fb53(0x36b)]=0x0,this[_0x55fb53(0x292)]!=null&&(clearTimeout(this[_0x55fb53(0x292)]),this[_0x55fb53(0x292)]=null),this[_0x55fb53(0x472)]();}[_0x5f56c6(0x2e3)](){const _0x45501e=_0x5f56c6;var _0x189f78,_0x4a54d0;const _0x5b1c6b=this[_0x45501e(0x4e8)]['getConfig'](_0x4650c3),_0x1cf4cf=this[_0x45501e(0x4e8)]['getConfig'](_0x1573c4),_0x199a31=(_0x4a54d0=(_0x189f78=_0x1cf4cf==null?void 0x0:_0x1cf4cf[_0x45501e(0x2e5)])!=null?_0x189f78:_0x5b1c6b)!=null?_0x4a54d0:_0x56f7d8,_0x2bf97a=this[_0x45501e(0x515)][_0x45501e(0x2c3)](_0x199a31);return this['_candidateSocket']=_0x2bf97a,_0x2bf97a;}[_0x5f56c6(0x2fb)](){const _0x9d7109=_0x5f56c6;var _0x40038d,_0x1e828c;try{const _0x4fa5cd=(_0x1e828c=(_0x40038d=this[_0x9d7109(0x41f)])!=null?_0x40038d:this[_0x9d7109(0x1a7)])!=null?_0x1e828c:this['_createSocket']();if(_0x4fa5cd){const _0x4b9971=_0x4fa5cd[_0x9d7109(0x16b)];_0x4fa5cd['send']=_0x1b292c=>(this[_0x9d7109(0x4b9)](),_0x4b9971[_0x9d7109(0x257)](_0x4fa5cd,[_0x1b292c])),_0x4fa5cd[_0x9d7109(0x39c)][_0x9d7109(0x18a)](_0x5aed54=>this[_0x9d7109(0x45e)](_0x4fa5cd,_0x5aed54)),_0x4fa5cd[_0x9d7109(0x55a)][_0x9d7109(0x300)](_0x56098d['take'](0x1))[_0x9d7109(0x18a)](_0x1c0934=>this[_0x9d7109(0x3ac)][_0x9d7109(0x1fe)](_0x9d7109(0x4f0),_0x1c0934)),_0x4fa5cd['open$'][_0x9d7109(0x300)](_0x56098d[_0x9d7109(0x19a)](0x1))[_0x9d7109(0x18a)](()=>{const _0x4a7ba1=_0x9d7109;this[_0x4a7ba1(0x158)](_0x4fa5cd);}),_0x4fa5cd[_0x9d7109(0x442)][_0x9d7109(0x300)](_0x56098d[_0x9d7109(0x19a)](0x1))[_0x9d7109(0x18a)](_0x44b5a6=>{const _0x3ef113=_0x9d7109;this[_0x3ef113(0x3ac)][_0x3ef113(0x2fa)](_0x3ef113(0x565),_0x3ef113(0x165),_0x44b5a6),this[_0x3ef113(0x3f2)]();});}}catch(_0x56fa16){this[_0x9d7109(0x3ac)][_0x9d7109(0x1fe)](_0x56fa16),this[_0x9d7109(0x3f2)]();}}[_0x5f56c6(0x158)](_0x1ff29d){const _0xc914ec=_0x5f56c6;this[_0xc914ec(0x3ac)]['debug'](_0xc914ec(0x565),_0xc914ec(0x3a2)),_0x1ff29d['send']({'cmd':_0x118155[_0xc914ec(0x1d2)]}),this[_0xc914ec(0x4b9)]();}[_0x5f56c6(0x58a)](){const _0x583937=_0x5f56c6;window['addEventListener']('offline',()=>this[_0x583937(0x4f9)]());}[_0x5f56c6(0x4f9)](){const _0x580ad7=_0x5f56c6;this[_0x580ad7(0x1e9)]=!0x1,this[_0x580ad7(0x1a7)]=null,this['_status$']['next'](_0x90155[_0x580ad7(0x385)]),this['_socket$'][_0x580ad7(0x17b)](null),this[_0x580ad7(0x3ed)](),this['_clearHeartbeatTimer']();}[_0x5f56c6(0x3f2)](){const _0x45eb75=_0x5f56c6;var _0xece88c;this[_0x45eb75(0x4f9)](),this[_0x45eb75(0x36b)]<((_0xece88c=this[_0x45eb75(0x4e8)][_0x45eb75(0x1e0)](_0xd6482f))!=null?_0xece88c:0x3)?(this[_0x45eb75(0x3a9)][_0x45eb75(0x2e8)]({'key':_0x45eb75(0x486),'type':_0x2d4ff4['MessageType']['Warning'],'content':this[_0x45eb75(0x375)]['t']('session.will-retry')}),this[_0x45eb75(0x472)]()):this[_0x45eb75(0x3a9)][_0x45eb75(0x2e8)]({'key':_0x45eb75(0x486),'type':_0x2d4ff4[_0x45eb75(0x2c7)]['Error'],'content':this[_0x45eb75(0x375)]['t'](_0x45eb75(0x3d6))});}['_listenToOnlineEvent'](){const _0x5349ba=_0x5f56c6,_0x308f08=()=>{const _0x4b1ece=_0xe8fd;this['_socket']||this[_0x4b1ece(0x22b)]();},_0x5d6fa5=()=>{const _0x4bc45b=_0xe8fd;this[_0x4bc45b(0x41f)]||document[_0x4bc45b(0x25c)]===_0x4bc45b(0x4e9)||this['reconnect']();};window[_0x5349ba(0x1df)]('online',_0x308f08),document[_0x5349ba(0x1df)](_0x5349ba(0x37b),_0x5d6fa5);}[_0x5f56c6(0x472)](){const _0xe70949=_0x5f56c6;var _0x332d17;const _0x110e9e=this['_retryCount'],_0x5c09c1=this[_0xe70949(0x4e8)][_0xe70949(0x1e0)](_0x1573c4),_0xa3d89b=_0x110e9e===0x0?0x0:((_0x332d17=_0x5c09c1==null?void 0x0:_0x5c09c1[_0xe70949(0x374)])!=null?_0x332d17:0x4e20)*0x2**_0x110e9e;this[_0xe70949(0x292)]=window[_0xe70949(0x262)](()=>{const _0x5beaeb=_0xe70949;clearTimeout(this['_retryConnectingTimer']),this[_0x5beaeb(0x292)]=null,this[_0x5beaeb(0x2fb)]();},_0xa3d89b),this['_retryCount']+=0x1;}[_0x5f56c6(0x45e)](_0x1ff901,_0x18e217){const _0x804009=_0x5f56c6,{cmd:_0x2d952e}=_0x18e217;_0x2d952e===_0x118155[_0x804009(0x1d2)]&&!this['_socketReady']&&(_0x1ff901[_0x804009(0x4d4)]=_0x18e217[_0x804009(0x54c)][_0x804009(0x4d4)],this[_0x804009(0x338)][_0x804009(0x17b)](_0x1ff901),this[_0x804009(0x190)][_0x804009(0x17b)](_0x90155['ONLINE']),this[_0x804009(0x1e9)]=!0x0,this['_candidateSocket']=null),_0x2d952e===_0x118155[_0x804009(0x391)]&&this[_0x804009(0x3ed)](),this['_rescheduleHeartbeat']();}[_0x5f56c6(0x4b9)](){const _0x4e84b9=_0x5f56c6;var _0x3d5c9d;this[_0x4e84b9(0x280)](),this[_0x4e84b9(0x305)]=window[_0x4e84b9(0x262)](()=>this[_0x4e84b9(0x31c)](),(_0x3d5c9d=this[_0x4e84b9(0x4e8)]['getConfig'](_0x17ca3f))!=null?_0x3d5c9d:0x7530);}[_0x5f56c6(0x31c)](){const _0x530f64=_0x5f56c6;this[_0x530f64(0x41f)][_0x530f64(0x16b)]({'cmd':_0x118155[_0x530f64(0x391)]}),this[_0x530f64(0x267)]();}[_0x5f56c6(0x267)](){const _0xca216b=_0x5f56c6;var _0xd20fdc;this['_timeoutTimer']=window[_0xca216b(0x262)](()=>this['_onConnectionFailed'](),(_0xd20fdc=this['_configService'][_0xca216b(0x1e0)](_0x3b0121))!=null?_0xd20fdc:0x4e20);}[_0x5f56c6(0x280)](){const _0x16991c=_0x5f56c6;this[_0x16991c(0x305)]!=null&&(clearTimeout(this[_0x16991c(0x305)]),this[_0x16991c(0x305)]=null);}[_0x5f56c6(0x3ed)](){const _0xbe2ae5=_0x5f56c6;this[_0xbe2ae5(0x39f)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},_0x4fdbaf['CollaborationSessionService']=_0x223a4d([_0x20a90d(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x20a90d(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x20a90d(0x2,_0x279664[_0x5f56c6(0x24d)]),_0x20a90d(0x3,_0x29630e[_0x5f56c6(0x478)]),_0x20a90d(0x4,_0x29630e[_0x5f56c6(0x34d)]),_0x20a90d(0x5,_0x24f2a6)],_0x4fdbaf[_0x5f56c6(0x580)]);for(var _0x4b03b3=[],_0x59bf5a=0x0;_0x59bf5a<0x100;++_0x59bf5a)_0x4b03b3['push']((_0x59bf5a+0x100)[_0x5f56c6(0x468)](0x10)['slice'](0x1));function _0x949fe5(_0x8cf2ea,_0x4ec52c=0x0){const _0x3d09ff=_0x5f56c6;return(_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x0]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x1]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x2]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x3]]+'-'+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x4]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x5]]+'-'+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x6]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x7]]+'-'+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x8]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x9]]+'-'+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xa]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xb]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xc]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xd]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xe]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xf]])[_0x3d09ff(0x30f)]();}var _0x5987d6,_0x1bda84=new Uint8Array(0x10);function _0x85cf89(){const _0x1ad270=_0x5f56c6;if(!_0x5987d6&&(_0x5987d6=typeof crypto<'u'&&crypto[_0x1ad270(0x2f8)]&&crypto['getRandomValues'][_0x1ad270(0x4bc)](crypto),!_0x5987d6))throw new Error(_0x1ad270(0x29f));return _0x5987d6(_0x1bda84);}var _0x8ebaa=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x5f56c6(0x4ae)][_0x5f56c6(0x4bc)](crypto);const _0xb6f691={'randomUUID':_0x8ebaa};function _0x16ee13(_0x275a5a,_0xcffb9,_0xba2cce){const _0x37d84b=_0x5f56c6;if(_0xb6f691['randomUUID']&&!_0xcffb9&&!_0x275a5a)return _0xb6f691[_0x37d84b(0x4ae)]();_0x275a5a=_0x275a5a||{};var _0x900ed2=_0x275a5a[_0x37d84b(0x3c9)]||(_0x275a5a[_0x37d84b(0x21f)]||_0x85cf89)();return _0x900ed2[0x6]=_0x900ed2[0x6]&0xf|0x40,_0x900ed2[0x8]=_0x900ed2[0x8]&0x3f|0x80,_0x949fe5(_0x900ed2);}var _0x7e2e11=Object[_0x5f56c6(0x17a)],_0x1d017f=Object[_0x5f56c6(0x47e)],_0x12f0c7=(_0x5d285b,_0x294c73,_0x2395c6,_0x1e30ca)=>{const _0x2b2a89=_0x5f56c6;for(var _0x5358b1=_0x1e30ca>0x1?void 0x0:_0x1e30ca?_0x1d017f(_0x294c73,_0x2395c6):_0x294c73,_0x4c8504=_0x5d285b[_0x2b2a89(0x47d)]-0x1,_0x46cd02;_0x4c8504>=0x0;_0x4c8504--)(_0x46cd02=_0x5d285b[_0x4c8504])&&(_0x5358b1=(_0x1e30ca?_0x46cd02(_0x294c73,_0x2395c6,_0x5358b1):_0x46cd02(_0x5358b1))||_0x5358b1);return _0x1e30ca&&_0x5358b1&&_0x7e2e11(_0x294c73,_0x2395c6,_0x5358b1),_0x5358b1;},_0x104583=(_0x369426,_0x199bbe)=>(_0x29f443,_0x45bb66)=>_0x199bbe(_0x29f443,_0x45bb66,_0x369426);let _0x403af6=class{constructor(_0xaf32c5,_0x55b5ab,_0x4bc653){const _0x15a62d=_0x5f56c6;this['_injector']=_0xaf32c5,this[_0x15a62d(0x4ab)]=_0x55b5ab,this[_0x15a62d(0x576)]=_0x4bc653;}[_0x5f56c6(0x29e)](_0xac6cd8){const _0x14a2a1=_0x5f56c6;this[_0x14a2a1(0x2cd)](_0xac6cd8),this['_transformPreviousActiveRange'](_0xac6cd8);}['transformRemoteChangeset'](_0x4a5be1){const _0x3faff2=_0x5f56c6,{unitID:_0x51009d}=_0x4a5be1,_0x489558=this[_0x3faff2(0x576)][_0x3faff2(0x2f1)](_0x51009d)[_0x3faff2(0x2fe)](_0x214ea6[_0x3faff2(0x212)]),{redoCache:_0x33c6bc}=_0x489558['getUndoRedoMutationParamsCache']();if(_0x33c6bc[_0x3faff2(0x47d)]===0x0)return _0x4a5be1;let _0x2cbb1b=_0x29630e[_0x3faff2(0x4a1)]['deepClone'](_0x4a5be1[_0x3faff2(0x288)][0x0]);for(let _0x561f1d=0x0;_0x561f1d<_0x33c6bc[_0x3faff2(0x47d)];_0x561f1d++){const _0x324e89={'id':_0x3faff2(0x23d),'params':{..._0x33c6bc[_0x561f1d]}},_0x5794dc=this[_0x3faff2(0x4ab)]['transformMutation'](_0x2cbb1b,_0x324e89,!0x1);if(_0x2a6d3d[_0x3faff2(0x1db)](_0x5794dc))throw _0x5794dc['error'];_0x2cbb1b=_0x5794dc[_0x3faff2(0x1dc)];}return{..._0x29630e['Tools'][_0x3faff2(0x2a5)](_0x4a5be1),'mutations':[_0x2cbb1b]};}[_0x5f56c6(0x2cd)](_0xe76ecf){const _0x243c1c=_0x5f56c6,{unitID:_0xdccad9}=_0xe76ecf,_0x523e4d=this[_0x243c1c(0x576)][_0x243c1c(0x2f1)](_0xdccad9)[_0x243c1c(0x2fe)](_0x214ea6['DocIMEInputManagerService']),{undoCache:_0x19d0ae,redoCache:_0x1afdb9}=_0x523e4d[_0x243c1c(0x20c)]();if(_0x19d0ae[_0x243c1c(0x47d)]===0x0||_0x1afdb9['length']===0x0)return;const _0x4885c6=[],_0x14a5f1=[];let _0x33a12f=_0x29630e['Tools'][_0x243c1c(0x2a5)](_0xe76ecf['mutations'][0x0]),_0xf0937d=_0x29630e[_0x243c1c(0x4a1)]['deepClone'](_0xe76ecf[_0x243c1c(0x288)][0x0]);for(let _0x1d95bf=_0x19d0ae['length']-0x1;_0x1d95bf>=0x0;_0x1d95bf--){const _0x2f104e={'id':_0x243c1c(0x23d),'params':{..._0x19d0ae[_0x1d95bf]}},_0xd3bb27={'id':'doc.mutation.rich-text-editing','params':{..._0x1afdb9[_0x1d95bf]}},_0x59b6da=this[_0x243c1c(0x4ab)][_0x243c1c(0x506)](_0x33a12f,_0x2f104e,!0x1),_0xc0b896=this[_0x243c1c(0x4ab)][_0x243c1c(0x506)](_0xf0937d,_0xd3bb27,!0x1);if(_0x2a6d3d[_0x243c1c(0x1db)](_0x59b6da))throw _0x59b6da[_0x243c1c(0x1fe)];if(_0x2a6d3d[_0x243c1c(0x1db)](_0xc0b896))throw _0xc0b896[_0x243c1c(0x1fe)];_0x4885c6[_0x243c1c(0x49b)](_0x59b6da[_0x243c1c(0x3fc)]['params']),_0x14a5f1[_0x243c1c(0x49b)](_0xc0b896[_0x243c1c(0x3fc)][_0x243c1c(0x1ee)]),_0x33a12f=_0x59b6da[_0x243c1c(0x1dc)],_0xf0937d=_0xc0b896[_0x243c1c(0x1dc)];}_0x523e4d['setUndoRedoMutationParamsCache']({'undoCache':_0x4885c6,'redoCache':_0x14a5f1});}[_0x5f56c6(0x3da)](_0x2dbeba){const _0x2ee58e=_0x5f56c6,{unitID:_0x55e925}=_0x2dbeba,_0x7d23b=this[_0x2ee58e(0x576)][_0x2ee58e(0x2f1)](_0x55e925)[_0x2ee58e(0x2fe)](_0x214ea6['DocIMEInputManagerService']),_0x44498e=_0x7d23b['getActiveRange']();if(_0x44498e==null)return;const _0x57b8a0=[{'id':_0x2ee58e(0x23d),'params':{'unitId':_0x2dbeba[_0x2ee58e(0x586)],'actions':null,'textRanges':[_0x44498e]}}],_0x12268e=this[_0x2ee58e(0x4ab)][_0x2ee58e(0x4bd)](_0x2dbeba,_0x57b8a0);if(!_0x2a6d3d[_0x2ee58e(0x578)](_0x12268e))throw _0x12268e['error'];const _0x1c168f=_0x12268e[_0x2ee58e(0x3fc)][0x0][_0x2ee58e(0x1ee)][_0x2ee58e(0x589)];Array[_0x2ee58e(0x400)](_0x1c168f)&&_0x1c168f[_0x2ee58e(0x47d)]&&_0x7d23b[_0x2ee58e(0x253)](_0x1c168f[0x0]);}};_0x403af6=_0x12f0c7([_0x104583(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x104583(0x1,_0x2a6d3d[_0x5f56c6(0x172)]),_0x104583(0x2,_0x37c548['IRenderManagerService'])],_0x403af6);var _0x5b87fc=Object['defineProperty'],_0x109f7a=Object['getOwnPropertyDescriptor'],_0x48d8fc=(_0x9dab03,_0xa41fb,_0x47b4fd,_0x5aa4b1)=>{const _0x333969=_0x5f56c6;for(var _0x2e0298=_0x5aa4b1>0x1?void 0x0:_0x5aa4b1?_0x109f7a(_0xa41fb,_0x47b4fd):_0xa41fb,_0x33036e=_0x9dab03[_0x333969(0x47d)]-0x1,_0xa7ee3;_0x33036e>=0x0;_0x33036e--)(_0xa7ee3=_0x9dab03[_0x33036e])&&(_0x2e0298=(_0x5aa4b1?_0xa7ee3(_0xa41fb,_0x47b4fd,_0x2e0298):_0xa7ee3(_0x2e0298))||_0x2e0298);return _0x5aa4b1&&_0x2e0298&&_0x5b87fc(_0xa41fb,_0x47b4fd,_0x2e0298),_0x2e0298;},_0x2b8c79=(_0x58d6fb,_0x27e1fd)=>(_0x106339,_0x2d749a)=>_0x27e1fd(_0x106339,_0x2d749a,_0x58d6fb);_0x4fdbaf[_0x5f56c6(0x1d8)]=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x39bc54,_0x32c1c5,_0x57c167,_0x1744ba,_0x31b908){const _0x48cb42=_0x5f56c6;super(),_0x48f470(this,_0x48cb42(0x224),new Map()),_0x48f470(this,_0x48cb42(0x491),new Map()),_0x48f470(this,'_disabled',!0x1),(this[_0x48cb42(0x4e8)]=_0x39bc54,this[_0x48cb42(0x1e3)]=_0x32c1c5,this[_0x48cb42(0x22e)]=_0x57c167,this[_0x48cb42(0x375)]=_0x1744ba,this[_0x48cb42(0x4e2)]=_0x31b908,this[_0x48cb42(0x3b9)]());}['disableLocalCache'](){const _0x3f6e01=_0x5f56c6;this[_0x3f6e01(0x4d2)]=!0x0;}[_0x5f56c6(0x484)](){const _0x15e916=_0x5f56c6;this[_0x15e916(0x4d2)]=!0x1;}['dispose'](){const _0x1c9cc9=_0x5f56c6;this[_0x1c9cc9(0x2d8)]()[_0x1c9cc9(0x4c3)](()=>super[_0x1c9cc9(0x1b8)]());}async['loadOfflineData'](_0xa6121d){const _0x24e99c=_0x5f56c6;return this[_0x24e99c(0x4d2)]?null:this['_localStorageService'][_0x24e99c(0x1d4)](_0x148cfe(_0xa6121d));}async[_0x5f56c6(0x34f)](_0x123672,_0x14ef42){const _0x403034=_0x5f56c6;return!!this['_localStorageService'][_0x403034(0x23a)](_0x123672,_0x14ef42);}[_0x5f56c6(0x242)](_0x4cbbf7,_0xeda1fd,_0x105319,_0x1ef0f4){const _0x107a19=_0x5f56c6,_0x434f65=this['_revisionService'][_0x107a19(0x174)](_0x4cbbf7);this['_cachedData'][_0x107a19(0x4f1)](_0x4cbbf7,{'unitID':_0x4cbbf7,'type':_0xeda1fd,'awaitingChangeset':_0x105319,'mutations':_0x1ef0f4,'rev':_0x434f65}),this['_saveTaskMap']['has'](_0x4cbbf7)||this[_0x107a19(0x45d)](_0x4cbbf7);}[_0x5f56c6(0x45d)](_0x25d230){const _0x20c2be=_0x5f56c6,_0x427469=this[_0x20c2be(0x452)]();_0x427469===0x0?this[_0x20c2be(0x1ef)](_0x25d230):this[_0x20c2be(0x491)][_0x20c2be(0x4f1)](_0x25d230,setTimeout(()=>this[_0x20c2be(0x1ef)](_0x25d230),_0x427469));}[_0x5f56c6(0x452)](){var _0x25e537;return(_0x25e537=this['_configService']['getConfig'](_0x5831f1))!=null?_0x25e537:0x3e8;}['_saveCache'](_0x21343b){const _0x2ed007=_0x5f56c6,_0x6717da=this[_0x2ed007(0x491)][_0x2ed007(0x44d)](_0x21343b);return _0x6717da!==void 0x0&&window[_0x2ed007(0x1f7)](_0x6717da),this[_0x2ed007(0x1e3)]['setItem'](_0x148cfe(_0x21343b),this[_0x2ed007(0x224)][_0x2ed007(0x44d)](_0x21343b))[_0x2ed007(0x4c3)](()=>this[_0x2ed007(0x491)][_0x2ed007(0x340)](_0x21343b));}async[_0x5f56c6(0x2d8)](){const _0x248a07=_0x5f56c6,_0x58aef3=[];this['_saveTaskMap'][_0x248a07(0x57d)]((_0x23016e,_0x50ad8a)=>{const _0xd00ef7=_0x248a07;window[_0xd00ef7(0x1f7)](_0x23016e),_0x58aef3[_0xd00ef7(0x476)](this[_0xd00ef7(0x1ef)](_0x50ad8a)['then'](()=>{const _0x3fb3ae=_0xd00ef7;this[_0x3fb3ae(0x491)][_0x3fb3ae(0x340)](_0x50ad8a);}));}),await Promise['all'](_0x58aef3);}[_0x5f56c6(0x3b9)](){const _0x452ad0=_0x5f56c6;this[_0x452ad0(0x52f)](this[_0x452ad0(0x22e)][_0x452ad0(0x3e4)](()=>{const _0x4797f7=_0x452ad0;if(this[_0x4797f7(0x491)][_0x4797f7(0x4b5)])return this[_0x4797f7(0x375)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x4fdbaf[_0x5f56c6(0x1d8)]=_0x48d8fc([_0x2b8c79(0x0,_0x29630e[_0x5f56c6(0x34d)]),_0x2b8c79(0x1,_0x29630e[_0x5f56c6(0x238)]),_0x2b8c79(0x2,_0x279664[_0x5f56c6(0x50a)]),_0x2b8c79(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x2b8c79(0x4,_0x29630e['Inject'](_0x2a6d3d['RevisionService']))],_0x4fdbaf['LocalCacheService']);function _0x148cfe(_0x59fe8c){const _0x631dbd=_0x5f56c6;return _0x631dbd(0x4dc)+_0x59fe8c;}var _0x2a5233=Object[_0x5f56c6(0x17a)],_0x2f89b7=Object['getOwnPropertyDescriptor'],_0x501a3c=(_0x5b1487,_0x2720a1,_0x236c7d,_0x61237d)=>{const _0x3ffc6b=_0x5f56c6;for(var _0x53011e=_0x61237d>0x1?void 0x0:_0x61237d?_0x2f89b7(_0x2720a1,_0x236c7d):_0x2720a1,_0x3860e0=_0x5b1487[_0x3ffc6b(0x47d)]-0x1,_0x5e885a;_0x3860e0>=0x0;_0x3860e0--)(_0x5e885a=_0x5b1487[_0x3860e0])&&(_0x53011e=(_0x61237d?_0x5e885a(_0x2720a1,_0x236c7d,_0x53011e):_0x5e885a(_0x53011e))||_0x53011e);return _0x61237d&&_0x53011e&&_0x2a5233(_0x2720a1,_0x236c7d,_0x53011e),_0x53011e;},_0x45ffd1=(_0x51828a,_0x26be80)=>(_0x763bc8,_0x3e0171)=>_0x26be80(_0x763bc8,_0x3e0171,_0x51828a);function _0x55d94a(_0x29a748){const _0x4b0dc5=_0x5f56c6,{unitID:_0x1b8fcc,mutations:_0x4b3f87}=_0x29a748;return{'unitId':_0x1b8fcc,'subUnitId':_0x4b3f87[0x0][_0x4b0dc5(0x1ee)]['subUnitId']};}let _0x300a71=class{constructor(_0x24aa2b,_0x4aaf98,_0x3f953c){const _0x38e210=_0x5f56c6;this[_0x38e210(0x3cf)]=_0x24aa2b,this['_transformService']=_0x4aaf98,this[_0x38e210(0x564)]=_0x3f953c;}[_0x5f56c6(0x250)](_0x1553e9){const _0x3538f1=_0x5f56c6;var _0x3aa2c8,_0x52d6d2,_0x180647,_0x2ee43d;const _0x5034b1=this['_injector']['get'](_0x5decb0[_0x3538f1(0x15d)]),{unitId:_0x598579,subUnitId:_0x2ea688}=_0x55d94a(_0x1553e9),_0x4fb23c=_0x5034b1[_0x3538f1(0x58d)](_0x598579)['getCurrentSelections'](),_0x1f7310=(_0x52d6d2=(_0x3aa2c8=this['_instanceService'][_0x3538f1(0x2de)](_0x598579))==null?void 0x0:_0x3aa2c8[_0x3538f1(0x582)]())==null?void 0x0:_0x52d6d2[_0x3538f1(0x15c)]();if(_0x4fb23c[_0x3538f1(0x47d)]===0x0||!_0x598579||!_0x2ea688)return;const _0x2407ad=[{'id':_0x5decb0['SetSelectionsOperation']['id'],'params':{'unitId':_0x598579,'subUnitId':_0x1f7310,'selections':_0x29630e[_0x3538f1(0x4a1)][_0x3538f1(0x2a5)](_0x4fb23c)}}],_0x501533=this[_0x3538f1(0x4ab)]['transformMutationsWithChangeset'](_0x1553e9,_0x2407ad);if(!_0x2a6d3d[_0x3538f1(0x578)](_0x501533))throw _0x501533[_0x3538f1(0x1fe)];const _0x2df8fa=(_0x2ee43d=(_0x180647=_0x501533['m2Prime'][0x0])==null?void 0x0:_0x180647[_0x3538f1(0x1ee)])==null?void 0x0:_0x2ee43d[_0x3538f1(0x551)];if(Array['isArray'](_0x2df8fa)&&_0x2df8fa[_0x3538f1(0x47d)]){if(_0x2df8fa[_0x3538f1(0x47d)]===_0x2407ad[0x0][_0x3538f1(0x1ee)]['selections'][_0x3538f1(0x47d)]&&_0x2df8fa['every']((_0xfce12d,_0x223820)=>_0x29630e['Rectangle'][_0x3538f1(0x34a)](_0xfce12d['range'],_0x2407ad[0x0][_0x3538f1(0x1ee)][_0x3538f1(0x551)][_0x223820]['range'])))return;this['_injector'][_0x3538f1(0x44d)](_0x29630e[_0x3538f1(0x1a4)])[_0x3538f1(0x180)](_0x5decb0[_0x3538f1(0x3aa)]['id'],{'unitId':_0x598579,'subUnitId':_0x1f7310,'selections':_0x2df8fa});}}};_0x300a71=_0x501a3c([_0x45ffd1(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['Injector'])),_0x45ffd1(0x1,_0x2a6d3d[_0x5f56c6(0x172)]),_0x45ffd1(0x2,_0x29630e['IUniverInstanceService'])],_0x300a71);const _0x5bb5e3=_0x29630e[_0x5f56c6(0x284)](_0x5f56c6(0x28a));var _0x414a7e=(_0x288729=>(_0x288729[_0x288729[_0x5f56c6(0x531)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x288729[_0x288729['OTHER_CLIENTS_EDITING']=0x1]=_0x5f56c6(0x3ff),_0x288729))(_0x414a7e||{});const _0x32ff5d=0x7530,_0x41e7a3=_0x5f56c6(0x3eb);class _0x1b825f extends _0x29630e['Disposable']{constructor(){const _0x8b04fc=_0x5f56c6;super(),_0x48f470(this,'_id',_0x29630e[_0x8b04fc(0x4a1)][_0x8b04fc(0x2d5)]()),_0x48f470(this,_0x8b04fc(0x393),new Set()),_0x48f470(this,_0x8b04fc(0x3e1),new Map()),_0x48f470(this,'_heartbeatTimer',null),_0x48f470(this,_0x8b04fc(0x558),new Map()),_0x48f470(this,_0x8b04fc(0x511),new Map()),this[_0x8b04fc(0x436)]();}[_0x5f56c6(0x1b8)](){const _0x57ea4c=_0x5f56c6;super[_0x57ea4c(0x1b8)](),this['_clearOtherTimers'][_0x57ea4c(0x57d)]((_0x3438be,_0x4629d7)=>this['_removeClearOtherTimer'](_0x4629d7)),this[_0x57ea4c(0x3e6)]&&window[_0x57ea4c(0x41e)](this[_0x57ea4c(0x3e6)]);}[_0x5f56c6(0x485)](_0x1d3cda){const _0x2b7460=_0x5f56c6;return this['_ensureSubject'](_0x1d3cda)['pipe'](_0x17e48c[_0x2b7460(0x356)]());}[_0x5f56c6(0x348)](_0x37dbd1){const _0x11845c=_0x5f56c6;this['_selfUnitIDs'][_0x11845c(0x4b5)]===0x0&&this[_0x11845c(0x4b0)](),this[_0x11845c(0x393)]['add'](_0x37dbd1),this[_0x11845c(0x526)]({'type':0x0,'memberID':this[_0x11845c(0x1c7)],'unitIDs':[_0x37dbd1],'isForwarded':!0x1});}[_0x5f56c6(0x3b1)](_0x22564f){const _0x3a549c=_0x5f56c6;this[_0x3a549c(0x393)]['delete'](_0x22564f),this[_0x3a549c(0x393)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x3a549c(0x41e)](this[_0x3a549c(0x3e6)]);}[_0x5f56c6(0x436)](){const _0x251395=_0x5f56c6;this[_0x251395(0x52f)](_0x29630e['toDisposable'](_0x17e48c[_0x251395(0x18b)](window,_0x251395(0x372))[_0x251395(0x18a)](_0x24b03a=>{const _0x45e6e9=_0x251395;if(_0x24b03a[_0x45e6e9(0x404)]!==_0x41e7a3||!_0x24b03a['newValue'])return;const _0x351f3c=JSON[_0x45e6e9(0x3fb)](_0x24b03a[_0x45e6e9(0x4f2)]);this[_0x45e6e9(0x4b7)](_0x351f3c);}))),window[_0x251395(0x1df)]('unload',()=>this[_0x251395(0x526)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x251395(0x2b9)](this[_0x251395(0x393)])}));}[_0x5f56c6(0x4b7)](_0x35d101){const _0x11dcc2=_0x5f56c6;switch(_0x35d101[_0x11dcc2(0x566)]){case 0x0:this[_0x11dcc2(0x3c2)](_0x35d101);break;case 0x1:this[_0x11dcc2(0x18d)](_0x35d101);break;case 0x2:this[_0x11dcc2(0x487)](_0x35d101);break;}}['_handleJoinEvent'](_0x43e853){const _0x390368=_0x5f56c6,{unitIDs:_0xe275f0,memberID:_0x277fe4,isForwarded:_0x26d563}=_0x43e853;_0xe275f0['forEach'](_0x4790ab=>{const _0x299e59=_0xe8fd;if(!_0x26d563&&this[_0x299e59(0x3e1)][_0x299e59(0x55c)](_0x4790ab)&&this[_0x299e59(0x27e)](_0x4790ab)[_0x299e59(0x17b)](0x1),!this['_unitOnClients'][_0x299e59(0x55c)](_0x4790ab)||!this['_unitOnClients'][_0x299e59(0x44d)](_0x4790ab)[_0x299e59(0x55c)](_0x277fe4)){const _0x5ad58f=this['_unitOnClients']['get'](_0x4790ab)||new Set();_0x5ad58f['add'](_0x277fe4),this[_0x299e59(0x3e1)][_0x299e59(0x4f1)](_0x4790ab,_0x5ad58f),this[_0x299e59(0x40c)](_0x277fe4);}}),_0x26d563||this[_0x390368(0x526)]({'type':0x0,'memberID':this[_0x390368(0x1c7)],'unitIDs':[...this[_0x390368(0x393)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2a94bc){const _0x122c46=_0x5f56c6;this['_removeClearOtherTimer'](_0x2a94bc);const _0x5090a2=window['setTimeout'](()=>{const _0x517e90=_0xe8fd;this[_0x517e90(0x3e1)][_0x517e90(0x57d)](_0x322211=>{const _0x3a7115=_0x517e90;_0x322211[_0x3a7115(0x340)](_0x2a94bc);});},_0x32ff5d*0x2);this[_0x122c46(0x558)]['set'](_0x2a94bc,_0x5090a2);}[_0x5f56c6(0x3ef)](_0x334c67){const _0x54aa9b=_0x5f56c6;if(this[_0x54aa9b(0x558)][_0x54aa9b(0x55c)](_0x334c67)){const _0x7255ac=this[_0x54aa9b(0x558)][_0x54aa9b(0x44d)](_0x334c67);_0x7255ac&&window['clearTimeout'](_0x7255ac),this[_0x54aa9b(0x558)][_0x54aa9b(0x4f1)](_0x334c67,null);}}[_0x5f56c6(0x18d)](_0x9a1147){const {memberID:_0x13b82b,unitIDs:_0x591d61}=_0x9a1147;_0x591d61['forEach'](_0x1450a2=>{const _0x529fee=_0xe8fd;var _0x13610b;const _0x8e15fe=this[_0x529fee(0x3e1)][_0x529fee(0x44d)](_0x1450a2);_0x8e15fe&&(_0x8e15fe['delete'](_0x13b82b),(_0x13610b=this['_ensureSubject'](_0x1450a2))==null||_0x13610b[_0x529fee(0x17b)](_0x8e15fe[_0x529fee(0x4b5)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x13b82b);}['_handleHeartbeatEvent'](_0x17caf7){const _0x2ca0c3=_0x5f56c6;this[_0x2ca0c3(0x40c)](_0x17caf7[_0x2ca0c3(0x4d4)]);}[_0x5f56c6(0x526)](_0x1d3f38){const _0x4edc3b=_0x5f56c6;localStorage[_0x4edc3b(0x23a)](_0x41e7a3,JSON[_0x4edc3b(0x4a4)](_0x1d3f38));}['_scheduleHeartbeat'](){const _0x2b68d0=_0x5f56c6;this[_0x2b68d0(0x3e6)]=window[_0x2b68d0(0x19e)](()=>{const _0x2090f9=_0x2b68d0;this[_0x2090f9(0x526)]({'type':0x2,'memberID':this[_0x2090f9(0x1c7)]});},_0x32ff5d);}['_ensureSubject'](_0x39e0fd){const _0x49d17a=_0x5f56c6;return this[_0x49d17a(0x511)]['has'](_0x39e0fd)||this['_unitStatus'][_0x49d17a(0x4f1)](_0x39e0fd,new _0x17e48c[(_0x49d17a(0x38b))](0x0)),this['_unitStatus']['get'](_0x39e0fd);}}function _0x27f38b(_0x1b7cc2){const _0x167b54=_0x5f56c6;let _0x38bfad='';for(const _0x3149b9 of _0x1b7cc2){const {startOffset:_0x2962ed,endOffset:_0x35e85d,isActive:_0xe75576,rangeType:_0x26cb3e,segmentId:_0xd50c15,segmentPage:_0x4cd217}=_0x3149b9;_0x38bfad[_0x167b54(0x47d)]&&(_0x38bfad+=','),_0x38bfad+=_0x2962ed+':'+_0x35e85d+':'+(_0xe75576?'1':'0')+':'+_0x26cb3e+':'+_0xd50c15+':'+_0x4cd217;}return _0x38bfad;}function _0x5b1833(_0x56ad8d){const _0x1cd8b7=_0x5f56c6,_0xa18616=_0x56ad8d[_0x1cd8b7(0x28e)](','),_0x5a614e=[];for(const _0x597cb6 of _0xa18616){const [_0x29c310,_0x233493,_0x18a4f7,_0x412def,_0x5f478c,_0x37f492]=_0x597cb6[_0x1cd8b7(0x28e)](':');_0x5a614e[_0x1cd8b7(0x476)]({'startOffset':Number(_0x29c310),'endOffset':Number(_0x233493),'collapsed':_0x29c310===_0x233493,'isActive':_0x18a4f7==='1','rangeType':_0x412def===_0x29630e['DOC_RANGE_TYPE'][_0x1cd8b7(0x539)]?_0x29630e['DOC_RANGE_TYPE'][_0x1cd8b7(0x539)]:_0x29630e[_0x1cd8b7(0x58c)]['RECT'],'segmentId':typeof _0x5f478c=='string'?String(_0x5f478c):'','segmentPage':Number(_0x37f492!=null?_0x37f492:-0x1)});}return _0x5a614e[_0x1cd8b7(0x317)](_0x4f5ac0=>_0x4f5ac0[_0x1cd8b7(0x2dc)])||(_0x5a614e[0x0]['isActive']=!0x0),_0x5a614e;}class _0x4247e7 extends _0x29630e[_0x5f56c6(0x213)]{constructor(){const _0x508efb=_0x5f56c6;super(...arguments),_0x48f470(this,_0x508efb(0x52b),new _0x17e48c[(_0x508efb(0x38b))](null)),_0x48f470(this,_0x508efb(0x21e),this['_collabCursorState$'][_0x508efb(0x2ac)]());}['syncEditingCollabCursor'](_0x231d73){const _0x3a4b76=_0x5f56c6,{unitID:_0xffb094,memberID:_0x12183c,textRanges:_0x1a018c}=_0x231d73,_0x113d6e=_0x27f38b(_0x1a018c);if(_0x113d6e==='')return;const _0xe09704={'unitID':_0xffb094,'memberID':_0x12183c,'selection':_0x113d6e};this[_0x3a4b76(0x52b)][_0x3a4b76(0x17b)](_0xe09704);}}var _0x3192d3=Object['defineProperty'],_0x303937=Object[_0x5f56c6(0x47e)],_0x16852b=(_0x8d456f,_0x4f11a5,_0x520d63,_0xdfc916)=>{const _0x770f12=_0x5f56c6;for(var _0x2a88f5=_0xdfc916>0x1?void 0x0:_0xdfc916?_0x303937(_0x4f11a5,_0x520d63):_0x4f11a5,_0x484a64=_0x8d456f[_0x770f12(0x47d)]-0x1,_0x48c119;_0x484a64>=0x0;_0x484a64--)(_0x48c119=_0x8d456f[_0x484a64])&&(_0x2a88f5=(_0xdfc916?_0x48c119(_0x4f11a5,_0x520d63,_0x2a88f5):_0x48c119(_0x2a88f5))||_0x2a88f5);return _0xdfc916&&_0x2a88f5&&_0x3192d3(_0x4f11a5,_0x520d63,_0x2a88f5),_0x2a88f5;},_0xd83f36=(_0x4a989d,_0x584def)=>(_0xe1893c,_0x5e80ea)=>_0x584def(_0xe1893c,_0x5e80ea,_0x4a989d);let _0x1e6df8=class{constructor(_0x5cd2d2,_0x893127){const _0x34db82=_0x5f56c6;this['_injector']=_0x5cd2d2,this[_0x34db82(0x4ab)]=_0x893127;}[_0x5f56c6(0x250)](_0xfeb077){const _0x5283a9=_0x5f56c6;var _0x1b8a7b;const _0x78f630=this[_0x5283a9(0x3cf)][_0x5283a9(0x44d)](_0x31abfa['DocSelectionManagerService']),_0x47703d=(_0x1b8a7b=_0x78f630[_0x5283a9(0x4c6)]())!=null?_0x1b8a7b:[];if(_0x47703d[_0x5283a9(0x47d)]===0x0)return;const _0x594bae=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xfeb077['unitID'],'actions':null,'textRanges':_0x47703d}}],_0x520565=this[_0x5283a9(0x4ab)]['transformMutationsWithChangeset'](_0xfeb077,_0x594bae);if(!_0x2a6d3d[_0x5283a9(0x578)](_0x520565))throw _0x520565['error'];const _0x3ca2aa=_0x520565[_0x5283a9(0x3fc)][0x0][_0x5283a9(0x1ee)]['textRanges'];Array[_0x5283a9(0x400)](_0x3ca2aa)&&_0x3ca2aa[_0x5283a9(0x47d)]&&_0x78f630[_0x5283a9(0x1b7)](_0x3ca2aa,!0x1);}};_0x1e6df8=_0x16852b([_0xd83f36(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0xd83f36(0x1,_0x2a6d3d[_0x5f56c6(0x172)])],_0x1e6df8);const _0x280d70=new Set([_0x5decb0[_0x5f56c6(0x247)]['id']]);function _0x29b2fb(_0x7eef11,_0x51fa3a,_0x34ba6e,_0x36a16c,_0x537ace){const _0x28dfe5=_0x5f56c6;var _0x6160e7,_0x2ea4f7,_0x4fba4c,_0x434eaf;const _0x32917d=[];for(const _0x33aedd of _0x7eef11)if(_0x280d70['has'](_0x33aedd['id'])){if(_0x32917d['length']>0x0)break;_0x32917d[_0x28dfe5(0x476)](_0x33aedd);break;}else _0x32917d[_0x28dfe5(0x476)](_0x33aedd);const _0x557b58=(_0x2ea4f7=(_0x6160e7=_0x537ace['getCurrentUser']())==null?void 0x0:_0x6160e7[_0x28dfe5(0x18e)])!=null?_0x2ea4f7:_0x28dfe5(0x251),_0x1479e5=(_0x434eaf=(_0x4fba4c=_0x537ace['getCurrentUser']())==null?void 0x0:_0x4fba4c[_0x28dfe5(0x4d4)])!=null?_0x434eaf:'unknown';return{'changeset':{'unitID':_0x51fa3a,'type':_0x2a6d3d['mapDocumentTypeToUniverType'](_0x34ba6e[_0x28dfe5(0x193)](_0x51fa3a)),'baseRev':_0x36a16c['getCurrentRevOfUnit'](_0x51fa3a),'revision':0x0,'userID':_0x557b58,'memberID':_0x1479e5,'mutations':_0x32917d},'pendingMutations':_0x7eef11[_0x28dfe5(0x480)](_0x32917d[_0x28dfe5(0x47d)])};}function _0x3c99ad(_0xb89505,_0x21f506,_0x565158,_0xd99329,_0x310d91){const _0x348366=_0x5f56c6;var _0x30fef7,_0x4799e5,_0x410db2,_0x49dfae;const _0x5b15b9=[_0xb89505[_0x348366(0x2a4)]((_0x414cda,_0x3fc82c)=>{const _0x5bdf0f=_0x348366;var _0x13ca52;const {id:_0x43a67f}=_0x414cda,{id:_0x28a1d5,type:_0x3cb81e}=_0x3fc82c,_0x2b9ef9=(_0x13ca52=_0x414cda[_0x5bdf0f(0x1ee)])!=null?_0x13ca52:{'actions':null},_0x21d16d=_0x3fc82c[_0x5bdf0f(0x1ee)];if(_0x43a67f&&_0x43a67f!==_0x28a1d5)throw new Error(_0x5bdf0f(0x3b6)+_0x43a67f+_0x5bdf0f(0x1ca)+_0x28a1d5+'.');return{..._0x414cda,'id':_0x28a1d5,'type':_0x3cb81e,'params':{'unitId':_0x21d16d['unitId'],'textRanges':_0x21d16d[_0x5bdf0f(0x589)],'actions':_0x29630e['JSONX'][_0x5bdf0f(0x4d3)](_0x2b9ef9[_0x5bdf0f(0x4b2)],_0x21d16d[_0x5bdf0f(0x4b2)])}};},{})],_0x4dbdb9=(_0x4799e5=(_0x30fef7=_0x310d91['getCurrentUser']())==null?void 0x0:_0x30fef7[_0x348366(0x18e)])!=null?_0x4799e5:_0x348366(0x251),_0x1cd289=(_0x49dfae=(_0x410db2=_0x310d91[_0x348366(0x2c4)]())==null?void 0x0:_0x410db2[_0x348366(0x4d4)])!=null?_0x49dfae:_0x348366(0x251);return{'changeset':{'unitID':_0x21f506,'type':_0x2a6d3d[_0x348366(0x1a1)](_0x565158[_0x348366(0x193)](_0x21f506)),'baseRev':_0xd99329[_0x348366(0x174)](_0x21f506),'revision':0x0,'userID':_0x4dbdb9,'memberID':_0x1cd289,'mutations':_0x5b15b9},'pendingMutations':[]};}function _0xc9c824(_0x3d6356,_0x219519){const _0x2a3508=_0x5f56c6,_0x5390ee=new _0x17e48c[(_0x2a3508(0x362))](0x1);return setTimeout(()=>_0x5390ee[_0x2a3508(0x17b)](_0x219519),_0x3d6356),_0x5390ee[_0x2a3508(0x2ac)]()[_0x2a3508(0x300)](_0x17e48c[_0x2a3508(0x19a)](0x1));}const _0x1cb65b={'id':_0x5decb0[_0x5f56c6(0x1b5)]['id'],'type':_0x29630e['CommandType'][_0x5f56c6(0x25e)],'params':{}};var _0x9997f7=Object[_0x5f56c6(0x17a)],_0x261946=Object[_0x5f56c6(0x47e)],_0x2c2fb2=(_0x299323,_0xf027ad,_0x2f548f,_0x5a3bb1)=>{for(var _0x3b75a3=_0x5a3bb1>0x1?void 0x0:_0x5a3bb1?_0x261946(_0xf027ad,_0x2f548f):_0xf027ad,_0x323af6=_0x299323['length']-0x1,_0x36719d;_0x323af6>=0x0;_0x323af6--)(_0x36719d=_0x299323[_0x323af6])&&(_0x3b75a3=(_0x5a3bb1?_0x36719d(_0xf027ad,_0x2f548f,_0x3b75a3):_0x36719d(_0x3b75a3))||_0x3b75a3);return _0x5a3bb1&&_0x3b75a3&&_0x9997f7(_0xf027ad,_0x2f548f,_0x3b75a3),_0x3b75a3;},_0x5538dd=(_0x66be06,_0x215c25)=>(_0x5ce1f3,_0x5f3468)=>_0x215c25(_0x5ce1f3,_0x5f3468,_0x66be06),_0x4cac76=(_0x425c55=>(_0x425c55[_0x5f56c6(0x352)]='not_collab',_0x425c55[_0x5f56c6(0x2bd)]=_0x5f56c6(0x568),_0x425c55['PENDING']=_0x5f56c6(0x179),_0x425c55[_0x5f56c6(0x53f)]=_0x5f56c6(0x56c),_0x425c55['AWAITING_WITH_PENDING']=_0x5f56c6(0x4ed),_0x425c55[_0x5f56c6(0x1ae)]=_0x5f56c6(0x1d1),_0x425c55[_0x5f56c6(0x479)]=_0x5f56c6(0x3f5),_0x425c55[_0x5f56c6(0x385)]=_0x5f56c6(0x571),_0x425c55))(_0x4cac76||{});const _0x4d761d=0xea60;class _0x253515{constructor(_0x8de892,_0x58d6d4,_0x5357af,_0x3815b0,_0x26cc17,_0x3be569,_0x4f592f,_0x2d8018,_0x4d1a96){const _0x49e01d=_0x5f56c6;_0x48f470(this,_0x49e01d(0x3a1),null),_0x48f470(this,_0x49e01d(0x31a),[]),(this[_0x49e01d(0x586)]=_0x8de892,this['type']=_0x58d6d4,this[_0x49e01d(0x2a2)]=_0x26cc17,this[_0x49e01d(0x2a7)]=_0x3be569,this[_0x49e01d(0x19c)]=_0x4f592f,this[_0x49e01d(0x4e2)]=_0x2d8018,this['_localCacheService']=_0x4d1a96,this[_0x49e01d(0x3a1)]=_0x5357af,this[_0x49e01d(0x31a)]=_0x3815b0);}[_0x5f56c6(0x2da)](_0x2cf7d3){const _0x465f58=_0x5f56c6,_0x3113a9=this['_revisionService']['getCurrentRevOfUnit'](this[_0x465f58(0x586)]);return _0x2cf7d3['revision']>_0x3113a9+0x1?(this[_0x465f58(0x2a2)][_0x465f58(0x339)]({'from':_0x3113a9,'to':_0x2cf7d3['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4d5571){const _0x302259=_0x5f56c6;this[_0x302259(0x19c)][_0x302259(0x1c3)](this[_0x302259(0x586)],_0x4d5571);}[_0x5f56c6(0x3bc)](_0x4107eb){const _0x506a8b=_0x5f56c6;var _0x274612,_0x14e1e8;(_0x14e1e8=(_0x274612=this[_0x506a8b(0x2a2)])[_0x506a8b(0x3c7)])==null||_0x14e1e8['call'](_0x274612,_0x4107eb);}[_0x5f56c6(0x332)](_0x279607){const _0x2b936a=_0x5f56c6;var _0x49f8b9,_0x3c860d;return(_0x3c860d=(_0x49f8b9=this[_0x2b936a(0x2a2)])[_0x2b936a(0x279)])==null?void 0x0:_0x3c860d[_0x2b936a(0x424)](_0x49f8b9,_0x279607);}['_transformRemoteChangesetByIMECache'](_0x422ca3){const _0x1be070=_0x5f56c6;var _0x1c1f70,_0x7909ab,_0x16d1c4;return(_0x16d1c4=(_0x7909ab=(_0x1c1f70=this[_0x1be070(0x2a2)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x7909ab[_0x1be070(0x424)](_0x1c1f70,_0x422ca3))!=null?_0x16d1c4:_0x422ca3;}[_0x5f56c6(0x45a)](_0x5388ce){const _0x25165c=_0x5f56c6;var _0x283f27,_0x5f3118;if(this[_0x25165c(0x566)]===_0x48039f[_0x25165c(0x540)]){const {unitID:_0x4fbc94,mutations:_0x4ced71,memberID:_0x5171c5}=_0x5388ce,_0x3f8a34=_0x4ced71[0x0][_0x25165c(0x1ee)]['textRanges'];Array[_0x25165c(0x400)](_0x3f8a34)&&_0x3f8a34[_0x25165c(0x47d)]>0x0&&((_0x5f3118=(_0x283f27=this[_0x25165c(0x2a2)])['onSyncEditingCollabCursor'])==null||_0x5f3118[_0x25165c(0x424)](_0x283f27,{'unitID':_0x4fbc94,'memberID':_0x5171c5,'textRanges':_0x3f8a34}));}}[_0x5f56c6(0x430)](){const _0x4d4ecb=_0x5f56c6;this[_0x4d4ecb(0x206)]['updateOfflineData'](this[_0x4d4ecb(0x586)],this[_0x4d4ecb(0x566)],this[_0x4d4ecb(0x3a1)],this['_pendingMutations']);}[_0x5f56c6(0x4df)](){const _0x505b59=_0x5f56c6;return this[_0x505b59(0x4e2)][_0x505b59(0x174)](this[_0x505b59(0x586)]);}[_0x5f56c6(0x302)](){const _0x205366=_0x5f56c6;this[_0x205366(0x4e2)][_0x205366(0x222)](this[_0x205366(0x586)]);}['_executeRemoteChangeset'](_0x5e12d0){const _0x449a81=_0x5f56c6;var _0x2f1d93;const _0x4c1b9e=this['_transformRemoteChangesetByIMECache'](_0x5e12d0),_0x1f3e39=_0x29630e[_0x449a81(0x359)](_0x4c1b9e[_0x449a81(0x288)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1f3e39['result'])throw _0x1f3e39[_0x449a81(0x1fe)]instanceof Error?_0x1f3e39[_0x449a81(0x1fe)]:new Error((_0x2f1d93=_0x1f3e39['error'])!=null?_0x2f1d93:_0x449a81(0x273));this[_0x449a81(0x332)](_0x4c1b9e),this[_0x449a81(0x4ea)](_0x5e12d0),this[_0x449a81(0x3bc)](_0x4c1b9e),this[_0x449a81(0x45a)](_0x4c1b9e),this[_0x449a81(0x302)]();}}let _0x5155d3=class extends _0x253515{constructor(_0xd2ec29,_0x242079,_0x42b9e0,_0x11e250,_0x300373,_0x3731bb,_0x46c74a,_0x948485,_0x3957a6,_0xb13d4a){const _0xeff5e5=_0x5f56c6;super(_0xd2ec29,_0x242079,null,[],_0x42b9e0,_0x948485,_0x46c74a,_0x11e250,_0x300373),_0x48f470(this,_0xeff5e5(0x4ce),_0xeff5e5(0x568)),(this[_0xeff5e5(0x3cf)]=_0x3731bb,this['_logService']=_0x3957a6,this[_0xeff5e5(0x4ab)]=_0xb13d4a);}[_0x5f56c6(0x1fa)](_0x28490f){const _0xcb9f11=_0x5f56c6,_0xa05699=this['_injector'][_0xcb9f11(0x445)](_0x3703c2,this[_0xcb9f11(0x586)],this[_0xcb9f11(0x566)],[_0x28490f],this['_handler']);return _0xa05699[_0xcb9f11(0x399)](),_0xa05699[_0xcb9f11(0x430)](),_0xa05699;}[_0x5f56c6(0x39b)](_0x3fbec5){const _0x136e6c=_0x5f56c6;if(this[_0x136e6c(0x2da)](_0x3fbec5))return this[_0x136e6c(0x3cf)][_0x136e6c(0x445)](_0x5699b0,this['unitID'],this['type'],null,[],null,[_0x3fbec5],this['_handler']);try{const _0x163d37=this[_0x136e6c(0x4ab)][_0x136e6c(0x4bd)](_0x3fbec5,[_0x1cb65b]);if(_0x2a6d3d[_0x136e6c(0x578)](_0x163d37)){const {c1Prime:_0x3d46c8}=_0x163d37;return this[_0x136e6c(0x1f5)](_0x3d46c8),this;}throw _0x163d37[_0x136e6c(0x1fe)];}catch(_0x5c24f0){return this[_0x136e6c(0x3ac)][_0x136e6c(0x1fe)](_0x5c24f0),this['_onConflict'](!0x1);}}['_onConflict'](_0x49a9c3){const _0x428db5=_0x5f56c6;return this['_injector']['createInstance'](_0x4d9b5e,this[_0x428db5(0x586)],this[_0x428db5(0x566)],null,[],this[_0x428db5(0x2a2)],_0x49a9c3);}[_0x5f56c6(0x53b)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x597891=_0x5f56c6;throw new Error(_0x597891(0x455));}[_0x5f56c6(0x46f)](){return this;}[_0x5f56c6(0x57f)](){const _0x5d628f=_0x5f56c6;return this[_0x5d628f(0x3cf)]['createInstance'](_0x5bba0f,this[_0x5d628f(0x586)],this[_0x5d628f(0x566)],null,[],this[_0x5d628f(0x2a2)]);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x4ec)](){const _0x9eaaba=_0x5f56c6;throw new Error(_0x9eaaba(0x454));}[_0x5f56c6(0x230)](){const _0xd022c4=_0x5f56c6,_0x353897=this[_0xd022c4(0x4e2)][_0xd022c4(0x174)](this['unitID']);return this[_0xd022c4(0x2a2)][_0xd022c4(0x339)]({'from':_0x353897,'to':0x0}),this['_injector'][_0xd022c4(0x445)](_0x5699b0,this[_0xd022c4(0x586)],this[_0xd022c4(0x566)],null,[],null,[],this['_handler']);}};_0x5155d3=_0x2c2fb2([_0x5538dd(0x3,_0x29630e['Inject'](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x5538dd(0x5,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x6,_0x29630e[_0x5f56c6(0x394)]),_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0x9,_0x2a6d3d[_0x5f56c6(0x172)])],_0x5155d3);let _0x3703c2=class extends _0x253515{constructor(_0x2d4ac0,_0x1ea75d,_0x4ed7d1,_0x49e9d7,_0x2b1776,_0x504c50,_0x43555d,_0x5aee64,_0x55bacf,_0x417950,_0x16e3b0,_0x346248,_0x5363ff,_0x431ccf){const _0x59add1=_0x5f56c6;super(_0x2d4ac0,_0x1ea75d,null,_0x4ed7d1,_0x49e9d7,_0x417950,_0x431ccf,_0x504c50,_0x43555d),_0x48f470(this,_0x59add1(0x4ce),_0x59add1(0x179)),_0x48f470(this,_0x59add1(0x214),null),_0x48f470(this,'_sendingTimer',null),(this[_0x59add1(0x3cf)]=_0x2b1776,this[_0x59add1(0x521)]=_0x5aee64,this[_0x59add1(0x3ac)]=_0x55bacf,this['_configService']=_0x16e3b0,this['_transformService']=_0x346248,this['_univerInstanceService']=_0x5363ff);}[_0x5f56c6(0x1fa)](_0x598ee5){const _0x845492=_0x5f56c6;return this[_0x845492(0x31a)][_0x845492(0x476)](_0x598ee5),this[_0x845492(0x430)](),this;}[_0x5f56c6(0x39b)](_0x5145c7){const _0x178fdf=_0x5f56c6;if(this[_0x178fdf(0x2da)](_0x5145c7))return this['_clearScheduledTask'](),this[_0x178fdf(0x3cf)][_0x178fdf(0x445)](_0x5699b0,this[_0x178fdf(0x586)],this[_0x178fdf(0x566)],null,this[_0x178fdf(0x31a)],null,[_0x5145c7],this[_0x178fdf(0x2a2)]);try{const _0x23032b=this['_transformService'][_0x178fdf(0x4bd)](_0x5145c7,this['_pendingMutations']);if(_0x2a6d3d[_0x178fdf(0x578)](_0x23032b)){const {c1Prime:_0x122746,m2Prime:_0x4397f6}=_0x23032b;this['_executeRemoteChangeset'](_0x122746);const _0x32f6c6=this['_injector'][_0x178fdf(0x445)](_0x3703c2,this[_0x178fdf(0x586)],this[_0x178fdf(0x566)],_0x4397f6,this[_0x178fdf(0x2a2)]);return this['_clearScheduledTask'](),_0x32f6c6[_0x178fdf(0x399)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x178fdf(0x286)]()-this[_0x178fdf(0x214)]):this['_getSendChangesetTimeout']()),_0x32f6c6;}throw _0x23032b[_0x178fdf(0x1fe)];}catch(_0x20f0a0){return this['_logService'][_0x178fdf(0x1fe)](_0x20f0a0),this[_0x178fdf(0x1e6)](!0x1);}}[_0x5f56c6(0x53b)](){const _0x2fc1a7=_0x5f56c6;throw new Error(_0x2fc1a7(0x52e));}[_0x5f56c6(0x4fa)](){const _0x4b9fbe=_0x5f56c6;throw new Error(_0x4b9fbe(0x1d7));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x8092bc=_0x5f56c6;return this[_0x8092bc(0x44e)](),this['_injector']['createInstance'](_0x5bba0f,this[_0x8092bc(0x586)],this[_0x8092bc(0x566)],null,this[_0x8092bc(0x31a)],this[_0x8092bc(0x2a2)]);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x399)](_0x4a318a){const _0x5a7194=_0x5f56c6,_0x3197a1=_0x4a318a!=null?_0x4a318a:this[_0x5a7194(0x51e)]();this['_scheduleTimestamp']=new Date()[_0x5a7194(0x286)](),this[_0x5a7194(0x3e7)]=window[_0x5a7194(0x262)](()=>{const _0xf2cd93=_0x5a7194;this[_0xf2cd93(0x44e)]();let _0x1ccab7=null;switch(this[_0xf2cd93(0x566)]){case _0x48039f['UNIVER_SHEET']:{_0x1ccab7=_0x29b2fb(this[_0xf2cd93(0x31a)],this['unitID'],this[_0xf2cd93(0x434)],this[_0xf2cd93(0x4e2)],this[_0xf2cd93(0x521)]);break;}case _0x48039f[_0xf2cd93(0x540)]:{this[_0xf2cd93(0x31a)]['every'](_0x4f068a=>_0x4f068a['id']===_0x31abfa['RichTextEditingMutation']['id'])?_0x1ccab7=_0x3c99ad(this[_0xf2cd93(0x31a)],this[_0xf2cd93(0x586)],this[_0xf2cd93(0x434)],this[_0xf2cd93(0x4e2)],this['_memberService']):_0x1ccab7=_0x29b2fb(this[_0xf2cd93(0x31a)],this[_0xf2cd93(0x586)],this[_0xf2cd93(0x434)],this[_0xf2cd93(0x4e2)],this['_memberService']);break;}default:throw new Error(_0xf2cd93(0x58e)+this[_0xf2cd93(0x566)]+_0xf2cd93(0x4a5));}const {changeset:_0x39e150,pendingMutations:_0x4996ed}=_0x1ccab7;this['_handler']['onSendChangeset'](_0x39e150);const _0x270ed8=_0x4996ed[_0xf2cd93(0x47d)]?this[_0xf2cd93(0x3cf)][_0xf2cd93(0x445)](_0x4dc360,this[_0xf2cd93(0x586)],this[_0xf2cd93(0x566)],_0x39e150,_0x4996ed,this[_0xf2cd93(0x2a2)],void 0x0):this['_injector'][_0xf2cd93(0x445)](_0x2edaec,this[_0xf2cd93(0x586)],this[_0xf2cd93(0x566)],_0x39e150,this[_0xf2cd93(0x2a2)]);_0x270ed8['_updateLocalCache'](),this[_0xf2cd93(0x2a2)][_0xf2cd93(0x220)](this,_0x270ed8);},_0x3197a1);}[_0x5f56c6(0x51e)](){const _0x213a12=_0x5f56c6;var _0x4a4fd9;const _0x394c9b=this[_0x213a12(0x4e8)][_0x213a12(0x1e0)](_0x1573c4);return(_0x4a4fd9=_0x394c9b==null?void 0x0:_0x394c9b[_0x213a12(0x33a)])!=null?_0x4a4fd9:0x7d0;}[_0x5f56c6(0x4ec)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x33fce6=_0x5f56c6;this[_0x33fce6(0x3e7)]!=null&&(clearTimeout(this[_0x33fce6(0x3e7)]),this['_sendingTimer']=null);}['_onConflict'](_0x4f1be7){const _0x288eff=_0x5f56c6;return this[_0x288eff(0x44e)](),this['_injector'][_0x288eff(0x445)](_0x4d9b5e,this[_0x288eff(0x586)],this[_0x288eff(0x566)],null,this[_0x288eff(0x31a)],this[_0x288eff(0x2a2)],_0x4f1be7);}};_0x3703c2=_0x2c2fb2([_0x5538dd(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d['RevisionService'])),_0x5538dd(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf['LocalCacheService'])),_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf['MemberService'])),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0x9,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0xa,_0x29630e[_0x5f56c6(0x34d)]),_0x5538dd(0xb,_0x2a6d3d[_0x5f56c6(0x172)]),_0x5538dd(0xc,_0x29630e[_0x5f56c6(0x441)]),_0x5538dd(0xd,_0x29630e['IUndoRedoService'])],_0x3703c2);let _0x2edaec=class extends _0x253515{constructor(_0x3a11f6,_0x17edcd,_0x196de6,_0x32ef8,_0x1e02ac,_0xb9fe93,_0x200cb3,_0x5208a6,_0x319223,_0x46250c,_0x1c3b9a){const _0x5ebc43=_0x5f56c6;super(_0x3a11f6,_0x17edcd,_0x196de6,[],_0x32ef8,_0x5208a6,_0x1c3b9a,_0xb9fe93,_0x200cb3),_0x48f470(this,_0x5ebc43(0x4ce),_0x5ebc43(0x56c)),_0x48f470(this,_0x5ebc43(0x4a3),0x0),_0x48f470(this,_0x5ebc43(0x459)),_0x48f470(this,_0x5ebc43(0x524)),(this[_0x5ebc43(0x3cf)]=_0x1e02ac,this[_0x5ebc43(0x3ac)]=_0x319223,this[_0x5ebc43(0x4ab)]=_0x46250c);}[_0x5f56c6(0x1fa)](_0x143927){const _0x24ca42=_0x5f56c6;this[_0x24ca42(0x44e)]();const _0x158e7b=this[_0x24ca42(0x3cf)][_0x24ca42(0x445)](_0x4dc360,this['unitID'],this[_0x24ca42(0x566)],this[_0x24ca42(0x3a1)],[_0x143927],this['_handler'],this[_0x24ca42(0x459)]);return _0x158e7b[_0x24ca42(0x430)](),_0x158e7b;}['onRemoteChangeset'](_0x3b997c){const _0x51aa75=_0x5f56c6;if(this[_0x51aa75(0x2da)](_0x3b997c))return this[_0x51aa75(0x44e)](),this[_0x51aa75(0x3cf)][_0x51aa75(0x445)](_0x5699b0,this['unitID'],this[_0x51aa75(0x566)],this[_0x51aa75(0x3a1)],[],null,[_0x3b997c],this[_0x51aa75(0x2a2)]);try{const _0x54300f=this[_0x51aa75(0x4ab)]['transformChangesets']([_0x3b997c],[this[_0x51aa75(0x3a1)]],!0x1);if(_0x2a6d3d[_0x51aa75(0x2ad)](_0x54300f)){const {c1Prime:_0x22a385,c2Prime:_0x394e37}=_0x54300f;this[_0x51aa75(0x1f5)](_0x22a385[0x0]),_0x394e37[0x0][_0x51aa75(0x3de)]=this[_0x51aa75(0x4df)](),this[_0x51aa75(0x44e)]();const _0x36595b=this[_0x51aa75(0x3cf)]['createInstance'](_0x2edaec,this['unitID'],this[_0x51aa75(0x566)],_0x394e37[0x0],this[_0x51aa75(0x2a2)]);return _0x36595b[_0x51aa75(0x430)](),_0x36595b;}return this['_onConflict'](!0x1);}catch(_0x3946ba){return this['_logService']['error'](_0x3946ba),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x3f4fd5){const _0x19b29d=_0x5f56c6;this[_0x19b29d(0x44e)]();const _0x29915c=this[_0x19b29d(0x4e2)][_0x19b29d(0x174)](this[_0x19b29d(0x586)]);if(_0x3f4fd5[_0x19b29d(0x27a)]<_0x29915c-0x1)return this;if(this[_0x19b29d(0x2da)](_0x3f4fd5))return this['_injector'][_0x19b29d(0x445)](_0x5699b0,this[_0x19b29d(0x586)],this[_0x19b29d(0x566)],null,[],this[_0x19b29d(0x3a1)],[],this[_0x19b29d(0x2a2)]);this['_incrementRevisionNumber']();const _0x560508=this[_0x19b29d(0x3cf)][_0x19b29d(0x445)](_0x5155d3,this[_0x19b29d(0x586)],this[_0x19b29d(0x566)],this[_0x19b29d(0x2a2)]);return _0x560508['_updateLocalCache'](),_0x560508;}[_0x5f56c6(0x4fa)](_0x3f3083){return this['_onConflict'](!!(_0x3f3083!=null&&_0x3f3083['isPermissionRej']));}[_0x5f56c6(0x46f)](_0x17fa3f){const _0x4a047d=_0x5f56c6;return this[_0x4a047d(0x4a3)]>_0x4d761d?this[_0x4a047d(0x57f)]():(this[_0x4a047d(0x459)]=_0xc9c824(this['_resendTimeout'],{'timeout':this[_0x4a047d(0x4a3)],'reqId':_0x17fa3f['reqId']}),this['_sender']=this[_0x4a047d(0x459)][_0x4a047d(0x18a)](({reqId:_0x289c2a,timeout:_0x445b87})=>{this['_resendWithTimeout'](_0x289c2a,_0x445b87);}),this);}['toggleOffline'](){const _0x4240c4=_0x5f56c6;return this[_0x4240c4(0x44e)](),this[_0x4240c4(0x3cf)]['createInstance'](_0x5bba0f,this[_0x4240c4(0x586)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x4ec)](){const _0x2d0692=_0x5f56c6;this[_0x2d0692(0x2a2)][_0x2d0692(0x1cf)](this[_0x2d0692(0x3a1)]);}[_0x5f56c6(0x1e6)](_0x51f5e2){const _0x151956=_0x5f56c6;return this['_clearScheduledTask'](),this['_injector'][_0x151956(0x445)](_0x4d9b5e,this[_0x151956(0x586)],this[_0x151956(0x566)],this['_awaitingChangeset'],[],this[_0x151956(0x2a2)],_0x51f5e2);}[_0x5f56c6(0x408)](_0xbd8fff,_0x35bef6){const _0x2b49a2=_0x5f56c6;var _0x1a6248;_0xbd8fff===((_0x1a6248=this['_awaitingChangeset'])==null?void 0x0:_0x1a6248[_0x2b49a2(0x277)])&&(this[_0x2b49a2(0x4ec)](),this['_resendTimeout']=_0x35bef6===0x0?0x3e8:_0x35bef6*0x2);}[_0x5f56c6(0x44e)](){const _0x40e292=_0x5f56c6;var _0x2f8d39;(_0x2f8d39=this[_0x40e292(0x524)])==null||_0x2f8d39[_0x40e292(0x349)](),this['_resendTimeout']=0x0;}};_0x2edaec=_0x2c2fb2([_0x5538dd(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['Injector'])),_0x5538dd(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0x9,_0x2a6d3d[_0x5f56c6(0x172)]),_0x5538dd(0xa,_0x29630e[_0x5f56c6(0x394)])],_0x2edaec);let _0x4dc360=class extends _0x253515{constructor(_0x29d41b,_0x2ab075,_0x60f87c,_0x19b6d4,_0x15903c,_0x3e4a41,_0x233fbc,_0x323734,_0x1b154d,_0x4f6f9e,_0x4b4c96,_0x5e9f6d,_0x166b5a){const _0x4b434f=_0x5f56c6;super(_0x29d41b,_0x2ab075,_0x60f87c,_0x19b6d4,_0x15903c,_0x4f6f9e,_0x166b5a,_0x323734,_0x1b154d),_0x48f470(this,_0x4b434f(0x4ce),'awaiting_with_pending'),_0x48f470(this,_0x4b434f(0x4a3),0x0),_0x48f470(this,_0x4b434f(0x459)),_0x48f470(this,'_sender'),(this[_0x4b434f(0x3cf)]=_0x233fbc,this[_0x4b434f(0x3ac)]=_0x4b4c96,this[_0x4b434f(0x4ab)]=_0x5e9f6d,_0x3e4a41&&(this[_0x4b434f(0x459)]=_0x3e4a41,this['_sender']=this[_0x4b434f(0x459)][_0x4b434f(0x18a)](({reqId:_0x51bbd3,timeout:_0x321dc1})=>{this['_resendWithTimeout'](_0x51bbd3,_0x321dc1);})));}[_0x5f56c6(0x1fa)](_0x4763eb){return this['_pendingMutations']['push'](_0x4763eb),this;}[_0x5f56c6(0x39b)](_0x17c3f2){const _0xf1b4ec=_0x5f56c6;if(this[_0xf1b4ec(0x2da)](_0x17c3f2))return this[_0xf1b4ec(0x44e)](),this[_0xf1b4ec(0x3cf)][_0xf1b4ec(0x445)](_0x5699b0,this[_0xf1b4ec(0x586)],this[_0xf1b4ec(0x566)],this[_0xf1b4ec(0x3a1)],this[_0xf1b4ec(0x31a)],null,[_0x17c3f2],this[_0xf1b4ec(0x2a2)]);try{const _0x2fb28f=this[_0xf1b4ec(0x4ab)][_0xf1b4ec(0x31f)]([_0x17c3f2],[this[_0xf1b4ec(0x3a1)]],!0x1);if(_0x2a6d3d['isTransformChangesetsSuccess'](_0x2fb28f)){const {c1Prime:_0x179b0e,c2Prime:_0xdd1f56}=_0x2fb28f,_0x588b91=this[_0xf1b4ec(0x4ab)]['transformMutationsWithChangeset'](_0x179b0e[0x0],this['_pendingMutations']);if(_0x2a6d3d[_0xf1b4ec(0x578)](_0x588b91)){const {c1Prime:_0x5de29f,m2Prime:_0x1fed79}=_0x588b91;return this[_0xf1b4ec(0x1f5)](_0x5de29f),_0xdd1f56[0x0][_0xf1b4ec(0x3de)]=this[_0xf1b4ec(0x4df)](),this[_0xf1b4ec(0x44e)](),this['_injector']['createInstance'](_0x4dc360,this[_0xf1b4ec(0x586)],this[_0xf1b4ec(0x566)],_0xdd1f56[0x0],_0x1fed79,this['_handler'],void 0x0);}throw _0x588b91[_0xf1b4ec(0x1fe)];}throw _0x2fb28f[_0xf1b4ec(0x1fe)];}catch(_0x1d3257){return this[_0xf1b4ec(0x3ac)][_0xf1b4ec(0x1fe)](_0x1d3257),this['_onConflict'](!0x1);}}[_0x5f56c6(0x53b)](_0x2f803d){const _0x1b196d=_0x5f56c6;if(this[_0x1b196d(0x44e)](),this['_checkMissing'](_0x2f803d))return this[_0x1b196d(0x3cf)][_0x1b196d(0x445)](_0x5699b0,this[_0x1b196d(0x586)],this[_0x1b196d(0x566)],null,this['_pendingMutations'],this[_0x1b196d(0x3a1)],[],this['_handler']);this[_0x1b196d(0x302)]();const _0x267d64=this[_0x1b196d(0x3cf)][_0x1b196d(0x445)](_0x3703c2,this[_0x1b196d(0x586)],this[_0x1b196d(0x566)],this[_0x1b196d(0x31a)],this['_handler']);return _0x267d64['_schedule'](),_0x267d64[_0x1b196d(0x430)](),_0x267d64;}[_0x5f56c6(0x4fa)](_0x4c000e){const _0x54cdda=_0x5f56c6;return this[_0x54cdda(0x1e6)](!!(_0x4c000e!=null&&_0x4c000e[_0x54cdda(0x39d)]));}[_0x5f56c6(0x46f)](_0x26867f){const _0x52ca54=_0x5f56c6;return this[_0x52ca54(0x4a3)]>_0x4d761d?this[_0x52ca54(0x57f)]():(this['_resendTimer']=_0xc9c824(this[_0x52ca54(0x4a3)],{'timeout':this[_0x52ca54(0x4a3)],'reqId':_0x26867f[_0x52ca54(0x277)]}),this[_0x52ca54(0x524)]=this['_resendTimer']['subscribe'](({reqId:_0x118104,timeout:_0x316c19})=>{const _0xc24362=_0x52ca54;this[_0xc24362(0x408)](_0x118104,_0x316c19);}),this);}[_0x5f56c6(0x57f)](){const _0xb7dff3=_0x5f56c6;return this[_0xb7dff3(0x44e)](),this[_0xb7dff3(0x3cf)][_0xb7dff3(0x445)](_0x5bba0f,this[_0xb7dff3(0x586)],this[_0xb7dff3(0x566)],this[_0xb7dff3(0x3a1)],this['_pendingMutations'],this[_0xb7dff3(0x2a2)]);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x4ec)](){const _0x1093cb=_0x5f56c6;this[_0x1093cb(0x2a2)][_0x1093cb(0x1cf)](this[_0x1093cb(0x3a1)]);}[_0x5f56c6(0x1e6)](_0xdac855){const _0x2885a8=_0x5f56c6;return this[_0x2885a8(0x44e)](),this[_0x2885a8(0x3cf)][_0x2885a8(0x445)](_0x4d9b5e,this['unitID'],this[_0x2885a8(0x566)],null,this[_0x2885a8(0x31a)],this[_0x2885a8(0x2a2)],_0xdac855);}[_0x5f56c6(0x408)](_0x5b1f50,_0x45c024){const _0x3b07f3=_0x5f56c6;var _0x3bff6d;_0x5b1f50===((_0x3bff6d=this['_awaitingChangeset'])==null?void 0x0:_0x3bff6d[_0x3b07f3(0x277)])&&(this[_0x3b07f3(0x4ec)](),this[_0x3b07f3(0x4a3)]=_0x45c024===0x0?0x3e8:_0x45c024*0x2);}[_0x5f56c6(0x44e)](){const _0x15f7d6=_0x5f56c6;var _0x3f2fb6;(_0x3f2fb6=this[_0x15f7d6(0x524)])==null||_0x3f2fb6[_0x15f7d6(0x349)](),this[_0x15f7d6(0x4a3)]=0x0;}};_0x4dc360=_0x2c2fb2([_0x5538dd(0x6,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x7,_0x29630e['Inject'](_0x2a6d3d['RevisionService'])),_0x5538dd(0x8,_0x29630e['Inject'](_0x4fdbaf['LocalCacheService'])),_0x5538dd(0x9,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0xa,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0xb,_0x2a6d3d[_0x5f56c6(0x172)]),_0x5538dd(0xc,_0x29630e[_0x5f56c6(0x394)])],_0x4dc360);let _0x4d9b5e=class extends _0x253515{constructor(_0x3bff07,_0x2e7ac0,_0x3f4cc8,_0x416185,_0x4c02ac,_0x3b75c=!0x1,_0x4b8bbf,_0x1be76f,_0x473c59,_0x17cb08,_0x5dd079,_0x2086f4,_0x33a793){const _0x2ab5b4=_0x5f56c6;super(_0x3bff07,_0x2e7ac0,_0x3f4cc8,_0x416185,_0x4c02ac,_0x1be76f,_0x473c59,_0x5dd079,_0x17cb08),_0x48f470(this,_0x2ab5b4(0x4ce),_0x2ab5b4(0x3f5)),(this[_0x2ab5b4(0x542)]=_0x3b75c,this[_0x2ab5b4(0x495)]=_0x4b8bbf,this[_0x2ab5b4(0x375)]=_0x2086f4,this[_0x2ab5b4(0x261)]=_0x33a793,this[_0x2ab5b4(0x4de)](),this[_0x2ab5b4(0x4bb)](),this[_0x2ab5b4(0x3ec)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x5f56c6(0x53b)](){return this;}[_0x5f56c6(0x4fa)](){return this;}[_0x5f56c6(0x46f)](){return this;}[_0x5f56c6(0x57f)](){return this;}[_0x5f56c6(0x37a)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x57ce22=_0x5f56c6;this['_localCacheService'][_0x57ce22(0x242)](this[_0x57ce22(0x586)],this[_0x57ce22(0x566)],null,[]);}[_0x5f56c6(0x4de)](){const _0x412712=_0x5f56c6;this['_isPermissionRej']?this[_0x412712(0x261)][_0x412712(0x2e8)]({'title':this[_0x412712(0x375)]['t'](_0x412712(0x28d)),'content':this['_localeService']['t']('permission.content'),'type':_0x412712(0x1fe),'duration':0x0}):this[_0x412712(0x261)][_0x412712(0x2e8)]({'title':this[_0x412712(0x375)]['t'](_0x412712(0x1cb)),'content':this[_0x412712(0x375)]['t'](_0x412712(0x24b)),'type':_0x412712(0x1fe),'duration':0x0});}[_0x5f56c6(0x3ec)](){const _0xdc2f6f=_0x5f56c6;this['_permissionService'][_0xdc2f6f(0x48a)](new _0x5decb0[(_0xdc2f6f(0x43a))](this[_0xdc2f6f(0x586)])['id'],!0x1);}};_0x4d9b5e=_0x2c2fb2([_0x5538dd(0x6,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x1b0)])),_0x5538dd(0x7,_0x29630e['ICommandService']),_0x5538dd(0x8,_0x29630e['IUndoRedoService']),_0x5538dd(0x9,_0x29630e['Inject'](_0x4fdbaf['LocalCacheService'])),_0x5538dd(0xa,_0x29630e['Inject'](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0xb,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x5538dd(0xc,_0x279664[_0x5f56c6(0x562)])],_0x4d9b5e);let _0x5bba0f=class extends _0x253515{constructor(_0x48a61d,_0x5275d8,_0x3cd2cd,_0x5c3783,_0x4fcfa9,_0x4fffd8,_0x22ab2f,_0x12e06e,_0x1a3f5a,_0x103154){const _0x141df5=_0x5f56c6;super(_0x48a61d,_0x5275d8,_0x3cd2cd,_0x5c3783,_0x4fcfa9,_0x1a3f5a,_0x103154,_0x22ab2f,_0x12e06e),_0x48f470(this,_0x141df5(0x4ce),_0x141df5(0x571)),this[_0x141df5(0x3cf)]=_0x4fffd8;}[_0x5f56c6(0x1fa)](_0x3d2072){const _0x4c93b1=_0x5f56c6;return this[_0x4c93b1(0x31a)][_0x4c93b1(0x476)](_0x3d2072),this[_0x4c93b1(0x430)](),this;}[_0x5f56c6(0x39b)](_0x5ef849){const _0x48585e=_0x5f56c6;throw new Error(_0x48585e(0x2a9));}[_0x5f56c6(0x53b)](){const _0x484b67=_0x5f56c6;throw new Error(_0x484b67(0x420));}[_0x5f56c6(0x4fa)](){const _0x5e75dc=_0x5f56c6;throw new Error(_0x5e75dc(0x21d));}['onRemoteRetry'](){return this;}[_0x5f56c6(0x57f)](){return this;}[_0x5f56c6(0x37a)](){const {_injector:_0x137d26,_pendingMutations:_0x23e9e6,_awaitingChangeset:_0x1ef730,unitID:_0x3c75c7,_handler:_0x2ef714,type:_0x12f933}=this,_0x4f4a51=_0x427588(_0x137d26,_0x3c75c7,_0x12f933,_0x1ef730,_0x23e9e6,_0x2ef714);return _0x4f4a51 instanceof _0x3703c2?_0x4f4a51['_schedule']():(_0x4f4a51 instanceof _0x4dc360||_0x4f4a51 instanceof _0x2edaec)&&_0x4f4a51['resend'](),_0x4f4a51;}['resend'](){const _0x5507dd=_0x5f56c6;throw new Error(_0x5507dd(0x51d));}};_0x5bba0f=_0x2c2fb2([_0x5538dd(0x5,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x6,_0x29630e['Inject'](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0x9,_0x29630e[_0x5f56c6(0x394)])],_0x5bba0f);let _0x5699b0=class extends _0x253515{constructor(_0x59a99c,_0x166f45,_0x9d5683,_0x417d3d,_0x13a840,_0x4b0d6d,_0x383ef9,_0x773c68,_0x54a08e,_0x492509,_0x2fe4c2,_0x22ba5c,_0x4e93f9,_0x4070f2){const _0xefb480=_0x5f56c6;super(_0x59a99c,_0x166f45,_0x9d5683,_0x417d3d,_0x383ef9,_0x22ba5c,_0x4e93f9,_0x54a08e,_0x492509),_0x48f470(this,_0xefb480(0x4ce),_0xefb480(0x1d1)),(this[_0xefb480(0x1b4)]=_0x13a840,this[_0xefb480(0x504)]=_0x4b0d6d,this[_0xefb480(0x3cf)]=_0x773c68,this['_logService']=_0x2fe4c2,this[_0xefb480(0x4ab)]=_0x4070f2);}[_0x5f56c6(0x26f)](_0x581b23){const _0x3f0b7d=_0x5f56c6;try{const _0x2e153e=[..._0x581b23,...this[_0x3f0b7d(0x504)]],_0x4856b7=[this['_awaitingChangeset']||this[_0x3f0b7d(0x1b4)]][_0x3f0b7d(0x324)](_0x22f906=>!!_0x22f906);let _0x57146d,_0x45f944;if(_0x4856b7[_0x3f0b7d(0x47d)]){const _0x1fe05a=this['_transformService']['transformChangesets'](_0x2e153e,_0x4856b7,!0x1);if(!_0x2a6d3d[_0x3f0b7d(0x2ad)](_0x1fe05a))throw _0x1fe05a[_0x3f0b7d(0x1fe)];_0x57146d=_0x1fe05a[_0x3f0b7d(0x33c)],_0x45f944=_0x1fe05a[_0x3f0b7d(0x2f6)];}else _0x57146d=_0x2e153e,_0x45f944=[];let _0x2fe7be=this[_0x3f0b7d(0x31a)];_0x57146d[_0x3f0b7d(0x57d)](_0x4fb6ff=>{const _0x5b5934=_0x3f0b7d;let _0x309dbf;if(_0x2fe7be[_0x5b5934(0x47d)]){const _0x58091a=this[_0x5b5934(0x4ab)]['transformMutationsWithChangeset'](_0x4fb6ff,_0x2fe7be);if(!_0x2a6d3d[_0x5b5934(0x578)](_0x58091a))throw _0x58091a[_0x5b5934(0x1fe)];_0x309dbf=_0x58091a[_0x5b5934(0x33c)],_0x2fe7be=_0x58091a[_0x5b5934(0x3fc)];}else _0x309dbf=_0x4fb6ff;this['_executeRemoteChangeset'](_0x309dbf);}),this[_0x3f0b7d(0x1b4)]&&this[_0x3f0b7d(0x302)](),this['_awaitingChangeset']&&_0x45f944[_0x3f0b7d(0x47d)]&&(_0x45f944[0x0][_0x3f0b7d(0x3de)]=this[_0x3f0b7d(0x4df)]());let _0x5a05bf;if(this[_0x3f0b7d(0x3a1)]&&_0x2fe7be[_0x3f0b7d(0x47d)]!==0x0)_0x5a05bf=this[_0x3f0b7d(0x3cf)][_0x3f0b7d(0x445)](_0x4dc360,this[_0x3f0b7d(0x586)],this['type'],_0x45f944[0x0],_0x2fe7be,this[_0x3f0b7d(0x2a2)],void 0x0);else{if(this[_0x3f0b7d(0x3a1)]&&_0x2fe7be[_0x3f0b7d(0x47d)]===0x0)_0x45f944[0x0][_0x3f0b7d(0x3de)]=this[_0x3f0b7d(0x4df)](),_0x5a05bf=this[_0x3f0b7d(0x3cf)]['createInstance'](_0x2edaec,this[_0x3f0b7d(0x586)],this['type'],_0x45f944[0x0],this[_0x3f0b7d(0x2a2)]);else{if(_0x2fe7be['length']!==0x0){const _0x510268=this[_0x3f0b7d(0x3cf)][_0x3f0b7d(0x445)](_0x3703c2,this[_0x3f0b7d(0x586)],this['type'],_0x2fe7be,this[_0x3f0b7d(0x2a2)]);_0x510268[_0x3f0b7d(0x399)](),_0x5a05bf=_0x510268;}else _0x5a05bf=this[_0x3f0b7d(0x3cf)]['createInstance'](_0x5155d3,this[_0x3f0b7d(0x586)],this[_0x3f0b7d(0x566)],this[_0x3f0b7d(0x2a2)]);}}return _0x5a05bf['_updateLocalCache'](),_0x5a05bf;}catch(_0x3151fa){return this[_0x3f0b7d(0x3ac)][_0x3f0b7d(0x1fe)](_0x3f0b7d(0x30a),_0x3f0b7d(0x53e),_0x3151fa),this[_0x3f0b7d(0x3cf)]['createInstance'](_0x4d9b5e,this[_0x3f0b7d(0x586)],this[_0x3f0b7d(0x566)],this['_awaitingChangeset'],this[_0x3f0b7d(0x31a)],this['_handler'],!0x1);}}[_0x5f56c6(0x4ec)](){const _0x28b838=_0x5f56c6;throw new Error(_0x28b838(0x1f3));}[_0x5f56c6(0x1fa)](_0x213bc5){const _0x4c409a=_0x5f56c6;return this[_0x4c409a(0x31a)][_0x4c409a(0x476)](_0x213bc5),this;}[_0x5f56c6(0x39b)](_0x27f6ce){const _0x54b967=_0x5f56c6;return this[_0x54b967(0x504)]['push'](_0x27f6ce),this;}[_0x5f56c6(0x53b)](_0xa27f25){const _0x6c2d87=_0x5f56c6;if(this[_0x6c2d87(0x3a1)])return this[_0x6c2d87(0x1b4)]=this[_0x6c2d87(0x3a1)],this['_awaitingChangeset']=null,this;throw new Error(_0x6c2d87(0x346));}[_0x5f56c6(0x4fa)](_0x4074c3){const _0x6624b7=_0x5f56c6;return this[_0x6624b7(0x1e6)](!!(_0x4074c3!=null&&_0x4074c3[_0x6624b7(0x39d)]));}[_0x5f56c6(0x46f)](){return this;}[_0x5f56c6(0x57f)](){const _0x8392be=_0x5f56c6;return this[_0x8392be(0x3cf)][_0x8392be(0x445)](_0x5bba0f,this['unitID'],this[_0x8392be(0x566)],this[_0x8392be(0x3a1)],this['_pendingMutations'],this[_0x8392be(0x2a2)]);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x1e6)](_0xf9c0ca){const _0x52e0c7=_0x5f56c6;return this[_0x52e0c7(0x3cf)][_0x52e0c7(0x445)](_0x4d9b5e,this[_0x52e0c7(0x586)],this['type'],this['_awaitingChangeset'],this[_0x52e0c7(0x31a)],this[_0x52e0c7(0x2a2)],_0xf9c0ca);}};_0x5699b0=_0x2c2fb2([_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0x9,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x5538dd(0xa,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0xb,_0x29630e['ICommandService']),_0x5538dd(0xc,_0x29630e['IUndoRedoService']),_0x5538dd(0xd,_0x2a6d3d['ITransformService'])],_0x5699b0);function _0x427588(_0x279752,_0x3c8a01,_0x57200a,_0x17a37e,_0x406312,_0x43c5e0){const _0xc70cd8=_0x5f56c6;return _0x17a37e&&_0x406312[_0xc70cd8(0x47d)]?_0x279752[_0xc70cd8(0x445)](_0x4dc360,_0x3c8a01,_0x57200a,_0x17a37e,_0x406312,_0x43c5e0,void 0x0):_0x17a37e?_0x279752[_0xc70cd8(0x445)](_0x2edaec,_0x3c8a01,_0x57200a,_0x17a37e,_0x43c5e0):_0x406312[_0xc70cd8(0x47d)]?_0x279752[_0xc70cd8(0x445)](_0x3703c2,_0x3c8a01,_0x57200a,_0x406312,_0x43c5e0):_0x279752[_0xc70cd8(0x445)](_0x5155d3,_0x3c8a01,_0x57200a,_0x43c5e0);}var _0x4f9f93=Object[_0x5f56c6(0x17a)],_0x24ab5f=Object['getOwnPropertyDescriptor'],_0x4a2925=(_0x548c28,_0x41d7b7,_0x1bf30b,_0x7e8aef)=>{for(var _0x156e1d=_0x7e8aef>0x1?void 0x0:_0x7e8aef?_0x24ab5f(_0x41d7b7,_0x1bf30b):_0x41d7b7,_0x17eb14=_0x548c28['length']-0x1,_0x158017;_0x17eb14>=0x0;_0x17eb14--)(_0x158017=_0x548c28[_0x17eb14])&&(_0x156e1d=(_0x7e8aef?_0x158017(_0x41d7b7,_0x1bf30b,_0x156e1d):_0x158017(_0x156e1d))||_0x156e1d);return _0x7e8aef&&_0x156e1d&&_0x4f9f93(_0x41d7b7,_0x1bf30b,_0x156e1d),_0x156e1d;},_0x50dd3b=(_0x5735f3,_0x4ee524)=>(_0x2ae466,_0x4edb2c)=>_0x4ee524(_0x2ae466,_0x4edb2c,_0x5735f3);_0x4fdbaf[_0x5f56c6(0x26a)]=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x45ff70,_0x124390,_0x505c2a,_0x41029a,_0x156858,_0x3214dd,_0xbfeaa8,_0x243197,_0x249b46,_0x6e6a6d,_0x9b4e16,_0x3c7fc8,_0x45f052){const _0x50f1d4=_0x5f56c6;super(),_0x48f470(this,_0x50f1d4(0x427),new _0x17e48c[(_0x50f1d4(0x38b))](null)),_0x48f470(this,_0x50f1d4(0x287),this[_0x50f1d4(0x427)]['asObservable']()),_0x48f470(this,_0x50f1d4(0x152)),_0x48f470(this,'_collaborationPaused',!0x1),_0x48f470(this,_0x50f1d4(0x49e),''),_0x48f470(this,_0x50f1d4(0x4d5),0x0),_0x48f470(this,_0x50f1d4(0x46c),this[_0x50f1d4(0x287)][_0x50f1d4(0x300)](_0x17e48c['map'](_0x4ca694=>_0x4ca694?_0x4ca694[_0x50f1d4(0x4ce)]:_0x4cac76[_0x50f1d4(0x385)]),_0x17e48c['shareReplay'](0x1))),_0x48f470(this,_0x50f1d4(0x418),!0x1),_0x48f470(this,_0x50f1d4(0x299),[]),(this[_0x50f1d4(0x586)]=_0x45ff70,this[_0x50f1d4(0x54d)]=_0x124390,this[_0x50f1d4(0x164)]=_0x505c2a,this[_0x50f1d4(0x3cf)]=_0x41029a,this['_localCacheService']=_0x156858,this[_0x50f1d4(0x2be)]=_0x3214dd,this[_0x50f1d4(0x375)]=_0xbfeaa8,this[_0x50f1d4(0x4e2)]=_0x243197,this[_0x50f1d4(0x3ac)]=_0x249b46,this[_0x50f1d4(0x2a7)]=_0x6e6a6d,this[_0x50f1d4(0x3a9)]=_0x9b4e16,this['_permissionService']=_0x3c7fc8,this['_singleActiveUnitService']=_0x45f052);}get['state'](){const _0x320577=_0x5f56c6;return this[_0x320577(0x152)];}async[_0x5f56c6(0x3bb)](){const _0x3e3902=_0x5f56c6;if(this[_0x3e3902(0x153)])throw new Error(_0x3e3902(0x4f4));await this[_0x3e3902(0x436)]();}[_0x5f56c6(0x3b8)](){const _0x10f029=_0x5f56c6;return this[_0x10f029(0x544)]=!0x0,_0x29630e[_0x10f029(0x1cd)](()=>{const _0xfff7de=_0x10f029;this[_0xfff7de(0x544)]=!0x1,this[_0xfff7de(0x48f)]();});}[_0x5f56c6(0x4e3)](_0x42fb81){const _0x2b7088=_0x5f56c6;this[_0x2b7088(0x152)]=_0x42fb81,this[_0x2b7088(0x427)][_0x2b7088(0x17b)](_0x42fb81);}async[_0x5f56c6(0x436)](){const _0x3bf427=_0x5f56c6;var _0x181cff;this[_0x3bf427(0x4e3)](await this['_createInitialState']()),this[_0x3bf427(0x3d2)]&&((_0x181cff=this[_0x3bf427(0x3d2)])==null||_0x181cff[_0x3bf427(0x348)](this[_0x3bf427(0x586)]),this['disposeWithMe'](this[_0x3bf427(0x3d2)][_0x3bf427(0x485)](this[_0x3bf427(0x586)])[_0x3bf427(0x18a)](_0x2dd44e=>{const _0x4cbf0a=_0x3bf427;this['_logService'][_0x4cbf0a(0x2fa)]('[CollaborationEntity]',_0x4cbf0a(0x416),_0x2dd44e),_0x2dd44e===_0x414a7e[_0x4cbf0a(0x3ff)]?(this[_0x4cbf0a(0x3a9)]['show']({'content':this[_0x4cbf0a(0x375)]['t'](_0x4cbf0a(0x323)),'type':_0x2d4ff4[_0x4cbf0a(0x2c7)]['Warning']}),this[_0x4cbf0a(0x495)][_0x4cbf0a(0x48a)](new _0x5decb0[(_0x4cbf0a(0x43a))](this[_0x4cbf0a(0x586)])['id'],!0x1),this[_0x4cbf0a(0x495)][_0x4cbf0a(0x18c)](!0x1)):(this[_0x4cbf0a(0x495)][_0x4cbf0a(0x48a)](new _0x5decb0[(_0x4cbf0a(0x43a))](this[_0x4cbf0a(0x586)])['id'],!0x0),this['_permissionService'][_0x4cbf0a(0x18c)](!0x0));})));let _0x432959=!0x1;return this['disposeWithMe'](this['session'][_0x3bf427(0x3e0)][_0x3bf427(0x18a)](_0x6a1fac=>{const _0xb3bf5d=_0x3bf427;_0x6a1fac===_0x90155[_0xb3bf5d(0x4c5)]?this[_0xb3bf5d(0x243)](_0x432959):_0x6a1fac===_0x90155['OFFLINE']&&(_0x432959=!0x0,this[_0xb3bf5d(0x14f)]());})),this[_0x3bf427(0x52f)](this[_0x3bf427(0x54d)][_0x3bf427(0x574)][_0x3bf427(0x18a)](_0x83a504=>{const _0x10d180=_0x3bf427;try{switch(_0x83a504[_0x10d180(0x256)]){case _0x2a6d3d['CollaborationEvent'][_0x10d180(0x433)]:{this[_0x10d180(0x17f)](_0x2a6d3d['parseProtocolChangeset'](_0x83a504[_0x10d180(0x54c)]));break;}case _0x2a6d3d['CollaborationEvent'][_0x10d180(0x51c)]:{this[_0x10d180(0x425)](_0x83a504['data']);break;}case _0x2a6d3d[_0x10d180(0x56e)][_0x10d180(0x3fd)]:{this[_0x10d180(0x3f0)]();break;}case _0x2a6d3d['CollaborationEvent'][_0x10d180(0x306)]:{this[_0x10d180(0x3b0)](_0x83a504['data']);break;}case _0x2a6d3d[_0x10d180(0x56e)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x10d180(0x3a8)](_0x83a504[_0x10d180(0x54c)][_0x10d180(0x1a5)][_0x10d180(0x239)](_0x2d1952=>_0x2a6d3d[_0x10d180(0x518)](_0x2d1952)));break;}case _0x2a6d3d[_0x10d180(0x56e)][_0x10d180(0x19b)]:this[_0x10d180(0x3f0)]({'isPermissionRej':!0x0});}}catch(_0xd7658e){throw console[_0x10d180(0x1fe)]('Error\x20on\x20receiving\x20event',_0xd7658e),_0xd7658e;}})),this['_state'];}[_0x5f56c6(0x32c)](){const _0x422364=_0x5f56c6;this[_0x422364(0x418)]=!0x1;}[_0x5f56c6(0x471)](){const _0x2b9ed2=_0x5f56c6;if(this['_transitionLocked'])throw new Error(_0x2b9ed2(0x2d2));this[_0x2b9ed2(0x418)]=!0x0;}[_0x5f56c6(0x53c)](_0x488879){const _0x5dd3f2=_0x5f56c6;this['_lockTransition'](),this[_0x5dd3f2(0x4e3)](this[_0x5dd3f2(0x152)][_0x5dd3f2(0x1fa)](_0x488879)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x1e27ce){const _0xed9ab0=_0x5f56c6;if(!(_0x1e27ce[_0xed9ab0(0x27a)]<=this['_revisionService'][_0xed9ab0(0x174)](this[_0xed9ab0(0x586)]))){if(this[_0xed9ab0(0x544)]){this['_remoteChangesetQueue'][_0xed9ab0(0x476)](_0x1e27ce);return;}this[_0xed9ab0(0x3b3)](_0x1e27ce);}}['_exhaustRemoteChangesetQueue'](){const _0x41a295=_0x5f56c6;this['_remoteChangesetQueue'][_0x41a295(0x57d)](_0xd97032=>this[_0x41a295(0x3b3)](_0xd97032)),this[_0x41a295(0x299)]=[];}[_0x5f56c6(0x3b3)](_0x5bb038){const _0xdedeb4=_0x5f56c6,_0x257423=this['_compressMutationService'][_0xdedeb4(0x545)]['fetchThroughInterceptors'](this[_0xdedeb4(0x2be)][_0xdedeb4(0x545)][_0xdedeb4(0x529)]()[_0xdedeb4(0x270)])(_0x5bb038[_0xdedeb4(0x288)],null)||_0x5bb038[_0xdedeb4(0x288)],_0x4a084f={..._0x5bb038,'mutations':_0x257423};this['_lockTransition'](),this[_0xdedeb4(0x4e3)](this[_0xdedeb4(0x152)][_0xdedeb4(0x39b)](_0x4a084f)),this[_0xdedeb4(0x32c)]();}[_0x5f56c6(0x425)](_0x3a0b03){const _0x3bba1a=_0x5f56c6;this[_0x3bba1a(0x471)](),this['_updateState'](this[_0x3bba1a(0x152)][_0x3bba1a(0x53b)](_0x3a0b03)),this[_0x3bba1a(0x32c)]();}[_0x5f56c6(0x3f0)](_0x4678ce){const _0x5707a4=_0x5f56c6;this[_0x5707a4(0x471)](),this[_0x5707a4(0x4e3)](this['_state'][_0x5707a4(0x4fa)](_0x4678ce)),this[_0x5707a4(0x32c)]();}[_0x5f56c6(0x3b0)](_0x5d1329){const _0x520acf=_0x5f56c6;this[_0x520acf(0x471)](),this[_0x520acf(0x4e3)](this[_0x520acf(0x152)][_0x520acf(0x46f)](_0x5d1329)),this[_0x520acf(0x32c)]();}[_0x5f56c6(0x3a8)](_0x251e75){const _0x1dde33=_0x5f56c6;if(!(this[_0x1dde33(0x152)]instanceof _0x5699b0))throw new TypeError(_0x1dde33(0x215));const _0x4d8312=_0x251e75[_0x1dde33(0x239)](_0x3cba0a=>{const _0x4a58bc=_0x1dde33,_0x8f42fe=this[_0x4a58bc(0x2be)]['interceptor'][_0x4a58bc(0x4e1)](this[_0x4a58bc(0x2be)][_0x4a58bc(0x545)]['getInterceptPoints']()[_0x4a58bc(0x270)])(_0x3cba0a['mutations'],null)||_0x3cba0a[_0x4a58bc(0x288)];return{..._0x3cba0a,'mutations':_0x8f42fe};});this[_0x1dde33(0x471)](),this[_0x1dde33(0x4e3)](this[_0x1dde33(0x152)][_0x1dde33(0x26f)](_0x4d8312)),this[_0x1dde33(0x32c)]();}[_0x5f56c6(0x14f)](){const _0x1589d3=_0x5f56c6;this[_0x1589d3(0x471)](),this[_0x1589d3(0x4e3)](this['_state']['toggleOffline']()),this[_0x1589d3(0x32c)]();}[_0x5f56c6(0x243)](_0x59dbb5=!0x1){const _0x2524d5=_0x5f56c6;this[_0x2524d5(0x471)](),this['_updateState'](this['_state'][_0x2524d5(0x37a)]()),this[_0x2524d5(0x32c)]();const _0x319523=this['_state'];_0x59dbb5&&_0x319523 instanceof _0x5155d3&&(this[_0x2524d5(0x471)](),this['_updateState'](_0x319523[_0x2524d5(0x230)]()),this[_0x2524d5(0x32c)]());}async[_0x5f56c6(0x357)](){return new Promise(_0x282e67=>{const _0x33b3ec=_0xe8fd;this[_0x33b3ec(0x54d)]['sessionStatus$'][_0x33b3ec(0x300)](_0x17e48c['take'](0x1))['subscribe'](async _0x395a97=>{const _0x397b76=_0x33b3ec;_0x282e67(await this['_createInitialStateImpl'](_0x395a97===_0x90155[_0x397b76(0x4c5)]));});});}[_0x5f56c6(0x4e7)](){const _0x4098cb=this['unitID'];return{'onStateChange':(_0x65800e,_0x6099f0)=>{const _0x290ee4=_0xe8fd;if(_0x65800e!==this['_state'])throw new Error(_0x290ee4(0x22d)+_0x65800e[_0x290ee4(0x4ce)]+_0x290ee4(0x48c)+_0x6099f0[_0x290ee4(0x4ce)]+_0x290ee4(0x2a0)+this[_0x290ee4(0x152)]['status']);this[_0x290ee4(0x4e3)](_0x6099f0);},'onSendChangeset':_0x33ed15=>{const _0x1fa5bd=_0xe8fd;_0x33ed15['sid']||(_0x33ed15[_0x1fa5bd(0x592)]=this[_0x1fa5bd(0x49e)],_0x33ed15[_0x1fa5bd(0x277)]=++this[_0x1fa5bd(0x4d5)]);const _0x57d5ae={'eventID':_0x2a6d3d[_0x1fa5bd(0x56e)][_0x1fa5bd(0x25b)],'data':{'unitID':_0x33ed15['unitID'],'unitType':this[_0x1fa5bd(0x164)],'changeset':_0x33ed15,'memberID':this[_0x1fa5bd(0x54d)][_0x1fa5bd(0x474)]()}};this[_0x1fa5bd(0x54d)][_0x1fa5bd(0x16b)](_0x57d5ae,this[_0x1fa5bd(0x586)]);},'onMissingChangesets':({from:_0x39f126,to:_0x1c70d4})=>{const _0x56a709=_0xe8fd;this[_0x56a709(0x3ac)]['debug'](_0x56a709(0x48b),'fetching\x20missing\x20changesets\x20from\x20'+_0x39f126+_0x56a709(0x154)+_0x1c70d4);const _0x5dca5c={'eventID':_0x2a6d3d[_0x56a709(0x56e)][_0x56a709(0x16c)],'data':{'unitID':_0x4098cb,'unitType':this[_0x56a709(0x164)],'from':_0x39f126,'to':_0x1c70d4}};this['session'][_0x56a709(0x16b)](_0x5dca5c,this['unitID']);}};}async[_0x5f56c6(0x4fd)](_0x4079a0){const _0x218df0=_0x5f56c6;var _0x597b03,_0x1385f5;const _0x4c975a=await this[_0x218df0(0x206)]['loadOfflineData'](this['unitID']),_0x51f296=(_0x597b03=_0x4c975a==null?void 0x0:_0x4c975a[_0x218df0(0x288)])!=null?_0x597b03:[],_0x50b83a=(_0x1385f5=_0x4c975a==null?void 0x0:_0x4c975a[_0x218df0(0x567)])!=null?_0x1385f5:null,_0x35e6e3=!!(_0x50b83a!=null&&_0x50b83a[_0x218df0(0x592)])&&!!(_0x50b83a!=null&&_0x50b83a[_0x218df0(0x277)]);this[_0x218df0(0x49e)]=_0x35e6e3?_0x50b83a['sid']:_0x16ee13(),this[_0x218df0(0x4d5)]=_0x35e6e3?_0x50b83a['reqId']:0x0;const _0x5b7d23=this[_0x218df0(0x586)];try{this['_replayCachedMutations'](_0x50b83a,_0x51f296);}catch(_0x14b250){this[_0x218df0(0x3ac)][_0x218df0(0x1fe)](_0x14b250);}const _0x15843b=this[_0x218df0(0x4e7)]();if(_0x4079a0){const _0x3ec70f=_0x427588(this['_injector'],_0x5b7d23,this['_type'],_0x50b83a,_0x51f296,_0x15843b);return _0x3ec70f instanceof _0x3703c2?_0x3ec70f[_0x218df0(0x399)]():(_0x3ec70f instanceof _0x4dc360||_0x3ec70f instanceof _0x2edaec)&&_0x3ec70f[_0x218df0(0x4ec)](),_0x3ec70f;}return this[_0x218df0(0x3cf)][_0x218df0(0x445)](_0x5bba0f,_0x5b7d23,this['_type'],_0x50b83a,_0x51f296,_0x15843b);}['_replayCachedMutations'](_0x7cdf98,_0x1bac52){const _0x141034=_0x5f56c6;var _0x5c5f71,_0x5ef567;const _0x3927e6=this[_0x141034(0x2be)][_0x141034(0x545)][_0x141034(0x4e1)](this[_0x141034(0x2be)][_0x141034(0x545)][_0x141034(0x529)]()[_0x141034(0x270)]);(_0x5c5f71=_0x3927e6((_0x7cdf98==null?void 0x0:_0x7cdf98['mutations'])||[],null))==null||_0x5c5f71[_0x141034(0x57d)](_0x2c4fd2=>this['_commandService'][_0x141034(0x180)](_0x2c4fd2['id'],_0x2c4fd2[_0x141034(0x1ee)])),(_0x5ef567=_0x3927e6(_0x1bac52||[],null))==null||_0x5ef567[_0x141034(0x57d)](_0x3750cb=>this[_0x141034(0x2a7)][_0x141034(0x180)](_0x3750cb['id'],_0x3750cb[_0x141034(0x1ee)]));}},_0x4fdbaf[_0x5f56c6(0x26a)]=_0x4a2925([_0x50dd3b(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x50dd3b(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x50dd3b(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d['CompressMutationService'])),_0x50dd3b(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x50dd3b(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x50dd3b(0x8,_0x29630e[_0x5f56c6(0x478)]),_0x50dd3b(0x9,_0x29630e[_0x5f56c6(0x1a4)]),_0x50dd3b(0xa,_0x279664[_0x5f56c6(0x24d)]),_0x50dd3b(0xb,_0x29630e['IPermissionService']),_0x50dd3b(0xc,_0x29630e[_0x5f56c6(0x20f)](_0x5bb5e3))],_0x4fdbaf['CollaborationEntity']),_0x4fdbaf[_0x5f56c6(0x151)]=class extends _0x4fdbaf[_0x5f56c6(0x26a)]{constructor(_0x8e9845,_0x1e2bc8,_0x27c06d,_0x55dd52,_0x184c9b,_0xf3664b,_0x474f97,_0x3d49a3,_0x5760b2,_0x15a524,_0x1325e2,_0x4738a6,_0xe31bca,_0xf26380,_0x3597cc,_0x2f23c6,_0x2d06bb){const _0x550a61=_0x5f56c6;super(_0x8e9845,_0x27c06d,_0x1e2bc8,_0x55dd52,_0x184c9b,_0xf3664b,_0x474f97,_0x3d49a3,_0xe31bca,_0xf26380,_0x3597cc,_0x2f23c6,_0x2d06bb),this['unitID']=_0x8e9845,this[_0x550a61(0x566)]=_0x1e2bc8,this[_0x550a61(0x171)]=_0x5760b2,this[_0x550a61(0x387)]=_0x15a524,this[_0x550a61(0x55e)]=_0x1325e2,this[_0x550a61(0x583)]=_0x4738a6;}[_0x5f56c6(0x4e7)](){const _0x51091a=_0x5f56c6,_0xfd7d00=super['_createHandler']();return _0xfd7d00[_0x51091a(0x279)]=_0x4b72f2=>this['_docTransformIMECacheService'][_0x51091a(0x29e)](_0x4b72f2),_0xfd7d00[_0x51091a(0x3c7)]=_0x3ea21d=>this[_0x51091a(0x55e)]['transformSelections'](_0x3ea21d),_0xfd7d00['onSyncEditingCollabCursor']=_0x4bb686=>this[_0x51091a(0x583)]['syncEditingCollabCursor'](_0x4bb686),_0xfd7d00[_0x51091a(0x519)]=_0x540a3b=>this[_0x51091a(0x387)][_0x51091a(0x198)](_0x540a3b),_0xfd7d00;}async[_0x5f56c6(0x436)](){const _0x2edac3=_0x5f56c6,_0x4cb8c6=await super[_0x2edac3(0x436)]();return this['_docStateChangeManagerService'][_0x2edac3(0x4b1)][_0x2edac3(0x300)](_0x17e48c[_0x2edac3(0x47a)](this['dispose$']))[_0x2edac3(0x18a)](_0x234a8e=>{const _0x403446=_0x2edac3;if(_0x234a8e==null)return;const {unitId:_0x58b61f,redoState:_0x2c3d11,commandId:_0x4003fa}=_0x234a8e;if(_0x58b61f!==this[_0x403446(0x586)])return;const _0x514488={'id':_0x4003fa,'type':_0x29630e['CommandType'][_0x403446(0x25e)],'params':{'unitId':_0x58b61f,'actions':_0x2c3d11[_0x403446(0x4b2)],'textRanges':null}};this[_0x403446(0x53c)](_0x514488);}),_0x4cb8c6;}},_0x4fdbaf['DocCollaborationEntity']=_0x4a2925([_0x50dd3b(0x3,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x50dd3b(0x4,_0x29630e['Inject'](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x50dd3b(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x2ab)])),_0x50dd3b(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x50dd3b(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x50dd3b(0x8,_0x29630e[_0x5f56c6(0x1d9)](_0x214ea6['DocStateChangeManagerService'])),_0x50dd3b(0x9,_0x29630e[_0x5f56c6(0x1d9)](_0x403af6)),_0x50dd3b(0xa,_0x29630e[_0x5f56c6(0x1d9)](_0x1e6df8)),_0x50dd3b(0xb,_0x29630e[_0x5f56c6(0x1d9)](_0x4247e7)),_0x50dd3b(0xc,_0x29630e[_0x5f56c6(0x478)]),_0x50dd3b(0xd,_0x29630e[_0x5f56c6(0x1a4)]),_0x50dd3b(0xe,_0x279664[_0x5f56c6(0x24d)]),_0x50dd3b(0xf,_0x29630e[_0x5f56c6(0x1b0)]),_0x50dd3b(0x10,_0x29630e[_0x5f56c6(0x20f)](_0x5bb5e3))],_0x4fdbaf[_0x5f56c6(0x151)]),_0x4fdbaf[_0x5f56c6(0x496)]=class extends _0x4fdbaf[_0x5f56c6(0x26a)]{constructor(_0x6f63f8,_0x445069,_0x48184d,_0x1f7a28,_0x2ba9bd,_0x4ed386,_0x5293b6,_0x398d8e,_0x347a8e,_0xeea254,_0x1885d0,_0x118488,_0x44781a,_0x4ee80d){const _0x54d79d=_0x5f56c6;super(_0x6f63f8,_0x48184d,_0x445069,_0x1f7a28,_0x2ba9bd,_0x4ed386,_0x5293b6,_0x398d8e,_0xeea254,_0x1885d0,_0x118488,_0x44781a,_0x4ee80d),this['unitID']=_0x6f63f8,this[_0x54d79d(0x566)]=_0x445069,this[_0x54d79d(0x1a8)]=_0x347a8e;}[_0x5f56c6(0x4e7)](){const _0x1b5ad1=_0x5f56c6,_0x1e4168=super[_0x1b5ad1(0x4e7)]();return _0x1e4168['onTransformSelections']=_0x3e4424=>this[_0x1b5ad1(0x1a8)][_0x1b5ad1(0x250)](_0x3e4424),_0x1e4168;}async[_0x5f56c6(0x436)](){const _0x265dca=_0x5f56c6,_0x97c9cf=await super[_0x265dca(0x436)]();return this[_0x265dca(0x52f)](this[_0x265dca(0x2a7)][_0x265dca(0x373)]((_0x5e740d,_0x3d1d2)=>{const _0x18d9b3=_0x265dca;if(_0x5e740d[_0x18d9b3(0x566)]!==_0x29630e[_0x18d9b3(0x314)][_0x18d9b3(0x25e)]||_0x3d1d2!=null&&_0x3d1d2[_0x18d9b3(0x3d4)]||_0x3d1d2!=null&&_0x3d1d2[_0x18d9b3(0x2c2)])return;const _0x2d9e42=_0x5e740d['params'];if((_0x2d9e42==null?void 0x0:_0x2d9e42[_0x18d9b3(0x546)])!==this['unitID'])return;const _0xb66fe=_0x5e740d,_0x3f9a57=this[_0x18d9b3(0x2be)][_0x18d9b3(0x545)][_0x18d9b3(0x4e1)](this['_compressMutationService'][_0x18d9b3(0x545)][_0x18d9b3(0x529)]()['COMPRESS_MUTATION_SEND'])([_0xb66fe],null)||[_0xb66fe];this['_onLocalMutation'](_0x3f9a57[0x0]);})),_0x97c9cf;}},_0x4fdbaf['SheetCollaborationEntity']=_0x4a2925([_0x50dd3b(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x50dd3b(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x50dd3b(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d['CompressMutationService'])),_0x50dd3b(0x6,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x285)])),_0x50dd3b(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x50dd3b(0x8,_0x29630e[_0x5f56c6(0x1d9)](_0x300a71)),_0x50dd3b(0x9,_0x29630e[_0x5f56c6(0x478)]),_0x50dd3b(0xa,_0x29630e[_0x5f56c6(0x1a4)]),_0x50dd3b(0xb,_0x279664[_0x5f56c6(0x24d)]),_0x50dd3b(0xc,_0x29630e[_0x5f56c6(0x1b0)]),_0x50dd3b(0xd,_0x29630e[_0x5f56c6(0x20f)](_0x5bb5e3))],_0x4fdbaf[_0x5f56c6(0x496)]);var _0x12ab00=Object[_0x5f56c6(0x17a)],_0x347df0=Object[_0x5f56c6(0x47e)],_0x4c57b7=(_0x56d9f6,_0x5030d2,_0x4863a4,_0x3bc0e3)=>{const _0x274833=_0x5f56c6;for(var _0x3573db=_0x3bc0e3>0x1?void 0x0:_0x3bc0e3?_0x347df0(_0x5030d2,_0x4863a4):_0x5030d2,_0x3882e4=_0x56d9f6[_0x274833(0x47d)]-0x1,_0x49c8a4;_0x3882e4>=0x0;_0x3882e4--)(_0x49c8a4=_0x56d9f6[_0x3882e4])&&(_0x3573db=(_0x3bc0e3?_0x49c8a4(_0x5030d2,_0x4863a4,_0x3573db):_0x49c8a4(_0x3573db))||_0x3573db);return _0x3bc0e3&&_0x3573db&&_0x12ab00(_0x5030d2,_0x4863a4,_0x3573db),_0x3573db;},_0x9de50e=(_0x474cab,_0x4985b6)=>(_0x244858,_0x633c6b)=>_0x4985b6(_0x244858,_0x633c6b,_0x474cab);_0x4fdbaf[_0x5f56c6(0x405)]=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0xaf7103,_0xc88d74,_0x1e6423){const _0x29a176=_0x5f56c6;super(),_0x48f470(this,_0x29a176(0x2eb),new Map()),_0x48f470(this,_0x29a176(0x2d4),new _0x17e48c[(_0x29a176(0x3be))]()),(this[_0x29a176(0x3cf)]=_0xaf7103,this[_0x29a176(0x379)]=_0xc88d74,this['_univerInstanceService']=_0x1e6423,this['_init']());}['dispose'](){const _0x46a46a=_0x5f56c6;super[_0x46a46a(0x1b8)](),this[_0x46a46a(0x2eb)]['forEach'](_0xfbc638=>_0xfbc638[_0x46a46a(0x1b8)]()),this[_0x46a46a(0x2eb)][_0x46a46a(0x185)]();}['getCollabEntity'](_0x2a9f19){const _0x435aac=_0x5f56c6;var _0x37a0f7;return(_0x37a0f7=this[_0x435aac(0x2eb)][_0x435aac(0x44d)](_0x2a9f19))!=null?_0x37a0f7:null;}[_0x5f56c6(0x301)](_0x254998){const _0x58fd3c=_0x5f56c6,_0x2b1d25=this['getCollabEntity'](_0x254998);return _0x2b1d25?_0x17e48c['of'](_0x2b1d25):this[_0x58fd3c(0x2d4)]['pipe'](_0x56098d[_0x58fd3c(0x324)](_0x29d44c=>_0x29d44c[_0x58fd3c(0x586)]===_0x254998));}[_0x5f56c6(0x436)](){const _0x44b5c9=_0x5f56c6;this[_0x44b5c9(0x434)]['getTypeOfUnitAdded$'](_0x29630e['UniverInstanceType'][_0x44b5c9(0x4b4)])[_0x44b5c9(0x300)](_0x17e48c['takeUntil'](this['dispose$']),_0x56098d[_0x44b5c9(0x2c1)](0x10))[_0x44b5c9(0x18a)](async _0x29169f=>{const _0x448303=_0x44b5c9,_0x5a1dfd=_0x29169f['getUnitId'](),_0x39a06c=await this['_startCollaboration'](_0x5a1dfd,_0x48039f[_0x448303(0x4b4)]);this['_entities'][_0x448303(0x4f1)](_0x5a1dfd,_0x39a06c);}),this['_univerInstanceService'][_0x44b5c9(0x3dc)](_0x29630e[_0x44b5c9(0x438)][_0x44b5c9(0x540)])[_0x44b5c9(0x300)](_0x17e48c[_0x44b5c9(0x47a)](this[_0x44b5c9(0x3ce)]),_0x56098d['delay'](0x10))['pipe'](_0x56098d['filter'](_0x44b10d=>!_0x44b10d['getUnitId']()['startsWith']('__')))[_0x44b5c9(0x18a)](async _0x4d1644=>{const _0x419a6c=_0x44b5c9,_0x32ccf7=_0x4d1644['getUnitId'](),_0x7d704f=await this[_0x419a6c(0x4d0)](_0x32ccf7,_0x48039f[_0x419a6c(0x540)]);this['_entities']['set'](_0x32ccf7,_0x7d704f);}),_0x17e48c['merge'](this['_univerInstanceService'][_0x44b5c9(0x407)](_0x29630e['UniverInstanceType'][_0x44b5c9(0x4b4)]),this[_0x44b5c9(0x434)][_0x44b5c9(0x407)](_0x29630e[_0x44b5c9(0x438)]['UNIVER_DOC']))[_0x44b5c9(0x300)](_0x17e48c['takeUntil'](this['dispose$']))['subscribe'](_0x1a0c83=>{const _0x515989=_0x44b5c9,_0x3ead47=_0x1a0c83[_0x515989(0x1a2)](),_0x117c44=this[_0x515989(0x2eb)]['get'](_0x3ead47);_0x117c44&&(_0x117c44[_0x515989(0x1b8)](),this[_0x515989(0x2eb)][_0x515989(0x340)](_0x3ead47));});}async[_0x5f56c6(0x4d0)](_0x296699,_0x365a7f){const _0x3797b8=_0x5f56c6,_0x57f382=await this[_0x3797b8(0x379)]['requireSession'](_0x296699),_0x3f7789=this['_injector'][_0x3797b8(0x445)](this[_0x3797b8(0x1f9)](_0x365a7f),_0x296699,_0x365a7f,_0x57f382);return await _0x3f7789[_0x3797b8(0x3bb)](),this['_entityInit$']['next'](_0x3f7789),_0x3f7789;}['_getCtorByUniverType'](_0x2af3ef){const _0x32fac1=_0x5f56c6;switch(_0x2af3ef){case _0x48039f[_0x32fac1(0x540)]:return _0x4fdbaf[_0x32fac1(0x151)];case _0x48039f[_0x32fac1(0x4b4)]:return _0x4fdbaf[_0x32fac1(0x496)];default:throw new Error(_0x32fac1(0x20b)+_0x2af3ef);}}},_0x4fdbaf[_0x5f56c6(0x405)]=_0x4c57b7([_0x9de50e(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['Injector'])),_0x9de50e(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf['CollaborationSessionService'])),_0x9de50e(0x2,_0x29630e[_0x5f56c6(0x441)])],_0x4fdbaf[_0x5f56c6(0x405)]);const _0x35448a=[_0x5f56c6(0x57b),_0x5f56c6(0x2df),'verdancy600',_0x5f56c6(0x498),'blue400','gold400'];class _0x9c53bd extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(){const _0x3d5306=_0x5f56c6;super(...arguments),_0x48f470(this,'_assignedColors',new Map()),_0x48f470(this,_0x3d5306(0x31e),0x0);}[_0x5f56c6(0x51f)](_0x23643f){const _0xe935d0=_0x5f56c6;if(this[_0xe935d0(0x169)][_0xe935d0(0x55c)](_0x23643f))return this['_assignedColors'][_0xe935d0(0x44d)](_0x23643f);const _0x5d3a30=_0x35448a[this[_0xe935d0(0x31e)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x35448a[_0xe935d0(0x47d)],this[_0xe935d0(0x169)][_0xe935d0(0x4f1)](_0x23643f,_0x5d3a30),_0x5d3a30;}}var _0x53bf70=Object[_0x5f56c6(0x17a)],_0x1d58ac=Object[_0x5f56c6(0x47e)],_0x4a2678=(_0xcd0ca3,_0xb45155,_0x5bc22e,_0x1b1101)=>{const _0x25d1b5=_0x5f56c6;for(var _0x158485=_0x1b1101>0x1?void 0x0:_0x1b1101?_0x1d58ac(_0xb45155,_0x5bc22e):_0xb45155,_0xa3e0ea=_0xcd0ca3[_0x25d1b5(0x47d)]-0x1,_0x3e117e;_0xa3e0ea>=0x0;_0xa3e0ea--)(_0x3e117e=_0xcd0ca3[_0xa3e0ea])&&(_0x158485=(_0x1b1101?_0x3e117e(_0xb45155,_0x5bc22e,_0x158485):_0x3e117e(_0x158485))||_0x158485);return _0x1b1101&&_0x158485&&_0x53bf70(_0xb45155,_0x5bc22e,_0x158485),_0x158485;},_0x12fb6c=(_0x10e783,_0x2b0e12)=>(_0x4f9071,_0x5cd93a)=>_0x2b0e12(_0x4f9071,_0x5cd93a,_0x10e783);const _0x36a0cc=0x12c,_0x4b174f=0x64;let _0x40bde1=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x4cb542,_0x40119d,_0xc34a1a,_0x3b3002,_0x11ea5a,_0x574974,_0x4c4fa6,_0x4cf48b,_0x3ff7d8){const _0x975e0e=_0x5f56c6;super(),_0x48f470(this,_0x975e0e(0x4da),!0x1),_0x48f470(this,_0x975e0e(0x436),!0x1),_0x48f470(this,_0x975e0e(0x264),new _0x17e48c[(_0x975e0e(0x38b))](new Map())),_0x48f470(this,_0x975e0e(0x4db),this[_0x975e0e(0x264)][_0x975e0e(0x2ac)]()),_0x48f470(this,_0x975e0e(0x47c),new _0x17e48c['BehaviorSubject']([])),_0x48f470(this,'roomMembers$',this[_0x975e0e(0x47c)]['pipe'](_0x17e48c[_0x975e0e(0x36e)](_0x36a0cc))),_0x48f470(this,'_updateLocalCursor',_0x29630e[_0x975e0e(0x528)](_0x371788=>{const _0x1caa0e=_0x975e0e,_0x28b2b={'eventID':_0x2a6d3d['CollaborationEvent'][_0x1caa0e(0x40a)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x1caa0e(0x474)](),'selection':_0x27f38b(_0x371788)}};this['_session'][_0x1caa0e(0x16b)](_0x28b2b,this['unitID']);},_0x4b174f)),(this['unitID']=_0x4cb542,this['_session']=_0x40119d,this[_0x975e0e(0x3cf)]=_0xc34a1a,this[_0x975e0e(0x48d)]=_0x3b3002,this['_memberService']=_0x11ea5a,this['_syncEditingCollabCursorService']=_0x574974,this['_transformService']=_0x4c4fa6,this['_univerInstanceService']=_0x4cf48b,this[_0x975e0e(0x2a7)]=_0x3ff7d8);}get['cursorInfo'](){const _0x2ae806=_0x5f56c6;return this[_0x2ae806(0x264)][_0x2ae806(0x32b)]();}get[_0x5f56c6(0x4e4)](){const _0x1341c0=_0x5f56c6;return this[_0x1341c0(0x47c)]['getValue']();}[_0x5f56c6(0x1b8)](){const _0x3d57a3=_0x5f56c6;super[_0x3d57a3(0x1b8)](),this[_0x3d57a3(0x264)][_0x3d57a3(0x17b)](new Map()),this[_0x3d57a3(0x264)][_0x3d57a3(0x423)](),this['_roomMembers$'][_0x3d57a3(0x17b)]([]),this[_0x3d57a3(0x47c)]['complete']();}[_0x5f56c6(0x3bb)](){const _0x256f58=_0x5f56c6;this[_0x256f58(0x436)]||(this['_init']=!0x0,this[_0x256f58(0x41d)][_0x256f58(0x3e0)][_0x256f58(0x300)](_0x17e48c['takeUntil'](this[_0x256f58(0x3ce)]))[_0x256f58(0x18a)](_0x3db54e=>{const _0x2e35e9=_0x256f58;_0x3db54e===_0x90155[_0x2e35e9(0x4c5)]?this[_0x2e35e9(0x243)]():this['_toggleOffline']();}),this[_0x256f58(0x41d)][_0x256f58(0x574)][_0x256f58(0x300)](_0x17e48c['takeUntil'](this['dispose$']))[_0x256f58(0x18a)](_0x338548=>{const _0x598bc2=_0x256f58,_0x3db80b=_0x338548[_0x598bc2(0x256)];_0x3db80b===_0x2a6d3d[_0x598bc2(0x56e)][_0x598bc2(0x40a)]&&this[_0x598bc2(0x3f4)](_0x338548),_0x3db80b===_0x2a6d3d[_0x598bc2(0x56e)][_0x598bc2(0x2c5)]&&this['_onCursorDelete'](_0x338548);}),this['disposeWithMe'](this[_0x256f58(0x2a7)][_0x256f58(0x373)](_0x19773e=>{const _0x56af30=_0x256f58,_0x4a6add=_0x19773e[_0x56af30(0x1ee)];_0x4a6add!=null&&this[_0x56af30(0x4da)]&&_0x19773e['id']===_0x31abfa['SetTextSelectionsOperation']['id']&&_0x4a6add['unitId']===this[_0x56af30(0x586)]&&_0x4a6add['isEditing']===!0x1&&_0x4a6add['ranges'][_0x56af30(0x47d)]>0x0&&this[_0x56af30(0x22f)](_0x4a6add[_0x56af30(0x336)]);})),this[_0x256f58(0x42b)][_0x256f58(0x21e)][_0x256f58(0x300)](_0x17e48c[_0x256f58(0x47a)](this[_0x256f58(0x3ce)]))[_0x256f58(0x18a)](_0x20bd8c=>{const _0x4e3b5e=_0x256f58;if((_0x20bd8c==null?void 0x0:_0x20bd8c[_0x4e3b5e(0x586)])!==this[_0x4e3b5e(0x586)])return;const _0x7c3cb5={'eventID':_0x2a6d3d[_0x4e3b5e(0x56e)][_0x4e3b5e(0x40a)],'data':_0x20bd8c};this['_onCursorUpdate'](_0x7c3cb5);}),this['disposeWithMe'](this[_0x256f58(0x2a7)][_0x256f58(0x373)](_0x2058dc=>{const _0x297e5f=_0x256f58;if(_0x2058dc[_0x297e5f(0x1ee)]==null)return;const _0x5781e0=_0x2058dc[_0x297e5f(0x1ee)];if(_0x2058dc['id']!==_0x31abfa[_0x297e5f(0x3f9)]['id']||_0x5781e0[_0x297e5f(0x546)]!==this['unitID'])return;const _0x298352={'id':_0x297e5f(0x23d),'params':_0x5781e0},_0x4f619b=this['cursorInfo'];for(const [_0x536559,_0x58f81f]of _0x4f619b){const _0x31bbec={'id':_0x297e5f(0x23d),'params':{'unitId':this[_0x297e5f(0x586)],'actions':null,'textRanges':_0x58f81f[_0x297e5f(0x336)]}},_0x18b50b=this[_0x297e5f(0x4ab)][_0x297e5f(0x506)](_0x298352,_0x31bbec,!0x1);if(_0x2a6d3d[_0x297e5f(0x1db)](_0x18b50b))throw _0x18b50b[_0x297e5f(0x1fe)];_0x4f619b[_0x297e5f(0x4f1)](_0x536559,{..._0x58f81f,'ranges':_0x18b50b[_0x297e5f(0x3fc)][_0x297e5f(0x1ee)][_0x297e5f(0x589)]});}queueMicrotask(()=>{const _0xf23c44=_0x297e5f;this[_0xf23c44(0x264)][_0xf23c44(0x17b)](_0x4f619b);});})));}[_0x5f56c6(0x3f4)](_0x35c0ca){const _0xd56d3e=_0x5f56c6;var _0x45135a,_0x45244a;const {memberID:_0x35ac1f,selection:_0x5d27ee}=_0x35c0ca[_0xd56d3e(0x54c)],_0x5594f5=_0x5b1833(_0x5d27ee),_0x56e979=(_0x45244a=(_0x45135a=this['_memberService'][_0xd56d3e(0x30c)](this[_0xd56d3e(0x586)],_0x35ac1f))==null?void 0x0:_0x45135a[_0xd56d3e(0x244)])!=null?_0x45244a:_0xd56d3e(0x188),_0x340433={'color':this[_0xd56d3e(0x48d)][_0xd56d3e(0x51f)](_0x35ac1f),'name':_0x56e979,'ranges':_0x5594f5},_0x4510a9=this[_0xd56d3e(0x1e7)];_0x4510a9[_0xd56d3e(0x4f1)](_0x35ac1f,_0x340433),this[_0xd56d3e(0x264)]['next'](_0x4510a9);}[_0x5f56c6(0x4aa)](_0x2c9a65){const _0x213119=_0x5f56c6,{memberID:_0x58db01}=_0x2c9a65[_0x213119(0x54c)],_0x36c1b5=this[_0x213119(0x1e7)];_0x36c1b5[_0x213119(0x340)](_0x58db01),this[_0x213119(0x264)][_0x213119(0x17b)](_0x36c1b5);}['_toggleOnline'](){const _0x58bf94=_0x5f56c6;var _0x5e40be;if(this[_0x58bf94(0x4da)]=!0x0,((_0x5e40be=this[_0x58bf94(0x434)]['getFocusedUnit']())==null?void 0x0:_0x5e40be[_0x58bf94(0x1a2)]())!==this[_0x58bf94(0x586)])return;const _0x1f8a13=this[_0x58bf94(0x3cf)]['get'](_0x31abfa[_0x58bf94(0x43b)])[_0x58bf94(0x4c6)]();Array[_0x58bf94(0x400)](_0x1f8a13)&&_0x1f8a13[_0x58bf94(0x47d)]>0x0&&this[_0x58bf94(0x22f)](_0x1f8a13);}[_0x5f56c6(0x14f)](){const _0x4d0400=_0x5f56c6;this[_0x4d0400(0x4da)]=!0x1;}};_0x40bde1=_0x4a2678([_0x12fb6c(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x12fb6c(0x3,_0x29630e['Inject'](_0x9c53bd)),_0x12fb6c(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x2b3)])),_0x12fb6c(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x4247e7)),_0x12fb6c(0x6,_0x2a6d3d[_0x5f56c6(0x172)]),_0x12fb6c(0x7,_0x29630e[_0x5f56c6(0x441)]),_0x12fb6c(0x8,_0x29630e[_0x5f56c6(0x1a4)])],_0x40bde1);var _0x301cf2=Object['defineProperty'],_0x590aa1=Object[_0x5f56c6(0x47e)],_0x44ecbf=(_0x5934ae,_0xa8f6fb,_0x5cf0c3,_0xf05402)=>{for(var _0x5a2ba6=_0xf05402>0x1?void 0x0:_0xf05402?_0x590aa1(_0xa8f6fb,_0x5cf0c3):_0xa8f6fb,_0x1f697f=_0x5934ae['length']-0x1,_0x4bbb2c;_0x1f697f>=0x0;_0x1f697f--)(_0x4bbb2c=_0x5934ae[_0x1f697f])&&(_0x5a2ba6=(_0xf05402?_0x4bbb2c(_0xa8f6fb,_0x5cf0c3,_0x5a2ba6):_0x4bbb2c(_0x5a2ba6))||_0x5a2ba6);return _0xf05402&&_0x5a2ba6&&_0x301cf2(_0xa8f6fb,_0x5cf0c3,_0x5a2ba6),_0x5a2ba6;},_0x19ba67=(_0x27dc90,_0x1eb143)=>(_0x28ddf0,_0x1a12a7)=>_0x1eb143(_0x28ddf0,_0x1a12a7,_0x27dc90);const _0x231e03=0x12c,_0x2011f5=0x64,_0x4bb089=()=>{let _0x124911=[],_0x3c8a4d=!0x1;return _0x1213d7=>{const _0x3cd042=_0xe8fd;_0x124911[_0x3cd042(0x476)](_0x1213d7),_0x3c8a4d||(_0x3c8a4d=!0x0,setTimeout(()=>{const _0x305f21=_0x3cd042;_0x124911[_0x305f21(0x57d)](_0x5da3ba=>_0x5da3ba()),_0x124911=[],_0x3c8a4d=!0x1;}));};};let _0x326662=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x2288a3,_0x2a3466,_0x161418,_0xff84f1,_0x3bdf40,_0x3e5e8e,_0x4e86f3,_0x3f5297){const _0x12fcb7=_0x5f56c6;super(),_0x48f470(this,_0x12fcb7(0x4da),!0x1),_0x48f470(this,_0x12fcb7(0x436),!0x1),_0x48f470(this,_0x12fcb7(0x264),new _0x17e48c[(_0x12fcb7(0x38b))](new Map())),_0x48f470(this,'cursorInfo$',this[_0x12fcb7(0x264)][_0x12fcb7(0x2ac)]()),_0x48f470(this,_0x12fcb7(0x47c),new _0x17e48c[(_0x12fcb7(0x38b))]([])),_0x48f470(this,'roomMembers$',this[_0x12fcb7(0x47c)][_0x12fcb7(0x300)](_0x17e48c['debounceTime'](_0x231e03))),_0x48f470(this,_0x12fcb7(0x22f),_0x29630e['debounce']((_0x4160be,_0x1834ff)=>{const _0x28f7b3=_0x12fcb7,_0x68f5f6={'eventID':_0x2a6d3d[_0x28f7b3(0x56e)][_0x28f7b3(0x40a)],'data':{'unitID':this[_0x28f7b3(0x586)],'memberID':this[_0x28f7b3(0x41d)][_0x28f7b3(0x474)](),'selection':_0x5b4502[_0x28f7b3(0x449)](_0x4160be,_0x1834ff['range'])}};this['_session'][_0x28f7b3(0x16b)](_0x68f5f6,this[_0x28f7b3(0x586)]);},_0x2011f5)),(this[_0x12fcb7(0x586)]=_0x2288a3,this[_0x12fcb7(0x41d)]=_0x2a3466,this[_0x12fcb7(0x3cf)]=_0x161418,this[_0x12fcb7(0x48d)]=_0xff84f1,this[_0x12fcb7(0x521)]=_0x3bdf40,this[_0x12fcb7(0x434)]=_0x3e5e8e,this[_0x12fcb7(0x2a7)]=_0x4e86f3,this['_refRangeService']=_0x3f5297);}get[_0x5f56c6(0x1e7)](){const _0x38918b=_0x5f56c6;return this[_0x38918b(0x264)]['getValue']();}get[_0x5f56c6(0x4e4)](){const _0x280d37=_0x5f56c6;return this[_0x280d37(0x47c)][_0x280d37(0x32b)]();}[_0x5f56c6(0x1b8)](){const _0x4a90e9=_0x5f56c6;super[_0x4a90e9(0x1b8)](),this[_0x4a90e9(0x264)][_0x4a90e9(0x17b)](new Map()),this[_0x4a90e9(0x264)][_0x4a90e9(0x423)](),this[_0x4a90e9(0x47c)]['next']([]),this[_0x4a90e9(0x47c)][_0x4a90e9(0x423)]();}['init'](){const _0x4df563=_0x5f56c6;this[_0x4df563(0x436)]||(this[_0x4df563(0x436)]=!0x0,this['_session'][_0x4df563(0x3e0)][_0x4df563(0x300)](_0x17e48c[_0x4df563(0x47a)](this[_0x4df563(0x3ce)]))[_0x4df563(0x18a)](_0x449211=>{const _0x31702a=_0x4df563;_0x449211===_0x90155[_0x31702a(0x4c5)]?this[_0x31702a(0x243)]():this['_toggleOffline']();}),this[_0x4df563(0x41d)][_0x4df563(0x574)][_0x4df563(0x300)](_0x17e48c[_0x4df563(0x47a)](this['dispose$']))['subscribe'](_0x362792=>{const _0x1f328c=_0x4df563,_0x505752=_0x362792['eventID'];_0x505752===_0x2a6d3d[_0x1f328c(0x56e)][_0x1f328c(0x40a)]&&this[_0x1f328c(0x3f4)](_0x362792),_0x505752===_0x2a6d3d[_0x1f328c(0x56e)]['USERS_LEAVE']&&this[_0x1f328c(0x4aa)](_0x362792);}),this[_0x4df563(0x45c)](),this[_0x4df563(0x52f)](this['_commandService'][_0x4df563(0x373)](_0x2ed12b=>{const _0x253e19=_0x4df563;if(this[_0x253e19(0x4da)]&&_0x2ed12b['id']===_0x5decb0[_0x253e19(0x3aa)]['id']&&_0x2ed12b[_0x253e19(0x1ee)][_0x253e19(0x546)]===this[_0x253e19(0x586)]){const _0x3942b2=_0x2ed12b['params'];this[_0x253e19(0x22f)](_0x3942b2[_0x253e19(0x512)],_0x3942b2[_0x253e19(0x551)][0x0]);}})));}['_onCursorUpdate'](_0x4cc938){const _0x57e4f6=_0x5f56c6;var _0x3069a2,_0x2caaa9;const {memberID:_0x321c23,selection:_0x413f75}=_0x4cc938[_0x57e4f6(0x54c)],{sheetName:_0x2f05ea,range:_0x2e29d3}=_0x5b4502[_0x57e4f6(0x1b9)](_0x413f75),_0x19b3b8={'name':(_0x2caaa9=(_0x3069a2=this[_0x57e4f6(0x521)][_0x57e4f6(0x30c)](this[_0x57e4f6(0x586)],_0x321c23))==null?void 0x0:_0x3069a2['name'])!=null?_0x2caaa9:'Unknown\x20user','range':this['_getMergeRange'](_0x2f05ea,_0x2e29d3),'sheetID':_0x2f05ea,'color':this['_colorAssignService'][_0x57e4f6(0x51f)](_0x321c23),'selection':_0x413f75},_0x2ea6b6=this[_0x57e4f6(0x1e7)];_0x2ea6b6[_0x57e4f6(0x4f1)](_0x321c23,_0x19b3b8),this[_0x57e4f6(0x264)]['next'](_0x2ea6b6);}[_0x5f56c6(0x4aa)](_0x249727){const _0x1a5b4f=_0x5f56c6,{memberID:_0x4cabd6}=_0x249727['data'],_0x4ac36c=this[_0x1a5b4f(0x1e7)];_0x4ac36c[_0x1a5b4f(0x340)](_0x4cabd6),this['_cursorInfo$']['next'](_0x4ac36c);}['_getMergeRange'](_0x23f16c,_0x148fdf){const _0x57da31=_0x5f56c6;var _0x208545,_0x5153ca;const _0x28e210=(_0x5153ca=(_0x208545=this[_0x57da31(0x434)]['getUniverSheetInstance'](this[_0x57da31(0x586)]))==null?void 0x0:_0x208545[_0x57da31(0x41a)](_0x23f16c))==null?void 0x0:_0x5153ca[_0x57da31(0x1bf)]();return(_0x28e210==null?void 0x0:_0x28e210[_0x57da31(0x2b0)](_0x1dde9e=>_0x29630e[_0x57da31(0x4a9)][_0x57da31(0x3bf)](_0x1dde9e,_0x148fdf)))||_0x148fdf;}['_onRefRangeChange'](){const _0x31de80=_0x5f56c6,_0x156883=new _0x29630e['DisposableCollection'](),_0x4589a2=_0x4bb089(),_0x532a6c=()=>{const _0x3e7013=_0xe8fd;_0x156883['dispose']();const _0x343cd4=(_0x1e7127,_0x24a64e,_0x276675,_0xcc19d)=>{const _0x19fcc8=_0xe8fd;let _0x447da5=[];switch(_0x1e7127['id']){case _0x5decb0[_0x19fcc8(0x1eb)]['DeleteRangeMoveLeftCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x554)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)][_0x19fcc8(0x55f)]:{_0x447da5=_0x5decb0['handleDeleteRangeMoveUp'](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)]['InsertColCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x326)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)]['InsertRangeMoveDownCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x1b3)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)][_0x19fcc8(0x347)]:{_0x447da5=_0x5decb0[_0x19fcc8(0x527)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)]['InsertRowCommandId']:{_0x447da5=_0x5decb0['handleInsertRow'](_0x1e7127,_0xcc19d);break;}case _0x5decb0['EffectRefRangId']['MoveRangeCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x4a8)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)]['RemoveColCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x47f)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)][_0x19fcc8(0x192)]:{_0x447da5=_0x5decb0[_0x19fcc8(0x530)](_0x1e7127,_0xcc19d);break;}}const _0x216f7c=_0x5decb0[_0x19fcc8(0x29d)](_0x447da5,_0xcc19d),_0x4c1f70=this[_0x19fcc8(0x1e7)][_0x19fcc8(0x44d)](_0x24a64e);if(_0x4c1f70&&_0x216f7c){const _0x4d6756={..._0x4c1f70,'range':_0x216f7c};this[_0x19fcc8(0x1e7)][_0x19fcc8(0x4f1)](_0x24a64e,_0x4d6756),_0x4589a2(()=>{const _0x52dc38=_0x19fcc8,_0x11965c=this[_0x52dc38(0x2ae)][_0x52dc38(0x4a6)](_0x216f7c,_0x1f5b08=>(_0x11965c[_0x52dc38(0x1b8)](),_0x343cd4(_0x1f5b08,_0x24a64e,_0x276675,_0x216f7c)));_0x156883[_0x52dc38(0x54b)](_0x11965c);});}return{'redos':[],'undos':[]};};this[_0x3e7013(0x1e7)][_0x3e7013(0x57d)]((_0x22ad42,_0x13f90e)=>{const _0x30afd4=_0x3e7013,{range:_0x51922c,sheetID:_0x5bc6b6}=_0x22ad42,_0x458cc8=this[_0x30afd4(0x2ae)][_0x30afd4(0x4a6)](_0x51922c,_0x152d4d=>(_0x458cc8[_0x30afd4(0x1b8)](),_0x343cd4(_0x152d4d,_0x13f90e,_0x5bc6b6,_0x51922c)));_0x156883[_0x30afd4(0x54b)](_0x458cc8);});};this[_0x31de80(0x52f)](_0x29630e[_0x31de80(0x1cd)](this[_0x31de80(0x264)][_0x31de80(0x18a)](()=>{_0x532a6c();})));}[_0x5f56c6(0x243)](){const _0x38fa40=_0x5f56c6;var _0x7eec5,_0x4e4584;if(this[_0x38fa40(0x4da)]=!0x0,((_0x7eec5=this[_0x38fa40(0x434)][_0x38fa40(0x594)]())==null?void 0x0:_0x7eec5['getUnitId']())!==this[_0x38fa40(0x586)])return;const _0x1ff995=(_0x4e4584=this[_0x38fa40(0x3cf)][_0x38fa40(0x44d)](_0x5decb0[_0x38fa40(0x15d)])[_0x38fa40(0x2fd)]())==null?void 0x0:_0x4e4584[0x0],_0x3b75fd=this[_0x38fa40(0x434)][_0x38fa40(0x160)](_0x29630e[_0x38fa40(0x438)]['UNIVER_SHEET'])[_0x38fa40(0x582)]();_0x1ff995&&_0x3b75fd&&this[_0x38fa40(0x22f)](_0x3b75fd[_0x38fa40(0x15c)](),_0x1ff995);}['_toggleOffline'](){this['_online']=!0x1;}};_0x326662=_0x44ecbf([_0x19ba67(0x2,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x19ba67(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x9c53bd)),_0x19ba67(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x2b3)])),_0x19ba67(0x5,_0x29630e['IUniverInstanceService']),_0x19ba67(0x6,_0x29630e[_0x5f56c6(0x1a4)]),_0x19ba67(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x5decb0[_0x5f56c6(0x1f0)]))],_0x326662);var _0x2ce046=Object['defineProperty'],_0x346853=Object['getOwnPropertyDescriptor'],_0xf1b61d=(_0x5c068c,_0x561aad,_0x2fc755,_0x2beb27)=>{const _0xbd0231=_0x5f56c6;for(var _0x4bebe8=_0x2beb27>0x1?void 0x0:_0x2beb27?_0x346853(_0x561aad,_0x2fc755):_0x561aad,_0x255164=_0x5c068c[_0xbd0231(0x47d)]-0x1,_0x31910e;_0x255164>=0x0;_0x255164--)(_0x31910e=_0x5c068c[_0x255164])&&(_0x4bebe8=(_0x2beb27?_0x31910e(_0x561aad,_0x2fc755,_0x4bebe8):_0x31910e(_0x4bebe8))||_0x4bebe8);return _0x2beb27&&_0x4bebe8&&_0x2ce046(_0x561aad,_0x2fc755,_0x4bebe8),_0x4bebe8;},_0x227f4d=(_0x29dbd9,_0x3ed39b)=>(_0x51d0fd,_0x22a18c)=>_0x3ed39b(_0x51d0fd,_0x22a18c,_0x29dbd9);let _0x335c52=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x18633a,_0x113bd3,_0x250586){const _0x46d89e=_0x5f56c6;super(),_0x48f470(this,'_entities',new Map()),_0x48f470(this,_0x46d89e(0x2d4),new _0x17e48c[(_0x46d89e(0x3be))]()),(this['_univerInstanceService']=_0x18633a,this['_injector']=_0x113bd3,this[_0x46d89e(0x379)]=_0x250586,this['_init']());}[_0x5f56c6(0x1b8)](){const _0x4f00f8=_0x5f56c6;super[_0x4f00f8(0x1b8)](),this[_0x4f00f8(0x2d4)][_0x4f00f8(0x423)](),this[_0x4f00f8(0x2eb)]['forEach'](_0x5ce850=>_0x5ce850[_0x4f00f8(0x1b8)]());}[_0x5f56c6(0x4fb)](_0x4fbdea){const _0x3b3716=_0x5f56c6;return this['_entities'][_0x3b3716(0x55c)](_0x4fbdea)?this[_0x3b3716(0x2eb)]['get'](_0x4fbdea)[_0x3b3716(0x4db)]:this[_0x3b3716(0x2d4)][_0x3b3716(0x300)](_0x17e48c[_0x3b3716(0x324)](_0x5c17d2=>_0x5c17d2[_0x3b3716(0x586)]===_0x4fbdea),_0x17e48c[_0x3b3716(0x42c)](_0x3ea3ad=>_0x3ea3ad[_0x3b3716(0x4db)]));}['_init'](){const _0xf08d2=_0x5f56c6;this[_0xf08d2(0x434)]['getTypeOfUnitAdded$'](_0x29630e[_0xf08d2(0x438)][_0xf08d2(0x4b4)])[_0xf08d2(0x300)](_0x17e48c[_0xf08d2(0x47a)](this[_0xf08d2(0x3ce)]))[_0xf08d2(0x18a)](async _0x2af0e2=>{const _0x4d338b=_0xf08d2,_0x3d11b0=_0x2af0e2['getUnitId'](),_0x24d7ec=await this[_0x4d338b(0x202)](_0x3d11b0);this[_0x4d338b(0x2d4)][_0x4d338b(0x17b)](_0x24d7ec),this[_0x4d338b(0x2eb)][_0x4d338b(0x4f1)](_0x3d11b0,_0x24d7ec);}),this[_0xf08d2(0x434)][_0xf08d2(0x3dc)](_0x29630e[_0xf08d2(0x438)][_0xf08d2(0x540)])['pipe'](_0x17e48c[_0xf08d2(0x47a)](this[_0xf08d2(0x3ce)]))[_0xf08d2(0x300)](_0x17e48c['filter'](_0x3a61ef=>!_0x3a61ef['getUnitId']()[_0xf08d2(0x1bd)]('__')))[_0xf08d2(0x18a)](async _0x503640=>{const _0x59d57b=_0xf08d2,_0x20c42b=_0x503640[_0x59d57b(0x1a2)](),_0x3aedbe=await this[_0x59d57b(0x4b3)](_0x20c42b);this[_0x59d57b(0x2d4)]['next'](_0x3aedbe),this[_0x59d57b(0x2eb)][_0x59d57b(0x4f1)](_0x20c42b,_0x3aedbe);}),_0x17e48c[_0xf08d2(0x268)](this[_0xf08d2(0x434)][_0xf08d2(0x407)](_0x29630e[_0xf08d2(0x438)][_0xf08d2(0x540)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x29630e[_0xf08d2(0x438)][_0xf08d2(0x4b4)]))[_0xf08d2(0x300)](_0x17e48c['takeUntil'](this[_0xf08d2(0x3ce)]))[_0xf08d2(0x18a)](_0x3db1d4=>{const _0x23bbde=_0xf08d2,_0x3de553=_0x3db1d4[_0x23bbde(0x1a2)](),_0xc74963=this[_0x23bbde(0x2eb)][_0x23bbde(0x44d)](_0x3de553);_0xc74963&&(_0xc74963[_0x23bbde(0x1b8)](),this['_entities'][_0x23bbde(0x340)](_0x3de553));});}async[_0x5f56c6(0x202)](_0x2d42f4){const _0x170a52=_0x5f56c6,_0x424406=await this[_0x170a52(0x379)][_0x170a52(0x494)](_0x2d42f4),_0x3f559c=this[_0x170a52(0x3cf)][_0x170a52(0x445)](_0x326662,_0x2d42f4,_0x424406);return _0x3f559c['init'](),_0x3f559c;}async['_startDocCollabCursor'](_0x49fa34){const _0x162492=_0x5f56c6,_0x7988f7=await this[_0x162492(0x379)][_0x162492(0x494)](_0x49fa34),_0x4c208e=this[_0x162492(0x3cf)]['createInstance'](_0x40bde1,_0x49fa34,_0x7988f7);return _0x4c208e[_0x162492(0x3bb)](),_0x4c208e;}};_0x335c52=_0xf1b61d([_0x227f4d(0x0,_0x29630e['IUniverInstanceService']),_0x227f4d(0x1,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x227f4d(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x580)]))],_0x335c52);const _0x5f0a09=0x14,_0x3ecd90=0xc8,_0x42ff88=0x4,_0x552fc6=0x5;function _0x40b94c(_0x364246,_0x55d8a2){const _0x10f4ca=_0x5f56c6;let {radius:_0x4beb5a,width:_0x31b6ba,height:_0x1a7699}=_0x55d8a2;_0x4beb5a=_0x4beb5a!=null?_0x4beb5a:0x0,_0x31b6ba=_0x31b6ba!=null?_0x31b6ba:0x1e,_0x1a7699=_0x1a7699!=null?_0x1a7699:0x1e;let _0x2f0687=0x0,_0x411e61=0x0,_0x4ea974=0x0;_0x2f0687=_0x411e61=_0x4ea974=Math['min'](_0x4beb5a,_0x31b6ba/0x2,_0x1a7699/0x2),_0x364246[_0x10f4ca(0x477)](),_0x364246[_0x10f4ca(0x20d)](_0x2f0687,0x0),_0x364246['lineTo'](_0x31b6ba-_0x411e61,0x0),_0x364246['arc'](_0x31b6ba-_0x411e61,_0x411e61,_0x411e61,Math['PI']*0x3/0x2,0x0,!0x1),_0x364246[_0x10f4ca(0x1e5)](_0x31b6ba,_0x1a7699-_0x4ea974),_0x364246[_0x10f4ca(0x275)](_0x31b6ba-_0x4ea974,_0x1a7699-_0x4ea974,_0x4ea974,0x0,Math['PI']/0x2,!0x1),_0x364246[_0x10f4ca(0x1e5)](0x0,_0x1a7699),_0x364246[_0x10f4ca(0x1e5)](0x0,_0x2f0687),_0x364246[_0x10f4ca(0x275)](_0x2f0687,_0x2f0687,_0x2f0687,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x364246[_0x10f4ca(0x44b)](),_0x55d8a2[_0x10f4ca(0x4d9)]&&(_0x364246[_0x10f4ca(0x32a)](),_0x364246['fillStyle']=_0x55d8a2['fill'],_0x55d8a2[_0x10f4ca(0x178)]==='evenodd'?_0x364246['fill'](_0x10f4ca(0x17e)):_0x364246[_0x10f4ca(0x4d9)](),_0x364246[_0x10f4ca(0x590)]());}class _0x25e89f extends _0x37c548[_0x5f56c6(0x410)]{constructor(_0x12bfe2,_0x594539){const _0x477ecb=_0x5f56c6;super(_0x12bfe2,_0x594539),_0x48f470(this,'color'),_0x48f470(this,_0x477ecb(0x1d3)),(this[_0x477ecb(0x457)]=_0x594539==null?void 0x0:_0x594539[_0x477ecb(0x457)],this[_0x477ecb(0x1d3)]=_0x594539==null?void 0x0:_0x594539[_0x477ecb(0x1d3)]);}static[_0x5f56c6(0x2ee)](_0x58d1d5,_0x456f3e){const _0x54dd49=_0x5f56c6,{text:_0x1a6347,color:_0x1d1f65}=_0x456f3e;_0x58d1d5[_0x54dd49(0x32a)](),_0x58d1d5[_0x54dd49(0x1af)]=_0x54dd49(0x221);const _0x49f0fb=_0x58d1d5['measureText'](_0x1a6347)[_0x54dd49(0x368)],_0x152dc9=Math['min'](_0x49f0fb+0x2*_0x42ff88,_0x3ecd90);_0x40b94c(_0x58d1d5,{'height':_0x5f0a09,'radius':0x4,'width':_0x152dc9,'fill':_0x1d1f65,'evented':!0x1}),_0x58d1d5[_0x54dd49(0x384)]=_0x54dd49(0x57a);const _0x4e9811=_0x42ff88,_0x4d756a=_0x5f0a09-_0x552fc6,_0x4f5f2d=_0x3ecd90-0x2*_0x42ff88;if(_0x49f0fb>_0x4f5f2d){let _0x59e732='',_0x1c6027=0x0;for(const _0x5f0f02 of _0x1a6347){const _0x8957f=_0x58d1d5[_0x54dd49(0x1ed)](_0x5f0f02)['width'];if(_0x1c6027+_0x8957f<=_0x4f5f2d-_0x58d1d5['measureText'](_0x54dd49(0x241))[_0x54dd49(0x368)])_0x59e732+=_0x5f0f02,_0x1c6027+=_0x8957f;else{_0x59e732+=_0x54dd49(0x241);break;}}_0x58d1d5['fillText'](_0x59e732,_0x4e9811,_0x4d756a);}else _0x58d1d5[_0x54dd49(0x203)](_0x1a6347,_0x4e9811,_0x4d756a);_0x58d1d5[_0x54dd49(0x590)]();}[_0x5f56c6(0x36d)](_0x438436){_0x25e89f['drawWith'](_0x438436,this);}}const _0x4129a8=_0x5f56c6(0x3a5),_0x30ce42='collab-text-range-',_0x5a1aa1=_0x5f56c6(0x45b),_0xf46776=0x6,_0x30f8ca=1.5,_0x45c28a=0x4,_0x550f06=1.5,_0x43fd54=_0x5f56c6(0x34e);class _0x1f326f{constructor(_0x13ce71,_0x4a2e95,_0x312300,_0x7c55bb){const _0x1c0291=_0x5f56c6;_0x48f470(this,_0x1c0291(0x369),[]),_0x48f470(this,_0x1c0291(0x197),null),_0x48f470(this,_0x1c0291(0x390),null),_0x48f470(this,_0x1c0291(0x320),null),_0x48f470(this,'_hideTimer',null),_0x48f470(this,_0x1c0291(0x199),null),(this[_0x1c0291(0x505)]=_0x13ce71,this[_0x1c0291(0x3af)]=_0x4a2e95,this['_docSkeleton']=_0x312300,this[_0x1c0291(0x502)]=_0x7c55bb,this['_render']());}set[_0x5f56c6(0x533)](_0x40f2be){const _0x179d7e=_0x5f56c6;_0x40f2be?(this[_0x179d7e(0x320)]&&this['_anchorDot'][_0x179d7e(0x548)](),this[_0x179d7e(0x390)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0x179d7e(0x390)][_0x179d7e(0x548)]());}[_0x5f56c6(0x1b8)](){const _0x294b50=_0x5f56c6;for(const _0x2ff0e3 of this[_0x294b50(0x369)])_0x2ff0e3[_0x294b50(0x1b8)]();this[_0x294b50(0x390)]&&this['_textBubble']['dispose'](),this[_0x294b50(0x320)]&&this[_0x294b50(0x320)][_0x294b50(0x1b8)](),this['_anchor']&&this[_0x294b50(0x197)][_0x294b50(0x1b8)](),this[_0x294b50(0x199)]&&this[_0x294b50(0x199)]();}[_0x5f56c6(0x259)](){const _0x1deeb8=_0x5f56c6;var _0x207689;const {_docSkeleton:_0x27e642,_document:_0x4d3f01}=this,{color:_0x352f94,name:_0x3e29c9,ranges:_0x5bb168}=this['_cursor'],_0x16cbe5=_0x4d3f01[_0x1deeb8(0x501)](),{docsLeft:_0x414ddf,docsTop:_0x519057}=_0x16cbe5,_0x2c849e=new _0x214ea6[(_0x1deeb8(0x1f4))](_0x16cbe5,_0x27e642);for(const {startOffset:_0x1833ef,endOffset:_0x23dc10,rangeType:_0x4552a5,segmentId:_0xd5ac81,segmentPage:_0x5c1c04,collapsed:_0x394b20,isActive:_0x744402}of _0x5bb168){const _0x3695f=_0x27e642[_0x1deeb8(0x532)](_0x1833ef,!0x0,_0xd5ac81,_0x5c1c04);let _0x1ba218=_0x27e642[_0x1deeb8(0x532)](_0x23dc10,!0x0,_0xd5ac81,_0x5c1c04);if(_0x1ba218==null&&(_0x1ba218=_0x27e642[_0x1deeb8(0x532)](_0x23dc10-0x1,!0x1,_0xd5ac81,_0x5c1c04)),_0x744402){const {contentBoxPointGroup:_0x35d3a0}=_0x2c849e[_0x1deeb8(0x296)](_0x1ba218,_0x1ba218);if(_0x35d3a0['length']===0x0)continue;this[_0x1deeb8(0x263)](_0x352f94,_0x35d3a0,_0x414ddf,_0x519057,_0x3e29c9),this[_0x1deeb8(0x199)]=this[_0x1deeb8(0x40d)]();}if(!_0x394b20&&_0x3695f&&_0x1ba218){if(_0x4552a5===_0x29630e[_0x1deeb8(0x58c)]['RECT']){const _0x28de50=new _0x214ea6[(_0x1deeb8(0x398))](_0x16cbe5,_0x27e642),{pointGroup:_0xe9e467}=(_0x207689=_0x28de50[_0x1deeb8(0x296)](_0x3695f,_0x1ba218))!=null?_0x207689:{};if(_0xe9e467==null||_0xe9e467[_0x1deeb8(0x47d)]===0x0)continue;this[_0x1deeb8(0x2b8)](_0x352f94,_0xe9e467,_0x414ddf,_0x519057);}else{const {borderBoxPointGroup:_0xcdeb3d}=_0x2c849e[_0x1deeb8(0x296)](_0x3695f,_0x1ba218);if(_0xcdeb3d['length']===0x0)continue;this['_drawTextRange'](_0x352f94,_0xcdeb3d,_0x414ddf,_0x519057);}}}}['_drawAnchor'](_0x4c58be,_0x44f20d,_0x3b58c8,_0x1a0bcb,_0x6a884c){const _0x16cc7c=_0x5f56c6,_0x4a7eff=this[_0x16cc7c(0x1ff)](_0x44f20d),{left:_0x3502e3,top:_0x760b84,height:_0x5e4875}=_0x4a7eff,_0x25fe19=this[_0x16cc7c(0x2f7)](),_0x5ad886=_0x550f06/_0x25fe19,_0x26a6a1=new _0x37c548[(_0x16cc7c(0x50e))](_0x4129a8+_0x29630e['Tools'][_0x16cc7c(0x2d5)](_0xf46776),{'left':_0x3502e3+_0x3b58c8-_0x5ad886,'top':_0x760b84+_0x1a0bcb,'height':_0x5e4875,'width':_0x30f8ca,'fill':_0x4c58be||_0x37c548[_0x16cc7c(0x310)](_0x29630e[_0x16cc7c(0x260)][_0x16cc7c(0x500)],0x0),'strokeWidth':_0x5ad886,'stroke':_0x43fd54,'evented':!0x0});this['_anchor']=_0x26a6a1,this[_0x16cc7c(0x3af)][_0x16cc7c(0x4f8)](_0x26a6a1,_0x214ea6[_0x16cc7c(0x291)]);const _0xc41041=new _0x37c548['Rect'](_0x4129a8+_0x29630e['Tools'][_0x16cc7c(0x2d5)](_0xf46776),{'left':_0x3502e3+_0x3b58c8-_0x5ad886,'top':_0x760b84+_0x1a0bcb-_0x45c28a/0x2,'height':_0x45c28a,'width':_0x45c28a,'fill':_0x4c58be||_0x37c548[_0x16cc7c(0x310)](_0x29630e['COLORS'][_0x16cc7c(0x500)],0x0),'strokeWidth':0x0,'stroke':_0x4c58be||_0x37c548['getColor'](_0x29630e[_0x16cc7c(0x260)][_0x16cc7c(0x500)],0x0),'evented':!0x1});this[_0x16cc7c(0x320)]=_0xc41041,this[_0x16cc7c(0x3af)][_0x16cc7c(0x4f8)](_0xc41041,_0x214ea6['TEXT_RANGE_LAYER_INDEX']);const _0x18394c=new _0x25e89f(_0x4129a8+_0x29630e[_0x16cc7c(0x4a1)][_0x16cc7c(0x2d5)](_0xf46776),{'left':_0x3502e3+_0x3b58c8-_0x5ad886,'top':_0x760b84+_0x1a0bcb-_0x5f0a09,'text':_0x6a884c,'color':_0x4c58be});this[_0x16cc7c(0x390)]=_0x18394c,this[_0x16cc7c(0x3af)][_0x16cc7c(0x4f8)](_0x18394c,_0x214ea6[_0x16cc7c(0x291)]),this['_hover']=!0x1;}['_handleHover'](){const _0x5068d7=_0x5f56c6,_0x34c1d7=this[_0x5068d7(0x197)][_0x5068d7(0x200)][_0x5068d7(0x3cd)](()=>{const _0x30b0ff=_0x5068d7;this[_0x30b0ff(0x533)]=!0x0;}),_0x227679=this[_0x5068d7(0x197)][_0x5068d7(0x412)][_0x5068d7(0x3cd)](()=>{const _0x2237da=_0x5068d7;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2237da(0x2ed)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x580837=_0x5068d7;_0x34c1d7[_0x580837(0x349)](),_0x227679['unsubscribe']();};}['_drawTextRange'](_0x284602,_0x32651d,_0x5715f2,_0x18d25c){const _0x3e7f23=_0x5f56c6,_0x450fa1=new _0x29630e['ColorKit'](_0x284602)['setAlpha'](0.2)[_0x3e7f23(0x456)](),_0x21242d=new _0x37c548[(_0x3e7f23(0x514))](_0x30ce42+_0x29630e[_0x3e7f23(0x4a1)][_0x3e7f23(0x2d5)](_0xf46776),{'pointsGroup':_0x32651d,'fill':_0x450fa1||_0x37c548['getColor'](_0x29630e['COLORS'][_0x3e7f23(0x500)],0.2),'left':_0x5715f2,'top':_0x18d25c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e7f23(0x369)]['push'](_0x21242d),this[_0x3e7f23(0x3af)][_0x3e7f23(0x4f8)](_0x21242d,_0x214ea6['TEXT_RANGE_LAYER_INDEX']);}[_0x5f56c6(0x2b8)](_0x336554,_0x4b725e,_0x51170d,_0x143d64){const _0x28921e=_0x5f56c6,_0x5c78f3=new _0x29630e[(_0x28921e(0x252))](_0x336554)[_0x28921e(0x510)](0.2)[_0x28921e(0x456)](),_0x337d5e=new _0x37c548[(_0x28921e(0x514))](_0x5a1aa1+_0x29630e[_0x28921e(0x4a1)][_0x28921e(0x2d5)](_0xf46776),{'pointsGroup':_0x4b725e,'fill':_0x5c78f3||_0x37c548['getColor'](_0x29630e[_0x28921e(0x260)]['black'],0.2),'left':_0x51170d,'top':_0x143d64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28921e(0x369)]['push'](_0x337d5e),this[_0x28921e(0x3af)][_0x28921e(0x4f8)](_0x337d5e,_0x214ea6[_0x28921e(0x291)]);}['_getAnchorBounding'](_0x2d0597){const _0x23cf47=_0x2d0597[0x0],_0x1d4128=_0x23cf47[0x0],_0x1111ae=_0x23cf47[0x2],{x:_0x266d5e,y:_0x5d1cf6}=_0x1d4128,{x:_0xfbc425,y:_0xdfc7cb}=_0x1111ae;return{'left':_0x266d5e,'top':_0x5d1cf6,'width':_0xfbc425-_0x266d5e,'height':_0xdfc7cb-_0x5d1cf6};}[_0x5f56c6(0x2f7)](){const _0x4a79a4=_0x5f56c6,{scaleX:_0x206e54,scaleY:_0x586730}=this[_0x4a79a4(0x3af)][_0x4a79a4(0x4ef)]();return Math[_0x4a79a4(0x217)](_0x206e54,_0x586730);}}var _0x54ab37=Object['defineProperty'],_0x2138ae=Object[_0x5f56c6(0x47e)],_0xe3cbc5=(_0x261e3a,_0x523ce9,_0x21b459,_0x52e3df)=>{const _0xbed307=_0x5f56c6;for(var _0x9f2974=_0x52e3df>0x1?void 0x0:_0x52e3df?_0x2138ae(_0x523ce9,_0x21b459):_0x523ce9,_0x152d3e=_0x261e3a[_0xbed307(0x47d)]-0x1,_0xb0f412;_0x152d3e>=0x0;_0x152d3e--)(_0xb0f412=_0x261e3a[_0x152d3e])&&(_0x9f2974=(_0x52e3df?_0xb0f412(_0x523ce9,_0x21b459,_0x9f2974):_0xb0f412(_0x9f2974))||_0x9f2974);return _0x52e3df&&_0x9f2974&&_0x54ab37(_0x523ce9,_0x21b459,_0x9f2974),_0x9f2974;},_0x17a71a=(_0x46ae1e,_0xcb0aee)=>(_0x4cdd22,_0x3c0ead)=>_0xcb0aee(_0x4cdd22,_0x3c0ead,_0x46ae1e);let _0xe3da1a=class extends _0x29630e['RxDisposable']{constructor(_0xc15acc,_0x31f1c1,_0x2487a6,_0xd58c74,_0x39a109){const _0x3d72ad=_0x5f56c6;super(),_0x48f470(this,_0x3d72ad(0x381),[]),_0x48f470(this,_0x3d72ad(0x207),[]),(this[_0x3d72ad(0x2e4)]=_0xc15acc,this['_docSkeletonManagerService']=_0x31f1c1,this[_0x3d72ad(0x354)]=_0x2487a6,this[_0x3d72ad(0x2a7)]=_0xd58c74,this[_0x3d72ad(0x389)]=_0x39a109,this[_0x3d72ad(0x436)]());}['_init'](){const _0x279101=_0x5f56c6,_0x2cf0f7=this[_0x279101(0x2e4)]['unitId'],_0x25339b=this[_0x279101(0x2d7)];this[_0x279101(0x52f)](_0x17e48c['combineLatest']([this[_0x279101(0x354)][_0x279101(0x4fb)](_0x2cf0f7),this['_themeService']['currentTheme$']])['pipe'](_0x56098d[_0x279101(0x239)](([_0x4e2a31,_0x39a743])=>({'skeleton':_0x25339b[_0x279101(0x50b)](),'cursors':[..._0x4e2a31[_0x279101(0x182)]()][_0x279101(0x3c1)](_0x1e1b32=>({..._0x1e1b32,'color':_0x39a743[_0x1e1b32[_0x279101(0x457)]]}))})))[_0x279101(0x18a)](_0x29f728=>{const _0x72b8b7=_0x279101;if(this[_0x72b8b7(0x184)](),_0x29f728){const {skeleton:_0x3b9b39,cursors:_0x388c2c}=_0x29f728;this[_0x72b8b7(0x443)](_0x3b9b39,_0x388c2c);}})),this['_initResize'](),this[_0x279101(0x2ba)]();}[_0x5f56c6(0x443)](_0x45a55e,_0xca806a){const _0x4754dd=_0x5f56c6,{scene:_0x2a22b3,mainComponent:_0x40b4b4}=this[_0x4754dd(0x2e4)],_0x1bfdf7=_0xca806a['map'](_0x1a4772=>new _0x1f326f(_0x1a4772,_0x2a22b3,_0x45a55e,_0x40b4b4));this['_cursorShapes']=_0x1bfdf7,this[_0x4754dd(0x207)]=_0xca806a;}[_0x5f56c6(0x289)](){const _0x1ff374=_0x5f56c6;this[_0x1ff374(0x184)]();const {scene:_0x222993,mainComponent:_0x4b5ab4}=this[_0x1ff374(0x2e4)],_0x28b5d2=this[_0x1ff374(0x2d7)][_0x1ff374(0x50b)](),_0x4168b2=this[_0x1ff374(0x207)]['map'](_0x3f4f6f=>new _0x1f326f(_0x3f4f6f,_0x222993,_0x28b5d2,_0x4b5ab4));this[_0x1ff374(0x381)]=_0x4168b2;}[_0x5f56c6(0x184)](){const _0x1ca2cb=_0x5f56c6;this['_cursorShapes'][_0x1ca2cb(0x57d)](_0x262f57=>_0x262f57[_0x1ca2cb(0x1b8)]()),this[_0x1ca2cb(0x381)]=[];}[_0x5f56c6(0x2ba)](){const _0x1b1ad4=_0x5f56c6,_0x5716d3=[_0x214ea6['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x1b1ad4(0x2a7)][_0x1b1ad4(0x373)](_0x3065aa=>{const _0x404de0=_0x1b1ad4;_0x5716d3[_0x404de0(0x3ba)](_0x3065aa['id'])&&_0x3065aa[_0x404de0(0x1ee)][_0x404de0(0x546)]===this['_context'][_0x404de0(0x546)]&&this[_0x404de0(0x289)]();}));}['_initResize'](){const _0x29373a=_0x5f56c6;this['disposeWithMe'](_0x29630e[_0x29373a(0x517)](this[_0x29373a(0x2e4)][_0x29373a(0x28c)][_0x29373a(0x55d)])[_0x29373a(0x300)](_0x56098d['filter'](_0x54fd14=>_0x54fd14[_0x29373a(0x566)]===_0x37c548[_0x29373a(0x380)][_0x29373a(0x1de)]),_0x56098d['throttleTime'](0x10))[_0x29373a(0x18a)](()=>{const _0x4b41ac=_0x29373a;this[_0x4b41ac(0x289)]();}));}};_0xe3da1a=_0xe3cbc5([_0x17a71a(0x1,_0x29630e['Inject'](_0x31abfa[_0x5f56c6(0x364)])),_0x17a71a(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x335c52)),_0x17a71a(0x3,_0x29630e[_0x5f56c6(0x1a4)]),_0x17a71a(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['ThemeService']))],_0xe3da1a);const _0x5622a4=0x1,_0x542a31=1.5;class _0x2b4d87 extends _0x37c548['Shape']{constructor(_0xf37512,_0x49fc5e){const _0x8bf512=_0x5f56c6;super(_0xf37512,_0x49fc5e),_0x48f470(this,_0x8bf512(0x191)),_0x48f470(this,'_hovered',!0x1),_0x48f470(this,_0x8bf512(0x295)),_0x48f470(this,_0x8bf512(0x21c),''),_0x48f470(this,_0x8bf512(0x33e),_0x8bf512(0x226)),_0x48f470(this,_0x8bf512(0x388)),(_0x49fc5e&&this[_0x8bf512(0x1f2)](_0x49fc5e),this[_0x8bf512(0x200)]['subscribeEvent'](()=>this[_0x8bf512(0x1f2)]({'hovered':!0x0})),this['onPointerLeave$'][_0x8bf512(0x3cd)](()=>this[_0x8bf512(0x1f2)]({'hovered':!0x1})));}[_0x5f56c6(0x1f2)](_0x5e7855){const _0x512b20=_0x5f56c6;var _0x4c6351,_0x549530,_0x2a04d2,_0x4b9436,_0x1f8306,_0xb75df3;this[_0x512b20(0x191)]=(_0x4c6351=_0x5e7855[_0x512b20(0x457)])!=null?_0x4c6351:this['_color'],this[_0x512b20(0x24a)]=(_0x549530=_0x5e7855['hovered'])!=null?_0x549530:this[_0x512b20(0x24a)],this[_0x512b20(0x295)]=(_0x2a04d2=_0x5e7855['range'])!=null?_0x2a04d2:this[_0x512b20(0x295)],this[_0x512b20(0x21c)]=(_0x4b9436=_0x5e7855[_0x512b20(0x244)])!=null?_0x4b9436:this[_0x512b20(0x21c)],this[_0x512b20(0x33e)]=(_0x1f8306=_0x5e7855[_0x512b20(0x4bf)])!=null?_0x1f8306:this[_0x512b20(0x33e)],this[_0x512b20(0x388)]=(_0xb75df3=_0x5e7855[_0x512b20(0x428)])!=null?_0xb75df3:this[_0x512b20(0x388)],this[_0x512b20(0x1e1)]({'width':_0x5e7855[_0x512b20(0x368)],'height':_0x5e7855[_0x512b20(0x3ee)]});}[_0x5f56c6(0x467)](_0x2f0a8d){const _0x4ede4b=_0x5f56c6,{row:_0xb94999,column:_0x4cb9b4}=_0x2f0a8d;if(_0xb94999>=this['_range']['startRow']&&_0xb94999<=this['_range']['endRow']&&_0x4cb9b4>=this[_0x4ede4b(0x295)][_0x4ede4b(0x3ea)]&&_0x4cb9b4<=this['_range'][_0x4ede4b(0x523)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4ede4b(0x1f2)]({'hovered':!0x1});}[_0x5f56c6(0x447)](_0x5e6c58){return!0x1;}[_0x5f56c6(0x36d)](_0x3c4b2e){const _0x18e646=_0x5f56c6;_0x37c548[_0x18e646(0x50e)][_0x18e646(0x2ee)](_0x3c4b2e,{'width':this[_0x18e646(0x368)],'height':this[_0x18e646(0x3ee)],'strokeWidth':_0x542a31,'stroke':this[_0x18e646(0x191)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x18e646(0x24a)]&&(_0x3c4b2e[_0x18e646(0x32a)](),_0x3c4b2e[_0x18e646(0x42a)](0x1,0x0,0x0,0x1,this[_0x18e646(0x368)],this[_0x18e646(0x33e)]==='bottom'?0x0:-_0x5f0a09),_0x25e89f[_0x18e646(0x2ee)](_0x3c4b2e,{'text':this['_name'],'color':this[_0x18e646(0x191)]}),_0x3c4b2e[_0x18e646(0x590)]());}}var _0x2e6bd3=Object[_0x5f56c6(0x17a)],_0x5519f0=Object['getOwnPropertyDescriptor'],_0x230297=(_0x12e200,_0x316763,_0x2b66db,_0x2086a1)=>{const _0x2b04fd=_0x5f56c6;for(var _0x744ef1=_0x2086a1>0x1?void 0x0:_0x2086a1?_0x5519f0(_0x316763,_0x2b66db):_0x316763,_0x4f520f=_0x12e200[_0x2b04fd(0x47d)]-0x1,_0x396bc9;_0x4f520f>=0x0;_0x4f520f--)(_0x396bc9=_0x12e200[_0x4f520f])&&(_0x744ef1=(_0x2086a1?_0x396bc9(_0x316763,_0x2b66db,_0x744ef1):_0x396bc9(_0x744ef1))||_0x744ef1);return _0x2086a1&&_0x744ef1&&_0x2e6bd3(_0x316763,_0x2b66db,_0x744ef1),_0x744ef1;},_0x14bc2d=(_0x12cdfe,_0x5bb886)=>(_0x36f7fb,_0x3670d6)=>_0x5bb886(_0x36f7fb,_0x3670d6,_0x12cdfe);const _0x19189d=0x1389;let _0x1abaed=class extends _0x29630e['RxDisposable']{constructor(_0x41576e,_0x465826,_0xd84507,_0x5040d6){const _0x2c1d19=_0x5f56c6;super(),_0x48f470(this,_0x2c1d19(0x207),new Set()),_0x48f470(this,_0x2c1d19(0x44a),null),(this[_0x2c1d19(0x2e4)]=_0x41576e,this[_0x2c1d19(0x23f)]=_0x465826,this[_0x2c1d19(0x354)]=_0xd84507,this['_themeService']=_0x5040d6,this[_0x2c1d19(0x436)]());}[_0x5f56c6(0x436)](){const _0x35b6b4=_0x5f56c6;this[_0x35b6b4(0x23f)][_0x35b6b4(0x4e5)][_0x35b6b4(0x300)](_0x56098d[_0x35b6b4(0x47a)](this[_0x35b6b4(0x3ce)]),_0x56098d[_0x35b6b4(0x42c)](_0x138628=>{const _0x29af0a=_0x35b6b4;if(_0x138628){const _0x201600=_0x138628['sheetId'];return _0x17e48c['combineLatest'](this[_0x29af0a(0x354)][_0x29af0a(0x4fb)](this[_0x29af0a(0x2e4)][_0x29af0a(0x546)]),this[_0x29af0a(0x389)][_0x29af0a(0x33f)])[_0x29af0a(0x300)](_0x56098d[_0x29af0a(0x239)](([_0x470f6f,_0x529d7b])=>{const _0x58145d=_0x29af0a,_0x187462=new Map();return _0x470f6f[_0x58145d(0x57d)]((_0x5405f9,_0xb0c4c4)=>{const _0x2fd81a=_0x58145d;if(_0x5405f9[_0x2fd81a(0x3b4)]===_0x201600){const _0x51a81a={..._0x5405f9};_0x51a81a['color']=_0x529d7b[_0x5405f9[_0x2fd81a(0x457)]],_0x187462[_0x2fd81a(0x4f1)](_0xb0c4c4,_0x51a81a);}}),{'skeleton':_0x138628,'cursors':_0x187462};}));}return _0x17e48c['of']({'skeleton':null,'cursors':new Map()});}))[_0x35b6b4(0x18a)](({skeleton:_0x371d3a,cursors:_0x381f69})=>{const _0x3d2ec7=_0x35b6b4;this[_0x3d2ec7(0x184)](),_0x371d3a&&this['_updateCollabCursors'](_0x371d3a,_0x381f69);}),this[_0x35b6b4(0x23f)][_0x35b6b4(0x4e5)]['subscribe'](_0x52a0d1=>{const _0x3f7df1=_0x35b6b4;if(_0x52a0d1==null)return;const {skeleton:_0x231ca6}=_0x52a0d1,{scene:_0x4e3a5d}=this['_context'];_0x4e3a5d[_0x3f7df1(0x51b)]['subscribeEvent'](_0x29630e[_0x3f7df1(0x528)](_0x1372f3=>{const _0x410d3c=_0x3f7df1;var _0x35e214,_0x5c773b;const {offsetX:_0x206a4b,offsetY:_0xed7d83}=_0x1372f3,{x:_0x470f39,y:_0x33fd18}=_0x4e3a5d[_0x410d3c(0x3fe)](_0x37c548[_0x410d3c(0x328)]['FromArray']([_0x206a4b,_0xed7d83])),{scaleX:_0x30c0e9,scaleY:_0x6034ba}=_0x4e3a5d[_0x410d3c(0x4ef)](),_0x2d8e86=_0x4e3a5d['getViewport'](_0x30e2ba[_0x410d3c(0x228)][_0x410d3c(0x1d5)]),_0x2a030d=_0x4e3a5d[_0x410d3c(0x227)](_0x37c548[_0x410d3c(0x328)][_0x410d3c(0x1e2)]([_0x470f39,_0x33fd18]),_0x2d8e86),_0x5c09b7=_0x231ca6[_0x410d3c(0x2b1)](_0x206a4b,_0xed7d83,_0x30c0e9,_0x6034ba,_0x2a030d);((_0x35e214=this['_lastPointer'])==null?void 0x0:_0x35e214['column'])===_0x5c09b7[_0x410d3c(0x1aa)]&&((_0x5c773b=this['_lastPointer'])==null?void 0x0:_0x5c773b[_0x410d3c(0x4a0)])===_0x5c09b7[_0x410d3c(0x4a0)]||this[_0x410d3c(0x207)][_0x410d3c(0x57d)](_0x8ac32a=>{const _0x26fef7=_0x410d3c;_0x8ac32a[_0x26fef7(0x467)](_0x5c09b7);});},0x64));});}[_0x5f56c6(0x443)](_0x2c418e,_0x1028a7){const _0x546d52=_0x5f56c6;var _0x4d1e6d;const _0x245284=(_0x4d1e6d=this[_0x546d52(0x23f)][_0x546d52(0x32d)]())==null?void 0x0:_0x4d1e6d[_0x546d52(0x2d0)];if(!_0x245284)return;const _0x3f5671=this[_0x546d52(0x1ad)]();if(!_0x3f5671)return;this[_0x546d52(0x207)][_0x546d52(0x57d)](_0x3a425f=>{_0x3a425f['makeDirty']();});const {scene:_0x3a0a99}=_0x3f5671,_0x50c427=_0x4f0d39(Array[_0x546d52(0x2b9)](_0x1028a7[_0x546d52(0x182)]()))[_0x546d52(0x239)](_0x70a283=>{const _0x557461=_0x546d52,{color:_0x4c4252,range:_0x3e6aac,name:_0x493b16,selection:_0x2842b6,sheetID:_0x416393}=_0x70a283,{startColumn:_0x186b89,startRow:_0x21d468,endColumn:_0x3ea50b,endRow:_0x577711}=_0x3e6aac,_0x294a6e=_0x30e2ba[_0x557461(0x41b)](_0x21d468,_0x186b89,_0x3a0a99,_0x245284),_0x3657bb=_0x30e2ba['getCoordByCell'](_0x577711,_0x3ea50b,_0x3a0a99,_0x245284),{columnHeaderHeightAndMarginTop:_0x3ec7ad}=_0x245284,{startX:_0xaa69c,startY:_0x3ce8c8}=_0x294a6e,{endX:_0x558532,endY:_0x174c09}=_0x3657bb,_0xab95cf=_0x558532-_0xaa69c,_0x24a44e=_0x174c09-_0x3ce8c8,_0x3ad5ae={'labelPosition':_0x3ce8c8-_0x3ec7ad>=_0x5f0a09?_0x557461(0x226):'bottom','sheetID':_0x416393,'range':_0x3e6aac,'color':_0x4c4252,'name':_0x493b16,'selection':_0x2842b6,'left':_0xaa69c,'top':_0x3ce8c8,'width':_0xab95cf,'height':_0x24a44e,'evented':!0x1,'zIndex':_0x19189d};return new _0x2b4d87(_0x493b16,_0x3ad5ae);});_0x3a0a99[_0x546d52(0x44f)](_0x50c427,_0x5622a4),this[_0x546d52(0x207)]=new Set(_0x50c427);}[_0x5f56c6(0x184)](){const _0x401db1=_0x5f56c6;var _0x5d7af1;(_0x5d7af1=this[_0x401db1(0x207)])==null||_0x5d7af1[_0x401db1(0x57d)](_0x188532=>_0x188532[_0x401db1(0x1b8)]());}[_0x5f56c6(0x1ad)](){const _0x53a068=_0x5f56c6;return _0x30e2ba['getSheetObject'](this['_context']['unit'],this[_0x53a068(0x2e4)]);}};_0x1abaed=_0x230297([_0x14bc2d(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x30e2ba[_0x5f56c6(0x2e7)])),_0x14bc2d(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x335c52)),_0x14bc2d(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x1dd)]))],_0x1abaed);function _0x4f0d39(_0x7d78cf){const _0x15cd9d=_0x5f56c6,_0x11fc7b=new Map();return _0x7d78cf[_0x15cd9d(0x57d)](_0x1fd662=>{const _0xe9b456=_0x15cd9d;if(_0x11fc7b['has'](_0x1fd662['selection'])){const _0x43f1fb=_0x11fc7b[_0xe9b456(0x44d)](_0x1fd662['selection']);_0x43f1fb[_0xe9b456(0x244)]+=',\x20'+_0x1fd662[_0xe9b456(0x244)];}else _0x11fc7b[_0xe9b456(0x4f1)](_0x1fd662['selection'],_0x1fd662);}),Array[_0x15cd9d(0x2b9)](_0x11fc7b[_0x15cd9d(0x182)]());}var _0x8d3ee=function(){const _0x3c7e15=_0x5f56c6;return _0x8d3ee=Object[_0x3c7e15(0x3f7)]||function(_0x805950){const _0xd35a62=_0x3c7e15;for(var _0xd6f92c,_0x4bb269=0x1,_0x2fe1a3=arguments[_0xd35a62(0x47d)];_0x4bb269<_0x2fe1a3;_0x4bb269++){_0xd6f92c=arguments[_0x4bb269];for(var _0x2ae59c in _0xd6f92c)Object[_0xd35a62(0x19d)][_0xd35a62(0x413)][_0xd35a62(0x424)](_0xd6f92c,_0x2ae59c)&&(_0x805950[_0x2ae59c]=_0xd6f92c[_0x2ae59c]);}return _0x805950;},_0x8d3ee[_0x3c7e15(0x257)](this,arguments);},_0x256be7=function(_0x5a37b1,_0x370601){const _0x5b0d56=_0x5f56c6;var _0x32ca65={};for(var _0x16d11c in _0x5a37b1)Object['prototype'][_0x5b0d56(0x413)][_0x5b0d56(0x424)](_0x5a37b1,_0x16d11c)&&_0x370601['indexOf'](_0x16d11c)<0x0&&(_0x32ca65[_0x16d11c]=_0x5a37b1[_0x16d11c]);if(_0x5a37b1!=null&&typeof Object[_0x5b0d56(0x58b)]=='function'){for(var _0x41d163=0x0,_0x16d11c=Object[_0x5b0d56(0x58b)](_0x5a37b1);_0x41d163<_0x16d11c[_0x5b0d56(0x47d)];_0x41d163++)_0x370601['indexOf'](_0x16d11c[_0x41d163])<0x0&&Object[_0x5b0d56(0x19d)]['propertyIsEnumerable'][_0x5b0d56(0x424)](_0x5a37b1,_0x16d11c[_0x41d163])&&(_0x32ca65[_0x16d11c[_0x41d163]]=_0x5a37b1[_0x16d11c[_0x41d163]]);}return _0x32ca65;},_0x41b95b=_0xf902af[_0x5f56c6(0x245)](function(_0x3c1ee3,_0xbc9b31){const _0x45261c=_0x5f56c6;var _0x133135=_0x3c1ee3[_0x45261c(0x25a)],_0x14f993=_0x3c1ee3['id'],_0x31d935=_0x3c1ee3[_0x45261c(0x3a0)],_0x1819b5=_0x3c1ee3[_0x45261c(0x168)],_0x209d7b=_0x256be7(_0x3c1ee3,[_0x45261c(0x25a),'id',_0x45261c(0x3a0),_0x45261c(0x168)]),_0x4c603e=_0x45261c(0x2e9)[_0x45261c(0x2e6)](_0x14f993,'\x20')[_0x45261c(0x2e6)](_0x31d935||'')[_0x45261c(0x43c)](),_0x5ead95=_0xf902af[_0x45261c(0x397)]('_'[_0x45261c(0x2e6)](_0x3a472f()));return _0x48e96d(_0x133135,''[_0x45261c(0x2e6)](_0x14f993),{'defIds':_0x133135[_0x45261c(0x593)],'idSuffix':_0x5ead95[_0x45261c(0x265)]},_0x8d3ee({'ref':_0xbc9b31,'className':_0x4c603e},_0x209d7b),_0x1819b5);});function _0x48e96d(_0x175b8e,_0x57689a,_0x15ce53,_0x475329,_0x28d337){const _0xb87cf3=_0x5f56c6;return _0xf902af['createElement'](_0x175b8e[_0xb87cf3(0x508)],_0x8d3ee(_0x8d3ee({'key':_0x57689a},_0x39bc4a(_0x175b8e,_0x15ce53,_0x28d337)),_0x475329),(_0x3976da(_0x175b8e,_0x15ce53)['children']||[])['map'](function(_0x3bc8d6,_0x350da6){const _0x1e34f9=_0xb87cf3;return _0x48e96d(_0x3bc8d6,''[_0x1e34f9(0x2e6)](_0x57689a,'-')[_0x1e34f9(0x2e6)](_0x175b8e[_0x1e34f9(0x508)],'-')[_0x1e34f9(0x2e6)](_0x350da6),_0x15ce53,void 0x0,_0x28d337);}));}function _0x39bc4a(_0x17ec3c,_0x44d0f2,_0x3293cf){const _0x14d598=_0x5f56c6;var _0x5338f6=_0x8d3ee({},_0x17ec3c[_0x14d598(0x37e)]);_0x3293cf!=null&&_0x3293cf[_0x14d598(0x463)]&&_0x5338f6[_0x14d598(0x4d9)]===_0x14d598(0x463)&&(_0x5338f6[_0x14d598(0x4d9)]=_0x3293cf[_0x14d598(0x463)]);var _0x534850=_0x44d0f2[_0x14d598(0x593)];return!_0x534850||_0x534850[_0x14d598(0x47d)]===0x0||(_0x17ec3c[_0x14d598(0x508)]===_0x14d598(0x48e)&&_0x5338f6[_0x14d598(0x307)]&&(_0x5338f6[_0x14d598(0x307)]=_0x5338f6[_0x14d598(0x307)]+_0x44d0f2[_0x14d598(0x1bb)]),Object[_0x14d598(0x35e)](_0x5338f6)['forEach'](function(_0x48d0d9){const _0x2849b4=_0x14d598;var _0x3dab81=_0x48d0d9[0x0],_0x21fb8b=_0x48d0d9[0x1];typeof _0x21fb8b==_0x2849b4(0x556)&&(_0x5338f6[_0x3dab81]=_0x21fb8b['replace'](/url\(#(.*)\)/,_0x2849b4(0x38a)[_0x2849b4(0x2e6)](_0x44d0f2[_0x2849b4(0x1bb)],')')));})),_0x5338f6;}function _0x3976da(_0x1ef421,_0x4f4f08){const _0x7e112d=_0x5f56c6;var _0x38aaf3,_0x3390f5=_0x4f4f08[_0x7e112d(0x593)];return!_0x3390f5||_0x3390f5[_0x7e112d(0x47d)]===0x0?_0x1ef421:_0x1ef421['tag']===_0x7e112d(0x1cc)&&(!((_0x38aaf3=_0x1ef421['children'])===null||_0x38aaf3===void 0x0)&&_0x38aaf3['length'])?_0x8d3ee(_0x8d3ee({},_0x1ef421),{'children':_0x1ef421[_0x7e112d(0x335)][_0x7e112d(0x239)](function(_0x55151a){const _0x12648d=_0x7e112d;return typeof _0x55151a[_0x12648d(0x37e)]['id']==_0x12648d(0x556)&&_0x3390f5&&_0x3390f5[_0x12648d(0x16a)](_0x55151a[_0x12648d(0x37e)]['id'])>-0x1?_0x8d3ee(_0x8d3ee({},_0x55151a),{'attrs':_0x8d3ee(_0x8d3ee({},_0x55151a['attrs']),{'id':_0x55151a['attrs']['id']+_0x4f4f08[_0x12648d(0x1bb)]})}):_0x55151a;})}):_0x1ef421;}function _0x3a472f(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x41b95b[_0x5f56c6(0x40b)]=_0x5f56c6(0x24e);var _0x31dc23={'tag':'svg','attrs':{'fill':_0x5f56c6(0x2e1),'viewBox':_0x5f56c6(0x4c7),'width':_0x5f56c6(0x470),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5f56c6(0x2d6)},'children':[{'tag':_0x5f56c6(0x58f),'attrs':{'stroke':'currentColor','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':'round','strokeLinejoin':_0x5f56c6(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x5f56c6(0x1cc),'attrs':{},'children':[{'tag':_0x5f56c6(0x183),'attrs':{'id':_0x5f56c6(0x4af)},'children':[{'tag':_0x5f56c6(0x58f),'attrs':{'fill':_0x5f56c6(0x365),'d':_0x5f56c6(0x3e8)}}]}]}],'defIds':[_0x5f56c6(0x4af)]},_0x9f82e3=_0xf902af['forwardRef'](function(_0x422393,_0xecb27d){const _0x294312=_0x5f56c6;return _0xf902af[_0x294312(0x278)](_0x41b95b,Object[_0x294312(0x3f7)]({},_0x422393,{'id':_0x294312(0x47b),'ref':_0xecb27d,'icon':_0x31dc23}));});_0x9f82e3[_0x5f56c6(0x40b)]=_0x5f56c6(0x30b);var _0x2f4e41={'tag':_0x5f56c6(0x2f2),'attrs':{'fill':_0x5f56c6(0x2e1),'viewBox':_0x5f56c6(0x4ee),'width':_0x5f56c6(0x470),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5f56c6(0x2c8)},'children':[{'tag':_0x5f56c6(0x58f),'attrs':{'stroke':_0x5f56c6(0x4b8),'d':_0x5f56c6(0x3d1),'strokeLinecap':'round','strokeLinejoin':_0x5f56c6(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x5f56c6(0x1cc),'attrs':{},'children':[{'tag':_0x5f56c6(0x183),'attrs':{'id':_0x5f56c6(0x16e)},'children':[{'tag':'path','attrs':{'fill':_0x5f56c6(0x365),'d':_0x5f56c6(0x3e8),'transform':_0x5f56c6(0x371)}}]}]}],'defIds':[_0x5f56c6(0x16e)]},_0x35b21c=_0xf902af[_0x5f56c6(0x245)](function(_0x4c8eaf,_0x5c885c){const _0x2d790e=_0x5f56c6;return _0xf902af[_0x2d790e(0x278)](_0x41b95b,Object['assign']({},_0x4c8eaf,{'id':_0x2d790e(0x2c6),'ref':_0x5c885c,'icon':_0x2f4e41}));});_0x35b21c[_0x5f56c6(0x40b)]=_0x5f56c6(0x155);function _0xd125e9(_0x2dd920){const _0x412975=_0x5f56c6;var _0x47cb5c,_0x4b019a,_0x548131='';if(typeof _0x2dd920==_0x412975(0x556)||typeof _0x2dd920=='number')_0x548131+=_0x2dd920;else{if(typeof _0x2dd920==_0x412975(0x210)){if(Array[_0x412975(0x400)](_0x2dd920)){var _0x534147=_0x2dd920[_0x412975(0x47d)];for(_0x47cb5c=0x0;_0x47cb5c<_0x534147;_0x47cb5c++)_0x2dd920[_0x47cb5c]&&(_0x4b019a=_0xd125e9(_0x2dd920[_0x47cb5c]))&&(_0x548131&&(_0x548131+='\x20'),_0x548131+=_0x4b019a);}else{for(_0x4b019a in _0x2dd920)_0x2dd920[_0x4b019a]&&(_0x548131&&(_0x548131+='\x20'),_0x548131+=_0x4b019a);}}}return _0x548131;}function _0x4f2541(){const _0x338829=_0x5f56c6;for(var _0x44593e,_0x3ed689,_0x283d88=0x0,_0x3e43ed='',_0x7d32a3=arguments[_0x338829(0x47d)];_0x283d88<_0x7d32a3;_0x283d88++)(_0x44593e=arguments[_0x283d88])&&(_0x3ed689=_0xd125e9(_0x44593e))&&(_0x3e43ed&&(_0x3e43ed+='\x20'),_0x3e43ed+=_0x3ed689);return _0x3e43ed;}const _0x4aec9d={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x5f56c6(0x53d),'onlineStatus':_0x5f56c6(0x33b),'online':'univer-online','offline':_0x5f56c6(0x581)};function _0x44be0c(_0x463c9a){const _0x2ee77e=_0x5f56c6;switch(_0x463c9a){case _0x4cac76[_0x2ee77e(0x385)]:return _0x2ee77e(0x24c);case _0x4cac76['CONFLICT']:return _0x2ee77e(0x269);case _0x4cac76[_0x2ee77e(0x1ae)]:return'collabStatus.fetchMiss';case _0x4cac76[_0x2ee77e(0x352)]:return _0x2ee77e(0x50c);case _0x4cac76[_0x2ee77e(0x53f)]:case _0x4cac76[_0x2ee77e(0x35f)]:return'collabStatus.syncing';case _0x4cac76[_0x2ee77e(0x2bd)]:case _0x4cac76[_0x2ee77e(0x229)]:return _0x2ee77e(0x249);}}function _0x4cc35e(_0xec5c3f){const _0x3270b9=_0x5f56c6,{status$:_0x5b417a}=_0xec5c3f,_0x2a25e6=_0x279664[_0x3270b9(0x33d)](_0x5b417a,_0x4cac76[_0x3270b9(0x352)]),_0x4a1d05=_0x29630e[_0x3270b9(0x573)](_0x29630e[_0x3270b9(0x285)]),_0xe230aa=_0x29630e[_0x3270b9(0x573)](_0x4fdbaf[_0x3270b9(0x580)]),_0x2be350=_0x2a25e6!==_0x4cac76['OFFLINE'],_0x5a09d4=_0x4a1d05['t'](_0x44be0c(_0x2a25e6)),_0x4e62ab=_0x4f2541(_0x4aec9d[_0x3270b9(0x3d3)],{[_0x4aec9d['online']]:_0x2be350,[_0x4aec9d['offline']]:!_0x2be350}),_0x335fdb=_0x2be350?_0xf902af[_0x3270b9(0x278)](_0x35b21c,null):_0xf902af['createElement'](_0x9f82e3,null),_0x5b864a=_0xf902af['useCallback'](()=>{const _0x2900ae=_0x3270b9;_0x2be350||_0xe230aa[_0x2900ae(0x22b)]();},[_0x2be350,_0xe230aa]);function _0x3d0d7d(){const _0x51cb85=_0x3270b9;return _0xf902af['createElement']('div',{'className':_0x4e62ab,'onClick':_0x5b864a},_0xf902af['createElement'](_0x51cb85(0x40f),{'className':_0x4aec9d[_0x51cb85(0x363)]},_0x335fdb),_0xf902af['createElement']('div',{'className':_0x4aec9d[_0x51cb85(0x282)]},_0x5a09d4));}return _0x2be350?_0x3d0d7d():_0xf902af[_0x3270b9(0x278)](_0x2d4ff4[_0x3270b9(0x28b)],{'title':_0x4a1d05['t'](_0x3270b9(0x297))},_0x3d0d7d());}var _0x34809e=Object[_0x5f56c6(0x17a)],_0x429e12=Object[_0x5f56c6(0x47e)],_0x4ccdb6=(_0xbb0377,_0x503748,_0x376946,_0xdb7ce0)=>{const _0x49d3f4=_0x5f56c6;for(var _0x173175=_0xdb7ce0>0x1?void 0x0:_0xdb7ce0?_0x429e12(_0x503748,_0x376946):_0x503748,_0x188fd2=_0xbb0377[_0x49d3f4(0x47d)]-0x1,_0x313d55;_0x188fd2>=0x0;_0x188fd2--)(_0x313d55=_0xbb0377[_0x188fd2])&&(_0x173175=(_0xdb7ce0?_0x313d55(_0x503748,_0x376946,_0x173175):_0x313d55(_0x173175))||_0x173175);return _0xdb7ce0&&_0x173175&&_0x34809e(_0x503748,_0x376946,_0x173175),_0x173175;},_0x477ee4=(_0x27fe4d,_0x485c4c)=>(_0x500447,_0x3052c9)=>_0x485c4c(_0x500447,_0x3052c9,_0x27fe4d);_0x4fdbaf[_0x5f56c6(0x2e0)]=class extends _0x29630e['Disposable']{constructor(_0x2edb62,_0x261d06,_0x178bb3,_0x460584){const _0x383105=_0x5f56c6;super(),_0x48f470(this,'_status$',new _0x17e48c[(_0x383105(0x38b))](_0x4cac76['NOT_COLLAB'])),(this[_0x383105(0x434)]=_0x2edb62,this[_0x383105(0x435)]=_0x261d06,this[_0x383105(0x3cf)]=_0x178bb3,this[_0x383105(0x156)]=_0x460584,this['_initStatusComponent'](),this[_0x383105(0x555)]());}[_0x5f56c6(0x555)](){const _0x2b5ade=_0x5f56c6;this[_0x2b5ade(0x52f)](this[_0x2b5ade(0x434)]['focused$']['pipe'](_0x17e48c[_0x2b5ade(0x42c)](()=>{const _0x128dd8=_0x2b5ade,_0x298c11=this[_0x128dd8(0x434)][_0x128dd8(0x594)]();return _0x298c11?this['_collaborationController'][_0x128dd8(0x301)](_0x298c11['getUnitId']()):_0x17e48c['of'](null);}),_0x17e48c[_0x2b5ade(0x42c)](_0x415c2f=>_0x415c2f?_0x415c2f['status$']:_0x17e48c['of'](_0x4cac76[_0x2b5ade(0x352)])))[_0x2b5ade(0x18a)](_0x56f75e=>{const _0x4a3a96=_0x2b5ade;this[_0x4a3a96(0x190)][_0x4a3a96(0x17b)](_0x56f75e);}));}[_0x5f56c6(0x3c5)](){const _0x3188c4=_0x5f56c6;this[_0x3188c4(0x52f)](this['_uiPartsService']['registerComponent'](_0x279664['BuiltInUIPart']['HEADER_MENU'],()=>_0x29630e[_0x3188c4(0x1d6)](_0x1b2638({'status$':this['_status$'][_0x3188c4(0x2ac)]()}),this[_0x3188c4(0x3cf)])));}},_0x4fdbaf[_0x5f56c6(0x2e0)]=_0x4ccdb6([_0x477ee4(0x0,_0x29630e[_0x5f56c6(0x441)]),_0x477ee4(0x1,_0x279664[_0x5f56c6(0x42f)]),_0x477ee4(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x477ee4(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x405)]))],_0x4fdbaf[_0x5f56c6(0x2e0)]);function _0x1b2638(_0x1b2b5d){const {status$:_0x132529}=_0x1b2b5d;return function(){const _0x5e7bf3=_0xe8fd;return _0xf902af[_0x5e7bf3(0x278)](_0x4cc35e,{'status$':_0x132529});};}const _0x558a6e=_0x29630e[_0x5f56c6(0x284)](_0x5f56c6(0x3c0));var _0x4b927d=Object['defineProperty'],_0x218482=Object[_0x5f56c6(0x47e)],_0x536ba9=(_0x35ffe5,_0x4ea7af,_0x83a723,_0x439149)=>{const _0x150982=_0x5f56c6;for(var _0x43613b=_0x439149>0x1?void 0x0:_0x439149?_0x218482(_0x4ea7af,_0x83a723):_0x4ea7af,_0x406a30=_0x35ffe5[_0x150982(0x47d)]-0x1,_0x1dba27;_0x406a30>=0x0;_0x406a30--)(_0x1dba27=_0x35ffe5[_0x406a30])&&(_0x43613b=(_0x439149?_0x1dba27(_0x4ea7af,_0x83a723,_0x43613b):_0x1dba27(_0x43613b))||_0x43613b);return _0x439149&&_0x43613b&&_0x4b927d(_0x4ea7af,_0x83a723,_0x43613b),_0x43613b;},_0x433333=(_0x128008,_0x59bdbd)=>(_0x12f32e,_0x457ab6)=>_0x59bdbd(_0x12f32e,_0x457ab6,_0x128008);_0x4fdbaf[_0x5f56c6(0x38f)]=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x599acf,_0x9a7b05,_0x2d8f91,_0x10ff69,_0x2d9a97,_0x56ed37){const _0x4e819a=_0x5f56c6;super(),this[_0x4e819a(0x52c)]=_0x599acf,this[_0x4e819a(0x3ac)]=_0x9a7b05,this[_0x4e819a(0x2a7)]=_0x2d8f91,this['_localCacheService']=_0x10ff69,this[_0x4e819a(0x2a3)]=_0x2d9a97,_0x56ed37?_0x56ed37==null||_0x56ed37[_0x4e819a(0x1e4)]()['then'](()=>this[_0x4e819a(0x436)]()):(this[_0x4e819a(0x3ac)][_0x4e819a(0x2fa)](_0x4e819a(0x482),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4e819a(0x436)]());}async[_0x5f56c6(0x436)](){const _0x5d86fa=_0x5f56c6,_0x9be867=this[_0x5d86fa(0x52c)][_0x5d86fa(0x2bc)](_0x5d86fa(0x3cb)),_0x3c4a28=this[_0x5d86fa(0x52c)][_0x5d86fa(0x2bc)](_0x5d86fa(0x566));if(!_0x9be867||!_0x3c4a28){this[_0x5d86fa(0x3ac)][_0x5d86fa(0x2fa)](_0x5d86fa(0x482),_0x5d86fa(0x520));return;}switch(Number(_0x3c4a28)){case _0x48039f['UNIVER_SHEET']:{const _0x2cbfc0=await this[_0x5d86fa(0x4c4)](_0x9be867);this['_setupSubUnitSync'](_0x2cbfc0);break;}case _0x48039f[_0x5d86fa(0x540)]:{await this['_loadDoc'](_0x9be867);break;}default:{this[_0x5d86fa(0x3ac)][_0x5d86fa(0x1fe)](_0x5d86fa(0x482),_0x5d86fa(0x538));break;}}}async[_0x5f56c6(0x35b)](_0x2e9c21){const _0x1baba1=_0x5f56c6;await this[_0x1baba1(0x2b5)](_0x2e9c21),_0x2e9c21[_0x1baba1(0x211)][_0x1baba1(0x300)](_0x17e48c[_0x1baba1(0x47a)](this[_0x1baba1(0x3ce)]))[_0x1baba1(0x18a)](_0x2504d6=>{const _0x24f54b=_0x1baba1;_0x2504d6&&this[_0x24f54b(0x177)](_0x2504d6);}),this[_0x1baba1(0x52c)][_0x1baba1(0x2b4)][_0x1baba1(0x300)](_0x17e48c['takeUntil'](this['dispose$']))[_0x1baba1(0x18a)](()=>this[_0x1baba1(0x2b5)](_0x2e9c21));}[_0x5f56c6(0x177)](_0x3f57b3,_0x342b64=!0x1){const _0x3c4cf6=_0x5f56c6,_0x239f17=this[_0x3c4cf6(0x52c)][_0x3c4cf6(0x2bc)](_0x3c4cf6(0x1f1));_0x3f57b3[_0x3c4cf6(0x15c)]()!==_0x239f17&&this[_0x3c4cf6(0x52c)][_0x3c4cf6(0x196)](_0x3c4cf6(0x1f1),_0x3f57b3['getSheetId'](),_0x342b64);}async['_updateSubUnitFromURLParams'](_0x274ba9){const _0x13585e=_0x5f56c6;var _0x4d2212;const _0x232b8e=this[_0x13585e(0x52c)]['getParam'](_0x13585e(0x1f1));if(!_0x232b8e||!_0x274ba9['getSheetBySheetId'](_0x232b8e)){const _0x4d10a1=_0x274ba9[_0x13585e(0x56a)]()[0x0],_0x421c57=_0x274ba9['getSheetBySheetId'](_0x4d10a1);if(!_0x421c57)return;this[_0x13585e(0x177)](_0x421c57,!0x0),await this['_commandService']['executeCommand'](_0x5decb0[_0x13585e(0x4d1)]['id'],{'unitId':_0x274ba9[_0x13585e(0x1a2)](),'subUnitId':_0x4d10a1});return;}((_0x4d2212=_0x274ba9['getActiveSheet']())==null?void 0x0:_0x4d2212[_0x13585e(0x15c)]())!==_0x232b8e&&await this[_0x13585e(0x2a7)][_0x13585e(0x180)](_0x5decb0[_0x13585e(0x4d1)]['id'],{'unitId':_0x274ba9[_0x13585e(0x1a2)](),'subUnitId':_0x232b8e});}async[_0x5f56c6(0x4c4)](_0x408d43){const _0x5e1d49=_0x5f56c6;let _0x59ce2a=0x0;const _0x252b4a=await this['_localCacheService'][_0x5e1d49(0x549)](_0x408d43);return _0x252b4a&&(_0x252b4a[_0x5e1d49(0x567)]||_0x252b4a['mutations'][_0x5e1d49(0x47d)]!==0x0)&&(_0x59ce2a=_0x252b4a['rev']),_0x59ce2a===0x0&&this[_0x5e1d49(0x3ac)][_0x5e1d49(0x2fa)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x5e1d49(0x503)](_0x408d43,_0x59ce2a);}async[_0x5f56c6(0x26c)](_0x964d53){const _0x282734=_0x5f56c6;let _0x470e28=0x0;const _0x3aa856=await this['_localCacheService'][_0x282734(0x549)](_0x964d53);return _0x3aa856&&(_0x3aa856[_0x282734(0x567)]||_0x3aa856[_0x282734(0x288)][_0x282734(0x47d)]!==0x0)&&(_0x470e28=_0x3aa856['rev']),_0x470e28===0x0&&this[_0x282734(0x3ac)][_0x282734(0x2fa)](_0x282734(0x482),_0x282734(0x1da)),this[_0x282734(0x2a3)][_0x282734(0x219)](_0x964d53,_0x470e28);}},_0x4fdbaf[_0x5f56c6(0x38f)]=_0x536ba9([_0x433333(0x0,_0x558a6e),_0x433333(0x1,_0x29630e['ILogService']),_0x433333(0x2,_0x29630e[_0x5f56c6(0x1a4)]),_0x433333(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x433333(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4d8)])),_0x433333(0x5,_0x29630e[_0x5f56c6(0x20f)](_0xa2266f[_0x5f56c6(0x36f)]))],_0x4fdbaf[_0x5f56c6(0x38f)]);var _0x54496f=Object[_0x5f56c6(0x17a)],_0x1e7605=Object[_0x5f56c6(0x47e)],_0x424562=(_0x20bbdb,_0x453a57,_0x37362c,_0x292337)=>{const _0x5e7d41=_0x5f56c6;for(var _0x12db8e=_0x292337>0x1?void 0x0:_0x292337?_0x1e7605(_0x453a57,_0x37362c):_0x453a57,_0x5f061f=_0x20bbdb[_0x5e7d41(0x47d)]-0x1,_0x4929b8;_0x5f061f>=0x0;_0x5f061f--)(_0x4929b8=_0x20bbdb[_0x5f061f])&&(_0x12db8e=(_0x292337?_0x4929b8(_0x453a57,_0x37362c,_0x12db8e):_0x4929b8(_0x12db8e))||_0x12db8e);return _0x292337&&_0x12db8e&&_0x54496f(_0x453a57,_0x37362c,_0x12db8e),_0x12db8e;},_0x30f65f=(_0xe35bd0,_0xb17674)=>(_0x3b2d8a,_0x3ae465)=>_0xb17674(_0x3b2d8a,_0x3ae465,_0xe35bd0);const _0xe9a0f6=_0x5f56c6(0x537),_0x5a7125=_0x5f56c6(0x2c0);let _0x20f8f4=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x6c8701,_0x2449d9){const _0x551026=_0x5f56c6;super(),this[_0x551026(0x434)]=_0x6c8701,this[_0x551026(0x4e8)]=_0x2449d9,this['_init']();}[_0x5f56c6(0x436)](){const _0x3fce38=_0x5f56c6;this[_0x3fce38(0x52f)](this['_univerInstanceService'][_0x3fce38(0x18f)][_0x3fce38(0x18a)](()=>{const _0x8a6abf=_0x3fce38;var _0x196ddd;const _0xf8b4f7=this[_0x8a6abf(0x434)][_0x8a6abf(0x594)]();let _0x47c714=(_0x196ddd=this[_0x8a6abf(0x4e8)]['getConfig'](_0xe9a0f6))!=null?_0x196ddd:_0x5a7125;_0xf8b4f7 instanceof _0x29630e[_0x8a6abf(0x579)]&&(_0x47c714=_0xf8b4f7[_0x8a6abf(0x244)]),document['title']=_0x47c714;}));}};_0x20f8f4=_0x424562([_0x30f65f(0x0,_0x29630e[_0x5f56c6(0x441)]),_0x30f65f(0x1,_0x29630e[_0x5f56c6(0x34d)])],_0x20f8f4);var _0x50f828=Object[_0x5f56c6(0x17a)],_0x26a24d=Object[_0x5f56c6(0x47e)],_0xd69ff4=(_0x449e19,_0xffacdd,_0x41b22c,_0x3d9714)=>{for(var _0x412bbf=_0x3d9714>0x1?void 0x0:_0x3d9714?_0x26a24d(_0xffacdd,_0x41b22c):_0xffacdd,_0x2fa617=_0x449e19['length']-0x1,_0x10c3c7;_0x2fa617>=0x0;_0x2fa617--)(_0x10c3c7=_0x449e19[_0x2fa617])&&(_0x412bbf=(_0x3d9714?_0x10c3c7(_0xffacdd,_0x41b22c,_0x412bbf):_0x10c3c7(_0x412bbf))||_0x412bbf);return _0x3d9714&&_0x412bbf&&_0x50f828(_0xffacdd,_0x41b22c,_0x412bbf),_0x412bbf;},_0x52aa34=(_0x590bc0,_0x12aafd)=>(_0x2476a9,_0x371c81)=>_0x12aafd(_0x2476a9,_0x371c81,_0x590bc0);let _0x33b992=class{constructor(_0x18a4cf,_0x101089,_0x5f01b4){const _0x3ac21d=_0x5f56c6;this[_0x3ac21d(0x4e8)]=_0x18a4cf,this['_httpService']=_0x101089,this[_0x3ac21d(0x42e)]=_0x5f01b4,this[_0x3ac21d(0x3bb)]();}['init'](){const _0x448940=_0x5f56c6;this['_httpService'][_0x448940(0x3f1)]({'priority':0x1,'interceptor':(_0x39df0c,_0x30f01f)=>_0x30f01f(_0x39df0c)[_0x448940(0x300)](_0x17e48c[_0x448940(0x3db)](async _0xcfff5d=>{const _0x4a71c2=_0x448940,_0x18b96d=_0xcfff5d;if(_0x18b96d[_0x4a71c2(0x4ce)]===0x191&&window[_0x4a71c2(0x329)](this[_0x4a71c2(0x42e)]['t'](_0x4a71c2(0x342)))){const _0x555e2e=window[_0x4a71c2(0x550)](window[_0x4a71c2(0x2db)][_0x4a71c2(0x3ab)]);window[_0x4a71c2(0x2db)][_0x4a71c2(0x3ab)]=this[_0x4a71c2(0x4ff)]()+_0x4a71c2(0x343)+_0x555e2e;}return _0x18b96d;}))});}[_0x5f56c6(0x4ff)](){const _0x3d3d71=_0x5f56c6;var _0x384772,_0x40ee58;const _0x4f700b=this[_0x3d3d71(0x4e8)][_0x3d3d71(0x1e0)](_0x550a35),_0x54ba10=this[_0x3d3d71(0x4e8)][_0x3d3d71(0x1e0)](_0x1573c4);return(_0x40ee58=(_0x384772=_0x54ba10==null?void 0x0:_0x54ba10['loginUrlKey'])!=null?_0x384772:_0x4f700b)!=null?_0x40ee58:_0xb53a80;}};_0x33b992=_0xd69ff4([_0x52aa34(0x0,_0x29630e['IConfigService']),_0x52aa34(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627[_0x5f56c6(0x195)])),_0x52aa34(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)]))],_0x33b992);var _0x50db61=Object[_0x5f56c6(0x17a)],_0xca52b1=Object[_0x5f56c6(0x47e)],_0x30ca2b=(_0x1184fd,_0x567744,_0x37696d,_0x1c2157)=>{for(var _0x43a6af=_0x1c2157>0x1?void 0x0:_0x1c2157?_0xca52b1(_0x567744,_0x37696d):_0x567744,_0x5643be=_0x1184fd['length']-0x1,_0x25ff03;_0x5643be>=0x0;_0x5643be--)(_0x25ff03=_0x1184fd[_0x5643be])&&(_0x43a6af=(_0x1c2157?_0x25ff03(_0x567744,_0x37696d,_0x43a6af):_0x25ff03(_0x43a6af))||_0x43a6af);return _0x1c2157&&_0x43a6af&&_0x50db61(_0x567744,_0x37696d,_0x43a6af),_0x43a6af;},_0x34fc86=(_0x1600d9,_0x2ef913)=>(_0x37643c,_0xa3cddd)=>_0x2ef913(_0x37643c,_0xa3cddd,_0x1600d9);const _0x8cedfd=_0x5f56c6(0x233),_0x4158f4=_0x5f56c6(0x1c8);_0x4fdbaf[_0x5f56c6(0x162)]=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x2a6596,_0x2b79bb){const _0x38ca32=_0x5f56c6;super(),this[_0x38ca32(0x333)]=_0x2a6596,this[_0x38ca32(0x4e8)]=_0x2b79bb,this[_0x38ca32(0x3a7)]();}[_0x5f56c6(0x3a7)](){const _0x4d3d55=_0x5f56c6,_0x52e2a5=this;this[_0x4d3d55(0x52f)](this[_0x4d3d55(0x333)][_0x4d3d55(0x3f1)]({'priority':0x3e7,'interceptor':_0x1f6627[_0x4d3d55(0x1e8)]({'isMatch'(_0x2d4721){const _0x42fbc1=_0x4d3d55;var _0x301084;if(_0x2d4721['method']===_0x42fbc1(0x43f)&&((_0x301084=_0x2d4721[_0x42fbc1(0x4e0)])!=null&&_0x301084[_0x42fbc1(0x4be)])){const {objectID:_0x2cc360,objectType:_0xb8ee5c}=_0x2d4721[_0x42fbc1(0x4e0)][_0x42fbc1(0x4be)]||{};if(!_0x2cc360||_0xb8ee5c===void 0x0)return!0x1;const _0x31822c=_0x52e2a5[_0x42fbc1(0x266)]()+'/'+_0xb8ee5c+'/object/'+_0x2cc360+'/allowed';if(_0x2d4721['url']===_0x31822c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5885de){const _0x216bea=_0x4d3d55;var _0x3afbcf;return(_0x3afbcf=_0x5885de[_0x216bea(0x4e0)])==null?void 0x0:_0x3afbcf['body'];},'mergeParamsToRequest'(_0x52abd2,_0x1c7b9e){const _0x148136=_0x4d3d55,_0x1fbed7=_0x52e2a5[_0x148136(0x266)]()+_0x148136(0x4c0),_0x58b4db=_0x52abd2['reduce']((_0x559ba0,_0x5164f0)=>{const _0x168377=_0x148136,{unitID:_0x4b8003,objectID:_0xa7fc56,objectType:_0x4379cb,actions:_0x851d7}=_0x5164f0;return _0x559ba0[_0x4b8003]||(_0x559ba0[_0x4b8003]={}),_0x559ba0[_0x4b8003][_0xa7fc56]||(_0x559ba0[_0x4b8003][_0xa7fc56]={'objectID':_0xa7fc56,'objectType':_0x4379cb,'actions':[]}),_0x559ba0[_0x4b8003][_0xa7fc56][_0x168377(0x4b2)][_0x168377(0x476)](..._0x851d7),_0x559ba0;},{}),_0x3780cd=[];for(const _0x44f095 in _0x58b4db)for(const _0x57800e in _0x58b4db[_0x44f095]){const {actions:_0x4842ef,objectType:_0x1ec12d}=_0x58b4db[_0x44f095][_0x57800e],_0x5f4fbb=[...new Set(_0x4842ef)];_0x3780cd['push']({'unitID':_0x44f095,'objectID':_0x57800e,'objectType':_0x1ec12d,'actions':_0x5f4fbb});}return new _0x1f6627[(_0x148136(0x173))](_0x148136(0x43f),_0x1fbed7,{'headers':_0x1c7b9e[_0x148136(0x25f)],'withCredentials':_0x1c7b9e[_0x148136(0x205)],'responseType':_0x1c7b9e[_0x148136(0x28f)],'body':{'requests':_0x3780cd}});}},{'distributeResult'(_0x55cd4b,_0x3961f6){const {objectActions:_0x13e7bf}=_0x55cd4b;return _0x3961f6['map'](_0x363bdf=>{const _0x49c832=_0xe8fd,{unitID:_0x3b0b9e,objectID:_0x273d9d,actions:_0x338fbe}=_0x363bdf,_0x19b0e8=_0x13e7bf[_0x49c832(0x2b0)](_0x5e8bfd=>_0x5e8bfd[_0x49c832(0x586)]===_0x3b0b9e&&_0x5e8bfd[_0x49c832(0x26b)]===_0x273d9d),_0x20513b=_0x338fbe[_0x49c832(0x239)](_0x519146=>_0x19b0e8==null?void 0x0:_0x19b0e8[_0x49c832(0x4b2)][_0x49c832(0x2b0)](_0x45c18a=>_0x45c18a[_0x49c832(0x49f)]===_0x519146))[_0x49c832(0x324)](_0x2ef7ee=>!!_0x2ef7ee);return{'config':_0x363bdf,'result':{'actions':_0x20513b,'error':_0x55cd4b[_0x49c832(0x1fe)]}};});}})}));}[_0x5f56c6(0x266)](){const _0x23ce29=_0x5f56c6;var _0x2010c6,_0x40319f;const _0x485219=this[_0x23ce29(0x4e8)]['getConfig'](_0x8cedfd),_0x4c72f2=this[_0x23ce29(0x4e8)][_0x23ce29(0x1e0)](_0x1573c4);return(_0x40319f=(_0x2010c6=_0x4c72f2==null?void 0x0:_0x4c72f2['authzUrl'])!=null?_0x2010c6:_0x485219)!=null?_0x40319f:_0x4158f4;}async['create'](_0x49082a){const _0xd9d7d2=_0x5f56c6,_0x1a7485=this['_getAPIPrefixPath']()+'/'+_0x49082a[_0xd9d7d2(0x2b2)]+'/object';return(await this[_0xd9d7d2(0x333)][_0xd9d7d2(0x351)](_0x1a7485,{'body':_0x49082a}))['body'][_0xd9d7d2(0x26b)]||'';}async[_0x5f56c6(0x440)](_0x32c700){const _0xd38261=_0x5f56c6,_0x4e98d0=this[_0xd38261(0x266)]()+'/-/object/list';return(await this[_0xd38261(0x333)]['post'](_0x4e98d0,{'body':_0x32c700}))[_0xd38261(0x4be)][_0xd38261(0x464)];}async[_0x5f56c6(0x563)](_0x2f8bf3){const _0x348752=_0x5f56c6,_0x1d0586=this[_0x348752(0x266)]()+'/'+_0x2f8bf3[_0x348752(0x2b2)]+'/object/'+_0x2f8bf3['objectID'];await this['_HTTPService'][_0x348752(0x490)](_0x1d0586,{'body':_0x2f8bf3});}async['allowed'](_0x5c7c5c){const _0x396734=_0x5f56c6,_0x106d10=this[_0x396734(0x266)]()+'/'+_0x5c7c5c[_0x396734(0x2b2)]+'/object/'+_0x5c7c5c[_0x396734(0x26b)]+_0x396734(0x473);return(await this[_0x396734(0x333)][_0x396734(0x351)](_0x106d10,{'body':_0x5c7c5c}))[_0x396734(0x4be)][_0x396734(0x4b2)];}async[_0x5f56c6(0x30d)](_0x57aa36){const _0x4be63b=_0x5f56c6,_0x4283f5=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x4be63b(0x333)][_0x4be63b(0x351)](_0x4283f5,{'body':{'requests':_0x57aa36}}))['body'][_0x4be63b(0x1a0)];}async[_0x5f56c6(0x201)](_0x6f8bc8){const _0x18f721=_0x5f56c6,_0x454e20=this['_getAPIPrefixPath']()+'/'+_0x6f8bc8[_0x18f721(0x2b2)]+_0x18f721(0x56b),_0x4d5d07=await this[_0x18f721(0x333)]['post'](_0x454e20,{'body':_0x6f8bc8});return{'roles':_0x4d5d07[_0x18f721(0x4be)]['roles'],'actions':_0x4d5d07['body'][_0x18f721(0x4b2)]};}async['deleteCollaborator'](_0x53d237){const _0x3f69f3=_0x5f56c6,_0x59cbfb=this[_0x3f69f3(0x266)]()+_0x3f69f3(0x46a);await this[_0x3f69f3(0x333)]['delete'](_0x59cbfb,{'params':{'collaboratorID':_0x53d237[_0x3f69f3(0x271)],'objectID':_0x53d237[_0x3f69f3(0x26b)],'unitID':_0x53d237[_0x3f69f3(0x586)]}});}async[_0x5f56c6(0x163)](_0x51317e){const _0x39a813=_0x5f56c6,_0x5f57df=this[_0x39a813(0x266)]()+_0x39a813(0x46a);await this[_0x39a813(0x333)][_0x39a813(0x588)](_0x5f57df,{'body':_0x51317e});}async[_0x5f56c6(0x557)](_0x26170f){const _0x1f0664=_0x5f56c6,_0x2d12ce=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1f0664(0x333)]['post'](_0x2d12ce,{'body':_0x26170f});}async['listCollaborators'](_0x1a975d){const _0x3197e6=_0x5f56c6,_0x3167ac=this[_0x3197e6(0x266)]()+_0x3197e6(0x46a);return(await this[_0x3197e6(0x333)][_0x3197e6(0x44d)](_0x3167ac,{'params':{'objectID':_0x1a975d[_0x3197e6(0x26b)],'unitID':_0x1a975d[_0x3197e6(0x586)]}}))[_0x3197e6(0x4be)][_0x3197e6(0x1f6)];}async[_0x5f56c6(0x382)](_0x41eecd){const _0x20f47e=_0x5f56c6,_0x3849fc=this[_0x20f47e(0x266)]()+_0x20f47e(0x46a);await this[_0x20f47e(0x333)][_0x20f47e(0x490)](_0x3849fc,{'body':_0x41eecd});}},_0x4fdbaf[_0x5f56c6(0x162)]=_0x30ca2b([_0x34fc86(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627['HTTPService'])),_0x34fc86(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['IConfigService']))],_0x4fdbaf[_0x5f56c6(0x162)]);var _0x339687=Object[_0x5f56c6(0x17a)],_0x31f7d8=Object[_0x5f56c6(0x47e)],_0x4e6024=(_0x2d8ac1,_0x3b7f7a,_0x2ce98e,_0x572522)=>{const _0x60e039=_0x5f56c6;for(var _0xcb9f8e=_0x572522>0x1?void 0x0:_0x572522?_0x31f7d8(_0x3b7f7a,_0x2ce98e):_0x3b7f7a,_0x35d259=_0x2d8ac1[_0x60e039(0x47d)]-0x1,_0x44ac68;_0x35d259>=0x0;_0x35d259--)(_0x44ac68=_0x2d8ac1[_0x35d259])&&(_0xcb9f8e=(_0x572522?_0x44ac68(_0x3b7f7a,_0x2ce98e,_0xcb9f8e):_0x44ac68(_0xcb9f8e))||_0xcb9f8e);return _0x572522&&_0xcb9f8e&&_0x339687(_0x3b7f7a,_0x2ce98e,_0xcb9f8e),_0xcb9f8e;},_0x4d3257=(_0x1c52ab,_0x4e5ed3)=>(_0x1db35b,_0x1fb4d8)=>_0x4e5ed3(_0x1db35b,_0x1fb4d8,_0x1c52ab);let _0xdcde98=class{constructor(_0xb8b765){const _0x2a4d52=_0x5f56c6;this['_httpService']=_0xb8b765,this[_0x2a4d52(0x575)]();}['_initRequestHeader'](){const _0x1a47b2=_0x5f56c6;this[_0x1a47b2(0x46b)]['registerHTTPInterceptor']({'interceptor':(_0x4d68c1,_0x24db34)=>{const _0x34e128=_0x1a47b2,_0x258df4=_0x4d68c1[_0x34e128(0x25f)],_0x5e9673=_0x4b1b03[_0x34e128(0x4eb)]();return _0x5e9673&&_0x258df4[_0x34e128(0x4f1)](_0x34e128(0x34c),_0x5e9673),_0x24db34(_0x4d68c1);}});}};_0xdcde98=_0x4e6024([_0x4d3257(0x0,_0x29630e['Inject'](_0x1f6627[_0x5f56c6(0x195)]))],_0xdcde98);var _0x2889c5=Object[_0x5f56c6(0x17a)],_0x3dec4c=Object['getOwnPropertyDescriptor'],_0x2082c1=(_0x19aadb,_0x4dfcee,_0x577c37,_0x13d086)=>{const _0x10a1c4=_0x5f56c6;for(var _0x186d0b=_0x13d086>0x1?void 0x0:_0x13d086?_0x3dec4c(_0x4dfcee,_0x577c37):_0x4dfcee,_0x4eadb5=_0x19aadb[_0x10a1c4(0x47d)]-0x1,_0x473dfc;_0x4eadb5>=0x0;_0x4eadb5--)(_0x473dfc=_0x19aadb[_0x4eadb5])&&(_0x186d0b=(_0x13d086?_0x473dfc(_0x4dfcee,_0x577c37,_0x186d0b):_0x473dfc(_0x186d0b))||_0x186d0b);return _0x13d086&&_0x186d0b&&_0x2889c5(_0x4dfcee,_0x577c37,_0x186d0b),_0x186d0b;},_0x55d5e2=(_0x4d55c8,_0x46027c)=>(_0x166d6f,_0xc23705)=>_0x46027c(_0x166d6f,_0xc23705,_0x4d55c8);const _0x3be6d0=[_0x5f56c6(0x37d),_0x5f56c6(0x1ec),'image/jpg','image/gif',_0x5f56c6(0x367)],_0x2a3cf6=0x5*0x400*0x400,_0x2e3790=_0x5f56c6(0x403),_0x4dfb3c='/universer-api/stream/file/upload',_0x494dbf=_0x5f56c6(0x1ac),_0x29682e='/universer-api/file/{fileID}/sign-url';_0x4fdbaf['ImageIoService']=class{constructor(_0x11949e,_0x2f8410,_0x4befad){const _0x5f41f5=_0x5f56c6;_0x48f470(this,_0x5f41f5(0x22a),0x0),_0x48f470(this,_0x5f41f5(0x376),new _0x17e48c[(_0x5f41f5(0x3be))]()),_0x48f470(this,_0x5f41f5(0x218),this['_change$']),_0x48f470(this,_0x5f41f5(0x258),new Map()),(this[_0x5f41f5(0x46b)]=_0x11949e,this[_0x5f41f5(0x4e8)]=_0x2f8410,this['_univerInstanceService']=_0x4befad);}[_0x5f56c6(0x488)](_0x4ac521){const _0x545205=_0x5f56c6;this['_waitCount']=_0x4ac521,this[_0x545205(0x376)][_0x545205(0x17b)](_0x4ac521);}[_0x5f56c6(0x489)](_0x5c5f97,_0x200a76){const _0xb01518=_0x5f56c6;if(_0x200a76===_0x97788b[_0xb01518(0x1fb)][_0xb01518(0x572)]){const _0x11aede=new Image();return _0x11aede[_0xb01518(0x3d0)]=_0x5c5f97,_0x11aede;}return this[_0xb01518(0x258)][_0xb01518(0x44d)](_0x5c5f97);}[_0x5f56c6(0x35c)](_0x32f7f8,_0x1fcbc0,_0x23778e){const _0x483191=_0x5f56c6;_0x1fcbc0===_0x97788b[_0x483191(0x1fb)][_0x483191(0x572)]||_0x23778e==null||this[_0x483191(0x258)][_0x483191(0x4f1)](_0x32f7f8,_0x23778e);}async[_0x5f56c6(0x1b2)](_0x485e0a){const _0xe57087=_0x5f56c6;try{const _0x2eb2c6=this['_replaceFileID'](this['_getSignURL'](),''+_0x485e0a),_0x5da6d1=(await this[_0xe57087(0x46b)][_0xe57087(0x44d)](_0x2eb2c6))[_0xe57087(0x4be)];if(_0x5da6d1[_0xe57087(0x1fe)]&&_0x5da6d1[_0xe57087(0x1fe)][_0xe57087(0x513)]===_0x5c7736['OK']){const _0x54bd9b=new URL(_0x5da6d1[_0xe57087(0x3b2)],this[_0xe57087(0x4f6)]())['toString']();return Promise[_0xe57087(0x1ce)](_0x54bd9b);}return Promise['reject'](_0x5da6d1[_0xe57087(0x1fe)]);}catch(_0x14d381){return Promise[_0xe57087(0x2f5)](_0x14d381);}}async[_0x5f56c6(0x439)](_0x1aad0c){const _0x3d21b4=_0x5f56c6;let _0x438447='';if(!_0x3be6d0[_0x3d21b4(0x3ba)](_0x1aad0c[_0x3d21b4(0x566)]))return this[_0x3d21b4(0x2f0)](),Promise[_0x3d21b4(0x2f5)](new Error(_0x97788b['ImageUploadStatusType'][_0x3d21b4(0x3f6)]));if(_0x1aad0c[_0x3d21b4(0x4b5)]>_0x2a3cf6)return this[_0x3d21b4(0x2f0)](),Promise[_0x3d21b4(0x2f5)](new Error(_0x97788b[_0x3d21b4(0x27d)]['ERROR_EXCEED_SIZE']));try{const _0x476512=new FormData();_0x476512[_0x3d21b4(0x3dd)]('file',_0x1aad0c);const _0x3059a8=this[_0x3d21b4(0x434)]['getFocusedUnit'](),_0x19cc3f=_0x3059a8==null?void 0x0:_0x3059a8[_0x3d21b4(0x1a2)]();if(!_0x19cc3f)throw new Error(_0x3d21b4(0x3d7));const _0xe8074f=this[_0x3d21b4(0x293)]()+_0x3d21b4(0x4fc)+_0x1aad0c[_0x3d21b4(0x4b5)]['toString']()+'&source='+_0x26c986['UnitEmbedded']+_0x3d21b4(0x283)+encodeURIComponent(_0x19cc3f),_0x3c12ec=await(await fetch(_0xe8074f,{'method':_0x3d21b4(0x43f),'body':_0x476512}))[_0x3d21b4(0x42d)]();if(typeof _0x3c12ec['FileId']!=_0x3d21b4(0x556))return this[_0x3d21b4(0x2f0)](),Promise['reject'](new Error(_0x97788b[_0x3d21b4(0x27d)][_0x3d21b4(0x321)]));_0x438447=_0x3c12ec[_0x3d21b4(0x49a)];}catch{return this[_0x3d21b4(0x2f0)](),Promise[_0x3d21b4(0x2f5)](new Error(_0x97788b['ImageUploadStatusType'][_0x3d21b4(0x321)]));}return new Promise((_0x370565,_0x50b0ee)=>{const _0xbdfe6e=new FileReader();_0xbdfe6e['readAsDataURL'](_0x1aad0c),_0xbdfe6e['onload']=_0x2ff745=>{const _0x56c14f=_0xe8fd;var _0x166aff;const _0x43a5ca=(_0x166aff=_0x2ff745[_0x56c14f(0x337)])==null?void 0x0:_0x166aff[_0x56c14f(0x240)];if(_0x43a5ca==null){this['_decreaseWaiting'](),_0x50b0ee(new Error(_0x97788b['ImageUploadStatusType'][_0x56c14f(0x321)]));return;}const _0x226107=_0x29630e[_0x56c14f(0x4a1)][_0x56c14f(0x2d5)](0x6);_0x370565({'imageId':_0x226107,'imageSourceType':_0x97788b[_0x56c14f(0x1fb)][_0x56c14f(0x4cc)],'source':_0x438447,'base64Cache':_0x43a5ca,'status':_0x97788b[_0x56c14f(0x27d)][_0x56c14f(0x51a)]}),this[_0x56c14f(0x2f0)]();};});}[_0x5f56c6(0x293)](){const _0x19180a=_0x5f56c6;var _0x1e493e,_0xe28360;const _0x29e94f=this[_0x19180a(0x4e8)]['getConfig'](_0x2e3790),_0x3d8627=this['_configService']['getConfig'](_0x1573c4);return(_0xe28360=(_0x1e493e=_0x3d8627==null?void 0x0:_0x3d8627['uploadFileServerUrl'])!=null?_0x1e493e:_0x29e94f)!=null?_0xe28360:_0x4dfb3c;}[_0x5f56c6(0x32e)](){const _0x2b899b=_0x5f56c6;var _0x48d933,_0x20a601;const _0x386f3e=this[_0x2b899b(0x4e8)][_0x2b899b(0x1e0)](_0x494dbf),_0x2b325a=this['_configService'][_0x2b899b(0x1e0)](_0x1573c4);return(_0x20a601=(_0x48d933=_0x2b325a==null?void 0x0:_0x2b325a[_0x2b899b(0x431)])!=null?_0x48d933:_0x386f3e)!=null?_0x20a601:_0x29682e;}[_0x5f56c6(0x4f6)](){const _0x3fc191=_0x5f56c6;var _0x597d46;const _0x548d2c=this['_configService'][_0x3fc191(0x1e0)](_0x1573c4);return(_0x597d46=_0x548d2c==null?void 0x0:_0x548d2c[_0x3fc191(0x234)])!=null?_0x597d46:location[_0x3fc191(0x358)];}[_0x5f56c6(0x16f)](_0x544f56,_0x5c6b25){const _0x58c96b=_0x5f56c6;return _0x544f56['replace'](_0x58c96b(0x536),_0x5c6b25);}[_0x5f56c6(0x2f0)](){const _0x2ec0c5=_0x5f56c6;this[_0x2ec0c5(0x22a)]-=0x1,this[_0x2ec0c5(0x376)][_0x2ec0c5(0x17b)](this[_0x2ec0c5(0x22a)]);}},_0x4fdbaf[_0x5f56c6(0x525)]=_0x2082c1([_0x55d5e2(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627[_0x5f56c6(0x195)])),_0x55d5e2(0x1,_0x29630e['IConfigService']),_0x55d5e2(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['IUniverInstanceService']))],_0x4fdbaf[_0x5f56c6(0x525)]);var _0x419a39=Object[_0x5f56c6(0x17a)],_0x41213f=Object[_0x5f56c6(0x47e)],_0x2271ce=(_0xe5acc4,_0x297928,_0x4029b1,_0x2092c9)=>{const _0x3884ba=_0x5f56c6;for(var _0x479bb2=_0x2092c9>0x1?void 0x0:_0x2092c9?_0x41213f(_0x297928,_0x4029b1):_0x297928,_0x41b9e9=_0xe5acc4[_0x3884ba(0x47d)]-0x1,_0x590eaf;_0x41b9e9>=0x0;_0x41b9e9--)(_0x590eaf=_0xe5acc4[_0x41b9e9])&&(_0x479bb2=(_0x2092c9?_0x590eaf(_0x297928,_0x4029b1,_0x479bb2):_0x590eaf(_0x479bb2))||_0x479bb2);return _0x2092c9&&_0x479bb2&&_0x419a39(_0x297928,_0x4029b1,_0x479bb2),_0x479bb2;},_0x5c6734=(_0xc56eac,_0x5cc861)=>(_0x91d124,_0x283ae8)=>_0x5cc861(_0x91d124,_0x283ae8,_0xc56eac);let _0x36dcd5=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x4c5634,_0x3adadc,_0x25db72,_0x486ed3,_0x373644){const _0x44d52e=_0x5f56c6;super(),this[_0x44d52e(0x3cf)]=_0x4c5634,this['_univerInstanceService']=_0x3adadc,this['_permissionService']=_0x25db72,this[_0x44d52e(0x402)]=_0x486ed3,this[_0x44d52e(0x375)]=_0x373644,this[_0x44d52e(0x23b)](),this[_0x44d52e(0x35d)]();}[_0x5f56c6(0x35d)](){const _0x5c5406=_0x5f56c6,_0x1304c9=async _0x275469=>{const _0x4d9e5f=_0xe8fd;(await this[_0x4d9e5f(0x402)]['requireSession'](_0x275469))[_0x4d9e5f(0x574)][_0x4d9e5f(0x300)](_0x56098d[_0x4d9e5f(0x324)](_0x5b42b5=>_0x5b42b5[_0x4d9e5f(0x256)]===_0x2a6d3d[_0x4d9e5f(0x56e)][_0x4d9e5f(0x34b)]),_0x56098d['takeUntil'](this[_0x4d9e5f(0x3ce)]))[_0x4d9e5f(0x18a)](_0x31de53=>{const _0x2ef08c=_0x4d9e5f,_0x54f3ce=_0x31de53,{reason:_0x108ddf}=_0x54f3ce[_0x2ef08c(0x54c)];this[_0x2ef08c(0x3cf)][_0x2ef08c(0x44d)](_0x279664[_0x2ef08c(0x24d)])[_0x2ef08c(0x2e8)]({'type':_0x2d4ff4[_0x2ef08c(0x2c7)][_0x2ef08c(0x27c)],'content':this[_0x2ef08c(0x375)]['t'](_0x2ef08c(0x411))+'('+_0x108ddf+')'}),this[_0x2ef08c(0x495)][_0x2ef08c(0x48a)](new _0x5decb0['WorkbookEditablePermission'](_0x275469)['id'],!0x1),this[_0x2ef08c(0x402)][_0x2ef08c(0x43e)](_0x275469);});};_0x17e48c['merge'](this[_0x5c5406(0x434)][_0x5c5406(0x3dc)](_0x29630e[_0x5c5406(0x438)]['UNIVER_SHEET']),this[_0x5c5406(0x434)][_0x5c5406(0x3dc)](_0x29630e['UniverInstanceType'][_0x5c5406(0x540)]))['pipe'](_0x56098d[_0x5c5406(0x239)](_0x258fd3=>_0x258fd3[_0x5c5406(0x1a2)]()),_0x56098d[_0x5c5406(0x324)](_0x3a5b9b=>!_0x29630e[_0x5c5406(0x401)](_0x3a5b9b)),_0x56098d[_0x5c5406(0x47a)](this['dispose$']))[_0x5c5406(0x18a)](_0x19f9c2=>{_0x1304c9(_0x19f9c2);});}[_0x5f56c6(0x23b)](){const _0x2ec750=_0x5f56c6,_0x58044b=async _0x4c0d76=>{const _0x4699d4=_0xe8fd;(await this[_0x4699d4(0x402)][_0x4699d4(0x494)](_0x4c0d76))[_0x4699d4(0x574)][_0x4699d4(0x300)](_0x56098d[_0x4699d4(0x324)](_0x3fb3d2=>_0x3fb3d2[_0x4699d4(0x256)]===_0x2a6d3d[_0x4699d4(0x56e)]['UPDATE_PERMISSION_OBJ']),_0x56098d[_0x4699d4(0x47a)](this['dispose$']))['subscribe'](_0x2bffe0=>{const _0x538778=_0x4699d4,_0x3a28f2=_0x2bffe0,{objectId:_0x1e3119}=_0x3a28f2[_0x538778(0x54c)],_0x5e7d9d=this['_injector']['get'](_0x30e2ba[_0x538778(0x170)]);_0x1e3119===_0x4c0d76?_0x5e7d9d[_0x538778(0x298)](_0x4c0d76):_0x5e7d9d['refreshPermission'](_0x4c0d76,_0x1e3119);});};_0x17e48c['merge'](this[_0x2ec750(0x434)][_0x2ec750(0x3dc)](_0x29630e['UniverInstanceType'][_0x2ec750(0x4b4)]),this[_0x2ec750(0x434)][_0x2ec750(0x3dc)](_0x29630e[_0x2ec750(0x438)][_0x2ec750(0x540)]))['pipe'](_0x56098d[_0x2ec750(0x239)](_0x31b5e7=>_0x31b5e7[_0x2ec750(0x1a2)]()),_0x56098d[_0x2ec750(0x324)](_0x211fbb=>!_0x29630e['isInternalEditorID'](_0x211fbb)),_0x56098d[_0x2ec750(0x47a)](this[_0x2ec750(0x3ce)]))['subscribe'](_0x157633=>{_0x58044b(_0x157633);});}};_0x36dcd5=_0x2271ce([_0x5c6734(0x0,_0x29630e['Inject'](_0x29630e['Injector'])),_0x5c6734(0x1,_0x29630e[_0x5f56c6(0x441)]),_0x5c6734(0x2,_0x29630e[_0x5f56c6(0x1b0)]),_0x5c6734(0x3,_0x29630e['Inject'](_0x4fdbaf[_0x5f56c6(0x580)])),_0x5c6734(0x4,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x285)]))],_0x36dcd5);var _0x51515f=Object[_0x5f56c6(0x17a)],_0x295efb=Object[_0x5f56c6(0x47e)],_0x2239ab=(_0x1c77ed,_0x113f0a,_0x4ae73a,_0x13939c)=>{const _0x2483fc=_0x5f56c6;for(var _0x26c43d=_0x13939c>0x1?void 0x0:_0x13939c?_0x295efb(_0x113f0a,_0x4ae73a):_0x113f0a,_0x146677=_0x1c77ed[_0x2483fc(0x47d)]-0x1,_0x2e3c0a;_0x146677>=0x0;_0x146677--)(_0x2e3c0a=_0x1c77ed[_0x146677])&&(_0x26c43d=(_0x13939c?_0x2e3c0a(_0x113f0a,_0x4ae73a,_0x26c43d):_0x2e3c0a(_0x26c43d))||_0x26c43d);return _0x13939c&&_0x26c43d&&_0x51515f(_0x113f0a,_0x4ae73a,_0x26c43d),_0x26c43d;},_0x59f169=(_0x2a951c,_0xf293ff)=>(_0x547864,_0x3c5085)=>_0xf293ff(_0x547864,_0x3c5085,_0x2a951c);_0x4fdbaf[_0x5f56c6(0x308)]=class{constructor(_0x48a849,_0xcc0906){const _0x10342a=_0x5f56c6;this[_0x10342a(0x4e8)]=_0x48a849,this[_0x10342a(0x46b)]=_0xcc0906;}async[_0x5f56c6(0x334)](_0x963398,_0x453d15){const _0x54dcb5=_0x5f56c6;var _0x3d2369;const {unitID:_0x1ebbaa,type:_0x3cb74a,revision:_0x25490c=0x0}=_0x453d15,_0x7151e1=this[_0x54dcb5(0x446)]()+'/'+_0x3cb74a+_0x54dcb5(0x1a6)+_0x1ebbaa+_0x54dcb5(0x444)+_0x25490c,_0x3f0cac=(await this[_0x54dcb5(0x46b)][_0x54dcb5(0x44d)](_0x7151e1))[_0x54dcb5(0x4be)],_0x18009d=(_0x3d2369=_0x3f0cac['snapshot'])==null?void 0x0:_0x3d2369[_0x54dcb5(0x157)];if(_0x18009d){const _0x23c402=_0x18009d==null?void 0x0:_0x18009d[_0x54dcb5(0x54f)],_0x4cb98a=_0x2a6d3d[_0x54dcb5(0x46d)][_0x54dcb5(0x26e)](_0x2a6d3d[_0x54dcb5(0x516)](_0x23c402));_0x18009d[_0x54dcb5(0x54f)]=_0x4cb98a,Object[_0x54dcb5(0x35e)](_0x18009d['sheets'])[_0x54dcb5(0x57d)](([,_0x3b017b])=>{const _0x5bd9cb=_0x54dcb5,_0x4e0df9=_0x3b017b[_0x5bd9cb(0x54f)],_0x232533=_0x2a6d3d[_0x5bd9cb(0x46d)][_0x5bd9cb(0x26e)](_0x2a6d3d[_0x5bd9cb(0x516)](_0x4e0df9));_0x3b017b['originalMeta']=_0x232533;});}return _0x3f0cac;}async['getSheetBlock'](_0x28c8c5,_0xd659a5){const _0x278ef0=_0x5f56c6,{unitID:_0x55372f,type:_0x380c53,blockID:_0x1a411f}=_0xd659a5,_0x23ee7b=this[_0x278ef0(0x4c2)]()+'/'+_0x380c53+'/unit/'+_0x55372f+_0x278ef0(0x41c)+_0x1a411f;return(await this[_0x278ef0(0x46b)][_0x278ef0(0x44d)](_0x23ee7b))[_0x278ef0(0x4be)];}async[_0x5f56c6(0x22c)](_0x549718,_0x2478e6){const _0x14e8e6=_0x5f56c6,{unitID:_0x567ce3,type:_0x566a6a,blockID:_0x403ecb}=_0x2478e6,_0x2eb323=this[_0x14e8e6(0x4c2)]()+'/block/'+_0x566a6a+_0x14e8e6(0x1a6)+_0x567ce3+_0x14e8e6(0x41c)+_0x403ecb;return(await this['_httpService'][_0x14e8e6(0x44d)](_0x2eb323))[_0x14e8e6(0x4be)];}async['fetchMissingChangesets'](_0x1fd6ea,_0x4b2131){const _0x57edd0=_0x5f56c6,{unitID:_0x2a4a02,type:_0x3a4c78,from:_0x22c32c,to:_0x574066}=_0x4b2131,_0x1ef95f=this['_getAPIPrefix']()+'/'+_0x3a4c78+_0x57edd0(0x1a6)+_0x2a4a02+_0x57edd0(0x462)+_0x22c32c+'&to='+_0x574066;return(await this[_0x57edd0(0x46b)][_0x57edd0(0x44d)](_0x1ef95f))[_0x57edd0(0x4be)];}[_0x5f56c6(0x446)](){const _0x36bb0a=_0x5f56c6;var _0x4a7c09;return(_0x4a7c09=this[_0x36bb0a(0x4e8)]['getConfig'](_0x5242a1))!=null?_0x4a7c09:this[_0x36bb0a(0x4c2)]();}[_0x5f56c6(0x4c2)](){const _0x36a878=_0x5f56c6;var _0xde7b11,_0x2c44c2;const _0x38b7fe=this['_configService']['getConfig'](_0x93d6f0),_0x2e85f5=this['_configService'][_0x36a878(0x1e0)](_0x1573c4);return(_0x2c44c2=(_0xde7b11=_0x2e85f5==null?void 0x0:_0x2e85f5[_0x36a878(0x43d)])!=null?_0xde7b11:_0x38b7fe)!=null?_0x2c44c2:_0x46da86;}async[_0x5f56c6(0x223)](_0xd1bea2,_0x26625c){const _0x10ee9b=_0x5f56c6,_0x4aeb46=_0x10ee9b(0x569)+_0x26625c[_0x10ee9b(0x566)]+_0x10ee9b(0x1a6)+_0x26625c[_0x10ee9b(0x586)]+_0x10ee9b(0x248);return(await this[_0x10ee9b(0x46b)][_0x10ee9b(0x44d)](_0x4aeb46,{'params':{'resourceId':JSON[_0x10ee9b(0x4a4)](_0x26625c['resourceIDs'])}}))[_0x10ee9b(0x4be)];}[_0x5f56c6(0x316)](){const _0x5c0208=_0x5f56c6;throw new Error(_0x5c0208(0x3bd));}[_0x5f56c6(0x50d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5f56c6(0x49d)](){const _0xd3d8a7=_0x5f56c6;throw new Error(_0xd3d8a7(0x3bd));}[_0x5f56c6(0x303)](){const _0x47dfec=_0x5f56c6;throw new Error(_0x47dfec(0x3bd));}[_0x5f56c6(0x20e)](){const _0x302aab=_0x5f56c6;throw new Error(_0x302aab(0x3bd));}},_0x4fdbaf['SnapshotServerOverHTTPService']=_0x2239ab([_0x59f169(0x0,_0x29630e[_0x5f56c6(0x34d)]),_0x59f169(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627['HTTPService']))],_0x4fdbaf[_0x5f56c6(0x308)]);var _0x30ed9c=Object[_0x5f56c6(0x17a)],_0x4399cb=Object[_0x5f56c6(0x47e)],_0x53fde3=(_0x353941,_0x408319,_0x1258de,_0x180444)=>{const _0x1aa7b8=_0x5f56c6;for(var _0x5346e1=_0x180444>0x1?void 0x0:_0x180444?_0x4399cb(_0x408319,_0x1258de):_0x408319,_0x375bf8=_0x353941[_0x1aa7b8(0x47d)]-0x1,_0x34fbb0;_0x375bf8>=0x0;_0x375bf8--)(_0x34fbb0=_0x353941[_0x375bf8])&&(_0x5346e1=(_0x180444?_0x34fbb0(_0x408319,_0x1258de,_0x5346e1):_0x34fbb0(_0x5346e1))||_0x5346e1);return _0x180444&&_0x5346e1&&_0x30ed9c(_0x408319,_0x1258de,_0x5346e1),_0x5346e1;},_0x180e4d=(_0x43d417,_0x1337b9)=>(_0x29ca07,_0x1274de)=>_0x1337b9(_0x29ca07,_0x1274de,_0x43d417);let _0x5eb668=class extends _0x29630e[_0x5f56c6(0x465)]{constructor(_0x1e6570,_0x4dc58f,_0x3bb150,_0xabdb2,_0x262f59){const _0x4b3154=_0x5f56c6;super(_0x1e6570,_0x4dc58f,_0x3bb150),this[_0x4b3154(0x4ab)]=_0xabdb2,this['_logService']=_0x262f59;}['transformUndoRedo'](_0x2f6419,_0x4654cd){const _0x1c83b2=_0x5f56c6,_0x445cf3=this[_0x1c83b2(0x2d9)](_0x2f6419);if(_0x445cf3)try{const _0x210248=this[_0x1c83b2(0x4cd)](_0x445cf3,_0x4654cd);this[_0x1c83b2(0x386)](_0x2f6419,_0x210248);}catch(_0x477013){this[_0x1c83b2(0x3ac)][_0x1c83b2(0x1fe)](_0x1c83b2(0x414),_0x477013),this['_clearUndo'](_0x2f6419);}const _0x260a46=this[_0x1c83b2(0x4fe)](_0x2f6419);if(_0x260a46)try{const _0x52e65f=this[_0x1c83b2(0x4cd)](_0x260a46,_0x4654cd);this[_0x1c83b2(0x2a6)](_0x2f6419,_0x52e65f);}catch(_0x217fc0){this['_logService'][_0x1c83b2(0x1fe)](_0x217fc0),this[_0x1c83b2(0x3d9)](_0x2f6419);}}[_0x5f56c6(0x2a1)](_0x33cbee){const _0x3f0022=_0x5f56c6,_0x17a556=this['_getUndoStack'](_0x33cbee);_0x17a556&&(_0x17a556[_0x3f0022(0x47d)]=0x0,this[_0x3f0022(0x274)]());}['_clearRedo'](_0x225e5d){const _0x43433b=_0x5f56c6,_0x47dc50=this[_0x43433b(0x4fe)](_0x225e5d);_0x47dc50&&(_0x47dc50[_0x43433b(0x47d)]=0x0,this[_0x43433b(0x274)]());}['_substituteUndoStack'](_0x55c3d0,_0x4b3c01){const _0x213db3=_0x5f56c6;this[_0x213db3(0x161)][_0x213db3(0x4f1)](_0x55c3d0,_0x4b3c01),this['_updateStatus']();}[_0x5f56c6(0x2a6)](_0x448a58,_0x229fb3){const _0x4212e9=_0x5f56c6;this[_0x4212e9(0x255)][_0x4212e9(0x4f1)](_0x448a58,_0x229fb3),this[_0x4212e9(0x274)]();}[_0x5f56c6(0x4cd)](_0x2c8c17,_0x149b85){const _0x525290=_0x5f56c6,_0x4426db=[];let _0xdf2163=_0x149b85,_0x197817=_0x149b85;for(let _0x1f0d26=_0x2c8c17[_0x525290(0x47d)]-0x1;_0x1f0d26>=0x0;_0x1f0d26--){const {unitID:_0x62c5cc,undoMutations:_0x4ebdb0,redoMutations:_0x1d6d8f}=_0x2c8c17[_0x1f0d26],_0x2123ae=this[_0x525290(0x4ab)]['transformMutationsWithChangeset'](_0xdf2163,_0x4ebdb0),_0x351356=this['_transformService']['transformMutationsWithChangeset'](_0x197817,_0x1d6d8f);if(_0x2a6d3d['isTransformMutationsWithChangesetFailure'](_0x2123ae)||_0x2a6d3d[_0x525290(0x54e)](_0x351356)){this['_logService'][_0x525290(0x1fe)](_0x525290(0x414),_0x525290(0x426),_0x2123ae,_0x351356);break;}_0xdf2163=_0x2123ae[_0x525290(0x33c)],_0x197817=_0x351356[_0x525290(0x33c)],_0x4426db[_0x525290(0x476)]({'unitID':_0x62c5cc,'undoMutations':_0x2123ae[_0x525290(0x3fc)],'redoMutations':_0x351356[_0x525290(0x3fc)]});}return _0x4426db['reverse']();}};_0x5eb668=_0x53fde3([_0x180e4d(0x0,_0x29630e[_0x5f56c6(0x441)]),_0x180e4d(0x1,_0x29630e[_0x5f56c6(0x1a4)]),_0x180e4d(0x2,_0x29630e[_0x5f56c6(0x3a4)]),_0x180e4d(0x3,_0x2a6d3d[_0x5f56c6(0x172)]),_0x180e4d(0x4,_0x29630e[_0x5f56c6(0x478)])],_0x5eb668);class _0xf6fcab extends _0x29630e[_0x5f56c6(0x213)]{constructor(){const _0x13a599=_0x5f56c6;super(),_0x48f470(this,_0x13a599(0x2b4)),this[_0x13a599(0x2b4)]=_0x17e48c[_0x13a599(0x18b)](window,'popstate')[_0x13a599(0x300)](_0x17e48c[_0x13a599(0x47a)](this[_0x13a599(0x3ce)]),_0x17e48c[_0x13a599(0x395)](0x1),_0x17e48c[_0x13a599(0x1c2)](void 0x0));}['setParam'](_0x1f8628,_0x1dc459,_0x1a4082=!0x1){const _0x1f2f02=_0x5f56c6,_0x3e94ca=new URL(window[_0x1f2f02(0x2db)][_0x1f2f02(0x3ab)]);_0x3e94ca['searchParams'][_0x1f2f02(0x4f1)](_0x1f8628,_0x1dc459),_0x1a4082?window[_0x1f2f02(0x2b7)]['replaceState']('','',_0x3e94ca['toString']()):window[_0x1f2f02(0x2b7)][_0x1f2f02(0x31b)]('','',_0x3e94ca[_0x1f2f02(0x468)]());}[_0x5f56c6(0x23e)](_0x2536b5,_0x47fc45=!0x1){const _0x3db9fe=_0x5f56c6,_0x9dd865=new URL(window[_0x3db9fe(0x2db)]['href']);_0x9dd865['searchParams'][_0x3db9fe(0x340)](_0x2536b5),_0x47fc45?window['history'][_0x3db9fe(0x209)]('','',_0x9dd865[_0x3db9fe(0x468)]()):window[_0x3db9fe(0x2b7)][_0x3db9fe(0x31b)]('','',_0x9dd865['toString']());}[_0x5f56c6(0x2bc)](_0x467eea){const _0x3fe256=_0x5f56c6;var _0x41e675;return(_0x41e675=new URL(window[_0x3fe256(0x2db)][_0x3fe256(0x3ab)])[_0x3fe256(0x392)][_0x3fe256(0x44d)](_0x467eea))!=null?_0x41e675:void 0x0;}}var _0x3e5268=Object[_0x5f56c6(0x17a)],_0x500936=Object['getOwnPropertyDescriptor'],_0x98753=(_0x61446,_0x54d9ad,_0x97781c)=>_0x54d9ad in _0x61446?_0x3e5268(_0x61446,_0x54d9ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x97781c}):_0x61446[_0x54d9ad]=_0x97781c,_0x26b343=(_0x14f9da,_0x2e87aa,_0x4070b3,_0x8a7cc0)=>{for(var _0x4d18e2=_0x8a7cc0>0x1?void 0x0:_0x8a7cc0?_0x500936(_0x2e87aa,_0x4070b3):_0x2e87aa,_0x23e5f7=_0x14f9da['length']-0x1,_0x14dce0;_0x23e5f7>=0x0;_0x23e5f7--)(_0x14dce0=_0x14f9da[_0x23e5f7])&&(_0x4d18e2=(_0x8a7cc0?_0x14dce0(_0x2e87aa,_0x4070b3,_0x4d18e2):_0x14dce0(_0x4d18e2))||_0x4d18e2);return _0x8a7cc0&&_0x4d18e2&&_0x3e5268(_0x2e87aa,_0x4070b3,_0x4d18e2),_0x4d18e2;},_0x28beaf=(_0x3dcd32,_0x28a3a4)=>(_0x4a7e08,_0x1a8a45)=>_0x28a3a4(_0x4a7e08,_0x1a8a45,_0x3dcd32),_0x587b46=(_0x5719b3,_0x5e41fd,_0x46de8e)=>_0x98753(_0x5719b3,_0x5e41fd+'',_0x46de8e);const _0x35f945=_0x5f56c6(0x176);_0x4fdbaf[_0x5f56c6(0x150)]=class extends _0x29630e[_0x5f56c6(0x1bc)]{constructor(_0x56d877=_0x2bff4b,_0x632a5e,_0xdbd08f,_0xab7813,_0x304dee){const _0x459354=_0x5f56c6;super(),this[_0x459354(0x181)]=_0x56d877,this[_0x459354(0x3ac)]=_0x632a5e,this[_0x459354(0x576)]=_0xdbd08f,this['_injector']=_0xab7813,this[_0x459354(0x4e8)]=_0x304dee;const {..._0x409cda}=this['_config'];this[_0x459354(0x4e8)]['setConfig'](_0x1573c4,_0x409cda);}[_0x5f56c6(0x3ae)](){const _0x492269=_0x5f56c6;this[_0x492269(0x3fa)](),this[_0x492269(0x235)]();}[_0x5f56c6(0x4c1)](){const _0x5dc7d4=_0x5f56c6;_0x29630e[_0x5dc7d4(0x4c8)](this[_0x5dc7d4(0x3cf)],[[_0x20f8f4]]);}[_0x5f56c6(0x350)](){const _0x4cb0ce=_0x5f56c6;this[_0x4cb0ce(0x3ad)]();}[_0x5f56c6(0x3fa)](){const _0x1fe96f=_0x5f56c6;var _0x1088f2,_0x3afa36,_0x18c657,_0x4c6993;this['_injector'][_0x1fe96f(0x55c)](_0x29630e[_0x1fe96f(0x394)])&&this[_0x1fe96f(0x3ac)][_0x1fe96f(0x1fe)](_0x1fe96f(0x460),_0x1fe96f(0x483));const _0x7e73f2=[[_0x29630e[_0x1fe96f(0x394)],{'useClass':_0x5eb668}],[_0x4fdbaf[_0x1fe96f(0x580)]],[_0x9c53bd],[_0x558a6e,{'useClass':_0xf6fcab}],[_0x4fdbaf[_0x1fe96f(0x2b3)]],[_0x4fdbaf[_0x1fe96f(0x1d8)]],[_0x1f6627[_0x1fe96f(0x1fd)]],[_0x300a71],[_0x1e6df8],[_0x403af6],[_0x4247e7],[_0x33b992],[_0xdcde98],[_0x4fa0d0],[_0x36dcd5],[_0x24f2a6,{'useClass':(_0x3afa36=(_0x1088f2=this[_0x1fe96f(0x181)])==null?void 0x0:_0x1088f2[_0x1fe96f(0x37c)])!=null?_0x3afa36:_0x4fdbaf['CollaborationSocketService']}],[_0x2a6d3d[_0x1fe96f(0x422)],{'useClass':_0x4fdbaf[_0x1fe96f(0x308)]}],[_0x29630e[_0x1fe96f(0x406)],{'useClass':_0x4fdbaf[_0x1fe96f(0x162)]}],[_0x97788b[_0x1fe96f(0x4dd)],{'useClass':_0x4fdbaf[_0x1fe96f(0x525)]}],[_0x4fdbaf[_0x1fe96f(0x405)]],[_0x4fdbaf[_0x1fe96f(0x38f)]],[_0x4fdbaf[_0x1fe96f(0x2e0)]],[_0x20f8f4],[_0x335c52]];(_0x18c657=this[_0x1fe96f(0x181)])!=null&&_0x18c657[_0x1fe96f(0x3d8)]&&_0x7e73f2['push']([_0x5bb5e3,{'useClass':_0x1b825f}]),_0x29630e[_0x1fe96f(0x561)](this[_0x1fe96f(0x3cf)],_0x29630e[_0x1fe96f(0x4d7)](_0x7e73f2,(_0x4c6993=this[_0x1fe96f(0x181)])==null?void 0x0:_0x4c6993[_0x1fe96f(0x475)]));}[_0x5f56c6(0x3ad)](){const _0x5aced7=_0x5f56c6;this[_0x5aced7(0x52f)](this['_renderManagerService']['registerRenderModule'](_0x29630e[_0x5aced7(0x438)][_0x5aced7(0x540)],[_0xe3da1a])),this['disposeWithMe'](this[_0x5aced7(0x576)][_0x5aced7(0x507)](_0x29630e[_0x5aced7(0x438)][_0x5aced7(0x4b4)],[_0x1abaed]));}['_initDependencies'](){const _0x3ca513=_0x5f56c6;var _0x443931,_0x4e244e;this['_injector'][_0x3ca513(0x44d)](_0x1f6627[_0x3ca513(0x195)])[_0x3ca513(0x3f1)]({'priority':0x14,'interceptor':_0x1f6627['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x443931=this[_0x3ca513(0x181)])!=null&&_0x443931[_0x3ca513(0x492)]||this[_0x3ca513(0x3cf)][_0x3ca513(0x44d)](_0x4fdbaf['LocalCacheService'])[_0x3ca513(0x167)](),(_0x4e244e=this[_0x3ca513(0x181)])!=null&&_0x4e244e['enableAuthServer']&&_0x29630e[_0x3ca513(0x4c8)](this['_injector'],[[_0x33b992]]),_0x29630e[_0x3ca513(0x4c8)](this[_0x3ca513(0x3cf)],[[_0xdcde98],[_0x335c52],[_0x4fdbaf[_0x3ca513(0x38f)]],[_0x4fdbaf[_0x3ca513(0x405)]],[_0x4fdbaf[_0x3ca513(0x2e0)]],[_0x36dcd5]]);}},_0x587b46(_0x4fdbaf[_0x5f56c6(0x150)],_0x5f56c6(0x421),_0x35f945),_0x4fdbaf[_0x5f56c6(0x150)]=_0x26b343([_0x29630e[_0x5f56c6(0x481)](_0x2a6d3d[_0x5f56c6(0x35a)],_0x1f6627['UniverNetworkPlugin']),_0x28beaf(0x1,_0x29630e[_0x5f56c6(0x478)]),_0x28beaf(0x2,_0x37c548[_0x5f56c6(0x276)]),_0x28beaf(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x28beaf(0x4,_0x29630e[_0x5f56c6(0x34d)])],_0x4fdbaf['UniverCollaborationClientPlugin']),_0x4fdbaf['AUTHZ_URL_KEY']=_0x8cedfd,_0x4fdbaf[_0x5f56c6(0x534)]=_0x513a4c,_0x4fdbaf[_0x5f56c6(0x159)]=_0x4650c3,_0x4fdbaf['CollaborationStatus']=_0x4cac76,_0x4fdbaf[_0x5f56c6(0x4f3)]=_0x4cc35e,_0x4fdbaf['CommentService']=_0x4fa0d0,_0x4fdbaf[_0x5f56c6(0x1ea)]=_0x17ca3f,_0x4fdbaf[_0x5f56c6(0x1f8)]=_0x3b0121,_0x4fdbaf[_0x5f56c6(0x570)]=_0x24f2a6,_0x4fdbaf[_0x5f56c6(0x52a)]=_0x558a6e,_0x4fdbaf[_0x5f56c6(0x366)]=_0x5831f1,_0x4fdbaf[_0x5f56c6(0x318)]=_0x550a35,_0x4fdbaf[_0x5f56c6(0x4a2)]=_0xd6482f,_0x4fdbaf[_0x5f56c6(0x57e)]=_0x467be1,_0x4fdbaf[_0x5f56c6(0x186)]=_0x93d6f0,_0x4fdbaf['SNAPSHOT_URL_KEY']=_0x5242a1,_0x4fdbaf['SessionStatus']=_0x90155,_0x4fdbaf[_0x5f56c6(0x189)]=_0x2b4d87,_0x4fdbaf[_0x5f56c6(0x26d)]=_0xf6fcab,_0x4fdbaf[_0x5f56c6(0x52d)]=_0x4377b7,_0x4fdbaf[_0x5f56c6(0x345)]=_0x14f3c4,Object[_0x5f56c6(0x17a)](_0x4fdbaf,Symbol['toStringTag'],{'value':_0x5f56c6(0x4ca)});}));function _0xe8fd(_0x1172a4,_0x13835b){const _0x4fa71c=_0x4fa7();return _0xe8fd=function(_0xe8fd7e,_0x5f349e){_0xe8fd7e=_0xe8fd7e-0x14f;let _0x540950=_0x4fa71c[_0xe8fd7e];return _0x540950;},_0xe8fd(_0x1172a4,_0x13835b);}function _0x4fa7(){const _0x4fa7ea=['beginPath','ILogService','CONFLICT','takeUntil','off-line-single','_roomMembers$','length','getOwnPropertyDescriptor','handleIRemoveCol','slice','DependentOn','[DataLoaderController]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','enableLocalCache','getUnitStatus$','collaboration-session-retry','_handleHeartbeatEvent','setWaitCount','getImageSourceCache','updatePermissionPoint','[CollaborationEntity]','\x0aAfter:\x20','_colorAssignService','use','_exhaustRemoteChangesetQueue','put','_saveTaskMap','enableOfflineEditing','LIVESHARE_FETCH_OPERATIONS','requireSession','_permissionService','SheetCollaborationEntity','SNAPSHOT_INVALID_SNAPSHOT','red300','HEARTBEAT_TIMEOUT','FileId','unshift','APPLY_DUPLICATED','saveChangeset','_changesetSessionId','action','row','Tools','RETRY_CONNECTING_MAX_COUNT_KEY','_resendTimeout','stringify','\x20in\x20_schedule.','registerRefRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleMoveRange','Rectangle','_onCursorDelete','_transformService','UNDEFINED','onCommentUpdate','randomUUID','off-line-single_clip0_910_343','_scheduleHeartbeat','docStateChange$','actions','_startDocCollabCursor','UNIVER_SHEET','size','_telemetryInfo','_handleEvent','currentColor','_rescheduleHeartbeat','removeMember','_clearLocalCache','bind','transformMutationsWithChangeset','body','labelPosition','/-/object/-/batch_allowed','onReady','_getAPIPrefix','then','_loadSheet','ONLINE','getDocRanges','0\x200\x2016\x2016','touchDependencies','exports','Module','RevisionService','UUID','_transformStack','status','UNRECOGNIZED','_startCollaboration','SetWorksheetActivateCommand','_disabled','compose','memberID','_changesetReqId','_sessionStatus$','mergeOverrideWithDependencies','SnapshotService','fill','_online','cursorInfo$','unit-cache-','IImageIoService','_showConflictNotification','_getCurrentRevision','requestParams','fetchThroughInterceptors','_revisionService','_updateState','roomMembers','currentSkeleton$','updateCursorEvent','_createHandler','_configService','hidden','_transformUndoredo','getAttachHeader','resend','awaiting_with_pending','0\x200\x2017\x2016','getAncestorScale','[CollaborationSessionService]:\x20socket\x20error','set','newValue','CollaborationStatusDisplay','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','JOIN','_getDownloadEndpointURL','UniverTelemetry','addObject','_onOffline','onRemoteRej','getCollabCursors$','?size=','_createInitialStateImpl','_getRedoStack','_getLoginPath','black','getOffsetConfig','_document','loadSheet','_queuedRemoteChangesets','_cursor','transformMutation','registerRenderModule','tag','NOT_FOUND','IBeforeCloseService','getSkeleton','collabStatus.notCollab','saveSheetBlock','Rect','1553985UlgFFC','setAlpha','_unitStatus','subUnitId','code','RegularPolygon','_socketService','b64DecodeUnicode','fromEventSubject','parseProtocolChangeset','onTransformRemoteChangesetByIMECache','SUCCUSS','onPointerMove$','CHANGESET_ACK','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSendChangesetTimeout','assignAColorForMemberID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_memberService','_startTelemetryCollaborationNewChangeset','endColumn','_sender','ImageIoService','_send','handleInsertRangeMoveRight','debounce','getInterceptPoints','IURLService','_collabCursorState$','_urlService','deserializeToCombResponse','[PendingState]:\x20received\x20acknowledgement.','disposeWithMe','handleIRemoveRow','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','_hover','COLLAB_SUBMIT_CHANGESET_URL_KEY','_onCombEvent','{fileID}','DEFAULT_FILE_NAME','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','TEXT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onRemoteAck','_onLocalMutation','univer-online-status-title','failed\x20to\x20apply\x20missed\x20changesets!','AWAITING','UNIVER_DOC','UNIVER_PROJECT','_isPermissionRej','UniverLicense','_collaborationPaused','interceptor','unitId','open$','hide','loadOfflineData','CONNECTOR_DATA_TOO_LARGE','add','data','session','isTransformMutationsWithChangesetFailure','originalMeta','encodeURIComponent','selections','MSG_FOR_ERROR','/new_changes','handleDeleteRangeMoveLeft','_initStatusListener','string','createCollaborator','_clearOtherTimers','COMMENT_UPDATE','error$','TOO_MANY_REQUESTS','has','onTransformChange$','_docTransformSelectionsService','DeleteRangeMoveUpCommandId','INGEST','registerDependencies','INotificationService','update','_instanceService','[CollaborationSessionService]','type','awaitingChangeset','synced','/universer-api/snapshot/','getUnhiddenWorksheets','/role','awaiting','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CollaborationEvent','shouldCloseConn','ICollaborationSocketService','offline','BASE64','useDependency','event$','_initRequestHeader','_renderManagerService','_scheduleCollaborationTimeoutTimer','isTransformMutationsWithChangesetSuccess','Workbook','#FFF','purple300','_stopTelemetryCollaborationNewChangeset','forEach','SEND_CHANGESET_TIMEOUT_KEY','toggleOffline','CollaborationSessionService','univer-offline','getActiveSheet','_docSyncEditingCollabCursorService','@univerjs/engine-render','_unitID','unitID','UniverCollaborationClient','patch','textRanges','_listenToOfflineEvent','getOwnPropertySymbols','DOC_RANGE_TYPE','getWorkbookSelections','[PendingState]:\x20unhandled\x20univer\x20type:\x20','path','restore','members','sid','defIds','getFocusedUnit','sessionStatus','_toggleOffline','UniverCollaborationClientPlugin','DocCollaborationEntity','_state','state','\x20to\x20','OnLineSingle','_collaborationController','workbook','_onConnectionOpen','COLLAB_WEB_SOCKET_URL_KEY','ITelemetryService','UnitSnapshot','getSheetId','SheetsSelectionsService','react','INTERNAL_ERROR','getCurrentUnitForType','_undoStacks','AuthzIoHttpService','updateCollaborator','_type','socket\x20close','UniverRpc','disableLocalCache','extend','_assignedColors','indexOf','send','FETCH_MISSING','cmd','on-line-single_clip0_910_349','_replaceFileID','SheetPermissionInitController','_docStateChangeManagerService','ITransformService','HTTPRequest','getCurrentRevOfUnit','setCurrentUser','UNIVER_COLLABORATION_CLIENT_PLUGIN','_updateURLWithCurrentState','fillRule','pending','defineProperty','next','@univerjs/rpc','CollaborationSocketService','evenodd','_onRemoteChangeset','executeCommand','_config','values','clipPath','_removeCollabCursors','clear','SNAPSHOT_SERVER_URL_KEY','UNKNOWN_CMD','Unknown\x20user','SheetCollabCursorShape','subscribe','fromEvent','setShowComponents','_handleLeaveEvent','userID','focused$','_status$','_color','RemoveRowCommandId','getUnitType','INVALID_ARGUMENT','HTTPService','setParam','_anchor','transformRemoteChangeset','_eventUnsubscribe','take','PERMISSION_REJ','_undoRedoService','prototype','setInterval','_members','objectActions','mapDocumentTypeToUniverType','getUnitId','LICENSE_EXPORT_SIZE_EXCEEDED','ICommandService','changesets','/unit/','_candidateSocket','_sheetTransformSelectionsService','YUUMI_URL_COL_OUT_OF_RANGE','column','UserManagerService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getSheetObject','FETCH_MISS','font','IPermissionService','COLLAB_SUBMIT_CHANGESET_URL','getImage','handleInsertRangeMoveDown','_acknowledgedAwaitingChangeset','EmptyMutation','Disposable','replaceTextRanges','dispose','deserializeRangeWithSheet','_joinRoom','idSuffix','Plugin','startsWith','_telemetryService','getMergeData','_clearCollaborationTimeoutTimer','UniverCore','mapTo','transformUndoRedo','now','telemetry\x20info\x20is\x20not\x20initialized','rxjs','_id','/universer-api/authz','Warning','\x20-\x20','conflict.title','defs','toDisposable','resolve','onSendChangeset','updatePermissionObjEvent','fetch_missing','HELLO','text','getItem','VIEW_MAIN','connectInjector','[PendingState]:\x20received\x20rejection.','LocalCacheService','Inject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','isTransformMutationFailure','m1Prime','ThemeService','resize','addEventListener','getConfig','transformByState','FromArray','_localStorageService','whenReady','lineTo','_onConflict','cursorInfo','MergeInterceptorFactory','_socketReady','HEARTBEAT_INTERVAL_KEY','EffectRefRangId','image/jpeg','measureText','params','_saveCache','RefRangeService','subunit','setShapeProps','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','NodePositionConvertToCursor','_executeRemoteChangeset','collaborators','clearTimeout','HEARTBEAT_TIMEOUT_KEY','_getCtorByUniverType','appendMutation','ImageSourceType','UniverUi','WebSocketService','error','_getAnchorBounding','onPointerEnter$','listRoles','_startSheetCollabCursor','fillText','IDLE','withCredentials','_localCacheService','_cursors','HttpExport','replaceState','@univerjs/telemetry','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getUndoRedoMutationParamsCache','moveTo','getLatestCsReqIdBySid','Optional','object','activeSheet$','DocIMEInputManagerService','RxDisposable','_scheduleTimestamp','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','newCsEvent','max','change$','loadDoc','UnitEmbedded','4404728sNYXIf','_name','[OfflineState]:\x20received\x20rejection.','collabCursorState$','rng','onStateChange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','incrementRevOfUnit','getResourcesRequest','_cachedData','[CollaborationSession]','top','getVpScrollXYInfoByPosToVp','VIEWPORT_KEY','PENDING','_waitCount','reconnect','getDeserializedSheetBlock','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_beforeCloseService','_updateLocalCursor','fetchMiss','/universer-api/comb','UniverSheets','AUTHZ_URL_KEY','downloadEndpointUrl','_initDependencies','UNKNOWN_CODE','_snapshotServerService','ILocalStorageService','map','setItem','_initUnitPermissionChange','save\x20fail\x20reason\x20is\x20','doc.mutation.rich-text-editing','removeParam','_sheetSkeletonManagerService','result','...','updateOfflineData','_toggleOnline','name','forwardRef','@univerjs/docs','InsertSheetMutation','/resources','collabStatus.synced','_hovered','conflict.content','collabStatus.offline','IMessageService','UniverIcon','commentUpdate$','transformSelections','unknown','ColorKit','setActiveRange','liveShareNewHost','_redoStacks','eventID','apply','_imageSourceCache','_render','icon','SUBMIT_CHANGESET','visibilityState','@univerjs/sheets','MUTATION','headers','COLORS','_notificationService','setTimeout','_drawAnchor','_cursorInfo$','current','_getAPIPrefixPath','_waitForHeartbeatResponse','merge','collabStatus.conflict','CollaborationEntity','objectID','_loadDoc','WebURLService','encode','onMissedChangesetFetched','COMPRESS_MUTATION_APPLY','collaboratorID','_onRecvEvent','[CollaborationState]:\x20apply\x20error!','_updateStatus','arc','IRenderManagerService','reqId','createElement','onTransformIME','revision','641364gFwcMy','Error','ImageUploadStatusType','_ensureSubject','COMPLETION_FINISHED','_clearHeartbeatTimer','@univerjs/docs-ui','onlineStatusTitle','&assign=','createIdentifier','LocaleService','getTime','state$','mutations','_refreshCollabCursors','univer-pro.collaboration-client.single-active-unit-service','Tooltip','engine','permission.title','split','responseType','LIVESHARE_REQUEST_HOST','TEXT_RANGE_LAYER_INDEX','_retryConnectingTimer','_getUploadFileURL','UniverNetwork','_range','getRangePointData','collab-client.tooltip.reconnect','initWorkbookPermissionChange','_remoteChangesetQueue','capture','RECV','session.room-full','runRefRangeMutations','transformIMECache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','\x0aCurrent:\x20','_clearUndo','_handler','_snapshotService','reduce','deepClone','_substituteRedoStack','_commandService','_roomMembers','[OfflineState]:\x20received\x20changeset.','_sessions','CompressMutationService','asObservable','isTransformChangesetsSuccess','_refRangeService','@univerjs/design','find','getCellPositionByOffset','objectType','MemberService','urlChange$','_updateSubUnitFromURLParams','UniverSheetsUi','history','_drawRectRange','from','_initCommandExecutedListener','collaboration_new_changeset','getParam','SYNCED','_compressMutationService','LIVESHARE_OPERATION','Univer','delay','onlyLocal','createSocket','getCurrentUser','USERS_LEAVE','on-line-single','MessageType','url(#on-line-single_clip0_910_349)','_onJoinRoomEvent','parseChangesetToProtocol','_submitChangeset','round','_transformUndoRedoStack','APPLY_PERMISSION_DENIED','permissionRejEvent','skeleton','operators','[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.','joinEvent','_entityInit$','generateRandomId','url(#off-line-single_clip0_910_343)','_docSkeletonManagerService','exhaustSavingTask','_getUndoStack','_checkMissing','location','isActive','UniverCollaboration','getUnit','jiqing500','DesktopCollaborationStatusDisplayController','none','commentUpdateEvent','_createSocket','_context','collabWebSocketUrl','concat','SheetSkeletonManagerService','show','univerjs-icon\x20univerjs-icon-','DisposableCollection','_entities','submit\x20changeset\x20error!','_hideTimer','drawWith','HttpImport','_decreaseWaiting','getRenderById','svg','_ws','UPDATE_PERMISSION_OBJ','reject','c2Prime','_getScale','getRandomValues','_onUserLeave','debug','_tryEnsureSocket','SNAPSHOT_HAS_BEEN_REMOVED','getCurrentSelections','with','APPLY_REJECT','pipe','getCollabEntity$','_incrementRevisionNumber','copyFileMeta','YUUMI_RATE_OVER_LIMIT','_sendHeartbeatTimer','CHANGESET_SHOULD_RETRY','xlink:href','SnapshotServerOverHTTPService','socket$','[FetchMissState]','OffLineSingle','getMember','batchAllowed','_http','toLowerCase','getColor','USERS_ENTER','_commentService','@univerjs/network','CommandType','_event$','saveSnapshot','some','LOGIN_URL_KEY','csShouldRetryEvent','_pendingMutations','pushState','_sendHeartbeat','4791712QClRIi','_colorIndex','transformChangesets','_anchorDot','ERROR_IMAGE','/universer-api/oidc/authpage','collaboration.single-unit.warning','filter','5356845jytHrS','handleInsertCol','UniverDesign','Vector2','confirm','save','getValue','_unlockTransition','getCurrent','_getSignURL','Undefined','routeKey','HEARTBEAT_INTERVAL','_transformIMECache','_HTTPService','getUnitOnRev','children','ranges','target','_socket$','onMissingChangesets','sendChangesetTimeout','univer-online-status','c1Prime','useObservable','_labelPosition','currentTheme$','delete','4149474dwVxSI','auth.needGotoLoginAlert','?url=','@univerjs-pro/collaboration','serializeCombRequest','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','InsertRangeMoveRightCommandId','editingUnit','unsubscribe','equals','SHOULD_CLOSE_CONN','x-univer-host','IConfigService','rgba(255,\x20255,\x20255,\x200.01)','saveOfflineData','onRendered','post','NOT_COLLAB','RETRY_CONNECTING_MAX_COUNT','_collabCursorController','UNAUTHENTICATED','distinctUntilChanged','_createInitialState','origin','sequenceExecute','UniverCollaborationPlugin','_setupSubUnitSync','addImageSourceCache','_initCloseConn','entries','AWAITING_WITH_PENDING','_initEventListeners','PERMISSION_DENIED','ReplaySubject','onlineStatusIcon','DocSkeletonManagerService','#fff','LOCAL_CACHE_INTERVAL_KEY','image/bmp','width','_shapes','15lOXdZb','_retryCount','@univerjs/ui','_draw','debounceTime','IRemoteInstanceService','ALREADY_EXISTS','translate(.97)','storage','onCommandExecuted','retryConnectingInterval','_localeService','_change$','CHANGESET_REVISION_CONFILICT','connection\x20error','_collabSessionService','toggleOnline','visibilitychange','socketService','image/png','attrs','FAIL','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cursorShapes','putCollaborators','updateMember','fillStyle','OFFLINE','_substituteUndoStack','_docTransformIMECacheService','_backgroundColor','_themeService','url(#$1','BehaviorSubject','@univerjs/drawing','LICENSE_MAX_UNITS_EXCEEDED','_shouldReportTelemetry','DataLoaderController','_textBubble','HEARTBEAT','searchParams','_selfUnitIDs','IUndoRedoService','shareReplay','_userManagerService','useRef','NodePositionConvertToRectRange','_schedule','_listenToOnlineEvent','onRemoteChangeset','message$','isPermissionRej','UniverDocsUi','_timeoutTimer','className','_awaitingChangeset','socket\x20open.','@univerjs/sheets-ui','IContextService','collab-text-anchor-','_socketMessageSubscription','_initMergeInterceptor','_onFetchMissResult','_messageService','SetSelectionsOperation','href','_logService','_registerRenderDependencies','onStarting','_scene','_onRemoteRetry','disposeUnit','url','_applyRemoteChangeset','sheetID','catch','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','symbol','pauseCollaboration','_setupBeforeClosingHandler','includes','init','_transformSelections','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Subject','contains','uni.network.url-service','flatMap','_handleJoinEvent','ENSURE_SNAPSHOT_EXECUTION','LOCAL_CACHE_INTERVAL','_initStatusComponent','Injector','onTransformSelections','CollaborationSession','random','close','unit','_fetchMissChangesets','subscribeEvent','dispose$','_injector','src','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','_singleActiveUnitService','onlineStatus','fromCollab','roomInfos','session.connection-failed','unitId\x20is\x20not\x20found','enableSingleActiveInstanceLock','_clearRedo','_transformPreviousActiveRange','concatMap','getTypeOfUnitAdded$','append','baseRev','LICENSE_DISTRO_REJECTED','sessionStatus$','_unitOnClients','SNAPSHOT_URL_KEY','COLLAB_WEB_SOCKET_URL','registerBeforeClose','LIVESHARE_NEW_HOST','_heartbeatTimer','_sendingTimer','M0\x200H16V16H0z','duration','startColumn','ACTIVE_UNIT_EVENT_CHANNEL','_disableEditing','_clearTimeoutTimer','height','_removeClearOtherTimer','_onRemoteRejected','registerHTTPInterceptor','_onConnectionFailed','APPLY_REVISION_CONFILICT','_onCursorUpdate','conflict','ERROR_IMAGE_TYPE','assign','session.collaboration-timeout','RichTextEditingMutation','_registerDependencies','parse','m2Prime','CHANGESET_REJ','getRelativeToViewportCoord','OTHER_CLIENTS_EDITING','isArray','isInternalEditorID','_collaborationSessionService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','key','CollaborationController','IAuthzIoService','getTypeOfUnitDisposed$','_resendWithTimeout','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_CURSOR','displayName','_scheduleClearOtherTimer','_handleHover','_removeRoom','div','Shape','collaboration.closeRoom','onPointerLeave$','hasOwnProperty','[CollaborationUndoRedoService]','LEAVE','editing\x20status\x20changed\x20to','_commentUpdate$','_transitionLocked','leaveEvent','getSheetBySheetId','getCoordByCell','/block/','_session','clearInterval','_socket','[OfflineState]:\x20received\x20acknowledgement.','pluginName','ISnapshotServerService','complete','call','_onRemoteACK','transformStack\x20failed!','_state$','backgroundColor','stopTime','transform','_syncEditingCollabCursorService','switchMap','json','localeService','IUIPartsService','_updateLocalCache','signUrlServerUrl','_throwTelemetryCollaborationNewChangeset','NEW_CHANGESETS','_univerInstanceService','_uiPartsService','_init','YUUMI_UNABLE_LOAD_URL','UniverInstanceType','saveImage','WorkbookEditablePermission','DocSelectionManagerService','trim','snapshotServerUrl','closeSession','POST','list','IUniverInstanceService','close$','_updateCollabCursors','/rev/','createInstance','_getSnapshotAPIPrefix','triggerDblclick','rxjs/operators','serializeRangeWithSheet','_lastPointer','closePath','_collaborationTimeoutTimer','get','_clearScheduledTask','addObjects','7dZiMPB','fetchMissingChangesets','_getSaveTimeout','LIVESHARE_TERMINATE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20received\x20rejection.','toRgbString','color','LICENSE_IMPORT_SIZE_EXCEEDED','_resendTimer','_syncEditingCollabCursor','collab-rect-range-','_onRefRangeChange','_scheduleSaving','_onMessage','59054RjXxxR','[UniverCollaborationClientPlugin]','React','/fetchmissing?from=','colorChannel1','objects','LocalUndoRedoService','@univerjs-pro/license','onMouseMove','toString','UNIVER_SLIDE','/collaborator','_httpService','status$','textEncoder','getAllMembers','onRemoteRetry','1em','_lockTransition','_tryReconnect','/allowed','getMemberID','override','push'];_0x4fa7=function(){return _0x4fa7ea;};return _0x4fa7();}