@univerjs-pro/collaboration-client 0.2.5 → 0.2.7

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 _0x45d3(_0x391e4d,_0x1502e6){const _0x22af79=_0x22af();return _0x45d3=function(_0x45d3d2,_0x30c311){_0x45d3d2=_0x45d3d2-0x7a;let _0x3d80aa=_0x22af79[_0x45d3d2];return _0x3d80aa;},_0x45d3(_0x391e4d,_0x1502e6);}(function(_0x39093a,_0x9dbea5){const _0x1bcee6=_0x45d3,_0x5779b1=_0x39093a();while(!![]){try{const _0x3f3425=-parseInt(_0x1bcee6(0x3b5))/0x1+parseInt(_0x1bcee6(0x259))/0x2+parseInt(_0x1bcee6(0x347))/0x3+parseInt(_0x1bcee6(0x1eb))/0x4*(-parseInt(_0x1bcee6(0x1ff))/0x5)+parseInt(_0x1bcee6(0x10c))/0x6+-parseInt(_0x1bcee6(0xd9))/0x7+parseInt(_0x1bcee6(0xcf))/0x8*(parseInt(_0x1bcee6(0x85))/0x9);if(_0x3f3425===_0x9dbea5)break;else _0x5779b1['push'](_0x5779b1['shift']());}catch(_0x43f8f0){_0x5779b1['push'](_0x5779b1['shift']());}}}(_0x22af,0x2259e),function(_0x31b466,_0xbe778e){const _0x146aa5=_0x45d3;typeof exports==_0x146aa5(0x1cc)&&typeof module<'u'?_0xbe778e(exports,require(_0x146aa5(0x3ca)),require('@univerjs/sheets'),require(_0x146aa5(0x25b)),require(_0x146aa5(0xa7)),require(_0x146aa5(0x205)),require('rxjs'),require('rxjs/operators'),require(_0x146aa5(0x22a)),require(_0x146aa5(0x3f7)),require(_0x146aa5(0x90)),require('@univerjs/engine-formula'),require('lodash/debounce'),require(_0x146aa5(0x436)),require('@univerjs/sheets-ui'),require('react'),require('clsx'),require(_0x146aa5(0x380))):typeof define==_0x146aa5(0x296)&&define[_0x146aa5(0xcd)]?define([_0x146aa5(0x427),_0x146aa5(0x3ca),'@univerjs/sheets',_0x146aa5(0x25b),_0x146aa5(0xa7),_0x146aa5(0x205),'rxjs',_0x146aa5(0x279),_0x146aa5(0x22a),_0x146aa5(0x3f7),_0x146aa5(0x90),_0x146aa5(0xc4),_0x146aa5(0x15e),_0x146aa5(0x436),_0x146aa5(0x369),_0x146aa5(0x412),'clsx',_0x146aa5(0x380)],_0xbe778e):(_0x31b466=typeof globalThis<'u'?globalThis:_0x31b466||self,_0xbe778e(_0x31b466['UniverCollaborationClient']={},_0x31b466[_0x146aa5(0x3eb)],_0x31b466['UniverSheets'],_0x31b466[_0x146aa5(0x1e2)],_0x31b466[_0x146aa5(0x306)],_0x31b466[_0x146aa5(0x84)],_0x31b466[_0x146aa5(0x105)],_0x31b466[_0x146aa5(0x105)][_0x146aa5(0x42e)],_0x31b466[_0x146aa5(0x37a)],_0x31b466[_0x146aa5(0x272)],_0x31b466[_0x146aa5(0x3cf)],_0x31b466['UniverEngineFormula'],_0x31b466['lodash'][_0x146aa5(0x21c)],_0x31b466[_0x146aa5(0x313)],_0x31b466['UniverSheetsUi'],_0x31b466[_0x146aa5(0x387)],_0x31b466[_0x146aa5(0x212)],_0x31b466[_0x146aa5(0x376)]));}(this,function(_0x538e2a,_0x28e235,_0x48cd6e,_0x48adea,_0x1d23ef,_0x4ecbea,_0x2820f3,_0x1086dc,_0x4e3741,_0x7b6974,_0x212652,_0x77499d,_0x51f7cc,_0x1c921f,_0x38caab,_0x188472,_0x44b7b0,_0x2602c2){'use strict';const _0x3f6827=_0x45d3;var _0x5875f5=Object[_0x3f6827(0x328)],_0x134167=(_0x502c12,_0x3d1cf4,_0x31f776)=>_0x3d1cf4 in _0x502c12?_0x5875f5(_0x502c12,_0x3d1cf4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31f776}):_0x502c12[_0x3d1cf4]=_0x31f776,_0x2b7d82=(_0x65ae7e,_0x29f0d3,_0x1c6994)=>_0x134167(_0x65ae7e,typeof _0x29f0d3!=_0x3f6827(0x113)?_0x29f0d3+'':_0x29f0d3,_0x1c6994);const _0x26cbfd='SNAPSHOT_SERVER_URL_KEY',_0x58bc58=_0x3f6827(0xa0),_0x19eb4b=_0x3f6827(0x3d3),_0x3e60d2=_0x3f6827(0x346),_0x1837a5='COLLAB_WEB_SOCKET_URL',_0x1fa7f8='ws://127.0.0.1:8000/universer-api/comb/connect',_0x5a9926='HEARTBEAT_INTERVAL',_0xedd382=_0x3f6827(0xec),_0x1bb57a=_0x3f6827(0x227),_0x3955b6=_0x3f6827(0x3ea),_0x461325=_0x3f6827(0x327),_0x49a23a=_0x3f6827(0x3b4),_0x3d0582=_0x3f6827(0x2cc),_0x4aaa4a='LOGIN_URL_KEY',_0x3d36d0='/universer-api/oidc/authpage';var _0x22d539=(_0x4d4b44=>(_0x4d4b44[_0x4d4b44[_0x3f6827(0x28f)]=0x0]=_0x3f6827(0x28f),_0x4d4b44[_0x4d4b44['OK']=0x1]='OK',_0x4d4b44[_0x4d4b44[_0x3f6827(0x2c7)]=0x2]='INTERNAL_ERROR',_0x4d4b44[_0x4d4b44[_0x3f6827(0x336)]=0x3]='PERMISSION_DENIED',_0x4d4b44[_0x4d4b44[_0x3f6827(0x214)]=0x4]=_0x3f6827(0x214),_0x4d4b44[_0x4d4b44[_0x3f6827(0x2ca)]=0x5]=_0x3f6827(0x2ca),_0x4d4b44[_0x4d4b44[_0x3f6827(0x379)]=0x6]=_0x3f6827(0x379),_0x4d4b44[_0x4d4b44[_0x3f6827(0x2f5)]=0x7]=_0x3f6827(0x2f5),_0x4d4b44[_0x4d4b44[_0x3f6827(0x229)]=0x8]='TOO_MANY_REQUESTS',_0x4d4b44[_0x4d4b44[_0x3f6827(0x13d)]=0x9]='COMPLETION_FINISHED',_0x4d4b44[_0x4d4b44[_0x3f6827(0x425)]=0x1389]=_0x3f6827(0x425),_0x4d4b44[_0x4d4b44[_0x3f6827(0x151)]=0x1771]=_0x3f6827(0x151),_0x4d4b44[_0x4d4b44[_0x3f6827(0x269)]=0x1772]=_0x3f6827(0x269),_0x4d4b44[_0x4d4b44[_0x3f6827(0x1ed)]=0x1b59]=_0x3f6827(0x1ed),_0x4d4b44[_0x4d4b44['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4d4b44[_0x4d4b44[_0x3f6827(0x101)]=0x1b5b]=_0x3f6827(0x101),_0x4d4b44[_0x4d4b44[_0x3f6827(0x3bb)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4d4b44[_0x4d4b44[_0x3f6827(0x2f6)]=0x1f41]=_0x3f6827(0x2f6),_0x4d4b44[_0x4d4b44[_0x3f6827(0xe3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4d4b44[_0x4d4b44[_0x3f6827(0x310)]=0x232a]=_0x3f6827(0x310),_0x4d4b44[_0x4d4b44[_0x3f6827(0x268)]=0x232b]=_0x3f6827(0x268),_0x4d4b44[_0x4d4b44[_0x3f6827(0x3c9)]=0x232c]=_0x3f6827(0x3c9),_0x4d4b44[_0x4d4b44['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x4d4b44[_0x4d4b44[_0x3f6827(0x440)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4d4b44[_0x4d4b44[_0x3f6827(0x333)]=0x2712]=_0x3f6827(0x333),_0x4d4b44[_0x4d4b44[_0x3f6827(0x254)]=-0x1]=_0x3f6827(0x254),_0x4d4b44))(_0x22d539||{}),_0x2dcfa8=(_0x36cece=>(_0x36cece[_0x36cece['UNIVER_UNKNOWN']=0x0]=_0x3f6827(0x3e0),_0x36cece[_0x36cece[_0x3f6827(0x372)]=0x1]=_0x3f6827(0x372),_0x36cece[_0x36cece[_0x3f6827(0x33b)]=0x2]=_0x3f6827(0x33b),_0x36cece[_0x36cece[_0x3f6827(0x169)]=0x3]=_0x3f6827(0x169),_0x36cece[_0x36cece[_0x3f6827(0x254)]=-0x1]=_0x3f6827(0x254),_0x36cece))(_0x2dcfa8||{}),_0x1ca28b=(_0x320512=>(_0x320512[_0x320512[_0x3f6827(0xe9)]=0x0]=_0x3f6827(0xe9),_0x320512[_0x320512[_0x3f6827(0x100)]=0x1]=_0x3f6827(0x100),_0x320512[_0x320512[_0x3f6827(0xb3)]=0x2]='JOIN',_0x320512[_0x320512[_0x3f6827(0x32f)]=0x3]=_0x3f6827(0x32f),_0x320512[_0x320512[_0x3f6827(0x267)]=0x4]=_0x3f6827(0x267),_0x320512[_0x320512[_0x3f6827(0x173)]=0x5]=_0x3f6827(0x173),_0x320512[_0x320512[_0x3f6827(0x411)]=0x6]=_0x3f6827(0x411),_0x320512[_0x320512['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x320512))(_0x1ca28b||{}),_0x43193c=(_0x4b63d5=>(_0x4b63d5[_0x4b63d5[_0x3f6827(0x408)]=0x0]=_0x3f6827(0x408),_0x4b63d5[_0x4b63d5['OK']=0x1]='OK',_0x4b63d5[_0x4b63d5[_0x3f6827(0xb9)]=0x2]=_0x3f6827(0xb9),_0x4b63d5[_0x4b63d5[_0x3f6827(0x254)]=-0x1]=_0x3f6827(0x254),_0x4b63d5))(_0x43193c||{}),_0x382eb0=Object[_0x3f6827(0x328)],_0x1bc43a=Object['getOwnPropertyDescriptor'],_0x27a72d=(_0x2bbb0d,_0x36854f,_0x2f71b0,_0x4074ea)=>{for(var _0x5a1422=_0x4074ea>0x1?void 0x0:_0x4074ea?_0x1bc43a(_0x36854f,_0x2f71b0):_0x36854f,_0x4d784b=_0x2bbb0d['length']-0x1,_0x55b55b;_0x4d784b>=0x0;_0x4d784b--)(_0x55b55b=_0x2bbb0d[_0x4d784b])&&(_0x5a1422=(_0x4074ea?_0x55b55b(_0x36854f,_0x2f71b0,_0x5a1422):_0x55b55b(_0x5a1422))||_0x5a1422);return _0x4074ea&&_0x5a1422&&_0x382eb0(_0x36854f,_0x2f71b0,_0x5a1422),_0x5a1422;},_0xfb77eb=(_0x4fdb05,_0x2a09fb)=>(_0x75ca9d,_0x1b70f8)=>_0x2a09fb(_0x75ca9d,_0x1b70f8,_0x4fdb05);let _0x1d7fc4=class extends _0x28e235[_0x3f6827(0x29c)]{constructor(_0x54d4dc,_0x484119){const _0x454db2=_0x3f6827;super(),_0x2b7d82(this,_0x454db2(0x3d7),new Map()),(this['_univerInstanceService']=_0x54d4dc,this[_0x454db2(0x102)]=_0x484119,this[_0x454db2(0x41b)](_0x28e235[_0x454db2(0x23e)](_0x2820f3[_0x454db2(0x33e)](this[_0x454db2(0x156)][_0x454db2(0x2e4)](_0x28e235[_0x454db2(0x3af)]['UNIVER_SHEET'])[_0x454db2(0x2ef)](_0x1086dc[_0x454db2(0x25f)](_0x1d381d=>_0x1d381d[_0x454db2(0x322)]())),this[_0x454db2(0x156)][_0x454db2(0x2e4)](_0x28e235[_0x454db2(0x3af)][_0x454db2(0x372)])['pipe'](_0x1086dc[_0x454db2(0x25f)](_0x5071c9=>_0x5071c9[_0x454db2(0x322)]())),this[_0x454db2(0x156)]['getTypeOfUnitDisposed$'](_0x28e235[_0x454db2(0x3af)][_0x454db2(0x169)])[_0x454db2(0x2ef)](_0x1086dc[_0x454db2(0x25f)](_0x3c10f8=>_0x3c10f8[_0x454db2(0x322)]())))[_0x454db2(0x3cd)](_0x50277c=>this[_0x454db2(0x344)](_0x50277c)))));}[_0x3f6827(0x25a)](_0x551d4d){const _0x4503e8=_0x3f6827;this[_0x4503e8(0x102)][_0x4503e8(0x25a)](_0x551d4d);}['getCurrentUser'](){const _0x2f156a=_0x3f6827;return this[_0x2f156a(0x102)][_0x2f156a(0x30b)]();}[_0x3f6827(0x2a2)](_0x56f07e,_0xa877f4){const _0x1c00d3=_0x3f6827;let _0x54fda9=this[_0x1c00d3(0x3d7)][_0x1c00d3(0x450)](_0x56f07e);_0x54fda9||(_0x54fda9=new _0x7d902e(),this[_0x1c00d3(0x3d7)][_0x1c00d3(0x2b2)](_0x56f07e,_0x54fda9)),_0x54fda9[_0x1c00d3(0x2a2)](_0xa877f4);}[_0x3f6827(0x303)](_0x37d953,_0x470194){const _0x469b41=_0x3f6827,_0x5a834b=this[_0x469b41(0x3d7)][_0x469b41(0x450)](_0x37d953);_0x5a834b&&_0x5a834b['removeMember'](_0x470194);}[_0x3f6827(0x187)](_0xaa3f61){const _0x51edd7=_0x3f6827;return this[_0x51edd7(0x3d7)]['get'](_0xaa3f61);}[_0x3f6827(0x86)](_0xa21215,_0xdc89b4){const _0x44c6ba=_0x3f6827,_0x41ad50=this['_roomMembers'][_0x44c6ba(0x450)](_0xa21215);if(_0x41ad50)return _0x41ad50[_0x44c6ba(0x86)](_0xdc89b4);}[_0x3f6827(0x344)](_0x286c34){const _0x1e24b3=_0x3f6827,_0x45a12c=this[_0x1e24b3(0x3d7)][_0x1e24b3(0x450)](_0x286c34);_0x45a12c&&(_0x45a12c[_0x1e24b3(0x179)](),this[_0x1e24b3(0x3d7)][_0x1e24b3(0x458)](_0x286c34));}[_0x3f6827(0x179)](){const _0x2f46ba=_0x3f6827;this[_0x2f46ba(0x3d7)][_0x2f46ba(0x384)](_0x9e529b=>_0x9e529b[_0x2f46ba(0x179)]()),this[_0x2f46ba(0x3d7)][_0x2f46ba(0x18e)]();}};_0x1d7fc4=_0x27a72d([_0xfb77eb(0x0,_0x28e235[_0x3f6827(0x19b)]),_0xfb77eb(0x1,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x40b)]))],_0x1d7fc4);class _0x7d902e extends _0x28e235[_0x3f6827(0x29c)]{constructor(){const _0x4c8848=_0x3f6827;super(...arguments),_0x2b7d82(this,_0x4c8848(0xdb),new Map());}[_0x3f6827(0x179)](){const _0x1963ea=_0x3f6827;this[_0x1963ea(0xdb)][_0x1963ea(0x18e)]();}[_0x3f6827(0x2a2)](_0x516b06){const _0x5f1043=_0x3f6827;this[_0x5f1043(0xdb)][_0x5f1043(0x2b2)](_0x516b06[_0x5f1043(0x7f)],_0x516b06);}[_0x3f6827(0x303)](_0x18f67c){const _0x272526=_0x3f6827;this[_0x272526(0xdb)][_0x272526(0x458)](_0x18f67c);}[_0x3f6827(0x86)](_0xe67c49){const _0x108a92=_0x3f6827;return this['_members'][_0x108a92(0x450)](_0xe67c49);}}function _0x59fc50(_0x22e652){const _0x2d93fe=_0x3f6827;var _0x45f75c,_0x13ab52,_0x3d778e,_0x2313ee;const _0x5e2b40=_0x22e652[_0x2d93fe(0xa5)],_0x267658=JSON['parse'](_0x5e2b40);switch(_0x267658[_0x2d93fe(0x15d)]){case _0x1ca28b[_0x2d93fe(0x173)]:case _0x1ca28b[_0x2d93fe(0x100)]:{const _0x485c62=_0x267658[_0x2d93fe(0x1d7)];return{..._0x267658,'data':_0x485c62,'cmd':_0x267658[_0x2d93fe(0x15d)]};}case _0x1ca28b[_0x2d93fe(0xb3)]:{const _0x3482c3=_0x267658['joinRsp'];return{..._0x267658,'data':_0x3482c3,'cmd':_0x267658[_0x2d93fe(0x15d)]};}case _0x1ca28b[_0x2d93fe(0x411)]:{const _0x38cb6f=_0x267658[_0x2d93fe(0x3b9)];switch(_0x38cb6f[_0x2d93fe(0x12d)]){case _0x4ecbea[_0x2d93fe(0x1e6)][_0x2d93fe(0xda)]:return{..._0x267658,'data':{..._0x38cb6f,'data':(_0x45f75c=_0x38cb6f[_0x2d93fe(0x334)])==null?void 0x0:_0x45f75c['cs']},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea['CollaborationEvent']['CHANGESET_ACK']:return{..._0x267658,'data':{..._0x38cb6f,'data':(_0x13ab52=_0x38cb6f[_0x2d93fe(0x406)])==null?void 0x0:_0x13ab52['cs']},'cmd':_0x267658['cmd']};case _0x4ecbea[_0x2d93fe(0x1e6)][_0x2d93fe(0x209)]:return{..._0x267658,'data':{..._0x38cb6f,'data':(_0x3d778e=_0x38cb6f['newCsEvent'])==null?void 0x0:_0x3d778e['cs']},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)]['CHANGESET_REJ']:return{..._0x267658,'data':{..._0x38cb6f,'data':(_0x2313ee=_0x38cb6f[_0x2d93fe(0x129)])==null?void 0x0:_0x2313ee['cs']},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f[_0x2d93fe(0x1a0)]},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)]['USERS_ENTER']:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f[_0x2d93fe(0xc1)]},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)]['USERS_LEAVE']:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f['leaveEvent']},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)][_0x2d93fe(0x3b3)]:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f['liveShareNewHost']},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)][_0x2d93fe(0x417)]:case _0x4ecbea['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f[_0x2d93fe(0x362)]},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)]['LIVESHARE_TERMINATE']:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f[_0x2d93fe(0x431)]},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)]['MSG_FOR_ERROR']:return{..._0x267658,'data':_0x38cb6f,'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)][_0x2d93fe(0x1f5)]:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f[_0x2d93fe(0x241)]},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)]['UPDATE_PERMISSION_OBJ']:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f['updatePermissionObjEvent']},'cmd':_0x267658[_0x2d93fe(0x15d)]};case _0x4ecbea[_0x2d93fe(0x1e6)][_0x2d93fe(0x312)]:return{..._0x267658,'data':{..._0x38cb6f,'data':_0x38cb6f[_0x2d93fe(0x2b6)]},'cmd':_0x267658['cmd']};default:return _0x267658;}}default:return _0x267658;}}function _0xd9d8ca(_0x51fa74){const _0x318d1f=_0x3f6827;switch(_0x51fa74['cmd']){case _0x1ca28b[_0x318d1f(0x173)]:case _0x1ca28b[_0x318d1f(0x100)]:return JSON[_0x318d1f(0x2a0)]({'cmd':_0x51fa74[_0x318d1f(0x15d)],'routeKey':_0x51fa74['routeKey']});case _0x1ca28b['INGEST']:{let _0x359baf;switch(_0x51fa74[_0x318d1f(0xa5)][_0x318d1f(0x12d)]){case _0x4ecbea['CollaborationEvent'][_0x318d1f(0x34a)]:{_0x359baf={'eventID':_0x4ecbea['CollaborationEvent'][_0x318d1f(0x34a)],'updateCursorEvent':_0x51fa74['data'][_0x318d1f(0xa5)]};break;}case _0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x43e)]:{_0x359baf={'eventID':_0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x43e)],'leaveEvent':_0x51fa74[_0x318d1f(0xa5)][_0x318d1f(0xa5)]};break;}case _0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x1b6)]:{_0x359baf={'eventID':_0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x1b6)],'joinEvent':_0x51fa74[_0x318d1f(0xa5)][_0x318d1f(0xa5)]};break;}case _0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x3b3)]:{_0x359baf={'eventID':_0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x3b3)],'liveShareNewHost':_0x51fa74[_0x318d1f(0xa5)][_0x318d1f(0xa5)]};break;}case _0x4ecbea[_0x318d1f(0x1e6)]['LIVESHARE_OPERATION']:{_0x359baf={'eventID':_0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x2dd)],'liveShareOperation':_0x51fa74[_0x318d1f(0xa5)][_0x318d1f(0xa5)]};break;}case _0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x1a8)]:{_0x359baf={'eventID':_0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x1a8)],'liveShareTerminate':_0x51fa74[_0x318d1f(0xa5)][_0x318d1f(0xa5)]};break;}case _0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x16f)]:{_0x359baf={'eventID':_0x4ecbea['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x51fa74[_0x318d1f(0xa5)]['data']};break;}case _0x4ecbea[_0x318d1f(0x1e6)][_0x318d1f(0x417)]:{_0x359baf={'eventID':_0x4ecbea['CollaborationEvent'][_0x318d1f(0x417)]};break;}default:_0x359baf={'eventID':_0x51fa74[_0x318d1f(0xa5)]['eventID']};}return JSON['stringify']({'cmd':_0x51fa74['cmd'],'routeKey':_0x51fa74[_0x318d1f(0xd0)],'collaMsg':_0x359baf});}case _0x1ca28b[_0x318d1f(0xb3)]:return JSON[_0x318d1f(0x2a0)]({'cmd':_0x51fa74[_0x318d1f(0x15d)],'routeKey':_0x51fa74[_0x318d1f(0xd0)],'joinReq':_0x51fa74[_0x318d1f(0xa5)]});case _0x1ca28b[_0x318d1f(0x32f)]:return JSON['stringify']({'cmd':_0x51fa74[_0x318d1f(0x15d)],'routeKey':_0x51fa74[_0x318d1f(0xd0)],'leaveReq':_0x51fa74[_0x318d1f(0xa5)]});default:throw new Error(_0x318d1f(0x3fe));}}var _0x3aacdd=Object['defineProperty'],_0x2e72aa=Object[_0x3f6827(0x1cb)],_0x281a52=(_0x32d181,_0x27bc51,_0x148bc2,_0x110835)=>{const _0x5481d7=_0x3f6827;for(var _0x4337ea=_0x110835>0x1?void 0x0:_0x110835?_0x2e72aa(_0x27bc51,_0x148bc2):_0x27bc51,_0x165ceb=_0x32d181[_0x5481d7(0x16b)]-0x1,_0x2c89b0;_0x165ceb>=0x0;_0x165ceb--)(_0x2c89b0=_0x32d181[_0x165ceb])&&(_0x4337ea=(_0x110835?_0x2c89b0(_0x27bc51,_0x148bc2,_0x4337ea):_0x2c89b0(_0x4337ea))||_0x4337ea);return _0x110835&&_0x4337ea&&_0x3aacdd(_0x27bc51,_0x148bc2,_0x4337ea),_0x4337ea;},_0x5ceb23=(_0x4e6088,_0x10b1cd)=>(_0x45f1a8,_0x2bf5da)=>_0x10b1cd(_0x45f1a8,_0x2bf5da,_0x4e6088);const _0x51e16b=_0x28e235[_0x3f6827(0x236)](_0x3f6827(0x1b8));function _0x248cac(_0x53cdac,_0x5a993a,_0x59dc05){const _0x35fc97=_0x3f6827;return _0x53cdac+'/'+_0x5a993a+_0x35fc97(0x1a6)+_0x59dc05+'/new_changes';}_0x538e2a[_0x3f6827(0x194)]=class{constructor(_0x39ae02,_0x1c2834,_0x5a985c,_0x4bab15,_0x49c4f1){const _0x3c1c5a=_0x3f6827;this[_0x3c1c5a(0x2d1)]=_0x39ae02,this['_ws']=_0x1c2834,this[_0x3c1c5a(0x381)]=_0x5a985c,this[_0x3c1c5a(0x1af)]=_0x4bab15,this[_0x3c1c5a(0x3d9)]=_0x49c4f1;}[_0x3f6827(0x198)](_0x57f354){const _0x3481d5=_0x3f6827,_0x27200b=this[_0x3481d5(0x291)][_0x3481d5(0x198)](_0x57f354);if(!_0x27200b)throw new Error(_0x3481d5(0x3c3));const _0x1ed70e=new _0x28e235[(_0x3481d5(0x166))](),_0x2ebbbd=new _0x2820f3[(_0x3481d5(0xa8))]();_0x1ed70e[_0x3481d5(0x2fd)](_0x28e235['toDisposable'](_0x27200b[_0x3481d5(0x87)]['subscribe'](_0xbeedd4=>_0x2ebbbd[_0x3481d5(0x18d)](_0xbeedd4)))),_0x1ed70e[_0x3481d5(0x2fd)](_0x28e235[_0x3481d5(0x23e)](()=>_0x2ebbbd[_0x3481d5(0x35b)]()));const _0x33c7e3=new _0x2820f3[(_0x3481d5(0xa8))]();_0x1ed70e[_0x3481d5(0x2fd)](_0x28e235['toDisposable'](_0x27200b['error$'][_0x3481d5(0x3cd)](_0x239966=>_0x33c7e3['next'](_0x239966)))),_0x1ed70e['add'](_0x28e235[_0x3481d5(0x23e)](()=>_0x33c7e3['complete']()));const _0x3116eb=new _0x2820f3[(_0x3481d5(0xa8))]();_0x1ed70e['add'](_0x28e235[_0x3481d5(0x23e)](_0x27200b[_0x3481d5(0x2ed)]['subscribe'](_0x557140=>{const _0x23ddea=_0x3481d5,_0x5aca9e=_0x59fc50(_0x557140);_0x3116eb[_0x23ddea(0x18d)](_0x5aca9e);}))),_0x1ed70e[_0x3481d5(0x2fd)](_0x28e235[_0x3481d5(0x23e)](()=>_0x3116eb[_0x3481d5(0x35b)]()));const _0x53d96b=()=>{const _0x10f8e5=_0x3481d5;_0x33c7e3[_0x10f8e5(0x18d)](new Event(_0x10f8e5(0x25c))),_0x2ebbbd[_0x10f8e5(0x18d)](new CloseEvent(_0x10f8e5(0x25c))),_0x49b579[_0x10f8e5(0x34e)]();},_0x49b579={'memberID':'','close$':_0x2ebbbd[_0x3481d5(0x1d2)](),'error$':_0x33c7e3[_0x3481d5(0x1d2)](),'open$':_0x27200b[_0x3481d5(0x3db)],'message$':_0x3116eb[_0x3481d5(0x1d2)](),'send':_0x576250=>{const _0x18d84c=_0x3481d5;if(_0x576250[_0x18d84c(0x15d)]===_0x1ca28b[_0x18d84c(0x267)]){if(_0x576250[_0x18d84c(0xa5)][_0x18d84c(0x12d)]===_0x4ecbea[_0x18d84c(0x1e6)][_0x18d84c(0x206)]){this[_0x18d84c(0x2c3)](_0x49b579,_0x576250[_0x18d84c(0xa5)])['catch'](_0x1e6628=>{const _0x138f8d=_0x18d84c;this[_0x138f8d(0x1af)][_0x138f8d(0x270)](_0x1e6628),_0x53d96b();});return;}if(_0x576250[_0x18d84c(0xa5)]['eventID']===_0x4ecbea['CollaborationEvent'][_0x18d84c(0x308)]){const _0x2ee279=_0x576250[_0x18d84c(0xa5)];this[_0x18d84c(0xc3)](_0x2ee279)[_0x18d84c(0xd6)](_0x2d96af=>{const _0x25e771=_0x18d84c;_0x3116eb[_0x25e771(0x18d)]({'cmd':_0x1ca28b[_0x25e771(0x411)],'code':_0x43193c['OK'],'routeKey':_0x2ee279[_0x25e771(0xa5)][_0x25e771(0x27d)],'routeType':'','data':{'eventID':_0x4ecbea[_0x25e771(0x1e6)][_0x25e771(0x2a4)],'data':{'changesets':_0x2d96af}}});})['catch'](_0x379b4a=>{this['_logService']['error'](_0x379b4a),_0x53d96b();});return;}}_0x27200b['send'](_0xd9d8ca(_0x576250));},'close':()=>{_0x27200b['close'](),_0x1ed70e['dispose']();}};return _0x49b579;}async[_0x3f6827(0x2c3)](_0x163230,_0x9a6241){const _0x2f9a54=_0x3f6827;var _0x2ee956;const {unitType:_0x430ae7,unitID:_0x51fa03,changeset:_0x71d9ba}=_0x9a6241[_0x2f9a54(0xa5)],_0x54ff63={'unitID':_0x51fa03,'memberID':_0x163230[_0x2f9a54(0x7f)],'type':_0x430ae7,'changeset':_0x4ecbea[_0x2f9a54(0x43a)](_0x71d9ba)},_0x4f213e=_0x248cac((_0x2ee956=this[_0x2f9a54(0x381)][_0x2f9a54(0x457)](_0x49a23a))!=null?_0x2ee956:_0x3d0582,_0x430ae7,_0x51fa03);try{await this[_0x2f9a54(0x2d1)][_0x2f9a54(0x314)](_0x4f213e,{'body':_0x54ff63});}catch(_0x552b11){throw this[_0x2f9a54(0x1af)][_0x2f9a54(0x270)](_0x2f9a54(0x230),_0x2f9a54(0x1a2)),_0x552b11;}}async[_0x3f6827(0xc3)](_0x23769d){const _0x1a2024=_0x3f6827,{unitID:_0xc4a093,from:_0x21d092,to:_0x460bb3,unitType:_0x49fa50}=_0x23769d[_0x1a2024(0xa5)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xc4a093,'type':_0x49fa50,'from':_0x21d092,'to':_0x460bb3}))['changesets'];}},_0x538e2a[_0x3f6827(0x194)]=_0x281a52([_0x5ceb23(0x0,_0x28e235[_0x3f6827(0xb5)](_0x7b6974['HTTPService'])),_0x5ceb23(0x1,_0x28e235[_0x3f6827(0xb5)](_0x7b6974[_0x3f6827(0xb2)])),_0x5ceb23(0x2,_0x28e235[_0x3f6827(0x115)]),_0x5ceb23(0x3,_0x28e235[_0x3f6827(0x40e)]),_0x5ceb23(0x4,_0x28e235['ISnapshotServerService'])],_0x538e2a[_0x3f6827(0x194)]);class _0x1a0991{constructor(){const _0x484589=_0x3f6827;_0x2b7d82(this,_0x484589(0x3be),new _0x2820f3[(_0x484589(0xa8))]()),_0x2b7d82(this,_0x484589(0x164),this[_0x484589(0x3be)]['asObservable']());}['onCommentUpdate'](_0x4fae38){const _0x164b77=_0x3f6827;this[_0x164b77(0x3be)][_0x164b77(0x18d)](_0x4fae38);}}var _0x132c8e=Object[_0x3f6827(0x328)],_0x755775=Object[_0x3f6827(0x1cb)],_0x4bcd70=(_0x42337b,_0x2ea344,_0x5cb1c0,_0x4e59e4)=>{const _0x5e55ef=_0x3f6827;for(var _0x2f2509=_0x4e59e4>0x1?void 0x0:_0x4e59e4?_0x755775(_0x2ea344,_0x5cb1c0):_0x2ea344,_0x1b2ac8=_0x42337b[_0x5e55ef(0x16b)]-0x1,_0xb02d77;_0x1b2ac8>=0x0;_0x1b2ac8--)(_0xb02d77=_0x42337b[_0x1b2ac8])&&(_0x2f2509=(_0x4e59e4?_0xb02d77(_0x2ea344,_0x5cb1c0,_0x2f2509):_0xb02d77(_0x2f2509))||_0x2f2509);return _0x4e59e4&&_0x2f2509&&_0x132c8e(_0x2ea344,_0x5cb1c0,_0x2f2509),_0x2f2509;},_0x1e9aee=(_0x4bd97a,_0x45d814)=>(_0x3519e5,_0x5318df)=>_0x45d814(_0x3519e5,_0x5318df,_0x4bd97a),_0x158ddb=(_0x341927=>(_0x341927[_0x341927[_0x3f6827(0x3bc)]=0x0]=_0x3f6827(0x3bc),_0x341927[_0x341927[_0x3f6827(0x24f)]=0x1]=_0x3f6827(0x24f),_0x341927[_0x341927[_0x3f6827(0x353)]=0x2]='OFFLINE',_0x341927[_0x341927['ONLINE']=0x3]=_0x3f6827(0x27e),_0x341927))(_0x158ddb||{});_0x538e2a[_0x3f6827(0x224)]=class extends _0x28e235['RxDisposable']{constructor(_0x469a99,_0x345224,_0x3f0fdc,_0x1ca4b7,_0x2303b5,_0x16e3e5,_0x5f51a5,_0x5d8fa4,_0x429a8b){const _0x5bfaea=_0x3f6827;super(),_0x2b7d82(this,_0x5bfaea(0x3f5),new _0x2820f3[(_0x5bfaea(0x371))](0x0)),_0x2b7d82(this,_0x5bfaea(0xe4),this[_0x5bfaea(0x3f5)]['asObservable']()),_0x2b7d82(this,_0x5bfaea(0xa2),new _0x2820f3[(_0x5bfaea(0xa8))]()),_0x2b7d82(this,'event$',this[_0x5bfaea(0xa2)]['asObservable']()),_0x2b7d82(this,_0x5bfaea(0x30e)),_0x2b7d82(this,_0x5bfaea(0x1c1)),_0x2b7d82(this,_0x5bfaea(0x39c)),(this['_unitID']=_0x469a99,this[_0x5bfaea(0x1af)]=_0x3f0fdc,this['_beforeCloseService']=_0x1ca4b7,this[_0x5bfaea(0x233)]=_0x2303b5,this[_0x5bfaea(0x381)]=_0x16e3e5,this[_0x5bfaea(0x424)]=_0x5f51a5,this[_0x5bfaea(0x13c)]=_0x5d8fa4,this[_0x5bfaea(0x1f3)]=_0x429a8b,_0x345224[_0x5bfaea(0x2ef)](_0x1086dc[_0x5bfaea(0xeb)](this['dispose$']))[_0x5bfaea(0x3cd)](_0x48faca=>{const _0x2e2b52=_0x5bfaea;var _0x166e0b;typeof _0x48faca>'u'||(this['_socket']=_0x48faca,_0x48faca?(this[_0x2e2b52(0x128)](_0x48faca),this[_0x2e2b52(0x1c1)]=this[_0x2e2b52(0x30e)]['message$'][_0x2e2b52(0x3cd)](_0x5cf336=>{const _0x471057=_0x2e2b52;_0x5cf336[_0x471057(0xd0)]===this[_0x471057(0x1f7)]&&this[_0x471057(0x222)](_0x5cf336);})):(this[_0x2e2b52(0x3f5)][_0x2e2b52(0x18d)](0x2),(_0x166e0b=this[_0x2e2b52(0x1c1)])==null||_0x166e0b[_0x2e2b52(0x117)](),this[_0x2e2b52(0x1c1)]=null));}),this[_0x5bfaea(0x41b)](this[_0x5bfaea(0x1c0)][_0x5bfaea(0x220)](()=>{const _0x54626d=_0x5bfaea;var _0x4c3650;(_0x4c3650=this[_0x54626d(0x30e)])==null||_0x4c3650[_0x54626d(0x447)]({'cmd':_0x1ca28b[_0x54626d(0x32f)],'data':{'roomID':this[_0x54626d(0x1f7)]}});})));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){const _0x5b9d5e=_0x3f6827;var _0x5b766d,_0xedd753;return(_0xedd753=(_0x5b766d=this[_0x5b9d5e(0x30e)])==null?void 0x0:_0x5b766d[_0x5b9d5e(0x7f)])!=null?_0xedd753:null;}[_0x3f6827(0x179)](){const _0x5351e0=_0x3f6827;super[_0x5351e0(0x179)](),this[_0x5351e0(0x388)]['next'](),this['dispose$']['complete']();}[_0x3f6827(0x34e)](){const _0x3148fb=_0x3f6827;var _0x4e18ab,_0x509c5d;(_0x4e18ab=this['_socket'])==null||_0x4e18ab[_0x3148fb(0x447)]({'cmd':_0x1ca28b[_0x3148fb(0x32f)],'data':{'roomID':this[_0x3148fb(0x1f7)]}}),this[_0x3148fb(0xa2)][_0x3148fb(0x35b)](),this['_sessionStatus$']['complete'](),(_0x509c5d=this[_0x3148fb(0x30e)])==null||_0x509c5d[_0x3148fb(0x34e)](),this[_0x3148fb(0x179)]();}[_0x3f6827(0x222)](_0x59f016){const _0x51cedf=_0x3f6827;_0x59f016[_0x51cedf(0x15d)]===_0x1ca28b[_0x51cedf(0xb3)]?this[_0x51cedf(0x407)](_0x59f016):_0x59f016[_0x51cedf(0x15d)]===_0x1ca28b[_0x51cedf(0x411)]&&this['_onRecvEvent'](_0x59f016);}[_0x3f6827(0x128)](_0x3cb913){const _0x4adc8f=_0x3f6827;this[_0x4adc8f(0x3f5)][_0x4adc8f(0x18d)](0x1),_0x3cb913[_0x4adc8f(0x447)]({'cmd':_0x1ca28b[_0x4adc8f(0xb3)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4adc8f(0x1f7)]}]}});}['_onJoinRoomEvent'](_0x521dae){const _0x19f507=_0x3f6827;var _0x82f435;if(_0x521dae[_0x19f507(0x168)]===_0x43193c[_0x19f507(0xb9)]){this[_0x19f507(0x233)]['show']({'type':_0x48adea['MessageType'][_0x19f507(0x98)],'content':this[_0x19f507(0x424)]['t'](_0x19f507(0x396))}),this[_0x19f507(0x3f5)]['next'](0x2);return;}this[_0x19f507(0x3f5)][_0x19f507(0x18d)](0x3);const _0x32ab84=(_0x82f435=_0x521dae[_0x19f507(0xa5)]['roomInfos'][this[_0x19f507(0x1f7)]])==null?void 0x0:_0x82f435[_0x19f507(0x133)];_0x32ab84&&_0x32ab84[_0x19f507(0x384)](_0x1c57d1=>this[_0x19f507(0x13c)][_0x19f507(0x2a2)](this[_0x19f507(0x1f7)],_0x1c57d1));}[_0x3f6827(0x1d0)](_0x1af987){const _0x4cc2cf=_0x3f6827;try{const _0x362747=_0x1af987['data'];switch(_0x362747['eventID']){case _0x4ecbea[_0x4cc2cf(0x1e6)][_0x4cc2cf(0x1b6)]:this[_0x4cc2cf(0x2a7)](_0x362747),this[_0x4cc2cf(0xa2)][_0x4cc2cf(0x18d)](_0x362747);break;case _0x4ecbea[_0x4cc2cf(0x1e6)][_0x4cc2cf(0x43e)]:this[_0x4cc2cf(0x3d2)](_0x362747),this[_0x4cc2cf(0xa2)][_0x4cc2cf(0x18d)](_0x362747);break;case _0x4ecbea[_0x4cc2cf(0x1e6)][_0x4cc2cf(0x3bd)]:this[_0x4cc2cf(0x2b1)](),this[_0x4cc2cf(0xa2)][_0x4cc2cf(0x18d)](_0x362747);break;case _0x4ecbea[_0x4cc2cf(0x1e6)][_0x4cc2cf(0x188)]:this[_0x4cc2cf(0x1af)][_0x4cc2cf(0x270)](_0x4cc2cf(0xf1)+JSON[_0x4cc2cf(0x2a0)](_0x362747)),this[_0x4cc2cf(0xa2)][_0x4cc2cf(0x18d)](_0x362747);break;case _0x4ecbea[_0x4cc2cf(0x1e6)][_0x4cc2cf(0x1f5)]:this['_commentService'][_0x4cc2cf(0x397)](_0x362747['data']),this['_event$']['next'](_0x362747);break;default:this[_0x4cc2cf(0xa2)]['next'](_0x362747);}}catch(_0x5a82d0){this[_0x4cc2cf(0x1af)][_0x4cc2cf(0x270)](_0x5a82d0,_0x1af987);}}['_onUserJoin'](_0x1f7d34){const _0xb98ab1=_0x3f6827;this[_0xb98ab1(0x13c)][_0xb98ab1(0x2a2)](this[_0xb98ab1(0x1f7)],_0x1f7d34[_0xb98ab1(0xa5)]);}['_onUserLeave'](_0x240a84){const _0x50c781=_0x3f6827;this[_0x50c781(0x13c)][_0x50c781(0x303)](this[_0x50c781(0x1f7)],_0x240a84[_0x50c781(0xa5)][_0x50c781(0x7f)]);}async[_0x3f6827(0x447)](_0x5d9885,_0x57ace9){const _0x3f16e7=_0x3f6827;if(this[_0x3f16e7(0x2fc)]!==0x3||!this['_socket'])throw new Error(_0x3f16e7(0x154));try{_0x5d9885[_0x3f16e7(0x12d)]===_0x4ecbea[_0x3f16e7(0x1e6)][_0x3f16e7(0x209)]&&this['_scheduleCollaborationTimeoutTimer'](),this[_0x3f16e7(0x30e)][_0x3f16e7(0x447)]({'cmd':_0x1ca28b[_0x3f16e7(0x267)],'routeKey':_0x57ace9,'routeType':'','data':_0x5d9885});}catch(_0x364f0c){this['_logService']['error'](_0x364f0c);}}[_0x3f6827(0x290)](){const _0x16ddcc=_0x3f6827;var _0x45293a;this[_0x16ddcc(0x39c)]=window[_0x16ddcc(0x38a)](()=>{const _0x1691b0=_0x16ddcc;this[_0x1691b0(0x39c)]=null,this[_0x1691b0(0x233)][_0x1691b0(0x226)]({'type':_0x48adea[_0x1691b0(0x157)][_0x1691b0(0x1e7)],'content':this[_0x1691b0(0x424)]['t'](_0x1691b0(0x15f))});},(_0x45293a=this[_0x16ddcc(0x381)][_0x16ddcc(0x457)](_0xedd382))!=null?_0x45293a:0x2710);}[_0x3f6827(0x2b1)](){const _0x190024=_0x3f6827;this[_0x190024(0x39c)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x190024(0x39c)]=null);}},_0x538e2a['CollaborationSession']=_0x4bcd70([_0x1e9aee(0x2,_0x28e235[_0x3f6827(0x40e)]),_0x1e9aee(0x3,_0x1d23ef['IBeforeCloseService']),_0x1e9aee(0x4,_0x1d23ef[_0x3f6827(0x89)]),_0x1e9aee(0x5,_0x28e235[_0x3f6827(0x115)]),_0x1e9aee(0x6,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x3a0)])),_0x1e9aee(0x7,_0x28e235['Inject'](_0x1d7fc4)),_0x1e9aee(0x8,_0x28e235[_0x3f6827(0xb5)](_0x1a0991))],_0x538e2a[_0x3f6827(0x224)]),_0x538e2a[_0x3f6827(0x17b)]=class extends _0x28e235['Disposable']{constructor(_0x4ae49f,_0x1edf26,_0x28a052,_0x6ff081,_0x29f8d8,_0x429136){const _0x42bcb2=_0x3f6827;super(),_0x2b7d82(this,_0x42bcb2(0x185),new _0x2820f3[(_0x42bcb2(0x371))](void 0x0)),_0x2b7d82(this,_0x42bcb2(0x329),new Map()),_0x2b7d82(this,_0x42bcb2(0x148),new _0x2820f3[(_0x42bcb2(0x371))](0x0)),_0x2b7d82(this,_0x42bcb2(0x3f2),this[_0x42bcb2(0x148)]['asObservable']()),_0x2b7d82(this,'_socketReady',!0x1),_0x2b7d82(this,_0x42bcb2(0xb0)),_0x2b7d82(this,_0x42bcb2(0x1d5)),_0x2b7d82(this,_0x42bcb2(0x398)),_0x2b7d82(this,_0x42bcb2(0x283),0x0),(this['_injector']=_0x4ae49f,this[_0x42bcb2(0x424)]=_0x1edf26,this[_0x42bcb2(0x233)]=_0x28a052,this[_0x42bcb2(0x1af)]=_0x6ff081,this[_0x42bcb2(0x381)]=_0x29f8d8,this[_0x42bcb2(0x7a)]=_0x429136);}get[_0x3f6827(0x30e)](){const _0x1d45a1=_0x3f6827;return this[_0x1d45a1(0x185)][_0x1d45a1(0x13a)]();}['dispose'](){const _0xbfba0e=_0x3f6827;super[_0xbfba0e(0x179)](),this[_0xbfba0e(0x329)][_0xbfba0e(0x384)](_0x40cd71=>_0x40cd71[_0xbfba0e(0x179)]()),this[_0xbfba0e(0x329)]['clear'](),this['_status$'][_0xbfba0e(0x35b)]();}async[_0x3f6827(0x1b9)](_0x3ae4e2){const _0x92ec4=_0x3f6827;if(this['_sessions'][_0x92ec4(0x3c0)](_0x3ae4e2))return this[_0x92ec4(0x329)][_0x92ec4(0x450)](_0x3ae4e2);this[_0x92ec4(0x1f2)]();const _0x5a9bbe=this['_injector']['createInstance'](_0x538e2a[_0x92ec4(0x224)],_0x3ae4e2,this['_socket$'][_0x92ec4(0x1d2)]());return this['_sessions'][_0x92ec4(0x2b2)](_0x3ae4e2,_0x5a9bbe),_0x5a9bbe;}[_0x3f6827(0x246)](_0x14f87d){const _0x477536=_0x3f6827;var _0x41dc28;const _0x388a08=this[_0x477536(0x329)][_0x477536(0x450)](_0x14f87d);_0x388a08&&(this['_sessions'][_0x477536(0x458)](_0x14f87d),_0x388a08[_0x477536(0x34e)]()),this['_sessions']['size']||(_0x41dc28=this['_socket'])==null||_0x41dc28[_0x477536(0x34e)]();}['_createSocket'](){const _0xb926c8=_0x3f6827;var _0xe977ba;const _0xb69070=(_0xe977ba=this[_0xb926c8(0x381)][_0xb926c8(0x457)](_0x1837a5))!=null?_0xe977ba:_0x1fa7f8;return this[_0xb926c8(0x7a)][_0xb926c8(0x198)](_0xb69070);}[_0x3f6827(0x1f2)](){const _0x1c5640=_0x3f6827;try{const _0x534f76=this[_0x1c5640(0x2d5)]();if(_0x534f76){const _0xb44e8e=_0x534f76[_0x1c5640(0x447)];_0x534f76[_0x1c5640(0x447)]=_0x15da9d=>(this['_rescheduleHeartbeatEvent'](),_0xb44e8e[_0x1c5640(0x44f)](_0x534f76,[_0x15da9d])),_0x534f76['message$'][_0x1c5640(0x3cd)](_0x2d7b23=>this[_0x1c5640(0x7e)](_0x534f76,_0x2d7b23)),_0x534f76[_0x1c5640(0x12b)][_0x1c5640(0x2ef)](_0x1086dc[_0x1c5640(0x142)](0x1))[_0x1c5640(0x3cd)](_0x3fdbbf=>this[_0x1c5640(0x1af)]['error'](_0x1c5640(0x29e),_0x3fdbbf)),_0x534f76[_0x1c5640(0x3db)][_0x1c5640(0x2ef)](_0x1086dc[_0x1c5640(0x142)](0x1))[_0x1c5640(0x3cd)](()=>{const _0x5caa11=_0x1c5640;this[_0x5caa11(0x99)](_0x534f76);}),_0x534f76[_0x1c5640(0x87)]['pipe'](_0x1086dc[_0x1c5640(0x142)](0x1))[_0x1c5640(0x3cd)](_0x1b8540=>{const _0x257dff=_0x1c5640;this[_0x257dff(0x1af)]['debug']('[CollaborationSessionService]',_0x257dff(0xf6),_0x1b8540),this[_0x257dff(0x96)]();});}}catch(_0x51f94f){this[_0x1c5640(0x1af)]['error'](_0x51f94f),this[_0x1c5640(0x96)]();}}['_onConnectionOpen'](_0x321196){const _0x5799f8=_0x3f6827;this[_0x5799f8(0x1af)][_0x5799f8(0x293)](_0x5799f8(0x1fa),_0x5799f8(0xf9)),_0x321196[_0x5799f8(0x447)]({'cmd':_0x1ca28b[_0x5799f8(0x100)]}),this[_0x5799f8(0x35e)]();}[_0x3f6827(0x96)](){const _0x426e04=_0x3f6827;var _0x391080;this[_0x426e04(0x148)][_0x426e04(0x18d)](0x2),this[_0x426e04(0x185)][_0x426e04(0x18d)](null),this[_0x426e04(0x22e)](),this[_0x426e04(0x180)](),this['_socketReady']=!0x1,this['_retryCount']<((_0x391080=this[_0x426e04(0x381)][_0x426e04(0x457)](_0x3955b6))!=null?_0x391080:0x3)?(this[_0x426e04(0x324)](this[_0x426e04(0x283)]),this[_0x426e04(0x283)]+=0x1):this[_0x426e04(0x233)][_0x426e04(0x226)]({'type':_0x48adea[_0x426e04(0x157)]['Error'],'content':this['_localeService']['t'](_0x426e04(0x2cd))});}['_scheduleReconnection'](_0x26010b){const _0x30185a=_0x3f6827;var _0x487e98;const _0xf47782=((_0x487e98=this['_configService']['getConfig'](_0x1bb57a))!=null?_0x487e98:0x4e20)*0x2**_0x26010b;this['_messageService'][_0x30185a(0x226)]({'type':_0x48adea['MessageType'][_0x30185a(0x98)],'content':this[_0x30185a(0x424)]['t']('session.will-retry')}),this['_retryConnectingTimer']=setTimeout(()=>{const _0x273740=_0x30185a;this[_0x273740(0x1f2)](),clearTimeout(this[_0x273740(0x398)]),this[_0x273740(0x398)]=null;},_0xf47782);}[_0x3f6827(0x35e)](){const _0x5d8cd1=_0x3f6827;var _0x2c8201;this[_0x5d8cd1(0x180)](),this[_0x5d8cd1(0xb0)]=setTimeout(()=>this[_0x5d8cd1(0x393)](),(_0x2c8201=this[_0x5d8cd1(0x381)][_0x5d8cd1(0x457)](_0x5a9926))!=null?_0x2c8201:0x7530);}[_0x3f6827(0x393)](){const _0x288cba=_0x3f6827;this[_0x288cba(0x30e)]['send']({'cmd':_0x1ca28b[_0x288cba(0x173)]}),this[_0x288cba(0xc9)]();}['_waitForHeartbeatResponse'](){const _0xe7df62=_0x3f6827;var _0x25e237;this[_0xe7df62(0x1d5)]=setTimeout(()=>this[_0xe7df62(0x96)](),(_0x25e237=this[_0xe7df62(0x381)][_0xe7df62(0x457)](_0xedd382))!=null?_0x25e237:0x2710);}['_onMessage'](_0x3cbc63,_0x4e4322){const _0x2894d6=_0x3f6827,{cmd:_0x435d0f}=_0x4e4322;_0x435d0f===_0x1ca28b[_0x2894d6(0x100)]&&!this[_0x2894d6(0x2bf)]&&(_0x3cbc63[_0x2894d6(0x7f)]=_0x4e4322[_0x2894d6(0xa5)][_0x2894d6(0x7f)],this[_0x2894d6(0x185)][_0x2894d6(0x18d)](_0x3cbc63),this[_0x2894d6(0x148)][_0x2894d6(0x18d)](0x3),this[_0x2894d6(0x2bf)]=!0x0),_0x435d0f===_0x1ca28b[_0x2894d6(0x173)]&&this[_0x2894d6(0x22e)](),this[_0x2894d6(0x35e)]();}[_0x3f6827(0x180)](){const _0x2b1192=_0x3f6827;this[_0x2b1192(0xb0)]!=null&&(clearTimeout(this[_0x2b1192(0xb0)]),this[_0x2b1192(0xb0)]=null);}[_0x3f6827(0x22e)](){const _0x1e76fe=_0x3f6827;this[_0x1e76fe(0x1d5)]!=null&&(clearTimeout(this[_0x1e76fe(0x1d5)]),this[_0x1e76fe(0x1d5)]=null);}},_0x538e2a[_0x3f6827(0x17b)]=_0x4bcd70([_0x1e9aee(0x0,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0x1e9aee(0x1,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3a0)])),_0x1e9aee(0x2,_0x1d23ef['IMessageService']),_0x1e9aee(0x3,_0x28e235[_0x3f6827(0x40e)]),_0x1e9aee(0x4,_0x28e235[_0x3f6827(0x115)]),_0x1e9aee(0x5,_0x51e16b)],_0x538e2a['CollaborationSessionService']);var _0x8f3599=Object[_0x3f6827(0x328)],_0x2ed590=Object['getOwnPropertyDescriptor'],_0x4f55b4=(_0xdbe0a9,_0x24134e,_0x21309b,_0x2f3c23)=>{const _0x42a79b=_0x3f6827;for(var _0x57ec73=_0x2f3c23>0x1?void 0x0:_0x2f3c23?_0x2ed590(_0x24134e,_0x21309b):_0x24134e,_0x5445b4=_0xdbe0a9[_0x42a79b(0x16b)]-0x1,_0x406232;_0x5445b4>=0x0;_0x5445b4--)(_0x406232=_0xdbe0a9[_0x5445b4])&&(_0x57ec73=(_0x2f3c23?_0x406232(_0x24134e,_0x21309b,_0x57ec73):_0x406232(_0x57ec73))||_0x57ec73);return _0x2f3c23&&_0x57ec73&&_0x8f3599(_0x24134e,_0x21309b,_0x57ec73),_0x57ec73;},_0x180c33=(_0x3f7ce5,_0x4ce17a)=>(_0x40ff79,_0x5e9fed)=>_0x4ce17a(_0x40ff79,_0x5e9fed,_0x3f7ce5);_0x538e2a[_0x3f6827(0x249)]=class extends _0x28e235[_0x3f6827(0x29c)]{constructor(_0x5107b6,_0x4ec2ab,_0x46e784,_0x25f388,_0x3693de){const _0x2bd12a=_0x3f6827;super(),_0x2b7d82(this,_0x2bd12a(0x21a),new Map()),_0x2b7d82(this,'_saveTaskMap',new Map()),_0x2b7d82(this,'_disabled',!0x1),(this[_0x2bd12a(0x381)]=_0x5107b6,this[_0x2bd12a(0x1cd)]=_0x4ec2ab,this[_0x2bd12a(0x1c0)]=_0x46e784,this[_0x2bd12a(0x424)]=_0x25f388,this[_0x2bd12a(0x304)]=_0x3693de,this[_0x2bd12a(0x29a)]());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3f6827(0x39e)](){const _0x28985d=_0x3f6827;this[_0x28985d(0x91)]=!0x1;}[_0x3f6827(0x179)](){const _0x3f50d3=_0x3f6827;this[_0x3f50d3(0x2a9)]()[_0x3f50d3(0xd6)](()=>super[_0x3f50d3(0x179)]());}async[_0x3f6827(0x170)](_0x514895){const _0x3afc63=_0x3f6827;return this['_disabled']?null:this[_0x3afc63(0x1cd)][_0x3afc63(0x204)](_0x17c6ca(_0x514895));}async[_0x3f6827(0xad)](_0x50b725,_0x255c35){const _0x200951=_0x3f6827;return!!this[_0x200951(0x1cd)][_0x200951(0x351)](_0x50b725,_0x255c35);}['updateOfflineData'](_0x5454f5,_0x271d05,_0x53f251,_0x112dd7){const _0x5d35d8=_0x3f6827,_0x3a821b=this['_revisionService'][_0x5d35d8(0x41e)](_0x5454f5);this[_0x5d35d8(0x21a)]['set'](_0x5454f5,{'unitID':_0x5454f5,'type':_0x271d05,'awaitingChangeset':_0x53f251,'mutations':_0x112dd7,'rev':_0x3a821b}),this[_0x5d35d8(0x39f)][_0x5d35d8(0x3c0)](_0x5454f5)||this[_0x5d35d8(0x281)](_0x5454f5);}['_scheduleSaving'](_0x60d654){const _0x20c28f=_0x3f6827,_0x41f39c=this[_0x20c28f(0x1bc)]();_0x41f39c===0x0?this[_0x20c28f(0x27f)](_0x60d654):this[_0x20c28f(0x39f)][_0x20c28f(0x2b2)](_0x60d654,setTimeout(()=>this[_0x20c28f(0x27f)](_0x60d654),_0x41f39c));}[_0x3f6827(0x1bc)](){const _0x4ddf01=_0x3f6827;var _0x333ecd;return(_0x333ecd=this[_0x4ddf01(0x381)][_0x4ddf01(0x457)](_0x461325))!=null?_0x333ecd:0x3e8;}['_saveCache'](_0x461a26){const _0x44d432=_0x3f6827,_0x50f64c=this[_0x44d432(0x39f)][_0x44d432(0x450)](_0x461a26);return _0x50f64c!==void 0x0&&window['clearTimeout'](_0x50f64c),this[_0x44d432(0x1cd)][_0x44d432(0x351)](_0x17c6ca(_0x461a26),this[_0x44d432(0x21a)]['get'](_0x461a26))[_0x44d432(0xd6)](()=>this['_saveTaskMap']['delete'](_0x461a26));}async[_0x3f6827(0x2a9)](){const _0x2b9c51=_0x3f6827,_0x59cb18=[];this[_0x2b9c51(0x39f)][_0x2b9c51(0x384)]((_0x2e98dd,_0x2fd703)=>{const _0x384666=_0x2b9c51;window['clearTimeout'](_0x2e98dd),_0x59cb18[_0x384666(0x386)](this['_saveCache'](_0x2fd703)[_0x384666(0xd6)](()=>{const _0x1a36fd=_0x384666;this[_0x1a36fd(0x39f)][_0x1a36fd(0x458)](_0x2fd703);}));}),await Promise[_0x2b9c51(0x274)](_0x59cb18);}[_0x3f6827(0x29a)](){const _0x23d7e8=_0x3f6827;this[_0x23d7e8(0x41b)](this[_0x23d7e8(0x1c0)]['registerBeforeClose'](()=>{const _0x51accf=_0x23d7e8;if(this[_0x51accf(0x39f)][_0x51accf(0x26e)])return this[_0x51accf(0x424)]['t'](_0x51accf(0x2a8));}));}},_0x538e2a['LocalCacheService']=_0x4f55b4([_0x180c33(0x0,_0x28e235['IConfigService']),_0x180c33(0x1,_0x28e235[_0x3f6827(0x199)]),_0x180c33(0x2,_0x1d23ef[_0x3f6827(0x332)]),_0x180c33(0x3,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3a0)])),_0x180c33(0x4,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea[_0x3f6827(0x32c)]))],_0x538e2a[_0x3f6827(0x249)]);function _0x17c6ca(_0x35ff94){return'unit-cache-'+_0x35ff94;}const _0x38f70a=_0x28e235['createIdentifier'](_0x3f6827(0x316));var _0x52ad2f=(_0x4e245a=>(_0x4e245a[_0x4e245a[_0x3f6827(0x339)]=0x0]=_0x3f6827(0x339),_0x4e245a[_0x4e245a['OTHER_CLIENTS_EDITING']=0x1]=_0x3f6827(0x1c9),_0x4e245a))(_0x52ad2f||{});const _0x29f610=0x7530,_0x1cb5d1=_0x3f6827(0x240);class _0x52220b extends _0x28e235[_0x3f6827(0x29c)]{constructor(){const _0x974e01=_0x3f6827;super(),_0x2b7d82(this,_0x974e01(0x2cf),_0x28e235[_0x974e01(0x309)]['generateRandomId']()),_0x2b7d82(this,_0x974e01(0x320),new Set()),_0x2b7d82(this,_0x974e01(0x119),new Map()),_0x2b7d82(this,'_heartbeatTimer',null),_0x2b7d82(this,_0x974e01(0x2e5),new Map()),_0x2b7d82(this,_0x974e01(0x289),new Map()),this['_init']();}[_0x3f6827(0x179)](){const _0xd97d6=_0x3f6827;super[_0xd97d6(0x179)](),this[_0xd97d6(0x2e5)][_0xd97d6(0x384)]((_0x542ecc,_0x75073d)=>this[_0xd97d6(0x14f)](_0x75073d)),this['_heartbeatTimer']&&window[_0xd97d6(0x294)](this['_heartbeatTimer']);}[_0x3f6827(0x1f4)](_0x52771c){const _0x41f62c=_0x3f6827;return this['_ensureSubject'](_0x52771c)[_0x41f62c(0x2ef)](_0x2820f3['distinctUntilChanged']());}[_0x3f6827(0x454)](_0x512623){const _0x5ef0d9=_0x3f6827;this['_selfUnitIDs'][_0x5ef0d9(0x26e)]===0x0&&this[_0x5ef0d9(0xde)](),this[_0x5ef0d9(0x320)][_0x5ef0d9(0x2fd)](_0x512623),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x512623],'isForwarded':!0x1});}[_0x3f6827(0x1ea)](_0x21afad){const _0xc5bf7a=_0x3f6827;this['_selfUnitIDs'][_0xc5bf7a(0x458)](_0x21afad),this[_0xc5bf7a(0x320)]['size']===0x0&&this['_heartbeatTimer']&&window[_0xc5bf7a(0x294)](this[_0xc5bf7a(0x12e)]);}[_0x3f6827(0x3e4)](){const _0x183cf7=_0x3f6827;this['disposeWithMe'](_0x28e235[_0x183cf7(0x23e)](_0x2820f3[_0x183cf7(0x172)](window,_0x183cf7(0x350))['subscribe'](_0x276148=>{const _0x4d515e=_0x183cf7;if(_0x276148['key']!==_0x1cb5d1||!_0x276148[_0x4d515e(0x11b)])return;const _0x2412f3=JSON[_0x4d515e(0x9f)](_0x276148[_0x4d515e(0x11b)]);this[_0x4d515e(0x13e)](_0x2412f3);}))),window[_0x183cf7(0x1ad)](_0x183cf7(0x131),()=>this[_0x183cf7(0x81)]({'type':0x1,'memberID':this[_0x183cf7(0x2cf)],'unitIDs':Array['from'](this[_0x183cf7(0x320)])}));}['_handleEvent'](_0x52a246){const _0x275fae=_0x3f6827;switch(_0x52a246[_0x275fae(0x1ba)]){case 0x0:this[_0x275fae(0xe5)](_0x52a246);break;case 0x1:this[_0x275fae(0x37d)](_0x52a246);break;case 0x2:this[_0x275fae(0x124)](_0x52a246);break;}}['_handleJoinEvent'](_0x4e3af1){const _0x71979d=_0x3f6827,{unitIDs:_0x5161a7,memberID:_0x5dc3eb,isForwarded:_0x742f78}=_0x4e3af1;_0x5161a7[_0x71979d(0x384)](_0x4eac9e=>{const _0x105c8d=_0x71979d;if(!_0x742f78&&this[_0x105c8d(0x119)][_0x105c8d(0x3c0)](_0x4eac9e)&&this[_0x105c8d(0x121)](_0x4eac9e)[_0x105c8d(0x18d)](0x1),!this[_0x105c8d(0x119)][_0x105c8d(0x3c0)](_0x4eac9e)||!this['_unitOnClients']['get'](_0x4eac9e)[_0x105c8d(0x3c0)](_0x5dc3eb)){const _0x4eafed=this[_0x105c8d(0x119)][_0x105c8d(0x450)](_0x4eac9e)||new Set();_0x4eafed[_0x105c8d(0x2fd)](_0x5dc3eb),this[_0x105c8d(0x119)][_0x105c8d(0x2b2)](_0x4eac9e,_0x4eafed),this[_0x105c8d(0x1f6)](_0x5dc3eb);}}),_0x742f78||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x71979d(0x320)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2cd691){const _0x196385=_0x3f6827;this[_0x196385(0x14f)](_0x2cd691);const _0x4df90d=window[_0x196385(0x38a)](()=>{const _0x5c3cf3=_0x196385;this[_0x5c3cf3(0x119)]['forEach'](_0x48cca3=>{const _0x47c390=_0x5c3cf3;_0x48cca3[_0x47c390(0x458)](_0x2cd691);});},_0x29f610*0x2);this[_0x196385(0x2e5)][_0x196385(0x2b2)](_0x2cd691,_0x4df90d);}[_0x3f6827(0x14f)](_0x5b01dd){const _0x2a8e2d=_0x3f6827;if(this['_clearOtherTimers'][_0x2a8e2d(0x3c0)](_0x5b01dd)){const _0x3cea29=this['_clearOtherTimers'][_0x2a8e2d(0x450)](_0x5b01dd);_0x3cea29&&window[_0x2a8e2d(0x442)](_0x3cea29),this[_0x2a8e2d(0x2e5)][_0x2a8e2d(0x2b2)](_0x5b01dd,null);}}[_0x3f6827(0x37d)](_0x3f919a){const _0xa307b7=_0x3f6827,{memberID:_0x1afad6,unitIDs:_0x124d0c}=_0x3f919a;_0x124d0c[_0xa307b7(0x384)](_0xb54f79=>{const _0x14065d=_0xa307b7;var _0x4ebe58;const _0x520680=this[_0x14065d(0x119)]['get'](_0xb54f79);_0x520680&&(_0x520680[_0x14065d(0x458)](_0x1afad6),(_0x4ebe58=this[_0x14065d(0x121)](_0xb54f79))==null||_0x4ebe58[_0x14065d(0x18d)](_0x520680[_0x14065d(0x26e)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x1afad6);}[_0x3f6827(0x124)](_0x53136c){const _0x3237ec=_0x3f6827;this['_scheduleClearOtherTimer'](_0x53136c[_0x3237ec(0x7f)]);}[_0x3f6827(0x81)](_0xb34539){const _0x4560c3=_0x3f6827;localStorage[_0x4560c3(0x351)](_0x1cb5d1,JSON[_0x4560c3(0x2a0)](_0xb34539));}[_0x3f6827(0xde)](){const _0x273941=_0x3f6827;this[_0x273941(0x12e)]=window['setInterval'](()=>{const _0x34577b=_0x273941;this[_0x34577b(0x81)]({'type':0x2,'memberID':this[_0x34577b(0x2cf)]});},_0x29f610);}[_0x3f6827(0x121)](_0x4d7134){const _0x180e0a=_0x3f6827;return this[_0x180e0a(0x289)]['has'](_0x4d7134)||this[_0x180e0a(0x289)][_0x180e0a(0x2b2)](_0x4d7134,new _0x2820f3[(_0x180e0a(0x371))](0x0)),this[_0x180e0a(0x289)][_0x180e0a(0x450)](_0x4d7134);}}var _0x2dc293=Object[_0x3f6827(0x328)],_0x375f3b=Object[_0x3f6827(0x1cb)],_0x53cadd=(_0x274d47,_0x1db238,_0x41c2a9,_0x1edc14)=>{const _0x471855=_0x3f6827;for(var _0x226ae3=_0x1edc14>0x1?void 0x0:_0x1edc14?_0x375f3b(_0x1db238,_0x41c2a9):_0x1db238,_0xd3f7e5=_0x274d47[_0x471855(0x16b)]-0x1,_0x164f2f;_0xd3f7e5>=0x0;_0xd3f7e5--)(_0x164f2f=_0x274d47[_0xd3f7e5])&&(_0x226ae3=(_0x1edc14?_0x164f2f(_0x1db238,_0x41c2a9,_0x226ae3):_0x164f2f(_0x226ae3))||_0x226ae3);return _0x1edc14&&_0x226ae3&&_0x2dc293(_0x1db238,_0x41c2a9,_0x226ae3),_0x226ae3;},_0x4fdd00=(_0x35c16a,_0x47f974)=>(_0x315e70,_0x3e82ef)=>_0x47f974(_0x315e70,_0x3e82ef,_0x35c16a);let _0x12799f=class{constructor(_0x4ad23a,_0x42449f){const _0x1c8c46=_0x3f6827;this[_0x1c8c46(0x3ef)]=_0x4ad23a,this[_0x1c8c46(0x2b0)]=_0x42449f;}['transformIMECache'](_0x12f056){const _0x384aa5=_0x3f6827;this['_transformUndoRedoStack'](_0x12f056),this[_0x384aa5(0x1e3)](_0x12f056);}[_0x3f6827(0x3ee)](_0x54368f){const _0x5b0945=_0x3f6827,_0x5778c8=this['_injector'][_0x5b0945(0x450)](_0x4e3741['IMEInputManagerService']),{redoCache:_0xc5ebc9}=_0x5778c8['getUndoRedoMutationParamsCache']();if(_0xc5ebc9['length']===0x0)return _0x54368f;let _0x3f08ea=_0x28e235['Tools'][_0x5b0945(0x2c4)](_0x54368f['mutations'][0x0]);for(let _0x5affc8=0x0;_0x5affc8<_0xc5ebc9[_0x5b0945(0x16b)];_0x5affc8++){const _0x509e1d={'id':_0x5b0945(0x255),'params':{..._0xc5ebc9[_0x5affc8]}},_0x40fce3=this['_transformService'][_0x5b0945(0x22f)](_0x3f08ea,_0x509e1d,!0x1);if(_0x4ecbea[_0x5b0945(0x426)](_0x40fce3))throw _0x40fce3[_0x5b0945(0x270)];_0x3f08ea=_0x40fce3[_0x5b0945(0x193)];}return{..._0x28e235['Tools'][_0x5b0945(0x2c4)](_0x54368f),'mutations':[_0x3f08ea]};}['_transformUndoRedoStack'](_0x5e17c9){const _0x4ead87=_0x3f6827,_0x35eb7e=this[_0x4ead87(0x3ef)]['get'](_0x4e3741['IMEInputManagerService']),{undoCache:_0x248b07,redoCache:_0x42fd9e}=_0x35eb7e['getUndoRedoMutationParamsCache']();if(_0x248b07[_0x4ead87(0x16b)]===0x0||_0x42fd9e['length']===0x0)return;const _0x1ee560=[],_0x222969=[];let _0x5dc08d=_0x28e235[_0x4ead87(0x309)][_0x4ead87(0x2c4)](_0x5e17c9[_0x4ead87(0x28b)][0x0]),_0x58a8ae=_0x28e235[_0x4ead87(0x309)][_0x4ead87(0x2c4)](_0x5e17c9[_0x4ead87(0x28b)][0x0]);for(let _0x188044=_0x248b07[_0x4ead87(0x16b)]-0x1;_0x188044>=0x0;_0x188044--){const _0x7f4f30={'id':'doc.mutation.rich-text-editing','params':{..._0x248b07[_0x188044]}},_0x19b5a2={'id':_0x4ead87(0x255),'params':{..._0x42fd9e[_0x188044]}},_0x4bcea7=this[_0x4ead87(0x2b0)][_0x4ead87(0x22f)](_0x5dc08d,_0x7f4f30,!0x1),_0x282623=this[_0x4ead87(0x2b0)][_0x4ead87(0x22f)](_0x58a8ae,_0x19b5a2,!0x1);if(_0x4ecbea['isTransformMutationFailure'](_0x4bcea7))throw _0x4bcea7[_0x4ead87(0x270)];if(_0x4ecbea[_0x4ead87(0x426)](_0x282623))throw _0x282623[_0x4ead87(0x270)];_0x1ee560[_0x4ead87(0x422)](_0x4bcea7[_0x4ead87(0x3c6)][_0x4ead87(0x38c)]),_0x222969[_0x4ead87(0x422)](_0x282623[_0x4ead87(0x3c6)][_0x4ead87(0x38c)]),_0x5dc08d=_0x4bcea7[_0x4ead87(0x193)],_0x58a8ae=_0x282623[_0x4ead87(0x193)];}_0x35eb7e[_0x4ead87(0x352)]({'undoCache':_0x1ee560,'redoCache':_0x222969});}[_0x3f6827(0x1e3)](_0x28ed6b){const _0x200df4=_0x3f6827,_0x5b54ee=this[_0x200df4(0x3ef)][_0x200df4(0x450)](_0x4e3741[_0x200df4(0x300)]),_0x301534=_0x5b54ee[_0x200df4(0x36c)]();if(_0x301534==null)return;const _0xca41d9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x28ed6b[_0x200df4(0x27d)],'actions':null,'textRanges':[_0x301534]}}],_0x404d53=this[_0x200df4(0x2b0)][_0x200df4(0x2d3)](_0x28ed6b,_0xca41d9);if(!_0x4ecbea[_0x200df4(0x373)](_0x404d53))throw _0x404d53['error'];const _0x583b9f=_0x404d53[_0x200df4(0x3c6)][0x0][_0x200df4(0x38c)][_0x200df4(0x109)];Array[_0x200df4(0x410)](_0x583b9f)&&_0x583b9f[_0x200df4(0x16b)]&&_0x5b54ee[_0x200df4(0x24e)](_0x583b9f[0x0]);}};_0x12799f=_0x53cadd([_0x4fdd00(0x0,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0x4fdd00(0x1,_0x4ecbea[_0x3f6827(0x111)])],_0x12799f);var _0x1162ba=Object[_0x3f6827(0x328)],_0x2a356a=Object[_0x3f6827(0x1cb)],_0x90dbf8=(_0x53db3b,_0x349d67,_0x587e7e,_0x57956e)=>{const _0x28c7e7=_0x3f6827;for(var _0x4b459b=_0x57956e>0x1?void 0x0:_0x57956e?_0x2a356a(_0x349d67,_0x587e7e):_0x349d67,_0x2d1896=_0x53db3b[_0x28c7e7(0x16b)]-0x1,_0x5d506f;_0x2d1896>=0x0;_0x2d1896--)(_0x5d506f=_0x53db3b[_0x2d1896])&&(_0x4b459b=(_0x57956e?_0x5d506f(_0x349d67,_0x587e7e,_0x4b459b):_0x5d506f(_0x4b459b))||_0x4b459b);return _0x57956e&&_0x4b459b&&_0x1162ba(_0x349d67,_0x587e7e,_0x4b459b),_0x4b459b;},_0x1e61a6=(_0xa06086,_0x2f7ebf)=>(_0x1c0609,_0x24cba4)=>_0x2f7ebf(_0x1c0609,_0x24cba4,_0xa06086);let _0x1e8d42=class{constructor(_0x217a9c,_0x17109d){const _0x3a4007=_0x3f6827;this[_0x3a4007(0x3ef)]=_0x217a9c,this[_0x3a4007(0x2b0)]=_0x17109d;}['transformSelections'](_0x4e7e35){const _0x32dd68=_0x3f6827;var _0x56b957;const _0x538fdd=this[_0x32dd68(0x3ef)][_0x32dd68(0x450)](_0x4e3741['TextSelectionManagerService']),_0x59ff10=(_0x56b957=_0x538fdd[_0x32dd68(0x12a)]())!=null?_0x56b957:[],_0x177ab8=_0x59ff10==null?void 0x0:_0x59ff10[_0x32dd68(0x25f)](_0x4e3741['serializeTextRange']);if(_0x177ab8[_0x32dd68(0x16b)]===0x0)return;const _0x5b1567=[{'id':_0x32dd68(0x255),'params':{'unitId':_0x4e7e35[_0x32dd68(0x27d)],'actions':null,'textRanges':_0x177ab8}}],_0x1e0592=this[_0x32dd68(0x2b0)][_0x32dd68(0x2d3)](_0x4e7e35,_0x5b1567);if(!_0x4ecbea[_0x32dd68(0x373)](_0x1e0592))throw _0x1e0592[_0x32dd68(0x270)];const _0x644c1a=_0x1e0592['m2Prime'][0x0][_0x32dd68(0x38c)][_0x32dd68(0x109)];Array[_0x32dd68(0x410)](_0x644c1a)&&_0x644c1a[_0x32dd68(0x16b)]&&_0x538fdd['replaceTextRanges'](_0x644c1a,!0x1);}};_0x1e8d42=_0x90dbf8([_0x1e61a6(0x0,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x3e8)])),_0x1e61a6(0x1,_0x4ecbea[_0x3f6827(0x111)])],_0x1e8d42);function _0x190221(_0x431572){const _0x130976=_0x3f6827;let _0x2d4a93='';for(const _0x1d83b5 of _0x431572){const {startOffset:_0x2bd92f,endOffset:_0x1eddaa,isActive:_0x5742ef}=_0x1d83b5;_0x2d4a93[_0x130976(0x16b)]&&(_0x2d4a93+=','),_0x2d4a93+=_0x2bd92f+':'+_0x1eddaa+':'+(_0x5742ef?'1':'0');}return _0x2d4a93;}function _0x1ea03f(_0x145f53){const _0x29d9f6=_0x3f6827,_0x6c0f98=_0x145f53[_0x29d9f6(0x357)](','),_0x8ccfe9=[];for(const _0x486578 of _0x6c0f98){const [_0x5280c5,_0x79571b,_0x5a23cc]=_0x486578[_0x29d9f6(0x357)](':');_0x8ccfe9['push']({'startOffset':Number(_0x5280c5),'endOffset':Number(_0x79571b),'collapsed':_0x5280c5===_0x79571b,'isActive':_0x5a23cc==='1'});}return _0x8ccfe9['some'](_0x3edf4f=>_0x3edf4f[_0x29d9f6(0xd8)])||(_0x8ccfe9[0x0][_0x29d9f6(0xd8)]=!0x0),_0x8ccfe9;}class _0x581849 extends _0x28e235['RxDisposable']{constructor(){const _0xf49db2=_0x3f6827;super(...arguments),_0x2b7d82(this,_0xf49db2(0x20a),new _0x2820f3[(_0xf49db2(0x371))](null)),_0x2b7d82(this,_0xf49db2(0x16d),this[_0xf49db2(0x20a)][_0xf49db2(0x1d2)]());}['syncEditingCollabCursor'](_0x1a18f0){const _0x4571f9=_0x3f6827,{unitID:_0x170329,memberID:_0x5f23a8,textRanges:_0xe01933}=_0x1a18f0,_0x4ea06a=_0x190221(_0xe01933),_0x32d740={'unitID':_0x170329,'memberID':_0x5f23a8,'selection':_0x4ea06a};this[_0x4571f9(0x20a)][_0x4571f9(0x18d)](_0x32d740);}}var _0x2703f8=Object[_0x3f6827(0x328)],_0x4d2131=Object[_0x3f6827(0x1cb)],_0x58ce56=(_0x63cdff,_0x29dd05,_0x4a330a,_0x517064)=>{for(var _0xaae4e7=_0x517064>0x1?void 0x0:_0x517064?_0x4d2131(_0x29dd05,_0x4a330a):_0x29dd05,_0x1c5644=_0x63cdff['length']-0x1,_0xcd8319;_0x1c5644>=0x0;_0x1c5644--)(_0xcd8319=_0x63cdff[_0x1c5644])&&(_0xaae4e7=(_0x517064?_0xcd8319(_0x29dd05,_0x4a330a,_0xaae4e7):_0xcd8319(_0xaae4e7))||_0xaae4e7);return _0x517064&&_0xaae4e7&&_0x2703f8(_0x29dd05,_0x4a330a,_0xaae4e7),_0xaae4e7;},_0x485f2e=(_0x5d67f8,_0x1ebe8e)=>(_0x4f0b74,_0x1578a3)=>_0x1ebe8e(_0x4f0b74,_0x1578a3,_0x5d67f8);function _0x4e55a3(_0x32ecb6){const _0x293c89=_0x3f6827,{unitID:_0x35ecf9,mutations:_0x582381}=_0x32ecb6;return{'unitId':_0x35ecf9,'subUnitId':_0x582381[0x0]['params'][_0x293c89(0x3b2)]};}let _0x187ea5=class{constructor(_0x24ee8b,_0x34f71d){const _0x19389a=_0x3f6827;this[_0x19389a(0x3ef)]=_0x24ee8b,this['_transformService']=_0x34f71d;}[_0x3f6827(0x354)](_0x282ab2){const _0x2164e5=_0x3f6827;var _0x35548a,_0x4c739a,_0x3a6554;const _0x386642=this[_0x2164e5(0x3ef)][_0x2164e5(0x450)](_0x48cd6e[_0x2164e5(0x38e)]),{unitId:_0xb34d4a,subUnitId:_0x58b952}=_0x4e55a3(_0x282ab2),_0x17b6a0=_0x386642[_0x2164e5(0x1b3)](_0xb34d4a)[_0x2164e5(0x12a)]();if(_0x17b6a0[_0x2164e5(0x16b)]===0x0||!_0xb34d4a||!_0x58b952)return;const _0x3f3506=[{'id':_0x48cd6e[_0x2164e5(0x26f)]['id'],'params':{'unitId':_0xb34d4a,'subUnitId':_0x58b952,'selections':_0x28e235['Tools'][_0x2164e5(0x2c4)](_0x17b6a0)}}],_0x4794d5=this[_0x2164e5(0x2b0)][_0x2164e5(0x2d3)](_0x282ab2,_0x3f3506);if(!_0x4ecbea[_0x2164e5(0x373)](_0x4794d5))throw _0x4794d5[_0x2164e5(0x270)];const _0x577be6=(_0x3a6554=(_0x4c739a=(_0x35548a=_0x4794d5[_0x2164e5(0x3c6)][0x0])==null?void 0x0:_0x35548a[_0x2164e5(0x38c)])==null?void 0x0:_0x4c739a[_0x2164e5(0x275)])!=null?_0x3a6554:_0x17b6a0;Array[_0x2164e5(0x410)](_0x577be6)&&_0x577be6[_0x2164e5(0x16b)]&&this[_0x2164e5(0x3ef)][_0x2164e5(0x450)](_0x28e235['ICommandService'])[_0x2164e5(0x203)](_0x48cd6e[_0x2164e5(0x26f)]['id'],{'unitId':_0xb34d4a,'subUnitId':_0x58b952,'selections':_0x577be6});}};_0x187ea5=_0x58ce56([_0x485f2e(0x0,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0x485f2e(0x1,_0x4ecbea[_0x3f6827(0x111)])],_0x187ea5);const _0x5db670=new Set([_0x48cd6e['InsertSheetMutation']['id']]);function _0x24e396(_0x488ae6,_0x52e133,_0x50fcfe,_0x14a7b7,_0x524123){const _0x559924=_0x3f6827;var _0x3c4d01,_0x35e7f3,_0x56d12b,_0x39ff62;const _0x41009c=[];for(const _0x5f43e8 of _0x488ae6)if(_0x5db670[_0x559924(0x3c0)](_0x5f43e8['id'])){if(_0x41009c[_0x559924(0x16b)]>0x0)break;_0x41009c[_0x559924(0x386)](_0x5f43e8);break;}else _0x41009c['push'](_0x5f43e8);const _0x5b7835=(_0x35e7f3=(_0x3c4d01=_0x524123['getCurrentUser']())==null?void 0x0:_0x3c4d01['userID'])!=null?_0x35e7f3:_0x559924(0x20d),_0x1803d1=(_0x39ff62=(_0x56d12b=_0x524123[_0x559924(0x30b)]())==null?void 0x0:_0x56d12b[_0x559924(0x7f)])!=null?_0x39ff62:_0x559924(0x20d);return{'changeset':{'unitID':_0x52e133,'type':_0x4ecbea[_0x559924(0x3b6)](_0x50fcfe['getUnitType'](_0x52e133)),'baseRev':_0x14a7b7[_0x559924(0x41e)](_0x52e133),'revision':0x0,'userID':_0x5b7835,'memberID':_0x1803d1,'mutations':_0x41009c},'pendingMutations':_0x488ae6[_0x559924(0x190)](_0x41009c[_0x559924(0x16b)])};}function _0x112ee6(_0x3dffe0,_0x4661b5,_0x21e76d,_0x42391d,_0x1e5e38){const _0x140457=_0x3f6827;var _0xe77bd7,_0x509b89,_0x36026c,_0x57472a;const _0x159afc=[_0x3dffe0['reduce']((_0x379f81,_0x4addf8)=>{const _0xddb440=_0x45d3;var _0x46f50e;const {id:_0x1f75e6}=_0x379f81,{id:_0x1f8fe3,type:_0x5ab1f6}=_0x4addf8,_0x4eab00=(_0x46f50e=_0x379f81['params'])!=null?_0x46f50e:{'actions':null},_0x190428=_0x4addf8[_0xddb440(0x38c)];if(_0x1f75e6&&_0x1f75e6!==_0x1f8fe3)throw new Error(_0xddb440(0x3b7)+_0x1f75e6+'\x20-\x20'+_0x1f8fe3+'.');return{..._0x379f81,'id':_0x1f8fe3,'type':_0x5ab1f6,'params':{'unitId':_0x190428[_0xddb440(0xdf)],'textRanges':_0x190428[_0xddb440(0x109)],'actions':_0x28e235['JSONX']['compose'](_0x4eab00[_0xddb440(0x97)],_0x190428['actions'])}};},{})],_0x4c29f9=(_0x509b89=(_0xe77bd7=_0x1e5e38[_0x140457(0x30b)]())==null?void 0x0:_0xe77bd7[_0x140457(0x19a)])!=null?_0x509b89:'unknown',_0x269183=(_0x57472a=(_0x36026c=_0x1e5e38[_0x140457(0x30b)]())==null?void 0x0:_0x36026c[_0x140457(0x7f)])!=null?_0x57472a:'unknown';return{'changeset':{'unitID':_0x4661b5,'type':_0x4ecbea[_0x140457(0x3b6)](_0x21e76d[_0x140457(0x3b1)](_0x4661b5)),'baseRev':_0x42391d['getCurrentRevForDocument'](_0x4661b5),'revision':0x0,'userID':_0x4c29f9,'memberID':_0x269183,'mutations':_0x159afc},'pendingMutations':[]};}var _0x5887ae=Object[_0x3f6827(0x328)],_0x2eff1a=Object[_0x3f6827(0x1cb)],_0x8fcfef=(_0xa9b00,_0x2e9b7a,_0x536d4f,_0x859eaf)=>{const _0x33f0d8=_0x3f6827;for(var _0x553675=_0x859eaf>0x1?void 0x0:_0x859eaf?_0x2eff1a(_0x2e9b7a,_0x536d4f):_0x2e9b7a,_0x5db4d5=_0xa9b00[_0x33f0d8(0x16b)]-0x1,_0x6d2186;_0x5db4d5>=0x0;_0x5db4d5--)(_0x6d2186=_0xa9b00[_0x5db4d5])&&(_0x553675=(_0x859eaf?_0x6d2186(_0x2e9b7a,_0x536d4f,_0x553675):_0x6d2186(_0x553675))||_0x553675);return _0x859eaf&&_0x553675&&_0x5887ae(_0x2e9b7a,_0x536d4f,_0x553675),_0x553675;},_0xbe7a74=(_0x104b11,_0x1aa05a)=>(_0x4b56fe,_0x45c6d3)=>_0x1aa05a(_0x4b56fe,_0x45c6d3,_0x104b11),_0x16cedf=(_0x36fd1a=>(_0x36fd1a['NOT_COLLAB']=_0x3f6827(0x2f7),_0x36fd1a[_0x3f6827(0x423)]='synced',_0x36fd1a[_0x3f6827(0x2e3)]=_0x3f6827(0x323),_0x36fd1a[_0x3f6827(0x159)]=_0x3f6827(0x367),_0x36fd1a[_0x3f6827(0x276)]=_0x3f6827(0x9b),_0x36fd1a[_0x3f6827(0x9c)]=_0x3f6827(0x122),_0x36fd1a[_0x3f6827(0x3dc)]=_0x3f6827(0x2dc),_0x36fd1a['OFFLINE']=_0x3f6827(0x110),_0x36fd1a))(_0x16cedf||{});class _0x682a68{constructor(_0x212322,_0x528cbe,_0x3bc0c4,_0x14bd64,_0x1b6784,_0x579a68,_0x24ab4a,_0x11cc74,_0x13bb2c){const _0x105f50=_0x3f6827;_0x2b7d82(this,_0x105f50(0x2c0),null),_0x2b7d82(this,_0x105f50(0x413),[]),(this['unitID']=_0x212322,this[_0x105f50(0x1ba)]=_0x528cbe,this[_0x105f50(0x31c)]=_0x1b6784,this['_commandService']=_0x579a68,this[_0x105f50(0x305)]=_0x24ab4a,this[_0x105f50(0x304)]=_0x11cc74,this['_localCacheService']=_0x13bb2c,this[_0x105f50(0x2c0)]=_0x3bc0c4,this['_pendingMutations']=_0x14bd64);}[_0x3f6827(0x2b8)](_0x430e7e){const _0x3efb9d=_0x3f6827,_0xd705f4=this[_0x3efb9d(0x304)][_0x3efb9d(0x41e)](this['unitID']);return _0x430e7e['revision']>_0xd705f4+0x1?(this['_handler'][_0x3efb9d(0x2ba)]({'from':_0xd705f4,'to':_0x430e7e['revision']-0x1}),!0x0):!0x1;}[_0x3f6827(0x2a1)](_0x3d4932){const _0x340bc2=_0x3f6827;this[_0x340bc2(0x305)]['transformUndoRedo'](this[_0x340bc2(0x27d)],_0x3d4932);}[_0x3f6827(0xef)](_0x38b3c5){const _0x4bc59e=_0x3f6827;var _0x427a41,_0x23ecbe;(_0x23ecbe=(_0x427a41=this[_0x4bc59e(0x31c)])[_0x4bc59e(0x2b4)])==null||_0x23ecbe['call'](_0x427a41,_0x38b3c5);}[_0x3f6827(0x1dd)](_0x274b27){const _0x2e9864=_0x3f6827;var _0x2257d7,_0x114a0c;return(_0x114a0c=(_0x2257d7=this['_handler'])[_0x2e9864(0x405)])==null?void 0x0:_0x114a0c[_0x2e9864(0x364)](_0x2257d7,_0x274b27);}[_0x3f6827(0x10e)](_0x35aef2){const _0x3529bd=_0x3f6827;var _0x5c80aa,_0x33846b,_0x420a1c;return(_0x420a1c=(_0x33846b=(_0x5c80aa=this[_0x3529bd(0x31c)])[_0x3529bd(0xd3)])==null?void 0x0:_0x33846b[_0x3529bd(0x364)](_0x5c80aa,_0x35aef2))!=null?_0x420a1c:_0x35aef2;}[_0x3f6827(0x2db)](_0xfb37b6){const _0x134117=_0x3f6827;var _0x2964d8,_0x4d6e80;if(this[_0x134117(0x1ba)]===_0x2dcfa8['UNIVER_DOC']){const {unitID:_0x414fd0,mutations:_0x3e384f,memberID:_0x540a30}=_0xfb37b6,_0x2d477d=_0x3e384f[0x0][_0x134117(0x38c)][_0x134117(0x109)];Array[_0x134117(0x410)](_0x2d477d)&&_0x2d477d['length']>0x0&&((_0x4d6e80=(_0x2964d8=this[_0x134117(0x31c)])[_0x134117(0x26a)])==null||_0x4d6e80[_0x134117(0x364)](_0x2964d8,{'unitID':_0x414fd0,'memberID':_0x540a30,'textRanges':_0x2d477d}));}}[_0x3f6827(0x2c9)](){const _0x30ca71=_0x3f6827;this[_0x30ca71(0x2a6)][_0x30ca71(0x418)](this[_0x30ca71(0x27d)],this[_0x30ca71(0x1ba)],this['_awaitingChangeset'],this[_0x30ca71(0x413)]);}[_0x3f6827(0x420)](){const _0x2c95b2=_0x3f6827;return this[_0x2c95b2(0x304)]['getCurrentRevForDocument'](this[_0x2c95b2(0x27d)]);}[_0x3f6827(0x1d1)](){const _0x39983d=_0x3f6827;this[_0x39983d(0x304)][_0x39983d(0x445)](this[_0x39983d(0x27d)]);}[_0x3f6827(0x1f9)](_0x3cb350){const _0x3d73a9=_0x3f6827;var _0xaa7e4a;const _0x34892b=this[_0x3d73a9(0x10e)](_0x3cb350),_0x45f8d2=_0x28e235[_0x3d73a9(0x3d8)](_0x34892b['mutations'],this[_0x3d73a9(0x11a)],{'fromCollab':!0x0});if(!_0x45f8d2[_0x3d73a9(0x1c8)])throw _0x45f8d2[_0x3d73a9(0x270)]instanceof Error?_0x45f8d2[_0x3d73a9(0x270)]:new Error((_0xaa7e4a=_0x45f8d2['error'])!=null?_0xaa7e4a:_0x3d73a9(0xac));this[_0x3d73a9(0x1dd)](_0x34892b),this[_0x3d73a9(0x2a1)](_0x3cb350),this[_0x3d73a9(0xef)](_0x34892b),this[_0x3d73a9(0x2db)](_0x34892b),this[_0x3d73a9(0x1d1)]();}}let _0x4d206c=class extends _0x682a68{constructor(_0x51707d,_0x406acb,_0x2544e0,_0x4e7170,_0x1b67c4,_0x337246,_0x1d7567,_0x5e3946,_0x4cceb6){const _0x2eca43=_0x3f6827;super(_0x51707d,_0x406acb,null,[],_0x2544e0,_0x5e3946,_0x1d7567,_0x4e7170,_0x1b67c4),_0x2b7d82(this,_0x2eca43(0x2de),_0x2eca43(0xea)),(this[_0x2eca43(0x3ef)]=_0x337246,this[_0x2eca43(0x1af)]=_0x4cceb6);}[_0x3f6827(0x2c5)](_0x3354fd){const _0x48b7f2=_0x3f6827,_0x23288c=this[_0x48b7f2(0x3ef)][_0x48b7f2(0x42d)](_0x4b179e,this[_0x48b7f2(0x27d)],this[_0x48b7f2(0x1ba)],[_0x3354fd],this[_0x48b7f2(0x31c)]);return _0x23288c[_0x48b7f2(0x35f)](),_0x23288c['_updateLocalCache'](),_0x23288c;}[_0x3f6827(0x134)](_0xc67462){const _0x286252=_0x3f6827;if(this[_0x286252(0x2b8)](_0xc67462))return this['_injector'][_0x286252(0x42d)](_0x1aa56b,this[_0x286252(0x27d)],this['type'],null,[],null,[_0xc67462],this[_0x286252(0x31c)]);try{return this['_executeRemoteChangeset'](_0xc67462),this;}catch(_0x122ec5){return this[_0x286252(0x1af)][_0x286252(0x270)](_0x286252(0x181),_0x122ec5),this;}}[_0x3f6827(0xfb)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x2d04bc=_0x3f6827;throw new Error(_0x2d04bc(0x395));}['toggleOffline'](){const _0x287982=_0x3f6827;return this[_0x287982(0x3ef)][_0x287982(0x42d)](_0x369c09,this[_0x287982(0x27d)],this['type'],null,[],this[_0x287982(0x31c)]);}['toggleOnline'](){return this;}[_0x3f6827(0x355)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x4d206c=_0x8fcfef([_0xbe7a74(0x3,_0x28e235['Inject'](_0x4ecbea[_0x3f6827(0x32c)])),_0xbe7a74(0x4,_0x28e235[_0x3f6827(0xb5)](_0x538e2a[_0x3f6827(0x249)])),_0xbe7a74(0x5,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0xbe7a74(0x6,_0x28e235[_0x3f6827(0x363)]),_0xbe7a74(0x7,_0x28e235[_0x3f6827(0x23d)]),_0xbe7a74(0x8,_0x28e235[_0x3f6827(0x40e)])],_0x4d206c);let _0x4b179e=class extends _0x682a68{constructor(_0x1c52af,_0x1ac9d5,_0x445f53,_0x293fa6,_0x241fe1,_0x5e3ef2,_0x4b3e63,_0x36baf0,_0xfba6d5,_0x3afb87,_0x5ea63a,_0x1f7024,_0x3bb2f0,_0x205f2b){const _0x54f644=_0x3f6827;super(_0x1c52af,_0x1ac9d5,null,_0x445f53,_0x293fa6,_0x3afb87,_0x205f2b,_0x5e3ef2,_0x4b3e63),_0x2b7d82(this,'status',_0x54f644(0x323)),_0x2b7d82(this,_0x54f644(0x31a),null),_0x2b7d82(this,_0x54f644(0x1c2),null),(this[_0x54f644(0x3ef)]=_0x241fe1,this[_0x54f644(0x13c)]=_0x36baf0,this[_0x54f644(0x1af)]=_0xfba6d5,this[_0x54f644(0x381)]=_0x5ea63a,this[_0x54f644(0x2b0)]=_0x1f7024,this[_0x54f644(0x156)]=_0x3bb2f0);}['appendMutation'](_0x5051a8){const _0x4668ee=_0x3f6827;return this['_pendingMutations']['push'](_0x5051a8),this[_0x4668ee(0x2c9)](),this;}[_0x3f6827(0x134)](_0x1c3971){const _0x28c9c3=_0x3f6827;if(this[_0x28c9c3(0x2b8)](_0x1c3971))return this[_0x28c9c3(0x16c)](),this['_injector']['createInstance'](_0x1aa56b,this[_0x28c9c3(0x27d)],this['type'],null,this[_0x28c9c3(0x413)],null,[_0x1c3971],this[_0x28c9c3(0x31c)]);try{const _0x2f845b=this[_0x28c9c3(0x2b0)]['transformMutationsWithChangeset'](_0x1c3971,this[_0x28c9c3(0x413)]);if(_0x4ecbea[_0x28c9c3(0x373)](_0x2f845b)){const {c1Prime:_0x2fbfd4,m2Prime:_0xde495e}=_0x2f845b;this[_0x28c9c3(0x1f9)](_0x2fbfd4);const _0xc67121=this[_0x28c9c3(0x3ef)][_0x28c9c3(0x42d)](_0x4b179e,this[_0x28c9c3(0x27d)],this[_0x28c9c3(0x1ba)],_0xde495e,this[_0x28c9c3(0x31c)]);return this[_0x28c9c3(0x16c)](),_0xc67121['_schedule'](this[_0x28c9c3(0x31a)]?Math[_0x28c9c3(0x231)](0x0,new Date()[_0x28c9c3(0xf5)]()-this['_scheduleTimestamp']):this[_0x28c9c3(0x38b)]()),_0xc67121;}throw _0x2f845b[_0x28c9c3(0x270)];}catch(_0x206ddc){return this[_0x28c9c3(0x1af)][_0x28c9c3(0x270)](_0x206ddc),this[_0x28c9c3(0x1b4)](!0x1);}}[_0x3f6827(0xfb)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3f6827(0x335)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3f6827(0x2f4)](){const _0xdefd93=_0x3f6827;return this[_0xdefd93(0x16c)](),this[_0xdefd93(0x3ef)][_0xdefd93(0x42d)](_0x369c09,this[_0xdefd93(0x27d)],this[_0xdefd93(0x1ba)],null,this['_pendingMutations'],this[_0xdefd93(0x31c)]);}[_0x3f6827(0x456)](){return this;}[_0x3f6827(0x35f)](_0x5bebe0){_0x5bebe0=_0x5bebe0!=null?_0x5bebe0:this['_getSendChangesetTimeout'](),this['_scheduleTimestamp']=new Date()['getTime'](),this['_sendingTimer']=setTimeout(()=>{const _0x40336a=_0x45d3;this['_clearScheduledTask']();let _0x5d17b4=null;switch(this[_0x40336a(0x1ba)]){case _0x2dcfa8[_0x40336a(0x33b)]:{_0x5d17b4=_0x24e396(this[_0x40336a(0x413)],this[_0x40336a(0x27d)],this[_0x40336a(0x156)],this['_revisionService'],this[_0x40336a(0x13c)]);break;}case _0x2dcfa8['UNIVER_DOC']:{_0x5d17b4=_0x112ee6(this['_pendingMutations'],this['unitID'],this[_0x40336a(0x156)],this[_0x40336a(0x304)],this['_memberService']);break;}default:throw new Error(_0x40336a(0x137)+this[_0x40336a(0x1ba)]+'\x20in\x20_schedule.');}const {changeset:_0x2a8995,pendingMutations:_0x675fed}=_0x5d17b4;this[_0x40336a(0x31c)]['onSendChangeset'](_0x2a8995);const _0x45b918=_0x675fed[_0x40336a(0x16b)]?this['_injector'][_0x40336a(0x42d)](_0x24db4f,this[_0x40336a(0x27d)],this[_0x40336a(0x1ba)],_0x2a8995,_0x675fed,this['_handler']):this[_0x40336a(0x3ef)][_0x40336a(0x42d)](_0x3a3533,this[_0x40336a(0x27d)],this[_0x40336a(0x1ba)],_0x2a8995,this[_0x40336a(0x31c)]);_0x45b918[_0x40336a(0x2c9)](),this[_0x40336a(0x31c)][_0x40336a(0xfe)](this,_0x45b918);},_0x5bebe0);}[_0x3f6827(0x38b)](){const _0x57c706=_0x3f6827;var _0x7297c3;return(_0x7297c3=this[_0x57c706(0x381)][_0x57c706(0x457)](_0x3e60d2))!=null?_0x7297c3:0x7d0;}[_0x3f6827(0x355)](){const _0x28a876=_0x3f6827;throw new Error(_0x28a876(0x302));}['_clearScheduledTask'](){const _0x1e228e=_0x3f6827;this[_0x1e228e(0x1c2)]!=null&&(clearTimeout(this[_0x1e228e(0x1c2)]),this[_0x1e228e(0x1c2)]=null);}[_0x3f6827(0x1b4)](_0x4c3b1a){const _0x5315e3=_0x3f6827;return this[_0x5315e3(0x16c)](),this[_0x5315e3(0x3ef)][_0x5315e3(0x42d)](_0x1fe487,this[_0x5315e3(0x27d)],this['type'],null,this[_0x5315e3(0x413)],this['_handler'],_0x4c3b1a);}};_0x4b179e=_0x8fcfef([_0xbe7a74(0x4,_0x28e235[_0x3f6827(0xb5)](_0x28e235['Injector'])),_0xbe7a74(0x5,_0x28e235['Inject'](_0x4ecbea[_0x3f6827(0x32c)])),_0xbe7a74(0x6,_0x28e235['Inject'](_0x538e2a[_0x3f6827(0x249)])),_0xbe7a74(0x7,_0x28e235[_0x3f6827(0xb5)](_0x1d7fc4)),_0xbe7a74(0x8,_0x28e235[_0x3f6827(0x40e)]),_0xbe7a74(0x9,_0x28e235[_0x3f6827(0x23d)]),_0xbe7a74(0xa,_0x28e235[_0x3f6827(0x115)]),_0xbe7a74(0xb,_0x4ecbea[_0x3f6827(0x111)]),_0xbe7a74(0xc,_0x28e235['IUniverInstanceService']),_0xbe7a74(0xd,_0x28e235[_0x3f6827(0x363)])],_0x4b179e);let _0x3a3533=class extends _0x682a68{constructor(_0x582bc2,_0x1e6d0d,_0x215036,_0x2741d4,_0x37c9d7,_0x231987,_0x110a8a,_0x3d99d8,_0x1dc7ea,_0x146d5f,_0x796c6c){const _0x877b5=_0x3f6827;super(_0x582bc2,_0x1e6d0d,_0x215036,[],_0x2741d4,_0x3d99d8,_0x796c6c,_0x231987,_0x110a8a),_0x2b7d82(this,_0x877b5(0x2de),_0x877b5(0x367)),(this[_0x877b5(0x3ef)]=_0x37c9d7,this[_0x877b5(0x1af)]=_0x1dc7ea,this[_0x877b5(0x2b0)]=_0x146d5f);}[_0x3f6827(0x2c5)](_0x3c7737){const _0x1aa8a1=_0x3f6827,_0x33e1cc=this['_injector'][_0x1aa8a1(0x42d)](_0x24db4f,this['unitID'],this[_0x1aa8a1(0x1ba)],this['_awaitingChangeset'],[_0x3c7737],this[_0x1aa8a1(0x31c)]);return _0x33e1cc[_0x1aa8a1(0x2c9)](),_0x33e1cc;}['onRemoteChangeset'](_0x3eae86){const _0x3764f3=_0x3f6827;if(this[_0x3764f3(0x2b8)](_0x3eae86))return this[_0x3764f3(0x3ef)][_0x3764f3(0x42d)](_0x1aa56b,this[_0x3764f3(0x27d)],this[_0x3764f3(0x1ba)],this[_0x3764f3(0x2c0)],[],null,[_0x3eae86],this[_0x3764f3(0x31c)]);try{const _0x413c23=this[_0x3764f3(0x2b0)][_0x3764f3(0x292)]([_0x3eae86],[this['_awaitingChangeset']],!0x1);if(_0x4ecbea[_0x3764f3(0xa9)](_0x413c23)){const {c1Prime:_0x362ef5,c2Prime:_0x11071a}=_0x413c23;this[_0x3764f3(0x1f9)](_0x362ef5[0x0]),_0x11071a[0x0][_0x3764f3(0x41f)]=this['_getCurrentRevision']();const _0x580390=this['_injector'][_0x3764f3(0x42d)](_0x3a3533,this['unitID'],this[_0x3764f3(0x1ba)],_0x11071a[0x0],this[_0x3764f3(0x31c)]);return _0x580390['_updateLocalCache'](),_0x580390;}return this[_0x3764f3(0x1b4)](!0x1);}catch(_0x2e6584){return this[_0x3764f3(0x1af)][_0x3764f3(0x270)](_0x2e6584),this[_0x3764f3(0x1b4)](!0x1);}}[_0x3f6827(0xfb)](_0x163ec0){const _0x5cde44=_0x3f6827,_0x559b50=this['_revisionService']['getCurrentRevForDocument'](this[_0x5cde44(0x27d)]);if(_0x163ec0['revision']<_0x559b50-0x1)return this;if(this[_0x5cde44(0x2b8)](_0x163ec0))return this[_0x5cde44(0x3ef)][_0x5cde44(0x42d)](_0x1aa56b,this[_0x5cde44(0x27d)],this[_0x5cde44(0x1ba)],null,[],this['_awaitingChangeset'],[],this[_0x5cde44(0x31c)]);this[_0x5cde44(0x1d1)]();const _0x8157=this[_0x5cde44(0x3ef)][_0x5cde44(0x42d)](_0x4d206c,this['unitID'],this['type'],this[_0x5cde44(0x31c)]);return _0x8157[_0x5cde44(0x2c9)](),_0x8157;}['onRemoteRej'](_0x5f3ab7){const _0x100b63=_0x3f6827;return this[_0x100b63(0x1b4)](!!(_0x5f3ab7!=null&&_0x5f3ab7[_0x100b63(0x26b)]));}[_0x3f6827(0x2f4)](){const _0xae590b=_0x3f6827;return this[_0xae590b(0x3ef)][_0xae590b(0x42d)](_0x369c09,this[_0xae590b(0x27d)],this[_0xae590b(0x1ba)],this[_0xae590b(0x2c0)],[],this[_0xae590b(0x31c)]);}['toggleOnline'](){return this;}[_0x3f6827(0x355)](){const _0x19107b=_0x3f6827;this[_0x19107b(0x31c)][_0x19107b(0x14e)](this['_awaitingChangeset']);}[_0x3f6827(0x1b4)](_0x3c59fc){const _0x10ac17=_0x3f6827;return this[_0x10ac17(0x3ef)]['createInstance'](_0x1fe487,this['unitID'],this[_0x10ac17(0x1ba)],this[_0x10ac17(0x2c0)],[],this[_0x10ac17(0x31c)],_0x3c59fc);}};_0x3a3533=_0x8fcfef([_0xbe7a74(0x4,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x3e8)])),_0xbe7a74(0x5,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea[_0x3f6827(0x32c)])),_0xbe7a74(0x6,_0x28e235['Inject'](_0x538e2a['LocalCacheService'])),_0xbe7a74(0x7,_0x28e235[_0x3f6827(0x23d)]),_0xbe7a74(0x8,_0x28e235[_0x3f6827(0x40e)]),_0xbe7a74(0x9,_0x4ecbea[_0x3f6827(0x111)]),_0xbe7a74(0xa,_0x28e235[_0x3f6827(0x363)])],_0x3a3533);let _0x24db4f=class extends _0x682a68{constructor(_0x5d2637,_0x1b9537,_0xddd07d,_0x58615b,_0x97e34e,_0x268464,_0x1777eb,_0x2f6d64,_0x4a6248,_0x32f474,_0x46df89,_0x5b288e){const _0xae0860=_0x3f6827;super(_0x5d2637,_0x1b9537,_0xddd07d,_0x58615b,_0x97e34e,_0x4a6248,_0x5b288e,_0x1777eb,_0x2f6d64),_0x2b7d82(this,_0xae0860(0x2de),_0xae0860(0x9b)),(this[_0xae0860(0x3ef)]=_0x268464,this[_0xae0860(0x1af)]=_0x32f474,this['_transformService']=_0x46df89);}['appendMutation'](_0x57bd5d){return this['_pendingMutations']['push'](_0x57bd5d),this;}['onRemoteChangeset'](_0x2453e2){const _0xbf5dd4=_0x3f6827;if(this[_0xbf5dd4(0x2b8)](_0x2453e2))return this['_injector']['createInstance'](_0x1aa56b,this[_0xbf5dd4(0x27d)],this['type'],this[_0xbf5dd4(0x2c0)],this[_0xbf5dd4(0x413)],null,[_0x2453e2],this['_handler']);try{const _0xccc8af=this[_0xbf5dd4(0x2b0)][_0xbf5dd4(0x292)]([_0x2453e2],[this[_0xbf5dd4(0x2c0)]],!0x1);if(_0x4ecbea[_0xbf5dd4(0xa9)](_0xccc8af)){const {c1Prime:_0x5dd027,c2Prime:_0x15536f}=_0xccc8af,_0x256579=this[_0xbf5dd4(0x2b0)]['transformMutationsWithChangeset'](_0x5dd027[0x0],this[_0xbf5dd4(0x413)]);if(_0x4ecbea[_0xbf5dd4(0x373)](_0x256579)){const {c1Prime:_0x4e2884,m2Prime:_0x47ba3e}=_0x256579;return this['_executeRemoteChangeset'](_0x4e2884),_0x15536f[0x0][_0xbf5dd4(0x41f)]=this[_0xbf5dd4(0x420)](),this[_0xbf5dd4(0x3ef)][_0xbf5dd4(0x42d)](_0x24db4f,this[_0xbf5dd4(0x27d)],this[_0xbf5dd4(0x1ba)],_0x15536f[0x0],_0x47ba3e,this[_0xbf5dd4(0x31c)]);}throw _0x256579[_0xbf5dd4(0x270)];}throw _0xccc8af[_0xbf5dd4(0x270)];}catch(_0xab38ee){return this[_0xbf5dd4(0x1af)]['error'](_0xab38ee),this[_0xbf5dd4(0x1b4)](!0x1);}}[_0x3f6827(0xfb)](_0x46ea6){const _0x3aa64f=_0x3f6827;if(this[_0x3aa64f(0x2b8)](_0x46ea6))return this['_injector'][_0x3aa64f(0x42d)](_0x1aa56b,this[_0x3aa64f(0x27d)],this[_0x3aa64f(0x1ba)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x3aa64f(0x31c)]);this[_0x3aa64f(0x1d1)]();const _0x3cf0b0=this['_injector'][_0x3aa64f(0x42d)](_0x4b179e,this[_0x3aa64f(0x27d)],this[_0x3aa64f(0x1ba)],this['_pendingMutations'],this[_0x3aa64f(0x31c)]);return _0x3cf0b0['_schedule'](),_0x3cf0b0[_0x3aa64f(0x2c9)](),_0x3cf0b0;}[_0x3f6827(0x335)](_0x1c23c9){const _0x430e71=_0x3f6827;return this[_0x430e71(0x1b4)](!!(_0x1c23c9!=null&&_0x1c23c9[_0x430e71(0x26b)]));}['toggleOffline'](){const _0x4bdfb6=_0x3f6827;return this[_0x4bdfb6(0x3ef)][_0x4bdfb6(0x42d)](_0x369c09,this[_0x4bdfb6(0x27d)],this[_0x4bdfb6(0x1ba)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x3f6827(0x456)](){return this;}[_0x3f6827(0x355)](){const _0x5e7abe=_0x3f6827;this[_0x5e7abe(0x31c)][_0x5e7abe(0x14e)](this[_0x5e7abe(0x2c0)]);}[_0x3f6827(0x1b4)](_0x5c6e27){const _0x53e58e=_0x3f6827;return this[_0x53e58e(0x3ef)][_0x53e58e(0x42d)](_0x1fe487,this['unitID'],this[_0x53e58e(0x1ba)],null,this['_pendingMutations'],this[_0x53e58e(0x31c)],_0x5c6e27);}};_0x24db4f=_0x8fcfef([_0xbe7a74(0x5,_0x28e235[_0x3f6827(0xb5)](_0x28e235['Injector'])),_0xbe7a74(0x6,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea[_0x3f6827(0x32c)])),_0xbe7a74(0x7,_0x28e235['Inject'](_0x538e2a[_0x3f6827(0x249)])),_0xbe7a74(0x8,_0x28e235[_0x3f6827(0x23d)]),_0xbe7a74(0x9,_0x28e235[_0x3f6827(0x40e)]),_0xbe7a74(0xa,_0x4ecbea[_0x3f6827(0x111)]),_0xbe7a74(0xb,_0x28e235[_0x3f6827(0x363)])],_0x24db4f);let _0x1fe487=class extends _0x682a68{constructor(_0x3f8ec9,_0x88cec9,_0x34e56c,_0x1f80f2,_0x3be39d,_0x3ee648=!0x1,_0x3dccfd,_0x3c9df3,_0x6bc957,_0x2bead1,_0xb99271,_0x44f6fb,_0x5961ff){const _0x1f23a1=_0x3f6827;super(_0x3f8ec9,_0x88cec9,_0x34e56c,_0x1f80f2,_0x3be39d,_0x3c9df3,_0x6bc957,_0xb99271,_0x2bead1),_0x2b7d82(this,_0x1f23a1(0x2de),_0x1f23a1(0x2dc)),(this[_0x1f23a1(0x3b0)]=_0x3ee648,this[_0x1f23a1(0x9d)]=_0x3dccfd,this[_0x1f23a1(0x424)]=_0x44f6fb,this[_0x1f23a1(0x31f)]=_0x5961ff,this[_0x1f23a1(0x285)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x3f6827(0x2c5)](){return this;}[_0x3f6827(0x134)](){return this;}['onRemoteAck'](){return this;}[_0x3f6827(0x335)](){return this;}[_0x3f6827(0x2f4)](){return this;}[_0x3f6827(0x456)](){return this;}['resend'](){const _0x58ce95=_0x3f6827;throw new Error(_0x58ce95(0x174));}[_0x3f6827(0x7b)](){const _0x55000b=_0x3f6827;this['_localCacheService']['updateOfflineData'](this[_0x55000b(0x27d)],this[_0x55000b(0x1ba)],null,[]);}[_0x3f6827(0x285)](){const _0xd59f39=_0x3f6827;this[_0xd59f39(0x3b0)]?this[_0xd59f39(0x31f)]['show']({'title':this[_0xd59f39(0x424)]['t'](_0xd59f39(0x419)),'content':this['_localeService']['t'](_0xd59f39(0x280)),'type':'error','duration':0x0}):this['_notificationService'][_0xd59f39(0x226)]({'title':this[_0xd59f39(0x424)]['t'](_0xd59f39(0x389)),'content':this[_0xd59f39(0x424)]['t']('conflict.content'),'type':_0xd59f39(0x270),'duration':0x0});}[_0x3f6827(0x11d)](){const _0x52ec65=_0x3f6827;this[_0x52ec65(0x9d)][_0x52ec65(0x22d)](new _0x48cd6e[(_0x52ec65(0x286))](this['unitID'])['id'],!0x1);}};_0x1fe487=_0x8fcfef([_0xbe7a74(0x6,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x30d)])),_0xbe7a74(0x7,_0x28e235['ICommandService']),_0xbe7a74(0x8,_0x28e235[_0x3f6827(0x363)]),_0xbe7a74(0x9,_0x28e235[_0x3f6827(0xb5)](_0x538e2a[_0x3f6827(0x249)])),_0xbe7a74(0xa,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea['RevisionService'])),_0xbe7a74(0xb,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3a0)])),_0xbe7a74(0xc,_0x1d23ef[_0x3f6827(0x298)])],_0x1fe487);let _0x369c09=class extends _0x682a68{constructor(_0x4bceb6,_0x498aa1,_0x39783f,_0x446b29,_0x593a7d,_0x3d3e7b,_0x589de0,_0x4cd1ea,_0x33bdd1,_0x1774da){const _0x32d834=_0x3f6827;super(_0x4bceb6,_0x498aa1,_0x39783f,_0x446b29,_0x593a7d,_0x33bdd1,_0x1774da,_0x589de0,_0x4cd1ea),_0x2b7d82(this,'status',_0x32d834(0x110)),this['_injector']=_0x3d3e7b;}[_0x3f6827(0x2c5)](_0x5973f3){const _0x2f1461=_0x3f6827;return this[_0x2f1461(0x413)][_0x2f1461(0x386)](_0x5973f3),this[_0x2f1461(0x2c9)](),this;}['onRemoteChangeset'](_0x59bcfa){const _0x9d99a7=_0x3f6827;throw new Error(_0x9d99a7(0x8a));}[_0x3f6827(0xfb)](){const _0x550f28=_0x3f6827;throw new Error(_0x550f28(0x40d));}[_0x3f6827(0x335)](){const _0x2d026a=_0x3f6827;throw new Error(_0x2d026a(0x3f1));}[_0x3f6827(0x2f4)](){return this;}['toggleOnline'](){const _0x1032d8=_0x3f6827,{_injector:_0x393ea5,_pendingMutations:_0x589171,_awaitingChangeset:_0x513c9a,unitID:_0x4f02c7,_handler:_0x5ba6c9,type:_0x840463}=this,_0x3895e8=_0x1aaec5(_0x393ea5,_0x4f02c7,_0x840463,_0x513c9a,_0x589171,_0x5ba6c9);return _0x3895e8 instanceof _0x4b179e?_0x3895e8[_0x1032d8(0x35f)]():(_0x3895e8 instanceof _0x24db4f||_0x3895e8 instanceof _0x3a3533)&&_0x3895e8[_0x1032d8(0x355)](),_0x3895e8;}[_0x3f6827(0x355)](){const _0x2341a5=_0x3f6827;throw new Error(_0x2341a5(0x455));}};_0x369c09=_0x8fcfef([_0xbe7a74(0x5,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x3e8)])),_0xbe7a74(0x6,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea[_0x3f6827(0x32c)])),_0xbe7a74(0x7,_0x28e235[_0x3f6827(0xb5)](_0x538e2a['LocalCacheService'])),_0xbe7a74(0x8,_0x28e235['ICommandService']),_0xbe7a74(0x9,_0x28e235['IUndoRedoService'])],_0x369c09);let _0x1aa56b=class extends _0x682a68{constructor(_0x29a57e,_0x50fdb4,_0x3dd75c,_0xe2a875,_0x4fa0db,_0x293572,_0x2ac1cf,_0x51523b,_0x14e14a,_0x24446a,_0x3ab0a7,_0x1d3b12,_0x4e40e1,_0x1872c8){const _0x423ce8=_0x3f6827;super(_0x29a57e,_0x50fdb4,_0x3dd75c,_0xe2a875,_0x2ac1cf,_0x1d3b12,_0x4e40e1,_0x14e14a,_0x24446a),_0x2b7d82(this,'status',_0x423ce8(0x122)),(this[_0x423ce8(0x18c)]=_0x4fa0db,this['_queuedRemoteChangesets']=_0x293572,this[_0x423ce8(0x3ef)]=_0x51523b,this[_0x423ce8(0x1af)]=_0x3ab0a7,this[_0x423ce8(0x2b0)]=_0x1872c8);}[_0x3f6827(0x1d8)](_0x2b27a8){const _0x4558e1=_0x3f6827;try{const _0x1a0ccf=[..._0x2b27a8,...this['_queuedRemoteChangesets']],_0xe2a7a4=[this[_0x4558e1(0x2c0)]||this[_0x4558e1(0x18c)]][_0x4558e1(0x44a)](_0x3a1633=>!!_0x3a1633);let _0xfefcd7,_0x1198c4;if(_0xe2a7a4[_0x4558e1(0x16b)]){const _0x25c9d5=this[_0x4558e1(0x2b0)][_0x4558e1(0x292)](_0x1a0ccf,_0xe2a7a4,!0x1);if(!_0x4ecbea[_0x4558e1(0xa9)](_0x25c9d5))throw _0x25c9d5[_0x4558e1(0x270)];_0xfefcd7=_0x25c9d5['c1Prime'],_0x1198c4=_0x25c9d5[_0x4558e1(0x158)];}else _0xfefcd7=_0x1a0ccf,_0x1198c4=[];let _0x655093=this['_pendingMutations'];_0xfefcd7[_0x4558e1(0x384)](_0xbb3e19=>{const _0x3db8d1=_0x4558e1;let _0x293b34;if(_0x655093['length']){const _0x1cf231=this[_0x3db8d1(0x2b0)]['transformMutationsWithChangeset'](_0xbb3e19,_0x655093);if(!_0x4ecbea['isTransformMutationsWithChangesetSuccess'](_0x1cf231))throw _0x1cf231['error'];_0x293b34=_0x1cf231[_0x3db8d1(0x35d)],_0x655093=_0x1cf231[_0x3db8d1(0x3c6)];}else _0x293b34=_0xbb3e19;this[_0x3db8d1(0x1f9)](_0x293b34);}),this[_0x4558e1(0x18c)]&&this[_0x4558e1(0x1d1)](),this[_0x4558e1(0x2c0)]&&_0x1198c4[_0x4558e1(0x16b)]&&(_0x1198c4[0x0][_0x4558e1(0x41f)]=this[_0x4558e1(0x420)]());let _0x5a9665;if(this[_0x4558e1(0x2c0)]&&_0x655093[_0x4558e1(0x16b)]!==0x0)_0x5a9665=this[_0x4558e1(0x3ef)][_0x4558e1(0x42d)](_0x24db4f,this['unitID'],this[_0x4558e1(0x1ba)],_0x1198c4[0x0],_0x655093,this[_0x4558e1(0x31c)]);else{if(this[_0x4558e1(0x2c0)]&&_0x655093[_0x4558e1(0x16b)]===0x0)_0x1198c4[0x0][_0x4558e1(0x41f)]=this['_getCurrentRevision'](),_0x5a9665=this[_0x4558e1(0x3ef)][_0x4558e1(0x42d)](_0x3a3533,this['unitID'],this[_0x4558e1(0x1ba)],_0x1198c4[0x0],this['_handler']);else{if(_0x655093[_0x4558e1(0x16b)]!==0x0){const _0x3606d8=this[_0x4558e1(0x3ef)][_0x4558e1(0x42d)](_0x4b179e,this[_0x4558e1(0x27d)],this[_0x4558e1(0x1ba)],_0x655093,this[_0x4558e1(0x31c)]);_0x3606d8[_0x4558e1(0x35f)](),_0x5a9665=_0x3606d8;}else _0x5a9665=this['_injector']['createInstance'](_0x4d206c,this[_0x4558e1(0x27d)],this[_0x4558e1(0x1ba)],this[_0x4558e1(0x31c)]);}}return _0x5a9665[_0x4558e1(0x2c9)](),_0x5a9665;}catch(_0x4e7ee1){return this[_0x4558e1(0x1af)][_0x4558e1(0x270)](_0x4558e1(0x2bb),_0x4558e1(0xe1),_0x4e7ee1),this['_injector'][_0x4558e1(0x42d)](_0x1fe487,this[_0x4558e1(0x27d)],this[_0x4558e1(0x1ba)],this[_0x4558e1(0x2c0)],this[_0x4558e1(0x413)],this[_0x4558e1(0x31c)],!0x1);}}[_0x3f6827(0x355)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f6827(0x2c5)](_0x508192){const _0xed2712=_0x3f6827;return this[_0xed2712(0x413)][_0xed2712(0x386)](_0x508192),this;}['onRemoteChangeset'](_0xf5f57f){const _0xf31db4=_0x3f6827;return this[_0xf31db4(0xa4)][_0xf31db4(0x386)](_0xf5f57f),this;}[_0x3f6827(0xfb)](_0x7cea58){const _0x1fce38=_0x3f6827;if(this[_0x1fce38(0x2c0)])return this[_0x1fce38(0x18c)]=this[_0x1fce38(0x2c0)],this[_0x1fce38(0x2c0)]=null,this;throw new Error(_0x1fce38(0x1c3));}[_0x3f6827(0x335)](_0x4a2ffa){const _0x1ea1f7=_0x3f6827;return this[_0x1ea1f7(0x1b4)](!!(_0x4a2ffa!=null&&_0x4a2ffa[_0x1ea1f7(0x26b)]));}[_0x3f6827(0x2f4)](){const _0x41fb31=_0x3f6827;return this[_0x41fb31(0x3ef)][_0x41fb31(0x42d)](_0x369c09,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x41fb31(0x413)],this['_handler']);}[_0x3f6827(0x456)](){return this;}[_0x3f6827(0x1b4)](_0x54b037){const _0xdfeb7d=_0x3f6827;return this[_0xdfeb7d(0x3ef)]['createInstance'](_0x1fe487,this[_0xdfeb7d(0x27d)],this[_0xdfeb7d(0x1ba)],this[_0xdfeb7d(0x2c0)],this[_0xdfeb7d(0x413)],this[_0xdfeb7d(0x31c)],_0x54b037);}};_0x1aa56b=_0x8fcfef([_0xbe7a74(0x7,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0xbe7a74(0x8,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea[_0x3f6827(0x32c)])),_0xbe7a74(0x9,_0x28e235[_0x3f6827(0xb5)](_0x538e2a[_0x3f6827(0x249)])),_0xbe7a74(0xa,_0x28e235[_0x3f6827(0x40e)]),_0xbe7a74(0xb,_0x28e235['ICommandService']),_0xbe7a74(0xc,_0x28e235['IUndoRedoService']),_0xbe7a74(0xd,_0x4ecbea['ITransformService'])],_0x1aa56b);function _0x1aaec5(_0xd41c4,_0xf42d88,_0x8584d8,_0x2232b9,_0x198abd,_0x4b2228){const _0x1ab8f3=_0x3f6827;return _0x2232b9&&_0x198abd[_0x1ab8f3(0x16b)]?_0xd41c4[_0x1ab8f3(0x42d)](_0x24db4f,_0xf42d88,_0x8584d8,_0x2232b9,_0x198abd,_0x4b2228):_0x2232b9?_0xd41c4['createInstance'](_0x3a3533,_0xf42d88,_0x8584d8,_0x2232b9,_0x4b2228):_0x198abd[_0x1ab8f3(0x16b)]?_0xd41c4[_0x1ab8f3(0x42d)](_0x4b179e,_0xf42d88,_0x8584d8,_0x198abd,_0x4b2228):_0xd41c4['createInstance'](_0x4d206c,_0xf42d88,_0x8584d8,_0x4b2228);}var _0x22dc03=Object['defineProperty'],_0x31e4ed=Object[_0x3f6827(0x1cb)],_0x48c502=(_0xcbce22,_0x4ef8d0,_0x3b5022,_0x2e2a18)=>{const _0x55c947=_0x3f6827;for(var _0xdf9efc=_0x2e2a18>0x1?void 0x0:_0x2e2a18?_0x31e4ed(_0x4ef8d0,_0x3b5022):_0x4ef8d0,_0x1c8e39=_0xcbce22[_0x55c947(0x16b)]-0x1,_0x529e9a;_0x1c8e39>=0x0;_0x1c8e39--)(_0x529e9a=_0xcbce22[_0x1c8e39])&&(_0xdf9efc=(_0x2e2a18?_0x529e9a(_0x4ef8d0,_0x3b5022,_0xdf9efc):_0x529e9a(_0xdf9efc))||_0xdf9efc);return _0x2e2a18&&_0xdf9efc&&_0x22dc03(_0x4ef8d0,_0x3b5022,_0xdf9efc),_0xdf9efc;},_0x3a5edf=(_0x4da098,_0x43be84)=>(_0x16184f,_0x8fd5cc)=>_0x43be84(_0x16184f,_0x8fd5cc,_0x4da098);_0x538e2a['CollaborationController']=class extends _0x28e235['RxDisposable']{constructor(_0x196312,_0x9c4dd0,_0x277cac){const _0xb2d1e=_0x3f6827;super(),_0x2b7d82(this,_0xb2d1e(0x284),new Map()),_0x2b7d82(this,_0xb2d1e(0x452),new _0x2820f3[(_0xb2d1e(0xa8))]()),(this[_0xb2d1e(0x3ef)]=_0x196312,this[_0xb2d1e(0xfc)]=_0x9c4dd0,this[_0xb2d1e(0x156)]=_0x277cac,this[_0xb2d1e(0x3e4)]());}[_0x3f6827(0x179)](){const _0x42c780=_0x3f6827;super[_0x42c780(0x179)](),this[_0x42c780(0x284)][_0x42c780(0x384)](_0x54dd57=>_0x54dd57[_0x42c780(0x179)]()),this['_entities'][_0x42c780(0x18e)]();}[_0x3f6827(0x2f8)](_0x291a9b){const _0x395214=_0x3f6827;var _0x129257;return(_0x129257=this[_0x395214(0x284)][_0x395214(0x450)](_0x291a9b))!=null?_0x129257:null;}['getCollabEntity$'](_0xbd7a5b){const _0x42a122=_0x3f6827,_0x4bc7ae=this[_0x42a122(0x2f8)](_0xbd7a5b);return _0x4bc7ae?_0x2820f3['of'](_0x4bc7ae):this[_0x42a122(0x452)][_0x42a122(0x2ef)](_0x1086dc[_0x42a122(0x44a)](_0xa13d44=>_0xa13d44[_0x42a122(0x27d)]===_0xbd7a5b));}[_0x3f6827(0x3e4)](){const _0x52a3d8=_0x3f6827;this[_0x52a3d8(0x156)][_0x52a3d8(0x370)](_0x28e235['UniverInstanceType']['UNIVER_SHEET'])[_0x52a3d8(0x2ef)](_0x2820f3[_0x52a3d8(0xeb)](this[_0x52a3d8(0x388)]),_0x1086dc[_0x52a3d8(0x1ef)](0x10))[_0x52a3d8(0x3cd)](async _0x18654c=>{const _0x27f395=_0x52a3d8,_0x4b705b=_0x18654c[_0x27f395(0x322)](),_0x8deae=await this['_startCollaboration'](_0x4b705b,_0x2dcfa8[_0x27f395(0x33b)]);this[_0x27f395(0x284)][_0x27f395(0x2b2)](_0x4b705b,_0x8deae);}),this[_0x52a3d8(0x156)][_0x52a3d8(0x370)](_0x28e235[_0x52a3d8(0x3af)][_0x52a3d8(0x372)])[_0x52a3d8(0x2ef)](_0x2820f3[_0x52a3d8(0xeb)](this[_0x52a3d8(0x388)]),_0x1086dc['delay'](0x10))[_0x52a3d8(0x2ef)](_0x1086dc[_0x52a3d8(0x44a)](_0x66050e=>!_0x66050e['getUnitId']()[_0x52a3d8(0x258)]('__')))['subscribe'](async _0x249a76=>{const _0x88bd3e=_0x52a3d8,_0x376dce=_0x249a76[_0x88bd3e(0x322)](),_0x52eae8=await this[_0x88bd3e(0xc7)](_0x376dce,_0x2dcfa8[_0x88bd3e(0x372)]);this[_0x88bd3e(0x284)][_0x88bd3e(0x2b2)](_0x376dce,_0x52eae8);}),_0x2820f3[_0x52a3d8(0x33e)](this[_0x52a3d8(0x156)][_0x52a3d8(0x2e4)](_0x28e235[_0x52a3d8(0x3af)][_0x52a3d8(0x33b)]),this[_0x52a3d8(0x156)][_0x52a3d8(0x2e4)](_0x28e235[_0x52a3d8(0x3af)][_0x52a3d8(0x372)]))[_0x52a3d8(0x2ef)](_0x2820f3['takeUntil'](this[_0x52a3d8(0x388)]))[_0x52a3d8(0x3cd)](_0x14d687=>{const _0x51d893=_0x52a3d8,_0x50e328=_0x14d687[_0x51d893(0x322)](),_0x4778d3=this['_entities'][_0x51d893(0x450)](_0x50e328);_0x4778d3&&(_0x4778d3[_0x51d893(0x179)](),this['_entities'][_0x51d893(0x458)](_0x50e328));});}async[_0x3f6827(0xc7)](_0x3b2b12,_0x3f6b6d){const _0x29631b=_0x3f6827,_0x3d05b6=await this['_collabSessionService']['requireSession'](_0x3b2b12),_0x39016a=this[_0x29631b(0x3ef)][_0x29631b(0x42d)](this[_0x29631b(0x221)](_0x3f6b6d),_0x3b2b12,_0x3f6b6d,_0x3d05b6);return await _0x39016a[_0x29631b(0xf8)](),this[_0x29631b(0x452)][_0x29631b(0x18d)](_0x39016a),_0x39016a;}[_0x3f6827(0x221)](_0x3d53c4){const _0x548e8c=_0x3f6827;switch(_0x3d53c4){case _0x2dcfa8[_0x548e8c(0x372)]:return _0x7bd32e;case _0x2dcfa8[_0x548e8c(0x33b)]:return _0x538e2a[_0x548e8c(0x295)];default:throw new Error(_0x548e8c(0x192)+_0x3d53c4);}}},_0x538e2a[_0x3f6827(0x135)]=_0x48c502([_0x28e235[_0x3f6827(0xb8)](_0x28e235[_0x3f6827(0x177)][_0x3f6827(0xd4)],_0x538e2a[_0x3f6827(0x135)]),_0x3a5edf(0x0,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0x3a5edf(0x1,_0x28e235['Inject'](_0x538e2a[_0x3f6827(0x17b)])),_0x3a5edf(0x2,_0x28e235[_0x3f6827(0x19b)])],_0x538e2a[_0x3f6827(0x135)]);let _0x1d527e=class extends _0x28e235[_0x3f6827(0x93)]{constructor(_0x1ab4c5,_0x2e8eef,_0x3aec20,_0x9ab143,_0x5d8eaf,_0x1842ed,_0x381d88,_0x5b3cad,_0x123263,_0x45c8af,_0x246e4e,_0x5c691e,_0x41a500){const _0x11a9a1=_0x3f6827;super(),_0x2b7d82(this,_0x11a9a1(0x435),new _0x2820f3[(_0x11a9a1(0x371))](null)),_0x2b7d82(this,'state$',this[_0x11a9a1(0x435)][_0x11a9a1(0x1d2)]()),_0x2b7d82(this,'_state'),_0x2b7d82(this,_0x11a9a1(0x3f8),!0x1),_0x2b7d82(this,_0x11a9a1(0x3f2),this[_0x11a9a1(0x2d7)][_0x11a9a1(0x2ef)](_0x1086dc[_0x11a9a1(0x25f)](_0x1ca281=>_0x1ca281?_0x1ca281[_0x11a9a1(0x2de)]:_0x16cedf[_0x11a9a1(0x353)]),_0x1086dc['shareReplay'](0x1))),_0x2b7d82(this,_0x11a9a1(0x37c),!0x1),_0x2b7d82(this,_0x11a9a1(0x175),[]),(this[_0x11a9a1(0x27d)]=_0x1ab4c5,this['_type']=_0x2e8eef,this[_0x11a9a1(0x3a9)]=_0x3aec20,this[_0x11a9a1(0x3ef)]=_0x9ab143,this[_0x11a9a1(0x2a6)]=_0x5d8eaf,this['_compressMutationService']=_0x1842ed,this[_0x11a9a1(0x424)]=_0x381d88,this['_revisionService']=_0x5b3cad,this[_0x11a9a1(0x1af)]=_0x123263,this[_0x11a9a1(0x11a)]=_0x45c8af,this[_0x11a9a1(0x233)]=_0x246e4e,this[_0x11a9a1(0x9d)]=_0x5c691e,this['_singleActiveUnitService']=_0x41a500);}get[_0x3f6827(0x3a3)](){const _0x42eb5b=_0x3f6827;return this[_0x42eb5b(0x3d6)];}async[_0x3f6827(0xf8)](){const _0x335474=_0x3f6827;if(this[_0x335474(0x3a3)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x335474(0x3e4)]();}[_0x3f6827(0xbe)](){const _0x5f2de0=_0x3f6827;return this[_0x5f2de0(0x3f8)]=!0x0,_0x28e235[_0x5f2de0(0x23e)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3f6827(0x182)](_0x1c197e){const _0x47af19=_0x3f6827;this[_0x47af19(0x3d6)]=_0x1c197e,this['_state$'][_0x47af19(0x18d)](_0x1c197e);}async[_0x3f6827(0x3e4)](){const _0x3a7fad=_0x3f6827;var _0x44318a;return this[_0x3a7fad(0x182)](await this[_0x3a7fad(0x385)]()),this['_singleActiveUnitService']&&((_0x44318a=this[_0x3a7fad(0x196)])==null||_0x44318a[_0x3a7fad(0x454)](this['unitID']),this[_0x3a7fad(0x41b)](_0x28e235[_0x3a7fad(0x23e)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x3a7fad(0x27d)])[_0x3a7fad(0x3cd)](_0x33f13e=>{const _0x333532=_0x3a7fad;this[_0x333532(0x1af)]['debug'](_0x333532(0x265),_0x333532(0x10d),_0x33f13e),_0x33f13e===_0x52ad2f[_0x333532(0x1c9)]?(this[_0x333532(0x233)][_0x333532(0x226)]({'content':this[_0x333532(0x424)]['t'](_0x333532(0x20b)),'type':_0x48adea[_0x333532(0x157)][_0x333532(0x98)]}),this[_0x333532(0x9d)]['updatePermissionPoint'](new _0x48cd6e[(_0x333532(0x286))](this[_0x333532(0x27d)])['id'],!0x1)):this[_0x333532(0x9d)][_0x333532(0x22d)](new _0x48cd6e[(_0x333532(0x286))](this['unitID'])['id'],!0x0);})))),this['disposeWithMe'](_0x28e235['toDisposable'](this[_0x3a7fad(0x3a9)][_0x3a7fad(0xe4)][_0x3a7fad(0x3cd)](_0x1707a5=>{const _0x2cb12b=_0x3a7fad;_0x1707a5===_0x158ddb[_0x2cb12b(0x27e)]?this[_0x2cb12b(0x2b5)]():_0x1707a5===_0x158ddb['OFFLINE']&&this['_toggleOffline']();}))),this[_0x3a7fad(0x41b)](_0x28e235[_0x3a7fad(0x23e)](this[_0x3a7fad(0x3a9)][_0x3a7fad(0x211)][_0x3a7fad(0x3cd)](_0x32d328=>{const _0x499371=_0x3a7fad;try{switch(_0x32d328[_0x499371(0x12d)]){case _0x4ecbea['CollaborationEvent'][_0x499371(0x209)]:{this[_0x499371(0x18f)](_0x4ecbea['parseProtocolChangeset'](_0x32d328[_0x499371(0xa5)]));break;}case _0x4ecbea[_0x499371(0x1e6)][_0x499371(0x3bd)]:{this['_onRemoteACK'](_0x32d328[_0x499371(0xa5)]);break;}case _0x4ecbea[_0x499371(0x1e6)][_0x499371(0x2fe)]:{this[_0x499371(0x438)]();break;}case _0x4ecbea[_0x499371(0x1e6)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x499371(0x8b)](_0x32d328[_0x499371(0xa5)][_0x499371(0xdc)]['map'](_0x1ba43b=>_0x4ecbea[_0x499371(0x33f)](_0x1ba43b)));break;}case _0x4ecbea['CollaborationEvent'][_0x499371(0xda)]:this[_0x499371(0x438)]({'isPermissionRej':!0x0});}}catch(_0x40ad23){throw console['error'](_0x499371(0x414),_0x40ad23),_0x40ad23;}}))),this[_0x3a7fad(0x3d6)];}[_0x3f6827(0x3f0)](){const _0x429933=_0x3f6827;this[_0x429933(0x37c)]=!0x1;}['_lockTransition'](){const _0x4a9b34=_0x3f6827;if(this[_0x4a9b34(0x37c)])throw new Error(_0x4a9b34(0x2e8));this[_0x4a9b34(0x37c)]=!0x0;}[_0x3f6827(0x19e)](_0x391701){const _0x323cca=_0x3f6827;this[_0x323cca(0x3c4)](),this[_0x323cca(0x182)](this[_0x323cca(0x3d6)]['appendMutation'](_0x391701)),this[_0x323cca(0x3f0)]();}[_0x3f6827(0x18f)](_0x60750f){const _0x2c9a07=_0x3f6827;if(!(_0x60750f['revision']<=this['_revisionService'][_0x2c9a07(0x41e)](this[_0x2c9a07(0x27d)]))){if(this[_0x2c9a07(0x3f8)]){this['_remoteChangesetQueue']['push'](_0x60750f);return;}this[_0x2c9a07(0x18a)](_0x60750f);}}[_0x3f6827(0x2f3)](){const _0x267dca=_0x3f6827;this[_0x267dca(0x175)]['forEach'](_0x87f066=>this[_0x267dca(0x18a)](_0x87f066)),this[_0x267dca(0x175)]=[];}['_applyRemoteChangeset'](_0x332857){const _0x16d9ba=_0x3f6827,_0x4ed6ed=this[_0x16d9ba(0x3c7)][_0x16d9ba(0xba)][_0x16d9ba(0xd7)](this[_0x16d9ba(0x3c7)][_0x16d9ba(0xba)][_0x16d9ba(0x2ff)]()[_0x16d9ba(0x2b7)])(_0x332857['mutations'],null)||_0x332857[_0x16d9ba(0x28b)],_0x55b3b8={..._0x332857,'mutations':_0x4ed6ed};this['_lockTransition'](),this[_0x16d9ba(0x182)](this[_0x16d9ba(0x3d6)][_0x16d9ba(0x134)](_0x55b3b8)),this['_unlockTransition']();}[_0x3f6827(0x14c)](_0x504a9c){const _0x2b17e0=_0x3f6827;this['_lockTransition'](),this[_0x2b17e0(0x182)](this[_0x2b17e0(0x3d6)]['onRemoteAck'](_0x504a9c)),this['_unlockTransition']();}[_0x3f6827(0x438)](_0x50e659){const _0x36e3a2=_0x3f6827;this[_0x36e3a2(0x3c4)](),this[_0x36e3a2(0x182)](this[_0x36e3a2(0x3d6)][_0x36e3a2(0x335)](_0x50e659)),this[_0x36e3a2(0x3f0)]();}[_0x3f6827(0x8b)](_0x388b5a){const _0x5bc9fc=_0x3f6827;if(!(this[_0x5bc9fc(0x3d6)]instanceof _0x1aa56b))throw new TypeError(_0x5bc9fc(0x42f));const _0x5b237b=_0x388b5a[_0x5bc9fc(0x25f)](_0x42f710=>{const _0x351e6c=_0x5bc9fc,_0x1c69bd=this['_compressMutationService'][_0x351e6c(0xba)][_0x351e6c(0xd7)](this[_0x351e6c(0x3c7)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x42f710[_0x351e6c(0x28b)],null)||_0x42f710[_0x351e6c(0x28b)];return{..._0x42f710,'mutations':_0x1c69bd};});this[_0x5bc9fc(0x3c4)](),this[_0x5bc9fc(0x182)](this['_state']['onMissedChangesetFetched'](_0x5b237b)),this[_0x5bc9fc(0x3f0)]();}[_0x3f6827(0xb4)](){const _0x5912fc=_0x3f6827;this[_0x5912fc(0x3c4)](),this[_0x5912fc(0x182)](this[_0x5912fc(0x3d6)][_0x5912fc(0x2f4)]()),this[_0x5912fc(0x3f0)]();}[_0x3f6827(0x2b5)](){const _0x106297=_0x3f6827;this[_0x106297(0x3c4)](),this['_updateState'](this[_0x106297(0x3d6)]['toggleOnline']()),this['_unlockTransition']();}async[_0x3f6827(0x385)](){return new Promise(_0x33a53b=>{const _0x2a70ab=_0x45d3;this[_0x2a70ab(0x3a9)][_0x2a70ab(0xe4)]['pipe'](_0x1086dc[_0x2a70ab(0x142)](0x1))[_0x2a70ab(0x3cd)](async _0x4584d3=>{_0x33a53b(await this['_createInitialStateImpl'](_0x4584d3===_0x158ddb['ONLINE']));});});}['_createHandler'](){const _0x37b91b=this['unitID'];return{'onStateChange':(_0x2268b9,_0x2e9af5)=>{const _0x3440cd=_0x45d3;if(_0x2268b9!==this[_0x3440cd(0x3d6)])throw new Error('[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2268b9['status']+'\x0aAfter:\x20'+_0x2e9af5[_0x3440cd(0x2de)]+_0x3440cd(0x449)+this[_0x3440cd(0x3d6)][_0x3440cd(0x2de)]);this[_0x3440cd(0x182)](_0x2e9af5);},'onSendChangeset':_0x4487d4=>{const _0x534097=_0x45d3,_0x5e8ce0={'eventID':_0x4ecbea[_0x534097(0x1e6)][_0x534097(0x206)],'data':{'unitID':_0x4487d4[_0x534097(0x27d)],'unitType':this[_0x534097(0xcb)],'changeset':_0x4487d4,'memberID':this[_0x534097(0x3a9)][_0x534097(0x390)]()}};this[_0x534097(0x3a9)][_0x534097(0x447)](_0x5e8ce0,this['unitID']);},'onMissingChangesets':({from:_0x37fdd3,to:_0x301804})=>{const _0x134970=_0x45d3;this[_0x134970(0x1af)][_0x134970(0x293)](_0x134970(0x265),'fetching\x20missing\x20changesets\x20from\x20'+_0x37fdd3+_0x134970(0x3ab)+_0x301804);const _0x21f910={'eventID':_0x4ecbea[_0x134970(0x1e6)]['FETCH_MISSING'],'data':{'unitID':_0x37b91b,'unitType':this['_type'],'from':_0x37fdd3,'to':_0x301804}};this[_0x134970(0x3a9)][_0x134970(0x447)](_0x21f910,this[_0x134970(0x27d)]);}};}async[_0x3f6827(0x315)](_0x4bb21f){const _0x36abbb=_0x3f6827;var _0x91ce03,_0x8a0d9b;const _0x340e41=await this[_0x36abbb(0x2a6)][_0x36abbb(0x170)](this['unitID']),_0x3a6fac=(_0x91ce03=_0x340e41==null?void 0x0:_0x340e41[_0x36abbb(0x28b)])!=null?_0x91ce03:[],_0x449564=(_0x8a0d9b=_0x340e41==null?void 0x0:_0x340e41['awaitingChangeset'])!=null?_0x8a0d9b:null,_0x322f6f=this['unitID'];try{this[_0x36abbb(0x441)](_0x449564,_0x3a6fac);}catch(_0x5935fc){this['_logService'][_0x36abbb(0x270)](_0x5935fc);}const _0x49235a=this['_createHandler']();if(_0x4bb21f){const _0x4836d6=_0x1aaec5(this[_0x36abbb(0x3ef)],_0x322f6f,this[_0x36abbb(0xcb)],_0x449564,_0x3a6fac,_0x49235a);return _0x4836d6 instanceof _0x4b179e?_0x4836d6['_schedule']():(_0x4836d6 instanceof _0x24db4f||_0x4836d6 instanceof _0x3a3533)&&_0x4836d6[_0x36abbb(0x355)](),_0x4836d6;}return this[_0x36abbb(0x3ef)][_0x36abbb(0x42d)](_0x369c09,_0x322f6f,this[_0x36abbb(0xcb)],_0x449564,_0x3a6fac,_0x49235a);}[_0x3f6827(0x441)](_0x41c03a,_0x5b046d){const _0x29e157=_0x3f6827;var _0x20ca67,_0x4c55c8;const _0x3cfdfa=this[_0x29e157(0x3c7)][_0x29e157(0xba)][_0x29e157(0xd7)](this[_0x29e157(0x3c7)][_0x29e157(0xba)][_0x29e157(0x2ff)]()[_0x29e157(0x2b7)]);(_0x20ca67=_0x3cfdfa((_0x41c03a==null?void 0x0:_0x41c03a['mutations'])||[],null))==null||_0x20ca67[_0x29e157(0x384)](_0x42c84f=>this[_0x29e157(0x11a)][_0x29e157(0x203)](_0x42c84f['id'],_0x42c84f[_0x29e157(0x38c)])),(_0x4c55c8=_0x3cfdfa(_0x5b046d||[],null))==null||_0x4c55c8[_0x29e157(0x384)](_0x29f357=>this[_0x29e157(0x11a)]['executeCommand'](_0x29f357['id'],_0x29f357[_0x29e157(0x38c)]));}};_0x1d527e=_0x48c502([_0x3a5edf(0x3,_0x28e235['Inject'](_0x28e235['Injector'])),_0x3a5edf(0x4,_0x28e235['Inject'](_0x538e2a[_0x3f6827(0x249)])),_0x3a5edf(0x5,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea['CompressMutationService'])),_0x3a5edf(0x6,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3a0)])),_0x3a5edf(0x7,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea[_0x3f6827(0x32c)])),_0x3a5edf(0x8,_0x28e235[_0x3f6827(0x40e)]),_0x3a5edf(0x9,_0x28e235[_0x3f6827(0x23d)]),_0x3a5edf(0xa,_0x1d23ef[_0x3f6827(0x89)]),_0x3a5edf(0xb,_0x28e235['IPermissionService']),_0x3a5edf(0xc,_0x28e235[_0x3f6827(0x368)](_0x38f70a))],_0x1d527e);let _0x7bd32e=class extends _0x1d527e{constructor(_0x46c3bf,_0xac4857,_0x323083,_0x5c770c,_0x1dd42d,_0x29c61b,_0x3d4de6,_0x33cef3,_0x584e69,_0x14b098,_0x2e46c1,_0x5e3ac7,_0x3f4345,_0x23a2ea,_0x297245,_0x59748f,_0x59f424){const _0x4038fb=_0x3f6827;super(_0x46c3bf,_0xac4857,_0x323083,_0x5c770c,_0x1dd42d,_0x29c61b,_0x3d4de6,_0x33cef3,_0x3f4345,_0x23a2ea,_0x297245,_0x59748f,_0x59f424),this[_0x4038fb(0x27d)]=_0x46c3bf,this['type']=_0xac4857,this[_0x4038fb(0x36b)]=_0x323083,this[_0x4038fb(0xbd)]=_0x584e69,this[_0x4038fb(0x1c5)]=_0x14b098,this['_docTransformSelectionsService']=_0x2e46c1,this[_0x4038fb(0x2c8)]=_0x5e3ac7;}[_0x3f6827(0x41c)](){const _0x310235=_0x3f6827,_0x13ca5f=super[_0x310235(0x41c)]();return _0x13ca5f[_0x310235(0x405)]=_0x28fdc7=>this[_0x310235(0x1c5)]['transformIMECache'](_0x28fdc7),_0x13ca5f[_0x310235(0x2b4)]=_0x253d4a=>this[_0x310235(0x1d6)]['transformSelections'](_0x253d4a),_0x13ca5f['onSyncEditingCollabCursor']=_0x2e2948=>this['_docSyncEditingCollabCursorService'][_0x310235(0x25d)](_0x2e2948),_0x13ca5f[_0x310235(0xd3)]=_0x23ab62=>this[_0x310235(0x1c5)][_0x310235(0x3ee)](_0x23ab62),_0x13ca5f;}async[_0x3f6827(0x3e4)](){const _0x2bb8d6=_0x3f6827,_0x4dc39d=await super[_0x2bb8d6(0x3e4)]();return this[_0x2bb8d6(0xbd)][_0x2bb8d6(0x2af)][_0x2bb8d6(0x2ef)](_0x2820f3['takeUntil'](this[_0x2bb8d6(0x388)]))[_0x2bb8d6(0x3cd)](_0x1a43a6=>{const _0x6acb64=_0x2bb8d6;if(_0x1a43a6==null)return;const {unitId:_0x222cca,redoState:_0xf53716,commandId:_0x4d4a29}=_0x1a43a6;if(_0x222cca!==this['unitID'])return;const _0x31ff5={'id':_0x4d4a29,'type':_0x28e235[_0x6acb64(0xf3)][_0x6acb64(0xf2)],'params':{'unitId':_0x222cca,'actions':_0xf53716[_0x6acb64(0x97)],'textRanges':null}};this[_0x6acb64(0x19e)](_0x31ff5);}),_0x4dc39d;}};_0x7bd32e=_0x48c502([_0x3a5edf(0x3,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0x3a5edf(0x4,_0x28e235[_0x3f6827(0xb5)](_0x538e2a[_0x3f6827(0x249)])),_0x3a5edf(0x5,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea['CompressMutationService'])),_0x3a5edf(0x6,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x3a0)])),_0x3a5edf(0x7,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea[_0x3f6827(0x32c)])),_0x3a5edf(0x8,_0x28e235[_0x3f6827(0xb5)](_0x4e3741['DocStateChangeManagerService'])),_0x3a5edf(0x9,_0x28e235[_0x3f6827(0xb5)](_0x12799f)),_0x3a5edf(0xa,_0x28e235[_0x3f6827(0xb5)](_0x1e8d42)),_0x3a5edf(0xb,_0x28e235['Inject'](_0x581849)),_0x3a5edf(0xc,_0x28e235[_0x3f6827(0x40e)]),_0x3a5edf(0xd,_0x28e235[_0x3f6827(0x23d)]),_0x3a5edf(0xe,_0x1d23ef[_0x3f6827(0x89)]),_0x3a5edf(0xf,_0x28e235[_0x3f6827(0x30d)]),_0x3a5edf(0x10,_0x28e235[_0x3f6827(0x368)](_0x38f70a))],_0x7bd32e),_0x538e2a[_0x3f6827(0x295)]=class extends _0x1d527e{constructor(_0xea00cb,_0x3a7cf6,_0x194bd8,_0x40bcc8,_0x1dd368,_0x1189a2,_0x3f12e9,_0xb95f33,_0x43f3d8,_0x2bf8bf,_0x4f0f95,_0x473404,_0x24c497,_0x4ede99){const _0x30a2b6=_0x3f6827;super(_0xea00cb,_0x3a7cf6,_0x194bd8,_0x40bcc8,_0x1dd368,_0x1189a2,_0x3f12e9,_0xb95f33,_0x2bf8bf,_0x4f0f95,_0x473404,_0x24c497,_0x4ede99),this['unitID']=_0xea00cb,this[_0x30a2b6(0x1ba)]=_0x3a7cf6,this[_0x30a2b6(0x36b)]=_0x194bd8,this[_0x30a2b6(0x1c7)]=_0x43f3d8;}[_0x3f6827(0x41c)](){const _0x34a3cb=_0x3f6827,_0x462546=super[_0x34a3cb(0x41c)]();return _0x462546[_0x34a3cb(0x2b4)]=_0x1ff8ea=>this['_sheetTransformSelectionsService']['transformSelections'](_0x1ff8ea),_0x462546;}async[_0x3f6827(0x3e4)](){const _0x58157f=_0x3f6827,_0x1a6560=await super[_0x58157f(0x3e4)]();return this[_0x58157f(0x41b)](this[_0x58157f(0x11a)][_0x58157f(0x161)]((_0x5b67d6,_0x33a5f9)=>{const _0x14f271=_0x58157f;if(_0x5b67d6['type']!==_0x28e235[_0x14f271(0xf3)][_0x14f271(0xf2)]||_0x33a5f9!=null&&_0x33a5f9['fromCollab']||_0x33a5f9!=null&&_0x33a5f9[_0x14f271(0xe0)])return;const _0x537907=_0x5b67d6[_0x14f271(0x38c)];if((_0x537907==null?void 0x0:_0x537907[_0x14f271(0xdf)])!==this[_0x14f271(0x27d)])return;const _0x478a07=_0x5b67d6,_0x510976=this[_0x14f271(0x3c7)][_0x14f271(0xba)][_0x14f271(0xd7)](this[_0x14f271(0x3c7)][_0x14f271(0xba)][_0x14f271(0x2ff)]()['COMPRESS_MUTATION_SEND'])([_0x478a07],null)||[_0x478a07];this[_0x14f271(0x19e)](_0x510976[0x0]);})),_0x1a6560;}},_0x538e2a[_0x3f6827(0x295)]=_0x48c502([_0x3a5edf(0x3,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0x3a5edf(0x4,_0x28e235['Inject'](_0x538e2a['LocalCacheService'])),_0x3a5edf(0x5,_0x28e235['Inject'](_0x4ecbea[_0x3f6827(0x1b1)])),_0x3a5edf(0x6,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3a0)])),_0x3a5edf(0x7,_0x28e235['Inject'](_0x4ecbea['RevisionService'])),_0x3a5edf(0x8,_0x28e235[_0x3f6827(0xb5)](_0x187ea5)),_0x3a5edf(0x9,_0x28e235[_0x3f6827(0x40e)]),_0x3a5edf(0xa,_0x28e235['ICommandService']),_0x3a5edf(0xb,_0x1d23ef[_0x3f6827(0x89)]),_0x3a5edf(0xc,_0x28e235['IPermissionService']),_0x3a5edf(0xd,_0x28e235[_0x3f6827(0x368)](_0x38f70a))],_0x538e2a['SheetCollaborationEntity']);const _0x4fd195=[_0x3f6827(0x3ec),_0x3f6827(0x140),_0x3f6827(0x14a),_0x3f6827(0x451),_0x3f6827(0x377),_0x3f6827(0x365)];class _0x18ea56 extends _0x28e235[_0x3f6827(0x29c)]{constructor(){const _0x13d4ae=_0x3f6827;super(...arguments),_0x2b7d82(this,_0x13d4ae(0x3da),new Map()),_0x2b7d82(this,_0x13d4ae(0x252),0x0);}[_0x3f6827(0x378)](_0x5ca628){const _0xfd270b=_0x3f6827;if(this[_0xfd270b(0x3da)][_0xfd270b(0x3c0)](_0x5ca628))return this['_assignedColors']['get'](_0x5ca628);const _0x49a0ee=_0x4fd195[this[_0xfd270b(0x252)]];return this[_0xfd270b(0x252)]=(this['_colorIndex']+0x1)%_0x4fd195[_0xfd270b(0x16b)],this[_0xfd270b(0x3da)][_0xfd270b(0x2b2)](_0x5ca628,_0x49a0ee),_0x49a0ee;}}var _0x3b3919=Object['defineProperty'],_0x409b18=Object[_0x3f6827(0x1cb)],_0x2387c2=(_0x29b022,_0x1ffbfb,_0x4cfde0,_0x2dbba7)=>{const _0x407a02=_0x3f6827;for(var _0x2e8682=_0x2dbba7>0x1?void 0x0:_0x2dbba7?_0x409b18(_0x1ffbfb,_0x4cfde0):_0x1ffbfb,_0x2f67ce=_0x29b022[_0x407a02(0x16b)]-0x1,_0x489fc4;_0x2f67ce>=0x0;_0x2f67ce--)(_0x489fc4=_0x29b022[_0x2f67ce])&&(_0x2e8682=(_0x2dbba7?_0x489fc4(_0x1ffbfb,_0x4cfde0,_0x2e8682):_0x489fc4(_0x2e8682))||_0x2e8682);return _0x2dbba7&&_0x2e8682&&_0x3b3919(_0x1ffbfb,_0x4cfde0,_0x2e8682),_0x2e8682;},_0x1d3f2c=(_0x290773,_0xad863f)=>(_0x5bc29d,_0x20c9dd)=>_0xad863f(_0x5bc29d,_0x20c9dd,_0x290773);const _0x3c3ff2=0x12c,_0x259694=0x64,_0x33c6a1=()=>{let _0x555a7b=[],_0x23114e=!0x1;return _0x1195fd=>{_0x555a7b['push'](_0x1195fd),_0x23114e||(_0x23114e=!0x0,setTimeout(()=>{_0x555a7b['forEach'](_0x3be76c=>_0x3be76c()),_0x555a7b=[],_0x23114e=!0x1;}));};};let _0x2b4698=class extends _0x28e235[_0x3f6827(0x93)]{constructor(_0x47c534,_0x185919,_0x434978,_0x447554,_0x2796ea,_0x4e5d7a,_0x851b2b,_0x33a358){const _0x44c4ae=_0x3f6827;super(),_0x2b7d82(this,_0x44c4ae(0xf4),!0x1),_0x2b7d82(this,'_init',!0x1),_0x2b7d82(this,_0x44c4ae(0xc8),new _0x2820f3[(_0x44c4ae(0x371))](new Map())),_0x2b7d82(this,_0x44c4ae(0x35c),this[_0x44c4ae(0xc8)]['asObservable']()),_0x2b7d82(this,'_roomMembers$',new _0x2820f3[(_0x44c4ae(0x371))]([])),_0x2b7d82(this,'roomMembers$',this[_0x44c4ae(0x3c2)][_0x44c4ae(0x2ef)](_0x2820f3[_0x44c4ae(0x123)](_0x3c3ff2))),_0x2b7d82(this,_0x44c4ae(0x36f),_0x51f7cc((_0x1a5a81,_0x5abb83)=>{const _0x4c0120=_0x44c4ae,_0x27ea09={'eventID':_0x4ecbea[_0x4c0120(0x1e6)][_0x4c0120(0x34a)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4c0120(0x390)](),'selection':_0x77499d[_0x4c0120(0x359)](_0x1a5a81,_0x5abb83[_0x4c0120(0x12f)])}};this[_0x4c0120(0x3a9)][_0x4c0120(0x447)](_0x27ea09,this[_0x4c0120(0x27d)]);},_0x259694)),(this[_0x44c4ae(0x27d)]=_0x47c534,this['_session']=_0x185919,this[_0x44c4ae(0x3ef)]=_0x434978,this['_colorAssignService']=_0x447554,this[_0x44c4ae(0x13c)]=_0x2796ea,this[_0x44c4ae(0x156)]=_0x4e5d7a,this[_0x44c4ae(0x11a)]=_0x851b2b,this['_refRangeService']=_0x33a358);}get['cursorInfo'](){const _0x38c3b6=_0x3f6827;return this[_0x38c3b6(0xc8)][_0x38c3b6(0x13a)]();}get[_0x3f6827(0x208)](){const _0x47ac56=_0x3f6827;return this['_roomMembers$'][_0x47ac56(0x13a)]();}['dispose'](){const _0xeb71f0=_0x3f6827;super[_0xeb71f0(0x179)](),this[_0xeb71f0(0xc8)][_0xeb71f0(0x18d)](new Map()),this[_0xeb71f0(0xc8)]['complete'](),this[_0xeb71f0(0x3c2)][_0xeb71f0(0x18d)]([]),this['_roomMembers$']['complete']();}[_0x3f6827(0xf8)](){const _0x26be15=_0x3f6827;this[_0x26be15(0x3e4)]||(this['_init']=!0x0,this[_0x26be15(0x3a9)][_0x26be15(0xe4)][_0x26be15(0x2ef)](_0x2820f3['takeUntil'](this[_0x26be15(0x388)]))[_0x26be15(0x3cd)](_0x51c915=>{const _0x58b63c=_0x26be15;_0x51c915===_0x158ddb['ONLINE']?this[_0x58b63c(0x2b5)]():this[_0x58b63c(0xb4)]();}),this['_session'][_0x26be15(0x211)]['pipe'](_0x2820f3[_0x26be15(0xeb)](this[_0x26be15(0x388)]))[_0x26be15(0x3cd)](_0x408195=>{const _0x2a182a=_0x26be15,_0xe2d8a0=_0x408195[_0x2a182a(0x12d)];_0xe2d8a0===_0x4ecbea[_0x2a182a(0x1e6)]['UPDATE_CURSOR']&&this[_0x2a182a(0x443)](_0x408195),_0xe2d8a0===_0x4ecbea['CollaborationEvent'][_0x2a182a(0x43e)]&&this[_0x2a182a(0x2fa)](_0x408195);}),this['_onRefRangeChange'](),this[_0x26be15(0x41b)](this[_0x26be15(0x11a)][_0x26be15(0x161)](_0x3c19d6=>{const _0x170a32=_0x26be15;if(this[_0x170a32(0xf4)]&&_0x3c19d6['id']===_0x48cd6e[_0x170a32(0x26f)]['id']&&_0x3c19d6[_0x170a32(0x38c)]['unitId']===this['unitID']){const _0x1f2493=_0x3c19d6[_0x170a32(0x38c)];this[_0x170a32(0x36f)](_0x1f2493[_0x170a32(0x3b2)],_0x1f2493[_0x170a32(0x275)][0x0]);}})));}[_0x3f6827(0x443)](_0x2a6d73){const _0x345777=_0x3f6827;var _0x58f88e,_0x5c295e;const {memberID:_0x483f79,selection:_0x151bd2}=_0x2a6d73[_0x345777(0xa5)],{sheetName:_0x4c8e6f,range:_0x131d4a}=_0x77499d[_0x345777(0x8f)](_0x151bd2),_0x443077={'name':(_0x5c295e=(_0x58f88e=this[_0x345777(0x13c)][_0x345777(0x86)](this[_0x345777(0x27d)],_0x483f79))==null?void 0x0:_0x58f88e['name'])!=null?_0x5c295e:_0x345777(0x80),'range':this[_0x345777(0x44b)](_0x4c8e6f,_0x131d4a),'sheetID':_0x4c8e6f,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x483f79),'selection':_0x151bd2},_0x32bdbd=this[_0x345777(0x3a1)];_0x32bdbd['set'](_0x483f79,_0x443077),this[_0x345777(0xc8)]['next'](_0x32bdbd);}['_onCursorDelete'](_0x5cefb0){const _0x2a658c=_0x3f6827,{memberID:_0x162690}=_0x5cefb0[_0x2a658c(0xa5)],_0x380f2f=this[_0x2a658c(0x3a1)];_0x380f2f[_0x2a658c(0x458)](_0x162690),this[_0x2a658c(0xc8)][_0x2a658c(0x18d)](_0x380f2f);}[_0x3f6827(0x44b)](_0x326f14,_0x2f5b66){const _0x5b69bd=_0x3f6827;var _0x353ec5,_0x26f1df;const _0x1a0eaf=(_0x26f1df=(_0x353ec5=this[_0x5b69bd(0x156)]['getUniverSheetInstance'](this[_0x5b69bd(0x27d)]))==null?void 0x0:_0x353ec5[_0x5b69bd(0x1ab)](_0x326f14))==null?void 0x0:_0x26f1df[_0x5b69bd(0x42b)]();return(_0x1a0eaf==null?void 0x0:_0x1a0eaf[_0x5b69bd(0x11c)](_0x3a7a98=>_0x28e235[_0x5b69bd(0x2e0)][_0x5b69bd(0x43d)](_0x3a7a98,_0x2f5b66)))||_0x2f5b66;}[_0x3f6827(0x237)](){const _0x4a1afd=_0x3f6827,_0x3a3789=new _0x28e235['DisposableCollection'](),_0x16cc46=_0x33c6a1(),_0x287df0=()=>{const _0x383998=_0x45d3;_0x3a3789['dispose']();const _0xc52ba5=(_0x2984d9,_0x25a258,_0x3e0bf6,_0x489056)=>{const _0x34d9f2=_0x45d3;let _0x156159=[];switch(_0x2984d9['id']){case _0x48cd6e[_0x34d9f2(0x3ad)]['DeleteRangeMoveLeftCommandId']:{_0x156159=_0x48cd6e[_0x34d9f2(0x2d9)](_0x2984d9,_0x489056);break;}case _0x48cd6e['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x156159=_0x48cd6e['handleDeleteRangeMoveUp'](_0x2984d9,_0x489056);break;}case _0x48cd6e['EffectRefRangId'][_0x34d9f2(0x27a)]:{_0x156159=_0x48cd6e['handleInsertCol'](_0x2984d9,_0x489056);break;}case _0x48cd6e['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x156159=_0x48cd6e['handleInsertRangeMoveDown'](_0x2984d9,_0x489056);break;}case _0x48cd6e[_0x34d9f2(0x3ad)][_0x34d9f2(0x2ad)]:{_0x156159=_0x48cd6e['handleInsertRangeMoveRight'](_0x2984d9,_0x489056);break;}case _0x48cd6e[_0x34d9f2(0x3ad)][_0x34d9f2(0x43b)]:{_0x156159=_0x48cd6e[_0x34d9f2(0x215)](_0x2984d9,_0x489056);break;}case _0x48cd6e[_0x34d9f2(0x3ad)]['MoveRangeCommandId']:{_0x156159=_0x48cd6e[_0x34d9f2(0x106)](_0x2984d9,_0x489056);break;}case _0x48cd6e['EffectRefRangId'][_0x34d9f2(0x459)]:{_0x156159=_0x48cd6e[_0x34d9f2(0x2cb)](_0x2984d9,_0x489056);break;}case _0x48cd6e[_0x34d9f2(0x3ad)][_0x34d9f2(0x1a1)]:{_0x156159=_0x48cd6e['handleIRemoveRow'](_0x2984d9,_0x489056);break;}}const _0x535155=_0x48cd6e[_0x34d9f2(0x9e)](_0x156159,_0x489056),_0x54baef=this[_0x34d9f2(0x3a1)][_0x34d9f2(0x450)](_0x25a258);if(_0x54baef&&_0x535155){const _0x28f1eb={..._0x54baef,'range':_0x535155};this[_0x34d9f2(0x3a1)]['set'](_0x25a258,_0x28f1eb),_0x16cc46(()=>{const _0x167af6=_0x34d9f2,_0x3af83b=this[_0x167af6(0x25e)]['registerRefRange'](_0x535155,_0x1c4a38=>(_0x3af83b['dispose'](),_0xc52ba5(_0x1c4a38,_0x25a258,_0x3e0bf6,_0x535155)));_0x3a3789['add'](_0x3af83b);});}return{'redos':[],'undos':[]};};this[_0x383998(0x3a1)]['forEach']((_0x1d4af9,_0x2d1b59)=>{const _0x359b14=_0x383998,{range:_0x202059,sheetID:_0xbce87b}=_0x1d4af9,_0x524fc2=this[_0x359b14(0x25e)][_0x359b14(0x39a)](_0x202059,_0x509095=>(_0x524fc2[_0x359b14(0x179)](),_0xc52ba5(_0x509095,_0x2d1b59,_0xbce87b,_0x202059)));_0x3a3789['add'](_0x524fc2);});};this[_0x4a1afd(0x41b)](_0x28e235['toDisposable'](this[_0x4a1afd(0xc8)][_0x4a1afd(0x3cd)](()=>{_0x287df0();})));}[_0x3f6827(0x2b5)](){const _0x550e31=_0x3f6827;var _0xc9359e,_0xc36c18;if(this['_online']=!0x0,((_0xc9359e=this['_univerInstanceService'][_0x550e31(0x1a5)]())==null?void 0x0:_0xc9359e[_0x550e31(0x322)]())!==this[_0x550e31(0x27d)])return;const _0x37d2f2=(_0xc36c18=this['_injector'][_0x550e31(0x450)](_0x48cd6e[_0x550e31(0x38e)])[_0x550e31(0x12a)]())==null?void 0x0:_0xc36c18[0x0],_0x3cf6c5=this[_0x550e31(0x156)][_0x550e31(0xd1)](_0x28e235['UniverInstanceType'][_0x550e31(0x33b)])[_0x550e31(0x155)]();_0x37d2f2&&_0x3cf6c5&&this[_0x550e31(0x36f)](_0x3cf6c5[_0x550e31(0x32d)](),_0x37d2f2);}[_0x3f6827(0xb4)](){const _0x57bfe5=_0x3f6827;this[_0x57bfe5(0xf4)]=!0x1;}};_0x2b4698=_0x2387c2([_0x1d3f2c(0x2,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3e8)])),_0x1d3f2c(0x3,_0x28e235['Inject'](_0x18ea56)),_0x1d3f2c(0x4,_0x28e235[_0x3f6827(0xb5)](_0x1d7fc4)),_0x1d3f2c(0x5,_0x28e235[_0x3f6827(0x19b)]),_0x1d3f2c(0x6,_0x28e235[_0x3f6827(0x23d)]),_0x1d3f2c(0x7,_0x28e235['Inject'](_0x48cd6e[_0x3f6827(0x277)]))],_0x2b4698);var _0x1b320c=Object['defineProperty'],_0x112e7f=Object[_0x3f6827(0x1cb)],_0x4747a8=(_0x130c3f,_0x394d3f,_0x48ef13,_0x37fd27)=>{const _0x315afc=_0x3f6827;for(var _0x4f6b08=_0x37fd27>0x1?void 0x0:_0x37fd27?_0x112e7f(_0x394d3f,_0x48ef13):_0x394d3f,_0x549341=_0x130c3f[_0x315afc(0x16b)]-0x1,_0x525428;_0x549341>=0x0;_0x549341--)(_0x525428=_0x130c3f[_0x549341])&&(_0x4f6b08=(_0x37fd27?_0x525428(_0x394d3f,_0x48ef13,_0x4f6b08):_0x525428(_0x4f6b08))||_0x4f6b08);return _0x37fd27&&_0x4f6b08&&_0x1b320c(_0x394d3f,_0x48ef13,_0x4f6b08),_0x4f6b08;},_0x471114=(_0x3caefd,_0x4f903e)=>(_0x57dac0,_0x29b81d)=>_0x4f903e(_0x57dac0,_0x29b81d,_0x3caefd);const _0x3d7af0=0x12c,_0x1d5408=0x64;let _0x470bc7=class extends _0x28e235[_0x3f6827(0x93)]{constructor(_0x52e97f,_0x40a23e,_0x19a557,_0x52da68,_0x36a9ed,_0x2792cb,_0xc4c7d2,_0x1da78d,_0x3fb60d){const _0x275400=_0x3f6827;super(),_0x2b7d82(this,_0x275400(0xf4),!0x1),_0x2b7d82(this,_0x275400(0x3e4),!0x1),_0x2b7d82(this,_0x275400(0xc8),new _0x2820f3[(_0x275400(0x371))](new Map())),_0x2b7d82(this,_0x275400(0x35c),this[_0x275400(0xc8)][_0x275400(0x1d2)]()),_0x2b7d82(this,_0x275400(0x3c2),new _0x2820f3[(_0x275400(0x371))]([])),_0x2b7d82(this,_0x275400(0x16e),this[_0x275400(0x3c2)][_0x275400(0x2ef)](_0x2820f3[_0x275400(0x123)](_0x3d7af0))),_0x2b7d82(this,'_updateLocalCursor',_0x51f7cc(_0x3cfea7=>{const _0x3f50fb=_0x275400,_0x62132b={'eventID':_0x4ecbea[_0x3f50fb(0x1e6)][_0x3f50fb(0x34a)],'data':{'unitID':this['unitID'],'memberID':this[_0x3f50fb(0x3a9)][_0x3f50fb(0x390)](),'selection':_0x190221(_0x3cfea7)}};this[_0x3f50fb(0x3a9)]['send'](_0x62132b,this['unitID']);},_0x1d5408)),(this[_0x275400(0x27d)]=_0x52e97f,this['_session']=_0x40a23e,this[_0x275400(0x3ef)]=_0x19a557,this[_0x275400(0x432)]=_0x52da68,this[_0x275400(0x13c)]=_0x36a9ed,this[_0x275400(0x41a)]=_0x2792cb,this[_0x275400(0x2b0)]=_0xc4c7d2,this[_0x275400(0x156)]=_0x1da78d,this['_commandService']=_0x3fb60d);}get['cursorInfo'](){const _0x21e2a1=_0x3f6827;return this[_0x21e2a1(0xc8)][_0x21e2a1(0x13a)]();}get['roomMembers'](){const _0x2c7c18=_0x3f6827;return this[_0x2c7c18(0x3c2)]['getValue']();}[_0x3f6827(0x179)](){const _0x55408d=_0x3f6827;super[_0x55408d(0x179)](),this[_0x55408d(0xc8)][_0x55408d(0x18d)](new Map()),this[_0x55408d(0xc8)][_0x55408d(0x35b)](),this['_roomMembers$'][_0x55408d(0x18d)]([]),this[_0x55408d(0x3c2)][_0x55408d(0x35b)]();}[_0x3f6827(0xf8)](){const _0x1f8250=_0x3f6827;this[_0x1f8250(0x3e4)]||(this[_0x1f8250(0x3e4)]=!0x0,this[_0x1f8250(0x3a9)][_0x1f8250(0xe4)][_0x1f8250(0x2ef)](_0x2820f3['takeUntil'](this[_0x1f8250(0x388)]))[_0x1f8250(0x3cd)](_0x42348e=>{const _0xd2441f=_0x1f8250;_0x42348e===_0x158ddb[_0xd2441f(0x27e)]?this[_0xd2441f(0x2b5)]():this[_0xd2441f(0xb4)]();}),this['_session'][_0x1f8250(0x211)][_0x1f8250(0x2ef)](_0x2820f3['takeUntil'](this[_0x1f8250(0x388)]))[_0x1f8250(0x3cd)](_0x356428=>{const _0x2cfe52=_0x1f8250,_0x47c2b5=_0x356428[_0x2cfe52(0x12d)];_0x47c2b5===_0x4ecbea['CollaborationEvent'][_0x2cfe52(0x34a)]&&this[_0x2cfe52(0x443)](_0x356428),_0x47c2b5===_0x4ecbea[_0x2cfe52(0x1e6)]['USERS_LEAVE']&&this[_0x2cfe52(0x2fa)](_0x356428);}),this[_0x1f8250(0x41b)](this[_0x1f8250(0x11a)][_0x1f8250(0x161)](_0x40fe52=>{const _0x4ecaf2=_0x1f8250,_0x3ab493=_0x40fe52[_0x4ecaf2(0x38c)];_0x3ab493!=null&&this[_0x4ecaf2(0xf4)]&&_0x40fe52['id']===_0x4e3741[_0x4ecaf2(0x16a)]['id']&&_0x3ab493[_0x4ecaf2(0xdf)]===this[_0x4ecaf2(0x27d)]&&_0x3ab493[_0x4ecaf2(0x118)]===!0x1&&this['_updateLocalCursor'](_0x3ab493[_0x4ecaf2(0x1f1)]);})),this[_0x1f8250(0x41a)][_0x1f8250(0x16d)]['pipe'](_0x2820f3[_0x1f8250(0xeb)](this[_0x1f8250(0x388)]))['subscribe'](_0x5175df=>{const _0x4e14b7=_0x1f8250;if((_0x5175df==null?void 0x0:_0x5175df[_0x4e14b7(0x27d)])!==this[_0x4e14b7(0x27d)])return;const _0x229e3c={'eventID':_0x4ecbea[_0x4e14b7(0x1e6)][_0x4e14b7(0x34a)],'data':_0x5175df};this[_0x4e14b7(0x443)](_0x229e3c);}),this[_0x1f8250(0x41b)](this[_0x1f8250(0x11a)][_0x1f8250(0x161)](_0x5b5ded=>{const _0x210e96=_0x1f8250;if(_0x5b5ded['params']==null)return;const _0x3088cc=_0x5b5ded['params'];if(_0x5b5ded['id']!==_0x4e3741['RichTextEditingMutation']['id']||_0x3088cc[_0x210e96(0xdf)]!==this[_0x210e96(0x27d)])return;const _0xde9c81={'id':_0x210e96(0x255),'params':_0x3088cc},_0x55b7d3=this[_0x210e96(0x3a1)];for(const [_0x22cc00,_0x543317]of _0x55b7d3){const _0x4bc6b6={'id':_0x210e96(0x255),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x543317[_0x210e96(0x1f1)]}},_0x3527ec=this[_0x210e96(0x2b0)]['transformMutation'](_0xde9c81,_0x4bc6b6,!0x1);if(_0x4ecbea['isTransformMutationFailure'](_0x3527ec))throw _0x3527ec[_0x210e96(0x270)];_0x55b7d3['set'](_0x22cc00,{..._0x543317,'ranges':_0x3527ec['m2Prime'][_0x210e96(0x38c)]['textRanges']});}queueMicrotask(()=>{const _0x5f3c47=_0x210e96;this[_0x5f3c47(0xc8)][_0x5f3c47(0x18d)](_0x55b7d3);});})));}[_0x3f6827(0x443)](_0x34ad2d){const _0x1a10e5=_0x3f6827;var _0x51cf15,_0x3813af;const {memberID:_0x4519cb,selection:_0x5369fd}=_0x34ad2d['data'],_0x1bbac5=_0x1ea03f(_0x5369fd),_0x260f58=(_0x3813af=(_0x51cf15=this[_0x1a10e5(0x13c)][_0x1a10e5(0x86)](this[_0x1a10e5(0x27d)],_0x4519cb))==null?void 0x0:_0x51cf15[_0x1a10e5(0x2e6)])!=null?_0x3813af:'Unknown\x20user',_0x587f48={'color':this[_0x1a10e5(0x432)][_0x1a10e5(0x378)](_0x4519cb),'name':_0x260f58,'ranges':_0x1bbac5},_0x3c6155=this['cursorInfo'];_0x3c6155[_0x1a10e5(0x2b2)](_0x4519cb,_0x587f48),this['_cursorInfo$'][_0x1a10e5(0x18d)](_0x3c6155);}[_0x3f6827(0x2fa)](_0x1fdfe8){const _0x323732=_0x3f6827,{memberID:_0x4236ab}=_0x1fdfe8[_0x323732(0xa5)],_0x9ed159=this[_0x323732(0x3a1)];_0x9ed159[_0x323732(0x458)](_0x4236ab),this['_cursorInfo$'][_0x323732(0x18d)](_0x9ed159);}[_0x3f6827(0x2b5)](){const _0x23a6c9=_0x3f6827;var _0x3ea728;if(this[_0x23a6c9(0xf4)]=!0x0,((_0x3ea728=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3ea728[_0x23a6c9(0x322)]())!==this[_0x23a6c9(0x27d)])return;const _0x96e5bc=this[_0x23a6c9(0x3ef)]['get'](_0x4e3741['TextSelectionManagerService'])[_0x23a6c9(0x12a)](),_0x5270c1=_0x96e5bc==null?void 0x0:_0x96e5bc[_0x23a6c9(0x25f)](_0x4e3741['serializeTextRange']);Array['isArray'](_0x5270c1)&&_0x5270c1['length']>0x0&&this[_0x23a6c9(0x36f)](_0x5270c1);}[_0x3f6827(0xb4)](){const _0x3b9bcb=_0x3f6827;this[_0x3b9bcb(0xf4)]=!0x1;}};_0x470bc7=_0x4747a8([_0x471114(0x2,_0x28e235[_0x3f6827(0xb5)](_0x28e235['Injector'])),_0x471114(0x3,_0x28e235[_0x3f6827(0xb5)](_0x18ea56)),_0x471114(0x4,_0x28e235[_0x3f6827(0xb5)](_0x1d7fc4)),_0x471114(0x5,_0x28e235[_0x3f6827(0xb5)](_0x581849)),_0x471114(0x6,_0x4ecbea[_0x3f6827(0x111)]),_0x471114(0x7,_0x28e235[_0x3f6827(0x19b)]),_0x471114(0x8,_0x28e235['ICommandService'])],_0x470bc7);var _0x289bf0=Object[_0x3f6827(0x328)],_0x526d40=Object[_0x3f6827(0x1cb)],_0x47aae1=(_0x5179e2,_0x426e09,_0x39859b,_0x59442e)=>{const _0xcd013e=_0x3f6827;for(var _0x47b1d7=_0x59442e>0x1?void 0x0:_0x59442e?_0x526d40(_0x426e09,_0x39859b):_0x426e09,_0x3f6fe1=_0x5179e2[_0xcd013e(0x16b)]-0x1,_0x3dc891;_0x3f6fe1>=0x0;_0x3f6fe1--)(_0x3dc891=_0x5179e2[_0x3f6fe1])&&(_0x47b1d7=(_0x59442e?_0x3dc891(_0x426e09,_0x39859b,_0x47b1d7):_0x3dc891(_0x47b1d7))||_0x47b1d7);return _0x59442e&&_0x47b1d7&&_0x289bf0(_0x426e09,_0x39859b,_0x47b1d7),_0x47b1d7;},_0x435bab=(_0xd92e98,_0x7941d8)=>(_0x53fa34,_0x121f66)=>_0x7941d8(_0x53fa34,_0x121f66,_0xd92e98);let _0x2e4db5=class extends _0x28e235[_0x3f6827(0x93)]{constructor(_0xe08fcb,_0xcca832,_0x5afdc0){const _0x40b550=_0x3f6827;super(),_0x2b7d82(this,_0x40b550(0x284),new Map()),_0x2b7d82(this,_0x40b550(0x452),new _0x2820f3[(_0x40b550(0xa8))]()),(this[_0x40b550(0x156)]=_0xe08fcb,this['_injector']=_0xcca832,this[_0x40b550(0xfc)]=_0x5afdc0,this['_init']());}[_0x3f6827(0x179)](){const _0x5ddbea=_0x3f6827;super['dispose'](),this[_0x5ddbea(0x452)][_0x5ddbea(0x35b)](),this[_0x5ddbea(0x284)][_0x5ddbea(0x384)](_0x2c2587=>_0x2c2587['dispose']());}[_0x3f6827(0x3f6)](_0xb4cf35){const _0x2f24e8=_0x3f6827;return this[_0x2f24e8(0x284)][_0x2f24e8(0x3c0)](_0xb4cf35)?this[_0x2f24e8(0x284)][_0x2f24e8(0x450)](_0xb4cf35)[_0x2f24e8(0x35c)]:this[_0x2f24e8(0x452)][_0x2f24e8(0x2ef)](_0x2820f3[_0x2f24e8(0x44a)](_0x394902=>_0x394902['unitID']===_0xb4cf35),_0x2820f3[_0x2f24e8(0x225)](_0x306c86=>_0x306c86[_0x2f24e8(0x35c)]));}[_0x3f6827(0x3e4)](){const _0x1cdf3f=_0x3f6827;this[_0x1cdf3f(0x156)]['getTypeOfUnitAdded$'](_0x28e235[_0x1cdf3f(0x3af)][_0x1cdf3f(0x33b)])[_0x1cdf3f(0x2ef)](_0x2820f3[_0x1cdf3f(0xeb)](this[_0x1cdf3f(0x388)]))['subscribe'](async _0x3db9a5=>{const _0xb9eb82=_0x1cdf3f,_0x546e45=_0x3db9a5[_0xb9eb82(0x322)](),_0x3b6a2a=await this[_0xb9eb82(0x19d)](_0x546e45);this[_0xb9eb82(0x452)]['next'](_0x3b6a2a),this['_entities'][_0xb9eb82(0x2b2)](_0x546e45,_0x3b6a2a);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x28e235[_0x1cdf3f(0x3af)][_0x1cdf3f(0x372)])[_0x1cdf3f(0x2ef)](_0x2820f3[_0x1cdf3f(0xeb)](this['dispose$']))['pipe'](_0x2820f3[_0x1cdf3f(0x44a)](_0x4fd34d=>!_0x4fd34d[_0x1cdf3f(0x322)]()[_0x1cdf3f(0x258)]('__')))['subscribe'](async _0xe129ef=>{const _0x6b471d=_0x1cdf3f,_0x356915=_0xe129ef[_0x6b471d(0x322)](),_0x583ad3=await this[_0x6b471d(0x23b)](_0x356915);this[_0x6b471d(0x452)]['next'](_0x583ad3),this[_0x6b471d(0x284)][_0x6b471d(0x2b2)](_0x356915,_0x583ad3);}),_0x2820f3['merge'](this[_0x1cdf3f(0x156)][_0x1cdf3f(0x2e4)](_0x28e235['UniverInstanceType'][_0x1cdf3f(0x372)]),this[_0x1cdf3f(0x156)][_0x1cdf3f(0x2e4)](_0x28e235[_0x1cdf3f(0x3af)][_0x1cdf3f(0x33b)]))['pipe'](_0x2820f3[_0x1cdf3f(0xeb)](this[_0x1cdf3f(0x388)]))['subscribe'](_0x28c2f4=>{const _0x293b52=_0x1cdf3f,_0x598b33=_0x28c2f4[_0x293b52(0x322)](),_0x4fe5fb=this[_0x293b52(0x284)][_0x293b52(0x450)](_0x598b33);_0x4fe5fb&&(_0x4fe5fb[_0x293b52(0x179)](),this[_0x293b52(0x284)][_0x293b52(0x458)](_0x598b33));});}async[_0x3f6827(0x19d)](_0x137407){const _0x1cfea3=_0x3f6827,_0x33a6e8=await this[_0x1cfea3(0xfc)]['requireSession'](_0x137407),_0x2c8e52=this[_0x1cfea3(0x3ef)][_0x1cfea3(0x42d)](_0x2b4698,_0x137407,_0x33a6e8);return _0x2c8e52[_0x1cfea3(0xf8)](),_0x2c8e52;}async[_0x3f6827(0x23b)](_0xd6e397){const _0x282c59=_0x3f6827,_0x3c4972=await this['_collabSessionService'][_0x282c59(0x1b9)](_0xd6e397),_0x2ec8aa=this[_0x282c59(0x3ef)][_0x282c59(0x42d)](_0x470bc7,_0xd6e397,_0x3c4972);return _0x2ec8aa[_0x282c59(0xf8)](),_0x2ec8aa;}};_0x2e4db5=_0x47aae1([_0x28e235[_0x3f6827(0xb8)](_0x28e235[_0x3f6827(0x177)][_0x3f6827(0xd4)],_0x2e4db5),_0x435bab(0x0,_0x28e235[_0x3f6827(0x19b)]),_0x435bab(0x1,_0x28e235[_0x3f6827(0xb5)](_0x28e235['Injector'])),_0x435bab(0x2,_0x28e235[_0x3f6827(0xb5)](_0x538e2a['CollaborationSessionService']))],_0x2e4db5);const _0x340c63=0x14,_0x743712=0xc8,_0x1ab5ba=0x4,_0x1ff232=0x5;function _0x19bae1(_0x366c2f,_0x2816c6){const _0xbc3352=_0x3f6827;let {radius:_0x5016dd,width:_0x897318,height:_0x120fa9}=_0x2816c6;_0x5016dd=_0x5016dd!=null?_0x5016dd:0x0,_0x897318=_0x897318!=null?_0x897318:0x1e,_0x120fa9=_0x120fa9!=null?_0x120fa9:0x1e;let _0x568d47=0x0,_0x42079a=0x0,_0x1b3509=0x0;_0x568d47=_0x42079a=_0x1b3509=Math[_0xbc3352(0x7c)](_0x5016dd,_0x897318/0x2,_0x120fa9/0x2),_0x366c2f[_0xbc3352(0x8e)](),_0x366c2f[_0xbc3352(0x1a4)](_0x568d47,0x0),_0x366c2f[_0xbc3352(0xdd)](_0x897318-_0x42079a,0x0),_0x366c2f[_0xbc3352(0x2fb)](_0x897318-_0x42079a,_0x42079a,_0x42079a,Math['PI']*0x3/0x2,0x0,!0x1),_0x366c2f[_0xbc3352(0xdd)](_0x897318,_0x120fa9-_0x1b3509),_0x366c2f[_0xbc3352(0x2fb)](_0x897318-_0x1b3509,_0x120fa9-_0x1b3509,_0x1b3509,0x0,Math['PI']/0x2,!0x1),_0x366c2f[_0xbc3352(0xdd)](0x0,_0x120fa9),_0x366c2f[_0xbc3352(0xdd)](0x0,_0x568d47),_0x366c2f['arc'](_0x568d47,_0x568d47,_0x568d47,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x366c2f[_0xbc3352(0x288)](),_0x2816c6[_0xbc3352(0x3ac)]&&(_0x366c2f[_0xbc3352(0x43c)](),_0x366c2f[_0xbc3352(0x1f0)]=_0x2816c6[_0xbc3352(0x3ac)],_0x2816c6['fillRule']===_0xbc3352(0x153)?_0x366c2f[_0xbc3352(0x3ac)]('evenodd'):_0x366c2f[_0xbc3352(0x3ac)](),_0x366c2f[_0xbc3352(0x23f)]());}class _0x5acc75 extends _0x1c921f['Shape']{constructor(_0x504e2e,_0x5c51bc){const _0xc8c4c4=_0x3f6827;super(_0x504e2e,_0x5c51bc),_0x2b7d82(this,_0xc8c4c4(0x126)),_0x2b7d82(this,'text'),(this[_0xc8c4c4(0x126)]=_0x5c51bc==null?void 0x0:_0x5c51bc['color'],this[_0xc8c4c4(0x24a)]=_0x5c51bc==null?void 0x0:_0x5c51bc[_0xc8c4c4(0x24a)]);}static['drawWith'](_0x4e81a1,_0x37a0c2){const _0x54f0e3=_0x3f6827,{text:_0x56d857,color:_0x5403c}=_0x37a0c2;_0x4e81a1[_0x54f0e3(0x43c)](),_0x4e81a1[_0x54f0e3(0x317)]=_0x54f0e3(0x29d);const _0x4107f1=_0x4e81a1[_0x54f0e3(0x273)](_0x56d857)[_0x54f0e3(0x439)],_0x29ec10=Math[_0x54f0e3(0x7c)](_0x4107f1+0x2*_0x1ab5ba,_0x743712);_0x19bae1(_0x4e81a1,{'height':_0x340c63,'radius':0x4,'width':_0x29ec10,'fill':_0x5403c,'evented':!0x1}),_0x4e81a1[_0x54f0e3(0x1f0)]=_0x54f0e3(0x2df);const _0x21c0f6=_0x1ab5ba,_0x55a2a4=_0x340c63-_0x1ff232,_0x4b0ccb=_0x743712-0x2*_0x1ab5ba;if(_0x4107f1>_0x4b0ccb){let _0x37c7a5='',_0x1b7cc3=0x0;for(const _0x5eace4 of _0x56d857){const _0x4a8f2f=_0x4e81a1[_0x54f0e3(0x273)](_0x5eace4)[_0x54f0e3(0x439)];if(_0x1b7cc3+_0x4a8f2f<=_0x4b0ccb-_0x4e81a1[_0x54f0e3(0x273)]('...')[_0x54f0e3(0x439)])_0x37c7a5+=_0x5eace4,_0x1b7cc3+=_0x4a8f2f;else{_0x37c7a5+=_0x54f0e3(0x33d);break;}}_0x4e81a1[_0x54f0e3(0x1a7)](_0x37c7a5,_0x21c0f6,_0x55a2a4);}else _0x4e81a1['fillText'](_0x56d857,_0x21c0f6,_0x55a2a4);_0x4e81a1[_0x54f0e3(0x23f)]();}[_0x3f6827(0x3cc)](_0x3fda83){_0x5acc75['drawWith'](_0x3fda83,this);}}const _0x3edbb0=0x1,_0x419575=1.5;class _0x31ac93 extends _0x1c921f[_0x3f6827(0x232)]{constructor(_0x53b03e,_0x16fff2){const _0x462405=_0x3f6827;super(_0x53b03e,_0x16fff2),_0x2b7d82(this,_0x462405(0x22b)),_0x2b7d82(this,_0x462405(0x21b),!0x1),_0x2b7d82(this,_0x462405(0x2eb)),_0x2b7d82(this,_0x462405(0x2ae),''),_0x2b7d82(this,_0x462405(0x2e1),_0x462405(0x38d)),_0x2b7d82(this,_0x462405(0x30a)),(_0x16fff2&&this['setShapeProps'](_0x16fff2),this[_0x462405(0x42a)][_0x462405(0x297)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x462405(0x35a)][_0x462405(0x297)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3f6827(0x250)](_0x22c447){const _0x1ab0e1=_0x3f6827;var _0xc883a7,_0x11fdc1,_0x3c252e,_0x3c1d4f,_0x27176e,_0x536b3d;this[_0x1ab0e1(0x22b)]=(_0xc883a7=_0x22c447['color'])!=null?_0xc883a7:this[_0x1ab0e1(0x22b)],this[_0x1ab0e1(0x21b)]=(_0x11fdc1=_0x22c447['hovered'])!=null?_0x11fdc1:this[_0x1ab0e1(0x21b)],this[_0x1ab0e1(0x2eb)]=(_0x3c252e=_0x22c447[_0x1ab0e1(0x12f)])!=null?_0x3c252e:this['_range'],this[_0x1ab0e1(0x2ae)]=(_0x3c1d4f=_0x22c447[_0x1ab0e1(0x2e6)])!=null?_0x3c1d4f:this['_name'],this[_0x1ab0e1(0x2e1)]=(_0x27176e=_0x22c447['labelPosition'])!=null?_0x27176e:this[_0x1ab0e1(0x2e1)],this[_0x1ab0e1(0x30a)]=(_0x536b3d=_0x22c447[_0x1ab0e1(0x1e4)])!=null?_0x536b3d:this[_0x1ab0e1(0x30a)],this[_0x1ab0e1(0x2d4)]({'width':_0x22c447['width'],'height':_0x22c447[_0x1ab0e1(0x2be)]});}[_0x3f6827(0x2e2)](_0x53c2c1){const _0x4d6213=_0x3f6827,{row:_0x56fae1,column:_0x557255}=_0x53c2c1;if(_0x56fae1>=this[_0x4d6213(0x2eb)][_0x4d6213(0x44d)]&&_0x56fae1<=this[_0x4d6213(0x2eb)]['endRow']&&_0x557255>=this[_0x4d6213(0x2eb)][_0x4d6213(0x3e6)]&&_0x557255<=this[_0x4d6213(0x2eb)][_0x4d6213(0x112)]){this[_0x4d6213(0x250)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3f6827(0x3ed)](_0x504aac){return!0x1;}['_draw'](_0x4bfd4d){const _0x184459=_0x3f6827;_0x1c921f['Rect'][_0x184459(0x338)](_0x4bfd4d,{'width':this[_0x184459(0x439)],'height':this[_0x184459(0x2be)],'strokeWidth':_0x419575,'stroke':this[_0x184459(0x22b)],'evented':!0x1,'fill':this[_0x184459(0x30a)]}),this[_0x184459(0x21b)]&&(_0x4bfd4d['save'](),_0x4bfd4d[_0x184459(0x1ee)](0x1,0x0,0x0,0x1,this[_0x184459(0x439)],this[_0x184459(0x2e1)]==='bottom'?0x0:-_0x340c63),_0x5acc75[_0x184459(0x338)](_0x4bfd4d,{'text':this[_0x184459(0x2ae)],'color':this[_0x184459(0x22b)]}),_0x4bfd4d[_0x184459(0x23f)]());}}var _0x33fb16=Object['defineProperty'],_0x45ba5a=Object['getOwnPropertyDescriptor'],_0x1ad36d=(_0xccc474,_0x2c1e25,_0x31129a,_0x39747a)=>{const _0x9923a8=_0x3f6827;for(var _0x569210=_0x39747a>0x1?void 0x0:_0x39747a?_0x45ba5a(_0x2c1e25,_0x31129a):_0x2c1e25,_0x5f5d2b=_0xccc474[_0x9923a8(0x16b)]-0x1,_0x195dbe;_0x5f5d2b>=0x0;_0x5f5d2b--)(_0x195dbe=_0xccc474[_0x5f5d2b])&&(_0x569210=(_0x39747a?_0x195dbe(_0x2c1e25,_0x31129a,_0x569210):_0x195dbe(_0x569210))||_0x569210);return _0x39747a&&_0x569210&&_0x33fb16(_0x2c1e25,_0x31129a,_0x569210),_0x569210;},_0x50d857=(_0x370468,_0x37de32)=>(_0x162adc,_0x3beb5e)=>_0x37de32(_0x162adc,_0x3beb5e,_0x370468);const _0x11f43f=0x1389;let _0x2583e4=class extends _0x28e235[_0x3f6827(0x93)]{constructor(_0x45285b,_0x21f696,_0x42df0e,_0x1575bd){const _0x2fb6e3=_0x3f6827;super(),_0x2b7d82(this,_0x2fb6e3(0x3e2),new Set()),_0x2b7d82(this,_0x2fb6e3(0x92),null),(this[_0x2fb6e3(0x36d)]=_0x45285b,this[_0x2fb6e3(0x156)]=_0x21f696,this[_0x2fb6e3(0x2c6)]=_0x42df0e,this[_0x2fb6e3(0x349)]=_0x1575bd,this[_0x2fb6e3(0x3e4)]());}get[_0x3f6827(0x404)](){const _0x3210d7=_0x3f6827;return this[_0x3210d7(0x2c6)]['getRenderById'](this[_0x3210d7(0x156)][_0x3210d7(0xd1)](_0x28e235[_0x3210d7(0x3af)][_0x3210d7(0x33b)])[_0x3210d7(0x322)]())[_0x3210d7(0x383)](_0x38caab[_0x3210d7(0x38f)]);}get[_0x3f6827(0x125)](){const _0x229f47=_0x3f6827;return this[_0x229f47(0x156)]['getCurrentUnitForType'](_0x28e235[_0x229f47(0x3af)][_0x229f47(0x33b)])[_0x229f47(0x322)]();}['_init'](){const _0x4a683e=_0x3f6827;this[_0x4a683e(0x404)]['currentSkeleton$'][_0x4a683e(0x2ef)](_0x1086dc[_0x4a683e(0xeb)](this[_0x4a683e(0x388)]),_0x1086dc[_0x4a683e(0x225)](_0x319c0b=>{const _0x3c019a=_0x4a683e;if(_0x319c0b){const _0x48725e=_0x319c0b[_0x3c019a(0xfd)];return _0x2820f3['combineLatest'](this['_collabCursorController'][_0x3c019a(0x3f6)](this[_0x3c019a(0x125)]),this['_themeService'][_0x3c019a(0xe2)])[_0x3c019a(0x2ef)](_0x1086dc[_0x3c019a(0x25f)](([_0x140669,_0x1eeea9])=>{const _0x1dbaf0=_0x3c019a,_0x2c41b8=new Map();return _0x140669[_0x1dbaf0(0x384)]((_0xb642e5,_0xfcbcc5)=>{const _0x49cc8e=_0x1dbaf0;if(_0xb642e5[_0x49cc8e(0x253)]===_0x48725e){const _0x25de98={..._0xb642e5};_0x25de98[_0x49cc8e(0x126)]=_0x1eeea9[_0xb642e5[_0x49cc8e(0x126)]],_0x2c41b8[_0x49cc8e(0x2b2)](_0xfcbcc5,_0x25de98);}}),{'skeleton':_0x319c0b,'cursors':_0x2c41b8};}));}return _0x2820f3['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a683e(0x3cd)](({skeleton:_0x200d17,cursors:_0x4a27df})=>{const _0x1c2d17=_0x4a683e;this[_0x1c2d17(0x3fc)](),_0x200d17&&this[_0x1c2d17(0x321)](_0x200d17,_0x4a27df);}),this[_0x4a683e(0x404)][_0x4a683e(0x202)][_0x4a683e(0x3cd)](_0x5a5358=>{const _0x21ac2a=_0x4a683e;if(_0x5a5358==null)return;const {skeleton:_0x28f3b9}=_0x5a5358,_0x4ee56c=this[_0x21ac2a(0x2c6)][_0x21ac2a(0x24d)](this[_0x21ac2a(0x125)]),{scene:_0x47fa9e}=_0x4ee56c;_0x47fa9e['onPointerMove$'][_0x21ac2a(0x297)](_0x51f7cc(_0x13c51e=>{const _0x19c95e=_0x21ac2a;var _0x104aae,_0xf2f822;const {offsetX:_0x3cc5c9,offsetY:_0x5706b7}=_0x13c51e,{x:_0x3cb940,y:_0x292918}=_0x47fa9e[_0x19c95e(0xae)](_0x1c921f[_0x19c95e(0x340)][_0x19c95e(0x27c)]([_0x3cc5c9,_0x5706b7])),{scaleX:_0x3da6a2,scaleY:_0x4370f0}=_0x47fa9e[_0x19c95e(0x271)](),_0x50513e=_0x47fa9e[_0x19c95e(0x2b9)](_0x38caab[_0x19c95e(0x2bd)][_0x19c95e(0x17e)]),_0xf509b0=_0x47fa9e[_0x19c95e(0x1a3)](_0x1c921f[_0x19c95e(0x340)][_0x19c95e(0x27c)]([_0x3cb940,_0x292918]),_0x50513e),_0x1dfd2c=_0x28f3b9['getCellPositionByOffset'](_0x3cc5c9,_0x5706b7,_0x3da6a2,_0x4370f0,_0xf509b0);((_0x104aae=this['_lastPointer'])==null?void 0x0:_0x104aae[_0x19c95e(0x1da)])===_0x1dfd2c[_0x19c95e(0x1da)]&&((_0xf2f822=this['_lastPointer'])==null?void 0x0:_0xf2f822['row'])===_0x1dfd2c[_0x19c95e(0xe6)]||this[_0x19c95e(0x3e2)]['forEach'](_0x7bb231=>{const _0x34e6e8=_0x19c95e;_0x7bb231[_0x34e6e8(0x2e2)](_0x1dfd2c);});},0x64));});}[_0x3f6827(0x321)](_0x4b08fd,_0xf5fbe7){const _0x15800e=_0x3f6827;var _0x3fb401;const _0x3ca729=(_0x3fb401=this[_0x15800e(0x404)][_0x15800e(0x1f8)]())==null?void 0x0:_0x3fb401[_0x15800e(0x1df)];if(!_0x3ca729)return;const _0x14f0bd=this[_0x15800e(0xaf)]();if(!_0x14f0bd)return;this[_0x15800e(0x3e2)][_0x15800e(0x384)](_0x8996f3=>{const _0x2bcee5=_0x15800e;_0x8996f3[_0x2bcee5(0xb6)]();});const {scene:_0x3e3755}=_0x14f0bd,_0x3f234d=_0x2f6ef2(Array[_0x15800e(0x228)](_0xf5fbe7[_0x15800e(0x2d8)]()))[_0x15800e(0x25f)](_0x37012c=>{const _0xabd970=_0x15800e,{color:_0x3dd9d3,range:_0x53596b,name:_0x5cce79,selection:_0x4e5e62,sheetID:_0x133d76}=_0x37012c,{startColumn:_0x1cc40a,startRow:_0xc37075,endColumn:_0x187678,endRow:_0x211ad0}=_0x53596b,_0x4b959f=_0x38caab['getCoordByCell'](_0xc37075,_0x1cc40a,_0x3e3755,_0x3ca729),_0x266ebb=_0x38caab[_0xabd970(0x31b)](_0x211ad0,_0x187678,_0x3e3755,_0x3ca729),{columnHeaderHeightAndMarginTop:_0x8e6a4c}=_0x3ca729,{startX:_0xb6e049,startY:_0x5107f2}=_0x4b959f,{endX:_0x3819e9,endY:_0x3fbafa}=_0x266ebb,_0xd9f704=_0x3819e9-_0xb6e049,_0x3c9875=_0x3fbafa-_0x5107f2,_0x33bc42={'labelPosition':_0x5107f2-_0x8e6a4c>=_0x340c63?_0xabd970(0x38d):'bottom','sheetID':_0x133d76,'range':_0x53596b,'color':_0x3dd9d3,'name':_0x5cce79,'selection':_0x4e5e62,'left':_0xb6e049,'top':_0x5107f2,'width':_0xd9f704,'height':_0x3c9875,'evented':!0x1,'zIndex':_0x11f43f};return new _0x31ac93(_0x5cce79,_0x33bc42);});_0x3e3755[_0x15800e(0x1ce)](_0x3f234d,_0x3edbb0),this[_0x15800e(0x3e2)]=new Set(_0x3f234d);}['_removeCollabCursors'](){const _0xbc1fa=_0x3f6827;var _0x4ba365;(_0x4ba365=this[_0xbc1fa(0x3e2)])==null||_0x4ba365[_0xbc1fa(0x384)](_0x8e4dbf=>_0x8e4dbf[_0xbc1fa(0x179)]());}[_0x3f6827(0xaf)](){const _0x170b0d=_0x3f6827;return _0x38caab['getSheetObject'](this[_0x170b0d(0x156)],this['_renderManagerService']);}};_0x2583e4=_0x1ad36d([_0x28e235[_0x3f6827(0xb8)](_0x28e235[_0x3f6827(0x177)][_0x3f6827(0x162)],_0x2583e4),_0x50d857(0x0,_0x28e235['Inject'](_0x2e4db5)),_0x50d857(0x1,_0x28e235[_0x3f6827(0x19b)]),_0x50d857(0x2,_0x1c921f[_0x3f6827(0x201)]),_0x50d857(0x3,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x2c2)]))],_0x2583e4);function _0x2f6ef2(_0x2723cc){const _0x383ff9=_0x3f6827,_0x5d3afd=new Map();return _0x2723cc[_0x383ff9(0x384)](_0xa2ee2e=>{const _0x20f127=_0x383ff9;if(_0x5d3afd[_0x20f127(0x3c0)](_0xa2ee2e[_0x20f127(0x382)])){const _0xa0b7f4=_0x5d3afd['get'](_0xa2ee2e[_0x20f127(0x382)]);_0xa0b7f4[_0x20f127(0x2e6)]+=',\x20'+_0xa2ee2e[_0x20f127(0x2e6)];}else _0x5d3afd[_0x20f127(0x2b2)](_0xa2ee2e['selection'],_0xa2ee2e);}),Array[_0x383ff9(0x228)](_0x5d3afd[_0x383ff9(0x2d8)]());}var _0xc2c828=function(){const _0x50221c=_0x3f6827;return _0xc2c828=Object[_0x50221c(0x2d2)]||function(_0x15f9c6){const _0x5e7190=_0x50221c;for(var _0x3515d2,_0xc05ad5=0x1,_0x212347=arguments[_0x5e7190(0x16b)];_0xc05ad5<_0x212347;_0xc05ad5++){_0x3515d2=arguments[_0xc05ad5];for(var _0x55bc9b in _0x3515d2)Object[_0x5e7190(0x141)][_0x5e7190(0x43f)][_0x5e7190(0x364)](_0x3515d2,_0x55bc9b)&&(_0x15f9c6[_0x55bc9b]=_0x3515d2[_0x55bc9b]);}return _0x15f9c6;},_0xc2c828[_0x50221c(0x44f)](this,arguments);},_0x2b6346=function(_0x548731,_0x8adbac){const _0x3bbfdd=_0x3f6827;var _0x34cad3={};for(var _0x3e2a5c in _0x548731)Object[_0x3bbfdd(0x141)][_0x3bbfdd(0x43f)][_0x3bbfdd(0x364)](_0x548731,_0x3e2a5c)&&_0x8adbac[_0x3bbfdd(0x1fe)](_0x3e2a5c)<0x0&&(_0x34cad3[_0x3e2a5c]=_0x548731[_0x3e2a5c]);if(_0x548731!=null&&typeof Object[_0x3bbfdd(0x108)]==_0x3bbfdd(0x296)){for(var _0x15a3d6=0x0,_0x3e2a5c=Object[_0x3bbfdd(0x108)](_0x548731);_0x15a3d6<_0x3e2a5c[_0x3bbfdd(0x16b)];_0x15a3d6++)_0x8adbac[_0x3bbfdd(0x1fe)](_0x3e2a5c[_0x15a3d6])<0x0&&Object[_0x3bbfdd(0x141)][_0x3bbfdd(0x24c)][_0x3bbfdd(0x364)](_0x548731,_0x3e2a5c[_0x15a3d6])&&(_0x34cad3[_0x3e2a5c[_0x15a3d6]]=_0x548731[_0x3e2a5c[_0x15a3d6]]);}return _0x34cad3;},_0x2533bb=_0x188472['forwardRef'](function(_0x16fe96,_0x3d1c99){const _0x2315e0=_0x3f6827;var _0x4f8750=_0x16fe96['icon'],_0x552f69=_0x16fe96['id'],_0x513546=_0x16fe96[_0x2315e0(0x1cf)],_0x44356f=_0x16fe96[_0x2315e0(0x14b)],_0x55a6f2=_0x2b6346(_0x16fe96,[_0x2315e0(0x34f),'id',_0x2315e0(0x1cf),'extend']),_0x21667b=_0x2315e0(0x434)[_0x2315e0(0x374)](_0x552f69,'\x20')[_0x2315e0(0x374)](_0x513546||'')[_0x2315e0(0xbb)](),_0x376f0d=_0x188472[_0x2315e0(0xe8)]('_'[_0x2315e0(0x374)](_0x128c6e()));return _0x551db2(_0x4f8750,''[_0x2315e0(0x374)](_0x552f69),{'defIds':_0x4f8750[_0x2315e0(0x299)],'idSuffix':_0x376f0d['current']},_0xc2c828({'ref':_0x3d1c99,'className':_0x21667b},_0x55a6f2),_0x44356f);});function _0x551db2(_0x11485e,_0x112bd1,_0x4130d2,_0x412cc2,_0x4c6983){const _0x419475=_0x3f6827;return _0x188472['createElement'](_0x11485e['tag'],_0xc2c828(_0xc2c828({'key':_0x112bd1},_0x2697ec(_0x11485e,_0x4130d2,_0x4c6983)),_0x412cc2),(_0x338034(_0x11485e,_0x4130d2)[_0x419475(0x242)]||[])['map'](function(_0x472e9a,_0x488cb4){const _0x4eda7d=_0x419475;return _0x551db2(_0x472e9a,''[_0x4eda7d(0x374)](_0x112bd1,'-')['concat'](_0x11485e[_0x4eda7d(0x360)],'-')[_0x4eda7d(0x374)](_0x488cb4),_0x4130d2,void 0x0,_0x4c6983);}));}function _0x2697ec(_0x1e7573,_0x2fea30,_0x438223){const _0x554b11=_0x3f6827;var _0x218d51=_0xc2c828({},_0x1e7573[_0x554b11(0x103)]);_0x438223!=null&&_0x438223['colorChannel1']&&_0x218d51[_0x554b11(0x3ac)]===_0x554b11(0x217)&&(_0x218d51[_0x554b11(0x3ac)]=_0x438223['colorChannel1']);var _0x423c44=_0x2fea30[_0x554b11(0x299)];return!_0x423c44||_0x423c44[_0x554b11(0x16b)]===0x0||(_0x1e7573['tag']===_0x554b11(0x23a)&&_0x218d51[_0x554b11(0x176)]&&(_0x218d51[_0x554b11(0x176)]=_0x218d51['xlink:href']+_0x2fea30[_0x554b11(0x42c)]),Object[_0x554b11(0xd5)](_0x218d51)[_0x554b11(0x384)](function(_0x58a523){const _0x29b714=_0x554b11;var _0x52a4aa=_0x58a523[0x0],_0x4003e6=_0x58a523[0x1];typeof _0x4003e6==_0x29b714(0x130)&&(_0x218d51[_0x52a4aa]=_0x4003e6[_0x29b714(0xc6)](/url\(#(.*)\)/,_0x29b714(0x44e)['concat'](_0x2fea30[_0x29b714(0x42c)],')')));})),_0x218d51;}function _0x338034(_0x59e074,_0x467315){const _0x3a92a2=_0x3f6827;var _0x297945,_0x28398d=_0x467315[_0x3a92a2(0x299)];return!_0x28398d||_0x28398d[_0x3a92a2(0x16b)]===0x0?_0x59e074:_0x59e074[_0x3a92a2(0x360)]===_0x3a92a2(0x1de)&&(!((_0x297945=_0x59e074[_0x3a92a2(0x242)])===null||_0x297945===void 0x0)&&_0x297945[_0x3a92a2(0x16b)])?_0xc2c828(_0xc2c828({},_0x59e074),{'children':_0x59e074['children'][_0x3a92a2(0x25f)](function(_0x18ea19){const _0x34d9fe=_0x3a92a2;return typeof _0x18ea19['attrs']['id']=='string'&&_0x28398d&&_0x28398d['indexOf'](_0x18ea19[_0x34d9fe(0x103)]['id'])>-0x1?_0xc2c828(_0xc2c828({},_0x18ea19),{'attrs':_0xc2c828(_0xc2c828({},_0x18ea19['attrs']),{'id':_0x18ea19[_0x34d9fe(0x103)]['id']+_0x467315['idSuffix']})}):_0x18ea19;})}):_0x59e074;}function _0x128c6e(){const _0x28cc60=_0x3f6827;return Math['random']()[_0x28cc60(0x1d9)](0x24)[_0x28cc60(0x143)](0x2,0x8);}_0x2533bb[_0x3f6827(0x32e)]=_0x3f6827(0x326);var _0x1d33fd={'tag':_0x3f6827(0x3ce),'attrs':{'fill':'none','viewBox':_0x3f6827(0x17f),'width':_0x3f6827(0x26d),'height':_0x3f6827(0x26d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x3f6827(0x446),'d':_0x3f6827(0x11e),'strokeLinecap':_0x3f6827(0x264),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f6827(0x10f)},'children':[{'tag':_0x3f6827(0x13f),'attrs':{'fill':_0x3f6827(0x37e),'d':_0x3f6827(0xf0)}}]}]}],'defIds':[_0x3f6827(0x10f)]},_0x93a5f0=_0x188472['forwardRef'](function(_0x261311,_0x1a0aca){const _0x274730=_0x3f6827;return _0x188472[_0x274730(0xc0)](_0x2533bb,Object[_0x274730(0x2d2)]({},_0x261311,{'id':_0x274730(0x366),'ref':_0x1a0aca,'icon':_0x1d33fd}));});_0x93a5f0['displayName']=_0x3f6827(0x319);var _0x1df628={'tag':_0x3f6827(0x3ce),'attrs':{'fill':_0x3f6827(0x1c4),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3f6827(0x13f),'attrs':{'stroke':'currentColor','d':_0x3f6827(0x37f),'strokeLinecap':'round','strokeLinejoin':_0x3f6827(0x264),'strokeWidth':1.2}}]},{'tag':_0x3f6827(0x1de),'attrs':{},'children':[{'tag':_0x3f6827(0x348),'attrs':{'id':_0x3f6827(0x28e)},'children':[{'tag':_0x3f6827(0x13f),'attrs':{'fill':'#fff','d':_0x3f6827(0xf0),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3f6827(0x28e)]},_0x175561=_0x188472[_0x3f6827(0x437)](function(_0x16e643,_0x6e2fb0){const _0x563634=_0x3f6827;return _0x188472[_0x563634(0xc0)](_0x2533bb,Object[_0x563634(0x2d2)]({},_0x16e643,{'id':_0x563634(0x219),'ref':_0x6e2fb0,'icon':_0x1df628}));});_0x175561['displayName']='OnLineSingle';const _0x41a09d={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x3f6827(0x2ec),'onlineStatus':_0x3f6827(0x3cb),'online':_0x3f6827(0x2c1),'offline':'univer-offline'};function _0x421ee6(_0x2f22af){const _0x37d495=_0x3f6827;switch(_0x2f22af){case _0x16cedf['OFFLINE']:return'collabStatus.offline';case _0x16cedf[_0x37d495(0x3dc)]:return _0x37d495(0x2ee);case _0x16cedf[_0x37d495(0x9c)]:return _0x37d495(0x144);case _0x16cedf[_0x37d495(0x150)]:return'collabStatus.notCollab';case _0x16cedf[_0x37d495(0x2e3)]:case _0x16cedf[_0x37d495(0x159)]:case _0x16cedf[_0x37d495(0x276)]:return _0x37d495(0x1e8);case _0x16cedf[_0x37d495(0x423)]:return _0x37d495(0x244);}}function _0x3021bf(_0x1e67df){const _0x484666=_0x3f6827,{status$:_0x360291}=_0x1e67df,_0x4878d1=_0x1d23ef[_0x484666(0x401)](_0x360291,_0x16cedf['NOT_COLLAB']),_0x56e9b5=_0x28e235[_0x484666(0x36a)](_0x28e235[_0x484666(0x3a0)]),_0x250ccd=_0x4878d1!==_0x16cedf[_0x484666(0x353)],_0x560e65=_0x56e9b5['t'](_0x421ee6(_0x4878d1)),_0x42378c=_0x44b7b0(_0x41a09d[_0x484666(0x7d)],{[_0x41a09d[_0x484666(0xf7)]]:_0x250ccd,[_0x41a09d['offline']]:!_0x250ccd}),_0x4252c1=_0x250ccd?_0x188472[_0x484666(0xc0)](_0x175561,null):_0x188472['createElement'](_0x93a5f0,null);return _0x188472[_0x484666(0xc0)](_0x484666(0xbc),{'className':_0x42378c},_0x188472[_0x484666(0xc0)](_0x484666(0xbc),{'className':_0x41a09d[_0x484666(0x3dd)]},_0x4252c1),_0x188472[_0x484666(0xc0)](_0x484666(0xbc),{'className':_0x41a09d[_0x484666(0x1fd)]},_0x560e65));}var _0x3fa02e=Object[_0x3f6827(0x328)],_0x94ad3d=Object['getOwnPropertyDescriptor'],_0x514954=(_0x32ad82,_0x5e1bbf,_0x1e9441,_0x128f49)=>{for(var _0x3aa6a3=_0x128f49>0x1?void 0x0:_0x128f49?_0x94ad3d(_0x5e1bbf,_0x1e9441):_0x5e1bbf,_0x296715=_0x32ad82['length']-0x1,_0x23364c;_0x296715>=0x0;_0x296715--)(_0x23364c=_0x32ad82[_0x296715])&&(_0x3aa6a3=(_0x128f49?_0x23364c(_0x5e1bbf,_0x1e9441,_0x3aa6a3):_0x23364c(_0x3aa6a3))||_0x3aa6a3);return _0x128f49&&_0x3aa6a3&&_0x3fa02e(_0x5e1bbf,_0x1e9441,_0x3aa6a3),_0x3aa6a3;},_0x43e3c8=(_0x5d3269,_0x1c6849)=>(_0x25ad36,_0x4f2b1e)=>_0x1c6849(_0x25ad36,_0x4f2b1e,_0x5d3269);_0x538e2a[_0x3f6827(0x430)]=class extends _0x28e235[_0x3f6827(0x29c)]{constructor(_0x38cd1e,_0x314b4c,_0x3b3e87,_0x5547bc){const _0x570567=_0x3f6827;super(),_0x2b7d82(this,_0x570567(0x148),new _0x2820f3[(_0x570567(0x371))](_0x16cedf[_0x570567(0x150)])),(this[_0x570567(0x156)]=_0x38cd1e,this[_0x570567(0x20c)]=_0x314b4c,this[_0x570567(0x3ef)]=_0x3b3e87,this['_collaborationController']=_0x5547bc,this[_0x570567(0x8c)](),this[_0x570567(0x3a4)]());}[_0x3f6827(0x8c)](){const _0x42bc0d=_0x3f6827;this[_0x42bc0d(0x41b)](this[_0x42bc0d(0x20c)][_0x42bc0d(0x391)](_0x1d23ef['BuiltInUIPart'][_0x42bc0d(0x34d)],()=>_0x28e235[_0x42bc0d(0x3a2)](_0x4303e4({'status$':this['_status$']['asObservable']()}),this[_0x42bc0d(0x3ef)])));}['_initStatusListener'](){const _0x5c183b=_0x3f6827;this[_0x5c183b(0x41b)](_0x28e235['toDisposable'](this[_0x5c183b(0x156)]['focused$'][_0x5c183b(0x2ef)](_0x2820f3['switchMap'](()=>{const _0x2981f4=_0x5c183b,_0x3a52fb=this[_0x2981f4(0x156)]['getFocusedUnit']();return _0x3a52fb?this[_0x2981f4(0x428)][_0x2981f4(0xed)](_0x3a52fb[_0x2981f4(0x322)]()):_0x2820f3['of'](null);}),_0x2820f3[_0x5c183b(0x225)](_0x550d0a=>_0x550d0a?_0x550d0a[_0x5c183b(0x3f2)]:_0x2820f3['of'](_0x16cedf[_0x5c183b(0x150)])))[_0x5c183b(0x3cd)](_0x1d2530=>{const _0x1e9bad=_0x5c183b;this['_status$'][_0x1e9bad(0x18d)](_0x1d2530);})));}},_0x538e2a[_0x3f6827(0x430)]=_0x514954([_0x28e235[_0x3f6827(0xb8)](_0x28e235[_0x3f6827(0x177)][_0x3f6827(0xd4)],_0x538e2a[_0x3f6827(0x430)]),_0x43e3c8(0x0,_0x28e235[_0x3f6827(0x19b)]),_0x43e3c8(0x1,_0x1d23ef['IUIPartsService']),_0x43e3c8(0x2,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x3e8)])),_0x43e3c8(0x3,_0x28e235['Inject'](_0x538e2a[_0x3f6827(0x135)]))],_0x538e2a[_0x3f6827(0x430)]);function _0x4303e4(_0x3c2782){const {status$:_0x3421f8}=_0x3c2782;return function(){const _0x2c7fef=_0x45d3;return _0x188472[_0x2c7fef(0xc0)](_0x3021bf,{'status$':_0x3421f8});};}const _0xfaea01=_0x28e235['createIdentifier'](_0x3f6827(0x2da));var _0x863b71=Object[_0x3f6827(0x328)],_0x5c0ae3=Object[_0x3f6827(0x1cb)],_0x34dd7e=(_0xb7d4aa,_0x4c754f,_0x21134e,_0x33f0ce)=>{const _0x21d130=_0x3f6827;for(var _0x36178d=_0x33f0ce>0x1?void 0x0:_0x33f0ce?_0x5c0ae3(_0x4c754f,_0x21134e):_0x4c754f,_0x3c585e=_0xb7d4aa[_0x21d130(0x16b)]-0x1,_0x28d528;_0x3c585e>=0x0;_0x3c585e--)(_0x28d528=_0xb7d4aa[_0x3c585e])&&(_0x36178d=(_0x33f0ce?_0x28d528(_0x4c754f,_0x21134e,_0x36178d):_0x28d528(_0x36178d))||_0x36178d);return _0x33f0ce&&_0x36178d&&_0x863b71(_0x4c754f,_0x21134e,_0x36178d),_0x36178d;},_0xb0d7f3=(_0x5dcab2,_0x1e86c9)=>(_0x437168,_0x2a11e3)=>_0x1e86c9(_0x437168,_0x2a11e3,_0x5dcab2);_0x538e2a[_0x3f6827(0x2d6)]=class extends _0x28e235[_0x3f6827(0x93)]{constructor(_0x1a605d,_0x328064,_0x21346f,_0x4302c3,_0x4303db,_0x3d7b31){const _0x2246f0=_0x3f6827;super(),this[_0x2246f0(0x256)]=_0x1a605d,this['_logService']=_0x328064,this[_0x2246f0(0x11a)]=_0x21346f,this[_0x2246f0(0x2a6)]=_0x4302c3,this[_0x2246f0(0x184)]=_0x4303db,_0x3d7b31?_0x3d7b31==null||_0x3d7b31[_0x2246f0(0x3c8)]()['then'](()=>this['_init']()):(this[_0x2246f0(0x1af)][_0x2246f0(0x293)](_0x2246f0(0x1fc),_0x2246f0(0x399)),this[_0x2246f0(0x3e4)]());}async[_0x3f6827(0x3e4)](){const _0x4ce615=_0x3f6827,_0x53a982=this[_0x4ce615(0x256)][_0x4ce615(0x1ec)](_0x4ce615(0xff)),_0x27009f=this[_0x4ce615(0x256)]['getParam'](_0x4ce615(0x1ba));if(!_0x53a982||!_0x27009f){this['_logService'][_0x4ce615(0x293)](_0x4ce615(0x1fc),_0x4ce615(0x394));return;}switch(Number(_0x27009f)){case _0x2dcfa8['UNIVER_SHEET']:{const _0x253261=await this[_0x4ce615(0x342)](_0x53a982);this['_setupSubUnitSync'](_0x253261);break;}case _0x2dcfa8[_0x4ce615(0x372)]:{await this['_loadDoc'](_0x53a982);break;}default:{this['_logService'][_0x4ce615(0x270)](_0x4ce615(0x1fc),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0x129678){const _0x9538ef=_0x3f6827;await this['_updateSubUnitFromURLParams'](_0x129678),_0x129678[_0x9538ef(0x444)][_0x9538ef(0x2ef)](_0x2820f3[_0x9538ef(0xeb)](this['dispose$']))[_0x9538ef(0x3cd)](_0x9e591=>{const _0x5a7737=_0x9538ef;_0x9e591&&this[_0x5a7737(0x1e5)](_0x9e591);}),this[_0x9538ef(0x256)][_0x9538ef(0x3f4)][_0x9538ef(0x2ef)](_0x2820f3[_0x9538ef(0xeb)](this['dispose$']))['subscribe'](()=>this[_0x9538ef(0x3e7)](_0x129678));}[_0x3f6827(0x1e5)](_0x4c4990,_0x964f4f=!0x1){const _0x55a414=_0x3f6827,_0x55b0dd=this[_0x55a414(0x256)][_0x55a414(0x1ec)](_0x55a414(0x17d));_0x4c4990[_0x55a414(0x32d)]()!==_0x55b0dd&&this[_0x55a414(0x256)]['setParam'](_0x55a414(0x17d),_0x4c4990[_0x55a414(0x32d)](),_0x964f4f);}async[_0x3f6827(0x3e7)](_0x47be53){const _0xe2ca63=_0x3f6827;var _0x3a9c0c;const _0x3914e2=this['_urlService'][_0xe2ca63(0x1ec)](_0xe2ca63(0x17d));if(!_0x3914e2||!_0x47be53['getSheetBySheetId'](_0x3914e2)){const _0x2d1586=_0x47be53[_0xe2ca63(0x343)]()[0x0],_0x3a06e2=_0x47be53['getSheetBySheetId'](_0x2d1586);if(!_0x3a06e2)return;this['_updateURLWithCurrentState'](_0x3a06e2,!0x0),await this['_commandService'][_0xe2ca63(0x203)](_0x48cd6e['SetWorksheetActivateCommand']['id'],{'unitId':_0x47be53['getUnitId'](),'subUnitId':_0x2d1586});return;}((_0x3a9c0c=_0x47be53[_0xe2ca63(0x155)]())==null?void 0x0:_0x3a9c0c[_0xe2ca63(0x32d)]())!==_0x3914e2&&await this[_0xe2ca63(0x11a)]['executeCommand'](_0x48cd6e[_0xe2ca63(0x282)]['id'],{'unitId':_0x47be53['getUnitId'](),'subUnitId':_0x3914e2});}async['_loadSheet'](_0x2dcfc1){const _0x47a4db=_0x3f6827;let _0x41f122=0x0;const _0x3aaded=await this['_localCacheService'][_0x47a4db(0x170)](_0x2dcfc1);return _0x3aaded&&(_0x3aaded[_0x47a4db(0x82)]||_0x3aaded['mutations'][_0x47a4db(0x16b)]!==0x0)&&(_0x41f122=_0x3aaded[_0x47a4db(0x3e9)]),_0x41f122===0x0&&this[_0x47a4db(0x1af)][_0x47a4db(0x293)](_0x47a4db(0x1fc),_0x47a4db(0x1b7)),this[_0x47a4db(0x184)][_0x47a4db(0x44c)](_0x2dcfc1,_0x41f122);}async[_0x3f6827(0x183)](_0xf811a2){const _0x511607=_0x3f6827;let _0x277043=0x0;const _0x424f82=await this['_localCacheService']['loadOfflineData'](_0xf811a2);return _0x424f82&&(_0x424f82[_0x511607(0x82)]||_0x424f82[_0x511607(0x28b)]['length']!==0x0)&&(_0x277043=_0x424f82[_0x511607(0x3e9)]),_0x277043===0x0&&this[_0x511607(0x1af)][_0x511607(0x293)]('[DataLoaderController]',_0x511607(0x1b7)),this[_0x511607(0x184)]['loadDoc'](_0xf811a2,_0x277043);}},_0x538e2a[_0x3f6827(0x2d6)]=_0x34dd7e([_0x28e235[_0x3f6827(0xb8)](_0x28e235[_0x3f6827(0x177)][_0x3f6827(0xd4)],_0x538e2a['DataLoaderController']),_0xb0d7f3(0x0,_0xfaea01),_0xb0d7f3(0x1,_0x28e235[_0x3f6827(0x40e)]),_0xb0d7f3(0x2,_0x28e235[_0x3f6827(0x23d)]),_0xb0d7f3(0x3,_0x28e235[_0x3f6827(0xb5)](_0x538e2a[_0x3f6827(0x249)])),_0xb0d7f3(0x4,_0x28e235[_0x3f6827(0xb5)](_0x4ecbea['SnapshotService'])),_0xb0d7f3(0x5,_0x28e235['Optional'](_0x2602c2[_0x3f6827(0x1aa)]))],_0x538e2a[_0x3f6827(0x2d6)]);var _0x34696c=Object[_0x3f6827(0x328)],_0x12a465=Object[_0x3f6827(0x1cb)],_0xf2d90f=(_0x159530,_0x28bdaf,_0x272485,_0x419978)=>{const _0x314383=_0x3f6827;for(var _0x5c9b68=_0x419978>0x1?void 0x0:_0x419978?_0x12a465(_0x28bdaf,_0x272485):_0x28bdaf,_0x48c63b=_0x159530[_0x314383(0x16b)]-0x1,_0x280d1d;_0x48c63b>=0x0;_0x48c63b--)(_0x280d1d=_0x159530[_0x48c63b])&&(_0x5c9b68=(_0x419978?_0x280d1d(_0x28bdaf,_0x272485,_0x5c9b68):_0x280d1d(_0x5c9b68))||_0x5c9b68);return _0x419978&&_0x5c9b68&&_0x34696c(_0x28bdaf,_0x272485,_0x5c9b68),_0x5c9b68;},_0x2878fe=(_0x24d4b1,_0x6585a3)=>(_0x205c8e,_0x4815f8)=>_0x6585a3(_0x205c8e,_0x4815f8,_0x24d4b1);const _0x40a265=_0x3f6827(0x1fb),_0x54ff0e=_0x3f6827(0x3aa);let _0x2d9bf7=class extends _0x28e235[_0x3f6827(0x29c)]{constructor(_0xb2a39c,_0x51ceb5){const _0x292026=_0x3f6827;super(),this['_univerInstanceService']=_0xb2a39c,this[_0x292026(0x381)]=_0x51ceb5,this[_0x292026(0x3e4)]();}[_0x3f6827(0x3e4)](){const _0x37462a=_0x3f6827;this['disposeWithMe'](_0x28e235[_0x37462a(0x23e)](this[_0x37462a(0x156)][_0x37462a(0xfa)][_0x37462a(0x3cd)](()=>{const _0x800fd2=_0x37462a;var _0x3186ee;const _0x7ecf96=this[_0x800fd2(0x156)]['getFocusedUnit']();let _0x10498b=(_0x3186ee=this['_configService']['getConfig'](_0x40a265))!=null?_0x3186ee:_0x54ff0e;_0x7ecf96 instanceof _0x28e235[_0x800fd2(0x41d)]&&(_0x10498b=_0x7ecf96[_0x800fd2(0x2e6)]),document[_0x800fd2(0x3bf)]=_0x10498b;})));}};_0x2d9bf7=_0xf2d90f([_0x28e235['OnLifecycle'](_0x28e235[_0x3f6827(0x177)][_0x3f6827(0x22c)],_0x2d9bf7),_0x2878fe(0x0,_0x28e235[_0x3f6827(0x19b)]),_0x2878fe(0x1,_0x28e235[_0x3f6827(0x115)])],_0x2d9bf7);var _0x397835=Object['defineProperty'],_0x199736=Object[_0x3f6827(0x1cb)],_0x6de05a=(_0x4e3a5c,_0x8328a4,_0x499bb8,_0x9b7187)=>{const _0x28de75=_0x3f6827;for(var _0x4f68fd=_0x9b7187>0x1?void 0x0:_0x9b7187?_0x199736(_0x8328a4,_0x499bb8):_0x8328a4,_0x267854=_0x4e3a5c[_0x28de75(0x16b)]-0x1,_0x3b46e0;_0x267854>=0x0;_0x267854--)(_0x3b46e0=_0x4e3a5c[_0x267854])&&(_0x4f68fd=(_0x9b7187?_0x3b46e0(_0x8328a4,_0x499bb8,_0x4f68fd):_0x3b46e0(_0x4f68fd))||_0x4f68fd);return _0x9b7187&&_0x4f68fd&&_0x397835(_0x8328a4,_0x499bb8,_0x4f68fd),_0x4f68fd;},_0x40cf83=(_0x1253fc,_0x5ebdbd)=>(_0x4a86c0,_0x18a6c2)=>_0x5ebdbd(_0x4a86c0,_0x18a6c2,_0x1253fc);_0x538e2a['SnapshotServerOverHTTPService']=class{constructor(_0x25a7fa,_0x427766){const _0xc62f27=_0x3f6827;this[_0xc62f27(0x381)]=_0x25a7fa,this[_0xc62f27(0x3fb)]=_0x427766;}async[_0x3f6827(0x1e9)](_0x68feb0,_0x11ab3c){const _0x1935d4=_0x3f6827;var _0x22519f;const {unitID:_0x5c7cd5,type:_0x218677,revision:_0x4f6a48=0x0}=_0x11ab3c,_0x33dd6a=this[_0x1935d4(0xe7)]()+'/'+_0x218677+_0x1935d4(0x1a6)+_0x5c7cd5+_0x1935d4(0x1ac)+_0x4f6a48,_0x3c5ae0=(await this[_0x1935d4(0x3fb)][_0x1935d4(0x450)](_0x33dd6a))[_0x1935d4(0x18b)],_0x571a99=(_0x22519f=_0x3c5ae0[_0x1935d4(0x3fd)])==null?void 0x0:_0x22519f['workbook'];if(_0x571a99){const _0x41e6f5=_0x571a99==null?void 0x0:_0x571a99['originalMeta'],_0x260fa6=_0x28e235['textEncoder'][_0x1935d4(0x27b)](_0x28e235[_0x1935d4(0x429)](_0x41e6f5));_0x571a99['originalMeta']=_0x260fa6,Object['entries'](_0x571a99[_0x1935d4(0x21e)])[_0x1935d4(0x384)](([,_0x106f67])=>{const _0x32c680=_0x1935d4,_0x3c1ab6=_0x106f67['originalMeta'],_0x17fffd=_0x28e235[_0x32c680(0x3ff)][_0x32c680(0x27b)](_0x28e235[_0x32c680(0x429)](_0x3c1ab6));_0x106f67[_0x32c680(0x191)]=_0x17fffd;});}return _0x3c5ae0;}async['getSheetBlock'](_0x3373a6,_0x32794d){const _0x548dbf=_0x3f6827,{unitID:_0x16c90c,type:_0x1f6a04,blockID:_0x3e0634}=_0x32794d,_0x29a525=this[_0x548dbf(0x19f)]()+'/'+_0x1f6a04+_0x548dbf(0x1a6)+_0x16c90c+_0x548dbf(0x1e1)+_0x3e0634;return(await this[_0x548dbf(0x3fb)][_0x548dbf(0x450)](_0x29a525))[_0x548dbf(0x18b)];}async[_0x3f6827(0x116)](_0x1e7e96,_0x118df0){const _0x54b54b=_0x3f6827,{unitID:_0x30e8a7,type:_0x3febdc,from:_0x269528,to:_0x28e64d}=_0x118df0,_0x2a04df=this[_0x54b54b(0x19f)]()+'/'+_0x3febdc+_0x54b54b(0x1a6)+_0x30e8a7+_0x54b54b(0x213)+_0x269528+_0x54b54b(0x266)+_0x28e64d;return(await this[_0x54b54b(0x3fb)]['get'](_0x2a04df))[_0x54b54b(0x18b)];}['_getSnapshotAPIPrefix'](){const _0x3d9235=_0x3f6827;var _0x32b781;return(_0x32b781=this[_0x3d9235(0x381)][_0x3d9235(0x457)](_0x19eb4b))!=null?_0x32b781:this[_0x3d9235(0x19f)]();}[_0x3f6827(0x19f)](){const _0x34e297=_0x3f6827;var _0x2491cb;return(_0x2491cb=this[_0x34e297(0x381)][_0x34e297(0x457)](_0x26cbfd))!=null?_0x2491cb:_0x58bc58;}async[_0x3f6827(0x301)](_0x591934,_0x14a1a7){const _0x1755c8=_0x3f6827,_0x4d1207='/universer-api/snapshot/'+_0x14a1a7['type']+_0x1755c8(0x1a6)+_0x14a1a7[_0x1755c8(0x27d)]+'/resources';return(await this[_0x1755c8(0x3fb)][_0x1755c8(0x450)](_0x4d1207,{'params':{'resourceId':JSON[_0x1755c8(0x2a0)](_0x14a1a7[_0x1755c8(0x3d0)])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f6827(0x210)](){const _0xc95387=_0x3f6827;throw new Error(_0xc95387(0x216));}},_0x538e2a[_0x3f6827(0x448)]=_0x6de05a([_0x40cf83(0x0,_0x28e235[_0x3f6827(0x115)]),_0x40cf83(0x1,_0x28e235[_0x3f6827(0xb5)](_0x7b6974[_0x3f6827(0xaa)]))],_0x538e2a[_0x3f6827(0x448)]);var _0xd75126=Object['defineProperty'],_0x34ed3a=Object['getOwnPropertyDescriptor'],_0xa559a0=(_0x2a2e7a,_0x3fa994,_0x864c07,_0x574aea)=>{const _0x343fda=_0x3f6827;for(var _0x3bfd1f=_0x574aea>0x1?void 0x0:_0x574aea?_0x34ed3a(_0x3fa994,_0x864c07):_0x3fa994,_0x3916af=_0x2a2e7a[_0x343fda(0x16b)]-0x1,_0x6101bd;_0x3916af>=0x0;_0x3916af--)(_0x6101bd=_0x2a2e7a[_0x3916af])&&(_0x3bfd1f=(_0x574aea?_0x6101bd(_0x3fa994,_0x864c07,_0x3bfd1f):_0x6101bd(_0x3bfd1f))||_0x3bfd1f);return _0x574aea&&_0x3bfd1f&&_0xd75126(_0x3fa994,_0x864c07,_0x3bfd1f),_0x3bfd1f;},_0x2e94a9=(_0x156f52,_0x35bc84)=>(_0x5ee2f4,_0x3bb687)=>_0x35bc84(_0x5ee2f4,_0x3bb687,_0x156f52);let _0x404988=class extends _0x28e235['LocalUndoRedoService']{constructor(_0x95f2a1,_0x55bb0b,_0x4d7c9f,_0x1fda3d,_0x10ee30){const _0x43e719=_0x3f6827;super(_0x95f2a1,_0x55bb0b,_0x4d7c9f),this[_0x43e719(0x2b0)]=_0x1fda3d,this[_0x43e719(0x1af)]=_0x10ee30;}[_0x3f6827(0x331)](_0x599f19,_0x4df6c4){const _0xa19b75=_0x3f6827,_0x1c8645=this['_getUndoStack'](_0x599f19);if(_0x1c8645)try{const _0x2320e9=this[_0xa19b75(0x136)](_0x1c8645,_0x4df6c4);this[_0xa19b75(0x39d)](_0x599f19,_0x2320e9);}catch(_0x45eddf){this[_0xa19b75(0x1af)][_0xa19b75(0x270)](_0xa19b75(0xee),_0x45eddf),this[_0xa19b75(0xa1)](_0x599f19);}const _0x54cef4=this['_getRedoStack'](_0x599f19);if(_0x54cef4)try{const _0x49eb1e=this[_0xa19b75(0x136)](_0x54cef4,_0x4df6c4);this[_0xa19b75(0x14d)](_0x599f19,_0x49eb1e);}catch(_0x1117ff){this['_logService']['error'](_0x1117ff),this[_0xa19b75(0x358)](_0x599f19);}}[_0x3f6827(0xa1)](_0x4cbe3a){const _0xe9ed45=_0x3f6827,_0x5727b4=this[_0xe9ed45(0x26c)](_0x4cbe3a);_0x5727b4&&(_0x5727b4[_0xe9ed45(0x16b)]=0x0,this[_0xe9ed45(0x261)]());}[_0x3f6827(0x358)](_0x126925){const _0x5254b1=_0x3f6827,_0x3f4b1e=this['_getRedoStack'](_0x126925);_0x3f4b1e&&(_0x3f4b1e[_0x5254b1(0x16b)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x50d20e,_0x3d31f3){const _0x1bf23a=_0x3f6827;this[_0x1bf23a(0x20f)][_0x1bf23a(0x2b2)](_0x50d20e,_0x3d31f3),this[_0x1bf23a(0x261)]();}[_0x3f6827(0x14d)](_0x47d76d,_0x47f3d9){const _0x34cedf=_0x3f6827;this[_0x34cedf(0x1be)][_0x34cedf(0x2b2)](_0x47d76d,_0x47f3d9),this['_updateStatus']();}[_0x3f6827(0x136)](_0x159915,_0x4fe88d){const _0x1b8e9f=_0x3f6827,_0x20b195=[];let _0x5a5e66=_0x4fe88d,_0x277a31=_0x4fe88d;for(let _0x3dd15c=_0x159915['length']-0x1;_0x3dd15c>=0x0;_0x3dd15c--){const {unitID:_0x396592,undoMutations:_0x1bafc6,redoMutations:_0x25ca79}=_0x159915[_0x3dd15c],_0x5a1318=this[_0x1b8e9f(0x2b0)][_0x1b8e9f(0x2d3)](_0x5a5e66,_0x1bafc6),_0x1fc6ed=this['_transformService'][_0x1b8e9f(0x2d3)](_0x277a31,_0x25ca79);if(_0x4ecbea[_0x1b8e9f(0x95)](_0x5a1318)||_0x4ecbea[_0x1b8e9f(0x95)](_0x1fc6ed)){this[_0x1b8e9f(0x1af)]['error'](_0x1b8e9f(0xee),_0x1b8e9f(0x2d0),_0x5a1318,_0x1fc6ed);break;}_0x5a5e66=_0x5a1318[_0x1b8e9f(0x35d)],_0x277a31=_0x1fc6ed['c1Prime'],_0x20b195[_0x1b8e9f(0x386)]({'unitID':_0x396592,'undoMutations':_0x5a1318['m2Prime'],'redoMutations':_0x1fc6ed[_0x1b8e9f(0x3c6)]});}return _0x20b195[_0x1b8e9f(0x207)]();}};_0x404988=_0xa559a0([_0x2e94a9(0x0,_0x28e235[_0x3f6827(0x19b)]),_0x2e94a9(0x1,_0x28e235['ICommandService']),_0x2e94a9(0x2,_0x28e235[_0x3f6827(0x107)]),_0x2e94a9(0x3,_0x4ecbea[_0x3f6827(0x111)]),_0x2e94a9(0x4,_0x28e235[_0x3f6827(0x40e)])],_0x404988);class _0x591250 extends _0x28e235[_0x3f6827(0x93)]{constructor(){const _0x19e8a7=_0x3f6827;super(),_0x2b7d82(this,'urlChange$'),this[_0x19e8a7(0x3f4)]=_0x2820f3[_0x19e8a7(0x172)](window,_0x19e8a7(0x453))[_0x19e8a7(0x2ef)](_0x2820f3[_0x19e8a7(0xeb)](this[_0x19e8a7(0x388)]),_0x2820f3[_0x19e8a7(0x3d5)](0x1),_0x2820f3[_0x19e8a7(0x234)](void 0x0));}[_0x3f6827(0x10b)](_0x2ec752,_0x58607e,_0x3f92e6=!0x1){const _0xecd47c=_0x3f6827,_0x2bcc01=new URL(window[_0xecd47c(0x146)][_0xecd47c(0x36e)]);_0x2bcc01['searchParams'][_0xecd47c(0x2b2)](_0x2ec752,_0x58607e),_0x3f92e6?window[_0xecd47c(0x1c6)]['replaceState']('','',_0x2bcc01['toString']()):window[_0xecd47c(0x1c6)][_0xecd47c(0x31e)]('','',_0x2bcc01['toString']());}[_0x3f6827(0x167)](_0x116951,_0x2de8cc=!0x1){const _0xcd1b7f=_0x3f6827,_0x5a3983=new URL(window[_0xcd1b7f(0x146)][_0xcd1b7f(0x36e)]);_0x5a3983[_0xcd1b7f(0x13b)][_0xcd1b7f(0x458)](_0x116951),_0x2de8cc?window[_0xcd1b7f(0x1c6)][_0xcd1b7f(0x416)]('','',_0x5a3983[_0xcd1b7f(0x1d9)]()):window['history']['pushState']('','',_0x5a3983['toString']());}[_0x3f6827(0x1ec)](_0x818ad7){const _0x52f813=_0x3f6827;var _0x291165;return(_0x291165=new URL(window[_0x52f813(0x146)][_0x52f813(0x36e)])[_0x52f813(0x13b)][_0x52f813(0x450)](_0x818ad7))!=null?_0x291165:void 0x0;}}const _0x358c07=_0x3f6827(0xca),_0x5b9a89=_0x3f6827(0x145),_0x537fa9=0x6,_0x3d3323=1.5,_0x427459=0x4,_0x365d9e=1.5,_0x5087ba=_0x3f6827(0x3de);class _0x3c48c7{constructor(_0x321e79,_0x181178,_0x685002,_0x31ae19){const _0x47c239=_0x3f6827;_0x2b7d82(this,_0x47c239(0x248),[]),_0x2b7d82(this,_0x47c239(0x247),null),_0x2b7d82(this,'_textBubble',null),_0x2b7d82(this,_0x47c239(0x2a3),null),_0x2b7d82(this,'_hideTimer',null),_0x2b7d82(this,_0x47c239(0xa3),null),(this[_0x47c239(0x243)]=_0x321e79,this[_0x47c239(0x23c)]=_0x181178,this[_0x47c239(0x138)]=_0x685002,this[_0x47c239(0x375)]=_0x31ae19,this[_0x47c239(0x28c)]());}set[_0x3f6827(0x21d)](_0x5bef24){const _0x4d5ce2=_0x3f6827;_0x5bef24?(this[_0x4d5ce2(0x2a3)]&&this['_anchorDot']['hide'](),this[_0x4d5ce2(0x345)]&&this['_textBubble'][_0x4d5ce2(0x226)]()):(this[_0x4d5ce2(0x2a3)]&&this[_0x4d5ce2(0x2a3)][_0x4d5ce2(0x226)](),this[_0x4d5ce2(0x345)]&&this['_textBubble'][_0x4d5ce2(0x2ac)]());}[_0x3f6827(0x179)](){const _0xf5de7c=_0x3f6827;for(const _0x4e904f of this[_0xf5de7c(0x248)])_0x4e904f[_0xf5de7c(0x179)]();this['_textBubble']&&this[_0xf5de7c(0x345)][_0xf5de7c(0x179)](),this[_0xf5de7c(0x2a3)]&&this[_0xf5de7c(0x2a3)][_0xf5de7c(0x179)](),this[_0xf5de7c(0x247)]&&this[_0xf5de7c(0x247)][_0xf5de7c(0x179)](),this[_0xf5de7c(0xa3)]&&this['_eventUnsubscribe']();}[_0x3f6827(0x28c)](){const _0x111934=_0x3f6827,{_docSkeleton:_0x107d9c,_document:_0x3922b2}=this,{color:_0x466559,name:_0x3060de,ranges:_0x59e47e}=this[_0x111934(0x243)],_0x36f8d3=_0x3922b2[_0x111934(0x189)](),{docsLeft:_0x186cba,docsTop:_0x459a19}=_0x36f8d3,_0x469b71=new _0x1c921f['NodePositionConvertToCursor'](_0x36f8d3,_0x107d9c);for(const {startOffset:_0xf1ed8c,endOffset:_0x1e939a,collapsed:_0x3a73b1,isActive:_0x49f9c7}of _0x59e47e){const _0x43fed0=_0x107d9c[_0x111934(0x40f)](_0xf1ed8c),_0x596fd4=_0x107d9c[_0x111934(0x40f)](_0x1e939a);if(_0x49f9c7){const {contentBoxPointGroup:_0x1763be}=_0x469b71[_0x111934(0x2e7)](_0x596fd4,_0x596fd4);if(_0x1763be['length']===0x0)continue;this['_drawAnchor'](_0x466559,_0x1763be,_0x186cba,_0x459a19,_0x3060de),this[_0x111934(0xa3)]=this['_handleHover']();}if(!_0x3a73b1){const {contentBoxPointGroup:_0x5a7b3d}=_0x469b71['getRangePointData'](_0x43fed0,_0x596fd4);if(_0x5a7b3d[_0x111934(0x16b)]===0x0)continue;this[_0x111934(0x239)](_0x466559,_0x5a7b3d,_0x186cba,_0x459a19);}}}[_0x3f6827(0x400)](_0x39331c,_0x28d132,_0x733f5e,_0x41a3f4,_0x568fd3){const _0x26d975=_0x3f6827,_0x348ddc=this[_0x26d975(0x197)](_0x28d132),{left:_0x21c5ed,top:_0x50ac67,height:_0x1d2bbf}=_0x348ddc,_0x3440ef=this[_0x26d975(0x3fa)](),_0x4c5edd=_0x365d9e/_0x3440ef,_0xfb7583=new _0x1c921f[(_0x26d975(0x1d3))](_0x358c07+_0x28e235[_0x26d975(0x309)]['generateRandomId'](_0x537fa9),{'left':_0x21c5ed+_0x733f5e-_0x4c5edd,'top':_0x50ac67+_0x41a3f4,'height':_0x1d2bbf,'width':_0x3d3323,'fill':_0x39331c||_0x1c921f['getColor'](_0x28e235[_0x26d975(0x19c)][_0x26d975(0x223)],0x0),'strokeWidth':_0x4c5edd,'stroke':_0x5087ba,'evented':!0x0});this[_0x26d975(0x247)]=_0xfb7583,this['_scene'][_0x26d975(0x3c1)](_0xfb7583,_0x1c921f['TEXT_RANGE_LAYER_INDEX']);const _0x30e65b=new _0x1c921f[(_0x26d975(0x1d3))](_0x358c07+_0x28e235[_0x26d975(0x309)][_0x26d975(0x238)](_0x537fa9),{'left':_0x21c5ed+_0x733f5e-_0x4c5edd,'top':_0x50ac67+_0x41a3f4-_0x427459/0x2,'height':_0x427459,'width':_0x427459,'fill':_0x39331c||_0x1c921f[_0x26d975(0x3b8)](_0x28e235[_0x26d975(0x19c)][_0x26d975(0x223)],0x0),'strokeWidth':0x0,'stroke':_0x39331c||_0x1c921f[_0x26d975(0x3b8)](_0x28e235[_0x26d975(0x19c)]['black'],0x0),'evented':!0x1});this[_0x26d975(0x2a3)]=_0x30e65b,this[_0x26d975(0x23c)][_0x26d975(0x3c1)](_0x30e65b,_0x1c921f[_0x26d975(0x152)]);const _0x52a41d=new _0x5acc75(_0x358c07+_0x28e235[_0x26d975(0x309)]['generateRandomId'](_0x537fa9),{'left':_0x21c5ed+_0x733f5e-_0x4c5edd,'top':_0x50ac67+_0x41a3f4-_0x340c63,'text':_0x568fd3,'color':_0x39331c});this[_0x26d975(0x345)]=_0x52a41d,this[_0x26d975(0x23c)][_0x26d975(0x3c1)](_0x52a41d,_0x1c921f[_0x26d975(0x152)]),this[_0x26d975(0x21d)]=!0x1;}[_0x3f6827(0x40c)](){const _0x5679a2=_0x3f6827,_0x3ee8a3=this[_0x5679a2(0x247)][_0x5679a2(0x42a)][_0x5679a2(0x297)](()=>{const _0x24f459=_0x5679a2;this[_0x24f459(0x21d)]=!0x0;}),_0x132cf4=this[_0x5679a2(0x247)][_0x5679a2(0x35a)]['subscribeEvent'](()=>{const _0x116cab=_0x5679a2;this[_0x116cab(0xc2)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1df0e4=_0x5679a2;_0x3ee8a3[_0x1df0e4(0x117)](),_0x132cf4['unsubscribe']();};}[_0x3f6827(0x239)](_0x5f45e9,_0x34cd07,_0xd38172,_0x2e6af7){const _0x1d8bb2=_0x3f6827,_0x4431b9=new _0x28e235['ColorKit'](_0x5f45e9)['setAlpha'](0.2)['toRgbString'](),_0x628eb8=new _0x1c921f[(_0x1d8bb2(0x88))](_0x5b9a89+_0x28e235['Tools'][_0x1d8bb2(0x238)](_0x537fa9),{'pointsGroup':_0x34cd07,'fill':_0x4431b9||_0x1c921f['getColor'](_0x28e235['COLORS'][_0x1d8bb2(0x223)],0.2),'left':_0xd38172,'top':_0x2e6af7,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1d8bb2(0x386)](_0x628eb8),this[_0x1d8bb2(0x23c)][_0x1d8bb2(0x3c1)](_0x628eb8,_0x1c921f['TEXT_RANGE_LAYER_INDEX']);}[_0x3f6827(0x197)](_0x394b39){const _0x554fb6=_0x394b39[0x0],_0x5ec4d1=_0x554fb6[0x0],_0x1a6a89=_0x554fb6[0x2],{x:_0x4da2f9,y:_0x53cd67}=_0x5ec4d1,{x:_0x4c5a29,y:_0x4e9438}=_0x1a6a89;return{'left':_0x4da2f9,'top':_0x53cd67,'width':_0x4c5a29-_0x4da2f9,'height':_0x4e9438-_0x53cd67};}[_0x3f6827(0x3fa)](){const _0x5cf882=_0x3f6827,{scaleX:_0x48ca96,scaleY:_0x261fdb}=this[_0x5cf882(0x23c)][_0x5cf882(0x271)]();return Math[_0x5cf882(0x231)](_0x48ca96,_0x261fdb);}}var _0x2abdf5=Object[_0x3f6827(0x328)],_0x41543c=Object[_0x3f6827(0x1cb)],_0xa4e941=(_0x35c3e3,_0x5e4865,_0x537eaf,_0x2e4bcb)=>{const _0x5d67fe=_0x3f6827;for(var _0x162042=_0x2e4bcb>0x1?void 0x0:_0x2e4bcb?_0x41543c(_0x5e4865,_0x537eaf):_0x5e4865,_0x4ce903=_0x35c3e3[_0x5d67fe(0x16b)]-0x1,_0x327ff3;_0x4ce903>=0x0;_0x4ce903--)(_0x327ff3=_0x35c3e3[_0x4ce903])&&(_0x162042=(_0x2e4bcb?_0x327ff3(_0x5e4865,_0x537eaf,_0x162042):_0x327ff3(_0x162042))||_0x162042);return _0x2e4bcb&&_0x162042&&_0x2abdf5(_0x5e4865,_0x537eaf,_0x162042),_0x162042;},_0x3b06af=(_0x5944b2,_0x34b49f)=>(_0xcf1243,_0x2c8249)=>_0x34b49f(_0xcf1243,_0x2c8249,_0x5944b2);let _0x5d03af=class extends _0x28e235[_0x3f6827(0x93)]{constructor(_0x4cddfb,_0x557f69,_0x517614,_0x5e375a,_0x4f0a62){const _0x398415=_0x3f6827;super(),_0x2b7d82(this,_0x398415(0x3e2),[]),(this[_0x398415(0x36d)]=_0x4cddfb,this[_0x398415(0x156)]=_0x557f69,this[_0x398415(0x2c6)]=_0x517614,this['_docSkeletonManagerService']=_0x5e375a,this['_themeService']=_0x4f0a62,this['_init']());}[_0x3f6827(0x3e4)](){const _0x384a9b=_0x3f6827;this[_0x384a9b(0x171)]['currentSkeleton$'][_0x384a9b(0x2ef)](_0x1086dc[_0x384a9b(0xeb)](this[_0x384a9b(0x388)]),_0x1086dc[_0x384a9b(0x225)](_0x3b35cd=>{const _0x20bc26=_0x384a9b;if(_0x3b35cd){const _0x265ec3=_0x3b35cd['getViewModel']()[_0x20bc26(0x235)]()[_0x20bc26(0x322)]();return _0x2820f3[_0x20bc26(0x330)](this[_0x20bc26(0x36d)][_0x20bc26(0x3f6)](_0x265ec3),this[_0x20bc26(0x349)][_0x20bc26(0xe2)])[_0x20bc26(0x2ef)](_0x1086dc[_0x20bc26(0x25f)](([_0x569aa4,_0x206ede])=>({'skeleton':_0x3b35cd,'cursors':[..._0x569aa4[_0x20bc26(0x2d8)]()]['flatMap'](_0x4729d7=>({..._0x4729d7,'color':_0x206ede[_0x4729d7[_0x20bc26(0x126)]]}))})));}return _0x2820f3['of']({'skeleton':null,'cursors':[]});}))[_0x384a9b(0x3cd)](({skeleton:_0x2975b0,cursors:_0x17ea07})=>{const _0x5a1fe3=_0x384a9b;this[_0x5a1fe3(0x3fc)](),_0x2975b0&&this[_0x5a1fe3(0x321)](_0x2975b0,_0x17ea07);});}[_0x3f6827(0x321)](_0x5eacae,_0x37cf8f){const _0x166adb=_0x3f6827,_0x5dccf5=this['_getDocObject']();if(_0x5dccf5==null)return;const {scene:_0x30894e,document:_0x2f6f75}=_0x5dccf5,_0x2292ec=_0x37cf8f['map'](_0x1b25a4=>new _0x3c48c7(_0x1b25a4,_0x30894e,_0x5eacae,_0x2f6f75));this[_0x166adb(0x3e2)]=_0x2292ec;}['_removeCollabCursors'](){const _0x225ea0=_0x3f6827;this[_0x225ea0(0x3e2)][_0x225ea0(0x384)](_0x2927ce=>_0x2927ce[_0x225ea0(0x179)]()),this[_0x225ea0(0x3e2)]=[];}[_0x3f6827(0x2b3)](){const _0x257c4a=_0x3f6827;return _0x4e3741[_0x257c4a(0x3a6)](this[_0x257c4a(0x156)],this['_renderManagerService']);}};_0x5d03af=_0xa4e941([_0x28e235[_0x3f6827(0xb8)](_0x28e235[_0x3f6827(0x177)][_0x3f6827(0x162)],_0x5d03af),_0x3b06af(0x0,_0x28e235[_0x3f6827(0xb5)](_0x2e4db5)),_0x3b06af(0x1,_0x28e235[_0x3f6827(0x19b)]),_0x3b06af(0x2,_0x1c921f[_0x3f6827(0x201)]),_0x3b06af(0x3,_0x28e235['Inject'](_0x4e3741[_0x3f6827(0x32b)])),_0x3b06af(0x4,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x2c2)]))],_0x5d03af);var _0x4e3013=Object[_0x3f6827(0x328)],_0x439057=Object['getOwnPropertyDescriptor'],_0x1cf2b6=(_0x159f11,_0x9b9ca8,_0x2ada05,_0x1acd8e)=>{const _0x41c22a=_0x3f6827;for(var _0x548b98=_0x1acd8e>0x1?void 0x0:_0x1acd8e?_0x439057(_0x9b9ca8,_0x2ada05):_0x9b9ca8,_0x223dac=_0x159f11[_0x41c22a(0x16b)]-0x1,_0x50dc1b;_0x223dac>=0x0;_0x223dac--)(_0x50dc1b=_0x159f11[_0x223dac])&&(_0x548b98=(_0x1acd8e?_0x50dc1b(_0x9b9ca8,_0x2ada05,_0x548b98):_0x50dc1b(_0x548b98))||_0x548b98);return _0x1acd8e&&_0x548b98&&_0x4e3013(_0x9b9ca8,_0x2ada05,_0x548b98),_0x548b98;},_0x26bae4=(_0x4276ac,_0x40bf89)=>(_0x543200,_0x32c927)=>_0x40bf89(_0x543200,_0x32c927,_0x4276ac);let _0x16fce5=class{constructor(_0x70816,_0x45f55a,_0x48a731){const _0x27a5a1=_0x3f6827;this[_0x27a5a1(0x381)]=_0x70816,this[_0x27a5a1(0x3fb)]=_0x45f55a,this[_0x27a5a1(0x33c)]=_0x48a731,this[_0x27a5a1(0xf8)]();}[_0x3f6827(0xf8)](){const _0x41a689=_0x3f6827;this[_0x41a689(0x3fb)][_0x41a689(0x31d)]({'priority':0x1,'interceptor':(_0x5df49d,_0x1886fe)=>_0x1886fe(_0x5df49d)[_0x41a689(0x2ef)](_0x2820f3[_0x41a689(0x1a9)](async _0x6e2874=>{const _0x16c97e=_0x41a689,_0x28d0a2=_0x6e2874;if(_0x28d0a2[_0x16c97e(0x2de)]===0x191&&window[_0x16c97e(0x1ca)](this['localeService']['t'](_0x16c97e(0x15a)))){const _0x2d4d94=window[_0x16c97e(0xc5)](window['location'][_0x16c97e(0x36e)]);window[_0x16c97e(0x146)][_0x16c97e(0x36e)]=this[_0x16c97e(0x356)]()+_0x16c97e(0x2e9)+_0x2d4d94;}return _0x28d0a2;}))});}[_0x3f6827(0x356)](){const _0x49cca6=_0x3f6827;var _0x520230;return(_0x520230=this['_configService'][_0x49cca6(0x457)](_0x4aaa4a))!=null?_0x520230:_0x3d36d0;}};_0x16fce5=_0x1cf2b6([_0x26bae4(0x0,_0x28e235[_0x3f6827(0x115)]),_0x26bae4(0x1,_0x28e235[_0x3f6827(0xb5)](_0x7b6974['HTTPService'])),_0x26bae4(0x2,_0x28e235[_0x3f6827(0xb5)](_0x28e235[_0x3f6827(0x3a0)]))],_0x16fce5);var _0x178688=Object[_0x3f6827(0x328)],_0x2e339c=Object[_0x3f6827(0x1cb)],_0xdeeedb=(_0x3efcf4,_0x3bac4a,_0x16d491,_0x1abbdd)=>{const _0x26fef1=_0x3f6827;for(var _0x956fe5=_0x1abbdd>0x1?void 0x0:_0x1abbdd?_0x2e339c(_0x3bac4a,_0x16d491):_0x3bac4a,_0x1ef087=_0x3efcf4[_0x26fef1(0x16b)]-0x1,_0x7fb7e;_0x1ef087>=0x0;_0x1ef087--)(_0x7fb7e=_0x3efcf4[_0x1ef087])&&(_0x956fe5=(_0x1abbdd?_0x7fb7e(_0x3bac4a,_0x16d491,_0x956fe5):_0x7fb7e(_0x956fe5))||_0x956fe5);return _0x1abbdd&&_0x956fe5&&_0x178688(_0x3bac4a,_0x16d491,_0x956fe5),_0x956fe5;},_0x13525b=(_0x353619,_0x1cd71d)=>(_0x4d3a04,_0x36fd68)=>_0x1cd71d(_0x4d3a04,_0x36fd68,_0x353619);const _0x5df963='AUTHZ_URL_KEY',_0x3744cf=_0x3f6827(0x2ab);_0x538e2a[_0x3f6827(0x30f)]=class extends _0x28e235[_0x3f6827(0x29c)]{constructor(_0x2b29b8,_0x4bc940){const _0x3018f2=_0x3f6827;super(),this[_0x3018f2(0x2ea)]=_0x2b29b8,this[_0x3018f2(0x381)]=_0x4bc940,this[_0x3018f2(0x403)]();}['_initMergeInterceptor'](){const _0x5d6307=_0x3f6827,_0x2708e8=this;this[_0x5d6307(0x41b)](this['_HTTPService'][_0x5d6307(0x31d)]({'priority':0x3e7,'interceptor':_0x7b6974['MergeInterceptorFactory']({'isMatch'(_0x4970db){const _0x5db25d=_0x5d6307;var _0x427ce7;if(_0x4970db[_0x5db25d(0x1dc)]===_0x5db25d(0x165)&&((_0x427ce7=_0x4970db[_0x5db25d(0xb1)])!=null&&_0x427ce7[_0x5db25d(0x18b)])){const {objectID:_0x39c6e9,objectType:_0x108503}=_0x4970db[_0x5db25d(0xb1)][_0x5db25d(0x18b)]||{};if(!_0x39c6e9||_0x108503===void 0x0)return!0x1;const _0x21ee68=_0x2708e8[_0x5db25d(0x325)]()+'/'+_0x108503+_0x5db25d(0x120)+_0x39c6e9+_0x5db25d(0x34b);if(_0x4970db[_0x5db25d(0x17c)]===_0x21ee68)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1e5cfc){const _0x538671=_0x5d6307;var _0x4f2411;return(_0x4f2411=_0x1e5cfc['requestParams'])==null?void 0x0:_0x4f2411[_0x538671(0x18b)];},'mergeParamsToRequest'(_0x1beb02,_0x490030){const _0x2727cf=_0x5d6307,_0x496ad9=_0x2708e8[_0x2727cf(0x325)]()+_0x2727cf(0x15b),_0x523005=_0x1beb02[_0x2727cf(0x1e0)]((_0x3ee930,_0x23d373)=>{const _0xc7b626=_0x2727cf,{unitID:_0x3180e6,objectID:_0x177ca3,objectType:_0x476e45,actions:_0x238748}=_0x23d373;return _0x3ee930[_0x3180e6]||(_0x3ee930[_0x3180e6]={}),_0x3ee930[_0x3180e6][_0x177ca3]||(_0x3ee930[_0x3180e6][_0x177ca3]={'objectID':_0x177ca3,'objectType':_0x476e45,'actions':[]}),_0x3ee930[_0x3180e6][_0x177ca3]['actions'][_0xc7b626(0x386)](..._0x238748),_0x3ee930;},{}),_0x261e4f=[];for(const _0x4c96f8 in _0x523005)for(const _0x55a5f9 in _0x523005[_0x4c96f8]){const {actions:_0x2c0878,objectType:_0x336e20}=_0x523005[_0x4c96f8][_0x55a5f9],_0x655e5f=[...new Set(_0x2c0878)];_0x261e4f['push']({'unitID':_0x4c96f8,'objectID':_0x55a5f9,'objectType':_0x336e20,'actions':_0x655e5f});}return new _0x7b6974[(_0x2727cf(0x3f9))](_0x2727cf(0x165),_0x496ad9,{'headers':_0x490030[_0x2727cf(0x195)],'withCredentials':_0x490030[_0x2727cf(0x186)],'responseType':_0x490030[_0x2727cf(0x3e3)],'body':{'requests':_0x261e4f}});}},{'distributeResult'(_0x1141a9,_0x293060){const _0x9aac8e=_0x5d6307,{objectActions:_0x32da1a}=_0x1141a9;return _0x293060[_0x9aac8e(0x25f)](_0x40a86f=>{const _0x2edb78=_0x9aac8e,{unitID:_0x4fdb7c,objectID:_0x44a802,actions:_0x45019f}=_0x40a86f,_0x2c2ddb=_0x32da1a[_0x2edb78(0x11c)](_0x3b831d=>_0x3b831d[_0x2edb78(0x27d)]===_0x4fdb7c&&_0x3b831d[_0x2edb78(0x37b)]===_0x44a802),_0x6847f0=_0x45019f['map'](_0x1af93a=>_0x2c2ddb==null?void 0x0:_0x2c2ddb[_0x2edb78(0x97)][_0x2edb78(0x11c)](_0x2238a7=>_0x2238a7[_0x2edb78(0x32a)]===_0x1af93a))[_0x2edb78(0x44a)](_0x28eb2e=>!!_0x28eb2e);return{'config':_0x40a86f,'result':{'actions':_0x6847f0,'error':_0x1141a9['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x3d75ad=_0x3f6827;var _0x5d1772;return(_0x5d1772=this[_0x3d75ad(0x381)][_0x3d75ad(0x457)](_0x5df963))!=null?_0x5d1772:_0x3744cf;}async['create'](_0x3b7116){const _0x52d7d9=_0x3f6827,_0x387068=this[_0x52d7d9(0x325)]()+'/'+_0x3b7116[_0x52d7d9(0x24b)]+_0x52d7d9(0x318);return(await this[_0x52d7d9(0x2ea)][_0x52d7d9(0x314)](_0x387068,{'body':_0x3b7116}))[_0x52d7d9(0x18b)]['objectID']||'';}async['list'](_0x59d16f){const _0x465760=_0x3f6827,_0x5f830b=this[_0x465760(0x325)]()+_0x465760(0x3ba);return(await this['_HTTPService']['post'](_0x5f830b,{'body':_0x59d16f}))[_0x465760(0x18b)]['objects'];}async[_0x3f6827(0x2f2)](_0x6817a1){const _0x148f27=_0x3f6827,_0x1a4b6e=this['_getAPIPrefixPath']()+'/'+_0x6817a1['objectType']+'/object/'+_0x6817a1[_0x148f27(0x37b)];await this['_HTTPService'][_0x148f27(0x20e)](_0x1a4b6e,{'body':_0x6817a1});}async[_0x3f6827(0x245)](_0x36f43a){const _0x6368b1=_0x3f6827,_0x13539a=this[_0x6368b1(0x325)]()+'/'+_0x36f43a[_0x6368b1(0x24b)]+_0x6368b1(0x120)+_0x36f43a[_0x6368b1(0x37b)]+_0x6368b1(0x34b);return(await this[_0x6368b1(0x2ea)][_0x6368b1(0x314)](_0x13539a,{'body':_0x36f43a}))[_0x6368b1(0x18b)][_0x6368b1(0x97)];}async[_0x3f6827(0x160)](_0x72e4cd){const _0x42509f=_0x3f6827,_0x1fd34f=this['_getAPIPrefixPath']()+_0x42509f(0x15b);return(await this[_0x42509f(0x2ea)][_0x42509f(0x314)](_0x1fd34f,{'body':{'requests':_0x72e4cd}}))['body'][_0x42509f(0x257)];}async[_0x3f6827(0x149)](_0x4ccc75){const _0x2fea00=_0x3f6827,_0x3e5ee7=this[_0x2fea00(0x325)]()+'/'+_0x4ccc75['objectType']+'/role',_0x4968ff=await this[_0x2fea00(0x2ea)]['post'](_0x3e5ee7,{'body':_0x4ccc75});return{'roles':_0x4968ff[_0x2fea00(0x18b)][_0x2fea00(0xa6)],'actions':_0x4968ff[_0x2fea00(0x18b)]['actions']};}async[_0x3f6827(0x9a)](_0x20010d){const _0x11112c=_0x3f6827,_0x5be464=this[_0x11112c(0x325)]()+_0x11112c(0x3d1);await this[_0x11112c(0x2ea)]['delete'](_0x5be464,{'params':{'collaboratorID':_0x20010d[_0x11112c(0x1bf)],'objectID':_0x20010d['objectID'],'unitID':_0x20010d[_0x11112c(0x27d)]}});}async[_0x3f6827(0x94)](_0x5e3b23){const _0x18f11d=_0x3f6827,_0x50c69b=this[_0x18f11d(0x325)]()+_0x18f11d(0x3d1);await this[_0x18f11d(0x2ea)][_0x18f11d(0x11f)](_0x50c69b,{'body':_0x5e3b23});}async[_0x3f6827(0x2f0)](_0x5a9aa5){const _0x763c85=_0x3f6827,_0x1e529e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x763c85(0x2ea)][_0x763c85(0x314)](_0x1e529e,{'body':_0x5a9aa5});}async[_0x3f6827(0x421)](_0x594cf7){const _0x31cdbf=_0x3f6827,_0x474101=this['_getAPIPrefixPath']()+_0x31cdbf(0x3d1);return(await this['_HTTPService']['get'](_0x474101,{'params':{'objectID':_0x594cf7[_0x31cdbf(0x37b)],'unitID':_0x594cf7[_0x31cdbf(0x27d)]}}))[_0x31cdbf(0x18b)][_0x31cdbf(0x251)];}async['putCollaborators'](_0x3ecd2e){const _0x42aef1=_0x3f6827,_0x2461ec=this[_0x42aef1(0x325)]()+_0x42aef1(0x3d1);await this['_HTTPService'][_0x42aef1(0x20e)](_0x2461ec,{'body':_0x3ecd2e});}},_0x538e2a['AuthzIoHttpService']=_0xdeeedb([_0x13525b(0x0,_0x28e235[_0x3f6827(0xb5)](_0x7b6974[_0x3f6827(0xaa)])),_0x13525b(0x1,_0x28e235[_0x3f6827(0xb5)](_0x28e235['IConfigService']))],_0x538e2a[_0x3f6827(0x30f)]);var _0x46dbce=Object[_0x3f6827(0x328)],_0x91cc56=Object['getOwnPropertyDescriptor'],_0x2864cc=(_0x927119,_0x2b45a3,_0xd21362,_0x156c9d)=>{const _0x10f840=_0x3f6827;for(var _0x9d780f=_0x156c9d>0x1?void 0x0:_0x156c9d?_0x91cc56(_0x2b45a3,_0xd21362):_0x2b45a3,_0x5e557c=_0x927119[_0x10f840(0x16b)]-0x1,_0x76b74f;_0x5e557c>=0x0;_0x5e557c--)(_0x76b74f=_0x927119[_0x5e557c])&&(_0x9d780f=(_0x156c9d?_0x76b74f(_0x2b45a3,_0xd21362,_0x9d780f):_0x76b74f(_0x9d780f))||_0x9d780f);return _0x156c9d&&_0x9d780f&&_0x46dbce(_0x2b45a3,_0xd21362,_0x9d780f),_0x9d780f;},_0xe884ea=(_0x3ba595,_0x21ef4a)=>(_0x44d54b,_0x1454cd)=>_0x21ef4a(_0x44d54b,_0x1454cd,_0x3ba595);const _0x18cd57=['image/png',_0x3f6827(0x3df),_0x3f6827(0x433),_0x3f6827(0x139),_0x3f6827(0x127)],_0x3b9927=0x5*0x400*0x400,_0x29cfa3=_0x3f6827(0x341),_0x269dac=_0x3f6827(0x114),_0xb1625e='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x1eb6ec='/universer-api/file/{fileID}/sign-url';_0x538e2a[_0x3f6827(0x8d)]=class{constructor(_0x57e46b,_0x598f2c){const _0x4510da=_0x3f6827;_0x2b7d82(this,'_waitCount',0x0),_0x2b7d82(this,_0x4510da(0x178),new _0x2820f3['Subject']()),_0x2b7d82(this,_0x4510da(0x3d4),this[_0x4510da(0x178)]),_0x2b7d82(this,_0x4510da(0x28a),new Map()),(this[_0x4510da(0x3fb)]=_0x57e46b,this[_0x4510da(0x381)]=_0x598f2c);}['setWaitCount'](_0x13340f){const _0x37bc86=_0x3f6827;this[_0x37bc86(0x34c)]=_0x13340f,this['_change$']['next'](_0x13340f);}[_0x3f6827(0x30c)](_0x27e4f8,_0x1da535){const _0x21f17e=_0x3f6827;if(_0x1da535===_0x212652[_0x21f17e(0x337)][_0x21f17e(0x409)]){const _0x51f45f=new Image();return _0x51f45f[_0x21f17e(0x147)]=_0x27e4f8,_0x51f45f;}return this[_0x21f17e(0x28a)][_0x21f17e(0x450)](_0x27e4f8);}['addImageSourceCache'](_0x2df02d,_0x11a035,_0x292baa){const _0xf636bd=_0x3f6827;_0x11a035===_0x212652[_0xf636bd(0x337)]['BASE64']||_0x292baa==null||this[_0xf636bd(0x28a)][_0xf636bd(0x2b2)](_0x2df02d,_0x292baa);}async[_0x3f6827(0x29b)](_0x33014e){const _0x321b08=_0x3f6827;try{const _0x312075=this['_replaceFileID'](this['_getSignURL'](),''+_0x33014e),_0x17f001=(await this[_0x321b08(0x3fb)]['get'](_0x312075))[_0x321b08(0x18b)];return _0x17f001['error']&&_0x17f001['error'][_0x321b08(0x168)]===_0x22d539['OK']?Promise['resolve'](_0x17f001[_0x321b08(0x17c)]):Promise[_0x321b08(0xab)](_0x17f001[_0x321b08(0x270)]);}catch(_0x347853){return Promise[_0x321b08(0xab)](_0x347853);}}async['saveImage'](_0x136013){const _0x3967cb=_0x3f6827;let _0x5499de='';if(!_0x18cd57['includes'](_0x136013[_0x3967cb(0x1ba)]))return this[_0x3967cb(0x287)](),Promise[_0x3967cb(0xab)](new Error(_0x212652['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x136013[_0x3967cb(0x26e)]>_0x3b9927)return this[_0x3967cb(0x287)](),Promise[_0x3967cb(0xab)](new Error(_0x212652[_0x3967cb(0x263)][_0x3967cb(0x12c)]));try{const _0x6885=new FormData();_0x6885[_0x3967cb(0x3ae)](_0x3967cb(0x83),_0x136013);const _0x45be70=this[_0x3967cb(0x33a)]()+_0x3967cb(0x3f3)+_0x136013['size'][_0x3967cb(0x1d9)](),_0x1ec90a=await(await fetch(_0x45be70,{'method':_0x3967cb(0x165),'body':_0x6885}))['json']();if(typeof _0x1ec90a[_0x3967cb(0xce)]!='string')return this[_0x3967cb(0x287)](),Promise[_0x3967cb(0xab)](new Error(_0x212652[_0x3967cb(0x263)][_0x3967cb(0x278)]));_0x5499de=_0x1ec90a[_0x3967cb(0xce)];}catch{return this[_0x3967cb(0x287)](),Promise[_0x3967cb(0xab)](new Error(_0x212652[_0x3967cb(0x263)][_0x3967cb(0x278)]));}return new Promise((_0x385799,_0x41b14b)=>{const _0x41c3e8=_0x3967cb,_0x6731b7=new FileReader();_0x6731b7[_0x41c3e8(0x15c)](_0x136013),_0x6731b7[_0x41c3e8(0x1b2)]=_0x30bb4e=>{const _0x1a1e8d=_0x41c3e8;var _0x2c970d;const _0x54a43f=(_0x2c970d=_0x30bb4e[_0x1a1e8d(0x3e5)])==null?void 0x0:_0x2c970d['result'];if(_0x54a43f==null){this[_0x1a1e8d(0x287)](),_0x41b14b(new Error(_0x212652[_0x1a1e8d(0x263)][_0x1a1e8d(0x278)]));return;}const _0xb496f=_0x28e235[_0x1a1e8d(0x309)][_0x1a1e8d(0x238)](0x6);_0x385799({'imageId':_0xb496f,'imageSourceType':_0x212652['ImageSourceType'][_0x1a1e8d(0x392)],'source':_0x5499de,'base64Cache':_0x54a43f,'status':_0x212652[_0x1a1e8d(0x263)][_0x1a1e8d(0x260)]}),this[_0x1a1e8d(0x287)]();};});}[_0x3f6827(0x33a)](){const _0x5a7374=_0x3f6827;var _0x5f14b0;return(_0x5f14b0=this['_configService'][_0x5a7374(0x457)](_0x29cfa3))!=null?_0x5f14b0:_0x269dac;}[_0x3f6827(0x361)](){const _0x3d6f60=_0x3f6827;var _0x37898c;return(_0x37898c=this[_0x3d6f60(0x381)][_0x3d6f60(0x457)](_0xb1625e))!=null?_0x37898c:_0x1eb6ec;}['_replaceFileID'](_0x26cd69,_0xa7eed7){const _0x50733a=_0x3f6827;return _0x26cd69[_0x50733a(0xc6)]('{fileID}',_0xa7eed7);}['_decreaseWaiting'](){const _0x86dc55=_0x3f6827;this[_0x86dc55(0x34c)]-=0x1,this[_0x86dc55(0x178)][_0x86dc55(0x18d)](this[_0x86dc55(0x34c)]);}},_0x538e2a[_0x3f6827(0x8d)]=_0x2864cc([_0xe884ea(0x0,_0x28e235[_0x3f6827(0xb5)](_0x7b6974['HTTPService'])),_0xe884ea(0x1,_0x28e235['IConfigService'])],_0x538e2a[_0x3f6827(0x8d)]);var _0x1c5899=Object[_0x3f6827(0x328)],_0x1d93ae=Object[_0x3f6827(0x1cb)],_0x59592e=(_0x282ed5,_0x4f6dea,_0x4ef53c,_0x4b9b32)=>{const _0x33ec01=_0x3f6827;for(var _0xbe4f43=_0x4b9b32>0x1?void 0x0:_0x4b9b32?_0x1d93ae(_0x4f6dea,_0x4ef53c):_0x4f6dea,_0x17f9c8=_0x282ed5[_0x33ec01(0x16b)]-0x1,_0x474c0a;_0x17f9c8>=0x0;_0x17f9c8--)(_0x474c0a=_0x282ed5[_0x17f9c8])&&(_0xbe4f43=(_0x4b9b32?_0x474c0a(_0x4f6dea,_0x4ef53c,_0xbe4f43):_0x474c0a(_0xbe4f43))||_0xbe4f43);return _0x4b9b32&&_0xbe4f43&&_0x1c5899(_0x4f6dea,_0x4ef53c,_0xbe4f43),_0xbe4f43;},_0x2e7ad7=(_0x10baaa,_0x5532c1)=>(_0x1731fe,_0x1e9a7a)=>_0x5532c1(_0x1731fe,_0x1e9a7a,_0x10baaa);let _0x44e27e=class extends _0x28e235[_0x3f6827(0x93)]{constructor(_0x43e952,_0x5ac2ff,_0x4b5648,_0x365c3b,_0x16ddb8){const _0x38bbb2=_0x3f6827;super(),this[_0x38bbb2(0x3ef)]=_0x43e952,this[_0x38bbb2(0x156)]=_0x5ac2ff,this[_0x38bbb2(0x9d)]=_0x4b5648,this[_0x38bbb2(0x2aa)]=_0x365c3b,this[_0x38bbb2(0x424)]=_0x16ddb8,this[_0x38bbb2(0x104)](),this[_0x38bbb2(0x3a8)]();}[_0x3f6827(0x3a8)](){const _0x51132d=_0x3f6827,_0x5f602d=async _0x57f527=>{const _0x3b410b=_0x45d3;(await this['_collaborationSessionService']['requireSession'](_0x57f527))[_0x3b410b(0x211)][_0x3b410b(0x2ef)](_0x1086dc[_0x3b410b(0x44a)](_0x3a277a=>_0x3a277a[_0x3b410b(0x12d)]===_0x4ecbea['CollaborationEvent']['SHOULD_CLOSE_CONN']),_0x1086dc[_0x3b410b(0xeb)](this[_0x3b410b(0x388)]))['subscribe'](_0xb4bc5=>{const _0x1deed2=_0x3b410b,_0x455ca1=_0xb4bc5,{reason:_0xd99ad8}=_0x455ca1[_0x1deed2(0xa5)];this[_0x1deed2(0x3ef)][_0x1deed2(0x450)](_0x1d23ef['IMessageService'])['show']({'type':_0x48adea[_0x1deed2(0x157)][_0x1deed2(0x1e7)],'content':this['_localeService']['t'](_0x1deed2(0x1db))+'('+_0xd99ad8+')'}),this['_permissionService']['updatePermissionPoint'](new _0x48cd6e['WorkbookEditablePermission'](_0x57f527)['id'],!0x1),this[_0x1deed2(0x2aa)][_0x1deed2(0x246)](_0x57f527);});};_0x2820f3[_0x51132d(0x33e)](this['_univerInstanceService'][_0x51132d(0x370)](_0x28e235[_0x51132d(0x3af)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x51132d(0x370)](_0x28e235[_0x51132d(0x3af)]['UNIVER_DOC']))[_0x51132d(0x2ef)](_0x1086dc[_0x51132d(0x25f)](_0x3a307e=>_0x3a307e['getUnitId']()),_0x1086dc['filter'](_0x3ac5bf=>!_0x28e235['isInternalEditorID'](_0x3ac5bf)),_0x1086dc[_0x51132d(0xeb)](this[_0x51132d(0x388)]))[_0x51132d(0x3cd)](_0x353c24=>{_0x5f602d(_0x353c24);});}[_0x3f6827(0x104)](){const _0x177a01=_0x3f6827,_0x47d04a=async _0x5485f5=>{const _0x3aae3c=_0x45d3;(await this['_collaborationSessionService']['requireSession'](_0x5485f5))[_0x3aae3c(0x211)][_0x3aae3c(0x2ef)](_0x1086dc[_0x3aae3c(0x44a)](_0x2b4949=>_0x2b4949[_0x3aae3c(0x12d)]===_0x4ecbea['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),_0x1086dc[_0x3aae3c(0xeb)](this[_0x3aae3c(0x388)]))[_0x3aae3c(0x3cd)](_0x129107=>{const _0x30572a=_0x3aae3c,_0x28a95e=_0x129107,{objectId:_0x55b4bd}=_0x28a95e[_0x30572a(0xa5)];_0x55b4bd===_0x5485f5&&this[_0x30572a(0x3ef)][_0x30572a(0x450)](_0x38caab[_0x30572a(0x39b)])['initWorkbookPermissionChange'](_0x5485f5);});};_0x2820f3['merge'](this[_0x177a01(0x156)][_0x177a01(0x370)](_0x28e235['UniverInstanceType']['UNIVER_SHEET']),this[_0x177a01(0x156)][_0x177a01(0x370)](_0x28e235[_0x177a01(0x3af)][_0x177a01(0x372)]))[_0x177a01(0x2ef)](_0x1086dc['map'](_0x40c0dc=>_0x40c0dc[_0x177a01(0x322)]()),_0x1086dc[_0x177a01(0x44a)](_0x2c591b=>!_0x28e235[_0x177a01(0x415)](_0x2c591b)),_0x1086dc['takeUntil'](this[_0x177a01(0x388)]))[_0x177a01(0x3cd)](_0x35ef90=>{_0x47d04a(_0x35ef90);});}};_0x44e27e=_0x59592e([_0x28e235[_0x3f6827(0xb8)](_0x28e235[_0x3f6827(0x177)][_0x3f6827(0xd4)],_0x44e27e),_0x2e7ad7(0x0,_0x28e235[_0x3f6827(0xb5)](_0x28e235['Injector'])),_0x2e7ad7(0x1,_0x28e235[_0x3f6827(0x19b)]),_0x2e7ad7(0x2,_0x28e235[_0x3f6827(0x30d)]),_0x2e7ad7(0x3,_0x28e235[_0x3f6827(0xb5)](_0x538e2a[_0x3f6827(0x17b)])),_0x2e7ad7(0x4,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x3a0)]))],_0x44e27e);var _0x4c724f=Object['defineProperty'],_0x2d57a5=Object[_0x3f6827(0x1cb)],_0xd12eb1=(_0xe73fba,_0x2ce5c5,_0x2ba788)=>_0x2ce5c5 in _0xe73fba?_0x4c724f(_0xe73fba,_0x2ce5c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ba788}):_0xe73fba[_0x2ce5c5]=_0x2ba788,_0x21e605=(_0x22226b,_0xcc45dd,_0x21f162,_0x4ce409)=>{for(var _0x55ea54=_0x4ce409>0x1?void 0x0:_0x4ce409?_0x2d57a5(_0xcc45dd,_0x21f162):_0xcc45dd,_0x3077b1=_0x22226b['length']-0x1,_0x5ad728;_0x3077b1>=0x0;_0x3077b1--)(_0x5ad728=_0x22226b[_0x3077b1])&&(_0x55ea54=(_0x4ce409?_0x5ad728(_0xcc45dd,_0x21f162,_0x55ea54):_0x5ad728(_0x55ea54))||_0x55ea54);return _0x4ce409&&_0x55ea54&&_0x4c724f(_0xcc45dd,_0x21f162,_0x55ea54),_0x55ea54;},_0x4524e4=(_0x547929,_0x69f61f)=>(_0x1d83e6,_0x210958)=>_0x69f61f(_0x1d83e6,_0x210958,_0x547929),_0x34eb55=(_0x497ee4,_0x204750,_0x340052)=>_0xd12eb1(_0x497ee4,_0x204750+'',_0x340052);const _0x14226d=_0x3f6827(0x1b0);_0x538e2a[_0x3f6827(0x1ae)]=class extends _0x28e235[_0x3f6827(0x311)]{constructor(_0xd79a3a,_0x473510,_0xf4b93d){const _0x4aff79=_0x3f6827;super(),this[_0x4aff79(0x163)]=_0xd79a3a,this[_0x4aff79(0x1af)]=_0x473510,this['_injector']=_0xf4b93d;}[_0x3f6827(0x1bb)](_0x4a2512){const _0x50fc9f=_0x3f6827;var _0x2882ca,_0x56316c,_0x53f770,_0x3468bc,_0x37e869;_0x4a2512[_0x50fc9f(0x3c0)](_0x28e235[_0x50fc9f(0x363)])&&this[_0x50fc9f(0x1af)][_0x50fc9f(0x270)](_0x50fc9f(0x132),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x411962=[[_0x28e235[_0x50fc9f(0x363)],{'useClass':_0x404988}],[_0x538e2a[_0x50fc9f(0x17b)]],[_0x18ea56],[_0x7b6974[_0x50fc9f(0xaa)]],[_0xfaea01,{'useClass':_0x591250}],[_0x1d7fc4],[_0x538e2a['LocalCacheService']],[_0x7b6974['WebSocketService']],[_0x187ea5],[_0x1e8d42],[_0x12799f],[_0x581849],[_0x16fce5],[_0x1a0991],[_0x44e27e],[_0x51e16b,{'useClass':(_0x56316c=(_0x2882ca=this[_0x50fc9f(0x163)])==null?void 0x0:_0x2882ca['socketService'])!=null?_0x56316c:_0x538e2a[_0x50fc9f(0x194)]}],[_0x7b6974[_0x50fc9f(0x2f1)],{'useClass':_0x7b6974[_0x50fc9f(0x307)]}],[_0x28e235['ISnapshotServerService'],{'useClass':_0x538e2a[_0x50fc9f(0x448)]}],[_0x28e235[_0x50fc9f(0x10a)],{'useClass':_0x538e2a[_0x50fc9f(0x30f)]}],[_0x212652[_0x50fc9f(0x1b5)],{'useClass':_0x538e2a[_0x50fc9f(0x8d)]}],[_0x538e2a['CollaborationController']],[_0x538e2a[_0x50fc9f(0x2d6)]],[_0x538e2a[_0x50fc9f(0x430)]],[_0x2d9bf7],[_0x2e4db5]];(_0x53f770=this['_config'])!=null&&_0x53f770[_0x50fc9f(0x402)]&&_0x411962[_0x50fc9f(0x386)]([_0x38f70a,{'useClass':_0x52220b}]),((_0x3468bc=this['_config'])==null?void 0x0:_0x3468bc[_0x50fc9f(0x2f9)])==null||this[_0x50fc9f(0x163)][_0x50fc9f(0x2f9)][_0x50fc9f(0x2ce)](_0x28e235[_0x50fc9f(0x3af)][_0x50fc9f(0x33b)])?_0x411962['push']([_0x2583e4]):this[_0x50fc9f(0x163)][_0x50fc9f(0x2f9)][_0x50fc9f(0x2ce)](_0x28e235[_0x50fc9f(0x3af)]['UNIVER_DOC'])&&_0x411962[_0x50fc9f(0x386)]([_0x5d03af]),_0x411962=_0x28e235['mergeOverrideWithDependencies'](_0x411962,(_0x37e869=this[_0x50fc9f(0x163)])==null?void 0x0:_0x37e869['override']),_0x411962[_0x50fc9f(0x384)](_0x471063=>_0x4a2512[_0x50fc9f(0x2fd)](_0x471063)),_0x4a2512[_0x50fc9f(0x450)](_0x7b6974['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x7b6974[_0x50fc9f(0x17a)]({'maxParallel':0x6})}),this[_0x50fc9f(0x3c5)]();}['_initModules'](){const _0x2f716c=_0x3f6827;var _0xb5fdcb,_0x92b1e5;(_0xb5fdcb=this[_0x2f716c(0x163)])!=null&&_0xb5fdcb[_0x2f716c(0x2a5)]||this[_0x2f716c(0x3ef)][_0x2f716c(0x450)](_0x538e2a[_0x2f716c(0x249)])['disableLocalCache'](),(_0x92b1e5=this[_0x2f716c(0x163)])!=null&&_0x92b1e5[_0x2f716c(0xb7)]&&this[_0x2f716c(0x3ef)][_0x2f716c(0x450)](_0x16fce5);}},_0x34eb55(_0x538e2a['UniverCollaborationClientPlugin'],_0x3f6827(0x200),_0x14226d),_0x538e2a[_0x3f6827(0x1ae)]=_0x21e605([_0x28e235[_0x3f6827(0x3e1)](_0x4ecbea['UniverCollaborationPlugin']),_0x4524e4(0x1,_0x28e235['ILogService']),_0x4524e4(0x2,_0x28e235['Inject'](_0x28e235[_0x3f6827(0x3e8)]))],_0x538e2a[_0x3f6827(0x1ae)]),_0x538e2a['AUTHZ_URL_KEY']=_0x5df963,_0x538e2a[_0x3f6827(0x218)]=_0x49a23a,_0x538e2a['COLLAB_WEB_SOCKET_URL_KEY']=_0x1837a5,_0x538e2a[_0x3f6827(0xd2)]=_0x16cedf,_0x538e2a[_0x3f6827(0x3a7)]=_0x3021bf,_0x538e2a[_0x3f6827(0x21f)]=_0x1a0991,_0x538e2a['HEARTBEAT_INTERVAL_KEY']=_0x5a9926,_0x538e2a[_0x3f6827(0x40a)]=_0xedd382,_0x538e2a[_0x3f6827(0x28d)]=_0x51e16b,_0x538e2a[_0x3f6827(0x29f)]=_0xfaea01,_0x538e2a['LOCAL_CACHE_INTERVAL_KEY']=_0x461325,_0x538e2a[_0x3f6827(0xbf)]=_0x4aaa4a,_0x538e2a[_0x3f6827(0x1bd)]=_0x3e60d2,_0x538e2a['SNAPSHOT_SERVER_URL_KEY']=_0x26cbfd,_0x538e2a[_0x3f6827(0x3d3)]=_0x19eb4b,_0x538e2a[_0x3f6827(0x2bc)]=_0x158ddb,_0x538e2a[_0x3f6827(0xcc)]=_0x31ac93,_0x538e2a[_0x3f6827(0x3a5)]=_0x591250,_0x538e2a[_0x3f6827(0x262)]=_0x59fc50,_0x538e2a[_0x3f6827(0x1d4)]=_0xd9d8ca,Object[_0x3f6827(0x328)](_0x538e2a,Symbol['toStringTag'],{'value':'Module'});}));function _0x22af(){const _0x1c3e86=['UNIVER_UNKNOWN','DependentOn','_cursors','responseType','_init','target','startColumn','_updateSubUnitFromURLParams','Injector','rev','RETRY_CONNECTING_MAX_COUNT','UniverCore','purple300','triggerDblclick','transformRemoteChangeset','_injector','_unlockTransition','[OfflineState]:\x20received\x20rejection.','status$','?size=','urlChange$','_sessionStatus$','getCollabCursors$','@univerjs/network','_collaborationPaused','HTTPRequest','_getScale','_httpService','_removeCollabCursors','snapshot','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','textEncoder','_drawAnchor','useObservable','enableSingleActiveInstanceLock','_initMergeInterceptor','_sheetSkeletonManagerService','onTransformIME','csAckEvent','_onJoinRoomEvent','UNKNOWN_CODE','BASE64','HEARTBEAT_TIMEOUT_KEY','UserManagerService','_handleHover','[OfflineState]:\x20received\x20acknowledgement.','ILogService','findNodePositionByCharIndex','isArray','RECV','react','_pendingMutations','Error\x20on\x20receiving\x20event','isInternalEditorID','replaceState','LIVESHARE_FETCH_OPERATIONS','updateOfflineData','permission.title','_syncEditingCollabCursorService','disposeWithMe','_createHandler','Workbook','getCurrentRevForDocument','baseRev','_getCurrentRevision','listCollaborators','unshift','SYNCED','_localeService','CHANGESET_REVISION_CONFILICT','isTransformMutationFailure','exports','_collaborationController','b64DecodeUnicode','onPointerEnter$','getMergeData','idSuffix','createInstance','operators','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','DesktopCollaborationStatusDisplayController','liveShareNewHost','_colorAssignService','image/jpg','univerjs-icon\x20univerjs-icon-','_state$','@univerjs/engine-render','forwardRef','_onRemoteRejected','width','parseChangesetToProtocol','InsertRowCommandId','save','contains','USERS_LEAVE','hasOwnProperty','YUUMI_UNABLE_LOAD_URL','_replayCachedMutations','clearTimeout','_onCursorUpdate','activeSheet$','incrementRevForDocument','currentColor','send','SnapshotServerOverHTTPService','\x0aCurrent:\x20','filter','_getMergeRange','loadSheet','startRow','url(#$1','apply','get','red300','_entityInit$','popstate','editingUnit','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','toggleOnline','getConfig','delete','RemoveColCommandId','_socketService','_clearLocalCache','min','onlineStatus','_onMessage','memberID','Unknown\x20user','_send','awaitingChangeset','file','UniverCollaboration','32877CTIzcR','getMember','close$','RegularPolygon','IMessageService','[OfflineState]:\x20received\x20changeset.','_onFetchMissResult','_initStatusComponent','ImageIoService','beginPath','deserializeRangeWithSheet','@univerjs/drawing','_disabled','_lastPointer','RxDisposable','updateCollaborator','isTransformMutationsWithChangesetFailure','_onConnectionFailed','actions','Warning','_onConnectionOpen','deleteCollaborator','awaiting_with_pending','FETCH_MISS','_permissionService','runRefRangeMutations','parse','/universer-api/snapshot','_clearUndo','_event$','_eventUnsubscribe','_queuedRemoteChangesets','data','roles','@univerjs/ui','Subject','isTransformChangesetsSuccess','HTTPService','reject','[CollaborationState]:\x20apply\x20error!','saveOfflineData','getRelativeToViewportCoord','_getSheetObject','_sendHeartbeatTimer','requestParams','WebSocketService','JOIN','_toggleOffline','Inject','makeDirty','enableAuthServer','OnLifecycle','FAIL','interceptor','trim','div','_docStateChangeManagerService','pauseCollaboration','LOGIN_URL_KEY','createElement','joinEvent','_hideTimer','_fetchMissChangesets','@univerjs/engine-formula','encodeURIComponent','replace','_startCollaboration','_cursorInfo$','_waitForHeartbeatResponse','collab-text-anchor-','_type','SheetCollabCursorShape','amd','FileId','304YnqoTW','routeKey','getCurrentUnitForType','CollaborationStatus','onTransformRemoteChangesetByIMECache','Starting','entries','then','fetchThroughInterceptors','isActive','1210986HfYtnn','PERMISSION_REJ','_members','changesets','lineTo','_scheduleHeartbeat','unitId','onlyLocal','failed\x20to\x20apply\x20missed\x20changesets!','currentTheme$','LICENSE_MAX_UNITS_EXCEEDED','sessionStatus$','_handleJoinEvent','row','_getSnapshotAPIPrefix','useRef','UNKNOWN_CMD','synced','takeUntil','HEARTBEAT_TIMEOUT','getCollabEntity$','[CollaborationUndoRedoService]','_transformSelections','M0\x200H16V16H0z','save\x20fail\x20reason\x20is\x20','MUTATION','CommandType','_online','getTime','socket\x20close','online','init','socket\x20open.','focused$','onRemoteAck','_collabSessionService','sheetId','onStateChange','unit','HELLO','APPLY_REVISION_CONFILICT','_userManagerService','attrs','_initUnitPermissionChange','rxjs','handleMoveRange','IContextService','getOwnPropertySymbols','textRanges','IAuthzIoService','setParam','928650fkVbQW','editing\x20status\x20changed\x20to','_transformRemoteChangesetByIMECache','off-line-single_clip0_910_343','offline','ITransformService','endColumn','symbol','/universer-api/stream/file/upload','IConfigService','fetchMissingChangesets','unsubscribe','isEditing','_unitOnClients','_commandService','newValue','find','_disableEditing','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','patch','/object/','_ensureSubject','fetch_missing','debounceTime','_handleHeartbeatEvent','_unitId','color','image/bmp','_joinRoom','csRejEvent','getCurrentSelections','error$','ERROR_EXCEED_SIZE','eventID','_heartbeatTimer','range','string','unload','[UniverCollaborationClientPlugin]','members','onRemoteChangeset','CollaborationController','_transformStack','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_docSkeleton','image/gif','getValue','searchParams','_memberService','COMPLETION_FINISHED','_handleEvent','path','jiqing500','prototype','take','substring','collabStatus.fetchMiss','collab-text-range-','location','src','_status$','listRoles','verdancy600','extend','_onRemoteACK','_substituteRedoStack','onSendChangeset','_removeClearOtherTimer','NOT_COLLAB','SNAPSHOT_INVALID_SNAPSHOT','TEXT_RANGE_LAYER_INDEX','evenodd','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getActiveSheet','_univerInstanceService','MessageType','c2Prime','AWAITING','auth.needGotoLoginAlert','/-/object/-/batch_allowed','readAsDataURL','cmd','lodash/debounce','session.collaboration-timeout','batchAllowed','onCommandExecuted','Steady','_config','commentUpdate$','POST','DisposableCollection','removeParam','code','UNIVER_SLIDE','SetTextSelectionsOperation','length','_clearScheduledTask','collabCursorState$','roomMembers$','LIVESHARE_REQUEST_HOST','loadOfflineData','_docSkeletonManagerService','fromEvent','HEARTBEAT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_remoteChangesetQueue','xlink:href','LifecycleStages','_change$','dispose','ThresholdInterceptorFactory','CollaborationSessionService','url','subunit','VIEW_MAIN','0\x200\x2016\x2016','_clearHeartbeatTimer','[CollaborationController]:\x20remote\x20changeset\x20applied\x20error.','_updateState','_loadDoc','_snapshotService','_socket$','withCredentials','getRoom','MSG_FOR_ERROR','getOffsetConfig','_applyRemoteChangeset','body','_acknowledgedAwaitingChangeset','next','clear','_onRemoteChangeset','slice','originalMeta','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','m1Prime','CollaborationSocketService','headers','_singleActiveUnitService','_getAnchorBounding','createSocket','ILocalStorageService','userID','IUniverInstanceService','COLORS','_startSheetCollabCursor','_onLocalMutation','_getAPIPrefix','updateCursorEvent','RemoveRowCommandId','submit\x20changeset\x20error!','getVpScrollXYInfoByPosToVp','moveTo','getFocusedUnit','/unit/','fillText','LIVESHARE_TERMINATE','concatMap','IRemoteInstanceService','getSheetBySheetId','/rev/','addEventListener','UniverCollaborationClientPlugin','_logService','UNIVER_COLLABORATION_CLIENT_PLUGIN','CompressMutationService','onload','getWorkbookSelections','_onConflict','IImageIoService','USERS_ENTER','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','univer-pro.collaboration-client-socket-service','requireSession','type','onStarting','_getSaveTimeout','SEND_CHANGESET_TIMEOUT_KEY','_redoStacks','collaboratorID','_beforeCloseService','_socketMessageSubscription','_sendingTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','none','_docTransformIMECacheService','history','_sheetTransformSelectionsService','result','OTHER_CLIENTS_EDITING','confirm','getOwnPropertyDescriptor','object','_localStorageService','addObjects','className','_onRecvEvent','_incrementRevisionNumber','asObservable','Rect','serializeCombRequest','_timeoutTimer','_docTransformSelectionsService','infoRsp','onMissedChangesetFetched','toString','column','collaboration.closeRoom','method','_transformIMECache','defs','skeleton','reduce','/block/','UniverDesign','_transformPreviousActiveRange','backgroundColor','_updateURLWithCurrentState','CollaborationEvent','Error','collabStatus.syncing','getUnitOnRev','disposeUnit','6404rzYUci','getParam','APPLY_REJECT','transform','delay','fillStyle','ranges','_tryEnsureSocket','_commentService','getUnitStatus$','COMMENT_UPDATE','_scheduleClearOtherTimer','_unitID','getCurrent','_executeRemoteChangeset','[CollaborationSessionService]','DEFAULT_FILE_NAME','[DataLoaderController]','onlineStatusTitle','indexOf','55tauuZO','pluginName','IRenderManagerService','currentSkeleton$','executeCommand','getItem','@univerjs-pro/collaboration','SUBMIT_CHANGESET','reverse','roomMembers','NEW_CHANGESETS','_collabCursorState$','collaboration.single-unit.warning','_uiPartsService','unknown','put','_undoStacks','saveChangeset','event$','clsx','/fetchmissing?from=','NOT_FOUND','handleInsertRow','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','colorChannel1','COLLAB_SUBMIT_CHANGESET_URL_KEY','on-line-single','_cachedData','_hovered','debounce','_hover','sheets','CommentService','registerOnClose','_getCtorByUniverType','_onCombEvent','black','CollaborationSession','switchMap','show','RETRY_CONNECTING_INTERVAL','from','TOO_MANY_REQUESTS','@univerjs/docs','_color','Ready','updatePermissionPoint','_clearTimeoutTimer','transformMutation','[CollaborationSession]','max','Shape','_messageService','mapTo','getDataModel','createIdentifier','_onRefRangeChange','generateRandomId','_drawRange','use','_startDocCollabCursor','_scene','ICommandService','toDisposable','restore','ACTIVE_UNIT_EVENT_CHANNEL','commentUpdateEvent','children','_cursor','collabStatus.synced','allowed','closeSession','_anchor','_shapes','LocalCacheService','text','objectType','propertyIsEnumerable','getRenderById','setActiveRange','JOINING','setShapeProps','collaborators','_colorIndex','sheetID','UNRECOGNIZED','doc.mutation.rich-text-editing','_urlService','objectActions','startsWith','19528ETbSKm','setCurrentUser','@univerjs/design','connection\x20error','syncEditingCollabCursor','_refRangeService','map','SUCCUSS','_updateStatus','deserializeToCombResponse','ImageUploadStatusType','round','[CollaborationEntity]','&to=','INGEST','LICENSE_IMPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','onSyncEditingCollabCursor','isPermissionRej','_getUndoStack','1em','size','SetSelectionsOperation','error','getAncestorScale','UniverNetwork','measureText','all','selections','AWAITING_WITH_PENDING','RefRangeService','ERROR_IMAGE','rxjs/operators','InsertColCommandId','encode','FromArray','unitID','ONLINE','_saveCache','permission.content','_scheduleSaving','SetWorksheetActivateCommand','_retryCount','_entities','_showConflictNotification','WorkbookEditablePermission','_decreaseWaiting','closePath','_unitStatus','_imageSourceCache','mutations','_render','ICollaborationSocketService','on-line-single_clip0_910_349','UNDEFINED','_scheduleCollaborationTimeoutTimer','_ws','transformChangesets','debug','clearInterval','SheetCollaborationEntity','function','subscribeEvent','INotificationService','defIds','_setupBeforeClosingHandler','getImage','Disposable','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[CollaborationSessionService]:\x20socket\x20error','IURLService','stringify','_transformUndoredo','updateMember','_anchorDot','PSEUDO_FETCH_MISSING_RESULT','enableOfflineEditing','_localCacheService','_onUserJoin','collaboration-client.offline-data-not-saved','exhaustSavingTask','_collaborationSessionService','/universer-api/authz','hide','InsertRangeMoveRightCommandId','_name','docStateChange$','_transformService','_clearCollaborationTimeoutTimer','set','_getDocObject','onTransformSelections','_toggleOnline','shouldCloseConn','COMPRESS_MUTATION_APPLY','_checkMissing','getViewport','onMissingChangesets','[FetchMissState]','SessionStatus','VIEWPORT_KEY','height','_socketReady','_awaitingChangeset','univer-online','ThemeService','_submitChangeset','deepClone','appendMutation','_renderManagerService','INTERNAL_ERROR','_docSyncEditingCollabCursorService','_updateLocalCache','UNAUTHENTICATED','handleIRemoveCol','/universer-api/comb','session.connection-failed','includes','_id','transformStack\x20failed!','_http','assign','transformMutationsWithChangeset','transformByState','_createSocket','DataLoaderController','state$','values','handleDeleteRangeMoveLeft','uni.network.url-service','_syncEditingCollabCursor','conflict','LIVESHARE_OPERATION','status','#FFF','Rectangle','_labelPosition','onMouseMove','PENDING','getTypeOfUnitDisposed$','_clearOtherTimers','name','getRangePointData','[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.','?url=','_HTTPService','_range','univer-online-status-title','message$','collabStatus.conflict','pipe','createCollaborator','IHTTPImplementation','update','_exhaustRemoteChangesetQueue','toggleOffline','INVALID_ARGUMENT','CONNECTOR_DATA_TOO_LARGE','not_collab','getCollabEntity','collaborationUniverTypes','_onCursorDelete','arc','sessionStatus','add','CHANGESET_REJ','getInterceptPoints','IMEInputManagerService','getResourcesRequest','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','removeMember','_revisionService','_undoRedoService','UniverUi','XHRHTTPImplementation','FETCH_MISSING','Tools','_backgroundColor','getCurrentUser','getImageSourceCache','IPermissionService','_socket','AuthzIoHttpService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Plugin','SHOULD_CLOSE_CONN','UniverEngineRender','post','_createInitialStateImpl','univer-pro.collaboration-client.single-active-unit-service','font','/object','OffLineSingle','_scheduleTimestamp','getCoordByCell','_handler','registerHTTPInterceptor','pushState','_notificationService','_selfUnitIDs','_updateCollabCursors','getUnitId','pending','_scheduleReconnection','_getAPIPrefixPath','UniverIcon','LOCAL_CACHE_INTERVAL','defineProperty','_sessions','action','DocSkeletonManagerService','RevisionService','getSheetId','displayName','LEAVE','combineLatest','transformUndoRedo','IBeforeCloseService','YUUMI_URL_COL_OUT_OF_RANGE','permissionRejEvent','onRemoteRej','PERMISSION_DENIED','ImageSourceType','drawWith','NO_OTHER_CLIENTS_EDITING','_getUploadFileURL','UNIVER_SHEET','localeService','...','merge','parseProtocolChangeset','Vector2','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_loadSheet','getUnhiddenWorksheets','_removeRoom','_textBubble','SEND_CHANGESET_TIMEOUT','129681HAtRzU','clipPath','_themeService','UPDATE_CURSOR','/allowed','_waitCount','HEADER_MENU','close','icon','storage','setItem','setUndoRedoMutationParamsCache','OFFLINE','transformSelections','resend','_getLoginPath','split','_clearRedo','serializeRangeWithSheet','onPointerLeave$','complete','cursorInfo$','c1Prime','_rescheduleHeartbeatEvent','_schedule','tag','_getSignURL','liveShareOperation','IUndoRedoService','call','gold400','off-line-single','awaiting','Optional','@univerjs/sheets-ui','useDependency','session','getActiveRange','_collabCursorController','href','_updateLocalCursor','getTypeOfUnitAdded$','BehaviorSubject','UNIVER_DOC','isTransformMutationsWithChangesetSuccess','concat','_document','UniverRpc','blue400','assignAColorForMemberID','ALREADY_EXISTS','UniverDocs','objectID','_transitionLocked','_handleLeaveEvent','#fff','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','@univerjs/rpc','_configService','selection','with','forEach','_createInitialState','push','React','dispose$','conflict.title','setTimeout','_getSendChangesetTimeout','params','top','SheetsSelectionsService','SheetSkeletonManagerService','getMemberID','registerComponent','UUID','_sendHeartbeat','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[SyncedState]:\x20received\x20rejection.','session.room-full','onCommentUpdate','_retryConnectingTimer','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','registerRefRange','SheetPermissionInitController','_collaborationTimeoutTimer','_substituteUndoStack','enableLocalCache','_saveTaskMap','LocaleService','cursorInfo','connectInjector','state','_initStatusListener','WebURLService','getDocObject','CollaborationStatusDisplay','_initCloseConn','_session','Univer','\x20to\x20','fill','EffectRefRangId','append','UniverInstanceType','_isPermissionRej','getUnitType','subUnitId','LIVESHARE_NEW_HOST','COLLAB_SUBMIT_CHANGESET_URL','15269inPyak','mapDocumentTypeToUniverType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getColor','collaMsg','/-/object/list','APPLY_PERMISSION_DENIED','IDLE','CHANGESET_ACK','_commentUpdate$','title','has','addObject','_roomMembers$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_lockTransition','_initModules','m2Prime','_compressMutationService','whenReady','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/core','univer-online-status','_draw','subscribe','svg','UniverDrawing','resourceIDs','/collaborator','_onUserLeave','SNAPSHOT_URL_KEY','change$','shareReplay','_state','_roomMembers','sequenceExecute','_snapshotServerService','_assignedColors','open$','CONFLICT','onlineStatusIcon','rgba(255,\x20255,\x20255,\x200.01)','image/jpeg'];_0x22af=function(){return _0x1c3e86;};return _0x22af();}
1
+ (function(_0x3c1c4b,_0x2930ab){const _0x4eaeb1=_0x2d55,_0x4ed189=_0x3c1c4b();while(!![]){try{const _0x4ef36b=parseInt(_0x4eaeb1(0x2a6))/0x1*(-parseInt(_0x4eaeb1(0x133))/0x2)+parseInt(_0x4eaeb1(0x356))/0x3*(parseInt(_0x4eaeb1(0x333))/0x4)+parseInt(_0x4eaeb1(0x28a))/0x5+-parseInt(_0x4eaeb1(0x1b3))/0x6*(-parseInt(_0x4eaeb1(0x3c7))/0x7)+parseInt(_0x4eaeb1(0x2d8))/0x8*(-parseInt(_0x4eaeb1(0x2b0))/0x9)+parseInt(_0x4eaeb1(0x28b))/0xa*(parseInt(_0x4eaeb1(0x213))/0xb)+-parseInt(_0x4eaeb1(0x361))/0xc*(parseInt(_0x4eaeb1(0x3e9))/0xd);if(_0x4ef36b===_0x2930ab)break;else _0x4ed189['push'](_0x4ed189['shift']());}catch(_0x3f9ea5){_0x4ed189['push'](_0x4ed189['shift']());}}}(_0x30bb,0x88bb8),function(_0x3d41ab,_0x3d5678){const _0x13c57c=_0x2d55;typeof exports=='object'&&typeof module<'u'?_0x3d5678(exports,require('@univerjs/core'),require(_0x13c57c(0x43c)),require(_0x13c57c(0x24b)),require(_0x13c57c(0x44a)),require(_0x13c57c(0x1fd)),require(_0x13c57c(0x22e)),require(_0x13c57c(0x1a4)),require(_0x13c57c(0x16f)),require('@univerjs/network'),require(_0x13c57c(0x3d7)),require('@univerjs/engine-render'),require('@univerjs/engine-formula'),require(_0x13c57c(0x276)),require(_0x13c57c(0x1fb)),require(_0x13c57c(0x3ea)),require(_0x13c57c(0x3db)),require(_0x13c57c(0x350))):typeof define=='function'&&define[_0x13c57c(0x2c4)]?define([_0x13c57c(0x2c9),_0x13c57c(0x2a5),_0x13c57c(0x43c),_0x13c57c(0x24b),'@univerjs/ui','@univerjs-pro/collaboration',_0x13c57c(0x22e),_0x13c57c(0x1a4),_0x13c57c(0x16f),_0x13c57c(0x3fb),_0x13c57c(0x3d7),_0x13c57c(0xef),_0x13c57c(0x129),_0x13c57c(0x276),_0x13c57c(0x1fb),_0x13c57c(0x3ea),_0x13c57c(0x3db),_0x13c57c(0x350)],_0x3d5678):(_0x3d41ab=typeof globalThis<'u'?globalThis:_0x3d41ab||self,_0x3d5678(_0x3d41ab[_0x13c57c(0x1b8)]={},_0x3d41ab[_0x13c57c(0x1e7)],_0x3d41ab[_0x13c57c(0xb3)],_0x3d41ab[_0x13c57c(0x121)],_0x3d41ab['UniverUi'],_0x3d41ab[_0x13c57c(0x3e4)],_0x3d41ab[_0x13c57c(0x22e)],_0x3d41ab['rxjs'][_0x13c57c(0x254)],_0x3d41ab['UniverDocs'],_0x3d41ab[_0x13c57c(0x28f)],_0x3d41ab['UniverDrawing'],_0x3d41ab[_0x13c57c(0x406)],_0x3d41ab[_0x13c57c(0x12e)],_0x3d41ab[_0x13c57c(0x2f8)][_0x13c57c(0x1e3)],_0x3d41ab[_0x13c57c(0x200)],_0x3d41ab['React'],_0x3d41ab[_0x13c57c(0x3db)],_0x3d41ab[_0x13c57c(0x41d)]));}(this,function(_0x48d167,_0x132eb9,_0x21d024,_0x59ab28,_0x202279,_0x1524d,_0x3639ee,_0x5d8ab5,_0x4b287a,_0x5e809e,_0x46aaec,_0x24af47,_0x57f53f,_0x45c518,_0x12bc0e,_0x58a26a,_0x3a1d76,_0x4ab2ac){'use strict';const _0x474fca=_0x2d55;var _0xa7d035=Object[_0x474fca(0x109)],_0x13bd14=(_0x55037b,_0xfbe0e4,_0x4ec122)=>_0xfbe0e4 in _0x55037b?_0xa7d035(_0x55037b,_0xfbe0e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ec122}):_0x55037b[_0xfbe0e4]=_0x4ec122,_0x3b7d06=(_0x436790,_0x5cfce5,_0x2b3e60)=>_0x13bd14(_0x436790,typeof _0x5cfce5!=_0x474fca(0x250)?_0x5cfce5+'':_0x5cfce5,_0x2b3e60);const _0x474f5b=_0x474fca(0xc8),_0x152042=_0x474fca(0x1eb),_0x5e8172=_0x474fca(0x16c),_0x5036b1=_0x474fca(0x2b6),_0x5058a4=_0x474fca(0xab),_0x485035=_0x474fca(0x20e),_0x5a327e='HEARTBEAT_INTERVAL',_0x240518=_0x474fca(0x2e5),_0x32b076=_0x474fca(0x2ab),_0x3d7c60='RETRY_CONNECTING_MAX_COUNT',_0x2c2734='LOCAL_CACHE_INTERVAL',_0x22e134=_0x474fca(0x106),_0x6ef45d=_0x474fca(0x9b),_0x596ca2=_0x474fca(0x1f6),_0x2bbb39='/universer-api/oidc/authpage';var _0x3b4d51=(_0x2a12a3=>(_0x2a12a3[_0x2a12a3[_0x474fca(0x16d)]=0x0]=_0x474fca(0x16d),_0x2a12a3[_0x2a12a3['OK']=0x1]='OK',_0x2a12a3[_0x2a12a3['INTERNAL_ERROR']=0x2]=_0x474fca(0x23c),_0x2a12a3[_0x2a12a3[_0x474fca(0xa7)]=0x3]='PERMISSION_DENIED',_0x2a12a3[_0x2a12a3[_0x474fca(0x1b9)]=0x4]=_0x474fca(0x1b9),_0x2a12a3[_0x2a12a3['UNAUTHENTICATED']=0x5]=_0x474fca(0x22c),_0x2a12a3[_0x2a12a3['ALREADY_EXISTS']=0x6]=_0x474fca(0x118),_0x2a12a3[_0x2a12a3[_0x474fca(0x416)]=0x7]=_0x474fca(0x416),_0x2a12a3[_0x2a12a3[_0x474fca(0x3f8)]=0x8]=_0x474fca(0x3f8),_0x2a12a3[_0x2a12a3[_0x474fca(0x345)]=0x9]=_0x474fca(0x345),_0x2a12a3[_0x2a12a3[_0x474fca(0x33e)]=0x1389]=_0x474fca(0x33e),_0x2a12a3[_0x2a12a3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x474fca(0x157),_0x2a12a3[_0x2a12a3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x474fca(0x429),_0x2a12a3[_0x2a12a3[_0x474fca(0x456)]=0x1b59]='APPLY_REJECT',_0x2a12a3[_0x2a12a3[_0x474fca(0x449)]=0x1b5a]=_0x474fca(0x449),_0x2a12a3[_0x2a12a3[_0x474fca(0x337)]=0x1b5b]=_0x474fca(0x337),_0x2a12a3[_0x2a12a3[_0x474fca(0x255)]=0x1b5c]=_0x474fca(0x255),_0x2a12a3[_0x2a12a3[_0x474fca(0x17b)]=0x1f41]=_0x474fca(0x17b),_0x2a12a3[_0x2a12a3[_0x474fca(0x1a9)]=0x2329]=_0x474fca(0x1a9),_0x2a12a3[_0x2a12a3['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2a12a3[_0x2a12a3[_0x474fca(0x2fe)]=0x232b]=_0x474fca(0x2fe),_0x2a12a3[_0x2a12a3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2a12a3[_0x2a12a3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x474fca(0x3f1),_0x2a12a3[_0x2a12a3[_0x474fca(0x97)]=0x2711]=_0x474fca(0x97),_0x2a12a3[_0x2a12a3[_0x474fca(0x420)]=0x2712]=_0x474fca(0x420),_0x2a12a3[_0x2a12a3['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a12a3[_0x2a12a3[_0x474fca(0x117)]=0x2714]=_0x474fca(0x117),_0x2a12a3[_0x2a12a3[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x2a12a3))(_0x3b4d51||{}),_0x2f5f8c=(_0x415840=>(_0x415840[_0x415840[_0x474fca(0x170)]=0x0]=_0x474fca(0x170),_0x415840[_0x415840['UNIVER_DOC']=0x1]=_0x474fca(0x14d),_0x415840[_0x415840[_0x474fca(0x1a0)]=0x2]=_0x474fca(0x1a0),_0x415840[_0x415840[_0x474fca(0x2a8)]=0x3]=_0x474fca(0x2a8),_0x415840[_0x415840[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x415840))(_0x2f5f8c||{}),_0x45623e=(_0x16d353=>(_0x16d353[_0x16d353[_0x474fca(0xfd)]=0x0]=_0x474fca(0xfd),_0x16d353[_0x16d353[_0x474fca(0x47d)]=0x1]=_0x474fca(0x47d),_0x16d353[_0x16d353[_0x474fca(0x120)]=0x2]=_0x474fca(0x120),_0x16d353[_0x16d353[_0x474fca(0x462)]=0x3]=_0x474fca(0x462),_0x16d353[_0x16d353[_0x474fca(0x2c5)]=0x4]='INGEST',_0x16d353[_0x16d353['HEARTBEAT']=0x5]=_0x474fca(0x476),_0x16d353[_0x16d353[_0x474fca(0x236)]=0x6]='RECV',_0x16d353[_0x16d353[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x16d353))(_0x45623e||{}),_0x1add38=(_0x2b57ca=>(_0x2b57ca[_0x2b57ca['UNKNOWN_CODE']=0x0]=_0x474fca(0x1c3),_0x2b57ca[_0x2b57ca['OK']=0x1]='OK',_0x2b57ca[_0x2b57ca['FAIL']=0x2]=_0x474fca(0x3a5),_0x2b57ca[_0x2b57ca[_0x474fca(0x12d)]=-0x1]='UNRECOGNIZED',_0x2b57ca))(_0x1add38||{}),_0x1ca454=Object['defineProperty'],_0x19f0a2=Object[_0x474fca(0xcc)],_0x286351=(_0x312161,_0x170d42,_0x327c7b,_0x8a376c)=>{for(var _0x22af96=_0x8a376c>0x1?void 0x0:_0x8a376c?_0x19f0a2(_0x170d42,_0x327c7b):_0x170d42,_0xafc5=_0x312161['length']-0x1,_0x1331d4;_0xafc5>=0x0;_0xafc5--)(_0x1331d4=_0x312161[_0xafc5])&&(_0x22af96=(_0x8a376c?_0x1331d4(_0x170d42,_0x327c7b,_0x22af96):_0x1331d4(_0x22af96))||_0x22af96);return _0x8a376c&&_0x22af96&&_0x1ca454(_0x170d42,_0x327c7b,_0x22af96),_0x22af96;},_0x13c063=(_0x95bdd4,_0x7dd20f)=>(_0x404a5e,_0x470960)=>_0x7dd20f(_0x404a5e,_0x470960,_0x95bdd4);let _0x191a69=class extends _0x132eb9['Disposable']{constructor(_0x34da32,_0x5aa470){const _0x2587a8=_0x474fca;super(),_0x3b7d06(this,_0x2587a8(0x112),new Map()),(this[_0x2587a8(0x1bd)]=_0x34da32,this['_userManagerService']=_0x5aa470,this[_0x2587a8(0x26e)](_0x132eb9[_0x2587a8(0x2c0)](_0x3639ee['merge'](this['_univerInstanceService'][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x1a0)])[_0x2587a8(0x195)](_0x5d8ab5['map'](_0x256623=>_0x256623[_0x2587a8(0x225)]())),this[_0x2587a8(0x1bd)][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x14d)])[_0x2587a8(0x195)](_0x5d8ab5[_0x2587a8(0x18f)](_0x1ed7d9=>_0x1ed7d9[_0x2587a8(0x225)]())),this[_0x2587a8(0x1bd)][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x2a8)])[_0x2587a8(0x195)](_0x5d8ab5[_0x2587a8(0x18f)](_0x560d57=>_0x560d57[_0x2587a8(0x225)]())))[_0x2587a8(0x2e1)](_0x39e90e=>this[_0x2587a8(0x204)](_0x39e90e)))));}[_0x474fca(0x1de)](_0x171af8){const _0x6929fb=_0x474fca;this['_userManagerService'][_0x6929fb(0x1de)](_0x171af8);}['getCurrentUser'](){const _0x2209b5=_0x474fca;return this['_userManagerService'][_0x2209b5(0x42d)]();}['updateMember'](_0x231809,_0x3c4d32){const _0x1bcbb4=_0x474fca;let _0x428a5f=this['_roomMembers'][_0x1bcbb4(0x261)](_0x231809);_0x428a5f||(_0x428a5f=new _0x46af49(),this[_0x1bcbb4(0x112)][_0x1bcbb4(0xbe)](_0x231809,_0x428a5f)),_0x428a5f[_0x1bcbb4(0x30e)](_0x3c4d32);}['removeMember'](_0x4b9538,_0x2c712e){const _0x4152ca=_0x474fca,_0x17c72d=this['_roomMembers'][_0x4152ca(0x261)](_0x4b9538);_0x17c72d&&_0x17c72d[_0x4152ca(0x11c)](_0x2c712e);}[_0x474fca(0x45a)](_0x2a8b3a){return this['_roomMembers']['get'](_0x2a8b3a);}[_0x474fca(0x3ca)](_0x260605,_0x1dc95d){const _0x24f987=_0x474fca,_0x43d638=this[_0x24f987(0x112)][_0x24f987(0x261)](_0x260605);if(_0x43d638)return _0x43d638[_0x24f987(0x3ca)](_0x1dc95d);}['_removeRoom'](_0x3ab376){const _0x4ae50d=_0x474fca,_0x9fa9e2=this[_0x4ae50d(0x112)][_0x4ae50d(0x261)](_0x3ab376);_0x9fa9e2&&(_0x9fa9e2[_0x4ae50d(0x19a)](),this['_roomMembers'][_0x4ae50d(0x224)](_0x3ab376));}['dispose'](){const _0x15ec62=_0x474fca;this[_0x15ec62(0x112)][_0x15ec62(0x173)](_0x42d9ac=>_0x42d9ac[_0x15ec62(0x19a)]()),this[_0x15ec62(0x112)]['clear']();}};_0x191a69=_0x286351([_0x13c063(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x13c063(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x437)]))],_0x191a69);class _0x46af49 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x1e8d92=_0x474fca;super(...arguments),_0x3b7d06(this,_0x1e8d92(0x42f),new Map());}[_0x474fca(0x19a)](){const _0x15668a=_0x474fca;this[_0x15668a(0x42f)]['clear']();}[_0x474fca(0x30e)](_0x475b25){const _0x4ae7d5=_0x474fca;this[_0x4ae7d5(0x42f)][_0x4ae7d5(0xbe)](_0x475b25[_0x4ae7d5(0x26a)],_0x475b25);}[_0x474fca(0x11c)](_0x30388b){this['_members']['delete'](_0x30388b);}[_0x474fca(0x3ca)](_0x55b972){const _0xd6f261=_0x474fca;return this[_0xd6f261(0x42f)][_0xd6f261(0x261)](_0x55b972);}}function _0x156469(_0x1f9501){const _0x4615a4=_0x474fca;var _0x4ca906,_0x50b6cf,_0x564137,_0xff0a94;const _0x1e59c7=_0x1f9501['data'],_0x33e1ee=JSON['parse'](_0x1e59c7);switch(_0x33e1ee[_0x4615a4(0x45f)]){case _0x45623e[_0x4615a4(0x476)]:case _0x45623e['HELLO']:{const _0x1c811f=_0x33e1ee[_0x4615a4(0x1a3)];return{..._0x33e1ee,'data':_0x1c811f,'cmd':_0x33e1ee[_0x4615a4(0x45f)]};}case _0x45623e[_0x4615a4(0x120)]:{const _0x1cddef=_0x33e1ee[_0x4615a4(0x29d)];return{..._0x33e1ee,'data':_0x1cddef,'cmd':_0x33e1ee[_0x4615a4(0x45f)]};}case _0x45623e[_0x4615a4(0x236)]:{const _0x2cf79a=_0x33e1ee[_0x4615a4(0xc9)];switch(_0x2cf79a[_0x4615a4(0x31f)]){case _0x1524d['CollaborationEvent'][_0x4615a4(0x22b)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x4ca906=_0x2cf79a[_0x4615a4(0x209)])==null?void 0x0:_0x4ca906['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['CHANGESET_ACK']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x50b6cf=_0x2cf79a[_0x4615a4(0x33a)])==null?void 0x0:_0x50b6cf['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d['CollaborationEvent'][_0x4615a4(0x288)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x564137=_0x2cf79a[_0x4615a4(0x3d1)])==null?void 0x0:_0x564137['cs']},'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent'][_0x4615a4(0x455)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0xff0a94=_0x2cf79a[_0x4615a4(0x413)])==null?void 0x0:_0xff0a94['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x2f5)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2d4)]},'cmd':_0x33e1ee['cmd']};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x2e4)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x330)]},'cmd':_0x33e1ee['cmd']};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x458)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2dd)]},'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['liveShareNewHost']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d['CollaborationEvent'][_0x4615a4(0x160)]:case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x407)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['liveShareOperation']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['LIVESHARE_TERMINATE']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2fd)]},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['MSG_FOR_ERROR']:return{..._0x33e1ee,'data':_0x2cf79a,'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent'][_0x4615a4(0x305)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['commentUpdateEvent']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x23a)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['updatePermissionObjEvent']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x46d)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['shouldCloseConn']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};default:return _0x33e1ee;}}default:return _0x33e1ee;}}function _0x41be5a(_0x2e713c){const _0x2f8c3b=_0x474fca;switch(_0x2e713c[_0x2f8c3b(0x45f)]){case _0x45623e[_0x2f8c3b(0x476)]:case _0x45623e['HELLO']:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c['routeKey']});case _0x45623e[_0x2f8c3b(0x2c5)]:{let _0x3e17cf;switch(_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0x31f)]){case _0x1524d[_0x2f8c3b(0x2b2)]['UPDATE_CURSOR']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x2f5)],'updateCursorEvent':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d['CollaborationEvent'][_0x2f8c3b(0x458)]:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x458)],'leaveEvent':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x2e4)]:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)]['USERS_ENTER'],'joinEvent':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_NEW_HOST']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x3e3)],'liveShareNewHost':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_OPERATION']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_TERMINATE']:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x3a8)],'liveShareTerminate':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d['CollaborationEvent'][_0x2f8c3b(0x3c2)]:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2e713c[_0x2f8c3b(0xe5)]['data']};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x160)]};break;}default:_0x3e17cf={'eventID':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0x31f)]};}return JSON['stringify']({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c[_0x2f8c3b(0x35e)],'collaMsg':_0x3e17cf});}case _0x45623e[_0x2f8c3b(0x120)]:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c[_0x2f8c3b(0x35e)],'joinReq':_0x2e713c[_0x2f8c3b(0xe5)]});case _0x45623e[_0x2f8c3b(0x462)]:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c['routeKey'],'leaveReq':_0x2e713c[_0x2f8c3b(0xe5)]});default:throw new Error(_0x2f8c3b(0x24e));}}var _0x18ce91=Object[_0x474fca(0x109)],_0x31b8f=Object['getOwnPropertyDescriptor'],_0x7e147e=(_0x5183e8,_0x3b6f52,_0xaea770,_0x47d552)=>{const _0x4b6624=_0x474fca;for(var _0x4822eb=_0x47d552>0x1?void 0x0:_0x47d552?_0x31b8f(_0x3b6f52,_0xaea770):_0x3b6f52,_0xfcb2b2=_0x5183e8[_0x4b6624(0x2b9)]-0x1,_0xb01c99;_0xfcb2b2>=0x0;_0xfcb2b2--)(_0xb01c99=_0x5183e8[_0xfcb2b2])&&(_0x4822eb=(_0x47d552?_0xb01c99(_0x3b6f52,_0xaea770,_0x4822eb):_0xb01c99(_0x4822eb))||_0x4822eb);return _0x47d552&&_0x4822eb&&_0x18ce91(_0x3b6f52,_0xaea770,_0x4822eb),_0x4822eb;},_0x3b9d6b=(_0xf562a,_0x238536)=>(_0x4f08a2,_0x2f2565)=>_0x238536(_0x4f08a2,_0x2f2565,_0xf562a);const _0x2b67b3=_0x132eb9[_0x474fca(0x447)]('univer-pro.collaboration-client-socket-service');function _0x32093b(_0x10c4f0,_0xd92657,_0x2553bc){const _0x8f7bfe=_0x474fca;return _0x10c4f0+'/'+_0xd92657+'/unit/'+_0x2553bc+_0x8f7bfe(0x470);}_0x48d167[_0x474fca(0x262)]=class{constructor(_0x58632d,_0x37c804,_0x4fa86a,_0x46c766,_0x97f7da){const _0x31730c=_0x474fca;this['_http']=_0x58632d,this[_0x31730c(0x2ef)]=_0x37c804,this[_0x31730c(0x26f)]=_0x4fa86a,this['_logService']=_0x46c766,this['_snapshotServerService']=_0x97f7da;}[_0x474fca(0x39c)](_0x6dbd57){const _0x455078=_0x474fca,_0x4752ca=this['_ws'][_0x455078(0x39c)](_0x6dbd57);if(!_0x4752ca)throw new Error(_0x455078(0x1b7));const _0x577682=new _0x132eb9[(_0x455078(0x132))](),_0x14a909=new _0x3639ee[(_0x455078(0x1cb))]();_0x577682[_0x455078(0x41b)](_0x132eb9['toDisposable'](_0x4752ca['close$'][_0x455078(0x2e1)](_0x5a3cf0=>_0x14a909[_0x455078(0x452)](_0x5a3cf0)))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x14a909['complete']()));const _0x45816c=new _0x3639ee[(_0x455078(0x1cb))]();_0x577682[_0x455078(0x41b)](_0x132eb9[_0x455078(0x2c0)](_0x4752ca[_0x455078(0x20c)]['subscribe'](_0x5a90ca=>_0x45816c[_0x455078(0x452)](_0x5a90ca)))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x45816c[_0x455078(0x25f)]()));const _0x55f43a=new _0x3639ee['Subject']();_0x577682[_0x455078(0x41b)](_0x132eb9[_0x455078(0x2c0)](_0x4752ca[_0x455078(0x32c)][_0x455078(0x2e1)](_0x32c022=>{const _0x4fbb04=_0x455078,_0x31c099=_0x156469(_0x32c022);_0x55f43a[_0x4fbb04(0x452)](_0x31c099);}))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x55f43a[_0x455078(0x25f)]()));const _0x134bde=()=>{const _0x49ccff=_0x455078;_0x45816c['next'](new Event('connection\x20error')),_0x14a909[_0x49ccff(0x452)](new CloseEvent(_0x49ccff(0x419))),_0x2120b7[_0x49ccff(0x33d)]();},_0x2120b7={'memberID':'','close$':_0x14a909['asObservable'](),'error$':_0x45816c[_0x455078(0x39b)](),'open$':_0x4752ca[_0x455078(0x35d)],'message$':_0x55f43a[_0x455078(0x39b)](),'send':_0x4a4239=>{const _0x26c62c=_0x455078;if(_0x4a4239[_0x26c62c(0x45f)]===_0x45623e['INGEST']){if(_0x4a4239[_0x26c62c(0xe5)]['eventID']===_0x1524d[_0x26c62c(0x2b2)][_0x26c62c(0x3c3)]){this[_0x26c62c(0x354)](_0x2120b7,_0x4a4239['data'])['catch'](_0x31ff4e=>{const _0x553e46=_0x26c62c;this[_0x553e46(0x1ac)]['error'](_0x31ff4e),_0x134bde();});return;}if(_0x4a4239[_0x26c62c(0xe5)][_0x26c62c(0x31f)]===_0x1524d[_0x26c62c(0x2b2)]['FETCH_MISSING']){const _0x56ed0d=_0x4a4239[_0x26c62c(0xe5)];this[_0x26c62c(0x435)](_0x56ed0d)[_0x26c62c(0x321)](_0x5d378d=>{const _0x2b086a=_0x26c62c;_0x55f43a[_0x2b086a(0x452)]({'cmd':_0x45623e['RECV'],'code':_0x1add38['OK'],'routeKey':_0x56ed0d[_0x2b086a(0xe5)]['unitID'],'routeType':'','data':{'eventID':_0x1524d[_0x2b086a(0x2b2)][_0x2b086a(0x464)],'data':{'changesets':_0x5d378d}}});})[_0x26c62c(0x16a)](_0xc95095=>{const _0x20d30b=_0x26c62c;this[_0x20d30b(0x1ac)][_0x20d30b(0xf5)](_0xc95095),_0x134bde();});return;}}_0x4752ca['send'](_0x41be5a(_0x4a4239));},'close':()=>{const _0x3a4191=_0x455078;_0x4752ca[_0x3a4191(0x33d)](),_0x577682[_0x3a4191(0x19a)]();}};return _0x2120b7;}async[_0x474fca(0x354)](_0x59ca12,_0x29a17d){const _0x1a21b0=_0x474fca;var _0x4dcfc3;const {unitType:_0x3b748f,unitID:_0x5d3644,changeset:_0x324c79}=_0x29a17d[_0x1a21b0(0xe5)],_0x31d052={'unitID':_0x5d3644,'memberID':_0x59ca12[_0x1a21b0(0x26a)],'type':_0x3b748f,'changeset':_0x1524d['parseChangesetToProtocol'](_0x324c79)},_0x3b7a3b=_0x32093b((_0x4dcfc3=this[_0x1a21b0(0x26f)][_0x1a21b0(0x3a2)](_0x22e134))!=null?_0x4dcfc3:_0x6ef45d,_0x3b748f,_0x5d3644);try{await this[_0x1a21b0(0x25d)][_0x1a21b0(0x128)](_0x3b7a3b,{'body':_0x31d052});}catch(_0x46e043){throw this[_0x1a21b0(0x1ac)][_0x1a21b0(0xf5)](_0x1a21b0(0x1c1),_0x1a21b0(0x135)),_0x46e043;}}async['_fetchMissChangesets'](_0x2fc45f){const _0x5996a2=_0x474fca,{unitID:_0x35271f,from:_0x32eddd,to:_0x3ff313,unitType:_0x2daf67}=_0x2fc45f[_0x5996a2(0xe5)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x35271f,'type':_0x2daf67,'from':_0x32eddd,'to':_0x3ff313}))['changesets'];}},_0x48d167[_0x474fca(0x262)]=_0x7e147e([_0x3b9d6b(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x3b9d6b(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0x2ed)])),_0x3b9d6b(0x2,_0x132eb9[_0x474fca(0x46a)]),_0x3b9d6b(0x3,_0x132eb9[_0x474fca(0xad)]),_0x3b9d6b(0x4,_0x132eb9['ISnapshotServerService'])],_0x48d167[_0x474fca(0x262)]);class _0x333a83{constructor(){const _0x49ded4=_0x474fca;_0x3b7d06(this,'_commentUpdate$',new _0x3639ee['Subject']()),_0x3b7d06(this,_0x49ded4(0x28e),this[_0x49ded4(0x207)][_0x49ded4(0x39b)]());}['onCommentUpdate'](_0x483802){const _0x3e23a5=_0x474fca;this[_0x3e23a5(0x207)]['next'](_0x483802);}}var _0x14d841=Object[_0x474fca(0x109)],_0x75bc6=Object[_0x474fca(0xcc)],_0x5cfe64=(_0x2ee031,_0x27ac95,_0x258b4d,_0x407276)=>{const _0x13b05a=_0x474fca;for(var _0x51264f=_0x407276>0x1?void 0x0:_0x407276?_0x75bc6(_0x27ac95,_0x258b4d):_0x27ac95,_0x461690=_0x2ee031[_0x13b05a(0x2b9)]-0x1,_0x3cb3bf;_0x461690>=0x0;_0x461690--)(_0x3cb3bf=_0x2ee031[_0x461690])&&(_0x51264f=(_0x407276?_0x3cb3bf(_0x27ac95,_0x258b4d,_0x51264f):_0x3cb3bf(_0x51264f))||_0x51264f);return _0x407276&&_0x51264f&&_0x14d841(_0x27ac95,_0x258b4d,_0x51264f),_0x51264f;},_0x1c9a43=(_0x1e0321,_0x3ce931)=>(_0xb98fcd,_0x5a3e4d)=>_0x3ce931(_0xb98fcd,_0x5a3e4d,_0x1e0321),_0x139854=(_0x4a6c2e=>(_0x4a6c2e[_0x4a6c2e[_0x474fca(0x2db)]=0x0]=_0x474fca(0x2db),_0x4a6c2e[_0x4a6c2e['JOINING']=0x1]=_0x474fca(0x329),_0x4a6c2e[_0x4a6c2e[_0x474fca(0x35a)]=0x2]=_0x474fca(0x35a),_0x4a6c2e[_0x4a6c2e['ONLINE']=0x3]=_0x474fca(0x31c),_0x4a6c2e))(_0x139854||{});_0x48d167[_0x474fca(0x29a)]=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x40e3ab,_0x2224bd,_0x424b7e,_0x21ff62,_0x3758c1,_0x4f106d,_0x3fd5b4,_0x4dd9cf,_0x1beb0f){const _0x4db77a=_0x474fca;super(),_0x3b7d06(this,_0x4db77a(0x432),new _0x3639ee[(_0x4db77a(0x2a0))](0x0)),_0x3b7d06(this,_0x4db77a(0x326),this[_0x4db77a(0x432)]['asObservable']()),_0x3b7d06(this,_0x4db77a(0x380),new _0x3639ee[(_0x4db77a(0x1cb))]()),_0x3b7d06(this,_0x4db77a(0x428),this[_0x4db77a(0x380)]['asObservable']()),_0x3b7d06(this,_0x4db77a(0x474)),_0x3b7d06(this,_0x4db77a(0x270)),_0x3b7d06(this,_0x4db77a(0x3ab)),(this['_unitID']=_0x40e3ab,this[_0x4db77a(0x1ac)]=_0x424b7e,this[_0x4db77a(0x394)]=_0x21ff62,this[_0x4db77a(0x1af)]=_0x3758c1,this[_0x4db77a(0x26f)]=_0x4f106d,this[_0x4db77a(0x1fc)]=_0x3fd5b4,this[_0x4db77a(0x205)]=_0x4dd9cf,this[_0x4db77a(0x13c)]=_0x1beb0f,_0x2224bd[_0x4db77a(0x195)](_0x5d8ab5[_0x4db77a(0x37a)](this[_0x4db77a(0x2b5)]))[_0x4db77a(0x2e1)](_0x53181f=>{const _0x1094ac=_0x4db77a;var _0x38ce1e;typeof _0x53181f>'u'||(this[_0x1094ac(0x474)]=_0x53181f,_0x53181f?(this[_0x1094ac(0x3bc)](_0x53181f),this[_0x1094ac(0x270)]=this['_socket'][_0x1094ac(0x32c)][_0x1094ac(0x2e1)](_0x54d1c2=>{const _0xfc7e34=_0x1094ac;_0x54d1c2[_0xfc7e34(0x35e)]===this[_0xfc7e34(0x310)]&&this[_0xfc7e34(0x459)](_0x54d1c2);})):(this[_0x1094ac(0x432)]['next'](0x2),(_0x38ce1e=this[_0x1094ac(0x270)])==null||_0x38ce1e[_0x1094ac(0xde)](),this[_0x1094ac(0x270)]=null));}),this[_0x4db77a(0x26e)](this[_0x4db77a(0x394)]['registerOnClose'](()=>{const _0x282619=_0x4db77a;var _0x393cba;(_0x393cba=this['_socket'])==null||_0x393cba['send']({'cmd':_0x45623e[_0x282619(0x462)],'data':{'roomID':this[_0x282619(0x310)]}});})));}get[_0x474fca(0x1c4)](){return this['_sessionStatus$']['getValue']();}[_0x474fca(0xda)](){const _0x35e82f=_0x474fca;var _0x26d61b,_0x3a94d9;return(_0x3a94d9=(_0x26d61b=this[_0x35e82f(0x474)])==null?void 0x0:_0x26d61b['memberID'])!=null?_0x3a94d9:null;}[_0x474fca(0x19a)](){const _0x3c7828=_0x474fca;super[_0x3c7828(0x19a)](),this['dispose$'][_0x3c7828(0x452)](),this[_0x3c7828(0x2b5)]['complete']();}[_0x474fca(0x33d)](){const _0x3b65a0=_0x474fca;var _0xa27e8f,_0x3bcb41;(_0xa27e8f=this[_0x3b65a0(0x474)])==null||_0xa27e8f[_0x3b65a0(0x31a)]({'cmd':_0x45623e['LEAVE'],'data':{'roomID':this['_unitID']}}),this[_0x3b65a0(0x380)][_0x3b65a0(0x25f)](),this[_0x3b65a0(0x432)]['complete'](),(_0x3bcb41=this['_socket'])==null||_0x3bcb41[_0x3b65a0(0x33d)](),this[_0x3b65a0(0x19a)]();}['_onCombEvent'](_0x25d33f){const _0x2c6d8=_0x474fca;_0x25d33f[_0x2c6d8(0x45f)]===_0x45623e[_0x2c6d8(0x120)]?this[_0x2c6d8(0x43d)](_0x25d33f):_0x25d33f['cmd']===_0x45623e['RECV']&&this[_0x2c6d8(0x453)](_0x25d33f);}['_joinRoom'](_0x415a45){const _0x4dd956=_0x474fca;this[_0x4dd956(0x432)]['next'](0x1),_0x415a45[_0x4dd956(0x31a)]({'cmd':_0x45623e[_0x4dd956(0x120)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4dd956(0x310)]}]}});}['_onJoinRoomEvent'](_0x5d2715){const _0x4930af=_0x474fca;var _0x3616e6;if(_0x5d2715[_0x4930af(0x360)]===_0x1add38[_0x4930af(0x3a5)]){this['_messageService']['show']({'type':_0x59ab28['MessageType'][_0x4930af(0x19f)],'content':this[_0x4930af(0x1fc)]['t'](_0x4930af(0x11e))}),this['_sessionStatus$']['next'](0x2);return;}this[_0x4930af(0x432)]['next'](0x3);const _0x456f0b=(_0x3616e6=_0x5d2715[_0x4930af(0xe5)][_0x4930af(0x2d2)][this[_0x4930af(0x310)]])==null?void 0x0:_0x3616e6[_0x4930af(0x27c)];_0x456f0b&&_0x456f0b['forEach'](_0x65205e=>this[_0x4930af(0x205)][_0x4930af(0x30e)](this[_0x4930af(0x310)],_0x65205e));}[_0x474fca(0x453)](_0x3475a3){const _0x4ccc70=_0x474fca;try{const _0x5aa422=_0x3475a3[_0x4ccc70(0xe5)];switch(_0x5aa422[_0x4ccc70(0x31f)]){case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x2e4)]:this[_0x4ccc70(0x1aa)](_0x5aa422),this[_0x4ccc70(0x380)]['next'](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)]['USERS_LEAVE']:this['_onUserLeave'](_0x5aa422),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x2d3)]:this[_0x4ccc70(0xdd)](),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x292)]:this[_0x4ccc70(0x1ac)]['error'](_0x4ccc70(0x1ae)+JSON[_0x4ccc70(0x233)](_0x5aa422)),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d['CollaborationEvent'][_0x4ccc70(0x305)]:this[_0x4ccc70(0x13c)][_0x4ccc70(0x189)](_0x5aa422[_0x4ccc70(0xe5)]),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;default:this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);}}catch(_0x4ef600){this[_0x4ccc70(0x1ac)][_0x4ccc70(0xf5)](_0x4ef600,_0x3475a3);}}['_onUserJoin'](_0xa706aa){const _0x1f6e7a=_0x474fca;this[_0x1f6e7a(0x205)]['updateMember'](this[_0x1f6e7a(0x310)],_0xa706aa['data']);}[_0x474fca(0x365)](_0x2d0653){const _0x1aaa48=_0x474fca;this[_0x1aaa48(0x205)][_0x1aaa48(0x11c)](this[_0x1aaa48(0x310)],_0x2d0653[_0x1aaa48(0xe5)][_0x1aaa48(0x26a)]);}async[_0x474fca(0x31a)](_0x45354a,_0x42b8af){const _0x428b47=_0x474fca;if(this[_0x428b47(0x1c4)]!==0x3||!this[_0x428b47(0x474)])throw new Error(_0x428b47(0x442));try{_0x45354a[_0x428b47(0x31f)]===_0x1524d['CollaborationEvent'][_0x428b47(0x288)]&&this[_0x428b47(0x274)](),this['_socket'][_0x428b47(0x31a)]({'cmd':_0x45623e[_0x428b47(0x2c5)],'routeKey':_0x42b8af,'routeType':'','data':_0x45354a});}catch(_0x3a3b34){this[_0x428b47(0x1ac)][_0x428b47(0xf5)](_0x3a3b34);}}['_scheduleCollaborationTimeoutTimer'](){const _0x3ef914=_0x474fca;var _0x12492f;this[_0x3ef914(0x3ab)]=window['setTimeout'](()=>{const _0x4770bf=_0x3ef914;this[_0x4770bf(0x3ab)]=null,this[_0x4770bf(0x1af)]['show']({'type':_0x59ab28['MessageType']['Error'],'content':this[_0x4770bf(0x1fc)]['t']('session.collaboration-timeout')});},(_0x12492f=this[_0x3ef914(0x26f)][_0x3ef914(0x3a2)](_0x240518))!=null?_0x12492f:0x2710);}['_clearCollaborationTimeoutTimer'](){const _0x1db50a=_0x474fca;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1db50a(0x3ab)]),this[_0x1db50a(0x3ab)]=null);}},_0x48d167[_0x474fca(0x29a)]=_0x5cfe64([_0x1c9a43(0x2,_0x132eb9[_0x474fca(0xad)]),_0x1c9a43(0x3,_0x202279[_0x474fca(0x147)]),_0x1c9a43(0x4,_0x202279[_0x474fca(0x123)]),_0x1c9a43(0x5,_0x132eb9[_0x474fca(0x46a)]),_0x1c9a43(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x1c9a43(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x1c9a43(0x8,_0x132eb9[_0x474fca(0x1a8)](_0x333a83))],_0x48d167['CollaborationSession']),_0x48d167[_0x474fca(0xc6)]=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x46c61e,_0x2ad5d0,_0x5bc388,_0x47c985,_0x203e40,_0x4d82ff){const _0x41b118=_0x474fca;super(),_0x3b7d06(this,_0x41b118(0x35f),new _0x3639ee[(_0x41b118(0x2a0))](void 0x0)),_0x3b7d06(this,_0x41b118(0x181),new Map()),_0x3b7d06(this,_0x41b118(0x2d7),new _0x3639ee[(_0x41b118(0x2a0))](0x0)),_0x3b7d06(this,'status$',this[_0x41b118(0x2d7)][_0x41b118(0x39b)]()),_0x3b7d06(this,_0x41b118(0x349),!0x1),_0x3b7d06(this,_0x41b118(0x301)),_0x3b7d06(this,_0x41b118(0xc3)),_0x3b7d06(this,_0x41b118(0x241)),_0x3b7d06(this,_0x41b118(0x1d4),0x0),(this[_0x41b118(0x306)]=_0x46c61e,this[_0x41b118(0x1fc)]=_0x2ad5d0,this[_0x41b118(0x1af)]=_0x5bc388,this['_logService']=_0x47c985,this[_0x41b118(0x26f)]=_0x203e40,this[_0x41b118(0x107)]=_0x4d82ff);}get[_0x474fca(0x474)](){const _0x2fcd59=_0x474fca;return this[_0x2fcd59(0x35f)][_0x2fcd59(0x2ff)]();}[_0x474fca(0x19a)](){const _0xfb6af6=_0x474fca;super[_0xfb6af6(0x19a)](),this[_0xfb6af6(0x181)][_0xfb6af6(0x173)](_0x43cae9=>_0x43cae9['dispose']()),this[_0xfb6af6(0x181)]['clear'](),this[_0xfb6af6(0x2d7)][_0xfb6af6(0x25f)]();}async[_0x474fca(0x21a)](_0x2fc079){const _0x1348e7=_0x474fca;if(this['_sessions'][_0x1348e7(0x400)](_0x2fc079))return this[_0x1348e7(0x181)]['get'](_0x2fc079);this[_0x1348e7(0x381)]();const _0xa0ca3a=this[_0x1348e7(0x306)][_0x1348e7(0x192)](_0x48d167['CollaborationSession'],_0x2fc079,this[_0x1348e7(0x35f)][_0x1348e7(0x39b)]());return this[_0x1348e7(0x181)][_0x1348e7(0xbe)](_0x2fc079,_0xa0ca3a),_0xa0ca3a;}['closeSession'](_0x157e56){const _0x334bbb=_0x474fca;var _0x1973da;const _0x54dd15=this[_0x334bbb(0x181)][_0x334bbb(0x261)](_0x157e56);_0x54dd15&&(this['_sessions']['delete'](_0x157e56),_0x54dd15[_0x334bbb(0x33d)]()),this[_0x334bbb(0x181)][_0x334bbb(0xb8)]||(_0x1973da=this[_0x334bbb(0x474)])==null||_0x1973da[_0x334bbb(0x33d)]();}[_0x474fca(0x3f6)](){const _0x3d70a4=_0x474fca;var _0x1bfaa6;const _0x1d80dc=(_0x1bfaa6=this[_0x3d70a4(0x26f)][_0x3d70a4(0x3a2)](_0x5058a4))!=null?_0x1bfaa6:_0x485035;return this[_0x3d70a4(0x107)][_0x3d70a4(0x39c)](_0x1d80dc);}['_tryEnsureSocket'](){const _0x27fea2=_0x474fca;try{const _0x3e6d35=this[_0x27fea2(0x3f6)]();if(_0x3e6d35){const _0x174470=_0x3e6d35['send'];_0x3e6d35[_0x27fea2(0x31a)]=_0x150aec=>(this[_0x27fea2(0x108)](),_0x174470[_0x27fea2(0x38c)](_0x3e6d35,[_0x150aec])),_0x3e6d35[_0x27fea2(0x32c)]['subscribe'](_0x27fc17=>this[_0x27fea2(0x271)](_0x3e6d35,_0x27fc17)),_0x3e6d35[_0x27fea2(0x20c)][_0x27fea2(0x195)](_0x5d8ab5[_0x27fea2(0x3a3)](0x1))['subscribe'](_0x5a3a59=>this['_logService'][_0x27fea2(0xf5)](_0x27fea2(0x36e),_0x5a3a59)),_0x3e6d35['open$'][_0x27fea2(0x195)](_0x5d8ab5['take'](0x1))[_0x27fea2(0x2e1)](()=>{this['_onConnectionOpen'](_0x3e6d35);}),_0x3e6d35[_0x27fea2(0x1be)][_0x27fea2(0x195)](_0x5d8ab5['take'](0x1))[_0x27fea2(0x2e1)](_0x467be9=>{const _0x2263de=_0x27fea2;this['_logService']['debug'](_0x2263de(0xa8),_0x2263de(0xe0),_0x467be9),this[_0x2263de(0x3b0)]();});}}catch(_0x20edf9){this[_0x27fea2(0x1ac)][_0x27fea2(0xf5)](_0x20edf9),this[_0x27fea2(0x3b0)]();}}[_0x474fca(0x339)](_0x1d0e25){const _0x20fa37=_0x474fca;this[_0x20fa37(0x1ac)][_0x20fa37(0x19c)](_0x20fa37(0xa8),_0x20fa37(0x2f2)),_0x1d0e25[_0x20fa37(0x31a)]({'cmd':_0x45623e[_0x20fa37(0x47d)]}),this[_0x20fa37(0x108)]();}[_0x474fca(0x3b0)](){const _0x4884f3=_0x474fca;var _0x3eb120;this[_0x4884f3(0x2d7)][_0x4884f3(0x452)](0x2),this['_socket$'][_0x4884f3(0x452)](null),this[_0x4884f3(0xfa)](),this['_clearHeartbeatTimer'](),this[_0x4884f3(0x349)]=!0x1,this['_retryCount']<((_0x3eb120=this[_0x4884f3(0x26f)][_0x4884f3(0x3a2)](_0x3d7c60))!=null?_0x3eb120:0x3)?(this[_0x4884f3(0x454)](this[_0x4884f3(0x1d4)]),this[_0x4884f3(0x1d4)]+=0x1):this[_0x4884f3(0x1af)][_0x4884f3(0xac)]({'type':_0x59ab28[_0x4884f3(0x336)][_0x4884f3(0x1ea)],'content':this['_localeService']['t'](_0x4884f3(0x1e2))});}[_0x474fca(0x454)](_0x1638a5){const _0x208082=_0x474fca;var _0x52deb2;const _0x1d8191=((_0x52deb2=this[_0x208082(0x26f)][_0x208082(0x3a2)](_0x32b076))!=null?_0x52deb2:0x4e20)*0x2**_0x1638a5;this[_0x208082(0x1af)][_0x208082(0xac)]({'type':_0x59ab28[_0x208082(0x336)][_0x208082(0x19f)],'content':this[_0x208082(0x1fc)]['t'](_0x208082(0x183))}),this[_0x208082(0x241)]=setTimeout(()=>{const _0x3affa5=_0x208082;this[_0x3affa5(0x381)](),clearTimeout(this['_retryConnectingTimer']),this[_0x3affa5(0x241)]=null;},_0x1d8191);}[_0x474fca(0x108)](){const _0x53dfe3=_0x474fca;var _0x181af2;this[_0x53dfe3(0x15f)](),this[_0x53dfe3(0x301)]=setTimeout(()=>this[_0x53dfe3(0x2aa)](),(_0x181af2=this['_configService'][_0x53dfe3(0x3a2)](_0x5a327e))!=null?_0x181af2:0x7530);}[_0x474fca(0x2aa)](){const _0x52bfde=_0x474fca;this[_0x52bfde(0x474)][_0x52bfde(0x31a)]({'cmd':_0x45623e[_0x52bfde(0x476)]}),this['_waitForHeartbeatResponse']();}[_0x474fca(0x3eb)](){const _0x11e81a=_0x474fca;var _0x285186;this[_0x11e81a(0xc3)]=setTimeout(()=>this[_0x11e81a(0x3b0)](),(_0x285186=this[_0x11e81a(0x26f)][_0x11e81a(0x3a2)](_0x240518))!=null?_0x285186:0x2710);}['_onMessage'](_0x22c748,_0x2a4b88){const _0x2df6c9=_0x474fca,{cmd:_0x53c23a}=_0x2a4b88;_0x53c23a===_0x45623e[_0x2df6c9(0x47d)]&&!this[_0x2df6c9(0x349)]&&(_0x22c748[_0x2df6c9(0x26a)]=_0x2a4b88[_0x2df6c9(0xe5)][_0x2df6c9(0x26a)],this[_0x2df6c9(0x35f)][_0x2df6c9(0x452)](_0x22c748),this[_0x2df6c9(0x2d7)]['next'](0x3),this['_socketReady']=!0x0),_0x53c23a===_0x45623e[_0x2df6c9(0x476)]&&this[_0x2df6c9(0xfa)](),this[_0x2df6c9(0x108)]();}['_clearHeartbeatTimer'](){const _0x705b23=_0x474fca;this[_0x705b23(0x301)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x705b23(0x301)]=null);}[_0x474fca(0xfa)](){const _0x51f1f7=_0x474fca;this[_0x51f1f7(0xc3)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x51f1f7(0xc3)]=null);}},_0x48d167['CollaborationSessionService']=_0x5cfe64([_0x1c9a43(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x1c9a43(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x1c9a43(0x2,_0x202279[_0x474fca(0x123)]),_0x1c9a43(0x3,_0x132eb9[_0x474fca(0xad)]),_0x1c9a43(0x4,_0x132eb9[_0x474fca(0x46a)]),_0x1c9a43(0x5,_0x2b67b3)],_0x48d167[_0x474fca(0xc6)]);var _0x2d476b=Object[_0x474fca(0x109)],_0x1db2e7=Object[_0x474fca(0xcc)],_0x47ab7f=(_0x423b79,_0x264ebf,_0x4dfdf4,_0x1d1ea7)=>{for(var _0x14640c=_0x1d1ea7>0x1?void 0x0:_0x1d1ea7?_0x1db2e7(_0x264ebf,_0x4dfdf4):_0x264ebf,_0x4290fe=_0x423b79['length']-0x1,_0xa9f091;_0x4290fe>=0x0;_0x4290fe--)(_0xa9f091=_0x423b79[_0x4290fe])&&(_0x14640c=(_0x1d1ea7?_0xa9f091(_0x264ebf,_0x4dfdf4,_0x14640c):_0xa9f091(_0x14640c))||_0x14640c);return _0x1d1ea7&&_0x14640c&&_0x2d476b(_0x264ebf,_0x4dfdf4,_0x14640c),_0x14640c;},_0x27b4b5=(_0x2eab91,_0x1d5aa7)=>(_0x2fae4c,_0x21cee0)=>_0x1d5aa7(_0x2fae4c,_0x21cee0,_0x2eab91);_0x48d167[_0x474fca(0x27d)]=class extends _0x132eb9['Disposable']{constructor(_0xaa04e9,_0xad5f3b,_0x4b3740,_0xdf62e2,_0x2f419a){const _0x1102e2=_0x474fca;super(),_0x3b7d06(this,_0x1102e2(0x1d9),new Map()),_0x3b7d06(this,'_saveTaskMap',new Map()),_0x3b7d06(this,_0x1102e2(0x1e1),!0x1),(this[_0x1102e2(0x26f)]=_0xaa04e9,this[_0x1102e2(0x223)]=_0xad5f3b,this[_0x1102e2(0x394)]=_0x4b3740,this['_localeService']=_0xdf62e2,this[_0x1102e2(0x257)]=_0x2f419a,this[_0x1102e2(0xa1)]());}['disableLocalCache'](){const _0x4b59a5=_0x474fca;this[_0x4b59a5(0x1e1)]=!0x0;}[_0x474fca(0x3c6)](){this['_disabled']=!0x1;}[_0x474fca(0x19a)](){const _0x3844cf=_0x474fca;this['exhaustSavingTask']()['then'](()=>super[_0x3844cf(0x19a)]());}async[_0x474fca(0xee)](_0x40fa4e){const _0x52b6b1=_0x474fca;return this['_disabled']?null:this[_0x52b6b1(0x223)][_0x52b6b1(0x273)](_0x2c212b(_0x40fa4e));}async[_0x474fca(0x423)](_0xe766fd,_0x385753){const _0x2e796e=_0x474fca;return!!this[_0x2e796e(0x223)][_0x2e796e(0x151)](_0xe766fd,_0x385753);}['updateOfflineData'](_0x16202d,_0x976ff9,_0x11f802,_0x3a83fb){const _0x3f4651=_0x474fca,_0x2eccb2=this[_0x3f4651(0x257)][_0x3f4651(0x3c8)](_0x16202d);this[_0x3f4651(0x1d9)][_0x3f4651(0xbe)](_0x16202d,{'unitID':_0x16202d,'type':_0x976ff9,'awaitingChangeset':_0x11f802,'mutations':_0x3a83fb,'rev':_0x2eccb2}),this['_saveTaskMap'][_0x3f4651(0x400)](_0x16202d)||this[_0x3f4651(0xb4)](_0x16202d);}[_0x474fca(0xb4)](_0x123c17){const _0x461882=_0x474fca,_0xf70539=this[_0x461882(0x2c6)]();_0xf70539===0x0?this[_0x461882(0x440)](_0x123c17):this[_0x461882(0x3f5)][_0x461882(0xbe)](_0x123c17,setTimeout(()=>this[_0x461882(0x440)](_0x123c17),_0xf70539));}['_getSaveTimeout'](){const _0x1d9712=_0x474fca;var _0x3e5c22;return(_0x3e5c22=this[_0x1d9712(0x26f)]['getConfig'](_0x2c2734))!=null?_0x3e5c22:0x3e8;}[_0x474fca(0x440)](_0x377295){const _0x1be728=_0x474fca,_0x3f8bcc=this[_0x1be728(0x3f5)]['get'](_0x377295);return _0x3f8bcc!==void 0x0&&window[_0x1be728(0x293)](_0x3f8bcc),this['_localStorageService']['setItem'](_0x2c212b(_0x377295),this[_0x1be728(0x1d9)][_0x1be728(0x261)](_0x377295))[_0x1be728(0x321)](()=>this['_saveTaskMap']['delete'](_0x377295));}async['exhaustSavingTask'](){const _0xdb2e5=_0x474fca,_0x274bd9=[];this['_saveTaskMap']['forEach']((_0x8044ed,_0x1dd930)=>{const _0xc7a34e=_0x2d55;window[_0xc7a34e(0x293)](_0x8044ed),_0x274bd9[_0xc7a34e(0x277)](this[_0xc7a34e(0x440)](_0x1dd930)[_0xc7a34e(0x321)](()=>{const _0x5e170=_0xc7a34e;this[_0x5e170(0x3f5)][_0x5e170(0x224)](_0x1dd930);}));}),await Promise[_0xdb2e5(0x3b7)](_0x274bd9);}[_0x474fca(0xa1)](){const _0x48bf1f=_0x474fca;this[_0x48bf1f(0x26e)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1573e7=_0x48bf1f;if(this[_0x1573e7(0x3f5)][_0x1573e7(0xb8)])return this[_0x1573e7(0x1fc)]['t'](_0x1573e7(0x193));}));}},_0x48d167[_0x474fca(0x27d)]=_0x47ab7f([_0x27b4b5(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x27b4b5(0x1,_0x132eb9[_0x474fca(0xdc)]),_0x27b4b5(0x2,_0x202279[_0x474fca(0x147)]),_0x27b4b5(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x27b4b5(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)]))],_0x48d167[_0x474fca(0x27d)]);function _0x2c212b(_0x573a1e){const _0x430598=_0x474fca;return _0x430598(0x331)+_0x573a1e;}const _0x54135c=_0x132eb9['createIdentifier'](_0x474fca(0x38d));var _0x261697=(_0x3e39de=>(_0x3e39de[_0x3e39de[_0x474fca(0x217)]=0x0]=_0x474fca(0x217),_0x3e39de[_0x3e39de['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x3e39de))(_0x261697||{});const _0x4601b7=0x7530,_0x475fe4=_0x474fca(0x357);class _0x5204d1 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x549fd8=_0x474fca;super(),_0x3b7d06(this,_0x549fd8(0x239),_0x132eb9['Tools'][_0x549fd8(0x2de)]()),_0x3b7d06(this,'_selfUnitIDs',new Set()),_0x3b7d06(this,'_unitOnClients',new Map()),_0x3b7d06(this,_0x549fd8(0x23d),null),_0x3b7d06(this,_0x549fd8(0x42b),new Map()),_0x3b7d06(this,_0x549fd8(0x1ab),new Map()),this[_0x549fd8(0x1d5)]();}['dispose'](){const _0x2df9f3=_0x474fca;super[_0x2df9f3(0x19a)](),this[_0x2df9f3(0x42b)][_0x2df9f3(0x173)]((_0x5bb25f,_0x550c90)=>this[_0x2df9f3(0xa6)](_0x550c90)),this[_0x2df9f3(0x23d)]&&window['clearInterval'](this[_0x2df9f3(0x23d)]);}[_0x474fca(0x3e8)](_0x5f8a61){const _0x5a3580=_0x474fca;return this[_0x5a3580(0x3b6)](_0x5f8a61)['pipe'](_0x3639ee[_0x5a3580(0x34b)]());}[_0x474fca(0x40f)](_0x5df85f){const _0x4e020c=_0x474fca;this[_0x4e020c(0x3c9)][_0x4e020c(0xb8)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4e020c(0x3c9)][_0x4e020c(0x41b)](_0x5df85f),this[_0x4e020c(0xbd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5df85f],'isForwarded':!0x1});}['disposeUnit'](_0x137a4e){const _0x134c93=_0x474fca;this[_0x134c93(0x3c9)][_0x134c93(0x224)](_0x137a4e),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x134c93(0x418)](this['_heartbeatTimer']);}[_0x474fca(0x1d5)](){const _0x42aa3b=_0x474fca;this[_0x42aa3b(0x26e)](_0x132eb9[_0x42aa3b(0x2c0)](_0x3639ee['fromEvent'](window,_0x42aa3b(0x130))[_0x42aa3b(0x2e1)](_0x44e30d=>{const _0x15e6e5=_0x42aa3b;if(_0x44e30d['key']!==_0x475fe4||!_0x44e30d[_0x15e6e5(0x148)])return;const _0x2145a7=JSON[_0x15e6e5(0x2bd)](_0x44e30d[_0x15e6e5(0x148)]);this[_0x15e6e5(0x2fc)](_0x2145a7);}))),window[_0x42aa3b(0x3d3)](_0x42aa3b(0x174),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x42aa3b(0x222)](this[_0x42aa3b(0x3c9)])}));}[_0x474fca(0x2fc)](_0x3bcd2a){const _0xb12d30=_0x474fca;switch(_0x3bcd2a[_0xb12d30(0x11a)]){case 0x0:this[_0xb12d30(0x244)](_0x3bcd2a);break;case 0x1:this[_0xb12d30(0x235)](_0x3bcd2a);break;case 0x2:this[_0xb12d30(0x3e0)](_0x3bcd2a);break;}}[_0x474fca(0x244)](_0x1fc6d3){const _0x3991bb=_0x474fca,{unitIDs:_0x388922,memberID:_0x2e8254,isForwarded:_0x3f5e23}=_0x1fc6d3;_0x388922[_0x3991bb(0x173)](_0x13041a=>{const _0x9f90e5=_0x3991bb;if(!_0x3f5e23&&this[_0x9f90e5(0x3b1)][_0x9f90e5(0x400)](_0x13041a)&&this['_ensureSubject'](_0x13041a)[_0x9f90e5(0x452)](0x1),!this['_unitOnClients'][_0x9f90e5(0x400)](_0x13041a)||!this[_0x9f90e5(0x3b1)]['get'](_0x13041a)[_0x9f90e5(0x400)](_0x2e8254)){const _0x64a591=this[_0x9f90e5(0x3b1)][_0x9f90e5(0x261)](_0x13041a)||new Set();_0x64a591[_0x9f90e5(0x41b)](_0x2e8254),this[_0x9f90e5(0x3b1)]['set'](_0x13041a,_0x64a591),this['_scheduleClearOtherTimer'](_0x2e8254);}}),_0x3f5e23||this[_0x3991bb(0xbd)]({'type':0x0,'memberID':this[_0x3991bb(0x239)],'unitIDs':[...this[_0x3991bb(0x3c9)]],'isForwarded':!0x0});}[_0x474fca(0x393)](_0xe97691){const _0x1e5fbf=_0x474fca;this['_removeClearOtherTimer'](_0xe97691);const _0x15f7b6=window[_0x1e5fbf(0x10e)](()=>{const _0x2700a6=_0x1e5fbf;this['_unitOnClients'][_0x2700a6(0x173)](_0x1e77a0=>{const _0x396e2=_0x2700a6;_0x1e77a0[_0x396e2(0x224)](_0xe97691);});},_0x4601b7*0x2);this[_0x1e5fbf(0x42b)][_0x1e5fbf(0xbe)](_0xe97691,_0x15f7b6);}['_removeClearOtherTimer'](_0x313d76){const _0x267395=_0x474fca;if(this['_clearOtherTimers'][_0x267395(0x400)](_0x313d76)){const _0x13de4c=this[_0x267395(0x42b)]['get'](_0x313d76);_0x13de4c&&window['clearTimeout'](_0x13de4c),this[_0x267395(0x42b)][_0x267395(0xbe)](_0x313d76,null);}}['_handleLeaveEvent'](_0x287769){const _0x34b533=_0x474fca,{memberID:_0x2e68a5,unitIDs:_0x34d65c}=_0x287769;_0x34d65c[_0x34b533(0x173)](_0x41bde3=>{const _0x52e713=_0x34b533;var _0x641e6d;const _0x557829=this[_0x52e713(0x3b1)][_0x52e713(0x261)](_0x41bde3);_0x557829&&(_0x557829[_0x52e713(0x224)](_0x2e68a5),(_0x641e6d=this['_ensureSubject'](_0x41bde3))==null||_0x641e6d[_0x52e713(0x452)](_0x557829[_0x52e713(0xb8)]===0x0?0x0:0x1));}),this[_0x34b533(0xa6)](_0x2e68a5);}[_0x474fca(0x3e0)](_0x2aa51d){const _0x154619=_0x474fca;this[_0x154619(0x393)](_0x2aa51d['memberID']);}[_0x474fca(0xbd)](_0xb89691){const _0x55ce17=_0x474fca;localStorage['setItem'](_0x475fe4,JSON[_0x55ce17(0x233)](_0xb89691));}['_scheduleHeartbeat'](){const _0x3a8237=_0x474fca;this[_0x3a8237(0x23d)]=window['setInterval'](()=>{const _0x8cf7fc=_0x3a8237;this[_0x8cf7fc(0xbd)]({'type':0x2,'memberID':this['_id']});},_0x4601b7);}[_0x474fca(0x3b6)](_0x2f1399){const _0x5310ad=_0x474fca;return this['_unitStatus']['has'](_0x2f1399)||this[_0x5310ad(0x1ab)][_0x5310ad(0xbe)](_0x2f1399,new _0x3639ee[(_0x5310ad(0x2a0))](0x0)),this[_0x5310ad(0x1ab)]['get'](_0x2f1399);}}var _0x3ada99=Object['defineProperty'],_0x5f0df5=Object[_0x474fca(0xcc)],_0x14ffb1=(_0x2a00a3,_0x278cbb,_0x326548,_0x30fbda)=>{const _0x142422=_0x474fca;for(var _0xd6046a=_0x30fbda>0x1?void 0x0:_0x30fbda?_0x5f0df5(_0x278cbb,_0x326548):_0x278cbb,_0x1fb5fe=_0x2a00a3[_0x142422(0x2b9)]-0x1,_0x271f53;_0x1fb5fe>=0x0;_0x1fb5fe--)(_0x271f53=_0x2a00a3[_0x1fb5fe])&&(_0xd6046a=(_0x30fbda?_0x271f53(_0x278cbb,_0x326548,_0xd6046a):_0x271f53(_0xd6046a))||_0xd6046a);return _0x30fbda&&_0xd6046a&&_0x3ada99(_0x278cbb,_0x326548,_0xd6046a),_0xd6046a;},_0x3e41c4=(_0x5609ff,_0x4670b7)=>(_0x4add3f,_0x140f1c)=>_0x4670b7(_0x4add3f,_0x140f1c,_0x5609ff);let _0x5e5e64=class{constructor(_0xd998b,_0x5b3462){const _0x6010ba=_0x474fca;this[_0x6010ba(0x306)]=_0xd998b,this['_transformService']=_0x5b3462;}[_0x474fca(0x347)](_0x1c1771){const _0x1b2088=_0x474fca;this[_0x1b2088(0x162)](_0x1c1771),this[_0x1b2088(0xbb)](_0x1c1771);}[_0x474fca(0x396)](_0x5024cb){const _0x2fc24e=_0x474fca,_0x29f2f5=this[_0x2fc24e(0x306)][_0x2fc24e(0x261)](_0x4b287a[_0x2fc24e(0x234)]),{redoCache:_0x4d8616}=_0x29f2f5[_0x2fc24e(0x2f7)]();if(_0x4d8616['length']===0x0)return _0x5024cb;let _0x298b22=_0x132eb9[_0x2fc24e(0x44f)][_0x2fc24e(0x414)](_0x5024cb[_0x2fc24e(0x256)][0x0]);for(let _0x4b7bf7=0x0;_0x4b7bf7<_0x4d8616[_0x2fc24e(0x2b9)];_0x4b7bf7++){const _0x15b7c1={'id':'doc.mutation.rich-text-editing','params':{..._0x4d8616[_0x4b7bf7]}},_0xe7014c=this[_0x2fc24e(0x190)][_0x2fc24e(0x35b)](_0x298b22,_0x15b7c1,!0x1);if(_0x1524d['isTransformMutationFailure'](_0xe7014c))throw _0xe7014c[_0x2fc24e(0xf5)];_0x298b22=_0xe7014c[_0x2fc24e(0x11d)];}return{..._0x132eb9[_0x2fc24e(0x44f)][_0x2fc24e(0x414)](_0x5024cb),'mutations':[_0x298b22]};}[_0x474fca(0x162)](_0xfb2f3b){const _0x5dfdea=_0x474fca,_0x40be2f=this[_0x5dfdea(0x306)][_0x5dfdea(0x261)](_0x4b287a[_0x5dfdea(0x234)]),{undoCache:_0xd65d25,redoCache:_0x4e225f}=_0x40be2f[_0x5dfdea(0x2f7)]();if(_0xd65d25[_0x5dfdea(0x2b9)]===0x0||_0x4e225f['length']===0x0)return;const _0x263e72=[],_0xa90d8f=[];let _0x59dadd=_0x132eb9[_0x5dfdea(0x44f)]['deepClone'](_0xfb2f3b['mutations'][0x0]),_0x5fd8a7=_0x132eb9['Tools'][_0x5dfdea(0x414)](_0xfb2f3b[_0x5dfdea(0x256)][0x0]);for(let _0xe2135c=_0xd65d25[_0x5dfdea(0x2b9)]-0x1;_0xe2135c>=0x0;_0xe2135c--){const _0x2b9abb={'id':_0x5dfdea(0x21b),'params':{..._0xd65d25[_0xe2135c]}},_0x2d872c={'id':_0x5dfdea(0x21b),'params':{..._0x4e225f[_0xe2135c]}},_0x2dbceb=this[_0x5dfdea(0x190)][_0x5dfdea(0x35b)](_0x59dadd,_0x2b9abb,!0x1),_0x38d005=this[_0x5dfdea(0x190)]['transformMutation'](_0x5fd8a7,_0x2d872c,!0x1);if(_0x1524d[_0x5dfdea(0x40c)](_0x2dbceb))throw _0x2dbceb['error'];if(_0x1524d[_0x5dfdea(0x40c)](_0x38d005))throw _0x38d005[_0x5dfdea(0xf5)];_0x263e72[_0x5dfdea(0x3f2)](_0x2dbceb[_0x5dfdea(0x43b)][_0x5dfdea(0xe6)]),_0xa90d8f[_0x5dfdea(0x3f2)](_0x38d005[_0x5dfdea(0x43b)]['params']),_0x59dadd=_0x2dbceb['m1Prime'],_0x5fd8a7=_0x38d005[_0x5dfdea(0x11d)];}_0x40be2f[_0x5dfdea(0x252)]({'undoCache':_0x263e72,'redoCache':_0xa90d8f});}[_0x474fca(0xbb)](_0xa0b13){const _0x65af6a=_0x474fca,_0x145384=this[_0x65af6a(0x306)][_0x65af6a(0x261)](_0x4b287a[_0x65af6a(0x234)]),_0x3726f6=_0x145384[_0x65af6a(0x324)]();if(_0x3726f6==null)return;const _0x2856bf=[{'id':_0x65af6a(0x21b),'params':{'unitId':_0xa0b13['unitID'],'actions':null,'textRanges':[_0x3726f6]}}],_0x2e9268=this[_0x65af6a(0x190)][_0x65af6a(0x1a1)](_0xa0b13,_0x2856bf);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x2e9268))throw _0x2e9268[_0x65af6a(0xf5)];const _0x30e3b8=_0x2e9268[_0x65af6a(0x43b)][0x0][_0x65af6a(0xe6)][_0x65af6a(0x34e)];Array['isArray'](_0x30e3b8)&&_0x30e3b8[_0x65af6a(0x2b9)]&&_0x145384[_0x65af6a(0x446)](_0x30e3b8[0x0]);}};_0x5e5e64=_0x14ffb1([_0x3e41c4(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x3e41c4(0x1,_0x1524d[_0x474fca(0x439)])],_0x5e5e64);var _0x14b01e=Object['defineProperty'],_0x1aec1a=Object[_0x474fca(0xcc)],_0x1d3064=(_0x5822b6,_0x599bb3,_0x58ecd1,_0x30b75d)=>{const _0x405860=_0x474fca;for(var _0x30c83f=_0x30b75d>0x1?void 0x0:_0x30b75d?_0x1aec1a(_0x599bb3,_0x58ecd1):_0x599bb3,_0x3cf804=_0x5822b6[_0x405860(0x2b9)]-0x1,_0x5063af;_0x3cf804>=0x0;_0x3cf804--)(_0x5063af=_0x5822b6[_0x3cf804])&&(_0x30c83f=(_0x30b75d?_0x5063af(_0x599bb3,_0x58ecd1,_0x30c83f):_0x5063af(_0x30c83f))||_0x30c83f);return _0x30b75d&&_0x30c83f&&_0x14b01e(_0x599bb3,_0x58ecd1,_0x30c83f),_0x30c83f;},_0x95102e=(_0x42c056,_0x1ddb93)=>(_0x2dc6e5,_0x56f1e)=>_0x1ddb93(_0x2dc6e5,_0x56f1e,_0x42c056);let _0x49cc76=class{constructor(_0x58fe76,_0x1280ec){const _0x12fd62=_0x474fca;this[_0x12fd62(0x306)]=_0x58fe76,this[_0x12fd62(0x190)]=_0x1280ec;}[_0x474fca(0x31d)](_0x4c754c){const _0x1533c6=_0x474fca;var _0x11e81e;const _0x4d6081=this[_0x1533c6(0x306)][_0x1533c6(0x261)](_0x4b287a[_0x1533c6(0x41a)]),_0x53e679=(_0x11e81e=_0x4d6081[_0x1533c6(0x196)]())!=null?_0x11e81e:[],_0x27f735=_0x53e679==null?void 0x0:_0x53e679[_0x1533c6(0x18f)](_0x4b287a[_0x1533c6(0x40e)]);if(_0x27f735[_0x1533c6(0x2b9)]===0x0)return;const _0x44f781=[{'id':_0x1533c6(0x21b),'params':{'unitId':_0x4c754c['unitID'],'actions':null,'textRanges':_0x27f735}}],_0x514a17=this[_0x1533c6(0x190)]['transformMutationsWithChangeset'](_0x4c754c,_0x44f781);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x514a17))throw _0x514a17[_0x1533c6(0xf5)];const _0x569e9a=_0x514a17[_0x1533c6(0x43b)][0x0][_0x1533c6(0xe6)]['textRanges'];Array[_0x1533c6(0x2c8)](_0x569e9a)&&_0x569e9a[_0x1533c6(0x2b9)]&&_0x4d6081[_0x1533c6(0x42e)](_0x569e9a,!0x1);}};_0x49cc76=_0x1d3064([_0x95102e(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x95102e(0x1,_0x1524d[_0x474fca(0x439)])],_0x49cc76);function _0x234122(_0x55ae99){const _0x20310a=_0x474fca;let _0x53c336='';for(const _0x51ae70 of _0x55ae99){const {startOffset:_0x509182,endOffset:_0x2000b8,isActive:_0x2c2e2a}=_0x51ae70;_0x53c336[_0x20310a(0x2b9)]&&(_0x53c336+=','),_0x53c336+=_0x509182+':'+_0x2000b8+':'+(_0x2c2e2a?'1':'0');}return _0x53c336;}function _0x20f365(_0x307163){const _0x159254=_0x474fca,_0x1ea399=_0x307163['split'](','),_0xcea04d=[];for(const _0x4be379 of _0x1ea399){const [_0x3c3196,_0x4e5476,_0x142c06]=_0x4be379[_0x159254(0x14e)](':');_0xcea04d[_0x159254(0x277)]({'startOffset':Number(_0x3c3196),'endOffset':Number(_0x4e5476),'collapsed':_0x3c3196===_0x4e5476,'isActive':_0x142c06==='1'});}return _0xcea04d[_0x159254(0x2f4)](_0x1ee79a=>_0x1ee79a[_0x159254(0x2d1)])||(_0xcea04d[0x0][_0x159254(0x2d1)]=!0x0),_0xcea04d;}class _0x17ef3e extends _0x132eb9['RxDisposable']{constructor(){const _0x256868=_0x474fca;super(...arguments),_0x3b7d06(this,_0x256868(0x2ca),new _0x3639ee[(_0x256868(0x2a0))](null)),_0x3b7d06(this,_0x256868(0xe2),this[_0x256868(0x2ca)]['asObservable']());}[_0x474fca(0x3d0)](_0x314573){const _0xa895e9=_0x474fca,{unitID:_0x41fe89,memberID:_0x5a8a55,textRanges:_0x269fe8}=_0x314573,_0xd38896=_0x234122(_0x269fe8),_0x4ce8d7={'unitID':_0x41fe89,'memberID':_0x5a8a55,'selection':_0xd38896};this[_0xa895e9(0x2ca)][_0xa895e9(0x452)](_0x4ce8d7);}}var _0xbbd442=Object[_0x474fca(0x109)],_0x5ee501=Object[_0x474fca(0xcc)],_0x4bcdf9=(_0x8fafec,_0x5a5866,_0x560b34,_0xff501b)=>{const _0x4e952a=_0x474fca;for(var _0x5423d7=_0xff501b>0x1?void 0x0:_0xff501b?_0x5ee501(_0x5a5866,_0x560b34):_0x5a5866,_0x45ebfb=_0x8fafec[_0x4e952a(0x2b9)]-0x1,_0x4d8776;_0x45ebfb>=0x0;_0x45ebfb--)(_0x4d8776=_0x8fafec[_0x45ebfb])&&(_0x5423d7=(_0xff501b?_0x4d8776(_0x5a5866,_0x560b34,_0x5423d7):_0x4d8776(_0x5423d7))||_0x5423d7);return _0xff501b&&_0x5423d7&&_0xbbd442(_0x5a5866,_0x560b34,_0x5423d7),_0x5423d7;},_0x46533d=(_0x1016e9,_0x1a6f7c)=>(_0x20860c,_0x4df265)=>_0x1a6f7c(_0x20860c,_0x4df265,_0x1016e9);function _0x22d4b2(_0x1d6fea){const _0x5855d3=_0x474fca,{unitID:_0x3a279e,mutations:_0x23d0e0}=_0x1d6fea;return{'unitId':_0x3a279e,'subUnitId':_0x23d0e0[0x0][_0x5855d3(0xe6)][_0x5855d3(0x2ac)]};}let _0x40081e=class{constructor(_0x5bc561,_0x2a7b9f){const _0x2112e3=_0x474fca;this[_0x2112e3(0x306)]=_0x5bc561,this['_transformService']=_0x2a7b9f;}[_0x474fca(0x31d)](_0x3c0228){const _0x47fcec=_0x474fca;var _0x20cc48,_0x2449cc,_0x487ff1;const _0x4f48bd=this[_0x47fcec(0x306)]['get'](_0x21d024[_0x47fcec(0x3d9)]),{unitId:_0x454a09,subUnitId:_0x140109}=_0x22d4b2(_0x3c0228),_0x4fa2a1=_0x4f48bd[_0x47fcec(0x18e)](_0x454a09)['getCurrentSelections']();if(_0x4fa2a1['length']===0x0||!_0x454a09||!_0x140109)return;const _0x45fa31=[{'id':_0x21d024[_0x47fcec(0x303)]['id'],'params':{'unitId':_0x454a09,'subUnitId':_0x140109,'selections':_0x132eb9[_0x47fcec(0x44f)][_0x47fcec(0x414)](_0x4fa2a1)}}],_0x4b7849=this[_0x47fcec(0x190)][_0x47fcec(0x1a1)](_0x3c0228,_0x45fa31);if(!_0x1524d[_0x47fcec(0x286)](_0x4b7849))throw _0x4b7849[_0x47fcec(0xf5)];const _0x590d55=(_0x487ff1=(_0x2449cc=(_0x20cc48=_0x4b7849[_0x47fcec(0x43b)][0x0])==null?void 0x0:_0x20cc48[_0x47fcec(0xe6)])==null?void 0x0:_0x2449cc[_0x47fcec(0x1a5)])!=null?_0x487ff1:_0x4fa2a1;Array[_0x47fcec(0x2c8)](_0x590d55)&&_0x590d55[_0x47fcec(0x2b9)]&&this[_0x47fcec(0x306)][_0x47fcec(0x261)](_0x132eb9[_0x47fcec(0x1f1)])[_0x47fcec(0x15b)](_0x21d024[_0x47fcec(0x303)]['id'],{'unitId':_0x454a09,'subUnitId':_0x140109,'selections':_0x590d55});}};_0x40081e=_0x4bcdf9([_0x46533d(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x46533d(0x1,_0x1524d[_0x474fca(0x439)])],_0x40081e);const _0x137594=new Set([_0x21d024[_0x474fca(0x1e5)]['id']]);function _0x5b005e(_0x11f0fa,_0x349d05,_0xb0d2f7,_0x59d751,_0x41cdcc){const _0x18db3a=_0x474fca;var _0x2d3e41,_0x65a80c,_0xae6617,_0x4efbdf;const _0x3db955=[];for(const _0x2c757a of _0x11f0fa)if(_0x137594[_0x18db3a(0x400)](_0x2c757a['id'])){if(_0x3db955['length']>0x0)break;_0x3db955[_0x18db3a(0x277)](_0x2c757a);break;}else _0x3db955[_0x18db3a(0x277)](_0x2c757a);const _0x3bc700=(_0x65a80c=(_0x2d3e41=_0x41cdcc[_0x18db3a(0x42d)]())==null?void 0x0:_0x2d3e41[_0x18db3a(0x1c6)])!=null?_0x65a80c:_0x18db3a(0x391),_0x167195=(_0x4efbdf=(_0xae6617=_0x41cdcc['getCurrentUser']())==null?void 0x0:_0xae6617[_0x18db3a(0x26a)])!=null?_0x4efbdf:'unknown';return{'changeset':{'unitID':_0x349d05,'type':_0x1524d['mapDocumentTypeToUniverType'](_0xb0d2f7[_0x18db3a(0x2b8)](_0x349d05)),'baseRev':_0x59d751[_0x18db3a(0x3c8)](_0x349d05),'revision':0x0,'userID':_0x3bc700,'memberID':_0x167195,'mutations':_0x3db955},'pendingMutations':_0x11f0fa[_0x18db3a(0x417)](_0x3db955[_0x18db3a(0x2b9)])};}function _0x2e6053(_0x1db28e,_0x11c8cf,_0x2e5519,_0x1bf6e6,_0x16912f){const _0x24f785=_0x474fca;var _0x27d385,_0xf0f473,_0x2feadf,_0x2c2eb6;const _0x5877f4=[_0x1db28e[_0x24f785(0xea)]((_0x280f53,_0x45c97e)=>{const _0x3bd287=_0x24f785;var _0x555282;const {id:_0x437e17}=_0x280f53,{id:_0x1796c2,type:_0x45507a}=_0x45c97e,_0x38a325=(_0x555282=_0x280f53['params'])!=null?_0x555282:{'actions':null},_0x30605f=_0x45c97e['params'];if(_0x437e17&&_0x437e17!==_0x1796c2)throw new Error(_0x3bd287(0x11f)+_0x437e17+'\x20-\x20'+_0x1796c2+'.');return{..._0x280f53,'id':_0x1796c2,'type':_0x45507a,'params':{'unitId':_0x30605f[_0x3bd287(0xa5)],'textRanges':_0x30605f[_0x3bd287(0x34e)],'actions':_0x132eb9['JSONX'][_0x3bd287(0x2cf)](_0x38a325[_0x3bd287(0xaf)],_0x30605f['actions'])}};},{})],_0x61af2d=(_0xf0f473=(_0x27d385=_0x16912f[_0x24f785(0x42d)]())==null?void 0x0:_0x27d385[_0x24f785(0x1c6)])!=null?_0xf0f473:_0x24f785(0x391),_0x30a569=(_0x2c2eb6=(_0x2feadf=_0x16912f[_0x24f785(0x42d)]())==null?void 0x0:_0x2feadf[_0x24f785(0x26a)])!=null?_0x2c2eb6:'unknown';return{'changeset':{'unitID':_0x11c8cf,'type':_0x1524d[_0x24f785(0x2ae)](_0x2e5519[_0x24f785(0x2b8)](_0x11c8cf)),'baseRev':_0x1bf6e6[_0x24f785(0x3c8)](_0x11c8cf),'revision':0x0,'userID':_0x61af2d,'memberID':_0x30a569,'mutations':_0x5877f4},'pendingMutations':[]};}const _0x5f2cd2={'id':_0x21d024['EmptyMutation']['id'],'type':_0x132eb9['CommandType'][_0x474fca(0x14f)],'params':{}};var _0x3e8df9=Object[_0x474fca(0x109)],_0x1acbe1=Object[_0x474fca(0xcc)],_0x5bbf9a=(_0x5edd12,_0x266578,_0x223452,_0x21fd93)=>{for(var _0x5f4eac=_0x21fd93>0x1?void 0x0:_0x21fd93?_0x1acbe1(_0x266578,_0x223452):_0x266578,_0x4b567f=_0x5edd12['length']-0x1,_0x1ca9db;_0x4b567f>=0x0;_0x4b567f--)(_0x1ca9db=_0x5edd12[_0x4b567f])&&(_0x5f4eac=(_0x21fd93?_0x1ca9db(_0x266578,_0x223452,_0x5f4eac):_0x1ca9db(_0x5f4eac))||_0x5f4eac);return _0x21fd93&&_0x5f4eac&&_0x3e8df9(_0x266578,_0x223452,_0x5f4eac),_0x5f4eac;},_0x5c3c15=(_0x5e1cf7,_0x1eb150)=>(_0x5caca1,_0x434198)=>_0x1eb150(_0x5caca1,_0x434198,_0x5e1cf7),_0x3e6ce=(_0x35410c=>(_0x35410c[_0x474fca(0x283)]=_0x474fca(0x137),_0x35410c['SYNCED']=_0x474fca(0xd5),_0x35410c['PENDING']=_0x474fca(0x39e),_0x35410c[_0x474fca(0x3be)]=_0x474fca(0x152),_0x35410c[_0x474fca(0x198)]='awaiting_with_pending',_0x35410c['FETCH_MISS']='fetch_missing',_0x35410c[_0x474fca(0xc5)]=_0x474fca(0xca),_0x35410c[_0x474fca(0x35a)]=_0x474fca(0x2b3),_0x35410c))(_0x3e6ce||{});class _0x13eb33{constructor(_0x37192b,_0x2eb42d,_0x105855,_0x43d92d,_0x11772d,_0x4fbeaf,_0x70b21,_0x220e51,_0x2997a9){const _0x3c013d=_0x474fca;_0x3b7d06(this,'_awaitingChangeset',null),_0x3b7d06(this,'_pendingMutations',[]),(this['unitID']=_0x37192b,this['type']=_0x2eb42d,this[_0x3c013d(0x3f7)]=_0x11772d,this[_0x3c013d(0x1c9)]=_0x4fbeaf,this[_0x3c013d(0x386)]=_0x70b21,this[_0x3c013d(0x257)]=_0x220e51,this[_0x3c013d(0x40b)]=_0x2997a9,this['_awaitingChangeset']=_0x105855,this['_pendingMutations']=_0x43d92d);}[_0x474fca(0x275)](_0x9cfedb){const _0x4d4615=_0x474fca,_0x3e7d32=this[_0x4d4615(0x257)][_0x4d4615(0x3c8)](this[_0x4d4615(0x176)]);return _0x9cfedb[_0x4d4615(0x158)]>_0x3e7d32+0x1?(this[_0x4d4615(0x3f7)][_0x4d4615(0x14a)]({'from':_0x3e7d32,'to':_0x9cfedb[_0x4d4615(0x158)]-0x1}),!0x0):!0x1;}[_0x474fca(0x15d)](_0x3cea2f){const _0x3f73b6=_0x474fca;this[_0x3f73b6(0x386)][_0x3f73b6(0x32a)](this[_0x3f73b6(0x176)],_0x3cea2f);}['_transformSelections'](_0x5d4f93){const _0x927c26=_0x474fca;var _0xe502d9,_0x4fc856;(_0x4fc856=(_0xe502d9=this[_0x927c26(0x3f7)])[_0x927c26(0x2f1)])==null||_0x4fc856[_0x927c26(0x1c7)](_0xe502d9,_0x5d4f93);}['_transformIMECache'](_0x5501f5){const _0x2a2c56=_0x474fca;var _0x408924,_0x479cab;return(_0x479cab=(_0x408924=this[_0x2a2c56(0x3f7)])['onTransformIME'])==null?void 0x0:_0x479cab[_0x2a2c56(0x1c7)](_0x408924,_0x5501f5);}[_0x474fca(0x12c)](_0x417c99){const _0x246dad=_0x474fca;var _0x3e996a,_0x5e3c44,_0x42278e;return(_0x42278e=(_0x5e3c44=(_0x3e996a=this['_handler'])[_0x246dad(0x313)])==null?void 0x0:_0x5e3c44[_0x246dad(0x1c7)](_0x3e996a,_0x417c99))!=null?_0x42278e:_0x417c99;}[_0x474fca(0x444)](_0x586c5f){const _0x395f4c=_0x474fca;var _0xd8a386,_0x2e3808;if(this['type']===_0x2f5f8c[_0x395f4c(0x14d)]){const {unitID:_0x20c347,mutations:_0x738cc2,memberID:_0x3bfb61}=_0x586c5f,_0xaaa7bd=_0x738cc2[0x0]['params']['textRanges'];Array['isArray'](_0xaaa7bd)&&_0xaaa7bd[_0x395f4c(0x2b9)]>0x0&&((_0x2e3808=(_0xd8a386=this[_0x395f4c(0x3f7)])['onSyncEditingCollabCursor'])==null||_0x2e3808[_0x395f4c(0x1c7)](_0xd8a386,{'unitID':_0x20c347,'memberID':_0x3bfb61,'textRanges':_0xaaa7bd}));}}['_updateLocalCache'](){const _0x5c4544=_0x474fca;this[_0x5c4544(0x40b)]['updateOfflineData'](this[_0x5c4544(0x176)],this[_0x5c4544(0x11a)],this[_0x5c4544(0x2dc)],this['_pendingMutations']);}[_0x474fca(0x1d6)](){const _0x59e47f=_0x474fca;return this['_revisionService'][_0x59e47f(0x3c8)](this['unitID']);}[_0x474fca(0x127)](){const _0x32cf0c=_0x474fca;this['_revisionService'][_0x32cf0c(0x2cc)](this[_0x32cf0c(0x176)]);}[_0x474fca(0xf1)](_0x46319a){const _0x52867e=_0x474fca;var _0x24ddb5;const _0x592c9f=this['_transformRemoteChangesetByIMECache'](_0x46319a),_0x39c008=_0x132eb9[_0x52867e(0x2e0)](_0x592c9f[_0x52867e(0x256)],this[_0x52867e(0x1c9)],{'fromCollab':!0x0});if(!_0x39c008[_0x52867e(0x243)])throw _0x39c008[_0x52867e(0xf5)]instanceof Error?_0x39c008[_0x52867e(0xf5)]:new Error((_0x24ddb5=_0x39c008[_0x52867e(0xf5)])!=null?_0x24ddb5:_0x52867e(0x38e));this['_transformIMECache'](_0x592c9f),this[_0x52867e(0x15d)](_0x46319a),this['_transformSelections'](_0x592c9f),this[_0x52867e(0x444)](_0x592c9f),this[_0x52867e(0x127)]();}}let _0x35b41b=class extends _0x13eb33{constructor(_0x884a7e,_0x59c432,_0x3b0f85,_0x4e27ee,_0x19fc33,_0x28c34b,_0x2a76de,_0xfa6b4f,_0x42c37a,_0x4076b0){const _0x5e2523=_0x474fca;super(_0x884a7e,_0x59c432,null,[],_0x3b0f85,_0xfa6b4f,_0x2a76de,_0x4e27ee,_0x19fc33),_0x3b7d06(this,_0x5e2523(0x332),_0x5e2523(0xd5)),(this['_injector']=_0x28c34b,this[_0x5e2523(0x1ac)]=_0x42c37a,this[_0x5e2523(0x190)]=_0x4076b0);}[_0x474fca(0x1c2)](_0x36c556){const _0x4943c4=_0x474fca,_0x4a3db9=this[_0x4943c4(0x306)][_0x4943c4(0x192)](_0x4aa012,this['unitID'],this['type'],[_0x36c556],this[_0x4943c4(0x3f7)]);return _0x4a3db9['_schedule'](),_0x4a3db9[_0x4943c4(0x237)](),_0x4a3db9;}[_0x474fca(0x124)](_0x2d7931){const _0x6bd58f=_0x474fca;if(this[_0x6bd58f(0x275)](_0x2d7931))return this['_injector'][_0x6bd58f(0x192)](_0x3dbf10,this[_0x6bd58f(0x176)],this[_0x6bd58f(0x11a)],null,[],null,[_0x2d7931],this[_0x6bd58f(0x3f7)]);try{const _0x341e02=this[_0x6bd58f(0x190)]['transformMutationsWithChangeset'](_0x2d7931,[_0x5f2cd2]);if(_0x1524d[_0x6bd58f(0x286)](_0x341e02)){const {c1Prime:_0x168383}=_0x341e02;return this[_0x6bd58f(0xf1)](_0x168383),this;}throw _0x341e02[_0x6bd58f(0xf5)];}catch(_0x317654){return this[_0x6bd58f(0x1ac)][_0x6bd58f(0xf5)](_0x317654),this[_0x6bd58f(0x1f3)](!0x1);}}[_0x474fca(0x1f3)](_0x587de0){const _0x5903b4=_0x474fca;return this[_0x5903b4(0x306)][_0x5903b4(0x192)](_0xdece6c,this[_0x5903b4(0x176)],this[_0x5903b4(0x11a)],null,[],this[_0x5903b4(0x3f7)],_0x587de0);}[_0x474fca(0x2c1)](){const _0x49d1f3=_0x474fca;throw new Error(_0x49d1f3(0x221));}['onRemoteRej'](){const _0x4313d0=_0x474fca;throw new Error(_0x4313d0(0x1c5));}[_0x474fca(0x12b)](){const _0x2c0f31=_0x474fca;return this[_0x2c0f31(0x306)][_0x2c0f31(0x192)](_0x2939d6,this[_0x2c0f31(0x176)],this['type'],null,[],this['_handler']);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x3b3e7c=_0x474fca;throw new Error(_0x3b3e7c(0x105));}};_0x35b41b=_0x5bbf9a([_0x5c3c15(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x1524d['RevisionService'])),_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x48d167['LocalCacheService'])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x1524d[_0x474fca(0x439)])],_0x35b41b);let _0x4aa012=class extends _0x13eb33{constructor(_0x572693,_0x257aeb,_0x25b670,_0x6fb24b,_0x1ae69a,_0xba16cd,_0xb5652b,_0x5905af,_0x29d314,_0x1b58a2,_0x5c7a03,_0x39281c,_0x3113de,_0x290cf4){const _0x48207a=_0x474fca;super(_0x572693,_0x257aeb,null,_0x25b670,_0x6fb24b,_0x1b58a2,_0x290cf4,_0xba16cd,_0xb5652b),_0x3b7d06(this,_0x48207a(0x332),_0x48207a(0x39e)),_0x3b7d06(this,_0x48207a(0x3d2),null),_0x3b7d06(this,_0x48207a(0x338),null),(this[_0x48207a(0x306)]=_0x1ae69a,this[_0x48207a(0x205)]=_0x5905af,this[_0x48207a(0x1ac)]=_0x29d314,this['_configService']=_0x5c7a03,this[_0x48207a(0x190)]=_0x39281c,this[_0x48207a(0x1bd)]=_0x3113de);}[_0x474fca(0x1c2)](_0x3f430c){const _0x1614e8=_0x474fca;return this['_pendingMutations'][_0x1614e8(0x277)](_0x3f430c),this['_updateLocalCache'](),this;}[_0x474fca(0x124)](_0x33082d){const _0x5d4a6b=_0x474fca;if(this[_0x5d4a6b(0x275)](_0x33082d))return this[_0x5d4a6b(0x285)](),this[_0x5d4a6b(0x306)]['createInstance'](_0x3dbf10,this[_0x5d4a6b(0x176)],this[_0x5d4a6b(0x11a)],null,this['_pendingMutations'],null,[_0x33082d],this[_0x5d4a6b(0x3f7)]);try{const _0x5ae36c=this[_0x5d4a6b(0x190)]['transformMutationsWithChangeset'](_0x33082d,this['_pendingMutations']);if(_0x1524d[_0x5d4a6b(0x286)](_0x5ae36c)){const {c1Prime:_0x591e8d,m2Prime:_0x26c5ab}=_0x5ae36c;this[_0x5d4a6b(0xf1)](_0x591e8d);const _0x6b16f0=this['_injector'][_0x5d4a6b(0x192)](_0x4aa012,this[_0x5d4a6b(0x176)],this[_0x5d4a6b(0x11a)],_0x26c5ab,this[_0x5d4a6b(0x3f7)]);return this[_0x5d4a6b(0x285)](),_0x6b16f0[_0x5d4a6b(0x307)](this[_0x5d4a6b(0x3d2)]?Math[_0x5d4a6b(0xfc)](0x0,new Date()[_0x5d4a6b(0x126)]()-this[_0x5d4a6b(0x3d2)]):this['_getSendChangesetTimeout']()),_0x6b16f0;}throw _0x5ae36c[_0x5d4a6b(0xf5)];}catch(_0x1dad9f){return this[_0x5d4a6b(0x1ac)]['error'](_0x1dad9f),this[_0x5d4a6b(0x1f3)](!0x1);}}['onRemoteAck'](){const _0x310fea=_0x474fca;throw new Error(_0x310fea(0x12f));}['onRemoteRej'](){const _0x124a6b=_0x474fca;throw new Error(_0x124a6b(0x2ba));}[_0x474fca(0x12b)](){const _0x4d44b8=_0x474fca;return this['_clearScheduledTask'](),this[_0x4d44b8(0x306)][_0x4d44b8(0x192)](_0x2939d6,this[_0x4d44b8(0x176)],this[_0x4d44b8(0x11a)],null,this[_0x4d44b8(0x44b)],this[_0x4d44b8(0x3f7)]);}['toggleOnline'](){return this;}[_0x474fca(0x307)](_0x1e58d9){const _0x35a08c=_0x474fca;_0x1e58d9=_0x1e58d9!=null?_0x1e58d9:this['_getSendChangesetTimeout'](),this[_0x35a08c(0x3d2)]=new Date()[_0x35a08c(0x126)](),this[_0x35a08c(0x338)]=setTimeout(()=>{const _0x298dbf=_0x35a08c;this[_0x298dbf(0x285)]();let _0x52a842=null;switch(this[_0x298dbf(0x11a)]){case _0x2f5f8c[_0x298dbf(0x1a0)]:{_0x52a842=_0x5b005e(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this[_0x298dbf(0x205)]);break;}case _0x2f5f8c['UNIVER_DOC']:{this[_0x298dbf(0x44b)][_0x298dbf(0xf3)](_0x2847d9=>_0x2847d9['id']===_0x4b287a['RichTextEditingMutation']['id'])?_0x52a842=_0x2e6053(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this[_0x298dbf(0x205)]):_0x52a842=_0x5b005e(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this['_memberService']);break;}default:throw new Error(_0x298dbf(0x272)+this[_0x298dbf(0x11a)]+_0x298dbf(0x264));}const {changeset:_0x58018c,pendingMutations:_0x3a2829}=_0x52a842;this[_0x298dbf(0x3f7)][_0x298dbf(0x249)](_0x58018c);const _0x2ab5d7=_0x3a2829[_0x298dbf(0x2b9)]?this[_0x298dbf(0x306)][_0x298dbf(0x192)](_0xb8f612,this['unitID'],this[_0x298dbf(0x11a)],_0x58018c,_0x3a2829,this[_0x298dbf(0x3f7)]):this[_0x298dbf(0x306)]['createInstance'](_0x13cd54,this['unitID'],this['type'],_0x58018c,this[_0x298dbf(0x3f7)]);_0x2ab5d7[_0x298dbf(0x237)](),this[_0x298dbf(0x3f7)][_0x298dbf(0x2ea)](this,_0x2ab5d7);},_0x1e58d9);}[_0x474fca(0x368)](){const _0x35bd21=_0x474fca;var _0x37ba98;return(_0x37ba98=this[_0x35bd21(0x26f)]['getConfig'](_0x5036b1))!=null?_0x37ba98:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x834181=_0x474fca;this[_0x834181(0x338)]!=null&&(clearTimeout(this[_0x834181(0x338)]),this[_0x834181(0x338)]=null);}[_0x474fca(0x1f3)](_0x7fb77d){const _0x59388b=_0x474fca;return this['_clearScheduledTask'](),this[_0x59388b(0x306)]['createInstance'](_0xdece6c,this[_0x59388b(0x176)],this[_0x59388b(0x11a)],null,this['_pendingMutations'],this['_handler'],_0x7fb77d);}};_0x4aa012=_0x5bbf9a([_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x6,_0x132eb9['Inject'](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x7,_0x132eb9['Inject'](_0x191a69)),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x46a)]),_0x5c3c15(0xb,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xc,_0x132eb9[_0x474fca(0x22d)]),_0x5c3c15(0xd,_0x132eb9[_0x474fca(0x1e4)])],_0x4aa012);let _0x13cd54=class extends _0x13eb33{constructor(_0x1ac84b,_0x4df3d3,_0x3b6aef,_0x2ee23d,_0x6193ef,_0x418ec5,_0x1f452f,_0x2339bb,_0x536453,_0x33e8e4,_0x9b3da2){const _0x3784c1=_0x474fca;super(_0x1ac84b,_0x4df3d3,_0x3b6aef,[],_0x2ee23d,_0x2339bb,_0x9b3da2,_0x418ec5,_0x1f452f),_0x3b7d06(this,_0x3784c1(0x332),'awaiting'),(this[_0x3784c1(0x306)]=_0x6193ef,this[_0x3784c1(0x1ac)]=_0x536453,this['_transformService']=_0x33e8e4);}['appendMutation'](_0x11f580){const _0x3cc144=_0x474fca,_0x5eaeea=this[_0x3cc144(0x306)][_0x3cc144(0x192)](_0xb8f612,this[_0x3cc144(0x176)],this[_0x3cc144(0x11a)],this['_awaitingChangeset'],[_0x11f580],this[_0x3cc144(0x3f7)]);return _0x5eaeea[_0x3cc144(0x237)](),_0x5eaeea;}['onRemoteChangeset'](_0x208fb6){const _0x4f8b0f=_0x474fca;if(this['_checkMissing'](_0x208fb6))return this['_injector'][_0x4f8b0f(0x192)](_0x3dbf10,this['unitID'],this[_0x4f8b0f(0x11a)],this[_0x4f8b0f(0x2dc)],[],null,[_0x208fb6],this[_0x4f8b0f(0x3f7)]);try{const _0x56c570=this[_0x4f8b0f(0x190)][_0x4f8b0f(0x355)]([_0x208fb6],[this[_0x4f8b0f(0x2dc)]],!0x1);if(_0x1524d[_0x4f8b0f(0x467)](_0x56c570)){const {c1Prime:_0x5cf385,c2Prime:_0x18893b}=_0x56c570;this[_0x4f8b0f(0xf1)](_0x5cf385[0x0]),_0x18893b[0x0][_0x4f8b0f(0x100)]=this['_getCurrentRevision']();const _0x3b8a21=this[_0x4f8b0f(0x306)]['createInstance'](_0x13cd54,this[_0x4f8b0f(0x176)],this[_0x4f8b0f(0x11a)],_0x18893b[0x0],this[_0x4f8b0f(0x3f7)]);return _0x3b8a21[_0x4f8b0f(0x237)](),_0x3b8a21;}return this['_onConflict'](!0x1);}catch(_0x24c7e4){return this[_0x4f8b0f(0x1ac)]['error'](_0x24c7e4),this[_0x4f8b0f(0x1f3)](!0x1);}}[_0x474fca(0x2c1)](_0x13ba25){const _0x54bf2c=_0x474fca,_0x4cc623=this['_revisionService'][_0x54bf2c(0x3c8)](this[_0x54bf2c(0x176)]);if(_0x13ba25[_0x54bf2c(0x158)]<_0x4cc623-0x1)return this;if(this[_0x54bf2c(0x275)](_0x13ba25))return this[_0x54bf2c(0x306)]['createInstance'](_0x3dbf10,this['unitID'],this['type'],null,[],this[_0x54bf2c(0x2dc)],[],this[_0x54bf2c(0x3f7)]);this[_0x54bf2c(0x127)]();const _0x326129=this[_0x54bf2c(0x306)][_0x54bf2c(0x192)](_0x35b41b,this[_0x54bf2c(0x176)],this[_0x54bf2c(0x11a)],this[_0x54bf2c(0x3f7)]);return _0x326129[_0x54bf2c(0x237)](),_0x326129;}[_0x474fca(0x246)](_0x71564e){const _0x14d73f=_0x474fca;return this[_0x14d73f(0x1f3)](!!(_0x71564e!=null&&_0x71564e['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x34f7db=_0x474fca;return this[_0x34f7db(0x306)][_0x34f7db(0x192)](_0x2939d6,this['unitID'],this[_0x34f7db(0x11a)],this[_0x34f7db(0x2dc)],[],this['_handler']);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x5a0da6=_0x474fca;this[_0x5a0da6(0x3f7)]['onSendChangeset'](this[_0x5a0da6(0x2dc)]);}[_0x474fca(0x1f3)](_0x2e19ee){const _0x4a7653=_0x474fca;return this[_0x4a7653(0x306)][_0x4a7653(0x192)](_0xdece6c,this[_0x4a7653(0x176)],this['type'],this[_0x4a7653(0x2dc)],[],this['_handler'],_0x2e19ee);}};_0x13cd54=_0x5bbf9a([_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x1e4)])],_0x13cd54);let _0xb8f612=class extends _0x13eb33{constructor(_0x350aa7,_0x23518c,_0x185a66,_0x5f35a3,_0x471c98,_0x3fb904,_0xe248c6,_0x2b9ed9,_0x469dd3,_0x1372be,_0x5c2609,_0x38a0ca){const _0x2dd55a=_0x474fca;super(_0x350aa7,_0x23518c,_0x185a66,_0x5f35a3,_0x471c98,_0x469dd3,_0x38a0ca,_0xe248c6,_0x2b9ed9),_0x3b7d06(this,'status',_0x2dd55a(0x47a)),(this[_0x2dd55a(0x306)]=_0x3fb904,this[_0x2dd55a(0x1ac)]=_0x1372be,this[_0x2dd55a(0x190)]=_0x5c2609);}[_0x474fca(0x1c2)](_0x137dfe){const _0x85af50=_0x474fca;return this[_0x85af50(0x44b)][_0x85af50(0x277)](_0x137dfe),this;}[_0x474fca(0x124)](_0x111aaf){const _0x768fe3=_0x474fca;if(this[_0x768fe3(0x275)](_0x111aaf))return this['_injector'][_0x768fe3(0x192)](_0x3dbf10,this[_0x768fe3(0x176)],this[_0x768fe3(0x11a)],this[_0x768fe3(0x2dc)],this['_pendingMutations'],null,[_0x111aaf],this['_handler']);try{const _0x1ccabe=this[_0x768fe3(0x190)][_0x768fe3(0x355)]([_0x111aaf],[this[_0x768fe3(0x2dc)]],!0x1);if(_0x1524d[_0x768fe3(0x467)](_0x1ccabe)){const {c1Prime:_0x58e555,c2Prime:_0x4d3dbe}=_0x1ccabe,_0x1b0d8a=this['_transformService']['transformMutationsWithChangeset'](_0x58e555[0x0],this[_0x768fe3(0x44b)]);if(_0x1524d[_0x768fe3(0x286)](_0x1b0d8a)){const {c1Prime:_0x5db8e8,m2Prime:_0x1e78b5}=_0x1b0d8a;return this[_0x768fe3(0xf1)](_0x5db8e8),_0x4d3dbe[0x0]['baseRev']=this[_0x768fe3(0x1d6)](),this[_0x768fe3(0x306)][_0x768fe3(0x192)](_0xb8f612,this['unitID'],this['type'],_0x4d3dbe[0x0],_0x1e78b5,this[_0x768fe3(0x3f7)]);}throw _0x1b0d8a[_0x768fe3(0xf5)];}throw _0x1ccabe['error'];}catch(_0x5e239b){return this[_0x768fe3(0x1ac)]['error'](_0x5e239b),this[_0x768fe3(0x1f3)](!0x1);}}[_0x474fca(0x2c1)](_0x4b31fc){const _0x171b61=_0x474fca;if(this[_0x171b61(0x275)](_0x4b31fc))return this[_0x171b61(0x306)][_0x171b61(0x192)](_0x3dbf10,this[_0x171b61(0x176)],this[_0x171b61(0x11a)],null,this[_0x171b61(0x44b)],this[_0x171b61(0x2dc)],[],this[_0x171b61(0x3f7)]);this[_0x171b61(0x127)]();const _0x1d79ab=this['_injector'][_0x171b61(0x192)](_0x4aa012,this['unitID'],this['type'],this[_0x171b61(0x44b)],this['_handler']);return _0x1d79ab[_0x171b61(0x307)](),_0x1d79ab[_0x171b61(0x237)](),_0x1d79ab;}[_0x474fca(0x246)](_0x405daf){const _0x17d9ce=_0x474fca;return this[_0x17d9ce(0x1f3)](!!(_0x405daf!=null&&_0x405daf['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x5dc24b=_0x474fca;return this[_0x5dc24b(0x306)]['createInstance'](_0x2939d6,this[_0x5dc24b(0x176)],this[_0x5dc24b(0x11a)],this['_awaitingChangeset'],this[_0x5dc24b(0x44b)],this[_0x5dc24b(0x3f7)]);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x456e37=_0x474fca;this[_0x456e37(0x3f7)][_0x456e37(0x249)](this[_0x456e37(0x2dc)]);}[_0x474fca(0x1f3)](_0x486c0a){const _0x5d8ec2=_0x474fca;return this['_injector'][_0x5d8ec2(0x192)](_0xdece6c,this[_0x5d8ec2(0x176)],this[_0x5d8ec2(0x11a)],null,this[_0x5d8ec2(0x44b)],this['_handler'],_0x486c0a);}};_0xb8f612=_0x5bbf9a([_0x5c3c15(0x5,_0x132eb9['Inject'](_0x132eb9['Injector'])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0xa,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xb,_0x132eb9[_0x474fca(0x1e4)])],_0xb8f612);let _0xdece6c=class extends _0x13eb33{constructor(_0x47656d,_0x4895c5,_0x413161,_0x5f02b6,_0x373409,_0x1044f2=!0x1,_0x4b8220,_0x18c5e4,_0x329832,_0x4780e8,_0x53e438,_0x1d5d12,_0x4ce071){const _0x26be22=_0x474fca;super(_0x47656d,_0x4895c5,_0x413161,_0x5f02b6,_0x373409,_0x18c5e4,_0x329832,_0x53e438,_0x4780e8),_0x3b7d06(this,_0x26be22(0x332),_0x26be22(0xca)),(this['_isPermissionRej']=_0x1044f2,this[_0x26be22(0x28c)]=_0x4b8220,this[_0x26be22(0x1fc)]=_0x1d5d12,this[_0x26be22(0x21d)]=_0x4ce071,this['_showConflictNotification'](),this[_0x26be22(0xd4)](),this[_0x26be22(0x18d)]());}[_0x474fca(0x1c2)](){return this;}[_0x474fca(0x124)](){return this;}[_0x474fca(0x2c1)](){return this;}[_0x474fca(0x246)](){return this;}[_0x474fca(0x12b)](){return this;}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0xe535d1=_0x474fca;throw new Error(_0xe535d1(0x1ba));}[_0x474fca(0xd4)](){const _0x585a1c=_0x474fca;this[_0x585a1c(0x40b)][_0x585a1c(0x422)](this['unitID'],this[_0x585a1c(0x11a)],null,[]);}[_0x474fca(0xce)](){const _0xcb0f2b=_0x474fca;this['_isPermissionRej']?this['_notificationService'][_0xcb0f2b(0xac)]({'title':this[_0xcb0f2b(0x1fc)]['t'](_0xcb0f2b(0x228)),'content':this[_0xcb0f2b(0x1fc)]['t']('permission.content'),'type':'error','duration':0x0}):this['_notificationService'][_0xcb0f2b(0xac)]({'title':this[_0xcb0f2b(0x1fc)]['t'](_0xcb0f2b(0x1b2)),'content':this['_localeService']['t'](_0xcb0f2b(0x398)),'type':_0xcb0f2b(0xf5),'duration':0x0});}['_disableEditing'](){const _0x2e5b9e=_0x474fca;this['_permissionService'][_0x2e5b9e(0x485)](new _0x21d024[(_0x2e5b9e(0x33c))](this['unitID'])['id'],!0x1);}};_0xdece6c=_0x5bbf9a([_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x3de)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0x9,_0x132eb9['Inject'](_0x48d167['LocalCacheService'])),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0xb,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x5c3c15(0xc,_0x202279['INotificationService'])],_0xdece6c);let _0x2939d6=class extends _0x13eb33{constructor(_0x39a46b,_0x46c90f,_0x30cfa8,_0x4c4d10,_0x162bcc,_0x296e3c,_0x1de77e,_0xca1546,_0x4dbab6,_0x7d11fa){const _0x4884ae=_0x474fca;super(_0x39a46b,_0x46c90f,_0x30cfa8,_0x4c4d10,_0x162bcc,_0x4dbab6,_0x7d11fa,_0x1de77e,_0xca1546),_0x3b7d06(this,_0x4884ae(0x332),_0x4884ae(0x2b3)),this['_injector']=_0x296e3c;}[_0x474fca(0x1c2)](_0x38ef69){const _0x3e722e=_0x474fca;return this['_pendingMutations']['push'](_0x38ef69),this[_0x3e722e(0x237)](),this;}[_0x474fca(0x124)](_0x2207ef){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x474fca(0x2c1)](){const _0x53bcbb=_0x474fca;throw new Error(_0x53bcbb(0x377));}[_0x474fca(0x246)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x474fca(0x12b)](){return this;}['toggleOnline'](){const _0x5ffd1f=_0x474fca,{_injector:_0x28b28d,_pendingMutations:_0x5763d4,_awaitingChangeset:_0x3beeb9,unitID:_0x5ade85,_handler:_0x14d2db,type:_0x3e92ef}=this,_0x9b7478=_0x2ad01d(_0x28b28d,_0x5ade85,_0x3e92ef,_0x3beeb9,_0x5763d4,_0x14d2db);return _0x9b7478 instanceof _0x4aa012?_0x9b7478[_0x5ffd1f(0x307)]():(_0x9b7478 instanceof _0xb8f612||_0x9b7478 instanceof _0x13cd54)&&_0x9b7478[_0x5ffd1f(0x167)](),_0x9b7478;}['resend'](){const _0x470499=_0x474fca;throw new Error(_0x470499(0x104));}};_0x2939d6=_0x5bbf9a([_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1e4)])],_0x2939d6);let _0x3dbf10=class extends _0x13eb33{constructor(_0x4a8399,_0x5e5cba,_0x537516,_0x11ea42,_0xe56378,_0x178375,_0x568962,_0x5031be,_0x578f8b,_0x3c7788,_0x18a885,_0x339129,_0x1f924f,_0x22f54f){const _0x73bc81=_0x474fca;super(_0x4a8399,_0x5e5cba,_0x537516,_0x11ea42,_0x568962,_0x339129,_0x1f924f,_0x578f8b,_0x3c7788),_0x3b7d06(this,_0x73bc81(0x332),_0x73bc81(0xec)),(this[_0x73bc81(0x364)]=_0xe56378,this[_0x73bc81(0x218)]=_0x178375,this[_0x73bc81(0x306)]=_0x5031be,this[_0x73bc81(0x1ac)]=_0x18a885,this[_0x73bc81(0x190)]=_0x22f54f);}['onMissedChangesetFetched'](_0x390f9b){const _0x3a9209=_0x474fca;try{const _0x4acd00=[..._0x390f9b,...this['_queuedRemoteChangesets']],_0x18fc15=[this[_0x3a9209(0x2dc)]||this[_0x3a9209(0x364)]][_0x3a9209(0x1cd)](_0x145148=>!!_0x145148);let _0x12f17d,_0x5da7bc;if(_0x18fc15[_0x3a9209(0x2b9)]){const _0x5438be=this[_0x3a9209(0x190)][_0x3a9209(0x355)](_0x4acd00,_0x18fc15,!0x1);if(!_0x1524d[_0x3a9209(0x467)](_0x5438be))throw _0x5438be[_0x3a9209(0xf5)];_0x12f17d=_0x5438be[_0x3a9209(0x1f5)],_0x5da7bc=_0x5438be[_0x3a9209(0x14c)];}else _0x12f17d=_0x4acd00,_0x5da7bc=[];let _0x1a9191=this[_0x3a9209(0x44b)];_0x12f17d[_0x3a9209(0x173)](_0x301e83=>{const _0x50569c=_0x3a9209;let _0x6b8a18;if(_0x1a9191[_0x50569c(0x2b9)]){const _0x137a7f=this[_0x50569c(0x190)]['transformMutationsWithChangeset'](_0x301e83,_0x1a9191);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x137a7f))throw _0x137a7f[_0x50569c(0xf5)];_0x6b8a18=_0x137a7f[_0x50569c(0x1f5)],_0x1a9191=_0x137a7f[_0x50569c(0x43b)];}else _0x6b8a18=_0x301e83;this[_0x50569c(0xf1)](_0x6b8a18);}),this[_0x3a9209(0x364)]&&this[_0x3a9209(0x127)](),this[_0x3a9209(0x2dc)]&&_0x5da7bc[_0x3a9209(0x2b9)]&&(_0x5da7bc[0x0]['baseRev']=this[_0x3a9209(0x1d6)]());let _0x2ebd88;if(this[_0x3a9209(0x2dc)]&&_0x1a9191[_0x3a9209(0x2b9)]!==0x0)_0x2ebd88=this[_0x3a9209(0x306)]['createInstance'](_0xb8f612,this[_0x3a9209(0x176)],this[_0x3a9209(0x11a)],_0x5da7bc[0x0],_0x1a9191,this[_0x3a9209(0x3f7)]);else{if(this['_awaitingChangeset']&&_0x1a9191[_0x3a9209(0x2b9)]===0x0)_0x5da7bc[0x0][_0x3a9209(0x100)]=this['_getCurrentRevision'](),_0x2ebd88=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x13cd54,this[_0x3a9209(0x176)],this[_0x3a9209(0x11a)],_0x5da7bc[0x0],this[_0x3a9209(0x3f7)]);else{if(_0x1a9191[_0x3a9209(0x2b9)]!==0x0){const _0x37a2fb=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x4aa012,this[_0x3a9209(0x176)],this['type'],_0x1a9191,this[_0x3a9209(0x3f7)]);_0x37a2fb[_0x3a9209(0x307)](),_0x2ebd88=_0x37a2fb;}else _0x2ebd88=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x35b41b,this['unitID'],this[_0x3a9209(0x11a)],this[_0x3a9209(0x3f7)]);}}return _0x2ebd88['_updateLocalCache'](),_0x2ebd88;}catch(_0xe038c){return this['_logService'][_0x3a9209(0xf5)](_0x3a9209(0x410),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe038c),this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0xdece6c,this['unitID'],this[_0x3a9209(0x11a)],this[_0x3a9209(0x2dc)],this[_0x3a9209(0x44b)],this[_0x3a9209(0x3f7)],!0x1);}}[_0x474fca(0x167)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x474fca(0x1c2)](_0x316644){const _0xda899f=_0x474fca;return this[_0xda899f(0x44b)][_0xda899f(0x277)](_0x316644),this;}['onRemoteChangeset'](_0x46cf80){const _0x376eae=_0x474fca;return this[_0x376eae(0x218)][_0x376eae(0x277)](_0x46cf80),this;}[_0x474fca(0x2c1)](_0x259097){const _0x1e870b=_0x474fca;if(this[_0x1e870b(0x2dc)])return this[_0x1e870b(0x364)]=this[_0x1e870b(0x2dc)],this[_0x1e870b(0x2dc)]=null,this;throw new Error(_0x1e870b(0xe4));}[_0x474fca(0x246)](_0x457d37){const _0x592f0e=_0x474fca;return this[_0x592f0e(0x1f3)](!!(_0x457d37!=null&&_0x457d37['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x4f3f2c=_0x474fca;return this[_0x4f3f2c(0x306)][_0x4f3f2c(0x192)](_0x2939d6,this[_0x4f3f2c(0x176)],this[_0x4f3f2c(0x11a)],this[_0x4f3f2c(0x2dc)],this[_0x4f3f2c(0x44b)],this[_0x4f3f2c(0x3f7)]);}[_0x474fca(0x25a)](){return this;}['_onConflict'](_0xd63299){const _0x26e0bf=_0x474fca;return this[_0x26e0bf(0x306)][_0x26e0bf(0x192)](_0xdece6c,this[_0x26e0bf(0x176)],this[_0x26e0bf(0x11a)],this[_0x26e0bf(0x2dc)],this[_0x26e0bf(0x44b)],this[_0x26e0bf(0x3f7)],_0xd63299);}};_0x3dbf10=_0x5bbf9a([_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1a8)](_0x48d167['LocalCacheService'])),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0xb,_0x132eb9['ICommandService']),_0x5c3c15(0xc,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0xd,_0x1524d[_0x474fca(0x439)])],_0x3dbf10);function _0x2ad01d(_0x5c1524,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdf2e62,_0xdb9748){const _0x567b37=_0x474fca;return _0x199c40&&_0xdf2e62[_0x567b37(0x2b9)]?_0x5c1524[_0x567b37(0x192)](_0xb8f612,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdf2e62,_0xdb9748):_0x199c40?_0x5c1524['createInstance'](_0x13cd54,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdb9748):_0xdf2e62[_0x567b37(0x2b9)]?_0x5c1524[_0x567b37(0x192)](_0x4aa012,_0x5c51aa,_0x7c7ce4,_0xdf2e62,_0xdb9748):_0x5c1524[_0x567b37(0x192)](_0x35b41b,_0x5c51aa,_0x7c7ce4,_0xdb9748);}var _0x5abdea=Object[_0x474fca(0x109)],_0x5cc821=Object[_0x474fca(0xcc)],_0x12d55b=(_0x358546,_0x20dba2,_0x588078,_0x462060)=>{const _0x31d75d=_0x474fca;for(var _0x425133=_0x462060>0x1?void 0x0:_0x462060?_0x5cc821(_0x20dba2,_0x588078):_0x20dba2,_0x4be74f=_0x358546[_0x31d75d(0x2b9)]-0x1,_0x5d0378;_0x4be74f>=0x0;_0x4be74f--)(_0x5d0378=_0x358546[_0x4be74f])&&(_0x425133=(_0x462060?_0x5d0378(_0x20dba2,_0x588078,_0x425133):_0x5d0378(_0x425133))||_0x425133);return _0x462060&&_0x425133&&_0x5abdea(_0x20dba2,_0x588078,_0x425133),_0x425133;},_0x4ddf7c=(_0x121eb2,_0x3cf409)=>(_0x19b82c,_0x522853)=>_0x3cf409(_0x19b82c,_0x522853,_0x121eb2);_0x48d167[_0x474fca(0x251)]=class extends _0x132eb9['RxDisposable']{constructor(_0x34a929,_0x5791f7,_0x3f2591){const _0x268893=_0x474fca;super(),_0x3b7d06(this,_0x268893(0xeb),new Map()),_0x3b7d06(this,_0x268893(0x44d),new _0x3639ee[(_0x268893(0x1cb))]()),(this[_0x268893(0x306)]=_0x34a929,this[_0x268893(0x32f)]=_0x5791f7,this[_0x268893(0x1bd)]=_0x3f2591,this[_0x268893(0x1d5)]());}['dispose'](){const _0x2d8124=_0x474fca;super[_0x2d8124(0x19a)](),this['_entities'][_0x2d8124(0x173)](_0x30e94f=>_0x30e94f[_0x2d8124(0x19a)]()),this['_entities'][_0x2d8124(0x412)]();}[_0x474fca(0x468)](_0x38f885){const _0x58682f=_0x474fca;var _0x429993;return(_0x429993=this['_entities'][_0x58682f(0x261)](_0x38f885))!=null?_0x429993:null;}[_0x474fca(0x1c8)](_0x513a52){const _0x55c8e4=_0x474fca,_0x33867d=this[_0x55c8e4(0x468)](_0x513a52);return _0x33867d?_0x3639ee['of'](_0x33867d):this[_0x55c8e4(0x44d)][_0x55c8e4(0x195)](_0x5d8ab5[_0x55c8e4(0x1cd)](_0x381ac5=>_0x381ac5[_0x55c8e4(0x176)]===_0x513a52));}['_init'](){const _0x1dc355=_0x474fca;this[_0x1dc355(0x1bd)][_0x1dc355(0x25b)](_0x132eb9[_0x1dc355(0x44e)][_0x1dc355(0x1a0)])['pipe'](_0x3639ee[_0x1dc355(0x37a)](this[_0x1dc355(0x2b5)]),_0x5d8ab5[_0x1dc355(0x370)](0x10))[_0x1dc355(0x2e1)](async _0x1a275f=>{const _0x250395=_0x1dc355,_0x1db809=_0x1a275f[_0x250395(0x225)](),_0xcdb38d=await this[_0x250395(0x3ad)](_0x1db809,_0x2f5f8c['UNIVER_SHEET']);this[_0x250395(0xeb)][_0x250395(0xbe)](_0x1db809,_0xcdb38d);}),this['_univerInstanceService'][_0x1dc355(0x25b)](_0x132eb9[_0x1dc355(0x44e)][_0x1dc355(0x14d)])['pipe'](_0x3639ee[_0x1dc355(0x37a)](this['dispose$']),_0x5d8ab5[_0x1dc355(0x370)](0x10))[_0x1dc355(0x195)](_0x5d8ab5[_0x1dc355(0x1cd)](_0x2938ba=>!_0x2938ba[_0x1dc355(0x225)]()['startsWith']('__')))[_0x1dc355(0x2e1)](async _0x4aac91=>{const _0x2b8cad=_0x1dc355,_0x44889a=_0x4aac91[_0x2b8cad(0x225)](),_0xfd7d12=await this[_0x2b8cad(0x3ad)](_0x44889a,_0x2f5f8c[_0x2b8cad(0x14d)]);this[_0x2b8cad(0xeb)][_0x2b8cad(0xbe)](_0x44889a,_0xfd7d12);}),_0x3639ee['merge'](this[_0x1dc355(0x1bd)]['getTypeOfUnitDisposed$'](_0x132eb9['UniverInstanceType']['UNIVER_SHEET']),this[_0x1dc355(0x1bd)][_0x1dc355(0x2b7)](_0x132eb9[_0x1dc355(0x44e)]['UNIVER_DOC']))[_0x1dc355(0x195)](_0x3639ee[_0x1dc355(0x37a)](this[_0x1dc355(0x2b5)]))[_0x1dc355(0x2e1)](_0x240efe=>{const _0x339559=_0x1dc355,_0x57faef=_0x240efe[_0x339559(0x225)](),_0xf5359d=this[_0x339559(0xeb)][_0x339559(0x261)](_0x57faef);_0xf5359d&&(_0xf5359d['dispose'](),this['_entities'][_0x339559(0x224)](_0x57faef));});}async[_0x474fca(0x3ad)](_0x3e1f78,_0x478e86){const _0x1fa046=_0x474fca,_0x42285f=await this[_0x1fa046(0x32f)][_0x1fa046(0x21a)](_0x3e1f78),_0x345b19=this[_0x1fa046(0x306)]['createInstance'](this['_getCtorByUniverType'](_0x478e86),_0x3e1f78,_0x478e86,_0x42285f);return await _0x345b19[_0x1fa046(0x1ed)](),this[_0x1fa046(0x44d)]['next'](_0x345b19),_0x345b19;}[_0x474fca(0x161)](_0x14031e){const _0x3e5182=_0x474fca;switch(_0x14031e){case _0x2f5f8c[_0x3e5182(0x14d)]:return _0x333751;case _0x2f5f8c[_0x3e5182(0x1a0)]:return _0x48d167[_0x3e5182(0x281)];default:throw new Error(_0x3e5182(0xf9)+_0x14031e);}}},_0x48d167['CollaborationController']=_0x12d55b([_0x132eb9['OnLifecycle'](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x48d167[_0x474fca(0x251)]),_0x4ddf7c(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)])),_0x4ddf7c(0x2,_0x132eb9[_0x474fca(0x22d)])],_0x48d167['CollaborationController']);let _0x13bd7a=class extends _0x132eb9['RxDisposable']{constructor(_0xc9867d,_0x2ea5a2,_0x270ca0,_0x43f322,_0x45a445,_0x48d1eb,_0x17d260,_0x4256aa,_0x3bcab7,_0x46a792,_0x1631f1,_0x22d767,_0x58b552){const _0x9e307=_0x474fca;super(),_0x3b7d06(this,_0x9e307(0x138),new _0x3639ee[(_0x9e307(0x2a0))](null)),_0x3b7d06(this,_0x9e307(0x38a),this[_0x9e307(0x138)][_0x9e307(0x39b)]()),_0x3b7d06(this,_0x9e307(0x282)),_0x3b7d06(this,_0x9e307(0x13b),!0x1),_0x3b7d06(this,_0x9e307(0x382),this['state$']['pipe'](_0x5d8ab5['map'](_0xb7b6f7=>_0xb7b6f7?_0xb7b6f7[_0x9e307(0x332)]:_0x3e6ce[_0x9e307(0x35a)]),_0x5d8ab5[_0x9e307(0x426)](0x1))),_0x3b7d06(this,_0x9e307(0x1bc),!0x1),_0x3b7d06(this,'_remoteChangesetQueue',[]),(this[_0x9e307(0x176)]=_0xc9867d,this['_type']=_0x2ea5a2,this[_0x9e307(0x1b5)]=_0x270ca0,this[_0x9e307(0x306)]=_0x43f322,this[_0x9e307(0x40b)]=_0x45a445,this[_0x9e307(0x3bb)]=_0x48d1eb,this['_localeService']=_0x17d260,this[_0x9e307(0x257)]=_0x4256aa,this[_0x9e307(0x1ac)]=_0x3bcab7,this['_commandService']=_0x46a792,this[_0x9e307(0x1af)]=_0x1631f1,this[_0x9e307(0x28c)]=_0x22d767,this[_0x9e307(0x10a)]=_0x58b552);}get[_0x474fca(0x311)](){return this['_state'];}async['init'](){const _0x5c9260=_0x474fca;if(this[_0x5c9260(0x311)])throw new Error(_0x5c9260(0x448));await this[_0x5c9260(0x1d5)]();}['pauseCollaboration'](){const _0x13139c=_0x474fca;return this['_collaborationPaused']=!0x0,_0x132eb9[_0x13139c(0x2c0)](()=>{const _0x53bfc9=_0x13139c;this[_0x53bfc9(0x13b)]=!0x1,this[_0x53bfc9(0x172)]();});}[_0x474fca(0x269)](_0xe5c1ce){const _0x516c32=_0x474fca;this[_0x516c32(0x282)]=_0xe5c1ce,this['_state$'][_0x516c32(0x452)](_0xe5c1ce);}async[_0x474fca(0x1d5)](){const _0x573289=_0x474fca;var _0x418132;return this[_0x573289(0x269)](await this['_createInitialState']()),this[_0x573289(0x10a)]&&((_0x418132=this['_singleActiveUnitService'])==null||_0x418132[_0x573289(0x40f)](this[_0x573289(0x176)]),this['disposeWithMe'](_0x132eb9[_0x573289(0x2c0)](this[_0x573289(0x10a)][_0x573289(0x3e8)](this[_0x573289(0x176)])['subscribe'](_0x5973af=>{const _0x7b4b62=_0x573289;this[_0x7b4b62(0x1ac)][_0x7b4b62(0x19c)](_0x7b4b62(0x39d),_0x7b4b62(0x143),_0x5973af),_0x5973af===_0x261697[_0x7b4b62(0x47b)]?(this[_0x7b4b62(0x1af)]['show']({'content':this['_localeService']['t'](_0x7b4b62(0x171)),'type':_0x59ab28[_0x7b4b62(0x336)][_0x7b4b62(0x19f)]}),this['_permissionService'][_0x7b4b62(0x485)](new _0x21d024[(_0x7b4b62(0x33c))](this['unitID'])['id'],!0x1)):this['_permissionService']['updatePermissionPoint'](new _0x21d024['WorkbookEditablePermission'](this[_0x7b4b62(0x176)])['id'],!0x0);})))),this[_0x573289(0x26e)](_0x132eb9[_0x573289(0x2c0)](this['_session'][_0x573289(0x326)][_0x573289(0x2e1)](_0x3dbee2=>{const _0x9c82c2=_0x573289;_0x3dbee2===_0x139854[_0x9c82c2(0x31c)]?this[_0x9c82c2(0x197)]():_0x3dbee2===_0x139854[_0x9c82c2(0x35a)]&&this[_0x9c82c2(0x24a)]();}))),this['disposeWithMe'](_0x132eb9['toDisposable'](this[_0x573289(0x1b5)][_0x573289(0x428)][_0x573289(0x2e1)](_0x609814=>{const _0xd952b8=_0x573289;try{switch(_0x609814[_0xd952b8(0x31f)]){case _0x1524d[_0xd952b8(0x2b2)]['NEW_CHANGESETS']:{this[_0xd952b8(0x309)](_0x1524d[_0xd952b8(0x38f)](_0x609814[_0xd952b8(0xe5)]));break;}case _0x1524d['CollaborationEvent'][_0xd952b8(0x2d3)]:{this['_onRemoteACK'](_0x609814[_0xd952b8(0xe5)]);break;}case _0x1524d[_0xd952b8(0x2b2)][_0xd952b8(0x455)]:{this[_0xd952b8(0x36a)]();break;}case _0x1524d['CollaborationEvent'][_0xd952b8(0x464)]:{this['_onFetchMissResult'](_0x609814[_0xd952b8(0xe5)][_0xd952b8(0x341)][_0xd952b8(0x18f)](_0x3c3972=>_0x1524d['parseProtocolChangeset'](_0x3c3972)));break;}case _0x1524d['CollaborationEvent']['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x242abe){throw console['error'](_0xd952b8(0x427),_0x242abe),_0x242abe;}}))),this['_state'];}[_0x474fca(0x1f8)](){const _0x2e2d31=_0x474fca;this[_0x2e2d31(0x1bc)]=!0x1;}[_0x474fca(0x2fb)](){const _0x25038f=_0x474fca;if(this['_transitionLocked'])throw new Error(_0x25038f(0x3d8));this[_0x25038f(0x1bc)]=!0x0;}[_0x474fca(0x373)](_0x516eeb){const _0x44b684=_0x474fca;this['_lockTransition'](),this[_0x44b684(0x269)](this[_0x44b684(0x282)][_0x44b684(0x1c2)](_0x516eeb)),this[_0x44b684(0x1f8)]();}[_0x474fca(0x309)](_0x59fc79){const _0xd0e4ef=_0x474fca;if(!(_0x59fc79['revision']<=this['_revisionService'][_0xd0e4ef(0x3c8)](this[_0xd0e4ef(0x176)]))){if(this['_collaborationPaused']){this[_0xd0e4ef(0x14b)][_0xd0e4ef(0x277)](_0x59fc79);return;}this[_0xd0e4ef(0x245)](_0x59fc79);}}['_exhaustRemoteChangesetQueue'](){const _0x2e3583=_0x474fca;this[_0x2e3583(0x14b)][_0x2e3583(0x173)](_0x3649d1=>this[_0x2e3583(0x245)](_0x3649d1)),this[_0x2e3583(0x14b)]=[];}[_0x474fca(0x245)](_0x46eba9){const _0x2a5f93=_0x474fca,_0x43bfae=this[_0x2a5f93(0x3bb)]['interceptor'][_0x2a5f93(0x431)](this[_0x2a5f93(0x3bb)][_0x2a5f93(0x163)][_0x2a5f93(0x265)]()[_0x2a5f93(0x39f)])(_0x46eba9[_0x2a5f93(0x256)],null)||_0x46eba9[_0x2a5f93(0x256)],_0x475fea={..._0x46eba9,'mutations':_0x43bfae};this['_lockTransition'](),this['_updateState'](this['_state'][_0x2a5f93(0x124)](_0x475fea)),this[_0x2a5f93(0x1f8)]();}[_0x474fca(0x1ca)](_0x3787e8){const _0x121536=_0x474fca;this[_0x121536(0x2fb)](),this[_0x121536(0x269)](this['_state'][_0x121536(0x2c1)](_0x3787e8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x377207){const _0x226632=_0x474fca;this[_0x226632(0x2fb)](),this['_updateState'](this[_0x226632(0x282)][_0x226632(0x246)](_0x377207)),this['_unlockTransition']();}['_onFetchMissResult'](_0x7ab478){const _0x522a3a=_0x474fca;if(!(this['_state']instanceof _0x3dbf10))throw new TypeError(_0x522a3a(0x33b));const _0x574ebc=_0x7ab478[_0x522a3a(0x18f)](_0x539efd=>{const _0x21cecd=_0x522a3a,_0x45c7d1=this[_0x21cecd(0x3bb)][_0x21cecd(0x163)][_0x21cecd(0x431)](this[_0x21cecd(0x3bb)][_0x21cecd(0x163)][_0x21cecd(0x265)]()[_0x21cecd(0x39f)])(_0x539efd['mutations'],null)||_0x539efd[_0x21cecd(0x256)];return{..._0x539efd,'mutations':_0x45c7d1};});this['_lockTransition'](),this[_0x522a3a(0x269)](this[_0x522a3a(0x282)][_0x522a3a(0x9d)](_0x574ebc)),this[_0x522a3a(0x1f8)]();}['_toggleOffline'](){const _0xe880c4=_0x474fca;this[_0xe880c4(0x2fb)](),this['_updateState'](this[_0xe880c4(0x282)][_0xe880c4(0x12b)]()),this[_0xe880c4(0x1f8)]();}[_0x474fca(0x197)](){const _0x25189d=_0x474fca;this[_0x25189d(0x2fb)](),this['_updateState'](this[_0x25189d(0x282)][_0x25189d(0x25a)]()),this['_unlockTransition']();}async['_createInitialState'](){return new Promise(_0x27cfdc=>{const _0x16bd62=_0x2d55;this[_0x16bd62(0x1b5)]['sessionStatus$'][_0x16bd62(0x195)](_0x5d8ab5[_0x16bd62(0x3a3)](0x1))[_0x16bd62(0x2e1)](async _0x2d78e4=>{const _0x1de45c=_0x16bd62;_0x27cfdc(await this[_0x1de45c(0x304)](_0x2d78e4===_0x139854[_0x1de45c(0x31c)]));});});}['_createHandler'](){const _0x3eb925=this['unitID'];return{'onStateChange':(_0x5e83cb,_0x59be63)=>{const _0x4306b7=_0x2d55;if(_0x5e83cb!==this['_state'])throw new Error(_0x4306b7(0x434)+_0x5e83cb[_0x4306b7(0x332)]+_0x4306b7(0x99)+_0x59be63['status']+_0x4306b7(0x348)+this[_0x4306b7(0x282)]['status']);this['_updateState'](_0x59be63);},'onSendChangeset':_0x1317d7=>{const _0x3cf0a2=_0x2d55,_0x1ee12a={'eventID':_0x1524d[_0x3cf0a2(0x2b2)][_0x3cf0a2(0x3c3)],'data':{'unitID':_0x1317d7[_0x3cf0a2(0x176)],'unitType':this['_type'],'changeset':_0x1317d7,'memberID':this[_0x3cf0a2(0x1b5)][_0x3cf0a2(0xda)]()}};this['_session']['send'](_0x1ee12a,this[_0x3cf0a2(0x176)]);},'onMissingChangesets':({from:_0x19c987,to:_0x20cf47})=>{const _0x198435=_0x2d55;this['_logService'][_0x198435(0x19c)]('[CollaborationEntity]',_0x198435(0x13f)+_0x19c987+_0x198435(0x2a9)+_0x20cf47);const _0x49e1f3={'eventID':_0x1524d[_0x198435(0x2b2)]['FETCH_MISSING'],'data':{'unitID':_0x3eb925,'unitType':this['_type'],'from':_0x19c987,'to':_0x20cf47}};this[_0x198435(0x1b5)][_0x198435(0x31a)](_0x49e1f3,this[_0x198435(0x176)]);}};}async['_createInitialStateImpl'](_0xb5847d){const _0x25d071=_0x474fca;var _0x5d7f99,_0x56d04c;const _0x4e8997=await this[_0x25d071(0x40b)][_0x25d071(0xee)](this['unitID']),_0x24679f=(_0x5d7f99=_0x4e8997==null?void 0x0:_0x4e8997[_0x25d071(0x256)])!=null?_0x5d7f99:[],_0x197f3f=(_0x56d04c=_0x4e8997==null?void 0x0:_0x4e8997['awaitingChangeset'])!=null?_0x56d04c:null,_0x1e8ffa=this['unitID'];try{this[_0x25d071(0x114)](_0x197f3f,_0x24679f);}catch(_0xed843){this['_logService']['error'](_0xed843);}const _0x3ca2a2=this[_0x25d071(0x320)]();if(_0xb5847d){const _0x52594e=_0x2ad01d(this[_0x25d071(0x306)],_0x1e8ffa,this[_0x25d071(0x1a2)],_0x197f3f,_0x24679f,_0x3ca2a2);return _0x52594e instanceof _0x4aa012?_0x52594e[_0x25d071(0x307)]():(_0x52594e instanceof _0xb8f612||_0x52594e instanceof _0x13cd54)&&_0x52594e[_0x25d071(0x167)](),_0x52594e;}return this['_injector'][_0x25d071(0x192)](_0x2939d6,_0x1e8ffa,this[_0x25d071(0x1a2)],_0x197f3f,_0x24679f,_0x3ca2a2);}[_0x474fca(0x114)](_0x5abb38,_0x522aa2){const _0x3422a0=_0x474fca;var _0x1b9205,_0x434bc8;const _0x13d8ba=this[_0x3422a0(0x3bb)][_0x3422a0(0x163)][_0x3422a0(0x431)](this['_compressMutationService'][_0x3422a0(0x163)][_0x3422a0(0x265)]()[_0x3422a0(0x39f)]);(_0x1b9205=_0x13d8ba((_0x5abb38==null?void 0x0:_0x5abb38['mutations'])||[],null))==null||_0x1b9205[_0x3422a0(0x173)](_0x5a1c8f=>this['_commandService'][_0x3422a0(0x15b)](_0x5a1c8f['id'],_0x5a1c8f[_0x3422a0(0xe6)])),(_0x434bc8=_0x13d8ba(_0x522aa2||[],null))==null||_0x434bc8['forEach'](_0x151195=>this[_0x3422a0(0x1c9)][_0x3422a0(0x15b)](_0x151195['id'],_0x151195[_0x3422a0(0xe6)]));}};_0x13bd7a=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x4ddf7c(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x4ddf7c(0x5,_0x132eb9['Inject'](_0x1524d['CompressMutationService'])),_0x4ddf7c(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x4ddf7c(0x7,_0x132eb9['Inject'](_0x1524d['RevisionService'])),_0x4ddf7c(0x8,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0x9,_0x132eb9['ICommandService']),_0x4ddf7c(0xa,_0x202279[_0x474fca(0x123)]),_0x4ddf7c(0xb,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0xc,_0x132eb9['Optional'](_0x54135c))],_0x13bd7a);let _0x333751=class extends _0x13bd7a{constructor(_0x1e1cac,_0x4c7ce6,_0xd013ef,_0x48f69b,_0x211159,_0x1ac837,_0x9a042d,_0x521834,_0x4b449f,_0x38621e,_0x4d7e3c,_0x36b437,_0x58d2ba,_0x11160b,_0x4d1ac4,_0xf03f13,_0xdab3d4){const _0x58f61b=_0x474fca;super(_0x1e1cac,_0x4c7ce6,_0xd013ef,_0x48f69b,_0x211159,_0x1ac837,_0x9a042d,_0x521834,_0x58d2ba,_0x11160b,_0x4d1ac4,_0xf03f13,_0xdab3d4),this[_0x58f61b(0x176)]=_0x1e1cac,this[_0x58f61b(0x11a)]=_0x4c7ce6,this[_0x58f61b(0x169)]=_0xd013ef,this[_0x58f61b(0x2ee)]=_0x4b449f,this[_0x58f61b(0x134)]=_0x38621e,this[_0x58f61b(0x41e)]=_0x4d7e3c,this[_0x58f61b(0x43f)]=_0x36b437;}[_0x474fca(0x320)](){const _0x7f317c=_0x474fca,_0x26e800=super[_0x7f317c(0x320)]();return _0x26e800[_0x7f317c(0x477)]=_0x152b3d=>this[_0x7f317c(0x134)][_0x7f317c(0x347)](_0x152b3d),_0x26e800[_0x7f317c(0x2f1)]=_0x55ef00=>this[_0x7f317c(0x41e)][_0x7f317c(0x31d)](_0x55ef00),_0x26e800['onSyncEditingCollabCursor']=_0x30019d=>this['_docSyncEditingCollabCursorService'][_0x7f317c(0x3d0)](_0x30019d),_0x26e800[_0x7f317c(0x313)]=_0x4ee9cf=>this['_docTransformIMECacheService'][_0x7f317c(0x396)](_0x4ee9cf),_0x26e800;}async[_0x474fca(0x1d5)](){const _0x1a79db=_0x474fca,_0x2af204=await super[_0x1a79db(0x1d5)]();return this[_0x1a79db(0x26e)](this[_0x1a79db(0x1c9)][_0x1a79db(0x344)]((_0x4ea122,_0xf4d34e)=>{const _0x4d80ab=_0x1a79db;if(_0x4ea122['type']!==_0x132eb9['CommandType'][_0x4d80ab(0x14f)]||_0xf4d34e!=null&&_0xf4d34e[_0x4d80ab(0x38b)]||_0xf4d34e!=null&&_0xf4d34e[_0x4d80ab(0x227)])return;const _0x322d15=_0x4ea122[_0x4d80ab(0xe6)];if((_0x322d15==null?void 0x0:_0x322d15[_0x4d80ab(0xa5)])!==this[_0x4d80ab(0x176)])return;let _0x16ea42=_0x4ea122;if(_0x16ea42['id']===_0x4b287a[_0x4d80ab(0x346)]['id']){const _0x574c00=_0x16ea42[_0x4d80ab(0xe6)];_0x16ea42={'id':_0x4b287a[_0x4d80ab(0x346)]['id'],'type':_0x132eb9[_0x4d80ab(0x103)][_0x4d80ab(0x14f)],'params':{'unitId':_0x574c00[_0x4d80ab(0xa5)],'actions':_0x574c00[_0x4d80ab(0xaf)],'textRanges':null}};}const _0x4a82ac=this[_0x4d80ab(0x3bb)][_0x4d80ab(0x163)]['fetchThroughInterceptors'](this[_0x4d80ab(0x3bb)][_0x4d80ab(0x163)][_0x4d80ab(0x265)]()[_0x4d80ab(0x469)])([_0x16ea42],null)||[_0x16ea42];this[_0x4d80ab(0x373)](_0x4a82ac[0x0]);})),_0x2af204;}};_0x333751=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x4,_0x132eb9['Inject'](_0x48d167[_0x474fca(0x27d)])),_0x4ddf7c(0x5,_0x132eb9['Inject'](_0x1524d['CompressMutationService'])),_0x4ddf7c(0x6,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)])),_0x4ddf7c(0x7,_0x132eb9['Inject'](_0x1524d[_0x474fca(0x327)])),_0x4ddf7c(0x8,_0x132eb9['Inject'](_0x4b287a['DocStateChangeManagerService'])),_0x4ddf7c(0x9,_0x132eb9['Inject'](_0x5e5e64)),_0x4ddf7c(0xa,_0x132eb9['Inject'](_0x49cc76)),_0x4ddf7c(0xb,_0x132eb9[_0x474fca(0x1a8)](_0x17ef3e)),_0x4ddf7c(0xc,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0xd,_0x132eb9[_0x474fca(0x1f1)]),_0x4ddf7c(0xe,_0x202279[_0x474fca(0x123)]),_0x4ddf7c(0xf,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0x10,_0x132eb9[_0x474fca(0x199)](_0x54135c))],_0x333751),_0x48d167[_0x474fca(0x281)]=class extends _0x13bd7a{constructor(_0x42f344,_0x5997f3,_0x285d59,_0x3a52a9,_0x1349ff,_0x2535e7,_0x1d28ea,_0x5d0fbd,_0x51cc2a,_0x4882e9,_0x24b456,_0x5978c9,_0x59c2dc,_0x3a34ce){const _0x3f2841=_0x474fca;super(_0x42f344,_0x5997f3,_0x285d59,_0x3a52a9,_0x1349ff,_0x2535e7,_0x1d28ea,_0x5d0fbd,_0x4882e9,_0x24b456,_0x5978c9,_0x59c2dc,_0x3a34ce),this[_0x3f2841(0x176)]=_0x42f344,this[_0x3f2841(0x11a)]=_0x5997f3,this[_0x3f2841(0x169)]=_0x285d59,this[_0x3f2841(0x42a)]=_0x51cc2a;}[_0x474fca(0x320)](){const _0x45e8dd=_0x474fca,_0x289f32=super[_0x45e8dd(0x320)]();return _0x289f32[_0x45e8dd(0x2f1)]=_0x1053fb=>this['_sheetTransformSelectionsService'][_0x45e8dd(0x31d)](_0x1053fb),_0x289f32;}async[_0x474fca(0x1d5)](){const _0x3762dd=_0x474fca,_0x24a6e8=await super[_0x3762dd(0x1d5)]();return this[_0x3762dd(0x26e)](this[_0x3762dd(0x1c9)][_0x3762dd(0x344)]((_0x3b7154,_0x4bd166)=>{const _0x3799c4=_0x3762dd;if(_0x3b7154[_0x3799c4(0x11a)]!==_0x132eb9['CommandType'][_0x3799c4(0x14f)]||_0x4bd166!=null&&_0x4bd166[_0x3799c4(0x38b)]||_0x4bd166!=null&&_0x4bd166[_0x3799c4(0x227)])return;const _0x530213=_0x3b7154[_0x3799c4(0xe6)];if((_0x530213==null?void 0x0:_0x530213[_0x3799c4(0xa5)])!==this[_0x3799c4(0x176)])return;const _0x5932a5=_0x3b7154,_0x51295d=this[_0x3799c4(0x3bb)]['interceptor'][_0x3799c4(0x431)](this[_0x3799c4(0x3bb)][_0x3799c4(0x163)][_0x3799c4(0x265)]()[_0x3799c4(0x469)])([_0x5932a5],null)||[_0x5932a5];this[_0x3799c4(0x373)](_0x51295d[0x0]);})),_0x24a6e8;}},_0x48d167[_0x474fca(0x281)]=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x4,_0x132eb9['Inject'](_0x48d167['LocalCacheService'])),_0x4ddf7c(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x366)])),_0x4ddf7c(0x6,_0x132eb9['Inject'](_0x132eb9['LocaleService'])),_0x4ddf7c(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x4ddf7c(0x8,_0x132eb9['Inject'](_0x40081e)),_0x4ddf7c(0x9,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0xa,_0x132eb9[_0x474fca(0x1f1)]),_0x4ddf7c(0xb,_0x202279['IMessageService']),_0x4ddf7c(0xc,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0xd,_0x132eb9[_0x474fca(0x199)](_0x54135c))],_0x48d167[_0x474fca(0x281)]);const _0x600859=[_0x474fca(0x290),_0x474fca(0x32d),_0x474fca(0x3ac),'red300',_0x474fca(0x2eb),_0x474fca(0x102)];class _0x35bdf6 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x491b88=_0x474fca;super(...arguments),_0x3b7d06(this,'_assignedColors',new Map()),_0x3b7d06(this,_0x491b88(0x483),0x0);}['assignAColorForMemberID'](_0x4e2718){const _0x5bd2af=_0x474fca;if(this[_0x5bd2af(0x2b4)][_0x5bd2af(0x400)](_0x4e2718))return this['_assignedColors']['get'](_0x4e2718);const _0x3ffa1b=_0x600859[this['_colorIndex']];return this[_0x5bd2af(0x483)]=(this['_colorIndex']+0x1)%_0x600859[_0x5bd2af(0x2b9)],this[_0x5bd2af(0x2b4)]['set'](_0x4e2718,_0x3ffa1b),_0x3ffa1b;}}var _0xff3f98=Object[_0x474fca(0x109)],_0x4eb774=Object[_0x474fca(0xcc)],_0x3d7b04=(_0x479827,_0x4bff20,_0x41f277,_0x344cd0)=>{const _0x4bb534=_0x474fca;for(var _0x15fef4=_0x344cd0>0x1?void 0x0:_0x344cd0?_0x4eb774(_0x4bff20,_0x41f277):_0x4bff20,_0x2127c3=_0x479827[_0x4bb534(0x2b9)]-0x1,_0x57cdc4;_0x2127c3>=0x0;_0x2127c3--)(_0x57cdc4=_0x479827[_0x2127c3])&&(_0x15fef4=(_0x344cd0?_0x57cdc4(_0x4bff20,_0x41f277,_0x15fef4):_0x57cdc4(_0x15fef4))||_0x15fef4);return _0x344cd0&&_0x15fef4&&_0xff3f98(_0x4bff20,_0x41f277,_0x15fef4),_0x15fef4;},_0x42ea88=(_0x5abae4,_0x2b61bb)=>(_0x4b52a8,_0x1133b0)=>_0x2b61bb(_0x4b52a8,_0x1133b0,_0x5abae4);const _0x3bb534=0x12c,_0x499fde=0x64,_0x483a14=()=>{let _0x4ebb4c=[],_0x200388=!0x1;return _0x21a443=>{const _0x18036d=_0x2d55;_0x4ebb4c[_0x18036d(0x277)](_0x21a443),_0x200388||(_0x200388=!0x0,setTimeout(()=>{const _0x4166c8=_0x18036d;_0x4ebb4c[_0x4166c8(0x173)](_0x40eaa7=>_0x40eaa7()),_0x4ebb4c=[],_0x200388=!0x1;}));};};let _0x3ff04d=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x5a53c3,_0x2a0891,_0x42e6dc,_0x3b393c,_0x3b3589,_0x3e7359,_0x3857a5,_0x376b99){const _0xff2515=_0x474fca;super(),_0x3b7d06(this,_0xff2515(0x13e),!0x1),_0x3b7d06(this,_0xff2515(0x1d5),!0x1),_0x3b7d06(this,_0xff2515(0x19b),new _0x3639ee[(_0xff2515(0x2a0))](new Map())),_0x3b7d06(this,_0xff2515(0x1f9),this[_0xff2515(0x19b)][_0xff2515(0x39b)]()),_0x3b7d06(this,_0xff2515(0x2bf),new _0x3639ee[(_0xff2515(0x2a0))]([])),_0x3b7d06(this,_0xff2515(0x2cb),this['_roomMembers$']['pipe'](_0x3639ee['debounceTime'](_0x3bb534))),_0x3b7d06(this,'_updateLocalCursor',_0x45c518((_0x1fdc9c,_0x55bc56)=>{const _0x239b61=_0xff2515,_0x699529={'eventID':_0x1524d[_0x239b61(0x2b2)][_0x239b61(0x2f5)],'data':{'unitID':this[_0x239b61(0x176)],'memberID':this['_session'][_0x239b61(0xda)](),'selection':_0x57f53f['serializeRangeWithSheet'](_0x1fdc9c,_0x55bc56['range'])}};this[_0x239b61(0x1b5)][_0x239b61(0x31a)](_0x699529,this[_0x239b61(0x176)]);},_0x499fde)),(this[_0xff2515(0x176)]=_0x5a53c3,this[_0xff2515(0x1b5)]=_0x2a0891,this['_injector']=_0x42e6dc,this['_colorAssignService']=_0x3b393c,this['_memberService']=_0x3b3589,this[_0xff2515(0x1bd)]=_0x3e7359,this[_0xff2515(0x1c9)]=_0x3857a5,this[_0xff2515(0x395)]=_0x376b99);}get[_0x474fca(0x24c)](){const _0x1e0514=_0x474fca;return this[_0x1e0514(0x19b)][_0x1e0514(0x2ff)]();}get[_0x474fca(0x372)](){return this['_roomMembers$']['getValue']();}[_0x474fca(0x19a)](){const _0x4fe87b=_0x474fca;super[_0x4fe87b(0x19a)](),this[_0x4fe87b(0x19b)]['next'](new Map()),this[_0x4fe87b(0x19b)][_0x4fe87b(0x25f)](),this['_roomMembers$'][_0x4fe87b(0x452)]([]),this['_roomMembers$']['complete']();}[_0x474fca(0x1ed)](){const _0x2d7faa=_0x474fca;this[_0x2d7faa(0x1d5)]||(this[_0x2d7faa(0x1d5)]=!0x0,this['_session'][_0x2d7faa(0x326)][_0x2d7faa(0x195)](_0x3639ee[_0x2d7faa(0x37a)](this[_0x2d7faa(0x2b5)]))[_0x2d7faa(0x2e1)](_0x1ea42b=>{const _0x1480ec=_0x2d7faa;_0x1ea42b===_0x139854[_0x1480ec(0x31c)]?this[_0x1480ec(0x197)]():this[_0x1480ec(0x24a)]();}),this[_0x2d7faa(0x1b5)]['event$']['pipe'](_0x3639ee[_0x2d7faa(0x37a)](this['dispose$']))[_0x2d7faa(0x2e1)](_0x29d0e1=>{const _0x1c544a=_0x2d7faa,_0xdfbfe6=_0x29d0e1[_0x1c544a(0x31f)];_0xdfbfe6===_0x1524d[_0x1c544a(0x2b2)][_0x1c544a(0x2f5)]&&this[_0x1c544a(0x11b)](_0x29d0e1),_0xdfbfe6===_0x1524d['CollaborationEvent'][_0x1c544a(0x458)]&&this[_0x1c544a(0x37d)](_0x29d0e1);}),this['_onRefRangeChange'](),this[_0x2d7faa(0x26e)](this[_0x2d7faa(0x1c9)][_0x2d7faa(0x344)](_0x4679cf=>{const _0x48d526=_0x2d7faa;if(this[_0x48d526(0x13e)]&&_0x4679cf['id']===_0x21d024[_0x48d526(0x303)]['id']&&_0x4679cf[_0x48d526(0xe6)][_0x48d526(0xa5)]===this[_0x48d526(0x176)]){const _0x48737f=_0x4679cf['params'];this['_updateLocalCursor'](_0x48737f[_0x48d526(0x2ac)],_0x48737f[_0x48d526(0x1a5)][0x0]);}})));}['_onCursorUpdate'](_0x474b81){const _0xe26c3c=_0x474fca;var _0x2fa04a,_0x7c216f;const {memberID:_0x395ec8,selection:_0x572b45}=_0x474b81['data'],{sheetName:_0x43f10c,range:_0x50d728}=_0x57f53f[_0xe26c3c(0xa0)](_0x572b45),_0x33afeb={'name':(_0x7c216f=(_0x2fa04a=this[_0xe26c3c(0x205)]['getMember'](this['unitID'],_0x395ec8))==null?void 0x0:_0x2fa04a[_0xe26c3c(0x26d)])!=null?_0x7c216f:_0xe26c3c(0x1df),'range':this[_0xe26c3c(0x362)](_0x43f10c,_0x50d728),'sheetID':_0x43f10c,'color':this['_colorAssignService'][_0xe26c3c(0x18c)](_0x395ec8),'selection':_0x572b45},_0xc3df2a=this[_0xe26c3c(0x24c)];_0xc3df2a[_0xe26c3c(0xbe)](_0x395ec8,_0x33afeb),this[_0xe26c3c(0x19b)][_0xe26c3c(0x452)](_0xc3df2a);}['_onCursorDelete'](_0x3591a2){const _0x58f5c1=_0x474fca,{memberID:_0x36c205}=_0x3591a2[_0x58f5c1(0xe5)],_0x3e9578=this[_0x58f5c1(0x24c)];_0x3e9578[_0x58f5c1(0x224)](_0x36c205),this[_0x58f5c1(0x19b)][_0x58f5c1(0x452)](_0x3e9578);}['_getMergeRange'](_0x3f67b9,_0x430ca0){const _0x3a6b20=_0x474fca;var _0x2e2204,_0x11b3e8;const _0x151343=(_0x11b3e8=(_0x2e2204=this[_0x3a6b20(0x1bd)]['getUniverSheetInstance'](this[_0x3a6b20(0x176)]))==null?void 0x0:_0x2e2204[_0x3a6b20(0x2f9)](_0x3f67b9))==null?void 0x0:_0x11b3e8[_0x3a6b20(0x122)]();return(_0x151343==null?void 0x0:_0x151343[_0x3a6b20(0x375)](_0x2a045e=>_0x132eb9[_0x3a6b20(0x359)][_0x3a6b20(0x392)](_0x2a045e,_0x430ca0)))||_0x430ca0;}['_onRefRangeChange'](){const _0x2966b5=_0x474fca,_0x3f745c=new _0x132eb9[(_0x2966b5(0x132))](),_0x47adcb=_0x483a14(),_0x30b931=()=>{_0x3f745c['dispose']();const _0x11dfea=(_0x6989ea,_0xcf9617,_0x45cade,_0x8b88a3)=>{const _0x2e41ed=_0x2d55;let _0xd1ad30=[];switch(_0x6989ea['id']){case _0x21d024[_0x2e41ed(0x465)]['DeleteRangeMoveLeftCommandId']:{_0xd1ad30=_0x21d024['handleDeleteRangeMoveLeft'](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x116)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0x266)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)]['InsertColCommandId']:{_0xd1ad30=_0x21d024[_0x2e41ed(0x40d)](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x415)]:{_0xd1ad30=_0x21d024['handleInsertRangeMoveDown'](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x30b)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0xe8)](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x46e)]:{_0xd1ad30=_0x21d024['handleInsertRow'](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)]['MoveRangeCommandId']:{_0xd1ad30=_0x21d024[_0x2e41ed(0xa9)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x10b)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0x47e)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x287)]:{_0xd1ad30=_0x21d024['handleIRemoveRow'](_0x6989ea,_0x8b88a3);break;}}const _0x59c168=_0x21d024[_0x2e41ed(0xf2)](_0xd1ad30,_0x8b88a3),_0x1290e0=this[_0x2e41ed(0x24c)]['get'](_0xcf9617);if(_0x1290e0&&_0x59c168){const _0x12534a={..._0x1290e0,'range':_0x59c168};this['cursorInfo'][_0x2e41ed(0xbe)](_0xcf9617,_0x12534a),_0x47adcb(()=>{const _0x5e360b=_0x2e41ed,_0x4c8ea9=this[_0x5e360b(0x395)]['registerRefRange'](_0x59c168,_0x2e182c=>(_0x4c8ea9['dispose'](),_0x11dfea(_0x2e182c,_0xcf9617,_0x45cade,_0x59c168)));_0x3f745c['add'](_0x4c8ea9);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4d8471,_0x4780b0)=>{const _0x4a36ae=_0x2d55,{range:_0x599d8b,sheetID:_0x3d6939}=_0x4d8471,_0x3269eb=this[_0x4a36ae(0x395)][_0x4a36ae(0x2c2)](_0x599d8b,_0x42b14f=>(_0x3269eb[_0x4a36ae(0x19a)](),_0x11dfea(_0x42b14f,_0x4780b0,_0x3d6939,_0x599d8b)));_0x3f745c['add'](_0x3269eb);});};this[_0x2966b5(0x26e)](_0x132eb9['toDisposable'](this[_0x2966b5(0x19b)][_0x2966b5(0x2e1)](()=>{_0x30b931();})));}['_toggleOnline'](){const _0xa850ec=_0x474fca;var _0x130093,_0x24a556;if(this[_0xa850ec(0x13e)]=!0x0,((_0x130093=this['_univerInstanceService'][_0xa850ec(0x461)]())==null?void 0x0:_0x130093[_0xa850ec(0x225)]())!==this[_0xa850ec(0x176)])return;const _0xf772ae=(_0x24a556=this[_0xa850ec(0x306)][_0xa850ec(0x261)](_0x21d024['SheetsSelectionsService'])[_0xa850ec(0x1e9)]())==null?void 0x0:_0x24a556[0x0],_0x29ae47=this[_0xa850ec(0x1bd)][_0xa850ec(0x178)](_0x132eb9[_0xa850ec(0x44e)][_0xa850ec(0x1a0)])[_0xa850ec(0xba)]();_0xf772ae&&_0x29ae47&&this[_0xa850ec(0x166)](_0x29ae47[_0xa850ec(0x136)](),_0xf772ae);}[_0x474fca(0x24a)](){const _0x1648c6=_0x474fca;this[_0x1648c6(0x13e)]=!0x1;}};_0x3ff04d=_0x3d7b04([_0x42ea88(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x42ea88(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x35bdf6)),_0x42ea88(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x42ea88(0x5,_0x132eb9[_0x474fca(0x22d)]),_0x42ea88(0x6,_0x132eb9[_0x474fca(0x1f1)]),_0x42ea88(0x7,_0x132eb9['Inject'](_0x21d024[_0x474fca(0x397)]))],_0x3ff04d);var _0x19450e=Object['defineProperty'],_0x2eb5c0=Object[_0x474fca(0xcc)],_0x1c628d=(_0x4443a6,_0x1248bf,_0x3a4cce,_0x203de7)=>{const _0x2d6dab=_0x474fca;for(var _0x4e2e03=_0x203de7>0x1?void 0x0:_0x203de7?_0x2eb5c0(_0x1248bf,_0x3a4cce):_0x1248bf,_0x57293d=_0x4443a6[_0x2d6dab(0x2b9)]-0x1,_0x294caa;_0x57293d>=0x0;_0x57293d--)(_0x294caa=_0x4443a6[_0x57293d])&&(_0x4e2e03=(_0x203de7?_0x294caa(_0x1248bf,_0x3a4cce,_0x4e2e03):_0x294caa(_0x4e2e03))||_0x4e2e03);return _0x203de7&&_0x4e2e03&&_0x19450e(_0x1248bf,_0x3a4cce,_0x4e2e03),_0x4e2e03;},_0x5732fb=(_0x2be26e,_0x2643d3)=>(_0x1098bf,_0x508a92)=>_0x2643d3(_0x1098bf,_0x508a92,_0x2be26e);const _0x10fda4=0x12c,_0x4dcf0f=0x64;let _0xeb5f0e=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x291a2e,_0x2bf38e,_0xe41727,_0x24ff5a,_0x16c045,_0x3f7933,_0x2ff82b,_0x85cd34,_0x2a4b7f){const _0x3ede96=_0x474fca;super(),_0x3b7d06(this,_0x3ede96(0x13e),!0x1),_0x3b7d06(this,'_init',!0x1),_0x3b7d06(this,_0x3ede96(0x19b),new _0x3639ee[(_0x3ede96(0x2a0))](new Map())),_0x3b7d06(this,_0x3ede96(0x1f9),this[_0x3ede96(0x19b)][_0x3ede96(0x39b)]()),_0x3b7d06(this,'_roomMembers$',new _0x3639ee[(_0x3ede96(0x2a0))]([])),_0x3b7d06(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x3639ee[_0x3ede96(0x258)](_0x10fda4))),_0x3b7d06(this,_0x3ede96(0x166),_0x45c518(_0x38ac93=>{const _0xd68c64=_0x3ede96,_0x1e5b3c={'eventID':_0x1524d[_0xd68c64(0x2b2)][_0xd68c64(0x2f5)],'data':{'unitID':this[_0xd68c64(0x176)],'memberID':this[_0xd68c64(0x1b5)][_0xd68c64(0xda)](),'selection':_0x234122(_0x38ac93)}};this[_0xd68c64(0x1b5)][_0xd68c64(0x31a)](_0x1e5b3c,this[_0xd68c64(0x176)]);},_0x4dcf0f)),(this[_0x3ede96(0x176)]=_0x291a2e,this[_0x3ede96(0x1b5)]=_0x2bf38e,this['_injector']=_0xe41727,this[_0x3ede96(0x1a6)]=_0x24ff5a,this[_0x3ede96(0x205)]=_0x16c045,this[_0x3ede96(0x131)]=_0x3f7933,this['_transformService']=_0x2ff82b,this[_0x3ede96(0x1bd)]=_0x85cd34,this[_0x3ede96(0x1c9)]=_0x2a4b7f);}get[_0x474fca(0x24c)](){const _0x3c55de=_0x474fca;return this[_0x3c55de(0x19b)][_0x3c55de(0x2ff)]();}get[_0x474fca(0x372)](){const _0x4d9efc=_0x474fca;return this[_0x4d9efc(0x2bf)]['getValue']();}['dispose'](){const _0xb2e96a=_0x474fca;super[_0xb2e96a(0x19a)](),this[_0xb2e96a(0x19b)][_0xb2e96a(0x452)](new Map()),this[_0xb2e96a(0x19b)][_0xb2e96a(0x25f)](),this[_0xb2e96a(0x2bf)][_0xb2e96a(0x452)]([]),this[_0xb2e96a(0x2bf)][_0xb2e96a(0x25f)]();}[_0x474fca(0x1ed)](){const _0x10e2f1=_0x474fca;this[_0x10e2f1(0x1d5)]||(this[_0x10e2f1(0x1d5)]=!0x0,this[_0x10e2f1(0x1b5)][_0x10e2f1(0x326)][_0x10e2f1(0x195)](_0x3639ee['takeUntil'](this[_0x10e2f1(0x2b5)]))[_0x10e2f1(0x2e1)](_0x28fbed=>{const _0x48a14a=_0x10e2f1;_0x28fbed===_0x139854[_0x48a14a(0x31c)]?this[_0x48a14a(0x197)]():this['_toggleOffline']();}),this[_0x10e2f1(0x1b5)][_0x10e2f1(0x428)][_0x10e2f1(0x195)](_0x3639ee[_0x10e2f1(0x37a)](this['dispose$']))[_0x10e2f1(0x2e1)](_0x58b651=>{const _0x460dd8=_0x10e2f1,_0x48b271=_0x58b651[_0x460dd8(0x31f)];_0x48b271===_0x1524d['CollaborationEvent'][_0x460dd8(0x2f5)]&&this['_onCursorUpdate'](_0x58b651),_0x48b271===_0x1524d['CollaborationEvent'][_0x460dd8(0x458)]&&this[_0x460dd8(0x37d)](_0x58b651);}),this[_0x10e2f1(0x26e)](this[_0x10e2f1(0x1c9)][_0x10e2f1(0x344)](_0x5ef5e9=>{const _0xa28813=_0x10e2f1,_0x35fd8b=_0x5ef5e9['params'];_0x35fd8b!=null&&this[_0xa28813(0x13e)]&&_0x5ef5e9['id']===_0x4b287a[_0xa28813(0x1ff)]['id']&&_0x35fd8b[_0xa28813(0xa5)]===this['unitID']&&_0x35fd8b[_0xa28813(0x260)]===!0x1&&this[_0xa28813(0x166)](_0x35fd8b[_0xa28813(0x441)]);})),this['_syncEditingCollabCursorService'][_0x10e2f1(0xe2)][_0x10e2f1(0x195)](_0x3639ee['takeUntil'](this[_0x10e2f1(0x2b5)]))['subscribe'](_0x413847=>{const _0x508c91=_0x10e2f1;if((_0x413847==null?void 0x0:_0x413847['unitID'])!==this[_0x508c91(0x176)])return;const _0x50fe72={'eventID':_0x1524d[_0x508c91(0x2b2)]['UPDATE_CURSOR'],'data':_0x413847};this[_0x508c91(0x11b)](_0x50fe72);}),this['disposeWithMe'](this['_commandService'][_0x10e2f1(0x344)](_0x166689=>{const _0x26bed7=_0x10e2f1;if(_0x166689[_0x26bed7(0xe6)]==null)return;const _0x9a872a=_0x166689['params'];if(_0x166689['id']!==_0x4b287a[_0x26bed7(0x346)]['id']||_0x9a872a['unitId']!==this[_0x26bed7(0x176)])return;const _0x5a073e={'id':_0x26bed7(0x21b),'params':_0x9a872a},_0x1c2815=this[_0x26bed7(0x24c)];for(const [_0xa8ca5d,_0x378523]of _0x1c2815){const _0x19e229={'id':_0x26bed7(0x21b),'params':{'unitId':this[_0x26bed7(0x176)],'actions':null,'textRanges':_0x378523[_0x26bed7(0x441)]}},_0xdd37fc=this['_transformService']['transformMutation'](_0x5a073e,_0x19e229,!0x1);if(_0x1524d['isTransformMutationFailure'](_0xdd37fc))throw _0xdd37fc[_0x26bed7(0xf5)];_0x1c2815[_0x26bed7(0xbe)](_0xa8ca5d,{..._0x378523,'ranges':_0xdd37fc[_0x26bed7(0x43b)]['params']['textRanges']});}queueMicrotask(()=>{const _0x537231=_0x26bed7;this[_0x537231(0x19b)][_0x537231(0x452)](_0x1c2815);});})));}[_0x474fca(0x11b)](_0x42e1b3){const _0x138d12=_0x474fca;var _0x3a6ba4,_0x33bb11;const {memberID:_0x19804f,selection:_0x10b761}=_0x42e1b3[_0x138d12(0xe5)],_0x18f0b1=_0x20f365(_0x10b761),_0x1da464=(_0x33bb11=(_0x3a6ba4=this['_memberService'][_0x138d12(0x3ca)](this[_0x138d12(0x176)],_0x19804f))==null?void 0x0:_0x3a6ba4[_0x138d12(0x26d)])!=null?_0x33bb11:_0x138d12(0x1df),_0x400659={'color':this['_colorAssignService'][_0x138d12(0x18c)](_0x19804f),'name':_0x1da464,'ranges':_0x18f0b1},_0x378530=this[_0x138d12(0x24c)];_0x378530['set'](_0x19804f,_0x400659),this[_0x138d12(0x19b)]['next'](_0x378530);}[_0x474fca(0x37d)](_0x1160ff){const _0x314168=_0x474fca,{memberID:_0x326c8c}=_0x1160ff[_0x314168(0xe5)],_0x5ec6=this[_0x314168(0x24c)];_0x5ec6[_0x314168(0x224)](_0x326c8c),this['_cursorInfo$']['next'](_0x5ec6);}[_0x474fca(0x197)](){const _0x5a162d=_0x474fca;var _0x45bbaa;if(this['_online']=!0x0,((_0x45bbaa=this[_0x5a162d(0x1bd)]['getFocusedUnit']())==null?void 0x0:_0x45bbaa[_0x5a162d(0x225)]())!==this[_0x5a162d(0x176)])return;const _0x55727d=this[_0x5a162d(0x306)][_0x5a162d(0x261)](_0x4b287a[_0x5a162d(0x41a)])[_0x5a162d(0x196)](),_0x2bfe3e=_0x55727d==null?void 0x0:_0x55727d[_0x5a162d(0x18f)](_0x4b287a[_0x5a162d(0x40e)]);Array[_0x5a162d(0x2c8)](_0x2bfe3e)&&_0x2bfe3e['length']>0x0&&this[_0x5a162d(0x166)](_0x2bfe3e);}[_0x474fca(0x24a)](){this['_online']=!0x1;}};_0xeb5f0e=_0x1c628d([_0x5732fb(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5732fb(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x35bdf6)),_0x5732fb(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x5732fb(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x17ef3e)),_0x5732fb(0x6,_0x1524d[_0x474fca(0x439)]),_0x5732fb(0x7,_0x132eb9[_0x474fca(0x22d)]),_0x5732fb(0x8,_0x132eb9['ICommandService'])],_0xeb5f0e);var _0x48672b=Object[_0x474fca(0x109)],_0x2761f6=Object[_0x474fca(0xcc)],_0x3f4c15=(_0x225989,_0x51d21f,_0x8581f8,_0x4ffa25)=>{const _0x125774=_0x474fca;for(var _0x55cfa2=_0x4ffa25>0x1?void 0x0:_0x4ffa25?_0x2761f6(_0x51d21f,_0x8581f8):_0x51d21f,_0x4c1fdf=_0x225989[_0x125774(0x2b9)]-0x1,_0xe38e7b;_0x4c1fdf>=0x0;_0x4c1fdf--)(_0xe38e7b=_0x225989[_0x4c1fdf])&&(_0x55cfa2=(_0x4ffa25?_0xe38e7b(_0x51d21f,_0x8581f8,_0x55cfa2):_0xe38e7b(_0x55cfa2))||_0x55cfa2);return _0x4ffa25&&_0x55cfa2&&_0x48672b(_0x51d21f,_0x8581f8,_0x55cfa2),_0x55cfa2;},_0x356666=(_0x11f39b,_0xc491e0)=>(_0x4ef798,_0x4d1ec8)=>_0xc491e0(_0x4ef798,_0x4d1ec8,_0x11f39b);let _0x4073a6=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x54d54b,_0x4dbafb,_0x34e9b5){const _0x1f0f70=_0x474fca;super(),_0x3b7d06(this,_0x1f0f70(0xeb),new Map()),_0x3b7d06(this,'_entityInit$',new _0x3639ee[(_0x1f0f70(0x1cb))]()),(this['_univerInstanceService']=_0x54d54b,this[_0x1f0f70(0x306)]=_0x4dbafb,this[_0x1f0f70(0x32f)]=_0x34e9b5,this['_init']());}['dispose'](){const _0x28479b=_0x474fca;super['dispose'](),this[_0x28479b(0x44d)][_0x28479b(0x25f)](),this[_0x28479b(0xeb)][_0x28479b(0x173)](_0x269a44=>_0x269a44[_0x28479b(0x19a)]());}[_0x474fca(0x188)](_0xcb4a9b){const _0x380a40=_0x474fca;return this['_entities'][_0x380a40(0x400)](_0xcb4a9b)?this[_0x380a40(0xeb)][_0x380a40(0x261)](_0xcb4a9b)[_0x380a40(0x1f9)]:this[_0x380a40(0x44d)]['pipe'](_0x3639ee[_0x380a40(0x1cd)](_0x1b8b27=>_0x1b8b27['unitID']===_0xcb4a9b),_0x3639ee[_0x380a40(0x1b1)](_0x1ded80=>_0x1ded80['cursorInfo$']));}[_0x474fca(0x1d5)](){const _0x262ac1=_0x474fca;this[_0x262ac1(0x1bd)][_0x262ac1(0x25b)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x1a0)])[_0x262ac1(0x195)](_0x3639ee['takeUntil'](this[_0x262ac1(0x2b5)]))[_0x262ac1(0x2e1)](async _0x5a47cd=>{const _0xa10041=_0x262ac1,_0x54afb1=_0x5a47cd[_0xa10041(0x225)](),_0x4b6761=await this['_startSheetCollabCursor'](_0x54afb1);this[_0xa10041(0x44d)]['next'](_0x4b6761),this[_0xa10041(0xeb)][_0xa10041(0xbe)](_0x54afb1,_0x4b6761);}),this[_0x262ac1(0x1bd)]['getTypeOfUnitAdded$'](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x14d)])[_0x262ac1(0x195)](_0x3639ee['takeUntil'](this[_0x262ac1(0x2b5)]))['pipe'](_0x3639ee[_0x262ac1(0x1cd)](_0x16af0e=>!_0x16af0e[_0x262ac1(0x225)]()[_0x262ac1(0xd9)]('__')))[_0x262ac1(0x2e1)](async _0x4aaf66=>{const _0x2c7e68=_0x262ac1,_0x2fa1ff=_0x4aaf66[_0x2c7e68(0x225)](),_0x501ede=await this[_0x2c7e68(0x1ee)](_0x2fa1ff);this[_0x2c7e68(0x44d)][_0x2c7e68(0x452)](_0x501ede),this[_0x2c7e68(0xeb)][_0x2c7e68(0xbe)](_0x2fa1ff,_0x501ede);}),_0x3639ee[_0x262ac1(0xb5)](this[_0x262ac1(0x1bd)][_0x262ac1(0x2b7)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x14d)]),this[_0x262ac1(0x1bd)][_0x262ac1(0x2b7)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x1a0)]))[_0x262ac1(0x195)](_0x3639ee[_0x262ac1(0x37a)](this[_0x262ac1(0x2b5)]))['subscribe'](_0x4b887a=>{const _0x6b2cd9=_0x262ac1,_0x2f789e=_0x4b887a[_0x6b2cd9(0x225)](),_0xc762c1=this['_entities'][_0x6b2cd9(0x261)](_0x2f789e);_0xc762c1&&(_0xc762c1[_0x6b2cd9(0x19a)](),this[_0x6b2cd9(0xeb)][_0x6b2cd9(0x224)](_0x2f789e));});}async[_0x474fca(0x3fe)](_0x323186){const _0x5bb249=_0x474fca,_0x2e05ff=await this[_0x5bb249(0x32f)][_0x5bb249(0x21a)](_0x323186),_0x2a15c9=this[_0x5bb249(0x306)][_0x5bb249(0x192)](_0x3ff04d,_0x323186,_0x2e05ff);return _0x2a15c9[_0x5bb249(0x1ed)](),_0x2a15c9;}async[_0x474fca(0x1ee)](_0x4fa3d4){const _0x5747dd=_0x474fca,_0x2e8c01=await this[_0x5747dd(0x32f)][_0x5747dd(0x21a)](_0x4fa3d4),_0x462424=this[_0x5747dd(0x306)][_0x5747dd(0x192)](_0xeb5f0e,_0x4fa3d4,_0x2e8c01);return _0x462424['init'](),_0x462424;}};_0x4073a6=_0x3f4c15([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)]['Starting'],_0x4073a6),_0x356666(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x356666(0x1,_0x132eb9['Inject'](_0x132eb9['Injector'])),_0x356666(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)]))],_0x4073a6);const _0x2f3f31=0x14,_0x3237b5=0xc8,_0x9443c7=0x4,_0x2b099c=0x5;function _0x4a4535(_0x1c1d6a,_0xec32ac){const _0x28e253=_0x474fca;let {radius:_0xb74281,width:_0x8ace2f,height:_0x58a9a9}=_0xec32ac;_0xb74281=_0xb74281!=null?_0xb74281:0x0,_0x8ace2f=_0x8ace2f!=null?_0x8ace2f:0x1e,_0x58a9a9=_0x58a9a9!=null?_0x58a9a9:0x1e;let _0x48a5de=0x0,_0x10de1a=0x0,_0x10a1a1=0x0;_0x48a5de=_0x10de1a=_0x10a1a1=Math['min'](_0xb74281,_0x8ace2f/0x2,_0x58a9a9/0x2),_0x1c1d6a['beginPath'](),_0x1c1d6a[_0x28e253(0x17d)](_0x48a5de,0x0),_0x1c1d6a[_0x28e253(0x438)](_0x8ace2f-_0x10de1a,0x0),_0x1c1d6a[_0x28e253(0x214)](_0x8ace2f-_0x10de1a,_0x10de1a,_0x10de1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c1d6a[_0x28e253(0x438)](_0x8ace2f,_0x58a9a9-_0x10a1a1),_0x1c1d6a[_0x28e253(0x214)](_0x8ace2f-_0x10a1a1,_0x58a9a9-_0x10a1a1,_0x10a1a1,0x0,Math['PI']/0x2,!0x1),_0x1c1d6a[_0x28e253(0x438)](0x0,_0x58a9a9),_0x1c1d6a[_0x28e253(0x438)](0x0,_0x48a5de),_0x1c1d6a[_0x28e253(0x214)](_0x48a5de,_0x48a5de,_0x48a5de,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c1d6a['closePath'](),_0xec32ac[_0x28e253(0x32e)]&&(_0x1c1d6a[_0x28e253(0x30d)](),_0x1c1d6a[_0x28e253(0x31e)]=_0xec32ac[_0x28e253(0x32e)],_0xec32ac['fillRule']===_0x28e253(0x28d)?_0x1c1d6a['fill'](_0x28e253(0x28d)):_0x1c1d6a['fill'](),_0x1c1d6a[_0x28e253(0x253)]());}class _0x1313fc extends _0x24af47[_0x474fca(0x202)]{constructor(_0x4a81fc,_0x2ded20){const _0x5c88de=_0x474fca;super(_0x4a81fc,_0x2ded20),_0x3b7d06(this,_0x5c88de(0xfe)),_0x3b7d06(this,_0x5c88de(0x2af)),(this['color']=_0x2ded20==null?void 0x0:_0x2ded20[_0x5c88de(0xfe)],this['text']=_0x2ded20==null?void 0x0:_0x2ded20[_0x5c88de(0x2af)]);}static[_0x474fca(0x405)](_0x41f80d,_0x3fc33c){const _0x27d61a=_0x474fca,{text:_0x3d37ac,color:_0xe4bca7}=_0x3fc33c;_0x41f80d[_0x27d61a(0x30d)](),_0x41f80d[_0x27d61a(0x3a7)]=_0x27d61a(0x2fa);const _0x31c1c1=_0x41f80d[_0x27d61a(0x175)](_0x3d37ac)[_0x27d61a(0x299)],_0x24a54f=Math[_0x27d61a(0x24f)](_0x31c1c1+0x2*_0x9443c7,_0x3237b5);_0x4a4535(_0x41f80d,{'height':_0x2f3f31,'radius':0x4,'width':_0x24a54f,'fill':_0xe4bca7,'evented':!0x1}),_0x41f80d['fillStyle']=_0x27d61a(0xc2);const _0x42da39=_0x9443c7,_0x21b330=_0x2f3f31-_0x2b099c,_0x2e4076=_0x3237b5-0x2*_0x9443c7;if(_0x31c1c1>_0x2e4076){let _0x35228d='',_0x3e7655=0x0;for(const _0x4e3599 of _0x3d37ac){const _0x3ea0d3=_0x41f80d[_0x27d61a(0x175)](_0x4e3599)[_0x27d61a(0x299)];if(_0x3e7655+_0x3ea0d3<=_0x2e4076-_0x41f80d[_0x27d61a(0x175)](_0x27d61a(0xaa))[_0x27d61a(0x299)])_0x35228d+=_0x4e3599,_0x3e7655+=_0x3ea0d3;else{_0x35228d+=_0x27d61a(0xaa);break;}}_0x41f80d['fillText'](_0x35228d,_0x42da39,_0x21b330);}else _0x41f80d[_0x27d61a(0x352)](_0x3d37ac,_0x42da39,_0x21b330);_0x41f80d[_0x27d61a(0x253)]();}[_0x474fca(0x1ad)](_0x5a47e1){const _0x59e405=_0x474fca;_0x1313fc[_0x59e405(0x405)](_0x5a47e1,this);}}const _0x1feba6=0x1,_0x106809=1.5;class _0x57dbff extends _0x24af47[_0x474fca(0x202)]{constructor(_0x2192ed,_0x5ee5b0){const _0x3bdab7=_0x474fca;super(_0x2192ed,_0x5ee5b0),_0x3b7d06(this,'_color'),_0x3b7d06(this,_0x3bdab7(0x115),!0x1),_0x3b7d06(this,_0x3bdab7(0x15c)),_0x3b7d06(this,'_name',''),_0x3b7d06(this,'_labelPosition',_0x3bdab7(0x425)),_0x3b7d06(this,'_backgroundColor'),(_0x5ee5b0&&this[_0x3bdab7(0x378)](_0x5ee5b0),this[_0x3bdab7(0xb6)][_0x3bdab7(0xb7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3bdab7(0x46c)][_0x3bdab7(0xb7)](()=>this[_0x3bdab7(0x378)]({'hovered':!0x1})));}[_0x474fca(0x378)](_0x2f8655){const _0x3c1ee2=_0x474fca;var _0x6ba636,_0x2e768d,_0x3df2a2,_0x2245f5,_0x3867d7,_0x341471;this[_0x3c1ee2(0x34c)]=(_0x6ba636=_0x2f8655[_0x3c1ee2(0xfe)])!=null?_0x6ba636:this[_0x3c1ee2(0x34c)],this[_0x3c1ee2(0x115)]=(_0x2e768d=_0x2f8655[_0x3c1ee2(0x32b)])!=null?_0x2e768d:this[_0x3c1ee2(0x115)],this[_0x3c1ee2(0x15c)]=(_0x3df2a2=_0x2f8655[_0x3c1ee2(0x153)])!=null?_0x3df2a2:this[_0x3c1ee2(0x15c)],this[_0x3c1ee2(0x3a9)]=(_0x2245f5=_0x2f8655[_0x3c1ee2(0x26d)])!=null?_0x2245f5:this['_name'],this[_0x3c1ee2(0x34d)]=(_0x3867d7=_0x2f8655[_0x3c1ee2(0x334)])!=null?_0x3867d7:this[_0x3c1ee2(0x34d)],this[_0x3c1ee2(0x3ae)]=(_0x341471=_0x2f8655[_0x3c1ee2(0x20a)])!=null?_0x341471:this[_0x3c1ee2(0x3ae)],this[_0x3c1ee2(0x3aa)]({'width':_0x2f8655['width'],'height':_0x2f8655[_0x3c1ee2(0x3f4)]});}['onMouseMove'](_0xf92cad){const _0x7684b=_0x474fca,{row:_0x22a4d5,column:_0x173ccd}=_0xf92cad;if(_0x22a4d5>=this[_0x7684b(0x15c)][_0x7684b(0x1d0)]&&_0x22a4d5<=this[_0x7684b(0x15c)][_0x7684b(0xd1)]&&_0x173ccd>=this[_0x7684b(0x15c)][_0x7684b(0x2ce)]&&_0x173ccd<=this[_0x7684b(0x15c)][_0x7684b(0x191)]){this[_0x7684b(0x378)]({'hovered':!0x0});return;}this[_0x7684b(0x378)]({'hovered':!0x1});}[_0x474fca(0x325)](_0x2ba2c9){return!0x1;}['_draw'](_0x346ed1){const _0x31a9fa=_0x474fca;_0x24af47[_0x31a9fa(0x411)][_0x31a9fa(0x405)](_0x346ed1,{'width':this[_0x31a9fa(0x299)],'height':this['height'],'strokeWidth':_0x106809,'stroke':this[_0x31a9fa(0x34c)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31a9fa(0x115)]&&(_0x346ed1['save'](),_0x346ed1[_0x31a9fa(0x206)](0x1,0x0,0x0,0x1,this[_0x31a9fa(0x299)],this['_labelPosition']===_0x31a9fa(0x155)?0x0:-_0x2f3f31),_0x1313fc[_0x31a9fa(0x405)](_0x346ed1,{'text':this[_0x31a9fa(0x3a9)],'color':this[_0x31a9fa(0x34c)]}),_0x346ed1[_0x31a9fa(0x253)]());}}var _0x1d4d01=Object[_0x474fca(0x109)],_0x4c5650=Object[_0x474fca(0xcc)],_0x32374c=(_0x5a1d3e,_0x3ee782,_0x4698d4,_0x50ae17)=>{const _0x132239=_0x474fca;for(var _0x4c2bb1=_0x50ae17>0x1?void 0x0:_0x50ae17?_0x4c5650(_0x3ee782,_0x4698d4):_0x3ee782,_0x4fa270=_0x5a1d3e[_0x132239(0x2b9)]-0x1,_0x5ca9b4;_0x4fa270>=0x0;_0x4fa270--)(_0x5ca9b4=_0x5a1d3e[_0x4fa270])&&(_0x4c2bb1=(_0x50ae17?_0x5ca9b4(_0x3ee782,_0x4698d4,_0x4c2bb1):_0x5ca9b4(_0x4c2bb1))||_0x4c2bb1);return _0x50ae17&&_0x4c2bb1&&_0x1d4d01(_0x3ee782,_0x4698d4,_0x4c2bb1),_0x4c2bb1;},_0x26eb38=(_0x4eb750,_0x114191)=>(_0x151f29,_0x29a730)=>_0x114191(_0x151f29,_0x29a730,_0x4eb750);const _0x1e90e7=0x1389;let _0x57fff8=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x557200,_0x29af90,_0x2b4370,_0x266d3e){const _0x33078c=_0x474fca;super(),_0x3b7d06(this,_0x33078c(0x29f),new Set()),_0x3b7d06(this,_0x33078c(0x404),null),(this[_0x33078c(0x3b9)]=_0x557200,this[_0x33078c(0x268)]=_0x29af90,this[_0x33078c(0x1f0)]=_0x2b4370,this[_0x33078c(0x45b)]=_0x266d3e,this['_init']());}['_init'](){const _0x4ebbb1=_0x474fca;this[_0x4ebbb1(0x268)][_0x4ebbb1(0x1fe)][_0x4ebbb1(0x195)](_0x5d8ab5[_0x4ebbb1(0x37a)](this[_0x4ebbb1(0x2b5)]),_0x5d8ab5['switchMap'](_0x47333c=>{const _0x24c094=_0x4ebbb1;if(_0x47333c){const _0x266de9=_0x47333c[_0x24c094(0x149)];return _0x3639ee[_0x24c094(0x300)](this['_collabCursorController'][_0x24c094(0x188)](this[_0x24c094(0x3b9)][_0x24c094(0xa5)]),this[_0x24c094(0x45b)][_0x24c094(0x43a)])[_0x24c094(0x195)](_0x5d8ab5[_0x24c094(0x18f)](([_0x314564,_0x431369])=>{const _0x4b4a07=new Map();return _0x314564['forEach']((_0x9a9fd3,_0x35afda)=>{const _0x4045c2=_0x2d55;if(_0x9a9fd3[_0x4045c2(0x27b)]===_0x266de9){const _0x3ed01a={..._0x9a9fd3};_0x3ed01a['color']=_0x431369[_0x9a9fd3['color']],_0x4b4a07[_0x4045c2(0xbe)](_0x35afda,_0x3ed01a);}}),{'skeleton':_0x47333c,'cursors':_0x4b4a07};}));}return _0x3639ee['of']({'skeleton':null,'cursors':new Map()});}))[_0x4ebbb1(0x2e1)](({skeleton:_0x334152,cursors:_0x5057f8})=>{this['_removeCollabCursors'](),_0x334152&&this['_updateCollabCursors'](_0x334152,_0x5057f8);}),this[_0x4ebbb1(0x268)][_0x4ebbb1(0x1fe)][_0x4ebbb1(0x2e1)](_0x10ccca=>{const _0x226fc0=_0x4ebbb1;if(_0x10ccca==null)return;const {skeleton:_0x41c85d}=_0x10ccca,{scene:_0x585305}=this['_context'];_0x585305[_0x226fc0(0x36d)][_0x226fc0(0xb7)](_0x45c518(_0x47f584=>{const _0x5826ba=_0x226fc0;var _0x37de7c,_0x24d5c9;const {offsetX:_0x44c275,offsetY:_0x6f2b08}=_0x47f584,{x:_0x450bf3,y:_0x464b28}=_0x585305[_0x5826ba(0x3e7)](_0x24af47[_0x5826ba(0x47f)][_0x5826ba(0x1dd)]([_0x44c275,_0x6f2b08])),{scaleX:_0x4871ba,scaleY:_0x490b42}=_0x585305['getAncestorScale'](),_0x7acf86=_0x585305[_0x5826ba(0x44c)](_0x12bc0e[_0x5826ba(0x3f3)]['VIEW_MAIN']),_0x1c5160=_0x585305['getVpScrollXYInfoByPosToVp'](_0x24af47[_0x5826ba(0x47f)]['FromArray']([_0x450bf3,_0x464b28]),_0x7acf86),_0x188b92=_0x41c85d[_0x5826ba(0x150)](_0x44c275,_0x6f2b08,_0x4871ba,_0x490b42,_0x1c5160);((_0x37de7c=this[_0x5826ba(0x404)])==null?void 0x0:_0x37de7c['column'])===_0x188b92[_0x5826ba(0x3cd)]&&((_0x24d5c9=this[_0x5826ba(0x404)])==null?void 0x0:_0x24d5c9[_0x5826ba(0x3b5)])===_0x188b92[_0x5826ba(0x3b5)]||this[_0x5826ba(0x29f)][_0x5826ba(0x173)](_0x2cb82b=>{const _0x2e0dc5=_0x5826ba;_0x2cb82b[_0x2e0dc5(0x139)](_0x188b92);});},0x64));});}[_0x474fca(0x479)](_0x10af8a,_0x57c38e){const _0x275fe6=_0x474fca;var _0x57e411;const _0x3af384=(_0x57e411=this['_sheetSkeletonManagerService'][_0x275fe6(0x3d4)]())==null?void 0x0:_0x57e411[_0x275fe6(0x1bb)];if(!_0x3af384)return;const _0x52fbe5=this[_0x275fe6(0x3b8)]();if(!_0x52fbe5)return;this[_0x275fe6(0x29f)][_0x275fe6(0x173)](_0x5c00a3=>{const _0x16239e=_0x275fe6;_0x5c00a3[_0x16239e(0x316)]();});const {scene:_0x3c0e68}=_0x52fbe5,_0x20ebbb=_0x210472(Array[_0x275fe6(0x222)](_0x57c38e['values']()))[_0x275fe6(0x18f)](_0x5d5538=>{const _0x119363=_0x275fe6,{color:_0x271dbf,range:_0x31a3b3,name:_0x352d9b,selection:_0x1bc13a,sheetID:_0x46b1d8}=_0x5d5538,{startColumn:_0x121e83,startRow:_0x2ebc0c,endColumn:_0x4a0599,endRow:_0xcb3c82}=_0x31a3b3,_0x2560f9=_0x12bc0e['getCoordByCell'](_0x2ebc0c,_0x121e83,_0x3c0e68,_0x3af384),_0xebd39a=_0x12bc0e[_0x119363(0x2e6)](_0xcb3c82,_0x4a0599,_0x3c0e68,_0x3af384),{columnHeaderHeightAndMarginTop:_0x4adb61}=_0x3af384,{startX:_0x56c16a,startY:_0x4949ae}=_0x2560f9,{endX:_0x189706,endY:_0x197f4b}=_0xebd39a,_0xb1e0bd=_0x189706-_0x56c16a,_0x5c8a47=_0x197f4b-_0x4949ae,_0x33c426={'labelPosition':_0x4949ae-_0x4adb61>=_0x2f3f31?_0x119363(0x425):_0x119363(0x155),'sheetID':_0x46b1d8,'range':_0x31a3b3,'color':_0x271dbf,'name':_0x352d9b,'selection':_0x1bc13a,'left':_0x56c16a,'top':_0x4949ae,'width':_0xb1e0bd,'height':_0x5c8a47,'evented':!0x1,'zIndex':_0x1e90e7};return new _0x57dbff(_0x352d9b,_0x33c426);});_0x3c0e68[_0x275fe6(0x328)](_0x20ebbb,_0x1feba6),this[_0x275fe6(0x29f)]=new Set(_0x20ebbb);}[_0x474fca(0xd2)](){const _0x551107=_0x474fca;var _0x784584;(_0x784584=this[_0x551107(0x29f)])==null||_0x784584[_0x551107(0x173)](_0x335ed7=>_0x335ed7[_0x551107(0x19a)]());}['_getSheetObject'](){const _0x140df1=_0x474fca;return _0x12bc0e['getSheetObject'](this[_0x140df1(0x3b9)][_0x140df1(0x323)],this[_0x140df1(0x3b9)]);}};_0x57fff8=_0x32374c([_0x26eb38(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x12bc0e[_0x474fca(0x388)])),_0x26eb38(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x4073a6)),_0x26eb38(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x369)]))],_0x57fff8);function _0x210472(_0x298fa1){const _0x23555f=_0x474fca,_0x2c135e=new Map();return _0x298fa1[_0x23555f(0x173)](_0x16b235=>{const _0x56ec3b=_0x23555f;if(_0x2c135e[_0x56ec3b(0x400)](_0x16b235[_0x56ec3b(0x1f4)])){const _0x195441=_0x2c135e[_0x56ec3b(0x261)](_0x16b235[_0x56ec3b(0x1f4)]);_0x195441['name']+=',\x20'+_0x16b235['name'];}else _0x2c135e[_0x56ec3b(0xbe)](_0x16b235[_0x56ec3b(0x1f4)],_0x16b235);}),Array['from'](_0x2c135e[_0x23555f(0x42c)]());}var _0x1b7fd1=function(){return _0x1b7fd1=Object['assign']||function(_0x2b6e8a){const _0x21a88c=_0x2d55;for(var _0x51abe9,_0x2073aa=0x1,_0x3ff668=arguments[_0x21a88c(0x2b9)];_0x2073aa<_0x3ff668;_0x2073aa++){_0x51abe9=arguments[_0x2073aa];for(var _0x127d27 in _0x51abe9)Object['prototype'][_0x21a88c(0x1d3)]['call'](_0x51abe9,_0x127d27)&&(_0x2b6e8a[_0x127d27]=_0x51abe9[_0x127d27]);}return _0x2b6e8a;},_0x1b7fd1['apply'](this,arguments);},_0x2a037c=function(_0x4b912f,_0x4228){const _0x30c422=_0x474fca;var _0xfa0707={};for(var _0x41c64a in _0x4b912f)Object[_0x30c422(0x2be)]['hasOwnProperty'][_0x30c422(0x1c7)](_0x4b912f,_0x41c64a)&&_0x4228['indexOf'](_0x41c64a)<0x0&&(_0xfa0707[_0x41c64a]=_0x4b912f[_0x41c64a]);if(_0x4b912f!=null&&typeof Object[_0x30c422(0xc1)]==_0x30c422(0x36c)){for(var _0x5a19d2=0x0,_0x41c64a=Object[_0x30c422(0xc1)](_0x4b912f);_0x5a19d2<_0x41c64a[_0x30c422(0x2b9)];_0x5a19d2++)_0x4228[_0x30c422(0x36b)](_0x41c64a[_0x5a19d2])<0x0&&Object['prototype'][_0x30c422(0xf4)][_0x30c422(0x1c7)](_0x4b912f,_0x41c64a[_0x5a19d2])&&(_0xfa0707[_0x41c64a[_0x5a19d2]]=_0x4b912f[_0x41c64a[_0x5a19d2]]);}return _0xfa0707;},_0x4bd657=_0x58a26a[_0x474fca(0x291)](function(_0x565742,_0x32cc35){const _0x38bcf3=_0x474fca;var _0x18c57f=_0x565742['icon'],_0x397d8a=_0x565742['id'],_0x33fb5b=_0x565742['className'],_0x3613c8=_0x565742[_0x38bcf3(0x110)],_0x40347b=_0x2a037c(_0x565742,[_0x38bcf3(0x111),'id',_0x38bcf3(0x3df),_0x38bcf3(0x110)]),_0x4db4f3='univerjs-icon\x20univerjs-icon-'[_0x38bcf3(0x141)](_0x397d8a,'\x20')[_0x38bcf3(0x141)](_0x33fb5b||'')[_0x38bcf3(0x3b4)](),_0x395e18=_0x58a26a[_0x38bcf3(0x3dd)]('_'[_0x38bcf3(0x141)](_0x1f7d3a()));return _0x372787(_0x18c57f,''[_0x38bcf3(0x141)](_0x397d8a),{'defIds':_0x18c57f[_0x38bcf3(0x3bf)],'idSuffix':_0x395e18['current']},_0x1b7fd1({'ref':_0x32cc35,'className':_0x4db4f3},_0x40347b),_0x3613c8);});function _0x372787(_0x4a0756,_0x5a59b5,_0x5e3b66,_0x520ba5,_0xc9b45){const _0x9c1937=_0x474fca;return _0x58a26a[_0x9c1937(0x2a4)](_0x4a0756[_0x9c1937(0x168)],_0x1b7fd1(_0x1b7fd1({'key':_0x5a59b5},_0x3e3951(_0x4a0756,_0x5e3b66,_0xc9b45)),_0x520ba5),(_0x407c17(_0x4a0756,_0x5e3b66)['children']||[])[_0x9c1937(0x18f)](function(_0x2ab57,_0x8a484f){const _0x3dfa50=_0x9c1937;return _0x372787(_0x2ab57,''['concat'](_0x5a59b5,'-')['concat'](_0x4a0756[_0x3dfa50(0x168)],'-')['concat'](_0x8a484f),_0x5e3b66,void 0x0,_0xc9b45);}));}function _0x3e3951(_0x576782,_0x5c41fe,_0x333a6d){const _0x5022ef=_0x474fca;var _0x11fed5=_0x1b7fd1({},_0x576782['attrs']);_0x333a6d!=null&&_0x333a6d['colorChannel1']&&_0x11fed5[_0x5022ef(0x32e)]===_0x5022ef(0x284)&&(_0x11fed5[_0x5022ef(0x32e)]=_0x333a6d[_0x5022ef(0x284)]);var _0x36e23f=_0x5c41fe[_0x5022ef(0x3bf)];return!_0x36e23f||_0x36e23f[_0x5022ef(0x2b9)]===0x0||(_0x576782[_0x5022ef(0x168)]===_0x5022ef(0x3ed)&&_0x11fed5['xlink:href']&&(_0x11fed5['xlink:href']=_0x11fed5[_0x5022ef(0x1cf)]+_0x5c41fe[_0x5022ef(0x43e)]),Object[_0x5022ef(0x402)](_0x11fed5)[_0x5022ef(0x173)](function(_0x3e408a){const _0x3ccf98=_0x5022ef;var _0x1fffaa=_0x3e408a[0x0],_0xb5e0c1=_0x3e408a[0x1];typeof _0xb5e0c1=='string'&&(_0x11fed5[_0x1fffaa]=_0xb5e0c1[_0x3ccf98(0x15a)](/url\(#(.*)\)/,_0x3ccf98(0xb9)['concat'](_0x5c41fe[_0x3ccf98(0x43e)],')')));})),_0x11fed5;}function _0x407c17(_0x54c0a7,_0x3b338f){const _0x3a34f1=_0x474fca;var _0x5ab161,_0x210a3b=_0x3b338f[_0x3a34f1(0x3bf)];return!_0x210a3b||_0x210a3b[_0x3a34f1(0x2b9)]===0x0?_0x54c0a7:_0x54c0a7[_0x3a34f1(0x168)]===_0x3a34f1(0x219)&&(!((_0x5ab161=_0x54c0a7[_0x3a34f1(0x159)])===null||_0x5ab161===void 0x0)&&_0x5ab161[_0x3a34f1(0x2b9)])?_0x1b7fd1(_0x1b7fd1({},_0x54c0a7),{'children':_0x54c0a7[_0x3a34f1(0x159)]['map'](function(_0x2ad4c9){const _0xc3ed1f=_0x3a34f1;return typeof _0x2ad4c9[_0xc3ed1f(0x1e0)]['id']==_0xc3ed1f(0x20d)&&_0x210a3b&&_0x210a3b['indexOf'](_0x2ad4c9[_0xc3ed1f(0x1e0)]['id'])>-0x1?_0x1b7fd1(_0x1b7fd1({},_0x2ad4c9),{'attrs':_0x1b7fd1(_0x1b7fd1({},_0x2ad4c9[_0xc3ed1f(0x1e0)]),{'id':_0x2ad4c9['attrs']['id']+_0x3b338f[_0xc3ed1f(0x43e)]})}):_0x2ad4c9;})}):_0x54c0a7;}function _0x1f7d3a(){const _0x55a760=_0x474fca;return Math[_0x55a760(0x319)]()[_0x55a760(0xa2)](0x24)[_0x55a760(0x13d)](0x2,0x8);}_0x4bd657['displayName']='UniverIcon';var _0xfb323e={'tag':_0x474fca(0x9a),'attrs':{'fill':_0x474fca(0x376),'viewBox':'0\x200\x2016\x2016','width':_0x474fca(0x1ef),'height':_0x474fca(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x474fca(0x242),'attrs':{'stroke':_0x474fca(0x22f),'d':_0x474fca(0x2e9),'strokeLinecap':_0x474fca(0x3ba),'strokeLinejoin':_0x474fca(0x3ba),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x474fca(0xc7),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x474fca(0x242),'attrs':{'fill':_0x474fca(0xc4),'d':_0x474fca(0x1d1)}}]}]}],'defIds':[_0x474fca(0x194)]},_0x58f827=_0x58a26a[_0x474fca(0x291)](function(_0x18f8bf,_0x44ed30){const _0x550b7e=_0x474fca;return _0x58a26a['createElement'](_0x4bd657,Object[_0x550b7e(0x433)]({},_0x18f8bf,{'id':'off-line-single','ref':_0x44ed30,'icon':_0xfb323e}));});_0x58f827[_0x474fca(0x3a1)]=_0x474fca(0x125);var _0x3f2c1b={'tag':_0x474fca(0x9a),'attrs':{'fill':_0x474fca(0x376),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x474fca(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':_0x474fca(0x247)},'children':[{'tag':_0x474fca(0x242),'attrs':{'stroke':_0x474fca(0x22f),'d':_0x474fca(0x142),'strokeLinecap':_0x474fca(0x3ba),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x474fca(0x219),'attrs':{},'children':[{'tag':_0x474fca(0xc7),'attrs':{'id':_0x474fca(0x26c)},'children':[{'tag':_0x474fca(0x242),'attrs':{'fill':_0x474fca(0xc4),'d':_0x474fca(0x1d1),'transform':'translate(.97)'}}]}]}],'defIds':[_0x474fca(0x26c)]},_0x2c2e2d=_0x58a26a[_0x474fca(0x291)](function(_0x2609fa,_0x58999b){const _0x1d090d=_0x474fca;return _0x58a26a[_0x1d090d(0x2a4)](_0x4bd657,Object['assign']({},_0x2609fa,{'id':'on-line-single','ref':_0x58999b,'icon':_0x3f2c1b}));});_0x2c2e2d[_0x474fca(0x3a1)]=_0x474fca(0x1b6);const _0x24640e={'onlineStatusIcon':_0x474fca(0xcd),'onlineStatusTitle':_0x474fca(0x296),'onlineStatus':'univer-online-status','online':_0x474fca(0x383),'offline':_0x474fca(0x384)};function _0x4e1526(_0x23b1b3){const _0x2e0165=_0x474fca;switch(_0x23b1b3){case _0x3e6ce[_0x2e0165(0x35a)]:return _0x2e0165(0xbf);case _0x3e6ce['CONFLICT']:return _0x2e0165(0x2c3);case _0x3e6ce[_0x2e0165(0x2a7)]:return _0x2e0165(0x3b3);case _0x3e6ce['NOT_COLLAB']:return'collabStatus.notCollab';case _0x3e6ce[_0x2e0165(0x408)]:case _0x3e6ce[_0x2e0165(0x3be)]:case _0x3e6ce['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3e6ce[_0x2e0165(0xd8)]:return _0x2e0165(0xed);}}function _0x26ba18(_0x831f82){const _0x403a01=_0x474fca,{status$:_0x35baed}=_0x831f82,_0x27bb04=_0x202279['useObservable'](_0x35baed,_0x3e6ce[_0x403a01(0x283)]),_0x5e46bd=_0x132eb9[_0x403a01(0x1e8)](_0x132eb9[_0x403a01(0x318)]),_0xd3fae9=_0x27bb04!==_0x3e6ce['OFFLINE'],_0x54ea7e=_0x5e46bd['t'](_0x4e1526(_0x27bb04)),_0x583816=_0x3a1d76(_0x24640e[_0x403a01(0x445)],{[_0x24640e[_0x403a01(0x342)]]:_0xd3fae9,[_0x24640e[_0x403a01(0x2b3)]]:!_0xd3fae9}),_0x152d29=_0xd3fae9?_0x58a26a[_0x403a01(0x2a4)](_0x2c2e2d,null):_0x58a26a[_0x403a01(0x2a4)](_0x58f827,null);return _0x58a26a[_0x403a01(0x2a4)](_0x403a01(0x279),{'className':_0x583816},_0x58a26a['createElement'](_0x403a01(0x279),{'className':_0x24640e[_0x403a01(0x187)]},_0x152d29),_0x58a26a[_0x403a01(0x2a4)](_0x403a01(0x279),{'className':_0x24640e['onlineStatusTitle']},_0x54ea7e));}var _0x24ba1c=Object[_0x474fca(0x109)],_0x147542=Object[_0x474fca(0xcc)],_0x16e74c=(_0x319621,_0x4eb905,_0x1cdf05,_0x24a8b8)=>{const _0x543402=_0x474fca;for(var _0x25c92d=_0x24a8b8>0x1?void 0x0:_0x24a8b8?_0x147542(_0x4eb905,_0x1cdf05):_0x4eb905,_0x196d71=_0x319621[_0x543402(0x2b9)]-0x1,_0x24629b;_0x196d71>=0x0;_0x196d71--)(_0x24629b=_0x319621[_0x196d71])&&(_0x25c92d=(_0x24a8b8?_0x24629b(_0x4eb905,_0x1cdf05,_0x25c92d):_0x24629b(_0x25c92d))||_0x25c92d);return _0x24a8b8&&_0x25c92d&&_0x24ba1c(_0x4eb905,_0x1cdf05,_0x25c92d),_0x25c92d;},_0x2430f9=(_0x540ecb,_0x2b29d3)=>(_0x3d4abf,_0x100956)=>_0x2b29d3(_0x3d4abf,_0x100956,_0x540ecb);_0x48d167['DesktopCollaborationStatusDisplayController']=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x54ea97,_0x224acf,_0x55905d,_0x3a9d0a){const _0x3ef03f=_0x474fca;super(),_0x3b7d06(this,_0x3ef03f(0x2d7),new _0x3639ee[(_0x3ef03f(0x2a0))](_0x3e6ce['NOT_COLLAB'])),(this['_univerInstanceService']=_0x54ea97,this['_uiPartsService']=_0x224acf,this['_injector']=_0x55905d,this['_collaborationController']=_0x3a9d0a,this[_0x3ef03f(0x363)](),this[_0x3ef03f(0x3cf)]());}[_0x474fca(0x363)](){const _0x24963f=_0x474fca;this[_0x24963f(0x26e)](this[_0x24963f(0x41f)]['registerComponent'](_0x202279[_0x24963f(0x295)][_0x24963f(0x3e5)],()=>_0x132eb9['connectInjector'](_0x59c220({'status$':this[_0x24963f(0x2d7)]['asObservable']()}),this['_injector'])));}['_initStatusListener'](){const _0x488a8b=_0x474fca;this['disposeWithMe'](_0x132eb9[_0x488a8b(0x2c0)](this[_0x488a8b(0x1bd)][_0x488a8b(0x401)][_0x488a8b(0x195)](_0x3639ee['switchMap'](()=>{const _0x542d30=_0x488a8b,_0x1313c8=this[_0x542d30(0x1bd)][_0x542d30(0x461)]();return _0x1313c8?this['_collaborationController'][_0x542d30(0x1c8)](_0x1313c8[_0x542d30(0x225)]()):_0x3639ee['of'](null);}),_0x3639ee['switchMap'](_0x54edd7=>_0x54edd7?_0x54edd7[_0x488a8b(0x382)]:_0x3639ee['of'](_0x3e6ce['NOT_COLLAB'])))[_0x488a8b(0x2e1)](_0x2c59f7=>{const _0x1ee471=_0x488a8b;this[_0x1ee471(0x2d7)][_0x1ee471(0x452)](_0x2c59f7);})));}},_0x48d167[_0x474fca(0x3dc)]=_0x16e74c([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9['LifecycleStages']['Starting'],_0x48d167[_0x474fca(0x3dc)]),_0x2430f9(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x2430f9(0x1,_0x202279[_0x474fca(0x45e)]),_0x2430f9(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x2430f9(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x251)]))],_0x48d167[_0x474fca(0x3dc)]);function _0x59c220(_0x105480){const {status$:_0x24c866}=_0x105480;return function(){const _0x4c8e2a=_0x2d55;return _0x58a26a[_0x4c8e2a(0x2a4)](_0x26ba18,{'status$':_0x24c866});};}const _0x454085=_0x132eb9['createIdentifier'](_0x474fca(0x46b));var _0x231f8f=Object[_0x474fca(0x109)],_0x5b8202=Object['getOwnPropertyDescriptor'],_0x3bfa67=(_0x142fa8,_0x2e509e,_0x1e0713,_0x2124aa)=>{const _0x2ee086=_0x474fca;for(var _0x2c7536=_0x2124aa>0x1?void 0x0:_0x2124aa?_0x5b8202(_0x2e509e,_0x1e0713):_0x2e509e,_0x5a683c=_0x142fa8[_0x2ee086(0x2b9)]-0x1,_0x581dab;_0x5a683c>=0x0;_0x5a683c--)(_0x581dab=_0x142fa8[_0x5a683c])&&(_0x2c7536=(_0x2124aa?_0x581dab(_0x2e509e,_0x1e0713,_0x2c7536):_0x581dab(_0x2c7536))||_0x2c7536);return _0x2124aa&&_0x2c7536&&_0x231f8f(_0x2e509e,_0x1e0713,_0x2c7536),_0x2c7536;},_0x4f1e6c=(_0x5d4c5f,_0x5a2aff)=>(_0x4db2c3,_0x959b38)=>_0x5a2aff(_0x4db2c3,_0x959b38,_0x5d4c5f);_0x48d167['DataLoaderController']=class extends _0x132eb9['RxDisposable']{constructor(_0x290157,_0x512cee,_0x43d93f,_0x51ced9,_0x1c72ba,_0x253719){const _0x43fa5c=_0x474fca;super(),this[_0x43fa5c(0x371)]=_0x290157,this[_0x43fa5c(0x1ac)]=_0x512cee,this[_0x43fa5c(0x1c9)]=_0x43d93f,this[_0x43fa5c(0x40b)]=_0x51ced9,this[_0x43fa5c(0x16b)]=_0x1c72ba,_0x253719?_0x253719==null||_0x253719[_0x43fa5c(0x9c)]()[_0x43fa5c(0x321)](()=>this[_0x43fa5c(0x1d5)]()):(this['_logService'][_0x43fa5c(0x19c)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x43fa5c(0x1d5)]());}async[_0x474fca(0x1d5)](){const _0x30d842=_0x474fca,_0x456b6a=this[_0x30d842(0x371)][_0x30d842(0x30c)]('unit'),_0x1084ef=this[_0x30d842(0x371)]['getParam'](_0x30d842(0x11a));if(!_0x456b6a||!_0x1084ef){this[_0x30d842(0x1ac)][_0x30d842(0x19c)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x1084ef)){case _0x2f5f8c[_0x30d842(0x1a0)]:{const _0x39f4a8=await this[_0x30d842(0x387)](_0x456b6a);this[_0x30d842(0x3cc)](_0x39f4a8);break;}case _0x2f5f8c['UNIVER_DOC']:{await this[_0x30d842(0x15e)](_0x456b6a);break;}default:{this[_0x30d842(0x1ac)][_0x30d842(0xf5)](_0x30d842(0x1b0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x474fca(0x3cc)](_0x503ff2){const _0x42d8fa=_0x474fca;await this[_0x42d8fa(0xae)](_0x503ff2),_0x503ff2['activeSheet$'][_0x42d8fa(0x195)](_0x3639ee['takeUntil'](this[_0x42d8fa(0x2b5)]))[_0x42d8fa(0x2e1)](_0x4a320c=>{const _0x35f900=_0x42d8fa;_0x4a320c&&this[_0x35f900(0xa4)](_0x4a320c);}),this[_0x42d8fa(0x371)]['urlChange$'][_0x42d8fa(0x195)](_0x3639ee[_0x42d8fa(0x37a)](this[_0x42d8fa(0x2b5)]))[_0x42d8fa(0x2e1)](()=>this[_0x42d8fa(0xae)](_0x503ff2));}[_0x474fca(0xa4)](_0x2e0adb,_0x2b58cf=!0x1){const _0x241bdb=_0x474fca,_0x2ccdc5=this['_urlService'][_0x241bdb(0x30c)](_0x241bdb(0xe9));_0x2e0adb[_0x241bdb(0x136)]()!==_0x2ccdc5&&this['_urlService'][_0x241bdb(0x3f9)]('subunit',_0x2e0adb[_0x241bdb(0x136)](),_0x2b58cf);}async[_0x474fca(0xae)](_0x4f6940){const _0x3e2b7e=_0x474fca;var _0x4c7550;const _0x263701=this['_urlService']['getParam'](_0x3e2b7e(0xe9));if(!_0x263701||!_0x4f6940[_0x3e2b7e(0x2f9)](_0x263701)){const _0x13e737=_0x4f6940[_0x3e2b7e(0x390)]()[0x0],_0x1b73ea=_0x4f6940[_0x3e2b7e(0x2f9)](_0x13e737);if(!_0x1b73ea)return;this['_updateURLWithCurrentState'](_0x1b73ea,!0x0),await this[_0x3e2b7e(0x1c9)]['executeCommand'](_0x21d024[_0x3e2b7e(0xf0)]['id'],{'unitId':_0x4f6940['getUnitId'](),'subUnitId':_0x13e737});return;}((_0x4c7550=_0x4f6940[_0x3e2b7e(0xba)]())==null?void 0x0:_0x4c7550[_0x3e2b7e(0x136)]())!==_0x263701&&await this['_commandService'][_0x3e2b7e(0x15b)](_0x21d024[_0x3e2b7e(0xf0)]['id'],{'unitId':_0x4f6940[_0x3e2b7e(0x225)](),'subUnitId':_0x263701});}async[_0x474fca(0x387)](_0x40ccb6){const _0x314859=_0x474fca;let _0x2d6c6b=0x0;const _0x34c2ad=await this['_localCacheService'][_0x314859(0xee)](_0x40ccb6);return _0x34c2ad&&(_0x34c2ad['awaitingChangeset']||_0x34c2ad[_0x314859(0x256)]['length']!==0x0)&&(_0x2d6c6b=_0x34c2ad[_0x314859(0x3cb)]),_0x2d6c6b===0x0&&this['_logService']['debug'](_0x314859(0x1b0),_0x314859(0x2bc)),this[_0x314859(0x16b)][_0x314859(0x24d)](_0x40ccb6,_0x2d6c6b);}async[_0x474fca(0x15e)](_0x464263){const _0x1cb28c=_0x474fca;let _0x168888=0x0;const _0x38557c=await this['_localCacheService'][_0x1cb28c(0xee)](_0x464263);return _0x38557c&&(_0x38557c[_0x1cb28c(0x335)]||_0x38557c[_0x1cb28c(0x256)][_0x1cb28c(0x2b9)]!==0x0)&&(_0x168888=_0x38557c['rev']),_0x168888===0x0&&this[_0x1cb28c(0x1ac)][_0x1cb28c(0x19c)]('[DataLoaderController]',_0x1cb28c(0x2bc)),this[_0x1cb28c(0x16b)][_0x1cb28c(0x1db)](_0x464263,_0x168888);}},_0x48d167['DataLoaderController']=_0x3bfa67([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x48d167[_0x474fca(0x98)]),_0x4f1e6c(0x0,_0x454085),_0x4f1e6c(0x1,_0x132eb9['ILogService']),_0x4f1e6c(0x2,_0x132eb9[_0x474fca(0x1f1)]),_0x4f1e6c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x4f1e6c(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x1e6)])),_0x4f1e6c(0x5,_0x132eb9[_0x474fca(0x199)](_0x4ab2ac[_0x474fca(0x3ef)]))],_0x48d167[_0x474fca(0x98)]);var _0x285be5=Object[_0x474fca(0x109)],_0x465810=Object[_0x474fca(0xcc)],_0x1e71fc=(_0x2f705c,_0x2142a3,_0x34f20a,_0x551ea7)=>{const _0x20fba8=_0x474fca;for(var _0x344329=_0x551ea7>0x1?void 0x0:_0x551ea7?_0x465810(_0x2142a3,_0x34f20a):_0x2142a3,_0x38e85d=_0x2f705c[_0x20fba8(0x2b9)]-0x1,_0x3140b7;_0x38e85d>=0x0;_0x38e85d--)(_0x3140b7=_0x2f705c[_0x38e85d])&&(_0x344329=(_0x551ea7?_0x3140b7(_0x2142a3,_0x34f20a,_0x344329):_0x3140b7(_0x344329))||_0x344329);return _0x551ea7&&_0x344329&&_0x285be5(_0x2142a3,_0x34f20a,_0x344329),_0x344329;},_0x459559=(_0x35f205,_0x2b26a0)=>(_0x398775,_0x5b5549)=>_0x2b26a0(_0x398775,_0x5b5549,_0x35f205);const _0x1b18a0=_0x474fca(0x96),_0x4234bd='Univer';let _0x345dbc=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x2a870a,_0x33d0d6){const _0x4b64c5=_0x474fca;super(),this[_0x4b64c5(0x1bd)]=_0x2a870a,this[_0x4b64c5(0x26f)]=_0x33d0d6,this[_0x4b64c5(0x1d5)]();}[_0x474fca(0x1d5)](){const _0x57b311=_0x474fca;this[_0x57b311(0x26e)](_0x132eb9[_0x57b311(0x2c0)](this[_0x57b311(0x1bd)][_0x57b311(0x401)][_0x57b311(0x2e1)](()=>{const _0x38cb06=_0x57b311;var _0x2a6c33;const _0x4850b9=this[_0x38cb06(0x1bd)][_0x38cb06(0x461)]();let _0x3fffc4=(_0x2a6c33=this[_0x38cb06(0x26f)][_0x38cb06(0x3a2)](_0x1b18a0))!=null?_0x2a6c33:_0x4234bd;_0x4850b9 instanceof _0x132eb9[_0x38cb06(0x20b)]&&(_0x3fffc4=_0x4850b9[_0x38cb06(0x26d)]),document['title']=_0x3fffc4;})));}};_0x345dbc=_0x1e71fc([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x450)],_0x345dbc),_0x459559(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x459559(0x1,_0x132eb9[_0x474fca(0x46a)])],_0x345dbc);var _0x539da0=Object['defineProperty'],_0x3d2a70=Object[_0x474fca(0xcc)],_0x2c9795=(_0xbac8a5,_0x1fd7da,_0x13def7,_0x522f03)=>{const _0x1c3f98=_0x474fca;for(var _0x4e1fc7=_0x522f03>0x1?void 0x0:_0x522f03?_0x3d2a70(_0x1fd7da,_0x13def7):_0x1fd7da,_0x3237bf=_0xbac8a5[_0x1c3f98(0x2b9)]-0x1,_0x37d976;_0x3237bf>=0x0;_0x3237bf--)(_0x37d976=_0xbac8a5[_0x3237bf])&&(_0x4e1fc7=(_0x522f03?_0x37d976(_0x1fd7da,_0x13def7,_0x4e1fc7):_0x37d976(_0x4e1fc7))||_0x4e1fc7);return _0x522f03&&_0x4e1fc7&&_0x539da0(_0x1fd7da,_0x13def7,_0x4e1fc7),_0x4e1fc7;},_0x5d84a0=(_0x20fb46,_0x424d9b)=>(_0xac6b1f,_0x4b3f15)=>_0x424d9b(_0xac6b1f,_0x4b3f15,_0x20fb46);_0x48d167[_0x474fca(0x231)]=class{constructor(_0x4a3d3a,_0x2bf769){const _0x12a1e5=_0x474fca;this[_0x12a1e5(0x26f)]=_0x4a3d3a,this[_0x12a1e5(0x3da)]=_0x2bf769;}async[_0x474fca(0x1a7)](_0x52c341,_0x2f1007){const _0x353e6e=_0x474fca;var _0x1f7c79;const {unitID:_0x1ce7d3,type:_0x4c3e29,revision:_0x11afd0=0x0}=_0x2f1007,_0x273758=this[_0x353e6e(0x3f0)]()+'/'+_0x4c3e29+_0x353e6e(0x27f)+_0x1ce7d3+'/rev/'+_0x11afd0,_0x3ee086=(await this['_httpService'][_0x353e6e(0x261)](_0x273758))['body'],_0x407e86=(_0x1f7c79=_0x3ee086['snapshot'])==null?void 0x0:_0x1f7c79['workbook'];if(_0x407e86){const _0x365e4a=_0x407e86==null?void 0x0:_0x407e86[_0x353e6e(0x315)],_0x48607d=_0x132eb9[_0x353e6e(0x29e)][_0x353e6e(0x9e)](_0x132eb9[_0x353e6e(0x436)](_0x365e4a));_0x407e86[_0x353e6e(0x315)]=_0x48607d,Object[_0x353e6e(0x402)](_0x407e86[_0x353e6e(0x13a)])[_0x353e6e(0x173)](([,_0x56b05b])=>{const _0x2e9114=_0x353e6e,_0x398bc2=_0x56b05b['originalMeta'],_0x3af074=_0x132eb9[_0x2e9114(0x29e)][_0x2e9114(0x9e)](_0x132eb9[_0x2e9114(0x436)](_0x398bc2));_0x56b05b[_0x2e9114(0x315)]=_0x3af074;});}return _0x3ee086;}async[_0x474fca(0x1ec)](_0x15946d,_0x44c6b1){const _0x7bcaa2=_0x474fca,{unitID:_0x55d3cd,type:_0x2692f2,blockID:_0xf9d1e6}=_0x44c6b1,_0x13552d=this[_0x7bcaa2(0x45c)]()+'/'+_0x2692f2+_0x7bcaa2(0x27f)+_0x55d3cd+_0x7bcaa2(0x263)+_0xf9d1e6;return(await this['_httpService'][_0x7bcaa2(0x261)](_0x13552d))[_0x7bcaa2(0x472)];}async[_0x474fca(0xc0)](_0x4a51a1,_0x391eeb){const _0x1d39d7=_0x474fca,{unitID:_0x486a4d,type:_0x45a162,from:_0x173aa7,to:_0x26855f}=_0x391eeb,_0x3b5b07=this[_0x1d39d7(0x45c)]()+'/'+_0x45a162+_0x1d39d7(0x27f)+_0x486a4d+'/fetchmissing?from='+_0x173aa7+_0x1d39d7(0x367)+_0x26855f;return(await this['_httpService'][_0x1d39d7(0x261)](_0x3b5b07))[_0x1d39d7(0x472)];}[_0x474fca(0x3f0)](){const _0x1f662d=_0x474fca;var _0x18b93c;return(_0x18b93c=this[_0x1f662d(0x26f)][_0x1f662d(0x3a2)](_0x5e8172))!=null?_0x18b93c:this[_0x1f662d(0x45c)]();}[_0x474fca(0x45c)](){const _0x5f2654=_0x474fca;var _0x1dd85c;return(_0x1dd85c=this[_0x5f2654(0x26f)]['getConfig'](_0x474f5b))!=null?_0x1dd85c:_0x152042;}async[_0x474fca(0x457)](_0x8bdea7,_0x2e3dd5){const _0x31d68f=_0x474fca,_0x549550=_0x31d68f(0xd7)+_0x2e3dd5[_0x31d68f(0x11a)]+_0x31d68f(0x27f)+_0x2e3dd5[_0x31d68f(0x176)]+'/resources';return(await this[_0x31d68f(0x3da)][_0x31d68f(0x261)](_0x549550,{'params':{'resourceId':JSON['stringify'](_0x2e3dd5['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x474fca(0x1bf)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x48d167[_0x474fca(0x231)]=_0x2c9795([_0x5d84a0(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x5d84a0(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)]))],_0x48d167['SnapshotServerOverHTTPService']);var _0x32c88c=Object[_0x474fca(0x109)],_0x45d65f=Object[_0x474fca(0xcc)],_0x4606b2=(_0x3b0ee9,_0x44e1a5,_0x5019f3,_0x4f4ffe)=>{for(var _0x1f6825=_0x4f4ffe>0x1?void 0x0:_0x4f4ffe?_0x45d65f(_0x44e1a5,_0x5019f3):_0x44e1a5,_0x598fb7=_0x3b0ee9['length']-0x1,_0x539107;_0x598fb7>=0x0;_0x598fb7--)(_0x539107=_0x3b0ee9[_0x598fb7])&&(_0x1f6825=(_0x4f4ffe?_0x539107(_0x44e1a5,_0x5019f3,_0x1f6825):_0x539107(_0x1f6825))||_0x1f6825);return _0x4f4ffe&&_0x1f6825&&_0x32c88c(_0x44e1a5,_0x5019f3,_0x1f6825),_0x1f6825;},_0x3084fa=(_0x13fe14,_0x3b9dbc)=>(_0x31cb43,_0x22c36c)=>_0x3b9dbc(_0x31cb43,_0x22c36c,_0x13fe14);let _0x4f58da=class extends _0x132eb9[_0x474fca(0x2d5)]{constructor(_0x596a0f,_0x3c083b,_0xeb7106,_0x5abb7f,_0x2b0d81){const _0x1fcb40=_0x474fca;super(_0x596a0f,_0x3c083b,_0xeb7106),this['_transformService']=_0x5abb7f,this[_0x1fcb40(0x1ac)]=_0x2b0d81;}[_0x474fca(0x32a)](_0x440304,_0x95b189){const _0x591261=_0x474fca,_0x12cdd3=this[_0x591261(0x399)](_0x440304);if(_0x12cdd3)try{const _0x269c8e=this['_transformStack'](_0x12cdd3,_0x95b189);this[_0x591261(0x21e)](_0x440304,_0x269c8e);}catch(_0x16fb09){this[_0x591261(0x1ac)][_0x591261(0xf5)](_0x591261(0x17c),_0x16fb09),this['_clearUndo'](_0x440304);}const _0x5ba200=this[_0x591261(0x389)](_0x440304);if(_0x5ba200)try{const _0x1f92ab=this['_transformStack'](_0x5ba200,_0x95b189);this[_0x591261(0xcb)](_0x440304,_0x1f92ab);}catch(_0x4a8db4){this[_0x591261(0x1ac)][_0x591261(0xf5)](_0x4a8db4),this[_0x591261(0x3fd)](_0x440304);}}[_0x474fca(0x238)](_0x24bf99){const _0x93a443=_0x474fca,_0x2e68ae=this[_0x93a443(0x399)](_0x24bf99);_0x2e68ae&&(_0x2e68ae[_0x93a443(0x2b9)]=0x0,this[_0x93a443(0x1ce)]());}[_0x474fca(0x3fd)](_0x1061d2){const _0x4657fa=_0x474fca,_0x49aec3=this['_getRedoStack'](_0x1061d2);_0x49aec3&&(_0x49aec3['length']=0x0,this[_0x4657fa(0x1ce)]());}[_0x474fca(0x21e)](_0x4dcdbb,_0x49fce9){const _0xf77eb0=_0x474fca;this[_0xf77eb0(0x12a)]['set'](_0x4dcdbb,_0x49fce9),this[_0xf77eb0(0x1ce)]();}[_0x474fca(0xcb)](_0x26b4ef,_0x2f6e13){const _0x16c851=_0x474fca;this[_0x16c851(0x289)]['set'](_0x26b4ef,_0x2f6e13),this['_updateStatus']();}[_0x474fca(0x208)](_0x3ad1d1,_0x4c184f){const _0x15f2ad=_0x474fca,_0x3da61a=[];let _0xf653bd=_0x4c184f,_0x33e136=_0x4c184f;for(let _0x230ba7=_0x3ad1d1[_0x15f2ad(0x2b9)]-0x1;_0x230ba7>=0x0;_0x230ba7--){const {unitID:_0x16f261,undoMutations:_0x1a31c9,redoMutations:_0x22c9a4}=_0x3ad1d1[_0x230ba7],_0x16c3b5=this[_0x15f2ad(0x190)]['transformMutationsWithChangeset'](_0xf653bd,_0x1a31c9),_0x2becdb=this[_0x15f2ad(0x190)]['transformMutationsWithChangeset'](_0x33e136,_0x22c9a4);if(_0x1524d['isTransformMutationsWithChangesetFailure'](_0x16c3b5)||_0x1524d[_0x15f2ad(0x21c)](_0x2becdb)){this[_0x15f2ad(0x1ac)][_0x15f2ad(0xf5)](_0x15f2ad(0x17c),_0x15f2ad(0x2cd),_0x16c3b5,_0x2becdb);break;}_0xf653bd=_0x16c3b5['c1Prime'],_0x33e136=_0x2becdb[_0x15f2ad(0x1f5)],_0x3da61a[_0x15f2ad(0x277)]({'unitID':_0x16f261,'undoMutations':_0x16c3b5[_0x15f2ad(0x43b)],'redoMutations':_0x2becdb['m2Prime']});}return _0x3da61a[_0x15f2ad(0x37f)]();}};_0x4f58da=_0x4606b2([_0x3084fa(0x0,_0x132eb9['IUniverInstanceService']),_0x3084fa(0x1,_0x132eb9['ICommandService']),_0x3084fa(0x2,_0x132eb9[_0x474fca(0x2bb)]),_0x3084fa(0x3,_0x1524d[_0x474fca(0x439)]),_0x3084fa(0x4,_0x132eb9[_0x474fca(0xad)])],_0x4f58da);class _0x56db24 extends _0x132eb9['RxDisposable']{constructor(){const _0xc483c5=_0x474fca;super(),_0x3b7d06(this,_0xc483c5(0x298)),this[_0xc483c5(0x298)]=_0x3639ee['fromEvent'](window,_0xc483c5(0x144))['pipe'](_0x3639ee[_0xc483c5(0x37a)](this['dispose$']),_0x3639ee[_0xc483c5(0x426)](0x1),_0x3639ee[_0xc483c5(0x443)](void 0x0));}[_0x474fca(0x3f9)](_0x5e7eb5,_0x192330,_0x138884=!0x1){const _0x45402c=_0x474fca,_0x469f96=new URL(window[_0x45402c(0x36f)]['href']);_0x469f96[_0x45402c(0xf6)][_0x45402c(0xbe)](_0x5e7eb5,_0x192330),_0x138884?window[_0x45402c(0x185)][_0x45402c(0x21f)]('','',_0x469f96[_0x45402c(0xa2)]()):window[_0x45402c(0x185)][_0x45402c(0x3a0)]('','',_0x469f96['toString']());}[_0x474fca(0x2e2)](_0x14b23b,_0xb28cf3=!0x1){const _0x6fd48=_0x474fca,_0x4fc658=new URL(window['location'][_0x6fd48(0x3c1)]);_0x4fc658['searchParams'][_0x6fd48(0x224)](_0x14b23b),_0xb28cf3?window[_0x6fd48(0x185)][_0x6fd48(0x21f)]('','',_0x4fc658['toString']()):window[_0x6fd48(0x185)]['pushState']('','',_0x4fc658['toString']());}['getParam'](_0x44535e){const _0x17c63c=_0x474fca;var _0x3fcdac;return(_0x3fcdac=new URL(window[_0x17c63c(0x36f)]['href'])[_0x17c63c(0xf6)][_0x17c63c(0x261)](_0x44535e))!=null?_0x3fcdac:void 0x0;}}const _0x1f1791='collab-text-anchor-',_0x190996=_0x474fca(0x1fa),_0x44d369='collab-rect-range-',_0x1099f8=0x6,_0x43ede2=1.5,_0x125c51=0x4,_0xb0b81d=1.5,_0x22b5ef='rgba(255,\x20255,\x20255,\x200.01)';class _0x471da0{constructor(_0x150c89,_0x2f3a33,_0x1397ce,_0x2b2006){const _0x6dbc0d=_0x474fca;_0x3b7d06(this,_0x6dbc0d(0x34a),[]),_0x3b7d06(this,_0x6dbc0d(0x267),null),_0x3b7d06(this,'_textBubble',null),_0x3b7d06(this,_0x6dbc0d(0x154),null),_0x3b7d06(this,_0x6dbc0d(0x3c0),null),_0x3b7d06(this,_0x6dbc0d(0x16e),null),(this[_0x6dbc0d(0x451)]=_0x150c89,this[_0x6dbc0d(0x482)]=_0x2f3a33,this[_0x6dbc0d(0x3e1)]=_0x1397ce,this[_0x6dbc0d(0x403)]=_0x2b2006,this[_0x6dbc0d(0x19e)]());}set[_0x474fca(0x29c)](_0x193b22){const _0x506b80=_0x474fca;_0x193b22?(this[_0x506b80(0x154)]&&this[_0x506b80(0x154)][_0x506b80(0x180)](),this[_0x506b80(0x46f)]&&this['_textBubble'][_0x506b80(0xac)]()):(this[_0x506b80(0x154)]&&this[_0x506b80(0x154)][_0x506b80(0xac)](),this[_0x506b80(0x46f)]&&this['_textBubble'][_0x506b80(0x180)]());}[_0x474fca(0x19a)](){const _0x2c7f2f=_0x474fca;for(const _0x7c5501 of this[_0x2c7f2f(0x34a)])_0x7c5501[_0x2c7f2f(0x19a)]();this[_0x2c7f2f(0x46f)]&&this[_0x2c7f2f(0x46f)]['dispose'](),this[_0x2c7f2f(0x154)]&&this[_0x2c7f2f(0x154)]['dispose'](),this[_0x2c7f2f(0x267)]&&this['_anchor'][_0x2c7f2f(0x19a)](),this[_0x2c7f2f(0x16e)]&&this['_eventUnsubscribe']();}[_0x474fca(0x19e)](){const _0x4cfa7c=_0x474fca;var _0xcb6d87;const {_docSkeleton:_0x873924,_document:_0x21be01}=this,{color:_0x3a695c,name:_0x2316b5,ranges:_0x3b8c07}=this['_cursor'],_0x1dfccb=_0x21be01[_0x4cfa7c(0xfb)](),{docsLeft:_0x1c2577,docsTop:_0x173f9a}=_0x1dfccb,_0x388f71=new _0x24af47[(_0x4cfa7c(0x297))](_0x1dfccb,_0x873924);for(const {startOffset:_0x3ff2cd,endOffset:_0x3aca74,collapsed:_0x157a84,isActive:_0xc42258}of _0x3b8c07){const _0x2c1f51=_0x873924['findNodePositionByCharIndex'](_0x3ff2cd),_0x57dcde=_0x873924[_0x4cfa7c(0x9f)](_0x3aca74);if(_0xc42258){const {contentBoxPointGroup:_0x24c873}=_0x388f71[_0x4cfa7c(0x17a)](_0x57dcde,_0x57dcde);if(_0x24c873['length']===0x0)continue;this[_0x4cfa7c(0xd0)](_0x3a695c,_0x24c873,_0x1c2577,_0x173f9a,_0x2316b5),this['_eventUnsubscribe']=this[_0x4cfa7c(0x40a)]();}if(!_0x157a84&&_0x2c1f51&&_0x57dcde){if(_0x24af47[_0x4cfa7c(0x3ff)](_0x2c1f51,_0x57dcde)){const _0x440ebc=new _0x24af47[(_0x4cfa7c(0x179))](_0x1dfccb,_0x873924),{pointGroup:_0x5e2036}=(_0xcb6d87=_0x440ebc['getRangePointData'](_0x2c1f51,_0x57dcde))!=null?_0xcb6d87:{};if(_0x5e2036==null||_0x5e2036[_0x4cfa7c(0x2b9)]===0x0)continue;this[_0x4cfa7c(0x145)](_0x3a695c,_0x5e2036,_0x1c2577,_0x173f9a);}else{const {contentBoxPointGroup:_0x1e9aa9}=_0x388f71[_0x4cfa7c(0x17a)](_0x2c1f51,_0x57dcde);if(_0x1e9aa9['length']===0x0)continue;this[_0x4cfa7c(0x278)](_0x3a695c,_0x1e9aa9,_0x1c2577,_0x173f9a);}}}}[_0x474fca(0xd0)](_0x3d01c4,_0x27696a,_0x442135,_0x49fe2e,_0x4c40ec){const _0x2a6d21=_0x474fca,_0xa2f875=this[_0x2a6d21(0x220)](_0x27696a),{left:_0x1f18f5,top:_0x1af252,height:_0x3f4904}=_0xa2f875,_0x4e330a=this['_getScale'](),_0x1aad8e=_0xb0b81d/_0x4e330a,_0x4ef458=new _0x24af47[(_0x2a6d21(0x411))](_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)][_0x2a6d21(0x2de)](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e,'height':_0x3f4904,'width':_0x43ede2,'fill':_0x3d01c4||_0x24af47[_0x2a6d21(0x480)](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'strokeWidth':_0x1aad8e,'stroke':_0x22b5ef,'evented':!0x0});this[_0x2a6d21(0x267)]=_0x4ef458,this[_0x2a6d21(0x482)]['addObject'](_0x4ef458,_0x24af47[_0x2a6d21(0x25c)]);const _0x524dd1=new _0x24af47[(_0x2a6d21(0x411))](_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)]['generateRandomId'](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e-_0x125c51/0x2,'height':_0x125c51,'width':_0x125c51,'fill':_0x3d01c4||_0x24af47['getColor'](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'strokeWidth':0x0,'stroke':_0x3d01c4||_0x24af47[_0x2a6d21(0x480)](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'evented':!0x1});this['_anchorDot']=_0x524dd1,this[_0x2a6d21(0x482)]['addObject'](_0x524dd1,_0x24af47[_0x2a6d21(0x25c)]);const _0x358e9d=new _0x1313fc(_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)][_0x2a6d21(0x2de)](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e-_0x2f3f31,'text':_0x4c40ec,'color':_0x3d01c4});this[_0x2a6d21(0x46f)]=_0x358e9d,this['_scene'][_0x2a6d21(0x1da)](_0x358e9d,_0x24af47[_0x2a6d21(0x25c)]),this[_0x2a6d21(0x29c)]=!0x1;}[_0x474fca(0x40a)](){const _0x3dc9c2=_0x474fca,_0x45ef4f=this[_0x3dc9c2(0x267)]['onPointerEnter$']['subscribeEvent'](()=>{const _0xd724d=_0x3dc9c2;this[_0xd724d(0x29c)]=!0x0;}),_0x40056b=this['_anchor'][_0x3dc9c2(0x46c)][_0x3dc9c2(0xb7)](()=>{const _0x28b5bb=_0x3dc9c2;this[_0x28b5bb(0x3c0)]&&clearTimeout(this[_0x28b5bb(0x3c0)]),this[_0x28b5bb(0x3c0)]=setTimeout(()=>{const _0x9993c6=_0x28b5bb;this[_0x9993c6(0x29c)]=!0x1;},0x7d0);});return()=>{const _0x43f982=_0x3dc9c2;_0x45ef4f['unsubscribe'](),_0x40056b[_0x43f982(0xde)]();};}[_0x474fca(0x278)](_0x2e81a4,_0x56bca4,_0x19fa44,_0x26f7b1){const _0x58ccf8=_0x474fca,_0x29349a=new _0x132eb9[(_0x58ccf8(0x215))](_0x2e81a4)[_0x58ccf8(0xbc)](0.2)[_0x58ccf8(0x312)](),_0x3aea7f=new _0x24af47[(_0x58ccf8(0x1d8))](_0x190996+_0x132eb9['Tools']['generateRandomId'](_0x1099f8),{'pointsGroup':_0x56bca4,'fill':_0x29349a||_0x24af47['getColor'](_0x132eb9[_0x58ccf8(0xd3)]['black'],0.2),'left':_0x19fa44,'top':_0x26f7b1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58ccf8(0x34a)][_0x58ccf8(0x277)](_0x3aea7f),this[_0x58ccf8(0x482)][_0x58ccf8(0x1da)](_0x3aea7f,_0x24af47[_0x58ccf8(0x25c)]);}['_drawRectRange'](_0x55e254,_0x236349,_0x505460,_0x244cf3){const _0x434c49=_0x474fca,_0x48368a=new _0x132eb9['ColorKit'](_0x55e254)['setAlpha'](0.2)[_0x434c49(0x312)](),_0x533dc4=new _0x24af47[(_0x434c49(0x1d8))](_0x44d369+_0x132eb9[_0x434c49(0x44f)][_0x434c49(0x2de)](_0x1099f8),{'pointsGroup':_0x236349,'fill':_0x48368a||_0x24af47[_0x434c49(0x480)](_0x132eb9[_0x434c49(0xd3)][_0x434c49(0x146)],0.2),'left':_0x505460,'top':_0x244cf3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x434c49(0x34a)]['push'](_0x533dc4),this[_0x434c49(0x482)]['addObject'](_0x533dc4,_0x24af47[_0x434c49(0x25c)]);}[_0x474fca(0x220)](_0x4fb255){const _0x1c0a9c=_0x4fb255[0x0],_0x4214cb=_0x1c0a9c[0x0],_0x4cbc9b=_0x1c0a9c[0x2],{x:_0x21c2ca,y:_0x30a968}=_0x4214cb,{x:_0x179cfc,y:_0x1c38bd}=_0x4cbc9b;return{'left':_0x21c2ca,'top':_0x30a968,'width':_0x179cfc-_0x21c2ca,'height':_0x1c38bd-_0x30a968};}[_0x474fca(0x41c)](){const _0x7b1ba0=_0x474fca,{scaleX:_0x35f2b3,scaleY:_0x30b358}=this['_scene'][_0x7b1ba0(0x19d)]();return Math[_0x7b1ba0(0xfc)](_0x35f2b3,_0x30b358);}}var _0x17495a=Object[_0x474fca(0x109)],_0x41907b=Object[_0x474fca(0xcc)],_0x764e48=(_0x4574ee,_0x451987,_0x24ac56,_0x4cfa6a)=>{const _0x2d0bc0=_0x474fca;for(var _0xcddcb6=_0x4cfa6a>0x1?void 0x0:_0x4cfa6a?_0x41907b(_0x451987,_0x24ac56):_0x451987,_0x545ffe=_0x4574ee[_0x2d0bc0(0x2b9)]-0x1,_0x18a4c1;_0x545ffe>=0x0;_0x545ffe--)(_0x18a4c1=_0x4574ee[_0x545ffe])&&(_0xcddcb6=(_0x4cfa6a?_0x18a4c1(_0x451987,_0x24ac56,_0xcddcb6):_0x18a4c1(_0xcddcb6))||_0xcddcb6);return _0x4cfa6a&&_0xcddcb6&&_0x17495a(_0x451987,_0x24ac56,_0xcddcb6),_0xcddcb6;},_0x5bbcf9=(_0x5662ca,_0x1ed246)=>(_0x262a44,_0x21ac09)=>_0x1ed246(_0x262a44,_0x21ac09,_0x5662ca);let _0x1c9143=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x37b3eb,_0x465383,_0x3a26a4,_0x2df029,_0x2a9b70){const _0x15ee10=_0x474fca;super(),_0x3b7d06(this,_0x15ee10(0x17e),[]),_0x3b7d06(this,_0x15ee10(0x29f),[]),(this[_0x15ee10(0x3b9)]=_0x37b3eb,this['_docSkeletonManagerService']=_0x465383,this[_0x15ee10(0x1f0)]=_0x3a26a4,this[_0x15ee10(0x1c9)]=_0x2df029,this[_0x15ee10(0x45b)]=_0x2a9b70,this[_0x15ee10(0x1d5)]());}['_init'](){const _0x4e4e4e=_0x474fca,_0x4a4ff2=this[_0x4e4e4e(0x3b9)][_0x4e4e4e(0xa5)],_0x25b466=this[_0x4e4e4e(0x340)];this['disposeWithMe'](_0x3639ee[_0x4e4e4e(0x300)]([this[_0x4e4e4e(0x1f0)][_0x4e4e4e(0x188)](_0x4a4ff2),this[_0x4e4e4e(0x45b)]['currentTheme$']])[_0x4e4e4e(0x195)](_0x5d8ab5[_0x4e4e4e(0x18f)](([_0x2f5502,_0x5e508a])=>({'skeleton':_0x25b466[_0x4e4e4e(0x119)](),'cursors':[..._0x2f5502[_0x4e4e4e(0x42c)]()][_0x4e4e4e(0x424)](_0x10a43a=>({..._0x10a43a,'color':_0x5e508a[_0x10a43a[_0x4e4e4e(0xfe)]]}))})))['subscribe'](_0xc4b3c6=>{const _0x4e6305=_0x4e4e4e;if(this[_0x4e6305(0xd2)](),_0xc4b3c6){const {skeleton:_0x3985ed,cursors:_0x336532}=_0xc4b3c6;this[_0x4e6305(0x479)](_0x3985ed,_0x336532);}})),this[_0x4e4e4e(0x353)](),this['_initCommandExecutedListener']();}[_0x474fca(0x479)](_0x5cacdc,_0x245b7d){const _0x1f3e12=_0x474fca,{scene:_0x274ce4,mainComponent:_0x2aaa53}=this['_context'],_0x4d844a=_0x245b7d[_0x1f3e12(0x18f)](_0x13cb88=>new _0x471da0(_0x13cb88,_0x274ce4,_0x5cacdc,_0x2aaa53));this[_0x1f3e12(0x17e)]=_0x4d844a,this[_0x1f3e12(0x29f)]=_0x245b7d;}['_refreshCollabCursors'](){const _0x66adea=_0x474fca;this[_0x66adea(0xd2)]();const {scene:_0x2b6445,mainComponent:_0x184cf0}=this['_context'],_0x5e8800=this[_0x66adea(0x340)]['getSkeleton'](),_0x56c479=this[_0x66adea(0x29f)]['map'](_0x1266ba=>new _0x471da0(_0x1266ba,_0x2b6445,_0x5e8800,_0x184cf0));this[_0x66adea(0x17e)]=_0x56c479;}[_0x474fca(0xd2)](){const _0x32b381=_0x474fca;this[_0x32b381(0x17e)][_0x32b381(0x173)](_0x5e5e14=>_0x5e5e14[_0x32b381(0x19a)]()),this['_cursorShapes']=[];}[_0x474fca(0xcf)](){const _0x69df8c=_0x474fca,_0x11a2b6=[_0x4b287a[_0x69df8c(0x240)]['id']];this[_0x69df8c(0x26e)](this[_0x69df8c(0x1c9)][_0x69df8c(0x344)](_0x4697d2=>{const _0x3baac6=_0x69df8c;_0x11a2b6[_0x3baac6(0x317)](_0x4697d2['id'])&&_0x4697d2[_0x3baac6(0xe6)][_0x3baac6(0xa5)]===this['_context'][_0x3baac6(0xa5)]&&this[_0x3baac6(0x45d)]();}));}[_0x474fca(0x353)](){const _0x310cfb=_0x474fca;this[_0x310cfb(0x26e)](_0x132eb9['fromEventSubject'](this[_0x310cfb(0x3b9)]['engine'][_0x310cfb(0x2e8)])[_0x310cfb(0x195)](_0x5d8ab5[_0x310cfb(0x1cd)](_0x2701a3=>_0x2701a3[_0x310cfb(0x11a)]===_0x24af47[_0x310cfb(0x47c)]['resize']),_0x5d8ab5['throttleTime'](0x10))[_0x310cfb(0x2e1)](()=>{const _0x37ba2a=_0x310cfb;this[_0x37ba2a(0x45d)]();}));}};_0x1c9143=_0x764e48([_0x132eb9['OnLifecycle'](_0x132eb9[_0x474fca(0x232)]['Steady'],_0x1c9143),_0x5bbcf9(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x4b287a[_0x474fca(0x1f7)])),_0x5bbcf9(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x4073a6)),_0x5bbcf9(0x3,_0x132eb9['ICommandService']),_0x5bbcf9(0x4,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x369)]))],_0x1c9143);var _0x4f01c6=Object[_0x474fca(0x109)],_0x358418=Object['getOwnPropertyDescriptor'],_0x23f800=(_0x3dc72b,_0x5efee5,_0x24b3da,_0x39852e)=>{const _0x3c3d89=_0x474fca;for(var _0x37ee2a=_0x39852e>0x1?void 0x0:_0x39852e?_0x358418(_0x5efee5,_0x24b3da):_0x5efee5,_0x4cd0a3=_0x3dc72b[_0x3c3d89(0x2b9)]-0x1,_0x104278;_0x4cd0a3>=0x0;_0x4cd0a3--)(_0x104278=_0x3dc72b[_0x4cd0a3])&&(_0x37ee2a=(_0x39852e?_0x104278(_0x5efee5,_0x24b3da,_0x37ee2a):_0x104278(_0x37ee2a))||_0x37ee2a);return _0x39852e&&_0x37ee2a&&_0x4f01c6(_0x5efee5,_0x24b3da,_0x37ee2a),_0x37ee2a;},_0x53cfc5=(_0x3f4e77,_0x35ebbb)=>(_0x4c1a4e,_0xec186e)=>_0x35ebbb(_0x4c1a4e,_0xec186e,_0x3f4e77);let _0xb1bc0c=class{constructor(_0x46a650,_0x86f5d6,_0x57825b){const _0x56c6ee=_0x474fca;this[_0x56c6ee(0x26f)]=_0x46a650,this['_httpService']=_0x86f5d6,this[_0x56c6ee(0x211)]=_0x57825b,this['init']();}[_0x474fca(0x1ed)](){const _0x44ae33=_0x474fca;this[_0x44ae33(0x3da)][_0x44ae33(0x3a4)]({'priority':0x1,'interceptor':(_0x1b7148,_0x469584)=>_0x469584(_0x1b7148)['pipe'](_0x3639ee['concatMap'](async _0x46ac45=>{const _0x13cb97=_0x44ae33,_0x28787c=_0x46ac45;if(_0x28787c[_0x13cb97(0x332)]===0x191&&window[_0x13cb97(0x3c5)](this[_0x13cb97(0x211)]['t'](_0x13cb97(0x113)))){const _0x49f39e=window[_0x13cb97(0x3d5)](window[_0x13cb97(0x36f)][_0x13cb97(0x3c1)]);window[_0x13cb97(0x36f)][_0x13cb97(0x3c1)]=this[_0x13cb97(0x2f3)]()+_0x13cb97(0x10c)+_0x49f39e;}return _0x28787c;}))});}['_getLoginPath'](){const _0x2b357d=_0x474fca;var _0x26a77a;return(_0x26a77a=this[_0x2b357d(0x26f)][_0x2b357d(0x3a2)](_0x596ca2))!=null?_0x26a77a:_0x2bbb39;}};_0xb1bc0c=_0x23f800([_0x53cfc5(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x53cfc5(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x53cfc5(0x2,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)]))],_0xb1bc0c);var _0x454b0a=Object[_0x474fca(0x109)],_0xb3dedc=Object['getOwnPropertyDescriptor'],_0x2add22=(_0x118e6d,_0x207a67,_0x2c1aa7,_0x4c6b84)=>{for(var _0x2d5ae8=_0x4c6b84>0x1?void 0x0:_0x4c6b84?_0xb3dedc(_0x207a67,_0x2c1aa7):_0x207a67,_0x274a33=_0x118e6d['length']-0x1,_0x196014;_0x274a33>=0x0;_0x274a33--)(_0x196014=_0x118e6d[_0x274a33])&&(_0x2d5ae8=(_0x4c6b84?_0x196014(_0x207a67,_0x2c1aa7,_0x2d5ae8):_0x196014(_0x2d5ae8))||_0x2d5ae8);return _0x4c6b84&&_0x2d5ae8&&_0x454b0a(_0x207a67,_0x2c1aa7,_0x2d5ae8),_0x2d5ae8;},_0x2b2581=(_0x41d9a3,_0x7a0046)=>(_0x3aeaa1,_0x1dd7cf)=>_0x7a0046(_0x3aeaa1,_0x1dd7cf,_0x41d9a3);const _0x3dabc0=_0x474fca(0x164),_0x16aae6='/universer-api/authz';_0x48d167[_0x474fca(0x31b)]=class extends _0x132eb9['Disposable']{constructor(_0xc7aeaa,_0x1f007b){const _0x55a178=_0x474fca;super(),this[_0x55a178(0x3ce)]=_0xc7aeaa,this[_0x55a178(0x26f)]=_0x1f007b,this[_0x55a178(0x430)]();}[_0x474fca(0x430)](){const _0x1f98de=_0x474fca,_0x5b9ece=this;this[_0x1f98de(0x26e)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x5e809e['MergeInterceptorFactory']({'isMatch'(_0x47874b){const _0x415dfe=_0x1f98de;var _0x5747b3;if(_0x47874b[_0x415dfe(0x351)]==='POST'&&((_0x5747b3=_0x47874b['requestParams'])!=null&&_0x5747b3[_0x415dfe(0x472)])){const {objectID:_0x3474d1,objectType:_0x21f3b1}=_0x47874b[_0x415dfe(0x3b2)]['body']||{};if(!_0x3474d1||_0x21f3b1===void 0x0)return!0x1;const _0x531ead=_0x5b9ece[_0x415dfe(0x1f2)]()+'/'+_0x21f3b1+_0x415dfe(0x17f)+_0x3474d1+_0x415dfe(0xe3);if(_0x47874b[_0x415dfe(0x229)]===_0x531ead)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x189d5e){const _0x38fad7=_0x1f98de;var _0x372ad0;return(_0x372ad0=_0x189d5e[_0x38fad7(0x3b2)])==null?void 0x0:_0x372ad0[_0x38fad7(0x472)];},'mergeParamsToRequest'(_0x5a6c09,_0x16f8b9){const _0x3920a3=_0x1f98de,_0x44afda=_0x5b9ece[_0x3920a3(0x1f2)]()+_0x3920a3(0x3c4),_0x276b4e=_0x5a6c09[_0x3920a3(0xea)]((_0x226052,_0x52ec45)=>{const _0x48322d=_0x3920a3,{unitID:_0x2693f2,objectID:_0x39a425,objectType:_0x3a0acf,actions:_0x31c9f4}=_0x52ec45;return _0x226052[_0x2693f2]||(_0x226052[_0x2693f2]={}),_0x226052[_0x2693f2][_0x39a425]||(_0x226052[_0x2693f2][_0x39a425]={'objectID':_0x39a425,'objectType':_0x3a0acf,'actions':[]}),_0x226052[_0x2693f2][_0x39a425][_0x48322d(0xaf)][_0x48322d(0x277)](..._0x31c9f4),_0x226052;},{}),_0x93a4d6=[];for(const _0x605b8e in _0x276b4e)for(const _0x2017f7 in _0x276b4e[_0x605b8e]){const {actions:_0x566ecd,objectType:_0x4612f5}=_0x276b4e[_0x605b8e][_0x2017f7],_0x378117=[...new Set(_0x566ecd)];_0x93a4d6[_0x3920a3(0x277)]({'unitID':_0x605b8e,'objectID':_0x2017f7,'objectType':_0x4612f5,'actions':_0x378117});}return new _0x5e809e[(_0x3920a3(0x26b))](_0x3920a3(0x473),_0x44afda,{'headers':_0x16f8b9[_0x3920a3(0x23b)],'withCredentials':_0x16f8b9[_0x3920a3(0x2e3)],'responseType':_0x16f8b9['responseType'],'body':{'requests':_0x93a4d6}});}},{'distributeResult'(_0xce1ee8,_0x23a6e6){const _0xeadd56=_0x1f98de,{objectActions:_0x589716}=_0xce1ee8;return _0x23a6e6[_0xeadd56(0x18f)](_0x2ca0b0=>{const _0x4d6e84=_0xeadd56,{unitID:_0x293e7c,objectID:_0x2523b5,actions:_0x1925ad}=_0x2ca0b0,_0x36ee7c=_0x589716[_0x4d6e84(0x375)](_0x31c5a9=>_0x31c5a9[_0x4d6e84(0x176)]===_0x293e7c&&_0x31c5a9[_0x4d6e84(0x186)]===_0x2523b5),_0x11cec5=_0x1925ad[_0x4d6e84(0x18f)](_0x1e04eb=>_0x36ee7c==null?void 0x0:_0x36ee7c['actions']['find'](_0x35aa7f=>_0x35aa7f['action']===_0x1e04eb))[_0x4d6e84(0x1cd)](_0x254f3f=>!!_0x254f3f);return{'config':_0x2ca0b0,'result':{'actions':_0x11cec5,'error':_0xce1ee8[_0x4d6e84(0xf5)]}};});}})}));}['_getAPIPrefixPath'](){const _0x57b5f9=_0x474fca;var _0x1c4d4f;return(_0x1c4d4f=this[_0x57b5f9(0x26f)]['getConfig'](_0x3dabc0))!=null?_0x1c4d4f:_0x16aae6;}async[_0x474fca(0x140)](_0xdd2ee3){const _0x22c018=_0x474fca,_0x5e99ea=this[_0x22c018(0x1f2)]()+'/'+_0xdd2ee3[_0x22c018(0x184)]+_0x22c018(0xa3);return(await this[_0x22c018(0x3ce)]['post'](_0x5e99ea,{'body':_0xdd2ee3}))[_0x22c018(0x472)][_0x22c018(0x186)]||'';}async[_0x474fca(0x23f)](_0x3dd778){const _0x51c909=_0x474fca,_0x1ed034=this[_0x51c909(0x1f2)]()+'/-/object/list';return(await this[_0x51c909(0x3ce)][_0x51c909(0x128)](_0x1ed034,{'body':_0x3dd778}))[_0x51c909(0x472)]['objects'];}async[_0x474fca(0x37e)](_0xfd19bc){const _0x24b1a9=_0x474fca,_0x17dae1=this[_0x24b1a9(0x1f2)]()+'/'+_0xfd19bc[_0x24b1a9(0x184)]+_0x24b1a9(0x17f)+_0xfd19bc['objectID'];await this[_0x24b1a9(0x3ce)][_0x24b1a9(0x475)](_0x17dae1,{'body':_0xfd19bc});}async[_0x474fca(0x463)](_0x2da04e){const _0x5bba08=_0x474fca,_0x5ef12d=this['_getAPIPrefixPath']()+'/'+_0x2da04e['objectType']+_0x5bba08(0x17f)+_0x2da04e[_0x5bba08(0x186)]+_0x5bba08(0xe3);return(await this['_HTTPService']['post'](_0x5ef12d,{'body':_0x2da04e}))['body'][_0x5bba08(0xaf)];}async['batchAllowed'](_0x521a97){const _0x13cb2d=_0x474fca,_0x291653=this['_getAPIPrefixPath']()+_0x13cb2d(0x3c4);return(await this['_HTTPService'][_0x13cb2d(0x128)](_0x291653,{'body':{'requests':_0x521a97}}))['body'][_0x13cb2d(0x226)];}async[_0x474fca(0xb1)](_0x647019){const _0x1da938=_0x474fca,_0x3486da=this['_getAPIPrefixPath']()+'/'+_0x647019['objectType']+_0x1da938(0x34f),_0x23d6ab=await this['_HTTPService'][_0x1da938(0x128)](_0x3486da,{'body':_0x647019});return{'roles':_0x23d6ab[_0x1da938(0x472)]['roles'],'actions':_0x23d6ab[_0x1da938(0x472)][_0x1da938(0xaf)]};}async[_0x474fca(0x230)](_0x5d5113){const _0x49dab7=_0x474fca,_0x274fee=this[_0x49dab7(0x1f2)]()+_0x49dab7(0xb2);await this[_0x49dab7(0x3ce)][_0x49dab7(0x224)](_0x274fee,{'params':{'collaboratorID':_0x5d5113['collaboratorID'],'objectID':_0x5d5113[_0x49dab7(0x186)],'unitID':_0x5d5113['unitID']}});}async['updateCollaborator'](_0x1a7f09){const _0x10ae61=_0x474fca,_0x5e3367=this[_0x10ae61(0x1f2)]()+'/collaborator';await this[_0x10ae61(0x3ce)][_0x10ae61(0x37b)](_0x5e3367,{'body':_0x1a7f09});}async['createCollaborator'](_0x26676f){const _0x5e7322=_0x474fca,_0xd610c1=this[_0x5e7322(0x1f2)]()+'/collaborator';await this[_0x5e7322(0x3ce)]['post'](_0xd610c1,{'body':_0x26676f});}async['listCollaborators'](_0x54ca11){const _0x45f07e=_0x474fca,_0x5d8721=this[_0x45f07e(0x1f2)]()+_0x45f07e(0xb2);return(await this[_0x45f07e(0x3ce)][_0x45f07e(0x261)](_0x5d8721,{'params':{'objectID':_0x54ca11[_0x45f07e(0x186)],'unitID':_0x54ca11[_0x45f07e(0x176)]}}))['body'][_0x45f07e(0x210)];}async['putCollaborators'](_0x3fc081){const _0x440651=_0x474fca,_0x523270=this['_getAPIPrefixPath']()+_0x440651(0xb2);await this[_0x440651(0x3ce)]['put'](_0x523270,{'body':_0x3fc081});}},_0x48d167['AuthzIoHttpService']=_0x2add22([_0x2b2581(0x0,_0x132eb9['Inject'](_0x5e809e[_0x474fca(0xe7)])),_0x2b2581(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x46a)]))],_0x48d167[_0x474fca(0x31b)]);var _0x14f531=Object[_0x474fca(0x109)],_0x45901e=Object[_0x474fca(0xcc)],_0x226d69=(_0x51a3fc,_0xd0d0b2,_0x1ea0f0,_0x303121)=>{const _0x4752da=_0x474fca;for(var _0x4962d7=_0x303121>0x1?void 0x0:_0x303121?_0x45901e(_0xd0d0b2,_0x1ea0f0):_0xd0d0b2,_0xc06c5e=_0x51a3fc[_0x4752da(0x2b9)]-0x1,_0x363d23;_0xc06c5e>=0x0;_0xc06c5e--)(_0x363d23=_0x51a3fc[_0xc06c5e])&&(_0x4962d7=(_0x303121?_0x363d23(_0xd0d0b2,_0x1ea0f0,_0x4962d7):_0x363d23(_0x4962d7))||_0x4962d7);return _0x303121&&_0x4962d7&&_0x14f531(_0xd0d0b2,_0x1ea0f0,_0x4962d7),_0x4962d7;},_0x3d23d3=(_0x399b2f,_0x2d48a5)=>(_0x1296a6,_0x32f229)=>_0x2d48a5(_0x1296a6,_0x32f229,_0x399b2f);const _0x19018e=[_0x474fca(0x27a),'image/jpeg',_0x474fca(0x2a2),_0x474fca(0x27e),'image/bmp'],_0x124abc=0x5*0x400*0x400,_0x3b43e3=_0x474fca(0xdf),_0x528367=_0x474fca(0x280),_0x3d07e9=_0x474fca(0x484),_0x2658f9='/universer-api/file/{fileID}/sign-url';_0x48d167[_0x474fca(0x385)]=class{constructor(_0x55f566,_0x120f0a){const _0x53ef0d=_0x474fca;_0x3b7d06(this,_0x53ef0d(0x203),0x0),_0x3b7d06(this,_0x53ef0d(0x3fa),new _0x3639ee[(_0x53ef0d(0x1cb))]()),_0x3b7d06(this,'change$',this[_0x53ef0d(0x3fa)]),_0x3b7d06(this,'_imageSourceCache',new Map()),(this[_0x53ef0d(0x3da)]=_0x55f566,this['_configService']=_0x120f0a);}[_0x474fca(0x1c0)](_0x26e8a5){const _0x2a78f7=_0x474fca;this[_0x2a78f7(0x203)]=_0x26e8a5,this[_0x2a78f7(0x3fa)][_0x2a78f7(0x452)](_0x26e8a5);}[_0x474fca(0x302)](_0x2f37c2,_0x56128f){const _0x541bad=_0x474fca;if(_0x56128f===_0x46aaec[_0x541bad(0x2ec)][_0x541bad(0x3a6)]){const _0x1a95d2=new Image();return _0x1a95d2['src']=_0x2f37c2,_0x1a95d2;}return this['_imageSourceCache'][_0x541bad(0x261)](_0x2f37c2);}[_0x474fca(0x101)](_0x24c851,_0x3882ea,_0x5adfb9){const _0x1f5887=_0x474fca;_0x3882ea===_0x46aaec['ImageSourceType'][_0x1f5887(0x3a6)]||_0x5adfb9==null||this[_0x1f5887(0x1d7)][_0x1f5887(0xbe)](_0x24c851,_0x5adfb9);}async[_0x474fca(0x3ec)](_0x3913d2){const _0x5e1602=_0x474fca;try{const _0x5c9965=this[_0x5e1602(0x2d0)](this[_0x5e1602(0x2a1)](),''+_0x3913d2),_0x497f77=(await this[_0x5e1602(0x3da)][_0x5e1602(0x261)](_0x5c9965))[_0x5e1602(0x472)];return _0x497f77[_0x5e1602(0xf5)]&&_0x497f77[_0x5e1602(0xf5)][_0x5e1602(0x360)]===_0x3b4d51['OK']?Promise[_0x5e1602(0x156)](_0x497f77[_0x5e1602(0x229)]):Promise[_0x5e1602(0x471)](_0x497f77['error']);}catch(_0x2e0a94){return Promise['reject'](_0x2e0a94);}}async[_0x474fca(0x343)](_0x39cbec){const _0x43cb43=_0x474fca;let _0x1bbb9b='';if(!_0x19018e[_0x43cb43(0x317)](_0x39cbec['type']))return this[_0x43cb43(0x18b)](),Promise['reject'](new Error(_0x46aaec[_0x43cb43(0x182)][_0x43cb43(0x421)]));if(_0x39cbec[_0x43cb43(0xb8)]>_0x124abc)return this[_0x43cb43(0x18b)](),Promise['reject'](new Error(_0x46aaec['ImageUploadStatusType'][_0x43cb43(0x2e7)]));try{const _0x50b5d0=new FormData();_0x50b5d0['append'](_0x43cb43(0x2f6),_0x39cbec);const _0x398438=this['_getUploadFileURL']()+_0x43cb43(0xf8)+_0x39cbec[_0x43cb43(0xb8)]['toString'](),_0x370e01=await(await fetch(_0x398438,{'method':'POST','body':_0x50b5d0}))[_0x43cb43(0x216)]();if(typeof _0x370e01[_0x43cb43(0x1dc)]!=_0x43cb43(0x20d))return this[_0x43cb43(0x18b)](),Promise[_0x43cb43(0x471)](new Error(_0x46aaec['ImageUploadStatusType']['ERROR_IMAGE']));_0x1bbb9b=_0x370e01[_0x43cb43(0x1dc)];}catch{return this[_0x43cb43(0x18b)](),Promise[_0x43cb43(0x471)](new Error(_0x46aaec[_0x43cb43(0x182)][_0x43cb43(0xf7)]));}return new Promise((_0x3af095,_0x5ce2c5)=>{const _0x24b942=_0x43cb43,_0x43bab0=new FileReader();_0x43bab0[_0x24b942(0x3e2)](_0x39cbec),_0x43bab0[_0x24b942(0x29b)]=_0xbd05cf=>{const _0x54af33=_0x24b942;var _0x1e7d8c;const _0x496658=(_0x1e7d8c=_0xbd05cf['target'])==null?void 0x0:_0x1e7d8c['result'];if(_0x496658==null){this[_0x54af33(0x18b)](),_0x5ce2c5(new Error(_0x46aaec['ImageUploadStatusType'][_0x54af33(0xf7)]));return;}const _0x4f7fa2=_0x132eb9[_0x54af33(0x44f)][_0x54af33(0x2de)](0x6);_0x3af095({'imageId':_0x4f7fa2,'imageSourceType':_0x46aaec[_0x54af33(0x2ec)]['UUID'],'source':_0x1bbb9b,'base64Cache':_0x496658,'status':_0x46aaec[_0x54af33(0x182)][_0x54af33(0x35c)]}),this[_0x54af33(0x18b)]();};});}['_getUploadFileURL'](){const _0x1fe396=_0x474fca;var _0x275f32;return(_0x275f32=this[_0x1fe396(0x26f)][_0x1fe396(0x3a2)](_0x3b43e3))!=null?_0x275f32:_0x528367;}['_getSignURL'](){const _0x58e254=_0x474fca;var _0xbaf1f2;return(_0xbaf1f2=this[_0x58e254(0x26f)][_0x58e254(0x3a2)](_0x3d07e9))!=null?_0xbaf1f2:_0x2658f9;}[_0x474fca(0x2d0)](_0x3d3102,_0x575b46){const _0x2b0340=_0x474fca;return _0x3d3102[_0x2b0340(0x15a)](_0x2b0340(0x308),_0x575b46);}[_0x474fca(0x18b)](){const _0xd9ae29=_0x474fca;this['_waitCount']-=0x1,this['_change$']['next'](this[_0xd9ae29(0x203)]);}},_0x48d167[_0x474fca(0x385)]=_0x226d69([_0x3d23d3(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x3d23d3(0x1,_0x132eb9['IConfigService'])],_0x48d167[_0x474fca(0x385)]);var _0x3ed8f5=Object[_0x474fca(0x109)],_0x42c9f3=Object[_0x474fca(0xcc)],_0x2d99bc=(_0x23d408,_0x52a4d8,_0x29d0f2,_0x3e1511)=>{const _0x2ce9ca=_0x474fca;for(var _0x5ece54=_0x3e1511>0x1?void 0x0:_0x3e1511?_0x42c9f3(_0x52a4d8,_0x29d0f2):_0x52a4d8,_0x23fe05=_0x23d408[_0x2ce9ca(0x2b9)]-0x1,_0x44fd2b;_0x23fe05>=0x0;_0x23fe05--)(_0x44fd2b=_0x23d408[_0x23fe05])&&(_0x5ece54=(_0x3e1511?_0x44fd2b(_0x52a4d8,_0x29d0f2,_0x5ece54):_0x44fd2b(_0x5ece54))||_0x5ece54);return _0x3e1511&&_0x5ece54&&_0x3ed8f5(_0x52a4d8,_0x29d0f2,_0x5ece54),_0x5ece54;},_0x3f7f8a=(_0xf36180,_0x5cce19)=>(_0x35d936,_0x85cd3a)=>_0x5cce19(_0x35d936,_0x85cd3a,_0xf36180);let _0x4dfd7e=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x4152be,_0x5b0c89,_0x37a727,_0x12ca77,_0x4562d7){const _0x1cbac4=_0x474fca;super(),this['_injector']=_0x4152be,this[_0x1cbac4(0x1bd)]=_0x5b0c89,this[_0x1cbac4(0x28c)]=_0x37a727,this[_0x1cbac4(0x3e6)]=_0x12ca77,this[_0x1cbac4(0x1fc)]=_0x4562d7,this[_0x1cbac4(0x3af)](),this[_0x1cbac4(0x294)]();}[_0x474fca(0x294)](){const _0x4570db=_0x474fca,_0x4fa7f3=async _0x77d4a4=>{const _0x223c0d=_0x2d55;(await this[_0x223c0d(0x3e6)][_0x223c0d(0x21a)](_0x77d4a4))['event$'][_0x223c0d(0x195)](_0x5d8ab5['filter'](_0x8ec477=>_0x8ec477[_0x223c0d(0x31f)]===_0x1524d[_0x223c0d(0x2b2)]['SHOULD_CLOSE_CONN']),_0x5d8ab5[_0x223c0d(0x37a)](this[_0x223c0d(0x2b5)]))[_0x223c0d(0x2e1)](_0x506941=>{const _0x181bdc=_0x223c0d,_0x5345e5=_0x506941,{reason:_0x8db6f3}=_0x5345e5[_0x181bdc(0xe5)];this[_0x181bdc(0x306)][_0x181bdc(0x261)](_0x202279[_0x181bdc(0x123)])[_0x181bdc(0xac)]({'type':_0x59ab28[_0x181bdc(0x336)]['Error'],'content':this[_0x181bdc(0x1fc)]['t'](_0x181bdc(0x20f))+'('+_0x8db6f3+')'}),this[_0x181bdc(0x28c)][_0x181bdc(0x485)](new _0x21d024[(_0x181bdc(0x33c))](_0x77d4a4)['id'],!0x1),this[_0x181bdc(0x3e6)][_0x181bdc(0x39a)](_0x77d4a4);});};_0x3639ee['merge'](this[_0x4570db(0x1bd)][_0x4570db(0x25b)](_0x132eb9[_0x4570db(0x44e)][_0x4570db(0x1a0)]),this['_univerInstanceService'][_0x4570db(0x25b)](_0x132eb9[_0x4570db(0x44e)][_0x4570db(0x14d)]))['pipe'](_0x5d8ab5[_0x4570db(0x18f)](_0x239834=>_0x239834[_0x4570db(0x225)]()),_0x5d8ab5['filter'](_0x318015=>!_0x132eb9[_0x4570db(0xdb)](_0x318015)),_0x5d8ab5['takeUntil'](this[_0x4570db(0x2b5)]))['subscribe'](_0x4934b9=>{_0x4fa7f3(_0x4934b9);});}[_0x474fca(0x3af)](){const _0x257bf7=_0x474fca,_0x506e60=async _0x580b21=>{const _0x52ef01=_0x2d55;(await this['_collaborationSessionService'][_0x52ef01(0x21a)](_0x580b21))['event$'][_0x52ef01(0x195)](_0x5d8ab5[_0x52ef01(0x1cd)](_0xf929ec=>_0xf929ec[_0x52ef01(0x31f)]===_0x1524d[_0x52ef01(0x2b2)]['UPDATE_PERMISSION_OBJ']),_0x5d8ab5['takeUntil'](this[_0x52ef01(0x2b5)]))[_0x52ef01(0x2e1)](_0x5b95b0=>{const _0xcd7790=_0x52ef01,_0x13575b=_0x5b95b0,{objectId:_0x3668ec}=_0x13575b[_0xcd7790(0xe5)];_0x3668ec===_0x580b21&&this[_0xcd7790(0x306)][_0xcd7790(0x261)](_0x12bc0e['SheetPermissionInitController'])['initWorkbookPermissionChange'](_0x580b21);});};_0x3639ee[_0x257bf7(0xb5)](this['_univerInstanceService'][_0x257bf7(0x25b)](_0x132eb9[_0x257bf7(0x44e)][_0x257bf7(0x1a0)]),this['_univerInstanceService'][_0x257bf7(0x25b)](_0x132eb9['UniverInstanceType']['UNIVER_DOC']))[_0x257bf7(0x195)](_0x5d8ab5[_0x257bf7(0x18f)](_0xf72db0=>_0xf72db0[_0x257bf7(0x225)]()),_0x5d8ab5['filter'](_0x86dcdb=>!_0x132eb9[_0x257bf7(0xdb)](_0x86dcdb)),_0x5d8ab5[_0x257bf7(0x37a)](this[_0x257bf7(0x2b5)]))[_0x257bf7(0x2e1)](_0x45f144=>{_0x506e60(_0x45f144);});}};_0x4dfd7e=_0x2d99bc([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x4dfd7e),_0x3f7f8a(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x3f7f8a(0x1,_0x132eb9[_0x474fca(0x22d)]),_0x3f7f8a(0x2,_0x132eb9['IPermissionService']),_0x3f7f8a(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)])),_0x3f7f8a(0x4,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)]))],_0x4dfd7e);var _0x597d12=Object['defineProperty'],_0x3db6ed=Object[_0x474fca(0xcc)],_0x2a2fd1=(_0x646c58,_0x5886f6,_0x353530)=>_0x5886f6 in _0x646c58?_0x597d12(_0x646c58,_0x5886f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x353530}):_0x646c58[_0x5886f6]=_0x353530,_0x3411ff=(_0x522b37,_0x1fb621,_0x12430d,_0x3beafb)=>{const _0x4fcf28=_0x474fca;for(var _0x17e1da=_0x3beafb>0x1?void 0x0:_0x3beafb?_0x3db6ed(_0x1fb621,_0x12430d):_0x1fb621,_0x32f62c=_0x522b37[_0x4fcf28(0x2b9)]-0x1,_0x1e2af6;_0x32f62c>=0x0;_0x32f62c--)(_0x1e2af6=_0x522b37[_0x32f62c])&&(_0x17e1da=(_0x3beafb?_0x1e2af6(_0x1fb621,_0x12430d,_0x17e1da):_0x1e2af6(_0x17e1da))||_0x17e1da);return _0x3beafb&&_0x17e1da&&_0x597d12(_0x1fb621,_0x12430d,_0x17e1da),_0x17e1da;},_0x1761d7=(_0x3f6b9f,_0x34eeba)=>(_0x1543ed,_0x259c0d)=>_0x34eeba(_0x1543ed,_0x259c0d,_0x3f6b9f),_0x227745=(_0x41e986,_0x280eb5,_0x2edde1)=>_0x2a2fd1(_0x41e986,_0x280eb5+'',_0x2edde1);const _0x47ef42=_0x474fca(0x33f);_0x48d167[_0x474fca(0xb0)]=class extends _0x132eb9[_0x474fca(0x478)]{constructor(_0x5b7ce0,_0x49bcb4,_0x561fe6,_0x81f0c){const _0x2b6232=_0x474fca;super(),this[_0x2b6232(0x2c7)]=_0x5b7ce0,this[_0x2b6232(0x1ac)]=_0x49bcb4,this['_renderManagerService']=_0x561fe6,this[_0x2b6232(0x306)]=_0x81f0c;}[_0x474fca(0x2d6)](_0x1f5e52){const _0x4f5a43=_0x474fca;this[_0x4f5a43(0x358)](_0x1f5e52);}[_0x474fca(0x22a)](){const _0x370a4b=_0x474fca;this[_0x370a4b(0x1d2)]();}[_0x474fca(0x358)](_0x14a804){const _0x12785a=_0x474fca;var _0x2f832e,_0x4cf403,_0x4678ba,_0x22e2b4;_0x14a804[_0x12785a(0x400)](_0x132eb9[_0x12785a(0x1e4)])&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x12785a(0x201));let _0x3cc521=[[_0x132eb9[_0x12785a(0x1e4)],{'useClass':_0x4f58da}],[_0x48d167[_0x12785a(0xc6)]],[_0x35bdf6],[_0x5e809e[_0x12785a(0xe7)]],[_0x454085,{'useClass':_0x56db24}],[_0x191a69],[_0x48d167[_0x12785a(0x27d)]],[_0x5e809e[_0x12785a(0x2ed)]],[_0x40081e],[_0x49cc76],[_0x5e5e64],[_0x17ef3e],[_0xb1bc0c],[_0x333a83],[_0x4dfd7e],[_0x2b67b3,{'useClass':(_0x4cf403=(_0x2f832e=this[_0x12785a(0x2c7)])==null?void 0x0:_0x2f832e[_0x12785a(0x481)])!=null?_0x4cf403:_0x48d167[_0x12785a(0x262)]}],[_0x5e809e[_0x12785a(0x374)],{'useClass':_0x5e809e[_0x12785a(0x2ad)]}],[_0x132eb9[_0x12785a(0x322)],{'useClass':_0x48d167[_0x12785a(0x231)]}],[_0x132eb9['IAuthzIoService'],{'useClass':_0x48d167['AuthzIoHttpService']}],[_0x46aaec['IImageIoService'],{'useClass':_0x48d167[_0x12785a(0x385)]}],[_0x48d167[_0x12785a(0x251)]],[_0x48d167[_0x12785a(0x98)]],[_0x48d167[_0x12785a(0x3dc)]],[_0x345dbc],[_0x4073a6]];(_0x4678ba=this[_0x12785a(0x2c7)])!=null&&_0x4678ba[_0x12785a(0x3d6)]&&_0x3cc521[_0x12785a(0x277)]([_0x54135c,{'useClass':_0x5204d1}]),_0x3cc521=_0x132eb9[_0x12785a(0x30a)](_0x3cc521,(_0x22e2b4=this[_0x12785a(0x2c7)])==null?void 0x0:_0x22e2b4[_0x12785a(0x23e)]),_0x3cc521['forEach'](_0x2bd595=>_0x14a804[_0x12785a(0x41b)](_0x2bd595)),this[_0x12785a(0x18a)]();}[_0x474fca(0x1d2)](){const _0x3a0213=_0x474fca;this[_0x3a0213(0x26e)](this[_0x3a0213(0x409)]['registerRenderModule'](_0x132eb9[_0x3a0213(0x44e)]['UNIVER_DOC'],[_0x1c9143])),this[_0x3a0213(0x26e)](this[_0x3a0213(0x409)][_0x3a0213(0x165)](_0x132eb9[_0x3a0213(0x44e)]['UNIVER_SHEET'],[_0x57fff8]));}[_0x474fca(0x18a)](){const _0xc42797=_0x474fca;var _0x2e237e,_0x306ac4;this[_0xc42797(0x306)][_0xc42797(0x261)](_0x5e809e[_0xc42797(0xe7)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5e809e[_0xc42797(0x460)]({'maxParallel':0x6})}),(_0x2e237e=this[_0xc42797(0x2c7)])!=null&&_0x2e237e[_0xc42797(0x379)]||this[_0xc42797(0x306)][_0xc42797(0x261)](_0x48d167[_0xc42797(0x27d)])[_0xc42797(0x248)](),(_0x306ac4=this['_config'])!=null&&_0x306ac4[_0xc42797(0x259)]&&this[_0xc42797(0x306)][_0xc42797(0x261)](_0xb1bc0c);}},_0x227745(_0x48d167[_0x474fca(0xb0)],_0x474fca(0xe1),_0x47ef42),_0x48d167['UniverCollaborationClientPlugin']=_0x3411ff([_0x132eb9[_0x474fca(0x3fc)](_0x1524d[_0x474fca(0x466)]),_0x1761d7(0x1,_0x132eb9['ILogService']),_0x1761d7(0x2,_0x24af47[_0x474fca(0x2f0)]),_0x1761d7(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector']))],_0x48d167[_0x474fca(0xb0)]),_0x48d167[_0x474fca(0x164)]=_0x3dabc0,_0x48d167[_0x474fca(0x10d)]=_0x22e134,_0x48d167['COLLAB_WEB_SOCKET_URL_KEY']=_0x5058a4,_0x48d167[_0x474fca(0x37c)]=_0x3e6ce,_0x48d167[_0x474fca(0xd6)]=_0x26ba18,_0x48d167['CommentService']=_0x333a83,_0x48d167[_0x474fca(0x2b1)]=_0x5a327e,_0x48d167[_0x474fca(0x2df)]=_0x240518,_0x48d167[_0x474fca(0x2d9)]=_0x2b67b3,_0x48d167[_0x474fca(0xff)]=_0x454085,_0x48d167[_0x474fca(0x30f)]=_0x2c2734,_0x48d167[_0x474fca(0x1f6)]=_0x596ca2,_0x48d167[_0x474fca(0x1cc)]=_0x5036b1,_0x48d167[_0x474fca(0xc8)]=_0x474f5b,_0x48d167[_0x474fca(0x16c)]=_0x5e8172,_0x48d167[_0x474fca(0x3ee)]=_0x139854,_0x48d167['SheetCollabCursorShape']=_0x57dbff,_0x48d167[_0x474fca(0x212)]=_0x56db24,_0x48d167[_0x474fca(0x25e)]=_0x156469,_0x48d167['serializeCombRequest']=_0x41be5a,Object[_0x474fca(0x109)](_0x48d167,Symbol[_0x474fca(0x2da)],{'value':_0x474fca(0x10f)});}));function _0x2d55(_0xfbea46,_0x24e174){const _0x30bb76=_0x30bb();return _0x2d55=function(_0x2d5524,_0x2d0bba){_0x2d5524=_0x2d5524-0x96;let _0x3e0f28=_0x30bb76[_0x2d5524];return _0x3e0f28;},_0x2d55(_0xfbea46,_0x24e174);}function _0x30bb(){const _0x48005f=['socket\x20open.','_getLoginPath','some','UPDATE_CURSOR','file','getUndoRedoMutationParamsCache','lodash','getSheetBySheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_lockTransition','_handleEvent','liveShareNewHost','LICENSE_IMPORT_SIZE_EXCEEDED','getValue','combineLatest','_sendHeartbeatTimer','getImageSourceCache','SetSelectionsOperation','_createInitialStateImpl','COMMENT_UPDATE','_injector','_schedule','{fileID}','_onRemoteChangeset','mergeOverrideWithDependencies','InsertRangeMoveRightCommandId','getParam','save','updateMember','LOCAL_CACHE_INTERVAL_KEY','_unitID','state','toRgbString','onTransformRemoteChangesetByIMECache','Starting','originalMeta','makeDirty','includes','LocaleService','random','send','AuthzIoHttpService','ONLINE','transformSelections','fillStyle','eventID','_createHandler','then','ISnapshotServerService','unit','getActiveRange','triggerDblclick','sessionStatus$','RevisionService','addObjects','JOINING','transformUndoRedo','hovered','message$','jiqing500','fill','_collabSessionService','joinEvent','unit-cache-','status','1720868nsTUKt','labelPosition','awaitingChangeset','MessageType','APPLY_REVISION_CONFILICT','_sendingTimer','_onConnectionOpen','csAckEvent','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','WorkbookEditablePermission','close','CHANGESET_REVISION_CONFILICT','UNIVER_COLLABORATION_CLIENT_PLUGIN','_docSkeletonManagerService','changesets','online','saveImage','onCommandExecuted','COMPLETION_FINISHED','RichTextEditingMutation','transformIMECache','\x0aCurrent:\x20','_socketReady','_shapes','distinctUntilChanged','_color','_labelPosition','textRanges','/role','@univerjs/rpc','method','fillText','_initResize','_submitChangeset','transformChangesets','3dKOPcu','ACTIVE_UNIT_EVENT_CHANNEL','_registerDependencies','Rectangle','OFFLINE','transformMutation','SUCCUSS','open$','routeKey','_socket$','code','72SRisjl','_getMergeRange','_initStatusComponent','_acknowledgedAwaitingChangeset','_onUserLeave','CompressMutationService','&to=','_getSendChangesetTimeout','ThemeService','_onRemoteRejected','indexOf','function','onPointerMove$','[CollaborationSessionService]:\x20socket\x20error','location','delay','_urlService','roomMembers','_onLocalMutation','IHTTPImplementation','find','none','[OfflineState]:\x20received\x20acknowledgement.','setShapeProps','enableOfflineEditing','takeUntil','patch','CollaborationStatus','_onCursorDelete','update','reverse','_event$','_tryEnsureSocket','status$','univer-online','univer-offline','ImageIoService','_undoRedoService','_loadSheet','SheetSkeletonManagerService','_getRedoStack','state$','fromCollab','apply','univer-pro.collaboration-client.single-active-unit-service','[CollaborationState]:\x20apply\x20error!','parseProtocolChangeset','getUnhiddenWorksheets','unknown','contains','_scheduleClearOtherTimer','_beforeCloseService','_refRangeService','transformRemoteChangeset','RefRangeService','conflict.content','_getUndoStack','closeSession','asObservable','createSocket','[CollaborationEntity]','pending','COMPRESS_MUTATION_APPLY','pushState','displayName','getConfig','take','registerHTTPInterceptor','FAIL','BASE64','font','LIVESHARE_TERMINATE','_name','transformByState','_collaborationTimeoutTimer','verdancy600','_startCollaboration','_backgroundColor','_initUnitPermissionChange','_onConnectionFailed','_unitOnClients','requestParams','collabStatus.fetchMiss','trim','row','_ensureSubject','all','_getSheetObject','_context','round','_compressMutationService','_joinRoom','RxDisposable','AWAITING','defIds','_hideTimer','href','LIVESHARE_REQUEST_HOST','SUBMIT_CHANGESET','/-/object/-/batch_allowed','confirm','enableLocalCache','56dJxxtY','getCurrentRevForDocument','_selfUnitIDs','getMember','rev','_setupSubUnitSync','column','_HTTPService','_initStatusListener','syncEditingCollabCursor','newCsEvent','_scheduleTimestamp','addEventListener','getCurrent','encodeURIComponent','enableSingleActiveInstanceLock','@univerjs/drawing','[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.','SheetsSelectionsService','_httpService','clsx','DesktopCollaborationStatusDisplayController','useRef','IPermissionService','className','_handleHeartbeatEvent','_docSkeleton','readAsDataURL','LIVESHARE_NEW_HOST','UniverCollaboration','HEADER_MENU','_collaborationSessionService','getRelativeToViewportCoord','getUnitStatus$','1078909bBQayn','react','_waitForHeartbeatResponse','getImage','use','SessionStatus','IRemoteInstanceService','_getSnapshotAPIPrefix','LICENSE_DISTRO_REJECTED','unshift','VIEWPORT_KEY','height','_saveTaskMap','_createSocket','_handler','TOO_MANY_REQUESTS','setParam','_change$','@univerjs/network','DependentOn','_clearRedo','_startSheetCollabCursor','isValidRectRange','has','focused$','entries','_document','_lastPointer','drawWith','UniverEngineRender','LIVESHARE_OPERATION','PENDING','_renderManagerService','_handleHover','_localCacheService','isTransformMutationFailure','handleInsertCol','serializeDocRange','editingUnit','[FetchMissState]','Rect','clear','csRejEvent','deepClone','InsertRangeMoveDownCommandId','INVALID_ARGUMENT','slice','clearInterval','connection\x20error','TextSelectionManagerService','add','_getScale','UniverRpc','_docTransformSelectionsService','_uiPartsService','YUUMI_URL_COL_OUT_OF_RANGE','ERROR_IMAGE_TYPE','updateOfflineData','saveOfflineData','flatMap','top','shareReplay','Error\x20on\x20receiving\x20event','event$','SNAPSHOT_HAS_BEEN_REMOVED','_sheetTransformSelectionsService','_clearOtherTimers','values','getCurrentUser','replaceTextRanges','_members','_initMergeInterceptor','fetchThroughInterceptors','_sessionStatus$','assign','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_fetchMissChangesets','b64DecodeUnicode','UserManagerService','lineTo','ITransformService','currentTheme$','m2Prime','@univerjs/sheets','_onJoinRoomEvent','idSuffix','_docSyncEditingCollabCursorService','_saveCache','ranges','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','mapTo','_syncEditingCollabCursor','onlineStatus','setActiveRange','createIdentifier','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','APPLY_NON_SEQUENTIAL_REVISION','@univerjs/ui','_pendingMutations','getViewport','_entityInit$','UniverInstanceType','Tools','Ready','_cursor','next','_onRecvEvent','_scheduleReconnection','CHANGESET_REJ','APPLY_REJECT','getResourcesRequest','USERS_LEAVE','_onCombEvent','getRoom','_themeService','_getAPIPrefix','_refreshCollabCursors','IUIPartsService','cmd','ThresholdInterceptorFactory','getFocusedUnit','LEAVE','allowed','PSEUDO_FETCH_MISSING_RESULT','EffectRefRangId','UniverCollaborationPlugin','isTransformChangesetsSuccess','getCollabEntity','COMPRESS_MUTATION_SEND','IConfigService','uni.network.url-service','onPointerLeave$','SHOULD_CLOSE_CONN','InsertRowCommandId','_textBubble','/new_changes','reject','body','POST','_socket','put','HEARTBEAT','onTransformIME','Plugin','_updateCollabCursors','awaiting_with_pending','OTHER_CLIENTS_EDITING','TRANSFORM_CHANGE_OBSERVABLE_TYPE','HELLO','handleIRemoveCol','Vector2','getColor','socketService','_scene','_colorIndex','EXCHANGE_SIGN_URL_SERVER_URL_KEY','updatePermissionPoint','DEFAULT_FILE_NAME','YUUMI_UNABLE_LOAD_URL','DataLoaderController','\x0aAfter:\x20','svg','/universer-api/comb','whenReady','onMissedChangesetFetched','encode','findNodePositionByCharIndex','deserializeRangeWithSheet','_setupBeforeClosingHandler','toString','/object','_updateURLWithCurrentState','unitId','_removeClearOtherTimer','PERMISSION_DENIED','[CollaborationSessionService]','handleMoveRange','...','COLLAB_WEB_SOCKET_URL','show','ILogService','_updateSubUnitFromURLParams','actions','UniverCollaborationClientPlugin','listRoles','/collaborator','UniverSheets','_scheduleSaving','merge','onPointerEnter$','subscribeEvent','size','url(#$1','getActiveSheet','_transformPreviousActiveRange','setAlpha','_send','set','collabStatus.offline','fetchMissingChangesets','getOwnPropertySymbols','#FFF','_timeoutTimer','#fff','CONFLICT','CollaborationSessionService','clipPath','SNAPSHOT_SERVER_URL_KEY','collaMsg','conflict','_substituteRedoStack','getOwnPropertyDescriptor','univer-online-status-icon','_showConflictNotification','_initCommandExecutedListener','_drawAnchor','endRow','_removeCollabCursors','COLORS','_clearLocalCache','synced','CollaborationStatusDisplay','/universer-api/snapshot/','SYNCED','startsWith','getMemberID','isInternalEditorID','ILocalStorageService','_clearCollaborationTimeoutTimer','unsubscribe','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','socket\x20close','pluginName','collabCursorState$','/allowed','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','data','params','HTTPService','handleInsertRangeMoveRight','subunit','reduce','_entities','fetch_missing','collabStatus.synced','loadOfflineData','@univerjs/engine-render','SetWorksheetActivateCommand','_executeRemoteChangeset','runRefRangeMutations','every','propertyIsEnumerable','error','searchParams','ERROR_IMAGE','?size=','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_clearTimeoutTimer','getOffsetConfig','max','UNKNOWN_CMD','color','IURLService','baseRev','addImageSourceCache','gold400','CommandType','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','COLLAB_SUBMIT_CHANGESET_URL','_socketService','_rescheduleHeartbeatEvent','defineProperty','_singleActiveUnitService','RemoveColCommandId','?url=','COLLAB_SUBMIT_CHANGESET_URL_KEY','setTimeout','Module','extend','icon','_roomMembers','auth.needGotoLoginAlert','_replayCachedMutations','_hovered','DeleteRangeMoveUpCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','ALREADY_EXISTS','getSkeleton','type','_onCursorUpdate','removeMember','m1Prime','session.room-full','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','JOIN','UniverDesign','getMergeData','IMessageService','onRemoteChangeset','OffLineSingle','getTime','_incrementRevisionNumber','post','@univerjs/engine-formula','_undoStacks','toggleOffline','_transformRemoteChangesetByIMECache','UNRECOGNIZED','UniverEngineFormula','[PendingState]:\x20received\x20acknowledgement.','storage','_syncEditingCollabCursorService','DisposableCollection','992QZvNDn','_docTransformIMECacheService','submit\x20changeset\x20error!','getSheetId','not_collab','_state$','onMouseMove','sheets','_collaborationPaused','_commentService','substring','_online','fetching\x20missing\x20changesets\x20from\x20','create','concat','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','editing\x20status\x20changed\x20to','popstate','_drawRectRange','black','IBeforeCloseService','newValue','sheetId','onMissingChangesets','_remoteChangesetQueue','c2Prime','UNIVER_DOC','split','MUTATION','getCellPositionByOffset','setItem','awaiting','range','_anchorDot','bottom','resolve','SNAPSHOT_INVALID_SNAPSHOT','revision','children','replace','executeCommand','_range','_transformUndoredo','_loadDoc','_clearHeartbeatTimer','LIVESHARE_FETCH_OPERATIONS','_getCtorByUniverType','_transformUndoRedoStack','interceptor','AUTHZ_URL_KEY','registerRenderModule','_updateLocalCursor','resend','tag','session','catch','_snapshotService','SNAPSHOT_URL_KEY','UNDEFINED','_eventUnsubscribe','@univerjs/docs','UNIVER_UNKNOWN','collaboration.single-unit.warning','_exhaustRemoteChangesetQueue','forEach','unload','measureText','unitID','Disposable','getCurrentUnitForType','NodePositionConvertToRectRange','getRangePointData','CONNECTOR_DATA_TOO_LARGE','[CollaborationUndoRedoService]','moveTo','_cursorShapes','/object/','hide','_sessions','ImageUploadStatusType','session.will-retry','objectType','history','objectID','onlineStatusIcon','getCollabCursors$','onCommentUpdate','_initModules','_decreaseWaiting','assignAColorForMemberID','_disableEditing','getWorkbookSelections','map','_transformService','endColumn','createInstance','collaboration-client.offline-data-not-saved','off-line-single_clip0_910_343','pipe','getDocRanges','_toggleOnline','AWAITING_WITH_PENDING','Optional','dispose','_cursorInfo$','debug','getAncestorScale','_render','Warning','UNIVER_SHEET','transformMutationsWithChangeset','_type','infoRsp','rxjs/operators','selections','_colorAssignService','getUnitOnRev','Inject','LICENSE_MAX_UNITS_EXCEEDED','_onUserJoin','_unitStatus','_logService','_draw','save\x20fail\x20reason\x20is\x20','_messageService','[DataLoaderController]','switchMap','conflict.title','569940cbCbPu','OnLifecycle','_session','OnLineSingle','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UniverCollaborationClient','NOT_FOUND','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','skeleton','_transitionLocked','_univerInstanceService','close$','saveSheetBlock','setWaitCount','[CollaborationSession]','appendMutation','UNKNOWN_CODE','sessionStatus','[SyncedState]:\x20received\x20rejection.','userID','call','getCollabEntity$','_commandService','_onRemoteACK','Subject','SEND_CHANGESET_TIMEOUT_KEY','filter','_updateStatus','xlink:href','startRow','M0\x200H16V16H0z','_registerRenderDependencies','hasOwnProperty','_retryCount','_init','_getCurrentRevision','_imageSourceCache','RegularPolygon','_cachedData','addObject','loadDoc','FileId','FromArray','setCurrentUser','Unknown\x20user','attrs','_disabled','session.connection-failed','debounce','IUndoRedoService','InsertSheetMutation','SnapshotService','UniverCore','useDependency','getCurrentSelections','Error','/universer-api/snapshot','getSheetBlock','init','_startDocCollabCursor','1em','_collabCursorController','ICommandService','_getAPIPrefixPath','_onConflict','selection','c1Prime','LOGIN_URL_KEY','DocSkeletonManagerService','_unlockTransition','cursorInfo$','collab-text-range-','@univerjs/sheets-ui','_localeService','@univerjs-pro/collaboration','currentSkeleton$','SetTextSelectionsOperation','UniverSheetsUi','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Shape','_waitCount','_removeRoom','_memberService','transform','_commentUpdate$','_transformStack','permissionRejEvent','backgroundColor','Workbook','error$','string','ws://127.0.0.1:8000/universer-api/comb/connect','collaboration.closeRoom','collaborators','localeService','WebURLService','11pZjpMy','arc','ColorKit','json','NO_OTHER_CLIENTS_EDITING','_queuedRemoteChangesets','defs','requireSession','doc.mutation.rich-text-editing','isTransformMutationsWithChangesetFailure','_notificationService','_substituteUndoStack','replaceState','_getAnchorBounding','[SyncedState]:\x20received\x20acknowledgement.','from','_localStorageService','delete','getUnitId','objectActions','onlyLocal','permission.title','url','onRendered','PERMISSION_REJ','UNAUTHENTICATED','IUniverInstanceService','rxjs','currentColor','deleteCollaborator','SnapshotServerOverHTTPService','LifecycleStages','stringify','IMEInputManagerService','_handleLeaveEvent','RECV','_updateLocalCache','_clearUndo','_id','UPDATE_PERMISSION_OBJ','headers','INTERNAL_ERROR','_heartbeatTimer','override','list','SetDocZoomRatioOperation','_retryConnectingTimer','path','result','_handleJoinEvent','_applyRemoteChangeset','onRemoteRej','url(#on-line-single_clip0_910_349)','disableLocalCache','onSendChangeset','_toggleOffline','@univerjs/design','cursorInfo','loadSheet','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','min','symbol','CollaborationController','setUndoRedoMutationParamsCache','restore','operators','APPLY_PERMISSION_DENIED','mutations','_revisionService','debounceTime','enableAuthServer','toggleOnline','getTypeOfUnitAdded$','TEXT_RANGE_LAYER_INDEX','_http','deserializeToCombResponse','complete','isEditing','get','CollaborationSocketService','/block/','\x20in\x20_schedule.','getInterceptPoints','handleDeleteRangeMoveUp','_anchor','_sheetSkeletonManagerService','_updateState','memberID','HTTPRequest','on-line-single_clip0_910_349','name','disposeWithMe','_configService','_socketMessageSubscription','_onMessage','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getItem','_scheduleCollaborationTimeoutTimer','_checkMissing','lodash/debounce','push','_drawTextRange','div','image/png','sheetID','members','LocalCacheService','image/gif','/unit/','/universer-api/stream/file/upload','SheetCollaborationEntity','_state','NOT_COLLAB','colorChannel1','_clearScheduledTask','isTransformMutationsWithChangesetSuccess','RemoveRowCommandId','NEW_CHANGESETS','_redoStacks','2229570QTyzOR','6214870uzPMFy','_permissionService','evenodd','commentUpdate$','UniverNetwork','purple300','forwardRef','MSG_FOR_ERROR','clearTimeout','_initCloseConn','BuiltInUIPart','univer-online-status-title','NodePositionConvertToCursor','urlChange$','width','CollaborationSession','onload','_hover','joinRsp','textEncoder','_cursors','BehaviorSubject','_getSignURL','image/jpg','Injector','createElement','@univerjs/core','2218xkbHtm','FETCH_MISS','UNIVER_SLIDE','\x20to\x20','_sendHeartbeat','RETRY_CONNECTING_INTERVAL','subUnitId','XHRHTTPImplementation','mapDocumentTypeToUniverType','text','99ceNDyx','HEARTBEAT_INTERVAL_KEY','CollaborationEvent','offline','_assignedColors','dispose$','SEND_CHANGESET_TIMEOUT','getTypeOfUnitDisposed$','getUnitType','length','[PendingState]:\x20received\x20rejection.','IContextService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','parse','prototype','_roomMembers$','toDisposable','onRemoteAck','registerRefRange','collabStatus.conflict','amd','INGEST','_getSaveTimeout','_config','isArray','exports','_collabCursorState$','roomMembers$','incrementRevForDocument','transformStack\x20failed!','startColumn','compose','_replaceFileID','isActive','roomInfos','CHANGESET_ACK','updateCursorEvent','LocalUndoRedoService','onStarting','_status$','72288encnKI','ICollaborationSocketService','toStringTag','IDLE','_awaitingChangeset','leaveEvent','generateRandomId','HEARTBEAT_TIMEOUT_KEY','sequenceExecute','subscribe','removeParam','withCredentials','USERS_ENTER','HEARTBEAT_TIMEOUT','getCoordByCell','ERROR_EXCEED_SIZE','onTransformChange$','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','onStateChange','blue400','ImageSourceType','WebSocketService','_docStateChangeManagerService','_ws','IRenderManagerService','onTransformSelections'];_0x30bb=function(){return _0x48005f;};return _0x30bb();}