@univerjs-pro/collaboration-client 0.4.1-experimental.20241024-0ebc6ee → 0.4.1-experimental.20241024-9717e6c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(_0x486bcf,_0x256bc7){const _0x445bcd=_0x2aa9,_0x3c5571=_0x486bcf();while(!![]){try{const _0x4cb527=parseInt(_0x445bcd(0x30f))/0x1+-parseInt(_0x445bcd(0x3db))/0x2*(-parseInt(_0x445bcd(0x313))/0x3)+parseInt(_0x445bcd(0x307))/0x4+-parseInt(_0x445bcd(0x2dc))/0x5+parseInt(_0x445bcd(0x1bf))/0x6+parseInt(_0x445bcd(0x1e1))/0x7*(parseInt(_0x445bcd(0x2c1))/0x8)+-parseInt(_0x445bcd(0x3bf))/0x9;if(_0x4cb527===_0x256bc7)break;else _0x3c5571['push'](_0x3c5571['shift']());}catch(_0x45262c){_0x3c5571['push'](_0x3c5571['shift']());}}}(_0xb9d3,0x18ebe),function(_0x2f410b,_0x3917c2){const _0x78f14=_0x2aa9;typeof exports==_0x78f14(0x510)&&typeof module<'u'?_0x3917c2(exports,require(_0x78f14(0x515)),require(_0x78f14(0x173)),require(_0x78f14(0x3a7)),require(_0x78f14(0x4d5)),require(_0x78f14(0x4c5)),require(_0x78f14(0x54c)),require('@univerjs-pro/collaboration'),require(_0x78f14(0x25f)),require('@univerjs/docs-ui'),require(_0x78f14(0x2d8)),require(_0x78f14(0x254)),require('@univerjs/docs'),require(_0x78f14(0x17f)),require(_0x78f14(0x325)),require(_0x78f14(0x2de)),require(_0x78f14(0x516)),require('@univerjs/rpc'),require('@univerjs-pro/license')):typeof define==_0x78f14(0x262)&&define[_0x78f14(0x196)]?define([_0x78f14(0x35b),_0x78f14(0x515),_0x78f14(0x173),_0x78f14(0x3a7),_0x78f14(0x4d5),_0x78f14(0x4c5),'@univerjs/network',_0x78f14(0x12c),_0x78f14(0x25f),_0x78f14(0x549),_0x78f14(0x2d8),_0x78f14(0x254),_0x78f14(0x47e),'@univerjs/drawing',_0x78f14(0x325),_0x78f14(0x2de),_0x78f14(0x516),_0x78f14(0x283),_0x78f14(0x467)],_0x3917c2):(_0x2f410b=typeof globalThis<'u'?globalThis:_0x2f410b||self,_0x3917c2(_0x2f410b['UniverCollaborationClient']={},_0x2f410b[_0x78f14(0x391)],_0x2f410b[_0x78f14(0x173)],_0x2f410b[_0x78f14(0x173)][_0x78f14(0x50a)],_0x2f410b[_0x78f14(0x51b)],_0x2f410b[_0x78f14(0x554)],_0x2f410b[_0x78f14(0x3b2)],_0x2f410b[_0x78f14(0x42c)],_0x2f410b[_0x78f14(0x543)],_0x2f410b[_0x78f14(0x4c6)],_0x2f410b[_0x78f14(0x445)],_0x2f410b['UniverEngineRender'],_0x2f410b[_0x78f14(0x246)],_0x2f410b[_0x78f14(0x158)],_0x2f410b[_0x78f14(0x499)],_0x2f410b[_0x78f14(0x459)],_0x2f410b[_0x78f14(0x312)],_0x2f410b[_0x78f14(0x47f)],_0x2f410b[_0x78f14(0x154)]));}(this,function(_0x3b531e,_0x349f19,_0x1e13bb,_0x501e2e,_0x806671,_0x5b624f,_0x47193d,_0x54555c,_0x4eb556,_0x3c060b,_0x4c7a32,_0x577b7e,_0x9fa27b,_0xaccc08,_0x2de305,_0xa0e5aa,_0x385d1d,_0x4ce572,_0x5bb22a){'use strict';const _0x145278=_0x2aa9;var _0x210d17=Object[_0x145278(0x507)],_0x55f15e=(_0x48f6e5,_0x59f7df,_0x6a224e)=>_0x59f7df in _0x48f6e5?_0x210d17(_0x48f6e5,_0x59f7df,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6a224e}):_0x48f6e5[_0x59f7df]=_0x6a224e,_0xbb867=(_0x14f5aa,_0x27b853,_0x2916ad)=>_0x55f15e(_0x14f5aa,typeof _0x27b853!=_0x145278(0x429)?_0x27b853+'':_0x27b853,_0x2916ad);const _0x1f76a6=_0x145278(0x4d2),_0x137d51=_0x145278(0x497),_0x1fe014='SNAPSHOT_URL_KEY',_0x3c165d=_0x145278(0x3ee),_0x5c110b='COLLAB_WEB_SOCKET_URL',_0x3bd2f7='ws://127.0.0.1:8000/universer-api/comb/connect',_0x2ace82='HEARTBEAT_INTERVAL',_0x566bf8=_0x145278(0x551),_0xe2277='RETRY_CONNECTING_MAX_COUNT',_0x255e8f='LOCAL_CACHE_INTERVAL',_0x3f5d5a=_0x145278(0x1dd),_0x2ac880=_0x145278(0x4cc),_0x3d2741='LOGIN_URL_KEY',_0x7b342b=_0x145278(0x142);var _0x21d834=(_0x8e8cae=>(_0x8e8cae[_0x8e8cae[_0x145278(0x369)]=0x0]='UNDEFINED',_0x8e8cae[_0x8e8cae['OK']=0x1]='OK',_0x8e8cae[_0x8e8cae[_0x145278(0x51a)]=0x2]=_0x145278(0x51a),_0x8e8cae[_0x8e8cae[_0x145278(0x3b9)]=0x3]='PERMISSION_DENIED',_0x8e8cae[_0x8e8cae[_0x145278(0x139)]=0x4]=_0x145278(0x139),_0x8e8cae[_0x8e8cae['UNAUTHENTICATED']=0x5]=_0x145278(0x53f),_0x8e8cae[_0x8e8cae[_0x145278(0x16a)]=0x6]=_0x145278(0x16a),_0x8e8cae[_0x8e8cae[_0x145278(0x4f1)]=0x7]=_0x145278(0x4f1),_0x8e8cae[_0x8e8cae[_0x145278(0x363)]=0x8]='TOO_MANY_REQUESTS',_0x8e8cae[_0x8e8cae[_0x145278(0x1bd)]=0x9]='COMPLETION_FINISHED',_0x8e8cae[_0x8e8cae[_0x145278(0x233)]=0x1389]=_0x145278(0x233),_0x8e8cae[_0x8e8cae[_0x145278(0x32f)]=0x1771]=_0x145278(0x32f),_0x8e8cae[_0x8e8cae[_0x145278(0x17e)]=0x1772]=_0x145278(0x17e),_0x8e8cae[_0x8e8cae[_0x145278(0x4cb)]=0x1773]=_0x145278(0x4cb),_0x8e8cae[_0x8e8cae[_0x145278(0x236)]=0x1b59]='APPLY_REJECT',_0x8e8cae[_0x8e8cae[_0x145278(0x436)]=0x1b5a]=_0x145278(0x436),_0x8e8cae[_0x8e8cae[_0x145278(0x226)]=0x1b5b]=_0x145278(0x226),_0x8e8cae[_0x8e8cae[_0x145278(0x35c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x8e8cae[_0x8e8cae[_0x145278(0x22a)]=0x1b5d]=_0x145278(0x22a),_0x8e8cae[_0x8e8cae['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x145278(0x297),_0x8e8cae[_0x8e8cae['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x145278(0x49d),_0x8e8cae[_0x8e8cae[_0x145278(0x1b5)]=0x232a]=_0x145278(0x1b5),_0x8e8cae[_0x8e8cae[_0x145278(0x149)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x8e8cae[_0x8e8cae[_0x145278(0x289)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8e8cae[_0x8e8cae['LICENSE_DISTRO_REJECTED']=0x232d]=_0x145278(0x33a),_0x8e8cae[_0x8e8cae[_0x145278(0x151)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x8e8cae[_0x8e8cae['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x145278(0x1e0),_0x8e8cae[_0x8e8cae[_0x145278(0x34b)]=0x2713]=_0x145278(0x34b),_0x8e8cae[_0x8e8cae[_0x145278(0x356)]=0x2714]=_0x145278(0x356),_0x8e8cae[_0x8e8cae[_0x145278(0x4ba)]=-0x1]='UNRECOGNIZED',_0x8e8cae))(_0x21d834||{}),_0x5b5eaf=(_0x23dbef=>(_0x23dbef[_0x23dbef[_0x145278(0x1dc)]=0x0]='UNIVER_UNKNOWN',_0x23dbef[_0x23dbef[_0x145278(0x22e)]=0x1]=_0x145278(0x22e),_0x23dbef[_0x23dbef['UNIVER_SHEET']=0x2]=_0x145278(0x431),_0x23dbef[_0x23dbef[_0x145278(0x54b)]=0x3]='UNIVER_SLIDE',_0x23dbef[_0x23dbef[_0x145278(0x4ee)]=0x4]=_0x145278(0x4ee),_0x23dbef[_0x23dbef['UNRECOGNIZED']=-0x1]=_0x145278(0x4ba),_0x23dbef))(_0x5b5eaf||{}),_0x3263b5=(_0x204881=>(_0x204881[_0x204881[_0x145278(0x407)]=0x0]=_0x145278(0x407),_0x204881[_0x204881['HELLO']=0x1]=_0x145278(0x524),_0x204881[_0x204881['JOIN']=0x2]=_0x145278(0x152),_0x204881[_0x204881[_0x145278(0x34c)]=0x3]='LEAVE',_0x204881[_0x204881[_0x145278(0x280)]=0x4]=_0x145278(0x280),_0x204881[_0x204881[_0x145278(0x1d9)]=0x5]=_0x145278(0x1d9),_0x204881[_0x204881[_0x145278(0x397)]=0x6]=_0x145278(0x397),_0x204881[_0x204881[_0x145278(0x4ba)]=-0x1]=_0x145278(0x4ba),_0x204881))(_0x3263b5||{}),_0xfa24=(_0x3293d7=>(_0x3293d7[_0x3293d7[_0x145278(0x540)]=0x0]='UNKNOWN_CODE',_0x3293d7[_0x3293d7['OK']=0x1]='OK',_0x3293d7[_0x3293d7[_0x145278(0x32c)]=0x2]='FAIL',_0x3293d7[_0x3293d7[_0x145278(0x4ba)]=-0x1]=_0x145278(0x4ba),_0x3293d7))(_0xfa24||{}),_0x521080=(_0x2e9165=>(_0x2e9165[_0x2e9165[_0x145278(0x38e)]=0x0]=_0x145278(0x38e),_0x2e9165[_0x2e9165['HttpImport']=0x1]=_0x145278(0x416),_0x2e9165[_0x2e9165[_0x145278(0x4af)]=0x2]=_0x145278(0x4af),_0x2e9165[_0x2e9165[_0x145278(0x511)]=0x3]=_0x145278(0x511),_0x2e9165[_0x2e9165['UnitSnapshot']=0x4]='UnitSnapshot',_0x2e9165[_0x2e9165[_0x145278(0x4ba)]=-0x1]=_0x145278(0x4ba),_0x2e9165))(_0x521080||{});const _0x4ea523='collaboration-client.config',_0xb30b05={};function _0x2a238a(_0x14fc0b){const _0x1ee7f3=_0x145278;var _0x50a578,_0x2d7a79,_0x48e079,_0x558efb,_0x21bcce;const _0x570381=_0x14fc0b[_0x1ee7f3(0x2d2)],_0x558c54=JSON[_0x1ee7f3(0x2e7)](_0x570381);switch(_0x558c54[_0x1ee7f3(0x2c4)]){case _0x3263b5['HEARTBEAT']:case _0x3263b5['HELLO']:{const _0x18eb26=_0x558c54['infoRsp'];return{..._0x558c54,'data':_0x18eb26,'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};}case _0x3263b5[_0x1ee7f3(0x152)]:{const _0x4b333d=_0x558c54[_0x1ee7f3(0x469)];return{..._0x558c54,'data':_0x4b333d,'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};}case _0x3263b5[_0x1ee7f3(0x397)]:{const _0x2d6d62=_0x558c54[_0x1ee7f3(0x269)];switch(_0x2d6d62[_0x1ee7f3(0x1c0)]){case _0x54555c['CollaborationEvent'][_0x1ee7f3(0x475)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':(_0x50a578=_0x2d6d62[_0x1ee7f3(0x3a9)])==null?void 0x0:_0x50a578['cs']},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c[_0x1ee7f3(0x547)]['CHANGESET_ACK']:return{..._0x558c54,'data':{..._0x2d6d62,'data':(_0x2d7a79=_0x2d6d62[_0x1ee7f3(0x4b0)])==null?void 0x0:_0x2d7a79['cs']},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c['CollaborationEvent'][_0x1ee7f3(0x327)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':(_0x48e079=_0x2d6d62[_0x1ee7f3(0x127)])==null?void 0x0:_0x48e079['cs']},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c[_0x1ee7f3(0x547)][_0x1ee7f3(0x4f8)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':(_0x558efb=_0x2d6d62['csRejEvent'])==null?void 0x0:_0x558efb['cs']},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c[_0x1ee7f3(0x547)][_0x1ee7f3(0x23f)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':(_0x21bcce=_0x2d6d62['csShouldRetryEvent'])==null?void 0x0:_0x21bcce['cs']},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c[_0x1ee7f3(0x547)][_0x1ee7f3(0x31e)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62[_0x1ee7f3(0x18d)]},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c[_0x1ee7f3(0x547)][_0x1ee7f3(0x2e4)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62[_0x1ee7f3(0x4c8)]},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c['CollaborationEvent']['USERS_LEAVE']:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62[_0x1ee7f3(0x1de)]},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c[_0x1ee7f3(0x547)][_0x1ee7f3(0x3f0)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62[_0x1ee7f3(0x190)]},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c[_0x1ee7f3(0x547)][_0x1ee7f3(0x22f)]:case _0x54555c[_0x1ee7f3(0x547)][_0x1ee7f3(0x12a)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62[_0x1ee7f3(0x2b6)]},'cmd':_0x558c54['cmd']};case _0x54555c[_0x1ee7f3(0x547)][_0x1ee7f3(0x1f5)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62[_0x1ee7f3(0x190)]},'cmd':_0x558c54['cmd']};case _0x54555c['CollaborationEvent'][_0x1ee7f3(0x480)]:return{..._0x558c54,'data':_0x2d6d62,'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c[_0x1ee7f3(0x547)]['COMMENT_UPDATE']:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62[_0x1ee7f3(0x311)]},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};case _0x54555c['CollaborationEvent'][_0x1ee7f3(0x29e)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62['updatePermissionObjEvent']},'cmd':_0x558c54['cmd']};case _0x54555c['CollaborationEvent'][_0x1ee7f3(0x2ca)]:return{..._0x558c54,'data':{..._0x2d6d62,'data':_0x2d6d62[_0x1ee7f3(0x338)]},'cmd':_0x558c54[_0x1ee7f3(0x2c4)]};default:return _0x558c54;}}default:return _0x558c54;}}function _0x1a0ef4(_0x8caf22){const _0x53376f=_0x145278;switch(_0x8caf22[_0x53376f(0x2c4)]){case _0x3263b5[_0x53376f(0x1d9)]:case _0x3263b5[_0x53376f(0x524)]:return JSON['stringify']({'cmd':_0x8caf22[_0x53376f(0x2c4)],'routeKey':_0x8caf22[_0x53376f(0x11d)]});case _0x3263b5['INGEST']:{let _0x9b2625;switch(_0x8caf22[_0x53376f(0x2d2)][_0x53376f(0x1c0)]){case _0x54555c[_0x53376f(0x547)][_0x53376f(0x31e)]:{_0x9b2625={'eventID':_0x54555c[_0x53376f(0x547)][_0x53376f(0x31e)],'updateCursorEvent':_0x8caf22[_0x53376f(0x2d2)]['data']};break;}case _0x54555c[_0x53376f(0x547)][_0x53376f(0x28b)]:{_0x9b2625={'eventID':_0x54555c[_0x53376f(0x547)][_0x53376f(0x28b)],'leaveEvent':_0x8caf22[_0x53376f(0x2d2)]['data']};break;}case _0x54555c[_0x53376f(0x547)][_0x53376f(0x2e4)]:{_0x9b2625={'eventID':_0x54555c['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x8caf22[_0x53376f(0x2d2)][_0x53376f(0x2d2)]};break;}case _0x54555c['CollaborationEvent'][_0x53376f(0x3f0)]:{_0x9b2625={'eventID':_0x54555c[_0x53376f(0x547)][_0x53376f(0x3f0)],'liveShareNewHost':_0x8caf22['data'][_0x53376f(0x2d2)]};break;}case _0x54555c[_0x53376f(0x547)][_0x53376f(0x12a)]:{_0x9b2625={'eventID':_0x54555c[_0x53376f(0x547)][_0x53376f(0x12a)],'liveShareOperation':_0x8caf22[_0x53376f(0x2d2)][_0x53376f(0x2d2)]};break;}case _0x54555c[_0x53376f(0x547)]['LIVESHARE_TERMINATE']:{_0x9b2625={'eventID':_0x54555c[_0x53376f(0x547)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x8caf22[_0x53376f(0x2d2)]['data']};break;}case _0x54555c['CollaborationEvent'][_0x53376f(0x4e2)]:{_0x9b2625={'eventID':_0x54555c[_0x53376f(0x547)][_0x53376f(0x4e2)],'liveShareRequestHost':_0x8caf22['data'][_0x53376f(0x2d2)]};break;}case _0x54555c['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x9b2625={'eventID':_0x54555c['CollaborationEvent'][_0x53376f(0x22f)]};break;}default:_0x9b2625={'eventID':_0x8caf22[_0x53376f(0x2d2)]['eventID']};}return JSON[_0x53376f(0x140)]({'cmd':_0x8caf22[_0x53376f(0x2c4)],'routeKey':_0x8caf22[_0x53376f(0x11d)],'collaMsg':_0x9b2625});}case _0x3263b5['JOIN']:return JSON[_0x53376f(0x140)]({'cmd':_0x8caf22['cmd'],'routeKey':_0x8caf22[_0x53376f(0x11d)],'joinReq':_0x8caf22['data']});case _0x3263b5[_0x53376f(0x34c)]:return JSON['stringify']({'cmd':_0x8caf22[_0x53376f(0x2c4)],'routeKey':_0x8caf22[_0x53376f(0x11d)],'leaveReq':_0x8caf22['data']});default:throw new Error(_0x53376f(0x15b));}}var _0x4b12fc=Object[_0x145278(0x507)],_0x14bd64=Object['getOwnPropertyDescriptor'],_0x2a2300=(_0x1f122a,_0x25225f,_0x5e33e8,_0x30565f)=>{const _0x246fe0=_0x145278;for(var _0x23fed7=_0x30565f>0x1?void 0x0:_0x30565f?_0x14bd64(_0x25225f,_0x5e33e8):_0x25225f,_0x280151=_0x1f122a[_0x246fe0(0x37e)]-0x1,_0x4db2b8;_0x280151>=0x0;_0x280151--)(_0x4db2b8=_0x1f122a[_0x280151])&&(_0x23fed7=(_0x30565f?_0x4db2b8(_0x25225f,_0x5e33e8,_0x23fed7):_0x4db2b8(_0x23fed7))||_0x23fed7);return _0x30565f&&_0x23fed7&&_0x4b12fc(_0x25225f,_0x5e33e8,_0x23fed7),_0x23fed7;},_0x3fdd7=(_0x10d8fa,_0x31f855)=>(_0x5dfeea,_0x58305d)=>_0x31f855(_0x5dfeea,_0x58305d,_0x10d8fa);const _0x3f5095=_0x349f19['createIdentifier'](_0x145278(0x1bb));function _0x1115d0(_0x3cbb5c,_0x53280e,_0x33d021){const _0x140747=_0x145278;return _0x3cbb5c+'/'+_0x53280e+_0x140747(0x209)+_0x33d021+_0x140747(0x1be);}_0x3b531e['CollaborationSocketService']=class extends _0x349f19[_0x145278(0x1a4)]{constructor(_0x445705,_0x40667d,_0x365e0f,_0x40312d,_0xcc04ef){const _0x118066=_0x145278;super(),this[_0x118066(0x2e0)]=_0x445705,this[_0x118066(0x29d)]=_0x40667d,this[_0x118066(0x28d)]=_0x365e0f,this['_logService']=_0x40312d,this[_0x118066(0x451)]=_0xcc04ef;}[_0x145278(0x217)](_0x31532e){const _0x4cc4a8=_0x145278,_0x1688dd=this[_0x4cc4a8(0x29d)]['createSocket'](_0x31532e);if(!_0x1688dd)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x14bd17=new _0x349f19[(_0x4cc4a8(0x2ac))](),_0x36252e=new _0x1e13bb[(_0x4cc4a8(0x410))]();_0x14bd17['add'](_0x1688dd[_0x4cc4a8(0x462)][_0x4cc4a8(0x38f)](_0x45c507=>_0x36252e[_0x4cc4a8(0x155)](_0x45c507))),_0x14bd17['add'](_0x349f19[_0x4cc4a8(0x534)](()=>_0x36252e[_0x4cc4a8(0x2f9)]()));const _0x17d8b0=new _0x1e13bb[(_0x4cc4a8(0x410))]();_0x14bd17[_0x4cc4a8(0x4f3)](_0x1688dd[_0x4cc4a8(0x53c)]['subscribe'](_0x1726e2=>_0x17d8b0[_0x4cc4a8(0x155)](_0x1726e2))),_0x14bd17[_0x4cc4a8(0x4f3)](_0x349f19[_0x4cc4a8(0x534)](()=>_0x17d8b0[_0x4cc4a8(0x2f9)]()));const _0x2c592f=new _0x1e13bb[(_0x4cc4a8(0x410))]();_0x14bd17['add'](_0x1688dd['message$'][_0x4cc4a8(0x38f)](_0x17e64d=>{const _0x26bba2=_0x2a238a(_0x17e64d);_0x2c592f['next'](_0x26bba2);})),_0x14bd17['add'](_0x349f19[_0x4cc4a8(0x534)](()=>_0x2c592f['complete']()));let _0x5c090f;const _0xe9340a=()=>{const _0x10ef95=_0x4cc4a8;_0x17d8b0['next'](new Event(_0x10ef95(0x388))),_0x36252e[_0x10ef95(0x155)](new CloseEvent(_0x10ef95(0x388))),_0x5c090f[_0x10ef95(0x37f)]();};return _0x5c090f={'memberID':'','close$':_0x36252e[_0x4cc4a8(0x4de)](),'error$':_0x17d8b0['asObservable'](),'open$':_0x1688dd['open$'],'message$':_0x2c592f[_0x4cc4a8(0x4de)](),'send':_0x25010b=>{const _0x2f0988=_0x4cc4a8;if(_0x25010b[_0x2f0988(0x2c4)]===_0x3263b5['INGEST']){if(_0x25010b['data'][_0x2f0988(0x1c0)]===_0x54555c[_0x2f0988(0x547)][_0x2f0988(0x1a6)]){this[_0x2f0988(0x4da)](_0x5c090f,_0x25010b[_0x2f0988(0x2d2)])['catch'](_0x48420c=>{const _0x4772f6=_0x2f0988;this[_0x4772f6(0x385)]['error'](_0x48420c),_0xe9340a();});return;}if(_0x25010b[_0x2f0988(0x2d2)][_0x2f0988(0x1c0)]===_0x54555c[_0x2f0988(0x547)]['FETCH_MISSING']){const _0x1f4cf9=_0x25010b[_0x2f0988(0x2d2)];this['_fetchMissChangesets'](_0x1f4cf9)[_0x2f0988(0x210)](_0x2bb747=>{const _0x51bb2c=_0x2f0988;_0x2c592f[_0x51bb2c(0x155)]({'cmd':_0x3263b5['RECV'],'code':_0xfa24['OK'],'routeKey':_0x1f4cf9[_0x51bb2c(0x2d2)][_0x51bb2c(0x240)],'routeType':'','data':{'eventID':_0x54555c[_0x51bb2c(0x547)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2bb747}}});})['catch'](_0x4ac3fe=>{const _0x39ee7f=_0x2f0988;this[_0x39ee7f(0x385)][_0x39ee7f(0x4aa)](_0x4ac3fe),_0xe9340a();});return;}}_0x1688dd[_0x2f0988(0x3e7)](_0x1a0ef4(_0x25010b));},'close':()=>{const _0x94d4f5=_0x4cc4a8;_0x1688dd[_0x94d4f5(0x37f)](),_0x14bd17[_0x94d4f5(0x4c1)]();}},_0x5c090f;}async[_0x145278(0x4da)](_0x131708,_0x16ad3c){const _0xcc8fd6=_0x145278;var _0x271aa9,_0x385b5c;const {unitType:_0xe5985d,unitID:_0x74f8aa,changeset:_0x4d1ba3}=_0x16ad3c[_0xcc8fd6(0x2d2)],_0x5f0929={'unitID':_0x74f8aa,'memberID':_0x131708[_0xcc8fd6(0x3df)],'type':_0xe5985d,'changeset':_0x54555c[_0xcc8fd6(0x479)](_0x4d1ba3)},_0x956863=this['_configService'][_0xcc8fd6(0x46f)](_0x3f5d5a),_0x8f069c=this[_0xcc8fd6(0x28d)]['getConfig'](_0x4ea523),_0x46dc85=_0x1115d0((_0x385b5c=(_0x271aa9=_0x8f069c==null?void 0x0:_0x8f069c[_0xcc8fd6(0x4a6)])!=null?_0x271aa9:_0x956863)!=null?_0x385b5c:_0x2ac880,_0xe5985d,_0x74f8aa);try{await this[_0xcc8fd6(0x2e0)]['post'](_0x46dc85,{'body':_0x5f0929});}catch(_0x9fe0d5){throw this[_0xcc8fd6(0x385)][_0xcc8fd6(0x4aa)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x9fe0d5;}}async[_0x145278(0x4f5)](_0x1bb4ca){const _0x3c090b=_0x145278,{unitID:_0x50c25d,from:_0xdf58b9,to:_0x5e565f,unitType:_0x4ac34e}=_0x1bb4ca[_0x3c090b(0x2d2)];return(await this['_snapshotServerService'][_0x3c090b(0x296)]({'metadata':void 0x0},{'unitID':_0x50c25d,'type':_0x4ac34e,'from':_0xdf58b9,'to':_0x5e565f}))[_0x3c090b(0x1af)];}},_0x3b531e[_0x145278(0x504)]=_0x2a2300([_0x3fdd7(0x0,_0x349f19['Inject'](_0x47193d[_0x145278(0x3f8)])),_0x3fdd7(0x1,_0x349f19['Inject'](_0x47193d[_0x145278(0x45a)])),_0x3fdd7(0x2,_0x349f19[_0x145278(0x424)]),_0x3fdd7(0x3,_0x349f19[_0x145278(0x1e7)]),_0x3fdd7(0x4,_0x54555c['ISnapshotServerService'])],_0x3b531e[_0x145278(0x504)]);const _0x2b22ea=_0x145278(0x1b7);function _0x133330(_0x4bfcb9){const _0x41a2a9=_0x145278;return JSON[_0x41a2a9(0x140)](_0x4bfcb9)['length'];}class _0x2e3386{constructor(){const _0x241623=_0x145278;_0xbb867(this,'_commentUpdate$',new _0x1e13bb[(_0x241623(0x410))]()),_0xbb867(this,_0x241623(0x20a),this[_0x241623(0x52f)][_0x241623(0x4de)]());}[_0x145278(0x53d)](_0x122a24){const _0x847c6b=_0x145278;this['_commentUpdate$'][_0x847c6b(0x155)](_0x122a24);}}var _0x453131=Object['defineProperty'],_0x24ce22=Object[_0x145278(0x16d)],_0x251851=(_0x2bfb60,_0x2dc492,_0x38ae50,_0x1db61e)=>{const _0x4da4e6=_0x145278;for(var _0x191ce6=_0x1db61e>0x1?void 0x0:_0x1db61e?_0x24ce22(_0x2dc492,_0x38ae50):_0x2dc492,_0x4e8e15=_0x2bfb60[_0x4da4e6(0x37e)]-0x1,_0x39272b;_0x4e8e15>=0x0;_0x4e8e15--)(_0x39272b=_0x2bfb60[_0x4e8e15])&&(_0x191ce6=(_0x1db61e?_0x39272b(_0x2dc492,_0x38ae50,_0x191ce6):_0x39272b(_0x191ce6))||_0x191ce6);return _0x1db61e&&_0x191ce6&&_0x453131(_0x2dc492,_0x38ae50,_0x191ce6),_0x191ce6;},_0x483359=(_0x102db1,_0xd28de2)=>(_0x4dd48a,_0x4e2f4f)=>_0xd28de2(_0x4dd48a,_0x4e2f4f,_0x102db1);let _0x5a9e0d=class extends _0x349f19[_0x145278(0x1a4)]{constructor(_0x56f9b8,_0x1f3f67){const _0x2f783e=_0x145278;super(),_0xbb867(this,'_roomMembers',new Map()),(this[_0x2f783e(0x31f)]=_0x56f9b8,this['_userManagerService']=_0x1f3f67,this['disposeWithMe'](_0x349f19[_0x2f783e(0x534)](_0x1e13bb[_0x2f783e(0x1a2)](this[_0x2f783e(0x31f)]['getTypeOfUnitDisposed$'](_0x349f19['UniverInstanceType'][_0x2f783e(0x431)])[_0x2f783e(0x3f1)](_0x501e2e[_0x2f783e(0x15d)](_0x4df15d=>_0x4df15d[_0x2f783e(0x453)]())),this[_0x2f783e(0x31f)][_0x2f783e(0x1a1)](_0x349f19['UniverInstanceType'][_0x2f783e(0x22e)])[_0x2f783e(0x3f1)](_0x501e2e[_0x2f783e(0x15d)](_0x2b24bb=>_0x2b24bb[_0x2f783e(0x453)]())),this[_0x2f783e(0x31f)][_0x2f783e(0x1a1)](_0x349f19[_0x2f783e(0x426)][_0x2f783e(0x54b)])['pipe'](_0x501e2e['map'](_0x10a50d=>_0x10a50d[_0x2f783e(0x453)]())))[_0x2f783e(0x38f)](_0x10efac=>this['_removeRoom'](_0x10efac)))));}[_0x145278(0x401)](_0x546010){const _0x21981c=_0x145278;this[_0x21981c(0x405)][_0x21981c(0x401)](_0x546010);}[_0x145278(0x48e)](){const _0x3681bb=_0x145278;return this['_userManagerService'][_0x3681bb(0x48e)]();}[_0x145278(0x153)](_0x3fc0bc,_0x19378e){const _0x135983=_0x145278;let _0x1ec390=this[_0x135983(0x350)]['get'](_0x3fc0bc);_0x1ec390||(_0x1ec390=new _0x5abffb(),this[_0x135983(0x350)][_0x135983(0x253)](_0x3fc0bc,_0x1ec390)),_0x1ec390[_0x135983(0x153)](_0x19378e);}[_0x145278(0x186)](_0x20ff3d,_0x3545f4){const _0x718686=_0x145278,_0x555c3c=this['_roomMembers']['get'](_0x20ff3d);_0x555c3c&&_0x555c3c[_0x718686(0x186)](_0x3545f4);}[_0x145278(0x203)](_0x26746f){return this['_roomMembers']['get'](_0x26746f);}[_0x145278(0x26a)](_0x3a55cc,_0x4f0554){const _0x218425=_0x145278,_0x23e9e3=this[_0x218425(0x350)]['get'](_0x3a55cc);if(_0x23e9e3)return _0x23e9e3[_0x218425(0x26a)](_0x4f0554);}['_removeRoom'](_0x92996e){const _0x49abc2=_0x145278,_0x2e0352=this['_roomMembers'][_0x49abc2(0x4b6)](_0x92996e);_0x2e0352&&(_0x2e0352[_0x49abc2(0x4c1)](),this[_0x49abc2(0x350)][_0x49abc2(0x4f4)](_0x92996e));}[_0x145278(0x4c1)](){const _0x3ce94a=_0x145278;this[_0x3ce94a(0x350)][_0x3ce94a(0x256)](_0xf8a9da=>_0xf8a9da[_0x3ce94a(0x4c1)]()),this[_0x3ce94a(0x350)][_0x3ce94a(0x19f)]();}};_0x5a9e0d=_0x251851([_0x483359(0x0,_0x349f19[_0x145278(0x501)]),_0x483359(0x1,_0x349f19['Inject'](_0x349f19[_0x145278(0x159)]))],_0x5a9e0d);class _0x5abffb extends _0x349f19[_0x145278(0x1a4)]{constructor(){super(...arguments),_0xbb867(this,'_members',new Map());}[_0x145278(0x4c1)](){const _0x101c74=_0x145278;this[_0x101c74(0x522)][_0x101c74(0x19f)]();}[_0x145278(0x153)](_0x54b93b){const _0x3f9d09=_0x145278;this[_0x3f9d09(0x522)][_0x3f9d09(0x253)](_0x54b93b[_0x3f9d09(0x3df)],_0x54b93b);}['removeMember'](_0x544b8d){const _0x10af5c=_0x145278;this[_0x10af5c(0x522)][_0x10af5c(0x4f4)](_0x544b8d);}[_0x145278(0x26a)](_0x510643){const _0x2e8fe3=_0x145278;return this['_members'][_0x2e8fe3(0x4b6)](_0x510643);}}var _0x3fec54=Object['defineProperty'],_0x1be9d7=Object[_0x145278(0x16d)],_0x5f3a7e=(_0x6a2f6d,_0x227b7d,_0x26a31a,_0x58c7f3)=>{for(var _0x5b697d=_0x58c7f3>0x1?void 0x0:_0x58c7f3?_0x1be9d7(_0x227b7d,_0x26a31a):_0x227b7d,_0x9ad0ab=_0x6a2f6d['length']-0x1,_0x53f3aa;_0x9ad0ab>=0x0;_0x9ad0ab--)(_0x53f3aa=_0x6a2f6d[_0x9ad0ab])&&(_0x5b697d=(_0x58c7f3?_0x53f3aa(_0x227b7d,_0x26a31a,_0x5b697d):_0x53f3aa(_0x5b697d))||_0x5b697d);return _0x58c7f3&&_0x5b697d&&_0x3fec54(_0x227b7d,_0x26a31a,_0x5b697d),_0x5b697d;},_0x568ee8=(_0x5d4674,_0x366d22)=>(_0x46f923,_0x35ca7f)=>_0x366d22(_0x46f923,_0x35ca7f,_0x5d4674),_0x3ee00b=(_0x289fcb=>(_0x289fcb[_0x289fcb[_0x145278(0x145)]=0x0]=_0x145278(0x145),_0x289fcb[_0x289fcb[_0x145278(0x148)]=0x1]=_0x145278(0x148),_0x289fcb[_0x289fcb[_0x145278(0x14d)]=0x2]='OFFLINE',_0x289fcb[_0x289fcb['ONLINE']=0x3]=_0x145278(0x4a3),_0x289fcb))(_0x3ee00b||{});_0x3b531e[_0x145278(0x1b4)]=class extends _0x349f19[_0x145278(0x4e9)]{constructor(_0x3482f0,_0xfcee20,_0x138105,_0x8735a,_0x10384a,_0x40516b,_0x5a14f1,_0x2afcf9,_0x3b7758,_0x438174){const _0x3ab47b=_0x145278;super(),_0xbb867(this,_0x3ab47b(0x25c),new _0x1e13bb[(_0x3ab47b(0x40f))](0x0)),_0xbb867(this,_0x3ab47b(0x1ad),this[_0x3ab47b(0x25c)][_0x3ab47b(0x4de)]()),_0xbb867(this,_0x3ab47b(0x114),new _0x1e13bb[(_0x3ab47b(0x410))]()),_0xbb867(this,_0x3ab47b(0x403),this[_0x3ab47b(0x114)]['asObservable']()),_0xbb867(this,_0x3ab47b(0x514)),_0xbb867(this,'_socketMessageSubscription'),_0xbb867(this,_0x3ab47b(0x340)),_0xbb867(this,_0x3ab47b(0x37d),!0x1),_0xbb867(this,_0x3ab47b(0x223),null),(this[_0x3ab47b(0x3fa)]=_0x3482f0,this[_0x3ab47b(0x385)]=_0x138105,this[_0x3ab47b(0x33e)]=_0x8735a,this['_messageService']=_0x10384a,this['_configService']=_0x40516b,this['_localeService']=_0x5a14f1,this[_0x3ab47b(0x474)]=_0x2afcf9,this['_commentService']=_0x3b7758,this[_0x3ab47b(0x1c4)]=_0x438174,this[_0x3ab47b(0x37d)]=!!this[_0x3ab47b(0x1c4)],_0xfcee20[_0x3ab47b(0x3f1)](_0x1e13bb[_0x3ab47b(0x1bc)](this[_0x3ab47b(0x115)]))[_0x3ab47b(0x38f)](_0x345557=>{const _0x486da0=_0x3ab47b;var _0x50ae2c;typeof _0x345557>'u'||(this['_socket']=_0x345557,_0x345557?(this['_joinRoom'](_0x345557),this[_0x486da0(0x135)]=_0x345557[_0x486da0(0x1c5)]['subscribe'](_0x51acd4=>{const _0x4343a6=_0x486da0;_0x51acd4[_0x4343a6(0x11d)]===this[_0x4343a6(0x3fa)]&&this[_0x4343a6(0x320)](_0x51acd4);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x486da0(0x155)](0x2),(_0x50ae2c=this[_0x486da0(0x135)])==null||_0x50ae2c['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x3ab47b(0x1e3)](this[_0x3ab47b(0x33e)][_0x3ab47b(0x157)](()=>{const _0x42dc49=_0x3ab47b;var _0x3c758e;(_0x3c758e=this[_0x42dc49(0x514)])==null||_0x3c758e['send']({'cmd':_0x3263b5[_0x42dc49(0x34c)],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x5ae2b9=_0x145278;return this[_0x5ae2b9(0x25c)][_0x5ae2b9(0x46a)]();}[_0x145278(0x315)](){const _0x36ad52=_0x145278;var _0x1e9924,_0x23b36e;return(_0x23b36e=(_0x1e9924=this[_0x36ad52(0x514)])==null?void 0x0:_0x1e9924[_0x36ad52(0x3df)])!=null?_0x23b36e:null;}['dispose'](){const _0xfeb256=_0x145278;super['dispose'](),this[_0xfeb256(0x115)]['next'](),this[_0xfeb256(0x115)][_0xfeb256(0x2f9)]();}['close'](){const _0x4b0fb1=_0x145278;var _0x5afe17,_0x2951cf;this[_0x4b0fb1(0x31c)](),(_0x5afe17=this['_socket'])==null||_0x5afe17[_0x4b0fb1(0x3e7)]({'cmd':_0x3263b5['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x2951cf=this['_socket'])==null||_0x2951cf['close'](),this[_0x4b0fb1(0x114)][_0x4b0fb1(0x2f9)](),this[_0x4b0fb1(0x25c)]['complete'](),this[_0x4b0fb1(0x4c1)]();}[_0x145278(0x320)](_0x5c5699){const _0xe7e033=_0x145278;_0x5c5699[_0xe7e033(0x2c4)]===_0x3263b5[_0xe7e033(0x152)]?this['_onJoinRoomEvent'](_0x5c5699):_0x5c5699['cmd']===_0x3263b5[_0xe7e033(0x397)]&&this[_0xe7e033(0x28f)](_0x5c5699);}[_0x145278(0x4cf)](_0x425be3){const _0x254737=_0x145278;this[_0x254737(0x25c)][_0x254737(0x155)](0x1),_0x425be3[_0x254737(0x3e7)]({'cmd':_0x3263b5[_0x254737(0x152)],'routeKey':this[_0x254737(0x3fa)],'routeType':'','data':{'rooms':[{'roomID':this[_0x254737(0x3fa)]}]}});}[_0x145278(0x123)](_0x377318){const _0x38ef48=_0x145278;var _0x3bdc2e;if(_0x377318[_0x38ef48(0x12f)]===_0xfa24[_0x38ef48(0x32c)]){this[_0x38ef48(0x2a1)][_0x38ef48(0x303)]({'type':_0x806671['MessageType'][_0x38ef48(0x344)],'content':this[_0x38ef48(0x207)]['t'](_0x38ef48(0x476))}),this[_0x38ef48(0x25c)][_0x38ef48(0x155)](0x2);return;}this[_0x38ef48(0x25c)][_0x38ef48(0x155)](0x3);const _0x4d745e=(_0x3bdc2e=_0x377318[_0x38ef48(0x2d2)]['roomInfos'][this[_0x38ef48(0x3fa)]])==null?void 0x0:_0x3bdc2e[_0x38ef48(0x1f7)];_0x4d745e&&_0x4d745e['forEach'](_0x1b63f2=>this['_memberService'][_0x38ef48(0x153)](this['_unitID'],_0x1b63f2));}[_0x145278(0x28f)](_0x18eff9){const _0x2739f2=_0x145278;try{const _0x324a33=_0x18eff9[_0x2739f2(0x2d2)];switch(_0x324a33[_0x2739f2(0x1c0)]){case _0x54555c[_0x2739f2(0x547)][_0x2739f2(0x2e4)]:this[_0x2739f2(0x1d0)](_0x324a33),this[_0x2739f2(0x114)][_0x2739f2(0x155)](_0x324a33);break;case _0x54555c['CollaborationEvent']['USERS_LEAVE']:this['_onUserLeave'](_0x324a33),this[_0x2739f2(0x114)][_0x2739f2(0x155)](_0x324a33);break;case _0x54555c[_0x2739f2(0x547)][_0x2739f2(0x49a)]:case _0x54555c[_0x2739f2(0x547)][_0x2739f2(0x23f)]:this[_0x2739f2(0x54d)](),this[_0x2739f2(0x206)](),this[_0x2739f2(0x114)][_0x2739f2(0x155)](_0x324a33);break;case _0x54555c[_0x2739f2(0x547)][_0x2739f2(0x480)]:this['_logService'][_0x2739f2(0x4aa)](_0x2739f2(0x4b5)+JSON[_0x2739f2(0x140)](_0x324a33)),this[_0x2739f2(0x114)][_0x2739f2(0x155)](_0x324a33);break;case _0x54555c[_0x2739f2(0x547)][_0x2739f2(0x274)]:this['_commentService'][_0x2739f2(0x53d)](_0x324a33[_0x2739f2(0x2d2)]),this[_0x2739f2(0x114)][_0x2739f2(0x155)](_0x324a33);break;default:this['_event$'][_0x2739f2(0x155)](_0x324a33);}}catch(_0x9ca1bf){this[_0x2739f2(0x385)][_0x2739f2(0x4aa)](_0x9ca1bf,_0x18eff9);}}[_0x145278(0x1d0)](_0x49a0b4){const _0x3f1393=_0x145278;this[_0x3f1393(0x474)][_0x3f1393(0x153)](this['_unitID'],_0x49a0b4['data']);}[_0x145278(0x248)](_0x5637df){const _0x576021=_0x145278;this[_0x576021(0x474)]['removeMember'](this['_unitID'],_0x5637df['data'][_0x576021(0x3df)]);}async[_0x145278(0x3e7)](_0x4000be,_0x343494){const _0x4dfc8a=_0x145278;if(this[_0x4dfc8a(0x292)]!==0x3||!this[_0x4dfc8a(0x514)])throw new Error(_0x4dfc8a(0x392));try{_0x4000be[_0x4dfc8a(0x1c0)]===_0x54555c[_0x4dfc8a(0x547)][_0x4dfc8a(0x1a6)]&&(this[_0x4dfc8a(0x247)](),this[_0x4dfc8a(0x4d1)](_0x4000be)),this[_0x4dfc8a(0x514)][_0x4dfc8a(0x3e7)]({'cmd':_0x3263b5[_0x4dfc8a(0x280)],'routeKey':_0x343494,'routeType':'','data':_0x4000be});}catch(_0x350b63){this['_logService'][_0x4dfc8a(0x4aa)](_0x350b63);}}['_scheduleCollaborationTimeoutTimer'](){const _0x34f5e5=_0x145278;var _0x438c0c;this['_collaborationTimeoutTimer']=window[_0x34f5e5(0x3ca)](()=>{const _0x57fd1c=_0x34f5e5;this['_collaborationTimeoutTimer']=null,this[_0x57fd1c(0x2a1)]['show']({'type':_0x806671[_0x57fd1c(0x116)]['Error'],'content':this[_0x57fd1c(0x207)]['t'](_0x57fd1c(0x2ea))});},(_0x438c0c=this[_0x34f5e5(0x28d)][_0x34f5e5(0x46f)](_0x566bf8))!=null?_0x438c0c:0x4e20);}[_0x145278(0x206)](){const _0x59cde7=_0x145278;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x59cde7(0x340)]),this[_0x59cde7(0x340)]=null);}[_0x145278(0x4d1)](_0x2c3c36){const _0x7ee197=_0x145278;if(!this[_0x7ee197(0x37d)])return;const {data:_0x2a3215}=_0x2c3c36,{unitID:_0x6fb602,changeset:_0x1d6d56}=_0x2a3215,{mutations:_0x14356e,type:_0x2e40f1}=_0x1d6d56;this[_0x7ee197(0x223)]={'unitId':_0x6fb602,'type':_0x2e40f1,'startTime':performance[_0x7ee197(0x12d)](),'stopTime':0x0,'duration':0x0,'size':_0x133330(_0x14356e)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x5246f4=_0x145278;if(this[_0x5246f4(0x37d)]){if(!this[_0x5246f4(0x223)]){this['_logService'][_0x5246f4(0x4aa)](_0x5246f4(0x242),_0x5246f4(0x4c2));return;}this[_0x5246f4(0x223)][_0x5246f4(0x1f3)]=performance[_0x5246f4(0x12d)](),this[_0x5246f4(0x223)][_0x5246f4(0x2bb)]=this[_0x5246f4(0x223)][_0x5246f4(0x1f3)]-this[_0x5246f4(0x223)][_0x5246f4(0x243)],this[_0x5246f4(0x1c4)][_0x5246f4(0x117)](_0x2b22ea,this[_0x5246f4(0x223)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x27efed=_0x145278;this[_0x27efed(0x223)]=null;}},_0x3b531e[_0x145278(0x1b4)]=_0x5f3a7e([_0x568ee8(0x2,_0x349f19['ILogService']),_0x568ee8(0x3,_0x5b624f['IBeforeCloseService']),_0x568ee8(0x4,_0x5b624f[_0x145278(0x434)]),_0x568ee8(0x5,_0x349f19[_0x145278(0x424)]),_0x568ee8(0x6,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x267)])),_0x568ee8(0x7,_0x349f19[_0x145278(0x413)](_0x5a9e0d)),_0x568ee8(0x8,_0x349f19[_0x145278(0x413)](_0x2e3386)),_0x568ee8(0x9,_0x349f19['Optional'](_0x4eb556['ITelemetryService']))],_0x3b531e[_0x145278(0x1b4)]);var _0x8cc827=Object[_0x145278(0x507)],_0x313800=Object[_0x145278(0x16d)],_0x180884=(_0xab2e13,_0x3fb0a3,_0x1e3b2e,_0x38af98)=>{const _0xb4d841=_0x145278;for(var _0x7ee18e=_0x38af98>0x1?void 0x0:_0x38af98?_0x313800(_0x3fb0a3,_0x1e3b2e):_0x3fb0a3,_0x3d1f61=_0xab2e13[_0xb4d841(0x37e)]-0x1,_0x33f5a9;_0x3d1f61>=0x0;_0x3d1f61--)(_0x33f5a9=_0xab2e13[_0x3d1f61])&&(_0x7ee18e=(_0x38af98?_0x33f5a9(_0x3fb0a3,_0x1e3b2e,_0x7ee18e):_0x33f5a9(_0x7ee18e))||_0x7ee18e);return _0x38af98&&_0x7ee18e&&_0x8cc827(_0x3fb0a3,_0x1e3b2e,_0x7ee18e),_0x7ee18e;},_0x2d27b3=(_0x49b9b0,_0x369f80)=>(_0x3f35ac,_0x1a9e4d)=>_0x369f80(_0x3f35ac,_0x1a9e4d,_0x49b9b0);_0x3b531e[_0x145278(0x21f)]=class extends _0x349f19[_0x145278(0x1a4)]{constructor(_0x4e39af,_0x21161e,_0xd81a45,_0xbd31a1,_0xff45dc,_0xfacfdf){const _0x400804=_0x145278;super(),_0xbb867(this,_0x400804(0x54f),new _0x1e13bb[(_0x400804(0x40f))](void 0x0)),_0xbb867(this,'socket$',this['_socket$'][_0x400804(0x4de)]()),_0xbb867(this,_0x400804(0x1c1),null),_0xbb867(this,'_sessions',new Map()),_0xbb867(this,_0x400804(0x15f),new _0x1e13bb[(_0x400804(0x40f))](_0x3ee00b['IDLE'])),_0xbb867(this,_0x400804(0x4fd),this['_status$'][_0x400804(0x4de)]()),_0xbb867(this,'_socketReady',!0x1),_0xbb867(this,_0x400804(0x229)),_0xbb867(this,'_retryCount',0x0),_0xbb867(this,_0x400804(0x231)),_0xbb867(this,_0x400804(0x266)),(this[_0x400804(0x22d)]=_0x4e39af,this[_0x400804(0x207)]=_0x21161e,this[_0x400804(0x2a1)]=_0xd81a45,this[_0x400804(0x385)]=_0xbd31a1,this[_0x400804(0x28d)]=_0xff45dc,this['_socketService']=_0xfacfdf,this[_0x400804(0x156)]());}get['_socket'](){const _0x252e69=_0x145278;return this[_0x252e69(0x54f)][_0x252e69(0x46a)]();}[_0x145278(0x156)](){const _0x48a753=_0x145278;this[_0x48a753(0x1d1)](),this[_0x48a753(0x23e)]();}[_0x145278(0x4c1)](){const _0x27068d=_0x145278;super[_0x27068d(0x4c1)](),this[_0x27068d(0x2e1)][_0x27068d(0x256)](_0x990d2d=>_0x990d2d[_0x27068d(0x4c1)]()),this[_0x27068d(0x2e1)]['clear'](),this[_0x27068d(0x15f)][_0x27068d(0x2f9)]();}async[_0x145278(0x4ab)](_0x44a59a){const _0x2514b5=_0x145278;if(this[_0x2514b5(0x2e1)][_0x2514b5(0x2e6)](_0x44a59a))return this[_0x2514b5(0x2e1)][_0x2514b5(0x4b6)](_0x44a59a);this[_0x2514b5(0x482)]();const _0x4611a8=this[_0x2514b5(0x22d)][_0x2514b5(0x556)](_0x3b531e[_0x2514b5(0x1b4)],_0x44a59a,this['_socket$'][_0x2514b5(0x4de)]());return this['_sessions'][_0x2514b5(0x253)](_0x44a59a,_0x4611a8),_0x4611a8;}[_0x145278(0x1da)](_0x4d7ebc){const _0x42d5b0=_0x145278;var _0x400573;const _0x5a265b=this['_sessions'][_0x42d5b0(0x4b6)](_0x4d7ebc);_0x5a265b&&(this[_0x42d5b0(0x2e1)][_0x42d5b0(0x4f4)](_0x4d7ebc),_0x5a265b[_0x42d5b0(0x37f)]()),this[_0x42d5b0(0x2e1)][_0x42d5b0(0x35e)]||(_0x400573=this[_0x42d5b0(0x514)])==null||_0x400573[_0x42d5b0(0x37f)]();}[_0x145278(0x4b4)](){const _0x6346b=_0x145278;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x6346b(0x229)]),this[_0x6346b(0x229)]=null),this[_0x6346b(0x371)]();}['_createSocket'](){const _0x16a12b=_0x145278;var _0x2fbac4,_0x3b4a0a;const _0x4fe39d=this['_configService'][_0x16a12b(0x46f)](_0x5c110b),_0x1c58d2=this[_0x16a12b(0x28d)][_0x16a12b(0x46f)](_0x4ea523),_0x3ea88d=(_0x3b4a0a=(_0x2fbac4=_0x1c58d2==null?void 0x0:_0x1c58d2[_0x16a12b(0x477)])!=null?_0x2fbac4:_0x4fe39d)!=null?_0x3b4a0a:_0x3bd2f7,_0x946e11=this[_0x16a12b(0x3e2)][_0x16a12b(0x217)](_0x3ea88d);return this[_0x16a12b(0x1c1)]=_0x946e11,_0x946e11;}[_0x145278(0x482)](){const _0x5dc312=_0x145278;var _0x404d7b,_0x1e6512;try{const _0x1849c6=(_0x1e6512=(_0x404d7b=this[_0x5dc312(0x514)])!=null?_0x404d7b:this[_0x5dc312(0x1c1)])!=null?_0x1e6512:this[_0x5dc312(0x37a)]();if(_0x1849c6){const _0x559367=_0x1849c6['send'];_0x1849c6['send']=_0x34c31d=>(this[_0x5dc312(0x3ed)](),_0x559367['apply'](_0x1849c6,[_0x34c31d])),_0x1849c6['message$'][_0x5dc312(0x38f)](_0x4e8da6=>this[_0x5dc312(0x27c)](_0x1849c6,_0x4e8da6)),_0x1849c6[_0x5dc312(0x53c)][_0x5dc312(0x3f1)](_0x501e2e[_0x5dc312(0x348)](0x1))['subscribe'](_0x5666e2=>this[_0x5dc312(0x385)]['error'](_0x5dc312(0x359),_0x5666e2)),_0x1849c6[_0x5dc312(0x1fe)][_0x5dc312(0x3f1)](_0x501e2e[_0x5dc312(0x348)](0x1))['subscribe'](()=>{const _0x4ceab9=_0x5dc312;this[_0x4ceab9(0x1d4)](_0x1849c6);}),_0x1849c6[_0x5dc312(0x462)][_0x5dc312(0x3f1)](_0x501e2e[_0x5dc312(0x348)](0x1))[_0x5dc312(0x38f)](_0x499bba=>{const _0xed5d=_0x5dc312;this['_logService']['debug'](_0xed5d(0x1d8),_0xed5d(0x4bf),_0x499bba),this[_0xed5d(0x175)]();});}}catch(_0xbe35f1){this[_0x5dc312(0x385)][_0x5dc312(0x4aa)](_0xbe35f1),this[_0x5dc312(0x175)]();}}['_onConnectionOpen'](_0x5d85f1){const _0x3f7489=_0x145278;this[_0x3f7489(0x385)][_0x3f7489(0x3e3)](_0x3f7489(0x1d8),'socket\x20open.'),_0x5d85f1[_0x3f7489(0x3e7)]({'cmd':_0x3263b5[_0x3f7489(0x524)]}),this[_0x3f7489(0x3ed)]();}['_listenToOfflineEvent'](){const _0x29ccb0=_0x145278;window['addEventListener'](_0x29ccb0(0x422),()=>this[_0x29ccb0(0x2c2)]());}[_0x145278(0x2c2)](){const _0x4fd5ee=_0x145278;this[_0x4fd5ee(0x26e)]=!0x1,this[_0x4fd5ee(0x1c1)]=null,this[_0x4fd5ee(0x15f)][_0x4fd5ee(0x155)](_0x3ee00b[_0x4fd5ee(0x14d)]),this['_socket$'][_0x4fd5ee(0x155)](null),this[_0x4fd5ee(0x1f9)](),this[_0x4fd5ee(0x3b3)]();}[_0x145278(0x175)](){const _0x435c9c=_0x145278;var _0x129b8f;this[_0x435c9c(0x2c2)](),this[_0x435c9c(0x3b5)]<((_0x129b8f=this[_0x435c9c(0x28d)][_0x435c9c(0x46f)](_0xe2277))!=null?_0x129b8f:0x3)?(this[_0x435c9c(0x2a1)][_0x435c9c(0x303)]({'key':_0x435c9c(0x490),'type':_0x806671['MessageType'][_0x435c9c(0x344)],'content':this[_0x435c9c(0x207)]['t'](_0x435c9c(0x314))}),this[_0x435c9c(0x371)]()):this[_0x435c9c(0x2a1)]['show']({'key':'collaboration-session-retry','type':_0x806671[_0x435c9c(0x116)][_0x435c9c(0x455)],'content':this[_0x435c9c(0x207)]['t'](_0x435c9c(0x351))});}[_0x145278(0x23e)](){const _0xb0b799=_0x145278,_0x586446=()=>{const _0x117d21=_0x2aa9;this[_0x117d21(0x514)]||this[_0x117d21(0x4b4)]();},_0x543809=()=>{const _0x326087=_0x2aa9;this[_0x326087(0x514)]||document[_0x326087(0x1ed)]===_0x326087(0x1a7)||this[_0x326087(0x4b4)]();};window['addEventListener'](_0xb0b799(0x4a5),_0x586446),document[_0xb0b799(0x225)](_0xb0b799(0x538),_0x543809);}[_0x145278(0x371)](){const _0x5ca336=_0x145278;var _0x26c7d5;const _0xcaa70a=this[_0x5ca336(0x3b5)],_0x4492c6=this[_0x5ca336(0x28d)][_0x5ca336(0x46f)](_0x4ea523),_0x361da4=_0xcaa70a===0x0?0x0:((_0x26c7d5=_0x4492c6==null?void 0x0:_0x4492c6['retryConnectingInterval'])!=null?_0x26c7d5:0x4e20)*0x2**_0xcaa70a;this['_retryConnectingTimer']=window[_0x5ca336(0x3ca)](()=>{const _0x21068e=_0x5ca336;clearTimeout(this[_0x21068e(0x229)]),this[_0x21068e(0x229)]=null,this[_0x21068e(0x482)]();},_0x361da4),this[_0x5ca336(0x3b5)]+=0x1;}[_0x145278(0x27c)](_0x3d5841,_0x4cf70f){const _0x1aa918=_0x145278,{cmd:_0x9a18a7}=_0x4cf70f;_0x9a18a7===_0x3263b5[_0x1aa918(0x524)]&&!this[_0x1aa918(0x26e)]&&(_0x3d5841[_0x1aa918(0x3df)]=_0x4cf70f[_0x1aa918(0x2d2)][_0x1aa918(0x3df)],this[_0x1aa918(0x54f)][_0x1aa918(0x155)](_0x3d5841),this[_0x1aa918(0x15f)][_0x1aa918(0x155)](_0x3ee00b[_0x1aa918(0x4a3)]),this[_0x1aa918(0x26e)]=!0x0,this[_0x1aa918(0x1c1)]=null),_0x9a18a7===_0x3263b5['HEARTBEAT']&&this[_0x1aa918(0x1f9)](),this['_rescheduleHeartbeat']();}[_0x145278(0x3ed)](){const _0x2fb134=_0x145278;var _0x2fffe6;this[_0x2fb134(0x3b3)](),this[_0x2fb134(0x231)]=window[_0x2fb134(0x3ca)](()=>this[_0x2fb134(0x526)](),(_0x2fffe6=this[_0x2fb134(0x28d)]['getConfig'](_0x2ace82))!=null?_0x2fffe6:0x7530);}[_0x145278(0x526)](){const _0x386a5c=_0x145278;this[_0x386a5c(0x514)][_0x386a5c(0x3e7)]({'cmd':_0x3263b5[_0x386a5c(0x1d9)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0x254bf4=_0x145278;var _0x4e2e66;this[_0x254bf4(0x266)]=window[_0x254bf4(0x3ca)](()=>this[_0x254bf4(0x175)](),(_0x4e2e66=this[_0x254bf4(0x28d)][_0x254bf4(0x46f)](_0x566bf8))!=null?_0x4e2e66:0x4e20);}[_0x145278(0x3b3)](){const _0x1cc64e=_0x145278;this[_0x1cc64e(0x231)]!=null&&(clearTimeout(this[_0x1cc64e(0x231)]),this['_sendHeartbeatTimer']=null);}[_0x145278(0x1f9)](){const _0x14ae3b=_0x145278;this[_0x14ae3b(0x266)]!=null&&(clearTimeout(this[_0x14ae3b(0x266)]),this[_0x14ae3b(0x266)]=null);}},_0x3b531e['CollaborationSessionService']=_0x180884([_0x2d27b3(0x0,_0x349f19[_0x145278(0x413)](_0x349f19['Injector'])),_0x2d27b3(0x1,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x267)])),_0x2d27b3(0x2,_0x5b624f['IMessageService']),_0x2d27b3(0x3,_0x349f19[_0x145278(0x1e7)]),_0x2d27b3(0x4,_0x349f19[_0x145278(0x424)]),_0x2d27b3(0x5,_0x3f5095)],_0x3b531e['CollaborationSessionService']);for(var _0x4cf013=[],_0x4877c2=0x0;_0x4877c2<0x100;++_0x4877c2)_0x4cf013[_0x145278(0x276)]((_0x4877c2+0x100)[_0x145278(0x2ad)](0x10)['slice'](0x1));function _0x8da4a4(_0x16f348,_0x228993=0x0){const _0x4b639a=_0x145278;return(_0x4cf013[_0x16f348[_0x228993+0x0]]+_0x4cf013[_0x16f348[_0x228993+0x1]]+_0x4cf013[_0x16f348[_0x228993+0x2]]+_0x4cf013[_0x16f348[_0x228993+0x3]]+'-'+_0x4cf013[_0x16f348[_0x228993+0x4]]+_0x4cf013[_0x16f348[_0x228993+0x5]]+'-'+_0x4cf013[_0x16f348[_0x228993+0x6]]+_0x4cf013[_0x16f348[_0x228993+0x7]]+'-'+_0x4cf013[_0x16f348[_0x228993+0x8]]+_0x4cf013[_0x16f348[_0x228993+0x9]]+'-'+_0x4cf013[_0x16f348[_0x228993+0xa]]+_0x4cf013[_0x16f348[_0x228993+0xb]]+_0x4cf013[_0x16f348[_0x228993+0xc]]+_0x4cf013[_0x16f348[_0x228993+0xd]]+_0x4cf013[_0x16f348[_0x228993+0xe]]+_0x4cf013[_0x16f348[_0x228993+0xf]])[_0x4b639a(0x2be)]();}var _0x3bc59b,_0x219f49=new Uint8Array(0x10);function _0x331e03(){const _0x3e20fe=_0x145278;if(!_0x3bc59b&&(_0x3bc59b=typeof crypto<'u'&&crypto[_0x3e20fe(0x4bc)]&&crypto[_0x3e20fe(0x4bc)]['bind'](crypto),!_0x3bc59b))throw new Error(_0x3e20fe(0x184));return _0x3bc59b(_0x219f49);}var _0x48c7bf=typeof crypto<'u'&&crypto[_0x145278(0x1d3)]&&crypto['randomUUID'][_0x145278(0x441)](crypto);const _0x5a8853={'randomUUID':_0x48c7bf};function _0x39e230(_0x31526a,_0x3b15e3,_0xab94bf){const _0x14d334=_0x145278;if(_0x5a8853[_0x14d334(0x1d3)]&&!_0x3b15e3&&!_0x31526a)return _0x5a8853['randomUUID']();_0x31526a=_0x31526a||{};var _0x477817=_0x31526a[_0x14d334(0x45d)]||(_0x31526a[_0x14d334(0x487)]||_0x331e03)();return _0x477817[0x6]=_0x477817[0x6]&0xf|0x40,_0x477817[0x8]=_0x477817[0x8]&0x3f|0x80,_0x8da4a4(_0x477817);}var _0x2a7191=Object[_0x145278(0x507)],_0x104ec6=Object[_0x145278(0x16d)],_0x3732a8=(_0x788cdf,_0x2cea4a,_0x1b1b50,_0x5f4851)=>{const _0x42f9a6=_0x145278;for(var _0x19f5f4=_0x5f4851>0x1?void 0x0:_0x5f4851?_0x104ec6(_0x2cea4a,_0x1b1b50):_0x2cea4a,_0x59fa9f=_0x788cdf[_0x42f9a6(0x37e)]-0x1,_0x546013;_0x59fa9f>=0x0;_0x59fa9f--)(_0x546013=_0x788cdf[_0x59fa9f])&&(_0x19f5f4=(_0x5f4851?_0x546013(_0x2cea4a,_0x1b1b50,_0x19f5f4):_0x546013(_0x19f5f4))||_0x19f5f4);return _0x5f4851&&_0x19f5f4&&_0x2a7191(_0x2cea4a,_0x1b1b50,_0x19f5f4),_0x19f5f4;},_0x222b82=(_0x41deaa,_0x239d87)=>(_0x554f42,_0x2870ab)=>_0x239d87(_0x554f42,_0x2870ab,_0x41deaa);let _0x55e610=class{constructor(_0xf65fd1,_0x512ad8,_0x50817b){const _0x4fe8fa=_0x145278;this[_0x4fe8fa(0x22d)]=_0xf65fd1,this[_0x4fe8fa(0x28a)]=_0x512ad8,this[_0x4fe8fa(0x4d9)]=_0x50817b;}['transformIMECache'](_0x242290){const _0x3ea622=_0x145278;this[_0x3ea622(0x22b)](_0x242290),this['_transformPreviousActiveRange'](_0x242290);}['transformRemoteChangeset'](_0x2abfd9){const _0x58cce9=_0x145278,{unitID:_0x38771b}=_0x2abfd9,_0x283d55=this[_0x58cce9(0x4d9)][_0x58cce9(0x34f)](_0x38771b)[_0x58cce9(0x44f)](_0x3c060b[_0x58cce9(0x505)]),{redoCache:_0x2186b3}=_0x283d55[_0x58cce9(0x2a6)]();if(_0x2186b3[_0x58cce9(0x37e)]===0x0)return _0x2abfd9;let _0x264eb1=_0x349f19[_0x58cce9(0x4b1)]['deepClone'](_0x2abfd9['mutations'][0x0]);for(let _0x346c62=0x0;_0x346c62<_0x2186b3[_0x58cce9(0x37e)];_0x346c62++){const _0x232658={'id':'doc.mutation.rich-text-editing','params':{..._0x2186b3[_0x346c62]}},_0x36fc86=this[_0x58cce9(0x28a)][_0x58cce9(0x179)](_0x264eb1,_0x232658,!0x1);if(_0x54555c[_0x58cce9(0x291)](_0x36fc86))throw _0x36fc86[_0x58cce9(0x4aa)];_0x264eb1=_0x36fc86['m1Prime'];}return{..._0x349f19[_0x58cce9(0x4b1)][_0x58cce9(0x2bd)](_0x2abfd9),'mutations':[_0x264eb1]};}['_transformUndoRedoStack'](_0x26501a){const _0x21d401=_0x145278,{unitID:_0xbdc127}=_0x26501a,_0x1cfed1=this[_0x21d401(0x4d9)][_0x21d401(0x34f)](_0xbdc127)[_0x21d401(0x44f)](_0x3c060b['DocIMEInputManagerService']),{undoCache:_0x1acafe,redoCache:_0x67a3bc}=_0x1cfed1[_0x21d401(0x2a6)]();if(_0x1acafe['length']===0x0||_0x67a3bc[_0x21d401(0x37e)]===0x0)return;const _0x439892=[],_0x628b4c=[];let _0x445e9c=_0x349f19['Tools'][_0x21d401(0x2bd)](_0x26501a[_0x21d401(0x4ad)][0x0]),_0x304409=_0x349f19[_0x21d401(0x4b1)][_0x21d401(0x2bd)](_0x26501a[_0x21d401(0x4ad)][0x0]);for(let _0x106381=_0x1acafe[_0x21d401(0x37e)]-0x1;_0x106381>=0x0;_0x106381--){const _0x5cedc4={'id':_0x21d401(0x4cd),'params':{..._0x1acafe[_0x106381]}},_0x264929={'id':_0x21d401(0x4cd),'params':{..._0x67a3bc[_0x106381]}},_0x356c36=this[_0x21d401(0x28a)]['transformMutation'](_0x445e9c,_0x5cedc4,!0x1),_0x3610ac=this[_0x21d401(0x28a)][_0x21d401(0x179)](_0x304409,_0x264929,!0x1);if(_0x54555c[_0x21d401(0x291)](_0x356c36))throw _0x356c36[_0x21d401(0x4aa)];if(_0x54555c[_0x21d401(0x291)](_0x3610ac))throw _0x3610ac[_0x21d401(0x4aa)];_0x439892[_0x21d401(0x284)](_0x356c36[_0x21d401(0x2a5)][_0x21d401(0x23d)]),_0x628b4c[_0x21d401(0x284)](_0x3610ac['m2Prime'][_0x21d401(0x23d)]),_0x445e9c=_0x356c36[_0x21d401(0x47b)],_0x304409=_0x3610ac[_0x21d401(0x47b)];}_0x1cfed1[_0x21d401(0x519)]({'undoCache':_0x439892,'redoCache':_0x628b4c});}[_0x145278(0x43f)](_0x4ea950){const _0x93ba2f=_0x145278,{unitID:_0x5a30ec}=_0x4ea950,_0x25ccff=this[_0x93ba2f(0x4d9)]['getRenderById'](_0x5a30ec)[_0x93ba2f(0x44f)](_0x3c060b[_0x93ba2f(0x505)]),_0x33d334=_0x25ccff[_0x93ba2f(0x367)]();if(_0x33d334==null)return;const _0x1f7d4f=[{'id':_0x93ba2f(0x4cd),'params':{'unitId':_0x4ea950[_0x93ba2f(0x240)],'actions':null,'textRanges':[_0x33d334]}}],_0x337111=this[_0x93ba2f(0x28a)][_0x93ba2f(0x21c)](_0x4ea950,_0x1f7d4f);if(!_0x54555c['isTransformMutationsWithChangesetSuccess'](_0x337111))throw _0x337111[_0x93ba2f(0x4aa)];const _0x4d3ad1=_0x337111[_0x93ba2f(0x2a5)][0x0][_0x93ba2f(0x23d)][_0x93ba2f(0x433)];Array[_0x93ba2f(0x1c9)](_0x4d3ad1)&&_0x4d3ad1[_0x93ba2f(0x37e)]&&_0x25ccff[_0x93ba2f(0x2ab)](_0x4d3ad1[0x0]);}};_0x55e610=_0x3732a8([_0x222b82(0x0,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x222b82(0x1,_0x54555c[_0x145278(0x42a)]),_0x222b82(0x2,_0x577b7e[_0x145278(0x1d7)])],_0x55e610);var _0x5e0afe=Object[_0x145278(0x507)],_0x5a79f7=Object[_0x145278(0x16d)],_0x40860e=(_0x2d96dc,_0x3cdc78,_0x19cf13,_0x22619f)=>{const _0x11cd0f=_0x145278;for(var _0x37d5d0=_0x22619f>0x1?void 0x0:_0x22619f?_0x5a79f7(_0x3cdc78,_0x19cf13):_0x3cdc78,_0x1a7e42=_0x2d96dc[_0x11cd0f(0x37e)]-0x1,_0x35f3bb;_0x1a7e42>=0x0;_0x1a7e42--)(_0x35f3bb=_0x2d96dc[_0x1a7e42])&&(_0x37d5d0=(_0x22619f?_0x35f3bb(_0x3cdc78,_0x19cf13,_0x37d5d0):_0x35f3bb(_0x37d5d0))||_0x37d5d0);return _0x22619f&&_0x37d5d0&&_0x5e0afe(_0x3cdc78,_0x19cf13,_0x37d5d0),_0x37d5d0;},_0x853901=(_0x3b6694,_0x31696e)=>(_0x23d617,_0x394e98)=>_0x31696e(_0x23d617,_0x394e98,_0x3b6694);_0x3b531e[_0x145278(0x30a)]=class extends _0x349f19[_0x145278(0x1a4)]{constructor(_0x2321d5,_0x28ede,_0xecf2a1,_0x4310cb,_0x3afe9d){const _0x424bc5=_0x145278;super(),_0xbb867(this,_0x424bc5(0x382),new Map()),_0xbb867(this,_0x424bc5(0x27b),new Map()),_0xbb867(this,_0x424bc5(0x360),!0x1),(this['_configService']=_0x2321d5,this[_0x424bc5(0x3bb)]=_0x28ede,this[_0x424bc5(0x33e)]=_0xecf2a1,this[_0x424bc5(0x207)]=_0x4310cb,this[_0x424bc5(0x2b4)]=_0x3afe9d,this[_0x424bc5(0x4e0)]());}[_0x145278(0x3d8)](){this['_disabled']=!0x0;}[_0x145278(0x2b3)](){const _0x113f57=_0x145278;this[_0x113f57(0x360)]=!0x1;}['dispose'](){const _0x55ec96=_0x145278;this[_0x55ec96(0x16e)]()[_0x55ec96(0x210)](()=>super[_0x55ec96(0x4c1)]());}async['loadOfflineData'](_0x39aef6){const _0x1d8e94=_0x145278;return this['_disabled']?null:this['_localStorageService'][_0x1d8e94(0x322)](_0x2a4167(_0x39aef6));}async[_0x145278(0x31a)](_0x534c34,_0x7a2b09){const _0x2eba2b=_0x145278;return!!this['_localStorageService'][_0x2eba2b(0x13b)](_0x534c34,_0x7a2b09);}[_0x145278(0x13e)](_0x594d4b,_0x7bf9f2,_0xfea98c,_0x1e254c){const _0x1d3822=_0x145278,_0x25a9a5=this[_0x1d3822(0x2b4)][_0x1d3822(0x213)](_0x594d4b);this[_0x1d3822(0x382)][_0x1d3822(0x253)](_0x594d4b,{'unitID':_0x594d4b,'type':_0x7bf9f2,'awaitingChangeset':_0xfea98c,'mutations':_0x1e254c,'rev':_0x25a9a5}),this[_0x1d3822(0x27b)][_0x1d3822(0x2e6)](_0x594d4b)||this['_scheduleSaving'](_0x594d4b);}[_0x145278(0x2fc)](_0x3215f4){const _0x44d4ae=_0x145278,_0x51cfea=this['_getSaveTimeout']();_0x51cfea===0x0?this[_0x44d4ae(0x3a8)](_0x3215f4):this[_0x44d4ae(0x27b)]['set'](_0x3215f4,setTimeout(()=>this[_0x44d4ae(0x3a8)](_0x3215f4),_0x51cfea));}[_0x145278(0x470)](){const _0x76b2d2=_0x145278;var _0x2b3547;return(_0x2b3547=this[_0x76b2d2(0x28d)][_0x76b2d2(0x46f)](_0x255e8f))!=null?_0x2b3547:0x3e8;}['_saveCache'](_0x42b6eb){const _0x557b65=_0x145278,_0x52045d=this[_0x557b65(0x27b)][_0x557b65(0x4b6)](_0x42b6eb);return _0x52045d!==void 0x0&&window[_0x557b65(0x372)](_0x52045d),this['_localStorageService'][_0x557b65(0x13b)](_0x2a4167(_0x42b6eb),this[_0x557b65(0x382)]['get'](_0x42b6eb))['then'](()=>this[_0x557b65(0x27b)][_0x557b65(0x4f4)](_0x42b6eb));}async[_0x145278(0x16e)](){const _0x44157a=_0x145278,_0x16b5f9=[];this[_0x44157a(0x27b)][_0x44157a(0x256)]((_0x16db9d,_0x17ae91)=>{const _0x4673aa=_0x44157a;window[_0x4673aa(0x372)](_0x16db9d),_0x16b5f9[_0x4673aa(0x276)](this['_saveCache'](_0x17ae91)[_0x4673aa(0x210)](()=>{const _0x26969c=_0x4673aa;this[_0x26969c(0x27b)][_0x26969c(0x4f4)](_0x17ae91);}));}),await Promise[_0x44157a(0x2a7)](_0x16b5f9);}[_0x145278(0x4e0)](){const _0x456725=_0x145278;this[_0x456725(0x1e3)](this[_0x456725(0x33e)][_0x456725(0x536)](()=>{const _0x242903=_0x456725;if(this['_saveTaskMap'][_0x242903(0x35e)])return this[_0x242903(0x207)]['t'](_0x242903(0x21d));}));}},_0x3b531e[_0x145278(0x30a)]=_0x40860e([_0x853901(0x0,_0x349f19[_0x145278(0x424)]),_0x853901(0x1,_0x349f19['ILocalStorageService']),_0x853901(0x2,_0x5b624f[_0x145278(0x212)]),_0x853901(0x3,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x267)])),_0x853901(0x4,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x387)]))],_0x3b531e['LocalCacheService']);function _0x2a4167(_0x5660f1){const _0x2ef951=_0x145278;return _0x2ef951(0x447)+_0x5660f1;}var _0x3fb17f=Object[_0x145278(0x507)],_0x4b3a69=Object['getOwnPropertyDescriptor'],_0x210694=(_0x5499bd,_0x40b2bb,_0x5e311f,_0x40c27a)=>{const _0x57f345=_0x145278;for(var _0x49b597=_0x40c27a>0x1?void 0x0:_0x40c27a?_0x4b3a69(_0x40b2bb,_0x5e311f):_0x40b2bb,_0x203e13=_0x5499bd[_0x57f345(0x37e)]-0x1,_0x3b6873;_0x203e13>=0x0;_0x203e13--)(_0x3b6873=_0x5499bd[_0x203e13])&&(_0x49b597=(_0x40c27a?_0x3b6873(_0x40b2bb,_0x5e311f,_0x49b597):_0x3b6873(_0x49b597))||_0x49b597);return _0x40c27a&&_0x49b597&&_0x3fb17f(_0x40b2bb,_0x5e311f,_0x49b597),_0x49b597;},_0x105e4c=(_0x447d3d,_0x413833)=>(_0x2810f6,_0x4c14ac)=>_0x413833(_0x2810f6,_0x4c14ac,_0x447d3d);function _0x106a04(_0x1f88ba){const _0x2f9cd4=_0x145278,{unitID:_0x4abb2a,mutations:_0x1a1345}=_0x1f88ba;return{'unitId':_0x4abb2a,'subUnitId':_0x1a1345[0x0]['params'][_0x2f9cd4(0x1f1)]};}let _0x370f64=class{constructor(_0x584465,_0x5ec658,_0x2e3cf3){const _0x37bbfd=_0x145278;this[_0x37bbfd(0x22d)]=_0x584465,this[_0x37bbfd(0x28a)]=_0x5ec658,this[_0x37bbfd(0x33c)]=_0x2e3cf3;}[_0x145278(0x3cb)](_0x3f8e4b){const _0x5161e4=_0x145278;var _0x4fa5a2,_0x9a947b,_0x38dcd6,_0x41b4cb;const _0x350361=this[_0x5161e4(0x22d)][_0x5161e4(0x4b6)](_0x4c7a32[_0x5161e4(0x40c)]),{unitId:_0x1569f3,subUnitId:_0x56cc87}=_0x106a04(_0x3f8e4b),_0x1e51a1=_0x350361['getWorkbookSelections'](_0x1569f3)[_0x5161e4(0x478)](),_0x5dbef9=(_0x9a947b=(_0x4fa5a2=this['_instanceService'][_0x5161e4(0x1db)](_0x1569f3))==null?void 0x0:_0x4fa5a2[_0x5161e4(0x1b2)]())==null?void 0x0:_0x9a947b[_0x5161e4(0x3f2)]();if(_0x1e51a1[_0x5161e4(0x37e)]===0x0||!_0x1569f3||!_0x56cc87)return;const _0x1a362a=[{'id':_0x4c7a32[_0x5161e4(0x41c)]['id'],'params':{'unitId':_0x1569f3,'subUnitId':_0x5dbef9,'selections':_0x349f19[_0x5161e4(0x4b1)][_0x5161e4(0x2bd)](_0x1e51a1)}}],_0x1c6b05=this[_0x5161e4(0x28a)][_0x5161e4(0x21c)](_0x3f8e4b,_0x1a362a);if(!_0x54555c[_0x5161e4(0x170)](_0x1c6b05))throw _0x1c6b05[_0x5161e4(0x4aa)];const _0x1bfb9b=(_0x41b4cb=(_0x38dcd6=_0x1c6b05[_0x5161e4(0x2a5)][0x0])==null?void 0x0:_0x38dcd6[_0x5161e4(0x23d)])==null?void 0x0:_0x41b4cb[_0x5161e4(0x15a)];if(Array[_0x5161e4(0x1c9)](_0x1bfb9b)&&_0x1bfb9b[_0x5161e4(0x37e)]){if(_0x1bfb9b[_0x5161e4(0x37e)]===_0x1a362a[0x0][_0x5161e4(0x23d)][_0x5161e4(0x15a)][_0x5161e4(0x37e)]&&_0x1bfb9b[_0x5161e4(0x19c)]((_0xf5072b,_0x47359e)=>_0x349f19[_0x5161e4(0x277)]['equals'](_0xf5072b[_0x5161e4(0x301)],_0x1a362a[0x0][_0x5161e4(0x23d)][_0x5161e4(0x15a)][_0x47359e]['range'])))return;this['_injector'][_0x5161e4(0x4b6)](_0x349f19[_0x5161e4(0x36e)])[_0x5161e4(0x3e9)](_0x4c7a32['SetSelectionsOperation']['id'],{'unitId':_0x1569f3,'subUnitId':_0x5dbef9,'selections':_0x1bfb9b});}}};_0x370f64=_0x210694([_0x105e4c(0x0,_0x349f19['Inject'](_0x349f19[_0x145278(0x3b7)])),_0x105e4c(0x1,_0x54555c[_0x145278(0x42a)]),_0x105e4c(0x2,_0x349f19[_0x145278(0x501)])],_0x370f64);const _0x2d00f5=_0x349f19[_0x145278(0x29f)](_0x145278(0x473));var _0x16b139=(_0x115a5e=>(_0x115a5e[_0x115a5e[_0x145278(0x3ae)]=0x0]=_0x145278(0x3ae),_0x115a5e[_0x115a5e['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x115a5e))(_0x16b139||{});const _0x3156be=0x7530,_0x13d682='ACTIVE_UNIT_EVENT_CHANNEL';class _0x467f1c extends _0x349f19['Disposable']{constructor(){const _0x3a74cb=_0x145278;super(),_0xbb867(this,_0x3a74cb(0x335),_0x349f19[_0x3a74cb(0x4b1)][_0x3a74cb(0x4d7)]()),_0xbb867(this,_0x3a74cb(0x49f),new Set()),_0xbb867(this,_0x3a74cb(0x329),new Map()),_0xbb867(this,_0x3a74cb(0x4c7),null),_0xbb867(this,'_clearOtherTimers',new Map()),_0xbb867(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x17003d=_0x145278;super[_0x17003d(0x4c1)](),this[_0x17003d(0x440)][_0x17003d(0x256)]((_0xc2df35,_0x3cc49c)=>this[_0x17003d(0x20c)](_0x3cc49c)),this[_0x17003d(0x4c7)]&&window[_0x17003d(0x406)](this[_0x17003d(0x4c7)]);}[_0x145278(0x415)](_0x24d639){const _0x1084e5=_0x145278;return this['_ensureSubject'](_0x24d639)[_0x1084e5(0x3f1)](_0x1e13bb[_0x1084e5(0x18f)]());}['editingUnit'](_0x545c70){const _0x13cf7e=_0x145278;this[_0x13cf7e(0x49f)][_0x13cf7e(0x35e)]===0x0&&this[_0x13cf7e(0x4fc)](),this[_0x13cf7e(0x49f)][_0x13cf7e(0x4f3)](_0x545c70),this['_send']({'type':0x0,'memberID':this[_0x13cf7e(0x335)],'unitIDs':[_0x545c70],'isForwarded':!0x1});}[_0x145278(0x4bb)](_0x1ec25c){const _0x357928=_0x145278;this['_selfUnitIDs'][_0x357928(0x4f4)](_0x1ec25c),this[_0x357928(0x49f)][_0x357928(0x35e)]===0x0&&this['_heartbeatTimer']&&window[_0x357928(0x406)](this[_0x357928(0x4c7)]);}['_init'](){const _0x3c7284=_0x145278;this[_0x3c7284(0x1e3)](_0x349f19[_0x3c7284(0x534)](_0x1e13bb[_0x3c7284(0x2d6)](window,_0x3c7284(0x533))[_0x3c7284(0x38f)](_0x3cada4=>{const _0x3f09e2=_0x3c7284;if(_0x3cada4[_0x3f09e2(0x36d)]!==_0x13d682||!_0x3cada4[_0x3f09e2(0x3b6)])return;const _0x4f03b9=JSON[_0x3f09e2(0x2e7)](_0x3cada4['newValue']);this['_handleEvent'](_0x4f03b9);}))),window[_0x3c7284(0x225)](_0x3c7284(0x428),()=>this[_0x3c7284(0x218)]({'type':0x1,'memberID':this[_0x3c7284(0x335)],'unitIDs':Array[_0x3c7284(0x496)](this[_0x3c7284(0x49f)])}));}[_0x145278(0x19a)](_0x3c5dfe){const _0xf8dcc5=_0x145278;switch(_0x3c5dfe[_0xf8dcc5(0x389)]){case 0x0:this[_0xf8dcc5(0x3dc)](_0x3c5dfe);break;case 0x1:this[_0xf8dcc5(0x295)](_0x3c5dfe);break;case 0x2:this[_0xf8dcc5(0x11c)](_0x3c5dfe);break;}}[_0x145278(0x3dc)](_0x393f67){const _0x122e23=_0x145278,{unitIDs:_0x18da02,memberID:_0x243e09,isForwarded:_0x1f57f1}=_0x393f67;_0x18da02['forEach'](_0x4a2bc2=>{const _0x4c6ffb=_0x2aa9;if(!_0x1f57f1&&this[_0x4c6ffb(0x329)][_0x4c6ffb(0x2e6)](_0x4a2bc2)&&this['_ensureSubject'](_0x4a2bc2)[_0x4c6ffb(0x155)](0x1),!this['_unitOnClients'][_0x4c6ffb(0x2e6)](_0x4a2bc2)||!this[_0x4c6ffb(0x329)][_0x4c6ffb(0x4b6)](_0x4a2bc2)['has'](_0x243e09)){const _0x154c86=this[_0x4c6ffb(0x329)]['get'](_0x4a2bc2)||new Set();_0x154c86[_0x4c6ffb(0x4f3)](_0x243e09),this['_unitOnClients'][_0x4c6ffb(0x253)](_0x4a2bc2,_0x154c86),this[_0x4c6ffb(0x1cc)](_0x243e09);}}),_0x1f57f1||this['_send']({'type':0x0,'memberID':this[_0x122e23(0x335)],'unitIDs':[...this[_0x122e23(0x49f)]],'isForwarded':!0x0});}[_0x145278(0x1cc)](_0x8df3b2){const _0xc0c8d2=_0x145278;this[_0xc0c8d2(0x20c)](_0x8df3b2);const _0x1f2173=window[_0xc0c8d2(0x3ca)](()=>{const _0x13bb65=_0xc0c8d2;this[_0x13bb65(0x329)][_0x13bb65(0x256)](_0x4c027f=>{_0x4c027f['delete'](_0x8df3b2);});},_0x3156be*0x2);this[_0xc0c8d2(0x440)][_0xc0c8d2(0x253)](_0x8df3b2,_0x1f2173);}[_0x145278(0x20c)](_0x3442b7){const _0x35ebce=_0x145278;if(this[_0x35ebce(0x440)][_0x35ebce(0x2e6)](_0x3442b7)){const _0x5f08c1=this['_clearOtherTimers']['get'](_0x3442b7);_0x5f08c1&&window[_0x35ebce(0x372)](_0x5f08c1),this[_0x35ebce(0x440)][_0x35ebce(0x253)](_0x3442b7,null);}}[_0x145278(0x295)](_0x290c2a){const {memberID:_0x466080,unitIDs:_0x42c939}=_0x290c2a;_0x42c939['forEach'](_0x23ee9a=>{const _0x4dcd2c=_0x2aa9;var _0x3d8423;const _0xfb1e82=this[_0x4dcd2c(0x329)][_0x4dcd2c(0x4b6)](_0x23ee9a);_0xfb1e82&&(_0xfb1e82[_0x4dcd2c(0x4f4)](_0x466080),(_0x3d8423=this[_0x4dcd2c(0x32a)](_0x23ee9a))==null||_0x3d8423[_0x4dcd2c(0x155)](_0xfb1e82[_0x4dcd2c(0x35e)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x466080);}[_0x145278(0x11c)](_0x4ea6ee){const _0x4ee697=_0x145278;this[_0x4ee697(0x1cc)](_0x4ea6ee[_0x4ee697(0x3df)]);}[_0x145278(0x218)](_0x16efd5){const _0x8c148e=_0x145278;localStorage['setItem'](_0x13d682,JSON[_0x8c148e(0x140)](_0x16efd5));}[_0x145278(0x4fc)](){const _0x48452f=_0x145278;this['_heartbeatTimer']=window[_0x48452f(0x4a2)](()=>{const _0x493eb8=_0x48452f;this[_0x493eb8(0x218)]({'type':0x2,'memberID':this['_id']});},_0x3156be);}[_0x145278(0x32a)](_0x36bcf9){const _0x2e764d=_0x145278;return this[_0x2e764d(0x35d)][_0x2e764d(0x2e6)](_0x36bcf9)||this[_0x2e764d(0x35d)][_0x2e764d(0x253)](_0x36bcf9,new _0x1e13bb[(_0x2e764d(0x40f))](0x0)),this[_0x2e764d(0x35d)]['get'](_0x36bcf9);}}function _0x5d4f5d(_0x3bbd55){const _0x2095e0=_0x145278;let _0x4a2b74='';for(const _0x18e599 of _0x3bbd55){const {startOffset:_0x40c1c7,endOffset:_0x2042ce,isActive:_0x1db992}=_0x18e599;_0x4a2b74[_0x2095e0(0x37e)]&&(_0x4a2b74+=','),_0x4a2b74+=_0x40c1c7+':'+_0x2042ce+':'+(_0x1db992?'1':'0');}return _0x4a2b74;}function _0x19266e(_0x11d940){const _0x447be6=_0x145278,_0x29ae45=_0x11d940[_0x447be6(0x326)](','),_0xcce63c=[];for(const _0x1b54d3 of _0x29ae45){const [_0x3c9efb,_0x468556,_0x329ba2]=_0x1b54d3[_0x447be6(0x326)](':');_0xcce63c[_0x447be6(0x276)]({'startOffset':Number(_0x3c9efb),'endOffset':Number(_0x468556),'collapsed':_0x3c9efb===_0x468556,'isActive':_0x329ba2==='1'});}return _0xcce63c[_0x447be6(0x2e8)](_0x391a7c=>_0x391a7c[_0x447be6(0x442)])||(_0xcce63c[0x0][_0x447be6(0x442)]=!0x0),_0xcce63c;}class _0x2f089c extends _0x349f19[_0x145278(0x4e9)]{constructor(){const _0x59b7ca=_0x145278;super(...arguments),_0xbb867(this,_0x59b7ca(0x2c8),new _0x1e13bb[(_0x59b7ca(0x40f))](null)),_0xbb867(this,_0x59b7ca(0x12e),this['_collabCursorState$'][_0x59b7ca(0x4de)]());}[_0x145278(0x3b1)](_0x4f0e0d){const _0x3b0eec=_0x145278,{unitID:_0x38fedb,memberID:_0x452a3e,textRanges:_0x36a92c}=_0x4f0e0d,_0x5bb70b=_0x5d4f5d(_0x36a92c),_0x1720c2={'unitID':_0x38fedb,'memberID':_0x452a3e,'selection':_0x5bb70b};this[_0x3b0eec(0x2c8)][_0x3b0eec(0x155)](_0x1720c2);}}var _0x1e8293=Object[_0x145278(0x507)],_0x5aae50=Object[_0x145278(0x16d)],_0x106879=(_0x3cce59,_0x3cb8d9,_0x4ad08a,_0x52bf40)=>{const _0x4383bf=_0x145278;for(var _0x162a90=_0x52bf40>0x1?void 0x0:_0x52bf40?_0x5aae50(_0x3cb8d9,_0x4ad08a):_0x3cb8d9,_0x324122=_0x3cce59[_0x4383bf(0x37e)]-0x1,_0x11a08a;_0x324122>=0x0;_0x324122--)(_0x11a08a=_0x3cce59[_0x324122])&&(_0x162a90=(_0x52bf40?_0x11a08a(_0x3cb8d9,_0x4ad08a,_0x162a90):_0x11a08a(_0x162a90))||_0x162a90);return _0x52bf40&&_0x162a90&&_0x1e8293(_0x3cb8d9,_0x4ad08a,_0x162a90),_0x162a90;},_0x313253=(_0x19c083,_0x7d207a)=>(_0x141fae,_0x4d3008)=>_0x7d207a(_0x141fae,_0x4d3008,_0x19c083);let _0x697163=class{constructor(_0x54b4de,_0x498010){const _0x14784f=_0x145278;this[_0x14784f(0x22d)]=_0x54b4de,this['_transformService']=_0x498010;}[_0x145278(0x3cb)](_0x2ef260){const _0x200c5c=_0x145278;var _0x3ea0f1;const _0x22f5c3=this[_0x200c5c(0x22d)][_0x200c5c(0x4b6)](_0x9fa27b[_0x200c5c(0x113)]),_0x127173=(_0x3ea0f1=_0x22f5c3[_0x200c5c(0x545)]())!=null?_0x3ea0f1:[];if(_0x127173[_0x200c5c(0x37e)]===0x0)return;const _0x15abd8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ef260[_0x200c5c(0x240)],'actions':null,'textRanges':_0x127173}}],_0x1217dc=this[_0x200c5c(0x28a)][_0x200c5c(0x21c)](_0x2ef260,_0x15abd8);if(!_0x54555c['isTransformMutationsWithChangesetSuccess'](_0x1217dc))throw _0x1217dc[_0x200c5c(0x4aa)];const _0x5616a1=_0x1217dc['m2Prime'][0x0][_0x200c5c(0x23d)][_0x200c5c(0x433)];Array[_0x200c5c(0x1c9)](_0x5616a1)&&_0x5616a1[_0x200c5c(0x37e)]&&_0x22f5c3[_0x200c5c(0x199)](_0x5616a1,!0x1);}};_0x697163=_0x106879([_0x313253(0x0,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x313253(0x1,_0x54555c[_0x145278(0x42a)])],_0x697163);const _0x2903a9=new Set([_0x4c7a32[_0x145278(0x194)]['id']]);function _0x14304e(_0xa1298e,_0x33369d,_0x2daf61,_0x302bd2,_0x2f5d1a){const _0x2a2978=_0x145278;var _0x157861,_0x529894,_0xaf966c,_0x3055f2;const _0x1ab3ce=[];for(const _0x89a704 of _0xa1298e)if(_0x2903a9[_0x2a2978(0x2e6)](_0x89a704['id'])){if(_0x1ab3ce[_0x2a2978(0x37e)]>0x0)break;_0x1ab3ce[_0x2a2978(0x276)](_0x89a704);break;}else _0x1ab3ce[_0x2a2978(0x276)](_0x89a704);const _0x500d5b=(_0x529894=(_0x157861=_0x2f5d1a['getCurrentUser']())==null?void 0x0:_0x157861['userID'])!=null?_0x529894:'unknown',_0x116fa8=(_0x3055f2=(_0xaf966c=_0x2f5d1a['getCurrentUser']())==null?void 0x0:_0xaf966c[_0x2a2978(0x3df)])!=null?_0x3055f2:_0x2a2978(0x24e);return{'changeset':{'unitID':_0x33369d,'type':_0x54555c[_0x2a2978(0x3fd)](_0x2daf61[_0x2a2978(0x390)](_0x33369d)),'baseRev':_0x302bd2['getCurrentRevOfUnit'](_0x33369d),'revision':0x0,'userID':_0x500d5b,'memberID':_0x116fa8,'mutations':_0x1ab3ce},'pendingMutations':_0xa1298e['slice'](_0x1ab3ce[_0x2a2978(0x37e)])};}function _0x4d526f(_0x5e9051,_0x355dc9,_0x4a3245,_0x19cd34,_0x24ad37){const _0x5bdc4c=_0x145278;var _0x26f8b9,_0x48a7b5,_0x3e4b79,_0x24f58d;const _0x2ccb0c=[_0x5e9051[_0x5bdc4c(0x2b1)]((_0x29c597,_0x31f642)=>{const _0x583e3a=_0x5bdc4c;var _0x4703be;const {id:_0x71f4b}=_0x29c597,{id:_0x54a068,type:_0x4ca947}=_0x31f642,_0x167587=(_0x4703be=_0x29c597['params'])!=null?_0x4703be:{'actions':null},_0x4fe847=_0x31f642[_0x583e3a(0x23d)];if(_0x71f4b&&_0x71f4b!==_0x54a068)throw new Error(_0x583e3a(0x14f)+_0x71f4b+_0x583e3a(0x2fd)+_0x54a068+'.');return{..._0x29c597,'id':_0x54a068,'type':_0x4ca947,'params':{'unitId':_0x4fe847[_0x583e3a(0x126)],'textRanges':_0x4fe847[_0x583e3a(0x433)],'actions':_0x349f19[_0x583e3a(0x193)]['compose'](_0x167587[_0x583e3a(0x141)],_0x4fe847['actions'])}};},{})],_0xc39c04=(_0x48a7b5=(_0x26f8b9=_0x24ad37[_0x5bdc4c(0x48e)]())==null?void 0x0:_0x26f8b9['userID'])!=null?_0x48a7b5:_0x5bdc4c(0x24e),_0x561cb6=(_0x24f58d=(_0x3e4b79=_0x24ad37['getCurrentUser']())==null?void 0x0:_0x3e4b79[_0x5bdc4c(0x3df)])!=null?_0x24f58d:'unknown';return{'changeset':{'unitID':_0x355dc9,'type':_0x54555c['mapDocumentTypeToUniverType'](_0x4a3245[_0x5bdc4c(0x390)](_0x355dc9)),'baseRev':_0x19cd34[_0x5bdc4c(0x213)](_0x355dc9),'revision':0x0,'userID':_0xc39c04,'memberID':_0x561cb6,'mutations':_0x2ccb0c},'pendingMutations':[]};}function _0x2f5db9(_0x1b7df1,_0x31985e){const _0x2a133c=_0x145278,_0x74e368=new _0x1e13bb[(_0x2a133c(0x444))](0x1);return setTimeout(()=>_0x74e368[_0x2a133c(0x155)](_0x31985e),_0x1b7df1),_0x74e368[_0x2a133c(0x4de)]()[_0x2a133c(0x3f1)](_0x1e13bb[_0x2a133c(0x348)](0x1));}const _0x49c07c={'id':_0x4c7a32[_0x145278(0x3ba)]['id'],'type':_0x349f19[_0x145278(0x39f)][_0x145278(0x192)],'params':{}};var _0x13fbe8=Object['defineProperty'],_0x159c16=Object[_0x145278(0x16d)],_0x283e20=(_0x2920ad,_0x150d26,_0x1318a5,_0x15e1eb)=>{const _0x4c56d0=_0x145278;for(var _0x5158db=_0x15e1eb>0x1?void 0x0:_0x15e1eb?_0x159c16(_0x150d26,_0x1318a5):_0x150d26,_0x55ccef=_0x2920ad[_0x4c56d0(0x37e)]-0x1,_0x1d3d9a;_0x55ccef>=0x0;_0x55ccef--)(_0x1d3d9a=_0x2920ad[_0x55ccef])&&(_0x5158db=(_0x15e1eb?_0x1d3d9a(_0x150d26,_0x1318a5,_0x5158db):_0x1d3d9a(_0x5158db))||_0x5158db);return _0x15e1eb&&_0x5158db&&_0x13fbe8(_0x150d26,_0x1318a5,_0x5158db),_0x5158db;},_0x255450=(_0x212916,_0x15187f)=>(_0x717ddc,_0x5edf76)=>_0x15187f(_0x717ddc,_0x5edf76,_0x212916),_0xfe35ac=(_0x41cf1f=>(_0x41cf1f['NOT_COLLAB']=_0x145278(0x11f),_0x41cf1f[_0x145278(0x376)]=_0x145278(0x466),_0x41cf1f[_0x145278(0x430)]=_0x145278(0x53b),_0x41cf1f['AWAITING']='awaiting',_0x41cf1f['AWAITING_WITH_PENDING']=_0x145278(0x46d),_0x41cf1f[_0x145278(0x449)]=_0x145278(0x4ae),_0x41cf1f[_0x145278(0x31b)]=_0x145278(0x250),_0x41cf1f[_0x145278(0x14d)]=_0x145278(0x422),_0x41cf1f))(_0xfe35ac||{});const _0x238bd9=0xea60;class _0x5c8f4a{constructor(_0x2b20cd,_0x194553,_0x34eecf,_0x541a9d,_0x5272a6,_0x5f3fdc,_0x49d888,_0x5e7cfc,_0x9c339d){const _0x4e9f5f=_0x145278;_0xbb867(this,_0x4e9f5f(0x4ce),null),_0xbb867(this,_0x4e9f5f(0x3c8),[]),(this[_0x4e9f5f(0x240)]=_0x2b20cd,this[_0x4e9f5f(0x389)]=_0x194553,this[_0x4e9f5f(0x24b)]=_0x5272a6,this[_0x4e9f5f(0x375)]=_0x5f3fdc,this[_0x4e9f5f(0x2fe)]=_0x49d888,this['_revisionService']=_0x5e7cfc,this[_0x4e9f5f(0x3fb)]=_0x9c339d,this['_awaitingChangeset']=_0x34eecf,this[_0x4e9f5f(0x3c8)]=_0x541a9d);}[_0x145278(0x53e)](_0x5dda70){const _0x26664e=_0x145278,_0x378406=this[_0x26664e(0x2b4)][_0x26664e(0x213)](this[_0x26664e(0x240)]);return _0x5dda70[_0x26664e(0x3f6)]>_0x378406+0x1?(this[_0x26664e(0x24b)]['onMissingChangesets']({'from':_0x378406,'to':_0x5dda70[_0x26664e(0x3f6)]-0x1}),!0x0):!0x1;}[_0x145278(0x2dd)](_0x38711a){const _0x30e780=_0x145278;this[_0x30e780(0x2fe)][_0x30e780(0x3d7)](this[_0x30e780(0x240)],_0x38711a);}[_0x145278(0x38d)](_0x299845){var _0x2f60a1,_0x187623;(_0x187623=(_0x2f60a1=this['_handler'])['onTransformSelections'])==null||_0x187623['call'](_0x2f60a1,_0x299845);}[_0x145278(0x11b)](_0x252ea0){const _0x2f337e=_0x145278;var _0x2cacac,_0x22e0bb;return(_0x22e0bb=(_0x2cacac=this[_0x2f337e(0x24b)])['onTransformIME'])==null?void 0x0:_0x22e0bb[_0x2f337e(0x54a)](_0x2cacac,_0x252ea0);}['_transformRemoteChangesetByIMECache'](_0xaa61a5){const _0x50ee76=_0x145278;var _0x3960ee,_0x355bba,_0x56cde4;return(_0x56cde4=(_0x355bba=(_0x3960ee=this['_handler'])[_0x50ee76(0x227)])==null?void 0x0:_0x355bba[_0x50ee76(0x54a)](_0x3960ee,_0xaa61a5))!=null?_0x56cde4:_0xaa61a5;}['_syncEditingCollabCursor'](_0x2a9cc7){const _0x18c2a2=_0x145278;var _0x37540c,_0x491c71;if(this[_0x18c2a2(0x389)]===_0x5b5eaf[_0x18c2a2(0x22e)]){const {unitID:_0x22b37c,mutations:_0x28dca7,memberID:_0x1cf846}=_0x2a9cc7,_0x59b97d=_0x28dca7[0x0][_0x18c2a2(0x23d)][_0x18c2a2(0x433)];Array[_0x18c2a2(0x1c9)](_0x59b97d)&&_0x59b97d['length']>0x0&&((_0x491c71=(_0x37540c=this['_handler'])[_0x18c2a2(0x13d)])==null||_0x491c71['call'](_0x37540c,{'unitID':_0x22b37c,'memberID':_0x1cf846,'textRanges':_0x59b97d}));}}['_updateLocalCache'](){const _0x5115a1=_0x145278;this[_0x5115a1(0x3fb)][_0x5115a1(0x13e)](this[_0x5115a1(0x240)],this['type'],this['_awaitingChangeset'],this[_0x5115a1(0x3c8)]);}[_0x145278(0x3c9)](){const _0x3f9935=_0x145278;return this[_0x3f9935(0x2b4)][_0x3f9935(0x213)](this['unitID']);}[_0x145278(0x45e)](){const _0x2e3468=_0x145278;this['_revisionService'][_0x2e3468(0x166)](this[_0x2e3468(0x240)]);}[_0x145278(0x541)](_0x891395){const _0x3400e1=_0x145278;var _0x32b8f0;const _0x416e41=this[_0x3400e1(0x354)](_0x891395),_0x3a479c=_0x349f19[_0x3400e1(0x3f9)](_0x416e41['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x3a479c['result'])throw _0x3a479c[_0x3400e1(0x4aa)]instanceof Error?_0x3a479c[_0x3400e1(0x4aa)]:new Error((_0x32b8f0=_0x3a479c['error'])!=null?_0x32b8f0:'[CollaborationState]:\x20apply\x20error!');this[_0x3400e1(0x11b)](_0x416e41),this['_transformUndoredo'](_0x891395),this[_0x3400e1(0x38d)](_0x416e41),this['_syncEditingCollabCursor'](_0x416e41),this[_0x3400e1(0x45e)]();}}let _0x11f110=class extends _0x5c8f4a{constructor(_0x5d5f7f,_0x195213,_0x4e9257,_0x2b2b86,_0x151213,_0x2acf45,_0x385eee,_0x593100,_0x70bc0f,_0x3ade63){const _0x3f2c7f=_0x145278;super(_0x5d5f7f,_0x195213,null,[],_0x4e9257,_0x593100,_0x385eee,_0x2b2b86,_0x151213),_0xbb867(this,_0x3f2c7f(0x465),_0x3f2c7f(0x466)),(this[_0x3f2c7f(0x22d)]=_0x2acf45,this['_logService']=_0x70bc0f,this['_transformService']=_0x3ade63);}[_0x145278(0x52a)](_0xc83051){const _0x5208eb=_0x145278,_0x26027a=this[_0x5208eb(0x22d)][_0x5208eb(0x556)](_0xf500fc,this[_0x5208eb(0x240)],this[_0x5208eb(0x389)],[_0xc83051],this[_0x5208eb(0x24b)]);return _0x26027a['_schedule'](),_0x26027a[_0x5208eb(0x3f7)](),_0x26027a;}[_0x145278(0x279)](_0x31baf7){const _0x1c7082=_0x145278;if(this[_0x1c7082(0x53e)](_0x31baf7))return this[_0x1c7082(0x22d)][_0x1c7082(0x556)](_0x26d3fa,this[_0x1c7082(0x240)],this[_0x1c7082(0x389)],null,[],null,[_0x31baf7],this[_0x1c7082(0x24b)]);try{const _0x5170e8=this[_0x1c7082(0x28a)][_0x1c7082(0x21c)](_0x31baf7,[_0x49c07c]);if(_0x54555c[_0x1c7082(0x170)](_0x5170e8)){const {c1Prime:_0x2179e8}=_0x5170e8;return this[_0x1c7082(0x541)](_0x2179e8),this;}throw _0x5170e8[_0x1c7082(0x4aa)];}catch(_0x4d96f3){return this[_0x1c7082(0x385)][_0x1c7082(0x4aa)](_0x4d96f3),this[_0x1c7082(0x493)](!0x1);}}[_0x145278(0x493)](_0x19414a){const _0x979ad6=_0x145278;return this[_0x979ad6(0x22d)][_0x979ad6(0x556)](_0x10b287,this[_0x979ad6(0x240)],this[_0x979ad6(0x389)],null,[],this[_0x979ad6(0x24b)],_0x19414a);}[_0x145278(0x488)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x145278(0x494)](){const _0x470d52=_0x145278;throw new Error(_0x470d52(0x2c6));}[_0x145278(0x4d6)](){return this;}[_0x145278(0x423)](){const _0x22b14d=_0x145278;return this[_0x22b14d(0x22d)]['createInstance'](_0x216080,this[_0x22b14d(0x240)],this[_0x22b14d(0x389)],null,[],this[_0x22b14d(0x24b)]);}['toggleOnline'](){return this;}['resend'](){const _0x1dcd0b=_0x145278;throw new Error(_0x1dcd0b(0x2c7));}[_0x145278(0x200)](){const _0x4a47ce=_0x145278,_0x51a85a=this[_0x4a47ce(0x2b4)][_0x4a47ce(0x213)](this[_0x4a47ce(0x240)]);return this[_0x4a47ce(0x24b)][_0x4a47ce(0x30e)]({'from':_0x51a85a,'to':0x0}),this[_0x4a47ce(0x22d)][_0x4a47ce(0x556)](_0x26d3fa,this[_0x4a47ce(0x240)],this[_0x4a47ce(0x389)],null,[],null,[],this['_handler']);}};_0x11f110=_0x283e20([_0x255450(0x3,_0x349f19[_0x145278(0x413)](_0x54555c['RevisionService'])),_0x255450(0x4,_0x349f19[_0x145278(0x413)](_0x3b531e[_0x145278(0x30a)])),_0x255450(0x5,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x255450(0x6,_0x349f19[_0x145278(0x2a4)]),_0x255450(0x7,_0x349f19['ICommandService']),_0x255450(0x8,_0x349f19[_0x145278(0x1e7)]),_0x255450(0x9,_0x54555c[_0x145278(0x42a)])],_0x11f110);let _0xf500fc=class extends _0x5c8f4a{constructor(_0x5e1bc9,_0x978d,_0x59b38c,_0x676ffd,_0x873a45,_0x30c260,_0x346e3c,_0x1a4260,_0x465b8f,_0x27d5cf,_0x47ebf6,_0xe9fec2,_0x325f03,_0x2635a2){const _0x365207=_0x145278;super(_0x5e1bc9,_0x978d,null,_0x59b38c,_0x676ffd,_0x27d5cf,_0x2635a2,_0x30c260,_0x346e3c),_0xbb867(this,_0x365207(0x465),_0x365207(0x53b)),_0xbb867(this,'_scheduleTimestamp',null),_0xbb867(this,_0x365207(0x4ea),null),(this[_0x365207(0x22d)]=_0x873a45,this[_0x365207(0x474)]=_0x1a4260,this[_0x365207(0x385)]=_0x465b8f,this[_0x365207(0x28d)]=_0x47ebf6,this[_0x365207(0x28a)]=_0xe9fec2,this[_0x365207(0x31f)]=_0x325f03);}[_0x145278(0x52a)](_0x255d6d){const _0xa3ad74=_0x145278;return this['_pendingMutations'][_0xa3ad74(0x276)](_0x255d6d),this['_updateLocalCache'](),this;}[_0x145278(0x279)](_0x1fe7b4){const _0x44b744=_0x145278;if(this['_checkMissing'](_0x1fe7b4))return this[_0x44b744(0x4a4)](),this['_injector'][_0x44b744(0x556)](_0x26d3fa,this[_0x44b744(0x240)],this[_0x44b744(0x389)],null,this[_0x44b744(0x3c8)],null,[_0x1fe7b4],this['_handler']);try{const _0x59c8e5=this[_0x44b744(0x28a)][_0x44b744(0x21c)](_0x1fe7b4,this[_0x44b744(0x3c8)]);if(_0x54555c[_0x44b744(0x170)](_0x59c8e5)){const {c1Prime:_0x213ac7,m2Prime:_0x39769f}=_0x59c8e5;this[_0x44b744(0x541)](_0x213ac7);const _0x439065=this[_0x44b744(0x22d)][_0x44b744(0x556)](_0xf500fc,this[_0x44b744(0x240)],this[_0x44b744(0x389)],_0x39769f,this[_0x44b744(0x24b)]);return this[_0x44b744(0x4a4)](),_0x439065[_0x44b744(0x174)](this[_0x44b744(0x3a5)]?Math['max'](0x0,new Date()[_0x44b744(0x352)]()-this[_0x44b744(0x3a5)]):this[_0x44b744(0x34e)]()),_0x439065;}throw _0x59c8e5[_0x44b744(0x4aa)];}catch(_0x15c7f0){return this['_logService']['error'](_0x15c7f0),this[_0x44b744(0x493)](!0x1);}}[_0x145278(0x488)](){const _0x2242af=_0x145278;throw new Error(_0x2242af(0x364));}[_0x145278(0x494)](){const _0x4c0fd9=_0x145278;throw new Error(_0x4c0fd9(0x4e6));}['onRemoteRetry'](){return this;}[_0x145278(0x423)](){const _0x7f45ff=_0x145278;return this[_0x7f45ff(0x4a4)](),this['_injector'][_0x7f45ff(0x556)](_0x216080,this[_0x7f45ff(0x240)],this[_0x7f45ff(0x389)],null,this[_0x7f45ff(0x3c8)],this[_0x7f45ff(0x24b)]);}[_0x145278(0x39b)](){return this;}[_0x145278(0x174)](_0x8f78b8){const _0x583475=_0x145278,_0x24c6f4=_0x8f78b8!=null?_0x8f78b8:this[_0x583475(0x34e)]();this['_scheduleTimestamp']=new Date()[_0x583475(0x352)](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x1467ca=_0x583475;this[_0x1467ca(0x4a4)]();let _0x346ff4=null;switch(this[_0x1467ca(0x389)]){case _0x5b5eaf[_0x1467ca(0x431)]:{_0x346ff4=_0x14304e(this[_0x1467ca(0x3c8)],this['unitID'],this[_0x1467ca(0x31f)],this[_0x1467ca(0x2b4)],this['_memberService']);break;}case _0x5b5eaf[_0x1467ca(0x22e)]:{this[_0x1467ca(0x3c8)][_0x1467ca(0x19c)](_0x3e48e8=>_0x3e48e8['id']===_0x9fa27b[_0x1467ca(0x50b)]['id'])?_0x346ff4=_0x4d526f(this[_0x1467ca(0x3c8)],this[_0x1467ca(0x240)],this[_0x1467ca(0x31f)],this[_0x1467ca(0x2b4)],this[_0x1467ca(0x474)]):_0x346ff4=_0x14304e(this[_0x1467ca(0x3c8)],this[_0x1467ca(0x240)],this[_0x1467ca(0x31f)],this[_0x1467ca(0x2b4)],this[_0x1467ca(0x474)]);break;}default:throw new Error(_0x1467ca(0x456)+this[_0x1467ca(0x389)]+_0x1467ca(0x294));}const {changeset:_0x2c1bfa,pendingMutations:_0x32e7a5}=_0x346ff4;this[_0x1467ca(0x24b)]['onSendChangeset'](_0x2c1bfa);const _0x5b09ea=_0x32e7a5[_0x1467ca(0x37e)]?this[_0x1467ca(0x22d)][_0x1467ca(0x556)](_0x4101e6,this['unitID'],this[_0x1467ca(0x389)],_0x2c1bfa,_0x32e7a5,this[_0x1467ca(0x24b)],void 0x0):this[_0x1467ca(0x22d)][_0x1467ca(0x556)](_0x238e5e,this[_0x1467ca(0x240)],this['type'],_0x2c1bfa,this[_0x1467ca(0x24b)]);_0x5b09ea[_0x1467ca(0x3f7)](),this[_0x1467ca(0x24b)][_0x1467ca(0x24a)](this,_0x5b09ea);},_0x24c6f4);}['_getSendChangesetTimeout'](){const _0x48bc4b=_0x145278;var _0x52585a;const _0x363260=this[_0x48bc4b(0x28d)][_0x48bc4b(0x46f)](_0x4ea523);return(_0x52585a=_0x363260==null?void 0x0:_0x363260[_0x48bc4b(0x2b0)])!=null?_0x52585a:0x7d0;}[_0x145278(0x2ba)](){const _0x4e1e18=_0x145278;throw new Error(_0x4e1e18(0x1a0));}[_0x145278(0x4a4)](){const _0x1a7af1=_0x145278;this[_0x1a7af1(0x4ea)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1a7af1(0x4ea)]=null);}[_0x145278(0x493)](_0xfa850e){const _0x3ab847=_0x145278;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x10b287,this[_0x3ab847(0x240)],this[_0x3ab847(0x389)],null,this[_0x3ab847(0x3c8)],this['_handler'],_0xfa850e);}};_0xf500fc=_0x283e20([_0x255450(0x4,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x255450(0x5,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x387)])),_0x255450(0x6,_0x349f19['Inject'](_0x3b531e[_0x145278(0x30a)])),_0x255450(0x7,_0x349f19['Inject'](_0x5a9e0d)),_0x255450(0x8,_0x349f19['ILogService']),_0x255450(0x9,_0x349f19['ICommandService']),_0x255450(0xa,_0x349f19[_0x145278(0x424)]),_0x255450(0xb,_0x54555c[_0x145278(0x42a)]),_0x255450(0xc,_0x349f19[_0x145278(0x501)]),_0x255450(0xd,_0x349f19[_0x145278(0x2a4)])],_0xf500fc);let _0x238e5e=class extends _0x5c8f4a{constructor(_0x48ce4f,_0x5b8288,_0x47b1f0,_0x44e3f7,_0x8757be,_0xfded47,_0x2e404e,_0x387e26,_0x844c42,_0x180470,_0x4ac2d5){const _0x3b16ae=_0x145278;super(_0x48ce4f,_0x5b8288,_0x47b1f0,[],_0x44e3f7,_0x387e26,_0x4ac2d5,_0xfded47,_0x2e404e),_0xbb867(this,_0x3b16ae(0x465),'awaiting'),_0xbb867(this,_0x3b16ae(0x221),0x0),_0xbb867(this,_0x3b16ae(0x52c)),_0xbb867(this,'_sender'),(this['_injector']=_0x8757be,this[_0x3b16ae(0x385)]=_0x844c42,this[_0x3b16ae(0x28a)]=_0x180470);}[_0x145278(0x52a)](_0x3c59db){const _0x13b320=_0x145278;this[_0x13b320(0x4a4)]();const _0x286729=this[_0x13b320(0x22d)][_0x13b320(0x556)](_0x4101e6,this[_0x13b320(0x240)],this['type'],this['_awaitingChangeset'],[_0x3c59db],this['_handler'],this[_0x13b320(0x52c)]);return _0x286729[_0x13b320(0x3f7)](),_0x286729;}[_0x145278(0x279)](_0x21d190){const _0x3ff76a=_0x145278;if(this[_0x3ff76a(0x53e)](_0x21d190))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x26d3fa,this[_0x3ff76a(0x240)],this['type'],this[_0x3ff76a(0x4ce)],[],null,[_0x21d190],this[_0x3ff76a(0x24b)]);try{const _0x446f9d=this['_transformService'][_0x3ff76a(0x21b)]([_0x21d190],[this['_awaitingChangeset']],!0x1);if(_0x54555c[_0x3ff76a(0x195)](_0x446f9d)){const {c1Prime:_0x4a6b02,c2Prime:_0x3b724e}=_0x446f9d;this[_0x3ff76a(0x541)](_0x4a6b02[0x0]),_0x3b724e[0x0][_0x3ff76a(0x38c)]=this[_0x3ff76a(0x3c9)](),this[_0x3ff76a(0x4a4)]();const _0x5eb2a9=this[_0x3ff76a(0x22d)][_0x3ff76a(0x556)](_0x238e5e,this['unitID'],this[_0x3ff76a(0x389)],_0x3b724e[0x0],this['_handler']);return _0x5eb2a9[_0x3ff76a(0x3f7)](),_0x5eb2a9;}return this['_onConflict'](!0x1);}catch(_0x16f2d7){return this[_0x3ff76a(0x385)][_0x3ff76a(0x4aa)](_0x16f2d7),this[_0x3ff76a(0x493)](!0x1);}}[_0x145278(0x488)](_0x1c490c){const _0x107c01=_0x145278;this[_0x107c01(0x4a4)]();const _0x21129c=this[_0x107c01(0x2b4)][_0x107c01(0x213)](this[_0x107c01(0x240)]);if(_0x1c490c['revision']<_0x21129c-0x1)return this;if(this[_0x107c01(0x53e)](_0x1c490c))return this[_0x107c01(0x22d)][_0x107c01(0x556)](_0x26d3fa,this[_0x107c01(0x240)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x107c01(0x24b)]);this[_0x107c01(0x45e)]();const _0xd86f1b=this[_0x107c01(0x22d)]['createInstance'](_0x11f110,this[_0x107c01(0x240)],this['type'],this[_0x107c01(0x24b)]);return _0xd86f1b[_0x107c01(0x3f7)](),_0xd86f1b;}[_0x145278(0x494)](_0x28b862){const _0x4006c5=_0x145278;return this[_0x4006c5(0x493)](!!(_0x28b862!=null&&_0x28b862[_0x4006c5(0x265)]));}[_0x145278(0x4d6)](_0x1168d5){const _0x19148e=_0x145278;return this[_0x19148e(0x221)]>_0x238bd9?this[_0x19148e(0x423)]():(this[_0x19148e(0x52c)]=_0x2f5db9(this[_0x19148e(0x221)],{'timeout':this[_0x19148e(0x221)],'reqId':_0x1168d5[_0x19148e(0x48d)]}),this[_0x19148e(0x239)]=this[_0x19148e(0x52c)]['subscribe'](({reqId:_0x18b44d,timeout:_0x5e3040})=>{const _0x544a82=_0x19148e;this[_0x544a82(0x1c3)](_0x18b44d,_0x5e3040);}),this);}[_0x145278(0x423)](){const _0x5cedc3=_0x145278;return this[_0x5cedc3(0x4a4)](),this[_0x5cedc3(0x22d)]['createInstance'](_0x216080,this[_0x5cedc3(0x240)],this[_0x5cedc3(0x389)],this[_0x5cedc3(0x4ce)],[],this['_handler']);}[_0x145278(0x39b)](){return this;}[_0x145278(0x2ba)](){const _0x4a45fa=_0x145278;this[_0x4a45fa(0x24b)][_0x4a45fa(0x36c)](this[_0x4a45fa(0x4ce)]);}[_0x145278(0x493)](_0x5bb04e){const _0x2b0cc8=_0x145278;return this['_clearScheduledTask'](),this[_0x2b0cc8(0x22d)]['createInstance'](_0x10b287,this[_0x2b0cc8(0x240)],this[_0x2b0cc8(0x389)],this[_0x2b0cc8(0x4ce)],[],this[_0x2b0cc8(0x24b)],_0x5bb04e);}[_0x145278(0x1c3)](_0x385a14,_0x2292ad){const _0x118c3d=_0x145278;var _0xadf32b;_0x385a14===((_0xadf32b=this['_awaitingChangeset'])==null?void 0x0:_0xadf32b['reqId'])&&(this[_0x118c3d(0x2ba)](),this[_0x118c3d(0x221)]=_0x2292ad===0x0?0x3e8:_0x2292ad*0x2);}['_clearScheduledTask'](){const _0x47d346=_0x145278;var _0x1412e9;(_0x1412e9=this[_0x47d346(0x239)])==null||_0x1412e9['unsubscribe'](),this[_0x47d346(0x221)]=0x0;}};_0x238e5e=_0x283e20([_0x255450(0x4,_0x349f19['Inject'](_0x349f19['Injector'])),_0x255450(0x5,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x387)])),_0x255450(0x6,_0x349f19['Inject'](_0x3b531e['LocalCacheService'])),_0x255450(0x7,_0x349f19[_0x145278(0x36e)]),_0x255450(0x8,_0x349f19[_0x145278(0x1e7)]),_0x255450(0x9,_0x54555c['ITransformService']),_0x255450(0xa,_0x349f19[_0x145278(0x2a4)])],_0x238e5e);let _0x4101e6=class extends _0x5c8f4a{constructor(_0x2c8ac3,_0x8929f0,_0x5749ea,_0x158a9e,_0xddc433,_0x5c01fb,_0x5cd66a,_0x4132bc,_0x1c69a1,_0x5d972f,_0x54bffb,_0x55de21,_0x1b4ee2){const _0x20d032=_0x145278;super(_0x2c8ac3,_0x8929f0,_0x5749ea,_0x158a9e,_0xddc433,_0x5d972f,_0x1b4ee2,_0x4132bc,_0x1c69a1),_0xbb867(this,'status',_0x20d032(0x46d)),_0xbb867(this,_0x20d032(0x221),0x0),_0xbb867(this,_0x20d032(0x52c)),_0xbb867(this,_0x20d032(0x239)),(this[_0x20d032(0x22d)]=_0x5cd66a,this[_0x20d032(0x385)]=_0x54bffb,this[_0x20d032(0x28a)]=_0x55de21,_0x5c01fb&&(this[_0x20d032(0x52c)]=_0x5c01fb,this[_0x20d032(0x239)]=this[_0x20d032(0x52c)][_0x20d032(0x38f)](({reqId:_0x4d2e51,timeout:_0x385098})=>{const _0x2a515d=_0x20d032;this[_0x2a515d(0x1c3)](_0x4d2e51,_0x385098);})));}[_0x145278(0x52a)](_0x4ac352){const _0x240ff8=_0x145278;return this[_0x240ff8(0x3c8)][_0x240ff8(0x276)](_0x4ac352),this;}[_0x145278(0x279)](_0x48df06){const _0x47df59=_0x145278;if(this['_checkMissing'](_0x48df06))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x26d3fa,this['unitID'],this[_0x47df59(0x389)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x48df06],this[_0x47df59(0x24b)]);try{const _0x5e0b95=this[_0x47df59(0x28a)][_0x47df59(0x21b)]([_0x48df06],[this[_0x47df59(0x4ce)]],!0x1);if(_0x54555c[_0x47df59(0x195)](_0x5e0b95)){const {c1Prime:_0x20f0c6,c2Prime:_0x5f1c47}=_0x5e0b95,_0x86436d=this[_0x47df59(0x28a)]['transformMutationsWithChangeset'](_0x20f0c6[0x0],this['_pendingMutations']);if(_0x54555c[_0x47df59(0x170)](_0x86436d)){const {c1Prime:_0x38da68,m2Prime:_0x1018e5}=_0x86436d;return this[_0x47df59(0x541)](_0x38da68),_0x5f1c47[0x0]['baseRev']=this[_0x47df59(0x3c9)](),this[_0x47df59(0x4a4)](),this[_0x47df59(0x22d)][_0x47df59(0x556)](_0x4101e6,this[_0x47df59(0x240)],this[_0x47df59(0x389)],_0x5f1c47[0x0],_0x1018e5,this[_0x47df59(0x24b)],void 0x0);}throw _0x86436d[_0x47df59(0x4aa)];}throw _0x5e0b95[_0x47df59(0x4aa)];}catch(_0x51ae8b){return this[_0x47df59(0x385)][_0x47df59(0x4aa)](_0x51ae8b),this[_0x47df59(0x493)](!0x1);}}[_0x145278(0x488)](_0x544873){const _0x57b18d=_0x145278;if(this[_0x57b18d(0x4a4)](),this[_0x57b18d(0x53e)](_0x544873))return this[_0x57b18d(0x22d)][_0x57b18d(0x556)](_0x26d3fa,this[_0x57b18d(0x240)],this[_0x57b18d(0x389)],null,this[_0x57b18d(0x3c8)],this[_0x57b18d(0x4ce)],[],this[_0x57b18d(0x24b)]);this[_0x57b18d(0x45e)]();const _0x37a560=this['_injector']['createInstance'](_0xf500fc,this['unitID'],this[_0x57b18d(0x389)],this[_0x57b18d(0x3c8)],this['_handler']);return _0x37a560['_schedule'](),_0x37a560[_0x57b18d(0x3f7)](),_0x37a560;}[_0x145278(0x494)](_0x5f454a){const _0x4394dd=_0x145278;return this['_onConflict'](!!(_0x5f454a!=null&&_0x5f454a[_0x4394dd(0x265)]));}[_0x145278(0x4d6)](_0x3d6300){const _0x3c98fb=_0x145278;return this[_0x3c98fb(0x221)]>_0x238bd9?this['toggleOffline']():(this[_0x3c98fb(0x52c)]=_0x2f5db9(this[_0x3c98fb(0x221)],{'timeout':this['_resendTimeout'],'reqId':_0x3d6300['reqId']}),this[_0x3c98fb(0x239)]=this['_resendTimer'][_0x3c98fb(0x38f)](({reqId:_0x34d1d9,timeout:_0x287d0b})=>{const _0x5ed4d5=_0x3c98fb;this[_0x5ed4d5(0x1c3)](_0x34d1d9,_0x287d0b);}),this);}[_0x145278(0x423)](){const _0x5b4db2=_0x145278;return this[_0x5b4db2(0x4a4)](),this[_0x5b4db2(0x22d)]['createInstance'](_0x216080,this[_0x5b4db2(0x240)],this[_0x5b4db2(0x389)],this[_0x5b4db2(0x4ce)],this['_pendingMutations'],this[_0x5b4db2(0x24b)]);}[_0x145278(0x39b)](){return this;}[_0x145278(0x2ba)](){const _0x41e5bb=_0x145278;this[_0x41e5bb(0x24b)][_0x41e5bb(0x36c)](this[_0x41e5bb(0x4ce)]);}[_0x145278(0x493)](_0x465e4d){const _0xcd3c4a=_0x145278;return this['_clearScheduledTask'](),this[_0xcd3c4a(0x22d)][_0xcd3c4a(0x556)](_0x10b287,this['unitID'],this['type'],null,this[_0xcd3c4a(0x3c8)],this[_0xcd3c4a(0x24b)],_0x465e4d);}['_resendWithTimeout'](_0x25662d,_0x5398f1){const _0x4a8155=_0x145278;var _0x15455e;_0x25662d===((_0x15455e=this[_0x4a8155(0x4ce)])==null?void 0x0:_0x15455e['reqId'])&&(this[_0x4a8155(0x2ba)](),this[_0x4a8155(0x221)]=_0x5398f1===0x0?0x3e8:_0x5398f1*0x2);}[_0x145278(0x4a4)](){const _0x23474b=_0x145278;var _0x27647f;(_0x27647f=this['_sender'])==null||_0x27647f['unsubscribe'](),this[_0x23474b(0x221)]=0x0;}};_0x4101e6=_0x283e20([_0x255450(0x6,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x255450(0x7,_0x349f19['Inject'](_0x54555c[_0x145278(0x387)])),_0x255450(0x8,_0x349f19[_0x145278(0x413)](_0x3b531e[_0x145278(0x30a)])),_0x255450(0x9,_0x349f19['ICommandService']),_0x255450(0xa,_0x349f19[_0x145278(0x1e7)]),_0x255450(0xb,_0x54555c[_0x145278(0x42a)]),_0x255450(0xc,_0x349f19[_0x145278(0x2a4)])],_0x4101e6);let _0x10b287=class extends _0x5c8f4a{constructor(_0x4ccd32,_0x56cc33,_0x420533,_0x1d6ac8,_0x17c47a,_0x3f2582=!0x1,_0x453dee,_0x4a8eac,_0xae5e52,_0x5d3cbe,_0x8dc337,_0x59f9c7,_0x20ed7e){const _0x576600=_0x145278;super(_0x4ccd32,_0x56cc33,_0x420533,_0x1d6ac8,_0x17c47a,_0x4a8eac,_0xae5e52,_0x8dc337,_0x5d3cbe),_0xbb867(this,'status','conflict'),(this[_0x576600(0x21e)]=_0x3f2582,this[_0x576600(0x201)]=_0x453dee,this['_localeService']=_0x59f9c7,this['_notificationService']=_0x20ed7e,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x576600(0x3da)]());}[_0x145278(0x52a)](){return this;}[_0x145278(0x279)](){return this;}['onRemoteAck'](){return this;}[_0x145278(0x494)](){return this;}[_0x145278(0x4d6)](){return this;}[_0x145278(0x423)](){return this;}[_0x145278(0x39b)](){return this;}['resend'](){const _0x2c2c76=_0x145278;throw new Error(_0x2c2c76(0x20b));}['_clearLocalCache'](){const _0x2de13b=_0x145278;this[_0x2de13b(0x3fb)]['updateOfflineData'](this[_0x2de13b(0x240)],this[_0x2de13b(0x389)],null,[]);}[_0x145278(0x45b)](){const _0x1919e2=_0x145278;this[_0x1919e2(0x21e)]?this[_0x1919e2(0x4d8)][_0x1919e2(0x303)]({'title':this['_localeService']['t'](_0x1919e2(0x532)),'content':this[_0x1919e2(0x207)]['t'](_0x1919e2(0x323)),'type':_0x1919e2(0x4aa),'duration':0x0}):this[_0x1919e2(0x4d8)]['show']({'title':this[_0x1919e2(0x207)]['t'](_0x1919e2(0x28e)),'content':this['_localeService']['t'](_0x1919e2(0x211)),'type':_0x1919e2(0x4aa),'duration':0x0});}['_disableEditing'](){const _0x9fac7=_0x145278;this['_permissionService']['updatePermissionPoint'](new _0x4c7a32[(_0x9fac7(0x287))](this[_0x9fac7(0x240)])['id'],!0x1);}};_0x10b287=_0x283e20([_0x255450(0x6,_0x349f19['Inject'](_0x349f19[_0x145278(0x4ec)])),_0x255450(0x7,_0x349f19[_0x145278(0x36e)]),_0x255450(0x8,_0x349f19[_0x145278(0x2a4)]),_0x255450(0x9,_0x349f19['Inject'](_0x3b531e['LocalCacheService'])),_0x255450(0xa,_0x349f19['Inject'](_0x54555c[_0x145278(0x387)])),_0x255450(0xb,_0x349f19[_0x145278(0x413)](_0x349f19['LocaleService'])),_0x255450(0xc,_0x5b624f['INotificationService'])],_0x10b287);let _0x216080=class extends _0x5c8f4a{constructor(_0x28bf26,_0x154655,_0x5c62d1,_0x3adb4c,_0x55e97e,_0x3b0b6c,_0x103bbe,_0x5b8542,_0x59741f,_0x45a571){const _0x4dcad7=_0x145278;super(_0x28bf26,_0x154655,_0x5c62d1,_0x3adb4c,_0x55e97e,_0x59741f,_0x45a571,_0x103bbe,_0x5b8542),_0xbb867(this,_0x4dcad7(0x465),_0x4dcad7(0x422)),this[_0x4dcad7(0x22d)]=_0x3b0b6c;}[_0x145278(0x52a)](_0x11aa2e){const _0x17d60c=_0x145278;return this[_0x17d60c(0x3c8)][_0x17d60c(0x276)](_0x11aa2e),this[_0x17d60c(0x3f7)](),this;}[_0x145278(0x279)](_0x2939db){const _0x38a39c=_0x145278;throw new Error(_0x38a39c(0x318));}[_0x145278(0x488)](){const _0x551a4e=_0x145278;throw new Error(_0x551a4e(0x468));}[_0x145278(0x494)](){const _0x4f420c=_0x145278;throw new Error(_0x4f420c(0x188));}[_0x145278(0x4d6)](){return this;}[_0x145278(0x423)](){return this;}[_0x145278(0x39b)](){const _0x5715a1=_0x145278,{_injector:_0x2335a1,_pendingMutations:_0x279250,_awaitingChangeset:_0x44b445,unitID:_0x4461d5,_handler:_0x3db1fe,type:_0x3446c5}=this,_0x53343c=_0x208b9a(_0x2335a1,_0x4461d5,_0x3446c5,_0x44b445,_0x279250,_0x3db1fe);return _0x53343c instanceof _0xf500fc?_0x53343c[_0x5715a1(0x174)]():(_0x53343c instanceof _0x4101e6||_0x53343c instanceof _0x238e5e)&&_0x53343c[_0x5715a1(0x2ba)](),_0x53343c;}[_0x145278(0x2ba)](){const _0x43e749=_0x145278;throw new Error(_0x43e749(0x20f));}};_0x216080=_0x283e20([_0x255450(0x5,_0x349f19[_0x145278(0x413)](_0x349f19['Injector'])),_0x255450(0x6,_0x349f19[_0x145278(0x413)](_0x54555c['RevisionService'])),_0x255450(0x7,_0x349f19[_0x145278(0x413)](_0x3b531e[_0x145278(0x30a)])),_0x255450(0x8,_0x349f19[_0x145278(0x36e)]),_0x255450(0x9,_0x349f19[_0x145278(0x2a4)])],_0x216080);let _0x26d3fa=class extends _0x5c8f4a{constructor(_0x24fec8,_0x45a4e8,_0x4dad3d,_0x5d5d49,_0x451528,_0x2060d7,_0x1c270b,_0x4a1c89,_0x4f843a,_0x586234,_0x16596a,_0x14c63b,_0x554b43,_0x4b9fea){const _0x4158a7=_0x145278;super(_0x24fec8,_0x45a4e8,_0x4dad3d,_0x5d5d49,_0x1c270b,_0x14c63b,_0x554b43,_0x4f843a,_0x586234),_0xbb867(this,_0x4158a7(0x465),'fetch_missing'),(this[_0x4158a7(0x552)]=_0x451528,this[_0x4158a7(0x4ff)]=_0x2060d7,this['_injector']=_0x4a1c89,this[_0x4158a7(0x385)]=_0x16596a,this[_0x4158a7(0x28a)]=_0x4b9fea);}[_0x145278(0x172)](_0x44476c){const _0x26aafd=_0x145278;try{const _0x43a872=[..._0x44476c,...this[_0x26aafd(0x4ff)]],_0x2d30d4=[this[_0x26aafd(0x4ce)]||this[_0x26aafd(0x552)]]['filter'](_0x4f6f5b=>!!_0x4f6f5b);let _0x2a7fce,_0x51c4c1;if(_0x2d30d4[_0x26aafd(0x37e)]){const _0x528671=this['_transformService'][_0x26aafd(0x21b)](_0x43a872,_0x2d30d4,!0x1);if(!_0x54555c[_0x26aafd(0x195)](_0x528671))throw _0x528671[_0x26aafd(0x4aa)];_0x2a7fce=_0x528671['c1Prime'],_0x51c4c1=_0x528671['c2Prime'];}else _0x2a7fce=_0x43a872,_0x51c4c1=[];let _0x125a4c=this[_0x26aafd(0x3c8)];_0x2a7fce['forEach'](_0x2df9f7=>{const _0x164aac=_0x26aafd;let _0x107a25;if(_0x125a4c[_0x164aac(0x37e)]){const _0xe35fb=this[_0x164aac(0x28a)][_0x164aac(0x21c)](_0x2df9f7,_0x125a4c);if(!_0x54555c[_0x164aac(0x170)](_0xe35fb))throw _0xe35fb['error'];_0x107a25=_0xe35fb[_0x164aac(0x26b)],_0x125a4c=_0xe35fb[_0x164aac(0x2a5)];}else _0x107a25=_0x2df9f7;this[_0x164aac(0x541)](_0x107a25);}),this[_0x26aafd(0x552)]&&this[_0x26aafd(0x45e)](),this[_0x26aafd(0x4ce)]&&_0x51c4c1['length']&&(_0x51c4c1[0x0][_0x26aafd(0x38c)]=this[_0x26aafd(0x3c9)]());let _0x1645b4;if(this[_0x26aafd(0x4ce)]&&_0x125a4c[_0x26aafd(0x37e)]!==0x0)_0x1645b4=this[_0x26aafd(0x22d)][_0x26aafd(0x556)](_0x4101e6,this[_0x26aafd(0x240)],this['type'],_0x51c4c1[0x0],_0x125a4c,this[_0x26aafd(0x24b)],void 0x0);else{if(this[_0x26aafd(0x4ce)]&&_0x125a4c[_0x26aafd(0x37e)]===0x0)_0x51c4c1[0x0][_0x26aafd(0x38c)]=this[_0x26aafd(0x3c9)](),_0x1645b4=this[_0x26aafd(0x22d)][_0x26aafd(0x556)](_0x238e5e,this[_0x26aafd(0x240)],this[_0x26aafd(0x389)],_0x51c4c1[0x0],this[_0x26aafd(0x24b)]);else{if(_0x125a4c[_0x26aafd(0x37e)]!==0x0){const _0x1c7eb5=this[_0x26aafd(0x22d)][_0x26aafd(0x556)](_0xf500fc,this[_0x26aafd(0x240)],this[_0x26aafd(0x389)],_0x125a4c,this[_0x26aafd(0x24b)]);_0x1c7eb5[_0x26aafd(0x174)](),_0x1645b4=_0x1c7eb5;}else _0x1645b4=this[_0x26aafd(0x22d)][_0x26aafd(0x556)](_0x11f110,this[_0x26aafd(0x240)],this['type'],this[_0x26aafd(0x24b)]);}}return _0x1645b4[_0x26aafd(0x3f7)](),_0x1645b4;}catch(_0x3b3985){return this['_logService'][_0x26aafd(0x4aa)]('[FetchMissState]',_0x26aafd(0x558),_0x3b3985),this[_0x26aafd(0x22d)]['createInstance'](_0x10b287,this[_0x26aafd(0x240)],this[_0x26aafd(0x389)],this[_0x26aafd(0x4ce)],this['_pendingMutations'],this[_0x26aafd(0x24b)],!0x1);}}['resend'](){const _0x234d7b=_0x145278;throw new Error(_0x234d7b(0x518));}[_0x145278(0x52a)](_0x5c043c){const _0x2bf447=_0x145278;return this[_0x2bf447(0x3c8)][_0x2bf447(0x276)](_0x5c043c),this;}[_0x145278(0x279)](_0x1c60cf){const _0x2b3b3b=_0x145278;return this[_0x2b3b3b(0x4ff)][_0x2b3b3b(0x276)](_0x1c60cf),this;}[_0x145278(0x488)](_0x27beb5){const _0x31589c=_0x145278;if(this['_awaitingChangeset'])return this[_0x31589c(0x552)]=this[_0x31589c(0x4ce)],this[_0x31589c(0x4ce)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x145278(0x494)](_0x4bc045){const _0x46aa07=_0x145278;return this['_onConflict'](!!(_0x4bc045!=null&&_0x4bc045[_0x46aa07(0x265)]));}[_0x145278(0x4d6)](){return this;}[_0x145278(0x423)](){const _0x155b7d=_0x145278;return this['_injector'][_0x155b7d(0x556)](_0x216080,this[_0x155b7d(0x240)],this[_0x155b7d(0x389)],this[_0x155b7d(0x4ce)],this[_0x155b7d(0x3c8)],this['_handler']);}['toggleOnline'](){return this;}[_0x145278(0x493)](_0x501e97){const _0x532fd7=_0x145278;return this['_injector'][_0x532fd7(0x556)](_0x10b287,this[_0x532fd7(0x240)],this['type'],this[_0x532fd7(0x4ce)],this['_pendingMutations'],this[_0x532fd7(0x24b)],_0x501e97);}};_0x26d3fa=_0x283e20([_0x255450(0x7,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x255450(0x8,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x387)])),_0x255450(0x9,_0x349f19[_0x145278(0x413)](_0x3b531e[_0x145278(0x30a)])),_0x255450(0xa,_0x349f19[_0x145278(0x1e7)]),_0x255450(0xb,_0x349f19[_0x145278(0x36e)]),_0x255450(0xc,_0x349f19[_0x145278(0x2a4)]),_0x255450(0xd,_0x54555c['ITransformService'])],_0x26d3fa);function _0x208b9a(_0x2bdc38,_0x1409c7,_0x2e15c0,_0x1daf7d,_0xb10392,_0x55eeda){const _0x393da7=_0x145278;return _0x1daf7d&&_0xb10392['length']?_0x2bdc38[_0x393da7(0x556)](_0x4101e6,_0x1409c7,_0x2e15c0,_0x1daf7d,_0xb10392,_0x55eeda,void 0x0):_0x1daf7d?_0x2bdc38['createInstance'](_0x238e5e,_0x1409c7,_0x2e15c0,_0x1daf7d,_0x55eeda):_0xb10392[_0x393da7(0x37e)]?_0x2bdc38['createInstance'](_0xf500fc,_0x1409c7,_0x2e15c0,_0xb10392,_0x55eeda):_0x2bdc38[_0x393da7(0x556)](_0x11f110,_0x1409c7,_0x2e15c0,_0x55eeda);}var _0x34a063=Object[_0x145278(0x507)],_0x2bda96=Object[_0x145278(0x16d)],_0x310d48=(_0x4a6238,_0x106f3f,_0x4a386e,_0x288984)=>{for(var _0x55fcea=_0x288984>0x1?void 0x0:_0x288984?_0x2bda96(_0x106f3f,_0x4a386e):_0x106f3f,_0x330965=_0x4a6238['length']-0x1,_0x2fa069;_0x330965>=0x0;_0x330965--)(_0x2fa069=_0x4a6238[_0x330965])&&(_0x55fcea=(_0x288984?_0x2fa069(_0x106f3f,_0x4a386e,_0x55fcea):_0x2fa069(_0x55fcea))||_0x55fcea);return _0x288984&&_0x55fcea&&_0x34a063(_0x106f3f,_0x4a386e,_0x55fcea),_0x55fcea;},_0x4e1934=(_0x1cc065,_0x49578c)=>(_0x923a0c,_0xf95470)=>_0x49578c(_0x923a0c,_0xf95470,_0x1cc065);_0x3b531e[_0x145278(0x122)]=class extends _0x349f19[_0x145278(0x4e9)]{constructor(_0x25d13c,_0xf3a19a,_0x261d43,_0x4a6418,_0x55fab5,_0x52bfe4,_0x439e6f,_0x314f7c,_0x538db6,_0x239bf3,_0x6fda3c,_0x5ae25d,_0x3f703a){const _0x4d1cff=_0x145278;super(),_0xbb867(this,_0x4d1cff(0x2f8),new _0x1e13bb['BehaviorSubject'](null)),_0xbb867(this,'state$',this[_0x4d1cff(0x2f8)][_0x4d1cff(0x4de)]()),_0xbb867(this,'_state'),_0xbb867(this,_0x4d1cff(0x161),!0x1),_0xbb867(this,_0x4d1cff(0x324),''),_0xbb867(this,'_changesetReqId',0x0),_0xbb867(this,_0x4d1cff(0x4fd),this[_0x4d1cff(0x486)][_0x4d1cff(0x3f1)](_0x1e13bb[_0x4d1cff(0x15d)](_0x53fdd4=>_0x53fdd4?_0x53fdd4[_0x4d1cff(0x465)]:_0xfe35ac[_0x4d1cff(0x14d)]),_0x1e13bb[_0x4d1cff(0x1d6)](0x1))),_0xbb867(this,_0x4d1cff(0x189),!0x1),_0xbb867(this,_0x4d1cff(0x3d0),[]),(this[_0x4d1cff(0x240)]=_0x25d13c,this[_0x4d1cff(0x3ff)]=_0xf3a19a,this[_0x4d1cff(0x341)]=_0x261d43,this['_injector']=_0x4a6418,this[_0x4d1cff(0x3fb)]=_0x55fab5,this['_compressMutationService']=_0x52bfe4,this[_0x4d1cff(0x207)]=_0x439e6f,this[_0x4d1cff(0x2b4)]=_0x314f7c,this[_0x4d1cff(0x385)]=_0x538db6,this[_0x4d1cff(0x375)]=_0x239bf3,this[_0x4d1cff(0x2a1)]=_0x6fda3c,this[_0x4d1cff(0x201)]=_0x5ae25d,this['_singleActiveUnitService']=_0x3f703a);}get[_0x145278(0x4e8)](){const _0x523d4b=_0x145278;return this[_0x523d4b(0x44a)];}async['init'](){const _0xe1d46b=_0x145278;if(this[_0xe1d46b(0x4e8)])throw new Error(_0xe1d46b(0x3d5));await this['_init']();}['pauseCollaboration'](){const _0x248750=_0x145278;return this[_0x248750(0x161)]=!0x0,_0x349f19[_0x248750(0x534)](()=>{const _0x5909de=_0x248750;this[_0x5909de(0x161)]=!0x1,this[_0x5909de(0x48b)]();});}[_0x145278(0x2df)](_0xfc06d6){const _0x80765b=_0x145278;this[_0x80765b(0x44a)]=_0xfc06d6,this[_0x80765b(0x2f8)]['next'](_0xfc06d6);}async[_0x145278(0x35a)](){const _0x1c6073=_0x145278;var _0x15a874;this['_updateState'](await this[_0x1c6073(0x336)]()),this[_0x1c6073(0x54e)]&&((_0x15a874=this[_0x1c6073(0x54e)])==null||_0x15a874[_0x1c6073(0x517)](this[_0x1c6073(0x240)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x1c6073(0x415)](this['unitID'])[_0x1c6073(0x38f)](_0x87599b=>{const _0x41787e=_0x1c6073;this[_0x41787e(0x385)][_0x41787e(0x3e3)](_0x41787e(0x370),_0x41787e(0x3b4),_0x87599b),_0x87599b===_0x16b139['OTHER_CLIENTS_EDITING']?(this[_0x41787e(0x2a1)]['show']({'content':this['_localeService']['t']('collaboration.single-unit.warning'),'type':_0x806671['MessageType'][_0x41787e(0x344)]}),this[_0x41787e(0x201)][_0x41787e(0x1c2)](new _0x4c7a32[(_0x41787e(0x287))](this[_0x41787e(0x240)])['id'],!0x1)):this[_0x41787e(0x201)][_0x41787e(0x1c2)](new _0x4c7a32[(_0x41787e(0x287))](this[_0x41787e(0x240)])['id'],!0x0);})));let _0x402f36=!0x1;return this[_0x1c6073(0x1e3)](this['session'][_0x1c6073(0x1ad)][_0x1c6073(0x38f)](_0x2c7638=>{const _0x15b6c1=_0x1c6073;_0x2c7638===_0x3ee00b['ONLINE']?this[_0x15b6c1(0x23c)](_0x402f36):_0x2c7638===_0x3ee00b['OFFLINE']&&(_0x402f36=!0x0,this['_toggleOffline']());})),this[_0x1c6073(0x1e3)](this[_0x1c6073(0x3ff)][_0x1c6073(0x403)][_0x1c6073(0x38f)](_0x1f3dec=>{const _0x3692b0=_0x1c6073;try{switch(_0x1f3dec[_0x3692b0(0x1c0)]){case _0x54555c[_0x3692b0(0x547)][_0x3692b0(0x327)]:{this[_0x3692b0(0x17a)](_0x54555c['parseProtocolChangeset'](_0x1f3dec[_0x3692b0(0x2d2)]));break;}case _0x54555c[_0x3692b0(0x547)][_0x3692b0(0x49a)]:{this['_onRemoteACK'](_0x1f3dec[_0x3692b0(0x2d2)]);break;}case _0x54555c['CollaborationEvent'][_0x3692b0(0x4f8)]:{this[_0x3692b0(0x23a)]();break;}case _0x54555c[_0x3692b0(0x547)]['CHANGESET_SHOULD_RETRY']:{this[_0x3692b0(0x366)](_0x1f3dec['data']);break;}case _0x54555c[_0x3692b0(0x547)][_0x3692b0(0x1f4)]:{this['_onFetchMissResult'](_0x1f3dec['data'][_0x3692b0(0x1af)][_0x3692b0(0x15d)](_0x40ff00=>_0x54555c['parseProtocolChangeset'](_0x40ff00)));break;}case _0x54555c[_0x3692b0(0x547)][_0x3692b0(0x475)]:this[_0x3692b0(0x23a)]({'isPermissionRej':!0x0});}}catch(_0xb55a40){throw console[_0x3692b0(0x4aa)](_0x3692b0(0x34a),_0xb55a40),_0xb55a40;}})),this[_0x1c6073(0x44a)];}[_0x145278(0x17b)](){const _0x2ceed5=_0x145278;this[_0x2ceed5(0x189)]=!0x1;}[_0x145278(0x463)](){const _0x65cfd9=_0x145278;if(this[_0x65cfd9(0x189)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x65cfd9(0x189)]=!0x0;}['_onLocalMutation'](_0x3fcd64){const _0x30005f=_0x145278;this[_0x30005f(0x463)](),this[_0x30005f(0x2df)](this[_0x30005f(0x44a)][_0x30005f(0x52a)](_0x3fcd64)),this[_0x30005f(0x17b)]();}[_0x145278(0x17a)](_0x3cfc06){const _0x2098d0=_0x145278;if(!(_0x3cfc06[_0x2098d0(0x3f6)]<=this[_0x2098d0(0x2b4)][_0x2098d0(0x213)](this[_0x2098d0(0x240)]))){if(this[_0x2098d0(0x161)]){this[_0x2098d0(0x3d0)][_0x2098d0(0x276)](_0x3cfc06);return;}this['_applyRemoteChangeset'](_0x3cfc06);}}[_0x145278(0x48b)](){const _0x3e49fd=_0x145278;this[_0x3e49fd(0x3d0)]['forEach'](_0x91feb6=>this[_0x3e49fd(0x302)](_0x91feb6)),this[_0x3e49fd(0x3d0)]=[];}[_0x145278(0x302)](_0x2ea48b){const _0x453732=_0x145278,_0x26c8ec=this[_0x453732(0x3cc)][_0x453732(0x120)]['fetchThroughInterceptors'](this[_0x453732(0x3cc)][_0x453732(0x120)][_0x453732(0x398)]()[_0x453732(0x2af)])(_0x2ea48b['mutations'],null)||_0x2ea48b[_0x453732(0x4ad)],_0x4b0a12={..._0x2ea48b,'mutations':_0x26c8ec};this[_0x453732(0x463)](),this['_updateState'](this['_state'][_0x453732(0x279)](_0x4b0a12)),this[_0x453732(0x17b)]();}[_0x145278(0x11e)](_0x3beb03){const _0x570636=_0x145278;this[_0x570636(0x463)](),this[_0x570636(0x2df)](this[_0x570636(0x44a)][_0x570636(0x488)](_0x3beb03)),this[_0x570636(0x17b)]();}[_0x145278(0x23a)](_0x1c518d){const _0xdc4709=_0x145278;this['_lockTransition'](),this[_0xdc4709(0x2df)](this['_state'][_0xdc4709(0x494)](_0x1c518d)),this[_0xdc4709(0x17b)]();}[_0x145278(0x366)](_0x12afbf){const _0x551f07=_0x145278;this['_lockTransition'](),this[_0x551f07(0x2df)](this[_0x551f07(0x44a)][_0x551f07(0x4d6)](_0x12afbf)),this[_0x551f07(0x17b)]();}[_0x145278(0x43e)](_0x38d486){const _0x4ee233=_0x145278;if(!(this[_0x4ee233(0x44a)]instanceof _0x26d3fa))throw new TypeError(_0x4ee233(0x13a));const _0x5e67ba=_0x38d486[_0x4ee233(0x15d)](_0x205007=>{const _0x11c442=_0x4ee233,_0x38d82e=this['_compressMutationService'][_0x11c442(0x120)]['fetchThroughInterceptors'](this[_0x11c442(0x3cc)][_0x11c442(0x120)]['getInterceptPoints']()[_0x11c442(0x2af)])(_0x205007[_0x11c442(0x4ad)],null)||_0x205007[_0x11c442(0x4ad)];return{..._0x205007,'mutations':_0x38d82e};});this[_0x4ee233(0x463)](),this[_0x4ee233(0x2df)](this[_0x4ee233(0x44a)][_0x4ee233(0x172)](_0x5e67ba)),this[_0x4ee233(0x17b)]();}[_0x145278(0x408)](){const _0x390673=_0x145278;this[_0x390673(0x463)](),this['_updateState'](this[_0x390673(0x44a)][_0x390673(0x423)]()),this['_unlockTransition']();}[_0x145278(0x23c)](_0x1d251d=!0x1){const _0x1afbd8=_0x145278;this[_0x1afbd8(0x463)](),this[_0x1afbd8(0x2df)](this[_0x1afbd8(0x44a)][_0x1afbd8(0x39b)]()),this[_0x1afbd8(0x17b)]();const _0x2e0c9c=this['_state'];_0x1d251d&&_0x2e0c9c instanceof _0x11f110&&(this[_0x1afbd8(0x463)](),this['_updateState'](_0x2e0c9c['fetchMiss']()),this[_0x1afbd8(0x17b)]());}async['_createInitialState'](){return new Promise(_0x51ba87=>{const _0x547425=_0x2aa9;this[_0x547425(0x3ff)][_0x547425(0x1ad)]['pipe'](_0x1e13bb[_0x547425(0x348)](0x1))[_0x547425(0x38f)](async _0x304852=>{const _0x50e09b=_0x547425;_0x51ba87(await this[_0x50e09b(0x2a2)](_0x304852===_0x3ee00b[_0x50e09b(0x4a3)]));});});}[_0x145278(0x1b3)](){const _0x235493=_0x145278,_0x2be932=this[_0x235493(0x240)];return{'onStateChange':(_0xeeadee,_0x45d24e)=>{const _0x2e52b5=_0x235493;if(_0xeeadee!==this[_0x2e52b5(0x44a)])throw new Error(_0x2e52b5(0x2e5)+_0xeeadee[_0x2e52b5(0x465)]+_0x2e52b5(0x484)+_0x45d24e['status']+_0x2e52b5(0x337)+this[_0x2e52b5(0x44a)][_0x2e52b5(0x465)]);this[_0x2e52b5(0x2df)](_0x45d24e);},'onSendChangeset':_0x48d8b7=>{const _0x255c2b=_0x235493;_0x48d8b7[_0x255c2b(0x29b)]||(_0x48d8b7[_0x255c2b(0x29b)]=this['_changesetSessionId'],_0x48d8b7['reqId']=++this[_0x255c2b(0x3ad)]);const _0x1b30fd={'eventID':_0x54555c[_0x255c2b(0x547)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x48d8b7[_0x255c2b(0x240)],'unitType':this[_0x255c2b(0x341)],'changeset':_0x48d8b7,'memberID':this[_0x255c2b(0x3ff)][_0x255c2b(0x315)]()}};this[_0x255c2b(0x3ff)][_0x255c2b(0x3e7)](_0x1b30fd,this[_0x255c2b(0x240)]);},'onMissingChangesets':({from:_0x5ebc7a,to:_0x14e057})=>{const _0x1e7c74=_0x235493;this[_0x1e7c74(0x385)][_0x1e7c74(0x3e3)]('[CollaborationEntity]',_0x1e7c74(0x394)+_0x5ebc7a+'\x20to\x20'+_0x14e057);const _0xae78c8={'eventID':_0x54555c['CollaborationEvent'][_0x1e7c74(0x4df)],'data':{'unitID':_0x2be932,'unitType':this['_type'],'from':_0x5ebc7a,'to':_0x14e057}};this[_0x1e7c74(0x3ff)][_0x1e7c74(0x3e7)](_0xae78c8,this[_0x1e7c74(0x240)]);}};}async['_createInitialStateImpl'](_0x5a3065){const _0x6f7d82=_0x145278;var _0x486379,_0x3fe825;const _0x52e45e=await this[_0x6f7d82(0x3fb)]['loadOfflineData'](this[_0x6f7d82(0x240)]),_0x16ae46=(_0x486379=_0x52e45e==null?void 0x0:_0x52e45e['mutations'])!=null?_0x486379:[],_0x367730=(_0x3fe825=_0x52e45e==null?void 0x0:_0x52e45e[_0x6f7d82(0x409)])!=null?_0x3fe825:null,_0x28178f=!!(_0x367730!=null&&_0x367730[_0x6f7d82(0x29b)])&&!!(_0x367730!=null&&_0x367730[_0x6f7d82(0x48d)]);this[_0x6f7d82(0x324)]=_0x28178f?_0x367730[_0x6f7d82(0x29b)]:_0x39e230(),this[_0x6f7d82(0x3ad)]=_0x28178f?_0x367730['reqId']:0x0;const _0x2751f4=this[_0x6f7d82(0x240)];try{this[_0x6f7d82(0x381)](_0x367730,_0x16ae46);}catch(_0x224503){this['_logService'][_0x6f7d82(0x4aa)](_0x224503);}const _0x415e36=this[_0x6f7d82(0x1b3)]();if(_0x5a3065){const _0x5b253d=_0x208b9a(this['_injector'],_0x2751f4,this[_0x6f7d82(0x341)],_0x367730,_0x16ae46,_0x415e36);return _0x5b253d instanceof _0xf500fc?_0x5b253d[_0x6f7d82(0x174)]():(_0x5b253d instanceof _0x4101e6||_0x5b253d instanceof _0x238e5e)&&_0x5b253d['resend'](),_0x5b253d;}return this[_0x6f7d82(0x22d)]['createInstance'](_0x216080,_0x2751f4,this[_0x6f7d82(0x341)],_0x367730,_0x16ae46,_0x415e36);}[_0x145278(0x381)](_0x309a0c,_0x4a62ab){const _0x5c48e5=_0x145278;var _0x149510,_0x2e5517;const _0x220319=this[_0x5c48e5(0x3cc)][_0x5c48e5(0x120)][_0x5c48e5(0x2c5)](this[_0x5c48e5(0x3cc)][_0x5c48e5(0x120)][_0x5c48e5(0x398)]()[_0x5c48e5(0x2af)]);(_0x149510=_0x220319((_0x309a0c==null?void 0x0:_0x309a0c['mutations'])||[],null))==null||_0x149510[_0x5c48e5(0x256)](_0x5ab100=>this[_0x5c48e5(0x375)]['executeCommand'](_0x5ab100['id'],_0x5ab100[_0x5c48e5(0x23d)])),(_0x2e5517=_0x220319(_0x4a62ab||[],null))==null||_0x2e5517[_0x5c48e5(0x256)](_0x982e9b=>this[_0x5c48e5(0x375)]['executeCommand'](_0x982e9b['id'],_0x982e9b[_0x5c48e5(0x23d)]));}},_0x3b531e[_0x145278(0x122)]=_0x310d48([_0x4e1934(0x3,_0x349f19['Inject'](_0x349f19[_0x145278(0x3b7)])),_0x4e1934(0x4,_0x349f19['Inject'](_0x3b531e[_0x145278(0x30a)])),_0x4e1934(0x5,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x1e5)])),_0x4e1934(0x6,_0x349f19[_0x145278(0x413)](_0x349f19['LocaleService'])),_0x4e1934(0x7,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x387)])),_0x4e1934(0x8,_0x349f19[_0x145278(0x1e7)]),_0x4e1934(0x9,_0x349f19['ICommandService']),_0x4e1934(0xa,_0x5b624f[_0x145278(0x434)]),_0x4e1934(0xb,_0x349f19[_0x145278(0x4ec)]),_0x4e1934(0xc,_0x349f19[_0x145278(0x4f6)](_0x2d00f5))],_0x3b531e[_0x145278(0x122)]),_0x3b531e['DocCollaborationEntity']=class extends _0x3b531e[_0x145278(0x122)]{constructor(_0x5eb493,_0x1a6bc5,_0x165d88,_0x535a3c,_0x5cf10c,_0x1b7510,_0x3ecf52,_0x4d836c,_0x579f7a,_0x782fdf,_0x2c99c1,_0x2bb2f9,_0x5143b3,_0x26d027,_0x3509b4,_0x29bc40,_0x504b39){const _0x4b4436=_0x145278;super(_0x5eb493,_0x165d88,_0x1a6bc5,_0x535a3c,_0x5cf10c,_0x1b7510,_0x3ecf52,_0x4d836c,_0x5143b3,_0x26d027,_0x3509b4,_0x29bc40,_0x504b39),this[_0x4b4436(0x240)]=_0x5eb493,this[_0x4b4436(0x389)]=_0x1a6bc5,this[_0x4b4436(0x361)]=_0x579f7a,this['_docTransformIMECacheService']=_0x782fdf,this[_0x4b4436(0x44b)]=_0x2c99c1,this['_docSyncEditingCollabCursorService']=_0x2bb2f9;}[_0x145278(0x1b3)](){const _0x50e1bb=_0x145278,_0x28df08=super['_createHandler']();return _0x28df08[_0x50e1bb(0x45f)]=_0x506272=>this['_docTransformIMECacheService'][_0x50e1bb(0x51d)](_0x506272),_0x28df08[_0x50e1bb(0x41f)]=_0x486476=>this['_docTransformSelectionsService'][_0x50e1bb(0x3cb)](_0x486476),_0x28df08[_0x50e1bb(0x13d)]=_0x3db60c=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x3db60c),_0x28df08['onTransformRemoteChangesetByIMECache']=_0x20b139=>this[_0x50e1bb(0x118)]['transformRemoteChangeset'](_0x20b139),_0x28df08;}async[_0x145278(0x35a)](){const _0x100bb6=_0x145278,_0x16a5ab=await super[_0x100bb6(0x35a)]();return this[_0x100bb6(0x361)][_0x100bb6(0x461)][_0x100bb6(0x3f1)](_0x1e13bb['takeUntil'](this[_0x100bb6(0x115)]))['subscribe'](_0x86ac8f=>{const _0x46b7ed=_0x100bb6;if(_0x86ac8f==null)return;const {unitId:_0x14e9e4,redoState:_0x5d75ca,commandId:_0x288714}=_0x86ac8f;if(_0x14e9e4!==this[_0x46b7ed(0x240)])return;const _0x54a3cb={'id':_0x288714,'type':_0x349f19[_0x46b7ed(0x39f)][_0x46b7ed(0x192)],'params':{'unitId':_0x14e9e4,'actions':_0x5d75ca[_0x46b7ed(0x141)],'textRanges':null}};this[_0x46b7ed(0x2d4)](_0x54a3cb);}),_0x16a5ab;}},_0x3b531e[_0x145278(0x3ac)]=_0x310d48([_0x4e1934(0x3,_0x349f19['Inject'](_0x349f19[_0x145278(0x3b7)])),_0x4e1934(0x4,_0x349f19[_0x145278(0x413)](_0x3b531e['LocalCacheService'])),_0x4e1934(0x5,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x1e5)])),_0x4e1934(0x6,_0x349f19['Inject'](_0x349f19[_0x145278(0x267)])),_0x4e1934(0x7,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x387)])),_0x4e1934(0x8,_0x349f19['Inject'](_0x3c060b[_0x145278(0x45c)])),_0x4e1934(0x9,_0x349f19[_0x145278(0x413)](_0x55e610)),_0x4e1934(0xa,_0x349f19[_0x145278(0x413)](_0x697163)),_0x4e1934(0xb,_0x349f19['Inject'](_0x2f089c)),_0x4e1934(0xc,_0x349f19['ILogService']),_0x4e1934(0xd,_0x349f19['ICommandService']),_0x4e1934(0xe,_0x5b624f[_0x145278(0x434)]),_0x4e1934(0xf,_0x349f19['IPermissionService']),_0x4e1934(0x10,_0x349f19['Optional'](_0x2d00f5))],_0x3b531e['DocCollaborationEntity']),_0x3b531e[_0x145278(0x3e0)]=class extends _0x3b531e['CollaborationEntity']{constructor(_0x3d5dc4,_0x35e025,_0x421afd,_0x2f922a,_0x487db1,_0x918ea1,_0xc51109,_0x3be816,_0x3624d5,_0x369458,_0x26419b,_0x3a5f23,_0xec1de0,_0x74997c){const _0x1c8e4a=_0x145278;super(_0x3d5dc4,_0x421afd,_0x35e025,_0x2f922a,_0x487db1,_0x918ea1,_0xc51109,_0x3be816,_0x369458,_0x26419b,_0x3a5f23,_0xec1de0,_0x74997c),this[_0x1c8e4a(0x240)]=_0x3d5dc4,this[_0x1c8e4a(0x389)]=_0x35e025,this['_sheetTransformSelectionsService']=_0x3624d5;}[_0x145278(0x1b3)](){const _0x5f4fbe=_0x145278,_0x4235ff=super['_createHandler']();return _0x4235ff[_0x5f4fbe(0x41f)]=_0x427c4d=>this[_0x5f4fbe(0x365)][_0x5f4fbe(0x3cb)](_0x427c4d),_0x4235ff;}async[_0x145278(0x35a)](){const _0x2d0ec1=_0x145278,_0x449738=await super[_0x2d0ec1(0x35a)]();return this[_0x2d0ec1(0x1e3)](this[_0x2d0ec1(0x375)][_0x2d0ec1(0x1f6)]((_0x3370e1,_0x3fef7b)=>{const _0x583c85=_0x2d0ec1;if(_0x3370e1[_0x583c85(0x389)]!==_0x349f19[_0x583c85(0x39f)]['MUTATION']||_0x3fef7b!=null&&_0x3fef7b['fromCollab']||_0x3fef7b!=null&&_0x3fef7b[_0x583c85(0x1b6)])return;const _0x396d4c=_0x3370e1[_0x583c85(0x23d)];if((_0x396d4c==null?void 0x0:_0x396d4c['unitId'])!==this[_0x583c85(0x240)])return;const _0x5a0f5d=_0x3370e1,_0x4be6fb=this[_0x583c85(0x3cc)][_0x583c85(0x120)][_0x583c85(0x2c5)](this['_compressMutationService'][_0x583c85(0x120)]['getInterceptPoints']()[_0x583c85(0x15c)])([_0x5a0f5d],null)||[_0x5a0f5d];this['_onLocalMutation'](_0x4be6fb[0x0]);})),_0x449738;}},_0x3b531e[_0x145278(0x3e0)]=_0x310d48([_0x4e1934(0x3,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x4e1934(0x4,_0x349f19[_0x145278(0x413)](_0x3b531e['LocalCacheService'])),_0x4e1934(0x5,_0x349f19['Inject'](_0x54555c[_0x145278(0x1e5)])),_0x4e1934(0x6,_0x349f19['Inject'](_0x349f19[_0x145278(0x267)])),_0x4e1934(0x7,_0x349f19[_0x145278(0x413)](_0x54555c[_0x145278(0x387)])),_0x4e1934(0x8,_0x349f19[_0x145278(0x413)](_0x370f64)),_0x4e1934(0x9,_0x349f19[_0x145278(0x1e7)]),_0x4e1934(0xa,_0x349f19[_0x145278(0x36e)]),_0x4e1934(0xb,_0x5b624f[_0x145278(0x434)]),_0x4e1934(0xc,_0x349f19[_0x145278(0x4ec)]),_0x4e1934(0xd,_0x349f19[_0x145278(0x4f6)](_0x2d00f5))],_0x3b531e[_0x145278(0x3e0)]);var _0x1f7531=Object['defineProperty'],_0x296e4f=Object[_0x145278(0x16d)],_0x4cb21c=(_0x52826e,_0x250b17,_0x56ef54,_0x5120f2)=>{const _0x407672=_0x145278;for(var _0x53adbe=_0x5120f2>0x1?void 0x0:_0x5120f2?_0x296e4f(_0x250b17,_0x56ef54):_0x250b17,_0x1e5f98=_0x52826e[_0x407672(0x37e)]-0x1,_0x37432d;_0x1e5f98>=0x0;_0x1e5f98--)(_0x37432d=_0x52826e[_0x1e5f98])&&(_0x53adbe=(_0x5120f2?_0x37432d(_0x250b17,_0x56ef54,_0x53adbe):_0x37432d(_0x53adbe))||_0x53adbe);return _0x5120f2&&_0x53adbe&&_0x1f7531(_0x250b17,_0x56ef54,_0x53adbe),_0x53adbe;},_0x19c9f7=(_0x2b5b6a,_0xf59f5)=>(_0x48110d,_0x5d254f)=>_0xf59f5(_0x48110d,_0x5d254f,_0x2b5b6a);_0x3b531e['CollaborationController']=class extends _0x349f19['RxDisposable']{constructor(_0x46d340,_0x251b8b,_0x1cf86b){const _0x21cccd=_0x145278;super(),_0xbb867(this,_0x21cccd(0x331),new Map()),_0xbb867(this,'_entityInit$',new _0x1e13bb['Subject']()),(this[_0x21cccd(0x22d)]=_0x46d340,this['_collabSessionService']=_0x251b8b,this[_0x21cccd(0x31f)]=_0x1cf86b,this[_0x21cccd(0x35a)]());}[_0x145278(0x4c1)](){const _0x5620f3=_0x145278;super[_0x5620f3(0x4c1)](),this[_0x5620f3(0x331)][_0x5620f3(0x256)](_0x470cc4=>_0x470cc4[_0x5620f3(0x4c1)]()),this['_entities'][_0x5620f3(0x19f)]();}[_0x145278(0x33d)](_0x4f1edb){const _0x15ed7e=_0x145278;var _0x26b606;return(_0x26b606=this[_0x15ed7e(0x331)][_0x15ed7e(0x4b6)](_0x4f1edb))!=null?_0x26b606:null;}[_0x145278(0x380)](_0x4a5f57){const _0x1dbeb6=_0x145278,_0x2b3414=this[_0x1dbeb6(0x33d)](_0x4a5f57);return _0x2b3414?_0x1e13bb['of'](_0x2b3414):this['_entityInit$'][_0x1dbeb6(0x3f1)](_0x501e2e[_0x1dbeb6(0x257)](_0x3d3c76=>_0x3d3c76[_0x1dbeb6(0x240)]===_0x4a5f57));}['_init'](){const _0x4c5b48=_0x145278;this[_0x4c5b48(0x31f)][_0x4c5b48(0x393)](_0x349f19[_0x4c5b48(0x426)]['UNIVER_SHEET'])[_0x4c5b48(0x3f1)](_0x1e13bb['takeUntil'](this[_0x4c5b48(0x115)]),_0x501e2e[_0x4c5b48(0x171)](0x10))['subscribe'](async _0x5291e1=>{const _0x5b1dbf=_0x4c5b48,_0xa73d94=_0x5291e1[_0x5b1dbf(0x453)](),_0x42ae9c=await this[_0x5b1dbf(0x19b)](_0xa73d94,_0x5b5eaf[_0x5b1dbf(0x431)]);this[_0x5b1dbf(0x331)][_0x5b1dbf(0x253)](_0xa73d94,_0x42ae9c);}),this[_0x4c5b48(0x31f)][_0x4c5b48(0x393)](_0x349f19[_0x4c5b48(0x426)][_0x4c5b48(0x22e)])[_0x4c5b48(0x3f1)](_0x1e13bb[_0x4c5b48(0x1bc)](this[_0x4c5b48(0x115)]),_0x501e2e[_0x4c5b48(0x171)](0x10))[_0x4c5b48(0x3f1)](_0x501e2e[_0x4c5b48(0x257)](_0x276ca3=>!_0x276ca3[_0x4c5b48(0x453)]()['startsWith']('__')))['subscribe'](async _0x551404=>{const _0x26785a=_0x4c5b48,_0x4e709c=_0x551404['getUnitId'](),_0x134ee1=await this['_startCollaboration'](_0x4e709c,_0x5b5eaf[_0x26785a(0x22e)]);this[_0x26785a(0x331)][_0x26785a(0x253)](_0x4e709c,_0x134ee1);}),_0x1e13bb[_0x4c5b48(0x1a2)](this['_univerInstanceService'][_0x4c5b48(0x1a1)](_0x349f19[_0x4c5b48(0x426)]['UNIVER_SHEET']),this[_0x4c5b48(0x31f)][_0x4c5b48(0x1a1)](_0x349f19[_0x4c5b48(0x426)][_0x4c5b48(0x22e)]))[_0x4c5b48(0x3f1)](_0x1e13bb['takeUntil'](this[_0x4c5b48(0x115)]))['subscribe'](_0x35c341=>{const _0x18b1d2=_0x4c5b48,_0x31b19a=_0x35c341[_0x18b1d2(0x453)](),_0x4cbc44=this['_entities']['get'](_0x31b19a);_0x4cbc44&&(_0x4cbc44[_0x18b1d2(0x4c1)](),this[_0x18b1d2(0x331)]['delete'](_0x31b19a));});}async[_0x145278(0x19b)](_0x5c4522,_0x460b91){const _0x1b445b=_0x145278,_0xc6e9b=await this[_0x1b445b(0x502)]['requireSession'](_0x5c4522),_0x3901c=this[_0x1b445b(0x22d)][_0x1b445b(0x556)](this[_0x1b445b(0x3e5)](_0x460b91),_0x5c4522,_0x460b91,_0xc6e9b);return await _0x3901c[_0x1b445b(0x46c)](),this[_0x1b445b(0x529)][_0x1b445b(0x155)](_0x3901c),_0x3901c;}[_0x145278(0x3e5)](_0x1fe059){const _0x12a12f=_0x145278;switch(_0x1fe059){case _0x5b5eaf[_0x12a12f(0x22e)]:return _0x3b531e[_0x12a12f(0x3ac)];case _0x5b5eaf[_0x12a12f(0x431)]:return _0x3b531e['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1fe059);}}},_0x3b531e[_0x145278(0x446)]=_0x4cb21c([_0x19c9f7(0x0,_0x349f19[_0x145278(0x413)](_0x349f19['Injector'])),_0x19c9f7(0x1,_0x349f19[_0x145278(0x413)](_0x3b531e[_0x145278(0x21f)])),_0x19c9f7(0x2,_0x349f19['IUniverInstanceService'])],_0x3b531e[_0x145278(0x446)]);const _0x3ef227=['purple300',_0x145278(0x384),'verdancy600',_0x145278(0x4fa),_0x145278(0x11a),'gold400'];class _0x477f1a extends _0x349f19[_0x145278(0x1a4)]{constructor(){const _0x19ea51=_0x145278;super(...arguments),_0xbb867(this,_0x19ea51(0x18b),new Map()),_0xbb867(this,_0x19ea51(0x509),0x0);}['assignAColorForMemberID'](_0x27c711){const _0x5c0469=_0x145278;if(this[_0x5c0469(0x18b)][_0x5c0469(0x2e6)](_0x27c711))return this[_0x5c0469(0x18b)][_0x5c0469(0x4b6)](_0x27c711);const _0xde7fe9=_0x3ef227[this[_0x5c0469(0x509)]];return this[_0x5c0469(0x509)]=(this[_0x5c0469(0x509)]+0x1)%_0x3ef227[_0x5c0469(0x37e)],this[_0x5c0469(0x18b)][_0x5c0469(0x253)](_0x27c711,_0xde7fe9),_0xde7fe9;}}var _0x5a5de0=Object[_0x145278(0x507)],_0x243fb1=Object[_0x145278(0x16d)],_0x10fc09=(_0x1d4d0e,_0x5efc5c,_0x27b2f0,_0x223313)=>{const _0xf79950=_0x145278;for(var _0x44a3e6=_0x223313>0x1?void 0x0:_0x223313?_0x243fb1(_0x5efc5c,_0x27b2f0):_0x5efc5c,_0x36974a=_0x1d4d0e[_0xf79950(0x37e)]-0x1,_0x621e23;_0x36974a>=0x0;_0x36974a--)(_0x621e23=_0x1d4d0e[_0x36974a])&&(_0x44a3e6=(_0x223313?_0x621e23(_0x5efc5c,_0x27b2f0,_0x44a3e6):_0x621e23(_0x44a3e6))||_0x44a3e6);return _0x223313&&_0x44a3e6&&_0x5a5de0(_0x5efc5c,_0x27b2f0,_0x44a3e6),_0x44a3e6;},_0x21f9d8=(_0x277323,_0x5c1c55)=>(_0x131ef6,_0x2391f6)=>_0x5c1c55(_0x131ef6,_0x2391f6,_0x277323);const _0xcaf064=0x12c,_0x53ea14=0x64;let _0x915072=class extends _0x349f19['RxDisposable']{constructor(_0x584d45,_0x47d8c6,_0x175adf,_0x58711a,_0x425629,_0x58aa56,_0x4bd409,_0x400125,_0x58b309){const _0x8bb5cd=_0x145278;super(),_0xbb867(this,_0x8bb5cd(0x2e9),!0x1),_0xbb867(this,_0x8bb5cd(0x35a),!0x1),_0xbb867(this,'_cursorInfo$',new _0x1e13bb[(_0x8bb5cd(0x40f))](new Map())),_0xbb867(this,_0x8bb5cd(0x51f),this['_cursorInfo$'][_0x8bb5cd(0x4de)]()),_0xbb867(this,_0x8bb5cd(0x14e),new _0x1e13bb['BehaviorSubject']([])),_0xbb867(this,_0x8bb5cd(0x27a),this[_0x8bb5cd(0x14e)][_0x8bb5cd(0x3f1)](_0x1e13bb['debounceTime'](_0xcaf064))),_0xbb867(this,'_updateLocalCursor',_0x349f19[_0x8bb5cd(0x3ef)](_0x4a2e49=>{const _0x5069a9=_0x8bb5cd,_0x3dd7af={'eventID':_0x54555c['CollaborationEvent'][_0x5069a9(0x31e)],'data':{'unitID':this[_0x5069a9(0x240)],'memberID':this[_0x5069a9(0x1ab)][_0x5069a9(0x315)](),'selection':_0x5d4f5d(_0x4a2e49)}};this[_0x5069a9(0x1ab)][_0x5069a9(0x3e7)](_0x3dd7af,this['unitID']);},_0x53ea14)),(this[_0x8bb5cd(0x240)]=_0x584d45,this[_0x8bb5cd(0x1ab)]=_0x47d8c6,this[_0x8bb5cd(0x22d)]=_0x175adf,this[_0x8bb5cd(0x539)]=_0x58711a,this[_0x8bb5cd(0x474)]=_0x425629,this[_0x8bb5cd(0x41e)]=_0x58aa56,this[_0x8bb5cd(0x28a)]=_0x4bd409,this[_0x8bb5cd(0x31f)]=_0x400125,this[_0x8bb5cd(0x375)]=_0x58b309);}get[_0x145278(0x26f)](){const _0x5546e9=_0x145278;return this['_cursorInfo$'][_0x5546e9(0x46a)]();}get['roomMembers'](){const _0x5f4698=_0x145278;return this[_0x5f4698(0x14e)][_0x5f4698(0x46a)]();}['dispose'](){const _0x1a7bfc=_0x145278;super[_0x1a7bfc(0x4c1)](),this[_0x1a7bfc(0x270)][_0x1a7bfc(0x155)](new Map()),this[_0x1a7bfc(0x270)]['complete'](),this[_0x1a7bfc(0x14e)][_0x1a7bfc(0x155)]([]),this[_0x1a7bfc(0x14e)][_0x1a7bfc(0x2f9)]();}['init'](){const _0x25b58f=_0x145278;this['_init']||(this[_0x25b58f(0x35a)]=!0x0,this[_0x25b58f(0x1ab)][_0x25b58f(0x1ad)][_0x25b58f(0x3f1)](_0x1e13bb[_0x25b58f(0x1bc)](this[_0x25b58f(0x115)]))['subscribe'](_0x1495d0=>{const _0x7f538c=_0x25b58f;_0x1495d0===_0x3ee00b['ONLINE']?this[_0x7f538c(0x23c)]():this[_0x7f538c(0x408)]();}),this[_0x25b58f(0x1ab)][_0x25b58f(0x403)][_0x25b58f(0x3f1)](_0x1e13bb['takeUntil'](this[_0x25b58f(0x115)]))[_0x25b58f(0x38f)](_0x3a8644=>{const _0xd1a494=_0x25b58f,_0x39edb3=_0x3a8644[_0xd1a494(0x1c0)];_0x39edb3===_0x54555c[_0xd1a494(0x547)][_0xd1a494(0x31e)]&&this[_0xd1a494(0x2ec)](_0x3a8644),_0x39edb3===_0x54555c['CollaborationEvent'][_0xd1a494(0x28b)]&&this['_onCursorDelete'](_0x3a8644);}),this['disposeWithMe'](this['_commandService'][_0x25b58f(0x1f6)](_0x3b8f61=>{const _0x57e9c1=_0x25b58f,_0x3982fa=_0x3b8f61[_0x57e9c1(0x23d)];_0x3982fa!=null&&this[_0x57e9c1(0x2e9)]&&_0x3b8f61['id']===_0x9fa27b[_0x57e9c1(0x3cf)]['id']&&_0x3982fa[_0x57e9c1(0x126)]===this[_0x57e9c1(0x240)]&&_0x3982fa[_0x57e9c1(0x44c)]===!0x1&&this[_0x57e9c1(0x48f)](_0x3982fa[_0x57e9c1(0x3cd)]);})),this[_0x25b58f(0x41e)][_0x25b58f(0x12e)][_0x25b58f(0x3f1)](_0x1e13bb[_0x25b58f(0x1bc)](this[_0x25b58f(0x115)]))[_0x25b58f(0x38f)](_0x540e0e=>{const _0x44df63=_0x25b58f;if((_0x540e0e==null?void 0x0:_0x540e0e[_0x44df63(0x240)])!==this['unitID'])return;const _0xf1813e={'eventID':_0x54555c['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x540e0e};this[_0x44df63(0x2ec)](_0xf1813e);}),this[_0x25b58f(0x1e3)](this[_0x25b58f(0x375)][_0x25b58f(0x1f6)](_0xf55a37=>{const _0x590c8b=_0x25b58f;if(_0xf55a37['params']==null)return;const _0x5b9fb1=_0xf55a37['params'];if(_0xf55a37['id']!==_0x9fa27b[_0x590c8b(0x50b)]['id']||_0x5b9fb1[_0x590c8b(0x126)]!==this[_0x590c8b(0x240)])return;const _0x4c2b56={'id':_0x590c8b(0x4cd),'params':_0x5b9fb1},_0x219fd2=this['cursorInfo'];for(const [_0x2eb8ad,_0x49ab50]of _0x219fd2){const _0x15c710={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x590c8b(0x240)],'actions':null,'textRanges':_0x49ab50[_0x590c8b(0x3cd)]}},_0x3b2311=this['_transformService']['transformMutation'](_0x4c2b56,_0x15c710,!0x1);if(_0x54555c['isTransformMutationFailure'](_0x3b2311))throw _0x3b2311['error'];_0x219fd2[_0x590c8b(0x253)](_0x2eb8ad,{..._0x49ab50,'ranges':_0x3b2311['m2Prime']['params'][_0x590c8b(0x433)]});}queueMicrotask(()=>{const _0x3a3438=_0x590c8b;this['_cursorInfo$'][_0x3a3438(0x155)](_0x219fd2);});})));}['_onCursorUpdate'](_0x6f719a){const _0x1558d6=_0x145278;var _0x1a948d,_0x57d25f;const {memberID:_0x2c9552,selection:_0x3c0312}=_0x6f719a[_0x1558d6(0x2d2)],_0x161147=_0x19266e(_0x3c0312),_0x3ea341=(_0x57d25f=(_0x1a948d=this[_0x1558d6(0x474)][_0x1558d6(0x26a)](this[_0x1558d6(0x240)],_0x2c9552))==null?void 0x0:_0x1a948d[_0x1558d6(0x51c)])!=null?_0x57d25f:_0x1558d6(0x2ee),_0x459c1b={'color':this[_0x1558d6(0x539)][_0x1558d6(0x2f7)](_0x2c9552),'name':_0x3ea341,'ranges':_0x161147},_0x117d5d=this[_0x1558d6(0x26f)];_0x117d5d['set'](_0x2c9552,_0x459c1b),this[_0x1558d6(0x270)][_0x1558d6(0x155)](_0x117d5d);}[_0x145278(0x2b5)](_0x20d625){const _0x4653e9=_0x145278,{memberID:_0x12945d}=_0x20d625['data'],_0x9679b2=this[_0x4653e9(0x26f)];_0x9679b2[_0x4653e9(0x4f4)](_0x12945d),this[_0x4653e9(0x270)][_0x4653e9(0x155)](_0x9679b2);}[_0x145278(0x23c)](){const _0x4f74a0=_0x145278;var _0x684b4b;if(this['_online']=!0x0,((_0x684b4b=this[_0x4f74a0(0x31f)][_0x4f74a0(0x2da)]())==null?void 0x0:_0x684b4b[_0x4f74a0(0x453)]())!==this[_0x4f74a0(0x240)])return;const _0x3e8a94=this['_injector'][_0x4f74a0(0x4b6)](_0x9fa27b[_0x4f74a0(0x113)])[_0x4f74a0(0x545)]();Array[_0x4f74a0(0x1c9)](_0x3e8a94)&&_0x3e8a94[_0x4f74a0(0x37e)]>0x0&&this[_0x4f74a0(0x48f)](_0x3e8a94);}[_0x145278(0x408)](){const _0x33d34b=_0x145278;this[_0x33d34b(0x2e9)]=!0x1;}};_0x915072=_0x10fc09([_0x21f9d8(0x2,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x21f9d8(0x3,_0x349f19['Inject'](_0x477f1a)),_0x21f9d8(0x4,_0x349f19[_0x145278(0x413)](_0x5a9e0d)),_0x21f9d8(0x5,_0x349f19[_0x145278(0x413)](_0x2f089c)),_0x21f9d8(0x6,_0x54555c[_0x145278(0x42a)]),_0x21f9d8(0x7,_0x349f19[_0x145278(0x501)]),_0x21f9d8(0x8,_0x349f19[_0x145278(0x36e)])],_0x915072);var _0x334c33=Object[_0x145278(0x507)],_0x51cc95=Object[_0x145278(0x16d)],_0x388b61=(_0xb73f8,_0x2c0e5c,_0x352b91,_0x8c74ed)=>{for(var _0x42c53e=_0x8c74ed>0x1?void 0x0:_0x8c74ed?_0x51cc95(_0x2c0e5c,_0x352b91):_0x2c0e5c,_0x132d85=_0xb73f8['length']-0x1,_0x124b2a;_0x132d85>=0x0;_0x132d85--)(_0x124b2a=_0xb73f8[_0x132d85])&&(_0x42c53e=(_0x8c74ed?_0x124b2a(_0x2c0e5c,_0x352b91,_0x42c53e):_0x124b2a(_0x42c53e))||_0x42c53e);return _0x8c74ed&&_0x42c53e&&_0x334c33(_0x2c0e5c,_0x352b91,_0x42c53e),_0x42c53e;},_0xe28271=(_0x53ca7f,_0xbf6584)=>(_0xda67d6,_0x38cd31)=>_0xbf6584(_0xda67d6,_0x38cd31,_0x53ca7f);const _0x25276e=0x12c,_0x13d872=0x64,_0x1d3f5d=()=>{let _0x4bf32b=[],_0x37112e=!0x1;return _0x2c8b38=>{const _0x392d0d=_0x2aa9;_0x4bf32b[_0x392d0d(0x276)](_0x2c8b38),_0x37112e||(_0x37112e=!0x0,setTimeout(()=>{_0x4bf32b['forEach'](_0x9f81fc=>_0x9f81fc()),_0x4bf32b=[],_0x37112e=!0x1;}));};};let _0x232fbb=class extends _0x349f19[_0x145278(0x4e9)]{constructor(_0x323506,_0x42bcbb,_0x148c09,_0x57a1df,_0x13ce4e,_0x3a3dad,_0xd46fa7,_0x2d96d2){const _0x213793=_0x145278;super(),_0xbb867(this,_0x213793(0x2e9),!0x1),_0xbb867(this,_0x213793(0x35a),!0x1),_0xbb867(this,'_cursorInfo$',new _0x1e13bb['BehaviorSubject'](new Map())),_0xbb867(this,_0x213793(0x51f),this[_0x213793(0x270)][_0x213793(0x4de)]()),_0xbb867(this,_0x213793(0x14e),new _0x1e13bb[(_0x213793(0x40f))]([])),_0xbb867(this,'roomMembers$',this[_0x213793(0x14e)]['pipe'](_0x1e13bb['debounceTime'](_0x25276e))),_0xbb867(this,_0x213793(0x48f),_0x349f19[_0x213793(0x3ef)]((_0x125b9c,_0x4549e2)=>{const _0x2aeb08=_0x213793,_0x4cb3ef={'eventID':_0x54555c[_0x2aeb08(0x547)][_0x2aeb08(0x31e)],'data':{'unitID':this[_0x2aeb08(0x240)],'memberID':this[_0x2aeb08(0x1ab)][_0x2aeb08(0x315)](),'selection':_0x2de305[_0x2aeb08(0x1a5)](_0x125b9c,_0x4549e2[_0x2aeb08(0x301)])}};this[_0x2aeb08(0x1ab)]['send'](_0x4cb3ef,this[_0x2aeb08(0x240)]);},_0x13d872)),(this['unitID']=_0x323506,this[_0x213793(0x1ab)]=_0x42bcbb,this['_injector']=_0x148c09,this['_colorAssignService']=_0x57a1df,this[_0x213793(0x474)]=_0x13ce4e,this[_0x213793(0x31f)]=_0x3a3dad,this[_0x213793(0x375)]=_0xd46fa7,this[_0x213793(0x129)]=_0x2d96d2);}get[_0x145278(0x26f)](){const _0x1db400=_0x145278;return this[_0x1db400(0x270)]['getValue']();}get[_0x145278(0x4d0)](){const _0x1d9d66=_0x145278;return this['_roomMembers$'][_0x1d9d66(0x46a)]();}[_0x145278(0x4c1)](){const _0x431092=_0x145278;super[_0x431092(0x4c1)](),this['_cursorInfo$'][_0x431092(0x155)](new Map()),this[_0x431092(0x270)][_0x431092(0x2f9)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x431092(0x2f9)]();}[_0x145278(0x46c)](){const _0x23872c=_0x145278;this[_0x23872c(0x35a)]||(this[_0x23872c(0x35a)]=!0x0,this[_0x23872c(0x1ab)]['sessionStatus$'][_0x23872c(0x3f1)](_0x1e13bb['takeUntil'](this[_0x23872c(0x115)]))[_0x23872c(0x38f)](_0x187bf0=>{const _0x3a3ea6=_0x23872c;_0x187bf0===_0x3ee00b['ONLINE']?this[_0x3a3ea6(0x23c)]():this[_0x3a3ea6(0x408)]();}),this[_0x23872c(0x1ab)][_0x23872c(0x403)][_0x23872c(0x3f1)](_0x1e13bb['takeUntil'](this[_0x23872c(0x115)]))[_0x23872c(0x38f)](_0x13f84f=>{const _0x3d67e8=_0x23872c,_0x14769f=_0x13f84f['eventID'];_0x14769f===_0x54555c[_0x3d67e8(0x547)][_0x3d67e8(0x31e)]&&this[_0x3d67e8(0x2ec)](_0x13f84f),_0x14769f===_0x54555c[_0x3d67e8(0x547)][_0x3d67e8(0x28b)]&&this[_0x3d67e8(0x2b5)](_0x13f84f);}),this[_0x23872c(0x2bf)](),this[_0x23872c(0x1e3)](this[_0x23872c(0x375)]['onCommandExecuted'](_0x1e844c=>{const _0x2bc8c6=_0x23872c;if(this[_0x2bc8c6(0x2e9)]&&_0x1e844c['id']===_0x4c7a32['SetSelectionsOperation']['id']&&_0x1e844c[_0x2bc8c6(0x23d)][_0x2bc8c6(0x126)]===this['unitID']){const _0x5f30aa=_0x1e844c[_0x2bc8c6(0x23d)];this['_updateLocalCursor'](_0x5f30aa[_0x2bc8c6(0x1f1)],_0x5f30aa[_0x2bc8c6(0x15a)][0x0]);}})));}[_0x145278(0x2ec)](_0x1ecd9a){const _0x15f6ac=_0x145278;var _0x3edb1f,_0x37e5d8;const {memberID:_0x357ddd,selection:_0x19466a}=_0x1ecd9a[_0x15f6ac(0x2d2)],{sheetName:_0x93ee6e,range:_0x1edb9f}=_0x2de305[_0x15f6ac(0x137)](_0x19466a),_0x2bff71={'name':(_0x37e5d8=(_0x3edb1f=this['_memberService'][_0x15f6ac(0x26a)](this[_0x15f6ac(0x240)],_0x357ddd))==null?void 0x0:_0x3edb1f['name'])!=null?_0x37e5d8:_0x15f6ac(0x2ee),'range':this[_0x15f6ac(0x241)](_0x93ee6e,_0x1edb9f),'sheetID':_0x93ee6e,'color':this[_0x15f6ac(0x539)][_0x15f6ac(0x2f7)](_0x357ddd),'selection':_0x19466a},_0x3c89d1=this[_0x15f6ac(0x26f)];_0x3c89d1['set'](_0x357ddd,_0x2bff71),this[_0x15f6ac(0x270)][_0x15f6ac(0x155)](_0x3c89d1);}[_0x145278(0x2b5)](_0x4225ad){const _0x13379d=_0x145278,{memberID:_0x58aa24}=_0x4225ad[_0x13379d(0x2d2)],_0x145b58=this[_0x13379d(0x26f)];_0x145b58[_0x13379d(0x4f4)](_0x58aa24),this[_0x13379d(0x270)][_0x13379d(0x155)](_0x145b58);}[_0x145278(0x241)](_0x1fb1e2,_0x365314){const _0x4bef5c=_0x145278;var _0x4b211c,_0x8ebdb6;const _0xb1491b=(_0x8ebdb6=(_0x4b211c=this[_0x4bef5c(0x31f)][_0x4bef5c(0x146)](this[_0x4bef5c(0x240)]))==null?void 0x0:_0x4b211c[_0x4bef5c(0x353)](_0x1fb1e2))==null?void 0x0:_0x8ebdb6['getMergeData']();return(_0xb1491b==null?void 0x0:_0xb1491b[_0x4bef5c(0x373)](_0x346ca7=>_0x349f19['Rectangle'][_0x4bef5c(0x1fb)](_0x346ca7,_0x365314)))||_0x365314;}[_0x145278(0x2bf)](){const _0x226bfb=_0x145278,_0x69cd79=new _0x349f19[(_0x226bfb(0x2ac))](),_0x1c3aa1=_0x1d3f5d(),_0x317ebc=()=>{const _0x5a77d9=_0x226bfb;_0x69cd79[_0x5a77d9(0x4c1)]();const _0x4ba652=(_0x2df2b5,_0x32faa4,_0x3b1173,_0x3e3503)=>{const _0x9b2613=_0x5a77d9;let _0x15baa1=[];switch(_0x2df2b5['id']){case _0x4c7a32['EffectRefRangId'][_0x9b2613(0x260)]:{_0x15baa1=_0x4c7a32[_0x9b2613(0x16f)](_0x2df2b5,_0x3e3503);break;}case _0x4c7a32['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x15baa1=_0x4c7a32['handleDeleteRangeMoveUp'](_0x2df2b5,_0x3e3503);break;}case _0x4c7a32[_0x9b2613(0x2e3)][_0x9b2613(0x50f)]:{_0x15baa1=_0x4c7a32[_0x9b2613(0x438)](_0x2df2b5,_0x3e3503);break;}case _0x4c7a32[_0x9b2613(0x2e3)]['InsertRangeMoveDownCommandId']:{_0x15baa1=_0x4c7a32[_0x9b2613(0x1b9)](_0x2df2b5,_0x3e3503);break;}case _0x4c7a32[_0x9b2613(0x2e3)][_0x9b2613(0x1ea)]:{_0x15baa1=_0x4c7a32['handleInsertRangeMoveRight'](_0x2df2b5,_0x3e3503);break;}case _0x4c7a32[_0x9b2613(0x2e3)][_0x9b2613(0x245)]:{_0x15baa1=_0x4c7a32['handleInsertRow'](_0x2df2b5,_0x3e3503);break;}case _0x4c7a32['EffectRefRangId'][_0x9b2613(0x2cd)]:{_0x15baa1=_0x4c7a32[_0x9b2613(0x3c7)](_0x2df2b5,_0x3e3503);break;}case _0x4c7a32[_0x9b2613(0x2e3)][_0x9b2613(0x50d)]:{_0x15baa1=_0x4c7a32['handleIRemoveCol'](_0x2df2b5,_0x3e3503);break;}case _0x4c7a32[_0x9b2613(0x2e3)]['RemoveRowCommandId']:{_0x15baa1=_0x4c7a32[_0x9b2613(0x355)](_0x2df2b5,_0x3e3503);break;}}const _0x2ed5c2=_0x4c7a32[_0x9b2613(0x1a3)](_0x15baa1,_0x3e3503),_0x20670c=this[_0x9b2613(0x26f)][_0x9b2613(0x4b6)](_0x32faa4);if(_0x20670c&&_0x2ed5c2){const _0x2522ac={..._0x20670c,'range':_0x2ed5c2};this[_0x9b2613(0x26f)]['set'](_0x32faa4,_0x2522ac),_0x1c3aa1(()=>{const _0x2ab922=_0x9b2613,_0x25e7e6=this[_0x2ab922(0x129)][_0x2ab922(0x2a8)](_0x2ed5c2,_0x502577=>(_0x25e7e6['dispose'](),_0x4ba652(_0x502577,_0x32faa4,_0x3b1173,_0x2ed5c2)));_0x69cd79[_0x2ab922(0x4f3)](_0x25e7e6);});}return{'redos':[],'undos':[]};};this[_0x5a77d9(0x26f)][_0x5a77d9(0x256)]((_0x4b8033,_0x34f322)=>{const _0x24be6d=_0x5a77d9,{range:_0x490f6b,sheetID:_0x34f18e}=_0x4b8033,_0x5c9702=this[_0x24be6d(0x129)]['registerRefRange'](_0x490f6b,_0x442ef4=>(_0x5c9702[_0x24be6d(0x4c1)](),_0x4ba652(_0x442ef4,_0x34f322,_0x34f18e,_0x490f6b)));_0x69cd79[_0x24be6d(0x4f3)](_0x5c9702);});};this[_0x226bfb(0x1e3)](_0x349f19[_0x226bfb(0x534)](this[_0x226bfb(0x270)][_0x226bfb(0x38f)](()=>{_0x317ebc();})));}[_0x145278(0x23c)](){const _0x5475d1=_0x145278;var _0x1b09fe,_0x15fac6;if(this[_0x5475d1(0x2e9)]=!0x0,((_0x1b09fe=this[_0x5475d1(0x31f)][_0x5475d1(0x2da)]())==null?void 0x0:_0x1b09fe['getUnitId']())!==this['unitID'])return;const _0x51f612=(_0x15fac6=this['_injector']['get'](_0x4c7a32[_0x5475d1(0x40c)])['getCurrentSelections']())==null?void 0x0:_0x15fac6[0x0],_0x2081d3=this[_0x5475d1(0x31f)]['getCurrentUnitForType'](_0x349f19[_0x5475d1(0x426)][_0x5475d1(0x431)])[_0x5475d1(0x1b2)]();_0x51f612&&_0x2081d3&&this[_0x5475d1(0x48f)](_0x2081d3[_0x5475d1(0x3f2)](),_0x51f612);}[_0x145278(0x408)](){const _0x5d343b=_0x145278;this[_0x5d343b(0x2e9)]=!0x1;}};_0x232fbb=_0x388b61([_0xe28271(0x2,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0xe28271(0x3,_0x349f19[_0x145278(0x413)](_0x477f1a)),_0xe28271(0x4,_0x349f19[_0x145278(0x413)](_0x5a9e0d)),_0xe28271(0x5,_0x349f19[_0x145278(0x501)]),_0xe28271(0x6,_0x349f19[_0x145278(0x36e)]),_0xe28271(0x7,_0x349f19['Inject'](_0x4c7a32['RefRangeService']))],_0x232fbb);var _0x3f969d=Object['defineProperty'],_0xff68fe=Object[_0x145278(0x16d)],_0x2abc0d=(_0x622a2,_0x3cd9ad,_0x2879cf,_0x5da693)=>{const _0x296fc8=_0x145278;for(var _0x17552b=_0x5da693>0x1?void 0x0:_0x5da693?_0xff68fe(_0x3cd9ad,_0x2879cf):_0x3cd9ad,_0x3ca326=_0x622a2[_0x296fc8(0x37e)]-0x1,_0x5a0229;_0x3ca326>=0x0;_0x3ca326--)(_0x5a0229=_0x622a2[_0x3ca326])&&(_0x17552b=(_0x5da693?_0x5a0229(_0x3cd9ad,_0x2879cf,_0x17552b):_0x5a0229(_0x17552b))||_0x17552b);return _0x5da693&&_0x17552b&&_0x3f969d(_0x3cd9ad,_0x2879cf,_0x17552b),_0x17552b;},_0x4e2821=(_0x4b5a01,_0x5cff87)=>(_0xedb6c4,_0x14b0c3)=>_0x5cff87(_0xedb6c4,_0x14b0c3,_0x4b5a01);let _0xc5b355=class extends _0x349f19[_0x145278(0x4e9)]{constructor(_0x20086a,_0x1e3637,_0x4d0a18){const _0xd682f2=_0x145278;super(),_0xbb867(this,_0xd682f2(0x331),new Map()),_0xbb867(this,'_entityInit$',new _0x1e13bb[(_0xd682f2(0x410))]()),(this[_0xd682f2(0x31f)]=_0x20086a,this[_0xd682f2(0x22d)]=_0x1e3637,this[_0xd682f2(0x502)]=_0x4d0a18,this[_0xd682f2(0x35a)]());}[_0x145278(0x4c1)](){const _0x51ffc8=_0x145278;super[_0x51ffc8(0x4c1)](),this[_0x51ffc8(0x529)][_0x51ffc8(0x2f9)](),this[_0x51ffc8(0x331)][_0x51ffc8(0x256)](_0x9a5231=>_0x9a5231[_0x51ffc8(0x4c1)]());}[_0x145278(0x180)](_0xb45004){const _0x54cd10=_0x145278;return this['_entities']['has'](_0xb45004)?this['_entities']['get'](_0xb45004)[_0x54cd10(0x51f)]:this[_0x54cd10(0x529)]['pipe'](_0x1e13bb['filter'](_0x3373a3=>_0x3373a3['unitID']===_0xb45004),_0x1e13bb['switchMap'](_0x30cc02=>_0x30cc02[_0x54cd10(0x51f)]));}[_0x145278(0x35a)](){const _0x3267c1=_0x145278;this[_0x3267c1(0x31f)][_0x3267c1(0x393)](_0x349f19[_0x3267c1(0x426)]['UNIVER_SHEET'])[_0x3267c1(0x3f1)](_0x1e13bb[_0x3267c1(0x1bc)](this[_0x3267c1(0x115)]))[_0x3267c1(0x38f)](async _0x2e9328=>{const _0x2e53f6=_0x3267c1,_0x589ec7=_0x2e9328[_0x2e53f6(0x453)](),_0x1ade2b=await this['_startSheetCollabCursor'](_0x589ec7);this[_0x2e53f6(0x529)][_0x2e53f6(0x155)](_0x1ade2b),this['_entities'][_0x2e53f6(0x253)](_0x589ec7,_0x1ade2b);}),this[_0x3267c1(0x31f)]['getTypeOfUnitAdded$'](_0x349f19['UniverInstanceType'][_0x3267c1(0x22e)])[_0x3267c1(0x3f1)](_0x1e13bb[_0x3267c1(0x1bc)](this[_0x3267c1(0x115)]))[_0x3267c1(0x3f1)](_0x1e13bb[_0x3267c1(0x257)](_0xd40d5d=>!_0xd40d5d['getUnitId']()['startsWith']('__')))[_0x3267c1(0x38f)](async _0x309719=>{const _0x40a633=_0x3267c1,_0x13fb58=_0x309719[_0x40a633(0x453)](),_0x2c76e1=await this[_0x40a633(0x4c4)](_0x13fb58);this[_0x40a633(0x529)][_0x40a633(0x155)](_0x2c76e1),this['_entities']['set'](_0x13fb58,_0x2c76e1);}),_0x1e13bb[_0x3267c1(0x1a2)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x349f19[_0x3267c1(0x426)][_0x3267c1(0x22e)]),this[_0x3267c1(0x31f)][_0x3267c1(0x1a1)](_0x349f19['UniverInstanceType'][_0x3267c1(0x431)]))[_0x3267c1(0x3f1)](_0x1e13bb[_0x3267c1(0x1bc)](this['dispose$']))[_0x3267c1(0x38f)](_0x2cfb7d=>{const _0x15d60f=_0x3267c1,_0x41dd13=_0x2cfb7d[_0x15d60f(0x453)](),_0x235d13=this['_entities'][_0x15d60f(0x4b6)](_0x41dd13);_0x235d13&&(_0x235d13[_0x15d60f(0x4c1)](),this['_entities']['delete'](_0x41dd13));});}async[_0x145278(0x513)](_0x4d5c3d){const _0x182e91=_0x145278,_0xb9e733=await this['_collabSessionService'][_0x182e91(0x4ab)](_0x4d5c3d),_0x5f1899=this[_0x182e91(0x22d)][_0x182e91(0x556)](_0x232fbb,_0x4d5c3d,_0xb9e733);return _0x5f1899[_0x182e91(0x46c)](),_0x5f1899;}async[_0x145278(0x4c4)](_0x2eea95){const _0x4d7ddc=_0x145278,_0xa9d028=await this[_0x4d7ddc(0x502)][_0x4d7ddc(0x4ab)](_0x2eea95),_0x51e001=this['_injector'][_0x4d7ddc(0x556)](_0x915072,_0x2eea95,_0xa9d028);return _0x51e001[_0x4d7ddc(0x46c)](),_0x51e001;}};_0xc5b355=_0x2abc0d([_0x4e2821(0x0,_0x349f19[_0x145278(0x501)]),_0x4e2821(0x1,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x4e2821(0x2,_0x349f19[_0x145278(0x413)](_0x3b531e['CollaborationSessionService']))],_0xc5b355);const _0x19a8be=0x14,_0x175865=0xc8,_0x57a0b9=0x4,_0x28e631=0x5;function _0x2d584b(_0x103a39,_0x2a9d89){const _0x5f284b=_0x145278;let {radius:_0x1a569c,width:_0x27e759,height:_0x163489}=_0x2a9d89;_0x1a569c=_0x1a569c!=null?_0x1a569c:0x0,_0x27e759=_0x27e759!=null?_0x27e759:0x1e,_0x163489=_0x163489!=null?_0x163489:0x1e;let _0x4c9486=0x0,_0x59b924=0x0,_0x535bac=0x0;_0x4c9486=_0x59b924=_0x535bac=Math[_0x5f284b(0x481)](_0x1a569c,_0x27e759/0x2,_0x163489/0x2),_0x103a39['beginPath'](),_0x103a39[_0x5f284b(0x3ab)](_0x4c9486,0x0),_0x103a39['lineTo'](_0x27e759-_0x59b924,0x0),_0x103a39['arc'](_0x27e759-_0x59b924,_0x59b924,_0x59b924,Math['PI']*0x3/0x2,0x0,!0x1),_0x103a39[_0x5f284b(0x448)](_0x27e759,_0x163489-_0x535bac),_0x103a39[_0x5f284b(0x164)](_0x27e759-_0x535bac,_0x163489-_0x535bac,_0x535bac,0x0,Math['PI']/0x2,!0x1),_0x103a39[_0x5f284b(0x448)](0x0,_0x163489),_0x103a39[_0x5f284b(0x448)](0x0,_0x4c9486),_0x103a39['arc'](_0x4c9486,_0x4c9486,_0x4c9486,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x103a39[_0x5f284b(0x13f)](),_0x2a9d89[_0x5f284b(0x3e8)]&&(_0x103a39[_0x5f284b(0x1ae)](),_0x103a39[_0x5f284b(0x4db)]=_0x2a9d89[_0x5f284b(0x3e8)],_0x2a9d89['fillRule']==='evenodd'?_0x103a39[_0x5f284b(0x3e8)](_0x5f284b(0x131)):_0x103a39[_0x5f284b(0x3e8)](),_0x103a39['restore']());}class _0x481603 extends _0x577b7e[_0x145278(0x49c)]{constructor(_0x219d38,_0x575128){const _0x3069eb=_0x145278;super(_0x219d38,_0x575128),_0xbb867(this,_0x3069eb(0x1c7)),_0xbb867(this,'text'),(this[_0x3069eb(0x1c7)]=_0x575128==null?void 0x0:_0x575128[_0x3069eb(0x1c7)],this[_0x3069eb(0x235)]=_0x575128==null?void 0x0:_0x575128[_0x3069eb(0x235)]);}static['drawWith'](_0x2d0a1c,_0x692a1c){const _0x4c1363=_0x145278,{text:_0x5dc3d5,color:_0x989e09}=_0x692a1c;_0x2d0a1c[_0x4c1363(0x1ae)](),_0x2d0a1c['font']=_0x4c1363(0x132);const _0x208d51=_0x2d0a1c['measureText'](_0x5dc3d5)[_0x4c1363(0x50c)],_0x597108=Math['min'](_0x208d51+0x2*_0x57a0b9,_0x175865);_0x2d584b(_0x2d0a1c,{'height':_0x19a8be,'radius':0x4,'width':_0x597108,'fill':_0x989e09,'evented':!0x1}),_0x2d0a1c[_0x4c1363(0x4db)]='#FFF';const _0x27d9c5=_0x57a0b9,_0x1a5946=_0x19a8be-_0x28e631,_0x2dd0b9=_0x175865-0x2*_0x57a0b9;if(_0x208d51>_0x2dd0b9){let _0x2f3e9f='',_0x32c3d3=0x0;for(const _0x5818cc of _0x5dc3d5){const _0x58a62c=_0x2d0a1c[_0x4c1363(0x3a3)](_0x5818cc)[_0x4c1363(0x50c)];if(_0x32c3d3+_0x58a62c<=_0x2dd0b9-_0x2d0a1c['measureText'](_0x4c1363(0x418))[_0x4c1363(0x50c)])_0x2f3e9f+=_0x5818cc,_0x32c3d3+=_0x58a62c;else{_0x2f3e9f+='...';break;}}_0x2d0a1c[_0x4c1363(0x1ac)](_0x2f3e9f,_0x27d9c5,_0x1a5946);}else _0x2d0a1c[_0x4c1363(0x1ac)](_0x5dc3d5,_0x27d9c5,_0x1a5946);_0x2d0a1c[_0x4c1363(0x263)]();}[_0x145278(0x4e5)](_0x38adaf){const _0x392776=_0x145278;_0x481603[_0x392776(0x2c3)](_0x38adaf,this);}}const _0x2633ff=_0x145278(0x290),_0xca0151='collab-text-range-',_0x35e620='collab-rect-range-',_0x14eaa2=0x6,_0x234b5f=1.5,_0xf2087f=0x4,_0x1517c4=1.5,_0x26f5d9='rgba(255,\x20255,\x20255,\x200.01)';class _0xe9ff6{constructor(_0x283ba3,_0x521fef,_0x1555b9,_0x3ce0a8){const _0x2ea1c2=_0x145278;_0xbb867(this,'_shapes',[]),_0xbb867(this,'_anchor',null),_0xbb867(this,_0x2ea1c2(0x3aa),null),_0xbb867(this,_0x2ea1c2(0x13c),null),_0xbb867(this,_0x2ea1c2(0x20d),null),_0xbb867(this,_0x2ea1c2(0x3d6),null),(this[_0x2ea1c2(0x546)]=_0x283ba3,this['_scene']=_0x521fef,this[_0x2ea1c2(0x29c)]=_0x1555b9,this['_document']=_0x3ce0a8,this[_0x2ea1c2(0x255)]());}set[_0x145278(0x3fc)](_0x3f75f0){const _0x46971d=_0x145278;_0x3f75f0?(this['_anchorDot']&&this['_anchorDot'][_0x46971d(0x3a2)](),this['_textBubble']&&this[_0x46971d(0x3aa)][_0x46971d(0x303)]()):(this[_0x46971d(0x13c)]&&this[_0x46971d(0x13c)]['show'](),this[_0x46971d(0x3aa)]&&this[_0x46971d(0x3aa)][_0x46971d(0x3a2)]());}[_0x145278(0x4c1)](){const _0x2a19d5=_0x145278;for(const _0x3e9537 of this[_0x2a19d5(0x3c3)])_0x3e9537['dispose']();this[_0x2a19d5(0x3aa)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x2a19d5(0x4c1)](),this[_0x2a19d5(0x425)]&&this[_0x2a19d5(0x425)][_0x2a19d5(0x4c1)](),this[_0x2a19d5(0x3d6)]&&this[_0x2a19d5(0x3d6)]();}[_0x145278(0x255)](){const _0x2c397e=_0x145278;var _0x4d2c95;const {_docSkeleton:_0x5304f1,_document:_0x515326}=this,{color:_0x5d11ff,name:_0x3152e9,ranges:_0x32f693}=this[_0x2c397e(0x546)],_0x52096e=_0x515326[_0x2c397e(0x20e)](),{docsLeft:_0x401c5a,docsTop:_0x477572}=_0x52096e,_0x4020fa=new _0x3c060b[(_0x2c397e(0x14a))](_0x52096e,_0x5304f1);for(const {startOffset:_0x5f4ee8,endOffset:_0x68271a,collapsed:_0x22d855,isActive:_0x5b1320}of _0x32f693){const _0x2951fb=_0x5304f1['findNodePositionByCharIndex'](_0x5f4ee8),_0x7fa2da=_0x5304f1['findNodePositionByCharIndex'](_0x68271a);if(_0x5b1320){const {contentBoxPointGroup:_0x4e9baa}=_0x4020fa[_0x2c397e(0x362)](_0x7fa2da,_0x7fa2da);if(_0x4e9baa['length']===0x0)continue;this[_0x2c397e(0x2b2)](_0x5d11ff,_0x4e9baa,_0x401c5a,_0x477572,_0x3152e9),this['_eventUnsubscribe']=this[_0x2c397e(0x304)]();}if(!_0x22d855&&_0x2951fb&&_0x7fa2da){if(_0x3c060b[_0x2c397e(0x437)](_0x2951fb,_0x7fa2da)){const _0x626c48=new _0x3c060b[(_0x2c397e(0x555))](_0x52096e,_0x5304f1),{pointGroup:_0x369a3d}=(_0x4d2c95=_0x626c48['getRangePointData'](_0x2951fb,_0x7fa2da))!=null?_0x4d2c95:{};if(_0x369a3d==null||_0x369a3d[_0x2c397e(0x37e)]===0x0)continue;this[_0x2c397e(0x4e1)](_0x5d11ff,_0x369a3d,_0x401c5a,_0x477572);}else{const {contentBoxPointGroup:_0xd8e6b5}=_0x4020fa[_0x2c397e(0x362)](_0x2951fb,_0x7fa2da);if(_0xd8e6b5[_0x2c397e(0x37e)]===0x0)continue;this[_0x2c397e(0x2cf)](_0x5d11ff,_0xd8e6b5,_0x401c5a,_0x477572);}}}}['_drawAnchor'](_0x681c35,_0x4f3b80,_0x4c927c,_0x70651d,_0x351290){const _0x386c6a=_0x145278,_0x1ecaf4=this['_getAnchorBounding'](_0x4f3b80),{left:_0x5529ef,top:_0x46edd7,height:_0x486d2d}=_0x1ecaf4,_0xc10a0d=this[_0x386c6a(0x202)](),_0x56bf9b=_0x1517c4/_0xc10a0d,_0x5763d3=new _0x577b7e['Rect'](_0x2633ff+_0x349f19[_0x386c6a(0x4b1)][_0x386c6a(0x4d7)](_0x14eaa2),{'left':_0x5529ef+_0x4c927c-_0x56bf9b,'top':_0x46edd7+_0x70651d,'height':_0x486d2d,'width':_0x234b5f,'fill':_0x681c35||_0x577b7e[_0x386c6a(0x119)](_0x349f19[_0x386c6a(0x1a8)][_0x386c6a(0x316)],0x0),'strokeWidth':_0x56bf9b,'stroke':_0x26f5d9,'evented':!0x0});this[_0x386c6a(0x425)]=_0x5763d3,this['_scene'][_0x386c6a(0x450)](_0x5763d3,_0x3c060b[_0x386c6a(0x458)]);const _0xb52caa=new _0x577b7e['Rect'](_0x2633ff+_0x349f19['Tools'][_0x386c6a(0x4d7)](_0x14eaa2),{'left':_0x5529ef+_0x4c927c-_0x56bf9b,'top':_0x46edd7+_0x70651d-_0xf2087f/0x2,'height':_0xf2087f,'width':_0xf2087f,'fill':_0x681c35||_0x577b7e[_0x386c6a(0x119)](_0x349f19['COLORS'][_0x386c6a(0x316)],0x0),'strokeWidth':0x0,'stroke':_0x681c35||_0x577b7e[_0x386c6a(0x119)](_0x349f19[_0x386c6a(0x1a8)][_0x386c6a(0x316)],0x0),'evented':!0x1});this[_0x386c6a(0x13c)]=_0xb52caa,this['_scene'][_0x386c6a(0x450)](_0xb52caa,_0x3c060b[_0x386c6a(0x458)]);const _0x248262=new _0x481603(_0x2633ff+_0x349f19[_0x386c6a(0x4b1)][_0x386c6a(0x4d7)](_0x14eaa2),{'left':_0x5529ef+_0x4c927c-_0x56bf9b,'top':_0x46edd7+_0x70651d-_0x19a8be,'text':_0x351290,'color':_0x681c35});this[_0x386c6a(0x3aa)]=_0x248262,this[_0x386c6a(0x2fb)][_0x386c6a(0x450)](_0x248262,_0x3c060b[_0x386c6a(0x458)]),this[_0x386c6a(0x3fc)]=!0x1;}[_0x145278(0x304)](){const _0x14a922=_0x145278,_0x50130e=this['_anchor'][_0x14a922(0x252)][_0x14a922(0x2d7)](()=>{const _0x18e94c=_0x14a922;this[_0x18e94c(0x3fc)]=!0x0;}),_0xdb42fd=this[_0x14a922(0x425)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x256535=_0x14a922;this[_0x256535(0x20d)]&&clearTimeout(this['_hideTimer']),this[_0x256535(0x20d)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5d5265=_0x14a922;_0x50130e[_0x5d5265(0x42b)](),_0xdb42fd['unsubscribe']();};}[_0x145278(0x2cf)](_0x36be53,_0x4302d5,_0x3c1ff9,_0x19c228){const _0x1434fa=_0x145278,_0x3f720e=new _0x349f19[(_0x1434fa(0x176))](_0x36be53)[_0x1434fa(0x27e)](0.2)['toRgbString'](),_0x48f896=new _0x577b7e['RegularPolygon'](_0xca0151+_0x349f19[_0x1434fa(0x4b1)][_0x1434fa(0x4d7)](_0x14eaa2),{'pointsGroup':_0x4302d5,'fill':_0x3f720e||_0x577b7e['getColor'](_0x349f19['COLORS']['black'],0.2),'left':_0x3c1ff9,'top':_0x19c228,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1434fa(0x3c3)][_0x1434fa(0x276)](_0x48f896),this[_0x1434fa(0x2fb)]['addObject'](_0x48f896,_0x3c060b[_0x1434fa(0x458)]);}['_drawRectRange'](_0x43402a,_0x177e1b,_0x5961e2,_0x4d0b54){const _0x31d6aa=_0x145278,_0x127297=new _0x349f19['ColorKit'](_0x43402a)[_0x31d6aa(0x27e)](0.2)['toRgbString'](),_0x17abc6=new _0x577b7e[(_0x31d6aa(0x32e))](_0x35e620+_0x349f19['Tools'][_0x31d6aa(0x4d7)](_0x14eaa2),{'pointsGroup':_0x177e1b,'fill':_0x127297||_0x577b7e[_0x31d6aa(0x119)](_0x349f19[_0x31d6aa(0x1a8)][_0x31d6aa(0x316)],0.2),'left':_0x5961e2,'top':_0x4d0b54,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31d6aa(0x3c3)]['push'](_0x17abc6),this[_0x31d6aa(0x2fb)][_0x31d6aa(0x450)](_0x17abc6,_0x3c060b[_0x31d6aa(0x458)]);}[_0x145278(0x2d1)](_0x88e160){const _0x5e6c89=_0x88e160[0x0],_0x49090d=_0x5e6c89[0x0],_0x2a8b5b=_0x5e6c89[0x2],{x:_0x200952,y:_0x167309}=_0x49090d,{x:_0x133393,y:_0xe46683}=_0x2a8b5b;return{'left':_0x200952,'top':_0x167309,'width':_0x133393-_0x200952,'height':_0xe46683-_0x167309};}[_0x145278(0x202)](){const _0x312409=_0x145278,{scaleX:_0x32cc54,scaleY:_0x5a1752}=this[_0x312409(0x2fb)][_0x312409(0x178)]();return Math[_0x312409(0x527)](_0x32cc54,_0x5a1752);}}var _0x456d69=Object['defineProperty'],_0x343fac=Object[_0x145278(0x16d)],_0x1b2715=(_0xe03ace,_0x1e56af,_0x3b798a,_0x575d96)=>{const _0x28f5f6=_0x145278;for(var _0xc00c67=_0x575d96>0x1?void 0x0:_0x575d96?_0x343fac(_0x1e56af,_0x3b798a):_0x1e56af,_0x58e17b=_0xe03ace[_0x28f5f6(0x37e)]-0x1,_0x14cf5b;_0x58e17b>=0x0;_0x58e17b--)(_0x14cf5b=_0xe03ace[_0x58e17b])&&(_0xc00c67=(_0x575d96?_0x14cf5b(_0x1e56af,_0x3b798a,_0xc00c67):_0x14cf5b(_0xc00c67))||_0xc00c67);return _0x575d96&&_0xc00c67&&_0x456d69(_0x1e56af,_0x3b798a,_0xc00c67),_0xc00c67;},_0x5c98b0=(_0x2d0dbd,_0x395b34)=>(_0x1df628,_0xcd0995)=>_0x395b34(_0x1df628,_0xcd0995,_0x2d0dbd);let _0x12f634=class extends _0x349f19[_0x145278(0x4e9)]{constructor(_0x187d8e,_0x524177,_0x36d82f,_0x1c489f,_0x44fe29){const _0x58db9b=_0x145278;super(),_0xbb867(this,'_cursorShapes',[]),_0xbb867(this,_0x58db9b(0x395),[]),(this[_0x58db9b(0x18a)]=_0x187d8e,this[_0x58db9b(0x42d)]=_0x524177,this[_0x58db9b(0x3eb)]=_0x36d82f,this[_0x58db9b(0x375)]=_0x1c489f,this[_0x58db9b(0x216)]=_0x44fe29,this[_0x58db9b(0x35a)]());}[_0x145278(0x35a)](){const _0x816ce0=_0x145278,_0x2dd80f=this[_0x816ce0(0x18a)][_0x816ce0(0x126)],_0x398ed9=this[_0x816ce0(0x42d)];this['disposeWithMe'](_0x1e13bb['combineLatest']([this[_0x816ce0(0x3eb)][_0x816ce0(0x180)](_0x2dd80f),this[_0x816ce0(0x216)][_0x816ce0(0x41d)]])['pipe'](_0x501e2e['map'](([_0x1e8fb7,_0x445774])=>({'skeleton':_0x398ed9['getSkeleton'](),'cursors':[..._0x1e8fb7[_0x816ce0(0x124)]()][_0x816ce0(0x121)](_0x582347=>({..._0x582347,'color':_0x445774[_0x582347['color']]}))})))[_0x816ce0(0x38f)](_0x4db183=>{const _0xfc0ff2=_0x816ce0;if(this[_0xfc0ff2(0x1cf)](),_0x4db183){const {skeleton:_0x114d4c,cursors:_0x57d947}=_0x4db183;this[_0xfc0ff2(0x17d)](_0x114d4c,_0x57d947);}})),this[_0x816ce0(0x2b8)](),this['_initCommandExecutedListener']();}[_0x145278(0x17d)](_0x30eb58,_0x4add61){const _0x157554=_0x145278,{scene:_0xd3bb4d,mainComponent:_0xf6d1bb}=this[_0x157554(0x18a)],_0x489ed4=_0x4add61[_0x157554(0x15d)](_0xfcebfe=>new _0xe9ff6(_0xfcebfe,_0xd3bb4d,_0x30eb58,_0xf6d1bb));this['_cursorShapes']=_0x489ed4,this[_0x157554(0x395)]=_0x4add61;}[_0x145278(0x128)](){const _0x23a1e6=_0x145278;this[_0x23a1e6(0x1cf)]();const {scene:_0x23783b,mainComponent:_0x325cea}=this[_0x23a1e6(0x18a)],_0x26f729=this[_0x23a1e6(0x42d)][_0x23a1e6(0x400)](),_0x4c4271=this[_0x23a1e6(0x395)][_0x23a1e6(0x15d)](_0x168795=>new _0xe9ff6(_0x168795,_0x23783b,_0x26f729,_0x325cea));this[_0x23a1e6(0x300)]=_0x4c4271;}['_removeCollabCursors'](){const _0x738d90=_0x145278;this[_0x738d90(0x300)][_0x738d90(0x256)](_0xc2b727=>_0xc2b727[_0x738d90(0x4c1)]()),this[_0x738d90(0x300)]=[];}[_0x145278(0x345)](){const _0x40cdcb=_0x145278,_0x257cf0=[_0x3c060b['SetDocZoomRatioOperation']['id']];this[_0x40cdcb(0x1e3)](this[_0x40cdcb(0x375)][_0x40cdcb(0x1f6)](_0x203b96=>{const _0x10c630=_0x40cdcb;_0x257cf0['includes'](_0x203b96['id'])&&_0x203b96[_0x10c630(0x23d)][_0x10c630(0x126)]===this['_context'][_0x10c630(0x126)]&&this[_0x10c630(0x128)]();}));}[_0x145278(0x2b8)](){const _0x55e463=_0x145278;this[_0x55e463(0x1e3)](_0x349f19[_0x55e463(0x557)](this['_context'][_0x55e463(0x489)][_0x55e463(0x271)])[_0x55e463(0x3f1)](_0x501e2e[_0x55e463(0x257)](_0x386a7f=>_0x386a7f[_0x55e463(0x389)]===_0x577b7e[_0x55e463(0x306)][_0x55e463(0x177)]),_0x501e2e[_0x55e463(0x483)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x12f634=_0x1b2715([_0x5c98b0(0x1,_0x349f19[_0x145278(0x413)](_0x9fa27b[_0x145278(0x4b9)])),_0x5c98b0(0x2,_0x349f19['Inject'](_0xc5b355)),_0x5c98b0(0x3,_0x349f19[_0x145278(0x36e)]),_0x5c98b0(0x4,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x2e2)]))],_0x12f634);const _0x3ad3e8=0x1,_0x12dfc1=1.5;class _0x186ef2 extends _0x577b7e[_0x145278(0x49c)]{constructor(_0x94ba11,_0x4a1533){const _0x6c7052=_0x145278;super(_0x94ba11,_0x4a1533),_0xbb867(this,_0x6c7052(0x18c)),_0xbb867(this,_0x6c7052(0x249),!0x1),_0xbb867(this,'_range'),_0xbb867(this,'_name',''),_0xbb867(this,'_labelPosition','top'),_0xbb867(this,_0x6c7052(0x24f)),(_0x4a1533&&this[_0x6c7052(0x4a8)](_0x4a1533),this['onPointerEnter$'][_0x6c7052(0x2d7)](()=>this[_0x6c7052(0x4a8)]({'hovered':!0x0})),this[_0x6c7052(0x49b)][_0x6c7052(0x2d7)](()=>this[_0x6c7052(0x4a8)]({'hovered':!0x1})));}[_0x145278(0x4a8)](_0x3167a8){const _0x1e01ec=_0x145278;var _0x2b084c,_0x523645,_0x3d3012,_0x526f00,_0x12a4c5,_0x27e107;this[_0x1e01ec(0x18c)]=(_0x2b084c=_0x3167a8[_0x1e01ec(0x1c7)])!=null?_0x2b084c:this['_color'],this[_0x1e01ec(0x249)]=(_0x523645=_0x3167a8[_0x1e01ec(0x30c)])!=null?_0x523645:this[_0x1e01ec(0x249)],this[_0x1e01ec(0x503)]=(_0x3d3012=_0x3167a8['range'])!=null?_0x3d3012:this[_0x1e01ec(0x503)],this[_0x1e01ec(0x19d)]=(_0x526f00=_0x3167a8[_0x1e01ec(0x51c)])!=null?_0x526f00:this[_0x1e01ec(0x19d)],this[_0x1e01ec(0x1ee)]=(_0x12a4c5=_0x3167a8['labelPosition'])!=null?_0x12a4c5:this[_0x1e01ec(0x1ee)],this[_0x1e01ec(0x24f)]=(_0x27e107=_0x3167a8[_0x1e01ec(0x343)])!=null?_0x27e107:this[_0x1e01ec(0x24f)],this[_0x1e01ec(0x1ef)]({'width':_0x3167a8[_0x1e01ec(0x50c)],'height':_0x3167a8[_0x1e01ec(0x167)]});}[_0x145278(0x33f)](_0xb484bb){const _0x513a1f=_0x145278,{row:_0x7e87ed,column:_0x3a53ce}=_0xb484bb;if(_0x7e87ed>=this['_range'][_0x513a1f(0x402)]&&_0x7e87ed<=this[_0x513a1f(0x503)][_0x513a1f(0x1ba)]&&_0x3a53ce>=this[_0x513a1f(0x503)]['startColumn']&&_0x3a53ce<=this[_0x513a1f(0x503)][_0x513a1f(0x472)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x513a1f(0x4a8)]({'hovered':!0x1});}[_0x145278(0x346)](_0x3dcaa4){return!0x1;}[_0x145278(0x4e5)](_0xee015d){const _0x176e7c=_0x145278;_0x577b7e[_0x176e7c(0x16b)][_0x176e7c(0x2c3)](_0xee015d,{'width':this['width'],'height':this[_0x176e7c(0x167)],'strokeWidth':_0x12dfc1,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x176e7c(0x24f)]}),this[_0x176e7c(0x249)]&&(_0xee015d[_0x176e7c(0x1ae)](),_0xee015d['transform'](0x1,0x0,0x0,0x1,this[_0x176e7c(0x50c)],this[_0x176e7c(0x1ee)]===_0x176e7c(0x232)?0x0:-_0x19a8be),_0x481603[_0x176e7c(0x2c3)](_0xee015d,{'text':this[_0x176e7c(0x19d)],'color':this[_0x176e7c(0x18c)]}),_0xee015d[_0x176e7c(0x263)]());}}var _0x3586b1=Object[_0x145278(0x507)],_0x4b3b8a=Object['getOwnPropertyDescriptor'],_0x5f6b0=(_0x121942,_0x32569b,_0x1f7101,_0x407c6b)=>{const _0x206f01=_0x145278;for(var _0x37a3bf=_0x407c6b>0x1?void 0x0:_0x407c6b?_0x4b3b8a(_0x32569b,_0x1f7101):_0x32569b,_0x37c18d=_0x121942[_0x206f01(0x37e)]-0x1,_0x2b28f8;_0x37c18d>=0x0;_0x37c18d--)(_0x2b28f8=_0x121942[_0x37c18d])&&(_0x37a3bf=(_0x407c6b?_0x2b28f8(_0x32569b,_0x1f7101,_0x37a3bf):_0x2b28f8(_0x37a3bf))||_0x37a3bf);return _0x407c6b&&_0x37a3bf&&_0x3586b1(_0x32569b,_0x1f7101,_0x37a3bf),_0x37a3bf;},_0x3bd9b9=(_0x59d3cb,_0x4b074d)=>(_0x450871,_0x7f2517)=>_0x4b074d(_0x450871,_0x7f2517,_0x59d3cb);const _0x1b6561=0x1389;let _0x355d95=class extends _0x349f19[_0x145278(0x4e9)]{constructor(_0x3ed5d6,_0x3d6d14,_0x2f2845,_0x49aed3){const _0xbcf421=_0x145278;super(),_0xbb867(this,_0xbcf421(0x395),new Set()),_0xbb867(this,_0xbcf421(0x506),null),(this[_0xbcf421(0x18a)]=_0x3ed5d6,this['_sheetSkeletonManagerService']=_0x3d6d14,this[_0xbcf421(0x3eb)]=_0x2f2845,this[_0xbcf421(0x216)]=_0x49aed3,this[_0xbcf421(0x35a)]());}[_0x145278(0x35a)](){const _0x32da4b=_0x145278;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x32da4b(0x3f1)](_0x501e2e[_0x32da4b(0x1bc)](this['dispose$']),_0x501e2e[_0x32da4b(0x44e)](_0x39bdd=>{const _0x9feec6=_0x32da4b;if(_0x39bdd){const _0xfc7719=_0x39bdd[_0x9feec6(0x21a)];return _0x1e13bb[_0x9feec6(0x47c)](this[_0x9feec6(0x3eb)][_0x9feec6(0x180)](this[_0x9feec6(0x18a)][_0x9feec6(0x126)]),this[_0x9feec6(0x216)][_0x9feec6(0x41d)])[_0x9feec6(0x3f1)](_0x501e2e[_0x9feec6(0x15d)](([_0x21147e,_0x2ee67e])=>{const _0x23f05c=_0x9feec6,_0x29c052=new Map();return _0x21147e[_0x23f05c(0x256)]((_0x3204e6,_0x2cfd7c)=>{const _0x5baf12=_0x23f05c;if(_0x3204e6[_0x5baf12(0x4b8)]===_0xfc7719){const _0x4adc52={..._0x3204e6};_0x4adc52['color']=_0x2ee67e[_0x3204e6[_0x5baf12(0x1c7)]],_0x29c052[_0x5baf12(0x253)](_0x2cfd7c,_0x4adc52);}}),{'skeleton':_0x39bdd,'cursors':_0x29c052};}));}return _0x1e13bb['of']({'skeleton':null,'cursors':new Map()});}))[_0x32da4b(0x38f)](({skeleton:_0x5935ab,cursors:_0x3a5ac7})=>{const _0x492a62=_0x32da4b;this[_0x492a62(0x1cf)](),_0x5935ab&&this[_0x492a62(0x17d)](_0x5935ab,_0x3a5ac7);}),this[_0x32da4b(0x25b)][_0x32da4b(0x2ff)][_0x32da4b(0x38f)](_0xc96666=>{const _0x563e5d=_0x32da4b;if(_0xc96666==null)return;const {skeleton:_0x52c718}=_0xc96666,{scene:_0x49115d}=this[_0x563e5d(0x18a)];_0x49115d[_0x563e5d(0x525)][_0x563e5d(0x2d7)](_0x349f19[_0x563e5d(0x3ef)](_0x5afaa7=>{const _0x48e679=_0x563e5d;var _0x20a656,_0x258878;const {offsetX:_0x3ed58c,offsetY:_0x452d4e}=_0x5afaa7,{x:_0x27ae7b,y:_0x2af7df}=_0x49115d[_0x48e679(0x51e)](_0x577b7e[_0x48e679(0x1e8)][_0x48e679(0x544)]([_0x3ed58c,_0x452d4e])),{scaleX:_0x5ed26a,scaleY:_0xf02837}=_0x49115d[_0x48e679(0x178)](),_0x50c171=_0x49115d[_0x48e679(0x14b)](_0xa0e5aa[_0x48e679(0x2ef)]['VIEW_MAIN']),_0x30e737=_0x49115d['getVpScrollXYInfoByPosToVp'](_0x577b7e[_0x48e679(0x1e8)][_0x48e679(0x544)]([_0x27ae7b,_0x2af7df]),_0x50c171),_0x390d85=_0x52c718[_0x48e679(0x1fa)](_0x3ed58c,_0x452d4e,_0x5ed26a,_0xf02837,_0x30e737);((_0x20a656=this[_0x48e679(0x506)])==null?void 0x0:_0x20a656['column'])===_0x390d85[_0x48e679(0x399)]&&((_0x258878=this['_lastPointer'])==null?void 0x0:_0x258878['row'])===_0x390d85[_0x48e679(0x185)]||this[_0x48e679(0x395)][_0x48e679(0x256)](_0x3def30=>{const _0x3376d0=_0x48e679;_0x3def30[_0x3376d0(0x33f)](_0x390d85);});},0x64));});}[_0x145278(0x17d)](_0x280554,_0x17c5a8){const _0x5c022d=_0x145278;var _0x48f7eb;const _0x525aae=(_0x48f7eb=this[_0x5c022d(0x25b)][_0x5c022d(0x1cb)]())==null?void 0x0:_0x48f7eb[_0x5c022d(0x2f6)];if(!_0x525aae)return;const _0x16708b=this[_0x5c022d(0x18e)]();if(!_0x16708b)return;this[_0x5c022d(0x395)]['forEach'](_0x2ce996=>{_0x2ce996['makeDirty']();});const {scene:_0x2909d0}=_0x16708b,_0x3c7474=_0x47b33f(Array[_0x5c022d(0x496)](_0x17c5a8['values']()))[_0x5c022d(0x15d)](_0x5f0b07=>{const _0xd8acff=_0x5c022d,{color:_0x5c28ba,range:_0x52edf8,name:_0x3bd142,selection:_0x45d2ce,sheetID:_0x2433a3}=_0x5f0b07,{startColumn:_0x430d99,startRow:_0x17deb0,endColumn:_0x7d82c8,endRow:_0x1474ae}=_0x52edf8,_0x2769cc=_0xa0e5aa[_0xd8acff(0x535)](_0x17deb0,_0x430d99,_0x2909d0,_0x525aae),_0x5dc43b=_0xa0e5aa[_0xd8acff(0x535)](_0x1474ae,_0x7d82c8,_0x2909d0,_0x525aae),{columnHeaderHeightAndMarginTop:_0x30047f}=_0x525aae,{startX:_0xa39475,startY:_0xaa8097}=_0x2769cc,{endX:_0x58a29b,endY:_0x4ac3e6}=_0x5dc43b,_0x4d8012=_0x58a29b-_0xa39475,_0x30b466=_0x4ac3e6-_0xaa8097,_0x3b79a6={'labelPosition':_0xaa8097-_0x30047f>=_0x19a8be?_0xd8acff(0x1ca):_0xd8acff(0x232),'sheetID':_0x2433a3,'range':_0x52edf8,'color':_0x5c28ba,'name':_0x3bd142,'selection':_0x45d2ce,'left':_0xa39475,'top':_0xaa8097,'width':_0x4d8012,'height':_0x30b466,'evented':!0x1,'zIndex':_0x1b6561};return new _0x186ef2(_0x3bd142,_0x3b79a6);});_0x2909d0[_0x5c022d(0x52e)](_0x3c7474,_0x3ad3e8),this['_cursors']=new Set(_0x3c7474);}[_0x145278(0x1cf)](){const _0x35be45=_0x145278;var _0x4b8923;(_0x4b8923=this['_cursors'])==null||_0x4b8923[_0x35be45(0x256)](_0x1f8bf6=>_0x1f8bf6['dispose']());}[_0x145278(0x18e)](){const _0x2d17a7=_0x145278;return _0xa0e5aa[_0x2d17a7(0x3ce)](this['_context']['unit'],this['_context']);}};_0x355d95=_0x5f6b0([_0x3bd9b9(0x1,_0x349f19[_0x145278(0x413)](_0xa0e5aa[_0x145278(0x2d9)])),_0x3bd9b9(0x2,_0x349f19['Inject'](_0xc5b355)),_0x3bd9b9(0x3,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x2e2)]))],_0x355d95);function _0x47b33f(_0x227813){const _0x551383=_0x145278,_0x462235=new Map();return _0x227813[_0x551383(0x256)](_0x4b614f=>{const _0x46ddd7=_0x551383;if(_0x462235[_0x46ddd7(0x2e6)](_0x4b614f['selection'])){const _0x567712=_0x462235['get'](_0x4b614f[_0x46ddd7(0x3f5)]);_0x567712['name']+=',\x20'+_0x4b614f[_0x46ddd7(0x51c)];}else _0x462235[_0x46ddd7(0x253)](_0x4b614f['selection'],_0x4b614f);}),Array[_0x551383(0x496)](_0x462235[_0x551383(0x124)]());}var _0x571064=function(){const _0x48741f=_0x145278;return _0x571064=Object[_0x48741f(0x3d3)]||function(_0xaf130e){const _0x2102fe=_0x48741f;for(var _0x3ad4d7,_0x421af9=0x1,_0x4baf99=arguments[_0x2102fe(0x37e)];_0x421af9<_0x4baf99;_0x421af9++){_0x3ad4d7=arguments[_0x421af9];for(var _0x4647a2 in _0x3ad4d7)Object[_0x2102fe(0x443)][_0x2102fe(0x321)]['call'](_0x3ad4d7,_0x4647a2)&&(_0xaf130e[_0x4647a2]=_0x3ad4d7[_0x4647a2]);}return _0xaf130e;},_0x571064[_0x48741f(0x26c)](this,arguments);},_0x2b81a0=function(_0xe56da2,_0x494ec3){const _0x265bc2=_0x145278;var _0x48c09b={};for(var _0x207e9e in _0xe56da2)Object[_0x265bc2(0x443)][_0x265bc2(0x321)][_0x265bc2(0x54a)](_0xe56da2,_0x207e9e)&&_0x494ec3['indexOf'](_0x207e9e)<0x0&&(_0x48c09b[_0x207e9e]=_0xe56da2[_0x207e9e]);if(_0xe56da2!=null&&typeof Object['getOwnPropertySymbols']==_0x265bc2(0x262)){for(var _0x200e7a=0x0,_0x207e9e=Object[_0x265bc2(0x508)](_0xe56da2);_0x200e7a<_0x207e9e['length'];_0x200e7a++)_0x494ec3[_0x265bc2(0x404)](_0x207e9e[_0x200e7a])<0x0&&Object['prototype'][_0x265bc2(0x25a)][_0x265bc2(0x54a)](_0xe56da2,_0x207e9e[_0x200e7a])&&(_0x48c09b[_0x207e9e[_0x200e7a]]=_0xe56da2[_0x207e9e[_0x200e7a]]);}return _0x48c09b;},_0x2e275b=_0x385d1d[_0x145278(0x374)](function(_0x1a1977,_0x355a0f){const _0x3b781c=_0x145278;var _0x380f12=_0x1a1977['icon'],_0x677afd=_0x1a1977['id'],_0x34a129=_0x1a1977[_0x3b781c(0x4e4)],_0x194667=_0x1a1977['extend'],_0x54ce59=_0x2b81a0(_0x1a1977,[_0x3b781c(0x414),'id','className',_0x3b781c(0x3ec)]),_0x46640e='univerjs-icon\x20univerjs-icon-'[_0x3b781c(0x411)](_0x677afd,'\x20')[_0x3b781c(0x411)](_0x34a129||'')[_0x3b781c(0x4dd)](),_0x334249=_0x385d1d[_0x3b781c(0x238)]('_'['concat'](_0x387b2d()));return _0x307a72(_0x380f12,''['concat'](_0x677afd),{'defIds':_0x380f12[_0x3b781c(0x328)],'idSuffix':_0x334249[_0x3b781c(0x48c)]},_0x571064({'ref':_0x355a0f,'className':_0x46640e},_0x54ce59),_0x194667);});function _0x307a72(_0x389ec0,_0x2a7cce,_0xa7a471,_0x4e05db,_0x8036d9){const _0x3379b5=_0x145278;return _0x385d1d[_0x3379b5(0x495)](_0x389ec0['tag'],_0x571064(_0x571064({'key':_0x2a7cce},_0x1d23ed(_0x389ec0,_0xa7a471,_0x8036d9)),_0x4e05db),(_0x6a55b2(_0x389ec0,_0xa7a471)[_0x3379b5(0x43a)]||[])[_0x3379b5(0x15d)](function(_0x14410c,_0x2dbe23){const _0x158d34=_0x3379b5;return _0x307a72(_0x14410c,''[_0x158d34(0x411)](_0x2a7cce,'-')[_0x158d34(0x411)](_0x389ec0[_0x158d34(0x319)],'-')[_0x158d34(0x411)](_0x2dbe23),_0xa7a471,void 0x0,_0x8036d9);}));}function _0x1d23ed(_0x5efdda,_0x391629,_0x453c18){const _0x278b2b=_0x145278;var _0x48aa14=_0x571064({},_0x5efdda[_0x278b2b(0x2a9)]);_0x453c18!=null&&_0x453c18[_0x278b2b(0x2c0)]&&_0x48aa14[_0x278b2b(0x3e8)]==='colorChannel1'&&(_0x48aa14['fill']=_0x453c18[_0x278b2b(0x2c0)]);var _0x517a12=_0x391629[_0x278b2b(0x328)];return!_0x517a12||_0x517a12['length']===0x0||(_0x5efdda['tag']==='use'&&_0x48aa14[_0x278b2b(0x1c8)]&&(_0x48aa14['xlink:href']=_0x48aa14[_0x278b2b(0x1c8)]+_0x391629[_0x278b2b(0x46b)]),Object['entries'](_0x48aa14)[_0x278b2b(0x256)](function(_0x4f1c22){const _0x287fbb=_0x278b2b;var _0xd329b9=_0x4f1c22[0x0],_0x55cec9=_0x4f1c22[0x1];typeof _0x55cec9==_0x287fbb(0x1eb)&&(_0x48aa14[_0xd329b9]=_0x55cec9['replace'](/url\(#(.*)\)/,'url(#$1'[_0x287fbb(0x411)](_0x391629[_0x287fbb(0x46b)],')')));})),_0x48aa14;}function _0x6a55b2(_0x1941e8,_0x55b18a){const _0x315b7e=_0x145278;var _0x344f95,_0x24d593=_0x55b18a[_0x315b7e(0x328)];return!_0x24d593||_0x24d593[_0x315b7e(0x37e)]===0x0?_0x1941e8:_0x1941e8['tag']===_0x315b7e(0x33b)&&(!((_0x344f95=_0x1941e8[_0x315b7e(0x43a)])===null||_0x344f95===void 0x0)&&_0x344f95[_0x315b7e(0x37e)])?_0x571064(_0x571064({},_0x1941e8),{'children':_0x1941e8['children'][_0x315b7e(0x15d)](function(_0x617f70){const _0xc0949=_0x315b7e;return typeof _0x617f70[_0xc0949(0x2a9)]['id']==_0xc0949(0x1eb)&&_0x24d593&&_0x24d593['indexOf'](_0x617f70[_0xc0949(0x2a9)]['id'])>-0x1?_0x571064(_0x571064({},_0x617f70),{'attrs':_0x571064(_0x571064({},_0x617f70[_0xc0949(0x2a9)]),{'id':_0x617f70[_0xc0949(0x2a9)]['id']+_0x55b18a[_0xc0949(0x46b)]})}):_0x617f70;})}):_0x1941e8;}function _0x387b2d(){const _0x6ada86=_0x145278;return Math[_0x6ada86(0x45d)]()[_0x6ada86(0x2ad)](0x24)[_0x6ada86(0x1fc)](0x2,0x8);}_0x2e275b[_0x145278(0x4c9)]=_0x145278(0x492);var _0x25c145={'tag':_0x145278(0x204),'attrs':{'fill':_0x145278(0x4f0),'viewBox':_0x145278(0x4b2),'width':_0x145278(0x39a),'height':_0x145278(0x39a)},'children':[{'tag':'g','attrs':{'clipPath':_0x145278(0x22c)},'children':[{'tag':_0x145278(0x35f),'attrs':{'stroke':_0x145278(0x3b0),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x145278(0x1e2),'strokeLinejoin':_0x145278(0x1e2),'strokeWidth':1.2}}]},{'tag':_0x145278(0x33b),'attrs':{},'children':[{'tag':_0x145278(0x36f),'attrs':{'id':_0x145278(0x379)},'children':[{'tag':'path','attrs':{'fill':_0x145278(0x2c9),'d':_0x145278(0x454)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x35ddaf=_0x385d1d[_0x145278(0x374)](function(_0x3c0fff,_0x27e930){const _0x35c25a=_0x145278;return _0x385d1d[_0x35c25a(0x495)](_0x2e275b,Object[_0x35c25a(0x3d3)]({},_0x3c0fff,{'id':_0x35c25a(0x4f2),'ref':_0x27e930,'icon':_0x25c145}));});_0x35ddaf[_0x145278(0x4c9)]=_0x145278(0x342);var _0x17107a={'tag':_0x145278(0x204),'attrs':{'fill':_0x145278(0x4f0),'viewBox':_0x145278(0x3f4),'width':_0x145278(0x39a),'height':_0x145278(0x39a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x145278(0x3b0),'d':_0x145278(0x275),'strokeLinecap':_0x145278(0x1e2),'strokeLinejoin':_0x145278(0x1e2),'strokeWidth':1.2}}]},{'tag':_0x145278(0x33b),'attrs':{},'children':[{'tag':_0x145278(0x36f),'attrs':{'id':_0x145278(0x4c3)},'children':[{'tag':_0x145278(0x35f),'attrs':{'fill':_0x145278(0x2c9),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x145278(0x4c3)]},_0x187f4f=_0x385d1d[_0x145278(0x374)](function(_0x36dcbb,_0x5eeda8){const _0x295a55=_0x145278;return _0x385d1d[_0x295a55(0x495)](_0x2e275b,Object[_0x295a55(0x3d3)]({},_0x36dcbb,{'id':_0x295a55(0x3a4),'ref':_0x5eeda8,'icon':_0x17107a}));});_0x187f4f[_0x145278(0x4c9)]=_0x145278(0x500);function _0x1fd24c(_0x4aa343){const _0x1409a8=_0x145278;var _0x291992,_0x214805,_0x227e8f='';if(typeof _0x4aa343==_0x1409a8(0x1eb)||typeof _0x4aa343==_0x1409a8(0x258))_0x227e8f+=_0x4aa343;else{if(typeof _0x4aa343=='object'){if(Array['isArray'](_0x4aa343)){var _0x345e83=_0x4aa343[_0x1409a8(0x37e)];for(_0x291992=0x0;_0x291992<_0x345e83;_0x291992++)_0x4aa343[_0x291992]&&(_0x214805=_0x1fd24c(_0x4aa343[_0x291992]))&&(_0x227e8f&&(_0x227e8f+='\x20'),_0x227e8f+=_0x214805);}else{for(_0x214805 in _0x4aa343)_0x4aa343[_0x214805]&&(_0x227e8f&&(_0x227e8f+='\x20'),_0x227e8f+=_0x214805);}}}return _0x227e8f;}function _0x107aba(){const _0x19c78e=_0x145278;for(var _0x6cbfac,_0x3911c4,_0x2c3f5f=0x0,_0x24c277='',_0x29c826=arguments[_0x19c78e(0x37e)];_0x2c3f5f<_0x29c826;_0x2c3f5f++)(_0x6cbfac=arguments[_0x2c3f5f])&&(_0x3911c4=_0x1fd24c(_0x6cbfac))&&(_0x24c277&&(_0x24c277+='\x20'),_0x24c277+=_0x3911c4);return _0x24c277;}const _0x262b88={'onlineStatusIcon':_0x145278(0x542),'onlineStatusTitle':_0x145278(0x28c),'onlineStatus':_0x145278(0x3c6),'online':_0x145278(0x293),'offline':_0x145278(0x219)};function _0x489d7b(_0x3e1814){const _0x2d9f98=_0x145278;switch(_0x3e1814){case _0xfe35ac[_0x2d9f98(0x14d)]:return _0x2d9f98(0x46e);case _0xfe35ac['CONFLICT']:return _0x2d9f98(0x3c1);case _0xfe35ac[_0x2d9f98(0x449)]:return'collabStatus.fetchMiss';case _0xfe35ac[_0x2d9f98(0x27d)]:return _0x2d9f98(0x12b);case _0xfe35ac[_0x2d9f98(0x520)]:case _0xfe35ac['AWAITING_WITH_PENDING']:return _0x2d9f98(0x2f5);case _0xfe35ac[_0x2d9f98(0x376)]:case _0xfe35ac[_0x2d9f98(0x430)]:return _0x2d9f98(0x25d);}}function _0x5c616d(_0x301579){const _0x3a4940=_0x145278,{status$:_0x1834bc}=_0x301579,_0x384d0a=_0x5b624f[_0x3a4940(0x1df)](_0x1834bc,_0xfe35ac[_0x3a4940(0x27d)]),_0x2e0d95=_0x349f19['useDependency'](_0x349f19['LocaleService']),_0x525984=_0x349f19['useDependency'](_0x3b531e[_0x3a4940(0x21f)]),_0xd212f=_0x384d0a!==_0xfe35ac[_0x3a4940(0x14d)],_0x1315e5=_0x2e0d95['t'](_0x489d7b(_0x384d0a)),_0x5b823a=_0x107aba(_0x262b88[_0x3a4940(0x25e)],{[_0x262b88[_0x3a4940(0x4a5)]]:_0xd212f,[_0x262b88['offline']]:!_0xd212f}),_0x295f67=_0xd212f?_0x385d1d[_0x3a4940(0x495)](_0x187f4f,null):_0x385d1d['createElement'](_0x35ddaf,null),_0x2ed136=_0x385d1d['useCallback'](()=>{_0xd212f||_0x525984['reconnect']();},[_0xd212f,_0x525984]);function _0x4752a5(){const _0x3625ba=_0x3a4940;return _0x385d1d[_0x3625ba(0x495)](_0x3625ba(0x2f4),{'className':_0x5b823a,'onClick':_0x2ed136},_0x385d1d[_0x3625ba(0x495)]('div',{'className':_0x262b88['onlineStatusIcon']},_0x295f67),_0x385d1d['createElement'](_0x3625ba(0x2f4),{'className':_0x262b88[_0x3625ba(0x4ca)]},_0x1315e5));}return _0xd212f?_0x4752a5():_0x385d1d['createElement'](_0x806671['Tooltip'],{'title':_0x2e0d95['t'](_0x3a4940(0x4d3))},_0x4752a5());}var _0xa6e92=Object[_0x145278(0x507)],_0x48c627=Object[_0x145278(0x16d)],_0x4fe360=(_0x59d45e,_0x34b1f3,_0x3ccb69,_0x16259a)=>{const _0xbfbcc0=_0x145278;for(var _0x285a6f=_0x16259a>0x1?void 0x0:_0x16259a?_0x48c627(_0x34b1f3,_0x3ccb69):_0x34b1f3,_0x68bae0=_0x59d45e[_0xbfbcc0(0x37e)]-0x1,_0x317e73;_0x68bae0>=0x0;_0x68bae0--)(_0x317e73=_0x59d45e[_0x68bae0])&&(_0x285a6f=(_0x16259a?_0x317e73(_0x34b1f3,_0x3ccb69,_0x285a6f):_0x317e73(_0x285a6f))||_0x285a6f);return _0x16259a&&_0x285a6f&&_0xa6e92(_0x34b1f3,_0x3ccb69,_0x285a6f),_0x285a6f;},_0x345229=(_0x4534a9,_0x577f69)=>(_0x281470,_0x361e65)=>_0x577f69(_0x281470,_0x361e65,_0x4534a9);_0x3b531e[_0x145278(0x435)]=class extends _0x349f19[_0x145278(0x1a4)]{constructor(_0x4dc4b4,_0x9aabe,_0x513d32,_0x2c72ec){const _0x59fdb9=_0x145278;super(),_0xbb867(this,'_status$',new _0x1e13bb[(_0x59fdb9(0x40f))](_0xfe35ac[_0x59fdb9(0x27d)])),(this[_0x59fdb9(0x31f)]=_0x4dc4b4,this[_0x59fdb9(0x19e)]=_0x9aabe,this[_0x59fdb9(0x22d)]=_0x513d32,this[_0x59fdb9(0x1aa)]=_0x2c72ec,this[_0x59fdb9(0x125)](),this[_0x59fdb9(0x14c)]());}['_initStatusListener'](){const _0x579885=_0x145278;this[_0x579885(0x1e3)](this[_0x579885(0x31f)][_0x579885(0x37c)][_0x579885(0x3f1)](_0x1e13bb[_0x579885(0x44e)](()=>{const _0x1d06d1=_0x579885,_0x39dc55=this[_0x1d06d1(0x31f)]['getFocusedUnit']();return _0x39dc55?this[_0x1d06d1(0x1aa)][_0x1d06d1(0x380)](_0x39dc55[_0x1d06d1(0x453)]()):_0x1e13bb['of'](null);}),_0x1e13bb[_0x579885(0x44e)](_0x4df2cd=>_0x4df2cd?_0x4df2cd[_0x579885(0x4fd)]:_0x1e13bb['of'](_0xfe35ac['NOT_COLLAB'])))['subscribe'](_0x264b49=>{const _0x1114d6=_0x579885;this[_0x1114d6(0x15f)][_0x1114d6(0x155)](_0x264b49);}));}[_0x145278(0x125)](){const _0x49c094=_0x145278;this[_0x49c094(0x1e3)](this[_0x49c094(0x19e)]['registerComponent'](_0x5b624f[_0x49c094(0x332)][_0x49c094(0x3b8)],()=>_0x349f19[_0x49c094(0x1b8)](_0x12de18({'status$':this['_status$'][_0x49c094(0x4de)]()}),this[_0x49c094(0x22d)])));}},_0x3b531e[_0x145278(0x435)]=_0x4fe360([_0x345229(0x0,_0x349f19[_0x145278(0x501)]),_0x345229(0x1,_0x5b624f[_0x145278(0x432)]),_0x345229(0x2,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x345229(0x3,_0x349f19[_0x145278(0x413)](_0x3b531e[_0x145278(0x446)]))],_0x3b531e['DesktopCollaborationStatusDisplayController']);function _0x12de18(_0x433283){const {status$:_0x5e29bd}=_0x433283;return function(){return _0x385d1d['createElement'](_0x5c616d,{'status$':_0x5e29bd});};}const _0x31b342=_0x349f19['createIdentifier'](_0x145278(0x24c));var _0x3c95b8=Object['defineProperty'],_0x4cf587=Object[_0x145278(0x16d)],_0x4115d5=(_0x5d8641,_0x4d185d,_0x4c1f01,_0x3f7d3c)=>{const _0x59734a=_0x145278;for(var _0x54953d=_0x3f7d3c>0x1?void 0x0:_0x3f7d3c?_0x4cf587(_0x4d185d,_0x4c1f01):_0x4d185d,_0x22a73c=_0x5d8641[_0x59734a(0x37e)]-0x1,_0x34ce3c;_0x22a73c>=0x0;_0x22a73c--)(_0x34ce3c=_0x5d8641[_0x22a73c])&&(_0x54953d=(_0x3f7d3c?_0x34ce3c(_0x4d185d,_0x4c1f01,_0x54953d):_0x34ce3c(_0x54953d))||_0x54953d);return _0x3f7d3c&&_0x54953d&&_0x3c95b8(_0x4d185d,_0x4c1f01,_0x54953d),_0x54953d;},_0x2448e1=(_0x236341,_0x5959c2)=>(_0x19122f,_0x2e23b9)=>_0x5959c2(_0x19122f,_0x2e23b9,_0x236341);_0x3b531e[_0x145278(0x3c4)]=class extends _0x349f19[_0x145278(0x4e9)]{constructor(_0x49f566,_0x3cdf02,_0x697fa9,_0x5e2fbd,_0x589724,_0x1d2528){const _0x4d85aa=_0x145278;super(),this[_0x4d85aa(0x163)]=_0x49f566,this[_0x4d85aa(0x385)]=_0x3cdf02,this[_0x4d85aa(0x375)]=_0x697fa9,this[_0x4d85aa(0x3fb)]=_0x5e2fbd,this[_0x4d85aa(0x134)]=_0x589724,_0x1d2528?_0x1d2528==null||_0x1d2528[_0x4d85aa(0x1f2)]()[_0x4d85aa(0x210)](()=>this[_0x4d85aa(0x35a)]()):(this[_0x4d85aa(0x385)]['debug']('[DataLoaderController]',_0x4d85aa(0x4ac)),this[_0x4d85aa(0x35a)]());}async[_0x145278(0x35a)](){const _0x38ed89=_0x145278,_0x263b69=this['_urlService'][_0x38ed89(0x3f3)](_0x38ed89(0x182)),_0x4f88fa=this['_urlService'][_0x38ed89(0x3f3)](_0x38ed89(0x389));if(!_0x263b69||!_0x4f88fa){this[_0x38ed89(0x385)]['debug']('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x4f88fa)){case _0x5b5eaf['UNIVER_SHEET']:{const _0x42e64e=await this['_loadSheet'](_0x263b69);this['_setupSubUnitSync'](_0x42e64e);break;}case _0x5b5eaf['UNIVER_DOC']:{await this[_0x38ed89(0x147)](_0x263b69);break;}default:{this[_0x38ed89(0x385)]['error'](_0x38ed89(0x41a),_0x38ed89(0x44d));break;}}}async[_0x145278(0x31d)](_0x4043da){const _0x1491b2=_0x145278;await this[_0x1491b2(0x2fa)](_0x4043da),_0x4043da[_0x1491b2(0x168)][_0x1491b2(0x3f1)](_0x1e13bb[_0x1491b2(0x1bc)](this[_0x1491b2(0x115)]))[_0x1491b2(0x38f)](_0x26cb30=>{const _0x7ea07a=_0x1491b2;_0x26cb30&&this[_0x7ea07a(0x17c)](_0x26cb30);}),this[_0x1491b2(0x163)]['urlChange$'][_0x1491b2(0x3f1)](_0x1e13bb[_0x1491b2(0x1bc)](this['dispose$']))[_0x1491b2(0x38f)](()=>this[_0x1491b2(0x2fa)](_0x4043da));}[_0x145278(0x17c)](_0xd95323,_0x50e117=!0x1){const _0x433ba3=_0x145278,_0x20b894=this[_0x433ba3(0x163)][_0x433ba3(0x3f3)](_0x433ba3(0x3e1));_0xd95323[_0x433ba3(0x3f2)]()!==_0x20b894&&this['_urlService']['setParam'](_0x433ba3(0x3e1),_0xd95323[_0x433ba3(0x3f2)](),_0x50e117);}async[_0x145278(0x2fa)](_0xabefec){const _0x53eeba=_0x145278;var _0x4f7f26;const _0x31e4aa=this[_0x53eeba(0x163)]['getParam'](_0x53eeba(0x3e1));if(!_0x31e4aa||!_0xabefec[_0x53eeba(0x353)](_0x31e4aa)){const _0x212734=_0xabefec['getUnhiddenWorksheets']()[0x0],_0x25c2f1=_0xabefec['getSheetBySheetId'](_0x212734);if(!_0x25c2f1)return;this[_0x53eeba(0x17c)](_0x25c2f1,!0x0),await this[_0x53eeba(0x375)][_0x53eeba(0x3e9)](_0x4c7a32[_0x53eeba(0x36b)]['id'],{'unitId':_0xabefec[_0x53eeba(0x453)](),'subUnitId':_0x212734});return;}((_0x4f7f26=_0xabefec[_0x53eeba(0x1b2)]())==null?void 0x0:_0x4f7f26[_0x53eeba(0x3f2)]())!==_0x31e4aa&&await this[_0x53eeba(0x375)][_0x53eeba(0x3e9)](_0x4c7a32[_0x53eeba(0x36b)]['id'],{'unitId':_0xabefec['getUnitId'](),'subUnitId':_0x31e4aa});}async['_loadSheet'](_0x1eaaf8){const _0x5a47db=_0x145278;let _0x2c1123=0x0;const _0x33919c=await this['_localCacheService'][_0x5a47db(0x4dc)](_0x1eaaf8);return _0x33919c&&(_0x33919c[_0x5a47db(0x409)]||_0x33919c[_0x5a47db(0x4ad)][_0x5a47db(0x37e)]!==0x0)&&(_0x2c1123=_0x33919c['rev']),_0x2c1123===0x0&&this[_0x5a47db(0x385)][_0x5a47db(0x3e3)](_0x5a47db(0x41a),_0x5a47db(0x220)),this[_0x5a47db(0x134)][_0x5a47db(0x3c5)](_0x1eaaf8,_0x2c1123);}async['_loadDoc'](_0x3502eb){const _0x323e9e=_0x145278;let _0x638a6e=0x0;const _0x37936d=await this['_localCacheService'][_0x323e9e(0x4dc)](_0x3502eb);return _0x37936d&&(_0x37936d['awaitingChangeset']||_0x37936d[_0x323e9e(0x4ad)][_0x323e9e(0x37e)]!==0x0)&&(_0x638a6e=_0x37936d[_0x323e9e(0x261)]),_0x638a6e===0x0&&this[_0x323e9e(0x385)]['debug'](_0x323e9e(0x41a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x323e9e(0x134)]['loadDoc'](_0x3502eb,_0x638a6e);}},_0x3b531e[_0x145278(0x3c4)]=_0x4115d5([_0x2448e1(0x0,_0x31b342),_0x2448e1(0x1,_0x349f19['ILogService']),_0x2448e1(0x2,_0x349f19['ICommandService']),_0x2448e1(0x3,_0x349f19[_0x145278(0x413)](_0x3b531e[_0x145278(0x30a)])),_0x2448e1(0x4,_0x349f19[_0x145278(0x413)](_0x54555c['SnapshotService'])),_0x2448e1(0x5,_0x349f19[_0x145278(0x4f6)](_0x4ce572['IRemoteInstanceService']))],_0x3b531e['DataLoaderController']);var _0x558a5b=Object[_0x145278(0x507)],_0x432b32=Object[_0x145278(0x16d)],_0x5ac813=(_0x14ef41,_0x56ce20,_0x9738a3,_0x28a351)=>{for(var _0x3948e1=_0x28a351>0x1?void 0x0:_0x28a351?_0x432b32(_0x56ce20,_0x9738a3):_0x56ce20,_0x257a40=_0x14ef41['length']-0x1,_0x30e39d;_0x257a40>=0x0;_0x257a40--)(_0x30e39d=_0x14ef41[_0x257a40])&&(_0x3948e1=(_0x28a351?_0x30e39d(_0x56ce20,_0x9738a3,_0x3948e1):_0x30e39d(_0x3948e1))||_0x3948e1);return _0x28a351&&_0x3948e1&&_0x558a5b(_0x56ce20,_0x9738a3,_0x3948e1),_0x3948e1;},_0x294357=(_0x3b23e7,_0x58b3ba)=>(_0x24279d,_0x10619e)=>_0x58b3ba(_0x24279d,_0x10619e,_0x3b23e7);const _0x335144='DEFAULT_FILE_NAME',_0x413259=_0x145278(0x130);let _0x44f32b=class extends _0x349f19['Disposable']{constructor(_0x32603e,_0x3e56f6){const _0x244ac2=_0x145278;super(),this[_0x244ac2(0x31f)]=_0x32603e,this[_0x244ac2(0x28d)]=_0x3e56f6,this[_0x244ac2(0x35a)]();}[_0x145278(0x35a)](){const _0x24dc99=_0x145278;this[_0x24dc99(0x1e3)](this[_0x24dc99(0x31f)][_0x24dc99(0x37c)][_0x24dc99(0x38f)](()=>{const _0x4bd250=_0x24dc99;var _0x5ca9fe;const _0x1d45bc=this['_univerInstanceService'][_0x4bd250(0x2da)]();let _0x58fcb6=(_0x5ca9fe=this[_0x4bd250(0x28d)]['getConfig'](_0x335144))!=null?_0x5ca9fe:_0x413259;_0x1d45bc instanceof _0x349f19[_0x4bd250(0x2db)]&&(_0x58fcb6=_0x1d45bc[_0x4bd250(0x51c)]),document[_0x4bd250(0x548)]=_0x58fcb6;}));}};_0x44f32b=_0x5ac813([_0x294357(0x0,_0x349f19['IUniverInstanceService']),_0x294357(0x1,_0x349f19['IConfigService'])],_0x44f32b);var _0x3cef7f=Object[_0x145278(0x507)],_0x250a58=Object[_0x145278(0x16d)],_0x255c89=(_0x548a67,_0x3f7295,_0x4b31aa,_0x45e32b)=>{const _0x1dc848=_0x145278;for(var _0xe38905=_0x45e32b>0x1?void 0x0:_0x45e32b?_0x250a58(_0x3f7295,_0x4b31aa):_0x3f7295,_0xa9f882=_0x548a67[_0x1dc848(0x37e)]-0x1,_0x425fe7;_0xa9f882>=0x0;_0xa9f882--)(_0x425fe7=_0x548a67[_0xa9f882])&&(_0xe38905=(_0x45e32b?_0x425fe7(_0x3f7295,_0x4b31aa,_0xe38905):_0x425fe7(_0xe38905))||_0xe38905);return _0x45e32b&&_0xe38905&&_0x3cef7f(_0x3f7295,_0x4b31aa,_0xe38905),_0xe38905;},_0x5910f8=(_0x2961b6,_0x1b4373)=>(_0x4ae2c2,_0x146b8b)=>_0x1b4373(_0x4ae2c2,_0x146b8b,_0x2961b6);let _0x499e8e=class{constructor(_0x730f9a,_0x303ca1,_0x5d34e2){const _0x3a946c=_0x145278;this['_configService']=_0x730f9a,this[_0x3a946c(0x4be)]=_0x303ca1,this[_0x3a946c(0x4a0)]=_0x5d34e2,this[_0x3a946c(0x46c)]();}[_0x145278(0x46c)](){const _0x19e2f0=_0x145278;this[_0x19e2f0(0x4be)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3e4f65,_0x5bf1ae)=>_0x5bf1ae(_0x3e4f65)[_0x19e2f0(0x3f1)](_0x1e13bb[_0x19e2f0(0x1a9)](async _0x30640e=>{const _0x149cd3=_0x19e2f0,_0x20c6d1=_0x30640e;if(_0x20c6d1[_0x149cd3(0x465)]===0x191&&window[_0x149cd3(0x357)](this[_0x149cd3(0x4a0)]['t'](_0x149cd3(0x3a6)))){const _0x10e785=window[_0x149cd3(0x3a1)](window[_0x149cd3(0x4fb)][_0x149cd3(0x144)]);window[_0x149cd3(0x4fb)][_0x149cd3(0x144)]=this[_0x149cd3(0x40e)]()+_0x149cd3(0x339)+_0x10e785;}return _0x20c6d1;}))});}[_0x145278(0x40e)](){const _0x58c33c=_0x145278;var _0x8be53,_0x685d8f;const _0x9f5d8e=this[_0x58c33c(0x28d)][_0x58c33c(0x46f)](_0x3d2741),_0x24019f=this[_0x58c33c(0x28d)][_0x58c33c(0x46f)](_0x4ea523);return(_0x685d8f=(_0x8be53=_0x24019f==null?void 0x0:_0x24019f[_0x58c33c(0x53a)])!=null?_0x8be53:_0x9f5d8e)!=null?_0x685d8f:_0x7b342b;}};_0x499e8e=_0x255c89([_0x5910f8(0x0,_0x349f19['IConfigService']),_0x5910f8(0x1,_0x349f19[_0x145278(0x413)](_0x47193d[_0x145278(0x3f8)])),_0x5910f8(0x2,_0x349f19['Inject'](_0x349f19[_0x145278(0x267)]))],_0x499e8e);var _0x13d8e0=Object[_0x145278(0x507)],_0x2c2216=Object[_0x145278(0x16d)],_0x1255ed=(_0x58db32,_0x2badcb,_0x347c27,_0x3c6257)=>{const _0x133d64=_0x145278;for(var _0x49c7a8=_0x3c6257>0x1?void 0x0:_0x3c6257?_0x2c2216(_0x2badcb,_0x347c27):_0x2badcb,_0x2e9780=_0x58db32[_0x133d64(0x37e)]-0x1,_0x57b3ed;_0x2e9780>=0x0;_0x2e9780--)(_0x57b3ed=_0x58db32[_0x2e9780])&&(_0x49c7a8=(_0x3c6257?_0x57b3ed(_0x2badcb,_0x347c27,_0x49c7a8):_0x57b3ed(_0x49c7a8))||_0x49c7a8);return _0x3c6257&&_0x49c7a8&&_0x13d8e0(_0x2badcb,_0x347c27,_0x49c7a8),_0x49c7a8;},_0x514b02=(_0x27b6d5,_0x52e63f)=>(_0x2cd4da,_0x1f5e44)=>_0x52e63f(_0x2cd4da,_0x1f5e44,_0x27b6d5);const _0x3bed12=_0x145278(0x285),_0x505d1d='/universer-api/authz';_0x3b531e[_0x145278(0x383)]=class extends _0x349f19[_0x145278(0x1a4)]{constructor(_0x59f042,_0xf46ae9){const _0x36c9dc=_0x145278;super(),this[_0x36c9dc(0x259)]=_0x59f042,this['_configService']=_0xf46ae9,this[_0x36c9dc(0x23b)]();}[_0x145278(0x23b)](){const _0x387c9b=_0x145278,_0x633481=this;this[_0x387c9b(0x1e3)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x47193d[_0x387c9b(0x2f1)]({'isMatch'(_0x2ab17e){const _0x1d3442=_0x387c9b;var _0x1a4a28;if(_0x2ab17e[_0x1d3442(0x39d)]===_0x1d3442(0x4e3)&&((_0x1a4a28=_0x2ab17e[_0x1d3442(0x452)])!=null&&_0x1a4a28['body'])){const {objectID:_0x5921c7,objectType:_0x263890}=_0x2ab17e[_0x1d3442(0x452)][_0x1d3442(0x420)]||{};if(!_0x5921c7||_0x263890===void 0x0)return!0x1;const _0x45c06a=_0x633481[_0x1d3442(0x317)]()+'/'+_0x263890+'/object/'+_0x5921c7+'/allowed';if(_0x2ab17e[_0x1d3442(0x3be)]===_0x45c06a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xf1643f){const _0x5279af=_0x387c9b;var _0x2b65d5;return(_0x2b65d5=_0xf1643f[_0x5279af(0x452)])==null?void 0x0:_0x2b65d5[_0x5279af(0x420)];},'mergeParamsToRequest'(_0x55a802,_0x22e4e3){const _0x10d27e=_0x387c9b,_0xe0a18e=_0x633481[_0x10d27e(0x317)]()+'/-/object/-/batch_allowed',_0x3d44d1=_0x55a802[_0x10d27e(0x2b1)]((_0x427450,_0x342b7)=>{const _0x2bd97d=_0x10d27e,{unitID:_0x56b684,objectID:_0x39d8be,objectType:_0x22f9ed,actions:_0x9410c1}=_0x342b7;return _0x427450[_0x56b684]||(_0x427450[_0x56b684]={}),_0x427450[_0x56b684][_0x39d8be]||(_0x427450[_0x56b684][_0x39d8be]={'objectID':_0x39d8be,'objectType':_0x22f9ed,'actions':[]}),_0x427450[_0x56b684][_0x39d8be][_0x2bd97d(0x141)][_0x2bd97d(0x276)](..._0x9410c1),_0x427450;},{}),_0x5d34a1=[];for(const _0x2d0229 in _0x3d44d1)for(const _0x265f9f in _0x3d44d1[_0x2d0229]){const {actions:_0x2cc5ce,objectType:_0x27c2b7}=_0x3d44d1[_0x2d0229][_0x265f9f],_0x5f3a26=[...new Set(_0x2cc5ce)];_0x5d34a1[_0x10d27e(0x276)]({'unitID':_0x2d0229,'objectID':_0x265f9f,'objectType':_0x27c2b7,'actions':_0x5f3a26});}return new _0x47193d[(_0x10d27e(0x197))](_0x10d27e(0x4e3),_0xe0a18e,{'headers':_0x22e4e3[_0x10d27e(0x4bd)],'withCredentials':_0x22e4e3['withCredentials'],'responseType':_0x22e4e3[_0x10d27e(0x143)],'body':{'requests':_0x5d34a1}});}},{'distributeResult'(_0x34f6c9,_0x122643){const _0x4aba0e=_0x387c9b,{objectActions:_0x36bcbb}=_0x34f6c9;return _0x122643[_0x4aba0e(0x15d)](_0xb58552=>{const _0x577ad0=_0x4aba0e,{unitID:_0x59706e,objectID:_0x4fdff7,actions:_0x250e30}=_0xb58552,_0x2a36f2=_0x36bcbb[_0x577ad0(0x373)](_0x5b832d=>_0x5b832d[_0x577ad0(0x240)]===_0x59706e&&_0x5b832d['objectID']===_0x4fdff7),_0x874369=_0x250e30[_0x577ad0(0x15d)](_0x3dbbb7=>_0x2a36f2==null?void 0x0:_0x2a36f2[_0x577ad0(0x141)][_0x577ad0(0x373)](_0x396d5e=>_0x396d5e['action']===_0x3dbbb7))[_0x577ad0(0x257)](_0x31784f=>!!_0x31784f);return{'config':_0xb58552,'result':{'actions':_0x874369,'error':_0x34f6c9['error']}};});}})}));}[_0x145278(0x317)](){const _0xbc0f96=_0x145278;var _0x317195,_0x365661;const _0x35ae1a=this[_0xbc0f96(0x28d)]['getConfig'](_0x3bed12),_0x151ba6=this[_0xbc0f96(0x28d)][_0xbc0f96(0x46f)](_0x4ea523);return(_0x365661=(_0x317195=_0x151ba6==null?void 0x0:_0x151ba6['authzUrl'])!=null?_0x317195:_0x35ae1a)!=null?_0x365661:_0x505d1d;}async[_0x145278(0x169)](_0x95db13){const _0x1ebe1=_0x145278,_0x3634a0=this[_0x1ebe1(0x317)]()+'/'+_0x95db13['objectType']+_0x1ebe1(0x38a);return(await this[_0x1ebe1(0x259)][_0x1ebe1(0x1e6)](_0x3634a0,{'body':_0x95db13}))[_0x1ebe1(0x420)]['objectID']||'';}async[_0x145278(0x47a)](_0x14c91e){const _0x4d7ae8=_0x145278,_0x2541ee=this[_0x4d7ae8(0x317)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x2541ee,{'body':_0x14c91e}))['body'][_0x4d7ae8(0x4f9)];}async[_0x145278(0x4f7)](_0x122382){const _0x22d040=_0x145278,_0x2f2bd4=this[_0x22d040(0x317)]()+'/'+_0x122382['objectType']+_0x22d040(0x52d)+_0x122382[_0x22d040(0x2a3)];await this['_HTTPService'][_0x22d040(0x378)](_0x2f2bd4,{'body':_0x122382});}async[_0x145278(0x278)](_0x3e0a94){const _0x19ec9a=_0x145278,_0x20fc05=this[_0x19ec9a(0x317)]()+'/'+_0x3e0a94[_0x19ec9a(0x40a)]+_0x19ec9a(0x52d)+_0x3e0a94['objectID']+_0x19ec9a(0x528);return(await this[_0x19ec9a(0x259)][_0x19ec9a(0x1e6)](_0x20fc05,{'body':_0x3e0a94}))[_0x19ec9a(0x420)][_0x19ec9a(0x141)];}async[_0x145278(0x165)](_0x45f474){const _0x19aa37=_0x145278,_0x3ace52=this[_0x19aa37(0x317)]()+_0x19aa37(0x1e9);return(await this['_HTTPService']['post'](_0x3ace52,{'body':{'requests':_0x45f474}}))[_0x19aa37(0x420)][_0x19aa37(0x498)];}async[_0x145278(0x138)](_0x2d7ea6){const _0x47a529=_0x145278,_0x41ec69=this[_0x47a529(0x317)]()+'/'+_0x2d7ea6[_0x47a529(0x40a)]+_0x47a529(0x43c),_0x37153e=await this[_0x47a529(0x259)][_0x47a529(0x1e6)](_0x41ec69,{'body':_0x2d7ea6});return{'roles':_0x37153e[_0x47a529(0x420)][_0x47a529(0x29a)],'actions':_0x37153e[_0x47a529(0x420)][_0x47a529(0x141)]};}async[_0x145278(0x1f0)](_0x1044da){const _0x35adc7=_0x145278,_0x45e130=this[_0x35adc7(0x317)]()+_0x35adc7(0x286);await this['_HTTPService'][_0x35adc7(0x4f4)](_0x45e130,{'params':{'collaboratorID':_0x1044da[_0x35adc7(0x368)],'objectID':_0x1044da[_0x35adc7(0x2a3)],'unitID':_0x1044da['unitID']}});}async[_0x145278(0x464)](_0x3cdaf7){const _0x7452fd=_0x145278,_0x46db5b=this[_0x7452fd(0x317)]()+_0x7452fd(0x286);await this[_0x7452fd(0x259)][_0x7452fd(0x2cc)](_0x46db5b,{'body':_0x3cdaf7});}async[_0x145278(0x15e)](_0x1a8c09){const _0x4ee32b=_0x145278,_0x52b894=this[_0x4ee32b(0x317)]()+_0x4ee32b(0x286);await this[_0x4ee32b(0x259)]['post'](_0x52b894,{'body':_0x1a8c09});}async[_0x145278(0x160)](_0x2d195c){const _0x4f7ed7=_0x145278,_0x45611c=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x4f7ed7(0x259)][_0x4f7ed7(0x4b6)](_0x45611c,{'params':{'objectID':_0x2d195c[_0x4f7ed7(0x2a3)],'unitID':_0x2d195c['unitID']}}))[_0x4f7ed7(0x420)][_0x4f7ed7(0x191)];}async[_0x145278(0x550)](_0x173768){const _0x362575=_0x145278,_0x23faef=this['_getAPIPrefixPath']()+_0x362575(0x286);await this[_0x362575(0x259)][_0x362575(0x378)](_0x23faef,{'body':_0x173768});}},_0x3b531e[_0x145278(0x383)]=_0x1255ed([_0x514b02(0x0,_0x349f19[_0x145278(0x413)](_0x47193d[_0x145278(0x3f8)])),_0x514b02(0x1,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x424)]))],_0x3b531e['AuthzIoHttpService']);var _0x2860e6=Object[_0x145278(0x507)],_0x14f299=Object['getOwnPropertyDescriptor'],_0x58ada3=(_0x203759,_0x3193a3,_0x750a9b,_0x811a92)=>{const _0x532ebb=_0x145278;for(var _0x731249=_0x811a92>0x1?void 0x0:_0x811a92?_0x14f299(_0x3193a3,_0x750a9b):_0x3193a3,_0x30267d=_0x203759[_0x532ebb(0x37e)]-0x1,_0x7c9a8c;_0x30267d>=0x0;_0x30267d--)(_0x7c9a8c=_0x203759[_0x30267d])&&(_0x731249=(_0x811a92?_0x7c9a8c(_0x3193a3,_0x750a9b,_0x731249):_0x7c9a8c(_0x731249))||_0x731249);return _0x811a92&&_0x731249&&_0x2860e6(_0x3193a3,_0x750a9b,_0x731249),_0x731249;},_0x222d7b=(_0x5d1755,_0x3d0df6)=>(_0x3d8121,_0x41d0ea)=>_0x3d0df6(_0x3d8121,_0x41d0ea,_0x5d1755);let _0x4f3ef6=class{constructor(_0x32f92e){const _0x5447a7=_0x145278;this[_0x5447a7(0x4be)]=_0x32f92e,this[_0x5447a7(0x1b0)]();}[_0x145278(0x1b0)](){const _0x28e812=_0x145278;this[_0x28e812(0x4be)]['registerHTTPInterceptor']({'interceptor':(_0x4f74f4,_0x232b19)=>{const _0x19a100=_0x28e812,_0x300d21=_0x4f74f4[_0x19a100(0x4bd)],_0x48fede=_0x5bb22a[_0x19a100(0x2ed)]();return _0x48fede&&_0x300d21[_0x19a100(0x253)](_0x19a100(0x32b),_0x48fede),_0x232b19(_0x4f74f4);}});}};_0x4f3ef6=_0x58ada3([_0x222d7b(0x0,_0x349f19[_0x145278(0x413)](_0x47193d[_0x145278(0x3f8)]))],_0x4f3ef6);var _0x4f61c3=Object[_0x145278(0x507)],_0x4ce4dc=Object[_0x145278(0x16d)],_0x2887e3=(_0x3dc3d2,_0x3838f5,_0x1985de,_0x4d7dc7)=>{for(var _0x20e40a=_0x4d7dc7>0x1?void 0x0:_0x4d7dc7?_0x4ce4dc(_0x3838f5,_0x1985de):_0x3838f5,_0x2e5212=_0x3dc3d2['length']-0x1,_0x54cda1;_0x2e5212>=0x0;_0x2e5212--)(_0x54cda1=_0x3dc3d2[_0x2e5212])&&(_0x20e40a=(_0x4d7dc7?_0x54cda1(_0x3838f5,_0x1985de,_0x20e40a):_0x54cda1(_0x20e40a))||_0x20e40a);return _0x4d7dc7&&_0x20e40a&&_0x4f61c3(_0x3838f5,_0x1985de,_0x20e40a),_0x20e40a;},_0x6a6a6=(_0x19acce,_0x51bcee)=>(_0x1f74c8,_0x354086)=>_0x51bcee(_0x1f74c8,_0x354086,_0x19acce);const _0x3612cd=[_0x145278(0x2ce),_0x145278(0x3e6),'image/jpg',_0x145278(0x333),_0x145278(0x485)],_0x5de3b5=0x5*0x400*0x400,_0x3245f6='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x2be33f=_0x145278(0x457),_0x1aa15f=_0x145278(0x2f0),_0x269115=_0x145278(0x30b);_0x3b531e['ImageIoService']=class{constructor(_0x412b7f,_0x2203d5,_0x608d2b){const _0x197a2d=_0x145278;_0xbb867(this,_0x197a2d(0x530),0x0),_0xbb867(this,_0x197a2d(0x1d2),new _0x1e13bb[(_0x197a2d(0x410))]()),_0xbb867(this,_0x197a2d(0x4eb),this[_0x197a2d(0x1d2)]),_0xbb867(this,_0x197a2d(0x3a0),new Map()),(this[_0x197a2d(0x4be)]=_0x412b7f,this[_0x197a2d(0x28d)]=_0x2203d5,this[_0x197a2d(0x31f)]=_0x608d2b);}[_0x145278(0x2d5)](_0xe381ba){const _0x132b1b=_0x145278;this[_0x132b1b(0x530)]=_0xe381ba,this[_0x132b1b(0x1d2)][_0x132b1b(0x155)](_0xe381ba);}['getImageSourceCache'](_0x3456b4,_0xfcb03a){const _0x11b110=_0x145278;if(_0xfcb03a===_0xaccc08['ImageSourceType'][_0x11b110(0x4d4)]){const _0xbc7a3d=new Image();return _0xbc7a3d[_0x11b110(0x43b)]=_0x3456b4,_0xbc7a3d;}return this['_imageSourceCache'][_0x11b110(0x4b6)](_0x3456b4);}[_0x145278(0x36a)](_0x1b4cb2,_0xefb485,_0x3f0a4f){const _0x18de75=_0x145278;_0xefb485===_0xaccc08[_0x18de75(0x48a)][_0x18de75(0x4d4)]||_0x3f0a4f==null||this[_0x18de75(0x3a0)][_0x18de75(0x253)](_0x1b4cb2,_0x3f0a4f);}async['getImage'](_0x1b03bd){const _0x5a259e=_0x145278;try{const _0x453ffb=this['_replaceFileID'](this[_0x5a259e(0x214)](),''+_0x1b03bd),_0x3f69c9=(await this[_0x5a259e(0x4be)][_0x5a259e(0x4b6)](_0x453ffb))['body'];if(_0x3f69c9[_0x5a259e(0x4aa)]&&_0x3f69c9[_0x5a259e(0x4aa)]['code']===_0x21d834['OK']){const _0x2f8340=new URL(_0x3f69c9[_0x5a259e(0x3be)],this[_0x5a259e(0x3bd)]())[_0x5a259e(0x2ad)]();return Promise['resolve'](_0x2f8340);}return Promise[_0x5a259e(0x281)](_0x3f69c9[_0x5a259e(0x4aa)]);}catch(_0x3ea692){return Promise['reject'](_0x3ea692);}}async[_0x145278(0x2ae)](_0x54b65a){const _0x1990e5=_0x145278;let _0x14ce05='';if(!_0x3612cd[_0x1990e5(0x330)](_0x54b65a[_0x1990e5(0x389)]))return this[_0x1990e5(0x4fe)](),Promise[_0x1990e5(0x281)](new Error(_0xaccc08[_0x1990e5(0x1f8)][_0x1990e5(0x521)]));if(_0x54b65a[_0x1990e5(0x35e)]>_0x5de3b5)return this[_0x1990e5(0x4fe)](),Promise[_0x1990e5(0x281)](new Error(_0xaccc08['ImageUploadStatusType'][_0x1990e5(0x4a9)]));try{const _0xf7fd4b=new FormData();_0xf7fd4b[_0x1990e5(0x3d1)](_0x1990e5(0x288),_0x54b65a);const _0x3eae83=this[_0x1990e5(0x31f)][_0x1990e5(0x2da)](),_0x1e6247=_0x3eae83==null?void 0x0:_0x3eae83[_0x1990e5(0x453)]();if(!_0x1e6247)throw new Error(_0x1990e5(0x26d));const _0xa9adad=this[_0x1990e5(0x215)]()+_0x1990e5(0x310)+_0x54b65a['size'][_0x1990e5(0x2ad)]()+_0x1990e5(0x282)+_0x521080[_0x1990e5(0x511)]+_0x1990e5(0x133)+encodeURIComponent(_0x1e6247),_0x5ae4db=await(await fetch(_0xa9adad,{'method':'POST','body':_0xf7fd4b}))[_0x1990e5(0x40d)]();if(typeof _0x5ae4db[_0x1990e5(0x41b)]!=_0x1990e5(0x1eb))return this[_0x1990e5(0x4fe)](),Promise['reject'](new Error(_0xaccc08[_0x1990e5(0x1f8)][_0x1990e5(0x2bc)]));_0x14ce05=_0x5ae4db[_0x1990e5(0x41b)];}catch{return this[_0x1990e5(0x4fe)](),Promise[_0x1990e5(0x281)](new Error(_0xaccc08[_0x1990e5(0x1f8)][_0x1990e5(0x2bc)]));}return new Promise((_0x427696,_0x179b41)=>{const _0x43edab=_0x1990e5,_0x34444f=new FileReader();_0x34444f[_0x43edab(0x1ce)](_0x54b65a),_0x34444f[_0x43edab(0x2b7)]=_0x3bdce1=>{const _0x5c292b=_0x43edab;var _0x45131d;const _0x201f8d=(_0x45131d=_0x3bdce1[_0x5c292b(0x50e)])==null?void 0x0:_0x45131d[_0x5c292b(0x42e)];if(_0x201f8d==null){this[_0x5c292b(0x4fe)](),_0x179b41(new Error(_0xaccc08[_0x5c292b(0x1f8)][_0x5c292b(0x2bc)]));return;}const _0x10613b=_0x349f19['Tools'][_0x5c292b(0x4d7)](0x6);_0x427696({'imageId':_0x10613b,'imageSourceType':_0xaccc08['ImageSourceType'][_0x5c292b(0x531)],'source':_0x14ce05,'base64Cache':_0x201f8d,'status':_0xaccc08[_0x5c292b(0x1f8)][_0x5c292b(0x3d2)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x3351ab=_0x145278;var _0x4df41a,_0x24d531;const _0x325356=this[_0x3351ab(0x28d)][_0x3351ab(0x46f)](_0x3245f6),_0x91c364=this[_0x3351ab(0x28d)][_0x3351ab(0x46f)](_0x4ea523);return(_0x24d531=(_0x4df41a=_0x91c364==null?void 0x0:_0x91c364['uploadFileServerUrl'])!=null?_0x4df41a:_0x325356)!=null?_0x24d531:_0x2be33f;}[_0x145278(0x214)](){const _0x3704be=_0x145278;var _0x5aa19e,_0x5480e4;const _0xb8bbff=this['_configService'][_0x3704be(0x46f)](_0x1aa15f),_0x37feab=this[_0x3704be(0x28d)][_0x3704be(0x46f)](_0x4ea523);return(_0x5480e4=(_0x5aa19e=_0x37feab==null?void 0x0:_0x37feab['signUrlServerUrl'])!=null?_0x5aa19e:_0xb8bbff)!=null?_0x5480e4:_0x269115;}[_0x145278(0x3bd)](){const _0x2d4425=_0x145278;var _0x2e5b26;const _0x55d7c4=this[_0x2d4425(0x28d)][_0x2d4425(0x46f)](_0x4ea523);return(_0x2e5b26=_0x55d7c4==null?void 0x0:_0x55d7c4['downloadEndpointUrl'])!=null?_0x2e5b26:location['origin'];}['_replaceFileID'](_0x47fbc6,_0x5502c3){const _0x5912a4=_0x145278;return _0x47fbc6['replace'](_0x5912a4(0x553),_0x5502c3);}[_0x145278(0x4fe)](){const _0xb3c1bc=_0x145278;this['_waitCount']-=0x1,this['_change$']['next'](this[_0xb3c1bc(0x530)]);}},_0x3b531e[_0x145278(0x47d)]=_0x2887e3([_0x6a6a6(0x0,_0x349f19['Inject'](_0x47193d[_0x145278(0x3f8)])),_0x6a6a6(0x1,_0x349f19[_0x145278(0x424)]),_0x6a6a6(0x2,_0x349f19['Inject'](_0x349f19[_0x145278(0x501)]))],_0x3b531e[_0x145278(0x47d)]);var _0x11760e=Object['defineProperty'],_0x4297c2=Object['getOwnPropertyDescriptor'],_0x1b1ef6=(_0x39cae4,_0x5d68cf,_0x213e5d,_0x8b01cd)=>{const _0x4faec5=_0x145278;for(var _0x1fff61=_0x8b01cd>0x1?void 0x0:_0x8b01cd?_0x4297c2(_0x5d68cf,_0x213e5d):_0x5d68cf,_0xae61a5=_0x39cae4[_0x4faec5(0x37e)]-0x1,_0x3bf618;_0xae61a5>=0x0;_0xae61a5--)(_0x3bf618=_0x39cae4[_0xae61a5])&&(_0x1fff61=(_0x8b01cd?_0x3bf618(_0x5d68cf,_0x213e5d,_0x1fff61):_0x3bf618(_0x1fff61))||_0x1fff61);return _0x8b01cd&&_0x1fff61&&_0x11760e(_0x5d68cf,_0x213e5d,_0x1fff61),_0x1fff61;},_0x309dcc=(_0x14b3db,_0x16d487)=>(_0x347eb6,_0x2c233d)=>_0x16d487(_0x347eb6,_0x2c233d,_0x14b3db);let _0x531ea0=class extends _0x349f19[_0x145278(0x4e9)]{constructor(_0xb7a0fa,_0x5d9f37,_0x4df948,_0x2fbb52,_0x342ad3){const _0xf59903=_0x145278;super(),this[_0xf59903(0x22d)]=_0xb7a0fa,this[_0xf59903(0x31f)]=_0x5d9f37,this[_0xf59903(0x201)]=_0x4df948,this[_0xf59903(0x49e)]=_0x2fbb52,this['_localeService']=_0x342ad3,this[_0xf59903(0x4ef)](),this[_0xf59903(0x334)]();}['_initCloseConn'](){const _0x3ed27d=_0x145278,_0x1ee09d=async _0x305ffe=>{const _0x467269=_0x2aa9;(await this[_0x467269(0x49e)]['requireSession'](_0x305ffe))[_0x467269(0x403)]['pipe'](_0x501e2e[_0x467269(0x257)](_0x30cfc1=>_0x30cfc1[_0x467269(0x1c0)]===_0x54555c[_0x467269(0x547)][_0x467269(0x2ca)]),_0x501e2e['takeUntil'](this[_0x467269(0x115)]))['subscribe'](_0x1c8ae9=>{const _0x2e9d0d=_0x467269,_0x4cec6b=_0x1c8ae9,{reason:_0x590de1}=_0x4cec6b[_0x2e9d0d(0x2d2)];this['_injector']['get'](_0x5b624f[_0x2e9d0d(0x434)])[_0x2e9d0d(0x303)]({'type':_0x806671[_0x2e9d0d(0x116)][_0x2e9d0d(0x455)],'content':this[_0x2e9d0d(0x207)]['t'](_0x2e9d0d(0x228))+'('+_0x590de1+')'}),this[_0x2e9d0d(0x201)][_0x2e9d0d(0x1c2)](new _0x4c7a32[(_0x2e9d0d(0x287))](_0x305ffe)['id'],!0x1),this[_0x2e9d0d(0x49e)][_0x2e9d0d(0x1da)](_0x305ffe);});};_0x1e13bb['merge'](this[_0x3ed27d(0x31f)][_0x3ed27d(0x393)](_0x349f19[_0x3ed27d(0x426)][_0x3ed27d(0x431)]),this[_0x3ed27d(0x31f)][_0x3ed27d(0x393)](_0x349f19['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x501e2e[_0x3ed27d(0x15d)](_0x5b14ac=>_0x5b14ac[_0x3ed27d(0x453)]()),_0x501e2e[_0x3ed27d(0x257)](_0x29f065=>!_0x349f19[_0x3ed27d(0x264)](_0x29f065)),_0x501e2e[_0x3ed27d(0x1bc)](this[_0x3ed27d(0x115)]))[_0x3ed27d(0x38f)](_0x22ba2b=>{_0x1ee09d(_0x22ba2b);});}[_0x145278(0x4ef)](){const _0x263d1f=_0x145278,_0x51b01e=async _0x4f92b3=>{const _0xef144f=_0x2aa9;(await this[_0xef144f(0x49e)][_0xef144f(0x4ab)](_0x4f92b3))[_0xef144f(0x403)]['pipe'](_0x501e2e[_0xef144f(0x257)](_0x312ac0=>_0x312ac0[_0xef144f(0x1c0)]===_0x54555c[_0xef144f(0x547)]['UPDATE_PERMISSION_OBJ']),_0x501e2e[_0xef144f(0x1bc)](this[_0xef144f(0x115)]))[_0xef144f(0x38f)](_0x15ffd2=>{const _0x57770e=_0xef144f,_0x524ae7=_0x15ffd2,{objectId:_0x2a29b2}=_0x524ae7['data'],_0x5ca9b6=this[_0x57770e(0x22d)][_0x57770e(0x4b6)](_0xa0e5aa['SheetPermissionInitController']);_0x2a29b2===_0x4f92b3?_0x5ca9b6['initWorkbookPermissionChange'](_0x4f92b3):_0x5ca9b6[_0x57770e(0x3d4)](_0x4f92b3,_0x2a29b2);});};_0x1e13bb[_0x263d1f(0x1a2)](this[_0x263d1f(0x31f)][_0x263d1f(0x393)](_0x349f19[_0x263d1f(0x426)][_0x263d1f(0x431)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x349f19[_0x263d1f(0x426)][_0x263d1f(0x22e)]))[_0x263d1f(0x3f1)](_0x501e2e[_0x263d1f(0x15d)](_0x56ef21=>_0x56ef21[_0x263d1f(0x453)]()),_0x501e2e[_0x263d1f(0x257)](_0x6d0d05=>!_0x349f19[_0x263d1f(0x264)](_0x6d0d05)),_0x501e2e[_0x263d1f(0x1bc)](this[_0x263d1f(0x115)]))['subscribe'](_0x1e3a9a=>{_0x51b01e(_0x1e3a9a);});}};_0x531ea0=_0x1b1ef6([_0x309dcc(0x0,_0x349f19[_0x145278(0x413)](_0x349f19[_0x145278(0x3b7)])),_0x309dcc(0x1,_0x349f19[_0x145278(0x501)]),_0x309dcc(0x2,_0x349f19['IPermissionService']),_0x309dcc(0x3,_0x349f19['Inject'](_0x3b531e[_0x145278(0x21f)])),_0x309dcc(0x4,_0x349f19['Inject'](_0x349f19['LocaleService']))],_0x531ea0);var _0x45243c=Object[_0x145278(0x507)],_0x50cb65=Object[_0x145278(0x16d)],_0x1dc25e=(_0x3bac71,_0x13efd9,_0x12811e,_0x4fe422)=>{for(var _0x43ee75=_0x4fe422>0x1?void 0x0:_0x4fe422?_0x50cb65(_0x13efd9,_0x12811e):_0x13efd9,_0x277f11=_0x3bac71['length']-0x1,_0x349ecb;_0x277f11>=0x0;_0x277f11--)(_0x349ecb=_0x3bac71[_0x277f11])&&(_0x43ee75=(_0x4fe422?_0x349ecb(_0x13efd9,_0x12811e,_0x43ee75):_0x349ecb(_0x43ee75))||_0x43ee75);return _0x4fe422&&_0x43ee75&&_0x45243c(_0x13efd9,_0x12811e,_0x43ee75),_0x43ee75;},_0x56f810=(_0x3b53f3,_0x485564)=>(_0x5bd3f8,_0x602784)=>_0x485564(_0x5bd3f8,_0x602784,_0x3b53f3);_0x3b531e[_0x145278(0x1fd)]=class{constructor(_0x4477ac,_0x4d238a){const _0x585aca=_0x145278;this['_configService']=_0x4477ac,this[_0x585aca(0x4be)]=_0x4d238a;}async[_0x145278(0x4e7)](_0x400bc9,_0x4ac4d2){const _0x55c10a=_0x145278;var _0x4e926a;const {unitID:_0x325687,type:_0x4c1869,revision:_0x2b3372=0x0}=_0x4ac4d2,_0x329434=this['_getSnapshotAPIPrefix']()+'/'+_0x4c1869+'/unit/'+_0x325687+_0x55c10a(0x537)+_0x2b3372,_0x20a7d3=(await this[_0x55c10a(0x4be)]['get'](_0x329434))[_0x55c10a(0x420)],_0x501abf=(_0x4e926a=_0x20a7d3[_0x55c10a(0x439)])==null?void 0x0:_0x4e926a[_0x55c10a(0x3bc)];if(_0x501abf){const _0x3b14cc=_0x501abf==null?void 0x0:_0x501abf['originalMeta'],_0x571c1f=_0x54555c['textEncoder']['encode'](_0x54555c[_0x55c10a(0x305)](_0x3b14cc));_0x501abf[_0x55c10a(0x272)]=_0x571c1f,Object[_0x55c10a(0x512)](_0x501abf[_0x55c10a(0x2b9)])['forEach'](([,_0x281210])=>{const _0x5b6f50=_0x55c10a,_0x4fdcd8=_0x281210[_0x5b6f50(0x272)],_0x371dc8=_0x54555c[_0x5b6f50(0x222)][_0x5b6f50(0x224)](_0x54555c['b64DecodeUnicode'](_0x4fdcd8));_0x281210['originalMeta']=_0x371dc8;});}return _0x20a7d3;}async[_0x145278(0x150)](_0x1a3343,_0x5c914d){const _0x273383=_0x145278,{unitID:_0x5d6131,type:_0x35009a,blockID:_0x23349d}=_0x5c914d,_0x482d0e=this['_getAPIPrefix']()+'/'+_0x35009a+_0x273383(0x209)+_0x5d6131+_0x273383(0x1cd)+_0x23349d;return(await this[_0x273383(0x4be)][_0x273383(0x4b6)](_0x482d0e))[_0x273383(0x420)];}async['getDeserializedSheetBlock'](_0x19043d,_0x434f5f){const _0x2088ae=_0x145278,{unitID:_0x3d0167,type:_0xe72bc,blockID:_0x4890fe}=_0x434f5f,_0x4c0619=this[_0x2088ae(0x1ff)]()+_0x2088ae(0x1cd)+_0xe72bc+_0x2088ae(0x209)+_0x3d0167+_0x2088ae(0x1cd)+_0x4890fe;return(await this[_0x2088ae(0x4be)][_0x2088ae(0x4b6)](_0x4c0619))[_0x2088ae(0x420)];}async[_0x145278(0x296)](_0x3cbaf9,_0xad3eb6){const _0x2f5b96=_0x145278,{unitID:_0x558893,type:_0x51a869,from:_0x539141,to:_0x379f94}=_0xad3eb6,_0x56e6c0=this[_0x2f5b96(0x1ff)]()+'/'+_0x51a869+_0x2f5b96(0x209)+_0x558893+'/fetchmissing?from='+_0x539141+'&to='+_0x379f94;return(await this[_0x2f5b96(0x4be)][_0x2f5b96(0x4b6)](_0x56e6c0))[_0x2f5b96(0x420)];}[_0x145278(0x230)](){const _0x267417=_0x145278;var _0x501c59;return(_0x501c59=this[_0x267417(0x28d)][_0x267417(0x46f)](_0x1fe014))!=null?_0x501c59:this[_0x267417(0x1ff)]();}[_0x145278(0x1ff)](){const _0x4dc010=_0x145278;var _0x2a3af0,_0x4b1ea5;const _0x1b16cb=this['_configService'][_0x4dc010(0x46f)](_0x1f76a6),_0x363c91=this[_0x4dc010(0x28d)][_0x4dc010(0x46f)](_0x4ea523);return(_0x4b1ea5=(_0x2a3af0=_0x363c91==null?void 0x0:_0x363c91[_0x4dc010(0x32d)])!=null?_0x2a3af0:_0x1b16cb)!=null?_0x4b1ea5:_0x137d51;}async[_0x145278(0x471)](_0x4c200e,_0x2230d8){const _0x24c60b=_0x145278,_0x3d4392='/universer-api/snapshot/'+_0x2230d8['type']+_0x24c60b(0x209)+_0x2230d8['unitID']+'/resources';return(await this['_httpService'][_0x24c60b(0x4b6)](_0x3d4392,{'params':{'resourceId':JSON[_0x24c60b(0x140)](_0x2230d8[_0x24c60b(0x2a0)])}}))[_0x24c60b(0x420)];}['saveSnapshot'](){const _0x26eda3=_0x145278;throw new Error(_0x26eda3(0x349));}[_0x145278(0x1b1)](){const _0x6a5d12=_0x145278;throw new Error(_0x6a5d12(0x349));}[_0x145278(0x181)](){const _0x432b11=_0x145278;throw new Error(_0x432b11(0x349));}[_0x145278(0x40b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x145278(0x34d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x3b531e['SnapshotServerOverHTTPService']=_0x1dc25e([_0x56f810(0x0,_0x349f19[_0x145278(0x424)]),_0x56f810(0x1,_0x349f19[_0x145278(0x413)](_0x47193d[_0x145278(0x3f8)]))],_0x3b531e[_0x145278(0x1fd)]);var _0x454eef=Object['defineProperty'],_0x5abc9c=Object['getOwnPropertyDescriptor'],_0x11ef68=(_0x1b2603,_0x3d390b,_0x1b3c32,_0x1e7d4)=>{const _0x56cbe6=_0x145278;for(var _0x44e567=_0x1e7d4>0x1?void 0x0:_0x1e7d4?_0x5abc9c(_0x3d390b,_0x1b3c32):_0x3d390b,_0x2f63c3=_0x1b2603[_0x56cbe6(0x37e)]-0x1,_0xd937a7;_0x2f63c3>=0x0;_0x2f63c3--)(_0xd937a7=_0x1b2603[_0x2f63c3])&&(_0x44e567=(_0x1e7d4?_0xd937a7(_0x3d390b,_0x1b3c32,_0x44e567):_0xd937a7(_0x44e567))||_0x44e567);return _0x1e7d4&&_0x44e567&&_0x454eef(_0x3d390b,_0x1b3c32,_0x44e567),_0x44e567;},_0x52c408=(_0x808ff3,_0x51e11c)=>(_0x57021d,_0x1d77e1)=>_0x51e11c(_0x57021d,_0x1d77e1,_0x808ff3);let _0x761cdc=class extends _0x349f19[_0x145278(0x2f2)]{constructor(_0x49cd72,_0x4b703c,_0x26c44e,_0x18ef66,_0x188853){const _0x269801=_0x145278;super(_0x49cd72,_0x4b703c,_0x26c44e),this[_0x269801(0x28a)]=_0x18ef66,this[_0x269801(0x385)]=_0x188853;}['transformUndoRedo'](_0x597898,_0x36bd30){const _0xcfe476=_0x145278,_0x296ee7=this[_0xcfe476(0x244)](_0x597898);if(_0x296ee7)try{const _0x59fea7=this[_0xcfe476(0x4b7)](_0x296ee7,_0x36bd30);this[_0xcfe476(0x268)](_0x597898,_0x59fea7);}catch(_0x318786){this[_0xcfe476(0x385)][_0xcfe476(0x4aa)](_0xcfe476(0x4a1),_0x318786),this['_clearUndo'](_0x597898);}const _0x54c94a=this['_getRedoStack'](_0x597898);if(_0x54c94a)try{const _0x3ed4c2=this['_transformStack'](_0x54c94a,_0x36bd30);this['_substituteRedoStack'](_0x597898,_0x3ed4c2);}catch(_0x32c08e){this[_0xcfe476(0x385)][_0xcfe476(0x4aa)](_0x32c08e),this[_0xcfe476(0x396)](_0x597898);}}[_0x145278(0x234)](_0x391a7a){const _0x4306dd=_0x145278,_0x3eeee2=this[_0x4306dd(0x244)](_0x391a7a);_0x3eeee2&&(_0x3eeee2[_0x4306dd(0x37e)]=0x0,this[_0x4306dd(0x3de)]());}[_0x145278(0x396)](_0x3bce46){const _0x793e42=_0x145278,_0x25af6a=this[_0x793e42(0x39c)](_0x3bce46);_0x25af6a&&(_0x25af6a[_0x793e42(0x37e)]=0x0,this[_0x793e42(0x3de)]());}['_substituteUndoStack'](_0x7d83d4,_0x5e8a9a){const _0x562c2c=_0x145278;this[_0x562c2c(0x460)][_0x562c2c(0x253)](_0x7d83d4,_0x5e8a9a),this[_0x562c2c(0x3de)]();}[_0x145278(0x273)](_0x51fe35,_0x4af11a){const _0x4fa3cd=_0x145278;this[_0x4fa3cd(0x2aa)][_0x4fa3cd(0x253)](_0x51fe35,_0x4af11a),this[_0x4fa3cd(0x3de)]();}[_0x145278(0x4b7)](_0xc9eb38,_0x3fadf7){const _0x20492d=_0x145278,_0x2d6ddf=[];let _0xf22ad=_0x3fadf7,_0x43650c=_0x3fadf7;for(let _0x310826=_0xc9eb38[_0x20492d(0x37e)]-0x1;_0x310826>=0x0;_0x310826--){const {unitID:_0x5e70f5,undoMutations:_0xcc2cec,redoMutations:_0x298dd1}=_0xc9eb38[_0x310826],_0x128a52=this[_0x20492d(0x28a)][_0x20492d(0x21c)](_0xf22ad,_0xcc2cec),_0x121cd3=this['_transformService'][_0x20492d(0x21c)](_0x43650c,_0x298dd1);if(_0x54555c[_0x20492d(0x43d)](_0x128a52)||_0x54555c[_0x20492d(0x43d)](_0x121cd3)){this[_0x20492d(0x385)]['error']('[CollaborationUndoRedoService]',_0x20492d(0x3ea),_0x128a52,_0x121cd3);break;}_0xf22ad=_0x128a52['c1Prime'],_0x43650c=_0x121cd3[_0x20492d(0x26b)],_0x2d6ddf[_0x20492d(0x276)]({'unitID':_0x5e70f5,'undoMutations':_0x128a52[_0x20492d(0x2a5)],'redoMutations':_0x121cd3[_0x20492d(0x2a5)]});}return _0x2d6ddf[_0x20492d(0x42f)]();}};_0x761cdc=_0x11ef68([_0x52c408(0x0,_0x349f19[_0x145278(0x501)]),_0x52c408(0x1,_0x349f19[_0x145278(0x36e)]),_0x52c408(0x2,_0x349f19['IContextService']),_0x52c408(0x3,_0x54555c[_0x145278(0x42a)]),_0x52c408(0x4,_0x349f19['ILogService'])],_0x761cdc);class _0x16ca01 extends _0x349f19[_0x145278(0x4e9)]{constructor(){const _0x5b6f76=_0x145278;super(),_0xbb867(this,'urlChange$'),this[_0x5b6f76(0x3af)]=_0x1e13bb[_0x5b6f76(0x2d6)](window,_0x5b6f76(0x4c0))[_0x5b6f76(0x3f1)](_0x1e13bb['takeUntil'](this[_0x5b6f76(0x115)]),_0x1e13bb[_0x5b6f76(0x1d6)](0x1),_0x1e13bb[_0x5b6f76(0x2cb)](void 0x0));}[_0x145278(0x427)](_0x47e807,_0x3e805d,_0x32dc7f=!0x1){const _0x1c0314=_0x145278,_0x1377b4=new URL(window[_0x1c0314(0x4fb)][_0x1c0314(0x144)]);_0x1377b4['searchParams'][_0x1c0314(0x253)](_0x47e807,_0x3e805d),_0x32dc7f?window[_0x1c0314(0x3c0)]['replaceState']('','',_0x1377b4[_0x1c0314(0x2ad)]()):window[_0x1c0314(0x3c0)][_0x1c0314(0x37b)]('','',_0x1377b4['toString']());}['removeParam'](_0x362af6,_0x5b8e0d=!0x1){const _0x72bdfa=_0x145278,_0x48b0f8=new URL(window[_0x72bdfa(0x4fb)][_0x72bdfa(0x144)]);_0x48b0f8[_0x72bdfa(0x16c)][_0x72bdfa(0x4f4)](_0x362af6),_0x5b8e0d?window[_0x72bdfa(0x3c0)][_0x72bdfa(0x1d5)]('','',_0x48b0f8[_0x72bdfa(0x2ad)]()):window[_0x72bdfa(0x3c0)]['pushState']('','',_0x48b0f8[_0x72bdfa(0x2ad)]());}[_0x145278(0x3f3)](_0x39b8e4){const _0x38ca6c=_0x145278;var _0x33c77a;return(_0x33c77a=new URL(window[_0x38ca6c(0x4fb)]['href'])[_0x38ca6c(0x16c)][_0x38ca6c(0x4b6)](_0x39b8e4))!=null?_0x33c77a:void 0x0;}}var _0x1e2e31=Object[_0x145278(0x507)],_0x3d419b=Object[_0x145278(0x16d)],_0x5f10b8=(_0x5e4fa9,_0x2459e4,_0x482cda)=>_0x2459e4 in _0x5e4fa9?_0x1e2e31(_0x5e4fa9,_0x2459e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x482cda}):_0x5e4fa9[_0x2459e4]=_0x482cda,_0x5eca97=(_0x4d4819,_0x5992d8,_0x126d73,_0x456a79)=>{const _0x3fc785=_0x145278;for(var _0x23bec1=_0x456a79>0x1?void 0x0:_0x456a79?_0x3d419b(_0x5992d8,_0x126d73):_0x5992d8,_0x45fa29=_0x4d4819[_0x3fc785(0x37e)]-0x1,_0x539b86;_0x45fa29>=0x0;_0x45fa29--)(_0x539b86=_0x4d4819[_0x45fa29])&&(_0x23bec1=(_0x456a79?_0x539b86(_0x5992d8,_0x126d73,_0x23bec1):_0x539b86(_0x23bec1))||_0x23bec1);return _0x456a79&&_0x23bec1&&_0x1e2e31(_0x5992d8,_0x126d73,_0x23bec1),_0x23bec1;},_0x3e9e1f=(_0x260b31,_0x2d02a7)=>(_0x516aec,_0x33c33c)=>_0x2d02a7(_0x516aec,_0x33c33c,_0x260b31),_0x4071c4=(_0x10bcb6,_0x2a268a,_0x2f70ed)=>_0x5f10b8(_0x10bcb6,_0x2a268a+'',_0x2f70ed);const _0x19f68c='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x3b531e['UniverCollaborationClientPlugin']=class extends _0x349f19['Plugin']{constructor(_0x2ef348=_0xb30b05,_0x3ef7cd,_0x36ca6d,_0x361f07,_0x1fffe8){const _0x205668=_0x145278;super(),this[_0x205668(0x183)]=_0x2ef348,this['_logService']=_0x3ef7cd,this[_0x205668(0x4d9)]=_0x36ca6d,this['_injector']=_0x361f07,this[_0x205668(0x28d)]=_0x1fffe8;const {..._0x13bd83}=this['_config'];this[_0x205668(0x28d)][_0x205668(0x298)](_0x4ea523,_0x13bd83);}[_0x145278(0x198)](){const _0x4f4190=_0x145278;this[_0x4f4190(0x417)](),_0x349f19[_0x4f4190(0x2d3)](this['_injector'],[[_0xc5b355],[_0x3b531e[_0x4f4190(0x3c4)]],[_0x531ea0]]);}[_0x145278(0x251)](){const _0x2cd673=_0x145278;_0x349f19[_0x2cd673(0x2d3)](this[_0x2cd673(0x22d)],[[_0x44f32b]]);}[_0x145278(0x39e)](){const _0x5eec12=_0x145278;this[_0x5eec12(0x491)]();}[_0x145278(0x417)](){const _0x2224e6=_0x145278;var _0x52b18f,_0xdb6b76,_0x86bf64,_0x145525;this['_injector'][_0x2224e6(0x2e6)](_0x349f19[_0x2224e6(0x2a4)])&&this[_0x2224e6(0x385)][_0x2224e6(0x4aa)]('[UniverCollaborationClientPlugin]',_0x2224e6(0x52b));let _0x3f23e0=[[_0x349f19[_0x2224e6(0x2a4)],{'useClass':_0x761cdc}],[_0x3b531e[_0x2224e6(0x21f)]],[_0x477f1a],[_0x47193d[_0x2224e6(0x3f8)]],[_0x31b342,{'useClass':_0x16ca01}],[_0x5a9e0d],[_0x3b531e[_0x2224e6(0x30a)]],[_0x47193d[_0x2224e6(0x45a)]],[_0x370f64],[_0x697163],[_0x55e610],[_0x2f089c],[_0x499e8e],[_0x4f3ef6],[_0x2e3386],[_0x531ea0],[_0x3f5095,{'useClass':(_0xdb6b76=(_0x52b18f=this['_config'])==null?void 0x0:_0x52b18f[_0x2224e6(0x299)])!=null?_0xdb6b76:_0x3b531e[_0x2224e6(0x504)]}],[_0x47193d['IHTTPImplementation'],{'useClass':_0x47193d[_0x2224e6(0x4a7)]}],[_0x54555c[_0x2224e6(0x208)],{'useClass':_0x3b531e[_0x2224e6(0x1fd)]}],[_0x349f19[_0x2224e6(0x3e4)],{'useClass':_0x3b531e[_0x2224e6(0x383)]}],[_0xaccc08[_0x2224e6(0x1ec)],{'useClass':_0x3b531e[_0x2224e6(0x47d)]}],[_0x3b531e[_0x2224e6(0x446)]],[_0x3b531e[_0x2224e6(0x3c4)]],[_0x3b531e['DesktopCollaborationStatusDisplayController']],[_0x44f32b],[_0xc5b355]];(_0x86bf64=this[_0x2224e6(0x183)])!=null&&_0x86bf64[_0x2224e6(0x412)]&&_0x3f23e0[_0x2224e6(0x276)]([_0x2d00f5,{'useClass':_0x467f1c}]),_0x3f23e0=_0x349f19[_0x2224e6(0x30d)](_0x3f23e0,(_0x145525=this[_0x2224e6(0x183)])==null?void 0x0:_0x145525[_0x2224e6(0x24d)]),_0x3f23e0[_0x2224e6(0x256)](_0xe95c30=>this['_injector'][_0x2224e6(0x4f3)](_0xe95c30)),this[_0x2224e6(0x38b)]();}[_0x145278(0x491)](){const _0x5ae32d=_0x145278;this[_0x5ae32d(0x1e3)](this['_renderManagerService'][_0x5ae32d(0x3dd)](_0x349f19['UniverInstanceType'][_0x5ae32d(0x22e)],[_0x12f634])),this['disposeWithMe'](this['_renderManagerService'][_0x5ae32d(0x3dd)](_0x349f19[_0x5ae32d(0x426)]['UNIVER_SHEET'],[_0x355d95]));}[_0x145278(0x38b)](){const _0x460a88=_0x145278;var _0xba2ea0,_0x19093c;this['_injector'][_0x460a88(0x4b6)](_0x47193d['HTTPService'])[_0x460a88(0x419)]({'priority':0x14,'interceptor':_0x47193d['ThresholdInterceptorFactory']({'maxParallel':0x6})}),this[_0x460a88(0x22d)][_0x460a88(0x4b6)](_0x4f3ef6),(_0xba2ea0=this[_0x460a88(0x183)])!=null&&_0xba2ea0['enableOfflineEditing']||this['_injector'][_0x460a88(0x4b6)](_0x3b531e[_0x460a88(0x30a)])[_0x460a88(0x3d8)](),(_0x19093c=this[_0x460a88(0x183)])!=null&&_0x19093c[_0x460a88(0x205)]&&this[_0x460a88(0x22d)][_0x460a88(0x4b6)](_0x499e8e),this[_0x460a88(0x22d)][_0x460a88(0x4b6)](_0x3b531e[_0x460a88(0x446)]),this[_0x460a88(0x22d)][_0x460a88(0x2e6)](_0x3b531e['DesktopCollaborationStatusDisplayController'])&&this[_0x460a88(0x22d)][_0x460a88(0x4b6)](_0x3b531e[_0x460a88(0x435)]);}},_0x4071c4(_0x3b531e[_0x145278(0x1e4)],_0x145278(0x347),_0x19f68c),_0x3b531e[_0x145278(0x1e4)]=_0x5eca97([_0x349f19[_0x145278(0x523)](_0x54555c[_0x145278(0x309)]),_0x3e9e1f(0x1,_0x349f19[_0x145278(0x1e7)]),_0x3e9e1f(0x2,_0x577b7e[_0x145278(0x1d7)]),_0x3e9e1f(0x3,_0x349f19[_0x145278(0x413)](_0x349f19['Injector'])),_0x3e9e1f(0x4,_0x349f19[_0x145278(0x424)])],_0x3b531e[_0x145278(0x1e4)]),_0x3b531e[_0x145278(0x285)]=_0x3bed12,_0x3b531e[_0x145278(0x136)]=_0x3f5d5a,_0x3b531e[_0x145278(0x3d9)]=_0x5c110b,_0x3b531e['CollaborationStatus']=_0xfe35ac,_0x3b531e[_0x145278(0x421)]=_0x5c616d,_0x3b531e[_0x145278(0x308)]=_0x2e3386,_0x3b531e[_0x145278(0x386)]=_0x2ace82,_0x3b531e[_0x145278(0x3c2)]=_0x566bf8,_0x3b531e[_0x145278(0x27f)]=_0x3f5095,_0x3b531e[_0x145278(0x4ed)]=_0x31b342,_0x3b531e['LOCAL_CACHE_INTERVAL_KEY']=_0x255e8f,_0x3b531e[_0x145278(0x187)]=_0x3d2741,_0x3b531e[_0x145278(0x1c6)]=_0xe2277,_0x3b531e[_0x145278(0x3fe)]=_0x3c165d,_0x3b531e[_0x145278(0x4d2)]=_0x1f76a6,_0x3b531e[_0x145278(0x4b3)]=_0x1fe014,_0x3b531e[_0x145278(0x377)]=_0x3ee00b,_0x3b531e[_0x145278(0x237)]=_0x186ef2,_0x3b531e[_0x145278(0x2eb)]=_0x16ca01,_0x3b531e[_0x145278(0x2f3)]=_0x2a238a,_0x3b531e[_0x145278(0x2d0)]=_0x1a0ef4,Object[_0x145278(0x507)](_0x3b531e,Symbol[_0x145278(0x358)],{'value':_0x145278(0x162)});}));function _0x2aa9(_0x5c7964,_0x195669){const _0xb9d32f=_0xb9d3();return _0x2aa9=function(_0x2aa9b2,_0x179b7b){_0x2aa9b2=_0x2aa9b2-0x113;let _0x5d6456=_0xb9d32f[_0x2aa9b2];return _0x5d6456;},_0x2aa9(_0x5c7964,_0x195669);}function _0xb9d3(){const _0x87736c=['_draw','[PendingState]:\x20received\x20rejection.','getUnitOnRev','state','RxDisposable','_sendingTimer','change$','IPermissionService','IURLService','UNIVER_PROJECT','_initUnitPermissionChange','none','INVALID_ARGUMENT','off-line-single','add','delete','_fetchMissChangesets','Optional','update','CHANGESET_REJ','objects','red300','location','_scheduleHeartbeat','status$','_decreaseWaiting','_queuedRemoteChangesets','OnLineSingle','IUniverInstanceService','_collabSessionService','_range','CollaborationSocketService','DocIMEInputManagerService','_lastPointer','defineProperty','getOwnPropertySymbols','_colorIndex','operators','RichTextEditingMutation','width','RemoveColCommandId','target','InsertColCommandId','object','UnitEmbedded','entries','_startSheetCollabCursor','_socket','@univerjs/core','react','editingUnit','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setUndoRedoMutationParamsCache','INTERNAL_ERROR','UniverDesign','name','transformIMECache','getRelativeToViewportCoord','cursorInfo$','AWAITING','ERROR_IMAGE_TYPE','_members','DependentOn','HELLO','onPointerMove$','_sendHeartbeat','max','/allowed','_entityInit$','appendMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_resendTimer','/object/','addObjects','_commentUpdate$','_waitCount','UUID','permission.title','storage','toDisposable','getCoordByCell','registerBeforeClose','/rev/','visibilitychange','_colorAssignService','loginUrlKey','pending','error$','onCommentUpdate','_checkMissing','UNAUTHENTICATED','UNKNOWN_CODE','_executeRemoteChangeset','univer-online-status-icon','UniverTelemetry','FromArray','getDocRanges','_cursor','CollaborationEvent','title','@univerjs/docs-ui','call','UNIVER_SLIDE','@univerjs/network','_stopTelemetryCollaborationNewChangeset','_singleActiveUnitService','_socket$','putCollaborators','HEARTBEAT_TIMEOUT','_acknowledgedAwaitingChangeset','{fileID}','UniverUi','NodePositionConvertToRectRange','createInstance','fromEventSubject','failed\x20to\x20apply\x20missed\x20changesets!','DocSelectionManagerService','_event$','dispose$','MessageType','capture','_docTransformIMECacheService','getColor','blue400','_transformIMECache','_handleHeartbeatEvent','routeKey','_onRemoteACK','not_collab','interceptor','flatMap','CollaborationEntity','_onJoinRoomEvent','values','_initStatusComponent','unitId','newCsEvent','_refreshCollabCursors','_refRangeService','LIVESHARE_OPERATION','collabStatus.notCollab','@univerjs-pro/collaboration','now','collabCursorState$','code','Univer','evenodd','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','&assign=','_snapshotService','_socketMessageSubscription','COLLAB_SUBMIT_CHANGESET_URL_KEY','deserializeRangeWithSheet','listRoles','NOT_FOUND','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','setItem','_anchorDot','onSyncEditingCollabCursor','updateOfflineData','closePath','stringify','actions','/universer-api/oidc/authpage','responseType','href','IDLE','getUniverSheetInstance','_loadDoc','JOINING','LICENSE_IMPORT_SIZE_EXCEEDED','NodePositionConvertToCursor','getViewport','_initStatusListener','OFFLINE','_roomMembers$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getSheetBlock','YUUMI_UNABLE_LOAD_URL','JOIN','updateMember','UniverLicense','next','_initEventListeners','registerOnClose','UniverDrawing','UserManagerService','selections','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','COMPRESS_MUTATION_SEND','map','createCollaborator','_status$','listCollaborators','_collaborationPaused','Module','_urlService','arc','batchAllowed','incrementRevOfUnit','height','activeSheet$','create','ALREADY_EXISTS','Rect','searchParams','getOwnPropertyDescriptor','exhaustSavingTask','handleDeleteRangeMoveLeft','isTransformMutationsWithChangesetSuccess','delay','onMissedChangesetFetched','rxjs','_schedule','_onConnectionFailed','ColorKit','resize','getAncestorScale','transformMutation','_onRemoteChangeset','_unlockTransition','_updateURLWithCurrentState','_updateCollabCursors','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/drawing','getCollabCursors$','saveChangeset','unit','_config','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','row','removeMember','LOGIN_URL_KEY','[OfflineState]:\x20received\x20rejection.','_transitionLocked','_context','_assignedColors','_color','updateCursorEvent','_getSheetObject','distinctUntilChanged','liveShareNewHost','collaborators','MUTATION','JSONX','InsertSheetMutation','isTransformChangesetsSuccess','amd','HTTPRequest','onStarting','replaceTextRanges','_handleEvent','_startCollaboration','every','_name','_uiPartsService','clear','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getTypeOfUnitDisposed$','merge','runRefRangeMutations','Disposable','serializeRangeWithSheet','SUBMIT_CHANGESET','hidden','COLORS','concatMap','_collaborationController','_session','fillText','sessionStatus$','save','changesets','_initRequestHeader','saveSheetBlock','getActiveSheet','_createHandler','CollaborationSession','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onlyLocal','collaboration_new_changeset','connectInjector','handleInsertRangeMoveDown','endRow','univer-pro.collaboration-client-socket-service','takeUntil','COMPLETION_FINISHED','/new_changes','8436IRdINg','eventID','_candidateSocket','updatePermissionPoint','_resendWithTimeout','_telemetryService','message$','RETRY_CONNECTING_MAX_COUNT_KEY','color','xlink:href','isArray','top','getCurrent','_scheduleClearOtherTimer','/block/','readAsDataURL','_removeCollabCursors','_onUserJoin','_listenToOfflineEvent','_change$','randomUUID','_onConnectionOpen','replaceState','shareReplay','IRenderManagerService','[CollaborationSessionService]','HEARTBEAT','closeSession','getUnit','UNIVER_UNKNOWN','COLLAB_SUBMIT_CHANGESET_URL','leaveEvent','useObservable','YUUMI_URL_COL_OUT_OF_RANGE','11935dlUeZO','round','disposeWithMe','UniverCollaborationClientPlugin','CompressMutationService','post','ILogService','Vector2','/-/object/-/batch_allowed','InsertRangeMoveRightCommandId','string','IImageIoService','visibilityState','_labelPosition','transformByState','deleteCollaborator','subUnitId','whenReady','stopTime','PSEUDO_FETCH_MISSING_RESULT','LIVESHARE_TERMINATE','onCommandExecuted','members','ImageUploadStatusType','_clearTimeoutTimer','getCellPositionByOffset','contains','substring','SnapshotServerOverHTTPService','open$','_getAPIPrefix','fetchMiss','_permissionService','_getScale','getRoom','svg','enableAuthServer','_clearCollaborationTimeoutTimer','_localeService','ISnapshotServerService','/unit/','commentUpdate$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_removeClearOtherTimer','_hideTimer','getOffsetConfig','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','then','conflict.content','IBeforeCloseService','getCurrentRevOfUnit','_getSignURL','_getUploadFileURL','_themeService','createSocket','_send','univer-offline','sheetId','transformChangesets','transformMutationsWithChangeset','collaboration-client.offline-data-not-saved','_isPermissionRej','CollaborationSessionService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_resendTimeout','textEncoder','_telemetryInfo','encode','addEventListener','APPLY_REVISION_CONFILICT','onTransformRemoteChangesetByIMECache','collaboration.closeRoom','_retryConnectingTimer','APPLY_DUPLICATED','_transformUndoRedoStack','url(#off-line-single_clip0_910_343)','_injector','UNIVER_DOC','LIVESHARE_FETCH_OPERATIONS','_getSnapshotAPIPrefix','_sendHeartbeatTimer','bottom','CHANGESET_REVISION_CONFILICT','_clearUndo','text','APPLY_REJECT','SheetCollabCursorShape','useRef','_sender','_onRemoteRejected','_initMergeInterceptor','_toggleOnline','params','_listenToOnlineEvent','CHANGESET_SHOULD_RETRY','unitID','_getMergeRange','[CollaborationSession]','startTime','_getUndoStack','InsertRowCommandId','UniverDocs','_scheduleCollaborationTimeoutTimer','_onUserLeave','_hovered','onStateChange','_handler','uni.network.url-service','override','unknown','_backgroundColor','conflict','onReady','onPointerEnter$','set','@univerjs/engine-render','_render','forEach','filter','number','_HTTPService','propertyIsEnumerable','_sheetSkeletonManagerService','_sessionStatus$','collabStatus.synced','onlineStatus','@univerjs/telemetry','DeleteRangeMoveLeftCommandId','rev','function','restore','isInternalEditorID','isPermissionRej','_timeoutTimer','LocaleService','_substituteUndoStack','collaMsg','getMember','c1Prime','apply','unitId\x20is\x20not\x20found','_socketReady','cursorInfo','_cursorInfo$','onTransformChange$','originalMeta','_substituteRedoStack','COMMENT_UPDATE','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','push','Rectangle','allowed','onRemoteChangeset','roomMembers$','_saveTaskMap','_onMessage','NOT_COLLAB','setAlpha','ICollaborationSocketService','INGEST','reject','&source=','@univerjs/rpc','unshift','AUTHZ_URL_KEY','/collaborator','WorkbookEditablePermission','file','LICENSE_EXPORT_SIZE_EXCEEDED','_transformService','USERS_LEAVE','univer-online-status-title','_configService','conflict.title','_onRecvEvent','collab-text-anchor-','isTransformMutationFailure','sessionStatus','univer-online','\x20in\x20_schedule.','_handleLeaveEvent','fetchMissingChangesets','CONNECTOR_DATA_TOO_LARGE','setConfig','socketService','roles','sid','_docSkeleton','_ws','UPDATE_PERMISSION_OBJ','createIdentifier','resourceIDs','_messageService','_createInitialStateImpl','objectID','IUndoRedoService','m2Prime','getUndoRedoMutationParamsCache','all','registerRefRange','attrs','_redoStacks','setActiveRange','DisposableCollection','toString','saveImage','COMPRESS_MUTATION_APPLY','sendChangesetTimeout','reduce','_drawAnchor','enableLocalCache','_revisionService','_onCursorDelete','liveShareOperation','onload','_initResize','sheets','resend','duration','ERROR_IMAGE','deepClone','toLowerCase','_onRefRangeChange','colorChannel1','944kAHYuU','_onOffline','drawWith','cmd','fetchThroughInterceptors','[SyncedState]:\x20received\x20rejection.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_collabCursorState$','#fff','SHOULD_CLOSE_CONN','mapTo','patch','MoveRangeCommandId','image/png','_drawTextRange','serializeCombRequest','_getAnchorBounding','data','touchDependencies','_onLocalMutation','setWaitCount','fromEvent','subscribeEvent','@univerjs/sheets','SheetSkeletonManagerService','getFocusedUnit','Workbook','534995fLTPAT','_transformUndoredo','@univerjs/sheets-ui','_updateState','_http','_sessions','ThemeService','EffectRefRangId','USERS_ENTER','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','has','parse','some','_online','session.collaboration-timeout','WebURLService','_onCursorUpdate','getAttachHeader','Unknown\x20user','VIEWPORT_KEY','EXCHANGE_SIGN_URL_SERVER_URL_KEY','MergeInterceptorFactory','LocalUndoRedoService','deserializeToCombResponse','div','collabStatus.syncing','skeleton','assignAColorForMemberID','_state$','complete','_updateSubUnitFromURLParams','_scene','_scheduleSaving','\x20-\x20','_undoRedoService','currentSkeleton$','_cursorShapes','range','_applyRemoteChangeset','show','_handleHover','b64DecodeUnicode','TRANSFORM_CHANGE_OBSERVABLE_TYPE','715008LYMwug','CommentService','UniverCollaborationPlugin','LocalCacheService','/universer-api/file/{fileID}/sign-url','hovered','mergeOverrideWithDependencies','onMissingChangesets','161579EBaIot','?size=','commentUpdateEvent','React','6MNdJqt','session.will-retry','getMemberID','black','_getAPIPrefixPath','[OfflineState]:\x20received\x20changeset.','tag','saveOfflineData','CONFLICT','_throwTelemetryCollaborationNewChangeset','_setupSubUnitSync','UPDATE_CURSOR','_univerInstanceService','_onCombEvent','hasOwnProperty','getItem','permission.content','_changesetSessionId','@univerjs/engine-formula','split','NEW_CHANGESETS','defIds','_unitOnClients','_ensureSubject','x-univer-host','FAIL','snapshotServerUrl','RegularPolygon','SNAPSHOT_INVALID_SNAPSHOT','includes','_entities','BuiltInUIPart','image/gif','_initCloseConn','_id','_createInitialState','\x0aCurrent:\x20','shouldCloseConn','?url=','LICENSE_DISTRO_REJECTED','defs','_instanceService','getCollabEntity','_beforeCloseService','onMouseMove','_collaborationTimeoutTimer','_type','OffLineSingle','backgroundColor','Warning','_initCommandExecutedListener','triggerDblclick','pluginName','take','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Error\x20on\x20receiving\x20event','YUUMI_RATE_OVER_LIMIT','LEAVE','getLatestCsReqIdBySid','_getSendChangesetTimeout','getRenderById','_roomMembers','session.connection-failed','getTime','getSheetBySheetId','_transformRemoteChangesetByIMECache','handleIRemoveRow','YUUMI_SUBSCRIPTION_NOT_FOUND','confirm','toStringTag','[CollaborationSessionService]:\x20socket\x20error','_init','exports','APPLY_PERMISSION_DENIED','_unitStatus','size','path','_disabled','_docStateChangeManagerService','getRangePointData','TOO_MANY_REQUESTS','[PendingState]:\x20received\x20acknowledgement.','_sheetTransformSelectionsService','_onRemoteRetry','getActiveRange','collaboratorID','UNDEFINED','addImageSourceCache','SetWorksheetActivateCommand','onSendChangeset','key','ICommandService','clipPath','[CollaborationEntity]','_tryReconnect','clearTimeout','find','forwardRef','_commandService','SYNCED','SessionStatus','put','off-line-single_clip0_910_343','_createSocket','pushState','focused$','_shouldReportTelemetry','length','close','getCollabEntity$','_replayCachedMutations','_cachedData','AuthzIoHttpService','jiqing500','_logService','HEARTBEAT_INTERVAL_KEY','RevisionService','connection\x20error','type','/object','_initModules','baseRev','_transformSelections','Undefined','subscribe','getUnitType','UniverCore','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getTypeOfUnitAdded$','fetching\x20missing\x20changesets\x20from\x20','_cursors','_clearRedo','RECV','getInterceptPoints','column','1em','toggleOnline','_getRedoStack','method','onRendered','CommandType','_imageSourceCache','encodeURIComponent','hide','measureText','on-line-single','_scheduleTimestamp','auth.needGotoLoginAlert','rxjs/operators','_saveCache','permissionRejEvent','_textBubble','moveTo','DocCollaborationEntity','_changesetReqId','NO_OTHER_CLIENTS_EDITING','urlChange$','currentColor','syncEditingCollabCursor','UniverNetwork','_clearHeartbeatTimer','editing\x20status\x20changed\x20to','_retryCount','newValue','Injector','HEADER_MENU','PERMISSION_DENIED','EmptyMutation','_localStorageService','workbook','_getDownloadEndpointURL','url','4411494CAgAuu','history','collabStatus.conflict','HEARTBEAT_TIMEOUT_KEY','_shapes','DataLoaderController','loadSheet','univer-online-status','handleMoveRange','_pendingMutations','_getCurrentRevision','setTimeout','transformSelections','_compressMutationService','ranges','getSheetObject','SetTextSelectionsOperation','_remoteChangesetQueue','append','SUCCUSS','assign','refreshPermission','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_eventUnsubscribe','transformUndoRedo','disableLocalCache','COLLAB_WEB_SOCKET_URL_KEY','_disableEditing','156316nqekFo','_handleJoinEvent','registerRenderModule','_updateStatus','memberID','SheetCollaborationEntity','subunit','_socketService','debug','IAuthzIoService','_getCtorByUniverType','image/jpeg','send','fill','executeCommand','transformStack\x20failed!','_collabCursorController','extend','_rescheduleHeartbeat','SEND_CHANGESET_TIMEOUT','debounce','LIVESHARE_NEW_HOST','pipe','getSheetId','getParam','0\x200\x2017\x2016','selection','revision','_updateLocalCache','HTTPService','sequenceExecute','_unitID','_localCacheService','_hover','mapDocumentTypeToUniverType','SEND_CHANGESET_TIMEOUT_KEY','session','getSkeleton','setCurrentUser','startRow','event$','indexOf','_userManagerService','clearInterval','UNKNOWN_CMD','_toggleOffline','awaitingChangeset','objectType','copyFileMeta','SheetsSelectionsService','json','_getLoginPath','BehaviorSubject','Subject','concat','enableSingleActiveInstanceLock','Inject','icon','getUnitStatus$','HttpImport','_registerDependencies','...','registerHTTPInterceptor','[DataLoaderController]','FileId','SetSelectionsOperation','currentTheme$','_syncEditingCollabCursorService','onTransformSelections','body','CollaborationStatusDisplay','offline','toggleOffline','IConfigService','_anchor','UniverInstanceType','setParam','unload','symbol','ITransformService','unsubscribe','UniverCollaboration','_docSkeletonManagerService','result','reverse','PENDING','UNIVER_SHEET','IUIPartsService','textRanges','IMessageService','DesktopCollaborationStatusDisplayController','APPLY_NON_SEQUENTIAL_REVISION','isValidRectRange','handleInsertCol','snapshot','children','src','/role','isTransformMutationsWithChangesetFailure','_onFetchMissResult','_transformPreviousActiveRange','_clearOtherTimers','bind','isActive','prototype','ReplaySubject','UniverSheets','CollaborationController','unit-cache-','lineTo','FETCH_MISS','_state','_docTransformSelectionsService','isEditing','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','switchMap','with','addObject','_snapshotServerService','requestParams','getUnitId','M0\x200H16V16H0z','Error','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/universer-api/stream/file/upload','TEXT_RANGE_LAYER_INDEX','UniverSheetsUi','WebSocketService','_showConflictNotification','DocStateChangeManagerService','random','_incrementRevisionNumber','onTransformIME','_undoStacks','docStateChange$','close$','_lockTransition','updateCollaborator','status','synced','@univerjs-pro/license','[OfflineState]:\x20received\x20acknowledgement.','joinRsp','getValue','idSuffix','init','awaiting_with_pending','collabStatus.offline','getConfig','_getSaveTimeout','getResourcesRequest','endColumn','univer-pro.collaboration-client.single-active-unit-service','_memberService','PERMISSION_REJ','session.room-full','collabWebSocketUrl','getCurrentSelections','parseChangesetToProtocol','list','m1Prime','combineLatest','ImageIoService','@univerjs/docs','UniverRpc','MSG_FOR_ERROR','min','_tryEnsureSocket','throttleTime','\x0aAfter:\x20','image/bmp','state$','rng','onRemoteAck','engine','ImageSourceType','_exhaustRemoteChangesetQueue','current','reqId','getCurrentUser','_updateLocalCursor','collaboration-session-retry','_registerRenderDependencies','UniverIcon','_onConflict','onRemoteRej','createElement','from','/universer-api/snapshot','objectActions','UniverEngineFormula','CHANGESET_ACK','onPointerLeave$','Shape','LICENSE_MAX_UNITS_EXCEEDED','_collaborationSessionService','_selfUnitIDs','localeService','[CollaborationUndoRedoService]','setInterval','ONLINE','_clearScheduledTask','online','collabSubmitChangesetUrl','XHRHTTPImplementation','setShapeProps','ERROR_EXCEED_SIZE','error','requireSession','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','mutations','fetch_missing','HttpExport','csAckEvent','Tools','0\x200\x2016\x2016','SNAPSHOT_URL_KEY','reconnect','save\x20fail\x20reason\x20is\x20','get','_transformStack','sheetID','DocSkeletonManagerService','UNRECOGNIZED','disposeUnit','getRandomValues','headers','_httpService','socket\x20close','popstate','dispose','telemetry\x20info\x20is\x20not\x20initialized','on-line-single_clip0_910_349','_startDocCollabCursor','@univerjs/ui','UniverDocsUi','_heartbeatTimer','joinEvent','displayName','onlineStatusTitle','ENSURE_SNAPSHOT_EXECUTION','/universer-api/comb','doc.mutation.rich-text-editing','_awaitingChangeset','_joinRoom','roomMembers','_startTelemetryCollaborationNewChangeset','SNAPSHOT_SERVER_URL_KEY','collab-client.tooltip.reconnect','BASE64','@univerjs/design','onRemoteRetry','generateRandomId','_notificationService','_renderManagerService','_submitChangeset','fillStyle','loadOfflineData','trim','asObservable','FETCH_MISSING','_setupBeforeClosingHandler','_drawRectRange','LIVESHARE_REQUEST_HOST','POST','className'];_0xb9d3=function(){return _0x87736c;};return _0xb9d3();}
|
1
|
+
function _0x9a79(_0x344d91,_0xa63897){const _0x34391e=_0x3439();return _0x9a79=function(_0x9a79ca,_0x1b19a7){_0x9a79ca=_0x9a79ca-0x135;let _0x4a254f=_0x34391e[_0x9a79ca];return _0x4a254f;},_0x9a79(_0x344d91,_0xa63897);}function _0x3439(){const _0x2faed2=['commentUpdate$','putCollaborators','_clearLocalCache','_snapshotService','setTimeout','combineLatest','fetch_missing','ThresholdInterceptorFactory','onPointerMove$','COLORS','deepClone','subunit','UNIVER_DOC','_sheetTransformSelectionsService','RemoveRowCommandId','objects','roomMembers','startRow','getImage','NOT_FOUND','toRgbString','_cursor','LOCAL_CACHE_INTERVAL_KEY','generateRandomId','origin','stringify','_telemetryService','csShouldRetryEvent','SheetSkeletonManagerService','_draw','_handler','image/gif','show','image/jpg','_onUserJoin','registerRefRange','HTTPService','setParam','compose','originalMeta','IPermissionService','offline','_onRecvEvent','confirm','IContextService','getCurrentUser','IAuthzIoService','assignAColorForMemberID','selections','_scheduleSaving','_unitID','unknown','COLLAB_WEB_SOCKET_URL','#FFF','AWAITING_WITH_PENDING','_throwTelemetryCollaborationNewChangeset','put','univer-pro.collaboration-client.single-active-unit-service','visibilityState','_setupSubUnitSync','UNAUTHENTICATED','Disposable','RemoveColCommandId','onRemoteRetry','getUnitType','SYNCED','ws://127.0.0.1:8000/universer-api/comb/connect','reduce','_lastPointer','@univerjs/docs-ui','/resources','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getSendChangesetTimeout','data','transformSelections','LIVESHARE_OPERATION','collabSubmitChangesetUrl','cursorInfo','_hideTimer','getValue','_docTransformSelectionsService','propertyIsEnumerable','flatMap','values','_selfUnitIDs','setInterval','refreshPermission','M0\x200H16V16H0z','_changesetSessionId','CollaborationEntity','catch','ITransformService','name','syncEditingCollabCursor','UNIVER_SHEET','downloadEndpointUrl','saveOfflineData','BuiltInUIPart','pending','ImageSourceType','_singleActiveUnitService','IHTTPImplementation','_collaborationSessionService','updateMember','setConfig','url','changesets','addObjects','CollaborationStatus','unshift','SheetCollabCursorShape','attrs','createElement','COMMENT_UPDATE','LICENSE_DISTRO_REJECTED','registerRenderModule','_univerInstanceService','resend','CollaborationController','rxjs/operators','UniverTelemetry','isActive','_getScale','INGEST','_notificationService','roomInfos','DocStateChangeManagerService','post','1em','CHANGESET_REJ','endColumn','_themeService','RegularPolygon','LocalCacheService','getCollabEntity','&to=','symbol','_logService','interceptor','_docSyncEditingCollabCursorService','_updateState','code','@univerjs/ui','_resendTimeout','blue400','NodePositionConvertToCursor','CHANGESET_REVISION_CONFILICT','APPLY_REVISION_CONFILICT','getDeserializedSheetBlock','UniverEngineFormula','getAncestorScale','_ws','ColorKit','_substituteRedoStack','random','sessionStatus$','image/bmp','/object','indexOf','batchAllowed','ERROR_IMAGE_TYPE','createIdentifier','APPLY_REJECT','registerOnClose','none','svg','get','/universer-api/oidc/authpage','replaceTextRanges','leaveEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getDocRanges','idSuffix','collabWebSocketUrl','_transformUndoredo','_change$','_onRemoteChangeset','_syncEditingCollabCursorService','parse','serializeCombRequest','listRoles','setUndoRedoMutationParamsCache','AuthzIoHttpService','unitID','UNIVER_SLIDE','univer-offline','socketService','disposeUnit','measureText','liveShareNewHost','_collabCursorController','UniverInstanceType','ONLINE','/universer-api/snapshot/','defIds','UniverLicense','call','memberID','LIVESHARE_TERMINATE','handleIRemoveCol','round','row','SUBMIT_CHANGESET','HELLO','UniverIcon','_docSkeletonManagerService','SNAPSHOT_URL_KEY','COMPRESS_MUTATION_SEND','setCurrentUser','ImageIoService','ICommandService','HEARTBEAT_INTERVAL','withCredentials','univer-online-status','IUIPartsService','SheetsSelectionsService','file','_undoRedoService','split','extend','_tryReconnect','handleDeleteRangeMoveUp','takeUntil','clearInterval','_initEventListeners','amd','complete','ITelemetryService','JSONX','_roomMembers','INotificationService','getCellPositionByOffset','init','enableOfflineEditing','_localCacheService','some','red300','_color','UNIVER_PROJECT','&source=','url(#off-line-single_clip0_910_343)','HTTPRequest','getTypeOfUnitDisposed$','_textBubble','closePath','unitId','fill','_httpService','find','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','clear','enableAuthServer','_remoteChangesetQueue','_config','fetchThroughInterceptors','MergeInterceptorFactory','getConfig','then','_getCtorByUniverType','_timeoutTimer','4699085NdGXHJ','_updateCollabCursors','UnitSnapshot','sendChangesetTimeout','drawWith','[CollaborationSessionService]','send','NEW_CHANGESETS','UniverDocs','handleDeleteRangeMoveLeft','awaiting','_awaitingChangeset','replaceState','RevisionService','_online','getImageSourceCache','textRanges','replace','_transformService','_snapshotServerService','YUUMI_SUBSCRIPTION_NOT_FOUND','MSG_FOR_ERROR','copyFileMeta','_onRemoteRejected','_disableEditing','children','PERMISSION_DENIED','_onRemoteACK','univer-pro.collaboration-client-socket-service','_getLoginPath','moveTo','_transitionLocked','isTransformMutationsWithChangesetFailure','INVALID_ARGUMENT','headers','_urlService','on-line-single_clip0_910_349','_disabled','csRejEvent','XHRHTTPImplementation','_saveCache','_onCombEvent','getCoordByCell','AUTHZ_URL_KEY','asObservable','APPLY_DUPLICATED','localeService','transformStack\x20failed!','loadOfflineData','Unknown\x20user','_send','_initUnitPermissionChange','initWorkbookPermissionChange','_initMergeInterceptor','reject','_scheduleTimestamp','reqId','LICENSE_MAX_UNITS_EXCEEDED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','Rectangle','UniverRpc','EffectRefRangId','_onRemoteRetry','RxDisposable','permissionRejEvent','unit-cache-','_socketMessageSubscription','_collabSessionService','getRoom','@univerjs/docs','unload','_onUserLeave','_pendingMutations','[CollaborationEntity]','debug','_collaborationTimeoutTimer','getSheetId','_unlockTransition','_createInitialStateImpl','PSEUDO_FETCH_MISSING_RESULT','UNIVER_UNKNOWN','_replaceFileID','resourceIDs','_handleHover','_docTransformIMECacheService','collabStatus.synced','collabStatus.fetchMiss','urlChange$','json','LIVESHARE_NEW_HOST','_socket','LICENSE_IMPORT_SIZE_EXCEEDED','fetchMiss','156IRHCoI','size','_initStatusListener','LIVESHARE_REQUEST_HOST','onReady','_substituteUndoStack','session.connection-failed','_clearTimeoutTimer','mapDocumentTypeToUniverType','status$','with','/universer-api/snapshot','sequenceExecute','_handleHeartbeatEvent','Undefined','InsertColCommandId','_schedule','text','parseProtocolChangeset','univer-online-status-icon','SnapshotService','PERMISSION_REJ','getTime','hide','_state$','DeleteRangeMoveUpCommandId','_sessionStatus$','getWorkbookSelections','setShapeProps','collaboratorID','isTransformMutationsWithChangesetSuccess','saveSnapshot','eventID','rng','storage','displayName','JOIN','CompressMutationService','error$','INTERNAL_ERROR','url(#$1','SnapshotServerOverHTTPService','executeCommand','b64DecodeUnicode','conflict.content','_toggleOnline','DocCollaborationEntity','capture','UniverCollaborationClient','collabStatus.offline','_updateURLWithCurrentState','searchParams','CONFLICT','_acknowledgedAwaitingChangeset','textEncoder','snapshotServerUrl','next','/universer-api/authz','RichTextEditingMutation','min','m1Prime','online','_resendTimer','_scene','isTransformMutationFailure','SetWorksheetActivateCommand','toggleOnline','getMember','onMissedChangesetFetched','UPDATE_CURSOR','_queuedRemoteChangesets','TEXT_RANGE_LAYER_INDEX','path','_lockTransition','DesktopCollaborationStatusDisplayController','_redoStacks','5147260zFEFsR','LocaleService','\x0aAfter:\x20','requireSession','HEARTBEAT','isArray','_shapes','getRandomValues','_undoStacks','userID','set','IDLE','?url=','merge','status','exports','UNRECOGNIZED','FETCH_MISS','YUUMI_URL_COL_OUT_OF_RANGE','_collaborationPaused','collaboration-session-retry','collabCursorState$','ACTIVE_UNIT_EVENT_CHANNEL','serializeRangeWithSheet','getSheetBySheetId','getOffsetConfig','collab-rect-range-','onCommandExecuted','getParam','auth.needGotoLoginAlert','_onLocalMutation','_sendHeartbeatTimer','synced','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_candidateSocket','3730470CbSJBZ','_onConnectionOpen','/new_changes','currentSkeleton$','setWaitCount','mergeOverrideWithDependencies','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','state','_transformRemoteChangesetByIMECache','objectType','saveImage','append','FETCH_MISSING','_permissionService','DisposableCollection','_render','bottom','_removeCollabCursors','_onCursorDelete','includes','mutations','sheets','_handleJoinEvent','_tryEnsureSocket','_applyRemoteChangeset','_commentService','icon','_onRefRangeChange','UniverDocsUi','IConfigService','_exhaustRemoteChangesetQueue','collaboration-client.offline-data-not-saved','clearTimeout','off-line-single','_toggleOffline','@univerjs-pro/license','COLLAB_SUBMIT_CHANGESET_URL','rev','APPLY_NON_SEQUENTIAL_REVISION','className','IBeforeCloseService','currentTheme$','UniverUi','onRemoteRej','/unit/','toStringTag','colorChannel1','engine','_cursorInfo$','getMemberID','IRemoteInstanceService','revision','filter','getItem','bind','current','getSheetObject','0\x200\x2017\x2016','ERROR_EXCEED_SIZE','InsertRowCommandId','touchDependencies','objectID','_renderManagerService','getUnitId','CommandType','_updateSubUnitFromURLParams','loadSheet','range','_handleEvent','distinctUntilChanged','fromCollab','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','@univerjs/core','_listenToOfflineEvent','[DataLoaderController]','_commandService','onStarting','error','...','column','c1Prime','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','BASE64','_unitOnClients','_http','_unitStatus','_drawRectRange','getRangePointData','_saveTaskMap','_syncEditingCollabCursor','collaboration_new_changeset','_startTelemetryCollaborationNewChangeset','session.will-retry','_getAPIPrefix','_memberService','every','handleInsertRangeMoveRight','Error','onRendered','defineProperty','onSyncEditingCollabCursor','MUTATION','url(#on-line-single_clip0_910_349)','/collaborator','SNAPSHOT_INVALID_SNAPSHOT','useDependency','_HTTPService','react','_isPermissionRej','_userManagerService','_retryConnectingTimer','fetching\x20missing\x20changesets\x20from\x20','_collabCursorState$','_changesetReqId','YUUMI_UNABLE_LOAD_URL','_event$','Subject','ImageUploadStatusType','VIEW_MAIN','updatePermissionPoint','OFFLINE','_docStateChangeManagerService','NO_OTHER_CLIENTS_EDITING','/role','_updateLocalCursor','ILogService','LOGIN_URL_KEY','body','onSendChangeset','joinEvent','lineTo','isEditing','signUrlServerUrl','APPLY_PERMISSION_DENIED','subUnitId','method','registerHTTPInterceptor','UNIVER_COLLABORATION_CLIENT_PLUGIN','SHOULD_CLOSE_CONN','closeSession','update','UnitEmbedded','DocSkeletonManagerService','equals','_createHandler','COLLAB_SUBMIT_CHANGESET_URL_KEY','_startSheetCollabCursor','useRef','_telemetryInfo','_loadDoc','encodeURIComponent','_heartbeatTimer','startColumn','[OfflineState]:\x20received\x20changeset.','_refreshCollabCursors','\x20-\x20','action','switchMap','FAIL','407234ZmysCJ','CollaborationEvent','reconnect','setAlpha','IUndoRedoService','@univerjs/telemetry','/-/object/list','401469IkLbtO','enableLocalCache','_members','docStateChange$','_clearCollaborationTimeoutTimer','getSheetBlock','registerComponent','3313216IEXWuB','UniverEngineRender','PENDING','evenodd','length','allowed','workbook','NOT_COLLAB','debounce','appendMutation','_getAPIPrefixPath','actions','_entityInit$','TOO_MANY_REQUESTS','_onOffline','_collaborationController','startsWith','pipe','editingUnit','_fetchMissChangesets','[PendingState]:\x20received\x20rejection.','sessionStatus','transformMutationsWithChangeset','add','_checkMissing','_clearRedo','UPDATE_PERMISSION_OBJ','UserManagerService','_getDownloadEndpointURL','addObject','object','_updateLocalCache','EXCHANGE_SIGN_URL_SERVER_URL_KEY','dispose','/object/','IImageIoService','open$','deserializeRangeWithSheet','RefRangeService','SetSelectionsOperation','handleIRemoveRow','fetchMissingChangesets','_stopTelemetryCollaborationNewChangeset','/fetchmissing?from=','take','findNodePositionByCharIndex','_hovered','OffLineSingle','_configService','routeKey','univer-online-status-title','_entities','_messageService','IRenderManagerService','createCollaborator','trim','onRemoteAck','DataLoaderController','parseChangesetToProtocol','[CollaborationSessionService]:\x20socket\x20error','uploadFileServerUrl','WorkbookEditablePermission','_removeRoom','getColor','/rev/','{fileID}','_clearOtherTimers','_socket$','UniverDesign','list','toggleOffline','WebSocketService','_hover','top','newCsEvent','_getSaveTimeout','IMessageService','black','HEADER_MENU','_labelPosition','override','close','focused$','SNAPSHOT_SERVER_URL_KEY','disposeWithMe','_getUploadFileURL','loadDoc','_initResize','disableLocalCache','React','transformChangesets','jiqing500','_retryCount','COMPLETION_FINISHED','width','push','assign','use','SEND_CHANGESET_TIMEOUT_KEY','_getSnapshotAPIPrefix','delete','randomUUID','_transformPreviousActiveRange','IUniverInstanceService','registerBeforeClose','_getSignURL','\x20to\x20','toDisposable','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_anchor','InsertRangeMoveRightCommandId','OTHER_CLIENTS_EDITING','getCurrentSelections','_getMergeRange','session.collaboration-timeout','UniverCollaborationClientPlugin','message$','CHANGESET_SHOULD_RETRY','updateCursorEvent','fillRule','transformIMECache','_assignedColors','_resendWithTimeout','tag','[OfflineState]:\x20received\x20acknowledgement.','_init','handleInsertRow','_listenToOnlineEvent','_context','contains','result','_socketService','verdancy600','Inject','_sender','authzUrl','event$','_clearHeartbeatTimer','_cursors','updateOfflineData','deleteCollaborator','throttleTime','handleInsertRangeMoveDown','_scheduleClearOtherTimer','stopTime','saveSheetBlock','getRelativeToViewportCoord','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onPointerEnter$','forwardRef','[CollaborationUndoRedoService]','_getSheetObject','key','getInterceptPoints','_loadSheet','_startCollaboration','_backgroundColor','collabStatus.syncing','fromEventSubject','_executeRemoteChangeset','clipPath','collaboration.single-unit.warning','state$','getAttachHeader','onlineStatusTitle','now','getCurrentRevOfUnit','POST','onTransformSelections','gold400','color','_eventUnsubscribe','_onJoinRoomEvent','getCollabEntity$','encode','TRANSFORM_CHANGE_OBSERVABLE_TYPE','failed\x20to\x20apply\x20missed\x20changesets!','onPointerLeave$','xlink:href','_injector','function','Injector','string','onCommentUpdate','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_drawTextRange','_getCurrentRevision','_waitCount','Vector2','onRemoteChangeset','BehaviorSubject','_status$','_transformUndoRedoStack','height','_updateStatus','onMissingChangesets','collab-client.tooltip.reconnect','roomMembers$','onTransformChange$','transform','onload','removeMember','_uiPartsService','session','[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.','3szCgtX','@univerjs/design','NodePositionConvertToRectRange','getUnit','getUnitOnRev','onlyLocal','infoRsp','_drawAnchor','DocIMEInputManagerService','baseRev','_anchorDot','exhaustSavingTask','OnLineSingle','_submitChangeset','@univerjs/rpc','onStateChange','forEach','onMouseMove','[CollaborationState]:\x20apply\x20error!','unitId\x20is\x20not\x20found','CONNECTOR_DATA_TOO_LARGE','subscribe','CollaborationStatusDisplay','UNKNOWN_CMD','requestParams','_rescheduleHeartbeat','_onConflict','history','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','div','shareReplay','getUndoRedoMutationParamsCache','_localeService','LICENSE_EXPORT_SIZE_EXCEEDED','transformUndoRedo','onTransformRemoteChangesetByIMECache','getUniverSheetInstance','deserializeToCombResponse','entries','getViewport','ERROR_IMAGE','number','_registerDependencies','SNAPSHOT_HAS_BEEN_REMOVED','_initStatusComponent','hasOwnProperty','_ensureSubject','createInstance','rxjs','snapshot','_session','cursorInfo$','_refRangeService','SheetCollaborationEntity','getResourcesRequest','[FetchMissState]','ALREADY_EXISTS','_handleLeaveEvent','updateCollaborator','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','arc','EmptyMutation','DependentOn','change$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UNDEFINED','HttpImport','getActiveSheet','roles','_initCommandExecutedListener','YUUMI_RATE_OVER_LIMIT','_commentUpdate$','sheetId','_compressMutationService','unsubscribe','visibilitychange','_cachedData','RETRY_CONNECTING_MAX_COUNT_KEY','collabStatus.notCollab','off-line-single_clip0_910_343','SetTextSelectionsOperation','_sheetSkeletonManagerService','getRenderById','_removeClearOtherTimer','font','_registerRenderDependencies','[PendingState]:\x20received\x20acknowledgement.','LIVESHARE_FETCH_OPERATIONS','getSkeleton','_setupBeforeClosingHandler','_type','_clearUndo','COMPRESS_MUTATION_APPLY','Workbook','HttpExport','createSocket','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','href','_transformIMECache','permission.title','_socketReady','getUnitStatus$','_replayCachedMutations','delay','_joinRoom','LEAVE','location','_colorIndex','pluginName','SheetPermissionInitController','defs','InsertSheetMutation','ThemeService','_getUndoStack','UniverCore','_waitForHeartbeatResponse','getLatestCsReqIdBySid','_showConflictNotification','isTransformChangesetsSuccess','Rect','Tools','_onFetchMissResult','m2Prime','x-univer-host','getMergeData','ranges','\x0aCurrent:\x20','sid','cmd','Univer','_sendHeartbeat','InsertRangeMoveDownCommandId','_onCursorUpdate','isInternalEditorID','triggerDblclick','MessageType','_getRedoStack','_sendingTimer','concatMap','_state','_id','_decreaseWaiting','JOINING','[OfflineState]:\x20received\x20rejection.','selection','Shape','SEND_CHANGESET_TIMEOUT','DocSelectionManagerService','unit','_transformStack','toString','Warning','_clearScheduledTask','popstate','_instanceService','objectActions','whenReady','Optional','has','_incrementRevisionNumber','_shouldReportTelemetry','awaiting_with_pending','_localStorageService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CODE','/universer-api/stream/file/upload','/allowed','getTypeOfUnitAdded$','ICollaborationSocketService','src','_sessions','params','CollaborationSocketService','MoveRangeCommandId','dispose$','conflict','onTransformIME','9daSRap','getFocusedUnit','_roomMembers$','max','hidden','[PendingState]:\x20unhandled\x20univer\x20type:\x20','USERS_ENTER','restore','_revisionService','submit\x20changeset\x20error!','useObservable','_scheduleHeartbeat','RECV','CommentService','joinRsp','doc.mutation.rich-text-editing','getOwnPropertySymbols','collab-text-range-','_range','UniverSheetsUi','#fff','_name','close$','getCollabCursors$','ENSURE_SNAPSHOT_EXECUTION','from','_scheduleCollaborationTimeoutTimer','/-/object/-/batch_allowed','concat','transformMutation','addEventListener','subscribeEvent','_startDocCollabCursor','makeDirty','@univerjs/network','apply','socket\x20open.','connection\x20error','_transformSelections','@univerjs/drawing','USERS_LEAVE','hovered','_imageSourceCache','_colorAssignService','UniverNetwork','save','/block/','getOwnPropertyDescriptor','_cursorShapes','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ISnapshotServerService','socket$','_onConnectionFailed','_beforeCloseService','translate(.97)','CollaborationSession','awaitingChangeset','486549mhSyVs','map','LOCAL_CACHE_INTERVAL','[CollaborationSession]','type','isPermissionRej','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','slice','CollaborationSessionService','setActiveRange','UniverDrawing','prototype','univerjs-icon\x20univerjs-icon-','AWAITING','WebURLService'];_0x3439=function(){return _0x2faed2;};return _0x3439();}(function(_0x4eb2fb,_0x196296){const _0x2baea3=_0x9a79,_0x5b2fbe=_0x4eb2fb();while(!![]){try{const _0x4097d9=parseInt(_0x2baea3(0x305))/0x1+-parseInt(_0x2baea3(0x2fe))/0x2*(-parseInt(_0x2baea3(0x3d9))/0x3)+parseInt(_0x2baea3(0x23c))/0x4+parseInt(_0x2baea3(0x192))/0x5+parseInt(_0x2baea3(0x1f0))/0x6*(-parseInt(_0x2baea3(0x4c3))/0x7)+-parseInt(_0x2baea3(0x30c))/0x8+-parseInt(_0x2baea3(0x48a))/0x9*(-parseInt(_0x2baea3(0x25f))/0xa);if(_0x4097d9===_0x196296)break;else _0x5b2fbe['push'](_0x5b2fbe['shift']());}catch(_0x5efc3a){_0x5b2fbe['push'](_0x5b2fbe['shift']());}}}(_0x3439,0xf0187),function(_0x4b84a7,_0x2e4356){const _0x12a1e2=_0x9a79;typeof exports==_0x12a1e2(0x32a)&&typeof module<'u'?_0x2e4356(exports,require(_0x12a1e2(0x2a7)),require(_0x12a1e2(0x409)),require('rxjs/operators'),require(_0x12a1e2(0x3da)),require(_0x12a1e2(0x560)),require(_0x12a1e2(0x4ac)),require('@univerjs-pro/collaboration'),require(_0x12a1e2(0x303)),require(_0x12a1e2(0x517)),require('@univerjs/sheets'),require('@univerjs/engine-render'),require(_0x12a1e2(0x1d8)),require(_0x12a1e2(0x4b1)),require('@univerjs/engine-formula'),require('@univerjs/sheets-ui'),require(_0x12a1e2(0x2ca)),require(_0x12a1e2(0x3e7)),require(_0x12a1e2(0x282))):typeof define==_0x12a1e2(0x3c0)&&define[_0x12a1e2(0x16f)]?define([_0x12a1e2(0x24b),'@univerjs/core','rxjs',_0x12a1e2(0x549),_0x12a1e2(0x3da),'@univerjs/ui',_0x12a1e2(0x4ac),'@univerjs-pro/collaboration',_0x12a1e2(0x303),_0x12a1e2(0x517),'@univerjs/sheets','@univerjs/engine-render',_0x12a1e2(0x1d8),'@univerjs/drawing','@univerjs/engine-formula','@univerjs/sheets-ui',_0x12a1e2(0x2ca),'@univerjs/rpc',_0x12a1e2(0x282)],_0x2e4356):(_0x4b84a7=typeof globalThis<'u'?globalThis:_0x4b84a7||self,_0x2e4356(_0x4b84a7[_0x12a1e2(0x220)]={},_0x4b84a7[_0x12a1e2(0x44b)],_0x4b84a7[_0x12a1e2(0x409)],_0x4b84a7['rxjs']['operators'],_0x4b84a7[_0x12a1e2(0x350)],_0x4b84a7[_0x12a1e2(0x289)],_0x4b84a7[_0x12a1e2(0x4b6)],_0x4b84a7['UniverCollaboration'],_0x4b84a7[_0x12a1e2(0x54a)],_0x4b84a7[_0x12a1e2(0x27b)],_0x4b84a7['UniverSheets'],_0x4b84a7[_0x12a1e2(0x30d)],_0x4b84a7[_0x12a1e2(0x19a)],_0x4b84a7[_0x12a1e2(0x4cd)],_0x4b84a7[_0x12a1e2(0x567)],_0x4b84a7[_0x12a1e2(0x49d)],_0x4b84a7[_0x12a1e2(0x365)],_0x4b84a7[_0x12a1e2(0x1cf)],_0x4b84a7[_0x12a1e2(0x151)]));}(this,function(_0x5d9ca9,_0x5dd71d,_0x1e8f3c,_0x58074b,_0x4fd8aa,_0x43bf7d,_0x272b65,_0x57fec2,_0x51eb8a,_0x1e1fad,_0x51fcfd,_0x3a6273,_0x4c83d7,_0x1cf942,_0x29bba3,_0x1a18db,_0x3055f4,_0x55c888,_0x40a85b){'use strict';const _0x2e5f4c=_0x9a79;var _0x1f2ec3=Object[_0x2e5f4c(0x2c2)],_0x241587=(_0x120cb4,_0x3c0bdb,_0x56f4b4)=>_0x3c0bdb in _0x120cb4?_0x1f2ec3(_0x120cb4,_0x3c0bdb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56f4b4}):_0x120cb4[_0x3c0bdb]=_0x56f4b4,_0x30b9f2=(_0x2ef0ff,_0x240549,_0x5376a3)=>_0x241587(_0x2ef0ff,typeof _0x240549!=_0x2e5f4c(0x55a)?_0x240549+'':_0x240549,_0x5376a3);const _0x29ec86='SNAPSHOT_SERVER_URL_KEY',_0x65c2a1=_0x2e5f4c(0x1fb),_0x5d6fbd=_0x2e5f4c(0x15c),_0x1578f7=_0x2e5f4c(0x46b),_0x447e60=_0x2e5f4c(0x506),_0x46187b=_0x2e5f4c(0x514),_0x1a0de8=_0x2e5f4c(0x161),_0xa604e8='HEARTBEAT_TIMEOUT',_0xa4649a='RETRY_CONNECTING_MAX_COUNT',_0x1e8c54=_0x2e5f4c(0x4c5),_0x1d7910=_0x2e5f4c(0x283),_0x57a7d5='/universer-api/comb',_0x33aae3=_0x2e5f4c(0x2dd),_0xa078ff=_0x2e5f4c(0x135);var _0x378745=(_0x452038=>(_0x452038[_0x452038[_0x2e5f4c(0x41a)]=0x0]='UNDEFINED',_0x452038[_0x452038['OK']=0x1]='OK',_0x452038[_0x452038[_0x2e5f4c(0x217)]=0x2]='INTERNAL_ERROR',_0x452038[_0x452038[_0x2e5f4c(0x1ac)]=0x3]=_0x2e5f4c(0x1ac),_0x452038[_0x452038['NOT_FOUND']=0x4]=_0x2e5f4c(0x4e5),_0x452038[_0x452038[_0x2e5f4c(0x50e)]=0x5]=_0x2e5f4c(0x50e),_0x452038[_0x452038[_0x2e5f4c(0x411)]=0x6]=_0x2e5f4c(0x411),_0x452038[_0x452038[_0x2e5f4c(0x1b3)]=0x7]=_0x2e5f4c(0x1b3),_0x452038[_0x452038[_0x2e5f4c(0x319)]=0x8]=_0x2e5f4c(0x319),_0x452038[_0x452038[_0x2e5f4c(0x369)]=0x9]=_0x2e5f4c(0x369),_0x452038[_0x452038[_0x2e5f4c(0x564)]=0x1389]=_0x2e5f4c(0x564),_0x452038[_0x452038['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2e5f4c(0x2c7),_0x452038[_0x452038[_0x2e5f4c(0x404)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x452038[_0x452038[_0x2e5f4c(0x4a2)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x452038[_0x452038[_0x2e5f4c(0x574)]=0x1b59]=_0x2e5f4c(0x574),_0x452038[_0x452038[_0x2e5f4c(0x285)]=0x1b5a]=_0x2e5f4c(0x285),_0x452038[_0x452038[_0x2e5f4c(0x565)]=0x1b5b]=_0x2e5f4c(0x565),_0x452038[_0x452038[_0x2e5f4c(0x2e4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x452038[_0x452038[_0x2e5f4c(0x1bf)]=0x1b5d]=_0x2e5f4c(0x1bf),_0x452038[_0x452038[_0x2e5f4c(0x3ed)]=0x1f41]=_0x2e5f4c(0x3ed),_0x452038[_0x452038[_0x2e5f4c(0x1cb)]=0x2329]=_0x2e5f4c(0x1cb),_0x452038[_0x452038['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x452038[_0x452038['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2e5f4c(0x1ee),_0x452038[_0x452038[_0x2e5f4c(0x3fa)]=0x232c]=_0x2e5f4c(0x3fa),_0x452038[_0x452038[_0x2e5f4c(0x544)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x452038[_0x452038[_0x2e5f4c(0x2d1)]=0x2711]=_0x2e5f4c(0x2d1),_0x452038[_0x452038[_0x2e5f4c(0x24e)]=0x2712]=_0x2e5f4c(0x24e),_0x452038[_0x452038[_0x2e5f4c(0x41f)]=0x2713]=_0x2e5f4c(0x41f),_0x452038[_0x452038['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2e5f4c(0x1a6),_0x452038[_0x452038['UNRECOGNIZED']=-0x1]=_0x2e5f4c(0x24c),_0x452038))(_0x378745||{}),_0x17bbb0=(_0x39bd8c=>(_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x1e3)]=0x0]=_0x2e5f4c(0x1e3),_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x4de)]=0x1]=_0x2e5f4c(0x4de),_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x530)]=0x2]='UNIVER_SHEET',_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x146)]=0x3]=_0x2e5f4c(0x146),_0x39bd8c[_0x39bd8c['UNIVER_PROJECT']=0x4]=_0x2e5f4c(0x17c),_0x39bd8c[_0x39bd8c[_0x2e5f4c(0x24c)]=-0x1]=_0x2e5f4c(0x24c),_0x39bd8c))(_0x17bbb0||{}),_0x2f025c=(_0x47c5ad=>(_0x47c5ad[_0x47c5ad['UNKNOWN_CMD']=0x0]=_0x2e5f4c(0x3f0),_0x47c5ad[_0x47c5ad['HELLO']=0x1]=_0x2e5f4c(0x159),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x214)]=0x2]=_0x2e5f4c(0x214),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x442)]=0x3]='LEAVE',_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x54d)]=0x4]=_0x2e5f4c(0x54d),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x240)]=0x5]=_0x2e5f4c(0x240),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x496)]=0x6]=_0x2e5f4c(0x496),_0x47c5ad[_0x47c5ad[_0x2e5f4c(0x24c)]=-0x1]='UNRECOGNIZED',_0x47c5ad))(_0x2f025c||{}),_0x575e62=(_0x4364aa=>(_0x4364aa[_0x4364aa[_0x2e5f4c(0x47d)]=0x0]=_0x2e5f4c(0x47d),_0x4364aa[_0x4364aa['OK']=0x1]='OK',_0x4364aa[_0x4364aa[_0x2e5f4c(0x2fd)]=0x2]=_0x2e5f4c(0x2fd),_0x4364aa[_0x4364aa[_0x2e5f4c(0x24c)]=-0x1]=_0x2e5f4c(0x24c),_0x4364aa))(_0x575e62||{}),_0x12f3da=(_0x4ee6ae=>(_0x4ee6ae[_0x4ee6ae['Undefined']=0x0]=_0x2e5f4c(0x1fe),_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x41b)]=0x1]=_0x2e5f4c(0x41b),_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x437)]=0x2]=_0x2e5f4c(0x437),_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x2ec)]=0x3]='UnitEmbedded',_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x194)]=0x4]='UnitSnapshot',_0x4ee6ae[_0x4ee6ae[_0x2e5f4c(0x24c)]=-0x1]=_0x2e5f4c(0x24c),_0x4ee6ae))(_0x12f3da||{});const _0x505ac2='collaboration-client.config',_0x51e182={};function _0x2ff0f2(_0x37d773){const _0x321ffb=_0x2e5f4c;var _0x4d93e4,_0x51e236,_0x44ff71,_0x4fa011,_0x2c7550;const _0x15c682=_0x37d773['data'],_0x12d6e5=JSON['parse'](_0x15c682);switch(_0x12d6e5[_0x321ffb(0x459)]){case _0x2f025c[_0x321ffb(0x240)]:case _0x2f025c['HELLO']:{const _0x161b04=_0x12d6e5[_0x321ffb(0x3df)];return{..._0x12d6e5,'data':_0x161b04,'cmd':_0x12d6e5['cmd']};}case _0x2f025c['JOIN']:{const _0x12ccce=_0x12d6e5[_0x321ffb(0x498)];return{..._0x12d6e5,'data':_0x12ccce,'cmd':_0x12d6e5['cmd']};}case _0x2f025c['RECV']:{const _0x376571=_0x12d6e5['collaMsg'];switch(_0x376571[_0x321ffb(0x210)]){case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x205)]:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x4d93e4=_0x376571[_0x321ffb(0x1d3)])==null?void 0x0:_0x4d93e4['cs']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)]['CHANGESET_ACK']:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x51e236=_0x376571['csAckEvent'])==null?void 0x0:_0x51e236['cs']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x199)]:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x44ff71=_0x376571[_0x321ffb(0x356)])==null?void 0x0:_0x44ff71['cs']},'cmd':_0x12d6e5['cmd']};case _0x57fec2['CollaborationEvent']['CHANGESET_REJ']:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x4fa011=_0x376571[_0x321ffb(0x1b8)])==null?void 0x0:_0x4fa011['cs']},'cmd':_0x12d6e5['cmd']};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x381)]:return{..._0x12d6e5,'data':{..._0x376571,'data':(_0x2c7550=_0x376571[_0x321ffb(0x4ed)])==null?void 0x0:_0x2c7550['cs']},'cmd':_0x12d6e5['cmd']};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x235)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571[_0x321ffb(0x382)]},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x490)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571[_0x321ffb(0x2e0)]},'cmd':_0x12d6e5['cmd']};case _0x57fec2[_0x321ffb(0x2ff)]['USERS_LEAVE']:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571[_0x321ffb(0x137)]},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x1ec)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['liveShareNewHost']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x430)]:case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x51d)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['liveShareOperation']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571[_0x321ffb(0x14b)]},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)]['MSG_FOR_ERROR']:return{..._0x12d6e5,'data':_0x376571,'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2[_0x321ffb(0x2ff)]['COMMENT_UPDATE']:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['commentUpdateEvent']},'cmd':_0x12d6e5[_0x321ffb(0x459)]};case _0x57fec2['CollaborationEvent'][_0x321ffb(0x326)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['updatePermissionObjEvent']},'cmd':_0x12d6e5['cmd']};case _0x57fec2[_0x321ffb(0x2ff)][_0x321ffb(0x2e9)]:return{..._0x12d6e5,'data':{..._0x376571,'data':_0x376571['shouldCloseConn']},'cmd':_0x12d6e5['cmd']};default:return _0x12d6e5;}}default:return _0x12d6e5;}}function _0x17b168(_0x187671){const _0xf6aaff=_0x2e5f4c;switch(_0x187671[_0xf6aaff(0x459)]){case _0x2f025c[_0xf6aaff(0x240)]:case _0x2f025c[_0xf6aaff(0x159)]:return JSON[_0xf6aaff(0x4eb)]({'cmd':_0x187671[_0xf6aaff(0x459)],'routeKey':_0x187671[_0xf6aaff(0x33d)]});case _0x2f025c[_0xf6aaff(0x54d)]:{let _0x4cb757;switch(_0x187671[_0xf6aaff(0x51b)]['eventID']){case _0x57fec2[_0xf6aaff(0x2ff)]['UPDATE_CURSOR']:{_0x4cb757={'eventID':_0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x235)],'updateCursorEvent':_0x187671[_0xf6aaff(0x51b)][_0xf6aaff(0x51b)]};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x4b2)]:{_0x4cb757={'eventID':_0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x4b2)],'leaveEvent':_0x187671['data']['data']};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x490)]:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent'][_0xf6aaff(0x490)],'joinEvent':_0x187671['data'][_0xf6aaff(0x51b)]};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x1ec)]:{_0x4cb757={'eventID':_0x57fec2[_0xf6aaff(0x2ff)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x187671[_0xf6aaff(0x51b)]['data']};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x51d)]:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent'][_0xf6aaff(0x51d)],'liveShareOperation':_0x187671[_0xf6aaff(0x51b)][_0xf6aaff(0x51b)]};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x154)]:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x187671[_0xf6aaff(0x51b)]['data']};break;}case _0x57fec2[_0xf6aaff(0x2ff)]['LIVESHARE_REQUEST_HOST']:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent'][_0xf6aaff(0x1f3)],'liveShareRequestHost':_0x187671[_0xf6aaff(0x51b)][_0xf6aaff(0x51b)]};break;}case _0x57fec2[_0xf6aaff(0x2ff)][_0xf6aaff(0x430)]:{_0x4cb757={'eventID':_0x57fec2['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4cb757={'eventID':_0x187671[_0xf6aaff(0x51b)][_0xf6aaff(0x210)]};}return JSON[_0xf6aaff(0x4eb)]({'cmd':_0x187671['cmd'],'routeKey':_0x187671[_0xf6aaff(0x33d)],'collaMsg':_0x4cb757});}case _0x2f025c['JOIN']:return JSON[_0xf6aaff(0x4eb)]({'cmd':_0x187671['cmd'],'routeKey':_0x187671[_0xf6aaff(0x33d)],'joinReq':_0x187671[_0xf6aaff(0x51b)]});case _0x2f025c[_0xf6aaff(0x442)]:return JSON[_0xf6aaff(0x4eb)]({'cmd':_0x187671[_0xf6aaff(0x459)],'routeKey':_0x187671['routeKey'],'leaveReq':_0x187671['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x1efc32=Object['defineProperty'],_0x10cf1d=Object[_0x2e5f4c(0x4b9)],_0x3ebb8c=(_0x152b72,_0x1c5c4d,_0x3a84c6,_0x2258b3)=>{const _0x34b0a1=_0x2e5f4c;for(var _0x31b4a1=_0x2258b3>0x1?void 0x0:_0x2258b3?_0x10cf1d(_0x1c5c4d,_0x3a84c6):_0x1c5c4d,_0x2b962f=_0x152b72[_0x34b0a1(0x310)]-0x1,_0x3ff420;_0x2b962f>=0x0;_0x2b962f--)(_0x3ff420=_0x152b72[_0x2b962f])&&(_0x31b4a1=(_0x2258b3?_0x3ff420(_0x1c5c4d,_0x3a84c6,_0x31b4a1):_0x3ff420(_0x31b4a1))||_0x31b4a1);return _0x2258b3&&_0x31b4a1&&_0x1efc32(_0x1c5c4d,_0x3a84c6,_0x31b4a1),_0x31b4a1;},_0x422fd4=(_0x324d37,_0x36e3b0)=>(_0x4ad55b,_0x3c2f7c)=>_0x36e3b0(_0x4ad55b,_0x3c2f7c,_0x324d37);const _0x3b499d=_0x5dd71d['createIdentifier'](_0x2e5f4c(0x1ae));function _0x8a0b82(_0x1de645,_0x9838ea,_0x4b692f){const _0x306962=_0x2e5f4c;return _0x1de645+'/'+_0x9838ea+_0x306962(0x28b)+_0x4b692f+_0x306962(0x261);}_0x5d9ca9['CollaborationSocketService']=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x1058ac,_0x6c82a5,_0x286277,_0x4fe82b,_0x1cbd3f){const _0x2fc020=_0x2e5f4c;super(),this['_http']=_0x1058ac,this[_0x2fc020(0x569)]=_0x6c82a5,this[_0x2fc020(0x33c)]=_0x286277,this[_0x2fc020(0x55b)]=_0x4fe82b,this['_snapshotServerService']=_0x1cbd3f;}[_0x2e5f4c(0x438)](_0x4fcd5b){const _0x118dac=_0x2e5f4c,_0x5095a5=this[_0x118dac(0x569)]['createSocket'](_0x4fcd5b);if(!_0x5095a5)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x563301=new _0x5dd71d[(_0x118dac(0x26d))](),_0x28d438=new _0x1e8f3c[(_0x118dac(0x2d3))]();_0x563301['add'](_0x5095a5[_0x118dac(0x4a0)][_0x118dac(0x3ee)](_0x1d6a10=>_0x28d438['next'](_0x1d6a10))),_0x563301[_0x118dac(0x323)](_0x5dd71d[_0x118dac(0x377)](()=>_0x28d438['complete']()));const _0x546801=new _0x1e8f3c[(_0x118dac(0x2d3))]();_0x563301[_0x118dac(0x323)](_0x5095a5[_0x118dac(0x216)][_0x118dac(0x3ee)](_0x11dcf1=>_0x546801[_0x118dac(0x228)](_0x11dcf1))),_0x563301[_0x118dac(0x323)](_0x5dd71d[_0x118dac(0x377)](()=>_0x546801['complete']()));const _0x138df0=new _0x1e8f3c['Subject']();_0x563301['add'](_0x5095a5[_0x118dac(0x380)]['subscribe'](_0x45369d=>{const _0x2d85ab=_0x2ff0f2(_0x45369d);_0x138df0['next'](_0x2d85ab);})),_0x563301[_0x118dac(0x323)](_0x5dd71d[_0x118dac(0x377)](()=>_0x138df0[_0x118dac(0x170)]()));let _0x35d6ba;const _0x5cfcbd=()=>{const _0x42460c=_0x118dac;_0x546801[_0x42460c(0x228)](new Event(_0x42460c(0x4af))),_0x28d438[_0x42460c(0x228)](new CloseEvent(_0x42460c(0x4af))),_0x35d6ba[_0x42460c(0x35d)]();};return _0x35d6ba={'memberID':'','close$':_0x28d438['asObservable'](),'error$':_0x546801[_0x118dac(0x1be)](),'open$':_0x5095a5[_0x118dac(0x330)],'message$':_0x138df0[_0x118dac(0x1be)](),'send':_0xdaf138=>{const _0x1a09a0=_0x118dac;if(_0xdaf138['cmd']===_0x2f025c[_0x1a09a0(0x54d)]){if(_0xdaf138[_0x1a09a0(0x51b)][_0x1a09a0(0x210)]===_0x57fec2[_0x1a09a0(0x2ff)]['SUBMIT_CHANGESET']){this[_0x1a09a0(0x3e6)](_0x35d6ba,_0xdaf138['data'])[_0x1a09a0(0x52c)](_0x5728e4=>{const _0x480e5d=_0x1a09a0;this[_0x480e5d(0x55b)][_0x480e5d(0x2ac)](_0x5728e4),_0x5cfcbd();});return;}if(_0xdaf138['data'][_0x1a09a0(0x210)]===_0x57fec2[_0x1a09a0(0x2ff)][_0x1a09a0(0x26b)]){const _0x2af65e=_0xdaf138[_0x1a09a0(0x51b)];this['_fetchMissChangesets'](_0x2af65e)[_0x1a09a0(0x18f)](_0x4e9c29=>{const _0x2c3c93=_0x1a09a0;_0x138df0[_0x2c3c93(0x228)]({'cmd':_0x2f025c['RECV'],'code':_0x575e62['OK'],'routeKey':_0x2af65e[_0x2c3c93(0x51b)][_0x2c3c93(0x145)],'routeType':'','data':{'eventID':_0x57fec2[_0x2c3c93(0x2ff)][_0x2c3c93(0x1e2)],'data':{'changesets':_0x4e9c29}}});})[_0x1a09a0(0x52c)](_0xea039c=>{const _0x2be2f5=_0x1a09a0;this[_0x2be2f5(0x55b)][_0x2be2f5(0x2ac)](_0xea039c),_0x5cfcbd();});return;}}_0x5095a5[_0x1a09a0(0x198)](_0x17b168(_0xdaf138));},'close':()=>{const _0x16c65e=_0x118dac;_0x5095a5[_0x16c65e(0x35d)](),_0x563301[_0x16c65e(0x32d)]();}},_0x35d6ba;}async[_0x2e5f4c(0x3e6)](_0x556fc8,_0x4ca196){const _0x1d43ea=_0x2e5f4c;var _0x5872af,_0x3ab3fc;const {unitType:_0x195d72,unitID:_0x25e1e7,changeset:_0x92ba8}=_0x4ca196[_0x1d43ea(0x51b)],_0x39101c={'unitID':_0x25e1e7,'memberID':_0x556fc8[_0x1d43ea(0x153)],'type':_0x195d72,'changeset':_0x57fec2[_0x1d43ea(0x346)](_0x92ba8)},_0x1922d3=this[_0x1d43ea(0x33c)][_0x1d43ea(0x18e)](_0x1d7910),_0x40b343=this[_0x1d43ea(0x33c)][_0x1d43ea(0x18e)](_0x505ac2),_0x2ae62b=_0x8a0b82((_0x3ab3fc=(_0x5872af=_0x40b343==null?void 0x0:_0x40b343[_0x1d43ea(0x51e)])!=null?_0x5872af:_0x1922d3)!=null?_0x3ab3fc:_0x57a7d5,_0x195d72,_0x25e1e7);try{await this[_0x1d43ea(0x2b3)][_0x1d43ea(0x551)](_0x2ae62b,{'body':_0x39101c});}catch(_0x3c0a3c){throw this[_0x1d43ea(0x55b)][_0x1d43ea(0x2ac)](_0x1d43ea(0x4c6),_0x1d43ea(0x493)),_0x3c0a3c;}}async[_0x2e5f4c(0x31f)](_0x25e781){const _0x44a3d9=_0x2e5f4c,{unitID:_0x30cbbd,from:_0x33d8b8,to:_0x1acc05,unitType:_0x201e93}=_0x25e781[_0x44a3d9(0x51b)];return(await this[_0x44a3d9(0x1a5)][_0x44a3d9(0x335)]({'metadata':void 0x0},{'unitID':_0x30cbbd,'type':_0x201e93,'from':_0x33d8b8,'to':_0x1acc05}))[_0x44a3d9(0x53c)];}},_0x5d9ca9['CollaborationSocketService']=_0x3ebb8c([_0x422fd4(0x0,_0x5dd71d['Inject'](_0x272b65['HTTPService'])),_0x422fd4(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65[_0x2e5f4c(0x353)])),_0x422fd4(0x2,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x422fd4(0x3,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x422fd4(0x4,_0x57fec2[_0x2e5f4c(0x4bc)])],_0x5d9ca9[_0x2e5f4c(0x485)]);const _0x44bddb=_0x2e5f4c(0x2b9);function _0x366985(_0x55e0f2){const _0x4a8c3e=_0x2e5f4c;return JSON[_0x4a8c3e(0x4eb)](_0x55e0f2)['length'];}class _0x4e977c{constructor(){const _0x108acf=_0x2e5f4c;_0x30b9f2(this,'_commentUpdate$',new _0x1e8f3c[(_0x108acf(0x2d3))]()),_0x30b9f2(this,_0x108acf(0x4d2),this['_commentUpdate$'][_0x108acf(0x1be)]());}[_0x2e5f4c(0x3c3)](_0x4961a1){const _0x1847b9=_0x2e5f4c;this[_0x1847b9(0x420)][_0x1847b9(0x228)](_0x4961a1);}}var _0x200d95=Object[_0x2e5f4c(0x2c2)],_0x2e598f=Object[_0x2e5f4c(0x4b9)],_0x532353=(_0x3ac6e7,_0x4a3ea9,_0x1ba288,_0x1b7fde)=>{const _0x33567c=_0x2e5f4c;for(var _0x3bb849=_0x1b7fde>0x1?void 0x0:_0x1b7fde?_0x2e598f(_0x4a3ea9,_0x1ba288):_0x4a3ea9,_0x19c41f=_0x3ac6e7[_0x33567c(0x310)]-0x1,_0x42d6c2;_0x19c41f>=0x0;_0x19c41f--)(_0x42d6c2=_0x3ac6e7[_0x19c41f])&&(_0x3bb849=(_0x1b7fde?_0x42d6c2(_0x4a3ea9,_0x1ba288,_0x3bb849):_0x42d6c2(_0x3bb849))||_0x3bb849);return _0x1b7fde&&_0x3bb849&&_0x200d95(_0x4a3ea9,_0x1ba288,_0x3bb849),_0x3bb849;},_0x17947a=(_0x35b0ea,_0x40b58c)=>(_0x5090c7,_0x9e0d7f)=>_0x40b58c(_0x5090c7,_0x9e0d7f,_0x35b0ea);let _0x266f31=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x59d792,_0x23a6c9){const _0x279a4c=_0x2e5f4c;super(),_0x30b9f2(this,_0x279a4c(0x173),new Map()),(this[_0x279a4c(0x546)]=_0x59d792,this['_userManagerService']=_0x23a6c9,this[_0x279a4c(0x360)](_0x5dd71d[_0x279a4c(0x377)](_0x1e8f3c[_0x279a4c(0x249)](this[_0x279a4c(0x546)][_0x279a4c(0x180)](_0x5dd71d[_0x279a4c(0x14d)]['UNIVER_SHEET'])[_0x279a4c(0x31d)](_0x58074b[_0x279a4c(0x4c4)](_0x1bc3d6=>_0x1bc3d6[_0x279a4c(0x29e)]())),this[_0x279a4c(0x546)]['getTypeOfUnitDisposed$'](_0x5dd71d[_0x279a4c(0x14d)][_0x279a4c(0x4de)])['pipe'](_0x58074b['map'](_0x4a048e=>_0x4a048e['getUnitId']())),this[_0x279a4c(0x546)][_0x279a4c(0x180)](_0x5dd71d['UniverInstanceType'][_0x279a4c(0x146)])[_0x279a4c(0x31d)](_0x58074b['map'](_0x32b992=>_0x32b992[_0x279a4c(0x29e)]())))[_0x279a4c(0x3ee)](_0x81830d=>this[_0x279a4c(0x34a)](_0x81830d)))));}[_0x2e5f4c(0x15e)](_0xc51131){const _0x973cd4=_0x2e5f4c;this['_userManagerService'][_0x973cd4(0x15e)](_0xc51131);}['getCurrentUser'](){const _0x2d8baa=_0x2e5f4c;return this[_0x2d8baa(0x2cc)]['getCurrentUser']();}[_0x2e5f4c(0x539)](_0x26bd12,_0x143a55){const _0x219f77=_0x2e5f4c;let _0x5511f2=this[_0x219f77(0x173)][_0x219f77(0x578)](_0x26bd12);_0x5511f2||(_0x5511f2=new _0x482ea8(),this[_0x219f77(0x173)][_0x219f77(0x246)](_0x26bd12,_0x5511f2)),_0x5511f2['updateMember'](_0x143a55);}[_0x2e5f4c(0x3d5)](_0x8079ec,_0x2338d1){const _0x5d5de6=_0x2e5f4c,_0x3cfb27=this[_0x5d5de6(0x173)]['get'](_0x8079ec);_0x3cfb27&&_0x3cfb27[_0x5d5de6(0x3d5)](_0x2338d1);}[_0x2e5f4c(0x1d7)](_0x57da28){const _0x504a07=_0x2e5f4c;return this[_0x504a07(0x173)][_0x504a07(0x578)](_0x57da28);}['getMember'](_0x102d5b,_0x11e5c7){const _0x2bb4e6=_0x2e5f4c,_0x4f50a9=this[_0x2bb4e6(0x173)][_0x2bb4e6(0x578)](_0x102d5b);if(_0x4f50a9)return _0x4f50a9[_0x2bb4e6(0x233)](_0x11e5c7);}[_0x2e5f4c(0x34a)](_0x53c05c){const _0x16e127=_0x2e5f4c,_0x36d9bd=this['_roomMembers'][_0x16e127(0x578)](_0x53c05c);_0x36d9bd&&(_0x36d9bd['dispose'](),this[_0x16e127(0x173)][_0x16e127(0x370)](_0x53c05c));}['dispose'](){const _0x12b7b3=_0x2e5f4c;this['_roomMembers'][_0x12b7b3(0x3e9)](_0x3341fe=>_0x3341fe[_0x12b7b3(0x32d)]()),this[_0x12b7b3(0x173)][_0x12b7b3(0x188)]();}};_0x266f31=_0x532353([_0x17947a(0x0,_0x5dd71d[_0x2e5f4c(0x373)]),_0x17947a(0x1,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x327)]))],_0x266f31);class _0x482ea8 extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(){const _0x10f1df=_0x2e5f4c;super(...arguments),_0x30b9f2(this,_0x10f1df(0x307),new Map());}['dispose'](){const _0x174b43=_0x2e5f4c;this[_0x174b43(0x307)][_0x174b43(0x188)]();}[_0x2e5f4c(0x539)](_0x28fad4){const _0x213269=_0x2e5f4c;this[_0x213269(0x307)][_0x213269(0x246)](_0x28fad4[_0x213269(0x153)],_0x28fad4);}[_0x2e5f4c(0x3d5)](_0x35ed5d){this['_members']['delete'](_0x35ed5d);}[_0x2e5f4c(0x233)](_0x15a616){const _0x4c32ba=_0x2e5f4c;return this[_0x4c32ba(0x307)][_0x4c32ba(0x578)](_0x15a616);}}var _0x3c2f6e=Object[_0x2e5f4c(0x2c2)],_0x2099a1=Object['getOwnPropertyDescriptor'],_0x4732b4=(_0x5760fc,_0x1495ed,_0x4d9ec8,_0x784a3)=>{const _0x3ae821=_0x2e5f4c;for(var _0x11f8d9=_0x784a3>0x1?void 0x0:_0x784a3?_0x2099a1(_0x1495ed,_0x4d9ec8):_0x1495ed,_0x5120be=_0x5760fc[_0x3ae821(0x310)]-0x1,_0x387c1f;_0x5120be>=0x0;_0x5120be--)(_0x387c1f=_0x5760fc[_0x5120be])&&(_0x11f8d9=(_0x784a3?_0x387c1f(_0x1495ed,_0x4d9ec8,_0x11f8d9):_0x387c1f(_0x11f8d9))||_0x11f8d9);return _0x784a3&&_0x11f8d9&&_0x3c2f6e(_0x1495ed,_0x4d9ec8,_0x11f8d9),_0x11f8d9;},_0x1f87c3=(_0x5d7bd3,_0x4784f3)=>(_0x235243,_0x1351ba)=>_0x4784f3(_0x235243,_0x1351ba,_0x5d7bd3),_0x4add37=(_0x54d826=>(_0x54d826[_0x54d826['IDLE']=0x0]=_0x2e5f4c(0x247),_0x54d826[_0x54d826[_0x2e5f4c(0x467)]=0x1]=_0x2e5f4c(0x467),_0x54d826[_0x54d826[_0x2e5f4c(0x2d7)]=0x2]=_0x2e5f4c(0x2d7),_0x54d826[_0x54d826[_0x2e5f4c(0x14e)]=0x3]=_0x2e5f4c(0x14e),_0x54d826))(_0x4add37||{});_0x5d9ca9[_0x2e5f4c(0x4c1)]=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x1dd748,_0x9be4f6,_0x82e31a,_0x37128c,_0x32aa43,_0x4bc7bf,_0x2ffc8c,_0x504b35,_0x4cfdfb,_0xb75151){const _0x3bff99=_0x2e5f4c;super(),_0x30b9f2(this,_0x3bff99(0x20a),new _0x1e8f3c[(_0x3bff99(0x3ca))](0x0)),_0x30b9f2(this,_0x3bff99(0x56d),this[_0x3bff99(0x20a)][_0x3bff99(0x1be)]()),_0x30b9f2(this,_0x3bff99(0x2d2),new _0x1e8f3c[(_0x3bff99(0x2d3))]()),_0x30b9f2(this,'event$',this[_0x3bff99(0x2d2)]['asObservable']()),_0x30b9f2(this,'_socket'),_0x30b9f2(this,_0x3bff99(0x1d5)),_0x30b9f2(this,'_collaborationTimeoutTimer'),_0x30b9f2(this,'_shouldReportTelemetry',!0x1),_0x30b9f2(this,_0x3bff99(0x2f3),null),(this['_unitID']=_0x1dd748,this[_0x3bff99(0x55b)]=_0x82e31a,this[_0x3bff99(0x4bf)]=_0x37128c,this['_messageService']=_0x32aa43,this[_0x3bff99(0x33c)]=_0x4bc7bf,this[_0x3bff99(0x3f9)]=_0x2ffc8c,this['_memberService']=_0x504b35,this[_0x3bff99(0x278)]=_0x4cfdfb,this[_0x3bff99(0x4ec)]=_0xb75151,this[_0x3bff99(0x479)]=!!this[_0x3bff99(0x4ec)],_0x9be4f6[_0x3bff99(0x31d)](_0x1e8f3c['takeUntil'](this[_0x3bff99(0x487)]))[_0x3bff99(0x3ee)](_0x45ee7b=>{const _0x55a1b0=_0x3bff99;var _0x28377b;typeof _0x45ee7b>'u'||(this[_0x55a1b0(0x1ed)]=_0x45ee7b,_0x45ee7b?(this[_0x55a1b0(0x441)](_0x45ee7b),this['_socketMessageSubscription']=_0x45ee7b['message$'][_0x55a1b0(0x3ee)](_0x20b2e6=>{const _0x2260d7=_0x55a1b0;_0x20b2e6[_0x2260d7(0x33d)]===this[_0x2260d7(0x504)]&&this[_0x2260d7(0x1bb)](_0x20b2e6);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x55a1b0(0x20a)][_0x55a1b0(0x228)](0x2),(_0x28377b=this[_0x55a1b0(0x1d5)])==null||_0x28377b[_0x55a1b0(0x423)](),this[_0x55a1b0(0x1d5)]=null));}),this[_0x3bff99(0x360)](this[_0x3bff99(0x4bf)][_0x3bff99(0x575)](()=>{const _0x3f25ab=_0x3bff99;var _0x34e762;(_0x34e762=this['_socket'])==null||_0x34e762[_0x3f25ab(0x198)]({'cmd':_0x2f025c[_0x3f25ab(0x442)],'data':{'roomID':this['_unitID']}});})));}get[_0x2e5f4c(0x321)](){const _0x4ff036=_0x2e5f4c;return this['_sessionStatus$'][_0x4ff036(0x521)]();}[_0x2e5f4c(0x290)](){const _0x70f683=_0x2e5f4c;var _0x57e297,_0x361801;return(_0x361801=(_0x57e297=this[_0x70f683(0x1ed)])==null?void 0x0:_0x57e297[_0x70f683(0x153)])!=null?_0x361801:null;}[_0x2e5f4c(0x32d)](){const _0x4872f5=_0x2e5f4c;super[_0x4872f5(0x32d)](),this[_0x4872f5(0x487)][_0x4872f5(0x228)](),this['dispose$'][_0x4872f5(0x170)]();}[_0x2e5f4c(0x35d)](){const _0x4ad24e=_0x2e5f4c;var _0x409cf0,_0x5a28c4;this[_0x4ad24e(0x509)](),(_0x409cf0=this['_socket'])==null||_0x409cf0['send']({'cmd':_0x2f025c[_0x4ad24e(0x442)],'data':{'roomID':this[_0x4ad24e(0x504)]}}),(_0x5a28c4=this[_0x4ad24e(0x1ed)])==null||_0x5a28c4[_0x4ad24e(0x35d)](),this[_0x4ad24e(0x2d2)][_0x4ad24e(0x170)](),this[_0x4ad24e(0x20a)][_0x4ad24e(0x170)](),this['dispose']();}['_onCombEvent'](_0x3a3b1f){const _0x581298=_0x2e5f4c;_0x3a3b1f['cmd']===_0x2f025c[_0x581298(0x214)]?this['_onJoinRoomEvent'](_0x3a3b1f):_0x3a3b1f[_0x581298(0x459)]===_0x2f025c[_0x581298(0x496)]&&this['_onRecvEvent'](_0x3a3b1f);}[_0x2e5f4c(0x441)](_0x308618){const _0x3d2b8b=_0x2e5f4c;this[_0x3d2b8b(0x20a)]['next'](0x1),_0x308618['send']({'cmd':_0x2f025c[_0x3d2b8b(0x214)],'routeKey':this[_0x3d2b8b(0x504)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2e5f4c(0x3b8)](_0x27e443){const _0x9161bc=_0x2e5f4c;var _0x2a78fb;if(_0x27e443[_0x9161bc(0x55f)]===_0x575e62[_0x9161bc(0x2fd)]){this[_0x9161bc(0x340)][_0x9161bc(0x4f2)]({'type':_0x4fd8aa['MessageType'][_0x9161bc(0x470)],'content':this[_0x9161bc(0x3f9)]['t']('session.room-full')}),this[_0x9161bc(0x20a)][_0x9161bc(0x228)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x56f20f=(_0x2a78fb=_0x27e443[_0x9161bc(0x51b)][_0x9161bc(0x54f)][this[_0x9161bc(0x504)]])==null?void 0x0:_0x2a78fb['members'];_0x56f20f&&_0x56f20f[_0x9161bc(0x3e9)](_0x1274c8=>this[_0x9161bc(0x2bd)][_0x9161bc(0x539)](this[_0x9161bc(0x504)],_0x1274c8));}[_0x2e5f4c(0x4fc)](_0x1999d5){const _0x632525=_0x2e5f4c;try{const _0x5ba7d0=_0x1999d5[_0x632525(0x51b)];switch(_0x5ba7d0[_0x632525(0x210)]){case _0x57fec2[_0x632525(0x2ff)][_0x632525(0x490)]:this[_0x632525(0x4f4)](_0x5ba7d0),this['_event$']['next'](_0x5ba7d0);break;case _0x57fec2[_0x632525(0x2ff)][_0x632525(0x4b2)]:this[_0x632525(0x1da)](_0x5ba7d0),this[_0x632525(0x2d2)]['next'](_0x5ba7d0);break;case _0x57fec2[_0x632525(0x2ff)]['CHANGESET_ACK']:case _0x57fec2[_0x632525(0x2ff)][_0x632525(0x381)]:this[_0x632525(0x336)](),this[_0x632525(0x309)](),this[_0x632525(0x2d2)][_0x632525(0x228)](_0x5ba7d0);break;case _0x57fec2['CollaborationEvent'][_0x632525(0x1a7)]:this[_0x632525(0x55b)][_0x632525(0x2ac)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x632525(0x4eb)](_0x5ba7d0)),this[_0x632525(0x2d2)][_0x632525(0x228)](_0x5ba7d0);break;case _0x57fec2[_0x632525(0x2ff)][_0x632525(0x543)]:this['_commentService'][_0x632525(0x3c3)](_0x5ba7d0[_0x632525(0x51b)]),this[_0x632525(0x2d2)][_0x632525(0x228)](_0x5ba7d0);break;default:this[_0x632525(0x2d2)][_0x632525(0x228)](_0x5ba7d0);}}catch(_0x354160){this['_logService']['error'](_0x354160,_0x1999d5);}}[_0x2e5f4c(0x4f4)](_0x19bea4){const _0x1829df=_0x2e5f4c;this['_memberService'][_0x1829df(0x539)](this[_0x1829df(0x504)],_0x19bea4['data']);}[_0x2e5f4c(0x1da)](_0x2bba19){const _0x2188b6=_0x2e5f4c;this['_memberService'][_0x2188b6(0x3d5)](this[_0x2188b6(0x504)],_0x2bba19[_0x2188b6(0x51b)][_0x2188b6(0x153)]);}async['send'](_0x48a43d,_0x58fa52){const _0x1932dc=_0x2e5f4c;if(this['sessionStatus']!==0x3||!this[_0x1932dc(0x1ed)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x48a43d['eventID']===_0x57fec2[_0x1932dc(0x2ff)][_0x1932dc(0x158)]&&(this[_0x1932dc(0x4a4)](),this['_startTelemetryCollaborationNewChangeset'](_0x48a43d)),this['_socket'][_0x1932dc(0x198)]({'cmd':_0x2f025c[_0x1932dc(0x54d)],'routeKey':_0x58fa52,'routeType':'','data':_0x48a43d});}catch(_0x1ca56e){this['_logService'][_0x1932dc(0x2ac)](_0x1ca56e);}}[_0x2e5f4c(0x4a4)](){const _0x4388c5=_0x2e5f4c;var _0x594cc7;this[_0x4388c5(0x1de)]=window[_0x4388c5(0x4d6)](()=>{const _0x1aed4e=_0x4388c5;this[_0x1aed4e(0x1de)]=null,this[_0x1aed4e(0x340)][_0x1aed4e(0x4f2)]({'type':_0x4fd8aa[_0x1aed4e(0x460)][_0x1aed4e(0x2c0)],'content':this['_localeService']['t'](_0x1aed4e(0x37e))});},(_0x594cc7=this['_configService'][_0x4388c5(0x18e)](_0xa604e8))!=null?_0x594cc7:0x4e20);}[_0x2e5f4c(0x309)](){const _0x5d3e23=_0x2e5f4c;this[_0x5d3e23(0x1de)]&&(clearTimeout(this[_0x5d3e23(0x1de)]),this[_0x5d3e23(0x1de)]=null);}[_0x2e5f4c(0x2ba)](_0x3693ca){const _0xcc0766=_0x2e5f4c;if(!this['_shouldReportTelemetry'])return;const {data:_0x56467a}=_0x3693ca,{unitID:_0x333cb9,changeset:_0x5964b3}=_0x56467a,{mutations:_0x45f361,type:_0x425836}=_0x5964b3;this[_0xcc0766(0x2f3)]={'unitId':_0x333cb9,'type':_0x425836,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x366985(_0x45f361)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x4ddb6a=_0x2e5f4c;if(this[_0x4ddb6a(0x479)]){if(!this[_0x4ddb6a(0x2f3)]){this[_0x4ddb6a(0x55b)][_0x4ddb6a(0x2ac)](_0x4ddb6a(0x4c6),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4ddb6a(0x2f3)][_0x4ddb6a(0x39c)]=performance[_0x4ddb6a(0x3b1)](),this[_0x4ddb6a(0x2f3)]['duration']=this[_0x4ddb6a(0x2f3)][_0x4ddb6a(0x39c)]-this[_0x4ddb6a(0x2f3)]['startTime'],this[_0x4ddb6a(0x4ec)][_0x4ddb6a(0x21f)](_0x44bddb,this[_0x4ddb6a(0x2f3)]),this[_0x4ddb6a(0x2f3)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x5d34ce=_0x2e5f4c;this[_0x5d34ce(0x2f3)]=null;}},_0x5d9ca9['CollaborationSession']=_0x4732b4([_0x1f87c3(0x2,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x1f87c3(0x3,_0x43bf7d[_0x2e5f4c(0x287)]),_0x1f87c3(0x4,_0x43bf7d[_0x2e5f4c(0x358)]),_0x1f87c3(0x5,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x1f87c3(0x6,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x23d)])),_0x1f87c3(0x7,_0x5dd71d[_0x2e5f4c(0x391)](_0x266f31)),_0x1f87c3(0x8,_0x5dd71d[_0x2e5f4c(0x391)](_0x4e977c)),_0x1f87c3(0x9,_0x5dd71d[_0x2e5f4c(0x476)](_0x51eb8a[_0x2e5f4c(0x171)]))],_0x5d9ca9[_0x2e5f4c(0x4c1)]);var _0x2f84c8=Object[_0x2e5f4c(0x2c2)],_0x248984=Object[_0x2e5f4c(0x4b9)],_0x48bb89=(_0x111f6f,_0x198c43,_0x5ec8fb,_0x54579c)=>{const _0x42000b=_0x2e5f4c;for(var _0x4d3f11=_0x54579c>0x1?void 0x0:_0x54579c?_0x248984(_0x198c43,_0x5ec8fb):_0x198c43,_0x37aeb5=_0x111f6f[_0x42000b(0x310)]-0x1,_0x160054;_0x37aeb5>=0x0;_0x37aeb5--)(_0x160054=_0x111f6f[_0x37aeb5])&&(_0x4d3f11=(_0x54579c?_0x160054(_0x198c43,_0x5ec8fb,_0x4d3f11):_0x160054(_0x4d3f11))||_0x4d3f11);return _0x54579c&&_0x4d3f11&&_0x2f84c8(_0x198c43,_0x5ec8fb,_0x4d3f11),_0x4d3f11;},_0x537460=(_0x4549dd,_0x3f1567)=>(_0x147641,_0x10e31b)=>_0x3f1567(_0x147641,_0x10e31b,_0x4549dd);_0x5d9ca9['CollaborationSessionService']=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x4fba6d,_0x4af2b7,_0x48234a,_0x16be04,_0x161009,_0x52cfc7){const _0x37d50f=_0x2e5f4c;super(),_0x30b9f2(this,_0x37d50f(0x34f),new _0x1e8f3c['BehaviorSubject'](void 0x0)),_0x30b9f2(this,_0x37d50f(0x4bd),this[_0x37d50f(0x34f)][_0x37d50f(0x1be)]()),_0x30b9f2(this,'_candidateSocket',null),_0x30b9f2(this,'_sessions',new Map()),_0x30b9f2(this,_0x37d50f(0x3cb),new _0x1e8f3c[(_0x37d50f(0x3ca))](_0x4add37[_0x37d50f(0x247)])),_0x30b9f2(this,_0x37d50f(0x1f9),this['_status$'][_0x37d50f(0x1be)]()),_0x30b9f2(this,'_socketReady',!0x1),_0x30b9f2(this,_0x37d50f(0x2cd)),_0x30b9f2(this,_0x37d50f(0x368),0x0),_0x30b9f2(this,'_sendHeartbeatTimer'),_0x30b9f2(this,_0x37d50f(0x191)),(this[_0x37d50f(0x3bf)]=_0x4fba6d,this['_localeService']=_0x4af2b7,this['_messageService']=_0x48234a,this[_0x37d50f(0x55b)]=_0x16be04,this[_0x37d50f(0x33c)]=_0x161009,this[_0x37d50f(0x38f)]=_0x52cfc7,this[_0x37d50f(0x16e)]());}get[_0x2e5f4c(0x1ed)](){const _0x38dd12=_0x2e5f4c;return this[_0x38dd12(0x34f)][_0x38dd12(0x521)]();}[_0x2e5f4c(0x16e)](){const _0x2c3504=_0x2e5f4c;this[_0x2c3504(0x2a8)](),this['_listenToOnlineEvent']();}['dispose'](){const _0x221042=_0x2e5f4c;super[_0x221042(0x32d)](),this[_0x221042(0x483)][_0x221042(0x3e9)](_0x2275f5=>_0x2275f5[_0x221042(0x32d)]()),this[_0x221042(0x483)][_0x221042(0x188)](),this[_0x221042(0x3cb)][_0x221042(0x170)]();}async['requireSession'](_0x4f3158){const _0x5f24f2=_0x2e5f4c;if(this['_sessions'][_0x5f24f2(0x477)](_0x4f3158))return this[_0x5f24f2(0x483)]['get'](_0x4f3158);this[_0x5f24f2(0x276)]();const _0x1674f2=this[_0x5f24f2(0x3bf)][_0x5f24f2(0x408)](_0x5d9ca9[_0x5f24f2(0x4c1)],_0x4f3158,this[_0x5f24f2(0x34f)][_0x5f24f2(0x1be)]());return this[_0x5f24f2(0x483)][_0x5f24f2(0x246)](_0x4f3158,_0x1674f2),_0x1674f2;}[_0x2e5f4c(0x2ea)](_0x510b87){const _0x250bf8=_0x2e5f4c;var _0x4d7691;const _0x4b2417=this[_0x250bf8(0x483)]['get'](_0x510b87);_0x4b2417&&(this[_0x250bf8(0x483)]['delete'](_0x510b87),_0x4b2417[_0x250bf8(0x35d)]()),this['_sessions'][_0x250bf8(0x1f1)]||(_0x4d7691=this[_0x250bf8(0x1ed)])==null||_0x4d7691['close']();}['reconnect'](){const _0x400d25=_0x2e5f4c;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x400d25(0x2cd)]),this['_retryConnectingTimer']=null),this[_0x400d25(0x16a)]();}['_createSocket'](){const _0x8614eb=_0x2e5f4c;var _0x2952fb,_0x23fe87;const _0x4669a1=this['_configService'][_0x8614eb(0x18e)](_0x447e60),_0x25bde9=this['_configService']['getConfig'](_0x505ac2),_0x1b8b51=(_0x23fe87=(_0x2952fb=_0x25bde9==null?void 0x0:_0x25bde9[_0x8614eb(0x13b)])!=null?_0x2952fb:_0x4669a1)!=null?_0x23fe87:_0x46187b,_0x3890de=this['_socketService'][_0x8614eb(0x438)](_0x1b8b51);return this[_0x8614eb(0x25e)]=_0x3890de,_0x3890de;}[_0x2e5f4c(0x276)](){const _0x5af372=_0x2e5f4c;var _0x8cc1bf,_0x2c2205;try{const _0x51837e=(_0x2c2205=(_0x8cc1bf=this[_0x5af372(0x1ed)])!=null?_0x8cc1bf:this[_0x5af372(0x25e)])!=null?_0x2c2205:this['_createSocket']();if(_0x51837e){const _0x56cca2=_0x51837e[_0x5af372(0x198)];_0x51837e[_0x5af372(0x198)]=_0x4584bb=>(this[_0x5af372(0x3f2)](),_0x56cca2[_0x5af372(0x4ad)](_0x51837e,[_0x4584bb])),_0x51837e['message$'][_0x5af372(0x3ee)](_0x21b0f5=>this['_onMessage'](_0x51837e,_0x21b0f5)),_0x51837e[_0x5af372(0x216)][_0x5af372(0x31d)](_0x58074b[_0x5af372(0x338)](0x1))[_0x5af372(0x3ee)](_0x416706=>this[_0x5af372(0x55b)][_0x5af372(0x2ac)](_0x5af372(0x347),_0x416706)),_0x51837e[_0x5af372(0x330)][_0x5af372(0x31d)](_0x58074b['take'](0x1))[_0x5af372(0x3ee)](()=>{const _0x2ee965=_0x5af372;this[_0x2ee965(0x260)](_0x51837e);}),_0x51837e[_0x5af372(0x4a0)][_0x5af372(0x31d)](_0x58074b[_0x5af372(0x338)](0x1))['subscribe'](_0x1d65ce=>{const _0x24616a=_0x5af372;this[_0x24616a(0x55b)]['debug'](_0x24616a(0x197),_0x24616a(0x1cd),_0x1d65ce),this[_0x24616a(0x4be)]();});}}catch(_0x17deda){this[_0x5af372(0x55b)][_0x5af372(0x2ac)](_0x17deda),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x210f1d){const _0xe1e3b9=_0x2e5f4c;this[_0xe1e3b9(0x55b)][_0xe1e3b9(0x1dd)](_0xe1e3b9(0x197),_0xe1e3b9(0x4ae)),_0x210f1d['send']({'cmd':_0x2f025c[_0xe1e3b9(0x159)]}),this['_rescheduleHeartbeat']();}[_0x2e5f4c(0x2a8)](){const _0xbf5ac4=_0x2e5f4c;window[_0xbf5ac4(0x4a8)](_0xbf5ac4(0x4fb),()=>this[_0xbf5ac4(0x31a)]());}['_onOffline'](){const _0x512e41=_0x2e5f4c;this[_0x512e41(0x43d)]=!0x1,this[_0x512e41(0x25e)]=null,this[_0x512e41(0x3cb)]['next'](_0x4add37[_0x512e41(0x2d7)]),this[_0x512e41(0x34f)][_0x512e41(0x228)](null),this['_clearTimeoutTimer'](),this[_0x512e41(0x395)]();}[_0x2e5f4c(0x4be)](){const _0x182734=_0x2e5f4c;var _0x276047;this[_0x182734(0x31a)](),this['_retryCount']<((_0x276047=this[_0x182734(0x33c)]['getConfig'](_0xa4649a))!=null?_0x276047:0x3)?(this[_0x182734(0x340)][_0x182734(0x4f2)]({'key':_0x182734(0x250),'type':_0x4fd8aa[_0x182734(0x460)][_0x182734(0x470)],'content':this[_0x182734(0x3f9)]['t'](_0x182734(0x2bb))}),this[_0x182734(0x16a)]()):this[_0x182734(0x340)][_0x182734(0x4f2)]({'key':_0x182734(0x250),'type':_0x4fd8aa[_0x182734(0x460)]['Error'],'content':this[_0x182734(0x3f9)]['t'](_0x182734(0x1f6))});}[_0x2e5f4c(0x38b)](){const _0x382d5a=_0x2e5f4c,_0x4b82d3=()=>{const _0x2791f1=_0x9a79;this[_0x2791f1(0x1ed)]||this[_0x2791f1(0x300)]();},_0x338d54=()=>{const _0x374445=_0x9a79;this[_0x374445(0x1ed)]||document[_0x374445(0x50c)]===_0x374445(0x48e)||this[_0x374445(0x300)]();};window[_0x382d5a(0x4a8)](_0x382d5a(0x22d),_0x4b82d3),document[_0x382d5a(0x4a8)](_0x382d5a(0x424),_0x338d54);}[_0x2e5f4c(0x16a)](){const _0x16f7e0=_0x2e5f4c;var _0x396250;const _0x11b4ef=this['_retryCount'],_0x12dbb4=this[_0x16f7e0(0x33c)][_0x16f7e0(0x18e)](_0x505ac2),_0x29b3fa=_0x11b4ef===0x0?0x0:((_0x396250=_0x12dbb4==null?void 0x0:_0x12dbb4['retryConnectingInterval'])!=null?_0x396250:0x4e20)*0x2**_0x11b4ef;this[_0x16f7e0(0x2cd)]=window['setTimeout'](()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x29b3fa),this[_0x16f7e0(0x368)]+=0x1;}['_onMessage'](_0x2d6822,_0x59cf22){const _0x25c4d2=_0x2e5f4c,{cmd:_0x5e5f72}=_0x59cf22;_0x5e5f72===_0x2f025c['HELLO']&&!this[_0x25c4d2(0x43d)]&&(_0x2d6822[_0x25c4d2(0x153)]=_0x59cf22[_0x25c4d2(0x51b)]['memberID'],this[_0x25c4d2(0x34f)][_0x25c4d2(0x228)](_0x2d6822),this['_status$'][_0x25c4d2(0x228)](_0x4add37[_0x25c4d2(0x14e)]),this[_0x25c4d2(0x43d)]=!0x0,this['_candidateSocket']=null),_0x5e5f72===_0x2f025c[_0x25c4d2(0x240)]&&this[_0x25c4d2(0x1f7)](),this['_rescheduleHeartbeat']();}[_0x2e5f4c(0x3f2)](){const _0x410401=_0x2e5f4c;var _0x4413a9;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this[_0x410401(0x45b)](),(_0x4413a9=this[_0x410401(0x33c)]['getConfig'](_0x1a0de8))!=null?_0x4413a9:0x7530);}[_0x2e5f4c(0x45b)](){const _0x3ba6dd=_0x2e5f4c;this[_0x3ba6dd(0x1ed)][_0x3ba6dd(0x198)]({'cmd':_0x2f025c[_0x3ba6dd(0x240)]}),this[_0x3ba6dd(0x44c)]();}['_waitForHeartbeatResponse'](){const _0x145bd6=_0x2e5f4c;var _0x451136;this[_0x145bd6(0x191)]=window[_0x145bd6(0x4d6)](()=>this[_0x145bd6(0x4be)](),(_0x451136=this[_0x145bd6(0x33c)][_0x145bd6(0x18e)](_0xa604e8))!=null?_0x451136:0x4e20);}[_0x2e5f4c(0x395)](){const _0x337d7e=_0x2e5f4c;this[_0x337d7e(0x25b)]!=null&&(clearTimeout(this[_0x337d7e(0x25b)]),this['_sendHeartbeatTimer']=null);}[_0x2e5f4c(0x1f7)](){const _0x25a72e=_0x2e5f4c;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x25a72e(0x191)]),this[_0x25a72e(0x191)]=null);}},_0x5d9ca9['CollaborationSessionService']=_0x48bb89([_0x537460(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x537460(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['LocaleService'])),_0x537460(0x2,_0x43bf7d[_0x2e5f4c(0x358)]),_0x537460(0x3,_0x5dd71d['ILogService']),_0x537460(0x4,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x537460(0x5,_0x3b499d)],_0x5d9ca9['CollaborationSessionService']);for(var _0x5f1fe0=[],_0xd06bb7=0x0;_0xd06bb7<0x100;++_0xd06bb7)_0x5f1fe0[_0x2e5f4c(0x36b)]((_0xd06bb7+0x100)[_0x2e5f4c(0x46f)](0x10)[_0x2e5f4c(0x4ca)](0x1));function _0x1ffd89(_0x3df5da,_0x5ddd40=0x0){return(_0x5f1fe0[_0x3df5da[_0x5ddd40+0x0]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x1]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x2]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x3]]+'-'+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x4]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x5]]+'-'+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x6]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x7]]+'-'+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x8]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0x9]]+'-'+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xa]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xb]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xc]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xd]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xe]]+_0x5f1fe0[_0x3df5da[_0x5ddd40+0xf]])['toLowerCase']();}var _0x4ffa73,_0x5e5702=new Uint8Array(0x10);function _0xe91703(){const _0x13451f=_0x2e5f4c;if(!_0x4ffa73&&(_0x4ffa73=typeof crypto<'u'&&crypto[_0x13451f(0x243)]&&crypto[_0x13451f(0x243)]['bind'](crypto),!_0x4ffa73))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x4ffa73(_0x5e5702);}var _0x226917=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2e5f4c(0x371)][_0x2e5f4c(0x295)](crypto);const _0x219949={'randomUUID':_0x226917};function _0x4e2978(_0x4c1c2e,_0x34bde3,_0x29a710){const _0x42674b=_0x2e5f4c;if(_0x219949[_0x42674b(0x371)]&&!_0x34bde3&&!_0x4c1c2e)return _0x219949[_0x42674b(0x371)]();_0x4c1c2e=_0x4c1c2e||{};var _0x1b66f5=_0x4c1c2e[_0x42674b(0x56c)]||(_0x4c1c2e[_0x42674b(0x211)]||_0xe91703)();return _0x1b66f5[0x6]=_0x1b66f5[0x6]&0xf|0x40,_0x1b66f5[0x8]=_0x1b66f5[0x8]&0x3f|0x80,_0x1ffd89(_0x1b66f5);}var _0x2ddb80=Object[_0x2e5f4c(0x2c2)],_0x54d2ef=Object[_0x2e5f4c(0x4b9)],_0x22e6ef=(_0x5d2e63,_0x4fb994,_0xdb0fe6,_0x404a79)=>{const _0x4464c2=_0x2e5f4c;for(var _0x19fefd=_0x404a79>0x1?void 0x0:_0x404a79?_0x54d2ef(_0x4fb994,_0xdb0fe6):_0x4fb994,_0x4516ea=_0x5d2e63[_0x4464c2(0x310)]-0x1,_0x5724d4;_0x4516ea>=0x0;_0x4516ea--)(_0x5724d4=_0x5d2e63[_0x4516ea])&&(_0x19fefd=(_0x404a79?_0x5724d4(_0x4fb994,_0xdb0fe6,_0x19fefd):_0x5724d4(_0x19fefd))||_0x19fefd);return _0x404a79&&_0x19fefd&&_0x2ddb80(_0x4fb994,_0xdb0fe6,_0x19fefd),_0x19fefd;},_0x12937d=(_0x31f450,_0x10029e)=>(_0x53ac9c,_0x31f957)=>_0x10029e(_0x53ac9c,_0x31f957,_0x31f450);let _0x4979f6=class{constructor(_0x216f5b,_0x49b721,_0x46f4ff){const _0x11daac=_0x2e5f4c;this[_0x11daac(0x3bf)]=_0x216f5b,this[_0x11daac(0x1a4)]=_0x49b721,this[_0x11daac(0x29d)]=_0x46f4ff;}[_0x2e5f4c(0x384)](_0x22dd28){const _0x2f8371=_0x2e5f4c;this[_0x2f8371(0x3cc)](_0x22dd28),this['_transformPreviousActiveRange'](_0x22dd28);}['transformRemoteChangeset'](_0x4db354){const _0x2f7a2b=_0x2e5f4c,{unitID:_0x4cd731}=_0x4db354,_0x82cfc9=this[_0x2f7a2b(0x29d)]['getRenderById'](_0x4cd731)[_0x2f7a2b(0x1fa)](_0x1e1fad['DocIMEInputManagerService']),{redoCache:_0x15b404}=_0x82cfc9[_0x2f7a2b(0x3f8)]();if(_0x15b404['length']===0x0)return _0x4db354;let _0x49f43a=_0x5dd71d[_0x2f7a2b(0x451)][_0x2f7a2b(0x4dc)](_0x4db354[_0x2f7a2b(0x273)][0x0]);for(let _0x41a415=0x0;_0x41a415<_0x15b404['length'];_0x41a415++){const _0x2d3c26={'id':_0x2f7a2b(0x499),'params':{..._0x15b404[_0x41a415]}},_0x31b13e=this[_0x2f7a2b(0x1a4)]['transformMutation'](_0x49f43a,_0x2d3c26,!0x1);if(_0x57fec2[_0x2f7a2b(0x230)](_0x31b13e))throw _0x31b13e[_0x2f7a2b(0x2ac)];_0x49f43a=_0x31b13e['m1Prime'];}return{..._0x5dd71d[_0x2f7a2b(0x451)]['deepClone'](_0x4db354),'mutations':[_0x49f43a]};}['_transformUndoRedoStack'](_0x4b35dc){const _0x2b9437=_0x2e5f4c,{unitID:_0x5a5990}=_0x4b35dc,_0x2f08b1=this['_renderManagerService'][_0x2b9437(0x42b)](_0x5a5990)['with'](_0x1e1fad[_0x2b9437(0x3e1)]),{undoCache:_0x4541a7,redoCache:_0x270eb0}=_0x2f08b1[_0x2b9437(0x3f8)]();if(_0x4541a7[_0x2b9437(0x310)]===0x0||_0x270eb0[_0x2b9437(0x310)]===0x0)return;const _0x193bbc=[],_0x1cb239=[];let _0x431038=_0x5dd71d[_0x2b9437(0x451)]['deepClone'](_0x4b35dc[_0x2b9437(0x273)][0x0]),_0x20f514=_0x5dd71d[_0x2b9437(0x451)][_0x2b9437(0x4dc)](_0x4b35dc['mutations'][0x0]);for(let _0xf707cd=_0x4541a7[_0x2b9437(0x310)]-0x1;_0xf707cd>=0x0;_0xf707cd--){const _0x45c1b7={'id':'doc.mutation.rich-text-editing','params':{..._0x4541a7[_0xf707cd]}},_0x315c79={'id':_0x2b9437(0x499),'params':{..._0x270eb0[_0xf707cd]}},_0x416b94=this[_0x2b9437(0x1a4)][_0x2b9437(0x4a7)](_0x431038,_0x45c1b7,!0x1),_0x163a7e=this['_transformService']['transformMutation'](_0x20f514,_0x315c79,!0x1);if(_0x57fec2[_0x2b9437(0x230)](_0x416b94))throw _0x416b94['error'];if(_0x57fec2['isTransformMutationFailure'](_0x163a7e))throw _0x163a7e['error'];_0x193bbc[_0x2b9437(0x53f)](_0x416b94[_0x2b9437(0x453)][_0x2b9437(0x484)]),_0x1cb239[_0x2b9437(0x53f)](_0x163a7e[_0x2b9437(0x453)][_0x2b9437(0x484)]),_0x431038=_0x416b94['m1Prime'],_0x20f514=_0x163a7e[_0x2b9437(0x22c)];}_0x2f08b1[_0x2b9437(0x143)]({'undoCache':_0x193bbc,'redoCache':_0x1cb239});}[_0x2e5f4c(0x372)](_0x1944ed){const _0x5e0170=_0x2e5f4c,{unitID:_0x5d5727}=_0x1944ed,_0x52019f=this[_0x5e0170(0x29d)][_0x5e0170(0x42b)](_0x5d5727)[_0x5e0170(0x1fa)](_0x1e1fad['DocIMEInputManagerService']),_0x262557=_0x52019f['getActiveRange']();if(_0x262557==null)return;const _0x599701=[{'id':_0x5e0170(0x499),'params':{'unitId':_0x1944ed['unitID'],'actions':null,'textRanges':[_0x262557]}}],_0x48be0f=this[_0x5e0170(0x1a4)][_0x5e0170(0x322)](_0x1944ed,_0x599701);if(!_0x57fec2[_0x5e0170(0x20e)](_0x48be0f))throw _0x48be0f[_0x5e0170(0x2ac)];const _0x4dff1a=_0x48be0f[_0x5e0170(0x453)][0x0][_0x5e0170(0x484)][_0x5e0170(0x1a2)];Array[_0x5e0170(0x241)](_0x4dff1a)&&_0x4dff1a[_0x5e0170(0x310)]&&_0x52019f[_0x5e0170(0x4cc)](_0x4dff1a[0x0]);}};_0x4979f6=_0x22e6ef([_0x12937d(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x12937d(0x1,_0x57fec2[_0x2e5f4c(0x52d)]),_0x12937d(0x2,_0x3a6273[_0x2e5f4c(0x341)])],_0x4979f6);var _0x39421d=Object[_0x2e5f4c(0x2c2)],_0x1fe9a0=Object[_0x2e5f4c(0x4b9)],_0x18cab5=(_0x109d82,_0x59b822,_0x4c27e2,_0x51ade8)=>{const _0x34ea23=_0x2e5f4c;for(var _0x3a7429=_0x51ade8>0x1?void 0x0:_0x51ade8?_0x1fe9a0(_0x59b822,_0x4c27e2):_0x59b822,_0x418a11=_0x109d82[_0x34ea23(0x310)]-0x1,_0xdc80b0;_0x418a11>=0x0;_0x418a11--)(_0xdc80b0=_0x109d82[_0x418a11])&&(_0x3a7429=(_0x51ade8?_0xdc80b0(_0x59b822,_0x4c27e2,_0x3a7429):_0xdc80b0(_0x3a7429))||_0x3a7429);return _0x51ade8&&_0x3a7429&&_0x39421d(_0x59b822,_0x4c27e2,_0x3a7429),_0x3a7429;},_0x316a5d=(_0x141f90,_0x47ed7f)=>(_0x267f73,_0x2ea7c1)=>_0x47ed7f(_0x267f73,_0x2ea7c1,_0x141f90);_0x5d9ca9[_0x2e5f4c(0x557)]=class extends _0x5dd71d['Disposable']{constructor(_0x4b2c13,_0x5c9275,_0x45350b,_0x26b7e1,_0x443c35){const _0xefd86e=_0x2e5f4c;super(),_0x30b9f2(this,'_cachedData',new Map()),_0x30b9f2(this,_0xefd86e(0x2b7),new Map()),_0x30b9f2(this,_0xefd86e(0x1b7),!0x1),(this[_0xefd86e(0x33c)]=_0x4b2c13,this[_0xefd86e(0x47b)]=_0x5c9275,this[_0xefd86e(0x4bf)]=_0x45350b,this['_localeService']=_0x26b7e1,this[_0xefd86e(0x492)]=_0x443c35,this[_0xefd86e(0x432)]());}[_0x2e5f4c(0x364)](){const _0x3e98e1=_0x2e5f4c;this[_0x3e98e1(0x1b7)]=!0x0;}[_0x2e5f4c(0x306)](){this['_disabled']=!0x1;}[_0x2e5f4c(0x32d)](){const _0x759ab1=_0x2e5f4c;this[_0x759ab1(0x3e4)]()['then'](()=>super[_0x759ab1(0x32d)]());}async[_0x2e5f4c(0x1c2)](_0xc6abb0){const _0x2acede=_0x2e5f4c;return this[_0x2acede(0x1b7)]?null:this[_0x2acede(0x47b)][_0x2acede(0x294)](_0x22e2b6(_0xc6abb0));}async[_0x2e5f4c(0x532)](_0x17ad37,_0x27fe8a){return!!this['_localStorageService']['setItem'](_0x17ad37,_0x27fe8a);}[_0x2e5f4c(0x397)](_0x148349,_0x326816,_0x1b51eb,_0xbf04a6){const _0xb749ec=_0x2e5f4c,_0x12cc07=this['_revisionService'][_0xb749ec(0x3b2)](_0x148349);this[_0xb749ec(0x425)][_0xb749ec(0x246)](_0x148349,{'unitID':_0x148349,'type':_0x326816,'awaitingChangeset':_0x1b51eb,'mutations':_0xbf04a6,'rev':_0x12cc07}),this[_0xb749ec(0x2b7)][_0xb749ec(0x477)](_0x148349)||this[_0xb749ec(0x503)](_0x148349);}['_scheduleSaving'](_0xb0fbae){const _0x3e78fc=_0x2e5f4c,_0x76d35f=this[_0x3e78fc(0x357)]();_0x76d35f===0x0?this[_0x3e78fc(0x1ba)](_0xb0fbae):this[_0x3e78fc(0x2b7)][_0x3e78fc(0x246)](_0xb0fbae,setTimeout(()=>this[_0x3e78fc(0x1ba)](_0xb0fbae),_0x76d35f));}[_0x2e5f4c(0x357)](){const _0x4c8aa=_0x2e5f4c;var _0x5eb5df;return(_0x5eb5df=this[_0x4c8aa(0x33c)][_0x4c8aa(0x18e)](_0x1e8c54))!=null?_0x5eb5df:0x3e8;}[_0x2e5f4c(0x1ba)](_0x1e1ffc){const _0x1c1647=_0x2e5f4c,_0xd25e79=this[_0x1c1647(0x2b7)][_0x1c1647(0x578)](_0x1e1ffc);return _0xd25e79!==void 0x0&&window['clearTimeout'](_0xd25e79),this[_0x1c1647(0x47b)]['setItem'](_0x22e2b6(_0x1e1ffc),this['_cachedData']['get'](_0x1e1ffc))[_0x1c1647(0x18f)](()=>this[_0x1c1647(0x2b7)][_0x1c1647(0x370)](_0x1e1ffc));}async['exhaustSavingTask'](){const _0x5e52fb=_0x2e5f4c,_0x21d637=[];this[_0x5e52fb(0x2b7)][_0x5e52fb(0x3e9)]((_0xb9fe63,_0x40001a)=>{const _0xe57e2=_0x5e52fb;window['clearTimeout'](_0xb9fe63),_0x21d637[_0xe57e2(0x36b)](this[_0xe57e2(0x1ba)](_0x40001a)['then'](()=>{const _0xab8fd8=_0xe57e2;this[_0xab8fd8(0x2b7)][_0xab8fd8(0x370)](_0x40001a);}));}),await Promise['all'](_0x21d637);}[_0x2e5f4c(0x432)](){const _0x4d4690=_0x2e5f4c;this[_0x4d4690(0x360)](this[_0x4d4690(0x4bf)][_0x4d4690(0x374)](()=>{const _0xec5d4c=_0x4d4690;if(this['_saveTaskMap'][_0xec5d4c(0x1f1)])return this[_0xec5d4c(0x3f9)]['t'](_0xec5d4c(0x27e));}));}},_0x5d9ca9['LocalCacheService']=_0x18cab5([_0x316a5d(0x0,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x316a5d(0x1,_0x5dd71d['ILocalStorageService']),_0x316a5d(0x2,_0x43bf7d[_0x2e5f4c(0x287)]),_0x316a5d(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x23d)])),_0x316a5d(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2['RevisionService']))],_0x5d9ca9[_0x2e5f4c(0x557)]);function _0x22e2b6(_0x3ceab8){const _0x27bec5=_0x2e5f4c;return _0x27bec5(0x1d4)+_0x3ceab8;}var _0x51e137=Object[_0x2e5f4c(0x2c2)],_0x2f28aa=Object[_0x2e5f4c(0x4b9)],_0x42d765=(_0x576199,_0x38b220,_0x38d16c,_0x2e9f8e)=>{const _0x5c86dc=_0x2e5f4c;for(var _0x7d657e=_0x2e9f8e>0x1?void 0x0:_0x2e9f8e?_0x2f28aa(_0x38b220,_0x38d16c):_0x38b220,_0x1503ee=_0x576199[_0x5c86dc(0x310)]-0x1,_0x390dfb;_0x1503ee>=0x0;_0x1503ee--)(_0x390dfb=_0x576199[_0x1503ee])&&(_0x7d657e=(_0x2e9f8e?_0x390dfb(_0x38b220,_0x38d16c,_0x7d657e):_0x390dfb(_0x7d657e))||_0x7d657e);return _0x2e9f8e&&_0x7d657e&&_0x51e137(_0x38b220,_0x38d16c,_0x7d657e),_0x7d657e;},_0x14db96=(_0x4d2011,_0xbc0cf2)=>(_0x2a4bf1,_0x347d2f)=>_0xbc0cf2(_0x2a4bf1,_0x347d2f,_0x4d2011);function _0x411cc7(_0x5e400d){const _0x172a7f=_0x2e5f4c,{unitID:_0x23d590,mutations:_0x8fb2d0}=_0x5e400d;return{'unitId':_0x23d590,'subUnitId':_0x8fb2d0[0x0][_0x172a7f(0x484)]['subUnitId']};}let _0x1c7bc3=class{constructor(_0x282e6c,_0x2e0c4e,_0x7ff1d1){const _0x48fe3b=_0x2e5f4c;this['_injector']=_0x282e6c,this[_0x48fe3b(0x1a4)]=_0x2e0c4e,this[_0x48fe3b(0x473)]=_0x7ff1d1;}[_0x2e5f4c(0x51c)](_0x5413e8){const _0x196b88=_0x2e5f4c;var _0x3c2a1c,_0x1655ba,_0x217c6d,_0x3faa39;const _0x860fc7=this[_0x196b88(0x3bf)][_0x196b88(0x578)](_0x51fcfd[_0x196b88(0x165)]),{unitId:_0xd9deb2,subUnitId:_0x8b75d4}=_0x411cc7(_0x5413e8),_0x4eb330=_0x860fc7[_0x196b88(0x20b)](_0xd9deb2)[_0x196b88(0x37c)](),_0x2aa183=(_0x1655ba=(_0x3c2a1c=this['_instanceService'][_0x196b88(0x3dc)](_0xd9deb2))==null?void 0x0:_0x3c2a1c[_0x196b88(0x41c)]())==null?void 0x0:_0x1655ba[_0x196b88(0x1df)]();if(_0x4eb330[_0x196b88(0x310)]===0x0||!_0xd9deb2||!_0x8b75d4)return;const _0x2fab66=[{'id':_0x51fcfd[_0x196b88(0x333)]['id'],'params':{'unitId':_0xd9deb2,'subUnitId':_0x2aa183,'selections':_0x5dd71d['Tools'][_0x196b88(0x4dc)](_0x4eb330)}}],_0x2e0ccb=this[_0x196b88(0x1a4)]['transformMutationsWithChangeset'](_0x5413e8,_0x2fab66);if(!_0x57fec2[_0x196b88(0x20e)](_0x2e0ccb))throw _0x2e0ccb[_0x196b88(0x2ac)];const _0xa76ab3=(_0x3faa39=(_0x217c6d=_0x2e0ccb[_0x196b88(0x453)][0x0])==null?void 0x0:_0x217c6d[_0x196b88(0x484)])==null?void 0x0:_0x3faa39[_0x196b88(0x502)];if(Array['isArray'](_0xa76ab3)&&_0xa76ab3[_0x196b88(0x310)]){if(_0xa76ab3[_0x196b88(0x310)]===_0x2fab66[0x0]['params'][_0x196b88(0x502)][_0x196b88(0x310)]&&_0xa76ab3[_0x196b88(0x2be)]((_0x56ea6b,_0x5585d4)=>_0x5dd71d[_0x196b88(0x1ce)][_0x196b88(0x2ee)](_0x56ea6b[_0x196b88(0x2a2)],_0x2fab66[0x0][_0x196b88(0x484)][_0x196b88(0x502)][_0x5585d4][_0x196b88(0x2a2)])))return;this[_0x196b88(0x3bf)][_0x196b88(0x578)](_0x5dd71d['ICommandService'])[_0x196b88(0x21a)](_0x51fcfd['SetSelectionsOperation']['id'],{'unitId':_0xd9deb2,'subUnitId':_0x2aa183,'selections':_0xa76ab3});}}};_0x1c7bc3=_0x42d765([_0x14db96(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x14db96(0x1,_0x57fec2[_0x2e5f4c(0x52d)]),_0x14db96(0x2,_0x5dd71d[_0x2e5f4c(0x373)])],_0x1c7bc3);const _0x3ed5e0=_0x5dd71d[_0x2e5f4c(0x573)](_0x2e5f4c(0x50b));var _0x417cca=(_0xa48653=>(_0xa48653[_0xa48653['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2e5f4c(0x2d9),_0xa48653[_0xa48653['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0xa48653))(_0x417cca||{});const _0x16337c=0x7530,_0x13a5d0=_0x2e5f4c(0x252);class _0x35f67a extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(){const _0x1c1e7e=_0x2e5f4c;super(),_0x30b9f2(this,_0x1c1e7e(0x465),_0x5dd71d['Tools'][_0x1c1e7e(0x4e9)]()),_0x30b9f2(this,_0x1c1e7e(0x526),new Set()),_0x30b9f2(this,_0x1c1e7e(0x2b2),new Map()),_0x30b9f2(this,'_heartbeatTimer',null),_0x30b9f2(this,_0x1c1e7e(0x34e),new Map()),_0x30b9f2(this,_0x1c1e7e(0x2b4),new Map()),this[_0x1c1e7e(0x389)]();}[_0x2e5f4c(0x32d)](){const _0x16d6e5=_0x2e5f4c;super[_0x16d6e5(0x32d)](),this[_0x16d6e5(0x34e)]['forEach']((_0x2e09a4,_0x217c4b)=>this[_0x16d6e5(0x42c)](_0x217c4b)),this[_0x16d6e5(0x2f6)]&&window[_0x16d6e5(0x16d)](this['_heartbeatTimer']);}[_0x2e5f4c(0x43e)](_0x1110c5){const _0x13ed8a=_0x2e5f4c;return this[_0x13ed8a(0x407)](_0x1110c5)[_0x13ed8a(0x31d)](_0x1e8f3c[_0x13ed8a(0x2a4)]());}['editingUnit'](_0x127572){const _0x41b4b7=_0x2e5f4c;this['_selfUnitIDs'][_0x41b4b7(0x1f1)]===0x0&&this[_0x41b4b7(0x495)](),this[_0x41b4b7(0x526)]['add'](_0x127572),this[_0x41b4b7(0x1c4)]({'type':0x0,'memberID':this[_0x41b4b7(0x465)],'unitIDs':[_0x127572],'isForwarded':!0x1});}[_0x2e5f4c(0x149)](_0xfa4740){const _0x34ad4a=_0x2e5f4c;this[_0x34ad4a(0x526)][_0x34ad4a(0x370)](_0xfa4740),this['_selfUnitIDs'][_0x34ad4a(0x1f1)]===0x0&&this[_0x34ad4a(0x2f6)]&&window['clearInterval'](this[_0x34ad4a(0x2f6)]);}[_0x2e5f4c(0x389)](){const _0x59ac2c=_0x2e5f4c;this[_0x59ac2c(0x360)](_0x5dd71d[_0x59ac2c(0x377)](_0x1e8f3c['fromEvent'](window,_0x59ac2c(0x212))['subscribe'](_0xe8d445=>{const _0x1aea43=_0x59ac2c;if(_0xe8d445[_0x1aea43(0x3a4)]!==_0x13a5d0||!_0xe8d445['newValue'])return;const _0x19e245=JSON[_0x1aea43(0x140)](_0xe8d445['newValue']);this[_0x1aea43(0x2a3)](_0x19e245);}))),window[_0x59ac2c(0x4a8)](_0x59ac2c(0x1d9),()=>this['_send']({'type':0x1,'memberID':this[_0x59ac2c(0x465)],'unitIDs':Array[_0x59ac2c(0x4a3)](this[_0x59ac2c(0x526)])}));}[_0x2e5f4c(0x2a3)](_0x5acdb7){const _0x1e3522=_0x2e5f4c;switch(_0x5acdb7['type']){case 0x0:this[_0x1e3522(0x275)](_0x5acdb7);break;case 0x1:this[_0x1e3522(0x412)](_0x5acdb7);break;case 0x2:this[_0x1e3522(0x1fd)](_0x5acdb7);break;}}['_handleJoinEvent'](_0x50e3e2){const _0x472117=_0x2e5f4c,{unitIDs:_0x4c8f6b,memberID:_0xbac177,isForwarded:_0x4753f6}=_0x50e3e2;_0x4c8f6b['forEach'](_0x197fe1=>{const _0x2ccdb4=_0x9a79;if(!_0x4753f6&&this[_0x2ccdb4(0x2b2)][_0x2ccdb4(0x477)](_0x197fe1)&&this[_0x2ccdb4(0x407)](_0x197fe1)['next'](0x1),!this['_unitOnClients'][_0x2ccdb4(0x477)](_0x197fe1)||!this[_0x2ccdb4(0x2b2)][_0x2ccdb4(0x578)](_0x197fe1)[_0x2ccdb4(0x477)](_0xbac177)){const _0x2c9e5b=this[_0x2ccdb4(0x2b2)][_0x2ccdb4(0x578)](_0x197fe1)||new Set();_0x2c9e5b[_0x2ccdb4(0x323)](_0xbac177),this[_0x2ccdb4(0x2b2)][_0x2ccdb4(0x246)](_0x197fe1,_0x2c9e5b),this[_0x2ccdb4(0x39b)](_0xbac177);}}),_0x4753f6||this[_0x472117(0x1c4)]({'type':0x0,'memberID':this[_0x472117(0x465)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x301455){const _0x3794d7=_0x2e5f4c;this[_0x3794d7(0x42c)](_0x301455);const _0x2abf32=window[_0x3794d7(0x4d6)](()=>{const _0x43c236=_0x3794d7;this[_0x43c236(0x2b2)][_0x43c236(0x3e9)](_0xf1d8a2=>{_0xf1d8a2['delete'](_0x301455);});},_0x16337c*0x2);this[_0x3794d7(0x34e)][_0x3794d7(0x246)](_0x301455,_0x2abf32);}[_0x2e5f4c(0x42c)](_0xf34ada){const _0x59badc=_0x2e5f4c;if(this[_0x59badc(0x34e)][_0x59badc(0x477)](_0xf34ada)){const _0x4b8f4c=this['_clearOtherTimers'][_0x59badc(0x578)](_0xf34ada);_0x4b8f4c&&window[_0x59badc(0x27f)](_0x4b8f4c),this[_0x59badc(0x34e)][_0x59badc(0x246)](_0xf34ada,null);}}[_0x2e5f4c(0x412)](_0x8e13d1){const _0xfd8612=_0x2e5f4c,{memberID:_0x488efc,unitIDs:_0x9ab1f5}=_0x8e13d1;_0x9ab1f5[_0xfd8612(0x3e9)](_0x3050c4=>{const _0x3c50df=_0xfd8612;var _0x3e9453;const _0x3e6171=this['_unitOnClients']['get'](_0x3050c4);_0x3e6171&&(_0x3e6171['delete'](_0x488efc),(_0x3e9453=this[_0x3c50df(0x407)](_0x3050c4))==null||_0x3e9453['next'](_0x3e6171[_0x3c50df(0x1f1)]===0x0?0x0:0x1));}),this[_0xfd8612(0x42c)](_0x488efc);}['_handleHeartbeatEvent'](_0x2aa715){const _0xe5ff2f=_0x2e5f4c;this[_0xe5ff2f(0x39b)](_0x2aa715['memberID']);}[_0x2e5f4c(0x1c4)](_0x45a6e5){localStorage['setItem'](_0x13a5d0,JSON['stringify'](_0x45a6e5));}[_0x2e5f4c(0x495)](){const _0x138921=_0x2e5f4c;this[_0x138921(0x2f6)]=window[_0x138921(0x527)](()=>{const _0x2bdd5c=_0x138921;this['_send']({'type':0x2,'memberID':this[_0x2bdd5c(0x465)]});},_0x16337c);}[_0x2e5f4c(0x407)](_0x4789d2){const _0x2f6ec9=_0x2e5f4c;return this[_0x2f6ec9(0x2b4)][_0x2f6ec9(0x477)](_0x4789d2)||this[_0x2f6ec9(0x2b4)][_0x2f6ec9(0x246)](_0x4789d2,new _0x1e8f3c[(_0x2f6ec9(0x3ca))](0x0)),this['_unitStatus'][_0x2f6ec9(0x578)](_0x4789d2);}}function _0x2e04c1(_0x47ef6f){const _0x2e5ca7=_0x2e5f4c;let _0x47fd8e='';for(const _0x26e61a of _0x47ef6f){const {startOffset:_0x3a28a6,endOffset:_0x19f410,isActive:_0x787b7a}=_0x26e61a;_0x47fd8e[_0x2e5ca7(0x310)]&&(_0x47fd8e+=','),_0x47fd8e+=_0x3a28a6+':'+_0x19f410+':'+(_0x787b7a?'1':'0');}return _0x47fd8e;}function _0x4787e5(_0x132a01){const _0x31c4a2=_0x2e5f4c,_0x7301c0=_0x132a01[_0x31c4a2(0x168)](','),_0x391fd6=[];for(const _0x25f0da of _0x7301c0){const [_0x4cf726,_0x951d2e,_0x54ad3f]=_0x25f0da[_0x31c4a2(0x168)](':');_0x391fd6['push']({'startOffset':Number(_0x4cf726),'endOffset':Number(_0x951d2e),'collapsed':_0x4cf726===_0x951d2e,'isActive':_0x54ad3f==='1'});}return _0x391fd6[_0x31c4a2(0x179)](_0x5c61a9=>_0x5c61a9[_0x31c4a2(0x54b)])||(_0x391fd6[0x0][_0x31c4a2(0x54b)]=!0x0),_0x391fd6;}class _0x55fe8c extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(){const _0xbe6269=_0x2e5f4c;super(...arguments),_0x30b9f2(this,_0xbe6269(0x2cf),new _0x1e8f3c[(_0xbe6269(0x3ca))](null)),_0x30b9f2(this,_0xbe6269(0x251),this['_collabCursorState$']['asObservable']());}[_0x2e5f4c(0x52f)](_0x40aeba){const _0x1af016=_0x2e5f4c,{unitID:_0x6cc05,memberID:_0x2409e8,textRanges:_0x13433a}=_0x40aeba,_0x2b777b=_0x2e04c1(_0x13433a),_0x1f137f={'unitID':_0x6cc05,'memberID':_0x2409e8,'selection':_0x2b777b};this[_0x1af016(0x2cf)]['next'](_0x1f137f);}}var _0xb34cc=Object[_0x2e5f4c(0x2c2)],_0x2063c3=Object[_0x2e5f4c(0x4b9)],_0xe2c4db=(_0x5ea7cc,_0x4cf487,_0x6c727,_0x398dde)=>{const _0x302b5a=_0x2e5f4c;for(var _0x30bca7=_0x398dde>0x1?void 0x0:_0x398dde?_0x2063c3(_0x4cf487,_0x6c727):_0x4cf487,_0x39117a=_0x5ea7cc[_0x302b5a(0x310)]-0x1,_0x43a3d1;_0x39117a>=0x0;_0x39117a--)(_0x43a3d1=_0x5ea7cc[_0x39117a])&&(_0x30bca7=(_0x398dde?_0x43a3d1(_0x4cf487,_0x6c727,_0x30bca7):_0x43a3d1(_0x30bca7))||_0x30bca7);return _0x398dde&&_0x30bca7&&_0xb34cc(_0x4cf487,_0x6c727,_0x30bca7),_0x30bca7;},_0x43e7f3=(_0x9c53da,_0x36a344)=>(_0x2ef161,_0x5b8f8a)=>_0x36a344(_0x2ef161,_0x5b8f8a,_0x9c53da);let _0x54ffaf=class{constructor(_0x248962,_0x50f5b8){const _0x5cf73a=_0x2e5f4c;this[_0x5cf73a(0x3bf)]=_0x248962,this[_0x5cf73a(0x1a4)]=_0x50f5b8;}[_0x2e5f4c(0x51c)](_0x5f13eb){const _0x35fe2f=_0x2e5f4c;var _0x22edd0;const _0x30bc4c=this[_0x35fe2f(0x3bf)]['get'](_0x4c83d7['DocSelectionManagerService']),_0x26e286=(_0x22edd0=_0x30bc4c[_0x35fe2f(0x139)]())!=null?_0x22edd0:[];if(_0x26e286[_0x35fe2f(0x310)]===0x0)return;const _0x3150e8=[{'id':_0x35fe2f(0x499),'params':{'unitId':_0x5f13eb[_0x35fe2f(0x145)],'actions':null,'textRanges':_0x26e286}}],_0xf0b31f=this['_transformService'][_0x35fe2f(0x322)](_0x5f13eb,_0x3150e8);if(!_0x57fec2[_0x35fe2f(0x20e)](_0xf0b31f))throw _0xf0b31f[_0x35fe2f(0x2ac)];const _0xbbc42b=_0xf0b31f[_0x35fe2f(0x453)][0x0][_0x35fe2f(0x484)][_0x35fe2f(0x1a2)];Array[_0x35fe2f(0x241)](_0xbbc42b)&&_0xbbc42b[_0x35fe2f(0x310)]&&_0x30bc4c[_0x35fe2f(0x136)](_0xbbc42b,!0x1);}};_0x54ffaf=_0xe2c4db([_0x43e7f3(0x0,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x43e7f3(0x1,_0x57fec2['ITransformService'])],_0x54ffaf);const _0x5949fc=new Set([_0x51fcfd[_0x2e5f4c(0x448)]['id']]);function _0x1e96a2(_0x4e4ead,_0x49934a,_0x5d635b,_0x4ec431,_0x4002f7){const _0x59815a=_0x2e5f4c;var _0x198a2a,_0x5671a6,_0x523a4a,_0x33deb2;const _0x4a3bd6=[];for(const _0x1c92f7 of _0x4e4ead)if(_0x5949fc[_0x59815a(0x477)](_0x1c92f7['id'])){if(_0x4a3bd6[_0x59815a(0x310)]>0x0)break;_0x4a3bd6[_0x59815a(0x36b)](_0x1c92f7);break;}else _0x4a3bd6['push'](_0x1c92f7);const _0x14a9cd=(_0x5671a6=(_0x198a2a=_0x4002f7['getCurrentUser']())==null?void 0x0:_0x198a2a[_0x59815a(0x245)])!=null?_0x5671a6:_0x59815a(0x505),_0x4f0e13=(_0x33deb2=(_0x523a4a=_0x4002f7[_0x59815a(0x4ff)]())==null?void 0x0:_0x523a4a[_0x59815a(0x153)])!=null?_0x33deb2:_0x59815a(0x505);return{'changeset':{'unitID':_0x49934a,'type':_0x57fec2[_0x59815a(0x1f8)](_0x5d635b[_0x59815a(0x512)](_0x49934a)),'baseRev':_0x4ec431[_0x59815a(0x3b2)](_0x49934a),'revision':0x0,'userID':_0x14a9cd,'memberID':_0x4f0e13,'mutations':_0x4a3bd6},'pendingMutations':_0x4e4ead[_0x59815a(0x4ca)](_0x4a3bd6[_0x59815a(0x310)])};}function _0x5875d5(_0x2c99bf,_0xb14ecc,_0x27bfa1,_0x3182b9,_0x590814){const _0x231120=_0x2e5f4c;var _0xed2fad,_0x38f9ce,_0x57eba3,_0x5e73ca;const _0x1d0400=[_0x2c99bf[_0x231120(0x515)]((_0x47150b,_0x3f7b87)=>{const _0x33d11d=_0x231120;var _0x353eb4;const {id:_0x582e0a}=_0x47150b,{id:_0x9a0e5b,type:_0x68a2cd}=_0x3f7b87,_0x1d09ef=(_0x353eb4=_0x47150b['params'])!=null?_0x353eb4:{'actions':null},_0x1a6796=_0x3f7b87[_0x33d11d(0x484)];if(_0x582e0a&&_0x582e0a!==_0x9a0e5b)throw new Error(_0x33d11d(0x138)+_0x582e0a+_0x33d11d(0x2fa)+_0x9a0e5b+'.');return{..._0x47150b,'id':_0x9a0e5b,'type':_0x68a2cd,'params':{'unitId':_0x1a6796[_0x33d11d(0x183)],'textRanges':_0x1a6796[_0x33d11d(0x1a2)],'actions':_0x5dd71d[_0x33d11d(0x172)][_0x33d11d(0x4f8)](_0x1d09ef['actions'],_0x1a6796[_0x33d11d(0x317)])}};},{})],_0xd1898d=(_0x38f9ce=(_0xed2fad=_0x590814[_0x231120(0x4ff)]())==null?void 0x0:_0xed2fad[_0x231120(0x245)])!=null?_0x38f9ce:_0x231120(0x505),_0x42debf=(_0x5e73ca=(_0x57eba3=_0x590814[_0x231120(0x4ff)]())==null?void 0x0:_0x57eba3[_0x231120(0x153)])!=null?_0x5e73ca:'unknown';return{'changeset':{'unitID':_0xb14ecc,'type':_0x57fec2[_0x231120(0x1f8)](_0x27bfa1[_0x231120(0x512)](_0xb14ecc)),'baseRev':_0x3182b9[_0x231120(0x3b2)](_0xb14ecc),'revision':0x0,'userID':_0xd1898d,'memberID':_0x42debf,'mutations':_0x1d0400},'pendingMutations':[]};}function _0x2da4a8(_0x75d099,_0x1adc25){const _0x303e14=_0x2e5f4c,_0x996cf2=new _0x1e8f3c['ReplaySubject'](0x1);return setTimeout(()=>_0x996cf2[_0x303e14(0x228)](_0x1adc25),_0x75d099),_0x996cf2['asObservable']()[_0x303e14(0x31d)](_0x1e8f3c[_0x303e14(0x338)](0x1));}const _0x4191ed={'id':_0x51fcfd[_0x2e5f4c(0x416)]['id'],'type':_0x5dd71d[_0x2e5f4c(0x29f)][_0x2e5f4c(0x2c4)],'params':{}};var _0x56e990=Object['defineProperty'],_0x5252e9=Object[_0x2e5f4c(0x4b9)],_0x4b0fa8=(_0x577350,_0x1d79b5,_0x3e3e2e,_0x1d6dd9)=>{const _0x416743=_0x2e5f4c;for(var _0x4b277c=_0x1d6dd9>0x1?void 0x0:_0x1d6dd9?_0x5252e9(_0x1d79b5,_0x3e3e2e):_0x1d79b5,_0x355049=_0x577350[_0x416743(0x310)]-0x1,_0x393c8e;_0x355049>=0x0;_0x355049--)(_0x393c8e=_0x577350[_0x355049])&&(_0x4b277c=(_0x1d6dd9?_0x393c8e(_0x1d79b5,_0x3e3e2e,_0x4b277c):_0x393c8e(_0x4b277c))||_0x4b277c);return _0x1d6dd9&&_0x4b277c&&_0x56e990(_0x1d79b5,_0x3e3e2e,_0x4b277c),_0x4b277c;},_0x2cf916=(_0x35ac27,_0x67f7ff)=>(_0xd7a472,_0x4e8933)=>_0x67f7ff(_0xd7a472,_0x4e8933,_0x35ac27),_0x3cd2aa=(_0x223d5a=>(_0x223d5a[_0x2e5f4c(0x313)]='not_collab',_0x223d5a[_0x2e5f4c(0x513)]=_0x2e5f4c(0x25c),_0x223d5a[_0x2e5f4c(0x30e)]=_0x2e5f4c(0x534),_0x223d5a['AWAITING']=_0x2e5f4c(0x19c),_0x223d5a[_0x2e5f4c(0x508)]=_0x2e5f4c(0x47a),_0x223d5a[_0x2e5f4c(0x24d)]='fetch_missing',_0x223d5a[_0x2e5f4c(0x224)]=_0x2e5f4c(0x488),_0x223d5a[_0x2e5f4c(0x2d7)]=_0x2e5f4c(0x4fb),_0x223d5a))(_0x3cd2aa||{});const _0x1929b6=0xea60;class _0x24a855{constructor(_0x3d5126,_0x2bafc1,_0x19fc9f,_0x2452db,_0x313b92,_0x14c1a9,_0x2e2609,_0x2bd6fd,_0x3c039e){const _0x16765f=_0x2e5f4c;_0x30b9f2(this,'_awaitingChangeset',null),_0x30b9f2(this,_0x16765f(0x1db),[]),(this[_0x16765f(0x145)]=_0x3d5126,this[_0x16765f(0x4c7)]=_0x2bafc1,this[_0x16765f(0x4f0)]=_0x313b92,this[_0x16765f(0x2aa)]=_0x14c1a9,this[_0x16765f(0x167)]=_0x2e2609,this[_0x16765f(0x492)]=_0x2bd6fd,this[_0x16765f(0x178)]=_0x3c039e,this[_0x16765f(0x19d)]=_0x19fc9f,this[_0x16765f(0x1db)]=_0x2452db);}[_0x2e5f4c(0x324)](_0x254a0a){const _0x424e6d=_0x2e5f4c,_0x23f9ae=this['_revisionService'][_0x424e6d(0x3b2)](this[_0x424e6d(0x145)]);return _0x254a0a['revision']>_0x23f9ae+0x1?(this['_handler']['onMissingChangesets']({'from':_0x23f9ae,'to':_0x254a0a[_0x424e6d(0x292)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x29ecc1){const _0x3565ff=_0x2e5f4c;this[_0x3565ff(0x167)]['transformUndoRedo'](this[_0x3565ff(0x145)],_0x29ecc1);}[_0x2e5f4c(0x4b0)](_0x244cea){const _0x597688=_0x2e5f4c;var _0x565310,_0x36d70d;(_0x36d70d=(_0x565310=this['_handler'])[_0x597688(0x3b4)])==null||_0x36d70d['call'](_0x565310,_0x244cea);}[_0x2e5f4c(0x43b)](_0x58ef70){const _0x4ee3a3=_0x2e5f4c;var _0x783fe1,_0x4887e1;return(_0x4887e1=(_0x783fe1=this[_0x4ee3a3(0x4f0)])[_0x4ee3a3(0x489)])==null?void 0x0:_0x4887e1[_0x4ee3a3(0x152)](_0x783fe1,_0x58ef70);}[_0x2e5f4c(0x267)](_0xa4c2f5){const _0xe2eca=_0x2e5f4c;var _0x1e80d4,_0x53093e,_0x34331b;return(_0x34331b=(_0x53093e=(_0x1e80d4=this[_0xe2eca(0x4f0)])[_0xe2eca(0x3fc)])==null?void 0x0:_0x53093e[_0xe2eca(0x152)](_0x1e80d4,_0xa4c2f5))!=null?_0x34331b:_0xa4c2f5;}['_syncEditingCollabCursor'](_0x120239){const _0x8c2cee=_0x2e5f4c;var _0x55c348,_0x380408;if(this[_0x8c2cee(0x4c7)]===_0x17bbb0['UNIVER_DOC']){const {unitID:_0xbd91e6,mutations:_0x58c4ad,memberID:_0x1da359}=_0x120239,_0x3942ca=_0x58c4ad[0x0][_0x8c2cee(0x484)][_0x8c2cee(0x1a2)];Array['isArray'](_0x3942ca)&&_0x3942ca[_0x8c2cee(0x310)]>0x0&&((_0x380408=(_0x55c348=this['_handler'])[_0x8c2cee(0x2c3)])==null||_0x380408[_0x8c2cee(0x152)](_0x55c348,{'unitID':_0xbd91e6,'memberID':_0x1da359,'textRanges':_0x3942ca}));}}['_updateLocalCache'](){const _0x1bf01e=_0x2e5f4c;this[_0x1bf01e(0x178)]['updateOfflineData'](this[_0x1bf01e(0x145)],this[_0x1bf01e(0x4c7)],this['_awaitingChangeset'],this[_0x1bf01e(0x1db)]);}['_getCurrentRevision'](){const _0x34ce9d=_0x2e5f4c;return this[_0x34ce9d(0x492)][_0x34ce9d(0x3b2)](this[_0x34ce9d(0x145)]);}[_0x2e5f4c(0x478)](){const _0x1527ac=_0x2e5f4c;this['_revisionService']['incrementRevOfUnit'](this[_0x1527ac(0x145)]);}[_0x2e5f4c(0x3ab)](_0x10e39f){const _0x429e35=_0x2e5f4c;var _0x4216a5;const _0x44afed=this['_transformRemoteChangesetByIMECache'](_0x10e39f),_0x29d602=_0x5dd71d[_0x429e35(0x1fc)](_0x44afed[_0x429e35(0x273)],this[_0x429e35(0x2aa)],{'fromCollab':!0x0});if(!_0x29d602['result'])throw _0x29d602[_0x429e35(0x2ac)]instanceof Error?_0x29d602[_0x429e35(0x2ac)]:new Error((_0x4216a5=_0x29d602[_0x429e35(0x2ac)])!=null?_0x4216a5:_0x429e35(0x3eb));this[_0x429e35(0x43b)](_0x44afed),this[_0x429e35(0x13c)](_0x10e39f),this[_0x429e35(0x4b0)](_0x44afed),this[_0x429e35(0x2b8)](_0x44afed),this['_incrementRevisionNumber']();}}let _0x274376=class extends _0x24a855{constructor(_0x234eb0,_0x2031ff,_0x580a54,_0x51573a,_0x30ba,_0x512f31,_0x17eef0,_0x457051,_0x3af90c,_0x5ad4b7){const _0x1a8160=_0x2e5f4c;super(_0x234eb0,_0x2031ff,null,[],_0x580a54,_0x457051,_0x17eef0,_0x51573a,_0x30ba),_0x30b9f2(this,_0x1a8160(0x24a),_0x1a8160(0x25c)),(this[_0x1a8160(0x3bf)]=_0x512f31,this[_0x1a8160(0x55b)]=_0x3af90c,this[_0x1a8160(0x1a4)]=_0x5ad4b7);}['appendMutation'](_0x99a84a){const _0x49df8e=_0x2e5f4c,_0x4c5629=this[_0x49df8e(0x3bf)][_0x49df8e(0x408)](_0x13ad85,this[_0x49df8e(0x145)],this[_0x49df8e(0x4c7)],[_0x99a84a],this['_handler']);return _0x4c5629['_schedule'](),_0x4c5629[_0x49df8e(0x32b)](),_0x4c5629;}['onRemoteChangeset'](_0x28e0cf){const _0x62515=_0x2e5f4c;if(this[_0x62515(0x324)](_0x28e0cf))return this['_injector'][_0x62515(0x408)](_0x3659b7,this[_0x62515(0x145)],this[_0x62515(0x4c7)],null,[],null,[_0x28e0cf],this['_handler']);try{const _0x563bc8=this[_0x62515(0x1a4)][_0x62515(0x322)](_0x28e0cf,[_0x4191ed]);if(_0x57fec2['isTransformMutationsWithChangesetSuccess'](_0x563bc8)){const {c1Prime:_0x5d7c63}=_0x563bc8;return this[_0x62515(0x3ab)](_0x5d7c63),this;}throw _0x563bc8['error'];}catch(_0x27a0fc){return this[_0x62515(0x55b)][_0x62515(0x2ac)](_0x27a0fc),this[_0x62515(0x3f3)](!0x1);}}['_onConflict'](_0x205ff7){const _0x5eea5d=_0x2e5f4c;return this['_injector']['createInstance'](_0x4a30e3,this[_0x5eea5d(0x145)],this[_0x5eea5d(0x4c7)],null,[],this[_0x5eea5d(0x4f0)],_0x205ff7);}[_0x2e5f4c(0x344)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2e5f4c(0x28a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2e5f4c(0x352)](){const _0x1e6644=_0x2e5f4c;return this['_injector'][_0x1e6644(0x408)](_0x2741c7,this[_0x1e6644(0x145)],this[_0x1e6644(0x4c7)],null,[],this[_0x1e6644(0x4f0)]);}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x547)](){const _0x277e46=_0x2e5f4c;throw new Error(_0x277e46(0x3c4));}[_0x2e5f4c(0x1ef)](){const _0x3f0102=_0x2e5f4c,_0x4a661c=this[_0x3f0102(0x492)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x3f0102(0x4f0)][_0x3f0102(0x3cf)]({'from':_0x4a661c,'to':0x0}),this[_0x3f0102(0x3bf)][_0x3f0102(0x408)](_0x3659b7,this['unitID'],this[_0x3f0102(0x4c7)],null,[],null,[],this[_0x3f0102(0x4f0)]);}};_0x274376=_0x4b0fa8([_0x2cf916(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2['RevisionService'])),_0x2cf916(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x557)])),_0x2cf916(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['Injector'])),_0x2cf916(0x6,_0x5dd71d['IUndoRedoService']),_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x2cf916(0x9,_0x57fec2[_0x2e5f4c(0x52d)])],_0x274376);let _0x13ad85=class extends _0x24a855{constructor(_0x565b67,_0x1ce82c,_0x2ca2e6,_0x2a30ff,_0x295db1,_0x3c2cc6,_0x7068b0,_0xaf49fb,_0x36b6b0,_0x5c7175,_0x4a58aa,_0x58494e,_0x55b049,_0x5c6974){const _0x20ee99=_0x2e5f4c;super(_0x565b67,_0x1ce82c,null,_0x2ca2e6,_0x2a30ff,_0x5c7175,_0x5c6974,_0x3c2cc6,_0x7068b0),_0x30b9f2(this,_0x20ee99(0x24a),_0x20ee99(0x534)),_0x30b9f2(this,'_scheduleTimestamp',null),_0x30b9f2(this,_0x20ee99(0x462),null),(this[_0x20ee99(0x3bf)]=_0x295db1,this[_0x20ee99(0x2bd)]=_0xaf49fb,this[_0x20ee99(0x55b)]=_0x36b6b0,this[_0x20ee99(0x33c)]=_0x4a58aa,this[_0x20ee99(0x1a4)]=_0x58494e,this[_0x20ee99(0x546)]=_0x55b049);}[_0x2e5f4c(0x315)](_0x1d048f){const _0x34b2f9=_0x2e5f4c;return this[_0x34b2f9(0x1db)][_0x34b2f9(0x36b)](_0x1d048f),this[_0x34b2f9(0x32b)](),this;}[_0x2e5f4c(0x3c9)](_0x4e66d4){const _0x32e667=_0x2e5f4c;if(this[_0x32e667(0x324)](_0x4e66d4))return this[_0x32e667(0x471)](),this[_0x32e667(0x3bf)][_0x32e667(0x408)](_0x3659b7,this[_0x32e667(0x145)],this[_0x32e667(0x4c7)],null,this[_0x32e667(0x1db)],null,[_0x4e66d4],this[_0x32e667(0x4f0)]);try{const _0x4e9aea=this[_0x32e667(0x1a4)][_0x32e667(0x322)](_0x4e66d4,this[_0x32e667(0x1db)]);if(_0x57fec2[_0x32e667(0x20e)](_0x4e9aea)){const {c1Prime:_0x5dc13d,m2Prime:_0x5ccb13}=_0x4e9aea;this[_0x32e667(0x3ab)](_0x5dc13d);const _0x3b1803=this['_injector']['createInstance'](_0x13ad85,this[_0x32e667(0x145)],this['type'],_0x5ccb13,this['_handler']);return this[_0x32e667(0x471)](),_0x3b1803[_0x32e667(0x200)](this[_0x32e667(0x1c9)]?Math[_0x32e667(0x48d)](0x0,new Date()[_0x32e667(0x206)]()-this[_0x32e667(0x1c9)]):this[_0x32e667(0x51a)]()),_0x3b1803;}throw _0x4e9aea[_0x32e667(0x2ac)];}catch(_0x79aec9){return this[_0x32e667(0x55b)]['error'](_0x79aec9),this[_0x32e667(0x3f3)](!0x1);}}[_0x2e5f4c(0x344)](){const _0x1b8179=_0x2e5f4c;throw new Error(_0x1b8179(0x42f));}[_0x2e5f4c(0x28a)](){const _0x801a65=_0x2e5f4c;throw new Error(_0x801a65(0x320));}['onRemoteRetry'](){return this;}[_0x2e5f4c(0x352)](){const _0xea98f0=_0x2e5f4c;return this[_0xea98f0(0x471)](),this[_0xea98f0(0x3bf)][_0xea98f0(0x408)](_0x2741c7,this[_0xea98f0(0x145)],this[_0xea98f0(0x4c7)],null,this[_0xea98f0(0x1db)],this['_handler']);}[_0x2e5f4c(0x232)](){return this;}['_schedule'](_0xbb66f1){const _0x2b3a23=_0x2e5f4c,_0x448ab3=_0xbb66f1!=null?_0xbb66f1:this[_0x2b3a23(0x51a)]();this[_0x2b3a23(0x1c9)]=new Date()[_0x2b3a23(0x206)](),this[_0x2b3a23(0x462)]=window[_0x2b3a23(0x4d6)](()=>{const _0x4d942d=_0x2b3a23;this[_0x4d942d(0x471)]();let _0x28bcbe=null;switch(this[_0x4d942d(0x4c7)]){case _0x17bbb0[_0x4d942d(0x530)]:{_0x28bcbe=_0x1e96a2(this[_0x4d942d(0x1db)],this[_0x4d942d(0x145)],this['_univerInstanceService'],this[_0x4d942d(0x492)],this[_0x4d942d(0x2bd)]);break;}case _0x17bbb0[_0x4d942d(0x4de)]:{this['_pendingMutations'][_0x4d942d(0x2be)](_0x47a92c=>_0x47a92c['id']===_0x4c83d7['RichTextEditingMutation']['id'])?_0x28bcbe=_0x5875d5(this[_0x4d942d(0x1db)],this['unitID'],this[_0x4d942d(0x546)],this[_0x4d942d(0x492)],this[_0x4d942d(0x2bd)]):_0x28bcbe=_0x1e96a2(this[_0x4d942d(0x1db)],this['unitID'],this[_0x4d942d(0x546)],this[_0x4d942d(0x492)],this[_0x4d942d(0x2bd)]);break;}default:throw new Error(_0x4d942d(0x48f)+this[_0x4d942d(0x4c7)]+'\x20in\x20_schedule.');}const {changeset:_0x5c76eb,pendingMutations:_0x1b6f35}=_0x28bcbe;this[_0x4d942d(0x4f0)][_0x4d942d(0x2df)](_0x5c76eb);const _0x324537=_0x1b6f35['length']?this['_injector']['createInstance'](_0xdd4e93,this[_0x4d942d(0x145)],this[_0x4d942d(0x4c7)],_0x5c76eb,_0x1b6f35,this[_0x4d942d(0x4f0)],void 0x0):this[_0x4d942d(0x3bf)][_0x4d942d(0x408)](_0x5dbf59,this[_0x4d942d(0x145)],this[_0x4d942d(0x4c7)],_0x5c76eb,this['_handler']);_0x324537['_updateLocalCache'](),this['_handler'][_0x4d942d(0x3e8)](this,_0x324537);},_0x448ab3);}[_0x2e5f4c(0x51a)](){const _0x861c03=_0x2e5f4c;var _0x488185;const _0x420f36=this[_0x861c03(0x33c)][_0x861c03(0x18e)](_0x505ac2);return(_0x488185=_0x420f36==null?void 0x0:_0x420f36[_0x861c03(0x195)])!=null?_0x488185:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e5f4c(0x471)](){const _0x3e6a89=_0x2e5f4c;this[_0x3e6a89(0x462)]!=null&&(clearTimeout(this[_0x3e6a89(0x462)]),this['_sendingTimer']=null);}['_onConflict'](_0x29729e){const _0x51879a=_0x2e5f4c;return this[_0x51879a(0x471)](),this[_0x51879a(0x3bf)]['createInstance'](_0x4a30e3,this[_0x51879a(0x145)],this[_0x51879a(0x4c7)],null,this['_pendingMutations'],this['_handler'],_0x29729e);}};_0x13ad85=_0x4b0fa8([_0x2cf916(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x5,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x391)](_0x266f31)),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0xa,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x2cf916(0xb,_0x57fec2[_0x2e5f4c(0x52d)]),_0x2cf916(0xc,_0x5dd71d[_0x2e5f4c(0x373)]),_0x2cf916(0xd,_0x5dd71d[_0x2e5f4c(0x302)])],_0x13ad85);let _0x5dbf59=class extends _0x24a855{constructor(_0xd0f811,_0x26d38f,_0x2e23cc,_0x2f0455,_0xae1a63,_0x4013c7,_0x298c51,_0x4ccb9d,_0x33ea35,_0x20c5c0,_0x2bb52e){const _0x17beb2=_0x2e5f4c;super(_0xd0f811,_0x26d38f,_0x2e23cc,[],_0x2f0455,_0x4ccb9d,_0x2bb52e,_0x4013c7,_0x298c51),_0x30b9f2(this,_0x17beb2(0x24a),_0x17beb2(0x19c)),_0x30b9f2(this,_0x17beb2(0x561),0x0),_0x30b9f2(this,_0x17beb2(0x22e)),_0x30b9f2(this,'_sender'),(this[_0x17beb2(0x3bf)]=_0xae1a63,this[_0x17beb2(0x55b)]=_0x33ea35,this[_0x17beb2(0x1a4)]=_0x20c5c0);}['appendMutation'](_0x6002a7){const _0x47117c=_0x2e5f4c;this[_0x47117c(0x471)]();const _0x2ddb87=this[_0x47117c(0x3bf)][_0x47117c(0x408)](_0xdd4e93,this[_0x47117c(0x145)],this[_0x47117c(0x4c7)],this[_0x47117c(0x19d)],[_0x6002a7],this[_0x47117c(0x4f0)],this['_resendTimer']);return _0x2ddb87[_0x47117c(0x32b)](),_0x2ddb87;}[_0x2e5f4c(0x3c9)](_0x3c59df){const _0x5354bd=_0x2e5f4c;if(this[_0x5354bd(0x324)](_0x3c59df))return this[_0x5354bd(0x471)](),this[_0x5354bd(0x3bf)][_0x5354bd(0x408)](_0x3659b7,this['unitID'],this[_0x5354bd(0x4c7)],this[_0x5354bd(0x19d)],[],null,[_0x3c59df],this[_0x5354bd(0x4f0)]);try{const _0x3ed2d5=this[_0x5354bd(0x1a4)][_0x5354bd(0x366)]([_0x3c59df],[this[_0x5354bd(0x19d)]],!0x1);if(_0x57fec2[_0x5354bd(0x44f)](_0x3ed2d5)){const {c1Prime:_0x5156f0,c2Prime:_0x38f1d1}=_0x3ed2d5;this['_executeRemoteChangeset'](_0x5156f0[0x0]),_0x38f1d1[0x0][_0x5354bd(0x3e2)]=this[_0x5354bd(0x3c6)](),this[_0x5354bd(0x471)]();const _0x208120=this[_0x5354bd(0x3bf)][_0x5354bd(0x408)](_0x5dbf59,this[_0x5354bd(0x145)],this[_0x5354bd(0x4c7)],_0x38f1d1[0x0],this[_0x5354bd(0x4f0)]);return _0x208120[_0x5354bd(0x32b)](),_0x208120;}return this[_0x5354bd(0x3f3)](!0x1);}catch(_0x347965){return this[_0x5354bd(0x55b)]['error'](_0x347965),this[_0x5354bd(0x3f3)](!0x1);}}[_0x2e5f4c(0x344)](_0x49a132){const _0x50263e=_0x2e5f4c;this[_0x50263e(0x471)]();const _0x5f4c6d=this[_0x50263e(0x492)][_0x50263e(0x3b2)](this[_0x50263e(0x145)]);if(_0x49a132['revision']<_0x5f4c6d-0x1)return this;if(this[_0x50263e(0x324)](_0x49a132))return this['_injector'][_0x50263e(0x408)](_0x3659b7,this[_0x50263e(0x145)],this[_0x50263e(0x4c7)],null,[],this[_0x50263e(0x19d)],[],this[_0x50263e(0x4f0)]);this['_incrementRevisionNumber']();const _0x38f7c3=this['_injector'][_0x50263e(0x408)](_0x274376,this[_0x50263e(0x145)],this[_0x50263e(0x4c7)],this[_0x50263e(0x4f0)]);return _0x38f7c3[_0x50263e(0x32b)](),_0x38f7c3;}[_0x2e5f4c(0x28a)](_0x5cf718){const _0x15485e=_0x2e5f4c;return this[_0x15485e(0x3f3)](!!(_0x5cf718!=null&&_0x5cf718[_0x15485e(0x4c8)]));}['onRemoteRetry'](_0x3b6fbc){const _0x26953a=_0x2e5f4c;return this[_0x26953a(0x561)]>_0x1929b6?this[_0x26953a(0x352)]():(this[_0x26953a(0x22e)]=_0x2da4a8(this[_0x26953a(0x561)],{'timeout':this[_0x26953a(0x561)],'reqId':_0x3b6fbc[_0x26953a(0x1ca)]}),this[_0x26953a(0x392)]=this[_0x26953a(0x22e)][_0x26953a(0x3ee)](({reqId:_0x18b6f6,timeout:_0x3bf563})=>{const _0x5443d5=_0x26953a;this[_0x5443d5(0x386)](_0x18b6f6,_0x3bf563);}),this);}[_0x2e5f4c(0x352)](){const _0x378776=_0x2e5f4c;return this['_clearScheduledTask'](),this[_0x378776(0x3bf)][_0x378776(0x408)](_0x2741c7,this[_0x378776(0x145)],this[_0x378776(0x4c7)],this['_awaitingChangeset'],[],this[_0x378776(0x4f0)]);}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x547)](){const _0x54e423=_0x2e5f4c;this['_handler']['onSendChangeset'](this[_0x54e423(0x19d)]);}[_0x2e5f4c(0x3f3)](_0x374d9e){const _0x437406=_0x2e5f4c;return this[_0x437406(0x471)](),this[_0x437406(0x3bf)][_0x437406(0x408)](_0x4a30e3,this[_0x437406(0x145)],this[_0x437406(0x4c7)],this['_awaitingChangeset'],[],this[_0x437406(0x4f0)],_0x374d9e);}[_0x2e5f4c(0x386)](_0x451193,_0x588a1b){const _0x3f93c1=_0x2e5f4c;var _0x3ec650;_0x451193===((_0x3ec650=this['_awaitingChangeset'])==null?void 0x0:_0x3ec650[_0x3f93c1(0x1ca)])&&(this[_0x3f93c1(0x547)](),this[_0x3f93c1(0x561)]=_0x588a1b===0x0?0x3e8:_0x588a1b*0x2);}['_clearScheduledTask'](){const _0x337649=_0x2e5f4c;var _0x9fcbac;(_0x9fcbac=this[_0x337649(0x392)])==null||_0x9fcbac[_0x337649(0x423)](),this[_0x337649(0x561)]=0x0;}};_0x5dbf59=_0x4b0fa8([_0x2cf916(0x4,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x19f)])),_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x557)])),_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x2cf916(0x9,_0x57fec2[_0x2e5f4c(0x52d)]),_0x2cf916(0xa,_0x5dd71d[_0x2e5f4c(0x302)])],_0x5dbf59);let _0xdd4e93=class extends _0x24a855{constructor(_0x1620fe,_0x583bb3,_0x4882a7,_0x54053d,_0x26b6ab,_0x1e5987,_0x1b7721,_0x5e8e1f,_0xec3523,_0x34a2c2,_0x56a0c4,_0x1ae0f6,_0x227930){const _0xd3a2c4=_0x2e5f4c;super(_0x1620fe,_0x583bb3,_0x4882a7,_0x54053d,_0x26b6ab,_0x34a2c2,_0x227930,_0x5e8e1f,_0xec3523),_0x30b9f2(this,_0xd3a2c4(0x24a),_0xd3a2c4(0x47a)),_0x30b9f2(this,'_resendTimeout',0x0),_0x30b9f2(this,_0xd3a2c4(0x22e)),_0x30b9f2(this,_0xd3a2c4(0x392)),(this[_0xd3a2c4(0x3bf)]=_0x1b7721,this['_logService']=_0x56a0c4,this[_0xd3a2c4(0x1a4)]=_0x1ae0f6,_0x1e5987&&(this['_resendTimer']=_0x1e5987,this[_0xd3a2c4(0x392)]=this['_resendTimer']['subscribe'](({reqId:_0x419748,timeout:_0x24d026})=>{const _0x7dc72a=_0xd3a2c4;this[_0x7dc72a(0x386)](_0x419748,_0x24d026);})));}['appendMutation'](_0x2a04cd){const _0x524445=_0x2e5f4c;return this[_0x524445(0x1db)][_0x524445(0x36b)](_0x2a04cd),this;}[_0x2e5f4c(0x3c9)](_0x5a6d42){const _0x3d4cc2=_0x2e5f4c;if(this[_0x3d4cc2(0x324)](_0x5a6d42))return this[_0x3d4cc2(0x471)](),this[_0x3d4cc2(0x3bf)]['createInstance'](_0x3659b7,this['unitID'],this[_0x3d4cc2(0x4c7)],this[_0x3d4cc2(0x19d)],this[_0x3d4cc2(0x1db)],null,[_0x5a6d42],this[_0x3d4cc2(0x4f0)]);try{const _0x2067cc=this[_0x3d4cc2(0x1a4)][_0x3d4cc2(0x366)]([_0x5a6d42],[this['_awaitingChangeset']],!0x1);if(_0x57fec2[_0x3d4cc2(0x44f)](_0x2067cc)){const {c1Prime:_0x5e288f,c2Prime:_0x6a6926}=_0x2067cc,_0x223e7f=this[_0x3d4cc2(0x1a4)]['transformMutationsWithChangeset'](_0x5e288f[0x0],this[_0x3d4cc2(0x1db)]);if(_0x57fec2[_0x3d4cc2(0x20e)](_0x223e7f)){const {c1Prime:_0xcdf9c6,m2Prime:_0x25fcb9}=_0x223e7f;return this[_0x3d4cc2(0x3ab)](_0xcdf9c6),_0x6a6926[0x0][_0x3d4cc2(0x3e2)]=this['_getCurrentRevision'](),this[_0x3d4cc2(0x471)](),this[_0x3d4cc2(0x3bf)][_0x3d4cc2(0x408)](_0xdd4e93,this['unitID'],this[_0x3d4cc2(0x4c7)],_0x6a6926[0x0],_0x25fcb9,this['_handler'],void 0x0);}throw _0x223e7f[_0x3d4cc2(0x2ac)];}throw _0x2067cc[_0x3d4cc2(0x2ac)];}catch(_0x42aa49){return this[_0x3d4cc2(0x55b)]['error'](_0x42aa49),this[_0x3d4cc2(0x3f3)](!0x1);}}[_0x2e5f4c(0x344)](_0x1b2bf6){const _0x3796a3=_0x2e5f4c;if(this[_0x3796a3(0x471)](),this[_0x3796a3(0x324)](_0x1b2bf6))return this[_0x3796a3(0x3bf)][_0x3796a3(0x408)](_0x3659b7,this[_0x3796a3(0x145)],this[_0x3796a3(0x4c7)],null,this['_pendingMutations'],this[_0x3796a3(0x19d)],[],this[_0x3796a3(0x4f0)]);this[_0x3796a3(0x478)]();const _0x100341=this[_0x3796a3(0x3bf)]['createInstance'](_0x13ad85,this[_0x3796a3(0x145)],this['type'],this[_0x3796a3(0x1db)],this['_handler']);return _0x100341[_0x3796a3(0x200)](),_0x100341['_updateLocalCache'](),_0x100341;}[_0x2e5f4c(0x28a)](_0x19ec67){const _0x3ed7f0=_0x2e5f4c;return this[_0x3ed7f0(0x3f3)](!!(_0x19ec67!=null&&_0x19ec67[_0x3ed7f0(0x4c8)]));}['onRemoteRetry'](_0x17290c){const _0x47f669=_0x2e5f4c;return this[_0x47f669(0x561)]>_0x1929b6?this['toggleOffline']():(this[_0x47f669(0x22e)]=_0x2da4a8(this[_0x47f669(0x561)],{'timeout':this[_0x47f669(0x561)],'reqId':_0x17290c['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x540a5d,timeout:_0x57e3b5})=>{const _0x1f3f74=_0x47f669;this[_0x1f3f74(0x386)](_0x540a5d,_0x57e3b5);}),this);}['toggleOffline'](){const _0xb1f827=_0x2e5f4c;return this[_0xb1f827(0x471)](),this[_0xb1f827(0x3bf)][_0xb1f827(0x408)](_0x2741c7,this[_0xb1f827(0x145)],this[_0xb1f827(0x4c7)],this[_0xb1f827(0x19d)],this[_0xb1f827(0x1db)],this['_handler']);}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x547)](){const _0x3de931=_0x2e5f4c;this['_handler'][_0x3de931(0x2df)](this[_0x3de931(0x19d)]);}[_0x2e5f4c(0x3f3)](_0x54df46){const _0x1beb74=_0x2e5f4c;return this[_0x1beb74(0x471)](),this[_0x1beb74(0x3bf)]['createInstance'](_0x4a30e3,this[_0x1beb74(0x145)],this[_0x1beb74(0x4c7)],null,this[_0x1beb74(0x1db)],this['_handler'],_0x54df46);}[_0x2e5f4c(0x386)](_0xa3cd83,_0x499170){const _0x587a94=_0x2e5f4c;var _0x439106;_0xa3cd83===((_0x439106=this[_0x587a94(0x19d)])==null?void 0x0:_0x439106['reqId'])&&(this[_0x587a94(0x547)](),this['_resendTimeout']=_0x499170===0x0?0x3e8:_0x499170*0x2);}[_0x2e5f4c(0x471)](){const _0x56488b=_0x2e5f4c;var _0x3ba44f;(_0x3ba44f=this['_sender'])==null||_0x3ba44f[_0x56488b(0x423)](),this['_resendTimeout']=0x0;}};_0xdd4e93=_0x4b0fa8([_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x7,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x557)])),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0xa,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x2cf916(0xb,_0x57fec2[_0x2e5f4c(0x52d)]),_0x2cf916(0xc,_0x5dd71d[_0x2e5f4c(0x302)])],_0xdd4e93);let _0x4a30e3=class extends _0x24a855{constructor(_0x144323,_0x556058,_0x4288e8,_0x194d44,_0x44dfc8,_0x11cacf=!0x1,_0x49a559,_0x27b89d,_0x2b4430,_0x22f7db,_0x29429e,_0x2ea6b4,_0x2bf070){const _0x3f00c4=_0x2e5f4c;super(_0x144323,_0x556058,_0x4288e8,_0x194d44,_0x44dfc8,_0x27b89d,_0x2b4430,_0x29429e,_0x22f7db),_0x30b9f2(this,_0x3f00c4(0x24a),_0x3f00c4(0x488)),(this[_0x3f00c4(0x2cb)]=_0x11cacf,this[_0x3f00c4(0x26c)]=_0x49a559,this[_0x3f00c4(0x3f9)]=_0x2ea6b4,this['_notificationService']=_0x2bf070,this[_0x3f00c4(0x44e)](),this[_0x3f00c4(0x4d4)](),this['_disableEditing']());}[_0x2e5f4c(0x315)](){return this;}[_0x2e5f4c(0x3c9)](){return this;}[_0x2e5f4c(0x344)](){return this;}['onRemoteRej'](){return this;}[_0x2e5f4c(0x511)](){return this;}[_0x2e5f4c(0x352)](){return this;}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x547)](){const _0x160b77=_0x2e5f4c;throw new Error(_0x160b77(0x47c));}[_0x2e5f4c(0x4d4)](){const _0x539025=_0x2e5f4c;this[_0x539025(0x178)][_0x539025(0x397)](this['unitID'],this[_0x539025(0x4c7)],null,[]);}[_0x2e5f4c(0x44e)](){const _0x4f453b=_0x2e5f4c;this[_0x4f453b(0x2cb)]?this[_0x4f453b(0x54e)][_0x4f453b(0x4f2)]({'title':this[_0x4f453b(0x3f9)]['t'](_0x4f453b(0x43c)),'content':this['_localeService']['t']('permission.content'),'type':_0x4f453b(0x2ac),'duration':0x0}):this[_0x4f453b(0x54e)][_0x4f453b(0x4f2)]({'title':this[_0x4f453b(0x3f9)]['t']('conflict.title'),'content':this[_0x4f453b(0x3f9)]['t'](_0x4f453b(0x21c)),'type':_0x4f453b(0x2ac),'duration':0x0});}[_0x2e5f4c(0x1aa)](){const _0x21565f=_0x2e5f4c;this[_0x21565f(0x26c)][_0x21565f(0x2d6)](new _0x51fcfd[(_0x21565f(0x349))](this[_0x21565f(0x145)])['id'],!0x1);}};_0x4a30e3=_0x4b0fa8([_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['IPermissionService'])),_0x2cf916(0x7,_0x5dd71d['ICommandService']),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x302)]),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x2cf916(0xa,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2['RevisionService'])),_0x2cf916(0xb,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x23d)])),_0x2cf916(0xc,_0x43bf7d[_0x2e5f4c(0x174)])],_0x4a30e3);let _0x2741c7=class extends _0x24a855{constructor(_0x59c2da,_0x96cd53,_0x2da127,_0x7b4295,_0x3c4643,_0x5f41b6,_0x5a2910,_0x1e6d7d,_0x4f46cc,_0x553c9e){const _0x47db46=_0x2e5f4c;super(_0x59c2da,_0x96cd53,_0x2da127,_0x7b4295,_0x3c4643,_0x4f46cc,_0x553c9e,_0x5a2910,_0x1e6d7d),_0x30b9f2(this,_0x47db46(0x24a),'offline'),this[_0x47db46(0x3bf)]=_0x5f41b6;}[_0x2e5f4c(0x315)](_0x547b4e){const _0x5dc62e=_0x2e5f4c;return this[_0x5dc62e(0x1db)][_0x5dc62e(0x36b)](_0x547b4e),this[_0x5dc62e(0x32b)](),this;}[_0x2e5f4c(0x3c9)](_0x3ccb68){const _0x1da33f=_0x2e5f4c;throw new Error(_0x1da33f(0x2f8));}[_0x2e5f4c(0x344)](){const _0x4c22f0=_0x2e5f4c;throw new Error(_0x4c22f0(0x388));}[_0x2e5f4c(0x28a)](){const _0x241e78=_0x2e5f4c;throw new Error(_0x241e78(0x468));}[_0x2e5f4c(0x511)](){return this;}[_0x2e5f4c(0x352)](){return this;}[_0x2e5f4c(0x232)](){const _0x2c704f=_0x2e5f4c,{_injector:_0x3ae494,_pendingMutations:_0x122215,_awaitingChangeset:_0x300ee2,unitID:_0xab136,_handler:_0xdc6df9,type:_0x12c2e8}=this,_0x29ba18=_0x1e0599(_0x3ae494,_0xab136,_0x12c2e8,_0x300ee2,_0x122215,_0xdc6df9);return _0x29ba18 instanceof _0x13ad85?_0x29ba18[_0x2c704f(0x200)]():(_0x29ba18 instanceof _0xdd4e93||_0x29ba18 instanceof _0x5dbf59)&&_0x29ba18[_0x2c704f(0x547)](),_0x29ba18;}['resend'](){const _0x17dcff=_0x2e5f4c;throw new Error(_0x17dcff(0x4c9));}};_0x2741c7=_0x4b0fa8([_0x2cf916(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2['RevisionService'])),_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x302)])],_0x2741c7);let _0x3659b7=class extends _0x24a855{constructor(_0x2038fb,_0x339ac3,_0x508d3c,_0x516239,_0x36d5b5,_0x362b57,_0x4f4496,_0x73a06e,_0x129012,_0x338e9a,_0x2608bd,_0x2e171c,_0x466d76,_0x54c4de){const _0x60d634=_0x2e5f4c;super(_0x2038fb,_0x339ac3,_0x508d3c,_0x516239,_0x4f4496,_0x2e171c,_0x466d76,_0x129012,_0x338e9a),_0x30b9f2(this,'status',_0x60d634(0x4d8)),(this['_acknowledgedAwaitingChangeset']=_0x36d5b5,this[_0x60d634(0x236)]=_0x362b57,this[_0x60d634(0x3bf)]=_0x73a06e,this[_0x60d634(0x55b)]=_0x2608bd,this[_0x60d634(0x1a4)]=_0x54c4de);}[_0x2e5f4c(0x234)](_0x19a07f){const _0x307245=_0x2e5f4c;try{const _0x56d447=[..._0x19a07f,...this[_0x307245(0x236)]],_0x2fb2c4=[this[_0x307245(0x19d)]||this['_acknowledgedAwaitingChangeset']][_0x307245(0x293)](_0x44b8a0=>!!_0x44b8a0);let _0x2cdd75,_0x1477e9;if(_0x2fb2c4[_0x307245(0x310)]){const _0x4dd7f6=this['_transformService'][_0x307245(0x366)](_0x56d447,_0x2fb2c4,!0x1);if(!_0x57fec2[_0x307245(0x44f)](_0x4dd7f6))throw _0x4dd7f6['error'];_0x2cdd75=_0x4dd7f6[_0x307245(0x2af)],_0x1477e9=_0x4dd7f6['c2Prime'];}else _0x2cdd75=_0x56d447,_0x1477e9=[];let _0x4b3b3a=this['_pendingMutations'];_0x2cdd75[_0x307245(0x3e9)](_0x3640d1=>{const _0x2b0501=_0x307245;let _0x2f0ae9;if(_0x4b3b3a[_0x2b0501(0x310)]){const _0x1e0a18=this[_0x2b0501(0x1a4)][_0x2b0501(0x322)](_0x3640d1,_0x4b3b3a);if(!_0x57fec2[_0x2b0501(0x20e)](_0x1e0a18))throw _0x1e0a18['error'];_0x2f0ae9=_0x1e0a18[_0x2b0501(0x2af)],_0x4b3b3a=_0x1e0a18[_0x2b0501(0x453)];}else _0x2f0ae9=_0x3640d1;this[_0x2b0501(0x3ab)](_0x2f0ae9);}),this[_0x307245(0x225)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x1477e9[_0x307245(0x310)]&&(_0x1477e9[0x0][_0x307245(0x3e2)]=this[_0x307245(0x3c6)]());let _0x408748;if(this[_0x307245(0x19d)]&&_0x4b3b3a['length']!==0x0)_0x408748=this[_0x307245(0x3bf)][_0x307245(0x408)](_0xdd4e93,this[_0x307245(0x145)],this[_0x307245(0x4c7)],_0x1477e9[0x0],_0x4b3b3a,this[_0x307245(0x4f0)],void 0x0);else{if(this[_0x307245(0x19d)]&&_0x4b3b3a[_0x307245(0x310)]===0x0)_0x1477e9[0x0][_0x307245(0x3e2)]=this[_0x307245(0x3c6)](),_0x408748=this[_0x307245(0x3bf)][_0x307245(0x408)](_0x5dbf59,this[_0x307245(0x145)],this[_0x307245(0x4c7)],_0x1477e9[0x0],this[_0x307245(0x4f0)]);else{if(_0x4b3b3a[_0x307245(0x310)]!==0x0){const _0x4077ff=this[_0x307245(0x3bf)][_0x307245(0x408)](_0x13ad85,this[_0x307245(0x145)],this[_0x307245(0x4c7)],_0x4b3b3a,this[_0x307245(0x4f0)]);_0x4077ff[_0x307245(0x200)](),_0x408748=_0x4077ff;}else _0x408748=this['_injector'][_0x307245(0x408)](_0x274376,this[_0x307245(0x145)],this[_0x307245(0x4c7)],this[_0x307245(0x4f0)]);}}return _0x408748[_0x307245(0x32b)](),_0x408748;}catch(_0x3a3383){return this[_0x307245(0x55b)][_0x307245(0x2ac)](_0x307245(0x410),_0x307245(0x3bc),_0x3a3383),this[_0x307245(0x3bf)]['createInstance'](_0x4a30e3,this[_0x307245(0x145)],this[_0x307245(0x4c7)],this[_0x307245(0x19d)],this[_0x307245(0x1db)],this[_0x307245(0x4f0)],!0x1);}}['resend'](){const _0x568beb=_0x2e5f4c;throw new Error(_0x568beb(0x1cc));}[_0x2e5f4c(0x315)](_0x34ac9f){const _0xc239ae=_0x2e5f4c;return this[_0xc239ae(0x1db)][_0xc239ae(0x36b)](_0x34ac9f),this;}[_0x2e5f4c(0x3c9)](_0x67e113){const _0x483e65=_0x2e5f4c;return this[_0x483e65(0x236)]['push'](_0x67e113),this;}[_0x2e5f4c(0x344)](_0x321e55){const _0x59e747=_0x2e5f4c;if(this['_awaitingChangeset'])return this[_0x59e747(0x225)]=this[_0x59e747(0x19d)],this[_0x59e747(0x19d)]=null,this;throw new Error(_0x59e747(0x2a6));}['onRemoteRej'](_0x1a6156){return this['_onConflict'](!!(_0x1a6156!=null&&_0x1a6156['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2e5f4c(0x352)](){const _0x5caa94=_0x2e5f4c;return this[_0x5caa94(0x3bf)][_0x5caa94(0x408)](_0x2741c7,this['unitID'],this[_0x5caa94(0x4c7)],this[_0x5caa94(0x19d)],this['_pendingMutations'],this['_handler']);}[_0x2e5f4c(0x232)](){return this;}[_0x2e5f4c(0x3f3)](_0x5d093a){const _0x434249=_0x2e5f4c;return this['_injector']['createInstance'](_0x4a30e3,this[_0x434249(0x145)],this[_0x434249(0x4c7)],this[_0x434249(0x19d)],this[_0x434249(0x1db)],this[_0x434249(0x4f0)],_0x5d093a);}};_0x3659b7=_0x4b0fa8([_0x2cf916(0x7,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2cf916(0x8,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x19f)])),_0x2cf916(0x9,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x557)])),_0x2cf916(0xa,_0x5dd71d['ILogService']),_0x2cf916(0xb,_0x5dd71d[_0x2e5f4c(0x160)]),_0x2cf916(0xc,_0x5dd71d[_0x2e5f4c(0x302)]),_0x2cf916(0xd,_0x57fec2[_0x2e5f4c(0x52d)])],_0x3659b7);function _0x1e0599(_0x4747df,_0x21e299,_0x14b89b,_0x5cf85f,_0x3407c1,_0x2d83b4){const _0xa2c929=_0x2e5f4c;return _0x5cf85f&&_0x3407c1[_0xa2c929(0x310)]?_0x4747df['createInstance'](_0xdd4e93,_0x21e299,_0x14b89b,_0x5cf85f,_0x3407c1,_0x2d83b4,void 0x0):_0x5cf85f?_0x4747df[_0xa2c929(0x408)](_0x5dbf59,_0x21e299,_0x14b89b,_0x5cf85f,_0x2d83b4):_0x3407c1['length']?_0x4747df[_0xa2c929(0x408)](_0x13ad85,_0x21e299,_0x14b89b,_0x3407c1,_0x2d83b4):_0x4747df[_0xa2c929(0x408)](_0x274376,_0x21e299,_0x14b89b,_0x2d83b4);}var _0x4d6671=Object[_0x2e5f4c(0x2c2)],_0x487e39=Object[_0x2e5f4c(0x4b9)],_0x1ae4da=(_0x53c17a,_0x37eb55,_0x18dedd,_0x32c6e0)=>{const _0x8c47d2=_0x2e5f4c;for(var _0x11f734=_0x32c6e0>0x1?void 0x0:_0x32c6e0?_0x487e39(_0x37eb55,_0x18dedd):_0x37eb55,_0xb3ac7a=_0x53c17a[_0x8c47d2(0x310)]-0x1,_0x368176;_0xb3ac7a>=0x0;_0xb3ac7a--)(_0x368176=_0x53c17a[_0xb3ac7a])&&(_0x11f734=(_0x32c6e0?_0x368176(_0x37eb55,_0x18dedd,_0x11f734):_0x368176(_0x11f734))||_0x11f734);return _0x32c6e0&&_0x11f734&&_0x4d6671(_0x37eb55,_0x18dedd,_0x11f734),_0x11f734;},_0x3a5245=(_0x47b5d6,_0x50f6dd)=>(_0x179b05,_0x181a99)=>_0x50f6dd(_0x179b05,_0x181a99,_0x47b5d6);_0x5d9ca9[_0x2e5f4c(0x52b)]=class extends _0x5dd71d['RxDisposable']{constructor(_0x395d3f,_0x182026,_0x78523e,_0x3968af,_0x4199d9,_0x3af97d,_0x8e96a1,_0x18d840,_0x37a607,_0x1d5064,_0x809c55,_0x5c43bf,_0x513595){const _0x3089fb=_0x2e5f4c;super(),_0x30b9f2(this,_0x3089fb(0x208),new _0x1e8f3c[(_0x3089fb(0x3ca))](null)),_0x30b9f2(this,_0x3089fb(0x3ae),this[_0x3089fb(0x208)]['asObservable']()),_0x30b9f2(this,'_state'),_0x30b9f2(this,_0x3089fb(0x24f),!0x1),_0x30b9f2(this,_0x3089fb(0x52a),''),_0x30b9f2(this,'_changesetReqId',0x0),_0x30b9f2(this,'status$',this[_0x3089fb(0x3ae)][_0x3089fb(0x31d)](_0x1e8f3c[_0x3089fb(0x4c4)](_0x47b24b=>_0x47b24b?_0x47b24b['status']:_0x3cd2aa[_0x3089fb(0x2d7)]),_0x1e8f3c[_0x3089fb(0x3f7)](0x1))),_0x30b9f2(this,'_transitionLocked',!0x1),_0x30b9f2(this,_0x3089fb(0x18a),[]),(this['unitID']=_0x395d3f,this['session']=_0x182026,this[_0x3089fb(0x433)]=_0x78523e,this['_injector']=_0x3968af,this['_localCacheService']=_0x4199d9,this[_0x3089fb(0x422)]=_0x3af97d,this[_0x3089fb(0x3f9)]=_0x8e96a1,this[_0x3089fb(0x492)]=_0x18d840,this[_0x3089fb(0x55b)]=_0x37a607,this[_0x3089fb(0x2aa)]=_0x1d5064,this['_messageService']=_0x809c55,this['_permissionService']=_0x5c43bf,this[_0x3089fb(0x536)]=_0x513595);}get[_0x2e5f4c(0x266)](){const _0x2eb009=_0x2e5f4c;return this[_0x2eb009(0x464)];}async[_0x2e5f4c(0x176)](){const _0x4bf954=_0x2e5f4c;if(this[_0x4bf954(0x266)])throw new Error(_0x4bf954(0x265));await this[_0x4bf954(0x389)]();}['pauseCollaboration'](){const _0x4e88e8=_0x2e5f4c;return this[_0x4e88e8(0x24f)]=!0x0,_0x5dd71d[_0x4e88e8(0x377)](()=>{const _0x47ac01=_0x4e88e8;this[_0x47ac01(0x24f)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2e5f4c(0x55e)](_0x4f3393){const _0x3448ab=_0x2e5f4c;this[_0x3448ab(0x464)]=_0x4f3393,this[_0x3448ab(0x208)][_0x3448ab(0x228)](_0x4f3393);}async[_0x2e5f4c(0x389)](){const _0x365f00=_0x2e5f4c;var _0x35dd95;this[_0x365f00(0x55e)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x35dd95=this[_0x365f00(0x536)])==null||_0x35dd95[_0x365f00(0x31e)](this['unitID']),this[_0x365f00(0x360)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x365f00(0x145)])[_0x365f00(0x3ee)](_0x33c4ab=>{const _0x3c40f2=_0x365f00;this['_logService'][_0x3c40f2(0x1dd)](_0x3c40f2(0x1dc),'editing\x20status\x20changed\x20to',_0x33c4ab),_0x33c4ab===_0x417cca[_0x3c40f2(0x37b)]?(this['_messageService']['show']({'content':this[_0x3c40f2(0x3f9)]['t'](_0x3c40f2(0x3ad)),'type':_0x4fd8aa[_0x3c40f2(0x460)][_0x3c40f2(0x470)]}),this[_0x3c40f2(0x26c)][_0x3c40f2(0x2d6)](new _0x51fcfd[(_0x3c40f2(0x349))](this[_0x3c40f2(0x145)])['id'],!0x1)):this[_0x3c40f2(0x26c)][_0x3c40f2(0x2d6)](new _0x51fcfd[(_0x3c40f2(0x349))](this[_0x3c40f2(0x145)])['id'],!0x0);})));let _0x378d00=!0x1;return this[_0x365f00(0x360)](this['session'][_0x365f00(0x56d)]['subscribe'](_0xbc6388=>{const _0x531f5f=_0x365f00;_0xbc6388===_0x4add37[_0x531f5f(0x14e)]?this[_0x531f5f(0x21d)](_0x378d00):_0xbc6388===_0x4add37[_0x531f5f(0x2d7)]&&(_0x378d00=!0x0,this[_0x531f5f(0x281)]());})),this[_0x365f00(0x360)](this[_0x365f00(0x3d7)][_0x365f00(0x394)][_0x365f00(0x3ee)](_0x24d049=>{const _0x2a0491=_0x365f00;try{switch(_0x24d049['eventID']){case _0x57fec2[_0x2a0491(0x2ff)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x57fec2[_0x2a0491(0x202)](_0x24d049[_0x2a0491(0x51b)]));break;}case _0x57fec2[_0x2a0491(0x2ff)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x24d049['data']);break;}case _0x57fec2['CollaborationEvent'][_0x2a0491(0x553)]:{this[_0x2a0491(0x1a9)]();break;}case _0x57fec2[_0x2a0491(0x2ff)]['CHANGESET_SHOULD_RETRY']:{this[_0x2a0491(0x1d1)](_0x24d049[_0x2a0491(0x51b)]);break;}case _0x57fec2[_0x2a0491(0x2ff)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2a0491(0x452)](_0x24d049[_0x2a0491(0x51b)][_0x2a0491(0x53c)][_0x2a0491(0x4c4)](_0x11b863=>_0x57fec2[_0x2a0491(0x202)](_0x11b863)));break;}case _0x57fec2['CollaborationEvent']['PERMISSION_REJ']:this[_0x2a0491(0x1a9)]({'isPermissionRej':!0x0});}}catch(_0xe104f6){throw console['error']('Error\x20on\x20receiving\x20event',_0xe104f6),_0xe104f6;}})),this[_0x365f00(0x464)];}[_0x2e5f4c(0x1e0)](){this['_transitionLocked']=!0x1;}[_0x2e5f4c(0x239)](){const _0x32ee9a=_0x2e5f4c;if(this[_0x32ee9a(0x1b1)])throw new Error(_0x32ee9a(0x3d8));this[_0x32ee9a(0x1b1)]=!0x0;}[_0x2e5f4c(0x25a)](_0x3ebaa8){const _0x42f778=_0x2e5f4c;this[_0x42f778(0x239)](),this[_0x42f778(0x55e)](this[_0x42f778(0x464)][_0x42f778(0x315)](_0x3ebaa8)),this[_0x42f778(0x1e0)]();}[_0x2e5f4c(0x13e)](_0x50b46f){const _0x230669=_0x2e5f4c;if(!(_0x50b46f[_0x230669(0x292)]<=this[_0x230669(0x492)]['getCurrentRevOfUnit'](this[_0x230669(0x145)]))){if(this[_0x230669(0x24f)]){this['_remoteChangesetQueue'][_0x230669(0x36b)](_0x50b46f);return;}this[_0x230669(0x277)](_0x50b46f);}}[_0x2e5f4c(0x27d)](){const _0x5f224f=_0x2e5f4c;this['_remoteChangesetQueue'][_0x5f224f(0x3e9)](_0x42531c=>this['_applyRemoteChangeset'](_0x42531c)),this['_remoteChangesetQueue']=[];}[_0x2e5f4c(0x277)](_0x2888da){const _0x116a5b=_0x2e5f4c,_0x392dae=this[_0x116a5b(0x422)]['interceptor'][_0x116a5b(0x18c)](this[_0x116a5b(0x422)][_0x116a5b(0x55c)][_0x116a5b(0x3a5)]()[_0x116a5b(0x435)])(_0x2888da[_0x116a5b(0x273)],null)||_0x2888da[_0x116a5b(0x273)],_0x243c15={..._0x2888da,'mutations':_0x392dae};this[_0x116a5b(0x239)](),this[_0x116a5b(0x55e)](this[_0x116a5b(0x464)]['onRemoteChangeset'](_0x243c15)),this[_0x116a5b(0x1e0)]();}[_0x2e5f4c(0x1ad)](_0x522e7f){const _0xda15f1=_0x2e5f4c;this[_0xda15f1(0x239)](),this[_0xda15f1(0x55e)](this['_state']['onRemoteAck'](_0x522e7f)),this[_0xda15f1(0x1e0)]();}[_0x2e5f4c(0x1a9)](_0x51efc6){const _0x6f1186=_0x2e5f4c;this[_0x6f1186(0x239)](),this['_updateState'](this[_0x6f1186(0x464)][_0x6f1186(0x28a)](_0x51efc6)),this['_unlockTransition']();}[_0x2e5f4c(0x1d1)](_0x3f5798){const _0x4c59e6=_0x2e5f4c;this['_lockTransition'](),this[_0x4c59e6(0x55e)](this['_state'][_0x4c59e6(0x511)](_0x3f5798)),this[_0x4c59e6(0x1e0)]();}[_0x2e5f4c(0x452)](_0x539b5a){const _0x1fca3d=_0x2e5f4c;if(!(this[_0x1fca3d(0x464)]instanceof _0x3659b7))throw new TypeError(_0x1fca3d(0x39f));const _0x2fdba7=_0x539b5a[_0x1fca3d(0x4c4)](_0x5c9160=>{const _0x2cc9b0=_0x1fca3d,_0x519054=this[_0x2cc9b0(0x422)][_0x2cc9b0(0x55c)][_0x2cc9b0(0x18c)](this[_0x2cc9b0(0x422)][_0x2cc9b0(0x55c)][_0x2cc9b0(0x3a5)]()[_0x2cc9b0(0x435)])(_0x5c9160[_0x2cc9b0(0x273)],null)||_0x5c9160['mutations'];return{..._0x5c9160,'mutations':_0x519054};});this[_0x1fca3d(0x239)](),this[_0x1fca3d(0x55e)](this[_0x1fca3d(0x464)][_0x1fca3d(0x234)](_0x2fdba7)),this[_0x1fca3d(0x1e0)]();}[_0x2e5f4c(0x281)](){const _0x391cc6=_0x2e5f4c;this['_lockTransition'](),this[_0x391cc6(0x55e)](this[_0x391cc6(0x464)][_0x391cc6(0x352)]()),this[_0x391cc6(0x1e0)]();}[_0x2e5f4c(0x21d)](_0x42ae36=!0x1){const _0x9b7980=_0x2e5f4c;this[_0x9b7980(0x239)](),this[_0x9b7980(0x55e)](this[_0x9b7980(0x464)][_0x9b7980(0x232)]()),this[_0x9b7980(0x1e0)]();const _0x458cf1=this[_0x9b7980(0x464)];_0x42ae36&&_0x458cf1 instanceof _0x274376&&(this[_0x9b7980(0x239)](),this[_0x9b7980(0x55e)](_0x458cf1[_0x9b7980(0x1ef)]()),this[_0x9b7980(0x1e0)]());}async['_createInitialState'](){return new Promise(_0x5c73a5=>{const _0x264183=_0x9a79;this[_0x264183(0x3d7)]['sessionStatus$']['pipe'](_0x1e8f3c[_0x264183(0x338)](0x1))[_0x264183(0x3ee)](async _0x21ab5a=>{const _0x546d44=_0x264183;_0x5c73a5(await this['_createInitialStateImpl'](_0x21ab5a===_0x4add37[_0x546d44(0x14e)]));});});}[_0x2e5f4c(0x2ef)](){const _0xc34dd4=_0x2e5f4c,_0x4d86c8=this[_0xc34dd4(0x145)];return{'onStateChange':(_0x4dc2b0,_0x4175ec)=>{const _0x17f814=_0xc34dd4;if(_0x4dc2b0!==this[_0x17f814(0x464)])throw new Error(_0x17f814(0x378)+_0x4dc2b0[_0x17f814(0x24a)]+_0x17f814(0x23e)+_0x4175ec[_0x17f814(0x24a)]+_0x17f814(0x457)+this['_state']['status']);this['_updateState'](_0x4175ec);},'onSendChangeset':_0x5d3905=>{const _0x5459df=_0xc34dd4;_0x5d3905[_0x5459df(0x458)]||(_0x5d3905[_0x5459df(0x458)]=this[_0x5459df(0x52a)],_0x5d3905['reqId']=++this[_0x5459df(0x2d0)]);const _0x2986b7={'eventID':_0x57fec2[_0x5459df(0x2ff)][_0x5459df(0x158)],'data':{'unitID':_0x5d3905[_0x5459df(0x145)],'unitType':this['_type'],'changeset':_0x5d3905,'memberID':this[_0x5459df(0x3d7)][_0x5459df(0x290)]()}};this[_0x5459df(0x3d7)][_0x5459df(0x198)](_0x2986b7,this[_0x5459df(0x145)]);},'onMissingChangesets':({from:_0x56c5be,to:_0x6d7d15})=>{const _0x4f6cf6=_0xc34dd4;this[_0x4f6cf6(0x55b)]['debug'](_0x4f6cf6(0x1dc),_0x4f6cf6(0x2ce)+_0x56c5be+_0x4f6cf6(0x376)+_0x6d7d15);const _0x1f37bb={'eventID':_0x57fec2[_0x4f6cf6(0x2ff)][_0x4f6cf6(0x26b)],'data':{'unitID':_0x4d86c8,'unitType':this[_0x4f6cf6(0x433)],'from':_0x56c5be,'to':_0x6d7d15}};this['session'][_0x4f6cf6(0x198)](_0x1f37bb,this[_0x4f6cf6(0x145)]);}};}async[_0x2e5f4c(0x1e1)](_0x84a3aa){const _0x28969b=_0x2e5f4c;var _0x5631f2,_0x347dd3;const _0xd4f500=await this[_0x28969b(0x178)][_0x28969b(0x1c2)](this['unitID']),_0x3fdbb3=(_0x5631f2=_0xd4f500==null?void 0x0:_0xd4f500['mutations'])!=null?_0x5631f2:[],_0x1f6904=(_0x347dd3=_0xd4f500==null?void 0x0:_0xd4f500[_0x28969b(0x4c2)])!=null?_0x347dd3:null,_0x32fd74=!!(_0x1f6904!=null&&_0x1f6904[_0x28969b(0x458)])&&!!(_0x1f6904!=null&&_0x1f6904[_0x28969b(0x1ca)]);this[_0x28969b(0x52a)]=_0x32fd74?_0x1f6904[_0x28969b(0x458)]:_0x4e2978(),this[_0x28969b(0x2d0)]=_0x32fd74?_0x1f6904[_0x28969b(0x1ca)]:0x0;const _0x340d4e=this[_0x28969b(0x145)];try{this[_0x28969b(0x43f)](_0x1f6904,_0x3fdbb3);}catch(_0x16b3e9){this[_0x28969b(0x55b)][_0x28969b(0x2ac)](_0x16b3e9);}const _0x2feb39=this['_createHandler']();if(_0x84a3aa){const _0x1ce6ec=_0x1e0599(this['_injector'],_0x340d4e,this[_0x28969b(0x433)],_0x1f6904,_0x3fdbb3,_0x2feb39);return _0x1ce6ec instanceof _0x13ad85?_0x1ce6ec['_schedule']():(_0x1ce6ec instanceof _0xdd4e93||_0x1ce6ec instanceof _0x5dbf59)&&_0x1ce6ec[_0x28969b(0x547)](),_0x1ce6ec;}return this['_injector'][_0x28969b(0x408)](_0x2741c7,_0x340d4e,this[_0x28969b(0x433)],_0x1f6904,_0x3fdbb3,_0x2feb39);}['_replayCachedMutations'](_0xb6f701,_0x368ec9){const _0x20a6ea=_0x2e5f4c;var _0xec8359,_0x15670c;const _0x5f251b=this[_0x20a6ea(0x422)][_0x20a6ea(0x55c)][_0x20a6ea(0x18c)](this[_0x20a6ea(0x422)]['interceptor']['getInterceptPoints']()[_0x20a6ea(0x435)]);(_0xec8359=_0x5f251b((_0xb6f701==null?void 0x0:_0xb6f701['mutations'])||[],null))==null||_0xec8359[_0x20a6ea(0x3e9)](_0x2994b7=>this[_0x20a6ea(0x2aa)][_0x20a6ea(0x21a)](_0x2994b7['id'],_0x2994b7['params'])),(_0x15670c=_0x5f251b(_0x368ec9||[],null))==null||_0x15670c[_0x20a6ea(0x3e9)](_0x1346d4=>this[_0x20a6ea(0x2aa)]['executeCommand'](_0x1346d4['id'],_0x1346d4[_0x20a6ea(0x484)]));}},_0x5d9ca9['CollaborationEntity']=_0x1ae4da([_0x3a5245(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['Injector'])),_0x3a5245(0x4,_0x5dd71d['Inject'](_0x5d9ca9['LocalCacheService'])),_0x3a5245(0x5,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x215)])),_0x3a5245(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['LocaleService'])),_0x3a5245(0x7,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x3a5245(0x8,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x3a5245(0x9,_0x5dd71d[_0x2e5f4c(0x160)]),_0x3a5245(0xa,_0x43bf7d[_0x2e5f4c(0x358)]),_0x3a5245(0xb,_0x5dd71d[_0x2e5f4c(0x4fa)]),_0x3a5245(0xc,_0x5dd71d[_0x2e5f4c(0x476)](_0x3ed5e0))],_0x5d9ca9[_0x2e5f4c(0x52b)]),_0x5d9ca9[_0x2e5f4c(0x21e)]=class extends _0x5d9ca9[_0x2e5f4c(0x52b)]{constructor(_0x37bea5,_0x434dbb,_0x18a869,_0x2c3d10,_0x41eaab,_0xd14620,_0x1fb0ca,_0x5400ec,_0x217e2f,_0x4195d3,_0x54f73e,_0x2b933d,_0x5d7bc8,_0x280893,_0x5784be,_0x109353,_0x40271b){const _0x552098=_0x2e5f4c;super(_0x37bea5,_0x18a869,_0x434dbb,_0x2c3d10,_0x41eaab,_0xd14620,_0x1fb0ca,_0x5400ec,_0x5d7bc8,_0x280893,_0x5784be,_0x109353,_0x40271b),this[_0x552098(0x145)]=_0x37bea5,this['type']=_0x434dbb,this[_0x552098(0x2d8)]=_0x217e2f,this[_0x552098(0x1e7)]=_0x4195d3,this[_0x552098(0x522)]=_0x54f73e,this['_docSyncEditingCollabCursorService']=_0x2b933d;}[_0x2e5f4c(0x2ef)](){const _0x33c809=_0x2e5f4c,_0x748d81=super['_createHandler']();return _0x748d81[_0x33c809(0x489)]=_0x3ea336=>this[_0x33c809(0x1e7)][_0x33c809(0x384)](_0x3ea336),_0x748d81[_0x33c809(0x3b4)]=_0x21dce8=>this[_0x33c809(0x522)]['transformSelections'](_0x21dce8),_0x748d81['onSyncEditingCollabCursor']=_0x3f334b=>this[_0x33c809(0x55d)][_0x33c809(0x52f)](_0x3f334b),_0x748d81['onTransformRemoteChangesetByIMECache']=_0x48ecf6=>this[_0x33c809(0x1e7)]['transformRemoteChangeset'](_0x48ecf6),_0x748d81;}async['_init'](){const _0x3da8c4=_0x2e5f4c,_0x1b739e=await super[_0x3da8c4(0x389)]();return this[_0x3da8c4(0x2d8)][_0x3da8c4(0x308)][_0x3da8c4(0x31d)](_0x1e8f3c[_0x3da8c4(0x16c)](this['dispose$']))[_0x3da8c4(0x3ee)](_0x274bc8=>{const _0x209630=_0x3da8c4;if(_0x274bc8==null)return;const {unitId:_0x54f9f2,redoState:_0x6887d2,commandId:_0xffc0fe}=_0x274bc8;if(_0x54f9f2!==this[_0x209630(0x145)])return;const _0x1e025f={'id':_0xffc0fe,'type':_0x5dd71d[_0x209630(0x29f)][_0x209630(0x2c4)],'params':{'unitId':_0x54f9f2,'actions':_0x6887d2['actions'],'textRanges':null}};this[_0x209630(0x25a)](_0x1e025f);}),_0x1b739e;}},_0x5d9ca9[_0x2e5f4c(0x21e)]=_0x1ae4da([_0x3a5245(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x3a5245(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x3a5245(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x215)])),_0x3a5245(0x6,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['LocaleService'])),_0x3a5245(0x7,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x3a5245(0x8,_0x5dd71d[_0x2e5f4c(0x391)](_0x1e1fad[_0x2e5f4c(0x550)])),_0x3a5245(0x9,_0x5dd71d[_0x2e5f4c(0x391)](_0x4979f6)),_0x3a5245(0xa,_0x5dd71d[_0x2e5f4c(0x391)](_0x54ffaf)),_0x3a5245(0xb,_0x5dd71d[_0x2e5f4c(0x391)](_0x55fe8c)),_0x3a5245(0xc,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x3a5245(0xd,_0x5dd71d['ICommandService']),_0x3a5245(0xe,_0x43bf7d[_0x2e5f4c(0x358)]),_0x3a5245(0xf,_0x5dd71d['IPermissionService']),_0x3a5245(0x10,_0x5dd71d['Optional'](_0x3ed5e0))],_0x5d9ca9[_0x2e5f4c(0x21e)]),_0x5d9ca9[_0x2e5f4c(0x40e)]=class extends _0x5d9ca9[_0x2e5f4c(0x52b)]{constructor(_0x2aa240,_0x203217,_0xfe5c88,_0x499388,_0x43eb69,_0x2d4fa7,_0x1ee22b,_0x5b9408,_0x406ef6,_0x19f982,_0x4d3637,_0x273856,_0x24e85f,_0x441948){const _0x339031=_0x2e5f4c;super(_0x2aa240,_0xfe5c88,_0x203217,_0x499388,_0x43eb69,_0x2d4fa7,_0x1ee22b,_0x5b9408,_0x19f982,_0x4d3637,_0x273856,_0x24e85f,_0x441948),this[_0x339031(0x145)]=_0x2aa240,this[_0x339031(0x4c7)]=_0x203217,this[_0x339031(0x4df)]=_0x406ef6;}[_0x2e5f4c(0x2ef)](){const _0x1bb578=_0x2e5f4c,_0x2c94ae=super[_0x1bb578(0x2ef)]();return _0x2c94ae[_0x1bb578(0x3b4)]=_0x365cc9=>this['_sheetTransformSelectionsService'][_0x1bb578(0x51c)](_0x365cc9),_0x2c94ae;}async[_0x2e5f4c(0x389)](){const _0x4c9ae1=_0x2e5f4c,_0x52db82=await super['_init']();return this['disposeWithMe'](this[_0x4c9ae1(0x2aa)][_0x4c9ae1(0x257)]((_0x532fcf,_0x5a9220)=>{const _0x842b90=_0x4c9ae1;if(_0x532fcf[_0x842b90(0x4c7)]!==_0x5dd71d[_0x842b90(0x29f)][_0x842b90(0x2c4)]||_0x5a9220!=null&&_0x5a9220[_0x842b90(0x2a5)]||_0x5a9220!=null&&_0x5a9220[_0x842b90(0x3de)])return;const _0x47aeba=_0x532fcf[_0x842b90(0x484)];if((_0x47aeba==null?void 0x0:_0x47aeba[_0x842b90(0x183)])!==this['unitID'])return;const _0x1ecd37=_0x532fcf,_0x1d078=this['_compressMutationService'][_0x842b90(0x55c)][_0x842b90(0x18c)](this[_0x842b90(0x422)]['interceptor'][_0x842b90(0x3a5)]()[_0x842b90(0x15d)])([_0x1ecd37],null)||[_0x1ecd37];this[_0x842b90(0x25a)](_0x1d078[0x0]);})),_0x52db82;}},_0x5d9ca9[_0x2e5f4c(0x40e)]=_0x1ae4da([_0x3a5245(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x3a5245(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x3a5245(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x215)])),_0x3a5245(0x6,_0x5dd71d['Inject'](_0x5dd71d['LocaleService'])),_0x3a5245(0x7,_0x5dd71d['Inject'](_0x57fec2[_0x2e5f4c(0x19f)])),_0x3a5245(0x8,_0x5dd71d['Inject'](_0x1c7bc3)),_0x3a5245(0x9,_0x5dd71d['ILogService']),_0x3a5245(0xa,_0x5dd71d[_0x2e5f4c(0x160)]),_0x3a5245(0xb,_0x43bf7d[_0x2e5f4c(0x358)]),_0x3a5245(0xc,_0x5dd71d[_0x2e5f4c(0x4fa)]),_0x3a5245(0xd,_0x5dd71d[_0x2e5f4c(0x476)](_0x3ed5e0))],_0x5d9ca9[_0x2e5f4c(0x40e)]);var _0x42e978=Object[_0x2e5f4c(0x2c2)],_0x2c7a84=Object['getOwnPropertyDescriptor'],_0x1d0460=(_0x17139d,_0x231591,_0x329fbb,_0x424183)=>{const _0xa48874=_0x2e5f4c;for(var _0x51a105=_0x424183>0x1?void 0x0:_0x424183?_0x2c7a84(_0x231591,_0x329fbb):_0x231591,_0x35fece=_0x17139d[_0xa48874(0x310)]-0x1,_0x1d873b;_0x35fece>=0x0;_0x35fece--)(_0x1d873b=_0x17139d[_0x35fece])&&(_0x51a105=(_0x424183?_0x1d873b(_0x231591,_0x329fbb,_0x51a105):_0x1d873b(_0x51a105))||_0x51a105);return _0x424183&&_0x51a105&&_0x42e978(_0x231591,_0x329fbb,_0x51a105),_0x51a105;},_0x1e623c=(_0x214672,_0x1c25e8)=>(_0x2b1cc4,_0x25d1cc)=>_0x1c25e8(_0x2b1cc4,_0x25d1cc,_0x214672);_0x5d9ca9[_0x2e5f4c(0x548)]=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x2c7ab2,_0x50975c,_0x5d596b){const _0x1218d1=_0x2e5f4c;super(),_0x30b9f2(this,_0x1218d1(0x33f),new Map()),_0x30b9f2(this,_0x1218d1(0x318),new _0x1e8f3c[(_0x1218d1(0x2d3))]()),(this[_0x1218d1(0x3bf)]=_0x2c7ab2,this[_0x1218d1(0x1d6)]=_0x50975c,this[_0x1218d1(0x546)]=_0x5d596b,this[_0x1218d1(0x389)]());}[_0x2e5f4c(0x32d)](){const _0x60b695=_0x2e5f4c;super[_0x60b695(0x32d)](),this[_0x60b695(0x33f)]['forEach'](_0x2dc509=>_0x2dc509[_0x60b695(0x32d)]()),this[_0x60b695(0x33f)][_0x60b695(0x188)]();}[_0x2e5f4c(0x558)](_0x4ab8fb){const _0xdd1bad=_0x2e5f4c;var _0x148961;return(_0x148961=this[_0xdd1bad(0x33f)]['get'](_0x4ab8fb))!=null?_0x148961:null;}[_0x2e5f4c(0x3b9)](_0x4f9a05){const _0x2a3558=_0x2e5f4c,_0x544194=this[_0x2a3558(0x558)](_0x4f9a05);return _0x544194?_0x1e8f3c['of'](_0x544194):this[_0x2a3558(0x318)][_0x2a3558(0x31d)](_0x58074b['filter'](_0x34837f=>_0x34837f[_0x2a3558(0x145)]===_0x4f9a05));}['_init'](){const _0x585167=_0x2e5f4c;this[_0x585167(0x546)][_0x585167(0x480)](_0x5dd71d[_0x585167(0x14d)][_0x585167(0x530)])['pipe'](_0x1e8f3c[_0x585167(0x16c)](this[_0x585167(0x487)]),_0x58074b[_0x585167(0x440)](0x10))[_0x585167(0x3ee)](async _0x95537e=>{const _0x3e31e1=_0x585167,_0x15fdde=_0x95537e[_0x3e31e1(0x29e)](),_0x27c624=await this[_0x3e31e1(0x3a7)](_0x15fdde,_0x17bbb0[_0x3e31e1(0x530)]);this[_0x3e31e1(0x33f)][_0x3e31e1(0x246)](_0x15fdde,_0x27c624);}),this[_0x585167(0x546)][_0x585167(0x480)](_0x5dd71d[_0x585167(0x14d)][_0x585167(0x4de)])['pipe'](_0x1e8f3c[_0x585167(0x16c)](this[_0x585167(0x487)]),_0x58074b[_0x585167(0x440)](0x10))['pipe'](_0x58074b[_0x585167(0x293)](_0x2e4619=>!_0x2e4619[_0x585167(0x29e)]()[_0x585167(0x31c)]('__')))[_0x585167(0x3ee)](async _0x12bc62=>{const _0x14fed8=_0x585167,_0x3dcb67=_0x12bc62[_0x14fed8(0x29e)](),_0x4aa8cb=await this[_0x14fed8(0x3a7)](_0x3dcb67,_0x17bbb0[_0x14fed8(0x4de)]);this[_0x14fed8(0x33f)][_0x14fed8(0x246)](_0x3dcb67,_0x4aa8cb);}),_0x1e8f3c['merge'](this[_0x585167(0x546)][_0x585167(0x180)](_0x5dd71d[_0x585167(0x14d)][_0x585167(0x530)]),this[_0x585167(0x546)][_0x585167(0x180)](_0x5dd71d[_0x585167(0x14d)][_0x585167(0x4de)]))[_0x585167(0x31d)](_0x1e8f3c[_0x585167(0x16c)](this[_0x585167(0x487)]))[_0x585167(0x3ee)](_0x22da10=>{const _0xe590b3=_0x585167,_0x5098d7=_0x22da10['getUnitId'](),_0xca818c=this[_0xe590b3(0x33f)]['get'](_0x5098d7);_0xca818c&&(_0xca818c[_0xe590b3(0x32d)](),this['_entities']['delete'](_0x5098d7));});}async['_startCollaboration'](_0x528919,_0x54303c){const _0x5a7771=_0x2e5f4c,_0x563d25=await this[_0x5a7771(0x1d6)]['requireSession'](_0x528919),_0x1600b6=this[_0x5a7771(0x3bf)][_0x5a7771(0x408)](this[_0x5a7771(0x190)](_0x54303c),_0x528919,_0x54303c,_0x563d25);return await _0x1600b6[_0x5a7771(0x176)](),this[_0x5a7771(0x318)][_0x5a7771(0x228)](_0x1600b6),_0x1600b6;}[_0x2e5f4c(0x190)](_0x35f464){const _0x5ac141=_0x2e5f4c;switch(_0x35f464){case _0x17bbb0[_0x5ac141(0x4de)]:return _0x5d9ca9[_0x5ac141(0x21e)];case _0x17bbb0[_0x5ac141(0x530)]:return _0x5d9ca9[_0x5ac141(0x40e)];default:throw new Error(_0x5ac141(0x2b0)+_0x35f464);}}},_0x5d9ca9[_0x2e5f4c(0x548)]=_0x1d0460([_0x1e623c(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x1e623c(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9[_0x2e5f4c(0x4cb)])),_0x1e623c(0x2,_0x5dd71d['IUniverInstanceService'])],_0x5d9ca9[_0x2e5f4c(0x548)]);const _0x261de5=['purple300',_0x2e5f4c(0x367),_0x2e5f4c(0x390),_0x2e5f4c(0x17a),_0x2e5f4c(0x562),_0x2e5f4c(0x3b5)];class _0x5491d3 extends _0x5dd71d['Disposable']{constructor(){const _0x319a7b=_0x2e5f4c;super(...arguments),_0x30b9f2(this,_0x319a7b(0x385),new Map()),_0x30b9f2(this,_0x319a7b(0x444),0x0);}[_0x2e5f4c(0x501)](_0x3b1b1f){const _0x5d0256=_0x2e5f4c;if(this['_assignedColors']['has'](_0x3b1b1f))return this[_0x5d0256(0x385)][_0x5d0256(0x578)](_0x3b1b1f);const _0x51bc87=_0x261de5[this[_0x5d0256(0x444)]];return this[_0x5d0256(0x444)]=(this['_colorIndex']+0x1)%_0x261de5[_0x5d0256(0x310)],this[_0x5d0256(0x385)]['set'](_0x3b1b1f,_0x51bc87),_0x51bc87;}}var _0x2a9e52=Object[_0x2e5f4c(0x2c2)],_0x4b2ce3=Object[_0x2e5f4c(0x4b9)],_0x251757=(_0x4ddd33,_0x53d23d,_0x301405,_0x38aff2)=>{for(var _0x5e913c=_0x38aff2>0x1?void 0x0:_0x38aff2?_0x4b2ce3(_0x53d23d,_0x301405):_0x53d23d,_0x3cffb6=_0x4ddd33['length']-0x1,_0x15a9fd;_0x3cffb6>=0x0;_0x3cffb6--)(_0x15a9fd=_0x4ddd33[_0x3cffb6])&&(_0x5e913c=(_0x38aff2?_0x15a9fd(_0x53d23d,_0x301405,_0x5e913c):_0x15a9fd(_0x5e913c))||_0x5e913c);return _0x38aff2&&_0x5e913c&&_0x2a9e52(_0x53d23d,_0x301405,_0x5e913c),_0x5e913c;},_0x299822=(_0xfc5162,_0x1087cb)=>(_0x29345f,_0x374d2c)=>_0x1087cb(_0x29345f,_0x374d2c,_0xfc5162);const _0x1255c3=0x12c,_0x3302ed=0x64;let _0x33bad2=class extends _0x5dd71d['RxDisposable']{constructor(_0x4b18a6,_0x451d9d,_0x3c55cf,_0x470f3f,_0x39582b,_0x3288e2,_0xc7b916,_0x468b2d,_0x182c84){const _0x1e8ddf=_0x2e5f4c;super(),_0x30b9f2(this,_0x1e8ddf(0x1a0),!0x1),_0x30b9f2(this,'_init',!0x1),_0x30b9f2(this,_0x1e8ddf(0x28f),new _0x1e8f3c[(_0x1e8ddf(0x3ca))](new Map())),_0x30b9f2(this,_0x1e8ddf(0x40c),this[_0x1e8ddf(0x28f)][_0x1e8ddf(0x1be)]()),_0x30b9f2(this,_0x1e8ddf(0x48c),new _0x1e8f3c[(_0x1e8ddf(0x3ca))]([])),_0x30b9f2(this,_0x1e8ddf(0x3d1),this[_0x1e8ddf(0x48c)][_0x1e8ddf(0x31d)](_0x1e8f3c['debounceTime'](_0x1255c3))),_0x30b9f2(this,_0x1e8ddf(0x2db),_0x5dd71d[_0x1e8ddf(0x314)](_0xbb3797=>{const _0x11893d=_0x1e8ddf,_0x56ff86={'eventID':_0x57fec2[_0x11893d(0x2ff)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x11893d(0x145)],'memberID':this[_0x11893d(0x40b)][_0x11893d(0x290)](),'selection':_0x2e04c1(_0xbb3797)}};this[_0x11893d(0x40b)][_0x11893d(0x198)](_0x56ff86,this[_0x11893d(0x145)]);},_0x3302ed)),(this['unitID']=_0x4b18a6,this[_0x1e8ddf(0x40b)]=_0x451d9d,this[_0x1e8ddf(0x3bf)]=_0x3c55cf,this[_0x1e8ddf(0x4b5)]=_0x470f3f,this[_0x1e8ddf(0x2bd)]=_0x39582b,this[_0x1e8ddf(0x13f)]=_0x3288e2,this['_transformService']=_0xc7b916,this[_0x1e8ddf(0x546)]=_0x468b2d,this[_0x1e8ddf(0x2aa)]=_0x182c84);}get[_0x2e5f4c(0x51f)](){const _0x459499=_0x2e5f4c;return this[_0x459499(0x28f)][_0x459499(0x521)]();}get[_0x2e5f4c(0x4e2)](){const _0x24b8f2=_0x2e5f4c;return this[_0x24b8f2(0x48c)][_0x24b8f2(0x521)]();}['dispose'](){const _0x7549b5=_0x2e5f4c;super[_0x7549b5(0x32d)](),this['_cursorInfo$'][_0x7549b5(0x228)](new Map()),this[_0x7549b5(0x28f)][_0x7549b5(0x170)](),this[_0x7549b5(0x48c)][_0x7549b5(0x228)]([]),this[_0x7549b5(0x48c)]['complete']();}[_0x2e5f4c(0x176)](){const _0x1a7352=_0x2e5f4c;this[_0x1a7352(0x389)]||(this[_0x1a7352(0x389)]=!0x0,this['_session']['sessionStatus$'][_0x1a7352(0x31d)](_0x1e8f3c['takeUntil'](this[_0x1a7352(0x487)]))[_0x1a7352(0x3ee)](_0x33a575=>{const _0x23eefc=_0x1a7352;_0x33a575===_0x4add37[_0x23eefc(0x14e)]?this[_0x23eefc(0x21d)]():this[_0x23eefc(0x281)]();}),this[_0x1a7352(0x40b)][_0x1a7352(0x394)][_0x1a7352(0x31d)](_0x1e8f3c[_0x1a7352(0x16c)](this[_0x1a7352(0x487)]))[_0x1a7352(0x3ee)](_0x1f40dd=>{const _0xb6448e=_0x1a7352,_0x5f533e=_0x1f40dd['eventID'];_0x5f533e===_0x57fec2[_0xb6448e(0x2ff)][_0xb6448e(0x235)]&&this[_0xb6448e(0x45d)](_0x1f40dd),_0x5f533e===_0x57fec2[_0xb6448e(0x2ff)]['USERS_LEAVE']&&this[_0xb6448e(0x271)](_0x1f40dd);}),this[_0x1a7352(0x360)](this['_commandService'][_0x1a7352(0x257)](_0xdd4762=>{const _0x338c99=_0x1a7352,_0xbf2217=_0xdd4762[_0x338c99(0x484)];_0xbf2217!=null&&this[_0x338c99(0x1a0)]&&_0xdd4762['id']===_0x4c83d7[_0x338c99(0x429)]['id']&&_0xbf2217[_0x338c99(0x183)]===this[_0x338c99(0x145)]&&_0xbf2217[_0x338c99(0x2e2)]===!0x1&&this[_0x338c99(0x2db)](_0xbf2217[_0x338c99(0x456)]);})),this[_0x1a7352(0x13f)][_0x1a7352(0x251)]['pipe'](_0x1e8f3c[_0x1a7352(0x16c)](this[_0x1a7352(0x487)]))['subscribe'](_0x2b9199=>{const _0x70cd10=_0x1a7352;if((_0x2b9199==null?void 0x0:_0x2b9199[_0x70cd10(0x145)])!==this['unitID'])return;const _0xad3d90={'eventID':_0x57fec2[_0x70cd10(0x2ff)][_0x70cd10(0x235)],'data':_0x2b9199};this[_0x70cd10(0x45d)](_0xad3d90);}),this[_0x1a7352(0x360)](this[_0x1a7352(0x2aa)]['onCommandExecuted'](_0x516ad7=>{const _0x4f2458=_0x1a7352;if(_0x516ad7[_0x4f2458(0x484)]==null)return;const _0x452f22=_0x516ad7['params'];if(_0x516ad7['id']!==_0x4c83d7[_0x4f2458(0x22a)]['id']||_0x452f22[_0x4f2458(0x183)]!==this[_0x4f2458(0x145)])return;const _0x42a652={'id':_0x4f2458(0x499),'params':_0x452f22},_0x3df5ee=this['cursorInfo'];for(const [_0x394ed6,_0x56f1e6]of _0x3df5ee){const _0x3a6ec8={'id':_0x4f2458(0x499),'params':{'unitId':this[_0x4f2458(0x145)],'actions':null,'textRanges':_0x56f1e6[_0x4f2458(0x456)]}},_0x21c9cc=this['_transformService'][_0x4f2458(0x4a7)](_0x42a652,_0x3a6ec8,!0x1);if(_0x57fec2[_0x4f2458(0x230)](_0x21c9cc))throw _0x21c9cc['error'];_0x3df5ee[_0x4f2458(0x246)](_0x394ed6,{..._0x56f1e6,'ranges':_0x21c9cc[_0x4f2458(0x453)][_0x4f2458(0x484)][_0x4f2458(0x1a2)]});}queueMicrotask(()=>{const _0x1525a8=_0x4f2458;this[_0x1525a8(0x28f)][_0x1525a8(0x228)](_0x3df5ee);});})));}[_0x2e5f4c(0x45d)](_0x129199){const _0x126fcc=_0x2e5f4c;var _0x23ebcf,_0x4218a8;const {memberID:_0x362ec7,selection:_0xa513b9}=_0x129199[_0x126fcc(0x51b)],_0x1909e9=_0x4787e5(_0xa513b9),_0x4e499a=(_0x4218a8=(_0x23ebcf=this[_0x126fcc(0x2bd)][_0x126fcc(0x233)](this[_0x126fcc(0x145)],_0x362ec7))==null?void 0x0:_0x23ebcf['name'])!=null?_0x4218a8:'Unknown\x20user',_0x3ac0a7={'color':this[_0x126fcc(0x4b5)]['assignAColorForMemberID'](_0x362ec7),'name':_0x4e499a,'ranges':_0x1909e9},_0xc05c71=this[_0x126fcc(0x51f)];_0xc05c71[_0x126fcc(0x246)](_0x362ec7,_0x3ac0a7),this['_cursorInfo$'][_0x126fcc(0x228)](_0xc05c71);}['_onCursorDelete'](_0x13050c){const _0x274bf6=_0x2e5f4c,{memberID:_0x1109de}=_0x13050c[_0x274bf6(0x51b)],_0x4c54bf=this[_0x274bf6(0x51f)];_0x4c54bf['delete'](_0x1109de),this[_0x274bf6(0x28f)][_0x274bf6(0x228)](_0x4c54bf);}[_0x2e5f4c(0x21d)](){const _0x1d6b3c=_0x2e5f4c;var _0x1fc2c8;if(this[_0x1d6b3c(0x1a0)]=!0x0,((_0x1fc2c8=this[_0x1d6b3c(0x546)]['getFocusedUnit']())==null?void 0x0:_0x1fc2c8[_0x1d6b3c(0x29e)]())!==this[_0x1d6b3c(0x145)])return;const _0x398d5e=this['_injector'][_0x1d6b3c(0x578)](_0x4c83d7[_0x1d6b3c(0x46c)])[_0x1d6b3c(0x139)]();Array[_0x1d6b3c(0x241)](_0x398d5e)&&_0x398d5e[_0x1d6b3c(0x310)]>0x0&&this[_0x1d6b3c(0x2db)](_0x398d5e);}[_0x2e5f4c(0x281)](){this['_online']=!0x1;}};_0x33bad2=_0x251757([_0x299822(0x2,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x299822(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5491d3)),_0x299822(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x266f31)),_0x299822(0x5,_0x5dd71d[_0x2e5f4c(0x391)](_0x55fe8c)),_0x299822(0x6,_0x57fec2[_0x2e5f4c(0x52d)]),_0x299822(0x7,_0x5dd71d[_0x2e5f4c(0x373)]),_0x299822(0x8,_0x5dd71d[_0x2e5f4c(0x160)])],_0x33bad2);var _0x14800a=Object[_0x2e5f4c(0x2c2)],_0x36fbd4=Object[_0x2e5f4c(0x4b9)],_0x6bd44b=(_0x33b129,_0x55f834,_0xb523da,_0x44e87b)=>{const _0x3e2b2e=_0x2e5f4c;for(var _0x547f1d=_0x44e87b>0x1?void 0x0:_0x44e87b?_0x36fbd4(_0x55f834,_0xb523da):_0x55f834,_0x3f2272=_0x33b129[_0x3e2b2e(0x310)]-0x1,_0x23f73b;_0x3f2272>=0x0;_0x3f2272--)(_0x23f73b=_0x33b129[_0x3f2272])&&(_0x547f1d=(_0x44e87b?_0x23f73b(_0x55f834,_0xb523da,_0x547f1d):_0x23f73b(_0x547f1d))||_0x547f1d);return _0x44e87b&&_0x547f1d&&_0x14800a(_0x55f834,_0xb523da,_0x547f1d),_0x547f1d;},_0x3d942f=(_0x587049,_0x1b1128)=>(_0x50627a,_0x12bba8)=>_0x1b1128(_0x50627a,_0x12bba8,_0x587049);const _0x1451b4=0x12c,_0x30f08e=0x64,_0x189438=()=>{let _0x4f086c=[],_0x53e525=!0x1;return _0x3f56c5=>{const _0x52f79c=_0x9a79;_0x4f086c[_0x52f79c(0x36b)](_0x3f56c5),_0x53e525||(_0x53e525=!0x0,setTimeout(()=>{const _0xa5397=_0x52f79c;_0x4f086c[_0xa5397(0x3e9)](_0x15ce0b=>_0x15ce0b()),_0x4f086c=[],_0x53e525=!0x1;}));};};let _0x55c3b8=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x31cf91,_0x2f94ca,_0x318596,_0x355886,_0x3a36b0,_0x5aa059,_0x3604fb,_0x4f9c5e){const _0xd8676d=_0x2e5f4c;super(),_0x30b9f2(this,_0xd8676d(0x1a0),!0x1),_0x30b9f2(this,'_init',!0x1),_0x30b9f2(this,_0xd8676d(0x28f),new _0x1e8f3c[(_0xd8676d(0x3ca))](new Map())),_0x30b9f2(this,_0xd8676d(0x40c),this[_0xd8676d(0x28f)][_0xd8676d(0x1be)]()),_0x30b9f2(this,_0xd8676d(0x48c),new _0x1e8f3c['BehaviorSubject']([])),_0x30b9f2(this,_0xd8676d(0x3d1),this['_roomMembers$'][_0xd8676d(0x31d)](_0x1e8f3c['debounceTime'](_0x1451b4))),_0x30b9f2(this,_0xd8676d(0x2db),_0x5dd71d[_0xd8676d(0x314)]((_0x2ba590,_0x5788f9)=>{const _0xd322bd=_0xd8676d,_0x341612={'eventID':_0x57fec2['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0xd322bd(0x145)],'memberID':this[_0xd322bd(0x40b)][_0xd322bd(0x290)](),'selection':_0x29bba3[_0xd322bd(0x253)](_0x2ba590,_0x5788f9[_0xd322bd(0x2a2)])}};this[_0xd322bd(0x40b)][_0xd322bd(0x198)](_0x341612,this[_0xd322bd(0x145)]);},_0x30f08e)),(this[_0xd8676d(0x145)]=_0x31cf91,this['_session']=_0x2f94ca,this[_0xd8676d(0x3bf)]=_0x318596,this[_0xd8676d(0x4b5)]=_0x355886,this[_0xd8676d(0x2bd)]=_0x3a36b0,this['_univerInstanceService']=_0x5aa059,this['_commandService']=_0x3604fb,this['_refRangeService']=_0x4f9c5e);}get['cursorInfo'](){const _0x3daa52=_0x2e5f4c;return this[_0x3daa52(0x28f)][_0x3daa52(0x521)]();}get[_0x2e5f4c(0x4e2)](){const _0xeaec8d=_0x2e5f4c;return this[_0xeaec8d(0x48c)]['getValue']();}[_0x2e5f4c(0x32d)](){const _0x40d006=_0x2e5f4c;super[_0x40d006(0x32d)](),this['_cursorInfo$'][_0x40d006(0x228)](new Map()),this[_0x40d006(0x28f)][_0x40d006(0x170)](),this[_0x40d006(0x48c)][_0x40d006(0x228)]([]),this[_0x40d006(0x48c)][_0x40d006(0x170)]();}['init'](){const _0x5ce073=_0x2e5f4c;this[_0x5ce073(0x389)]||(this[_0x5ce073(0x389)]=!0x0,this[_0x5ce073(0x40b)][_0x5ce073(0x56d)][_0x5ce073(0x31d)](_0x1e8f3c[_0x5ce073(0x16c)](this[_0x5ce073(0x487)]))[_0x5ce073(0x3ee)](_0x38b045=>{const _0x5e7cd9=_0x5ce073;_0x38b045===_0x4add37[_0x5e7cd9(0x14e)]?this[_0x5e7cd9(0x21d)]():this[_0x5e7cd9(0x281)]();}),this[_0x5ce073(0x40b)][_0x5ce073(0x394)][_0x5ce073(0x31d)](_0x1e8f3c['takeUntil'](this[_0x5ce073(0x487)]))[_0x5ce073(0x3ee)](_0x18f709=>{const _0x3b6f3f=_0x5ce073,_0x289c57=_0x18f709['eventID'];_0x289c57===_0x57fec2[_0x3b6f3f(0x2ff)]['UPDATE_CURSOR']&&this[_0x3b6f3f(0x45d)](_0x18f709),_0x289c57===_0x57fec2['CollaborationEvent'][_0x3b6f3f(0x4b2)]&&this[_0x3b6f3f(0x271)](_0x18f709);}),this[_0x5ce073(0x27a)](),this[_0x5ce073(0x360)](this['_commandService']['onCommandExecuted'](_0x389d48=>{const _0x502bae=_0x5ce073;if(this[_0x502bae(0x1a0)]&&_0x389d48['id']===_0x51fcfd[_0x502bae(0x333)]['id']&&_0x389d48[_0x502bae(0x484)]['unitId']===this[_0x502bae(0x145)]){const _0x18f2d7=_0x389d48[_0x502bae(0x484)];this[_0x502bae(0x2db)](_0x18f2d7[_0x502bae(0x2e5)],_0x18f2d7[_0x502bae(0x502)][0x0]);}})));}[_0x2e5f4c(0x45d)](_0x2158d2){const _0x2cf68d=_0x2e5f4c;var _0x592206,_0x428248;const {memberID:_0x12525f,selection:_0x828d77}=_0x2158d2['data'],{sheetName:_0x1c45da,range:_0x28d5e9}=_0x29bba3[_0x2cf68d(0x331)](_0x828d77),_0x3026e2={'name':(_0x428248=(_0x592206=this[_0x2cf68d(0x2bd)]['getMember'](this['unitID'],_0x12525f))==null?void 0x0:_0x592206[_0x2cf68d(0x52e)])!=null?_0x428248:_0x2cf68d(0x1c3),'range':this['_getMergeRange'](_0x1c45da,_0x28d5e9),'sheetID':_0x1c45da,'color':this[_0x2cf68d(0x4b5)]['assignAColorForMemberID'](_0x12525f),'selection':_0x828d77},_0xbdcd92=this[_0x2cf68d(0x51f)];_0xbdcd92[_0x2cf68d(0x246)](_0x12525f,_0x3026e2),this['_cursorInfo$'][_0x2cf68d(0x228)](_0xbdcd92);}[_0x2e5f4c(0x271)](_0x1b0e1f){const _0x44a16e=_0x2e5f4c,{memberID:_0x31b783}=_0x1b0e1f[_0x44a16e(0x51b)],_0x145365=this[_0x44a16e(0x51f)];_0x145365['delete'](_0x31b783),this[_0x44a16e(0x28f)][_0x44a16e(0x228)](_0x145365);}[_0x2e5f4c(0x37d)](_0x200fc9,_0x38c9a1){const _0x1a5684=_0x2e5f4c;var _0x53f6aa,_0x4ee792;const _0x4f6f0f=(_0x4ee792=(_0x53f6aa=this['_univerInstanceService'][_0x1a5684(0x3fd)](this['unitID']))==null?void 0x0:_0x53f6aa['getSheetBySheetId'](_0x200fc9))==null?void 0x0:_0x4ee792[_0x1a5684(0x455)]();return(_0x4f6f0f==null?void 0x0:_0x4f6f0f['find'](_0x284fb7=>_0x5dd71d[_0x1a5684(0x1ce)][_0x1a5684(0x38d)](_0x284fb7,_0x38c9a1)))||_0x38c9a1;}[_0x2e5f4c(0x27a)](){const _0x37f0f8=_0x2e5f4c,_0x3e0468=new _0x5dd71d[(_0x37f0f8(0x26d))](),_0x559a4b=_0x189438(),_0xb3574=()=>{const _0x8df42d=_0x37f0f8;_0x3e0468['dispose']();const _0x10cbcb=(_0x356efd,_0x44153a,_0x64a33c,_0xb803e5)=>{const _0x1adc74=_0x9a79;let _0x585799=[];switch(_0x356efd['id']){case _0x51fcfd['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x585799=_0x51fcfd[_0x1adc74(0x19b)](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x209)]:{_0x585799=_0x51fcfd[_0x1adc74(0x16b)](_0x356efd,_0xb803e5);break;}case _0x51fcfd['EffectRefRangId'][_0x1adc74(0x1ff)]:{_0x585799=_0x51fcfd['handleInsertCol'](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x45c)]:{_0x585799=_0x51fcfd[_0x1adc74(0x39a)](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x37a)]:{_0x585799=_0x51fcfd[_0x1adc74(0x2bf)](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x29a)]:{_0x585799=_0x51fcfd[_0x1adc74(0x38a)](_0x356efd,_0xb803e5);break;}case _0x51fcfd['EffectRefRangId'][_0x1adc74(0x486)]:{_0x585799=_0x51fcfd['handleMoveRange'](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x510)]:{_0x585799=_0x51fcfd[_0x1adc74(0x155)](_0x356efd,_0xb803e5);break;}case _0x51fcfd[_0x1adc74(0x1d0)][_0x1adc74(0x4e0)]:{_0x585799=_0x51fcfd[_0x1adc74(0x334)](_0x356efd,_0xb803e5);break;}}const _0x105952=_0x51fcfd['runRefRangeMutations'](_0x585799,_0xb803e5),_0x3bd60d=this[_0x1adc74(0x51f)][_0x1adc74(0x578)](_0x44153a);if(_0x3bd60d&&_0x105952){const _0x2241b3={..._0x3bd60d,'range':_0x105952};this[_0x1adc74(0x51f)][_0x1adc74(0x246)](_0x44153a,_0x2241b3),_0x559a4b(()=>{const _0x592dff=_0x1adc74,_0x107993=this['_refRangeService'][_0x592dff(0x4f5)](_0x105952,_0x13f7e1=>(_0x107993[_0x592dff(0x32d)](),_0x10cbcb(_0x13f7e1,_0x44153a,_0x64a33c,_0x105952)));_0x3e0468['add'](_0x107993);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x8df42d(0x3e9)]((_0x484c7d,_0x3b3b3f)=>{const _0x369e09=_0x8df42d,{range:_0x1b5408,sheetID:_0x1cdcfd}=_0x484c7d,_0x1c755a=this[_0x369e09(0x40d)][_0x369e09(0x4f5)](_0x1b5408,_0x454996=>(_0x1c755a['dispose'](),_0x10cbcb(_0x454996,_0x3b3b3f,_0x1cdcfd,_0x1b5408)));_0x3e0468[_0x369e09(0x323)](_0x1c755a);});};this[_0x37f0f8(0x360)](_0x5dd71d[_0x37f0f8(0x377)](this[_0x37f0f8(0x28f)][_0x37f0f8(0x3ee)](()=>{_0xb3574();})));}[_0x2e5f4c(0x21d)](){const _0x57db68=_0x2e5f4c;var _0x520e42,_0x51d9cb;if(this['_online']=!0x0,((_0x520e42=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x520e42['getUnitId']())!==this[_0x57db68(0x145)])return;const _0x1cf6ed=(_0x51d9cb=this[_0x57db68(0x3bf)]['get'](_0x51fcfd[_0x57db68(0x165)])['getCurrentSelections']())==null?void 0x0:_0x51d9cb[0x0],_0x2a08ae=this[_0x57db68(0x546)]['getCurrentUnitForType'](_0x5dd71d[_0x57db68(0x14d)][_0x57db68(0x530)])[_0x57db68(0x41c)]();_0x1cf6ed&&_0x2a08ae&&this[_0x57db68(0x2db)](_0x2a08ae['getSheetId'](),_0x1cf6ed);}[_0x2e5f4c(0x281)](){this['_online']=!0x1;}};_0x55c3b8=_0x6bd44b([_0x3d942f(0x2,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x3d942f(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5491d3)),_0x3d942f(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x266f31)),_0x3d942f(0x5,_0x5dd71d[_0x2e5f4c(0x373)]),_0x3d942f(0x6,_0x5dd71d[_0x2e5f4c(0x160)]),_0x3d942f(0x7,_0x5dd71d['Inject'](_0x51fcfd[_0x2e5f4c(0x332)]))],_0x55c3b8);var _0x37e3e1=Object[_0x2e5f4c(0x2c2)],_0x1c37c2=Object[_0x2e5f4c(0x4b9)],_0xb7925b=(_0x3f0fe0,_0x39a342,_0x559b8c,_0x6d6dec)=>{const _0x159462=_0x2e5f4c;for(var _0xa687fd=_0x6d6dec>0x1?void 0x0:_0x6d6dec?_0x1c37c2(_0x39a342,_0x559b8c):_0x39a342,_0x438fa7=_0x3f0fe0[_0x159462(0x310)]-0x1,_0x4a57d4;_0x438fa7>=0x0;_0x438fa7--)(_0x4a57d4=_0x3f0fe0[_0x438fa7])&&(_0xa687fd=(_0x6d6dec?_0x4a57d4(_0x39a342,_0x559b8c,_0xa687fd):_0x4a57d4(_0xa687fd))||_0xa687fd);return _0x6d6dec&&_0xa687fd&&_0x37e3e1(_0x39a342,_0x559b8c,_0xa687fd),_0xa687fd;},_0x216fe7=(_0x4b395b,_0x4670dc)=>(_0x4ec6a9,_0x270e2f)=>_0x4670dc(_0x4ec6a9,_0x270e2f,_0x4b395b);let _0x493e0c=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0xbd4bd1,_0x23e1ce,_0x9fb836){const _0x3b7d65=_0x2e5f4c;super(),_0x30b9f2(this,'_entities',new Map()),_0x30b9f2(this,_0x3b7d65(0x318),new _0x1e8f3c[(_0x3b7d65(0x2d3))]()),(this[_0x3b7d65(0x546)]=_0xbd4bd1,this[_0x3b7d65(0x3bf)]=_0x23e1ce,this[_0x3b7d65(0x1d6)]=_0x9fb836,this['_init']());}[_0x2e5f4c(0x32d)](){const _0x206b49=_0x2e5f4c;super[_0x206b49(0x32d)](),this[_0x206b49(0x318)][_0x206b49(0x170)](),this['_entities'][_0x206b49(0x3e9)](_0x574912=>_0x574912[_0x206b49(0x32d)]());}[_0x2e5f4c(0x4a1)](_0x5d7b1c){const _0x5a16c8=_0x2e5f4c;return this[_0x5a16c8(0x33f)][_0x5a16c8(0x477)](_0x5d7b1c)?this[_0x5a16c8(0x33f)]['get'](_0x5d7b1c)[_0x5a16c8(0x40c)]:this['_entityInit$']['pipe'](_0x1e8f3c['filter'](_0x38fa29=>_0x38fa29[_0x5a16c8(0x145)]===_0x5d7b1c),_0x1e8f3c[_0x5a16c8(0x2fc)](_0x4a5b76=>_0x4a5b76['cursorInfo$']));}[_0x2e5f4c(0x389)](){const _0x4c7ecf=_0x2e5f4c;this[_0x4c7ecf(0x546)][_0x4c7ecf(0x480)](_0x5dd71d[_0x4c7ecf(0x14d)][_0x4c7ecf(0x530)])[_0x4c7ecf(0x31d)](_0x1e8f3c[_0x4c7ecf(0x16c)](this[_0x4c7ecf(0x487)]))[_0x4c7ecf(0x3ee)](async _0x275528=>{const _0x10f615=_0x4c7ecf,_0x15e6c2=_0x275528[_0x10f615(0x29e)](),_0x241c5e=await this[_0x10f615(0x2f1)](_0x15e6c2);this[_0x10f615(0x318)][_0x10f615(0x228)](_0x241c5e),this[_0x10f615(0x33f)]['set'](_0x15e6c2,_0x241c5e);}),this[_0x4c7ecf(0x546)][_0x4c7ecf(0x480)](_0x5dd71d[_0x4c7ecf(0x14d)][_0x4c7ecf(0x4de)])[_0x4c7ecf(0x31d)](_0x1e8f3c[_0x4c7ecf(0x16c)](this[_0x4c7ecf(0x487)]))[_0x4c7ecf(0x31d)](_0x1e8f3c[_0x4c7ecf(0x293)](_0x529bb5=>!_0x529bb5[_0x4c7ecf(0x29e)]()[_0x4c7ecf(0x31c)]('__')))[_0x4c7ecf(0x3ee)](async _0x250ad5=>{const _0x31009f=_0x4c7ecf,_0x2b3133=_0x250ad5['getUnitId'](),_0x203f7c=await this[_0x31009f(0x4aa)](_0x2b3133);this['_entityInit$'][_0x31009f(0x228)](_0x203f7c),this[_0x31009f(0x33f)][_0x31009f(0x246)](_0x2b3133,_0x203f7c);}),_0x1e8f3c[_0x4c7ecf(0x249)](this[_0x4c7ecf(0x546)][_0x4c7ecf(0x180)](_0x5dd71d[_0x4c7ecf(0x14d)][_0x4c7ecf(0x4de)]),this[_0x4c7ecf(0x546)][_0x4c7ecf(0x180)](_0x5dd71d[_0x4c7ecf(0x14d)][_0x4c7ecf(0x530)]))[_0x4c7ecf(0x31d)](_0x1e8f3c[_0x4c7ecf(0x16c)](this[_0x4c7ecf(0x487)]))['subscribe'](_0xf616ec=>{const _0x4fa155=_0x4c7ecf,_0x304be8=_0xf616ec['getUnitId'](),_0x5dd3ed=this['_entities'][_0x4fa155(0x578)](_0x304be8);_0x5dd3ed&&(_0x5dd3ed[_0x4fa155(0x32d)](),this['_entities'][_0x4fa155(0x370)](_0x304be8));});}async[_0x2e5f4c(0x2f1)](_0x4ded5d){const _0x24068e=_0x2e5f4c,_0x49ac5f=await this[_0x24068e(0x1d6)]['requireSession'](_0x4ded5d),_0x88ed47=this[_0x24068e(0x3bf)]['createInstance'](_0x55c3b8,_0x4ded5d,_0x49ac5f);return _0x88ed47[_0x24068e(0x176)](),_0x88ed47;}async[_0x2e5f4c(0x4aa)](_0x589394){const _0x246990=_0x2e5f4c,_0x482cd9=await this['_collabSessionService'][_0x246990(0x23f)](_0x589394),_0x13e441=this[_0x246990(0x3bf)][_0x246990(0x408)](_0x33bad2,_0x589394,_0x482cd9);return _0x13e441[_0x246990(0x176)](),_0x13e441;}};_0x493e0c=_0xb7925b([_0x216fe7(0x0,_0x5dd71d[_0x2e5f4c(0x373)]),_0x216fe7(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['Injector'])),_0x216fe7(0x2,_0x5dd71d['Inject'](_0x5d9ca9['CollaborationSessionService']))],_0x493e0c);const _0x433530=0x14,_0x3f3c9e=0xc8,_0x2c2a8f=0x4,_0x2f8c9b=0x5;function _0x428360(_0x2bc19d,_0x5a210a){const _0x4bcc2e=_0x2e5f4c;let {radius:_0x44fb6d,width:_0x554d2c,height:_0xc47ea}=_0x5a210a;_0x44fb6d=_0x44fb6d!=null?_0x44fb6d:0x0,_0x554d2c=_0x554d2c!=null?_0x554d2c:0x1e,_0xc47ea=_0xc47ea!=null?_0xc47ea:0x1e;let _0x1c7f9d=0x0,_0x5555bd=0x0,_0x8b4f58=0x0;_0x1c7f9d=_0x5555bd=_0x8b4f58=Math[_0x4bcc2e(0x22b)](_0x44fb6d,_0x554d2c/0x2,_0xc47ea/0x2),_0x2bc19d['beginPath'](),_0x2bc19d[_0x4bcc2e(0x1b0)](_0x1c7f9d,0x0),_0x2bc19d[_0x4bcc2e(0x2e1)](_0x554d2c-_0x5555bd,0x0),_0x2bc19d[_0x4bcc2e(0x415)](_0x554d2c-_0x5555bd,_0x5555bd,_0x5555bd,Math['PI']*0x3/0x2,0x0,!0x1),_0x2bc19d[_0x4bcc2e(0x2e1)](_0x554d2c,_0xc47ea-_0x8b4f58),_0x2bc19d[_0x4bcc2e(0x415)](_0x554d2c-_0x8b4f58,_0xc47ea-_0x8b4f58,_0x8b4f58,0x0,Math['PI']/0x2,!0x1),_0x2bc19d[_0x4bcc2e(0x2e1)](0x0,_0xc47ea),_0x2bc19d[_0x4bcc2e(0x2e1)](0x0,_0x1c7f9d),_0x2bc19d[_0x4bcc2e(0x415)](_0x1c7f9d,_0x1c7f9d,_0x1c7f9d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2bc19d[_0x4bcc2e(0x182)](),_0x5a210a[_0x4bcc2e(0x184)]&&(_0x2bc19d[_0x4bcc2e(0x4b7)](),_0x2bc19d['fillStyle']=_0x5a210a['fill'],_0x5a210a[_0x4bcc2e(0x383)]===_0x4bcc2e(0x30f)?_0x2bc19d['fill'](_0x4bcc2e(0x30f)):_0x2bc19d[_0x4bcc2e(0x184)](),_0x2bc19d['restore']());}class _0x4da212 extends _0x3a6273[_0x2e5f4c(0x46a)]{constructor(_0x1dd82b,_0x20f082){const _0x3ea5ed=_0x2e5f4c;super(_0x1dd82b,_0x20f082),_0x30b9f2(this,_0x3ea5ed(0x3b6)),_0x30b9f2(this,_0x3ea5ed(0x201)),(this[_0x3ea5ed(0x3b6)]=_0x20f082==null?void 0x0:_0x20f082['color'],this[_0x3ea5ed(0x201)]=_0x20f082==null?void 0x0:_0x20f082[_0x3ea5ed(0x201)]);}static[_0x2e5f4c(0x196)](_0x1324b3,_0x12365d){const _0x52a8ba=_0x2e5f4c,{text:_0x2ed807,color:_0x4a6239}=_0x12365d;_0x1324b3[_0x52a8ba(0x4b7)](),_0x1324b3[_0x52a8ba(0x42d)]=_0x52a8ba(0x519);const _0x426d96=_0x1324b3[_0x52a8ba(0x14a)](_0x2ed807)[_0x52a8ba(0x36a)],_0x416253=Math[_0x52a8ba(0x22b)](_0x426d96+0x2*_0x2c2a8f,_0x3f3c9e);_0x428360(_0x1324b3,{'height':_0x433530,'radius':0x4,'width':_0x416253,'fill':_0x4a6239,'evented':!0x1}),_0x1324b3['fillStyle']=_0x52a8ba(0x507);const _0x236675=_0x2c2a8f,_0x2e82ed=_0x433530-_0x2f8c9b,_0x261df1=_0x3f3c9e-0x2*_0x2c2a8f;if(_0x426d96>_0x261df1){let _0x263040='',_0x4ce517=0x0;for(const _0x3953fd of _0x2ed807){const _0x3b5465=_0x1324b3['measureText'](_0x3953fd)[_0x52a8ba(0x36a)];if(_0x4ce517+_0x3b5465<=_0x261df1-_0x1324b3[_0x52a8ba(0x14a)](_0x52a8ba(0x2ad))['width'])_0x263040+=_0x3953fd,_0x4ce517+=_0x3b5465;else{_0x263040+='...';break;}}_0x1324b3['fillText'](_0x263040,_0x236675,_0x2e82ed);}else _0x1324b3['fillText'](_0x2ed807,_0x236675,_0x2e82ed);_0x1324b3[_0x52a8ba(0x491)]();}[_0x2e5f4c(0x4ef)](_0x2bdde6){const _0x335a32=_0x2e5f4c;_0x4da212[_0x335a32(0x196)](_0x2bdde6,this);}}const _0x1aced2='collab-text-anchor-',_0x2a87ad=_0x2e5f4c(0x49b),_0x2dd6a9=_0x2e5f4c(0x256),_0x56ee02=0x6,_0x2380d9=1.5,_0xa89601=0x4,_0x2a239a=1.5,_0x29afcd='rgba(255,\x20255,\x20255,\x200.01)';class _0x1ab620{constructor(_0x2db76b,_0x34decd,_0x1ccd70,_0x329d7f){const _0x46f83d=_0x2e5f4c;_0x30b9f2(this,_0x46f83d(0x242),[]),_0x30b9f2(this,_0x46f83d(0x379),null),_0x30b9f2(this,_0x46f83d(0x181),null),_0x30b9f2(this,_0x46f83d(0x3e3),null),_0x30b9f2(this,_0x46f83d(0x520),null),_0x30b9f2(this,'_eventUnsubscribe',null),(this[_0x46f83d(0x4e7)]=_0x2db76b,this[_0x46f83d(0x22f)]=_0x34decd,this['_docSkeleton']=_0x1ccd70,this['_document']=_0x329d7f,this[_0x46f83d(0x26e)]());}set[_0x2e5f4c(0x354)](_0x4c3c1e){const _0x15d789=_0x2e5f4c;_0x4c3c1e?(this[_0x15d789(0x3e3)]&&this['_anchorDot'][_0x15d789(0x207)](),this['_textBubble']&&this[_0x15d789(0x181)][_0x15d789(0x4f2)]()):(this[_0x15d789(0x3e3)]&&this['_anchorDot'][_0x15d789(0x4f2)](),this[_0x15d789(0x181)]&&this['_textBubble'][_0x15d789(0x207)]());}['dispose'](){const _0x11529b=_0x2e5f4c;for(const _0x9160fa of this['_shapes'])_0x9160fa[_0x11529b(0x32d)]();this['_textBubble']&&this[_0x11529b(0x181)][_0x11529b(0x32d)](),this[_0x11529b(0x3e3)]&&this[_0x11529b(0x3e3)][_0x11529b(0x32d)](),this[_0x11529b(0x379)]&&this[_0x11529b(0x379)][_0x11529b(0x32d)](),this[_0x11529b(0x3b7)]&&this[_0x11529b(0x3b7)]();}[_0x2e5f4c(0x26e)](){const _0x366605=_0x2e5f4c;var _0x5dd4d8;const {_docSkeleton:_0x532213,_document:_0x5751f1}=this,{color:_0x4922f7,name:_0x596463,ranges:_0x4ddcb4}=this[_0x366605(0x4e7)],_0x391d89=_0x5751f1[_0x366605(0x255)](),{docsLeft:_0x3fb44e,docsTop:_0xbdffea}=_0x391d89,_0x466601=new _0x1e1fad[(_0x366605(0x563))](_0x391d89,_0x532213);for(const {startOffset:_0x5e9bc2,endOffset:_0x53bb2b,collapsed:_0x27f5bb,isActive:_0x5cebf1}of _0x4ddcb4){const _0x474d16=_0x532213[_0x366605(0x339)](_0x5e9bc2),_0x16319c=_0x532213[_0x366605(0x339)](_0x53bb2b);if(_0x5cebf1){const {contentBoxPointGroup:_0x2d07fb}=_0x466601['getRangePointData'](_0x16319c,_0x16319c);if(_0x2d07fb[_0x366605(0x310)]===0x0)continue;this[_0x366605(0x3e0)](_0x4922f7,_0x2d07fb,_0x3fb44e,_0xbdffea,_0x596463),this[_0x366605(0x3b7)]=this[_0x366605(0x1e6)]();}if(!_0x27f5bb&&_0x474d16&&_0x16319c){if(_0x1e1fad['isValidRectRange'](_0x474d16,_0x16319c)){const _0x141ace=new _0x1e1fad[(_0x366605(0x3db))](_0x391d89,_0x532213),{pointGroup:_0x253364}=(_0x5dd4d8=_0x141ace[_0x366605(0x2b6)](_0x474d16,_0x16319c))!=null?_0x5dd4d8:{};if(_0x253364==null||_0x253364['length']===0x0)continue;this[_0x366605(0x2b5)](_0x4922f7,_0x253364,_0x3fb44e,_0xbdffea);}else{const {contentBoxPointGroup:_0x597a1b}=_0x466601['getRangePointData'](_0x474d16,_0x16319c);if(_0x597a1b[_0x366605(0x310)]===0x0)continue;this[_0x366605(0x3c5)](_0x4922f7,_0x597a1b,_0x3fb44e,_0xbdffea);}}}}['_drawAnchor'](_0x37a367,_0x5ee169,_0x357c78,_0x27653b,_0x326ae4){const _0x1287c0=_0x2e5f4c,_0x2c3955=this['_getAnchorBounding'](_0x5ee169),{left:_0x2f05ae,top:_0xbaeaef,height:_0x4028db}=_0x2c3955,_0x2455ac=this[_0x1287c0(0x54c)](),_0x3ee588=_0x2a239a/_0x2455ac,_0x1078a7=new _0x3a6273[(_0x1287c0(0x450))](_0x1aced2+_0x5dd71d[_0x1287c0(0x451)][_0x1287c0(0x4e9)](_0x56ee02),{'left':_0x2f05ae+_0x357c78-_0x3ee588,'top':_0xbaeaef+_0x27653b,'height':_0x4028db,'width':_0x2380d9,'fill':_0x37a367||_0x3a6273[_0x1287c0(0x34b)](_0x5dd71d[_0x1287c0(0x4db)][_0x1287c0(0x359)],0x0),'strokeWidth':_0x3ee588,'stroke':_0x29afcd,'evented':!0x0});this['_anchor']=_0x1078a7,this[_0x1287c0(0x22f)][_0x1287c0(0x329)](_0x1078a7,_0x1e1fad['TEXT_RANGE_LAYER_INDEX']);const _0x266b86=new _0x3a6273[(_0x1287c0(0x450))](_0x1aced2+_0x5dd71d[_0x1287c0(0x451)][_0x1287c0(0x4e9)](_0x56ee02),{'left':_0x2f05ae+_0x357c78-_0x3ee588,'top':_0xbaeaef+_0x27653b-_0xa89601/0x2,'height':_0xa89601,'width':_0xa89601,'fill':_0x37a367||_0x3a6273[_0x1287c0(0x34b)](_0x5dd71d['COLORS'][_0x1287c0(0x359)],0x0),'strokeWidth':0x0,'stroke':_0x37a367||_0x3a6273[_0x1287c0(0x34b)](_0x5dd71d[_0x1287c0(0x4db)][_0x1287c0(0x359)],0x0),'evented':!0x1});this[_0x1287c0(0x3e3)]=_0x266b86,this['_scene']['addObject'](_0x266b86,_0x1e1fad[_0x1287c0(0x237)]);const _0x20c055=new _0x4da212(_0x1aced2+_0x5dd71d[_0x1287c0(0x451)][_0x1287c0(0x4e9)](_0x56ee02),{'left':_0x2f05ae+_0x357c78-_0x3ee588,'top':_0xbaeaef+_0x27653b-_0x433530,'text':_0x326ae4,'color':_0x37a367});this['_textBubble']=_0x20c055,this[_0x1287c0(0x22f)]['addObject'](_0x20c055,_0x1e1fad[_0x1287c0(0x237)]),this['_hover']=!0x1;}['_handleHover'](){const _0x3948fb=_0x2e5f4c,_0x9adf68=this['_anchor'][_0x3948fb(0x3a0)][_0x3948fb(0x4a9)](()=>{const _0x22d3c4=_0x3948fb;this[_0x22d3c4(0x354)]=!0x0;}),_0x40a80f=this[_0x3948fb(0x379)][_0x3948fb(0x3bd)][_0x3948fb(0x4a9)](()=>{const _0x285a82=_0x3948fb;this['_hideTimer']&&clearTimeout(this[_0x285a82(0x520)]),this[_0x285a82(0x520)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x25c9e6=_0x3948fb;_0x9adf68['unsubscribe'](),_0x40a80f[_0x25c9e6(0x423)]();};}['_drawTextRange'](_0xc33e93,_0x4a4024,_0x49b905,_0xfc021c){const _0x2d57db=_0x2e5f4c,_0x2b5053=new _0x5dd71d[(_0x2d57db(0x56a))](_0xc33e93)[_0x2d57db(0x301)](0.2)[_0x2d57db(0x4e6)](),_0xeef17e=new _0x3a6273[(_0x2d57db(0x556))](_0x2a87ad+_0x5dd71d[_0x2d57db(0x451)][_0x2d57db(0x4e9)](_0x56ee02),{'pointsGroup':_0x4a4024,'fill':_0x2b5053||_0x3a6273[_0x2d57db(0x34b)](_0x5dd71d[_0x2d57db(0x4db)][_0x2d57db(0x359)],0.2),'left':_0x49b905,'top':_0xfc021c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d57db(0x242)][_0x2d57db(0x36b)](_0xeef17e),this[_0x2d57db(0x22f)][_0x2d57db(0x329)](_0xeef17e,_0x1e1fad[_0x2d57db(0x237)]);}[_0x2e5f4c(0x2b5)](_0x267e64,_0x1f8b7a,_0x3a1df0,_0x360c53){const _0xe7f640=_0x2e5f4c,_0x425855=new _0x5dd71d[(_0xe7f640(0x56a))](_0x267e64)[_0xe7f640(0x301)](0.2)[_0xe7f640(0x4e6)](),_0xfe9e61=new _0x3a6273[(_0xe7f640(0x556))](_0x2dd6a9+_0x5dd71d[_0xe7f640(0x451)]['generateRandomId'](_0x56ee02),{'pointsGroup':_0x1f8b7a,'fill':_0x425855||_0x3a6273[_0xe7f640(0x34b)](_0x5dd71d[_0xe7f640(0x4db)][_0xe7f640(0x359)],0.2),'left':_0x3a1df0,'top':_0x360c53,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xfe9e61),this[_0xe7f640(0x22f)][_0xe7f640(0x329)](_0xfe9e61,_0x1e1fad[_0xe7f640(0x237)]);}['_getAnchorBounding'](_0x22d571){const _0x430436=_0x22d571[0x0],_0x3256e3=_0x430436[0x0],_0x477e05=_0x430436[0x2],{x:_0x465f00,y:_0x3e9707}=_0x3256e3,{x:_0x1a6dee,y:_0x5c7fc5}=_0x477e05;return{'left':_0x465f00,'top':_0x3e9707,'width':_0x1a6dee-_0x465f00,'height':_0x5c7fc5-_0x3e9707};}[_0x2e5f4c(0x54c)](){const _0x13927e=_0x2e5f4c,{scaleX:_0x471273,scaleY:_0x25e1d8}=this[_0x13927e(0x22f)][_0x13927e(0x568)]();return Math['max'](_0x471273,_0x25e1d8);}}var _0x438397=Object[_0x2e5f4c(0x2c2)],_0x2f8129=Object['getOwnPropertyDescriptor'],_0x18a50f=(_0x15560c,_0x13cbb9,_0x375ebb,_0x2c01be)=>{for(var _0x3029d2=_0x2c01be>0x1?void 0x0:_0x2c01be?_0x2f8129(_0x13cbb9,_0x375ebb):_0x13cbb9,_0x163731=_0x15560c['length']-0x1,_0x3b0887;_0x163731>=0x0;_0x163731--)(_0x3b0887=_0x15560c[_0x163731])&&(_0x3029d2=(_0x2c01be?_0x3b0887(_0x13cbb9,_0x375ebb,_0x3029d2):_0x3b0887(_0x3029d2))||_0x3029d2);return _0x2c01be&&_0x3029d2&&_0x438397(_0x13cbb9,_0x375ebb,_0x3029d2),_0x3029d2;},_0x4edba=(_0x1b630e,_0x53be33)=>(_0x234af4,_0xf7d9f5)=>_0x53be33(_0x234af4,_0xf7d9f5,_0x1b630e);let _0x2c8022=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0xcd1956,_0x75d5e7,_0x1c16bb,_0x3411ec,_0xcbd20a){const _0x5763a2=_0x2e5f4c;super(),_0x30b9f2(this,_0x5763a2(0x4ba),[]),_0x30b9f2(this,'_cursors',[]),(this['_context']=_0xcd1956,this[_0x5763a2(0x15b)]=_0x75d5e7,this[_0x5763a2(0x14c)]=_0x1c16bb,this['_commandService']=_0x3411ec,this[_0x5763a2(0x555)]=_0xcbd20a,this[_0x5763a2(0x389)]());}['_init'](){const _0x4b0928=_0x2e5f4c,_0x4a732c=this[_0x4b0928(0x38c)][_0x4b0928(0x183)],_0x38a95f=this['_docSkeletonManagerService'];this[_0x4b0928(0x360)](_0x1e8f3c[_0x4b0928(0x4d7)]([this['_collabCursorController'][_0x4b0928(0x4a1)](_0x4a732c),this[_0x4b0928(0x555)][_0x4b0928(0x288)]])[_0x4b0928(0x31d)](_0x58074b[_0x4b0928(0x4c4)](([_0x555492,_0x5a01df])=>({'skeleton':_0x38a95f[_0x4b0928(0x431)](),'cursors':[..._0x555492[_0x4b0928(0x525)]()][_0x4b0928(0x524)](_0x541cd9=>({..._0x541cd9,'color':_0x5a01df[_0x541cd9[_0x4b0928(0x3b6)]]}))})))[_0x4b0928(0x3ee)](_0x46d75f=>{const _0xb14d97=_0x4b0928;if(this[_0xb14d97(0x270)](),_0x46d75f){const {skeleton:_0xca9023,cursors:_0x4509b5}=_0x46d75f;this[_0xb14d97(0x193)](_0xca9023,_0x4509b5);}})),this[_0x4b0928(0x363)](),this[_0x4b0928(0x41e)]();}['_updateCollabCursors'](_0xed8f25,_0x9c34b9){const _0x342c1c=_0x2e5f4c,{scene:_0x4c0b46,mainComponent:_0x982f60}=this[_0x342c1c(0x38c)],_0x1c0011=_0x9c34b9[_0x342c1c(0x4c4)](_0x26456c=>new _0x1ab620(_0x26456c,_0x4c0b46,_0xed8f25,_0x982f60));this[_0x342c1c(0x4ba)]=_0x1c0011,this[_0x342c1c(0x396)]=_0x9c34b9;}[_0x2e5f4c(0x2f9)](){const _0x1aaaf8=_0x2e5f4c;this[_0x1aaaf8(0x270)]();const {scene:_0x48aca7,mainComponent:_0x2af760}=this[_0x1aaaf8(0x38c)],_0x51aeba=this['_docSkeletonManagerService'][_0x1aaaf8(0x431)](),_0x43ab48=this[_0x1aaaf8(0x396)][_0x1aaaf8(0x4c4)](_0x1a4089=>new _0x1ab620(_0x1a4089,_0x48aca7,_0x51aeba,_0x2af760));this['_cursorShapes']=_0x43ab48;}[_0x2e5f4c(0x270)](){const _0x192149=_0x2e5f4c;this[_0x192149(0x4ba)][_0x192149(0x3e9)](_0x31ac3b=>_0x31ac3b['dispose']()),this[_0x192149(0x4ba)]=[];}[_0x2e5f4c(0x41e)](){const _0x272e6d=_0x2e5f4c,_0x4065e7=[_0x1e1fad['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x272e6d(0x2aa)][_0x272e6d(0x257)](_0x1f7434=>{const _0x245562=_0x272e6d;_0x4065e7[_0x245562(0x272)](_0x1f7434['id'])&&_0x1f7434['params'][_0x245562(0x183)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x353a1b=_0x2e5f4c;this[_0x353a1b(0x360)](_0x5dd71d[_0x353a1b(0x3aa)](this[_0x353a1b(0x38c)][_0x353a1b(0x28e)][_0x353a1b(0x3d2)])[_0x353a1b(0x31d)](_0x58074b[_0x353a1b(0x293)](_0x3e91a6=>_0x3e91a6['type']===_0x3a6273[_0x353a1b(0x3bb)]['resize']),_0x58074b[_0x353a1b(0x399)](0x10))[_0x353a1b(0x3ee)](()=>{this['_refreshCollabCursors']();}));}};_0x2c8022=_0x18a50f([_0x4edba(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x4c83d7[_0x2e5f4c(0x2ed)])),_0x4edba(0x2,_0x5dd71d['Inject'](_0x493e0c)),_0x4edba(0x3,_0x5dd71d['ICommandService']),_0x4edba(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x449)]))],_0x2c8022);const _0x249760=0x1,_0xf925a6=1.5;class _0x5704e4 extends _0x3a6273[_0x2e5f4c(0x46a)]{constructor(_0x1170c4,_0x487c7d){const _0x4fdead=_0x2e5f4c;super(_0x1170c4,_0x487c7d),_0x30b9f2(this,'_color'),_0x30b9f2(this,_0x4fdead(0x33a),!0x1),_0x30b9f2(this,_0x4fdead(0x49c)),_0x30b9f2(this,_0x4fdead(0x49f),''),_0x30b9f2(this,'_labelPosition',_0x4fdead(0x355)),_0x30b9f2(this,_0x4fdead(0x3a8)),(_0x487c7d&&this[_0x4fdead(0x20c)](_0x487c7d),this[_0x4fdead(0x3a0)][_0x4fdead(0x4a9)](()=>this[_0x4fdead(0x20c)]({'hovered':!0x0})),this[_0x4fdead(0x3bd)][_0x4fdead(0x4a9)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2e5f4c(0x20c)](_0x3b8547){const _0x5e3d27=_0x2e5f4c;var _0x409cd7,_0x528eae,_0x338643,_0x557e8b,_0x338277,_0x588531;this['_color']=(_0x409cd7=_0x3b8547[_0x5e3d27(0x3b6)])!=null?_0x409cd7:this['_color'],this[_0x5e3d27(0x33a)]=(_0x528eae=_0x3b8547[_0x5e3d27(0x4b3)])!=null?_0x528eae:this[_0x5e3d27(0x33a)],this[_0x5e3d27(0x49c)]=(_0x338643=_0x3b8547[_0x5e3d27(0x2a2)])!=null?_0x338643:this['_range'],this[_0x5e3d27(0x49f)]=(_0x557e8b=_0x3b8547[_0x5e3d27(0x52e)])!=null?_0x557e8b:this['_name'],this[_0x5e3d27(0x35b)]=(_0x338277=_0x3b8547['labelPosition'])!=null?_0x338277:this[_0x5e3d27(0x35b)],this[_0x5e3d27(0x3a8)]=(_0x588531=_0x3b8547['backgroundColor'])!=null?_0x588531:this['_backgroundColor'],this['transformByState']({'width':_0x3b8547[_0x5e3d27(0x36a)],'height':_0x3b8547[_0x5e3d27(0x3cd)]});}[_0x2e5f4c(0x3ea)](_0x38570e){const _0x364287=_0x2e5f4c,{row:_0xe19f3a,column:_0x31977b}=_0x38570e;if(_0xe19f3a>=this['_range'][_0x364287(0x4e3)]&&_0xe19f3a<=this['_range']['endRow']&&_0x31977b>=this['_range'][_0x364287(0x2f7)]&&_0x31977b<=this[_0x364287(0x49c)][_0x364287(0x554)]){this[_0x364287(0x20c)]({'hovered':!0x0});return;}this[_0x364287(0x20c)]({'hovered':!0x1});}[_0x2e5f4c(0x45f)](_0x1d14ac){return!0x1;}[_0x2e5f4c(0x4ef)](_0x5c6034){const _0x1da3de=_0x2e5f4c;_0x3a6273[_0x1da3de(0x450)][_0x1da3de(0x196)](_0x5c6034,{'width':this[_0x1da3de(0x36a)],'height':this[_0x1da3de(0x3cd)],'strokeWidth':_0xf925a6,'stroke':this[_0x1da3de(0x17b)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1da3de(0x33a)]&&(_0x5c6034['save'](),_0x5c6034[_0x1da3de(0x3d3)](0x1,0x0,0x0,0x1,this[_0x1da3de(0x36a)],this[_0x1da3de(0x35b)]===_0x1da3de(0x26f)?0x0:-_0x433530),_0x4da212['drawWith'](_0x5c6034,{'text':this[_0x1da3de(0x49f)],'color':this['_color']}),_0x5c6034[_0x1da3de(0x491)]());}}var _0x43291c=Object[_0x2e5f4c(0x2c2)],_0x16f94c=Object[_0x2e5f4c(0x4b9)],_0x5d03ab=(_0x18138d,_0x4a8446,_0x4c9a30,_0x418149)=>{const _0x3b6ef8=_0x2e5f4c;for(var _0x4258d6=_0x418149>0x1?void 0x0:_0x418149?_0x16f94c(_0x4a8446,_0x4c9a30):_0x4a8446,_0x3681d3=_0x18138d[_0x3b6ef8(0x310)]-0x1,_0x4f731a;_0x3681d3>=0x0;_0x3681d3--)(_0x4f731a=_0x18138d[_0x3681d3])&&(_0x4258d6=(_0x418149?_0x4f731a(_0x4a8446,_0x4c9a30,_0x4258d6):_0x4f731a(_0x4258d6))||_0x4258d6);return _0x418149&&_0x4258d6&&_0x43291c(_0x4a8446,_0x4c9a30,_0x4258d6),_0x4258d6;},_0x1e2c29=(_0x43fdcf,_0x18e1d8)=>(_0x272e16,_0x5e054a)=>_0x18e1d8(_0x272e16,_0x5e054a,_0x43fdcf);const _0x1cd84c=0x1389;let _0x266750=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x547e12,_0x1e5877,_0x314942,_0x454678){const _0x45ef15=_0x2e5f4c;super(),_0x30b9f2(this,_0x45ef15(0x396),new Set()),_0x30b9f2(this,'_lastPointer',null),(this[_0x45ef15(0x38c)]=_0x547e12,this[_0x45ef15(0x42a)]=_0x1e5877,this[_0x45ef15(0x14c)]=_0x314942,this['_themeService']=_0x454678,this[_0x45ef15(0x389)]());}['_init'](){const _0x57472f=_0x2e5f4c;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x57472f(0x31d)](_0x58074b[_0x57472f(0x16c)](this[_0x57472f(0x487)]),_0x58074b[_0x57472f(0x2fc)](_0x4a2d49=>{const _0x2c3fa5=_0x57472f;if(_0x4a2d49){const _0x224d90=_0x4a2d49[_0x2c3fa5(0x421)];return _0x1e8f3c[_0x2c3fa5(0x4d7)](this[_0x2c3fa5(0x14c)][_0x2c3fa5(0x4a1)](this['_context'][_0x2c3fa5(0x183)]),this[_0x2c3fa5(0x555)][_0x2c3fa5(0x288)])[_0x2c3fa5(0x31d)](_0x58074b[_0x2c3fa5(0x4c4)](([_0x1beb2b,_0x56230d])=>{const _0xf76c20=_0x2c3fa5,_0x2ceb19=new Map();return _0x1beb2b[_0xf76c20(0x3e9)]((_0x13a86e,_0x2331c0)=>{const _0xe63411=_0xf76c20;if(_0x13a86e['sheetID']===_0x224d90){const _0xe4d2b8={..._0x13a86e};_0xe4d2b8[_0xe63411(0x3b6)]=_0x56230d[_0x13a86e[_0xe63411(0x3b6)]],_0x2ceb19[_0xe63411(0x246)](_0x2331c0,_0xe4d2b8);}}),{'skeleton':_0x4a2d49,'cursors':_0x2ceb19};}));}return _0x1e8f3c['of']({'skeleton':null,'cursors':new Map()});}))[_0x57472f(0x3ee)](({skeleton:_0x5d0865,cursors:_0xd51a9f})=>{const _0x3f4295=_0x57472f;this['_removeCollabCursors'](),_0x5d0865&&this[_0x3f4295(0x193)](_0x5d0865,_0xd51a9f);}),this[_0x57472f(0x42a)][_0x57472f(0x262)][_0x57472f(0x3ee)](_0x58aeb8=>{const _0x2842cb=_0x57472f;if(_0x58aeb8==null)return;const {skeleton:_0x5b8cb8}=_0x58aeb8,{scene:_0x2f614a}=this['_context'];_0x2f614a[_0x2842cb(0x4da)][_0x2842cb(0x4a9)](_0x5dd71d[_0x2842cb(0x314)](_0x5985e4=>{const _0x1561e4=_0x2842cb;var _0x29afc4,_0x554af3;const {offsetX:_0x320efa,offsetY:_0x55a3f9}=_0x5985e4,{x:_0x48d01c,y:_0x181909}=_0x2f614a[_0x1561e4(0x39e)](_0x3a6273['Vector2']['FromArray']([_0x320efa,_0x55a3f9])),{scaleX:_0x1090f5,scaleY:_0x4a00c5}=_0x2f614a[_0x1561e4(0x568)](),_0x9a91fa=_0x2f614a[_0x1561e4(0x400)](_0x1a18db['VIEWPORT_KEY'][_0x1561e4(0x2d5)]),_0x3061a3=_0x2f614a['getVpScrollXYInfoByPosToVp'](_0x3a6273[_0x1561e4(0x3c8)]['FromArray']([_0x48d01c,_0x181909]),_0x9a91fa),_0x3a8f28=_0x5b8cb8[_0x1561e4(0x175)](_0x320efa,_0x55a3f9,_0x1090f5,_0x4a00c5,_0x3061a3);((_0x29afc4=this[_0x1561e4(0x516)])==null?void 0x0:_0x29afc4[_0x1561e4(0x2ae)])===_0x3a8f28[_0x1561e4(0x2ae)]&&((_0x554af3=this[_0x1561e4(0x516)])==null?void 0x0:_0x554af3['row'])===_0x3a8f28[_0x1561e4(0x157)]||this[_0x1561e4(0x396)][_0x1561e4(0x3e9)](_0x49e64f=>{const _0x1d0d83=_0x1561e4;_0x49e64f[_0x1d0d83(0x3ea)](_0x3a8f28);});},0x64));});}['_updateCollabCursors'](_0x407e7f,_0x314c58){const _0x2b9a6d=_0x2e5f4c;var _0x2e1842;const _0x9d378d=(_0x2e1842=this[_0x2b9a6d(0x42a)]['getCurrent']())==null?void 0x0:_0x2e1842['skeleton'];if(!_0x9d378d)return;const _0x1b16e5=this[_0x2b9a6d(0x3a3)]();if(!_0x1b16e5)return;this[_0x2b9a6d(0x396)][_0x2b9a6d(0x3e9)](_0x75eb0c=>{const _0x3dc7d3=_0x2b9a6d;_0x75eb0c[_0x3dc7d3(0x4ab)]();});const {scene:_0x683bbb}=_0x1b16e5,_0x437d8f=_0x5a0273(Array[_0x2b9a6d(0x4a3)](_0x314c58[_0x2b9a6d(0x525)]()))[_0x2b9a6d(0x4c4)](_0x484cd0=>{const _0x5ae90d=_0x2b9a6d,{color:_0x3da16c,range:_0x4b5afc,name:_0x406db1,selection:_0x5afb70,sheetID:_0x534ead}=_0x484cd0,{startColumn:_0x2b9df4,startRow:_0x535c1f,endColumn:_0x378209,endRow:_0x26da51}=_0x4b5afc,_0x5aac32=_0x1a18db[_0x5ae90d(0x1bc)](_0x535c1f,_0x2b9df4,_0x683bbb,_0x9d378d),_0x37bdde=_0x1a18db['getCoordByCell'](_0x26da51,_0x378209,_0x683bbb,_0x9d378d),{columnHeaderHeightAndMarginTop:_0x526950}=_0x9d378d,{startX:_0xb260ed,startY:_0x262705}=_0x5aac32,{endX:_0x30f690,endY:_0x34e181}=_0x37bdde,_0x18492f=_0x30f690-_0xb260ed,_0x17199e=_0x34e181-_0x262705,_0x407111={'labelPosition':_0x262705-_0x526950>=_0x433530?'top':_0x5ae90d(0x26f),'sheetID':_0x534ead,'range':_0x4b5afc,'color':_0x3da16c,'name':_0x406db1,'selection':_0x5afb70,'left':_0xb260ed,'top':_0x262705,'width':_0x18492f,'height':_0x17199e,'evented':!0x1,'zIndex':_0x1cd84c};return new _0x5704e4(_0x406db1,_0x407111);});_0x683bbb[_0x2b9a6d(0x53d)](_0x437d8f,_0x249760),this['_cursors']=new Set(_0x437d8f);}[_0x2e5f4c(0x270)](){const _0x12174f=_0x2e5f4c;var _0x31d891;(_0x31d891=this[_0x12174f(0x396)])==null||_0x31d891['forEach'](_0x5b543e=>_0x5b543e['dispose']());}[_0x2e5f4c(0x3a3)](){const _0x25273f=_0x2e5f4c;return _0x1a18db[_0x25273f(0x297)](this[_0x25273f(0x38c)][_0x25273f(0x46d)],this[_0x25273f(0x38c)]);}};_0x266750=_0x5d03ab([_0x1e2c29(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x1a18db[_0x2e5f4c(0x4ee)])),_0x1e2c29(0x2,_0x5dd71d['Inject'](_0x493e0c)),_0x1e2c29(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x449)]))],_0x266750);function _0x5a0273(_0x25de51){const _0x1cb4e9=_0x2e5f4c,_0x1441ec=new Map();return _0x25de51[_0x1cb4e9(0x3e9)](_0x2b0c98=>{const _0x420a59=_0x1cb4e9;if(_0x1441ec[_0x420a59(0x477)](_0x2b0c98[_0x420a59(0x469)])){const _0x421b98=_0x1441ec['get'](_0x2b0c98[_0x420a59(0x469)]);_0x421b98[_0x420a59(0x52e)]+=',\x20'+_0x2b0c98[_0x420a59(0x52e)];}else _0x1441ec[_0x420a59(0x246)](_0x2b0c98['selection'],_0x2b0c98);}),Array[_0x1cb4e9(0x4a3)](_0x1441ec[_0x1cb4e9(0x525)]());}var _0x577223=function(){const _0x22a853=_0x2e5f4c;return _0x577223=Object[_0x22a853(0x36c)]||function(_0x419f0e){const _0xd6cda1=_0x22a853;for(var _0xff9f90,_0x3176f0=0x1,_0x15a90e=arguments[_0xd6cda1(0x310)];_0x3176f0<_0x15a90e;_0x3176f0++){_0xff9f90=arguments[_0x3176f0];for(var _0x294044 in _0xff9f90)Object[_0xd6cda1(0x4ce)][_0xd6cda1(0x406)][_0xd6cda1(0x152)](_0xff9f90,_0x294044)&&(_0x419f0e[_0x294044]=_0xff9f90[_0x294044]);}return _0x419f0e;},_0x577223['apply'](this,arguments);},_0x5472b6=function(_0x7cddb2,_0x33a240){const _0x1d055b=_0x2e5f4c;var _0x441ca6={};for(var _0x51b39b in _0x7cddb2)Object[_0x1d055b(0x4ce)][_0x1d055b(0x406)][_0x1d055b(0x152)](_0x7cddb2,_0x51b39b)&&_0x33a240[_0x1d055b(0x570)](_0x51b39b)<0x0&&(_0x441ca6[_0x51b39b]=_0x7cddb2[_0x51b39b]);if(_0x7cddb2!=null&&typeof Object[_0x1d055b(0x49a)]==_0x1d055b(0x3c0)){for(var _0x2f6a77=0x0,_0x51b39b=Object[_0x1d055b(0x49a)](_0x7cddb2);_0x2f6a77<_0x51b39b[_0x1d055b(0x310)];_0x2f6a77++)_0x33a240[_0x1d055b(0x570)](_0x51b39b[_0x2f6a77])<0x0&&Object[_0x1d055b(0x4ce)][_0x1d055b(0x523)][_0x1d055b(0x152)](_0x7cddb2,_0x51b39b[_0x2f6a77])&&(_0x441ca6[_0x51b39b[_0x2f6a77]]=_0x7cddb2[_0x51b39b[_0x2f6a77]]);}return _0x441ca6;},_0x4039c2=_0x3055f4[_0x2e5f4c(0x3a1)](function(_0x1deb8a,_0x3dae30){const _0x194b0f=_0x2e5f4c;var _0x110e09=_0x1deb8a[_0x194b0f(0x279)],_0x1650b7=_0x1deb8a['id'],_0x4a2be4=_0x1deb8a['className'],_0x5c992e=_0x1deb8a[_0x194b0f(0x169)],_0x25c349=_0x5472b6(_0x1deb8a,[_0x194b0f(0x279),'id',_0x194b0f(0x286),_0x194b0f(0x169)]),_0x30fce0=_0x194b0f(0x4cf)['concat'](_0x1650b7,'\x20')[_0x194b0f(0x4a6)](_0x4a2be4||'')[_0x194b0f(0x343)](),_0x403544=_0x3055f4[_0x194b0f(0x2f2)]('_'['concat'](_0x44869b()));return _0x5c8d0f(_0x110e09,''['concat'](_0x1650b7),{'defIds':_0x110e09[_0x194b0f(0x150)],'idSuffix':_0x403544[_0x194b0f(0x296)]},_0x577223({'ref':_0x3dae30,'className':_0x30fce0},_0x25c349),_0x5c992e);});function _0x5c8d0f(_0x49558c,_0x5d42fc,_0x20ebd4,_0x2d3cf1,_0x1ccb9f){const _0x367d82=_0x2e5f4c;return _0x3055f4[_0x367d82(0x542)](_0x49558c[_0x367d82(0x387)],_0x577223(_0x577223({'key':_0x5d42fc},_0x1e152f(_0x49558c,_0x20ebd4,_0x1ccb9f)),_0x2d3cf1),(_0x1e8d38(_0x49558c,_0x20ebd4)['children']||[])[_0x367d82(0x4c4)](function(_0xa1bfc7,_0x14897a){const _0x31d28d=_0x367d82;return _0x5c8d0f(_0xa1bfc7,''[_0x31d28d(0x4a6)](_0x5d42fc,'-')[_0x31d28d(0x4a6)](_0x49558c[_0x31d28d(0x387)],'-')[_0x31d28d(0x4a6)](_0x14897a),_0x20ebd4,void 0x0,_0x1ccb9f);}));}function _0x1e152f(_0x277c4c,_0x58daf9,_0x330c94){const _0x10a651=_0x2e5f4c;var _0x3f5021=_0x577223({},_0x277c4c['attrs']);_0x330c94!=null&&_0x330c94[_0x10a651(0x28d)]&&_0x3f5021['fill']===_0x10a651(0x28d)&&(_0x3f5021[_0x10a651(0x184)]=_0x330c94[_0x10a651(0x28d)]);var _0x363c1f=_0x58daf9[_0x10a651(0x150)];return!_0x363c1f||_0x363c1f[_0x10a651(0x310)]===0x0||(_0x277c4c[_0x10a651(0x387)]===_0x10a651(0x36d)&&_0x3f5021['xlink:href']&&(_0x3f5021[_0x10a651(0x3be)]=_0x3f5021[_0x10a651(0x3be)]+_0x58daf9[_0x10a651(0x13a)]),Object[_0x10a651(0x3ff)](_0x3f5021)[_0x10a651(0x3e9)](function(_0x595d76){const _0x548bb6=_0x10a651;var _0x1721df=_0x595d76[0x0],_0x1375b4=_0x595d76[0x1];typeof _0x1375b4==_0x548bb6(0x3c2)&&(_0x3f5021[_0x1721df]=_0x1375b4[_0x548bb6(0x1a3)](/url\(#(.*)\)/,_0x548bb6(0x218)[_0x548bb6(0x4a6)](_0x58daf9[_0x548bb6(0x13a)],')')));})),_0x3f5021;}function _0x1e8d38(_0x4c89d3,_0x21eda9){const _0x51202a=_0x2e5f4c;var _0x2829af,_0x445d65=_0x21eda9[_0x51202a(0x150)];return!_0x445d65||_0x445d65['length']===0x0?_0x4c89d3:_0x4c89d3[_0x51202a(0x387)]===_0x51202a(0x447)&&(!((_0x2829af=_0x4c89d3[_0x51202a(0x1ab)])===null||_0x2829af===void 0x0)&&_0x2829af[_0x51202a(0x310)])?_0x577223(_0x577223({},_0x4c89d3),{'children':_0x4c89d3[_0x51202a(0x1ab)][_0x51202a(0x4c4)](function(_0x6a1956){const _0x2af810=_0x51202a;return typeof _0x6a1956[_0x2af810(0x541)]['id']==_0x2af810(0x3c2)&&_0x445d65&&_0x445d65['indexOf'](_0x6a1956[_0x2af810(0x541)]['id'])>-0x1?_0x577223(_0x577223({},_0x6a1956),{'attrs':_0x577223(_0x577223({},_0x6a1956[_0x2af810(0x541)]),{'id':_0x6a1956['attrs']['id']+_0x21eda9['idSuffix']})}):_0x6a1956;})}):_0x4c89d3;}function _0x44869b(){const _0x5345d8=_0x2e5f4c;return Math[_0x5345d8(0x56c)]()[_0x5345d8(0x46f)](0x24)['substring'](0x2,0x8);}_0x4039c2[_0x2e5f4c(0x213)]=_0x2e5f4c(0x15a);var _0x5fa7af={'tag':_0x2e5f4c(0x577),'attrs':{'fill':_0x2e5f4c(0x576),'viewBox':'0\x200\x2016\x2016','width':_0x2e5f4c(0x552),'height':_0x2e5f4c(0x552)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e5f4c(0x17e)},'children':[{'tag':_0x2e5f4c(0x238),'attrs':{'stroke':'currentColor','d':_0x2e5f4c(0x187),'strokeLinecap':_0x2e5f4c(0x156),'strokeLinejoin':_0x2e5f4c(0x156),'strokeWidth':1.2}}]},{'tag':_0x2e5f4c(0x447),'attrs':{},'children':[{'tag':_0x2e5f4c(0x3ac),'attrs':{'id':_0x2e5f4c(0x428)},'children':[{'tag':_0x2e5f4c(0x238),'attrs':{'fill':_0x2e5f4c(0x49e),'d':_0x2e5f4c(0x529)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x87b0af=_0x3055f4[_0x2e5f4c(0x3a1)](function(_0x4cd3d0,_0x31e4d3){const _0x321211=_0x2e5f4c;return _0x3055f4[_0x321211(0x542)](_0x4039c2,Object[_0x321211(0x36c)]({},_0x4cd3d0,{'id':_0x321211(0x280),'ref':_0x31e4d3,'icon':_0x5fa7af}));});_0x87b0af[_0x2e5f4c(0x213)]=_0x2e5f4c(0x33b);var _0xdf1825={'tag':_0x2e5f4c(0x577),'attrs':{'fill':_0x2e5f4c(0x576),'viewBox':_0x2e5f4c(0x298),'width':'1em','height':_0x2e5f4c(0x552)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e5f4c(0x2c5)},'children':[{'tag':_0x2e5f4c(0x238),'attrs':{'stroke':'currentColor','d':_0x2e5f4c(0x3f5),'strokeLinecap':_0x2e5f4c(0x156),'strokeLinejoin':_0x2e5f4c(0x156),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2e5f4c(0x3ac),'attrs':{'id':_0x2e5f4c(0x1b6)},'children':[{'tag':_0x2e5f4c(0x238),'attrs':{'fill':_0x2e5f4c(0x49e),'d':_0x2e5f4c(0x529),'transform':_0x2e5f4c(0x4c0)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x67acdf=_0x3055f4[_0x2e5f4c(0x3a1)](function(_0x4a9931,_0x4b5442){const _0x40eb50=_0x2e5f4c;return _0x3055f4[_0x40eb50(0x542)](_0x4039c2,Object[_0x40eb50(0x36c)]({},_0x4a9931,{'id':'on-line-single','ref':_0x4b5442,'icon':_0xdf1825}));});_0x67acdf[_0x2e5f4c(0x213)]=_0x2e5f4c(0x3e5);function _0x57e4b0(_0x123725){const _0x267944=_0x2e5f4c;var _0xa178c3,_0x35924c,_0x41789d='';if(typeof _0x123725==_0x267944(0x3c2)||typeof _0x123725==_0x267944(0x402))_0x41789d+=_0x123725;else{if(typeof _0x123725==_0x267944(0x32a)){if(Array[_0x267944(0x241)](_0x123725)){var _0x3aa6bc=_0x123725[_0x267944(0x310)];for(_0xa178c3=0x0;_0xa178c3<_0x3aa6bc;_0xa178c3++)_0x123725[_0xa178c3]&&(_0x35924c=_0x57e4b0(_0x123725[_0xa178c3]))&&(_0x41789d&&(_0x41789d+='\x20'),_0x41789d+=_0x35924c);}else{for(_0x35924c in _0x123725)_0x123725[_0x35924c]&&(_0x41789d&&(_0x41789d+='\x20'),_0x41789d+=_0x35924c);}}}return _0x41789d;}function _0x5d8475(){const _0x48eda3=_0x2e5f4c;for(var _0x2aa634,_0x45e6d4,_0x3bfe18=0x0,_0x60c545='',_0x31c172=arguments[_0x48eda3(0x310)];_0x3bfe18<_0x31c172;_0x3bfe18++)(_0x2aa634=arguments[_0x3bfe18])&&(_0x45e6d4=_0x57e4b0(_0x2aa634))&&(_0x60c545&&(_0x60c545+='\x20'),_0x60c545+=_0x45e6d4);return _0x60c545;}const _0x2ba2ac={'onlineStatusIcon':_0x2e5f4c(0x203),'onlineStatusTitle':_0x2e5f4c(0x33e),'onlineStatus':_0x2e5f4c(0x163),'online':'univer-online','offline':_0x2e5f4c(0x147)};function _0x2530d1(_0x5665d9){const _0x5a4aee=_0x2e5f4c;switch(_0x5665d9){case _0x3cd2aa['OFFLINE']:return _0x5a4aee(0x221);case _0x3cd2aa[_0x5a4aee(0x224)]:return'collabStatus.conflict';case _0x3cd2aa[_0x5a4aee(0x24d)]:return _0x5a4aee(0x1e9);case _0x3cd2aa[_0x5a4aee(0x313)]:return _0x5a4aee(0x427);case _0x3cd2aa[_0x5a4aee(0x4d0)]:case _0x3cd2aa[_0x5a4aee(0x508)]:return _0x5a4aee(0x3a9);case _0x3cd2aa[_0x5a4aee(0x513)]:case _0x3cd2aa[_0x5a4aee(0x30e)]:return _0x5a4aee(0x1e8);}}function _0x133b45(_0x2672a4){const _0x37ddcf=_0x2e5f4c,{status$:_0x308080}=_0x2672a4,_0x34aa49=_0x43bf7d[_0x37ddcf(0x494)](_0x308080,_0x3cd2aa[_0x37ddcf(0x313)]),_0x4f9ee9=_0x5dd71d[_0x37ddcf(0x2c8)](_0x5dd71d['LocaleService']),_0x117845=_0x5dd71d[_0x37ddcf(0x2c8)](_0x5d9ca9['CollaborationSessionService']),_0x433bb8=_0x34aa49!==_0x3cd2aa[_0x37ddcf(0x2d7)],_0x28d8b7=_0x4f9ee9['t'](_0x2530d1(_0x34aa49)),_0x5e4146=_0x5d8475(_0x2ba2ac['onlineStatus'],{[_0x2ba2ac[_0x37ddcf(0x22d)]]:_0x433bb8,[_0x2ba2ac[_0x37ddcf(0x4fb)]]:!_0x433bb8}),_0x17a080=_0x433bb8?_0x3055f4[_0x37ddcf(0x542)](_0x67acdf,null):_0x3055f4[_0x37ddcf(0x542)](_0x87b0af,null),_0x67fae7=_0x3055f4['useCallback'](()=>{_0x433bb8||_0x117845['reconnect']();},[_0x433bb8,_0x117845]);function _0x4d51be(){const _0x46e428=_0x37ddcf;return _0x3055f4['createElement'](_0x46e428(0x3f6),{'className':_0x5e4146,'onClick':_0x67fae7},_0x3055f4[_0x46e428(0x542)](_0x46e428(0x3f6),{'className':_0x2ba2ac['onlineStatusIcon']},_0x17a080),_0x3055f4[_0x46e428(0x542)](_0x46e428(0x3f6),{'className':_0x2ba2ac[_0x46e428(0x3b0)]},_0x28d8b7));}return _0x433bb8?_0x4d51be():_0x3055f4[_0x37ddcf(0x542)](_0x4fd8aa['Tooltip'],{'title':_0x4f9ee9['t'](_0x37ddcf(0x3d0))},_0x4d51be());}var _0x1b5ac3=Object[_0x2e5f4c(0x2c2)],_0xe3c758=Object['getOwnPropertyDescriptor'],_0x119641=(_0x227724,_0x3faee4,_0x4871f7,_0x41679a)=>{const _0x45054e=_0x2e5f4c;for(var _0x2ab317=_0x41679a>0x1?void 0x0:_0x41679a?_0xe3c758(_0x3faee4,_0x4871f7):_0x3faee4,_0x83adc=_0x227724[_0x45054e(0x310)]-0x1,_0x4e84e8;_0x83adc>=0x0;_0x83adc--)(_0x4e84e8=_0x227724[_0x83adc])&&(_0x2ab317=(_0x41679a?_0x4e84e8(_0x3faee4,_0x4871f7,_0x2ab317):_0x4e84e8(_0x2ab317))||_0x2ab317);return _0x41679a&&_0x2ab317&&_0x1b5ac3(_0x3faee4,_0x4871f7,_0x2ab317),_0x2ab317;},_0x2ed0fd=(_0x125b4f,_0x400758)=>(_0x14bbfb,_0x379752)=>_0x400758(_0x14bbfb,_0x379752,_0x125b4f);_0x5d9ca9[_0x2e5f4c(0x23a)]=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x9c1c3d,_0x123799,_0x344300,_0x55a1c2){const _0x254c82=_0x2e5f4c;super(),_0x30b9f2(this,_0x254c82(0x3cb),new _0x1e8f3c[(_0x254c82(0x3ca))](_0x3cd2aa[_0x254c82(0x313)])),(this[_0x254c82(0x546)]=_0x9c1c3d,this[_0x254c82(0x3d6)]=_0x123799,this[_0x254c82(0x3bf)]=_0x344300,this[_0x254c82(0x31b)]=_0x55a1c2,this[_0x254c82(0x405)](),this['_initStatusListener']());}[_0x2e5f4c(0x1f2)](){const _0x367056=_0x2e5f4c;this[_0x367056(0x360)](this[_0x367056(0x546)][_0x367056(0x35e)][_0x367056(0x31d)](_0x1e8f3c['switchMap'](()=>{const _0x514c7d=_0x367056,_0x3aff69=this[_0x514c7d(0x546)][_0x514c7d(0x48b)]();return _0x3aff69?this[_0x514c7d(0x31b)][_0x514c7d(0x3b9)](_0x3aff69[_0x514c7d(0x29e)]()):_0x1e8f3c['of'](null);}),_0x1e8f3c[_0x367056(0x2fc)](_0xa592e3=>_0xa592e3?_0xa592e3[_0x367056(0x1f9)]:_0x1e8f3c['of'](_0x3cd2aa[_0x367056(0x313)])))[_0x367056(0x3ee)](_0x560e84=>{const _0x5711df=_0x367056;this[_0x5711df(0x3cb)][_0x5711df(0x228)](_0x560e84);}));}[_0x2e5f4c(0x405)](){const _0x26b0c6=_0x2e5f4c;this[_0x26b0c6(0x360)](this['_uiPartsService'][_0x26b0c6(0x30b)](_0x43bf7d[_0x26b0c6(0x533)][_0x26b0c6(0x35a)],()=>_0x5dd71d['connectInjector'](_0xcce99e({'status$':this[_0x26b0c6(0x3cb)]['asObservable']()}),this[_0x26b0c6(0x3bf)])));}},_0x5d9ca9['DesktopCollaborationStatusDisplayController']=_0x119641([_0x2ed0fd(0x0,_0x5dd71d[_0x2e5f4c(0x373)]),_0x2ed0fd(0x1,_0x43bf7d[_0x2e5f4c(0x164)]),_0x2ed0fd(0x2,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['Injector'])),_0x2ed0fd(0x3,_0x5dd71d['Inject'](_0x5d9ca9[_0x2e5f4c(0x548)]))],_0x5d9ca9[_0x2e5f4c(0x23a)]);function _0xcce99e(_0x2c96be){const {status$:_0x3333fc}=_0x2c96be;return function(){const _0x1b802c=_0x9a79;return _0x3055f4[_0x1b802c(0x542)](_0x133b45,{'status$':_0x3333fc});};}const _0x382397=_0x5dd71d[_0x2e5f4c(0x573)]('uni.network.url-service');var _0x26d613=Object[_0x2e5f4c(0x2c2)],_0x15d754=Object[_0x2e5f4c(0x4b9)],_0x128d70=(_0xe1a503,_0x2b2688,_0x1377fb,_0x1b1e4f)=>{for(var _0x2725a6=_0x1b1e4f>0x1?void 0x0:_0x1b1e4f?_0x15d754(_0x2b2688,_0x1377fb):_0x2b2688,_0x443209=_0xe1a503['length']-0x1,_0x545b3e;_0x443209>=0x0;_0x443209--)(_0x545b3e=_0xe1a503[_0x443209])&&(_0x2725a6=(_0x1b1e4f?_0x545b3e(_0x2b2688,_0x1377fb,_0x2725a6):_0x545b3e(_0x2725a6))||_0x2725a6);return _0x1b1e4f&&_0x2725a6&&_0x26d613(_0x2b2688,_0x1377fb,_0x2725a6),_0x2725a6;},_0x1cd5bc=(_0x3f7983,_0x461bd4)=>(_0x9a11df,_0x109185)=>_0x461bd4(_0x9a11df,_0x109185,_0x3f7983);_0x5d9ca9[_0x2e5f4c(0x345)]=class extends _0x5dd71d['RxDisposable']{constructor(_0x350ccc,_0x305b17,_0x1369ed,_0x308c34,_0x319160,_0x2b5941){const _0xe79850=_0x2e5f4c;super(),this[_0xe79850(0x1b5)]=_0x350ccc,this[_0xe79850(0x55b)]=_0x305b17,this[_0xe79850(0x2aa)]=_0x1369ed,this[_0xe79850(0x178)]=_0x308c34,this[_0xe79850(0x4d5)]=_0x319160,_0x2b5941?_0x2b5941==null||_0x2b5941[_0xe79850(0x475)]()[_0xe79850(0x18f)](()=>this[_0xe79850(0x389)]()):(this['_logService'][_0xe79850(0x1dd)](_0xe79850(0x2a9),_0xe79850(0x4bb)),this[_0xe79850(0x389)]());}async[_0x2e5f4c(0x389)](){const _0x547eb1=_0x2e5f4c,_0x554571=this['_urlService']['getParam'](_0x547eb1(0x46d)),_0x5a3e8d=this[_0x547eb1(0x1b5)][_0x547eb1(0x258)]('type');if(!_0x554571||!_0x5a3e8d){this[_0x547eb1(0x55b)][_0x547eb1(0x1dd)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x5a3e8d)){case _0x17bbb0[_0x547eb1(0x530)]:{const _0x2066f3=await this['_loadSheet'](_0x554571);this[_0x547eb1(0x50d)](_0x2066f3);break;}case _0x17bbb0[_0x547eb1(0x4de)]:{await this['_loadDoc'](_0x554571);break;}default:{this['_logService'][_0x547eb1(0x2ac)](_0x547eb1(0x2a9),_0x547eb1(0x25d));break;}}}async[_0x2e5f4c(0x50d)](_0x3d032d){const _0x2cfa64=_0x2e5f4c;await this[_0x2cfa64(0x2a0)](_0x3d032d),_0x3d032d['activeSheet$'][_0x2cfa64(0x31d)](_0x1e8f3c[_0x2cfa64(0x16c)](this[_0x2cfa64(0x487)]))[_0x2cfa64(0x3ee)](_0x548851=>{const _0x23f7b9=_0x2cfa64;_0x548851&&this[_0x23f7b9(0x222)](_0x548851);}),this[_0x2cfa64(0x1b5)][_0x2cfa64(0x1ea)]['pipe'](_0x1e8f3c[_0x2cfa64(0x16c)](this['dispose$']))[_0x2cfa64(0x3ee)](()=>this['_updateSubUnitFromURLParams'](_0x3d032d));}[_0x2e5f4c(0x222)](_0x344329,_0xcc1ba7=!0x1){const _0x3d71c4=_0x2e5f4c,_0x3b9138=this[_0x3d71c4(0x1b5)][_0x3d71c4(0x258)]('subunit');_0x344329[_0x3d71c4(0x1df)]()!==_0x3b9138&&this[_0x3d71c4(0x1b5)][_0x3d71c4(0x4f7)](_0x3d71c4(0x4dd),_0x344329[_0x3d71c4(0x1df)](),_0xcc1ba7);}async[_0x2e5f4c(0x2a0)](_0x4a6350){const _0x310cdc=_0x2e5f4c;var _0x62b4ff;const _0x31460a=this[_0x310cdc(0x1b5)]['getParam'](_0x310cdc(0x4dd));if(!_0x31460a||!_0x4a6350['getSheetBySheetId'](_0x31460a)){const _0x293c80=_0x4a6350['getUnhiddenWorksheets']()[0x0],_0x38526a=_0x4a6350[_0x310cdc(0x254)](_0x293c80);if(!_0x38526a)return;this[_0x310cdc(0x222)](_0x38526a,!0x0),await this[_0x310cdc(0x2aa)][_0x310cdc(0x21a)](_0x51fcfd[_0x310cdc(0x231)]['id'],{'unitId':_0x4a6350[_0x310cdc(0x29e)](),'subUnitId':_0x293c80});return;}((_0x62b4ff=_0x4a6350['getActiveSheet']())==null?void 0x0:_0x62b4ff['getSheetId']())!==_0x31460a&&await this[_0x310cdc(0x2aa)][_0x310cdc(0x21a)](_0x51fcfd[_0x310cdc(0x231)]['id'],{'unitId':_0x4a6350[_0x310cdc(0x29e)](),'subUnitId':_0x31460a});}async[_0x2e5f4c(0x3a6)](_0x4dda68){const _0x332ef7=_0x2e5f4c;let _0x931d7c=0x0;const _0x452770=await this[_0x332ef7(0x178)][_0x332ef7(0x1c2)](_0x4dda68);return _0x452770&&(_0x452770[_0x332ef7(0x4c2)]||_0x452770['mutations'][_0x332ef7(0x310)]!==0x0)&&(_0x931d7c=_0x452770[_0x332ef7(0x284)]),_0x931d7c===0x0&&this[_0x332ef7(0x55b)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x332ef7(0x4d5)][_0x332ef7(0x2a1)](_0x4dda68,_0x931d7c);}async[_0x2e5f4c(0x2f4)](_0x4109f4){const _0x51161e=_0x2e5f4c;let _0x2c43df=0x0;const _0x202e26=await this[_0x51161e(0x178)][_0x51161e(0x1c2)](_0x4109f4);return _0x202e26&&(_0x202e26['awaitingChangeset']||_0x202e26[_0x51161e(0x273)]['length']!==0x0)&&(_0x2c43df=_0x202e26[_0x51161e(0x284)]),_0x2c43df===0x0&&this['_logService']['debug'](_0x51161e(0x2a9),_0x51161e(0x439)),this[_0x51161e(0x4d5)][_0x51161e(0x362)](_0x4109f4,_0x2c43df);}},_0x5d9ca9[_0x2e5f4c(0x345)]=_0x128d70([_0x1cd5bc(0x0,_0x382397),_0x1cd5bc(0x1,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x1cd5bc(0x2,_0x5dd71d[_0x2e5f4c(0x160)]),_0x1cd5bc(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5d9ca9['LocalCacheService'])),_0x1cd5bc(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x57fec2[_0x2e5f4c(0x204)])),_0x1cd5bc(0x5,_0x5dd71d[_0x2e5f4c(0x476)](_0x55c888[_0x2e5f4c(0x291)]))],_0x5d9ca9[_0x2e5f4c(0x345)]);var _0x66ad7f=Object[_0x2e5f4c(0x2c2)],_0x2c32c9=Object[_0x2e5f4c(0x4b9)],_0x4729b3=(_0x4f26a3,_0x3aec28,_0x598504,_0x283aed)=>{const _0x404a8c=_0x2e5f4c;for(var _0xc2550=_0x283aed>0x1?void 0x0:_0x283aed?_0x2c32c9(_0x3aec28,_0x598504):_0x3aec28,_0xfe8d5d=_0x4f26a3[_0x404a8c(0x310)]-0x1,_0x474832;_0xfe8d5d>=0x0;_0xfe8d5d--)(_0x474832=_0x4f26a3[_0xfe8d5d])&&(_0xc2550=(_0x283aed?_0x474832(_0x3aec28,_0x598504,_0xc2550):_0x474832(_0xc2550))||_0xc2550);return _0x283aed&&_0xc2550&&_0x66ad7f(_0x3aec28,_0x598504,_0xc2550),_0xc2550;},_0x4b8a88=(_0x2f1ed1,_0x4f3e2d)=>(_0x366d8b,_0x46dcaf)=>_0x4f3e2d(_0x366d8b,_0x46dcaf,_0x2f1ed1);const _0x347580='DEFAULT_FILE_NAME',_0x1acb5d=_0x2e5f4c(0x45a);let _0x3960cb=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x1a9deb,_0x422bf9){const _0x3f6b43=_0x2e5f4c;super(),this[_0x3f6b43(0x546)]=_0x1a9deb,this[_0x3f6b43(0x33c)]=_0x422bf9,this[_0x3f6b43(0x389)]();}[_0x2e5f4c(0x389)](){const _0x2f886b=_0x2e5f4c;this[_0x2f886b(0x360)](this[_0x2f886b(0x546)][_0x2f886b(0x35e)][_0x2f886b(0x3ee)](()=>{const _0x369a4f=_0x2f886b;var _0x4097b;const _0x186445=this[_0x369a4f(0x546)][_0x369a4f(0x48b)]();let _0x42d362=(_0x4097b=this[_0x369a4f(0x33c)][_0x369a4f(0x18e)](_0x347580))!=null?_0x4097b:_0x1acb5d;_0x186445 instanceof _0x5dd71d[_0x369a4f(0x436)]&&(_0x42d362=_0x186445[_0x369a4f(0x52e)]),document['title']=_0x42d362;}));}};_0x3960cb=_0x4729b3([_0x4b8a88(0x0,_0x5dd71d['IUniverInstanceService']),_0x4b8a88(0x1,_0x5dd71d[_0x2e5f4c(0x27c)])],_0x3960cb);var _0x3a2390=Object[_0x2e5f4c(0x2c2)],_0xbeff59=Object[_0x2e5f4c(0x4b9)],_0x3ec717=(_0x2f2acb,_0x49a7ab,_0x1aadf9,_0x1a5844)=>{for(var _0x7a25c0=_0x1a5844>0x1?void 0x0:_0x1a5844?_0xbeff59(_0x49a7ab,_0x1aadf9):_0x49a7ab,_0x23bcfe=_0x2f2acb['length']-0x1,_0x4ed303;_0x23bcfe>=0x0;_0x23bcfe--)(_0x4ed303=_0x2f2acb[_0x23bcfe])&&(_0x7a25c0=(_0x1a5844?_0x4ed303(_0x49a7ab,_0x1aadf9,_0x7a25c0):_0x4ed303(_0x7a25c0))||_0x7a25c0);return _0x1a5844&&_0x7a25c0&&_0x3a2390(_0x49a7ab,_0x1aadf9,_0x7a25c0),_0x7a25c0;},_0x3f2965=(_0x4eecc6,_0x2e69fb)=>(_0x5b6279,_0x2f8c77)=>_0x2e69fb(_0x5b6279,_0x2f8c77,_0x4eecc6);let _0x2d3b16=class{constructor(_0x29a7f3,_0x2cfcdb,_0x374b5a){const _0x324330=_0x2e5f4c;this[_0x324330(0x33c)]=_0x29a7f3,this[_0x324330(0x185)]=_0x2cfcdb,this[_0x324330(0x1c0)]=_0x374b5a,this[_0x324330(0x176)]();}['init'](){const _0x287dae=_0x2e5f4c;this[_0x287dae(0x185)][_0x287dae(0x2e7)]({'priority':0x1,'interceptor':(_0x18e51e,_0x10d6be)=>_0x10d6be(_0x18e51e)[_0x287dae(0x31d)](_0x1e8f3c[_0x287dae(0x463)](async _0x3a8227=>{const _0xfd508b=_0x287dae,_0x6e0633=_0x3a8227;if(_0x6e0633['status']===0x191&&window[_0xfd508b(0x4fd)](this[_0xfd508b(0x1c0)]['t'](_0xfd508b(0x259)))){const _0x1589c4=window[_0xfd508b(0x2f5)](window[_0xfd508b(0x443)][_0xfd508b(0x43a)]);window['location']['href']=this[_0xfd508b(0x1af)]()+_0xfd508b(0x248)+_0x1589c4;}return _0x6e0633;}))});}[_0x2e5f4c(0x1af)](){const _0x2a6fd7=_0x2e5f4c;var _0x1cfe8b,_0x23b723;const _0x321af9=this[_0x2a6fd7(0x33c)][_0x2a6fd7(0x18e)](_0x33aae3),_0xc39628=this[_0x2a6fd7(0x33c)][_0x2a6fd7(0x18e)](_0x505ac2);return(_0x23b723=(_0x1cfe8b=_0xc39628==null?void 0x0:_0xc39628['loginUrlKey'])!=null?_0x1cfe8b:_0x321af9)!=null?_0x23b723:_0xa078ff;}};_0x2d3b16=_0x3ec717([_0x3f2965(0x0,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x3f2965(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65[_0x2e5f4c(0x4f6)])),_0x3f2965(0x2,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x23d)]))],_0x2d3b16);var _0x2c6c0a=Object[_0x2e5f4c(0x2c2)],_0x5561bd=Object[_0x2e5f4c(0x4b9)],_0x377fbd=(_0x208bab,_0x107873,_0x2a3666,_0x689714)=>{for(var _0x1f31db=_0x689714>0x1?void 0x0:_0x689714?_0x5561bd(_0x107873,_0x2a3666):_0x107873,_0x3daaba=_0x208bab['length']-0x1,_0x33c8e9;_0x3daaba>=0x0;_0x3daaba--)(_0x33c8e9=_0x208bab[_0x3daaba])&&(_0x1f31db=(_0x689714?_0x33c8e9(_0x107873,_0x2a3666,_0x1f31db):_0x33c8e9(_0x1f31db))||_0x1f31db);return _0x689714&&_0x1f31db&&_0x2c6c0a(_0x107873,_0x2a3666,_0x1f31db),_0x1f31db;},_0x16711d=(_0x5372dc,_0x4239e3)=>(_0x3c3458,_0x4eb61d)=>_0x4239e3(_0x3c3458,_0x4eb61d,_0x5372dc);const _0x26e7f1=_0x2e5f4c(0x1bd),_0x4ebad2=_0x2e5f4c(0x229);_0x5d9ca9['AuthzIoHttpService']=class extends _0x5dd71d[_0x2e5f4c(0x50f)]{constructor(_0x35815d,_0x43a54e){const _0xec84ab=_0x2e5f4c;super(),this['_HTTPService']=_0x35815d,this[_0xec84ab(0x33c)]=_0x43a54e,this[_0xec84ab(0x1c7)]();}[_0x2e5f4c(0x1c7)](){const _0x49b123=_0x2e5f4c,_0x5eaac5=this;this['disposeWithMe'](this[_0x49b123(0x2c9)][_0x49b123(0x2e7)]({'priority':0x3e7,'interceptor':_0x272b65[_0x49b123(0x18d)]({'isMatch'(_0x467e84){const _0x8c886b=_0x49b123;var _0x156443;if(_0x467e84[_0x8c886b(0x2e6)]==='POST'&&((_0x156443=_0x467e84[_0x8c886b(0x3f1)])!=null&&_0x156443[_0x8c886b(0x2de)])){const {objectID:_0x39ad51,objectType:_0x432837}=_0x467e84['requestParams'][_0x8c886b(0x2de)]||{};if(!_0x39ad51||_0x432837===void 0x0)return!0x1;const _0x4fd48b=_0x5eaac5[_0x8c886b(0x316)]()+'/'+_0x432837+_0x8c886b(0x32e)+_0x39ad51+_0x8c886b(0x47f);if(_0x467e84[_0x8c886b(0x53b)]===_0x4fd48b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x362b39){const _0x6b84c5=_0x49b123;var _0x1038fa;return(_0x1038fa=_0x362b39[_0x6b84c5(0x3f1)])==null?void 0x0:_0x1038fa['body'];},'mergeParamsToRequest'(_0x18a828,_0xe1f87c){const _0x4cc9f5=_0x49b123,_0x1ed59b=_0x5eaac5[_0x4cc9f5(0x316)]()+_0x4cc9f5(0x4a5),_0x50c1dc=_0x18a828[_0x4cc9f5(0x515)]((_0x1ee87c,_0x55c8ef)=>{const _0x2586dd=_0x4cc9f5,{unitID:_0x416eac,objectID:_0x317197,objectType:_0x27064f,actions:_0x94a8e9}=_0x55c8ef;return _0x1ee87c[_0x416eac]||(_0x1ee87c[_0x416eac]={}),_0x1ee87c[_0x416eac][_0x317197]||(_0x1ee87c[_0x416eac][_0x317197]={'objectID':_0x317197,'objectType':_0x27064f,'actions':[]}),_0x1ee87c[_0x416eac][_0x317197][_0x2586dd(0x317)][_0x2586dd(0x36b)](..._0x94a8e9),_0x1ee87c;},{}),_0x48f817=[];for(const _0x24b33b in _0x50c1dc)for(const _0x185e55 in _0x50c1dc[_0x24b33b]){const {actions:_0x20094d,objectType:_0xec5494}=_0x50c1dc[_0x24b33b][_0x185e55],_0x37c542=[...new Set(_0x20094d)];_0x48f817[_0x4cc9f5(0x36b)]({'unitID':_0x24b33b,'objectID':_0x185e55,'objectType':_0xec5494,'actions':_0x37c542});}return new _0x272b65[(_0x4cc9f5(0x17f))](_0x4cc9f5(0x3b3),_0x1ed59b,{'headers':_0xe1f87c[_0x4cc9f5(0x1b4)],'withCredentials':_0xe1f87c[_0x4cc9f5(0x162)],'responseType':_0xe1f87c['responseType'],'body':{'requests':_0x48f817}});}},{'distributeResult'(_0x3210f9,_0x218e1c){const _0x12d6e3=_0x49b123,{objectActions:_0x1cff05}=_0x3210f9;return _0x218e1c[_0x12d6e3(0x4c4)](_0x445043=>{const _0x19a6a7=_0x12d6e3,{unitID:_0x13b884,objectID:_0x45ca3a,actions:_0x54d514}=_0x445043,_0x1bb21f=_0x1cff05[_0x19a6a7(0x186)](_0x2e5cc5=>_0x2e5cc5[_0x19a6a7(0x145)]===_0x13b884&&_0x2e5cc5[_0x19a6a7(0x29c)]===_0x45ca3a),_0x32fec5=_0x54d514['map'](_0x2123ec=>_0x1bb21f==null?void 0x0:_0x1bb21f[_0x19a6a7(0x317)][_0x19a6a7(0x186)](_0x4a8258=>_0x4a8258[_0x19a6a7(0x2fb)]===_0x2123ec))[_0x19a6a7(0x293)](_0x146898=>!!_0x146898);return{'config':_0x445043,'result':{'actions':_0x32fec5,'error':_0x3210f9[_0x19a6a7(0x2ac)]}};});}})}));}[_0x2e5f4c(0x316)](){const _0x360ddc=_0x2e5f4c;var _0x1bd0ff,_0x3c0d74;const _0x3328aa=this[_0x360ddc(0x33c)][_0x360ddc(0x18e)](_0x26e7f1),_0x5318f4=this[_0x360ddc(0x33c)][_0x360ddc(0x18e)](_0x505ac2);return(_0x3c0d74=(_0x1bd0ff=_0x5318f4==null?void 0x0:_0x5318f4[_0x360ddc(0x393)])!=null?_0x1bd0ff:_0x3328aa)!=null?_0x3c0d74:_0x4ebad2;}async['create'](_0x304756){const _0x45abb7=_0x2e5f4c,_0x3b499f=this['_getAPIPrefixPath']()+'/'+_0x304756[_0x45abb7(0x268)]+_0x45abb7(0x56f);return(await this[_0x45abb7(0x2c9)][_0x45abb7(0x551)](_0x3b499f,{'body':_0x304756}))[_0x45abb7(0x2de)][_0x45abb7(0x29c)]||'';}async[_0x2e5f4c(0x351)](_0x3ad5e2){const _0x5dea67=_0x2e5f4c,_0x1b5191=this[_0x5dea67(0x316)]()+_0x5dea67(0x304);return(await this['_HTTPService'][_0x5dea67(0x551)](_0x1b5191,{'body':_0x3ad5e2}))[_0x5dea67(0x2de)][_0x5dea67(0x4e1)];}async[_0x2e5f4c(0x2eb)](_0x3226aa){const _0x5e6817=_0x2e5f4c,_0x4e2f99=this['_getAPIPrefixPath']()+'/'+_0x3226aa['objectType']+_0x5e6817(0x32e)+_0x3226aa[_0x5e6817(0x29c)];await this[_0x5e6817(0x2c9)][_0x5e6817(0x50a)](_0x4e2f99,{'body':_0x3226aa});}async[_0x2e5f4c(0x311)](_0x10ecd6){const _0x22b02a=_0x2e5f4c,_0xdc17d2=this['_getAPIPrefixPath']()+'/'+_0x10ecd6[_0x22b02a(0x268)]+_0x22b02a(0x32e)+_0x10ecd6['objectID']+_0x22b02a(0x47f);return(await this[_0x22b02a(0x2c9)][_0x22b02a(0x551)](_0xdc17d2,{'body':_0x10ecd6}))[_0x22b02a(0x2de)][_0x22b02a(0x317)];}async[_0x2e5f4c(0x571)](_0x1b8406){const _0x3d2318=_0x2e5f4c,_0x55ad0e=this[_0x3d2318(0x316)]()+_0x3d2318(0x4a5);return(await this[_0x3d2318(0x2c9)][_0x3d2318(0x551)](_0x55ad0e,{'body':{'requests':_0x1b8406}}))[_0x3d2318(0x2de)][_0x3d2318(0x474)];}async[_0x2e5f4c(0x142)](_0x2eec55){const _0x587407=_0x2e5f4c,_0x213159=this[_0x587407(0x316)]()+'/'+_0x2eec55[_0x587407(0x268)]+_0x587407(0x2da),_0x4c9d60=await this['_HTTPService']['post'](_0x213159,{'body':_0x2eec55});return{'roles':_0x4c9d60[_0x587407(0x2de)][_0x587407(0x41d)],'actions':_0x4c9d60[_0x587407(0x2de)]['actions']};}async[_0x2e5f4c(0x398)](_0x174496){const _0x1c8ef7=_0x2e5f4c,_0x4f3bd5=this[_0x1c8ef7(0x316)]()+'/collaborator';await this[_0x1c8ef7(0x2c9)][_0x1c8ef7(0x370)](_0x4f3bd5,{'params':{'collaboratorID':_0x174496[_0x1c8ef7(0x20d)],'objectID':_0x174496[_0x1c8ef7(0x29c)],'unitID':_0x174496[_0x1c8ef7(0x145)]}});}async[_0x2e5f4c(0x413)](_0x1e3580){const _0x1e685f=_0x2e5f4c,_0x3c3d19=this[_0x1e685f(0x316)]()+_0x1e685f(0x2c6);await this['_HTTPService']['patch'](_0x3c3d19,{'body':_0x1e3580});}async[_0x2e5f4c(0x342)](_0x10ca2e){const _0x30121b=_0x2e5f4c,_0x48877d=this[_0x30121b(0x316)]()+_0x30121b(0x2c6);await this[_0x30121b(0x2c9)][_0x30121b(0x551)](_0x48877d,{'body':_0x10ca2e});}async['listCollaborators'](_0x5e4266){const _0x13bc65=_0x2e5f4c,_0x2da6de=this[_0x13bc65(0x316)]()+_0x13bc65(0x2c6);return(await this[_0x13bc65(0x2c9)][_0x13bc65(0x578)](_0x2da6de,{'params':{'objectID':_0x5e4266[_0x13bc65(0x29c)],'unitID':_0x5e4266[_0x13bc65(0x145)]}}))[_0x13bc65(0x2de)]['collaborators'];}async[_0x2e5f4c(0x4d3)](_0x42b965){const _0x51db3a=_0x2e5f4c,_0x56ac69=this['_getAPIPrefixPath']()+_0x51db3a(0x2c6);await this[_0x51db3a(0x2c9)][_0x51db3a(0x50a)](_0x56ac69,{'body':_0x42b965});}},_0x5d9ca9['AuthzIoHttpService']=_0x377fbd([_0x16711d(0x0,_0x5dd71d['Inject'](_0x272b65[_0x2e5f4c(0x4f6)])),_0x16711d(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d['IConfigService']))],_0x5d9ca9[_0x2e5f4c(0x144)]);var _0x510262=Object[_0x2e5f4c(0x2c2)],_0x4cbc21=Object[_0x2e5f4c(0x4b9)],_0xf226b2=(_0x2201cd,_0x8d7fde,_0xb2d9,_0x52b248)=>{for(var _0x5540c8=_0x52b248>0x1?void 0x0:_0x52b248?_0x4cbc21(_0x8d7fde,_0xb2d9):_0x8d7fde,_0x165c56=_0x2201cd['length']-0x1,_0x4e294b;_0x165c56>=0x0;_0x165c56--)(_0x4e294b=_0x2201cd[_0x165c56])&&(_0x5540c8=(_0x52b248?_0x4e294b(_0x8d7fde,_0xb2d9,_0x5540c8):_0x4e294b(_0x5540c8))||_0x5540c8);return _0x52b248&&_0x5540c8&&_0x510262(_0x8d7fde,_0xb2d9,_0x5540c8),_0x5540c8;},_0x14e0e5=(_0x31c55e,_0x2c5c59)=>(_0x543602,_0x5def3a)=>_0x2c5c59(_0x543602,_0x5def3a,_0x31c55e);let _0x535a03=class{constructor(_0x35ecab){const _0x4cd6fd=_0x2e5f4c;this[_0x4cd6fd(0x185)]=_0x35ecab,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x33b24b=_0x2e5f4c;this[_0x33b24b(0x185)][_0x33b24b(0x2e7)]({'interceptor':(_0x4683d2,_0x405f42)=>{const _0x1a3784=_0x33b24b,_0x3e1205=_0x4683d2[_0x1a3784(0x1b4)],_0x9a116e=_0x40a85b[_0x1a3784(0x3af)]();return _0x9a116e&&_0x3e1205['set'](_0x1a3784(0x454),_0x9a116e),_0x405f42(_0x4683d2);}});}};_0x535a03=_0xf226b2([_0x14e0e5(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65['HTTPService']))],_0x535a03);var _0x2c3eb3=Object['defineProperty'],_0x338960=Object[_0x2e5f4c(0x4b9)],_0x5039f2=(_0x1a6273,_0x49bbe9,_0x6b3b92,_0x2bff28)=>{const _0x588eec=_0x2e5f4c;for(var _0x12af21=_0x2bff28>0x1?void 0x0:_0x2bff28?_0x338960(_0x49bbe9,_0x6b3b92):_0x49bbe9,_0x2237f7=_0x1a6273[_0x588eec(0x310)]-0x1,_0x2bb2a7;_0x2237f7>=0x0;_0x2237f7--)(_0x2bb2a7=_0x1a6273[_0x2237f7])&&(_0x12af21=(_0x2bff28?_0x2bb2a7(_0x49bbe9,_0x6b3b92,_0x12af21):_0x2bb2a7(_0x12af21))||_0x12af21);return _0x2bff28&&_0x12af21&&_0x2c3eb3(_0x49bbe9,_0x6b3b92,_0x12af21),_0x12af21;},_0x402353=(_0x174c2f,_0x50a93f)=>(_0x4aa73e,_0x1bbc1f)=>_0x50a93f(_0x4aa73e,_0x1bbc1f,_0x174c2f);const _0x26d712=['image/png','image/jpeg',_0x2e5f4c(0x4f3),_0x2e5f4c(0x4f1),_0x2e5f4c(0x56e)],_0x2f82fd=0x5*0x400*0x400,_0x1f75b3='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x37a70d=_0x2e5f4c(0x47e),_0x670d2c=_0x2e5f4c(0x32c),_0x31c616='/universer-api/file/{fileID}/sign-url';_0x5d9ca9[_0x2e5f4c(0x15f)]=class{constructor(_0x2f971e,_0x15f580,_0x1517f4){const _0x42a8f5=_0x2e5f4c;_0x30b9f2(this,_0x42a8f5(0x3c7),0x0),_0x30b9f2(this,_0x42a8f5(0x13d),new _0x1e8f3c[(_0x42a8f5(0x2d3))]()),_0x30b9f2(this,_0x42a8f5(0x418),this['_change$']),_0x30b9f2(this,_0x42a8f5(0x4b4),new Map()),(this[_0x42a8f5(0x185)]=_0x2f971e,this['_configService']=_0x15f580,this[_0x42a8f5(0x546)]=_0x1517f4);}[_0x2e5f4c(0x263)](_0x5d5389){const _0x1dd29b=_0x2e5f4c;this['_waitCount']=_0x5d5389,this['_change$'][_0x1dd29b(0x228)](_0x5d5389);}[_0x2e5f4c(0x1a1)](_0x1a67bd,_0x4ff4be){const _0x2e89b3=_0x2e5f4c;if(_0x4ff4be===_0x1cf942['ImageSourceType'][_0x2e89b3(0x2b1)]){const _0x1dd39a=new Image();return _0x1dd39a[_0x2e89b3(0x482)]=_0x1a67bd,_0x1dd39a;}return this[_0x2e89b3(0x4b4)][_0x2e89b3(0x578)](_0x1a67bd);}['addImageSourceCache'](_0x109bb2,_0xcf2fca,_0x3260a3){const _0x3e93c1=_0x2e5f4c;_0xcf2fca===_0x1cf942[_0x3e93c1(0x535)]['BASE64']||_0x3260a3==null||this[_0x3e93c1(0x4b4)][_0x3e93c1(0x246)](_0x109bb2,_0x3260a3);}async[_0x2e5f4c(0x4e4)](_0x1ca978){const _0x462c31=_0x2e5f4c;try{const _0x437225=this[_0x462c31(0x1e4)](this[_0x462c31(0x375)](),''+_0x1ca978),_0x1b847b=(await this[_0x462c31(0x185)][_0x462c31(0x578)](_0x437225))[_0x462c31(0x2de)];if(_0x1b847b[_0x462c31(0x2ac)]&&_0x1b847b[_0x462c31(0x2ac)]['code']===_0x378745['OK']){const _0x5f314c=new URL(_0x1b847b['url'],this['_getDownloadEndpointURL']())[_0x462c31(0x46f)]();return Promise['resolve'](_0x5f314c);}return Promise[_0x462c31(0x1c8)](_0x1b847b['error']);}catch(_0x43641b){return Promise[_0x462c31(0x1c8)](_0x43641b);}}async[_0x2e5f4c(0x269)](_0x464eef){const _0xdf0345=_0x2e5f4c;let _0x23f014='';if(!_0x26d712['includes'](_0x464eef['type']))return this[_0xdf0345(0x466)](),Promise[_0xdf0345(0x1c8)](new Error(_0x1cf942[_0xdf0345(0x2d4)][_0xdf0345(0x572)]));if(_0x464eef[_0xdf0345(0x1f1)]>_0x2f82fd)return this[_0xdf0345(0x466)](),Promise[_0xdf0345(0x1c8)](new Error(_0x1cf942['ImageUploadStatusType'][_0xdf0345(0x299)]));try{const _0xa8430=new FormData();_0xa8430[_0xdf0345(0x26a)](_0xdf0345(0x166),_0x464eef);const _0x3e454a=this[_0xdf0345(0x546)][_0xdf0345(0x48b)](),_0x4cdbe6=_0x3e454a==null?void 0x0:_0x3e454a[_0xdf0345(0x29e)]();if(!_0x4cdbe6)throw new Error(_0xdf0345(0x3ec));const _0x32de17=this[_0xdf0345(0x361)]()+'?size='+_0x464eef[_0xdf0345(0x1f1)][_0xdf0345(0x46f)]()+_0xdf0345(0x17d)+_0x12f3da[_0xdf0345(0x2ec)]+'&assign='+encodeURIComponent(_0x4cdbe6),_0x547ca5=await(await fetch(_0x32de17,{'method':_0xdf0345(0x3b3),'body':_0xa8430}))[_0xdf0345(0x1eb)]();if(typeof _0x547ca5['FileId']!=_0xdf0345(0x3c2))return this['_decreaseWaiting'](),Promise[_0xdf0345(0x1c8)](new Error(_0x1cf942[_0xdf0345(0x2d4)]['ERROR_IMAGE']));_0x23f014=_0x547ca5['FileId'];}catch{return this[_0xdf0345(0x466)](),Promise[_0xdf0345(0x1c8)](new Error(_0x1cf942[_0xdf0345(0x2d4)][_0xdf0345(0x401)]));}return new Promise((_0x55d9ee,_0x26b478)=>{const _0x14b44b=_0xdf0345,_0x44183a=new FileReader();_0x44183a['readAsDataURL'](_0x464eef),_0x44183a[_0x14b44b(0x3d4)]=_0x78635=>{const _0x4dbf90=_0x14b44b;var _0x102c75;const _0x989e7=(_0x102c75=_0x78635['target'])==null?void 0x0:_0x102c75[_0x4dbf90(0x38e)];if(_0x989e7==null){this[_0x4dbf90(0x466)](),_0x26b478(new Error(_0x1cf942['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x5e5216=_0x5dd71d[_0x4dbf90(0x451)][_0x4dbf90(0x4e9)](0x6);_0x55d9ee({'imageId':_0x5e5216,'imageSourceType':_0x1cf942[_0x4dbf90(0x535)]['UUID'],'source':_0x23f014,'base64Cache':_0x989e7,'status':_0x1cf942[_0x4dbf90(0x2d4)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x2e5f4c(0x361)](){const _0x2ab59a=_0x2e5f4c;var _0x1dc8d3,_0x4c1888;const _0x2f0f6d=this[_0x2ab59a(0x33c)][_0x2ab59a(0x18e)](_0x1f75b3),_0x3e3ff5=this[_0x2ab59a(0x33c)][_0x2ab59a(0x18e)](_0x505ac2);return(_0x4c1888=(_0x1dc8d3=_0x3e3ff5==null?void 0x0:_0x3e3ff5[_0x2ab59a(0x348)])!=null?_0x1dc8d3:_0x2f0f6d)!=null?_0x4c1888:_0x37a70d;}[_0x2e5f4c(0x375)](){const _0x41a5d8=_0x2e5f4c;var _0xe32d46,_0x58b34e;const _0x10df78=this[_0x41a5d8(0x33c)][_0x41a5d8(0x18e)](_0x670d2c),_0x5b48c7=this[_0x41a5d8(0x33c)]['getConfig'](_0x505ac2);return(_0x58b34e=(_0xe32d46=_0x5b48c7==null?void 0x0:_0x5b48c7[_0x41a5d8(0x2e3)])!=null?_0xe32d46:_0x10df78)!=null?_0x58b34e:_0x31c616;}[_0x2e5f4c(0x328)](){const _0x46a091=_0x2e5f4c;var _0x1a1b0d;const _0x512af5=this['_configService']['getConfig'](_0x505ac2);return(_0x1a1b0d=_0x512af5==null?void 0x0:_0x512af5[_0x46a091(0x531)])!=null?_0x1a1b0d:location[_0x46a091(0x4ea)];}[_0x2e5f4c(0x1e4)](_0x41d64c,_0x1755f4){const _0x415cb9=_0x2e5f4c;return _0x41d64c['replace'](_0x415cb9(0x34d),_0x1755f4);}[_0x2e5f4c(0x466)](){const _0x5a3424=_0x2e5f4c;this[_0x5a3424(0x3c7)]-=0x1,this[_0x5a3424(0x13d)][_0x5a3424(0x228)](this[_0x5a3424(0x3c7)]);}},_0x5d9ca9[_0x2e5f4c(0x15f)]=_0x5039f2([_0x402353(0x0,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65[_0x2e5f4c(0x4f6)])),_0x402353(0x1,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x402353(0x2,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x373)]))],_0x5d9ca9['ImageIoService']);var _0xf4b7d=Object['defineProperty'],_0xf543b4=Object[_0x2e5f4c(0x4b9)],_0x1ddd89=(_0x1a117d,_0x1e2878,_0x584f45,_0x5088d6)=>{const _0x22939f=_0x2e5f4c;for(var _0x14910d=_0x5088d6>0x1?void 0x0:_0x5088d6?_0xf543b4(_0x1e2878,_0x584f45):_0x1e2878,_0x5857ca=_0x1a117d[_0x22939f(0x310)]-0x1,_0x588302;_0x5857ca>=0x0;_0x5857ca--)(_0x588302=_0x1a117d[_0x5857ca])&&(_0x14910d=(_0x5088d6?_0x588302(_0x1e2878,_0x584f45,_0x14910d):_0x588302(_0x14910d))||_0x14910d);return _0x5088d6&&_0x14910d&&_0xf4b7d(_0x1e2878,_0x584f45,_0x14910d),_0x14910d;},_0x2b5a0d=(_0x4af4b4,_0x2b83bd)=>(_0x35efd9,_0x105a98)=>_0x2b83bd(_0x35efd9,_0x105a98,_0x4af4b4);let _0x221ccc=class extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(_0x553ab4,_0x51e11b,_0x2b6ade,_0x39cf3c,_0x17d3d1){const _0x138a99=_0x2e5f4c;super(),this[_0x138a99(0x3bf)]=_0x553ab4,this[_0x138a99(0x546)]=_0x51e11b,this[_0x138a99(0x26c)]=_0x2b6ade,this[_0x138a99(0x538)]=_0x39cf3c,this['_localeService']=_0x17d3d1,this[_0x138a99(0x1c5)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x510bd1=_0x2e5f4c,_0x1200e7=async _0x37b099=>{const _0x5ac0d3=_0x9a79;(await this[_0x5ac0d3(0x538)]['requireSession'](_0x37b099))[_0x5ac0d3(0x394)]['pipe'](_0x58074b['filter'](_0x2a466f=>_0x2a466f[_0x5ac0d3(0x210)]===_0x57fec2[_0x5ac0d3(0x2ff)][_0x5ac0d3(0x2e9)]),_0x58074b[_0x5ac0d3(0x16c)](this[_0x5ac0d3(0x487)]))['subscribe'](_0x30cf09=>{const _0x458fb7=_0x5ac0d3,_0x3dd5c0=_0x30cf09,{reason:_0x39a6d5}=_0x3dd5c0[_0x458fb7(0x51b)];this['_injector'][_0x458fb7(0x578)](_0x43bf7d[_0x458fb7(0x358)])[_0x458fb7(0x4f2)]({'type':_0x4fd8aa['MessageType'][_0x458fb7(0x2c0)],'content':this[_0x458fb7(0x3f9)]['t']('collaboration.closeRoom')+'('+_0x39a6d5+')'}),this[_0x458fb7(0x26c)]['updatePermissionPoint'](new _0x51fcfd[(_0x458fb7(0x349))](_0x37b099)['id'],!0x1),this[_0x458fb7(0x538)][_0x458fb7(0x2ea)](_0x37b099);});};_0x1e8f3c[_0x510bd1(0x249)](this['_univerInstanceService'][_0x510bd1(0x480)](_0x5dd71d[_0x510bd1(0x14d)][_0x510bd1(0x530)]),this['_univerInstanceService'][_0x510bd1(0x480)](_0x5dd71d['UniverInstanceType'][_0x510bd1(0x4de)]))[_0x510bd1(0x31d)](_0x58074b[_0x510bd1(0x4c4)](_0x35e282=>_0x35e282[_0x510bd1(0x29e)]()),_0x58074b[_0x510bd1(0x293)](_0x20fe5b=>!_0x5dd71d[_0x510bd1(0x45e)](_0x20fe5b)),_0x58074b['takeUntil'](this[_0x510bd1(0x487)]))[_0x510bd1(0x3ee)](_0x3180c1=>{_0x1200e7(_0x3180c1);});}[_0x2e5f4c(0x1c5)](){const _0x1af3e7=_0x2e5f4c,_0x3c623e=async _0x117ca8=>{const _0x27074b=_0x9a79;(await this[_0x27074b(0x538)]['requireSession'](_0x117ca8))['event$'][_0x27074b(0x31d)](_0x58074b['filter'](_0x5bf728=>_0x5bf728[_0x27074b(0x210)]===_0x57fec2['CollaborationEvent'][_0x27074b(0x326)]),_0x58074b['takeUntil'](this[_0x27074b(0x487)]))['subscribe'](_0x420a08=>{const _0x49e5c6=_0x27074b,_0x3c4bc9=_0x420a08,{objectId:_0x44fe7e}=_0x3c4bc9[_0x49e5c6(0x51b)],_0x5aaf2e=this[_0x49e5c6(0x3bf)][_0x49e5c6(0x578)](_0x1a18db[_0x49e5c6(0x446)]);_0x44fe7e===_0x117ca8?_0x5aaf2e[_0x49e5c6(0x1c6)](_0x117ca8):_0x5aaf2e[_0x49e5c6(0x528)](_0x117ca8,_0x44fe7e);});};_0x1e8f3c['merge'](this[_0x1af3e7(0x546)][_0x1af3e7(0x480)](_0x5dd71d[_0x1af3e7(0x14d)][_0x1af3e7(0x530)]),this[_0x1af3e7(0x546)]['getTypeOfUnitAdded$'](_0x5dd71d[_0x1af3e7(0x14d)][_0x1af3e7(0x4de)]))[_0x1af3e7(0x31d)](_0x58074b[_0x1af3e7(0x4c4)](_0x53760a=>_0x53760a[_0x1af3e7(0x29e)]()),_0x58074b[_0x1af3e7(0x293)](_0x63d311=>!_0x5dd71d[_0x1af3e7(0x45e)](_0x63d311)),_0x58074b[_0x1af3e7(0x16c)](this[_0x1af3e7(0x487)]))[_0x1af3e7(0x3ee)](_0x4477aa=>{_0x3c623e(_0x4477aa);});}};_0x221ccc=_0x1ddd89([_0x2b5a0d(0x0,_0x5dd71d['Inject'](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x2b5a0d(0x1,_0x5dd71d['IUniverInstanceService']),_0x2b5a0d(0x2,_0x5dd71d['IPermissionService']),_0x2b5a0d(0x3,_0x5dd71d['Inject'](_0x5d9ca9['CollaborationSessionService'])),_0x2b5a0d(0x4,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x23d)]))],_0x221ccc);var _0x2fb834=Object[_0x2e5f4c(0x2c2)],_0x41f41c=Object[_0x2e5f4c(0x4b9)],_0x32bce7=(_0x3cba9f,_0x46b316,_0xc8f078,_0x21c3cd)=>{const _0x49f534=_0x2e5f4c;for(var _0x533913=_0x21c3cd>0x1?void 0x0:_0x21c3cd?_0x41f41c(_0x46b316,_0xc8f078):_0x46b316,_0x465e63=_0x3cba9f[_0x49f534(0x310)]-0x1,_0x146771;_0x465e63>=0x0;_0x465e63--)(_0x146771=_0x3cba9f[_0x465e63])&&(_0x533913=(_0x21c3cd?_0x146771(_0x46b316,_0xc8f078,_0x533913):_0x146771(_0x533913))||_0x533913);return _0x21c3cd&&_0x533913&&_0x2fb834(_0x46b316,_0xc8f078,_0x533913),_0x533913;},_0x51dd5c=(_0x2e3507,_0x443407)=>(_0x1fe8c1,_0x3461b2)=>_0x443407(_0x1fe8c1,_0x3461b2,_0x2e3507);_0x5d9ca9['SnapshotServerOverHTTPService']=class{constructor(_0x451bdf,_0x4c64be){const _0x23026b=_0x2e5f4c;this[_0x23026b(0x33c)]=_0x451bdf,this[_0x23026b(0x185)]=_0x4c64be;}async[_0x2e5f4c(0x3dd)](_0x1dea9e,_0x55e5fc){const _0x5eeb48=_0x2e5f4c;var _0x2e0e62;const {unitID:_0x1e5f98,type:_0x53b75d,revision:_0x200bae=0x0}=_0x55e5fc,_0x206531=this[_0x5eeb48(0x36f)]()+'/'+_0x53b75d+_0x5eeb48(0x28b)+_0x1e5f98+_0x5eeb48(0x34c)+_0x200bae,_0x11173c=(await this['_httpService'][_0x5eeb48(0x578)](_0x206531))[_0x5eeb48(0x2de)],_0x3d5088=(_0x2e0e62=_0x11173c[_0x5eeb48(0x40a)])==null?void 0x0:_0x2e0e62[_0x5eeb48(0x312)];if(_0x3d5088){const _0x1098c3=_0x3d5088==null?void 0x0:_0x3d5088[_0x5eeb48(0x4f9)],_0x2222f0=_0x57fec2['textEncoder'][_0x5eeb48(0x3ba)](_0x57fec2[_0x5eeb48(0x21b)](_0x1098c3));_0x3d5088[_0x5eeb48(0x4f9)]=_0x2222f0,Object['entries'](_0x3d5088[_0x5eeb48(0x274)])[_0x5eeb48(0x3e9)](([,_0x4ec32d])=>{const _0x55460c=_0x5eeb48,_0xaba9a8=_0x4ec32d['originalMeta'],_0x4ace0f=_0x57fec2[_0x55460c(0x226)][_0x55460c(0x3ba)](_0x57fec2[_0x55460c(0x21b)](_0xaba9a8));_0x4ec32d[_0x55460c(0x4f9)]=_0x4ace0f;});}return _0x11173c;}async[_0x2e5f4c(0x30a)](_0x1dd1a8,_0x5b8e04){const _0x310689=_0x2e5f4c,{unitID:_0x343887,type:_0x30a158,blockID:_0x3b3adb}=_0x5b8e04,_0x2af3d3=this[_0x310689(0x2bc)]()+'/'+_0x30a158+_0x310689(0x28b)+_0x343887+_0x310689(0x4b8)+_0x3b3adb;return(await this[_0x310689(0x185)][_0x310689(0x578)](_0x2af3d3))[_0x310689(0x2de)];}async[_0x2e5f4c(0x566)](_0x475de0,_0x594d98){const _0x32debc=_0x2e5f4c,{unitID:_0x3fb7bd,type:_0x442f08,blockID:_0x5d88c7}=_0x594d98,_0x39805b=this[_0x32debc(0x2bc)]()+_0x32debc(0x4b8)+_0x442f08+_0x32debc(0x28b)+_0x3fb7bd+_0x32debc(0x4b8)+_0x5d88c7;return(await this['_httpService']['get'](_0x39805b))[_0x32debc(0x2de)];}async[_0x2e5f4c(0x335)](_0x297b27,_0x25c1de){const _0x10ac3e=_0x2e5f4c,{unitID:_0x10ddad,type:_0x97db25,from:_0x423666,to:_0x17b217}=_0x25c1de,_0x1ee026=this['_getAPIPrefix']()+'/'+_0x97db25+_0x10ac3e(0x28b)+_0x10ddad+_0x10ac3e(0x337)+_0x423666+_0x10ac3e(0x559)+_0x17b217;return(await this['_httpService'][_0x10ac3e(0x578)](_0x1ee026))[_0x10ac3e(0x2de)];}[_0x2e5f4c(0x36f)](){const _0x165aeb=_0x2e5f4c;var _0x41dc62;return(_0x41dc62=this[_0x165aeb(0x33c)][_0x165aeb(0x18e)](_0x5d6fbd))!=null?_0x41dc62:this['_getAPIPrefix']();}[_0x2e5f4c(0x2bc)](){const _0x80d30f=_0x2e5f4c;var _0xfef980,_0x3da3e2;const _0x41c134=this['_configService'][_0x80d30f(0x18e)](_0x29ec86),_0x392600=this[_0x80d30f(0x33c)]['getConfig'](_0x505ac2);return(_0x3da3e2=(_0xfef980=_0x392600==null?void 0x0:_0x392600[_0x80d30f(0x227)])!=null?_0xfef980:_0x41c134)!=null?_0x3da3e2:_0x65c2a1;}async[_0x2e5f4c(0x40f)](_0x1bb394,_0x1f5075){const _0x438864=_0x2e5f4c,_0x534df5=_0x438864(0x14f)+_0x1f5075[_0x438864(0x4c7)]+_0x438864(0x28b)+_0x1f5075[_0x438864(0x145)]+_0x438864(0x518);return(await this[_0x438864(0x185)][_0x438864(0x578)](_0x534df5,{'params':{'resourceId':JSON[_0x438864(0x4eb)](_0x1f5075[_0x438864(0x1e5)])}}))[_0x438864(0x2de)];}[_0x2e5f4c(0x20f)](){const _0x2183a0=_0x2e5f4c;throw new Error(_0x2183a0(0x414));}[_0x2e5f4c(0x39d)](){const _0x4dbfda=_0x2e5f4c;throw new Error(_0x4dbfda(0x414));}['saveChangeset'](){const _0x38137a=_0x2e5f4c;throw new Error(_0x38137a(0x414));}[_0x2e5f4c(0x1a8)](){const _0x53823e=_0x2e5f4c;throw new Error(_0x53823e(0x414));}[_0x2e5f4c(0x44d)](){const _0xe36de2=_0x2e5f4c;throw new Error(_0xe36de2(0x414));}},_0x5d9ca9[_0x2e5f4c(0x219)]=_0x32bce7([_0x51dd5c(0x0,_0x5dd71d[_0x2e5f4c(0x27c)]),_0x51dd5c(0x1,_0x5dd71d[_0x2e5f4c(0x391)](_0x272b65[_0x2e5f4c(0x4f6)]))],_0x5d9ca9[_0x2e5f4c(0x219)]);var _0x275a29=Object[_0x2e5f4c(0x2c2)],_0x33f350=Object[_0x2e5f4c(0x4b9)],_0x3e3c83=(_0x306b11,_0x429a35,_0x4ca817,_0x129568)=>{for(var _0xa97e1b=_0x129568>0x1?void 0x0:_0x129568?_0x33f350(_0x429a35,_0x4ca817):_0x429a35,_0x2695d5=_0x306b11['length']-0x1,_0x462529;_0x2695d5>=0x0;_0x2695d5--)(_0x462529=_0x306b11[_0x2695d5])&&(_0xa97e1b=(_0x129568?_0x462529(_0x429a35,_0x4ca817,_0xa97e1b):_0x462529(_0xa97e1b))||_0xa97e1b);return _0x129568&&_0xa97e1b&&_0x275a29(_0x429a35,_0x4ca817,_0xa97e1b),_0xa97e1b;},_0xd1ef65=(_0x409822,_0x1fb005)=>(_0x5648bb,_0x1d0310)=>_0x1fb005(_0x5648bb,_0x1d0310,_0x409822);let _0x4a863f=class extends _0x5dd71d['LocalUndoRedoService']{constructor(_0x248516,_0x4d3928,_0x11d4bb,_0x5d15cc,_0x2f8627){const _0x1cd78e=_0x2e5f4c;super(_0x248516,_0x4d3928,_0x11d4bb),this[_0x1cd78e(0x1a4)]=_0x5d15cc,this[_0x1cd78e(0x55b)]=_0x2f8627;}[_0x2e5f4c(0x3fb)](_0x367c0f,_0x7a2b24){const _0x25feeb=_0x2e5f4c,_0x25d818=this[_0x25feeb(0x44a)](_0x367c0f);if(_0x25d818)try{const _0xe933a3=this['_transformStack'](_0x25d818,_0x7a2b24);this[_0x25feeb(0x1f5)](_0x367c0f,_0xe933a3);}catch(_0x2ac00d){this[_0x25feeb(0x55b)][_0x25feeb(0x2ac)](_0x25feeb(0x3a2),_0x2ac00d),this[_0x25feeb(0x434)](_0x367c0f);}const _0xaa21a=this[_0x25feeb(0x461)](_0x367c0f);if(_0xaa21a)try{const _0x30aab4=this[_0x25feeb(0x46e)](_0xaa21a,_0x7a2b24);this['_substituteRedoStack'](_0x367c0f,_0x30aab4);}catch(_0x2e6c1f){this[_0x25feeb(0x55b)][_0x25feeb(0x2ac)](_0x2e6c1f),this['_clearRedo'](_0x367c0f);}}[_0x2e5f4c(0x434)](_0x5ac50c){const _0x30a48b=this['_getUndoStack'](_0x5ac50c);_0x30a48b&&(_0x30a48b['length']=0x0,this['_updateStatus']());}[_0x2e5f4c(0x325)](_0x441c1b){const _0x142ba5=_0x2e5f4c,_0x52ac70=this[_0x142ba5(0x461)](_0x441c1b);_0x52ac70&&(_0x52ac70['length']=0x0,this[_0x142ba5(0x3ce)]());}['_substituteUndoStack'](_0x4742b3,_0x4216ea){const _0x4cb2bc=_0x2e5f4c;this[_0x4cb2bc(0x244)][_0x4cb2bc(0x246)](_0x4742b3,_0x4216ea),this[_0x4cb2bc(0x3ce)]();}[_0x2e5f4c(0x56b)](_0x5cc142,_0x1d05bf){const _0x1ad192=_0x2e5f4c;this[_0x1ad192(0x23b)][_0x1ad192(0x246)](_0x5cc142,_0x1d05bf),this['_updateStatus']();}[_0x2e5f4c(0x46e)](_0x51e99d,_0xaabd99){const _0x3238d8=_0x2e5f4c,_0x116865=[];let _0x3df835=_0xaabd99,_0xca04f2=_0xaabd99;for(let _0x74c008=_0x51e99d[_0x3238d8(0x310)]-0x1;_0x74c008>=0x0;_0x74c008--){const {unitID:_0x43a129,undoMutations:_0x33101d,redoMutations:_0x25885e}=_0x51e99d[_0x74c008],_0x3c131f=this['_transformService'][_0x3238d8(0x322)](_0x3df835,_0x33101d),_0x4d2aec=this[_0x3238d8(0x1a4)]['transformMutationsWithChangeset'](_0xca04f2,_0x25885e);if(_0x57fec2[_0x3238d8(0x1b2)](_0x3c131f)||_0x57fec2[_0x3238d8(0x1b2)](_0x4d2aec)){this[_0x3238d8(0x55b)][_0x3238d8(0x2ac)](_0x3238d8(0x3a2),_0x3238d8(0x1c1),_0x3c131f,_0x4d2aec);break;}_0x3df835=_0x3c131f['c1Prime'],_0xca04f2=_0x4d2aec[_0x3238d8(0x2af)],_0x116865[_0x3238d8(0x36b)]({'unitID':_0x43a129,'undoMutations':_0x3c131f[_0x3238d8(0x453)],'redoMutations':_0x4d2aec['m2Prime']});}return _0x116865['reverse']();}};_0x4a863f=_0x3e3c83([_0xd1ef65(0x0,_0x5dd71d[_0x2e5f4c(0x373)]),_0xd1ef65(0x1,_0x5dd71d[_0x2e5f4c(0x160)]),_0xd1ef65(0x2,_0x5dd71d[_0x2e5f4c(0x4fe)]),_0xd1ef65(0x3,_0x57fec2[_0x2e5f4c(0x52d)]),_0xd1ef65(0x4,_0x5dd71d[_0x2e5f4c(0x2dc)])],_0x4a863f);class _0x1084d2 extends _0x5dd71d[_0x2e5f4c(0x1d2)]{constructor(){const _0x368ffc=_0x2e5f4c;super(),_0x30b9f2(this,_0x368ffc(0x1ea)),this['urlChange$']=_0x1e8f3c['fromEvent'](window,_0x368ffc(0x472))[_0x368ffc(0x31d)](_0x1e8f3c[_0x368ffc(0x16c)](this[_0x368ffc(0x487)]),_0x1e8f3c[_0x368ffc(0x3f7)](0x1),_0x1e8f3c['mapTo'](void 0x0));}[_0x2e5f4c(0x4f7)](_0x557b8d,_0x3437b0,_0x3fb8f2=!0x1){const _0x2f14a4=_0x2e5f4c,_0x2cc1f1=new URL(window['location'][_0x2f14a4(0x43a)]);_0x2cc1f1[_0x2f14a4(0x223)]['set'](_0x557b8d,_0x3437b0),_0x3fb8f2?window[_0x2f14a4(0x3f4)][_0x2f14a4(0x19e)]('','',_0x2cc1f1[_0x2f14a4(0x46f)]()):window[_0x2f14a4(0x3f4)]['pushState']('','',_0x2cc1f1[_0x2f14a4(0x46f)]());}['removeParam'](_0x1d149f,_0x1d4a9e=!0x1){const _0x396cb5=_0x2e5f4c,_0xdd83e5=new URL(window[_0x396cb5(0x443)][_0x396cb5(0x43a)]);_0xdd83e5['searchParams'][_0x396cb5(0x370)](_0x1d149f),_0x1d4a9e?window[_0x396cb5(0x3f4)][_0x396cb5(0x19e)]('','',_0xdd83e5[_0x396cb5(0x46f)]()):window[_0x396cb5(0x3f4)]['pushState']('','',_0xdd83e5['toString']());}[_0x2e5f4c(0x258)](_0x137812){const _0x5c5ea4=_0x2e5f4c;var _0x3b77a0;return(_0x3b77a0=new URL(window['location']['href'])[_0x5c5ea4(0x223)][_0x5c5ea4(0x578)](_0x137812))!=null?_0x3b77a0:void 0x0;}}var _0x5d7629=Object[_0x2e5f4c(0x2c2)],_0x2fa103=Object[_0x2e5f4c(0x4b9)],_0x2dbfcd=(_0x589924,_0x2eec2a,_0x195965)=>_0x2eec2a in _0x589924?_0x5d7629(_0x589924,_0x2eec2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x195965}):_0x589924[_0x2eec2a]=_0x195965,_0x28e860=(_0x4b042e,_0x27554b,_0x5c46c3,_0x2189a6)=>{const _0x41b578=_0x2e5f4c;for(var _0x743fc7=_0x2189a6>0x1?void 0x0:_0x2189a6?_0x2fa103(_0x27554b,_0x5c46c3):_0x27554b,_0x295a90=_0x4b042e[_0x41b578(0x310)]-0x1,_0x20c756;_0x295a90>=0x0;_0x295a90--)(_0x20c756=_0x4b042e[_0x295a90])&&(_0x743fc7=(_0x2189a6?_0x20c756(_0x27554b,_0x5c46c3,_0x743fc7):_0x20c756(_0x743fc7))||_0x743fc7);return _0x2189a6&&_0x743fc7&&_0x5d7629(_0x27554b,_0x5c46c3,_0x743fc7),_0x743fc7;},_0x339dc8=(_0x3b0a57,_0x43d7b7)=>(_0x61db9d,_0x242a1e)=>_0x43d7b7(_0x61db9d,_0x242a1e,_0x3b0a57),_0x1dc116=(_0x5c9642,_0x130ce3,_0x49f6a3)=>_0x2dbfcd(_0x5c9642,_0x130ce3+'',_0x49f6a3);const _0x94f4dc=_0x2e5f4c(0x2e8);_0x5d9ca9[_0x2e5f4c(0x37f)]=class extends _0x5dd71d['Plugin']{constructor(_0x386a5d=_0x51e182,_0x508d08,_0x311e6b,_0x29ba3a,_0x2e9943){const _0x325e1a=_0x2e5f4c;super(),this['_config']=_0x386a5d,this[_0x325e1a(0x55b)]=_0x508d08,this[_0x325e1a(0x29d)]=_0x311e6b,this[_0x325e1a(0x3bf)]=_0x29ba3a,this[_0x325e1a(0x33c)]=_0x2e9943;const {..._0x29966e}=this[_0x325e1a(0x18b)];this[_0x325e1a(0x33c)][_0x325e1a(0x53a)](_0x505ac2,_0x29966e);}[_0x2e5f4c(0x2ab)](){const _0xeadfc9=_0x2e5f4c;this[_0xeadfc9(0x403)](),_0x5dd71d[_0xeadfc9(0x29b)](this[_0xeadfc9(0x3bf)],[[_0x493e0c],[_0x5d9ca9[_0xeadfc9(0x345)]],[_0x221ccc]]);}[_0x2e5f4c(0x1f4)](){const _0x20910b=_0x2e5f4c;_0x5dd71d[_0x20910b(0x29b)](this['_injector'],[[_0x3960cb]]);}[_0x2e5f4c(0x2c1)](){const _0x323dd0=_0x2e5f4c;this[_0x323dd0(0x42e)]();}[_0x2e5f4c(0x403)](){const _0x10a10a=_0x2e5f4c;var _0x2298d5,_0x346c87,_0x4d76a5,_0x4e0e3b;this[_0x10a10a(0x3bf)][_0x10a10a(0x477)](_0x5dd71d[_0x10a10a(0x302)])&&this[_0x10a10a(0x55b)][_0x10a10a(0x2ac)]('[UniverCollaborationClientPlugin]',_0x10a10a(0x419));let _0x281b4c=[[_0x5dd71d[_0x10a10a(0x302)],{'useClass':_0x4a863f}],[_0x5d9ca9[_0x10a10a(0x4cb)]],[_0x5491d3],[_0x272b65[_0x10a10a(0x4f6)]],[_0x382397,{'useClass':_0x1084d2}],[_0x266f31],[_0x5d9ca9[_0x10a10a(0x557)]],[_0x272b65[_0x10a10a(0x353)]],[_0x1c7bc3],[_0x54ffaf],[_0x4979f6],[_0x55fe8c],[_0x2d3b16],[_0x535a03],[_0x4e977c],[_0x221ccc],[_0x3b499d,{'useClass':(_0x346c87=(_0x2298d5=this['_config'])==null?void 0x0:_0x2298d5[_0x10a10a(0x148)])!=null?_0x346c87:_0x5d9ca9[_0x10a10a(0x485)]}],[_0x272b65[_0x10a10a(0x537)],{'useClass':_0x272b65[_0x10a10a(0x1b9)]}],[_0x57fec2[_0x10a10a(0x4bc)],{'useClass':_0x5d9ca9[_0x10a10a(0x219)]}],[_0x5dd71d[_0x10a10a(0x500)],{'useClass':_0x5d9ca9[_0x10a10a(0x144)]}],[_0x1cf942[_0x10a10a(0x32f)],{'useClass':_0x5d9ca9[_0x10a10a(0x15f)]}],[_0x5d9ca9[_0x10a10a(0x548)]],[_0x5d9ca9[_0x10a10a(0x345)]],[_0x5d9ca9[_0x10a10a(0x23a)]],[_0x3960cb],[_0x493e0c]];(_0x4d76a5=this[_0x10a10a(0x18b)])!=null&&_0x4d76a5['enableSingleActiveInstanceLock']&&_0x281b4c[_0x10a10a(0x36b)]([_0x3ed5e0,{'useClass':_0x35f67a}]),_0x281b4c=_0x5dd71d[_0x10a10a(0x264)](_0x281b4c,(_0x4e0e3b=this[_0x10a10a(0x18b)])==null?void 0x0:_0x4e0e3b[_0x10a10a(0x35c)]),_0x281b4c[_0x10a10a(0x3e9)](_0x112b36=>this[_0x10a10a(0x3bf)][_0x10a10a(0x323)](_0x112b36)),this['_initModules']();}[_0x2e5f4c(0x42e)](){const _0x42a649=_0x2e5f4c;this[_0x42a649(0x360)](this[_0x42a649(0x29d)]['registerRenderModule'](_0x5dd71d['UniverInstanceType'][_0x42a649(0x4de)],[_0x2c8022])),this[_0x42a649(0x360)](this[_0x42a649(0x29d)][_0x42a649(0x545)](_0x5dd71d[_0x42a649(0x14d)][_0x42a649(0x530)],[_0x266750]));}['_initModules'](){const _0x57063c=_0x2e5f4c;var _0x207538,_0x34cf9d;this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x272b65[_0x57063c(0x4f6)])[_0x57063c(0x2e7)]({'priority':0x14,'interceptor':_0x272b65[_0x57063c(0x4d9)]({'maxParallel':0x6})}),this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x535a03),(_0x207538=this[_0x57063c(0x18b)])!=null&&_0x207538[_0x57063c(0x177)]||this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x5d9ca9[_0x57063c(0x557)])[_0x57063c(0x364)](),(_0x34cf9d=this['_config'])!=null&&_0x34cf9d[_0x57063c(0x189)]&&this['_injector']['get'](_0x2d3b16),this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x5d9ca9['CollaborationController']),this[_0x57063c(0x3bf)]['has'](_0x5d9ca9[_0x57063c(0x23a)])&&this[_0x57063c(0x3bf)][_0x57063c(0x578)](_0x5d9ca9[_0x57063c(0x23a)]);}},_0x1dc116(_0x5d9ca9[_0x2e5f4c(0x37f)],_0x2e5f4c(0x445),_0x94f4dc),_0x5d9ca9[_0x2e5f4c(0x37f)]=_0x28e860([_0x5dd71d[_0x2e5f4c(0x417)](_0x57fec2['UniverCollaborationPlugin']),_0x339dc8(0x1,_0x5dd71d[_0x2e5f4c(0x2dc)]),_0x339dc8(0x2,_0x3a6273[_0x2e5f4c(0x341)]),_0x339dc8(0x3,_0x5dd71d[_0x2e5f4c(0x391)](_0x5dd71d[_0x2e5f4c(0x3c1)])),_0x339dc8(0x4,_0x5dd71d[_0x2e5f4c(0x27c)])],_0x5d9ca9[_0x2e5f4c(0x37f)]),_0x5d9ca9[_0x2e5f4c(0x1bd)]=_0x26e7f1,_0x5d9ca9[_0x2e5f4c(0x2f0)]=_0x1d7910,_0x5d9ca9['COLLAB_WEB_SOCKET_URL_KEY']=_0x447e60,_0x5d9ca9[_0x2e5f4c(0x53e)]=_0x3cd2aa,_0x5d9ca9[_0x2e5f4c(0x3ef)]=_0x133b45,_0x5d9ca9[_0x2e5f4c(0x497)]=_0x4e977c,_0x5d9ca9['HEARTBEAT_INTERVAL_KEY']=_0x1a0de8,_0x5d9ca9['HEARTBEAT_TIMEOUT_KEY']=_0xa604e8,_0x5d9ca9[_0x2e5f4c(0x481)]=_0x3b499d,_0x5d9ca9['IURLService']=_0x382397,_0x5d9ca9[_0x2e5f4c(0x4e8)]=_0x1e8c54,_0x5d9ca9[_0x2e5f4c(0x2dd)]=_0x33aae3,_0x5d9ca9[_0x2e5f4c(0x426)]=_0xa4649a,_0x5d9ca9[_0x2e5f4c(0x36e)]=_0x1578f7,_0x5d9ca9[_0x2e5f4c(0x35f)]=_0x29ec86,_0x5d9ca9['SNAPSHOT_URL_KEY']=_0x5d6fbd,_0x5d9ca9['SessionStatus']=_0x4add37,_0x5d9ca9[_0x2e5f4c(0x540)]=_0x5704e4,_0x5d9ca9[_0x2e5f4c(0x4d1)]=_0x1084d2,_0x5d9ca9[_0x2e5f4c(0x3fe)]=_0x2ff0f2,_0x5d9ca9[_0x2e5f4c(0x141)]=_0x17b168,Object['defineProperty'](_0x5d9ca9,Symbol[_0x2e5f4c(0x28c)],{'value':'Module'});}));
|